import{__require as r}from"./export.mjs";import{__require as e}from"./global-this.mjs";import{__require as t}from"./function-uncurry-this.mjs";import{__require as i}from"./is-forced.mjs";import{__require as o}from"./define-built-in.mjs";import{__require as n}from"./internal-metadata.mjs";import{__require as s}from"./iterate.mjs";import{__require as a}from"./an-instance.mjs";import{__require as u}from"./is-callable.mjs";import{__require as m}from"./is-null-or-undefined.mjs";import{__require as f}from"./is-object.mjs";import{__require as _}from"./fails.mjs";import{__require as c}from"./check-correctness-of-iteration.mjs";import{__require as p}from"./set-to-string-tag.mjs";import{__require as l}from"./inherit-if-required.mjs";var d,h;function q(){if(h)return d;h=1;var q=r(),j=e(),g=t(),v=i(),b=o(),w=n(),x=s(),y=a(),E=u(),S=m(),k=f(),O=_(),A=c(),C=p(),I=l();return d=function(r,e,t){var i=-1!==r.indexOf("Map"),o=-1!==r.indexOf("Weak"),n=i?"set":"add",s=j[r],a=s&&s.prototype,u=s,m={},f=function(r){var e=g(a[r]);b(a,r,"add"===r?function(r){return e(this,0===r?0:r),this}:"delete"===r?function(r){return!(o&&!k(r))&&e(this,0===r?0:r)}:"get"===r?function(r){return o&&!k(r)?void 0:e(this,0===r?0:r)}:"has"===r?function(r){return!(o&&!k(r))&&e(this,0===r?0:r)}:function(r,t){return e(this,0===r?0:r,t),this})};if(v(r,!E(s)||!(o||a.forEach&&!O(function(){(new s).entries().next()}))))u=t.getConstructor(e,r,i,n),w.enable();else if(v(r,!0)){var _=new u,c=_[n](o?{}:-0,1)!==_,p=O(function(){_.has(1)}),l=A(function(r){new s(r)}),d=!o&&O(function(){for(var r=new s,e=5;e--;)r[n](e,e);return!r.has(-0)});l||((u=e(function(r,e){y(r,a);var t=I(new s,r,u);return S(e)||x(e,t[n],{that:t,AS_ENTRIES:i}),t})).prototype=a,a.constructor=u),(p||d)&&(f("delete"),f("has"),i&&f("get")),(d||c)&&f(n),o&&a.clear&&delete a.clear}return m[r]=u,q({global:!0,constructor:!0,forced:u!==s},m),C(u,r),o||t.setStrong(u,r,i),u}}export{q as __require};