PageSourceSearch

https://thehumaneleague.org/_next/static/chunks/8988.5050b87c3be43f24.js

js thehumaneleague.org collected 2026-09-25 14:02:03 UTC 8,312 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8988],{8988:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return Y}});var n=r(57437),i=r(2265),s=r(40718),a=r.n(s),o=r(81315),l=r(80490),c=r(15144),u=r(23786),d=r(82745),p=r(46882);let h=e=>"string"==typeof e||e instanceof String?e:Array.from(e.props&&e.props.children||e).map(e=>h(e)).join(""),g=e=>{let{level:t,children:r=null}=e,n=h(r);return i.createElement("h".concat(t),{id:(n||"").toLowerCase().replace(/ /g,"_").replace(/\W/g,"")},r)};g.propTypes={level:a().number.isRequired,children:a().node};var m=r(49781);let f=e=>i.Children.map(e,e=>"string"==typeof e&&e.includes("@")?e.split("@").flatMap((e,t)=>0===t?[e]:[(0,n.jsx)("span",{children:"@"},t),e]):e);class x extends i.PureComponent{componentDidMount(){this.setState({hrefReady:!0})}render(){let{href:e,children:t,...r}=this.props;return(0,n.jsx)("a",{href:this.state.hrefReady?e:void 0,...r,children:f(t)})}constructor(...e){super(...e),this.state={hrefReady:!1}}}x.propTypes={href:a().string,children:a().node};let _=i.lazy(()=>r.e(2902).then(r.bind(r,82902))),w=i.forwardRef((e,t)=>(0,n.jsx)(i.Suspense,{fallback:null,children:(0,n.jsx)(_,{ref:t,...e})}));var D=r(71728),v=r.n(D);let j=e=>{let{children:t}=e;return(0,n.jsxs)("blockquote",{className:v().quote,children:[(0,n.jsx)("div",{className:v().quotationMark,"aria-hidden":"true",children:"“"}),t]})};j.propTypes={children:a().node};var y=r(58199),b=r(64227),N=r(31985),M=r(54707),C=r.n(M),T=r(61994),q=()=>{let e=i.useRef(!0);return e.current?(e.current=!1,!0):e.current},k=e=>{let t=i.useRef(e),r=i.useRef(e);return q()||r.current===e||(t.current=r.current,r.current=e),t.current},R=r(2021),S=r.n(R);let Z=e=>{let{digit:t}=e,r=k(t),[s,a]=i.useState(!1);return i.useEffect(()=>{r!==t&&a(!0)},[t]),(0,n.jsxs)("div",{className:(0,T.Z)(S().counterDigitWrapper,s&&S().flip),children:[(0,n.jsx)("div",{className:(0,T.Z)(S().counterDigitContainer,S().upper),children:(0,n.jsx)("div",{className:S().counterDigitValue,children:t})}),(0,n.jsx)("div",{className:(0,T.Z)(S().counterDigitContainer,S().upper,S().upperFront),children:(0,n.jsx)("div",{className:S().counterDigitValue,role:"presentation","aria-hidden":"true",children:r})},"upper-prev-".concat(r)),(0,n.jsx)("div",{className:(0,T.Z)(S().counterDigitContainer,S().lower,S().lowerBehind),children:(0,n.jsx)("div",{className:S().counterDigitValue,role:"presentation","aria-hidden":"true",children:r})},"lower-prev-".concat(r)),(0,n.jsx)("div",{className:(0,T.Z)(S().counterDigitContainer,S().lower,S().lowerFront),children:(0,n.jsx)("div",{className:S().counterDigitValue,role:"presentation","aria-hidden":"true",children:t})},"lower-".concat(t))]})};Z.propTypes={digit:a().string.isRequired};var O=r(49578),L=r.n(O);let V=i.memo(e=>{let{label:t,digitOne:r,digitTwo:s}=e,a=i.useMemo(()=>Number.parseInt("".concat(r).concat(s),10),[r,s]),o=i.useMemo(()=>1===a&&t.length>1&&t.endsWith("s")?t.substring(0,t.length-1):t,[a,t]);return(0,n.jsxs)("div",{className:L().counter,children:[(0,n.jsx)("span",{className:"visually-hidden",children:"".concat(a," ").concat(o)}),(0,n.jsx)("div",{className:L().counterLabel,role:"presentation","aria-hidden":"true",children:t}),(0,n.jsxs)("div",{className:L().counterDigitsContainer,role:"presentation","aria-hidden":"true",children:[(0,n.jsx)(Z,{digit:r}),(0,n.jsx)(Z,{digit:s})]})]})});V.propTypes={label:a().string.isRequired,digitOne:a().string.isRequired,digitTwo:a().string.isRequired};var B=(0,r(15338).vU)({days:{id:"countdownDate.days",defaultMessage:"days"},hours:{id:"countdownDate.hours",defaultMessage:"hours"},minutes:{id:"countdownDate.minutes",defaultMessage:"minutes"},seconds:{id:"countdownDate.seconds",defaultMessage:"seconds"}});let P=e=>e<10?["0","".concat(e)]:e>99?["9","9"]:"".concat(e).split(""),W=e=>{let{date:t,intl:r}=e,[s,a]=i.useState(()=>new Date),o=i.useMemo(()=>Math.floor(Math.max(t-s,0)/1e3),[s,t]),[l,c]=i.useMemo(()=>P(o%60),[o]),[u,d]=i.useMemo(()=>P(Math.floor(o/60)%60),[o]),[p,h]=i.useMemo(()=>P(Math.floor(o/3600)%24),[o]),[g,m]=i.useMemo(()=>P(Math.floor(o/86400)),[o]);return i.useEffect(()=>{let e=setInterval(()=>{a(e=>{let t=new Date;return e.getSeconds()!==t.getSeconds()?t:e})},250);return()=>clearInterval(e)},[]),(0,n.jsxs)("div",{className:C().countdownDate,role:"timer","aria-atomic":"true",children:[(0,n.jsx)(V,{label:r.formatMessage(B.days),digitOne:g,digitTwo:m}),(0,n.jsx)(V,{label:r.formatMessage(B.hours),digitOne:p,digitTwo:h}),(0,n.jsx)(V,{label:r.formatMessage(B.minutes),digitOne:u,digitTwo:d}),(0,n.jsx)(V,{label:r.formatMessage(B.seconds),digitOne:l,digitTwo:c})]})};W.propTypes={date:a().instanceOf(Date).isRequired,intl:a().object.isRequired};let F=(0,N.Z)(b.ZP)(W);var E=r(78428);let I=e=>{if("textDirective"===e.type||"leafDirective"===e.type||"containerDirective"===e.type){e.data=e.data||{};let{data:t}=e;
1t.hName=e.name,t.hProperties={...e.attributes}}};function U(){return e=>{(0,p.Vn)(e,I)}}class z extends i.PureComponent{render(){let{contentType:e,entryId:t,renderers:r}=this.props,i=this.props.children||this.props.text,s={blockquote:e=>{let{children:t}=e;return(0,n.jsx)(j,{children:t})},link:e=>{let{children:t,href:r,...i}=e;return(0,n.jsx)(m.r,{...i,url:r,children:t})},a:e=>{let{node:t,href:r,children:i,...s}=e;return r&&r.startsWith("mailto:")?(0,n.jsx)(x,{href:r,...s,children:i}):(0,n.jsx)("a",{href:r,...s,children:i})},h1:e=>(0,n.jsx)(g,{...e}),math:e=>(0,n.jsx)(w,{mathText:e.value,displayMode:!0}),inlinemath:e=>(0,n.jsx)(w,{mathText:e.value}),table:e=>{let{children:t}=e;return(0,n.jsx)("div",{className:"table-wrap",children:(0,n.jsx)("table",{children:t})})},img:e=>{let{src:t}=e;return(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{media:"(max-width: 1023px)",type:"image/webp",srcSet:"".concat(t,"?fm=webp&w=455 1x, ").concat(t,"?fm=webp&w=683 1.5x, ").concat(t,"?fm=webp&w=910 2x")}),(0,n.jsx)("img",{...e,alt:e.alt||"",srcSet:"".concat(t,"?fm=webp&w=640 1x, ").concat(t,"?fm=webp&w=960 1.5x, ").concat(t,"?fm=webp&w=1280 2x"),loading:"lazy",src:"".concat(t,"?fm=webp&w=1280")})]})},countdowndate:e=>(0,n.jsx)(F,{date:new Date(e.children)}),p:e=>e.node.children.filter(e=>"countdownDate"===e.tagName).length?e.children:(0,n.jsx)("p",{children:e.children}),...r};return(0,n.jsx)("div",{className:this.props.className,...(0,y.yI)("Text",e,t),children:(0,n.jsx)(u.UG,{components:s,remarkPlugins:[o.Z,d.Z,U,l.Z],rehypePlugins:[c.Z,E.Y],children:i})})}}z.propTypes={contentType:a().string,entryId:a().string,children:a().any,text:a().string,renderers:a().objectOf(a().func),className:a().string,src:a().string};var Y=z},78428:function(e,t,r){"use strict";r.d(t,{Y:function(){return o}});var n=r(76134);let i=e=>e&&"text"===e.type&&(!e.value||/^\s*$/.test(e.value)),s=e=>{if(!e||"element"!==e.type||"a"!==e.tagName)return!1;let t=e.children||[];return 0===t.length||t.every(i)},a=e=>{var t;return null==e?void 0:null===(t=e.properties)||void 0===t?void 0:t.href};function o(){return e=>((0,n.S4)(e,"element",(e,t)=>{if(!e.children||e.children.length<2)return;let r=[];for(let t=0;t<e.children.length;t++){let n=e.children[t],i=e.children[t+1];if((null==n?void 0:n.type)==="element"&&"a"===n.tagName&&s(n)&&(null==i?void 0:i.type)==="element"&&"a"===i.tagName&&a(n)&&a(n)===a(i)){r.push({...n,children:i.children}),t+=1;continue}r.push(n)}e.children=r}),e)}},54707:function(e){e.exports={countdownDate:"countdownDate_countdownDate__Dd3fu"}},49578:function(e){e.exports={counter:"counter_counter__hlUJm",counterLabel:"counter_counterLabel__BB97r",counterDigitsContainer:"counter_counterDigitsContainer__XCM6d"}},2021:function(e){e.exports={counterDigitValue:"counterDigit_counterDigitValue__g2DCz",counterDigitContainer:"counterDigit_counterDigitContainer__9iKR2",upper:"counterDigit_upper__b_v_J",upperFront:"counterDigit_upperFront__SdCX0",lower:"counterDigit_lower__rqaB_",lowerFront:"counterDigit_lowerFront__S6lpY",counterDigitWrapper:"counterDigit_counterDigitWrapper__AbzBO",flip:"counterDigit_flip__kmfc4",flipUpperCounter:"counterDigit_flipUpperCounter__PCx4b",unflipLowerCounter:"counterDigit_unflipLowerCounter__YbvsN",lowerBehind:"counterDigit_lowerBehind__V72Op",darkenLowerCounter:"counterDigit_darkenLowerCounter__n2Tly"}},71728:function(e){e.exports={quote:"text_quote__chHQW",quotationMark:"text_quotationMark__ixa_D"}}}]);

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.