import{bG as f,bH as u,bI as o,bJ as s,bK as a,bL as _}from"./index-XuO881sr.js";import{c,g,b as v}from"./_baseClone-CIlxLVYA.js";function b(n,e,r){var t=-1,l=n.length;e<0&&(e=-e>l?0:l+e),r=r>l?l:r,r<0&&(r+=l),l=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(l);++t<l;)i[t]=n[t+e];return i}function O(n){var e=n==null?0:n.length;return e?n[e-1]:void 0}function L(n,e){return e.length<2?n:f(n,b(e,0,-1))}var m=Object.prototype,A=m.hasOwnProperty;function P(n,e){e=u(e,n);var r=-1,t=e.length;if(!t)return!0;for(;++r<t;){var l=o(e[r]);if(l==="__proto__"&&!A.call(n,"__proto__")||(l==="constructor"||l==="prototype")&&r<t-1)return!1}var i=L(n,e);return i==null||delete i[o(O(e))]}function w(n){return s(n)?void 0:n}var C=1,E=2,G=4,F=a(function(n,e){var r={};if(n==null)return r;var t=!1;e=_(e,function(i){return i=u(i,n),t||(t=i.length>1),i}),c(n,g(n),r),t&&(r=v(r,C|E|G,w));for(var l=e.length;l--;)P(r,e[l]);return r});export{F as o};
