import{a as o,r as j}from"./isObject-DvLSfCY5.js";import{S as P,a as i,c as S,d as g,f as k,m as d,o as D,p as v,v as s,y as n}from"./_baseFor-DKD1r8uL.js";var u=s(o,"WeakMap"),x=D(Object.keys,Object),A=Object.prototype.hasOwnProperty;function V(r){if(!v(r))return x(r);var t=[];for(var a in Object(r))A.call(r,a)&&a!="constructor"&&t.push(a);return t}var l=V,f=s(o,"DataView"),p=s(o,"Promise"),c=s(o,"Set"),w="[object Map]",W="[object Object]",y="[object Promise]",O="[object Set]",m="[object WeakMap]",h="[object DataView]",z=n(f),B=n(i),C=n(p),E=n(c),F=n(u),e=j;(f&&e(new f(new ArrayBuffer(1)))!=h||i&&e(new i)!=w||p&&e(p.resolve())!=y||c&&e(new c)!=O||u&&e(new u)!=m)&&(e=function(r){var t=j(r),a=t==W?r.constructor:void 0,b=a?n(a):"";if(b)switch(b){case z:return h;case B:return w;case C:return y;case E:return O;case F:return m}return t});var M=e,I="[object Map]",L="[object Set]",N=Object.prototype.hasOwnProperty;function T(r){if(r==null)return!0;if(d(r)&&(P(r)||typeof r=="string"||typeof r.splice=="function"||g(r)||S(r)||k(r)))return!r.length;var t=M(r);if(t==I||t==L)return!r.size;if(v(r))return!l(r).length;for(var a in r)if(N.call(r,a))return!1;return!0}var _=T;export{l as i,M as n,c as r,_ as t};
