import{aT as L,aU as D,aV as P,aW as O,aX as I,aY as d,aZ as G,a_ as _,a$ as x,b0 as l,b1 as E,b2 as u,b3 as K,b4 as N,b5 as R,b6 as V,b7 as W,b8 as Y,b9 as X}from"./index-CzaFTbF_.js";function Z(e,r){for(var n=-1,o=e==null?0:e.length;++n<o&&r(e[n],n,e)!==!1;);return e}function B(e){return P(e)?L(e):D(e)}function q(e,r){for(var n=-1,o=r.length,b=e.length;++n<o;)e[b+n]=r[n];return e}function H(e,r){return e&&O(r,B(r),e)}function J(e,r){for(var n=-1,o=e==null?0:e.length,b=0,s=[];++n<o;){var a=e[n];r(a,n,e)&&(s[b++]=a)}return s}function Q(){return[]}var k=Object.prototype,z=k.propertyIsEnumerable,$=Object.getOwnPropertySymbols,C=$?function(e){return e==null?[]:(e=Object(e),J($(e),function(r){return z.call(e,r)}))}:Q;function ee(e,r){return O(e,C(e),r)}function re(e,r,n){var o=r(e);return I(e)?o:q(o,n(e))}function te(e){return re(e,B,C)}var ne=Object.prototype,ae=ne.hasOwnProperty;function oe(e){var r=e.length,n=new e.constructor(r);return r&&typeof e[0]=="string"&&ae.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function se(e,r){var n=e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var ce=/\w*$/;function ie(e){var r=new e.constructor(e.source,ce.exec(e));return r.lastIndex=e.lastIndex,r}var m=d?d.prototype:void 0,h=m?m.valueOf:void 0;function be(e){return h?Object(h.call(e)):{}}var fe="[object Boolean]",ge="[object Date]",ue="[object Map]",le="[object Number]",ye="[object RegExp]",Te="[object Set]",pe="[object String]",je="[object Symbol]",Ae="[object ArrayBuffer]",de="[object DataView]",$e="[object Float32Array]",me="[object Float64Array]",he="[object Int8Array]",Se="[object Int16Array]",we="[object Int32Array]",Oe="[object Uint8Array]",Ie="[object Uint8ClampedArray]",xe="[object Uint16Array]",Ee="[object Uint32Array]";function Be(e,r,n){var o=e.constructor;switch(r){case Ae:return _(e);case fe:case ge:return new o(+e);case de:return se(e);case $e:case me:case he:case Se:case we:case Oe:case Ie:case xe:case Ee:return G(e,n);case ue:return new o;case le:case pe:return new o(e);case ye:return ie(e);case Te:return new o;case je:return be(e)}}var Ce="[object Map]";function Ue(e){return x(e)&&l(e)==Ce}var S=u&&u.isMap,ve=S?E(S):Ue,Fe="[object Set]";function Me(e){return x(e)&&l(e)==Fe}var w=u&&u.isSet,Le=w?E(w):Me,De=1,U="[object Arguments]",Pe="[object Array]",Ge="[object Boolean]",_e="[object Date]",Ke="[object Error]",v="[object Function]",Ne="[object GeneratorFunction]",Re="[object Map]",Ve="[object Number]",F="[object Object]",We="[object RegExp]",Ye="[object Set]",Xe="[object String]",Ze="[object Symbol]",qe="[object WeakMap]",He="[object ArrayBuffer]",Je="[object DataView]",Qe="[object Float32Array]",ke="[object Float64Array]",ze="[object Int8Array]",er="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",nr="[object Uint8ClampedArray]",ar="[object Uint16Array]",or="[object Uint32Array]",t={};t[U]=t[Pe]=t[He]=t[Je]=t[Ge]=t[_e]=t[Qe]=t[ke]=t[ze]=t[er]=t[rr]=t[Re]=t[Ve]=t[F]=t[We]=t[Ye]=t[Xe]=t[Ze]=t[tr]=t[nr]=t[ar]=t[or]=!0;t[Ke]=t[v]=t[qe]=!1;function g(e,r,n,o,b,s){var a,y=r&De;if(a!==void 0)return a;if(!K(e))return e;var T=I(e);if(T)return a=oe(e),N(e,a);var f=l(e),p=f==v||f==Ne;if(R(e))return V(e,y);if(f==F||f==U||p&&!b)return a=p?{}:W(e),ee(e,H(a,e));if(!t[f])return b?e:{};a=Be(e,f,y),s||(s=new Y);var j=s.get(e);if(j)return j;s.set(e,a),Le(e)?e.forEach(function(c){a.add(g(c,r,n,c,e,s))}):ve(e)&&e.forEach(function(c,i){a.set(i,g(c,r,n,i,e,s))});var M=te,A=T?void 0:M(e);return Z(A||e,function(c,i){A&&(i=c,c=e[i]),X(a,i,g(c,r,n,i,e,s))}),a}var sr=4;function ir(e){return g(e,sr)}export{q as a,re as b,ir as c,te as d,Z as e,J as f,C as g,B as k,Q as s};
