md/assets/min-Dppjuofo.js
2024-11-27 03:30:55 +00:00

2 lines
1.6 KiB
JavaScript

import{aQ as m,aC as x,aR as I,aS as O,aT as o,aU as b,aV as d,aH as p,aW as w,aX as P,aY as M,aZ as A,a_ as E,a$ as F}from"./index-EOHikjcP.js";import{c as N}from"./_baseUniq-H04t_fXT.js";var g=1/0,R=17976931348623157e292;function T(n){if(!n)return n===0?n:0;if(n=m(n),n===g||n===-g){var a=n<0?-1:1;return a*R}return n===n?n:0}function $(n){var a=T(n),r=a%1;return a===a?r?a-r:a:0}var l=Object.prototype,y=l.hasOwnProperty,V=x(function(n,a){n=Object(n);var r=-1,i=a.length,t=i>2?a[2]:void 0;for(t&&I(a[0],a[1],t)&&(i=1);++r<i;)for(var s=a[r],e=O(s),f=-1,h=e.length;++f<h;){var u=e[f],v=n[u];(v===void 0||o(v,l[u])&&!y.call(n,u))&&(n[u]=s[u])}return n});function W(n){var a=n==null?0:n.length;return a?n[a-1]:void 0}function C(n){return function(a,r,i){var t=Object(a);if(!b(a)){var s=d(r);a=p(a),r=function(f){return s(t[f],f,t)}}var e=n(a,r,i);return e>-1?t[s?a[e]:e]:void 0}}var H=Math.max;function L(n,a,r){var i=n==null?0:n.length;if(!i)return-1;var t=r==null?0:$(r);return t<0&&(t=H(i+t,0)),w(n,d(a),t)}var Z=C(L);function S(n,a){var r=-1,i=b(n)?Array(n.length):[];return N(n,function(t,s,e){i[++r]=a(t,s,e)}),i}function z(n,a){var r=P(n)?M:S;return r(n,d(a))}var X=Object.prototype,Y=X.hasOwnProperty;function _(n,a){return n!=null&&Y.call(n,a)}function B(n,a){return n!=null&&A(n,a,_)}function q(n,a){return n<a}function G(n,a,r){for(var i=-1,t=n.length;++i<t;){var s=n[i],e=a(s);if(e!=null&&(f===void 0?e===e&&!E(e):r(e,f)))var f=e,h=s}return h}function D(n){return n&&n.length?G(n,F,q):void 0}export{q as a,G as b,S as c,D as d,V as e,Z as f,$ as g,B as h,W as l,z as m,T as t};