import{Ka as d,Ua as c,aa as r,ta as o,ua as s}from"./chunk-747XQIKV.js";import{i}from"./chunk-D3F7ONO7.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:6f27118bd781e1b187bee9d5d6ca55c8b3017949bcb9fb3e18a73e038f249d42*/
//# sourceMappingURL=chunk-OVG7YXAR.js.map
