System.register(["./p-65f56f45.system.js","./p-789385c8.system.js"],(function(t){"use strict";var r,s,e;return{setters:[function(t){r=t.r;s=t.g},function(t){e=t.A}],execute:function(){const i=(t,r)=>{if(t.charAt(0)=="/"&&r.charAt(r.length-1)=="/"){return r.slice(0,r.length-1)+t}return r+t};const n=t("stencil_router_redirect",class{constructor(t){r(this,t)}componentWillLoad(){if(this.history&&this.root&&this.url){return this.history.replace(i(this.url,this.root))}}get el(){return s(this)}});e.injectProps(n,["history","root"])}}}));