123456789101112131415161718192021222324252627 |
- import {
- e,
- n5 as n,
- y3 as y
- } from "./chunk-2Z2TG5CU.js";
- // node_modules/@arcgis/core/layers/mixins/APIKeyMixin.js
- function t(e2) {
- return "portalItem" in e2;
- }
- var i = (i2) => {
- let o = class extends i2 {
- get apiKey() {
- var _a;
- return this._isOverridden("apiKey") ? this._get("apiKey") : t(this) ? (_a = this.portalItem) == null ? void 0 : _a.apiKey : null;
- }
- set apiKey(e2) {
- null != e2 ? this._override("apiKey", e2) : (this._clearOverride("apiKey"), this.clear("apiKey", "user"));
- }
- };
- return e([y({ type: String })], o.prototype, "apiKey", null), o = e([n("esri.layers.mixins.APIKeyMixin")], o), o;
- };
- export {
- i
- };
- //# sourceMappingURL=chunk-WWXZOC2Y.js.map
|