PageSourceSearch

https://thehumaneleague.org/_next/static/chunks/1797.5f68a7bd40662fff.js

js thehumaneleague.org collected 2026-10-03 19:04:11 UTC 4,134 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1797],{6293:e=>{e.exports={headline:"otherWaysToDonate_headline___7MyW",subheader:"otherWaysToDonate_subheader__NovB6",donateOptions:"otherWaysToDonate_donateOptions__c4bLn",section:"otherWaysToDonate_section__Q4M7e"}},41797:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var i=n(95155),s=n(12115),l=n(14051),a=n.n(l),o=n(6293),r=n.n(o),d=n(11745),c=n(10008),h=n(29722),m=n(71531),p=n(35142),_=n(65779),g=n.n(_),x=n(32704),u=n(74589),k=n(90901),R=n(80640),f=n(42095);let y={left:g().alignLeft,center:g().alignCenter,right:g().alignRight,justify:g().alignJustify};class O extends s.PureComponent{static{this.propTypes={className:a().string,title:a().string.isRequired,text:a().string,imageSrc:a().string.isRequired,imageLink:a().string,linkLabel:a().string,linkUrl:a().oneOfType([a().string,a().object]),address:a().string,isYellow:a().bool,isThreeElements:a().bool.isRequired,smallPadding:a().bool,textAlignment:a().string}}static{this.defaultProps={isYellow:!1,textAlignment:"center"}}render(){let{title:e,text:t,imageSrc:n,linkLabel:s,linkUrl:l,imageLink:a,isThreeElements:o,isYellow:r,className:c,smallPadding:m}=this.props;return(0,i.jsxs)(d.mc,{className:(0,h.A)(g().container,c),"data-three-elements":o?"":void 0,style:m?{"--small-margin-bottom":"60px"}:void 0,children:[(0,i.jsx)(R.e,{condition:a,wrapper:e=>(0,i.jsx)(p.N,{className:g().imageLink,url:a,children:e}),children:(0,i.jsx)("div",{className:g().image,style:{"--image":`url(${(0,x.pA)(n,200*(0,u.mZ)())})`}})}),e&&(0,i.jsx)(d.H3,{className:g().headline,children:e}),this.renderText(!!t),(0,i.jsx)("div",{className:g().linkContainer,children:(0,i.jsx)(f.h,{children:(0,i.jsx)(p.N,{className:(0,h.A)(g().link,r&&g().yellow),url:l,label:s})})})]})}constructor(...e){super(...e),this.renderText=(0,k.Tv)(()=>(0,i.jsx)(m.E,{className:(0,h.A)(g().text,y[this.props.textAlignment.toLowerCase()]),text:this.props.text}))}}var j=n(61408),T=n(73805);class b extends s.PureComponent{static{this.propTypes={contentType:a().string.isRequired,entryId:a().string.isRequired,title:a().string,subtitle:a().string,donateOptions:a().object.isRequired,textAlignment:a().string}}componentDidMount(){this.getElementsInRow()}getElementsInRow(){let e=this.props.donateOptions.size%3,t=this.props.donateOptions.size%4;(0===t||0!==e&&t>e)&&this.setState({elementsInRow:4,sectionWidth:1300})}render(){let{contentType:e,entryId:t,title:n,subtitle:s,donateOptions:l,textAlignment:a}=this.props,{sectionWidth:o}=this.state;return(0,i.jsxs)(c.w,{componentName:"OtherWaysToDonate",contentType:e,entryId:t,maxWidth:o,className:r().section,children:[(0,i.jsxs)(T.M,{markerRef:this.contentRef,children:[n&&(0,i.jsx)(d.H2,{className:r().headline,"data-three-elements":this.checkIsTreeElementsInRow()?"":void 0,children:n}),s&&(0,i.jsx)(d.H3,{className:r().subheader,children:s})]}),(0,i.jsx)("div",{className:r().donateOptions,ref:this.contentRef,"data-small-padding":s?"":void 0,children:l.map((e,t)=>{let n=(0,j.o6)({title:(0,j.VI)("title"),text:(0,j.VI)("text"),imageSrc:(0,j.VI)(["image","fields","file","url"]),imageLink:(0,j.VI)(["url","fields","url"]),linkLabel:(0,j.VI)("linkLabel"),linkUrl:(0,j.VI)("url"),isYellow:(0,j.VI)("linkUnderlineColor")})(e);return(0,i.jsx)(T.M,{delay:200*t,markerRef:this.contentRef,children:(0,i.jsx)(O,{...n,isThreeElements:this.checkIsTreeElementsInRow(),smallPadding:!!s,textAlignment:a})},n.title)})})]})}constructor(...e){super(...e),this.state={elementsInRow:3,sectionWidth:1189},this.checkIsTreeElementsInRow=()=>3===this.state.elementsInRow,this.contentRef=s.createRef()}}let w=b},65779:e=>{e.exports={container:"donateOption_container__0d1UG",image:"donateOption_image__NHkOu",imageLink:"donateOption_imageLink__aP4yj",headline:"donateOption_headline__1_wrl",text:"donateOption_text__bXx8Y",alignLeft:"donateOption_alignLeft__NskvA",alignRight:"donateOption_alignRight__xYLtg",alignCenter:"donateOption_alignCenter__OGT9E",alignJustify:"donateOption_alignJustify__Y5TbE",linkContainer:"donateOption_linkContainer__WRijV",link:"donateOption_link__bp_RR",yellow:"donateOption_yellow__qBTfk"}}}]);

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.