(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [9461],
  {
    99461: (e, a, i) => {
      'use strict';
      i.r(a), i.d(a, { getDataValues: () => u, summaryStatistics: () => r });
      var n = i(82426),
        t = i(60947),
        l = i(19124),
        o = i(60217);
      i(74673),
        i(21972),
        i(23639),
        i(76506),
        i(92143),
        i(31450),
        i(71552),
        i(40642),
        i(34250),
        i(91306),
        i(86656),
        i(22723),
        i(91055),
        i(17533),
        i(81172),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(26341),
        i(2906),
        i(14249),
        i(9801),
        i(53523),
        i(59465),
        i(57251),
        i(42911),
        i(46826),
        i(45433),
        i(74569),
        i(21801),
        i(73796),
        i(97714),
        i(91597),
        i(86787),
        i(35132),
        i(89623),
        i(84069),
        i(44567),
        i(98380),
        i(92896),
        i(22781),
        i(32422);
      let s = null;
      async function r(e) {
        const { attribute: a, featuresJSON: i } = e,
          {
            normalizationType: n,
            normalizationField: t,
            minValue: o,
            maxValue: s,
            fieldType: r,
          } = a,
          c = await u(
            {
              field: a.field,
              valueExpression: a.valueExpression,
              normalizationType: n,
              normalizationField: t,
              normalizationTotal: a.normalizationTotal,
              viewInfoParams: a.viewInfoParams,
            },
            i,
          ),
          m = (0, l.i)({ normalizationType: n, normalizationField: t, minValue: o, maxValue: s }),
          f =
            'string' === r
              ? (0, l.d)({ values: c, supportsNullCount: m })
              : (0, l.e)({
                  values: c,
                  minValue: o,
                  maxValue: s,
                  useSampleStdDev: !n,
                  supportsNullCount: m,
                });
        return (0, l.p)(f, 'date' === r);
      }
      async function u(e, a) {
        if (!a) return [];
        const i = e.field,
          r = e.valueExpression,
          u = e.normalizationType,
          c = e.normalizationField,
          m = e.normalizationTotal,
          f = [],
          p = e.viewInfoParams;
        let d = null,
          v = null;
        if (r) {
          if (!s) {
            const { arcadeUtils: e } = await (0, o.l)();
            s = e;
          }
          (d = s.createFunction(r)),
            (v =
              p &&
              s.getViewInfo({
                viewingMode: p.viewingMode,
                scale: p.scale,
                spatialReference: new t.Z(p.spatialReference),
              }));
        }
        return (
          a.forEach((e) => {
            const a = e.attributes;
            let t;
            if (r) {
              const a = s.createExecContext(e, v);
              t = s.executeFunction(d, a);
            } else a && (t = a[i]);
            if (u && (0, n.I)(t)) {
              const e = a && parseFloat(a[c]);
              t = (0, l.f)(t, u, e, m);
            }
            f.push(t);
          }),
          f
        );
      }
    },
  },
]);
