(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [4851],
  {
    11118: (e, t, r) => {
      'use strict';
      r.d(t, { B: () => s });
      var i = r(29768),
        o = r(34250),
        n = (r(76506), r(91306), r(92143), r(17533));
      const s = (e) => {
        let t = class extends e {
          constructor() {
            super(...arguments), (this.blendMode = 'normal'), (this.effect = null);
          }
        };
        return (
          (0, i._)(
            [
              (0, o.Cb)({
                type: [
                  'average',
                  'color-burn',
                  'color-dodge',
                  'color',
                  'darken',
                  'destination-atop',
                  'destination-in',
                  'destination-out',
                  'destination-over',
                  'difference',
                  'exclusion',
                  'hard-light',
                  'hue',
                  'invert',
                  'lighten',
                  'lighter',
                  'luminosity',
                  'minus',
                  'multiply',
                  'normal',
                  'overlay',
                  'plus',
                  'reflect',
                  'saturation',
                  'screen',
                  'soft-light',
                  'source-atop',
                  'source-in',
                  'source-out',
                  'vivid-light',
                  'xor',
                ],
                nonNullable: !0,
                json: {
                  read: !1,
                  write: !1,
                  origins: { 'web-map': { default: 'normal', read: !0, write: !0 } },
                },
              }),
            ],
            t.prototype,
            'blendMode',
            void 0,
          ),
          (0, i._)([(0, o.Cb)()], t.prototype, 'effect', void 0),
          (t = (0, i._)([(0, n.j)('esri.layers.mixins.BlendLayer')], t)),
          t
        );
      };
    },
    47842: (e, t, r) => {
      'use strict';
      r.d(t, { E: () => S });
      var i,
        o = r(29768),
        n = r(57251),
        s = r(74673),
        a = r(76506),
        l = r(34250),
        p = (r(91306), r(92143), r(97714)),
        u = r(17533),
        c = r(2906),
        y = r(14249),
        d = r(17298);
      let g = (i = class extends s.a {
        async collectRequiredFields(e, t) {
          return (0, y.io)(e, t, this.expression);
        }
        clone() {
          return new i({ expression: this.expression, title: this.title });
        }
      });
      (0, o._)(
        [(0, l.Cb)({ type: String, json: { write: !0 } })],
        g.prototype,
        'expression',
        void 0,
      ),
        (0, o._)([(0, l.Cb)({ type: String, json: { write: !0 } })], g.prototype, 'title', void 0),
        (g = i = (0, o._)([(0, u.j)('esri.layers.support.FeatureExpressionInfo')], g));
      var h,
        f = g;
      const v = (0, n.s)()({
          onTheGround: 'on-the-ground',
          relativeToGround: 'relative-to-ground',
          relativeToScene: 'relative-to-scene',
          absoluteHeight: 'absolute-height',
        }),
        b = new n.J({
          foot: 'feet',
          kilometer: 'kilometers',
          meter: 'meters',
          mile: 'miles',
          'us-foot': 'us-feet',
          yard: 'yards',
        });
      let m = (h = class extends s.a {
        constructor() {
          super(...arguments), (this.offset = null);
        }
        readFeatureExpressionInfo(e, t) {
          return null != e
            ? e
            : t.featureExpression && 0 === t.featureExpression.value
            ? { expression: '0' }
            : void 0;
        }
        writeFeatureExpressionInfo(e, t, r, i) {
          (t[r] = e.write(null, i)), '0' === e.expression && (t.featureExpression = { value: 0 });
        }
        get mode() {
          const { offset: e, featureExpressionInfo: t } = this;
          return this._isOverridden('mode')
            ? this._get('mode')
            : (0, a.i)(e) || t
            ? 'relative-to-ground'
            : 'on-the-ground';
        }
        set mode(e) {
          this._override('mode', e);
        }
        set unit(e) {
          this._set('unit', e);
        }
        write(e, t) {
          return this.offset || this.mode || this.featureExpressionInfo || this.unit
            ? super.write(e, t)
            : null;
        }
        clone() {
          return new h({
            mode: this.mode,
            offset: this.offset,
            featureExpressionInfo: this.featureExpressionInfo
              ? this.featureExpressionInfo.clone()
              : void 0,
            unit: this.unit,
          });
        }
      });
      (0, o._)(
        [(0, l.Cb)({ type: f, json: { write: !0 } })],
        m.prototype,
        'featureExpressionInfo',
        void 0,
      ),
        (0, o._)(
          [(0, p.r)('featureExpressionInfo', ['featureExpressionInfo', 'featureExpression'])],
          m.prototype,
          'readFeatureExpressionInfo',
          null,
        ),
        (0, o._)(
          [
            (0, c.w)('featureExpressionInfo', {
              featureExpressionInfo: { type: f },
              'featureExpression.value': { type: [0] },
            }),
          ],
          m.prototype,
          'writeFeatureExpressionInfo',
          null,
        ),
        (0, o._)(
          [
            (0, l.Cb)({
              type: v.apiValues,
              nonNullable: !0,
              json: {
                type: v.jsonValues,
                read: v.read,
                write: { writer: v.write, isRequired: !0 },
              },
            }),
          ],
          m.prototype,
          'mode',
          null,
        ),
        (0, o._)([(0, l.Cb)({ type: Number, json: { write: !0 } })], m.prototype, 'offset', void 0),
        (0, o._)(
          [(0, l.Cb)({ type: d.s, json: { type: String, read: b.read, write: b.write } })],
          m.prototype,
          'unit',
          null,
        ),
        (m = h = (0, o._)([(0, u.j)('esri.layers.support.ElevationInfo')], m));
      var S = m;
    },
    54179: (e, t, r) => {
      'use strict';
      r.d(t, { M: () => c, a: () => y });
      var i = r(29768),
        o = r(21972),
        n = r(50161),
        s = r(86656),
        a = r(26341),
        l = r(17533);
      const p = (e) => {
        let t = class extends e {
          constructor(...e) {
            super(...e);
          }
          clear(e, t = 'user') {
            return u(this).delete(e, (0, o.n)(t));
          }
          write(e = {}, t) {
            return (0, a.w)(this, (e = e || {}), t), e;
          }
          setAtOrigin(e, t, r) {
            (0, s.g)(this).setAtOrigin(e, t, (0, o.n)(r));
          }
          removeOrigin(e) {
            const t = u(this),
              r = (0, o.n)(e),
              i = t.keys(r);
            for (const e of i) t.originOf(e) === r && t.set(e, t.get(e, r), 6);
          }
          updateOrigin(e, t) {
            const r = u(this),
              i = (0, o.n)(t),
              n = this.get(e);
            for (let t = i + 1; t < o.b; ++t) r.delete(e, t);
            r.set(e, n, i);
          }
          toJSON(e) {
            return this.write({}, e);
          }
        };
        return (
          (t = (0, i._)([(0, l.j)('esri.core.WriteableMultiOriginJSONSupport')], t)),
          (t.prototype.toJSON.isDefaultToJSON = !0),
          t
        );
      };
      function u(e) {
        return (0, s.g)(e).store;
      }
      const c = (e) => {
        let t = class extends p((0, n.R)(e)) {
          constructor(...e) {
            super(...e);
          }
        };
        return (t = (0, i._)([(0, l.j)('esri.core.MultiOriginJSONSupport')], t)), t;
      };
      let y = class extends c(o.Z) {};
      y = (0, i._)([(0, l.j)('esri.core.MultiOriginJSONSupport')], y);
    },
    89440: (e, t, r) => {
      'use strict';
      r.d(t, { O: () => c });
      var i = r(29768),
        o = r(60991),
        n = r(34250),
        s = (r(76506), r(91306), r(92143), r(17533)),
        a = r(2906),
        l = r(26341),
        p = r(43022);
      const u = {
          'web-scene/operational-layers': {
            ArcGISFeatureLayer: !0,
            ArcGISImageServiceLayer: !0,
            ArcGISMapServiceLayer: !0,
            ArcGISSceneServiceLayer: !0,
            ArcGISTiledElevationServiceLayer: !0,
            ArcGISTiledImageServiceLayer: !0,
            ArcGISTiledMapServiceLayer: !0,
            BuildingSceneLayer: !0,
            GroupLayer: !0,
            IntegratedMeshLayer: !0,
            PointCloudLayer: !0,
            WebTiledLayer: !0,
            CSV: !0,
            VectorTileLayer: !0,
            WMS: !0,
            KML: !0,
            RasterDataLayer: !0,
          },
          'web-scene/basemap': {
            ArcGISTiledImageServiceLayer: !0,
            ArcGISTiledMapServiceLayer: !0,
            WebTiledLayer: !0,
            OpenStreetMap: !0,
            VectorTileLayer: !0,
            ArcGISImageServiceLayer: !0,
            WMS: !0,
            ArcGISMapServiceLayer: !0,
          },
          'web-scene/ground': {
            ArcGISTiledElevationServiceLayer: !0,
            RasterDataElevationLayer: !0,
          },
          'web-map/operational-layers': {
            ArcGISFeatureLayer: !0,
            ArcGISImageServiceLayer: !0,
            ArcGISImageServiceVectorLayer: !0,
            ArcGISMapServiceLayer: !0,
            ArcGISStreamLayer: !0,
            ArcGISTiledImageServiceLayer: !0,
            ArcGISTiledMapServiceLayer: !0,
            BingMapsAerial: !0,
            BingMapsHybrid: !0,
            BingMapsRoad: !0,
            CSV: !0,
            GeoRSS: !0,
            GroupLayer: !0,
            KML: !0,
            OGCFeatureLayer: !0,
            SubtypeGroupLayer: !0,
            VectorTileLayer: !0,
            WFS: !0,
            WMS: !0,
            WebTiledLayer: !0,
          },
          'web-map/basemap': {
            ArcGISImageServiceLayer: !0,
            ArcGISImageServiceVectorLayer: !0,
            ArcGISMapServiceLayer: !0,
            ArcGISTiledImageServiceLayer: !0,
            ArcGISTiledMapServiceLayer: !0,
            OpenStreetMap: !0,
            VectorTileLayer: !0,
            WMS: !0,
            WebTiledLayer: !0,
            BingMapsAerial: !0,
            BingMapsRoad: !0,
            BingMapsHybrid: !0,
          },
          'web-map/tables': { ArcGISFeatureLayer: !0 },
          'portal-item/operational-layers': {
            ArcGISSceneServiceLayer: !0,
            PointCloudLayer: !0,
            BuildingSceneLayer: !0,
            IntegratedMeshLayer: !0,
          },
        },
        c = (e) => {
          let t = class extends e {
            constructor() {
              super(...arguments), (this.title = null);
            }
            writeListMode(e, t, r, i) {
              ((i && 'ground' === i.layerContainerType) || (e && (0, l.b)(this, r, {}, i))) &&
                (t[r] = e);
            }
            writeOperationalLayerType(e, t, r, i) {
              !e || (i && 'tables' === i.layerContainerType) || (t.layerType = e);
            }
            writeTitle(e, t) {
              t.title = e || 'Layer';
            }
            read(e, t) {
              t && (t.layer = this), (0, l.a)(this, e, (t) => super.read(e, t), t);
            }
            write(e, t) {
              if (t && t.origin) {
                const e = `${t.origin}/${t.layerContainerType || 'operational-layers'}`,
                  r = u[e];
                let i = r && r[this.operationalLayerType];
                if (
                  ('ArcGISTiledElevationServiceLayer' === this.operationalLayerType &&
                    'web-scene/operational-layers' === e &&
                    (i = !1),
                  !i)
                )
                  return (
                    t.messages &&
                      t.messages.push(
                        new o.Z(
                          'layer:unsupported',
                          `Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e}'`,
                          { layer: this },
                        ),
                      ),
                    null
                  );
              }
              const r = super.write(e, { ...t, layer: this }),
                i =
                  !!t &&
                  !!t.messages &&
                  !!t.messages.filter(
                    (e) => e instanceof o.Z && 'web-document-write:property-required' === e.name,
                  ).length;
              return !this.url && i ? null : r;
            }
            beforeSave() {}
          };
          return (
            (0, i._)(
              [
                (0, n.Cb)({
                  type: String,
                  json: {
                    write: { ignoreOrigin: !0 },
                    origins: {
                      'web-scene': { write: { isRequired: !0, ignoreOrigin: !0 } },
                      'portal-item': { write: !1 },
                    },
                  },
                }),
              ],
              t.prototype,
              'id',
              void 0,
            ),
            (0, i._)(
              [
                (0, n.Cb)({
                  json: {
                    write: { ignoreOrigin: !0 },
                    origins: { 'web-map': { read: !1, write: !1 } },
                  },
                }),
              ],
              t.prototype,
              'listMode',
              void 0,
            ),
            (0, i._)([(0, a.w)('listMode')], t.prototype, 'writeListMode', null),
            (0, i._)(
              [
                (0, n.Cb)({
                  type: String,
                  readOnly: !0,
                  json: {
                    read: !1,
                    write: { target: 'layerType', ignoreOrigin: !0 },
                    origins: { 'portal-item': { write: !1 } },
                  },
                }),
              ],
              t.prototype,
              'operationalLayerType',
              void 0,
            ),
            (0, i._)(
              [(0, a.w)('operationalLayerType')],
              t.prototype,
              'writeOperationalLayerType',
              null,
            ),
            (0, i._)([(0, n.Cb)(p.o)], t.prototype, 'opacity', void 0),
            (0, i._)(
              [
                (0, n.Cb)({
                  type: String,
                  json: {
                    write: { ignoreOrigin: !0, allowNull: !0 },
                    origins: {
                      'web-scene': { write: { isRequired: !0, ignoreOrigin: !0, allowNull: !0 } },
                      'portal-item': { write: !1 },
                    },
                  },
                  value: 'Layer',
                }),
              ],
              t.prototype,
              'title',
              void 0,
            ),
            (0, i._)([(0, a.w)('title')], t.prototype, 'writeTitle', null),
            (0, i._)(
              [
                (0, n.Cb)({
                  type: Boolean,
                  json: {
                    name: 'visibility',
                    origins: {
                      'web-document': { name: 'visibility', default: !0 },
                      'portal-item': {
                        name: 'visibility',
                        read: { source: ['visible', 'visibility'] },
                      },
                    },
                  },
                }),
              ],
              t.prototype,
              'visible',
              void 0,
            ),
            (t = (0, i._)([(0, s.j)('esri.layers.mixins.OperationalLayer')], t)),
            t
          );
        };
    },
    50161: (e, t, r) => {
      'use strict';
      r.d(t, { R: () => u });
      var i = r(29768),
        o = r(21972),
        n = r(76506),
        s = r(26341),
        a = r(86656),
        l = r(17533);
      class p {
        constructor() {
          (this._propertyOriginMap = new Map()),
            (this._originStores = new Array(o.b)),
            (this._values = new Map());
        }
        clone(e) {
          const t = new p(),
            r = this._originStores[0];
          r &&
            r.forEach((e, r) => {
              t.set(r, (0, n.d9)(e), 0);
            });
          for (let r = 2; r < o.b; r++) {
            const i = this._originStores[r];
            i &&
              i.forEach((i, o) => {
                (e && e.has(o)) || t.set(o, (0, n.d9)(i), r);
              });
          }
          return t;
        }
        get(e, t) {
          const r = void 0 === t ? this._values : this._originStores[t];
          return r ? r.get(e) : void 0;
        }
        keys(e) {
          const t = null == e ? this._values : this._originStores[e];
          return t ? [...t.keys()] : [];
        }
        set(e, t, r = 6) {
          let i = this._originStores[r];
          if (
            (i || ((i = new Map()), (this._originStores[r] = i)),
            i.set(e, t),
            !this._values.has(e) || (0, n.a)(this._propertyOriginMap.get(e)) <= r)
          ) {
            const i = this._values.get(e);
            return this._values.set(e, t), this._propertyOriginMap.set(e, r), i !== t;
          }
          return !1;
        }
        delete(e, t = 6) {
          const r = this._originStores[t];
          if (!r) return;
          const i = r.get(e);
          if ((r.delete(e), this._values.has(e) && this._propertyOriginMap.get(e) === t)) {
            this._values.delete(e);
            for (let r = t - 1; r >= 0; r--) {
              const t = this._originStores[r];
              if (t && t.has(e)) {
                this._values.set(e, t.get(e)), this._propertyOriginMap.set(e, r);
                break;
              }
            }
          }
          return i;
        }
        has(e, t) {
          const r = void 0 === t ? this._values : this._originStores[t];
          return !!r && r.has(e);
        }
        revert(e, t) {
          for (; t > 0 && !this.has(e, t); ) --t;
          const r = this._originStores[t],
            i = r && r.get(e),
            o = this._values.get(e);
          return this._values.set(e, i), this._propertyOriginMap.set(e, t), o !== i;
        }
        originOf(e) {
          return this._propertyOriginMap.get(e) || 0;
        }
        forEach(e) {
          this._values.forEach(e);
        }
      }
      const u = (e) => {
        let t = class extends e {
          constructor(...e) {
            super(...e);
            const t = (0, n.a)((0, a.g)(this)),
              r = t.metadatas,
              i = t.store,
              o = new p();
            (t.store = o),
              i.keys().forEach((e) => {
                o.set(e, i.get(e), 0);
              }),
              Object.keys(r).forEach((e) => {
                t.internalGet(e) && o.set(e, t.internalGet(e), 0);
              });
          }
          read(e, t) {
            (0, s.r)(this, e, t);
          }
          getAtOrigin(e, t) {
            const r = c(this),
              i = (0, o.n)(t);
            if ('string' == typeof e) return r.get(e, i);
            const n = {};
            return (
              e.forEach((e) => {
                n[e] = r.get(e, i);
              }),
              n
            );
          }
          originOf(e) {
            return (0, o.c)(this.originIdOf(e));
          }
          originIdOf(e) {
            return c(this).originOf(e);
          }
          revert(e, t) {
            const r = c(this),
              i = (0, o.n)(t),
              n = (0, a.g)(this);
            let s;
            (s = 'string' == typeof e ? ('*' === e ? r.keys(i) : [e]) : e),
              s.forEach((e) => {
                n.invalidate(e), r.revert(e, i), n.commit(e);
              });
          }
        };
        return (t = (0, i._)([(0, l.j)('esri.core.ReadOnlyMultiOriginJSONSupport')], t)), t;
      };
      function c(e) {
        return (0, a.g)(e).store;
      }
      let y = class extends u(o.Z) {};
      y = (0, i._)([(0, l.j)('esri.core.ReadOnlyMultiOriginJSONSupport')], y);
    },
    16647: (e, t, r) => {
      'use strict';
      r.d(t, { R: () => s });
      var i = r(29768),
        o = r(34250),
        n = (r(76506), r(91306), r(92143), r(17533));
      const s = (e) => {
        let t = class extends e {
          constructor() {
            super(...arguments), (this.refreshInterval = 0);
          }
          refresh() {
            this.emit('refresh');
          }
        };
        return (
          (0, i._)(
            [
              (0, o.Cb)({
                type: Number,
                cast: (e) => (e >= 0.1 ? e : e <= 0 ? 0 : 0.1),
                json: { write: !0, origins: { 'web-document': { write: !0 } } },
              }),
            ],
            t.prototype,
            'refreshInterval',
            void 0,
          ),
          (t = (0, i._)([(0, n.j)('esri.layers.mixins.RefreshableLayer')], t)),
          t
        );
      };
    },
    58912: (e, t, r) => {
      'use strict';
      r.d(t, { S: () => s });
      var i = r(29768),
        o = r(34250),
        n = (r(76506), r(91306), r(92143), r(17533));
      const s = (e) => {
        let t = class extends e {
          constructor() {
            super(...arguments), (this.minScale = 0), (this.maxScale = 0);
          }
          get scaleRangeId() {
            return `${this.minScale},${this.maxScale}`;
          }
        };
        return (
          (0, i._)(
            [(0, o.Cb)({ type: Number, nonNullable: !0, json: { write: !0 } })],
            t.prototype,
            'minScale',
            void 0,
          ),
          (0, i._)(
            [(0, o.Cb)({ type: Number, nonNullable: !0, json: { write: !0 } })],
            t.prototype,
            'maxScale',
            void 0,
          ),
          (0, i._)([(0, o.Cb)({ readOnly: !0 })], t.prototype, 'scaleRangeId', null),
          (t = (0, i._)([(0, n.j)('esri.layers.mixins.ScaleRangeLayer')], t)),
          t
        );
      };
    },
    43022: (e, t, r) => {
      'use strict';
      r.d(t, {
        a: () => v,
        b: () => d,
        c: () => _,
        d: () => p,
        e: () => g,
        f: () => b,
        i: () => S,
        l: () => c,
        m: () => w,
        o: () => f,
        p: () => u,
        r: () => h,
        s: () => m,
        u: () => y,
      });
      var i = r(93314),
        o = r(21801),
        n = r(60947),
        s = r(38742),
        a = r(47842),
        l = r(34394);
      const p = {
          type: Boolean,
          value: !0,
          json: {
            origins: { service: { read: !1, write: !1 }, 'web-map': { read: !1, write: !1 } },
            name: 'screenSizePerspective',
            write: !0,
          },
        },
        u = {
          type: Boolean,
          value: !0,
          json: {
            name: 'disablePopup',
            read: { reader: (e, t) => !t.disablePopup },
            write: {
              enabled: !0,
              writer(e, t, r) {
                t[r] = !e;
              },
            },
          },
        },
        c = { type: Boolean, value: !0, json: { name: 'showLabels', write: !0 } },
        y = {
          type: String,
          json: {
            origins: { 'portal-item': { write: !1 } },
            write: { isRequired: !0, ignoreOrigin: !0, writer: s.w },
          },
        },
        d = {
          type: Boolean,
          value: !0,
          json: { origins: { service: { read: { enabled: !1 } } }, name: 'showLegend', write: !0 },
        },
        g = {
          value: null,
          type: a.E,
          json: {
            origins: { service: { name: 'elevationInfo', write: !0 } },
            name: 'layerDefinition.elevationInfo',
            write: !0,
          },
        };
      function h(e) {
        return { type: e, readOnly: !0, json: { origins: { service: { read: !0 } }, read: !1 } };
      }
      const f = {
          type: Number,
          json: {
            origins: {
              'web-document': { default: 1, write: !0, read: !0 },
              'portal-item': { write: !0 },
            },
          },
        },
        v = {
          ...f,
          json: {
            ...f.json,
            origins: {
              'web-document': {
                ...f.json.origins['web-document'],
                write: {
                  enabled: !0,
                  target: {
                    opacity: { type: Number },
                    'layerDefinition.drawingInfo.transparency': { type: Number },
                  },
                },
              },
            },
            read: {
              source: ['layerDefinition.drawingInfo.transparency', 'drawingInfo.transparency'],
              reader: (e, t, r) =>
                (r && 'service' !== r.origin) ||
                !t.drawingInfo ||
                void 0 === t.drawingInfo.transparency
                  ? t.layerDefinition &&
                    t.layerDefinition.drawingInfo &&
                    void 0 !== t.layerDefinition.drawingInfo.transparency
                    ? (0, l.t)(t.layerDefinition.drawingInfo.transparency)
                    : void 0
                  : (0, l.t)(t.drawingInfo.transparency),
            },
          },
        },
        b = {
          type: i.Z,
          readOnly: !0,
          get() {
            var e, t;
            if (null == (e = this.layer) || !e.timeInfo) return null;
            const r = null == (t = this.view) ? void 0 : t.timeExtent,
              i = this.layer.timeExtent,
              o = this.layer.useViewTime ? (r && i ? r.intersection(i) : r || i) : i;
            if (!o || o.isEmpty) return o;
            const n = this.layer.timeOffset,
              s = n ? o.offset(-n.value, n.unit) : o,
              a = this._get('timeExtent');
            return s.equals(a) ? a : s;
          },
        },
        m = {
          type: o.Z,
          readOnly: !0,
          json: {
            origins: {
              service: {
                read: {
                  source: ['fullExtent', 'spatialReference'],
                  reader: (e, t) => {
                    const r = o.Z.fromJSON(e);
                    return (
                      null != t.spatialReference &&
                        'object' == typeof t.spatialReference &&
                        (r.spatialReference = n.Z.fromJSON(t.spatialReference)),
                      r
                    );
                  },
                },
              },
            },
            read: !1,
          },
        },
        S = {
          type: String,
          json: { origins: { service: { read: !1 }, 'portal-item': { read: !1 } } },
        },
        w = {
          type: Number,
          json: {
            origins: { service: { write: { enabled: !1 } } },
            read: { source: 'layerDefinition.minScale' },
            write: { target: 'layerDefinition.minScale' },
          },
        },
        _ = {
          type: Number,
          json: {
            origins: { service: { write: { enabled: !1 } } },
            read: { source: 'layerDefinition.maxScale' },
            write: { target: 'layerDefinition.maxScale' },
          },
        };
    },
    17298: (e, t, r) => {
      'use strict';
      r.d(t, { s: () => o });
      var i = r(85557);
      const o = (function () {
        const e = Object.keys(i.m);
        return e.sort(), e;
      })();
    },
    41617: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => S });
      var i = r(29768),
        o = r(31450),
        n = (r(74569), r(82058)),
        s = r(60991),
        a = r(76996),
        l = r(82673),
        p = r(22739),
        u = r(92143),
        c = r(50406),
        y = r(32101),
        d = r(34250),
        g = (r(76506), r(91306), r(17533)),
        h = r(21801),
        f = r(60947);
      r(71552),
        r(73796),
        r(74673),
        r(21972),
        r(23639),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(40642),
        r(81172),
        r(26341),
        r(97714),
        r(2906),
        r(84069),
        r(91597),
        r(86787),
        r(35132),
        r(89623),
        r(44567),
        r(98380),
        r(92896),
        r(22781),
        r(57251),
        r(32422),
        r(88762),
        r(20543);
      let v = 0;
      const b = u.L.getLogger('esri.layers.Layer');
      let m = class extends a.E.EventedMixin((0, l.I)(p.L)) {
        constructor() {
          super(...arguments),
            (this.attributionDataUrl = null),
            (this.fullExtent = new h.Z(-180, -90, 180, 90, f.Z.WGS84)),
            (this.id = Date.now().toString(16) + '-layer-' + v++),
            (this.legendEnabled = !0),
            (this.listMode = 'show'),
            (this.opacity = 1),
            (this.parent = null),
            (this.popupEnabled = !0),
            (this.attributionVisible = !0),
            (this.spatialReference = f.Z.WGS84),
            (this.title = null),
            (this.type = null),
            (this.url = null),
            (this.visible = !0);
        }
        static async fromArcGISServerUrl(e) {
          const t = 'string' == typeof e ? { url: e } : e,
            i = await r.e(6601).then(r.bind(r, 66601));
          try {
            return await i.fromUrl(t);
          } catch (e) {
            throw (
              (b.error(
                "#fromArcGISServerUrl({ url: '" + t.url + "'})",
                'Failed to create layer from arcgis server url',
                e,
              ),
              e)
            );
          }
        }
        static async fromPortalItem(e) {
          const t = 'portalItem' in e ? e : { portalItem: e },
            i = await r.e(6458).then(r.bind(r, 36458));
          try {
            return await i.fromItem(t);
          } catch (e) {
            const r = t && t.portalItem,
              i = (r && r.id) || 'unset',
              n = (r && r.portal && r.portal.url) || o.Z.portalUrl;
            throw (
              (b.error(
                '#fromPortalItem()',
                "Failed to create layer from portal item (portal: '" + n + "', id: '" + i + "')",
                e,
              ),
              e)
            );
          }
        }
        initialize() {
          this.when().catch((e) => {
            var t, r;
            (0, c.D_)(e) ||
              u.L.getLogger(this.declaredClass).error(
                '#load()',
                `Failed to load layer (title: '${
                  null != (t = this.title) ? t : 'no title'
                }', id: '${null != (r = this.id) ? r : 'no id'}')`,
                { error: e },
              );
          });
        }
        destroy() {
          if (this.parent) {
            const e = this,
              t = this.parent;
            'layers' in t && t.layers.includes(e)
              ? t.layers.remove(e)
              : 'tables' in t && t.tables.includes(e)
              ? t.tables.remove(e)
              : 'baseLayers' in t && t.baseLayers.includes(e)
              ? t.baseLayers.remove(e)
              : 'baseLayers' in t && t.referenceLayers.includes(e) && t.referenceLayers.remove(e);
          }
        }
        get hasAttributionData() {
          return null != this.attributionDataUrl;
        }
        get parsedUrl() {
          const e = this.url;
          return e ? (0, y.mN)(e) : null;
        }
        async fetchAttributionData() {
          const e = this.attributionDataUrl;
          if (this.hasAttributionData && e)
            return (await (0, n.default)(e, { query: { f: 'json' }, responseType: 'json' })).data;
          throw new s.Z('layer:no-attribution-data', 'Layer does not have attribution data');
        }
      };
      (0, i._)([(0, d.Cb)({ type: String })], m.prototype, 'attributionDataUrl', void 0),
        (0, i._)([(0, d.Cb)({ type: h.Z })], m.prototype, 'fullExtent', void 0),
        (0, i._)([(0, d.Cb)({ readOnly: !0 })], m.prototype, 'hasAttributionData', null),
        (0, i._)([(0, d.Cb)({ type: String })], m.prototype, 'id', void 0),
        (0, i._)(
          [(0, d.Cb)({ type: Boolean, nonNullable: !0 })],
          m.prototype,
          'legendEnabled',
          void 0,
        ),
        (0, i._)(
          [(0, d.Cb)({ type: ['show', 'hide', 'hide-children'] })],
          m.prototype,
          'listMode',
          void 0,
        ),
        (0, i._)(
          [(0, d.Cb)({ type: Number, range: { min: 0, max: 1 }, nonNullable: !0 })],
          m.prototype,
          'opacity',
          void 0,
        ),
        (0, i._)([(0, d.Cb)()], m.prototype, 'parent', void 0),
        (0, i._)([(0, d.Cb)({ readOnly: !0 })], m.prototype, 'parsedUrl', null),
        (0, i._)([(0, d.Cb)({ type: Boolean })], m.prototype, 'popupEnabled', void 0),
        (0, i._)([(0, d.Cb)({ type: Boolean })], m.prototype, 'attributionVisible', void 0),
        (0, i._)([(0, d.Cb)({ type: f.Z })], m.prototype, 'spatialReference', void 0),
        (0, i._)([(0, d.Cb)({ type: String })], m.prototype, 'title', void 0),
        (0, i._)(
          [(0, d.Cb)({ type: String, readOnly: !0, json: { read: !1 } })],
          m.prototype,
          'type',
          void 0,
        ),
        (0, i._)([(0, d.Cb)()], m.prototype, 'url', void 0),
        (0, i._)([(0, d.Cb)({ type: Boolean, nonNullable: !0 })], m.prototype, 'visible', void 0),
        (m = (0, i._)([(0, g.j)('esri.layers.Layer')], m));
      const S = m;
    },
  },
]);
