PageSourceSearch

https://gutachter-fronius.de/_nuxt/BMUlmVaF.js

js gutachter-fronius.de collected 2026-10-07 03:38:18 UTC 2,654 bytes, 1 lines download raw bytes

1import{D as e,On as t,_ as n,b as r,bt as i,g as a,k as o,mt as s,nr as c,o as l,qt as u,y as d}from"./Ib1jYPSS.js";import{h as f,p}from"./C8wwFvML.js";import{o as m,t as h}from"./DyuX-o19.js";import{t as g}from"./C6Hqxrry.js";import{t as _}from"./DP4Mn6R4.js";import{n as v,r as y}from"./DUPn09i-.js";import{n as b}from"./C4sdFYEE.js";import{t as x}from"./CWMN6LZF.js";var S={show:{_eq:!0}},C={...S,content:{_nempty:!0},rating:{_gte:4}},w=()=>{let{client:e}=v();return{getTestimonialsByLocation:async(t,n)=>{let r={fields:[`*`],sort:[`-date`],limit:-1,filter:C};if(!t){let t=await e.request(b(`testimonials`,r));return{items:t.slice(0,n),total:t.length}}let[i,a]=await Promise.all([e.request(b(`testimonials`,{...r,filter:{_and:[C,{location_id:{_eq:t}}]}})),e.request(b(`testimonials`,{...r,filter:{_and:[C,{location_id:{_neq:t}}]}}))]),o=[...i,...a];return{items:o.slice(0,n),total:o.length}},getTestimonialsCount:async()=>{let[t]=await e.request(y(`testimonials`,{aggregate:{count:`*`,avg:`rating`},query:{filter:S}}));return{count:Number(t?.count)||0,avgRating:Number((t?.avg).rating)||0}}}},T={root:[`testimonials`],byLocation:(e,t)=>[...T.root,`by-location`,e,t],averageRating:()=>[...T.root,`average-rating`]},E=p(({locationId:e,limit:t})=>({key:T.byLocation(e||`all`,t),query:()=>w().getTestimonialsByLocation(e,t),placeholderData:()=>({items:[],total:0})})),D=p(()=>({key:T.averageRating(),query:()=>w().getTestimonialsCount(),placeholderData:()=>({count:0,avgRating:0})})),O={class:`my-5 md:my-8 flex gap-3 justify-center lg:justify-start`},k={class:`pt-2`},A={key:0,class:`flex gap-1 items-center text-sm md:text-base`},j={class:`pt-0.5`},M={class:`flex items-center`},N={class:`pt-0.5`},P=Object.assign(o({__name:`Reviews`,setup(o){let p=m(h),v=a(()=>p.greaterOrEqual(`lg`).value?`xl`:`sm`),{data:y,isLoading:b}=f(D);return(a,o)=>{let f=g,p=x,m=_;return s(),r(`div`,O,[n(`div`,k,[e(p,{size:t(v)},{default:u(()=>[e(f,{src:`/images/avatar1.jpg`,alt:`Avatar eines Kunden`}),e(f,{src:`/images/avatar3.jpg`,alt:`Avatar eines Kunden`}),e(f,{src:`/images/avatar2.jpg`,alt:`Avatar eines Kunden`})]),_:1},8,[`size`])]),n(`div`,null,[n(`div`,null,[t(b)?d(``,!0):(s(),r(`div`,A,[n(`div`,j,c(Intl.NumberFormat(`de-DE`,{maximumFractionDigits:1,minimumFractionDigits:1}).format(t(y)?.avgRating||0)),1),n(`div`,M,[(s(),r(l,null,i(5,t=>e(m,{key:t,name:`i-carbon-star-filled`,class:`text-yellow-500`})),64))]),n(`div`,N,c(Intl.NumberFormat(`de-DE`).format(t(y)?.count||0))+` Rezensionen `,1)]))]),o[0]||=n(`div`,{class:`text-xs md:text-sm text-highlighted/80`},` Vertrauen auch Sie auf unsere Experten. `,-1)])])}}}),{__name:`Reviews`});export{E as n,P as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.