import{x as l,p as o,y as d,z as P}from"./index.8c202964.js";import{_ as m,c as x}from"./_getTag.a15256fc.js";import{h as g}from"./hasIn.335a2755.js";import{_ as h}from"./_flatRest.ad5935e7.js";var p=m,I=l,$=x,c=o,b=d;function B(r,a,_,n){if(!c(r))return r;a=I(a,r);for(var t=-1,e=a.length,f=e-1,s=r;s!=null&&++t<e;){var i=b(a[t]),u=_;if(i==="__proto__"||i==="constructor"||i==="prototype")return r;if(t!=f){var v=s[i];u=n?n(v,i,s):void 0,u===void 0&&(u=c(v)?v:$(a[t+1])?[]:{})}p(s,i,u),s=s[i]}return r}var S=B,k=P,G=S,K=l;function O(r,a,_){for(var n=-1,t=a.length,e={};++n<t;){var f=a[n],s=k(r,f);_(s,f)&&G(e,K(f,r),s)}return e}var R=O,y=R,q=g;function z(r,a){return y(r,a,function(_,n){return q(r,n)})}var A=z,C=A,D=h,E=D(function(r,a){return r==null?{}:C(r,a)}),M=E;export{M as p};
