1jQuery(document).ready(function(e) { 2 jQuery("#sfsi_floater").attr("data-top",jQuery(document).height()); 3}); 4 5function showErrorSuc(s, i, e) { 6 if ("error" == s) var t = "errorMsg"; else var t = "sucMsg"; 7 return SFSI(".tab" + e + ">." + t).html(i), SFSI(".tab" + e + ">." + t).show(), 8 SFSI(".tab" + e + ">." + t).effect("highlight", {}, 5e3), setTimeout(function() { 9 SFSI("." + t).slideUp("slow"); 10 }, 5e3), !1; 11} 12 13function beForeLoad() { 14 SFSI(".loader-img").show(), SFSI(".save_button >a").html("Saving..."), SFSI(".save_button >a").css("pointer-events", "none"); 15} 16 17function sfsi_make_popBox() { 18 var s = 0; 19 SFSI(".sfsi_sample_icons >li").each(function() { 20 "none" != SFSI(this).css("display") && (s = 1); 21 }), 0 == s ? SFSI(".sfsi_Popinner").hide() :SFSI(".sfsi_Popinner").show(), "" != SFSI('input[name="sfsi_popup_text"]').val() ? (SFSI(".sfsi_Popinner >h2").html(SFSI('input[name="sfsi_popup_text"]').val()), 22 SFSI(".sfsi_Popinner >h2").show()) :SFSI(".sfsi_Popinner >h2").hide(), SFSI(".sfsi_Popinner").css({ 23 "border-color":SFSI('input[name="sfsi_popup_border_color"]').val(), 24 "border-width":SFSI('input[name="sfsi_popup_border_thickness"]').val(), 25 "border-style":"solid" 26 }), SFSI(".sfsi_Popinner").css("background-color", SFSI('input[name="sfsi_popup_background_color"]').val()), 27 SFSI(".sfsi_Popinner h2").css("font-family", SFSI("#sfsi_popup_font").val()), SFSI(".sfsi_Popinner h2").css("font-style", SFSI("#sfsi_popup_fontStyle").val()), 28 SFSI(".sfsi_Popinner >h2").css("font-size", parseInt(SFSI('input[name="sfsi_popup_fontSize"]').val())), 29 SFSI(".sfsi_Popinner >h2").css("color", SFSI('input[name="sfsi_popup_fontColor"]').val() + " !important"), 30 "yes" == SFSI('input[name="sfsi_popup_border_shadow"]:checked').val() ? SFSI(".sfsi_Popinner").css("box-shadow", "12px 30px 18px #CCCCCC") :SFSI(".sfsi_Popinner").css("box-shadow", "none"); 31} 32 33function sfsi_stick_widget(s) { 34 0 == initTop.length && (SFSI(".sfsi_widget").each(function(s) { 35 initTop[s] = SFSI(this).position().top; 36 }), console.log(initTop)); 37 var i = SFSI(window).scrollTop(), e = [], t = []; 38 SFSI(".sfsi_widget").each(function(s) { 39 e[s] = SFSI(this).position().top, t[s] = SFSI(this); 40 }); 41 var n = !1; 42 for (var o in e) { 43 var a = parseInt(o) + 1; 44 e[o] < i && e[a] > i && a < e.length ? (SFSI(t[o]).css({ 45 position:"fixed", 46 top:s 47 }), SFSI(t[a]).css({ 48 position:"", 49 top:initTop[a] 50 }), n = !0) :SFSI(t[o]).css({ 51 position:"", 52 top:initTop[o] 53 }); 54 } 55 if (!n) { 56 var r = e.length - 1, c = -1; 57 e.length > 1 && (c = e.length - 2), initTop[r] < i ? (SFSI(t[r]).css({ 58 position:"fixed", 59 top:s 60 }), c >= 0 && SFSI(t[c]).css({ 61 position:"", 62 top:initTop[c] 63 })) :(SFSI(t[r]).css({ 64 position:"", 65 top:initTop[r] 66 }), c >= 0 && e[c] < i); 67 } 68} 69 70function sfsi_float_widget(s) { 71 72 function i() { 73 r = "Microsoft Internet Explorer" === navigator.appName ? a - document.documentElement.scrollTop :a - window.pageYOffset, 74 Math.abs(r) > 0 ? 75 (window.removeEventListener("scroll", i), 76 a -= r * o, 77 SFSI("#sfsi_floater").css({ 78 top:(a + t).toString() + "px" 79 }), 80 setTimeout(i, n)) : 81 window.addEventListener("scroll", i, !1); 82 } 83 84 function e() { 85 var documentheight = SFSI("#sfsi_floater").attr("data-top"); 86 var fltrhght = parseInt(SFSI("#sfsi_floater").height()); 87 var fltrtp = parseInt(SFSI("#sfsi_floater").css("top")); 88 89 if(parseInt(fltrhght)+parseInt(fltrtp) <=documentheight) 90 { 91 window.addEventListener("scroll", i, !1); 92 } 93 else 94 { 95 window.removeEventListener("scroll", i); 96 SFSI("#sfsi_floater").css("top",documentheight+"px"); 97 } 98 } 99 if ("center" == s) 100 { 101 var t = ( SFSI(window).height() - SFSI("#sfsi_floater").height() ) / 2; 102 } 103 else if ("bottom" == s) 104 { 105 var t = window.innerHeight - (SFSI("#sfsi_floater").height() + parseInt(SFSI('#sfsi_floater').css('margin-bottom'))); 106 } 107 else 108 { 109 var t = parseInt(s); 110 } 111 112 var n = 50, o = .1, a = 0, r = 0; 113 SFSI("#sfsi_floater"); 114 115 var prev_onscroll = window.onscroll; 116 117 window.onscroll = function() { 118 119 if('function' === typeof prev_onload){ 120 prev_onload(),e(); 121 } 122 else{ 123 e(); 124 } 125 } 126} 127 128 129function sfsi_shuffle() { 130 var s = []; 131 SFSI(".sfsi_wicons ").each(function(i) { 132 SFSI(this).text().match(/^\s*$/) || (s[i] = "<div class='" + SFSI(this).attr("class") + "'>" + SFSI(this).html() + "</div>", 133 SFSI(this).fadeOut("slow"), SFSI(this).insertBefore(SFSI(this).prev(".
133sfsi_wicons")), 134 SFSI(this).fadeIn("slow")); 135 }), s = Shuffle(s), $("#sfsi_wDiv").html(""); 136 for (var i = 0; i < testArray.length; i++) $("#sfsi_wDiv").append(s[i]); 137} 138 139function Shuffle(s) { 140 for (var i, e, t = s.length; t; i = parseInt(Math.random() * t), e = s[--t], s[t] = s[i], 141 s[i] = e) ; 142 return s; 143} 144 145function sfsi_setCookie(s, i, e) { 146 var t = new Date(); 147 t.setTime(t.getTime() + 1e3 * 60 * 60 * 24 * e); 148 var n = "expires=" + t.toGMTString(); 149 document.cookie = s + "=" + i + "; " + n; 150} 151 152function sfsfi_getCookie(s) { 153 for (var i = s + "=", e = document.cookie.split(";"), t = 0; t < e.length; t++) { 154 var n = e[t].trim(); 155 if (0 == n.indexOf(i)) return n.substring(i.length, n.length); 156 } 157 return ""; 158} 159 160function sfsi_hideFooter() {} 161 162window.onerror = function() {}, SFSI = jQuery, SFSI(window).on('load',function() { 163 SFSI("#sfpageLoad").fadeOut(2e3); 164}); 165 166var global_error = 0; 167 168SFSI(document).ready(function(s) { 169 170 //changes done {Monad} 171 //putting it before to make sure it registers before the mobile click function 172 SFSI(document).on('click','.inerCnt a[href=""]',function(event){ 173 //check if not mobile 174 if(!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))) { 175 //execute 176 // console.log('abc'); 177 event.preventDefault(); 178 } 179 }); 180 181 SFSI("head").append('<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />'), 182 SFSI("head").append('<meta http-equiv="Pragma" content="no-cache" />'), SFSI("head").append('<meta http-equiv="Expires" content="0" />'), 183 SFSI(document).click(function(s) { 184 var i = SFSI(".sfsi_FrntInner"), e = SFSI(".sfsi_wDiv"), t = SFSI("#at15s"); 185 i.is(s.target) || 0 !== i.has(s.target).length || e.is(s.target) || 0 !== e.has(s.target).length || t.is(s.target) || 0 !== t.has(s.target).length || i.fadeOut(); 186 }), SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseover(function() { 187 SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/linkedIn_hover.svg"); 188 }), SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseleave(function() { 189 SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/linkedIn.svg"); 190 }), SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseover(function() { 191 SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/youtube_hover.svg"); 192 }), SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseleave(function() { 193 SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/youtube.svg"); 194 }), SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseover(function() { 195 SFSI(this).css("opacity", "0.9"); 196 }), SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseleave(function() { 197 SFSI(this).css("opacity", "1"); 198 /*{Monad}*/ 199 }), SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function() { 200 SFSI(this).css("opacity", "0.9"); 201 }), SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function() { 202 SFSI(this).css("opacity", "1"); 203 }), SFSI(".pop-up").on("click", function() { 204 ("fbex-s2" == SFSI(this).attr("data-id") || "googlex-s2" == SFSI(this).attr("data-id") || "linkex-s2" == SFSI(this).attr("data-id")) && (SFSI("." + SFSI(this).attr("data-id")).hide(), 205 SFSI("." + SFSI(this).attr("data-id")).css("opacity", "1"), SFSI("." + SFSI(this).attr("data-id")).css("z-index", "1000")), 206 SFSI("." + SFSI(this).attr("data-id")).show("slow"); 207 }), /*SFSI("#close_popup").live("click", function() {*/SFSI(document).on("click", '#close_popup', function () { 208 SFSI(".read-overlay").hide("slow"); 209 }); 210 var e = 0; 211 sfsi_make_popBox(), SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("keyup", sfsi_make_popBox), 212 SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("focus", sfsi_make_popBox), 213 SFSI("#sfsi_popup_font ,#sfsi_popup_fontStyle").on("change", sfsi_make_popBox), 214 /*SFSI(".radio").live("click", function() {*/ 215 SFSI(document).on("click", '.radio', function () { 216 var s = SFSI(this).parent().find("input:radio:first"); 217 "sfsi_popup_border_shadow" == s.attr("name") && sfsi_make_popBox(); 218 }), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) { 219 if(SFSI(s.target).parent().attr('href')==""){ 220 s.preventDefault(); 221 } 222 223 s.stopPropagation(); 224 var i = SFSI("#sfsi_floater_sec").val(); 225 SFSI("div.sfsi_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(), 226 SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index", "0"), 227 SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()), 228 SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({ 229 "z-index":"999" 230 }), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 231 opacity:1, 232 "z-index":10 233 }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"), 234 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 235 opacity:1, 236 "z-index":10 237 }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"), 238 SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 239 opacity:1, 240 "z-index":10 241 }
241)), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_floater").length > 0 && "sfsi_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"), 242 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"), 243 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 244 opacity:1, 245 "z-index":10 246 }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"), 247 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"), 248 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 249 opacity:1, 250 "z-index":1e3 251 }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()); 252 }) :SFSI("img.sfsi_wicon").on("mouseenter", function() { 253 var s = SFSI("#sfsi_floater_sec").val(); 254 SFSI("div.sfsi_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(), 255 SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index", "0"), 256 SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()), 257 SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({ 258 "z-index":"999" 259 }), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 260 opacity:1, 261 "z-index":10 262 }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"), 263 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 264 opacity:1, 265 "z-index":10 266 }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"), 267 SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 268 opacity:1, 269 "z-index":10 270 })), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_floater").length > 0 && "sfsi_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"), 271 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"), 272 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 273 opacity:1, 274 "z-index":10 275 }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"), 276 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"), 277 SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({ 278 opacity:1, 279 "z-index":10 280 }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()); 281 }), SFSI("div.sfsi_wicons").on("mouseleave", function() { 282 SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"), 283 SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"), 284 SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"), 285 SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")), "sfsiid_google" == SFSI(this).children("div.inerCnt").find("a.sficn").attr("id") ? SFSI("body").on("click", function() { 286 SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide(); 287 }) :(SFSI(this).css({ 288 "z-index":"0" 289 }), SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide()); 290 }), SFSI("body").on("click", function() { 291 SFSI(".inerCnt").find("div.sfsi_tool_tip_2").hide(); 292 }), SFSI(".adminTooltip >a").on("hover", function() { 293 SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity", "1"), 294 SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").show(); 295 }), SFSI(".adminTooltip").on("mouseleave", function() { 296 "none" != SFSI(".gpls_tool_bdr").css("display") && 0 != SFSI(".gpls_tool_bdr").css("opacity") ? SFSI(".pop_up_box ").on("click", function() { 297 SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity", "0"), SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide(); 298 }) :(SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity", "0"), 299 SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide()); 300 }), SFSI(".expand-area").on("click", function() { 301 "Read more" == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"), 302 SFSI(this).text("Collapse")) :(SFSI(this).siblings("p").children("label").fadeOut("slow"), 303 SFSI(this).text("Read more")); 304 }), SFSI(".sfsi_wDiv").length > 0 && setTimeout(function() { 305 var s = parseInt(SFSI(".sfsi_wDiv").height()) + 15 + "px"; 306 SFSI(".sfsi_holders").each(function() { 307 SFSI(this).css("height", s); 308 SFSI(".sfsi_widget").css("min-height", "auto"); 309 }); 310 }, 200); 311}); 312 313//hiding popup on close button 314function sfsihidemepopup() 315{ 316 SFSI(".sfsi_FrntInner_chg").fadeOut(); 317} 318var initTop = new Array();
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.