"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PropertyInjectors=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var prop_injectors_helpers_1=()=>{var tmp=require("./prop-injectors-helpers");return prop_injectors_helpers_1=()=>tmp,tmp};class PropertyInjectors{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.PropertyInjectors",version:"2.256.1"};static hasPropertyInjectors(x){return x!==null&&typeof x=="object"&&prop_injectors_helpers_1().PROPERTY_INJECTORS_SYMBOL in x}static of(scope){let propInjectors=scope[prop_injectors_helpers_1().PROPERTY_INJECTORS_SYMBOL];return propInjectors||(propInjectors=new PropertyInjectors(scope),Object.defineProperty(scope,prop_injectors_helpers_1().PROPERTY_INJECTORS_SYMBOL,{value:propInjectors,configurable:!1,enumerable:!1})),propInjectors}scope;_injectors;constructor(scope){this._injectors=new Map,this.scope=scope}add(...propsInjectors){try{jsiiDeprecationWarnings().aws_cdk_lib_IPropertyInjector(propsInjectors)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.add),error}for(const pi of propsInjectors)this._injectors.set(pi.constructUniqueId,pi)}for(uniqueId){return this._injectors.get(uniqueId)}supportedClasses(){return Array.from(this._injectors.keys())}}exports.PropertyInjectors=PropertyInjectors;
