@arcgis/map-components 4.32.0-next.16 → 4.32.0-next.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{35P4ZVFR.js → 24IM3IYA.js} +2 -2
- package/dist/arcgis-map-components/{43V7URIL.js → 2SJEUV6P.js} +2 -2
- package/dist/arcgis-map-components/{IGATJWOV.js → 2XQN2DEF.js} +2 -2
- package/dist/arcgis-map-components/{QUSBQ4OK.js → 36TLEKKM.js} +2 -2
- package/dist/arcgis-map-components/{2YR6M353.js → 3GJDRYZD.js} +2 -2
- package/dist/arcgis-map-components/{5MU44G7R.js → 3UV7P3ZS.js} +2 -2
- package/dist/arcgis-map-components/{A4RLVC2A.js → 54RHYIBA.js} +2 -2
- package/dist/arcgis-map-components/{6EQFGE6N.js → 5CGBA7NN.js} +2 -2
- package/dist/arcgis-map-components/{SV55VUUT.js → 5SJW5ETM.js} +2 -2
- package/dist/arcgis-map-components/{NHABUMLT.js → 5X3Y5MWT.js} +2 -2
- package/dist/arcgis-map-components/{4HMYOX7P.js → 6TAU2HHR.js} +2 -2
- package/dist/arcgis-map-components/{TLEY3SYK.js → 7NTSJUM6.js} +2 -2
- package/dist/arcgis-map-components/{X5ZIU6WP.js → 7RAWFBYD.js} +2 -2
- package/dist/arcgis-map-components/{PBWEJMHW.js → 7YAAZLVO.js} +2 -2
- package/dist/arcgis-map-components/{BKQDQDEF.js → A5OO25SI.js} +2 -2
- package/dist/arcgis-map-components/{U5Y2JTBY.js → AT4F5YBW.js} +2 -2
- package/dist/arcgis-map-components/{XXPIG53C.js → BNT5YYZ7.js} +2 -2
- package/dist/arcgis-map-components/{DYXQQCAT.js → C5EQGLE7.js} +2 -2
- package/dist/arcgis-map-components/{HE276VDN.js → CIIKMH2S.js} +2 -2
- package/dist/arcgis-map-components/{3ZAO6TTP.js → CPL53M7F.js} +2 -2
- package/dist/arcgis-map-components/{UPGFD5BC.js → DWZN24SD.js} +2 -2
- package/dist/arcgis-map-components/{WBWZXLRU.js → F35UVLZG.js} +2 -2
- package/dist/arcgis-map-components/{ZJD6HG35.js → F5Q4RGVY.js} +1 -1
- package/dist/arcgis-map-components/{N36JFLPY.js → F6HSD542.js} +2 -2
- package/dist/arcgis-map-components/{L7QM54ST.js → FDOM5V6O.js} +2 -2
- package/dist/arcgis-map-components/{I7X7PQ5B.js → FGNRD57B.js} +2 -2
- package/dist/arcgis-map-components/{XFM6PCVT.js → GFJEZ3DR.js} +2 -2
- package/dist/arcgis-map-components/{7PC7FXI3.js → HHPJGPA5.js} +2 -2
- package/dist/arcgis-map-components/{WWUQ5FWW.js → HJYQOQXX.js} +2 -2
- package/dist/arcgis-map-components/{VWQCN3O2.js → I5GNCWQS.js} +2 -2
- package/dist/arcgis-map-components/{5M63L7YY.js → IBAIIVJY.js} +2 -2
- package/dist/arcgis-map-components/{EYPM5JFM.js → IIS5EC73.js} +2 -2
- package/dist/arcgis-map-components/{UYZ7ALKH.js → ILJ7KM3W.js} +2 -2
- package/dist/arcgis-map-components/{PSJGBVMQ.js → IQEZZLKH.js} +2 -2
- package/dist/arcgis-map-components/{D36GFJS5.js → IXOSELQC.js} +2 -2
- package/dist/arcgis-map-components/{W7BWBTPD.js → IZGARVM3.js} +2 -2
- package/dist/arcgis-map-components/{CZAWBXTJ.js → J4ES37BB.js} +2 -2
- package/dist/arcgis-map-components/{6G3EBE53.js → JG5YPVOK.js} +2 -2
- package/dist/arcgis-map-components/{GAO4PBLB.js → JU5GAW32.js} +2 -2
- package/dist/arcgis-map-components/{WKFO5HNK.js → L3ZSNYML.js} +2 -2
- package/dist/arcgis-map-components/{REA5VY4P.js → LE6Q3FCR.js} +2 -2
- package/dist/arcgis-map-components/{VWG4BPAP.js → MFZ5637S.js} +2 -2
- package/dist/arcgis-map-components/{KKNFQCWI.js → MLYHUWEI.js} +2 -2
- package/dist/arcgis-map-components/{SUMXURKO.js → MNPKQGF5.js} +2 -2
- package/dist/arcgis-map-components/{6WXLVJT5.js → O7YPXSZI.js} +2 -2
- package/dist/arcgis-map-components/{4C3FYHS4.js → OL6RFZWK.js} +2 -2
- package/dist/arcgis-map-components/{RAFPWR72.js → OLUHA7PX.js} +2 -2
- package/dist/arcgis-map-components/{XNBJ7NNW.js → OWLCMNL3.js} +2 -2
- package/dist/arcgis-map-components/{WNP23KL4.js → OXL4LQ5N.js} +2 -2
- package/dist/arcgis-map-components/{BHCHZGF7.js → QYJDAWZG.js} +2 -2
- package/dist/arcgis-map-components/{UBU2U6CM.js → RKNJFXHB.js} +2 -2
- package/dist/arcgis-map-components/{XQSXJYHQ.js → S6AVWJTE.js} +2 -2
- package/dist/arcgis-map-components/{HKG357IZ.js → SQALYMA3.js} +2 -2
- package/dist/arcgis-map-components/{AVJZ3NJX.js → TVEVCYH7.js} +2 -2
- package/dist/arcgis-map-components/{TDMFAMWP.js → UGPC75LZ.js} +2 -2
- package/dist/arcgis-map-components/{BU7UFQQB.js → V3PNGANJ.js} +3 -3
- package/dist/arcgis-map-components/{MISEJFJ7.js → VKRTL674.js} +1 -1
- package/dist/arcgis-map-components/{NILBBRM5.js → W45CWLY4.js} +2 -2
- package/dist/arcgis-map-components/{WWMFX5BO.js → W6PKUEFQ.js} +2 -2
- package/dist/arcgis-map-components/{4XOD7QC3.js → WKZEH4LD.js} +2 -2
- package/dist/arcgis-map-components/{45BEOPC6.js → WSYVBV2K.js} +2 -2
- package/dist/arcgis-map-components/{EXDFC7VV.js → XIXI3V5T.js} +2 -2
- package/dist/arcgis-map-components/{B7H7WD4G.js → XQ4XVXFW.js} +2 -2
- package/dist/arcgis-map-components/{3AZ6NFON.js → XSCM5P7P.js} +2 -2
- package/dist/arcgis-map-components/{TOBLLYA5.js → Y4SVEZD5.js} +2 -2
- package/dist/arcgis-map-components/{2ZHISQJN.js → Y6MAE47N.js} +1 -1
- package/dist/arcgis-map-components/{O646RL65.js → YDISOJVR.js} +2 -2
- package/dist/arcgis-map-components/{CI45AMD2.js → YTWFRHBY.js} +2 -2
- package/dist/arcgis-map-components/{MP5E6DEV.js → Z5TQ7J47.js} +2 -2
- package/dist/arcgis-map-components/{XDAHKJZ7.js → Z7FEOK5N.js} +2 -2
- package/dist/arcgis-map-components/{BJFVHRWQ.js → Z7U7MHPI.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- 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/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/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/package.json +5 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./XQ4XVXFW.js";import{d as h}from"./Y4SVEZD5.js";import{m as l}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as r,G as o,o as t,p as i,y as s,z as a}from"./V3PNGANJ.js";var d=i`arcgis-basemap-layer-list{display:block}`,c=n(l),e=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=a}static{this.styles=d}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};o("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./XQ4XVXFW.js";import"./Y4SVEZD5.js";import{J as n}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as r,G as o,o as i,p as e,y as s,z as a}from"./V3PNGANJ.js";var l=e`arcgis-histogram-range-slider{display:block}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./XQ4XVXFW.js";import{d as r}from"./Y4SVEZD5.js";import{aa as n}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as h,G as d,o as e,p as s,y as o,z as a}from"./V3PNGANJ.js";var m=s`arcgis-time-slider{display:block}`,g=l(n),i=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=e()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=o(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};d("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
function zo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Re(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function Me(e,t,r){let{subscribe:o}=je(t);return o(s=>{s.some(i=>Re(e,i.target))&&r()})}var bt={};function je(e){let t=e.join(","),r=bt[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),bt[t]=void 0)}}}};return bt[t]=n,n}function Ve(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ie(e,t,r){return Ve(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function W(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],He=new Set(ze),tt="en",We={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Be(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return _t[s]??(_t[s]=Mt(e,o)),await _t[s]}var _t={};async function Mt(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Mt(tt,t)}function Et(e){let t=Ie(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:jt(t)}}function jt(e){let[t,r]=e.split("-"),o=t.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=We[s]??s,He.has(s)?s:r?jt(o):tt}function Vt(e,t,r,o){let s,n=()=>void Fe(e,t,o).then(i=>{(s?.lang!==i.lang||s.t9nLocale!==i.t9nLocale||s.t9nStrings!==i.t9nStrings)&&r(i),s=i}).catch(console.error);return n(),Me(e,["lang"],n)}async function Fe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:s}=Et(e),n=`${t}/${r}/t9n`,i=`${r}.t9n.`,c=r===null?{}:await Be(s,n,i);return{lang:o,t9nLocale:s,t9nStrings:c}}var et=e=>e.replace(Ge,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(e,t){let r=t>qe?Ke:t/Je,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var qe=4e3,Ke=2e3,Je=4;function zt(e){return e!==void 0}function Ht(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(zt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Wt(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 Bt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var qt=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function x(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function I(e){return B}var P=[];function st(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Kt(){return P}var V;function Ye(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function Qe(){let e=V;return V=void 0,e}var Ze=async(e,t)=>{let r=At(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},Xe=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=Qe();if(t!==void 0)return t;let o=I().manager.internals.resolveExports(e);if(o!==void 0)return o;if(qt(e))return e},$={setter:!1,getter:!1,readOnly:!1},F=new WeakMap,Jt;Jt=rt;var wt=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[Jt]=!0,this.ready=this._ready.promise,this._exports=Gt(this),this._exportWatchers=new Set;let t=e??I(new.target.name);this.component=t,this.component.addController(this),st(this),this.component.manager===void 0||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?Gt(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 x(this.component),Ze}get useRef(){return x(this.component),Xe}get useRefSync(){return x(this.component),At}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(Ft,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Ft,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){x(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 Ft(e){p(e,void 0,this)}var Yt=wt;function Gt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(to.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var to=new Set(["exports","_exports"]);function nt(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(G),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var T=void 0;function G(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function q(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var Qt=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(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,r,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 r=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=Bt(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=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),E=F.get(this);if($.getter||E===void 0)return v;let j=E.manager.internals;v=j.accessorGetter[t](v,t);let y=j.getters[t]??Ct;for(let C=0;C<y.length;C++)v=y[C](v,t);return v}:i,g=h?function(v){let E=i.call(this),j=F.get(this);if(j===void 0){c.call(this,v);return}let y=j.manager.isLit?v??void 0:Wt(v,s),C=j.manager.internals;if(y===E)c.call(this,y);else{let Rt=$.setter?Ct:C.setters[t]??Ct;for(let H=0;H<Rt.length&&(y=Rt[H](y,E,t),y!==E);H++);y=C.accessorSetter[t](y,E,t),c.call(this,y),y!==E&&C.enabledWatchers[t]?.forEach(H=>H(y,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(g[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}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)}},Ct=[],ot=Symbol(),$t=Symbol();function Zt(e,t,r){let o=e.manager.internals;return o.trackedValue!==$t&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function Xt(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>nt(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&Zt(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),r),r}function eo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function oo(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function te(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ee=e=>(...t)=>{let r=Kt(),o=new e(...t),s=o.exports;st(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),Ye(o);let i=[o.component,...r].reverse();return Xt(i,c=>c===void 0?void 0:ro(o,c,s),s)};function ro(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),q(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?te(()=>{n[r]=e.exports}):n[r]=e.exports})}var se=(e,t)=>new so(e,t),so=class extends Yt{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(rt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new Qt(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Ht(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=Lt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=oe,c.accessorSetter[a]=oe,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),st(void 0),x(e),F.set(e.el,e),F.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?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),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,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 ${Lt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(io),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(ao),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,co)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,Lt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(lo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(ho,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(po,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,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(uo),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=It(e,no)}}},Lt="autoDestroyDisabled",no=1e3;var oe=e=>e;function io(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function ao(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function co(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function lo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function ho(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function po(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function uo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var ne=e=>mo(void 0,e);var fo=class extends wt{constructor(e,t){super(e);let r=this.exports;try{x(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||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(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},mo=ee(fo);var cr=ne;var hr=e=>(t={})=>ne((r,o)=>{let s=Et(r.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=r;queueMicrotask(()=>o.onLifecycle(()=>Vt(r.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};o.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=f)),c(i.messageOverrides)},t.name)));function c(a){let l=o.exports,d=l._original??l,h=ie(d,a);a&&(h._original=d),o.exports=h}return"messageOverrides"in i&&o.onLifecycle(()=>q(i,"messageOverrides",c)),t.blocking?(o.setProvisionalExports(n,!1),o.ready):n});function ie(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ie(e[o],s):r[o]=s??e[o]}),r}var dr=e=>yo,re="arcgisPropertyChange";function yo(...e){let t=I(),o=t[re];return t.manager.isLit&&(o=t.constructor.$createEvent(re,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(s=>q(t,s,()=>o.emit({name:s}))))),o}var it=globalThis,at=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),ae=new WeakMap,K=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(at&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=ae.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ae.set(r,t))}return t}toString(){return this.cssText}},ce=e=>new K(typeof e=="string"?e:e+"",void 0,Ot),go=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,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.")})(s)+e[n+1],e[0]);return new K(r,e,Ot)},St=(e,t)=>{if(at)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=it.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},ct=at?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return ce(r)})(e):e;var Tt=globalThis,lt=Tt.trustedTypes,le=lt?lt.createPolicy("lit-html",{createHTML:e=>e}):void 0,xt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Nt="?"+A,vo=`<${Nt}>`,k=document,Y=()=>k.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Dt=Array.isArray,me=e=>Dt(e)||typeof e?.[Symbol.iterator]=="function",Pt=`[
|
6
|
+
function zo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Re(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function Me(e,t,r){let{subscribe:o}=je(t);return o(s=>{s.some(i=>Re(e,i.target))&&r()})}var bt={};function je(e){let t=e.join(","),r=bt[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),bt[t]=void 0)}}}};return bt[t]=n,n}function Ve(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ie(e,t,r){return Ve(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function W(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var ze=["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"],He=new Set(ze),tt="en",We={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Be(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return _t[s]??(_t[s]=Mt(e,o)),await _t[s]}var _t={};async function Mt(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Mt(tt,t)}function Et(e,t){let r=Ie(e,"lang",globalThis.navigator?.language||tt);return{lang:r,t9nLocale:jt(r,t)}}function jt(e,t){let[r,o]=e.split("-"),s=r.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=We[n]??n,t&&n==="nb"?"no":He.has(n)?n:o?jt(s):tt}function Vt(e,t,r,o,s){let n,i=()=>void Fe(e,t,o,s).then(c=>{(n?.lang!==c.lang||n.t9nLocale!==c.t9nLocale||n.t9nStrings!==c.t9nStrings)&&r(c),n=c}).catch(console.error);return i(),Me(e,["lang"],i)}async function Fe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-"),o){let{lang:s,t9nLocale:n}=Et(e,o),i=`${t}/${r}/t9n`,c=`${r}.t9n.`,a=r===null?{}:await Be(n,i,c);return{lang:s,t9nLocale:n,t9nStrings:a}}var et=e=>e.replace(Ge,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(e,t){let r=t>qe?Ke:t/Je,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var qe=4e3,Ke=2e3,Je=4;function zt(e){return e!==void 0}function Ht(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(zt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Wt(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 Bt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var qt=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function x(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function I(e){return B}var P=[];function st(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Kt(){return P}var V;function Ye(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function Qe(){let e=V;return V=void 0,e}var Ze=async(e,t)=>{let r=At(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},Xe=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=Qe();if(t!==void 0)return t;let o=I().manager.internals.resolveExports(e);if(o!==void 0)return o;if(qt(e))return e},$={setter:!1,getter:!1,readOnly:!1},F=new WeakMap,Jt;Jt=rt;var wt=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[Jt]=!0,this.ready=this._ready.promise,this._exports=Gt(this),this._exportWatchers=new Set;let t=e??I(new.target.name);this.component=t,this.component.addController(this),st(this),this.component.manager===void 0||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?Gt(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 x(this.component),Ze}get useRef(){return x(this.component),Xe}get useRefSync(){return x(this.component),At}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(Ft,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Ft,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){x(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 Ft(e){p(e,void 0,this)}var Yt=wt;function Gt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(to.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var to=new Set(["exports","_exports"]);function nt(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(G),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var T=void 0;function G(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function q(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var Qt=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(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,r,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 r=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=Bt(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=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),E=F.get(this);if($.getter||E===void 0)return v;let j=E.manager.internals;v=j.accessorGetter[t](v,t);let g=j.getters[t]??Ct;for(let C=0;C<g.length;C++)v=g[C](v,t);return v}:i,y=h?function(v){let E=i.call(this),j=F.get(this);if(j===void 0){c.call(this,v);return}let g=j.manager.isLit?v??void 0:Wt(v,s),C=j.manager.internals;if(g===E)c.call(this,g);else{let Rt=$.setter?Ct:C.setters[t]??Ct;for(let H=0;H<Rt.length&&(g=Rt[H](g,E,t),g!==E);H++);g=C.accessorSetter[t](g,E,t),c.call(this,g),g!==E&&C.enabledWatchers[t]?.forEach(H=>H(g,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(y[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:y})}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)}},Ct=[],ot=Symbol(),$t=Symbol();function Zt(e,t,r){let o=e.manager.internals;return o.trackedValue!==$t&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function Xt(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>nt(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&Zt(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),r),r}function eo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function oo(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function te(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ee=e=>(...t)=>{let r=Kt(),o=new e(...t),s=o.exports;st(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),Ye(o);let i=[o.component,...r].reverse();return Xt(i,c=>c===void 0?void 0:ro(o,c,s),s)};function ro(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),q(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?te(()=>{n[r]=e.exports}):n[r]=e.exports})}var se=(e,t)=>new so(e,t),so=class extends Yt{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(rt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new Qt(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Ht(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=Lt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=oe,c.accessorSetter[a]=oe,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),st(void 0),x(e),F.set(e.el,e),F.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?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),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,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 ${Lt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(io),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(ao),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,co)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,Lt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(lo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(ho,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(po,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,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(uo),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=It(e,no)}}},Lt="autoDestroyDisabled",no=1e3;var oe=e=>e;function io(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function ao(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function co(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function lo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function ho(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function po(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function uo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var ne=e=>mo(void 0,e);var fo=class extends wt{constructor(e,t){super(e);let r=this.exports;try{x(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||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(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},mo=ee(fo);var cr=ne;var hr=(e,t)=>(r={})=>ne((o,s)=>{let n=Et(o.el),i={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},c=o;queueMicrotask(()=>s.onLifecycle(()=>Vt(o.el,e("./assets"),({t9nLocale:l,t9nStrings:d,lang:h})=>{let f={...d,_lang:h,_t9nLocale:l,_loading:!1};s.exports=f;let y=d.componentLabel??d.widgetLabel;typeof y=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=y)),a(c.messageOverrides)},r.name,t)));function a(l){let d=s.exports,h=d._original??d,f=ie(h,l);l&&(f._original=h),s.exports=f}return"messageOverrides"in c&&s.onLifecycle(()=>q(c,"messageOverrides",a)),r.blocking?(s.setProvisionalExports(i,!1),s.ready):i});function ie(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ie(e[o],s):r[o]=s??e[o]}),r}var dr=e=>yo,re="arcgisPropertyChange";function yo(...e){let t=I(),o=t[re];return t.manager.isLit&&(o=t.constructor.$createEvent(re,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(s=>q(t,s,()=>o.emit({name:s}))))),o}var it=globalThis,at=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),ae=new WeakMap,K=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(at&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=ae.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ae.set(r,t))}return t}toString(){return this.cssText}},ce=e=>new K(typeof e=="string"?e:e+"",void 0,Ot),go=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,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.")})(s)+e[n+1],e[0]);return new K(r,e,Ot)},St=(e,t)=>{if(at)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=it.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},ct=at?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return ce(r)})(e):e;var Tt=globalThis,lt=Tt.trustedTypes,le=lt?lt.createPolicy("lit-html",{createHTML:e=>e}):void 0,xt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Nt="?"+A,vo=`<${Nt}>`,k=document,Y=()=>k.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Dt=Array.isArray,me=e=>Dt(e)||typeof e?.[Symbol.iterator]=="function",Pt=`[
|
7
7
|
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,he=/-->/g,de=/>/g,N=RegExp(`>|${Pt}(?:([^\\s"'>=/]+)(${Pt}*=${Pt}*(?:[^
|
8
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),pe=/'/g,ue=/"/g,ye=/^(?:script|style|textarea|title)$/i,kt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),yr=kt(1),gr=kt(2),vr=kt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),fe=new WeakMap,D=k.createTreeWalker(k,129);function ge(e,t){if(!Dt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return le!==void 0?le.createHTML(t):t}var ve=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<r;c++){let a=e[c],l,d,h=-1,f=0;for(;f<a.length&&(i.lastIndex=f,d=i.exec(a),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=he:d[1]!==void 0?i=de:d[2]!==void 0?(ye.test(d[2])&&(s=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=s??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?ue:pe):i===ue||i===pe?i=N:i===he||i===de?i=J:(i=N,s=void 0);let g=i===N&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+vo:h>=0?(o.push(l),a.slice(0,h)+xt+a.slice(h)+A+g):a+A+(h===-2?c:g)}return[ge(e,n+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:r},o){let s;this.parts=[];let n=0,i=0,c=t.length-1,a=this.parts,[l,d]=ve(t,r);if(this.el=e.createElement(l,o),D.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=D.nextNode())!==null&&a.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(let h of s.getAttributeNames())if(h.endsWith(xt)){let f=d[i++],g=s.getAttribute(h).split(A),S=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:S[2],strings:g,ctor:S[1]==="."?dt:S[1]==="?"?pt:S[1]==="@"?ut:R}),s.removeAttribute(h)}else h.startsWith(A)&&(a.push({type:6,index:n}),s.removeAttribute(h));if(ye.test(s.tagName)){let h=s.textContent.split(A),f=h.length-1;if(f>0){s.textContent=lt?lt.emptyScript:"";for(let g=0;g<f;g++)s.append(h[g],Y()),D.nextNode(),a.push({type:2,index:++n});s.append(h[f],Y())}}}else if(s.nodeType===8)if(s.data===Nt)a.push({type:2,index:n});else{let h=-1;for(;(h=s.data.indexOf(A,h+1))!==-1;)a.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,r){let o=k.createElement("template");return o.innerHTML=t,o}};function U(e,t,r=e,o){if(t===m)return t;let s=o!==void 0?r.o?.[o]:r.l,n=Q(t)?void 0:t._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),n===void 0?s=void 0:(s=new n(e),s._$AT(e,r,o)),o!==void 0?(r.o??=[])[o]=s:r.l=s),s!==void 0&&(t=U(e,s._$AS(e,t.values),s,o)),t}var ht=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,s=(t?.creationScope??k).importNode(r,!0);D.currentNode=s;let n=D.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new z(n,n.nextSibling,this,t):a.type===1?l=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(l=new ft(n,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(n=D.nextNode(),i++)}return D.currentNode=k,s}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,r,o,s){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=s,this.v=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=U(this,t,r),Q(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):me(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!==u&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(k.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,s=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(ge(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new ht(s,this),i=n.u(this.options);n.p(r),this.T(i),this._$AH=n}}_$AC(t){let r=fe.get(t.strings);return r===void 0&&fe.set(t.strings,r=new Z(t)),r}k(t){Dt(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,s=0;for(let n of t)s===r.length?r.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=r[s],o._$AI(n),s++;s<r.length&&(this._$AR(o&&o._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},R=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,s,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=r,this._$AM=s,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=u}_$AI(t,r=this,o,s){let n=this.strings,i=!1;if(n===void 0)t=U(this,t,r,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let c=t,a,l;for(t=n[0],a=0;a<n.length-1;a++)l=U(this,c[o+a],r,a),l===m&&(l=this._$AH[a]),i||=!Q(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!s&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},pt=class extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ut=class extends R{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=U(this,t,r,0)??u)===m)return;let o=this._$AH,s=t===u&&o!==u||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==u&&(o===u||s);s&&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)}},ft=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}},be={M:xt,P:A,A:Nt,C:1,L:ve,R:ht,D:me,V:U,I:z,H:R,N:pt,U:ut,B:dt,F:ft},bo=Tt.litHtmlPolyfillSupport;bo?.(Z,z),(Tt.litHtmlVersions??=[]).push("3.2.0");var _e=(e,t,r)=>{let o=r?.renderBefore??t,s=o._$litPart$;if(s===void 0){let n=r?.renderBefore??null;o._$litPart$=s=new z(t.insertBefore(Y(),n),n,void 0,r??{})}return s._$AI(e),s};var{is:_o,defineProperty:Eo,getOwnPropertyDescriptor:Co,getOwnPropertyNames:$o,getOwnPropertySymbols:Ao,getPrototypeOf:wo}=Object,yt=globalThis,Ee=yt.trustedTypes,Lo=Ee?Ee.emptyScript:"",Oo=yt.reactiveElementPolyfillSupport,X=(e,t)=>e,mt={toAttribute(e,t){switch(t){case Boolean:e=e?Lo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Ut=(e,t)=>!_o(e,t),Ce={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var w=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,r=Ce){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),s=this.getPropertyDescriptor(t,o,r);s!==void 0&&Eo(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Co(this.prototype,t)??{get(){return this[r]},set(i){this[r]=i}};return{get(){return s?.call(this)},set(i){let c=s?.call(this);n.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ce}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=wo(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 r=this.properties,o=[...$o(r),...Ao(r)];for(let s of o)this.createProperty(s,r[s])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,s]of r)this.elementProperties.set(o,s)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let s=this._$Eu(r,o);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let s of o)r.unshift(ct(s))}else t!==void 0&&r.push(ct(t));return r}static _$Eu(t,r){let o=r.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,r=this.constructor.elementProperties;for(let o of r.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 St(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,r,o){this._$AK(t,o)}_$EC(t,r){let o=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,o);if(s!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:mt).toAttribute(r,o.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,r){let o=this.constructor,s=o._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let n=o.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:mt;this._$Em=s,this[s]=i.fromAttribute(r,n.type),this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Ut)(this[t],r))return;this.P(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,r,o){this._$AL.has(t)||this._$AL.set(t,r),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}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[s,n]of this._$Ep)this[s]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[s,n]of o)n.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],n)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.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(r=>this._$EC(r,this[r])),this._$EU()}updated(t){}firstUpdated(t){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[X("elementProperties")]=new Map,w[X("finalized")]=new Map,Oo?.({ReactiveElement:w}),(yt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends w{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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=_e(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var So=globalThis.litElementPolyfillSupport;So?.({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}),O=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this.t=t,this._$AM=r,this.i=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var $e=";",gt=",",Ae=":";var we=M(class extends O{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 r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let s=!!t[o];s===this.st.has(o)||this.nt?.has(o)||(s?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return m}});var Le="important",To=" !"+Le,Oe=M(class extends O{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,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=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("-")?r.removeProperty(o):r[o]=null);for(let o in t){let s=t[o];if(s!=null){this.ft.add(o);let n=typeof s=="string"&&s.endsWith(To);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?Le:""):r[o]=s}}return m}});var{I:Qr}=be;var Se=e=>e.strings===void 0;var xo={},Pe=(e,t=xo)=>e._$AH=t;var No=M(class extends O{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(!Se(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===u)return t;let r=e.element,o=e.name;if(e.type===_.PROPERTY){if(t===r[o])return m}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===r.hasAttribute(o))return m}else if(e.type===_.ATTRIBUTE&&r.getAttribute(o)===t+"")return m;return Pe(e),t}});var xe=(e="",t={},r=I())=>{let o={emit:s=>{e===""&&G();let n=new CustomEvent(e,{detail:s,cancelable:!0,bubbles:!0,composed:!0,...t});return r.el.dispatchEvent(n),n}};return e===""&&nt(r,s=>{e=s},o),o},as=xe.bind(null,"");function Ne(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let r=t;return r.manager?.loadedCalled||r._offspring.push(e),r._postLoad.promise}return!1}var Te={},ds=(e,t)=>function(o,s){if(!globalThis.customElements)return;let i=(s??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(ko)};function ko([e,[t,r=""]]){if(customElements.get(e))return;let[o,s,n]=r.split($e),i=o?o?.split(gt).map(De):void 0,c=i?.map(([l])=>l),a=class extends Ro{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=s?s?.split(gt):void 0}static{this._syncMethods=n?.split(gt)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var vt=Object.defineProperty;function De(e){let t=e.split(Ae);return t.length===1?[t[0],et(t[0])]:t}var Uo=globalThis.HTMLElement??De,Ro=class extends Uo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new b,this._postLoaded=new b,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){vt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){vt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){vt(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(r=>{Object.hasOwn(this,r)&&(this._store[r]=t[r],delete t[r])})}attributeChangedCallback(e,t,r){this._litElement?.attributeChangedCallback(e,t,r),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Ne(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,r=t._name,o=Object.values(e).find(a=>a.tagName===r),s=`${r}--lazy`;!t._LitConstructor&&(t._LitConstructor=o,o.prototype.removeAttribute=function(a){HTMLElement.prototype.removeAttribute.call(this.el,a)},o.prototype.setAttribute=function(a,l){HTMLElement.prototype.setAttribute.call(this.el,a,l)},vt(o.prototype,"isConnected",{get(){return this.el.isConnected}}),customElements.define(s,o)),o.lazy=this;let i=document.createElement(s);o.lazy=void 0,this._litElement=i,this._pendingAttributes.forEach(a=>{let l=this.getAttribute(a);i.attributeChangedCallback(a,null,l)}),Object.entries(this._store).forEach(Mo,i),this._store=i;let c=this.isConnected;(c||this._ancestorLoad)&&(i.connectedCallback?.(),c||i.disconnectedCallback())}};function Mo([e,t]){this[e]=t}var jo=()=>{},Vo=class ke extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=se(this),this._postLoad=this.constructor.lazy?._postLoad??new b,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new b,this._enableUpdating=this.enableUpdating,this.enableUpdating=jo;let t=ke.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let r=super.finalizeStyles(t),o=this.shadowRootOptions===Te;return this.runtime?.commonStyles===void 0||o?r:[this.runtime.commonStyles,...r]}static createProperty(t,r){let o=typeof r=="number"?r:Array.isArray(r)?r[0]:0,s=Array.isArray(r)?r[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),...s})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(r=>{this._postLoaded.reject(r),setTimeout(()=>{throw r})}))}createRenderRoot(){let t=this.el.shadowRoot,r=this.constructor,o=r.shadowRootOptions,n=t??(o===Te?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,...r.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return n}async _load(){let t=this.el._ancestorLoad??Ne(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let r=this._offspring.filter(o=>!o.manager?.loadedCalled);r.length&&await Promise.allSettled(r.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,r,o){let s=r?.bind(this)??r;this.manager.onLifecycle(()=>(this.el.addEventListener(t,s,o),()=>this.el.removeEventListener(t,s,o)))}listenOn(t,r,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(r,n,s),()=>t.removeEventListener(r,n,s)))}async componentOnReady(){return await this._postLoaded.promise,this}};Vo.$createEvent=xe;function Ue(e){let t,r=s=>{t=new URL(s,globalThis.location?.href).href},o={...e,getAssetPath(s){let n=new URL(s,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:r,customElement(s,n){n.runtime=o,n.tagName=s,customElements.get(s)||customElements.define(s,n)}};return r(e.defaultAssetPath),o}var bs=e=>typeof e=="object"&&e!=null?we(e):e,_s=e=>typeof e=="object"&&e!=null?Oe(e):e;var Cs=u;var Io=Ue({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:Os,getAssetPath:Ss,setAssetPath:Ps}=Io;export{zo as a,et as b,It as c,zt as d,I as e,Yt as f,q as g,Zt as h,Xt as i,eo as j,oo as k,ee as l,cr as m,hr as n,dr as o,go as p,yr as q,gr as r,vr as s,u as t,_ as u,M as v,O as w,Se as x,as as y,Te as z,ds as A,Vo as B,bs as C,_s as D,Cs as E,Io as F,Os as G,Ss as H};
|
8
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),pe=/'/g,ue=/"/g,ye=/^(?:script|style|textarea|title)$/i,kt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),yr=kt(1),gr=kt(2),vr=kt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),fe=new WeakMap,D=k.createTreeWalker(k,129);function ge(e,t){if(!Dt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return le!==void 0?le.createHTML(t):t}var ve=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<r;c++){let a=e[c],l,d,h=-1,f=0;for(;f<a.length&&(i.lastIndex=f,d=i.exec(a),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=he:d[1]!==void 0?i=de:d[2]!==void 0?(ye.test(d[2])&&(s=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=s??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?ue:pe):i===ue||i===pe?i=N:i===he||i===de?i=J:(i=N,s=void 0);let y=i===N&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+vo:h>=0?(o.push(l),a.slice(0,h)+xt+a.slice(h)+A+y):a+A+(h===-2?c:y)}return[ge(e,n+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:r},o){let s;this.parts=[];let n=0,i=0,c=t.length-1,a=this.parts,[l,d]=ve(t,r);if(this.el=e.createElement(l,o),D.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=D.nextNode())!==null&&a.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(let h of s.getAttributeNames())if(h.endsWith(xt)){let f=d[i++],y=s.getAttribute(h).split(A),S=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:S[2],strings:y,ctor:S[1]==="."?dt:S[1]==="?"?pt:S[1]==="@"?ut:R}),s.removeAttribute(h)}else h.startsWith(A)&&(a.push({type:6,index:n}),s.removeAttribute(h));if(ye.test(s.tagName)){let h=s.textContent.split(A),f=h.length-1;if(f>0){s.textContent=lt?lt.emptyScript:"";for(let y=0;y<f;y++)s.append(h[y],Y()),D.nextNode(),a.push({type:2,index:++n});s.append(h[f],Y())}}}else if(s.nodeType===8)if(s.data===Nt)a.push({type:2,index:n});else{let h=-1;for(;(h=s.data.indexOf(A,h+1))!==-1;)a.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,r){let o=k.createElement("template");return o.innerHTML=t,o}};function U(e,t,r=e,o){if(t===m)return t;let s=o!==void 0?r.o?.[o]:r.l,n=Q(t)?void 0:t._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),n===void 0?s=void 0:(s=new n(e),s._$AT(e,r,o)),o!==void 0?(r.o??=[])[o]=s:r.l=s),s!==void 0&&(t=U(e,s._$AS(e,t.values),s,o)),t}var ht=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,s=(t?.creationScope??k).importNode(r,!0);D.currentNode=s;let n=D.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new z(n,n.nextSibling,this,t):a.type===1?l=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(l=new ft(n,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(n=D.nextNode(),i++)}return D.currentNode=k,s}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,r,o,s){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=s,this.v=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=U(this,t,r),Q(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):me(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!==u&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(k.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,s=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(ge(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new ht(s,this),i=n.u(this.options);n.p(r),this.T(i),this._$AH=n}}_$AC(t){let r=fe.get(t.strings);return r===void 0&&fe.set(t.strings,r=new Z(t)),r}k(t){Dt(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,s=0;for(let n of t)s===r.length?r.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=r[s],o._$AI(n),s++;s<r.length&&(this._$AR(o&&o._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},R=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,s,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=r,this._$AM=s,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=u}_$AI(t,r=this,o,s){let n=this.strings,i=!1;if(n===void 0)t=U(this,t,r,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let c=t,a,l;for(t=n[0],a=0;a<n.length-1;a++)l=U(this,c[o+a],r,a),l===m&&(l=this._$AH[a]),i||=!Q(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!s&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},pt=class extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ut=class extends R{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=U(this,t,r,0)??u)===m)return;let o=this._$AH,s=t===u&&o!==u||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==u&&(o===u||s);s&&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)}},ft=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}},be={M:xt,P:A,A:Nt,C:1,L:ve,R:ht,D:me,V:U,I:z,H:R,N:pt,U:ut,B:dt,F:ft},bo=Tt.litHtmlPolyfillSupport;bo?.(Z,z),(Tt.litHtmlVersions??=[]).push("3.2.0");var _e=(e,t,r)=>{let o=r?.renderBefore??t,s=o._$litPart$;if(s===void 0){let n=r?.renderBefore??null;o._$litPart$=s=new z(t.insertBefore(Y(),n),n,void 0,r??{})}return s._$AI(e),s};var{is:_o,defineProperty:Eo,getOwnPropertyDescriptor:Co,getOwnPropertyNames:$o,getOwnPropertySymbols:Ao,getPrototypeOf:wo}=Object,yt=globalThis,Ee=yt.trustedTypes,Lo=Ee?Ee.emptyScript:"",Oo=yt.reactiveElementPolyfillSupport,X=(e,t)=>e,mt={toAttribute(e,t){switch(t){case Boolean:e=e?Lo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Ut=(e,t)=>!_o(e,t),Ce={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var w=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,r=Ce){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),s=this.getPropertyDescriptor(t,o,r);s!==void 0&&Eo(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Co(this.prototype,t)??{get(){return this[r]},set(i){this[r]=i}};return{get(){return s?.call(this)},set(i){let c=s?.call(this);n.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ce}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=wo(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 r=this.properties,o=[...$o(r),...Ao(r)];for(let s of o)this.createProperty(s,r[s])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,s]of r)this.elementProperties.set(o,s)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let s=this._$Eu(r,o);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let s of o)r.unshift(ct(s))}else t!==void 0&&r.push(ct(t));return r}static _$Eu(t,r){let o=r.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,r=this.constructor.elementProperties;for(let o of r.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 St(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,r,o){this._$AK(t,o)}_$EC(t,r){let o=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,o);if(s!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:mt).toAttribute(r,o.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,r){let o=this.constructor,s=o._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let n=o.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:mt;this._$Em=s,this[s]=i.fromAttribute(r,n.type),this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Ut)(this[t],r))return;this.P(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,r,o){this._$AL.has(t)||this._$AL.set(t,r),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}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[s,n]of this._$Ep)this[s]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[s,n]of o)n.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],n)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.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(r=>this._$EC(r,this[r])),this._$EU()}updated(t){}firstUpdated(t){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[X("elementProperties")]=new Map,w[X("finalized")]=new Map,Oo?.({ReactiveElement:w}),(yt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends w{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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=_e(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var So=globalThis.litElementPolyfillSupport;So?.({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}),O=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this.t=t,this._$AM=r,this.i=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var $e=";",gt=",",Ae=":";var we=M(class extends O{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 r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let s=!!t[o];s===this.st.has(o)||this.nt?.has(o)||(s?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return m}});var Le="important",To=" !"+Le,Oe=M(class extends O{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,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=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("-")?r.removeProperty(o):r[o]=null);for(let o in t){let s=t[o];if(s!=null){this.ft.add(o);let n=typeof s=="string"&&s.endsWith(To);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?Le:""):r[o]=s}}return m}});var{I:Qr}=be;var Se=e=>e.strings===void 0;var xo={},Pe=(e,t=xo)=>e._$AH=t;var No=M(class extends O{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(!Se(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===u)return t;let r=e.element,o=e.name;if(e.type===_.PROPERTY){if(t===r[o])return m}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===r.hasAttribute(o))return m}else if(e.type===_.ATTRIBUTE&&r.getAttribute(o)===t+"")return m;return Pe(e),t}});var xe=(e="",t={},r=I())=>{let o={emit:s=>{e===""&&G();let n=new CustomEvent(e,{detail:s,cancelable:!0,bubbles:!0,composed:!0,...t});return r.el.dispatchEvent(n),n}};return e===""&&nt(r,s=>{e=s},o),o},as=xe.bind(null,"");function Ne(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let r=t;return r.manager?.loadedCalled||r._offspring.push(e),r._postLoad.promise}return!1}var Te={},ds=(e,t)=>function(o,s){if(!globalThis.customElements)return;let i=(s??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(ko)};function ko([e,[t,r=""]]){if(customElements.get(e))return;let[o,s,n]=r.split($e),i=o?o?.split(gt).map(De):void 0,c=i?.map(([l])=>l),a=class extends Ro{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=s?s?.split(gt):void 0}static{this._syncMethods=n?.split(gt)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var vt=Object.defineProperty;function De(e){let t=e.split(Ae);return t.length===1?[t[0],et(t[0])]:t}var Uo=globalThis.HTMLElement??De,Ro=class extends Uo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new b,this._postLoaded=new b,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){vt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){vt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){vt(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(r=>{Object.hasOwn(this,r)&&(this._store[r]=t[r],delete t[r])})}attributeChangedCallback(e,t,r){this._litElement?.attributeChangedCallback(e,t,r),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Ne(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,r=t._name,o=Object.values(e).find(a=>a.tagName===r),s=`${r}--lazy`;!t._LitConstructor&&(t._LitConstructor=o,o.prototype.removeAttribute=function(a){HTMLElement.prototype.removeAttribute.call(this.el,a)},o.prototype.setAttribute=function(a,l){HTMLElement.prototype.setAttribute.call(this.el,a,l)},vt(o.prototype,"isConnected",{get(){return this.el.isConnected}}),customElements.define(s,o)),o.lazy=this;let i=document.createElement(s);o.lazy=void 0,this._litElement=i,this._pendingAttributes.forEach(a=>{let l=this.getAttribute(a);i.attributeChangedCallback(a,null,l)}),Object.entries(this._store).forEach(Mo,i),this._store=i;let c=this.isConnected;(c||this._ancestorLoad)&&(i.connectedCallback?.(),c||i.disconnectedCallback())}};function Mo([e,t]){this[e]=t}var jo=()=>{},Vo=class ke extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=se(this),this._postLoad=this.constructor.lazy?._postLoad??new b,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new b,this._enableUpdating=this.enableUpdating,this.enableUpdating=jo;let t=ke.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let r=super.finalizeStyles(t),o=this.shadowRootOptions===Te;return this.runtime?.commonStyles===void 0||o?r:[this.runtime.commonStyles,...r]}static createProperty(t,r){let o=typeof r=="number"?r:Array.isArray(r)?r[0]:0,s=Array.isArray(r)?r[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),...s})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(r=>{this._postLoaded.reject(r),setTimeout(()=>{throw r})}))}createRenderRoot(){let t=this.el.shadowRoot,r=this.constructor,o=r.shadowRootOptions,n=t??(o===Te?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,...r.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return n}async _load(){let t=this.el._ancestorLoad??Ne(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let r=this._offspring.filter(o=>!o.manager?.loadedCalled);r.length&&await Promise.allSettled(r.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,r,o){let s=r?.bind(this)??r;this.manager.onLifecycle(()=>(this.el.addEventListener(t,s,o),()=>this.el.removeEventListener(t,s,o)))}listenOn(t,r,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(r,n,s),()=>t.removeEventListener(r,n,s)))}async componentOnReady(){return await this._postLoaded.promise,this}};Vo.$createEvent=xe;function Ue(e){let t,r=s=>{t=new URL(s,globalThis.location?.href).href},o={...e,getAssetPath(s){let n=new URL(s,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:r,customElement(s,n){n.runtime=o,n.tagName=s,customElements.get(s)||customElements.define(s,n)}};return r(e.defaultAssetPath),o}var bs=e=>typeof e=="object"&&e!=null?we(e):e,_s=e=>typeof e=="object"&&e!=null?Oe(e):e;var Cs=u;var Io=Ue({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:Os,getAssetPath:Ss,setAssetPath:Ps}=Io;export{zo as a,et as b,It as c,zt as d,I as e,Yt as f,q as g,Zt as h,Xt as i,eo as j,oo as k,ee as l,cr as m,hr as n,dr as o,go as p,yr as q,gr as r,vr as s,u as t,_ as u,M as v,O as w,Se as x,as as y,Te as z,ds as A,Vo as B,bs as C,_s as D,Cs as E,Io as F,Os as G,Ss as H};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
6
|
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function i(){if(e)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return n(t)?t.default:t}async function mt(t){let r=await i();return new r(t)}async function dt(){if(e)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return n(t)?t.default:t}async function o(){if(e)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return n(t)?t.default:t}async function lt(t){let r=await o();return new r(t)}async function a(){if(e)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return n(t)?t.default:t}async function ft(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return n(t)?t.default:t}async function yt(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return n(t)?t.default:t}async function gt(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return n(t)?t.default:t}async function St(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return n(t)?t.default:t}async function Mt(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return n(t)?t.default:t}async function Ct(t){let r=await p();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return n(t)?t.default:t}async function $t(t){let r=await m();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return n(t)?t.default:t}async function Lt(t){let r=await d();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/widgets/BasemapGallery");let t=await import("@arcgis/core/widgets/BasemapGallery.js");return n(t)?t.default:t}async function Rt(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await import("@arcgis/core/widgets/BasemapLayerList.js");return n(t)?t.default:t}async function Vt(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return n(t)?t.default:t}async function bt(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await import("@arcgis/core/widgets/Bookmarks.js");return n(t)?t.default:t}async function Pt(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await import("@arcgis/core/widgets/BuildingExplorer.js");return n(t)?t.default:t}async function ht(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await import("@arcgis/core/widgets/CatalogLayerList.js");return n(t)?t.default:t}async function It(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return n(t)?t.default:t}async function Wt(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await import("@arcgis/core/widgets/CoordinateConversion.js");return n(t)?t.default:t}async function Ft(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/Daylight");let t=await import("@arcgis/core/widgets/Daylight.js");return n(t)?t.default:t}async function Gt(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/DirectionalPad");let t=await import("@arcgis/core/widgets/DirectionalPad.js");return n(t)?t.default:t}async function Tt(t){let r=await R();return new r(t)}async function V(){if(e)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return n(t)?t.default:t}async function At(t){let r=await V();return new r(t)}async function b(){if(e)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return n(t)?t.default:t}async function Dt(t){let r=await b();return new r(t)}async function P(){if(e)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return n(t)?t.default:t}async function kt(t){let r=await P();return new r(t)}async function h(){if(e)return await window.$arcgis.import("esri/widgets/Editor");let t=await import("@arcgis/core/widgets/Editor.js");return n(t)?t.default:t}async function Et(t){let r=await h();return new r(t)}async function I(){if(e)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await import("@arcgis/core/widgets/ElevationProfile.js");return n(t)?t.default:t}async function vt(t){let r=await I();return new r(t)}async function W(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await import("@arcgis/core/widgets/Expand.js");return n(t)?t.default:t}async function Bt(t){let r=await W();return new r(t)}async function F(){if(e)return await window.$arcgis.import("esri/widgets/Feature");let t=await import("@arcgis/core/widgets/Feature.js");return n(t)?t.default:t}async function Ot(t){let r=await F();return new r(t)}async function G(){if(e)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await import("@arcgis/core/widgets/FeatureForm.js");return n(t)?t.default:t}async function Ut(t){let r=await G();return new r(t)}async function T(){if(e)return await window.$arcgis.import("esri/widgets/Features");let t=await import("@arcgis/core/widgets/Features.js");return n(t)?t.default:t}async function xt(t){let r=await T();return new r(t)}async function A(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return n(t)?t.default:t}async function Nt(t){let r=await A();return new r(t)}async function D(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return n(t)?t.default:t}async function zt(t){let r=await D();return new r(t)}async function k(){if(e)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return n(t)?t.default:t}async function Ht(t){let r=await k();return new r(t)}async function E(){if(e)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return n(t)?t.default:t}async function Kt(t){let r=await E();return new r(t)}async function v(){if(e)return await window.$arcgis.import("esri/widgets/Histogram");let t=await import("@arcgis/core/widgets/Histogram.js");return n(t)?t.default:t}async function Qt(t){let r=await v();return new r(t)}async function B(){if(e)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return n(t)?t.default:t}async function qt(t){let r=await B();return new r(t)}async function O(){if(e)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return n(t)?t.default:t}async function jt(t){let r=await O();return new r(t)}async function U(){if(e)return await window.$arcgis.import("esri/widgets/LayerList");let t=await import("@arcgis/core/widgets/LayerList.js");return n(t)?t.default:t}async function Jt(t){let r=await U();return new r(t)}async function x(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await import("@arcgis/core/widgets/Legend.js");return n(t)?t.default:t}async function Zt(t){let r=await x();return new r(t)}async function N(){if(e)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await import("@arcgis/core/widgets/LineOfSight.js");return n(t)?t.default:t}async function Xt(t){let r=await N();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return n(t)?t.default:t}async function Yt(t){let r=await z();return new r(t)}async function H(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await import("@arcgis/core/widgets/Measurement.js");return n(t)?t.default:t}async function _t(t){let r=await H();return new r(t)}async function K(){if(e)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await import("@arcgis/core/widgets/NavigationToggle.js");return n(t)?t.default:t}async function tr(t){let r=await K();return new r(t)}async function Q(){if(e)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return n(t)?t.default:t}async function rr(t){let r=await Q();return new r(t)}async function q(){if(e)return await window.$arcgis.import("esri/widgets/Print");let t=await import("@arcgis/core/widgets/Print.js");return n(t)?t.default:t}async function er(t){let r=await q();return new r(t)}async function j(){if(e)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return n(t)?t.default:t}async function nr(t){let r=await j();return new r(t)}async function J(){if(e)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return n(t)?t.default:t}async function ir(t){let r=await J();return new r(t)}async function Z(){if(e)return await window.$arcgis.import("esri/widgets/Search");let t=await import("@arcgis/core/widgets/Search.js");return n(t)?t.default:t}async function or(t){let r=await Z();return new r(t)}async function X(){if(e)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await import("@arcgis/core/widgets/ShadowCast.js");return n(t)?t.default:t}async function ar(t){let r=await X();return new r(t)}async function Y(){if(e)return await window.$arcgis.import("esri/widgets/Sketch");let t=await import("@arcgis/core/widgets/Sketch.js");return n(t)?t.default:t}async function sr(t){let r=await Y();return new r(t)}async function _(){if(e)return await window.$arcgis.import("esri/widgets/Slice");let t=await import("@arcgis/core/widgets/Slice.js");return n(t)?t.default:t}async function ur(t){let r=await _();return new r(t)}async function tt(){if(e)return await window.$arcgis.import("esri/widgets/Slider");let t=await import("@arcgis/core/widgets/Slider.js");return n(t)?t.default:t}async function cr(t){let r=await tt();return new r(t)}async function rt(){if(e)return await window.$arcgis.import("esri/widgets/Swipe");let t=await import("@arcgis/core/widgets/Swipe.js");return n(t)?t.default:t}async function wr(t){let r=await rt();return new r(t)}async function et(){if(e)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return n(t)?t.default:t}async function pr(t){let r=await et();return new r(t)}async function nt(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return n(t)?t.default:t}async function mr(t){let r=await nt();return new r(t)}async function it(){if(e)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return n(t)?t.default:t}async function dr(t){let r=await it();return new r(t)}async function ot(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return n(t)?t.default:t}async function lr(t){let r=await ot();return new r(t)}async function at(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return n(t)?t.default:t}async function fr(t){let r=await at();return new r(t)}async function st(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return n(t)?t.default:t}async function yr(t){let r=await st();return new r(t)}async function ut(){if(e)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return n(t)?t.default:t}async function gr(t){let r=await ut();return new r(t)}async function ct(){if(e)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return n(t)?t.default:t}async function Sr(t){let r=await ct();return new r(t)}async function wt(){if(e)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return n(t)?t.default:t}async function Mr(t){let r=await wt();return new r(t)}async function pt(){if(e)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return n(t)?t.default:t}async function Cr(t){let r=await pt();return new r(t)}async function $r(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return n(t)?t.default:t}async function Lr(){if(e)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return n(t)?t.default:t}async function Rr(){if(e)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return n(t)?t.default:t}async function Vr(){if(e)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return n(t)?t.default:t}export{mt as a,dt as b,lt as c,ft as d,yt as e,gt as f,St as g,Mt as h,Ct as i,$t as j,Lt as k,Rt as l,Vt as m,bt as n,Pt as o,ht as p,It as q,Wt as r,Ft as s,Gt as t,Tt as u,At as v,Dt as w,kt as x,Et as y,vt as z,Bt as A,Ot as B,Ut as C,xt as D,Nt as E,zt as F,Ht as G,Kt as H,Qt as I,qt as J,jt as K,Jt as L,Zt as M,Xt as N,Yt as O,_t as P,tr as Q,rr as R,er as S,nr as T,ir as U,or as V,ar as W,sr as X,ur as Y,cr as Z,wr as _,pr as $,mr as aa,dr as ba,lr as ca,fr as da,yr as ea,gr as fa,Sr as ga,Mr as ha,Cr as ia,$r as ja,Lr as ka,Rr as la,Vr as ma};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as u}from"./
|
6
|
+
import{a as u}from"./XQ4XVXFW.js";import{d as i}from"./Y4SVEZD5.js";import{E as c,b as n}from"./VKRTL674.js";import{d as m}from"./F5Q4RGVY.js";import{B as r,G as g,o as h,p as d,y as l,z as a}from"./V3PNGANJ.js";var w=d`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`,b=u(c),o=class extends r{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=h()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=l(),this.arcgisSelectionChange=l()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:0,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:0,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:0,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:0,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(m(this.layerItemId)?this.layer=null:this.layerItemId&&n().then(async t=>await t.fromPortalItem({portalItem:{id:this.layerItemId}})).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?n().then(s=>s.fromArcGISServerUrl({url:t})).then(s=>{this.layer=s}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};g("arcgis-feature-table",o);export{o as ArcgisFeatureTable};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as i}from"./
|
6
|
+
import{a as i}from"./Y6MAE47N.js";import{a as f,b as w}from"./OLUHA7PX.js";import"./Y4SVEZD5.js";import{r as u}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as h,C as t,D as p,E as e,G as g,a as r,o as n,p as c,q as l,y as m,z as d}from"./V3PNGANJ.js";var v=c`arcgis-compass{display:block}`,y="esri-compass",$={base:y,iconContainer:`${y}__icon-container`},M=w(u),o=class extends h{constructor(){super(...arguments),this.messages=f(),this.viewModel=M(this),this.autoDestroyDisabled=!1,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state","orientation"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(s){this._icon=s}async destroy(){await this.manager.destroy()}async reset(){return this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:s,icon:b}=this;return l`<div class=${t(r($.base,i.widget))}><calcite-button class=${t(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${s.reset} @click=${this._reset} round scale=s title=${s.reset??e}><div aria-hidden=true class=${t($.iconContainer)} title=${s.reset??e}><calcite-icon .icon=${b} style=${p(C(this.orientation))}></calcite-icon></div></calcite-button></div>`}},C=a=>({transform:`rotateZ(${a.z}deg)`});g("arcgis-compass",o);export{o as ArcgisCompass};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./Y6MAE47N.js";import{a as M,b as k}from"./OLUHA7PX.js";import{d as o}from"./Y4SVEZD5.js";import{ba as f}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as v,C as s,E as w,G as u,a as d,o as h,p as g,q as e,y as p,z as m}from"./V3PNGANJ.js";var $=g`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=m}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);export{a as ArcgisTrack};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./XQ4XVXFW.js";import"./Y4SVEZD5.js";import{I as n}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as o,G as r,o as i,p as s,y as e,z as a}from"./V3PNGANJ.js";var d=s`arcgis-histogram{display:block}`,g=h(n),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{B as p,E as v,G as h,q as o,y as m,z as g}from"./
|
6
|
+
import{B as p,E as v,G as h,q as o,y as m,z as g}from"./V3PNGANJ.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=g}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{b as y,c as a}from"./
|
6
|
+
import{b as y,c as a}from"./Y4SVEZD5.js";import{b as r}from"./F5Q4RGVY.js";import{g as h,h as w,l as _}from"./V3PNGANJ.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{c as w}from"./
|
6
|
+
import{c as w}from"./V3PNGANJ.js";function o(e){e.el.childElem?e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el.childElem):e.widget?.view&&e.widget.view.ui.remove(e.el.childElem),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy()):w(()=>{e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el):e.widget?.view&&e.widget.view.ui.remove(e.el),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy())},1e3)}export{o as a};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{ja as L}from"./
|
6
|
+
import{ja as L}from"./VKRTL674.js";import{b as v,d as y,e as w,f as E,h as _,i as g,j as P,k as C,l as b}from"./V3PNGANJ.js";var m;async function N(){return m??(m=L()),await m}var W=(e,o)=>(t,n)=>D(t,e,n),A=class extends E{constructor(e,o,t){super(e),this._loadAccessor=o,this._options=t,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),_(e,n=>{n&&(this._instancePropName=n)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await N();let e=this.component,o=this._gatherParameters(),t=this._options?.editConstructorProperties?.call(e,o)??o,n=t instanceof Promise?await t:t,l=e,r=typeof this._instancePropName=="string"?l[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(n)):this._instance=await this._createInstance(n),!e.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([t,n])=>[n,this.component[t]]).filter(([,t])=>t!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},D=b(A),f={makeGetterProxy:(e,o,t,n)=>new Proxy({},{has:(l,r)=>typeof r=="string"||r in l,get:(l,r)=>{let p=Reflect.get(l,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let c=r in l,s=t?.value??!0;return c||!s?p:g(e,i=>{i!==void 0&&o.set(i.key,r)},p)}}),watchComponentUpdates(e,o,t){function n(c,s){let i=t.get(s),a=o[i];return typeof a=="boolean"&&i!==s&&s.toLowerCase().includes("disable")?!a:a}let l=(c,s,i)=>{let a=t.get(i),d=o[a],h=typeof d=="boolean"&&a!==i&&i.toLowerCase().includes("disable");if((h?!d:r.manager.isLit?d??void 0:d)===c)return c;o[a]=h?!c:c;let u=o[a];return h?!u:u},r=e.component,p=r.manager.internals;t.forEach((c,s)=>{p.accessorGetter[s]=n,p.accessorSetter[s]=l})},watchAccessorUpdates(e,o,t){let{component:n}=e,l=n,r=o,p=V(o);C(()=>t.forEach((c,s)=>{if(p.has(c))return;let i=l[s],a=r[c];n.manager.isLit&&(a??(a=void 0));let h=typeof i=="boolean"&&c!==s&&s.toLowerCase().includes("disable")?!i:i;h!=null&&a!==h&&(r[c]=h)})),e.onLifecycle(()=>{if(!o.destroyed)return Array.from(t,([c,s])=>e.reactiveUtils.watch(()=>r[s],()=>{let i=r[s],d=typeof i=="boolean"&&s!==c&&c.toLowerCase().includes("disable")?!i:i;P(()=>{l[c]=d})},{initial:!0}))})},reEmitAccessorEvents(e,o,t,n){if(!("on"in o&&typeof o.on=="function"))return;let r=Object.entries(e.component).map(([s,i])=>{let a=i;if(!s.startsWith(n)||s===n||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let d=a.emit,h=s.slice(n.length);return[v(h).toLowerCase(),d]}).filter(y);if(r.length===0)return;let p=o,c=()=>p;e.onLifecycle(()=>{if(!o.destroyed)return r.map(([s,i])=>t.on(c,s,i))})},async reCreate(e,o){let t=o.manager.useRefSync(e);t!==void 0&&await t.reCreate()}};function V(e){let t=Object.entries(e.__accessor__?.metadata??{});return new Set(t.filter(([n,l])=>l?.readOnly===!0).map(([n])=>n))}function R(e,o){let t=w(),n=t.manager,l=N();n.onLoaded(()=>{l.then(p=>n.onLifecycle(()=>p.on(e,o,r.emit)))});let r=t.constructor.$createEvent();return r}export{W as a,A as b,f as c,R as d};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
6
|
var e={anchor:"esri-widget__anchor",anchorDisabled:"esri-widget__anchor--disabled",button:"esri-button",buttonDisabled:"esri-button--disabled",buttonHalf:"esri-button--half",buttonSecondary:"esri-button--secondary",buttonSmall:"esri-button--small",buttonTertiary:"esri-button--tertiary",buttonThird:"esri-button--third",disabled:"esri-disabled",disabledElement:"esri-disabled-element",empty:"esri-widget__content--empty",emptyIllustration:"esri-widget__content-illustration--empty",heading:"esri-widget__heading",hidden:"esri-hidden",input:"esri-input",interactive:"esri-interactive",loader:"esri-widget__loader",loaderAnimation:"esri-widget__loader-animation",loaderText:"esri-widget__loader-text",menu:"esri-menu",menuHeader:"esri-menu__header",menuItem:"esri-menu__list-item",menuItemActive:"esri-menu__list-item--active",menuItemFocus:"esri-menu__list-item--focus",menuList:"esri-menu__list",noBookmarksIcon:"esri-widget__no-bookmark-icon",panel:"esri-widget--panel",panelHeightOnly:"esri-widget--panel-height-only",primaryTick:"primary-tick",primaryTickAmPm:"primary-tick__ampm",primaryTickLabel:"primary-tick__label",rotating:"esri-rotating",secondaryTick:"secondary-tick",select:"esri-select",table:"esri-widget__table",ui:"esri-component",widget:"esri-widget",widgetButton:"esri-widget--button",widgetButtonActive:"esri-widget--button-active",widgetDisabled:"esri-widget--disabled"};export{e as a};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{b as x}from"./
|
6
|
+
import{b as x}from"./Z7FEOK5N.js";import{a as $}from"./Y6MAE47N.js";import{a as D,b as S}from"./OLUHA7PX.js";import"./Y4SVEZD5.js";import{T as B,ja as U,ka as M,ma as R}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as y,C as a,D as v,G as L,a as d,m as p,q as c,y as w,z as g}from"./V3PNGANJ.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=g}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.18
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./XQ4XVXFW.js";import"./Y4SVEZD5.js";import{j as n}from"./VKRTL674.js";import"./F5Q4RGVY.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./V3PNGANJ.js";var d=i`arcgis-area-measurement-3d{display:block}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|