import{C as h,S as c,g as d,m as y,w as O}from"./_Uint8Array-D5Z9rM2X.js";import{t as b}from"./isSymbol-xTSywenE.js";import{t as j}from"./_arrayMap-DQI2GUNb.js";import{t as w}from"./toInteger-Bor4StOs.js";import{c as x,d as P,u as S,y as C}from"./isArrayLikeObject-DKyJYtr8.js";import{m as M}from"./_baseUniq-YWmHDCnr.js";import{f as k}from"./_baseIsEqual-BF8660ot.js";import{r as s}from"./_baseEach-Xz5DR2cc.js";import{n as z}from"./hasIn-WaG0qjy7.js";import{t as A}from"./_baseMap-DMMHaI20.js";var p=Object.prototype,B=p.hasOwnProperty,D=P(function(r,a){r=Object(r);var o=-1,i=a.length,t=i>2?a[2]:void 0;for(t&&S(a[0],a[1],t)&&(i=1);++o<i;)for(var u=a[o],n=x(u),v=-1,m=n.length;++v<m;){var f=n[v],l=r[f];(l===void 0||d(l,p[f])&&!B.call(r,f))&&(r[f]=u[f])}return r});function E(r){var a=r==null?0:r.length;return a?r[a-1]:void 0}var F=E;function H(r){return function(a,o,i){var t=Object(a);if(!y(a)){var u=s(o,3);a=k(a),o=function(v){return u(t[v],v,t)}}var n=r(a,o,i);return n>-1?t[u?a[n]:n]:void 0}}var I=H,L=Math.max;function N(r,a,o){var i=r==null?0:r.length;if(!i)return-1;var t=o==null?0:w(o);return t<0&&(t=L(i+t,0)),M(r,s(a,3),t)}var R=I(N);function T(r,a){return(c(r)?j:A)(r,s(a,3))}var V=T,_=Object.prototype.hasOwnProperty;function q(r,a){return r!=null&&_.call(r,a)}var G=q;function J(r,a){return r!=null&&z(r,a,G)}var K=J,Q="[object String]";function U(r){return typeof r=="string"||!c(r)&&h(r)&&O(r)==Q}var W=U;function X(r,a){return r<a}var e=X;function Y(r,a,o){for(var i=-1,t=r.length;++i<t;){var u=r[i],n=a(u);if(n!=null&&(v===void 0?n===n&&!b(n):o(n,v)))var v=n,m=u}return m}var g=Y;function Z(r){return r&&r.length?g(r,C,e):void 0}var $=Z;export{K as a,F as c,W as i,D as l,g as n,V as o,e as r,R as s,$ as t};
