!function(e){"use strict";var t=window.VAMTAM=window.VAMTAM||{};t.debounce=function(e,t,i){var n;return function(){var o=this,a=arguments,s=i&&!n;clearTimeout(n),n=setTimeout(function(){n=null,i||e.apply(o,a)},t),s&&e.apply(o,a)}},"jQuery"in window&&!("debounce"in window.jQuery)&&(window.jQuery.debounce=function(e,i,n){return void 0===n?t.debounce(i,e,!1):t.debounce(n,e,!1!==i)}),t.offset=function(e){var t=e.getBoundingClientRect(),i=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+n,left:t.left+i}},t.scroll_handlers=[],t.latestKnownScrollY=0;var i=!1;t.addScrollHandler=function(e){requestAnimationFrame(function(){e.init(),t.scroll_handlers.push(e),e.measure(t.latestKnownScrollY),e.mutate(t.latestKnownScrollY)})},t.onScroll=function(){t.latestKnownScrollY=window.pageYOffset,i||(i=!0,requestAnimationFrame(function(){var e;for(e=0;e<t.scroll_handlers.length;e++)t.scroll_handlers[e].measure(t.latestKnownScrollY);for(e=0;e<t.scroll_handlers.length;e++)t.scroll_handlers[e].mutate(t.latestKnownScrollY);i=!1}))},window.addEventListener("scroll",t.onScroll,{passive:!0}),t.load_script=function(e,t){var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=e,t&&(i.onload=t),document.getElementsByTagName("script")[0].before(i)},t.load_style=function(e,t,i,n){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.media=t,o.href=e,i&&(o.onload=i),n?n.after(o):document.getElementsByTagName("link")[0].before(o)}}(),function(e,t){"use strict";var i=[];document.addEventListener("DOMContentLoaded",function(){var t=[];"punchgs"in window?(window.vamtamgs=window.GreenSockGlobals=window.punchgs,window._gsQueue=window._gsDefine=null):(window.vamtamgs=window.GreenSockGlobals={},window._gsQueue=window._gsDefine=null,t.push(window.VAMTAM_FRONT.jspath+"plugins/thirdparty/gsap/TweenLite.min.js",window.VAMTAM_FRONT.jspath+"plugins/thirdparty/gsap/TimelineLite.min.js",window.VAMTAM_FRONT.jspath+"plugins/thirdparty/gsap/plugins/CSSPlugin.min.js")),window.vamtam_greensock_loaded=!1,"scroll-behavior"in document.documentElement.style||t.push(window.VAMTAM_FRONT.jspath+"plugins/thirdparty/smoothscroll.js");var n=0,o=function(){++n>=t.length&&(window.GreenSockGlobals=window._gsQueue=window._gsDefine=null,window.vamtam_greensock_loaded=!0,function(){for(var e=0;e<i.length;e++)i[e].call(window)}())};if(t.length>0)for(var a=0;a<t.length;a++)e.load_script(t[a],o);else o()}),window.vamtam_greensock_wait=function(e){var t=function(){requestAnimationFrame(e)};window.vamtam_greensock_loaded?t():i.push(t)}}(window.VAMTAM),function(){"use strict";var e,t=function(){for(var e,t,i=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();t=i.shift();)if("string"==typeof t)for((e=document.createElement("div")).innerHTML=t;e.firstChild;)n.appendChild(e.firstChild);else n.appendChild(t);return n},i={before:function(){var e=t.apply(this,arguments);this.parentNode.insertBefore(e,this)},after:function(){var e=t.apply(this,arguments);this.parentNode.insertBefore(e,this.nextSibling)},replaceWith:function(){if(this.parentNode){var e=t.apply(this,arguments);this.parentNode.replaceChild(e,this)}},remove:function(){this.parentNode&&this.parentNode.removeChild(this)}},n=["before","after","replaceWith","remove"];["Element","DocumentType","CharacterData"].forEach(function(e){n.forEach(function(t){if(window[e]){if(window[e].prototype[t])return;window[e].prototype[t]=i[t]}})}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(e){var i=e instanceof Node;t.appendChild(i?e:document.createTextNode(String(e)))}),this.insertBefore(t,this.firstChild)}})}),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])}return t}),window.Element&&((e=Element.prototype).matches=e.matches||e.matchesSelector||e.webkitMatchesSelector||e.msMatchesSelector||function(e){for(var t=(this.parentNode||this.document).querySelectorAll(e),i=-1;t[++i]&&t[i]!=this;);return!!t[i]}),window.Element&&function(e){e.closest=e.closest||function(e){for(var t=this;t.matches&&!t.matches(e);)t=t.parentNode;return t.matches?t:null}}(Element.prototype)}(),function(e){"use strict";window.VAMTAM=window.VAMTAM||{},window.VAMTAM.MEDIA=window.VAMTAM.MEDIA||{layout:{},fallback:!(window.CSS&&window.CSS.supports&&window.CSS.supports("(--foo: red)"))};var t=[{min:0,max:window.VAMTAM_FRONT.beaver_small,className:"layout-small"},{min:window.VAMTAM_FRONT.beaver_responsive+1,max:1/0,className:"layout-max"},{min:window.VAMTAM_FRONT.beaver_responsive+1,max:window.VAMTAM_FRONT.content_width,className:"layout-max-low"},{min:0,max:window.VAMTAM_FRONT.beaver_responsive,className:"layout-below-max"}],i=t.length,n=function(){for(var e={},n=0;n<i;n++){var o="(min-width: "+t[n].min+"px)";t[n].max!==1/0&&(o+=" and (max-width: "+t[n].max+"px)"),window.matchMedia(o).matches?e[t[n].className]=!0:e[t[n].className]=!1}window.VAMTAM.MEDIA.layout=e},o=window.VAMTAM.debounce(n,100);n(),document.addEventListener("DOMContentLoaded",function(){document.body.classList.contains("responsive-layout")&&"matchMedia"in window?(window.addEventListener("resize",o,!1),window.addEventListener("load",o,!1),n()):window.VAMTAM.MEDIA.layout={"layout-max":!0,"layout-below-max":!1}})}(),function(e,t,i){"use strict";window.FLBuilderLayout&&Object.assign(window.FLBuilderLayout,{_initAnchorLinks:function(){}});var n=e("header.main-header"),o=e("#main"),a=e(document.body),s=n.find(".header-contents"),r=document.getElementById("vamtam-megamenu-main-menu-toggle"),l=document.querySelector("#main-menu > .mega-menu-wrap > .mega-menu-toggle"),c=document.querySelector("#main-menu");r&&r.addEventListener("click",function(e){e.preventDefault(),requestAnimationFrame(function(){var e=(l||r).classList.contains("mega-menu-open");r.classList.toggle("mega-menu-open",!e),(l||c).classList.toggle("mega-menu-open",!e)})});var m,d=document.getElementById("vamtam-overlay-menu"),u=document.querySelector(".vamtam-overlay-menu-toggle"),p=!1;e(function(){document.body.addEventListener("click",function(e){var t=e.target.closest("button");t&&t.classList.contains("vamtam-overlay-menu-toggle")&&function(e){e.preventDefault(),requestAnimationFrame(function(){if(p=!p){m=u.cloneNode(!0);var e=u.getBoundingClientRect();document.body.appendChild(m),Object.assign(m.style,{position:"fixed",top:e.top+"px",left:e.left+"px"}),requestAnimationFrame(function(){d.classList.add("open"),m.classList.add("is-active")})}else m.classList.remove("is-active"),d.classList.remove("open"),setTimeout(function(){requestAnimationFrame(function(){m.remove()})},650)})}(e)})});var h,f,w=e("#main-menu .sub-menu");if(w.length){var g=window.VAMTAM.debounce(function(){requestAnimationFrame(function(){var t=window.innerWidth;w.show().removeClass("invert-position").each(function(){e(this).offset().left+e(this).width()>t-50&&e(this).addClass("invert-position")}),w.css("display","")})},100);g(),window.addEventListener("resize",g,!1)}if(c&&c.classList.contains("vamtam-basic-menu")){var v=e(c).find(".sub-menu"),y=e(c).find(".menu-item > a");y.on("click",function(t){if(c.classList.contains("mega-menu-open")){var i=this.parentElement;if(!this.classList.contains("menu-item-on")&&i.classList.contains("menu-item-has-children")){t.preventDefault();var n=e(i).find(".sub-menu");v.attr("style",""),n.attr("style","display: block !important;"),y.not(this).removeClass("menu-item-on"),this.classList.add("menu-item-on")}}})}var b=function(){clearTimeout(h),h=setTimeout(A,200)},A=function(){window.removeEventListener("scroll",b,{passive:!0}),t.blockStickyHeaderAnimation=!1,setTimeout(function(){requestAnimationFrame(function(){document.body.classList.remove("no-sticky-header-animation-tmp")})},50),f&&f()},T=function(e,i,c){requestAnimationFrame(function(){var i=e.offset().top;t.blockStickyHeaderAnimation=!0;var m=0;n.hasClass("layout-standard")||n.hasClass("logo-text-menu")?m=i>=o.offset().top?n.find(".second-row-columns").height():n.height():a.hasClass("no-sticky-header-animation")?m=n.height():(m=s.height(),"stickyHeader"in t&&t.stickyHeader.singleRowStick(),document.body.classList.add("no-sticky-header-animation-tmp")),window.matchMedia("(max-width: "+VAMTAM_FRONT.mobile_header_breakpoint+")").matches&&(m=n.height());var d=i-t.admin_bar_fix-m;f=c,window.addEventListener("scroll",b,{passive:!0}),window.scroll({left:0,top:d,behavior:"smooth"}),e.attr("id")&&(history.pushState?history.pushState(null,null,"#"+e.attr("id")):window.location.hash=e.attr("id")),r&&r.classList.remove("mega-menu-open"),l&&l.classList.remove("mega-menu-open")})};if(window.FLBuilderLayout&&Object.assign(window.FLBuilderLayout,{_scrollToElement:function(e,t){var i=window.FLBuilderLayoutConfig.anchorLinkAnimations;e.length&&(r.classList.remove("mega-menu-open"),l.classList.remove("mega-menu-open"),T(e,i.duration,t))}}),e(document.body).on("click",".vamtam-animated-page-scroll[href], .vamtam-animated-page-scroll [href], .vamtam-animated-page-scroll [data-href], .mega-vamtam-animated-page-scroll[href], .mega-vamtam-animated-page-scroll [href], .mega-vamtam-animated-page-scroll [data-href]",function(t){var i=e(this).prop("href")||e(this).data("href"),n=e("#"+i.split("#")[1]),o=document.createElement("a");o.href=i,n.length&&o.pathname===window.location.pathname&&(r.classList.remove("mega-menu-open"),l.classList.remove("mega-menu-open"),T(n),t.preventDefault())}),""!==window.location.hash&&(e('.vamtam-animated-page-scroll[href*="'+window.location.hash+'"]').length||e('.vamtam-animated-page-scroll [href*="'+window.location.hash+'"]').length||e('.vamtam-animated-page-scroll [data-href*="'+window.location.hash+'"]').length||e('.mega-vamtam-animated-page-scroll[href*="'+window.location.hash+'"]').length||e('.mega-vamtam-animated-page-scroll [href*="'+window.location.hash+'"]').length||e('.mega-vamtam-animated-page-scroll [data-href*="'+window.location.hash+'"]').length)){var M=e(window.location.hash);M.length>0&&e(window).add("html, body, #page").scrollTop(0),setTimeout(function(){T(M)},400)}var L=[];if(e("#main-menu").find(".mega-menu, .menu").find(".maybe-current-menu-item, .mega-current-menu-item, .current-menu-item").each(function(){var t=e("> a",this);if(t.prop("href").indexOf("#")>-1){var i=t.prop("href").split("#")[1];"#"+i!==window.location.hash&&e(this).removeClass("mega-current-menu-item current-menu-item"),L.push([i,e(this),e("#"+i)])}}),L.length){var _=0,x=0,E=null;t.addScrollHandler({init:function(){},add_current_menu_item:function(e){for(var t=0;t<L.length;t++)L[t][0]===e&&(L[t][1][0].classList.add("mega-current-menu-item"),L[t][1][0].classList.add("current-menu-item"))},measure:function(e){_=window.innerHeight,x=document.body.offsetHeight,this.upmost=1/0,this.upmost_data=null;for(var t=0;t<L.length;t++){var i=L[t][2];if(i.length){var n=i.offset().top+10;n>e&&n<this.upmost&&(n<e+_/2||n<e+_&&e+_===x)&&(this.upmost_data=L[t],this.upmost=n)}}},mutate:function(t){for(var i=0;i<L.length;i++)L[i][2].length&&(L[i][1][0].classList.remove("mega-current-menu-item"),L[i][1][0].classList.remove("current-menu-item"),L[i][1][0].childNodes[0].blur());this.upmost_data?(this.add_current_menu_item(this.upmost_data[0]),"history"in window&&(null!==E?E[0]:"")!==this.upmost_data[0]&&(window.history.pushState(this.upmost_data[0],e("> a",this.upmost_data[1]).text(),0!==t?"#"+this.upmost_data[0]:location.href.replace(location.hash,"")),E=e.extend({},this.upmost_data))):null===this.upmost_data&&null!==E&&this.add_current_menu_item(E[0])}})}}(jQuery,window.VAMTAM),function(e,t){"use strict";window.addEventListener("load",function(){var t=document.querySelectorAll("[data-progressive-animation]");!t.length||document.body.classList.contains("fl-builder-active")||window.matchMedia("(prefers-reduced-motion: reduce)").matches||vamtam_greensock_wait(function(){e.addScrollHandler({defaultOptions:{origin:"center center",type:"progressive",exit:!0,delay:0,mobile:!1,pin:!1,pinUnit:"px",pinTrigger:"center"},blockAnimations:!1,canActivate:function(t){return t||!e.MEDIA.layout["layout-below-max"]},buildTimeline:function(e,t){var i=new vamtamgs.TimelineLite({paused:!0}),n=e.getAttribute("data-progressive-animation");if("dummy"===n)i.fromTo(e,1,{opacity:1},{opacity:1},"0"),t&&i.to(e,1,{opacity:1},"1");else if("rotate"===n)i.fromTo(e,1,{rotation:-180},{rotation:0},"0"),t&&i.to(e,1,{rotation:180},"1");else if("fade"===n)i.fromTo(e,1,{opacity:0},{opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-from-top"===n)i.fromTo(e,1,{y:-160,opacity:0},{y:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-from-bottom"===n)i.fromTo(e,1,{y:100,opacity:0},{y:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-50},"1.6");else if("move-from-left"===n)i.fromTo(e,1,{x:-160,opacity:0},{x:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:-100},"1.6");else if("move-from-right"===n)i.fromTo(e,1,{x:160,opacity:0},{x:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:100},"1.6");else if("scale-in"===n)i.fromTo(e,1,{opacity:0,scaleX:0,scaleY:0},{opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6");else if("scale-out"===n)i.fromTo(e,1,{opacity:0,scaleX:2,scaleY:2},{opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6");else if("move-scale-in-from-top"===n)i.fromTo(e,1,{y:-160,opacity:0,scaleX:.6,scaleY:.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-in-from-bottom"===n)i.fromTo(e,1,{y:160,opacity:0,scaleX:.6,scaleY:.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-in-from-left"===n)i.fromTo(e,1,{x:-160,opacity:0,scaleX:.6,scaleY:.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:-100},"1.6");else if("move-scale-in-from-right"===n)i.fromTo(e,1,{x:160,opacity:0,scaleX:.6,scaleY:.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:100},"1.6");else if("move-scale-out-from-top"===n)i.fromTo(e,1,{y:-160,opacity:0,scaleX:1.6,scaleY:1.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-out-from-bottom"===n)i.fromTo(e,1,{y:160,opacity:0,scaleX:1.6,scaleY:1.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-out-from-left"===n)i.fromTo(e,1,{x:-160,opacity:0,scaleX:1.6,scaleY:1.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:-100},"1.6");else if("move-scale-out-from-right"===n)i.fromTo(e,1,{x:160,opacity:0,scaleX:1.6,scaleY:1.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:100},"1.6");else if("rotate-from-top-right"===n)i.fromTo(e,1,{y:-200,x:120,rotation:-10,opacity:0},{y:0,x:0,rotation:0,opacity:1},"0"),t&&i.fromTo(e,1,{immediateRender:!1,y:0},{y:-70},"1.6");else if("expand-scroll"===n){var o=e.querySelector(".fl-row-content-wrap"),a=e.querySelector(".vamtam-expand-scroll-content"),s=e.vamtamProgressiveTimeline.options.pin;a.style.width=s+"px",a.style.boxSizing="content-box",i.fromTo(a,2,{x:0},{x:-(s-this.winWidth+2*parseInt(getComputedStyle(o).paddingLeft,10))+"px"},0)}else if("page-title"===n){var r=e.querySelector(".page-header-line"),l=e.querySelector(".desc"),c=document.getElementById("sub-header").querySelector(".text-shadow");i.fromTo(e.querySelector("h1"),.9,{y:0,opacity:1},{y:-10,opacity:0,ease:vamtamgs.Quad.easeIn},"0.1"),l&&i.fromTo(l,1,{y:0,opacity:1},{y:30,opacity:0,ease:vamtamgs.Quad.easeIn},"0"),c&&i.to(c,1,{className:"text-shadow shadow-darkened",ease:vamtamgs.Quad.easeIn},"0"),r&&i.to(r,1,{scaleX:0,y:30,opacity:0,ease:vamtamgs.Quad.easeIn},"0")}else"custom"===n&&i.to(e,1,{className:e.getAttribute("data-progressive-animation-custom")},"1");return i},getPinTrigger:function(e){return"center"===e.options.pinTrigger?this.winHeight/2-e.height/2:"bottom"===e.options.pinTrigger?this.winHeight-e.height:"top"===e.options.pinTrigger?0:void 0},calculatePinDuration:function(t){if("parent"===t.vamtamProgressiveTimeline.options.pin)if(e.MEDIA.layout["layout-below-max"])t.vamtamProgressiveTimeline.pinDuration=0;else{var i=t.closest(".fl-row-content");t.vamtamProgressiveTimeline.pinDuration=i.offsetHeight-(t.vamtamProgressiveTimeline.top-e.offset(i).top)}else"pinUnit"in t.vamtamProgressiveTimeline.options&&"vw"===t.vamtamProgressiveTimeline.options.pinUnit?t.vamtamProgressiveTimeline.pinDuration=+t.vamtamProgressiveTimeline.options.pin/100*this.winWidth:t.vamtamProgressiveTimeline.pinDuration=+t.vamtamProgressiveTimeline.options.pin},onresize:function(){var i=this;this.winWidth!==window.innerWidth&&(this.winWidth=window.innerWidth,this.winHeight=window.innerHeight,this.blockAnimations=!0,requestAnimationFrame(function(){for(var n=0;n<t.length;n++)t[n].vamtamProgressiveTimeline.timeline&&t[n].vamtamProgressiveTimeline.timeline.progress(0),t[n].vamtamProgressiveTimeline.wrapper&&(Object.assign(t[n].vamtamProgressiveTimeline.pusher.style,{top:"",width:"",height:""}),Object.assign(t[n].vamtamProgressiveTimeline.wrapper.style,{top:"",width:"",height:"",position:""}));requestAnimationFrame(function(){var n,o,a=window.pageYOffset,s=[];for(n=0;n<t.length;n++){var r=e.offset(t[n]).top;Object.assign(t[n].vamtamProgressiveTimeline,{top:r,height:t[n].offsetHeight,width:t[n].offsetWidth}),i.calculatePinDuration(t[n])}for(n=0;n<t.length;n++){var l=t[n].vamtamProgressiveTimeline;i.canActivate(l.options.mobile)?(l.timeline=i.buildTimeline(t[n],"progressive"===l.options.type&&l.options.exit),l.pusher&&(l.pusher.parentElement.minHeight=l.options.pin+"px",l.pusher.style.height=l.pinDuration+"px",l.pusher.classList.contains("fl-col")||(l.pusher.style.width=l.width+"px"),l.wrapper.style.height=l.height+"px",l.wrapper.style.top=i.getPinTrigger(l)+"px",l.wrapper.classList.add("vamtam-pin-active"))):l.timeline&&("progressive"===l.options.type?l.timeline.totalDuration()>1||!l.options.exit?l.timeline.seek(1):l.timeline.seek(0):l.timeline.seek(1),l.timeline=null,l.pusher&&(l.pusher.parentElement.minHeight="",l.wrapper.classList.remove("vamtam-pin-active"),l.wrapper.style.display="block",s.push(l.wrapper)))}o=s,requestAnimationFrame(function(){o.forEach(function(e){e.style.display=""})}),i.blockAnimations=!1,i.measure(a),i.mutate(a)})}))},init:function(){var i,n;for(this.winHeight=window.innerHeight,this.winWidth=window.innerWidth,i=0;i<t.length;i++){var o=Object.assign({},this.defaultOptions,JSON.parse(t[i].getAttribute("data-vamtam-animation-options"))||{}),a=e.offset(t[i]).top,s=t[i].getBoundingClientRect();t[i].vamtamProgressiveTimeline={top:a,height:Math.floor(s.height),width:Math.floor(s.width),options:o},this.calculatePinDuration(t[i]),t[i].style.transformOrigin=t[i].vamtamProgressiveTimeline.options.origin,this.canActivate(o.mobile)?t[i].vamtamProgressiveTimeline.timeline=this.buildTimeline(t[i],"progressive"===o.type&&o.exit):t[i].vamtamProgressiveTimeline.timeline=null}for(i=0;i<t.length;i++){var r=t[i].vamtamProgressiveTimeline;(n=t[i].closest(".fl-row"))&&n.classList.add("vamtam-animation-inside"),!1!==r.options.pin&&(n.classList.add("vamtam-pin-inside"),r.pusher=document.createElement("div"),r.pusher.classList.add("vamtam-pin-pusher"),t[i].classList.contains("fl-col")&&(r.pusher.classList.add("fl-col"),r.pusher.classList.add("fl-node-"+t[i].attributes["data-node"].value),r.pusher.style.width=""),r.wrapper=document.createElement("div"),r.wrapper.classList.add("vamtam-pin-wrapper"),r.wrapper.style.willChange="transform, position",r.wrapper.style.height=r.height+"px",r.wrapper.style.top=this.getPinTrigger(r)+"px",t[i].before(r.pusher),r.wrapper.appendChild(t[i]),r.pusher.appendChild(r.wrapper),t[i].style.width="100%",r.pusher.parentElement.style.position="relative",r.timeline&&"parent"!==r.options.pin&&(r.pusher.parentElement.style.minHeight=r.options.pin+"px"),this.canActivate(r.options.mobile)&&(Object.assign(r.pusher.style,{width:r.width+"px",height:r.pinDuration+"px"}),r.wrapper.classList.add("vamtam-pin-active")))}window.addEventListener("resize",window.VAMTAM.debounce(this.onresize,100).bind(this),!1)},measure:function(){},mutate:function(e){if(!this.blockAnimations)for(var i=0;i<t.length;i++){var n=t[i].vamtamProgressiveTimeline;if(n.timeline&&e+this.winHeight>n.top){var o,a,s=n.top+n.height/2;if(!1!==n.options.pin)"center"===n.options.pinTrigger?a=e+this.winHeight/2:"bottom"===n.options.pinTrigger?a=e+this.winHeight-n.height/2:"top"===n.options.pinTrigger&&(a=e+n.height/2),o=2*(a-s)/(s+n.pinDuration-n.height-s)-1;else o=1-(s-e)/Math.min(this.winHeight/2,s);o-=n.options.delay,"progressive"===n.options.type?(n.timeline.totalDuration()>1||!t[i].vamtamProgressiveTimeline.options.exit?(o=Math.min(1,Math.max(-1,o)),o+=1):o=Math.min(1,Math.max(0,o)),n.timeline.seek(o)):!n.used&&o>=0?(n.used=!0,n.timeline.timeScale(2).play()):n.used&&!n.timeline.isActive()&&n.timeline.progress()<1&&n.timeline.seek(1)}}}})})},{passive:!0})}(window.VAMTAM),function(e,t){"use strict";var i=!1;e.parallaxBackground={init:function(){this.rows=document.querySelectorAll(".fl-row-bg-parallax");for(var e=0;e<this.rows.length;e++){var t=this.rows[e],i=t.getAttribute("data-parallax-image");if(!t.vamtamParallaxLoaded&&i){var n=new Image;n.addEventListener("load",this.loadImageCallback),n.row=t,n.src=i}}window.addEventListener("resize",window.VAMTAM.debounce(this.onresize,100).bind(this),!1),window.addEventListener("load",window.VAMTAM.debounce(this.onresize,100).bind(this),!1),this.onresize()},loadImageCallback:function(e){var t=e.target.row,i=t.firstElementChild,n=document.createElement("div");n.classList.add("vamtam-parallax-bg"),Object.assign(n.style,{backgroundImage:"url("+e.target.src+")",backgroundSize:t.dataset.backgroundSize,backgroundRepeat:"no-repeat",backgroundPosition:t.dataset.backgroundPosition,position:"absolute",top:"-300px",right:0,bottom:"-300px",left:0,"will-change":"transform"}),requestAnimationFrame(function(){t.vamtamParallaxLoaded=!0;var e=i.querySelector(".fl-node-content");e.before(n),i.style.overflow="hidden",i.style.backgroundImage="none",e.style.zIndex=1,e.style.position="relative"})},onresize:function(){requestAnimationFrame(function(){for(var t=window.pageYOffset,i=0;i<this.rows.length;i++)this.rows[i].vamtamParallaxOffset=e.offset(this.rows[i].firstElementChild);this.measure(t),this.mutate(t)}.bind(this))},measure:function(){},mutate:function(e){for(var t=0;t<this.rows.length;t++)if(this.rows[t].vamtamParallaxLoaded){var i=this.rows[t].getAttribute("data-parallax-speed"),n=-(e-this.rows[t].vamtamParallaxOffset.top)/i;this.rows[t].firstElementChild.firstElementChild.style.transform="translateY("+n+"px)"}}},window.FLBuilderLayout&&Object.assign(window.FLBuilderLayout,{_initParallaxBackgrounds:function(){if(!i)if(i=!0,document.body.classList.contains("fl-builder-active")||window.matchMedia("(prefers-reduced-motion: reduce)").matches)for(var t=document.querySelectorAll(".fl-row-bg-parallax[data-parallax-image]"),n=0;n<t.length;n++){var o=t[n],a=o.getAttribute("data-parallax-image");Object.assign(o.style,{backgroundImage:"url("+a+")",backgroundSize:"cover",backgroundRepeat:"repeat"})}else e.addScrollHandler(e.parallaxBackground)},_scrollParallaxBackgrounds:function(){jQuery(window).off("scroll.fl-bg-parallax")}});var n=function(){i=!1,window.FLBuilderLayout._initParallaxBackgrounds()};window.FLBuilderLayout&&document.addEventListener("DOMContentLoaded",function(){document.body.classList.contains("fl-builder-active")&&(FLBuilder.addHook("didCompleteAJAX",n),FLBuilder.addHook("didRenderLayoutComplete",n),jQuery(FLBuilder._contentClass).on("fl-builder.preview-rendered",n)),window.FLBuilderLayout._initParallaxBackgrounds()})}(window.VAMTAM),function(e,t){"use strict";window.VAMTAM=window.VAMTAM||{},e(function(){var t,i;window.VAMTAM.admin_bar_fix=document.body.classList.contains("admin-bar")?32:0,/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&requestAnimationFrame(function(){document.documentElement.classList.add("ios-safari")}),"FLBuilder"in window&&FLBuilder.addHook("didPublishLayout",function(){window.dispatchEvent(new Event("resize"))}),i=document.getElementById("page"),window.addEventListener("scroll",function(){clearTimeout(t),requestAnimationFrame(function(){i.style.pointerEvents="none",t=setTimeout(function(){i.style.pointerEvents=""},300)})},{passive:!0}),window.VAMTAM.resizeElements=function(){e(".portfolio-image-wrapper,\t\t\t\t#page .media-inner,\t\t\t\t#page .loop-wrapper.news .thumbnail,\t\t\t\t#page .portfolio-image .thumbnail,\t\t\t\t.wp-block-embed-vimeo:not(.wp-has-aspect-ratio),\t\t\t\t:not(.wp-block-embed__wrapper) > .vamtam-video-frame").find("iframe, object, embed, video").each(function(){setTimeout(function(){requestAnimationFrame(function(){var t=this.offsetWidth;this.style.width="100%","0"===this.width&&"0"===this.height?this.style.height=9*t/16+"px":this.style.height=this.height*t/this.width+"px",e(this).trigger("vamtam-video-resized")}.bind(this))}.bind(this),50)}),setTimeout(function(){requestAnimationFrame(function(){e(".mejs-time-rail").css("width","-=1px")})},100)},window.addEventListener("resize",window.VAMTAM.debounce(window.VAMTAM.resizeElements,100),!1),window.VAMTAM.resizeElements()}),document.addEventListener("DOMContentLoaded",function(){window.VAMTAM.load_script(VAMTAM_FRONT.jspath+"build/low-priority.min.js"),window.CSS&&window.CSS.supports&&window.CSS.supports("(--foo: red)")||(window.VAMTAM.load_script(VAMTAM_FRONT.jspath+"plugins/thirdparty/css-variables-polyfill.js"),window.VAMTAM.load_style(VAMTAM_FRONT.jspath+"../css/dist/ie11.css","all"))},{passive:!0})}(jQuery),function(e,t){"use strict";var i;function n(){this.removeEventListener("load",n),requestAnimationFrame(function(){!this.classList.contains("vamtam-lazyload-noparent")&&this.parentElement?this.parentElement.classList.add("image-loaded"):this.classList.add("image-loaded")}.bind(this))}function o(){let e,t=document.querySelectorAll(".fl-row-content-wrap:not(.vamtam-show-bg-image), .fl-col-content:not(.vamtam-show-bg-image)");for(e=0;e<t.length;e++)t[e].classList.add("vamtam-show-bg-image")}"IntersectionObserver"in window&&(i=new IntersectionObserver(function(e){e.forEach(function(e){var t,o;(e.intersectionRatio>0||e.isIntersecting)&&(t=e.target,(o=t.dataset.srcset)?(requestAnimationFrame(function(){t.addEventListener("load",n),t.srcset=o}),delete t.dataset.srcset):n.call(t),i.unobserve(e.target))})},{rootMargin:"200px"})),document.addEventListener("DOMContentLoaded",function(){new MutationObserver(o).observe(document.body,{childList:!0,subtree:!0}),o()})}(window.VAMTAM),function(e,t,i){"use strict";function n(){e(document).trigger("vamtam-attempt-cube-load")}e(function(){var i="cubeportfolio"in e.fn,n=!1,o=e(window),a=function(e){requestAnimationFrame(function(){var t=e.find(".cbp-wrapper"),i=e.find(".cbp-wrapper-outer");t.width()<=i.width()?e.addClass("vamtam-cube-narrow"):e.removeClass("vamtam-cube-narrow")})},s=function(){e(".vamtam-cubeportfolio[data-options]:not(.vamtam-cube-loaded)").filter(":visible").each(function(){var t=e(this),i=t.data("options");"singlePageCallback"in i||(i.singlePageDelegate=null),i.singlePageCallback=l[i.singlePageCallback]||null,t.on("initComplete.cbp",function(){"slider"===i.layoutMode&&(a(t),o.on("resize.vamtamcube",function(){a(t)}))}),t.addClass("vamtam-cube-loaded").cubeportfolio(i),t.on("vamtam-video-resized","iframe, object, embed, video",function(){t.data("cubeportfolio").layoutAndAdjustment()}),this.addEventListener("vamtamlazyloaded",function(){t.data("cubeportfolio").layoutAndAdjustment()})})},r=function(){if(document.getElementsByClassName("vamtam-cubeportfolio").length)if(i)s();else if(!n){n=!0;var o=0,a=function(){2==++o&&(i="cubeportfolio"in e.fn,s())};t.load_style(VAMTAM_FRONT.cube_path+"css/cubeportfolio.min.css?ver="+VAMTAM_FRONT.cube_version,"all",a,document.getElementById("vamtam-front-all-css")),t.load_script(VAMTAM_FRONT.cube_path+"js/jquery.cubeportfolio.min.js?ver="+VAMTAM_FRONT.cube_version,a)}},l={portfolio:function(t){var i=this;e.ajax({url:t,type:"GET",dataType:"html"}).done(function(t){i.updateSinglePage(t),r(),e(document).trigger("vamtam-single-page-project-loaded")}).fail(function(){i.updateSinglePage("AJAX Error! Please refresh the page!")})}};e(document).on("vamtam-attempt-cube-load",r),r(),window.addEventListener("resize",window.VAMTAM.debounce(r,100),!1);const c=function(){e(".cbp").each(function(){try{e(this).data("cubeportfolio").layoutAndAdjustment()}catch(e){}})};window.addEventListener("load",function(){c(),setTimeout(c,200),setTimeout(c,500),setTimeout(c,1e3)},!1),c()}),document.addEventListener("DOMContentLoaded",function(){window.FLBuilder&&(FLBuilder.addHook("didCompleteAJAX",n),FLBuilder.addHook("didRenderLayoutComplete",n)),n()})}(jQuery,window.VAMTAM),function(e,t){"use strict";window.Cookies=window.Cookies||{get:function(e){var t=("; "+document.cookie).split("; "+e+"=");if(2===t.length)return t.pop().split(";").shift()}},e(function(){var t=e(".fixed-header-box .cart-dropdown"),i=e(".vamtam-header-cart-wrapper"),n=e(".vamtam-cart-dropdown-link"),o=e(".products",n),a=e(".widget",t),s=!1,r=!1;"wc_cart_fragments_params"in window&&("jspath"in window.wc_cart_fragments_params?(window.VAMTAM.load_script(window.wc_cart_fragments_params.jspath),window.addEventListener("load",function(){window.VAMTAM.load_style(window.wc_cart_fragments_params.csspath,"all",function(){r=!0})})):r=!0),e(document.body).on("added_to_cart removed_from_cart wc_fragments_refreshed wc_fragments_loaded",function(){if(parseInt(Cookies.get("woocommerce_items_in_cart")||0,10)>0){for(var e=0,n=document.querySelector(".widget_shopping_cart").querySelectorAll("li .quantity"),a=0;a<n.length;a++)e+=parseInt(n[a].innerHTML.split("<span")[0].replace(/[^\d]/g,""),10);e=e>=0?e:"",o.text(e),o.removeClass("cart-empty"),i.removeClass("hidden")}else{var s=t.hasClass("show-if-empty");o.addClass("cart-empty"),o.text("0"),i.toggleClass("hidden",!s)}});var l=0,c=function(){r&&(l=+new Date,t.addClass("state-hover"),a.stop(!0,!0).fadeIn(300,function(){s=!0}))},m=function(){var e=new Date-l;e>1e3?(t.removeClass("state-hover"),a.stop(!0,!0).fadeOut(300,function(){s=!1})):setTimeout(function(){t.is(":hover")||m()},1e3-e)};t.on("mouseenter",function(){c()}).on("mouseleave",function(){m()}),n.on("click",function(e){!n.hasClass("no-dropdown")&&r&&(s?m():c(),e.preventDefault())})})}(jQuery);
!function(){return function t(e,i,s){function o(n,h){if(!i[n]){if(!e[n]){var r="function"==typeof require&&require;if(!h&&r)return r(n,!0);if(a)return a(n,!0);var l=new Error("Cannot find module '"+n+"'");throw l.code="MODULE_NOT_FOUND",l}var c=i[n]={exports:{}};e[n][0].call(c.exports,function(t){return o(e[n][1][t]||t)},c,c.exports,t,e,i,s)}return i[n].exports}for(var a="function"==typeof require&&require,n=0;n<s.length;n++)o(s[n]);return o}}()({1:[function(t,e,i){"use strict";var s,o;s=window.VAMTAM,(o=function(){var t=this;if(!this.setupElements())return!1;window.addEventListener("resize",window.VAMTAM.debounce(function(){requestAnimationFrame(function(){t.active&&t.winWidth&&window.innerWidth!==t.winWidth&&(t.destroy(),requestAnimationFrame(function(){t.init()}))})},100),!1),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(e){e.partial.id&&-1!==["header-layout-selective","header-height"].indexOf(e.partial.id)&&t.rebuild()})}).prototype.rebuild=function(){var t=this;requestAnimationFrame(function(){t.destroy(),setTimeout(function(){requestAnimationFrame(function(){t.setupElements(),t.init()})},100)})},o.prototype.setupElements=function(){return this.el={hbox:document.getElementsByClassName("fixed-header-box")[0],header:document.querySelector("header.main-header"),main:document.getElementById("main"),topNav:document.getElementsByClassName("top-nav")[0]},!!(this.el.hbox&&this.el.header&&this.el.main)&&(this.prevPos=0,this.el.logoWrapper=this.el.hbox.getElementsByClassName("logo-wrapper")[0],this.layout=this.el.header.classList.contains("layout-logo-menu")?"single":this.el.header.classList.contains("layout-overlay-menu")?"overlay":"double",this.typeOver=document.body.classList.contains("sticky-header-type-over"),!0)},o.prototype.canActivate=function(){return!this.active&&(document.body.classList.contains("sticky-header")||document.body.classList.contains("had-sticky-header"))&&!document.body.classList.contains("fl-builder-active")&&!VAMTAM_FRONT.is_mobile&&!window.matchMedia("(max-width: "+VAMTAM_FRONT.mobile_header_breakpoint+")").matches&&!document.body.classList.contains("sticky-header-type-below")&&this.el.hbox&&!s.MEDIA.fallback},o.prototype.init=function(){var t=this;if(this.canActivate()){this.winWidth=window.innerWidth,this.hboxWidth=this.el.hbox.offsetWidth,this.hboxHeight=this.el.hbox.offsetHeight,this.topNavHeight=this.el.topNav?this.el.topNav.offsetHeight:0,this.logoWrapperHeight=this.el.logoWrapper.offsetHeight,this.hboxOffset=s.offset(this.el.hbox),this.hboxLeft=this.hboxOffset.left;var e=this.typeOver?this.topNavHeight:this.hboxHeight;if(this.el.hboxFiller=this.el.hbox.cloneNode(!1),Object.assign(this.el.hboxFiller.style,{height:e+"px",zIndex:1}),this.el.hboxFiller.classList.add("hbox-filler"),this.el.hbox.after(this.el.hboxFiller),Object.assign(this.el.hbox.style,{position:"overlay"===this.layout?"fixed":"absolute",top:s.admin_bar_fix+"px",left:0,width:this.hboxWidth+"px",height:"","will-change":"transform",transform:"translateX("+this.hboxLeft+"px)"}),requestAnimationFrame(function(){t.hboxHeight=t.el.hbox.offsetHeight,t.resetBottomEdge=Math.max(t.hboxHeight,t.el.header.offsetHeight)+t.hboxOffset.top,t.active=!0}),this.el.topNav){var i=document.createElement("div");i.id="top-nav-wrapper-filler",i.style.height=this.topNavHeight+"px",this.el.hboxFiller.appendChild(i)}}else document.body.classList.contains("sticky-header")&&(document.body.classList.remove("sticky-header"),document.body.classList.add("had-sticky-header"),this.el.hbox&&"0px"===this.el.hbox.style.height&&(this.el.hbox.style.height="auto"))},o.prototype.destroy=function(){this.active&&(this.el.hboxFiller&&this.el.hboxFiller.remove(),Object.assign(this.el.hbox.style,{position:"",top:"",left:"",width:"","will-change":"",transform:""}),document.body.classList.contains("had-sticky-header")&&(document.body.classList.add("sticky-header"),document.body.classList.remove("had-sticky-header")),this.active=!1)},o.prototype.measure=function(t){this.active&&"overlay"!==this.layout&&("blockStickyHeaderAnimation"in s&&s.blockStickyHeaderAnimation||(this.direction=this.prevPos===t?"-":this.prevPos<t?"down":"up","up"===this.direction&&void 0===this.startScrollingUp?this.startScrollingUp=t:"down"===this.direction&&(this.startScrollingUp=void 0),"down"===this.direction&&void 0===this.startScrollingDown?this.startScrollingDown=t:"up"===this.direction&&(this.startScrollingDown=void 0),this.prevPos=t))},o.prototype.mutate=function(t){this.active&&("overlay"!==this.layout?document.body.classList.contains("no-sticky-header-animation")||document.body.classList.contains("no-sticky-header-animation-tmp")?document.body.classList.contains("no-sticky-header-animation")&&(Object.assign(this.el.hbox.style,{position:"fixed",top:s.admin_bar_fix+"px",transform:""}),this.el.hbox.classList.toggle("sticky-header-state-stuck",t>0),this.el.hbox.classList.toggle("sticky-header-state-reset",t<=0)):t<this.resetBottomEdge+200?this.singleRowReset("fast"):"down"===this.direction&&(t-this.startScrollingDown>30||t<2*this.resetBottomEdge)?this.singleRowReset("slow"):"up"===this.direction&&(this.startScrollingUp-t>30||t<2*this.resetBottomEdge)&&this.singleRowStick():(this.el.hbox.classList.toggle("sticky-header-state-stuck",t>0),this.el.hbox.classList.toggle("sticky-header-state-reset",t<=0)),document.body.classList.toggle("vamtam-scrolled",t>0))},o.prototype.singleRowReset=function(t){if(t=t||"fast",this.active&&!this.el.hbox.classList.contains("sticky-header-state-reset")&&!this.singleRowResetStarted){this.singleRowResetStarted=!0;var e=function(){vamtamgs.TweenLite.set(this.el.hbox,{position:"absolute",y:0,x:this.hboxLeft}),this.el.hbox.classList.add("sticky-header-state-reset"),this.el.hbox.classList.remove("sticky-header-state-stuck"),this.singleRowResetStarted=!1}.bind(this);window.vamtam_greensock_wait(function(){vamtamgs.TweenLite.killTweensOf(this.el.hbox),"fast"===t?e():"slow"===t&&vamtamgs.TweenLite.to(this.el.hbox,.15,{y:-this.hboxHeight,ease:vamtamgs.Power4.easeOut,onComplete:e})}.bind(this))}},o.prototype.singleRowStick=function(){!this.active||this.el.hbox.classList.contains("sticky-header-state-stuck")||this.singleRowResetStarted||(this.el.hbox.classList.add("sticky-header-state-stuck"),this.el.hbox.classList.remove("sticky-header-state-reset"),window.vamtam_greensock_wait(function(){vamtamgs.TweenLite.killTweensOf(this.el.hbox),vamtamgs.TweenLite.fromTo(this.el.hbox,.2,{position:"fixed",top:s.admin_bar_fix,y:-this.hboxHeight,x:this.hboxOffset.left},{y:-this.topNavHeight-("double"===this.layout?this.logoWrapperHeight:0),ease:vamtamgs.Power4.easeOut})}.bind(this)))},document.addEventListener("DOMContentLoaded",function(){s.stickyHeader=new o,vamtam_greensock_wait(function(){s.addScrollHandler(s.stickyHeader)})})},{}]},{},[1]);