@arcgis/map-components 4.32.0-next.71 → 4.32.0-next.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{DBL4XJW3.js → 24GS76HY.js} +2 -2
- package/dist/arcgis-map-components/{CEQHTMKJ.js → 2JBW4BOI.js} +2 -2
- package/dist/arcgis-map-components/{7JON2QX4.js → 3E2TDX2O.js} +2 -2
- package/dist/arcgis-map-components/{PLMTA7R6.js → 45KI6NDO.js} +2 -2
- package/dist/arcgis-map-components/{DDXYAK56.js → 46ND5HT6.js} +2 -2
- package/dist/arcgis-map-components/{FRWLWSZ7.js → 4FRRFFHX.js} +2 -2
- package/dist/arcgis-map-components/{DWOA2QDT.js → 4IF6ZFZQ.js} +2 -2
- package/dist/arcgis-map-components/{62GYZNWD.js → 57F6FKWE.js} +2 -2
- package/dist/arcgis-map-components/{HLVLX6V3.js → 5FY7XVHG.js} +2 -2
- package/dist/arcgis-map-components/{FQOMTKTN.js → 5OUFTSJ2.js} +2 -2
- package/dist/arcgis-map-components/{BKAXQUZC.js → 6NOH6HWU.js} +2 -2
- package/dist/arcgis-map-components/{UY7YEPHF.js → 7MTJ667P.js} +2 -2
- package/dist/arcgis-map-components/{Q6YZJMG2.js → AIO6J67Y.js} +2 -2
- package/dist/arcgis-map-components/{ARTGHGAY.js → B7KQYPLN.js} +2 -2
- package/dist/arcgis-map-components/{VFIXIW65.js → BGJNLAZ5.js} +2 -2
- package/dist/arcgis-map-components/{CW6CD6X2.js → BQCC4MP3.js} +2 -2
- package/dist/arcgis-map-components/{BZGYDGG5.js → CJGN2I5U.js} +2 -2
- package/dist/arcgis-map-components/DCILFCER.js +8 -0
- package/dist/arcgis-map-components/{GUOTI35E.js → DLRFNNKK.js} +2 -2
- package/dist/arcgis-map-components/{YMKKIEBY.js → DPLQLBIH.js} +2 -2
- package/dist/arcgis-map-components/{EXPEH54Z.js → DU4PZ477.js} +2 -2
- package/dist/arcgis-map-components/{WIBHJTGL.js → DUNFZDKI.js} +2 -2
- package/dist/arcgis-map-components/{BEKBQXMV.js → EI262WRA.js} +2 -2
- package/dist/arcgis-map-components/{3DCHXA64.js → EIOSYAPN.js} +2 -2
- package/dist/arcgis-map-components/{EYJBQIAY.js → EMXIMQUA.js} +1 -1
- package/dist/arcgis-map-components/{LDG2FYUI.js → F3NWYBOH.js} +2 -2
- package/dist/arcgis-map-components/{QAXL3NUN.js → FC5UZ7WC.js} +2 -2
- package/dist/arcgis-map-components/{OHRHSPF3.js → GKAKA6KM.js} +1 -1
- package/dist/arcgis-map-components/{HD7TI7BD.js → GRPQ4OZZ.js} +2 -2
- package/dist/arcgis-map-components/{I6ZMLN6M.js → GSHHBG2Y.js} +2 -2
- package/dist/arcgis-map-components/{5BAIFUKW.js → HBUEEVSO.js} +2 -2
- package/dist/arcgis-map-components/{DGPIEBSL.js → IKZMO6ZV.js} +2 -2
- package/dist/arcgis-map-components/{NXIHS53B.js → JNG4ETFC.js} +2 -2
- package/dist/arcgis-map-components/{E6EQXNQZ.js → JQWYLUZ3.js} +2 -2
- package/dist/arcgis-map-components/{SZJR6ODT.js → KFIN65DU.js} +2 -2
- package/dist/arcgis-map-components/{FF6KKZBU.js → KTGEMVJF.js} +2 -2
- package/dist/arcgis-map-components/{JFMZLS4R.js → N7TNR4PV.js} +2 -2
- package/dist/arcgis-map-components/{M4OJIPEC.js → O3CENDHJ.js} +2 -2
- package/dist/arcgis-map-components/{DA7OKDDI.js → OGTJBLM7.js} +2 -2
- package/dist/arcgis-map-components/{YQSPA2Z3.js → ON7MB424.js} +2 -2
- package/dist/arcgis-map-components/{KDFOU6I6.js → P4KSWU3P.js} +2 -2
- package/dist/arcgis-map-components/{J37MSXL5.js → PFDUHW6R.js} +2 -2
- package/dist/arcgis-map-components/{AEGAALGY.js → Q2S4KDQP.js} +2 -2
- package/dist/arcgis-map-components/{PDHQEZWK.js → QWSQXNUG.js} +2 -2
- package/dist/arcgis-map-components/{KSVUEMDP.js → R5ONXRGH.js} +2 -2
- package/dist/arcgis-map-components/{HFMPRGCW.js → RFYPLRKW.js} +2 -2
- package/dist/arcgis-map-components/{7U5PQPV7.js → RN6XAHME.js} +2 -2
- package/dist/arcgis-map-components/{VFDDCSUU.js → RRCXNW5T.js} +2 -2
- package/dist/arcgis-map-components/{2WN6MLSJ.js → RZFHNFQG.js} +2 -2
- package/dist/arcgis-map-components/{2EHUUSZE.js → SJR7K33D.js} +2 -2
- package/dist/arcgis-map-components/{YOZVFR3G.js → SLUA5U7G.js} +2 -2
- package/dist/arcgis-map-components/{4OAMACMX.js → SMYLZF3X.js} +2 -2
- package/dist/arcgis-map-components/{RWRKXI64.js → SN66EUX2.js} +2 -2
- package/dist/arcgis-map-components/{26AJXJ63.js → SSBRPB2L.js} +2 -2
- package/dist/arcgis-map-components/{IOUHZRGY.js → T2PR6S6N.js} +2 -2
- package/dist/arcgis-map-components/{NEQ623ZJ.js → TEAKKNJZ.js} +2 -2
- package/dist/arcgis-map-components/{PHL4BVAH.js → TWUS2BUI.js} +2 -2
- package/dist/arcgis-map-components/{2QCL5BRG.js → UAFN6RG5.js} +2 -2
- package/dist/arcgis-map-components/{7ARBPF4E.js → UFLXRM7M.js} +2 -2
- package/dist/arcgis-map-components/{GCLD7SDC.js → UMY4XCNK.js} +1 -1
- package/dist/arcgis-map-components/{DZSFH3UY.js → URISU6GT.js} +1 -1
- package/dist/arcgis-map-components/{CHZZBFMM.js → V6ICONRJ.js} +2 -2
- package/dist/arcgis-map-components/{STIRRLTE.js → VGP5JDE4.js} +2 -2
- package/dist/arcgis-map-components/{35MM7IOQ.js → W5BODCLI.js} +2 -2
- package/dist/arcgis-map-components/{ABLRFUQO.js → W5FZIAYV.js} +2 -2
- package/dist/arcgis-map-components/{2GVJOJPX.js → XCPTC4GK.js} +2 -2
- package/dist/arcgis-map-components/{IZZYWJYK.js → Y3TBTGHA.js} +2 -2
- package/dist/arcgis-map-components/{7ZUURAXI.js → YJAL57TD.js} +2 -2
- package/dist/arcgis-map-components/{LQ3MSQI6.js → YR2WSN7X.js} +2 -2
- package/dist/arcgis-map-components/{2MWW7SNJ.js → Z2RBBHJE.js} +2 -2
- package/dist/arcgis-map-components/{Y36RF2V2.js → ZVIU4YDB.js} +2 -2
- package/dist/arcgis-map-components/{U4EXWY6J.js → ZXXRSOM3.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/react.d.ts +283 -341
- package/package.json +5 -5
- package/dist/arcgis-map-components/OIRXDYBX.js +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.73",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
],
|
|
41
41
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
|
44
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
45
|
-
"@arcgis/core-adapter": "4.32.0-next.
|
|
46
|
-
"@arcgis/lumina": "4.32.0-next.
|
|
43
|
+
"@arcgis/components-controllers": "4.32.0-next.73",
|
|
44
|
+
"@arcgis/components-utils": "4.32.0-next.73",
|
|
45
|
+
"@arcgis/core-adapter": "4.32.0-next.73",
|
|
46
|
+
"@arcgis/lumina": "4.32.0-next.73",
|
|
47
47
|
"tslib": "^2.7.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.71
|
|
5
|
-
*/
|
|
6
|
-
function Bo(...e){let t=[];for(let o=0;o<e.length;o++){let r=e[o];if(typeof r=="string")t.push(r);else if(Array.isArray(r))t.push.apply(t,r);else if(typeof r=="object")for(let n in r)r[n]&&t.push(n)}let s=t.join(" ");return t.length=0,s}var E=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Ve(e,t){let s=e;for(;s;){if(s===t)return!0;if(!s.parentNode)return!1;s.parentNode instanceof ShadowRoot?s=s.parentNode.host:s=s.parentNode}return!1}function ze(e,t,s){let{subscribe:o}=He(t);return o(r=>{r.some(i=>Ve(e,i.target))&&s()})}var gt={};function He(e){let t=e.join(","),s=gt[t];if(s!==void 0)return s;let o=new Set,r=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&r.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(r.disconnect(),gt[t]=void 0)}}}};return gt[t]=n,n}function We(e,t){let s=e;for(;s;){let o=s.closest?.(t);if(o)return o;let r=s.getRootNode?.();if(r===globalThis.document)return null;s=r.host}return null}function qe(e,t,s){return We(e,`[${t}]`)?.getAttribute(t)??s}function p(e,t,...s){try{return e?.call(t,...s)}catch(o){console.error(o,e)}}async function W(e,t,...s){try{let o=e?.call(t,...s);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var Be=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Fe=new Set(Be),tt="en",Ge={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function zt(e,t,s=""){let o=`${t}/${s}`,r=`${o}${e}.json`;return bt[r]??(bt[r]=Ht(e,o)),await bt[r]}var bt={};async function Ht(e,t){let s=`${t}${e}.json`;try{let o=await fetch(s);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Ht(tt,t)}function Et(e){let t=qe(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:Wt(t)}}function Wt(e){let[t,s]=e.split("-"),o=t.toLowerCase(),r=o;return s&&(r=`${o}-${s.toUpperCase()}`),r=Ge[r]??r,Fe.has(r)?r:s?Wt(o):tt}function qt(e,t,s,o){let r,n=()=>void Ke(e,t,o).then(i=>{(r?.lang!==i.lang||r.t9nLocale!==i.t9nLocale||r.t9nStrings!==i.t9nStrings)&&s(i),r=i}).catch(console.error);return n(),ze(e,["lang"],n)}async function Ke(e,t,s=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:r}=Et(e),n=`${t}/${s}/t9n`,c=s===null?{}:await zt(r,n,"messages.");if(s!==null&&Object.keys(c).length===0){let a=`${s}.t9n.`;c=await zt(r,n,a)}return{lang:o,t9nLocale:r,t9nStrings:c}}var et=e=>e.replace(Je,(t,s)=>`${s===0?"":"-"}${t.toLowerCase()}`),Je=/[A-Z]+(?![a-z])|[A-Z]/gu;function Bt(e,t){let s=t>Ye?Qe:t/Ze,o=0,r=setInterval(()=>{o+=s,o>=t&&(clearInterval(r),e())},s);return r}var Ye=4e3,Qe=2e3,Ze=4;function Ft(e){return e!==void 0}var Gt=";",ot=",",Kt=":";function _t(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let s=t;return s.manager?.loadedCalled||s._offspring.push(e),s._postLoad.promise}return!1}var Xe=(e,t)=>function(o,r){if(!globalThis.customElements)return;let i=(r??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(to)};function to([e,[t,s=""]]){if(customElements.get(e))return;let[o,r,n]=s.split(Gt),i=o?o?.split(ot).map(Jt):void 0,c=i?.map(([h])=>h),a=class extends oo{static{this.observedAttributes=i?.map(([,h])=>h).filter(h=>h!=="")}static{this._properties=c}static{this._asyncMethods=r?r?.split(ot):void 0}static{this._syncMethods=n?.split(ot)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var st=Object.defineProperty;function Jt(e){let t=e.split(Kt);return t.length===1?[t[0],et(t[0])]:t}var eo=globalThis.HTMLElement??Jt,oo=class extends eo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){st(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){st(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){st(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=t[s],delete t[s])})}attributeChangedCallback(e,t,s){this._litElement?.attributeChangedCallback(e,t,s),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=_t(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,s=t._name,o=this._store,r=Object.values(e).find(u=>u.tagName===s),n=`${s}--lazy`,i=r;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let c=i.prototype,a=Element.prototype;Object.hasOwn(c,"isConnected")||(c.setAttribute=function(u,g){a.setAttribute.call(this.el,u,g)},c.removeAttribute=function(u){a.removeAttribute.call(this.el,u)},st(c,"isConnected",{get(){return Reflect.get(a,"isConnected",this.el)}})),!t._LitConstructor&&(t._LitConstructor=r,customElements.define(n,r)),r.lazy=this;let l=document.createElement(n);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(u=>{let g=this.getAttribute(u);l.attributeChangedCallback(u,null,g)}),Object.entries(o).forEach(so,l);let m=this.isConnected;(m||this._ancestorLoad)&&(l.connectedCallback?.(),m||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function so([e,t]){this[e]=t}var Ct={};function Yt(e,t){if(t){let s=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(s,([o,r])=>r.noAccessor?void 0:[o,[(r.readOnly?2048:0)|(r.state?32:16)]]).filter(Ft))}else{let s=e.constructor,o=s.__registerControllers?.(e)??void 0;if(s.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([r,[n]])=>(n&63)!==0))}}function Qt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Zt=(e,t)=>e.manager.internals.members?.[t]?.[0];var nt=Symbol.for("controller");var ee=e=>typeof e=="object"&&e!==null&&(nt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var q;function k(e){q!==e&&(q=e,queueMicrotask(()=>{q===e&&(q=void 0)}))}function P(e){return q}var T=[];function xt(e){if(e===void 0){T=[];return}let t=T.indexOf(e);T=t===-1?[...T,e]:T.slice(0,t+1),queueMicrotask(()=>{T=[]})}function At(){return T}var V;function ro(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function no(){let e=V;return V=void 0,e}var io=async(e,t)=>{let s=Lt(e);if(s===void 0)return e;if(await s.ready,typeof t=="function"){let o=s.watchExports(r=>t(r,o))}return s.exports},ao=async e=>{let t=Lt(e);return await t.ready,t},Lt=e=>{let s=P().manager.internals.resolveExports(e);if(s!==void 0)return s;if(ee(e))return e;let o=no();if(o!==void 0)return o},$={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,oe;oe=nt;var Ot=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new E,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[oe]=!0,this.ready=this._ready.promise,this._exports=te(this),this._exportWatchers=new Set;let t=e??P(new.target.name);this.component=t,this.component.addController(this),this.component.manager===void 0||(xt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?te(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return k(this.component),io}get useRef(){return k(this.component),ao}get useRefSync(){return k(this.component),Lt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Xt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Xt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){k(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Xt(e){p(e,void 0,this)}var se=Ot;function te(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(s,o,r){if(!(co.has(o)&&o in s&&s[o]===t)&&(o in s||o in Promise.prototype||typeof o=="symbol"))return typeof s=="function"?s[o]:Reflect.get(s,o,r)},set:(s,o,r,n)=>Reflect.set(s,o,r,n)});return t}var co=new Set(["exports","_exports"]);function re(e,t,s){let o=Object.keys(e),r=o.length;N===void 0&&queueMicrotask(F),N??(N=new Map);let n=N.get(e);return n===void 0&&(n={callbacks:[],keyCount:r},N.set(e,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let c=h=>p(t,null,h),a=i[r];a===void 0?c(void 0):e[a]===s?c(a):c(void 0)}),s}var N=void 0;function F(){Array.from(N?.entries()??[]).forEach(([e,{callbacks:t}])=>{let s=Object.keys(e);t.forEach(o=>o(s))}),N=void 0}function G(e,t,s){var o;let r=t,n=e.manager.internals;(o=n.allWatchers)[r]??(o[r]=[]);let i=n.allWatchers[r],c=s,a=(h,d,l)=>p(c,null,h,d,l);return i.push(a),()=>{let h=i.indexOf(a);h!==-1&&i.splice(h,1)}}var ne=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([s,[o]])=>{var r;o&2048&&((r=t.setters)[s]??(r[s]=[]),t.setters[s].push(t.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,s,o)=>{if($.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let s=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],s.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,s=t.constructor.prototype;if(this._getSetProxy(s,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;s!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,s){let o=this.component,r=Zt(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=rt in i,h=rt in c;if(a&&h)return;let d=!a,l=!h,m=d?function(){let b=i.call(this),C=B.get(this);if($.getter||C===void 0)return b;let O=C.manager.internals;b=O.accessorGetter[t](b,t);let v=O.getters[t]??wt;for(let w=0;w<v.length;w++)b=v[w](b,t);return b}:i,u=l?function(b){let C=i.call(this),O=B.get(this);if(O===void 0){c.call(this,b);return}let v=O.manager.isLit?b??void 0:Qt(b,r),w=O.manager.internals;if(v===C)c.call(this,v);else{let Vt=$.setter?wt:w.setters[t]??wt;for(let H=0;H<Vt.length&&(v=Vt[H](v,C,t),v!==C);H++);v=w.accessorSetter[t](v,C,t),c.call(this,v),v!==C&&w.enabledWatchers[t]?.forEach(H=>H(v,C,t))}w.keyTrackers.length>0&&w?.firePropTrackers(t,b)}:c;d&&(m[rt]=!0),l&&(u[rt]=!0),Object.defineProperty(e,t,{...n,get:m,set:u})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},wt=[],rt=Symbol(),$t=Symbol();function ie(e,t,s){let o=e.manager.internals;return o.trackedValue!==$t&&o.trackedValue!==s&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=s,o.keyTrackers.push((r,n)=>p(t,void 0,s===n?r:void 0)),s}function it(e=[P(),...At()],t,s){let o=Array.isArray(e)?e:[e],r=o.length+1,n=c=>{r-=1,c!==void 0&&(r=Math.min(r,0)),r===0&&t(c)};o.forEach(c=>re(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),s));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&ie(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),s),s}function lo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function ho(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function ae(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ce=e=>(...t)=>{let s=At(),o=new e(...t),r=o.exports;xt(s.at(-1));let n=o.component.manager.internals;n.markExports(o,r),o.watchExports(c=>n.markExports(o,c)),ro(o);let i=[o.component,...s].reverse();return it(i,c=>c===void 0?void 0:po(o,c,r),r)};function po(e,{host:t,key:s,isReactive:o},r){let n=t,i=n[s]!==e.exports,c=n[s]!==r,a=r!==e.exports;if(i&&!c&&a&&(n[s]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[s]),G(e.component,s,l=>{l!==e.exports&&d.markExports(e,l)})}e.assignedProperty=o?void 0:s}e.watchExports(()=>{if(n[s]===e.exports)return;let d=e.component.manager;d.internals.setters[s]?.includes(d.internals.readonlySetter)?ae(()=>{n[s]=e.exports}):n[s]=e.exports})}var de=(e,t)=>new uo(e,t),uo=class extends se{constructor(e,t){let s="addController"in e,o=new Set;function r(a){o.add(a),!(nt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=r,i.removeController=n,!s){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new ne(this.component),this.destroyed=!1,this._updatePromise=new E,this._originalLifecycles={},this.isLit=s,this.component.manager=this,Yt(e,s),this._controllers=o,this.exports=void 0,this.hasDestroy=Pt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=le,c.accessorSetter[a]=le,c.getSetProxy(a)}),s?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),k(e),B.set(e.el,e),B.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,s=e.el===e;this._originalLifecycles={_connectedCallback:t||s?void 0:e.connectedCallback,_disconnectedCallback:t||s?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),r=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:r,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=r,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Pt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(mo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(yo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,vo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&G(this.component,Pt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(go),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(bo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(Eo,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new E,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(_o),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Bt(e,fo)}}},Pt="autoDestroyDisabled",fo=1e3;var le=e=>e;function mo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function yo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function vo(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function go(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function bo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function Eo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function _o(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var pe=e=>wo(void 0,e);var Co=class extends Ot{constructor(e,t){super(e);let s=this.exports;try{k(this.component);let o=t(this.component,this),r=this.exports!==s;if(o instanceof Promise){r||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!r||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},wo=ce(Co);var ws=pe;var xs=(e,t)=>(s={})=>pe((o,r)=>{let n=Et(o.el),i={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},c=o;queueMicrotask(()=>r.onLifecycle(()=>qt(o.el,e("./assets"),({t9nLocale:h,t9nStrings:d,lang:l})=>{let m={...d,_lang:l,_t9nLocale:h,_loading:!1};r.exports=m;let u=d.componentLabel??d.widgetLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=u)),a(c.messageOverrides)},s.name)));function a(h){let d=r.exports,l=d._original??d,m=ue(l,h);h&&(m._original=l),r.exports=m}return"messageOverrides"in c&&r.onLifecycle(()=>G(c,"messageOverrides",a)),s.blocking?(r.setProvisionalExports(i,!1),r.ready):i});function ue(e,t){if(!t)return e;let s={...e};return Object.entries(t).forEach(([o,r])=>{typeof r=="object"?s[o]=ue(e[o],r):s[o]=r??e[o]}),s}var As=e=>$o,he="arcgisPropertyChange";function $o(...e){let t=P(),o=t[he];return t.manager.isLit&&(o=t.constructor.$createEvent(he,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(r=>G(t,r,()=>o.emit({name:r}))))),o}var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),fe=new WeakMap,K=class{constructor(t,s,o){if(this._$cssResult$=!0,o!==St)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}get styleSheet(){let t=this.o,s=this.t;if(ct&&t===void 0){let o=s!==void 0&&s.length===1;o&&(t=fe.get(s)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&fe.set(s,t))}return t}toString(){return this.cssText}},me=e=>new K(typeof e=="string"?e:e+"",void 0,St),xo=(e,...t)=>{let s=e.length===1?e[0]:t.reduce((o,r,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[n+1],e[0]);return new K(s,e,St)},Tt=(e,t)=>{if(ct)e.adoptedStyleSheets=t.map(s=>s instanceof CSSStyleSheet?s:s.styleSheet);else for(let s of t){let o=document.createElement("style"),r=at.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=s.cssText,e.appendChild(o)}},lt=ct?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let s="";for(let o of t.cssRules)s+=o.cssText;return me(s)})(e):e;var kt=globalThis,ht=kt.trustedTypes,ye=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,Dt="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Rt="?"+x,Ao=`<${Rt}>`,j=document,Y=()=>j.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",jt=Array.isArray,Ce=e=>jt(e)||typeof e?.[Symbol.iterator]=="function",Nt=`[
|
|
7
|
-
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ve=/-->/g,ge=/>/g,D=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
|
|
8
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),be=/'/g,Ee=/"/g,we=/^(?:script|style|textarea|title)$/i,Ut=e=>(t,...s)=>({_$litType$:e,strings:t,values:s}),Ts=Ut(1),Ns=Ut(2),ks=Ut(3),y=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),_e=new WeakMap,R=j.createTreeWalker(j,129);function $e(e,t){if(!jt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ye!==void 0?ye.createHTML(t):t}var xe=(e,t)=>{let s=e.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<s;c++){let a=e[c],h,d,l=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===J?d[1]==="!--"?i=ve:d[1]!==void 0?i=ge:d[2]!==void 0?(we.test(d[2])&&(r=RegExp("</"+d[2],"g")),i=D):d[3]!==void 0&&(i=D):i===D?d[0]===">"?(i=r??J,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,h=d[1],i=d[3]===void 0?D:d[3]==='"'?Ee:be):i===Ee||i===be?i=D:i===ve||i===ge?i=J:(i=D,r=void 0);let u=i===D&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+Ao:l>=0?(o.push(h),a.slice(0,l)+Dt+a.slice(l)+x+u):a+x+(l===-2?c:u)}return[$e(e,n+(e[s]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:s},o){let r;this.parts=[];let n=0,i=0,c=t.length-1,a=this.parts,[h,d]=xe(t,s);if(this.el=e.createElement(h,o),R.currentNode=this.el.content,s===2||s===3){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(r=R.nextNode())!==null&&a.length<c;){if(r.nodeType===1){if(r.hasAttributes())for(let l of r.getAttributeNames())if(l.endsWith(Dt)){let m=d[i++],u=r.getAttribute(l).split(x),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:n,name:g[2],strings:u,ctor:g[1]==="."?pt:g[1]==="?"?ut:g[1]==="@"?ft:I}),r.removeAttribute(l)}else l.startsWith(x)&&(a.push({type:6,index:n}),r.removeAttribute(l));if(we.test(r.tagName)){let l=r.textContent.split(x),m=l.length-1;if(m>0){r.textContent=ht?ht.emptyScript:"";for(let u=0;u<m;u++)r.append(l[u],Y()),R.nextNode(),a.push({type:2,index:++n});r.append(l[m],Y())}}}else if(r.nodeType===8)if(r.data===Rt)a.push({type:2,index:n});else{let l=-1;for(;(l=r.data.indexOf(x,l+1))!==-1;)a.push({type:7,index:n}),l+=x.length-1}n++}}static createElement(t,s){let o=j.createElement("template");return o.innerHTML=t,o}};function U(e,t,s=e,o){if(t===y)return t;let r=o!==void 0?s.o?.[o]:s.l,n=Q(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(e),r._$AT(e,s,o)),o!==void 0?(s.o??=[])[o]=r:s.l=r),r!==void 0&&(t=U(e,r._$AS(e,t.values),r,o)),t}var dt=class{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:s},parts:o}=this._$AD,r=(t?.creationScope??j).importNode(s,!0);R.currentNode=r;let n=R.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let h;a.type===2?h=new z(n,n.nextSibling,this,t):a.type===1?h=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(h=new mt(n,this,t)),this._$AV.push(h),a=o[++c]}i!==a?.index&&(n=R.nextNode(),i++)}return R.currentNode=j,r}p(t){let s=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,s),s+=o.strings.length-2):o._$AI(t[s])),s++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,s,o,r){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=o,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,s=this._$AM;return s!==void 0&&t?.nodeType===11&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=U(this,t,s),Q(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ce(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==f&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(j.createTextNode(t)),this._$AH=t}$(t){let{values:s,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement($e(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(s);else{let n=new dt(r,this),i=n.u(this.options);n.p(s),this.T(i),this._$AH=n}}_$AC(t){let s=_e.get(t.strings);return s===void 0&&_e.set(t.strings,s=new Z(t)),s}k(t){jt(this._$AH)||(this._$AH=[],this._$AR());let s=this._$AH,o,r=0;for(let n of t)r===s.length?s.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=s[r],o._$AI(n),r++;r<s.length&&(this._$AR(o&&o._$AB.nextSibling,r),s.length=r)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},I=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,o,r,n){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=s,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=f}_$AI(t,s=this,o,r){let n=this.strings,i=!1;if(n===void 0)t=U(this,t,s,0),i=!Q(t)||t!==this._$AH&&t!==y,i&&(this._$AH=t);else{let c=t,a,h;for(t=n[0],a=0;a<n.length-1;a++)h=U(this,c[o+a],s,a),h===y&&(h=this._$AH[a]),i||=!Q(h)||h!==this._$AH[a],h===f?t=f:t!==f&&(t+=(h??"")+n[a+1]),this._$AH[a]=h}i&&!r&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},ut=class extends I{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},ft=class extends I{constructor(t,s,o,r,n){super(t,s,o,r,n),this.type=5}_$AI(t,s=this){if((t=U(this,t,s,0)??f)===y)return;let o=this._$AH,r=t===f&&o!==f||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==f&&(o===f||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,s,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}},Ae={M:Dt,P:x,A:Rt,C:1,L:xe,R:dt,D:Ce,V:U,I:z,H:I,N:ut,U:ft,B:pt,F:mt},Lo=kt.litHtmlPolyfillSupport;Lo?.(Z,z),(kt.litHtmlVersions??=[]).push("3.2.0");var Le=(e,t,s)=>{let o=s?.renderBefore??t,r=o._$litPart$;if(r===void 0){let n=s?.renderBefore??null;o._$litPart$=r=new z(t.insertBefore(Y(),n),n,void 0,s??{})}return r._$AI(e),r};var{is:Oo,defineProperty:Po,getOwnPropertyDescriptor:So,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,vt=globalThis,Oe=vt.trustedTypes,Do=Oe?Oe.emptyScript:"",Ro=vt.reactiveElementPolyfillSupport,X=(e,t)=>e,yt={toAttribute(e,t){switch(t){case Boolean:e=e?Do:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let s=e;switch(t){case Boolean:s=e!==null;break;case Number:s=e===null?null:Number(e);break;case Object:case Array:try{s=JSON.parse(e)}catch{s=null}}return s}},It=(e,t)=>!Oo(e,t),Pe={attribute:!0,type:String,converter:yt,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=Pe){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,s);r!==void 0&&Po(this.prototype,t,r)}}static getPropertyDescriptor(t,s,o){let{get:r,set:n}=So(this.prototype,t)??{get(){return this[s]},set(i){this[s]=i}};return{get(){return r?.call(this)},set(i){let c=r?.call(this);n.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Pe}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=ko(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let s=this.properties,o=[...To(s),...No(s)];for(let r of o)this.createProperty(r,s[r])}let t=this[Symbol.metadata];if(t!==null){let s=litPropertyMetadata.get(t);if(s!==void 0)for(let[o,r]of s)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[s,o]of this.elementProperties){let r=this._$Eu(s,o);r!==void 0&&this._$Eh.set(r,s)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let s=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)s.unshift(lt(r))}else t!==void 0&&s.push(lt(t));return s}static _$Eu(t,s){let o=s.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,s=this.constructor.elementProperties;for(let o of s.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Tt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,s,o){this._$AK(t,o)}_$EC(t,s){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:yt).toAttribute(s,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,s){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=o.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:yt;this._$Em=r,this[r]=i.fromAttribute(s,n.type),this._$Em=null}}requestUpdate(t,s,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??It)(this[t],s))return;this.P(t,s,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,s,o){this._$AL.has(t)||this._$AL.set(t,s),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(s){Promise.reject(s)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,n]of o)n.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],n)}let t=!1,s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(s)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach(s=>s.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(s=>this._$EC(s,this[s])),this._$EU()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[X("elementProperties")]=new Map,A[X("finalized")]=new Map,Ro?.({ReactiveElement:A}),(vt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=Le(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return y}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var jo=globalThis.litElementPolyfillSupport;jo?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=e=>(...t)=>({_$litDirective$:e,values:t}),S=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,o){this.t=t,this._$AM=s,this.i=o}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}};var Ne=M(class extends S{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let s=e.element.classList;for(let o of this.st)o in t||(s.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(s.add(o),this.st.add(o)):(s.remove(o),this.st.delete(o)))}return y}});var ke="important",Io=" !"+ke,De=M(class extends S{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,s)=>{let o=e[s];return o==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:s}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?s.removeProperty(o):s[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let n=typeof r=="string"&&r.endsWith(Io);o.includes("-")||n?s.setProperty(o,n?r.slice(0,-11):r,n?ke:""):s[o]=r}}return y}});var{I:Ir}=Ae;var Re=e=>e.strings===void 0;var Mo={},je=(e,t=Mo)=>e._$AH=t;var Vo=M(class extends S{constructor(e){if(super(e),e.type!==_.PROPERTY&&e.type!==_.ATTRIBUTE&&e.type!==_.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Re(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===y||t===f)return t;let s=e.element,o=e.name;if(e.type===_.PROPERTY){if(t===s[o])return y}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===s.hasAttribute(o))return y}else if(e.type===_.ATTRIBUTE&&s.getAttribute(o)===t+"")return y;return je(e),t}});var Ue=(e="",t={},s=P())=>{let o={emit:r=>{e===""&&F();let n=new CustomEvent(e,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return s.el.dispatchEvent(n),n}};return e===""&&it(void 0,r=>{e=r.key},o),o},Qr=Ue.bind(null,"");var Ho=()=>{},Wo=class Ie extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=de(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=Ho;let t=Ie.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let s=super.finalizeStyles(t),o=this.shadowRootOptions===Ct;return this.runtime?.commonStyles===void 0||o?s:[this.runtime.commonStyles,...s]}static createProperty(t,s){let o=typeof s=="number"?s:Array.isArray(s)?s[0]:0,r=Array.isArray(s)?s[1]:void 0;super.createProperty(t,{attribute:o&1&&typeof t=="string"?et(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),...r})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(s=>{this._postLoaded.reject(s),setTimeout(()=>{throw s})}))}createRenderRoot(){let t=this.el.shadowRoot,s=this.constructor,o=s.shadowRootOptions,n=t??(o===Ct?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return L.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...s.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return n}async _load(){let t=this.el._ancestorLoad??_t(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(o=>!o.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async o=>await o.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,s,o){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,s,o,r){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(s,n,r),()=>t.removeEventListener(s,n,r)))}async componentOnReady(){return await this._postLoaded.promise,this}};Wo.$createEvent=Ue;function Me(e){let t,s=r=>{t=new URL(r,globalThis.location?.href||void 0).href},o={...e,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:s,customElement(r,n){n.runtime=o,n.tagName=r,customElements.get(r)||customElements.define(r,n)}};return s(e.defaultAssetPath),o}var ln=e=>typeof e=="object"&&e!=null?Ne(e):e,hn=e=>typeof e=="object"&&e!=null?De(e):e;var pn=f;var qo=Me({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:mn,getAssetPath:yn,setAssetPath:vn}=qo;export{Bo as a,et as b,Bt as c,Ft as d,Xe as e,Ct as f,P as g,se as h,G as i,ie as j,it as k,lo as l,ho as m,ce as n,ws as o,xs as p,As as q,xo as r,Ts as s,Ns as t,ks as u,f as v,_ as w,M as x,S as y,Re as z,Qr as A,Wo as B,ln as C,hn as D,pn as E,qo as F,mn as G,yn as H};
|