import{_ as f,x as u}from"./_Uint8Array-D5Z9rM2X.js";import{m as c}from"./isArrayLikeObject-DKyJYtr8.js";import{n as d,t as x}from"./_toKey-Di_xoXjD.js";function g(t,i,_,a){if(!u(t))return t;i=d(i,t);for(var n=-1,v=i.length,m=v-1,o=t;o!=null&&++n<v;){var r=x(i[n]),e=_;if(r==="__proto__"||r==="constructor"||r==="prototype")return t;if(n!=m){var s=o[r];e=a?a(s,r,o):void 0,e===void 0&&(e=u(s)?s:f(i[n+1])?[]:{})}c(o,r,e),o=o[r]}return t}var p=g;export{p as t};
