(function(n){n(function(){"use strict";occe.Controls=occe.Controls||{};occe.Controls.Homepage=function(){function t(){function t(t){var r=t.attr("data-expandoBody"),i,u;r&&(i=n("#"+r),u=i.attr("data-expandoBodyToggleType")||"hide.show",u==="hide.show"&&i.toggleClass("ocHidden"))}function i(t){(function(t){t.find(".supExpandoSplitAlternatingHide").each(function(){var t=n(this);t.toggleClass("ocHidden");occe.toggleAttribute(t,"hidden")})})(t)}function r(n){var t=n.attr("aria-expanded");n.attr("aria-expanded",t==="true"?"false":"true")}function u(n){var t=n.attr("data-bi-bhvr");n.attr("data-bi-bhvr",t==="EXPAND"?"REDUCE":"EXPAND")}n(".supExpandoLink").click(function(f){f.preventDefault();var e=n(this);t(e);i(e);r(e);u(e)})}function i(){r();f()}function r(){n(".supARG-row").each(function(){n(this).children().each(function(t){n(this).find("a").length>1?u(n(this),t):n(this).find("a").attr("data-bi-slot",t+1)})})}function u(t,i){t.find("a").each(function(t){var r=(i+1)*100+(t+1);n(this).attr("data-bi-slot",r)})}function f(){n(".supHomeAndLandingPageModule").each(function(){var t=n(this),i=t.attr("data-bi-compID");t.find("a").attr("data-bi-compID",i);t.find("a:has(img)").each(function(){var t=n(this);t.attr("data-bi-name",t.find("img").attr("alt"));t.attr("title",t.attr("data-bi-name"))})})}return{setupGeneralizedExpandos:t,setupAwaLoggingOnModules:i}}()})})(jQuery),function(n){"use strict";n(function(){occe.Controls.Homepage.setupGeneralizedExpandos();occe.Controls.SignIn.initializeBanners(n(".supSignInCalloutContainer, .supAdminBanner"));occe.Controls.SignIn.setBannerDismissEvents(n(".supDismissPrompt"),n(".supAdminBanner"));occe.Controls.SignIn.setSigninBannerHeight(n(".supSignInCalloutContainer"),n("#meControl"));n("#supHomeAndLandingPageSearchBoxForm").submit(function(){var t=n("#supHomeAndLandingPageSearchBox"),r=n("#supHomeAndLandingPageProductName"),i=n("#supHomeAndLandingPageIsEnrichedQuery");i.length>0?(t.val(t.val()+" "+r.val()),i.val("true"),occe.AutoSuggestSearchEvent(this,null,"true")):occe.AutoSuggestSearchEvent(this,null,"false")});occe.Controls.Homepage.setupAwaLoggingOnModules()})}(jQuery)