!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function D(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t){return"string"==typeof t}function d(t){return"function"==typeof t}function S(t){return"number"==typeof t}function o(t){return void 0===t}function C(t){return"object"==typeof t}function B(t){return!1!==t}function e(){return"undefined"!=typeof window}function w(t){return d(t)||E(t)}function i(t){return(vt=ct(t,Jt))&&ei}function M(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function A(t,e){return!e&&console.warn(t)}function s(t,e){return t&&(Jt[t]=e)&&vt&&(vt[t]=e)||Jt}function P(){return 0}function H(t){var e,i,n=t[0];if(C(n)||d(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=re.length;i--&&!re[i].targetTest(n););e=re[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Ae(t[i],e)))||t.splice(i,1);return t}function G(t){return t._gsap||H(de(t))[0]._gsap}function r(t,e){var i=t[e];return d(i)?t[e]():o(i)&&t.getAttribute(e)||i}function h(t,e){return(t=t.split(",")).forEach(e)||t}function F(t){return Math.round(1e5*t)/1e5||0}function a(t,e,i){var n,o=S(t[1]),s=(o?2:1)+(e<2?0:1),r=t[s];if(o&&(r.duration=t[1]),r.parent=i,e){for(n=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=B(i.vars.inherit)&&i.parent;r.immediateRender=B(n.immediateRender),e<2?r.runBackwards=1:r.startAt=t[s-1]}return r}function L(){var t,e,i=ee.length,n=ee.slice(0);for(ie={},t=ee.length=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function l(t,e,i,n){ee.length&&L(),t.render(e,i,n),ee.length&&L()}function u(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(Zt).length<2?e:t}function c(t){return t}function O(t,e){for(var i in e)i in t||(t[i]=e[i]);return t}function p(t,e){for(var i in e)i in t||"duration"===i||"ease"===i||(t[i]=e[i])}function f(t,e){for(var i in e)t[i]=C(e[i])?f(t[i]||(t[i]={}),e[i]):e[i];return t}function R(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n}function _(t){var e=t.parent||ft,i=t.keyframes?p:O;if(B(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent;return t}function m(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var o=e._prev,s=e._next;o?o._next=s:t[i]===e&&(t[i]=s),s?s._prev=o:t[n]===e&&(t[n]=o),e._next=e._prev=e.parent=null}function z(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function g(t){for(var e=t;e;)e._dirty=1,e=e.parent;return t}function y(t){return t._repeat?dt(t._tTime,t=t.duration()+t._rDelay)*t:0}function v(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function x(t){return t._end=F(t._start+(t._tDur/Math.abs(t._ts||t._pauseTS||Ot)||0))}function k(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=v(t.rawTime(),e),(!e._dur||ue(0,e.totalDuration(),i)-e._tTime>Ot)&&e.render(i,!0)),g(t)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)0<=i.rawTime()&&i.totalTime(i._tTime),i=i._dp;t._zTime=-Ot}}function T(t,e,i,n){return e.parent&&z(e),e._start=F(i+e._delay),e._end=F(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,i,n,o){void 0===i&&(i="_first");var s,r=t[n=void 0===n?"_last":n];if(o)for(s=e[o];r&&r[o]>s;)r=r._prev;r?(e._next=r._next,r._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=r,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,n||k(t,e),t}function I(t,e,i,n){return ke(t,e),!t._initted||!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&bt!==ge.frame&&(ee.push(t),t._lazy=[e,n])}function b(t,e,i){var n=t._repeat,e=F(e);return t._dur=e,t._tDur=n?n<0?1e12:F(e*(n+1)+t._rDelay*n):e,i||g(t.parent),t.parent&&x(t),t}function N(t){return t instanceof Ee?g(t):b(t,t._dur)}function W(t,e){var i,n=t.labels,o=t._recent||le,s=t.duration()>=Lt?o.endTime(!1):t._dur;return E(e)&&(isNaN(e)||e in n)?"<"===(i=e.charAt(0))||">"===i?("<"===i?o._start:o.endTime(0<=o._repeat))+(parseFloat(e.substr(1))||0):(i=e.indexOf("="))<0?(e in n||(n[e]=s),n[e]):(n=+(e.charAt(i-1)+e.substr(i+1)),1<i?W(t,e.substr(0,i-1))+n:s+n):null==e?s:+e}function V(t,e){return t||0===t?e(t):e}function $(t){return(t+"").substr((parseFloat(t)+"").length)}function X(t,e){return t&&C(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&C(t[0]))&&!t.nodeType&&t!==mt}function j(t){return t.sort(function(){return.5-Math.random()})}function Y(t){if(d(t))return t;var p=C(t)?t:{each:t},f=Se(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},t=0<m&&m<1,v=isNaN(m)||t,T=p.axis,b=m,D=m;return E(m)?b=D={center:.5,edges:.5,end:1}[m]||0:!t&&v&&(b=m[0],D=m[1]),function(t,e,i){var n,o,s,r,a,l,u,c,d=(i||p).length,h=y[d];if(!h){if(!(c="auto"===p.grid?0:(p.grid||[1,Lt])[1])){for(l=-Lt;l<(l=i[c++].getBoundingClientRect().left)&&c<d;);c--}for(h=y[d]=[],n=v?Math.min(c,d)*b-.5:m%c,o=v?d*D/c-.5:m/c|0,u=Lt,a=l=0;a<d;a++)s=a%c-n,r=o-(a/c|0),h[a]=r=T?Math.abs("y"===T?r:s):Wt(s*s+r*r),l<r&&(l=r),r<u&&(u=r);"random"===m&&j(h),h.max=l-u,h.min=u,h.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<c?d-1:T?"y"===T?d/c:c:Math.max(c,d/c))||0)*("edges"===m?-1:1),h.b=d<0?g-d:g,h.u=$(p.amount||p.each)||0,f=f&&d<0?De(f):f}return d=(h[t]-h.min)/h.max||0,F(h.b+(f?f(d):d)*h.v)+h.u}}function U(e){var i=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return~~(Math.round(parseFloat(t)/e)*e*i)/i+(S(t)?0:$(t))}}function q(l,t){var u,c,e=Xt(l);return!e&&C(l)&&(u=e=l.radius||Lt,l.values?(l=de(l.values),(c=!S(l[0]))&&(u*=u)):l=U(l.increment)),V(t,e?d(l)?function(t){return c=l(t),Math.abs(c-t)<=u?c:t}:function(t){for(var e,i,n=parseFloat(c?t.x:t),o=parseFloat(c?t.y:0),s=Lt,r=0,a=l.length;a--;)(e=c?(e=l[a].x-n)*e+(i=l[a].y-o)*i:Math.abs(l[a]-n))<s&&(s=e,r=a);return r=!u||s<=u?l[r]:t,c||r===t||S(t)?r:r+$(t)}:U(l))}function K(t,e,i,n){return V(Xt(t)?!e:!0===i?!!(i=0):!n,function(){return Xt(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&~~(Math.round((t+Math.random()*(e-t))/i)*i*n)/n})}function Q(e,i,t){return V(t,function(t){return e[~~i(t)]})}function Z(t){for(var e,i,n,o,s=0,r="";~(e=t.indexOf("random(",s));)n=t.indexOf(")",e),o="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(o?Zt:jt),r+=t.substr(s,e-s)+K(o?i:+i[0],+i[1],+i[2]||1e-5),s=n+1;return r+t.substr(s,t.length-s)}function J(t,e,i){var n,o,s,r=t.labels,a=Lt;for(n in r)(o=r[n]-e)<0==!!i&&o&&a>(o=Math.abs(o))&&(s=n,a=o);return s}function tt(t){return z(t),t.progress()<1&&pt(t,"onInterrupt"),t}function et(t,e,i){return(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*he+.5|0}function it(t,e,i){var n,o,s,r,a,l,u,c=t?S(t)?[t>>16,t>>8&he,t&he]:0:pe.black;if(!c){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),pe[t])c=pe[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(o=t.charAt(2))+o+(s=t.charAt(3))+s),c=[(t=parseInt(t.substr(1),16))>>16,t>>8&he,t&he];else if("hsl"===t.substr(0,3))if(c=u=t.match(jt),e){if(~t.indexOf("="))return c=t.match(Yt),i&&c.length<4&&(c[3]=1),c}else r=+c[0]%360/360,a=c[1]/100,n=2*(l=c[2]/100)-(o=l<=.5?l*(a+1):l+a-l*a),3<c.length&&(c[3]*=1),c[0]=et(r+1/3,n,o),c[1]=et(r,n,o),c[2]=et(r-1/3,n,o);else c=t.match(jt)||pe.transparent;c=c.map(Number)}return e&&!u&&(n=c[0]/he,o=c[1]/he,s=c[2]/he,l=((t=Math.max(n,o,s))+(e=Math.min(n,o,s)))/2,t===e?r=a=0:(u=t-e,a=.5<l?u/(2-t-e):u/(t+e),r=t===n?(o-s)/u+(o<s?6:0):t===o?(s-n)/u+2:(n-o)/u+4,r*=60),c[0]=~~(r+.5),c[1]=~~(100*a+.5),c[2]=~~(100*l+.5)),i&&c.length<4&&(c[3]=1),c}function nt(t){var e=[],i=[],n=-1;return t.split(fe).forEach(function(t){t=t.match(Ut)||[];e.push.apply(e,t),i.push(n+=t.length+1)}),e.c=i,e}function ot(t,e,i){var n,o,s,r,a="",l=(t+a).match(fe),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map(function(t){return(t=it(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(s=nt(t),(n=i.c).join(a)!==s.c.join(a)))for(r=(o=t.replace(fe,"1").split(Ut)).length-1;c<r;c++)a+=o[c]+(~n.indexOf(c)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:i).shift());if(!o)for(r=(o=t.split(fe)).length-1;c<r;c++)a+=o[c]+l[c];return a+o[r]}function st(t){var e=t.join(" ");if(fe.lastIndex=0,fe.test(e))return e=me.test(e),t[1]=ot(t[1],e),t[0]=ot(t[0],e,nt(t[1])),!0}function rt(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var o,s={easeIn:e,easeOut:i,easeInOut:n};return h(t,function(t){for(var e in ve[t]=Jt[t]=s,ve[o=t.toLowerCase()]=i,s)ve[o+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=ve[t+"."+e]=s[e]}),1}function at(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function lt(i,t,e){function n(t){return 1===t?1:o*Math.pow(2,-10*t)*$t((t-s)*r)+1}var o=1<=t?t:1,s=(r=(e||(i?.3:.45))/(t<1?t:1))/Rt*(Math.asin(1/o)||0),t="out"===i?n:"in"===i?function(t){return 1-n(1-t)}:at(n),r=Rt/r;return t.config=function(t,e){return lt(i,t,e)},t}function ut(e,i){function n(t){return t?--t*t*((i+1)*t+i)+1:0}void 0===i&&(i=1.70158);var t="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:at(n);return t.config=function(t){return ut(e,t)},t}function ct(t,e){for(var i in e)t[i]=e[i];return t}function dt(t,e){return(t/=e)&&~~t===t?~~t-1:~~t}function ht(e,t,i,n,o){var s=t-e,r=n-i;return V(o,function(t){return i+(t-e)/s*r})}function pt(t,e,i){var n=t.vars,o=n[e];return o&&(e=n[e+"Params"],t=n.callbackScope||t,i&&ee.length&&L(),e?o.apply(t,e):o.call(t))}var ft,mt,gt,yt,vt,Tt,bt,Dt,St,Ct,wt,At,Pt,_t,Et,Mt,xt,kt,It,Bt,Ht,Gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ft={duration:.5,overwrite:!1,delay:0},Lt=1e8,Ot=1/Lt,Rt=2*Math.PI,zt=Rt/4,Nt=0,Wt=Math.sqrt,Vt=Math.cos,$t=Math.sin,Xt=Array.isArray,jt=/(?:-?\.?\d|\.)+/gi,Yt=/[-+=.]*\d+[.e\-+]*\d*[e\-\+]*\d*/g,Ut=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,qt=/[-+=.]*\d+(?:\.|e-|e)*\d*/gi,Kt=/\(([^()]+)\)/i,Qt=/[+-]=-?[\.\d]+/,Zt=/[#\-+.]*\b[a-z\d-=+%.]+/gi,Jt={},te={},ee=[],ie={},ne={},oe={},se=30,re=[],ae="",le={_start:0,endTime:P},ue=function(t,e,i){return i<t?t:e<i?e:i},ce=[].slice,de=function(t,e){return!E(t)||e||!gt&&ye()?Xt(t)?(i=e,void 0===n&&(n=[]),t.forEach(function(t){return E(t)&&!i||X(t,1)?n.push.apply(n,de(t)):n.push(t)})||n):X(t)?ce.call(t,0):t?[t]:[]:ce.call(yt.querySelectorAll(t),0);var i,n},he=255,pe={aqua:[0,he,he],lime:[0,he,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,he],navy:[0,0,128],white:[he,he,he],olive:[128,128,0],yellow:[he,he,0],orange:[he,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[he,0,0],pink:[he,192,203],cyan:[0,he,he],transparent:[he,he,he,0]},fe=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in pe)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),me=/hsl[a]?\(/,ge=(Pt=Date.now,_t=500,Et=33,Mt=Pt(),xt=Mt,It=kt=1/240,At={time:0,frame:0,tick:function(){Ce(!0)},wake:function(){Tt&&(!gt&&e()&&(mt=gt=window,yt=mt.document||{},Jt.gsap=ei,(mt.gsapVersions||(mt.gsapVersions=[])).push(ei.version),i(vt||mt.GreenSockGlobals||!mt.gsap&&mt||{}),wt=mt.requestAnimationFrame),St&&At.sleep(),Ct=wt||function(t){return setTimeout(t,1e3*(It-At.time)+1|0)},Dt=1,Ce(2))},sleep:function(){(wt?mt.cancelAnimationFrame:clearTimeout)(St),Dt=0,Ct=P},lagSmoothing:function(t,e){_t=t||1e8,Et=Math.min(e,_t,0)},fps:function(t){kt=1/(t||240),It=At.time+kt},add:function(t){Bt.indexOf(t)<0&&Bt.push(t),ye()},remove:function(t){~(t=Bt.indexOf(t))&&Bt.splice(t,1)},_listeners:Bt=[]}),ye=function(){return!Dt&&ge.wake()},ve={},Te=/^[\d.\-M][\d.\-,\s]/,be=/["']/g,De=function(e){return function(t){return 1-e(1-t)}},Se=function(t,e){return t&&(d(t)?t:ve[t]||(n=((i=t)+"").split("("),(t=ve[n[0]])&&1<n.length&&t.config?t.config.apply(null,~i.indexOf("{")?[function(t){for(var e,i,n,o={},s=t.substr(1,t.length-3).split(":"),r=s[0],a=1,l=s.length;a<l;a++)i=s[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),o[r]=isNaN(n)?n.replace(be,"").trim():+n,r=i.substr(e+1).trim();return o}(n[1])]:Kt.exec(i)[1].split(",").map(u)):ve._CE&&Te.test(i)?ve._CE("",i):t))||e;var i,n};function Ce(e){var t,i,n=Pt()-xt,o=!0===e;_t<n&&(Mt+=n-Et),xt+=n,At.time=(xt-Mt)/1e3,(0<(t=At.time-It)||o)&&(At.frame++,It+=t+(kt<=t?.004:kt-t),i=1),o||(St=Ct(Ce)),i&&Bt.forEach(function(t){return t(At.time,n,At.frame,e)})}function we(t){return t<1/2.75?Ht*t*t:t<.7272727272727273?Ht*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?Ht*(t-=2.25/2.75)*t+.9375:Ht*Math.pow(t-2.625/2.75,2)+.984375}h("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;rt(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2})}),ve.Linear.easeNone=ve.none=ve.Linear.easeIn,rt("Elastic",lt("in"),lt("out"),lt()),Ht=7.5625,rt("Bounce",function(t){return 1-we(1-t)},we),rt("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),rt("Circ",function(t){return-(Wt(1-t*t)-1)}),rt("Sine",function(t){return 1-Vt(t*zt)}),rt("Back",ut("in"),ut("out"),ut()),ve.SteppedEase=ve.steps=Jt.SteppedEase={config:function(t,e){var i=1/(t=void 0===t?1:t),n=t+(e?0:1),o=e?1:0;return function(t){return((n*ue(0,.99999999,t)|0)+o)*i}}},Ft.ease=ve["quad.out"],h("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ae+=t+","+t+"Params,"});var Ae=function(t,e){this.id=Nt++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:r,this.set=e?e.getSetter:Xe},Pe=((kn=_e.prototype).delay=function(t){return t||0===t?(this._delay=t,this):this._delay},kn.duration=function(t){return arguments.length?b(this,t):this.totalDuration()&&this._dur},kn.totalDuration=function(t){return arguments.length?(this._dirty=0,b(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},kn.totalTime=function(t,e){if(ye(),!arguments.length)return this._tTime;var i=this.parent||this._dp;if(i&&i.smoothChildTiming&&this._ts){for(this._start=F(i._time-(0<this._ts?t/this._ts:((this._dirty?this.totalDuration():this._tDur)-t)/-this._ts)),x(this),i._dirty||g(i);i.parent;)i.parent._time!==i._start+(0<=i._ts?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&T(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Ot)&&(this._ts||(this._pTime=t),l(this,t,e)),this},kn.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+y(this))%this._dur||(t?this._dur:0),e):this._time},kn.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},kn.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+y(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},kn.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?dt(this._tTime,i)+1:1},kn.timeScale=function(t){if(!arguments.length)return this._ts||this._pauseTS||0;if(null!==this._pauseTS)return this._pauseTS=t,this;var e=this.parent&&this._ts?v(this.parent._time,this):this._tTime;return this._ts=t,function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this.totalTime(e,!0))},kn.paused=function(t){var e=!this._ts;return arguments.length?(e!==t&&(t?(this._pauseTS=this._ts,this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ye(),this._ts=this._pauseTS||1,this._pauseTS=null,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=Ot)&&Math.abs(this._zTime)!==Ot))),this):e},kn.startTime=function(t){return arguments.length?(this.parent&&this.parent._sort&&T(this.parent,this,t-this._delay),this):this._start},kn.endTime=function(t){return this._start+(B(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},kn.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?v(e.rawTime(t),this):this._tTime:this._tTime},kn.repeat=function(t){return arguments.length?(this._repeat=t,N(this)):this._repeat},kn.repeatDelay=function(t){return arguments.length?(this._rDelay=t,N(this)):this._rDelay},kn.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},kn.seek=function(t,e){return this.totalTime(W(this,t),B(e))},kn.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,B(e))},kn.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},kn.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},kn.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},kn.resume=function(){return this.paused(!1)},kn.reversed=function(t){var e=this._ts||this._pauseTS||0;return arguments.length?(t!==this.reversed()&&(this[null===this._pauseTS?"_ts":"_pauseTS"]=Math.abs(e)*(t?-1:1),this.totalTime(this._tTime,!0)),this):e<0},kn.invalidate=function(){return this._initted=0,this._zTime=-Ot,this},kn.isActive=function(t){var e,i=this.parent||this._dp,n=this._start;return!(i&&!(this._ts&&(this._initted||!t)&&i.isActive(t)&&(e=i.rawTime(!0))>=n&&e<this.endTime(!0)-Ot))},kn.eventCallback=function(t,e,i){var n=this.vars;return 1<arguments.length?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},kn.then=function(n){var o=this;return new Promise(function(e){function t(){var t=o.then;o.then=null,d(i)&&(i=i(o))&&(i.then||i===o)&&(o.then=t),e(i),o.then=t}var i=d(n)?n:c;o._initted&&1===o.totalProgress()&&0<=o._ts||!o._tTime&&o._ts<0?t():o._prom=t})},kn.kill=function(){tt(this)},_e);function _e(t,e){var i=t.parent||ft;this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=t.reversed?-1:1,b(this,+t.duration,1),this.data=t.data,Dt||ge.wake(),i&&T(i,this,e||0===e?e:i._time,1),t.paused&&this.paused(!0)}O(Pe.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ot,_prom:0,_pauseTS:null});var Ee=function(i){function t(t,e){return(e=i.call(this,t=void 0===t?{}:t,e)||this).labels={},e.smoothChildTiming=!!t.smoothChildTiming,e.autoRemoveChildren=!!t.autoRemoveChildren,e._sort=B(t.sortChildren),e.parent&&k(e.parent,D(e)),e}n(t,i);var e=t.prototype;return e.to=function(t,e,i,n){return new Fe(t,a(arguments,0,this),W(this,S(e)?n:i)),this},e.from=function(t,e,i,n){return new Fe(t,a(arguments,1,this),W(this,S(e)?n:i)),this},e.fromTo=function(t,e,i,n,o){return new Fe(t,a(arguments,2,this),W(this,S(e)?o:n)),this},e.set=function(t,e,i){return e.duration=0,e.parent=this,_(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Fe(t,e,W(this,i),1),this},e.call=function(t,e,i){return T(this,Fe.delayedCall(0,t,e),W(this,i))},e.staggerTo=function(t,e,i,n,o,s,r){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=s,i.onCompleteParams=r,i.parent=this,new Fe(t,i,W(this,o)),this},e.staggerFrom=function(t,e,i,n,o,s,r){return i.runBackwards=1,_(i).immediateRender=B(i.immediateRender),this.staggerTo(t,e,i,n,o,s,r)},e.staggerFromTo=function(t,e,i,n,o,s,r,a){return n.startAt=i,_(n).immediateRender=B(n.immediateRender),this.staggerTo(t,e,n,o,s,r,a)},e.render=function(t,e,i){var n,o,s,r,a,l,u,c,d,h=this._time,p=this._dirty?this.totalDuration():this._tDur,f=this._dur,m=this!==ft&&p-Ot<t&&0<=t?p:t<Ot?0:t,g=this._zTime<0!=t<0&&(this._initted||!f);if(m!==this._tTime||i||g){if(h!==this._time&&f&&(m+=this._time-h,t+=this._time-h),n=m,u=this._start,r=!(l=this._ts),g&&(f||(h=this._zTime),!t&&e||(this._zTime=t)),this._repeat&&(v=this._yoyo,(f<(n=F(m%(y=f+this._rDelay)))||p===m)&&(n=f),(s=~~(m/y))&&s===m/y&&(n=f,s--),v&&1&s&&(n=f-n,d=1),s!==(c=dt(this._tTime,y))&&!this._lock)){var y=v&&1&c,v=y===(v&&1&s),h=(y=s<c?!y:y)?0:f;if(this._lock=1,this.render(h,e,!f)._lock=0,!e&&this.parent&&pt(this,"onRepeat"),this.vars.repeatRefresh&&!d&&(this.invalidate()._lock=1),h!==this._time||r!=!this._ts)return this;if(v&&(this._lock=2,this.render(h=y?f+1e-4:-1e-4,!0),this.vars.repeatRefresh&&!d&&this.invalidate()),this._lock=0,!this._ts&&!r)return this}if(this._hasPause&&!this._forcing&&this._lock<2&&(a=function(t,e,i){var n;if(e<i)for(n=t._first;n&&n._start<=i;){if(!n._dur&&"isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(!n._dur&&"isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,F(h),F(n)))&&(m-=n-(n=a._start)),this._tTime=m,this._time=n,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t),h||!n||e||pt(this,"onStart"),h<=n&&0<=t)for(T=this._first;T;){if(o=T._next,(T._act||n>=T._start)&&T._ts&&a!==T){if(T.parent!==this)return this.render(t,e,i);if(T.render(0<T._ts?(n-T._start)*T._ts:(T._dirty?T.totalDuration():T._tDur)+(n-T._start)*T._ts,e,i),n!==this._time||!this._ts&&!r){a=0,o&&(m+=this._zTime=-Ot);break}}T=o}else for(var T=this._last,b=t<0?t:n;T;){if(o=T._prev,(T._act||b<=T._end)&&T._ts&&a!==T){if(T.parent!==this)return this.render(t,e,i);if(T.render(0<T._ts?(b-T._start)*T._ts:(T._dirty?T.totalDuration():T._tDur)+(b-T._start)*T._ts,e,i),n!==this._time||!this._ts&&!r){a=0,o&&(m+=this._zTime=b?-Ot:Ot);break}}T=o}if(a&&!e&&(this.pause(),a.render(h<=n?0:-Ot)._zTime=h<=n?1:-1,this._ts))return this._start=u,x(this),this.render(t,e,i);this._onUpdate&&!e&&pt(this,"onUpdate",!0),(m===p&&p>=this.totalDuration()||!m&&this._ts<0)&&(u!==this._start&&Math.abs(l)===Math.abs(this._ts)||(!t&&f||!(t&&0<this._ts||!m&&this._ts<0)||z(this,1),e||t<0&&!h||(pt(this,m===p?"onComplete":"onReverseComplete",!0),this._prom&&this._prom())))}return this},e.add=function(t,e){var i=this;if(S(e)||(e=W(this,e)),!(t instanceof Pe)){if(Xt(t))return t.forEach(function(t){return i.add(t,e)}),g(this);if(E(t))return this.addLabel(t,e);if(!d(t))return this;t=Fe.delayedCall(0,t)}return this!==t?T(this,t,e):this},e.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-Lt);for(var o=[],s=this._first;s;)s._start>=n&&(s instanceof Fe?e&&o.push(s):(i&&o.push(s),t&&o.push.apply(o,s.getChildren(!0,e,i)))),s=s._next;return o},e.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},e.remove=function(t){return E(t)?this.removeLabel(t):d(t)?this.killTweensOf(t):(m(this,t),t===this._recent&&(this._recent=this._last),g(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,this.parent||this._dp||!this._ts||(this._start=F(ge.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=W(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,i){i=Fe.delayedCall(0,e||P,i);return i.data="isPause",this._hasPause=1,T(this,i,W(this,t))},e.removePause=function(t){var e=this._first;for(t=W(this,t);e;)e._start===t&&"isPause"===e.data&&z(e),e=e._next},e.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),o=n.length;o--;)Ie!==n[o]&&n[o].kill(t,e);return this},e.getTweensOf=function(t,e){for(var i,n=[],o=de(t),s=this._first;s;)s instanceof Fe?!function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i}(s._targets,o)||e&&!s.isActive("started"===e)||n.push(s):(i=s.getTweensOf(o,e)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function(t,e){e=e||{};var i=this,n=W(i,t),t=e.startAt,o=e.onStart,s=e.onStartParams,r=Fe.to(i,O(e,{ease:"none",lazy:!1,time:n,duration:e.duration||Math.abs(n-(t&&"time"in t?t.time:i._time))/i.timeScale()||Ot,onStart:function(){i.pause();var t=e.duration||Math.abs(n-i._time)/i.timeScale();r._dur!==t&&b(r,t).render(r._time,!0,!0),o&&o.apply(r,s||[])}}));return r},e.tweenFromTo=function(t,e,i){return this.tweenTo(e,O({startAt:{time:W(this,t)}},i))},e.recent=function(){return this._recent},e.nextLabel=function(t){return J(this,W(this,t=void 0===t?this._time:t))},e.previousLabel=function(t){return J(this,W(this,t=void 0===t?this._time:t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Ot)},e.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var n,o=this._first,s=this.labels;o;)o._start>=i&&(o._start+=t),o=o._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return g(this)},e.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return i.prototype.invalidate.call(this)},e.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._time=this._tTime=0,t&&(this.labels={}),g(this)},e.totalDuration=function(t){var e,i,n,o=0,s=this,r=s._last,a=Lt;if(arguments.length)return s._repeat<0?s:s.timeScale(s.totalDuration()/t);if(s._dirty){for(n=s.parent;r;)e=r._prev,r._dirty&&r.totalDuration(),a<(i=r._start)&&s._sort&&r._ts&&!s._lock?(s._lock=1,T(s,r,i-r._delay,1)._lock=0):a=i,i<0&&r._ts&&(o-=i,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-1e20),a=0),o<(i=x(r))&&r._ts&&(o=i),r=e;b(s,s===ft&&s._time>o?s._time:Math.min(Lt,o),1),s._dirty=0}return s._tDur},t.updateRoot=function(t){if(ft._ts&&(l(ft,v(t,ft)),bt=ge.frame),ge.frame>=se){se+=Gt.autoSleep||120;var e=ft._first;if((!e||!e._ts)&&Gt.autoSleep&&ge._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||ge.sleep()}}},t}(Pe);function Me(t,e,i,n,o,s){var r,a,l,u;if(ne[t]&&!1!==(r=new ne[t]).init(o,r.rawVars?e[t]:function(t,e,i,n,o){if(!C(t=d(t)?Be(t,o,e,i,n):t)||t.style&&t.nodeType||Xt(t))return E(t)?Be(t,o,e,i,n):t;var s,r={};for(s in t)r[s]=Be(t[s],o,e,i,n);return r}(e[t],n,o,s,i),i,n,s)&&(i._pt=a=new Ke(i._pt,o,t,0,1,r.render,r,0,r.priority),i!==ti))for(l=i._ptLookup[i._targets.indexOf(o)],u=r._props.length;u--;)l[r._props[u]]=a;return r}O(Ee.prototype,{_lock:0,_hasPause:0,_forcing:0});function xe(t,e,i,n,o,s,r,a,l){d(n)&&(n=n(o||0,t,s));var o=t[e],s="get"!==i?i:d(o)?l?t[e.indexOf("set")||!d(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():o,i=d(o)?l?$e:Ve:We;if(E(n)&&("="===(n=~n.indexOf("random(")?Z(n):n).charAt(1)&&(n=parseFloat(s)+parseFloat(n.substr(2))*("-"===n.charAt(0)?-1:1)+($(s)||0))),s!==n)return isNaN(s+n)?(o||e in t||M(e,n),function(t,e,i,n,o,s,r){var a,l,u,c,d,h=new Ke(this._pt,t,e,0,1,Ue,null,o),p=0,f=0;for(h.b=i,h.e=n,i+="",(o=~(n+="").indexOf("random("))&&(n=Z(n)),s&&(s(s=[i,n],t,e),i=s[0],n=s[1]),a=i.match(qt)||[];d=qt.exec(n);)u=d[0],c=n.substring(p,d.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),u!==a[f++]&&(d=parseFloat(a[f-1])||0,h._pt={_next:h._pt,p:c||1===f?c:",",s:d,c:"="===u.charAt(1)?parseFloat(u.substr(2))*("-"===u.charAt(0)?-1:1):parseFloat(u)-d,m:l&&l<4?Math.round:0},p=qt.lastIndex);return h.c=p<n.length?n.substring(p,n.length):"",h.fp=r,(Qt.test(n)||o)&&(h.e=0),this._pt=h}.call(this,t,e,s,n,i,a||Gt.stringFilter,l)):(i=new Ke(this._pt,t,e,+s||0,n-(s||0),"boolean"==typeof o?Ye:je,0,i),l&&(i.fp=l),r&&i.modifier(r,this,t),this._pt=i)}function ke(t,e){var i,n,o,s,r,a,l,u,c,d,h,p,f=t.vars,m=f.ease,g=f.startAt,y=f.immediateRender,v=f.lazy,T=f.onUpdate,b=f.onUpdateParams,D=f.callbackScope,S=f.runBackwards,C=f.yoyoEase,w=f.keyframes,A=f.autoRevert,P=t._dur,_=t._startAt,E=t._targets,M=t.parent,x=M&&"nested"===M.data?M.parent._targets:E,k="auto"===t._overwrite,I=t.timeline;if(t._ease=Se(m=!(!I||w&&m)?"none":m,Ft.ease),t._yEase=C?De(Se(!0===C?m:C,Ft.ease)):0,C&&t._yoyo&&!t._repeat&&(C=t._yEase,t._yEase=t._ease,t._ease=C),!I){if(_&&_.render(-1,!0).kill(),g){if(z(t._startAt=Fe.set(E,O({data:"isStart",overwrite:!1,parent:M,immediateRender:!0,lazy:B(v),startAt:null,delay:0,onUpdate:T,onUpdateParams:b,callbackScope:D,stagger:0},g))),y)if(0<e)A||(t._startAt=0);else if(P)return}else if(S&&P)if(_)A||(t._startAt=0);else if(e&&(y=!1),z(t._startAt=Fe.set(E,ct(R(f,te),{overwrite:!1,data:"isFromStart",lazy:y&&B(v),immediateRender:y,stagger:0,parent:M}))),y){if(!e)return}else ke(t._startAt,Ot);for(i=R(f,te),p=(u=E[t._pt=0]?G(E[0]).harness:0)&&f[u.prop],v=P&&B(v)||v&&!P,n=0;n<E.length;n++){if(l=(r=E[n])._gsap||H(E)[n]._gsap,t._ptLookup[n]=d={},ie[l.id]&&L(),h=x===E?n:x.indexOf(r),u&&!1!==(c=new u).init(r,p||i,t,h,x)&&(t._pt=s=new Ke(t._pt,r,c.name,0,1,c.render,c,0,c.priority),c._props.forEach(function(t){d[t]=s}),c.priority&&(a=1)),!u||p)for(o in i)ne[o]&&(c=Me(o,i,t,h,r,x))?c.priority&&(a=1):d[o]=s=xe.call(t,r,o,"get",i[o],h,x,0,f.stringFilter);t._op&&t._op[n]&&t.kill(r,t._op[n]),k&&t._pt&&(Ie=t,ft.killTweensOf(r,d,"started"),Ie=0),t._pt&&v&&(ie[l.id]=1)}a&&qe(t),t._onInit&&t._onInit(t)}t._from=!I&&!!f.runBackwards,t._onUpdate=T,t._initted=1}var Ie,Be=function(t,e,i,n,o){return d(t)?t.call(e,i,n,o):E(t)&&~t.indexOf("random(")?Z(t):t},He=ae+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",Ge=(He+",id,stagger,delay,duration,paused").split(","),Fe=function(b){function o(t,e,i,n){var o;"number"==typeof e&&(i.duration=e,e=i,i=null);var s,r,a,l,u,c,d,h,p=(o=b.call(this,n?e:_(e),i)||this).vars,f=p.duration,m=p.delay,g=p.immediateRender,y=p.stagger,v=p.overwrite,n=p.keyframes,i=p.defaults,p=o.parent,T=(Xt(t)?S(t[0]):"length"in e)?[t]:de(t);if(o._targets=T.length?H(T):A("GSAP target "+t+" not found. https://greensock.com",!Gt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=v,n||y||w(f)||w(m)){if(e=o.vars,(s=o.timeline=new Ee({data:"nested",defaults:i||{}})).kill(),s.parent=D(o),n)O(s.vars.defaults,{ease:"none"}),n.forEach(function(t){return s.to(T,t,">")});else{if(l=T.length,d=y?Y(y):P,C(y))for(u in y)~He.indexOf(u)&&((h=h||{})[u]=y[u]);for(r=0;r<l;r++){for(u in a={},e)Ge.indexOf(u)<0&&(a[u]=e[u]);a.stagger=0,h&&ct(a,h),e.yoyoEase&&!e.repeat&&(a.yoyoEase=e.yoyoEase),c=T[r],a.duration=+Be(f,D(o),r,c,T),a.delay=(+Be(m,D(o),r,c,T)||0)-o._delay,!y&&1===l&&a.delay&&(o._delay=m=a.delay,o._start+=m,a.delay=0),s.to(c,a,d(r,c,T))}f=m=0}f||o.duration(f=s.duration())}else o.timeline=0;return!0===v&&(Ie=D(o),ft.killTweensOf(T),Ie=0),p&&k(p,D(o)),(g||!f&&!n&&o._start===p._time&&B(g)&&function t(e){return!e||e._ts&&t(e.parent)}(D(o))&&"nested"!==p.data)&&(o._tTime=-Ot,o.render(Math.max(0,-m))),o}n(o,b);var t=o.prototype;return t.render=function(t,e,i){var n,o,s,r,a,l,u,c,d,h=this._time,p=this._tDur,f=this._dur,m=p-Ot<t&&0<=t?p:t<Ot?0:t;if(f){if(m!==this._tTime||!t||i||this._startAt&&this._zTime<0!=t<0){if(n=m,c=this.timeline,this._repeat){if((f<(n=F(m%(r=f+this._rDelay)))||p===m)&&(n=f),(s=~~(m/r))&&s===m/r&&(n=f,s--),(l=this._yoyo&&1&s)&&(d=this._yEase,n=f-n),a=dt(this._tTime,r),n===h&&!i&&this._initted)return this;s!==a&&(!this.vars.repeatRefresh||l||this._lock||(this._lock=i=1,this.render(r*s,!0).invalidate()._lock=0))}if(!this._initted&&I(this,n,i,e))return this._tTime=0,this;for(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(d||this._ease)(n/f),this._from&&(this.ratio=u=1-u),h||!n||e||pt(this,"onStart"),o=this._pt;o;)o.r(u,o.d),o=o._next;c&&c.render(t<0?t:!n&&l?-Ot:c._dur*u,e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),pt(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&pt(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,i),!t&&f||!(t&&0<this._ts||!m&&this._ts<0)||z(this,1),e||t<0&&!h||m<p&&0<this.timeScale()||(pt(this,m===p?"onComplete":"onReverseComplete",!0),this._prom&&this._prom()))}}else!function(t,e,i,n){var o,s=t._zTime<0?0:1,r=e<0?0:1,a=t._rDelay,l=0;if(a&&t._repeat&&(l=ue(0,t._tDur,e),dt(l,a)!==dt(t._tTime,a)&&(s=1-r,t.vars.repeatRefresh&&t._initted&&t.invalidate())),(t._initted||!I(t,e,n,i))&&(r!==s||n||t._zTime===Ot||!e&&t._zTime)){for(t._zTime=e||(i?Ot:0),t.ratio=r,t._from&&(r=1-r),t._time=0,t._tTime=l,i||pt(t,"onStart"),o=t._pt;o;)o.r(r,o.d),o=o._next;!r&&t._startAt&&!t._onUpdate&&t._start&&t._startAt.render(e,!0,n),t._onUpdate&&(i||pt(t,"onUpdate")),l&&t._repeat&&!i&&t.parent&&pt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===r&&(t.ratio&&z(t,1),i||(pt(t,t.ratio?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}}(this,t,e,i);return this},t.targets=function(){return this._targets},t.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),b.prototype.invalidate.call(this)},t.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return tt(this);if(this.timeline)return this.timeline.killTweensOf(t,e,Ie&&!0!==Ie.vars.overwrite),this;var i,n,o,s,r,a,l,u=this._targets,c=t?de(t):u,d=this._ptLookup,t=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0}(u,c))return tt(this);for(i=this._op=this._op||[],"all"!==e&&(E(e)&&(r={},h(e,function(t){return r[t]=1}),e=r),e=function(t,e){var i,n,o,s,t=t[0]?G(t[0]).harness:0,r=t&&t.aliases;if(!r)return e;for(n in i=ct({},e),r)if(n in i)for(o=(s=r[n].split(",")).length;o--;)i[s[o]]=i[n];return i}(u,e)),l=u.length;l--;)if(~c.indexOf(u[l]))for(r in n=d[l],"all"===e?(i[l]=e,s=n,o={}):(o=i[l]=i[l]||{},s=e),s)(a=n&&n[r])&&("kill"in a.d&&!0!==a.d.kill(r)||m(this,a,"_pt"),delete n[r]),"all"!==o&&(o[r]=1);return this._initted&&!this._pt&&t&&tt(this),this},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e){return new o(t,a(arguments,1))},o.delayedCall=function(t,e,i,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},o.fromTo=function(t,e,i){return new o(t,a(arguments,2))},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,i){return ft.killTweensOf(t,e,i)},o}(Pe);function Le(t,e,i){return t.setAttribute(e,i)}function Oe(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)}O(Fe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),h("staggerTo,staggerFrom,staggerFromTo",function(i){Fe[i]=function(){var t=new Ee,e=ce.call(arguments,0);return e.splice("staggerFromTo"===i?5:4,0,0),t[i].apply(t,e)}});function Re(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next}function ze(t,e,i,n){for(var o,s=this._pt;s;)o=s._next,s.p===n&&s.modifier(t,e,i),s=o}function Ne(t){for(var e,i,n=this._pt;n;)i=n._next,n.p===t&&!n.op||n.op===t?m(this,n,"_pt"):n.dep||(e=1),n=i;return!e}var We=function(t,e,i){return t[e]=i},Ve=function(t,e,i){return t[e](i)},$e=function(t,e,i,n){return t[e](n.fp,i)},Xe=function(t,e){return d(t[e])?Ve:o(t[e])&&t.setAttribute?Le:We},je=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},Ye=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ue=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},qe=function(t){for(var e,i,n,o,s=t._pt;s;){for(e=s._next,i=n;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:o)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:o=s,s=e}t._pt=n},Ke=(Qe.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=Oe,this.m=t,this.mt=i,this.tween=e},Qe);function Qe(t,e,i,n,o,s,r,a,l){this.t=e,this.s=n,this.c=o,this.p=i,this.r=s||je,this.d=r||this,this.set=a||We,this.pr=l||0,(this._next=t)&&(t._prev=this)}h(ae+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert",function(t){return te[t]=1}),Jt.TweenMax=Jt.TweenLite=Fe,Jt.TimelineLite=Jt.TimelineMax=Ee,ft=new Ee({sortChildren:!1,defaults:Ft,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Gt.stringFilter=st;var Ze={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){var e=(t=!t.name&&t.default||t).name,i=d(t),n=e&&!i&&t.init?function(){this._props=[]}:t,o={init:P,render:Re,add:xe,kill:Ne,modifier:ze,rawVars:0},i={targetTest:0,get:0,getSetter:Xe,aliases:{},register:0};if(ye(),t!==n){if(ne[e])return;O(n,O(R(t,o),i)),ct(n.prototype,ct(o,R(t,i))),ne[n.prop=e]=n,t.targetTest&&(re.push(n),te[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}s(e,n),t.register&&t.register(ei,n,Ke)})},timeline:function(t){return new Ee(t)},getTweensOf:function(t,e){return ft.getTweensOf(t,e)},getProperty:function(n,t,e,i){var o=G((n=E(n)?de(n)[0]:n)||{}).get,s=e?c:u;return"native"===e&&(e=""),n&&(t?s((ne[t]&&ne[t].get||o)(n,t,e,i)):function(t,e,i){return s((ne[t]&&ne[t].get||o)(n,t,e,i))})},quickSetter:function(i,e,n){if(1<(i=de(i)).length){var o=i.map(function(t){return ei.quickSetter(t,e,n)}),s=o.length;return function(t){for(var e=s;e--;)o[e](t)}}i=i[0]||{};var r=ne[e],a=G(i),l=r?function(t){var e=new r;ti._pt=0,e.init(i,n?t+n:t,ti,0,[i]),e.render(1,e),ti._pt&&Re(1,ti)}:a.set(i,e);return r?l:function(t){return l(i,e,n?t+n:t,a,1)}},isTweening:function(t){return 0<ft.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=Se(t.ease,Ft.ease)),f(Ft,t||{})},config:function(t){return f(Gt,t||{})},registerEffect:function(t){var n=t.name,i=t.effect,e=t.plugins,o=t.defaults,t=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!ne[t]&&!Jt[t]&&A(n+" effect requires "+t+" plugin.")}),oe[n]=function(t,e){return i(de(t),O(e||{},o))},t&&(Ee.prototype[n]=function(t,e,i){return this.add(oe[n](t,C(e)?e:(i=e)&&{}),i)})},registerEase:function(t,e){ve[t]=Se(e)},parseEase:function(t,e){return arguments.length?Se(t,e):ve},getById:function(t){return ft.getById(t)},exportRoot:function(t,e){var i,n,o=new Ee(t=void 0===t?{}:t);for(o.smoothChildTiming=B(t.smoothChildTiming),ft.remove(o),o._dp=0,o._time=o._tTime=ft._time,i=ft._first;i;)n=i._next,!e&&!i._dur&&i instanceof Fe&&i.vars.onComplete===i._targets[0]||T(o,i,i._start-i._delay),i=n;return T(ft,o,0),o},utils:{wrap:function t(e,i,n){var o=i-e;return Xt(e)?Q(e,t(0,e.length),i):V(n,function(t){return(o+(t-e)%o)%o+e})},wrapYoyo:function t(e,i,n){var o=i-e,s=2*o;return Xt(e)?Q(e,t(0,e.length-1),i):V(n,function(t){return e+(o<(t=(s+(t-e)%s)%s)?s-t:t)})},distribute:Y,random:K,snap:q,normalize:function(t,e,i){return ht(t,e,0,1,i)},getUnit:$,clamp:function(e,i,t){return V(t,function(t){return ue(e,i,t)})},splitColor:it,toArray:de,mapRange:ht,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(e,i){return function(t){return e(parseFloat(t))+(i||$(t))}},interpolate:function t(e,i,n,o){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var r,a,l,u,c,d=E(e),h={};if(!0===n&&(o=1)&&(n=null),d)e={p:e},i={p:i};else if(Xt(e)&&!Xt(i)){for(l=[],u=e.length,c=u-2,a=1;a<u;a++)l.push(t(e[a-1],e[a]));u--,s=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},n=i}else o||(e=ct(Xt(e)?[]:{},e));if(!l){for(r in i)xe.call(h,e,r,"get",i[r]);s=function(t){return Re(t,h),d?e.p:e}}}return V(n,s)},shuffle:j},install:i,effects:oe,ticker:ge,updateRoot:Ee.updateRoot,plugins:ne,globalTimeline:ft,core:{PropTween:Ke,globals:s,Tween:Fe,Timeline:Ee,Animation:Pe,getCache:G,_removeLinkedListItem:m}};function Je(t,o){return{name:t,rawVars:1,init:function(t,n,e){e._onInit=function(t){var e,i;if(E(n)&&(e={},h(n,function(t){return e[t]=1}),n=e),o){for(i in e={},n)e[i]=o(n[i]);n=e}!function(t,e){var i,n,o,s=t._targets;for(i in e)for(n=s.length;n--;)(o=(o=t._ptLookup[n][i])&&o.d)&&(o._pt&&(o=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i}(o,i)),o&&o.modifier&&o.modifier(e[i],t,s[n],i))}(t,n)}}}}h("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ze[t]=Fe[t]}),ge.add(Ee.updateRoot);var ti=Ze.to({},{duration:0}),ei=Ze.registerPlugin({name:"attr",init:function(t,e,i,n,o){for(var s in e)this.add(t,"setAttribute",(t.getAttribute(s)||0)+"",e[s],n,o,0,0,s),this._props.push(s)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},Je("roundProps",U),Je("modifiers"),Je("snap",q))||Ze;function ii(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function ni(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function oi(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function si(t,e){t=e.s+e.c*t;e.set(e.t,e.p,~~(t+(t<0?-.5:.5))+e.u,e)}function ri(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function ai(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function li(t,e,i){return t.style[e]=i}function ui(t,e,i){return t.style.setProperty(e,i)}function ci(t,e,i){return t._gsap[e]=i}function di(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i}function hi(t,e,i,n,o){t=t._gsap;t.scaleX=t.scaleY=i,t.renderTransform(o,t)}function pi(t,e,i,n,o){t=t._gsap;t[e]=i,t.renderTransform(o,t)}function fi(t,e){e=Ii.createElementNS?Ii.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ii.createElement(t);return e.style?e:Ii.createElement(t)}function mi(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(ln,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&mi(t,mn(e)||e,1)||""}function gi(){"undefined"==typeof window||(Bi=(Ii=window.document).documentElement,Gi=fi("div")||{style:{}},Fi=fi("div"),hn=mn(hn),pn=mn(pn),Gi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Oi=!!mn("perspective"),Hi=1)}function yi(t){var e,i=fi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Bi.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=yi}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Bi.removeChild(i),this.style.cssText=s,e}function vi(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])}function Ti(e){var i;try{i=e.getBBox()}catch(t){i=yi.call(e,!0)}return!(i=!(i&&(i.width||i.height)||e.getBBox===yi)?yi.call(e,!0):i)||i.width||i.x||i.y?i:{x:+vi(e,["x","cx","x1"])||0,y:+vi(e,["y","cy","y1"])||0,width:0,height:0}}function bi(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Ti(t))}function Di(t,e){e&&(t=t.style,e in on&&(e=hn),t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(ln,"-$1").toLowerCase())):t.removeAttribute(e))}function Si(t,e,i,n,o,s){s=new Ke(t._pt,e,i,0,1,s?ai:ri);return(t._pt=s).b=n,s.e=o,t._props.push(i),s}function Ci(t,e,i,n){var o=parseFloat(i)||0,s=(i+"").trim().substr((o+"").length)||"px",r=Gi.style,a=un.test(e),l="svg"===t.tagName.toLowerCase(),u=(l?"client":"offset")+(a?"Width":"Height"),c="px"===n;return n===s||!o||gn[n]||gn[s]?o:(i=t.getCTM&&bi(t),"%"===n&&(on[e]||~e.indexOf("adius"))?F(o/(i?t.getBBox()[a?"width":"height"]:t[u])*100):(r[a?"width":"height"]=100+(c?s:n),l=~e.indexOf("adius")||"em"===n&&t.appendChild&&!l?t:t.parentNode,(i=(l=!(l=i?(t.ownerSVGElement||{}).parentNode:l)||l===Ii||!l.appendChild?Ii.body:l)._gsap)&&"%"===n&&i.width&&a&&i.time===ge.time?F(o/i.width*100):(l===t&&(r.position="static"),l.appendChild(Gi),t=Gi[u],l.removeChild(Gi),r.position="absolute",a&&"%"===n&&((i=G(l)).time=ge.time,i.width=l[u]),F(c?t*o/100:100/t*o))))}function wi(t,e,i,n){var o;return Hi||gi(),e in dn&&"transform"!==e&&~(e=dn[e]).indexOf(",")&&(e=e.split(",")[0]),on[e]&&"transform"!==e?(o=Dn(t,n),o="transformOrigin"!==e?o[e]:Sn(mi(t,pn))+" "+o.zOrigin+"px"):(o=t.style[e])&&"auto"!==o&&!n&&!~(o+"").indexOf("calc(")||(o=vn[e]&&vn[e](t,e,i)||mi(t,e)||r(t,e)||("opacity"===e?1:0)),i&&!~(o+"").indexOf(" ")?Ci(t,e,o,i)+i:o}function Ai(t,e,i,n){var o;i&&"none"!==i||(s=(o=mn(e,t,1))&&mi(t,o,1))&&s!==i&&(e=o,i=s);var s,r,a,l,u,c,d,h,p,f,m=new Ke(this._pt,t.style,e,0,1,Ue),g=0,y=0;if(m.b=i,m.e=n,i+="","auto"==(n+="")&&(t.style[e]=n,n=mi(t,e)||n,t.style[e]=i),st(s=[i,n]),n=s[1],r=(i=s[0]).match(Ut)||[],(n.match(Ut)||[]).length){for(;c=Ut.exec(n);)h=c[0],d=n.substring(g,c.index),l?l=(l+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(l=1),h!==(u=r[y++]||"")&&(a=parseFloat(u)||0,p=u.substr((a+"").length),(f="="===h.charAt(1)?+(h.charAt(0)+"1"):0)&&(h=h.substr(2)),c=parseFloat(h),h=h.substr((c+"").length),g=Ut.lastIndex-h.length,h||(h=h||Gt.units[e]||p,g===n.length&&(n+=h,m.e+=h)),p!==h&&(a=Ci(t,e,u,h)||0),m._pt={_next:m._pt,p:d||1===y?d:",",s:a,c:f?f*c:c-a,m:l&&l<4?Math.round:0});m.c=g<n.length?n.substring(g,n.length):""}else m.r="display"===e&&"none"===n?ai:ri;return Qt.test(n)&&(m.e=0),this._pt=m}function Pi(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,o,s=e.t,r=s.style,a=e.u,e=s._gsap;if("all"===a||!0===a)r.cssText="",n=1;else for(o=(a=a.split(",")).length;-1<--o;)i=a[o],on[i]&&(n=1,i="transformOrigin"===i?pn:hn),Di(s,i);n&&(Di(s,hn),e&&(e.svg&&s.removeAttribute("transform"),Dn(s,1),e.uncache=1))}}function _i(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function Ei(t){t=mi(t,hn);return _i(t)?Tn:t.substr(7).match(Yt).map(F)}function Mi(t,e){var i,n,o,s=t._gsap||G(t),r=t.style,a=Ei(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?Tn:a:(a!==Tn||t.offsetParent||t===Bi||s.svg||(n=r.display,r.display="block",(s=t.parentNode)&&t.offsetParent||(o=1,i=t.nextSibling,Bi.appendChild(t)),a=Ei(t),n?r.display=n:Di(t,"display"),o&&(i?s.insertBefore(t,i):s?s.appendChild(t):Bi.removeChild(t))),e&&6<a.length?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)}function xi(t,e,i,n,o,s){var r,a,l=t._gsap,u=o||Mi(t,!0),c=l.xOrigin||0,d=l.yOrigin||0,h=l.xOffset||0,p=l.yOffset||0,f=u[0],m=u[1],g=u[2],y=u[3],v=u[4],T=u[5],b=e.split(" "),D=parseFloat(b[0])||0,o=parseFloat(b[1])||0;i?u!==Tn&&(r=f*y-m*g)&&(a=D*(-m/r)+o*(f/r)-(f*T-m*v)/r,D=D*(y/r)+o*(-g/r)+(g*T-y*v)/r,o=a):(D=(a=Ti(t)).x+(~b[0].indexOf("%")?D/100*a.width:D),o=a.y+(~(b[1]||b[0]).indexOf("%")?o/100*a.height:o)),n||!1!==n&&l.smooth?(l.xOffset=h+((v=D-c)*f+(T=o-d)*g)-v,l.yOffset=p+(v*m+T*y)-T):l.xOffset=l.yOffset=0,l.xOrigin=D,l.yOrigin=o,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!i,t.style[pn]="0px 0px",s&&(Si(s,l,"xOrigin",c,D),Si(s,l,"yOrigin",d,o),Si(s,l,"xOffset",h,l.xOffset),Si(s,l,"yOffset",p,l.yOffset)),t.setAttribute("data-svg-origin",D+" "+o)}function ki(t,e,i){var n=$(e);return F(parseFloat(e)+parseFloat(Ci(t,"x",i+"px",n)))+n}Fe.version=Ee.version=ei.version="3.2.4",Tt=1,e()&&ye();var Ii,Bi,Hi,Gi,Fi,Li,Oi,Ri=ve.Power0,zi=ve.Power1,Ni=ve.Power2,Wi=ve.Power3,Vi=ve.Power4,$i=ve.Linear,Xi=ve.Quad,ji=ve.Cubic,Yi=ve.Quart,Ui=ve.Quint,qi=ve.Strong,Ki=ve.Elastic,Qi=ve.Back,Zi=ve.SteppedEase,Ji=ve.Bounce,tn=ve.Sine,en=ve.Expo,nn=ve.Circ,on={},sn=180/Math.PI,rn=Math.PI/180,an=Math.atan2,ln=/([A-Z])/g,un=/(?:left|right|width|margin|padding|x)/i,cn=/[\s,\(]\S/,dn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},hn="transform",pn=hn+"Origin",fn="O,Moz,ms,Ms,Webkit".split(","),mn=function(t,e,i){var n=(e||Gi).style,o=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(fn[o]+t in n););return o<0?null:(3===o?"ms":0<=o?fn[o]:"")+t},gn={deg:1,rad:1,turn:1},yn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},vn={clearProps:function(t,e,i,n,o){if("isFromStart"!==o.data){e=t._pt=new Ke(t._pt,e,i,0,0,Pi);return e.u=n,e.pr=-10,e.tween=o,t._props.push(i),1}}},Tn=[1,0,0,1,0,0],bn={},Dn=function(t,e){var i=t._gsap||new Ae(t);if("x"in i&&!e&&!i.uncache)return i;var n,o,s,r,a,l,u,c,d,h,p,f,m,g,y,v,T,b,D,S,C,w,A,P,_,E,M=t.style,x=i.scaleX<0,k="deg",I=mi(t,pn)||"0",B=n=o=r=a=l=u=c=0,H=s=1;return i.svg=!(!t.getCTM||!bi(t)),d=Mi(t,i.svg),i.svg&&(D=!i.uncache&&t.getAttribute("data-svg-origin"),xi(t,D||I,!!D||i.originIsAbsolute,!1!==i.smooth,d)),_=i.xOrigin||0,h=i.yOrigin||0,d!==Tn&&(m=d[0],g=d[1],y=d[2],v=d[3],B=T=d[4],n=b=d[5],6===d.length?(H=Math.sqrt(m*m+g*g),s=Math.sqrt(v*v+y*y),r=m||g?an(g,m)*sn:0,(u=y||v?an(y,v)*sn+r:0)&&(s*=Math.cos(u*rn)),i.svg&&(B-=_-(_*m+h*y),n-=h-(_*g+h*v))):(E=d[6],P=d[7],w=d[8],A=d[9],e=d[10],_=d[11],B=d[12],n=d[13],o=d[14],a=(h=an(E,e))*sn,h&&(D=T*(p=Math.cos(-h))+w*(f=Math.sin(-h)),S=b*p+A*f,C=E*p+e*f,w=T*-f+w*p,A=b*-f+A*p,e=E*-f+e*p,_=P*-f+_*p,T=D,b=S,E=C),l=(h=an(-y,e))*sn,h&&(p=Math.cos(-h),_=v*(f=Math.sin(-h))+_*p,m=D=m*p-w*f,g=S=g*p-A*f,y=C=y*p-e*f),r=(h=an(g,m))*sn,h&&(D=m*(p=Math.cos(h))+g*(f=Math.sin(h)),S=T*p+b*f,g=g*p-m*f,b=b*p-T*f,m=D,T=S),a&&359.9<Math.abs(a)+Math.abs(r)&&(a=r=0,l=180-l),H=F(Math.sqrt(m*m+g*g+y*y)),s=F(Math.sqrt(b*b+E*E)),h=an(T,b),u=2e-4<Math.abs(h)?h*sn:0,c=_?1/(_<0?-_:_):0),i.svg&&(d=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!_i(mi(t,hn)),d&&t.setAttribute("transform",d))),90<Math.abs(u)&&Math.abs(u)<270&&(x?(H*=-1,u+=r<=0?180:-180,r+=r<=0?180:-180):(s*=-1,u+=u<=0?180:-180)),i.x=((i.xPercent=B&&Math.round(t.offsetWidth/2)===Math.round(-B)?-50:0)?0:B)+"px",i.y=((i.yPercent=n&&Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)?0:n)+"px",i.z=o+"px",i.scaleX=F(H),i.scaleY=F(s),i.rotation=F(r)+k,i.rotationX=F(a)+k,i.rotationY=F(l)+k,i.skewX=u+k,i.skewY=0+k,i.transformPerspective=c+"px",(i.zOrigin=parseFloat(I.split(" ")[2])||0)&&(M[pn]=Sn(I)),i.xOffset=i.yOffset=0,i.force3D=Gt.force3D,i.renderTransform=i.svg?En:Oi?_n:Cn,i.uncache=0,i},Sn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Cn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,_n(t,e)},wn="0deg",An="0px",Pn=") ",_n=function(t,e){var i=e||this,n=i.xPercent,o=i.yPercent,s=i.x,r=i.y,a=i.z,l=i.rotation,u=i.rotationY,c=i.rotationX,d=i.skewX,h=i.skewY,p=i.scaleX,f=i.scaleY,m=i.transformPerspective,g=i.force3D,y=i.target,v=i.zOrigin,T="",e="auto"===g&&t&&1!==t||!0===g;!v||c===wn&&u===wn||(i=parseFloat(u)*rn,t=Math.sin(i),g=Math.cos(i),i=parseFloat(c)*rn,s=ki(y,s,t*(t=Math.cos(i))*-v),r=ki(y,r,-Math.sin(i)*-v),a=ki(y,a,g*t*-v+v)),m!==An&&(T+="perspective("+m+Pn),(n||o)&&(T+="translate("+n+"%, "+o+"%) "),!e&&s===An&&r===An&&a===An||(T+=a!==An||e?"translate3d("+s+", "+r+", "+a+") ":"translate("+s+", "+r+Pn),l!==wn&&(T+="rotate("+l+Pn),u!==wn&&(T+="rotateY("+u+Pn),c!==wn&&(T+="rotateX("+c+Pn),d===wn&&h===wn||(T+="skew("+d+", "+h+Pn),1===p&&1===f||(T+="scale("+p+", "+f+Pn),y.style[hn]=T||"translate(0, 0)"},En=function(t,e){var i,n,o,s,r,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,d=a.y,h=a.rotation,p=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,y=a.target,v=a.xOrigin,T=a.yOrigin,b=a.xOffset,D=a.yOffset,S=a.forceCSS,e=parseFloat(c),a=parseFloat(d),h=parseFloat(h),p=parseFloat(p);(f=parseFloat(f))&&(p+=f=parseFloat(f),h+=f),h||p?(h*=rn,p*=rn,i=Math.cos(h)*m,n=Math.sin(h)*m,o=Math.sin(h-p)*-g,s=Math.cos(h-p)*g,p&&(f*=rn,r=Math.tan(p-f),o*=r=Math.sqrt(1+r*r),s*=r,f&&(r=Math.tan(f),i*=r=Math.sqrt(1+r*r),n*=r)),i=F(i),n=F(n),o=F(o),s=F(s)):(i=m,s=g,n=o=0),(e&&!~(c+"").indexOf("px")||a&&!~(d+"").indexOf("px"))&&(e=Ci(y,"x",c,"px"),a=Ci(y,"y",d,"px")),(v||T||b||D)&&(e=F(e+v-(v*i+T*o)+b),a=F(a+T-(v*n+T*s)+D)),(l||u)&&(e=F(e+l/100*(r=y.getBBox()).width),a=F(a+u/100*r.height)),y.setAttribute("transform",r="matrix("+i+","+n+","+o+","+s+","+e+","+a+")"),S&&(y.style[hn]=r)};h("padding,margin,Width,Radius",function(e,i){var t="Right",n="Bottom",o="Left",a=(i<3?["Top",t,n,o]:["Top"+o,"Top"+t,n+t,n+o]).map(function(t){return i<2?e+t:"border"+t+e});vn[1<i?"border"+e:e]=function(e,t,i,n,o){var s,r;if(arguments.length<4)return s=a.map(function(t){return wi(e,t,i)}),5===(r=s.join(" ")).split(s[0]).length?s[0]:r;s=(n+"").split(" "),r={},a.forEach(function(t,e){return r[t]=s[e]=s[e]||s[(e-1)/2|0]}),e.init(t,r,o)}});var Mn,xn={name:"css",register:gi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,o){var s,r,a,l,u,c,d,h,p,f,m,g,y,v,T,b,D,S,C,w,A,P=this._props,_=t.style;for(u in Hi||gi(),e)if("autoRound"!==u&&(r=e[u],!ne[u]||!Me(u,e,i,n,t,o)))if(D=typeof r,b=vn[u],"function"===D&&(D=typeof(r=r.call(i,n,t,o))),"string"===D&&~r.indexOf("random(")&&(r=Z(r)),b)b(this,t,u,r,i)&&(g=1);else if("--"===u.substr(0,2))this.add(_,"setProperty",getComputedStyle(t).getPropertyValue(u)+"",r+"",n,o,0,0,u);else{if(s=wi(t,u),l=parseFloat(s),(d="string"===D&&"="===r.charAt(1)?+(r.charAt(0)+"1"):0)&&(r=r.substr(2)),a=parseFloat(r),u in dn&&("autoAlpha"===u&&Si(this,_,"visibility",(l=1===l&&"hidden"===wi(t,"visibility")&&a?0:l)?"inherit":"hidden",a?"inherit":"hidden",!a),"scale"!==u&&"transform"!==u&&~(u=dn[u]).indexOf(",")&&(u=u.split(",")[0])),h=u in on)if(p||((f=t._gsap).renderTransform||Dn(t),m=!1!==e.smoothOrigin&&f.smooth,(p=this._pt=new Ke(this._pt,_,hn,0,1,f.renderTransform,f,0,-1)).dep=1),"scale"===u)this._pt=new Ke(this._pt,f,"scaleY",f.scaleY,d?d*a:a-f.scaleY),P.push("scaleY",u),u+="X";else{if("transformOrigin"===u){A=w=C=void 0,C=(S=r).split(" "),w=C[0],A=C[1]||"50%","top"!==w&&"bottom"!==w&&"left"!==A&&"right"!==A||(S=w,w=A,A=S),C[0]=yn[w]||w,C[1]=yn[A]||A,r=C.join(" "),f.svg?xi(t,r,0,m,0,this):((c=parseFloat(r.split(" ")[2])||0)!==f.zOrigin&&Si(this,f,"zOrigin",f.zOrigin,c),Si(this,_,u,Sn(s),Sn(r)));continue}if("svgOrigin"===u){xi(t,r,1,m,0,this);continue}if(u in bn){y=this,v=f,T=u,b=l,D=d,A=A=w=S=void 0,S=360,w=E(C=r),A=parseFloat(C)*(w&&~C.indexOf("rad")?sn:1),A=b+(D=D?A*D:A-b)+"deg",w&&("short"===(C=C.split("_")[1])&&(D%=S)!=D%180&&(D+=D<0?S:-S),"cw"===C&&D<0?D=(D+36e9)%S-~~(D/S)*S:"ccw"===C&&0<D&&(D=(D-36e9)%S-~~(D/S)*S)),y._pt=D=new Ke(y._pt,v,T,b,D,ni),D.e=A,D.u="deg",y._props.push(T);continue}if("smoothOrigin"===u){Si(this,f,"smooth",f.smooth,r);continue}if("force3D"===u){f[u]=r;continue}if("transform"===u){!function(t,e,i){var n,o,s,r,a,l=Fi.style,u=i._gsap;for(o in l.cssText=getComputedStyle(i).cssText+";position:absolute;display:block;",l[hn]=e,Ii.body.appendChild(Fi),n=Dn(Fi,1),on)(s=u[o])!==(r=n[o])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(o)<0&&(s=$(s)!==(a=$(r))?Ci(i,o,s,a):parseFloat(s),r=parseFloat(r),t._pt=new Ke(t._pt,u,o,s,r-s,ii),t._pt.u=a||0,t._props.push(o));Ii.body.removeChild(Fi)}(this,r,t);continue}}else u in _||(u=mn(u)||u);if(h||(a||0===a)&&(l||0===l)&&!cn.test(r)&&u in _)(T=(s+"").substr((l+"").length))!==(c=(r+"").substr(((a=a||0)+"").length)||(u in Gt.units?Gt.units[u]:T))&&(l=Ci(t,u,s,c)),this._pt=new Ke(this._pt,h?f:_,u,l,d?d*a:a-l,"px"!==c||!1===e.autoRound||h?ii:si),this._pt.u=c||0,T!==c&&(this._pt.b=s,this._pt.r=oi);else if(u in _)Ai.call(this,t,u,s,r);else{if(!(u in t)){M(u,r);continue}this.add(t,u,t[u],r,n,o)}P.push(u)}g&&qe(this)},get:wi,aliases:dn,getSetter:function(t,e,i){var n=dn[e];return(e=n&&n.indexOf(",")<0?n:e)in on&&e!==pn&&(t._gsap.x||wi(t,"x"))?i&&Li===i?"scale"===e?di:ci:(Li=i||{})&&("scale"===e?hi:pi):t.style&&!o(t.style[e])?li:~e.indexOf("-")?ui:Xe(t,e)},core:{_removeProperty:Di,_getMatrix:Mi}};ei.utils.checkPrefix=mn,Mn=h("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(In="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){on[t]=1}),h(In,function(t){Gt.units[t]="deg",bn[t]=1}),dn[Mn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+In,h("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){t=t.split(":");dn[t[1]]=Mn[t[0]]}),h("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Gt.units[t]="px"}),ei.registerPlugin(xn);var kn=ei.registerPlugin(xn)||ei,In=kn.core.Tween;t.Back=Qi,t.Bounce=Ji,t.CSSPlugin=xn,t.Circ=nn,t.Cubic=ji,t.Elastic=Ki,t.Expo=en,t.Linear=$i,t.Power0=Ri,t.Power1=zi,t.Power2=Ni,t.Power3=Wi,t.Power4=Vi,t.Quad=Xi,t.Quart=Yi,t.Quint=Ui,t.Sine=tn,t.SteppedEase=Zi,t.Strong=qi,t.TimelineLite=Ee,t.TimelineMax=Ee,t.TweenLite=Fe,t.TweenMax=In,t.default=kn,t.gsap=kn,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function e(){return"undefined"!=typeof window}function i(){return n||e()&&(n=window.gsap)&&n.registerPlugin&&n}function c(t){return Math.round(1e4*t)/1e4}function d(t){return parseFloat(t||0)}function p(t,e){return d(t.getAttribute(e))}function f(t,e,i,n,o,s){return A(Math.pow((d(i)-d(t))*o,2)+Math.pow((d(n)-d(e))*s,2))}function m(t){return console.warn(t)}function g(t){return"non-scaling-stroke"===t.getAttribute("vector-effect")}function h(t){if(!(t=T(t)[0]))return 0;var e,i,n,o,s=t.tagName.toLowerCase(),r=t.style,a=1,l=1;g(t)&&(l=t.getScreenCTM(),a=A(l.a*l.a+l.b*l.b),l=A(l.d*l.d+l.c*l.c));try{n=t.getBBox()}catch(t){m("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var u=n||{x:0,y:0,width:0,height:0},c=u.x,d=u.y,h=u.width,u=u.height;if(n&&(h||u)||!w[s]||(h=p(t,w[s][0]),u=p(t,w[s][1]),"rect"!==s&&"line"!==s&&(h*=2,u*=2),"line"===s&&(c=p(t,"x1"),d=p(t,"y1"),h=Math.abs(h-c),u=Math.abs(u-d))),"path"===s)n=r.strokeDasharray,r.strokeDasharray="none",e=t.getTotalLength()||0,a!==l&&m("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),e*=(a+l)/2,r.strokeDasharray=n;else if("rect"===s)e=2*h*a+2*u*l;else if("line"===s)e=f(c,d,c+h,d+u,a,l);else if("polyline"===s||"polygon"===s)for(i=t.getAttribute("points").match(C)||[],"polygon"===s&&i.push(i[0],i[1]),e=0,o=2;o<i.length;o+=2)e+=f(i[o-2],i[o-1],i[o],i[o+1],a,l)||0;else"circle"!==s&&"ellipse"!==s||(h=h/2*a,u=u/2*l,e=Math.PI*(3*(h+u)-A((3*h+u)*(h+3*u))));return e||0}function y(t,e){if(!(t=T(t)[0]))return[0,0];e=e||h(t)+1;var i=b.getComputedStyle(t),n=i.strokeDasharray||"",t=d(i.strokeDashoffset),i=n.indexOf(",");return e<(n=(i=i<0?n.indexOf(" "):i)<0?e:d(n.substr(0,i))||1e-5)&&(n=e),[Math.max(0,-t),Math.max(0,n-t)]}function v(){e()&&(b=window,S=n=i(),T=n.utils.toArray,D=-1!==((b.navigator||{}).userAgent||"").indexOf("Edge"))}var n,T,b,D,S,C=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,w={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},A=Math.sqrt,o={version:"3.2.4",name:"drawSVG",register:function(t){n=t,v()},init:function(t,e){if(!t.getBBox)return!1;S||v();var i,n,o,s,r,a,l,u=h(t)+1;return this._style=t.style,this._target=t,e+""=="true"?e="0 100%":e?-1===(e+"").indexOf(" ")&&(e="0 "+e):e="0 0",o=e,r=(i=y(t,s=u))[0],a=(a=o.indexOf(" "))<0?(l=void 0!==r?r+"":o,o):(l=o.substr(0,a),o.substr(a+1)),l=~l.indexOf("%")?d(l)/100*s:d(l),l=(a=~a.indexOf("%")?d(a)/100*s:d(a))<l?[a,l]:[l,a],this._length=c(u+10),0===i[0]&&0===l[0]?(a=Math.max(1e-5,l[1]-u),this._dash=c(u+a),this._offset=c(u-i[1]+a),this._offsetPT=this.add(this,"_offset",this._offset,c(u-l[1]+a))):(this._dash=c(i[1]-i[0])||1e-6,this._offset=c(-i[0]),this._dashPT=this.add(this,"_dash",this._dash,c(l[1]-l[0])||1e-5),this._offsetPT=this.add(this,"_offset",this._offset,c(-l[0]))),D&&(n=b.getComputedStyle(t)).strokeLinecap!==n.strokeLinejoin&&(l=d(n.strokeMiterlimit),this.add(t.style,"strokeMiterlimit",l,l+.01)),this._live=g(t)||~(e+"").indexOf("live"),this._props.push("drawSVG"),1},render:function(t,e){var i,n,o,s=e._pt,r=e._style;if(s){for(e._live&&(i=h(e._target)+11)!==e._length&&(o=i/e._length,e._length=i,e._offsetPT.s*=o,e._offsetPT.c*=o,e._dashPT?(e._dashPT.s*=o,e._dashPT.c*=o):e._dash*=o);s;)s.r(t,s.d),s=s._next;n=e._dash,o=e._offset,i=e._length,r.strokeDashoffset=e._offset,1!==t&&t?r.strokeDasharray=n+"px,"+i+"px":(n-o<.001&&i-n<=10&&(r.strokeDashoffset=o+1),r.strokeDasharray=o<.001&&i-n<=10?"none":o===n?"0px, 999999px":n+"px,"+i+"px")}},getLength:h,getPosition:y};i()&&n.registerPlugin(o),t.DrawSVGPlugin=o,t.default=o,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";var b=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function z(t){return i.getComputedStyle(t)}function N(t,e){var i;return o(t)?t:"string"==(i=typeof t)&&!e&&t?s.call(Y.querySelectorAll(t),0):t&&"object"==i&&"length"in t?s.call(t,0):t?[t]:[]}function W(t){return"absolute"===t.position||!0===t.absolute}function D(t,e){for(var i,n=e.length;-1<--n;)if(i=e[n],t.substr(0,i.length)===i)return i.length}function l(t,e){var i=~(t=void 0===t?"":t).indexOf("++"),n=1;return i&&(t=t.split("++").join("")),function(){return"<"+e+" style='position:relative;display:inline-block;'"+(t?" class='"+t+(i?n++:"")+"'>":">")}}function V(t,e,i){var n=t.nodeType;if(1===n||9===n||11===n)for(t=t.firstChild;t;t=t.nextSibling)V(t,e,i);else 3!==n&&4!==n||(t.nodeValue=t.nodeValue.split(e).join(i))}function $(t,e){for(var i=e.length;-1<--i;)t.push(e[i])}function X(t,e,i){for(var n;t&&t!==e;){if(n=t._next||t.nextSibling)return n.textContent.charAt(0)===i;t=t.parentNode||t._parent}}function j(t,e){return parseFloat(e[t])||0}function u(t,e,i,n,o,s,r){var a,l,u,c,d,h,p,f,m,g,y,v,T=z(t),b=j("paddingLeft",T),D=-999,S=j("borderBottomWidth",T)+j("borderTopWidth",T),C=j("borderLeftWidth",T)+j("borderRightWidth",T),w=j("paddingTop",T)+j("paddingBottom",T),A=j("paddingLeft",T)+j("paddingRight",T),P=.2*j("fontSize",T),_=T.textAlign,E=[],M=[],x=[],k=e.wordDelimiter||" ",I=e.tag||(e.span?"span":"div"),T=e.type||e.split||"chars,words,lines",B=o&&~T.indexOf("lines")?[]:null,H=~T.indexOf("words"),G=~T.indexOf("chars"),F=W(e),L=e.linesClass,O=~(L||"").indexOf("++"),R=[];for(O&&(L=L.split("++").join("")),u=(l=t.getElementsByTagName("*")).length,d=[],a=0;a<u;a++)d[a]=l[a];if(B||F)for(a=0;a<u;a++)((h=(c=d[a]).parentNode===t)||F||G&&!H)&&(v=c.offsetTop,B&&h&&Math.abs(v-D)>P&&("BR"!==c.nodeName||0===a)&&(B.push(p=[]),D=v),F&&(c._x=c.offsetLeft,c._y=v,c._w=c.offsetWidth,c._h=c.offsetHeight),B&&((c._isSplit&&h||!G&&h||H&&h||!H&&c.parentNode.parentNode===t&&!c.parentNode._isSplit)&&(p.push(c),c._x-=b,X(c,t,k)&&(c._wordEnd=!0)),"BR"===c.nodeName&&(c.nextSibling&&"BR"===c.nextSibling.nodeName||0===a)&&B.push([])));for(a=0;a<u;a++)h=(c=d[a]).parentNode===t,"BR"!==c.nodeName?(F&&(m=c.style,H||h||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),m.left=c._x+"px",m.top=c._y+"px",m.position="absolute",m.display="block",m.width=c._w+1+"px",m.height=c._h+"px"),!H&&G?c._isSplit?(c._next=c.nextSibling,c.parentNode.appendChild(c)):c.parentNode._isSplit?(c._parent=c.parentNode,!c.previousSibling&&c.firstChild&&(c.firstChild._isFirst=!0),c.nextSibling&&" "===c.nextSibling.textContent&&!c.nextSibling.nextSibling&&R.push(c.nextSibling),c._next=c.nextSibling&&c.nextSibling._isFirst?null:c.nextSibling,c.parentNode.removeChild(c),d.splice(a--,1),u--):h||(v=!c.nextSibling&&X(c.parentNode,t,k),c.parentNode._parent&&c.parentNode._parent.appendChild(c),v&&c.parentNode.appendChild(Y.createTextNode(" ")),"span"===I&&(c.style.display="inline"),E.push(c)):c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML?M.push(c):G&&!c._isSplit&&("span"===I&&(c.style.display="inline"),E.push(c))):B||F?(c.parentNode&&c.parentNode.removeChild(c),d.splice(a--,1),u--):H||t.appendChild(c);for(a=R.length;-1<--a;)R[a].parentNode.removeChild(R[a]);if(B){for(F&&(g=Y.createElement(I),t.appendChild(g),y=g.offsetWidth+"px",v=g.offsetParent===t?0:t.offsetLeft,t.removeChild(g)),m=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(f=" "===k&&(!F||!H&&!G),a=0;a<B.length;a++){for(p=B[a],(g=Y.createElement(I)).style.cssText="display:block;text-align:"+_+";position:"+(F?"absolute;":"relative;"),L&&(g.className=L+(O?a+1:"")),x.push(g),u=p.length,l=0;l<u;l++)"BR"!==p[l].nodeName&&(c=p[l],g.appendChild(c),f&&c._wordEnd&&g.appendChild(Y.createTextNode(" ")),F&&(0===l&&(g.style.top=c._y+"px",g.style.left=b+v+"px"),c.style.top="0px",v&&(c.style.left=c._x-v+"px")));0===u?g.innerHTML="&nbsp;":H||G||(function t(e){for(var i,n=N(e.childNodes),o=n.length,s=0;s<o;s++)(i=n[s])._isSplit?t(i):(s&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=(3===i.nodeType?i:i.firstChild).nodeValue:3!==i.nodeType&&e.insertBefore(i.firstChild,i),e.removeChild(i))}(g),V(g,String.fromCharCode(160)," ")),F&&(g.style.width=y,g.style.height=c._h+"px"),t.appendChild(g)}t.style.cssText=m}F&&(r>t.clientHeight&&(t.style.height=r-w+"px",t.clientHeight<r&&(t.style.height=r+S+"px")),s>t.clientWidth&&(t.style.width=s-A+"px",t.clientWidth<s&&(t.style.width=s+C+"px"))),$(i,E),H&&$(n,M),$(o,x)}function c(t,e,i,n){var o,s,r=N(t.childNodes),a=r.length,l=W(e);if(3!==t.nodeType||1<a){for(e.absolute=!1,o=0;o<a;o++)3===(s=r[o]).nodeType&&!/\S+/.test(s.nodeValue)||(l&&3!==s.nodeType&&"inline"===z(s).display&&(s.style.display="inline-block",s.style.position="relative"),s._isSplit=!0,c(s,e,i,n));return e.absolute=l,t._isSplit=!0,0}!function(t,e,i,n){var o,s,r,a,l,u,c,d=e.tag||(e.span?"span":"div"),h=~(e.type||e.split||"chars,words,lines").indexOf("chars"),p=W(e),f=e.wordDelimiter||" ",m=" "!==f?"":p?"&#173; ":" ",g="</"+d+">",y=1,v=e.specialChars?"function"==typeof e.specialChars?e.specialChars:D:null,T=Y.createElement("div");for((p=t.parentNode).insertBefore(T,t),T.textContent=t.nodeValue,p.removeChild(t),T=-1!==(o=function t(e){var i=e.nodeType,n="";if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=t(e)}else if(3===i||4===i)return e.nodeValue;return n}(t=T)).indexOf("<"),!1!==e.reduceWhiteSpace&&(o=o.replace(C," ").replace(S,"")),l=(o=T?o.split("<").join("{{LT}}"):o).length,s=(" "===o.charAt(0)?m:"")+i(),r=0;r<l;r++)if(u=o.charAt(r),v&&(c=v(o.substr(r),e.specialChars)))u=o.substr(r,c||1),s+=h&&" "!==u?n()+u+"</"+d+">":u,r+=c-1;else if(u===f&&o.charAt(r-1)!==f&&r){for(s+=y?g:"",y=0;o.charAt(r+1)===f;)s+=m,r++;r===l-1?s+=m:")"!==o.charAt(r+1)&&(s+=m+i(),y=1)}else"{"===u&&"{{LT}}"===o.substr(r,6)?(s+=h?n()+"{{LT}}</"+d+">":"{{LT}}",r+=5):55296<=u.charCodeAt(0)&&u.charCodeAt(0)<=56319||65024<=o.charCodeAt(r+1)&&o.charCodeAt(r+1)<=65039?(a=((o.substr(r,12).split(b)||[])[1]||"").length||2,s+=h&&" "!==u?n()+o.substr(r,a)+"</"+d+">":o.substr(r,a),r+=a-1):s+=h&&" "!==u?n()+u+"</"+d+">":u;t.outerHTML=s+(y?g:""),T&&V(p,"{{LT}}","<")}(t,e,i,n)}var Y,i,n,S=/(?:\r|\n|\t\t)/g,C=/(?:\s\s+)/g,o=Array.isArray,s=[].slice,e=((e=r.prototype).split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,i,n,o=this.elements.length,s=t.tag||(t.span?"span":"div"),r=l(t.wordsClass,s),a=l(t.charsClass,s);-1<--o;)n=this.elements[o],this._originals[o]=n.innerHTML,e=n.clientHeight,i=n.clientWidth,c(n,t,r,a),u(n,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var i=this._originals;if(!i)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(t,e){return t.innerHTML=i[e]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},r.create=function(t,e){return new r(t,e)},r);function r(t,e){n||(Y=document,i=window,n=1),this.elements=N(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)}e.version="3.2.4",t.SplitText=e,t.default=e,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function e(){return"undefined"!=typeof window}function i(){return n||e()&&(n=window.gsap)&&n.registerPlugin&&n}function r(t){return"string"==typeof t}function h(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,e="client"+i;return t===p||t===s||t===d?Math.max(s[n],d[n])-(p["inner"+i]||s[e]||d[e]):t[n]-t["offset"+i]}function a(t,e){var i="scroll"+("x"===e?"Left":"Top");return t===p&&(null!=t.pageXOffset?i="page"+e.toUpperCase()+"Offset":t=null!=s[i]?s:d),function(){return t[i]}}function o(t,e){var i=f(t)[0].getBoundingClientRect(),n=!e||e===p||e===d,t=n?{top:s.clientTop-(p.pageYOffset||s.scrollTop||d.scrollTop||0),left:s.clientLeft-(p.pageXOffset||s.scrollLeft||d.scrollLeft||0)}:e.getBoundingClientRect(),t={x:i.left-t.left,y:i.top-t.top};return!n&&e&&(t.x+=a(e,"x")(),t.y+=a(e,"y")()),t}function l(t,e,i,n){return isNaN(t)||"object"==typeof t?r(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+n:"max"===t?h(e,i):Math.min(h(e,i),o(t,e)[i]):parseFloat(t)}function u(){n=i(),e()&&n&&document.body&&(p=window,d=document.body,s=document.documentElement,f=n.utils.toArray,n.config({autoKillThreshold:7}),m=n.config(),c=1)}var n,c,p,s,d,f,m,g={version:"3.2.4",name:"scrollTo",rawVars:1,register:function(t){n=t,u()},init:function(t,e,i,n,o){c||u();var s=this;s.isWin=t===p,s.target=t,s.tween=i,"object"!=typeof e?r((e={y:e}).y)&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),s.vars=e,s.autoKill=!!e.autoKill,s.getX=a(t,"x"),s.getY=a(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),null!=e.x?(s.add(s,"x",s.x,l(e.x,t,"x",s.x)-(e.offsetX||0),n,o,Math.round),s._props.push("scrollTo_x")):s.skipX=1,null!=e.y?(s.add(s,"y",s.y,l(e.y,t,"y",s.y)-(e.offsetY||0),n,o,Math.round),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var i,n,o,s=e._pt,r=e.target,a=e.tween,l=e.autoKill,u=e.xPrev,c=e.yPrev,d=e.isWin;s;)s.r(t,s.d),s=s._next;i=d||!e.skipX?e.getX():u,o=(n=d||!e.skipY?e.getY():c)-c,c=i-u,u=m.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),l&&(!e.skipX&&(u<c||c<-u)&&i<h(r,"x")&&(e.skipX=1),!e.skipY&&(u<o||o<-u)&&n<h(r,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(a.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(a,e.vars.onAutoKillParams||[]))),d?p.scrollTo(e.skipX?i:e.x,e.skipY?n:e.y):(e.skipY||(r.scrollTop=e.y),e.skipX||(r.scrollLeft=e.x)),e.xPrev=e.x,e.yPrev=e.y},kill:function(t){var e="scrollTo"===t;!e&&"scrollTo_x"!==t||(this.skipX=1),!e&&"scrollTo_y"!==t||(this.skipY=1)}};g.max=h,g.getOffset=o,g.buildGetter=a,i()&&n.registerPlugin(g),t.ScrollToPlugin=g,t.default=g,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),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||{},t=i[t]=i[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,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 n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.imagesLoaded=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function s(t,e){for(var i in e)t[i]=e[i];return t}function r(t,e,i){if(!(this instanceof r))return new r(t,e,i);var n,o=t;return(o="string"==typeof t?document.querySelectorAll(t):o)?(this.elements=(n=o,Array.isArray(n)?n:"object"==typeof n&&"number"==typeof n.length?u.call(n):[n]),this.options=s({},this.options),"function"==typeof e?i=e:s(this.options,e),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(o||t))}function i(t){this.img=t}function n(t,e){this.url=t,this.element=e,this.img=new Image}var a=e.jQuery,l=e.console,u=Array.prototype.slice;(r.prototype=Object.create(t.prototype)).options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&c[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var s=t.querySelectorAll(this.options.background),n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}};var c={1:!0,9:!0,11:!0};return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){t=new i(t);this.images.push(t)},r.prototype.addBackground=function(t,e){e=new n(t,e);this.images.push(e)},r.prototype.check=function(){function e(t,e,i){setTimeout(function(){n.progress(t,e,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(i.prototype=Object.create(t.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(a(this))})})(),r}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(l){"use strict";var u="animsition",s=!1;l(function(){s=!0});var c={init:function(o){o=l.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(t){window.location.href=t}},o),c.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition-instart",inEnd:"animsition.inEnd",outStart:"animsition-outstart",outEnd:"animsition.outEnd"}};var t=c.supportCheck.call(this,o);return t||!(0<o.browser.length)||t&&this.length?(c.optionCheck.call(this,o)&&l("."+o.overlayClass).length<=0&&c.addOverlay.call(this,o),o.loading&&l("."+o.loadingClass).length<=0&&c.addLoading.call(this,o),this.each(function(){var n=this,t=l(this),e=l(window),i=l(document);t.data(u)||(o=l.extend({},o),t.data(u,{options:o}),o.timeout&&c.addTimer.call(n),o.onLoadEvent&&(s?(c.settings.timer&&clearTimeout(c.settings.timer),c.in.call(n)):l(function(){c.settings.timer&&clearTimeout(c.settings.timer),c.in.call(n)})),e.on("pageshow."+u,function(t){t.originalEvent.persisted&&c.in.call(n)}),e.on("unload."+u,function(){}),i.on("click."+u,o.linkElement,function(t){t.preventDefault();var e=l(this),i=e.attr("href");2===t.which||t.metaKey||t.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&t.ctrlKey?window.open(i,"_blank"):c.out.call(n,e,i)}))})):("console"in window||(window.console={},window.console.log=function(t){return t}),this.length||console.log("Animsition: Element does not exist on page."),t||console.log("Animsition: Does not support this browser."),c.destroy.call(this))},addOverlay:function(t){l(t.overlayParentElement).prepend('<div class="'+t.overlayClass+'"></div>')},addLoading:function(t){l(t.loadingParentElement).append('<div class="'+t.loadingClass+'">'+t.loadingInner+"</div>")},removeLoading:function(){var t=l(this).data(u).options;l(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,e=l(this).data(u).options;c.settings.timer=setTimeout(function(){c.in.call(t),l(window).off("load."+u)},e.timeoutCountdown)},supportCheck:function(t){var e=l(this),i=t.browser,n=i.length,o=!1;0===n&&(o=!0);for(var s=0;s<n;s++)if("string"==typeof e.css(i[s])){o=!0;break}return o},optionCheck:function(t){var e=l(this),e=!(!t.overlay&&!e.data(c.settings.data.overlay));return e},animationCheck:function(t,e,i){var n=l(this).data(u).options,o=typeof t,s=e&&"string"==o&&0<t.length;return!e&&"number"==o||s||(e&&i?t=n.inClass:!e&&i?t=n.inDuration:e&&!i?t=n.outClass:e||i||(t=n.outDuration)),t},in:function(){var t=this,e=l(this),i=e.data(u).options,n=e.data(c.settings.data.inDuration),o=e.data(c.settings.data.inClass),s=c.animationCheck.call(t,n,!1,!0),r=c.animationCheck.call(t,o,!0,!0),a=c.optionCheck.call(t,i),o=e.data(u).outClass;i.loading&&c.removeLoading.call(t),o&&e.removeClass(o),setTimeout(function(){(a?c.inOverlay:c.inDefault).call(t,r,s)},5)},inDefault:function(t,e){var i=l(this);i.css({"animation-duration":e+"ms"}).addClass(t).trigger(c.settings.events.inStart).animateCallback(function(){i.removeClass(t).css({opacity:1}).trigger(c.settings.events.inEnd)})},inOverlay:function(t,e){var i=l(this),n=i.data(u).options;i.css({opacity:1}).trigger(c.settings.events.inStart),l(n.overlayParentElement).children("."+n.overlayClass).css({"animation-duration":e+"ms"}).addClass(t).animateCallback(function(){i.trigger(c.settings.events.inEnd)})},out:function(t,e){var i=this,n=l(this),o=n.data(u).options,s=t.data(c.settings.data.outClass),r=n.data(c.settings.data.outClass),a=t.data(c.settings.data.outDuration),t=n.data(c.settings.data.outDuration),t=a||t,r=c.animationCheck.call(i,s||r,!0,!1),t=c.animationCheck.call(i,t,!1,!1),o=c.optionCheck.call(i,o);n.data(u).outClass=r,(o?c.outOverlay:c.outDefault).call(i,r,t,e)},outDefault:function(t,e,i){var n=l(this),o=n.data(u).options;n.css({"animation-duration":e+1+"ms"}).addClass(t).trigger(c.settings.events.outStart).animateCallback(function(){n.trigger(c.settings.events.outEnd),o.transition(i)})},outOverlay:function(t,e,i){var n=l(this),o=n.data(u).options,s=n.data(c.settings.data.inClass),s=c.animationCheck.call(this,s,!0,!0);l(o.overlayParentElement).children("."+o.overlayClass).css({"animation-duration":e+1+"ms"}).removeClass(s).addClass(t).trigger(c.settings.events.outStart).animateCallback(function(){n.trigger(c.settings.events.outEnd),o.transition(i)})},destroy:function(){return this.each(function(){var t=l(this);l(window).off("."+u),t.css({opacity:1}).removeData(u)})}};l.fn.animateCallback=function(e){var i="animationend webkitAnimationEnd";return this.each(function(){var t=l(this);t.on(i,function(){return t.off(i),e.call(this)})})},l.fn.animsition=function(t){return c[t]?c[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void l.error("Method "+t+" does not exist on jQuery."+u):c.init.apply(this,arguments)}}),function(t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define([],t):window.BezierEasing=t()}(function(){var p=1e-7,f=10,m="Float32Array"in this;function n(t,e){return 1-3*e+3*t}function g(t,e,i){return((n(e,i)*t+(3*i-6*e))*t+3*e)*t}function y(t,e,i){return 3*n(e,i)*t*t+2*(3*i-6*e)*t+3*e}function t(s,e,r,i){if(4!==arguments.length)throw new Error("BezierEasing requires 4 arguments.");for(var t=0;t<4;++t)if("number"!=typeof arguments[t]||isNaN(arguments[t])||!isFinite(arguments[t]))throw new Error("BezierEasing arguments should be integers.");if(s<0||1<s||r<0||1<r)throw new Error("BezierEasing x values must be in [0, 1] range.");var a=new(m?Float32Array:Array)(11);function n(t){for(var e=0,i=1;10!=i&&a[i]<=t;++i)e+=.1;var n=e+.1*((t-a[--i])/(a[i+1]-a[i])),o=y(n,s,r);return.001<=o?function(t,e){for(var i=0;i<4;++i){var n=y(e,s,r);if(0===n)return e;e-=(g(e,s,r)-t)/n}return e}(t,n):0===o?n:function(t,e,i){for(var n,o,s=0;0<(n=g(o=e+(i-e)/2,mX1,mX2)-t)?i=o:e=o,Math.abs(n)>p&&++s<f;);return o}(t,e,e+.1)}var o=!1;function l(){o=!0,s==e&&r==i||function(){for(var t=0;t<11;++t)a[t]=g(.1*t,s,r)}()}function u(t){return o||l(),s===e&&r===i?t:0===t?0:1===t?1:g(n(t),e,i)}u.getControlPoints=function(){return[{x:s,y:e},{x:r,y:i}]};var c=[s,e,r,i],d="BezierEasing("+c+")";u.toString=function(){return d};var h="cubic-bezier("+c+")";return u.toCSS=function(){return h},u}return t.css={ease:t(.25,.1,.25,1),linear:t(0,0,1,1),"ease-in":t(.42,0,1,1),"ease-out":t(0,0,.58,1),"ease-in-out":t(.42,0,.58,1)},t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Headroom=e()}(this,function(){"use strict";function t(){return"undefined"!=typeof window}function h(t){return(s=t)&&s.document&&9===s.document.nodeType?(s=(i=t).document,n=s.body,o=s.documentElement,{scrollHeight:function(){return Math.max(n.scrollHeight,o.scrollHeight,n.offsetHeight,o.offsetHeight,n.clientHeight,o.clientHeight)},height:function(){return i.innerHeight||o.clientHeight||n.clientHeight},scrollY:function(){return void 0!==i.pageYOffset?i.pageYOffset:(o||n.parentNode||n).scrollTop}}):(e=t,{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}});var e,i,n,o,s}function e(t,n,o){var e,i=function(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}(),s=!1,r=h(t),a=r.scrollY(),l={};function u(){var t=Math.round(r.scrollY()),e=r.height(),i=r.scrollHeight();l.scrollY=t,l.lastScrollY=a,l.direction=a<t?"down":"up",l.distance=Math.abs(t-a),l.isOutOfBounds=t<0||i<t+e,l.top=t<=n.offset,l.bottom=i<=t+e,l.toleranceExceeded=l.distance>n.tolerance[l.direction],o(l),a=t,s=!1}function c(){s||(s=!0,e=requestAnimationFrame(u))}var d=!!i&&{passive:!0,capture:!1};return t.addEventListener("scroll",c,d),u(),{destroy:function(){cancelAnimationFrame(e),t.removeEventListener("scroll",c,d)}}}function i(t,e){e=e||{},Object.assign(this,i.options,e),this.classes=Object.assign({},i.options.classes,e.classes),this.elem=t,this.tolerance=(t=this.tolerance)===Object(t)?t:{down:t,up:t},this.initialised=!1,this.frozen=!1}return i.prototype={constructor:i,init:function(){return i.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(t){t.scrollTracker=e(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(t){return"down"===t.direction&&!t.top&&t.toleranceExceeded},shouldPin:function(t){return"up"===t.direction&&t.toleranceExceeded||t.top},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "))},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "))},hasClass:function(t){return this.classes[t].split(" ").every(function(t){return this.classList.contains(t)},this.elem)},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin())}},i.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},i.cutsTheMustard=!!(t()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),i}),function(c,d){function h(t,e){var i=t.getBoundingClientRect(),n=i.top,o=i.bottom,s=i.left,r=i.right,a=c.extend({tolerance:0,viewport:d},e),l=!1,u=a.viewport.jquery?a.viewport:c(a.viewport);u.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),u=c(d));var t=u.height(),i=u.width(),e=u[0].toString();return u[0]!==d&&"[object Window]"!==e&&"[object DOMWindow]"!==e&&(n-=(e=u[0].getBoundingClientRect()).top,o-=e.top,s-=e.left,r-=e.left,h.scrollBarWidth=h.scrollBarWidth||(e=u,u=c("<div></div>").css({width:"100%"}),e.append(u),e=e.width()-u.width(),u.remove(),e),i-=h.scrollBarWidth),a.tolerance=~~Math.round(parseFloat(a.tolerance)),a.tolerance<0&&(a.tolerance=t+a.tolerance),r<=0||i<=s?l:a.tolerance?n<=a.tolerance&&o>=a.tolerance:0<o&&n<=t}String.prototype.hasOwnProperty("trim")||(String.prototype.trim=function(){return this.replace(/^\s*(.*?)\s*$/,"$1")});function e(t){if(!((t=1===arguments.length&&"function"==typeof t?[t]:t)instanceof Array))throw new SyntaxError("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions");for(var e=0;e<t.length;e++)if("function"==typeof t[e])for(var i=0;i<this.length;i++)t[e].call(c(this[i]));else console.warn("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions"),console.warn("isInViewport: Ignoring non-function values in array and moving on");return this}c.fn.do=function(t){return console.warn("isInViewport: .do is deprecated as it causes issues in IE and some browsers since it's a reserved word. Use $.fn.run instead i.e., $(el).run(fn)."),e(t)},c.fn.run=e;function n(t){if(t){t=t.split(",");return 1===t.length&&isNaN(t[0])&&(t[1]=t[0],t[0]=void 0),{tolerance:t[0]?t[0].trim():void 0,viewport:t[1]?c(t[1].trim()):void 0}}return{}}c.extend(c.expr[":"],{"in-viewport":c.expr.createPseudo?c.expr.createPseudo(function(e){return function(t){return h(t,n(e))}}):function(t,e,i){return h(t,n(i[3]))}}),c.fn.isInViewport=function(i){return this.filter(function(t,e){return h(e,i)})}}(jQuery,window),function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";function i(l,u,c){(c=c||e||t.jQuery)&&(u.prototype.option||(u.prototype.option=function(t){c.isPlainObject(t)&&(this.options=c.extend(!0,this.options,t))}),c.fn[l]=function(t){if("string"!=typeof t)return a=t,this.each(function(t,e){var i=c.data(e,l);i?(i.option(a),i._init()):(i=new u(e,a),c.data(e,l,i))}),this;var n,o,s,r,a,e=d.call(arguments,1);return o=e,r="$()."+l+'("'+(n=t)+'")',(t=this).each(function(t,e){var i=c.data(e,l);i?(e=i[n])&&"_"!=n.charAt(0)?(i=e.apply(i,o),s=void 0===s?i:s):h(r+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:t},n(c))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var d=Array.prototype.slice,o=t.console,h=void 0===o?function(){}:function(t){o.error(t)};return n(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||{},t=i[t]=i[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,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 n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function p(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function f(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function m(t){if(T||(T=!0,(h=document.createElement("div")).style.width="200px",h.style.padding="1px 2px 3px 4px",h.style.borderStyle="solid",h.style.borderWidth="1px 2px 3px 4px",h.style.boxSizing="border-box",(d=document.body||document.documentElement).appendChild(h),c=f(h),g=200==Math.round(p(c.width)),m.isBoxSizeOuter=g,d.removeChild(h)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=f(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<v;e++)t[y[e]]=0;return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var n=i.isBorderBox="border-box"==e.boxSizing,o=0;o<v;o++){var s=y[o],r=e[s],r=parseFloat(r);i[s]=isNaN(r)?0:r}var a=i.paddingLeft+i.paddingRight,l=i.paddingTop+i.paddingBottom,u=i.marginLeft+i.marginRight,c=i.marginTop+i.marginBottom,d=i.borderLeftWidth+i.borderRightWidth,h=i.borderTopWidth+i.borderBottomWidth,t=n&&g,n=p(e.width);!1!==n&&(i.width=n+(t?0:a+d));n=p(e.height);return!1!==n&&(i.height=n+(t?0:l+h)),i.innerWidth=i.width-(a+d),i.innerHeight=i.height-(l+h),i.outerWidth=i.width+u,i.outerHeight=i.height+c,i}var h,d,c}var g,e="undefined"==typeof console?function(){}:function(t){console.error(t)},y=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],v=y.length,T=!1;return m}),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 i=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 n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(i,s){var l={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice;l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,s(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,n){t=l.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){s(t,n)&&o.push(t);for(var e=t.querySelectorAll(n),i=0;i<e.length;i++)o.push(e[i])}else o.push(t)}),o},l.debounceMethod=function(t,e,n){n=n||100;var o=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];clearTimeout(t);var e=arguments,i=this;this[s]=setTimeout(function(){o.apply(i,e),delete i[s]},n)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var u=i.console;return l.htmlInit=function(r,a){l.docReady(function(){var t=l.toDashed(a),n="data-"+t,e=document.querySelectorAll("["+n+"]"),t=document.querySelectorAll(".js-"+t),t=l.makeArray(e).concat(l.makeArray(t)),o=n+"-options",s=i.jQuery;t.forEach(function(e){var t=e.getAttribute(n)||e.getAttribute(o);try{i=t&&JSON.parse(t)}catch(t){return void(u&&u.error("Error parsing "+n+" on "+e.className+": "+t))}var i=new r(e,i);s&&s.data(e,a,i)})})},l}),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,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,o="string"==typeof n.transition?"transition":"WebkitTransition",s="string"==typeof n.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],a={transform:s,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},t=i.prototype=Object.create(t.prototype);t.constructor=i,t._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getSize=function(){this.size=e(this.element)},t.css=function(t){var e,i=this.element.style;for(e in t)i[a[e]||e]=t[e]},t.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],s=parseFloat(n),r=parseFloat(o),t=this.layout.size;-1!=n.indexOf("%")&&(s=s/100*t.width),-1!=o.indexOf("%")&&(r=r/100*t.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?t.paddingLeft:t.paddingRight,r-=i?t.paddingTop:t.paddingBottom,this.position.x=s,this.position.y=r},t.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"right":"left",s=this.position.x+t[i?"paddingLeft":"paddingRight"];e[i?"left":"right"]=this.getXValue(s),e[o]="";o=n?"bottom":"top",t=this.position.y+t[n?"paddingTop":"paddingBottom"];e[n?"top":"bottom"]=this.getYValue(t),e[o]="",this.css(e),this.emitEvent("layout",[this])},t.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},t.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},t._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;this.setPosition(t,e),!o||this.isTransitioning?((o={}).transform=this.getTranslate(t-i,e-n),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},t.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},t.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},t.moveTo=t._transitionTo,t.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},t._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},t.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,i=this._transn;for(e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var l="opacity,"+s.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});t.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:l,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1))},t.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},t.onotransitionend=function(t){this.ontransitionend(t)};var u={"-webkit-transform":"transform"};t.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=u[t.propertyName]||t.propertyName,delete e.ingProperties[i],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},t.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},t._removeStyles=function(t){var e,i={};for(e in t)i[e]="";this.css(i)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return t.removeTransitionStyles=function(){this.css(c)},t.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},t.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},t.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},t.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},t.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},t.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},t.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},t.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},t.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(o,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,n){return s(o,t,e,i,n)}):"object"==typeof module&&module.exports?module.exports=s(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=s(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,o,n,s){"use strict";function r(t,e){var i=n.getQueryElement(t);i?(this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),e=++c,this.element.outlayerGUID=e,(d[e]=this)._create(),this._getOption("initLayout")&&this.layout()):l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function a(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function i(){}var l=t.console,u=t.jQuery,c=0,d={};r.namespace="outlayer",r.Item=s,r.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 h=r.prototype;n.extend(h,e.prototype),h.option=function(t){n.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var s=new i(e[o],this);n.push(s)}return n},h._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=o(this.element)},h._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,i){var n;this._emitCompleteOnItems("layout",t),t&&t.length&&(n=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,n.push(e)},this),this._processLayoutQueue(n))},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var t=(e=t.match(/(^\d*\.?\d*)(\w*)/))&&e[1],e=e&&e[2];return t.length?(t=parseFloat(t))*(p[e]||1):0}(t),this.stagger)},h._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var t;!this._getOption("resizeContainer")||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},h._getContainerSize=i,h._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).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")},h._emitCompleteOnItems=function(e,t){function i(){s.dispatchEvent(e+"Complete",null,[t])}function n(){++o==r&&i()}var o,s=this,r=t.length;t&&r?(o=0,t.forEach(function(t){t.once(e,n)})):i()},h.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n),u&&(this.$element=this.$element||u(this.element),e?((e=u.Event(e)).type=t,this.$element.trigger(e,i)):this.$element.trigger(t,i))},h.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},h.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._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)}},h._manageStamp=i,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,t=o(t);return{left:e.left-i.left-t.marginLeft,top:e.top-i.top-t.marginTop,right:i.right-e.right-t.marginRight,bottom:i.bottom-e.bottom-t.marginBottom}},h.handleEvent=n.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},h.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},h.prepended=function(t){var e=this._itemize(t);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},h.reveal=function(t){var i;this._emitCompleteOnItems("reveal",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.reveal()}))},h.hide=function(t){var i;this._emitCompleteOnItems("hide",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.hide()}))},h.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},h.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},h.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){t=this.getItem(t);t&&e.push(t)},this),e},h.remove=function(t){t=this.getItems(t);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();t=this.element.outlayerGUID;delete d[t],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=(t=n.getQueryElement(t))&&t.outlayerGUID;return t&&d[t]},r.create=function(t,e){var i=a(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=a(s),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var p={ms:1,s:1e3};return r.Item=s,r}),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),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.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,e=this.layout.options.getSortData,i=this.layout._sorters;for(t in e){var n=i[t];this.sortData[t]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.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(e,i){"use strict";function n(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return i.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.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,n="outer"+e;this._getMeasurement(i,n),this[i]||(t=this.getFirstItemSize(),this[i]=t&&t[n]||this.isotope.size["inner"+e])},o.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(t,e){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(o)).constructor=i,e&&(i.options=e),n.modes[i.prototype.namespace=t]=i},n}),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,a){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";t=e.prototype;return t._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},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(i=(e=this.items[0])&&e.element,this.columnWidth=i&&a(i).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,i=e/t,t=t-e%t,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,t=a(t);this.containerWidth=t&&t.innerWidth},t._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),i=Math.min(i,this.cols),n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),e={x:this.columnWidth*n.col,y:n.y},o=n.y+t.size.outerHeight,s=i+n.col,r=n.col;r<s;r++)this.colYs[r]=o;return e},t._getTopColPosition=function(t){var e=this._getTopColGroup(t),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},t._getColGroupY=function(t,e){if(e<2)return this.colYs[t];e=this.colYs.slice(t,t+e);return Math.max.apply(Math,e)},t._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,i=1<t&&i+t>this.cols?0:i,e=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=e?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},t._manageStamp=function(t){var e=a(t),i=this._getElementOffset(t),n=this._getOption("originLeft")?i.left:i.right,t=n+e.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),o=Math.floor(t/this.columnWidth);o-=t%this.columnWidth?0:1;for(var o=Math.min(this.cols-1,o),s=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,r=n;r<=o;r++)this.colYs[r]=Math.max(s,this.colYs[r])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},t._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),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=t.create("masonry"),n=t.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in e.prototype)o[i]||(n[i]=e.prototype[i]);var s=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var r=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:r.apply(this.isotope,arguments)},t}),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"),t=e.prototype;return t._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t._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);i={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},t._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}),t=e.prototype;return t._resetLayout=function(){this.y=0},t._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}},t._getContainerSize=function(){return{height:this.y}},e}),function(r,a){"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(t,e,i,n,o,s){return a(r,t,0,i,n,o,s)}):"object"==typeof module&&module.exports?module.exports=a(r,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")):r.Isotope=a(r,r.Outlayer,r.getSize,r.matchesSelector,r.fizzyUIUtils,r.Isotope.Item,r.Isotope.LayoutMode)}(window,function(t,i,e,n,s,o,r){var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=o,u.LayoutMode=r;o=u.prototype;o._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},o.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},o._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++)t[e].id=this.itemGUID++;return this._updateItemsSortData(t),t},o._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?s.extend(e.options,i):i,this.modes[t]=new e(this)},o.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},o._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},o.arrange=function(t){this.option(t),this._getIsInstant();t=this._filter(this.items);this.filteredItems=t.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[t]):this._hideReveal(t),this._sort(),this._layout()},o._init=o.arrange,o._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},o._getIsInstant=function(){var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;return this._isInstant=t},o._bindArrangeComplete=function(){function t(){e&&i&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},o._filter=function(t){for(var e=this.options.filter,i=[],n=[],o=[],s=this._getFilterTest(e=e||"*"),r=0;r<t.length;r++){var a,l=t[r];l.isIgnored||((a=s(l))&&i.push(l),a&&l.isHidden?n.push(l):a||l.isHidden||o.push(l))}return{matches:i,needReveal:n,needHide:o}},o._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return n(t.element,e)}},o.updateSortData=function(t){t=t?(t=s.makeArray(t),this.getItems(t)):this.items;this._getSorters(),this._updateItemsSortData(t)},o._getSorters=function(){var t,e=this.options.getSortData;for(t in e){var i=e[t];this._sorters[t]=c(i)}},o._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()};var c=function(t){if("string"!=typeof t)return t;var e,i,n=l(t).split(" "),o=n[0],t=(t=o.match(/^\[(.+)\]$/))&&t[1],s=(i=o,(e=t)?function(t){return t.getAttribute(e)}:function(t){t=t.querySelector(i);return t&&t.textContent}),r=u.sortDataParsers[n[1]];return r?function(t){return t&&r(s(t))}:function(t){return t&&s(t)}};u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},o._sort=function(){var t,r,a;this.options.sortBy&&(t=s.makeArray(this.options.sortBy),this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory)),r=this.sortHistory,a=this.options.sortAscending,this.filteredItems.sort(function(t,e){for(var i=0;i<r.length;i++){var n=r[i],o=t.sortData[n],s=e.sortData[n];if(s<o||o<s)return(s<o?1:-1)*((void 0!==a[n]?a[n]:a)?1:-1)}return 0}))},o._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},o._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},o._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},o._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},o._manageStamp=function(t){this._mode()._manageStamp(t)},o._getContainerSize=function(){return this._mode()._getContainerSize()},o.needsResizeLayout=function(){return this._mode().needsResizeLayout()},o.appended=function(t){t=this.addItems(t);t.length&&(t=this._filterRevealAdded(t),this.filteredItems=this.filteredItems.concat(t))},o.prepended=function(t){var e=this._itemize(t);e.length&&(this._resetLayout(),this._manageStamps(),t=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=t.concat(this.filteredItems),this.items=e.concat(this.items))},o._filterRevealAdded=function(t){t=this._filter(t);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},o.insert=function(t){var e=this.addItems(t);if(e.length){for(var i,n=e.length,o=0;o<n;o++)i=e[o],this.element.appendChild(i.element);t=this._filter(e).matches;for(o=0;o<n;o++)e[o].isLayoutInstant=!0;for(this.arrange(),o=0;o<n;o++)delete e[o].isLayoutInstant;this.reveal(t)}};var d=o.remove;return o.remove=function(t){t=s.makeArray(t);var e=this.getItems(t);d.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var o=e[n];s.removeFrom(this.filteredItems,o)}},o.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},o._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;e=t.apply(this,e);return this.options.transitionDuration=i,e},o.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},u}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof module&&module.exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,function(){function a(t){for(var e in a.defaults)this[e]=a.defaults[e];for(e in t)this[e]=t[e]}a.defaults={x:0,y:0,width:0,height:0};var t=a.prototype;return t.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},t.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.x<n&&e>t.x&&this.y<o&&i>t.y},t.getMaximalFreeRects=function(t){if(!this.overlaps(t))return!1;var e,i=[],n=this.x+this.width,o=this.y+this.height,s=t.x+t.width,r=t.y+t.height;return this.y<t.y&&(e=new a({x:this.x,y:this.y,width:this.width,height:t.y-this.y}),i.push(e)),s<n&&(e=new a({x:s,y:this.y,width:n-s,height:this.height}),i.push(e)),r<o&&(e=new a({x:this.x,y:r,width:this.width,height:o-r}),i.push(e)),this.x<t.x&&(e=new a({x:this.x,y:this.y,width:t.x-this.x,height:this.height}),i.push(e)),i},t.canFit=function(t){return this.width>=t.width&&this.height>=t.height},a}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packer",["./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("./rect")):(t=t.Packery=t.Packery||{}).Packer=e(t.Rect)}(window,function(e){function t(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=t.prototype;i.reset=function(){this.spaces=[];var t=new e({x:0,y:0,width:this.width,height:this.height});this.spaces.push(t),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},i.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.x<=t.x&&i.x+i.width>=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.y<=t.y&&i.y+i.height>=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;i<this.spaces.length;i++){var n=this.spaces[i],o=n.getMaximalFreeRects(t);o?e.push.apply(e,o):e.push(n)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){t.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},t.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var n=0,o=t[e+n];o;){if(o==i)n++;else{if(o.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(o)?t.splice(e+n,1):n++}o=t[e+n]}i=t[++e]}return t};var n={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return t}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("./rect")):t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,function(t,e){function i(){t.Item.apply(this,arguments)}var n="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",o=i.prototype=Object.create(t.Item.prototype),s=o._create;o._create=function(){s.call(this),this.rect=new e};var r=o.moveTo;return o.moveTo=function(t,e){var i=Math.abs(this.position.x-t),n=Math.abs(this.position.y-e);this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&n<1?this.goTo(t,e):r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&n&&(this.element.style[n]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[n]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},i}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(u,t,r,e,i){r.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var n=t.create("packery");n.Item=i;i=n.prototype;function o(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function s(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}i._create=function(){t.prototype._create.call(this),this.packer=new e,this.shiftPacker=new e,this.isEnabled=!0,this.dragItemCount=0;var i=this;this.handleDraggabilly={dragStart:function(){i.itemDragStart(this.element)},dragMove:function(){i.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){i.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(t,e){e&&i.itemDragStart(t.currentTarget)},drag:function(t,e){e&&i.itemDragMove(t.currentTarget,e.position.left,e.position.top)},stop:function(t,e){e&&i.itemDragEnd(t.currentTarget)}}},i._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),i=this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,"rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,"downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},i._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},i._getItemLayoutPosition=function(t){var e;return this._setRectSize(t.element,t.rect),this.isShifting||0<this.dragItemCount?(e=this._getPackMethod(),this.packer[e](t.rect)):this.packer.pack(t.rect),this._setMaxXY(t.rect),t.rect},i.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},i._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},i._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},i._setRectSize=function(t,e){var i=u(t),t=i.outerWidth,i=i.outerHeight;(t||i)&&(t=this._applyGridGutter(t,this.columnWidth),i=this._applyGridGutter(i,this.rowHeight)),e.width=Math.min(t,this.packer.width),e.height=Math.min(i,this.packer.height)},i._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return t=Math[i&&i<1?"round":"ceil"](t/e)*e},i._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},i._manageStamp=function(t){var e,i=this.getItem(t);e=i&&i.isPlacing?i.rect:(e=this._getElementOffset(t),new r({x:this._getOption("originLeft")?e.left:e.right,y:this._getOption("originTop")?e.top:e.bottom})),this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},i.sortItemsByPosition=function(){var t=this._getOption("horizontal")?s:o;this.items.sort(t)},i.fit=function(t,e,i){t=this.getItem(t);t&&(this.stamp(t.element),t.enablePlacing(),this.updateShiftTargets(t),e=void 0===e?t.rect.x:e,i=void 0===i?t.rect.y:i,this.shift(t,e,i),this._bindFitEvents(t),t.moveTo(t.rect.x,t.rect.y),this.shiftLayout(),this.unstamp(t.element),this.sortItemsByPosition(),t.disablePlacing())},i._bindFitEvents=function(t){var e=this,i=0;function n(){2==++i&&e.dispatchEvent("fitComplete",null,[t])}t.once("layout",n),this.once("layoutComplete",n)},i.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},i.needsResizeLayout=function(){var t=u(this.element),e=this._getOption("horizontal")?"innerHeight":"innerWidth";return t[e]!=this.size[e]},i.resizeShiftPercentLayout=function(){var i,e,n,t=this._getItemsForLayout(this.items),o=this._getOption("horizontal"),s=o?"y":"x",r=o?"height":"width",a=o?"rowHeight":"columnWidth",o=o?"innerHeight":"innerWidth",l=this[a];(l=l&&l+this.gutter)?(this._getMeasurements(),i=this[a]+this.gutter,t.forEach(function(t){var e=Math.round(t.rect[s]/l);t.rect[s]=e*i})):(e=u(this.element)[o]+this.gutter,n=this.packer[r],t.forEach(function(t){t.rect[s]=t.rect[s]/n*e})),this.shiftLayout()},i.itemDragStart=function(t){this.isEnabled&&(this.stamp(t),(t=this.getItem(t))&&(t.enablePlacing(),t.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(t)))},i.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var i=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var e=this.getItem(t);e&&e.isPlacing||(e=this._getElementOffset(t),e=new r({x:i?e.left:e.right,y:n?e.top:e.bottom}),this._setRectSize(t,e),this.shiftPacker.placed(e))},this);var l=this._getOption("horizontal"),e=l?"rowHeight":"columnWidth",u=l?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var c=this[e];if(c=c&&c+this.gutter)for(var e=Math.ceil(t.rect[u]/c),o=Math.floor((this.shiftPacker[u]+this.gutter)/c),d=(o-e)*c,s=0;s<o;s++)this._addShiftTarget(s*c,0,d);else d=this.shiftPacker[u]+this.gutter-t.rect[u],this._addShiftTarget(0,0,d);var t=this._getItemsForLayout(this.items),h=this._getPackMethod();t.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[h](e),this._addShiftTarget(e.x,e.y,d);var i=l?e.x+e.width:e.x,n=l?e.y:e.y+e.height;if(this._addShiftTarget(i,n,d),c)for(var o=Math.round(e[u]/c),s=1;s<o;s++){var r=l?i:e.x+c*s,a=l?e.y+c*s:n;this._addShiftTarget(r,a,d)}},this)},i._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;0!==n&&i<n||(-1!=this.shiftTargetKeys.indexOf(n=t+","+e)||(this.shiftTargetKeys.push(n),this.shiftTargets.push({x:t,y:e})))},i.shift=function(t,e,i){var o,s=1/0,r={x:e,y:i};this.shiftTargets.forEach(function(t){var e,i,n,e=(n=(i=r).x-(e=t).x,e=i.y-e.y,Math.sqrt(n*n+e*e));e<s&&(o=t,s=e)}),t.rect.x=o.x,t.rect.y=o.y};i.itemDragMove=function(t,e,i){var n,o=this.isEnabled&&this.getItem(t);function s(){n.shift(o,e,i),o.positionDropPlaceholder(),n.layout()}o&&(e-=this.size.paddingLeft,i-=this.size.paddingTop,n=this,t=new Date,this._itemDragTime&&t-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(s,120)):(s(),this._itemDragTime=t))},i.itemDragEnd=function(t){var e,i,n=this.isEnabled&&this.getItem(t);function o(){2==++e&&(n.element.classList.remove("is-positioning-post-drag"),n.hideDropPlaceholder(),i.dispatchEvent("dragItemPositioned",null,[n]))}n&&(clearTimeout(this.dragTimeout),n.element.classList.add("is-positioning-post-drag"),e=0,i=this,n.once("layout",o),this.once("layoutComplete",o),n.moveTo(n.rect.x,n.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),n.disablePlacing(),this.unstamp(n.element))},i.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},i.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},i._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},i.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},i.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},i._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=i.destroy;return i.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},n.Rect=r,n.Packer=e,n}),function(t,e){"function"==typeof define&&define.amd?define(["isotope-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery")):e(t.Isotope.LayoutMode,t.Packery)}(window,function(t,e){var i,t=t.create("packery"),n=t.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(i in e.prototype)o[i]||(n[i]=e.prototype[i]);var s=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,s.apply(this,arguments)};var r=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,r.call(this,t)};var a=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():a.call(this)};var l=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:l.apply(this.isotope,arguments)},t}),function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=10)}([,,function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(e,t,i){!function(t){t="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};e.exports=t}.call(this,i(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},,,,,,function(t,e,i){t.exports=i(11)},function(t,e,i){"use strict";i.r(e);var e=i(2),e=i.n(e),o=i(3),s=i(12);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n,a=o.window.jarallax;o.window.jarallax=s.default,o.window.jarallax.noConflict=function(){return o.window.jarallax=a,this},void 0!==o.jQuery&&((i=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];Array.prototype.unshift.call(e,this);var n=s.default.apply(o.window,e);return"object"!==r(n)?n:this}).constructor=s.default.constructor,n=o.jQuery.fn.jarallax,o.jQuery.fn.jarallax=i,o.jQuery.fn.jarallax.noConflict=function(){return o.jQuery.fn.jarallax=n,this}),e()(function(){Object(s.default)(document.querySelectorAll("[data-jarallax]"))})},function(t,e,i){"use strict";i.r(e);var n=i(2),n=i.n(n),f=i(3);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var s,m,c=f.window.navigator,r=-1<c.userAgent.indexOf("MSIE ")||-1<c.userAgent.indexOf("Trident/")||-1<c.userAgent.indexOf("Edge/"),a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(c.userAgent),d=function(){for(var t="transform WebkitTransform MozTransform".split(" "),e=document.createElement("div"),i=0;i<t.length;i+=1)if(e&&void 0!==e.style[t[i]])return t[i];return!1}();function h(){m=a?(!s&&document.body&&((s=document.createElement("div")).style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(s)),(s?s.clientHeight:0)||f.window.innerHeight||document.documentElement.clientHeight):f.window.innerHeight||document.documentElement.clientHeight}h(),f.window.addEventListener("resize",h),f.window.addEventListener("orientationchange",h),f.window.addEventListener("load",h),n()(function(){h()});var p=[];function g(){p.length&&(p.forEach(function(t,e){var i=t.instance,n=t.oldData,o=i.$item.getBoundingClientRect(),t={width:o.width,height:o.height,top:o.top,bottom:o.bottom,wndW:f.window.innerWidth,wndH:m},o=!n||n.wndW!==t.wndW||n.wndH!==t.wndH||n.width!==t.width||n.height!==t.height,n=o||!n||n.top!==t.top||n.bottom!==t.bottom;p[e].oldData=t,o&&i.onResize(),n&&i.onScroll()}),f.window.requestAnimationFrame(g))}function y(t,e){for(var i,n=(t=("object"===("undefined"==typeof HTMLElement?"undefined":u(HTMLElement))?t instanceof HTMLElement:t&&"object"===u(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)?[t]:t).length,o=0,s=arguments.length,r=new Array(2<s?s-2:0),a=2;a<s;a++)r[a-2]=arguments[a];for(;o<n;o+=1)if("object"===u(e)||void 0===e?t[o].jarallax||(t[o].jarallax=new T(t[o],e)):t[o].jarallax&&(i=t[o].jarallax[e].apply(t[o].jarallax,r)),void 0!==i)return i;return t}var v=0,T=(o(b.prototype,[{key:"css",value:function(e,i){return"string"==typeof i?f.window.getComputedStyle(e).getPropertyValue(i):(i.transform&&d&&(i[d]=i.transform),Object.keys(i).forEach(function(t){e.style[t]=i[t]}),e)}},{key:"extend",value:function(i){for(var t=arguments.length,n=new Array(1<t?t-1:0),e=1;e<t;e++)n[e-1]=arguments[e];return i=i||{},Object.keys(n).forEach(function(e){n[e]&&Object.keys(n[e]).forEach(function(t){i[t]=n[e][t]})}),i}},{key:"getWindowData",value:function(){return{width:f.window.innerWidth||document.documentElement.clientWidth,height:m,y:document.documentElement.scrollTop}}},{key:"initImg",value:function(){var t=this,e=t.options.imgElement;return(e=e&&"string"==typeof e?t.$item.querySelector(e):e)instanceof Element||(t.options.imgSrc?(e=new Image).src=t.options.imgSrc:e=null),e&&(t.options.keepImg?t.image.$item=e.cloneNode(!0):(t.image.$item=e,t.image.$itemParent=e.parentNode),t.image.useImgTag=!0),!(!t.image.$item&&(null===t.image.src&&(t.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",t.image.bgImage=t.css(t.$item,"background-image")),!t.image.bgImage||"none"===t.image.bgImage))}},{key:"canInitParallax",value:function(){return d&&!this.options.disableParallax()}},{key:"init",value:function(){var t,e=this,i={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"},n={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",willChange:"transform,opacity"};e.options.keepImg||((t=e.$item.getAttribute("style"))&&e.$item.setAttribute("data-jarallax-original-styles",t),!e.image.useImgTag||(t=e.image.$item.getAttribute("style"))&&e.image.$item.setAttribute("data-jarallax-original-styles",t)),"static"===e.css(e.$item,"position")&&e.css(e.$item,{position:"relative"}),"auto"===e.css(e.$item,"z-index")&&e.css(e.$item,{zIndex:0}),e.image.$container=document.createElement("div"),e.css(e.image.$container,i),e.css(e.image.$container,{"z-index":e.options.zIndex}),r&&e.css(e.image.$container,{opacity:.9999}),e.image.$container.setAttribute("id","jarallax-container-".concat(e.instanceID)),e.$item.appendChild(e.image.$container),e.image.useImgTag?n=e.extend({"object-fit":e.options.imgSize,"object-position":e.options.imgPosition,"font-family":"object-fit: ".concat(e.options.imgSize,"; object-position: ").concat(e.options.imgPosition,";"),"max-width":"none"},i,n):(e.image.$item=document.createElement("div"),e.image.src&&(n=e.extend({"background-position":e.options.imgPosition,"background-size":e.options.imgSize,"background-repeat":e.options.imgRepeat,"background-image":e.image.bgImage||'url("'.concat(e.image.src,'")')},i,n))),"opacity"!==e.options.type&&"scale"!==e.options.type&&"scale-opacity"!==e.options.type&&1!==e.options.speed||(e.image.position="absolute"),"fixed"===e.image.position&&(i=function(t){for(var e=[];null!==t.parentElement;)1===(t=t.parentElement).nodeType&&e.push(t);return e}(e.$item).filter(function(t){var e=f.window.getComputedStyle(t),t=e["-webkit-transform"]||e["-moz-transform"]||e.transform;return t&&"none"!==t||/(auto|scroll)/.test(e.overflow+e["overflow-y"]+e["overflow-x"])}),e.image.position=i.length?"absolute":"fixed"),n.position=e.image.position,e.css(e.image.$item,n),e.image.$container.appendChild(e.image.$item),e.onResize(),e.onScroll(!0),e.options.onInit&&e.options.onInit.call(e),"none"!==e.css(e.$item,"background-image")&&e.css(e.$item,{"background-image":"none"}),e.addToParallaxList()}},{key:"addToParallaxList",value:function(){p.push({instance:this}),1===p.length&&f.window.requestAnimationFrame(g)}},{key:"removeFromParallaxList",value:function(){var i=this;p.forEach(function(t,e){t.instance.instanceID===i.instanceID&&p.splice(e,1)})}},{key:"destroy",value:function(){var t=this;t.removeFromParallaxList();var e,i=t.$item.getAttribute("data-jarallax-original-styles");t.$item.removeAttribute("data-jarallax-original-styles"),i?t.$item.setAttribute("style",i):t.$item.removeAttribute("style"),t.image.useImgTag&&(e=t.image.$item.getAttribute("data-jarallax-original-styles"),t.image.$item.removeAttribute("data-jarallax-original-styles"),e?t.image.$item.setAttribute("style",i):t.image.$item.removeAttribute("style"),t.image.$itemParent&&t.image.$itemParent.appendChild(t.image.$item)),t.$clipStyles&&t.$clipStyles.parentNode.removeChild(t.$clipStyles),t.image.$container&&t.image.$container.parentNode.removeChild(t.image.$container),t.options.onDestroy&&t.options.onDestroy.call(t),delete t.$item.jarallax}},{key:"clipContainer",value:function(){var t,e,i;"fixed"===this.image.position&&(e=(i=(t=this).image.$container.getBoundingClientRect()).width,i=i.height,t.$clipStyles||(t.$clipStyles=document.createElement("style"),t.$clipStyles.setAttribute("type","text/css"),t.$clipStyles.setAttribute("id","jarallax-clip-".concat(t.instanceID)),(document.head||document.getElementsByTagName("head")[0]).appendChild(t.$clipStyles)),i="#jarallax-container-".concat(t.instanceID," {\n            clip: rect(0 ").concat(e,"px ").concat(i,"px 0);\n            clip: rect(0, ").concat(e,"px, ").concat(i,"px, 0);\n            -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n        }"),t.$clipStyles.styleSheet?t.$clipStyles.styleSheet.cssText=i:t.$clipStyles.innerHTML=i)}},{key:"coverImage",value:function(){var t,e=this,i=e.image.$container.getBoundingClientRect(),n=i.height,o=e.options.speed,s="scroll"===e.options.type||"scroll-opacity"===e.options.type,r=0,a=n;return s&&(o<0?(r=o*Math.max(n,m),m<n&&(r-=o*(n-m))):r=o*(n+m),1<o?a=Math.abs(r-m):o<0?a=r/o+Math.abs(r):a+=(m-n)*(1-o),r/=2),e.parallaxScrollDistance=r,t=s?(m-a)/2:(n-a)/2,e.css(e.image.$item,{height:"".concat(a,"px"),marginTop:"".concat(t,"px"),left:"fixed"===e.image.position?"".concat(i.left,"px"):"0",width:"".concat(i.width,"px")}),e.options.onCoverImage&&e.options.onCoverImage.call(e),{image:{height:a,marginTop:t},container:i}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(t){var e,i,n,o,s,r,a,l=this,u=l.$item.getBoundingClientRect(),c=u.top,d=u.height,h={},p=u;l.options.elementInViewport&&(p=l.options.elementInViewport.getBoundingClientRect()),l.isElementInViewport=0<=p.bottom&&0<=p.right&&p.top<=m&&p.left<=f.window.innerWidth,(t||l.isElementInViewport)&&(e=Math.max(0,c),i=Math.max(0,d+c),n=Math.max(0,-c),o=Math.max(0,c+d-m),s=Math.max(0,d-(c+d-m)),r=Math.max(0,-c+m-d),p=1-(m-c)/(m+d)*2,t=1,d<m?t=1-(n||o)/d:i<=m?t=i/m:s<=m&&(t=s/m),"opacity"!==l.options.type&&"scale-opacity"!==l.options.type&&"scroll-opacity"!==l.options.type||(h.transform="translate3d(0,0,0)",h.opacity=t),"scale"!==l.options.type&&"scale-opacity"!==l.options.type||(a=1,l.options.speed<0?a-=l.options.speed*t:a+=l.options.speed*(1-t),h.transform="scale(".concat(a,") translate3d(0,0,0)")),"scroll"!==l.options.type&&"scroll-opacity"!==l.options.type||(a=l.parallaxScrollDistance*p,"absolute"===l.image.position&&(a-=c),h.transform="translate3d(0,".concat(a,"px,0)")),l.css(l.image.$item,h),l.options.onScroll&&l.options.onScroll.call(l,{section:u,beforeTop:e,beforeTopEnd:i,afterTop:n,beforeBottom:o,beforeBottomEnd:s,afterBottom:r,visiblePercent:t,fromViewportCenter:p}))}},{key:"onResize",value:function(){this.coverImage(),this.clipContainer()}}]),b);function b(t,e){!function(t){if(!(t instanceof b))throw new TypeError("Cannot call a class as a function")}(this);var i=this;i.instanceID=v,v+=1,i.$item=t,i.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,disableVideo:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var n,o,s=i.$item.dataset||{},r={};Object.keys(s).forEach(function(t){var e=t.substr(0,1).toLowerCase()+t.substr(1);e&&void 0!==i.defaults[e]&&(r[e]=s[t])}),i.options=i.extend({},i.defaults,r,e),i.pureOptions=i.extend({},i.options),Object.keys(i.options).forEach(function(t){"true"===i.options[t]?i.options[t]=!0:"false"===i.options[t]&&(i.options[t]=!1)}),i.options.speed=Math.min(2,Math.max(-1,parseFloat(i.options.speed))),"string"==typeof i.options.disableParallax&&(i.options.disableParallax=new RegExp(i.options.disableParallax)),i.options.disableParallax instanceof RegExp&&(n=i.options.disableParallax,i.options.disableParallax=function(){return n.test(c.userAgent)}),"function"!=typeof i.options.disableParallax&&(i.options.disableParallax=function(){return!1}),"string"==typeof i.options.disableVideo&&(i.options.disableVideo=new RegExp(i.options.disableVideo)),i.options.disableVideo instanceof RegExp&&(o=i.options.disableVideo,i.options.disableVideo=function(){return o.test(c.userAgent)}),"function"!=typeof i.options.disableVideo&&(i.options.disableVideo=function(){return!1});var a=i.options.elementInViewport;a&&"object"===u(a)&&void 0!==a.length&&(t=1,a=(function(t){if(Array.isArray(t))return t}(e=a)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}return i}}(e,t)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(i="Object"===i&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,e):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0]),a instanceof Element||(a=null),i.options.elementInViewport=a,i.image={src:i.options.imgSrc||null,$container:null,useImgTag:!1,position:/iPad|iPhone|iPod|Android/.test(c.userAgent)?"absolute":"fixed"},i.initImg()&&i.canInitParallax()&&i.init()}y.constructor=T,e.default=y}]),function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=6)}([,,function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(e,t,i){!function(t){t="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};e.exports=t}.call(this,i(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},,function(t,e,i){t.exports=i(7)},function(t,e,i){"use strict";i.r(e);var n=i(8),e=i(3),o=i.n(e),e=i(2),e=i.n(e),i=i(9);o.a.VideoWorker=o.a.VideoWorker||n.default,Object(i.default)(),e()(function(){void 0!==o.a.jarallax&&o.a.jarallax(document.querySelectorAll("[data-jarallax-video]"))})},function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return f});var e=i(3),c=i.n(e);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(){this.doneCallbacks=[],this.failCallbacks=[]}s.prototype={execute:function(t,e){var i=t.length;for(e=Array.prototype.slice.call(e);i;)t[--i].apply(null,e)},resolve:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];this.execute(this.doneCallbacks,e)},reject:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];this.execute(this.failCallbacks,e)},done:function(t){this.doneCallbacks.push(t)},fail:function(t){this.failCallbacks.push(t)}};var r=0,a=0,l=0,u=0,d=0,h=new s,p=new s,f=(o(m.prototype,[{key:"extend",value:function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=i[0]||{};return Object.keys(i).forEach(function(e){i[e]&&Object.keys(i[e]).forEach(function(t){n[t]=i[e][t]})}),n}},{key:"parseURL",value:function(t){var e,i,n=!(!(o=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==o[1].length)&&o[1],o=!(!(o=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/))||!o[3])&&o[3],t=(t=t.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),e={},i=0,t.forEach(function(t){t=t.match(/^(mp4|webm|ogv|ogg)\:(.*)/);t&&t[1]&&t[2]&&(e["ogv"===t[1]?"ogg":t[1]]=t[2],i=1)}),!!i&&e);return n?(this.type="youtube",n):o?(this.type="vimeo",o):!!t&&(this.type="local",t)}},{key:"isValid",value:function(){return!!this.videoID}},{key:"on",value:function(t,e){this.userEventsList=this.userEventsList||[],(this.userEventsList[t]||(this.userEventsList[t]=[])).push(e)}},{key:"off",value:function(i,n){var o=this;this.userEventsList&&this.userEventsList[i]&&(n?this.userEventsList[i].forEach(function(t,e){t===n&&(o.userEventsList[i][e]=!1)}):delete this.userEventsList[i])}},{key:"fire",value:function(t){for(var e=this,i=arguments.length,n=new Array(1<i?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];this.userEventsList&&void 0!==this.userEventsList[t]&&this.userEventsList[t].forEach(function(t){t&&t.apply(e,n)})}},{key:"play",value:function(t){var e=this;e.player&&("youtube"===e.type&&e.player.playVideo&&(void 0!==t&&e.player.seekTo(t||0),c.a.YT.PlayerState.PLAYING!==e.player.getPlayerState()&&e.player.playVideo()),"vimeo"===e.type&&(void 0!==t&&e.player.setCurrentTime(t),e.player.getPaused().then(function(t){t&&e.player.play()})),"local"===e.type&&(void 0!==t&&(e.player.currentTime=t),e.player.paused&&e.player.play()))}},{key:"pause",value:function(){var e=this;e.player&&("youtube"===e.type&&e.player.pauseVideo&&c.a.YT.PlayerState.PLAYING===e.player.getPlayerState()&&e.player.pauseVideo(),"vimeo"===e.type&&e.player.getPaused().then(function(t){t||e.player.pause()}),"local"===e.type&&(e.player.paused||e.player.pause()))}},{key:"mute",value:function(){var t=this;t.player&&("youtube"===t.type&&t.player.mute&&t.player.mute(),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(0),"local"===t.type&&(t.$video.muted=!0))}},{key:"unmute",value:function(){var t=this;t.player&&("youtube"===t.type&&t.player.mute&&t.player.unMute(),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(t.options.volume),"local"===t.type&&(t.$video.muted=!1))}},{key:"setVolume",value:function(t){var e=0<arguments.length&&void 0!==t&&t,t=this;t.player&&e&&("youtube"===t.type&&t.player.setVolume&&t.player.setVolume(e),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(e),"local"===t.type&&(t.$video.volume=e/100))}},{key:"getVolume",value:function(e){var t=this;t.player?("youtube"===t.type&&t.player.getVolume&&e(t.player.getVolume()),"vimeo"===t.type&&t.player.getVolume&&t.player.getVolume().then(function(t){e(t)}),"local"===t.type&&e(100*t.$video.volume)):e(!1)}},{key:"getMuted",value:function(e){this.player?("youtube"===this.type&&this.player.isMuted&&e(this.player.isMuted()),"vimeo"===this.type&&this.player.getVolume&&this.player.getVolume().then(function(t){e(!!t)}),"local"===this.type&&e(this.$video.muted)):e(null)}},{key:"getImageURL",value:function(e){var t,i,n,o=this;o.videoImage?e(o.videoImage):("youtube"===o.type&&(t=["maxresdefault","sddefault","hqdefault","0"],i=0,(n=new Image).onload=function(){120!==(this.naturalWidth||this.width)||i===t.length-1?(o.videoImage="https://img.youtube.com/vi/".concat(o.videoID,"/").concat(t[i],".jpg"),e(o.videoImage)):(i+=1,this.src="https://img.youtube.com/vi/".concat(o.videoID,"/").concat(t[i],".jpg"))},n.src="https://img.youtube.com/vi/".concat(o.videoID,"/").concat(t[i],".jpg")),"vimeo"===o.type&&((n=new XMLHttpRequest).open("GET","https://vimeo.com/api/v2/video/".concat(o.videoID,".json"),!0),n.onreadystatechange=function(){var t;4===this.readyState&&200<=this.status&&this.status<400&&(t=JSON.parse(this.responseText),o.videoImage=t[0].thumbnail_large,e(o.videoImage))},n.send(),n=null))}},{key:"getIframe",value:function(t){this.getVideo(t)}},{key:"getVideo",value:function(l){var u=this;u.$video?l(u.$video):u.onAPIready(function(){var t,e,i,n,o,s,r,a;u.$video||((t=document.createElement("div")).style.display="none"),"youtube"===u.type&&(u.playerOptions={},u.playerOptions.videoId=u.videoID,u.playerOptions.playerVars={autohide:1,rel:0,autoplay:0,playsinline:1},u.options.showContols||(u.playerOptions.playerVars.iv_load_policy=3,u.playerOptions.playerVars.modestbranding=1,u.playerOptions.playerVars.controls=0,u.playerOptions.playerVars.showinfo=0,u.playerOptions.playerVars.disablekb=1),u.playerOptions.events={onReady:function(e){u.options.mute?e.target.mute():u.options.volume&&e.target.setVolume(u.options.volume),u.options.autoplay&&u.play(u.options.startTime),u.fire("ready",e),u.options.loop&&!u.options.endTime&&(u.options.endTime=u.player.getDuration()-.1),setInterval(function(){u.getVolume(function(t){u.options.volume!==t&&(u.options.volume=t,u.fire("volumechange",e))})},150)},onStateChange:function(t){u.options.loop&&t.data===c.a.YT.PlayerState.ENDED&&u.play(u.options.startTime),e||t.data!==c.a.YT.PlayerState.PLAYING||(e=1,u.fire("started",t)),t.data===c.a.YT.PlayerState.PLAYING&&u.fire("play",t),t.data===c.a.YT.PlayerState.PAUSED&&u.fire("pause",t),t.data===c.a.YT.PlayerState.ENDED&&u.fire("ended",t),t.data===c.a.YT.PlayerState.PLAYING?i=setInterval(function(){u.fire("timeupdate",t),u.options.endTime&&u.player.getCurrentTime()>=u.options.endTime&&(u.options.loop?u.play(u.options.startTime):u.pause())},150):clearInterval(i)},onError:function(t){u.fire("error",t)}},(n=!u.$video)&&((o=document.createElement("div")).setAttribute("id",u.playerID),t.appendChild(o),document.body.appendChild(t)),u.player=u.player||new c.a.YT.Player(u.playerID,u.playerOptions),n&&(u.$video=document.getElementById(u.playerID),u.videoWidth=parseInt(u.$video.getAttribute("width"),10)||1280,u.videoHeight=parseInt(u.$video.getAttribute("height"),10)||720)),"vimeo"===u.type&&(u.playerOptions={id:u.videoID,autopause:0,transparent:0,autoplay:u.options.autoplay?1:0,loop:u.options.loop?1:0,muted:u.options.mute?1:0},u.options.volume&&(u.playerOptions.volume=u.options.volume),u.options.showContols||(u.playerOptions.badge=0,u.playerOptions.byline=0,u.playerOptions.portrait=0,u.playerOptions.title=0,u.playerOptions.background=1),u.$video||(s="",Object.keys(u.playerOptions).forEach(function(t){""!==s&&(s+="&"),s+="".concat(t,"=").concat(encodeURIComponent(u.playerOptions[t]))}),u.$video=document.createElement("iframe"),u.$video.setAttribute("id",u.playerID),u.$video.setAttribute("src","https://player.vimeo.com/video/".concat(u.videoID,"?").concat(s)),u.$video.setAttribute("frameborder","0"),u.$video.setAttribute("mozallowfullscreen",""),u.$video.setAttribute("allowfullscreen",""),t.appendChild(u.$video),document.body.appendChild(t)),u.player=u.player||new c.a.Vimeo.Player(u.$video,u.playerOptions),u.options.startTime&&u.options.autoplay&&u.player.setCurrentTime(u.options.startTime),u.player.getVideoWidth().then(function(t){u.videoWidth=t||1280}),u.player.getVideoHeight().then(function(t){u.videoHeight=t||720}),u.player.on("timeupdate",function(t){r||(u.fire("started",t),r=1),u.fire("timeupdate",t),u.options.endTime&&u.options.endTime&&t.seconds>=u.options.endTime&&(u.options.loop?u.play(u.options.startTime):u.pause())}),u.player.on("play",function(t){u.fire("play",t),u.options.startTime&&0===t.seconds&&u.play(u.options.startTime)}),u.player.on("pause",function(t){u.fire("pause",t)}),u.player.on("ended",function(t){u.fire("ended",t)}),u.player.on("loaded",function(t){u.fire("ready",t)}),u.player.on("volumechange",function(t){u.fire("volumechange",t)}),u.player.on("error",function(t){u.fire("error",t)})),"local"===u.type&&(u.$video||(u.$video=document.createElement("video"),u.options.showContols&&(u.$video.controls=!0),u.options.mute?u.$video.muted=!0:u.$video.volume&&(u.$video.volume=u.options.volume/100),u.options.loop&&(u.$video.loop=!0),u.$video.setAttribute("playsinline",""),u.$video.setAttribute("webkit-playsinline",""),u.$video.setAttribute("id",u.playerID),t.appendChild(u.$video),document.body.appendChild(t),Object.keys(u.videoID).forEach(function(t){var e=u.$video,i=u.videoID[t],n="video/".concat(t);(t=document.createElement("source")).src=i,t.type=n,e.appendChild(t)})),u.player=u.player||u.$video,u.player.addEventListener("playing",function(t){a||u.fire("started",t),a=1}),u.player.addEventListener("timeupdate",function(t){u.fire("timeupdate",t),u.options.endTime&&u.options.endTime&&this.currentTime>=u.options.endTime&&(u.options.loop?u.play(u.options.startTime):u.pause())}),u.player.addEventListener("play",function(t){u.fire("play",t)}),u.player.addEventListener("pause",function(t){u.fire("pause",t)}),u.player.addEventListener("ended",function(t){u.fire("ended",t)}),u.player.addEventListener("loadedmetadata",function(){u.videoWidth=this.videoWidth||1280,u.videoHeight=this.videoHeight||720,u.fire("ready"),u.options.autoplay&&u.play(u.options.startTime)}),u.player.addEventListener("volumechange",function(t){u.getVolume(function(t){u.options.volume=t}),u.fire("volumechange",t)}),u.player.addEventListener("error",function(t){u.fire("error",t)})),l(u.$video)})}},{key:"init",value:function(){this.playerID="VideoWorker-".concat(this.ID)}},{key:"loadAPI",value:function(){if(!a||!l){var t,e,i="";if("youtube"!==this.type||a||(a=1,i="https://www.youtube.com/iframe_api"),"vimeo"===this.type&&!l){if(l=1,void 0!==c.a.Vimeo)return;i="https://player.vimeo.com/api/player.js"}i&&(t=document.createElement("script"),e=document.getElementsByTagName("head")[0],t.src=i,e.appendChild(t),t=e=null)}}},{key:"onAPIready",value:function(t){var e;"youtube"===this.type&&(void 0!==c.a.YT&&0!==c.a.YT.loaded||u?"object"===n(c.a.YT)&&1===c.a.YT.loaded?t():h.done(function(){t()}):(u=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,h.resolve("done"),t()})),"vimeo"===this.type&&(void 0!==c.a.Vimeo||d?void 0!==c.a.Vimeo?t():p.done(function(){t()}):(d=1,e=setInterval(function(){void 0!==c.a.Vimeo&&(clearInterval(e),p.resolve("done"),t())},20))),"local"===this.type&&t()}}]),m);function m(t,e){!function(t){if(!(t instanceof m))throw new TypeError("Cannot call a class as a function")}(this);var i=this;i.url=t,i.options_default={autoplay:!1,loop:!1,mute:!1,volume:100,showContols:!0,startTime:0,endTime:0},i.options=i.extend({},i.options_default,e),i.videoID=i.parseURL(t),i.videoID&&(i.ID=r,r+=1,i.loadAPI(),i.init())}},function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return n});var s=i(8),e=i(3),r=i.n(e);function n(){var t,a,e,o,i,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:r.a.jarallax;void 0!==n&&(n=n.constructor,t=n.prototype.onScroll,n.prototype.onScroll=function(){var i=this;t.apply(i),i.isVideoInserted||!i.video||i.options.videoLazyLoading&&!i.isElementInViewport||i.options.disableVideo()||(i.isVideoInserted=!0,i.video.getVideo(function(t){var e=t.parentNode;i.css(t,{position:i.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",willChange:"transform,opacity",margin:0,zIndex:-1}),i.$video=t,"local"===i.video.type&&(i.image.src?i.$video.setAttribute("poster",i.image.src):i.image.$item&&"IMG"===i.image.$item.tagName&&i.image.$item.src&&i.$video.setAttribute("poster",i.image.$item.src)),i.image.$container.appendChild(t),e.parentNode.removeChild(e)}))},a=n.prototype.coverImage,n.prototype.coverImage=function(){var t,e,i,n,o=this,s=a.apply(o),r=!!o.image.$item&&o.image.$item.nodeName;return s&&o.video&&r&&("IFRAME"===r||"VIDEO"===r)&&(e=(t=s.image.height)*o.image.width/o.image.height,i=(s.container.width-e)/2,n=s.image.marginTop,s.container.width>e&&(t=(e=s.container.width)*o.image.height/o.image.width,i=0,n+=(s.image.height-t)/2),"IFRAME"===r&&(t+=400,n-=200),o.css(o.$video,{width:"".concat(e,"px"),marginLeft:"".concat(i,"px"),height:"".concat(t,"px"),marginTop:"".concat(n,"px")})),s},e=n.prototype.initImg,n.prototype.initImg=function(){var t=e.apply(this);return this.options.videoSrc||(this.options.videoSrc=this.$item.getAttribute("data-jarallax-video")||null),this.options.videoSrc?(this.defaultInitImgResult=t,!0):t},o=n.prototype.canInitParallax,n.prototype.canInitParallax=function(){var i=this,t=o.apply(i);if(!i.options.videoSrc)return t;var e=new s.default(i.options.videoSrc,{autoplay:!0,loop:i.options.videoLoop,showContols:!1,startTime:i.options.videoStartTime||0,endTime:i.options.videoEndTime||0,mute:i.options.videoVolume?0:1,volume:i.options.videoVolume||0});function n(){i.image.$default_item&&(i.image.$item=i.image.$default_item,i.image.$item.style.display="block",i.coverImage(),i.clipContainer(),i.onScroll())}if(e.isValid())if(this.options.disableParallax()&&(t=!0,i.image.position="absolute",i.options.type="scroll",i.options.speed=1),t){if(e.on("ready",function(){var t;i.options.videoPlayOnlyVisible?(t=i.onScroll,i.onScroll=function(){t.apply(i),i.videoError||!i.options.videoLoop&&(i.options.videoLoop||i.videoEnded)||(i.isVisible()?e.play():e.pause())}):e.play()}),e.on("started",function(){i.image.$default_item=i.image.$item,i.image.$item=i.$video,i.image.width=i.video.videoWidth||1280,i.image.height=i.video.videoHeight||720,i.coverImage(),i.clipContainer(),i.onScroll(),i.image.$default_item&&(i.image.$default_item.style.display="none")}),e.on("ended",function(){i.videoEnded=!0,i.options.videoLoop||n()}),e.on("error",function(){i.videoError=!0,n()}),i.video=e,!i.defaultInitImgResult&&(i.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","local"!==e.type))return e.getImageURL(function(t){i.image.bgImage='url("'.concat(t,'")'),i.init()}),!1}else i.defaultInitImgResult||e.getImageURL(function(t){var e=i.$item.getAttribute("style");e&&i.$item.setAttribute("data-jarallax-original-styles",e),i.css(i.$item,{"background-image":'url("'.concat(t,'")'),"background-position":"center","background-size":"cover"})});return t},i=n.prototype.destroy,n.prototype.destroy=function(){this.image.$default_item&&(this.image.$item=this.image.$default_item,delete this.image.$default_item),i.apply(this)})}}]),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports&&"function"==typeof require?t(require("jquery")):t(jQuery)}(function(h){"use strict";var i={escapeRegExChars:function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(t){var e=document.createElement("div");return e.classList.add(t,"row","small-up-1","medium-up-2"),e.style.display="none",e}},n=27,o=9,s=13,r=38,a=39,l=40,t=h.noop;function u(t,e){var i=this;i.element=t,i.el=h(t),i.suggestions=[],i.badQueries=[],i.selectedIndex=-1,i.currentValue=i.element.value,i.timeoutId=null,i.cachedResponse={},i.onChangeTimeout=null,i.onChange=null,i.isLocal=!1,i.suggestionsContainer=null,i.noSuggestionsContainer=null,i.options=h.extend({},u.defaults,e),i.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},i.hint=null,i.hintValue="",i.selection=null,i.initialize(),i.setOptions(e)}u.utils=i,(h.Autocomplete=u).defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:function(t,e){if(!e)return t.value;e="("+i.escapeRegExChars(e)+")";return t.value.replace(new RegExp(e,"gi"),"<strong>$1</strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>")},formatGroup:function(t,e){return'<div class="autocomplete-group">'+e+"</div>"},delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:t,onSearchComplete:t,onSearchError:t,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(t,e,i){return-1!==t.value.toLowerCase().indexOf(i)},paramName:"query",transformResult:function(t){return"string"==typeof t?h.parseJSON(t):t},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},u.prototype={initialize:function(){var t,e=this,i="."+e.classes.suggestion,n=e.classes.selected,o=e.options;e.element.setAttribute("autocomplete","off"),e.noSuggestionsContainer=h('<div class="columns autocomplete-no-suggestion post"></div>').html(this.options.noSuggestionNotice).get(0),e.suggestionsContainer=u.utils.createNode(o.containerClass),(t=h(e.suggestionsContainer)).appendTo(o.appendTo||"body"),"auto"!==o.width&&t.css("width",o.width),t.on("mouseover.autocomplete",i,function(){e.activate(h(this).data("index"))}),t.on("mouseout.autocomplete",function(){e.selectedIndex=-1,t.children("."+n).removeClass(n)}),t.on("click.autocomplete",i,function(){e.select(h(this).data("index"))}),t.on("click.autocomplete",function(){clearTimeout(e.blurTimeoutId)}),e.fixPositionCapture=function(){e.visible&&e.fixPosition()},h(window).on("resize.autocomplete",e.fixPositionCapture),e.el.on("keydown.autocomplete",function(t){e.onKeyPress(t)}),e.el.on("keyup.autocomplete",function(t){e.onKeyUp(t)}),e.el.on("blur.autocomplete",function(){e.onBlur()}),e.el.on("focus.autocomplete",function(){e.onFocus()}),e.el.on("change.autocomplete",function(t){e.onKeyUp(t)}),e.el.on("input.autocomplete",function(t){e.onKeyUp(t)})},onFocus:function(){this.fixPosition(),this.el.val().length>=this.options.minChars&&this.onValueChange()},onBlur:function(){this.blurTimeoutId=setTimeout(function(){},200)},abortAjax:function(){this.currentRequest&&(this.currentRequest.abort(),this.currentRequest=null)},setOptions:function(t){var e=this.options;this.options=h.extend({},e,t),this.isLocal=h.isArray(e.lookup),this.isLocal&&(e.lookup=this.verifySuggestionsFormat(e.lookup)),e.orientation=this.validateOrientation(e.orientation,"bottom")},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){this.disabled=!0,clearTimeout(this.onChangeTimeout),this.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var t,e,i,n,o,s,r,a,l=h(this.suggestionsContainer),u=l.parent().get(0);u!==document.body&&!this.options.forceFixPosition||(r=this.options.orientation,t=l.outerHeight(),a=this.el.outerHeight(),e={top:(s=this.el.offset()).top,left:s.left},"auto"===r&&(i=h(window).height(),o=-(n=h(window).scrollTop())+s.top-t,s=n+i-(s.top+a+t),r=Math.max(o,s)===o?"top":"bottom"),e.top+="top"===r?-t:a,u!==document.body&&(a=l.css("opacity"),this.visible||l.css("opacity",0).show(),u=l.offsetParent().offset(),e.top-=u.top,e.left-=u.left,this.visible||l.css("opacity",a).hide()),"auto"===this.options.width&&(e.width=this.el.outerWidth()+"px"),l.css(e))},isCursorAtEnd:function(){var t=this.el.val().length,e=this.element.selectionStart;return"number"==typeof e?e===t:!document.selection||((e=document.selection.createRange()).moveStart("character",-t),t===e.text.length)},onKeyPress:function(t){var e=this;if(e.disabled||e.visible||t.which!==l||!e.currentValue){if(!e.disabled&&e.visible){switch(t.which){case n:e.el.val(e.currentValue),h(".results-found").remove(),e.hide();break;case a:if(e.hint&&e.options.onHint&&e.isCursorAtEnd()){e.selectHint();break}return;case o:if(e.hint&&e.options.onHint)return void e.selectHint();if(-1===e.selectedIndex)return void e.hide();if(e.select(e.selectedIndex),!1===e.options.tabDisabled)return;break;case s:if(-1===e.selectedIndex)return void e.hide();e.select(e.selectedIndex);break;case r:e.moveUp();break;case l:e.moveDown();break;default:return}t.stopImmediatePropagation(),t.preventDefault()}}else e.suggest()},onKeyUp:function(t){var e=this;if(!e.disabled){switch(t.which){case r:case l:return}clearTimeout(e.onChangeTimeout),e.currentValue!==e.el.val()&&(e.findBestHint(),0<e.options.deferRequestBy?e.onChangeTimeout=setTimeout(function(){e.onValueChange()},e.options.deferRequestBy):e.onValueChange())}},onValueChange:function(){var t=this,e=t.options,i=t.el.val(),n=t.getQuery(i);t.selection&&t.currentValue!==n&&(t.selection=null,(e.onInvalidateSelection||h.noop).call(t.element)),clearTimeout(t.onChangeTimeout),t.currentValue=i,t.selectedIndex=-1,e.triggerSelectOnValidInput&&t.isExactMatch(n)?t.select(0):n.length<e.minChars?(h(".results-found").remove(),t.hide()):t.getSuggestions(n)},isExactMatch:function(t){var e=this.suggestions;return 1===e.length&&e[0].value.toLowerCase()===t.toLowerCase()},getQuery:function(t){var e=this.options.delimiter;return e?(e=t.split(e),h.trim(e[e.length-1])):t},getSuggestionsLocal:function(e){var t=this.options,i=e.toLowerCase(),n=t.lookupFilter,o=parseInt(t.lookupLimit,10),t={suggestions:h.grep(t.lookup,function(t){return n(t,e,i)})};return o&&t.suggestions.length>o&&(t.suggestions=t.suggestions.slice(0,o)),t},getSuggestions:function(n){var t,e,i,o=this,s=o.options,r=s.serviceUrl;s.params[s.paramName]=n,!1!==s.onSearchStart.call(o.element,s.params)&&(i=s.ignoreParams?null:s.params,h.isFunction(s.lookup)?s.lookup(n,function(t){o.suggestions=t.suggestions,o.suggest(),s.onSearchComplete.call(o.element,n,t.suggestions)}):(t=o.isLocal?o.getSuggestionsLocal(n):(h.isFunction(r)&&(r=r.call(o.element,n)),e=r+"?"+h.param(i||{}),o.cachedResponse[e]))&&h.isArray(t.suggestions)?(o.suggestions=t.suggestions,o.suggest(),s.onSearchComplete.call(o.element,n,t.suggestions)):o.isBadQuery(n)?s.onSearchComplete.call(o.element,n,[]):(o.abortAjax(),i={url:r,data:i,type:s.type,dataType:s.dataType},h.extend(i,s.ajaxSettings),o.currentRequest=h.ajax(i).done(function(t){o.currentRequest=null,t=s.transformResult(t,n),o.processResponse(t,n,e),s.onSearchComplete.call(o.element,n,t.suggestions)}).fail(function(t,e,i){s.onSearchError.call(o.element,n,t,e,i)})))},isBadQuery:function(t){if(!this.options.preventBadQueries)return!1;for(var e=this.badQueries,i=e.length;i--;)if(0===t.indexOf(e[i]))return!0;return!1},hide:function(){var t=this,e=h(t.suggestionsContainer);h.isFunction(t.options.onHide)&&t.visible&&t.options.onHide.call(t.element,e),t.visible=!1,t.selectedIndex=-1,clearTimeout(t.onChangeTimeout),h(".results-found").remove(),h(t.suggestionsContainer).hide(),t.signalHint(null)},suggest:function(){var t,o,s,r,a,l,e,i,n,u,c,d;this.suggestions.length?(o=(t=this).options,s=o.groupBy,r=o.formatResult,a=t.getQuery(t.currentValue),l=t.classes.suggestion,e=t.classes.selected,i=h(t.suggestionsContainer),n=h(t.noSuggestionsContainer),u=o.beforeRender,c="",o.triggerSelectOnValidInput&&t.isExactMatch(a)?t.select(0):(h.each(t.suggestions,function(t,e){var i,n;s&&(c+=(n=(i=e).data[s],d===n?"":(d=n,o.formatGroup(i,d)))),c+='<div class="columns '+l+'" data-index="'+t+'">'+r(e,a,t)+"</div>"}),this.adjustContainerWidth(),n.detach(),i.html(c),h.isFunction(u)&&u.call(t.element,i,t.suggestions),t.fixPosition(),h(".results-found").remove(),t.suggestions[0].empty||i.before('<div class="results-found">'+t.suggestions.length+" "+themeajax.l10n.results_found+"</div>"),i.show(),o.autoSelectFirst&&(t.selectedIndex=0,i.scrollTop(0),i.children("."+l).first().addClass(e)),t.visible=!0,t.findBestHint())):this.options.showNoSuggestionNotice?this.noSuggestions():(h(".results-found").remove(),this.hide())},noSuggestions:function(){var t=this.options.beforeRender,e=h(this.suggestionsContainer),i=h(this.noSuggestionsContainer);this.adjustContainerWidth(),i.detach(),h(".results-found").remove(),e.empty(),e.append(i),h.isFunction(t)&&t.call(this.element,e,this.suggestions),this.fixPosition(),e.show(),this.visible=!0},adjustContainerWidth:function(){var t,e=this.options,i=h(this.suggestionsContainer);"auto"===e.width?(t=this.el.outerWidth(),i.css("width",0<t?t:300)):"flex"===e.width&&i.css("width","")},findBestHint:function(){var n=this.el.val().toLowerCase(),o=null;n&&(h.each(this.suggestions,function(t,e){var i=0===e.value.toLowerCase().indexOf(n);return i&&(o=e),!i}),this.signalHint(o))},signalHint:function(t){var e="";t&&(e=this.currentValue+t.value.substr(this.currentValue.length)),this.hintValue!==e&&(this.hintValue=e,this.hint=t,(this.options.onHint||h.noop)(e))},verifySuggestionsFormat:function(t){return t.length&&"string"==typeof t[0]?h.map(t,function(t){return{value:t,data:null}}):t},validateOrientation:function(t,e){return t=h.trim(t||"").toLowerCase(),t=-1===h.inArray(t,["auto","bottom","top"])?e:t},processResponse:function(t,e,i){var n=this.options;t.suggestions=this.verifySuggestionsFormat(t.suggestions),n.noCache||(this.cachedResponse[i]=t,n.preventBadQueries&&!t.suggestions.length&&this.badQueries.push(e)),e===this.getQuery(this.currentValue)&&(this.suggestions=t.suggestions,this.suggest())},activate:function(t){var e=this.classes.selected,i=h(this.suggestionsContainer),n=i.find("."+this.classes.suggestion);return i.find("."+e).removeClass(e),this.selectedIndex=t,-1!==this.selectedIndex&&n.length>this.selectedIndex?(n=n.get(this.selectedIndex),h(n).addClass(e),n):null},selectHint:function(){var t=h.inArray(this.hint,this.suggestions);this.select(t)},select:function(t){this.hide(),this.onSelect(t)},moveUp:function(){var t=this;if(-1!==t.selectedIndex)return 0===t.selectedIndex?(h(t.suggestionsContainer).children().first().removeClass(t.classes.selected),t.selectedIndex=-1,t.el.val(t.currentValue),void t.findBestHint()):void t.adjustScroll(t.selectedIndex-1)},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(t){var e,i,n,o=this,s=o.activate(t);s&&(e=h(s).outerHeight(),i=s.offsetTop,s=(n=h(o.suggestionsContainer).scrollTop())+o.options.maxHeight-e,i<n?h(o.suggestionsContainer).scrollTop(i):s<i&&h(o.suggestionsContainer).scrollTop(i-o.options.maxHeight+e),o.options.preserveInput||o.el.val(o.getValue(o.suggestions[t].value)),o.signalHint(null))},onSelect:function(t){var e=this,i=e.options.onSelect,t=e.suggestions[t];e.currentValue=e.getValue(t.value),e.currentValue===e.el.val()||e.options.preserveInput||e.el.val(e.currentValue),e.signalHint(null),e.suggestions=[],e.selection=t,h.isFunction(i)&&i.call(e.element,t)},getValue:function(t){var e,i=this.options.delimiter;return!i||1===(i=(e=this.currentValue).split(i)).length?t:e.substr(0,e.length-i[i.length-1].length)+t},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),h(window).off("resize.autocomplete",this.fixPositionCapture),h(this.suggestionsContainer).remove()}},h.fn.devbridgeAutocomplete=function(i,n){var o="autocomplete";return arguments.length?this.each(function(){var t=h(this),e=t.data(o);"string"==typeof i?e&&"function"==typeof e[i]&&e[i](n):(e&&e.dispose&&e.dispose(),e=new u(this,i),t.data(o,e))}):this.first().data(o)},h.fn.autocomplete||(h.fn.autocomplete=h.fn.devbridgeAutocomplete)}),function(e){e.fn.downCount=function(t,l){var u=e.extend({date:null,offset:null},t);u.date||e.error("Date is not defined."),Date.parse(u.date)||e.error("Incorrect date format, it should look like this, 12/24/2012 12:00:00.");var c=this,d=function(){var t=new Date,t=t.getTime()+6e4*t.getTimezoneOffset();return new Date(t+36e5*u.offset)};var h=setInterval(function(){if((a=new Date(u.date)-d())<0)return clearInterval(h),void(l&&"function"==typeof l&&l());var t=Math.floor(a/864e5),e=Math.floor(a%864e5/36e5),i=Math.floor(a%36e5/6e4),n=Math.floor(a%6e4/1e3),o=1===(t=2<=String(t).length?t:"0"+t)?"day":"days",s=1===(e=2<=String(e).length?e:"0"+e)?"hour":"hours",r=1===(i=2<=String(i).length?i:"0"+i)?"minute":"minutes",a=1===(n=2<=String(n).length?n:"0"+n)?"second":"seconds";c.find(".days").text(t),c.find(".hours").text(e),c.find(".minutes").text(i),c.find(".seconds").text(n),c.find(".days_ref").text(o),c.find(".hours_ref").text(s),c.find(".minutes_ref").text(r),c.find(".seconds_ref").text(a)},1e3)}}(jQuery),function(o){o&&(o.fn.headroom=function(n){return this.each(function(){var t=o(this),e=t.data("headroom"),i="object"==typeof n&&n,i=o.extend(!0,{},Headroom.options,i);e||((e=new Headroom(this,i)).init(),t.data("headroom",e)),"string"==typeof n&&(e[n](),"destroy"===n&&t.removeData("headroom"))})},o("[data-headroom]").each(function(){var t=o(this);t.headroom(t.data())}))}(window.Zepto||window.jQuery),function(h){var n={data:[],tag:"img",mode:"display",LS_Variable:"__HotspotPlugin_LocalStorage",hiddenClass:"hidden",interactivity:"hover",done_btnId:"HotspotPlugin_Done",remove_btnId:"HotspotPlugin_Remove",sync_btnId:"HotspotPlugin_Server",done_btnClass:"btn btn-success HotspotPlugin_Done",remove_btnClass:"vc_ui-button-default HotspotPlugin_Remove",sync_btnClass:"btn btn-info HotspotPlugin_Server",hotspotClass:"HotspotPlugin_Hotspot",hotspotAuxClass:"HotspotPlugin_inc",hotspotOverlayClass:"HotspotPlugin_Overlay",popupTitle:"Tooltip content",saveText:"Save",closeText:"Close",dataStuff:[{property:"Title",default:"Hotspot Title"},{property:"Message",default:"Hotspot Content"}]},r=1;function e(t,e){this.config=h.extend(!0,{},n,e),this.element=t,this.imageEl=t.find(this.config.tag),this.imageParent=this.imageEl.parent(),this.broadcast="";var i=this;h.each(this.config,function(t,e){"function"==typeof e&&i.element.on(t+".thb_hotspot",function(){e(i.broadcast)})}),this.init()}e.prototype.init=function(){var t,e;this.getData(),"admin"===this.config.mode&&((t=new Image).src=h((e=this).imageEl).attr("src"),t.onload=function(){var a=e.imageEl[0].height,l=e.imageEl[0].width;h("<span/>",{html:"<p>This is Admin-mode. Click this Panel to Store Messages</p>"}).addClass(e.config.hotspotOverlayClass).appendTo(e.imageParent);var t,u=e,c=[],d=r;e.element.delegate("span","click",function(t){t.preventDefault(),d++;for(var e=h(this).offset(),i=(t.pageX-e.left)/l*100,e=(t.pageY-e.top)/a*100,n=u.config.dataStuff,o={index:d,x:i,y:e},s=0;s<n.length;s++){var r=n[s];o[r.property]=r.default}c.push(o),u.storeData(c),c=[],u.popupWindow(d),h("body").trigger("ihwt-hotspot-updated")}),e.element.delegate(".thb_hotspot","click",function(t){var e=h(this).find("> div").data("index"),i=u.getItemData(e)[0];u.popupWindow(e,i)}),e.element.delegate(".delete-item","click",function(t){t.preventDefault(),t.stopPropagation();t=h(this).parent().data("index");u.removeItem(t),setTimeout(function(){u.updateView()},0)}),void 0!==h.fn.draggable&&(t={containment:"parent",stop:function(t,e){var i=+h(t.target).find("> div").data("index"),t={};t.x=e.position.left/l*100,t.y=e.position.top/a*100,u.updateData(t,i)}},0<h(".thb_hotspot").length&&(h(".thb_hotspot").draggable(t),h("body").on("ihwt-hotspot-updated",function(){h(".thb_hotspot:not(.ui-draggable-handle)").draggable(t)})))})},e.prototype.popupWindow=function(o,t){for(var s=this,r=this.config.dataStuff,e="",i=this.config.popupTitle,n=this.config.saveText,a=this.config.closeText,l=0;l<r.length;l++){var u=r[l],c=void 0!==t&&void 0!==t[u.property]?t[u.property]:u.default,d="";"Title"===u.property&&(d='<label class="wpb_element_label">'+u.property+'</label><input type="text" class="ihwt-hotspot-'+u.property+'" value="'+c+'" />'),"Product"===u.property&&(d+='<label class="wpb_element_label">Enter WooCommerce Product ID</label><input type="text" class="ihwt-hotspot-'+u.property+'" value="'+c+'" /><span class="vc_description vc_clearfix">If a WooCommerce Product ID is entered, Title &amp; Message are not used.</span>'),"Message"===u.property&&(d='<label class="wpb_element_label">'+u.property+'</label><textarea class="ihwt-hotspot-'+u.property+'">'+c+"</textarea>"),"Position"===u.property&&(d='<label class="wpb_element_label">Tooltip Position</label><select class="wpb_vc_param_value wpb-input wpb-select thb_tooltip_position dropdown ihwt-hotspot-'+u.property+'">',["top","left","right","bottom"].forEach(function(t){d+='<option value="'+t+'" '+(t===c?'selected="selected"':"")+">"+t+"</option>"}),d+="</select>"),e+='<div class="vc_shortcode-param vc_column">'+d+"</div>"}n='<div class="vc_ui-panel vc_active thb-hotspot-popup">'+('<div class="vc_ui-panel-window-inner"><div class="vc_ui-panel-header-container vc_ui-panel-header-o-stacked-bottom"><div class="vc_ui-panel-header"><div class="vc_ui-panel-header-controls"><button type="button" class="vc_general vc_ui-control-button vc_ui-close-button" data-vc-ui-element="button-close"><i class="vc-composer-icon vc-c-icon-close"></i></button></div><h3 class="vc_ui-panel-header-heading" data-vc-ui-element="panel-title">'+i+"<h3></div></div>")+'<div class="vc_ui-panel-content-container"><div class="vc_ui-panel-content vc_properties-list vc_edit_form_elements">'+e+"</div></div>"+('<div class="vc_ui-panel-footer-container" data-vc-ui-element="panel-footer"><div class="vc_ui-panel-footer"><div class="vc_ui-button-group"><a href="#" title="'+a+'" class="vc_general vc_ui-button vc_ui-button-default vc_ui-button-shape-rounded vc_ui-button-fw ihwt-hotspot-close">'+a+'</a><a href="#" title="'+n+'" class="vc_general vc_ui-button vc_ui-button-action vc_ui-button-shape-rounded vc_ui-button-fw ihwt-hotspot-save">'+n+"</a></div></div></div>")+"</div></div>";h("body").append(n),h(".ihwt-hotspot-save").on("click",function(){for(var t=h(this).parents(".thb-hotspot-popup"),e={},i=0;i<r.length;i++){var n=r[i];e[n.property]=t.find(".ihwt-hotspot-"+n.property).val()}return h(".thb-hotspot-popup").remove(),s.updateData(e,o),s.updateView(),!1}),h("body").on("click",".ihwt-hotspot-close, .thb-hotspot-popup .vc_ui-close-button",function(){return h(".thb-hotspot-popup").remove(),!1})},e.prototype.getItemData=function(e){if(""!==e){var t=decodeURIComponent(h(this.config.LS_Variable).val()),i=[],n=[];return t&&(i=JSON.parse(t)),h.each(i,function(t){t=i[t];t.index===e&&n.push(t)}),n}},e.prototype.getData=function(){null===(""===h(this.config.LS_Variable).val()||h(this.config.LS_Variable).val())&&0===this.config.data.length||("admin"!==this.config.mode||""!==h(this.config.LS_Variable).val()&&null!==h(this.config.LS_Variable).val())&&(this.beautifyData(),h("body").trigger("ihwt-hotspot-initialized"))},e.prototype.beautifyData=function(){for(var t,e,i=this,n=(e="admin"!==this.config.mode&&0!==this.config.data.length?this.config.data:(t=decodeURIComponent(h(this.config.LS_Variable).val()),JSON.parse(t))).length-1;0<=n;n--){var o=e[n];n===e.length-1&&(r=o.index);var s="",s="none"===this.config.interactivity?h('<div id="ihwt-hotspot-dot-'+o.index+'" class="thb-hotspot-content" data-index="'+o.index+'">'+(n+1)+'<i class="delete-item vc-composer-icon vc-c-icon-close"></i></div>'):h('<div id="ihwt-hotspot-dot-'+o.index+'" class="thb-hotspot-content" data-index="'+o.index+'">'+(n+1)+'<i class="delete-item vc-composer-icon vc-c-icon-close"></i></div>').addClass(this.config.hiddenClass);h.each(o,function(t,e){"string"==typeof e&&h("<div/>",{html:e}).addClass("thb-hotspot-param Hotspot_"+t).appendTo(s)});o=h("<div/>",{html:s}).css({top:o.y+"%",left:o.x+"%"}).addClass(this.config.hotspotClass).appendTo(this.element);"click"===i.config.interactivity?(o.on(i.config.interactivity,function(t){h(this).children("div").toggleClass(i.config.hiddenClass)}),s.css("display","block")):s.removeClass(this.config.hiddenClass),"none"===this.config.interactivity&&s.css("display","block")}},e.prototype.storeData=function(e){var t,i;0!==e.length&&(t=decodeURIComponent(h(this.config.LS_Variable).val()),i=[],t&&(i=JSON.parse(t)),h.each(e,function(t){t=e[t];i.push(t)}),h(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(i))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot"))},e.prototype.updateData=function(i,t){var e,n;0!==i.length&&""!==t&&(e=decodeURIComponent(h(this.config.LS_Variable).val()),n=[],e&&(n=JSON.parse(e)),h.each(n,function(e){n[e].index===t&&h.each(n[e],function(t){void 0!==i[t]&&void 0!==n[e][t]&&(n[e][t]=i[t])})}),h(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(n))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot"))},e.prototype.removeItem=function(e){var t,i,n;""!==e&&(t=decodeURIComponent(h(this.config.LS_Variable).val()),i=[],n=[],t&&(i=JSON.parse(t)),h.each(i,function(t){t=i[t];t.index!==e&&n.push(t)}),h(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(n))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot"))},e.prototype.removeData=function(){null!==h(this.config.LS_Variable).val&&confirm("Are you sure you want delete all spots?")&&(h(this.config.LS_Variable).val(""),this.broadcast="Removed successfully",this.element.trigger("afterRemove.hotspot"),this.updateView())},e.prototype.updateView=function(){0<this.element.find(".thb_hotspot").length&&this.element.find(".thb_hotspot").remove(),this.beautifyData(),h("body").trigger("ihwt-hotspot-updated")},h.fn.hotspot=function(t){return new e(this,t),this}}(jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.hoverIntent&&t(jQuery)}(function(l){"use strict";function u(t){o=t.pageX,s=t.pageY}var o,s,r={interval:100,sensitivity:6,timeout:0},c=0,d=function(t,e,i,n){if(Math.sqrt((i.pX-o)*(i.pX-o)+(i.pY-s)*(i.pY-s))<n.sensitivity)return e.off(i.event,u),delete i.timeoutId,i.isActive=!0,t.pageX=o,t.pageY=s,delete i.pX,delete i.pY,n.over.apply(e[0],[t]);i.pX=o,i.pY=s,i.timeoutId=setTimeout(function(){d(t,e,i,n)},n.interval)};l.fn.hoverIntent=function(t,e,i){var n=c++,a=l.extend({},r);l.isPlainObject(t)?(a=l.extend(a,t),l.isFunction(a.out)||(a.out=a.over)):a=l.isFunction(e)?l.extend(a,{over:t,out:e,selector:i}):l.extend(a,{over:t,out:t,selector:e});e=function(t){var o=l.extend({},t),s=l(this),e=s.data("hoverIntent");e||s.data("hoverIntent",e={});var r=e[n];r||(e[n]=r={id:n}),r.timeoutId&&(r.timeoutId=clearTimeout(r.timeoutId));e=r.event="mousemove.hoverIntent.hoverIntent"+n;"mouseenter"===t.type?r.isActive||(r.pX=o.pageX,r.pY=o.pageY,s.off(e,u).on(e,u),r.timeoutId=setTimeout(function(){d(o,s,r,a)},a.interval)):r.isActive&&(s.off(e,u),r.timeoutId=setTimeout(function(){var t,e,i,n;t=o,e=s,i=r,n=a.out,delete e.data("hoverIntent")[i.id],n.apply(e[0],[t])},a.timeout))};return this.on({"mouseenter.hoverIntent":e,"mouseleave.hoverIntent":e},a.selector)}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(u){function t(){}function c(t,e){f.ev.on("mfp"+t+i,e)}function d(t,e,i,n){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),n?e&&e.appendChild(o):(o=u(o),e&&o.appendTo(e)),o}function h(t,e){f.ev.triggerHandler("mfp"+t,e),f.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),f.st.callbacks[t]&&f.st.callbacks[t].apply(f,u.isArray(e)?e:[e]))}function p(t){return t===e&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=u(f.st.closeMarkup.replace("%title%",f.st.tClose)),e=t),f.currTemplate.closeBtn}function s(){u.magnificPopup.instance||((f=new t).init(),u.magnificPopup.instance=f)}var f,n,m,o,g,e,a="Close",l="BeforeClose",y="MarkupParse",i=".mfp",v="mfp-ready",r="mfp-removing",T="mfp-prevent-close",b=!!window.jQuery,D=u(window);t.prototype={constructor:t,init:function(){var t=navigator.appVersion;f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(t),f.isIOS=/iphone|ipad|ipod/gi.test(t),f.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=u(document),f.popupsCache={}},open:function(t){if(!1===t.isObj){f.items=t.items.toArray(),f.index=0;for(var e,i=t.items,n=0;n<i.length;n++)if((e=(e=i[n]).parsed?e.el[0]:e)===t.el[0]){f.index=n;break}}else f.items=u.isArray(t.items)?t.items:[t.items],f.index=t.index||0;if(!f.isOpen){f.types=[],g="",t.mainEl&&t.mainEl.length?f.ev=t.mainEl.eq(0):f.ev=m,t.key?(f.popupsCache[t.key]||(f.popupsCache[t.key]={}),f.currTemplate=f.popupsCache[t.key]):f.currTemplate={},f.st=u.extend(!0,{},u.magnificPopup.defaults,t),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=d("bg").on("click.mfp",function(){f.close()}),f.wrap=d("wrap").attr("tabindex",-1).on("click.mfp",function(t){f._checkIfClose(t.target)&&f.close()}),f.container=d("container",f.wrap)),f.contentContainer=d("content"),f.st.preloader&&(f.preloader=d("preloader",f.container,f.st.tLoading));var o=u.magnificPopup.modules;for(n=0;n<o.length;n++){var s=(s=o[n]).charAt(0).toUpperCase()+s.slice(1);f["init"+s].call(f)}h("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(c(y,function(t,e,i,n){i.close_replaceWith=p(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(p())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:D.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup.mfp",function(t){27===t.keyCode&&f.close()}),D.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var r=f.wH=D.height(),a={};f.fixedContentPos&&f._hasScrollBar(r)&&((l=f._getScrollbarSize())&&(a.marginRight=l)),f.fixedContentPos&&(f.isIE7?u("body, html").css("overflow","hidden"):a.overflow="hidden");var l=f.st.mainClass;return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),h("BuildControls"),u("html").css(a),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||u(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(v),f._setFocus()):f.bgOverlay.addClass(v),m.on("focusin.mfp",f._onFocusIn)},16),f.isOpen=!0,f.updateSize(r),h("Open"),t}f.updateItemHTML()},close:function(){f.isOpen&&(h(l),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(r),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){h(a);var t=r+" "+v+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(t+=f.st.mainClass+" "),f._removeClassFromMFP(t),f.fixedContentPos&&(t={marginRight:""},f.isIE7?u("body, html").css("overflow",""):t.overflow="",u("html").css(t)),m.off("keyup.mfp focusin.mfp"),f.ev.off(i),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.st.autoFocusLast&&f._lastFocusedEl&&u(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,h("AfterClose")},updateSize:function(t){var e;f.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,e=window.innerHeight*e,f.wrap.css("height",e),f.wH=e):f.wH=t||D.height(),f.fixedContentPos||f.wrap.css("height",f.wH),h("Resize")},updateItemHTML:function(){var t=f.items[f.index];f.contentContainer.detach(),f.content&&f.content.detach();var e=(t=!t.parsed?f.parseEl(f.index):t).type;h("BeforeChange",[f.currItem?f.currItem.type:"",e]),f.currItem=t,f.currTemplate[e]||(i=!!f.st[e]&&f.st[e].markup,h("FirstMarkupParse",i),f.currTemplate[e]=!i||u(i)),o&&o!==t.type&&f.container.removeClass("mfp-"+o+"-holder");var i=f["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,f.currTemplate[e]);f.appendContent(i,e),t.preloaded=!0,h("Change",t),o=t.type,f.container.prepend(f.contentContainer),h("AfterChange")},appendContent:function(t,e){(f.content=t)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[e]?f.content.find(".mfp-close").length||f.content.append(p()):f.content=t:f.content="",h("BeforeAppend"),f.container.addClass("mfp-"+e+"-holder"),f.contentContainer.append(f.content)},parseEl:function(t){var e,i=f.items[t];if((i=i.tagName?{el:u(i)}:(e=i.type,{data:i,src:i.src})).el){for(var n=f.types,o=0;o<n.length;o++)if(i.el.hasClass("mfp-"+n[o])){e=n[o];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||f.st.type||"inline",i.index=t,i.parsed=!0,f.items[t]=i,h("ElementParse",i),f.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,f._openClick(t,e,i)}var n="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i:u.magnificPopup.defaults).midClick||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){var n=(void 0!==i.disableOn?i:u.magnificPopup.defaults).disableOn;if(n)if(u.isFunction(n)){if(!n.call(f))return!0}else if(D.width()<n)return!0;t.type&&(t.preventDefault(),f.isOpen&&t.stopPropagation()),i.el=u(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),f.open(i)}},updateStatus:function(t,e){var i;f.preloader&&(n!==t&&f.container.removeClass("mfp-s-"+n),i={status:t,text:e=!e&&"loading"===t?f.st.tLoading:e},h("UpdateStatus",i),t=i.status,f.preloader.html(e=i.text),f.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+t),n=t)},_checkIfClose:function(t){if(!u(t).hasClass(T)){var e=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(e&&i)return!0;if(!f.content||u(t).hasClass("mfp-close")||f.preloader&&t===f.preloader[0])return!0;if(t===f.content[0]||u.contains(f.content[0],t)){if(e)return!0}else if(i&&u.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){f.bgOverlay.addClass(t),f.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),f.wrap.removeClass(t)},_hasScrollBar:function(t){return(f.isIE7?m.height():document.body.scrollHeight)>(t||D.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(t){return t.target===f.wrap[0]||u.contains(f.wrap[0],t.target)?void 0:(f._setFocus(),!1)},_parseMarkup:function(o,t,e){var s;e.data&&(t=u.extend(e.data,t)),h(y,[o,t,e]),u.each(t,function(t,e){return void 0===e||!1===e||void(1<(s=t.split("_")).length?0<(i=o.find(".mfp-"+s[0])).length&&("replaceWith"===(n=s[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith(u("<img>").attr("src",e).attr("class",i.attr("class"))):i.attr(s[1],e)):o.find(".mfp-"+t).html(e));var i,n})},_getScrollbarSize:function(){var t;return void 0===f.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),f.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),f.scrollbarSize}},u.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return s(),(t=t?u.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return u.magnificPopup.instance&&u.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(u.magnificPopup.defaults[t]=e.options),u.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},u.fn.magnificPopup=function(t){s();var e,i,n,o=u(this);return"string"==typeof t?"open"===t?(e=b?o.data("magnificPopup"):o[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=e.items?e.items[i]:(n=o,(n=e.delegate?n.find(e.delegate):n).eq(i)),f._openClick({mfpEl:n},o,e)):f.isOpen&&f[t].apply(f,Array.prototype.slice.call(arguments,1)):(t=u.extend(!0,{},t),b?o.data("magnificPopup",t):o[0].magnificPopup=t,f.addGroup(o,t)),o};function S(){A&&(w.after(A.addClass(C)).detach(),A=null)}var C,w,A,P="inline";u.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(P),c(a+"."+P,function(){S()})},getInline:function(t,e){if(S(),t.src){var i,n=f.st.inline,o=u(t.src);return o.length?((i=o[0].parentNode)&&i.tagName&&(w||(C=n.hiddenClass,w=d(C),C="mfp-"+C),A=o.after(w).detach().removeClass(C)),f.updateStatus("ready")):(f.updateStatus("error",n.tNotFound),o=u("<div>")),t.inlineElement=o}return f.updateStatus("ready"),f._parseMarkup(e,{},t),e}}});function _(){M&&u(document.body).removeClass(M)}function E(){_(),f.req&&f.req.abort()}var M,x="ajax";u.magnificPopup.registerModule(x,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(x),M=f.st.ajax.cursor,c(a+"."+x,E),c("BeforeChange.ajax",E)},getAjax:function(n){M&&u(document.body).addClass(M),f.updateStatus("loading");var t=u.extend({url:n.src,success:function(t,e,i){i={data:t,xhr:i};h("ParseAjax",i),f.appendContent(u(i.data),x),n.finished=!0,_(),f._setFocus(),setTimeout(function(){f.wrap.addClass(v)},16),f.updateStatus("ready"),h("AjaxContentAdded")},error:function(){_(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=u.ajax(t),""}}});var k;u.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=f.st.image,e=".image";f.types.push("image"),c("Open"+e,function(){"image"===f.currItem.type&&t.cursor&&u(document.body).addClass(t.cursor)}),c(a+e,function(){t.cursor&&u(document.body).removeClass(t.cursor),D.off("resize.mfp")}),c("Resize"+e,f.resizeImage),f.isLowIE&&c("AfterChange",f.resizeImage)},resizeImage:function(){var t,e=f.currItem;e&&e.img&&f.st.image.verticalFit&&(t=0,f.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",f.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,k&&clearInterval(k),t.isCheckingImgSize=!1,h("ImageHasSize",t),t.imgHidden&&(f.content&&f.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(t){k&&clearInterval(k),k=setInterval(function(){return 0<n.naturalWidth?void f._onImageHasSize(e):(200<i&&clearInterval(k),void(3===++i?o(10):40===i?o(50):100===i&&o(500)))},t)};o(1)},getImage:function(t,e){var i,n=0,o=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,h("ImageLoadComplete")):++n<200?setTimeout(o,100):s())},s=function(){t&&(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("error",r.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},r=f.st.image,a=e.find(".mfp-img");return a.length&&((i=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(i.alt=t.el.find("img").attr("alt")),t.img=u(i).on("load.mfploader",o).on("error.mfploader",s),i.src=t.src,a.is("img")&&(t.img=t.img.clone()),0<(i=t.img[0]).naturalWidth?t.hasSize=!0:i.width||(t.hasSize=!1)),f._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=f.st.image.titleSrc;if(e){if(u.isFunction(e))return e.call(f,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),f.resizeImage(),t.hasSize?(k&&clearInterval(k),t.loadError?(e.addClass("mfp-loading"),f.updateStatus("error",r.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),f.findImageSize(t))),e}}});var I;u.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,e,i,n,o,s,r=f.st.zoom;r.enabled&&f.supportsTransition&&(n=r.duration,o=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+r.duration/1e3+"s "+r.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},t="transition";return n["-webkit-"+t]=n["-moz-"+t]=n["-o-"+t]=n[t]=i,e.css(n),e},s=function(){f.content.css("visibility","visible")},c("BuildControls.zoom",function(){f._allowZoom()&&(clearTimeout(e),f.content.css("visibility","hidden"),(t=f._getItemToZoom())?((i=o(t)).css(f._getOffset()),f.wrap.append(i),e=setTimeout(function(){i.css(f._getOffset(!0)),e=setTimeout(function(){s(),setTimeout(function(){i.remove(),t=i=null,h("ZoomAnimationEnded")},16)},n)},16)):s())}),c(l+".zoom",function(){if(f._allowZoom()){if(clearTimeout(e),f.st.removalDelay=n,!t){if(!(t=f._getItemToZoom()))return;i=o(t)}i.css(f._getOffset(!0)),f.wrap.append(i),f.content.css("visibility","hidden"),setTimeout(function(){i.css(f._getOffset())},16)}}),c(a+".zoom",function(){f._allowZoom()&&(s(),i&&i.remove(),t=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(t){var e=t?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),i=e.offset(),n=parseInt(e.css("padding-top"),10),t=parseInt(e.css("padding-bottom"),10);i.top-=u(window).scrollTop()-n;n={width:e.width(),height:(b?e.innerHeight():e[0].offsetHeight)-t-n};return(I=void 0===I?void 0!==document.createElement("p").style.MozTransform:I)?n["-moz-transform"]=n.transform="translate("+i.left+"px,"+i.top+"px)":(n.left=i.left,n.top=i.top),n}}});function B(t){var e;!f.currTemplate[H]||(e=f.currTemplate[H].find("iframe")).length&&(t||(e[0].src="//about:blank"),f.isIE8&&e.css("display",t?"block":"none"))}var H="iframe";u.magnificPopup.registerModule(H,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push(H),c("BeforeChange",function(t,e,i){e!==i&&(e===H?B():i===H&&B(!0))}),c(a+"."+H,function(){B()})},getIframe:function(t,e){var i=t.src,n=f.st.iframe;u.each(n.patterns,function(){return-1<i.indexOf(this.index)?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0});var o={};return n.srcAction&&(o[n.srcAction]=i),f._parseMarkup(e,o,t),f.updateStatus("ready"),e}}});function G(t){var e=f.items.length;return e-1<t?t-e:t<0?e+t:t}function F(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}u.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var s=f.st.gallery,t=".mfp-gallery";return f.direction=!0,!(!s||!s.enabled)&&(g+=" mfp-gallery",c("Open"+t,function(){s.navigateByImgClick&&f.wrap.on("click"+t,".mfp-img",function(){return 1<f.items.length?(f.next(),!1):void 0}),m.on("keydown"+t,function(t){37===t.keyCode?f.prev():39===t.keyCode&&f.next()})}),c("UpdateStatus"+t,function(t,e){e.text&&(e.text=F(e.text,f.currItem.index,f.items.length))}),c(y+t,function(t,e,i,n){var o=f.items.length;i.counter=1<o?F(s.tCounter,n.index,o):""}),c("BuildControls"+t,function(){var t,e;1<f.items.length&&s.arrows&&!f.arrowLeft&&(e=s.arrowMarkup,t=f.arrowLeft=u(e.replace(/%title%/gi,s.tPrev).replace(/%dir%/gi,"left")).addClass(T),e=f.arrowRight=u(e.replace(/%title%/gi,s.tNext).replace(/%dir%/gi,"right")).addClass(T),t.click(function(){f.prev()}),e.click(function(){f.next()}),f.container.append(t.add(e)))}),c("Change"+t,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),void c(a+t,function(){m.off(t),f.wrap.off("click"+t),f.arrowRight=f.arrowLeft=null}))},next:function(){f.direction=!0,f.index=G(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=G(f.index-1),f.updateItemHTML()},goTo:function(t){f.direction=t>=f.index,f.index=t,f.updateItemHTML()},preloadNearbyImages:function(){for(var t=f.st.gallery.preload,e=Math.min(t[0],f.items.length),i=Math.min(t[1],f.items.length),n=1;n<=(f.direction?i:e);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?e:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(t){var e;t=G(t),f.items[t].preloaded||((e=f.items[t]).parsed||(e=f.parseEl(t)),h("LazyLoad",e),"image"===e.type&&(e.img=u('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,h("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}});var L="retina";u.magnificPopup.registerModule(L,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n)&&(c("ImageHasSize."+L,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),c("ElementParse."+L,function(t,e){e.src=i.replaceSrc(e,n)})))}}}),s()}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(t.jQuery)}(this,function(u){"use strict";var n="vide",o={volume:1,playbackRate:1,muted:!0,loop:!0,playsinline:"",autoplay:!0,position:"50% 50%",posterType:"detect",resizing:!0,bgColor:"transparent",className:""},c="Not implemented";function s(t){for(var e,i,n,o,s={},r=t.replace(/\s*:\s*/g,":").replace(/\s*,\s*/g,",").split(","),a=0,l=r.length;a<l&&(-1===(i=r[a]).search(/^(http|https|ftp):\/\//)&&-1!==i.search(":"));a++)e=i.indexOf(":"),n=i.substring(0,e),"string"==typeof(o="string"==typeof(o=(o=i.substring(e+1))||void 0)?"true"===o||"false"!==o&&o:o)&&(o=isNaN(o)?o:+o),s[n]=o;return null==n&&null==o?t:s}function r(t,e,i){if(this.$element=u(t),"string"==typeof e&&(e=s(e)),i?"string"==typeof i&&(i=s(i)):i={},"string"==typeof e)e=e.replace(/\.\w*$/,"");else if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&(e[n]=e[n]);this.settings=u.extend({},o,i),this.path=e;try{this.init()}catch(t){if(t.message!==c)throw t}}r.prototype.init=function(){var t,e=this,i=e.path,n=i,o=e.$element,s=e.settings,r=function(t){for(var e,i=(t=""+t).split(/\s+/),n="50%",o="50%",s=0,r=i.length;s<r;s++)"left"===(e=i[s])?n="0%":"right"===e?n="100%":"top"===e?o="0%":"bottom"===e?o="100%":"center"===e?0===s?n="50%":o="50%":0===s?n=e:o=e;return{x:n,y:o}}(s.position),a=s.posterType,l=e.$wrapper=u("<div>").addClass(s.className).css({position:"absolute","z-index":0,top:0,left:0,bottom:0,right:0,overflow:"hidden","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","background-size":"cover","background-color":s.bgColor,"background-repeat":"no-repeat","background-position":r.x+" "+r.y});"object"==typeof i&&(i.poster?n=i.poster:i.mp4?n=i.mp4:i.webm?n=i.webm:i.ogv&&(n=i.ogv)),"none"!==a&&l.css("background-image","url("+n+")"),"static"===o.css("position")&&o.css("position","relative"),o.prepend(l),t=e.$video=u('<video><source src="'+i.mp4+'" type="video/mp4"></video>');try{t.prop({autoplay:s.autoplay,loop:s.loop,volume:s.volume,preload:"auto",muted:s.muted,defaultMuted:s.muted,playbackRate:s.playbackRate,defaultPlaybackRate:s.playbackRate})}catch(t){throw new Error(c)}t.attr("playsinline",s.playsinline),t.css({margin:"auto",position:"absolute","z-index":0,top:r.y,left:r.x,"-webkit-transform":"translate(-"+r.x+", -"+r.y+")","-ms-transform":"translate(-"+r.x+", -"+r.y+")","-moz-transform":"translate(-"+r.x+", -"+r.y+")",transform:"translate(-"+r.x+", -"+r.y+")",visibility:"hidden",opacity:0}).one("canplaythrough.vide",function(){e.resize()}).one("canplay playing.vide",function(){t.css({visibility:"visible"}).animate({opacity:1})}),o.on("resize.vide",function(){s.resizing&&e.resize()}),l.append(t)},r.prototype.getVideoObject=function(){return this.$video[0]},r.prototype.resize=function(){var t,e,i,n,o;this.$video&&(o=this.$wrapper,e=(n=(t=this.$video)[0]).videoHeight,i=n.videoWidth,(n=o.height())/e<(o=o.width())/i?t.css({width:o+2,height:"auto"}):t.css({width:"auto",height:n+2}))},r.prototype.destroy=function(){delete u.vide.lookup[this.index],this.$video&&this.$video.off(n),this.$element.off(n).removeData(n),this.$wrapper.remove()},u.vide={lookup:[]},u.fn.vide=function(t,e){var i;return this.each(function(){(i=u.data(this,n))&&i.destroy(),(i=new r(this,t,e)).index=u.vide.lookup.push(i)-1,u.data(this,n,i)}),this},u(document).ready(function(){var t=u(window);t.on("resize.vide",function(){for(var t,e=u.vide.lookup.length,i=0;i<e;i++)(t=u.vide.lookup[i])&&t.settings.resizing&&t.resize()}),t.on("unload.vide",function(){return!1}),u(document).find("[data-vide-bg]").each(function(t,e){var i=u(e),n=i.data("vide-options"),e=i.data("vide-bg");i.vide(e,n)})})}),function(t){var e,i,n;"function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),e||(i=window.Cookies,(n=window.Cookies=t()).noConflict=function(){return window.Cookies=i,n})}(function(){function a(){for(var t=0,e={};t<arguments.length;t++){var i,n=arguments[t];for(i in n)e[i]=n[i]}return e}function u(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function t(l){function r(){}function i(t,e,i){if("undefined"!=typeof document){"number"==typeof(i=a({path:"/"},r.defaults,i)).expires&&(i.expires=new Date(+new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var n=JSON.stringify(e);/^[\{\[]/.test(n)&&(e=n)}catch(t){}e=l.write?l.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var o,s="";for(o in i)i[o]&&(s+="; "+o,!0!==i[o]&&(s+="="+i[o].split(";")[0]));return document.cookie=t+"="+e+s}}function e(t,e){if("undefined"!=typeof document){for(var i={},n=document.cookie?document.cookie.split("; "):[],o=0;o<n.length;o++){var s=n[o].split("="),r=s.slice(1).join("=");e||'"'!==r.charAt(0)||(r=r.slice(1,-1));try{var a=u(s[0]),r=(l.read||l)(r,a)||u(r);if(e)try{r=JSON.parse(r)}catch(t){}if(i[a]=r,t===a)break}catch(t){}}return t?i[t]:i}}return r.set=i,r.get=function(t){return e(t,!1)},r.getJSON=function(t){return e(t,!0)},r.remove=function(t,e){i(t,"",a(e,{expires:-1}))},r.defaults={},r.withConverter=t,r}(function(){})}),function(t){var e=function(n,h,s){"use strict";var p,f;if(function(){var t,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in f=n.lazySizesConfig||n.lazysizesConfig||{},e)t in f||(f[t]=e[t])}(),!h||!h.getElementsByClassName)return{init:function(){},cfg:f,noSupport:!0};function r(t,e){return ut[e]||(ut[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),ut[e].test(t[it]("class")||"")&&ut[e]}function u(t,e){r(t,e)||t.setAttribute("class",(t[it]("class")||"").trim()+" "+e)}function c(t,e){(e=r(t,e))&&t.setAttribute("class",(t[it]("class")||"").replace(e," "))}function d(t,e,i,n,o){var s=h.createEvent("Event");return(i=i||{}).instance=p,s.initEvent(e,!n,!o),s.detail=i,t.dispatchEvent(s),s}function m(t,e){var i;!tt&&(i=n.picturefill||f.pf)?(e&&e.src&&!t[it]("srcset")&&t.setAttribute("srcset",e.src),i({reevaluate:!0,elements:[t]})):e&&e.src&&(t.src=e.src)}function g(t,e){return(getComputedStyle(t,null)||{})[e]}function o(t,e,i){for(i=i||t.offsetWidth;i<f.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i}function t(i,t){return t?function(){ht(i)}:function(){var t=this,e=arguments;ht(function(){i.apply(t,e)})}}function e(t){var e,i,n=function(){e=null,t()},o=function(){var t=s.now()-i;t<99?ot(o,99-t):(rt||n)(n)};return function(){i=s.now(),e=e||ot(o,99)}}var i,a,l,y,v,T,b,D,S,C,w,A,P,_,E,M,x,k,I,B,H,G,F,L,O,R,z,N,W,V,$,X,j,Y,U,q,K,Q,Z,J=h.documentElement,tt=n.HTMLPictureElement,et="addEventListener",it="getAttribute",nt=n[et].bind(n),ot=n.setTimeout,st=n.requestAnimationFrame||ot,rt=n.requestIdleCallback,at=/^picture$/i,lt=["load","error","lazyincluded","_lazyloaded"],ut={},ct=Array.prototype.forEach,dt=function(e,i,t){var n=t?et:"removeEventListener";t&&dt(e,i),lt.forEach(function(t){e[n](t,i)})},ht=(Q=[],Z=K=[],At._lsFlush=wt,At),pt=(G=/^img$/i,F=/^iframe$/i,L="onscroll"in n&&!/(gle|ing)bot/.test(navigator.userAgent),z=-1,M=Tt,k=R=O=0,I=f.throttleDelay,B=f.ricTimeout,H=rt&&49<B?function(){rt(bt,{timeout:B}),B!==f.ricTimeout&&(B=f.ricTimeout)}:t(function(){ot(bt)},!0),W=t(Dt),V=function(t){W({target:t.target})},$=t(function(e,t,i,n,o){var s,r,a,l;(a=d(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?u(e,f.autosizesClass):e.setAttribute("sizes",n)),i=e[it](f.srcsetAttr),n=e[it](f.srcAttr),o&&(r=(s=e.parentNode)&&at.test(s.nodeName||"")),l=t.firesLoad||"src"in e&&(i||n||r),a={target:e},u(e,f.loadingClass),l&&(clearTimeout(T),T=ot(yt,2500),dt(e,V,!0)),r&&ct.call(s.getElementsByTagName("source"),St),i?e.setAttribute("srcset",i):n&&!r&&(F.test(e.nodeName)?function(e,i){try{e.contentWindow.location.replace(i)}catch(t){e.src=i}}(e,n):e.src=n),o&&(i||r)&&m(e,{src:n})),e._lazyRace&&delete e._lazyRace,c(e,f.lazyClass),ht(function(){var t=e.complete&&1<e.naturalWidth;l&&!t||(t&&u(e,"ls-is-cached"),Dt(a),e._lazyCache=!0,ot(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&R--},!0)}),j=e(function(){f.loadMode=3,N()}),Y=function(){v||(s.now()-D<999?ot(Y,999):(v=!0,f.loadMode=3,N(),nt("scroll",Ct,!0)))},{_:function(){D=s.now(),p.elements=h.getElementsByClassName(f.lazyClass),y=h.getElementsByClassName(f.lazyClass+" "+f.preloadClass),nt("scroll",N,!0),nt("resize",N,!0),nt("pageshow",function(t){var e;!t.persisted||(e=h.querySelectorAll("."+f.loadingClass)).length&&e.forEach&&st(function(){e.forEach(function(t){t.complete&&X(t)})})}),n.MutationObserver?new MutationObserver(N).observe(J,{childList:!0,subtree:!0,attributes:!0}):(J[et]("DOMNodeInserted",N,!0),J[et]("DOMAttrModified",N,!0),setInterval(N,999)),nt("hashchange",N,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){h[et](t,N,!0)}),/d$|^c/.test(h.readyState)?Y():(nt("load",Y),h[et]("DOMContentLoaded",N),ot(Y,2e4)),p.elements.length?(Tt(),ht._lsFlush()):N()},checkElems:N=function(t){var e;(t=!0===t)&&(B=33),x||(x=!0,(e=I-(s.now()-k))<0&&(e=0),t||e<9?H():ot(H,e))},unveil:X=function(t){var e,i,n,o;t._lazyRace||(!(o="auto"==(n=(i=G.test(t.nodeName))&&(t[it](f.sizesAttr)||t[it]("sizes"))))&&v||!i||!t[it]("src")&&!t.srcset||t.complete||r(t,f.errorClass)||!r(t,f.lazyClass))&&(e=d(t,"lazyunveilread").detail,o&&ft.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,R++,$(t,e,o,n,i))},_aLSL:Ct}),ft=(a=t(function(t,e,i,n){var o,s,r;if(t._lazysizesWidth=n,t.setAttribute("sizes",n+="px"),at.test(e.nodeName||""))for(s=0,r=(o=e.getElementsByTagName("source")).length;s<r;s++)o[s].setAttribute("sizes",n);i.detail.dataAttr||m(t,i.detail)}),{_:function(){i=h.getElementsByClassName(f.autosizesClass),nt("resize",l)},checkElems:l=e(function(){var t,e=i.length;if(e)for(t=0;t<e;t++)gt(i[t])}),updateElem:gt}),mt=function(){!mt.i&&h.getElementsByClassName&&(mt.i=!0,ft._(),pt._())};function gt(t,e,i){var n=t.parentNode;n&&(i=o(t,n,i),(e=d(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented||(i=e.detail.width)&&i!==t._lazysizesWidth&&a(t,n,e,i))}function yt(t){R--,t&&!(R<0)&&t.target||(R=0)}function vt(t){return(E=null==E?"hidden"==g(h.body,"visibility"):E)||!("hidden"==g(t.parentNode,"visibility")&&"hidden"==g(t,"visibility"))}function Tt(){var t,e,i,n,o,s,r,a,l,u,c,d=p.elements;if((b=f.loadMode)&&R<8&&(t=d.length)){for(e=0,z++;e<t;e++)if(d[e]&&!d[e]._lazyRace)if(!L||p.prematureUnveil&&p.prematureUnveil(d[e]))X(d[e]);else if((r=d[e][it]("data-expand"))&&(o=+r)||(o=O),l||(l=!f.expand||f.expand<1?500<J.clientHeight&&500<J.clientWidth?500:370:f.expand,u=(p._defEx=l)*f.expFactor,c=f.hFac,E=null,O<u&&R<1&&2<z&&2<b&&!h.hidden?(O=u,z=0):O=1<b&&1<z&&R<6?l:0),a!==o&&(S=innerWidth+o*c,C=innerHeight+o,s=-1*o,a=o),u=d[e].getBoundingClientRect(),(_=u.bottom)>=s&&(w=u.top)<=C&&(P=u.right)>=s*c&&(A=u.left)<=S&&(_||P||A||w)&&(f.loadHidden||vt(d[e]))&&(v&&R<3&&!r&&(b<3||z<4)||function(t,e){var i,n=t,o=vt(t);for(w-=e,_+=e,A-=e,P+=e;o&&(n=n.offsetParent)&&n!=h.body&&n!=J;)(o=0<(g(n,"opacity")||1))&&"visible"!=g(n,"overflow")&&(i=n.getBoundingClientRect(),o=P>i.left&&A<i.right&&_>i.top-1&&w<i.bottom+1);return o}(d[e],o))){if(X(d[e]),n=!0,9<R)break}else!n&&v&&!i&&R<4&&z<4&&2<b&&(y[0]||f.preloadAfterLoad)&&(y[0]||!r&&(_||P||A||w||"auto"!=d[e][it](f.sizesAttr)))&&(i=y[0]||d[e]);i&&!n&&X(i)}}function bt(){x=!1,k=s.now(),M()}function Dt(t){var e=t.target;e._lazyCache?delete e._lazyCache:(yt(t),u(e,f.loadedClass),c(e,f.loadingClass),dt(e,V),d(e,"lazyloaded"))}function St(t){var e,i=t[it](f.srcsetAttr);(e=f.customMedia[t[it]("data-media")||t[it]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)}function Ct(){3==f.loadMode&&(f.loadMode=2),j()}function wt(){var t=Z;for(Z=K.length?Q:K,q=!(U=!0);t.length;)t.shift()();U=!1}function At(t,e){U&&!e?t.apply(this,arguments):(Z.push(t),q||(q=!0,(h.hidden?ot:st)(wt)))}return ot(function(){f.init&&mt()}),p={cfg:f,autoSizer:ft,loader:pt,init:mt,uP:m,aC:u,rC:c,hC:r,fire:d,gW:o,rAF:ht}}(t,t.document,Date);t.lazySizes=e,"object"==typeof module&&module.exports&&(module.exports=e)}("undefined"!=typeof window?window:{}),function(s){(function(){if("undefined"!=typeof module&&module.exports)return function(t){module.exports=t()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(t){window.MobileDetect=t()};throw new Error("unknown environment")})()(function(){"use strict";function e(t,e){return null!=t&&null!=e&&t.toLowerCase()===e.toLowerCase()}function i(t,e){var i,n,o=t.length;if(!o||!e)return!1;for(i=e.toLowerCase(),n=0;n<o;++n)if(i===t[n].toLowerCase())return!0;return!1}function a(t){for(var e in t)c.call(t,e)&&(t[e]=new RegExp(t[e],"i"))}function o(t,e){this.ua=(t||"").substr(0,500),this._cache={},this.maxPhoneWidth=e||600}var l,u={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)(A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-8703F|Tab2A7-10F",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4(HD)?|Visture V5(HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm(os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s)|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(|\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(|\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg(g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v)|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v)|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|)|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},c=Object.prototype.hasOwnProperty;return u.FALLBACK_PHONE="UnknownPhone",u.FALLBACK_TABLET="UnknownTablet",u.FALLBACK_MOBILE="UnknownMobile",l="isArray"in Array?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},function(){var t,e,i,n,o,s,r=u.mobileDetectRules;for(t in r.props)if(c.call(r.props,t)){for(e=r.props[t],o=(e=!l(e)?[e]:e).length,n=0;n<o;++n)0<=(s=(i=e[n]).indexOf("[VER]"))&&(i=i.substring(0,s)+"([\\w._\\+]+)"+i.substring(s+5)),e[n]=new RegExp(i,"i");r.props[t]=e}a(r.oss),a(r.phones),a(r.tablets),a(r.uas),a(r.utils),r.oss0={WindowsPhoneOS:r.oss.WindowsPhoneOS,WindowsMobileOS:r.oss.WindowsMobileOS}}(),u.findMatch=function(t,e){for(var i in t)if(c.call(t,i)&&t[i].test(e))return i;return null},u.findMatches=function(t,e){var i,n=[];for(i in t)c.call(t,i)&&t[i].test(e)&&n.push(i);return n},u.getVersionStr=function(t,e){var i,n,o,s,r=u.mobileDetectRules.props;if(c.call(r,t))for(o=(i=r[t]).length,n=0;n<o;++n)if(null!==(s=i[n].exec(e)))return s[1];return null},u.getVersion=function(t,e){e=u.getVersionStr(t,e);return e?u.prepareVersionNo(e):NaN},u.prepareVersionNo=function(t){var e=t.split(/[a-z._ \/\-]/i);return 1===e.length&&(t=e[0]),1<e.length&&(t=e[0]+".",e.shift(),t+=e.join("")),Number(t)},u.isMobileFallback=function(t){return u.detectMobileBrowsers.fullPattern.test(t)||u.detectMobileBrowsers.shortPattern.test(t.substr(0,4))},u.isTabletFallback=function(t){return u.detectMobileBrowsers.tabletPattern.test(t)},u.prepareDetectionCache=function(t,e,i){var n;if(t.mobile===s)return(n=u.findMatch(u.mobileDetectRules.tablets,e))?(t.mobile=t.tablet=n,void(t.phone=null)):(n=u.findMatch(u.mobileDetectRules.phones,e))?(t.mobile=t.phone=n,void(t.tablet=null)):void(u.isMobileFallback(e)?(i=o.isPhoneSized(i))===s?(t.mobile=u.FALLBACK_MOBILE,t.tablet=t.phone=null):i?(t.mobile=t.phone=u.FALLBACK_PHONE,t.tablet=null):(t.mobile=t.tablet=u.FALLBACK_TABLET,t.phone=null):u.isTabletFallback(e)?(t.mobile=t.tablet=u.FALLBACK_TABLET,t.phone=null):t.mobile=t.tablet=t.phone=null)},u.mobileGrade=function(t){var e=null!==t.mobile();return t.os("iOS")&&4.3<=t.version("iPad")||t.os("iOS")&&3.1<=t.version("iPhone")||t.os("iOS")&&3.1<=t.version("iPod")||2.1<t.version("Android")&&t.is("Webkit")||7<=t.version("Windows Phone OS")||t.is("BlackBerry")&&6<=t.version("BlackBerry")||t.match("Playbook.*Tablet")||1.4<=t.version("webOS")&&t.match("Palm|Pre|Pixi")||t.match("hp.*TouchPad")||t.is("Firefox")&&12<=t.version("Firefox")||t.is("Chrome")&&t.is("AndroidOS")&&4<=t.version("Android")||t.is("Skyfire")&&4.1<=t.version("Skyfire")&&t.is("AndroidOS")&&2.3<=t.version("Android")||t.is("Opera")&&11<t.version("Opera Mobi")&&t.is("AndroidOS")||t.is("MeeGoOS")||t.is("Tizen")||t.is("Dolfin")&&2<=t.version("Bada")||(t.is("UC Browser")||t.is("Dolfin"))&&2.3<=t.version("Android")||t.match("Kindle Fire")||t.is("Kindle")&&3<=t.version("Kindle")||t.is("AndroidOS")&&t.is("NookTablet")||11<=t.version("Chrome")&&!e||5<=t.version("Safari")&&!e||4<=t.version("Firefox")&&!e||7<=t.version("MSIE")&&!e||10<=t.version("Opera")&&!e?"A":t.os("iOS")&&t.version("iPad")<4.3||t.os("iOS")&&t.version("iPhone")<3.1||t.os("iOS")&&t.version("iPod")<3.1||t.is("Blackberry")&&5<=t.version("BlackBerry")&&t.version("BlackBerry")<6||5<=t.version("Opera Mini")&&t.version("Opera Mini")<=6.5&&(2.3<=t.version("Android")||t.is("iOS"))||t.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=t.version("Opera Mobi")&&t.is("SymbianOS")?"B":(t.version("BlackBerry")<5||t.match("MSIEMobile|Windows CE.*Mobile")||t.version("Windows Mobile"),"C")},u.detectOS=function(t){return u.findMatch(u.mobileDetectRules.oss0,t)||u.findMatch(u.mobileDetectRules.oss,t)},u.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},o.prototype={constructor:o,mobile:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===s&&(this._cache.userAgent=u.findMatch(u.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===s&&(this._cache.userAgents=u.findMatches(u.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===s&&(this._cache.os=u.detectOS(this.ua)),this._cache.os},version:function(t){return u.getVersion(t,this.ua)},versionStr:function(t){return u.getVersionStr(t,this.ua)},is:function(t){return i(this.userAgents(),t)||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||i(u.findMatches(u.mobileDetectRules.utils,this.ua),t)},match:function(t){return(t=!(t instanceof RegExp)?new RegExp(t,"i"):t).test(this.ua)},isPhoneSized:function(t){return o.isPhoneSized(t||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===s&&(this._cache.grade=u.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?o.isPhoneSized=function(t){return t<0?s:u.getDeviceSmallerSide()<=t}:o.isPhoneSized=function(){},o._impl=u,o.version="1.4.2 2018-06-10",o})}(),function(){var u,n,c,d,t,r,l,E,o,h,p,s,f,i,m,M,a,e,g,y=[].slice;function v(t){var e,i,n,o,s,r,a,l=this;if(this.options=t,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;for(e in this.el.odometer=this,r=v.options)n=r[e],null==this.options[e]&&(this.options[e]=n);null==(t=this.options).duration&&(t.duration=u),this.MAX_VALUES=this.options.duration/d/c|0,this.resetFormat(),this.value=this.cleanValue(null!=(t=this.options.value)?t:""),this.renderInside(),this.render();try{for(o=0,s=(a=["innerHTML","innerText","textContent"]).length;o<s;o++)i=a[o],null!=this.el[i]&&function(e){Object.defineProperty(l.el,e,{get:function(){var t;return"innerHTML"===e?l.inside.outerHTML:null!=(t=l.inside.innerText)?t:l.inside.textContent},set:function(t){return l.update(t)}})}(i)}catch(t){this.watchForMutations()}}n=/^\(?([^)]*)\)?(?:(.)(d+))?$/,u=2e3,c=2,d=1e3/30,g=document.createElement("div").style,l=null!=g.transition||null!=g.webkitTransition||null!=g.mozTransition||null!=g.oTransition,f=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=function(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]},s=function(t,e){return t.className=t.className.replace(new RegExp("(^|)"+e.split(" ").join("|")+"(|$)","gi")," ")},E=function(t,e){return s(t,e),t.className+=" "+e},m=function(t,e){var i;return null!=document.createEvent?((i=document.createEvent("HTMLEvents")).initEvent(e,!0,!0),t.dispatchEvent(i)):void 0},p=function(){var t;return null!=(t=null!=(t=window.performance)&&"function"==typeof t.now?t.now():void 0)?t:+new Date},i=function(t,e){return(e=null==e?0:e)?(t*=Math.pow(10,e),t+=.5,(t=Math.floor(t))/Math.pow(10,e)):Math.round(t)},M=function(t){return t<0?Math.ceil(t):Math.floor(t)},a=!(h=function(t){return t-i(t)}),(g=function(){var t,e,i,n,o;if(!a&&null!=window.jQuery){for(a=!0,o=[],e=0,i=(n=["html","text"]).length;e<i;e++)t=n[e],o.push(function(){var i=window.jQuery.fn[t];return window.jQuery.fn[t]=function(t){var e;return null==t||null==(null!=(e=this[0])?e.odometer:void 0)?i.apply(this,arguments):this[0].odometer.update(t)}}());return o}})(),setTimeout(g,0),v.prototype.renderInside=function(){return this.inside=document.createElement("div"),this.inside.className="odometer-inside",this.el.innerHTML="",this.el.appendChild(this.inside)},v.prototype.watchForMutations=function(){var i=this;if(null!=t)try{return null==this.observer&&(this.observer=new t(function(t){var e=i.el.innerText;return i.renderInside(),i.render(i.value),i.update(e)})),this.watchMutations=!0,this.startWatchingMutations()}catch(t){0}},v.prototype.startWatchingMutations=function(){return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},v.prototype.stopWatchingMutations=function(){var t;return null!=(t=this.observer)?t.disconnect():void 0},v.prototype.cleanValue=function(t){var e;return"string"==typeof t&&(t=(t=(t=t.replace(null!=(e=this.format.radix)?e:".","<radix>")).replace(/[.,]/g,"")).replace("<radix>","."),t=parseFloat(t,10)||0),i(t,this.format.precision)},v.prototype.bindTransitionEnd=function(){var t,e,i,n,o,s,r=this;if(!this.transitionEndBound){for(this.transitionEndBound=!0,e=!1,s=[],i=0,n=(o="transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd".split(" ")).length;i<n;i++)t=o[i],s.push(this.el.addEventListener(t,function(){return e||(e=!0,setTimeout(function(){return r.render(),e=!1,m(r.el,"odometerdone")},0)),!0},!1));return s}},v.prototype.resetFormat=function(){var t,e,i=null!=(e=this.options.format)?e:"(,ddd).dd";if(!(t=n.exec(i=i||"d")))throw new Error("Odometer: Unparsable digit format");return i=(e=t.slice(1,4))[0],t=e[1],e=(null!=(e=e[2])?e.length:void 0)||0,this.format={repeating:i,radix:t,precision:e}},v.prototype.render=function(t){var e,i,n,o,s,r,a;for(null==t&&(t=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML="",s=this.options.theme,o=[],r=0,a=(e=this.el.className.split(" ")).length;r<a;r++)(i=e[r]).length&&((n=/^odometer-theme-(.+)$/.exec(i))?s=n[1]:/^odometer(-|$)/.test(i)||o.push(i));return o.push("odometer"),l||o.push("odometer-no-transitions"),s?o.push("odometer-theme-"+s):o.push("odometer-auto-theme"),this.el.className=o.join(" "),this.ribbons={},this.formatDigits(t),this.startWatchingMutations()},v.prototype.formatDigits=function(t){var e,i,n,o,s,r,a,l,u;if(this.digits=[],this.options.formatFunction)for(o=0,r=(l=this.options.formatFunction(t).split("").reverse()).length;o<r;o++)(i=l[o]).match(/0-9/)?((e=this.renderDigit()).querySelector(".odometer-value").innerHTML=i,this.digits.push(e),this.insertDigit(e)):this.addSpacer(i);else for(n=!this.format.precision||!h(t)||!1,s=0,a=(u=t.toString().split("").reverse()).length;s<a;s++)e=u[s],this.addDigit(e,n="."===e?!0:n)},v.prototype.update=function(t){var e,i=this;return(e=(t=this.cleanValue(t))-this.value)?(s(this.el,"odometer-animating-up odometer-animating-down odometer-animating"),E(this.el,0<e?"odometer-animating-up":"odometer-animating-down"),this.stopWatchingMutations(),this.animate(t),this.startWatchingMutations(),setTimeout(function(){return i.el.offsetHeight,E(i.el,"odometer-animating")},0),this.value=t):void 0},v.prototype.renderDigit=function(){return o('<span class="odometer-digit"><span class="odometer-digit-spacer">8</span><span class="odometer-digit-inner"><span class="odometer-ribbon"><span class="odometer-ribbon-inner"><span class="odometer-value"></span></span></span></span></span>')},v.prototype.insertDigit=function(t,e){return null!=e?this.inside.insertBefore(t,e):this.inside.children.length?this.inside.insertBefore(t,this.inside.children[0]):this.inside.appendChild(t)},v.prototype.addSpacer=function(t,e,i){var n=o('<span class="odometer-formatting-mark"></span>');return n.innerHTML=t,i&&E(n,i),this.insertDigit(n,e)},v.prototype.addDigit=function(t,e){var i,n,o;if(null==e&&(e=!0),"-"===t)return this.addSpacer(t,null,"odometer-negation-mark");if("."===t)return this.addSpacer(null!=(o=this.format.radix)?o:".",null,"odometer-radix-mark");if(e)for(n=!1;;){if(!this.format.repeating.length){if(n)throw new Error("Bad odometer format without digits");this.resetFormat(),n=!0}if(i=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),"d"===i)break;this.addSpacer(i)}return(e=this.renderDigit()).querySelector(".odometer-value").innerHTML=t,this.digits.push(e),this.insertDigit(e)},v.prototype.animate=function(t){return l&&"count"!==this.options.animation?this.animateSlide(t):this.animateCount(t)},v.prototype.animateCount=function(e){var i,n,o,s,r,a=this;if(n=+e-this.value)return s=o=p(),i=this.value,(r=function(){var t;return p()-s>a.options.duration?(a.value=e,a.render(),void m(a.el,"odometerdone")):(50<(t=p()-o)&&(o=p(),t=t/a.options.duration,i+=n*t,a.render(Math.round(i))),null!=f?f(r):setTimeout(r,50))})()},v.prototype.getDigitCount=function(){for(var t,e,i,n=1<=arguments.length?y.call(arguments,0):[],o=i=0,s=n.length;i<s;o=++i)e=n[o],n[o]=Math.abs(e);return t=Math.max.apply(Math,n),Math.ceil(Math.log(t+1)/Math.log(10))},v.prototype.getFractionalDigitCount=function(){for(var t,e,i=1<=arguments.length?y.call(arguments,0):[],n=/^\-?\d*\.(\d*?)0*$/,o=e=0,s=i.length;e<s;o=++e)t=i[o],i[o]=t.toString(),t=n.exec(i[o]),i[o]=null==t?0:t[1].length;return Math.max.apply(Math,i)},v.prototype.resetDigits=function(){return this.digits=[],this.ribbons=[],this.inside.innerHTML="",this.resetFormat()},v.prototype.animateSlide=function(t){var e,i,n,o,s,r,a,l,u,c,d,h,p,f,m,g,y,v,T,b,D,S,C,w,A,P=this.value,_=this.getFractionalDigitCount(P,t);if(_&&(t*=Math.pow(10,_),P*=Math.pow(10,_)),n=t-P){for(this.bindTransitionEnd(),o=this.getDigitCount(P,t),s=[],c=y=e=0;0<=o?y<o:o<y;c=0<=o?++y:--y){if(m=M(P/Math.pow(10,o-c-1)),r=(a=M(t/Math.pow(10,o-c-1)))-m,Math.abs(r)>this.MAX_VALUES){for(u=[],d=r/(this.MAX_VALUES+this.MAX_VALUES*e*.5),i=m;0<r&&i<a||r<0&&a<i;)u.push(Math.round(i)),i+=d;u[u.length-1]!==a&&u.push(a),e++}else u=function(){A=[];for(var t=m;m<=a?t<=a:a<=t;m<=a?t++:t--)A.push(t);return A}.apply(this);for(c=v=0,b=u.length;v<b;c=++v)l=u[c],u[c]=Math.abs(l%10);s.push(u)}for(this.resetDigits(),c=T=0,D=(w=s.reverse()).length;T<D;c=++T)for(u=w[c],this.digits[c]||this.addDigit(" ",_<=c),null==(g=this.ribbons)[c]&&(g[c]=this.digits[c].querySelector(".odometer-ribbon-inner")),this.ribbons[c].innerHTML="",S=(u=n<(h=C=0)?u.reverse():u).length;C<S;h=++C)l=u[h],(f=document.createElement("div")).className="odometer-value",f.innerHTML=l,this.ribbons[c].appendChild(f),h===u.length-1&&E(f,"odometer-last-value"),0===h&&E(f,"odometer-first-value");return m<0&&this.addDigit("-"),null!=(p=this.inside.querySelector(".odometer-radix-mark"))&&p.parent.removeChild(p),_?this.addSpacer(this.format.radix,this.digits[_-1],"odometer-radix-mark"):void 0}},(r=v).options=null!=(g=window.odometerOptions)?g:{},setTimeout(function(){var t,e,i,n,o;if(window.odometerOptions){for(t in o=[],n=window.odometerOptions)e=n[t],o.push(null!=(i=r.options)[t]?(i=r.options)[t]:i[t]=e);return o}},0),r.init=function(){var t,e,i,n,o,s;if(null!=document.querySelectorAll){for(s=[],i=0,n=(e=document.querySelectorAll(r.options.selector||".odometer")).length;i<n;i++)t=e[i],s.push(t.odometer=new r({el:t,value:null!=(o=t.innerText)?o:t.textContent}));return s}},null!=(null!=(g=document.documentElement)?g.doScroll:void 0)&&null!=document.createEventObject?(e=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&!1!==r.options.auto&&r.init(),null!=e?e.apply(this,arguments):void 0}):document.addEventListener("DOMContentLoaded",function(){return!1!==r.options.auto?r.init():void 0},!1),"function"==typeof define&&define.amd?define([],function(){return r}):"undefined"!=typeof exports&&null!==exports?module.exports=r:window.Odometer=r}.call(this),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 p(t){return getComputedStyle(t)}function l(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}return t}function u(t){var e=document.createElement("div");return e.className=t,e}function a(t,e){if(!n)throw new Error("No element matching method supported");return n.call(t,e)}function r(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function c(t,e){return Array.prototype.filter.call(t.children,function(t){return a(t,e)})}function y(t,e){var i=t.element.classList,t=T.state.scrolling(e);i.contains(t)?clearTimeout(o[e]):i.add(t)}function v(t,e){o[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(T.state.scrolling(e))},t.settings.scrollingThreshold)}function d(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,n,o){var s=i[0],r=i[1],a=i[2],l=i[3],u=i[4],c=i[5];void 0===n&&(n=!0),void 0===o&&(o=!1);i=t.element;t.reach[l]=null,i[a]<1&&(t.reach[l]="start"),i[a]>t[s]-t[r]-1&&(t.reach[l]="end"),e&&(i.dispatchEvent(d("ps-scroll-"+l)),e<0?i.dispatchEvent(d("ps-scroll-"+u)):0<e&&i.dispatchEvent(d("ps-scroll-"+c)),n&&(y(c=t,n=l),v(c,n))),t.reach[l]&&(e||o)&&i.dispatchEvent(d("ps-"+l+"-reach-"+t.reach[l]))}function f(t){return parseInt(t,10)||0}function m(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),e=t.settings.maxScrollbarLength?Math.min(e,t.settings.maxScrollbarLength):e}function e(e,t){function i(t){p[c]=f+g*(t[r]-m),y(e,d),b(e),t.stopPropagation(),t.preventDefault()}function n(){v(e,d),e[h].classList.remove(T.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",i)}var o=t[0],s=t[1],r=t[2],a=t[3],l=t[4],u=t[5],c=t[6],d=t[7],h=t[8],p=e.element,f=null,m=null,g=null;e.event.bind(e[l],"mousedown",function(t){f=p[c],m=t[r],g=(e[s]-e[o])/(e[a]-e[u]),e.event.bind(e.ownerDocument,"mousemove",i),e.event.once(e.ownerDocument,"mouseup",n),e[h].classList.add(T.state.clicking),t.stopPropagation(),t.preventDefault()})}function i(t){this.element=t,this.handlers={}}var n="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector),T={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",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},o={x:null,y:null},t={isEmpty:{configurable:!0}};i.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},i.prototype.unbind=function(e,i){var n=this;this.handlers[e]=this.handlers[e].filter(function(t){return!(!i||t===i)||(n.element.removeEventListener(e,t,!1),!1)})},i.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},t.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(i.prototype,t);function g(){this.eventElements=[]}g.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new i(e),this.eventElements.push(t)),t},g.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},g.prototype.unbind=function(t,e,i){t=this.eventElement(t);t.unbind(e,i),t.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(t),1)},g.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},g.prototype.once=function(t,e,i){var n=this.eventElement(t),o=function(t){n.unbind(e,o),i(t)};n.bind(e,o)};function s(t,e,i,n,o){var s;if(void 0===n&&(n=!0),void 0===o&&(o=!1),"top"===e)s=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");s=["contentWidth","containerWidth","scrollLeft","x","left","right"]}h(t,i,s,n,o)}function b(t){var e,i,n,o=t.element,s=Math.floor(o.scrollTop);t.containerWidth=o.clientWidth,t.containerHeight=o.clientHeight,t.contentWidth=o.scrollWidth,t.contentHeight=o.scrollHeight,o.contains(t.scrollbarXRail)||(c(o,T.element.rail("x")).forEach(r),o.appendChild(t.scrollbarXRail)),o.contains(t.scrollbarYRail)||(c(o,T.element.rail("y")).forEach(r),o.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=m(t,f(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=f((t.negativeScrollAdjustment+o.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=m(t,f(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=f(s*(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),e=o,n={width:(i=t).railXWidth},s=Math.floor(e.scrollTop),i.isRtl?n.left=i.negativeScrollAdjustment+e.scrollLeft+i.containerWidth-i.contentWidth:n.left=e.scrollLeft,i.isScrollbarXUsingBottom?n.bottom=i.scrollbarXBottom-s:n.top=i.scrollbarXTop+s,l(i.scrollbarXRail,n),s={top:s,height:i.railYHeight},i.isScrollbarYUsingRight?i.isRtl?s.right=i.contentWidth-(i.negativeScrollAdjustment+e.scrollLeft)-i.scrollbarYRight-i.scrollbarYOuterWidth:s.right=i.scrollbarYRight-e.scrollLeft:i.isRtl?s.left=i.negativeScrollAdjustment+e.scrollLeft+2*i.containerWidth-i.contentWidth-i.scrollbarYLeft-i.scrollbarYOuterWidth:s.left=i.scrollbarYLeft+e.scrollLeft,l(i.scrollbarYRail,s),l(i.scrollbarX,{left:i.scrollbarXLeft,width:i.scrollbarXWidth-i.railBorderXWidth}),l(i.scrollbarY,{top:i.scrollbarYTop,height:i.scrollbarYHeight-i.railBorderYWidth}),t.scrollbarXActive?o.classList.add(T.state.active("x")):(o.classList.remove(T.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,o.scrollLeft=0),t.scrollbarYActive?o.classList.add(T.state.active("y")):(o.classList.remove(T.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,o.scrollTop=0)}var D={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)},S={"click-rail":function(i){i.event.bind(i.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),i.event.bind(i.scrollbarYRail,"mousedown",function(t){var e=t.pageY-window.pageYOffset-i.scrollbarYRail.getBoundingClientRect().top>i.scrollbarYTop?1:-1;i.element.scrollTop+=e*i.containerHeight,b(i),t.stopPropagation()}),i.event.bind(i.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),i.event.bind(i.scrollbarXRail,"mousedown",function(t){var e=t.pageX-window.pageXOffset-i.scrollbarXRail.getBoundingClientRect().left>i.scrollbarXLeft?1:-1;i.element.scrollLeft+=e*i.containerWidth,b(i),t.stopPropagation()})},"drag-thumb":function(t){e(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),e(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(s){var r=s.element;s.event.bind(s.ownerDocument,"keydown",function(t){if(!(t.isDefaultPrevented&&t.isDefaultPrevented()||t.defaultPrevented)&&(a(r,":hover")||a(s.scrollbarX,":focus")||a(s.scrollbarY,":focus"))){var e=document.activeElement||s.ownerDocument.activeElement;if(e){if("IFRAME"===e.tagName)e=e.contentDocument.activeElement;else for(;e.shadowRoot;)e=e.shadowRoot.activeElement;if(a(o=e,"input,[contenteditable]")||a(o,"select,[contenteditable]")||a(o,"textarea,[contenteditable]")||a(o,"button,[contenteditable]"))return}var i=0,n=0;switch(t.which){case 37:i=t.metaKey?-s.contentWidth:t.altKey?-s.containerWidth:-30;break;case 38:n=t.metaKey?s.contentHeight:t.altKey?s.containerHeight:30;break;case 39:i=t.metaKey?s.contentWidth:t.altKey?s.containerWidth:30;break;case 40:n=t.metaKey?-s.contentHeight:t.altKey?-s.containerHeight:-30;break;case 32:n=t.shiftKey?s.containerHeight:-s.containerHeight;break;case 33:n=s.containerHeight;break;case 34:n=-s.containerHeight;break;case 36:n=s.contentHeight;break;case 35:n=-s.contentHeight;break;default:return}s.settings.suppressScrollX&&0!==i||s.settings.suppressScrollY&&0!==n||(r.scrollTop-=n,r.scrollLeft+=i,b(s),function(t,e){var i=Math.floor(r.scrollTop);if(0===t){if(!s.scrollbarYActive)return;if(0===i&&0<e||i>=s.contentHeight-s.containerHeight&&e<0)return!s.settings.wheelPropagation}if(i=r.scrollLeft,0===e){if(!s.scrollbarXActive)return;if(0===i&&t<0||i>=s.contentWidth-s.containerWidth&&0<t)return!s.settings.wheelPropagation}return 1}(i,n)&&t.preventDefault())}var o})},wheel:function(l){function t(t){var e,i,n,o,s=(n=(i=t).deltaX,o=-1*i.deltaY,void 0!==n&&void 0!==o||(n=-1*i.wheelDeltaX/6,o=i.wheelDeltaY/6),i.deltaMode&&1===i.deltaMode&&(n*=10,o*=10),n!=n&&o!=o&&(n=0,o=i.wheelDelta),i.shiftKey?[-o,-n]:[n,o]),r=s[0],a=s[1];!function(t,e,i){if(!D.isWebKit&&u.querySelector("select:focus"))return 1;if(u.contains(t))for(var n=t;n&&n!==u;){if(n.classList.contains(T.element.consuming))return 1;var o=p(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){o=n.scrollHeight-n.clientHeight;if(0<o&&!(0===n.scrollTop&&0<i||n.scrollTop===o&&i<0))return 1;o=n.scrollWidth-n.clientWidth;if(0<o&&!(0===n.scrollLeft&&e<0||n.scrollLeft===o&&0<e))return 1}n=n.parentNode}}(t.target,r,a)&&(e=!1,l.settings.useBothWheelAxes?l.scrollbarYActive&&!l.scrollbarXActive?(a?u.scrollTop-=a*l.settings.wheelSpeed:u.scrollTop+=r*l.settings.wheelSpeed,e=!0):l.scrollbarXActive&&!l.scrollbarYActive&&(r?u.scrollLeft+=r*l.settings.wheelSpeed:u.scrollLeft-=a*l.settings.wheelSpeed,e=!0):(u.scrollTop-=a*l.settings.wheelSpeed,u.scrollLeft+=r*l.settings.wheelSpeed),b(l),(e=e||(i=r,n=a,o=Math.floor(u.scrollTop),s=0===u.scrollTop,r=o+u.offsetHeight===u.scrollHeight,a=0===u.scrollLeft,o=u.scrollLeft+u.offsetWidth===u.scrollWidth,!(Math.abs(n)>Math.abs(i)?s||r:a||o)||!l.settings.wheelPropagation))&&!t.ctrlKey&&(t.stopPropagation(),t.preventDefault()))}var u=l.element;void 0!==window.onwheel?l.event.bind(u,"wheel",t):void 0!==window.onmousewheel&&l.event.bind(u,"mousewheel",t)},touch:function(r){function s(t,e){u.scrollTop-=e,u.scrollLeft-=t,b(r)}function a(t){return t.targetTouches?t.targetTouches[0]:t}function l(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 t(t){l(t)&&(t=a(t),c.pageX=t.pageX,c.pageY=t.pageY,d=(new Date).getTime(),null!==n&&clearInterval(n))}function e(t){var e,i,n,o;l(t)&&(e=(o={pageX:(n=a(t)).pageX,pageY:n.pageY}).pageX-c.pageX,i=o.pageY-c.pageY,function(t,e,i){if(u.contains(t))for(var n=t;n&&n!==u;){if(n.classList.contains(T.element.consuming))return 1;var o=p(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){o=n.scrollHeight-n.clientHeight;if(0<o&&!(0===n.scrollTop&&0<i||n.scrollTop===o&&i<0))return 1;o=n.scrollLeft-n.clientWidth;if(0<o&&!(0===n.scrollLeft&&e<0||n.scrollLeft===o&&0<e))return 1}n=n.parentNode}}(t.target,e,i)||(s(e,i),c=o,0<(o=(n=(new Date).getTime())-d)&&(h.x=e/o,h.y=i/o,d=n),function(t,e){var i=Math.floor(u.scrollTop),n=u.scrollLeft,o=Math.abs(t),s=Math.abs(e);if(o<s){if(e<0&&i===r.contentHeight-r.containerHeight||0<e&&0===i)return 0===window.scrollY&&0<e&&D.isChrome}else if(s<o&&(t<0&&n===r.contentWidth-r.containerWidth||0<t&&0===n))return 1;return 1}(e,i)&&t.preventDefault()))}function i(){r.settings.swipeEasing&&(clearInterval(n),n=setInterval(function(){r.isInitialized||!h.x&&!h.y||Math.abs(h.x)<.01&&Math.abs(h.y)<.01?clearInterval(n):(s(30*h.x,30*h.y),h.x*=.8,h.y*=.8)},10))}var u,c,d,h,n;(D.supportsTouch||D.supportsIePointer)&&(u=r.element,c={},d=0,h={},n=null,D.supportsTouch?(r.event.bind(u,"touchstart",t),r.event.bind(u,"touchmove",e),r.event.bind(u,"touchend",i)):D.supportsIePointer&&(window.PointerEvent?(r.event.bind(u,"pointerdown",t),r.event.bind(u,"pointermove",e),r.event.bind(u,"pointerup",i)):window.MSPointerEvent&&(r.event.bind(u,"MSPointerDown",t),r.event.bind(u,"MSPointerMove",e),r.event.bind(u,"MSPointerUp",i))))}},t=function(t,e){var i,n=this;if(void 0===e&&(e={}),!(t="string"==typeof t?document.querySelector(t):t)||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(i in(this.element=t).classList.add(T.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:!0,wheelSpeed:1},e)n.settings[i]=e[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var o,s=function(){return t.classList.add(T.state.focus)},r=function(){return t.classList.remove(T.state.focus)};this.isRtl="rtl"===p(t).direction,this.isNegativeScroll=(o=t.scrollLeft,t.scrollLeft=-1,a=t.scrollLeft<0,t.scrollLeft=o,a),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new g,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=u(T.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=u(T.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",r),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var a=p(this.scrollbarXRail);this.scrollbarXBottom=parseInt(a.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=f(a.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=f(a.borderLeftWidth)+f(a.borderRightWidth),l(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=f(a.marginLeft)+f(a.marginRight),l(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=u(T.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=u(T.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",r),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;s=p(this.scrollbarYRail);this.scrollbarYRight=parseInt(s.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=f(s.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?f((r=p(r=this.scrollbarY)).width)+f(r.paddingLeft)+f(r.paddingRight)+f(r.borderLeftWidth)+f(r.borderRightWidth):null,this.railBorderYWidth=f(s.borderTopWidth)+f(s.borderBottomWidth),l(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=f(s.marginTop)+f(s.marginBottom),l(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return S[t](n)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return n.onScroll(t)}),b(this)};return t.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,l(this.scrollbarXRail,{display:"block"}),l(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=f(p(this.scrollbarXRail).marginLeft)+f(p(this.scrollbarXRail).marginRight),this.railYMarginHeight=f(p(this.scrollbarYRail).marginTop)+f(p(this.scrollbarYRail).marginBottom),l(this.scrollbarXRail,{display:"none"}),l(this.scrollbarYRail,{display:"none"}),b(this),s(this,"top",0,!1,!0),s(this,"left",0,!1,!0),l(this.scrollbarXRail,{display:""}),l(this.scrollbarYRail,{display:""}))},t.prototype.onScroll=function(t){this.isAlive&&(b(this),s(this,"top",this.element.scrollTop-this.lastScrollTop),s(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},t.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),r(this.scrollbarX),r(this.scrollbarY),r(this.scrollbarXRail),r(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},t.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")},t}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(u){"use strict";jQuery.event.special.touchstart={setup:function(t,e,i){this.addEventListener("touchstart",i,{passive:!!e.includes("noPreventDefault")})}},jQuery.event.special.touchmove={setup:function(t,e,i){this.addEventListener("touchmove",i,{passive:!!e.includes("noPreventDefault")})}};var n,s=window.Slick||{};n=0,(s=function(t,e){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:u(t),appendDots:u(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return u('<button type="button" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},u.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=u(t),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,t=u(t).data("slick")||{},i.options=u.extend({},i.defaults,e,t),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=u.proxy(i.autoPlay,i),i.autoPlayClear=u.proxy(i.autoPlayClear,i),i.autoPlayIterator=u.proxy(i.autoPlayIterator,i),i.changeSlide=u.proxy(i.changeSlide,i),i.clickHandler=u.proxy(i.clickHandler,i),i.selectHandler=u.proxy(i.selectHandler,i),i.setPosition=u.proxy(i.setPosition,i),i.swipeHandler=u.proxy(i.swipeHandler,i),i.dragHandler=u.proxy(i.dragHandler,i),i.keyHandler=u.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},s.prototype.addSlide=s.prototype.slickAdd=function(t,e,i){var n=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=n.slideCount)return!1;n.unload(),"number"==typeof e?0===e&&0===n.$slides.length?u(t).appendTo(n.$slideTrack):i?u(t).insertBefore(n.$slides.eq(e)):u(t).insertAfter(n.$slides.eq(e)):!0===i?u(t).prependTo(n.$slideTrack):u(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,e){u(e).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},s.prototype.animateHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.animate({height:t},this.options.speed))},s.prototype.animateSlide=function(t,e){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(t=-t),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,e):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,e):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),u({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate("+t+"px, 0px)":i[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(n.applyTransition(),t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate3d("+t+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(i),e&&setTimeout(function(){n.disableTransition(),e.call()},n.options.speed))},s.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t=t&&null!==t?u(t).not(this.$slider):t},s.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=u(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},s.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,(!1===e.options.fade?e.$slideTrack:e.$slides.eq(t)).css(i)},s.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},s.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},s.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},s.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=u(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=u(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},s.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=u("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(u("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},s.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){u(e).attr("data-slick-index",t).data("originalStyling",u(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?u('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),u("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},s.prototype.buildRows=function(){var t,e,i,n=this,o=document.createDocumentFragment(),s=n.$slider.children();if(0<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,e=Math.ceil(s.length/i),t=0;t<e;t++){for(var r=document.createElement("div"),a=0;a<n.options.rows;a++){for(var l=document.createElement("div"),u=0;u<n.options.slidesPerRow;u++){var c=t*i+(a*n.options.slidesPerRow+u);s.get(c)&&l.appendChild(s.get(c))}r.appendChild(l)}o.appendChild(r)}n.$slider.empty().append(o),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},s.prototype.checkResponsive=function(t,e){var i,n,o,s=this,r=!1,a=s.$slider.width(),l=window.innerWidth||u(window).width();if("window"===s.respondTo?o=l:"slider"===s.respondTo?o=a:"min"===s.respondTo&&(o=Math.min(l,a)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(i in n=null,s.breakpoints)s.breakpoints.hasOwnProperty(i)&&(!1===s.originalSettings.mobileFirst?o<s.breakpoints[i]&&(n=s.breakpoints[i]):o>s.breakpoints[i]&&(n=s.breakpoints[i]));null!==n?null!==s.activeBreakpoint&&n===s.activeBreakpoint&&!e||(s.activeBreakpoint=n,"unslick"===s.breakpointSettings[n]?s.unslick(n):(s.options=u.extend({},s.originalSettings,s.breakpointSettings[n]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),r=n):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t),r=n),t||!1===r||s.$slider.trigger("breakpoint",[s,r])}},s.prototype.changeSlide=function(t,e){var i,n=this,o=u(t.currentTarget);switch(o.is("a")&&t.preventDefault(),o.is("li")||(o=o.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,t.data.message){case"previous":s=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-s,!1,e);break;case"next":s=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+s,!1,e);break;case"index":var s=0===t.data.index?0:t.data.index||o.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(s),!1,e),o.children().trigger("focus");break;default:return}},s.prototype.checkNavigable=function(t){var e=this.getNavigableIndexes(),i=0;if(t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},s.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(u("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",u.proxy(t.interrupt,t,!0)).off("mouseleave.slick",u.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),u(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&u(t.$slideTrack).children().off("click.slick",t.selectHandler),u(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),u(window).off("resize.slick.slick-"+t.instanceUid,t.resize),u("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),u(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},s.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",u.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",u.proxy(this.interrupt,this,!1))},s.prototype.cleanUpRows=function(){var t;0<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},s.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},s.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),u(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){u(this).attr("style",u(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},s.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},s.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},s.prototype.fadeSlideOut=function(t){!1===this.cssTransitions?this.$slides.eq(t).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(t),this.$slides.eq(t).css({opacity:0,zIndex:this.options.zIndex-2}))},s.prototype.filterSlides=s.prototype.slickFilter=function(t){null!==t&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(t).appendTo(this.$slideTrack),this.reinit())},s.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var e=u(this);setTimeout(function(){i.options.pauseOnFocus&&e.is(":focus")&&(i.focussed=!0,i.autoPlay())},0)}).on("blur.slick","*",function(t){u(this);i.options.pauseOnFocus&&(i.focussed=!1,i.autoPlay())})},s.prototype.getCurrent=s.prototype.slickCurrentSlide=function(){return this.currentSlide},s.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},s.prototype.getLeft=function(t){var e,i,n=this,o=0;return n.slideOffset=0,e=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?i=-1.5:1===n.options.slidesToShow&&(i=-2)),o=e*n.options.slidesToShow*i),n.slideCount%n.options.slidesToScroll!=0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(o=t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(t-n.slideCount))*e*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*e*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,o=(t+n.options.slidesToShow-n.slideCount)*e),n.slideCount<=n.options.slidesToShow&&(o=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*e*-1+o,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},s.prototype.getOption=s.prototype.slickGetOption=function(t){return this.options[t]},s.prototype.getNavigableIndexes=function(){for(var t=this,e=0,i=0,n=[],o=!1===t.options.infinite?t.slideCount:(e=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,2*t.slideCount);e<o;)n.push(e),e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n},s.prototype.getSlick=function(){return this},s.prototype.getSlideCount=function(){var o,s=this,t=!0===s.options.centerMode?Math.floor(s.$list.width()/2):0,r=-1*s.swipeLeft+t;return!0===s.options.swipeToSlide?(s.$slideTrack.find(".slick-slide").each(function(t,e){var i=u(e).outerWidth(),n=e.offsetLeft;if(!0!==s.options.centerMode&&(n+=i/2),r<n+i)return o=e,!1}),Math.abs(u(o).attr("data-slick-index")-s.currentSlide)||1):s.options.slidesToScroll},s.prototype.goTo=s.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},s.prototype.init=function(t){var e=this;u(e.$slider).hasClass("slick-initialized")||(u(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},s.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),o=i.getNavigableIndexes().filter(function(t){return 0<=t&&t<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(t){var e=o.indexOf(t);u(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+t,tabindex:-1}),-1!==e&&(e="slick-slide-control"+i.instanceUid+e,u("#"+e).length&&u(this).attr({"aria-describedby":e}))}),i.$dots.attr("role","tablist").find("li").each(function(t){var e=o[t];u(this).attr({role:"presentation"}),u(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+t,"aria-controls":"slick-slide"+i.instanceUid+e,"aria-label":t+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var t=i.currentSlide,e=t+i.options.slidesToShow;t<e;t++)i.options.focusOnChange?i.$slides.eq(t).attr({tabindex:"0"}):i.$slides.eq(t).removeAttr("tabindex");i.activateADA()},s.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},s.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(u("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&u("li",t.$dots).on("mouseenter.slick",u.proxy(t.interrupt,t,!0)).on("mouseleave.slick",u.proxy(t.interrupt,t,!1))},s.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",u.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",u.proxy(this.interrupt,this,!1)))},s.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),u(document).on(t.visibilityChange,u.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&u(t.$slideTrack).children().on("click.slick",t.selectHandler),u(window).on("orientationchange.slick.slick-"+t.instanceUid,u.proxy(t.orientationChange,t)),u(window).on("resize.slick.slick-"+t.instanceUid,u.proxy(t.resize,t)),u("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),u(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),u(t.setPosition)},s.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show()},s.prototype.keyHandler=function(t){t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}))},s.prototype.lazyLoad=function(){var t,e,i,s=this;function n(t){u("img[data-lazy]",t).each(function(){var t=u(this),e=u(this).attr("data-lazy"),i=u(this).attr("data-srcset"),n=u(this).attr("data-sizes")||s.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0},100,function(){i&&(t.attr("srcset",i),n&&t.attr("sizes",n)),t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),s.$slider.trigger("lazyLoaded",[s,t,e])})},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,t,e])},o.src=e})}if(!0===s.options.centerMode?i=!0===s.options.infinite?(e=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(e=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),s.options.slidesToShow/2+1+2+s.currentSlide):(e=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,i=Math.ceil(e+s.options.slidesToShow),!0===s.options.fade&&(0<e&&e--,i<=s.slideCount&&i++)),t=s.$slider.find(".slick-slide").slice(e,i),"anticipated"===s.options.lazyLoad)for(var o=e-1,r=i,a=s.$slider.find(".slick-slide"),l=0;l<s.options.slidesToScroll;l++)o<0&&(o=s.slideCount-1),t=(t=t.add(a.eq(o))).add(a.eq(r)),o--,r++;n(t),s.slideCount<=s.options.slidesToShow?n(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?n(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&n(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},s.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},s.prototype.next=s.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},s.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},s.prototype.pause=s.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},s.prototype.play=s.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},s.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&(e.initADA(),e.options.focusOnChange&&u(e.$slides.get(e.currentSlide)).attr("tabindex",0).focus()))},s.prototype.prev=s.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},s.prototype.preventDefault=function(t){t.preventDefault()},s.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,n,o,s=this,r=u("img[data-lazy]",s.$slider);r.length?(e=r.first(),i=e.attr("data-lazy"),n=e.attr("data-srcset"),o=e.attr("data-sizes")||s.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){n&&(e.attr("srcset",n),o&&e.attr("sizes",o)),e.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,e,i]),s.progressiveLazyLoad()},r.onerror=function(){t<3?setTimeout(function(){s.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,i]),s.progressiveLazyLoad())},r.src=i):s.$slider.trigger("allImagesLoaded",[s])},s.prototype.refresh=function(t){var e=this,i=e.slideCount-e.options.slidesToShow;!e.options.infinite&&e.currentSlide>i&&(e.currentSlide=i),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),i=e.currentSlide,e.destroy(!0),u.extend(e,e.initials,{currentSlide:i}),e.init(),t||e.changeSlide({data:{message:"index",index:i}},!1)},s.prototype.registerBreakpoints=function(){var t,e,i,n=this,o=n.options.responsive||null;if("array"===u.type(o)&&o.length){for(t in n.respondTo=n.options.respondTo||"window",o)if(i=n.breakpoints.length-1,o.hasOwnProperty(t)){for(e=o[t].breakpoint;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===e&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(e),n.breakpointSettings[e]=o[t].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},s.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&u(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},s.prototype.resize=function(){var t=this;u(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=u(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},s.prototype.removeSlide=s.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(t)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},s.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1===n.transformsEnabled||(!(o={})===n.cssTransitions?o[n.animType]="translate("+e+", "+i+")":o[n.animType]="translate3d("+e+", "+i+", 0px)"),n.$slideTrack.css(o)},s.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},s.prototype.setFade=function(){var i,n=this;n.$slides.each(function(t,e){i=n.slideWidth*t*-1,!0===n.options.rtl?u(e).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}):u(e).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},s.prototype.setHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.css("height",t))},s.prototype.setOption=s.prototype.slickSetOption=function(){var t,e,i,n,o,s=this,r=!1;if("object"===u.type(arguments[0])?(i=arguments[0],r=arguments[1],o="multiple"):"string"===u.type(arguments[0])&&(i=arguments[0],n=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"===u.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)s.options[i]=n;else if("multiple"===o)u.each(i,function(t,e){s.options[t]=e});else if("responsive"===o)for(e in n)if("array"!==u.type(s.options.responsive))s.options.responsive=[n[e]];else{for(t=s.options.responsive.length-1;0<=t;)s.options.responsive[t].breakpoint===n[e].breakpoint&&s.options.responsive.splice(t,1),t--;s.options.responsive.push(n[e])}r&&(s.unload(),s.reinit())},s.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},s.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},s.prototype.setSlideClasses=function(t){var e,i,n,o=this,s=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");o.$slides.eq(t).addClass("slick-current"),!0===o.options.centerMode?(i=o.options.slidesToShow%2==0?1:0,n=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(n<=t&&t<=o.slideCount-1-n?o.$slides.slice(t-n+i,t+n+1).addClass("slick-active").attr("aria-hidden","false"):(e=o.options.slidesToShow+t,s.slice(e-n+1+i,e+n+2).addClass("slick-active").attr("aria-hidden","false")),0===t?s.eq(o.options.slidesToShow+o.slideCount+1).addClass("slick-center"):t===o.slideCount-1&&s.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(t).addClass("slick-center")):0<=t&&t<=o.slideCount-o.options.slidesToShow?o.$slides.slice(t,t+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):s.length<=o.options.slidesToShow?s.addClass("slick-active").attr("aria-hidden","false"):(n=o.slideCount%o.options.slidesToShow,e=!0===o.options.infinite?o.options.slidesToShow+t:t,(o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-t<o.options.slidesToShow?s.slice(e-(o.options.slidesToShow-n),e+n):s.slice(e,e+o.options.slidesToShow)).addClass("slick-active").attr("aria-hidden","false")),"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},s.prototype.setupInfinite=function(){var t,e,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(e=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-i;--t)u(n.$slides[e=t-1]).clone(!0).attr("id","").attr("data-slick-index",e-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;t<i+n.slideCount;t+=1)u(n.$slides[e=t]).clone(!0).attr("id","").attr("data-slick-index",e+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){u(this).attr("id","")})}},s.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},s.prototype.selectHandler=function(t){t=u(t.target).is(".slick-slide")?u(t.target):u(t.target).parents(".slick-slide"),t=(t=parseInt(t.attr("data-slick-index")))||0;this.slideCount<=this.options.slidesToShow?this.slideHandler(t,!1,!0):this.slideHandler(t)},s.prototype.slideHandler=function(t,e,i){var n,o,s,r,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===t))if(!1===e&&a.asNavFor(t),s=a.getLeft(n=t),e=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?e:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(t<0||t>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(n=a.currentSlide,!0!==i&&a.slideCount>a.options.slidesToShow?a.animateSlide(e,function(){a.postSlide(n)}):a.postSlide(n));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(t<0||t>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(n=a.currentSlide,!0!==i&&a.slideCount>a.options.slidesToShow?a.animateSlide(e,function(){a.postSlide(n)}):a.postSlide(n));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),o=n<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+n:n>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:n-a.slideCount:n,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,o]),e=a.currentSlide,a.currentSlide=o,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(r=(r=a.getNavTarget()).slick("getSlick")).slideCount<=r.options.slidesToShow&&r.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==i?(a.fadeSlideOut(e),a.fadeSlide(o,function(){a.postSlide(o)})):a.postSlide(o),void a.animateHeight();!0!==i&&a.slideCount>a.options.slidesToShow?a.animateSlide(s,function(){a.postSlide(o)}):a.postSlide(o)}},s.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},s.prototype.swipeDirection=function(){var t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,t=Math.atan2(e,t),t=Math.round(180*t/Math.PI);return(t=t<0?360-Math.abs(t):t)<=45&&0<=t||t<=360&&315<=t?!1===this.options.rtl?"left":"right":135<=t&&t<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},s.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1;if(n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},s.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},s.prototype.swipeMove=function(t){var e,i,n=this,o=void 0!==t.originalEvent?t.originalEvent.touches:null;return!(!n.dragging||n.scrolling||o&&1!==o.length)&&(e=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==o?o[0].pageX:t.clientX,n.touchObject.curY=void 0!==o?o[0].pageY:t.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),i=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2))),!n.options.verticalSwiping&&!n.swiping&&4<i?!(n.scrolling=!0):(!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=i),o=n.swipeDirection(),void 0!==t.originalEvent&&4<n.touchObject.swipeLength&&(n.swiping=!0,t.preventDefault()),i=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(i=n.touchObject.curY>n.touchObject.startY?1:-1),t=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===o||n.currentSlide>=n.getDotCount()&&"left"===o)&&(t=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=e+t*i:n.swipeLeft=e+t*(n.$list.height()/n.listWidth)*i,!0===n.options.verticalSwiping&&(n.swipeLeft=e+t*i),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))))},s.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(i.touchObject={});void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},s.prototype.unfilterSlides=s.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},s.prototype.unload=function(){var t=this;u(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},s.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},s.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},s.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").end(),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active"))},s.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},u.fn.slick=function(){for(var t,e=arguments[0],i=Array.prototype.slice.call(arguments,1),n=this.length,o=0;o<n;o++)if("object"==typeof e||void 0===e?this[o].slick=new s(this[o],e):t=this[o].slick[e].apply(this[o].slick,i),void 0!==t)return t;return this}}),function(o){"use strict";function s(t,e){this.el=o(t),this.options=o.extend({},o.fn.typed.defaults,e),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),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.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()}s.prototype={constructor:s,init:function(){var e=this;e.timeout=setTimeout(function(){for(var t=0;t<e.strings.length;++t)e.sequence[t]=t;e.shuffle&&(e.sequence=e.shuffleArray(e.sequence)),e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},e.startDelay)},build:function(){var t,i=this;!0===this.showCursor&&(this.cursor=o('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.stringsElement&&(this.strings=[],this.stringsElement.hide(),console.log(this.stringsElement.children()),t=this.stringsElement.children(),o.each(t,function(t,e){i.strings.push(o(e).html())})),this.init()},typewrite:function(o,s){var t,r;!0!==this.stop&&(t=Math.round(70*Math.random())+this.typeSpeed,(r=this).timeout=setTimeout(function(){var t=0,e=o.substr(s);if("^"===e.charAt(0)&&(i=1,/^\^\d+/.test(e)&&(i+=(e=/\d+/.exec(e)[0]).length,t=parseInt(e)),o=o.substring(0,s)+o.substring(s+i)),"html"===r.contentType){var i=o.substr(s).charAt(0);if("<"===i||"&"===i){for(var n="<"===i?">":";";o.substr(s+1).charAt(0)!==n&&(o.substr(s).charAt(0),!(++s+1>o.length)););s++,0}}r.timeout=setTimeout(function(){var t;s===o.length?(r.options.onStringTyped(r.arrayPos),r.arrayPos===r.strings.length-1&&(r.options.callback(),r.curLoop++,!1===r.loop||r.curLoop===r.loopCount)||(r.timeout=setTimeout(function(){r.backspace(o,s)},r.backDelay))):(0===s&&r.options.preStringTyped(r.arrayPos),t=o.substr(0,s+1),r.attr?r.el.attr(r.attr,t):r.isInput?r.el.val(t):"html"===r.contentType?r.el.html(t):r.el.text(t),s++,r.typewrite(o,s))},t)},t))},backspace:function(e,i){var t,n;!0!==this.stop&&(t=Math.round(70*Math.random())+this.backSpeed,(n=this).timeout=setTimeout(function(){if("html"===n.contentType&&">"===e.substr(i).charAt(0)){for(;"<"!==e.substr(i-1).charAt(0)&&(e.substr(i).charAt(0),!(--i<0)););i--,0}var t=e.substr(0,i);n.attr?n.el.attr(n.attr,t):n.isInput?n.el.val(t):"html"===n.contentType?n.el.html(t):n.el.text(t),i>n.stopNum?(i--,n.backspace(e,i)):i<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.shuffle&&(n.sequence=n.shuffleArray(n.sequence)),n.init()):n.typewrite(n.strings[n.sequence[n.arrayPos]],i))},t))},shuffleArray:function(t){var e,i,n=t.length;if(n)for(;--n;)e=t[i=Math.floor(Math.random()*(n+1))],t[i]=t[n],t[n]=e;return t},reset:function(){clearInterval(this.timeout),this.el.attr("id"),this.el.empty(),void 0!==this.cursor&&this.cursor.remove(),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},o.fn.typed=function(n){return this.each(function(){var t=o(this),e=t.data("typed"),i="object"==typeof n&&n;e&&e.reset(),t.data("typed",e=new s(this,i)),"string"==typeof n&&e[n]()})},o.fn.typed.defaults={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,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery);
!function(n,t){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(n="undefined"!=typeof globalThis?globalThis:n||self,r=n._,(e=n._=t()).noConflict=function(){return n._=r,e})}(this,function(){var n="1.13.8",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,V=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=V.toString,q=V.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=r&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,i){return i=null==i?u.length-1:+i,function(){for(var n=Math.max(arguments.length-i,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+i];switch(i){case 0:return u.call(this,t);case 1:return u.call(this,arguments[0],t);case 2:return u.call(this,arguments[0],arguments[1],t)}for(var e=Array(i+1),r=0;r<i;r++)e[r]=arguments[r];return e[i]=t,u.apply(this,e)}}function i(n){var t=typeof n;return"function"==t||"object"==t&&!!n}function H(n){return void 0===n}function Q(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)}function o(n){var t="[object "+n+"]";return function(n){return s.call(n)===t}}var X=o("String"),Y=o("Number"),Z=o("Date"),nn=o("RegExp"),tn=o("Error"),rn=o("Symbol"),en=o("ArrayBuffer"),a=o("Function"),t=t.document&&t.document.childNodes,p=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof t?function(n){return"function"==typeof n||!1}:a,t=o("Object"),un=u&&(!/\[native code\]/.test(String(DataView))||t(new DataView(new ArrayBuffer(8)))),a="undefined"!=typeof Map&&t(new Map),u=o("DataView");var h=un?function(n){return null!=n&&p(n.getInt8)&&en(n.buffer)}:u,c=U||o("Array");function v(n,t){return null!=n&&q.call(n,t)}var on=o("Arguments"),an=(!function(){on(arguments)||(on=function(n){return v(n,"callee")})}(),on);function fn(n){return Y(n)&&$(n)}function cn(n){return function(){return n}}function ln(t){return function(n){n=t(n);return"number"==typeof n&&0<=n&&n<=G}}function sn(t){return function(n){return null==n?void 0:n[t]}}var y=sn("byteLength"),pn=ln(y),hn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var vn=r?function(n){return L?L(n)&&!h(n):pn(n)&&hn.test(s.call(n))}:cn(!1),d=sn("length");function yn(n,t){t=function(t){for(var r={},n=t.length,e=0;e<n;++e)r[t[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(n){return r[n]=!0,t.push(n)}}}(t);var r=J.length,e=n.constructor,u=p(e)&&e.prototype||V,i="constructor";for(v(n,i)&&!t.contains(i)&&t.push(i);r--;)(i=J[r])in n&&n[i]!==u[i]&&!t.contains(i)&&t.push(i)}function g(n){if(!i(n))return[];if(W)return W(n);var t,r=[];for(t in n)v(n,t)&&r.push(t);return K&&yn(n,r),r}function dn(n,t){var r=g(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0}function b(n){return n instanceof b?n:this instanceof b?void(this._wrapped=n):new b(n)}function gn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,y(n))}b.VERSION=n,b.prototype.valueOf=b.prototype.toJSON=b.prototype.value=function(){return this._wrapped},b.prototype.toString=function(){return String(this._wrapped)};var bn="[object DataView]";function m(n){if(!i(n))return[];var t,r=[];for(t in n)r.push(t);return K&&yn(n,r),r}function mn(e){var u=d(e);return function(n){if(null==n)return!1;var t=m(n);if(d(t))return!1;for(var r=0;r<u;r++)if(!p(n[e[r]]))return!1;return e!==wn||!p(n[jn])}}var jn="forEach",t=["clear","delete"],u=["get","has","set"],U=t.concat(jn,u),wn=t.concat(u),r=["add"].concat(t,jn,"has"),u=a?mn(U):o("Map"),t=a?mn(wn):o("WeakMap"),U=a?mn(r):o("Set"),a=o("WeakSet");function j(n){for(var t=g(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function _n(n){for(var t={},r=g(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function An(n){var t,r=[];for(t in n)p(n[t])&&r.push(t);return r.sort()}function xn(f,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),!(t<2||null==n))for(var r=1;r<t;r++)for(var e=arguments[r],u=f(e),i=u.length,o=0;o<i;o++){var a=u[o];c&&void 0!==n[a]||(n[a]=e[a])}return n}}var Sn=xn(m),w=xn(g),On=xn(m,!0);function Mn(n){var t;return i(n)?z?z(n):((t=function(){}).prototype=n,n=new t,t.prototype=null,n):{}}function En(n){return c(n)?n:[n]}function _(n){return b.toPath(n)}function Bn(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function Nn(n,t,r){n=Bn(n,_(t));return H(n)?r:n}function kn(n){return n}function A(t){return t=w({},t),function(n){return dn(n,t)}}function In(t){return t=_(t),function(n){return Bn(n,t)}}function x(u,i,n){if(void 0===i)return u;switch(null==n?3:n){case 1:return function(n){return u.call(i,n)};case 3:return function(n,t,r){return u.call(i,n,t,r)};case 4:return function(n,t,r,e){return u.call(i,n,t,r,e)}}return function(){return u.apply(i,arguments)}}function Tn(n,t,r){return null==n?kn:p(n)?x(n,t,r):(i(n)&&!c(n)?A:In)(n)}function Dn(n,t){return Tn(n,t,1/0)}function S(n,t,r){return b.iteratee!==Dn?b.iteratee(n,t):Tn(n,t,r)}function Rn(){}function Vn(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}b.toPath=En,b.iteratee=Dn;var O=Date.now||function(){return(new Date).getTime()};function Fn(t){function r(n){return t[n]}var n="(?:"+g(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}}var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Pn=Fn(r),r=Fn(_n(r)),qn=b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Un=/(.)^/,Wn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},zn=/\\|'|\r|\n|\u2028|\u2029/g;function Ln(n){return"\\"+Wn[n]}var $n=/^\s*(\w|\$)+\s*$/;var Cn=0;function Kn(n,t,r,e,u){return e instanceof t?(e=Mn(n.prototype),i(t=n.apply(e,u))?t:e):n.apply(r,u)}var M=l(function(u,i){function o(){for(var n=0,t=i.length,r=Array(t),e=0;e<t;e++)r[e]=i[e]===a?arguments[n++]:i[e];for(;n<arguments.length;)r.push(arguments[n++]);return Kn(u,o,this,this,r)}var a=M.placeholder;return o}),Jn=(M.placeholder=b,l(function(t,r,e){var u;if(p(t))return u=l(function(n){return Kn(t,u,r,this,e.concat(n))});throw new TypeError("Bind must be called on a function")})),E=ln(d);function B(n,t,r){t||0===t||(t=1/0);for(var e=[],u=0,i=0,o=d(n)||0,a=[];;){if(o<=i){if(a.length){var f=a.pop(),i=f.i,o=d(n=f.v);continue}break}f=n[i++];t<=a.length?e[u++]=f:E(f)&&(c(f)||an(f))?(a.push({i:i,v:n}),i=0,o=d(n=f)):r||(e[u++]=f)}return e}var Gn=l(function(n,t){var r=(t=B(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=Jn(n[e],n)}return n});var Hn=l(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),Qn=M(Hn,b,1);function Xn(n){return function(){return!n.apply(this,arguments)}}function Yn(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var Zn=M(Yn,2);function nt(n,t,r){t=S(t,r);for(var e,u=g(n),i=0,o=u.length;i<o;i++)if(t(n[e=u[i]],e,n))return e}function tt(i){return function(n,t,r){t=S(t,r);for(var e=d(n),u=0<i?0:e-1;0<=u&&u<e;u+=i)if(t(n[u],u,n))return u;return-1}}var rt=tt(1),et=tt(-1);function ut(n,t,r,e){for(var u=(r=S(r,e,1))(t),i=0,o=d(n);i<o;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i}function it(i,o,a){return function(n,t,r){var e=0,u=d(n);if("number"==typeof r)0<i?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=o(f.call(n,e,u),fn))?r+e:-1;for(r=0<i?e:u-1;0<=r&&r<u;r+=i)if(n[r]===t)return r;return-1}}var ot=it(1,rt,ut),at=it(-1,et);function ft(n,t,r){t=(E(n)?rt:nt)(n,t,r);if(void 0!==t&&-1!==t)return n[t]}function N(n,t,r){if(t=x(t,r),E(n))for(u=0,i=n.length;u<i;u++)t(n[u],u,n);else for(var e=g(n),u=0,i=e.length;u<i;u++)t(n[e[u]],e[u],n);return n}function k(n,t,r){t=S(t,r);for(var e=!E(n)&&g(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i}function ct(f){return function(n,t,r,e){var u=3<=arguments.length;return function(n,t,r,e){var u=!E(n)&&g(n),i=(u||n).length,o=0<f?0:i-1;for(e||(r=n[u?u[o]:o],o+=f);0<=o&&o<i;o+=f){var a=u?u[o]:o;r=t(r,n[a],a,n)}return r}(n,x(t,e,4),r,u)}}var lt=ct(1),st=ct(-1);function I(n,e,t){var u=[];return e=S(e,t),N(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function pt(n,t,r){t=S(t,r);for(var e=!E(n)&&g(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0}function ht(n,t,r){t=S(t,r);for(var e=!E(n)&&g(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1}function T(n,t,r,e){return E(n)||(n=j(n)),0<=ot(n,t,r="number"==typeof r&&!e?r:0)}var vt=l(function(n,r,e){var u,i;return p(r)?i=r:(r=_(r),u=r.slice(0,-1),r=r[r.length-1]),k(n,function(n){var t=i;if(!t){if(null==(n=u&&u.length?Bn(n,u):n))return;t=n[r]}return null==t?t:t.apply(n,e)})});function yt(n,t){return k(n,In(t))}function dt(n,e,t){var r,u,i=-1/0,o=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&i<r&&(i=r);else e=S(e,t),N(n,function(n,t,r){u=e(n,t,r),(o<u||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i}var gt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function bt(n){return n?c(n)?f.call(n):X(n)?n.match(gt):E(n)?k(n,kn):j(n):[]}function mt(n,t,r){if(null==t||r)return(n=E(n)?n:j(n))[Vn(n.length-1)];for(var e=bt(n),r=d(e),u=(t=Math.max(Math.min(t,r),0),r-1),i=0;i<t;i++){var o=Vn(i,u),a=e[i];e[i]=e[o],e[o]=a}return e.slice(0,t)}function D(i,t){return function(r,e,n){var u=t?[[],[]]:{};return e=S(e,n),N(r,function(n,t){t=e(n,t,r);i(u,n,t)}),u}}var jt=D(function(n,t,r){v(n,r)?n[r].push(t):n[r]=[t]}),wt=D(function(n,t,r){n[r]=t}),_t=D(function(n,t,r){v(n,r)?n[r]++:n[r]=1}),At=D(function(n,t,r){n[r?0:1].push(t)},!0);function xt(n,t,r){return t in r}var St=l(function(n,t){var r={},e=t[0];if(null!=n){p(e)?(1<t.length&&(e=x(e,t[1])),t=m(n)):(e=xt,t=B(t,!1,!1),n=Object(n));for(var u=0,i=t.length;u<i;u++){var o=t[u],a=n[o];e(a,o,n)&&(r[o]=a)}}return r}),Ot=l(function(n,r){var t,e=r[0];return p(e)?(e=Xn(e),1<r.length&&(t=r[1])):(r=k(B(r,!1,!1),String),e=function(n,t){return!T(r,t)}),St(n,e,t)});function Mt(n,t,r){return f.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function Et(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:Mt(n,n.length-t)}function R(n,t,r){return f.call(n,null==t||r?1:t)}var Bt=l(function(n,t){return t=B(t,!0,!0),I(n,function(n){return!T(t,n)})}),Nt=l(function(n,t){return Bt(n,t)});function kt(n,t,r,e){Q(t)||(e=r,r=t,t=!1),null!=r&&(r=S(r,e));for(var u=[],i=[],o=0,a=d(n);o<a;o++){var f=n[o],c=r?r(f,o,n):f;t&&!r?(o&&i===c||u.push(f),i=c):r?T(i,c)||(i.push(c),u.push(f)):T(u,f)||u.push(f)}return u}var It=l(function(n){return kt(B(n,!0,!0))});function Tt(n){for(var t=n&&dt(n,d).length||0,r=Array(t),e=0;e<t;e++)r[e]=yt(n,e);return r}var Dt=l(Tt);function Rt(n,t){return n._chain?b(t).chain():t}function Vt(r){return N(An(r),function(n){var t=b[n]=r[n];b.prototype[n]=function(){var n=[this._wrapped];return P.apply(n,arguments),Rt(this,t.apply(b,n))}}),b}N(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];b.prototype[t]=function(){var n=this._wrapped;return null!=n&&(r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Rt(this,n)}}),N(["concat","join","slice"],function(n){var t=e[n];b.prototype[n]=function(){var n=this._wrapped;return Rt(this,n=null!=n?t.apply(n,arguments):n)}});n=Vt({__proto__:null,VERSION:n,restArguments:l,isObject:i,isNull:function(n){return null===n},isUndefined:H,isBoolean:Q,isElement:function(n){return!(!n||1!==n.nodeType)},isString:X,isNumber:Y,isDate:Z,isRegExp:nn,isError:tn,isSymbol:rn,isArrayBuffer:en,isDataView:h,isArray:c,isFunction:p,isArguments:an,isFinite:function(n){return!rn(n)&&C(n)&&!isNaN(parseFloat(n))},isNaN:fn,isTypedArray:vn,isEmpty:function(n){var t;return null==n||("number"==typeof(t=d(n))&&(c(n)||X(n)||an(n))?0===t:0===d(g(n)))},isMatch:dn,isEqual:function(n,t){for(var r=[{a:n,b:t}],e=[],u=[];r.length;){var i=r.pop();if(!0===i)e.pop(),u.pop();else{if((n=i.a)===(t=i.b)){if(0!==n||1/n==1/t)continue;return!1}if(null==n||null==t)return!1;if(n!=n){if(t!=t)continue;return!1}i=typeof n;if("function"!=i&&"object"!=i&&"object"!=typeof t)return!1;n instanceof b&&(n=n._wrapped),t instanceof b&&(t=t._wrapped);i=s.call(n);if(i!==s.call(t))return!1;if(un&&"[object Object]"==i&&h(n)){if(!h(t))return!1;i=bn}switch(i){case"[object RegExp]":case"[object String]":if(""+n==""+t)continue;return!1;case"[object Number]":r.push({a:+n,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+n==+t)continue;return!1;case"[object Symbol]":if(F.valueOf.call(n)===F.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case bn:r.push({a:gn(n),b:gn(t)});continue}i="[object Array]"===i;if(!i&&vn(n)){if(y(n)!==y(t))return!1;if(n.buffer===t.buffer&&n.byteOffset===t.byteOffset)continue;i=!0}if(!i){if("object"!=typeof n||"object"!=typeof t)return!1;var o=n.constructor,a=t.constructor;if(o!==a&&!(p(o)&&o instanceof o&&p(a)&&a instanceof a)&&"constructor"in n&&"constructor"in t)return!1}for(var f=e.length;f--;)if(e[f]===n){if(u[f]===t)break;return!1}if(!(0<=f))if(e.push(n),u.push(t),r.push(!0),i){if((f=n.length)!==t.length)return!1;for(;f--;)r.push({a:n[f],b:t[f]})}else{var c,l=g(n),f=l.length;if(g(t).length!==f)return!1;for(;f--;){if(!v(t,c=l[f]))return!1;r.push({a:n[c],b:t[c]})}}}}return!0},isMap:u,isWeakMap:t,isSet:U,isWeakSet:a,keys:g,allKeys:m,values:j,pairs:function(n){for(var t=g(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},invert:_n,functions:An,methods:An,extend:Sn,extendOwn:w,assign:w,defaults:On,create:function(n,t){return n=Mn(n),t&&w(n,t),n},clone:function(n){return i(n)?c(n)?n.slice():Sn({},n):n},tap:function(n,t){return t(n),n},get:Nn,has:function(n,t){for(var r=(t=_(t)).length,e=0;e<r;e++){var u=t[e];if(!v(n,u))return!1;n=n[u]}return!!r},mapObject:function(n,t,r){t=S(t,r);for(var e=g(n),u=e.length,i={},o=0;o<u;o++){var a=e[o];i[a]=t(n[a],a,n)}return i},identity:kn,constant:cn,noop:Rn,toPath:En,property:In,propertyOf:function(t){return null==t?Rn:function(n){return Nn(t,n)}},matcher:A,matches:A,times:function(n,t,r){var e=Array(Math.max(0,n));t=x(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},random:Vn,now:O,escape:Pn,unescape:r,templateSettings:qn,template:function(i,n,t){n=On({},n=!n&&t?t:n,b.templateSettings);var r,t=RegExp([(n.escape||Un).source,(n.interpolate||Un).source,(n.evaluate||Un).source].join("|")+"|$","g"),o=0,a="__p+='";if(i.replace(t,function(n,t,r,e,u){return a+=i.slice(o,u).replace(zn,Ln),o=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",t=n.variable){if(!$n.test(t))throw new Error("variable is not a bare identifier: "+t)}else a="with(obj||{}){\n"+a+"}\n",t="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t,"_",a)}catch(n){throw n.source=a,n}function e(n){return r.call(this,n,b)}return e.source="function("+t+"){\n"+a+"}",e},result:function(n,t,r){var e=(t=_(t)).length;if(!e)return p(r)?r.call(n):r;for(var u=0;u<e;u++){var i=null==n?void 0:n[t[u]];void 0===i&&(i=r,u=e),n=p(i)?i.call(n):i}return n},uniqueId:function(n){var t=++Cn+"";return n?n+t:t},chain:function(n){return(n=b(n))._chain=!0,n},iteratee:Dn,partial:M,bind:Jn,bindAll:Gn,memoize:function(e,u){function i(n){var t=i.cache,r=""+(u?u.apply(this,arguments):n);return v(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return i.cache={},i},delay:Hn,defer:Qn,throttle:function(r,e,u){function i(){l=!1===u.leading?0:O(),o=null,c=r.apply(a,f),o||(a=f=null)}function n(){var n=O(),t=(l||!1!==u.leading||(l=n),e-(n-l));return a=this,f=arguments,t<=0||e<t?(o&&(clearTimeout(o),o=null),l=n,c=r.apply(a,f),o||(a=f=null)):o||!1===u.trailing||(o=setTimeout(i,t)),c}var o,a,f,c,l=0;return u=u||{},n.cancel=function(){clearTimeout(o),l=0,o=a=f=null},n},debounce:function(t,r,e){function u(){var n=O()-o;n<r?i=setTimeout(u,r-n):(i=null,e||(f=t.apply(c,a)),i||(a=c=null))}var i,o,a,f,c,n=l(function(n){return c=this,a=n,o=O(),i||(i=setTimeout(u,r),e&&(f=t.apply(c,a))),f});return n.cancel=function(){clearTimeout(i),i=a=c=null},n},wrap:function(n,t){return M(t,n)},negate:Xn,compose:function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},after:function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},before:Yn,once:Zn,findKey:nt,findIndex:rt,findLastIndex:et,sortedIndex:ut,indexOf:ot,lastIndexOf:at,find:ft,detect:ft,findWhere:function(n,t){return ft(n,A(t))},each:N,forEach:N,map:k,collect:k,reduce:lt,foldl:lt,inject:lt,reduceRight:st,foldr:st,filter:I,select:I,reject:function(n,t,r){return I(n,Xn(S(t)),r)},every:pt,all:pt,some:ht,any:ht,contains:T,includes:T,include:T,invoke:vt,pluck:yt,where:function(n,t){return I(n,A(t))},max:dt,min:function(n,e,t){var r,u,i=1/0,o=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&r<i&&(i=r);else e=S(e,t),N(n,function(n,t,r){((u=e(n,t,r))<o||u===1/0&&i===1/0)&&(i=n,o=u)});return i},shuffle:function(n){return mt(n,1/0)},sample:mt,sortBy:function(n,e,t){var u=0;return e=S(e,t),yt(k(n,function(n,t,r){return{value:n,index:u++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},groupBy:jt,indexBy:wt,countBy:_t,partition:At,toArray:bt,size:function(n){return null==n?0:(E(n)?n:g(n)).length},pick:St,omit:Ot,first:Et,head:Et,take:Et,initial:Mt,last:function(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:R(n,Math.max(0,n.length-t))},rest:R,tail:R,drop:R,compact:function(n){return I(n,Boolean)},flatten:function(n,t){return B(n,t,!1)},without:Nt,uniq:kt,unique:kt,union:It,intersection:function(n){for(var t=[],r=arguments.length,e=0,u=d(n);e<u;e++){var i=n[e];if(!T(t,i)){for(var o=1;o<r&&T(arguments[o],i);o++);o===r&&t.push(i)}}return t},difference:Bt,unzip:Tt,transpose:Tt,zip:Dt,object:function(n,t){for(var r={},e=0,u=d(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},range:function(n,t,r){null==t&&(t=n||0,n=0),r=r||(t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;i<e;i++,n+=r)u[i]=n;return u},chunk:function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(f.call(n,e,e+=t));return r},mixin:Vt,default:b});return n._=n});
window.onpageshow=function(t){t.persisted&&window.location.reload()},function(b,v){"use strict";var u=b(document),y=b(v),f=b("body"),a=b("#wpadminbar"),c=b(".click-capture"),i=b(".header"),d=b("#wrapper"),h=b("#mobile-menu"),t=(b(".mobile-toggle-holder"),new BezierEasing(.35,.3,.2,.85)),n=new MobileDetect(v.navigator.userAgent),x=x||{};gsap.defaults({ease:t}),gsap.config({nullTargetWarn:!1}),v.lazySizesConfig=v.lazySizesConfig||{},v.lazySizesConfig.expand=1e3,v.lazySizesConfig.loadMode=1,v.lazySizesConfig.loadHidden=!1,x={activeSlider:!1,menuscroll:b("#menu-scroll"),h_offset:0,init:function(){var e,t,a=this;function i(){for(e in a){var t;!a.hasOwnProperty(e)||void 0!==(t=a[e]).selector&&void 0!==t.init&&0<b(t.selector).length&&t.init()}}"on"!==themeajax.settings.page_transition||f.hasClass("compose-mode")||f.hasClass("elementor-editor-active")?i():(t=-1<b.inArray(themeajax.settings.page_transition_style,["thb-swipe-left"]),b(".thb-page-transition-on").animsition({inClass:themeajax.settings.page_transition_style+"-in",outClass:themeajax.settings.page_transition_style+"-out",inDuration:parseInt(themeajax.settings.page_transition_in_speed,10),outDuration:parseInt(themeajax.settings.page_transition_out_speed,10),touchSupport:!1,overlay:t,overlayClass:"thb-page-transition-overlay",linkElement:'.animsition-link,a[href]:not([target=" _blank"]):not([target="_blank"]):not([href^="'+themeajax.settings.current_url+'#"]):not([href^="#"]):not([href*="javascript"]):not([href*=".rar"]):not([href*=".zip"]):not([href*=".jpg"]):not([href*=".jpeg"]):not([href*=".gif"]):not([href*=".png"]):not([href*=".mov"]):not([href*=".swf"]):not([href*=".mp4"]):not([href*=".flv"]):not([href*=".avi"]):not([href*=".mp3"]):not([href^="tel:"]):not([href^="mailto:"]):not([class="no-animation"]):not(.ajax_add_to_cart):not([class*="ftg-lightbox"]):not(.wpcf7-submit):not(.comment-reply-link):not(.mfp-image):not(.mfp-video):not(.add_to_wishlist):not(.remove_from_cart_button):not([id*="cancel-comment-reply-link"]):not(.do-not-animate):not(.mfp-inline):not(.remove):not([href^="'+location.protocol+"//"+location.host+location.pathname+'#"])'}).on("animsition-instart",function(){_.delay(function(){i()},parseInt(themeajax.settings.page_transition_in_speed,10)/.8)}))},beforeHeader:{selector:".thb_before_header",init:function(){var t=b(this.selector),e=b(".thb_before_header_inner",t),t=t.data("parallax");n.mobile()||"off"===t||y.on("scroll",function(){y.scrollTop()>y.outerHeight()/2||gsap.set(e,{y:y.scrollTop()/2})})}},newsletterPopup:{selector:".newsletter-popup",init:function(){b(this.selector);"1"!==Cookies.get("newsletter_popup")&&"off"!==themeajax.settings.newsletter&&_.delay(function(){b.magnificPopup.open({type:"inline",items:{src:"#newsletter-popup",type:"inline"},mainClass:"mfp newsletter-popup mfp-zoom-in",tLoading:themeajax.l10n.lightbox_loading,removalDelay:400,fixedBgPos:!0,fixedContentPos:!0,closeBtnInside:!0,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{close:function(){Cookies.set("newsletter_popup","1",{expires:parseInt(themeajax.settings.newsletter_length,10)})}}})},1e3*parseInt(themeajax.settings.newsletter_delay,10))}},cookieBar:{selector:".thb-cookie-bar",init:function(){var t=b(this.selector),e=b(".button-accept",t),a=b(".thb-mobile-close",t);"hide"!==Cookies.get("thb-theissue-cookiebar")&&gsap.to(t,{duration:.5,opacity:"1",y:"0%"}),e.on("click",function(){return Cookies.set("thb-theissue-cookiebar","hide",{expires:30}),gsap.to(t,{duration:.5,opacity:"0",y:"100%"}),!1}),a.on("click",function(){return gsap.to(t,{duration:.5,opacity:"0",y:"100%"}),!1})}},header:{selector:".header",light:!1,init:function(){var t=this,e=150;b(".thb_before_header").length&&y.on("resize.before-header",function(){e=150+b(".thb_before_header").outerHeight()}).trigger("resize.before-header"),"on"===themeajax.settings.fixed_header_scroll&&b(".header.fixed:not(.header-mobile)").headroom({offset:e}),y.on("resize.mobile-header",function(){(n.mobile()||y.width()<1024)&&(b(".mobile-header-holder").css({height:function(){return b(".header.header-mobile").outerHeight()+"px"}}),"on"!==themeajax.settings.fixed_header_scroll||b(".header.header-mobile").hasClass("headroom")||b(".header.header-mobile").headroom({offset:50}))}).trigger("resize.mobile-header"),y.on("scroll.mobile-header",function(){y.scrollTop()>e?b(".header.header-mobile").addClass("fixed"):b(".header.header-mobile").removeClass("fixed")}).trigger("scroll.mobile-header"),y.on("scroll.fixed-header",function(){t.scroll(e)}).trigger("scroll.fixed-header")},scroll:function(t){var e="fixed-enabled";t<y.scrollTop()?b(".header.fixed").addClass(e):b(".header.fixed").removeClass(e)}},fullMenu:{selector:".thb-full-menu",init:function(){var t=b(this.selector),e=(t.find("a"),t.find("li.menu-item-has-children")),a=t.find("li.menu-item-has-children.menu-item-mega-parent");e.each(function(){var t=b(this),e=t.find(">.sub-menu, .sub-menu.thb_mega_menu"),a=e.find(">li>a"),i=(t.find(".thb_mega_menu li"),gsap.timeline({paused:!0}));i.to(e,{duration:.5,autoAlpha:1,display:"block"},"start"),a.length&&i.to(a,{duration:.1,opacity:1,stagger:.03},"start"),t.hoverIntent(function(){t.addClass("sfHover"),i.timeScale(1).restart()},function(){t.removeClass("sfHover"),i.timeScale(1.5).reverse()})}),t.each(function(){var a=b(this),i=b(".header.thb-main-header").find(".thb-navbar");y.on("resize.resizeMegaMenu",_.debounce(function(){var t,e;e=i,(t=a).find(".thb_mega_menu_holder").length&&t.find(".thb_mega_menu_holder").css({width:function(){return parseInt(e.outerWidth(),10)},left:function(){return t.parents(".header").hasClass("style6")||t.parents(".header").hasClass("style9")?0:t.parents(".header").hasClass("style3")||t.parents(".header").hasClass("style10")||t.parents(".header").hasClass("main-header-style3")||t.parents(".header").hasClass("main-header-style10")?(t.find(".thb_mega_menu_holder").outerWidth()-e.find(".full-menu").outerWidth())/2*-1:-1*(t.parents(".header").find(".full-menu").offset().left-e.offset().left)}})},30)).trigger("resize.resizeMegaMenu")}),a.each(function(){var t=b(this),a=t.find(".thb_mega_menu>li"),i=t.find(".category-children>.tab-holder");a.first().addClass("active"),a.on("mouseenter",function(){var t=b(this),e=t.index(),e=i.filter(":nth-child("+(e+1)+")");a.removeClass("active"),t.addClass("active"),gsap.set(i,{display:"none"}),gsap.set(e,{display:"flex"}),e.find(".thb-carousel").length&&e.find(".thb-carousel").slick("setPosition")})})}},mobileMenu:{selector:"#mobile-menu",init:function(){var t=b(this.selector);("thb-submenu"===t.data("behaviour")?t.find("li.menu-item-has-children>a"):t.find("li.menu-item-has-children>a .thb-arrow")).on("click",function(t){var e=b(this),a=e.parents("a").length?e.parents("a"):e,e=a.next(".sub-menu");a.hasClass("active")?(a.removeClass("active"),e.slideUp("200")):(a.addClass("active"),e.slideDown("200")),t.stopPropagation(),t.preventDefault()})}},hashLinks:{selector:'a[href*="#"]',init:function(){b(this.selector).on("click",function(t){var e,a,i=b(this),o=i.attr("href");i.parents("ul.commentlist").length||i.parents(".woocommerce-tabs").length||i.hasClass("comment-reply-link")||"cancel-comment-reply-link"===i.attr("id")||i.hasClass("page-numbers")||(o&&(a=(e=-1!==o.indexOf("#")?o.substring(o.indexOf("#")+1):"")&&b("#"+e).length?b("#"+e).offset().top-(b("#wpadminbar").outerHeight()||0):0),b(".fixed-header-on").length&&"on"!==themeajax.settings.fixed_header_scroll&&a&&((o=b(".header>.row").outerHeight()+(parseInt(themeajax.settings.fixed_header_padding.top,10)||0)+(parseInt(themeajax.settings.fixed_header_padding.bottom,10)||0))&&(a-=o)),e&&a&&(a="footer"===e?"max":a,i.parents(".thb-mobile-menu").length&&x.mobile_toggle.mobileTl.reverse(),b("#"+e).hasClass("vc_tta-panel")||gsap.to(y,{duration:.5,scrollTo:{y:a,autoKill:!1}}),t.preventDefault()))})}},custom_scroll:{selector:".custom_scroll",init:function(){b(this.selector).each(function(){var t=b(this),e=new PerfectScrollbar(t[0],{suppressScrollX:!0});"menu-scroll"===t.attr("id")&&(x.menuscroll=e)})}},shop_toggle:{selector:"#thb-shop-filters",init:function(){var t=b(this.selector),e=b("#side-filters"),a=gsap.timeline({paused:!0,reversed:!0,onStart:function(){d.addClass("open-filters")},onReverseComplete:function(){d.removeClass("open-filters")}}),i=b(".widgets",e),o=b(".thb-mobile-close",e);a.to(e,{duration:.3,x:"0"},"start").to(o,{duration:.3,scale:1},"start+=0.2").from(i,{duration:.4,autoAlpha:0,stagger:.1},.1,"start+=0.2"),t.on("click",function(){return a.reversed()?a.timeScale(1).play():a.timeScale(1.2).reverse(),!1}),u.keyup(function(t){27===t.keyCode&&0<a.progress()&&a.reverse()}),c.add(o).on("click",function(){return 0<a.progress()&&a.reverse(),!1})}},mobile_toggle:{selector:".mobile-toggle-holder",init:function(){var t=b(this.selector),e=gsap.timeline({paused:!0,reversed:!0,onStart:function(){d.addClass("open-menu")},onComplete:function(){x.menuscroll.update()},onReverseComplete:function(){d.removeClass("open-menu"),gsap.set(h,{clearProps:"all"})}}),a=b(".thb-mobile-menu>li",h),i=b(".thb-secondary-menu>li",h),o=b(".menu-footer>*",h),n=b(".socials>a",h),s=b(".thb-mobile-close",h),r=themeajax.settings.mobile_menu_animation_speed,l="start+="+r/3*2;e.to(h,{duration:r=0===r?.005:r,x:"0"},"start").to(s,{duration:r,scale:1},l).from(a,{duration:r/3*4,autoAlpha:0,stagger:r/3},l).from(i.add(o).add(n),{duration:r,autoAlpha:0,stagger:r/3},l),t.on("click",function(){return e.reversed()?e.timeScale(1).play():e.timeScale(1.2).reverse(),!1}),u.keyup(function(t){27===t.keyCode&&0<e.progress()&&e.reverse()}),c.add(s).on("click",function(){return 0<e.progress()&&e.reverse(),!1})}},search:{selector:".thb-search-holder",init:function(){var t=b(this.selector),e=b(".thb-search-popup"),a=b(".thb-mobile-close",e),i=b(".thb-close-text",e),o=gsap.timeline({paused:!0});o.to(e,{duration:.5,autoAlpha:1},"start").to(a,{duration:.3,scale:1},"start+=0.2"),t.on("click",function(){return o.play(),!1}),i.add(a).on("click",function(){return 0<o.progress()&&o.reverse(),!1}),u.on("keyup",function(t){27===t.keyCode&&0<o.progress()&&o.reverse()})}},autoComplete:{selector:".thb-search-popup",init:function(){var a=b(this.selector),t=b(".search-field",a),e=a.data("security");"on"===themeajax.settings.general_search_ajax&&t.autocomplete({minChars:3,appendTo:b(".thb-autocomplete-wrapper",a),containerClass:"thb-results-container",triggerSelectOnValidInput:!1,serviceUrl:themeajax.url+"?action=thb_ajax_search",tabDisabled:!0,showNoSuggestionNotice:!1,params:{security:e},onSearchStart:function(){b(".thb-autocomplete-wrapper",a).addClass("thb-loading")},formatResult:function(t,e){return'<div class="small-12 columns"><a href="'+t.url+'"><figure class="post-gallery">'+t.thumbnail+'</figure><div class="post-title"><h6>'+t.value+"</h6></div></a></div>"},onSelect:function(t){-1!==t.id&&(v.location.href=t.url)},onSearchComplete:function(t,e){b(".thb-autocomplete-wrapper",a).removeClass("thb-loading"),e.length&&b(".thb-results-container").append(b('<div class="thb-search-btn"><a href="'+themeajax.settings.site_url+"?s="+t+'" class="btn style2 small">'+themeajax.l10n.results_all+"</a></div>"))}})}},pinIt:{selector:".thb-pinit-on",init:function(t){var e=this;b(e.selector).length&&(b("#wrapper").imagesLoaded(function(){e.check(b(".post-detail .post-content-container img:not(.attachment-woocommerce_thumbnail):not(.thb-pinned)"))}),b(".post-detail .post-content-container img:not(.attachment-woocommerce_thumbnail):not(.thb-pinned)").on("lazyloaded",function(){e.check(b(this))}))},check:function(t){t.each(function(){var e,t,a,i,o,n=b(this),s="thb-pinned";n.hasClass(s)||n.hasClass("attachment-woocommerce_thumbnail")||100<n.width()&&100<n.height()&&(e=n.parent(),void 0===(t=n.parents(".post[data-url]").data("url"))&&(t=n.parents(".post-gallery-content").data("url")),e=e.is("a")?(void 0!==(i=e.attr("href"))&&i.match(/\.(gif|jpeg|jpg|png)/)&&(a=i),e.closest("figure").length||e.wrap('<figure class="thb-pin-it-container"></figure>'),e.parent()):(e.is("figure")||e.closest("figure").length||n.wrap('<figure class="thb-pin-it-container"></figure>'),n.parent()),n.closest("figure").hasClass("thb-pin-it-container")||n.closest("figure").addClass("thb-pin-it-container"),a=a||(n.is("img")?void 0!==n.data("src")?n.data("src"):n.attr("src"):void 0!==e.find("img").data("src")?e.find("img").data("src"):e.find("img").attr("src")),o="",(i=(i=!(i=e).is("figure")?e.closest("figure"):i).find(".wp-caption-text").text()?i.find(".wp-caption-text").text():i.find("img").attr("alt"))&&(o="&amp;description="+encodeURIComponent(i)),["alignnone","aligncenter","alignleft","alignright"].forEach(function(t){e.find("img").hasClass(t)&&(e.find("img").removeClass(t),e.find("img").closest("figure").addClass(t),t=e.find("img").attr("width"),"NaN"!==parseInt(t)&&e.find("img").closest("figure").width(t))}),b('<a class="thb-pin-it" href="https://pinterest.com/pin/create/bookmarklet/?url='+encodeURIComponent(t)+"&amp;media="+encodeURIComponent(a)+o+'&is_video=false" target="_blank"><i class="thb-icon-pinterest"></i>'+themeajax.l10n.pinit+"</a>").appendTo(e).addClass("thb-pin-it-ready").on("click",function(){var t=screen.width/2-320,e=screen.height/2-220-100;return v.open(b(this).attr("href"),"mywin","left="+t+",top="+e+",width=640,height=440,toolbar=0"),!1}),n.addClass(s))})}},slick:{selector:".thb-carousel",init:function(t){(t||b(this.selector)).each(function(){var n=b(this),t=n.data("columns")?n.data("columns"):3,e=2<t.length?parseInt(t.substr(t.length-1)):t,a=n.find(".columns"),i=2<t.length?5===e?5:12/e:t,o=!!n.data("fade"),s=!0===n.data("navigation"),r=!0===n.data("autoplay"),l=!0===n.data("pagination"),c=!!n.data("center")&&(!!(a.length>i&&i%2)&&n.data("center")),d=!1!==n.data("infinite"),h=n.data("autoplay-speed")?n.data("autoplay-speed"):4e3,p=!!n.data("disablepadding")&&n.data("disablepadding"),u=!0===n.data("vertical"),e=n.data("asnavfor"),t=!0===n.data("adaptive"),a=f.hasClass("rtl");n.hasClass("slick-initialized")||n.hasClass("bottom-arrows")&&n.append('<div class="slick-bottom-arrows"><div class="slick-dots-wrapper"></div></div>'),(n.hasClass("overflow-visible-only")||n.hasClass("overflow-visible"))&&n.parents(".wpb_row:not(.vc_inner)").css("overflow","hidden");p={dots:l,arrows:s,infinite:d,speed:1e3,rows:0,fade:o,centerPadding:"10%",centerMode:c,slidesToShow:i,adaptiveHeight:t,slidesToScroll:1,rtl:a,slide:":not(.slick-dots-wrapper):not(.slick-bottom-arrows):not(.post-gallery):not(.btn)",cssEase:"cubic-bezier(0.35, 0.3, 0.2, 0.85)",autoplay:r,autoplaySpeed:h,touchThreshold:themeajax.settings.touch_threshold,pauseOnHover:!0,accessibility:!1,focusOnSelect:!0,customPaging:function(t,e){return n.hasClass("text-pagination")?e+1+' <span class="slick-of">'+themeajax.l10n.just_of+" "+t.$slides.length+"</span>":b('<button type="button">'+(e+1)+themeajax.svg.pagination+"</button>")},prevArrow:'<button type="button" class="slick-nav slick-prev">'+themeajax.svg.prev_arrow+"</button>",nextArrow:'<button type="button" class="slick-nav slick-next">'+themeajax.svg.next_arrow+"</button>",responsive:[{breakpoint:1441,settings:{slidesToShow:i<6?i:u?i-1:6,centerPadding:p?0:"40px"}},{breakpoint:1201,settings:{slidesToShow:i<4?i:u?i-1:4,centerPadding:p?0:"40px"}},{breakpoint:1025,settings:{slidesToShow:i<3?i:u?i-1:3,centerPadding:p?0:"40px"}},{breakpoint:641,settings:{slidesToShow:1}}]};n.hasClass("thb-post-carousel-style3")&&(p.variableWidth=!0,p.responsive=!1),n.hasClass("bottom-arrows")&&(p.appendArrows=n.find(".slick-bottom-arrows"),p.appendDots=n.find(".slick-bottom-arrows>.slick-dots-wrapper")),e&&b(e).is(":visible")&&(p.asNavFor=e),n.data("fade")&&(p.fade=!0),n.hasClass("thb-background-hover")&&(n.on("init",function(t,e){var a=n.parents(".thb-post-background").find(".post-background-gallery .wp-post-image");e.$slides.on("mouseenter",function(){var t=b(this).data("slick-index"),t=a.eq(t);gsap.to(a.not(t),{duration:.5,autoAlpha:0}),t&&gsap.to(t,{duration:.5,autoAlpha:.8})})}),n.on("beforeChange",function(t,e,a,i){var o=n.parents(".thb-post-background").find(".post-background-gallery .wp-post-image"),i=o.eq(i);gsap.to(o.not(i),{duration:.5,autoAlpha:0}),i&&gsap.to(i,{duration:.5,autoAlpha:.8})})),n.hasClass("product-images")&&"undefined"!=typeof wc_single_product_params&&v.wc_single_product_params.zoom_enabled&&b.fn.zoom&&n.on("afterChange",function(t,e,a){var i=e.$slides.eq(a),e=i.width(),a=!1;(a=i.find("img").data("large_image_width")>e?!0:a)&&(a=b.extend({touch:!1},v.wc_single_product_params.zoom_options),"ontouchstart"in v&&(a.on="click"),i.trigger("zoom.destroy"),i.zoom(a),i.trigger("mouseenter.zoom"))}),n.hasClass("product-thumbnails")&&(p.vertical=!0,p.responsive[2].settings.vertical=!1,p.responsive[2].settings.slidesToShow=4,p.responsive[3].settings.vertical=!1,p.responsive[3].settings.slidesToShow=4),n.hasClass("products")&&(p.responsive[3].settings.slidesToShow=2),c&&n.on("init",function(){n.addClass("centered")}),n.on("init breakpoint",function(t,e){n.hasClass("bottom-arrows")&&n.hasClass("has-carousel-button")&&n.find(".btn").appendTo(n.find(".slick-dots-wrapper")),lazySizes&&lazySizes.loader.checkElems(),y.trigger("scroll.thb-animation")}),n.on("breakpoint",function(t,e,a){e.$slides.data("thb-animated",!1),y.trigger("scroll.thb-animation")}),n.on("beforeChange",function(t,e,a,i){i=e.$slides.eq(i);i.find(".post-gallery.thb-parallax")&&f.hasClass("thb-parallax-on")&&i.find(".has-post-thumbnail .post-gallery.thb-parallax .wp-post-image").length&&i.find(".has-post-thumbnail .post-gallery.thb-parallax").jarallax("onScroll")}),n.on("afterChange",function(t,e,a){e.$slides&&y.trigger("scroll.thb-animation"),lazySizes&&lazySizes.loader.checkElems()}),n.slick(p)})}},fixedMe:{selector:".thb-sticky-separator",init:function(t){var e=t||b(this.selector),t=i.outerHeight();a.outerHeight();e.each(function(){var t=b(this);t.parents();t.hasClass("thb-sticky-separator")&&!t.data("fixed-enabled")&&(t.nextAll().wrapAll('<div class="thb-fixed" />').parents(".thb-fixed:not(.thb-sticky-separator)"),t.remove(),t.data("fixed-enabled",!0))})}},trendingTabs:{selector:".thb-trending",init:function(){b(this.selector).each(function(){var t=b(this),a=t.data("security"),i=b(".thb-trending-content",t),o=b(".thb-trending-content-inner",t),n=b(".thb-trending-tabs a",t);if(t.hasClass("disabled"))return!1;n.on("click",function(){var t=b(this),e=t.data("time");if(t.hasClass("active"))return!1;b.ajax(themeajax.url,{method:"POST",data:{action:"thb_trending",security:a,time:e},beforeSend:function(){i.addClass("thb-loading"),n.removeClass("active"),t.addClass("active")},success:function(t){i.removeClass("thb-loading");var e=b.parseHTML(b.trim(t)),t=(e.length,b(e).filter(function(){return 1===this.nodeType}));o.empty().append(e),gsap.set(t,{autoAlpha:0}),gsap.to(t,{duration:.25,autoAlpha:1,stagger:.1})}})})})}},searchFields:{selector:".search-fields select",init:function(){b(this.selector).on("change",function(){var t=b(this).val();return t&&(v.location=t),!1})}},accordion:{selector:".thb-accordion",init:function(){b(this.selector).each(function(){var t=b(this),a=t.hasClass("has-accordion"),i=t.find(".vc_tta-panel"),e=i.eq(0);a&&e.addClass("active").find(".vc_tta-panel-body").show(),t.on("click",".vc_tta-panel-heading a",function(){var e=b(this),t=e.parents(".vc_tta-panel");return a&&(i.removeClass("active"),i.not(t).find(".vc_tta-panel-body").slideUp("400")),b(this).parents(".vc_tta-panel").toggleClass("active"),t.find(".vc_tta-panel-body").slideToggle("400",function(){var t;a&&(t=e.parents(".vc_tta-panel-heading").offset().top-(b("#wpadminbar").outerHeight()||0),gsap.to(y,{duration:.5,scrollTo:{y:t,autoKill:!1}})),_.delay(function(){y.trigger("scroll.thb-animation")},400)}),!1})})}},freeScroll:{selector:".thb-freescroll",init:function(){b(this.selector).each(function(){var e=b(this),t=e.data("direction"),a=e.data("pause");e.flickity({prevNextButtons:!1,wrapAround:!0,pageDots:!1,freeScroll:!0,adaptiveHeight:!0,imagesLoaded:!0});var i=e.data("flickity");function o(){"thb-left-to-right"===t?i.x++:i.x--,i.integratePhysics(),i.settle(i.x),i.paused||(i.raf=v.requestAnimationFrame(o))}i.paused=!0,a&&e.on("mouseenter",function(){n.mobile()||n.tablet()||(i.paused=!0)}).on("mouseleave",function(){n.mobile()||n.tablet()||(i.paused=!1,o())}),y.on("scroll.flkty",function(t){e.is(":in-viewport")?i.paused&&(i.paused=!1,o()):i.paused=!0}).trigger("scroll.flkty"),e.find("img").on("lazyloaded",function(){e.flickity("resize")}),e.find("img").on("imagesLoaded",function(){e.flickity("resize")})})}},countdown:{selector:".thb-countdown",init:function(){b(this.selector).each(function(){var t=b(this),e=t.data("date"),a=t.attr("offset");t.downCount({date:e,offset:a})})}},tabs:{selector:".thb-tabs",init:function(){b(this.selector).each(function(){var n=b(this),s=(n.hasClass("has-accordion"),n.data("animation")),t=n.data("active-section")?n.data("active-section"):1,r=n.find(".vc_tta-panel"),l=(r.eq(0),b('<div class="thb-tab-menu" />').prependTo(n));function c(){r.filter(":visible").find("img").on("lazyloaded",function(){y.trigger("resize.tabs")})}r.each(function(){b(this).find(".vc_tta-panel-heading").appendTo(l)}),b(".vc_tta-panel-heading",l).eq(0).find("a").addClass("active"),r.eq(0).addClass("visible"),y.on("resize.tabs",function(){var t=r.filter(":visible").height()+l.outerHeight(!0);30<t&&n.css("height",t)}).trigger("resize.tabs"),b(this).on("click",".vc_tta-panel-heading a",function(t){var e=b(this),a=s?"300":0,i=(parseInt(a),e.parents(".vc_tta-panel-heading").index()),o=r.eq(i);return r.not(o).fadeOut(a,function(){n.height();var t=o.height()+l.outerHeight(!0);o.fadeIn(a,function(){y.trigger("scroll.thb-animation"),o.find(".thb-carousel")&&o.find(".thb-carousel").slick("setPosition"),o.find(".thb-masonry")&&(o.find(".thb-masonry").isotope("layout"),y.trigger("resize")),o.find(".thb-post-grid")&&o.find(".thb-post-grid").imagesLoaded(function(){y.trigger("resize.tabs")}),c()}),n.css({height:t})}),n.find(".vc_tta-panel-heading a").removeClass("active"),e.addClass("active"),!1}),1<t&&(n.find(".vc_tta-panel-heading a").removeClass("active"),n.find(".vc_tta-panel-heading").eq(t-1).find("a").addClass("active"),n.find(".vc_tta-panel").removeClass("visible"),n.find(".vc_tta-panel").eq(t-1).addClass("visible"),c())})}},shareArticleDetail:{selector:".social-button-holder, .thb-tweet-actions, .thb-post-bottom",init:function(){b(this.selector).find(".social:not(.whatsapp), .post-social-share:not(.whatsapp)").on("click",function(){var t=screen.width/2-320,e=screen.height/2-220-100;return v.open(b(this).attr("href"),"mywin","left="+t+",top="+e+",width=640,height=440,toolbar=0"),!1})}},isotope:{selector:".thb-masonry",init:function(){b(this.selector).each(function(t){var i,e=b(this),a=(e.find(".columns"),e.data("thb-animation")),o={layoutMode:"packery",percentPosition:!0,itemSelector:".columns",transitionDuration:0,originLeft:!f.hasClass("rtl"),hiddenStyle:{},visibleStyle:{}},n=.5,s=n/5,r=(e.data("grid_type"),"thb-fade"===a?{opacity:1}:"thb-scale"===a?{opacity:1,scale:1}:"thb-none"===a?(s=n=0,{opacity:1}):"thb-vertical-flip"===a?{opacity:1,y:0,rotationX:"0deg"}:"thb-reveal-left"===a?(s=.3,{opacity:n=1}):{y:0,opacity:1});r.duration=n,r.stagger=s,e.addClass("thb-loaded"),e.on("layoutComplete",function(t,e){var a=_.map(e,"element");y.on("scroll.masonry-animation",_.debounce(function(){var t;(i=b(a).filter(":in-viewport").filter(function(){return void 0===b(this).data("thb-in-viewport")}))&&((t=i).data("thb-in-viewport",!0),i.find(".post").length&&gsap.to(i.find(".post"),r,function(){t.addClass("thb-added"),t.data("thb-in-viewport",!0)}))},20)).trigger("scroll.masonry-animation")}).isotope(o).isotope("layout"),e.imagesLoaded(function(){e.isotope("layout")})})}},comments:{selector:"#comment-toggle",init:function(){b(this.selector).on("click",function(){return b(this).parents("#comments").find(".comments-container").slideToggle("400",function(){y.trigger("resize.sticky-resize")}),!1})}},plyr:{selector:".flex-video, .wp-video video",init:function(){var t=b(this.selector),e=themeajax.settings.thb_custom_video_player,a=themeajax.settings.viai_publisher_id,i={playsinline:!0,clickToPlay:!0};a&&""!==a&&(i.ads={enabled:!0,publisherId:a}),"on"===e&&(n.mobile()||n.tablet()||t.each(function(){new Plyr(b(this),i)}))}},videoPlaylist:{selector:".thb-video-playlist",init:function(){var e=b(this.selector);e.each(function(){var t=b(this),a=t.find(".thb-video-holder"),i=t.find(".thumbnail-style6"),o=t.data("security");i.eq(0).addClass("video-active"),e.on("click",".thumbnail-style6",function(){var t=b(this),e=t.data("id");return t.hasClass("video-active")||(i.removeClass("video-active"),t.addClass("video-active"),a.addClass("thb-loading"),b.post(themeajax.url,{security:o,action:"thb-parse-embed",post_ID:e},function(t){t.success&&(a.find(".thb-video-element").html(t.data.body),v.FB&&FB.XFBML.parse(),x.plyr.init()),a.removeClass("thb-loading")})),!1})})}},jarallax:{selector:".thb-parallax-on .thb-parallax",init:function(t){(t||b(this.selector)).each(function(){var t=b(this),e={speed:.8,imgElement:".wp-post-image"};t.parents(".post").hasClass("format-video")&&(e.videoSrc=t.data("video")),t.jarallax(e)})}},magnificInline:{selector:".mfp-inline",init:function(){var t=b(this.selector);t.magnificPopup({type:"inline",tLoading:themeajax.l10n.lightbox_loading,mainClass:"mfp-zoom-in",fixedBgPos:!0,fixedContentPos:!0,removalDelay:400,closeBtnInside:!0,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{close:function(){t.hasClass("newsletter-popup")&&Cookies.set("newsletter_popup","1",{expires:parseInt(themeajax.settings.newsletter_length,10)})}}})}},vcMediaGrid:{selector:".vc_grid-container",init:function(){b(this.selector);y.on("grid:items:added",function(t,e){b(e).data("vc-grid-settings");b(e).find(".mfp-image").length&&b(e).addClass("mfp-gallery"),x.magnificGallery.init(b(e))})}},magnificGallery:{selector:".mfp-gallery, .post-content .gallery, .post-content .wp-block-gallery",init:function(t){(t||b(this.selector)).each(function(){var t=b(this),e='a:not(.thb-pin-it)[href$=".png"],a:not(.thb-pin-it)[href$=".jpg"],a:not(.thb-pin-it)[href$=".jpeg"],a:not(.thb-pin-it)[href$=".gif"]';t.hasClass("vc_grid-container")&&(e="a.mfp-image"),t.magnificPopup({delegate:e,type:"image",tLoading:themeajax.l10n.lightbox_loading,mainClass:"mfp-zoom-in",removalDelay:400,fixedContentPos:!0,closeBtnInside:!1,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",gallery:{enabled:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir% mfp-prevent-close">'+themeajax.svg.prev_arrow+"</button>",tCounter:'<span class="mfp-counter">'+themeajax.l10n.of+"</span>"},image:{verticalFit:!0,titleSrc:function(t){return t.img.attr("alt")}},callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){b.magnificPopup.instance.next=function(){var t=this;t.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.next.call(t)},125)},b.magnificPopup.instance.prev=function(){var t=this;this.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.prev.call(t)},125)}}}})})}},magnificImage:{selector:".mfp-image",init:function(){var t=b(this.selector),a=[],i=[],o={type:"image",mainClass:"mfp-zoom-in",tLoading:themeajax.l10n.lightbox_loading,removalDelay:400,fixedContentPos:!0,closeBtnInside:!1,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}}},n={type:"image",tLoading:themeajax.l10n.lightbox_loading,mainClass:"mfp-zoom-in",removalDelay:400,fixedContentPos:!0,gallery:{enabled:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir% mfp-prevent-close">'+themeajax.svg.prev_arrow+"</button>",tCounter:'<span class="mfp-counter">'+themeajax.l10n.of+"</span>"},image:{verticalFit:!0,titleSrc:function(t){return t.img.attr("alt")}},callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){b.magnificPopup.instance.next=function(){var t=this;t.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.next.call(t)},125)},b.magnificPopup.instance.prev=function(){var t=this;this.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.prev.call(t)},125)}}}};t.each(function(){var t=b(this),e=t.data("thb-group");t.parents(".blocks-gallery-item").length||(e&&""!==e?i.push(e):t.magnificPopup(o))});t=_.uniq(i);b.each(t,function(t,e){a.push(b('.mfp-image[data-thb-group="'+e+'"]'))}),t.length&&b.each(a,function(t,e){e.magnificPopup(n)})}},magnificVideo:{selector:".mfp-video",init:function(){b(this.selector).magnificPopup({type:"iframe",tLoading:themeajax.l10n.lightbox_loading,closeBtnInside:!1,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",mainClass:"mfp-zoom-in",removalDelay:400,fixedContentPos:!1})}},lightboxGallery:{selector:".thb-lightbox-button",init:function(){b(this.selector).each(function(){var t=b(this),i=[],e=b(t.data("href")),o=b(".post-gallery-content",e),n=o.eq(0).find(".thb-gallery-grid");t.data("click-attached")||(t.data("click-attached",!0),o.each(function(t){var e=b(this),a=b(".lightbox-grid",e);0<t&&n.clone().appendTo(e.find(".image")),i.push({src:b(this)}),a.on("click",function(){e.find(".image").toggleClass("gridActive")})}),t.on("click",function(){return b.magnificPopup.open({mainClass:"mfp-zoom-in post-gallery-lightbox",closeBtnInside:!0,items:i,removalDelay:400,overflowY:"hidden",tLoading:themeajax.l10n.lightbox_loading,gallery:{enabled:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir% mfp-prevent-close">'+themeajax.svg.prev_arrow+"</button>",tCounter:'<span class="mfp-counter">'+themeajax.l10n.of+"</span>"},closeMarkup:'<button title="%title%" class="mfp-close">'+themeajax.svg.close_arrow+"</button>",callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){var t=b.magnificPopup.instance;b(".lightbox-close").on("click",function(){return t.close(),!1}),b(".thb-gallery-arrow.prev").on("click",function(){return t.prev(),!1}),b(".thb-gallery-arrow.next").on("click",function(){return t.next(),!1}),t.next=function(){this.wrap.removeClass("mfp-image-loaded"),b.magnificPopup.proto.next.call(this)},t.prev=function(){this.wrap.removeClass("mfp-image-loaded"),b.magnificPopup.proto.prev.call(this)}},close:function(){o.find(".image").removeClass("gridActive"),b(".thb-gallery-arrow.prev").off("click"),b(".thb-gallery-arrow.next").off("click")},change:function(){var a=b.magnificPopup.instance;this.content.find(".thb-grid-image").filter(function(){return void 0===b(this).data("thb-assigned")}).on("click",function(){var t=b(this),e=t.parent().index();return a.goTo(e),t.data("thb-assigned",!0),!1}),setTimeout(function(){o.find(".image").removeClass("gridActive")},125)}}}),!1}))})}},verticalGalleries:{selector:".smart-list-v3",init:function(){b(this.selector).each(function(){var e=b(this),o=b(".smart-list-item",e),n=o.length;o.each(function(){var t=b(this),e=b(".arrow.to_top:not(.disabled)",t),a=b(".arrow.to_bottom:not(.disabled)",t),i=o.index(t);e.on("click",function(){var t;return 0<i&&(t=o.eq(i-1).offset().top-(b("#wpadminbar").outerHeight()||0)-b(".header.fixed").outerHeight()-20,gsap.to(y,{duration:.5,scrollTo:{y:t,autoKill:!1}})),!1}),a.on("click",function(){var t;return i<n&&(t=o.eq(i+1).offset().top-(b("#wpadminbar").outerHeight()||0)-b(".header.fixed").outerHeight()-20,gsap.to(y,{duration:.5,scrollTo:{y:t,autoKill:!1}})),!1})}),u.keyup(function(t){40===t.keyCode?b(".smart-list-item:in-viewport",e).last().find(".arrow.to_bottom").trigger("click"):38===t.keyCode&&b(".smart-list-item:in-viewport",e).last().find(".arrow.to_top").trigger("click")})})}},reactions:{selector:".thb-article-reactions",init:function(){b(this.selector).each(function(){var t=b(this),e=b(".thb-reaction",t),i=t.data("post-id"),o="thb-reactions-"+i;t.data("thb-initialized")||(t.data("thb-initialized",!0),e.on("click",function(){var e=b(this),t=e.hasClass("active"),a=e.data("slug");return e.hasClass("thb-reaction-loading")||b.ajax(themeajax.url,{method:"POST",data:{action:"thb_save_post_reactions",post_id:i,reaction:a,is_active:t},beforeSend:function(){e.addClass("thb-reaction-loading")},success:function(t){e.toggleClass("active"),e.removeClass("thb-reaction-loading");t=JSON.parse(t);e.find(".thb-reaction-count").html(t[a]),Cookies.set(o,t,{expires:30})}}),!1}))})}},articleScroll:{selector:"#infinite-article",pagetitle:b("#page-title"),org_post_url:v.location.href,org_post_title:document.title,org_shares:!1,top:0,init:function(){var e=this,s=b(e.selector),t=s.data("security"),a=s.data("infinite"),i=s.find(".post-detail:first-child"),r=(i.find(".thb-social-fixed"),i.data("id")),l=r,c=!1,o=(b(".footer").outerHeight()||0)+(b(".subfooter").outerHeight()||0),n=themeajax.settings.infinite_count,d=b('<div class="thb-preloader">'+themeajax.svg.preloader+"</div>"),h=0,p=_.debounce(function(){e.location_change()},10),i=_.debounce(function(){(!n||h<parseInt(n,10))&&y.scrollTop()>=u.height()-y.height()-o-400&&!1===c&&r===l&&(s.addClass("thb-loading"),b.ajax(themeajax.url,{method:"POST",data:{security:t,action:"thb_infinite_ajax",post_id:l},beforeSend:function(){c=!(r=null),d.appendTo(s)},success:function(t){h++,c=!1;var e,a,i=b.parseHTML(t),o=b(i).find(".adsbygoogle"),n=b(i).find(".twitter-tweet, .twitter-timeline"),t=b(i).find(".instagram-media");s.removeClass("thb-loading"),s.find(".thb-preloader").remove(),i?(r=b(i).find(".post-detail").data("id"),l=r,b(i).appendTo(s),x.shareArticleDetail.init(),x.fixedMe.init(),x.jarallax.init(),x.slick.init(),x.magnificImage.init(),x.magnificGallery.init(),x.magnificVideo.init(),x.lightboxGallery.init(),x.verticalGalleries.init(),x.newsletter.init(),x.reactions.init(),x.animation.init(),x.pinIt.init(),x.retinaJS.init(),x.plyr.init(),void 0!==v.instgrm?v.instgrm.Embeds.process():t.length&&void 0===v.instgrm&&((e=document.createElement("script")).src="//platform.instagram.com/en_US/embeds.js",e.onload=function(){v.instgrm.Embeds.process()},f.append(e)),void 0!==v.twttr?twttr.widgets.load(document.getElementById("infinite-article")):n.length&&void 0===v.twttr&&(v.twttr=(t=document,e="twitter-wjs",n=t.getElementsByTagName("script")[0],a=v.twttr||{},t.getElementById(e)||((t=t.createElement("script")).id=e,t.src="https://platform.twitter.com/widgets.js",n.parentNode.insertBefore(t,n),a._e=[],a.ready=function(t){a._e.push(t)}),a)),void 0!==v.addthis&&addthis.toolbox(),void 0!==v.atnt&&v.atnt(),void 0!==v.googletag&&googletag.pubads().refresh(),void 0!==v.adsbygoogle&&o.length&&o.each(function(){(adsbygoogle=v.adsbygoogle||[]).push({})}),void 0!==v.FB&&FB.init({status:!0,cookie:!0,xfbml:!0,version:"v2.8"}),void 0!==v.vc_js&&v.vc_js(),b(document.body).trigger("thb_after_infinite_load")):r=null,y.trigger("resize.sticky-resize")}}))},50);"on"===a?(y.on("scroll.infinite",p),y.on("scroll.infinite",i),gsap.set(b(".indicator-fill",".header.fixed"),{drawSVG:"0% 0%"}),b(".thb-reading-indicator",".header.fixed").on("click",function(){var t;return!b(".fixed-header-on").length||"on"===themeajax.settings.fixed_header_scroll||(t=b(".header.fixed-article>.row").outerHeight()+(parseInt(themeajax.settings.fixed_header_padding.top,10)||0)+(parseInt(themeajax.settings.fixed_header_padding.bottom,10)||0))&&(e.top-=t),gsap.to(y,2,{duration:2,scrollTo:{y:e.top,autoKill:!1}}),!1})):(gsap.set(b(".indicator-fill",".header.fixed"),{drawSVG:"0% 0%"}),y.on("scroll.infinite",function(){e.borderWidth(b(".post-detail-row").offset().top,b(".post-detail-row").outerHeight(!0))}))},location_change:function(){var t,e,a,i,o=this,r=(b(o.selector),y.scrollTop()),l=r+y.height(),c=[];b(".post-detail-row").each(function(){var t=b(this),e=t.find(".post-detail"),a=e.data("id"),i=t.offset().top,o=t.outerHeight(!0),n=e.data("url"),e=e.find(".post-title h1").text(),t=t.find(".thb-social-fixed"),s=i+o;(i<r&&l<s||r<i&&i<l||r<s&&s<l)&&c.push({id:a,top:i,bottom:s,post_url:n,post_title:e,alength:o,shares:t})}),0===c.length?(e=o.org_post_url,a=o.org_post_title,i=o.org_shares):1===c.length?(e=(t=c.pop()).post_url,a=t.post_title,i=t.shares,o.borderWidth(t.top,t.alength)):(e=c[0].post_url,a=c[0].post_title,i=c[0].shares,o.borderWidth(c[0].top,c[0].alength)),o.updateURL(e,a,i)},updateURL:function(t,e,a){v.location.href!==t&&(""!==t&&(history.replaceState(null,null,t),document.title=e,this.pagetitle.html(e),a&&(b(".header.fixed").find(".fixed-article-shares").empty().append(a.clone()),x.shareArticleDetail.init())),b(document.body).trigger("thb_after_location_change"),this.updateGA(t,e))},updateGA:function(t,e){var a;"undefined"!=typeof _gaq?_gaq.push(["_trackPageview",t]):"undefined"!=typeof ga&&(a=/.+?\:\/\/.+?(\/.+?)(?:#|\?|$)/.exec(t)[1],ga("send","pageview",a)),"undefined"!=typeof gtag&&(e={page_title:e,page_location:location.href,page_path:location.pathname},gtag("event","page_view",e)),void 0!==v.reinvigorate&&void 0!==v.reinvigorate.ajax_track&&reinvigorate.ajax_track(t),"undefined"!=typeof googletag&&googletag.pubads().refresh()},borderWidth:function(t,e){var a=y.scrollTop(),a=(b(".footer").outerHeight(),b(".subfooter").outerHeight(),(a-t+(b("#wpadminbar").outerHeight()||0))/e);this.top=t+e,gsap.set(b(".indicator-fill",".header.fixed"),{drawSVG:"0% "+100*a+"%"})}},retinaJS:{selector:"img.retina_size:not(.retina_active)",init:function(){b(this.selector).each(function(){b(this).attr("width",function(){return b(this).attr("width")/2}).addClass("retina_active")})}},paginationStyle2:{selector:".pagination-style2",init:function(){b(this.selector).each(function(){var s=b(this),t=s.data("security"),e=b(s.data("loadmore")),a=s.data("rand"),a=(e.text(),"thb_postajax_"+a),i=v[a].loop,r=v[a].style,l=v[a].columns,c=v[a].excerpts,d=v[a].count,h=v[a].featured_index,p=v[a].thb_i,u=2,f=!1,g=s.hasClass("thb-masonry")?"thb_masonry_posts":"thb_posts";e.on("click",function(){var o=b(this),n=o.text();return!1===f&&(o.html(themeajax.l10n.loading).addClass("loading"),b.ajax(themeajax.url,{method:"POST",data:{action:g,security:t,count:d,loop:i,columns:l,style:r,excerpts:c,featured_index:h,thb_i:p,page:u++},beforeSend:function(){f=!0},success:function(t){var e,a=b.parseHTML(b.trim(t)),i=a?a.length:0;""===t||"undefined"===t||"No More Posts"===t||"No $args array created"===t?o.html(themeajax.l10n.nomore).removeClass("loading").off("click"):(e=b(a).filter(function(){return 1===this.nodeType}),s.data("isotope")?(e.appendTo(s).hide(),s.isotope("appended",b(a)),e.imagesLoaded(function(){s.isotope("layout"),gsap.fromTo(e,{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){f=!1}})})):(e.insertBefore(o.parents(".masonry_loader")),gsap.fromTo(e,{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){f=!1}})),x.jarallax.init(),y.trigger("resize.sticky-resize"),e.imagesLoaded(function(){y.trigger("resize.sticky-resize")}),s.parents(".vc_tta-panel-body")&&y.trigger("resize.tabs"),(i<d?o.html(themeajax.l10n.nomore):o.html(n)).removeClass("loading"))}})),!1})})}},paginationStyle3:{selector:".pagination-style3",init:function(){var m=b(this.selector);m.each(function(){var i=b(this),t=i.data("security"),e=b(i.data("loadmore")),a=i.data("rand"),a=(e.text(),"thb_postajax_"+a),o=v[a].loop,n=v[a].style,s=v[a].columns,r=v[a].excerpts,l=v[a].count,c=v[a].featured_index,d=v[a].thb_i,h=2,p=!1,u=i.hasClass("thb-masonry")?"thb_masonry_posts":"thb_posts",f=b('<div class="thb-preloader">'+themeajax.svg.preloader+"</div>"),g=_.debounce(function(){!1===p&&y.scrollTop()+y.height()+150>=m.offset().top+m.outerHeight()&&b.ajax(themeajax.url,{method:"POST",data:{action:u,security:t,count:l,loop:o,columns:s,style:n,excerpts:r,featured_index:c,thb_i:d,page:h++},beforeSend:function(){p=!0,f.appendTo(m)},success:function(t){var e=b.parseHTML(b.trim(t)),a=e?e.length:0;""===t||"undefined"===t||"No More Posts"===t||"No $args array created"===t?y.off("scroll",g):(i.find(".thb-preloader").remove(),i.data("isotope")?(b(e).appendTo(i).hide(),i.isotope("appended",b(e)),b(e).imagesLoaded(function(){i.isotope("layout"),gsap.fromTo(b(e),{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){p=!1}})})):(b(e).appendTo(i),gsap.fromTo(b(e),{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){p=!1}})),x.jarallax.init(),y.trigger("resize.sticky-resize"),b(e).imagesLoaded(function(){y.trigger("resize.sticky-resize")}),l<=a&&y.on("scroll",g))}})},30);y.on("scroll",g)})}},animation:{selector:".animation, .thb-counter, .thb-iconbox, .thb-fadetype, .thb-slidetype, .thb-progressbar, .thb-autotype",init:function(){var t=this,e=b(t.selector);y.on("scroll.thb-animation",function(){t.control(e,!0)}).trigger("scroll.thb-animation")},container:function(t){t=b(this.selector,t);this.control(t,!1)},control:function(t,e){var a=0,i=.15,o=.5;(e?t.filter(":in-viewport"):t).each(function(){var t=b(this),e={autoAlpha:1,x:0,y:0,z:0,rotationZ:"0deg",rotationX:"0deg",rotationY:"0deg",delay:a*i};i=t.hasClass("thb-client")||t.hasClass("thb-counter")||t.hasClass("thb-iconlist-li")?(o=.2,.05):t.hasClass("thb-team-member")?(o=.4,.1):(o=.5,.15),!0!==t.data("thb-animated")&&(t.data("thb-animated",!0),t.hasClass("thb-iconbox")?x.iconbox.control(t,a*i):t.hasClass("thb-counter")?x.counter.control(t,a*i):t.hasClass("portfolio-title")?x.portfolioTitle.control(t,a*i):t.hasClass("thb-autotype")?x.autoType.control(t,a*i):t.hasClass("thb-fadetype")?x.fadeType.control(t,a*i):t.hasClass("thb-slidetype")?x.slideType.control(t,a*i):t.hasClass("thb-progressbar")?x.progressBar.control(t,a*i):(t.hasClass("scale")&&(e.scale=1),e.duration=o,gsap.to(t,e)),a++)})}},perspective:{selector:".perspective-enabled",init:function(){var i=b(this.selector),o=y.scrollTop();requestAnimationFrame(function t(){var e=y.scrollTop(),a=e+y.height()+"px";o!==e&&(gsap.set(i,{"perspective-origin":"50% "+a}),o=e),requestAnimationFrame(t)})}},autoType:{selector:".thb-autotype",control:function(t,e,a){var i,o,n;void 0!==t.data("thb-in-viewport")&&!a||(t.data("thb-in-viewport",!0),o=(i=t.find(".thb-autotype-entry")).data("strings"),n=i.data("speed")?i.data("speed"):50,a=1===i.data("thb-loop"),t=1===i.data("thb-cursor"),i.typed({strings:o,loop:a,showCursor:t,cursorChar:"|",contentType:"html",typeSpeed:n,backDelay:1e3}))}},fadeType:{selector:".thb-fadetype",control:function(t,e,a){if(void 0===t.data("thb-in-viewport")||a){t.data("thb-in-viewport",!0);var i=new SplitText(b(".thb-fadetype-entry",t),{type:"chars"}),o=gsap.timeline({onComplete:function(){i.revert()}});if(o.set(t,{visibility:"visible"}),t.hasClass("thb-fadetype-style1"))o.from(i.chars,{duration:.25,autoAlpha:0,y:10,rotationX:"-90deg",delay:e,stagger:.05});else if(t.hasClass("thb-fadetype-style2"))for(var n=i.chars.length,s=0;s<n;s++){var r=i.chars[s],l=.5*Math.random();o.from(r,{duration:2,opacity:0,ease:Linear.easeNone},l).from(r,{duration:2,yPercent:-50,ease:Expo.easeOut},l)}}}},progressBar:{selector:".thb-progressbar",control:function(t,e,a){var i;void 0!==t.data("thb-in-viewport")&&!a||(a=(i=t.find(".thb-progress")).data("progress"),gsap.timeline().to(t,{duration:.6,autoAlpha:1,delay:e}).to(i.find("span"),{duration:1,scaleX:a/100}))}},slideType:{selector:".thb-slidetype",control:function(t,e,a){var i,o,n,s,r;void 0!==t.data("thb-in-viewport")&&!a||(t.data("thb-in-viewport",!0),i=t.data("style"),n=gsap.timeline({onComplete:function(){"style1"!==i&&o.revert()}}),r=.25,a=.05,"style1"===i?(s=t.find(".thb-slidetype-entry .lines"),r=.65,a=.15):"style2"===i?(s=(o=new SplitText(t.find(".thb-slidetype-entry"),{type:"words"})).words,r=.65,a=.15):"style3"===i&&(s=(o=new SplitText(t.find(".thb-slidetype-entry"),{type:"chars"})).chars),n.set(t,{visibility:"visible"}).from(s,{duration:r,y:"200%",delay:e,stagger:a},"+=0"))}},counter:{selector:".thb-counter",control:function(t,e){var a,i,o,n,s,r;void 0===t.data("thb-in-viewport")&&(t.data("thb-in-viewport",!0),i=(n=(a=t).find(".h1:not(.counter-text), .counter:not(.counter-text)").eq(0))[0],o=n.data("count"),s=n.data("speed"),t=a.data("separator"),n=a.data("format"),s={el:i,value:0,duration:s,theme:"minimal"},a.hasClass("single-decimal")?s.format="(,ddd).d":s.format=t&&""!==t?n:"",r=new Odometer(s),gsap.set(a,{visibility:"visible"}),setTimeout(function(){r.update(o)},e))}},iconbox:{selector:".thb-iconbox",control:function(t,e){var a,i,o,n,s,r,l,c,d;void 0!==t.data("thb-in-viewport")||t.hasClass("animation-off")||(t.data("thb-in-viewport",!0),i=""!==(a=t).data("animation_speed")?a.data("animation_speed"):1.5,o=a.find("svg"),n=a.find("img:not(.thb_image_hover)"),s=o.find("path, circle, rect, ellipse"),r=a.find("h5"),l=a.find("p"),c=a.find(".thb-iconbox-line"),d=a.find(".thb-iconbox-line em"),t=gsap.timeline({delay:e,paused:!0,clearProps:"all"}),e=[],r.length&&e.push(r),l.length&&e.push(l),n.length&&e.push(n),a.hasClass("left")||a.hasClass("right")||a.find(".thb-read-more").length&&e.push(a.find(".thb-read-more")),t.set(a,{visibility:"visible"}).set(o,{visibility:"visible"}).from(s,{duration:i,drawSVG:"0%"},"s").fromTo(e,{autoAlpha:0,y:"20px"},{duration:i/2,autoAlpha:1,y:"0px",stagger:.1}),d.length&&t.to(d,{duration:i/2,scale:"1"}),c.length&&t.to(c,{duration:i/2,scaleX:"1"}),t.play())}},contactMap:{selector:".contact_map:not(.disabled)",init:function(){var f=this;b(f.selector).each(function(){var h,e=b(this),t=e.data("map-zoom"),a=e.data("map-style"),i=e.data("map-type"),o=e.data("pan-control"),n=e.data("zoom-control"),s=e.data("maptype-control"),r=e.data("scale-control"),l=e.data("streetview-control"),c=e.find(".thb-location"),d=e.next(".expand"),p=e.width(),u=new google.maps.LatLngBounds,i={styles:a,zoom:t,draggable:!("ontouchend"in document),scrollwheel:!1,panControl:o,zoomControl:n,mapTypeControl:s,scaleControl:r,streetViewControl:l,fullscreenControl:!1,mapTypeId:i,gestureHandling:"cooperative"};d&&d.toggle(function(){var t=e.parents(".row").width();return e.parents(".contact_map_parent").css("overflow","visible"),gsap.to(e,{duration:1,width:t,onUpdate:function(){google.maps.event.trigger(h,"resize"),h.setCenter(u.getCenter())}}),!1},function(){return gsap.to(e,{duration:1,width:p,onUpdate:function(){google.maps.event.trigger(h,"resize"),h.setCenter(u.getCenter())},onComplete:function(){e.parents(".contact_map_parent").css("overflow","hidden")}}),!1}),h=new google.maps.Map(e[0],i),c.each(function(t){var e,a,i,o,n,s,r,l,c,d=b(this);e=t,t=(c=(a=d).data("option")).latitude,d=c.longitude,i=new google.maps.LatLng(t,d),o=c.marker_image,n=c.marker_size,s=c.retina_marker,r=c.marker_title,l=c.marker_description,c=new Image,u.extend(i),c.src=o,a.data("rendered",!0),b(c).on("load",function(){f.setMarkers(e,h,i,o,n,r,l,s)})}),google.maps.event.addListenerOnce(h,"tilesloaded",function(){0<t?(h.setCenter(u.getCenter()),h.setZoom(t)):(h.setCenter(u.getCenter()),h.fitBounds(u))}),y.on("resize.google_map",_.debounce(function(){h.setCenter(u.getCenter())},50)).trigger("resize.google_map")})},setMarkers:function(t,a,i,o,n,e,s,r){var l=new google.maps.InfoWindow({content:"<h3>"+e+"</h3><div>"+s+"</div>"});function c(t,e){this.latlng=t,this.setMap(e)}r&&(n[0]=n[0]/2,n[1]=n[1]/2),(c.prototype=new google.maps.OverlayView).draw=function(){var t=this.div_;t||(t=this.div_=b('<div class="thb_pin"><div class="pulse"></div><div class="shadow"></div><div class="pin-wrap"><img src="'+o+'" width="'+n[0]+'" height="'+n[1]+'"/></div></div>'),this.pinShadow=this.div_.find(".shadow"),this.pulse=this.div_.find(".pulse"),this.div_[0].style.position="absolute",this.div_[0].style.cursor="pointer",this.getPanes().overlayImage.appendChild(this.div_[0]),google.maps.event.addDomListener(t[0],"click",function(t){l.setPosition(i),l.open(a)}));var e=this.getProjection().fromLatLngToDivPixel(i);e&&(t=(n[0]-40)/2,this.div_[0].style.left=e.x-n[0]/2+"px",this.div_[0].style.top=e.y-n[1]/2+"px",this.div_[0].style.width=n[0]+"px",this.div_[0].style.height=n[1]+"px",this.pinShadow[0].style.marginLeft=t+"px",this.pulse[0].style.marginLeft=t+"px")},c.prototype.remove=function(){this.div_&&(this.div_.parentNode.removeChild(this.div_),this.div_=null)},c.prototype.getPosition=function(){return this.latlng};new c(i,a)}},ajaxAddToCart:{selector:".ajax_add_to_cart",init:function(){b(this.selector);f.on("added_to_cart",function(t,e,a,i){i.text(themeajax.l10n.added)}),f.on("wc_fragments_refreshed added_to_cart",function(){lazySizes&&lazySizes.loader.checkElems()})}},loginForm:{selector:".thb-overflow-container",init:function(){var e=b(this.selector),t=b("ul",e),a=b("a",t);a.on("click",function(){var t=b(this);return t.hasClass("active")||(a.removeClass("active"),t.addClass("active"),b(".thb-form-container",e).toggleClass("register-active")),!1})}},productAjaxAddtoCart:{selector:".thb-single-product-ajax-on.single-product .product-type-variable form.cart, .thb-single-product-ajax-on.single-product .product-type-simple form.cart",init:function(){var t=b(this.selector),a=b(".single_add_to_cart_button",t);"undefined"!=typeof wc_add_to_cart_params&&"yes"===wc_add_to_cart_params.cart_redirect_after_add||u.on("submit","body.single-product form.cart",function(t){t.preventDefault();var t=b(this),e=a.text();a.is(".disabled")||a.is(".wc-variation-selection-needed")||(t={product_id:t.find("[name*='add-to-cart']").val(),product_variation_data:t.serialize()},b.ajax({method:"POST",data:t.product_variation_data,dataType:"html",url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","add-to-cart="+t.product_id+"&thb-ajax-add-to-cart=1"),cache:!1,headers:{"cache-control":"no-cache"},beforeSend:function(){f.trigger("adding_to_cart"),a.addClass("disabled").text(themeajax.l10n.adding_to_cart)},success:function(t){t=b.parseHTML(t),t={".float_count":b(t).find(".float_count").html(),".thb_prod_ajax_to_cart_notices":b(t).find(".thb_prod_ajax_to_cart_notices").html(),".widget_shopping_cart_content":b(t).find(".widget_shopping_cart_content").html()};b.each(t,function(t,e){b(t).html(e)}),f.trigger("wc_fragments_refreshed"),a.removeClass("disabled").text(e)},error:function(t){f.trigger("wc_fragments_ajax_error"),a.removeClass("disabled").text(e)}}))})}},variations:{selector:"form.variations_form",init:function(){var t=b(this.selector),a=b("#product-images"),e=b("#product-thumbnails"),i=b(".first",a),o=b("img",i),n=b("a",i),s=n.attr("href"),r=o.attr("src"),l=b(".first img",e),c=l.attr("src"),d=b("p.price",".product-information").eq(0),h=d.html();t.on("show_variation",function(t,e){e.price_html&&d.html(e.price_html),e.hasOwnProperty("image")&&e.image.src&&(o.attr("src",e.image.src).attr("srcset",""),l.attr("src",e.image.thumb_src).attr("srcset",""),n.attr("href",e.image.full_src),a.hasClass("slick-initialized")&&a.slick("slickGoTo",0),"undefined"!=typeof wc_single_product_params&&"1"===wc_single_product_params.zoom_enabled&&o.attr("data-src",e.image.full_src))}).on("reset_image",function(){d.html(h),o.attr("src",r).attr("srcset",""),l.attr("src",c).attr("srcset",""),n.attr("href",s),"undefined"!=typeof wc_single_product_params&&"1"===wc_single_product_params.zoom_enabled&&o.attr("data-src",r)}),t.find(".single_variation").is(":visible")&&t.find(".single_variation .woocommerce-variation-price").html()&&d.html(t.find(".single_variation .woocommerce-variation-price").html())}},quantity:{selector:".quantity:not(.hidden)",init:function(){var t=this;b(t.selector);t.initialize(),f.on("updated_cart_totals",function(){t.initialize(),lazySizes&&lazySizes.loader.checkElems()})},initialize:function(){b("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />').end().find('input[type="number"]').attr("type","text"),b(".plus, .minus").on("click",function(){var t=b(this).closest(".quantity").find(".qty"),e=parseFloat(t.val()),a=parseFloat(t.attr("max")),i=parseFloat(t.attr("min")),o=t.attr("step");return e&&""!==e&&"NaN"!==e||(e=0),""!==a&&"NaN"!==a||(a=""),""!==i&&"NaN"!==i||(i=0),"any"!==o&&""!==o&&void 0!==o&&"NaN"!==parseFloat(o)||(o=1),b(this).is(".plus")?a&&(a===e||a<e)?t.val(a):t.val(e+parseFloat(o)):i&&(i===e||e<i)?t.val(i):0<e&&t.val(e-parseFloat(o)),t.trigger("change"),!1})}},archiveLoading:{selector:".archive-pagination-container",thb_loading:!1,scrollInfinite:!1,href:!1,init:function(){var t=b(this.selector),e=t.data("pagination-style")||"style1";b(".pagination").length&&(f.hasClass("archive")||f.hasClass("blog")||f.hasClass("search-results"))&&("style2"===e?this.loadButton(t):"style3"===e&&this.loadInfinite(t))},loadButton:function(a){var i=this;b(".pagination").before('<div class="text-center masonry_loader"><a class="thb_load_more btn pill-radius large black">'+themeajax.l10n.loadmore+"</a></div>"),0===b(".pagination a.next").length&&b(".masonry_loader").addClass("is-hidden"),b(".pagination").hide(),f.on("click",".thb_load_more:not(.no-ajax)",function(t){var e=b(this);return i.href=b(".pagination a.next").attr("href"),!1===i.thb_loading&&(e.html(themeajax.l10n.loading).addClass("loading"),i.loadPosts(e,a)),!1})},loadInfinite:function(t){var e=this;0===b(".pagination a.next").length&&b(".masonry_loader").addClass("is-hidden"),b(".pagination").hide(),e.scrollInfinite=_.debounce(function(){!1===e.thb_loading&&y.scrollTop()+y.height()+150>=t.offset().top+t.outerHeight()&&(e.href=b(".pagination a.next").attr("href"),e.loadPosts(!1,t,!0))},30),y.on("scroll",e.scrollInfinite)},loadPosts:function(a,i,o){var n=this;b.ajax(n.href,{method:"GET",beforeSend:function(){n.thb_loading=!0,o&&(gsap.to(b(".pagination").next(".thb-preloader"),{duration:.5,autoAlpha:1}),y.off("scroll",n.scrollInfinite))},success:function(t){var e=b(t),t=b(e.find(".archive-pagination-container").html());b(".pagination").html(e.find(".pagination").html()),a?e.find(".pagination .next").length?a.html(themeajax.l10n.loadmore).removeClass("loading"):a.html(themeajax.l10n.nomore).removeClass("loading").addClass("no-ajax"):o&&(gsap.to(b(".pagination").next(".thb-preloader"),{duration:.5,autoAlpha:0}),e.find(".pagination .next").length&&y.on("scroll",n.scrollInfinite)),t.appendTo(i),i.data("isotope")&&(t.hide(),i.isotope("appended",t),i.imagesLoaded(function(){i.isotope("layout")})),n.thb_loading=!1}})}},shopLoading:{selector:".post-type-archive-product ul.products.thb-main-products",thb_loading:!1,scrollInfinite:!1,href:!1,init:function(){var t=b(this.selector),e=themeajax.settings.shop_product_listing_pagination;b(".woocommerce-pagination").length&&f.hasClass("post-type-archive-product")&&("style2"===e?this.loadButton(t):"style3"===e&&this.loadInfinite(t))},loadButton:function(a){var i=this;b(".woocommerce-pagination").before('<div class="thb_load_more_container pagination-space text-center"><a class="thb_load_more btn pill-radius large black">'+themeajax.l10n.loadmore+"</a></div>"),0===b(".woocommerce-pagination a.next").length&&b(".thb_load_more_container").addClass("is-hidden"),b(".woocommerce-pagination").hide(),f.on("click",".thb_load_more:not(.no-ajax)",function(t){var e=b(this);return i.href=b(".woocommerce-pagination a.next").attr("href"),!1===i.thb_loading&&(e.html(themeajax.l10n.loading).addClass("loading"),i.loadProducts(e,a)),!1})},loadInfinite:function(t){var e=this;0===b(".woocommerce-pagination a.next").length&&b(".thb_load_more_container").addClass("is-hidden"),b(".woocommerce-pagination").hide(),e.scrollInfinite=_.debounce(function(){!1===e.thb_loading&&y.scrollTop()+y.height()+150>=t.offset().top+t.outerHeight()&&(e.href=b(".woocommerce-pagination a.next").attr("href"),e.loadProducts(!1,t,!0))},30),y.on("scroll",e.scrollInfinite)},loadProducts:function(a,i,o){var n=this;b.ajax(n.href,{method:"GET",beforeSend:function(){n.thb_loading=!0,o&&y.off("scroll",n.scrollInfinite)},success:function(t){var e=b(t),t=e.find("ul.products.thb-main-products li");b(".woocommerce-pagination").html(e.find(".woocommerce-pagination").html()),a?e.find(".woocommerce-pagination .next").length?a.html(themeajax.l10n.loadmore).removeClass("loading"):a.html(themeajax.l10n.nomore_products).removeClass("loading").addClass("no-ajax"):o&&e.find(".woocommerce-pagination .next").length&&y.on("scroll",n.scrollInfinite),t.length&&(t.addClass("will-animate").appendTo(i),gsap.set(t,{opacity:0,y:30}),gsap.to(t,{duration:.3,y:0,opacity:1,stagger:.15})),n.thb_loading=!1}})}},newsletter:{selector:".newsletter-form:not(.thb-active)",init:function(){var t=b(this.selector),e=themeajax.settings.newsletter_mailchimp?"thb_subscribe_mailchimp":"thb_subscribe_emails";t.each(function(){var a=b(this),t={security:a.data("security"),action:e,privacy:!1};a.addClass("thb-active"),a.on("submit",function(){return a.next(".thb-custom-checkbox").length&&(t.privacy=!0,t.checked=a.next(".thb-custom-checkbox").find(".thb-newsletter-privacy").is(":checked")),t.email=a.find(".widget_subscribe").val()||!1,b.ajax(themeajax.url,{method:"POST",data:t,beforeSend:function(){a.addClass("thb-loading")},success:function(t){var e=b.parseHTML(b.trim(t));a.removeClass("thb-loading"),b(e).appendTo(f),_.delay(function(){b(e).remove()},8e3)}}),!1})})}},widget_nav_menu:{selector:".widget_nav_menu, .widget_pages",init:function(){b(this.selector).find(".menu-item-has-children, .page_item_has_children").each(function(){var t=b(this),e=b(">a",t);e.append('<div class="thb-arrow"><i class="thb-icon-down-open-mini"></i></div>'),b(".thb-arrow",t).on("click",function(t){var e=b(this).parents("a"),a=e.next(".sub-menu, .children");e.hasClass("active")?(e.removeClass("active"),a.slideUp("200")):(e.addClass("active"),a.slideDown("200")),t.stopPropagation(),t.preventDefault()}),"#"===e.attr("href")&&e.on("click",function(t){var e=b(this),a=e.next(".sub-menu");e.hasClass("active")?(e.removeClass("active"),a.slideUp("200")):(e.addClass("active"),a.slideDown("200")),t.preventDefault()})})}},pricingStyle2:{selector:".thb-pricing-table.style2",init:function(t){b(this.selector).each(function(){var t=b(this),e=b(".pricing-container",t),a=b(".pricing-style2-highlight",t),i=a.parents(".pricing-container");function o(t){gsap.set(a,{left:t.position().left,width:t.outerWidth(),height:t.parents(".thb-pricing-column").outerHeight(),top:t.position().top})}e.on("mouseenter",function(){o(b(this))}).on("mouseleave",function(){o(i)}),y.on("resize.move_highlight",function(){o(i)}).trigger("resize.move_highlight"),t.addClass("active")})}},toBottom:{selector:".scroll-bottom",init:function(){var t=b(this.selector);b(".header>.row").outerHeight(),parseInt(themeajax.settings.fixed_header_padding.top,10),parseInt(themeajax.settings.fixed_header_padding.bottom,10);t.each(function(){var i=b(this);i.on("click",function(){var t=i.parents(".post-gallery").length?i.parents(".post-gallery"):i.closest(".row"),e=t.outerHeight(),a=b("#wpadminbar").outerHeight()||0,e=t.offset().top+e;return e-=a,gsap.to(y,{duration:1,scrollTo:{y:e,autoKill:!1}}),!1})})}},darkMode:{selector:".thb-light-toggle",init:function(){var a=b(this.selector);f.hasClass("thb-dark-mode-on");a.on("click",function(){var t=b(this),e=!1;return t.hasClass("active")?(a.removeClass("active"),f.removeClass("thb-dark-mode-on"),e=!1,i.removeClass("dark-header"),b(".subheader, .footer, .subfooter").removeClass("dark").addClass("light")):(a.addClass("active"),f.addClass("thb-dark-mode-on"),e=!0,i.addClass("dark-header"),b(".subheader, .footer, .subfooter").removeClass("light").addClass("dark")),b(".header .logoimg").each(function(){var t=b(this),e=t.attr("src"),a=t.data("logo-alt");t.attr("src",a),t.data("logo-alt",e)}),b.ajax(themeajax.url,{method:"POST",data:{action:"thb_dark_mode",dark_mode_on:e}}),!1})}},toTop:{selector:"#scroll_to_top",init:function(){var t=this;b(t.selector).on("click",function(){return gsap.to(y,{duration:1,scrollTo:{y:0,autoKill:!1}}),!1}),y.scroll(_.debounce(function(){t.control()},20))},control:function(){var t=b(this.selector);100<y.scrollTop()?t.addClass("active"):t.removeClass("active")}},right_click:{selector:".right-click-on",init:function(){var t=b("#right_click_content"),e=gsap.timeline({paused:!0,onStart:function(){t.css("display","flex")},onReverseComplete:function(){t.css("display","none")}}),a=t.find(".columns>*");e.to(t,{duration:.25,opacity:1},"start"),a.length&&e.from(a,{duration:.5,y:20,opacity:0,stagger:.1}),y.on("contextmenu",function(t){if(3===t.which)return e.play(),!1}),u.keyup(function(t){27===t.keyCode&&e.reverse()}),t.on("click",function(){e.reverse()})}}},b(function(){b("#vc_inline-anchor").length?y.on("vc_reload",function(){x.init()}):x.init()})}(jQuery,this);
document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t<e.length;t++)e[t]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")})(),(c=>{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),o=e.attr("data-flex_fx"),i=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:o,slideshow:i,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0<jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){var e,t;0<jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://assets.pinterest.com/js/pinit.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.find(".vc_single_bar").each(function(e){var t=jQuery(this).find(".vc_bar"),o=t.data("percentage-value");setTimeout(function(){t.css({width:o+"%"})},200*e)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){function t(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).closest(".vc_toggle"),e=t.find(".vc_toggle_content");t.hasClass("vc_toggle_active")?e.slideUp({duration:300,complete:function(){t.removeClass("vc_toggle_active")}}):e.slideDown({duration:300,complete:function(){t.addClass("vc_toggle_active")}})}(e?e.hasClass("vc_toggle_title")?e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",t)}),"function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){function t(){var e=jQuery(this);e.toggleClass("wpb-tta-toggle-active"),e.parent().parent().parent().find(".vc_pagination-item").each(function(){if(!c(this).hasClass("vc_active"))return c(this).find("a").click(),!1})}(e?e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click",t),setTimeout(function(){jQuery(".wpb-tta-toggle").each(function(){var e=jQuery(this);e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")})},1e3)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){var t,i;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",i=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(){var e=jQuery(this).attr("data-interval"),t=[],o=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(e&&0<e)try{o.tabs("rotate",1e3*e)}catch(e){window.console&&window.console.warn&&console.warn("tabs behaviours error",e)}jQuery(this).find(".wpb_tab").each(function(){t.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),i?o.tabs("select",jQuery("a",this).attr("href")):o.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var t;e&&e.preventDefault&&e.preventDefault(),i?(t=o.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=o.tabs("length")-1:t>=o.tabs("length")&&(t=0),o.tabs("select",t)):(t=o.tabs("option","active"),e=o.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,o.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(e.data("active-tab"),10)&&parseInt(e.data("active-tab"),10)-1),o=!1===t||"yes"===e.data("collapsible"),t=e.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:o,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var i={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),o=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===i[o]?"fitRows":i[o]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,o=jQuery(this);o.hasClass("wpb_slider_nivo")?(0===(t=1e3*o.attr("data-interval"))&&(t=9999999999),o.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})):o.hasClass("wpb_image_grid")&&o.find(".wpb_image_grid_ul")&&o.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=o.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):o.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(e){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",e)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var s=window.jQuery;function e(){var e;void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=s('[data-vc-full-width="true"]'),s.each(e,function(){var e,t,o,i,n,a,r,c=s(this),d=(c.addClass("vc_hidden"),c.next(".vc_row-full-width"));(d=d.length?d:c.parent().next(".vc_row-full-width")).length&&(e=parseInt(c.css("margin-left"),10),t=parseInt(c.css("margin-right"),10),o=0-d.offset().left-e,i=s(window).width(),n={position:"relative",left:o="rtl"===c.css("direction")?(o=o-d.width()+i)+e+t:o,"box-sizing":"border-box",width:i,"max-width":i},c.css(n),c.data("vcStretchContent")||("rtl"===c.css("direction")?((a=o)<0&&(a=0),(r=o)<0&&(r=0)):(r=i-(a=(a=-1*o)<0?0:a)-d.width()+e+t)<0&&(r=0),c.css({"padding-left":a+"px","padding-right":r+"px"})),c.attr("data-vc-full-width-init","true"),c.removeClass("vc_hidden"),s(document).trigger("vc-full-width-row-single",{el:c,offset:o,marginLeft:e,marginRight:t,elFull:d,width:i,maxWidth:i}))}),s(document).trigger("vc-full-width-row",e))}function t(){var e,t,o=s(".vc_row-o-full-height:first");o.length&&(e=s(window).height(),(t=o.offset().top)<e)&&o.css("min-height",100-t/(e/100)+"vh"),s(document).trigger("vc-full-height-row",o)}s(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",e).on("resize.vcRowBehaviour",t),e(),t(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&s(".vc_row-o-full-height").each(function(){"flex"===s(this).css("display")&&s(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,o,i;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("<div />").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),o=s(this).data("vcParallaxImage"),(i=vcExtractYoutubeId(o))?insertYoutubeVideoAsBackground(t,i):void 0!==o&&t.css("background-image","url("+o+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,o=1;!1===t;){if(e.hasClass("columns_count_"+o))return t=!0,o;o++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var o=t.panel||t.newPanel,i=o.find(".vc_pie_chart:not(.vc_ready)"),n=o.find(".vc_round-chart"),a=o.find(".vc_line-chart"),r=o.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(o),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&o.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.length&&jQuery.fn.vcChat&&i.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=o.find(".isotope, .wpb_image_grid_ul"),i=o.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),i.length&&!i.is(".map_ready")&&((n=i.find("iframe")).attr("src",n.attr("src")),i.addClass("map_ready")),o.parents(".isotope").length&&o.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",o)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,o={};o.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,o)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var o,i,n,a;t.newPanel.length&&t.newHeader.length&&(o=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),i=t.newPanel.find(".vc_round-chart"),n=t.newPanel.find(".vc_line-chart"),a=t.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),vc_carouselBehaviour(t.newPanel),vc_plugin_flexslider(t.newPanel),o.length&&jQuery.fn.vcChat&&o.vcChat(),i.length&&jQuery.fn.vcRoundChart&&i.vcRoundChart({reload:!1}),n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({reload:!1}),a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"),t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgrounds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){c(".vc_video-bg").remove(),c("[data-vc-video-bg]").each(function(){var e,o=jQuery(this);o.data("vcVideoBg")?(e=o.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(o.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(o,e)),jQuery(window).on("grid:items:added",function(e,t){o.has(t).length&&vcResizeVideoBackground(o)})):o.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,o){if("undefined"==typeof YT||void 0===YT.Player)return 100<(o=void 0===o?0:o)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,o++)},100);var i=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(i[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,o,i,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),o=r,i=-Math.round((t-a)/2)+"px",n=-Math.round((o-r)/2)+"px"):(o=(t=a)*(9/16),n=-Math.round((o-r)/2)+"px",i=-Math.round((t-a)/2)+"px"),t+="px",o+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:i,marginTop:n,width:t,height:o})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),o=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),o=e<o?o:e;t.css("min-height",(o=o<250?250:o)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var e=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(e),vc_setHoverBoxPerspective(e)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function(){window.vc_js()})})(window.jQuery);