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-BDe2Eio8.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-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