{"version":3,"sources":["node_modules/@arcgis/core/symbols/support/FeatureExpressionInfo.js","node_modules/@arcgis/core/symbols/support/ElevationInfo.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 { JSONSupport as s } from \"../../core/JSONSupport.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport \"../../core/RandomLCG.js\";\nimport { subclass as o } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { collectArcadeFieldNames as t } from \"../../layers/support/fieldUtils.js\";\nvar i;\nlet p = i = class extends s {\n constructor(r) {\n super(r);\n }\n async collectRequiredFields(r, s) {\n return t(r, s, this.expression);\n }\n clone() {\n return new i({\n expression: this.expression,\n title: this.title\n });\n }\n equals(r) {\n return this.expression === r.expression && this.title === r.title;\n }\n};\nr([e({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"expression\", void 0), r([e({\n type: String,\n json: {\n write: !0\n }\n})], p.prototype, \"title\", void 0), p = i = r([o(\"esri.symbols.support.FeatureExpressionInfo\")], p);\nconst n = p;\nexport { n 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 { strict as o, JSONMap as r } from \"../../core/jsonMap.js\";\nimport { JSONSupport as t } from \"../../core/JSONSupport.js\";\nimport { equalsMaybe as s } from \"../../core/maybe.js\";\nimport { property as i } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport \"../../core/RandomLCG.js\";\nimport { reader as n } from \"../../core/accessorSupport/decorators/reader.js\";\nimport { subclass as p } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { writer as u } from \"../../core/accessorSupport/decorators/writer.js\";\nimport f from \"./FeatureExpressionInfo.js\";\nimport { supportedUnits as a } from \"./unitConversionUtils.js\";\nvar l;\nconst m = o()({\n onTheGround: \"on-the-ground\",\n relativeToGround: \"relative-to-ground\",\n relativeToScene: \"relative-to-scene\",\n absoluteHeight: \"absolute-height\"\n }),\n d = new r({\n foot: \"feet\",\n kilometer: \"kilometers\",\n meter: \"meters\",\n mile: \"miles\",\n \"us-foot\": \"us-feet\",\n yard: \"yards\"\n });\nlet c = l = class extends t {\n constructor(e) {\n super(e), this.offset = null;\n }\n readFeatureExpressionInfo(e, o) {\n return null != e ? e : o.featureExpression && 0 === o.featureExpression.value ? {\n expression: \"0\"\n } : void 0;\n }\n writeFeatureExpressionInfo(e, o, r, t) {\n o[r] = e.write({}, t), \"0\" === e.expression && (o.featureExpression = {\n value: 0\n });\n }\n get mode() {\n const {\n offset: e,\n featureExpressionInfo: o\n } = this;\n return this._isOverridden(\"mode\") ? this._get(\"mode\") : null != e || o ? \"relative-to-ground\" : \"on-the-ground\";\n }\n set mode(e) {\n this._override(\"mode\", e);\n }\n set unit(e) {\n this._set(\"unit\", e);\n }\n write(e, o) {\n return this.offset || this.mode || this.featureExpressionInfo || this.unit ? super.write(e, o) : null;\n }\n clone() {\n return new l({\n mode: this.mode,\n offset: this.offset,\n featureExpressionInfo: this.featureExpressionInfo ? this.featureExpressionInfo.clone() : void 0,\n unit: this.unit\n });\n }\n equals(e) {\n return this.mode === e.mode && this.offset === e.offset && this.unit === e.unit && s(this.featureExpressionInfo, e.featureExpressionInfo);\n }\n};\ne([i({\n type: f,\n json: {\n write: !0\n }\n})], c.prototype, \"featureExpressionInfo\", void 0), e([n(\"featureExpressionInfo\", [\"featureExpressionInfo\", \"featureExpression\"])], c.prototype, \"readFeatureExpressionInfo\", null), e([u(\"featureExpressionInfo\", {\n featureExpressionInfo: {\n type: f\n },\n \"featureExpression.value\": {\n type: [0]\n }\n})], c.prototype, \"writeFeatureExpressionInfo\", null), e([i({\n type: m.apiValues,\n nonNullable: !0,\n json: {\n type: m.jsonValues,\n read: m.read,\n write: {\n writer: m.write,\n isRequired: !0\n }\n }\n})], c.prototype, \"mode\", null), e([i({\n type: Number,\n json: {\n write: !0\n }\n})], c.prototype, \"offset\", void 0), e([i({\n type: a,\n json: {\n type: String,\n read: d.read,\n write: d.write\n }\n})], c.prototype, \"unit\", null), c = l = e([p(\"esri.symbols.support.ElevationInfo\")], c);\nconst h = c;\nexport { h as default };"],"mappings":"+bAYA,IAAIA,EACAC,EAAID,EAAI,cAAcE,CAAE,CAC1B,YAAYC,EAAG,CACb,MAAMA,CAAC,CACT,CACM,sBAAsBA,EAAGC,EAAG,QAAAC,EAAA,sBAChC,OAAOC,EAAEH,EAAGC,EAAG,KAAK,UAAU,CAChC,GACA,OAAQ,CACN,OAAO,IAAIJ,EAAE,CACX,WAAY,KAAK,WACjB,MAAO,KAAK,KACd,CAAC,CACH,CACA,OAAOG,EAAG,CACR,OAAO,KAAK,aAAeA,EAAE,YAAc,KAAK,QAAUA,EAAE,KAC9D,CACF,EACAA,EAAE,CAACI,EAAE,CACH,KAAM,OACN,KAAM,CACJ,MAAO,EACT,CACF,CAAC,CAAC,EAAGN,EAAE,UAAW,aAAc,MAAM,EAAGE,EAAE,CAACI,EAAE,CAC5C,KAAM,OACN,KAAM,CACJ,MAAO,EACT,CACF,CAAC,CAAC,EAAGN,EAAE,UAAW,QAAS,MAAM,EAAGA,EAAID,EAAIG,EAAE,CAACK,EAAE,4CAA4C,CAAC,EAAGP,CAAC,EAClG,IAAMQ,EAAIR,ECxBV,IAAI,EACES,EAAIC,EAAE,EAAE,CACV,YAAa,gBACb,iBAAkB,qBAClB,gBAAiB,oBACjB,eAAgB,iBAClB,CAAC,EACDC,EAAI,IAAIC,EAAE,CACR,KAAM,OACN,UAAW,aACX,MAAO,SACP,KAAM,QACN,UAAW,UACX,KAAM,OACR,CAAC,EACCC,EAAI,EAAI,cAAcC,CAAE,CAC1B,YAAY,EAAG,CACb,MAAM,C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,IAAI,EAAGG,EAAE,CAACA,EAAE,wBAAyB,CACjN,sBAAuB,CACrB,KAAMJ,CACR,EACA,0BAA2B,CACzB,KAAM,CAAC,CAAC,CACV,CACF,CAAC,CAAC,EAAGC,EAAE,UAAW,6BAA8B,IAAI,EAAGG,EAAE,CAACP,EAAE,CAC1D,KAAMA,EAAE,UACR,YAAa,GACb,KAAM,CACJ,KAAMA,EAAE,WACR,KAAMA,EAAE,KACR,MAAO,CACL,OAAQA,EAAE,MACV,WAAY,EACd,CACF,CACF,CAAC,CAAC,EAAGI,EAAE,UAAW,OAAQ,IAAI,EAAGG,EAAE,CAACP,EAAE,CACpC,KAAM,OACN,KAAM,CACJ,MAAO,EACT,CACF,CAAC,CAAC,EAAGI,EAAE,UAAW,SAAU,MAAM,EAAGG,EAAE,CAACP,EAAE,CACxC,KAAMS,EACN,KAAM,CACJ,KAAM,OACN,KAAMP,EAAE,KACR,MAAOA,EAAE,KACX,CACF,CAAC,CAAC,EAAGE,EAAE,UAAW,OAAQ,IAAI,EAAGA,EAAI,EAAIG,EAAE,CAACG,EAAE,oCAAoC,CAAC,EAAGN,CAAC,EACvF,IAAMO,EAAIP","names":["i","p","f","r","s","__async","h","m","a","n","m","i","d","n","c","f","o","r","t","s","a","h"],"x_google_ignoreList":[0,1]}