import{__require as r}from"./function-apply.mjs";import{__require as e}from"./to-indexed-object.mjs";import{__require as t}from"./to-integer-or-infinity.mjs";import{__require as i}from"./length-of-array-like.mjs";import{__require as n}from"./array-method-is-strict.mjs";var o,a;function f(){if(a)return o;a=1;var f=r(),s=e(),m=t(),u=i(),_=n(),p=Math.min,l=[].lastIndexOf,d=!!l&&1/[1].lastIndexOf(1,-0)<0,h=_("lastIndexOf");return o=d||!h?function(r){if(d)return f(l,this,arguments)||0;var e=s(this),t=u(e);if(0===t)return-1;var i=t-1;for(arguments.length>1&&(i=p(i,m(arguments[1]))),i<0&&(i=t+i);i>=0;i--)if(i in e&&e[i]===r)return i||0;return-1}:l,o}export{f as __require};