import{m as b,n as l,o as m,p as w,q as g,g as d,k as O,t as I,v as M,d as p,j as A,h as P,w as q,x as E}from"./index-BpV-aY20.js";var x=Object.prototype,F=x.hasOwnProperty,B=b(function(a,n){a=Object(a);var r=-1,i=n.length,e=i>2?n[2]:void 0;for(e&&l(n[0],n[1],e)&&(i=1);++r<i;)for(var s=n[r],t=m(s),f=-1,u=t.length;++f<u;){var v=t[f],h=a[v];(h===void 0||w(h,x[v])&&!F.call(a,v))&&(a[v]=s[v])}return a});function L(a){return function(n,r,i){var e=Object(n);if(!g(n)){var s=d(r);n=O(n),r=function(f){return s(e[f],f,e)}}var t=a(n,r,i);return t>-1?e[s?n[t]:t]:void 0}}var y=Math.max;function C(a,n,r){var i=a==null?0:a.length;if(!i)return-1;var e=r==null?0:I(r);return e<0&&(e=y(i+e,0)),M(a,d(n),e)}var D=L(C);function R(a,n){var r=-1,i=g(a)?Array(a.length):[];return p(a,function(e,s,t){i[++r]=n(e,s,t)}),i}function G(a,n){var r=P(a)?A:R;return r(a,d(n))}function S(a,n){return a<n}function j(a,n,r){for(var i=-1,e=a.length;++i<e;){var s=a[i],t=n(s);if(t!=null&&(f===void 0?t===t&&!q(t):r(t,f)))var f=t,u=s}return u}function H(a){return a&&a.length?j(a,E,S):void 0}export{S as a,j as b,R as c,H as d,B as e,D as f,G as m};
