import { a as a3, i as i2, u } from "./chunk-VBNMTM7L.js"; import { l as l3 } from "./chunk-3D3QEPRE.js"; import { d as d2 } from "./chunk-JFNNSBWL.js"; import { a as a2 } from "./chunk-C43UE3Z5.js"; import { l as l2 } from "./chunk-7XXXCK2A.js"; import { r as r3 } from "./chunk-7ZIDBK7B.js"; import { c, i, m as m2, p } from "./chunk-65BYCSII.js"; import { n as n3, r as r4 } from "./chunk-6A4U74YA.js"; import { e as e2, o as o3 } from "./chunk-WEMIK25H.js"; import { o2 as o4 } from "./chunk-XNLG7T2T.js"; import { n as n2, t as t3 } from "./chunk-AFZ7XSEW.js"; import { B } from "./chunk-4NKD334K.js"; import { j } from "./chunk-ALDCDSPV.js"; import { F, G, K, N as N2, X, et, nt } from "./chunk-VBRY5KJM.js"; import { o as o2, s as s4 } from "./chunk-PDKDCAAD.js"; import { o } from "./chunk-ECW2QABR.js"; import { s as s3 } from "./chunk-GCDJLKH4.js"; import { r as r2 } from "./chunk-MRJEICT6.js"; import { d, e, l3 as l, n2 as n, s2, t as t2, y3 as y } from "./chunk-Y3WMVFTW.js"; import { N, S, a } from "./chunk-IHXECKQQ.js"; import { f } from "./chunk-ULGDPLM2.js"; import { s } from "./chunk-EMJ4ZSM2.js"; import { m } from "./chunk-IKP3YN53.js"; import { r, t } from "./chunk-GZT4BVFP.js"; // node_modules/@arcgis/core/symbols/LineSymbol.js var i3 = class extends a2 { constructor(r8) { super(r8), this.type = "simple-line", this.width = 0.75; } hash() { return `${this.type}.${this.width}`; } }; e([r3({ esriSLS: "simple-line" }, { readOnly: true })], i3.prototype, "type", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], i3.prototype, "width", void 0), i3 = e([n("esri.symbols.LineSymbol")], i3); var c2 = i3; // node_modules/@arcgis/core/symbols/support/lineMarkers.js var e3 = ["begin", "end", "begin-end"]; var n4 = ["arrow", "circle", "square", "diamond", "cross", "x"]; // node_modules/@arcgis/core/symbols/LineSymbolMarker.js var n5; var m3 = n5 = class extends l { constructor(r8) { super(r8), this.placement = "begin-end", this.type = "line-marker", this.style = "arrow"; } writeStyle(r8, o8, e7, t13) { o8[e7] = t13?.origin === "web-map" ? "arrow" : r8; } set color(r8) { this._set("color", r8); } readColor(r8) { return r8 && r8[0] != null ? [r8[0], r8[1], r8[2], r8[3] / 255] : r8; } writeColor(r8, o8, e7, t13) { t13?.origin === "web-map" || (o8[e7] = r8); } clone() { return new n5({ color: m(this.color), placement: this.placement, style: this.style }); } hash() { return `${this.placement}.${this.color?.hash()}.${this.style}`; } }; e([d({ type: ["begin", "end", "begin-end"], json: { write: true } })], m3.prototype, "placement", void 0), e([r3({ "line-marker": "line-marker" }, { readOnly: true }), d({ json: { origins: { "web-map": { write: false } } } })], m3.prototype, "type", void 0), e([d({ type: n4 })], m3.prototype, "style", void 0), e([r2("style")], m3.prototype, "writeStyle", null), e([d({ type: l2, value: null, json: { write: { allowNull: true } } })], m3.prototype, "color", null), e([o("color")], m3.prototype, "readColor", null), e([r2("color")], m3.prototype, "writeColor", null), m3 = n5 = e([n("esri.symbols.LineSymbolMarker")], m3); var u2 = m3; // node_modules/@arcgis/core/symbols/SimpleLineSymbol.js var p2; var h = new s4({ esriSLSSolid: "solid", esriSLSDash: "dash", esriSLSDot: "dot", esriSLSDashDot: "dash-dot", esriSLSDashDotDot: "long-dash-dot-dot", esriSLSNull: "none", esriSLSInsideFrame: "inside-frame", esriSLSShortDash: "short-dash", esriSLSShortDot: "short-dot", esriSLSShortDashDot: "short-dash-dot", esriSLSShortDashDotDot: "short-dash-dot-dot", esriSLSLongDash: "long-dash", esriSLSLongDashDot: "long-dash-dot" }); var d3 = p2 = class extends c2 { constructor(...r8) { super(...r8), this.type = "simple-line", this.style = "solid", this.cap = "round", this.join = "round", this.marker = null, this.miterLimit = 2; } normalizeCtorArgs(r8, o8, e7, s8, i9, n17) { if (r8 && typeof r8 != "string") return r8; const l23 = {}; return r8 != null && (l23.style = r8), o8 != null && (l23.color = o8), e7 != null && (l23.width = o3(e7)), s8 != null && (l23.cap = s8), i9 != null && (l23.join = i9), n17 != null && (l23.miterLimit = o3(n17)), l23; } clone() { return new p2({ color: m(this.color), style: this.style, width: this.width, cap: this.cap, join: this.join, miterLimit: this.miterLimit, marker: this.marker?.clone() }); } hash() { return `${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`; } }; e([r3({ esriSLS: "simple-line" }, { readOnly: true })], d3.prototype, "type", void 0), e([d({ type: h.apiValues, json: { read: h.read, write: h.write } })], d3.prototype, "style", void 0), e([d({ type: ["butt", "round", "square"], json: { write: { overridePolicy: (r8, o8, e7) => ({ enabled: r8 !== "round" && (e7 == null || e7.origin == null) }) } } })], d3.prototype, "cap", void 0), e([d({ type: ["miter", "round", "bevel"], json: { write: { overridePolicy: (r8, o8, e7) => ({ enabled: r8 !== "round" && (e7 == null || e7.origin == null) }) } } })], d3.prototype, "join", void 0), e([d({ types: { key: "type", base: null, defaultKeyValue: "line-marker", typeMap: { "line-marker": u2 } }, json: { write: true, origins: { "web-scene": { write: false } } } })], d3.prototype, "marker", void 0), e([d({ type: Number, json: { read: false, write: false } })], d3.prototype, "miterLimit", void 0), d3 = p2 = e([n("esri.symbols.SimpleLineSymbol")], d3); var m4 = d3; // node_modules/@arcgis/core/symbols/support/IconSymbol3DLayerResource.js var l4; var d4 = o2()({ circle: "circle", square: "square", cross: "cross", x: "x", kite: "kite", triangle: "triangle" }); var h2 = l4 = class extends l { constructor(r8) { super(r8); } readHref(r8, e7, o8) { return r8 ? i(r8, o8) : e7.dataURI; } writeHref(r8, e7, o8, c20) { r8 && (X(r8) ? e7.dataURI = r8 : (e7.href = c(r8, c20), K(e7.href) && (e7.href = F(e7.href)))); } clone() { return new l4({ href: this.href, primitive: this.primitive }); } }; e([d({ type: String, json: { write: true, read: { source: ["href", "dataURI"] } } })], h2.prototype, "href", void 0), e([o("href")], h2.prototype, "readHref", null), e([r2("href", { href: { type: String }, dataURI: { type: String } })], h2.prototype, "writeHref", null), e([r3(d4)], h2.prototype, "primitive", void 0), h2 = l4 = e([n("esri.symbols.support.IconSymbol3DLayerResource")], h2); var j2 = "circle"; // node_modules/@arcgis/core/symbols/support/ObjectSymbol3DLayerResource.js var n6; var a4 = o2()({ sphere: "sphere", cylinder: "cylinder", cube: "cube", cone: "cone", diamond: "diamond", tetrahedron: "tetrahedron", invertedCone: "inverted-cone" }); var m5 = n6 = class extends l { clone() { return new n6({ href: this.href, primitive: this.primitive }); } }; e([d({ type: String, json: { read: m2, write: p } })], m5.prototype, "href", void 0), e([r3(a4)], m5.prototype, "primitive", void 0), m5 = n6 = e([n("esri.symbols.support.ObjectSymbol3DLayerResource")], m5); var d5 = "sphere"; // node_modules/@arcgis/core/symbols/support/StyleOrigin.js var p3; var a5 = p3 = class extends y { constructor() { super(...arguments), this.portal = null; } clone() { return new p3({ name: this.name, styleUrl: this.styleUrl, styleName: this.styleName, portal: this.portal }); } }; e([d({ type: String })], a5.prototype, "name", void 0), e([d({ type: String })], a5.prototype, "styleUrl", void 0), e([d({ type: String })], a5.prototype, "styleName", void 0), e([d({ type: B })], a5.prototype, "portal", void 0), a5 = p3 = e([n("esri.symbols.support.StyleOrigin")], a5); var l5 = a5; // node_modules/@arcgis/core/symbols/support/Thumbnail.js var t4; var p4 = t4 = class extends y { clone() { return new t4({ url: this.url }); } }; e([d({ type: String })], p4.prototype, "url", void 0), p4 = t4 = e([n("esri.symbols.support.Thumbnail")], p4); // node_modules/@arcgis/core/symbols/MarkerSymbol.js var p5 = class extends a2 { constructor(t13) { super(t13), this.angle = 0, this.type = null, this.xoffset = 0, this.yoffset = 0, this.size = 9; } hash() { return `${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`; } }; e([d({ type: Number, json: { read: (t13) => t13 && -1 * t13, write: (t13, e7) => e7.angle = t13 && -1 * t13 } })], p5.prototype, "angle", void 0), e([d({ type: ["simple-marker", "picture-marker"], readOnly: true })], p5.prototype, "type", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], p5.prototype, "xoffset", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], p5.prototype, "yoffset", void 0), e([d({ type: Number, cast: (t13) => t13 === "auto" ? t13 : o3(t13), json: { write: true } })], p5.prototype, "size", void 0), p5 = e([n("esri.symbols.MarkerSymbol")], p5); var i4 = p5; // node_modules/@arcgis/core/symbols/support/urlUtils.js function s5(a17, r8, t13) { return r8.imageData ? et({ mediaType: r8.contentType || "image/png", isBase64: true, data: r8.imageData }) : l6(r8.url, t13); } function l6(e7, t13) { return p6(t13) && !K(e7) && t13.layer.parsedUrl ? G(t13.layer.parsedUrl.path, "images", e7) : i(e7, t13); } function u3(e7, a17, r8, n17) { if (X(e7)) { const t13 = nt(e7); a17.contentType = t13.mediaType, a17.imageData = t13.data, r8 && r8.imageData === a17.imageData && r8.url && p(r8.url, a17, "url", n17); } else p(e7, a17, "url", n17); } var m6 = { json: { read: { source: ["imageData", "url"], reader: s5 }, write: { writer(e7, a17, r8, t13) { u3(e7, a17, this.source, t13); } } } }; var c3 = { readOnly: true, json: { read: { source: ["imageData", "url"], reader(e7, a17, r8) { const t13 = {}; return a17.imageData && (t13.imageData = a17.imageData), a17.contentType && (t13.contentType = a17.contentType), a17.url && (t13.url = l6(a17.url, r8)), t13; } } } }; function p6(e7) { return e7 && (e7.origin === "service" || e7.origin === "portal-item") && e7.layer && (e7.layer.type === "feature" || e7.layer.type === "stream"); } // node_modules/@arcgis/core/symbols/PictureMarkerSymbol.js var l7; var a6 = l7 = class extends i4 { constructor(...r8) { super(...r8), this.color = null, this.type = "picture-marker", this.url = null, this.source = null, this.height = 12, this.width = 12, this.size = null; } normalizeCtorArgs(r8, t13, o8) { if (r8 && typeof r8 != "string" && r8.imageData == null) return r8; const s8 = {}; return r8 && (s8.url = r8), t13 != null && (s8.width = o3(t13)), o8 != null && (s8.height = o3(o8)), s8; } readHeight(r8, t13) { return t13.size || r8; } readWidth(r8, t13) { return t13.size || r8; } clone() { const r8 = new l7({ angle: this.angle, height: this.height, url: this.url, width: this.width, xoffset: this.xoffset, yoffset: this.yoffset }); return r8._set("source", m(this.source)), r8; } hash() { return `${super.hash()}.${this.height}.${this.url}.${this.width}`; } }; e([d({ json: { write: false } })], a6.prototype, "color", void 0), e([r3({ esriPMS: "picture-marker" }, { readOnly: true })], a6.prototype, "type", void 0), e([d(m6)], a6.prototype, "url", void 0), e([d(c3)], a6.prototype, "source", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], a6.prototype, "height", void 0), e([o("height", ["height", "size"])], a6.prototype, "readHeight", null), e([d({ type: Number, cast: o3, json: { write: true } })], a6.prototype, "width", void 0), e([d({ json: { write: false } })], a6.prototype, "size", void 0), a6 = l7 = e([n("esri.symbols.PictureMarkerSymbol")], a6); var n7 = a6; // node_modules/@arcgis/core/symbols/FillSymbol.js var l8 = class extends a2 { constructor(e7) { super(e7), this.outline = null, this.type = null; } hash() { return `${this.type}.${this.outline && this.outline.hash()}`; } }; e([d({ types: { key: "type", base: null, defaultKeyValue: "simple-line", typeMap: { "simple-line": m4 } }, json: { default: null, write: true } })], l8.prototype, "outline", void 0), e([d({ type: ["simple-fill", "picture-fill"], readOnly: true })], l8.prototype, "type", void 0), l8 = e([n("esri.symbols.FillSymbol")], l8); var p7 = l8; // node_modules/@arcgis/core/symbols/SimpleFillSymbol.js var p8; var c4 = new s4({ esriSFSSolid: "solid", esriSFSNull: "none", esriSFSHorizontal: "horizontal", esriSFSVertical: "vertical", esriSFSForwardDiagonal: "forward-diagonal", esriSFSBackwardDiagonal: "backward-diagonal", esriSFSCross: "cross", esriSFSDiagonalCross: "diagonal-cross" }); var m7 = p8 = class extends p7 { constructor(...o8) { super(...o8), this.color = new l2([0, 0, 0, 0.25]), this.outline = new m4(), this.type = "simple-fill", this.style = "solid"; } normalizeCtorArgs(o8, r8, s8) { if (o8 && typeof o8 != "string") return o8; const e7 = {}; return o8 && (e7.style = o8), r8 && (e7.outline = r8), s8 && (e7.color = s8), e7; } clone() { return new p8({ color: m(this.color), outline: this.outline && this.outline.clone(), style: this.style }); } hash() { return `${super.hash()}${this.style}.${this.color && this.color.hash()}`; } }; e([d()], m7.prototype, "color", void 0), e([d()], m7.prototype, "outline", void 0), e([r3({ esriSFS: "simple-fill" }, { readOnly: true })], m7.prototype, "type", void 0), e([d({ type: c4.apiValues, json: { read: c4.read, write: c4.write } })], m7.prototype, "style", void 0), m7 = p8 = e([n("esri.symbols.SimpleFillSymbol")], m7); var S2 = m7; // node_modules/@arcgis/core/symbols/SimpleMarkerSymbol.js var h3; var m8 = new s4({ esriSMSCircle: "circle", esriSMSSquare: "square", esriSMSCross: "cross", esriSMSX: "x", esriSMSDiamond: "diamond", esriSMSTriangle: "triangle", esriSMSPath: "path" }); var u4 = h3 = class extends i4 { constructor(...e7) { super(...e7), this.color = new l2([255, 255, 255, 0.25]), this.type = "simple-marker", this.size = 12, this.style = "circle", this.outline = new m4(); } normalizeCtorArgs(e7, o8, r8, t13) { if (e7 && typeof e7 != "string") return e7; const i9 = {}; return e7 && (i9.style = e7), o8 != null && (i9.size = o3(o8)), r8 && (i9.outline = r8), t13 && (i9.color = t13), i9; } writeColor(e7, o8) { e7 && this.style !== "x" && this.style !== "cross" && (o8.color = e7.toJSON()), e7 === null && (o8.color = null); } set path(e7) { this.style = "path", this._set("path", e7); } clone() { return new h3({ angle: this.angle, color: m(this.color), outline: this.outline && this.outline.clone(), path: this.path, size: this.size, style: this.style, xoffset: this.xoffset, yoffset: this.yoffset }); } hash() { return `${super.hash()}.${this.color && this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`; } }; e([d()], u4.prototype, "color", void 0), e([r2("color")], u4.prototype, "writeColor", null), e([r3({ esriSMS: "simple-marker" }, { readOnly: true })], u4.prototype, "type", void 0), e([d()], u4.prototype, "size", void 0), e([d({ type: m8.apiValues, json: { read: m8.read, write: m8.write } })], u4.prototype, "style", void 0), e([d({ type: String, json: { write: true } })], u4.prototype, "path", null), e([d({ types: { key: "type", base: null, defaultKeyValue: "simple-line", typeMap: { "simple-line": m4 } }, json: { default: null, write: true } })], u4.prototype, "outline", void 0), u4 = h3 = e([n("esri.symbols.SimpleMarkerSymbol")], u4); var y2 = u4; // node_modules/@arcgis/core/symbols/support/textUtils.js var l9 = ["none", "underline", "line-through"]; var t5 = ["normal", "italic", "oblique"]; var r5 = ["normal", "lighter", "bold", "bolder"]; var n8 = { type: Number, cast: (l23) => { const t13 = a(l23); return t13 === 0 ? 1 : o4(t13, 0.1, 4); }, nonNullable: true }; var i5 = ["left", "right", "center"]; var a7 = ["baseline", "top", "middle", "bottom"]; var m9 = { type: i5, nonNullable: true }; var p9 = { type: a7, nonNullable: true }; // node_modules/@arcgis/core/symbols/Font.js var n9; var l10 = n9 = class extends l { constructor(t13) { super(t13), this.decoration = "none", this.family = "sans-serif", this.size = 9, this.style = "normal", this.weight = "normal"; } castSize(t13) { return o3(t13); } clone() { return new n9({ decoration: this.decoration, family: this.family, size: this.size, style: this.style, weight: this.weight }); } hash() { return `${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`; } }; e([d({ type: l9, json: { default: "none", write: true } })], l10.prototype, "decoration", void 0), e([d({ type: String, json: { write: true } })], l10.prototype, "family", void 0), e([d({ type: Number, json: { write: { overridePolicy: (t13, o8, e7) => ({ enabled: !e7 || !e7.textSymbol3D }) } } })], l10.prototype, "size", void 0), e([s3("size")], l10.prototype, "castSize", null), e([d({ type: t5, json: { default: "normal", write: true } })], l10.prototype, "style", void 0), e([d({ type: r5, json: { default: "normal", write: true } })], l10.prototype, "weight", void 0), l10 = n9 = e([n("esri.symbols.Font")], l10); var m10 = l10; // node_modules/@arcgis/core/symbols/TextSymbol.js var f2; var g = f2 = class extends a2 { constructor(...t13) { super(...t13), this.backgroundColor = null, this.borderLineColor = null, this.borderLineSize = null, this.font = new m10(), this.horizontalAlignment = "center", this.kerning = true, this.haloColor = null, this.haloSize = null, this.rightToLeft = null, this.rotated = false, this.text = "", this.type = "text", this.verticalAlignment = "baseline", this.xoffset = 0, this.yoffset = 0, this.angle = 0, this.width = null, this.lineWidth = 192, this.lineHeight = 1; } normalizeCtorArgs(t13, o8, e7) { if (t13 && typeof t13 != "string") return t13; const i9 = {}; return t13 && (i9.text = t13), o8 && (i9.font = o8), e7 && (i9.color = e7), i9; } writeLineWidth(t13, o8, e7, i9) { i9 && typeof i9 != "string" ? i9.origin : o8[e7] = t13; } castLineWidth(t13) { return o3(t13); } writeLineHeight(t13, o8, e7, i9) { i9 && typeof i9 != "string" ? i9.origin : o8[e7] = t13; } clone() { return new f2({ angle: this.angle, backgroundColor: m(this.backgroundColor), borderLineColor: m(this.borderLineColor), borderLineSize: this.borderLineSize, color: m(this.color), font: this.font && this.font.clone(), haloColor: m(this.haloColor), haloSize: this.haloSize, horizontalAlignment: this.horizontalAlignment, kerning: this.kerning, lineHeight: this.lineHeight, lineWidth: this.lineWidth, rightToLeft: this.rightToLeft, rotated: this.rotated, text: this.text, verticalAlignment: this.verticalAlignment, width: this.width, xoffset: this.xoffset, yoffset: this.yoffset }); } hash() { return `${this.backgroundColor && this.backgroundColor.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color.hash()}.${this.font && this.font.hash()}.${this.haloColor && this.haloColor.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`; } }; e([d({ type: l2, json: { write: true } })], g.prototype, "backgroundColor", void 0), e([d({ type: l2, json: { write: true } })], g.prototype, "borderLineColor", void 0), e([d({ type: Number, json: { write: true } })], g.prototype, "borderLineSize", void 0), e([d({ type: m10, json: { write: true } })], g.prototype, "font", void 0), e([d({ ...m9, json: { write: true } })], g.prototype, "horizontalAlignment", void 0), e([d({ type: Boolean, json: { write: true } })], g.prototype, "kerning", void 0), e([d({ type: l2, json: { write: true } })], g.prototype, "haloColor", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], g.prototype, "haloSize", void 0), e([d({ type: Boolean, json: { write: true } })], g.prototype, "rightToLeft", void 0), e([d({ type: Boolean, json: { write: true } })], g.prototype, "rotated", void 0), e([d({ type: String, json: { write: true } })], g.prototype, "text", void 0), e([r3({ esriTS: "text" }, { readOnly: true })], g.prototype, "type", void 0), e([d({ ...p9, json: { write: true } })], g.prototype, "verticalAlignment", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], g.prototype, "xoffset", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], g.prototype, "yoffset", void 0), e([d({ type: Number, json: { read: (t13) => t13 && -1 * t13, write: (t13, o8) => o8.angle = t13 && -1 * t13 } })], g.prototype, "angle", void 0), e([d({ type: Number, json: { write: true } })], g.prototype, "width", void 0), e([d({ type: Number })], g.prototype, "lineWidth", void 0), e([r2("lineWidth")], g.prototype, "writeLineWidth", null), e([s3("lineWidth")], g.prototype, "castLineWidth", null), e([d(n8)], g.prototype, "lineHeight", void 0), e([r2("lineHeight")], g.prototype, "writeLineHeight", null), g = f2 = e([n("esri.symbols.TextSymbol")], g); var m11 = g; // node_modules/@arcgis/core/symbols/Symbol3DLayer.js var p10 = class extends l { constructor(e7) { super(e7), this.enabled = true, this.type = null; } writeEnabled(e7, r8, o8) { e7 || (r8[o8] = e7); } }; e([d({ type: Boolean, json: { read: { source: "enable" }, write: { target: "enable" } } })], p10.prototype, "enabled", void 0), e([r2("enabled")], p10.prototype, "writeEnabled", null), e([d({ type: ["icon", "object", "line", "path", "fill", "water", "extrude", "text"], readOnly: true })], p10.prototype, "type", void 0), p10 = e([n("esri.symbols.Symbol3DLayer")], p10); var a8 = p10; // node_modules/@arcgis/core/symbols/support/materialUtils.js function s6(o8, t13) { const n17 = t13.transparency != null ? r4(t13.transparency) : 1, s8 = t13.color; return s8 && Array.isArray(s8) ? new l2([s8[0] || 0, s8[1] || 0, s8[2] || 0, n17]) : null; } function c5(r8, o8) { o8.color = r8.toJSON().slice(0, 3); const t13 = n3(r8.a); t13 !== 0 && (o8.transparency = t13); } var p11 = { type: l2, json: { type: [S], default: null, read: { source: ["color", "transparency"], reader: s6 }, write: { target: { color: { type: [S] }, transparency: { type: S } }, writer: c5 } } }; var a9 = { type: Number, cast: o3, json: { write: true } }; // node_modules/@arcgis/core/symbols/edges/Edges3D.js var l11 = class extends l { constructor(o8) { super(o8), this.color = new l2([0, 0, 0, 1]), this.extensionLength = 0, this.size = e2(1); } clone() { } cloneProperties() { return { color: m(this.color), size: this.size, extensionLength: this.extensionLength }; } }; e([d({ type: ["solid", "sketch"], readOnly: true, json: { read: true, write: { ignoreOrigin: true } } })], l11.prototype, "type", void 0), e([d(p11)], l11.prototype, "color", void 0), e([d({ ...a9, json: { write: { overridePolicy: (o8) => ({ enabled: !!o8 }) } } })], l11.prototype, "extensionLength", void 0), e([d(a9)], l11.prototype, "size", void 0), l11 = e([n("esri.symbols.edges.Edges3D")], l11); var m12 = l11; // node_modules/@arcgis/core/symbols/edges/SketchEdges3D.js var t6; var c6 = t6 = class extends m12 { constructor(r8) { super(r8), this.type = "sketch"; } clone() { return new t6(this.cloneProperties()); } }; e([r3({ sketch: "sketch" }, { readOnly: true })], c6.prototype, "type", void 0), c6 = t6 = e([n("esri.symbols.edges.SketchEdges3D")], c6); var p12 = c6; // node_modules/@arcgis/core/symbols/edges/SolidEdges3D.js var t7; var p13 = t7 = class extends m12 { constructor(o8) { super(o8), this.type = "solid"; } clone() { return new t7(this.cloneProperties()); } }; e([r3({ solid: "solid" }, { readOnly: true })], p13.prototype, "type", void 0), p13 = t7 = e([n("esri.symbols.support.SolidEdges3D")], p13); var c7 = p13; // node_modules/@arcgis/core/symbols/edges/utils.js var t8 = { types: { key: "type", base: m12, typeMap: { solid: c7, sketch: p12 } }, json: { write: true } }; // node_modules/@arcgis/core/symbols/support/Symbol3DMaterial.js var p14; var l12 = p14 = class extends l { constructor(o8) { super(o8), this.color = null; } clone() { const o8 = { color: r(this.color) ? this.color.clone() : null }; return new p14(o8); } }; e([d(p11)], l12.prototype, "color", void 0), l12 = p14 = e([n("esri.symbols.support.Symbol3DMaterial")], l12); // node_modules/@arcgis/core/symbols/ExtrudeSymbol3DLayer.js var l13; var c8 = l13 = class extends a8 { constructor(e7) { super(e7), this.type = "extrude", this.size = 1, this.material = null, this.castShadows = true, this.edges = null; } clone() { return new l13({ edges: this.edges && this.edges.clone(), enabled: this.enabled, material: r(this.material) ? this.material.clone() : null, castShadows: this.castShadows, size: this.size }); } }; e([r3({ Extrude: "extrude" }, { readOnly: true })], c8.prototype, "type", void 0), e([d({ type: Number, json: { write: { enabled: true, isRequired: true } }, nonNullable: true })], c8.prototype, "size", void 0), e([d({ type: l12, json: { write: true } })], c8.prototype, "material", void 0), e([d({ type: Boolean, nonNullable: true, json: { write: true, default: true } })], c8.prototype, "castShadows", void 0), e([d(t8)], c8.prototype, "edges", void 0), c8 = l13 = e([n("esri.symbols.ExtrudeSymbol3DLayer")], c8); var m13 = c8; // node_modules/@arcgis/core/symbols/patterns/LinePattern3D.js var t9 = class extends l { constructor(r8) { super(r8); } clone() { } }; e([d({ type: ["style"], readOnly: true, json: { read: true, write: { ignoreOrigin: true } } })], t9.prototype, "type", void 0), t9 = e([n("esri.symbols.patterns.LinePattern3D")], t9); var p15 = t9; // node_modules/@arcgis/core/symbols/patterns/lineStyles.js var o5 = ["dash", "dash-dot", "dot", "long-dash", "long-dash-dot", "long-dash-dot-dot", "none", "short-dash", "short-dash-dot", "short-dash-dot-dot", "short-dot", "solid"]; // node_modules/@arcgis/core/symbols/patterns/LineStylePattern3D.js var p16; var h4 = o2()({ dash: "dash", "dash-dot": "dash-dot", "dash-dot-dot": "long-dash-dot-dot", dot: "dot", "long-dash": "long-dash", "long-dash-dot": "long-dash-dot", null: "none", "short-dash": "short-dash", "short-dash-dot": "short-dash-dot", "short-dash-dot-dot": "short-dash-dot-dot", "short-dot": "short-dot", solid: "solid" }); var c9 = p16 = class extends p15 { constructor(o8) { super(o8), this.type = "style", this.style = "solid"; } clone() { const o8 = { style: this.style }; return new p16(o8); } }; e([d({ type: ["style"] })], c9.prototype, "type", void 0), e([r3(h4), d({ type: o5 })], c9.prototype, "style", void 0), c9 = p16 = e([n("esri.symbols.patterns.LineStylePattern3D")], c9); var l14 = c9; // node_modules/@arcgis/core/symbols/patterns/Pattern3D.js var t10 = class extends l { constructor(r8) { super(r8); } clone() { } }; e([d({ type: ["style"], readOnly: true, json: { read: true, write: { ignoreOrigin: true } } })], t10.prototype, "type", void 0), t10 = e([n("esri.symbols.patterns.Pattern3D")], t10); var p17 = t10; // node_modules/@arcgis/core/symbols/patterns/styles.js var a10 = ["backward-diagonal", "cross", "diagonal-cross", "forward-diagonal", "horizontal", "none", "solid", "vertical"]; // node_modules/@arcgis/core/symbols/patterns/StylePattern3D.js var p18; var c10 = p18 = class extends p17 { constructor(s8) { super(s8), this.type = "style", this.style = "solid"; } clone() { const s8 = { style: this.style }; return new p18(s8); } }; e([d({ type: ["style"] })], c10.prototype, "type", void 0), e([d({ type: a10, json: { read: true, write: true } })], c10.prototype, "style", void 0), c10 = p18 = e([n("esri.symbols.patterns.StylePattern3D")], c10); var a11 = c10; // node_modules/@arcgis/core/symbols/patterns/utils.js var s7 = { types: { key: "type", base: p17, typeMap: { style: a11 } }, json: { write: true } }; var o6 = { types: { key: "type", base: p15, typeMap: { style: l14 } }, json: { write: true } }; // node_modules/@arcgis/core/symbols/support/colors.js var o7 = new l2("white"); var r6 = new l2("black"); var e4 = new l2([255, 255, 255, 0]); function t11(n17) { return n17.r === 0 && n17.g === 0 && n17.b === 0; } // node_modules/@arcgis/core/symbols/support/Symbol3DFillMaterial.js var c11; var l15 = c11 = class extends l12 { constructor(o8) { super(o8), this.colorMixMode = null; } clone() { const o8 = { color: r(this.color) ? this.color.clone() : null, colorMixMode: this.colorMixMode }; return new c11(o8); } }; e([r3({ multiply: "multiply", replace: "replace", tint: "tint" })], l15.prototype, "colorMixMode", void 0), l15 = c11 = e([n("esri.symbols.support.Symbol3DFillMaterial")], l15); // node_modules/@arcgis/core/symbols/support/Symbol3DOutline.js var m14; var u5 = m14 = class extends l { constructor(r8) { super(r8), this.color = new l2([0, 0, 0, 1]), this.size = e2(1), this.pattern = null, this.patternCap = "butt"; } clone() { const r8 = { color: r(this.color) ? this.color.clone() : null, size: this.size, pattern: r(this.pattern) ? this.pattern.clone() : null, patternCap: this.patternCap }; return new m14(r8); } }; e([d(p11)], u5.prototype, "color", void 0), e([d(a9)], u5.prototype, "size", void 0), e([d(o6)], u5.prototype, "pattern", void 0), e([d({ type: u, json: { default: "butt", write: { overridePolicy() { return { enabled: r(this.pattern) }; } } } })], u5.prototype, "patternCap", void 0), u5 = m14 = e([n("esri.symbols.support.Symbol3DOutline")], u5); // node_modules/@arcgis/core/symbols/FillSymbol3DLayer.js var d6; var h5 = d6 = class extends a8 { constructor(t13) { super(t13), this.type = "fill", this.material = null, this.pattern = null, this.castShadows = true, this.outline = null, this.edges = null; } clone() { const t13 = { edges: r(this.edges) ? this.edges.clone() : null, enabled: this.enabled, material: r(this.material) ? this.material.clone() : null, pattern: r(this.pattern) ? this.pattern.clone() : null, castShadows: this.castShadows, outline: r(this.outline) ? this.outline.clone() : null }; return new d6(t13); } static fromSimpleFillSymbol(t13) { const e7 = t13.outline && t13.outline.style && t13.outline.style !== "inside-frame" && t13.outline.style !== "solid" ? new l14({ style: t13.outline.style }) : null, o8 = { size: t13.outline?.width ?? 0, color: (t13.outline?.color ?? o7).clone(), pattern: e7 }; return e7 && t13.outline?.cap && (o8.patternCap = t13.outline.cap), new d6({ material: new l15({ color: (t13.color ?? e4).clone() }), pattern: t13.style && t13.style !== "solid" ? new a11({ style: t13.style }) : null, outline: o8 }); } }; e([r3({ Fill: "fill" }, { readOnly: true })], h5.prototype, "type", void 0), e([d({ type: l15, json: { write: true } })], h5.prototype, "material", void 0), e([d(s7)], h5.prototype, "pattern", void 0), e([d({ type: Boolean, nonNullable: true, json: { write: true, default: true } })], h5.prototype, "castShadows", void 0), e([d({ type: u5, json: { write: true } })], h5.prototype, "outline", void 0), e([d(t8)], h5.prototype, "edges", void 0), h5 = d6 = e([n("esri.symbols.FillSymbol3DLayer")], h5); var f3 = h5; // node_modules/@arcgis/core/symbols/support/Symbol3DAnchorPosition2D.js var e5; var p19 = e5 = class extends y { constructor() { super(...arguments), this.x = 0, this.y = 0; } clone() { return new e5({ x: this.x, y: this.y }); } }; e([d({ type: Number })], p19.prototype, "x", void 0), e([d({ type: Number })], p19.prototype, "y", void 0), p19 = e5 = e([n("esri.symbols.support.Symbol3DAnchorPosition2D")], p19); // node_modules/@arcgis/core/symbols/support/Symbol3DIconOutline.js var l16; var a12 = l16 = class extends l { constructor(o8) { super(o8), this.color = new l2([0, 0, 0, 1]), this.size = e2(1); } clone() { const o8 = { color: r(this.color) ? this.color.clone() : null, size: this.size }; return new l16(o8); } }; e([d(p11)], a12.prototype, "color", void 0), e([d(a9)], a12.prototype, "size", void 0), a12 = l16 = e([n("esri.symbols.support.Symbol3DIconOutline")], a12); // node_modules/@arcgis/core/symbols/IconSymbol3DLayer.js var d7; var f4 = s.getLogger("esri.symbols.IconSymbol3DLayer"); var b = d7 = class extends a8 { constructor(o8) { super(o8), this.material = null, this.resource = null, this.type = "icon", this.size = 12, this.anchor = "center", this.anchorPosition = void 0, this.outline = void 0; } clone() { return new d7({ anchor: this.anchor, anchorPosition: this.anchorPosition && this.anchorPosition.clone(), enabled: this.enabled, material: r(this.material) ? this.material.clone() : null, outline: r(this.outline) ? this.outline.clone() : null, resource: this.resource && this.resource.clone(), size: this.size }); } static fromSimpleMarkerSymbol(o8) { const t13 = o8.color || o7, r8 = j3(o8), e7 = o8.outline && o8.outline.width > 0 ? { size: o8.outline.width, color: (o8.outline.color || o7).clone() } : null; return new d7({ size: o8.size, resource: { primitive: w(o8.style) }, material: { color: t13 }, outline: e7, anchor: r8 ? "relative" : void 0, anchorPosition: r8 }); } static fromPictureMarkerSymbol(o8) { const t13 = !o8.color || t11(o8.color) ? o7 : o8.color, r8 = j3(o8); return new d7({ size: o8.width <= o8.height ? o8.height : o8.width, resource: { href: o8.url }, material: { color: t13.clone() }, anchor: r8 ? "relative" : void 0, anchorPosition: r8 }); } static fromCIMSymbol(o8) { return new d7({ resource: { href: et({ mediaType: "application/json", data: JSON.stringify(o8.data) }) } }); } }; function j3(o8) { const t13 = "width" in o8 ? o8.width : o8.size, r8 = "height" in o8 ? o8.height : o8.size, e7 = v(o8.xoffset), i9 = v(o8.yoffset); return (e7 || i9) && t13 && r8 ? { x: -e7 / t13, y: i9 / r8 } : null; } function v(o8) { return isFinite(o8) ? o8 : 0; } e([d({ type: l12, json: { write: true } })], b.prototype, "material", void 0), e([d({ type: h2, json: { write: true } })], b.prototype, "resource", void 0), e([r3({ Icon: "icon" }, { readOnly: true })], b.prototype, "type", void 0), e([d(a9)], b.prototype, "size", void 0), e([r3({ center: "center", left: "left", right: "right", top: "top", bottom: "bottom", topLeft: "top-left", topRight: "top-right", bottomLeft: "bottom-left", bottomRight: "bottom-right", relative: "relative" }), d({ json: { default: "center" } })], b.prototype, "anchor", void 0), e([d({ type: p19, json: { type: [Number], read: { reader: (o8) => new p19({ x: o8[0], y: o8[1] }) }, write: { writer: (o8, t13) => { t13.anchorPosition = [o8.x, o8.y]; }, overridePolicy() { return { enabled: this.anchor === "relative" }; } } } })], b.prototype, "anchorPosition", void 0), e([d({ type: a12, json: { write: true } })], b.prototype, "outline", void 0), b = d7 = e([n("esri.symbols.IconSymbol3DLayer")], b); var g2 = { circle: "circle", cross: "cross", diamond: "kite", square: "square", x: "x", triangle: "triangle", path: null }; function w(o8) { const t13 = g2[o8]; return t13 || (f4.warn(`${o8} cannot be mapped to Icon symbol. Fallback to "circle"`), "circle"); } var S3 = b; // node_modules/@arcgis/core/symbols/LineStyleMarker3D.js var n10 = class extends l3(l) { constructor(o8) { super(o8), this.type = "style", this.placement = "begin-end", this.style = "arrow", this.color = null; } equals(o8) { return r(o8) && o8.placement === this.placement && o8.style === this.style && (t(this.color) && t(o8.color) || r(this.color) && r(o8.color) && this.color.toJSON() === o8.color.toJSON()); } }; e([d({ type: ["style"], readOnly: true, json: { read: true, write: { ignoreOrigin: true } } })], n10.prototype, "type", void 0), e([d({ type: e3, json: { default: "begin-end", write: true } })], n10.prototype, "placement", void 0), e([d({ type: n4, json: { default: "arrow", write: true } })], n10.prototype, "style", void 0), e([d({ type: l2, json: { type: [S], default: null, write: true } })], n10.prototype, "color", void 0), n10 = e([n("esri.symbols.LineStyleMarker3D")], n10); var y3 = n10; // node_modules/@arcgis/core/symbols/LineSymbol3DLayer.js var d8; var h6 = d8 = class extends a8 { constructor(t13) { super(t13), this.material = null, this.type = "line", this.join = "miter", this.cap = "butt", this.size = e2(1), this.pattern = null, this.marker = null; } clone() { const t13 = { enabled: this.enabled, material: r(this.material) ? this.material.clone() : null, size: this.size, join: this.join, cap: this.cap, pattern: r(this.pattern) ? this.pattern.clone() : null, marker: r(this.marker) ? this.marker.clone() : null }; return new d8(t13); } static fromSimpleLineSymbol(t13) { const r8 = { enabled: true, size: t13.width ?? e2(1), cap: t13.cap || "butt", join: t13.join || "miter", pattern: t13.style && t13.style !== "inside-frame" ? new l14({ style: t13.style }) : null, material: new l12({ color: (t13.color || o7).clone() }), marker: t13.marker ? new y3({ placement: t13.marker.placement, style: t13.marker.style, color: t13.marker.color?.clone() ?? null }) : null }; return new d8(r8); } }; e([d({ type: l12, json: { write: true } })], h6.prototype, "material", void 0), e([r3({ Line: "line" }, { readOnly: true })], h6.prototype, "type", void 0), e([d({ type: a3, json: { write: true, default: "miter" } })], h6.prototype, "join", void 0), e([d({ type: u, json: { write: true, default: "butt" } })], h6.prototype, "cap", void 0), e([d(a9)], h6.prototype, "size", void 0), e([d(o6)], h6.prototype, "pattern", void 0), e([d({ types: { key: "type", base: y3, typeMap: { style: y3 } }, json: { write: true } })], h6.prototype, "marker", void 0), h6 = d8 = e([n("esri.symbols.LineSymbol3DLayer")], h6); var f5 = h6; // node_modules/@arcgis/core/symbols/support/Symbol3DAnchorPosition3D.js var e6; var p20 = e6 = class extends y { constructor() { super(...arguments), this.x = 0, this.y = 0, this.z = 0; } clone() { return new e6({ x: this.x, y: this.y, z: this.z }); } }; e([d({ type: Number })], p20.prototype, "x", void 0), e([d({ type: Number })], p20.prototype, "y", void 0), e([d({ type: Number })], p20.prototype, "z", void 0), p20 = e6 = e([n("esri.symbols.support.Symbol3DAnchorPosition3D")], p20); // node_modules/@arcgis/core/symbols/ObjectSymbol3DLayer.js var n11; var c12 = n11 = class extends a8 { constructor(o8) { super(o8), this.material = null, this.castShadows = true, this.resource = null, this.type = "object", this.width = void 0, this.height = void 0, this.depth = void 0, this.anchor = void 0, this.anchorPosition = void 0, this.heading = void 0, this.tilt = void 0, this.roll = void 0; } clone() { return new n11({ heading: this.heading, tilt: this.tilt, roll: this.roll, anchor: this.anchor, anchorPosition: this.anchorPosition && this.anchorPosition.clone(), depth: this.depth, enabled: this.enabled, height: this.height, material: r(this.material) ? this.material.clone() : null, castShadows: this.castShadows, resource: this.resource && this.resource.clone(), width: this.width }); } get isPrimitive() { return !this.resource || typeof this.resource.href != "string"; } }; e([d({ type: l12, json: { write: true } })], c12.prototype, "material", void 0), e([d({ type: Boolean, nonNullable: true, json: { write: true, default: true } })], c12.prototype, "castShadows", void 0), e([d({ type: m5, json: { write: true } })], c12.prototype, "resource", void 0), e([r3({ Object: "object" }, { readOnly: true })], c12.prototype, "type", void 0), e([d({ type: Number, json: { write: true } })], c12.prototype, "width", void 0), e([d({ type: Number, json: { write: true } })], c12.prototype, "height", void 0), e([d({ type: Number, json: { write: true } })], c12.prototype, "depth", void 0), e([r3({ center: "center", top: "top", bottom: "bottom", origin: "origin", relative: "relative" }), d({ json: { default: "origin" } })], c12.prototype, "anchor", void 0), e([d({ type: p20, json: { type: [Number], read: { reader: (o8) => new p20({ x: o8[0], y: o8[1], z: o8[2] }) }, write: { writer: (o8, t13) => { t13.anchorPosition = [o8.x, o8.y, o8.z]; }, overridePolicy() { return { enabled: this.anchor === "relative" }; } } } })], c12.prototype, "anchorPosition", void 0), e([d({ type: Number, json: { write: true } })], c12.prototype, "heading", void 0), e([d({ type: Number, json: { write: true } })], c12.prototype, "tilt", void 0), e([d({ type: Number, json: { write: true } })], c12.prototype, "roll", void 0), e([d({ readOnly: true })], c12.prototype, "isPrimitive", null), c12 = n11 = e([n("esri.symbols.ObjectSymbol3DLayer")], c12); var l17 = c12; // node_modules/@arcgis/core/symbols/PathSymbol3DLayer.js var n12; var d9 = n12 = class extends a8 { constructor(t13) { super(t13), this.material = null, this.castShadows = true, this.type = "path", this.profile = "circle", this.join = "miter", this.cap = "butt", this.width = void 0, this.height = void 0, this.anchor = "center", this.profileRotation = "all"; } readWidth(t13, e7) { return t13 != null ? t13 : e7.height == null && e7.size != null ? e7.size : void 0; } readHeight(t13, e7) { return t13 != null ? t13 : e7.width == null && e7.size != null ? e7.size : void 0; } clone() { return new n12({ enabled: this.enabled, material: r(this.material) ? this.material.clone() : null, castShadows: this.castShadows, profile: this.profile, join: this.join, cap: this.cap, width: this.width, height: this.height, profileRotation: this.profileRotation, anchor: this.anchor }); } }; e([d({ type: l12, json: { write: true } })], d9.prototype, "material", void 0), e([d({ type: Boolean, nonNullable: true, json: { write: true, default: true } })], d9.prototype, "castShadows", void 0), e([r3({ Path: "path" }, { readOnly: true })], d9.prototype, "type", void 0), e([d({ type: ["circle", "quad"], json: { write: true, default: "circle" } })], d9.prototype, "profile", void 0), e([d({ type: a3, json: { write: true, default: "miter" } })], d9.prototype, "join", void 0), e([d({ type: i2, json: { write: true, default: "butt" } })], d9.prototype, "cap", void 0), e([d({ type: Number, json: { write: { enabled: true, target: { width: { type: Number }, size: { type: Number } } } } })], d9.prototype, "width", void 0), e([o("width", ["width", "size", "height"])], d9.prototype, "readWidth", null), e([d({ type: Number, json: { write: true } })], d9.prototype, "height", void 0), e([o("height", ["height", "size", "width"])], d9.prototype, "readHeight", null), e([d({ type: ["center", "bottom", "top"], json: { write: true, default: "center" } })], d9.prototype, "anchor", void 0), e([d({ type: ["heading", "all"], json: { write: true, default: "all" } })], d9.prototype, "profileRotation", void 0), d9 = n12 = e([n("esri.symbols.PathSymbol3DLayer")], d9); var c13 = d9; // node_modules/@arcgis/core/symbols/support/Symbol3DHalo.js var m15; var l18 = m15 = class extends l { constructor() { super(...arguments), this.color = new l2([0, 0, 0, 1]), this.size = 0; } clone() { const o8 = { color: m(this.color), size: this.size }; return new m15(o8); } }; e([d(p11)], l18.prototype, "color", void 0), e([d(a9)], l18.prototype, "size", void 0), l18 = m15 = e([n("esri.symbols.support.Symbol3DHalo")], l18); // node_modules/@arcgis/core/symbols/support/Symbol3DTextBackground.js var c14 = class extends l3(l) { constructor(o8) { super(o8), this.color = null; } }; e([d(p11)], c14.prototype, "color", void 0), c14 = e([n("esri.symbols.support.Symbol3DTextBackground")], c14); // node_modules/@arcgis/core/symbols/TextSymbol3DLayer.js var g3; var d10 = g3 = class extends a8 { constructor(t13) { super(t13), this._userSize = void 0, this.halo = null, this.horizontalAlignment = "center", this.lineHeight = 1, this.material = null, this.background = null, this.text = null, this.type = "text", this.verticalAlignment = "baseline"; } get font() { return this._get("font") || null; } set font(t13) { r(t13) && r(this._userSize) && (t13.size = this._userSize), this._set("font", t13); } writeFont(t13, o8, e7, r8) { const i9 = { ...r8, textSymbol3D: true }; o8.font = t13.write({}, i9), delete o8.font.size; } get size() { return r(this._userSize) ? this._userSize : r(this.font) && this.font.size != null ? this.font.size : 9; } set size(t13) { this._userSize = t13, r(this.font) && (this.font.size = this._userSize), this.notifyChange("size"); } clone() { const t13 = new g3({ enabled: this.enabled, font: this.font && m(this.font), halo: this.halo && m(this.halo), horizontalAlignment: this.horizontalAlignment, lineHeight: this.lineHeight, material: r(this.material) ? this.material.clone() : null, text: this.text, verticalAlignment: this.verticalAlignment, background: m(this.background) }); return t13._userSize = this._userSize, t13; } static fromTextSymbol(t13) { return new g3({ font: r(t13.font) ? t13.font.clone() : new m10(), halo: z(t13.haloColor, t13.haloSize), horizontalAlignment: t13.horizontalAlignment, lineHeight: t13.lineHeight, material: t13.color ? new l12({ color: t13.color.clone() }) : null, text: t13.text, verticalAlignment: t13.verticalAlignment, background: t13.backgroundColor ? new c14({ color: t13.backgroundColor.clone() }) : null }); } }; function z(t13, e7) { return t13 && e7 > 0 ? new l18({ color: m(t13), size: e7 }) : null; } e([d({ type: m10, json: { write: true } })], d10.prototype, "font", null), e([r2("font")], d10.prototype, "writeFont", null), e([d({ type: l18, json: { write: true } })], d10.prototype, "halo", void 0), e([d({ ...m9, json: { default: "center", write: true } })], d10.prototype, "horizontalAlignment", void 0), e([d({ ...n8, json: { default: 1, write: true } })], d10.prototype, "lineHeight", void 0), e([d({ type: l12, json: { write: true } })], d10.prototype, "material", void 0), e([d({ type: c14, json: { write: true } })], d10.prototype, "background", void 0), e([d(a9)], d10.prototype, "size", null), e([d({ type: String, json: { write: true } })], d10.prototype, "text", void 0), e([r3({ Text: "text" }, { readOnly: true })], d10.prototype, "type", void 0), e([d({ ...p9, json: { default: "baseline", write: true } })], d10.prototype, "verticalAlignment", void 0), d10 = g3 = e([n("esri.symbols.TextSymbol3DLayer")], d10); var j4 = d10; // node_modules/@arcgis/core/symbols/WaterSymbol3DLayer.js var l19; var c15 = l19 = class extends a8 { constructor(e7) { super(e7), this.color = m16.clone(), this.type = "water", this.waterbodySize = "medium", this.waveDirection = null, this.waveStrength = "moderate"; } clone() { return new l19({ color: m(this.color), waterbodySize: this.waterbodySize, waveDirection: this.waveDirection, waveStrength: this.waveStrength }); } }; e([d({ type: l2, nonNullable: true, json: { type: [S], write: (e7, r8, t13) => r8[t13] = e7.toArray(l2.AlphaMode.UNLESS_OPAQUE), default: () => m16.clone(), defaultEquals: (e7) => e7.toCss(true) === m16.toCss(true) } })], c15.prototype, "color", void 0), e([r3({ Water: "water" }, { readOnly: true })], c15.prototype, "type", void 0), e([d({ type: ["small", "medium", "large"], json: { write: true, default: "medium" } })], c15.prototype, "waterbodySize", void 0), e([d({ type: Number, json: { write: true, default: null } })], c15.prototype, "waveDirection", void 0), e([d({ type: ["calm", "rippled", "slight", "moderate"], json: { write: true, default: "moderate" } })], c15.prototype, "waveStrength", void 0), c15 = l19 = e([n("esri.symbols.WaterSymbol3DLayer")], c15); var m16 = new l2([0, 119, 190]); var n13 = c15; // node_modules/@arcgis/core/symbols/Symbol3D.js var v2 = { icon: S3, object: l17, line: f5, path: c13, fill: f3, extrude: m13, text: j4, water: n13 }; var C = j.ofType({ base: a8, key: "type", typeMap: v2, errorContext: "symbol-layer" }); var T = s.getLogger("esri.symbols.Symbol3D"); var k = class extends a2 { constructor(e7) { super(e7), this.styleOrigin = null, this.thumbnail = null, this.type = null; const t13 = this.__accessor__ && this.__accessor__.metadatas && this.__accessor__.metadatas.symbolLayers, o8 = t13 && t13.type || j; this._set("symbolLayers", new o8()); } get color() { return null; } set color(e7) { this.initialized && T.error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead."); } set symbolLayers(e7) { n2(e7, this._get("symbolLayers")); } readStyleOrigin(e7, r8, t13) { if (e7.styleUrl && e7.name) { const r9 = i(e7.styleUrl, t13); return new l5({ styleUrl: r9, name: e7.name }); } if (e7.styleName && e7.name) return new l5({ portal: t13 && t13.portal || B.getDefault(), styleName: e7.styleName, name: e7.name }); t13 && t13.messages && t13.messages.push(new t2("symbol3d:incomplete-style-origin", "Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property", { context: t13, definition: e7 })); } writeStyleOrigin(e7, r8, t13, o8) { if (e7.styleUrl && e7.name) { let t14 = c(e7.styleUrl, o8); K(t14) && (t14 = F(t14)), r8.styleOrigin = { styleUrl: t14, name: e7.name }; } else e7.styleName && e7.name && (e7.portal && o8 && o8.portal && !N2(e7.portal.restUrl, o8.portal.restUrl) ? o8 && o8.messages && o8.messages.push(new t2("symbol:cross-portal", "The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.", { symbol: this })) : r8.styleOrigin = { styleName: e7.styleName, name: e7.name }); } normalizeCtorArgs(e7) { return e7 instanceof a8 || e7 && v2[e7.type] ? { symbolLayers: [e7] } : Array.isArray(e7) ? { symbolLayers: e7 } : e7; } }; e([d({ json: { read: false, write: false } })], k.prototype, "color", null), e([d({ type: C, nonNullable: true, json: { write: true } }), s3(t3)], k.prototype, "symbolLayers", null), e([d({ type: l5 })], k.prototype, "styleOrigin", void 0), e([o("styleOrigin")], k.prototype, "readStyleOrigin", null), e([r2("styleOrigin", { "styleOrigin.styleUrl": { type: String }, "styleOrigin.styleName": { type: String }, "styleOrigin.name": { type: String } })], k.prototype, "writeStyleOrigin", null), e([d({ type: p4, json: { read: false } })], k.prototype, "thumbnail", void 0), e([d({ type: ["point-3d", "line-3d", "polygon-3d", "mesh-3d", "label-3d"], readOnly: true })], k.prototype, "type", void 0), k = e([n("esri.symbols.Symbol3D")], k); var A = k; // node_modules/@arcgis/core/symbols/callouts/Callout3D.js var t12 = class extends l { constructor(r8) { super(r8), this.visible = true; } clone() { } }; e([d({ type: ["line"], readOnly: true, json: { read: false, write: { ignoreOrigin: true } } })], t12.prototype, "type", void 0), e([d({ readOnly: true })], t12.prototype, "visible", void 0), t12 = e([n("esri.symbols.callouts.Callout3D")], t12); var p21 = t12; // node_modules/@arcgis/core/chunks/LineCallout3DBorder.js var l20; var a13 = l20 = class extends l { constructor() { super(...arguments), this.color = new l2("white"); } clone() { return new l20({ color: m(this.color) }); } }; e([d(p11)], a13.prototype, "color", void 0), a13 = l20 = e([n("esri.symbols.callouts.LineCallout3DBorder")], a13); var i6 = a13; var m17 = Object.freeze(Object.defineProperty({ __proto__: null, default: i6 }, Symbol.toStringTag, { value: "Module" })); // node_modules/@arcgis/core/symbols/callouts/LineCallout3D.js var u6; var d11 = u6 = class extends p21 { constructor(o8) { super(o8), this.type = "line", this.color = new l2([0, 0, 0, 1]), this.size = e2(1), this.border = null; } get visible() { return this.size > 0 && r(this.color) && this.color.a > 0; } clone() { return new u6({ color: m(this.color), size: this.size, border: m(this.border) }); } }; e([r3({ line: "line" }, { readOnly: true })], d11.prototype, "type", void 0), e([d(p11)], d11.prototype, "color", void 0), e([d(a9)], d11.prototype, "size", void 0), e([d({ type: i6, json: { write: true } })], d11.prototype, "border", void 0), e([d({ readOnly: true })], d11.prototype, "visible", null), d11 = u6 = e([n("esri.symbols.callouts.LineCallout3D")], d11); var y4 = d11; // node_modules/@arcgis/core/symbols/callouts/calloutUtils.js function n14(t13) { if (!t13) return false; const e7 = t13.verticalOffset; return !!e7 && !(e7.screenLength <= 0 || e7.maxWorldLength <= 0); } function r7(t13) { if (!t13) return false; if (!t13.supportsCallout || !t13.supportsCallout()) return false; const e7 = t13.callout; return !!e7 && (!!e7.visible && !!n14(t13)); } var l21 = { types: { key: "type", base: p21, typeMap: { line: y4 } }, json: { write: true } }; // node_modules/@arcgis/core/symbols/support/Symbol3DVerticalOffset.js var p22; var i7 = p22 = class extends l { constructor() { super(...arguments), this.screenLength = 0, this.minWorldLength = 0; } clone() { return new p22({ screenLength: this.screenLength, minWorldLength: this.minWorldLength, maxWorldLength: this.maxWorldLength }); } }; e([d(a9)], i7.prototype, "screenLength", void 0), e([d({ type: Number, json: { write: true, default: 0 } })], i7.prototype, "minWorldLength", void 0), e([d({ type: Number, json: { write: true } })], i7.prototype, "maxWorldLength", void 0), i7 = p22 = e([n("esri.symbols.support.Symbol3DVerticalOffset")], i7); // node_modules/@arcgis/core/symbols/LabelSymbol3D.js var n15; var u7 = j.ofType({ base: null, key: "type", typeMap: { text: j4 } }); var f6 = n15 = class extends A { constructor(t13) { super(t13), this.verticalOffset = null, this.callout = null, this.styleOrigin = null, this.symbolLayers = new u7(), this.type = "label-3d"; } supportsCallout() { return true; } hasVisibleCallout() { return r7(this); } hasVisibleVerticalOffset() { return n14(this); } clone() { return new n15({ styleOrigin: m(this.styleOrigin), symbolLayers: m(this.symbolLayers), thumbnail: m(this.thumbnail), callout: m(this.callout), verticalOffset: m(this.verticalOffset) }); } static fromTextSymbol(t13) { return new n15({ symbolLayers: [j4.fromTextSymbol(t13)] }); } }; e([d({ type: i7, json: { write: true } })], f6.prototype, "verticalOffset", void 0), e([d(l21)], f6.prototype, "callout", void 0), e([d({ json: { read: false, write: false } })], f6.prototype, "styleOrigin", void 0), e([d({ type: u7 })], f6.prototype, "symbolLayers", void 0), e([r3({ LabelSymbol3D: "label-3d" }, { readOnly: true })], f6.prototype, "type", void 0), f6 = n15 = e([n("esri.symbols.LabelSymbol3D")], f6); var b2 = f6; // node_modules/@arcgis/core/symbols/LineSymbol3D.js var l22; var a14 = j.ofType({ base: null, key: "type", typeMap: { line: f5, path: c13 } }); var n16 = j.ofType({ base: null, key: "type", typeMap: { line: f5, path: c13 } }); var c16 = l22 = class extends A { constructor(o8) { super(o8), this.symbolLayers = new a14(), this.type = "line-3d"; } clone() { return new l22({ styleOrigin: m(this.styleOrigin), symbolLayers: m(this.symbolLayers), thumbnail: m(this.thumbnail) }); } static fromSimpleLineSymbol(o8) { return new l22({ symbolLayers: [f5.fromSimpleLineSymbol(o8)] }); } }; e([d({ type: a14, json: { type: n16 } })], c16.prototype, "symbolLayers", void 0), e([r3({ LineSymbol3D: "line-3d" }, { readOnly: true })], c16.prototype, "type", void 0), c16 = l22 = e([n("esri.symbols.LineSymbol3D")], c16); var b3 = c16; // node_modules/@arcgis/core/symbols/MeshSymbol3D.js var i8; var y5 = j.ofType({ base: null, key: "type", typeMap: { fill: f3 } }); var c17 = i8 = class extends A { constructor(o8) { super(o8), this.symbolLayers = new y5(), this.type = "mesh-3d"; } clone() { return new i8({ styleOrigin: m(this.styleOrigin), symbolLayers: m(this.symbolLayers), thumbnail: m(this.thumbnail) }); } }; e([d({ type: y5 })], c17.prototype, "symbolLayers", void 0), e([r3({ MeshSymbol3D: "mesh-3d" }, { readOnly: true })], c17.prototype, "type", void 0), c17 = i8 = e([n("esri.symbols.MeshSymbol3D")], c17); var a15 = c17; // node_modules/@arcgis/core/symbols/PictureFillSymbol.js var c18; var u8 = c18 = class extends p7 { constructor(...t13) { super(...t13), this.type = "picture-fill", this.url = null, this.xscale = 1, this.yscale = 1, this.width = 12, this.height = 12, this.xoffset = 0, this.yoffset = 0, this.source = null; } normalizeCtorArgs(t13, s8, e7, r8) { if (t13 && typeof t13 != "string" && t13.imageData == null) return t13; const i9 = {}; return t13 && (i9.url = t13), s8 && (i9.outline = s8), e7 != null && (i9.width = o3(e7)), r8 != null && (i9.height = o3(r8)), i9; } clone() { const t13 = new c18({ color: m(this.color), height: this.height, outline: this.outline && this.outline.clone(), url: this.url, width: this.width, xoffset: this.xoffset, xscale: this.xscale, yoffset: this.yoffset, yscale: this.yscale }); return t13._set("source", m(this.source)), t13; } hash() { return `${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`; } }; e([r3({ esriPFS: "picture-fill" }, { readOnly: true })], u8.prototype, "type", void 0), e([d(m6)], u8.prototype, "url", void 0), e([d({ type: Number, json: { write: true } })], u8.prototype, "xscale", void 0), e([d({ type: Number, json: { write: true } })], u8.prototype, "yscale", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], u8.prototype, "width", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], u8.prototype, "height", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], u8.prototype, "xoffset", void 0), e([d({ type: Number, cast: o3, json: { write: true } })], u8.prototype, "yoffset", void 0), e([d(c3)], u8.prototype, "source", void 0), u8 = c18 = e([n("esri.symbols.PictureFillSymbol")], u8); var a16 = u8; // node_modules/@arcgis/core/symbols/PointSymbol3D.js var b4; var f7 = j.ofType({ base: null, key: "type", typeMap: { icon: S3, object: l17, text: j4 } }); var S4 = b4 = class extends A { constructor(t13) { super(t13), this.verticalOffset = null, this.callout = null, this.symbolLayers = new f7(), this.type = "point-3d"; } supportsCallout() { if ((this.symbolLayers ? this.symbolLayers.length : 0) < 1) return false; for (const t13 of this.symbolLayers.items) switch (t13.type) { case "icon": case "text": case "object": continue; default: return false; } return true; } hasVisibleCallout() { return r7(this); } hasVisibleVerticalOffset() { return n14(this); } clone() { return new b4({ verticalOffset: m(this.verticalOffset), callout: m(this.callout), styleOrigin: m(this.styleOrigin), symbolLayers: m(this.symbolLayers), thumbnail: m(this.thumbnail) }); } static fromSimpleMarkerSymbol(t13) { return new b4({ symbolLayers: [S3.fromSimpleMarkerSymbol(t13)] }); } static fromPictureMarkerSymbol(t13) { return new b4({ symbolLayers: [S3.fromPictureMarkerSymbol(t13)] }); } static fromCIMSymbol(t13) { const o8 = t13.data?.symbol?.type; if (o8 !== "CIMPointSymbol") return null; return t13.data.symbol.callout ? new b4({ symbolLayers: [S3.fromCIMSymbol(t13)], callout: { type: "line", size: 0.5, color: [0, 0, 0] }, verticalOffset: { screenLength: 40 } }) : new b4({ symbolLayers: [S3.fromCIMSymbol(t13)] }); } static fromTextSymbol(t13) { return new b4({ symbolLayers: [j4.fromTextSymbol(t13)] }); } }; e([d({ type: i7, json: { write: true } })], S4.prototype, "verticalOffset", void 0), e([d(l21)], S4.prototype, "callout", void 0), e([d({ type: f7, json: { origins: { "web-scene": { write: true } } } })], S4.prototype, "symbolLayers", void 0), e([r3({ PointSymbol3D: "point-3d" }, { readOnly: true })], S4.prototype, "type", void 0), S4 = b4 = e([n("esri.symbols.PointSymbol3D")], S4); var h7 = S4; // node_modules/@arcgis/core/symbols/PolygonSymbol3D.js var L; var u9 = j.ofType({ base: null, key: "type", typeMap: { extrude: m13, fill: f3, icon: S3, line: f5, object: l17, text: j4, water: n13 } }); var j5 = L = class extends A { constructor(o8) { super(o8), this.symbolLayers = new u9(), this.type = "polygon-3d"; } clone() { return new L({ styleOrigin: m(this.styleOrigin), symbolLayers: m(this.symbolLayers), thumbnail: m(this.thumbnail) }); } static fromJSON(o8) { const e7 = new L(); if (e7.read(o8), e7.symbolLayers.length === 2 && e7.symbolLayers.getItemAt(0).type === "fill" && e7.symbolLayers.getItemAt(1).type === "line") { const r8 = e7.symbolLayers.getItemAt(0), s8 = e7.symbolLayers.getItemAt(1); !s8.enabled || o8.symbolLayers && o8.symbolLayers[1] && o8.symbolLayers[1].enable === false || (r8.outline = { size: s8.size, color: r(s8.material) ? s8.material.color : null }), e7.symbolLayers.removeAt(1); } return e7; } static fromSimpleFillSymbol(o8) { return new L({ symbolLayers: [f3.fromSimpleFillSymbol(o8)] }); } }; e([d({ type: u9, json: { write: true } })], j5.prototype, "symbolLayers", void 0), e([r3({ PolygonSymbol3D: "polygon-3d" }, { readOnly: true })], j5.prototype, "type", void 0), j5 = L = e([n("esri.symbols.PolygonSymbol3D")], j5); var S5 = j5; // node_modules/@arcgis/core/symbols/WebStyleSymbol.js var y6; var h8 = s.getLogger("esri.symbols.WebStyleSymbol"); var u10 = y6 = class extends a2 { constructor(t13) { super(t13), this.styleName = null, this.portal = null, this.styleUrl = null, this.thumbnail = null, this.name = null, this.type = "web-style"; } get fetchCacheKey() { const t13 = r(this.portal) ? this.portal : B.getDefault(), e7 = t13.user ? t13.user.username : null; return `${this.styleName}:${this.styleUrl}:${this.name}:${e7}:${t13.url}`; } read(t13, e7) { this.portal = e7 ? e7.portal : void 0, super.read(t13, e7); } clone() { return new y6({ name: this.name, styleUrl: this.styleUrl, styleName: this.styleName, portal: this.portal }); } fetchSymbol(t13) { return this._fetchSymbol("webRef", t13); } fetchCIMSymbol(t13) { return this._fetchSymbol("cimRef", t13); } async _fetchSymbol(t13, e7) { const s8 = r(e7) ? e7.cache : null, l23 = s8 ? this.fetchCacheKey : null; if (r(s8)) { const t14 = s8.get(l23); if (t14) return t14.clone(); } const i9 = await f8(); f(e7); const p23 = i9.resolveWebStyleSymbol(this, { portal: this.portal }, t13, e7); p23.catch((t14) => { h8.error("#fetchSymbol()", "Failed to create symbol from style", t14); }); const a17 = await p23; return t13 === "webRef" && a17.type === "point-3d" || t13 === "cimRef" && a17.type === "cim" ? (r(s8) && s8.set(l23, a17.clone()), a17) : null; } }; function f8() { return import("./webStyleSymbolUtils-WP22VOP7.js"); } e([d({ json: { write: false } })], u10.prototype, "color", void 0), e([d({ type: String, json: { write: true } })], u10.prototype, "styleName", void 0), e([d({ type: B, json: { write: false } })], u10.prototype, "portal", void 0), e([d({ type: String, json: { read: m2, write: p } })], u10.prototype, "styleUrl", void 0), e([d({ type: p4, json: { read: false } })], u10.prototype, "thumbnail", void 0), e([d({ type: String, json: { write: true } })], u10.prototype, "name", void 0), e([r3({ styleSymbolReference: "web-style" }, { readOnly: true })], u10.prototype, "type", void 0), e([d()], u10.prototype, "fetchCacheKey", null), u10 = y6 = e([n("esri.symbols.WebStyleSymbol")], u10); var b5 = u10; // node_modules/@arcgis/core/symbols.js function x(e7) { if (!e7) return false; switch (e7.type) { case "picture-fill": case "picture-marker": case "simple-fill": case "simple-line": case "simple-marker": case "text": case "cim": return true; default: return false; } } function c19(e7) { if (!e7) return false; switch (e7.type) { case "label-3d": case "line-3d": case "mesh-3d": case "point-3d": case "polygon-3d": return true; default: return false; } } var j6 = { base: a2, key: "type", typeMap: { "simple-fill": S2, "picture-fill": a16, "picture-marker": n7, "simple-line": m4, "simple-marker": y2, text: m11, "label-3d": b2, "line-3d": b3, "mesh-3d": a15, "point-3d": h7, "polygon-3d": S5, "web-style": b5, cim: d2 }, errorContext: "symbol" }; var D = { base: a2, key: "type", typeMap: { "picture-marker": n7, "simple-marker": y2, text: m11, "web-style": b5, cim: d2 }, errorContext: "symbol" }; var k2 = s2({ types: j6 }); var M = { base: a2, key: "type", typeMap: { "simple-fill": S2, "picture-fill": a16, "picture-marker": n7, "simple-line": m4, "simple-marker": y2, text: m11, "line-3d": b3, "mesh-3d": a15, "point-3d": h7, "polygon-3d": S5, "web-style": b5, cim: d2 }, errorContext: "symbol" }; var P = { base: a2, key: "type", typeMap: { text: m11, "label-3d": b2 }, errorContext: "symbol" }; var h9 = { base: a2, key: "type", typeMap: { "line-3d": b3, "mesh-3d": a15, "point-3d": h7, "polygon-3d": S5, "web-style": b5, cim: d2 }, errorContext: "symbol" }; var F2 = { base: a2, key: "type", typeMap: { "label-3d": b2 }, errorContext: "symbol" }; var g4 = N(j6); export { t8 as t, l12 as l, m4 as m, j2 as j, p19 as p, d5 as d, l5 as l2, p4 as p2, A, b2 as b, b3 as b2, n7 as n, h7 as h, S5 as S, S2, y2 as y, m11 as m2, b5 as b3, x, c19 as c, j6 as j2, D, k2 as k, M, P, h9 as h2, F2 as F, g4 as g }; //# sourceMappingURL=chunk-EN7YGJWG.js.map