import{z as s,x as i,y as c,C as u,w as f,K as _}from"./index.8c202964.js";import{a as v,b,c as O,_ as g}from"./_baseClone.27d834a2.js";import{_ as m}from"./_flatRest.ad5935e7.js";function y(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var P=y;function p(t,e,r){var a=-1,n=t.length;e<0&&(e=-e>n?0:n+e),r=r>n?n:r,r<0&&(r+=n),n=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(n);++a<n;)o[a]=t[a+e];return o}var C=p,L=s,S=C;function A(t,e){return e.length<2?t:L(t,S(e,0,-1))}var G=A,$=i,j=P,h=G,w=c;function E(t,e){return e=$(e,t),t=h(t,e),t==null||delete t[w(j(e))]}var F=E,K=u,T=v,x=f,M="[object Object]",N=Function.prototype,U=Object.prototype,l=N.toString,k=U.hasOwnProperty,D=l.call(Object);function I(t){if(!x(t)||K(t)!=M)return!1;var e=T(t);if(e===null)return!0;var r=k.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&l.call(r)==D}var R=I,z=R;function B(t){return z(t)?void 0:t}var Y=B,d=_,q=g,H=F,J=i,Q=b,V=Y,W=m,X=O,Z=1,ee=2,te=4,re=W(function(t,e){var r={};if(t==null)return r;var a=!1;e=d(e,function(o){return o=J(o,t),a||(a=o.length>1),o}),Q(t,X(t),r),a&&(r=q(r,Z|ee|te,V));for(var n=e.length;n--;)H(r,e[n]);return r}),ie=re;export{P as l,ie as o};
