import{bi as p,bn as y,cc as O,cp as v,cq as x,bj as b,cr as m,cs as w,ct as i}from"./index-BP9fQbbJ.js";var a=Object.create,P=(function(){function e(){}return function(r){if(!p(r))return{};if(a)return a(r);e.prototype=r;var n=new e;return e.prototype=void 0,n}})();function E(e,r){var n=-1,t=e.length;for(r||(r=Array(t));++n<t;)r[n]=e[n];return r}function q(e,r,n,t){var g=!n;n||(n={});for(var u=-1,h=r.length;++u<h;){var s=r[u],o=void 0;o===void 0&&(o=e[s]),g?y(n,s,o):O(n,s,o)}return n}function A(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}var C=Object.prototype,I=C.hasOwnProperty;function K(e){if(!p(e))return A(e);var r=v(e),n=[];for(var t in e)t=="constructor"&&(r||!I.call(e,t))||n.push(t);return n}function z(e){return b(e)?x(e,!0):K(e)}var L=m(Object.getPrototypeOf,Object),d=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f=d&&typeof module=="object"&&module&&!module.nodeType&&module,T=f&&f.exports===d,c=T?w.Buffer:void 0,l=c?c.allocUnsafe:void 0;function M(e,r){if(r)return e.slice();var n=e.length,t=l?l(n):new e.constructor(n);return e.copy(t),t}function U(e){var r=new e.constructor(e.byteLength);return new i(r).set(new i(e)),r}function N(e,r){var n=r?U(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function j(e){return typeof e.constructor=="function"&&!v(e)?P(L(e)):{}}export{E as a,M as b,q as c,N as d,U as e,L as g,j as i,z as k};
