jQuery(function(t){"use strict";if(void 0!==t(document).magnificPopup&&t(".qubely-video-popup").magnificPopup({type:"iframe",rtl:!0,mainClass:"mfp-fade",removalDelay:300,preloader:!1,fixedContentPos:!1}),document.getElementsByClassName("qubely-table-of-contents").length>0){let e=t(".qubely-table-of-contents").data("scroll-offset");if(e=void 0!==e&&e?parseInt(e):0,t(".qubely-table-of-contents-body a").on("click",function(){let a=t(this).attr("href");a=t(`${a}`)[0].offsetTop,t("html, body").animate({scrollTop:a>e?a+e:a},400)}),t(".qubely-table-of-contents-toggle a").on("click",function(){const e=t(this).parent(".qubely-table-of-contents-toggle");e.toggleClass("qubely-toc-collapsed"),e.closest(".qubely-table-of-contents").find(".qubely-table-of-contents-body").slideToggle(300)}),!t(".block-editor-block-list__layout").length){t(".qubely-back-to-top-button").on("click",function(e){e.preventDefault(),t("html, body").animate({scrollTop:0},800)});const e=t(".qubely-back-to-top-button");void 0!==e[0]&&(window.onscroll=(()=>{t(window).scrollTop()>300?e[0].classList.add("qubely-show-scroll"):e[0].classList.remove("qubely-show-scroll")}))}}function e(e,a,n){void 0!==a&&(t(".qubely-tab-item",e).each(function(){t(this).find(".progress").css({width:"0%",transition:"width 0s"})}),a.style.width="100%",a.style.transition="width "+n+"s")}t(".qubely-block-accordion:not(.qubely-accordion-ready)").each(function(){const e=t(this),a=e.attr("data-item-toggle");e.addClass("qubely-accordion-ready"),e.on("click",".qubely-accordion-item .qubely-accordion-panel",function(n){n.preventDefault();const l=t(this).parent(".qubely-accordion-item"),i=l.find(".qubely-accordion-body");if(l.hasClass("qubely-accordion-active")?(i.css("display","block").slideUp(150),l.removeClass("qubely-accordion-active")):(i.css("display","none").slideDown(150),l.addClass("qubely-accordion-active")),"true"==a){const t=e.find(".qubely-accordion-active").not(l);t.length&&(t.find(".qubely-accordion-body").css("display","block").slideUp(150),t.removeClass("qubely-accordion-active"))}})});var a=[];t(".qubely-tab-title").on("click",function(e){!function(){for(let t=0;t 0?o-1:i-1;a.find(".qubely-carousel-item.qubely-active").hide().removeClass("qubely-active"),a.find(".qubely-carousel-item-indicator.qubely-active").removeClass("qubely-active"),a.find(".qubely-carousel-item").eq(s).fadeIn(400,function(){t(this).addClass("qubely-active")}),a.find(".qubely-carousel-item-indicator").eq(s).addClass("qubely-active")})}),function(t){var e,a,n,l={},i=document,o=window,s=i.documentElement,c=t.expando;function u(){var n,c,u,r,d=t(),b=0;if(t.each(l,function(t,e){var a=e.data.selector,n=e.$element;d=d.add(a?n.find(a):n)}),n=d.length)for(e=e||((r={height:o.innerHeight,width:o.innerWidth}).height||!(c=i.compatMode)&&t.support.boxModel||(r={height:(u="CSS1Compat"===c?s:i.body).clientHeight,width:u.clientWidth}),r),a=a||{top:o.pageYOffset||s.scrollTop||i.body.scrollTop,left:o.pageXOffset||s.scrollLeft||i.body.scrollLeft};b .topm.top a.left#M.left m.left?"right":a.left+e.width m.top?"bottom":a.top+e.height {i.css({opacity:1})},parseInt(t.delay)+100),i.css({"animation-name":t.name,"animation-timing-function":t.curve,"animation-duration":t.duration+"ms","animation-delay":t.delay+"ms","animation-iteration-count":"once"===t.repeat?1:"infinite"}))}i.unbind("inview")});var r=t(window),d=r.height();function b(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}r.resize(function(){d=r.height()}),t.fn.parallax=function(e,a,n){var l,i,o=t(this);function s(){var n=r.scrollTop();o.each(function(){var s=t(this),c=s.offset().top;c+l(s) n+d||o.css("backgroundPosition",e+" "+Math.round((i-n)*a)+"px")})}o.each(function(){i=o.offset().top}),l=n?function(t){return t.outerHeight(!0)}:function(t){return t.height()},(arguments.length<1||null===e)&&(e="50%"),(arguments.length<2||null===a)&&(a=.1),(arguments.length<3||null===n)&&(n=!0),r.bind("scroll",s).resize(s),s()},void 0!==jQuery.fn.parallax&&t(document).ready(function(){t(".qubely-row-parallax").each(function(){t(this).parallax("center",.4)})}),t(document).on("ready",function(){t(".qubely-block-pie-progress").each(function(){var e=t(this),a=e.find("circle:last-child"),n=a.data("dashoffset"),l=a.data("transition"),i=a.data("transition-duration"),o=e.find(".qubely-pie-counter"),s=parseInt(a.data("percent"));parseInt(i)>0&&o.html(0);var c=function(){b(e.find("svg")[0])&&(a.css("transition",l),a.attr("stroke-dashoffset",n),parseInt(i)>0&&u(),window.removeEventListener("scroll",c,!0))},u=function(){var t=0,e=parseInt(i),a=Math.ceil(e/s),n=setInterval(function(){t>=s&&n&&clearInterval(n),o.html(t),t++},a)};window.addEventListener("scroll",c,!0),c()}),t(".qubely-block-counter-number").each(function(){const e=t(this)[0];let a=parseInt(e.dataset.start),n=parseInt(e.dataset.limit),l=parseInt(e.dataset.counterduration),i=Math.ceil(n/l*10);const o=()=>{if(b(e)){if(a =i?a+=i:l>=50?a+=50:a++,e.innerText=a,a>=n&&clearInterval(t)},10)}window.removeEventListener("scroll",o,!0)}};o(),window.addEventListener("scroll",o,!0)})});var y=t("#qubely-settings-tabs-content"),h=t("#qubely-settings-tabs a");h.on("click",function(e){e.preventDefault(),history.pushState({},"",this.href);var a=t(this).attr("href");y.find(".qubely-settings-inner").hide(),y.find(a).show(),h.removeClass("nav-tab-active"),t(this).addClass("nav-tab-active")}),y.length&&(window.location.hash?(h.removeClass("nav-tab-active"),t("#qubely-settings-tabs a[href="+window.location.hash+"]").addClass("nav-tab-active"),y.find(".qubely-settings-inner").hide(),y.find(window.location.hash).show()):(h.removeClass("nav-tab-active"),h.first().addClass("nav-tab-active"),y.find(".qubely-settings-inner").hide(),y.find(".qubely-settings-inner").first().show()));var f=t(".qubely-gs-card-blog-posts");if(f.length){}var v=t(".qubely-gs-section-count");if(v.length){var q="https://qubely.io/wp-json/wp/v2/sections",m=localStorage.getItem("__qubely_section_count_time");!(w=localStorage.getItem("__qubely_section_count"))||!parseInt(m)>Date.now()?fetch(q).then(t=>{var e=t.headers.get("X-WP-Total");e&&(e+="+",v.html(e),localStorage.setItem("__qubely_section_count_time",Date.now()+36e5),localStorage.setItem("__qubely_section_count",e))}).catch(t=>{}):v.html(w)}var p=t(".qubely-gs-block-count");if(p.length){q="https://qubely.io/wp-json/wp/v2/block",m=localStorage.getItem("__qubely_block_count_time");!(w=localStorage.getItem("__qubely_block_count"))||!parseInt(m)>Date.now()?fetch(q).then(t=>{var e=t.headers.get("X-WP-Total");e&&(e+="+",p.html(e),localStorage.setItem("__qubely_block_count_time",Date.now()+36e5),localStorage.setItem("__qubely_block_count",e))}).catch(t=>{}):p.html(w)}var g=t(".qubely-gs-layout-count");if(g.length){var w;q="https://qubely.io/wp-json/restapi/v2/layouts",m=localStorage.getItem("__qubely_layout_count_time");!(w=localStorage.getItem("__qubely_layout_count"))||!parseInt(m)>Date.now()?fetch(q,{method:"post"}).then(t=>{t.json().then(t=>{var e=t.filter(t=>0===t.parentID).length+"+";g.html(e),localStorage.setItem("__qubely_layout_count_time",Date.now()+36e5),localStorage.setItem("__qubely_layout_count",e)})}).catch(t=>{}):g.html(w)}}(jQuery);!!function(e){"use strict";if("undefined"==typeof qubelyInteraction)return;function t(e){this.actions=e,this.actionProperty=["move","rotate","scale","skew","opacity","blur"],this.actionSortList={}}t.prototype.bindCustomAnimation=function(){this.actionProperty.map(e=>{this.actionSortList[e]=this.actions.filter(t=>t.name===e)})},t.prototype.getCustomAnimationActionByName=function(e,t=null){if(null===t)return void 0!==this.actionSortList[e]?this.actionSortList[e]:[];{let i={from:null,to:null},s=void 0!==this.actionSortList[e]?this.actionSortList[e]:[];if(0===s.length)return i;let n=!1;return s.map((e,o)=>{t 0&&(this.lastgammazero=this.gammazero,this.lastbetazero=this.betazero,null===this.gammazero?(this.gammazero=e.gamma,this.betazero=e.beta):(this.gammazero=(e.gamma+this.lastgammazero)/2,this.betazero=(e.beta+this.lastbetazero)/2),this.gyroscopeSamples-=1);const t=this.settings.gyroscopeMaxAngleX-this.settings.gyroscopeMinAngleX,i=this.settings.gyroscopeMaxAngleY-this.settings.gyroscopeMinAngleY,s=t/this.width,n=i/this.height,o=(e.gamma-(this.settings.gyroscopeMinAngleX+this.gammazero))/s,a=(e.beta-(this.settings.gyroscopeMinAngleY+this.betazero))/n;null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event={clientX:o+this.left,clientY:a+this.top},this.updateCall=requestAnimationFrame(this.updateBind)}onMouseEnter(){this.updateElementPosition(),this.element.style.willChange="transform",this.setTransition()}onMouseMove(e){null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event=e,this.updateCall=requestAnimationFrame(this.updateBind)}onMouseLeave(){this.setTransition(),this.settings.reset&&requestAnimationFrame(this.resetBind)}reset(){this.event={clientX:this.left+this.width/2,clientY:this.top+this.height/2},null!==this.element.parentElement&&"qubley-interaction-wrapper"===this.element.parentElement.className&&(this.element=this.element.parentElement),"qubley-interaction-wrapper"===this.element.className&&(this.element&&this.element.style&&(this.element.style.transform=`perspective(${this.settings.perspective}px) `+"rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)"),this.resetGlare())}resetGlare(){this.glare&&(this.glareElement.style.transform="rotate(180deg) translate(-50%, -50%)",this.glareElement.style.opacity="0")}updateInitialPosition(){if(0===this.settings.startX&&0===this.settings.startY)return;this.onMouseEnter(),this.fullPageListening?this.event={clientX:(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.clientWidth,clientY:(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.clientHeight}:this.event={clientX:this.left+(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.width,clientY:this.top+(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.height};let e=this.settings.scale;this.settings.scale=1,this.update(),this.settings.scale=e,this.resetGlare()}getValues(){let e,t;return this.fullPageListening?(e=this.event.clientX/this.clientWidth,t=this.event.clientY/this.clientHeight):(e=(this.event.clientX-this.left)/this.width,t=(this.event.clientY-this.top)/this.height),e=Math.min(Math.max(e,0),1),t=Math.min(Math.max(t,0),1),{tiltX:(this.reverse*(this.settings.max-e*this.settings.max*2)).toFixed(2),tiltY:(this.reverse*(t*this.settings.max*2-this.settings.max)).toFixed(2),percentageX:100*e,percentageY:100*t,angle:Math.atan2(this.event.clientX-(this.left+this.width/2),-(this.event.clientY-(this.top+this.height/2)))*(180/Math.PI)}}updateElementPosition(){let e=this.element.getBoundingClientRect();this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.left=e.left,this.top=e.top}update(){let e=this.getValues();this.element.style.transform="perspective("+this.settings.perspective+"px) rotateX("+("x"===this.settings.axis?0:e.tiltY)+"deg) rotateY("+("y"===this.settings.axis?0:e.tiltX)+"deg) scale3d("+this.settings.scale+", "+this.settings.scale+", "+this.settings.scale+")",this.glare&&(this.glareElement.style.transform=`rotate(${e.angle}deg) translate(-50%, -50%)`,this.glareElement.style.opacity=`${e.percentageY*this.settings["max-glare"]/100}`),this.element.dispatchEvent(new CustomEvent("tiltChange",{detail:e})),this.updateCall=null}prepareGlare(){if(!this.glarePrerender){const e=document.createElement("div");e.classList.add("js-tilt-glare");const t=document.createElement("div");t.classList.add("js-tilt-glare-inner"),e.appendChild(t),this.element.appendChild(e)}this.glareElementWrapper=this.element.querySelector(".js-tilt-glare"),this.glareElement=this.element.querySelector(".js-tilt-glare-inner"),this.glarePrerender||(Object.assign(this.glareElementWrapper.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}),Object.assign(this.glareElement.style,{position:"absolute",top:"50%",left:"50%","pointer-events":"none","background-image":"linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)",width:`${2*this.element.offsetWidth}px`,height:`${2*this.element.offsetWidth}px`,transform:"rotate(180deg) translate(-50%, -50%)","transform-origin":"0% 0%",opacity:"0"}))}updateGlareSize(){this.glare&&Object.assign(this.glareElement.style,{width:`${2*this.element.offsetWidth}`,height:`${2*this.element.offsetWidth}`})}updateClientSize(){this.clientWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.clientHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}onWindowResize(){this.updateGlareSize(),this.updateClientSize()}setTransition(){clearTimeout(this.transitionTimeout),this.element.style.transition=this.settings.speed+"ms "+this.settings.easing,this.glare&&(this.glareElement.style.transition=`opacity ${this.settings.speed}ms ${this.settings.easing}`),this.transitionTimeout=setTimeout(()=>{this.element.style.transition="",this.glare&&(this.glareElement.style.transition="")},this.settings.speed)}extendSettings(e){let t={reverse:!1,max:15,startX:0,startY:0,perspective:1e3,easing:"cubic-bezier(.03,.98,.52,.99)",scale:1,speed:300,transition:!0,axis:null,glare:!1,"max-glare":1,"glare-prerender":!1,"full-page-listening":!1,"mouse-event-element":null,reset:!0,gyroscope:!0,gyroscopeMinAngleX:-45,gyroscopeMaxAngleX:45,gyroscopeMinAngleY:-45,gyroscopeMaxAngleY:45,gyroscopeSamples:10},i={};for(var s in t)if(s in e)i[s]=e[s];else if(this.element.hasAttribute("data-tilt-"+s)){let e=this.element.getAttribute("data-tilt-"+s);try{i[s]=JSON.parse(e)}catch(t){i[s]=e}}else i[s]=t[s];return i}static init(e,t){e.vanillaTilt=new i(e,t)}}let s=e(window),n=s.width();function o(t,i){var s=e(window).height(),n=i.scrollTop(),o=t.offset().top,a=t.height();if(o>n+s)return-1;if(o+a 100?100:l}let a={};function l(t){if(void 0!==qubelyInteraction.mouse_movement){qubelyInteraction.mouse_movement.map(s=>{let n=e(`.qubely-block-${s.blockId}`);if(n.parent().hasClass("qubley-interaction-wrapper")||n.wrap('
'),t<768&&(void 0===s.animation.enable_mobile||!1===s.animation.enable_mobile))return void 0!==a[s.blockId]&&(a[s.blockId].tiltIntance.destroy(),delete a[s.blockId]),!1;if(t>767&&t<991&&(void 0===s.animation.enable_tablet||!1===s.animation.enable_tablet))return void 0!==a[s.blockId]&&(a[s.blockId].tiltIntance.destroy(),delete a[s.blockId]),!1;if(void 0!==a[s.blockId])return!1;let o=document.getElementsByClassName(`qubely-block-${s.blockId}`);if(o.length>0){o=o[0].parentElement;let e={speed:1e3*parseFloat(s.animation.mouse_tilt_speed),max:parseFloat(s.animation.mouse_tilt_max),reverse:"opposite"===s.animation.mouse_tilt_direction,easing:"cubic-bezier(.03,.98,.52,.99)",scale:1.05,transition:!0,perspective:1e3};const t=new i(o,e);a[s.blockId]={tiltIntance:t}}})}}if(l(n),void 0!==qubelyInteraction.while_scroll_view){let i=qubelyInteraction.while_scroll_view,s=e(window);function r(e,t,i,s=!1){if(s){let s=h(t,i);s.transitionDuration=".1s",e.css(s)}i>-1&&i<=100&&e.css(h(t,i))}function h(e,i){let s={move:{from:{x:0,y:0,z:0,keyframe:0,f:!1},to:{x:0,y:0,z:0,keyframe:0,f:!1},goal:{x:0,y:0,z:0,keyframe:0}},scale:{from:{x:1,y:1,z:1,keyframe:0},to:{x:1,y:1,z:1,keyframe:0},goal:{x:1,y:1,z:1,keyframe:0}},skew:{from:{x:0,y:0,keyframe:0},to:{x:0,y:0,keyframe:0},goal:{x:0,y:0,keyframe:0}},rotate:{from:{x:0,y:0,z:0,keyframe:0},to:{x:0,y:0,z:0,keyframe:0},goal:{x:0,y:0,z:0,keyframe:0}},opacity:{from:{value:0,keyframe:0},to:{value:0,keyframe:0},goal:{value:1,keyframe:0}},blur:{from:{value:0,keyframe:0},to:{value:0,keyframe:0},goal:{value:0,keyframe:0}}},{animation:n,origin:o}=e;void 0===o&&(o={x_offset:"center",y_offset:"center"});let a=new t(n);return a.bindCustomAnimation(),a.actionProperty.map(e=>{let t=a.getCustomAnimationActionByName(e,i);null!==t.from&&(Object.assign(s[e].from,t.from.property),s[e].from.f=!0,s[e].from.keyframe=parseInt(t.from.keyframe),void 0!==s[e].from.x&&(s[e].from.x=""===s[e].from.x||null===s[e].from.x?0:parseFloat(s[e].from.x)),void 0!==s[e].from.y&&(s[e].from.y=""===s[e].from.y||null===s[e].from.y?0:parseFloat(s[e].from.y)),void 0!==s[e].from.z&&(s[e].from.z=""===s[e].from.z||null===s[e].from.z?0:parseFloat(s[e].from.z)),void 0!==s[e].from.value&&(s[e].from.value=""===s[e].from.value?0:parseFloat(s[e].from.value))),null!==t.to&&(Object.assign(s[e].to,t.to.property),void 0!==s[e].to.x&&(s[e].to.x=""===s[e].to.x||null===s[e].to.x?0:parseFloat(s[e].to.x),s[e].goal.x=s[e].to.x),void 0!==s[e].to.y&&(s[e].to.y=""===s[e].to.y||null===s[e].to.y?0:parseFloat(s[e].to.y),s[e].goal.y=s[e].to.y),void 0!==s[e].to.z&&(s[e].to.z=""===s[e].to.z||null===s[e].to.z?0:parseFloat(s[e].to.z),s[e].goal.z=s[e].to.z),void 0!==s[e].to.value&&(s[e].to.value=""===s[e].to.value||null===s[e].to.value?0:parseFloat(s[e].to.value),s[e].goal.value=s[e].to.value),s[e].to.keyframe=parseInt(t.to.keyframe),s[e].to.f=!0),!0===s[e].to.f&&!0===s[e].from.f&&void 0===t.fixed&&(s[e]="opacity"===e||"blur"===e?a.getOpacity(e,s[e],i):"skew"===e?a.getSkew(e,s[e],i):a.getMoveTransform(e,s[e],i))}),{willChange:"transform","-webkit-transition-timing-function":"linear",transitionProperty:"transform, opacity, filter",transformOrigin:`${o.x_offset} ${o.y_offset}`,transformStyle:"preserve-3d",opacity:`${s.opacity.goal.value}`,filter:`blur(${s.blur.goal.value}px)`,"-webkit-filter":`blur(${s.blur.goal.value}px)`,transform:`perspective(1000px) translate3d(${s.move.goal.x}px, ${s.move.goal.y}px, ${s.move.goal.z}px) \n scale3d(${s.scale.goal.x}, ${s.scale.goal.y}, ${s.scale.goal.z})\n rotateX(${s.rotate.goal.x}deg) rotateY(${s.rotate.goal.y}deg) rotateZ(${s.rotate.goal.z}deg) \n skew(${s.skew.goal.x}deg, ${s.skew.goal.y}deg)`}}e(document).ready(function(){i.map(t=>{if(n<768&&(void 0===t.enable_mobile||!1===t.enable_mobile))return!1;if(n>767&&n<991&&(void 0===t.enable_tablet||!1===t.enable_tablet))return!1;let i=e(`.qubely-block-${t.blockId}`);i.addClass("qubley-interaction-hide"),i.parent().hasClass("qubley-interaction-wrapper")||i.wrap('
');let a=o(i.parent(".qubley-interaction-wrapper"),s);r(i,t,a,!0),setTimeout(()=>{i.removeClass("qubley-interaction-hide")},500)})}),e(window).on("load",function(){e(document).on("scroll",function(){n=s.width(),i.map(t=>{let i=e(`.qubely-block-${t.blockId}`);if(n<768&&(void 0===t.enable_mobile||!1===t.enable_mobile))return i.removeAttr("style"),!1;if(n>767&&n<991&&(void 0===t.enable_tablet||!1===t.enable_tablet))return i.removeAttr("style"),!1;if(i.parent().hasClass("qubley-interaction-wrapper")){let e=o(i.parent(".qubley-interaction-wrapper"),s);r(i,t,e)}})})})}s.resize(function(){l(s.width())})}(jQuery);!!function(){var e={4853:function(){!function(e){"use strict";var o,t,i;window.CTRY_CURRENCY_LIST={AD:{code:"EUR",symbol:"€",flip:!1},AR:{code:"ARS",symbol:"ARS",flip:!0},AT:{code:"EUR",symbol:"€",flip:!1},AU:{code:"AUD",symbol:"A$",flip:!1},BE:{code:"EUR",symbol:"€",flip:!1},BL:{code:"EUR",symbol:"€",flip:!1},BR:{code:"BRL",symbol:"R$",flip:!1},CA:{code:"CAD",symbol:"CAD $",flip:!1},CH:{code:"CHF",symbol:"CHF ",flip:!1},CY:{code:"EUR",symbol:"€",flip:!1},DE:{code:"EUR",symbol:"€",flip:!0},DK:{code:"DKK",symbol:"kr",flip:!0},EE:{code:"EUR",symbol:"€",flip:!1},ES:{code:"EUR",symbol:"€",flip:!1},FI:{code:"EUR",symbol:"€",flip:!1},FR:{code:"EUR",symbol:"€",flip:!1},GB:{code:"GBP",symbol:"£",flip:!1},GR:{code:"EUR",symbol:"€",flip:!1},ID:{code:"IDR",symbol:"Rp",flip:!0},IE:{code:"EUR",symbol:"€",flip:!1},IN:{code:"INR",symbol:"₹",flip:!0},IT:{code:"EUR",symbol:"€",flip:!1},JP:{code:"JPY",symbol:"¥",flip:!1},LT:{code:"EUR",symbol:"€",flip:!1},LU:{code:"EUR",symbol:"€",flip:!1},LV:{code:"EUR",symbol:"€",flip:!1},MC:{code:"EUR",symbol:"€",flip:!1},MF:{code:"EUR",symbol:"€",flip:!1},MT:{code:"EUR",symbol:"€",flip:!1},MX:{code:"MXN",symbol:"MXN",flip:!0},NL:{code:"EUR",symbol:"€",flip:!1},NO:{code:"NOK",symbol:"kr",flip:!0},NZ:{code:"NZD",symbol:"NZ $",flip:!1},PH:{code:"PHP",symbol:"₱",flip:!0},PL:{code:"PLN",symbol:"zł",flip:!0},PM:{code:"EUR",symbol:"€",flip:!1},PT:{code:"EUR",symbol:"€",flip:!1},RU:{code:"RUB",symbol:"руб",flip:!0},SE:{code:"SEK",symbol:"kr",flip:!0},SI:{code:"EUR",symbol:"€",flip:!1},SK:{code:"EUR",symbol:"€",flip:!1},SM:{code:"EUR",symbol:"€",flip:!1},TF:{code:"EUR",symbol:"€",flip:!1},TH:{code:"THB",symbol:"฿",flip:!0},TR:{code:"TRY",symbol:"₺",flip:!0},UA:{code:"UAH",symbol:"₴",flip:!0},US:{code:"USD",symbol:"$",flip:!1},VA:{code:"EUR",symbol:"€",flip:!1},ZA:{code:"ZAR",symbol:"R",flip:!1}},window,o=function(e){var o={};if(e.length)switch(o={isMac:!1,isiPhone:!1,isiPad:!1,isWindows:!1,isAndroid:!1,isChromeOS:!1},e){case"windows":o.name="windows",o.isWindows=!0;break;case"mac":o.name="mac",o.isMac=!0;break;case"android":o.name="android",o.isAndroid=!0;break;case"ios":o.name="ios",o.isiPhone=!0;break;case"chromebook":o.name="chromebook",o.isChromeOS=!0;break;default:o.name="",o.isWindows=!0}else{var t=navigator.userAgentData&&navigator.userAgentData.platform||navigator.userAgent;(o={isMac:!(!navigator.platform.match(/(Mac)/i)||0!==navigator.maxTouchPoints),isiPhone:!!t.match(/(iPhone)/i),isiPad:!!("iPad"===t||t.match(/(iPad)/i)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1),isWindows:!!t.match(/(Windows)/i),isAndroid:!!t.match(/(Android)/i),isChromeOS:navigator.userAgentData&&navigator.userAgentData.brands.some((function(e){return/Chrome OS/i.test(e.brand)}))||/\bCrOS\b/.test(t)}).name=o.name||o.isWindows&&"windows",o.name=o.name||o.isMac&&"mac",o.name=o.name||o.isAndroid&&"android",o.name=o.name||(o.isiPad||o.isiPhone)&&"ios",o.name=o.name||o.isChromeOS&&"chromebook"}return o.name||(o.isWindows=!0,o.name="windows"),o},t=function(){var e={},o=window.location.search.substring(1).split("&");if(""!=o[0])for(var t=0;t 必威平台APP-1?document.location.href.substring(e.indexOf("?")+1):""},1==e.url.get("mwbqa")&&(e.isBeingTested=!0,"false"===e.url.get("geo")&&(e.isGeoDetecting=!1),e.country=e.url.get("ctry")||e.country),e.isGeoDetecting&&(e.geoData=i(),void 0!==e.geoData.location?((!e.isBeingTested||e.isBeingTested&&null===e.url.get("ctry"))&&(e.country=e.geoData.location.countryCode),e.continent=e.geoData.location.continentCode,e.hsh=e.geoData.ipHash,e.countryError=null):void 0!==e.geoData.error&&(e.countryError=e.geoData.error.errorCode)),void 0===e.country&&(e.country="US"),window.country=e.country,window.hsh=e.hsh,window.countryError=e.countryError,e.currency=window.CTRY_CURRENCY_LIST.US.code,e.currencySymbol=window.CTRY_CURRENCY_LIST.US.symbol,e.currencyPostionFlip=window.CTRY_CURRENCY_LIST.US.flip,void 0!==window.CTRY_CURRENCY_LIST[e.country]?(e.currency=window.CTRY_CURRENCY_LIST[e.country].code,e.currencySymbol=window.CTRY_CURRENCY_LIST[e.country].symbol,e.currencyPostionFlip=window.CTRY_CURRENCY_LIST[e.country].flip):e.currencySymbol="US$",e.device=o(e.url.get("device")),e.device.isMobile=e.device.isiPhone||e.device.isiPad||e.device.isAndroid,e.device.isDesktop=!e.device.isMobile,e.res={},e.res.width=window.innerWidth,e.res.height=window.innerHeight,e.res.isDevice=function(o){var t=!1;switch(e.res.updateResolution(),o){case"small-phone":e.res.width<400&&(t=!0);break;case"phone":e.res.width>=400&&e.res.width<600&&(t=!0);break;case"tablet":e.res.width>=600&&e.res.width<900&&(t=!0);break;case"laptop":e.res.width>=900&&e.res.width<1200&&(t=!0);break;case"desktop":e.res.width>=1200&&e.res.width<1800&&(t=!0);break;case"large-desktop":e.res.width>=1800&&(t=!0)}return t},e.res.updateResolution=function(){e.res.width=window.innerWidth,e.res.height=window.innerHeight}},global_variables.user=window.MESS,e(document).ready((function(){if(jQuery('a[href^="#"]').not(".tech-specs-v2__menu-link, .main-navigation a, .malwarebytes-left-sidebar a").on("click",(function(e){var o=this.getAttribute("href").replace("#","");if(document.getElementById(o)&&""!==this.getAttribute("href")&&null!==this.getAttribute("href")&&"#"!==this.getAttribute("href")){var t=jQuery(this.getAttribute("href"));t.length&&(e.preventDefault(),jQuery("html, body").stop().animate({scrollTop:t.offset().top-150},300))}})),e("[data-tooltip]").each((function(){var o=e(this);o.attr("title")||(o.css("cursor","pointer"),o.addClass("has-tooltip"))})),void 0!==typeof global_variables.user.country&&("US"!==global_variables.user.country&&"CA"!==global_variables.user.country||(jQuery(".site-footer .address-text.address-usa-ca").removeClass("hidden"),jQuery(".site-footer .address-text.address-global").addClass("hidden"))),document.getElementsByClassName("lp-mb-autodownload").length){var o="https://downloads.malwarebytes.com/file/mb-windows";window.isMac=!!navigator.platform.match(/(Mac)/i),window.isWindows=!!navigator.userAgent.match(/(Windows)/i),window.isAndroid=!!navigator.userAgent.match(/(Android)/i),window.isiPhone=!!navigator.platform.match(/(iPhone)/i),window.isiPad=!!navigator.platform.match(/(iPad)/i),window.isChromeOS=!!/\bCrOS\b/.test(navigator.userAgent),1==isMac?(o="https://downloads.malwarebytes.com/file/mb-mac",e(".dl-os-link").attr("href","https://downloads.malwarebytes.com/file/mb-mac")):(o="https://downloads.malwarebytes.com/file/mb-windows",e(".dl-os-link").attr("href","https://downloads.malwarebytes.com/file/mb-windows")),setTimeout((function(){var e=document.createElement("iframe");e.setAttribute("src",o),e.setAttribute("style","display: none;"),e.setAttribute("class","screenReaderText"),document.body.appendChild(e)}),1e3)}}))}(jQuery)},5042:function(){!function(e){"use strict";function o(){let o=e(".site-header");if(0 '),e(document).on("click",".main-navigation ul.primary-menu > li > a",(function(o){if(e(this).parent().hasClass("menu-item-has-megamenu"))return o.preventDefault(),!1})),e(document).on("click",".site-header ul.secondary-menu > li > a",(function(o){if(e(this).parent().hasClass("menu-item-has-children"))return o.preventDefault(),!1})),e(".site-header__nav ul.secondary-menu > li > a").each((function(){const o=e(this).text(),t=e('
  • ').text("< "+o);e(this).next("ul").prepend(t)})),e(document).on("click",".main-navigation ul.primary-menu > li > a, .site-header ul.secondary-menu > li > a",(function(){e(this).parent().siblings().removeClass("active"),e(this).parent().toggleClass("active"),e(this).parent().hasClass("active")?e(this).parents(".site-header__nav").addClass("submenu-open"):e(this).parents(".site-header__nav").removeClass("submenu-open")})),e(document).on("click",".main-navigation ul.primary-menu > li .wp-block-heading, .site-header ul.secondary-menu > li .backtitle",(function(){e(this).parents("li").removeClass("active"),e(this).parents(".site-header__nav").removeClass("submenu-open")})),e(document).on("click",".site-header-searchbox > .searchbox-nav, .site-header-searchbox > .searchbox-nav-mobile",(function(){e(this).parent().toggleClass("active")})),e(document).on("click",".lang-select",(function(){e(this).siblings(".lang-modal").addClass("active"),e(this).parents(".site-header").addClass("lang-modal-open")})),e(document).on("click",".lagn-closer",(function(){e(this).parent().removeClass("active"),e(this).parents(".site-header").removeClass("lang-modal-open")})),e(document).mouseup((function(o){0===e(o.target).closest(".site-header ul.secondary-menu > li").length&&e(".site-header ul.secondary-menu > li").removeClass("active")})),e(document).mouseup((function(o){0===e(o.target).closest(".wp-block-malware-bytes-menu-links").length&&e(".main-navigation ul.primary-menu li").removeClass("active")})),e(document).mouseup((function(o){"searchbox-nav"!==e(o.target).attr("class")&&0===e(o.target).closest(".site-header-searchbox .search-modal").length&&e(".site-header-searchbox").removeClass("active")}))})),window.addEventListener("scroll",(function(){window.scrollY>=1?e(".site-header__actions > a.btn-primary-yellow").addClass("btn-primary-blue").removeClass("btn-primary-yellow"):e(".site-header__actions > a.btn-primary-blue").addClass("btn-primary-yellow").removeClass("btn-primary-blue")}))}(jQuery)},2967:function(){!function(e){"use strict";function o(){jQuery("#overlay-lang .close.active").removeClass("active"),jQuery("body, html").removeClass("overlay-open"),setTimeout((function(){jQuery("#overlay-lang").fadeOut(500)}),300)}e(document).ready((function(){jQuery(document).on("click",".language-select",(function(e){e.preventDefault();var o=jQuery("#overlay-lang");o.fadeIn(300),setTimeout((function(){o.find(".close").addClass("active")}),1e3)})),jQuery(document).on("click","#overlay-lang .close.active",(function(e){e.preventDefault(),o()})),jQuery(document).on("keyup",(function(e){27===e.keyCode&&o()}));var t=JSON.parse(siteConfig.langJson);if(t.length>0){function n(){let o='
  • +tl+
  • ";e("#intl-sites").append(o)}for(var i=0;i