import { d, e, n2 as n } from "./chunk-Y3WMVFTW.js"; // node_modules/@arcgis/core/layers/mixins/APIKeyMixin.js function t(r) { return "portalItem" in r; } var i = (i2) => { let o = class extends i2 { get apiKey() { return this._isOverridden("apiKey") ? this._get("apiKey") : t(this) ? this.portalItem?.apiKey : null; } set apiKey(r) { r != null ? this._override("apiKey", r) : (this._clearOverride("apiKey"), this.clear("apiKey", "user")); } }; return e([d({ type: String })], o.prototype, "apiKey", null), o = e([n("esri.layers.mixins.APIKeyMixin")], o), o; }; export { i }; //# sourceMappingURL=chunk-FMKGHOGD.js.map