import{__exports as r}from"../../../_virtual/esnext.map.emplace.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/a-map.mjs";import{__require as a}from"../internals/map-helpers.mjs";var s;function i(){if(s)return r;s=1;var i=e(),m=t(),p=a(),n=p.get,o=p.has,u=p.set;return i({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(r,e){var t,a,s=m(this);return o(s,r)?(t=n(s,r),"update"in e&&(t=e.update(t,r,s),u(s,r,t)),t):(a=e.insert(r,s),u(s,r,a),a)}}),r}export{i as __require};