"use strict";exports.id=188,exports.ids=[188],exports.modules={90188:(a,b,c)=>{c.r(b),c.d(b,{TrustIndicators:()=>g});var d=c(5735);function e({rating:a,maxRating:b=5,color:c="#00b67a",size:e=20}){let f=[];for(let g=1;g<=b;g++){let b=a>=g?1:.5*(a>=g-.5);f.push((0,d.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,d.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z",fill:"#e0e0e0"}),b>0&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("defs",{children:(0,d.jsx)("clipPath",{id:`star-clip-${g}-${a}`,children:(0,d.jsx)("rect",{x:"0",y:"0",width:1===b?"24":"12",height:"24"})})}),(0,d.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z",fill:c,clipPath:`url(#star-clip-${g}-${a})`})]})]},g))}return(0,d.jsx)("div",{className:"flex items-center gap-0.5",children:f})}function f({name:a}){let b=a.split(/(?=[A-Z])/).filter(Boolean);return 2===b.length?(0,d.jsxs)("span",{className:"text-lg md:text-xl font-bold tracking-tight text-gray-900",children:[(0,d.jsx)("span",{className:"font-extrabold",children:b[0]}),(0,d.jsx)("span",{className:"font-normal text-gray-500",children:b[1]})]}):(0,d.jsx)("span",{className:"text-lg md:text-xl font-bold tracking-tight text-gray-900",children:a})}function g({config:a}){let b=a?.items??[];if(0===b.length)return null;let c=a?.bg_color||"#ffffff",g=a?.star_color||"#00b67a",h=a?.text_color||"#6b7280";return(0,d.jsxs)("section",{className:"py-8 md:py-12",style:{backgroundColor:c},children:[a?.heading&&(0,d.jsx)("div",{className:"container mx-auto px-4 mb-6 text-center",children:(0,d.jsx)("h2",{className:"text-lg font-semibold",style:{color:h},children:a.heading})}),(0,d.jsx)("div",{className:"container mx-auto px-4",children:(0,d.jsx)("div",{className:"grid gap-6 md:gap-8",style:{gridTemplateColumns:`repeat(${Math.min(b.length,4)}, minmax(0, 1fr))`},children:b.map((a,b)=>{let c=a.star_color||g,h=(0,d.jsxs)("div",{className:`flex flex-col items-center text-center gap-2 py-4 px-3 rounded-xl transition-all duration-300 ${a.link?"hover:bg-gray-50 hover:shadow-sm cursor-pointer":""}`,children:[a.logo_url?(0,d.jsx)("img",{src:a.logo_url,alt:a.platform,className:"h-7 md:h-8 w-auto object-contain"}):(0,d.jsx)(f,{name:a.platform}),(0,d.jsx)(e,{rating:a.rating,maxRating:a.max_rating,color:c,size:22}),(0,d.jsxs)("p",{className:"text-sm font-medium",style:{color:c},children:[a.review_count," | ",a.rating,"/",a.max_rating]})]},b);return a.link?(0,d.jsx)("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",className:"no-underline",children:h},b):h})})})]})}}};