var ContextComponent=function(){function t(){this.endpoint=""}return t.prototype.componentDidLoad=function(){this.checkForJwt(),this.contextUpdated.emit({jwt:this.jwt,endpoint:this.endpoint})},t.prototype.checkForJwt=function(){localStorage.getItem("jwt")&&(this.jwt=localStorage.getItem("jwt"))},Object.defineProperty(t,"is",{get:function(){return"edel-context"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{endpoint:{type:String,attr:"endpoint",watchCallbacks:["componentDidLoad"]},jwt:{type:String,attr:"jwt",watchCallbacks:["componentDidLoad"]}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"events",{get:function(){return[{name:"contextUpdated",method:"contextUpdated",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),t}();export{ContextComponent as EdelContext};