"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3588],{40983:function(t,e,n){n.r(e),n.d(e,{default:function(){return g}});var a=n(52322),i=n(2784),c=n(18671),o=n(5408),r=n(5409),s=n(40308);let l={[s.E.windows]:"Windows",[s.E.macos]:"macOS",[s.E.android]:"Android",[s.E.ios]:"iOS",[s.E.linux]:"Linux"},u=t=>{let{product:e,productNameOverride:n,prodPageLinkOverride:s,operatingSystem:u}=t,{isSiteEditor:g,fullSiteUrl:p}=(0,i.useContext)(r.Z),d=(0,i.useContext)(o.Z),{bvId:h,prodKasperskyTitle:f="",prodMainTitle:w="",prodPageLink:x=""}=e;if(g||!d||!h||!d[h])return null;let{os:y}=u||{},{totalReviewCount:E,averageOverallRating:C}=d[h],j=[];y&&(j=Object.keys(y).reduce((t,e)=>(y[e]&&l[e]&&t.push(l[e]),t),[]));let k={"@type":"SoftwareApplication",name:n||"".concat(f," ").concat(w),applicationCategory:"Tools",aggregateRating:{"@type":"AggregateRating",ratingValue:"".concat(C),bestRating:"5",worstRating:"0",reviewCount:"".concat(E),url:["".concat(p).concat(s||x)]}};j.length&&(k={...k,operatingSystem:[...j]});let m={"@context":"http://schema.org","@graph":[{...k}]};return(0,a.jsx)(c.Z,{children:(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify(m)})})};function g(t){let{data:e}=t;return(0,a.jsx)(u,{...e})}}}]);