import{__require as r}from"./fails.mjs";import{__require as e}from"./is-callable.mjs";import{__require as t}from"./is-object.mjs";import{__require as o}from"./object-create.mjs";import{__require as i}from"./object-get-prototype-of.mjs";import{__require as m}from"./define-built-in.mjs";import{__require as s}from"./well-known-symbol.mjs";import{__require as _}from"./is-pure.mjs";var a,u;function n(){if(u)return a;u=1;var n,f,p,j=r(),c=e(),l=t(),q=o(),b=i(),y=m(),k=s(),v=_(),A=k("iterator"),I=!1;return[].keys&&("next"in(p=[].keys())?(f=b(b(p)))!==Object.prototype&&(n=f):I=!0),!l(n)||j(function(){var r={};return n[A].call(r)!==r})?n={}:v&&(n=q(n)),c(n[A])||y(n,A,function(){return this}),a={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:I}}export{n as __require};