{"version":3,"sources":["node_modules/@arcgis/core/support/revision.js","node_modules/@arcgis/core/kernel.js","node_modules/@arcgis/core/support/apiKeyUtils.js","node_modules/@arcgis/core/support/requestUtils.js","node_modules/@arcgis/core/request.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*/\nconst c = \"20241122\",\n f = \"f6f7099a0e79cf518abdcf87c5aa8b6f24ecdcd8\";\nexport { c as buildDate, f as commitHash };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport has from \"./core/has.js\";\nimport { addQueryParameter as o } from \"./core/urlUtils.js\";\nimport { buildDate as e, commitHash as r } from \"./support/revision.js\";\nSymbol.dispose ??= Symbol(\"Symbol.dispose\"), Symbol.asyncDispose ??= Symbol(\"Symbol.asyncDispose\");\nconst s = \"4.31\";\nlet i,\n t = s;\nt = \"4.31.6\";\nfunction n(o) {\n i = o;\n}\nfunction l(e) {\n const r = i?.findCredential(e);\n return r?.token ? o(e, \"token\", r.token) : e;\n}\nhas(\"host-webworker\") || globalThis.$arcgis || Object.defineProperty(globalThis, \"$arcgis\", {\n configurable: !1,\n enumerable: !0,\n writable: !1,\n value: {}\n}), has(\"host-webworker\");\nexport { l as addTokenParameter, e as buildDate, t as fullVersion, i as id, r as revision, n as setId, s as version };","/*\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 \"../config.js\";\nimport { getOrigin as r } from \"../core/urlUtils.js\";\nconst s = new Set([\"elevation3d.arcgis.com\", \"js.arcgis.com\", \"jsdev.arcgis.com\", \"jsqa.arcgis.com\", \"static.arcgis.com\"]);\nfunction c(t) {\n return !!t && t.length > 4 && t.startsWith(\"AAPK\");\n}\nfunction i(t) {\n const c = r(t, !0);\n return !!c && c.endsWith(\".arcgis.com\") && !s.has(c) && !t.endsWith(\"/sharing/rest/generateToken\");\n}\nfunction n(r, s) {\n return !(!s && !t.apiKey || !i(r));\n}\nexport { c as isApiKey, n as isApiKeyApplicable, i as supportsApiKey };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport e from \"../config.js\";\nimport has from \"../core/has.js\";\nimport { isAborted as r } from \"../core/promiseUtils.js\";\nimport { getOrigin as o, hasSameOrigin as t, getAppUrl as n, urlToObject as s } from \"../core/urlUtils.js\";\nfunction i(e, o, t = !1, n) {\n return new Promise((s, i) => {\n if (r(n)) return void i(c());\n let a = () => {\n l(), i(new Error(`Unable to load ${o}`));\n },\n u = () => {\n const r = e;\n l(), s(r);\n },\n m = () => {\n if (!e) return;\n const r = e;\n l(), r.src = \"\", i(c());\n };\n const l = () => {\n has(\"esri-image-decode\") || (e.removeEventListener(\"error\", a), e.removeEventListener(\"load\", u)), a = null, u = null, e = null, null != n && n.removeEventListener(\"abort\", m), m = null, t && URL.revokeObjectURL(o);\n };\n null != n && n.addEventListener(\"abort\", m), has(\"esri-image-decode\") ? e.decode().then(u, a) : (e.addEventListener(\"error\", a), e.addEventListener(\"load\", u));\n });\n}\nfunction c() {\n try {\n return new DOMException(\"Aborted\", \"AbortError\");\n } catch {\n const e = new Error();\n return e.name = \"AbortError\", e;\n }\n}\nconst a = \"Timeout exceeded\";\nfunction u() {\n return new Error(a);\n}\nfunction m(e) {\n return \"object\" == typeof e && !!e && \"message\" in e && e.message === a;\n}\nfunction l(r) {\n e.request.crossOriginNoCorsDomains || (e.request.crossOriginNoCorsDomains = {});\n const t = e.request.crossOriginNoCorsDomains;\n for (let e of r) e = e.toLowerCase(), /^https?:\\/\\//.test(e) ? t[o(e) ?? \"\"] = 0 : (t[o(\"http://\" + e) ?? \"\"] = 0, t[o(\"https://\" + e) ?? \"\"] = 0);\n}\nfunction d(r) {\n const s = e.request.crossOriginNoCorsDomains;\n if (s) {\n let e = o(r);\n if (e) return e = e.toLowerCase(), !t(e, n()) && s[e] < Date.now() - 36e5;\n }\n return !1;\n}\nasync function f(r) {\n const t = s(r);\n r = t.path, \"json\" === t.query?.f && (r += \"?f=json\");\n try {\n await fetch(r, {\n mode: \"no-cors\",\n credentials: \"include\"\n });\n } catch {}\n const n = e.request.crossOriginNoCorsDomains,\n i = o(r);\n n && i && (n[i.toLowerCase()] = Date.now());\n}\nexport { u as createTimeoutError, d as isNoCorsRequestRequired, m as isTimeoutError, i as loadImageAsync, l as registerNoCorsDomains, f as sendNoCorsRequest };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport e from \"./config.js\";\nimport { id as t } from \"./kernel.js\";\nimport r from \"./core/Error.js\";\nimport has from \"./core/has.js\";\nimport { clone as s } from \"./core/lang.js\";\nimport { onAbort as o, isAbortError as a, createAbortError as n, isAborted as i } from \"./core/promiseUtils.js\";\nimport { queryToObject as l, isDataProtocol as u, isBlobProtocol as c, normalize as d, getInterceptor as p, isTrustedServer as h, getOrigin as m, toHTTPS as f, objectToQuery as y, getProxyRule as w, getProxyUrl as g, addQueryParameters as b, hasSameOrigin as q, getAppUrl as S, addProxyRule as T } from \"./core/urlUtils.js\";\nimport { isSecureProxyService as k } from \"./portal/support/urlUtils.js\";\nimport { isApiKeyApplicable as O } from \"./support/apiKeyUtils.js\";\nimport { registerNoCorsDomains as v, isNoCorsRequestRequired as C, sendNoCorsRequest as x, createTimeoutError as L, loadImageAsync as E } from \"./support/requestUtils.js\";\nasync function U(e, t) {\n e instanceof URL && (e = e.toString()), t?.query instanceof URLSearchParams && (t.query = l(t.query.toString().replaceAll(\"+\", \" \")));\n const r = u(e),\n s = c(e);\n s || r || (e = d(e));\n const a = {\n url: e,\n requestOptions: {\n ...t\n }\n },\n n = e => ({\n data: e,\n getAllHeaders: H,\n getHeader: H,\n httpStatus: 200,\n requestOptions: a.requestOptions,\n url: a.url\n }),\n i = p(e, A.internalInterceptors);\n if (i) {\n const e = await J(i, a);\n if (null != e) return n(e);\n }\n let h = p(e);\n if (h) {\n const e = await J(h, a);\n if (null != e) return n(e);\n h.after || h.error || (h = null);\n }\n if (e = a.url, \"image\" === (t = a.requestOptions).responseType && (has(\"host-webworker\") || has(\"host-node\"))) throw N(\"request:invalid-parameters\", new Error(\"responseType 'image' is not supported in Web Workers or Node environment\"), a);\n if (\"head\" === t.method) {\n if (t.body) throw N(\"request:invalid-parameters\", new Error(\"body parameter cannot be set when method is 'head'\"), a);\n if (r || s) throw N(\"request:invalid-parameters\", new Error(\"data and blob URLs are not supported for method 'head'\"), a);\n }\n if (await B(), j) return j.execute(e, t);\n const m = new AbortController(),\n f = o(t, () => m.abort()),\n y = {\n controller: m,\n credential: void 0,\n credentialToken: void 0,\n fetchOptions: void 0,\n hasToken: !1,\n interceptor: h,\n params: a,\n redoRequest: !1,\n useIdentity: A.useIdentity,\n useProxy: !1,\n useSSL: !1,\n withCredentials: !1\n },\n w = await Q(y).finally(() => f?.remove());\n return h?.after?.(w), w;\n}\nlet j;\nconst A = e.request,\n P = (\"FormData\" in globalThis),\n _ = new Set([499, 498, 403, 401]),\n D = new Set([\"COM_0056\", \"COM_0057\", \"SB_0008\"]),\n F = [/\\/arcgis\\/tokens/i, /\\/sharing(\\/rest)?\\/generatetoken/i, /\\/rest\\/info/i],\n H = () => null,\n I = Symbol();\nfunction R(e) {\n const t = m(e);\n t && !U._corsServers.includes(t) && U._corsServers.push(t);\n}\nfunction M(e) {\n const t = m(e);\n return !t || t.endsWith(\".arcgis.com\") || U._corsServers.includes(t) || h(t);\n}\nfunction N(e, t, o, i) {\n let l = \"Error\";\n const u = {\n url: o.url,\n requestOptions: o.requestOptions,\n getAllHeaders: H,\n getHeader: H,\n ssl: !1\n };\n if (t instanceof r) return t.details ? (t.details = s(t.details), t.details.url = o.url, t.details.requestOptions = o.requestOptions) : t.details = u, t;\n if (t) {\n const e = i && (() => Array.from(i.headers)),\n r = i && (e => i.headers.get(e)),\n s = i?.status,\n o = t.message;\n o && (l = o), e && r && (u.getAllHeaders = e, u.getHeader = r), u.httpStatus = (null != t.httpCode ? t.httpCode : t.code) || s || 0, u.subCode = t.subcode, u.messageCode = t.messageCode, \"string\" == typeof t.details ? u.messages = [t.details] : u.messages = t.details, u.raw = I in t ? t[I] : t;\n }\n return a(t) ? n() : new r(e, l, u);\n}\nasync function B() {\n has(\"host-webworker\") && !j && (j = await import(\"./core/workers/request.js\"));\n}\nasync function $() {\n t || (await import(\"./identity/IdentityManager.js\"));\n}\nasync function z(r) {\n const s = r.params.url,\n o = r.params.requestOptions,\n a = r.controller.signal,\n n = o.body;\n let l = null,\n u = null;\n if (P && \"HTMLFormElement\" in globalThis && (n instanceof FormData ? l = n : n instanceof HTMLFormElement && (l = new FormData(n))), \"string\" == typeof n && (u = n), r.fetchOptions = {\n cache: o.cacheBust ? \"no-cache\" : \"default\",\n credentials: \"same-origin\",\n headers: o.headers || {},\n method: \"head\" === o.method ? \"HEAD\" : \"GET\",\n mode: \"cors\",\n priority: A.priority,\n redirect: \"follow\",\n signal: a\n }, (l || u) && (r.fetchOptions.body = l || u), \"anonymous\" === o.authMode && (r.useIdentity = !1), r.hasToken = !!(/token=/i.test(s) || o.query?.token || l?.get(\"token\")), !r.hasToken && O(s) && (o.query || (o.query = {}), o.query.token = e.apiKey, r.hasToken = !0), r.useIdentity && !r.hasToken && !r.credentialToken && !W(s) && !i(a)) {\n let e;\n \"immediate\" === o.authMode ? (await $(), e = await t.getCredential(s, {\n signal: a\n }), r.credential = e) : \"no-prompt\" === o.authMode ? (await $(), e = await t.getCredential(s, {\n prompt: !1,\n signal: a\n }).catch(() => {}), r.credential = e) : t && (e = t.findCredential(s)), e && (r.credentialToken = e.token, r.useSSL = !!e.ssl);\n }\n}\nfunction W(e) {\n return F.some(t => t.test(e));\n}\nasync function G(e) {\n let r = e.params.url;\n const s = e.params.requestOptions,\n o = e.fetchOptions ?? {},\n a = c(r) || u(r),\n i = s.responseType || \"json\",\n l = a ? 0 : null != s.timeout ? s.timeout : A.timeout;\n let d = !1;\n if (!a) {\n e.useSSL && (r = f(r));\n let a = {\n ...s.query\n };\n e.credentialToken && (a.token = e.credentialToken);\n let n = y(a);\n has(\"esri-url-encodes-apostrophe\") && (n = n.replaceAll(\"'\", \"%27\"));\n const i = r.length + 1 + n.length;\n let l;\n d = \"delete\" === s.method || \"post\" === s.method || \"put\" === s.method || !!s.body || i > A.maxUrlLength;\n const u = s.useProxy || !!w(r);\n if (u) {\n const e = g(r);\n l = e.path, !d && l.length + 1 + i > A.maxUrlLength && (d = !0), e.query && (a = {\n ...e.query,\n ...a\n });\n }\n if (\"HEAD\" === o.method && (d || u)) {\n if (d) {\n if (i > A.maxUrlLength) throw N(\"request:invalid-parameters\", new Error(\"URL exceeds maximum length\"), e.params);\n throw N(\"request:invalid-parameters\", new Error(\"cannot use POST request when method is 'head'\"), e.params);\n }\n if (u) throw N(\"request:invalid-parameters\", new Error(\"cannot use proxy when method is 'head'\"), e.params);\n }\n if (d ? (o.method = \"delete\" === s.method ? \"DELETE\" : \"put\" === s.method ? \"PUT\" : \"POST\", s.body ? r = b(r, a) : (o.body = y(a), o.headers || (o.headers = {}), o.headers[\"Content-Type\"] = \"application/x-www-form-urlencoded\")) : r = b(r, a), u && (e.useProxy = !0, r = `${l}?${r}`), a.token && P && o.body instanceof FormData && !k(r) && o.body.set(\"token\", a.token), s.hasOwnProperty(\"withCredentials\")) e.withCredentials = s.withCredentials;else if (!q(r, S())) if (h(r)) e.withCredentials = !0;else if (t) {\n const s = t.findServerInfo(r);\n s?.webTierAuth && (e.withCredentials = !0);\n }\n e.withCredentials && (o.credentials = \"include\", C(r) && (await x(d ? b(r, a) : r)));\n }\n let p,\n O,\n v = 0,\n E = !1;\n l > 0 && (v = setTimeout(() => {\n E = !0, e.controller.abort();\n }, l));\n try {\n if (\"native-request-init\" === s.responseType) O = o, O.url = r, s.signal ? O.signal = s.signal : delete O.signal;else if (\"image\" !== s.responseType || \"default\" !== o.cache || \"GET\" !== o.method || d || K(s.headers) || !a && !e.useProxy && A.proxyUrl && !M(r)) {\n if (U._beforeFetch && (await U._beforeFetch(r, o)), p = await fetch(r, o), U._afterFetch && (await U._afterFetch(p)), e.useProxy || R(r), \"native\" === s.responseType) O = p;else if (\"HEAD\" !== o.method) if (p.ok) {\n switch (i) {\n case \"array-buffer\":\n O = await p.arrayBuffer();\n break;\n case \"blob\":\n case \"image\":\n O = await p.blob();\n break;\n default:\n O = await p.text();\n }\n if (v && (clearTimeout(v), v = 0), \"json\" === i || \"xml\" === i || \"document\" === i) if (O) switch (i) {\n case \"json\":\n O = JSON.parse(O);\n break;\n case \"xml\":\n O = X(O, \"application/xml\");\n break;\n case \"document\":\n O = X(O, \"text/html\");\n } else O = null;\n if (O) {\n if (\"array-buffer\" === i || \"blob\" === i) {\n const e = p.headers.get(\"Content-Type\");\n if (e && /application\\/json|text\\/plain/i.test(e) && O[\"blob\" === i ? \"size\" : \"byteLength\"] <= 750) try {\n const e = await new Response(O).json();\n e.error && (O = e);\n } catch {}\n }\n \"image\" === i && O instanceof Blob && (O = await Y(URL.createObjectURL(O), e, !0));\n }\n } else {\n O = await p.text();\n try {\n O = JSON.parse(O);\n } catch {}\n }\n } else O = await Y(r, e);\n } catch (j) {\n if (\"AbortError\" === j.name) {\n if (E) throw L();\n throw n(\"Request canceled\");\n }\n if (!(!p && j instanceof TypeError && A.proxyUrl) || s.body || \"delete\" === s.method || \"head\" === s.method || \"post\" === s.method || \"put\" === s.method || e.useProxy || M(r)) throw j;\n e.redoRequest = !0, T({\n proxyUrl: A.proxyUrl,\n urlPrefix: m(r) ?? \"\"\n });\n } finally {\n v && clearTimeout(v);\n }\n return [p, O];\n}\nasync function J(e, t) {\n if (null != e.responseData) return e.responseData;\n if (e.headers && (t.requestOptions.headers = {\n ...t.requestOptions.headers,\n ...e.headers\n }), e.query && (t.requestOptions.query = {\n ...t.requestOptions.query,\n ...e.query\n }), e.before) {\n let o, a;\n try {\n a = await e.before(t);\n } catch (s) {\n o = N(\"request:interceptor\", s, t);\n }\n if ((a instanceof Error || a instanceof r) && (o = N(\"request:interceptor\", a, t)), o) throw e.error && e.error(o), o;\n return a;\n }\n}\nfunction K(e) {\n if (e) for (const t of Object.getOwnPropertyNames(e)) if (e[t]) return !0;\n return !1;\n}\nfunction X(e, t) {\n let r;\n try {\n r = new DOMParser().parseFromString(e, t);\n } catch {}\n if (!r || r.getElementsByTagName(\"parsererror\").length) throw new SyntaxError(\"XML Parse error\");\n return r;\n}\nasync function Q(e) {\n let r, s;\n await z(e);\n try {\n do {\n [r, s] = await G(e);\n } while (!(await V(e, r, s)));\n } catch (n) {\n const t = N(\"request:server\", n, e.params, r);\n throw t.details.ssl = e.useSSL, e.interceptor?.error && e.interceptor.error(t), t;\n }\n const o = e.params.url;\n if (s && /\\/sharing\\/rest\\/(accounts|portals)\\/self/i.test(o)) {\n if (!e.hasToken && !e.credentialToken && s.user?.username && !h(o)) {\n const e = m(o, !0);\n e && A.trustedServers.push(e);\n }\n Array.isArray(s.authorizedCrossOriginNoCorsDomains) && v(s.authorizedCrossOriginNoCorsDomains);\n }\n const a = e.credential;\n if (a && t) {\n const e = t.findServerInfo(a.server);\n let r = e?.owningSystemUrl;\n if (r) {\n r = r.replace(/\\/?$/, \"/sharing\");\n const e = t.findCredential(r, a.userId);\n e && -1 === t._getIdenticalSvcIdx(r, e) && e.resources.unshift(r);\n }\n }\n return {\n data: s,\n getAllHeaders: r ? () => Array.from(r.headers) : H,\n getHeader: r ? e => r.headers.get(e) : H,\n httpStatus: r?.status ?? 200,\n requestOptions: e.params.requestOptions,\n ssl: e.useSSL,\n url: e.params.url\n };\n}\nasync function V(e, r, s) {\n if (e.redoRequest) return e.redoRequest = !1, !1;\n const o = e.params.requestOptions;\n if (!r || \"native\" === o.responseType || \"native-request-init\" === o.responseType) return !0;\n let a, n;\n if (s && (s.error && \"object\" == typeof s.error ? a = s.error : \"error\" === s.status && Array.isArray(s.messages) && (a = {\n ...s\n }, a[I] = s, a.details = s.messages)), !a && !r.ok) throw a = new Error(`Unable to load ${r.url} status: ${r.status}`), a[I] = s, a;\n let i,\n l = null;\n a && (n = Number(a.code), l = a.hasOwnProperty(\"subcode\") ? Number(a.subcode) : null, i = a.messageCode, i = i?.toUpperCase());\n const u = o.authMode;\n if (403 === n && (4 === l || a.message?.toLowerCase().includes(\"ssl\") && !a.message.toLowerCase().includes(\"permission\"))) {\n if (!e.useSSL) return e.useSSL = !0, !1;\n } else if (!e.hasToken && e.useIdentity && (\"no-prompt\" !== u || 498 === n) && void 0 !== n && _.has(n) && !W(e.params.url) && (403 !== n || (!i || !D.has(i)) && (null == l || 2 === l && e.credentialToken))) {\n await $();\n try {\n const r = await t.getCredential(e.params.url, {\n error: N(\"request:server\", a, e.params),\n prompt: \"no-prompt\" !== u,\n signal: e.controller.signal,\n token: e.credentialToken\n });\n return e.credential = r, e.credentialToken = r.token, e.useSSL = e.useSSL || r.ssl, !1;\n } catch (c) {\n if (\"no-prompt\" === u) return e.credential = void 0, e.credentialToken = void 0, !1;\n a = c;\n }\n }\n if (a) throw a;\n return !0;\n}\nfunction Y(e, t, r = !1) {\n const s = t.controller.signal,\n o = new Image();\n return t.withCredentials ? o.crossOrigin = \"use-credentials\" : o.crossOrigin = \"anonymous\", o.alt = \"\", o.fetchPriority = A.priority, o.src = e, E(o, e, r, s);\n}\nU._corsServers = [\"https://server.arcgisonline.com\", \"https://services.arcgisonline.com\"], U._beforeFetch = void 0, U._afterFetch = void 0;\nexport { U as default };"],"mappings":"yWAIA,IAAMA,GAAI,WACRC,GAAI,2CCEN,OAAO,UAAY,OAAO,gBAAgB,EAAG,OAAO,eAAiB,OAAO,qBAAqB,EACjG,IAAMC,GAAI,OACNC,EACFC,GAAIF,GACNE,GAAI,SACJ,SAASC,GAAEC,EAAG,CACZH,EAAIG,CACN,CACA,SAASC,GAAE,EAAG,CACZ,IAAM,EAAIJ,GAAG,eAAe,CAAC,EAC7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","n","r","i","o","n","c","a","l","u","r","m","has","s","t","e","X","d","F","C","f","__async","I","U","t","__async","A","r","tt","s","Z","K","a","__spreadValues","n","e","H","i","D","J","h","has","N","B","j","m","f","y","w","Q","P","_","F","I","R","X","M","o","l","u","b","$","z","W","c","G","d","$t","v","T","Et","C","p","O","E","Y","V"],"x_google_ignoreList":[0,1,2,3,4]}