(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [4797, 7258],
  {
    23761: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => y });
      var s,
        i = r(29768),
        n = r(74569),
        o = r(86748),
        a = r(96467),
        l = 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 f = (s = class extends l.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, s) {
          return e && !e.declaredClass
            ? e
            : { geometry: e, symbol: t, attributes: r, popupTemplate: s };
        }
        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 s(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, s) {
          if (!this.layer || !('graphicChanged' in this.layer)) return;
          const i = { graphic: this, property: e, oldValue: t, newValue: r };
          'attributes' === e && (i.attributeName = s), this.layer.graphicChanged(i);
        }
      });
      (0, i._)([(0, p.Cb)({ value: null })], f.prototype, 'attributes', null),
        (0, i._)(
          [(0, p.Cb)({ value: null, types: n.qM, json: { read: h.im } })],
          f.prototype,
          'geometry',
          null,
        ),
        (0, i._)([(0, p.Cb)({ type: Boolean })], f.prototype, 'isAggregate', void 0),
        (0, i._)([(0, p.Cb)()], f.prototype, 'layer', void 0),
        (0, i._)([(0, p.Cb)({ type: o.Z })], f.prototype, 'popupTemplate', void 0),
        (0, i._)([(0, p.Cb)()], f.prototype, 'sourceLayer', void 0),
        (0, i._)([(0, p.Cb)({ value: null, types: a.LB })], f.prototype, 'symbol', null),
        (0, i._)([(0, p.Cb)({ type: Boolean, value: !0 })], f.prototype, 'visible', null),
        (f = s = (0, i._)([(0, d.j)('esri.Graphic')], f)),
        ((f || (f = {})).generateUID = c.g);
      const y = f;
    },
    8547: (e, t, r) => {
      'use strict';
      r.d(t, { C: () => o });
      var s = r(29768),
        i = r(34250),
        n = (r(76506), r(91306), r(92143), r(17533));
      const o = (e) => {
        let t = class extends e {
          constructor() {
            super(...arguments), (this.customParameters = null);
          }
        };
        return (
          (0, s._)(
            [(0, i.Cb)({ type: Object, json: { write: !0 } })],
            t.prototype,
            'customParameters',
            void 0,
          ),
          (t = (0, s._)([(0, n.j)('esri.layers.mixins.CustomParametersMixin')], t)),
          t
        );
      };
    },
    89219: (e, t, r) => {
      'use strict';
      r.d(t, { q: () => s });
      const s = {
        supportsStatistics: !0,
        supportsPercentileStatistics: !0,
        supportsCentroid: !0,
        supportsCacheHint: !1,
        supportsDistance: !0,
        supportsDistinct: !0,
        supportsExtent: !0,
        supportsGeometryProperties: !1,
        supportsHavingClause: !0,
        supportsOrderBy: !0,
        supportsPagination: !0,
        supportsQuantization: !0,
        supportsQuantizationEditMode: !1,
        supportsQueryGeometry: !0,
        supportsResultType: !1,
        supportsSqlExpression: !0,
        supportsMaxRecordCountFactor: !1,
        supportsStandardizedQueriesOnly: !0,
        supportsTopFeaturesQuery: !1,
        supportsQueryByOthers: !0,
        supportsHistoricMoment: !1,
        supportsFormatPBF: !1,
        supportsDisjointSpatialRelationship: !0,
        maxRecordCountFactor: void 0,
        maxRecordCount: void 0,
        standardMaxRecordCount: void 0,
        tileMaxRecordCount: void 0,
      };
    },
    92482: (e, t, r) => {
      'use strict';
      r.d(t, {
        N: () => p,
        a: () => i,
        d: () => u,
        f: () => n,
        m: () => c,
        p: () => o,
        t: () => a,
        x: () => l,
      }),
        r(76506);
      var s = r(21801);
      function i(e = d) {
        return [e[0], e[1], e[2], e[3]];
      }
      function n(e, t, r, s, n = i()) {
        return (n[0] = e), (n[1] = t), (n[2] = r), (n[3] = s), n;
      }
      function o(e, t = i()) {
        return (t[0] = e.xmin), (t[1] = e.ymin), (t[2] = e.xmax), (t[3] = e.ymax), t;
      }
      function a(e, t) {
        return new s.Z({ xmin: e[0], ymin: e[1], xmax: e[2], ymax: e[3], spatialReference: t });
      }
      function l(e) {
        return (
          (function (e) {
            return e[0] >= e[2] ? 0 : e[2] - e[0];
          })(e) *
          (function (e) {
            return e[1] >= e[3] ? 0 : e[3] - e[1];
          })(e)
        );
      }
      function u(e, t) {
        return (
          Math.max(t[0], e[0]) <= Math.min(t[2], e[2]) &&
          Math.max(t[1], e[1]) <= Math.min(t[3], e[3])
        );
      }
      function c(e, t) {
        return t[0] >= e[0] && t[2] <= e[2] && t[1] >= e[1] && t[3] <= e[3];
      }
      const p = [1 / 0, 1 / 0, -1 / 0, -1 / 0],
        d = [0, 0, 0, 0];
    },
    4571: (e, t, r) => {
      'use strict';
      r.d(t, { a: () => o, b: () => l, c: () => u, d: () => a });
      var s = r(76506),
        i = r(89219),
        n = r(6941);
      function o(e) {
        return {
          renderer: {
            type: 'simple',
            symbol:
              'esriGeometryPoint' === e || 'esriGeometryMultipoint' === e
                ? n.d
                : 'esriGeometryPolyline' === e
                ? n.a
                : n.b,
          },
        };
      }
      function a(e, t) {
        if ((0, s.h)('csp-restrictions')) return () => ({ [t]: null, ...e });
        try {
          let r = `this.${t} = null;`;
          for (const t in e)
            r += `this${t.indexOf('.') ? `["${t}"]` : `.${t}`} = ${JSON.stringify(e[t])};`;
          const s = new Function(r);
          return () => new s();
        } catch (r) {
          return () => ({ [t]: null, ...e });
        }
      }
      function l(e = {}) {
        return [{ name: 'New Feature', description: '', prototype: { attributes: (0, s.d9)(e) } }];
      }
      function u(e, t) {
        return {
          attachment: null,
          data: { isVersioned: !1, supportsAttachment: !1, supportsM: !1, supportsZ: e },
          metadata: { supportsAdvancedFieldProperties: !1 },
          operations: {
            supportsCalculate: !1,
            supportsTruncate: !1,
            supportsValidateSql: !1,
            supportsAdd: t,
            supportsDelete: t,
            supportsEditing: t,
            supportsChangeTracking: !1,
            supportsQuery: !0,
            supportsQueryAttachments: !1,
            supportsResizeAttachments: !1,
            supportsSync: !1,
            supportsUpdate: t,
            supportsExceedsLimitStatistics: !0,
          },
          query: i.q,
          queryRelated: { supportsCount: !0, supportsOrderBy: !0, supportsPagination: !0 },
          editing: {
            supportsGeometryUpdate: t,
            supportsGlobalId: !1,
            supportsReturnServiceEditsInSourceSpatialReference: !1,
            supportsRollbackOnFailure: !1,
            supportsUpdateWithoutM: !1,
            supportsUploadWithItemId: !1,
            supportsDeleteByAnonymous: !1,
            supportsDeleteByOthers: !1,
            supportsUpdateByAnonymous: !1,
            supportsUpdateByOthers: !1,
          },
        };
      }
    },
    48190: (e, t, r) => {
      'use strict';
      function s(e) {}
      r.d(t, { n: () => s }), r(76506);
    },
    6941: (e, t, r) => {
      'use strict';
      r.d(t, {
        a: () => n,
        b: () => o,
        c: () => a,
        d: () => i,
        e: () => l,
        f: () => u,
        g: () => c,
      });
      const s = [252, 146, 31, 255],
        i = {
          type: 'esriSMS',
          style: 'esriSMSCircle',
          size: 6,
          color: s,
          outline: {
            type: 'esriSLS',
            style: 'esriSLSSolid',
            width: 0.75,
            color: [153, 153, 153, 255],
          },
        },
        n = { type: 'esriSLS', style: 'esriSLSSolid', width: 0.75, color: s },
        o = {
          type: 'esriSFS',
          style: 'esriSFSSolid',
          color: [252, 146, 31, 196],
          outline: {
            type: 'esriSLS',
            style: 'esriSLSSolid',
            width: 0.75,
            color: [255, 255, 255, 191],
          },
        },
        a = {
          type: 'esriTS',
          color: [255, 255, 255, 255],
          font: { family: 'arial-unicode-ms', size: 10, weight: 'bold' },
          horizontalAlignment: 'center',
          kerning: !0,
          haloColor: [0, 0, 0, 255],
          haloSize: 1,
          rotated: !1,
          text: '',
          xoffset: 0,
          yoffset: 0,
          angle: 0,
        },
        l = {
          type: 'esriSMS',
          style: 'esriSMSCircle',
          color: [0, 0, 0, 255],
          outline: null,
          size: 10.5,
        },
        u = { type: 'esriSLS', style: 'esriSLSSolid', color: [0, 0, 0, 255], width: 1.5 },
        c = { type: 'esriSFS', style: 'esriSFSSolid', color: [0, 0, 0, 255], outline: null };
    },
    93939: (e, t, r) => {
      'use strict';
      r.d(t, { a: () => f, d: () => y, h: () => h });
      var s = r(21972),
        i = r(15324),
        n = r(76506),
        o = r(86656);
      const a = [
        'esri.Color',
        'esri.portal.Portal',
        'esri.symbols.support.Symbol3DAnchorPosition2D',
        'esri.symbols.support.Symbol3DAnchorPosition3D',
      ];
      function l(e) {
        return e instanceof s.Z;
      }
      function u(e) {
        return e instanceof i.Z
          ? Object.keys(e.items)
          : l(e)
          ? (0, o.g)(e).keys()
          : e
          ? Object.keys(e)
          : [];
      }
      function c(e, t) {
        return e instanceof i.Z ? e.items[t] : e[t];
      }
      function p(e) {
        return e ? e.declaredClass : null;
      }
      function d(e, t) {
        const r = e.diff;
        if (r && 'function' == typeof r) return r(e, t);
        const s = u(e),
          i = u(t);
        if (0 === s.length && 0 === i.length) return;
        if (
          !s.length ||
          !i.length ||
          (function (e, t) {
            return !(!Array.isArray(e) || !Array.isArray(t)) && e.length !== t.length;
          })(e, t)
        )
          return { type: 'complete', oldValue: e, newValue: t };
        const o = i.filter((e) => -1 === s.indexOf(e)),
          h = s.filter((e) => -1 === i.indexOf(e)),
          f = s
            .filter((r) => i.indexOf(r) > -1 && c(e, r) !== c(t, r))
            .concat(o, h)
            .sort(),
          y = p(e);
        if (y && a.indexOf(y) > -1 && f.length)
          return { type: 'complete', oldValue: e, newValue: t };
        let m;
        const g = l(e) && l(t);
        for (const s of f) {
          const i = c(e, s),
            o = c(t, s);
          let a;
          (g || ('function' != typeof i && 'function' != typeof o)) &&
            i !== o &&
            ((null == i && null == o) ||
              ((a =
                r && r[s] && 'function' == typeof r[s]
                  ? r[s](i, o)
                  : 'object' == typeof i && 'object' == typeof o && p(i) === p(o)
                  ? d(i, o)
                  : { type: 'complete', oldValue: i, newValue: o }),
              (0, n.i)(a) &&
                ((0, n.i)(m) ? (m.diff[s] = a) : (m = { type: 'partial', diff: { [s]: a } }))));
        }
        return m;
      }
      function h(e, t) {
        if ((0, n.b)(e)) return !1;
        const r = t.split('.');
        let s = e;
        for (const e of r) {
          if ('complete' === s.type) return !0;
          if ('partial' !== s.type) return !1;
          {
            const t = s.diff[e];
            if (!t) return !1;
            s = t;
          }
        }
        return !0;
      }
      function f(e, t) {
        for (const r of t) if (h(e, r)) return !0;
        return !1;
      }
      function y(e, t) {
        if ('function' != typeof e && 'function' != typeof t && (e || t))
          return !e || !t || ('object' == typeof e && 'object' == typeof t && p(e) !== p(t))
            ? { type: 'complete', oldValue: e, newValue: t }
            : d(e, t);
      }
    },
    85557: (e, t, r) => {
      'use strict';
      r.d(t, { m: () => n });
      var s = r(53785),
        i = r(89623);
      const n = {
        inches: (0, s.c)(1, 'meters', 'inches'),
        feet: (0, s.c)(1, 'meters', 'feet'),
        'us-feet': (0, s.c)(1, 'meters', 'us-feet'),
        yards: (0, s.c)(1, 'meters', 'yards'),
        miles: (0, s.c)(1, 'meters', 'miles'),
        'nautical-miles': (0, s.c)(1, 'meters', 'nautical-miles'),
        millimeters: (0, s.c)(1, 'meters', 'millimeters'),
        centimeters: (0, s.c)(1, 'meters', 'centimeters'),
        decimeters: (0, s.c)(1, 'meters', 'decimeters'),
        meters: (0, s.c)(1, 'meters', 'meters'),
        kilometers: (0, s.c)(1, 'meters', 'kilometers'),
        'decimal-degrees': 1 / (0, s.l)(1, 'meters', i.e.radius),
      };
    },
    52228: (e, t, r) => {
      'use strict';
      function s(e) {
        return e && 'esri.renderers.visualVariables.SizeVariable' === e.declaredClass;
      }
      function i(e) {
        return null != e && !isNaN(e) && isFinite(e);
      }
      function n(e) {
        return e.valueExpression
          ? 'expression'
          : e.field && 'string' == typeof e.field
          ? 'field'
          : 'unknown';
      }
      function o(e, t) {
        const r = t || n(e),
          s = 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' === s
          ? null != e.minSize && null != e.minDataValue
            ? e.minSize && e.minDataValue
              ? 'proportional'
              : 'additive'
            : 'identity'
          : 'real-world-size';
      }
      r.d(t, { a: () => o, b: () => i, g: () => n, i: () => s });
    },
    42788: (e, t, r) => {
      'use strict';
      r.d(t, { g: () => i });
      let s = 0;
      function i() {
        return ++s;
      }
    },
    74057: (e, t, r) => {
      'use strict';
      r.d(t, {
        PR: () => S,
        Lq: () => f,
        Km: () => y,
        cM: () => m,
        ap: () => g,
        V3: () => w,
        B3: () => h,
      });
      var s = r(48027),
        i = r(23761),
        n = r(48190),
        o = r(92143),
        a = r(76506),
        l = 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 = o.L.getLogger('esri.renderers.visualVariables.support.visualVariableUtils'),
        p = new i.Z(),
        d = Math.PI,
        h = /^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;
      function f(e, t, r) {
        const i =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'color' === e.type)[0]
            : e;
        if (!i) return;
        if ('esri.renderers.visualVariables.ColorVariable' !== i.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable',
          );
        const n = 'number' == typeof t,
          o = n ? null : t,
          l = o && o.attributes;
        let u = n ? t : null;
        const p = i.field,
          { ipData: d, hasExpression: h } = i.cache;
        let f = i.cache.compiledFunc;
        if (!p && !h) {
          const e = i.stops;
          return e && e[0] && e[0].color;
        }
        if ('number' != typeof u)
          if (h) {
            if (!(0, a.i)(r) || !(0, a.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,
              s = t.getViewInfo(e),
              n = t.createExecContext(o, s);
            if (!f) {
              const e = t.createSyntaxTree(i.valueExpression);
              (f = t.createFunction(e)), (i.cache.compiledFunc = f);
            }
            u = t.executeFunction(f, n);
          } else l && (u = l[p]);
        const y = i.normalizationField,
          m = l ? parseFloat(l[y]) : void 0;
        if (null != u && (!y || n || (!isNaN(m) && 0 !== m))) {
          isNaN(m) || n || (u /= m);
          const e = _(u, d);
          if (e) {
            const t = e[0],
              n = e[1],
              o =
                t === n
                  ? i.stops[t].color
                  : s.Z.blendColors(
                      i.stops[t].color,
                      i.stops[n].color,
                      e[2],
                      (0, a.i)(r) ? r.color : void 0,
                    );
            return new s.Z(o);
          }
        }
      }
      function y(e, t, r) {
        const s =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'opacity' === e.type)[0]
            : e;
        if (!s) return;
        if ('esri.renderers.visualVariables.OpacityVariable' !== s.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable',
          );
        const i = 'number' == typeof t,
          n = i ? null : t,
          o = n && n.attributes;
        let l = i ? t : null;
        const u = s.field,
          { ipData: p, hasExpression: d } = s.cache;
        let h = s.cache.compiledFunc;
        if (!u && !d) {
          const e = s.stops;
          return e && e[0] && e[0].opacity;
        }
        if ('number' != typeof l)
          if (d) {
            if ((0, a.b)(r) || (0, a.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,
              i = t.getViewInfo(e),
              o = t.createExecContext(n, i);
            if (!h) {
              const e = t.createSyntaxTree(s.valueExpression);
              (h = t.createFunction(e)), (s.cache.compiledFunc = h);
            }
            l = t.executeFunction(h, o);
          } else o && (l = o[u]);
        const f = s.normalizationField,
          y = o ? parseFloat(o[f]) : void 0;
        if (null != l && (!f || i || (!isNaN(y) && 0 !== y))) {
          isNaN(y) || i || (l /= y);
          const e = _(l, p);
          if (e) {
            const t = e[0],
              r = e[1];
            if (t === r) return s.stops[t].opacity;
            {
              const i = s.stops[t].opacity;
              return i + (s.stops[r].opacity - i) * e[2];
            }
          }
        }
      }
      function m(e, t, r) {
        const s =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'rotation' === e.type)[0]
            : e;
        if (!s) return;
        if ('esri.renderers.visualVariables.RotationVariable' !== s.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable',
          );
        const i = s.axis || 'heading',
          n = 'heading' === i && 'arithmetic' === s.rotationType ? 90 : 0,
          o = 'heading' === i && 'arithmetic' === s.rotationType ? -1 : 1,
          l = 'number' == typeof t ? null : t,
          u = l && l.attributes,
          p = s.field,
          { hasExpression: d } = s.cache;
        let h = s.cache.compiledFunc,
          f = 0;
        if (!p && !d) return f;
        if (d) {
          if ((0, a.b)(r) || (0, a.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,
            i = t.getViewInfo(e),
            n = t.createExecContext(l, i);
          if (!h) {
            const e = t.createSyntaxTree(s.valueExpression);
            (h = t.createFunction(e)), (s.cache.compiledFunc = h);
          }
          f = t.executeFunction(h, n);
        } else u && (f = u[p] || 0);
        return (f = 'number' != typeof f || isNaN(f) ? null : n + o * f), f;
      }
      function g(e, t, r) {
        const s =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'size' === e.type)[0]
            : e;
        if (!s) return;
        if ('esri.renderers.visualVariables.SizeVariable' !== s.declaredClass)
          return void c.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable',
          );
        const i = (function (e, t, r, s, i) {
          switch (t.transformationType) {
            case 'additive':
              return (function (e, t, r, s) {
                return e + (b(t.minSize, r, s) || t.minDataValue);
              })(e, t, r, s);
            case 'constant':
              return (function (e, t, r) {
                const s = e.stops;
                let i = s && s.length && s[0].size;
                return null == i && (i = e.minSize), b(i, t, r);
              })(t, r, s);
            case 'clamped-linear':
              return (function (e, t, r, s) {
                const i = (e - t.minDataValue) / (t.maxDataValue - t.minDataValue),
                  n = b(t.minSize, r, s),
                  o = b(t.maxSize, r, s),
                  l = (0, a.i)(s) ? s.shape : void 0;
                if (e <= t.minDataValue) return n;
                if (e >= t.maxDataValue) return o;
                if ('area' === t.scaleBy && l) {
                  const e = 'circle' === l,
                    t = e ? d * (n / 2) ** 2 : n * n,
                    r = t + i * ((e ? d * (o / 2) ** 2 : o * o) - t);
                  return e ? 2 * Math.sqrt(r / d) : Math.sqrt(r);
                }
                return n + i * (o - n);
              })(e, t, r, s);
            case 'proportional':
              return (function (e, t, r, s) {
                const i = (0, a.i)(s) ? s.shape : void 0,
                  n = e / t.minDataValue,
                  o = b(t.minSize, r, s),
                  l = b(t.maxSize, r, s);
                let u = null;
                return (
                  (u =
                    'circle' === i
                      ? 2 * Math.sqrt(n * (o / 2) ** 2)
                      : 'square' === i || 'diamond' === i || 'image' === i
                      ? Math.sqrt(n * o ** 2)
                      : n * o),
                  v(u, o, l)
                );
              })(e, t, r, s);
            case 'stops':
              return (function (e, t, r, s, i) {
                const [n, o, a] = _(e, i);
                if (n === o) return b(t.stops[n].size, r, s);
                {
                  const e = b(t.stops[n].size, r, s);
                  return e + (b(t.stops[o].size, r, s) - e) * a;
                }
              })(e, t, r, s, i);
            case 'real-world-size':
              return (function (e, t, r, s) {
                const i = ((0, a.i)(s) && s.resolution ? s.resolution : 1) * l.m[t.valueUnit],
                  n = b(t.minSize, r, s),
                  o = b(t.maxSize, r, s),
                  { valueRepresentation: u } = t;
                let c = null;
                return (
                  (c =
                    'area' === u
                      ? (2 * Math.sqrt(e / d)) / i
                      : 'radius' === u || 'distance' === u
                      ? (2 * e) / i
                      : e / i),
                  v(c, n, o)
                );
              })(e, t, r, s);
            case 'identity':
              return e;
            case 'unknown':
              return null;
          }
        })(
          (function (e, t, r) {
            const s = 'number' == typeof t,
              i = s ? null : t,
              n = i && i.attributes;
            let o = s ? t : null;
            const { isScaleDriven: l } = e.cache;
            let p = e.cache.compiledFunc;
            if (l) {
              const t = (0, a.i)(r) ? r.scale : void 0,
                s = (0, a.i)(r) ? r.view : void 0;
              o =
                null == t || '3d' === s
                  ? (function (e) {
                      let t = null,
                        r = null;
                      const s = e.stops;
                      return (
                        s
                          ? ((t = s[0].value), (r = s[s.length - 1].value))
                          : ((t = e.minDataValue || 0), (r = e.maxDataValue || 0)),
                        (t + r) / 2
                      );
                    })(e)
                  : t;
            } else if (!s)
              switch (e.inputValueType) {
                case 'expression': {
                  if ((0, a.b)(r) || (0, a.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,
                    },
                    s = r.arcade.arcadeUtils,
                    n = s.getViewInfo(t),
                    l = s.createExecContext(i, n);
                  if (!p) {
                    const t = s.createSyntaxTree(e.valueExpression);
                    (p = s.createFunction(t)), (e.cache.compiledFunc = p);
                  }
                  o = s.executeFunction(p, l);
                  break;
                }
                case 'field':
                  n && (o = n[e.field]);
                  break;
                case 'unknown':
                  o = null;
              }
            if (!(0, u.b)(o)) return null;
            if (s || !e.normalizationField) return o;
            const d = n ? parseFloat(n[e.normalizationField]) : null;
            return (0, u.b)(d) && 0 !== d ? o / d : null;
          })(s, t, r),
          s,
          t,
          r,
          s.cache.ipData,
        );
        return null == i || isNaN(i) ? 0 : i;
      }
      function b(e, t, r) {
        return null == e ? null : (0, u.i)(e) ? g(e, t, r) : (0, u.b)(e) ? e : null;
      }
      function v(e, t, r) {
        return (0, u.b)(r) && e > r ? r : (0, u.b)(t) && e < t ? t : e;
      }
      function w(e, t, r) {
        const { isScaleDriven: s } = e.cache;
        if (!((s && '3d' === r) || t)) return null;
        const i = { scale: t, view: r };
        let n = b(e.minSize, p, i),
          o = b(e.maxSize, p, i);
        if (null != n || null != o) {
          if (n > o) {
            const e = o;
            (o = n), (n = e);
          }
          return { minSize: n, maxSize: o };
        }
      }
      function _(e, t) {
        if (!t) return;
        let r = 0,
          s = t.length - 1;
        return (
          t.some((t, i) => (e < t ? ((s = i), !0) : ((r = i), !1))),
          [r, s, (e - t[r]) / (t[s] - t[r])]
        );
      }
      function S(e, t, r) {
        const s = ['proportional', 'proportional', 'proportional'];
        for (const i of e) {
          const e = i.useSymbolValue ? 'symbol-value' : g(i, t, r);
          switch (i.axis) {
            case 'width':
              s[0] = e;
              break;
            case 'depth':
              s[1] = e;
              break;
            case 'height':
              s[2] = e;
              break;
            case 'width-and-depth':
              (s[0] = e), (s[1] = e);
              break;
            case 'all':
            case void 0:
            case null:
              (s[0] = e), (s[1] = e), (s[2] = e);
              break;
            default:
              (0, n.n)(i.axis);
          }
        }
        return s;
      }
    },
    95873: (e, t, r) => {
      'use strict';
      r.d(t, { r: () => f, p: () => h, W: () => p });
      var s = r(29768),
        i = r(21972),
        n = r(82933),
        o = r(34250),
        a = r(17533),
        l = r(76506),
        u = r(6906),
        c = r(617);
      r(23639),
        r(92143),
        r(31450),
        r(71552),
        r(40642),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(91306),
        r(81172),
        r(50406),
        r(60991),
        r(15324),
        r(76996);
      let p = class extends i.Z {
        constructor() {
          super(...arguments),
            (this.updating = !1),
            (this.handleId = 0),
            (this.handles = new n.Z()),
            (this.scheduleHandleId = 0),
            (this.pendingPromises = new Set());
        }
        destroy() {
          this.removeAll(), this.handles.destroy();
        }
        add(e, t, r, s = 0) {
          const i = 0 != (1 & s),
            n = ++this.handleId;
          i || this.installSyncUpdatingWatch(e, t, n);
          const o = 0 != (2 & s) ? (0, c.S1)(e, t, r, i) : e.watch(t, r, i);
          return this.handles.add(o, n), { remove: () => this.handles.remove(n) };
        }
        addOnCollectionPropertyChange(e, t, r, s = 0) {
          const i = 0 != (2 & s),
            n = ++this.handleId;
          return (
            this.handles.add(
              [
                (0, c.on)(e, t, 'after-changes', this.createSyncUpdatingCallback()),
                (0, c.on)(
                  e,
                  t,
                  'change',
                  r,
                  i
                    ? (e) => {
                        r({ added: e.items, removed: [], moved: [], target: e });
                      }
                    : void 0,
                ),
              ],
              n,
            ),
            {
              remove: () => {
                this.handles.remove(n);
              },
            }
          );
        }
        addOnCollectionChange(e, t, r = 0) {
          const s = 0 != (2 & r),
            i = ++this.handleId;
          return (
            this.handles.add(
              [e.on('after-changes', this.createSyncUpdatingCallback()), e.on('change', t)],
              i,
            ),
            s && t({ added: e.items, removed: [], moved: [], target: e }),
            {
              remove: () => {
                this.handles.remove(i);
              },
            }
          );
        }
        addPromise(e) {
          if ((0, l.b)(e)) return e;
          const t = ++this.handleId;
          this.handles.add(
            {
              remove: () => {
                this.pendingPromises.delete(e) &&
                  (0 !== this.pendingPromises.size ||
                    this.handles.has(d) ||
                    this._set('updating', !1));
              },
            },
            t,
          ),
            this.pendingPromises.add(e),
            this._set('updating', !0);
          const r = () => this.handles.remove(t);
          return e.then(r, r), e;
        }
        removeAll() {
          this.pendingPromises.clear(), this.handles.removeAll(), this._set('updating', !1);
        }
        installSyncUpdatingWatch(e, t, r) {
          const s = this.createSyncUpdatingCallback(),
            n = (0, i.r)(() => (0, o.v)(e, t), s);
          return this.handles.add(n, r), n;
        }
        createSyncUpdatingCallback() {
          return () => {
            this.handles.remove(d), ++this.scheduleHandleId;
            const e = this.scheduleHandleId;
            this._get('updating') || this._set('updating', !0),
              this.handles.add(
                (0, u.Os)(() => {
                  e === this.scheduleHandleId &&
                    (this._set('updating', this.pendingPromises.size > 0), this.handles.remove(d));
                }),
                d,
              );
          };
        }
      };
      (0, s._)([(0, o.Cb)({ readOnly: !0 })], p.prototype, 'updating', void 0),
        (p = (0, s._)([(0, a.j)('esri.views.support.WatchUpdatingTracking')], p));
      const d = -42,
        h = (e) => {
          let t = class extends e {
            destroy() {
              this.destroyed || (this.handles.destroy(), this.updatingHandles.destroy());
            }
            get handles() {
              return this._get('handles') || new n.Z();
            }
            get updatingHandles() {
              return this._get('updatingHandles') || new p();
            }
          };
          return (
            (0, s._)([(0, o.Cb)({ readOnly: !0 })], t.prototype, 'handles', null),
            (0, s._)([(0, o.Cb)({ readOnly: !0 })], t.prototype, 'updatingHandles', null),
            (t = (0, s._)([(0, a.j)('esri.core.HandleOwner')], t)),
            t
          );
        };
      let f = class extends h(i.Z) {};
      f = (0, s._)([(0, a.j)('esri.core.HandleOwner')], f);
    },
    82933: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => c });
      var s = r(29768),
        i = r(21972),
        n = r(15324),
        o = r(76506),
        a = r(34250),
        l = r(17533);
      r(23639),
        r(92143),
        r(31450),
        r(71552),
        r(40642),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(81172),
        r(91306),
        r(76996);
      let u = class extends i.Z {
        constructor(e) {
          super(e), (this._groups = new Map());
        }
        destroy() {
          this.removeAll();
        }
        get size() {
          let e = 0;
          return (
            this._groups.forEach((t) => {
              e += t.length;
            }),
            e
          );
        }
        add(e, t) {
          if (!this._isHandle(e) && !Array.isArray(e) && !n.Z.isCollection(e)) return this;
          const r = this._getOrCreateGroup(t);
          return (
            Array.isArray(e) || n.Z.isCollection(e)
              ? e.forEach((e) => this._isHandle(e) && r.push(e))
              : r.push(e),
            this.notifyChange('size'),
            this
          );
        }
        forEach(e, t) {
          if ('function' == typeof e) this._groups.forEach((t) => t.forEach(e));
          else {
            const r = this._getGroup(e);
            r && t && r.forEach(t);
          }
        }
        has(e) {
          return this._groups.has(this._ensureGroupKey(e));
        }
        remove(e) {
          if (Array.isArray(e) || n.Z.isCollection(e)) return e.forEach(this.remove, this), this;
          if (!this.has(e)) return this;
          const t = this._getGroup(e);
          for (let e = 0; e < t.length; e++) t[e].remove();
          return this._deleteGroup(e), this.notifyChange('size'), this;
        }
        removeAll() {
          return (
            this._groups.forEach((e) => {
              for (let t = 0; t < e.length; t++) e[t].remove();
            }),
            this._groups.clear(),
            this.notifyChange('size'),
            this
          );
        }
        _isHandle(e) {
          return e && !!e.remove;
        }
        _getOrCreateGroup(e) {
          if (this.has(e)) return this._getGroup(e);
          const t = [];
          return this._groups.set(this._ensureGroupKey(e), t), t;
        }
        _getGroup(e) {
          return (0, o.a)(this._groups.get(this._ensureGroupKey(e)));
        }
        _deleteGroup(e) {
          return this._groups.delete(this._ensureGroupKey(e));
        }
        _ensureGroupKey(e) {
          return e || '_default_';
        }
      };
      (0, s._)([(0, a.Cb)({ readOnly: !0 })], u.prototype, 'size', null),
        (u = (0, s._)([(0, l.j)('esri.core.Handles')], u));
      const c = u;
    },
    617: (e, t, r) => {
      'use strict';
      r.d(t, {
        S1: () => c,
        on: () => y,
        OY: () => f,
        cm: () => d,
        N1: () => p,
        LR: () => h,
        tH: () => i,
      });
      var s = r(50406);
      function i(e, t, r, i, n) {
        const o = 'function' == typeof i ? i : null,
          a = 'object' == typeof i ? i : null;
        'boolean' == typeof i && (n = i);
        let l,
          u = !1;
        function c() {
          l && (l.remove(), (l = null));
        }
        const p = (0, s.dD)();
        (0, s.fu)(a, () => {
          c(), p.reject((0, s.zE)());
        });
        const d = {
          then: p.promise.then.bind(p.promise),
          catch: p.promise.catch.bind(p.promise),
          remove: c,
        };
        return (
          Object.freeze(d),
          (l = (function (e, t, r, s, i) {
            const n = e.watch(
              t,
              (t, i, n, o) => {
                (r && !r(t)) || null == s || s.call(e, t, i, n, o);
              },
              i,
            );
            if (Array.isArray(t))
              for (const i of t) {
                const n = e.get(i);
                r && r(n) && (null == s || s.call(e, n, n, t, e));
              }
            else {
              const i = e.get(t);
              r && r(i) && (null == s || s.call(e, i, i, t, e));
            }
            return n;
          })(
            e,
            t,
            r,
            (t, r, s, i) => {
              (u = !0),
                c(),
                o && o.call(e, t, r, s, i),
                p.resolve({ value: t, oldValue: r, propertyName: s, target: i });
            },
            n,
          )),
          u && c(),
          d
        );
      }
      function n(e) {
        return !!e;
      }
      function o(e) {
        return !e;
      }
      function a(e) {
        return !0 === e;
      }
      function l(e) {
        return !1 === e;
      }
      r(76506), r(60991), r(92143), r(31450), r(71552), r(40642), r(81172);
      const u = /\?(\.|$)/g;
      function c(e, t, r, s) {
        const i = Array.isArray(t) ? t : t.indexOf(',') > -1 ? t.split(',') : [t],
          n = (function (e, t, r, s) {
            return e.watch(t, r, s);
          })(e, t, r, s);
        for (const t of i) {
          const s = t.trim().replace(u, '$1'),
            i = e.get(s);
          r.call(e, i, i, s, e);
        }
        return n;
      }
      function p(e, t, r, s) {
        return i(e, t, n, r, s);
      }
      function d(e, t, r, s) {
        return i(e, t, o, r, s);
      }
      function h(e, t, r, s) {
        return i(e, t, a, r, s);
      }
      function f(e, t, r, s) {
        return i(e, t, l, r, s);
      }
      function y(e, t, r, i, n, o, a) {
        const l = {};
        function u(t) {
          const s = l[t];
          s && (o && o(s.target, t, e, r), s.handle.remove(), delete l[t]);
        }
        const p = c(
          e,
          t,
          (t, o, a) => {
            u(a),
              (0, s.i)(t) &&
                ((l[a] = { handle: (0, s.o)(t, r, i), target: t }), n && n(t, a, e, r));
          },
          a,
        );
        return {
          remove() {
            p.remove();
            for (const e in l) u(e);
          },
        };
      }
    },
    46987: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => l });
      var s = r(22723),
        i = r(92143),
        n = r(50406),
        o = r(37453);
      r(76506), r(31450), r(71552), r(40642), r(60991), r(81172), r(88762), r(32101);
      const a = i.L.getLogger('esri.core.workers.Connection'),
        l = class {
          constructor() {
            (this._clients = new Array()),
              (this._clientPromises = new Array()),
              (this._clientIdx = 0);
          }
          destroy() {
            this.close();
          }
          get closed() {
            return !this._clients || !this._clients.length;
          }
          open(e, t) {
            return new Promise((r, s) => {
              let i = !0;
              const a = (e) => {
                (0, n.k_)(t.signal), i && ((i = !1), e());
              };
              (this._clients.length = e.length), (this._clientPromises.length = e.length);
              for (let i = 0; i < e.length; ++i) {
                const l = e[i];
                (0, n.y8)(l)
                  ? (this._clientPromises[i] = l.then(
                      (e) => ((this._clients[i] = new o.default(e, t)), a(r), this._clients[i]),
                      () => (a(s), null),
                    ))
                  : ((this._clients[i] = new o.default(l, t)),
                    (this._clientPromises[i] = Promise.resolve(this._clients[i])),
                    a(r));
              }
            });
          }
          broadcast(e, t, r) {
            const s = new Array(this._clientPromises.length);
            for (let i = 0; i < this._clientPromises.length; ++i) {
              const n = this._clientPromises[i];
              s[i] = n.then((s) => s.invoke(e, t, r));
            }
            return s;
          }
          close() {
            for (const e of this._clientPromises) e.then((e) => e.close());
            (this._clients.length = 0), (this._clientPromises.length = 0);
          }
          getAvailableClient() {
            let e;
            for (let t = 0; t < this._clients.length; ++t) {
              const r = this._clients[t];
              if (r) {
                if (!r.isBusy()) return Promise.resolve(r);
              } else (e = e || []), e.push(this._clientPromises[t]);
            }
            return e
              ? Promise.race(e)
              : ((this._clientIdx = (this._clientIdx + 1) % this._clients.length),
                Promise.resolve(this._clients[this._clientIdx]));
          }
          invoke(e, t, r) {
            let s = null;
            return (
              Array.isArray(r)
                ? (a.warn(
                    'invoke()',
                    'The transferList parameter is deprecated, use the options object instead',
                  ),
                  (s = { transferList: r }))
                : (s = r),
              this.closed
                ? Promise.reject(new Error('Connection closed'))
                : this.getAvailableClient().then((r) => r.invoke(e, t, s))
            );
          }
          on(e, t) {
            return Promise.all(this._clientPromises).then(() =>
              (0, s.h)(this._clients.map((r) => r.on(e, t))),
            );
          }
          openPorts() {
            return new Promise((e) => {
              const t = new Array(this._clientPromises.length);
              let r = t.length;
              for (let s = 0; s < this._clientPromises.length; ++s)
                this._clientPromises[s].then((i) => {
                  (t[s] = i.openPort()), 0 == --r && e(t);
                });
            });
          }
          get test() {
            return { numClients: this._clients.length };
          }
        };
    },
    65514: (e, t, r) => {
      'use strict';
      r.d(t, { bA: () => q, Mz: () => A });
      var s = r(60991),
        i = r(76506),
        n = r(50406),
        o = r(46987),
        a = r(37453),
        l = r(88762),
        u = r(92143),
        c = r(73173),
        p = r(31450),
        d = (r(66284), r(32101)),
        h = r(3482);
      r(81172), r(71552), r(40642), r(22723), r(82058), r(33921), r(57251);
      let f = null;
      f = (0, d.hF)((0, c.g)('esri/core/workers/init.js'));
      const y = {};
      (y.baseUrl = (0, d.hF)((0, c.g)('dojo/'))),
        (y.packages = [{ name: 'esri', location: '../esri' }]);
      class m {
        constructor() {
          const e = document.createDocumentFragment();
          ['addEventListener', 'dispatchEvent', 'removeEventListener'].forEach((t) => {
            this[t] = (...r) => e[t](...r);
          });
        }
      }
      const g = i.g.MutationObserver || i.g.WebKitMutationObserver,
        b = (function () {
          let e;
          if (i.g.process && i.g.process.nextTick)
            e = (e) => {
              i.g.process.nextTick(e);
            };
          else if (i.g.Promise)
            e = (e) => {
              i.g.Promise.resolve().then(e);
            };
          else if (g) {
            const t = [],
              r = document.createElement('div');
            new g(() => {
              for (; t.length > 0; ) t.shift()();
            }).observe(r, { attributes: !0 }),
              (e = (e) => {
                t.push(e), r.setAttribute('queueStatus', '1');
              });
          }
          return e;
        })(),
        v = (() => {
          const e = i.g.MessageEvent;
          try {
            new e('message', { data: null });
          } catch {
            return (e, t = {}) => {
              const { data: r, bubbles: s = !1, cancelable: i = !1 } = t,
                n = document.createEvent('Event');
              return n.initEvent(e, s, i), (n.data = r), n;
            };
          }
          return (t, r) => new e(t, r);
        })();
      class w {
        constructor() {
          (this._dispatcher = new m()), this._workerPostMessage({ type: a.M.HANDSHAKE });
        }
        terminate() {}
        get onmessage() {
          return this._onmessageHandler;
        }
        set onmessage(e) {
          this._onmessageHandler && this.removeEventListener('message', this._onmessageHandler),
            (this._onmessageHandler = e),
            e && this.addEventListener('message', e);
        }
        get onmessageerror() {
          return this._onmessageerrorHandler;
        }
        set onmessageerror(e) {
          this._onmessageerrorHandler &&
            this.removeEventListener('messageerror', this._onmessageerrorHandler),
            (this._onmessageerrorHandler = e),
            e && this.addEventListener('messageerror', e);
        }
        get onerror() {
          return this._onerrorHandler;
        }
        set onerror(e) {
          this._onerrorHandler && this.removeEventListener('error', this._onerrorHandler),
            (this._onerrorHandler = e),
            e && this.addEventListener('error', e);
        }
        postMessage(e) {
          b(() => {
            this._workerMessageHandler(v('message', { data: e }));
          });
        }
        dispatchEvent(e) {
          return this._dispatcher.dispatchEvent(e);
        }
        addEventListener(e, t, r) {
          this._dispatcher.addEventListener(e, t, r);
        }
        removeEventListener(e, t, r) {
          this._dispatcher.removeEventListener(e, t, r);
        }
        _workerPostMessage(e) {
          b(() => {
            this.dispatchEvent(v('message', { data: e }));
          });
        }
        async _workerMessageHandler(e) {
          const t = (0, a.r)(e);
          if (t && t.type === a.M.OPEN) {
            const { modulePath: e, jobId: r } = t;
            let s = await a.default.loadWorker(e);
            s || (s = await import(e));
            const i = a.default.connect(s);
            this._workerPostMessage({ type: a.M.OPENED, jobId: r, data: i });
          }
        }
      }
      const _ = u.L.getLogger('esri.core.workers'),
        { HANDSHAKE: S } = a.M;
      let C, x;
      const k = 'Failed to create Worker. Fallback to execute module in main thread';
      async function P(e) {
        return new Promise((t) => {
          function r(i) {
            const n = (0, a.r)(i);
            n &&
              n.type === S &&
              (e.removeEventListener('message', r), e.removeEventListener('error', s), t(e));
          }
          function s(t) {
            t.preventDefault(),
              e.removeEventListener('message', r),
              e.removeEventListener('error', s),
              _.warn('Failed to create Worker. Fallback to execute module in main thread', t),
              (e = new w()).addEventListener('message', r),
              e.addEventListener('error', s);
          }
          e.addEventListener('message', r), e.addEventListener('error', s);
        });
      }
      let O = 0;
      const F = u.L.getLogger('esri.core.workers'),
        { ABORT: I, INVOKE: R, OPEN: E, OPENED: j, RESPONSE: N } = a.M;
      class T {
        constructor(e, t) {
          (this._outJobs = new Map()),
            (this._inJobs = new Map()),
            (this.worker = e),
            (this.id = t),
            e.addEventListener('message', this._onMessage.bind(this)),
            e.addEventListener('error', (e) => {
              e.preventDefault(), F.error(e);
            });
        }
        static async create(e) {
          const t = await (async function () {
            if (!(0, i.h)('esri-workers')) return P(new w());
            if (!C && !x)
              try {
                const e = 'let globalId=0;const outgoing=new Map,configuration=JSON.parse("{CONFIGURATION}");self.esriConfig=configuration.esriConfig;const workerPath=self.esriConfig.workers.workerPath,HANDSHAKE=0,OPEN=1,OPENED=2,RESPONSE=3,INVOKE=4,ABORT=5;function createAbortError(){const e=new Error("Aborted");return e.name="AbortError",e}function receiveMessage(e){return e&&e.data?"string"==typeof e.data?JSON.parse(e.data):e.data:null}function invokeStaticMessage(e,o,r){const t=r&&r.signal,n=globalId++;return new Promise(((r,i)=>{if(t){if(t.aborted)return i(createAbortError());t.addEventListener("abort",(()=>{outgoing.get(n)&&(outgoing.delete(n),self.postMessage({type:5,jobId:n}),i(createAbortError()))}))}outgoing.set(n,{resolve:r,reject:i}),self.postMessage({type:4,jobId:n,methodName:e,abortable:null!=t,data:o})}))}let workerRevisionChecked=!1;function checkWorkerRevision(e){if(!workerRevisionChecked&&e.kernelInfo){workerRevisionChecked=!0;const{revision:o,buildDate:r,version:t}=configuration.kernelInfo,{revision:n,buildDate:i,version:s}=e.kernelInfo;o!==n&&console.warn(`[esri.core.workers] Version mismatch detected between ArcGIS API for JavaScript and assets:\nAPI version: ${t} [Date: ${r}, Revision: ${o.slice(0,8)}]\nAssets version: ${s} [Date: ${i}, Revision: ${n.slice(0,8)}]`)}}function messageHandler(e){const o=receiveMessage(e);if(!o)return;const r=o.jobId;switch(o.type){case 1:let e;function t(o){const t=e.connect(o);self.postMessage({type:2,jobId:r,data:t},[t])}"function"==typeof define&&define.amd?require([workerPath],(r=>{e=r.default||r,checkWorkerRevision(e),e.loadWorker(o.modulePath).then((e=>e||new Promise((e=>{require([o.modulePath],e)})))).then(t)})):"System"in self&&"function"==typeof System.import?System.import(workerPath).then((r=>(e=r.default,checkWorkerRevision(e),e.loadWorker(o.modulePath)))).then((e=>e||System.import(o.modulePath))).then(t):(self.RemoteClient||importScripts(workerPath),e=self.RemoteClient.default||self.RemoteClient,checkWorkerRevision(e),e.loadWorker(o.modulePath).then(t));break;case 3:if(outgoing.has(r)){const e=outgoing.get(r);outgoing.delete(r),o.error?e.reject(JSON.parse(o.error)):e.resolve(o.data)}}}self.dojoConfig=configuration.loaderConfig,esriConfig.workers.loaderUrl&&(self.importScripts(esriConfig.workers.loaderUrl),"function"==typeof require&&"function"==typeof require.config&&require.config(configuration.loaderConfig)),self.addEventListener("message",messageHandler),self.postMessage({type:0});'.replace(
                  '"{CONFIGURATION}"',
                  `'${(function () {
                    let e;
                    if (null != p.Z.default) {
                      const t = { ...p.Z };
                      delete t.default, (e = JSON.parse(JSON.stringify(t)));
                    } else e = JSON.parse(JSON.stringify(p.Z));
                    (e.assetsPath = (0, d.hF)(e.assetsPath)),
                      (e.request.interceptors = []),
                      (e.log.interceptors = []),
                      (e.locale = (0, h.g)()),
                      (e.has = {
                        'csp-restrictions': (0, i.h)('csp-restrictions'),
                        'esri-2d-debug': !1,
                        'esri-2d-update-debug': (0, i.h)('esri-2d-update-debug'),
                        'esri-2d-query-centroid-enabled': (0, i.h)(
                          'esri-2d-query-centroid-enabled',
                        ),
                        'featurelayer-pbf': (0, i.h)('featurelayer-pbf'),
                        'esri-atomics': (0, i.h)('esri-atomics'),
                        'esri-shared-array-buffer': (0, i.h)('esri-shared-array-buffer'),
                        'esri-tiles-debug': (0, i.h)('esri-tiles-debug'),
                        'esri-workers-arraybuffer-transfer': (0, i.h)(
                          'esri-workers-arraybuffer-transfer',
                        ),
                        'host-webworker': 1,
                      }),
                      e.workers.loaderUrl
                        ? (e.workers.loaderUrl = (0, d.hF)(e.workers.loaderUrl))
                        : f && (e.workers.loaderUrl = f),
                      e.workers.workerPath
                        ? (e.workers.workerPath = (0, d.hF)(e.workers.workerPath))
                        : (e.workers.workerPath = 'esri/core/workers/RemoteClient');
                    const t = p.Z.workers.loaderConfig,
                      r = (function (e) {
                        var t;
                        const r = {
                          async: e.async,
                          isDebug: e.isDebug,
                          locale: e.locale,
                          baseUrl: e.baseUrl,
                          has: { ...e.has },
                          map: { ...e.map },
                          packages: (e.packages && e.packages.concat()) || [],
                          paths: { ...e.paths },
                        };
                        return (
                          e.hasOwnProperty('async') || (r.async = !0),
                          e.hasOwnProperty('isDebug') || (r.isDebug = !1),
                          e.baseUrl || (r.baseUrl = y.baseUrl),
                          null == (t = y.packages) ||
                            t.forEach((e) => {
                              !(function (e, t) {
                                for (const r of e) if (r.name === t.name) return;
                                e.push(t);
                              })(r.packages, e);
                            }),
                          r
                        );
                      })({
                        baseUrl: null == t ? void 0 : t.baseUrl,
                        locale: (0, h.g)(),
                        has: {
                          'csp-restrictions': (0, i.h)('csp-restrictions'),
                          'dojo-test-sniff': 0,
                          'host-webworker': 1,
                          ...(null == t ? void 0 : t.has),
                        },
                        map: { ...(null == t ? void 0 : t.map) },
                        paths: { ...(null == t ? void 0 : t.paths) },
                        packages: (null == t ? void 0 : t.packages) || [],
                      }),
                      s = { version: l.i8, buildDate: l.rh, revision: l.LB };
                    return JSON.stringify({ esriConfig: e, loaderConfig: r, kernelInfo: s });
                  })()}'`,
                );
                C = URL.createObjectURL(new Blob([e], { type: 'text/javascript' }));
              } catch (e) {
                x = e || {};
              }
            let e;
            if (C)
              try {
                e = new Worker(C, { name: 'esri-worker-' + O++ });
              } catch (t) {
                _.warn(k, x), (e = new w());
              }
            else _.warn(k, x), (e = new w());
            return P(e);
          })();
          return new T(t, e);
        }
        terminate() {
          this.worker.terminate();
        }
        async open(e, t = {}) {
          const { signal: r } = t,
            s = (0, a.n)();
          return new Promise((t, i) => {
            const o = {
              resolve: t,
              reject: i,
              abortHandle: (0, n.$F)(r, () => {
                this._outJobs.delete(s), this._post({ type: I, jobId: s });
              }),
            };
            this._outJobs.set(s, o), this._post({ type: E, jobId: s, modulePath: e });
          });
        }
        _onMessage(e) {
          const t = (0, a.r)(e);
          if (t)
            switch (t.type) {
              case j:
                this._onOpenedMessage(t);
                break;
              case N:
                this._onResponseMessage(t);
                break;
              case I:
                this._onAbortMessage(t);
                break;
              case R:
                this._onInvokeMessage(t);
            }
        }
        _onAbortMessage(e) {
          const t = this._inJobs,
            r = e.jobId,
            s = t.get(r);
          s && (s.controller && s.controller.abort(), t.delete(r));
        }
        _onInvokeMessage(e) {
          const { methodName: t, jobId: r, data: s, abortable: i } = e,
            o = i ? (0, n.yi)() : null,
            u = this._inJobs,
            c = l.Nv[t];
          let p;
          try {
            if ('function' != typeof c) throw new TypeError(`${t} is not a function`);
            p = c.call(null, s, { signal: o ? o.signal : null });
          } catch (e) {
            return void this._post({ type: N, jobId: r, error: (0, a.t)(e) });
          }
          (0, n.y8)(p)
            ? (u.set(r, { controller: o, promise: p }),
              p.then(
                (e) => {
                  u.has(r) && (u.delete(r), this._post({ type: N, jobId: r }, e));
                },
                (e) => {
                  u.has(r) &&
                    (u.delete(r),
                    e || (e = { message: 'Error encountered at method' + t }),
                    (0, n.D_)(e) ||
                      this._post({
                        type: N,
                        jobId: r,
                        error: (0, a.t)(e || { message: `Error encountered at method ${t}` }),
                      }));
                },
              ))
            : this._post({ type: N, jobId: r }, p);
        }
        _onOpenedMessage(e) {
          var t;
          const { jobId: r, data: s } = e,
            i = this._outJobs.get(r);
          i && (this._outJobs.delete(r), null == (t = i.abortHandle) || t.remove(), i.resolve(s));
        }
        _onResponseMessage(e) {
          var t;
          const { jobId: r, error: i, data: n } = e,
            o = this._outJobs.get(r);
          o &&
            (this._outJobs.delete(r),
            null == (t = o.abortHandle) || t.remove(),
            i ? o.reject(s.Z.fromJSON(JSON.parse(i))) : o.resolve(n));
        }
        _post(e, t, r) {
          return (0, a.p)(this.worker, e, t, r);
        }
      }
      let M = (0, i.h)('esri-workers-debug')
        ? 1
        : (0, i.h)('host-browser')
        ? navigator.hardwareConcurrency - 1
        : 0;
      M || (M = ((0, i.h)('safari') && (0, i.h)('mac')) || (0, i.h)('trident') ? 7 : 2);
      let V = 0;
      const L = [];
      function A(e, t) {
        return U(e, { client: t });
      }
      async function U(e, t) {
        const r = new o.Z();
        return await r.open(e, t), r;
      }
      async function q(e, t = {}) {
        if ('string' != typeof e)
          throw new s.Z('workers:undefined-module', 'modulePath is missing');
        let r = t.strategy || 'distributed';
        if (
          ((0, i.h)('host-webworker') && !(0, i.h)('esri-workers') && (r = 'local'), 'local' === r)
        ) {
          let r = await a.default.loadWorker(e);
          r || (r = await import(e)), (0, n.k_)(t.signal);
          const s = t.client || r;
          return U([a.default.connect(r)], { ...t, client: s });
        }
        if (
          (await (async function () {
            if (z) return z;
            D = (0, n.yi)();
            const e = [];
            for (let t = 0; t < M; t++) {
              const r = T.create(t).then((e) => ((L[t] = e), e));
              e.push(r);
            }
            return (z = Promise.all(e)), z;
          })(),
          (0, n.k_)(t.signal),
          'dedicated' === r)
        ) {
          const r = V++ % M;
          return U([await L[r].open(e, t)], t);
        }
        if (t.maxNumWorkers && t.maxNumWorkers > 0) {
          const r = Math.min(t.maxNumWorkers, M);
          if (r < M) {
            const s = new Array(r);
            for (let i = 0; i < r; ++i) {
              const r = V++ % M;
              s[i] = L[r].open(e, t);
            }
            return U(s, t);
          }
        }
        return U(
          L.map((r) => r.open(e, t)),
          t,
        );
      }
      let D,
        z = null;
    },
    44797: (e, t, r) => {
      'use strict';
      r.r(t), r.d(t, { default: () => Y });
      var s = r(29768),
        i = (r(74569), r(86748)),
        n = (r(55306), r(71206), r(51979), r(60698), r(65684), r(86758), r(95310), r(20208)),
        o = r(54179),
        a = r(71552),
        l = r(32101),
        u = r(34250),
        c = r(76506),
        p = (r(91306), r(92143), r(97714)),
        d = r(17533),
        h = r(2906),
        f = r(22781),
        y = r(41617),
        m = r(60991),
        g = r(95873),
        b = r(22739),
        v = r(50406),
        w = r(617),
        _ = r(65514),
        S = r(4571),
        C = r(34344),
        x = r(87258),
        k = r(21801),
        P = r(11118),
        O = r(8547),
        F = r(89440),
        I = r(62162),
        R = r(16647),
        E = r(58912),
        j = r(19902),
        N = r(43022),
        T = r(13322),
        M = r(14460),
        V = r(83290),
        L = r(97546),
        A = r(47346),
        U = r(14249),
        q = r(77807),
        D = r(68653),
        z = r(31292),
        Z = r(78893),
        J = r(47842),
        H = r(60947);
      r(73796),
        r(74673),
        r(21972),
        r(23639),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(31450),
        r(40642),
        r(81172),
        r(26341),
        r(84069),
        r(91597),
        r(86787),
        r(35132),
        r(89623),
        r(44567),
        r(98380),
        r(92896),
        r(32422),
        r(57251),
        r(15324),
        r(76996),
        r(29107),
        r(30574),
        r(2157),
        r(25977),
        r(7471),
        r(54414),
        r(59465),
        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(9801),
        r(53523),
        r(42911),
        r(46826),
        r(45433),
        r(60217),
        r(96467),
        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(38742),
        r(48243),
        r(34635),
        r(10401),
        r(49900),
        r(66284),
        r(82058),
        r(88762),
        r(73173),
        r(67477),
        r(78533),
        r(74653),
        r(91091),
        r(58943),
        r(20543),
        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(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(85557),
        r(53785),
        r(95587),
        r(94070),
        r(16218),
        r(9075),
        r(67541),
        r(12158),
        r(74864),
        r(63683),
        r(94479),
        r(45702),
        r(51127),
        r(89241),
        r(91700),
        r(32037),
        r(90811),
        r(93939),
        r(238),
        r(71831),
        r(49500),
        r(50161),
        r(82933),
        r(46987),
        r(37453),
        r(89219),
        r(6941),
        r(72334),
        r(65775),
        r(12381),
        r(92482),
        r(92624),
        r(90995),
        r(54732),
        r(41864),
        r(56420),
        r(74742),
        r(28239),
        r(93314),
        r(35197),
        r(59765),
        r(77361),
        r(17298),
        r(50203),
        r(30439),
        r(69218),
        r(27207);
      let G = class extends (0, g.p)(b.L) {
        constructor() {
          super(...arguments),
            (this.capabilities = (0, S.c)(!1, !1)),
            (this.type = 'wfs'),
            (this._updateCustomParameters = (0, v.Ds)(() => {
              var e;
              const t = this.layer.customParameters;
              return null == (e = this._connection) ? void 0 : e.invoke('setCustomParameters', t);
            }));
        }
        load(e) {
          var t;
          const r = null != (t = (0, c.i)(e) && e.signal) ? t : null;
          return this.addResolvingPromise(this._startWorker({ signal: r })), Promise.resolve(this);
        }
        destroy() {
          var e;
          null == (e = this._connection) || e.close(), (this._connection = null);
        }
        async openPorts() {
          return await this.load(), this._connection.openPorts();
        }
        async queryFeatures(e, t = {}) {
          await this.load(t);
          const r = await this._connection.invoke('queryFeatures', e ? e.toJSON() : null, t);
          return x.default.fromJSON(r);
        }
        async queryFeaturesJSON(e, t = {}) {
          return (
            await this.load(t), this._connection.invoke('queryFeatures', e ? e.toJSON() : null, t)
          );
        }
        async queryFeatureCount(e, t = {}) {
          return (
            await this.load(t),
            this._connection.invoke('queryFeatureCount', e ? e.toJSON() : null, t)
          );
        }
        async queryObjectIds(e, t = {}) {
          return (
            await this.load(t), this._connection.invoke('queryObjectIds', e ? e.toJSON() : null, t)
          );
        }
        async queryExtent(e, t = {}) {
          await this.load(t);
          const r = await this._connection.invoke('queryExtent', e ? e.toJSON() : null, t);
          return { count: r.count, extent: k.Z.fromJSON(r.extent) };
        }
        async querySnapping(e, t = {}) {
          return await this.load(t), this._connection.invoke('querySnapping', e, t);
        }
        async refresh(e = {}) {
          await this.load(e);
          const { extent: t } = await this._connection.invoke('refresh', void 0, e);
          return (this.sourceJSON.extent = t), { extent: t };
        }
        async _createLoadOptions(e) {
          const {
            url: t,
            customParameters: r,
            name: s,
            namespaceUri: i,
            spatialReference: n,
            fields: o,
            geometryType: a,
            swapXY: l,
          } = this.layer;
          if (!t) throw new m.Z('wfs-layer:missing-url', 'WFSLayer must be created with a url');
          this.wfsCapabilities =
            this.wfsCapabilities || (await (0, C.FU)(t, { customParameters: r, ...e }));
          const u = [
              'fields',
              'geometryType',
              'name',
              'namespaceUri',
              'spatialReference',
              'swapXY',
            ].some((e) => null == this.layer[e])
              ? await (0, C.be)(this.wfsCapabilities, s, i, {
                  spatialReference: n,
                  customParameters: r,
                  signal: null == e ? void 0 : e.signal,
                })
              : {
                  ...(0, C.eB)(o),
                  geometryType: a,
                  name: s,
                  namespaceUri: i,
                  spatialReference: n,
                  swapXY: l,
                },
            p = (0, c.u)(
              (0, C.ft)(this.wfsCapabilities.readFeatureTypes(), u.name, u.namespaceUri),
            ),
            d = f.f.toJSON(u.geometryType);
          return {
            customParameters: r,
            featureType: p,
            fields: u.fields.map((e) => e.toJSON()),
            geometryField: u.geometryField,
            geometryType: d,
            getFeatureUrl: this.wfsCapabilities.operations.GetFeature.url,
            getFeatureOutputFormat: this.wfsCapabilities.operations.GetFeature.outputFormat,
            objectIdField: u.objectIdField,
            spatialReference: u.spatialReference.toJSON(),
            swapXY: u.swapXY,
          };
        }
        async _startWorker(e) {
          const [t, r] = await (0, v.as)([
              this._createLoadOptions(e),
              (0, _.bA)('WFSSourceWorker', {
                ...e,
                strategy: (0, c.h)('feature-layers-workers') ? 'dedicated' : 'local',
              }),
            ]),
            s = t.error || r.error || null,
            i = r.value || null;
          if (s) throw (i && i.close(), s);
          const n = t.value;
          this._connection = r.value;
          const { extent: o } = await this._connection.invoke('load', n, e);
          (this.sourceJSON = {
            extent: o,
            fields: n.fields,
            geometryType: n.geometryType,
            objectIdField: n.objectIdField,
            geometryField: n.geometryField,
            drawingInfo: (0, S.a)(n.geometryType),
            name: n.featureType.title,
            wfsInfo: {
              name: n.featureType.name,
              featureUrl: n.getFeatureUrl,
              maxFeatures: 3e3,
              swapXY: n.swapXY,
              supportedSpatialReferences: n.featureType.supportedSpatialReferences,
              version: '2.0.0',
              wfsNamespace: n.featureType.namespaceUri,
            },
          }),
            this.handles.add(
              (0, w.S1)(this.layer, 'customParameters', () =>
                this._updateCustomParameters().catch(() => {}),
              ),
            );
        }
      };
      (0, s._)([(0, u.Cb)()], G.prototype, 'capabilities', void 0),
        (0, s._)([(0, u.Cb)({ constructOnly: !0 })], G.prototype, 'layer', void 0),
        (0, s._)([(0, u.Cb)()], G.prototype, 'sourceJSON', void 0),
        (0, s._)([(0, u.Cb)()], G.prototype, 'type', void 0),
        (0, s._)([(0, u.Cb)()], G.prototype, 'wfsCapabilities', void 0),
        (G = (0, s._)([(0, d.j)('esri.layers.graphics.sources.WFSSource')], G));
      var W,
        B = G;
      const Q = (0, A.d)();
      let $ = (W = class extends (
        (0, O.C)((0, P.B)((0, j.T)((0, R.R)((0, E.S)((0, F.O)((0, I.P)((0, o.M)(y.Z))))))))
      ) {
        constructor(e) {
          super(e),
            (this.capabilities = null),
            (this.copyright = null),
            (this.customParameters = null),
            (this.definitionExpression = null),
            (this.displayField = null),
            (this.elevationInfo = null),
            (this.featureReduction = null),
            (this.featureUrl = void 0),
            (this.fields = null),
            (this.fieldsIndex = null),
            (this.fullExtent = null),
            (this.geometryType = null),
            (this.labelsVisible = !0),
            (this.labelingInfo = null),
            (this.legendEnabled = !0),
            (this.objectIdField = null),
            (this.operationalLayerType = 'WFS'),
            (this.maxFeatures = 3e3),
            (this.mode = 0),
            (this.name = null),
            (this.namespaceUri = null),
            (this.outFields = null),
            (this.popupEnabled = !0),
            (this.popupTemplate = null),
            (this.screenSizePerspectiveEnabled = !0),
            (this.source = new B({ layer: this })),
            (this.spatialReference = H.Z.WGS84),
            (this.spatialReferences = [4326]),
            (this.swapXY = void 0),
            (this.title = 'WFS'),
            (this.type = 'wfs'),
            (this.url = null),
            (this.version = void 0);
        }
        static fromWFSLayerInfo(e) {
          const {
            customParameters: t,
            fields: r,
            geometryField: s,
            geometryType: i,
            name: n,
            namespaceUri: o,
            objectIdField: a,
            spatialReference: l,
            swapXY: u,
            url: c,
            wfsCapabilities: p,
          } = e;
          return new W({
            customParameters: t,
            fields: r,
            geometryField: s,
            geometryType: i,
            name: n,
            namespaceUri: o,
            objectIdField: a,
            spatialReference: l,
            swapXY: u,
            url: c,
            wfsCapabilities: p,
          });
        }
        destroy() {
          var e;
          null == (e = this.source) || e.destroy();
        }
        load(e) {
          return (
            this.addResolvingPromise(
              this.loadFromPortal({ supportedTypes: ['WFS'] }, e)
                .then(() => this.source.load(e))
                .then(() => {
                  this.read(this.source.sourceJSON, { origin: 'service', url: this.parsedUrl }),
                    this.revert(
                      [
                        'objectIdField',
                        'fields',
                        'timeInfo',
                        'spatialReference',
                        'name',
                        'namespaceUri',
                      ],
                      'service',
                    ),
                    (0, U.YN)(this.renderer, this.fieldsIndex),
                    (0, U.UF)(this.timeInfo, this.fieldsIndex);
                }),
            ),
            Promise.resolve(this)
          );
        }
        get createQueryVersion() {
          return (
            this.commitProperty('definitionExpression'),
            this.commitProperty('timeExtent'),
            this.commitProperty('timeOffset'),
            this.commitProperty('geometryType'),
            this.commitProperty('capabilities'),
            (this._get('createQueryVersion') || 0) + 1
          );
        }
        get defaultPopupTemplate() {
          return this.createPopupTemplate();
        }
        readFeatureReduction(e, t) {
          return (0, V.r)(e, t);
        }
        writeWebSceneFeatureReduction(e, t, r, s) {
          (0, V.w)(e, t, 'layerDefinition.featureReduction', s);
        }
        writeFields(e, t, r) {
          const s = e.filter((e) => e.name !== C.M8);
          this.geometryField &&
            s.unshift(
              new L.Z({ name: this.geometryField, alias: this.geometryField, type: 'geometry' }),
            ),
            (0, a.s)(
              r,
              s.map((e) => e.toJSON()),
              t,
            );
        }
        get parsedUrl() {
          return this.url ? (0, l.mN)(this.url) : null;
        }
        set renderer(e) {
          (0, U.YN)(e, this.fieldsIndex), this._set('renderer', e);
        }
        createPopupTemplate(e) {
          return (0, Z.eZ)(this, e);
        }
        createQuery() {
          const e = new z.Z();
          (e.returnGeometry = !0),
            (e.outFields = ['*']),
            (e.where = this.definitionExpression || '1=1');
          const { timeOffset: t, timeExtent: r } = this;
          return (
            (e.timeExtent = null != t && null != r ? r.offset(-t.value, t.unit) : r || null), e
          );
        }
        getFieldDomain(e, t) {
          var r;
          return null == (r = this.getField(e)) ? void 0 : r.domain;
        }
        getField(e) {
          return this.fieldsIndex.get(e);
        }
        queryFeatures(e, t) {
          return this.load()
            .then(() => this.source.queryFeatures(z.Z.from(e) || this.createQuery(), t))
            .then((e) => {
              if (null != e && e.features)
                for (const t of e.features) t.layer = t.sourceLayer = this;
              return e;
            });
        }
        queryObjectIds(e, t) {
          return this.load().then(() =>
            this.source.queryObjectIds(z.Z.from(e) || this.createQuery(), t),
          );
        }
        queryFeatureCount(e, t) {
          return this.load().then(() =>
            this.source.queryFeatureCount(z.Z.from(e) || this.createQuery(), t),
          );
        }
        queryExtent(e, t) {
          return this.load().then(() =>
            this.source.queryExtent(z.Z.from(e) || this.createQuery(), t),
          );
        }
        refresh() {
          this.source.refresh().then((e) => {
            this.read(e, { origin: 'service' }), super.refresh();
          });
        }
      });
      (0, s._)(
        [(0, u.Cb)({ readOnly: !0, aliasOf: 'source.capabilities' })],
        $.prototype,
        'capabilities',
        void 0,
      ),
        (0, s._)([(0, u.Cb)({ type: String })], $.prototype, 'copyright', void 0),
        (0, s._)([(0, u.Cb)({ readOnly: !0 })], $.prototype, 'createQueryVersion', null),
        (0, s._)(
          [
            (0, u.Cb)({
              json: {
                read: { source: 'wfsInfo.customParameters' },
                write: { target: 'wfsInfo.customParameters', ignoreOrigin: !0 },
              },
            }),
          ],
          $.prototype,
          'customParameters',
          void 0,
        ),
        (0, s._)([(0, u.Cb)({ readOnly: !0 })], $.prototype, 'defaultPopupTemplate', null),
        (0, s._)([(0, u.Cb)({ type: String })], $.prototype, 'definitionExpression', void 0),
        (0, s._)([(0, u.Cb)({ type: String })], $.prototype, 'displayField', void 0),
        (0, s._)([(0, u.Cb)({ type: J.E })], $.prototype, 'elevationInfo', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              types: { key: 'type', base: T.F, typeMap: { selection: T.Z, cluster: M.Z } },
              json: { write: { target: 'layerDefinition.featureReduction' } },
            }),
          ],
          $.prototype,
          'featureReduction',
          void 0,
        ),
        (0, s._)(
          [(0, p.r)('featureReduction', ['layerDefinition.featureReduction'])],
          $.prototype,
          'readFeatureReduction',
          null,
        ),
        (0, s._)(
          [
            (0, h.w)('web-scene', 'featureReduction', {
              'layerDefinition.featureReduction': { types: V.a },
            }),
          ],
          $.prototype,
          'writeWebSceneFeatureReduction',
          null,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              readOnly: !0,
              json: {
                read: { source: 'wfsInfo.featureUrl' },
                write: { target: 'wfsInfo.featureUrl', ignoreOrigin: !0, isRequired: !0 },
              },
            }),
          ],
          $.prototype,
          'featureUrl',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              type: [L.Z],
              json: {
                read: { source: 'layerDefinition.fields' },
                write: { target: 'layerDefinition.fields', ignoreOrigin: !0, isRequired: !0 },
                origins: { service: { read: { source: 'fields' } } },
              },
            }),
          ],
          $.prototype,
          'fields',
          void 0,
        ),
        (0, s._)([(0, h.w)('fields')], $.prototype, 'writeFields', null),
        (0, s._)([(0, u.Cb)(Q.fieldsIndex)], $.prototype, 'fieldsIndex', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              type: k.Z,
              json: { origins: { service: { read: { source: 'extent' } } } },
            }),
          ],
          $.prototype,
          'fullExtent',
          void 0,
        ),
        (0, s._)([(0, u.Cb)()], $.prototype, 'geometryField', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              type: f.f.apiValues,
              json: {
                read: { source: 'layerDefinition.geometryType', reader: f.f.read },
                write: {
                  target: 'layerDefinition.geometryType',
                  writer: f.f.write,
                  ignoreOrigin: !0,
                },
                origins: { service: { read: f.f.read } },
              },
            }),
          ],
          $.prototype,
          'geometryType',
          void 0,
        ),
        (0, s._)([(0, u.Cb)({ type: String })], $.prototype, 'id', void 0),
        (0, s._)([(0, u.Cb)(N.l)], $.prototype, 'labelsVisible', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              type: [q.Z],
              json: {
                read: { source: 'layerDefinition.drawingInfo.labelingInfo', reader: D.r },
                write: { target: 'layerDefinition.drawingInfo.labelingInfo' },
              },
            }),
          ],
          $.prototype,
          'labelingInfo',
          void 0,
        ),
        (0, s._)([(0, u.Cb)(N.b)], $.prototype, 'legendEnabled', void 0),
        (0, s._)([(0, u.Cb)({ type: ['show', 'hide'] })], $.prototype, 'listMode', void 0),
        (0, s._)([(0, u.Cb)({ type: String })], $.prototype, 'objectIdField', void 0),
        (0, s._)([(0, u.Cb)({ type: ['WFS'] })], $.prototype, 'operationalLayerType', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              json: {
                read: { source: 'wfsInfo.maxFeatures' },
                write: { target: 'wfsInfo.maxFeatures', ignoreOrigin: !0, isRequired: !0 },
              },
            }),
          ],
          $.prototype,
          'maxFeatures',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              readOnly: !0,
              json: {
                read: { source: 'mode' },
                write: { target: 'mode', ignoreOrigin: !0, isRequired: !0 },
              },
            }),
          ],
          $.prototype,
          'mode',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              json: {
                read: { source: 'wfsInfo.name' },
                write: { target: 'wfsInfo.name', ignoreOrigin: !0, isRequired: !0 },
              },
            }),
          ],
          $.prototype,
          'name',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              json: {
                read: { source: 'wfsInfo.wfsNamespace' },
                write: { target: 'wfsInfo.wfsNamespace', ignoreOrigin: !0, isRequired: !0 },
              },
            }),
          ],
          $.prototype,
          'namespaceUri',
          void 0,
        ),
        (0, s._)([(0, u.Cb)(Q.outFields)], $.prototype, 'outFields', void 0),
        (0, s._)([(0, u.Cb)({ readOnly: !0 })], $.prototype, 'parsedUrl', null),
        (0, s._)([(0, u.Cb)(N.p)], $.prototype, 'popupEnabled', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              type: i.Z,
              json: { read: { source: 'popupInfo' }, write: { target: 'popupInfo' } },
            }),
          ],
          $.prototype,
          'popupTemplate',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              types: n.r,
              json: {
                origins: { service: { read: { source: 'drawingInfo.renderer' } } },
                read: { source: 'layerDefinition.drawingInfo.renderer' },
                write: { target: 'layerDefinition.drawingInfo.renderer', ignoreOrigin: !0 },
              },
            }),
          ],
          $.prototype,
          'renderer',
          null,
        ),
        (0, s._)(
          [(0, u.Cb)({ type: Boolean })],
          $.prototype,
          'screenSizePerspectiveEnabled',
          void 0,
        ),
        (0, s._)([(0, u.Cb)({ readOnly: !0 })], $.prototype, 'source', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              type: H.Z,
              json: {
                read: { source: 'layerDefinition.spatialReference' },
                write: {
                  target: 'layerDefinition.spatialReference',
                  ignoreOrigin: !0,
                  isRequired: !0,
                },
                origins: { service: { read: { source: 'extent.spatialReference' } } },
              },
            }),
          ],
          $.prototype,
          'spatialReference',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              readOnly: !0,
              json: {
                read: { source: 'wfsInfo.supportedSpatialReferences' },
                write: {
                  target: 'wfsInfo.supportedSpatialReferences',
                  ignoreOrigin: !0,
                  isRequired: !0,
                },
              },
            }),
          ],
          $.prototype,
          'spatialReferences',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              json: {
                read: { source: 'wfsInfo.swapXY' },
                write: { target: 'wfsInfo.swapXY', ignoreOrigin: !0, isRequired: !0 },
              },
            }),
          ],
          $.prototype,
          'swapXY',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              json: {
                read: { source: 'title' },
                write: { enabled: !0, ignoreOrigin: !0, isRequired: !0 },
                origins: { service: { read: { source: 'name' } } },
              },
            }),
          ],
          $.prototype,
          'title',
          void 0,
        ),
        (0, s._)([(0, u.Cb)({ json: { read: !1 }, readOnly: !0 })], $.prototype, 'type', void 0),
        (0, s._)([(0, u.Cb)({ type: String, json: { write: !0 } })], $.prototype, 'url', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              readOnly: !0,
              json: {
                read: { source: 'wfsInfo.version' },
                write: { target: 'wfsInfo.version', ignoreOrigin: !0, isRequired: !0 },
              },
            }),
          ],
          $.prototype,
          'version',
          void 0,
        ),
        (0, s._)(
          [(0, u.Cb)({ aliasOf: 'source.wfsCapabilities' })],
          $.prototype,
          'wfsCapabilities',
          void 0,
        ),
        ($ = W = (0, s._)([(0, d.j)('esri.layers.WFSLayer')], $));
      const Y = $;
    },
    87258: (e, t, r) => {
      'use strict';
      r.r(t), r.d(t, { default: () => b });
      var s = r(29768),
        i = r(74569),
        n = r(23761),
        o = r(57251),
        a = r(74673),
        l = r(76506),
        u = r(34250),
        c = (r(91306), r(92143), r(97714)),
        p = r(17533),
        d = r(2906),
        h = r(60947),
        f = r(32422),
        y = r(97546);
      r(21801),
        r(40642),
        r(71552),
        r(73796),
        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(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(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),
        r(54732);
      const m = new o.J({
        esriGeometryPoint: 'point',
        esriGeometryMultipoint: 'multipoint',
        esriGeometryPolyline: 'polyline',
        esriGeometryPolygon: 'polygon',
        esriGeometryEnvelope: 'extent',
        mesh: 'mesh',
        '': null,
      });
      let g = class extends a.a {
        constructor(e) {
          super(e),
            (this.displayFieldName = null),
            (this.exceededTransferLimit = !1),
            (this.features = []),
            (this.fields = null),
            (this.geometryType = null),
            (this.hasM = !1),
            (this.hasZ = !1),
            (this.queryGeometry = null),
            (this.spatialReference = null);
        }
        readFeatures(e, t) {
          const r = h.Z.fromJSON(t.spatialReference),
            s = [];
          for (let t = 0; t < e.length; t++) {
            const i = e[t],
              o = n.Z.fromJSON(i),
              a = i.geometry && i.geometry.spatialReference;
            (0, l.i)(o.geometry) && !a && (o.geometry.spatialReference = r), s.push(o);
          }
          return s;
        }
        writeGeometryType(e, t, r, s) {
          if (e) return void m.write(e, t, r, s);
          const { features: i } = this;
          if (i)
            for (const e of i)
              if (e && (0, l.i)(e.geometry)) return void m.write(e.geometry.type, t, r, s);
        }
        readQueryGeometry(e, t) {
          if (!e) return null;
          const r = !!e.spatialReference,
            s = (0, f.im)(e);
          return (
            !r && t.spatialReference && (s.spatialReference = h.Z.fromJSON(t.spatialReference)), s
          );
        }
        writeSpatialReference(e, t) {
          if (e) return void (t.spatialReference = e.toJSON());
          const { features: r } = this;
          if (r)
            for (const e of r)
              if (e && (0, l.i)(e.geometry) && e.geometry.spatialReference)
                return void (t.spatialReference = e.geometry.spatialReference.toJSON());
        }
        toJSON(e) {
          const t = this.write(null);
          if (t.features && Array.isArray(e) && e.length > 0)
            for (let r = 0; r < t.features.length; r++) {
              const s = t.features[r];
              if (s.geometry) {
                const t = e && e[r];
                s.geometry = (t && t.toJSON()) || s.geometry;
              }
            }
          return t;
        }
        quantize(e) {
          const {
              scale: [t, r],
              translate: [s, i],
            } = e,
            n = this.features,
            o = this._getQuantizationFunction(
              this.geometryType,
              (e) => Math.round((e - s) / t),
              (e) => Math.round((i - e) / r),
            );
          for (let e = 0, t = n.length; e < t; e++)
            o((0, l.u)(n[e].geometry)) || (n.splice(e, 1), e--, t--);
          return (this.transform = e), this;
        }
        unquantize() {
          const { geometryType: e, features: t, transform: r } = this;
          if (!r) return this;
          const {
              translate: [s, i],
              scale: [n, o],
            } = r,
            a = this._getHydrationFunction(
              e,
              (e) => e * n + s,
              (e) => i - e * o,
            );
          for (const { geometry: e } of t) (0, l.i)(e) && a(e);
          return (this.transform = null), this;
        }
        _quantizePoints(e, t, r) {
          let s, i;
          const n = [];
          for (let o = 0, a = e.length; o < a; o++) {
            const a = e[o];
            if (o > 0) {
              const e = t(a[0]),
                o = r(a[1]);
              (e === s && o === i) || (n.push([e - s, o - i]), (s = e), (i = o));
            } else (s = t(a[0])), (i = r(a[1])), n.push([s, i]);
          }
          return n.length > 0 ? n : null;
        }
        _getQuantizationFunction(e, t, r) {
          return 'point' === e
            ? (e) => ((e.x = t(e.x)), (e.y = r(e.y)), e)
            : 'polyline' === e || 'polygon' === e
            ? (e) => {
                const s = (0, f.oU)(e) ? e.rings : e.paths,
                  i = [];
                for (let e = 0, n = s.length; e < n; e++) {
                  const n = s[e],
                    o = this._quantizePoints(n, t, r);
                  o && i.push(o);
                }
                return i.length > 0 ? ((0, f.oU)(e) ? (e.rings = i) : (e.paths = i), e) : null;
              }
            : 'multipoint' === e
            ? (e) => {
                const s = this._quantizePoints(e.points, t, r);
                return s.length > 0 ? ((e.points = s), e) : null;
              }
            : 'extent' === e
            ? (e) => e
            : null;
        }
        _getHydrationFunction(e, t, r) {
          return 'point' === e
            ? (e) => {
                (e.x = t(e.x)), (e.y = r(e.y));
              }
            : 'polyline' === e || 'polygon' === e
            ? (e) => {
                const s = (0, f.oU)(e) ? e.rings : e.paths;
                let i, n;
                for (let e = 0, o = s.length; e < o; e++) {
                  const o = s[e];
                  for (let e = 0, s = o.length; e < s; e++) {
                    const s = o[e];
                    e > 0 ? ((i += s[0]), (n += s[1])) : ((i = s[0]), (n = s[1])),
                      (s[0] = t(i)),
                      (s[1] = r(n));
                  }
                }
              }
            : 'extent' === e
            ? (e) => {
                (e.xmin = t(e.xmin)),
                  (e.ymin = r(e.ymin)),
                  (e.xmax = t(e.xmax)),
                  (e.ymax = r(e.ymax));
              }
            : 'multipoint' === e
            ? (e) => {
                const s = e.points;
                let i, n;
                for (let e = 0, o = s.length; e < o; e++) {
                  const o = s[e];
                  e > 0 ? ((i += o[0]), (n += o[1])) : ((i = o[0]), (n = o[1])),
                    (o[0] = t(i)),
                    (o[1] = r(n));
                }
              }
            : void 0;
        }
      };
      (0, s._)(
        [(0, u.Cb)({ type: String, json: { write: !0 } })],
        g.prototype,
        'displayFieldName',
        void 0,
      ),
        (0, s._)(
          [
            (0, u.Cb)({
              type: Boolean,
              json: { write: { overridePolicy: (e) => ({ enabled: e }) } },
            }),
          ],
          g.prototype,
          'exceededTransferLimit',
          void 0,
        ),
        (0, s._)(
          [(0, u.Cb)({ type: [n.Z], json: { write: !0 } })],
          g.prototype,
          'features',
          void 0,
        ),
        (0, s._)([(0, c.r)('features')], g.prototype, 'readFeatures', null),
        (0, s._)([(0, u.Cb)({ type: [y.Z], json: { write: !0 } })], g.prototype, 'fields', void 0),
        (0, s._)(
          [
            (0, u.Cb)({
              type: ['point', 'multipoint', 'polyline', 'polygon', 'extent', 'mesh'],
              json: { read: { reader: m.read } },
            }),
          ],
          g.prototype,
          'geometryType',
          void 0,
        ),
        (0, s._)([(0, d.w)('geometryType')], g.prototype, 'writeGeometryType', null),
        (0, s._)(
          [
            (0, u.Cb)({
              type: Boolean,
              json: { write: { overridePolicy: (e) => ({ enabled: e }) } },
            }),
          ],
          g.prototype,
          'hasM',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              type: Boolean,
              json: { write: { overridePolicy: (e) => ({ enabled: e }) } },
            }),
          ],
          g.prototype,
          'hasZ',
          void 0,
        ),
        (0, s._)(
          [(0, u.Cb)({ types: i.qM, json: { write: !0 } })],
          g.prototype,
          'queryGeometry',
          void 0,
        ),
        (0, s._)([(0, c.r)('queryGeometry')], g.prototype, 'readQueryGeometry', null),
        (0, s._)(
          [(0, u.Cb)({ type: h.Z, json: { write: !0 } })],
          g.prototype,
          'spatialReference',
          void 0,
        ),
        (0, s._)([(0, d.w)('spatialReference')], g.prototype, 'writeSpatialReference', null),
        (0, s._)([(0, u.Cb)({ json: { write: !0 } })], g.prototype, 'transform', void 0),
        (g = (0, s._)([(0, p.j)('esri.rest.support.FeatureSet')], g)),
        (g.prototype.toJSON.isDefaultToJSON = !0),
        g || (g = {});
      const b = g;
    },
  },
]);
