| 12 |
- import{r}from"./get-intrinsic.Bbe5x-9b.js";import{r as t}from"./call-bound.22gFUC2Q.js";import{r as e}from"./object-inspect.DvQZIv3_.js";import{r as o}from"./es-errors.DTEWvbA_.js";var n,i;function a(){if(i)return n;i=1;var a=r(),p=t(),s=e(),f=o(),u=a("%Map%",!0),c=p("Map.prototype.get",!0),m=p("Map.prototype.set",!0),d=p("Map.prototype.has",!0),M=p("Map.prototype.delete",!0),h=p("Map.prototype.size",!0);return n=!!u&&/** @type {Exclude<import('.'), false>} */
- function(){var r,t={assert:function(r){if(!t.has(r))throw new f("Side channel does not contain "+s(r))},delete:function(t){if(r){var e=M(r,t);return 0===h(r)&&(r=void 0),e}return!1},get:function(t){if(r)return c(r,t)},has:function(t){return!!r&&d(r,t)},set:function(t,e){r||(r=new u),m(r,t,e)}};return t}}export{a as r};
|