1function getQueryStringValue(e){return unescape(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+escape(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function setCookie(e,t,n,o){o=void 0!==o?o:"/";var i,a="";n&&((i=new Date).setTime(i.getTime()+24*n*60*60*1e3),a="; expires="+i.toUTCString()),document.cookie=e+"="+(t||"")+a+"; path="+o}function getCookie(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var i=n[o];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}function padNumber(e,t){for(var n=""+e;n.length<t;)n="0"+n;return n}!function(c){var r,o=0,i=!1,d=null,e={};c(document).ready(function(){c.wptheme.initType(),c.wptheme.initSiteAnnouncement(),c.wptheme.initHeader(),c.wptheme.initMobileMenu(),c.wptheme.initGalleries(),c.wptheme.initSliders(),c.wptheme.initModals(),c.wptheme.initSocialSharingLinks(),c.wptheme.initPostFeeds(),c.wptheme.initParallax(),c.wptheme.initScrollReveal(),c.wptheme.initGrowingBgs(),c.wptheme.initButtons(),c.wptheme.initContainerBlocks(),c.wptheme.initMultiColumnBlocks(),c.wptheme.initExpandableContentBlocks(),c.wptheme.initTabbedContentBlocks(),c.wptheme.initTestimonialSliderBlocks(),c.wptheme.initContentSliderBlocks(),c.wptheme.initTwoColumnScrollSliderBlocks(),c.wptheme.initFeaturedEventsBlocks(),c.wptheme.initFeaturedClientStorySliderBlocks(),c.wptheme.initFeaturedPostSliderBlocks(),c.wptheme.initFeaturedResourceSliderBlocks(),c.wptheme.initFeaturedWebinarSliderBlocks(),c.wptheme.initCenterFinderBlocks(),c.wptheme.initSectionNavBlocks(),c.wptheme.initTeamMemberIndexBlocks(),c.wptheme.initHoverContainerBlocks(),c.wptheme.initDropdownNavMenuBlocks(),c.wptheme.initNavMenuBlocks(),c.wptheme.initChampionFinderBlocks(),c.wptheme.initDevBlocks(),c.wptheme.initGFBlocks(),c.wptheme.initBranchMapShortcodes(),c.wptheme.initImpactReportFormShortcodes(),c.wptheme.initHeaders(),c.wptheme.initOdometers(),c.wptheme.initReferrerNotice()}),c(window).load(function(){}),c.wptheme=((r={}).initMapSettings=function(){d||"undefined"!=typeof google&&((d={markerShapes:{default:{coords:[15,0,26,4,30,15,26,19,15,37,4,19,0,15,4,4],type:"poly"}},markerImages:{darkBlue:{url:crownThemeData.themeUrl+"/assets/img/icons/map-marker-dark-blue.png",size:new google.maps.Size(30,37),scaledSize:new google.maps.Size(30,37),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(15,37)}}}).markerImages.blue=c.extend(!0,{},d.markerImages.darkBlue,{url:crownThemeData.themeUrl+"/assets/img/icons/map-marker-blue.png"}),d.markerImages.red=c.extend(!0,{},d.markerImages.darkBlue,{url:crownThemeData.themeUrl+"/assets/img/icons/map-marker-red.png"}),d.markerImages.gray=c.extend(!0,{},d.markerImages.darkBlue,{url:crownThemeData.themeUrl+"/assets/img/icons/map-marker-gray.png"}),d.markerImages.white=c.extend(!0,{},d.markerImages.darkBlue,{url:crownThemeData.themeUrl+"/assets/img/icons/map-marker-white.png"}))},r.initType=function(){c("mark, .mark").each(function(e,t){c(t).addClass("reveal-right"),c(t).html('<span class="inner">'+c(t).html()+"</span>")});function e(){var n=c(window).scrollTop(),o=c(window).height();c("mark:not(.animated), .mark:not(.animated)").each(function(e,t){c(t).offset().top<=n+.9*o&&c(t).addClass("animated")})}e(),c(window).on("load scroll",e)},r.initSiteAnnouncement=function(){c(document).on("click","#site-announcement button.dismiss",function(e){var t=c("#site-announcement");t.removeClass("shown"),setTimeout(function(){t.addClass("active")},500),setCookie("site_announcement_"+t.data("announcement-id"),"dismissed",365)});function e(){var e,t=c("#site-announcement");t.length&&t.hasClass("active")&&(e=t.outerHeight(),t.css({marginTop:-e}))}var t=c("#site-announcement");t.length&&"dismissed"!=getCookie("site_announcement_"+t.data("announcement-id"))&&(t.addClass("active"),setTimeout(function(){t.addClass("shown")},500),e(),c(window).on("load resize",e))},r.initHeader=function(){var e=c("#header"),t=c("#main-content").children().first();t.is(".wp-block-crown-blocks-container.text-color-light.alignfull")&&e.addClass("text-color-light"),t.is(".wp-block-crown-blocks-post-header.text-color-light")&&e.addClass("text-color-light"),t.is(".wp-block-crown-blocks-resource-header.text-color-light")&&e.addClass("text-color-light"),t.is(".wp-block-crown-blocks-event-header")&&e.addClass("text-color-light"),t.is(".wp-block-crown-blocks-client-story-header")&&e.addClass("text-color-light"),t.is(".wp-block-crown-blocks-webinar-header.text-color-light")&&e.addClass("text-color-light"),e.addClass("loaded");e=function(){var o=c("body").width();c("#header-primary-navigation .sub-menu:not(.mega-sub-menu)").each(function(e,t){var n=c(t),t=n.parent().closest(".sub-menu").length;n.css({marginLeft:0}),t&&n.removeClass("drop-left"),n.offset().left+n.outerWidth()>o-10&&(t?n.addClass("drop-left"):n.css({marginLeft:o-(n.offset().left+n.outerWidth())-10+"px"}))})};e(),c(window).on("load",e),c(window).on("resize",e),c("#header-primary-navigation a").on("click",function(e){var t=c(this).closest(".menu-item"),n=c("> .sub-menu",t);c("#header-primary-navigation .menu-item.active").not(c(this).parents(".menu-item.active")).removeClass("active"),n.length&&!t.hasClass("active")&&c("#header-primary-navigation-menu").hasClass("mega-menu")&&(e.preventDefault(),t.addClass("active"))}),c(document).on("click",function(e){c(e.target).closest("#header-primary-navigation-menu").length||c("#header-primary-navigation .menu-item.active").removeClass("active")}),c("#header-search button.toggle").on("click",function(e){var t=c("#header");t.toggleClass("search-active"),t.hasClass("search-active")&&setTimeout(function(){c("#header-search input[type=search]").select()},350)});e=function(){var e=c("#header"),t=c(window).scrollTop(),n=0;c("body").width()<601&&c("#wpadminbar").length&&(n+=c("#wpadminbar").outerHeight()),c("#site-announcement.active.shown").length&&(n+=c("#site-announcement.active.shown").outerHeight()),n<t&&!e.hasClass("is-sticky")?e.addClass("is-sticky"):t<=n&&e.hasClass("is-sticky")&&e.removeClass("is-sticky"),o<t&&n+300<t&&!c("#header-primary-navigation-menu > .menu-item.active").length&&!e.hasClass("is-minified")?e.addClass("is-minified"):t<=o&&e.hasClass("is-minified")&&!i&&e.removeClass("is-minified"),o=t};e(),c(window).on("load scroll",e)},r.initMobileMenu=function(){c(document).on("click","#mobile-menu-toggle",function(e){var t=c("body");t.is(".mobile-menu-active")?c(document).trigger("close-mobile-menu"):t.addClass("mobile-menu-active")}),c(document).on("click","#mobile-menu-close",function(e){c(document).trigger("close-mobile-menu")}),c(document).on("touchstart click","body.mobile-menu-active #page",function(e){c(e.target).closest("#mobile-menu-toggle").length||c(document).trigger("close-mobile-menu")}),c(document).on("close-mobile-menu",function(){c("body").removeClass("mobile-menu-active")}),c("#mobile-menu-primary-navigation .menu-item").each(function(e,t){var n=c(this);c("> .sub-menu",n).length&&(n.addClass("menu-item-has-sub-menu"),n.append('<button type="button" class="toggle">Toggle</button>'))}),c("#mobile-menu-primary-navigation").on("click","button.toggle",function(e){var t,n,o=c(this).closest(".menu-item"),i=c("> .sub-menu",o);o.hasClass("active")?(o.removeClass("active"),t=i.outerHeight(),n=0,i.css({height:t}),setTimeout(function(){i.css({height:n})},10)):(o.addClass("active"),t=i.outerHeight(),i.css({height:"auto"}),n=i.outerHeight(),i.css({height:t}),setTimeout(function(){i.css({height:n})},10),setTimeout(function(){i.css({height:"auto"})},210))}),c("#mobile-menu-primary-navigation .menu-item-has-sub-menu.current-menu-item, #mobile-menu-primary-navigation .menu-item-has-sub-menu.current-menu-ancestor").each(function(e,t){c("> .toggle",t).trigger("click")}),c("#mobile-menu-search-toggle").on("click",function(e){var t=c("#mobile-menu .search-form");t.toggleClass("active"),t.hasClass("active")&&setTimeout(function(){c("input[type=search]",t).select()},10)})},r.initGalleries=function(){},r.initSliders=function(){},r.initModals=function(){c(document).on("submit","form.simple-subscribe-form",function(e){e.preventDefault();var t=c(this),n=t.attr("id").replace(/^gform_/,""),e=c(".ginput_container_email input",t).val(),t=c("#subscribe-modal");return t.length&&(c(".ginput_container_email input",t).val(e),t.modal("show")),window["gf_submitting_"+n]=!1}),c("#video-modal").on("show.bs.modal",function(e){var t=c(this),n=c(e.relatedTarget).attr("href"),e=c('<a target="_blank" class="oembed-link"></a>');
1e.text(n),e.attr("href",n),c(".modal-body",t).html(e),e.oembed(null,{afterEmbed:function(e,t){var n,o=c("#video-modal iframe");!o.length||(n=o.attr("src")).match(/youtube\.com/)&&!n.match("autoplay=1")&&(n+=(n.match(/\?/)?"&":"?")+"autoplay=1",o.attr("src",n))}})}).on("hidden.bs.modal",function(e){var t=c(this);c(".modal-body",t).html("")}),c(document).on("click","a",function(e){var t=c(this).attr("href");(t=t||"").match(/^https?:\/\/calendly\.com\/.+/)&&"undefined"!=typeof Calendly&&(e.preventDefault(),e={utmCampaign:"Signup",utmSource:crownThemeData.siteName,utmMedium:"Organic"},getQueryStringValue("program")&&(e.utmContent=getQueryStringValue("program")),Calendly.initPopupWidget({url:crownThemeData.calendlyUrlOverride||t,utm:e}))})},r.initSocialSharingLinks=function(){c(document).on("click",".social-sharing-links a",function(e){var t,n,o=c(this).parent();o.parent();o.hasClass("print")?(e.preventDefault(),window.print()):o.is(".facebook, .twitter, .linkedin, .google-plus, .pinterest, .houzz")&&(e.preventDefault(),t=600,n=400,o.hasClass("google-plus")&&(t=512),o.hasClass("pinterest")&&(t=750),o.hasClass("houzz")&&(t=800,n=460),e=screen.height/2-n/2-.1*screen.height,o=screen.width/2-t/2,window.open(c(this).attr("href"),"Share Link","top="+e+",left="+o+",toolbar=0,status=0,width="+t+",height="+n))});function e(){var n=(c("#pre-footer").length?c("#pre-footer"):c("#footer")).offset().top;c(".wp-block-crown-blocks-post-header .sticky-share-links").each(function(e,t){c(t).height(n-c(t).offset().top-200)}),c(".wp-block-crown-blocks-resource-header .sticky-share-links").each(function(e,t){c(t).height(n-c(t).offset().top-200)})}e(),c(window).on("load resize",e)},r.initMap=function(e,t){void 0===t&&(t=0),r.initMapSettings(),"undefined"!=typeof google&&(e.data("max-zoom",t),e.on("mapInitialized",function(e){var t=c(this).data("map-data");if(t.settings.points.length&&!t.markers.length){var n,o,i=null;for(n in"undefined"!=typeof InfoBox&&(i=new InfoBox({pixelOffset:new google.maps.Size(-120,-50),alignBottom:!0,closeBoxURL:""}),google.maps.event.addListener(t.map,"click",function(){i.close()})),t.bounds=new google.maps.LatLngBounds,t.settings.points){var a=t.settings.points[n],s=new google.maps.LatLng(a.lat,a.lng),l={markerIndex:parseInt(n),position:s,map:t.map,icon:d.markerImages.red,shape:d.markerShapes.default,title:a.title,data:a},a=new google.maps.Marker(l);i&&l.data.infoBoxContent&&google.maps.event.addListener(a,"click",function(){i.setOptions({boxClass:"infoBox"}),i.setContent(this.data.infoBoxContent),i.open(this.map,this),setTimeout(function(){i.setOptions({boxClass:"infoBox active"})},100)}),c(t.map.getDiv()).closest(".wp-block-crown-blocks-center-finder").length&&google.maps.event.addListener(a,"click",function(){var e=c(this.map.getDiv()).closest(".wp-block-crown-blocks-center-finder"),e=c('.locations article.location[data-location-id="'+this.data.locationId+'"]',e);e.length&&(e.trigger("click"),e.offset().top-32<c(window).scrollTop()?r.smoothScrollToPos(e.offset().top-32):e.offset().top+e.outerHeight()+32>c(window).scrollTop()+c(window).height()&&r.smoothScrollToPos(e.offset().top+e.outerHeight()+32-c(window).height()))}),t.markers.push(a),t.bounds.extend(s)}t.settings.points.length&&(t.map.fitBounds(t.bounds),o=parseInt(c(t.map.getDiv()).data("max-zoom")),google.maps.event.addListenerOnce(t.map,"idle",function(){var e=c(this.getDiv()).data("map-data"),t=0<o?o:e.settings.options.zoom;e.map.getZoom()>t&&e.map.setZoom(t)}))}}))},r.initPostFeeds=function(){c(".wp-block-crown-blocks-post-index").on("setArticleColors",function(e){var t=c(this);t.hasClass("wp-block-crown-blocks-post-index")&&c(".post-feed article:not(.post-format-tweet):not(.post-format-facebook-update) a",t).each(function(e,t){var n;c(this).hasClass("color-set")||(n=["blue","red","gray","dark-gray"],n=0==Math.floor(2*Math.random())?"dark-blue":n[Math.floor(Math.random()*Math.floor(n.length))],c(this).addClass("color-set color-"+n))})}),c(".wp-block-crown-blocks-post-index").trigger("setArticleColors"),c(".wp-block-crown-blocks-post-event-index").on("setArticleColors",function(e){var t=c(this);t.hasClass("wp-block-crown-blocks-post-event-index")&&c(".post-feed article a",t).each(function(e,t){var n;c(this).hasClass("color-set")||(n=(n=["primary","secondary","tertiary"])[Math.floor(Math.random()*Math.floor(n.length))],c(this).addClass("color-set color-"+n))})}),c(".wp-block-crown-blocks-post-event-index").trigger("setArticleColors"),c(document).on("click","form.feed-filters button.filters-toggle",function(e){var t=c(this).closest("form");t.toggleClass("active");var n=c(".filters-tabs",t);t.hasClass("active")?(n.height(0),n.height(c("> .inner",n).outerHeight()),setTimeout(function(){n.css({height:"auto"})},300)):(n.height(n.height()),setTimeout(function(){n.height(0)},10));var o=!1;c("input[type=text]",t).filter(function(e,t){return""!=c(t).val()}).length&&(o=!0),c("input[type=checkbox]:checked",t).length&&(o=!0),o?t.addClass("has-active-filters"):t.removeClass("has-active-filters")}),c(document).on("click","form.feed-filters button.filters-clear",function(e){var t=c(this).closest("form");c("input[type=text]",t).val(""),c("input[type=checkbox]",t).prop("checked",!1),t.trigger("submit")}),c(document).on("click","form.feed-filters button.filters-close",function(e){var t,n=c(this).closest("form");n.hasClass("active")&&(n.removeClass("active"),(t=c(".filters-tabs",n)).height(t.height()),setTimeout(function(){t.he
1ight(0)},100))}),c(document).on("click","form.feed-filters button.search-field-toggle",function(e){var t=c(this).closest("form");t.toggleClass("search-field-active"),t.hasClass("search-field-active")&&c(".search-field input",t).select()}),c(document).on("click","form.feed-filters .filters-nav button",function(e){var t,n,o=c(this).closest("li");o.hasClass("active")||(t=c(this).closest("form"),n=c(this).data("tab"),c(".filters-nav li.active",t).removeClass("active"),o.addClass("active"),c(".filters-tab.active",t).removeClass("active"),c(".filters-tab",t).filter(function(e,t){return c(t).data("tab")==n}).addClass("active"))}),c("form.feed-filters .filters-nav").each(function(e,t){c("button:first",t).trigger("click"),c("li",t).length<2&&c(t).addClass("hidden")}),c(document).on("change","form.feed-filters ul.options.singular input",function(e){var t=c(this).closest("ul");c("input",t).not(c(this)).prop("checked",!1)}),c(document).on("change","form.feed-filters ul.options.singular input",function(e){var t=c(this).closest("ul");c("input",t).not(c(this)).prop("checked",!1)}),c(document).on("change",".post-feed-block form.feed-filters input",function(e){c(this).closest("form").trigger("submit")}),c(document).on("submit",".post-feed-block form.feed-filters",function(e){e.preventDefault();var t=c(this).serialize(),e=c(this).attr("action");""!=t&&(e+=(c(this).attr("action").match(/\?/)?"&":"?")+t),r.updatePostFeedBlock(c(this).closest(".post-feed-block"),e);e=!1;c("input[type=text]",this).filter(function(e,t){return""!=c(t).val()}).length&&(e=!0),c("input[type=checkbox]:checked",this).length&&(e=!0),e?c(this).addClass("has-active-filters"):c(this).removeClass("has-active-filters")}),c(document).on("click",".post-feed-block .pagination a",function(e){e.preventDefault(),r.updatePostFeedBlock(c(this).closest(".post-feed-block"),c(this).attr("href"))});var n=getQueryStringValue("filter");n&&(c("form.feed-filters button.filters-toggle").trigger("click"),c("form.feed-filters .filters-nav button").filter(function(e,t){return c(t).data("tab")==n}).trigger("click"))},r.updatePostFeedBlock=function(e,t){t.match(/^\//)&&(t=crownThemeData.baseUrl+t);var n=e.attr("id");c(".ajax-loader",e).addClass(c(".ajax-loader",e).hasClass("infinite")&&t.match(/\/page\/\d+\//)?"loading-page":"loading"),null!=history.replaceState&&history.replaceState("",document.title,t),c.get(crownThemeData.ajaxUrl,{action:"get_ajax_content",url:t,id:n},function(e){var t,n=e.id,o=c("#"+n);o.length&&(!e.content||(t=c("#"+n+" .ajax-content",e.content)).length&&((n=c(".ajax-content .infinite-loader-container",o)).length&&e.url.match(/\/page\/\d+\//)?(n.append(c(".infinite-loader-container",t).children()),c(".pagination-wrapper",o).remove(),c(".pagination-wrapper.infinite",t).length&&c(".ajax-content",o).append(c(".pagination-wrapper.infinite",t))):(c(".ajax-content",o).html(t.html()),o.offset().top<c(window).scrollTop()&&r.smoothScrollToElement(o)),o.trigger("setArticleColors")),c(".ajax-loader",o).removeClass("loading loading-page"))},"json")},r.initParallax=function(){c(".bg-image.rellax").length&&(e.bgImages=new Rellax(".bg-image.rellax",{center:!0})),c(".bg-video.rellax").length&&(e.bgVideos=new Rellax(".bg-video.rellax",{center:!0})),c(".wp-block-crown-blocks-container.rellax").length&&(e.blockContainers=new Rellax(".wp-block-crown-blocks-container.rellax",{center:!0,speed:-1})),setTimeout(function(){c(window).trigger("resize")},1e3)},r.initScrollReveal=function(){c(".scroll-reveal-fade").addClass("scroll-reveal-initialized");function e(){var n=c(window).scrollTop(),o=c(window).height();c(".scroll-reveal-initialized:not(.animated)").each(function(e,t){t=c(t);t.offset().top<=n+.75*o&&t.addClass("animated")}),c(".wp-block-crown-blocks-container.is-style-inset-border").each(function(e,t){t=c(t);t.offset().top<=n+.75*o&&t.addClass("animated")}),c(".wp-block-crown-blocks-container.has-animated-star-bg > .container-bg > .inner > .animated-star:not(.animated)").each(function(e,t){t=c(t);t.offset().top<=n+.75*o&&t.addClass("animated")})}e(),c(window).on("load scroll",e)},r.initGrowingBgs=function(){function e(){var a=c(window).scrollTop(),s=c(window).height();c(".wp-block-crown-blocks-container.growing-bg.has-bg-image").each(function(e,t){var n=c(t),o=c("> .container-bg > .inner",n),i=c("> .container-bg .bg-image",n),t=Math.min(a,n.offset().top+n.height()-s/2),n=(a+s/2)/(n.offset().top+n.height()/2)-1;console.log(n),o.css({transform:"translate3d(0, "+t+"px, 0) scale("+(.5*n+1.82)+")"}),i.css({transform:"translate3d(0, 0, 0) scale("+(a/2e3+1)+")"})})}e(),c(window).on("load scroll",e)},r.initButtons=function(){c(document).on("click",".wp-block-crown-blocks-button .btn",function(e){c(this).data("target")&&c(this).data("target").match(/^#form-event-registration-zoom-meeting-[\d]*$/)&&c(c(this).data("target")).length&&c(this).closest(".wp-block-crown-blocks-button").css({display:"none"})})},r.initContainerBlocks=function(){function e(){var n=c("body").width();c(".wp-block-crown-blocks-container.bg-flush-right").each(function(e,t){t=c(t);c("> .container-bg",t).css({right:Math.min(0,t.offset().left+t.outerWidth()-n)})}),c(".wp-block-crown-blocks-container.bg-flush-left").each(function(e,t){t=c(t);c("> .container-bg",t).css({left:Math.min(0,-t.offset().left)})})}e(),c(window).on("load resize",e),c(".wp-block-crown-blocks-container.has-animated-star-bg").each(function(e,t){var n=c(t),t=c("#
1svg-asset-star svg").clone();c("> .container-bg > .inner",n).append(t),t.wrap('<div class="animated-star"></div>')})},r.initMultiColumnBlocks=function(){var e=function(){c(".wp-block-crown-blocks-multi-column.sticky-scroll").each(function(e,t){var n=c("> .inner > .multi-column-columns > .inner > .wp-block-crown-blocks-column",t);n.removeClass("sticky-column scroll-column"),c("> .inner",n).css({alignSelf:"flex-start",position:"static",top:0});var o=null,t=null;n.first().find("> .inner").height()<n.last().find("> .inner").height()?(o=n.first(),t=n.last()):(t=n.first(),o=n.last()),o.addClass("sticky-column"),t.addClass("scroll-column"),c("> .inner",o).css({position:"sticky",top:Math.max(0,(c(window).height()-c("> .inner",o).height())/2)})})};e(),c(window).on("load resize",e);e=function(){var o=c(window).scrollTop(),i=c(window).height();c(".wp-block-crown-blocks-multi-column.sticky-scroll").each(function(e,t){c("> .inner > .multi-column-columns > .inner > .wp-block-crown-blocks-column.sticky-column",t);t=c("> .inner > .multi-column-columns > .inner > .wp-block-crown-blocks-column.scroll-column",t);c("> .inner > .column-contents > .inner",t).children().each(function(e,t){var n=c(t).offset().top,n=Math.min(1,Math.max(0,1-(n-o-i/2)/(.4*i)));c(t).css({opacity:n})})})};e(),c(window).on("load scroll",e)},r.initExpandableContentBlocks=function(){c(document).on("click",".wp-block-crown-blocks-expandable-content .expandable-content-toggle button",function(){var e=c(this).closest(".wp-block-crown-blocks-expandable-content"),t=c("> .inner > .expandable-content-contents",e);e.css({minHeight:e.outerHeight()}),e.addClass("expanded"),t.css({height:c("> .inner",t).outerHeight()}),setTimeout(function(){t.css({height:"auto"})},500)})},r.initTabbedContentBlocks=function(){c(".tabbed-content-image-slider").each(function(e,t){var o=c(t),n="image-slider-"+Math.random().toString(16).slice(2);o.attr("id",n);t=c(c(t).data("selector"));t.length&&t.hasClass("wp-block-crown-blocks-tabbed-content")&&((t=c("> .inner > .tabbed-content-tabs > .inner",t)).data("as-nav-for","#"+n),c("> .wp-block-crown-blocks-tabbed-content-tab",t).each(function(e,t){var n=c('<div class="tab-image"></div>'),t=c("> .inner > .tab-image img",t);t.length&&n.append(t.clone()),o.append(n)}),o.on("setPosition",function(e,t){var n=c(".slick-track",t.$slider),t=c(".slick-slide",t.$slider);t.css({height:"auto"}),t.css({height:n.height()})}).slick({draggable:!1,dots:!1,arrows:!1,fade:!0}))}),c(".wp-block-crown-blocks-tabbed-content:not(.type-grid):not(.type-accordion)").each(function(e,t){var n,o=c(".tabbed-content-tabs > .inner",t);o.hasClass("slick-initialized")||(n=c('<div class="slick-slider-nav"></div>'),c(".tabbed-content-tabs",t).before(n),o.children().wrap("<div></div>"),n={mobileFirst:!0,draggable:!1,dots:!0,arrows:!1,fade:!0,appendDots:n,asNavFor:o.data("as-nav-for")||null,adaptiveHeight:!0,customPaging:function(e,t){var n=c("> .wp-block-crown-blocks-tabbed-content-tab > .inner > .tab-title",e.$slides[t]),e=n?n.text():"",n=c('<button type="button"></button');return n.append('<span class="index">'+padNumber(t+1,2)+"<span>"),""!=e&&n.append(' <span class="label">'+e+"<span>"),n.append(' <span class="indicator"><span></span></span>'),n}},o.slick(n))}),c(".wp-block-crown-blocks-tabbed-content.type-grid").each(function(e,t){var t=c(t),i=c('<nav class="tabbed-content-nav"><ul class="menu"></ul></nav>');c("> .inner",t).prepend(i),c("> .inner > .tabbed-content-tabs > .inner > .wp-block-crown-blocks-tabbed-content-tab",t).each(function(e,t){var n=c(t),o=c("> .inner > .tab-title",n).length?c("> .inner > .tab-title",n).text():"",t=c('<button type="button"><span class="inner"></span></button>');t.data("tab-index",e),n.data("tab-index",e),c("> .inner",t).append('<span class="index">'+padNumber(e+1,2)+"<span>"),""!=o&&c("> .inner",t).append(' <span class="label">'+o+"<span>"),c("> .inner",t).append(' <span class="indicator"><span></span></span>'),c(".menu",i).append(t),t.wrap('<li class="menu-item"></li>')})}),c(document).on("click",".wp-block-crown-blocks-tabbed-content.type-grid > .inner > .tabbed-content-nav button",function(e){var t=c(this).closest(".wp-block-crown-blocks-tabbed-content"),o=c(this).closest(".menu-item"),n=c(this).closest(".menu"),i=c(this).data("tab-index");if(o.hasClass("active"))o.removeClass("active"),c(".drawer",n).each(function(e,t){var n=c(t);c("> .inner",n).css({height:n.height()}),n.removeClass("active"),setTimeout(function(){c("> .inner",n).css({height:0})},100),setTimeout(function(){n.remove()},600)});else{c(".menu-item.active",n).removeClass("active"),o.addClass("active");for(var a=c("> .inner > .tabbed-content-tabs > .inner > .wp-block-crown-blocks-tabbed-content-tab",t).eq(i).clone(),s=o;s.nextAll(".menu-item").length&&s.nextAll(".menu-item").first().offset().top==o.offset().top;)s=s.nextAll(".menu-item").first();var l=s.next(".drawer");l.length||(l=c('<li class="drawer"><div class="inner"></div></li>'),s.after(l),l.closest(".text-color-light, .text-color-dark").hasClass("text-color-light")?l.addClass("text-color-dark"):l.addClass("text-color-light")),c(".drawer",n).not(l).each(function(e,t){var n=c(t);n.hide();t=o.offset().top;n.show(),c("> .inner",n).css({height:n.height()}),n.removeClass("active"),setTimeout(function(){c("> .inner",n).css({height:0})},100),setTimeout(function(){n.remove()},500),r.smoothScrollToPos(t)}),c("> .inner",l).css({height:l.hasClass("active")?l.height():0}),c("> .inner",l).html(a),c(" > .inner",a).css({maxWidth:n.parent().width()}),l.addClass("active"),setTimeout(function(){c("> .inner",l).css({height:a.outerHeight()})},100),setTimeout(function(){c("> .inner",l).css({height:"auto"})},600)}}),c(window).on("resize",function(){c(".wp-block-crown-blocks-tabbed-content.type-grid .tabbed-content-nav .drawer").each(function(e,t){var n=c(t),t=n.closest(".menu"),o=c("> .menu-item.active",t);n.hide();for(var i=o;i.nextAll(".menu-item").length&&i.nextAll(".menu-item").first().offset().top==o.offset().top;)i=i.nextAll(".menu-item").first();i.next(".drawer").length&&i.next(".drawer").is(n)||i.after(n),n.show(),c("> .inner > .wp-block-crown-blocks-tabbed-content-tab > .inner").css({maxWidth:t.parent().width()})})}),c(document).on("click",".wp-block-crown-blocks-tabbed-content.type-accordion > .inner > .tabbed-content-tabs > .inner > .wp-block-crown-blocks-tabbed-content-tab > .inner > .tab-title",function(e){var t,n,o=c(this).closest(".wp-block-crown-blocks-tabbed-content-tab"),i=c("> .inner > .tab-contents",o);o.hasClass("active")?(o.removeClass("active"),t=i.outerHeight(),n=0,i.css({height:t}),setTimeout(function(){i.css({height:n})},10)):(o.addClass("active"),t=i.outerHeight(),i.css({height:"auto"}),n=i.outerHeight(),i.css({height:t}),setTimeout(function(){i.css({height:n})},10),setTimeout(function(){i.css({height:"auto"})},210))})},r.initTestimonialSliderBlocks=function(){c(".wp-block-crown-blocks-testimonial-slider").each(function(e,t){var n,o=c(".testimonial-slider-testimonials > .inner",t);o.hasClass("slick-initialized")||(n=c('<div class="slick-slider-nav"></div>'),c(".testimonial-slider-testimonials",t).before(n),o.children().wrap("<div></div>"),n={mobileFirst:!0,draggable:!1,dots:!1,arrows:!0,fade:!0,appendArrows:n,adaptiveHeight:!0},o.on("init",function(e,t){var n=t.$slider.closest(".wp-block-crown-blocks-testimonial-slider"),n=c(".slick-slider-nav",n);c(".status",n).remove(),1<t.slideCount&&n.append('<span class="status"><span class="current">'+(t.currentSlide+1)+'</span> <span class="of">of</span> <span class="total">'+t.slideCount+"</span></span>")}).on("beforeChange",function(e,t,n,o){var i=t.$slider.closest(".wp-block-crown-blocks-testimonial-slider"),i=c(".slick-slider-nav",i);c(".status",i).remove(),1<t.slideCount&&i.append('<span class="status"><span class="current">'+(o+1)+'</span> <span class="of">of</span> <span class="total">'+t.slideCount+"</span></span>")}).slick(n))})},r.initContentSliderBlocks=function(){c(".wp-block-crown-blocks-content-slider").each(function(e,t){t=c("> .inner",t);t.hasClass("slick-initialized")||t.slick({mobileFirst:!0,draggable:!0,dots:!0,arrows:!1,fade:!1})})},r.initTwoColumnScrollSliderBlocks=function(){c(".wp-block-crown-blocks-two-column-scroll-slider").each(function(e,t){var n=c(t),o=c("> .inner",n),i=o.clone();i.addClass("slider");var a=c('<div class="column"></div>'),s=c('<div class="column"></div>'),t=c("> .wp-block-crown-blocks-two-column-scroll-slider-slide",i);t.each(function(e,t){a.append(c("> .inner > .wp-block-crown-blocks-container:eq(0)",t)),s.append(c("> .inner > .wp-block-crown-blocks-container:eq(0)",t))}),t.remove(),i.append(a).append(s),o.addClass("static"),n.append(i)});function e(){var l=c(window).height(),n=c("body").width();c(".wp-block-crown-blocks-two-column-scroll-slider > .inner.slider").each(function(e,t){var t=c(t),i=c("> .column:eq(0)",t),a=c("> .column:eq(1)",t),s=c("html").offset().top;768<=n&&t.closest(".wp-block-crown-blocks-section-nav").length&&(s+=t.closest(".wp-block-crown-blocks-section-nav").find("> .inner > .section-nav-nav").outerHeight()),c("> .column > .wp-block-crown-blocks-container",t).css({minHeight:l-s}),c("> .wp-block-crown-blocks-container",i).each(function(e,t){var n=c("> .wp-block-crown-blocks-container:eq("+e+")",i),o=c("> .wp-block-crown-blocks-container:eq("+e+")",a);n.css({height:"auto"}),o.css({height:"auto"});e=Math.max(n.outerHeight(),o.outerHeight());n.css({height:e}),o.css({height:e}),e<=l-s?(n.addClass("sticky").css({top:s}),o.addClass("sticky").css({top:s})):(n.removeClass("sticky").css({top:0}),o.removeClass("sticky").css({top:0}))})})}e(),c(window).on("load resize",e)},r.initFeaturedEventsBlocks=function(){c(".wp-block-crown-blocks-featured-events.configuration-sli
1der").each(function(e,t){t=c(".post-feed > .inner",t);t.hasClass("slick-initialized")||t.slick({mobileFirst:!0,draggable:!0,dots:!0,arrows:!1,slidesToShow:1,slidesToScroll:1})})},r.initFeaturedClientStorySliderBlocks=function(){function e(){var i=c("body").width();c(".wp-block-crown-blocks-featured-client-story-slider.slider-flush-right").each(function(e,t){var n=c(t),o=c("> .inner",t),t=Math.min(0,n.offset().left+n.outerWidth()-i);o.css({marginRight:t,width:n.width()-t})})}e(),c(window).on("load resize",e),c(".wp-block-crown-blocks-featured-client-story-slider").each(function(e,t){t=c(".post-feed > .inner",t);t.hasClass("slick-initialized")||t.on("setPosition",function(e,t){var n=c(".slick-track",t.$slider),t=c(".slick-slide",t.$slider);t.css({height:"auto"}),t.css({height:n.height()})}).slick({mobileFirst:!0,draggable:!1,dots:!1,arrows:!0,fade:!0,adaptiveHeight:!1})})},r.initFeaturedPostSliderBlocks=function(){function e(){var o=c("body").width();c(".wp-block-crown-blocks-featured-post-slider.slider-flush-right").each(function(e,t){var n=c(t);c(".post-feed",t).css({marginRight:Math.min(0,n.offset().left+n.outerWidth()-o)})})}e(),c(window).on("load resize",e),c(".wp-block-crown-blocks-featured-post-slider").each(function(e,t){var n=c(".post-feed > .inner",t);n.hasClass("slick-initialized")||(t=c('<div class="post-feed-nav"></div>'),n.parent().after(t),t={mobileFirst:!0,draggable:!0,dots:!1,arrows:!0,appendArrows:t,fade:!1,slidesToShow:1,slidesToScroll:1,responsive:[{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{slidesToShow:3,slidesToScroll:3}}]},n.slick(t))})},r.initFeaturedResourceSliderBlocks=function(){c(".wp-block-crown-blocks-featured-resource-slider").each(function(e,t){t=c(".post-feed > .inner",t);t.hasClass("slick-initialized")||t.on("setPosition",function(e,t){var n=c(".slick-track",t.$slider),t=c(".slick-slide",t.$slider);t.css({height:"auto"}),t.css({height:n.height()})}).slick({mobileFirst:!0,draggable:!0,dots:!1,arrows:!0,fade:!1,slidesToShow:1,slidesToScroll:1,responsive:[{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{slidesToShow:3,slidesToScroll:3}}]})})},r.initFeaturedWebinarSliderBlocks=function(){c(".wp-block-crown-blocks-featured-webinar-slider").each(function(e,t){t=c(".post-feed > .inner",t);t.hasClass("slick-initialized")||t.on("setPosition",function(e,t){var n=c(".slick-track",t.$slider),t=c(".slick-slide",t.$slider);t.css({height:"auto"}),t.css({height:n.height()})}).slick({mobileFirst:!0,draggable:!0,dots:!1,arrows:!0,fade:!1,slidesToShow:1,slidesToScroll:1,responsive:[{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:991,settings:{slidesToShow:3,slidesToScroll:3}}]})})},r.initCenterFinderBlocks=function(){c(".wp-block-crown-blocks-center-finder").each(function(e,t){t=c(t);r.initMap(c(".google-map",t)),t.on("click",".locations article.location",function(e){var t=c(this);if(!t.hasClass("active")){var n=c(this).closest(".wp-block-crown-blocks-center-finder");c(".locations article.location.active",n).removeClass("active");var o=t.clone();t.addClass("active"),c(".preview",n).html(o);var i=parseInt(t.data("location-id")),t=c(".map .google-map",n);if(t.hasClass("map-initialized")){var a,s=t.data("map-data");for(a in s.markers)s.markers[a].setIcon(d.markerImages.red);n=s.markers.find(function(e){return e.data.locationId==i});void 0!==n&&n.setIcon(d.markerImages.blue)}else t.on("mapInitialized",function(e){var t,n=c(this).data("map-data");for(t in n.markers)n.markers[t].setIcon(d.markerImages.red);var o=n.markers.find(function(e){return e.data.locationId==i});void 0!==o&&o.setIcon(d.markerImages.blue)})}}),c(".locations article.location:first",t).trigger("click")})},r.initSectionNavBlocks=function(){c(".wp-block-crown-blocks-section-nav").each(function(e,t){var t=c(t),n=c('<nav class="section-nav-nav"><div class="inner"><ul class="menu"></ul></div></nav>');c(".section-nav-contents",t).before(n),c(".section-nav-title",t).length&&c("> .inner",n).prepend("<h2>"+c(".section-nav-title",t).text()+"</h2>"),c(".wp-block-crown-blocks-section-nav-content",t).each(function(e,t){t=c(t),e="Section "+(e+1);c(".section-nav-content-title",t).length&&(e=c(".section-nav-content-title",t).text()),c(".menu",n).append('<li><a href="#">'+e+"</a></li>")}),c(window).trigger("load")}),c(document).on("click",".wp-block-crown-blocks-section-nav .section-nav-nav .menu a",function(e){e.preventDefault();var t,n=c(this).closest(".wp-block-crown-blocks-section-nav"),e=c(this).parent().index();0==e?(t=0,n.hasClass("layout-sidebar")&&(t=32),r.smoothScrollToElement(n,1e3,-t)):(e=c(".section-nav-contents > .inner > .wp-block-crown-blocks-section-nav-content",n).eq(e),t=768<=c("body").width()?c(".section-nav-nav",n).outerHeight():0,n.hasClass("layout-sidebar")&&(t=32),r.smoothScrollToElement(e,1e3,-t))});function e(){var i=c(window).scrollTop(),a=c(window).height();c(".wp-block-crown-blocks-section-nav").each(function(e,t){for(var n=c(t),t=c("> .inner > .section-nav-nav",n),o=c("> .inner > .section-nav-contents > .inner > .wp-block-crown-blocks-section-nav-content",n).first();o.next().length&&o.next().offset().top<i+a/2;)o=o.next();n=c(".menu li:eq("+o.index()+")",t);n.hasClass("active")||(c(".menu li.active",t).removeClass("active"),n.addClass("active"))})}c(".wp-block-crown-blocks-section-nav").length&&(e(),c(window).on("load scroll resize",e))},r.initTeamMemberIndexBlocks=function(){c(document).on("click",".wp-block-crown-blocks-team-member-index article.team_member > a",function(e){e.preventDefault();c(this).closest(".wp-block-crown-blocks-team-member-index");var o=c(this).closest("article"),t=o.parent();if(o.hasClass("active"))o.removeClass("active"),c(".drawer",t).each(function(e,t){var n=c(t);c("> .inner",n).css({height:n.height()}),n.removeClass("active"),setTimeout(function(){c("> .inner",n).css({height:0})},100),setTimeout(function(){n.remove()},600)});else{c("> article.active",t).removeClass("active"),o.addClass("active");for(var i=c(".entry-teaser",o).offset().top,n=o;n.nextAll("article").length&&n.nextAll("article").first().offset().top==o.offset().top;)n=n.nextAll("article").first();e=n.next(".drawer");e.length||(e=c('<div class="drawer"><div class="inner"></div></div>'),n.after(e)),c(".drawer",t).not(e).each(function(e,t){var n=c(t);n.hide(),i=c(".entry-teaser",o).offset().top,n.show(),c("> .inner",n).css({height:n.height()}),n.removeClass("active"),setTimeout(function(){c("> .inner",n).css({height:0})},100),setTimeout(function(){n.remove()},500)}),o.addClass("loading"),c.get(crownThemeData.ajaxUrl,{action:"get_block_team_member_index_member_details",id:c(this).data("post-id")},function(e){var t,n,o=c(".wp-block-crown-blocks-team-member-index article.active.post-"+e.id);o.length&&(t=o.nextAll(".drawer").first(),e.content&&t.length&&(o.removeClass("loading"),n=c(e.content),c(">
1 .inner",n).prepend('<button type="button" class="drawer-close">Close</button>'),c("> .inner",t).css({height:t.hasClass("active")?t.height():0}),c("> .inner",t).html(n),t.addClass("active"),setTimeout(function(){c("> .inner",t).css({height:n.outerHeight()})},100),setTimeout(function(){c("> .inner",t).css({height:"auto"})},600),e=["dark-blue","blue","red","gray","dark-gray"],n.attr("data-color",e[Math.floor(Math.random()*Math.floor(e.length))])))},"json"),r.smoothScrollToPos(i,500,-32)}}),c(document).on("click",".wp-block-crown-blocks-team-member-index .post-feed .drawer button.drawer-close",function(e){var t=c(this).closest(".drawer");t.siblings("article.active").removeClass("active"),c("> .inner",t).css({height:t.height()}),t.removeClass("active"),setTimeout(function(){c("> .inner",t).css({height:0})},100),setTimeout(function(){t.remove()},600)}),c(window).on("resize",function(){c(".wp-block-crown-blocks-team-member-index .post-feed .drawer").each(function(e,t){var n=c(t),t=n.parent(),o=c("> article.active",t);n.hide();for(var i=o;i.nextAll("article").length&&i.nextAll("article").first().offset().top==o.offset().top;)i=i.nextAll("article").first();i.next(".drawer").length&&i.next(".drawer").is(n)||i.after(n),n.show();n=c("> .inner",n).children().first();o.offset().left==o.parent().offset().left?n.addClass("flipped"):n.removeClass("flipped")})})},r.initHoverContainerBlocks=function(){function e(){c(".wp-block-crown-blocks-hover-container").each(function(e,t){var n=c(t);n.hasClass("hover")||(t=c(".details",n),(n=c(".container-contents > .inner",n)).css({minHeight:0}),t.css({height:"auto"}),n.css({minHeight:n.height()}),t.css({height:0}))})}e(),c(window).on("load resize",e),c(document).on("mouseenter",".wp-block-crown-blocks-hover-container",function(e){var t=c(this);t.addClass("hover");var n=c(".details",t);n.css({height:c("> .inner",n).outerHeight()}),setTimeout(function(){n.css({height:"auto"})},200)}).on("mouseleave",".wp-block-crown-blocks-hover-container",function(e){var t=c(this);t.removeClass("hover");var n=c(".details",t);n.css({height:c("> .inner",n).outerHeight()}),setTimeout(function(){n.css({height:0})},0)})},r.initDropdownNavMenuBlocks=function(){c(document).on("click",".wp-block-crown-blocks-dropdown-nav-menu .menu-toggle",function(e){var t=c(this).closest(".wp-block-crown-blocks-dropdown-nav-menu"),n=c(".menu",t),o=n.height(),i=0;n.css({height:o}),t.toggleClass("active"),t.hasClass("active")&&(i=c("> .inner",n).outerHeight()),setTimeout(function(){n.css({height:i})},10),t.hasClass("active")&&setTimeout(function(){n.css({height:"auto"})},210)}),c(document).on("click",function(e){var t=(t=c(e.target).closest(".menu-toggle").closest(".wp-block-crown-blocks-dropdown-nav-menu")).length?t:c(e.target).closest(".menu").closest(".wp-block-crown-blocks-dropdown-nav-menu");c(".wp-block-crown-blocks-dropdown-nav-menu.active").not(t).find(".menu-toggle").trigger("click")})},r.initNavMenuBlocks=function(){var i=document.location.href;c(".wp-block-crown-blocks-nav-menu .wp-block-crown-blocks-dropdown-nav-menu-item").each(function(e,t){var n=c(this),o=c("a",n).attr("href");i==o&&n.addClass("current-menu-item")})},r.initChampionFinderBlocks=function(){function e(){var o=c("body").width();c(".wp-block-crown-blocks-champion-finder").each(function(e,t){var n=c(t);c(".google-map",t).css({width:"auto",right:Math.min(0,n.offset().left+n.outerWidth()-o)})})}e(),c(window).on("load resize",e),c(".wp-block-crown-blocks-champion-finder").each(function(e,t){t=c(t);r.initMap(c(".google-map",t),10),t.on("click",".results article.champion",function(e){var t=c(this);if(!t.hasClass("active")){var n=c(this).closest(".wp-block-crown-blocks-champion-finder");c(".results article.champion.active",n).removeClass("active"),t.addClass("active");var i=parseInt(t.data("champion-id")),t=c(".map-container .google-map",n);if(t.hasClass("map-initialized")){var o,a=t.data("map-data");for(o in a.markers)a.markers[o].setIcon(d.markerImages.red);n=a.markers.find(function(e){return e.data.id==i});void 0!==n&&n.setIcon(d.markerImages.blue)}else t.on("mapInitialized",function(e){var t,n=c(this).data("map-data");for(t in n.markers)n.markers[t].setIcon(d.markerImages.red);var o=n.markers.find(function(e){return e.data.id==i});void 0!==o&&o.setIcon(d.markerImages.blue)})}}),c(".results article.champion:first",t).trigger("click")})},r.initDevBlocks=function(){c(".content-slider").each(function(e,t){c(t).on("setPosition",function(e,t){var n=c(".slick-track",t.$slider),t=c(".slick-slide",t.$
1slider);t.css({height:"auto"}),t.css({height:n.height()})}).slick({mobileFirst:!0,draggable:!1,dots:!1,arrows:!0,fade:!0,adaptiveHeight:!1})}),c(".news-slider").each(function(e,t){c(t).on("setPosition",function(e,t){var n=c(".slick-track",t.$slider),t=c(".slick-slide",t.$slider);t.css({height:"auto"}),t.css({height:n.height()})}).slick({mobileFirst:!0,draggable:!1,dots:!1,arrows:!0,slidesToShow:2,slidesToScroll:2,adaptiveHeight:!1})}),c(".client-story-slider").each(function(e,t){c(t).on("setPosition",function(e,t){var n=c(".slick-track",t.$slider),t=c(".slick-slide",t.$slider);t.css({height:"auto"}),t.css({height:n.height()})}).slick({mobileFirst:!0,draggable:!1,dots:!1,arrows:!0,fade:!0,adaptiveHeight:!1})})},r.initGFBlocks=function(){c(document).on("click",".intake-form_wrapper .gfield.accordion .gfield_label",function(e){c(this).closest(".gfield").toggleClass("expanded")}),c(document).on("gform_post_render",function(e,t,n){c("#gform_"+t+" .gfield.helper-description").each(function(e,t){var n=c(".gfield_description",t).html(),o=c('<span class="gfield-tooltip" data-toggle="tooltip" data-html="true">Info</span>');o.attr("title",n);n=c(".gform-field-label",t);c(t).hasClass("hidden_label")&&c(t).prev(".gfield.gsection").length&&(n=c(t).prev(".gfield.gsection").find(".gsection_title")),n.append(o),o.tooltip()}),c(".intake-form_wrapper .gfield.accordion").each(function(e,t){c(t).is(".gfield--type-checkbox")&&c("input[type=checkbox]:checked",t).length&&c(t).addClass("expanded"),c(t).is(".gfield--type-text")&&""!=c("input[type=text]",t).val()&&c(t).addClass("expanded")}),c(".gfield.gsection.hide-if-fields-completed").each(function(e,t){var n=c(t),t=n.nextUntil(".gsection"),o=!0;t.each(function(e,t){if(""==c("input",t).val())return o=!1}),o?(n.hide(),t.hide()):(n.show(),t.show())}),c(".gfield--type-list").each(function(e,t){var n=c(t);c(".ginput_container .btn-add-item",n).length||(t=c(".gfield_label",n).text(),t=c('<button type="button" class="btn btn-add-item">'+(t=""==t?"Add Item":t)+"</button>"),c(".ginput_container",n).append(t)),c(".gfield_list_group",n).length<=1&&c(".gfield_list",n).addClass("d-none")})}),c(document).on("click",".gfield--type-list .btn-add-item",function(e){var t=c(this).siblings(".gfield_list");t.hasClass("d-none")&&t.removeClass("d-none"),c(".gfield_list_group",t).last().find(".add_list_item").trigger("click")}),gform.addAction("gform_list_post_item_delete",function(e){c(".gfield_list_group",e).length<=1&&e.addClass("d-none")}),c(document).on("celebrate",function(e){function t(e,t){return Math.random()*(t-e)+e}var n=Date.now()+5e3,o={startVelocity:30,spread:360,ticks:60,zIndex:0},i=setInterval(function(){var e=n-Date.now();if(e<=0)return clearInterval(i);e=e/5e3*50;confetti(Object.assign({},o,{particleCount:e,origin:{x:t(.1,.3),y:Math.random()-.2}})),confetti(Object.assign({},o,{particleCount:e,origin:{x:t(.7,.9),y:Math.random()-.2}}))},250)}),c(window).on("load",function(e){(c(".gform_confirmation_wrapper.celebrate-success").length||c(".trigger-celebrate-success").length)&&c(document).trigger("celebrate")}),c(document).on("gform_confirmation_loaded",function(e,t){c("#gform_confirmation_wrapper_"+t+".gform_confirmation_wrapper.celebrate-success").length&&c(document).trigger("celebrate")}),c(document).on("submit",".gform_wrapper form.confirm-submission",function(e){var t=c(this),n=t.data("formid");if(window["gf_submitting_confirmed_"+n])return!0;e.preventDefault(),window["gf_submitting_"+n]=!1,c(".gform_ajax_spinner").remove(),c("#form-confirm-modal button.btn-primary").data("formid",n),c("#form-confirm-modal").modal("show");n=39==n?"Confirm Impact Entries":"Confirm Form Submission";c("#form-confirm-modal .modal-title").text(n);var i=c("#form-confirm-modal .form-data");return i.html(""),c(".gfield:visible:not(.gfield--type-html, .gfield--type-hidden), .gfield.gfield--type-html.display-in-confirm-modal",t).each(function(e,t){var n,a,o=c(t);o.is(".gfield--type-section")?""!=(t=c(".gsection_title",o).text())&&i.append('<h4 style="margin-bottom: 1rem; font-size: .75rem; margin-top: 1.5rem; border-bottom: 1px solid rgb(3, 32, 64); text-transform: uppercase; letter-spacing: .1em; padding-bottom: 2px;">'+t+"</h4>"):o.is(".gfield--type-html.display-in-confirm-modal")?(n=c(o).html(),i.append('<div style="margin-bottom: 1rem;">'+n+"</div>")):(n=c(".gfield_label",o).text(),c(".gfield_label .gftt-label",o).length&&(n=c(".gfield_label .gftt-label",o).text()),n=n.replace(/\(Required\)|\*$/,""),a="",o.is(".gfield--type-choice")?(a=[],c(".ginput_container input:checked",o).each(function(e,t){""!=c(t).val()&&a.push(c("+ label",t).text())}),a=a.join(", ")):o.is(".gfield--type-select")?(a=[],c(".ginput_container select option:selected",o).each(function(e,t){""!=c(t).val()&&a.push(c(t).text())}),a=a.join(", ")):c(".ginput_complex",o).length?(a=[],c(".ginput_complex input:visible, .ginput_complex select:visible option:selected",o).each(function(e,t){c(t).is("option")?""!=c(t).val()&&a.push(c(t).text()):a.push(c(t).val())}),a=a.join(", ")):o.is(".gfield--type-list")?(console.log("LIST"),a=[],c(".gfield_list_group",o).each(function(e,t){var n=c(".gfield_list_cell",t).length,o=[],i=!1;c(".gfield_list_cell",t).each(function(e,t){c("select",t).length?(o.push(c("select option:selected",t).text()),""!=c("select option:selected",t).val()&&(i=!0)):(o.push(c("input",t).val()),""!=c("input",t).val()&&(i=!0))}),i&&(2==n?a.push(o.join(": ")):a.push(o.join(", ")))}),a=a.join("<br>")):c(".ginput_container input",o).length?a=c(".ginput_container input",o).val():c(".ginput_container textarea",o).length&&(a=c(".ginput_container textarea",o).val()),""==a&&(a='<sp
1an style="opacity: .5;">[BLANK]</span>'),i.append('<p style="margin-bottom: 1rem;"><strong style="display: block; font-size: 0.75rem; opacity: .5; font-weight: 400; margin-bottom: .25rem">'+n+":</strong>"+a+"</p>"))}),!1});var e=c('<div id="form-confirm-modal" class="modal" tabindex="-1"><div class="modal-dialog" style="max-width: 600px;"><div class="modal-content"><div class="modal-header"><h5 class="modal-title">Confirm Form Submission</h5><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button></div><div class="modal-body"><p>Please verify that the following data provided is accurate:</p><div class="form-data"></div></div><div class="modal-footer" style="border-top: none; padding-top: 0; flex-direction: row-reverse;"><button type="button" class="btn btn-link" data-dismiss="modal" style="border-bottom: none; padding-bottom: 0; margin-left: 12px; font-weight: 400; letter-spacing: 0; text-decoration: underline; color: rgba(84,71,95,.6);">Edit Information</button><button type="button" class="btn btn-primary" data-dismiss="modal">Confirm</button></div></div></div></div>');c("body").append(e),c("button.btn-primary").on("click",function(e){var t=c(this).data("formid");console.log("Confirmed "+t),window["gf_submitting_confirmed_"+t]=!0,c("#gform_"+t).trigger("submit")});e=function(){"function"==typeof gformFormatMoney&&(jQuery(this).val(gformFormatMoney(jQuery(this).val())),c(this).val(gformFormatMoney(c(this).val())))};c(".gfield.additional-capital-funding-investments .gfield_list_group td:nth-child(2) input").each(e),c(document).on("change",".gfield.additional-capital-funding-investments .gfield_list_group td:nth-child(2) input",e)},r.initBranchMapShortcodes=function(){c(".branch-map > .google-map").each(function(e,t){r.initMap(c(t))})},r.initImpactReportFormShortcodes=function(){c(document).on("submit","form.impact-reports",function(e){e.preventDefault();var t=c(this),e=c("input[name=s]",t).val(),t=c("#impact-report-downloads-modal");return t.length||(t=c('<div id="impact-report-downloads-modal" class="modal fade" tabindex="-1"><div class="modal-dialog modal-dialog-centered"><div class="modal-content"><div class="modal-header"><h4 class="modal-title">Download Impact Reports</h4><button type="button" class="close" data-dismiss="modal"><span>×</span></button></div><div class="modal-body"></div></div></div></div>'),c("body").append(t)),c(".modal-body",t).html(""),c(".modal-body",t).append('<div class="spinner-container"><div class="spinner-border" role="status"></div></div>'),t.modal("show"),c.get(crownThemeData.ajaxUrl,{action:"get_impact_reports",s:e},function(e){var t=c("#impact-report-downloads-modal");if(c(".modal-body",t).html(""),e.reports.length)for(var n=0;n<e.reports.length;n++){var o=e.reports[n],i=c('<a class="report-link btn btn-primary" href="'+o.link_url+'" target="_blank"></a>');i.append('<span class="name">'+o.rep_types.join(", ")+" Report</span>"),i.append('<span class="label">'+o.link_label+"</span>"),c(".modal-body",t).append(i)}else c(".modal-body",t).append('<div class="alert alert-info no-results"><h4>No Entries Found</h4><p>Please try adjusting your district number.</p></div>')},"json"),!1})},r.initHeaders=function(){c(".wp-block-crown-blocks-header .hr-container").each(function(e,t){c(t).addClass("reveal-right")});function e(){var i=c(window).scrollTop(),a=c(window).height();c(".wp-block-crown-blocks-header .hr-container.reveal-right:not(.animated)").each(function(e,t){var n,o;c(t).offset().top<=i+.9*a&&(n=c(t),o=c("hr",n),n.css({width:"100%"}),o.css({width:o.width()}),n.css({width:0}),setTimeout(function(){n.addClass("animated")},0),setTimeout(function(){n.css({width:"100%"})},0),setTimeout(function(){o.css({width:"100%"})},500))})}e(),c(window).on("load scroll",e)},r.initOdometers=function(){c(".odometer-statistic").each(function(e,t){var n,o,i=c(".stat-value",t);c(t).addClass("fade-in"),i.length&&(matches=i.text().match(/([^\d]*)([\d\.,]+)(.*)/))&&(i.data("odometer-final-value",matches[2]),n=c('<span class="pre">'+matches[1]+"</span>"),o=c('<span class="odometer">'+matches[2]+"</span>"),t=c('<span class="post">'+matches[3]+"</span>"),i.html(""),i.append(n).append(o).append(t),new Odometer({el:o[0],value:"0".padStart(5,0)}))});function e(){var o=c(window).scrollTop(),i=c(window).height();c(".odometer-statistic.fade-in:not(.animated)").each(function(e,t){var n=c(".stat-value",t);n.offset().top<=o+.9*i&&(c(t).addClass("animated"),c(".odometer",n).text(n.data("odometer-final-value")))})}e(),c(window).on("load scroll",e)},r.initReferrerNotice=function(){var e=document.referrer.replace(/^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+).*/,"$1");e!==document.URL.replace(/^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+).*/,"$1")&&c.get(crownThemeData.ajaxUrl,{action:"get_site_by_domain",domain:e},function(e){var t,n;e&&e.blogname&&(t="You are now viewing the <strong>"+crownThemeData.siteName+"</strong> website.",n=c('<div id="referrer-notice"><div class="inner"><div class="message"></div><div class="actions"></div></div></div>'),c("body").append(n),c(".message",n).append(t),c(".actions",n).append('<a href="'+(""!=document.referrer?document.referrer:"javascript:history.back()")+'" class="btn btn-outline-white">Return to '+e.blogname+"</a>"),c(".actions",n).append('<button type="button" class="btn btn-white dism
1iss">Dismiss</button>'),setTimeout(function(){n.addClass("active")},0))},"json"),c(document).on("click","#referrer-notice .btn.dismiss",function(e){c("#referrer-notice").removeClass("active")})},r.smoothScrollToElement=function(e,t,n){var o;t=void 0!==t?t:1e3,n=void 0!==n?n:0,0<e.length&&(o=parseInt(e.css("margin-top")),r.smoothScrollToPos(e.offset().top-(0<o?o:0),t,n))},r.smoothScrollToPos=function(e,t,n){t=void 0!==t?t:1e3,n=void 0!==n?n:0;var o=600<c("body").width()&&c("#wpadminbar").length?c("#wpadminbar").outerHeight():0;i=!0,c("#header").addClass("is-minified"),c("html, body").stop(!0).animate({scrollTop:e-o+n},t,"easeOutExpo"),setTimeout(function(){i=!1},t)},r)}(jQuery);
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.