
(function(){function q(a,b){var e=Array.from(a.querySelectorAll(b));a.matches&&a.matches(b)&&e.splice(0,0,a);return e}function w(a){a=a.getBoundingClientRect();var b=document.documentElement;return{top:a.top+window.pageYOffset-b.clientTop,left:a.left+window.pageXOffset-b.clientLeft}}function u(a){return parseFloat(getComputedStyle(a,null).height.replace("px",""))}function x(a){return parseFloat(getComputedStyle(a,null).width.replace("px",""))}function r(a){"loading"!=document.readyState?a():document.addEventListener("DOMContentLoaded",
a)}function E(a){(function e(){0>(a.style.opacity-=.1)?a.style.display="none":requestAnimationFrame(e)})()}function F(a){a.style.display="block";(function e(){var c=parseFloat(a.style.opacity);1<(c+=.1)||(a.style.opacity=c,requestAnimationFrame(e))})()}function t(a){var b=[],e={blackberry:"BlackBerry",android:"Android",windows:"IEMobile",opera:"Opera Mini",ios:"iPhone|iPad|iPod"};a="undefined"==typeof a?"*":a.toLowerCase();"*"===a?b=Object.values(e):a in e&&b.push(e[a]);return!(!b.length||!navigator.userAgent.match(new RegExp(b.join("|"),
"i")))}function A(a){var b=a.querySelector(".carousel-item");a=a.querySelector(".carousel-indicators > li");b.classList.add("active");a&&a.classList.add("active")}function v(a){var b=a.getAttribute("id")+"-carousel",e=a.getAttribute("data-bs-version")&&a.getAttribute("data-bs-version").startsWith("5");null===a.getAttribute("id")&&(b=a.classList.value.match(/cid-.*?(?=\s|$)/)+"-carousel");a.querySelectorAll(".carousel").forEach(function(a){a.setAttribute("id",b)});a.querySelector(".carousel-controls")&&
a.querySelectorAll(".carousel-controls").forEach(function(a){a.querySelectorAll("a").forEach(function(a){a.setAttribute("href","#"+b);e?a.setAttribute("data-bs-target","#"+b):a.setAttribute("data-target","#"+b)})});a.querySelectorAll(".carousel-indicators > li").forEach(function(a){e?a.setAttribute("data-bs-target","#"+b):a.setAttribute("data-target","#"+b)});A(a)}function G(a){var b=a.querySelectorAll(".carousel-item").length,e=a.querySelector(".carousel-inner").getAttribute("data-visible");b<e&&
(e=b);a.querySelectorAll(".carousel-inner").forEach(function(a){a.setAttribute("class","carousel-inner slides"+e)});a.querySelectorAll(".clonedCol").forEach(function(a){a.remove()});a.querySelectorAll(".carousel-item .col-md-12").forEach(function(a){2>e?a.setAttribute("class","col-md-12"):"5"==e?a.setAttribute("class","col-md-12 col-lg-15"):a.setAttribute("class","col-md-12 col-lg-"+12/e)});a.querySelectorAll(".carousel-item .row").forEach(function(a){a.setAttribute("style","-webkit-flex-grow: 1; flex-grow: 1; margin: 0;")});
a.querySelectorAll(".carousel-item").forEach(function(a){for(var b=a,l=1;l<e;l++){(b=b.nextElementSibling)||(b=a.parentNode.children[0]===a?a.nextElementSibling:a.parentNode.children[0]);var f;if(f=b){var d=0;do d++;while(f=f.previousElementSibling);f=d}else f=-1;d=b.querySelector(".col-md-12").cloneNode(!0);d.classList.add("cloneditem-"+l);d.classList.add("clonedCol");d.setAttribute("data-cloned-index",f);a.children[0].appendChild(d)}})}function H(a){var b="",e=a.querySelector("svg linearGradient");
if(e){for(var b=[],e=Array.from(e.children),c=0;c<e.length;c++)b.push('"'+e[c].getAttribute("stop-color")+'"');b='"lineargradient": ['+b+"],";Array.from(a.querySelectorAll("svg")).some(function(a){return a.classList.contains("svg-gradient")})||a.querySelectorAll("svg").forEach(function(a){a.classList.add("svg-gradient")})}return b}function y(a,b,e){var c=a.closest(".card"),g=c.parentElement.classList;c.getAttribute("style")||c.setAttribute("style","-webkit-flex-basis: auto; flex-basis: auto;");g.contains("row")&&
(g.remove("row"),g.add("media-container-row"));a.querySelectorAll(".svg-gradient > *").forEach(function(a){a.setAttribute("id",b)});c=a.cloneNode(!0);Array.from(a.children).forEach(function(a){if("SVG"!==a.tagName)return a.remove()});a.setAttribute("data-pie","{ "+H(a.closest("section"))+' "percent": '+e+', "size": 150, "colorCircle": "#f1f1f1", "stroke": 5, "colorSlice": "url(#'+b+')", "fontSize": "1.3rem", "number": false }');Array.from(c.children).forEach(function(b){switch(!0){case b.matches("p"):b.innerText=
e+"%";a.appendChild(b);break;case b.matches("svg"):break;default:a.appendChild(b)}})}function B(a){var b=a.closest("section").getAttribute("id")+"-svg-gradient",e=+a.getAttribute("data-goal");y(a,b,e)}function I(a,b){if(a.classList.contains("circle-progress-section")&&b.includes("progress")&&"progressCount"!=b)if(b.includes("Color"))a.querySelectorAll(".pie_progress").forEach(function(b){var e=a.getAttribute("id")+"-svg-gradient",c=+b.getAttribute("data-goal");y(b,e,c)});else{var e=a.getAttribute("id")+
"-svg-gradient",c=a.querySelector("."+b),g=+c.getAttribute("data-goal");y(c,e,g)}}function C(){if(document.querySelector(".loop-container")){var a=function(b){var e=0,c=0,g=+b.children[0].dataset.speed||.05,d=b.querySelector(".item"),f=d.dataset.direction;if(d){(function(){b.querySelectorAll(".item").forEach(function(a){a.textContent=a.dataset.linewords+"\u00a0"})})();b.style.cssText="position: relative; display: inline-flex; white-space: nowrap;";b.children[1].style.cssText="position: absolute; left: "+
100*-f+"%;";var h=function(){c+=g;e=.8*e+.2*c;100<c&&(e-=c,c=0);b.style.transform="translateX("+e*f+"%)";window.requestAnimationFrame(h)},k=new MutationObserver(function(){document.querySelectorAll(".loop-container").forEach(function(a){a.style.transform=""});k.disconnect();a(b)});k.observe(d,{attributes:!0,attributeFilter:["data-direction","data-speed","data-linewords"]});(function(){window.addEventListener("scroll",function(){return c+=1.5*g})})();h()}};document.querySelectorAll(".loop-container").forEach(function(b){return a(b)})}}
function D(){var a=Array.from(document.querySelectorAll(".ticker__item"));if(0!==a.length){var b=a.map(function(a){return a.textContent}),e=new MutationObserver(function(){a.forEach(function(a,b){a.textContent=a.dataset.word})});a.forEach(function(a,g){a.textContent=b[g];e.observe(a,{attributes:!0,attributeFilter:["data-word"]})});(function(){document.querySelectorAll(".ticker__item").forEach(function(a){a.textContent=a.dataset.word})})()}}var d,h,n="function"==typeof jQuery;n&&(d=jQuery);d?h=d("html").hasClass("is-builder"):
h=document.querySelector("html").classList.contains("is-builder");Element.prototype.parents=function(a){for(var b=[],e=this,c=void 0!==a;null!==(e=e.parentElement);)e.nodeType===Node.ELEMENT_NODE&&(c&&!e.matches(a)||b.push(e));return b};Element.prototype.footerReveal=function(){function a(){!c&&b.offsetHeight<=window.outerHeight?(b.style.zIndex="-999",b.style.position="fixed",b.style.bottom="0",b.style.width=e.offsetWidth+"px",e.style.marginBottom=b.offsetHeight+"px"):(b.style.zIndex="",b.style.position=
"",b.style.bottom="",b.style.width="",e.style.marginBottom="")}var b=this,e=b.previousElementSibling,c=!!document.documentMode;a();window.addEventListener("resize",function(){a()});window.addEventListener("load",function(){a()});return b};(function(a){var b=function(a,b,g){var d;return function(){var f=this,h=arguments;d?clearTimeout(d):g&&a.apply(f,h);d=setTimeout(function(){g||a.apply(f,h);d=null},b||100)}};window[a]=function(e){var c=new CustomEvent(a);return e?this.addEventListener("resize",b(e)):
this.dispatchEvent(c)}})("smartresize");var J=function(){var a=document.createElement("div"),b=document.querySelector("body");a.setAttribute("style","height: 50vh; position: absolute; top: -1000px; left: -1000px;");b.appendChild(a);var e=parseInt(window.innerHeight/2,10),c=parseInt((window.getComputedStyle?getComputedStyle(a,null):a.currentStyle).height,10);b.removeChild(a);return c==e}();r(function(){function a(a){a.style.height=9*x(a.parentNode)/16+"px"}function b(a){setTimeout(function(){q(a,".mbr-parallax-background").forEach(function(a){jarallax&&
(jarallax(a,{speed:.6}),a.style.position="relative")})},0)}function e(a){q(a,"[data-bg-video]").forEach(function(a){var b=a.getAttribute("data-bg-video");if(b){var e=b.match(/(http:\/\/|https:\/\/|)?(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(shorts\/|video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/),g=a.querySelector(".mbr-background-video-preview")||document.createElement("div");g.classList.add("mbr-background-video-preview");g.style.display="none";g.style.backgroundSize=
"cover";g.style.backgroundPosition="center";a.querySelector(".mbr-background-video-preview")||a.childNodes[0].before(g);if(e&&(/youtu\.?be/g.test(e[3])||/vimeo/g.test(e[3])))if(e&&/youtu\.?be/g.test(e[3])){e[6]=e[6].replace("shorts","embed");var c="http"+("https:"===location.protocol?"s":"")+":",c=c+("//img.youtube.com/vi/"+e[6]+"/maxresdefault.jpg"),k=new Image;k.onload=function(){if(120===(k.naturalWidth||k.width)){var c=k.src.split("/").pop();switch(c){case "maxresdefault.jpg":k.src=k.src.replace(c,
"sddefault.jpg");break;case "sddefault.jpg":k.src=k.src.replace(c,"hqdefault.jpg");break;default:h&&(g.style.backgroundImage='url("images/no-video.jpg")',g.style.display="block")}}else g.style.backgroundImage='url("'+k.src+'")',g.style.display="block";a.querySelector(".mbr-background-video")&&a.querySelector(".mbr-background-video").remove();var d=document.createElement("div"),f=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div");m.classList.add("mbr-video-foreground");
m.appendChild(d);l.appendChild(m);f.appendChild(l);d.classList.add("mbr-background-video");a.childNodes[1].before(f);c=new YouTubePlayer(d,{modestBranding:!0,autoplay:!0,controls:!1,origin:"*",iv_load_policy:!1,keyboard:!1,captions:!1,annotations:!1,related:!1});f.style.overflow="hidden";f.style.position="absolute";f.style.width="100%";f.style.height="100%";f.style.top="0";f.style.left="0";l.style.background="#000";l.style.top="0";l.style.right="0";l.style.bottom="0";l.style.left="0";m.style.position=
"absolute";m.style.top="0";m.style.left="0";m.style.width="100%";m.style.height="100%";m.style.pointerEvents="none";d.style.marginTop="0";d.style.maxWidth="initial";d.style.transitionProperty="opacity";d.style.transitionDuration="1000ms";d.style.pointerEvents="none";d.style.position="absolute";d.style.top="0";d.style.left="0";d.style.width="100%";d.style.height="100%";d.parentNode.style.overflow="hidden";d.style.transform="scale(1.2)";d=new URLSearchParams(b);d=Number(d.get("t"));c.load(e[6],!0,d);
c.play();c.loadPlaylist();c.setLoop(!0);c.mute();var l=window.outerWidth,m=window.outerHeight,n=c._opts.width/c._opts.height,d=l,f=Math.ceil(d/n);Math.ceil(-((f-m)/2));f<m&&(f=m,d=Math.ceil(f*n),Math.ceil(-((d-l)/2)));c.setSize(d,f)};k.setAttribute("src",c)}else{if(e&&/vimeo/g.test(e[3])){c=new XMLHttpRequest;c.open("GET","https://vimeo.com/api/v2/video/"+e[6]+".json",!0);c.onreadystatechange=function(){if(4===this.readyState)if(200<=this.status&&400>this.status){var a=JSON.parse(this.responseText);
g.style.backgroundImage='url("'+a[0].thumbnail_large+'")';g.style.display="block"}else h&&(g.style.backgroundImage='url("images/no-video.jpg")',g.style.display="block")};c.send();c=null;a.querySelector(".mbr-background-video")&&a.querySelector(".mbr-background-video").remove();c=document.createElement("div");c.classList.add("mbr-background-video");a.childNodes[1].before(c);var c=new Vimeo.Player(c,{id:b,loop:!0,background:!0,responsive:!0,autoplay:!0,byline:!1,title:!1,muted:!0,controls:!1}),d=c.element.parentNode;
d.style.overflow="hidden";c.element.style.pointerEvents="none";c.element.style.marginLeft="-"+(c.element.scrollWidth-d.scrollWidth)/2+"px";c.element.style.minHeight="100vh";c.element.style.minWidth="177.77vh"}}else h?(g.style.backgroundImage='url("images/video-placeholder.jpg")',g.style.display="block"):h||(c=document.createElement("video"),d=document.createElement("source"),c.append(d),a.childNodes[1].before(c),d.src=b,c.autoplay=!0,c.loop=!0,c.muted=!0,c.setAttribute("muted",""),c.playsinline=!0,
c.setAttribute("playsinline",""),c.style.position="absolute",c.style.left="50%",c.style.top="50%",c.style.bottom="0",c.style.right="0",c.style.minWidth="100%",c.style.minHeight="100%",c.style.transform="translateX(-50%) translateY(-50%)",d="",a.querySelector(".mbr-fallback-image")&&(d=window.getComputedStyle(a.querySelector(".mbr-fallback-image")).backgroundImage,d=d.match(/\((.*?)\)/)[1].replace(/('|")/g,""),c.setAttribute("poster",d)),c.parentNode.style.overflow="hidden")}})}document.querySelector("html").classList.add(t()?
"mobile":"desktop");window.addEventListener("scroll",function(){document.querySelectorAll(".mbr-navbar--sticky").forEach(function(a){var b=10<window.scrollTop?"add":"remove";a.classList[b]("mbr-navbar--stuck");if(!a.classList.contains(".mbr-navbar--open"))a.classList[b]("mbr-navbar--short")})});t()&&navigator.userAgent.match(/Chrome/i)?function(a,b){var c=[a,a];c[b>a?0:1]=b;window.smartresize(function(){var a=window.innerHeight;0>c.indexOf(a)&&(a=c[window.innerWidth>a?1:0]);var b=document.querySelector(".mbr-section--full-height");
b&&(b.style.height=a+"px")})}(window.innerWidth,window.innerHeight):J||(window.smartresize(function(){var a=document.querySelector(".mbr-section--full-height");a&&(a.style.height=window.innerHeight+"px")}),document.addEventListener("add.cards",function(a){document.querySelector("html").classList.contains("mbr-site-loaded")&&q(a.target,".mbr-section--full-height").length&&window.dispatchEvent(new CustomEvent("resize"))}));window.addEventListener("smartresize",function(){document.querySelectorAll(".mbr-section--16by9").forEach(a)});
if(n)d(document).on("add.cards changeParameter.cards",function(b){var c=q(b.target,".mbr-section--16by9");c.length?c.forEach(function(b){b.setAttribute("data-16by9","true");a(b)}):q(b.target,"[data-16by9]").forEach(function(a){a.styles.height="";a.removeAttribute("data-16by9")})});if("undefined"!==typeof jarallax&&!t()){window.addEventListener("update.parallax",function(a){setTimeout(function(){if(a){var a=document.querySelector(".mbr-parallax-background");a.jarallax("coverImage");a.jarallax("clipContainer");
a.jarallax("onScroll")}},0)});if(h){if(!n)return;d(document).on("add.cards",function(a){b(a.target);d(window).trigger("update.parallax")});d(document).on("changeParameter.cards",function(a,c,e,g){if("bg"===c)switch(c=a.target,jarallax&&jarallax(c,"destroy"),c.style.position="",d(a.target).find(".mbr-background-video-preview").remove(),d(a.target).find(".mbr-background-video").remove(),g){case "type":!0===e.parallax&&b(a.target);break;case "value":"image"===e.type&&!0===e.parallax&&b(a.target);break;
case "parallax":!0===e.parallax&&b(a.target)}d(window).trigger("update.parallax")})}else b(document.body);window.addEventListener("shown.bs.tab",function(){window.dispatchEvent(new CustomEvent("update.parallax"))})}var c,g,l=0,f=null,m=!t();window.addEventListener("scroll",function(){g&&clearTimeout(g);var a=document.documentElement.scrollTop,b=a<=l||m;l=a;if(f){var c=a>f.breakPoint;b?c!=f.fixed&&(m?(f.fixed=c,f.elm.classList.toggle("is-fixed")):g=setTimeout(function(){f.fixed=c;f.elm.classList.toggle("is-fixed")},
40)):(f.fixed=!1,f.elm.classList.remove("is-fixed"))}});if(n)d(document).on("add.cards delete.cards",function(a){c&&clearTimeout(c);c=setTimeout(function(){f&&(f.fixed=!1,f.elm.classList.remove("is-fixed"));var a=document.querySelector(".mbr-fixed-top");a&&(f={breakPoint:w(a).top+3*u(a),fixed:!1,elm:a},a.dispatchEvent(new CustomEvent("scroll")))},650)});window.smartresize(function(){document.querySelectorAll(".mbr-embedded-video").forEach(function(a){a.style.height=(x(a)*parseInt(a.getAttribute("height")||
315)/parseInt(a.getAttribute("width")||560)).toFixed()+"px"})});if(n)d(document).on("add.cards",function(a){document.querySelector("html").classList.contains("mbr-site-loaded")&&q(a.target,"iframe").length&&window.dispatchEvent(new CustomEvent("resize"))});if(h){if(!n)return;d(document).on("add.cards",function(a){e(a.target)})}else e(document.body);if(h)d(document).on("changeParameter.cards",function(a,b,c,g){if("bg"===b)switch(g){case "type":"video"===c.type&&e(a.target);break;case "value":"video"===
c.type&&e(a.target)}});document.querySelector("html").classList.add("mbr-site-loaded");window.dispatchEvent(new CustomEvent("resize"));window.dispatchEvent(new CustomEvent("scroll"));h||document.addEventListener("click",function(a){try{var b=a.target;if(!b.parents().some(function(a){a.classList.contains("carousel")})){do if(b.hash){var c=/#bottom|#top/g.test(b.hash);document.querySelectorAll(c?"body":b.hash).forEach(function(c){a.preventDefault();var e=document.querySelector(".navbar-fixed-top"),
e="#bottom"==b.hash?u(c)-window.innerHeight:w(c).top-(e?60:0);c.classList.contains("panel-collapse")||c.classList.contains("tab-pane")||b.classList.contains("carousel-control")||b.parents(".carousel-controls").length||window.scrollTo({top:e,left:0,behavior:"smooth"})});break}while(b=b.parentNode)}}catch(e){}});document.querySelectorAll(".cols-same-height .mbr-figure").forEach(function(a){function b(){c.style.width="";c.style.maxWidth="";c.style.marginLeft="";if(d&&g){var f=d/g;a.style.position="absolute";
a.style.top="0";a.style.left="0";a.style.right="0";a.style.bottom="0";var l=u(e)/x(e);l>f&&(f=100*(l-f)/f,c.style.width=f+100+"%",c.style.maxWidth=f+100+"%",c.style.marginLeft=-f/2+"%")}}var c=a.querySelector("img"),e=a.parentNode,g=c.width,d=c.height;c.addEventListener("load",function(){g=c.width;d=c.height;b()},{once:!0});window.addEventListener("resize",b);b()})});if(!h){if(n&&d.fn.socialLikes)d(document).on("add.cards",function(a){q(a.target,".mbr-social-likes").forEach(function(a){a.addEventListener("counter.social-likes",
function(a,b,g){999<g&&a.target.querySelectorAll(".social-likes__counter").forEach(function(a){a.innerHTML=Math.floor(g/1E3)+"k"})});a.socialLikes({initHtml:!1})})});Array.from(document.body.children).filter(function(a){return!a.matches("style, script")}).forEach(function(a){a.classList.contains("mbr-reveal")&&a.addEventListener("add.cards",function(){a.footerReveal()})});r(function(){if(!t()&&document.querySelectorAll("input[name=animation]").length){var a=function(){var a=document.documentElement.scrollTop||
document.body.scrollTop,d=a+window.innerHeight-100;c.forEach(function(c){var h=c.offsetHeight,k=e(c);(k+h>=a&&k-50<=d||b(c))&&c.classList.contains("hidden")&&(c.classList.remove("hidden"),c.classList.add("animate__fadeIn"),c.classList.add("animate__delay-1s"),c.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){c.classList.remove("animate__animated animate__delay-1s animate__fadeIn")},{once:!0}))})},b=function(a){if(a.parents(".carousel-item").some(function(a){return"none"!==
getComputedStyle(a,null).display}))return!1;var b=a.parents(".carousel-item").parentNode;if(!b||b.querySelectorAll(".carousel-item.active .hidden.animate__animated").length)return!1;if(1<b.getAttribute("data-visible")){var c=b.getAttribute("data-visible");if(a.parents().some(function(a){return a.matches(".cloneditem-"+(c-1))})&&a.parents(".cloneditem-"+(c-1)).some(function(a){return a.getAttribute("data-cloned-index")>=c}))return!0;a.classList.remove("animate__animated animate__delay-1s hidden");
return!1}return!0},e=function(a){var b=0;do b+=a.offsetTop||0,a=a.offsetParent;while(a);return b};document.querySelectorAll("input[name=animation]").forEach(function(a){a.remove()});var c=Array.from(document.querySelectorAll("p, h1, h2, h3, h4, h5, a, button, small, img, li, blockquote, .mbr-author-name, em, label, input, select, textarea, .input-group, .form-control, .iconbox, .btn-social, .mbr-figure, .mbr-map, .mbr-testimonial .card-block, .mbr-price-value, .mbr-price-figure, .dataTable, .dataTables_info, .item")),
c=c.filter(function(a){if(!a.parents().filter(function(a){if(a.matches("a, p, .navbar, .mbr-arrow, footer, .iconbox, .mbr-slider, .mbr-gallery, .mbr-testimonial .card-block, #cookiesdirective, .mbr-wowslider, .accordion, .tab-content, .engine, #scrollToTop, .modal, .item"))return!0}).length)return!0}),c=c.filter(function(a){if(!a.parents().filter(function(b){return b.matches("form")&&!a.matches("li")}).length)return!0});c.forEach(function(a){a.classList.add("hidden");a.classList.add("animate__animated");
a.classList.add("animate__delay-1s")});window.addEventListener("scroll",a);window.addEventListener("resize",a);window.dispatchEvent(new CustomEvent("scroll"))}})}r(function(){if(document.querySelectorAll(".mbr-arrow-up").length){var a=document.querySelector("#scrollToTop");a.style.display="none";window.addEventListener("scroll",function(){var b=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,
document.documentElement.clientHeight);(document.documentElement.scrollTop||document.body.scrollTop)>b/2-document.documentElement.clientHeight/2||window.scrollY>window.innerHeight?F(a):E(a)});a.addEventListener("click",function(){window.scrollTo({top:0,left:0,behavior:"smooth"});return!1})}});if(!h){var p=document.querySelector(".mbr-arrow");p&&p.addEventListener("click",function(a){a=a.target.closest("section").nextElementSibling;a.classList.contains("engine")&&(a=a.closest("section").nextElementSibling);
window.scrollTo(0,w(a).top)})}document.querySelectorAll("nav.navbar").length&&(p=u(document.querySelector("nav.navbar")),document.querySelector(".mbr-after-navbar.mbr-fullscreen")&&(document.querySelector(".mbr-after-navbar.mbr-fullscreen").style.paddingTop=p+"px"));if(!h&&(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./)))d(document).on("add.cards",function(a){var b=a.target;b.classList.contains("mbr-fullscreen")&&(a=function(){b.style.height="auto";b.offsetHeight<=
window.innerHeight&&(b.style.height="1px")},window.addEventListener("load",a),window.addEventListener("resize",a));if(b.classList.contains("mbr-slider")||b.classList.contains("mbr-gallery"))b.querySelectorAll(".carousel-indicators").forEach(function(a){a.classList.add("ie-fix");a.querySelectorAll("li").forEach(function(a){a.style.display="inline-block";a.style.width="30px"})}),b.classList.contains("mbr-slider")&&b.querySelectorAll(".full-screen .slider-fullscreen-image").forEach(function(a){a.style.height=
"1px"})});r(function(){if(!h){var a=function(a){a.target&&("VIDEO"==a.target.tagName?(a.preventDefault(),a.stopPropagation()):b(a.target))},b=function(b){var c=b.parents("section")[0].querySelector("iframe"),d=c.getAttribute("src");b.parents("section").forEach(function(a){a.style.zIndex="5000"});if(d){if(-1!==d.indexOf("youtu")&&c.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"),-1!==d.indexOf("vimeo")){var h=new Vimeo.Player(c);h.play()}}else{var f=c.parentNode.querySelector("video");
f&&f.play&&f.play()}var m=b.parents("section")[0],k=m.querySelector(m.querySelector("[data-modal]").getAttribute("data-modal"));k.style.display="table";k.addEventListener("click",function(b){"VIDEO"!==b.target.tagName&&(d?(-1!==d.indexOf("youtu")&&c.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*"),-1!==d.indexOf("vimeo")&&h.pause()):(b=c.parentNode.querySelector("video"))&&b.pause&&b.pause(),k.style.display="none",k.removeEventListener("click",a),m.style.zIndex="0")})};
document.querySelectorAll(".modalWindow-video > iframe").forEach(function(a){var b=a.getAttribute("data-src");if(b){a.removeAttribute("data-src");var d=b.match(/(http:\/\/|https:\/\/|)?(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(shorts\/|video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/);if(-1!==b.indexOf("youtu"))a.setAttribute("src","https://youtube.com/embed/"+d[6]+"?rel=0&enablejsapi=1");else if(-1!==b.indexOf("vimeo"))a.setAttribute("src","https://player.vimeo.com/video/"+
d[6]+"?autoplay=0&loop=0");else if(/\.mp4|\.webm|\.ogg|\.ogv|\.m4a|\.m4v/.test(b)){d=document.createElement("video");d.onloadeddata=function(a){a.target.style.height=a.target.videoHeight>a.target.videoWidth?window.innerHeight-.2*window.innerHeight+"px":"100%"};var h=a.parents("section")[0].querySelector("img");h&&d.setAttribute("poster",h.src);d.setAttribute("controls","");d.setAttribute("playsinline","");d.setAttribute("loop","");d.setAttribute("src",b);a.style.display="none";d.style.width="100%";
a.after(d)}}});document.querySelector("[data-modal]")&&document.querySelectorAll("[data-modal]").forEach(function(b){b.addEventListener("click",a)})}});if(!h){var p=document.querySelectorAll(".dropdown-toggle.show"),z=document.querySelectorAll(".dropdown-menu.show, .dropdown.open"),K=document.querySelectorAll(".dropdown.open");p.forEach(function(a){a.classList.remove("show");a.ariaExpanded="false"});z.forEach(function(a){return a.classList.remove("show")});K.forEach(function(a){return a.classList.remove("open")});
!t()&&(p=document.querySelector("section.menu"))&&(z=window.innerWidth,!p.querySelector(".navbar").classList.contains("collapsed")&&991<z&&(p.querySelectorAll("ul.navbar-nav li.dropdown").forEach(function(a){a.addEventListener("mouseover",function(){a.classList.contains("open")||a.querySelector("a").parentNode.classList.toggle("open")});a.addEventListener("mouseout",function(){a.classList.contains("open")&&a.querySelector("a").parentNode.classList.toggle("open")})}),p.querySelectorAll("ul.navbar-nav li.dropdown .dropdown-menu .dropdown").forEach(function(a){a.addEventListener("mouseover",
function(){a.classList.contains("open")||a.classList.toggle("open")});a.addEventListener("mouseout",function(){a.classList.contains("open")&&a.classList.toggle("open")})})))}h||("undefined"===typeof window.initClientPlugin&&0!=document.body.querySelectorAll(".clients").length&&(window.initClientPlugin=!0,document.body.querySelectorAll(".clients").forEach(function(a){a.getAttribute("data-isinit")||(v(a),G(a))})),"undefined"===typeof window.initPopupBtnPlugin&&0!=document.body.querySelectorAll("section.popup-btn-cards").length&&
(window.initPopupBtnPlugin=!0,document.querySelectorAll("section.popup-btn-cards .card-wrapper").forEach(function(a){a.classList.add("popup-btn")})),"undefined"===typeof window.initTestimonialsPlugin&&0!=document.body.querySelectorAll(".testimonials-slider").length&&(window.initTestimonialsPlugin=!0,document.querySelectorAll(".testimonials-slider").forEach(function(a){v(a)})),"undefined"===typeof window.initSwitchArrowPlugin&&(window.initSwitchArrowPlugin=!0,r(function(){0!=document.querySelectorAll(".accordionStyles").length&&
document.querySelectorAll('.accordionStyles > .card > .card-header > a[role="button"]').forEach(function(a){a.classList.contains("collapsed")||a.classList.add("collapsed")})}),document.querySelectorAll('.accordionStyles > .card > .card-header > a[role="button"]').forEach(function(a){a.addEventListener("click",function(){var b=a.closest(".accordionStyles").getAttribute("id"),d=a.closest(".card").querySelector(".panel-collapse"),c=a.querySelector("span.sign")?a.querySelector("span.sign"):a.querySelector("span.mbr-iconfont");
!d.classList.contains("collapsing")||-1==b.indexOf("toggle")&&-1==b.indexOf("accordion")||(a.classList.contains("collapsed")?(c.classList.remove("mbri-arrow-up"),c.classList.add("mbri-arrow-down")):(c.classList.remove("mbri-arrow-down"),c.classList.add("mbri-arrow-up")),-1!=b.indexOf("accordion")&&(b=a.closest(".accordionStyles"),Array.from(b.children).filter(function(a){return a.querySelector("span.sign")!==c}).forEach(function(a){a=a.querySelector("span.sign")?a.querySelector("span.sign"):a.querySelector("span.mbr-iconfont");
a.classList.remove("mbri-arrow-up");a.classList.add("mbri-arrow-down")})))})})),0!=document.querySelectorAll(".mbr-slider.carousel").length&&document.querySelectorAll(".mbr-slider.carousel").forEach(function(a){var b=a.querySelectorAll(".carousel-control"),e=a.querySelectorAll(".carousel-indicators li"),c=function(a){a.stopPropagation();a.preventDefault()};a.addEventListener("slide.bs.carousel",function(){b.forEach(function(a){a.addEventListener("click",c)});e.forEach(function(a){a.addEventListener("click",
c)});n&&d(a).carousel({keyboard:!1})});a.addEventListener("slid.bs.carousel",function(){b.forEach(function(a){a.removeEventListener("click",c)});e.forEach(function(a){a.removeEventListener("click",c)});n&&d(a).carousel({keyboard:!0});1<a.querySelectorAll(".carousel-item.active").length&&(a.querySelectorAll(".carousel-item.active")[1].classList.remove("active"),a.querySelectorAll(".carousel-control li.active")[1].classList.remove("active"))})}));if(h){if(!n)return;d(document).on("add.cards",function(a){d(a.target).find(".form-with-styler").length&&
(a=d(a.target).find(".form-with-styler"),d(a).find('select:not("[multiple]")').each(function(){d(this).styler&&d(this).styler()}),d(a).find("input[type=number]").each(function(){d(this).styler&&(d(this).styler(),d(this).parent().parent().removeClass("form-control"))}),d(a).find("input[type=date]").each(function(){d(this).datetimepicker&&d(this).datetimepicker({format:"Y-m-d",timepicker:!1})}),d(a).find("input[type=time]").each(function(){d(this).datetimepicker&&d(this).datetimepicker({format:"H:i",
datepicker:!1})}))})}document.querySelectorAll('input[type="range"]').forEach(function(a){a.addEventListener("change",function(a){a.target.parents(".form-group").forEach(function(d){d.querySelector(".value").innerHTML=a.target.value})})});if(h)d(document).on("add.cards changeParameter.cards",function(a,b){"undefined"!==typeof CircularProgressBar&&new CircularProgressBar("pie_progress");b?I(a.target,b):a.target.querySelectorAll(".pie_progress").length&&a.target.querySelectorAll(".pie_progress").forEach(function(a){B(a)})});
else document.querySelectorAll(".pie_progress").length&&("undefined"!==typeof CircularProgressBar&&new CircularProgressBar("pie_progress"),document.querySelectorAll(".pie_progress").forEach(function(a){B(a)}));if(h&&n)d(document).on("add.cards",function(a){d(a.target).hasClass("testimonials-slider")&&v(a.target)}).on("changeParameter.cards",function(a,b,e){"testimonialsSlides"===b&&0==d(a.target).find(".carousel-item.active").length&&A(a.target)});else"undefined"===typeof window.initTestimonialsPlugin&&
(window.initTestimonialsPlugin=!0,document.querySelectorAll(".testimonials-slider").forEach(function(a){v(a)}));r(function(){h||Array.from(document.body.children).filter(function(a){return!a.matches("style, script")}).forEach(function(a){if(window.Event&&"function"===typeof window.Event)var b=new Event("add.cards");else b=document.createEvent("CustomEvent"),b.initEvent("add.cards",!0,!0);a.dispatchEvent(b)})});r(function(){window.addEventListener("scroll",function(){var a=document.querySelector(".navbar-dropdown"),
b=document.querySelector(".navbar-collapse");if(a&&!a.classList.contains("opacityScrollOff")){var d=1<document.documentElement.scrollTop;a.classList.toggle("opacityScroll",!d);b.classList.toggle("opacityScroll",!d)}})});if(h)d(document).on("add.cards",C);else window.addEventListener("DOMContentLoaded",C);if(h)d(document).on("add.cards",D);else window.addEventListener("DOMContentLoaded",D)})();
