1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4383],{1824:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/reviews",function(){return i(26417)}])},26417:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>u,default:()=>x});var n=i(37876),r=i(80594);i(14232);var o=i(15448),a=i(75662),s=i(47832),c=i(25911),l=i(77448),d=i.n(l);let m=()=>((0,c.M4)(),(0,n.jsxs)("div",{className:d().container,children:[(0,n.jsx)(o.Wrapper,{children:(0,n.jsx)("div",{className:"top-padding center-text",children:(0,n.jsx)("h1",{children:"Customer Reviews"})})}),(0,n.jsx)(s.wn,{size:"small",width:"tight",children:(0,n.jsx)("div",{id:"yotpo-testimonials-custom-tab"})}),(0,n.jsx)(a.default,{})]})),p=e=>{let{yotpoReviews:t}=e;return(0,n.jsxs)("div",{style:{display:"none"},"aria-hidden":"true",children:[(0,n.jsx)("h1",{children:"Customer Reviews"}),(0,n.jsxs)("h3",{children:["Total reviews: ",t.bottomline.total_review]}),(0,n.jsxs)("div",{children:["Average Review Score: ",t.bottomline.average_score," out of 5"]}),(0,n.jsx)("ul",{children:t.reviews.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)("h4",{children:e.title}),(0,n.jsx)("p",{children:e.content}),(0,n.jsxs)("p",{children:["Rating: ",e.score," out of 5"]}),(0,n.jsxs)("p",{children:["By: ",e.user.display_name]}),(0,n.jsxs)("p",{children:["Date: ",new Date(e.created_at).toLocaleDateString()]})]},e.id))})]})};function h(e){let{yotpoReviews:t}=e,i={"538387841090":"rachio-3","8010238787778":"smart-hose-timer-bundle","7963715338434":"rachio-cellular-connect",0xd9762ec5:"weatherproof-enclosure","7551984599234":"smart-hose-timer","8052263256258":"smart-lighting-controller"},r=e=>"https://rachio.com/products/".concat(i[e]),o={"@context":"https://schema.org","@graph":[...t.products.filter(e=>i[e.domain_key]).map(e=>({"@type":"Product","@id":r(e.domain_key),name:e.name,aggregateRating:{"@type":"AggregateRating",ratingValue:Number(t.bottomline.average_score).toFixed(1),reviewCount:String(t.bottomline.total_review)}})),...t.reviews.map(e=>{let n=t.products.find(t=>t.id===e.product_id&&i[t.domain_key]);return n?{"@type":"Review",author:{"@type":"Person",name:e.user.display_name},datePublished:new Date(e.created_at).toISOString(),reviewBody:e.content,name:e.title||"Customer Review",reviewRating:{"@type":"Rating",ratingValue:String(e.score),bestRating:"5",worstRating:"1"},itemReviewed:{"@type":"Product","@id":r(n.domain_key)},publisher:{"@type":"Organization",name:"Rachio"}}:null}).filter(Boolean)]};return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o,null,2)}})}var u=!0;function x(e){let{yotpoReviews:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.O,{title:"Customer Reviews",description:"Rachio customer reviews",pathname:"/reviews",robots:"index, follow",children:(0,n.jsx)(h,{yotpoReviews:t})}),(0,n.jsx)(p,{yotpoReviews:t}),(0,n.jsx)(m,{})]})}},77448:e=>{e.exports={container:"PageReviewsTemplate_container__bYTxG","yotpo-testimonials-custom-tab":"PageReviewsTemplate_yotpo-testimonials-custom-tab__NVsoa"}},80594:(e,t,i)=>{"use strict";i.d(t,{O:()=>a});var n=i(37876),r=i(77328),o=i.n(r);function a(e){let{title:t,description:i,image:r,pathname:a,robots:s="index, follow",children:c}=e,l=a?"".concat("https://rachio.com").concat(a.startsWith("/")?a:"/"+a):void 0;return(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:t?"".concat(t.trim()," | Rachio"):"Rachio | Save water and money"}),(0,n.jsx)("meta",{name:"description",content:i}),s&&(0,n.jsx)("meta",{name:"robots",content:s}),l&&(0,n.jsx)("link",{rel:"canonical",href:l}),(0,n.jsx)("meta",{property:"og:title",content:t}),i&&(0,n.jsx)("meta",{property:"og:description",content:i}),r&&(0,n.jsx)("meta",{property:"og:image",content:r}),l&&(0,n.jsx)("meta",{property:"og:url",content:l}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:title",content:t}),(0,n.jsx)("meta",{name:"twitter:description",content:i}),r&&(0,n.jsx)("meta",{name:"twitter:image",content:r}),c," "]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=1824)),_N_E=e.O()}]);
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.