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