import{i as e,a as f,b as _}from"./helpers.D2xRWOvn.js";import{c as p,t as m}from"./get.BT85ybc8.js";function y(n,t,c,d){if(!e(n))return n;t=p(t,n);for(var o=-1,u=t.length,l=u-1,s=n;s!=null&&++o<u;){var r=m(t[o]),i=c;if(r==="__proto__"||r==="constructor"||r==="prototype")return n;if(o!=l){var a=s[r];i=void 0,i===void 0&&(i=e(a)?a:f(t[o+1])?[]:{})}_(s,r,i),s=s[r]}return n}export{y as b};
