1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1710],{45105:(e,t,r)=>{e.exports=r(36758)},62905:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});let l=(0,r(15714).A)("trustpilot")},64673:e=>{e.exports={Wrapper:"trustpilotReviews_Wrapper__s881_",Title:"trustpilotReviews_Title__j2Vzv",ProfileLink:"trustpilotReviews_ProfileLink__fboSX"}},91710:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var l=r(37876),s=r(14232),i=r(89099),n=r(45105),a=r.n(n),u=r(88771),o=r(6936),c=r(89590),p=r(31262),d=r(62905),v=r(64673),f=r.n(v);let w=()=>{let{data:e}=(0,d.E)(e=>e.reviews),{asPath:t}=(0,i.useRouter)(),{t:r}=(0,u.B)("base"),n=(0,s.useRef)(null),{isEnabled:v,trustpilotElement:w,title:h}=e,[m,_]=(0,s.useState)(""),[b,x]=(0,s.useState)();return((0,s.useEffect)(()=>{_(w),x(w?(e=>{var t,r;return null!=(r=null==(t=new DOMParser().parseFromString(e,"text/html").querySelector('a[href*="trustpilot.com/review/"]'))?void 0:t.getAttribute("href"))?r:void 0})(w):void 0)},[w]),(0,s.useEffect)(()=>{let e=n.current;if(!e)return;let t=()=>e.querySelectorAll("iframe").forEach(e=>e.setAttribute("tabindex","-1"));t();let r=new MutationObserver(t);return r.observe(e,{childList:!0,subtree:!0}),()=>r.disconnect()},[v,w]),(0,s.useEffect)(()=>{let e=setInterval(()=>{var t,r;let l=null==(t=document.getElementsByClassName("trustpilot-widget"))?void 0:t[0];l&&(null==window||null==(r=window.Trustpilot)||r.loadFromElement(l),clearInterval(e))},1e3);return()=>{clearInterval(e)}},[t]),v&&(null==w?void 0:w.trim())&&e)?(0,l.jsxs)("div",{id:"trustpilotReviews",className:f().Wrapper,ref:n,children:[(0,l.jsx)(a(),{type:"text/javascript",src:"https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",async:!0}),(0,l.jsx)(o.A,{variant:"headline2",className:f().Title,children:h}),(0,l.jsx)(c.A,{tag:null,children:m}),b&&(0,l.jsx)(o.A,{variant:"text1",className:f().ProfileLink,children:(0,l.jsx)(p.A,{href:b,target:"_blank",rel:"noopener noreferrer",children:r("trustpilot.readReviews")})})]}):null}}}]);
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.