md/assets/min-B9CBIDjB.js

2 lines
1.1 KiB
JavaScript
Raw Normal View History

import{aL as m,aM as x,aN as I,aO as O,aP as w,aQ as N,aR as g,aD as F,aS as M,aT as P,aU as l}from"./index-tOBB4d1H.js";var u=1/0,E=17976931348623157e292;function L(n){if(!n)return n===0?n:0;if(n=m(n),n===u||n===-u){var a=n<0?-1:1;return a*E}return n===n?n:0}function R(n){var a=L(n),t=a%1;return a===a?t?a-t:a:0}var b=Object.prototype,T=b.hasOwnProperty,Q=x(function(n,a){n=Object(n);var t=-1,e=a.length,r=e>2?a[2]:void 0;for(r&&I(a[0],a[1],r)&&(e=1);++t<e;)for(var f=a[t],i=O(f),s=-1,h=i.length;++s<h;){var d=i[s],v=n[d];(v===void 0||w(v,b[d])&&!T.call(n,d))&&(n[d]=f[d])}return n});function A(n){return function(a,t,e){var r=Object(a);if(!N(a)){var f=g(t);a=F(a),t=function(s){return f(r[s],s,r)}}var i=n(a,t,e);return i>-1?r[f?a[i]:i]:void 0}}var S=Math.max;function q(n,a,t){var e=n==null?0:n.length;if(!e)return-1;var r=t==null?0:R(t);return r<0&&(r=S(e+r,0)),M(n,g(a),r)}var U=A(q);function C(n,a){return n<a}function D(n,a,t){for(var e=-1,r=n.length;++e<r;){var f=n[e],i=a(f);if(i!=null&&(s===void 0?i===i&&!P(i):t(i,s)))var s=i,h=f}return h}function X(n){return n&&n.length?D(n,l,C):void 0}export{C as a,D as b,R as c,Q as d,U as f,X as m,L as t};