PageSourceSearch

https://wearechange.org/wp-content/plugins/ajax-search-lite/js/min…/optimized/asl-results-vertical.min.js

js wearechange.org collected 2026-10-03 21:39:26 UTC 1,802 bytes, 1 lines download raw bytes

1(function(){"use strict";var s={};(function(){s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e}})(),function(){s.d=function(t,e){for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}}(),function(){s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var g={},_=Object(window.WPD).DoMini,a=s.n(_),p=Object(window.WPD).global;p.AslPlugin.prototype.showVerticalResults=function(){let t=this;if(t.showResultsBox(),t.n("items").length>0){let i=t.n("items").length<t.o.itemscount?t.n("items").length:t.o.itemscount;i=i<=0?9999:i;let c=t.n("resultsDiv").find(".asl_group_header");if(t.o.itemscount==0||t.n("items").length<=t.o.itemscount)t.n("results").css({height:"auto"});else if(t.call_num<1&&t.n("results").css({height:"30px"}),t.call_num<1){let r=0,o=0,l=0,u=0;t.n("items").forEach(function(n){o+=a()(n).outerHeight(!0),a()(n).outerHeight(!0)>u&&(u=a()(n).outerHeight(!0)),r++}),l=u*i,l>o&&(l=o),r=r<1?1:r,o=o/r*i,c.length>0&&c.forEach(function(n,h){if(!h||!n||!n.parentNode)return;let f=Array.prototype.slice.call(n.parentNode.children).indexOf(n);f-h-Math.floor(f/3)<i&&(l+=a()(n).outerHeight(!0))}),t.n("results").css({height:l+"px"})}t.n("items").last().addClass("asl_last_item"),t.n("results").find(".asl_group_header").prev(".item").addClass("asl_last_item"),t.o.highlight&&t.n("resultsDiv").find("div.item").highlight(t.n("text").val().split(" "),{element:"span",className:"highlighted",wordsOnly:t.o.highlightWholewords})}t.resize(),t.n("items").length==0&&t.n("results").css({height:"auto"}),t.n("results").css({overflowY:"auto"});const e=t.n("results").get(0);e&&(e.scrollTop=0),t.fixResultsPosition(!0),t.searching=!1};var d=null;Object(window.WPD).AjaxSearchLite=g.default})();

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.