sitiisrecni.com Open in urlscan Pro
185.119.89.170  Public Scan

Submitted URL: http://sitiisrecni.com/wp-content/cache/wpo-minify/1686900562/assets/wpo-minify-footer-36bf9b16.min.js
Effective URL: https://sitiisrecni.com/wp-content/cache/wpo-minify/1686900562/assets/wpo-minify-footer-36bf9b16.min.js
Submission: On September 05 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(function($){$.fn.appear=function(fn,options){var settings=$.extend({data:undefined,one:!0,accX:0,accY:0},options);return this.each(function(){var t=$(this);t.appeared=!1;if(!fn){t.trigger('appear',settings.data);return}var w=$(window);var check=function(){if(!t.is(':visible')){t.appeared=!1;return}var a=w.scrollLeft();var b=w.scrollTop();var o=t.offset();var x=o.left;var y=o.top;var ax=settings.accX;var ay=settings.accY;var th=t.height();var wh=w.height();var tw=t.width();var ww=w.width();if(y+th+ay>=b&&y<=b+wh+ay&&x+tw+ax>=a&&x<=a+ww+ax){if(!t.appeared)t.trigger('appear',settings.data)}else{t.appeared=!1}};var modifiedFn=function(){t.appeared=!0;if(settings.one){w.unbind('scroll',check);var i=$.inArray(check,$.fn.appear.checks);if(i>=0)$.fn.appear.checks.splice(i,1)}fn.apply(this,arguments)};if(settings.one)t.one('appear',settings.data,modifiedFn);else t.bind('appear',settings.data,modifiedFn);w.scroll(check);$.fn.appear.checks.push(check);(check)()})};$.extend($.fn.appear,{checks:[],timeout:null,checkAll:function(){var length=$.fn.appear.checks.length;if(length>0)while(length--)($.fn.appear.checks[length])();},run:function(){if($.fn.appear.timeout)clearTimeout($.fn.appear.timeout);$.fn.appear.timeout=setTimeout($.fn.appear.checkAll,20)}});$.each(['append','prepend','after','before','attr','removeAttr','addClass','removeClass','toggleClass','remove','css','show','hide'],function(i,n){var old=$.fn[n];if(old){$.fn[n]=function(){var r=old.apply(this,arguments);$.fn.appear.run();return r}}})})(jQuery);



/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
 * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-canvas-canvastext-draganddrop-hashchange-history-audio-video-input-inputtypes-inlinesvg-svg-svgclippaths-touch-shiv-cssclasses-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
 */
