import{i as e,a as f,b as _}from"./helpers.Ccl21t4W.js";import{c as p,t as m}from"./get.25styALf.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};
