const e=require("./_createAssigner-DqH64jc7.cjs"),t=require("./_baseUniq-CYtOXxfV.cjs");var n=/\s/;function r(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}var i=/^\s+/;function a(e){return e&&e.slice(0,r(e)+1).replace(i,``)}var o=NaN,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;function d(n){if(typeof n==`number`)return n;if(t.N(n))return o;if(e.H(n)){var r=typeof n.valueOf==`function`?n.valueOf():n;n=e.H(r)?r+``:r}if(typeof n!=`string`)return n===0?n:+n;n=a(n);var i=c.test(n);return i||l.test(n)?u(n.slice(2),i?2:8):s.test(n)?o:+n}var f=1/0,p=17976931348623157e292;function m(e){return e?(e=d(e),e===f||e===-f?(e<0?-1:1)*p:e===e?e:0):e===0?e:0}function h(e){var t=m(e),n=t%1;return t===t?n?t-n:t:0}function g(e){return e!=null&&e.length?t.S(e,1):[]}var _=Object.prototype,v=_.hasOwnProperty,y=e.r(function(t,n){t=Object(t);var r=-1,i=n.length,a=i>2?n[2]:void 0;for(a&&e.n(n[0],n[1],a)&&(i=1);++r<i;)for(var o=n[r],s=e.c(o),c=-1,l=s.length;++c<l;){var u=s[c],d=t[u];(d===void 0||e.R(d,_[u])&&!v.call(t,u))&&(t[u]=o[u])}return t});function b(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function x(n){return function(r,i,a){var o=Object(r);if(!e.v(r)){var s=t.f(i,3);r=t.D(r),i=function(e){return s(o[e],e,o)}}var c=n(r,i,a);return c>-1?o[s?r[c]:c]:void 0}}var S=Math.max;function C(e,n,r){var i=e==null?0:e.length;if(!i)return-1;var a=r==null?0:h(r);return a<0&&(a=S(i+a,0)),t.A(e,t.f(n,3),a)}var w=x(C);function T(n,r){var i=-1,a=e.v(n)?Array(n.length):[];return t.u(n,function(e,t,n){a[++i]=r(e,t,n)}),a}function E(n,r){return(e.b(n)?t.M:T)(n,t.f(r,3))}var D=Object.prototype.hasOwnProperty;function O(e,t){return e!=null&&D.call(e,t)}function k(e,n){return e!=null&&t.h(e,n,O)}var A=`[object String]`;function j(t){return typeof t==`string`||!e.b(t)&&e.S(t)&&e.U(t)==A}function M(e,t){return e<t}function N(e,n,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=n(o);if(s!=null&&(c===void 0?s===s&&!t.N(s):r(s,c)))var c=s,l=o}return l}function P(t){return t&&t.length?N(t,e.s,M):void 0}function F(n,r,i,a){if(!e.H(n))return n;r=t.T(r,n);for(var o=-1,s=r.length,c=s-1,l=n;l!=null&&++o<s;){var u=t.w(r[o]),d=i;if(u===`__proto__`||u===`constructor`||u===`prototype`)return n;if(o!=c){var f=l[u];d=a?a(f,u,l):void 0,d===void 0&&(d=e.H(f)?f:e.u(r[o+1])?[]:{})}e.f(l,u,d),l=l[u]}return n}function I(e,n,r){for(var i=-1,a=n.length,o={};++i<a;){var s=n[i],c=t.C(e,s);r(c,s)&&F(o,t.T(s,e),c)}return o}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return b}});