(()=>{const t=(t,e,n)=>{for(let r=0;r{const n=document.getElementById("review-ratings-container")?.getAttribute("data-product-id");if(!n)return;const r=e[n];(t=>{const e=document.getElementById("mwb-ratings"),n=document.getElementById("mwb-reviews");e&&n&&(e.textContent=t.average_score.toFixed(2),n.textContent=t.total_reviews.toLocaleString())})(r),(e=>{const n=document.createDocumentFragment(),r=Math.floor(e);t(r,"star-full",n);const o=(a=e%1)>=0&&a<.125?"empty":a>=.125&&a<.375?"quarter":a>=.375&&a<.625?"half":a>=.625&&a<.875?"three-quarter":"full";var a;const s="empty"!==o?1:0;t(s,`star-${o}`,n);const c=Math.max(0,5-r-s);t(c,"star-empty",n),document.getElementById("review-ratings-stars")?.appendChild(n)})(r.average_score)})(await(async()=>{try{const t="?v="+time_getVersionDateString(),e=await fetch(window.siteConfig.homeURL+"/wp-json/wp/v2/api/reviews"+t,{method:"GET"});if(!e.ok)throw new Error("Could not retrieve review data");return await e.json()}catch(t){throw console.error("Error fetching review data:",t),t}})())}))})();; !function(t){function o(){const o=t(window).width();t(".wp-block-malware-bytes-multipurpose.multipurpose").each((function(){const e=t(this),n=e.data("image-src");if(n){const t="object"==typeof n?n:{},i=t.desktop,c=t.tab||t.desktop,s=t.mobile||t.tab||t.desktop;let u=i;o<=767?u=s:o<=991&&(u=c),u&&e.css("background-image","url("+u+")")}}))}t(document).ready((function(){o()})),t(window).on("resize",o)}(jQuery);; !function(e){"use strict";e(document).ready((function(){e(document).on("click","body:not(.wp-admin) .faq-item__header",(function(t){e(this).parent().toggleClass("active"),e(this).next(".faq-item__answer").slideToggle()}))}))}(jQuery);;