import{i}from"./isObject-DvLSfCY5.js";import{i as p,r as b}from"./get-C-qh_et5.js";import{S as u,_ as e,f as c,h as S}from"./_baseFor-DKD1r8uL.js";function _(r,a){for(var t=-1,o=a.length,n=r.length;++t<o;)r[n+t]=a[t];return r}var h=_,g=i?i.isConcatSpreadable:void 0;function d(r){return u(r)||c(r)||!!(g&&r&&r[g])}var j=d;function m(r,a,t,o,n){var l=-1,f=r.length;for(t||(t=j),n||(n=[]);++l<f;){var v=r[l];a>0&&t(v)?a>1?m(v,a-1,t,o,n):h(n,v):o||(n[n.length]=v)}return n}var k=m;function x(r,a){return r!=null&&a in Object(r)}var y=x;function C(r,a,t){a=p(a,r);for(var o=-1,n=a.length,l=!1;++o<n;){var f=b(a[o]);if(!(l=r!=null&&t(r,f)))break;r=r[f]}return l||++o!=n?l:(n=r==null?0:r.length,!!n&&S(n)&&e(f,n)&&(u(r)||c(r)))}var s=C;function O(r,a){return r!=null&&s(r,a,y)}var q=O;export{h as i,s as n,k as r,q as t};
