import{t as e}from"./chunk-mlkTr37E.js";var t=e(((e,t)=>{t.exports=function(e,t,n){if(typeof Array.prototype.findIndex==`function`)return e.findIndex(t,n);if(typeof t!=`function`)throw TypeError(`predicate must be a function`);var r=Object(e),i=r.length;if(i===0)return-1;for(var a=0;a<i;a++)if(t.call(n,r[a],a,r))return a;return-1}})),n=e(((e,n)=>{var r=t();n.exports=i;function i(e,t){if(!Array.isArray(e))throw TypeError(`Expected an array as first argument`);return e.length===0?e:e.filter(function(n,i){return t||=Object.keys(n),r(e,function(e){return t.some(function(t){return e[t]===n[t]})})===i})}}));export{n as t};