import{m as b,n as l,o as m,q as w,t as g,g as d,k as O,v as I,w as M,d as A,j as P,h as p,x as q,y}from"./index-Cx_WzRmY.js";var x=Object.prototype,E=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])&&!E.call(a,v))&&(a[v]=s[v])}return a});function F(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 L=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=L(i+e,0)),M(a,d(n),e)}var D=F(C);function R(a,n){var r=-1,i=g(a)?Array(a.length):[];return A(a,function(e,s,t){i[++r]=n(e,s,t)}),i}function G(a,n){var r=p(a)?P: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,y,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};
