PageSourceSearch

https://www.bgr.org/wp-content/themes/bgr/js/main.min.js?ver=2018.12

js bgr.org collected 2026-09-24 20:04:28 UTC 8,297 bytes, 1 lines download raw bytes

1var jQ=jQuery.noConflict();jQ(document).ready(function(){jQ(".close-search").click(function(e){e.preventDefault(),jQ(".search-section").slideUp()}),jQ("#sc_our_team.grid.sc-col3 .sc_team_member").each(function(){var e=jQ(this).find(".sc_team_member_jobtitle").text();-1!==e.indexOf("/")&&(e=e.split("/"),jQ(this).find(".sc_team_member_jobtitle").html(e[0]+"<span>"+e[1]+"</span>"))}),jQ(".inline-member-data .sc_our_team_lightbox").each(function(){var e=jQ(this).find(".title").text();-1!==e.indexOf("/")&&(e=e.split("/"),jQ(this).find(".title").html(e[0]+"<small>"+e[1]+"</small>"))}),jQ(".font-resizer p").click(function(){jQ(".font-resizer").toggleClass("active")}),jQ("#small").click(function(e){e.preventDefault(),curSize=parseInt(jQ("html,body").css("font-size"))-2,curSize>=12&&jQ("html,body").css("font-size",curSize)}),jQ("#large").click(function(e){e.preventDefault(),curSize=parseInt(jQ("html,body").css("font-size"))+2,curSize<=25&&jQ("html,body").css("font-size",curSize)}),jQ("#medium").click(function(e){e.preventDefault(),jQ("html,body").animate({"font-size":"14px"})}),jQ("#news-sidebar .item").first().addClass("active"),jQ(".search #searchform #s").attr("placeholder","Search here..."),jQ(".open-search").click(function(){jQ(".search-section").slideToggle("400"),setTimeout(function(){jQ("#s").focus(),jQ("html, body").animate({scrollTop:jQ("#searchform").offset().top-30},500)},500)}),jQ("a.btn-1, a.btn-2, a.btn-4").html(function(e,t){return t.replace(/(\w+\w)/,"<span>$1</span>")});var e=0;jQ(".custom-page .reports .reports-wrap .single-box .info-wrap").each(function(){jQ(this).height()>e&&(e=jQ(this).height())}),jQ(".custom-page .reports .reports-wrap .single-box .info-wrap").height(e);var t=0;if(jQ(".e .statics .content-wrap .single-box").each(function(){jQ(this).height()>t&&(t=jQ(this).height())}),jQ(".e .statics .content-wrap .single-box").height(t),jQ(".dropdown, .dropdown-menu").hover(function(){jQ(this).children(".dropdown-menu").stop(!0,!1).slideDown("slow")},function(){jQ(this).children(".dropdown-menu").stop(!0,!1).slideUp("fast")}),jQ(".dropdown-btn").click(function(){jQ(this).next().slideToggle("fast")}),jQ(".f .img-wrap iframe").addClass("embed-responsive-item"),jQ(".f .content .link a").click(function(e){e.preventDefault(),jQ(".f .img-wrap .embed-responsive-4by3").css("z-index","5")}),setTimeout(function(){},1e3),jQ(window).width()>767){var i=0;jQ("body.custom-page .reports .reports-wrap .single-box .info-wrap").each(function(){jQ(this).height()>i&&(i=jQ(this).height())}),jQ("body.custom-page .reports .reports-wrap .single-box .info-wrap").height(i)}if(jQ(window).width()>991){jQ("#input_1_41,#input_1_40").addClass("row");for(var n=jQ("#input_1_41 li"),s=0;s<n.length;s+=3)n.slice(s,s+3).wrapAll('<div class="col-md-4"></div>');var r=jQ("#input_1_40 li");for(s=0;s<r.length;s+=3)r.slice(s,s+3).wrapAll('<div class="col-md-4"></div>');var o=jQ("#reports-slider .single-box");for(s=0;s<o.length;s+=3)o.slice(s,s+3).wrapAll('<div class="item"></div>');var a=jQ("#post-slider .single-box");for(s=0;s<a.length;s+=3)a.slice(s,s+3).wrapAll('<div class="item"></div>');jQ(window).bind("scroll",function(){jQ(window).scrollTop()>135?jQ("body").addClass("fixed"):jQ("body").removeClass("fixed")})}else{jQ(window).bind("scroll",function(){jQ(window).scrollTop()>200?(jQ("body").addClass("fixed"),jQ(".fix-social").fadeIn("slow")):(jQ("body,.fix-social").removeClass("fixed"),jQ(".fix-social").fadeOut("fast"))});for(o=jQ("#reports-slider .single-box"),s=0;s<o.length;s+=1)o.slice(s,s+1).wrapAll('<div class="item"></div>');for(a=jQ("#post-slider .single-box"),s=0;s<a.length;s+=1)a.slice(s,s+1).wrapAll('<div class="item"></div>')}jQ("#news-slider .item").first().addClass("active"),jQ("#events-slider .item").first().addClass("active"),jQ("#reports-slider .item").first().addClass("active"),jQ("#post-slider .item").first().addClass("active");var l=jQ("#programs-slider .item").length,c=jQ('<li data-target="#programs-slider"></li>');for(s=0;s<l;s++)jQ("#programs-slider .carousel-indicators").append(c.clone());var d=-1;jQ("#programs-slider .carousel-indicators li").each(function(){d++,jQ(this).attr("data-sli
1de-to",d)}),jQ("#programs-slider .carousel-indicators li").first().addClass("active");var p=jQ("#news-slider .item").length;for(c=jQ('<li data-target="#news-slider"></li>'),s=0;s<p;s++)jQ("#news-slider .carousel-indicators").append(c.clone());var u=-1;jQ("#news-slider .carousel-indicators li").each(function(){u++,jQ(this).attr("data-slide-to",u)}),jQ("#news-slider .carousel-indicators li").first().addClass("active");var j=jQ("#productos-destacados-slider .item").length;for(c=jQ('<li data-target="#productos-destacados-slider"></li>'),s=0;s<j;s++)jQ("#productos-destacados-slider .carousel-indicators").append(c.clone());u=-1;if(jQ("#productos-destacados-slider .carousel-indicators li").each(function(){u++,jQ(this).attr("data-slide-to",u)}),jQ("#productos-destacados-slider .carousel-indicators li").first().addClass("active"),jQ(window).width()<992){var h=jQ("section.top .top-container .header-top .extra-link").clone();jQ("section.top .top-container .header-top .extra-link").remove(),jQ(".navbar-nav").before(h),setTimeout(function(){var e=0;jQ("#news-slider .carousel-inner .item .col-ib-3 .single-box").each(function(){jQ(this).height()>e&&(e=jQ(this).height())}),jQ("#news-slider .carousel-inner .item .col-ib-3 .single-box").height(e+40)},2e3);jQ("header #navigation .nav .dropdown a").after('<button  class="dropdown-toggle dropdown-btn"><span class="caret"></span></button>'),jQ(".dropdown-btn").click(function(){jQ(this).next().slideToggle("slow")}),jQ("header #navigation .nav .dropdown .dropdown-menu").css("display","none"),jQ(".dropdown, .dropdown-menu .dropdown").unbind()}jQ(window).width()<482&&setTimeout(function(){var e=0;jQ("#news-slider .carousel-inner .item .col-ib-3 .single-box .info-wrap").each(function(){jQ(this).outerHeight()>e&&(e=jQ(this).outerHeight())}),jQ("#news-slider .carousel-inner .item .col-ib-3 .single-box .info-wrap").height(e-60)},1e3),function(){if(!document.querySelector('a[href*="classy.org/give"]'))return;const e=document.createElement("script");e.type="text/javascript",e.textContent="\n        (function (win) {\n            win.egProps = {\n                campaigns: [\n                    {\n                        campaignId: '520189',\n                        donation: {\n                            modal: {\n                                urlParams: { ...readURLParams(), ...{ egrn: true } },\n                                elementSelector: 'a[href=\"https://www.classy.org/give/520189/#!/donation/checkout?eg=true\"]'\n                            },\n                            nudgeTrays: [\n                                {\n                                    title: 'Make a difference 💜',\n                                    content: 'Complete your gift to help make our mission possible.',\n                                    ctaLabel: 'Give Now',\n                                    ctaColor: '#e37c48',\n                                    triggerEvent: 'eg:donation:incomplete',\n                                }\n                            ]\n                        }\n                    }\n                ]\n            };\n            win.document.body.appendChild(makeEGScript());\n\n            function makeEGScript() {\n                var egScript = win.document.createElement('script');\n                egScript.setAttribute('type', 'text/javascript');\n                egScript.setAttribute('async', 'true');\n                egScript.setAttribute('src', 'https://sdk.classy.org/embedded-giving.js');\n                return egScript;\n            }\n\n            function readURLParams() {\n                const searchParams = new URLSearchParams(location.search);\n                const validUrlParams = ['c_src', 'c_src2', 'amount', 'recurring', 'designation'];\n                return validUrlParams.reduce(function toURLParamsMap(urlParamsSoFar, validKey) {\n                    const value = searchParams.get(validKey);\n                    return value === null ? urlParamsSoFar : { ...urlParamsSoFar, [validKey]: value };\n                }, {});\n            }\n        })(window);\n    ",document.body.appendChild(e)}()});

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.