PageSourceSearch

https://nownyc.org/wp-content/themes/purple/assets/build/master.min.js

js nownyc.org collected 2026-10-02 07:16:46 UTC 25,601 bytes, 2 lines download raw bytes

1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define("bundleAlert",t):t()}(0,function(){"use strict";function e(e){I=$("html, body").scrollTop(),E.addClass("menu--open temp-high-z"),e.preventDefault(),$("html").addClass("noScroll overlay-active"),$("html, body").animate({scrollTop:0},50)}function t(e){$("html").removeClass("noScroll overlay-active"),E.removeClass("menu--open"),e.preventDefault(),e.stopPropagation(),$("html, body").animate({scrollTop:I},50),setTimeout(function(){E.removeClass("temp-high-z")},200)}function o(){$(this).val()&&!$(this).hasClass("error_input")?($(this).parent().find(".required-check").attr("class","required-check show"),$(this).parent().find(".required-asterisk").attr("class","required-asterisk hide")):($(this).parent().find(".required-check").attr("class","required-check hide"),$(this).parent().find(".required-asterisk").attr("class","required-asterisk show"))}function i(){var e=$(this).val(),t=/^[0-9]+$/,o=/^\d{5}$/;t.test(e)&&e.match(o)?$(this).removeClass("error_input"):$(this).addClass("error_input"),e&&!$(this).hasClass("error_input")?($(this).parent().find(".required-check").attr("class","required-check show"),$(this).parent().find(".required-asterisk").attr("class","required-asterisk hide")):($(this).parent().find(".required-check").attr("class","required-check hide"),$(this).parent().find(".required-asterisk").attr("class","required-asterisk show"))}function a(){U=Q.height()||0;var e="sticky"===Q.css("position");U>$(window).height()&&e?Q.css({position:"relative"}):U<=$(window).height()&&!e&&Q.css({position:"sticky"})}function n(e){e.prop("autoplay",!0).attr("preload","auto").removeClass("unplayed");var t=e.get(0);t&&"function"==typeof t.play&&t.play()}function s(){ie.filter(".unplayed").length?$("body").find("video").filter(".unplayed").each(function(e,t){var o=$(t);"block"===o.css("display")&&n(o)}):$(window).off("resize",s)}var r=new TimelineMax;r.to(".topper .container",0,{opacity:1},.1).to(".topper .overlay",0,{opacity:.3,ease:Power1.easeInOut}).staggerFrom(".topper .content-holder",.5,{opacity:0,yPercent:10,ease:Power1.none},0,.55).staggerFrom(".topper .image-container",1.65,{scale:1.05,ease:Power1.none},0,0).staggerFrom(".topper .read-more",.35,{opacity:0,yPercent:-15,ease:Power1.easeInOut},0,1.75).to(".get-help-menu",.35,{opacity:1,right:"0px",ease:Power1.easeInOut},1.75),r.play();var l=new ScrollMagic.Controller;if($(window).width()>=960){if($(".home .home-issues").length>0){var c=new TimelineMax;c.staggerFrom(".home .home-issues .narrow .introduction",.75,{opacity:0,yPercent:10,ease:Power1.easeInOut},0,.1).staggerFrom(".home .home-issues .narrow .description",.75,{opacity:0,yPercent:10,ease:Power1.easeInOut},0,.5).staggerFrom(".home .home-issues .narrow hr",.3,{opacity:0,width:"0px",ease:Power1.easeInOut},0,.75),new ScrollMagic.Scene({triggerElement:".home .home-issues .narrow",reverse:!0,offset:100,triggerHook:1}).setTween(c).addTo(l)}$(".home .issues-grid").length>0&&(new ScrollMagic.Scene({triggerElement:".home .home-issues .issues-grid.has-intro",reverse:!0,offset:200,triggerHook:1}).setTween(TweenMax.staggerFrom(".home .home-issues .issues-grid.has-intro .single-issue",.35,{opacity:0,ease:Power1.easeInOut},0,.2)).addTo(l),new ScrollMagic.Scene({triggerElement:".home .home-issues .issues-grid.has-intro",reverse:!0,offset:300,duration:600,triggerHook:1}).setTween(TweenMax.staggerFrom(".home .home-issues .issues-grid.has-intro .single-issue:nth-child(3n-1)",.25,{top:0},0)).addTo(l),new ScrollMagic.Scene({triggerElement:".home-actions",reverse:!0,offset:200,duration:900,triggerHook:1}).setTween(TweenMax.staggerTo(".home .home-issues .issues-grid.has-intro",1,{yPercent:-30,ease:Power1.easeIn},0)).addTo(l)),$(".home .news-feed.second").length>0&&new ScrollMagic.Scene({triggerElement:".module.news-feed.second .news-items",reverse:!0,offset:300,triggerHook:1}).setTween(TweenMax.staggerFrom(".module.news-feed.second .news-items .news-item",.25,{opacity:0,ease:Power1.easeInOut},.1,.15)).addTo(l);var d=$("body").find(".module.news-feed.first .news-items .news-item");if($(d).each(function(e,t){$(t).addClass("animate"+e),new ScrollMagic.Scene({triggerElement:".module.news-feed.first .news-items .news-item.animate"+e,reverse:!0,offset:150,triggerHook:1}).setTween(TweenMax.staggerFrom(".module.news-feed.first .news-items .news-item.animate"+e,.25,{opacity:0,ease:Power1.easeInOut},0,.15)).addTo(l)}),$(".metrics").length>0&&new ScrollMagic.Scene({triggerElement:".module.inpage.metrics .issues-grid",reverse:!0,offset:300,triggerHook:1}).setTween(TweenMax.staggerFrom(".module.inpage.metrics .issues-grid .single-issue",.25,{opacity:0,ease:Power1.easeInOut},.1,.15)).addTo(l),$(".home .home-actions").length>0){var p=new TimelineMax;p.staggerFrom(".home .home-actions .container h2",1,{opacity:0,yPercent:25,ease:Power1.easeInOut},0,0),new ScrollMagic.Scene({triggerElement:".home .home-actions .container",reverse:!0,duration:500,offset:0,triggerHook:1}).setTween(p).addTo(l);var m=new TimelineMax;m.staggerFrom(".home .home-actions h2 span a",.4,{opacity:0,yPercent:5,ease:Power1.easeInOut},0,0).staggerFrom(".home .home-actions h2 span a",.25,{css:{borderBottom:"0px"},ease:Power1.easeInOut},0,.35),new ScrollMagic.Scene({triggerElement:".home .home-actions .container",reverse:!0,offset:450,triggerHook:1}).setTween(m).addTo(l)}if($(".home-actions .issues-grid").length>0){var u=$("body").find(".home-actions .issues-grid .single-issue");$(u).each(function(e,t){$(t).addClass("animate"+e),new ScrollMagic.Scene({triggerElement:".home-actions .issues-grid .single-issue.animate"+e,reverse:!0,offset:200,triggerHook:1}).setTween(TweenMax.staggerFrom(".home-actions .issues-grid .single-issue.animate"+e,.75,{opacity:0,ease:Power1.easeInOut},0,0)).addTo(l)})}if($(".bottom-cta").length>0){var h=new TimelineMax;h.to(".bottom-cta .overlay",1,{opacity:.3,ease:Power1.easeInOut},.2).to(".bottom-cta .image-container",1.65,{scale:1,ease:Power1.none},0,0).staggerFrom(".bottom-cta h6, .bottom-cta h1",.55,{opacity:0,yPercent:3,ease:Power1.easeInOut},0,.55).staggerFrom(".bottom-cta hr",.35,{opacity:0,width:0,ease:Power1.easeInOut},0,1).staggerFrom(".bottom-cta .footer__right ul.actions li",.65,{opacity:0}
1,.15,1.5),new ScrollMagic.Scene({triggerElement:".bottom-cta",reverse:!1,offset:400,triggerHook:1}).setTween(h).addTo(l)}if($(".donation").length>0){var g=new TimelineMax;g.staggerFrom(".module.donation .background-image-container .background-image",1,{scale:1.05,ease:Power1.easeInOut},0,.25).staggerFrom(".module.donation .inner-form",.45,{opacity:0,yPercent:-10,ease:Power1.easeInOut},0,.75),new ScrollMagic.Scene({triggerElement:".module.donation",reverse:!0,offset:0,triggerHook:1}).setTween(g).addTo(l)}if($(".timeline-content").length>0){var f=$("body").find(".module.timeline-content"),v=$("body").find(".module.timeline-content h6.text-above-headline"),w=$("body").find(".module.timeline-content h2"),y=$("body").find(".module.timeline-content h6.text-below-headline"),b=$("body").find(".module.timeline-content p");$(v).each(function(e,t){$(t).addClass("animate"+e)}),$(w).each(function(e,t){$(t).addClass("animate"+e)}),$(y).each(function(e,t){$(t).addClass("animate"+e)}),$(b).each(function(e,t){$(t).addClass("animate"+e)}),$(f).each(function(e,t){$(t).addClass("animate"+e);var o=new TimelineMax,i=TweenMax.staggerFrom(".module.timeline-content h6.text-above-headline.animate"+e,.6,{opacity:0,yPercent:10,ease:Power1.easeInOut},.1),a=TweenMax.staggerFrom(".module.timeline-content h2.animate"+e,.5,{opacity:0,yPercent:10,ease:Power1.easeInOut},.1),n=TweenMax.staggerFrom(".module.timeline-content h6.text-below-headline.animate"+e,.4,{opacity:0,yPercent:10,ease:Power1.easeInOut},.1),s=TweenMax.staggerFrom(".module.timeline-content p.animate"+e,.3,{opacity:0,yPercent:10,ease:Power1.easeInOut},.1),r=new ScrollMagic.Scene({triggerElement:".module.timeline-content.animate"+e,reverse:!0,offset:75,triggerHook:1});o.add(i).add(a).add(n).add(s),r.setTween(o),r.addTo(l)});var k=$("body").find(".module.timeline-content .featured-image .featured-background-image");$(k).each(function(e,t){$(t).addClass("animate"+e),new ScrollMagic.Scene({triggerElement:".module.timeline-content .featured-image .featured-background-image.animate"+e,reverse:!0,offset:200,triggerHook:1}).setTween(TweenMax.staggerFrom(".module.timeline-content .featured-image .featured-background-image.animate"+e,1,{scale:1.05,ease:Power1.easeInOut},0,.25)).addTo(l)})}}if(window.onload=function(){setTimeout(function(){$(".single-issue .topper.issue-image").addClass("fade-in")},100)},$(".ngp-code.add-callback").length>-1){var C=function(){$(".ngp-code.add-callback").each(function(){$(this).find("label.EmailAddress").addClass("show"),$(this).find("label.EmailAddress input").attr("placeholder","Your Email"),$(this).find("label.PostalCode").addClass("show"),$(this).find("label.PostalCode input").attr("placeholder","Zip Code")})};$(window).bind("load",function(){setTimeout(C,500),setTimeout(C,1e3),setTimeout(C,2e3)})}var x=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(){var e=Date.now();return function(t){var o=+new Date;o-e>16?(e=o,t(o)):setTimeout(function(){polyfill(t)},0)}}(),T=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],i=0;return function(){for(var a=arguments.length,n=Array(a),s=0;s<a;s++)n[s]=arguments[s];var r=o||this;clearTimeout(i),i=setTimeout(function(){return T(function(){return x(function(){return e.apply(r,n)})},{timeout:t})},t)}},M=$(".dotted-nav");
1if(M.length){var S=P(function(){var e=$(window).height()/2;$(window).scrollTop()>=e?$(".dotted-nav").removeClass("white"):$(".dotted-nav").addClass("white")},70);$(window).on("scroll",S);var O=$(".module.activeSection").attr("id");M.find("a#"+O).addClass("active");var z=P(function(){var e=$(".module.activeSection").attr("id");M.find("a.active").removeClass("active"),M.find("a#"+e).addClass("active")},70);$(window).on("scroll",z)}var q=function(e){return function(t){t=String(t).replace(/(\[|\])/g,"\\$1");var o=new RegExp("[\\?&]"+t+"=([^&#]*)"),i=o.exec(e);return null===i?"":i[1]}}(window.location.href);$("header .contribute-link a").each(function(){var e=$(this),t=Cookies.getJSON("source")||q("source")||"website",o=e.attr("href").replace("website",t).replace("=homepage","="+t);e.attr("href",o)});var E=$("body").find(".menuOverlay"),I=0;$("body").on("click","#btn-menu",e).on("click","#btn-menu-close",t),document.addEventListener("keyup",function(e){return 27===e.keyCode&&t(e)});var _=$("body").find("[data-module],.module");_.last().addClass("last-module");var F=P(function(){_.each(function(e,t){var o=$(t);o.addClass("seenSection").toggleClass("activeSection",o.visible(!0))})},70);if($(window).on("scroll",F),$("body").on("mouseenter",".scroll",function(){$(this).next(".tool").css("opacity","1")}).on("mouseleave",".scroll",function(){$(this).next(".tool").css("opacity","0")}).on("click",".scroll",function(e){e.preventDefault();var t=$(this).attr("data-scroll"),o=$('.module[data-anchor="'+t+'"]').offset().top-72;$("html, body").animate({scrollTop:o},500)}),$("li.support-area").hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")}),$("li.support-area h5").on("click",function(e){e.preventDefault(),$(this).parent().blur().toggleClass("active"),$(this).parent().children(".resources").slideToggle()}),$("body").find(".action-form").length>-1){var D=function(){$(".action-form").each(function(){$(this).addClass("in-view"),$(this).find("#form-first_name").attr("placeholder","First name (not required)"),$(this).find("#form-last_name").attr("placeholder","Last name (not required)"),$(this).find("#form-email").attr("placeholder","Email address (required)").attr("autocomplete","email"),$(this).find("#form-email").after('<svg version="1.1" class="required-asterisk" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 46.8 44.5" style="enable-background:new 0 0 46.8 44.5;" xml:space="preserve"><title>Required asterisk</title><path d="M33.6,28l7.6,10l-9,6.5l-7.1-10.3l-1.7-3.9l-1.8,3.9l-7.1,10.3L5.5,38l7.6-10l3.1-2.9l-4.3-0.5L0,21.1l3.4-10.5l11.8,4.1 l3.8,2.1l-0.8-4.2L17.8,0h11.1l-0.3,12.6l-0.8,4.2l3.8-2.1l11.9-4.1l3.4,10.5l-12.1,3.6l-4.2,0.5L33.6,28z"/></svg><svg version="1.1" class="required-check hide" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve"><title>Success checkmark</title><polygon points="73,28 40,61 27,48.5 20,55.5 40,75.5 80,35.5 "/><path d="M50,90c-22.1,0-40-17.9-40-40s17.9-40,40-40s40,17.9,40,40C89.9,72.1,72.1,89.9,50,90z M50,0C22.4,0,0,22.4,0,50 s22.4,50,50,50s50-22.4,50-50C99.9,22.4,77.6,0.1,50,0z"/></svg>'),$(this).find("#form-zip_code").attr("placeholder","ZIP code (required)"),$(this).find("#form-zip_code").after('<svg version="1.1" class="required-asterisk" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 46.8 44.5" style="enable-background:new 0 0 46.8 44.5;" xml:space="preserve"><title>Required asterisk</title><path d="M33.6,28l7.6,10l-9,6.5l-7.1-10.3l-1.7-3.9l-1.8,3.9l-7.1,10.3L5.5,38l7.6-10l3.1-2.9l-4.3-0.5L0,21.1l3.4-10.5l11.8,4.1 l3.8,2.1l-0.8-4.2L17.8,0h11.1l-0.3,12.6l-0.8,4.2l3.8-2.1l11.9-4.1l3.4,10.5l-12.1,3.6l-4.2,0.5L33.6,28z"/></svg><svg version="1.1" class="required-check hide" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve"><title>Success checkmark</title><polygon points="73,28 40,61 27,48.5 20,55.5 40,75.5 80,35.5 "/><path d="M50,90c-22.1,0-40-17.9-40-40s17.9-40,40-40s40,17.9,40,40C89.9,72.1,72.1,89.9,50,90z M50,0C22.4,0,0,22.4,0,50 s22.4,50,50,50s50-22.4,50-50C99.9,22.4,77.6,0.1,50,0z"/></svg>'),$(this).find("#Mobile-Phone").attr("placeholder","Cell phone")})};setTimeout(D,500)}if($(document).on("can_embed_loaded",function(){$(".action-form").css({opacity:1}),$(".action-form form[novalidate]").removeAttr("novalidate"),$('.action-form [name="answer[email]"]').attr("title","Email Address").attr("type","email").attr("required","required").prop("require",!0),$('.action-form [name="answer[zip_code]"]').attr("title","5-Digit ZIP Co
1de").attr("required","required").prop("require",!0).attr("pattern","[0-9]{5}").attr("maxlength","5")}),$(document).on("can_embed_loaded",function(){$(".action-form").each(function(){$(this).find("#form-email").each(function(){$(this).keyup(o)}),$(this).find("#form-email").each(function(){$(this).blur(o)}),$(this).find("#form-zip_code").each(function(){$(this).keyup(i)}),$(this).find("#form-zip_code").each(function(){$(this).blur(i)})})}),$("body").find(".video-popup").magnificPopup({type:"iframe",mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1}),$("body").find(".popup-youtube").magnificPopup({disableOn:700,type:"iframe",mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1}),$(".pop-over").length>0){var H=$(".js-popup-options"),L=H.data("frequency"),A=H.data("cookie-name");if((!Cookies.getJSON(A)||"always"===L)&&(function(){$(".pop-over").addClass("is-visible"),$(".pop-over").hasClass("image")?$("#image-popup").length>0?($("#image-popup").magnificPopup({type:"image",closeOnContentClick:!0,mainClass:"mfp-img-mobile",image:{verticalFit:!0},callbacks:{open:function(){$("body").removeClass("is-splashed")}}}),$("#image-popup").click()):($("#image-popup-linkable").magnificPopup({type:"inline",preloader:!1,callbacks:{open:function(){$("body").removeClass("is-splashed")}}}),$("#image-popup-linkable").click()):$(".pop-over").hasClass("video")?($("body").removeClass("is-splashed"),$(".pop-over.video").on("click",function(){$(".pop-over.video").fadeOut()}),!0===$(".pop-over.video .play-row").data("autoplay")&&$(".pop-over.video [data-fancybox]").click()):$(".pop-over").hasClass("html")?($("#inline-popup-link").magnificPopup({type:"inline",preloader:!1,callbacks:{open:function(){$("body").removeClass("is-splashed")}}}),$("#inline-popup-link").click()):$(".pop-over").hasClass("bsd")&&($("#bsd-popup-link").magnificPopup({type:"inline",preloader:!1,callbacks:{open:function(){$("body").removeClass("is-splashed")}}}),$("#bsd-popup-link").click())}(),"always"!==L))if("session"===L)Cookies.set(A,"shown");else{var R={week:7,once:999};Cookies.set(A,"shown",{expires:R[L]})}}$(".js-print").on("click",function(e){e.preventDefault(),window.print()}),$.fn.overlaps=function(e){var t={targets:[],hits:[]},o=$(e);
1return this.each(function(){var e=$(this).offset();e.right=e.left+$(this).outerWidth(),e.bottom=e.top+$(this).outerHeight(),o.each(function(){var o=this,i=$(o).offset();i.right=i.left+$(o).outerWidth(),i.bottom=i.top+$(o).outerHeight(),i.right<e.left||i.left>e.right||i.bottom<e.top||i.top>e.bottom||(t.targets.push(this),t.hits.push(o))})}),t},$.fn.visible=function(e){var t=$(this),o=$(window),i=o.scrollTop()-72,a=i+o.height()-72,n=t.offset().top-72,s=n+t.height()-72,r=!0===e?s:n;return(!0===e?n:s)<=a&&r>=i},$(window).one("resize",function(){return $("html").addClass("was-resized")});if($("body").on("click","a.scroll-read-more",function(e){e.preventDefault();var t=$($(this).attr("href")).offset().top-72;$("html, body").animate({scrollTop:t},400)}).on("click",".smooth_scroll",function(e){e.preventDefault();var t=$($(this).attr("href"));if(t.length){var o=t.offset().top-72;$("html, body").stop().animate({scrollTop:o},400)}}),"pageOverlay"===$("body").data("searchtype")){var W=function(e){e.preventDefault(),$(".searchOverlay").addClass("search--open temp-high-z"),$(".search__input").focus(),$("html").addClass("noScroll")},B=function(e){$("html").removeClass("noScroll"),e.preventDefault(),$(".searchOverlay").removeClass("search--open"),$(".search__input").blur(),$(".search__input").val(""),setTimeout(function(){$(".searchOverlay").removeClass("temp-high-z")},100)};$("body").on("click","#btn-search",W),$("body").on("click","#btn-search-close",B),document.addEventListener("keyup",function(e){27===e.keyCode&&B(e)})}else $("body").on("click","#btn-search, #search-trigger",function(e){e.preventDefault(),e.stopPropagation(),$(".top-search .focus-input").focus(),$("body").toggleClass("search-open")}).on("keyup",".top-search .focus-input",function(){$('.top-search input[type="submit"]').css("opacity","1")}),document.addEventListener("keyup",function(e){27===e.keyCode&&$("body").removeClass("search-open temp-high-z")}),$(document).on("click",function(e){var t=$(".top-search");t.is(e.target)||0!==t.has(e.target).length||$("body").removeClass("search-open temp-high-z")});$("body").on("submit","[data-searchform]",function(e){""===$(e.target).find('[name="s"]').val()&&e.preventDefault()}),$("body").find(".image-slider").slick({infinite:!0,slidesToShow:1,slidesToScroll:1});var N=$("body").find(".social-nav");if($("body").on("click",".social .social-pop",function(e){$(window).width()>967&&(e.preventDefault(),window.open(this.href,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=350,width=600"))}),$(".social-nav").length>-1){var j=P(function(){var e=N.overlaps(".social-hide");N[e.hits.length?"addClass":"removeClass"]("behind"),N[e.hits.length?"addClass":"removeClass"]("animate")},70);$(window).on("scroll resize",j),j()}var Z=$(".top"),J=$("html"),Y=$("body").find(".get-help-menu"),G=Z.height(),K=function(){var e=document.createElement("a"),t=e.style;return t.cssText="position:sticky;position:-webkit-sticky;position:-ms-sticky;",-1!==t.position.indexOf("sticky")}();J.toggleClass("nopositionsticky",!K);var Q=$("body").find(".alert-bar"),U=Q.height()||0;J.hasClass("ok-to-alert")&&($("body").on("click",".alert-bar__close",function(){Z.removeClass("is-sticky"),Y.addClass("animate"),U=0,Q.slideToggle("fast",function(){Q.prop("hidden",!0),G=Z.height(),J.removeClass("ok-to-alert")}),window.ALERT_OPTIONS&&window.ALERT_OPTIONS.alert_is_cookied&&Cookies.set("alertbar",window.ALERT_OPTIONS.cookievalue||"value",{expires:window.ALERT_OPTIONS.expires||7})}),K&&($(window).resize(a),a()));var V=!0,X=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{nonEvent:!0},o=t.target,i=void 0===o?{}:o,a=t.nonEvent,n=void 0!==a&&a,s=i.scrollingElement;s=void 0===s?{}:s;var r=s.scrollTop;r||(r=$(window).scrollTop()),U=Q.height()||0;var l=G+U;J.toggleClass("scrolled-past-nav",r>=l),V?(n||e(),J.hasClass("ok-to-alert")&&U>50?(Z.addClass("is-sticky"),V=!0):(Z.toggleClass("is-sticky",r>=1),V=!1),setTimeout(function(){V=!0,n||e()},303)):V=!0,K&&Q.toggleClass("social-hide",r<l)},ee=P(X,0);$(window).on("scroll",ee),ee();var te=1;$("body").find(".video-share .videoWrapper iframe").each(function(){$(this).attr("id",te),$(this).attr("src",$(this).attr("src")+"&autoplay=0"),$(this).attr("src",$(this).attr("src")+"&rel=0"),te++});var oe=1;
1$("body").find(".video-cover").each(function(){var e=$("#"+oe);$(this).click(function(){$(this).fadeOut(),$(e).attr("src",$(e).attr("src").replace("autoplay=0","autoplay=1"))}),oe++}),$("body").find(".pop-over .videoWrapper iframe").each(function(){$(this).attr("id",te),$(this).attr("src",$(this).attr("src")+"&autoplay=1"),$(this).attr("src",$(this).attr("src")+"&rel=0"),te++}),$(document).on("click touchstart",function(e){if(!$(e.target).closest(".pop-over .videoWrapper iframe").length&&$(".pop-over").is(":visible")){$(".pop-over").hide();var t=$(".pop-over .videoWrapper iframe").attr("src");t&&$(".pop-over .videoWrapper iframe").attr("src",t.replace("autoplay=1","autoplay=0"))}}),$("body").find(".play-button").click(function(e){$(e.target).closest(".pop-over .videoWrapper iframe").length||$(".pop-over").is(":visible")&&$(".pop-over").hide()});var ie=$("body").find("video");ie.length&&($(window).resize(s),s()),$(".filters select").selectric({maxHeight:200,disableOnMobile:!1,nativeOnMobile:!1}),$(".selectric .button").replaceWith('<button class="selectric-button"><svg version="1.1" id="plus" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 182 182" style="enable-background:new 0 0 182 182;" xml:space="preserve"><path class="st0" d="z"/><path d="M87,1.8c9.9-0.5,19.9,0.6,29.7,3.6C122,7,127.1,9.1,132,11.6c30.7,16,50,49.2,48.2,83.9c-0.5,10.4-2.9,20.6-6.9,30.1 c-13.5,31.9-45.3,53.8-80,54.6c-8.3,0.2-16.6-0.8-24.7-2.8c-8.9-2.3-17.3-5.9-25-10.8c-14-8.9-24.8-20.7-32.3-35.5 C2.5,114.1-0.3,94.4,3,75.6c2.6-14.8,8.5-28.2,17.9-39.9C37.3,15.4,61.6,3.2,87,1.8z M164.1,91c0-40.2-32.8-73.1-72.8-73.1 c-40.5,0-73.3,32.7-73.3,73.1c0,40.2,32.8,73.1,72.9,73.1C131.2,164.1,164.1,131.3,164.1,91z"/><path d="M123.4,99c-21.6,0-43.2,0-64.8,0c0-5.4,0-10.7,0-16.2c21.6,0,43.2,0,64.8,0C123.4,88.2,123.4,93.6,123.4,99z"/><path d="M99.1,58.6c0,21.6,0,43.2,0,64.8c-5.4,0-10.7,0-16.2,0c0-21.6,0-43.2,0-64.8C88.3,58.6,93.7,58.6,99.1,58.6z"/></svg><svg version="1.1" id="minus" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 182 182" style="enable-background:new 0 0 182 182;" xml:space="preserve"><path class="st0" d="z"/><g><path d="M87,1.8c9.9-0.5,19.9,0.6,29.7,3.6C122,7,127.1,9.1,132,11.6c30.7,16,50,49.2,48.2,83.9c-0.5,10.4-2.9,20.6-6.9,30.1 c-13.5,31.9-45.3,53.8-80,54.6c-8.3,0.2-16.6-0.8-24.7-2.8c-8.9-2.3-17.3-5.9-25-10.8c-14-8.9-24.8-20.7-32.3-35.5 C2.5,114.1-0.3,94.4,3,75.6c2.6-14.8,8.5-28.2,17.9-39.9C37.3,15.4,61.6,3.2,87,1.8z M164.1,91c0-40.2-32.8-73.1-72.8-73.1 c-40.5,0-73.3,32.7-73.3,73.1c0,40.2,32.8,73.1,72.9,73.1C131.2,164.1,164.1,131.3,164.1,91z"/><path d="M123.4,99c-21.6,0-43.2,0-64.8,0c0-5.4,0-10.7,0-16.2c21.6,0,43.2,0,64.8,0C123.4,88.2,123.4,93.6,123.4,99z"/></g></svg></button>'),$(".selectric").click(function(e){e.preventDefault()}),$(".searchandfilter").append('<button type="submit"></button>'),$('.searchandfilter [type="submit"]').hide(),$(".selectric-items ul li").click(function(){$('.searchandfilter [type="submit"]').click()});var ae=$("body").find(".get-help-menu"),ne=$("window"),se=$("body").find(".alert-bar"),re=se.height();if($(".get-help-menu").length>-1){var le=P(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,o=void 0===t?{}:t,i=o.scrollingElement;i=void 0===i?{}:i;var a=i.scrollTop;a||(a=ne.scrollTop()),re=$(".alert-bar").is(":visible")?se.height():0,ae.toggleClass("animate",a>=re)},70);$(window).on("scroll resize",le),le()}$(".get-help-menu").length>-1&&$(window).width()<960&&($("body").on("click",".get-help-menu",function(){ae.hasClass("mobile-minimize")?ae.removeClass("mobile-minimize"):ae.addClass("reveal")}),$("body").on("click","#btn-help-close",function(e){e.isDefaultPrevented(),ae.addClass("mobile-minimize"),ae.removeClass("reveal")}));var ce=$("body").find(".action-menu"),de=$("window"),pe=$("body").find(".alert-bar"),me=pe.height();if($(document).on("keydown",function(e){e.keyCode}),$(".action-menu").length>-1){var ue=P(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,o=void 0===t?{}:t,i=o.scrollingElement;i=void 0===i?{}:i;var a=i.scrollTop;a||(a=de.scrollTop()),me=$(".alert-bar").is(":visible")?pe.height():0,ce.toggleClass("animate",a>=me)},70);$(window).on("scroll resize",ue),ue()}});
2//# sourceMappingURL=master.min.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.