import{Ja as d,Ta as c,aa as r,sa as o,ta as s}from"./chunk-XBTZE2EC.js";import{i}from"./chunk-WHYNGVB3.js";var p=(()=>{let e=class e{renderer=r(d);hostElement=r(s);pluginSelectorId=o(void 0);ngOnInit(){let n=this.pluginSelectorId();if(!n)return;if(this.hostElement.nativeElement.getAttribute("id"))throw new Error("Cannot set id on element that already has an id");this.renderer.setAttribute(this.hostElement.nativeElement,"id",`plugin-selector-${n}`)}};i(e,"\u0275fac",function(l){return new(l||e)}),i(e,"\u0275dir",c({type:e,selectors:[["","myPluginSelector",""]],inputs:{pluginSelectorId:[1,"pluginSelectorId"]}}));let t=e;return t})();export{p as a};
/**i18n:56bde403ffba090cdb11aaac0f86ffb9ae7c2bab95df4b44d5dba510264fcf4f*/
//# sourceMappingURL=chunk-AAEWTTK6.js.map
