System.register(["./p-65f56f45.system.js","./p-789385c8.system.js"],(function(e){"use strict";var s,t,i;return{setters:[function(e){s=e.r;t=e.g},function(e){i=e.A}],execute:function(){const n=e("stencil_router_prompt",class{constructor(e){s(this,e);this.when=true;this.message=""}enable(e){if(this.unblock){this.unblock()}if(this.history){this.unblock=this.history.block(e)}}disable(){if(this.unblock){this.unblock();this.unblock=undefined}}componentWillLoad(){if(this.when){this.enable(this.message)}}updateMessage(e,s){if(this.when){if(!this.when||s!==e){this.enable(this.message)}}else{this.disable()}}componentDidUnload(){this.disable()}render(){return null}get el(){return t(this)}static get watchers(){return{message:["updateMessage"],when:["updateMessage"]}}});i.injectProps(n,["history"])}}}));