1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1767],{76430:(e,t,c)=>{c.r(t),c.d(t,{default:()=>n});var s=c(95155),l=c(12115),r=c(63594),a=c(92740),i=c(17731);let n=e=>{let{impactCounterString:t,translations:c}=e,[n,d]=(0,l.useState)(!1),{config:o}=(0,a.f)({properties:["water","co2","land"]});return(0,l.useEffect)(()=>{o&&o.water&&o.co2&&o.land&&!n&&d(!0)},[o,n]),(0,l.useEffect)(()=>{let e=document.querySelectorAll(".impact-counter-widget .items .item button");e.length>0&&e.forEach(e=>{e.addEventListener("click",e=>{let t=e.target.closest(".item"),c=t.querySelector(".front"),s=t.querySelector(".back");c.classList.contains("hide")?(c.classList.remove("hide"),s.classList.add("hide")):(s.classList.remove("hide"),c.classList.add("hide"))})})},[n]),(0,l.useEffect)(()=>{let e=document.querySelectorAll("#impact_counter_widget");e&&e.length>0&&e.forEach(e=>{let t=document.querySelector(".impact-counter-widget");t&&(t.innerHTML="",t.appendChild(e),e.style.display="block")})}),(0,l.useEffect)(i.H,[o]),(0,s.jsx)(r.A,{...o,translations:c,isPage:!0,index:"impactcounter"})}}}]);
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.