PageSourceSearch

https://stagingabc.org/DesktopModules/LiveBlog/Resources/Scripts/search.min.js?cdv=3798

js stagingabc.org collected 2026-09-29 16:59:09 UTC 4,755 bytes, 1 lines download raw bytes

1var mJSToolkit = { Initialize: function (e, s, t, a, i, r, l, o, n, u, p) { jQuery(s).hide(), jQuery(e + " .textbox").unbind("keypress"), jQuery(e + " .textbox").bind("keypress", function (c) { if (13 == (c.keyCode ? c.keyCode : c.which)) return mJSToolkit.GetResults(e, s, t, a, i, r, l, o, n, u, p, 1), !1 }), jQuery(document).keypress(function (e) { 27 == e.keyCode && mJSToolkit.CloseResults(s) }) }, GetResults: function (e, s, t, a, i, r, l, o, n, u, p, c) { var d = jQuery(e + " .textbox").val().replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/['"]+/g, ""); if (jQuery(s).html('<input value="' + o + '" type="button" class="close-button" onclick="mJSToolkit.CloseResults(\'' + s + '\'); return false;" style="cursor: pointer;">'), "" != d) { jQuery(e).showLoading({ addClass: "loading-indicator-bars" }); -1 != t.indexOf("?") ? "&" : "?"; var y = "SearchKeyword=" + d + "&Searchtype=" + a + "&PageNumber=" + c + "&PageSize=" + i + "&MaxResult=" + p; LBWidgetwebapi.webApi.post("search/getsearch", y).success(function (d) { mJSToolkit.BindResults(e, s, t, a, i, r, l, o, n, u, p, d, c), jQuery(e).hideLoading() }) } else jQuery(s).append(r); jQuery(s).hasClass("mlightbox") ? (jQuery(".moverlay").css({ position: "absolute", top: "0px", left: "0px", height: jQuery(document).height() + "px" }).fadeIn("slow"), jQuery(s).css("top", (jQuery(window).height() - jQuery(s).height()) / 2 + jQuery(window).scrollTop() + "px").fadeIn("slow")) : jQuery(s).fadeIn("slow") }, BindResults: function (e, s, t, a, i, r, l, o, n, u, p, c, d) { var y = '<div class="ms-result SearchPosts" value="' + jQuery(e + " .textbox").val().replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/['"]+/g, "") + '">'; y += '<h3 class="">' + n + "</h3>"; var h = ""; if ("" != c) { if ("Text" == a ? jQuery.each(c, function (e, s) { var t = s.Title, a = s.Description, i = s.URL; h = s.MaxResults, y += '<div class="result" style="margin-bottom:10px; padding-bottom:10px;">', "true" === u.toLowerCase() ? y += '<a class="lnktitle" target="_blank" href="' + i + '">' + t + '</a> <div class="caption">' + s.Caption + "</div><br />" : y += '<a class="lnktitle" href="' + i + '">' + t + '</a> <div class="caption">' + s.Caption + "</div><br />", y += '<span class="desc">' + a + "</span>", y += "</div>" }) : (y += '<ul style="padding:0; margin:0;">', jQuery.each(c, function (e, s) { var t = s.ImageURL, a = s.Title, i = s.Description.substring(0, 125), r = s.URL; h = s.MaxResults, y += '<li style="display:inline; margin:0 12px 12px 0;">', "true" === u.toLowerCase() ? y += '<a target="_blank" style="cursor:pointer; display:inline-block;" class="lnkimg" href="' + r + '">' : y += '<a style="cursor:pointer; display:inline-block;" class="lnkimg" href="' + r + '">', y += '<img class="img" value="' + e + '"  src="' + t + '" />', y += "</a>", y += '<span style="display:none;">', "true" === u.toLowerCase() ? y += '<a target="_blank" style="font-size:11px;" href="' + r + '">' + a + "</a><br />" + i : y += '<a style="font-size:11px;" href="' + r + '">' + a + "</a><br />" + i, y += "</span>", y += "</li>" }), y += "</ul>"), h > 1) { y += '<div class="paging">'; var g = 1; for (g = 1; g <= h; g++) y += g == d ? '<span class="page pageselected">' + g + "</span>" : '<span class="page"><a href="#" onclick="mJSToolkit.GetResults(\'' + e + "','" + s + "','" + t + "','" + a + "','" + i + "','" + r + "','" + l + "','" + o + "','" + n + "','" + u + "','" + p + "','" + g + "'); return false;\" >" + g + "</a></span>"; y += "</div>" } } else y += l; y += "</div>", jQuery(s).append(y), "Image" == a && (jQuery(s + " .ms-result ul li img").css("width", 100).css("height", 100), jQuery(s + " .ms-result ul li img").mouseover(function (e) { jQuery("body .m-overlay").remove(); var s = jQuery(this).parent().nextAll("span:first").html(), t = jQuery('<div id="m-overlayid" class="m-overlay" style="position:absolute; z-index:1002; padding:8px; background-color:white; border:1px solid #cccccc; -moz-box-shadow: 0px 0px 5px 1px #999999; -webkit-box-shadow: 0px 0px 5px 1px #999999; box-shadow: 0px 0px 5px 1px #999999;"><a target="_blank" style="cursor:pointer;" class="lnkimg" href="' + jQuery(this).parent().attr("href") + '"><img class="img" value="' + jQuery(this).attr("value") + '"  src="' + jQuery(this).attr("src") + '" ></a><br /><br />
1<div style="width:200px; font-size:11px; overflow:hidden;">' + s + "</div></div>"), a = jQuery(this).offset(); t.css("top", a.top - 35).css("left", a.left - 35), jQuery("body").append(t), t.unbind("mouseleave"), t.mouseleave(function () { t.remove() }) })) }, CloseResults: function (e) { jQuery(e).fadeOut("slow"), jQuery(e).hasClass("mlightbox") && jQuery(".moverlay").fadeOut("slow") } };

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.