var InterceptorHandlerResponse=function(){function e(e,r,t){this.value=e;this.error=r;this.visible=t}return e}();var interceptorTypeMap=new Map;function registerInterceptor(e,r){interceptorTypeMap.set(e,r)}function generateInterceptor(e){var r=interceptorTypeMap.get(e.id);if(r){return r(e)}return undefined}function executeInterceptors(e,r,t,n,i,o,a,c){var p=o?o[a]||[]:[];var u=c?r[c.id]:n;var s=i;for(var f=0,v=p;f<v.length;f++){var I=v[f];if(!I){continue}var d=I.run(e,r,t,u,c);if(typeof d.visible==="boolean"){s=d.visible}if(d.error){return d}u=d.value}return new InterceptorHandlerResponse(u,undefined,s)}var InterceptorConfig=function(){function e(e){this.id=e}return e}();var InterceptorHandler=function(){function e(){}return e}();export{InterceptorConfig as I,InterceptorHandler as a,executeInterceptors as e,generateInterceptor as g,registerInterceptor as r};