{"version":3,"sources":["node_modules/@arcgis/core/layers/support/ExpressionInfo.js","node_modules/@arcgis/core/layers/support/AggregateField.js","node_modules/@arcgis/core/layers/support/FeatureReductionBinning.js","node_modules/@arcgis/core/layers/support/FeatureReductionCluster.js","node_modules/@arcgis/core/layers/support/featureReductionUtils.js","node_modules/@arcgis/core/views/2d/layers/support/clusterUtils.js","node_modules/@arcgis/core/layers/mixins/FeatureReductionLayer.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../../chunks/tslib.es6.js\";\nimport { ClonableMixin as o } from \"../../core/Clonable.js\";\nimport { JSONSupport as t } from \"../../core/JSONSupport.js\";\nimport { property as s } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport \"../../core/RandomLCG.js\";\nimport { subclass as e } from \"../../core/accessorSupport/decorators/subclass.js\";\nlet p = class extends o(t) {\n constructor(r) {\n super(r), this.expression = null, this.title = null, this.returnType = null;\n }\n};\nr([s({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"expression\", void 0), r([s({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"title\", void 0), r([s({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"returnType\", void 0), p = r([e(\"esri.layers.support.ExpressionInfo\")], p);\nconst i = p;\nexport { i as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as t } from \"../../chunks/tslib.es6.js\";\nimport { JSONSupport as s } from \"../../core/JSONSupport.js\";\nimport { clone as o } from \"../../core/lang.js\";\nimport { property as i } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport { subclass as e } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport r from \"./ExpressionInfo.js\";\nvar p;\nlet n = p = class extends s {\n constructor(t) {\n super(t), this.isAutoGenerated = !1, this.name = null, this.alias = null, this.onStatisticField = null, this.onStatisticExpression = null, this.statisticType = null;\n }\n clone() {\n return new p({\n name: this.name,\n alias: this.alias,\n isAutoGenerated: this.isAutoGenerated,\n onStatisticExpression: o(this.onStatisticExpression),\n onStatisticField: this.onStatisticField,\n statisticType: this.statisticType\n });\n }\n};\nt([i({\n type: Boolean,\n json: {\n write: !0\n }\n})], n.prototype, \"isAutoGenerated\", void 0), t([i({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"name\", void 0), t([i({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"alias\", void 0), t([i({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"onStatisticField\", void 0), t([i({\n type: r,\n json: {\n write: !0\n }\n})], n.prototype, \"onStatisticExpression\", void 0), t([i({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"statisticType\", void 0), n = p = t([e(\"esri.layers.support.AggregateField\")], n);\nconst a = n;\nexport { a as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as e } from \"../../chunks/tslib.es6.js\";\nimport r from \"../../PopupTemplate.js\";\nimport \"../../renderers/ClassBreaksRenderer.js\";\nimport \"../../renderers/DictionaryRenderer.js\";\nimport \"../../renderers/DotDensityRenderer.js\";\nimport \"../../renderers/HeatmapRenderer.js\";\nimport \"../../renderers/PieChartRenderer.js\";\nimport \"../../renderers/Renderer.js\";\nimport \"../../renderers/SimpleRenderer.js\";\nimport \"../../renderers/UniqueValueRenderer.js\";\nimport { read as o } from \"../../renderers/support/jsonUtils.js\";\nimport { rendererTypes as t } from \"../../renderers/support/types.js\";\nimport { clone as s } from \"../../core/lang.js\";\nimport { setDeepValue as i } from \"../../core/object.js\";\nimport { toPt as p } from \"../../core/screenUtils.js\";\nimport { property as n } from \"../../core/accessorSupport/decorators/property.js\";\nimport { ensureNumber as a } from \"../../core/accessorSupport/ensureType.js\";\nimport { enumeration as l } from \"../../core/accessorSupport/decorators/enumeration.js\";\nimport { reader as d } from \"../../core/accessorSupport/decorators/reader.js\";\nimport { subclass as m } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { writer as c } from \"../../core/accessorSupport/decorators/writer.js\";\nimport u from \"./AggregateField.js\";\nimport { labelsVisible as f, popupEnabled as y } from \"./commonProperties.js\";\nimport { createDefaultRenderer as j } from \"./featureLayerUtils.js\";\nimport { FeatureReduction as b } from \"./FeatureReduction.js\";\nimport h from \"./LabelClass.js\";\nvar g;\nlet v = g = class extends b {\n constructor(e) {\n super(e), this.type = \"binning\", this.binType = \"geohash\", this.fixedBinLevel = null, this.labelingInfo = null, this.labelsVisible = !0, this.maxScale = 0, this.popupEnabled = !0, this.popupTemplate = null, this.size = p(\"12px\"), this.fields = [], this.renderer = null;\n }\n writeFields(e, r, o) {\n const t = e.filter(e => \"avg_angle\" !== e.statisticType).map(e => e.toJSON());\n i(o, t, r);\n }\n readRenderer(e, r, t) {\n const s = r.drawingInfo?.renderer;\n return s ? o(s, r, t) ?? void 0 : j(r, t);\n }\n clone() {\n return new g({\n fields: s(this.fields),\n fixedBinLevel: this.fixedBinLevel,\n labelingInfo: s(this.labelingInfo),\n labelsVisible: this.labelsVisible,\n maxScale: this.maxScale,\n popupEnabled: this.popupEnabled,\n popupTemplate: s(this.popupTemplate),\n renderer: s(this.renderer),\n binType: s(this.binType),\n size: this.size\n });\n }\n};\ne([l({\n binning: \"binning\"\n})], v.prototype, \"type\", void 0), e([l({\n geohash: \"geohash\",\n square: \"square\"\n}), n({\n type: [\"geohash\", \"square\"]\n})], v.prototype, \"binType\", void 0), e([n({\n type: Number,\n json: {\n write: !0\n }\n})], v.prototype, \"fixedBinLevel\", void 0), e([n({\n type: [h],\n json: {\n read: {\n source: \"drawingInfo.labelingInfo\"\n },\n write: {\n target: \"drawingInfo.labelingInfo\"\n }\n }\n})], v.prototype, \"labelingInfo\", void 0), e([n(f)], v.prototype, \"labelsVisible\", void 0), e([n({\n type: Number,\n json: {\n default: 0,\n name: \"visibilityInfo.maxScale\"\n }\n})], v.prototype, \"maxScale\", void 0), e([n(y)], v.prototype, \"popupEnabled\", void 0), e([n({\n type: r,\n json: {\n name: \"popupInfo\",\n write: !0\n }\n})], v.prototype, \"popupTemplate\", void 0), e([n({\n cast: e => \"auto\" === e ? e : a(p(e))\n})], v.prototype, \"size\", void 0), e([n({\n type: [u],\n json: {\n write: !0\n }\n})], v.prototype, \"fields\", void 0), e([c(\"fields\")], v.prototype, \"writeFields\", null), e([n({\n types: t,\n json: {\n write: {\n target: \"drawingInfo.renderer\"\n }\n }\n})], v.prototype, \"renderer\", void 0), e([d(\"renderer\", [\"drawingInfo.renderer\"])], v.prototype, \"readRenderer\", null), v = g = e([m(\"esri.layers.support.FeatureReductionBinning\")], v);\nconst w = v;\nexport { w as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as e } from \"../../chunks/tslib.es6.js\";\nimport r from \"../../PopupTemplate.js\";\nimport \"../../renderers/ClassBreaksRenderer.js\";\nimport \"../../renderers/DictionaryRenderer.js\";\nimport \"../../renderers/DotDensityRenderer.js\";\nimport \"../../renderers/HeatmapRenderer.js\";\nimport \"../../renderers/PieChartRenderer.js\";\nimport \"../../renderers/Renderer.js\";\nimport t from \"../../renderers/SimpleRenderer.js\";\nimport \"../../renderers/UniqueValueRenderer.js\";\nimport { read as o } from \"../../renderers/support/jsonUtils.js\";\nimport { rendererTypes as s } from \"../../renderers/support/types.js\";\nimport { symbolTypesCluster as i } from \"../../symbols.js\";\nimport { JSONSupport as p } from \"../../core/JSONSupport.js\";\nimport { clone as n } from \"../../core/lang.js\";\nimport { setDeepValue as l } from \"../../core/object.js\";\nimport { toPt as a } from \"../../core/screenUtils.js\";\nimport { property as d } from \"../../core/accessorSupport/decorators/property.js\";\nimport { ensureNumber as u } from \"../../core/accessorSupport/ensureType.js\";\nimport { reader as m } from \"../../core/accessorSupport/decorators/reader.js\";\nimport { subclass as c } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { writer as f } from \"../../core/accessorSupport/decorators/writer.js\";\nimport y from \"./AggregateField.js\";\nimport { popupEnabled as b, labelsVisible as j } from \"./commonProperties.js\";\nimport { createDefaultRenderer as h } from \"./featureLayerUtils.js\";\nimport g from \"./LabelClass.js\";\nvar S;\nfunction w(e) {\n return \"simple\" === e.type && !e.visualVariables?.length;\n}\nlet I = S = class extends p {\n constructor(e) {\n super(e), this.type = \"cluster\", this.clusterRadius = a(\"80px\"), this.clusterMinSize = a(\"12px\"), this.clusterMaxSize = a(\"50px\"), this.maxScale = 0, this.popupEnabled = !0, this.popupTemplate = null, this.renderer = null, this.symbol = null, this.labelingInfo = null, this.labelsVisible = !0, this.fields = [];\n }\n readRenderer(e, r, t) {\n const s = r.drawingInfo?.renderer;\n return s?.authoringInfo?.isAutoGenerated ? null : s ? w(s) ? null : o(s, r, t) ?? void 0 : h(r, t);\n }\n readSymbol(e, r, t) {\n const s = r.drawingInfo?.renderer;\n if (s?.authoringInfo?.isAutoGenerated) return null;\n if (s && w(s)) {\n const e = o(s, r, t);\n return e?.symbol;\n }\n return null;\n }\n writeSymbol(e, r, o, s) {\n const i = this.renderer?.authoringInfo?.isAutoGenerated;\n if (!this.renderer || i) {\n const o = new t({\n symbol: e\n });\n r.drawingInfo = {\n renderer: o.write({}, s)\n };\n }\n }\n writeFields(e, r, t) {\n const o = e.filter(e => \"avg_angle\" !== e.statisticType).map(e => e.toJSON());\n l(t, o, r);\n }\n readFields(e, r, t) {\n return e.filter(e => !e.isAutoGenerated).map(e => y.fromJSON(e));\n }\n clone() {\n return new S({\n clusterRadius: this.clusterRadius,\n clusterMinSize: this.clusterMinSize,\n clusterMaxSize: this.clusterMaxSize,\n labelingInfo: n(this.labelingInfo),\n labelsVisible: this.labelsVisible,\n fields: n(this.fields),\n maxScale: this.maxScale,\n renderer: n(this.renderer),\n symbol: n(this.symbol),\n popupEnabled: this.popupEnabled,\n popupTemplate: n(this.popupTemplate)\n });\n }\n};\ne([d({\n type: [\"cluster\"],\n readOnly: !0,\n json: {\n write: !0\n }\n})], I.prototype, \"type\", void 0), e([d({\n cast: e => \"auto\" === e ? e : u(a(e)),\n json: {\n write: !0\n }\n})], I.prototype, \"clusterRadius\", void 0), e([d({\n type: Number,\n cast: a,\n json: {\n write: !0\n }\n})], I.prototype, \"clusterMinSize\", void 0), e([d({\n type: Number,\n cast: a,\n json: {\n write: !0\n }\n})], I.prototype, \"clusterMaxSize\", void 0), e([d({\n type: Number,\n json: {\n default: 0,\n name: \"visibilityInfo.maxScale\"\n }\n})], I.prototype, \"maxScale\", void 0), e([d(b)], I.prototype, \"popupEnabled\", void 0), e([d({\n type: r,\n json: {\n read: {\n source: \"popupInfo\"\n },\n write: {\n target: \"popupInfo\"\n }\n }\n})], I.prototype, \"popupTemplate\", void 0), e([d({\n types: s,\n json: {\n write: {\n target: \"drawingInfo.renderer\"\n }\n }\n})], I.prototype, \"renderer\", void 0), e([m(\"renderer\", [\"drawingInfo.renderer\"])], I.prototype, \"readRenderer\", null), e([d({\n types: i\n})], I.prototype, \"symbol\", void 0), e([m(\"symbol\", [\"drawingInfo.renderer\"])], I.prototype, \"readSymbol\", null), e([f(\"symbol\")], I.prototype, \"writeSymbol\", null), e([d({\n type: [g],\n json: {\n read: {\n source: \"drawingInfo.labelingInfo\"\n },\n write: {\n target: \"drawingInfo.labelingInfo\"\n }\n }\n})], I.prototype, \"labelingInfo\", void 0), e([d(j)], I.prototype, \"labelsVisible\", void 0), e([d({\n type: [y],\n json: {\n write: !0\n }\n})], I.prototype, \"fields\", void 0), e([f(\"fields\")], I.prototype, \"writeFields\", null), e([m(\"fields\")], I.prototype, \"readFields\", null), I = S = e([c(\"esri.layers.support.FeatureReductionCluster\")], I);\nconst v = I;\nexport { v as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { excludeTables as e } from \"../../core/accessorSupport/layerContainerType.js\";\nimport { FeatureReduction as t } from \"./FeatureReduction.js\";\nimport i from \"./FeatureReductionBinning.js\";\nimport r from \"./FeatureReductionCluster.js\";\nimport n from \"./FeatureReductionSelection.js\";\nconst o = {\n key: \"type\",\n base: t,\n typeMap: {\n cluster: r,\n binning: i\n }\n },\n p = {\n types: {\n key: \"type\",\n base: t,\n typeMap: {\n selection: n,\n cluster: r,\n binning: i\n }\n },\n json: {\n name: \"layerDefinition.featureReduction\",\n write: {\n allowNull: !0\n },\n origins: {\n \"web-map\": {\n types: o\n },\n \"portal-item\": {\n types: o\n },\n \"web-scene\": {\n types: {\n key: \"type\",\n base: t,\n typeMap: {\n selection: n\n }\n },\n name: \"layerDefinition.featureReduction\",\n write: {\n layerContainerTypes: e\n }\n }\n }\n }\n };\nexport { p as featureReductionProperty };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport \"../../../../renderers/ClassBreaksRenderer.js\";\nimport \"../../../../renderers/DictionaryRenderer.js\";\nimport \"../../../../renderers/DotDensityRenderer.js\";\nimport \"../../../../renderers/HeatmapRenderer.js\";\nimport \"../../../../renderers/PieChartRenderer.js\";\nimport \"../../../../renderers/Renderer.js\";\nimport e from \"../../../../renderers/SimpleRenderer.js\";\nimport \"../../../../renderers/UniqueValueRenderer.js\";\nimport \"../../../../renderers/support/jsonUtils.js\";\nimport r from \"../../../../core/Logger.js\";\nimport \"../../../../symbols.js\";\nimport s from \"../../../../core/Error.js\";\nimport has from \"../../../../core/has.js\";\nimport { createMD5Hash as i } from \"../../../../core/MD5.js\";\nimport n from \"../../../../layers/support/AggregateField.js\";\nimport t from \"../../../../layers/support/ExpressionInfo.js\";\nimport o from \"../../../../renderers/support/AuthoringInfo.js\";\nimport a from \"../../../../symbols/SimpleMarkerSymbol.js\";\nconst l = () => r.getLogger(\"esri.views.2d.layers.support.clusterUtils\");\nhas.add(\"esri-cluster-arcade-enabled\", !0);\nconst u = has(\"esri-cluster-arcade-enabled\"),\n p = new Set([\"simple-line\", \"simple-fill\", \"picture-fill\"]);\nfunction d(r, s) {\n let i = s.clone();\n if (!f(i)) return i;\n if (s.getSymbols().some(e => p.has(e.type)) && (i = new e({\n symbol: new a()\n })), i.authoringInfo || (i.authoringInfo = new o()), i.authoringInfo.isAutoGenerated = !0, \"visualVariables\" in i) {\n const e = (i.visualVariables || []).filter(e => \"$view.scale\" !== e.valueExpression);\n e.forEach(e => {\n \"rotation\" === e.type ? e.field ? e.field = g(r, e.field, \"avg_angle\", \"number\") : e.valueExpression && (e.field = b(r, e.valueExpression, \"avg_angle\", \"number\"), e.valueExpression = null) : e.normalizationField ? (e.field = g(r, e.field, \"avg_norm\", \"number\", e.normalizationField), e.normalizationField = null) : e.field ? e.field = g(r, e.field, \"avg\", \"number\") : e.valueExpression && (e.field = b(r, e.valueExpression, \"avg\", \"number\"), e.valueExpression = null);\n }), i.visualVariables = e;\n }\n switch (i.type) {\n case \"simple\":\n break;\n case \"pie-chart\":\n for (const e of i.attributes) e.field ? e.field = g(r, e.field, \"sum\", \"number\") : e.valueExpression && (e.field = b(r, e.valueExpression, \"sum\", \"number\"), e.valueExpression = null);\n break;\n case \"unique-value\":\n i.field ? i.field = g(r, i.field, \"mode\", \"string\") : i.valueExpression && (i.field = b(r, i.valueExpression, \"mode\", \"string\"), i.valueExpression = null);\n break;\n case \"class-breaks\":\n i.normalizationField ? (i.field = g(r, i.field, \"avg_norm\", \"number\", i.normalizationField), i.normalizationField = null) : i.field ? i.field = g(r, i.field, \"avg\", \"number\") : i.valueExpression && (i.field = b(r, i.valueExpression, \"avg\", \"number\"), i.valueExpression = null);\n }\n return i;\n}\nconst m = e => e?.find(({\n type: e\n }) => \"size\" === e) ?? null,\n c = e => !!e?.some(({\n field: e\n }) => \"cluster_count\" === e),\n f = e => {\n const r = r => l().error(new s(\"Unsupported-renderer\", r, {\n renderer: e\n }));\n if (!e) return !1;\n switch (e.type) {\n case \"unique-value\":\n if (e.field2 || e.field3) return r(\"FeatureReductionCluster does not support multi-field UniqueValueRenderers\"), !1;\n break;\n case \"class-breaks\":\n if (e.normalizationField) {\n const s = e.normalizationType;\n if (\"field\" !== s) return r(`FeatureReductionCluster does not support a normalizationType of ${s}`), !1;\n }\n break;\n case \"simple\":\n case \"pie-chart\":\n break;\n default:\n return r(`FeatureReductionCluster does not support renderers of type ${e.type}`), !1;\n }\n if (!u) {\n if (\"valueExpression\" in e && e.valueExpression) return r(\"FeatureReductionCluster does not currently support renderer.valueExpression. Support will be added in a future release\"), !1;\n if ((\"visualVariables\" in e && e.visualVariables || []).some(e => !(!(\"valueExpression\" in e) || !e.valueExpression))) return r(\"FeatureReductionCluster does not currently support visualVariables with a valueExpression. Support will be added in a future release\"), !1;\n }\n return !0;\n };\nfunction v(e, r, s) {\n switch (e) {\n case \"sum\":\n return `cluster_sum_${r}`;\n case \"avg\":\n case \"avg_angle\":\n return `cluster_avg_${r}`;\n case \"mode\":\n return `cluster_type_${r}`;\n case \"avg_norm\":\n {\n const e = s,\n n = \"field\",\n t = r.toLowerCase() + \",norm:\" + n + \",\" + e.toLowerCase();\n return \"cluster_avg_\" + i(t);\n }\n }\n}\nfunction b(e, r, s, o) {\n const a = i(r),\n l = \"mode\" === s ? `cluster_type_${a}` : \"sum\" === s ? `cluster_sum_${a}` : `cluster_avg_${a}`;\n return e.some(e => e.name === l) || e.push(new n({\n name: l,\n isAutoGenerated: !0,\n onStatisticExpression: new t({\n expression: r,\n returnType: o\n }),\n statisticType: s\n })), l;\n}\nfunction g(e, r, s, i, o) {\n if (\"cluster_count\" === r || e.some(e => e.name === r)) return r;\n const a = v(s, r, o);\n return e.some(e => e.name === a) || (\"avg_norm\" === s ? e.push(new n({\n name: a,\n isAutoGenerated: !0,\n onStatisticExpression: new t({\n expression: `$feature.${r} / $feature.${o}`,\n returnType: i\n }),\n statisticType: \"avg\"\n })) : e.push(new n({\n name: a,\n isAutoGenerated: !0,\n onStatisticField: r,\n statisticType: s\n }))), a;\n}\nexport { d as createInferredClusterRenderer, m as findSizeVV, c as hasClusterCountVV, f as isClusterCompatibleRenderer };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as e } from \"../../chunks/tslib.es6.js\";\nimport \"../../renderers/ClassBreaksRenderer.js\";\nimport \"../../renderers/DictionaryRenderer.js\";\nimport \"../../renderers/DotDensityRenderer.js\";\nimport \"../../renderers/HeatmapRenderer.js\";\nimport \"../../renderers/PieChartRenderer.js\";\nimport \"../../renderers/Renderer.js\";\nimport r from \"../../renderers/SimpleRenderer.js\";\nimport \"../../renderers/UniqueValueRenderer.js\";\nimport \"../../renderers/support/jsonUtils.js\";\nimport \"../../core/Logger.js\";\nimport { watch as s, sync as t } from \"../../core/reactiveUtils.js\";\nimport { property as i } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/RandomLCG.js\";\nimport { subclass as n } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport o from \"../support/AggregateField.js\";\nimport { featureReductionProperty as a } from \"../support/featureReductionUtils.js\";\nimport u from \"../../renderers/visualVariables/SizeVariable.js\";\nimport l from \"../../renderers/visualVariables/support/SizeStop.js\";\nimport { createInferredClusterRenderer as d } from \"../../views/2d/layers/support/clusterUtils.js\";\nconst c = c => {\n let p = class extends c {\n constructor(...e) {\n super(...e), this.addHandles(s(() => this.renderer, () => {\n if (this.featureReduction) {\n const e = this._normalizeFeatureReduction(this.featureReduction);\n this._set(\"featureReduction\", e);\n }\n }, t));\n }\n set featureReduction(e) {\n const r = this._normalizeFeatureReduction(e);\n this._set(\"featureReduction\", r);\n }\n set renderer(e) {}\n _withClusterVariable(e, r, s) {\n const t = e.clone();\n if (\"visualVariables\" in t) {\n t.visualVariables || (t.visualVariables = []);\n t.visualVariables.some(e => \"size\" === e.type) || t.visualVariables.push(new u({\n field: \"cluster_count\",\n stops: [new l({\n value: 1\n }), new l({\n useMinValue: !0,\n size: r\n }), new l({\n useMaxValue: !0,\n size: s\n })]\n }));\n }\n return t;\n }\n _normalizeFeatureReduction(e) {\n if (\"cluster\" !== e?.type) return e;\n const s = e.clone(),\n t = [new o({\n name: \"cluster_count\",\n alias: \"cluster_count\",\n isAutoGenerated: !0,\n statisticType: \"count\"\n })],\n i = (s.fields ?? []).filter(e => !e.isAutoGenerated),\n n = e.renderer && !e.renderer.authoringInfo?.isAutoGenerated,\n {\n clusterMinSize: a,\n clusterMaxSize: u\n } = s;\n if (n) {\n s.fields = [...t, ...i];\n const e = this._withClusterVariable(s.renderer, a, u);\n return s.effectiveFeatureRenderer = e, s.effectiveClusterRenderer = e, s;\n }\n if (e.symbol) {\n if (s.fields = [...t, ...i], s.renderer = null, !this.renderer) return s.effectiveFeatureRenderer = null, s.effectiveClusterRenderer = null, s;\n const n = d(t, this.renderer),\n o = this._withClusterVariable(n, a, u),\n l = \"visualVariables\" in o && o.visualVariables ? o.visualVariables : [],\n c = new r({\n symbol: e.symbol,\n visualVariables: l\n });\n return s.fields = [...t, ...i], s.effectiveFeatureRenderer = o, s.effectiveClusterRenderer = c, s;\n }\n if (!this.renderer) return e;\n const l = d(t, this.renderer);\n s.fields = [...t, ...i], s.renderer = l;\n const c = this._withClusterVariable(l, a, u);\n return s.effectiveFeatureRenderer = c, s.effectiveClusterRenderer = c, s;\n }\n };\n return e([i(a)], p.prototype, \"featureReduction\", null), p = e([n(\"esri.layers.mixins.FeatureReductionLayer\")], p), p;\n};\nexport { c as FeatureReductionLayer };"],"mappings":"wgCAYA,IAAIA,EAAI,cAAcC,GAAEC,CAAC,CAAE,CACzB,YAAYC,EAAG,CACb,MAAMA,CAAC,EAAG,KAAK,WAAa,KAAM,KAAK,MAAQ,KAAM,KAAK,WAAa,IACzE,CACF,EACAA,EAAE,CAACC,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EACpD,OAAON,EAAE,yBAA2BF,EAAGE,EAAE,yBAA2BF,EAAGE,CACzE,CACA,GAAI,EAAE,OAAQ,CACZ,GAAIA,EAAE,OAAS,CAAC,GAAGC,EAAG,GAAGG,CAAC,EAAGJ,EAAE,SAAW,KAAM,CAAC,KAAK,SAAU,OAAOA,EAAE,yBAA2B,KAAMA,EAAE,yBAA2B,KAAMA,EAC7I,IAAMK,EAAIR,EAAEI,EAAG,KAAK,QAAQ,EAC1BM,EAAI,KAAK,qBAAqBF,EAAGF,EAAGG,CAAC,EACrCE,GAAI,oBAAqBD,GAAKA,EAAE,gBAAkBA,EAAE,gBAAkB,CAAC,EACvEZ,GAAI,IAAIC,EAAE,CACR,OAAQ,EAAE,OACV,gBAAiBY,EACnB,CAAC,EACH,OAAOR,EAAE,OAAS,CAAC,GAAGC,EAAG,GAAGG,CAAC,EAAGJ,EAAE,yBAA2BO,EAAGP,EAAE,yBAA2BL,GAAGK,CAClG,CACA,GAAI,CAAC,KAAK,SAAU,OAAO,EAC3B,IAAMQ,EAAIX,EAAEI,EAAG,KAAK,QAAQ,EAC5BD,EAAE,OAAS,CAAC,GAAGC,EAAG,GAAGG,CAAC,EAAGJ,EAAE,SAAWQ,EACtC,IAAMb,EAAI,KAAK,qBAAqBa,EAAGL,EAAGG,CAAC,EAC3C,OAAON,EAAE,yBAA2BL,EAAGK,EAAE,yBAA2BL,EAAGK,CACzE,CACF,EACA,OAAOS,EAAE,CAACC,EAAEd,EAAC,CAAC,EAAGA,EAAE,UAAW,mBAAoB,IAAI,EAAGA,EAAIa,EAAE,CAACN,EAAE,0CAA0C,CAAC,EAAGP,CAAC,EAAGA,CACtH","names":["p","i","f","r","m","a","p","n","f","a","r","m","i","g","v","t","e","o","r","s","z","a","m","C","p","l","q","w","S","w","e","I","f","o","r","t","s","z","p","a","m","l","q","M","C","v","o","t","v","w","p","a","l","n","has","u","p","d","r","i","f","e","y","j","g","b","f","e","r","l","s","u","v","n","t","x","b","o","a","i","g","c","p","d","e","C","s","t","b","a","i","n","u","o","l","r","m"],"x_google_ignoreList":[0,1,2,3,4,5,6]}