import{n as e}from"./chunk.DuxOD-Sk.js";import{i as t,n,r,t as i}from"./isLength.DwwZub7z.js";import{a,o}from"./toString.BkSzPhlJ.js";import{i as s,n as c,r as l,t as u}from"./_toKey.C0ohEqce.js";import{n as d,t as f}from"./isArguments.CEs-JkNn.js";function p(e,r,i){r=l(r,e);for(var a=-1,s=r.length,u=!1;++a<s;){var f=c(r[a]);if(!(u=e!=null&&i(e,f)))break;e=e[f]}return u||++a!=s?u:(s=e==null?0:e.length,!!s&&n(s)&&t(f,s)&&(o(e)||d(e)))}var m=e((()=>{s(),f(),a(),r(),i(),u()}));export{m as n,p as t};