import{C as D,E,_ as L,a as M,g as y,m as v,o as S,p as b,t as g,v as U,x as s}from"./_Uint8Array-D5Z9rM2X.js";function q(r){return r}var l=q,d=Object.create,z=(function(){function r(){}return function(n){if(!s(n))return{};if(d)return d(n);r.prototype=n;var t=new r;return r.prototype=void 0,t}})();function F(r,n,t){switch(t.length){case 0:return r.call(n);case 1:return r.call(n,t[0]);case 2:return r.call(n,t[0],t[1]);case 3:return r.call(n,t[0],t[1],t[2])}return r.apply(n,t)}var G=F;function H(r,n){var t=-1,e=r.length;for(n||(n=Array(e));++t<e;)n[t]=r[t];return n}var I=H,J=800,K=16,N=Date.now;function Q(r){var n=0,t=0;return function(){var e=N(),a=K-(e-t);if(t=e,a>0){if(++n>=J)return arguments[0]}else n=0;return r.apply(void 0,arguments)}}var R=Q;function V(r){return function(){return r}}var h=V,i=(function(){try{var r=U(Object,"defineProperty");return r({},"",{}),r}catch{}})(),m=R(i?function(r,n){return i(r,"toString",{configurable:!0,enumerable:!1,value:h(n),writable:!0})}:l);function W(r,n,t){n=="__proto__"&&i?i(r,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[n]=t}var p=W,X=Object.prototype.hasOwnProperty;function Y(r,n,t){var e=r[n];(!(X.call(r,n)&&y(e,t))||t===void 0&&!(n in r))&&p(r,n,t)}var O=Y;function Z(r,n,t,e){var a=!t;t||(t={});for(var u=-1,c=n.length;++u<c;){var o=n[u],f=e?e(t[o],r[o],o,t,r):void 0;f===void 0&&(f=r[o]),a?p(t,o,f):O(t,o,f)}return t}var $=Z,w=Math.max;function rr(r,n,t){return n=w(n===void 0?r.length-1:n,0),function(){for(var e=arguments,a=-1,u=w(e.length-n,0),c=Array(u);++a<u;)c[a]=e[n+a];a=-1;for(var o=Array(n+1);++a<n;)o[a]=e[a];return o[n]=t(c),G(r,this,o)}}var j=rr;function nr(r,n){return m(j(r,n,l),r+"")}var x=nr;function tr(r,n,t){if(!s(t))return!1;var e=typeof n;return(e=="number"?v(t)&&L(n,t.length):e=="string"&&n in t)?y(t[n],r):!1}var _=tr;function er(r){return x(function(n,t){var e=-1,a=t.length,u=a>1?t[a-1]:void 0,c=a>2?t[2]:void 0;for(u=r.length>3&&typeof u=="function"?(a--,u):void 0,c&&_(t[0],t[1],c)&&(u=a<3?void 0:u,a=1),n=Object(n);++e<a;){var o=t[e];o&&r(n,o,e,u)}return n})}var ar=er;function or(r){var n=[];if(r!=null)for(var t in Object(r))n.push(t);return n}var ur=or,cr=Object.prototype.hasOwnProperty;function fr(r){if(!s(r))return ur(r);var n=b(r),t=[];for(var e in r)e=="constructor"&&(n||!cr.call(r,e))||t.push(e);return t}var ir=fr;function vr(r){return v(r)?S(r,!0):ir(r)}var sr=vr,P=M(Object.getPrototypeOf,Object),A=typeof exports=="object"&&exports&&!exports.nodeType&&exports,T=A&&typeof module=="object"&&module&&!module.nodeType&&module,k=T&&T.exports===A?E.Buffer:void 0,B=k?k.allocUnsafe:void 0;function lr(r,n){if(n)return r.slice();var t=r.length,e=B?B(t):new r.constructor(t);return r.copy(e),e}var pr=lr;function yr(r){var n=new r.constructor(r.byteLength);return new g(n).set(new g(r)),n}var C=yr;function br(r,n){var t=n?C(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var gr=br;function dr(r){return typeof r.constructor=="function"&&!b(r)?z(P(r)):{}}var hr=dr;function mr(r){return function(n,t,e){for(var a=-1,u=Object(n),c=e(n),o=c.length;o--;){var f=c[r?o:++a];if(t(u[f],f,u)===!1)break}return n}}var Or=mr();function wr(r){return D(r)&&v(r)}var jr=wr;export{h as _,C as a,sr as c,x as d,j as f,m as g,p as h,gr as i,ar as l,O as m,Or as n,pr as o,$ as p,hr as r,P as s,jr as t,_ as u,I as v,l as y};