;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a){var e=a[d];if(!F(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"function")?f.bind(d||b):f}return!1}function I(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return E(b,"string")||E(b,"undefined")?G(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),H(e,b,c))}function J(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=E(e[d],"function"),E(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),A={}.hasOwnProperty,B;!E(A,"undefined")&&!E(A.call,"undefined")?B=function(a,b){return A.call(a,b)}:B=function(a,b){return b in a&&E(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return I("flexWrap")},s.flexboxlegacy=function(){return I("boxDirection")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!E(b.createElement("canvas").getContext("2d").fillText,"function")},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.hashchange=function(){return z("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.rgba=function(){return C("background-color:rgba(150,255,150,.5)"),F(j.backgroundColor,"rgba")},s.hsla=function(){return C("background-color:hsla(120,40%,100%,.5)"),F(j.backgroundColor,"rgba")||F(j.backgroundColor,"hsla")},s.multiplebgs=function(){return C("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return I("backgroundSize")},s.borderimage=function(){return I("borderImage")},s.borderradius=function(){return I("borderRadius")},s.boxshadow=function(){return I("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return D("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return I("animationName")},s.csscolumns=function(){return I("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return C((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),F(j.backgroundImage,"gradient")},s.cssreflections=function(){return I("boxReflect")},s.csstransforms=function(){return!!I("transform")},s.csstransforms3d=function(){var a=!!I("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return I("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var K in s)B(s,K)&&(x=K.toLowerCase(),e[x]=s[K](),v.push((e[x]?"":"no-")+x));return e.input||J(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)B(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},C(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}var c="3.7.0",d=a.html5||{},e=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.hasEvent=z,e.testProp=function(a){return G([a])},e.testAllProps=I,e.testStyles=y,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};



/*! This file is auto-generated */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){"use strict";function u(e){return"function"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data("hoverIntent"))||r.data("hoverIntent",t={}),t[i]),t=(v||(t[i]=v={id:i}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event="mousemove.hoverIntent.hoverIntent"+i);"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},d.selector)}});



(function(){var initializing=!1;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function extender(prop){var base=this.prototype;initializing=!0;var prototype=new this();initializing=!1;for(var name in prop){prototype[name]=typeof prop[name]=='function'&&typeof base[name]=='function'?(function(name,fn){return function(){var __super=this._super;this._super=function(args){return base[name].apply(this,args||[])};var ret=fn.apply(this,arguments);this._super=__super;return ret}})(name,prop[name]):prop[name]}function JQClass(){if(!initializing&&this._init){this._init.apply(this,arguments)}}JQClass.prototype=prototype;JQClass.prototype.constructor=JQClass;JQClass.extend=extender;return JQClass}})();(function($){JQClass.classes.JQPlugin=JQClass.extend({name:'plugin',defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return'is-'+this.name},_init:function(){$.extend(this.defaultOptions,(this.regionalOptions&&this.regionalOptions[''])||{});var jqName=camelCase(this.name);$[jqName]=this;$.fn[jqName]=function(options){var otherArgs=Array.prototype.slice.call(arguments,1);if($[jqName]._isNotChained(options,otherArgs)){return $[jqName][options].apply($[jqName],[this[0]].concat(otherArgs))}return this.each(function(){if(typeof options==='string'){if(options[0]==='_'||!$[jqName][options]){throw 'Unknown method: '+options}$[jqName][options].apply($[jqName],[this].concat(otherArgs))}else{$[jqName]._attach(this,options)}})}},setDefaults:function(options){$.extend(this.defaultOptions,options||{})},_isNotChained:function(name,otherArgs){if(name==='option'&&(otherArgs.length===0||(otherArgs.length===1&&typeof otherArgs[0]==='string'))){return!0}return $.inArray(name,this._getters)>-1},_attach:function(elem,options){elem=$(elem);if(elem.hasClass(this._getMarker())){return}elem.addClass(this._getMarker());options=$.extend({},this.defaultOptions,this._getMetadata(elem),options||{});var inst=$.extend({name:this.name,elem:elem,options:options},this._instSettings(elem,options));elem.data(this.name,inst);this._postAttach(elem,inst);this.option(elem,options)},_instSettings:function(elem,options){return{}},_postAttach:function(elem,inst){},_getMetadata:function(elem){try{var data=elem.data(this.name.toLowerCase())||'';data=data.replace(/'/g,'"');data=data.replace(/([a-zA-Z0-9]+):/g,function(match,group,i){var count=data.substring(0,i).match(/"/g);return(!count||count.length%2===0?'"'+group+'":':group+':')});data=$.parseJSON('{'+data+'}');for(var name in data){var value=data[name];if(typeof value==='string'&&value.match(/^new Date\((.*)\)$/)){data[name]=eval(value)}}return data}catch(e){return{}}},_getInst:function(elem){return $(elem).data(this.name)||{}},option:function(elem,name,value){elem=$(elem);var inst=elem.data(this.name);if(!name||(typeof name==='string'&&value==null)){var options=(inst||{}).options;return(options&&name?options[name]:options)}if(!elem.hasClass(this._getMarker())){return}var options=name||{};if(typeof name==='string'){options={};options[name]=value}this._optionsChanged(elem,inst,options);$.extend(inst.options,options)},_optionsChanged:function(elem,inst,options){},destroy:function(elem){elem=$(elem);if(!elem.hasClass(this._getMarker())){return}this._preDestroy(elem,this._getInst(elem));elem.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(elem,inst){}});function camelCase(name){return name.replace(/-([a-z])/g,function(match,group){return group.toUpperCase()})}$.JQPlugin={createPlugin:function(superClass,overrides){if(typeof superClass==='object'){overrides=superClass;superClass='JQPlugin'}superClass=camelCase(superClass);var className=camelCase(overrides.name);JQClass.classes[className]=JQClass.classes[superClass].extend(overrides);new JQClass.classes[className]()}}})(jQuery);



/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var a,b,c;a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadAutoWidthImages(a)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&b<i+f?e=a:"right"===c&&b>i-g-f&&b<i-g+f?e=a+1:this.op(b,"<",i)&&this.op(b,">",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a<c;case">":return d?a<c:a>c;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(c.lazyLoadEager>0&&(e+=c.lazyLoadEager,c.loop&&(g-=c.lazyLoadEager,e++));f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=Math.max.apply(null,f),g<=1&&d&&this._previousHeight&&(g=this._previousHeight),this._previousHeight=g,this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?a("<div/>",{class:"owl-video-tn "+j,srcType:c}):a("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("<div/>",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),c=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,
	animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);



/*!
 Waypoints - 4.0.1
 Copyright © 2011-2016 Caleb Troughton
 Licensed under the MIT license.
 https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
 */
!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s];if(null!==a.triggerPoint){var l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=Math.floor(y+l-f),h=w<s.oldScroll,p=d.triggerPoint>=s.oldScroll,u=h&&p,c=!h&&!p,!g&&u?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&c?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();



/*! fluidvids.js v2.4.1 | (c) 2014 @toddmotto | https://github.com/toddmotto/fluidvids */
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t:e.fluidvids=t()}(this,function(){"use strict";function e(e){return new RegExp("^(https?:)?//(?:"+d.players.join("|")+").*$","i").test(e)}function t(e,t){return parseInt(e,10)/parseInt(t,10)*100+"%"}function i(i){if((e(i.src)||e(i.data))&&!i.getAttribute("data-fluidvids")){var n=document.createElement("div");i.parentNode.insertBefore(n,i),i.className+=(i.className?" ":"")+"fluidvids-item",i.setAttribute("data-fluidvids","loaded"),n.className+="fluidvids",n.style.paddingTop=t(i.height,i.width),n.appendChild(i)}}function n(){var e=document.createElement("div");e.innerHTML="<p>x</p><style>"+o+"</style>",r.appendChild(e.childNodes[1])}var d={selector:["iframe","object"],players:["www.youtube.com","player.vimeo.com"]},o=[".fluidvids {","width: 100%; max-width: 100%; position: relative;","}",".fluidvids-item {","position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;","}"].join(""),r=document.head||document.getElementsByTagName("head")[0];return d.render=function(){for(var e=document.querySelectorAll(d.selector.join()),t=e.length;t--;)i(e[t])},d.init=function(e){for(var t in e)d[t]=e[t];d.render(),n()},d});



/*!
 * perfect-scrollbar v1.3.0
 * (c) 2017 Hyunje Jun
 * @license MIT
 */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.PerfectScrollbar=e()}(this,function(){"use strict";function t(t){return getComputedStyle(t)}function e(t,e){for(var i in e){var r=e[i];"number"==typeof r&&(r+="px"),t.style[i]=r}return t}function i(t){var e=document.createElement("div");return e.className=t,e}function r(t,e){if(!v)throw new Error("No element matching method supported");return v.call(t,e)}function l(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function n(t,e){return Array.prototype.filter.call(t.children,function(t){return r(t,e)})}function o(t,e){var i=t.element.classList,r=m.state.scrolling(e);i.contains(r)?clearTimeout(Y[e]):i.add(r)}function s(t,e){Y[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(m.state.scrolling(e))},t.settings.scrollingThreshold)}function a(t,e){o(t,e),s(t,e)}function c(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function h(t,e,i,r,l){var n=i[0],o=i[1],s=i[2],h=i[3],u=i[4],d=i[5];void 0===r&&(r=!0),void 0===l&&(l=!1);var f=t.element;t.reach[h]=null,f[s]<1&&(t.reach[h]="start"),f[s]>t[n]-t[o]-1&&(t.reach[h]="end"),e&&(f.dispatchEvent(c("ps-scroll-"+h)),e<0?f.dispatchEvent(c("ps-scroll-"+u)):e>0&&f.dispatchEvent(c("ps-scroll-"+d)),r&&a(t,h)),t.reach[h]&&(e||l)&&f.dispatchEvent(c("ps-"+h+"-reach-"+t.reach[h]))}function u(t){return parseInt(t,10)||0}function d(t){return r(t,"input,[contenteditable]")||r(t,"select,[contenteditable]")||r(t,"textarea,[contenteditable]")||r(t,"button,[contenteditable]")}function f(e){var i=t(e);return u(i.width)+u(i.paddingLeft)+u(i.paddingRight)+u(i.borderLeftWidth)+u(i.borderRightWidth)}function p(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function b(t,i){var r={width:i.railXWidth};i.isRtl?r.left=i.negativeScrollAdjustment+t.scrollLeft+i.containerWidth-i.contentWidth:r.left=t.scrollLeft,i.isScrollbarXUsingBottom?r.bottom=i.scrollbarXBottom-t.scrollTop:r.top=i.scrollbarXTop+t.scrollTop,e(i.scrollbarXRail,r);var l={top:t.scrollTop,height:i.railYHeight};i.isScrollbarYUsingRight?i.isRtl?l.right=i.contentWidth-(i.negativeScrollAdjustment+t.scrollLeft)-i.scrollbarYRight-i.scrollbarYOuterWidth:l.right=i.scrollbarYRight-t.scrollLeft:i.isRtl?l.left=i.negativeScrollAdjustment+t.scrollLeft+2*i.containerWidth-i.contentWidth-i.scrollbarYLeft-i.scrollbarYOuterWidth:l.left=i.scrollbarYLeft+t.scrollLeft,e(i.scrollbarYRail,l),e(i.scrollbarX,{left:i.scrollbarXLeft,width:i.scrollbarXWidth-i.railBorderXWidth}),e(i.scrollbarY,{top:i.scrollbarYTop,height:i.scrollbarYHeight-i.railBorderYWidth})}function g(t,e){function i(e){p[d]=b+v*(e[a]-g),o(t,f),T(t),e.stopPropagation(),e.preventDefault()}function r(){s(t,f),t.event.unbind(t.ownerDocument,"mousemove",i)}var l=e[0],n=e[1],a=e[2],c=e[3],h=e[4],u=e[5],d=e[6],f=e[7],p=t.element,b=null,g=null,v=null;t.event.bind(t[h],"mousedown",function(e){b=p[d],g=e[a],v=(t[n]-t[l])/(t[c]-t[u]),t.event.bind(t.ownerDocument,"mousemove",i),t.event.once(t.ownerDocument,"mouseup",r),e.stopPropagation(),e.preventDefault()})}var v="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.msMatchesSelector),m={main:"ps",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},Y={x:null,y:null},X=function(t){this.element=t,this.handlers={}},w={isEmpty:{configurable:!0}};X.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},X.prototype.unbind=function(t,e){var i=this;this.handlers[t]=this.handlers[t].filter(function(r){return!(!e||r===e)||(i.element.removeEventListener(t,r,!1),!1)})},X.prototype.unbindAll=function(){var t=this;for(var e in t.handlers)t.unbind(e)},w.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(X.prototype,w);var y=function(){this.eventElements=[]};y.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new X(t),this.eventElements.push(e)),e},y.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},y.prototype.unbind=function(t,e,i){var r=this.eventElement(t);r.unbind(e,i),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},y.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},y.prototype.once=function(t,e,i){var r=this.eventElement(t),l=function(t){r.unbind(e,l),i(t)};r.bind(e,l)};var W=function(t,e,i,r,l){void 0===r&&(r=!0),void 0===l&&(l=!1);var n;if("top"===e)n=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");n=["contentWidth","containerWidth","scrollLeft","x","left","right"]}h(t,i,n,r,l)},L={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},T=function(t){var e=t.element;t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(n(e,m.element.rail("x")).forEach(function(t){return l(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(n(e,m.element.rail("y")).forEach(function(t){return l(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=p(t,u(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=u((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=p(t,u(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=u(e.scrollTop*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),b(e,t),t.scrollbarXActive?e.classList.add(m.state.active("x")):(e.classList.remove(m.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=0),t.scrollbarYActive?e.classList.add(m.state.active("y")):(e.classList.remove(m.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)},R={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var i=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=i*t.containerHeight,T(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var i=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=i*t.containerWidth,T(t),e.stopPropagation()})},"drag-thumb":function(t){g(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x"]),g(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y"])},keyboard:function(t){function e(e,r){var l=i.scrollTop;if(0===e){if(!t.scrollbarYActive)return!1;if(0===l&&r>0||l>=t.contentHeight-t.containerHeight&&r<0)return!t.settings.wheelPropagation}var n=i.scrollLeft;if(0===r){if(!t.scrollbarXActive)return!1;if(0===n&&e<0||n>=t.contentWidth-t.containerWidth&&e>0)return!t.settings.wheelPropagation}return!0}var i=t.element,l=function(){return r(i,":hover")},n=function(){return r(t.scrollbarX,":focus")||r(t.scrollbarY,":focus")};t.event.bind(t.ownerDocument,"keydown",function(r){if(!(r.isDefaultPrevented&&r.isDefaultPrevented()||r.defaultPrevented)&&(l()||n())){var o=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(o){if("IFRAME"===o.tagName)o=o.contentDocument.activeElement;else for(;o.shadowRoot;)o=o.shadowRoot.activeElement;if(d(o))return}var s=0,a=0;switch(r.which){case 37:s=r.metaKey?-t.contentWidth:r.altKey?-t.containerWidth:-30;break;case 38:a=r.metaKey?t.contentHeight:r.altKey?t.containerHeight:30;break;case 39:s=r.metaKey?t.contentWidth:r.altKey?t.containerWidth:30;break;case 40:a=r.metaKey?-t.contentHeight:r.altKey?-t.containerHeight:-30;break;case 32:a=r.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:a=t.containerHeight;break;case 34:a=-t.containerHeight;break;case 36:a=t.contentHeight;break;case 35:a=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==s||t.settings.suppressScrollY&&0!==a||(i.scrollTop-=a,i.scrollLeft+=s,T(t),e(s,a)&&r.preventDefault())}})},wheel:function(e){function i(t,i){var r=0===o.scrollTop,l=o.scrollTop+o.offsetHeight===o.scrollHeight,n=0===o.scrollLeft,s=o.scrollLeft+o.offsetWidth===o.offsetWidth;return!(Math.abs(i)>Math.abs(t)?r||l:n||s)||!e.settings.wheelPropagation}function r(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!==e&&i!==i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}function l(e,i,r){if(!L.isWebKit&&o.querySelector("select:focus"))return!0;if(!o.contains(e))return!1;for(var l=e;l&&l!==o;){if(l.classList.contains(m.element.consuming))return!0;var n=t(l);if([n.overflow,n.overflowX,n.overflowY].join("").match(/(scroll|auto)/)){var s=l.scrollHeight-l.clientHeight;if(s>0&&!(0===l.scrollTop&&r>0||l.scrollTop===s&&r<0))return!0;var a=l.scrollLeft-l.clientWidth;if(a>0&&!(0===l.scrollLeft&&i<0||l.scrollLeft===a&&i>0))return!0}l=l.parentNode}return!1}function n(t){var n=r(t),s=n[0],a=n[1];if(!l(t.target,s,a)){var c=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(a?o.scrollTop-=a*e.settings.wheelSpeed:o.scrollTop+=s*e.settings.wheelSpeed,c=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(s?o.scrollLeft+=s*e.settings.wheelSpeed:o.scrollLeft-=a*e.settings.wheelSpeed,c=!0):(o.scrollTop-=a*e.settings.wheelSpeed,o.scrollLeft+=s*e.settings.wheelSpeed),T(e),(c=c||i(s,a))&&!t.ctrlKey&&(t.stopPropagation(),t.preventDefault())}}var o=e.element;void 0!==window.onwheel?e.event.bind(o,"wheel",n):void 0!==window.onmousewheel&&e.event.bind(o,"mousewheel",n)},touch:function(e){function i(t,i){var r=h.scrollTop,l=h.scrollLeft,n=Math.abs(t),o=Math.abs(i);if(o>n){if(i<0&&r===e.contentHeight-e.containerHeight||i>0&&0===r)return 0===window.scrollY&&i>0&&L.isChrome}else if(n>o&&(t<0&&l===e.contentWidth-e.containerWidth||t>0&&0===l))return!0;return!0}function r(t,i){h.scrollTop-=i,h.scrollLeft-=t,T(e)}function l(t){return t.targetTouches?t.targetTouches[0]:t}function n(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function o(t){if(n(t)){var e=l(t);u.pageX=e.pageX,u.pageY=e.pageY,d=(new Date).getTime(),null!==p&&clearInterval(p)}}function s(e,i,r){if(!h.contains(e))return!1;for(var l=e;l&&l!==h;){if(l.classList.contains(m.element.consuming))return!0;var n=t(l);if([n.overflow,n.overflowX,n.overflowY].join("").match(/(scroll|auto)/)){var o=l.scrollHeight-l.clientHeight;if(o>0&&!(0===l.scrollTop&&r>0||l.scrollTop===o&&r<0))return!0;var s=l.scrollLeft-l.clientWidth;if(s>0&&!(0===l.scrollLeft&&i<0||l.scrollLeft===s&&i>0))return!0}l=l.parentNode}return!1}function a(t){if(n(t)){var e=l(t),o={pageX:e.pageX,pageY:e.pageY},a=o.pageX-u.pageX,c=o.pageY-u.pageY;if(s(t.target,a,c))return;r(a,c),u=o;var h=(new Date).getTime(),p=h-d;p>0&&(f.x=a/p,f.y=c/p,d=h),i(a,c)&&t.preventDefault()}}function c(){e.settings.swipeEasing&&(clearInterval(p),p=setInterval(function(){e.isInitialized?clearInterval(p):f.x||f.y?Math.abs(f.x)<.01&&Math.abs(f.y)<.01?clearInterval(p):(r(30*f.x,30*f.y),f.x*=.8,f.y*=.8):clearInterval(p)},10))}if(L.supportsTouch||L.supportsIePointer){var h=e.element,u={},d=0,f={},p=null;L.supportsTouch?(e.event.bind(h,"touchstart",o),e.event.bind(h,"touchmove",a),e.event.bind(h,"touchend",c)):L.supportsIePointer&&(window.PointerEvent?(e.event.bind(h,"pointerdown",o),e.event.bind(h,"pointermove",a),e.event.bind(h,"pointerup",c)):window.MSPointerEvent&&(e.event.bind(h,"MSPointerDown",o),e.event.bind(h,"MSPointerMove",a),e.event.bind(h,"MSPointerUp",c)))}}},H=function(r,l){var n=this;if(void 0===l&&(l={}),"string"==typeof r&&(r=document.querySelector(r)),!r||!r.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=r,r.classList.add(m.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1};for(var o in l)n.settings[o]=l[o];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s=function(){return r.classList.add(m.state.focus)},a=function(){return r.classList.remove(m.state.focus)};this.isRtl="rtl"===t(r).direction,this.isNegativeScroll=function(){var t=r.scrollLeft,e=null;return r.scrollLeft=-1,e=r.scrollLeft<0,r.scrollLeft=t,e}(),this.negativeScrollAdjustment=this.isNegativeScroll?r.scrollWidth-r.clientWidth:0,this.event=new y,this.ownerDocument=r.ownerDocument||document,this.scrollbarXRail=i(m.element.rail("x")),r.appendChild(this.scrollbarXRail),this.scrollbarX=i(m.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=t(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=u(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=u(c.borderLeftWidth)+u(c.borderRightWidth),e(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=u(c.marginLeft)+u(c.marginRight),e(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(m.element.rail("y")),r.appendChild(this.scrollbarYRail),this.scrollbarY=i(m.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var h=t(this.scrollbarYRail);this.scrollbarYRight=parseInt(h.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=u(h.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?f(this.scrollbarY):null,this.railBorderYWidth=u(h.borderTopWidth)+u(h.borderBottomWidth),e(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=u(h.marginTop)+u(h.marginBottom),e(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:r.scrollLeft<=0?"start":r.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:r.scrollTop<=0?"start":r.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return R[t](n)}),this.lastScrollTop=r.scrollTop,this.lastScrollLeft=r.scrollLeft,this.event.bind(this.element,"scroll",function(t){return n.onScroll(t)}),T(this)};return H.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,e(this.scrollbarXRail,{display:"block"}),e(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=u(t(this.scrollbarXRail).marginLeft)+u(t(this.scrollbarXRail).marginRight),this.railYMarginHeight=u(t(this.scrollbarYRail).marginTop)+u(t(this.scrollbarYRail).marginBottom),e(this.scrollbarXRail,{display:"none"}),e(this.scrollbarYRail,{display:"none"}),T(this),W(this,"top",0,!1,!0),W(this,"left",0,!1,!0),e(this.scrollbarXRail,{display:""}),e(this.scrollbarYRail,{display:""}))},H.prototype.onScroll=function(t){this.isAlive&&(T(this),W(this,"top",this.element.scrollTop-this.lastScrollTop),W(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=this.element.scrollTop,this.lastScrollLeft=this.element.scrollLeft)},H.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),l(this.scrollbarX),l(this.scrollbarY),l(this.scrollbarXRail),l(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},H.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")},H});



/*!
 * VERSION: 1.9.0
 * DATE: 2018-02-15
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 *
 * @author: Jack Doyle, jack@greensock.com
 **/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var a=(_gsScope.document||{}).documentElement,b=_gsScope,c=function(c,d){var e="x"===d?"Width":"Height",f="scroll"+e,g="client"+e,h=document.body;return c===b||c===a||c===h?Math.max(a[f],h[f])-(b["inner"+e]||a[g]||h[g]):c[f]-c["offset"+e]},d=function(a){return"string"==typeof a&&(a=TweenLite.selector(a)),a.length&&a!==b&&a[0]&&a[0].style&&!a.nodeType&&(a=a[0]),a===b||a.nodeType&&a.style?a:null},e=function(c,d){var e="scroll"+("x"===d?"Left":"Top");return c===b&&(null!=c.pageXOffset?e="page"+d.toUpperCase()+"Offset":c=null!=a[e]?a:document.body),function(){return c[e]}},f=function(c,f){var g=d(c).getBoundingClientRect(),h=!f||f===b||f===document.body,i=(h?a:f).getBoundingClientRect(),j={x:g.left-i.left,y:g.top-i.top};return!h&&f&&(j.x+=e(f,"x")(),j.y+=e(f,"y")()),j},g=function(a,b,d){var e=typeof a;return isNaN(a)?"number"===e||"string"===e&&"="===a.charAt(1)?a:"max"===a?c(b,d):Math.min(c(b,d),f(a,b)[d]):parseFloat(a)},h=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.0",init:function(a,c,d){return this._wdw=a===b,this._target=a,this._tween=d,"object"!=typeof c?(c={y:c},"string"==typeof c.y&&"max"!==c.y&&"="!==c.y.charAt(1)&&(c.x=c.y)):c.nodeType&&(c={y:c,x:c}),this.vars=c,this._autoKill=c.autoKill!==!1,this.getX=e(a,"x"),this.getY=e(a,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=c.x?(this._addTween(this,"x",this.x,g(c.x,a,"x")-(c.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=c.y?(this._addTween(this,"y",this.y,g(c.y,a,"y")-(c.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(a){this._super.setRatio.call(this,a);var d=this._wdw||!this.skipX?this.getX():this.xPrev,e=this._wdw||!this.skipY?this.getY():this.yPrev,f=e-this.yPrev,g=d-this.xPrev,i=h.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(g>i||-i>g)&&d<c(this._target,"x")&&(this.skipX=!0),!this.skipY&&(f>i||-i>f)&&e<c(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?b.scrollTo(this.skipX?d:this.x,this.skipY?e:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),i=h.prototype;h.max=c,h.getOffset=f,h.buildGetter=e,h.autoKillThreshold=7,i._kill=function(a){return a.scrollTo_x&&(this.skipX=!0),a.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,a)}}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"undefined"!=typeof module&&module.exports?(require("../TweenLite.min.js"),module.exports=b()):"function"==typeof define&&define.amd&&define(["TweenLite"],b)}("ScrollToPlugin");



/*
 Plugin: jQuery Parallax
 Version 1.1.3
 Author: Ian Lunn
 Twitter: @IanLunn
 Author URL: http://www.ianlunn.co.uk/
 Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/

 Dual licensed under the MIT and GPL licenses:
 http://www.opensource.org/licenses/mit-license.php
 http://www.gnu.org/licenses/gpl.html
 */
(function( $ ){"use strict"; var $window = $(window); var windowHeight = $window.height(); $window.resize(function () {windowHeight = $window.height(); }); $.fn.parallax = function(xpos, speedFactor, outerHeight) {var $this = $(this); var getHeight; var firstTop; var paddingTop = 0; $this.each(function(){firstTop = $this.offset().top; }); if (outerHeight) {getHeight = function(jqo) {return jqo.outerHeight(true); }; } else {getHeight = function(jqo) {return jqo.height(); }; } if (arguments.length < 1 || xpos === null) xpos = "50%"; if (arguments.length < 2 || speedFactor === null) speedFactor = 0.1; if (arguments.length < 3 || outerHeight === null) outerHeight = true; function update(){var pos = $window.scrollTop(); $this.each(function(){var $element = $(this); var top = $element.offset().top; var height = getHeight($element); if (top + height < pos || top > pos + windowHeight) {return; } $this.css('backgroundPosition', xpos + " " + Math.round((firstTop - pos) * speedFactor) + "px"); }); } $window.bind('scroll', update).resize(update); update(); }; })(jQuery);



/*! waitForImages jQuery Plugin 2018-02-13 */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){var b="waitForImages",c=function(a){return a.srcset&&a.sizes}(new Image);a.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},a.expr.pseudos["has-src"]=function(b){return a(b).is('img[src][src!=""]')},a.expr.pseudos.uncached=function(b){return!!a(b).is(":has-src")&&!b.complete},a.fn.waitForImages=function(){var d,e,f,g=0,h=0,i=a.Deferred(),j=this,k=[],l=a.waitForImages.hasImageProperties||[],m=a.waitForImages.hasImageAttributes||[],n=/url\(\s*(['"]?)(.*?)\1\s*\)/g;if(a.isPlainObject(arguments[0])?(f=arguments[0].waitForAll,e=arguments[0].each,d=arguments[0].finished):1===arguments.length&&"boolean"===a.type(arguments[0])?f=arguments[0]:(d=arguments[0],e=arguments[1],f=arguments[2]),d=d||a.noop,e=e||a.noop,f=!!f,!a.isFunction(d)||!a.isFunction(e))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var b=a(this);f?b.find("*").addBack().each(function(){var b=a(this);b.is("img:has-src")&&!b.is("[srcset]")&&k.push({src:b.attr("src"),element:b[0]}),a.each(l,function(a,c){var d,e=b.css(c);if(!e)return!0;for(;d=n.exec(e);)k.push({src:d[2],element:b[0]})}),a.each(m,function(a,c){var d=b.attr(c);return!d||void k.push({src:b.attr("src"),srcset:b.attr("srcset"),element:b[0]})})}):b.find("img:has-src").each(function(){k.push({src:this.src,element:this})})}),g=k.length,h=0,0===g&&(d.call(j),i.resolveWith(j)),a.each(k,function(f,k){var l=new Image,m="load."+b+" error."+b;a(l).one(m,function b(c){var f=[h,g,"load"==c.type];if(h++,e.apply(k.element,f),i.notifyWith(k.element,f),a(this).off(m,b),h==g)return d.call(j[0]),i.resolveWith(j[0]),!1}),c&&k.srcset&&(l.srcset=k.srcset,l.sizes=k.sizes),l.src=k.src}),i.promise()}});



!function(t){function e(){var t=location.href;return hashtag=-1!==t.indexOf("#prettyPhoto")&&decodeURI(t.substring(t.indexOf("#prettyPhoto")+1,t.length)),hashtag&&(hashtag=hashtag.replace(/<|>/g,"")),hashtag}function i(t,e){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null===i?"":i[1]}t.prettyPhoto={version:"4.0.0"},t.fn.prettyPhoto=function(p){p=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'<div class="pp_pic_holder"> \t\t\t\t\t\t<div class="ppt">&nbsp;</div> \t\t\t\t\t\t<div class="pp_top"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_content_container"> \t\t\t\t\t\t\t<div class="pp_left"> \t\t\t\t\t\t\t<div class="pp_right"> \t\t\t\t\t\t\t\t<div class="pp_content"> \t\t\t\t\t\t\t\t\t<div class="pp_loaderIcon"></div> \t\t\t\t\t\t\t\t\t<div class="pp_fade"> \t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_expand" title="Expand the image">Expand</a> \t\t\t\t\t\t\t\t\t\t<div class="pp_hoverContainer"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_next" href="#">next</a> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_previous" href="#">previous</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t<div id="pp_full_res"></div> \t\t\t\t\t\t\t\t\t\t<div class="pp_details"> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_nav"> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t\t\t\t\t<p class="currentTextHolder">0/0</p> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t\t<p class="pp_description"></p> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_social">{pp_social}</div> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_close" href="#">Close</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_bottom"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t\t<div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t</div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},p);var o,a,s,n,l,r,d,h=this,c=!1,_=t(window).height(),g=t(window).width();function m(){t(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(_/2-o.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:o.contentHeight,width:o.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:g/2-o.containerWidth/2<0?0:g/2-o.containerWidth/2,width:o.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(o.height).width(o.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"===y(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(o.resized?t("a.pp_expand,a.pp_contract").show():t("a.pp_expand").hide()),!settings.autoplay_slideshow||d||a||t.prettyPhoto.startSlideshow(),settings.changepicturecallback(),a=!0}),isSet&&settings.overlay_gallery&&"image"===y(pp_images[set_position])?(itemWidth=57,navWidth="facebook"===settings.theme||"pp_default"===settings.theme?50:30,itemsPerPage=Math.floor((o.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,0===totalPage?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"),goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage,t.prettyPhoto.changeGalleryPage(goToPage),$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")):$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave"),p.ajaxcallback()}function u(e){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){t(".pp_loaderIcon").show(),e()})}function f(t,e){if(resized=!1,v(t,e),imageWidth=t,imageHeight=e,(r>g||l>_)&&doresize&&settings.allow_resize&&!c){for(resized=!0,fitting=!1;!fitting;)r>g?(imageWidth=g-200,imageHeight=e/t*imageWidth):l>_?(imageHeight=_-200,imageWidth=t/e*imageHeight):fitting=!0,l=imageHeight,r=imageWidth;(r>g||l>_)&&f(r,l),v(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(l),containerWidth:Math.floor(r)+2*settings.horizontal_padding,contentHeight:Math.floor(s),contentWidth:Math.floor(n),resized:resized}}function v(e,i){e=parseFloat(e),i=parseFloat(i),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(e),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(e).appendTo(t("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(e),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(t("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),s=i+detailsHeight,n=e,l=s+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),r=e}function y(t){return t.match(/youtube\.com\/watch/i)||t.match(/youtu\.be/i)?"youtube":t.match(/vimeo\.com/i)?"vimeo":t.match(/\b.mov\b/i)?"quicktime":t.match(/\b.swf\b/i)?"flash":t.match(/\biframe=true\b/i)?"iframe":t.match(/\bajax=true\b/i)?"ajax":t.match(/\bcustom=true\b/i)?"custom":"#"===t.substr(0,1)?"inline":t.match(/\b.mp4\b/i)?"html5":"image"}function w(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=b(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=_/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>_)return;$pp_pic_holder.css({top:projectedTop,left:g/2+scroll_pos.scrollLeft-contentwidth/2})}}function b(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function k(e){if(settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href))),settings.markup=settings.markup.replace("{pp_social}",""),t("body").append(settings.markup),$pp_pic_holder=t(".pp_pic_holder"),$ppt=t(".ppt"),$pp_overlay=t("div.pp_overlay"),isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var i=0;i<pp_images.length;i++)pp_images[i].match(/\b(jpg|jpeg|png|gif)\b/gi)?(classname="",img_src=pp_images[i]):(classname="default",img_src=""),toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=t(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").on("click",function(){return t.prettyPhoto.changeGalleryPage("next"),t.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").on("click",function(){return t.prettyPhoto.changeGalleryPage("previous"),t.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(e){t(this).find("a").on("click",function(){return t.prettyPhoto.changePage(e),t.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").on("click",function(){return t.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:t(document).height(),width:t(window).width()}).bind("click",function(){settings.modal||t.prettyPhoto.close()}),t("a.pp_close").bind("click",function(){return t.prettyPhoto.close(),!1}),settings.allow_expand&&t("a.pp_expand").bind("click",function(e){var i=t(this);return i.hasClass("pp_expand")?(i.removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(i.removeClass("pp_contract").addClass("pp_expand"),doresize=!0),u(function(){t.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return t.prettyPhoto.changePage("previous"),t.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return t.prettyPhoto.changePage("next"),t.prettyPhoto.stopSlideshow(),!1}),w()}return doresize=!0,scroll_pos=b(),t(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){w(),_=t(window).height(),g=t(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(t(document).height()).width(g)}),p.keyboard_shortcuts&&t(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(e){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(e.keyCode){case 37:t.prettyPhoto.changePage("previous"),e.preventDefault();break;case 39:t.prettyPhoto.changePage("next"),e.preventDefault();break;case 27:settings.modal||t.prettyPhoto.close(),e.preventDefault()}}),t.prettyPhoto.initialize=function(){settings=p,"pp_default"===settings.theme&&(settings.horizontal_padding=16);var e=t(this);return theRel=e.attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=!!galleryRegExp.exec(theRel),pp_images=isSet?jQuery.map(h,function(e,i){if(-1!==t(e).attr(settings.hook).indexOf(theRel))return t(e).attr("href")}):t.makeArray(e.attr("href")),pp_titles=isSet?jQuery.map(h,function(e,i){if(-1!==t(e).attr(settings.hook).indexOf(theRel))return t(e).find("img").attr("alt")?t(e).find("img").attr("alt"):""}):t.makeArray(e.find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(h,function(e,i){if(-1!==t(e).attr(settings.hook).indexOf(theRel))return t(e).attr("title")?t(e).attr("title"):""}):t.makeArray(e.attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(e.attr("href"),pp_images),rel_index=isSet?set_position:t("a["+settings.hook+"^='"+theRel+"']").index(t(this)),k(this),settings.allow_resize&&t(window).bind("scroll.prettyphoto",function(){w()}),t.prettyPhoto.open(),!1},t.prettyPhoto.open=function(e){return"undefined"==typeof settings&&(settings=p,pp_images=t.makeArray(arguments[0]),pp_titles=arguments[1]?t.makeArray(arguments[1]):t.makeArray(""),pp_descriptions=arguments[2]?t.makeArray(arguments[2]):t.makeArray(""),isSet=pp_images.length>1,set_position=arguments[3]?arguments[3]:0,k(e.target)),settings.hideflash&&t("object,embed,video,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),t(pp_images).size()>1?t(".pp_nav").show():t(".pp_nav").hide(),t(".pp_loaderIcon").show(),settings.deeplinking&&function(){if("undefined"==typeof theRel)return;location.hash=theRel+"/"+rel_index+"/"}(),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$pp_pic_holder.removeClass("pp_pic_have_only_one"),1===pp_images.length&&$pp_pic_holder.addClass("pp_pic_have_only_one"),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+t(pp_images).size()),void 0!==pp_descriptions[set_position]&&""!==pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(i("width",pp_images[set_position]))?i("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(i("height",pp_images[set_position]))?i("height",pp_images[set_position]):settings.default_height.toString(),c=!1,-1!==movie_height.indexOf("%")&&(movie_height=parseFloat(t(window).height()*parseFloat(movie_height)/100-150),c=!0),-1!==movie_width.indexOf("%")&&(movie_width=parseFloat(t(window).width()*parseFloat(movie_width)/100-150),c=!0),$pp_pic_holder.fadeIn(function(){switch(settings.show_title&&""!==pp_titles[set_position]&&void 0!==pp_titles[set_position]?$ppt.html(unescape(pp_titles[set_position])):$ppt.html("&nbsp;"),imgPreloader="",skipInjection=!1,y(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position<t(pp_images).size()-1&&(nextImage.src=pp_images[set_position+1]),prevImage=new Image,isSet&&pp_images[set_position-1]&&(prevImage.src=pp_images[set_position-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]),imgPreloader.onload=function(){o=f(imgPreloader.width,imgPreloader.height),m()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),t.prettyPhoto.close()},imgPreloader.src=pp_images[set_position];break;case"youtube":o=f(movie_width,movie_height),movie_id=i("v",pp_images[set_position]),""===movie_id&&(movie_id=pp_images[set_position].split("youtu.be/"),movie_id=movie_id[1],movie_id.indexOf("?")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),movie_id.indexOf("&")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="https://www.youtube.com/embed/"+movie_id,i("rel",pp_images[set_position])?movie+="?rel="+i("rel",pp_images[set_position]):movie+="?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,o.width).replace(/{height}/g,o.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":o=f(movie_width,movie_height),movie_id=pp_images[set_position];var e=movie_id.match(/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/);movie="https://player.vimeo.com/video/"+e[3]+"?title=0&amp;byline=0&amp;portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=o.width+"/embed/?moog_width="+o.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,o.height).replace(/{path}/g,movie);break;case"quicktime":(o=f(movie_width,movie_height)).height+=15,o.contentHeight+=15,o.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,o.width).replace(/{height}/g,o.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":o=f(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,o.width).replace(/{height}/g,o.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":o=f(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,o.width).replace(/{height}/g,o.height).replace(/{path}/g,frame_url);break;case"html5":o=f(movie_width,movie_height),toInject='<video preload="auto" autoplay><source type="video/mp4" src="'+pp_images[set_position]+'"></video>';break;case"ajax":doresize=!1,o=f(movie_width,movie_height),doresize=!0,skipInjection=!0,t.get(pp_images[set_position],function(t){toInject=settings.inline_markup.replace(/{content}/g,t),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,m()});break;case"custom":o=f(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=t(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(t("body")).show(),doresize=!1,o=f(t(myClone).width(),t(myClone).height()),doresize=!0,t(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,t(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,m())}),!1},t.prettyPhoto.changePage=function(e){currentGalleryPage=0,"previous"===e?(set_position--,set_position<0&&(set_position=t(pp_images).size()-1)):"next"===e?(set_position++,set_position>t(pp_images).size()-1&&(set_position=0)):set_position=e,rel_index=set_position,doresize||(doresize=!0),settings.allow_expand&&t(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),u(function(){t.prettyPhoto.open()})},t.prettyPhoto.changeGalleryPage=function(t){"next"===t?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"===t?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=t,slide_speed="next"===t||"previous"===t?settings.animation_speed:0,slide_to=currentGalleryPage*(itemsPerPage*itemWidth),$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},t.prettyPhoto.startSlideshow=function(){void 0===d?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").on("click",function(){return t.prettyPhoto.stopSlideshow(),!1}),d=setInterval(t.prettyPhoto.startSlideshow,settings.slideshow)):t.prettyPhoto.changePage("next")},t.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").on("click",function(){return t.prettyPhoto.startSlideshow(),!1}),clearInterval(d),d=void 0},t.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(t.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),t("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){t(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&t("object,embed,video,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),t(this).remove(),t(window).unbind("scroll.prettyphoto"),-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto"),settings.callback(),doresize=!0,a=!1,delete settings}))},!pp_alreadyInitialized&&e()&&(pp_alreadyInitialized=!0,hashIndex=e(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){t("a["+p.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",t.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1;



jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return-h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return-h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return-h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return-h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return-h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return-h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return-h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return-h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return-(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return-0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});



/*!
 * WPBakery Page Builder v6.0.0 (https://wpbakery.com)
 * Copyright 2011-2019 Michael M, WPBakery
 * License: Commercial. More details: http://go.wpbakery.com/licensing
 */

// jscs:disable
// jshint ignore: start

/*!
 * Isotope PACKAGED v3.0.5
 *
 * Licensed GPLv3 for open source use
 * or Isotope Commercial License for commercial use
 *
 * https://isotope.metafizzy.co
 * Copyright 2017 Metafizzy
 */

!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function u(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+" not initialized. Cannot call methods, i.e. "+s);var d=h[e];if(!d||"_"==e.charAt(0))return void r(s+" is not a valid method");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return o!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n],r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=t.indexOf("%")==-1&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++){var i=u[e];t[i]=0}return t}function o(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function n(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);s.isBoxSizeOuter=r=200==t(n.width),i.removeChild(e)}}function s(e){if(n(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var s=o(e);if("none"==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==s.boxSizing,l=0;l<h;l++){var f=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,I=a.borderTopWidth+a.borderBottomWidth,z=d&&r,x=t(s.width);x!==!1&&(a.width=x+(z?0:p+_));var S=t(s.height);return S!==!1&&(a.height=S+(z?0:y+I)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+I),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a="undefined"==typeof console?e:function(t){console.error(t)},u=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=u.length,d=!1;return s}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i],n=o+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"object"==typeof t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);i!=-1&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))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,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(t,e,i){var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];t&&clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i||100)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+"-options",l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(a){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+a))}var u=new e(t,i);l&&l.data(t,n,u)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function n(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var s=document.documentElement.style,r="string"==typeof s.transition?"transition":"WebkitTransition",a="string"==typeof s.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],h={transform:a,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var o=h[i]||i;e[o]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=this.layout.size,r=o.indexOf("%")!=-1?parseFloat(o)/100*s.width:parseInt(o,10),a=n.indexOf("%")!=-1?parseFloat(n)/100*s.height:parseInt(n,10);r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=e?s.paddingLeft:s.paddingRight,a-=i?s.paddingTop:s.paddingBottom,this.position.x=r,this.position.y=a},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",d=o?"bottom":"top",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),s=parseInt(e,10),r=n===this.position.x&&s===this.position.y;if(this.setPosition(t,e),r&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,u=e-o,h={};h.transform=this.getTranslate(a,u),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop");return t=i?t:-t,e=o?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+n(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var f={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=f[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(!i)return void(u&&u.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,h&&(this.$element=h(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,f[n]=this,this._create();var s=this._getOption("initLayout");s&&this.layout()}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=m[o]||1;return i*n}var u=t.console,h=t.jQuery,d=function(){},l=0,f={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var c=s.prototype;o.extend(c,e.prototype),c.option=function(t){o.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=e[n],r=new i(s,this);o.push(r)}return o},c._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},c._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},c._getContainerSize=d,c._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},c._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){r++,r==s&&i()}var n=this,s=e.length;if(!e||!s)return void i();var r=0;e.forEach(function(e){e.once(t,o)})},c.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),h)if(this.$element=this.$element||h(this.element),e){var n=h.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},c.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},c.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},c.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._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)}},c._manageStamp=d,c._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t),s={left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom};return s},c.handleEvent=o.handleEvent,c.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},c.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},c.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},c.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},c.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},c.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},c.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},c.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},c.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},c.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},c.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete f[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&f[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};var m={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype,n=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"];return n.forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o,a=r&&r<1?"round":"floor";s=Math[a](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,o=e(i);this.containerWidth=o&&o.innerWidth},o._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 n=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",s=this[n](o,t),r={x:this.columnWidth*s.col,y:s.y},a=s.y+t.size.outerHeight,u=o+s.col,h=s.col;h<u;h++)this.colYs[h]=a;return r},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,o=t>1&&i+t>this.cols;i=o?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft"),s=n?o.left:o.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);var u=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1,u=Math.min(this.cols-1,u);for(var h=this._getOption("originTop"),d=(h?o.top:o.bottom)+i.outerHeight,l=a;l<=u;l++)this.colYs[l]=Math.max(d,this.colYs[l])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){function a(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==e[s]?e[s]:e,h=u?1:-1;return(r>a?1:-1)*h}}return 0}}var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r;var l=d.prototype;l._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){
return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){var o=t[i];o.updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var i=h(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),s=n&&n[1],r=e(s,o),a=d.sortDataParsers[i[1]];return t=a?function(t){return t&&a(r(t))}:function(t){return t&&r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d});



/*!
 * Packery layout mode PACKAGED v2.0.1
 * sub-classes Packery
 */
!function(a,b){"function"==typeof define&&define.amd?define("packery/js/rect",b):"object"==typeof module&&module.exports?module.exports=b():(a.Packery=a.Packery||{},a.Packery.Rect=b())}(window,function(){function a(b){for(var c in a.defaults)this[c]=a.defaults[c];for(c in b)this[c]=b[c]}a.defaults={x:0,y:0,width:0,height:0};var b=a.prototype;return b.contains=function(a){var b=a.width||0,c=a.height||0;return this.x<=a.x&&this.y<=a.y&&this.x+this.width>=a.x+b&&this.y+this.height>=a.y+c},b.overlaps=function(a){var b=this.x+this.width,c=this.y+this.height,d=a.x+a.width,e=a.y+a.height;return this.x<d&&b>a.x&&this.y<e&&c>a.y},b.getMaximalFreeRects=function(b){if(!this.overlaps(b))return!1;var c,d=[],e=this.x+this.width,f=this.y+this.height,g=b.x+b.width,h=b.y+b.height;return this.y<b.y&&(c=new a({x:this.x,y:this.y,width:this.width,height:b.y-this.y}),d.push(c)),e>g&&(c=new a({x:g,y:this.y,width:e-g,height:this.height}),d.push(c)),f>h&&(c=new a({x:this.x,y:h,width:this.width,height:f-h}),d.push(c)),this.x<b.x&&(c=new a({x:this.x,y:this.y,width:b.x-this.x,height:this.height}),d.push(c)),d},b.canFit=function(a){return this.width>=a.width&&this.height>=a.height},a}),function(a,b){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],b);else if("object"==typeof module&&module.exports)module.exports=b(require("./rect"));else{var c=a.Packery=a.Packery||{};c.Packer=b(c.Rect)}}(window,function(a){function b(a,b,c){this.width=a||0,this.height=b||0,this.sortDirection=c||"downwardLeftToRight",this.reset()}var c=b.prototype;c.reset=function(){this.spaces=[];var b=new a({x:0,y:0,width:this.width,height:this.height});this.spaces.push(b),this.sorter=d[this.sortDirection]||d.downwardLeftToRight},c.pack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces[b];if(c.canFit(a)){this.placeInSpace(a,c);break}}},c.columnPack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces[b],d=c.x<=a.x&&c.x+c.width>=a.x+a.width&&c.height>=a.height-.01;if(d){a.y=c.y,this.placed(a);break}}},c.rowPack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces[b],d=c.y<=a.y&&c.y+c.height>=a.y+a.height&&c.width>=a.width-.01;if(d){a.x=c.x,this.placed(a);break}}},c.placeInSpace=function(a,b){a.x=b.x,a.y=b.y,this.placed(a)},c.placed=function(a){for(var b=[],c=0;c<this.spaces.length;c++){var d=this.spaces[c],e=d.getMaximalFreeRects(a);e?b.push.apply(b,e):b.push(d)}this.spaces=b,this.mergeSortSpaces()},c.mergeSortSpaces=function(){b.mergeRects(this.spaces),this.spaces.sort(this.sorter)},c.addSpace=function(a){this.spaces.push(a),this.mergeSortSpaces()},b.mergeRects=function(a){var b=0,c=a[b];a:for(;c;){for(var d=0,e=a[b+d];e;){if(e==c)d++;else{if(e.contains(c)){a.splice(b,1),c=a[b];continue a}c.contains(e)?a.splice(b+d,1):d++}e=a[b+d]}b++,c=a[b]}return a};var d={downwardLeftToRight:function(a,b){return a.y-b.y||a.x-b.x},rightwardTopToBottom:function(a,b){return a.x-b.x||a.y-b.y}};return b}),function(a,b){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],b):"object"==typeof module&&module.exports?module.exports=b(require("outlayer"),require("./rect")):a.Packery.Item=b(a.Outlayer,a.Packery.Rect)}(window,function(a,b){var c=document.documentElement.style,d="string"==typeof c.transform?"transform":"WebkitTransform",e=function(){a.Item.apply(this,arguments)},f=e.prototype=Object.create(a.Item.prototype),g=f._create;f._create=function(){g.call(this),this.rect=new b};var h=f.moveTo;return f.moveTo=function(a,b){var c=Math.abs(this.position.x-a),d=Math.abs(this.position.y-b),e=this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&1>c&&1>d;return e?void this.goTo(a,b):void h.apply(this,arguments)},f.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&d&&(this.element.style[d]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},f.disablePlacing=function(){this.isPlacing=!1},f.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},f.showDropPlaceholder=function(){var a=this.dropPlaceholder;a||(a=this.dropPlaceholder=document.createElement("div"),a.className="packery-drop-placeholder",a.style.position="absolute"),a.style.width=this.size.width+"px",a.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(a)},f.positionDropPlaceholder=function(){this.dropPlaceholder.style[d]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},f.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},e}),function(a,b){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],b):"object"==typeof module&&module.exports?module.exports=b(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):a.Packery=b(a.getSize,a.Outlayer,a.Packery.Rect,a.Packery.Packer,a.Packery.Item)}(window,function(a,b,c,d,e){function f(a,b){return a.position.y-b.position.y||a.position.x-b.position.x}function g(a,b){return a.position.x-b.position.x||a.position.y-b.position.y}function h(a,b){var c=b.x-a.x,d=b.y-a.y;return Math.sqrt(c*c+d*d)}c.prototype.canFit=function(a){return this.width>=a.width-1&&this.height>=a.height-1};var i=b.create("packery");i.Item=e;var j=i.prototype;j._create=function(){b.prototype._create.call(this),this.packer=new d,this.shiftPacker=new d,this.isEnabled=!0,this.dragItemCount=0;var a=this;this.handleDraggabilly={dragStart:function(){a.itemDragStart(this.element)},dragMove:function(){a.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){a.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(b,c){c&&a.itemDragStart(b.currentTarget)},drag:function(b,c){c&&a.itemDragMove(b.currentTarget,c.position.left,c.position.top)},stop:function(b,c){c&&a.itemDragEnd(b.currentTarget)}}},j._resetLayout=function(){this.getSize(),this._getMeasurements();var a,b,c;this._getOption("horizontal")?(a=1/0,b=this.size.innerHeight+this.gutter,c="rightwardTopToBottom"):(a=this.size.innerWidth+this.gutter,b=1/0,c="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=a,this.packer.height=this.shiftPacker.height=b,this.packer.sortDirection=this.shiftPacker.sortDirection=c,this.packer.reset(),this.maxY=0,this.maxX=0},j._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},j._getItemLayoutPosition=function(a){if(this._setRectSize(a.element,a.rect),this.isShifting||this.dragItemCount>0){var b=this._getPackMethod();this.packer[b](a.rect)}else this.packer.pack(a.rect);return this._setMaxXY(a.rect),a.rect},j.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},j._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},j._setMaxXY=function(a){this.maxX=Math.max(a.x+a.width,this.maxX),this.maxY=Math.max(a.y+a.height,this.maxY)},j._setRectSize=function(b,c){var d=a(b),e=d.outerWidth,f=d.outerHeight;(e||f)&&(e=this._applyGridGutter(e,this.columnWidth),f=this._applyGridGutter(f,this.rowHeight)),c.width=Math.min(e,this.packer.width),c.height=Math.min(f,this.packer.height)},j._applyGridGutter=function(a,b){if(!b)return a+this.gutter;b+=this.gutter;var c=a%b,d=c&&1>c?"round":"ceil";return a=Math[d](a/b)*b},j._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},j._manageStamp=function(a){var b,d=this.getItem(a);if(d&&d.isPlacing)b=d.rect;else{var e=this._getElementOffset(a);b=new c({x:this._getOption("originLeft")?e.left:e.right,y:this._getOption("originTop")?e.top:e.bottom})}this._setRectSize(a,b),this.packer.placed(b),this._setMaxXY(b)},j.sortItemsByPosition=function(){var a=this._getOption("horizontal")?g:f;this.items.sort(a)},j.fit=function(a,b,c){var d=this.getItem(a);d&&(this.stamp(d.element),d.enablePlacing(),this.updateShiftTargets(d),b=void 0===b?d.rect.x:b,c=void 0===c?d.rect.y:c,this.shift(d,b,c),this._bindFitEvents(d),d.moveTo(d.rect.x,d.rect.y),this.shiftLayout(),this.unstamp(d.element),this.sortItemsByPosition(),d.disablePlacing())},j._bindFitEvents=function(a){function b(){d++,2==d&&c.dispatchEvent("fitComplete",null,[a])}var c=this,d=0;a.once("layout",b),this.once("layoutComplete",b)},j.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},j.needsResizeLayout=function(){var b=a(this.element),c=this._getOption("horizontal")?"innerHeight":"innerWidth";return b[c]!=this.size[c]},j.resizeShiftPercentLayout=function(){var b=this._getItemsForLayout(this.items),c=this._getOption("horizontal"),d=c?"y":"x",e=c?"height":"width",f=c?"rowHeight":"columnWidth",g=c?"innerHeight":"innerWidth",h=this[f];if(h=h&&h+this.gutter){this._getMeasurements();var i=this[f]+this.gutter;b.forEach(function(a){var b=Math.round(a.rect[d]/h);a.rect[d]=b*i})}else{var j=a(this.element)[g]+this.gutter,k=this.packer[e];b.forEach(function(a){a.rect[d]=a.rect[d]/k*j})}this.shiftLayout()},j.itemDragStart=function(a){if(this.isEnabled){this.stamp(a);var b=this.getItem(a);b&&(b.enablePlacing(),b.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(b))}},j.updateShiftTargets=function(a){this.shiftPacker.reset(),this._getBoundingRect();var b=this._getOption("originLeft"),d=this._getOption("originTop");this.stamps.forEach(function(a){var e=this.getItem(a);if(!e||!e.isPlacing){var f=this._getElementOffset(a),g=new c({x:b?f.left:f.right,y:d?f.top:f.bottom});this._setRectSize(a,g),this.shiftPacker.placed(g)}},this);var e=this._getOption("horizontal"),f=e?"rowHeight":"columnWidth",g=e?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var h,i=this[f];if(i=i&&i+this.gutter){var j=Math.ceil(a.rect[g]/i),k=Math.floor((this.shiftPacker[g]+this.gutter)/i);h=(k-j)*i;for(var l=0;k>l;l++)this._addShiftTarget(l*i,0,h)}else h=this.shiftPacker[g]+this.gutter-a.rect[g],this._addShiftTarget(0,0,h);var m=this._getItemsForLayout(this.items),n=this._getPackMethod();m.forEach(function(a){var b=a.rect;this._setRectSize(a.element,b),this.shiftPacker[n](b),this._addShiftTarget(b.x,b.y,h);var c=e?b.x+b.width:b.x,d=e?b.y:b.y+b.height;if(this._addShiftTarget(c,d,h),i)for(var f=Math.round(b[g]/i),j=1;f>j;j++){var k=e?c:b.x+i*j,l=e?b.y+i*j:d;this._addShiftTarget(k,l,h)}},this)},j._addShiftTarget=function(a,b,c){var d=this._getOption("horizontal")?b:a;if(!(0!==d&&d>c)){var e=a+","+b,f=-1!=this.shiftTargetKeys.indexOf(e);f||(this.shiftTargetKeys.push(e),this.shiftTargets.push({x:a,y:b}))}},j.shift=function(a,b,c){var d,e=1/0,f={x:b,y:c};this.shiftTargets.forEach(function(a){var b=h(a,f);e>b&&(d=a,e=b)}),a.rect.x=d.x,a.rect.y=d.y};var k=120;j.itemDragMove=function(a,b,c){function d(){f.shift(e,b,c),e.positionDropPlaceholder(),f.layout()}var e=this.isEnabled&&this.getItem(a);if(e){b-=this.size.paddingLeft,c-=this.size.paddingTop;var f=this,g=new Date;this._itemDragTime&&g-this._itemDragTime<k?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(d,k)):(d(),this._itemDragTime=g)}},j.itemDragEnd=function(a){function b(){d++,2==d&&(c.element.classList.remove("is-positioning-post-drag"),c.hideDropPlaceholder(),e.dispatchEvent("dragItemPositioned",null,[c]))}var c=this.isEnabled&&this.getItem(a);if(c){clearTimeout(this.dragTimeout),c.element.classList.add("is-positioning-post-drag");var d=0,e=this;c.once("layout",b),this.once("layoutComplete",b),c.moveTo(c.rect.x,c.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),c.disablePlacing(),this.unstamp(c.element)}},j.bindDraggabillyEvents=function(a){this._bindDraggabillyEvents(a,"on")},j.unbindDraggabillyEvents=function(a){this._bindDraggabillyEvents(a,"off")},j._bindDraggabillyEvents=function(a,b){var c=this.handleDraggabilly;a[b]("dragStart",c.dragStart),a[b]("dragMove",c.dragMove),a[b]("dragEnd",c.dragEnd)},j.bindUIDraggableEvents=function(a){this._bindUIDraggableEvents(a,"on")},j.unbindUIDraggableEvents=function(a){this._bindUIDraggableEvents(a,"off")},j._bindUIDraggableEvents=function(a,b){var c=this.handleUIDraggable;a[b]("dragstart",c.start)[b]("drag",c.drag)[b]("dragstop",c.stop)};var l=j.destroy;return j.destroy=function(){l.apply(this,arguments),this.isEnabled=!1},i.Rect=c,i.Packer=d,i}),function(a,b){"function"==typeof define&&define.amd?define(["isotope-layout/js/layout-mode","packery/js/packery"],b):"object"==typeof module&&module.exports?module.exports=b(require("isotope-layout/js/layout-mode"),require("packery")):b(a.Isotope.LayoutMode,a.Packery)}(window,function(a,b){var c=a.create("packery"),d=c.prototype,e={_getElementOffset:!0,_getMeasurement:!0};for(var f in b.prototype)e[f]||(d[f]=b.prototype[f]);var g=d._resetLayout;d._resetLayout=function(){this.packer=this.packer||new b.Packer,this.shiftPacker=this.shiftPacker||new b.Packer,g.apply(this,arguments)};var h=d._getItemLayoutPosition;d._getItemLayoutPosition=function(a){return a.rect=a.rect||new b.Rect,h.call(this,a)};var i=d.needsResizeLayout;d.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():i.call(this)};var j=d._getOption;return d._getOption=function(a){return"horizontal"==a?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:j.apply(this.isotope,arguments)},c});



/*! http://keith-wood.name/countdown.html
 Countdown for jQuery v2.1.0.
 Written by Keith Wood (wood.keith{at}optusnet.com.au) January 2008.
 Available under the MIT (http://keith-wood.name/licence.html) license.
 Please attribute the author if you use it. */
!function(a){"use strict";var b="countdown",c=0,d=1,e=2,f=3,g=4,h=5,i=6;a.JQPlugin.createPlugin({name:b,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_rtlClass:b+"-rtl",_sectionClass:b+"-section",_amountClass:b+"-amount",_periodClass:b+"-period",_rowClass:b+"-row",_holdingClass:b+"-holding",_showClass:b+"-show",_descrClass:b+"-descr",_timerElems:[],_init:function(){function b(a){var h=a<1e12?e?window.performance.now()+window.performance.timing.navigationStart:d():a||d();h-g>=1e3&&(c._updateElems(),g=h),f(b)}var c=this;this._super(),this._serverSyncs=[];var d="function"==typeof Date.now?Date.now:function(){return(new Date).getTime()},e=window.performance&&"function"==typeof window.performance.now,f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,g=0;!f||a.noRequestAnimationFrame?(a.noRequestAnimationFrame=null,a.countdown._timer=setInterval(function(){c._updateElems()},1e3)):(g=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||d(),f(b))},UTCDate:function(a,b,c,d,e,f,g,h){"object"==typeof b&&b instanceof Date&&(h=b.getMilliseconds(),g=b.getSeconds(),f=b.getMinutes(),e=b.getHours(),d=b.getDate(),c=b.getMonth(),b=b.getFullYear());var i=new Date;return i.setUTCFullYear(b),i.setUTCDate(1),i.setUTCMonth(c||0),i.setUTCDate(d||1),i.setUTCHours(e||0),i.setUTCMinutes((f||0)-(Math.abs(a)<30?60*a:a)),i.setUTCSeconds(g||0),i.setUTCMilliseconds(h||0),i},periodsToSeconds:function(a){return 31557600*a[0]+2629800*a[1]+604800*a[2]+86400*a[3]+3600*a[4]+60*a[5]+a[6]},resync:function(){var b=this;a("."+this._getMarker()).each(function(){var c=a.data(this,b.name);if(c.options.serverSync){for(var d=null,e=0;e<b._serverSyncs.length;e++)if(b._serverSyncs[e][0]===c.options.serverSync){d=b._serverSyncs[e];break}if(b._eqNull(d[2])){var f=a.isFunction(c.options.serverSync)?c.options.serverSync.apply(this,[]):null;d[2]=(f?(new Date).getTime()-f.getTime():0)-d[1]}c._since&&c._since.setMilliseconds(c._since.getMilliseconds()+d[2]),c._until.setMilliseconds(c._until.getMilliseconds()+d[2])}});for(var c=0;c<b._serverSyncs.length;c++)b._eqNull(b._serverSyncs[c][2])||(b._serverSyncs[c][1]+=b._serverSyncs[c][2],delete b._serverSyncs[c][2])},_instSettings:function(a,b){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(a){this._hasElem(a)||this._timerElems.push(a)},_hasElem:function(b){return a.inArray(b,this._timerElems)>-1},_removeElem:function(b){this._timerElems=a.map(this._timerElems,function(a){return a===b?null:a})},_updateElems:function(){for(var a=this._timerElems.length-1;a>=0;a--)this._updateCountdown(this._timerElems[a])},_optionsChanged:function(b,c,d){d.layout&&(d.layout=d.layout.replace(/&lt;/g,"<").replace(/&gt;/g,">")),this._resetExtraLabels(c.options,d);var e=c.options.timezone!==d.timezone;a.extend(c.options,d),this._adjustSettings(b,c,!this._eqNull(d.until)||!this._eqNull(d.since)||e);var f=new Date;(c._since&&c._since<f||c._until&&c._until>f)&&this._addElem(b[0]),this._updateCountdown(b,c)},_updateCountdown:function(b,c){if(b=b.jquery?b:a(b),c=c||this._getInst(b)){if(b.html(this._generateHTML(c)).toggleClass(this._rtlClass,c.options.isRTL),"pause"!==c._hold&&a.isFunction(c.options.onTick)){var d="lap"!==c._hold?c._periods:this._calculatePeriods(c,c._show,c.options.significant,new Date);1!==c.options.tickInterval&&this.periodsToSeconds(d)%c.options.tickInterval!==0||c.options.onTick.apply(b[0],[d])}var e="pause"!==c._hold&&(c._since?c._now.getTime()<c._since.getTime():c._now.getTime()>=c._until.getTime());if(e&&!c._expiring){if(c._expiring=!0,this._hasElem(b[0])||c.options.alwaysExpire){if(this._removeElem(b[0]),a.isFunction(c.options.onExpiry)&&c.options.onExpiry.apply(b[0],[]),c.options.expiryText){var f=c.options.layout;c.options.layout=c.options.expiryText,this._updateCountdown(b[0],c),c.options.layout=f}c.options.expiryUrl&&(window.location=c.options.expiryUrl)}c._expiring=!1}else"pause"===c._hold&&this._removeElem(b[0])}},_resetExtraLabels:function(a,b){var c=null;for(c in b)c.match(/[Ll]abels[02-9]|compactLabels1/)&&(a[c]=b[c]);for(c in a)c.match(/[Ll]abels[02-9]|compactLabels1/)&&"undefined"==typeof b[c]&&(a[c]=null)},_eqNull:function(a){return"undefined"==typeof a||null===a},_adjustSettings:function(b,c,d){for(var e=null,f=0;f<this._serverSyncs.length;f++)if(this._serverSyncs[f][0]===c.options.serverSync){e=this._serverSyncs[f][1];break}var g=null,h=null;if(this._eqNull(e)){var i=a.isFunction(c.options.serverSync)?c.options.serverSync.apply(b[0],[]):null;g=new Date,h=i?g.getTime()-i.getTime():0,this._serverSyncs.push([c.options.serverSync,h])}else g=new Date,h=c.options.serverSync?e:0;var j=c.options.timezone;j=this._eqNull(j)?-g.getTimezoneOffset():j,(d||!d&&this._eqNull(c._until)&&this._eqNull(c._since))&&(c._since=c.options.since,this._eqNull(c._since)||(c._since=this.UTCDate(j,this._determineTime(c._since,null)),c._since&&h&&c._since.setMilliseconds(c._since.getMilliseconds()+h)),c._until=this.UTCDate(j,this._determineTime(c.options.until,g)),h&&c._until.setMilliseconds(c._until.getMilliseconds()+h)),c._show=this._determineShow(c)},_preDestroy:function(a,b){this._removeElem(a[0]),a.empty()},pause:function(a){this._hold(a,"pause")},lap:function(a){this._hold(a,"lap")},resume:function(a){this._hold(a,null)},toggle:function(b){var c=a.data(b,this.name)||{};this[c._hold?"resume":"pause"](b)},toggleLap:function(b){var c=a.data(b,this.name)||{};this[c._hold?"resume":"lap"](b)},_hold:function(b,c){var d=a.data(b,this.name);if(d){if("pause"===d._hold&&!c){d._periods=d._savePeriods;var e=d._since?"-":"+";d[d._since?"_since":"_until"]=this._determineTime(e+d._periods[0]+"y"+e+d._periods[1]+"o"+e+d._periods[2]+"w"+e+d._periods[3]+"d"+e+d._periods[4]+"h"+e+d._periods[5]+"m"+e+d._periods[6]+"s"),this._addElem(b)}d._hold=c,d._savePeriods="pause"===c?d._periods:null,a.data(b,this.name,d),this._updateCountdown(b,d)}},getTimes:function(b){var c=a.data(b,this.name);return c?"pause"===c._hold?c._savePeriods:c._hold?this._calculatePeriods(c,c._show,c.options.significant,new Date):c._periods:null},_determineTime:function(a,b){var c=this,d=function(a){var b=new Date;return b.setTime(b.getTime()+1e3*a),b},e=function(a){a=a.toLowerCase();for(var b=new Date,d=b.getFullYear(),e=b.getMonth(),f=b.getDate(),g=b.getHours(),h=b.getMinutes(),i=b.getSeconds(),j=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g,k=j.exec(a);k;){switch(k[2]||"s"){case"s":i+=parseInt(k[1],10);break;case"m":h+=parseInt(k[1],10);break;case"h":g+=parseInt(k[1],10);break;case"d":f+=parseInt(k[1],10);break;case"w":f+=7*parseInt(k[1],10);break;case"o":e+=parseInt(k[1],10),f=Math.min(f,c._getDaysInMonth(d,e));break;case"y":d+=parseInt(k[1],10),f=Math.min(f,c._getDaysInMonth(d,e))}k=j.exec(a)}return new Date(d,e,f,g,h,i,0)},f=this._eqNull(a)?b:"string"==typeof a?e(a):"number"==typeof a?d(a):a;return f&&f.setMilliseconds(0),f},_getDaysInMonth:function(a,b){return 32-new Date(a,b,32).getDate()},_normalLabels:function(a){return a},_generateHTML:function(b){var j=this;b._periods=b._hold?b._periods:this._calculatePeriods(b,b._show,b.options.significant,new Date);var k=!1,l=0,m=b.options.significant,n=a.extend({},b._show),o=null;for(o=c;o<=i;o++)k=k||"?"===b._show[o]&&b._periods[o]>0,n[o]="?"!==b._show[o]||k?b._show[o]:null,l+=n[o]?1:0,m-=b._periods[o]>0?1:0;var p=[!1,!1,!1,!1,!1,!1,!1];for(o=i;o>=c;o--)b._show[o]&&(b._periods[o]?p[o]=!0:(p[o]=m>0,m--));var q=b.options.compact?b.options.compactLabels:b.options.labels,r=b.options.whichLabels||this._normalLabels,s=function(a){var c=b.options["compactLabels"+r(b._periods[a])];return n[a]?j._translateDigits(b,b._periods[a])+(c?c[a]:q[a])+" ":""},t=b.options.padZeroes?2:1,u=function(a){var c=b.options["labels"+r(b._periods[a])];return!b.options.significant&&n[a]||b.options.significant&&p[a]?'<span class="'+j._sectionClass+'"><span class="'+j._amountClass+'">'+j._minDigits(b,b._periods[a],t)+'</span><span class="'+j._periodClass+'">'+(c?c[a]:q[a])+"</span></span>":""};return b.options.layout?this._buildLayout(b,n,b.options.layout,b.options.compact,b.options.significant,p):(b.options.compact?'<span class="'+this._rowClass+" "+this._amountClass+(b._hold?" "+this._holdingClass:"")+'">'+s(c)+s(d)+s(e)+s(f)+(n[g]?this._minDigits(b,b._periods[g],2):"")+(n[h]?(n[g]?b.options.timeSeparator:"")+this._minDigits(b,b._periods[h],2):"")+(n[i]?(n[g]||n[h]?b.options.timeSeparator:"")+this._minDigits(b,b._periods[i],2):""):'<span class="'+this._rowClass+" "+this._showClass+(b.options.significant||l)+(b._hold?" "+this._holdingClass:"")+'">'+u(c)+u(d)+u(e)+u(f)+u(g)+u(h)+u(i))+"</span>"+(b.options.description?'<span class="'+this._rowClass+" "+this._descrClass+'">'+b.options.description+"</span>":"")},_buildLayout:function(b,j,k,l,m,n){for(var o=b.options[l?"compactLabels":"labels"],p=b.options.whichLabels||this._normalLabels,q=function(a){return(b.options[(l?"compactLabels":"labels")+p(b._periods[a])]||o)[a]},r=function(a,c){return b.options.digits[Math.floor(a/c)%10]},s={desc:b.options.description,sep:b.options.timeSeparator,yl:q(c),yn:this._minDigits(b,b._periods[c],1),ynn:this._minDigits(b,b._periods[c],2),ynnn:this._minDigits(b,b._periods[c],3),y1:r(b._periods[c],1),y10:r(b._periods[c],10),y100:r(b._periods[c],100),y1000:r(b._periods[c],1e3),ol:q(d),on:this._minDigits(b,b._periods[d],1),onn:this._minDigits(b,b._periods[d],2),onnn:this._minDigits(b,b._periods[d],3),o1:r(b._periods[d],1),o10:r(b._periods[d],10),o100:r(b._periods[d],100),o1000:r(b._periods[d],1e3),wl:q(e),wn:this._minDigits(b,b._periods[e],1),wnn:this._minDigits(b,b._periods[e],2),wnnn:this._minDigits(b,b._periods[e],3),w1:r(b._periods[e],1),w10:r(b._periods[e],10),w100:r(b._periods[e],100),w1000:r(b._periods[e],1e3),dl:q(f),dn:this._minDigits(b,b._periods[f],1),dnn:this._minDigits(b,b._periods[f],2),dnnn:this._minDigits(b,b._periods[f],3),d1:r(b._periods[f],1),d10:r(b._periods[f],10),d100:r(b._periods[f],100),d1000:r(b._periods[f],1e3),hl:q(g),hn:this._minDigits(b,b._periods[g],1),hnn:this._minDigits(b,b._periods[g],2),hnnn:this._minDigits(b,b._periods[g],3),h1:r(b._periods[g],1),h10:r(b._periods[g],10),h100:r(b._periods[g],100),h1000:r(b._periods[g],1e3),ml:q(h),mn:this._minDigits(b,b._periods[h],1),mnn:this._minDigits(b,b._periods[h],2),mnnn:this._minDigits(b,b._periods[h],3),m1:r(b._periods[h],1),m10:r(b._periods[h],10),m100:r(b._periods[h],100),m1000:r(b._periods[h],1e3),sl:q(i),sn:this._minDigits(b,b._periods[i],1),snn:this._minDigits(b,b._periods[i],2),snnn:this._minDigits(b,b._periods[i],3),s1:r(b._periods[i],1),s10:r(b._periods[i],10),s100:r(b._periods[i],100),s1000:r(b._periods[i],1e3)},t=k,u=c;u<=i;u++){var v="yowdhms".charAt(u),w=new RegExp("\\{"+v+"<\\}([\\s\\S]*)\\{"+v+">\\}","g");t=t.replace(w,!m&&j[u]||m&&n[u]?"$1":"")}return a.each(s,function(a,b){var c=new RegExp("\\{"+a+"\\}","g");t=t.replace(c,b)}),t},_minDigits:function(a,b,c){return b=""+b,b.length>=c?this._translateDigits(a,b):(b="0000000000"+b,this._translateDigits(a,b.substr(b.length-c)))},_translateDigits:function(a,b){return(""+b).replace(/[0-9]/g,function(b){return a.options.digits[b]})},_determineShow:function(a){var b=a.options.format,j=[];return j[c]=b.match("y")?"?":b.match("Y")?"!":null,j[d]=b.match("o")?"?":b.match("O")?"!":null,j[e]=b.match("w")?"?":b.match("W")?"!":null,j[f]=b.match("d")?"?":b.match("D")?"!":null,j[g]=b.match("h")?"?":b.match("H")?"!":null,j[h]=b.match("m")?"?":b.match("M")?"!":null,j[i]=b.match("s")?"?":b.match("S")?"!":null,j},_calculatePeriods:function(a,b,j,k){a._now=k,a._now.setMilliseconds(0);var l=new Date(a._now.getTime());a._since?k.getTime()<a._since.getTime()?a._now=k=l:k=a._since:(l.setTime(a._until.getTime()),k.getTime()>a._until.getTime()&&(a._now=k=l));var m=[0,0,0,0,0,0,0];if(b[c]||b[d]){var n=this._getDaysInMonth(k.getFullYear(),k.getMonth()),o=this._getDaysInMonth(l.getFullYear(),l.getMonth()),p=l.getDate()===k.getDate()||l.getDate()>=Math.min(n,o)&&k.getDate()>=Math.min(n,o),q=function(a){return 60*(60*a.getHours()+a.getMinutes())+a.getSeconds()},r=Math.max(0,12*(l.getFullYear()-k.getFullYear())+l.getMonth()-k.getMonth()+(l.getDate()<k.getDate()&&!p||p&&q(l)<q(k)?-1:0));m[c]=b[c]?Math.floor(r/12):0,m[d]=b[d]?r-12*m[c]:0,k=new Date(k.getTime());var s=k.getDate()===n,t=this._getDaysInMonth(k.getFullYear()+m[c],k.getMonth()+m[d]);k.getDate()>t&&k.setDate(t),k.setFullYear(k.getFullYear()+m[c]),k.setMonth(k.getMonth()+m[d]),s&&k.setDate(t)}var u=Math.floor((l.getTime()-k.getTime())/1e3),v=null,w=function(a,c){m[a]=b[a]?Math.floor(u/c):0,u-=m[a]*c};if(w(e,604800),w(f,86400),w(g,3600),w(h,60),w(i,1),u>0&&!a._since){var x=[1,12,4.3482,7,24,60,60],y=i,z=1;for(v=i;v>=c;v--)b[v]&&(m[y]>=z&&(m[y]=0,u=1),u>0&&(m[v]++,u=0,y=v,z=1)),z*=x[v]}if(j)for(v=c;v<=i;v++)j&&m[v]?j--:j||(m[v]=0);return m}})}(jQuery);



(function($){"use strict";$.fn.countTo=function(options){options=$.extend({},$.fn.countTo.defaults,options||{});var loops=Math.ceil(options.speed/options.refreshInterval),increment=(options.to-options.from)/loops;return $(this).each(function(){var _this=this,loopCount=0,value=options.from,interval=setInterval(updateTimer,options.refreshInterval);function updateTimer(){value+=increment;loopCount++;$(_this).html(value.toFixed(options.decimals));if(typeof(options.onUpdate)==='function'){options.onUpdate.call(_this,value)}if(loopCount>=loops){clearInterval(interval);value=options.to;if(typeof(options.onComplete)==='function'){options.onComplete.call(_this,value)}}}})};$.fn.countTo.defaults={from:0,to:100,speed:1000,refreshInterval:100,decimals:0,onUpdate:null,onComplete:null}})(jQuery);



/* Absolute counter */
(function(a){"use strict";a.fn.absoluteCounter=function(b){b=a.extend({},a.fn.absoluteCounter.defaults,b||{});return a(this).each(function(){var d=this,g=b.speed,f=b.setStyles,e=b.delayedStart,c=b.fadeInDelay;if(f){a(d).css({display:"block",position:"relative",overflow:"hidden"}).addClass('animated')}a(d).css("opacity","0");a(d).animate({opacity:0},e,function(){var l=a(d).text();a(d).text("");for(var k=0;k<l.length;k++){var n=l.charAt(k);var m="";if(parseInt(n,10)>=0){m='<span class="onedigit p'+(l.length-k)+" d"+n+'">';for(var h=0;h<=parseInt(n,10);h++){m+='<span class="n'+(h%10)+'">'+(h%10)+"</span>"}m+="</span>"}else{m='<span class="onedigit p'+(l.length-k)+' char"><span class="c">'+n+"</span></span>"}a(d).append(m)}a(d).animate({opacity:1},c);a("span.onedigit",d).each(function(i,o){if(f){a(o).css({"float":"left",position:"relative"});a("span",a(o)).css({display:"block"})}var p=a("span",a(o)).length,j=a(d).height();a(o).css({height:(p*j)+"px",top:"0"});a("span",a(o)).css({height:j+"px"});a(o).animate({top:-1*((p-1)*j)+"px"},g,function(){if(typeof(b.onComplete)==="function"){b.onComplete.call(d)}})})})})};a.fn.absoluteCounter.defaults={speed:2000,setStyles:true,onComplete:null,delayedStart:0,fadeInDelay:0}}(jQuery));



!function(t,s,e){"use strict";var i=function(t,s){var i=this;this.el=t,this.options={},Object.keys(r).forEach(function(t){i.options[t]=r[t]}),Object.keys(s).forEach(function(t){i.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.fadeOut=this.options.fadeOut,this.fadeOutClass=this.options.fadeOutClass,this.fadeOutDelay=this.options.fadeOutDelay,e&&this.options.stringsElement instanceof e?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};i.prototype={constructor:i,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;if(this.showCursor===!0&&(this.cursor=s.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement){this.strings=[],this.stringsElement.style.display="none";var e=Array.prototype.slice.apply(this.stringsElement.children);e.forEach(function(s){t.strings.push(s.innerHTML)})}this.init()},typewrite:function(t,s){if(this.stop!==!0){this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor.classList.remove(this.fadeOutClass));var e=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s+1).charAt(0)!==h&&(a+=t.substr(s).charAt(0),s++,!(s+1>t.length)););s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.setAttribute(i.attr,e):i.isInput?i.el.value=e:"html"===i.contentType?i.el.innerHTML=e:i.el.textContent=e,s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){var e=this;if(this.stop!==!0){if(this.fadeOut)return void this.initFadeOut();var i=Math.round(70*Math.random())+this.backSpeed;e.timeout=setTimeout(function(){if("html"===e.contentType&&">"===t.substr(s).charAt(0)){for(var i="";"<"!==t.substr(s-1).charAt(0)&&(i-=t.substr(s).charAt(0),s--,!(s<0)););s--,i+="<"}var r=t.substr(0,s);e.replaceText(r),s>e.stopNum?(s--,e.backspace(t,s)):s<=e.stopNum&&(e.arrayPos++,e.arrayPos===e.strings.length?(e.arrayPos=0,e.shuffle&&(e.sequence=e.shuffleArray(e.sequence)),e.init()):e.typewrite(e.strings[e.sequence[e.arrayPos]],s))},i)}},initFadeOut:function(){return self=this,this.el.className+=" "+this.fadeOutClass,this.cursor.className+=" "+this.fadeOutClass,setTimeout(function(){self.arrayPos++,self.replaceText(""),self.strings.length>self.arrayPos?self.typewrite(self.strings[self.sequence[self.arrayPos]],0):(self.typewrite(self.strings[0],0),self.arrayPos=0)},self.fadeOutDelay)},replaceText:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);this.el.getAttribute("id");this.el.textContent="","undefined"!=typeof this.cursor&&"undefined"!=typeof this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},i["new"]=function(t,e){var r=Array.prototype.slice.apply(s.querySelectorAll(t));r.forEach(function(t){var s=t._typed,r="object"==typeof e&&e;s&&s.reset(),t._typed=s=new i(t,r),"string"==typeof e&&s[e]()})},e&&(e.fn.typed=function(t){return this.each(function(){var s=e(this),r=s.data("typed"),o="object"==typeof t&&t;r&&r.reset(),s.data("typed",r=new i(this,o)),"string"==typeof t&&r[t]()})}),t.Typed=i;var r={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery);



/*!
 * fullPage 2.9.6
 * https://github.com/alvarotrigo/fullPage.js
 * @license MIT licensed
 *
 * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo
 */
!function(e,n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,e,e.document,e.Math)}):"object"==typeof exports&&exports?module.exports=n(require("jquery"),e,e.document,e.Math):n(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function(e,n,t,o,i){"use strict";var a="fullpage-wrapper",l="."+a,r="fp-responsive",s="fp-notransition",c="fp-destroyed",d="fp-enabled",f="fp-viewing",u="active",h="."+u,p="fp-completely",v="."+p,g=".section",m="fp-section",w="."+m,y=w+h,S=w+":first",b=w+":last",x="fp-tableCell",C="."+x,T="fp-auto-height",k="fp-normal-scroll",L="fp-nav",A="#"+L,O="fp-tooltip",I="."+O,E="fp-show-active",M=".slide",B="fp-slide",R="."+B,z=R+h,H="fp-slides",D="."+H,P="fp-slidesContainer",q="."+P,F="fp-table",V="fp-slidesNav",j="."+V,Y=j+" a",N="fp-controlArrow",X="."+N,U="fp-prev",W="."+U,K=N+" "+U,_=X+W,Q="fp-next",G="."+Q,J=N+" "+Q,Z=X+G,$=e(n),ee=e(t);e.fn.fullpage=function(N){function W(n,t){n||Zn(0),ot("autoScrolling",n,t);var o=e(y);N.autoScrolling&&!N.scrollBar?(lt.css({overflow:"hidden",height:"100%"}),Q(Rt.recordHistory,"internal"),gt.css({"-ms-touch-action":"none","touch-action":"none"}),o.length&&Zn(o.position().top)):(lt.css({overflow:"visible",height:"initial"}),Q(!1,"internal"),gt.css({"-ms-touch-action":"","touch-action":""}),o.length&&lt.scrollTop(o.position().top))}function Q(e,n){ot("recordHistory",e,n)}function G(e,n){ot("scrollingSpeed",e,n)}function ne(e,n){ot("fitToSection",e,n)}function te(e){N.lockAnchors=e}function oe(e){e?(Xn(),Un()):(Nn(),Wn())}function ie(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){et(n,t,"m")})):(et(n,"all","m"),n?(oe(!0),Kn()):(oe(!1),_n()))}function ae(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){et(n,t,"k")})):(et(n,"all","k"),N.keyboardScrolling=n)}function le(){var n=e(y).prev(w);n.length||!N.loopTop&&!N.continuousVertical||(n=e(w).last()),n.length&&Ne(n,null,!0)}function re(){var n=e(y).next(w);n.length||!N.loopBottom&&!N.continuousVertical||(n=e(w).first()),n.length&&Ne(n,null,!1)}function se(e,n){G(0,"internal"),ce(e,n),G(Rt.scrollingSpeed,"internal")}function ce(e,n){var t=Rn(e);"undefined"!=typeof n?Hn(e,n):t.length>0&&Ne(t)}function de(e){Ve("right",e)}function fe(e){Ve("left",e)}function ue(n){if(!gt.hasClass(c)){wt=!0,mt=$.height(),e(w).each(function(){var n=e(this).find(D),t=e(this).find(R);N.verticalCentered&&e(this).find(C).css("height",Mn(e(this))+"px"),e(this).css("height",mt+"px"),t.length>1&&mn(n,n.find(z))}),N.scrollOverflow&&Ct.createScrollBarForAll();var t=e(y),o=t.index(w);o&&se(o+1),wt=!1,e.isFunction(N.afterResize)&&n&&N.afterResize.call(gt),e.isFunction(N.afterReBuild)&&!n&&N.afterReBuild.call(gt)}}function he(n){var t=rt.hasClass(r);n?t||(W(!1,"internal"),ne(!1,"internal"),e(A).hide(),rt.addClass(r),e.isFunction(N.afterResponsive)&&N.afterResponsive.call(gt,n)):t&&(W(Rt.autoScrolling,"internal"),ne(Rt.autoScrolling,"internal"),e(A).show(),rt.removeClass(r),e.isFunction(N.afterResponsive)&&N.afterResponsive.call(gt,n))}function pe(){N.css3&&(N.css3=Yn()),N.scrollBar=N.scrollBar||N.hybrid,ge(),me(),ie(!0),W(N.autoScrolling,"internal"),xn(),jn(),"complete"===t.readyState&&nn(),$.on("load",nn)}function ve(){$.on("scroll",Ie).on("hashchange",tn).blur(fn).resize(bn),ee.keydown(an).keyup(rn).on("click touchstart",A+" a",un).on("click touchstart",Y,hn).on("click",I,ln),e(w).on("click touchstart",X,dn),N.normalScrollElements&&(ee.on("mouseenter touchstart",N.normalScrollElements,function(){ie(!1)}),ee.on("mouseleave touchend",N.normalScrollElements,function(){ie(!0)}))}function ge(){var n=gt.find(N.sectionSelector);N.anchors.length||(N.anchors=n.filter("[data-anchor]").map(function(){return e(this).data("anchor").toString()}).get()),N.navigationTooltips.length||(N.navigationTooltips=n.filter("[data-tooltip]").map(function(){return e(this).data("tooltip").toString()}).get())}function me(){gt.css({height:"100%",position:"relative"}),gt.addClass(a),e("html").addClass(d),mt=$.height(),gt.removeClass(c),be(),e(w).each(function(n){var t=e(this),o=t.find(R),i=o.length;t.data("fp-styles",t.attr("style")),ye(t,n),Se(t,n),i>0?we(t,o,i):N.verticalCentered&&En(t)}),N.fixedElements&&N.css3&&e(N.fixedElements).appendTo(rt),N.navigation&&Ce(),Te(),N.scrollOverflow?Ct=N.scrollOverflowHandler.init(N):Ae()}function we(n,t,o){var i=100*o,a=100/o;t.wrapAll('<div class="'+P+'" />'),t.parent().wrap('<div class="'+H+'" />'),n.find(q).css("width",i+"%"),o>1&&(N.controlArrows&&xe(n),N.slidesNavigation&&Pn(n,o)),t.each(function(n){e(this).css("width",a+"%"),N.verticalCentered&&En(e(this))});var l=n.find(z);l.length&&(0!==e(y).index(w)||0===e(y).index(w)&&0!==l.index())?Jn(l,"internal"):t.eq(0).addClass(u)}function ye(n,t){t||0!==e(y).length||n.addClass(u),ut=e(y),n.css("height",mt+"px"),N.paddingTop&&n.css("padding-top",N.paddingTop),N.paddingBottom&&n.css("padding-bottom",N.paddingBottom),"undefined"!=typeof N.sectionsColor[t]&&n.css("background-color",N.sectionsColor[t]),"undefined"!=typeof N.anchors[t]&&n.attr("data-anchor",N.anchors[t])}function Se(n,t){"undefined"!=typeof N.anchors[t]&&n.hasClass(u)&&An(N.anchors[t],t),N.menu&&N.css3&&e(N.menu).closest(l).length&&e(N.menu).appendTo(rt)}function be(){gt.find(N.sectionSelector).addClass(m),gt.find(N.slideSelector).addClass(B)}function xe(e){e.find(D).after('<div class="'+K+'"></div><div class="'+J+'"></div>'),"#fff"!=N.controlArrowColor&&(e.find(Z).css("border-color","transparent transparent transparent "+N.controlArrowColor),e.find(_).css("border-color","transparent "+N.controlArrowColor+" transparent transparent")),N.loopHorizontal||e.find(_).hide()}function Ce(){rt.append('<div id="'+L+'"><ul></ul></div>');var n=e(A);n.addClass(function(){return N.showActiveTooltip?E+" "+N.navigationPosition:N.navigationPosition});for(var t=0;t<e(w).length;t++){var o="";N.anchors.length&&(o=N.anchors[t]);var i='<li><a href="#'+o+'"><span></span></a>',a=N.navigationTooltips[t];"undefined"!=typeof a&&""!==a&&(i+='<div class="'+O+" "+N.navigationPosition+'">'+a+"</div>"),i+="</li>",n.find("ul").append(i)}e(A).css("margin-top","-"+e(A).height()/2+"px"),e(A).find("li").eq(e(y).index(w)).find("a").addClass(u)}function Te(){gt.find('iframe[src*="youtube.com/embed/"]').each(function(){ke(e(this),"enablejsapi=1")})}function ke(e,n){var t=e.attr("src");e.attr("src",t+Le(t)+n)}function Le(e){return/\?/.test(e)?"&":"?"}function Ae(){var n=e(y);n.addClass(p),Ge(n),Je(n),N.scrollOverflow&&N.scrollOverflowHandler.afterLoad(),Oe()&&e.isFunction(N.afterLoad)&&N.afterLoad.call(n,n.data("anchor"),n.index(w)+1),e.isFunction(N.afterRender)&&N.afterRender.call(gt)}function Oe(){var e=Rn(on().section);return!e||e.length&&e.index()===ut.index()}function Ie(){var n;if(!N.autoScrolling||N.scrollBar){var o=$.scrollTop(),i=Be(o),a=0,l=o+$.height()/2,r=rt.height()-$.height()===o,s=t.querySelectorAll(w);if(r)a=s.length-1;else if(o)for(var c=0;c<s.length;++c){var d=s[c];d.offsetTop<=l&&(a=c)}else a=0;if(Me(i)&&(e(y).hasClass(p)||e(y).addClass(p).siblings().removeClass(p)),n=e(s).eq(a),!n.hasClass(u)){zt=!0;var f,h,v=e(y),g=v.index(w)+1,m=On(n),S=n.data("anchor"),b=n.index(w)+1,x=n.find(z);x.length&&(h=x.data("anchor"),f=x.index()),St&&(n.addClass(u).siblings().removeClass(u),e.isFunction(N.onLeave)&&N.onLeave.call(v,g,b,m),e.isFunction(N.afterLoad)&&N.afterLoad.call(n,S,b),$e(v),Ge(n),Je(n),An(S,b-1),N.anchors.length&&(ct=S),qn(f,h,S,b)),clearTimeout(At),At=setTimeout(function(){zt=!1},100)}N.fitToSection&&(clearTimeout(Ot),Ot=setTimeout(function(){N.fitToSection&&e(y).outerHeight()<=mt&&Ee()},N.fitToSectionDelay))}}function Ee(){St&&(wt=!0,Ne(e(y)),wt=!1)}function Me(n){var t=e(y).position().top,o=t+$.height();return"up"==n?o>=$.scrollTop()+$.height():t<=$.scrollTop()}function Be(e){var n=e>Ht?"down":"up";return Ht=e,jt=e,n}function Re(n){if(xt.m[n]){var t="down"===n?re:le;if(N.scrollOverflow){var o=N.scrollOverflowHandler.scrollable(e(y)),i="down"===n?"bottom":"top";if(o.length>0){if(!N.scrollOverflowHandler.isScrolled(i,o))return!0;t()}else t()}else t()}}function ze(e){var n=e.originalEvent;N.autoScrolling&&De(n)&&e.preventDefault()}function He(n){var t=n.originalEvent,i=e(t.target).closest(w);if(De(t)){N.autoScrolling&&n.preventDefault();var a=Gn(t);qt=a.y,Ft=a.x,i.find(D).length&&o.abs(Pt-Ft)>o.abs(Dt-qt)?!ht&&o.abs(Pt-Ft)>$.outerWidth()/100*N.touchSensitivity&&(Pt>Ft?xt.m.right&&de(i):xt.m.left&&fe(i)):N.autoScrolling&&St&&o.abs(Dt-qt)>$.height()/100*N.touchSensitivity&&(Dt>qt?Re("down"):qt>Dt&&Re("up"))}}function De(e){return"undefined"==typeof e.pointerType||"mouse"!=e.pointerType}function Pe(e){var n=e.originalEvent;if(N.fitToSection&&lt.stop(),De(n)){var t=Gn(n);Dt=t.y,Pt=t.x}}function qe(e,n){for(var t=0,i=e.slice(o.max(e.length-n,1)),a=0;a<i.length;a++)t+=i[a];return o.ceil(t/n)}function Fe(t){var i=(new Date).getTime(),a=e(v).hasClass(k);if(N.autoScrolling&&!ft&&!a){t=t||n.event;var l=t.wheelDelta||-t.deltaY||-t.detail,r=o.max(-1,o.min(1,l)),s="undefined"!=typeof t.wheelDeltaX||"undefined"!=typeof t.deltaX,c=o.abs(t.wheelDeltaX)<o.abs(t.wheelDelta)||o.abs(t.deltaX)<o.abs(t.deltaY)||!s;bt.length>149&&bt.shift(),bt.push(o.abs(l)),N.scrollBar&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var d=i-Vt;if(Vt=i,d>200&&(bt=[]),St){var f=qe(bt,10),u=qe(bt,70),h=f>=u;h&&c&&Re(r<0?"down":"up")}return!1}N.fitToSection&&lt.stop()}function Ve(n,t){var o="undefined"==typeof t?e(y):t,i=o.find(D),a=i.find(R).length;if(!(!i.length||ht||a<2)){var l=i.find(z),r=null;if(r="left"===n?l.prev(R):l.next(R),!r.length){if(!N.loopHorizontal)return;r="left"===n?l.siblings(":last"):l.siblings(":first")}ht=!0,mn(i,r,n)}}function je(){e(z).each(function(){Jn(e(this),"internal")})}function Ye(e){var n=e.position(),t=n.top,o=n.top>jt,i=t-mt+e.outerHeight(),a=N.bigSectionsDestination;return e.outerHeight()>mt?(o||a)&&"bottom"!==a||(t=i):(o||wt&&e.is(":last-child"))&&(t=i),jt=t,t}function Ne(n,t,o){if("undefined"!=typeof n){var i,a,l=Ye(n),r={element:n,callback:t,isMovementUp:o,dtop:l,yMovement:On(n),anchorLink:n.data("anchor"),sectionIndex:n.index(w),activeSlide:n.find(z),activeSection:e(y),leavingSection:e(y).index(w)+1,localIsResizing:wt};r.activeSection.is(n)&&!wt||N.scrollBar&&$.scrollTop()===r.dtop&&!n.hasClass(T)||(r.activeSlide.length&&(i=r.activeSlide.data("anchor"),a=r.activeSlide.index()),e.isFunction(N.onLeave)&&!r.localIsResizing&&N.onLeave.call(r.activeSection,r.leavingSection,r.sectionIndex+1,r.yMovement)===!1||(N.autoScrolling&&N.continuousVertical&&"undefined"!=typeof r.isMovementUp&&(!r.isMovementUp&&"up"==r.yMovement||r.isMovementUp&&"down"==r.yMovement)&&(r=We(r)),r.localIsResizing||$e(r.activeSection),N.scrollOverflow&&N.scrollOverflowHandler.beforeLeave(),n.addClass(u).siblings().removeClass(u),Ge(n),N.scrollOverflow&&N.scrollOverflowHandler.onLeave(),St=!1,qn(a,i,r.anchorLink,r.sectionIndex),Xe(r),ct=r.anchorLink,An(r.anchorLink,r.sectionIndex)))}}function Xe(n){if(N.css3&&N.autoScrolling&&!N.scrollBar){var t="translate3d(0px, -"+o.round(n.dtop)+"px, 0px)";Bn(t,!0),N.scrollingSpeed?(clearTimeout(kt),kt=setTimeout(function(){_e(n)},N.scrollingSpeed)):_e(n)}else{var i=Ue(n);e(i.element).animate(i.options,N.scrollingSpeed,N.easing).promise().done(function(){N.scrollBar?setTimeout(function(){_e(n)},30):_e(n)})}}function Ue(e){var n={};return N.autoScrolling&&!N.scrollBar?(n.options={top:-e.dtop},n.element=l):(n.options={scrollTop:e.dtop},n.element="html, body"),n}function We(n){return n.isMovementUp?e(y).before(n.activeSection.nextAll(w)):e(y).after(n.activeSection.prevAll(w).get().reverse()),Zn(e(y).position().top),je(),n.wrapAroundElements=n.activeSection,n.dtop=n.element.position().top,n.yMovement=On(n.element),n.leavingSection=n.activeSection.index(w)+1,n.sectionIndex=n.element.index(w),n}function Ke(n){n.wrapAroundElements&&n.wrapAroundElements.length&&(n.isMovementUp?e(S).before(n.wrapAroundElements):e(b).after(n.wrapAroundElements),Zn(e(y).position().top),je())}function _e(n){Ke(n),e.isFunction(N.afterLoad)&&!n.localIsResizing&&N.afterLoad.call(n.element,n.anchorLink,n.sectionIndex+1),N.scrollOverflow&&N.scrollOverflowHandler.afterLoad(),n.localIsResizing||Je(n.element),n.element.addClass(p).siblings().removeClass(p),St=!0,e.isFunction(n.callback)&&n.callback.call(this)}function Qe(e,n){e.attr(n,e.data(n)).removeAttr("data-"+n)}function Ge(n){if(N.lazyLoading){var t,o=en(n);o.find("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]").each(function(){if(t=e(this),e.each(["src","srcset"],function(e,n){var o=t.attr("data-"+n);"undefined"!=typeof o&&o&&Qe(t,n)}),t.is("source")){var n=t.closest("video").length?"video":"audio";t.closest(n).get(0).load()}})}}function Je(n){var t=en(n);t.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-autoplay")&&"function"==typeof n.play&&n.play()}),t.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);n.hasAttribute("data-autoplay")&&Ze(n),n.onload=function(){n.hasAttribute("data-autoplay")&&Ze(n)}})}function Ze(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function $e(n){var t=en(n);t.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()}),t.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&!n.hasAttribute("data-keepplaying")&&e(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function en(n){var t=n.find(z);return t.length&&(n=e(t)),n}function nn(){var e=on(),n=e.section,t=e.slide;n&&(N.animateAnchor?Hn(n,t):se(n,t))}function tn(){if(!zt&&!N.lockAnchors){var e=on(),n=e.section,t=e.slide,o="undefined"==typeof ct,i="undefined"==typeof ct&&"undefined"==typeof t&&!ht;n.length&&(n&&n!==ct&&!o||i||!ht&&dt!=t)&&Hn(n,t)}}function on(){var e,t,o=n.location.hash;if(o.length){var i=o.replace("#","").split("/"),a=o.indexOf("#/")>-1;e=a?"/"+i[1]:decodeURIComponent(i[0]);var l=a?i[2]:i[1];l&&l.length&&(t=decodeURIComponent(l))}return{section:e,slide:t}}function an(n){clearTimeout(It);var t=e(":focus"),o=n.which;if(9===o)vn(n);else if(!t.is("textarea")&&!t.is("input")&&!t.is("select")&&"true"!==t.attr("contentEditable")&&""!==t.attr("contentEditable")&&N.keyboardScrolling&&N.autoScrolling){var i=[40,38,32,33,34];e.inArray(o,i)>-1&&n.preventDefault(),ft=n.ctrlKey,It=setTimeout(function(){pn(n)},150)}}function ln(){e(this).prev().trigger("click")}function rn(e){yt&&(ft=e.ctrlKey)}function sn(e){2==e.which&&(Yt=e.pageY,gt.on("mousemove",gn))}function cn(e){2==e.which&&gt.off("mousemove")}function dn(){var n=e(this).closest(w);e(this).hasClass(U)?xt.m.left&&fe(n):xt.m.right&&de(n)}function fn(){yt=!1,ft=!1}function un(n){n.preventDefault();var t=e(this).parent().index();Ne(e(w).eq(t))}function hn(n){n.preventDefault();var t=e(this).closest(w).find(D),o=t.find(R).eq(e(this).closest("li").index());mn(t,o)}function pn(n){var t=n.shiftKey;if(St||!([37,39].indexOf(n.which)<0))switch(n.which){case 38:case 33:xt.k.up&&le();break;case 32:if(t&&xt.k.up){le();break}case 40:case 34:xt.k.down&&re();break;case 36:xt.k.up&&ce(1);break;case 35:xt.k.down&&ce(e(w).length);break;case 37:xt.k.left&&fe();break;case 39:xt.k.right&&de();break;default:return}}function vn(n){function t(e){return e.preventDefault(),s.first().focus()}var o=n.shiftKey,i=e(":focus"),a=e(y),l=a.find(z),r=l.length?l:a,s=r.find(Bt);i.length?i.closest(y,z).length||(i=t(n)):t(n),(!o&&i.is(s.last())||o&&i.is(s.first()))&&n.preventDefault()}function gn(e){St&&(e.pageY<Yt&&xt.m.up?le():e.pageY>Yt&&xt.m.down&&re()),Yt=e.pageY}function mn(n,t,o){var i=n.closest(w),a={slides:n,destiny:t,direction:o,destinyPos:t.position(),slideIndex:t.index(),section:i,sectionIndex:i.index(w),anchorLink:i.data("anchor"),slidesNav:i.find(j),slideAnchor:Vn(t),prevSlide:i.find(z),prevSlideIndex:i.find(z).index(),localIsResizing:wt};return a.xMovement=In(a.prevSlideIndex,a.slideIndex),a.localIsResizing||(St=!1),N.onSlideLeave&&!a.localIsResizing&&"none"!==a.xMovement&&e.isFunction(N.onSlideLeave)&&N.onSlideLeave.call(a.prevSlide,a.anchorLink,a.sectionIndex+1,a.prevSlideIndex,a.direction,a.slideIndex)===!1?void(ht=!1):(t.addClass(u).siblings().removeClass(u),a.localIsResizing||($e(a.prevSlide),Ge(t)),!N.loopHorizontal&&N.controlArrows&&(i.find(_).toggle(0!==a.slideIndex),i.find(Z).toggle(!t.is(":last-child"))),i.hasClass(u)&&!a.localIsResizing&&qn(a.slideIndex,a.slideAnchor,a.anchorLink,a.sectionIndex),void yn(n,a,!0))}function wn(n){Sn(n.slidesNav,n.slideIndex),n.localIsResizing||(e.isFunction(N.afterSlideLoad)&&N.afterSlideLoad.call(n.destiny,n.anchorLink,n.sectionIndex+1,n.slideAnchor,n.slideIndex),St=!0,Je(n.destiny)),ht=!1}function yn(e,n,t){var i=n.destinyPos;if(N.css3){var a="translate3d(-"+o.round(i.left)+"px, 0px, 0px)";Cn(e.find(q)).css($n(a)),Lt=setTimeout(function(){t&&wn(n)},N.scrollingSpeed,N.easing)}else e.animate({scrollLeft:o.round(i.left)},N.scrollingSpeed,N.easing,function(){t&&wn(n)})}function Sn(e,n){e.find(h).removeClass(u),e.find("li").eq(n).find("a").addClass(u)}function bn(){if(xn(),pt){var n=e(t.activeElement);if(!n.is("textarea")&&!n.is("input")&&!n.is("select")){var i=$.height();o.abs(i-Nt)>20*o.max(Nt,i)/100&&(ue(!0),Nt=i)}}else clearTimeout(Tt),Tt=setTimeout(function(){ue(!0)},350)}function xn(){var e=N.responsive||N.responsiveWidth,n=N.responsiveHeight,t=e&&$.outerWidth()<e,o=n&&$.height()<n;e&&n?he(t||o):e?he(t):n&&he(o)}function Cn(e){var n="all "+N.scrollingSpeed+"ms "+N.easingcss3;return e.removeClass(s),e.css({"-webkit-transition":n,transition:n})}function Tn(e){return e.addClass(s)}function kn(n,t){N.navigation&&(e(A).find(h).removeClass(u),n?e(A).find('a[href="#'+n+'"]').addClass(u):e(A).find("li").eq(t).find("a").addClass(u))}function Ln(n){N.menu&&(e(N.menu).find(h).removeClass(u),e(N.menu).find('[data-menuanchor="'+n+'"]').addClass(u))}function An(e,n){Ln(e),kn(e,n)}function On(n){var t=e(y).index(w),o=n.index(w);return t==o?"none":t>o?"up":"down"}function In(e,n){return e==n?"none":e>n?"left":"right"}function En(e){e.hasClass(F)||e.addClass(F).wrapInner('<div class="'+x+'" style="height:'+Mn(e)+'px;" />')}function Mn(e){var n=mt;if(N.paddingTop||N.paddingBottom){var t=e;t.hasClass(m)||(t=e.closest(w));var o=parseInt(t.css("padding-top"))+parseInt(t.css("padding-bottom"));n=mt-o}return n}function Bn(e,n){n?Cn(gt):Tn(gt),gt.css($n(e)),setTimeout(function(){gt.removeClass(s)},10)}function Rn(n){var t=gt.find(w+'[data-anchor="'+n+'"]');if(!t.length){var o="undefined"!=typeof n?n-1:0;t=e(w).eq(o)}return t}function zn(e,n){var t=n.find(R+'[data-anchor="'+e+'"]');return t.length||(e="undefined"!=typeof e?e:0,t=n.find(R).eq(e)),t}function Hn(e,n){var t=Rn(e);if(t.length){var o=zn(n,t);e===ct||t.hasClass(u)?Dn(o):Ne(t,function(){Dn(o)})}}function Dn(e){e.length&&mn(e.closest(D),e)}function Pn(e,n){e.append('<div class="'+V+'"><ul></ul></div>');var t=e.find(j);t.addClass(N.slidesNavPosition);for(var o=0;o<n;o++)t.find("ul").append('<li><a href="#"><span></span></a></li>');t.css("margin-left","-"+t.width()/2+"px"),t.find("li").first().find("a").addClass(u)}function qn(e,n,t,o){var i="";N.anchors.length&&!N.lockAnchors&&(e?("undefined"!=typeof t&&(i=t),"undefined"==typeof n&&(n=e),dt=n,Fn(i+"/"+n)):"undefined"!=typeof e?(dt=n,Fn(t)):Fn(t)),jn()}function Fn(e){if(N.recordHistory)location.hash=e;else if(pt||vt)n.history.replaceState(i,i,"#"+e);else{var t=n.location.href.split("#")[0];n.location.replace(t+"#"+e)}}function Vn(e){var n=e.data("anchor"),t=e.index();return"undefined"==typeof n&&(n=t),n}function jn(){var n=e(y),t=n.find(z),o=Vn(n),i=Vn(t),a=String(o);t.length&&(a=a+"-"+i),a=a.replace("/","-").replace("#","");var l=new RegExp("\\b\\s?"+f+"-[^\\s]+\\b","g");rt[0].className=rt[0].className.replace(l,""),rt.addClass(f+"-"+a)}function Yn(){var e,o=t.createElement("p"),a={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};t.body.insertBefore(o,null);for(var l in a)o.style[l]!==i&&(o.style[l]="translate3d(1px,1px,1px)",e=n.getComputedStyle(o).getPropertyValue(a[l]));return t.body.removeChild(o),e!==i&&e.length>0&&"none"!==e}function Nn(){t.addEventListener?(t.removeEventListener("mousewheel",Fe,!1),t.removeEventListener("wheel",Fe,!1),t.removeEventListener("MozMousePixelScroll",Fe,!1)):t.detachEvent("onmousewheel",Fe)}function Xn(){var e,o="";n.addEventListener?e="addEventListener":(e="attachEvent",o="on");var a="onwheel"in t.createElement("div")?"wheel":t.onmousewheel!==i?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==a?t[e](o+"MozMousePixelScroll",Fe,!1):t[e](o+a,Fe,!1)}function Un(){gt.on("mousedown",sn).on("mouseup",cn)}function Wn(){gt.off("mousedown",sn).off("mouseup",cn)}function Kn(){(pt||vt)&&(N.autoScrolling&&rt.off(Mt.touchmove).on(Mt.touchmove,ze),e(l).off(Mt.touchstart).on(Mt.touchstart,Pe).off(Mt.touchmove).on(Mt.touchmove,He))}function _n(){(pt||vt)&&(N.autoScrolling&&rt.off(Mt.touchmove),e(l).off(Mt.touchstart).off(Mt.touchmove))}function Qn(){var e;return e=n.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Gn(e){var n=[];return n.y="undefined"!=typeof e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,n.x="undefined"!=typeof e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,vt&&De(e)&&(N.scrollBar||!N.autoScrolling)&&(n.y=e.touches[0].pageY,n.x=e.touches[0].pageX),n}function Jn(e,n){G(0,"internal"),"undefined"!=typeof n&&(wt=!0),mn(e.closest(D),e),"undefined"!=typeof n&&(wt=!1),G(Rt.scrollingSpeed,"internal")}function Zn(e){var n=o.round(e);if(N.css3&&N.autoScrolling&&!N.scrollBar){var t="translate3d(0px, -"+n+"px, 0px)";Bn(t,!1)}else N.autoScrolling&&!N.scrollBar?gt.css("top",-n):lt.scrollTop(n)}function $n(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function et(n,t,o){"all"!==t?xt[o][t]=n:e.each(Object.keys(xt[o]),function(e,t){xt[o][t]=n})}function nt(n){W(!1,"internal"),ie(!1),ae(!1),gt.addClass(c),clearTimeout(Lt),clearTimeout(kt),clearTimeout(Tt),clearTimeout(At),clearTimeout(Ot),$.off("scroll",Ie).off("hashchange",tn).off("resize",bn),ee.off("click touchstart",A+" a").off("mouseenter",A+" li").off("mouseleave",A+" li").off("click touchstart",Y).off("mouseover",N.normalScrollElements).off("mouseout",N.normalScrollElements),e(w).off("click touchstart",X),clearTimeout(Lt),clearTimeout(kt),n&&tt()}function tt(){Zn(0),gt.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){Qe(e(this),"src")}),gt.find("img[data-srcset]").each(function(){Qe(e(this),"srcset")}),e(A+", "+j+", "+X).remove(),e(w).css({height:"","background-color":"",padding:""}),e(R).css({width:""}),gt.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),lt.css({overflow:"",height:""}),e("html").removeClass(d),rt.removeClass(r),e.each(rt.get(0).className.split(/\s+/),function(e,n){0===n.indexOf(f)&&rt.removeClass(n)}),e(w+", "+R).each(function(){N.scrollOverflowHandler&&N.scrollOverflowHandler.remove(e(this)),e(this).removeClass(F+" "+u),e(this).attr("style",e(this).data("fp-styles"))}),Tn(gt),gt.find(C+", "+q+", "+D).each(function(){e(this).replaceWith(this.childNodes)}),gt.css({"-webkit-transition":"none",transition:"none"}),lt.scrollTop(0);var n=[m,B,P];e.each(n,function(n,t){e("."+t).removeClass(t)})}function ot(e,n,t){N[e]=n,"internal"!==t&&(Rt[e]=n)}function it(){var n=["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset","parallax"];return e("html").hasClass(d)?void at("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(N.continuousVertical&&(N.loopTop||N.loopBottom)&&(N.continuousVertical=!1,at("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),N.scrollBar&&N.scrollOverflow&&at("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!N.continuousVertical||!N.scrollBar&&N.autoScrolling||(N.continuousVertical=!1,at("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),N.scrollOverflow&&!N.scrollOverflowHandler&&(N.scrollOverflow=!1,at("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),e.each(n,function(e,n){N[n]&&at("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+n)}),void e.each(N.anchors,function(n,t){var o=ee.find("[name]").filter(function(){return e(this).attr("name")&&e(this).attr("name").toLowerCase()==t.toLowerCase()}),i=ee.find("[id]").filter(function(){return e(this).attr("id")&&e(this).attr("id").toLowerCase()==t.toLowerCase()});(i.length||o.length)&&(at("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),i.length&&at("error",'"'+t+'" is is being used by another element `id` property'),o.length&&at("error",'"'+t+'" is is being used by another element `name` property'))}))}function at(e,n){console&&console[e]&&console[e]("fullPage: "+n)}if(e("html").hasClass(d))return void it();var lt=e("html, body"),rt=e("body"),st=e.fn.fullpage;N=e.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,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:e.fn.fp_scrolloverflow?e.fn.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:g,slideSelector:M,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},N);var ct,dt,ft,ut,ht=!1,pt=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),vt="ontouchstart"in n||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,gt=e(this),mt=$.height(),wt=!1,yt=!0,St=!0,bt=[],xt={};xt.m={up:!0,down:!0,left:!0,right:!0},xt.k=e.extend(!0,{},xt.m);var Ct,Tt,kt,Lt,At,Ot,It,Et=Qn(),Mt={touchmove:"ontouchmove"in n?"touchmove":Et.move,touchstart:"ontouchstart"in n?"touchstart":Et.down},Bt='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',Rt=e.extend(!0,{},N);it(),e.extend(e.easing,{easeInOutCubic:function(e,n,t,o,i){return(n/=i/2)<1?o/2*n*n*n+t:o/2*((n-=2)*n*n+2)+t}}),e(this).length&&(st.version="2.9.5",st.setAutoScrolling=W,st.setRecordHistory=Q,st.setScrollingSpeed=G,st.setFitToSection=ne,st.setLockAnchors=te,st.setMouseWheelScrolling=oe,st.setAllowScrolling=ie,st.setKeyboardScrolling=ae,st.moveSectionUp=le,st.moveSectionDown=re,st.silentMoveTo=se,st.moveTo=ce,st.moveSlideRight=de,st.moveSlideLeft=fe,st.fitToSection=Ee,st.reBuild=ue,st.setResponsive=he,st.destroy=nt,st.shared={afterRenderActions:Ae},pe(),ve());var zt=!1,Ht=0,Dt=0,Pt=0,qt=0,Ft=0,Vt=(new Date).getTime(),jt=0,Yt=0,Nt=mt}});



(function(){(function($){$.easyPieChart=function(el,options){var addScaleLine,animateLine,drawLine,easeInOutQuad,renderBackground,renderScale,renderTrack,_this=this;this.el=el;this.$el=$(el);this.$el.data("easyPieChart",this);this.init=function(){var percent;_this.options=$.extend({},$.easyPieChart.defaultOptions,options);percent=parseInt(_this.$el.data('percent'),10);_this.percentage=0;_this.canvas=$("<canvas width='"+_this.options.size+"' height='"+_this.options.size+"'></canvas>").get(0);_this.$el.append(_this.canvas);if(typeof G_vmlCanvasManager!=="undefined"&&G_vmlCanvasManager!==null){G_vmlCanvasManager.initElement(_this.canvas)}_this.ctx=_this.canvas.getContext('2d');if(window.devicePixelRatio>1.5){$(_this.canvas).css({width:_this.options.size,height:_this.options.size});_this.canvas.width*=2;_this.canvas.height*=2;_this.ctx.scale(2,2)}_this.ctx.translate(_this.options.size/2,_this.options.size/2);_this.$el.addClass('easyPieChart');_this.$el.css({width:_this.options.size,height:_this.options.size,lineHeight:""+_this.options.size+"px"});_this.update(percent);return _this};this.update=function(percent){if(_this.options.animate===!1){return drawLine(percent)}else{return animateLine(_this.percentage,percent)}};renderScale=function(){var i,_i,_results;_this.ctx.fillStyle=_this.options.scaleColor;_this.ctx.lineWidth=1;_results=[];for(i=_i=0;_i<=24;i=++_i){_results.push(addScaleLine(i))}return _results};addScaleLine=function(i){var offset;offset=i%6===0?0:_this.options.size*0.017;_this.ctx.save();_this.ctx.rotate(i*Math.PI/12);_this.ctx.fillRect(_this.options.size/2-offset,0,-_this.options.size*0.05+offset,1);return _this.ctx.restore()};renderTrack=function(){var offset;offset=_this.options.size/2-_this.options.lineWidth/2;if(_this.options.scaleColor!==!1){offset-=_this.options.size*0.08}_this.ctx.beginPath();_this.ctx.arc(0,0,offset,0,Math.PI*2,!0);_this.ctx.closePath();_this.ctx.strokeStyle=_this.options.trackColor;_this.ctx.lineWidth=_this.options.lineWidth;return _this.ctx.stroke()};renderBackground=function(){if(_this.options.scaleColor!==!1){renderScale()}if(_this.options.trackColor!==!1){return renderTrack()}};drawLine=function(percent){var offset;renderBackground();_this.ctx.strokeStyle=$.isFunction(_this.options.barColor)?_this.options.barColor(percent):_this.options.barColor;_this.ctx.lineCap=_this.options.lineCap;_this.ctx.lineWidth=_this.options.lineWidth;offset=_this.options.size/2-_this.options.lineWidth/2;if(_this.options.scaleColor!==!1){offset-=_this.options.size*0.08}_this.ctx.save();_this.ctx.rotate(-Math.PI/2);_this.ctx.beginPath();_this.ctx.arc(0,0,offset,0,Math.PI*2*percent/100,!1);_this.ctx.stroke();return _this.ctx.restore()};animateLine=function(from,to){var currentStep,fps,steps;fps=30;steps=fps*_this.options.animate/1000;currentStep=0;_this.options.onStart.call(_this);_this.percentage=to;if(_this.animation){clearInterval(_this.animation);_this.animation=!1}return _this.animation=setInterval(function(){_this.ctx.clearRect(-_this.options.size/2,-_this.options.size/2,_this.options.size,_this.options.size);renderBackground.call(_this);drawLine.call(_this,[easeInOutQuad(currentStep,from,to-from,steps)]);currentStep++;if((currentStep/steps)>1){clearInterval(_this.animation);_this.animation=!1;return _this.options.onStop.call(_this)}},1000/fps)};easeInOutQuad=function(t,b,c,d){var easeIn,easing;easeIn=function(t){return Math.pow(t,2)};easing=function(t){if(t<1){return easeIn(t)}else{return 2-easeIn((t/2)*-2+2)}};t/=d/2;return c/2*easing(t)+b};return this.init()};$.easyPieChart.defaultOptions={barColor:'#ef1e25',trackColor:'#f2f2f2',scaleColor:'#dfe0e0',lineCap:'round',size:110,lineWidth:3,animate:!1,onStart:$.noop,onStop:$.noop};$.fn.easyPieChart=function(options){return $.each(this,function(i,el){var $el;$el=$(el);if(!$el.data('easyPieChart')){return $el.data('easyPieChart',new $.easyPieChart(el,options))}})};return void 0})(jQuery)}).call(this);



(function($,window,document,undefined){var pluginName='curtain',defaults={scrollSpeed:400,bodyHeight:0,linksArray:[],mobile:!1,scrollButtons:{},controls:null,curtainLinks:'.curtain-links',enableKeys:!0,easing:'swing',disabled:!1,nextSlide:function(){},prevSlide:function(){}};function Plugin(element,options){var self=this;this.element=element;this.options=$.extend({},defaults,options);this._defaults=defaults;this._name=pluginName;this._ignoreHashChange=!1;this.init()}
Plugin.prototype={init:function(){var self=this;this.$element=$(this.element);this.$li=$(this.element).find('>li');this.$liLength=this.$li.length;self.$windowHeight=$(window).height();self.$elDatas={};self.$document=$(document);self.$window=$(window);self.webkit=(navigator.userAgent.indexOf('Chrome')>-1||navigator.userAgent.indexOf("Safari")>-1);$.msie=/msie/.test(navigator.userAgent.toLowerCase());$.mozilla=/firefox/.test(navigator.userAgent.toLowerCase());$.Android=(navigator.userAgent.match(/Android/i));$.iPhone=((navigator.userAgent.match(/iPhone/i))||(navigator.userAgent.match(/iPod/i)));$.iPad=((navigator.userAgent.match(/iPad/i)));$.iOs4=(/OS [1-4]_[0-9_]+ like Mac OS X/i.test(navigator.userAgent));if(this.options.mobile){this.scrollEl=this.$element}else if($.mozilla||$.msie){this.scrollEl=$('html')}else{this.scrollEl=$('body')}
if(self.options.controls){self.options.scrollButtons.up=$(self.options.controls).find('[href="#up"]');self.options.scrollButtons.down=$(self.options.controls).find('[href="#down"]');if(!$.iOs4&&($.iPhone||$.iPad)){self.$element.css({position:'fixed',top:0,left:0,right:0,bottom:0,'-webkit-overflow-scrolling':'touch',overflow:'auto'});$(self.options.controls).css({position:'absolute'})}}
var callbackImageLoaded=function(){self.setDimensions();self.$li.eq(0).addClass('current');self.setCache();if(!self.options.mobile){if(self.$li.eq(1).length)
self.$li.eq(1).nextAll().addClass('hidden')}
self.setEvents();self.setLinks();self.isHashIsOnList(location.hash.substring(1))};if(self.$element.find('img').length)
self.imageLoaded(callbackImageLoaded);else callbackImageLoaded()},scrollToPosition:function(direction){var position=null,self=this;if(self.scrollEl.is(':animated')){return!1}
if(direction==='up'||direction==='down'){var $next=(direction==='up')?self.$current.prev():self.$current.next();if(self.$step){if(!self.$current.find('.current-step').length){self.$step.eq(0).addClass('current-step')}
var $nextStep=(direction==='up')?self.$current.find('.current-step').prev('.step'):self.$current.find('.current-step').next('.step');if($nextStep.length){position=(self.options.mobile)?$nextStep.position().top+self.$elDatas[self.$current.index()]['data-position']:$nextStep.position().top+self.$elDatas[self.$current.index()]['data-position']}}
position=position||((self.$elDatas[$next.index()]===undefined)?null:self.$elDatas[$next.index()]['data-position']);if(position!==null){self.scrollEl.animate({scrollTop:position},self.options.scrollSpeed,self.options.easing)}}else if(direction==='top'){self.scrollEl.animate({scrollTop:0},self.options.scrollSpeed,self.options.easing)}else if(direction==='bottom'){self.scrollEl.animate({scrollTop:self.options.bodyHeight},self.options.scrollSpeed,self.options.easing)}else{var index=$("#"+direction).index(),speed=Math.abs(self.currentIndex-index)*(this.options.scrollSpeed*4)/self.$liLength;self.scrollEl.animate({scrollTop:self.$elDatas[index]['data-position']||null},(speed<=self.options.scrollSpeed)?self.options.scrollSpeed:speed,this.options.easing)}},scrollEvent:function(){var self=this,docTop=self.$document.scrollTop();if(docTop<self.currentP&&self.currentIndex>0){self._ignoreHashChange=!0;if(self.$current.prev().attr('id'))
self.setHash(self.$current.prev().attr('id'));self.$current.removeClass('current').css((self.webkit)?{'-webkit-transform':'translateY(0px) translateZ(0)'}:{marginTop:0}).nextAll().addClass('hidden').end().prev().addClass('current').removeClass('hidden');self.setCache();self.options.prevSlide()}else if(docTop<(self.currentP+self.currentHeight)){if(self.webkit)
self.$current.css({'-webkit-transform':'translateY('+(-(docTop-self.currentP))+'px) translateZ(0)'});else self.$current.css({marginTop:-(docTop-self.currentP)});if(self.$fixedLength){var dataTop=parseInt(self.$fixed.attr('data-top'),10);if(docTop+self.$windowHeight>=self.currentP+self.currentHeight){self.$fixed.css({position:'fixed'})}else{self.$fixed.css({position:'absolute',marginTop:Math.abs(docTop-self.currentP)})}}
if(self.$stepLength){$.each(self.$step,function(i,el){if(($(el).position().top+self.currentP)<=docTop+5&&$(el).position().top+self.currentP+$(el).height()>=docTop+5){if(!$(el).hasClass('current-step')){self.$step.removeClass('current-step');$(el).addClass('current-step');return!1}}})}
if(self.parallaxBg){var tr=docTop*-0.07;self.parallaxBg.css({'-webkit-transform':'translate3d(0,'+tr+'px,0)','-moz-transform':'translate3d(0,'+tr+'px,0)','transform':'translate3d(0,'+tr+'px,0)'})}
if(self.$fade.length){self.$fade.css({'z-index':self.z-1,'opacity':Math.abs(1-((docTop-self.currentP)/self.$windowHeight))})}
if(self.$slowScroll.length){self.$slowScroll.css({'margin-top':(docTop/self.$slowScroll.attr('data-slow-scroll'))})}}else{self._ignoreHashChange=!0;if(self.$current.next().attr('id'))
self.setHash(self.$current.next().attr('id'));self.$current.removeClass('current').addClass('hidden').next('li').addClass('current').next('li').removeClass('hidden');self.setCache();self.options.nextSlide()}},scrollMobileEvent:function(){var self=this,docTop=self.$element.scrollTop();if(docTop+10<self.currentP&&self.currentIndex>0){self._ignoreHashChange=!0;if(self.$current.prev().attr('id'))
self.setHash(self.$current.prev().attr('id'));self.$current.removeClass('current').prev().addClass('current');self.setCache();self.options.prevSlide()}else if(docTop+10<(self.currentP+self.currentHeight)){if(self.$stepLength){$.each(self.$step,function(i,el){if(($(el).position().top+self.currentP)<=docTop&&(($(el).position().top+self.currentP)+$(el).outerHeight())>=docTop){if(!$(el).hasClass('current-step')){self.$step.removeClass('current-step');$(el).addClass('current-step')}}})}}else{self._ignoreHashChange=!0;if(self.$current.next().attr('id'))
self.setHash(self.$current.next().attr('id'));self.$current.removeClass('current').next().addClass('current');self.setCache();self.options.nextSlide()}},setDimensions:function(){var self=this,levelHeight=0,cover=!1,height=null;self.$windowHeight=self.$window.height();this.$li.each(function(index){var $self=$(this);cover=$self.hasClass('cover');if(cover){$self.css({height:self.$windowHeight,zIndex:20-index}).attr('data-height',self.$windowHeight).attr('data-position',levelHeight);self.$elDatas[$self.index()]={'data-height':parseInt(self.$windowHeight,10),'data-position':parseInt(levelHeight,10)};levelHeight+=self.$windowHeight}else{height=($self.outerHeight()<=self.$windowHeight)?self.$windowHeight:$self.outerHeight();$self.css({minHeight:height,zIndex:20-index}).attr('data-height',height).attr('data-position',levelHeight);self.$elDatas[$self.index()]={'data-height':parseInt(height,10),'data-position':parseInt(levelHeight,10)};levelHeight+=height}
if($self.find('.fixed').length){var top=$self.find('.fixed').css('top');$self.find('.fixed').attr('data-top',top)}});if(!this.options.mobile)
this.setBodyHeight()},setEvents:function(){var self=this;$(window).on('resize',function(){self.setDimensions()});if(self.options.mobile){self.$element.on('scroll',function(){self.scrollMobileEvent()})}else{self.$window.on('scroll',function(){self.scrollEvent()})}
if(self.options.enableKeys){self.$document.on('keydown',function(e){if(e.keyCode===38||e.keyCode===37){self.scrollToPosition('up');e.preventDefault();return!1}
if(e.keyCode===40||e.keyCode===39){self.scrollToPosition('down');e.preventDefault();return!1}
if(e.keyCode===36){self.scrollToPosition('top');e.preventDefault();return!1}
if(e.keyCode===35){self.scrollToPosition('bottom');e.preventDefault();return!1}})}
if(self.options.scrollButtons){if(self.options.scrollButtons.up){self.options.scrollButtons.up.on('click',function(e){e.preventDefault();self.scrollToPosition('up')})}
if(self.options.scrollButtons.down){self.options.scrollButtons.down.on('click',function(e){e.preventDefault();self.scrollToPosition('down')})}}
if(self.options.curtainLinks){$(self.options.curtainLinks).on('click',function(e){e.preventDefault();var href=$(this).attr('href');if(!self.isHashIsOnList(href.substring(1))&&position)
return!1;var position=self.$elDatas[$(href).index()]['data-position']||null;if(position){self.scrollEl.animate({scrollTop:position},self.options.scrollSpeed,self.options.easing)}
return!1})}
self.$window.on("hashchange",function(event){if(self._ignoreHashChange===!1){self.isHashIsOnList(location.hash.substring(1))}
self._ignoreHashChange=!1})},setBodyHeight:function(){var h=0;for(var key in this.$elDatas){var obj=this.$elDatas[key];h+=obj['data-height']}
this.options.bodyHeight=h;$('body').height(h)},setLinks:function(){var self=this;this.$li.each(function(){var id=$(this).attr('id')||0;self.options.linksArray.push(id)})},setHash:function(hash){el=$('[href=#'+hash+']');el.parent().siblings('li').removeClass('active');el.parent().addClass('active');if(history.pushState){history.pushState(null,null,'#'+hash)}else{location.hash=hash}},setCache:function(){var self=this;var imageHolderClassName=self.$element.data('image-holder-name');var fadeElementClassName=self.$element.data('fade-element-name');self.$current=self.$element.find('.current');self.$fixed=self.$current.find('.fixed');self.$fixedLength=self.$fixed.length;self.$step=self.$current.find('.step');self.$stepLength=self.$step.length;self.currentIndex=self.$current.index();self.currentP=self.$elDatas[self.currentIndex]['data-position'];self.currentHeight=self.$elDatas[self.currentIndex]['data-height'];self.z=self.$element.find('.current').css('z-index');self.parallaxBg=self.$current.find(imageHolderClassName);self.$fade=$(fadeElementClassName);self.$slowScroll=self.$current.find('[data-slow-scroll]')},isHashIsOnList:function(hash){var self=this;$.each(self.options.linksArray,function(i,val){if(val===hash){self.scrollToPosition(hash);return!1}})},readyElement:function(el,callback){var interval=setInterval(function(){if(el.length){callback(el.length);clearInterval(interval)}},60)},imageLoaded:function(callback){var self=this,elems=self.$element.find('img'),len=elems.length,blank="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";elems.bind('load.imgloaded',function(){if(--len<=0&&this.src!==blank||$(this).not(':visible')){elems.unbind('load.imgloaded');callback.call(elems,this)}}).each(function(){if(this.complete||this.complete===undefined){var src=this.src;this.src=blank;this.src=src}})}};$.fn[pluginName]=function(options){return this.each(function(){if(!$.data(this,'plugin_'+pluginName)){$.data(this,'plugin_'+pluginName,new Plugin(this,options))}})}})(jQuery,window,document);



/*!
 * multiscroll.js 0.2.2
 * https://github.com/alvarotrigo/multiscroll.js
 * @license MIT licensed
 *
 * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo
 */
!function(R,Y,I,W,X){R.fn.multiscroll=function(f){var o=R.fn.multiscroll;f=R.extend({verticalCentered:!0,scrollingSpeed:700,easing:"easeInQuart",menu:!1,sectionsColor:[],anchors:[],navigation:!1,navigationPosition:"right",navigationColor:"#000",navigationTooltips:[],loopBottom:!1,loopTop:!1,css3:!1,paddingTop:0,paddingBottom:0,fixedElements:null,normalScrollElements:null,keyboardScrolling:!0,touchSensitivity:5,sectionSelector:".ms-section",leftSelector:".ms-left",rightSelector:".ms-right",afterLoad:null,onLeave:null,afterRender:null,afterResize:null},f);var h=600,n=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),i="ontouchstart"in Y||0<navigator.msMaxTouchPoints||navigator.maxTouchPoints;".ms-right"!==f.rightSelector&&R(f.rightSelector).addClass("ms-right"),".ms-left"!==f.leftSelector&&R(f.leftSelector).addClass("ms-left");var s,a,l,u=R(".ms-left").find(".ms-section").length,p=!1,r=R(Y).height(),e=function(){var e;e=Y.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"};return e}(),t={touchmove:"ontouchmove"in Y?"touchmove":e.move,touchstart:"ontouchstart"in Y?"touchstart":e.down};function c(){var e=Y.location.hash.replace("#","");if(e.length){var t=R(".ms-left").find('[data-anchor="'+e+'"]');("undefined"==typeof lastScrolledDestiny||e!==lastScrolledDestiny)&&y(t)}}function m(e){e.preventDefault();var t=R(this).parent().index();y(R(".ms-left .ms-section").eq(t))}function d(){var e=R(this).data("tooltip");R('<div class="multiscroll-tooltip '+f.navigationPosition+'">'+e+"</div>").hide().appendTo(R(this)).fadeIn(200)}function v(){R(this).find(".multiscroll-tooltip").fadeOut(200,function(){R(this).remove()})}w(),z(),f.css3&&(f.css3=function(){var e,t=I.createElement("p"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var o in I.body.insertBefore(t,null),n)t.style[o]!==X&&(t.style[o]="translate3d(1px,1px,1px)",e=Y.getComputedStyle(t).getPropertyValue(n[o]));return I.body.removeChild(t),e!==X&&0<e.length&&"none"!==e}()),R("html, body").css({overflow:"hidden",height:"100%"}),".ms-section"!==f.sectionSelector&&R(f.sectionSelector).each(function(){R(this).addClass("ms-section")}),f.navigation&&(R("body").append('<div id="multiscroll-nav"><ul></ul></div>'),(s=R("#multiscroll-nav")).css("color",f.navigationColor),s.addClass(f.navigationPosition)),R(".ms-right, .ms-left").css({width:"50%",position:"absolute",height:"100%","-ms-touch-action":"none"}),R(".ms-right").css({right:"1px",top:"0","-ms-touch-action":"none","touch-action":"none"}),R(".ms-left").css({left:"0",top:"0","-ms-touch-action":"none","touch-action":"none"}),R(".ms-left .ms-section, .ms-right .ms-section").each(function(){var e,t=R(this).index();if((f.paddingTop||f.paddingBottom)&&R(this).css("padding",f.paddingTop+" 0 "+f.paddingBottom+" 0"),void 0!==f.sectionsColor[t]&&R(this).css("background-color",f.sectionsColor[t]),void 0!==f.anchors[t]&&R(this).attr("data-anchor",f.anchors[t]),f.verticalCentered&&(e=R(this)).addClass("ms-table").wrapInner('<div class="ms-tableCell" style="height: '+L(e)+'px" />'),R(this).closest(".ms-left").length&&f.navigation){var n="";f.anchors.length&&(n=f.anchors[t]);var o=f.navigationTooltips[t];void 0===o&&(o=""),f.navigation&&s.find("ul").append('<li data-tooltip="'+o+'"><a href="#'+n+'"><span></span></a></li>')}}),R(".ms-right").html(R(".ms-right").find(".ms-section").get().reverse()),R(".ms-left .ms-section, .ms-right .ms-section").each(function(){var e=R(this).index();R(this).css({height:"100%"}),!e&&f.navigation&&s.find("li").eq(e).find("a").addClass("active")}).promise().done(function(){R(".ms-left .ms-section.active").length||(R(".ms-right").find(".ms-section").last().addClass("active"),R(".ms-left").find(".ms-section").first().addClass("active")),f.navigation&&s.css("margin-top","-"+s.height()/2+"px"),R.isFunction(f.afterRender)&&f.afterRender.call(this),b(),E(),R(Y).on("load",function(){var e,t;e=Y.location.hash.replace("#",""),t=R('.ms-left .ms-section[data-anchor="'+e+'"]'),e.length&&y(t)})}),R(Y).on("hashchange",c),R(I).keydown(function(e){clearTimeout(l);var t=R(I.activeElement);if(!t.is("textarea")&&!t.is("input")&&!t.is("select")&&f.keyboardScrolling){var n=e.which;-1<R.inArray(n,[40,38,32,33,34])&&e.preventDefault(),l=setTimeout(function(){!function(e){var t=e.shiftKey;switch(e.which){case 38:case 33:o.moveSectionUp();break;case 32:if(t){o.moveSectionUp();break}case 40:case 34:o.moveSectionDown();break;case 36:o.moveTo(1);break;case 35:o.moveTo(R(".ms-left .ms-section").length);break;default:;}}(e)},150)}}),R(I).mousedown(function(e){if(1==e.button)return e.preventDefault(),!1}),R(I).on("click","#multiscroll-nav a",m),R(I).on({mouseenter:d,mouseleave:v},"#multiscroll-nav li"),f.normalScrollElements&&(R(I).on("mouseenter",f.normalScrollElements,function(){o.setMouseWheelScrolling(!1)}),R(I).on("mouseleave",f.normalScrollElements,function(){o.setMouseWheelScrolling(!0)})),R(Y).on("resize",S);var g=r;function S(){if(n){var e=R(I.activeElement);if(!e.is("textarea")&&!e.is("input")&&!e.is("select")){var t=R(Y).height();W.abs(t-g)>20*W.max(g,t)/100&&(x(!0),g=t)}}else clearTimeout(a),a=setTimeout(function(){x(!0)},350)}function x(e){r=R(Y).height(),R(".ms-tableCell").each(function(){R(this).css({height:L(R(this).parent())})}),f.scrollOverflow&&scrollBarHandler.createScrollBarForAll(),b(),R.isFunction(f.afterResize)&&f.afterResize.call(this)}function b(){f.css3?(T(R(".ms-left"),"translate3d(0px, -"+R(".ms-left").find(".ms-section.active").position().top+"px, 0px)",!1),T(R(".ms-right"),"translate3d(0px, -"+R(".ms-right").find(".ms-section.active").position().top+"px, 0px)",!1)):(R(".ms-left").css("top",-R(".ms-left").find(".ms-section.active").position().top),R(".ms-right").css("top",-R(".ms-right").find(".ms-section.active").position().top))}function y(e){var t=e.index(),n=R(".ms-right").find(".ms-section").eq(u-1-t),o=e.data("anchor"),i=R(".ms-left .ms-section.active").index()+1,s=function(e){var t=R(".ms-left .ms-section.active").index(),n=e.index();if(n<t)return"up";return"down"}(e);p=!0;var a,l,r,c=e.position().top,m=n.position().top;if(n.addClass("active").siblings().removeClass("active"),e.addClass("active").siblings().removeClass("active"),function(e){f.anchors.length&&(location.hash=e);E()}(o),f.css3){R.isFunction(f.onLeave)&&f.onLeave.call(this,i,t+1,s);var d="translate3d(0px, -"+c+"px, 0px)",v="translate3d(0px, -"+m+"px, 0px)";T(R(".ms-left"),d,!0),T(R(".ms-right"),v,!0),setTimeout(function(){R.isFunction(f.afterLoad)&&f.afterLoad.call(this,o,t+1),setTimeout(function(){p=!1},h)},f.scrollingSpeed)}else R.isFunction(f.onLeave)&&f.onLeave.call(this,i,t+1,s),R(".ms-left").animate({top:-c},f.scrollingSpeed,f.easing,function(){R.isFunction(f.afterLoad)&&f.afterLoad.call(this,o,t+1),setTimeout(function(){p=!1},h)}),R(".ms-right").animate({top:-m},f.scrollingSpeed,f.easing);lastScrolledDestiny=o,a=o,f.menu&&(R(f.menu).find(".active").removeClass("active"),R(f.menu).find('[data-menuanchor="'+a+'"]').addClass("active")),l=o,r=t,f.navigation&&(R("#multiscroll-nav").find(".active").removeClass("active"),l?R("#multiscroll-nav").find('a[href="#'+l+'"]').addClass("active"):R("#multiscroll-nav").find("li").eq(r).find("a").addClass("active"))}function w(){I.addEventListener?(I.addEventListener("mousewheel",C,!1),I.addEventListener("wheel",C,!1)):I.attachEvent("onmousewheel",C)}function C(e){e=Y.event||e;var t=W.max(-1,W.min(1,e.wheelDelta||-e.deltaY||-e.detail));return p||(t<0?o.moveSectionDown():o.moveSectionUp()),!1}function T(e,t,n){var o;e.toggleClass("ms-easing",n),e.css({"-webkit-transform":o=t,"-moz-transform":o,"-ms-transform":o,transform:o})}function E(){var e=R(".ms-left .ms-section.active"),t=e.data("anchor"),n=e.index(),o=String(n);f.anchors.length&&(o=t),o=o.replace("/","-").replace("#","");var i=new RegExp("\\b\\s?ms-viewing-[^\\s]+\\b","g");R("body")[0].className=R("body")[0].className.replace(i,""),R("body").addClass("ms-viewing-"+o)}function L(e){var t=r;if(f.paddingTop||f.paddingBottom){var n=parseInt(e.css("padding-top"))+parseInt(e.css("padding-bottom"));t=r-n}return t}o.moveSectionUp=function(){var e=R(".ms-left .ms-section.active").prev(".ms-section");!e.length&&f.loopTop&&(e=R(".ms-left .ms-section").last()),e.length&&y(e)},o.moveSectionDown=function(){var e=R(".ms-left .ms-section.active").next(".ms-section");!e.length&&f.loopBottom&&(e=R(".ms-left .ms-section").first()),e.length&&y(e)},o.moveTo=function(e){y(isNaN(e)?R('.ms-left [data-anchor="'+e+'"]'):R(".ms-left .ms-section").eq(e-1))},o.setKeyboardScrolling=function(e){f.keyboardScrolling=e},o.setMouseWheelScrolling=function(e){e?w():I.addEventListener?(I.removeEventListener("mousewheel",C,!1),I.removeEventListener("wheel",C,!1)):I.detachEvent("onmousewheel",C)},o.setScrollingSpeed=function(e){f.scrollingSpeed=e};var k=0,B=0;function D(e){if(M(e)){event.preventDefault();R(".ms-left .ms-section.active");if(!p){var t=F(e);B=t.y,t.x,W.abs(k-B)>R(Y).height()/100*f.touchSensitivity&&(B<k?o.moveSectionDown():k<B&&o.moveSectionUp())}}}function M(e){return void 0===e.pointerType||"mouse"!=e.pointerType}function P(e){if(M(e)){var t=F(e);k=t.y,t.x}}function z(){(i||n)&&(I.removeEventListener(t.touchstart,P),I.removeEventListener(t.touchmove,D,{passive:!1}),I.addEventListener(t.touchstart,P),I.addEventListener(t.touchmove,D,{passive:!1}))}function F(e){var t=[];return t.y=void 0!==e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x=void 0!==e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,i&&M(e)&&void 0!==e.touches&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}o.destroy=function(){o.setKeyboardScrolling(!1),o.setMouseWheelScrolling(!1),(i||n)&&(I.removeEventListener(t.touchstart,P),I.removeEventListener(t.touchmove,D,{passive:!1})),R(Y).off("hashchange",c).off("resize",S),R(I).off("mouseenter","#multiscroll-nav li").off("mouseleave","#multiscroll-nav li").off("click","#multiscroll-nav a")},o.build=function(){o.setKeyboardScrolling(!0),o.setMouseWheelScrolling(!0),z(),R(Y).on("hashchange",c).on("resize",S),R(I).on("mouseenter","#multiscroll-nav li",d).on("mouseleave","#multiscroll-nav li",v).on("click","#multiscroll-nav a",m)}}}(jQuery,window,document,Math);



!function(e){"use strict";function a(){mkdf.scroll=e(window).scrollTop(),function(){var e=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),a=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),t=-1<navigator.userAgent.toLowerCase().indexOf("firefox"),n=window.navigator.userAgent.indexOf("MSIE ");e&&mkdf.body.addClass("mkdf-chrome");a&&mkdf.body.addClass("mkdf-safari");t&&mkdf.body.addClass("mkdf-firefox");(0<n||navigator.userAgent.match(/Trident.*rv\:11\./))&&mkdf.body.addClass("mkdf-ms-explorer");/Edge\/\d./i.test(navigator.userAgent)&&mkdf.body.addClass("mkdf-edge")}(),mkdf.body.hasClass("mkdf-dark-header")&&(mkdf.defaultHeaderStyle="mkdf-dark-header"),mkdf.body.hasClass("mkdf-light-header")&&(mkdf.defaultHeaderStyle="mkdf-light-header")}function t(){}function n(){mkdf.windowWidth=e(window).width(),mkdf.windowHeight=e(window).height()}function d(){mkdf.scroll=e(window).scrollTop()}switch(window.mkdf={},mkdf.modules={},mkdf.scroll=0,mkdf.window=e(window),mkdf.document=e(document),mkdf.windowWidth=e(window).width(),mkdf.windowHeight=e(window).height(),mkdf.body=e("body"),mkdf.html=e("html, body"),mkdf.htmlEl=e("html"),mkdf.menuDropdownHeightSet=!1,mkdf.defaultHeaderStyle="",mkdf.minVideoWidth=1500,mkdf.videoWidthOriginal=1280,mkdf.videoHeightOriginal=720,mkdf.videoRatio=1.61,mkdf.mkdfOnDocumentReady=a,mkdf.mkdfOnWindowLoad=t,mkdf.mkdfOnWindowResize=n,mkdf.mkdfOnWindowScroll=d,e(document).ready(a),e(window).load(t),e(window).resize(n),e(window).scroll(d),!0){case mkdf.body.hasClass("mkdf-grid-1300"):mkdf.boxedLayoutWidth=1350;break;case mkdf.body.hasClass("mkdf-grid-1200"):mkdf.boxedLayoutWidth=1250;break;case mkdf.body.hasClass("mkdf-grid-1000"):mkdf.boxedLayoutWidth=1050;break;case mkdf.body.hasClass("mkdf-grid-800"):mkdf.boxedLayoutWidth=850;break;default:mkdf.boxedLayoutWidth=1150}mkdf.gridWidth=function(){var e=1100;switch(!0){case mkdf.body.hasClass("mkdf-grid-1300")&&1400<mkdf.windowWidth:e=1300;break;case mkdf.body.hasClass("mkdf-grid-1200")&&1300<mkdf.windowWidth:case mkdf.body.hasClass("mkdf-grid-1000")&&1200<mkdf.windowWidth:e=1200;break;case mkdf.body.hasClass("mkdf-grid-800")&&1024<mkdf.windowWidth:e=800}return e},mkdf.transitionEnd=function(){var e=document.createElement("transitionDetector"),a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",transition:"transitionend"};for(var t in a)if(void 0!==e.style[t])return a[t]}(),mkdf.animationEnd=function(){var e=document.createElement("animationDetector"),a={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(var t in a)if(void 0!==e.style[t])return a[t]}()}(jQuery),function(P){"use strict";var e={};function a(){var e,a,t;u().init(),-1<navigator.appVersion.toLowerCase().indexOf("mac")&&mkdf.body.hasClass("mkdf-smooth-scroll")&&mkdf.body.removeClass("mkdf-smooth-scroll"),s().init(),P("#mkdf-back-to-top").on("click",function(e){e.preventDefault(),mkdf.html.animate({scrollTop:0},mkdf.window.scrollTop()/3,"linear")}),mkdf.window.scroll(function(){var e=P(this).scrollTop(),a=P(this).height();r((0<e?e+a/2:1)<1e3?"off":"on")}),l(),D(),z(),h(),(e=P(".mkdf-preload-background")).length&&e.each(function(){var e=P(this);if(""!==e.css("background-image")&&"none"!==e.css("background-image")){var a=e.attr("style");if(a=(a=a.match(/url\(["']?([^'")]+)['"]?\)/))?a[1]:""){var t=new Image;t.src=a,P(t).load(function(){e.removeClass("mkdf-preload-background")})}}else P(window).load(function(){e.removeClass("mkdf-preload-background")})}),m(),(a=P(".mkdf-search-post-type")).length&&a.each(function(){var e=P(this),a=e.find(".mkdf-post-type-search-field"),n=e.siblings(".mkdf-post-type-search-results"),d=e.find(".mkdf-search-loading"),i=e.find(".mkdf-search-icon");d.addClass("mkdf-hidden");var o,s=e.data("post-type");a.on("keyup paste",function(){var t=P(this);t.attr("autocomplete","off"),d.removeClass("mkdf-hidden"),i.addClass("mkdf-hidden"),clearTimeout(o),o=setTimeout(function(){var e=t.val();if(e.length<3)n.html(""),n.fadeOut(),d.addClass("mkdf-hidden"),i.removeClass("mkdf-hidden");else{var a={action:"dolcino_mikado_search_post_types",term:e,postType:s};P.ajax({type:"POST",data:a,url:mkdfGlobalVars.vars.mkdfAjaxUrl,success:function(e){var a=JSON.parse(e);"success"===a.status&&(d.addClass("mkdf-hidden"),i.removeClass("mkdf-hidden"),n.html(a.data.html),n.fadeIn())},error:function(e,a,t){console.log("Status: "+a),console.log("Error: "+t),d.addClass("mkdf-hidden"),i.removeClass("mkdf-hidden"),n.fadeOut()}})}},500)}),a.on("focusout",function(){d.addClass("mkdf-hidden"),i.removeClass("mkdf-hidden"),n.fadeOut()})}),(t=P(".mkdf-dashboard-form")).length&&t.each(function(){var e=P(this),d=e.find("button.mkdf-dashboard-form-button"),i=d.data("updating-text"),o=d.data("updated-text"),s=e.data("action");e.on("submit",function(e){e.preventDefault();var t=d.html(),a=P(this).find(".mkdf-dashboard-gallery-upload-hidden"),l=[];d.html(i);var m=new FormData;a.each(function(){var e,a=P(this),t=a.attr("name"),n=a.attr("id"),d=a[0].files;if(-1<t.indexOf("[")){e=t.substring(0,t.indexOf("["))+"_mkdf_regarray_";var i=n.indexOf("["),o=n.indexOf("]"),s=n.substring(i+1,o);l.push(e),e=e+s+"_"}else e=t+"_mkdf_reg_";0===d.length&&m.append(e,new File([""],"mkdf-dummy-file.txt",{type:"text/plain"}));for(var r=0;r<d.length;r++)1===d[r].name.match(/\./g).length&&-1!==P.inArray(d[r].type,["image/png","image/jpg","image/jpeg","application/pdf"])&&m.append(e+r,d[r])}),m.append("action",s);var n=P(this).serialize();return m.append("data",n),P.ajax({type:"POST",data:m,contentType:!1,processData:!1,url:mkdfGlobalVars.vars.mkdfAjaxUrl,success:function(e){var a;a=JSON.parse(e),mkdf.modules.socialLogin.mkdfRenderAjaxResponseMessage(a),"success"===a.status?(d.html(o),window.location=a.redirect):d.html(t)}}),!1})}),f(),function(){if(mkdf.body.hasClass("mkdf-smooth-page-transitions")){if(mkdf.body.hasClass("mkdf-smooth-page-transitions-preloader")){var n=P("body > .mkdf-smooth-transition-loader.mkdf-mimic-ajax"),e=P("#mkdf-main-rev-holder"),a=function(a,e,t){a=a||600,e=e||0,t=t||"easeOutSine",n.delay(e).fadeOut(a,t,function(){mkdf.body.addClass("mkdf-page-loaded")}),P(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&n.fadeOut(a,t,function(){mkdf.body.addClass("mkdf-page-loaded")})})};e.length?e.find(".rev_slider").on("revolution.slide.onloaded",function(){a()}):P(window).on("load",function(){a()})}if(mkdf.body.hasClass("mkdf-smooth-page-transitions-fadeout")){var t=P("a");t.on("click",function(e){var a=P(this);(a.parents(".mkdf-shopping-cart-dropdown").length||a.parent(".product-remove").length)&&a.hasClass("remove")||1===e.which&&0<=a.attr("href").indexOf(window.location.host)&&void 0===a.data("rel")&&void 0===a.attr("rel")&&!a.hasClass("lightbox-active")&&(void 0===a.attr("target")||"_self"===a.attr("target"))&&a.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(e.preventDefault(),P(".mkdf-wrapper-inner").fadeOut(600,"easeOutSine",function(){window.location=a.attr("href")}))})}}}()}function t(){H(),k().init()}function n(){f(),D()}function d(e){o(e)}function i(e){for(var a=[37,38,39,40],t=a.length;t--;)if(e.keyCode===a[t])return void o(e)}function o(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}(mkdf.modules.common=e).mkdfFluidVideo=z,e.mkdfEnableScroll=function(){window.removeEventListener&&window.removeEventListener("DOMMouseScroll",d,!1);window.onmousewheel=document.onmousewheel=document.onkeydown=null},e.mkdfDisableScroll=function(){window.addEventListener&&window.addEventListener("DOMMouseScroll",d,!1);window.onmousewheel=document.onmousewheel=d,document.onkeydown=i},e.mkdfOwlSlider=h,e.mkdfInitParallax=H,e.mkdfInitSelfHostedVideoPlayer=l,e.mkdfSelfHostedVideoSize=D,e.mkdfPrettyPhoto=m,e.mkdfStickySidebarWidget=k,e.getLoadMoreData=function(e){var a=e.data(),t={};for(var n in a)a.hasOwnProperty(n)&&void 0!==a[n]&&!1!==a[n]&&(t[n]=a[n]);return t},e.setLoadMoreAjaxData=function(e,a){var t={action:a};for(var n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&!1!==e[n]&&(t[n]=e[n]);return t},e.setFixedImageProportionSize=c,e.mkdfInitPerfectScrollbar=function(){var t={wheelSpeed:.6,suppressScrollX:!0};return{init:function(e){var a;e.length&&(a=new PerfectScrollbar(e.selector,t),P(window).resize(function(){a.update()}))}}},e.mkdfOnDocumentReady=a,e.mkdfOnWindowLoad=t,e.mkdfOnWindowResize=n,P(document).ready(a),P(window).load(t),P(window).resize(n);var s=function(){var o=function(a){P(".mkdf-main-menu, .mkdf-mobile-nav, .mkdf-fullscreen-menu, .mkdf-vertical-menu").each(function(){var e=P(this);a.parents(e).length&&(e.find(".mkdf-active-item").removeClass("mkdf-active-item"),a.parent().addClass("mkdf-active-item"),e.find("a").removeClass("current"),a.addClass("current"))})},n=function(e){var a,t=P(".mkdf-main-menu a, .mkdf-mobile-nav a, .mkdf-fullscreen-menu a, .mkdf-vertical-menu a"),n=e,d=""!==n?P('[data-mkdf-anchor="'+n+'"]'):"";if(""!==n&&0<d.length){var i=d.offset().top;return a=i-s(i)-mkdfGlobalVars.vars.mkdfAddForAdminBar,t.length&&t.each(function(){var e=P(this);-1<e.attr("href").indexOf(n)&&o(e)}),mkdf.html.stop().animate({scrollTop:Math.round(a)},1e3,function(){history.pushState&&history.pushState(null,"","#"+n)}),!1}},s=function(e){"mkdf-sticky-header-on-scroll-down-up"===mkdf.modules.stickyHeader.behaviour&&(mkdf.modules.stickyHeader.isStickyVisible=e>mkdf.modules.header.stickyAppearAmount),"mkdf-sticky-header-on-scroll-up"===mkdf.modules.stickyHeader.behaviour&&e>mkdf.scroll&&(mkdf.modules.stickyHeader.isStickyVisible=!1);var a=mkdf.modules.stickyHeader.isStickyVisible?mkdfGlobalVars.vars.mkdfStickyHeaderTransparencyHeight:mkdfPerPageVars.vars.mkdfHeaderTransparencyHeight;return mkdf.windowWidth<1025&&(a=0),a};return{init:function(){var a,e,t;P("[data-mkdf-anchor]").length&&(mkdf.document.on("click",".mkdf-main-menu a, .mkdf-fullscreen-menu a, .mkdf-btn, .mkdf-anchor, .mkdf-mobile-nav a, .mkdf-vertical-menu a",function(){var e,a=P(this),t=a.prop("hash").split("#")[1],n=""!==t?P('[data-mkdf-anchor="'+t+'"]'):"";if(""!==t&&0<n.length){var d=n.offset().top;return e=d-s(d)-mkdfGlobalVars.vars.mkdfAddForAdminBar,o(a),mkdf.html.stop().animate({scrollTop:Math.round(e)},1e3,function(){history.pushState&&history.pushState(null,"","#"+t)}),!1}}),e=P("[data-mkdf-anchor]"),"/"!==(t=window.location.href.split("#")[0]).substr(-1)&&(t+="/"),e.waypoint(function(e){"down"===e&&(a=0<P(this.element).length?P(this.element).data("mkdf-anchor"):P(this).data("mkdf-anchor"),o(P("a[href='"+t+"#"+a+"']")))},{offset:"50%"}),e.waypoint(function(e){"up"===e&&(a=0<P(this.element).length?P(this.element).data("mkdf-anchor"):P(this).data("mkdf-anchor"),o(P("a[href='"+t+"#"+a+"']")))},{offset:function(){return-(P(this.element).outerHeight()-150)}}),P(window).load(function(){var e;""!==(e=window.location.hash.split("#")[1])&&0<P('[data-mkdf-anchor="'+e+'"]').length&&n(e)}))}}};function r(e){var a=P("#mkdf-back-to-top");a.removeClass("off on"),"on"===e?a.addClass("on"):a.addClass("off")}function l(){var e=P(".mkdf-self-hosted-video");e.length&&e.mediaelementplayer({audioWidth:"100%"})}function D(){var e=P(".mkdf-self-hosted-video-holder .mkdf-video-wrap");e.length&&e.each(function(){var e=P(this),a=e.closest(".mkdf-self-hosted-video-holder").outerWidth(),t=a/mkdf.videoRatio;navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(e.parent().width(a),e.parent().height(t)),e.width(a),e.height(t),e.find("video, .mejs-overlay, .mejs-poster").width(a),e.find("video, .mejs-overlay, .mejs-poster").height(t)})}function z(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function m(){var e='<div class="pp_pic_holder">                         <div class="ppt">&nbsp;</div>                         <div class="pp_top">                             <div class="pp_left"></div>                             <div class="pp_middle"></div>                             <div class="pp_right"></div>                         </div>                         <div class="pp_content_container">                             <div class="pp_left">                             <div class="pp_right">                                 <div class="pp_content">                                     <div class="pp_loaderIcon"></div>                                     <div class="pp_fade">                                         <a href="#" class="pp_expand" title="'+mkdfGlobalVars.vars.ppExpand+'">'+mkdfGlobalVars.vars.ppExpand+'</a>                                         <div class="pp_hoverContainer">                                             <a class="pp_next" href="#"><span class="fa fa-angle-right"></span></a>                                             <a class="pp_previous" href="#"><span class="fa fa-angle-left"></span></a>                                         </div>                                         <div id="pp_full_res"></div>                                         <div class="pp_details">                                             <div class="pp_nav">                                                 <a href="#" class="pp_arrow_previous">'+mkdfGlobalVars.vars.ppPrev+'</a>                                                 <p class="currentTextHolder">0/0</p>                                                 <a href="#" class="pp_arrow_next">'+mkdfGlobalVars.vars.ppNext+'</a>                                             </div>                                             <p class="pp_description"></p>                                             {pp_social}                                             <a class="pp_close" href="#">'+mkdfGlobalVars.vars.ppClose+'</a>                                         </div>                                     </div>                                 </div>                             </div>                             </div>                         </div>                         <div class="pp_bottom">                             <div class="pp_left"></div>                             <div class="pp_middle"></div>                             <div class="pp_right"></div>                         </div>                     </div>                     <div class="pp_overlay"></div>';P("a[data-rel^='prettyPhoto']").prettyPhoto({hook:"data-rel",animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,custom_markup:"",social_tools:!1,markup:e})}function f(){var e=P(".mkdf-grid-masonry-list");e.length&&e.each(function(){var e=P(this),a=e.find(".mkdf-masonry-list-wrapper"),t=e.find(".mkdf-masonry-grid-sizer").width();a.waitForImages(function(){a.isotope({layoutMode:"packery",itemSelector:".mkdf-item-space",percentPosition:!0,masonry:{columnWidth:".mkdf-masonry-grid-sizer",gutter:".mkdf-masonry-grid-gutter"}}),(e.find(".mkdf-fixed-masonry-item").length||e.hasClass("mkdf-fixed-masonry-items"))&&c(a,a.find(".mkdf-item-space"),t,!0),setTimeout(function(){H()},600),a.isotope("layout").css("opacity",1)})})}function c(e,a,t,n){if(e.hasClass("mkdf-masonry-images-fixed")||!0===n){var d=parseInt(a.css("paddingLeft"),10),i=t-2*d,o=e.find(".mkdf-masonry-size-small"),s=e.find(".mkdf-masonry-size-large-width"),r=e.find(".mkdf-masonry-size-large-height"),l=e.find(".mkdf-masonry-size-large-width-height");o.css("height",i),r.css("height",Math.round(2*(i+d))),680<mkdf.windowWidth?(s.css("height",i),l.css("height",Math.round(2*(i+d)))):(s.css("height",Math.round(i/2)),l.css("height",i)),680<mkdf.windowWidth&&mkdf.windowWidth<=768&&e.parent().hasClass("mkdf-pl-holder")&&e.parent().hasClass("mkdf-five-columns")&&(s.css("height",1.5*i),l.css("height",1.6*Math.round(2*(i+d))))}}var u=function(){var e=P(".mkdf-icon-has-hover");return{init:function(){e.length&&e.each(function(){!function(e){if(void 0!==e.data("hover-color")){var a=function(e){e.data.icon.css("color",e.data.color)},t=e.data("hover-color"),n=e.css("color");""!==t&&(e.on("mouseenter",{icon:e,color:t},a),e.on("mouseleave",{icon:e,color:n},a))}}(P(this))})}}};function H(){var e=P(".mkdf-parallax-row-holder"),d=!mkdf.body.hasClass("mkdf-ms-explorer")&&!mkdf.body.hasClass("mkdf-edge");e.length&&e.each(function(){var e=P(this),a=e.data("parallax-bg-image"),t=.4*e.data("parallax-bg-speed"),n=0;void 0!==e.data("parallax-bg-height")&&!1!==e.data("parallax-bg-height")&&(n=parseInt(e.data("parallax-bg-height"))),e.css({"background-image":"url("+a+")"}),0<n&&e.css({"min-height":n+"px",height:n+"px"}),d&&e.parallax("50%",t)})}function k(){var e=P(".mkdf-widget-sticky-sidebar"),a=P(".mkdf-page-header"),c=a.length?a.outerHeight():0,o=0,s=0,r=0,l=0,u=[];function t(){u.length&&P.each(u,function(e){u[e].object;var a=u[e].offset,t=u[e].position,n=u[e].height,d=u[e].width,i=u[e].sidebarHolder,o=u[e].sidebarHolderHeight;if(mkdf.body.hasClass("mkdf-fixed-on-scroll")){var s=P(".mkdf-fixed-wrapper.fixed");s.length&&(c=s.outerHeight()+mkdfGlobalVars.vars.mkdfAddForAdminBar)}else mkdf.body.hasClass("mkdf-no-behavior")&&(c=mkdfGlobalVars.vars.mkdfAddForAdminBar);if(1024<mkdf.windowWidth&&i.length){var r=-(t-c),l=n-t-40,m=o+a-c-t-mkdfGlobalVars.vars.mkdfTopBarHeight;if(mkdf.scroll>=a-c&&n<o)if(i.hasClass("mkdf-sticky-sidebar-appeared")?i.css({top:r+"px"}):i.addClass("mkdf-sticky-sidebar-appeared").css({position:"fixed",top:r+"px",width:d,"margin-top":"-10px"}).animate({"margin-top":"0"},200),mkdf.scroll+l>=m){var f=o-l+r-c;i.css({position:"absolute",top:f+"px"})}else i.hasClass("mkdf-sticky-sidebar-appeared")&&i.css({position:"fixed",top:r+"px"});else i.removeClass("mkdf-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})}else i.removeClass("mkdf-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})})}return{init:function(){e.length&&e.each(function(){var e=P(this),a=e.parents("aside.mkdf-sidebar"),t=e.parents(".wpb_widgetised_column"),n="",d=0;if(o=e.offset().top,s=e.position().top,l=r=0,a.length){r=a.outerHeight(),l=a.outerWidth(),d=(n=a).parent().parent().outerHeight();var i=a.parent().parent().find(".mkdf-blog-holder");i.length&&(d-=parseInt(i.css("marginBottom")))}else t.length&&(r=t.outerHeight(),l=t.outerWidth(),d=(n=t).parents(".vc_row").outerHeight());u.push({object:e,offset:o,position:s,height:r,width:l,sidebarHolder:n,sidebarHolderHeight:d})}),t(),P(window).scroll(function(){t()})},reInit:t}}function h(){var e=P(".mkdf-owl-slider");e.length&&e.each(function(){var t,n=P(this),e=P(this),a=n.children().length,d=1,i=!0,o=!0,s=!0,r=5e3,l=600,m=0,f=0,c=0,u=0,k=!1,h=!1,p=!1,g=!1,v=!1,y=!0,b=!1,w=!1,C=!!n.hasClass("mkdf-list-is-slider"),x=C?n.parent():n;if(void 0===n.data("number-of-items")||!1===n.data("number-of-items")||C||(d=n.data("number-of-items")),void 0!==x.data("number-of-columns")&&!1!==x.data("number-of-columns")&&C)switch(x.data("number-of-columns")){case"one":d=1;break;case"two":d=2;break;case"three":d=3;break;case"four":d=4;break;case"five":d=5;break;case"six":d=6;break;default:d=4}"no"===x.data("enable-loop")&&(i=!1),"no"===x.data("enable-autoplay")&&(o=!1),"no"===x.data("enable-autoplay-hover-pause")&&(s=!1),void 0!==x.data("slider-speed")&&!1!==x.data("slider-speed")&&(r=x.data("slider-speed")),void 0!==x.data("slider-speed-animation")&&!1!==x.data("slider-speed-animation")&&(l=x.data("slider-speed-animation")),void 0!==x.data("slider-margin")&&!1!==x.data("slider-margin")?m="no"===x.data("slider-margin")?0:x.data("slider-margin"):n.parent().hasClass("mkdf-huge-space")?m=60:n.parent().hasClass("mkdf-large-space")?m=50:n.parent().hasClass("mkdf-medium-space")?m=40:n.parent().hasClass("mkdf-normal-space")?m=30:n.parent().hasClass("mkdf-small-space")?m=20:n.parent().hasClass("mkdf-tiny-space")&&(m=10),"yes"===x.data("slider-padding")&&(k=!0,u=parseInt(.28*n.outerWidth()),m=50),"yes"===x.data("enable-center")&&(h=!0),"yes"===x.data("enable-auto-width")&&(p=!0),void 0!==x.data("slider-animate-in")&&!1!==x.data("slider-animate-in")&&(g=x.data("slider-animate-in")),void 0!==x.data("slider-animate-out")&&!1!==x.data("slider-animate-out")&&(v=x.data("slider-animate-out")),"no"===x.data("enable-navigation")&&(y=!1),"yes"===x.data("enable-pagination")&&(b=!0),"yes"===x.data("enable-thumbnail")&&(w=!0),w&&!b&&(b=!0,e.addClass("mkdf-slider-hide-pagination")),y&&b&&n.addClass("mkdf-slider-has-both-nav"),a<=1&&(b=y=o=i=!1);var S=1,I=2,O=3,A=d,T=d;d<3&&(O=I=d),4<d&&(A=4),5<d&&(T=5),(k||30<m)&&(f=20,c=30),0<m&&m<=30&&(c=f=m),P(this).parent().hasClass("mkdf-portfolio-list-holder")&&(O=2,S=I=1);if(n.waitForImages(function(){e=n.owlCarousel({items:d,loop:i,autoplay:o,autoplayHoverPause:s,autoplayTimeout:r,smartSpeed:l,margin:m,stagePadding:u,center:h,autoWidth:p,animateIn:g,animateOut:v,dots:b,nav:y,navText:['<span class="mkdf-prev-icon"><span class="mkdf-top-part"></span><span class="mkdf-bottom-part"></span></span>','<span class="mkdf-next-icon"><span class="mkdf-top-part"></span><span class="mkdf-bottom-part"></span></span>'],responsive:{0:{items:S,margin:f,stagePadding:0,center:!1,autoWidth:!1},681:{items:I,margin:c},769:{items:O,margin:c},1025:{items:A},1281:{items:T},1367:{items:d}},onInitialize:function(){n.css("visibility","visible"),H(),n.closest(".mkdf-slide-on-mouse-scroll").length&&n.on("mousewheel",function(e){n.data("mkdf-active")||(0<e.deltaY?n.trigger("prev.owl.carousel"):n.trigger("next.owl.carousel"))}),(n.find("iframe").length||n.find("video").length)&&setTimeout(function(){D(),z()},500),w&&t.find(".mkdf-slider-thumbnail-item:first-child").addClass("active")},onRefreshed:function(){if(!0===p){var e=parseInt(n.find(".owl-stage").css("width"));n.find(".owl-stage").css("width",e+1+"px")}},onTranslate:function(e){if(w){var a=e.page.index+1;t.find(".mkdf-slider-thumbnail-item.active").removeClass("active"),t.find(".mkdf-slider-thumbnail-item:nth-child("+a+")").addClass("active")}n.data("mkdf-active",!0)},onTranslated:function(){n.data("mkdf-active",!1)},onDrag:function(e){mkdf.body.hasClass("mkdf-smooth-page-transitions-fadeout")&&(0<e.isTrigger&&n.addClass("mkdf-slider-is-moving"))},onDragged:function(){mkdf.body.hasClass("mkdf-smooth-page-transitions-fadeout")&&n.hasClass("mkdf-slider-is-moving")&&setTimeout(function(){n.removeClass("mkdf-slider-is-moving")},500)}})}),w){t=n.parent().find(".mkdf-slider-thumbnail");var _="";switch(parseInt(t.data("thumbnail-count"))%6){case 2:_="two";break;case 3:_="three";break;case 4:_="four";break;case 5:_="five";break;case 0:default:_="six"}""!==_&&t.addClass("mkdf-slider-columns-"+_),t.find(".mkdf-slider-thumbnail-item").on("click",function(){P(this).siblings(".active").removeClass("active"),P(this).addClass("active"),e.trigger("to.owl.carousel",[P(this).index(),l])})}})}}(jQuery),function(l){"use strict";var e={};function a(){m()}function t(){d().init()}function n(){d().scroll()}function m(){var e=l("audio.mkdf-blog-audio");e.length&&e.mediaelementplayer({audioWidth:"100%"})}function d(){var e=l(".mkdf-blog-holder"),t=function(e){var a=e.outerHeight()+e.offset().top-mkdfGlobalVars.vars.mkdfAddForAdminBar;!e.hasClass("mkdf-blog-pagination-infinite-scroll-started")&&mkdf.scroll+mkdf.windowHeight>a&&n(e)},n=function(t){var n,e,d=t.children(".mkdf-blog-holder-inner");void 0!==t.data("max-num-pages")&&!1!==t.data("max-num-pages")&&(e=t.data("max-num-pages")),t.hasClass("mkdf-blog-pagination-infinite-scroll")&&t.addClass("mkdf-blog-pagination-infinite-scroll-started");var a=mkdf.modules.common.getLoadMoreData(t),i=t.find(".mkdf-blog-pag-loading");if((n=a.nextPage)<=e){i.addClass("mkdf-showing");var o=mkdf.modules.common.setLoadMoreAjaxData(a,"dolcino_mikado_blog_load_more");l.ajax({type:"POST",data:o,url:mkdfGlobalVars.vars.mkdfAjaxUrl,success:function(e){n++,t.data("next-page",n);var a=l.parseJSON(e).html;t.waitForImages(function(){t.hasClass("mkdf-grid-masonry-list")?(s(d,i,a),mkdf.modules.common.setFixedImageProportionSize(t,t.find("article"),d.find(".mkdf-masonry-grid-sizer").width())):r(d,i,a),setTimeout(function(){m(),mkdf.modules.common.mkdfOwlSlider(),mkdf.modules.common.mkdfFluidVideo(),mkdf.modules.common.mkdfInitSelfHostedVideoPlayer(),mkdf.modules.common.mkdfSelfHostedVideoSize(),"function"==typeof mkdf.modules.common.mkdfStickySidebarWidget&&mkdf.modules.common.mkdfStickySidebarWidget().reInit(),l(document.body).trigger("blog_list_load_more_trigger")},400)}),t.hasClass("mkdf-blog-pagination-infinite-scroll-started")&&t.removeClass("mkdf-blog-pagination-infinite-scroll-started")}})}n===e&&t.find(".mkdf-blog-pag-load-more").hide()},s=function(e,a,t){e.append(t).isotope("reloadItems").isotope({sortBy:"original-order"}),a.removeClass("mkdf-showing"),setTimeout(function(){e.isotope("layout")},600)},r=function(e,a,t){a.removeClass("mkdf-showing"),e.append(t)};return{init:function(){e.length&&e.each(function(){var a,e=l(this);e.hasClass("mkdf-blog-pagination-load-more")&&(a=e).find(".mkdf-blog-pag-load-more a").on("click",function(e){e.preventDefault(),e.stopPropagation(),n(a)}),e.hasClass("mkdf-blog-pagination-infinite-scroll")&&t(e)})},scroll:function(){e.length&&e.each(function(){var e=l(this);e.hasClass("mkdf-blog-pagination-infinite-scroll")&&t(e)})}}}(mkdf.modules.blog=e).mkdfOnDocumentReady=a,e.mkdfOnWindowLoad=t,e.mkdfOnWindowScroll=n,l(document).ready(a),l(window).load(t),l(window).scroll(n)}(jQuery),function(d){"use strict";var e={};function a(){!function(){if(d("body:not(.error404) .mkdf-footer-uncover").length&&!mkdf.htmlEl.hasClass("touch")){var e=d("footer"),a=e.outerHeight(),t=d(".mkdf-content"),n=function(){t.css("margin-bottom",a),e.css("height",a)};n(),d(window).resize(function(){a=e.find(".mkdf-footer-inner").outerHeight(),n()})}}()}(mkdf.modules.footer=e).mkdfOnWindowLoad=a,d(window).load(a)}(jQuery),function(r){"use strict";var e={};function a(){n(),setTimeout(function(){r(".mkdf-drop-down > ul > li").each(function(){var o=r(this);o.find(".second").length&&o.waitForImages(function(){var e=o.find(".second"),a=mkdf.menuDropdownHeightSet?0:e.outerHeight();if(o.hasClass("wide")){var t=0,n=e.find("> .inner > ul > li");n.each(function(){var e=r(this).outerHeight();t<e&&(t=e)}),n.css("height","").height(t),mkdf.menuDropdownHeightSet||(a=e.outerHeight())}if(mkdf.menuDropdownHeightSet||e.height(0),navigator.userAgent.match(/(iPod|iPhone|iPad)/))o.on("touchstart mouseenter",function(){e.css({height:a,overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){e.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})});else if(mkdf.body.hasClass("mkdf-dropdown-animate-height")){var d={interval:0,over:function(){setTimeout(function(){e.addClass("mkdf-drop-down-start").css({visibility:"visible",height:"0",opacity:"1"}),e.stop().animate({height:a},400,"easeInOutQuint",function(){e.css("overflow","visible")})},100)},timeout:100,out:function(){e.stop().animate({height:"0",opacity:0},100,function(){e.css({overflow:"hidden",visibility:"hidden"})}),e.removeClass("mkdf-drop-down-start")}};o.hoverIntent(d)}else{var i={interval:0,over:function(){setTimeout(function(){e.addClass("mkdf-drop-down-start").stop().css({height:a})},150)},timeout:150,out:function(){e.stop().css({height:"0"}).removeClass("mkdf-drop-down-start")}};o.hoverIntent(i)}})}),r(".mkdf-drop-down ul li.wide ul li a").on("click",function(e){if(1===e.which){var a=r(this);setTimeout(function(){a.mouseleave()},500)}}),mkdf.menuDropdownHeightSet=!0},100)}function t(){d()}function n(){var e=r(".mkdf-drop-down > ul > li.narrow.menu-item-has-children");e.length&&e.each(function(e){var a,t=r(this),n=t.offset().left,d=t.find(".second"),i=d.find(".inner ul"),o=i.outerWidth(),s=mkdf.windowWidth-n;mkdf.body.hasClass("mkdf-boxed")&&(s=mkdf.boxedLayoutWidth-(n-(mkdf.windowWidth-mkdf.boxedLayoutWidth)/2)),0<t.find("li.sub").length&&(a=s-o),d.removeClass("right"),i.removeClass("right"),(s<o||a<o)&&(d.addClass("right"),i.addClass("right"))})}function d(){var e=r(".mkdf-drop-down > ul > li.wide");e.length&&e.each(function(e){var a=r(this).find(".second");if(a.length&&!a.hasClass("left_position")&&!a.hasClass("right_position")){a.css("left",0);var t=a.offset().left;if(mkdf.body.hasClass("mkdf-boxed")){var n=r(".mkdf-boxed .mkdf-wrapper .mkdf-wrapper-inner").outerWidth();t-=(mkdf.windowWidth-n)/2,a.css({left:-t,width:n})}else mkdf.body.hasClass("mkdf-wide-dropdown-menu-in-grid")?a.css({left:-t+(mkdf.windowWidth-mkdf.gridWidth())/2,width:mkdf.gridWidth()}):a.css({left:-t,width:mkdf.windowWidth})}})}(mkdf.modules.header=e).mkdfSetDropDownMenuPosition=n,e.mkdfSetDropDownWideMenuPosition=d,e.mkdfOnDocumentReady=a,e.mkdfOnWindowLoad=t,r(document).ready(a),r(window).load(t)}(jQuery),function(d){"use strict";function e(){d(document).on("click",".mkdf-like",function(){var e,a=d(this),t=a.attr("id");if(a.hasClass("liked"))return!1;void 0!==a.data("type")&&(e=a.data("type"));var n={action:"dolcino_mikado_like",likes_id:t,type:e};return d.post(mkdfGlobalVars.vars.mkdfAjaxUrl,n,function(e){a.html(e).addClass("liked").attr("title","You already like this!")}),!1})}d(document).ready(e)}(jQuery),function(f){"use strict";var e={};function a(){!function(){var n,d=f(".mkdf-wrapper"),i=f(".mkdf-side-menu"),o=f("a.mkdf-side-menu-button-opener"),s=!1,r=!1,l=!1,m=i.find(".mkdf-separator-advanced");mkdf.body.hasClass("mkdf-side-menu-slide-from-right")?(f(".mkdf-cover").remove(),n="mkdf-right-side-menu-opened",d.prepend('<div class="mkdf-cover"/>'),s=!0):mkdf.body.hasClass("mkdf-side-menu-slide-with-content")?(n="mkdf-side-menu-open",r=!0):mkdf.body.hasClass("mkdf-side-area-uncovered-from-content")&&(n="mkdf-right-side-menu-opened",l=!0);f("a.mkdf-side-menu-button-opener, a.mkdf-close-side-menu").on("click",function(e){if(e.preventDefault(),o.hasClass("opened")){if(o.removeClass("opened"),mkdf.body.removeClass(n),m.length&&m.each(function(){f(this).removeClass("mkdf-appeared")}),l)var a=setTimeout(function(){i.css({visibility:"hidden"}),clearTimeout(a)},400)}else{o.addClass("opened"),mkdf.body.addClass(n),m.length&&m.each(function(){var e=f(this);setTimeout(function(){e.addClass("mkdf-appeared")},600)}),s&&f(".mkdf-wrapper .mkdf-cover").on("click",function(){mkdf.body.removeClass("mkdf-right-side-menu-opened"),o.removeClass("opened")}),l&&i.css({visibility:"visible"});var t=f(window).scrollTop();f(window).scroll(function(){if(400<Math.abs(mkdf.scroll-t)&&(mkdf.body.removeClass(n),o.removeClass("opened"),l))var e=setTimeout(function(){i.css({visibility:"hidden"}),clearTimeout(e)},400)})}r&&(e.stopPropagation(),d.on("click",function(){e.preventDefault(),o.removeClass("opened"),mkdf.body.removeClass("mkdf-side-menu-open")}))}),i.length&&mkdf.modules.common.mkdfInitPerfectScrollbar().init(i)}()}(mkdf.modules.sidearea=e).mkdfOnDocumentReady=a,f(document).ready(a)}(jQuery),function(s){"use strict";var e={};function a(){!function(){var e=s(".mkdf-subscribe-popup-holder"),a=s(".mkdf-sp-close");if(e.length){var t=e.find(".mkdf-sp-prevent"),n="no";if(t.length){var d=e.hasClass("mkdf-sp-prevent-cookies"),i=t.find(".mkdf-sp-prevent-input"),o=i.data("value");d?(n=localStorage.getItem("disabledPopup"),sessionStorage.removeItem("disabledPopup")):(n=sessionStorage.getItem("disabledPopup"),localStorage.removeItem("disabledPopup")),t.children().on("click",function(e){"yes"!==o?(o="yes",i.addClass("mkdf-sp-prevent-clicked").data("value","yes")):(o="no",i.removeClass("mkdf-sp-prevent-clicked").data("value","no")),"yes"===o?d?localStorage.setItem("disabledPopup","yes"):sessionStorage.setItem("disabledPopup","yes"):d?localStorage.setItem("disabledPopup","no"):sessionStorage.setItem("disabledPopup","no")})}"yes"!==n&&(mkdf.body.hasClass("mkdf-sp-opened")?(mkdf.body.removeClass("mkdf-sp-opened"),mkdf.modules.common.mkdfEnableScroll()):(mkdf.body.addClass("mkdf-sp-opened"),mkdf.modules.common.mkdfDisableScroll()),a.on("click",function(e){e.preventDefault(),mkdf.body.removeClass("mkdf-sp-opened"),mkdf.modules.common.mkdfEnableScroll()}),s(document).keyup(function(e){27===e.keyCode&&(mkdf.body.removeClass("mkdf-sp-opened"),mkdf.modules.common.mkdfEnableScroll())}))}}()}(mkdf.modules.subscribePopup=e).mkdfOnWindowLoad=a,s(window).load(a)}(jQuery),function(s){"use strict";var e={};function a(){!function(){var e=s(".mkdf-title-holder.mkdf-bg-parallax");if(0<e.length&&1024<mkdf.windowWidth){var a=e.hasClass("mkdf-bg-parallax-zoom-out"),t=parseInt(e.data("height")),n=parseInt(e.data("background-width")),d=t/1e4*7,i=-mkdf.scroll*d,o=mkdfGlobalVars.vars.mkdfAddForAdminBar;e.css({"background-position":"center "+(i+o)+"px"}),a&&a.css({"background-size":n-mkdf.scroll+"px auto"}),s(window).scroll(function(){i=-mkdf.scroll*d,e.css({"background-position":"center "+(i+o)+"px"}),a&&a.css({"background-size":n-mkdf.scroll+"px auto"})})}}()}(mkdf.modules.title=e).mkdfOnDocumentReady=a,s(document).ready(a)}(jQuery),function(r){"use strict";var e={};function a(){var e,a;r(document).on("click",".mkdf-quantity-minus, .mkdf-quantity-plus",function(e){e.stopPropagation();var a,t=r(this),n=t.siblings(".mkdf-quantity-input"),d=parseFloat(n.data("step")),i=parseFloat(n.data("max")),o=!1,s=parseFloat(n.val());t.hasClass("mkdf-quantity-minus")&&(o=!0),o?1<=(a=s-d)?n.val(a):n.val(0):(a=s+d,void 0===i?n.val(a):i<=a?n.val(i):n.val(a)),n.trigger("change")}),function(){var e=r(".woocommerce-ordering .orderby");e.length&&e.select2({minimumResultsForSearch:1/0});var a=r(".mkdf-woocommerce-page .mkdf-content .variations td.value select");a.length&&a.select2();var t=r("#calc_shipping_country");t.length&&t.select2();var n=r(".cart-collaterals .shipping select#calc_shipping_state");n.length&&n.select2()}(),(e=r(".mkdf-woo-single-page.mkdf-woo-single-has-pretty-photo .images .woocommerce-product-gallery__image")).length&&(e.children("a").attr("data-rel","prettyPhoto[woo_single_pretty_photo]"),"function"==typeof mkdf.modules.common.mkdfPrettyPhoto&&mkdf.modules.common.mkdfPrettyPhoto()),(a=r(".woocommerce-pagination")).length&&a.each(function(){var e=r(this).find(".page-numbers"),a=e.find("li:first-child"),t=e.find("li:last-child");a.length&&a.find("a.prev").length&&a.addClass("mkdf-pag-prev"),t.length&&t.find("a.next").length&&t.addClass("mkdf-pag-next")})}(mkdf.modules.woocommerce=e).mkdfOnDocumentReady=a,r(document).ready(a)}(jQuery),function(u){"use strict";var e={};function a(){n().init()}function t(){n().scroll()}function n(){var e=u(".mkdf-blog-list-holder"),d=function(e){var a=e.outerHeight()+e.offset().top-mkdfGlobalVars.vars.mkdfAddForAdminBar;!e.hasClass("mkdf-bl-pag-infinite-scroll-started")&&mkdf.scroll+mkdf.windowHeight>a&&i(e)},i=function(t,e){var n,d,i=t.find(".mkdf-blog-list");void 0!==t.data("max-num-pages")&&!1!==t.data("max-num-pages")&&(d=t.data("max-num-pages")),t.hasClass("mkdf-bl-pag-standard-shortcodes")&&t.data("next-page",e),t.hasClass("mkdf-bl-pag-infinite-scroll")&&t.addClass("mkdf-bl-pag-infinite-scroll-started");var a=mkdf.modules.common.getLoadMoreData(t),o=t.find(".mkdf-blog-pag-loading");if((n=a.nextPage)<=d){t.hasClass("mkdf-bl-pag-standard-shortcodes")?(o.addClass("mkdf-showing mkdf-standard-pag-trigger"),t.addClass("mkdf-bl-pag-standard-shortcodes-animate")):o.addClass("mkdf-showing");var s=mkdf.modules.common.setLoadMoreAjaxData(a,"dolcino_mikado_blog_shortcode_load_more");u.ajax({type:"POST",data:s,url:mkdfGlobalVars.vars.mkdfAjaxUrl,success:function(e){t.hasClass("mkdf-bl-pag-standard-shortcodes")||n++,t.data("next-page",n);var a=u.parseJSON(e).html;t.hasClass("mkdf-bl-pag-standard-shortcodes")?(r(t,d,n),t.waitForImages(function(){t.hasClass("mkdf-bl-masonry")?l(t,i,o,a):(m(t,i,o,a),"function"==typeof mkdf.modules.common.mkdfStickySidebarWidget&&mkdf.modules.common.mkdfStickySidebarWidget().reInit())})):t.waitForImages(function(){t.hasClass("mkdf-bl-masonry")?f(i,o,a):(c(i,o,a),"function"==typeof mkdf.modules.common.mkdfStickySidebarWidget&&mkdf.modules.common.mkdfStickySidebarWidget().reInit())}),t.hasClass("mkdf-bl-pag-infinite-scroll-started")&&t.removeClass("mkdf-bl-pag-infinite-scroll-started")}})}n===d&&t.find(".mkdf-blog-pag-load-more").hide()},r=function(e,a,t){var n=e.find(".mkdf-bl-standard-pagination"),d=n.find("li.mkdf-pag-number"),i=n.find("li.mkdf-pag-prev a"),o=n.find("li.mkdf-pag-next a");d.removeClass("mkdf-pag-active"),d.eq(t-1).addClass("mkdf-pag-active"),i.data("paged",t-1),o.data("paged",t+1),1<t?i.css({opacity:"1"}):i.css({opacity:"0"}),t===a?o.css({opacity:"0"}):o.css({opacity:"1"})},l=function(e,a,t,n){a.html(n).isotope("reloadItems").isotope({sortBy:"original-order"}),t.removeClass("mkdf-showing mkdf-standard-pag-trigger"),e.removeClass("mkdf-bl-pag-standard-shortcodes-animate"),setTimeout(function(){a.isotope("layout"),"function"==typeof mkdf.modules.common.mkdfStickySidebarWidget&&mkdf.modules.common.mkdfStickySidebarWidget().reInit()},600)},m=function(e,a,t,n){t.removeClass("mkdf-showing mkdf-standard-pag-trigger"),e.removeClass("mkdf-bl-pag-standard-shortcodes-animate"),a.html(n)},f=function(e,a,t){e.append(t).isotope("reloadItems").isotope({sortBy:"original-order"}),a.removeClass("mkdf-showing"),setTimeout(function(){e.isotope("layout"),"function"==typeof mkdf.modules.common.mkdfStickySidebarWidget&&mkdf.modules.common.mkdfStickySidebarWidget().reInit()},600)},c=function(e,a,t){a.removeClass("mkdf-showing"),e.append(t)};return{init:function(){e.length&&e.each(function(){var n,e,a,t=u(this);t.hasClass("mkdf-bl-pag-standard-shortcodes")&&(e=(n=t).find(".mkdf-bl-standard-pagination li")).length&&e.each(function(){var a=u(this).children("a"),t=1;a.on("click",function(e){e.preventDefault(),e.stopPropagation(),void 0!==a.data("paged")&&!1!==a.data("paged")&&(t=a.data("paged")),i(n,t)})}),t.hasClass("mkdf-bl-pag-load-more")&&(a=t).find(".mkdf-blog-pag-load-more a").on("click",function(e){e.preventDefault(),e.stopPropagation(),i(a)}),t.hasClass("mkdf-bl-pag-infinite-scroll")&&d(t)})},scroll:function(){e.length&&e.each(function(){var e=u(this);e.hasClass("mkdf-bl-pag-infinite-scroll")&&d(e)})}}}(mkdf.modules.blogListSC=e).mkdfOnWindowLoad=a,e.mkdfOnWindowScroll=t,u(window).load(a),u(window).scroll(t)}(jQuery),function(m){"use strict";var e={};function a(){!function(){var a=m("a.mkdf-fullscreen-menu-opener");if(a.length){var t,e=m(".mkdf-fullscreen-menu-holder-outer"),n=!1,d=!1,i=m(".mkdf-fullscreen-above-menu-widget-holder"),o=m(".mkdf-fullscreen-below-menu-widget-holder"),s=m(".mkdf-fullscreen-menu-holder-outer nav > ul > li > a"),r=m(".mkdf-fullscreen-menu > ul li.has_sub > a"),l=m(".mkdf-fullscreen-menu ul li:not(.has_sub) a");mkdf.modules.common.mkdfInitPerfectScrollbar().init(e),m(window).resize(function(){e.height(mkdf.windowHeight)}),mkdf.body.hasClass("mkdf-fade-push-text-right")?(t="mkdf-push-nav-right",n=!0):mkdf.body.hasClass("mkdf-fade-push-text-top")&&(t="mkdf-push-text-top",d=!0),(n||d)&&(i.length&&i.children().css({"-webkit-animation-delay":"0ms","-moz-animation-delay":"0ms","animation-delay":"0ms"}),s.each(function(e){m(this).css({"-webkit-animation-delay":70*(e+1)+"ms","-moz-animation-delay":70*(e+1)+"ms","animation-delay":70*(e+1)+"ms"})}),o.length&&o.children().css({"-webkit-animation-delay":70*(s.length+1)+"ms","-moz-animation-delay":70*(s.length+1)+"ms","animation-delay":70*(s.length+1)+"ms"})),a.on("click",function(e){e.preventDefault(),a.hasClass("mkdf-fm-opened")?(a.removeClass("mkdf-fm-opened"),mkdf.body.removeClass("mkdf-fullscreen-menu-opened mkdf-fullscreen-fade-in").addClass("mkdf-fullscreen-fade-out"),mkdf.body.addClass(t),mkdf.modules.common.mkdfEnableScroll(),m("nav.mkdf-fullscreen-menu ul.sub_menu").slideUp(200)):(a.addClass("mkdf-fm-opened"),mkdf.body.removeClass("mkdf-fullscreen-fade-out").addClass("mkdf-fullscreen-menu-opened mkdf-fullscreen-fade-in"),mkdf.body.removeClass(t),mkdf.modules.common.mkdfDisableScroll(),m(document).keyup(function(e){27===e.keyCode&&(a.removeClass("mkdf-fm-opened"),mkdf.body.removeClass("mkdf-fullscreen-menu-opened mkdf-fullscreen-fade-in").addClass("mkdf-fullscreen-fade-out"),mkdf.body.addClass(t),mkdf.modules.common.mkdfEnableScroll(),m("nav.mkdf-fullscreen-menu ul.sub_menu").slideUp(200))}))}),r.on("tap click",function(e){e.preventDefault();var a=m(this),t=a.parent(),n=t.siblings(".menu-item-has-children");if(t.hasClass("has_sub")){var d=t.find("> ul.sub_menu");d.is(":visible")?(d.slideUp(450,"easeInOutQuint"),t.removeClass("open_sub")):(t.addClass("open_sub"),0===n.length?d.slideDown(400,"easeInOutQuint"):(t.closest("li.menu-item").siblings().find(".menu-item").removeClass("open_sub"),t.siblings().removeClass("open_sub").find(".sub_menu").slideUp(400,"easeInOutQuint",function(){d.slideDown(400,"easeInOutQuint")})))}return!1}),l.on("click",function(e){if("http://#"===m(this).attr("href")||"#"===m(this).attr("href"))return!1;1===e.which&&(a.removeClass("mkdf-fm-opened"),mkdf.body.removeClass("mkdf-fullscreen-menu-opened"),mkdf.body.removeClass("mkdf-fullscreen-fade-in").addClass("mkdf-fullscreen-fade-out"),mkdf.body.addClass(t),m("nav.mkdf-fullscreen-menu ul.sub_menu").slideUp(200),mkdf.modules.common.mkdfEnableScroll())})}}()}(mkdf.modules.headerMinimal=e).mkdfOnDocumentReady=a,m(document).ready(a)}(jQuery),function(s){"use strict";var e={};function a(){!function(){var a=s(".mkdf-mobile-header .mkdf-mobile-menu-opener"),o=s(".mkdf-mobile-header .mkdf-mobile-nav"),e=s(".mkdf-mobile-nav .mobile_arrow, .mkdf-mobile-nav h6, .mkdf-mobile-nav a.mkdf-mobile-no-link");a.length&&o.length&&a.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),o.is(":visible")?(o.slideUp(450,"easeInOutQuint"),a.removeClass("mkdf-mobile-menu-opened")):(o.slideDown(450,"easeInOutQuint"),a.addClass("mkdf-mobile-menu-opened"))});e.length&&e.each(function(){var d=s(this),i=o.outerHeight();d.on("tap click",function(e){var a=d.parent("li"),t=a.siblings(".menu-item-has-children");if(a.hasClass("has_sub")){var n=a.find("> ul.sub_menu");n.is(":visible")?(n.slideUp(450,"easeInOutQuint"),a.removeClass("mkdf-opened"),o.stop().animate({height:i},300)):(a.addClass("mkdf-opened"),0===t.length?a.find(".sub_menu").slideUp(400,"easeInOutQuint",function(){n.slideDown(400,"easeInOutQuint"),o.stop().animate({height:i+50},300)}):a.siblings().removeClass("mkdf-opened").find(".sub_menu").slideUp(400,"easeInOutQuint",function(){n.slideDown(400,"easeInOutQuint"),o.stop().animate({height:i+50},300)}))}})});s(".mkdf-mobile-nav a, .mkdf-mobile-logo-wrapper a").on("click tap",function(e){"http://#"!==s(this).attr("href")&&"#"!==s(this).attr("href")&&(o.slideUp(450,"easeInOutQuint"),a.removeClass("mkdf-mobile-menu-opened"))})}(),n(),function(){var a=s(".mkdf-mobile-header"),t=a.find(".mkdf-mobile-menu-opener"),e=a.length?a.outerHeight():0;mkdf.body.hasClass("mkdf-content-is-behind-header")&&0<e&&mkdf.windowWidth<=1024&&s(".mkdf-content").css("marginTop",-e);if(mkdf.body.hasClass("mkdf-sticky-up-mobile-header")){var n,d=s("#wpadminbar"),i=s(document).scrollTop();n=e+mkdfGlobalVars.vars.mkdfAddForAdminBar,s(window).scroll(function(){var e=s(document).scrollTop();n<e?a.addClass("mkdf-animate-mobile-header"):a.removeClass("mkdf-animate-mobile-header"),i<e&&n<e&&!t.hasClass("mkdf-mobile-menu-opened")||e<n?(a.removeClass("mobile-header-appear"),a.css("margin-bottom",0),d.length&&a.find(".mkdf-mobile-header-inner").css("top",0)):(a.addClass("mobile-header-appear"),a.css("margin-bottom",n)),i=s(document).scrollTop()})}}()}function t(){n()}function n(){if(mkdf.windowWidth<=1024){var e=s(".mkdf-mobile-header"),a=e.length?e.height():0,t=e.find(".mkdf-mobile-nav"),n=t.outerHeight(),d=mkdf.windowHeight-100,i=d<a+n?d-a:n;t.length&&(t.height(i),mkdf.modules.common.mkdfInitPerfectScrollbar().init(t))}}(mkdf.modules.mobileHeader=e).mkdfOnDocumentReady=a,e.mkdfOnWindowResize=t,s(document).ready(a),s(window).resize(t)}(jQuery),function(f){"use strict";var e={};function a(){1024<mkdf.windowWidth&&function(){var a,e,t=f(".mkdf-page-header"),n=f(".mkdf-sticky-header"),d=f(".mkdf-fixed-wrapper"),i=d.children(".mkdf-menu-area").outerHeight(),o=f(".mkdf-slider"),s=o.length?o.outerHeight():0,r=d.length?d.offset().top-mkdfGlobalVars.vars.mkdfAddForAdminBar:0;switch(!0){case mkdf.body.hasClass("mkdf-sticky-header-on-scroll-up"):mkdf.modules.stickyHeader.behaviour="mkdf-sticky-header-on-scroll-up";var l=f(document).scrollTop();a=parseInt(mkdfGlobalVars.vars.mkdfTopBarHeight)+parseInt(mkdfGlobalVars.vars.mkdfLogoAreaHeight)+parseInt(mkdfGlobalVars.vars.mkdfMenuAreaHeight)+parseInt(mkdfGlobalVars.vars.mkdfStickyHeaderHeight),(e=function(){var e=f(document).scrollTop();l<e&&a<e||e<a?(mkdf.modules.stickyHeader.isStickyVisible=!1,n.removeClass("header-appear").find(".mkdf-main-menu .second").removeClass("mkdf-drop-down-start"),mkdf.body.removeClass("mkdf-sticky-header-appear")):(mkdf.modules.stickyHeader.isStickyVisible=!0,n.addClass("header-appear"),mkdf.body.addClass("mkdf-sticky-header-appear")),l=f(document).scrollTop()})(),f(window).scroll(function(){e()});break;case mkdf.body.hasClass("mkdf-sticky-header-on-scroll-down-up"):mkdf.modules.stickyHeader.behaviour="mkdf-sticky-header-on-scroll-down-up",0!==mkdfPerPageVars.vars.mkdfStickyScrollAmount?mkdf.modules.stickyHeader.stickyAppearAmount=parseInt(mkdfPerPageVars.vars.mkdfStickyScrollAmount):mkdf.modules.stickyHeader.stickyAppearAmount=parseInt(mkdfGlobalVars.vars.mkdfTopBarHeight)+parseInt(mkdfGlobalVars.vars.mkdfLogoAreaHeight)+parseInt(mkdfGlobalVars.vars.mkdfMenuAreaHeight)+parseInt(s),(e=function(){mkdf.scroll<mkdf.modules.stickyHeader.stickyAppearAmount?(mkdf.modules.stickyHeader.isStickyVisible=!1,n.removeClass("header-appear").find(".mkdf-main-menu .second").removeClass("mkdf-drop-down-start"),mkdf.body.removeClass("mkdf-sticky-header-appear")):(mkdf.modules.stickyHeader.isStickyVisible=!0,n.addClass("header-appear"),mkdf.body.addClass("mkdf-sticky-header-appear"))})(),f(window).scroll(function(){e()});break;case mkdf.body.hasClass("mkdf-fixed-on-scroll"):mkdf.modules.stickyHeader.behaviour="mkdf-fixed-on-scroll";var m=function(){mkdf.scroll<=r?(d.removeClass("fixed"),mkdf.body.removeClass("mkdf-fixed-header-appear"),t.css("margin-bottom","0")):(d.addClass("fixed"),mkdf.body.addClass("mkdf-fixed-header-appear"),t.css("margin-bottom",i+"px"))};m(),f(window).scroll(function(){m()})}}()}(mkdf.modules.stickyHeader=e).isStickyVisible=!1,e.stickyAppearAmount=0,e.behaviour="",e.mkdfOnDocumentReady=a,f(document).ready(a)}(jQuery),function(c){"use strict";var e={};function a(){!function(){if(mkdf.body.hasClass("mkdf-search-covers-header")){var e=c("a.mkdf-search-opener");0<e.length&&e.each(function(){var e=c(this);e.on("click",function(e){e.preventDefault();var a,t=c(this),n=c(".mkdf-page-header"),d=c(".mkdf-top-bar"),i=n.find(".mkdf-fixed-wrapper.fixed"),o=c(".mkdf-mobile-header"),s=c(".mkdf-search-cover"),r=!!t.parents(".mkdf-top-bar").length,l=!!t.parents(".mkdf-fixed-wrapper.fixed").length,m=!!t.parents(".mkdf-sticky-header").length,f=!!t.parents(".mkdf-mobile-header").length;s.removeClass("mkdf-is-active"),r?(a=d.outerHeight(),n.children(".mkdf-search-cover").addClass("mkdf-is-active mkdf-opener-in-top-header")):l?(a=i.outerHeight(),n.children(".mkdf-search-cover").addClass("mkdf-is-active")):m?(a=n.find(".mkdf-sticky-header").outerHeight(),n.children(".mkdf-search-cover").addClass("mkdf-is-active")):f?(a=o.hasClass("mobile-header-appear")?o.children(".mkdf-mobile-header-inner").outerHeight():o.outerHeight(),o.find(".mkdf-search-cover").addClass("mkdf-is-active")):(a=n.outerHeight(),n.children(".mkdf-search-cover").addClass("mkdf-is-active")),s.hasClass("mkdf-is-active")&&s.height(a).stop(!0).fadeIn(600).find('input[type="text"]').focus(),s.find(".mkdf-search-close").on("click",function(e){e.preventDefault(),s.stop(!0).fadeOut(450,function(){s.hasClass("mkdf-opener-in-top-header")&&s.removeClass("mkdf-opener-in-top-header")}),s.removeClass("mkdf-is-active")}),s.blur(function(){s.stop(!0).fadeOut(450,function(){s.hasClass("mkdf-opener-in-top-header")&&s.removeClass("mkdf-opener-in-top-header")}),s.removeClass("mkdf-is-active")}),c(window).scroll(function(){s.stop(!0).fadeOut(450,function(){s.hasClass("mkdf-opener-in-top-header")&&s.removeClass("mkdf-opener-in-top-header")}),s.removeClass("mkdf-is-active")})})})}}()}(mkdf.modules.searchCoversHeader=e).mkdfOnDocumentReady=a,c(document).ready(a)}(jQuery),function(r){"use strict";var e={};function a(){t().init()}(mkdf.modules.portfolio=e).mkdfOnWindowLoad=a,r(window).load(a);var t=function(){var a=r(".mkdf-follow-portfolio-info .mkdf-portfolio-single-holder .mkdf-ps-info-sticky-holder");if(a.length)var e=a.parent(),t=e.offset().top,n=e.height(),d=r(".mkdf-ps-image-holder").height(),i=r(".header-appear, .mkdf-fixed-wrapper"),o=i.length?i.height():0,s=30;return{init:function(){!function(){if(a.length&&n<=d&&mkdf.scroll>=t-o-mkdfGlobalVars.vars.mkdfAddForAdminBar-s){var e=mkdf.scroll-t+mkdfGlobalVars.vars.mkdfAddForAdminBar+o+s;d<e+n&&(e=d-n+s),a.stop().animate({marginTop:e})}}(),r(window).scroll(function(){!function(){if(a.length&&n<=d){0<mkdf.scroll&&i.length&&(o=i.height());var e=o+mkdfGlobalVars.vars.mkdfAddForAdminBar+s;mkdf.scroll>=t-e?mkdf.scroll+n+e+2*s<t+d?(a.stop().animate({marginTop:mkdf.scroll-t+e+2*s}),o=0):a.stop().animate({marginTop:d-n}):a.stop().animate({marginTop:0})}}()})}}}}(jQuery),function(d){"use strict";var e={};function a(){t()}function t(){var e=d(".mkdf-accordion-holder");e.length&&e.each(function(){var e=d(this);if(e.hasClass("mkdf-accordion")&&e.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"}),e.hasClass("mkdf-toggle")){var a=d(this),t=a.find(".mkdf-accordion-title"),n=t.next();a.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),t.addClass("ui-accordion-header ui-state-default ui-corner-top ui-corner-bottom"),n.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),t.each(function(){var e=d(this);e.hover(function(){e.toggleClass("ui-state-hover")}),e.on("click",function(){e.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),e.next().toggleClass("ui-accordion-content-active").slideToggle(400)})})}})}(mkdf.modules.accordions=e).mkdfInitAccordions=t,e.mkdfOnDocumentReady=a,d(document).ready(a)}(jQuery),function(d){"use strict";var e={};function a(){t()}function t(){var t,n,e=d(".mkdf-grow-in, .mkdf-fade-in-down, .mkdf-element-from-fade, .mkdf-element-from-left, .mkdf-element-from-right, .mkdf-element-from-top, .mkdf-element-from-bottom, .mkdf-flip-in, .mkdf-x-rotate, .mkdf-z-rotate, .mkdf-y-translate, .mkdf-fade-in, .mkdf-fade-in-left-x-rotate");e.length&&e.each(function(){var a=d(this);a.appear(function(){if(t=a.data("animation"),n=parseInt(a.data("animation-delay")),void 0!==t&&""!==t){var e=t+"-on";setTimeout(function(){a.addClass(e)},n)}},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.animationHolder=e).mkdfInitAnimationHolder=t,e.mkdfOnDocumentReady=a,d(document).ready(a)}(jQuery),function(a){"use strict";var e={};function t(){n().init()}(mkdf.modules.button=e).mkdfButton=n,e.mkdfOnDocumentReady=t,a(document).ready(t);var n=function(){var e=a(".mkdf-btn");return{init:function(){e.length&&e.each(function(){!function(e){if(void 0!==e.data("hover-color")){var a=function(e){e.data.button.css("color",e.data.color)},t=e.css("color"),n=e.data("hover-color");e.on("mouseenter",{button:e,color:n},a),e.on("mouseleave",{button:e,color:t},a)}}(a(this)),function(e){if(void 0!==e.data("hover-bg-color")){var a=function(e){e.data.button.css("background-color",e.data.color)},t=e.css("background-color"),n=e.data("hover-bg-color");e.on("mouseenter",{button:e,color:n},a),e.on("mouseleave",{button:e,color:t},a)}}(a(this)),function(e){if(void 0!==e.data("hover-border-color")){var a=function(e){e.data.button.css("border-color",e.data.color)},t=e.css("borderTopColor"),n=e.data("hover-border-color");e.on("mouseenter",{button:e,color:n},a),e.on("mouseleave",{button:e,color:t},a)}}(a(this)),function(e){if(void 0!==e.data("hover-outline-color")){var a=function(e){e.data.button.css("outline-color",e.data.color)},t=e.css("outlineColor"),n=e.data("hover-outline-color");e.on("mouseenter",{button:e,color:n},a),e.on("mouseleave",{button:e,color:t},a)}}(a(this))})}}}}(jQuery),function(n){"use strict";var e={};function a(){var e;(e=n(".mkdf-cards-gallery")).length&&e.each(function(){var a=n(this),t=a.find(".mkdf-cg-card");t.each(function(){var e=n(this);e.on("click",function(){if(!t.last().is(e))return e.addClass("mkdf-out mkdf-animating").siblings().addClass("mkdf-animating-siblings"),e.detach(),e.insertAfter(t.last()),setTimeout(function(){e.removeClass("mkdf-out")},200),setTimeout(function(){e.removeClass("mkdf-animating").siblings().removeClass("mkdf-animating-siblings")},1200),t=a.find(".mkdf-cg-card"),!1})}),a.hasClass("mkdf-bundle-animation")&&!mkdf.htmlEl.hasClass("touch")&&a.appear(function(){a.addClass("mkdf-appeared"),a.find("img").one("animationend webkitAnimationEnd MSAnimationEnd oAnimationEnd",function(){n(this).addClass("mkdf-animation-done")})},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.cardsGallery=e).mkdfOnWindowLoad=a,n(window).load(a)}(jQuery),function(p){"use strict";var e={};function a(){t()}function t(){var d,i,o,s,r,l,m,f,c,u,k,e=p(".mkdf-countdown"),h=(new Date).getMonth();e.length&&e.each(function(){var e,a,t=p(this).attr("id"),n=p("#"+t);d=n.data("year"),i=n.data("month"),o=n.data("day"),s=n.data("hour"),r=n.data("minute"),l=n.data("timezone"),m=n.data("month-label"),f=n.data("day-label"),c=n.data("hour-label"),u=n.data("minute-label"),k=n.data("second-label"),e=n.data("digit-size"),a=n.data("label-size"),h!==i&&(i-=1),n.countdown({until:new Date(d,i,o,s,r,44),labels:["",m,"",f,c,u,k],format:"ODHMS",timezone:l,padZeroes:!0,onTick:function(){n.find(".countdown-amount").css({"font-size":e+"px","line-height":e+"px"}),n.find(".countdown-period").css({"font-size":a+"px"})}})})}(mkdf.modules.countdown=e).mkdfInitCountdown=t,e.mkdfOnDocumentReady=a,p(document).ready(a)}(jQuery),function(n){"use strict";var e={};function a(){t()}function t(){var e=n(".mkdf-counter-holder");e.length&&e.each(function(){var a=n(this),t=a.find(".mkdf-counter");a.appear(function(){if(a.css("opacity","1"),t.hasClass("mkdf-zero-counter")){var e=parseFloat(t.text());t.countTo({from:0,to:e,speed:1500,refreshInterval:100})}else t.absoluteCounter({speed:2e3,fadeInDelay:1e3})},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.counter=e).mkdfInitCounter=t,e.mkdfOnDocumentReady=a,n(document).ready(a)}(jQuery),function(r){"use strict";var e={};function a(){n()}function t(){d()}function n(){var e=r(".mkdf-custom-font-holder");e.length&&e.each(function(){var e=r(this),a="",t="",n="",d="",i="",o="",s="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(a=e.data("item-class")),void 0!==e.data("font-size-1366")&&!1!==e.data("font-size-1366")&&(t+="font-size: "+e.data("font-size-1366")+" !important;"),void 0!==e.data("font-size-1024")&&!1!==e.data("font-size-1024")&&(n+="font-size: "+e.data("font-size-1024")+" !important;"),void 0!==e.data("font-size-768")&&!1!==e.data("font-size-768")&&(d+="font-size: "+e.data("font-size-768")+" !important;"),void 0!==e.data("font-size-680")&&!1!==e.data("font-size-680")&&(i+="font-size: "+e.data("font-size-680")+" !important;"),void 0!==e.data("line-height-1366")&&!1!==e.data("line-height-1366")&&(t+="line-height: "+e.data("line-height-1366")+" !important;"),void 0!==e.data("line-height-1024")&&!1!==e.data("line-height-1024")&&(n+="line-height: "+e.data("line-height-1024")+" !important;"),void 0!==e.data("line-height-768")&&!1!==e.data("line-height-768")&&(d+="line-height: "+e.data("line-height-768")+" !important;"),void 0!==e.data("line-height-680")&&!1!==e.data("line-height-680")&&(i+="line-height: "+e.data("line-height-680")+" !important;"),(t.length||n.length||d.length||i.length)&&(t.length&&(s+="@media only screen and (max-width: 1366px) {.mkdf-custom-font-holder."+a+" { "+t+" } }"),n.length&&(s+="@media only screen and (max-width: 1024px) {.mkdf-custom-font-holder."+a+" { "+n+" } }"),d.length&&(s+="@media only screen and (max-width: 768px) {.mkdf-custom-font-holder."+a+" { "+d+" } }"),i.length&&(s+="@media only screen and (max-width: 680px) {.mkdf-custom-font-holder."+a+" { "+i+" } }")),s.length&&(o='<style type="text/css">'+s+"</style>"),o.length&&r("head").append(o)})}function d(){var e=r(".mkdf-cf-typed");e.length&&e.each(function(){var e=r(this),a=e.parent(".mkdf-cf-typed-wrap").parent(".mkdf-custom-font-holder"),t=[],n=e.find(".mkdf-cf-typed-1").text(),d=e.find(".mkdf-cf-typed-2").text(),i=e.find(".mkdf-cf-typed-3").text(),o=e.find(".mkdf-cf-typed-4").text();n.length&&t.push(n),d.length&&t.push(d),i.length&&t.push(i),o.length&&t.push(o),a.appear(function(){e.typed({strings:t,typeSpeed:90,backDelay:700,loop:!0,contentType:"text",loopCount:!1,cursorChar:"_"})},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.customFont=e).mkdfCustomFontResize=n,e.mkdfCustomFontTypeOut=d,e.mkdfOnDocumentReady=a,e.mkdfOnWindowLoad=t,r(document).ready(a),r(window).load(t)}(jQuery),function(l){"use strict";var e={};function a(){t()}function t(){var e=l(".mkdf-elements-holder");e.length&&e.each(function(){var e=l(this).children(".mkdf-eh-item"),a="",r="";e.each(function(){var e=l(this),a="",t="",n="",d="",i="",o="";if(void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(a=e.data("item-class")),void 0!==e.data("1367-1600")&&!1!==e.data("1367-1600")&&(t=e.data("1367-1600")),void 0!==e.data("1025-1366")&&!1!==e.data("1025-1366")&&(n=e.data("1025-1366")),void 0!==e.data("769-1024")&&!1!==e.data("769-1024")&&(d=e.data("769-1024")),void 0!==e.data("681-768")&&!1!==e.data("681-768")&&(i=e.data("681-768")),void 0!==e.data("680")&&!1!==e.data("680")&&(o=e.data("680")),(t.length||n.length||d.length||i.length||o.length||"".length)&&(t.length&&(r+="@media only screen and (min-width: 1367px) and (max-width: 1600px) {.mkdf-eh-item-content."+a+" { padding: "+t+" !important; } }"),n.length&&(r+="@media only screen and (min-width: 1025px) and (max-width: 1366px) {.mkdf-eh-item-content."+a+" { padding: "+n+" !important; } }"),d.length&&(r+="@media only screen and (min-width: 769px) and (max-width: 1024px) {.mkdf-eh-item-content."+a+" { padding: "+d+" !important; } }"),i.length&&(r+="@media only screen and (min-width: 681px) and (max-width: 768px) {.mkdf-eh-item-content."+a+" { padding: "+i+" !important; } }"),o.length&&(r+="@media only screen and (max-width: 680px) {.mkdf-eh-item-content."+a+" { padding: "+o+" !important; } }")),"function"==typeof mkdf.modules.common.mkdfOwlSlider){var s=e.find(".mkdf-owl-slider");s.length&&setTimeout(function(){s.trigger("refresh.owl.carousel")},100)}}),r.length&&(a='<style type="text/css">'+r+"</style>"),a.length&&l("head").append(a)})}(mkdf.modules.elementsHolder=e).mkdfInitElementsHolderResponsiveStyle=t,e.mkdfOnDocumentReady=a,l(document).ready(a)}(jQuery),function(t){"use strict";var e={};function a(){n()}function n(){var e=t(".mkdf-expanded-gallery");e.length&&e.each(function(){var e=t(this),a=e.find(".mkdf-eg-image");e.find(".mkdf-eg-image:nth-child("+Math.ceil(a.length/2)+")").addClass("mkdf-eg-middle-item"),e.appear(function(){e.find(".mkdf-eg-middle-item").addClass("mkdf-eg-show"),setTimeout(function(){e.find(".mkdf-eg-middle-item").prev().addClass("mkdf-eg-show"),e.find(".mkdf-eg-middle-item").next().addClass("mkdf-eg-show")},250),e.hasClass("mkdf-eg-five")&&setTimeout(function(){e.find(".mkdf-eg-middle-item").prev().prev().addClass("mkdf-eg-show"),e.find(".mkdf-eg-middle-item").next().next().addClass("mkdf-eg-show")},500)},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.expandedGallery=e).mkdfInitExpandedGallery=n,e.mkdfOnDocumentReady=a,t(document).ready(a)}(jQuery),function(f){"use strict";var e={};function a(){t()}function t(){var e=f(".mkdf-full-screen-sections");e.length&&e.each(function(){var n=f(this),e=n.children(".mkdf-fss-wrapper"),d=e.children(".mkdf-fss-item"),i=d.length,o=d.hasClass("mkdf-fss-item-has-style"),a=!1,t="",s="",r="";mkdf.body.hasClass("mkdf-light-header")?r="light":mkdf.body.hasClass("mkdf-dark-header")&&(r="dark"),void 0!==n.data("enable-continuous-vertical")&&!1!==n.data("enable-continuous-vertical")&&"yes"===n.data("enable-continuous-vertical")&&(a=!0),void 0!==n.data("enable-navigation")&&!1!==n.data("enable-navigation")&&(t=n.data("enable-navigation")),void 0!==n.data("enable-pagination")&&!1!==n.data("enable-pagination")&&(s=n.data("enable-pagination"));var l="no"!==t,m="no"!==s;e.fullpage({sectionSelector:".mkdf-fss-item",scrollingSpeed:1200,verticalCentered:!1,continuousVertical:a,navigation:m,onLeave:function(e,a,t){o&&c(f(d[a-1]).data("header-style"),r),l&&u(n,i,a)},afterRender:function(){o&&c(d.first().data("header-style"),r),l&&(u(n,i,1),n.children(".mkdf-fss-nav-holder").css("visibility","visible")),e.css("visibility","visible")}}),function(e){var a=e.find(".mkdf-fss-item"),o="",t="";a.each(function(){var e=f(this),a="",t="",n="",d="",i="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(a=e.data("item-class")),void 0!==e.data("laptop-image")&&!1!==e.data("laptop-image")&&(t=e.data("laptop-image")),void 0!==e.data("tablet-image")&&!1!==e.data("tablet-image")&&(n=e.data("tablet-image")),void 0!==e.data("tablet-portrait-image")&&!1!==e.data("tablet-portrait-image")&&(d=e.data("tablet-portrait-image")),void 0!==e.data("mobile-image")&&!1!==e.data("mobile-image")&&(i=e.data("mobile-image")),(t.length||n.length||d.length||i.length)&&(t.length&&(o+="@media only screen and (max-width: 1366px) {.mkdf-fss-item."+a+" { background-image: url("+t+") !important; } }"),n.length&&(o+="@media only screen and (max-width: 1024px) {.mkdf-fss-item."+a+" { background-image: url( "+n+") !important; } }"),d.length&&(o+="@media only screen and (max-width: 800px) {.mkdf-fss-item."+a+" { background-image: url( "+d+") !important; } }"),i.length&&(o+="@media only screen and (max-width: 680px) {.mkdf-fss-item."+a+" { background-image: url( "+i+") !important; } }"))}),o.length&&(t='<style type="text/css">'+o+"</style>");t.length&&f("head").append(t)}(n),l&&(n.find("#mkdf-fss-nav-up").on("click",function(){return f.fn.fullpage.moveSectionUp(),!1}),n.find("#mkdf-fss-nav-down").on("click",function(){return f.fn.fullpage.moveSectionDown(),!1}))})}function c(e,a){void 0!==e&&""!==e?mkdf.body.removeClass("mkdf-light-header mkdf-dark-header").addClass("mkdf-"+e+"-header"):""!==a?mkdf.body.removeClass("mkdf-light-header mkdf-dark-header").addClass("mkdf-"+a+"-header"):mkdf.body.removeClass("mkdf-light-header mkdf-dark-header")}function u(e,a,t){var n=e,d=n.find("#mkdf-fss-nav-up"),i=n.find("#mkdf-fss-nav-down"),o=!1;void 0!==e.data("enable-continuous-vertical")&&!1!==e.data("enable-continuous-vertical")&&"yes"===e.data("enable-continuous-vertical")&&(o=!0),1!==t||o?t!==a||o?(d.css({opacity:"1",height:"auto",visibility:"visible"}),i.css({opacity:"1",height:"auto",visibility:"visible"})):(i.css({opacity:"0",height:"0",visibility:"hidden"}),2===a&&d.css({opacity:"1",height:"auto",visibility:"visible"})):(d.css({opacity:"0",height:"0",visibility:"hidden"}),i.css({opacity:"0",height:"0",visibility:"hidden"}),t!==a&&i.css({opacity:"1",height:"auto",visibility:"visible"}))}(mkdf.modules.fullScreenSections=e).mkdfInitFullScreenSections=t,e.mkdfOnDocumentReady=a,f(document).ready(a)}(jQuery),function(h){"use strict";var e={};function a(){t()}function t(){var e=h(".mkdf-google-map");e.length&&e.each(function(){var e,a,t,n,d,i,o,s,r,l,m=h(this),f=!1,c="";if(void 0!==m.data("snazzy-map-style")&&"yes"===m.data("snazzy-map-style")){f=!0;var u=m.parent().find(".mkdf-snazzy-map"),k=u.val();u.length&&k.length&&(c=JSON.parse(k.replace(/`{`/g,"[").replace(/`}`/g,"]").replace(/``/g,'"').replace(/`/g,"")))}void 0!==m.data("custom-map-style")&&(e=m.data("custom-map-style")),void 0!==m.data("color-overlay")&&!1!==m.data("color-overlay")&&(a=m.data("color-overlay")),void 0!==m.data("saturation")&&!1!==m.data("saturation")&&(t=m.data("saturation")),void 0!==m.data("lightness")&&!1!==m.data("lightness")&&(n=m.data("lightness")),void 0!==m.data("zoom")&&!1!==m.data("zoom")&&(d=m.data("zoom")),void 0!==m.data("pin")&&!1!==m.data("pin")&&(i=m.data("pin")),void 0!==m.data("height")&&!1!==m.data("height")&&(o=m.data("height")),void 0!==m.data("unique-id")&&!1!==m.data("unique-id")&&(s=m.data("unique-id")),void 0!==m.data("scroll-wheel")&&(r=m.data("scroll-wheel")),void 0!==m.data("addresses")&&!1!==m.data("addresses")&&(l=m.data("addresses")),function(e,a,t,n,d,i,o,s,r,l,m,f,c,u){if("object"!=typeof google)return;var k,h=[];h=e&&a.length?a:[{stylers:[{hue:n},{saturation:d},{lightness:i},{gamma:1}]}];k=e||"yes"===t?"mkdf-style":google.maps.MapTypeId.ROADMAP;o="yes"===o;var p=new google.maps.StyledMapType(h,{name:"Google Map"});c=new google.maps.Geocoder;var g=new google.maps.LatLng(-34.397,150.644);isNaN(l)||(l+="px");var v,y={zoom:s,scrollwheel:o,center:g,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.RIGHT_CENTER},scaleControl:!1,scaleControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},streetViewControl:!1,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},panControl:!1,panControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},mapTypeControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"mkdf-style"],style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.LEFT_CENTER},mapTypeId:k};for((f=new google.maps.Map(document.getElementById(r),y)).mapTypes.set("mkdf-style",p),v=0;v<u.length;++v)b(u[v],m,f,c);document.getElementById(r).style.height=l}(f,c,e,a,t,n,r,d,"mkdf-map-"+s,o,i,"map_"+s,"geocoder_"+s,l)})}function b(n,d,i,e){if(""!==n){var a='<div id="content"><div id="siteNotice"></div><div id="bodyContent"><p>'+n+"</p></div></div>",o=new google.maps.InfoWindow({content:a});e.geocode({address:n},function(e,a){if(a===google.maps.GeocoderStatus.OK){i.setCenter(e[0].geometry.location);var t=new google.maps.Marker({map:i,position:e[0].geometry.location,icon:d,title:n.store_title});google.maps.event.addListener(t,"click",function(){o.open(i,t)}),google.maps.event.addDomListener(window,"resize",function(){i.setCenter(e[0].geometry.location)})}})}}(mkdf.modules.googleMap=e).mkdfShowGoogleMap=t,e.mkdfOnDocumentReady=a,h(document).ready(a)}(jQuery),function(v){"use strict";var e={};function a(){t().init()}function t(){var i,e=v(".mkdf-horizontal-timeline");function a(e){e.each(function(){var e,o,a=v(this),t={};i=a.data("distance"),t.timelineNavWrapper=a.find(".mkdf-ht-nav-wrapper"),t.timelineNavWrapperWidth=t.timelineNavWrapper.width(),t.timelineNavInner=t.timelineNavWrapper.find(".mkdf-ht-nav-inner"),t.fillingLine=t.timelineNavInner.find(".mkdf-ht-nav-filling-line"),t.timelineEvents=t.timelineNavInner.find("a"),t.timelineDates=(e=t.timelineEvents,o=[],e.each(function(){var e=v(this),a=new String(e.data("date")),t=["2000","0","0"],n=["0","0"];if(4===a.length)t=[a,"0","0"];else{var d=a.split("T");t=d[0].split("/"),1<d.length?(t=d[0].split("/"),n=d[1].split(":")):0<=d[0].indexOf(":")&&(n=d[0].split(":"))}var i=new Date(t[2],t[1]-1,t[0],n[0],n[1]);o.push(i)}),o),t.eventsMinLapse=function(e){for(var a=[],t=1;t<e.length;t++){var n=p(e[t-1],e[t]);a.push(n)}return Math.min.apply(null,a)}(t.timelineDates),t.timelineNavigation=a.find(".mkdf-ht-nav-navigation"),t.timelineEventContent=a.find(".mkdf-ht-content"),t.timelineEvents.first().addClass("mkdf-selected"),t.timelineEventContent.find("li").first().addClass("mkdf-selected"),function(e,a){for(var t=0;t<e.timelineDates.length;t++){var n=p(e.timelineDates[0],e.timelineDates[t]),d=Math.round(n/e.eventsMinLapse)+2;e.timelineEvents.eq(t).css("left",d*a+"px")}}(t,i);var n=function(e,a){var t=p(e.timelineDates[0],e.timelineDates[e.timelineDates.length-1])/e.eventsMinLapse,n=(t=Math.round(t)+4)*a;n<e.timelineNavWrapperWidth&&(n=e.timelineNavWrapperWidth);return e.timelineNavInner.css("width",n+"px"),f(e.timelineNavInner.find("a.mkdf-selected"),e.fillingLine,n),l("next",e.timelineNavInner.find("a.mkdf-selected"),e),n}(t,i);a.addClass("mkdf-loaded"),t.timelineNavigation.on("click",".mkdf-next",function(e){e.preventDefault(),s(t,n,"next")}),t.timelineNavigation.on("click",".mkdf-prev",function(e){e.preventDefault(),s(t,n,"prev")}),t.timelineNavInner.on("click","a",function(e){e.preventDefault();var a=v(this);t.timelineEvents.removeClass("mkdf-selected"),a.addClass("mkdf-selected"),u(a),f(a,t.fillingLine,n),c(a,t.timelineEventContent)});var d=window.getComputedStyle(document.querySelector(".mkdf-horizontal-timeline"),"::before").getPropertyValue("content").replace(/'/g,"").replace(/"/g,"");t.timelineEventContent.on("swipeleft",function(){"mobile"===d&&r(t,n,"next")}),t.timelineEventContent.on("swiperight",function(){"mobile"===d&&r(t,n,"prev")}),v(document).keyup(function(e){"37"===e.which&&g(a.get(0))?r(t,n,"prev"):"39"===e.which&&g(a.get(0))&&r(t,n,"next")})})}function s(e,a,t){var n=k(e.timelineNavInner),d=Number(e.timelineNavWrapper.css("width").replace("px",""));"next"===t?m(e,n-d+i,d-a):m(e,n+d-i)}function r(e,a,t){var n=e.timelineEventContent.find(".mkdf-selected");if(0<("next"===t?n.next():n.prev()).length){var d=e.timelineNavInner.find(".mkdf-selected"),i="next"===t?d.parent("li").next("li").children("a"):d.parent("li").prev("li").children("a");f(i,e.fillingLine,a),c(i,e.timelineEventContent),i.addClass("mkdf-selected"),d.removeClass("mkdf-selected"),u(i),l(t,i,e)}}function l(e,a,t){var n=window.getComputedStyle(a.get(0),null),d=Number(n.getPropertyValue("left").replace("px","")),i=Number(t.timelineNavWrapper.css("width").replace("px","")),o=Number(t.timelineNavInner.css("width").replace("px","")),s=k(t.timelineNavInner);("next"===e&&i-s<d||"prev"===e&&d<-s)&&m(t,i/2-d,i-o)}function m(e,a,t){a=0<a?0:a,h(e.timelineNavInner.get(0),"translateX",(a=void 0!==t&&a<t?t:a)+"px"),0===a?e.timelineNavigation.find(".mkdf-prev").addClass("mkdf-inactive"):e.timelineNavigation.find(".mkdf-prev").removeClass("mkdf-inactive"),a===t?e.timelineNavigation.find(".mkdf-next").addClass("mkdf-inactive"):e.timelineNavigation.find(".mkdf-next").removeClass("mkdf-inactive")}function f(e,a,t){var n=window.getComputedStyle(e.get(0),null),d=n.getPropertyValue("left"),i=n.getPropertyValue("width"),o=(d=Number(d.replace("px",""))+Number(i.replace("px",""))/2)/t;h(a.get(0),"scaleX",o)}function c(e,a){var t=e.data("date"),n=a.find(".mkdf-selected"),d=a.find('[data-date="'+t+'"]'),i=d.height(),o="mkdf-selected mkdf-enter-left",s="mkdf-leave-right";d.index()>n.index()&&(o="mkdf-selected mkdf-enter-right",s="mkdf-leave-left"),d.attr("class",o),n.attr("class",s).one("webkitAnimationEnd oanimationend msAnimationEnd animationend",function(){n.removeClass("mkdf-leave-right mkdf-leave-left"),d.removeClass("mkdf-enter-left mkdf-enter-right")}),a.css("height",i+"px")}function u(e){e.parent("li").prevAll("li").children("a").addClass("mkdf-older-event").end().end().nextAll("li").children("a").removeClass("mkdf-older-event")}function k(e){var a,t=window.getComputedStyle(e.get(0),null),n=0;0<=(a=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("-moz-transform")||t.getPropertyValue("-ms-transform")||t.getPropertyValue("-o-transform")||t.getPropertyValue("transform")).indexOf("(")&&(n=(a=(a=(a=a.split("(")[1]).split(")")[0]).split(","))[4]);return Number(n)}function h(e,a,t){e.style["-webkit-transform"]=a+"("+t+")",e.style["-moz-transform"]=a+"("+t+")",e.style["-ms-transform"]=a+"("+t+")",e.style["-o-transform"]=a+"("+t+")",e.style.transform=a+"("+t+")"}function p(e,a){return Math.round(a-e)}function g(e){for(var a=e.offsetTop,t=e.offsetLeft,n=e.offsetWidth,d=e.offsetHeight;e.offsetParent;)a+=(e=e.offsetParent).offsetTop,t+=e.offsetLeft;return a<window.pageYOffset+window.innerHeight&&t<window.pageXOffset+window.innerWidth&&a+d>window.pageYOffset&&t+n>window.pageXOffset}return{init:function(){0<e.length&&a(e)}}}(mkdf.modules.timeline=e).mkdfInitHorizontalTimeline=t,e.mkdfOnDocumentReady=a,v(document).ready(a)}(jQuery),function(a){"use strict";var e={};function t(){n().init()}(mkdf.modules.icon=e).mkdfIcon=n,e.mkdfOnDocumentReady=t,a(document).ready(t);var n=function(){var e=a(".mkdf-icon-shortcode");return{init:function(){e.length&&e.each(function(){var e;(e=a(this)).hasClass("mkdf-icon-animation")&&e.appear(function(){e.parent(".mkdf-icon-animation-holder").addClass("mkdf-icon-animation-show")},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount}),function(e){if(void 0!==e.data("hover-color")){var a=function(e){e.data.icon.css("color",e.data.color)},t=e.find(".mkdf-icon-element"),n=e.data("hover-color"),d=t.css("color");""!==n&&(e.on("mouseenter",{icon:t,color:n},a),e.on("mouseleave",{icon:t,color:d},a))}}(a(this)),function(e){if(void 0!==e.data("hover-background-color")){var a=function(e){e.data.icon.css("background-color",e.data.color)},t=e.data("hover-background-color"),n=e.css("background-color");""!==t&&(e.on("mouseenter",{icon:e,color:t},a),e.on("mouseleave",{icon:e,color:n},a))}}(a(this)),function(e){if(void 0!==e.data("hover-border-color")){var a=function(e){e.data.icon.css("border-color",e.data.color)},t=e.data("hover-border-color"),n=e.css("borderTopColor");""!==t&&(e.on("mouseenter",{icon:e,color:t},a),e.on("mouseleave",{icon:e,color:n},a))}}(a(this))})}}}}(jQuery),function(a){"use strict";var e={};function t(){n().init()}(mkdf.modules.iconListItem=e).mkdfInitIconList=n,e.mkdfOnDocumentReady=t,a(document).ready(t);var n=function(){var e=a(".mkdf-animate-list");return{init:function(){e.length&&e.each(function(){var e;e=a(this),setTimeout(function(){e.appear(function(){e.addClass("mkdf-appeared")},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})},30)})}}}}(jQuery),function(i){"use strict";var e={};function a(){t()}function t(){var e=i(".mkdf-ils-holder");e.length&&e.each(function(){var t=i(this),n=t.find(".mkdf-ils-item-image"),d=t.find(".mkdf-ils-item-link");n.eq(0).addClass("mkdf-active"),t.find('.mkdf-ils-item-link[data-index="0"]').addClass("mkdf-active"),d.children().on("touchstart mouseenter",function(){var e=i(this).parent(),a=parseInt(e.data("index"),10);n.removeClass("mkdf-active").eq(a).addClass("mkdf-active"),d.removeClass("mkdf-active"),t.find('.mkdf-ils-item-link[data-index="'+a+'"]').addClass("mkdf-active")})})}(mkdf.modules.interactiveLinkShowcase=e).mkdfInitInteractiveLinkShowcase=t,e.mkdfOnDocumentReady=a,i(document).ready(a)}(jQuery),function(i){"use strict";var e={};function a(){t()}function t(){var e=i(".mkdf-item-showcase-holder");e.length&&e.each(function(){var a=i(this),e=a.find(".mkdf-is-left"),t=a.find(".mkdf-is-right"),n=a.find(".mkdf-is-image");function d(e){a.find(e).each(function(e){var a=i(this);setTimeout(function(){a.addClass("mkdf-appeared")},150*e)})}e.wrapAll("<div class='mkdf-is-item-holder mkdf-is-left-holder' />"),t.wrapAll("<div class='mkdf-is-item-holder mkdf-is-right-holder' />"),a.animate({opacity:1},200),setTimeout(function(){a.appear(function(){n.addClass("mkdf-appeared"),a.on("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(e){1200<mkdf.windowWidth?(d(".mkdf-is-left-holder .mkdf-is-item"),d(".mkdf-is-right-holder .mkdf-is-item")):d(".mkdf-is-item")})},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})},100)})}(mkdf.modules.itemShowcase=e).mkdfInitItemShowcase=t,e.mkdfOnDocumentReady=a,i(document).ready(a)}(jQuery),function(a){"use strict";var e={};function t(){n()}function n(){var e=a(".mkdf-pie-chart-holder");e.length&&e.each(function(){var t=a(this),n=t.children(".mkdf-pc-percentage"),d="#c19d56",i="#f7f7f7",o=176;void 0!==n.data("size")&&""!==n.data("size")&&(o=n.data("size")),void 0!==n.data("bar-color")&&""!==n.data("bar-color")&&(d=n.data("bar-color")),void 0!==n.data("track-color")&&""!==n.data("track-color")&&(i=n.data("track-color")),n.appear(function(){var e,a;e=n.find(".mkdf-pc-percent"),a=parseFloat(e.text()),e.countTo({from:0,to:a,speed:1500,refreshInterval:50}),t.css("opacity","1"),n.easyPieChart({barColor:d,trackColor:i,scaleColor:!1,lineCap:"square",lineWidth:3,animate:1500,size:o})},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.pieChart=e).mkdfInitPieChart=n,e.mkdfOnDocumentReady=t,a(document).ready(t)}(jQuery),function(a){"use strict";var e={};function t(){n()}function n(){var e=a(".mkdf-process-holder");e.length&&e.each(function(){var e=a(this);e.appear(function(){e.addClass("mkdf-process-appeared")},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.process=e).mkdfInitProcess=n,e.mkdfOnDocumentReady=t,a(document).ready(t)}(jQuery),function(o){"use strict";var e={};function a(){t()}function t(){var e=o(".mkdf-progress-bar");e.length&&e.each(function(){var t=o(this),n=t.find(".mkdf-pb-content"),d=t.find(".mkdf-pb-percent"),i=n.data("percentage");t.appear(function(){var e,a;e=d,a=parseFloat(i),e.length&&e.each(function(){var e=o(this);e.css("opacity","1"),e.countTo({from:0,to:a,speed:2e3,refreshInterval:50})}),n.css("width","0%").animate({width:i+"%"},2e3),t.hasClass("mkdf-pb-percent-floating")&&d.css("left","0%").animate({left:i+"%"},2e3)})})}(mkdf.modules.progressBar=e).mkdfInitProgressBars=t,e.mkdfOnDocumentReady=a,o(document).ready(a)}(jQuery),function(a){"use strict";var e={};function t(){n()}function n(){a(".mkdf-separator-advanced").each(function(){var e=a(this);e.appear(function(){e.addClass("mkdf-appeared")},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})})}(mkdf.modules.separator=e).mkdfInitSeparator=n,e.mkdfOnDocumentReady=t,a(document).ready(t)}(jQuery),function(t){"use strict";var e={};function a(){n()}function n(){var e=t(".mkdf-stacked-images-holder");e.length&&e.each(function(){var e=t(this),a=e.find(".mkdf-si-images");e.animate({opacity:1},200),setTimeout(function(){e.appear(function(){a.addClass("mkdf-appeared")},{accX:0,accY:mkdfGlobalVars.vars.mkdfElementAppearAmount})},100)})}(mkdf.modules.stackedImages=e).mkdfInitItemShowcase=n,e.mkdfOnDocumentReady=a,t(document).ready(a)}(jQuery),function(i){"use strict";var e={};function a(){t()}function t(){var e=i(".mkdf-tabs");e.length&&e.each(function(){var e=i(this);e.children(".mkdf-tab-container").each(function(e){e+=1;var a=i(this),t=a.attr("id"),n=a.parent().find(".mkdf-tabs-nav li:nth-child("+e+") a"),d=n.attr("href");-1<(t="#"+t).indexOf(d)&&n.attr("href",t)}),e.tabs(),i(".mkdf-tabs a.mkdf-external-link").unbind("click")})}(mkdf.modules.tabs=e).mkdfInitTabs=t,e.mkdfOnDocumentReady=a,i(document).ready(a)}(jQuery),function(r){"use strict";var e={};function a(){n(),t()}function t(){var e=r(".mkdf-text-marquee");e.length&&e.each(function(){var a=r(this),e=a.find(".mkdf-marquee-element"),i=e.filter(".mkdf-original-text"),o=e.filter(".mkdf-aux-text"),s=function(e){return a.outerWidth()>e.outerWidth()?a.outerWidth():e.outerWidth()};!function(){window.requestNextAnimationFrame=function(){var t=void 0,n=void 0,e=navigator.userAgent,a=0,d=this;return window.webkitRequestAnimationFrame&&(n=function(e){void 0===e&&(e=+new Date),d.callback(e)},t=window.webkitRequestAnimationFrame,window.webkitRequestAnimationFrame=function(e,a){d.callback=e,t(n,a)}),window.mozRequestAnimationFrame&&(a=e.indexOf("rv:"),-1!==e.indexOf("Gecko")&&"2.0"===e.substr(a+3,3)&&(window.mozRequestAnimationFrame=void 0)),window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,a){var t,n;window.setTimeout(function(){t=+new Date,e(t),n=+new Date,d.timeout=1e3/60-(n-t)},d.timeout)}}();var d=s(i);e.css({width:d}),o.css("left",d),e.each(function(e){var a=r(this),t=0,n=function(){t-=1,a.position().left<=-d&&(a.css("left",parseInt(d-1)),t=0),a.css("transform","translate3d("+.8*t+"px,0,0)"),requestNextAnimationFrame(n),r(window).resize(function(){d=s(i),t=0,i.css("left",0),o.css("left",d)})};n()})}()})}function n(){var e=r(".mkdf-text-marquee");e.length&&e.each(function(){var e=r(this),a="",t="",n="",d="",i="",o="",s="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(a=e.data("item-class")),void 0!==e.data("font-size-1366")&&!1!==e.data("font-size-1366")&&(t+="font-size: "+e.data("font-size-1366")+" !important;"),void 0!==e.data("font-size-1024")&&!1!==e.data("font-size-1024")&&(n+="font-size: "+e.data("font-size-1024")+" !important;"),void 0!==e.data("font-size-768")&&!1!==e.data("font-size-768")&&(d+="font-size: "+e.data("font-size-768")+" !important;"),void 0!==e.data("font-size-680")&&!1!==e.data("font-size-680")&&(i+="font-size: "+e.data("font-size-680")+" !important;"),void 0!==e.data("line-height-1366")&&!1!==e.data("line-height-1366")&&(t+="line-height: "+e.data("line-height-1366")+" !important;"),void 0!==e.data("line-height-1024")&&!1!==e.data("line-height-1024")&&(n+="line-height: "+e.data("line-height-1024")+" !important;"),void 0!==e.data("line-height-768")&&!1!==e.data("line-height-768")&&(d+="line-height: "+e.data("line-height-768")+" !important;"),void 0!==e.data("line-height-680")&&!1!==e.data("line-height-680")&&(i+="line-height: "+e.data("line-height-680")+" !important;"),(t.length||n.length||d.length||i.length)&&(t.length&&(s+="@media only screen and (max-width: 1366px) {.mkdf-text-marquee."+a+" { "+t+" } }"),n.length&&(s+="@media only screen and (max-width: 1024px) {.mkdf-text-marquee."+a+" { "+n+" } }"),d.length&&(s+="@media only screen and (max-width: 768px) {.mkdf-text-marquee."+a+" { "+d+" } }"),i.length&&(s+="@media only screen and (max-width: 680px) {.mkdf-text-marquee."+a+" { "+i+" } }")),s.length&&(o='<style type="text/css">'+s+"</style>"),o.length&&r("head").append(o)})}(mkdf.modules.textMarquee=e).mkdfInitTextMarquee=t,e.mkdfTextMarqueeResize=n,e.mkdfOnDocumentReady=a,r(document).ready(a)}(jQuery),function(r){"use strict";var e={};function a(){t()}function t(){var o=r(".mkdf-uncovering-sections");o.length&&o.each(function(){var e=r(this),a=o.find(".curtains"),t=a.find(".mkdf-uss-item"),n=o.find(".mkdf-fss-shadow"),d=mkdf.body,i="";d.hasClass("mkdf-light-header")?i="light":d.hasClass("mkdf-dark-header")&&(i="dark"),d.addClass("mkdf-uncovering-section-on-page"),0<mkdfPerPageVars.vars.mkdfHeaderVerticalWidth&&1024<mkdf.windowWidth&&(t.css({left:mkdfPerPageVars.vars.mkdfHeaderVerticalWidth,width:"calc(100% - "+mkdfPerPageVars.vars.mkdfHeaderVerticalWidth+"px)"}),n.css({left:mkdfPerPageVars.vars.mkdfHeaderVerticalWidth,width:"calc(100% - "+mkdfPerPageVars.vars.mkdfHeaderVerticalWidth+"px)"})),a.curtain({scrollSpeed:400,nextSlide:function(){s(a,i)},prevSlide:function(){s(a,i)}}),s(a,i),function(e){var a=e.find(".mkdf-uss-item"),s="",t="";a.each(function(){var e=r(this),a=e.find(".mkdf-uss-image-holder"),t="",n="",d="",i="",o="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(t=e.data("item-class")),void 0!==a.data("laptop-image")&&!1!==a.data("laptop-image")&&(n=a.data("laptop-image")),void 0!==a.data("tablet-image")&&!1!==a.data("tablet-image")&&(d=a.data("tablet-image")),void 0!==a.data("tablet-portrait-image")&&!1!==a.data("tablet-portrait-image")&&(i=a.data("tablet-portrait-image")),void 0!==a.data("mobile-image")&&!1!==a.data("mobile-image")&&(o=a.data("mobile-image")),(n.length||d.length||i.length||o.length)&&(n.length&&(s+="@media only screen and (max-width: 1366px) {.mkdf-uss-item."+t+" .mkdf-uss-image-holder { background-image: url("+n+") !important; } }"),d.length&&(s+="@media only screen and (max-width: 1024px) {.mkdf-uss-item."+t+" .mkdf-uss-image-holder { background-image: url( "+d+") !important; } }"),i.length&&(s+="@media only screen and (max-width: 800px) {.mkdf-uss-item."+t+" .mkdf-uss-image-holder { background-image: url( "+i+") !important; } }"),o.length&&(s+="@media only screen and (max-width: 680px) {.mkdf-uss-item."+t+" .mkdf-uss-image-holder { background-image: url( "+o+") !important; } }"))}),s.length&&(t='<style type="text/css">'+s+"</style>");t.length&&r("head").append(t)}(a),e.addClass("mkdf-loaded")})}function s(e,a){var t=e.find(".current").data("header-style");void 0!==t&&""!==t?mkdf.body.removeClass("mkdf-light-header mkdf-dark-header").addClass("mkdf-"+t+"-header"):""!==a?mkdf.body.removeClass("mkdf-light-header mkdf-dark-header").addClass("mkdf-"+a+"-header"):mkdf.body.removeClass("mkdf-light-header mkdf-dark-header")}(mkdf.modules.uncoveringSections=e).mkdfInitUncoveringSections=t,e.mkdfOnDocumentReady=a,r(document).ready(a)}(jQuery),function(l){"use strict";var e={};function a(){t()}function t(){var o=l(".mkdf-vertical-split-slider"),s=!0;if(o.length){mkdf.body.hasClass("mkdf-vss-initialized")&&(mkdf.body.removeClass("mkdf-vss-initialized"),l.fn.multiscroll.destroy()),o.height(mkdf.windowHeight).animate({opacity:1},300);var r="";mkdf.body.hasClass("mkdf-light-header")?r="light":mkdf.body.hasClass("mkdf-dark-header")&&(r="dark"),o.multiscroll({scrollingSpeed:700,easing:"easeInOutQuart",navigation:!0,useAnchorsOnLoad:!1,sectionSelector:".mkdf-vss-ms-section",leftSelector:".mkdf-vss-ms-left",rightSelector:".mkdf-vss-ms-right",afterRender:function(){m(l(".mkdf-vss-ms-left .mkdf-vss-ms-section:first-child").data("header-style"),r),mkdf.body.addClass("mkdf-vss-initialized");var e=l("div.wpcf7 > form");e.length&&e.each(function(){var a=l(this);a.find(".wpcf7-submit").off().on("click",function(e){e.preventDefault(),wpcf7.submit(a)})});var a=l('<div class="mkdf-vss-responsive"></div>'),t=o.find(".mkdf-vss-ms-left > div"),n=o.find(".mkdf-vss-ms-right > div");o.after(a);for(var d=0;d<t.length;d++)a.append(l(t[d]).clone(!0)),a.append(l(n[t.length-1-d]).clone(!0));var i=l(".mkdf-vss-responsive .mkdf-google-map");i.length&&i.each(function(){var e=l(this);e.empty();var a=Math.floor(1e5*Math.random()+1);e.attr("id","mkdf-map-"+a),e.data("unique-id",a)}),"function"==typeof mkdf.modules.animationHolder.mkdfInitAnimationHolder&&mkdf.modules.animationHolder.mkdfInitAnimationHolder(),"function"==typeof mkdf.modules.button.mkdfButton&&mkdf.modules.button.mkdfButton().init(),"function"==typeof mkdf.modules.elementsHolder.mkdfInitElementsHolderResponsiveStyle&&mkdf.modules.elementsHolder.mkdfInitElementsHolderResponsiveStyle(),"function"==typeof mkdf.modules.googleMap.mkdfShowGoogleMap&&mkdf.modules.googleMap.mkdfShowGoogleMap(),"function"==typeof mkdf.modules.icon.mkdfIcon&&mkdf.modules.icon.mkdfIcon().init(),s&&"function"==typeof mkdf.modules.progressBar.mkdfInitProgressBars&&(l(".mkdf-vss-ms-left .mkdf-vss-ms-section.active").find(".mkdf-progress-bar").length||l(".mkdf-vss-ms-right .mkdf-vss-ms-section.active").find(".mkdf-progress-bar").length)&&(mkdf.modules.progressBar.mkdfInitProgressBars(),s=!1)},onLeave:function(e,a){var t,n;s&&"function"==typeof mkdf.modules.progressBar.mkdfInitProgressBars&&(l(".mkdf-vss-ms-left .mkdf-vss-ms-section.active").find(".mkdf-progress-bar").length||l(".mkdf-vss-ms-right .mkdf-vss-ms-section.active").find(".mkdf-progress-bar").length)&&(setTimeout(function(){mkdf.modules.progressBar.mkdfInitProgressBars()},700),s=!1),n=a,(t=o).hasClass("mkdf-vss-scrolling-animation")&&(1<n&&!t.hasClass("mkdf-vss-scrolled")?t.addClass("mkdf-vss-scrolled"):1===n&&t.hasClass("mkdf-vss-scrolled")&&t.removeClass("mkdf-vss-scrolled")),m(l(l(".mkdf-vss-ms-left .mkdf-vss-ms-section")[a-1]).data("header-style"),r)}}),mkdf.windowWidth<=1024?l.fn.multiscroll.destroy():l.fn.multiscroll.build(),l(window).resize(function(){mkdf.windowWidth<=1024?l.fn.multiscroll.destroy():l.fn.multiscroll.build()})}}function m(e,a){void 0!==e&&""!==e?mkdf.body.removeClass("mkdf-light-header mkdf-dark-header").addClass("mkdf-"+e+"-header"):""!==a?mkdf.body.removeClass("mkdf-light-header mkdf-dark-header").addClass("mkdf-"+a+"-header"):mkdf.body.removeClass("mkdf-light-header mkdf-dark-header")}(mkdf.modules.verticalSplitSlider=e).mkdfInitVerticalSplitSlider=t,e.mkdfOnDocumentReady=a,l(document).ready(a)}(jQuery),function(s){"use strict";var e={};function a(){var e;(e=s(".mkdf-fsis-slider")).length&&e.each(function(){var a=s(this),e=a.parent(),t=e.children(".mkdf-fsis-prev-nav"),n=e.children(".mkdf-fsis-next-nav"),d=e.children(".mkdf-fsis-slider-mask");e.addClass("mkdf-fsis-is-init"),i(a),o(a,t,n,-1),a.on("drag.owl.carousel",function(){setTimeout(function(){d.hasClass("mkdf-drag")||e.hasClass("mkdf-fsis-active")||d.addClass("mkdf-drag")},200)}),a.on("dragged.owl.carousel",function(){setTimeout(function(){d.hasClass("mkdf-drag")&&d.removeClass("mkdf-drag")},300)}),a.on("translate.owl.carousel",function(e){o(a,t,n,e.item.index)}),a.on("translated.owl.carousel",function(){i(a),setTimeout(function(){d.removeClass("mkdf-drag")},300)})})}function i(a){var e,t=a.find(".owl-item.active");if(a.find(".mkdf-fsis-item").removeClass("mkdf-fsis-content-image-init"),(e=a.find(".mkdf-fsis-item")).length&&e.removeClass("mkdf-fsis-active-image"),t.length){var n=t.find(".mkdf-fsis-item"),d=n.children(".mkdf-fsis-image");setTimeout(function(){n.addClass("mkdf-fsis-content-image-init")},100),d.off().on("mouseenter",function(){n.addClass("mkdf-fsis-image-hover")}).on("mouseleave",function(){n.removeClass("mkdf-fsis-image-hover")}).on("click",function(){n.hasClass("mkdf-fsis-active-image")?(a.trigger("play.owl.autoplay"),a.parent().removeClass("mkdf-fsis-active"),n.removeClass("mkdf-fsis-active-image")):(a.trigger("stop.owl.autoplay"),a.parent().addClass("mkdf-fsis-active"),n.addClass("mkdf-fsis-active-image"))}),s(document).keyup(function(e){27===e.keyCode&&(a.trigger("play.owl.autoplay"),a.parent().removeClass("mkdf-fsis-active"),n.removeClass("mkdf-fsis-active-image"))})}}function o(e,a,t,n){var d=-1===n?e.find(".owl-item.active"):s(e.find(".owl-item")[n]),i=d.prev().find(".mkdf-fsis-image").css("background-image"),o=d.next().find(".mkdf-fsis-image").css("background-image");i.length&&a.css({"background-image":i}),o.length&&t.css({"background-image":o})}(mkdf.modules.fullScreenImageSlider=e).mkdfOnWindowLoad=a,s(window).load(a)}(jQuery),function(u){"use strict";var e={};function a(){var e,a;(e=u(".mkdf-portfolio-list-holder .mkdf-pl-filter-holder")).length&&e.each(function(){var d=u(this),i=d.closest(".mkdf-portfolio-list-holder"),o=i.find(".mkdf-pl-inner"),s=!!i.hasClass("mkdf-pl-pag-load-more");d.find(".mkdf-pl-filter:first").addClass("mkdf-pl-current"),i.hasClass("mkdf-pl-gallery")&&o.isotope(),d.find(".mkdf-pl-filter").on("click",function(){var e=u(this),a=e.attr("data-filter"),t=a.length?a.substring(1):"",n=!!o.children().hasClass(t);e.parent().children(".mkdf-pl-filter").removeClass("mkdf-pl-current"),e.addClass("mkdf-pl-current"),s&&!n&&a.length?function n(e,a,t){var d=e,i=d.find(".mkdf-pl-inner"),o=a,s=t,r=0;void 0!==d.data("max-num-pages")&&!1!==d.data("max-num-pages")&&(r=d.data("max-num-pages"));var l=mkdf.modules.common.getLoadMoreData(d),m=l.nextPage,f=mkdf.modules.common.setLoadMoreAjaxData(l,"dolcino_core_portfolio_ajax_load_more"),c=d.find(".mkdf-pl-loading");m<=r&&(c.addClass("mkdf-showing mkdf-filter-trigger"),i.css("opacity","0"),u.ajax({type:"POST",data:f,url:mkdfGlobalVars.vars.mkdfAjaxUrl,success:function(e){m++,d.data("next-page",m);var a=u.parseJSON(e),t=a.html;d.waitForImages(function(){i.append(t).isotope("reloadItems").isotope({sortBy:"original-order"});var e=!!i.children().hasClass(s);e?setTimeout(function(){mkdf.modules.common.setFixedImageProportionSize(d,i.find("article"),i.find(".mkdf-masonry-grid-sizer").width(),!0),i.isotope("layout").isotope({filter:o}),c.removeClass("mkdf-showing mkdf-filter-trigger"),setTimeout(function(){i.css("opacity","1"),k(),mkdf.modules.common.mkdfInitParallax()},150)},400):(c.removeClass("mkdf-showing mkdf-filter-trigger"),n(d,o,s))})}}))}(i,a,t):(a=0===a.length?"*":a,d.parent().children(".mkdf-pl-inner").isotope({filter:a}),mkdf.modules.common.mkdfInitParallax())})}),k(),n().init(),(a=u(".mkdf-portfolio-slider-holder")).length&&a.hasClass("mkdf-slide-on-mouse-scroll")&&a.each(function(){var e=u(this).find(".mkdf-owl-slider");e.length&&e.each(function(){var t=u(this);t.on("mousewheel",".owl-stage",function(e){if(!t.data("mkdf-active")){var a=u(this);e.deltaY<0?a.trigger("next.owl"):a.trigger("prev.owl"),e.preventDefault()}})})})}function t(){n().scroll()}function k(){var e=u(".mkdf-portfolio-list-holder.mkdf-pl-has-animation");e.length&&e.each(function(){u(this).children(".mkdf-pl-inner").children("article").each(function(e){var a=u(this);a.appear(function(){a.addClass("mkdf-item-show"),setTimeout(function(){a.addClass("mkdf-item-shown")},1e3)},{accX:0,accY:0})})})}function n(){var e=u(".mkdf-portfolio-list-holder"),d=function(e){var a=e.outerHeight()+e.offset().top-mkdfGlobalVars.vars.mkdfAddForAdminBar;!e.hasClass("mkdf-pl-infinite-scroll-started")&&mkdf.scroll+mkdf.windowHeight>a&&i(e)},i=function(t,n){var d,i,o=t.find(".mkdf-pl-inner");void 0!==t.data("max-num-pages")&&!1!==t.data("max-num-pages")&&(i=t.data("max-num-pages")),t.hasClass("mkdf-pl-pag-standard")&&t.data("next-page",n),t.hasClass("mkdf-pl-pag-infinite-scroll")&&t.addClass("mkdf-pl-infinite-scroll-started");var e=mkdf.modules.common.getLoadMoreData(t),s=t.find(".mkdf-pl-loading");if((d=e.nextPage)<=i||0===i){t.hasClass("mkdf-pl-pag-standard")?(s.addClass("mkdf-showing mkdf-standard-pag-trigger"),t.addClass("mkdf-pl-pag-standard-animate")):s.addClass("mkdf-showing");var a=mkdf.modules.common.setLoadMoreAjaxData(e,"dolcino_core_portfolio_ajax_load_more");u.ajax({type:"POST",data:a,url:mkdfGlobalVars.vars.mkdfAjaxUrl,success:function(e){t.hasClass("mkdf-pl-pag-standard")||d++,t.data("next-page",d);var a=u.parseJSON(e).html;t.hasClass("mkdf-pl-pag-standard")?(r(t,i,d),t.waitForImages(function(){t.hasClass("mkdf-pl-masonry")?l(t,o,s,a):t.hasClass("mkdf-pl-gallery")&&t.hasClass("mkdf-pl-has-filter")?l(t,o,s,a):m(t,o,s,a)})):t.waitForImages(function(){t.hasClass("mkdf-pl-masonry")?1===n?l(t,o,s,a):f(t,o,s,a):t.hasClass("mkdf-pl-gallery")&&t.hasClass("mkdf-pl-has-filter")&&1!==n?f(t,o,s,a):1===n?m(t,o,s,a):c(o,s,a)}),t.hasClass("mkdf-pl-infinite-scroll-started")&&t.removeClass("mkdf-pl-infinite-scroll-started")}})}d===i&&t.find(".mkdf-pl-load-more-holder").hide()},r=function(e,a,t){var n=e.find(".mkdf-pl-standard-pagination"),d=n.find("li.mkdf-pag-number"),i=n.find("li.mkdf-pag-prev a"),o=n.find("li.mkdf-pag-next a");d.removeClass("mkdf-pag-active"),d.eq(t-1).addClass("mkdf-pag-active"),i.data("paged",t-1),o.data("paged",t+1),1<t?i.css({opacity:"1"}):i.css({opacity:"0"}),t===a?o.css({opacity:"0"}):o.css({opacity:"1"})},l=function(e,a,t,n){a.find("article").remove(),a.append(n),mkdf.modules.common.setFixedImageProportionSize(e,a.find("article"),a.find(".mkdf-masonry-grid-sizer").width(),!0),a.isotope("reloadItems").isotope({sortBy:"original-order"}),t.removeClass("mkdf-showing mkdf-standard-pag-trigger"),e.removeClass("mkdf-pl-pag-standard-animate"),setTimeout(function(){a.isotope("layout"),k(),mkdf.modules.common.mkdfInitParallax(),mkdf.modules.common.mkdfPrettyPhoto()},600)},m=function(e,a,t,n){t.removeClass("mkdf-showing mkdf-standard-pag-trigger"),e.removeClass("mkdf-pl-pag-standard-animate"),a.html(n),k(),mkdf.modules.common.mkdfInitParallax(),mkdf.modules.common.mkdfPrettyPhoto()},f=function(e,a,t,n){a.append(n),mkdf.modules.common.setFixedImageProportionSize(e,a.find("article"),a.find(".mkdf-masonry-grid-sizer").width(),!0),a.isotope("reloadItems").isotope({sortBy:"original-order"}),t.removeClass("mkdf-showing"),setTimeout(function(){a.isotope("layout"),k(),mkdf.modules.common.mkdfInitParallax(),mkdf.modules.common.mkdfPrettyPhoto()},600)},c=function(e,a,t){a.removeClass("mkdf-showing"),e.append(t),k(),mkdf.modules.common.mkdfInitParallax(),mkdf.modules.common.mkdfPrettyPhoto()};return{init:function(){e.length&&e.each(function(){var n,e,a,t=u(this);t.hasClass("mkdf-pl-pag-standard")&&(e=(n=t).find(".mkdf-pl-standard-pagination li")).length&&e.each(function(){var a=u(this).children("a"),t=1;a.on("click",function(e){e.preventDefault(),e.stopPropagation(),void 0!==a.data("paged")&&!1!==a.data("paged")&&(t=a.data("paged")),i(n,t)})}),t.hasClass("mkdf-pl-pag-load-more")&&(a=t).find(".mkdf-pl-load-more a").on("click",function(e){e.preventDefault(),e.stopPropagation(),i(a)}),t.hasClass("mkdf-pl-pag-infinite-scroll")&&d(t)})},scroll:function(){e.length&&e.each(function(){var e=u(this);e.hasClass("mkdf-pl-pag-infinite-scroll")&&d(e)})},getMainPagFunction:function(e,a){i(e,a)}}}(mkdf.modules.portfolioList=e).mkdfOnWindowLoad=a,e.mkdfOnWindowScroll=t,u(window).load(a),u(window).scroll(t)}(jQuery),function(m){"use strict";var e={};function a(){t()}function t(){var e=m(".mkdf-testimonials-holder.mkdf-testimonials-carousel");e.length&&e.each(function(){var e=m(this),a=e.find(".mkdf-testimonials-main"),d=e.children(".mkdf-testimonial-image-nav"),t=!0,n=!0,i=5e3,o=600,s=!1;if("no"===a.data("enable-loop")&&(t=!1),"no"===a.data("enable-autoplay")&&(n=!1),void 0!==a.data("slider-speed")&&!1!==a.data("slider-speed")&&(i=a.data("slider-speed")),void 0!==a.data("slider-speed-animation")&&!1!==a.data("slider-speed-animation")&&(o=a.data("slider-speed-animation")),mkdf.windowWidth<680&&(s=!0),a.length&&d.length){var r=a.owlCarousel({items:1,loop:t,autoplay:n,autoplayTimeout:i,smartSpeed:o,autoplayHoverPause:!1,dots:!1,nav:!1,mouseDrag:!1,touchDrag:s,onInitialize:function(){a.css("visibility","visible")}}),l=d.owlCarousel({loop:t,autoplay:n,autoplayTimeout:i,smartSpeed:o,autoplayHoverPause:!1,center:!0,dots:!1,nav:!1,mouseDrag:!1,touchDrag:!1,responsive:{1025:{items:5},0:{items:3}},onInitialize:function(){d.css("visibility","visible"),e.css("opacity","1")}});d.find(".owl-item").on("click touchpress",function(e){e.preventDefault();var a=m(this).index(),t=d.find(".owl-item.cloned").length,n=0<=a-t/2?a-t/2:a;l.trigger("to.owl.carousel",n),r.trigger("to.owl.carousel",n)})}})}(mkdf.modules.testimonialsCarousel=e).mkdfInitTestimonials=t,e.mkdfOnWindowLoad=a,m(window).load(a)}(jQuery),function(u){"use strict";var e={};function a(){var e;(e=u(".mkdf-testimonials-image-pagination-inner")).length&&e.each(function(){var t=u(this),e=t.children().length,a=!0,n=!0,d=3500,i=500,o=!1,s=!1,r=!1,l=!0,m=!1,f=t;if("no"===f.data("enable-loop")&&(a=!1),void 0!==f.data("slider-speed")&&!1!==f.data("slider-speed")&&(d=f.data("slider-speed")),void 0!==f.data("slider-speed-animation")&&!1!==f.data("slider-speed-animation")&&(i=f.data("slider-speed-animation")),"yes"===f.data("enable-auto-width")&&(o=!0),void 0!==f.data("slider-animate-in")&&!1!==f.data("slider-animate-in")&&(s=f.data("slider-animate-in")),void 0!==f.data("slider-animate-out")&&!1!==f.data("slider-animate-out")&&(r=f.data("slider-animate-out")),"no"===f.data("enable-navigation")&&(l=!1),"yes"===f.data("enable-pagination")&&(m=!0),l&&m&&t.addClass("mkdf-slider-has-both-nav"),m){var c="#mkdf-testimonial-pagination";u(".mkdf-tsp-item").on("click",function(){t.trigger("to.owl.carousel",[u(this).index(),300])})}e<=1&&(m=l=n=a=!1),t.waitForImages(function(){u(this).owlCarousel({items:1,loop:a,autoplay:n,autoplayHoverPause:!1,autoplayTimeout:d,smartSpeed:i,margin:0,stagePadding:0,center:!1,autoWidth:o,animateIn:s,animateOut:r,dots:m,dotsContainer:c,nav:l,drag:!0,callbacks:!0,navText:['<span class="mkdf-prev-icon ion-chevron-left"></span>','<span class="mkdf-next-icon ion-chevron-right"></span>'],onInitialize:function(){t.css("visibility","visible")},onDrag:function(e){if(mkdf.body.hasClass("mkdf-smooth-page-transitions-fadeout")){var a=0<e.isTrigger;a&&t.addClass("mkdf-slider-is-moving")}},onDragged:function(){mkdf.body.hasClass("mkdf-smooth-page-transitions-fadeout")&&t.hasClass("mkdf-slider-is-moving")&&setTimeout(function(){t.removeClass("mkdf-slider-is-moving")},500)}})})})}(mkdf.modules.testimonialsImagePagination=e).mkdfOnDocumentReady=a,u(document).ready(a)}(jQuery);