(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [611],
  {
    23761: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => f });
      var i,
        a = r(29768),
        s = r(74569),
        n = r(86748),
        l = r(96467),
        o = r(74673),
        u = r(76506),
        c = r(42788),
        p = r(34250),
        d = (r(91306), r(92143), r(17533)),
        h = r(32422);
      r(21801),
        r(40642),
        r(71552),
        r(73796),
        r(97714),
        r(60947),
        r(2906),
        r(21972),
        r(23639),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(81172),
        r(31450),
        r(26341),
        r(91597),
        r(86787),
        r(35132),
        r(89623),
        r(84069),
        r(44567),
        r(98380),
        r(92896),
        r(22781),
        r(57251),
        r(15324),
        r(76996),
        r(14249),
        r(9801),
        r(53523),
        r(59465),
        r(42911),
        r(46826),
        r(45433),
        r(60217),
        r(29107),
        r(30574),
        r(2157),
        r(25977),
        r(7471),
        r(54414),
        r(1648),
        r(8925),
        r(33921),
        r(3482),
        r(45154),
        r(16769),
        r(55531),
        r(30582),
        r(593),
        r(85699),
        r(63136),
        r(96055),
        r(47776),
        r(18033),
        r(6331),
        r(62048),
        r(4292),
        r(75626),
        r(72652),
        r(29641),
        r(30493),
        r(70821),
        r(82673),
        r(34229),
        r(37029),
        r(63571),
        r(30776),
        r(48027),
        r(54174),
        r(82426),
        r(63130),
        r(25696),
        r(66396),
        r(42775),
        r(95834),
        r(34394),
        r(57150),
        r(76726),
        r(20444),
        r(76393),
        r(78548),
        r(2497),
        r(49906),
        r(46527),
        r(48649),
        r(9960),
        r(3101),
        r(5853),
        r(39141),
        r(32101),
        r(38742),
        r(48243),
        r(34635),
        r(10401),
        r(49900),
        r(66284),
        r(82058),
        r(88762),
        r(73173),
        r(22739),
        r(20543),
        r(67477),
        r(78533),
        r(74653),
        r(91091),
        r(58943),
        r(70737),
        r(8487),
        r(17817),
        r(90814),
        r(15459),
        r(61847),
        r(16796),
        r(16955),
        r(22401),
        r(77894),
        r(55187),
        r(8586),
        r(44509),
        r(69814),
        r(11305),
        r(62259),
        r(44790),
        r(5909),
        r(60669),
        r(48208),
        r(51589);
      let y = (i = class extends o.a {
        constructor(...e) {
          super(...e),
            (this.isAggregate = !1),
            (this.layer = null),
            (this.popupTemplate = null),
            (this.sourceLayer = null),
            Object.defineProperty(this, 'uid', { value: (0, c.g)(), configurable: !0 });
        }
        normalizeCtorArgs(e, t, r, i) {
          return e && !e.declaredClass
            ? e
            : { geometry: e, symbol: t, attributes: r, popupTemplate: i };
        }
        set attributes(e) {
          const t = this._get('attributes');
          t !== e && (this._set('attributes', e), this._notifyLayer('attributes', t, e));
        }
        set geometry(e) {
          const t = this._get('geometry');
          t !== e && (this._set('geometry', e), this._notifyLayer('geometry', t, e));
        }
        set symbol(e) {
          const t = this._get('symbol');
          t !== e && (this._set('symbol', e), this._notifyLayer('symbol', t, e));
        }
        set visible(e) {
          const t = this._get('visible');
          t !== e && (this._set('visible', e), this._notifyLayer('visible', t, e));
        }
        getEffectivePopupTemplate(e = !1) {
          if (this.popupTemplate) return this.popupTemplate;
          for (const t of [this.sourceLayer, this.layer])
            if (t) {
              if ('popupTemplate' in t && t.popupTemplate) return t.popupTemplate;
              if (e && 'defaultPopupTemplate' in t && (0, u.i)(t.defaultPopupTemplate))
                return t.defaultPopupTemplate;
            }
          return null;
        }
        getAttribute(e) {
          return this.attributes && this.attributes[e];
        }
        setAttribute(e, t) {
          if (this.attributes) {
            const r = this.getAttribute(e);
            (this.attributes[e] = t), this._notifyLayer('attributes', r, t, e);
          } else (this.attributes = { [e]: t }), this._notifyLayer('attributes', void 0, t, e);
        }
        getObjectId() {
          return this.sourceLayer &&
            'objectIdField' in this.sourceLayer &&
            this.sourceLayer.objectIdField
            ? this.getAttribute(this.sourceLayer.objectIdField)
            : null;
        }
        toJSON() {
          return {
            geometry: (0, u.i)(this.geometry) ? this.geometry.toJSON() : null,
            symbol: (0, u.i)(this.symbol) ? this.symbol.toJSON() : null,
            attributes: { ...this.attributes },
            popupTemplate: this.popupTemplate && this.popupTemplate.toJSON(),
          };
        }
        clone() {
          return new i(this.cloneProperties());
        }
        notifyGeometryChanged() {
          this._notifyLayer('geometry', this.geometry, this.geometry);
        }
        cloneProperties() {
          return {
            attributes: (0, u.d9)(this.attributes),
            geometry: (0, u.d9)(this.geometry),
            layer: this.layer,
            popupTemplate: this.popupTemplate && this.popupTemplate.clone(),
            sourceLayer: this.sourceLayer,
            symbol: (0, u.d9)(this.symbol),
            visible: this.visible,
          };
        }
        _notifyLayer(e, t, r, i) {
          if (!this.layer || !('graphicChanged' in this.layer)) return;
          const a = { graphic: this, property: e, oldValue: t, newValue: r };
          'attributes' === e && (a.attributeName = i), this.layer.graphicChanged(a);
        }
      });
      (0, a._)([(0, p.Cb)({ value: null })], y.prototype, 'attributes', null),
        (0, a._)(
          [(0, p.Cb)({ value: null, types: s.qM, json: { read: h.im } })],
          y.prototype,
          'geometry',
          null,
        ),
        (0, a._)([(0, p.Cb)({ type: Boolean })], y.prototype, 'isAggregate', void 0),
        (0, a._)([(0, p.Cb)()], y.prototype, 'layer', void 0),
        (0, a._)([(0, p.Cb)({ type: n.Z })], y.prototype, 'popupTemplate', void 0),
        (0, a._)([(0, p.Cb)()], y.prototype, 'sourceLayer', void 0),
        (0, a._)([(0, p.Cb)({ value: null, types: l.LB })], y.prototype, 'symbol', null),
        (0, a._)([(0, p.Cb)({ type: Boolean, value: !0 })], y.prototype, 'visible', null),
        (y = i = (0, a._)([(0, d.j)('esri.Graphic')], y)),
        ((y || (y = {})).generateUID = c.g);
      const f = y;
    },
    66655: (e, t, r) => {
      'use strict';
      r.d(t, { A: () => c });
      var i = r(29768),
        a = (r(74569), r(34250)),
        s = (r(76506), r(91306), r(92143), r(97714)),
        n = r(17533),
        l = r(47706),
        o = r(9411),
        u = r(60947);
      const c = (e) => {
        let t = class extends e {
          constructor() {
            super(...arguments),
              (this.copyright = null),
              (this.minScale = 0),
              (this.maxScale = 0),
              (this.spatialReference = null),
              (this.tileInfo = null),
              (this.tilemapCache = null);
          }
          readMinScale(e, t) {
            return null != t.minLOD && null != t.maxLOD ? e : 0;
          }
          readMaxScale(e, t) {
            return null != t.minLOD && null != t.maxLOD ? e : 0;
          }
          get supportsBlankTile() {
            return this.version >= 10.2;
          }
          readTilemapCache(e, t) {
            return t.capabilities && t.capabilities.indexOf('Tilemap') > -1
              ? new o.T({ layer: this })
              : null;
          }
        };
        return (
          (0, i._)(
            [(0, a.Cb)({ json: { read: { source: 'copyrightText' } } })],
            t.prototype,
            'copyright',
            void 0,
          ),
          (0, i._)([(0, a.Cb)()], t.prototype, 'minScale', void 0),
          (0, i._)([(0, s.r)('service', 'minScale')], t.prototype, 'readMinScale', null),
          (0, i._)([(0, a.Cb)()], t.prototype, 'maxScale', void 0),
          (0, i._)([(0, s.r)('service', 'maxScale')], t.prototype, 'readMaxScale', null),
          (0, i._)([(0, a.Cb)({ type: u.Z })], t.prototype, 'spatialReference', void 0),
          (0, i._)([(0, a.Cb)({ readOnly: !0 })], t.prototype, 'supportsBlankTile', null),
          (0, i._)([(0, a.Cb)(l.s)], t.prototype, 'tileInfo', void 0),
          (0, i._)([(0, a.Cb)()], t.prototype, 'tilemapCache', void 0),
          (0, i._)(
            [(0, s.r)('service', 'tilemapCache', ['capabilities'])],
            t.prototype,
            'readTilemapCache',
            null,
          ),
          (0, i._)([(0, a.Cb)()], t.prototype, 'version', void 0),
          (t = (0, i._)([(0, n.j)('esri.layers.mixins.ArcGISCachedService')], t)),
          t
        );
      };
    },
    48190: (e, t, r) => {
      'use strict';
      function i(e) {}
      r.d(t, { n: () => i }), r(76506);
    },
    54732: (e, t, r) => {
      'use strict';
      r.d(t, { k: () => i });
      const i = new (r(57251).J)({
        esriFieldTypeSmallInteger: 'small-integer',
        esriFieldTypeInteger: 'integer',
        esriFieldTypeSingle: 'single',
        esriFieldTypeDouble: 'double',
        esriFieldTypeLong: 'long',
        esriFieldTypeString: 'string',
        esriFieldTypeDate: 'date',
        esriFieldTypeOID: 'oid',
        esriFieldTypeGeometry: 'geometry',
        esriFieldTypeBlob: 'blob',
        esriFieldTypeRaster: 'raster',
        esriFieldTypeGUID: 'guid',
        esriFieldTypeGlobalID: 'global-id',
        esriFieldTypeXML: 'xml',
      });
    },
    52228: (e, t, r) => {
      'use strict';
      function i(e) {
        return e && 'esri.renderers.visualVariables.SizeVariable' === e.declaredClass;
      }
      function a(e) {
        return null != e && !isNaN(e) && isFinite(e);
      }
      function s(e) {
        return e.valueExpression
          ? 'expression'
          : e.field && 'string' == typeof e.field
          ? 'field'
          : 'unknown';
      }
      function n(e, t) {
        const r = t || s(e),
          i = e.valueUnit || 'unknown';
        return 'unknown' === r
          ? 'constant'
          : e.stops
          ? 'stops'
          : null != e.minSize &&
            null != e.maxSize &&
            null != e.minDataValue &&
            null != e.maxDataValue
          ? 'clamped-linear'
          : 'unknown' === i
          ? null != e.minSize && null != e.minDataValue
            ? e.minSize && e.minDataValue
              ? 'proportional'
              : 'additive'
            : 'identity'
          : 'real-world-size';
      }
      r.d(t, { a: () => n, b: () => a, g: () => s, i: () => i });
    },
    42788: (e, t, r) => {
      'use strict';
      r.d(t, { g: () => a });
      let i = 0;
      function a() {
        return ++i;
      }
    },
    74057: (e, t, r) => {
      'use strict';
      r.d(t, {
        PR: () => T,
        Lq: () => y,
        Km: () => f,
        cM: () => b,
        ap: () => m,
        V3: () => _,
        B3: () => h,
      });
      var i = r(48027),
        a = r(23761),
        s = r(48190),
        n = r(92143),
        l = r(76506),
        o = r(85557),
        u = r(52228);
      r(54174),
        r(82426),
        r(91306),
        r(31450),
        r(71552),
        r(40642),
        r(74569),
        r(21801),
        r(34250),
        r(86656),
        r(22723),
        r(17533),
        r(81172),
        r(73796),
        r(74673),
        r(21972),
        r(23639),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(26341),
        r(97714),
        r(60947),
        r(2906),
        r(91597),
        r(86787),
        r(35132),
        r(89623),
        r(84069),
        r(44567),
        r(98380),
        r(92896),
        r(22781),
        r(57251),
        r(32422),
        r(86748),
        r(15324),
        r(76996),
        r(14249),
        r(9801),
        r(53523),
        r(59465),
        r(42911),
        r(46826),
        r(45433),
        r(60217),
        r(29107),
        r(30574),
        r(2157),
        r(25977),
        r(7471),
        r(54414),
        r(1648),
        r(8925),
        r(33921),
        r(3482),
        r(45154),
        r(16769),
        r(55531),
        r(30582),
        r(593),
        r(85699),
        r(63136),
        r(96055),
        r(47776),
        r(18033),
        r(6331),
        r(62048),
        r(4292),
        r(75626),
        r(72652),
        r(29641),
        r(30493),
        r(70821),
        r(82673),
        r(34229),
        r(37029),
        r(96467),
        r(63571),
        r(30776),
        r(63130),
        r(25696),
        r(66396),
        r(42775),
        r(95834),
        r(34394),
        r(57150),
        r(76726),
        r(20444),
        r(76393),
        r(78548),
        r(2497),
        r(49906),
        r(46527),
        r(48649),
        r(9960),
        r(3101),
        r(5853),
        r(39141),
        r(32101),
        r(38742),
        r(48243),
        r(34635),
        r(10401),
        r(49900),
        r(66284),
        r(82058),
        r(88762),
        r(73173),
        r(22739),
        r(20543),
        r(67477),
        r(78533),
        r(74653),
        r(91091),
        r(58943),
        r(70737),
        r(8487),
        r(17817),
        r(90814),
        r(15459),
        r(61847),
        r(16796),
        r(16955),
        r(22401),
        r(77894),
        r(55187),
        r(8586),
        r(44509),
        r(69814),
        r(11305),
        r(62259),
        r(44790),
        r(5909),
        r(60669),
        r(48208),
        r(51589),
        r(53785),
        r(95587);
      const c = n.L.getLogger('esri.renderers.visualVariables.support.visualVariableUtils'),
        p = new a.Z(),
        d = Math.PI,
        h = /^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;
      function y(e, t, r) {
        const a =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'color' === e.type)[0]
            : e;
        if (!a) return;
        if ('esri.renderers.visualVariables.ColorVariable' !== a.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable',
          );
        const s = 'number' == typeof t,
          n = s ? null : t,
          o = n && n.attributes;
        let u = s ? t : null;
        const p = a.field,
          { ipData: d, hasExpression: h } = a.cache;
        let y = a.cache.compiledFunc;
        if (!p && !h) {
          const e = a.stops;
          return e && e[0] && e[0].color;
        }
        if ('number' != typeof u)
          if (h) {
            if (!(0, l.i)(r) || !(0, l.i)(r.arcade))
              return void c.error('Use of arcade expressions requires an arcade context');
            const e = {
                viewingMode: r.viewingMode,
                scale: r.scale,
                spatialReference: r.spatialReference,
              },
              t = r.arcade.arcadeUtils,
              i = t.getViewInfo(e),
              s = t.createExecContext(n, i);
            if (!y) {
              const e = t.createSyntaxTree(a.valueExpression);
              (y = t.createFunction(e)), (a.cache.compiledFunc = y);
            }
            u = t.executeFunction(y, s);
          } else o && (u = o[p]);
        const f = a.normalizationField,
          b = o ? parseFloat(o[f]) : void 0;
        if (null != u && (!f || s || (!isNaN(b) && 0 !== b))) {
          isNaN(b) || s || (u /= b);
          const e = S(u, d);
          if (e) {
            const t = e[0],
              s = e[1],
              n =
                t === s
                  ? a.stops[t].color
                  : i.Z.blendColors(
                      a.stops[t].color,
                      a.stops[s].color,
                      e[2],
                      (0, l.i)(r) ? r.color : void 0,
                    );
            return new i.Z(n);
          }
        }
      }
      function f(e, t, r) {
        const i =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'opacity' === e.type)[0]
            : e;
        if (!i) return;
        if ('esri.renderers.visualVariables.OpacityVariable' !== i.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable',
          );
        const a = 'number' == typeof t,
          s = a ? null : t,
          n = s && s.attributes;
        let o = a ? t : null;
        const u = i.field,
          { ipData: p, hasExpression: d } = i.cache;
        let h = i.cache.compiledFunc;
        if (!u && !d) {
          const e = i.stops;
          return e && e[0] && e[0].opacity;
        }
        if ('number' != typeof o)
          if (d) {
            if ((0, l.b)(r) || (0, l.b)(r.arcade))
              return void c.error('Use of arcade expressions requires an arcade context');
            const e = {
                viewingMode: r.viewingMode,
                scale: r.scale,
                spatialReference: r.spatialReference,
              },
              t = r.arcade.arcadeUtils,
              a = t.getViewInfo(e),
              n = t.createExecContext(s, a);
            if (!h) {
              const e = t.createSyntaxTree(i.valueExpression);
              (h = t.createFunction(e)), (i.cache.compiledFunc = h);
            }
            o = t.executeFunction(h, n);
          } else n && (o = n[u]);
        const y = i.normalizationField,
          f = n ? parseFloat(n[y]) : void 0;
        if (null != o && (!y || a || (!isNaN(f) && 0 !== f))) {
          isNaN(f) || a || (o /= f);
          const e = S(o, p);
          if (e) {
            const t = e[0],
              r = e[1];
            if (t === r) return i.stops[t].opacity;
            {
              const a = i.stops[t].opacity;
              return a + (i.stops[r].opacity - a) * e[2];
            }
          }
        }
      }
      function b(e, t, r) {
        const i =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'rotation' === e.type)[0]
            : e;
        if (!i) return;
        if ('esri.renderers.visualVariables.RotationVariable' !== i.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable',
          );
        const a = i.axis || 'heading',
          s = 'heading' === a && 'arithmetic' === i.rotationType ? 90 : 0,
          n = 'heading' === a && 'arithmetic' === i.rotationType ? -1 : 1,
          o = 'number' == typeof t ? null : t,
          u = o && o.attributes,
          p = i.field,
          { hasExpression: d } = i.cache;
        let h = i.cache.compiledFunc,
          y = 0;
        if (!p && !d) return y;
        if (d) {
          if ((0, l.b)(r) || (0, l.b)(r.arcade))
            return void c.error('Use of arcade expressions requires an arcade context');
          const e = {
              viewingMode: r.viewingMode,
              scale: r.scale,
              spatialReference: r.spatialReference,
            },
            t = r.arcade.arcadeUtils,
            a = t.getViewInfo(e),
            s = t.createExecContext(o, a);
          if (!h) {
            const e = t.createSyntaxTree(i.valueExpression);
            (h = t.createFunction(e)), (i.cache.compiledFunc = h);
          }
          y = t.executeFunction(h, s);
        } else u && (y = u[p] || 0);
        return (y = 'number' != typeof y || isNaN(y) ? null : s + n * y), y;
      }
      function m(e, t, r) {
        const i =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'size' === e.type)[0]
            : e;
        if (!i) return;
        if ('esri.renderers.visualVariables.SizeVariable' !== i.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable',
          );
        const a = (function (e, t, r, i, a) {
          switch (t.transformationType) {
            case 'additive':
              return (function (e, t, r, i) {
                return e + (v(t.minSize, r, i) || t.minDataValue);
              })(e, t, r, i);
            case 'constant':
              return (function (e, t, r) {
                const i = e.stops;
                let a = i && i.length && i[0].size;
                return null == a && (a = e.minSize), v(a, t, r);
              })(t, r, i);
            case 'clamped-linear':
              return (function (e, t, r, i) {
                const a = (e - t.minDataValue) / (t.maxDataValue - t.minDataValue),
                  s = v(t.minSize, r, i),
                  n = v(t.maxSize, r, i),
                  o = (0, l.i)(i) ? i.shape : void 0;
                if (e <= t.minDataValue) return s;
                if (e >= t.maxDataValue) return n;
                if ('area' === t.scaleBy && o) {
                  const e = 'circle' === o,
                    t = e ? d * (s / 2) ** 2 : s * s,
                    r = t + a * ((e ? d * (n / 2) ** 2 : n * n) - t);
                  return e ? 2 * Math.sqrt(r / d) : Math.sqrt(r);
                }
                return s + a * (n - s);
              })(e, t, r, i);
            case 'proportional':
              return (function (e, t, r, i) {
                const a = (0, l.i)(i) ? i.shape : void 0,
                  s = e / t.minDataValue,
                  n = v(t.minSize, r, i),
                  o = v(t.maxSize, r, i);
                let u = null;
                return (
                  (u =
                    'circle' === a
                      ? 2 * Math.sqrt(s * (n / 2) ** 2)
                      : 'square' === a || 'diamond' === a || 'image' === a
                      ? Math.sqrt(s * n ** 2)
                      : s * n),
                  g(u, n, o)
                );
              })(e, t, r, i);
            case 'stops':
              return (function (e, t, r, i, a) {
                const [s, n, l] = S(e, a);
                if (s === n) return v(t.stops[s].size, r, i);
                {
                  const e = v(t.stops[s].size, r, i);
                  return e + (v(t.stops[n].size, r, i) - e) * l;
                }
              })(e, t, r, i, a);
            case 'real-world-size':
              return (function (e, t, r, i) {
                const a = ((0, l.i)(i) && i.resolution ? i.resolution : 1) * o.m[t.valueUnit],
                  s = v(t.minSize, r, i),
                  n = v(t.maxSize, r, i),
                  { valueRepresentation: u } = t;
                let c = null;
                return (
                  (c =
                    'area' === u
                      ? (2 * Math.sqrt(e / d)) / a
                      : 'radius' === u || 'distance' === u
                      ? (2 * e) / a
                      : e / a),
                  g(c, s, n)
                );
              })(e, t, r, i);
            case 'identity':
              return e;
            case 'unknown':
              return null;
          }
        })(
          (function (e, t, r) {
            const i = 'number' == typeof t,
              a = i ? null : t,
              s = a && a.attributes;
            let n = i ? t : null;
            const { isScaleDriven: o } = e.cache;
            let p = e.cache.compiledFunc;
            if (o) {
              const t = (0, l.i)(r) ? r.scale : void 0,
                i = (0, l.i)(r) ? r.view : void 0;
              n =
                null == t || '3d' === i
                  ? (function (e) {
                      let t = null,
                        r = null;
                      const i = e.stops;
                      return (
                        i
                          ? ((t = i[0].value), (r = i[i.length - 1].value))
                          : ((t = e.minDataValue || 0), (r = e.maxDataValue || 0)),
                        (t + r) / 2
                      );
                    })(e)
                  : t;
            } else if (!i)
              switch (e.inputValueType) {
                case 'expression': {
                  if ((0, l.b)(r) || (0, l.b)(r.arcade))
                    return void c.error('Use of arcade expressions requires an arcade context');
                  const t = {
                      viewingMode: r.viewingMode,
                      scale: r.scale,
                      spatialReference: r.spatialReference,
                    },
                    i = r.arcade.arcadeUtils,
                    s = i.getViewInfo(t),
                    o = i.createExecContext(a, s);
                  if (!p) {
                    const t = i.createSyntaxTree(e.valueExpression);
                    (p = i.createFunction(t)), (e.cache.compiledFunc = p);
                  }
                  n = i.executeFunction(p, o);
                  break;
                }
                case 'field':
                  s && (n = s[e.field]);
                  break;
                case 'unknown':
                  n = null;
              }
            if (!(0, u.b)(n)) return null;
            if (i || !e.normalizationField) return n;
            const d = s ? parseFloat(s[e.normalizationField]) : null;
            return (0, u.b)(d) && 0 !== d ? n / d : null;
          })(i, t, r),
          i,
          t,
          r,
          i.cache.ipData,
        );
        return null == a || isNaN(a) ? 0 : a;
      }
      function v(e, t, r) {
        return null == e ? null : (0, u.i)(e) ? m(e, t, r) : (0, u.b)(e) ? e : null;
      }
      function g(e, t, r) {
        return (0, u.b)(r) && e > r ? r : (0, u.b)(t) && e < t ? t : e;
      }
      function _(e, t, r) {
        const { isScaleDriven: i } = e.cache;
        if (!((i && '3d' === r) || t)) return null;
        const a = { scale: t, view: r };
        let s = v(e.minSize, p, a),
          n = v(e.maxSize, p, a);
        if (null != s || null != n) {
          if (s > n) {
            const e = n;
            (n = s), (s = e);
          }
          return { minSize: s, maxSize: n };
        }
      }
      function S(e, t) {
        if (!t) return;
        let r = 0,
          i = t.length - 1;
        return (
          t.some((t, a) => (e < t ? ((i = a), !0) : ((r = a), !1))),
          [r, i, (e - t[r]) / (t[i] - t[r])]
        );
      }
      function T(e, t, r) {
        const i = ['proportional', 'proportional', 'proportional'];
        for (const a of e) {
          const e = a.useSymbolValue ? 'symbol-value' : m(a, t, r);
          switch (a.axis) {
            case 'width':
              i[0] = e;
              break;
            case 'depth':
              i[1] = e;
              break;
            case 'height':
              i[2] = e;
              break;
            case 'width-and-depth':
              (i[0] = e), (i[1] = e);
              break;
            case 'all':
            case void 0:
            case null:
              (i[0] = e), (i[1] = e), (i[2] = e);
              break;
            default:
              (0, s.n)(a.axis);
          }
        }
        return i;
      }
    },
    90611: (e, t, r) => {
      'use strict';
      r.r(t), r.d(t, { default: () => z });
      var i = r(29768),
        a = (r(74569), r(82058)),
        s = r(60991),
        n = r(95873),
        l = r(76506),
        o = r(54179),
        u = r(50406),
        c = r(32101),
        p = r(34250),
        d = r(86787),
        h = (r(92143), r(97714)),
        y = r(17533),
        f = r(2906),
        b = r(41617),
        m = r(21781),
        v = r(66655),
        g = r(81655),
        _ = r(75025),
        S = r(11118),
        T = r(8547),
        C = r(89440),
        w = r(62162),
        V = r(16647),
        x = r(58912),
        F = r(21132),
        O = r(43022),
        D = r(9530),
        L = r(60947);
      r(91306),
        r(21801),
        r(40642),
        r(71552),
        r(73796),
        r(74673),
        r(21972),
        r(23639),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(31450),
        r(81172),
        r(26341),
        r(91597),
        r(35132),
        r(89623),
        r(84069),
        r(44567),
        r(98380),
        r(92896),
        r(22781),
        r(57251),
        r(32422),
        r(88762),
        r(82933),
        r(15324),
        r(76996),
        r(617),
        r(50161),
        r(82673),
        r(22739),
        r(20543),
        r(47706),
        r(43352),
        r(53785),
        r(95587),
        r(92482),
        r(92817),
        r(9411),
        r(89241),
        r(91700),
        r(10738),
        r(22203),
        r(41864),
        r(49900),
        r(66284),
        r(33921),
        r(3482),
        r(73173),
        r(67477),
        r(78533),
        r(74653),
        r(91091),
        r(58943),
        r(56420),
        r(74742),
        r(28239),
        r(38742),
        r(93314),
        r(35197),
        r(47842),
        r(14249),
        r(9801),
        r(53523),
        r(59465),
        r(42911),
        r(46826),
        r(45433),
        r(60217),
        r(17298),
        r(85557),
        r(34394),
        r(86748),
        r(29107),
        r(30574),
        r(2157),
        r(25977),
        r(7471),
        r(54414),
        r(1648),
        r(8925),
        r(45154),
        r(16769),
        r(55531),
        r(30582),
        r(593),
        r(85699),
        r(63136),
        r(96055),
        r(47776),
        r(18033),
        r(6331),
        r(62048),
        r(4292),
        r(75626),
        r(72652),
        r(29641),
        r(30493),
        r(70821),
        r(34229),
        r(37029),
        r(55306),
        r(96467),
        r(63571),
        r(30776),
        r(48027),
        r(54174),
        r(82426),
        r(63130),
        r(25696),
        r(66396),
        r(42775),
        r(95834),
        r(57150),
        r(76726),
        r(20444),
        r(76393),
        r(78548),
        r(2497),
        r(49906),
        r(46527),
        r(48649),
        r(9960),
        r(3101),
        r(5853),
        r(39141),
        r(48243),
        r(34635),
        r(10401),
        r(70737),
        r(8487),
        r(17817),
        r(90814),
        r(15459),
        r(61847),
        r(16796),
        r(16955),
        r(22401),
        r(77894),
        r(55187),
        r(8586),
        r(44509),
        r(69814),
        r(11305),
        r(62259),
        r(44790),
        r(5909),
        r(60669),
        r(48208),
        r(51589),
        r(65684),
        r(12158),
        r(74864),
        r(63683),
        r(94479),
        r(45702),
        r(51127),
        r(74071),
        r(51723),
        r(23243),
        r(51669),
        r(6090),
        r(3977),
        r(36741),
        r(11253),
        r(90319),
        r(38822),
        r(74057),
        r(23761),
        r(48190),
        r(94070),
        r(16218),
        r(9075),
        r(67541),
        r(71206),
        r(51979),
        r(32037),
        r(60698),
        r(90811),
        r(86758),
        r(95310),
        r(93939),
        r(238),
        r(71831),
        r(49500),
        r(20208),
        r(78303),
        r(46495),
        r(97546),
        r(54732),
        r(77807),
        r(50203),
        r(30439),
        r(6941),
        r(69218),
        r(31292),
        r(27207),
        r(78893);
      const N = [
        'Canvas/World_Dark_Gray_Base',
        'Canvas/World_Dark_Gray_Reference',
        'Canvas/World_Light_Gray_Base',
        'Canvas/World_Light_Gray_Reference',
        'Elevation/World_Hillshade',
        'Elevation/World_Hillshade_Dark',
        'Ocean/World_Ocean_Base',
        'Ocean/World_Ocean_Reference',
        'Ocean_Basemap',
        'Reference/World_Boundaries_and_Places',
        'Reference/World_Boundaries_and_Places_Alternate',
        'Reference/World_Transportation',
        'World_Imagery',
        'World_Street_Map',
        'World_Topo_Map',
      ];
      let R = class extends (0, S.B)(
        (0, g.S)(
          (0, x.S)(
            (0, V.R)(
              (0, C.O)(
                (0, w.P)((0, v.A)((0, g.A)((0, _.A)((0, o.M)((0, n.p)((0, m.A)((0, T.C)(b.Z)))))))),
              ),
            ),
          ),
        ),
      ) {
        constructor(...e) {
          super(...e),
            (this.listMode = 'show'),
            (this.isReference = null),
            (this.operationalLayerType = 'ArcGISTiledMapServiceLayer'),
            (this.resampling = !0),
            (this.sourceJSON = null),
            (this.spatialReference = null),
            (this.path = null),
            (this.sublayers = null),
            (this.type = 'tile'),
            (this.url = null);
        }
        normalizeCtorArgs(e, t) {
          return 'string' == typeof e ? { url: e, ...t } : e;
        }
        load(e) {
          const t = (0, l.i)(e) ? e.signal : null;
          return (
            this.addResolvingPromise(
              this.loadFromPortal({ supportedTypes: ['Map Service'] }, e)
                .catch(u.r9)
                .then(() => this._fetchService(t)),
            ),
            Promise.resolve(this)
          );
        }
        get attributionDataUrl() {
          var e;
          const t = null == (e = this.parsedUrl) ? void 0 : e.path.toLowerCase();
          return t && this._getDefaultAttribution(this._getMapName(t));
        }
        readSpatialReference(e, t) {
          return (e = e || (t.tileInfo && t.tileInfo.spatialReference)) && L.Z.fromJSON(e);
        }
        writeSublayers(e, t, r, i) {
          if (!this.loaded || !e) return;
          const a = e
              .slice()
              .reverse()
              .flatten(({ sublayers: e }) => e && e.toArray().reverse())
              .toArray(),
            s = [],
            n = { writeSublayerStructure: !1, ...i };
          a.forEach((e) => {
            const t = e.write({}, n);
            s.push(t);
          }),
            s.some((e) => Object.keys(e).length > 1) && (t.layers = s);
        }
        get tileServers() {
          return this._getDefaultTileServers(this.parsedUrl.path);
        }
        castTileServers(e) {
          return Array.isArray(e) ? e.map((e) => (0, c.mN)(e).path) : null;
        }
        fetchTile(e, t, r, i = {}) {
          const { signal: s, timestamp: n } = i,
            l = this.getTileUrl(e, t, r),
            o = { responseType: 'image', signal: s };
          return (
            null != n && (o.query = { _ts: i.timestamp }), (0, a.default)(l, o).then((e) => e.data)
          );
        }
        getTileUrl(e, t, r) {
          const i = !this.tilemapCache && this.supportsBlankTile,
            a = (0, c.B7)({
              ...this.parsedUrl.query,
              blankTile: !i && null,
              ...this.customParameters,
              token: this.apiKey,
            }),
            s = this.tileServers;
          return `${s && s.length ? s[t % s.length] : this.parsedUrl.path}/tile/${e}/${t}/${r}${
            a ? '?' + a : ''
          }`;
        }
        _fetchService(e) {
          return new Promise((t, r) => {
            if (this.sourceJSON) {
              if (null != this.sourceJSON.bandCount && null != this.sourceJSON.pixelSizeX)
                throw new s.Z(
                  'tile-layer:unsupported-url',
                  'use ImageryTileLayer to open a tiled image service',
                );
              return void t({ data: this.sourceJSON });
            }
            if (!this.parsedUrl)
              throw new s.Z('tile-layer:undefined-url', "layer's url is not defined");
            const i = (0, F.p)(this.parsedUrl.path);
            if ((0, l.i)(i) && 'ImageServer' === i.serverType)
              throw new s.Z(
                'tile-layer:unsupported-url',
                'use ImageryTileLayer to open a tiled image service',
              );
            (0, a.default)(this.parsedUrl.path, {
              query: {
                f: 'json',
                ...this.parsedUrl.query,
                ...this.customParameters,
                token: this.apiKey,
              },
              responseType: 'json',
              signal: e,
            }).then(t, r);
          }).then((t) => {
            if (
              (t.ssl && (this.url = this.url.replace(/^http:/i, 'https:')),
              (this.sourceJSON = t.data),
              this.read(t.data, { origin: 'service', url: this.parsedUrl }),
              10.1 === this.version && !(0, F.b)(this.url))
            )
              return this._fetchServerVersion(this.url, e)
                .then((e) => {
                  this.read({ currentVersion: e });
                })
                .catch(() => {});
          });
        }
        _fetchServerVersion(e, t) {
          if (!(0, F.d)(e)) return Promise.reject();
          const r = e.replace(/(.*\/rest)\/.*/i, '$1') + '/info';
          return (0, a.default)(r, {
            query: { f: 'json', ...this.customParameters, token: this.apiKey },
            responseType: 'json',
            signal: t,
          }).then((e) => {
            if (e.data && e.data.currentVersion) return e.data.currentVersion;
            throw new s.Z('tile-layer:version-not-available');
          });
        }
        _getMapName(e) {
          const t = e.match(
            /^(?:https?:)?\/\/(server\.arcgisonline\.com|services\.arcgisonline\.com|ibasemaps-api\.arcgis\.com)\/arcgis\/rest\/services\/([^\/]+(\/[^\/]+)*)\/mapserver/i,
          );
          return t && t[2];
        }
        _getDefaultAttribution(e) {
          if (!e) return;
          let t;
          e = e.toLowerCase();
          for (let r = 0, i = N.length; r < i; r++)
            if (((t = N[r]), t.toLowerCase().indexOf(e) > -1))
              return (0, c.hF)('//static.arcgis.com/attribution/' + t);
        }
        _getDefaultTileServers(e) {
          const t = -1 !== e.search(/^(?:https?:)?\/\/server\.arcgisonline\.com/i),
            r = -1 !== e.search(/^(?:https?:)?\/\/services\.arcgisonline\.com/i);
          return t || r
            ? [
                e,
                e.replace(
                  t ? /server\.arcgisonline/i : /services\.arcgisonline/i,
                  t ? 'services.arcgisonline' : 'server.arcgisonline',
                ),
              ]
            : [];
        }
        get hasOverriddenFetchTile() {
          return !this.fetchTile.__isDefault__;
        }
      };
      (0, i._)([(0, p.Cb)({ readOnly: !0 })], R.prototype, 'attributionDataUrl', null),
        (0, i._)(
          [(0, p.Cb)({ type: ['show', 'hide', 'hide-children'] })],
          R.prototype,
          'listMode',
          void 0,
        ),
        (0, i._)(
          [
            (0, p.Cb)({
              type: Boolean,
              json: { read: !1, write: { enabled: !0, overridePolicy: () => ({ enabled: !1 }) } },
            }),
          ],
          R.prototype,
          'isReference',
          void 0,
        ),
        (0, i._)(
          [(0, p.Cb)({ readOnly: !0, type: ['ArcGISTiledMapServiceLayer'] })],
          R.prototype,
          'operationalLayerType',
          void 0,
        ),
        (0, i._)([(0, p.Cb)({ type: Boolean })], R.prototype, 'resampling', void 0),
        (0, i._)([(0, p.Cb)()], R.prototype, 'sourceJSON', void 0),
        (0, i._)([(0, p.Cb)({ type: L.Z })], R.prototype, 'spatialReference', void 0),
        (0, i._)(
          [(0, h.r)('spatialReference', ['spatialReference', 'tileInfo'])],
          R.prototype,
          'readSpatialReference',
          null,
        ),
        (0, i._)(
          [
            (0, p.Cb)({
              type: String,
              json: { origins: { 'web-scene': { read: !0, write: !0 } }, read: !1 },
            }),
          ],
          R.prototype,
          'path',
          void 0,
        ),
        (0, i._)([(0, p.Cb)({ readOnly: !0 })], R.prototype, 'sublayers', void 0),
        (0, i._)(
          [(0, f.w)('sublayers', { layers: { type: [D.Z] } })],
          R.prototype,
          'writeSublayers',
          null,
        ),
        (0, i._)(
          [(0, p.Cb)({ json: { read: !1, write: !1 } })],
          R.prototype,
          'popupEnabled',
          void 0,
        ),
        (0, i._)([(0, p.Cb)()], R.prototype, 'tileServers', null),
        (0, i._)([(0, d.p)('tileServers')], R.prototype, 'castTileServers', null),
        (0, i._)([(0, p.Cb)({ readOnly: !0, json: { read: !1 } })], R.prototype, 'type', void 0),
        (0, i._)([(0, p.Cb)(O.u)], R.prototype, 'url', void 0),
        (R = (0, i._)([(0, y.j)('esri.layers.TileLayer')], R)),
        (R.prototype.fetchTile.__isDefault__ = !0);
      const z = R;
    },
    97546: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => b });
      var i,
        a = r(29768),
        s = r(57251),
        n = r(74673),
        l = r(34250),
        o = (r(76506), r(91306)),
        u = (r(92143), r(59465)),
        c = r(97714),
        p = r(17533),
        d = r(9801),
        h = r(54732);
      r(71552),
        r(21972),
        r(23639),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(81172),
        r(31450),
        r(40642),
        r(26341),
        r(53523),
        r(42911),
        r(46826),
        r(45433);
      const y = new s.J({
        binary: 'binary',
        coordinate: 'coordinate',
        countOrAmount: 'count-or-amount',
        dateAndTime: 'date-and-time',
        description: 'description',
        locationOrPlaceName: 'location-or-place-name',
        measurement: 'measurement',
        nameOrTitle: 'name-or-title',
        none: 'none',
        orderedOrRanked: 'ordered-or-ranked',
        percentageOrRatio: 'percentage-or-ratio',
        typeOrCategory: 'type-or-category',
        uniqueIdentifier: 'unique-identifier',
      });
      let f = (i = class extends n.a {
        constructor(e) {
          super(e),
            (this.alias = null),
            (this.defaultValue = void 0),
            (this.description = null),
            (this.domain = null),
            (this.editable = !0),
            (this.length = -1),
            (this.name = null),
            (this.nullable = !0),
            (this.type = null),
            (this.valueType = null);
        }
        readDescription(e, { description: t }) {
          let r;
          try {
            r = JSON.parse(t);
          } catch (e) {}
          return r ? r.value : null;
        }
        readValueType(e, { description: t }) {
          let r;
          try {
            r = JSON.parse(t);
          } catch (e) {}
          return r ? y.fromJSON(r.fieldValueType) : null;
        }
        clone() {
          return new i({
            alias: this.alias,
            defaultValue: this.defaultValue,
            description: this.description,
            domain: (this.domain && this.domain.clone()) || null,
            editable: this.editable,
            length: this.length,
            name: this.name,
            nullable: this.nullable,
            type: this.type,
            valueType: this.valueType,
          });
        }
      });
      (0, a._)([(0, l.Cb)({ type: String, json: { write: !0 } })], f.prototype, 'alias', void 0),
        (0, a._)(
          [(0, l.Cb)({ type: [String, Number], json: { write: { allowNull: !0 } } })],
          f.prototype,
          'defaultValue',
          void 0,
        ),
        (0, a._)([(0, l.Cb)()], f.prototype, 'description', void 0),
        (0, a._)([(0, c.r)('description')], f.prototype, 'readDescription', null),
        (0, a._)(
          [(0, l.Cb)({ types: d.t, json: { read: { reader: d.f }, write: !0 } })],
          f.prototype,
          'domain',
          void 0,
        ),
        (0, a._)(
          [(0, l.Cb)({ type: Boolean, json: { write: !0 } })],
          f.prototype,
          'editable',
          void 0,
        ),
        (0, a._)([(0, l.Cb)({ type: o.I, json: { write: !0 } })], f.prototype, 'length', void 0),
        (0, a._)([(0, l.Cb)({ type: String, json: { write: !0 } })], f.prototype, 'name', void 0),
        (0, a._)(
          [(0, l.Cb)({ type: Boolean, json: { write: !0 } })],
          f.prototype,
          'nullable',
          void 0,
        ),
        (0, a._)([(0, u.e)(h.k)], f.prototype, 'type', void 0),
        (0, a._)([(0, l.Cb)()], f.prototype, 'valueType', void 0),
        (0, a._)([(0, c.r)('valueType', ['description'])], f.prototype, 'readValueType', null),
        (f = i = (0, a._)([(0, p.j)('esri.layers.support.Field')], f));
      const b = f;
    },
  },
]);
