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