(function(){function f(){this.settings={displayChannelMenu:!0,devMode:!1,releaseVersion:"5.0",language:void 0,storageDomain:document.domain,hasBottomTabBar:!1};this.storedEventHandlers={};this.UUID=Math.random().toString(36).substring(2)+(new Date).getTime().toString(36);this.SPLUNK_METRICS={timeTakenToLoadChannelMenu:"not loaded",channelMenuOptionsConfigured:[],countChannelCTAClicked:0,channelMenuOpened:!1,countChannelMenuOpened:0,channelMenuName:"not initialized",uniqueId:this.UUID};this.START_TIME_FAB_LOAD=(new Date).getTime();this.chat={settings:{addEventHandler:this.addEventHandler.bind(this)}}}function p(a,b){var c=document.createElement("script");c.setAttribute("src",a);b&&(c.onload=b);document.body.appendChild(c)}function m(a,b,c){b=b.toLowerCase();var d=document.createElement("script"),h=embedded_svc.menu.settings.gslbBaseURL;d.type="text/javascript";d.src=[h,"embeddedservice",embedded_svc.menu.settings.releaseVersion,a,b+(embedded_svc.menu.settings.devMode?"":".min")+".js"].filter(Boolean).join("/");c&&(d.onload=c);document.body.appendChild(d)}function n(){var a=embedded_svc.menu.settings.language,b=embedded_svc.menu.settings.channelMenuSettingDevName;var c="?Settings.prefix=EmbeddedService&org_id="+embedded_svc.menu.settings.orgId;c=c+("&EmbeddedServiceMenu.menuName="+b)+"&callback=embedded_svc.menu.processChannelMenuConfiguration&version=48";"string"===typeof a&&0