PageSourceSearch

https://carrtaxlaw.com/wp-content/themes/lawyer-landing-page-pro/js/ajax.min.js?ver=2.3.2

js carrtaxlaw.com collected 2026-10-02 07:19:19 UTC 4,747 bytes, 2 lines download raw bytes

1/*! lawyer-landing-page-pro 2.3.2 2026-06-16 3:47:56 PM */
2jQuery.fn.isOnScreen=function(){var a=jQuery(window),e={top:a.scrollTop(),left:a.scrollLeft()},a=(e.right=e.left+a.width(),e.bottom=e.top+a.height(),this.offset());return a.right=a.left+this.outerWidth(),a.bottom=a.top+this.outerHeight(),!(e.right<a.left||e.left>a.right||e.bottom<a.top||e.top>a.bottom)},jQuery(document).ready(function(l){var s,o,e,t,i,a,n,r;"undefined"!=typeof lawyer_landing_page_pro_ajax&&(s="",o=null,l(".search-form").each(function(){var n=l(this);n.addClass("ajax-search").append('<div class="ajax-search-results-container"></div>').find(".search-field").on("input propertychange",function(){var i;865<l(window).width()&&(2<(i=jQuery(this).val()).length?fnDelay(function(){var a=i,e=n;if(e.hasClass("ajax-search-results-container")||(e=e.find(".ajax-search-results-container")),a==s){var t=e.closest(".search-form").find(".ajax-search-results-container");if(!t.is(":empty"))return void t.show().closest(".search-form").addClass("ajax-search-box-open")}s=a,o&&o.abort(),o=jQuery.ajax({url:lawyer_landing_page_pro_ajax.url,data:{action:"lawyer_landing_page_pro_search",q:a},beforeSend:function(){e.addClass("loading")},success:function(a){e.html(a).show().closest(".search-form").addClass("ajax-search-box-open")}}).done(function(){e.removeClass("loading")})},400):n.removeClass("ajax-search-box-open").find(".ajax-search-results-container").hide())}).on("focus",function(){var a=n.find(".ajax-search-results-container");!a.is(":empty")&&2<l(this).val().length&&(n.addClass("ajax-search-box-open"),a.show())}),n.find(".ajax-search-results-container").hide()}).on("click",function(a){a.stopPropagation()}),l(document).on("keydown",".ajax-search-box-open",function(a){var e=l(this),t=e.find(":focus");switch(a.which){case 38:(t.is("input")?e.find("li:last a"):t.closest("li").prev("li").length?t.closest("li").prev("li").find("a:first"):e.find("input.search-field")).focus();break;case 40:(t.is("input")?e.find("li:first a"):t.closest("li").next("li").length?t.closest("li").next("li").find("a:first"):e.find("input.search-field")).focus();break;default:return}a.preventDefault()}),e=parseInt(lawyer_landing_page_pro_ajax.startPage)+1,t=parseInt(lawyer_landing_page_pro_ajax.maxPages),i=lawyer_landing_page_pro_ajax.nextLink,"load_more"==(a=lawyer_landing_page_pro_ajax.autoLoad)?(l(".pagination").before('<div class="pagination_holder" style="display: none;"></div>').after('<div id="load-posts"><a href="#"><i class="fa fa-refresh"></i>'+lawyer_landing_page_pro_ajax.loadmore+"</a></div>"),e==t+1&&l("#load-posts a").html('<i class="fa fa-ban"></i>'+lawyer_landing_page_pro_ajax.nomore).addClass("disabled"),l("#load-posts a").on("click",function(){return e<=t&&!l(this).hasClass("loading")&&(l(this).html('<i class="fa fa-refresh fa-spin"></i>'+lawyer_landing_page_pro_ajax.loading).addClass("loading"),l(".pagination_holder").load(i+" .latest_post",function(){e++;i=i.replace(/(\/?)page(\/|d=)[0-9]+/,"$1page$2"+e);var a=l(".pagination_holder").html();l(".pagination_holder").html(""),(0<l(".post-type-archive-testimonial").length?l(".testimonial-page article:last"):l(".site-main article:last")).after(a),l(".site-main").find(".entry-content").find("div").hasClass("tiled-gallery")&&l.getScript(lawyer_landing_page_pro_ajax.plugin_url+"/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery.js"),(e<=t?l("#load-posts a").html('<i class="fa fa-refresh"></i>'+lawyer_landing_page_pro_ajax.loadmore):l("#load-posts a").html('<i class="fa fa-ban"></i>'+lawyer_landing_page_pro_ajax.nomore).addClass("disabled")).removeClass("loading")})),!1}),l(".pagination").remove()):"infinite_scroll"==a&&(l(".pagination").before('<div class="pagination_holder" style="display: none;"></div>'),r=n=!1,(0<l(".blog").length||0<l(".search").length||0<l(".archive").length)&&l(window).on("scroll",function(){n||r||l(".latest_post").last().isOnScreen()&&(e<=t?(n=!0,l(".pagination_holder").load(i+" .latest_post",function(){e++;n=!1,i=i.replace(/(\/?)page(\/|d=)[0-9]+/,"$1page$2"+e);var a=l(".pagination_holder").html();l(".pagination_holder").html(""),(0<l(".post-type-archive-testimonial").length?l(".testimonial-page article:last"):l(".site-main article:last")).after(a),l(".site-main").find(".entry-content").find("div").hasClass("tiled-gallery")&&l.getScript(lawyer_landing_page_pro_ajax.plugin_url+"/jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery.js")})):r=!0)}),l(".pagination").remove()))}).click(function(){"undefined"!=typeof lawyer_landing_page_pro_ajax&&(jQuery(".ajax-search-results-container").fadeOut(200),jQuery(".search-form").removeClass("ajax-search-box-open"))});var fnDelay=(()=>{var t=0;return function(a,e){clearTimeout(t),t=setTimeout(a,e)}})();

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.