(function(){function t(t,e){for(var r in e)Y.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t}var u,c,e,r,o,n,s,i,a,v,l,p,w,h,d,f,g,b,S,m,y,k,q,x,L,P,T,R,E,j,O,A,M,N,_,F,C,U,W,X,D,H,I,z,G,B,J,K,Q,V=[].slice,Y={}.hasOwnProperty,Z=[].indexOf||function(t){for(var e=0,r=this.length;e<r;e++)if(e in this&&this[e]===t)return e;return-1};function $(){}for(y={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},E=function(){var t;return null!=(t="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?t:+new Date},O=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,m=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==O&&(O=function(t){return setTimeout(t,50)},m=function(t){return clearTimeout(t)}),M=function(e){var r,n;return r=E(),(n=function(){var t;return 33<=(t=E()-r)?(r=E(),e(t,function(){return O(n)})):setTimeout(n,33-t)})()},A=function(){var t,e,r;return r=arguments[0],e=arguments[1],t=3<=arguments.length?V.call(arguments,2):[],"function"==typeof r[e]?r[e].apply(r,t):r[e]},k=function(){var t,e,r,n,s,o,i;for(e=arguments[0],o=0,i=(n=2<=arguments.length?V.call(arguments,1):[]).length;o<i;o++)if(r=n[o])for(t in r)Y.call(r,t)&&(s=r[t],null!=e[t]&&"object"==typeof e[t]&&null!=s&&"object"==typeof s?k(e[t],s):e[t]=s);return e},g=function(t){var e,r,n,s,o;for(r=e=0,s=0,o=t.length;s<o;s++)n=t[s],r+=Math.abs(n),e++;return r/e},x=function(t,e){var r,n;if(null==t&&(t="options"),null==e&&(e=!0),n=document.querySelector("[data-pace-"+t+"]")){if(r=n.getAttribute("data-pace-"+t),!e)return r;try{return JSON.parse(r)}catch(t){return"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",t):void 0}}},$.prototype.on=function(t,e,r,n){var s;return null==n&&(n=!1),null==this.bindings&&(this.bindings={}),null==(s=this.bindings)[t]&&(s[t]=[]),this.bindings[t].push({handler:e,ctx:r,once:n})},$.prototype.once=function(t,e,r){return this.on(t,e,r,!0)},$.prototype.off=function(t,e){var r,n,s;if(null!=(null!=(n=this.bindings)?n[t]:void 0)){if(null==e)return delete this.bindings[t];for(r=0,s=[];r<this.bindings[t].length;)this.bindings[t][r].handler===e?s.push(this.bindings[t].splice(r,1)):s.push(r++);return s}},$.prototype.trigger=function(){var t,e,r,n,s,o,i,a,u;if(r=arguments[0],t=2<=arguments.length?V.call(arguments,1):[],null!=(i=this.bindings)?i[r]:void 0){for(s=0,u=[];s<this.bindings[r].length;)n=(a=this.bindings[r][s]).handler,e=a.ctx,o=a.once,n.apply(null!=e?e:this,t),o?u.push(this.bindings[r].splice(s,1)):u.push(s++);return u}},s=$,v=window.Pace||{},window.Pace=v,k(v,s.prototype),j=v.options=k({},y,window.paceOptions,x()),I=0,G=(J=["ajax","document","eventLag","elements"]).length;I<G;I++)!0===j[C=J[I]]&&(j[C]=y[C]);function tt(){return tt.__super__.constructor.apply(this,arguments)}function et(){this.progress=0}function rt(){this.bindings={}}function nt(){var r,o=this;nt.__super__.constructor.apply(this,arguments),r=function(n){var s;return s=n.open,n.open=function(t,e,r){return F(t)&&o.trigger("request",{type:t,url:e,request:n}),s.apply(n,arguments)}},window.XMLHttpRequest=function(t){var e;return e=new H(t),r(e),e};try{q(window.XMLHttpRequest,H)}catch(t){}if(null!=D){window.XDomainRequest=function(){var t;return t=new D,r(t),t};try{q(window.XDomainRequest,D)}catch(t){}}if(null!=X&&j.ajax.trackWebSockets){window.WebSocket=function(t,e){var r;return r=null!=e?new X(t,e):new X(t),F("socket")&&o.trigger("request",{type:"socket",url:t,protocols:e,request:r}),r};try{q(window.WebSocket,X)}catch(t){}}}function st(){var t=this;this.elements=[],L().on("request",function(){return t.watch.apply(t,arguments)})}function ot(t){this.selector=t,this.progress=0,this.check()}function it(){var t,e,r=this;this.progress=null!=(e=this.states[document.readyState])?e:100,t=document.onreadystatechange,document.onreadystatechange=function(){return null!=r.states[document.readyState]&&(r.progress=r.states[document.readyState]),"function"==typeof t?t.apply(null,arguments):void 0}}function at(t){this.source=t,this.last=this.sinceLastUpdate=0,this.rate=j.initialRate,this.catchup=0,this.progress=this.lastProgress=0,null!=this.source&&(this.progress=A(this.source,"progress"))}Q=Error,t(tt,Q),a=tt,et.prototype.getElement=function(){var t;if(null==this.el){if(!(t=document.querySelector(j.target)))throw new a;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='<div class="pace-progress">\n  <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>',null!=t.firstChild?t.insertBefore(this.el,t.firstChild):t.appendChild(this.el)}return this.el},et.prototype.finish=function(){var t;return(t=this.getElement()).className=t.className.replace("pace-active",""),t.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},et.prototype.update=function(t){return this.progress=t,this.render()},et.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(t){a=t}return this.el=void 0},et.prototype.render=function(){var t,e,r,n,s,o,i;if(null==document.querySelector(j.target))return!1;for(t=this.getElement(),n="translate3d("+this.progress+"%, 0, 0)",s=0,o=(i=["webkitTransform","msTransform","transform"]).length;s<o;s++)e=i[s],t.children[0].style[e]=n;if(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0){document.documentElement.style.setProperty("--theme-loading-progress",(0|this.progress)+"%");var a=document.querySelector("la-loader-ss");a&&"body"==j.target&&a.setAttribute("data-progress-text",(0|this.progress)+"%"),t.children[0].setAttribute("data-progress-text",(0|this.progress)+"%"),100<=this.progress?r="99":(r=this.progress<10?"0":"",r+=0|this.progress),t.children[0].setAttribute("data-progress",""+r)}return this.lastRenderedProgress=this.progress},et.prototype.done=function(){return 100<=this.progress},c=et,rt.prototype.trigger=function(t,e){var r,n,s,o,i;if(null!=this.bindings[t]){for(i=[],n=0,s=(o=this.bindings[t]).length;n<s;n++)r=o[n],i.push(r.call(this,e));return i}},rt.prototype.on=function(t,e){var r;return null==(r=this.bindings)[t]&&(r[t]=[]),this.bindings[t].push(e)},i=rt,H=window.XMLHttpRequest,D=window.XDomainRequest,X=window.WebSocket,q=function(t,e){var r,n;for(r in n=[],e.prototype)try{null==t[r]&&"function"!=typeof e[r]?"function"==typeof Object.defineProperty?n.push(Object.defineProperty(t,r,{get:function(){return e.prototype[r]},configurable:!0,enumerable:!0})):n.push(t[r]=e.prototype[r]):n.push(void 0)}catch(t){t}return n},T=[],v.ignore=function(){var t,e,r;return e=arguments[0],t=2<=arguments.length?V.call(arguments,1):[],T.unshift("ignore"),r=e.apply(null,t),T.shift(),r},v.track=function(){var t,e,r;return e=arguments[0],t=2<=arguments.length?V.call(arguments,1):[],T.unshift("track"),r=e.apply(null,t),T.shift(),r},F=function(t){var e;if(null==t&&(t="GET"),"track"===T[0])return"force";if(!T.length&&j.ajax){if("socket"===t&&j.ajax.trackWebSockets)return!0;if(e=t.toUpperCase(),0<=Z.call(j.ajax.trackMethods,e))return!0}return!1},t(nt,i),l=nt,z=null,_=function(t){var e,r,n,s;for(r=0,n=(s=j.ajax.ignoreURLs).length;r<n;r++)if("string"==typeof(e=s[r])){if(-1!==t.indexOf(e))return!0}else if(e.test(t))return!0;return!1},(L=function(){return null==z&&(z=new l),z})().on("request",function(t){var e,o,i,a,r;if(a=t.type,i=t.request,r=t.url,!_(r))return v.running||!1===j.restartOnRequestAfter&&"force"!==F(a)?void 0:(o=arguments,"boolean"==typeof(e=j.restartOnRequestAfter||0)&&(e=0),setTimeout(function(){var t,e,r,n,s;if("socket"===a?i.readyState<2:0<(r=i.readyState)&&r<4){for(v.restart(),s=[],t=0,e=(n=v.sources).length;t<e;t++){if((C=n[t])instanceof u){C.watch.apply(C,o);break}s.push(void 0)}return s}},e))}),st.prototype.watch=function(t){var e,r,n,s;if(n=t.type,e=t.request,s=t.url,!_(s))return r="socket"===n?new h(e):new d(e),this.elements.push(r)},u=st,d=function(e){var t,r,n,s,o,i=this;if(this.progress=0,null!=window.ProgressEvent)for(e.addEventListener("progress",function(t){return t.lengthComputable?i.progress=100*t.loaded/t.total:i.progress=i.progress+(100-i.progress)/2},!1),r=0,n=(o=["load","abort","timeout","error"]).length;r<n;r++)t=o[r],e.addEventListener(t,function(){return i.progress=100},!1);else s=e.onreadystatechange,e.onreadystatechange=function(){var t;return 0===(t=e.readyState)||4===t?i.progress=100:3===e.readyState&&(i.progress=50),"function"==typeof s?s.apply(null,arguments):void 0}},h=function(t){var e,r,n,s,o=this;for(r=this.progress=0,n=(s=["error","open"]).length;r<n;r++)e=s[r],t.addEventListener(e,function(){return o.progress=100},!1)},r=function(t){var e,r,n,s;for(null==t&&(t={}),this.elements=[],null==t.selectors&&(t.selectors=[]),r=0,n=(s=t.selectors).length;r<n;r++)e=s[r],this.elements.push(new o(e))},ot.prototype.check=function(){var t=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return t.check()},j.elements.checkInterval)},ot.prototype.done=function(){return this.progress=100},o=ot,it.prototype.states={loading:0,interactive:50,complete:100},e=it,n=function(){var e,r,n,s,o,i=this;this.progress=0,o=[],s=e=0,n=E(),r=setInterval(function(){var t;return t=E()-n-50,n=E(),o.push(t),o.length>j.eventLag.sampleCount&&o.shift(),e=g(o),++s>=j.eventLag.minSamples&&e<j.eventLag.lagThreshold?(i.progress=100,clearInterval(r)):i.progress=3/(e+3)*100},50)},at.prototype.tick=function(t,e){var r;return null==e&&(e=A(this.source,"progress")),100<=e&&(this.done=!0),e===this.last?this.sinceLastUpdate+=t:(this.sinceLastUpdate&&(this.rate=(e-this.last)/this.sinceLastUpdate),this.catchup=(e-this.progress)/j.catchupTime,this.sinceLastUpdate=0,this.last=e),e>this.progress&&(this.progress+=this.catchup*t),r=1-Math.pow(this.progress/100,j.easeFactor),this.progress+=r*this.rate*t,this.progress=Math.min(this.lastProgress+j.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},w=at,S=f=W=b=N=U=null,v.running=!1,P=function(){if(j.restartOnPushState)return v.restart()},null!=window.history.pushState&&(B=window.history.pushState,window.history.pushState=function(){return P(),B.apply(window.history,arguments)}),null!=window.history.replaceState&&(K=window.history.replaceState,window.history.replaceState=function(){return P(),K.apply(window.history,arguments)}),p={ajax:u,elements:r,document:e,eventLag:n},(R=function(){var t,e,r,n,s,o,i,a;for(v.sources=U=[],e=0,n=(o=["ajax","elements","document","eventLag"]).length;e<n;e++)!1!==j[t=o[e]]&&U.push(new p[t](j[t]));for(r=0,s=(a=null!=(i=j.extraSources)?i:[]).length;r<s;r++)C=a[r],U.push(new C(j));return v.bar=b=new c,N=[],W=new w})(),v.stop=function(){return v.trigger("stop"),v.running=!1,b.destroy(),S=!0,null!=f&&("function"==typeof m&&m(f),f=null),R()},v.restart=function(){return v.trigger("restart"),v.stop(),v.start()},v.go=function(){var y;return v.running=!0,b.render(),y=E(),S=!1,f=M(function(t,e){var r,n,s,o,i,a,u,c,l,p,h,d,f,g,m;for(100-b.progress,n=p=0,s=!0,a=h=0,f=U.length;h<f;a=++h)for(C=U[a],l=null!=N[a]?N[a]:N[a]=[],u=d=0,g=(i=null!=(m=C.elements)?m:[C]).length;d<g;u=++d)o=i[u],s&=(c=null!=l[u]?l[u]:l[u]=new w(o)).done,c.done||(n++,p+=c.tick(t));return r=p/n,b.update(W.tick(t,r)),b.done()||s||S?(b.update(100),v.trigger("done"),setTimeout(function(){return b.finish(),v.running=!1,v.trigger("hide")},Math.max(j.ghostTime,Math.max(j.minTime-(E()-y),0)))):e()})},v.start=function(t){k(j,t),v.running=!0;try{b.render()}catch(t){a=t}return document.querySelector(".pace")?(v.trigger("start"),v.go()):setTimeout(v.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return v}):"object"==typeof exports?module.exports=v:j.startOnPageLoad&&v.start()}).call(this);
!function(e,t,n){function r(e,t){return typeof e===t}function o(){var e,t,n,o,i,a,s;for(var l in S)if(S.hasOwnProperty(l)){if(e=[],t=S[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(o=r(t.fn,"function")?t.fn():t.fn,i=0;i<e.length;i++)a=e[i],s=a.split("."),1===s.length?Modernizr[s[0]]=o:(!Modernizr[s[0]]||Modernizr[s[0]]instanceof Boolean||(Modernizr[s[0]]=new Boolean(Modernizr[s[0]])),Modernizr[s[0]][s[1]]=o),C.push((o?"":"no-")+s.join("-"))}}function i(e){var t=x.className,n=Modernizr._config.classPrefix||"";if(_&&(t=t.baseVal),Modernizr._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}Modernizr._config.enableClasses&&(t+=" "+n+e.join(" "+n),_?x.className.baseVal=t:x.className=t)}function a(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function s(e,t){return!!~(""+e).indexOf(t)}function l(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):_?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function u(){var e=t.body;return e||(e=l(_?"svg":"body"),e.fake=!0),e}function c(e,n,r,o){var i,a,s,c,f="modernizr",d=l("div"),p=u();if(parseInt(r,10))for(;r--;)s=l("div"),s.id=o?o[r]:f+(r+1),d.appendChild(s);return i=l("style"),i.type="text/css",i.id="s"+f,(p.fake?p:d).appendChild(i),p.appendChild(d),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(t.createTextNode(e)),d.id=f,p.fake&&(p.style.background="",p.style.overflow="hidden",c=x.style.overflow,x.style.overflow="hidden",x.appendChild(p)),a=n(d,e),p.fake?(p.parentNode.removeChild(p),x.style.overflow=c,x.offsetHeight):d.parentNode.removeChild(d),!!a}function f(e,t){return function(){return e.apply(t,arguments)}}function d(e,t,n){var o;for(var i in e)if(e[i]in t)return n===!1?e[i]:(o=t[e[i]],r(o,"function")?f(o,n||t):o);return!1}function p(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function m(t,n,r){var o;if("getComputedStyle"in e){o=getComputedStyle.call(e,t,n);var i=e.console;if(null!==o)r&&(o=o.getPropertyValue(r));else if(i){var a=i.error?"error":"log";i[a].call(i,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else o=!n&&t.currentStyle&&t.currentStyle[r];return o}function h(t,r){var o=t.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(p(t[o]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var i=[];o--;)i.push("("+p(t[o])+":"+r+")");return i=i.join(" or "),c("@supports ("+i+"){ #modernizr { position: absolute; }}",function(e){return"absolute"==m(e,null,"position")})}return n}function g(e,t,o,i){function u(){f&&(delete P.style,delete P.modElem)}if(i=r(i,"undefined")?!1:i,!r(o,"undefined")){var c=h(e,o);if(!r(c,"undefined"))return c}for(var f,d,p,m,g,v=["modernizr","tspan","samp"];!P.style&&v.length;)f=!0,P.modElem=l(v.shift()),P.style=P.modElem.style;for(p=e.length,d=0;p>d;d++)if(m=e[d],g=P.style[m],s(m,"-")&&(m=a(m)),P.style[m]!==n){if(i||r(o,"undefined"))return u(),"pfx"==t?m:!0;try{P.style[m]=o}catch(y){}if(P.style[m]!=g)return u(),"pfx"==t?m:!0}return u(),!1}function v(e,t,n,o,i){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+T.join(a+" ")+a).split(" ");return r(t,"string")||r(t,"undefined")?g(s,t,o,i):(s=(e+" "+N.join(a+" ")+a).split(" "),d(s,t,n))}function y(e,t,r){return v(e,n,n,t,r)}var C=[],S=[],E={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){S.push({name:e,fn:t,options:n})},addAsyncTest:function(e){S.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=E,Modernizr=new Modernizr;var b=E._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];E._prefixes=b;var x=t.documentElement,_="svg"===x.nodeName.toLowerCase();_||!function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=C.elements;return"string"==typeof e?e.split(" "):e}function o(e,t){var n=C.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),C.elements=n+" "+e,u(t)}function i(e){var t=y[e[g]];return t||(t={},v++,e[g]=v,y[v]=t),t}function a(e,n,r){if(n||(n=t),f)return n.createElement(e);r||(r=i(n));var o;return o=r.cache[e]?r.cache[e].cloneNode():h.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!o.canHaveChildren||m.test(e)||o.tagUrn?o:r.frag.appendChild(o)}function s(e,n){if(e||(e=t),f)return e.createDocumentFragment();n=n||i(e);for(var o=n.frag.cloneNode(),a=0,s=r(),l=s.length;l>a;a++)o.createElement(s[a]);return o}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return C.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(C,t.frag)}function u(e){e||(e=t);var r=i(e);return!C.shivCSS||c||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),f||l(e,r),e}var c,f,d="3.7.3",p=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",v=0,y={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",c="hidden"in e,f=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){c=!0,f=!0}}();var C={elements:p.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:d,shivCSS:p.shivCSS!==!1,supportsUnknownElements:f,shivMethods:p.shivMethods!==!1,type:"default",shivDocument:u,createElement:a,createDocumentFragment:s,addElements:o};e.html5=C,u(t),"object"==typeof module&&module.exports&&(module.exports=C)}("undefined"!=typeof e?e:this,t);var w="Moz O ms Webkit",N=E._config.usePrefixes?w.toLowerCase().split(" "):[];E._domPrefixes=N;var T=E._config.usePrefixes?w.split(" "):[];E._cssomPrefixes=T;var z=function(t){var r,o=b.length,i=e.CSSRule;if("undefined"==typeof i)return n;if(!t)return!1;if(t=t.replace(/^@/,""),r=t.replace(/-/g,"_").toUpperCase()+"_RULE",r in i)return"@"+t;for(var a=0;o>a;a++){var s=b[a],l=s.toUpperCase()+"_"+r;if(l in i)return"@-"+s.toLowerCase()+"-"+t}return!1};E.atRule=z;var j=E.testStyles=c;Modernizr.addTest("touchevents",function(){var n;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var r=["@media (",b.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");j(r,function(e){n=9===e.offsetTop})}return n});var k={elem:l("modernizr")};Modernizr._q.push(function(){delete k.elem});var P={style:k.elem.style};Modernizr._q.unshift(function(){delete P.style});E.testProp=function(e,t,r){return g([e],n,t,r)};E.testAllProps=v;E.prefixed=function(e,t,n){return 0===e.indexOf("@")?z(e):(-1!=e.indexOf("-")&&(e=a(e)),t?v(e,t,n):v(e,"pfx"))};E.testAllProps=y,Modernizr.addTest("cssanimations",y("animationName","a",!0)),Modernizr.addTest("backgroundcliptext",function(){return y("backgroundClip","text")}),Modernizr.addTest("csstransitions",y("transition","all",!0)),o(),i(C),delete E.addTest,delete E.addAsyncTest;for(var F=0;F<Modernizr._q.length;F++)Modernizr._q[F]();e.Modernizr=Modernizr}(window,document);
!function(w){"use strict";function i(t,o){function n(t,o,s){var e={},i=t[0].style;s.forEach(function(t){e[t]="left"===t?"":void 0!==i[t]?i[t]:""}),t.data("css-backup-"+o,e)}function a(t,o){return t.data("css-backup-"+o)}function s(){n(p,"unsticky",["position","width","margin-top","margin-bottom","top","bottom"]);var t={position:"fixed",width:k(p,"width"),marginTop:0,marginBottom:0};t[l.to]=l.offset,t["top"===l.to?"bottom":"top"]="";var o=p.offset().left;t.left=o,p.css(t).addClass(l.classes.stickyActive)}function e(){p.css(a(p,"unsticky")).css("left","").removeClass(l.classes.stickyActive)}function c(t){var o=y.$window.scrollTop(),s=k(t,"height"),e=innerHeight,i=t.offset().top-o,r=i-e;return{top:{fromTop:i,fromBottom:r},bottom:{fromTop:i+s,fromBottom:r+s}}}function i(){y.$spacer=p.clone().addClass(l.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),p.after(y.$spacer),s(),m=!0,p.trigger("sticky:stick")}function r(){e(),y.$spacer.remove(),m=!1,p.trigger("sticky:unstick")}function f(){var t=c(p),o="top"===l.to;if(d){(o?t.top.fromTop>l.offset:t.bottom.fromBottom<-l.offset)&&(y.$parent.css(a(y.$parent,"childNotFollowing")),p.css(a(p,"notFollowing")).css("left",""),d=!1)}else{var s=c(y.$parent),e=getComputedStyle(y.$parent[0]),i=parseFloat(e[o?"borderBottomWidth":"borderTopWidth"]),r=o?s.bottom.fromTop-i:s.top.fromBottom+i;(o?r<=t.bottom.fromTop:r>=t.top.fromBottom)&&function(){n(y.$parent,"childNotFollowing",["position"]),y.$parent.css("position","relative"),n(p,"notFollowing",["position","top","bottom"]);var t={position:"absolute"};t[l.to]="",t["top"===l.to?"bottom":"top"]=0,p.css(t).css("left",""),d=!0}()}}var p,l,m=!1,d=!1,u=!1,y={},h=(w("body").hasClass("rtl"),{to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"}}),k=function(t,o,s){var e=getComputedStyle(t[0]),i=parseFloat(e[o]),r="height"===o?["top","bottom"]:["left","right"],n=[];return"border-box"!==e.boxSizing&&n.push("border","padding"),s&&n.push("margin"),n.forEach(function(o){r.forEach(function(t){i+=parseFloat(e[o+"-"+t])})}),i},v=function(){var t,o=l.offset;if(m){var s=c(y.$spacer);t="top"===l.to?s.top.fromTop-o:-s.bottom.fromBottom-o,l.parent&&f(),0<t&&r()}else{var e=c(p);(t="top"===l.to?e.top.fromTop-o:-e.bottom.fromBottom-o)<=0&&(i(),l.parent&&f())}!function(t){u&&-t<l.effectsOffset?(p.removeClass(l.classes.stickyEffects),u=!1):!u&&-t>=l.effectsOffset&&(p.addClass(l.classes.stickyEffects),u=!0)}(t)},g=function(){v()},b=function(){m&&(e(),s())};this.destroy=function(){m&&r(),y.$window.off("scroll",g).off("resize",b),p.removeClass(l.classes.sticky)},l=jQuery.extend(!0,h,o),p=w(t).addClass(l.classes.sticky),y.$window=w(window),l.parent&&("parent"===l.parent?y.$parent=p.parent():p.closest(l.parent).length?y.$parent=p.closest(l.parent):y.$parent=w(l.parent)),y.$window.on({scroll:g,resize:b}),v()}w.fn.lasfsticky=function(s){var e="string"==typeof s;return this.each(function(){var t=w(this);if(e){var o=t.data("sticky");if(!o)throw Error("Trying to perform the `"+s+"` method prior to initialization");if(!o[s])throw ReferenceError("Method `"+s+"` not found in sticky instance");o[s].apply(o,Array.prototype.slice.call(arguments,1)),"destroy"===s&&t.removeData("sticky")}else t.data("sticky",new i(this,s))}),this},window.LASFSticky=i}(jQuery);
!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(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(e,t){return i('<button type="button" />').text(t+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:0,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},n.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},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>0){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(e=this.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>0&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=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?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+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(i):n.$slideTrack.children(".slick-slide").eq(i+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},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);if(i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),-1!==s){var n="slick-slide-control"+e.instanceUid+s;i("#"+n).length&&i(this).attr({"aria-describedby":n})}}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.options.focusOnChange?e.$slides.eq(s).attr({tabindex:"0"}):e.$slides.eq(s).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},r.src=t})}var t,o,s,n=this;if(!0===n.options.centerMode?!0===n.options.infinite?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),!0===n.options.fade&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),"anticipated"===n.options.lazyLoad)for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)r<0&&(r=n.slideCount-1),t=(t=t.add(d.eq(r))).add(d.eq(l)),r--,l++;e(t),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=(n.options.slidesToShow,0);e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned clone");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===i))if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t&&a.slideCount>a.options.slidesToShow?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active dots-prev dots-next").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).prev().length?i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).prev().addClass("dots-prev"):i.slideCount>2&&i.$dots.find("li").eq(i.slideCount-1).addClass("dots-prev"),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).next().length?i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).next().addClass("dots-next"):i.slideCount>2&&i.$dots.find("li").eq(0).addClass("dots-next"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}});
!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(u){"use strict";if(void 0!==u)if(u.fn.jquery.match(/-ajax/))"console"in window&&window.console.info("Featherlight needs regular jQuery, not the slim version.");else{var r=[],i=function(t){return r=u.grep(r,function(e){return e!==t&&0<e.$instance.closest("body").length})},o={allow:1,allowfullscreen:1,frameborder:1,height:1,longdesc:1,marginheight:1,marginwidth:1,mozallowfullscreen:1,name:1,referrerpolicy:1,sandbox:1,scrolling:1,src:1,srcdoc:1,style:1,webkitallowfullscreen:1,width:1},n={keyup:"onKeyUp",resize:"onResize"},a=function(e){u.each(c.opened().reverse(),function(){if(!e.isDefaultPrevented()&&!1===this[n[e.type]](e))return e.preventDefault(),e.stopPropagation(),!1})},s=function(e){if(e!==c._globalHandlerInstalled){c._globalHandlerInstalled=e;var t=u.map(n,function(e,t){return t+"."+c.prototype.namespace}).join(" ");u(window)[e?"on":"off"](t,a)}};c.prototype={constructor:c,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"&#10005;",loading:"",persist:!1,otherClose:null,beforeOpen:u.noop,beforeContent:u.noop,beforeClose:u.noop,afterOpen:u.noop,afterContent:u.noop,afterClose:u.noop,onKeyUp:u.noop,onResize:u.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(e,t){"object"!=typeof e||e instanceof u!=!1||t||(t=e,e=void 0);var n=u.extend(this,t,{target:e}),r=n.resetCss?n.namespace+"-reset":n.namespace,i=u(n.background||['<div class="'+r+"-loading "+r+'">','<div class="'+r+'-content">','<button class="'+r+"-close-icon "+n.namespace+'-close" aria-label="Close">',n.closeIcon,"</button>",'<div class="'+n.namespace+'-inner">'+n.loading+"</div>","</div>","</div>"].join("")),o="."+n.namespace+"-close"+(n.otherClose?","+n.otherClose:"");return n.$instance=i.clone().addClass(n.variant),n.$instance.on(n.closeTrigger+"."+n.namespace,function(e){if(!e.isDefaultPrevented()){var t=u(e.target);("background"===n.closeOnClick&&t.is("."+n.namespace)||"anywhere"===n.closeOnClick||t.closest(o).length)&&(n.close(e),e.preventDefault())}}),this},getContent:function(){if(!1!==this.persist&&this.$content)return this.$content;function e(e){return t.$currentTarget&&t.$currentTarget.attr(e)}var t=this,n=this.constructor.contentFilters,r=e(t.targetAttr),i=t.target||r||"",o=n[t.type];if(!o&&i in n&&(o=n[i],i=t.target&&r),i=i||e("href")||"",!o)for(var a in n)t[a]&&(o=n[a],i=t[a]);if(!o){var s=i;if(i=null,u.each(t.contentFilters,function(){return(o=n[this]).test&&(i=o.test(s)),!i&&o.regex&&s.match&&s.match(o.regex)&&(i=s),!i}),!i)return"console"in window&&window.console.error("Featherlight: no content filter found "+(s?' for "'+s+'"':" (no target specified)")),!1}return o.process.call(t,i)},setContent:function(e){return this.$instance.removeClass(this.namespace+"-loading"),this.$instance.toggleClass(this.namespace+"-iframe",e.is("iframe")),this.$instance.find("."+this.namespace+"-inner").not(e).slice(1).remove().end().replaceWith(u.contains(this.$instance[0],e[0])?"":e),this.$content=e.addClass(this.namespace+"-inner"),this},open:function(t){var n=this;if(n.$instance.hide().appendTo(n.root),!(t&&t.isDefaultPrevented()||!1===n.beforeOpen(t))){t&&t.preventDefault();var e=n.getContent();if(e)return r.push(n),s(!0),n.$instance.fadeIn(n.openSpeed),n.beforeContent(t),u.when(e).always(function(e){e&&(n.setContent(e),n.afterContent(t))}).then(n.$instance.promise()).done(function(){n.afterOpen(t)})}return n.$instance.detach(),u.Deferred().reject().promise()},close:function(e){var t=this,n=u.Deferred();return!1===t.beforeClose(e)?n.reject():(0===i(t).length&&s(!1),t.$instance.fadeOut(t.closeSpeed,function(){t.$instance.detach(),t.afterClose(e),n.resolve()})),n.promise()},resize:function(e,t){if(e&&t){this.$content.css("width","").css("height","");var n=Math.max(e/(this.$content.parent().width()-1),t/(this.$content.parent().height()-1));1<n&&(n=t/Math.floor(t/n),this.$content.css("width",e/n+"px").css("height",t/n+"px"))}},chainCallbacks:function(e){for(var t in e)this[t]=u.proxy(e[t],this,u.proxy(this[t],this))}},u.extend(c,{id:0,autoBind:"[data-featherlight]",defaults:c.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(e){return e instanceof u&&e},process:function(e){return!1!==this.persist?u(e):u(e).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff?|bmp|svg)(\?\S*)?$/i,process:function(e){var t=u.Deferred(),n=new Image,r=u('<img src="'+e+'" alt="" class="'+this.namespace+'-image" />');return n.onload=function(){r.naturalWidth=n.width,r.naturalHeight=n.height,t.resolve(r)},n.onerror=function(){t.reject(r)},n.src=e,t.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(e){return u(e)}},ajax:{regex:/./,process:function(e){var n=u.Deferred(),r=u("<div></div>").load(e,function(e,t){"error"!==t&&n.resolve(r.contents()),n.reject()});return n.promise()}},iframe:{process:function(e){var t=new u.Deferred,n=u("<iframe/>"),r=function(e,t){var n={},r=new RegExp("^"+t+"([A-Z])(.*)");for(var i in e){var o=i.match(r);if(o)n[(o[1]+o[2].replace(/([A-Z])/g,"-$1")).toLowerCase()]=e[i]}return n}(this,"iframe"),i=function(e,t){var n={};for(var r in e)r in t&&(n[r]=e[r],delete e[r]);return n}(r,o);return n.hide().attr("src",e).attr(i).css(r).on("load",function(){t.resolve(n.show())}).appendTo(this.$instance.find("."+this.namespace+"-content")),t.promise()}},text:{process:function(e){return u("<div>",{text:e})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(e,t){var r=this,i=new RegExp("^data-"+t+"-(.*)"),o={};return e&&e.attributes&&u.each(e.attributes,function(){var e=this.name.match(i);if(e){var t=this.value,n=u.camelCase(e[1]);if(0<=u.inArray(n,r.functionAttributes))t=new Function(t);else try{t=JSON.parse(t)}catch(e){}o[n]=t}}),o},extend:function(e,t){function n(){this.constructor=e}return n.prototype=this.prototype,e.prototype=new n,e.__super__=this.prototype,u.extend(e,this,t),e.defaults=e.prototype,e},attach:function(i,o,a){var s=this;"object"!=typeof o||o instanceof u!=!1||a||(a=o,o=void 0);function e(e){var t=u(e.currentTarget),n=u.extend({$source:i,$currentTarget:t},s.readElementConfig(i[0],l.namespace),s.readElementConfig(e.currentTarget,l.namespace),a),r=c||t.data("featherlight-persisted")||new s(o,n);"shared"===r.persist?c=r:!1!==r.persist&&t.data("featherlight-persisted",r),n.$currentTarget.blur&&n.$currentTarget.blur(),r.open(e)}var c,t=(a=u.extend({},a)).namespace||s.defaults.namespace,l=u.extend({},s.defaults,s.readElementConfig(i[0],t),a);return i.on(l.openTrigger+"."+l.namespace,l.filter,e),{filter:l.filter,handler:e}},current:function(){var e=this.opened();return e[e.length-1]||null},opened:function(){var t=this;return i(),u.grep(r,function(e){return e instanceof t})},close:function(e){var t=this.current();if(t)return t.close(e)},_onReady:function(){var r=this;if(r.autoBind){var i=u(r.autoBind);i.each(function(){r.attach(u(this))}),u(document).on("click",r.autoBind,function(e){if(!e.isDefaultPrevented()){var t=u(e.currentTarget);if(i.length!==(i=i.add(t)).length){var n=r.attach(t);(!n.filter||0<u(e.target).parentsUntil(t,n.filter).length)&&n.handler(e)}}})}},_callbackChain:{onKeyUp:function(e,t){return 27===t.keyCode?(this.closeOnEsc&&u.featherlight.close(t),!1):e(t)},beforeOpen:function(e,t){return u(document.documentElement).addClass("with-featherlight"),this._previouslyActive=document.activeElement,this._$previouslyTabbable=u("a, input, select, textarea, iframe, button, iframe, [contentEditable=true]").not("[tabindex]").not(this.$instance.find("button")),this._$previouslyWithTabIndex=u("[tabindex]").not('[tabindex="-1"]'),this._previousWithTabIndices=this._$previouslyWithTabIndex.map(function(e,t){return u(t).attr("tabindex")}),this._$previouslyWithTabIndex.add(this._$previouslyTabbable).attr("tabindex",-1),document.activeElement.blur&&document.activeElement.blur(),e(t)},afterClose:function(e,t){var n=e(t),r=this;return this._$previouslyTabbable.removeAttr("tabindex"),this._$previouslyWithTabIndex.each(function(e,t){u(t).attr("tabindex",r._previousWithTabIndices[e])}),this._previouslyActive.focus(),0===c.opened().length&&u(document.documentElement).removeClass("with-featherlight"),n},onResize:function(e,t){return this.resize(this.$content.naturalWidth,this.$content.naturalHeight),e(t)},afterContent:function(e,t){var n=e(t);return this.$instance.find("[autofocus]:not([disabled])").focus(),this.onResize(t),n}}}),u.featherlight=c,u.fn.featherlight=function(e,t){return c.attach(this,e,t),this},u(document).ready(function(){c._onReady()})}else"console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery.");function c(e,t){if(!(this instanceof c)){var n=new c(e,t);return n.open(),n}this.id=c.id++,this.setup(e,t),this.chainCallbacks(c._callbackChain)}});
var doPolyfills=function(){jQuery.getScript(la_theme_config.js_path+la_theme_config.polyfills.css_vars,function(){cssVars()})};"always"===la_theme_config.polyfills.method?doPolyfills():"request"===la_theme_config.polyfills.method&&(window.CSS&&window.CSS.supports&&window.CSS.supports("(--foo: red)")||doPolyfills()),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(o,e){"use strict";if(null==o)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(o),l=1;l<arguments.length;l++){var n=arguments[l];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},writable:!0,configurable:!0});
(function(a){'use strict';var b=function(b,c){if(this.$target=b,this.$images=a(".woocommerce-product-gallery__image",b),!b.parent(".product--large-image").data("old_gallery")){var d=b.find(".woocommerce-product-gallery__wrapper").html();b.parent(".product--large-image").data("old_gallery",d).data("prev_gallery",d)}if(!b.parent(".product--large-image").data("gallery_action")){var e=b.find(".woocommerce-product-gallery__actions").clone();e.find(".woocommerce-product-gallery__trigger").remove();var d="<div class=\"woocommerce-product-gallery__actions\">";d+=e.html(),d+="</div>",b.parent(".product--large-image").data("gallery_action",d)}if(this.$target.parent().attr("data-totalG",this.$images.length),0===this.$images.length)return this.$target.css("opacity",1),void this.$target.parent().addClass("no-gallery");1===this.$images.length?this.$target.parent().addClass("no-gallery"):this.$target.parent().removeClass("no-gallery"),b.data("product_gallery",this),this.flexslider_enabled=!0,(b.hasClass("no-slider-script")||b.hasClass("force-disable-slider-script"))&&(this.flexslider_enabled=!1),this.zoom_enabled=a.isFunction(a.fn.zoom)&&wc_single_product_params.zoom_enabled,this.photoswipe_enabled="undefined"!=typeof PhotoSwipe&&wc_single_product_params.photoswipe_enabled,c&&(this.flexslider_enabled=!1!==c.flexslider_enabled&&this.flexslider_enabled,this.zoom_enabled=!1!==c.zoom_enabled&&this.zoom_enabled,this.photoswipe_enabled=!1!==c.photoswipe_enabled&&this.photoswipe_enabled),b.hasClass("force-disable-slider-script")&&(this.flexslider_enabled=!1),this.thumb_verital=!1,2>this.$images.length&&(this.flexslider_enabled=!1);try{2==la_theme_config.product_single_design&&(this.thumb_verital=!0)}catch(a){this.thumb_verital=!1}if(this.parent_is_quickview=!1,b.closest(".featherlight").length&&(this.thumb_verital=!0,this.parent_is_quickview=!0),this.initSlickslider=this.initSlickslider.bind(this),this.initZoom=this.initZoom.bind(this),this.initPhotoswipe=this.initPhotoswipe.bind(this),this.onResetSlidePosition=this.onResetSlidePosition.bind(this),this.getGalleryItems=this.getGalleryItems.bind(this),this.openPhotoswipe=this.openPhotoswipe.bind(this),!this.flexslider_enabled)this.parent_is_quickview?a("body").removeClass("lightcase--pending").addClass("lightcase--completed"):setTimeout(function(){a("body").trigger("la_sticky:recalc")},200),this.$target.css("opacity",1),b.removeClass("la-rebuild-product-gallery").parent().removeClass("swatch-loading");else if(a.isFunction(a.fn.slick))this.initSlickslider(),b.on("woocommerce_gallery_reset_slide_position",this.onResetSlidePosition);else{var f=this;LaStudio.core.loadDependencies([LaStudio.global.loadJsFile("jquery.slick")],function(){f.initSlickslider(),b.on("woocommerce_gallery_reset_slide_position",f.onResetSlidePosition)})}this.zoom_enabled&&(this.initZoom(),b.on("woocommerce_gallery_init_zoom",this.initZoom)),this.photoswipe_enabled&&this.initPhotoswipe()};b.prototype.initSlickslider=function(){var b=this.$images,c=this.$target,d=c.find(".woocommerce-product-gallery__wrapper"),e=c.parent().find(".la-thumb-inner"),f=Math.floor(100*Math.random()+1),g="la_woo_thumb_"+f,h="la_woo_target_"+f,i=this.parent_is_quickview;d.attr("id",h),e.attr("id",g),b.each(function(){var b=a(this),c=b.find("a[data-videolink]").data("videolink"),f=d.css("height"),g="<div class=\"la-thumb\"><img src=\""+b.attr("data-thumb")+"\"/></div>";"undefined"!=typeof c&&c&&(b.unbind("click"),b.find(".zoomImg").css({display:"none!important"}),0==c.indexOf("http://selfhosted/")?(c=c.replace("http://selfhosted/",""),g="<div class=\"la-thumb has-thumb-video\"><div><img src=\""+b.attr("data-thumb")+"\"/><span class=\"play-overlay\"><i class=\"fa fa-play-circle-o\" aria-hidden=\"true\"></i></span></div></div>",b.append("<video class=\"selfhostedvid  noLightbox\" width=\"460\" height=\"315\" controls preload=\"auto\"><source src=\""+c+"\" /></video>"),b.attr("data-video","<div class=\"la-media-wrapper\"><video class=\"selfhostedvid  noLightbox\" width=\"460\" height=\"315\" controls preload=\"auto\"><source src=\""+c+"\" /></video></div>")):(g="<div class=\"la-thumb has-thumb-video\"><div><img src=\""+b.attr("data-thumb")+"\"/><span class=\"play-overlay\"><i class=\"fa-play-circle-o\"></i></span></div></div>",b.append("<iframe src=\""+c+"\" width=\"460\" \" style=\"height:"+f+"; z-index:999999;\" frameborder=\"no\"></iframe>"),b.attr("data-video","<div class=\"la-media-wrapper\"><iframe src=\""+c+"\" width=\"980\" height=\"551\" frameborder=\"no\" allowfullscreen></iframe></div>")),b.find("img").css({opacity:"0","z-index":"-1"}),b.find("iframe").next().remove()),e.append(g)});var j=a.extend({mobile:3,mobile_landscape:3,tablet:3,laptop:3,desktop:3},JSON.parse(la_theme_config.product_gallery_column)||{}),k={infinite:!1,slidesToShow:parseInt(j.desktop),slidesToScroll:1,asNavFor:"#"+h,dots:!1,arrows:!0,focusOnSelect:!0,prevArrow:"<span class=\"slick-prev\"><i class=\"lastudioicon-left-arrow\"></i></span>",nextArrow:"<span class=\"slick-next\"><i class=\"lastudioicon-right-arrow\"></i></span>",vertical:this.thumb_verital,responsive:[{breakpoint:1500,settings:{vertical:this.thumb_verital,slidesToShow:parseInt(j.laptop)}},{breakpoint:1300,settings:{vertical:this.thumb_verital,slidesToShow:parseInt(j.tablet)}},{breakpoint:800,settings:{vertical:!1,slidesToShow:parseInt(j.mobile_landscape)}},{breakpoint:577,settings:{vertical:!1,slidesToShow:parseInt(j.mobile)}}]};this.thumb_verital||(k.infinite=!1,k.centerMode=!1,k.centerPadding="0px");var l={infinite:!1,swipe:!0,slidesToShow:1,slidesToScroll:1,arrows:!0,asNavFor:"#"+g,prevArrow:"<span class=\"slick-prev\"><i class=\"lastudioicon-left-arrow\"></i></span>",nextArrow:"<span class=\"slick-next\"><i class=\"lastudioicon-right-arrow\"></i></span>",adaptiveHeight:!(1!=la_theme_config.product_single_design)};this.thumb_verital||(l.infinite=!1),5==la_theme_config.product_single_design?(i&&(j={mobile:1,mobile_landscape:1,tablet:1,laptop:1,desktop:1}),l.slidesToShow=parseInt(j.desktop),l.slidesToScroll=1,l.infinite=!0,l.asNavFor="",l.responsive=[{breakpoint:1500,settings:{vertical:this.thumb_verital,slidesToShow:parseInt(j.laptop)}},{breakpoint:1300,settings:{vertical:!1,slidesToShow:parseInt(j.tablet)}},{breakpoint:800,settings:{vertical:!1,slidesToShow:parseInt(j.mobile_landscape)}},{breakpoint:577,settings:{vertical:!1,slidesToShow:parseInt(j.mobile)}}]):e.slick(k),d.slick(l),LaStudio.global.LazyLoad(c.parent(),{rootMargin:"100px",load:function(){},complete:function(){LaStudio.global.eventManager.publish("LaStudio:Component:LazyLoadImage",[c.parent()]),c.css("opacity",1),5!=la_theme_config.product_single_design&&e.slick("setPosition"),c.parent().removeClass("swatch-loading"),i?setTimeout(function(){d.resize(),setTimeout(function(){a("body").removeClass("lightcase--pending").addClass("lightcase--completed")},50)},150):setTimeout(function(){a("body").trigger("la_sticky:recalc")},200)}}).observe()},b.prototype.initZoom=function(){this.initZoomForTarget(this.$images)},b.prototype.initZoomForTarget=function(b){if(!this.zoom_enabled)return!1;var c,d=this.$target.width(),e=!1;if(a(b).each(function(b,c){var f=a(c).find("img");if(f.data("large_image_width")>d)return e=!0,!1}),e){try{c=a.extend({touch:!1},wc_single_product_params.zoom_options)}catch(a){c={touch:!1}}"ontouchstart"in document.documentElement&&(c.on="click"),b.trigger("zoom.destroy"),b.zoom(c)}},b.prototype.initPhotoswipe=function(){this.zoom_enabled&&0<this.$images.length&&(this.$target.find(".woocommerce-product-gallery__actions").prepend("<a href=\"#\" class=\"woocommerce-product-gallery__trigger\"><span><i class=\"lastudioicon-full-screen\"></i></span></a>"),this.$target.on("click",".woocommerce-product-gallery__trigger",this.openPhotoswipe)),this.$target.on("click",".woocommerce-product-gallery__image a",this.openPhotoswipe)},b.prototype.onResetSlidePosition=function(){this.$target.parent().removeClass("swatch-loading"),this.$target.find(".woocommerce-product-gallery__wrapper").slick("slickGoTo",0)},b.prototype.getGalleryItems=function(){var b=this.$images,c=[];return console.log(b),0<b.length&&b.each(function(b,d){var e=a(d).find("img"),f=e.attr("data-large_image"),g=e.attr("data-large_image_width"),h=e.attr("data-large_image_height"),i={src:f,w:g,h:h,title:e.attr("title")};a(d).attr("data-video")&&(i={html:a(d).attr("data-video")}),c.push(i)}),c},b.prototype.openPhotoswipe=function(b){b.preventDefault();var c,d=a(".pswp")[0],e=this.getGalleryItems(),f=a(b.target);c=f.is(".woocommerce-product-gallery__trigger")?this.$target.find(".slick-current")||this.$target.find(".woocommerce-product-gallery__image").first():f.closest(".woocommerce-product-gallery__image");var g={index:a(c).index(),shareEl:!1,closeOnScroll:!1,history:!1,hideAnimationDuration:0,showAnimationDuration:0},h=new PhotoSwipe(d,PhotoSwipeUI_Default,e,g);h.init()},a.fn.lastudio_product_gallery=function(a){return new b(this,a),this}})(jQuery);
!function(h){"use strict";function o(e,a){this.recalc_needed=!0,this.variation_attributes=e,this.variations_available=a,this.variations_current={},this.variations_selected={},this.reset_current=function(){for(var e in this.variation_attributes){this.variations_current[e]={};for(var a=0;a<this.variation_attributes[e].length;a++)this.variations_current[e.toString()][this.variation_attributes[e][a].toString()]=0}},this.update_current=function(){this.reset_current();for(var e=0;e<this.variations_available.length;e++)if(this.variations_available[e].variation_is_active){var a=this.variations_available[e].attributes;for(var t in a){var i=a[t],s=this.variations_selected[t];if(s&&s==i)this.variations_current[t][i]=1;else{var r=!0;for(var l in this.variations_selected)if(l!=t){var n=this.variations_selected[l],o=a[l];n&&o&&n!=o&&(r=!1)}if(r)if(""===i)for(var c in this.variations_current[t])this.variations_current[t][c]=1;else this.variations_current[t][i]=1}}}this.recalc_needed=!1},this.get_current=function(){return this.recalc_needed&&this.update_current(),this.variations_current},this.reset_selected=function(){this.recalc_needed=!0,this.variations_selected={}},this.set_selected=function(e,a){this.recalc_needed=!0,this.variations_selected[e]=a},this.get_selected=function(){return this.variations_selected}}function n(e,a){var t=e.closest(".la-p-single-wrap").find(".product--large-image"),i="";if(null!==a)i=function(e){var t="";return void 0!==e&&h.isArray(e.la_additional_images)&&h.each(e.la_additional_images,function(e,a){t+='<div data-thumb="'+a.thumb[0]+'" class="woocommerce-product-gallery__image">',t+='<a href="'+a.large[0]+'" data-videolink="'+a.videolink+'">',t+='<span class="g-overlay" style="background-image: url('+a.large[0]+')"></span>',t+="<img ",t+='width="'+a.single[1]+'" ',t+='height="'+a.single[2]+'" ',t+='src="'+a.single[0]+'" ',t+='class="attachment-shop_single size-shop_single" ',t+='alt="'+a.alt+'" ',t+='title="'+a.title+'" ',t+='data-caption="'+a.caption+'" ',t+='data-src="'+a.large[0]+'" ',t+='data-large_image="'+a.large[0]+'" ',t+='data-large_image_width="'+a.large[1]+'" ',t+='data-large_image_height="'+a.large[2]+'" ',t+='srcset="'+a.srcset+'" ',t+='sizes="'+a.sizes+'" ',t+="</a>",t+="</div>"}),t}(a);else{var s=t.data("old_gallery")||!1;s&&(i=s)}if(""!=i){if(t.data("prev_gallery")){var r=h(t.data("prev_gallery")),l=h(i),n=!0;if(r.length==l.length)for(var o=0;o<r.length;o++)h(r[o]).attr("data-thumb")!=h(l[o]).attr("data-thumb")&&(n=!1);else n=!1;if(n)return}t.data("prev_gallery",i);var c='<div class="woocommerce-product-gallery--with-images la-woo-product-gallery'+(t.hasClass("force-disable-slider-script")?" force-disable-slider-script":"")+'">';t.data("gallery_action")&&(c+=t.data("gallery_action")),c+='<figure class="woocommerce-product-gallery__wrapper">'+i+'</figure><div class="la_woo_loading"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div></div></div>',c+='<div id="la_woo_thumbs" class="la-woo-thumbs"><div class="la-thumb-inner"></div></div>',t.removeAttr("data-element-loaded").css({"max-height":t.height(),"min-height":t.height()}).addClass("swatch-loading"),t.html(c);var d=t.find(".la-woo-product-gallery");null!==a&&d.addClass("la-rebuild-product-gallery"),d.lastudio_product_gallery().addClass("swatch-loaded"),t.css({"max-height":"none","min-height":"200px"})}}h.fn.lastudio_variation_form=function(){var s=this,t=parseInt(s.data("product_id"),10),i=null,l=!1,r=null;s.addClass("la-init-swatches"),s.find("td.label").each(function(){h(this).find("label").append('<span class="swatch-label"></span>')}),s.on("bind_calculator",function(){var e=s.data("product_variations");(l=!1===e)&&s.block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var n={};if(s.find(".select-option.selected").each(function(e,a){var t=h(this),i=t.closest("div.select").eq(0),s=i.closest("tr").find(".swatch-label").eq(0),r=i.find("select").first(),l=h("<div/>").html(t.data("value")).text();l=(l=l.replace(/'/g,"\\'")).replace(/"/g,'\\"'),s&&s.html(r.children("[value='"+l+"']").eq(0).text()),r.trigger("change")}),s.find(".variations select").each(function(e,a){var t=h(a),i=t.data("attribute_name")||t.attr("name");n[i]=[];var s;if((s=t.find("option:gt(0)").get()).length)for(var r=0;r<s.length;r++){var l=s[r];n[i].push(h(l).val())}}),l){r&&r.abort();var a={product_id:t,action:"la_swatch_get_product_variations"};r=h.ajax({url:la_theme_config.ajax_url,type:"POST",data:a,success:function(e){i=new o(n,e.data,null,null),s.unblock()}})}else i=new o(n,e,null,null);s.trigger("woocommerce_variation_has_changed")}),s.on("change",".wc-default-select",function(e){var a=h(this),t=a.closest("tr").find(".swatch-label").eq(0);""!=a.val()?t.html(a.find("option:selected").html()):t.html("")}),s.find(".wc-default-select").trigger("change"),s.on("click",".reset_variations",function(){return s.find(".swatch-label").html(""),s.find(".select-option").removeClass("selected"),s.find(".radio-option").prop("checked",!1),h("span.price",s.siblings(".single-price-wrapper")).remove(),!1}).on("click",".select-option",function(e){e.preventDefault();var a=h(this),t=a.closest("div.select").eq(0),i=t.closest("tr").find(".swatch-label").eq(0),s=t.find("select").first();if(a.hasClass("disabled"))return!1;if(a.hasClass("selected"))a.removeClass("selected"),s.children("option:eq(0)").prop("selected","selected").change(),i&&i.html("");else{t.find(".select-option").removeClass("selected"),a.addClass("selected");var r=h("<div/>").html(a.data("value")).text();r=(r=r.replace(/'/g,"\\'")).replace(/"/g,'\\"'),s.trigger("focusin").children("[value='"+r+"']").prop("selected","selected").change(),i&&i.html(s.children("[value='"+r+"']").eq(0).text())}}).on("change",".radio-option",function(e){var a=h(this),t=a.closest("div.select").eq(0).find("select").first(),i=h("<div/>").html(a.val()).text();i=(i=i.replace(/'/g,"\\'")).replace(/"/g,'\\"'),t.trigger("focusin").children("[value='"+i+"']").prop("selected","selected").change()}).on("woocommerce_variation_has_changed",function(){if(null!==i){s.find(".variations select").each(function(){var e=h(this).data("attribute_name")||h(this).attr("name");i.set_selected(e,h(this).val())});var r=i.get_current();s.find("div.select").each(function(e,a){var t=h(a).find("select").first(),i=t.data("attribute_name")||t.attr("name"),s=r[i];h(a).find("div.select-option").each(function(e,a){s[h(a).data("value")]?h(a).removeClass("disabled"):h(a).addClass("disabled","disabled")}),h(a).find("input.radio-option").each(function(e,a){s[h(a).val()]?(h(a).removeAttr("disabled"),h(a).parent().removeClass("disabled")):(h(a).attr("disabled","disabled"),h(a).parent().addClass("disabled","disabled"))})}),l&&s.find(".wc-default-select").each(function(e,a){var t=h(a),i=t.data("attribute_name")||t.attr("name"),s=r[i];t.find("option:gt(0)").removeClass("attached"),t.find("option:gt(0)").removeClass("enabled"),t.find("option:gt(0)").removeAttr("disabled"),t.find("option:gt(0)").each(function(e,a){s[h(a).val()]?(h(a).addClass("attached"),h(a).addClass("enabled")):h(a).addClass("disabled","disabled")}),t.find("option:gt(0):not(.enabled)").attr("disabled","disabled")})}}).on("found_variation",function(e,a){n(s,a)}).on("reset_image",function(e){n(s,null)}),s.find(".single_variation").on("show_variation",function(e,a,t){var i=s.siblings(".single-price-wrapper");h("span.price",i).remove(),i.append(a.price_html)})},h(function(){var t=[];la_theme_config.la_extension_available.swatches?h(document).on("wc_variation_form","form.variations_form",function(e){var a=h(e.target);t.push(a),a.data("has_swatches_form")||(a.data("has_swatches_form",!0),a.lastudio_variation_form(),a.trigger("bind_calculator"),a.on("reload_product_variations",function(){for(var e=0;e<t.length;e++)t[e].trigger("woocommerce_variation_has_changed"),t[e].trigger("bind_calculator"),t[e].trigger("woocommerce_variation_has_changed")}))}):console.log("la_theme_config.la_extension_available.swatches is not activate")})}(jQuery);
!function(D){"use strict";var i={global:{},utils:{},component:{},core:{}};window.LaStudio=i,D.exists=function(e){return 0<e.length},D.getCachedScript=function(e){var t={dataType:"script",cache:!0,url:e};return D.ajax(t)},i.utils.ajax_xhr=null,i.utils.localCache={timeout:6e5,data:{},remove:function(e){delete i.utils.localCache.data[e]},exist:function(e){return!!i.utils.localCache.data[e]&&(new Date).getTime()-i.utils.localCache.data[e]._<i.utils.localCache.timeout},get:function(e){return console.log("Getting in cache for url "+e),i.utils.localCache.data[e].data},set:function(e,t,a){i.utils.localCache.remove(e),i.utils.localCache.data[e]={_:(new Date).getTime(),data:t},D.isFunction(a)&&a(t)}},D.ajaxPrefilter(function(e,t,a){var o;e.cache&&(o=t.url+(void 0!==t.ajax_request_id?JSON.stringify(t.ajax_request_id):JSON.stringify(t.data)),e.cache=!1,e.beforeSend=function(){return i.utils.localCache.exist(o)||a.promise().done(function(e,t){i.utils.localCache.set(o,e)}),!0})}),D.ajaxTransport("+*",function(e,t,a){var o=t.url+(void 0!==t.ajax_request_id?JSON.stringify(t.ajax_request_id):JSON.stringify(t.data));if(e.cache=!1,i.utils.localCache.exist(o))return{send:function(e,t){setTimeout(function(){t(200,"OK",[i.utils.localCache.get(o)])},300)},abort:function(){}}}),D.featherlight.contentFilters.wc_quickview={regex:/./,process:function(e){var t=D.extend({},this.ajaxSetup,{url:e,type:"get",dataType:"html",data:{}}),a=D.Deferred();return D.ajax(t).done(function(e){a.resolve(D(e)),a.reject()}),a.promise()}},D.featherlight.defaults.contentFilters.unshift("wc_quickview"),D.fn.la_sticky=function(e){var C,t,S,L,k,x,j,a,I,M,A,o,i,n,T;for(null==e&&(e={}),M=e.sticky_class,L=e.inner_scrolling,I=e.recalc_every,a=e.parent,x=e.offset_top,k=e.spacer,S=e.bottoming,T=e.fake_parent,e.fake_parent_height,A=D(window).height(),C=D(document).height(),null==x&&(x=0),null==a&&(a=void 0),null==L&&(L=!0),null==M&&(M="is_stuck"),null==S&&(S=!0),j=function(e){var t,a;return window.getComputedStyle?(e[0],t=window.getComputedStyle(e[0]),a=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(a+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),a):e.outerWidth(!0)},o=function(n,s,l,r,d,c,u,p){var g,e,h,f,m,v,_,b,t,w,y,o,i;if(!n.data("la_sticky")){if(n.data("la_sticky",!0),m=C,_=n.parent(),T&&(i=T),null!=a&&(_=_.closest(a)),!_.length)throw"failed to find stick parent";if(g=h=!1,(y=null!=k?k&&n.closest(k):D("<div />"))&&y.css("position",n.css("position")),(b=function(){var e,t,a;if(!p)return A=D(window).height(),C=D(document).height(),m=C,e=parseInt(_.css("border-top-width"),10),t=parseInt(_.css("padding-top"),10),s=parseInt(_.css("padding-bottom"),10),l=_.offset().top+e+t,r=T?i.height():_.height(),h&&(g=h=!1,null==k&&(n.insertAfter(y),y.detach()),n.css({position:"",top:"",width:"",bottom:""}).removeClass(M),a=!0),d=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-x,c=n.outerHeight(!0),u=n.css("float"),y&&y.css({width:j(n),height:c,display:n.css("display"),"vertical-align":n.css("vertical-align"),"pointer-events":"none",float:u}),a?o():void 0})(),c!==r)return f=void 0,v=x,w=I,o=function(){var e,t,a,o,i;if(!p)return a=!1,null!=w&&--w<=0&&(w=I,b(),a=!0),a||C===m||(b(),a=!0),o=D(window).scrollTop(),null!=f&&(t=o-f),f=o,h?(S&&(i=r+l<o+c+v,g&&!i&&(g=!1,n.css({position:"fixed",bottom:"",top:v}).trigger("la_sticky:unbottom"))),o<=d&&(h=!1,v=x,null==k&&("left"!==u&&"right"!==u||n.insertAfter(y),y.detach()),e={position:"",width:"",top:""},n.css(e).removeClass(M).trigger("la_sticky:unstick")),L&&A<c+x&&(g||(v-=t,v=Math.max(A-c,v),v=Math.min(x,v),h&&n.css({top:v+"px"})))):d<o&&(h=!0,(e={position:"fixed",top:v}).width="border-box"===n.css("box-sizing")?n.outerWidth()+"px":n.width()+"px",n.css(e).addClass(M),null==k&&(n.after(y),"left"!==u&&"right"!==u||y.append(n)),n.trigger("la_sticky:stick")),h&&S&&(null==i&&(i=r+l<o+c+v),!g&&i)?(g=!0,"static"===_.css("position")&&_.css({position:"relative"}),n.css({position:"absolute",bottom:s,top:"auto"}).trigger("la_sticky:bottom")):void 0},t=function(){return b(),o()},e=function(){if(p=!0,D(window).off("touchmove",o),D(window).off("scroll",o),D(window).off("resize",t),D(document.body).off("la_sticky:recalc",t),n.off("la_sticky:detach",e),n.removeData("la_sticky"),n.css({position:"",bottom:"",top:"",width:""}),_.position("position",""),h)return null==k&&("left"!==u&&"right"!==u||n.insertAfter(y),y.remove()),n.removeClass(M)},D(window).on("touchmove",o),D(window).on("scroll",o),D(window).on("resize",t),D(document.body).on("la_sticky:recalc",t),n.on("la_sticky:detach",e),setTimeout(o,0)}},i=0,n=this.length;i<n;i++)t=this[i],o(D(t));return this}}(jQuery),function(){"use strict";LaStudio.global.isPageSpeed=function(){return"undefined"!=typeof navigator&&/lighthouse/i.test(navigator.userAgent)},LaStudio.global.hasClass=function(e,t){return-1<(" "+e.className+" ").indexOf(" "+t+" ")},LaStudio.global.isRTL=function(){return document.body.classList?document.body.classList.contains("rtl"):/\brtl\b/g.test(document.body.className)},LaStudio.global.sanitizeSlug=function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},LaStudio.global.isCookieEnable=function(){if(navigator.cookieEnabled)return!0;document.cookie="cookietest=1";var e=-1!=document.cookie.indexOf("cookietest=");return document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e},LaStudio.global.parseVideo=function(e){var t=LaStudio.global.getUrlParameter("playlist",e);return e.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),-1<RegExp.$3.indexOf("youtu")?t?"https://www.youtube.com/embed/"+RegExp.$6+"?autoplay=1&playlist="+t+"&loop=1&rel=0&iv_load_policy3":"https://www.youtube.com/embed/"+RegExp.$6+"?autoplay=1&loop=1&rel=0&iv_load_policy3":-1<RegExp.$3.indexOf("vimeo")?"https://player.vimeo.com/video/"+RegExp.$6+"?autoplay=1&loop=1&title=0&byline=0&portrait=0":e},LaStudio.global.getBrowseInformation=function(){var e,t,a,o,i=navigator.userAgent.toLowerCase(),n=navigator.platform.toLowerCase(),s=i.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown","0"];return o=-1,"Microsoft Internet Explorer"==navigator.appName?(a=navigator.userAgent,null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(a)&&(o=parseFloat(RegExp.$1))):"Netscape"==navigator.appName&&(a=navigator.userAgent,null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(a)&&(o=parseFloat(RegExp.$1))),t=-1!=o?(e="ie",o):(e="version"==s[1]?s[3]:s[1],s[2].substring(0,2)),{name:e,version:t,platform:i.match(/ip(?:ad|od|hone)/)?"ios":(i.match(/(?:webos|android)/)||n.match(/mac|win|linux/)||["other"])[0]}},LaStudio.global.setBrowserInformation=function(){var e=LaStudio.global.getBrowseInformation();document.querySelector("html").className+=" "+e.name+" "+e.name+e.version+" platform-"+e.platform},LaStudio.global.isIELower16=function(){var e=LaStudio.global.getBrowseInformation();return"ie"==e.name&&parseInt(e.version)<16},LaStudio.global.getRandomID=function(){for(var e="",t="abcdefghijklmnopqrstuvwxyz",a="0123456789",o=0;o<5;o++)e+=t.charAt(Math.floor(Math.random()*t.length));for(o=0;o<5;o++)e+=a.charAt(Math.floor(Math.random()*a.length));return e},LaStudio.global.getAdminBarHeight=function(){return document.getElementById("wpadminbar")&&600<window.innerWidth?32:0},LaStudio.global.addQueryArg=function(e,t,a){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+a+"$2"):e+i+t+"="+a},LaStudio.global.getUrlParameter=function(e,t){t=t||window.location.href,e=e.replace(/[\[\]]/g,"\\$&");var a=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return a?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null},LaStudio.global.removeURLParameter=function(e,t){var a=e.split("?");if(2<=a.length){for(var o=encodeURIComponent(t)+"=",i=a[1].split(/[&;]/g),n=i.length;0<n--;)-1!==i[n].lastIndexOf(o,0)&&i.splice(n,1);return e=a[0]+(0<i.length?"?"+i.join("&"):"")}return e},LaStudio.global.parseQueryString=function(e){var t=e.split("?"),a={};if(2<=t.length)for(var o=t[1].split("&"),i=0;i<o.length;i++){var n,s=o[i].split("="),l=decodeURIComponent(s[0]),r=decodeURIComponent(s[1]);void 0===a[l]?a[l]=decodeURIComponent(r):"string"==typeof a[l]?(n=[a[l],decodeURIComponent(r)],a[l]=n):a[l].push(decodeURIComponent(r))}return a}}(jQuery),function(a){"use strict";function c(e){return/^(?:body|html)$/i.test(e.tagName)}function u(e,t){return a(e).css(t)}function t(e,t){return parseInt(u(e,t))||0}function p(e){return t(e,"border-top-width")}function g(e){return t(e,"border-left-width")}function h(e){return"border-box"==u(e,"-moz-box-sizing")}function o(e){var t=LaStudio.global.getBrowseInformation();if(e.getBoundingClientRect&&"ios"!=t.platform){var a=e.getBoundingClientRect(),o=e.ownerDocument.documentElement,i={x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop},n=function(e){for(var t=e.parentNode,a={x:0,y:0};t&&!c(t);)a.x+=t.scrollLeft,a.y+=t.scrollTop,t=t.parentNode;return a}(e),s="fixed"==u(e,"position");return{x:parseInt(a.left)+n.x+(s?0:i.x)-o.clientLeft,y:parseInt(a.top)+n.y+(s?0:i.y)-o.clientTop}}var l,r=e,d={x:0,y:0};if(c(e))return d;for(;r&&!c(r);){d.x+=r.offsetLeft,d.y+=r.offsetTop,"firefox"==t.name?(h(r)||(d.x+=g(r),d.y+=p(r)),(l=r.parentNode)&&"visible"!=u(l,"overflow")&&(d.x+=g(l),d.y+=p(l))):r!=e&&"safari"==t.name&&(d.x+=g(r),d.y+=p(r)),r=r.offsetParent}return"firefox"!=t.name||h(e)||(d.x-=g(e),d.y-=p(e)),d}LaStudio.global.getOffset=function(e){return a.exists(e)?o(e.get(0)):{x:0,y:0}}}(jQuery),function(n){var s=[],l={};n("body").on("lastudo-prepare-object-fit",function(e,t){console.log("run fix object-fit"),n(".figure__object_fit:not(.custom-object-fit) img",t).each(function(){var e=n(this).closest(".figure__object_fit"),t=n(this).prop("src");t&&e.css("backgroundImage","url("+t+")").addClass("custom-object-fit")})}),LaStudio.global.isIELower16()&&n("body").on("lastudio-object-fit",function(e){console.log("run fix object-fit"),n(".figure__object_fit:not(.custom-object-fit) img").each(function(){var e=n(this).closest(".figure__object_fit"),t=n(this).prop("src");t&&e.css("backgroundImage","url("+t+")").addClass("custom-object-fit")})}),LaStudio.core.initAll=function(e){var a,t=e.find(".js-el").filter("[data-la_component]");t.length<=0||(a=function(e,t){var a=n(t);a.data("init-"+e)||("function"!=typeof LaStudio.component[e]?console.log("[LaStudio Component "+e+"] ---- init error"):(new LaStudio.component[e](t).init(),a.data("init-"+e,!0),LaStudio.global.eventManager.publish("LaStudio:component_inited",[e,t])))},t.each(function(){var t=this,e=n(this).data("la_component");"string"==typeof e?a(e,t):e.forEach(function(e){a(e,t)})}),n("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit"))},LaStudio.global.loadCSS=function(e){var t=document.getElementsByTagName("head")[0],a=document.createElement("link");a.href=e,a.type="text/css",a.rel="stylesheet",t.append(a)},LaStudio.global.loadDependencies=function(e,t){var o,a,i=t||function(){};e?!0!==(o=e.map(function(e){return-1===s.indexOf(e)&&(void 0===l[e]?e:(l[e].push(i),!0))}))[0]&&(!1!==o[0]?(a=o.map(function(e){return l[e]=[i],n.getCachedScript(e)}),n.when.apply(null,a).done(function(){var a=0;o.map(function(t){a++,l[t].forEach(function(e){a==o.length&&(console.log(t),e())}),delete l[t],s.push(t)})})):i()):i()},LaStudio.global.loadJsFile=function(e){return la_theme_config.js_path+e+(la_theme_config.js_min?".min.js":".js")},LaStudio.global.AnimateLoadElement=function(e,t,a){var o=a||function(){},i=0;t.css({opacity:0}),i="fade"==e?(t.each(function(){n(this).stop().animate({opacity:1},1e3)}),1e3):"sequencefade"==e?(t.each(function(e){var t=n(this);setTimeout(function(){t.stop().animate({opacity:1},1e3)},100+50*e)}),500+50*t.length):"upfade"==e?(t.each(function(){var e=n(this),t=parseInt(e.css("top"),10)+e.height()/2;e.css({top:t+"px",opacity:0})}),t.each(function(){var e=n(this);e.stop().animate({top:parseInt(e.css("top"),10)-e.height()/2,opacity:1},1500)}),2e3):"sequenceupfade"==e?(t.each(function(){var e=n(this),t=parseInt(e.css("top"),10)+e.height()/2;e.css({top:t+"px",opacity:0})}),t.each(function(e){var t=n(this);setTimeout(function(){t.stop().animate({top:parseInt(t.css("top"),10)-t.height()/2,opacity:1},1e3)},100+50*e)}),1100+50*t.length):(t.css({opacity:1}),1e3),setTimeout(function(){o.call()},i)},LaStudio.global.InsightInitLazyEffects=function(t,a,e){function o(){var e=!1==!!a.attr("data-la-effect")?"sequenceupfade":a.attr("data-la-effect");a.addClass("InsightInitLazyEffects-inited"),LaStudio.global.AnimateLoadElement(e,n(t,a),function(){n(t,a).addClass("showmenow"),a.data("isotope")&&a.isotope("layout")})}a.hasClass("InsightInitLazyEffects-inited")||(e?o():LaStudio.global.LazyLoad(a,{load:function(){o()}}).observe())},LaStudio.global.ShowMessageBox=function(e,t){void 0===LaStudio.utils.timeOutMessageBox&&(LaStudio.utils.timeOutMessageBox=null);var a=n('<div class="la-global-message"></div>').html(e);void 0!==n.featherlight.close()&&n.featherlight.close(),n.featherlight(a,{persist:"shared",type:"jquery",background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><i class="lastudioicon-e-remove"></i></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeOpen:function(e){n("body").addClass(t),clearTimeout(LaStudio.utils.timeOutMessageBox)},afterOpen:function(e){LaStudio.utils.timeOutMessageBox=setTimeout(function(){n.featherlight.close()},2e4)},afterClose:function(e){n("body").removeClass(t),clearTimeout(LaStudio.utils.timeOutMessageBox)}})}}(jQuery),function(a){"use strict";LaStudio.global.eventManager={},LaStudio.global.eventManager.subscribe=function(e,t){a(this).on(e,t)},LaStudio.global.eventManager.unsubscribe=function(e,t){a(this).off(e,t)},LaStudio.global.eventManager.publish=function(e,t){a(this).trigger(e,t)}}(jQuery),function(d){"use strict";var c={rootMargin:"100px",threshold:0,load:function(e){var t=e.getAttribute("data-src")||e.getAttribute("data-lazy")||e.getAttribute("data-lazy-src")||e.getAttribute("data-lazy-original"),a=e.getAttribute("data-src")||e.getAttribute("data-lazy-srcset"),o=e.getAttribute("data-sizes")||e.getAttribute("data-lazy-sizes");t&&(e.src=t),a&&(e.srcset=a),o&&(e.sizes=o),e.getAttribute("data-background-image")&&(e.style.backgroundImage='url("'+e.getAttribute("data-background-image")+'")'),e.setAttribute("data-element-loaded",!0),d(e).hasClass("jetpack-lazy-image")&&d(e).addClass("jetpack-lazy-image--handled")},complete:function(e){}};function u(e){e.setAttribute("data-element-loaded",!0)}function p(e){return"true"===e.getAttribute("data-element-loaded")}LaStudio.global.LazyLoad=function(){var a,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},o=d.extend({},c,e),i=o.rootMargin,n=o.threshold,s=o.load,l=o.complete,r=void 0;return"IntersectionObserver"in window&&(r=new IntersectionObserver((a=s,function(e,t){e.forEach(function(e){0<e.intersectionRatio&&(t.unobserve(e.target),p(e.target)||(a(e.target),u(e.target)))})}),{rootMargin:i,threshold:n})),{observe:function(){if(d.exists(t)){for(var e=0;e<t.length;e++)p(t[e])||(r?r.observe(t[e]):(s(t[e]),u(t[e])));l(t)}}}},LaStudio.global.makeImageAsLoaded=function(e){p(e)||(c.load(e),u(e),d(e).removeClass("lazyload"))},d("body").on("lastudio-lazy-images-load",function(){var t,e=d('.la-lazyload-image:not([data-element-loaded="true"])');LaStudio.global.LazyLoad(e,{rootMargin:"200px"}).observe();try{t=new Event("jetpack-lazy-images-load",{bubbles:!0,cancelable:!0})}catch(e){(t=document.createEvent("Event")).initEvent("jetpack-lazy-images-load",!0,!0)}d("body").get(0).dispatchEvent(t)})}(jQuery),function(A){"use strict";var T=A(window),d=A(document),a=A("html,body"),D=A("body"),o=A("#lastudio-header-builder");LaStudio.component.SVGAnimation=function(e){function t(){var e=new Vivus(n[0],i);o.hover&&(o.hoveron?A(o.hoveron).on("mouseenter",function(){e.stop().reset().play(2)}).on("mouseleave",function(){e.finish()}):a.on("mouseenter",function(){e.stop().reset().play(2)}).on("mouseleave",function(){e.finish()}))}var a=A(e),o=a.data(),i={type:o.type?o.type:"delayed",duration:o.duration?o.duration:100},n=a.find("svg");return{init:function(){"undefined"==typeof Vivus?LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("vivus")],t):t()}}},LaStudio.component.MasonryFilter=function(e){function t(){A(".isotope__filter-item",a).on("click",function(e){e.preventDefault();var t=A(this).attr("data-filter");a.find(".active").removeClass("active"),"*"!=t&&(t="."+t),i&&(i.attr("lafilter",t),i.isotope(A.extend(o,{filter:t}))),A(this).addClass("active")})}var a=A(e),o=a.data("isotope_option")||{},i=A(a.data("isotope_container"));return{init:function(){A.isFunction(A.fn.isotope)?t():LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("isotope.pkgd")],t)}}},LaStudio.component.DefaultMasonry=function(e){function t(){a.isotope(i),LaStudio.global.LazyLoad(a.parent(),{rootMargin:"100px",load:function(){LaStudio.global.eventManager.publish("LaStudio:Component:LazyLoadImage",[a]),A(".la-isotope-loading",a).hide(),a.addClass("loaded"),LaStudio.global.InsightInitLazyEffects(o,a,!1)}}).observe();try{Waypoint.refreshAll()}catch(e){}}var a=A(e),o=a.data("item_selector"),i=a.data("config_isotope")||{},i=A.extend({percentPosition:!0,itemSelector:o},i);return{init:function(){A(".la-isotope-loading",a).show(),A.isFunction(A.fn.isotope)?t():LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("isotope.pkgd")],t)}}},LaStudio.component.AdvancedMasonry=function(e){var t=A(e),a=t.data("item_selector"),o=t.data("config_isotope")||{},o=A.extend({percentPosition:!0,itemSelector:a,masonry:{gutter:0}},o);LaStudio.global.eventManager.subscribe("LaStudio:AdvancedMasonry:calculatorItemWidth",function(e,t,a){var i,o,n,s,l,r,d,c,u,p,g,h,f,m;t.hasClass("grid-items")||(i=T.width(),o=t.data("item-width"),n=t.data("item-height"),s=!1!=!!t.data("container-width")?t.data("container-width"):t.width(),l=t.width(),d=s,c=o,r=Math.round(d/c),1300<i&&(u=t.parent().attr("class").match(/masonry-max-item-per-row-(\d+)/),p=t.parent().attr("class").match(/masonry-min-item-per-row-(\d+)/),u&&u[1]&&r>parseInt(u[1])&&(r=parseInt(u[1])),p&&p[1]&&r<parseInt(p[1])&&(r=parseInt(p[1]))),i<1024?(r=t.data("md-col"),t.removeClass("cover-img-bg")):t.addClass("cover-img-bg"),i<800&&(r=t.data("sm-col")),i<576&&(r=t.data("xs-col")),i<480&&(r=t.data("mb-col")),g=Math.floor(l/r),h=t.data("item_selector"),f=parseInt(t.data("item_margin")||0),m=parseFloat(o/n),A(h,t).each(function(e){var t=parseFloat(A(this).data("width")||1),a=parseFloat(A(this).data("height")||1),o={};isNaN(t)&&(t=1),isNaN(a)&&(a=1),i<1024&&(t=a=1),o.width=Math.floor(g*t-f/2),o.height=Math.floor(g/m*a),i<1024&&(o.height="auto"),A(this).css(o)}),a&&t.data("isotope")&&t.isotope("layout"))});function i(){LaStudio.global.eventManager.publish("LaStudio:AdvancedMasonry:calculatorItemWidth",[t,!1]),T.on("resize",function(e){LaStudio.global.eventManager.publish("LaStudio:AdvancedMasonry:calculatorItemWidth",[t,!0])}),t.hasClass("masonry__column-type-default")||(o.masonry.columnWidth=1),t.isotope(o),t.hasClass("showposts-loop")||t.hasClass("loaded")||t.on("layoutComplete",function(e){LaStudio.global.InsightInitLazyEffects(a,t,!0)}),LaStudio.global.LazyLoad(t.parent(),{rootMargin:"100px",load:function(){LaStudio.global.eventManager.publish("LaStudio:Component:LazyLoadImage",[t]),A(".la-isotope-loading",t).hide(),t.addClass("loaded"),LaStudio.global.InsightInitLazyEffects(a,t,!1)}}).observe();try{Waypoint.refreshAll()}catch(e){}}return{init:function(){A(".la-isotope-loading",t).show(),A.isFunction(A.fn.isotope)?i():LaStudio.global.loadDependencies([LaStudio.global.loadJsFile("isotope.pkgd")],i)}}},LaStudio.component.AutoCarousel=function(e){function t(){var e,t=parseInt(v.slidesToShow.desktop)||1,a=parseInt(v.slidesToShow.laptop)||t,o=parseInt(v.slidesToShow.tablet)||a,i=parseInt(v.slidesToShow.mobile_extra)||o,n=parseInt(v.slidesToShow.mobile)||i,s=parseInt(v.slidesToShow.mobileportrait)||n;v.slidesToShow=t;var l=1;void 0!==v.extras&&void 0!==v.extras.rows&&(l=parseInt(v.extras.rows)),(l<1||isNaN(l))&&(l=1);var r={slidesToShow:a,slidesToScroll:a},d={slidesToShow:o,slidesToScroll:o},c={slidesToShow:i,slidesToScroll:i},u={slidesToShow:n,slidesToScroll:n},p={slidesToShow:s,slidesToScroll:s};1<l&&(r.rows=l,d.rows=l,c.rows=1,u.rows=1,p.rows=1),e={customPaging:function(e,t){return A("<span />").text(t+1)},dotsClass:"lastudio-slick-dots",responsive:[{breakpoint:1600,settings:r},{breakpoint:1300,settings:d},{breakpoint:800,settings:c},{breakpoint:768,settings:u},{breakpoint:576,settings:p}]},1<l&&(e.rows=l);var g,h='<svg viewBox="0 0 33 85" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="33" height="85"><path fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M31 2L2 42.5 31 83"/></svg>',f='<svg viewBox="0 0 33 85" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="33" height="85"><path fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M2 2l29 40.5L2 83"/></svg>';void 0!==(g=A.extend({},e,v)).prevArrow&&(g.prevArrow=g.prevArrow.replace('<button class="lastudio-arrow prev-arrow slick-prev"><i class="lastudioicon-svgleft"></i></button>','<button class="lastudio-arrow prev-arrow slick-prev">'+h+"</button>")),void 0!==g.nextArrow&&(g.nextArrow=g.nextArrow.replace('<button class="lastudio-arrow next-arrow slick-next"><i class="lastudioicon-svgright"></i></button>','<button class="lastudio-arrow next-arrow slick-next">'+f+"</button>")),m.on("init",function(e,t){t.slideCount<=t.options.slidesToShow?t.$slider.addClass("hidden-dots"):t.$slider.removeClass("hidden-dots"),t.options.centerMode&&t.$slider.addClass("la-slick-centerMode")}),m.on("afterChange",function(e){m.addClass("laslickinit")}),m.slick(g),A('<div class="slick-controls-auto"><a class="slick-control-start" href="#"><i class="fa fa-play" aria-hidden="true"></i></a><a class="slick-control-stop active" href="#"><i class="fa fa-pause" aria-hidden="true"></i></a></div>').insertAfter(m),m.on("click",".slick-control-start",function(e){e.preventDefault(),A(this).removeClass("active").siblings("a").addClass("active"),m.slick("slickPlay")}).on("click",".slick-control-stop",function(e){e.preventDefault(),A(this).removeClass("active").siblings("a").addClass("active"),m.slick("slickPause")}),LaStudio.global.LazyLoad(m.parent(),{rootMargin:"100px",load:function(){LaStudio.global.eventManager.publish("LaStudio:Component:LazyLoadImage",[m])}}).observe()}var m=A(e),v=m.data("slider_config")||{};return{init:function(){A.isFunction(A.fn.slick)?t():LaStudio.core.loadDependencies([LaStudio.global.loadJsFile("slick")],t)}}},LaStudio.component.CountDownTimer=function(e){var t,a=A(e).find("[data-due-date]"),o=new Date(1e3*a.data("due-date")),i={days:a.find('[data-value="days"]'),hours:a.find('[data-value="hours"]'),minutes:a.find('[data-value="minutes"]'),seconds:a.find('[data-value="seconds"]')};return LaStudio.component.CountDownTimer.updateClock=function(){var e=LaStudio.component.CountDownTimer.getTimeRemaining(o);A.each(e.parts,function(e){var t=i[e];t.length&&t.html(this)}),e.total<=0&&clearInterval(t)},LaStudio.component.CountDownTimer.initClock=function(){LaStudio.component.CountDownTimer.updateClock(),t=setInterval(LaStudio.component.CountDownTimer.updateClock,1e3)},LaStudio.component.CountDownTimer.splitNum=function(e){var t,e=e.toString(),a="";return 1===e.length&&(e=0+e),t=e.match(/\d{1}/g),A.each(t,function(e,t){a+='<span class="lastudio-countdown-timer__digit">'+t+"</span>"}),a},LaStudio.component.CountDownTimer.getTimeRemaining=function(e){var t=e-new Date,a=Math.floor(t/1e3%60),o=Math.floor(t/1e3/60%60),i=Math.floor(t/36e5%24),n=Math.floor(t/864e5);return(n<0||i<0||o<0)&&(a=o=i=n=0),{total:t,parts:{days:LaStudio.component.CountDownTimer.splitNum(n),hours:LaStudio.component.CountDownTimer.splitNum(i),minutes:LaStudio.component.CountDownTimer.splitNum(o),seconds:LaStudio.component.CountDownTimer.splitNum(a)}}},LaStudio.component.CountDownTimer.initClock(),{init:function(){LaStudio.component.CountDownTimer.initClock()}}},LaStudio.component.InfiniteScroll=function(e){var t=A(A(e).data("pagination"));return{init:function(){LaStudio.core.InfiniteScroll(t)}}},LaStudio.core.InfiniteScroll=function(e){LaStudio.global.LazyLoad(e,{rootMargin:"40px",threshold:.1,load:function(){A(".pagination_ajax_loadmore a",e).trigger("click")}}).observe()},LaStudio.core.HeaderSticky=function(){var a=A("#lastudio-header-builder"),o="none",t=T.scrollTop();T.on("scroll",function(){var e=T.scrollTop();o=t<e?"down":e===t?"none":"up",t=e});function e(){var e=0;A.exists(a)&&(e=A(".lahbhinner").outerHeight(),document.documentElement.style.setProperty("--header-height",e+"px"))}var i;e(),T.on("resize",e),A.exists(A(".footer-handheld-footer-bar"))&&(i=A(".footer-handheld-footer-bar"),T.on("scroll",function(e){var t=LaStudio.global.getAdminBarHeight()+A(".lahbhinner",a).outerHeight();t<20&&(t=100),T.scrollTop()>t?"down"==la_theme_config.mobile_bar?"down"==o?i.removeClass("sticky--unpinned").addClass("sticky--pinned"):i.removeClass("sticky--pinned").addClass("sticky--unpinned"):"up"==la_theme_config.mobile_bar&&("up"==o?i.removeClass("sticky--unpinned").addClass("sticky--pinned"):i.removeClass("sticky--pinned").addClass("sticky--unpinned")):i.removeClass("sticky--pinned sticky--unpinned")}));var n,s,l,r,d,c,u,p,g=!!D.hasClass("header-sticky-type-auto");D.hasClass("enable-header-sticky")&&A.exists(a)&&(s=A(".lahbhouter",n=a),l=A(".lahbhinner",a),c=!1,void(d=r=0)!==la_theme_config.header_sticky_target&&""!=la_theme_config.header_sticky_target&&A.exists(A(la_theme_config.header_sticky_target))&&(c=A(la_theme_config.header_sticky_target)),void 0!==la_theme_config.header_sticky_offset&&(d=parseInt(la_theme_config.header_sticky_offset)),u=0,p=LaStudio.global.getOffset(s).y,T.on("resize",function(e){p=LaStudio.global.getOffset(s).y}).on("scroll",function(e){!1!==c&&(r=LaStudio.global.getOffset(c).y);var t=T.scrollTop(),a=p-LaStudio.global.getAdminBarHeight()+r+d;g&&(a=p-LaStudio.global.getAdminBarHeight()+l.outerHeight()+r+d),a<t?(l.css("top",LaStudio.global.getAdminBarHeight()),n.hasClass("is-sticky")||n.addClass("is-sticky"),g?t<D.height()&&t<u?(l.hasClass("sticky--unpinned")&&l.removeClass("sticky--unpinned"),l.hasClass("sticky--pinned")||l.addClass("sticky--pinned")):(l.hasClass("sticky--pinned")&&l.removeClass("sticky--pinned"),l.hasClass("sticky--unpinned")||l.addClass("sticky--unpinned")):l.addClass("sticky--pinned")):g?n.hasClass("is-sticky")&&(a-t<l.outerHeight()||(n.removeClass("is-sticky"),l.css("top","0").removeClass("sticky--pinned sticky--unpinned"))):n.hasClass("is-sticky")&&(n.removeClass("is-sticky"),l.css("top","0").removeClass("sticky--pinned sticky--unpinned")),u=t}))},LaStudio.core.InstanceSearch=function(s){var l,o,r,d,c,u,p,g,a,i;function n(e){var i,t=c.val(),a=d.find(".product-cats input:checked"),n=t+"["+(a.length?a.val():d.find("select").length?d.find("select").val():"")+"]";o===t&&e||((o=t).length<2?s.removeClass("searching found-products found-no-product").addClass("invalid-length"):(i=d.attr("action")+"?"+d.serialize(),p.removeClass("fadeInUp"),A(".view-more-results",u).slideUp(10),s.removeClass("found-products found-no-product").addClass("searching"),n in r?h(r[n]):l=A.get(i,function(e){var t,a,o=A("#content.site-content",e);"product"===g?(t=A("#la_shop_products .row ul.products",o)).length?(t.children("li:eq(20)").nextAll().remove(),r[n]={found:!0,items:t,url:i}):r[n]={found:!1,text:A(".woocommerce-info",o).text()}:(a=A("#blog-entries .lastudio-posts__item",o)).length?(a.addClass("col-md-4"),r[n]={found:!0,items:A('<div class="posts" />').append(a),url:i}):r[n]={found:!1,text:A("#blog-entries article .entry",o).text()},h(r[n]),s.addClass("searched"),l=null},"html")))}function h(e){var t="product"===g?"woocommerce":"la-post-grid";if(s.removeClass("searching"),e.found){var a=e.items.clone(),o=a.children();s.addClass("found-products"),u.find(".results-container").addClass(t).html(a),A("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit"),LaStudio.core.initAll(u);for(var i=0;i<o.length;i++)A(o[i]).css("animation-delay",100*i+"ms");o.addClass("fadeInUp animated"),p.attr("href",e.url).css("animation-delay",100*i+"ms").addClass("fadeInUp animated"),u.find(".results-container, .view-more-results").slideDown(300,function(){s.removeClass("invalid-length")})}else s.addClass("found-no-product"),u.find(".results-container").removeClass(t).html(A('<div class="not-found text-center" />').text(e.text)),p.attr("href","#"),u.find(".view-more-results").slideUp(300),u.find(".results-container").slideDown(300,function(){s.removeClass("invalid-length")});s.addClass("searched")}s.hasClass("has-init")||(s.addClass("has-init"),l=null,o="",r={},d=s.find("form.search-form"),c=d.find("input.search-field"),u=s.find(".search-results"),p=u.find(".search-results-button"),g=s.find("input[name=post_type]").val(),i=0,a=function(e,t){clearTimeout(i),i=setTimeout(e,t)},s.on("keyup",".search-field",function(e){var t=!1;void 0===e.which?t=!0:"number"==typeof e.which&&0<e.which&&(t=!e.ctrlKey&&!e.metaKey&&!e.altKey),t&&(l&&l.abort(),a(function(){n(!0)},400))}).on("change",".product-cats input",function(){l&&l.abort(),n(!1)}).on("change","select",function(){l&&l.abort(),n(!1)}).on("click",".search-reset",function(){l&&l.abort(),s.addClass("reset"),u.find(".results-container, .view-more-results").slideUp(function(){s.removeClass("searching searched found-products found-no-product invalid-length reset")})}).on("focusout",".search-field",function(){A(this).val().length<2&&u.find(".results-container, .view-more-results").slideUp(function(){s.removeClass("searching searched found-products found-no-product invalid-length")})}).on("focus",".search-field",function(){s.hasClass("found-products")&&u.find(".results-container").slideDown(200)}))},LaStudio.core.MegaMenu=function(){LaStudio.global.eventManager.subscribe("LaStudio:MegaMenuBuilder:MenuPosition",function(e,t){A.exists(t)&&(t.closest(".lahb-content-wrap").addClass("position-relative"),t.each(function(){var x=A(this),j=0,I=x.closest(".lahb-content-wrap"),M=!1,j=I.width();x.closest(".lahb-vertital-menu_nav").length&&(M=!0),D.hasClass("header-type-vertical")?(j=1200,T.width()<1500&&(j=D.hasClass("header-type-vertical--toggle")?T.width()-A(".lahb-vertical-toggle-wrap").outerWidth()-A(".lahb-vertical.lahb-vcom").outerWidth():T.width()-o.outerWidth())):x.hasClass("lahb-vertital-menu_nav")&&(j-=x.outerWidth()),A("li.mega .megamenu-inited",x).removeClass("megamenu-inited"),A("li.mega > .sub-menu",x).removeAttr("style"),A("li.mega",x).each(function(){var e,t,a,o,i,n,s,l,r,d,c,u,p,g,h,f,m,v,_,b,w=A(this),y=A("> .sub-menu",w),C=A("> .sub-menu > .mm-mega-li",w),S=parseInt(C.data("maxWidth")?C.data("maxWidth"):C.css("maxWidth")),L=I,k=1200;j<k&&(k=j),isNaN(S)&&(S=k),S<k&&(k=parseInt(S)),w.hasClass("mm-popup-force-fullwidth")&&0==w.closest(".lahb-vertical").length&&(C.data("maxWidth",S).css("maxWidth","none"),A("> ul",C).css("width",S),M?0==x.closest(".vertital-menu_nav-hastoggle").length&&(k=A("#outer-wrap > #wrap").width()):(k=T.width(),L=D)),y.width(k),t=L,a=j,o=M,A(".megamenu-inited",e=w).length||0!=(i=A("> .sub-menu",e)).length&&(a<(n=i.outerWidth())&&(n=a),o||(s=parseInt(t.css("padding-left")),l=parseInt(t.css("padding-right")),r=i.parent().outerWidth(),h=0,d=LaStudio.global.getOffset(t),c=LaStudio.global.getOffset(i).x,u=d.x,h=r<n?-(n-r)/2:0,LaStudio.global.isRTL()?((p=T.width()-(n+c))-(g=T.width()-(t.outerWidth()+u))-l+h<0&&(h=-(p-g-l)),p+n+h>u+t.outerWidth()-s&&(h-=p+n+h-(u+t.outerWidth()-s)),i.css("right",h).css("right")):(c-u-s+h<0&&(h=-1*(c-u-s)),c+n+h>u+t.outerWidth()-l&&(h=-1*(c+n+(h=0)-(u+t.outerWidth()-l))),t.is("body")&&(h=-1*c),i.css("left",h).css("left"))),o&&(f=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,m=i.offset(),v=i.outerHeight(),_=T.scrollTop(),m.top-_+v>f&&(b=f-(m.top+_+v+50),f<=v?i.offset({top:LaStudio.global.getAdminBarHeight()}):i.css({top:b}))),i.addClass("megamenu-inited"))})}))}),LaStudio.global.eventManager.publish("LaStudio:MegaMenuBuilder:MenuPosition",[A("body .lahb-nav-wrap.has-megamenu")]),T.on("resize",function(){LaStudio.global.eventManager.publish("LaStudio:MegaMenuBuilder:MenuPosition",[A("body .lahb-nav-wrap.has-megamenu")])}),A(".lahb-vertital-menu_nav .lahb-vertital-menu_button button").on("click",function(e){e.preventDefault();var t=A(this).closest(".lahb-vertital-menu_nav");t.hasClass("open")?t.removeClass("open"):t.addClass("open")})},LaStudio.core.ElementClickEvent=function(){d.on("LaStudio:Component:Popup:Close",function(e){e.preventDefault();try{A.featherlight.close()}catch(e){}}).on("touchend click",".la-overlay-global",function(e){e.preventDefault(),D.removeClass("open-lahb-vertical open-cart-aside")}).on("click",".footer-handheld-footer-bar .la_com_action--dropdownmenu .component-target",function(e){e.preventDefault();var t=A(this).parent();D.removeClass("open-mobile-menu open-search-form"),t.hasClass("active")?(t.removeClass("active"),D.removeClass("open-overlay")):(t.addClass("active"),t.siblings().removeClass("active"),D.addClass("open-overlay"))}).on("click",".footer-handheld-footer-bar .la_com_action--searchbox",function(e){e.preventDefault();A(this);A(this).hasClass("active")?(D.removeClass("open-search-form "),A(this).removeClass("active")):(D.addClass("open-search-form"),A(this).addClass("active"),A(this).siblings().removeClass("active"),D.removeClass("open-overlay"))}).on("click",".la-popup:not(.elementor-widget):not([data-gallery-id]), .la-popup.elementor-widget a",function(e){e.preventDefault();var t=A(this),a=LaStudio.global.parseVideo(t.attr("href")),o=/\.(png|jp?g|gif|tiff?|bmp|svg|webp)(\?\S*)?$/i,i=/^[#.]\w/,n=/^\s*<[\w!][^<]*>/,s=/\.(png|jpe?g|gif|svg|webp)(\?\S*)?$/i,l="iframe",l=a.match(o)?"image":a.match(i)?"jquery":a.match(n)?"html":"iframe";a.match(s)&&"undefined"!=typeof elementorFrontend||A.featherlight(a,{type:l,persist:"shared",background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><i class="lastudioicon-e-remove"></i></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeClose:function(e){var t;"jquery"==l&&0<A(a).length&&(t=a.replace("#","#__tmp__"),A(a).insertBefore(A(t)),A(t).remove())},beforeOpen:function(){var e;"jquery"==l&&0<A(a).length&&(e=a.replace("#","__tmp__"),A('<div id="'+e+'" class="featherlight__placeholder"></div>').insertBefore(A(a)))},iframeAllow:"autoplay",iframeAllowfullscreen:"1"})}).on("click",".la-inline-popup",function(e){e.preventDefault();var t=A(this),a=A(t.data("href")||t.attr("href")),o=t.data("component_name")||"";o+=" featherlight--inline",A.featherlight(a,{background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><i class="lastudioicon-e-remove"></i></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeOpen:function(e){D.addClass(o)},afterClose:function(e){D.removeClass(o)}})}).on("click",".custom-lighcase-btn-close, .popup-button-continue, .custom-lightcase-overlay, .custom-featherlight-close, .btn-close-newsletter-popup",function(e){e.preventDefault(),d.trigger("LaStudio:Component:Popup:Close")}).on("click",".btn-close-search",function(e){e.preventDefault(),D.removeClass("open-search-form")}).on("click",".btn-close-cart",function(e){e.preventDefault(),D.removeClass("open-cart-aside")}).on("click",".la-ajax-pagination .pagination_ajax_loadmore a",function(e){if(e.preventDefault(),A("body").hasClass("elementor-editor-active"))return!1;var o=A(this).closest(".la-ajax-pagination"),i=o.data("parent-container"),n=o.data("container"),s=o.data("item-selector"),l=!1;if(o.data("infinite-flag")&&(l=o.data("infinite-flag")),A("a.next",o).length){if(o.hasClass("doing-ajax"))return!1;o.addClass("doing-ajax"),A(i).addClass("doing-ajax");var t={url:A("a.next",o).attr("href"),type:"get",dataType:"html",success:function(e){var t,a=A(e).find(n+" "+s);A(n).hasClass("la-slick-slider")?(A(n).slick("slickAdd",a),A(n).slick("setPosition")):A(n).data("isotope")?(A(n).isotope("insert",a.addClass("showmenow")),"AdvancedMasonry"==A(n).data("la_component")?(LaStudio.global.eventManager.publish("LaStudio:AdvancedMasonry:calculatorItemWidth",[A(n),!1]),A(n).isotope("layout")):setTimeout(function(){A(n).isotope("layout")},500),A(n).trigger("LaStudio:Masonry:ajax_loadmore",[A(n)])):a.addClass("fadeIn animated").appendTo(A(n)),A("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit"),LaStudio.core.initAll(A(i)),A(i).removeClass("doing-ajax"),o.removeClass("doing-ajax la-ajax-load-first"),A(e).find(i+" .la-ajax-pagination").length?(t=A(e).find(i+" .la-ajax-pagination"),o.replaceWith(t),o=t):o.addClass("nothingtoshow"),!1!==l&&setTimeout(function(){LaStudio.core.InfiniteScroll(o)},2e3)}};A.ajax(t)}}).on("click",".la-ajax-pagination .page-numbers a",function(e){if(e.preventDefault(),A("body").hasClass("elementor-editor-active"))return!1;var t,a=A(this).closest(".la-ajax-pagination"),o=a.data("parent-container"),i=a.data("container"),n=a.data("item-selector");A(o).hasClass("doing-ajax")||(A(o).addClass("doing-ajax"),a.addClass("doing-ajax"),t=LaStudio.global.removeURLParameter(A(this).attr("href"),"_"),A.ajax({url:t,type:"get",dataType:"html",cache:!0,ajax_request_id:LaStudio.global.getUrlParameter(a.data("ajax_request_id"),t),success:function(e){var t=A(e).find(i+" "+n);A(i).hasClass("la-slick-slider")?(A(i).slick("unslick").removeData("initAutoCarousel"),t.appendTo(A(i).empty())):A(i).data("isotope")?(A(i).isotope("remove",A(i).isotope("getItemElements")),A(i).isotope("insert",t.addClass("showmenow")),"AdvancedMasonry"==A(i).data("la_component")?(LaStudio.global.eventManager.publish("LaStudio:AdvancedMasonry:calculatorItemWidth",[A(i),!1]),A(i).isotope("layout")):setTimeout(function(){A(i).isotope("layout")},500),A(i).trigger("LaStudio:Masonry:ajax_pagination",[A(i)])):(t.addClass("fadeIn animated"),t.appendTo(A(i).empty())),A("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit"),LaStudio.core.initAll(A(o)),A(o).removeClass("doing-ajax"),a.removeClass("doing-ajax"),A(e).find(o+" .la-ajax-pagination").length&&a.replaceWith(A(e).find(o+" .la-ajax-pagination"))}}))})},LaStudio.core.Blog=function(e){e=e||A(".sidebar-inner"),A(".menu li a:empty",e).each(function(){A(this).closest("li").remove()}),A(".widget_pages > ul, .widget_archive > ul, .widget_categories > ul, .widget_product_categories > ul, .widget_meta > ul",e).addClass("menu").closest(".widget").addClass("accordion-menu"),A(".widget_nav_menu",e).closest(".widget").addClass("accordion-menu"),A(".widget_categories > ul li.cat-parent,.widget_product_categories li.cat-parent",e).addClass("mm-item-has-sub"),A(".menu li > ul",e).each(function(){A(this).before('<span class="narrow"><i></i></span>')}),e.on("click",".accordion-menu li.menu-item-has-children > a,.menu li.mm-item-has-sub > a,.menu li > .narrow",function(e){e.preventDefault();var t=A(this).parent();t.hasClass("open")?(t.removeClass("open"),t.find(">ul").stop().slideUp()):(t.addClass("open"),t.find(">ul").stop().slideDown(),t.siblings().removeClass("open").find(">ul").stop().slideUp())})},LaStudio.core.SitePreload=function(){var e=document.getElementById("wpadminbar");e&&e.classList.add("wpbar"),T.on("load scroll",function(){T.scrollTop()>T.height()+100?A(".backtotop-container").addClass("show"):A(".backtotop-container").removeClass("show")}),d.on("click",".btn-backtotop",function(e){e.preventDefault(),a.animate({scrollTop:0},800)}),D.on("lastudio-fix-ios-limit-image-resource",function(){"matchMedia"in window&&window.matchMedia("(max-width: 1024px)").matches&&A("li.product_item.thumb-has-effect").each(function(){A(this).removeClass("thumb-has-effect"),A(this).find(".p_img-second").remove()})}).trigger("lastudio-fix-ios-limit-image-resource"),D.removeClass("site-loading"),T.on("beforeunload",function(e){"safari"!=LaStudio.global.getBrowseInformation().name&&window.self===window.top&&(void 0===window.hack_beforeunload_time||void 0!==window.hack_beforeunload_time&&1e3<e.timeStamp-window.hack_beforeunload_time)&&D.addClass("site-loading")}),d.on("click",'a[href^="tel:"], a[href^="mailto:"], a[href^="callto"], a[href^="skype"], a[href^="whatsapp"], a.mail-link',function(e){window.hack_beforeunload_time=parseInt(e.timeStamp)}),T.on("pageshow",function(e){e.originalEvent.persisted&&D.removeClass("site-loading")}),LaStudio.global.eventManager.subscribe("LaStudio:Component:LazyLoadImage",function(e,t){t.find('.la-lazyload-image:not([data-element-loaded="true"]), img[data-lazy-src]:not([data-element-loaded="true"]), img[data-lazy-original]:not([data-element-loaded="true"])').each(function(e,t){LaStudio.global.makeImageAsLoaded(t)})}),A("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit")},LaStudio.core.WooCommerceQuickView=function(){d.on("click",".la-quickview-button",function(e){var t;900<T.width()&&(e.preventDefault(),t=A(this),void 0!==A.featherlight.close()&&A.featherlight.close(),A.featherlight(t.data("href"),{openSpeed:0,closeSpeed:0,type:{wc_quickview:!0},background:'<div class="featherlight featherlight-loading is--qvpp"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><i class="lastudioicon-e-remove"></i></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',contentFilters:["wc_quickview"],ajaxSetup:{cache:!0,ajax_request_id:LaStudio.global.getUrlParameter("product_quickview",t.data("href"))},beforeOpen:function(e){D.addClass("open-quickview-product")},afterOpen:function(e){var t=A(".la-woo-product-gallery",this.$content);t.length&&A.fn.lastudio_product_gallery&&(D.addClass("lightcase--pending"),t.lastudio_product_gallery())},afterClose:function(e){D.removeClass("open-quickview-product lightcase--completed lightcase--pending")}}))})},LaStudio.core.WooCommerce=function(){A(".la-woo-product-gallery").each(function(){A(this).lastudio_product_gallery()}),A(".variations_form").trigger("wc_variation_form"),d.on("click",".product_item .la-swatch-control .swatch-wrapper",function(e){e.preventDefault();var t,a=A(this),o=a.closest(".product_item").find(".p_img-first img").first(),i=a.closest(".product_item").find(".la-addcart");a.hasClass("selected")||(a.addClass("selected").siblings().removeClass("selected"),o.hasClass("--has-changed")||o.attr("data-o-src",o.attr("src")).attr("data-o-sizes",o.attr("sizes")).attr("data-o-srcset",o.attr("srcset")).addClass("--has-changed"),o.attr("src",a.attr("data-thumb")?a.attr("data-thumb"):o.attr("data-o-src")).removeAttr("sizes srcset"),0<i.length&&(t=i.attr("href"),t=LaStudio.global.addQueryArg(t,"attribute_"+a.attr("data-attribute"),a.attr("data-value")),i.attr("href",t)))});var t=null;A(document.body).on("wc_fragments_refreshed updated_wc_div wc_fragments_loaded",function(e){clearTimeout(t),t=setTimeout(function(){LaStudio.global.eventManager.publish("LaStudio:Component:LazyLoadImage",[A(".widget_shopping_cart_content")])},100)}),d.on("click",".la_com_action--cart",function(e){(A(this).hasClass("force-display-on-mobile")||767<T.width())&&(e.preventDefault(),D.toggleClass("open-cart-aside"))}),d.on("click",".quantity .qty-minus",function(e){e.preventDefault();var t=A(this).siblings(".qty"),a=parseInt(t.val());t.val(1<a?a-1:1).trigger("change")}),d.on("click",".quantity .qty-plus",function(e){e.preventDefault();var t=A(this).siblings(".qty"),a=parseInt(t.val());t.val(0<a?a+1:1).trigger("change")}),d.on("click",".wc-view-item a",function(){var e,t=A(this),a=t.data("col"),o=t.closest(".woocommerce");t.hasClass("active")||(A(".wc-view-item a").removeClass("active"),t.addClass("active"),t.closest(".wc-view-item").find(">button>span").html(t.text()),o.find("ul.products[data-grid_layout]").each(function(){A(this).removeClass("products-list").addClass("products-grid");var e=A(this).attr("class").replace(/(\sblock-grid-\d)/g," block-grid-"+a).replace(/(\slaptop-block-grid-\d)/g," laptop-block-grid-"+a);A(this).attr("class",e)}),o.closest(".elementor-widget-wc-archive-products").length&&(e=o.attr("class").replace(/(\scolumns-\d)/g," columns-"+a),o.attr("class",e)),Cookies.set("lauriel_wc_product_per_row",a,{expires:2}))}).on("click",".wc-view-toggle button",function(){var e,t,a=A(this),o=a.data("view_mode"),i=a.closest(".woocommerce");a.hasClass("active")||(A(".wc-view-toggle button").removeClass("active"),a.addClass("active"),t=(e=i.find("ul.products[data-grid_layout]")).attr("data-grid_layout"),"grid"==o?e.removeClass("products-list").addClass("products-grid").addClass(t):e.removeClass("products-grid").addClass("products-list").removeClass(t),Cookies.set("lauriel_wc_catalog_view_mode",o,{expires:2}))}).on("mouseover",".lasf-custom-dropdown",function(e){A(this).addClass("is-hover")}).on("mouseleave",".lasf-custom-dropdown",function(e){A(this).removeClass("is-hover")}),d.on("adding_to_cart",function(e,t,a){t&&t.closest(".la_wishlist_table").length&&(a.la_remove_from_wishlist_after_add_to_cart=a.product_id),D.removeClass("open-search-form").addClass("open-cart-aside"),A(".cart-flyout").addClass("cart-flyout--loading"),A("i.cart-i_icon").each(function(){var e=A(this).data("icon");A(this).removeClass(e).addClass("la-loading-spin")})}),d.on("added_to_cart",function(e,t,a,o){A(".cart-flyout").removeClass("cart-flyout--loading"),A("i.cart-i_icon").each(function(){A(this).removeClass("la-loading-spin").addClass(A(this).data("icon"))})}),la_theme_config.single_ajax_add_cart&&d.on("submit",".la-p-single-wrap:not(.product-type-external) .entry-summary form.cart",function(e){e.preventDefault(),d.trigger("adding_to_cart");var t=A(this),a=t.attr("action")||window.location.href,o=LaStudio.global.addQueryArg(a,"product_quickview","1");A.post(o,t.serialize()+"&_wp_http_referer="+a,function(e){(A(e).eq(0).hasClass("woocommerce-message")||A(e).eq(0).hasClass("woocommerce-error"))&&(A(".woocommerce-message, .woocommerce-error").remove(),A(".la-p-single-wrap.type-product").eq(0).before(A(e).eq(0))),d.trigger("LaStudio:Component:Popup:Close"),A.ajax({url:woocommerce_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",success:function(e){e&&e.fragments&&(A.each(e.fragments,function(e,t){A(e).replaceWith(t)}),A(document.body).trigger("wc_fragments_refreshed"),A(".cart-flyout").removeClass("cart-flyout--loading"),A("i.cart-i_icon").each(function(){A(this).removeClass("la-loading-spin").addClass(A(this).data("icon"))}))}})})}),A(".la-p-single-wrap .s_product_content_top > .product--summary .product-nextprev").length&&A(".la-p-single-wrap .s_product_content_top > .product--summary .product-nextprev").clone().prependTo(A(".la-p-single-wrap .s_product_content_top >.product-main-image")),A(".la-p-single-wrap.la-p-single-3 .la-custom-pright,.la-p-single-wrap.la-p-single-4 .la-custom-pright").la_sticky({parent:A(".la-single-product-page"),offset_top:o.length?parseInt(o.height())+30:30}),A(".la-p-single-wrap.la-p-single-3 .woocommerce-product-gallery__actions, .la-p-single-wrap.la-p-single-4 .woocommerce-product-gallery__actions").la_sticky({parent:A(".la-woo-product-gallery"),offset_top:T.height()-150}),"#register"==location.hash&&A("#customer_login .u-column2.col-2").length?A("#customer_login .u-column2.col-2").addClass("active"):A("#customer_login .u-column1.col-1").addClass("active"),d.on("click","#customer_login h2",function(e){e.preventDefault(),A(this).parent().toggleClass("active").siblings("div").removeClass("active")}),A(".woocommerce-tabs .wc-tab-title a").on("click",function(e){e.preventDefault();var t=A(this),a=t.closest(".woocommerce-tabs").find(".wc-tabs"),o=t.closest(".wc-tab");a.find('a[href="'+t.attr("href")+'"]').parent().toggleClass("active").siblings().removeClass("active"),o.toggleClass("active").siblings().removeClass("active")}),A(".woocommerce-Tabs-panel--description").addClass("active")},LaStudio.core.WooCommerceWishlist=function(){function i(){var a=A("table.wishlist_table");a.addClass("shop_table_responsive"),a.find("thead th").each(function(){var e=A(this),t=e.text().trim();""!=t&&A("td."+e.attr("class"),a).attr("data-title",t)})}i(),D.on("removed_from_wishlist",function(e){i()}),d.on("added_to_cart",function(e,t,a,o){setTimeout(i,800)}),d.on("click",".product a.add_wishlist.la-yith-wishlist",function(e){if(!A(this).hasClass("added")){e.preventDefault();var t,a,o,i,n=A(this),s=n.data("product_id"),l=n.closest(".product").find(".product_item--thumbnail img:eq(0)"),r="Product",d={add_to_wishlist:s,product_type:n.data("product-type"),action:yith_wcwl_l10n.actions.add_to_wishlist_action};n.data("product_title")&&(r=n.data("product_title")),n.closest(".product--summary").length&&(l=n.closest(".product").find(".woocommerce-product-gallery__image img:eq(0)"));try{if(yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in&&(a=(t=n.parents(".yith-wcwl-popup-footer").prev(".yith-wcwl-popup-content")).find(".wishlist-select"),o=t.find(".wishlist-name"),i=t.find(".wishlist-visibility"),d.wishlist_id=a.val(),d.wishlist_name=o.val(),d.wishlist_visibility=i.val()),!LaStudio.global.isCookieEnable())return void alert(yith_wcwl_l10n.labels.cookie_disabled);A.ajax({type:"POST",url:yith_wcwl_l10n.ajax_url,data:d,dataType:"json",beforeSend:function(){n.addClass("loading")},complete:function(){n.removeClass("loading").addClass("added")},success:function(i){A("#yith-wcwl-popup-message");var e,t=i.result,a=i.message;yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in&&(e=A("select.wishlist-select"),void 0!==A.prettyPhoto&&A.prettyPhoto.close(),e.each(function(e){var t=A(this),a=t.find("option");if((a=a.slice(1,a.length-1)).remove(),void 0!==i.user_wishlists){var o=0;for(o in i.user_wishlists)"1"!=i.user_wishlists[o].is_default&&A("<option>").val(i.user_wishlists[o].ID).html(i.user_wishlists[o].wishlist_name).insertBefore(t.find("option:last-child"))}}));var o='<div class="popup-added-msg">';"true"==t?(l.length&&(o+=A("<div>").append(l.clone()).html()),o+='<div class="popup-message"><strong class="text-color-heading">'+r+" </strong>"+la_theme_config.i18n.wishlist.success+"</div>"):o+='<div class="popup-message">'+a+"</div>",o+='<a class="button view-popup-wishlish" rel="nofollow" href="'+i.wishlist_url.replace("/view","")+'">'+la_theme_config.i18n.wishlist.view+"</a>",o+='<a class="button popup-button-continue" rel="nofollow" href="#">'+la_theme_config.i18n.global.continue_shopping+"</a>",o+="</div>",LaStudio.global.ShowMessageBox(o,"open-wishlist-msg open-custom-msg"),n.attr("href",i.wishlist_url),A('.add_wishlist[data-product_id="'+n.data("product_id")+'"]').addClass("added"),D.trigger("added_to_wishlist")}})}catch(e){console.log(e)}}}),d.on("click",".product a.add_wishlist.la-ti-wishlist",function(e){e.preventDefault(),(A(this).closest(".entry-summary").length?A(this).closest(".entry-summary").find("form.cart .tinvwl_add_to_wishlist_button"):A(this).closest(".product").find(".tinvwl_add_to_wishlist_button")).trigger("click")}),d.on("click",".product a.add_wishlist.la-core-wishlist",function(e){var a,t,o,i,n;A(this).hasClass("added")||(e.preventDefault(),t=(a=A(this)).data("product_id"),o=a.closest(".product").find(".product_item--thumbnail img:eq(0)"),i="Product",n={action:"la_helpers_wishlist",security:la_theme_config.security.wishlist_nonce,post_id:t,type:"add"},a.data("product_title")&&(i=a.data("product_title")),a.closest(".product--summary").length&&(o=a.closest(".product").find(".woocommerce-product-gallery__image img:eq(0)")),A.ajax({type:"POST",url:la_theme_config.ajax_url,data:n,dataType:"json",beforeSend:function(){a.addClass("loading")},complete:function(){a.removeClass("loading").addClass("added")},success:function(e){var t='<div class="popup-added-msg">';e.success?(o.length&&(t+=A("<div>").append(o.clone()).html()),t+='<div class="popup-message"><strong class="text-color-heading">'+i+" </strong>"+la_theme_config.i18n.wishlist.success+"</div>"):t+='<div class="popup-message">'+e.data.message+"</div>",t+='<a class="button view-popup-wishlish" rel="nofollow" href="'+e.data.wishlist_url+'">'+la_theme_config.i18n.wishlist.view+"</a>",t+='<a class="button popup-button-continue" rel="nofollow" href="#">'+la_theme_config.i18n.global.continue_shopping+"</a>",t+="</div>",LaStudio.global.ShowMessageBox(t,"open-wishlist-msg open-custom-msg"),A(".la-wishlist-count").html(e.data.count),A('.add_wishlist[data-product_id="'+a.data("product_id")+'"]').addClass("added").attr("href",e.data.wishlist_url)}}))}).on("click",".la_wishlist_table a.la_remove_from_wishlist",function(e){e.preventDefault();var t=A("#la_wishlist_table_wrapper");void 0!==A.fn.block&&t.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),t.load(e.target.href+" #la_wishlist_table_wrapper2",function(){void 0!==A.fn.unblock&&t.stop(!0).css("opacity","1").unblock()})}),d.on("adding_to_cart",function(e,t,a){t&&t.closest(".la_wishlist_table").length&&(a.la_remove_from_wishlist_after_add_to_cart=a.product_id)}).on("added_to_cart",function(e,t,a,o){var i;o&&o.closest(".la_wishlist_table").length&&(i=A("#la_wishlist_table_wrapper"),o.closest("tr").remove(),i.load(window.location.href+" #la_wishlist_table_wrapper2"))})},LaStudio.core.WooCommerceCompare=function(){d.on("click","table.compare-list .remove a",function(e){e.preventDefault(),A('.add_compare[data-product_id="'+A(this).data("product_id")+'"]',window.parent.document).removeClass("added")}).on("click",".la_com_action--compare",function(e){"undefined"!=typeof yith_woocompare&&(e.preventDefault(),d.trigger("LaStudio:Component:Popup:Close"),D.trigger("yith_woocompare_open_popup",{response:LaStudio.global.addQueryArg(LaStudio.global.addQueryArg("","action",yith_woocompare.actionview),"iframe","true")}))}).on("click",".product a.add_compare:not(.la-core-compare)",function(e){var a,o,i,t,n;e.preventDefault(),A(this).hasClass("added")?D.trigger("yith_woocompare_open_popup",{response:LaStudio.global.addQueryArg(LaStudio.global.addQueryArg("","action",yith_woocompare.actionview),"iframe","true")}):(a=A(this),o=A(".yith-woocompare-widget ul.products-list"),i=a.closest(".product").find(".product_item--thumbnail img:eq(0)"),t={action:yith_woocompare.actionadd,id:a.data("product_id"),context:"frontend"},n="Product",a.data("product_title")&&(n=a.data("product_title")),a.closest(".product--summary").length&&(i=a.closest(".product").find(".woocommerce-product-gallery__image img:eq(0)")),A.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionadd),data:t,dataType:"json",beforeSend:function(){a.addClass("loading")},complete:function(){a.removeClass("loading").addClass("added")},success:function(e){A.isFunction(A.fn.block)&&o.unblock();var t='<div class="popup-added-msg">';i.length&&(t+=A("<div>").append(i.clone()).html()),t+='<div class="popup-message"><strong class="text-color-heading">'+n+" </strong>"+la_theme_config.i18n.compare.success+"</div>",t+='<a class="button la_com_action--compare" rel="nofollow" href="'+e.table_url+'">'+la_theme_config.i18n.compare.view+"</a>",t+='<a class="button popup-button-continue" href="#" rel="nofollow">'+la_theme_config.i18n.global.continue_shopping+"</a>",t+="</div>",LaStudio.global.ShowMessageBox(t,"open-compare-msg open-custom-msg"),A('.add_compare[data-product_id="'+a.data("product_id")+'"]').addClass("added"),o.unblock().html(e.widget_table)}}))}),d.on("LaStudio.WooCommerceCompare.FixHeight",".la-compare-table-items",function(e){A("th",A(this)).each(function(e){A(".la-compare-table-heading th").eq(e).css("height",A(this).outerHeight())})}),A(".la-compare-table-items").trigger("LaStudio.WooCommerceCompare.FixHeight"),d.on("click",".product a.add_compare.la-core-compare",function(e){var a,t,o,i,n;A(this).hasClass("added")||(e.preventDefault(),t=(a=A(this)).data("product_id"),o=a.closest(".product").find(".product_item--thumbnail img:eq(0)"),i="Product",n={action:"la_helpers_compare",security:la_theme_config.security.compare_nonce,post_id:t,type:"add"},a.data("product_title")&&(i=a.data("product_title")),a.closest(".product--summary").length&&(o=a.closest(".product").find(".woocommerce-product-gallery__image img:eq(0)")),A.ajax({type:"POST",url:la_theme_config.ajax_url,data:n,dataType:"json",beforeSend:function(){a.addClass("loading")},complete:function(){a.removeClass("loading").addClass("added")},success:function(e){var t='<div class="popup-added-msg">';e.success?(o.length&&(t+=A("<div>").append(o.clone()).html()),t+='<div class="popup-message"><strong class="text-color-heading">'+i+" </strong>"+la_theme_config.i18n.compare.success+"</div>"):t+='<div class="popup-message">'+e.data.message+"</div>",t+='<a class="button view-popup-compare" rel="nofollow" href="'+e.data.compare_url+'">'+la_theme_config.i18n.compare.view+"</a>",t+='<a class="button popup-button-continue" rel="nofollow" href="#">'+la_theme_config.i18n.global.continue_shopping+"</a>",t+="</div>",LaStudio.global.ShowMessageBox(t,"open-compare-msg open-custom-msg"),A(".la-compare-count").html(e.data.count),A('.add_compare[data-product_id="'+a.data("product_id")+'"]').addClass("added").attr("href",e.data.compare_url)}}))}).on("click",".la_remove_from_compare",function(e){e.preventDefault();var t=A("#la_compare_table_wrapper");void 0!==A.fn.block&&t.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),console.log(e.target.href),t.load(e.target.href+" #la_compare_table_wrapper2",function(){void 0!==A.fn.unblock&&(t.stop(!0).css("opacity","1").unblock(),setTimeout(function(){A(".la-compare-table-items").trigger("LaStudio.WooCommerceCompare.FixHeight")},300))})})},LaStudio.core.AjaxShopFilter=function(){var s;0==A("#la_shop_products").length||A("#la_shop_products.deactive-filters").length||(A("li.current-cat, li.current-cat-parent",A("#sidebar_primary")).each(function(){A(this).addClass("open"),A(">ul",A(this)).css("display","block")}),s=[".wc-toolbar-top",".la-advanced-product-filters .sidebar-inner",".wc_page_description"],A("#la_shop_products").hasClass("elementor-widget")?(s.push("ul.ul_products"),s.push(".la-pagination")):s.push("#la_shop_products"),LaStudio.global.eventManager.subscribe("LaStudio:AjaxShopFilter",function(e,i,n){var t;0<A(".wc-toolbar-container").length&&(t=A(".wc-toolbar-container").offset().top-200,a.stop().animate({scrollTop:t},800)),"?"==i.slice(-1)&&(i=i.slice(0,-1)),i=i.replace(/%2C/g,","),i=LaStudio.global.removeURLParameter(i,"la_doing_ajax");try{history.pushState(null,null,i)}catch(e){}LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter:before_send",[i,n]),LaStudio.utils.ajax_xhr&&LaStudio.utils.ajax_xhr.abort(),i=LaStudio.global.addQueryArg(i,"la_doing_ajax","true"),LaStudio.utils.ajax_xhr=A.get(i,function(e){for(var t=0;t<s.length;t++)A(s[t]).length&&(".la-advanced-product-filters .sidebar-inner"==s[t]?A(e).find(s[t]).length&&(A(s[t]).replaceWith(A(e).find(s[t])),LaStudio.core.Blog(A(s[t])),A("li.current-cat, li.current-cat-parent",A(s[t])).each(function(){A(this).addClass("open"),A(">ul",A(this)).css("display","block")})):A(s[t]).replaceWith(A(e).find(s[t])));A("#sidebar_primary").length&&A(e).find("#sidebar_primary").length&&(A("#sidebar_primary").replaceWith(A(e).find("#sidebar_primary")),LaStudio.core.Blog(A("#sidebar_primary")),A("li.current-cat, li.current-cat-parent",A("#sidebar_primary")).each(function(){A(this).addClass("open"),A(">ul",A(this)).css("display","block")})),A("#section_page_header").length&&A(e).find("#section_page_header").length&&A("#section_page_header").replaceWith(A(e).find("#section_page_header"));try{var a=Cookies.get("lauriel_wc_catalog_view_mode");A('.wc-toolbar .wc-view-toggle button[data-view_mode="'+a+'"]').trigger("click");var o=Cookies.get("lauriel_wc_product_per_row");A('.wc-toolbar .wc-view-item a[data-col="'+o+'"]').trigger("click")}catch(e){}A("body").trigger("lastudio-fix-ios-limit-image-resource"),A(".la-ajax-shop-loading").removeClass("loading"),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter:success",[e,i,n])},"html")}),LaStudio.global.eventManager.subscribe("LaStudio:AjaxShopFilter:success",function(e,t,a,o){var i,n,s,l;A(".widget.woocommerce.widget_price_filter").length&&"undefined"!=typeof woocommerce_price_slider_params&&(A("input#min_price, input#max_price").hide(),A(".price_slider, .price_label").show(),i=A(".price_slider_amount #min_price").data("min"),n=A(".price_slider_amount #max_price").data("max"),s=A(".price_slider_amount #min_price").val(),l=A(".price_slider_amount #max_price").val(),A(".price_slider:not(.ui-slider)").slider({range:!0,animate:!0,min:i,max:n,values:[s,l],create:function(){A(".price_slider_amount #min_price").val(s),A(".price_slider_amount #max_price").val(l),A(document.body).trigger("price_slider_create",[s,l])},slide:function(e,t){A("input#min_price").val(t.values[0]),A("input#max_price").val(t.values[1]),A(document.body).trigger("price_slider_slide",[t.values[0],t.values[1]])},change:function(e,t){A(document.body).trigger("price_slider_change",[t.values[0],t.values[1]])}})),D.hasClass("open-advanced-shop-filter")&&(D.removeClass("open-advanced-shop-filter"),A(".la-advanced-product-filters").stop().slideUp("fast"));var r=LaStudio.global.getUrlParameter("pwb-brand-filter",location.href);null!==r&&""!==r&&(A('.pwb-filter-products input[type="checkbox"]').prop("checked",!1),r.split(",").filter(function(e){A('.pwb-filter-products input[type="checkbox"][value="'+e+'"]').prop("checked",!0)})),A("body").trigger("lastudio-fix-ios-limit-image-resource").trigger("lastudio-lazy-images-load").trigger("jetpack-lazy-images-load").trigger("lastudio-object-fit"),LaStudio.core.initAll(d)}),d.on("click",".btn-advanced-shop-filter",function(e){e.preventDefault(),D.toggleClass("open-advanced-shop-filter"),A(".la-advanced-product-filters").stop().animate({height:"toggle"})}).on("click",".la-advanced-product-filters .close-advanced-product-filters",function(e){e.preventDefault(),A(".btn-advanced-shop-filter").trigger("click")}).on("click","#la_shop_products .la-pagination:not(.la-ajax-pagination) a, .la-advanced-product-filters-result a",function(e){e.preventDefault(),A(".la-ajax-shop-loading").addClass("loading"),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[A(this).attr("href"),A(this)])}).on("click",".woo-widget-filter a, .wc-ordering a, .wc-view-count a, .woocommerce.product-sort-by a, .woocommerce.la-price-filter-list a, .woocommerce.widget_layered_nav a, .woocommerce.widget_product_tag_cloud li a, .woocommerce.widget_product_categories a",function(e){e.preventDefault(),A(".la-ajax-shop-loading").addClass("loading"),A(this).closest(".widget_layered_nav").length?A(this).parent().addClass("active"):A(this).parent().addClass("active").siblings().removeClass("active"),A(".lasf-custom-dropdown").removeClass("is-hover");var t=A(this).attr("href"),a=LaStudio.global.getUrlParameter("la_preset");!LaStudio.global.getUrlParameter("la_preset",t)&&a&&(t=LaStudio.global.addQueryArg(t,"la_preset",a)),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[t,A(this)])}).on("click",".woocommerce.widget_product_tag_cloud:not(.la_product_tag_cloud) a",function(e){e.preventDefault(),A(".la-ajax-shop-loading").addClass("loading"),A(this).addClass("active").siblings().removeClass("active");var t=A(this).attr("href"),a=LaStudio.global.getUrlParameter("la_preset");!LaStudio.global.getUrlParameter("la_preset",t)&&a&&(t=LaStudio.global.addQueryArg(t,"la_preset",a)),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[t,A(this)])}).on("click",".woocommerce.widget_layered_nav_filters a",function(e){e.preventDefault(),A(".la-ajax-shop-loading").addClass("loading"),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[A(this).attr("href"),A(this)])}).on("submit",".widget_price_filter form, .woocommerce-widget-layered-nav form",function(e){e.preventDefault();var t=A(this),a=t.attr("action")+"?"+t.serialize();A(".la-ajax-shop-loading").addClass("loading"),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[a,t])}).on("change",".woocommerce-widget-layered-nav form select",function(e){e.preventDefault();var t=A(this).val(),a=A(this).attr("class").split("dropdown_layered_nav_")[1];A(':input[name="filter_'+a+'"]').val(t),A(this).attr("multiple")||A(this).closest("form").submit()}).on("change",".widget_pwb_dropdown_widget .pwb-dropdown-widget",function(e){e.preventDefault();var t=A(this),a=A(this).val();A(".la-ajax-shop-loading").addClass("loading"),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[a,t])}).on("click",".widget_pwb_filter_by_brand_widget .pwb-filter-products button",function(e){e.preventDefault();var t=A(this).closest(".pwb-filter-products"),a=t.data("cat-url"),o=[];t.find('input[type="checkbox"]:checked').each(function(){o.push(A(this).val())}),0<o.length&&(a=LaStudio.global.addQueryArg(a,"pwb-brand-filter",o.join(","))),A(".la-ajax-shop-loading").addClass("loading"),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[a,t])}).on("change",".widget_pwb_filter_by_brand_widget .pwb-filter-products.pwb-hide-submit-btn input",function(e){e.preventDefault();var t=A(this).closest(".pwb-filter-products"),a=t.data("cat-url"),o=[];t.find('input[type="checkbox"]:checked').each(function(){o.push(A(this).val())}),0<o.length&&(a=LaStudio.global.addQueryArg(a,"pwb-brand-filter",o.join(","))),A(".la-ajax-shop-loading").addClass("loading"),LaStudio.global.eventManager.publish("LaStudio:AjaxShopFilter",[a,t])}),A(".widget_pwb_dropdown_widget .pwb-dropdown-widget").off("change"),A(".widget_pwb_filter_by_brand_widget .pwb-filter-products button").off("click"),A(".widget_pwb_filter_by_brand_widget .pwb-filter-products.pwb-hide-submit-btn input").off("change"))},LaStudio.core.OnLoadEvent=function(){D.removeClass("site-loading").addClass("body-loaded"),LaStudio.core.HeaderSticky(),A(".slick-slider").on("beforeChange afterChange",function(e,t,a,o){LaStudio.global.eventManager.publish("LaStudio:Component:LazyLoadImage",[A(this)])}),A(".force-active-object-fit").each(function(){D.trigger("lastudo-prepare-object-fit",[A(this)])}),A("#footer").length&&document.documentElement.style.setProperty("--footer-height",A("#footer").innerHeight()+"px")},LaStudio.core.CustomCursor=function(){D.append('<div class="cursor"><div class="cursor__wr"><div class="cursor__inner-wr cursor-default"></div></div></div>');var t=A(".cursor");T.on("mousemove",function(e){t.css({top:e.clientY-t.height()/2,left:e.clientX-t.width()/2})}).on("mouseleave",function(){t.css({opacity:"0"})}).on("mouseenter",function(){t.css({opacity:"1"})}).on("mousedown",function(){t.addClass("-enter")}).on("mouseup",function(){t.removeClass("-enter")}),A('a, button, input[type="button"], input[type="reset"], input[type="submit"]').on("mouseenter",function(){t.addClass("-active")}).on("mouseleave",function(){t.removeClass("-active")})},LaStudio.core.CustomFunction=function(){A('.entry div.gallery[class*="galleryid-"], .wp-block-gallery').each(function(){var e=LaStudio.global.getRandomID();A(this).find("a").addClass("la-popup").attr("data-elementor-lightbox-slideshow",e)})},LaStudio.core.OpenNewsletterPopup=function(a,t){var o="open-newsletter-popup";A.featherlight(a,{persist:"shared",type:"jquery",background:'<div class="featherlight featherlight-loading"><div class="featherlight-outer"><button class="featherlight-close-icon featherlight-close" aria-label="Close"><i class="lastudioicon-e-remove"></i></button><div class="featherlight-content"><div class="featherlight-inner"><div class="la-loader spinner3"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div><div class="cube1"></div><div class="cube2"></div><div class="cube3"></div><div class="cube4"></div></div></div></div></div><div class="custom-featherlight-overlay"></div></div>',beforeClose:function(e){var t="#__tmp__"+a.attr("id");a.insertBefore(A(t)),A(t).remove()},beforeOpen:function(){var e="__tmp__"+a.attr("id");A('<div id="'+e+'" class="featherlight__placeholder"></div>').insertBefore(a),D.addClass(o)},afterOpen:function(e){LaStudio.core.initAll(A(".featherlight-content"))},afterClose:function(e){"function"==typeof t&&t(),D.removeClass(o)}})},LaStudio.component.NewsletterPopup=function(e){var t=A(e),a=parseInt(t.attr("data-show-mobile")||0),o=parseInt(t.attr("data-delay")||2e3),i=parseInt(t.attr("data-back-time")||1),n=parseInt(t.attr("data-waitfortrigger")||0);return 1==n&&A(document).on("click touchend",".elm-trigger-open-newsletter",function(e){e.preventDefault(),LaStudio.core.OpenNewsletterPopup(t)}),{init:function(){if(1!=n){if(A(window).width()<767&&a)return;try{if("yes"==Cookies.get("lauriel_dont_display_popup"))return}catch(e){console.log(e)}A(window).load(function(){setTimeout(function(){LaStudio.core.OpenNewsletterPopup(t,function(){if(A(".cbo-dont-show-popup",t).length&&A(".cbo-dont-show-popup",t).is(":checked"))try{Cookies.set("lauriel_dont_display_popup","yes",{expires:i,path:"/"})}catch(e){}})},o)})}}}}}(jQuery),function(e){"use strict";e(function(){LaStudio.global.setBrowserInformation(),e(document).trigger("LaStudio:Document:BeforeRunScript"),LaStudio.core.SitePreload(),LaStudio.core.MegaMenu(),LaStudio.core.CustomCursor(),e(".la-ajax-searchform").each(function(){LaStudio.core.InstanceSearch(e(this))}),LaStudio.core.initAll(e(document)),LaStudio.core.ElementClickEvent(),LaStudio.core.Blog(),LaStudio.core.WooCommerce(),LaStudio.core.WooCommerceQuickView(),LaStudio.core.WooCommerceWishlist(),LaStudio.core.WooCommerceCompare(),LaStudio.core.AjaxShopFilter(),LaStudio.core.CustomFunction()}),window.addEventListener("load",LaStudio.core.OnLoadEvent)}(jQuery);
!function(i){"use strict";var r=window.LaStudio||{};r.component=window.LaStudio.component||{};var t=i(document),c=i(window),d=i("body");function a(){var l=i("#lastudio-header-builder"),e=i(".lahb-element--placeholder",l),a=i(".lahb-element--placeholder2",l);i(".lahb-vcom",l).length&&(i("<div/>",{class:"lahb-screen-view lahb-desktop-view lahb-varea"}).appendTo(l),i(".lahb-vcom",l).appendTo(i(".lahb-varea"))),i(".lahb-varea .lahb-vertical .lahb-content-wrap").append('<div class="lahb-voverlay"></div>'),e.each(function(){var e=i(this).data("element-id"),a=i('.lahb-element[data-element-id="'+e+'"]:not(.lahb-element--placeholder)',l).first().clone();a.removeAttr("itemscope").removeAttr("itemtype"),a.find(".la-ajax-searchform").removeClass("has-init"),a.find(".lahb-element--dontcopy").remove(),i(this).closest(".lahb-mobiles-view").length&&a.hasClass("lahb-nav-wrap")&&i('.lahb-element.lahb-element--placeholder2[data-element2-id="'+e+'"]',l).length?i(this).remove():i(this).replaceWith(a)}),a.each(function(){var e=i(this).data("element2-id"),a=i('.lahb-element[data-element2-id="'+e+'"]:not(.lahb-element--placeholder2)',l).first().clone();i(this).replaceWith(a)})}i(document).on("LaStudio:Document:BeforeRunScript",function(e){a()});var e={init:function(){var a=i("#lastudio-header-builder");i(".menu li.current-menu-item, .menu li.current_page_item, #side-nav li.current_page_item, .menu li.current-menu-ancestor, .menu li ul li ul li.current-menu-item , .hamburger-nav li.current-menu-item, .hamburger-nav li.current_page_item, .hamburger-nav li.current-menu-ancestor, .hamburger-nav li ul li ul li.current-menu-item, .full-menu li.current-menu-item, .full-menu li.current_page_item, .full-menu li.current-menu-ancestor, .full-menu li ul li ul li.current-menu-item ").addClass("current"),i(".menu li ul li:has(ul)").addClass("submenu");var e=i(".header-social-modal-wrap").html();i(".header-social-modal-wrap").remove(),i(".main-slide-toggle").append(e);var l=i(".header-search-modal-wrap").html();i(".header-search-modal-wrap").remove(),i(".main-slide-toggle").append(l);var n=i(".header-search-full-wrap").first();n.length&&(i(".searchform-fly > p").replaceWith(n.find(".searchform-fly-text")),i(".searchform-fly > .search-form").replaceWith(n.find(".search-form")),i(".header-search-full-wrap").remove(),i(".searchform-fly-overlay").removeClass("has-init")),i(".la-hamburger-wrap").each(function(){i(this).appendTo(d)}),i(".lahb-social .js-social_trigger_dropdown").on("click",function(e){e.preventDefault(),i(this).siblings(".header-social-dropdown-wrap").fadeToggle("fast")}),i(".header-social-dropdown-wrap a").on("click",function(e){i(".header-social-dropdown-wrap").css({display:"none"})}),i(".lahb-social .js-social_trigger_slide").on("click",function(e){e.preventDefault(),a.find(".la-header-social").hasClass("opened")?(a.find(".main-slide-toggle").slideUp("opened"),a.find(".la-header-social").removeClass("opened")):(a.find(".main-slide-toggle").slideDown(240),a.find("#header-search-modal").slideUp(240),a.find("#header-social-modal").slideDown(240),a.find(".la-header-social").addClass("opened"),a.find(".la-header-search").removeClass("opened"))}),t.on("click",function(e){i(e.target).hasClass("js-social_trigger_slide")||a.find(".la-header-social").hasClass("opened")&&(a.find(".main-slide-toggle").slideUp("opened"),a.find(".la-header-social").removeClass("opened"))}),i(".lahb-cart > a").on("click",function(e){(i(this).closest(".lahb-cart").hasClass("force-display-on-mobile")||767<c.width())&&(e.preventDefault(),i("body").toggleClass("open-cart-aside"))}),i(".lahb-search.lahb-header-full > a").on("click",function(e){e.preventDefault(),i("body").addClass("open-search-form"),setTimeout(function(){i(".searchform-fly .search-field").focus()},600)}),i(".lahb-search .js-search_trigger_slide").on("click",function(e){a.find(".la-header-search").hasClass("opened")?(a.find(".main-slide-toggle").slideUp("opened"),a.find(".la-header-search").removeClass("opened")):(a.find(".main-slide-toggle").slideDown(240),a.find("#header-social-modal").slideUp(240),a.find("#header-search-modal").slideDown(240),a.find(".la-header-search").addClass("opened"),a.find(".la-header-social").removeClass("opened"),a.find("#header-search-modal .search-field").focus())}),t.on("click",function(e){i(e.target).hasClass("js-search_trigger_slide")||i(e.target).closest(".js-search_trigger_slide").length||i(".lahb-search .js-search_trigger_slide").length&&a.find(".la-header-search").hasClass("opened")&&(a.find(".main-slide-toggle").slideUp("opened"),a.find(".la-header-search").removeClass("opened"))}),i.fn.niceSelect&&i(".la-polylang-switcher-dropdown select").niceSelect(),i.fn.superfish&&i(".lahb-area:not(.lahb-vertical) .lahb-nav-wrap:not(.has-megamenu) ul.menu").superfish({delay:300,hoverClass:"la-menu-hover",animation:{opacity:"show",height:"show"},animationOut:{opacity:"hide",height:"hide"},easing:"easeOutQuint",speed:100,speedOut:0,pathLevels:2}),i(".lahb-nav-wrap .menu li a").addClass("hcolorf");var o=i(".hamburger-type-toggle").find(".hamburger-menu-wrap");0<o.length&&(o.appendTo("body"),i(".hamburger-type-toggle .la-hamuburger-bg").remove()),i(".hamburger-menu-wrap").hasClass("toggle-right")?i("body").addClass("lahb-body lahmb-right"):i(".hamburger-menu-wrap").hasClass("toggle-left")&&i("body").addClass("lahb-body lahmb-left"),i.fn.niceScroll&&i(".hamburger-menu-main").niceScroll({scrollbarid:"lahb-hamburger-scroll",cursorwidth:"5px",autohidemode:!0}),i(".btn-close-hamburger-menu").on("click",function(e){e.preventDefault(),d.removeClass("is-open"),i(".lahb-hamburger-menu").removeClass("is-open"),i(".hamburger-menu-wrap").removeClass("hm-open"),i.fn.getNiceScroll&&i(".hamburger-menu-main").getNiceScroll().resize()}),i(".hamburger-type-toggle a.lahb-icon-element").on("click",function(e){e.preventDefault();var a=i(this),l=a.closest(".lahb-hamburger-menu"),n=a.attr("data-id");l.hasClass("is-open")?i(".btn-close-hamburger-menu").trigger("click"):(l.addClass("is-open"),d.addClass("is-open"),d.find(".hamburger-menu-wrap.hamburger-menu-wrap-"+n).addClass("hm-open"),i.fn.getNiceScroll&&i(".hamburger-menu-main").getNiceScroll().resize())}),i(".hamburger-nav.toggle-menu").find("li").each(function(){var l=i(this);l.children("ul").length&&l.children("a").append('<i class="hamburger-nav-icon lastudioicon-down-arrow"></i>'),i("> a > .hamburger-nav-icon",l).on("click",function(e){e.preventDefault();var a=i(this);a.hasClass("active")?(a.removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow"),i(">ul",l).stop().slideUp()):(a.removeClass("lastudioicon-down-arrow").addClass("lastudioicon-up-arrow active"),i(">ul",l).stop().slideDown(350,function(){i.fn.getNiceScroll&&i(".hamburger-menu-main").getNiceScroll().resize()}))})}),i(".hamburger-type-full .js-hamburger_trigger").on("click",function(e){e.preventDefault();var a=i(this);a.hasClass("open-button")?(i(".la-hamburger-wrap-"+a.data("id")).removeClass("open-menu"),a.removeClass("open-button").addClass("close-button"),i("body").removeClass("opem-lahb-iconmenu")):(i(".la-hamburger-wrap-"+a.data("id")).addClass("open-menu"),a.removeClass("close-button").addClass("open-button"),i("body").addClass("opem-lahb-iconmenu"))}),i(".btn-close-hamburger-menu-full").on("click",function(e){e.preventDefault(),i(".js-hamburger_trigger").removeClass("open-button").addClass("close-button"),i(".la-hamburger-wrap").removeClass("open-menu"),i("body").removeClass("opem-lahb-iconmenu")}),i(".full-menu li > ul").each(function(){i(this).prev("a").append('<i class="hamburger-nav-icon lastudioicon-down-arrow"></i>')}),i(".full-menu").on("click","li .hamburger-nav-icon",function(e){e.preventDefault();var a=i(this),l=a.closest("li");l.hasClass("open")?(a.removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow"),l.removeClass("open"),l.find("li").removeClass("open"),l.find("ul").stop().slideUp(),l.find(".hamburger-nav-icon").removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow")):(l.addClass("open"),a.removeClass("lastudioicon-down-arrow").addClass("active lastudioicon-up-arrow"),l.find(">ul").stop().slideDown(),l.siblings().removeClass("open").find("ul").stop().slideUp(),l.siblings().find("li").removeClass("open"),l.siblings().find(".hamburger-nav-icon").removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow"))}),i(".touchevents .full-menu").on("touchend","li .hamburger-nav-icon",function(e){e.preventDefault();var a=i(this),l=a.closest("li");l.hasClass("open")?(a.removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow"),l.removeClass("open"),l.find("li").removeClass("open"),l.find("ul").stop().slideUp(),l.find(".hamburger-nav-icon").removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow")):(l.addClass("open"),a.removeClass("lastudioicon-down-arrow").addClass("active lastudioicon-up-arrow"),l.find(">ul").stop().slideDown(),l.siblings().removeClass("open").find("ul").stop().slideUp(),l.siblings().find("li").removeClass("open"),l.siblings().find(".hamburger-nav-icon").removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow"))}),i(".lahb-search .js-search_trigger_toggle").on("click",function(e){e.preventDefault(),i(this).siblings(".lahb-search-form-box").toggleClass("show-sbox")}),t.on("click",function(e){i(e.target).hasClass("js-search_trigger_toggle")||i(e.target).closest(".js-search_trigger_toggle").length||i(".lahb-search-form-box").length&&0==i(e.target).closest(".lahb-search-form-box").length&&i(".lahb-search-form-box").removeClass("show-sbox")}),i(".lahb-responsive-menu-icon-wrap").on("click",function(e){e.preventDefault();var a=i(this),l=a.data("uniqid"),n=i('.lahb-responsive-menu-wrap[data-uniqid="'+l+'"]'),o=n.find(".close-responsive-nav"),s=n.hasClass("hm-res_m-pos--right")?"right":"left";!1===n.hasClass("open")?(a.addClass("open-icon-wrap").children().addClass("open"),o.addClass("open-icon-wrap").children().addClass("open"),"right"==s?n.animate({right:0},350):n.animate({left:0},350),n.addClass("open")):(a.removeClass("open-icon-wrap").children().removeClass("open"),o.removeClass("open-icon-wrap").children().removeClass("open"),"right"==s?n.animate({right:-1*n.outerWidth()},350):n.animate({left:-1*n.outerWidth()},350),n.removeClass("open"))}),i(".lahb-responsive-menu-wrap").each(function(){var e=i(this),a=e.data("uniqid"),l=e.clone(),n=l.find(".close-responsive-nav"),o=i('.lahb-responsive-menu-icon-wrap[data-uniqid="'+a+'"]'),s=l.hasClass("hm-res_m-pos--right")?"right":"left";e.remove(),i("#lastudio-header-builder").append(l),l.find("li").each(function(){var l=i(this);l.children("ul").length&&l.children("a").append('<i class="lastudioicon-down-arrow respo-nav-icon"></i>'),i("> a > .respo-nav-icon",l).on("click",function(e){e.preventDefault();var a=i(this);a.hasClass("active")?(a.removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow"),i(">ul",l).stop().slideUp(350)):(a.removeClass("lastudioicon-down-arrow").addClass("lastudioicon-up-arrow active"),i(">ul",l).stop().slideDown(350))})}),n.on("click",function(){o.hasClass("open-icon-wrap")?(o.removeClass("open-icon-wrap").children().removeClass("open"),n.removeClass("open-icon-wrap").children().removeClass("open")):(o.addClass("open-icon-wrap").children().addClass("open"),n.addClass("open-icon-wrap").children().addClass("open")),!0===l.hasClass("open")&&("right"==s?l.animate({right:-1*l.outerWidth()},350):l.animate({left:-1*l.outerWidth()},350),l.removeClass("open"))}),l.on("click","li.menu-item:not(.menu-item-has-children) > a",function(e){o.removeClass("open-icon-wrap").children().removeClass("open"),n.removeClass("open-icon-wrap").children().removeClass("open"),"right"==s?l.animate({right:-1*l.outerWidth()},350):l.animate({left:-1*l.outerWidth()},350),l.removeClass("open")})}),i(".lahb-login-form .input-text").each(function(){i(this).siblings("label").length&&i(this).attr("placeholder",i(this).siblings("label").text())}),i(".lahb-login .js-login_trigger_dropdown").each(function(){var e=i(this);0==e.siblings(".lahb-modal-login").length&&i(".lahb-modal-login.la-element-dropdown").first().clone().appendTo(e.parent())}),i(".lahb-login .js-login_trigger_dropdown").on("click",function(e){e.preventDefault(),i(this).siblings(".lahb-modal-login").fadeToggle("fast")}),i(".lahb-contact .js-contact_trigger_dropdown").on("click",function(e){e.preventDefault(),i(this).siblings(".la-contact-form").fadeToggle("fast")}),t.on("click",function(e){i(e.target).hasClass("js-contact_trigger_dropdown")||i(".la-contact-form.la-element-dropdown").length&&0==i(e.target).closest(".la-contact-form.la-element-dropdown").length&&i(".la-contact-form.la-element-dropdown").css({display:"none"})}),i(".lahb-icon-menu .js-icon_menu_trigger").on("click",function(e){e.preventDefault(),i(this).siblings(".lahb-icon-menu-content").fadeToggle("fast")}),t.on("click",function(e){i(e.target).hasClass("js-icon_menu_trigger")||i(".la-element-dropdown.lahb-icon-menu-content").length&&0==i(e.target).closest(".la-element-dropdown.lahb-icon-menu-content").length&&i(".la-element-dropdown.lahb-icon-menu-content").css({display:"none"})}),i(".lahb-wishlist").each(function(e,a){i(this).find("#la-wishlist-icon").on("click",function(e){i(this).siblings(".la-header-wishlist-wrap").fadeToggle("fast",function(){i(".la-header-wishlist-wrap").is(":visible")&&i(document).on("click",function(e){i(e.target).parents(".lahb-wishlist").length||i(".la-header-wishlist-wrap").css({display:"none"})})})})}),i(".la-header-wishlist-content-wrap").find(".la-wishlist-total").addClass("colorf"),i(".lahb-profile-socials-text").on("mouseenter",function(){i(this).closest(".lahb-profile-socials-wrap").find(".lahb-profile-socials-icons").removeClass("profile-socials-hide").addClass("profile-socials-show")}).on("mouseleave",function(){i(this).closest(".lahb-profile-socials-wrap").find(".lahb-profile-socials-icons").removeClass("profile-socials-show").addClass("profile-socials-hide")}),i(".lahb-vertical-toggle-wrap .vertical-toggle-icon").on("click",function(e){e.preventDefault(),d.hasClass("open-lahb-vertical")?d.removeClass("open-lahb-vertical"):d.addClass("open-lahb-vertical")}),i(".lahb-vertical .lahb-nav-wrap:not(.lahb-vertital-menu_nav)").removeClass("has-megamenu has-parent-arrow"),i(".lahb-vertical .lahb-nav-wrap:not(.lahb-vertital-menu_nav) li.mega").removeClass("mega"),i(".lahb-vertical .lahb-nav-wrap:not(.lahb-vertital-menu_nav) li.mm-popup-wide").removeClass("mm-popup-wide"),i(".lahb-vertical .lahb-nav-wrap:not(.lahb-vertital-menu_nav) .menu li").each(function(){var l=i(this);l.children("ul").length&&l.children("a").removeClass("sf-with-ul").append('<i class="lastudioicon-down-arrow lahb-vertical-nav-icon"></i>'),i("> a > .lahb-vertical-nav-icon",l).on("click",function(e){e.preventDefault();var a=i(this);a.hasClass("active")?(a.removeClass("active lastudioicon-up-arrow").addClass("lastudioicon-down-arrow"),i(">ul",l).stop().slideUp()):(a.removeClass("lastudioicon-down-arrow").addClass("lastudioicon-up-arrow active"),i(">ul",l).stop().slideDown())})}),t.on("keyup",function(e){27==e.keyCode&&(d.removeClass("is-open open-search-form open-cart-aside open-lahb-vertical"),i(".hamburger-menu-wrap").removeClass("hm-open"),i(".lahb-hamburger-menu.hamburger-type-toggle").removeClass("is-open"),i(".lahb-hamburger-menu.hamburger-type-full .hamburger-op-icon").removeClass("open-button").addClass("close-button"),i(".la-hamburger-wrap").removeClass("open-menu"))}),i(".lahb-mobiles-view .lahb-vertital-menu_nav").removeClass("has-parent-arrow");var s=i(".lahb-mobiles-view .lahb-vertital-menu_nav > .menu");s.length&&s.each(function(){var e=i(this).clone(),a=i(this).parent();i(this).remove(),e.find(".mm-popup-wide").removeClass("mm-popup-wide mega"),e.find(".mm-popup-narrow").removeClass("mm-popup-narrow"),e.find(".mm-mega-ul").each(function(){i(this).unwrap().unwrap().removeClass("mm-mega-ul").addClass("sub-menu"),i(">li",i(this)).removeAttr("style").removeClass("submenu")}),e.find("> li > ul").each(function(){i(this).before('<span class="narrow"><i></i></span>')}),e.on("click","li > .narrow",function(e){e.preventDefault();var a=i(this).parent();a.hasClass("open")?(a.removeClass("open"),a.find(">ul").stop().slideUp()):(a.addClass("open"),a.find(">ul").stop().slideDown(),a.siblings().removeClass("open").find(">ul").stop().slideUp())}),e.appendTo(a)}),i(".la-ajax-searchform").each(function(){r.core.InstanceSearch(i(this))}),t.on("click",function(e){i(e.target).closest(".la-ajax-searchform").length||i(".la-ajax-searchform .results-container").hide()})},stickyVerticalHeader:function(){function e(){i(".header-type-vertical--default .lahb-wrap .lahb-vertical .lahb-content-wrap").lasfsticky({to:"top",offset:a,effectsOffset:0,parent:"#main",classes:{sticky:"elementor-sticky",stickyActive:"elementor-sticky--active elementor-section--handles-inside",stickyEffects:"elementor-sticky--effects",spacer:"elementor-sticky__spacer"}})}var a=r.global.getAdminBarHeight();a+=parseInt(i(".header-type-vertical .lahb-row1-area").css("paddingTop"));i.isFunction(i.fn.lasfsticky)?e():r.core.loadDependencies([r.global.loadJsFile("lastudio-sticky")],e)},reloadAllEvents:function(){a(),i("body > .hamburger-menu-wrap").remove(),r.component.HeaderBuilder.init(),r.core.HeaderSticky(),r.core.MegaMenu(),c.trigger("scroll"),console.log("ok -- reloadAllEvents!")}};r.component.HeaderBuilder=e,i(function(){r.component.HeaderBuilder.init();var e=i(".entry .woocommerce .woocommerce-notices-wrapper"),a=i(".lahb-login-form .woocommerce-notices-wrapper");e.length?a.length&&(e.html(a.html()),a.remove()):a.find(">div").length&&a.closest(".lahb-login").find(".lahb-modal-target-link").first().trigger("click"),i(document).on("click",".lahb-btn-register",function(e){i(".lahb-login-form #customer_login .col-2").length&&(e.preventDefault(),i(".lahb-login > a").first().trigger("click"),i("#customer_login .col-1").removeClass("active"),i("#customer_login .col-2").addClass("active"))}).on("click",".lahb-login .lahb-modal-target-link",function(e){i("#customer_login .col-1").addClass("active"),i("#customer_login .col-2").removeClass("active")})})}(jQuery);