1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4734],{50215:function(e,l,t){var a=t(31549),n=t(44194),i=t(20285),s=t(16360),r=t(61703);l.Z=e=>{let{bgColor:l="#D9D9D9",highlightColor:t="#DC9238",max:d=5,rating:o,showLabel:c=!1,showTotalStars:u=!0,className:m="",name:h,starsVariant:g="small"}=e,{translations:p}=(0,r.Kp)(),x=(0,i.L)("rating-gradient"),v=(0,i.L)("rating"),f=(0,n.useCallback)(e=>Math.ceil(Number(o))===e&&o<e?"url(#".concat(x,")"):e>o?l:t,[l,x,t,d,o]);return(0,a.jsxs)("div",{role:"img","aria-label":"".concat(h," ").concat(p["rating is "+o+" out of "+d]),className:["flex gap-x-1 items-center",m].join(" "),children:[(0,a.jsx)("svg",{className:"absolute w-0 h-0",viewBox:"0 0 14 13",children:(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:x,children:[(0,a.jsx)("stop",{offset:"50%",stopColor:t}),(0,a.jsx)("stop",{offset:"50%",stopColor:l})]}),(0,a.jsx)("symbol",{viewBox:"0 0 14 13",id:v,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.8 1c.1-.4.3-.6.5-.7A1.4 1.4 0 0 1 8 .3c.3.1.4.3.5.6l.9 2.6c0 .1 0 .2.2.2l.2.1h2.9l.8.3.5.6a1.3 1.3 0 0 1-.5 1.5L11 7.8l-.2.2v.3l.9 2.6a1.3 1.3 0 0 1-.5 1.5 1.4 1.4 0 0 1-1.6 0l-2.3-1.6a.5.5 0 0 0-.5 0l-2.3 1.6a1.4 1.4 0 0 1-1.6 0l-.5-.7c-.1-.2-.1-.5 0-.8l.9-2.6a.4.4 0 0 0-.2-.5L.9 6.2l-.5-.6A1.3 1.3 0 0 1 1 4c.3-.2.5-.3.8-.3H4.8l.2-.3.8-2.6Z"})})]})}),c&&(0,a.jsx)(s.n,{"aria-hidden":!0,className:"font-medium whitespace-nowrap",size:"small",children:o}),u?[...Array(d).keys()].map(e=>(0,a.jsx)("svg",{className:"small"===g?"w-[14px] h-[13px]":"w-[18px] md:w-[30px] h-[18px] md:h-[30px]",children:(0,a.jsx)("use",{href:"#".concat(v),fill:f(e+1)})},e)):(0,a.jsx)("svg",{className:"small"===g?"w-[14px] h-[13px]":"w-[18px] md:w-[30px] h-[18px] md:h-[30px]",children:(0,a.jsx)("use",{href:"#".concat(v),fill:t})})]})}},30132:function(e,l,t){t.d(l,{Z:function(){return p}});var a=t(31549),n=t(44194),i=t(6699),s=t.n(i),r=t(95803),d=t(16360),o=t(63922),c=t(15545),u=t.n(c),m=t(61703),h=e=>{let{id:l,date:t,content:a,featuredMedia:i,rating:s,reviewAuthor:r,globalRating:d,reviewsCount:o}=e,{logo:c,reviewsSettings:h,siteTitle:g}=(0,m.Kp)(),p={"@context":"https://schema.org/","@type":"Review",datePublished:t,itemReviewed:{"@type":"Organization",image:null==c?void 0:c.src,name:g,aggregateRating:{"@type":"AggregateRating",ratingValue:d||(null==h?void 0:h.rating),bestRating:null==h?void 0:h.bestRating,worstRating:null==h?void 0:h.worstRating,reviewCount:o||(null==h?void 0:h.count)}},reviewRating:{"@type":"Rating",ratingValue:s},author:{"@type":"Person",image:null==i?void 0:i.src,name:null==r?void 0:r.name},reviewBody:a};return n.createElement(u(),null,n.createElement("script",{type:"application/ld+json",key:"leafwell-review-json-ld-".concat(l),dangerouslySetInnerHTML:{__html:JSON.stringify(p)}}))},g=t(50215),p=e=>{let{id:l,date:t,className:i="",variant:c="minimal",quoted:u=!1,content:p,featuredMedia:x,acf:{rating:v,reviewAuthor:f}}=e,w="minimal"===c,{translations:j}=(0,m.Kp)(),[{open:b,toggled:N},y]=(0,n.useState)({open:!1,toggled:!1}),k=p.length>315;return(0,a.jsxs)("article",{className:["grid ",w?"embla-minimal-variant gap-y-6 md:gap-y-0 grid-cols-2-auto gap-x-6 opacity-40":"items-start gap-y-3 content-start grid-cols-2-auto gap-x-3",i].join(" "),children:[(0,a.jsx)(h,{id:l,date:t,content:p,featuredMedia:x,rating:v,reviewAuthor:f}),(0,a.jsx)(r.q,{className:["my-0 mx-auto lg:m-0",w?"order-last w-11 h-11 md:self-end":"self-start"].join(" "),image:x?x.src:null,size:w?"xlarge":"medium",label:f.name,width:"80",height:"80",Component:s()}),(0,a.jsxs)("footer",{className:w?"lg:col-start-2 order-last md:self-end":"col-start-2 self-center",children:[(0,a.jsx)(d.n,{className:"font-medium",dangerouslySetInnerHTML:{__html:f.name}}),(null==f?void 0:f.location)&&(0,a.jsx)(d.n,{size:"small",dangerouslySetInnerHTML:{__html:f.location}}),!w&&(0,a.jsx)("div",{className:"lg:flex gap-x-3 col-span-full items-center content-center",children:(0,a.jsx)(g.Z,{name:f.name,rating:v})})]}),(0,a.jsxs)("div",{className:"my-4 col-span-full",children:[(0,a.jsx)(d.n,{dangerouslySetInnerHTML:{__html:u?"â".concat(p,"â"):p},tagName:"div",className:[w?"text-3xl sm:text-4xl":"",b||N?"":"line-clamp-5"].join(" "),variant:"default"}),k&&(0,a.jsx)(o.r,{className:"!underline text-sm lowercase mb-2",onClick:()=>y({open:!b,toggled:!N}),"aria-hidden":"true",children:b?j["Read less"]:j["Read more"]})]})]})}},14734:function(e,l,t){t.r(l),t.d(l,{default:function(){return g}});var a=t(31549),n=t(44194),i=t(548),s=t(51515),r=t(6699),d=t.n(r),o=t(30132),c=t(40821),u=e=>{let{center:l=!0,title:t,intro:r,items:u,hasTrustpilot:m=!1,quoted:h=!1,sectionId:g,variant:p}=e;return u?(0,a.jsxs)("div",{id:g,className:"md:w-full overflow-hidden mx-auto pt-10 pb-10 md:pt-12 md:pb-24 ",children:[(0,a.jsx)(i.E,{size:"large",children:(0,a.jsxs)("div",{className:"".concat(l?"text-center":""),children:[(null==t?void 0:t.length)>0&&(0,a.jsx)(c.Z,{className:"!mb-2 font-semibold",level:"2",title:t}),(null==r?void 0:r.length)>0?(0,a.jsx)("p",{children:r}):null]})}),(0,a.jsx)(i.E,{className:"pt-10 px-5",children:(0,a.jsx)(s.l,{slideClassName:"max-w-full md:max-w-xl mr-8",autoPlay:!0,children:u.map((e,l)=>(0,n.createElement)(o.Z,{...e,key:l,className:"lg:text-left",quoted:h,variant:p}))})}),m&&(0,a.jsx)("div",{className:"trustpilot-widget mt-8","data-locale":"en-US","data-template-id":"5419b6a8b0d04a076446a9ad","data-businessunit-id":"63caa6848fcd1c82bbeac42d","data-style-height":"24px","data-style-width":"100%","data-theme":"light","data-min-review-count":"50","data-style-alignment":"center",children:(0,a.jsx)("a",{id:"profile-link",style:{textAlign:"center"},target:"_blank",href:"https://www.trustpilot.com/review/leafwell.com?utm_medium=trustbox&utm_source=MicroReviewCount",children:(0,a.jsxs)("div",{id:"tp-widget-rating",className:"tp-widget-rating",children:[(0,a.jsx)("span",{id:"translations-main",children:"See our reviews on"}),(0,a.jsx)(d(),{style:{display:"inline-block",width:"94px",marginLeft:"0.25rem",verticalAlign:"sub"},src:"/trustpilot.svg",alt:"trustpilot",width:94,height:23})]})})})]}):null},m=t(94924),h=t(9751),g=e=>{let{title:l,intro:t,trustpilot:n,showTrustSignals:i,variant:s,quoted:r,pageType:d,sectionId:o,reviews:c,version:g}=e;return(null==c?void 0:c.length)!==0||n?(0,a.jsxs)(a.Fragment,{children:[n?(0,a.jsx)(m.Z,{title:l,intro:t,sectionId:o,version:g}):(0,a.jsx)(u,{center:!1,items:c,title:l,intro:t,hasTrustpilot:"home"===d,variant:s,quoted:r,sectionId:o}),i?(0,a.jsx)(h.Z,{}):null]}):null}},94924:function(e,l,t){var a=t(31549);t(44194);var n=t(6699),i=t.n(n),s=t(40821),r=t(548);let d=e=>{let{title:l,intro:t,sectionId:n}=e;return(0,a.jsxs)(r.E,{id:n,className:"md:w-full overflow-hidden mx-auto py-10 md:py-12",size:"large",children:[(0,a.jsxs)("div",{className:"text-center",children:[(null==l?void 0:l.length)>0&&(0,a.jsx)(s.Z,{className:"!mb-2 font-semibold",level:"2",tagName:"h2",title:l}),(null==t?void 0:t.length)>0?(0,a.jsx)("p",{children:t}):null]}),(0,a.jsx)("div",{className:"trustpilot-widget min-h-[140px]","data-locale":"en-US","data-template-id":"53aa8912dec7e10d38f59f36","data-businessunit-id":"63caa6848fcd1c82bbeac42d","data-style-height":"140px","data-style-width":"100%","data-theme":"light","data-stars":"4,5","data-review-languages":"en",children:(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/leafwell.com",target:"_blank",rel:"noopener",children:"Trustpilot"})})]})},o=e=>{let{title:l,intro:t,sectionId:n}=e;return(0,a.jsxs)("section",{id:n,className:"grid lg:grid-cols-2 my-12 md:my-16",children:[(0,a.jsx)(i(),{src:"/trustpilot-reviews-img.png",alt:"Trustpilot Carousel",width:960,height:640}),(0,a.jsxs)("div",{className:"flex flex-col justify-start gap-6 lg:gap-10 p-10 bg-[#F2F5F8]",children:[(0,a.jsxs)("div",{className:"text-center",children:[(null==l?void 0:l.length)>0&&(0,a.jsx)(s.Z,{className:"font-semibold",level:"2",tagName:"h2",title:l}),(null==t?void 0:t.length)>0?(0,a.jsx)("p",{children:t}):null]}),(0,a.jsx)("div",{className:"trustpilot-widget min-h-[140px]","data-locale":"en-US","data-template-id":"53aa8912dec7e10d38f59f36","data-businessunit-id":"63caa6848fcd1c82bbeac42d","data-style-height":"140px","data-style-width":"100%","data-theme":"light","data-stars":"4,5","data-review-languages":"en",children:(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/leafwell.com",target:"_blank",rel:"noopener",children:"Trustpilot"})})]})]})};l.Z=e=>{let{title:l,intro:t,sectionId:n,version:i}=e;return"old"===i?(0,a.jsx)(d,{title:l,intro:t,sectionId:n}):(0,a.jsx)(o,{title:l,intro:t,sectionId:n})}},95803:function(e,l,t){t.d(l,{q:function(){return n}});var a=t(44194);let n=({border:e=!1,className:l="",image:t,label:n="",size:i="medium",width:s,height:r,Component:d="img",...o})=>a.createElement("figure",{className:["overflow-hidden rounded-full bg-green",e?"border-2 border-green":"",function(e){switch(e){case"small":return"w-6 h-6";case"large":return"w-12 h-12";case"xlarge":return"w-20 h-20";default:return"w-8 h-8"}}(i),l].join(" "),...o},a.createElement(d,{src:t||"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath fill='%2336dc90' d='M0 0h512v512H0z'/%3e%3cpath fill='white' fill-rule='nonzero' d='M228.9 404v-52.6H81v-52.9h109.8L91.5 201l38.5-37.5 98.9 97.3V109H283v152.1l99-97.2 38.4 37.4-99 97.2H431v53H283.1V404z'/%3e%3c/g%3e%3c/svg%3e",alt:n,className:"w-full h-full object-cover",loading:"lazy",width:s||"100%",height:r||"100%"}))},51515:function(e,l,t){t.d(l,{l:function(){return s}});var a=t(44194),n=t(71868),i=t(32984);let s=({children:e,className:l,slideClassName:t,showPagination:s=!0,loop:r=!0,align:d="start",autoPlay:o=!1,activeSlide:c,onSlideChange:u=()=>null})=>{let[m,h]=(0,n.Z)({loop:r,align:d},o?[(0,i.Z)()]:[]),[g,p]=(0,a.useState)([]),[x,v]=(0,a.useState)(0),f=(0,a.useCallback)(e=>{p(e.scrollSnapList())},[]),w=(0,a.useCallback)(e=>{let l=e.selectedScrollSnap();v(l),u(l)},[]),j=(0,a.useCallback)(e=>h&&h.scrollTo(e),[h]);return(0,a.useEffect)(()=>{h&&(f(h),w(h),h.on("reInit",f),h.on("reInit",w),h.on("select",w))},[h,f,w]),(0,a.useEffect)(()=>{c&&j(c)},[c,j]),a.createElement("div",{className:[l,"embla"].join(" "),ref:m},a.createElement("div",{className:"embla-container"},a.Children.map(e,(e,l)=>a.createElement("div",{key:l,className:[t,x===l?"embla-slide-active":"","embla-slide"].join(" ")},e))),s?a.createElement("div",{className:"embla-pagination"},g.map((e,l)=>a.createElement("span",{key:l,className:["embla-pagination-bullet",x===l?"embla-pagination-bullet-active":""].join(" "),tabIndex:0,role:"button","aria-label":`Go to slide ${l}`,onClick:()=>j(l)}))):null)}},63922:function(e,l,t){t.d(l,{r:function(){return i}});var a=t(44194),n=t(67757);let i=a.forwardRef(({className:e="",children:l,loading:t,theme:i="dark",variant:s="default",...r},d)=>{let o=(0,a.useMemo)(()=>{let e="dark"===i,l={dark:"hover:text-lilac-500",light:"hover:text-white",underline:"hover:underline",bgHover:"hover:bg-lilac-50"},t={underline:"underline",noUnderline:"no-underline",bgHighlight:"bg-lilac-50"};switch(s){case"underline":return e?`${t.underline} ${l.dark}`:`${t.underline} ${l.light}`;case"underlineHighlight":return e?`${t.underline} ${l.dark} underline-green-400`:`${t.underline} ${l.light} underline-white`;case"underlineHover":return`${t.noUnderline} ${l.underline}`;case"bgHover":return`${t.noUnderline} ${l.bgHover}`;case"bgHighlight":return`${t.noUnderline} ${t.bgHighlight}`;default:return e?`${t.noUnderline} ${l.dark}`:`${t.noUnderline} ${l.light}`}},[i,s]);return a.createElement("a",{className:["relative","underline-offset-small","cursor-pointer transition-all duration-200","focus:outline-none outline-none",o,e].join(" "),ref:d,...r?.href?{}:{role:"button"},...r},l,a.createElement(n.a,{visible:t,size:"small",className:"absolute left-full ml-3"}))})}}]); 2//# sourceMappingURL=4734.e2cbcc75e0cb4137.js.map
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.