chunk-FMKGHOGD.js 665 B

1234567891011121314151617181920212223242526
  1. import {
  2. d,
  3. e,
  4. n2 as n
  5. } from "./chunk-Y3WMVFTW.js";
  6. // node_modules/@arcgis/core/layers/mixins/APIKeyMixin.js
  7. function t(r) {
  8. return "portalItem" in r;
  9. }
  10. var i = (i2) => {
  11. let o = class extends i2 {
  12. get apiKey() {
  13. return this._isOverridden("apiKey") ? this._get("apiKey") : t(this) ? this.portalItem?.apiKey : null;
  14. }
  15. set apiKey(r) {
  16. r != null ? this._override("apiKey", r) : (this._clearOverride("apiKey"), this.clear("apiKey", "user"));
  17. }
  18. };
  19. return e([d({ type: String })], o.prototype, "apiKey", null), o = e([n("esri.layers.mixins.APIKeyMixin")], o), o;
  20. };
  21. export {
  22. i
  23. };
  24. //# sourceMappingURL=chunk-FMKGHOGD.js.map