import{r as M}from"./get-intrinsic-Cw1lliNH-v4.7.9.js";import{r as W}from"./call-bound-BaE_5wDV-v4.7.9.js";import{r as w}from"./object-inspect-qJYbVc5F-v4.7.9.js";import{r as $}from"./side-channel-map-DI_RZ64y-v4.7.9.js";import{r as q}from"./es-errors-CxTyLFAO-v4.7.9.js";var o,u;function I(){if(u)return o;u=1;var s=M(),n=W(),c=w(),i=$(),l=q(),a=s("%WeakMap%",!0),m=n("WeakMap.prototype.get",!0),d=n("WeakMap.prototype.set",!0),h=n("WeakMap.prototype.has",!0),v=n("WeakMap.prototype.delete",!0);return o=a?function(){var r,t,p={assert:function(e){if(!p.has(e))throw new l("Side channel does not contain "+c(e))},delete:function(e){if(a&&e&&(typeof e=="object"||typeof e=="function")){if(r)return v(r,e)}else if(i&&t)return t.delete(e);return!1},get:function(e){return a&&e&&(typeof e=="object"||typeof e=="function")&&r?m(r,e):t&&t.get(e)},has:function(e){return a&&e&&(typeof e=="object"||typeof e=="function")&&r?h(r,e):!!t&&t.has(e)},set:function(e,f){a&&e&&(typeof e=="object"||typeof e=="function")?(r||(r=new a),d(r,e,f)):i&&(t||(t=i()),t.set(e,f))}};return p}:i,o}export{I as r};
