1$(document).ready(function(){function e(e,t){if(e.length<1)return void t.html("");var r="/perl/smpost.pl?search_prov_name=1&prov_name="+e;return $.get(r).done(function(e){return t.html(e),t.show(),!1}).error(function(e,t){}),!1}function t(e,t,r){var o=e.data("id"),i=e.data("name");t.hide();var a='<div class="provid animated fadeInDown" data-id="'+o+'" style="background-image:url(/images/dir_square/'+o+'.jpg);margin-left: 2px;">'+i+' <img alt="selected" src="/images/icons/fa-check-darkgrey.png" height="12" width="12" style="margin-left:2px">';a+='<input name="Provider" value="'+o+'" type="hidden" /><input name="Provider_text_picked" value="1" type="hidden" />',a+="</div>",r.find(".provider-selected").html(a),r.show()}function r(){var e=$("#providersModal #userdata").data("country");e&&$("#providersModal #Provider_country").val(e)}function o(){var e=$("#userdata").data("country");e&&($("#Provider_country").length&&$("#Provider_country").val(e),$("#Country").length&&$('select[name="Country"]').val(e))}function i(e){var t=e.data("prov"),r=e.data("cn"),o=e.data("type"),i="/perl/smpost.pl?settings=1&removeProvCN=1&Provider="+t+"&Provider_country="+r;i+="&Provider_relationship="+o,$.get(i).done(function(i){e.hide();var a="#provcn-"+t+"-"+r+"-"+o;$(a).hide(),n(t,r)})}function a(e,t,r){var o="removeProvCN-"+e+"-"+t+"-"+r,i=$("."+o);return i.length<=0?1:i&&"none"==i.css("display")?1:0}function n(e,t){var r=0,o=["c","t","b"];for(var i in o){var n=a(e,t,o[i]);r+=n}r>=3&&$("#provcn-"+e+"-"+t).hide()}function d(e,t,o){var i=o.val();if(""===i)return void alert("Please select a country");var a=e.attr("action"),n=e.serialize();$.post(a,n,function(e){t.html(e),r()})}function c(e,t){e.preventDefault();var r=$("#providersModal");$.get(t.attr("href"),function(e){r.find(".modal-body > center").html(e)})}$("body").on("click",".bulkrate",function(e){e.preventDefault();var t=$(this),r=t.data("brate"),o=t.data("catid"),i=t.data("subcatid"),a="",n="/perl/smpost.pl?brate="+r+"&bcat="+o;void 0!==i&&""!==i&&(a=t.data("nexturl"),n+="&bsubcat="+i),$.get(n).done(function(e){""!==a&&(window.location=a)})}),$("body").on("keyup","#providersModal .Provider_text",function(t){var r=$(this).val();e(r,$("#providersModal .Provider_Results"))}),$(".Provider_text").keyup(function(t){var r=$(this).val();e(r,$(".Provider_Results"))}),$("body").on("click",".provider-pick",function(e){e.preventDefault();var r=$(this);t(r,$(".Provider_Results"),$(".Provider_add_action"))}),$("body").on("click","#providersModal .provider-pick",function(e){e.preventDefault();var r=$(this);t(r,$("#providersModal .Provider_Results"),$("#providersModal .Provider_add_action"))}),$("#Provider_country").change(function(e){return!1}),o(),$("body").on("click","#providersModal .removeProvCN",function(e){e.preventDefault();$(this);i($(this))}),$("body").on("click",".removeProvCN",function(e){e.preventDefault();$(this);i($(this))}),$("body").on("click","#providersModal .btn-addprovider",function(e){e.preventDefault(),d($("#providersModal #settingfrm"),$("#providersModal .modal-body>center"),$("#providersModal #Provider_country"))}),$("body").on("click",".btn-addprovider-inline",function(e){e.preventDefault(),$("#settingfrm").submit()}),$(".senduserid").click(function(e){var t=$(this).data("uuid"),r="/perl/db/members.cgi?lostuid=1&User_other="+t;$.get(r).done(function(e){alert("Your User ID has been sent to your inbox")})}),$(".feedback").on("blur",function(e){var t=$(this),r=t.data("prov"),o=t.data("cn"),i=t.data("type"),a=t.data("catid"),n=t.val(),d=t.data("ratedsubcat"),c="/perl/smpost.pl?prov="+r+"&cn="+o;c+="&type="+i,c+="&catid="+a,c+="&subcatid="+d,c+="&feedback="+encodeURI(n),$.get(c).done(function(e){if(e == "OK"){ $('.submit_response').html('Thank y
1ou for your response');$(".submit_response").css("width", "248");}})}),$(".prov-sm").click(function(e){var t="You have reached the maximum number of providers for display with your current subscription",r=(this.checked,$('input[class="prov-sm"]:checked').size());return("1"==paid_pros[30]||"1"==is_b_group&&"AA"==approval_code)&&r>=13?(alert(t),e.preventDefault(),!1):"1"==paid_pros[26]&&r>=7?(alert(t),e.preventDefault(),!1):"1"==is_b_group&&"AA"!=approval_code&&r>=7?(alert("To view more than two other providers, please request free access via the contact facility."),e.preventDefault(),!1):void 0}),$("body").on("shown.bs.modal","#providersModalxx",function(e){var t=$(this),r='<iframe src="/settings?v=po" style="width:100%; height:100%; max-height:600px; -webkit-overflow-scrolling:touch;" frameborder="0"></iframe>',r=t.find(".iframebox").append(r),o=t.find(".iframebox_pre");o.attr("src","/settings?v="+o.data("src"))}),$("body").on("shown.bs.modal","#providersModal",function(e){var t=$(this),o="pl",i=$(e.relatedTarget);o=i.data("dest"),"ol"!==o&&(o="pl");var a=$("#userdata").data("catid"),n="/settings?v="+o;n+="&catid="+a,$.get(n,function(e){t.find(".modal-body > center").html(e),r(),document.addEventListener||$("body").append('<div class="hidden">'+e+"</div>")})}),$("body").on("click","#providersModal .btn-providers-save",function(e){e.preventDefault();var t=$("#providersModal #settingfrm"),r=t.attr("action"),o=t.serialize();$.post(r,o,function(e){alert("Your changes have been saved")})}),$("body").on("click","#providersModal .ol-setting-switch",function(e){c(e,$(this))}),$("body").on("click","#providersModal .pl-setting-switch",function(e){c(e,$(this))}),$("a.logoff-useremail").click(function(e){e.preventDefault(),setCookie("ID","",-365),location="/perl/smpost.pl?newlogin=1"}),$("body").on("click",".prov-sm-feat",function(e){var t=$(this),r=t.val(),o=$(".prov-sm-"+r);o.prop("checked",t.is(":checked"))}),$("body").on("click",".prov-sm",function(e){var t=$(this),r=t.val(),o=$("#prov-"+r+"-feat");o.prop("checked",t.is(":checked"))})});
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.