').text(a));n.on("click",(function(){v(e,t)})),i.append(n)}))}))}function u(e){e&&(l=1);var t=0,i=20*(l-1)+1,f=20*l,u=Object.values(s).map((function(e){return e.length})).every((function(e){return 0==e}));a.each((function(e,a){var n,r,o=$(a),c=!u&&(n=o.data("filter-attributes"),r=s,Object.keys(r).every((function(e){var t=r[e];return 0===t.length||t.some((function(t){return n[e]&&-1!==n[e].indexOf(t)}))})));c&&t++,o.toggle(c&&t>=i&&t<=f)})),e&&(p=Math.ceil(t/20)),n.toggle(0==t&&!u),r.toggle(0!==t),d.text(l+" / "+p),o.css("visibility",l>1?"visible":"hidden"),c.css("visibility",l