import{y as r,aj as a,bG as n,bH as t,m as o,F as e,bI as s,ae as u,af as i,bJ as l,ad as f,ah as v}from"./index-CFExNDlA.js";import{a as c}from"./_baseEach-B1XKlx78.js";import{d as b}from"./_baseUniq-HE4jn4Ss.js";import{b as h}from"./_baseMap-BiNc5OKS.js";var p=Object.prototype,m=p.hasOwnProperty,d=r((function(r,o){r=Object(r);var e=-1,s=o.length,u=s>2?o[2]:void 0;for(u&&a(o[0],o[1],u)&&(s=1);++e<s;)for(var i=o[e],l=n(i),f=-1,v=l.length;++f<v;){var c=l[f],b=r[c];(void 0===b||t(b,p[c])&&!m.call(r,c))&&(r[c]=i[c])}return r}));function j(r){var a=null==r?0:r.length;return a?r[a-1]:void 0}var g=Math.max;var O,y=(O=function(r,a,n){var t=null==r?0:r.length;if(!t)return-1;var o=null==n?0:s(n);return o<0&&(o=g(t+o,0)),b(r,c(a),o)},function(r,a,n){var t=Object(r);if(!o(r)){var s=c(a);r=e(r),a=function(r){return s(t[r],r,t)}}var u=O(r,a,n);return u>-1?t[s?r[u]:u]:void 0});function x(r,a){return(i(r)?u:h)(r,c(a))}var _=Object.prototype.hasOwnProperty;function w(r,a){return null!=r&&_.call(r,a)}function M(r,a){return null!=r&&l(r,a,w)}function P(r,a){return r<a}function k(r,a,n){for(var t=-1,o=r.length;++t<o;){var e=r[t],s=a(e);if(null!=s&&(void 0===u?s==s&&!f(s):n(s,u)))var u=s,i=e}return i}function q(r){return r&&r.length?k(r,v,P):void 0}export{P as a,k as b,q as c,d,y as f,M as h,j as l,x as m};
