import{Ha as d,Ma as s,aa as r,ra as o,yc as c}from"./chunk-AVPM423Z.js";import{i}from"./chunk-W5TMGCPH.js";var p=(()=>{let e=class e{renderer=r(d);hostElement=r(o);pluginSelectorId=c(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",s({type:e,selectors:[["","myPluginSelector",""]],inputs:{pluginSelectorId:[1,"pluginSelectorId"]}}));let t=e;return t})();export{p as a};
/**i18n:ceac57349051bcddcb40dd2878e0abcb86556d5ceb9d6109d22ac3f1ae3cc7b1*/
//# sourceMappingURL=chunk-JCFZI4QA.js.map
