function e(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function t(e){return e!==e}function n(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function r(r,i,a){return i===i?n(r,i,a):e(r,t,a)}export{e as n,r as t};