@arcgis/map-components 4.32.0-next.94 → 4.32.0-next.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{U3EQDFXH.js → 265DJOIB.js} +2 -2
- package/dist/arcgis-map-components/{NWUVHWQO.js → 2HYWLNRR.js} +2 -2
- package/dist/arcgis-map-components/{UQSQRYTX.js → 2UTKLDJN.js} +1 -1
- package/dist/arcgis-map-components/{B3VKKXVJ.js → 2VSLPWQS.js} +2 -2
- package/dist/arcgis-map-components/{3XTOIEUF.js → 34W7Q6W4.js} +2 -2
- package/dist/arcgis-map-components/{UBCAUDPX.js → 3KRFC6KG.js} +2 -2
- package/dist/arcgis-map-components/{5HFZ4YHN.js → 3M3QXZT7.js} +2 -2
- package/dist/arcgis-map-components/{BVUQZRAJ.js → 4GL26KAD.js} +2 -2
- package/dist/arcgis-map-components/{GKLNJFID.js → 4QOOXB6M.js} +2 -2
- package/dist/arcgis-map-components/{CSWFS2RC.js → 4VOARWGG.js} +2 -2
- package/dist/arcgis-map-components/{CH5E7QIC.js → 4ZKWNE6Z.js} +2 -2
- package/dist/arcgis-map-components/{FDRH3UVC.js → 5VMITAMK.js} +2 -2
- package/dist/arcgis-map-components/{4TWU73PM.js → 5WLC35YA.js} +2 -2
- package/dist/arcgis-map-components/{AZZB6GAW.js → 6G36QWSY.js} +2 -2
- package/dist/arcgis-map-components/{ICFGROR5.js → 6R2FGKQT.js} +2 -2
- package/dist/arcgis-map-components/{BUJYUKU4.js → 6YA2OV3T.js} +2 -2
- package/dist/arcgis-map-components/{H65VKCFU.js → 72JSPLOP.js} +2 -2
- package/dist/arcgis-map-components/{52SR7VNH.js → 7AFCPNYM.js} +2 -2
- package/dist/arcgis-map-components/{BVSMXHIL.js → 7P3ZXH6D.js} +2 -2
- package/dist/arcgis-map-components/{LM7GVP7U.js → AD3WDEKR.js} +2 -2
- package/dist/arcgis-map-components/{LYU7R62I.js → AWY7XBIQ.js} +2 -2
- package/dist/arcgis-map-components/{SNKW4SR7.js → BK7BLL6C.js} +2 -2
- package/dist/arcgis-map-components/{2XMIRQM4.js → BVROVC3D.js} +1 -1
- package/dist/arcgis-map-components/{N3SF7B5G.js → CFJU5HN6.js} +2 -2
- package/dist/arcgis-map-components/{SPYG4ZCL.js → CPIRDZY7.js} +2 -2
- package/dist/arcgis-map-components/{GNCN4CKH.js → DUNKKQTB.js} +2 -2
- package/dist/arcgis-map-components/{XJ54JAXW.js → E2KZHKWD.js} +2 -2
- package/dist/arcgis-map-components/{5FNIJCVX.js → EGXYD4MH.js} +2 -2
- package/dist/arcgis-map-components/{HBO4NYWA.js → ELT26HJT.js} +2 -2
- package/dist/arcgis-map-components/{EWN5PD63.js → GEFKORE6.js} +2 -2
- package/dist/arcgis-map-components/{3MFWTE5Y.js → GKCFCPFI.js} +2 -2
- package/dist/arcgis-map-components/{KPREUFL7.js → HXRTESNJ.js} +2 -2
- package/dist/arcgis-map-components/{6TDROWYN.js → I4RDQM5W.js} +2 -2
- package/dist/arcgis-map-components/{OHVYY5BT.js → IH4BCM6A.js} +1 -1
- package/dist/arcgis-map-components/{QEG4KN2Z.js → JZERFTCO.js} +2 -2
- package/dist/arcgis-map-components/{ZF7E3EKA.js → KC5OY2TL.js} +2 -2
- package/dist/arcgis-map-components/{SXASMTE3.js → KUOAXUXW.js} +2 -2
- package/dist/arcgis-map-components/{IWIKJCVV.js → L4XRDEIO.js} +2 -2
- package/dist/arcgis-map-components/{NRVVPUFI.js → LREMPCW2.js} +2 -2
- package/dist/arcgis-map-components/{XG5BHQIO.js → MHC6OVB6.js} +2 -2
- package/dist/arcgis-map-components/{JJ2FAUXQ.js → N5FR6GXH.js} +2 -2
- package/dist/arcgis-map-components/{TZ2XXF2Q.js → N5VKW2NO.js} +2 -2
- package/dist/arcgis-map-components/{BSXJBDDG.js → NA6PUFJD.js} +2 -2
- package/dist/arcgis-map-components/{FSGHG6UX.js → NDX6AKPB.js} +2 -2
- package/dist/arcgis-map-components/{SLYITOGM.js → NGR5DKKD.js} +2 -2
- package/dist/arcgis-map-components/{AJHD5UPA.js → NMBYZ3YS.js} +2 -2
- package/dist/arcgis-map-components/{C5VRLFK4.js → NPDIRW47.js} +2 -2
- package/dist/arcgis-map-components/{W32WAP44.js → OHLMYMDJ.js} +2 -2
- package/dist/arcgis-map-components/{SB4GC63K.js → OU6ZDKAC.js} +2 -2
- package/dist/arcgis-map-components/{DOHK5TSB.js → PMOMU6CG.js} +2 -2
- package/dist/arcgis-map-components/{4HTDVK7N.js → PPOOKUTW.js} +2 -2
- package/dist/arcgis-map-components/{K3J34OMK.js → QGZZKIXA.js} +2 -2
- package/dist/arcgis-map-components/{UL34744D.js → QIXECNVB.js} +2 -2
- package/dist/arcgis-map-components/{ZEXE4XKZ.js → QKK2MWRD.js} +2 -2
- package/dist/arcgis-map-components/{2QTZCY55.js → QXXBLZZG.js} +2 -2
- package/dist/arcgis-map-components/{TYVMVY2V.js → RGTNHXXB.js} +2 -2
- package/dist/arcgis-map-components/{RU2ZEGO7.js → ROX2CJAC.js} +2 -2
- package/dist/arcgis-map-components/{PIYWXWE5.js → RRXDVJSI.js} +2 -2
- package/dist/arcgis-map-components/{4NORG25Y.js → SBF45WFY.js} +2 -2
- package/dist/arcgis-map-components/{3V4XRIT3.js → SYJUFPRU.js} +2 -2
- package/dist/arcgis-map-components/{TYC54IL4.js → TLQLTJV5.js} +2 -2
- package/dist/arcgis-map-components/{UKHZ3YEV.js → TYYGRUIN.js} +2 -2
- package/dist/arcgis-map-components/{G773Z2II.js → UBCQJTQG.js} +2 -2
- package/dist/arcgis-map-components/{FBER3UDB.js → UCUQ77QK.js} +2 -2
- package/dist/arcgis-map-components/{KUQUPW7W.js → VDBPSPWX.js} +1 -1
- package/dist/arcgis-map-components/{XOFCRQPG.js → VLOR4OTV.js} +2 -2
- package/dist/arcgis-map-components/{L273NBTW.js → WWL6OVUV.js} +2 -2
- package/dist/arcgis-map-components/{SGHTFI5H.js → XLLINSOP.js} +2 -2
- package/dist/arcgis-map-components/{RFMTZYW6.js → XYVMWBKC.js} +2 -2
- package/dist/arcgis-map-components/{FHSAJLEO.js → Z3D2YKTW.js} +2 -2
- package/dist/arcgis-map-components/{A6SW3HXI.js → ZL76M6QZ.js} +2 -2
- package/dist/arcgis-map-components/{NG7RLV6P.js → ZPWHQ2UA.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/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 +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as g}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as g}from"./BVROVC3D.js";import{a as S,b as M}from"./PPOOKUTW.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as w,B,C as a,D as d,E as o,G as x,a as c,g as y,q as _,r as f,s as l}from"./2UTKLDJN.js";var[{getBasemapThumbnailUrl:C},L]=await $arcgis.l(["applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel"]);var R=f`arcgis-basemap-toggle{display:block}`,s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},A=M(L),p=class extends B{constructor(){super(...arguments),this.messages=S(),this.viewModel=A(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("nextBasemap","state"),this.arcgisReady=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=y}static{this.styles=R}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=C(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,T=t.state==="loading",h=t.state==="incompatible-next-basemap",m=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&m,u=h,k=b||u,D=this._getThumbnailStyles(n),I=this._getThumbnailStyles(i);return k&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${m??o}>${m}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(c(e.base,g.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??o}><div class=${a(c(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(c(e.image,$?e.imageLoading:null))} style=${d(I)}>${$||T?l`<calcite-scrim><span aria-hidden=true class=${a(g.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",p);export{p as ArcgisBasemapToggle};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as u}from"./BVROVC3D.js";import{a as k,b as T}from"./PPOOKUTW.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as L,B as D,C as m,D as R,E as h,G as A,H as E,a as b,g as S,q as x,r as B,s as n,t as I,u as C}from"./2UTKLDJN.js";var[{when:Q,watch:y},X]=await $arcgis.l(["core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel"]);var U=Symbol.for(""),z=t=>{if(t?.r===U)return t?._$litStatic$},K=t=>({_$litStatic$:t,r:U});var G=new Map,w=t=>(e,...a)=>{let s=a.length,i,r,l=[],$=[],p,d=0,v=!1;for(;d<s;){for(p=e[d];d<s&&(r=a[d],(i=z(r))!==void 0);)p+=i+e[++d],v=!0;d!==s&&$.push(r),l.push(p),d++}if(d===s&&l.push(e[s]),v){let g=l.join("$$lit$$");(e=G.get(g))===void 0&&(l.raw=l,G.set(g,e=l)),a=$}return t(e,...a)},O=w(n),se=w(I),ie=w(C);var c="esri-basemap-gallery",o={base:c,sourceLoading:`${c}--source-loading`,layoutGrid:`${c}--grid`,narrowItems:`${c}--narrow-items`,loader:`${c}__loader`,item:`${c}__item`,itemContainer:`${c}__item-container`,itemContent:`${c}__item-content`,itemTitle:`${c}__item-title`,itemTagsContainer:`${c}__item-tags-container`,itemThumbnail:`${c}__item-thumbnail`,selectedItem:`${c}__item--selected`,itemError:`${c}__item--error`};function V(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function W(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function P({disabled:t,item:e,itemIndex:a,viewModel:s,messages:i,state:r}){let l=e.basemap.thumbnailUrl||E("assets/basemap-gallery/images/basemap-toggle-64.svg"),$=e.basemap.title,p=e.basemap.portalItem?.snippet,d=e.error?.message||p||$,{activeBasemapIndex:v}=s,g=v===a,j=g||v===-1&&a===0?0:-1,q={[o.selectedItem]:g,[o.itemError]:e.state==="error"},M=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${g} .ariaDisabled=${t} aria-labelledby=${M??h} class=${m(b(o.item,q))} data-item=${e??h} data-basemap=${e.basemap.id??h} role=radio tabindex=${j??h} title=${d??h} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${m(o.itemThumbnail)} src=${l??h}><div class=${m(o.itemContent)}><div class=${m(o.itemTitle)}><span id=${M??h}>${$}</span></div>${V(e.basemap)?F(e.basemap,i):null}</div>${r==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${m(u.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function F(t,e){return n`<div class=${m(o.itemTagsContainer)}>${J(e)}${W(t)?N(e):null}</div>`}function J(t){return n`<calcite-chip scale=s .label=${t.tag3D}>${t.tag3D}</calcite-chip>`}function N(t){return n`<calcite-chip appearance=outline-fill scale=s .label=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function Y({level:t,class:e,children:a}){let s=H(t),i=`h${s}`,r=K(i);return O`<${r} .ariaLevel=${String(s)} class=${m(b(u.heading,e))} role=heading>${a}</${r}>`}function Z(t,e,a){return Math.min(Math.max(t,e),a)}function H(t){return Z(Math.ceil(t),1,6)}var ee=B`arcgis-basemap-gallery{display:block}`,te=T(X),f={small:200,default:280,wide:420},_=class extends D{constructor(){super(...arguments),this.messages=k({}),this.viewModel=te(this),this._width=0,this._state="",this._itemsState="",this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=x()("activeBasemap","state"),this.arcgisReady=L()}static{this.properties={_width:16,_state:16,_itemsState:16,activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=S}static{this.styles=ee}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[Q(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),y(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),y(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),y(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let i of s)this._width=i.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:i}=this.viewModel,r=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(i-1,-1),s.length):this._getRoundRobinIndex(i+1,s.length),l=s.at(r);l?.state==="ready"&&(this.viewModel.activeBasemap=l.basemap)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,i={[o.sourceLoading]:e,[u.disabled]:a,"esri-component":!0},r=this._width;r<=f.small||r>=f.wide?i[o.layoutGrid]=!0:r<f.default&&(i[o.narrowItems]=!0);let l=e?n`<div class=${m(o.loader)}></div>`:null,$=e?null:s.length>0?n`<div aria-disabled=${this.disabled??h} aria-label=${this.label??h} class=${m(o.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p,d)=>P({disabled:a,item:p,itemIndex:d,viewModel:this.viewModel,messages:this.messages,state:p.state}))}</div>`:n`<div class=${m(u.empty)}>${Y({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${m(b(o.base,u.widget,u.panel,i))} style=${R({"--esri-basemap-gallery-small":`${f.small}px`})}>${[l,$]}</div>`}};A("arcgis-basemap-gallery",_);export{_ as ArcgisBasemapGallery};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
4
|
function Fo(...e){let t=[];for(let o=0;o<e.length;o++){let n=e[o];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let s=t.join(" ");return t.length=0,s}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Me(e,t){let s=e;for(;s;){if(s===t)return!0;if(!s.parentNode)return!1;s.parentNode instanceof ShadowRoot?s=s.parentNode.host:s=s.parentNode}return!1}function je(e,t,s){let{subscribe:o}=Ve(t);return o(n=>{n.some(i=>Me(e,i.target))&&s()})}var gt={};function Ve(e){let t=e.join(","),s=gt[t];if(s!==void 0)return s;let o=new Set,n=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(n.disconnect(),gt[t]=void 0)}}}};return gt[t]=r,r}function ze(e,t){let s=e;for(;s;){let o=s.closest?.(t);if(o)return o;let n=s.getRootNode?.();if(n===globalThis.document)return null;s=n.host}return null}function He(e,t,s){return ze(e,`[${t}]`)?.getAttribute(t)??s}function We(e){return typeof e.setFocus=="function"}async function Go(e){e!=null&&(We(e)?await e.setFocus():e.focus())}function p(e,t,...s){try{return e?.call(t,...s)}catch(o){console.error(o,e)}}async function W(e,t,...s){try{let o=e?.call(t,...s);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var qe=["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"],Be=new Set(qe),tt="en",Fe={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function Ge(e,t,s=""){let o=`${t}/${s}`,n=`${o}${e}.json`;return Et[n]??(Et[n]=zt(e,o)),await Et[n]}var Et={};async function zt(e,t){let s=`${t}${e}.json`;try{let o=await fetch(s);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await zt(tt,t)}function bt(e){let t=He(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:Ht(t)}}function Ht(e){let[t,s]=e.split("-"),o=t.toLowerCase(),n=o;return s&&(n=`${o}-${s.toUpperCase()}`),n=Fe[n]??n,Be.has(n)?n:s?Ht(o):tt}function Wt(e,t,s,o){let n,r=()=>void Ke(e,t,o).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&s(i),n=i}).catch(console.error);return r(),je(e,["lang"],r)}async function Ke(e,t,s=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:n}=bt(e),r=`${t}/${s}/t9n`,c=s===null?{}:await Ge(n,r,"messages.");return{lang:o,t9nLocale:n,t9nStrings:c}}var et=e=>e.replace(Je,(t,s)=>`${s===0?"":"-"}${t.toLowerCase()}`),Je=/[A-Z]+(?![a-z])|[A-Z]/gu;function qt(e,t){let s=t>Ye?Qe:t/Ze,o=0,n=setInterval(()=>{o+=s,o>=t&&(clearInterval(n),e())},s);return n}var Ye=4e3,Qe=2e3,Ze=4;function Bt(e){return e!==void 0}var Ft=";",ot=",",Gt=":";function _t(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let s=t;return s.manager?.loadedCalled||s._offspring.push(e),s._postLoad.promise}return!1}var Xe=(e,t)=>function(o,n){if(!globalThis.customElements)return;let i=(n??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(to)};function to([e,[t,s=""]]){if(customElements.get(e))return;let[o,n,r]=s.split(Ft),i=o?o?.split(ot).map(Kt):void 0,c=i?.map(([h])=>h),a=class extends oo{static{this.observedAttributes=i?.map(([,h])=>h).filter(h=>h!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ot):void 0}static{this._syncMethods=r?.split(ot)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var st=Object.defineProperty;function Kt(e){let t=e.split(Gt);return t.length===1?[t[0],et(t[0])]:t}var eo=globalThis.HTMLElement??Kt,oo=class extends eo{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){st(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){st(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){st(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=t[s],delete t[s])})}attributeChangedCallback(e,t,s){this._litElement?.attributeChangedCallback(e,t,s),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=_t(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,s=t._name,o=this._store,n=Object.values(e).find(u=>u.tagName===s),r=`${s}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let c=i.prototype,a=Element.prototype;Object.hasOwn(c,"isConnected")||(c.setAttribute=function(u,g){a.setAttribute.call(this.el,u,g)},c.removeAttribute=function(u){a.removeAttribute.call(this.el,u)},st(c,"isConnected",{get(){return Reflect.get(a,"isConnected",this.el)}})),!t._LitConstructor&&(t._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let l=document.createElement(r);n.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(u=>{let g=this.getAttribute(u);l.attributeChangedCallback(u,null,g)}),Object.entries(o).forEach(so,l);let m=this.isConnected;(m||this._ancestorLoad)&&(l.connectedCallback?.(),m||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function so([e,t]){this[e]=t}var Ct={};function Jt(e,t){if(t){let s=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(s,([o,n])=>n.noAccessor?void 0:[o,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(Bt))}else{let s=e.constructor,o=s.__registerControllers?.(e)??void 0;if(s.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([n,[r]])=>(r&63)!==0))}}function Yt(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 Qt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var te=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var q;function k(e){q!==e&&(q=e,queueMicrotask(()=>{q===e&&(q=void 0)}))}function P(e){return q}var T=[];function xt(e){if(e===void 0){T=[];return}let t=T.indexOf(e);T=t===-1?[...T,e]:T.slice(0,t+1),queueMicrotask(()=>{T=[]})}function At(){return T}var V;function no(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function ro(){let e=V;return V=void 0,e}var io=async(e,t)=>{let s=Lt(e);if(s===void 0)return e;if(await s.ready,typeof t=="function"){let o=s.watchExports(n=>t(n,o))}return s.exports},ao=async e=>{let t=Lt(e);return await t.ready,t},Lt=e=>{let s=P().manager.internals.resolveExports(e);if(s!==void 0)return s;if(te(e))return e;let o=ro();if(o!==void 0)return o},$={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,ee;ee=rt;var Ot=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[ee]=!0,this.ready=this._ready.promise,this._exports=Xt(this),this._exportWatchers=new Set;let t=e??P(new.target.name);this.component=t,this.component.addController(this),this.component.manager===void 0||(xt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Xt(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return k(this.component),io}get useRef(){return k(this.component),ao}get useRefSync(){return k(this.component),Lt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Zt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Zt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){k(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Zt(e){p(e,void 0,this)}var oe=Ot;function Xt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(s,o,n){if(!(co.has(o)&&o in s&&s[o]===t)&&(o in s||o in Promise.prototype||typeof o=="symbol"))return typeof s=="function"?s[o]:Reflect.get(s,o,n)},set:(s,o,n,r)=>Reflect.set(s,o,n,r)});return t}var co=new Set(["exports","_exports"]);function se(e,t,s){let o=Object.keys(e),n=o.length;N===void 0&&queueMicrotask(F),N??(N=new Map);let r=N.get(e);return r===void 0&&(r={callbacks:[],keyCount:n},N.set(e,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=h=>p(t,null,h),a=i[n];a===void 0?c(void 0):e[a]===s?c(a):c(void 0)}),s}var N=void 0;function F(){Array.from(N?.entries()??[]).forEach(([e,{callbacks:t}])=>{let s=Object.keys(e);t.forEach(o=>o(s))}),N=void 0}function G(e,t,s){var o;let n=t,r=e.manager.internals;(o=r.allWatchers)[n]??(o[n]=[]);let i=r.allWatchers[n],c=s,a=(h,d,l)=>p(c,null,h,d,l);return i.push(a),()=>{let h=i.indexOf(a);h!==-1&&i.splice(h,1)}}var ne=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([s,[o]])=>{var n;o&2048&&((n=t.setters)[s]??(n[s]=[]),t.setters[s].push(t.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,s,o)=>{if($.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let s=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],s.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,s=t.constructor.prototype;if(this._getSetProxy(s,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;s!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,s){let o=this.component,n=Qt(o,t),r;do r=Object.getOwnPropertyDescriptor(e,t);while(!r&&(e=Object.getPrototypeOf(e)));if(!r)return;let i=r.get,c=r.set,a=nt in i,h=nt in c;if(a&&h)return;let d=!a,l=!h,m=d?function(){let E=i.call(this),C=B.get(this);if($.getter||C===void 0)return E;let O=C.manager.internals;E=O.accessorGetter[t](E,t);let y=O.getters[t]??wt;for(let w=0;w<y.length;w++)E=y[w](E,t);return E}:i,u=l?function(E){let C=i.call(this),O=B.get(this);if(O===void 0){c.call(this,E);return}let y=O.manager.isLit?E??void 0:Yt(E,n),w=O.manager.internals;if(y===C)c.call(this,y);else{let Vt=$.setter?wt:w.setters[t]??wt;for(let H=0;H<Vt.length&&(y=Vt[H](y,C,t),y!==C);H++);y=w.accessorSetter[t](y,C,t),c.call(this,y),y!==C&&w.enabledWatchers[t]?.forEach(H=>H(y,C,t))}w.keyTrackers.length>0&&w?.firePropTrackers(t,E)}:c;d&&(m[nt]=!0),l&&(u[nt]=!0),Object.defineProperty(e,t,{...r,get:m,set:u})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},wt=[],nt=Symbol(),$t=Symbol();function re(e,t,s){let o=e.manager.internals;return o.trackedValue!==$t&&o.trackedValue!==s&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=s,o.keyTrackers.push((n,r)=>p(t,void 0,s===r?n:void 0)),s}function it(e=[P(),...At()],t,s){let o=Array.isArray(e)?e:[e],n=o.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&t(c)};o.forEach(c=>se(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),s));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&re(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),s),s}function lo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function ho(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function ie(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ae=e=>(...t)=>{let s=At(),o=new e(...t),n=o.exports;xt(s.at(-1));let r=o.component.manager.internals;r.markExports(o,n),o.watchExports(c=>r.markExports(o,c)),no(o);let i=[o.component,...s].reverse();return it(i,c=>c===void 0?void 0:po(o,c,n),n)};function po(e,{host:t,key:s,isReactive:o},n){let r=t,i=r[s]!==e.exports,c=r[s]!==n,a=n!==e.exports;if(i&&!c&&a&&(r[s]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,r[s]),G(e.component,s,l=>{l!==e.exports&&d.markExports(e,l)})}e.assignedProperty=o?void 0:s}e.watchExports(()=>{if(r[s]===e.exports)return;let d=e.component.manager;d.internals.setters[s]?.includes(d.internals.readonlySetter)?ie(()=>{r[s]=e.exports}):r[s]=e.exports})}var he=(e,t)=>new uo(e,t),uo=class extends oe{constructor(e,t){let s="addController"in e,o=new Set;function n(a){o.add(a),!(rt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function r(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=n,i.removeController=r,!s){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new ne(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=s,this.component.manager=this,Jt(e,s),this._controllers=o,this.exports=void 0,this.hasDestroy=Pt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ce,c.accessorSetter[a]=ce,c.getSetProxy(a)}),s?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),k(e),B.set(e.el,e),B.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,s=e.el===e;this._originalLifecycles={_connectedCallback:t||s?void 0:e.connectedCallback,_disconnectedCallback:t||s?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=n,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=r,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Pt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(mo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(vo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,yo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&G(this.component,Pt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(go),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;return this._controllers.forEach(Eo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(bo,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(_o),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=qt(e,fo)}}},Pt="autoDestroyDisabled",fo=1e3;var ce=e=>e;function mo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function vo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function yo(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function go(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function Eo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function bo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function _o(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var Co=e=>$o(void 0,e);var wo=class extends Ot{constructor(e,t){super(e);let s=this.exports;try{k(this.component);let o=t(this.component,this),n=this.exports!==s;if(o instanceof Promise){n||this.setProvisionalExports(o);let r=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},$o=ae(wo);var As=(e,t)=>(s={})=>Co((o,n)=>{let r=bt(o.el),i={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},c=o;queueMicrotask(()=>n.onLifecycle(()=>Wt(o.el,e("./assets"),({t9nLocale:h,t9nStrings:d,lang:l})=>{let m={...d,_lang:l,_t9nLocale:h,_loading:!1};n.exports=m;let u=d.componentLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=u)),a(c.messageOverrides)},s.name)));function a(h){let d=n.exports,l=d._original??d,m=de(l,h);h&&(m._original=l),n.exports=m}return"messageOverrides"in c&&n.onLifecycle(()=>G(c,"messageOverrides",a)),s.blocking?(n.setProvisionalExports(i,!1),n.ready):i});function de(e,t){if(!t)return e;let s={...e};return Object.entries(t).forEach(([o,n])=>{typeof n=="object"?s[o]=de(e[o],n):s[o]=n??e[o]}),s}var Ls=e=>xo,le="arcgisPropertyChange";function xo(...e){let t=P(),o=t[le];return t.manager.isLit&&(o=t.constructor.$createEvent(le,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(n=>G(t,n,()=>o.emit({name:n}))))),o}var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),pe=new WeakMap,K=class{constructor(t,s,o){if(this._$cssResult$=!0,o!==St)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}get styleSheet(){let t=this.o,s=this.t;if(ct&&t===void 0){let o=s!==void 0&&s.length===1;o&&(t=pe.get(s)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&pe.set(s,t))}return t}toString(){return this.cssText}},ue=e=>new K(typeof e=="string"?e:e+"",void 0,St),Ao=(e,...t)=>{let s=e.length===1?e[0]:t.reduce((o,n,r)=>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.")})(n)+e[r+1],e[0]);return new K(s,e,St)},Tt=(e,t)=>{if(ct)e.adoptedStyleSheets=t.map(s=>s instanceof CSSStyleSheet?s:s.styleSheet);else for(let s of t){let o=document.createElement("style"),n=at.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=s.cssText,e.appendChild(o)}},lt=ct?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let s="";for(let o of t.cssRules)s+=o.cssText;return ue(s)})(e):e;var kt=globalThis,ht=kt.trustedTypes,fe=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,Dt="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Rt="?"+x,Lo=`<${Rt}>`,U=document,Y=()=>U.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Ut=Array.isArray,be=e=>Ut(e)||typeof e?.[Symbol.iterator]=="function",Nt=`[
|
|
5
5
|
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,me=/-->/g,ve=/>/g,D=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
|
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),ye=/'/g,ge=/"/g,_e=/^(?:script|style|textarea|title)$/i,It=e=>(t,...s)=>({_$litType$:e,strings:t,values:s}),Ns=It(1),ks=It(2),Ds=It(3),v=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),Ee=new WeakMap,R=U.createTreeWalker(U,129);function Ce(e,t){if(!Ut(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return fe!==void 0?fe.createHTML(t):t}var we=(e,t)=>{let s=e.length-1,o=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<s;c++){let a=e[c],h,d,l=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===J?d[1]==="!--"?i=me:d[1]!==void 0?i=ve:d[2]!==void 0?(_e.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=D):d[3]!==void 0&&(i=D):i===D?d[0]===">"?(i=n??J,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,h=d[1],i=d[3]===void 0?D:d[3]==='"'?ge:ye):i===ge||i===ye?i=D:i===me||i===ve?i=J:(i=D,n=void 0);let u=i===D&&e[c+1].startsWith("/>")?" ":"";r+=i===J?a+Lo:l>=0?(o.push(h),a.slice(0,l)+Dt+a.slice(l)+x+u):a+x+(l===-2?c:u)}return[Ce(e,r+(e[s]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:s},o){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[h,d]=we(t,s);if(this.el=e.createElement(h,o),R.currentNode=this.el.content,s===2||s===3){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(n=R.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let l of n.getAttributeNames())if(l.endsWith(Dt)){let m=d[i++],u=n.getAttribute(l).split(x),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:u,ctor:g[1]==="."?pt:g[1]==="?"?ut:g[1]==="@"?ft:M}),n.removeAttribute(l)}else l.startsWith(x)&&(a.push({type:6,index:r}),n.removeAttribute(l));if(_e.test(n.tagName)){let l=n.textContent.split(x),m=l.length-1;if(m>0){n.textContent=ht?ht.emptyScript:"";for(let u=0;u<m;u++)n.append(l[u],Y()),R.nextNode(),a.push({type:2,index:++r});n.append(l[m],Y())}}}else if(n.nodeType===8)if(n.data===Rt)a.push({type:2,index:r});else{let l=-1;for(;(l=n.data.indexOf(x,l+1))!==-1;)a.push({type:7,index:r}),l+=x.length-1}r++}}static createElement(t,s){let o=U.createElement("template");return o.innerHTML=t,o}};function I(e,t,s=e,o){if(t===v)return t;let n=o!==void 0?s.o?.[o]:s.l,r=Q(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,s,o)),o!==void 0?(s.o??=[])[o]=n:s.l=n),n!==void 0&&(t=I(e,n._$AS(e,t.values),n,o)),t}var dt=class{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:s},parts:o}=this._$AD,n=(t?.creationScope??U).importNode(s,!0);R.currentNode=n;let r=R.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let h;a.type===2?h=new z(r,r.nextSibling,this,t):a.type===1?h=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(h=new mt(r,this,t)),this._$AV.push(h),a=o[++c]}i!==a?.index&&(r=R.nextNode(),i++)}return R.currentNode=U,n}p(t){let s=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,s),s+=o.strings.length-2):o._$AI(t[s])),s++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,s,o,n){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=o,this.options=n,this.v=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,s=this._$AM;return s!==void 0&&t?.nodeType===11&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=I(this,t,s),Q(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):be(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==f&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){let{values:s,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(Ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(s);else{let r=new dt(n,this),i=r.u(this.options);r.p(s),this.T(i),this._$AH=r}}_$AC(t){let s=Ee.get(t.strings);return s===void 0&&Ee.set(t.strings,s=new Z(t)),s}k(t){Ut(this._$AH)||(this._$AH=[],this._$AR());let s=this._$AH,o,n=0;for(let r of t)n===s.length?s.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=s[n],o._$AI(r),n++;n<s.length&&(this._$AR(o&&o._$AB.nextSibling,n),s.length=n)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},M=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,o,n,r){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=s,this._$AM=n,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=f}_$AI(t,s=this,o,n){let r=this.strings,i=!1;if(r===void 0)t=I(this,t,s,0),i=!Q(t)||t!==this._$AH&&t!==v,i&&(this._$AH=t);else{let c=t,a,h;for(t=r[0],a=0;a<r.length-1;a++)h=I(this,c[o+a],s,a),h===v&&(h=this._$AH[a]),i||=!Q(h)||h!==this._$AH[a],h===f?t=f:t!==f&&(t+=(h??"")+r[a+1]),this._$AH[a]=h}i&&!n&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends M{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},ut=class extends M{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},ft=class extends M{constructor(t,s,o,n,r){super(t,s,o,n,r),this.type=5}_$AI(t,s=this){if((t=I(this,t,s,0)??f)===v)return;let o=this._$AH,n=t===f&&o!==f||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==f&&(o===f||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,s,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}},$e={M:Dt,P:x,A:Rt,C:1,L:we,R:dt,D:be,V:I,I:z,H:M,N:ut,U:ft,B:pt,F:mt},Oo=kt.litHtmlPolyfillSupport;Oo?.(Z,z),(kt.litHtmlVersions??=[]).push("3.2.0");var xe=(e,t,s)=>{let o=s?.renderBefore??t,n=o._$litPart$;if(n===void 0){let r=s?.renderBefore??null;o._$litPart$=n=new z(t.insertBefore(Y(),r),r,void 0,s??{})}return n._$AI(e),n};var{is:Po,defineProperty:So,getOwnPropertyDescriptor:To,getOwnPropertyNames:No,getOwnPropertySymbols:ko,getPrototypeOf:Do}=Object,yt=globalThis,Ae=yt.trustedTypes,Ro=Ae?Ae.emptyScript:"",Uo=yt.reactiveElementPolyfillSupport,X=(e,t)=>e,vt={toAttribute(e,t){switch(t){case Boolean:e=e?Ro:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let s=e;switch(t){case Boolean:s=e!==null;break;case Number:s=e===null?null:Number(e);break;case Object:case Array:try{s=JSON.parse(e)}catch{s=null}}return s}},Mt=(e,t)=>!Po(e,t),Le={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:Mt};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=Le){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(t,o,s);n!==void 0&&So(this.prototype,t,n)}}static getPropertyDescriptor(t,s,o){let{get:n,set:r}=To(this.prototype,t)??{get(){return this[s]},set(i){this[s]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Le}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=Do(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let s=this.properties,o=[...No(s),...ko(s)];for(let n of o)this.createProperty(n,s[n])}let t=this[Symbol.metadata];if(t!==null){let s=litPropertyMetadata.get(t);if(s!==void 0)for(let[o,n]of s)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[s,o]of this.elementProperties){let n=this._$Eu(s,o);n!==void 0&&this._$Eh.set(n,s)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let s=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let n of o)s.unshift(lt(n))}else t!==void 0&&s.push(lt(t));return s}static _$Eu(t,s){let o=s.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,s=this.constructor.elementProperties;for(let o of s.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Tt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,s,o){this._$AK(t,o)}_$EC(t,s){let o=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,o);if(n!==void 0&&o.reflect===!0){let r=(o.converter?.toAttribute!==void 0?o.converter:vt).toAttribute(s,o.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,s){let o=this.constructor,n=o._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=o.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:vt;this._$Em=n,this[n]=i.fromAttribute(s,r.type),this._$Em=null}}requestUpdate(t,s,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Mt)(this[t],s))return;this.P(t,s,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,s,o){this._$AL.has(t)||this._$AL.set(t,s),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(s){Promise.reject(s)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,r]of o)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(s)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach(s=>s.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(s=>this._$EC(s,this[s])),this._$EU()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[X("elementProperties")]=new Map,A[X("finalized")]=new Map,Uo?.({ReactiveElement:A}),(yt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=xe(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return v}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var Io=globalThis.litElementPolyfillSupport;Io?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},j=e=>(...t)=>({_$litDirective$:e,values:t}),S=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,o){this.t=t,this._$AM=s,this.i=o}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}};var Se=j(class extends S{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let s=e.element.classList;for(let o of this.st)o in t||(s.remove(o),this.st.delete(o));for(let o in t){let n=!!t[o];n===this.st.has(o)||this.nt?.has(o)||(n?(s.add(o),this.st.add(o)):(s.remove(o),this.st.delete(o)))}return v}});var Te="important",jo=" !"+Te,Ne=j(class extends S{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,s)=>{let o=e[s];return o==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:s}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?s.removeProperty(o):s[o]=null);for(let o in t){let n=t[o];if(n!=null){this.ft.add(o);let r=typeof n=="string"&&n.endsWith(jo);o.includes("-")||r?s.setProperty(o,r?n.slice(0,-11):n,r?Te:""):s[o]=n}}return v}});var{I:Vn}=$e;var ke=e=>e.strings===void 0;var Vo={},De=(e,t=Vo)=>e._$AH=t;var zo=j(class extends S{constructor(e){if(super(e),e.type!==_.PROPERTY&&e.type!==_.ATTRIBUTE&&e.type!==_.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ke(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===v||t===f)return t;let s=e.element,o=e.name;if(e.type===_.PROPERTY){if(t===s[o])return v}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===s.hasAttribute(o))return v}else if(e.type===_.ATTRIBUTE&&s.getAttribute(o)===t+"")return v;return De(e),t}});var Re=(e="",t={},s=P())=>{let o={emit:n=>{e===""&&F();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return s.el.dispatchEvent(r),r}};return e===""&&it(void 0,n=>{e=n.key},o),o},Xn=Re.bind(null,"");var Wo=()=>{},qo=class Ue extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=he(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=Wo;let t=Ue.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let s=super.finalizeStyles(t),o=this.shadowRootOptions===Ct;return this.runtime?.commonStyles===void 0||o?s:[this.runtime.commonStyles,...s]}static createProperty(t,s){let o=typeof s=="number"?s:Array.isArray(s)?s[0]:0,n=Array.isArray(s)?s[1]:void 0;super.createProperty(t,{attribute:o&1&&typeof t=="string"?et(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(s=>{this._postLoaded.reject(s),setTimeout(()=>{throw s})}))}createRenderRoot(){let t=this.el.shadowRoot,s=this.constructor,o=s.shadowRootOptions,r=t??(o===Ct?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:r}),t)return L.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...s.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??_t(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(o=>!o.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async o=>await o.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,s,o){let n=s?.bind(this)??s;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,o),()=>this.el.removeEventListener(t,n,o)))}listenOn(t,s,o,n){let r=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(s,r,n),()=>t.removeEventListener(s,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};qo.$createEvent=Re;function Ie(e){let t,s=n=>{t=new URL(n,globalThis.location?.href||void 0).href},o={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:s,customElement(n,r){r.runtime=o,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return s(e.defaultAssetPath),o}var hr=e=>typeof e=="object"&&e!=null?Se(e):e,dr=e=>typeof e=="object"&&e!=null?Ne(e):e;var ur=f;var Bo=Ie({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:vr,getAssetPath:yr,setAssetPath:gr}=Bo;export{Fo as a,Go as b,et as c,qt as d,Bt as e,Xe as f,Ct as g,P as h,oe as i,G as j,re as k,it as l,lo as m,ho as n,ae as o,As as p,Ls as q,Ao as r,Ns as s,ks as t,Ds as u,f as v,_ as w,j as x,S as y,ke as z,Xn as A,qo as B,hr as C,dr as D,ur as E,Bo as F,vr as G,yr as H};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as r}from"./BVROVC3D.js";import{a as f,b as M}from"./PPOOKUTW.js";import{d as s}from"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as m,B as v,C as o,E as u,G as w,a as h,g as d,q as g,r as p,s as e}from"./2UTKLDJN.js";var T=await $arcgis.l("widgets/Track/TrackViewModel");var $=p`arcgis-track{display:block}`,O={base:"esri-track"},D=M(T),a=class extends v{constructor(){super(...arguments),this.messages=f(),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=s(()=>this.viewModel,"track"),this.arcgisError=s(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=g()("state"),this.arcgisReady=m()}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=d}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,k=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(k?n?.stopTracking:n?.startTracking)??"",b=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${o(h(O.base,r.widget))}>${!b&&e`<calcite-button class=${o(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??u}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};w("arcgis-track",a);export{a as ArcgisTrack};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as h}from"./NGR5DKKD.js";import{d as a}from"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as o,B as l,G as r,g as e,q as i,r as s}from"./2UTKLDJN.js";var d=await $arcgis.l("widgets/TableList");var n=s`arcgis-table-list{display:block}`,m=h(d),t=class extends l{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=a(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5}}static{this.shadowRootOptions=e}static{this.styles=n}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};r("arcgis-table-list",t);export{t as ArcgisTableList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as n}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./2UTKLDJN.js";var h=await $arcgis.l("widgets/AreaMeasurement3D");var l=e`arcgis-area-measurement-3d{display:block}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(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=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=l}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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as n}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./2UTKLDJN.js";var h=await $arcgis.l("widgets/LineOfSight");var l=e`arcgis-line-of-sight{display:block}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(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.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};r("arcgis-line-of-sight",t);export{t as ArcgisLineOfSight};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as n}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as s,B as o,G as a,g as e,r as i}from"./2UTKLDJN.js";var c=await $arcgis.l("widgets/Expand");var d=i`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`,p=n(c),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.focusTrapEnabled=this.widget.focusTrapDisabled,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=s(),this.content??=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,focusTrapEnabled:5,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=e}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);export{t as ArcgisExpand};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{v as c,w as A,x as d,y as _,z as v}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{v as c,w as A,x as d,y as _,z as v}from"./2UTKLDJN.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{c as y,e as g,h as S,i as M,k as C,l as $,m as L,n as R,o as V}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{c as y,e as g,h as S,i as M,k as C,l as $,m as L,n as R,o as V}from"./2UTKLDJN.js";var I=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function W(t){return t.default!==void 0}async function h(){if(I)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.l("core/reactiveUtils");return W(t)?t.default:t}var l;async function b(){return l??(l=h()),await l}var x=(t,e)=>(r,i)=>T(r,t,i),F=class extends M{constructor(t,e,r){super(t),this._loadAccessor=e,this._options=r,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),C(t,i=>{i&&(this._instancePropName=i)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await b();let t=this.component,e=this._gatherParameters(),r=this._options?.editConstructorProperties?.call(t,e)??e,i=r instanceof Promise?await r:r,c=t,n=typeof this._instancePropName=="string"?c[this._instancePropName]:void 0;n!=null&&n!==this.exports?(this._instance=n,n.set(i)):this._instance=await this._createInstance(i),!t.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,([r,i])=>[i,this.component[r]]).filter(([,r])=>r!==void 0))}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},T=V(F),f={makeGetterProxy:(t,e,r,i)=>new Proxy({},{has:(c,n)=>typeof n=="string"||n in c,get:(c,n)=>{let w=Reflect.get(c,n);if(typeof n=="symbol"||n in Promise.prototype)return w;let u=n in c,o=r?.value??!0;return u||!o?w:$(t,a=>{a!==void 0&&e.set(a.key,n)},w)}}),watchComponentUpdates(t,e,r){function i(u,o){let a=r.get(o),s=e[a];return typeof s=="boolean"&&a!==o&&o.toLowerCase().includes("disable")?!s:s}let c=(u,o,a)=>{let s=r.get(a),p=e[s],m=typeof p=="boolean"&&s!==a&&a.toLowerCase().includes("disable");if((m?!p:n.manager.isLit?p??void 0:p)===u)return u;e[s]=m?!u:u;let d=e[s];return m?!d:d},n=t.component,w=n.manager.internals;r.forEach((u,o)=>{w.accessorGetter[o]=i,w.accessorSetter[o]=c})},watchAccessorUpdates(t,e,r){let{component:i}=t,c=i,n=e,w=G(e);R(()=>r.forEach((u,o)=>{if(w.has(u))return;let a=c[o],s=n[u];i.manager.isLit&&(s??(s=void 0));let m=typeof a=="boolean"&&u!==o&&o.toLowerCase().includes("disable")?!a:a;m!=null&&s!==m&&(n[u]=m)})),t.onLifecycle(()=>{if(!e.destroyed)return Array.from(r,([u,o])=>t.reactiveUtils.watch(()=>n[o],()=>{let a=n[o],p=typeof a=="boolean"&&o!==u&&u.toLowerCase().includes("disable")?!a:a;L(()=>{c[u]=p})},{initial:!0}))})},reEmitAccessorEvents(t,e,r,i){if(!("on"in e&&typeof e.on=="function"))return;let n=Object.entries(t.component).map(([o,a])=>{let s=a;if(!o.startsWith(i)||o===i||typeof s!="object"||s===null||!("emit"in s)||typeof s.emit!="function")return;let p=s.emit,m=o.slice(i.length);return[y(m).toLowerCase(),p]}).filter(g);if(n.length===0)return;let w=e,u=()=>w;t.onLifecycle(()=>{if(!e.destroyed)return n.map(([o,a])=>r.on(u,o,a))})},async reCreate(t,e){let r=e.manager.useRefSync(t);r!==void 0&&await r.reCreate()}};function G(t){let r=Object.entries(t.__accessor__?.metadata??{});return new Set(r.filter(([i,c])=>c?.readOnly===!0).map(([i])=>i))}function N(t,e){let r=S(),i=r.manager,c=b();i.onLoaded(()=>{c.then(w=>i.onLifecycle(()=>w.on(t,e,n.emit)))});let n=r.constructor.$createEvent();return n}export{x as a,F as b,f as c,N as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as h}from"./NGR5DKKD.js";import{d as l}from"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as o,B as a,G as r,g as e,q as i,r as s}from"./2UTKLDJN.js";var d=await $arcgis.l("widgets/CatalogLayerList");var n=s`arcgis-catalog-layer-list{display:block}`,c=h(d),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=e}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};r("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as r}from"./NGR5DKKD.js";import{d as t}from"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as o,B as h,G as n,g as s,q as e,r as a}from"./2UTKLDJN.js";var c=await $arcgis.l("widgets/ValuePicker");var l=a`arcgis-value-picker{display:block}`,p=r(c),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=e()("values"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);export{i as ArcgisValuePicker};{var l=(window.$arcgis?!$arcgis?.forceESM&&$arcgis?.import:!Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}))||((x)=>import(x+".js")),w=(x)=>x.map?Promise.all(x.map(w)):l("@arcgis/core/"+x);$arcgis.l=w}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as r}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as o,B as n,G as a,g as i,q as e,r as s}from"./2UTKLDJN.js";var l=await $arcgis.l("widgets/CoordinateConversion");var c=s`arcgis-coordinate-conversion{display:block}`,g=r(l),t=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.arcgisPropertyChange=e()("currentLocation","state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,headingLevel:9,hideCaptureButton:5,hideEditButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=i}static{this.styles=c}async destroy(){await this.manager.destroy()}async reverseConvert(h,d){return await this.widget?.reverseConvert(h,d)}};a("arcgis-coordinate-conversion",t);export{t as ArcgisCoordinateConversion};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as d}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as o,B as a,G as h,g as t,q as e,r as s}from"./2UTKLDJN.js";var n=await $arcgis.l("widgets/ShadowCast");var l=s`arcgis-shadow-cast{display:block}`,c=d(n),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=e()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=t}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(r){return await this.widget?.viewModel.getDuration(r)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as r}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as o,B as h,G as n,g as i,q as e,r as s}from"./2UTKLDJN.js";var l=await $arcgis.l("widgets/ElevationProfile");var a=s`arcgis-elevation-profile{display:block}`,d=r(l),t=class extends h{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.effectiveUnits=this.viewModel.effectiveUnits,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideLegend=this.widget.visibleElements.legend,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.input=this.widget.input,this.label=this.widget.label,this.position="bottom-left",this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=e()("input","effectiveUnits","progress","state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,effectiveUnits:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,highlightEnabled:5,hoveredChartPosition:9,icon:1,input:0,label:1,position:1,profiles:0,progress:8,referenceElement:1,state:3,uniformChartScaling:5,unit:1,unitOptions:0}}static{this.shadowRootOptions=i}static{this.styles=a}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}};n("arcgis-elevation-profile",t);export{t as ArcgisElevationProfile};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{b as R}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{b as R}from"./4QOOXB6M.js";import{a as d}from"./BVROVC3D.js";import{a as f,b as w}from"./PPOOKUTW.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as b,B as v,C as a,D as _,E as c,G as $,b as u,g as p,q as g,r as m,s as o}from"./2UTKLDJN.js";var[{watch:x},y]=await $arcgis.l(["core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel"]);var C=[-45,0,45,-90,90,-135,180,135],M={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},S=m`.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`;function B(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function E(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=w(y),h=class extends v{constructor(){super(...arguments),this.messages=f({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=g()("state"),this.arcgisReady=b()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=p}static{this.styles=S}get _rotationEnabled(){return this.el.view?.ready?this.el.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[x(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?this.el.childElem?.focus():u(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=B(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.el.view==null||this.el.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${R(this._setButtonContainerRef)}>${C.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${C.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-pad>`}_renderButton(t){let{label:e,iconName:i}=M[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||E(this.el.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${_(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};$("arcgis-directional-pad",h);export{h as ArcgisDirectionalPad};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as n}from"./NGR5DKKD.js";import{d as e}from"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as o,B as l,G as h,g as s,q as a,r}from"./2UTKLDJN.js";var d=await $arcgis.l("widgets/Print");var m=r`arcgis-print{display:block}`,p=n(d),i=class extends l{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.allowedFormats=this.widget.allowedFormats,this.allowedLayouts=this.widget.allowedLayouts,this.autoDestroyDisabled=!1,this.exportedLinks=this.widget.exportedLinks,this.extraParameters=this.widget.extraParameters,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.includeDefaultTemplatesDisabled=this.widget.includeDefaultTemplates,this.label=this.widget.label,this.portal=this.widget.portal,this.position="bottom-left",this.printServiceUrl=this.widget.printServiceUrl,this.showPrintAreaEnabled=this.widget.showPrintAreaEnabled,this.state=this.viewModel.state,this.templateCustomTextElements=this.widget.templateCustomTextElements,this.templateOptions=this.widget.templateOptions,this.arcgisComplete=e(()=>this.widget,"complete"),this.arcgisPropertyChange=a()("state"),this.arcgisReady=o(),this.arcgisSubmit=e(()=>this.widget,"submit")}static{this.properties={allowedFormats:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],allowedLayouts:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],autoDestroyDisabled:5,exportedLinks:0,extraParameters:1,headingLevel:9,icon:1,includeDefaultTemplatesDisabled:5,label:1,portal:0,position:1,printServiceUrl:1,referenceElement:1,showPrintAreaEnabled:7,state:3,templateCustomTextElements:0,templateOptions:0}}static{this.shadowRootOptions=s}static{this.styles=m}async destroy(){await this.manager.destroy()}};h("arcgis-print",i);export{i as ArcgisPrint};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as i}from"./BVROVC3D.js";import{a as u,b as f}from"./PPOOKUTW.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as d,B as h,C as s,D as p,E as e,G as g,a as r,g as n,q as c,r as l,s as m}from"./2UTKLDJN.js";var v=await $arcgis.l("widgets/Compass/CompassViewModel");var w=l`arcgis-compass{display:block}`,y="esri-compass",$={base:y,iconContainer:`${y}__icon-container`},M=f(v),o=class extends h{constructor(){super(...arguments),this.messages=u(),this.viewModel=M(this),this.autoDestroyDisabled=!1,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=c()("state","orientation"),this.arcgisReady=d()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=w}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:b}=this;return m`<div class=${s(r($.base,i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??e}><div aria-hidden=true class=${s($.iconContainer)} title=${t.reset??e}><calcite-icon .icon=${b} style=${p(_(this.orientation))}></calcite-icon></div></calcite-button></div>`}},_=a=>({transform:`rotateZ(${a.z}deg)`});g("arcgis-compass",o);export{o as ArcgisCompass};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as n}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as a,B as o,G as r,g as i,q as s,r as e}from"./2UTKLDJN.js";var h=await $arcgis.l("widgets/Histogram");var d=e`arcgis-histogram{display:block}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(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=s()("state"),this.arcgisReady=a()}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=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as z,b as g}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as z,b as g}from"./PPOOKUTW.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as u,B as h,C as s,E as i,G as d,a as t,g as n,q as l,r as c,s as m}from"./2UTKLDJN.js";var f=await $arcgis.l("widgets/Zoom/ZoomViewModel");var o={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"},w=c`arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}`,v=g(f),a=class extends h{constructor(){super(...arguments),this.messages=z({}),this.viewModel=v(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=u()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=w}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let p={[o.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:b,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${s(t(o.base,p))}><calcite-button class=${s(t(o.button,o.zoomIn))} .disabled=${!b} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${s(t(o.button,o.zoomOut))} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};d("arcgis-zoom",a);export{a as ArcgisZoom};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as m}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as m}from"./NGR5DKKD.js";import{d as t}from"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as h,B as l,G as g,g as s,q as a,r as n}from"./2UTKLDJN.js";var c=await $arcgis.l("widgets/Slider");var r=n`arcgis-slider{min-width:200px;min-height:25px}`,d=m(c),i=class extends l{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.arcgisMaxChange=t(()=>this.widget,"max-change"),this.arcgisMaxClick=t(()=>this.widget,"max-click"),this.arcgisMinChange=t(()=>this.widget,"min-change"),this.arcgisMinClick=t(()=>this.widget,"min-click"),this.arcgisPropertyChange=a()("state"),this.arcgisReady=h(),this.arcgisSegmentClick=t(()=>this.widget,"segment-click"),this.arcgisSegmentDrag=t(()=>this.widget,"segment-drag"),this.arcgisThumbChange=t(()=>this.widget,"thumb-change"),this.arcgisThumbClick=t(()=>this.widget,"thumb-click"),this.arcgisThumbDrag=t(()=>this.widget,"thumb-drag"),this.arcgisTickClick=t(()=>this.widget,"tick-click"),this.arcgisTrackClick=t(()=>this.widget,"track-click")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};g("arcgis-slider",i);export{i as ArcgisSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
|
+
import{a as r}from"./NGR5DKKD.js";import"./4VOARWGG.js";import"./VDBPSPWX.js";import{A as a,B as l,G as n,g as i,q as s,r as o}from"./2UTKLDJN.js";var g=await $arcgis.l("widgets/Editor");var d=o`arcgis-editor{display:block}`,h=r(g),t=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=s()("activeWorkflow","state"),this.arcgisReady=a()}static{this.properties={activeWorkflow:0,allowedWorkflows:0,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=i}static{this.styles=d}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};n("arcgis-editor",t);export{t as ArcgisEditor};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
3
|
+
v4.32.0-next.96 */
|
|
4
4
|
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 esri-component",widgetButton:"esri-widget--button",widgetButtonActive:"esri-widget--button-active",widgetDisabled:"esri-widget--disabled"};export{e as a};
|