//
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_0","feedbackSelector":".InfoMessage"});
;(function($) {
function makeid()
{
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (var i = 0; i < 5; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
$(document).ready(function () {
$('body').on({
mouseenter: function(evt) {
if ($(this).parents('.lia-component-users-widget-menu').length > 0) {
return;
}
if ($(this).hasClass("disable-hovercard")) {
return;
}
if ($(this).parents('.lia-component-common-widget-slide-out-user-menu').length > 0) {
return;
}
evt.preventDefault();
evt.stopPropagation();
$('.hc-user-profile').removeClass('hc-animate-in hc-is-shown');
if ($('.hc-user-profile', this).length > 0) {
$('.hc-user-profile', this).addClass('hc-animate-in hc-is-shown');
return;
}
var unqId = makeid();
var userId = $(this).attr('href').substring($(this).attr('href').lastIndexOf("/")+1, $(this).attr('href').length);
var divContainer = $('');
$(this).append(divContainer);
$(divContainer).addClass('hc-animate-in hc-is-shown');
$.ajax({
url: '/plugins/custom/cisco/meraki/profile-card?tid=-515436807045143571',
type: 'post',
dataType: 'html',
data: {"userId": userId, "unqId": unqId},
beforeSend: function() {},
success: function(data) {
$('.info-container', divContainer).append(data);
},
error: function() {
console.log('your error message should go here.');
$('.info-container', divContainer).append('
');
},
complete: function() {
$('.spinner', divContainer).remove();
}
});
},
mouseleave: function() {
$('.hc-user-profile').removeClass('hc-animate-in hc-is-shown');
}
}, 'a.lia-link-navigation.lia-page-link.lia-user-name-link,.UserAvatar.lia-link-navigation');
})
})(LITHIUM.jQuery);
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lightboxRenderComponent","parameters":{"componentParams":"{\n \"surveyType\" : {\n \"value\" : \"communityexperience\",\n \"class\" : \"java.lang.String\"\n },\n \"surveyId\" : {\n \"value\" : \"3\",\n \"class\" : \"java.lang.Integer\"\n },\n \"triggerSelector\" : {\n \"value\" : \"#valueSurveyLauncher\",\n \"class\" : \"lithium.util.css.CssSelector\"\n }\n}","componentId":"valuesurveys.widget.survey-prompt-dialog"},"trackableEvent":false},"tokenId":"ajax","elementSelector":"#valueSurveyLauncher","action":"lightboxRenderComponent","feedbackSelector":false,"url":"https://community.meraki.com/t5/badges/userbadgespage.liabase.basebody.valuesurveylauncher.valuesurveylauncher:lightboxrendercomponent?t:ac=user-id/46219","ajaxErrorEventName":"LITHIUM:ajaxError","token":"q-ZHUdqZeqg88Br-sGsTOQm0scp7oM0ulAGqCgaS6_E."});
LITHIUM.Dialog.options['254024198'] = {"contentContext":"valuesurveys.widget.survey-prompt-dialog","dialogOptions":{"minHeight":399,"draggable":false,"maxHeight":800,"resizable":false,"autoOpen":false,"width":610,"minWidth":610,"dialogClass":"lia-content lia-panel-dialog lia-panel-dialog-modal-simple lia-panel-dialog-modal-valuesurvey","position":["center","center"],"modal":true,"maxWidth":610,"ariaLabel":"Feedback for community"},"contentType":"ajax"};
LITHIUM.Dialog({
"closeImageIconURL" : "https://community.meraki.com/skins/images/D0CBCA1435068952E47816084BC6CD2B/theme_hermes/images/button_dialog_close.svg",
"activecastFullscreen" : false,
"dialogTitleHeadingLevel" : "2",
"dropdownMenuSelector" : ".lia-menu-navigation-wrapper",
"accessibility" : true,
"triggerSelector" : ".lia-panel-dialog-trigger-event-click",
"ajaxEvent" : "LITHIUM:lightboxRenderComponent",
"focusOnDialogTriggerWhenClosed" : false,
"closeEvent" : "LITHIUM:lightboxCloseEvent",
"defaultAriaLabel" : "",
"dropdownMenuOpenerSelector" : ".lia-js-menu-opener",
"buttonDialogCloseAlt" : "Close",
"dialogContentCssClass" : "lia-panel-dialog-content",
"triggerEvent" : "click",
"dialogKey" : "dialogKey"
});
LITHIUM.ValueSurveyLauncher({"detectPopUpCSS":".lia-dialog-open","dialogLinkSelector":"#valueSurveyLauncher","launchDelay":64766});
;(function($) {
$(document).ready(function() {
var search_submit_span = $(".lia-search-input-field > .lia-button-wrapper.lia-button-wrapper-secondary.lia-button-wrapper-searchForm-action");
var search_autocomplete = $(".lia-search-input-field > input.lia-autocomplete-input")[0];
search_submit_span.insertAfter(search_autocomplete);
});
})(LITHIUM.jQuery);
LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"});
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.meraki.com/t5/badges/userbadgespage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=user-id/46219","ajaxErrorEventName":"LITHIUM:ajaxError","token":"9fdpd9cyuD10c-Imt1AX6n4M4LyGJQeOzuk6slfNYKs."});
LITHIUM.AjaxSupport.ComponentEvents.set({
"eventActions" : [
{
"event" : "revoke_badge",
"actions" : [
{
"context" : "",
"action" : "rerender"
}
]
},
{
"event" : "Cancel",
"actions" : [
{
"context" : "",
"action" : "rerender"
}
]
}
],
"componentId" : "badges.widget.user-badges-list",
"initiatorBinding" : false,
"selector" : "#lia_1731973838694",
"parameters" : { },
"initiatorDataMatcher" : ""
});
LITHIUM.UserBadgesPage({"userBadgeTappedCss":"lia-user-badge-display-card-tapped","userBadgeCardSelector":"#lia_1731973838694 .lia-user-badge-display-card"});
LITHIUM.Auth.API_URL = "/t5/util/authcheckpage";
LITHIUM.Auth.LOGIN_URL_TMPL = "/plugins/common/feature/saml/doauth/post?referer=https%3A%2F%2FREPLACE_TEXT";
LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive";
LITHIUM.Auth.KEEP_ALIVE_TIME = 300000;
LITHIUM.Auth.CHECK_SESSION_TOKEN = 'tkObqvoxPocp9kp5QY6VIF2meHysJd3fGgBXu9HhLsw.';
LITHIUM.AjaxSupport.useTickets = false;
LITHIUM.Loader.runJsAttached();
// -->