var e=class{static beforeCloseEvents=[];static onUriEvents=[]},t=class{uri;path;constructor(e){this.uri=e,this.path=e.substring(e.indexOf(`://`)+3)}};function n(){e.beforeCloseEvents.forEach(e=>e())}function r(n){e.onUriEvents.forEach(e=>e(new t(n)))}export{r as n,n as t};