1jQuery(document).ready(function() { 2 function a(e, t) { 3 var n = parseInt(e.slice(1), 16), 4 r = Math.round(2.55 * t), 5 i = (n >> 16) + r, 6 s = (n >> 8 & 255) + r, 7 o = (n & 255) + r; 8 return "#" + (16777216 + (i < 255 ? i < 1 ? 0 : i : 255) * 65536 + (s < 255 ? s < 1 ? 0 : s : 255) * 256 + (o < 255 ? o < 1 ? 0 : o : 255)).toString(16).slice(1) 9 } 10 var e = tpbr_settings.fixed; 11 var t = tpbr_settings.message; 12 var n = tpbr_settings.button_url; 13 var r = tpbr_settings.button_text; 14 var i = tpbr_settings.color; 15 var s = tpbr_settings.status; 16 var o = tpbr_settings.yn_button; 17 var u = tpbr_settings.is_admin_bar; 18 19 var m = tpbr_settings.mc_button; 20 var h = tpbr_settings.mc_text; 21 22 if (o == "button") { 23 var f = a(i, -12); 24 var l = '<a id="tpbr_calltoaction" style="background:' + f + '; display:inline-block; padding:0px 10px 2px; color:white; text-decoration:none; margin: 0px 20px 1px;border-radius:3px; line-height:29px;" href="' + n + '">' + r + "</a>" 25 } else { 26 var l = "" 27 } 28 29 if (m == "mailchimp") { 30 31 var x = '<div class="tpbr_mailchimp" style="float: right;"> ' + h + ' </div>' 32 } else { 33 var x = "" 34 } 35 36 if (e == "fixed") { 37 if (u === "yes") { 38 var c = "position:fixed; z-index:99999; width:100%; left:0px; top:0; margin-top:32px;" 39 } else { 40 var c = "position:fixed; z-index:99999; width:100%; left:0px; top:0;" 41 } 42 } 43 if (e == "notfixed") { 44 var c = "" 45 } 46 if (e == "" || e == null) { 47 var c = "" 48 } 49 if (s == "active") { 50 if (e == "fixed") { 51 jQuery('<div style="height:44px; visibility:hidden;"></div><div id="tpbr_topbar" style="' + c + " background:" + i + '; padding:0px 20px 0px;"><div id="tpbr_box" style="line-height:40px; font-size:15px; font-family: Helvetica, Arial, sans-serif; width:100%; color:white; font-weight:300;"><div class="topbar-container "><div class="topbar-inner "><div class="tpbr_message">' + t + '</div>' + l + x + "</div></div></div></div>").prependTo("body") 52 } else { 53 jQuery('<div id="tpbr_topbar" style="' + c + " background:" + i + '; padding:3px 20px 5px;"><div id="tpbr_box" style="line-height:40px; text-align:right; width:100%; color:white; font-size:15px; font-family: Helvetica, Arial, sans-serif; font-weight:300;"><div class="topbar-container ">' + t + l + x + "</div></div></div>").prependTo("body") 54 } 55 } 56 jQuery(".tpbr_close").click(function() { 57 jQuery("#tpbr_topbar").slideUp(100) 58 }) 59})
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.