import{r as h}from"./object-inspect-DjWDtBOK-v4.7.11.js";import{r as p}from"./es-errors-CxTyLFAO-v4.7.11.js";var f,o;function q(){if(o)return f;o=1;var d=h(),v=p(),u=function(n,e,i){for(var r=n,t;(t=r.next)!=null;r=t)if(t.key===e)return r.next=t.next,i||(t.next=n.next,n.next=t),t},l=function(n,e){if(n){var i=u(n,e);return i&&i.value}},s=function(n,e,i){var r=u(n,e);r?r.value=i:n.next={key:e,next:n.next,value:i}},c=function(n,e){return n?!!u(n,e):!1},x=function(n,e){if(n)return u(n,e,!0)};return f=function(){var e,i={assert:function(r){if(!i.has(r))throw new v("Side channel does not contain "+d(r))},delete:function(r){var t=e&&e.next,a=x(e,r);return a&&t&&t===a&&(e=void 0),!!a},get:function(r){return l(e,r)},has:function(r){return c(e,r)},set:function(r,t){e||(e={next:void 0}),s(e,r,t)}};return i},f}export{q as r};
