//
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=-1787058899010520123',
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/85560","ajaxErrorEventName":"LITHIUM:ajaxError","token":"i3l6AIpOczGB5dlUTOeQYHoCr1Kv4MLqlo3bq9a3LSY."});
LITHIUM.Dialog.options['-1386778030'] = {"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/78E13A3480FE11569D409FACEC2391EF/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":64807});
;(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/85560","ajaxErrorEventName":"LITHIUM:ajaxError","token":"gvg5Nd_xrkJHWtIeu1IaOq9xHT9vBxkXMEHtGsA5QiU."});
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_1733725509134",
"parameters" : { },
"initiatorDataMatcher" : ""
});
LITHIUM.UserBadgesPage({"userBadgeTappedCss":"lia-user-badge-display-card-tapped","userBadgeCardSelector":"#lia_1733725509134 .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 = 'eqr0MgyoTMwpIeG1EBv4yGIR_Z8IwiAe4TTxVR8WFFU.';
LITHIUM.AjaxSupport.useTickets = false;
LITHIUM.Loader.runJsAttached();
// -->