import{r as registerInstance,g as getElement}from"./index-b7735e0d.js";import{A as ActiveRouter}from"./active-router-36ad0201.js";import"./state-tunnel-04c0b67a.js";var RouteTitle=function(){function t(t){registerInstance(this,t);this.titleSuffix="";this.pageTitle=""}t.prototype.updateDocumentTitle=function(){var t=this.el;if(t.ownerDocument){t.ownerDocument.title="".concat(this.pageTitle).concat(this.titleSuffix||"")}};t.prototype.componentWillLoad=function(){this.updateDocumentTitle()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{pageTitle:["updateDocumentTitle"]}},enumerable:false,configurable:true});return t}();ActiveRouter.injectProps(RouteTitle,["titleSuffix"]);export{RouteTitle as stencil_route_title};