/* Auto generated, hash = 8t6xl2di7y2cjxnoqtojuqvsm */
/**
 * Hack to avoid dynamic concatenation of footer-scripts, the scripts was originallly
 * designed to only work in dynamic concat state due to interdependence of scripts on shared variables.
 * https://jira01.corp.linkedin.com:8443/browse/HUED-14097
 *
 * Extracting out all the shared variables b/w interdependent footer scripts and creates a new closure
 *
 * start of the dynamic concat fix closure
 */
(function(context) {
    context = context || {};
    var LI = context.LI;
    var globalNavAPI = window.globalNav || context.globalNav;
    var _namespaces = context._namespaces;
    var Injector = context.Injector;
    var Helpers = context.Helpers;
    var Promise = context.Promise;
    var Request = context.Request;
    var Delegate = context.Delegate;
    var CustomEvents = context.CustomEvents;
    var CookieManager = context.CookieManager;
    var WeightedQueue = context.WeightedQueue;
    var NodeStash = context.NodeStash;
    var NavMenu = context.NavMenu;
    var InboxNavAPI = context.InboxNavAPI;
    var SlidingNavView = context.SlidingNavView;
    var TourManager = context.TourManager;
    var AddConnectionsFactory = context.AddConnectionsFactory;
    var AddConnectionsDecorator = context.AddConnectionsDecorator;
    var PageShift = context.PageShift;
    var AutoHide = context.AutoHide;
    var AlertFactory = context.AlertFactory;
    var GlobalAlertManager = context.GlobalAlertManager;

(function(){Injector.register("Promise",Promise);Injector.register("Helpers",Helpers);Injector.register("Request",Request);Injector.register("Delegate",Delegate);"undefined"!==typeof WeightedQueue&&Injector.register("WeightedQueue",WeightedQueue);"undefined"!==typeof AlertFactory&&Injector.register("AlertFactory",AlertFactory);"undefined"!==typeof AutoHide&&Injector.register("AutoHide",AutoHide);"undefined"!==typeof PageShift&&Injector.register("PageShift",new PageShift);"undefined"!==typeof NodeStash&&
Injector.register("NodeStash",NodeStash);"undefined"!==typeof CookieManager&&Injector.register("CookieManager",CookieManager);"undefined"!==typeof CustomEvents&&Injector.register("CustomEvents",new CustomEvents);"undefined"!==typeof WebTrack&&Injector.register("WebTracking",new WebTrack);window.LI_JS_TEST&&(window.globalNavAPI={},window._namespaces={});if("undefined"!==typeof GlobalAlertManager){var b=new GlobalAlertManager;globalNavAPI.alertManager={injectAlert:function(a){return b.injectAlert(a)},
removeAlert:function(a,c){b.removeAlert(a,c)},onWillAddAlert:function(a){b.events.on("willAddAlert",a)},onWillRemoveAlert:function(a){b.events.on("willRemoveAlert",a)},onWillShowAlert:function(a){b.events.on("willShowAlert",a)},onDidAddAlert:function(a){b.events.on("didAddAlert",a)},onDidRemoveAlert:function(a){b.events.on("didRemoveAlert",a)},onDidShowAlert:function(a){b.events.on("didShowAlert",a)}}}globalNavAPI.reset=function(){globalNavAPI.subNav&&globalNavAPI.subNav.reset()};globalNavAPI.__internal__=
{Request:new Request,Injector:Injector};globalNavAPI._namespaces=_namespaces})();
/**
 * Hack to avoid dynamic concatenation of footer-scripts, the scripts was originallly
 * designed to only work in dynamic concat state due to interdependence of scripts on shared variables.
 * https://jira01.corp.linkedin.com:8443/browse/HUED-14097
 *
 * Extracting out all the shared variables b/w interdependent footer scripts and updating the LIContext with the
 * new state.
 *
 * end of the dynamic concat fix closure
 */
var LIContext = {};
LIContext.LI = LI;
LIContext.globalNav = window.globalNav || {};
LIContext.Injector = Injector;
LIContext._namespaces = _namespaces;
LIContext.Helpers = Helpers;
LIContext.Promise = Promise;
LIContext.Request = Request;
LIContext.Delegate = Delegate;
LIContext.CustomEvents = CustomEvents;
LIContext.CookieManager = CookieManager;
try{LIContext.NavMenu = NavMenu;} catch(e) {LIContext.NavMenu=undefined;}
try{LIContext.WeightedQueue = WeightedQueue;} catch(e) {LIContext.WeightedQueue=undefined;}
try{LIContext.NodeStash = NodeStash;} catch(e) {LIContext.NodeStash=undefined;}
try{LIContext.InboxNavAPI = InboxNavAPI;} catch(e) {LIContext.InboxNavAPI=undefined;}
try{LIContext.SlidingNavView = SlidingNavView;} catch(e) {LIContext.SlidingNavView=undefined;}
try{LIContext.TourManager = TourManager;} catch(e) {LIContext.TourManager=undefined;}
try{LIContext.AddConnectionsFactory = AddConnectionsFactory;} catch(e) {LIContext.AddConnectionsFactory=undefined;}
try{LIContext.AddConnectionsDecorator = AddConnectionsDecorator;} catch(e) {LIContext.AddConnectionsDecorator=undefined;}
try{LIContext.PageShift = PageShift;} catch(e) {LIContext.PageShift=undefined;}
try{LIContext.AutoHide = AutoHide;} catch(e) {LIContext.AutoHide=undefined;}
try{LIContext.AlertFactory = AlertFactory;} catch(e) {LIContext.AlertFactory=undefined;}
try{LIContext.GlobalAlertManager = GlobalAlertManager;} catch(e) {LIContext.GlobalAlertManager=undefined;}
window.LIContext = LIContext;
})(window.LIContext);
