import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{$ as t,B as n,D as r,E as i,H as a,M as o,O as s,T as c,U as l,V as u,W as d,X as f,Y as p,c as ee,d as m,et as h,f as g,g as _,h as v,j as y,l as b,s as x,u as S,z as C}from"./_baseFor-DBc6wfxY.js";var w,te=e((()=>{b(),w=S(Object.keys,Object)}));function T(e){if(!g(e))return w(e);var t=[];for(var n in Object(e))E.call(e,n)&&n!=`constructor`&&t.push(n);return t}var E,D=e((()=>{m(),te(),E=Object.prototype.hasOwnProperty})),O,k=e((()=>{a(),t(),O=u(h,`DataView`)})),A,j=e((()=>{a(),t(),A=u(h,`Promise`)})),M,N=e((()=>{a(),t(),M=u(h,`Set`)})),P,F=e((()=>{a(),t(),P=u(h,`WeakMap`)})),I,L,R,z,B,V,H,U,W,G,K,q,J,Y=e((()=>{k(),n(),j(),N(),F(),f(),l(),I=`[object Map]`,L=`[object Object]`,R=`[object Promise]`,z=`[object Set]`,B=`[object WeakMap]`,V=`[object DataView]`,H=d(O),U=d(C),W=d(A),G=d(M),K=d(P),q=p,(O&&q(new O(new ArrayBuffer(1)))!=V||C&&q(new C)!=I||A&&q(A.resolve())!=R||M&&q(new M)!=z||P&&q(new P)!=B)&&(q=function(e){var t=p(e),n=t==L?e.constructor:void 0,r=n?d(n):``;if(r)switch(r){case H:return V;case U:return I;case W:return R;case G:return z;case K:return B}return t}),J=q}));function X(e){if(e==null)return!0;if(ee(e)&&(o(e)||typeof e==`string`||typeof e.splice==`function`||i(e)||_(e)||s(e)))return!e.length;var t=J(e);if(t==Z||t==Q)return!e.size;if(g(e))return!T(e).length;for(var n in e)if($.call(e,n))return!1;return!0}var Z,Q,$,ne=e((()=>{D(),Y(),r(),y(),x(),c(),m(),v(),Z=`[object Map]`,Q=`[object Set]`,$=Object.prototype.hasOwnProperty}));export{M as a,D as c,Y as i,X as n,N as o,J as r,T as s,ne as t};
//# sourceMappingURL=isEmpty-D-5ng6I7.js.map