{"version":3,"sources":["node_modules/@esri/calcite-components/dist/components/index.js","node_modules/@arcgis/core/widgets/support/componentsUtils.js","node_modules/@arcgis/core/core/domUtils.js","node_modules/@arcgis/core/libs/maquette-advanced-projector/advanced-projector-options.js","node_modules/@arcgis/core/libs/maquette-advanced-projector/utils.js","node_modules/@arcgis/core/libs/maquette-advanced-projector/projector.js","node_modules/@arcgis/core/widgets/support/tests.js","node_modules/@arcgis/core/widgets/Widget.js","node_modules/@arcgis/core/widgets/support/decorators/messageBundle.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.\n * v2.13.1\n */\nimport { d as darkMode, a as autoMode } from './resources.js';\nimport { s as stampVersion } from './config.js';\nimport { i as isBrowser } from './browser.js';\nexport { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';\n\n/**\n * Emits when the mode is dynamically toggled between light and dark on or in OS preferences.\n */\nfunction initModeChangeEvent() {\n const {\n classList\n } = document.body;\n const prefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n const getMode = () => classList.contains(darkMode) || classList.contains(autoMode) && prefersDark ? \"dark\" : \"light\";\n const emitModeChange = mode => document.body.dispatchEvent(new CustomEvent(\"calciteModeChange\", {\n bubbles: true,\n detail: {\n mode\n }\n }));\n const modeChangeHandler = newMode => {\n currentMode !== newMode && emitModeChange(newMode);\n currentMode = newMode;\n };\n let currentMode = getMode();\n // emits event on page load\n emitModeChange(currentMode);\n // emits event when changing OS mode preferences\n window.matchMedia(\"(prefers-color-scheme: dark)\").addEventListener(\"change\", event => modeChangeHandler(event.matches ? \"dark\" : \"light\"));\n // emits event when toggling between mode classes on \n new MutationObserver(() => modeChangeHandler(getMode())).observe(document.body, {\n attributes: true,\n attributeFilter: [\"class\"]\n });\n}\n\n/**\n * This file is imported in Stencil's `globalScript` config option.\n *\n * @see {@link https://stenciljs.com/docs/config#globalscript}\n */\nfunction appGlobalScript() {\n if (isBrowser()) {\n if (document.readyState === \"interactive\") {\n initModeChangeEvent();\n } else {\n document.addEventListener(\"DOMContentLoaded\", () => initModeChangeEvent(), {\n once: true\n });\n }\n }\n stampVersion();\n}\nconst globalScripts = appGlobalScript;\nglobalScripts();\n\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { getAssetPath as t, setAssetPath as o } from \"@esri/calcite-components/dist/components/index.js\";\nimport { getAssetUrl as s } from \"../../assets.js\";\nimport \"../../core/has.js\";\nimport { makeAbsolute as e } from \"../../core/urlUtils.js\";\nlet c;\nfunction n() {\n try {\n t(\".\");\n } catch {\n o(e(s(c)));\n }\n}\nfunction r(t) {\n const o = [];\n for (const s of Object.keys(t)) customElements.get(`calcite-${s}`) || o.push(t[s]?.());\n return o.length > 0 ? Promise.all(o) : null;\n}\nc = \"components/assets\";\nexport { n as commitAssetPath, r as loadCalciteComponents };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nfunction n(n) {\n return \"string\" == typeof n ? document.getElementById(n) : n ?? null;\n}\nfunction t(n, t) {\n for (;;) {\n const e = n.firstChild;\n if (!e) break;\n t.appendChild(e);\n }\n}\nexport { n as byId, t as reparent };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nconst e = {\n handleInterceptedEvent: (e, p, t, n) => (e.scheduleRender(), p.properties[`on${n.type}`].apply(p.properties.bind || t, [n]))\n};\nexport { e as defaultAdvancedProjectorOptions };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nconst e = {\n namespace: void 0,\n performanceLogger: () => {},\n eventHandlerInterceptor: void 0,\n styleApplyer: (e, r, t) => {\n \"-\" === r.charAt(0) ? e.style.setProperty(r, t) : e.style[r] = t;\n }\n },\n r = r => ({\n ...e,\n ...r\n });\nexport { r as applyDefaultProjectionOptions };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { dom as e } from \"../maquette/dom.js\";\nimport \"../maquette/projector.js\";\nimport { defaultAdvancedProjectorOptions as r } from \"./advanced-projector-options.js\";\nimport { applyDefaultProjectionOptions as t } from \"./utils.js\";\nconst o = (e, r) => {\n const t = [];\n for (; e && e !== r;) t.push(e), e = e.parentNode;\n return t;\n },\n n = (e, r) => e.find(r),\n d = (e, r, t = !1) => {\n let o = e;\n return r.forEach((e, d) => {\n const s = o?.children ? n(o.children, r => r.domNode === e) : void 0;\n t && !s && d !== r.length - 1 || (o = s);\n }), o;\n },\n s = n => {\n let s;\n const c = {\n ...r,\n ...n\n },\n i = t(c),\n a = i.performanceLogger;\n let m,\n p = !0,\n l = !1;\n const f = [],\n u = [],\n h = (e, r, t) => {\n let n;\n i.eventHandlerInterceptor = (e, r, t, i) => function (e) {\n let r;\n a(\"domEvent\", e);\n const t = o(e.currentTarget, n.domNode),\n i = t.some(e => customElements.get(e?.tagName?.toLowerCase()));\n if (e.eventPhase === Event.CAPTURING_PHASE || !i) t.reverse(), r = d(n.getLastRender(), t);else {\n const t = e.composedPath(),\n o = t.slice(t.indexOf(e.currentTarget), t.indexOf(n.domNode)).reverse();\n r = d(n.getLastRender(), o, !0);\n }\n let m;\n return r && (m = c.handleInterceptedEvent(s, r, this, e)), a(\"domEventProcessed\", e), m;\n }, c.postProcessProjectionOptions?.(i);\n const m = t();\n n = e(r, m, i), i.eventHandlerInterceptor = void 0, f.push(n), u.push(t), c.afterFirstVNodeRendered && c.afterFirstVNodeRendered(n, m);\n };\n let v = () => {\n if (m = void 0, p) {\n p = !1, a(\"renderStart\", void 0);\n for (let r = 0; r < f.length; r++) {\n const t = u[r]();\n a(\"rendered\", void 0);\n try {\n f[r].update(t);\n } catch (e) {\n console.error(e);\n }\n a(\"patched\", void 0);\n }\n a(\"renderDone\", void 0), p = !0;\n }\n };\n return c.modifyDoRenderImplementation && (v = c.modifyDoRenderImplementation(v, f, u)), s = {\n renderNow: v,\n scheduleRender: () => {\n m || l || (m = requestAnimationFrame(v));\n },\n stop: () => {\n m && (cancelAnimationFrame(m), m = void 0), l = !0;\n },\n resume: () => {\n l = !1, p = !0, s.scheduleRender();\n },\n append: (r, t) => {\n h(e.append, r, t);\n },\n insertBefore: (r, t) => {\n h(e.insertBefore, r, t);\n },\n merge: (r, t) => {\n h(e.merge, r, t);\n },\n replace: (r, t) => {\n h(e.replace, r, t);\n },\n detach: e => {\n for (let r = 0; r < u.length; r++) if (u[r] === e) return u.splice(r, 1), f.splice(r, 1)[0];\n throw new Error(\"renderFunction was not found\");\n }\n }, s;\n };\nexport { s as createAdvancedProjector };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nconst e = new Set();\nfunction n(n) {\n e.add(n), n.finally(() => e.delete(n));\n}\nfunction t() {\n return e.size > 0;\n}\nexport { t as hasPendingLoading, n as registerLoading };","/*\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 \"../intl.js\";\nimport { deprecatedFunction as t } from \"../core/deprecate.js\";\nimport { byId as r } from \"../core/domUtils.js\";\nimport s from \"../core/Evented.js\";\nimport { isEventedOrEventTarget as o, on as i } from \"../core/events.js\";\nimport \"../core/has.js\";\nimport { clone as n } from \"../core/lang.js\";\nimport a from \"../core/Logger.js\";\nimport { destroyMaybe as d } from \"../core/maybe.js\";\nimport { EsriPromiseMixin as l } from \"../core/Promise.js\";\nimport { debounce as c, throwIfNotAbortError as p } from \"../core/promiseUtils.js\";\nimport { watch as h, when as u, syncAndInitial as m } from \"../core/reactiveUtils.js\";\nimport { generateUUID as g } from \"../core/uuid.js\";\nimport { property as v } from \"../core/accessorSupport/decorators/property.js\";\nimport { cast as y } from \"../core/accessorSupport/decorators/cast.js\";\nimport { subclass as f } from \"../core/accessorSupport/decorators/subclass.js\";\nimport { runTracked as _ } from \"../core/accessorSupport/tracking.js\";\nimport { SimpleTrackingTarget as j } from \"../core/accessorSupport/tracking/SimpleTrackingTarget.js\";\nimport { createAdvancedProjector as b } from \"../libs/maquette-advanced-projector/projector.js\";\nimport { commitAssetPath as w } from \"./support/componentsUtils.js\";\nimport { isWidgetConstructor as S, processWidgets as R } from \"./support/jsxWidgetSupport.js\";\nimport { widgetTestDataSymbol as P, widgetSymbol as k } from \"./support/symbols.js\";\nimport { registerLoading as C } from \"./support/tests.js\";\nimport { getVNodeCache as E, setVNodeCache as L, deleteVNodeCache as F, clearVNodeCache as T } from \"./support/vnodeCache.js\";\nimport { classes as I } from \"./support/widgetUtils.js\";\nimport { onLocaleChange as H } from \"../intl/locale.js\";\nimport { fetchMessageBundle as N } from \"../intl/messages.js\";\nvar $;\nconst U = \"esri.widgets.Widget\";\nlet z = 0;\nfunction W(e, t) {\n const r = Object.prototype.hasOwnProperty;\n for (const s in t) r.call(t, s) && r.call(e, s) && (null != e[s] && null != t[s] && \"object\" == typeof e[s] && \"object\" == typeof t[s] ? W(e[s], t[s]) : e[s] = t[s]);\n return e;\n}\nconst x = b({\n postProcessProjectionOptions(e) {\n const t = e.eventHandlerInterceptor,\n r = /capture$/i;\n e.eventHandlerInterceptor = (e, s, o, i) => {\n const n = t?.(e, s, o, i),\n a = r.test(e);\n if (!((e = e.replace(r, \"\")).toLowerCase() in o) || a) {\n const t = e[2].toLowerCase() + e.slice(3),\n r = e => n?.call(o, e);\n o.addEventListener(t, r, a);\n const s = () => o.removeEventListener(t, r, a),\n d = i.afterRemoved;\n i.afterRemoved = e => {\n d?.(e), s();\n };\n }\n return n;\n };\n },\n handleInterceptedEvent(e, t, r, s) {\n const {\n eventPhase: o,\n type: i\n } = s,\n n = o === Event.CAPTURING_PHASE;\n let a = `on${i}${n ? \"capture\" : \"\"}`;\n const d = t.properties;\n (d && a in d || (a = `on${i[0].toUpperCase()}${i.slice(1)}${n ? \"Capture\" : \"\"}`, d && a in d)) && (T(), e.scheduleRender(), d[a].call(d.bind || r, s));\n }\n});\nlet A = !1,\n O = class extends l(s.EventedAccessor) {\n constructor(e, t) {\n super(e, t), this._attached = !1, this._projector = x, this._readyForTrueRender = !1, this.key = this, this.autoRenderingEnabled = !0, this._loadLocale = c(async () => {\n if (this._messageBundleProps?.length) {\n const e = await Promise.allSettled(this._messageBundleProps.map(async ({\n bundlePath: e,\n propertyName: t\n }) => {\n if (this.destroyed) return;\n let r = await N(e);\n this.uiStrings && Object.keys(this.uiStrings) && (r = W(n(r), this.uiStrings)), this[t] = r;\n }));\n if (this.destroyed) return;\n for (const t of e) \"rejected\" === t.status && a.getLogger(this).error(\"widget-intl:locale-error\", this.declaredClass, t.reason);\n }\n await this.loadLocale();\n }), w();\n const r = \"esri-widget-uid-\" + g(),\n s = this.render.bind(this);\n this._trackingTarget = new j(() => {\n this.autoRenderingEnabled && this.scheduleRender();\n });\n const o = () => ({\n vnodeSelector: \"div\",\n properties: {\n key: `${r}-hidden`,\n class: \"\",\n styles: {\n display: \"none\"\n }\n },\n domNode: null,\n children: void 0,\n text: void 0\n }),\n i = () => {\n if (!this._readyForTrueRender || this.destroyed) return null;\n const e = s() ?? o(),\n t = e.properties ??= {};\n if (t.key ??= r, S(e.vnodeSelector)) {\n if (!this.visible) return o();\n } else this.visible ? t.styles || (t.styles = {}) : (t.class = \"\", t.styles = {\n display: \"none\"\n }), t.styles.display ??= \"\";\n let i = 0;\n return e.children?.forEach(e => {\n S(e.vnodeSelector) || (e.properties ??= {}, e.properties.key ??= `${this.id}--${i++}`);\n }), R(this, e);\n };\n this.render = () => {\n if (A) return i();\n let e = E(this) ?? null;\n if (e) return e;\n this._trackingTarget.clear(), A = !0;\n try {\n e = _(this._trackingTarget, i);\n } catch (t) {\n throw a.getLogger(this).error(t), t;\n } finally {\n A = !1;\n }\n return e && L(this, e), e;\n };\n const d = this.beforeFirstRender();\n d ? this._resourcesFetch = d.then(() => {\n this._readyForTrueRender = !0, this._postInitialize();\n }) : (this._resourcesFetch = Promise.resolve().then(() => {\n this._postInitialize();\n }), this._readyForTrueRender = !0), this.addResolvingPromise(this._resourcesFetch), C(this._resourcesFetch);\n }\n normalizeCtorArgs(e, t) {\n const r = {\n ...e\n };\n return t && (r.container = t), r;\n }\n postInitialize() {}\n beforeFirstRender() {\n const e = this.loadDependencies();\n return this._messageBundleProps?.length || e ? Promise.all([e, this._loadLocale()]).then(() => {}).catch(p) : null;\n }\n loadDependencies() {\n return null;\n }\n loadLocale() {\n return null;\n }\n destroy() {\n this.destroyed || (d(this._trackingTarget), d(this.viewModel), this._detach(this.container), this._set(\"container\", null), this._emitter.clear(), this.render = () => null, this._projector = null, F(this));\n }\n set container(e) {\n this._get(\"container\") || this._set(\"container\", e);\n }\n castContainer(e) {\n return r(e);\n }\n get domNode() {\n return this.container;\n }\n set domNode(e) {\n this.container = e;\n }\n get icon() {\n return null;\n }\n set icon(e) {\n this._overrideIfSome(\"icon\", e);\n }\n get id() {\n return this._get(\"id\") || this.container?.id || Date.now().toString(16) + \"-widget-\" + z++;\n }\n set id(e) {\n e && this._set(\"id\", e);\n }\n get label() {\n return this.declaredClass.split(\".\").pop();\n }\n set label(e) {\n this._overrideIfSome(\"label\", e);\n }\n get renderable() {\n return this._resourcesFetch;\n }\n get visible() {\n return this._get(\"visible\");\n }\n set visible(e) {\n this._set(\"visible\", e);\n }\n get [($ = k, P)]() {\n return {\n projector: this._projector\n };\n }\n render() {\n throw new Error(\"not implemented\");\n }\n scheduleRender() {\n this.destroyed || (F(this), this._projector.scheduleRender());\n }\n own(e) {\n t(a.getLogger(this), \"`Widget.own()` is deprecated in favor of 'Widget.addHandles()'\", {\n replacement: \"Widget.addHandles()\",\n version: \"4.28\"\n }), this.addHandles(e);\n }\n classes(...e) {\n return I.apply(this, e);\n }\n renderNow() {\n F(this), this._projector.renderNow();\n }\n _postInitialize() {\n if (this.destroyed) return;\n this.scheduleRender(), this._delegatedEventNames?.length && this.addHandles(h(() => this.viewModel, (e, t) => {\n t && this.removeHandles(\"delegated-events\"), e && o(e) && this.addHandles(this._delegatedEventNames.map(t => i(e, t, e => {\n this.emit(t, e);\n })), \"delegated-events\");\n }, m)), this.postInitialize();\n const e = async () => {\n await this._loadLocale().catch(p), this.scheduleRender();\n };\n this.addHandles([H(e), h(() => this.uiStrings, e), u(() => this.container, e => {\n this.destroyed || this._attach(e);\n }, {\n initial: !0,\n once: !0\n })]);\n }\n _attach(e) {\n e && (this._projector.merge(e, this.render), this._attached = !0);\n }\n _detach(e) {\n this._attached && (this._projector.detach(this.render), this._attached = !1), e?.parentNode?.removeChild(e);\n }\n };\nO[$] = !0, O.vnodeSelector = \"div\", e([v()], O.prototype, \"_readyForTrueRender\", void 0), e([v({\n value: null\n})], O.prototype, \"container\", null), e([y(\"container\")], O.prototype, \"castContainer\", null), e([v()], O.prototype, \"icon\", null), e([v()], O.prototype, \"id\", null), e([v()], O.prototype, \"label\", null), e([v()], O.prototype, \"renderable\", null), e([v()], O.prototype, \"uiStrings\", void 0), e([v()], O.prototype, \"viewModel\", void 0), e([v({\n value: !0\n})], O.prototype, \"visible\", null), e([v()], O.prototype, \"key\", void 0), e([v()], O.prototype, \"children\", void 0), e([v()], O.prototype, \"afterCreate\", void 0), e([v()], O.prototype, \"afterUpdate\", void 0), e([v()], O.prototype, \"afterRemoved\", void 0), O = e([f(U)], O);\nconst B = O;\nexport { B 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*/\nfunction e(e) {\n return (s, r) => {\n s.hasOwnProperty(\"_messageBundleProps\") || (s._messageBundleProps = s._messageBundleProps ? s._messageBundleProps.slice() : []);\n s._messageBundleProps.push({\n bundlePath: e,\n propertyName: r\n });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CAAC,EAAE,CAAC,EAAGI,EAAE,UAAW,WAAY,MAAM,EAAGJ,EAAE,CAAC,EAAE,CAAC,EAAGI,EAAE,UAAW,cAAe,MAAM,EAAGJ,EAAE,CAAC,EAAE,CAAC,EAAGI,EAAE,UAAW,cAAe,MAAM,EAAGJ,EAAE,CAAC,EAAE,CAAC,EAAGI,EAAE,UAAW,eAAgB,MAAM,EAAGA,EAAIJ,EAAE,CAACF,EAAER,EAAC,CAAC,EAAGc,CAAC,EAC/Q,IAAMY,GAAIZ,ECzPV,SAASa,GAAE,EAAG,CACZ,MAAO,CAACC,EAAG,IAAM,CACfA,EAAE,eAAe,qBAAqB,IAAMA,EAAE,oBAAsBA,EAAE,oBAAsBA,EAAE,oBAAoB,MAAM,EAAI,CAAC,GAC7HA,EAAE,oBAAoB,KAAK,CACzB,WAAY,EACZ,aAAc,CAChB,CAAC,CACH,CACF","names":["initModeChangeEvent","classList","prefersDark","getMode","darkMode","autoMode","emitModeChange","mode","modeChangeHandler","newMode","currentMode","event","appGlobalScript","isBrowser","stampVersion","globalScripts","c","n","getAssetPath","setAssetPath","_","r","t","o","s","n","t","e","e","p","t","n","e","r","t","__spreadValues","o","r","t","n","d","e","s","c","__spreadValues","i","a","m","p","l","f","h","v","e","n","$","U","z","W","s","x","e","o","i","a","t","r","d","n","A","O","k","__async","_0","h","f","c","__spreadValues","u","l","g","p","B","e","s"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}