PageSourceSearch

https://www.charitywater.org/vite/assets/ToggleMissionHeight-CiSZgvjj.js

js charitywater.org collected 2026-09-24 06:54:17 UTC 759 bytes, 2 lines download raw bytes

1function r(e){let s=0;const l=e.data("min-height")||180;let n=0;const c=e.data("max-char")||675;let i=!1;const d="Read More",g="Read Less",t=e.find(".mission-statement"),o=e.find(".toggle-desktop-mission"),h=function(){o.on("click",()=>{i?(t.removeClass("expanded"),t.addClass("collapsed"),t.css("max-height",`${l}px`),o.html(d),i=!1):(t.removeClass("collapsed"),t.addClass("expanded"),t.css("max-height",s),o.html(g),i=!0)})},a=function(){s=m(),n=0,t.find("p").each(function(){s+=$(this).outerHeight(!0),n+=$(this).text().length}),n>c&&t.addClass("mission-truncated")},m=function(){return s===0?500:0};h(),a(),setTimeout(a,2e3),$(window).on("resize orientationchange",()=>{a()})}export{r as default};
2//# sourceMappingURL=ToggleMissionHeight-CiSZgvjj.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.