import{__exports as r}from"../../../_virtual/es.weak-map.get-or-insert-computed.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/a-callable.mjs";import{__require as a}from"../internals/a-weak-map.mjs";import{__require as s}from"../internals/a-weak-key.mjs";import{__require as i}from"../internals/weak-map-helpers.mjs";import{__require as o}from"../internals/is-pure.mjs";var n;function m(){if(n)return r;n=1;var m=e(),p=t(),u=a(),_=s(),f=i(),l=o(),c=f.get,h=f.has,k=f.set;return m({target:"WeakMap",proto:!0,real:!0,forced:l||!function(){try{WeakMap.prototype.getOrInsertComputed&&(new WeakMap).getOrInsertComputed(1,function(){throw 1})}catch(r){return r instanceof TypeError}}()},{getOrInsertComputed:function(r,e){if(u(this),_(r),p(e),h(this,r))return c(this,r);var t=e(r);return k(this,r,t),t}}),r}export{m as __require};