{"version":3,"sources":["node_modules/@arcgis/core/geometry/projection/projectXYZToVector.js","node_modules/@arcgis/core/geometry/support/GeographicTransformationStep.js","node_modules/@arcgis/core/geometry/support/GeographicTransformation.js","node_modules/@arcgis/core/geometry/projection.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 { create as r } from \"../../core/libs/gl-matrix-2/factories/vec3f64.js\";\nimport { projectBuffer as o } from \"./projectBuffer.js\";\nfunction t(r, t, f, c, i, m) {\n return e[0] = r, e[1] = t, e[2] = f, o(e, c, 0, i, m, 0);\n}\nconst e = r();\nexport { t as projectXYZToVector };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nlet s = 0;\nclass t {\n static fromGE(s) {\n const i = new t();\n return i._wkt = s.wkt, i._wkid = s.wkid, i._isInverse = s.isInverse, i;\n }\n constructor(t) {\n this.uid = s++, t ? (this._wkt = null != t.wkt ? t.wkt : null, this._wkid = null != t.wkid ? t.wkid : -1, this._isInverse = null != t.isInverse && !0 === t.isInverse) : (this._wkt = null, this._wkid = -1, this._isInverse = !1);\n }\n get wkt() {\n return this._wkt;\n }\n set wkt(t) {\n this._wkt = t, this.uid = s++;\n }\n get wkid() {\n return this._wkid;\n }\n set wkid(t) {\n this._wkid = t, this.uid = s++;\n }\n get isInverse() {\n return this._isInverse;\n }\n set isInverse(t) {\n this._isInverse = t, this.uid = s++;\n }\n getInverse() {\n const s = new t();\n return s._wkt = this.wkt, s._wkid = this._wkid, s._isInverse = !this.isInverse, s;\n }\n}\nexport { t 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 t from \"./GeographicTransformationStep.js\";\nclass s {\n static cacheKey(t, s) {\n return [t.wkid?.toString() ?? \"-1\", t.wkt?.toString() ?? \"\", t.wkt2?.toString() ?? \"\", s.wkid?.toString() ?? \"-1\", s.wkt?.toString() ?? \"\", s.wkt2?.toString() ?? \"\"].join();\n }\n static fromGE(e) {\n const i = new s();\n let n = \"\";\n for (const s of e.steps) {\n const e = t.fromGE(s);\n i.steps.push(e), n += e.uid.toString() + \",\";\n }\n return i._cachedProjection = {}, i._gtlistentry = null, i._chain = n, i;\n }\n constructor(s) {\n if (this.steps = [], this._cachedProjection = {}, this._chain = \"\", this._gtlistentry = null, s?.steps) for (const e of s.steps) e instanceof t ? this.steps.push(e) : this.steps.push(new t({\n wkid: e.wkid,\n wkt: e.wkt,\n isInverse: e.isInverse\n }));\n }\n getInverse() {\n const t = new s();\n t.steps = [];\n for (let s = this.steps.length - 1; s >= 0; s--) {\n const e = this.steps[s];\n t.steps.push(e.getInverse());\n }\n return t;\n }\n getGTListEntry() {\n let t = \"\";\n for (const s of this.steps) t += s.uid.toString() + \",\";\n return t !== this._chain && (this._gtlistentry = null, this._cachedProjection = {}, this._chain = t), this._gtlistentry;\n }\n assignCachedGe(t, e, i) {\n this._cachedProjection[s.cacheKey(t, e)] = i;\n }\n getCachedGeTransformation(t, e) {\n let i = \"\";\n for (const s of this.steps) i += s.uid.toString() + \",\";\n i !== this._chain && (this._gtlistentry = null, this._cachedProjection = {}, this._chain = i);\n const n = this._cachedProjection[s.cacheKey(t, e)];\n return void 0 === n ? null : n;\n }\n}\nexport { s 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 n from \"../core/Error.js\";\nimport { throwIfAborted as e, waitTick as r } from \"../core/promiseUtils.js\";\nimport { trackAccess as t } from \"../core/accessorSupport/tracking.js\";\nimport { SimpleObservable as l } from \"../core/accessorSupport/tracking/SimpleObservable.js\";\nimport { create as o } from \"../core/libs/gl-matrix-2/factories/vec3f64.js\";\nimport { isSphericalECEF as i, isSphericalPCPF as u } from \"./ellipsoidUtils.js\";\nimport s from \"./Extent.js\";\nimport a from \"./Multipoint.js\";\nimport { l as c, p as f, i as p } from \"../chunks/pe.js\";\nimport m from \"./Point.js\";\nimport h from \"./Polygon.js\";\nimport g from \"./Polyline.js\";\nimport R from \"./SpatialReference.js\";\nimport { projectBuffer as j } from \"./projection/projectBuffer.js\";\nimport { getProjector as y, projectorCache as d } from \"./projection/projectors.js\";\nimport { projectXYZToVector as x } from \"./projection/projectXYZToVector.js\";\nimport w from \"./support/GeographicTransformation.js\";\nimport { equals as z, isValid as M, isWGS84 as Z, isWebMercator as v, isCGCS2000 as A } from \"./support/spatialReferenceUtils.js\";\nimport { getGeometryZScaler as S } from \"./support/zscale.js\";\nlet G = null,\n P = null,\n b = null,\n E = {};\nconst T = new l();\nfunction _() {\n return !!G && p();\n}\nfunction k() {\n return !!_() || (t(T), W(), !1);\n}\nfunction B(n, e) {\n return !n || !e || J(n, e) || k();\n}\nfunction U(n, e) {\n return !J(n, e) && !_();\n}\nfunction W(n) {\n return null == b && (b = Promise.all([c(), import(\"../chunks/geometryEngineBase.js\").then(n => n.g), import(\"./geometryAdapters/hydrated.js\")])), b.then(([, r, {\n hydratedAdapter: t\n }]) => {\n e(n), P = t, G = r.default, G._enableProjection(f), T.notify();\n });\n}\nfunction K(n, e, r = null, t = null) {\n return Array.isArray(n) ? 0 === n.length ? [] : O(P, n, n[0].spatialReference, e, r, t) : O(P, [n], n.spatialReference, e, r, t)[0];\n}\nfunction O(n, e, r, t, l = null, o = null) {\n if (null == r || null == t) return e;\n if (J(r, t, l)) return e.map(n => Q(n, r, t));\n if (null == l && i(r)) {\n return e.map(n => Q(n, r, R.WGS84)).map(n => H(n, t));\n }\n if (null == l && i(t)) {\n return e.map(n => H(n, R.WGS84)).map(n => Q(n, R.WGS84, t));\n }\n if (null == l) {\n const n = w.cacheKey(r, t);\n void 0 !== E[n] ? l = E[n] : (null == (l = Y(r, t, void 0)) && (l = new w()), E[n] = l);\n }\n if (null == G || null == n) throw new C();\n return null != o ? G._project(n, e, r, t, l, o) : G._project(n, e, r, t, l);\n}\nfunction V(n, e) {\n const r = X([n], e);\n return null != r.pending ? {\n pending: r.pending,\n geometry: null\n } : null != r.geometries ? {\n pending: null,\n geometry: r.geometries[0]\n } : {\n pending: null,\n geometry: null\n };\n}\nfunction X(n, e) {\n if (!_()) for (const r of n) if (null != r && !z(r.spatialReference, e) && M(r.spatialReference) && M(e) && !J(r.spatialReference, e)) return t(T), {\n pending: W(),\n geometries: null\n };\n return {\n pending: null,\n geometries: n.map(n => null == n ? null : z(n.spatialReference, e) ? n : M(n.spatialReference) && M(e) ? H(n, e) : null)\n };\n}\nfunction Y(n, e, r = null) {\n if (null == n || null == e) return null;\n if (null == G || null == P) throw new C();\n const t = G._getTransformation(P, n, e, r, r?.spatialReference);\n return null !== t ? w.fromGE(t) : null;\n}\nfunction q(n, e, r = null) {\n if (null == G || null == P) throw new C();\n const t = G._getTransformationBySuitability(P, n, e, r, r?.spatialReference);\n if (null !== t) {\n const n = [];\n for (const e of t) n.push(w.fromGE(e));\n return n;\n }\n return [];\n}\nclass C extends n {\n constructor() {\n super(\"projection:not-loaded\", \"projection engine not fully loaded yet, please call load()\");\n }\n}\nfunction D() {\n G = null, P = null, b = null, E = {};\n}\nconst F = {\n get loadPromise() {\n return b;\n }\n};\nfunction H(n, e) {\n try {\n const r = K(n, e);\n if (null == r) return null;\n \"xmin\" in n && \"xmin\" in r && (r.zmin = n.zmin, r.zmax = n.zmax);\n const t = S(r.type, n.spatialReference, e);\n return null != t && t(r), r;\n } catch (r) {\n if (!(r instanceof C)) throw r;\n return null;\n }\n}\nasync function I(n, e, r) {\n const t = n.spatialReference;\n return null != t && null != e && (await N(t, e, null, r)), H(n, e);\n}\nfunction J(n, e, r) {\n return !r && (!!z(n, e) || M(n) && M(e) && !!y(n, e, d));\n}\nfunction L(n, e) {\n if (z(n, e)) return !0;\n if (!M(n) || !M(e)) return !1;\n const r = Z(n) || v(n) || A(n),\n t = Z(e) || v(e) || A(e);\n return r && t;\n}\nasync function N(n, e, t, l) {\n if (_()) return r(l);\n if (Array.isArray(n)) {\n for (const {\n source: r,\n dest: o,\n geographicTransformation: i\n } of n) if (r && o && !J(r, o, i)) return W(l);\n } else if (n && e && !J(n, e, t)) return W(l);\n return r(l);\n}\nfunction Q(n, e, r) {\n return n ? \"x\" in n ? nn(n, e, new m(), r, 0) : \"xmin\" in n ? an(n, e, new s(), r, 0) : \"rings\" in n ? un(n, e, new h(), r, 0) : \"paths\" in n ? ln(n, e, new g(), r, 0) : \"points\" in n ? rn(n, e, new a(), r, 0) : null : null;\n}\nfunction $(n, e, r = e.spatialReference, t = 0) {\n return null != r && null != n.spatialReference && null != nn(n, n.spatialReference, e, r, t);\n}\nfunction nn(n, e, r, t, l) {\n fn[0] = n.x, fn[1] = n.y;\n const o = n.z;\n return fn[2] = void 0 !== o ? o : l, j(fn, e, 0, fn, t, 0) ? (r.x = fn[0], r.y = fn[1], r.spatialReference = t, void 0 !== o || u(t) ? (r.z = fn[2], r.hasZ = !0) : (r.z = void 0, r.hasZ = !1), void 0 === n.m ? (r.m = void 0, r.hasM = !1) : (r.m = n.m, r.hasM = !0), r) : null;\n}\nfunction en(n, e, r = e.spatialReference, t = 0) {\n return null != n.spatialReference && null != r && null != rn(n, n.spatialReference, e, r, t);\n}\nfunction rn(n, e, r, t, l) {\n const {\n points: o,\n hasZ: i,\n hasM: s\n } = n,\n a = [],\n c = o.length,\n f = [];\n for (const u of o) f.push(u[0], u[1], i ? u[2] : l);\n if (!j(f, e, 0, f, t, 0, c)) return null;\n const p = i || u(t);\n for (let u = 0; u < c; ++u) {\n const n = 3 * u,\n e = f[n],\n r = f[n + 1];\n p && s ? a.push([e, r, f[n + 2], o[u][3]]) : p ? a.push([e, r, f[n + 2]]) : s ? a.push([e, r, o[u][2]]) : a.push([e, r]);\n }\n return r.points = a, r.spatialReference = t, r.hasZ = i, r.hasM = s, r;\n}\nfunction tn(n, e, r = e.spatialReference, t = 0) {\n return null != n.spatialReference && null != r && null != ln(n, n.spatialReference, e, r, t);\n}\nfunction ln(n, e, r, t, l) {\n const {\n paths: o,\n hasZ: i,\n hasM: s\n } = n,\n a = [];\n if (!cn(o, i ?? !1, s ?? !1, e, a, t, l)) return null;\n const c = i || u(t);\n return r.paths = a, r.spatialReference = t, r.hasZ = c, r.hasM = s, r;\n}\nfunction on(n, e, r = e.spatialReference, t = 0) {\n return null != n.spatialReference && null != r && null != un(n, n.spatialReference, e, r, t);\n}\nfunction un(n, e, r, t, l) {\n const {\n rings: o,\n hasZ: i,\n hasM: s\n } = n,\n a = [];\n if (!cn(o, i ?? !1, s ?? !1, e, a, t, l)) return null;\n const c = i || u(t);\n return r.rings = a, r.spatialReference = t, r.hasZ = c, r.hasM = s, r;\n}\nfunction sn(n, e, r = e.spatialReference, t = 0) {\n return null != n.spatialReference && null != r && null != an(n, n.spatialReference, e, r, t);\n}\nfunction an(n, e, r, t, l) {\n const {\n xmin: o,\n ymin: i,\n xmax: s,\n ymax: a,\n hasZ: c,\n hasM: f\n } = n,\n p = c ? n.zmin : l;\n if (!x(o, i, p, e, fn, t)) return null;\n const m = c || u(t);\n r.xmin = fn[0], r.ymin = fn[1], m && (r.zmin = fn[2]);\n const h = c ? n.zmax : l;\n return x(s, a, h, e, fn, t) ? (r.xmax = fn[0], r.ymax = fn[1], m && (r.zmax = fn[2]), f && (r.mmin = n.mmin, r.mmax = n.mmax), r.spatialReference = t, r) : null;\n}\nfunction cn(n, e, r, t, l, o, i = 0) {\n const s = new Array();\n for (const u of n) for (const n of u) s.push(n[0], n[1], e ? n[2] : i);\n if (!j(s, t, 0, s, o, 0)) return !1;\n let a = 0;\n l.length = 0;\n const c = e || u(o);\n for (const u of n) {\n const n = new Array();\n for (const e of u) c && r ? n.push([s[a++], s[a++], s[a++], e[3]]) : c ? n.push([s[a++], s[a++], s[a++]]) : r ? (n.push([s[a++], s[a++], e[2]]), a++) : (n.push([s[a++], s[a++]]), a++);\n l.push(n);\n }\n return !0;\n}\nconst fn = o();\nexport { J as canProjectWithoutEngine, Y as getTransformation, q as getTransformations, N as initializeProjection, L as isEqualBaseGCS, _ as isLoaded, k as isLoadedOrLoad, B as isLoadedOrLoadFor, W as load, K as project, sn as projectExtent, O as projectMany, en as projectMultipoint, V as projectOrLoad, X as projectOrLoadMany, $ as projectPoint, on as projectPolygon, tn as projectPolyline, I as projectWithZConversion, Q as projectWithoutEngine, U as requiresLoad, F as test, H as tryProjectWithZConversion, D as unload };"],"mappings":"+kBAMA,SAASA,EAAEC,EAAGD,EAAGE,EAAGC,EAAG,EAAGC,EAAG,CAC3B,OAAOC,EAAE,CAAC,EAAIJ,EAAGI,EAAE,CAAC,EAAIL,EAAGK,EAAE,CAAC,EAAIH,EAAGI,EAAED,EAAGF,EAAG,EAAG,EAAGC,EAAG,CAAC,CACzD,CACA,IAAMC,EAAIC,EAAE,ECLZ,IAAIC,EAAI,EACFC,EAAN,MAAMC,CAAE,CACN,OAAO,OAAOF,EAAG,CACf,IAAMG,EAAI,IAAID,EACd,OAAOC,EAAE,KAAOH,EAAE,IAAKG,EAAE,MAAQH,EAAE,KAAMG,EAAE,WAAaH,EAAE,UAAWG,CACvE,CACA,YAAYF,EAAG,CACb,KAAK,IAAMD,IAAKC,GAAK,KAAK,KAAeA,EAAE,KAAV,KAAgBA,EAAE,IAAM,KAAM,KAAK,MAAgBA,EAAE,MAAV,KAAiBA,EAAE,KAAO,GAAI,KAAK,WAAqBA,EAAE,WAAV,MAA8BA,EAAE,YAAT,KAAuB,KAAK,KAAO,KAAM,KAAK,MAAQ,GAAI,KAAK,WAAa,GACjO,CACA,IAAI,KAAM,CACR,OAAO,KAAK,IACd,CACA,IAAI,IAAIA,EAAG,CACT,KAAK,KAAOA,EAAG,KAAK,IAAMD,GAC5B,CACA,IAAI,MAAO,CACT,OAAO,KAAK,KACd,CACA,IAAI,KAAKC,EAAG,CACV,KAAK,MAAQA,EAAG,KAAK,IAAMD,GAC7B,CACA,IAAI,WAAY,CACd,OAAO,KAAK,UACd,CACA,IA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CAAC,CAAC,EAAIE,GAAKK,EAAE,KAAK,CAACP,EAAE,GAAG,EAAGA,EAAE,GAAG,EAAGQ,EAAE,CAAC,CAAC,CAAC,EAAG,MAAQD,EAAE,KAAK,CAACP,EAAE,GAAG,EAAGA,EAAE,GAAG,CAAC,CAAC,EAAG,KACnLc,EAAE,KAAKP,CAAC,CACV,CACA,MAAO,EACT,CACA,IAAMqC,EAAKrC,EAAE","names":["t","r","f","c","m","e","n","s","t","_t","i","s","_s","t","e","i","n","G","P","b","T","s","_","r","k","a","W","B","n","e","J","U","K","t","O","l","o","Q","A","g","H","Y","C","V","X","q","D","F","I","__async","N","En","L","w","i","nn","j","an","un","v","ln","d","rn","u","$","fn","en","c","f","p","tn","cn","on","sn","m","h"],"x_google_ignoreList":[0,1,2,3]}