@arcgis/map-components 4.32.0-next.23 → 4.32.0-next.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{KOWHGXFS.js → 2V6TDXZC.js} +2 -2
- package/dist/arcgis-map-components/3VCQ73US.js +6 -0
- package/dist/arcgis-map-components/4AKL7I3J.js +6 -0
- package/dist/arcgis-map-components/{EKC43WOL.js → 4HN2M5A4.js} +2 -2
- package/dist/arcgis-map-components/{FDQCVQC2.js → 5KL5PX4W.js} +2 -2
- package/dist/arcgis-map-components/{COHYFVYI.js → 5RZFLRFC.js} +2 -2
- package/dist/arcgis-map-components/{JUP57YWU.js → 5TUYG6UO.js} +2 -2
- package/dist/arcgis-map-components/{6YYP7GTC.js → 5XADOERC.js} +2 -2
- package/dist/arcgis-map-components/{UTVFQSTD.js → 6GV3BF2U.js} +2 -2
- package/dist/arcgis-map-components/6IAZTH2X.js +6 -0
- package/dist/arcgis-map-components/{ZJSXZB7R.js → 7EI5FVO2.js} +2 -2
- package/dist/arcgis-map-components/{MIDWVT5J.js → 7GDHGRPL.js} +2 -2
- package/dist/arcgis-map-components/{J5FC7PZ3.js → AJUCORAY.js} +2 -2
- package/dist/arcgis-map-components/{I4WZXHD5.js → AWAMC7M7.js} +2 -2
- package/dist/arcgis-map-components/AX2U6SJI.js +6 -0
- package/dist/arcgis-map-components/BDCLGECO.js +6 -0
- package/dist/arcgis-map-components/{VHHUJVWN.js → BHHZM3KT.js} +1 -1
- package/dist/arcgis-map-components/BPI5EIN5.js +6 -0
- package/dist/arcgis-map-components/CXYQRMFF.js +6 -0
- package/dist/arcgis-map-components/DJCWQ36F.js +8 -0
- package/dist/arcgis-map-components/{IO7OUDSX.js → DOU5CN6D.js} +2 -2
- package/dist/arcgis-map-components/{JGOESNEX.js → EYRQS6E5.js} +2 -2
- package/dist/arcgis-map-components/{PKBN2JWN.js → F2FTDLSG.js} +2 -2
- package/dist/arcgis-map-components/{YOCFU6OH.js → F5NT6QSV.js} +2 -2
- package/dist/arcgis-map-components/{EQKHOCZE.js → F7KFR63Y.js} +2 -2
- package/dist/arcgis-map-components/FLRJ4XRG.js +6 -0
- package/dist/arcgis-map-components/FOJSDUGR.js +6 -0
- package/dist/arcgis-map-components/FOQJI6GR.js +6 -0
- package/dist/arcgis-map-components/GUH4D5CE.js +6 -0
- package/dist/arcgis-map-components/HBMFHCC2.js +6 -0
- package/dist/arcgis-map-components/{UKBOVAO5.js → IDATKO2W.js} +2 -2
- package/dist/arcgis-map-components/{QQ5HLWDO.js → IKSNWJDV.js} +2 -2
- package/dist/arcgis-map-components/IX3UYD7N.js +6 -0
- package/dist/arcgis-map-components/{WFYPKHEZ.js → IZB4UG72.js} +2 -2
- package/dist/arcgis-map-components/{3BRNZFOI.js → J3SZZZRS.js} +2 -2
- package/dist/arcgis-map-components/{5YDFCE7J.js → J6P2DVBZ.js} +2 -2
- package/dist/arcgis-map-components/JGIXQ6ZZ.js +6 -0
- package/dist/arcgis-map-components/{RE7EMVVO.js → JXGSY4IM.js} +2 -2
- package/dist/arcgis-map-components/KJP2RBTV.js +6 -0
- package/dist/arcgis-map-components/KLP4HI6P.js +6 -0
- package/dist/arcgis-map-components/{YJMXTBOI.js → KV52L53Q.js} +1 -1
- package/dist/arcgis-map-components/{GTFCFONC.js → L24CORRA.js} +2 -2
- package/dist/arcgis-map-components/{GGUHE3LB.js → MO7SI74O.js} +2 -2
- package/dist/arcgis-map-components/O4CBOLN4.js +6 -0
- package/dist/arcgis-map-components/OANKEY7T.js +6 -0
- package/dist/arcgis-map-components/OT2S6U2U.js +6 -0
- package/dist/arcgis-map-components/{ZCXDEK3V.js → OVXD2F5L.js} +2 -2
- package/dist/arcgis-map-components/P5QCW366.js +6 -0
- package/dist/arcgis-map-components/{P4PYNNDH.js → PDKWAJAP.js} +2 -2
- package/dist/arcgis-map-components/{Y5WNEFOJ.js → Q7G6LWSY.js} +2 -2
- package/dist/arcgis-map-components/{TEQFX3CM.js → QML55D55.js} +2 -2
- package/dist/arcgis-map-components/{7JSNG7XL.js → QZFJBJQB.js} +2 -2
- package/dist/arcgis-map-components/{CLLTAYPK.js → R2UBH2E7.js} +2 -2
- package/dist/arcgis-map-components/{5ZINSNNT.js → RXEZ2OAT.js} +2 -2
- package/dist/arcgis-map-components/RYLT3WGY.js +6 -0
- package/dist/arcgis-map-components/{A2X5YVRZ.js → SAMGWDTY.js} +2 -2
- package/dist/arcgis-map-components/{XKHEU6ST.js → SZDIYNS2.js} +2 -2
- package/dist/arcgis-map-components/T4C4VCPD.js +6 -0
- package/dist/arcgis-map-components/{QNBFKTDD.js → TARTJJIL.js} +2 -2
- package/dist/arcgis-map-components/{T26HFJLF.js → TH7N6NGA.js} +2 -2
- package/dist/arcgis-map-components/{2F2V6HGD.js → TTM4SKYR.js} +2 -2
- package/dist/arcgis-map-components/UKEBBRQC.js +6 -0
- package/dist/arcgis-map-components/V45DA7FI.js +6 -0
- package/dist/arcgis-map-components/V5WYWLPT.js +6 -0
- package/dist/arcgis-map-components/{CJANHVSX.js → VJJESJWB.js} +2 -2
- package/dist/arcgis-map-components/{YDTAIZN3.js → VV4STQCF.js} +2 -2
- package/dist/arcgis-map-components/{OHAKKE3S.js → XNTST7SA.js} +2 -2
- package/dist/arcgis-map-components/{C4TJFQ6S.js → YGUHGWW6.js} +2 -2
- package/dist/arcgis-map-components/{DRWVF6S5.js → YWJECO5Y.js} +2 -2
- package/dist/arcgis-map-components/{NXQFXSB5.js → Z77DBLNK.js} +2 -2
- package/dist/arcgis-map-components/ZG2VSQDP.js +6 -0
- 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/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.d.ts +19 -0
- 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.d.ts +8 -1
- package/dist/components/arcgis-home/customElement.js +26 -10089
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +6 -1
- package/dist/components/arcgis-map/customElement.js +8 -8
- 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.d.ts +8 -1
- package/dist/components/arcgis-scene/customElement.js +7 -7
- 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 +107 -66
- package/dist/docs/docs.json +55 -10
- package/dist/docs/vscode.html-custom-data.json +4 -1
- package/dist/docs/web-types.json +23 -7
- package/dist/index.d.ts +61 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +6 -5
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +5 -4
- package/package.json +5 -5
- package/dist/arcgis-map-components/2GO72YU3.js +0 -6
- package/dist/arcgis-map-components/3HGOKDRP.js +0 -6
- package/dist/arcgis-map-components/467LZTCZ.js +0 -6
- package/dist/arcgis-map-components/5ALVCF6N.js +0 -6
- package/dist/arcgis-map-components/5EPFFKIJ.js +0 -6
- package/dist/arcgis-map-components/5NW3KNL4.js +0 -6
- package/dist/arcgis-map-components/6IQ5UUWE.js +0 -6
- package/dist/arcgis-map-components/6Q55WXV6.js +0 -6
- package/dist/arcgis-map-components/AACE67ZX.js +0 -6
- package/dist/arcgis-map-components/AOR2Y4SU.js +0 -6
- package/dist/arcgis-map-components/BMOKKYTA.js +0 -6
- package/dist/arcgis-map-components/CMWST2HY.js +0 -6
- package/dist/arcgis-map-components/D5RR3SKN.js +0 -6
- package/dist/arcgis-map-components/KRSZTRE4.js +0 -6
- package/dist/arcgis-map-components/N52H4H5T.js +0 -6
- package/dist/arcgis-map-components/NMPQ7DBC.js +0 -6
- package/dist/arcgis-map-components/PF3QG77B.js +0 -6
- package/dist/arcgis-map-components/QYEDV3XN.js +0 -6
- package/dist/arcgis-map-components/ROKRHTKK.js +0 -6
- package/dist/arcgis-map-components/SPXAHAFL.js +0 -6
- package/dist/arcgis-map-components/SRC5FGW4.js +0 -8
- package/dist/arcgis-map-components/V2VAQUBJ.js +0 -6
- package/dist/arcgis-map-components/V364OQWA.js +0 -203
- package/dist/arcgis-map-components/VHMYXI6J.js +0 -6
- package/dist/arcgis-map-components/VIF4AHYD.js +0 -6
- package/dist/arcgis-map-components/XB4O2ELS.js +0 -6
- package/dist/arcgis-map-components/XWZLPHBR.js +0 -6
- package/dist/arcgis-map-components/YS23TDDC.js +0 -6
@@ -1,8 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
var Bo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,s)=>(typeof require<"u"?require:t)[s]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});function Go(...e){let t=[];for(let o=0;o<e.length;o++){let r=e[o];if(typeof r=="string")t.push(r);else if(Array.isArray(r))t.push.apply(t,r);else if(typeof r=="object")for(let n in r)r[n]&&t.push(n)}let s=t.join(" ");return t.length=0,s}var _=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Ve(e,t){let s=e;for(;s;){if(s===t)return!0;if(!s.parentNode)return!1;s.parentNode instanceof ShadowRoot?s=s.parentNode.host:s=s.parentNode}return!1}function Ie(e,t,s){let{subscribe:o}=ze(t);return o(r=>{r.some(i=>Ve(e,i.target))&&s()})}var bt={};function ze(e){let t=e.join(","),s=bt[t];if(s!==void 0)return s;let o=new Set,r=new MutationObserver(i=>o.forEach(a=>a(i)));globalThis.document&&r.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(r.disconnect(),bt[t]=void 0)}}}};return bt[t]=n,n}function He(e,t){let s=e;for(;s;){let o=s.closest?.(t);if(o)return o;let r=s.getRootNode?.();if(r===globalThis.document)return null;s=r.host}return null}function We(e,t,s){return He(e,`[${t}]`)?.getAttribute(t)??s}function p(e,t,...s){try{return e?.call(t,...s)}catch(o){console.error(o,e)}}async function W(e,t,...s){try{let o=e?.call(t,...s);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var 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",no:"nb",zh:"zh-CN"};async function Ge(e,t,s=""){let o=`${t}/${s}`,r=`${o}${e}.json`;return _t[r]??(_t[r]=It(e,o)),await _t[r]}var _t={};async function It(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 It(tt,t)}function Et(e,t){let s=We(e,"lang",globalThis.navigator?.language||tt);return{lang:s,t9nLocale:zt(s,t)}}function zt(e,t){let[s,o]=e.split("-"),r=s.toLowerCase(),n=r;return o&&(n=`${r}-${o.toUpperCase()}`),n=Fe[n]??n,t&&n==="nb"?"no":Be.has(n)?n:o?zt(r):tt}function Ht(e,t,s,o,r){let n,i=()=>void Ke(e,t,o,r).then(a=>{(n?.lang!==a.lang||n.t9nLocale!==a.t9nLocale||n.t9nStrings!==a.t9nStrings)&&s(a),n=a}).catch(console.error);return i(),Ie(e,["lang"],i)}async function Ke(e,t,s=e.tagName.toLowerCase().split("-").slice(1).join("-"),o){let{lang:r,t9nLocale:n}=Et(e,o),i=`${t}/${s}/t9n`,a=`${s}.t9n.`,c=s===null?{}:await Ge(n,i,a);return{lang:r,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 Wt(e,t){let s=t>Ye?Qe:t/Ze,o=0,r=setInterval(()=>{o+=s,o>=t&&(clearInterval(r),e())},s);return r}var Ye=4e3,Qe=2e3,Ze=4;function qt(e){return e!==void 0}var Bt=";",ot=",",Ft=":";function Ct(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let s=t;return s.manager?.loadedCalled||s._offspring.push(e),s._postLoad.promise}return!1}var Xe=(e,t)=>function(o,r){if(!globalThis.customElements)return;let i=(r??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(to)};function to([e,[t,s=""]]){if(customElements.get(e))return;let[o,r,n]=s.split(Bt),i=o?o?.split(ot).map(Gt):void 0,a=i?.map(([h])=>h),c=class extends oo{static{this.observedAttributes=i?.map(([,h])=>h).filter(h=>h!=="")}static{this._properties=a}static{this._asyncMethods=r?r?.split(ot):void 0}static{this._syncMethods=n?.split(ot)}static{this._name=e}constructor(){!c._loadPromise&&(c._loadPromise=t(),c._initializePrototype()),super()}};customElements.define(e,c)}var st=Object.defineProperty;function Gt(e){let t=e.split(Ft);return t.length===1?[t[0],et(t[0])]:t}var eo=globalThis.HTMLElement??Gt,oo=class extends eo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,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=Ct(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,s=t._name,o=this._store,r=Object.values(e).find(u=>u.tagName===s),n=`${s}--lazy`,i=r;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let a=i.prototype,c=Element.prototype;Object.hasOwn(a,"isConnected")||(a.setAttribute=function(u,v){c.setAttribute.call(this.el,u,v)},a.removeAttribute=function(u){c.removeAttribute.call(this.el,u)},st(a,"isConnected",{get(){return Reflect.get(c,"isConnected",this.el)}})),!t._LitConstructor&&(t._LitConstructor=r,customElements.define(n,r)),r.lazy=this;let l=document.createElement(n);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(u=>{let v=this.getAttribute(u);l.attributeChangedCallback(u,null,v)}),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 $t={};function Kt(e,t){if(t){let s=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(s,([o,r])=>r.noAccessor?void 0:[o,[(r.readOnly?2048:0)|(r.state?32:16)]]).filter(qt))}else{let s=e.constructor,o=s.__registerControllers?.(e)??void 0;if(s.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([r,[n]])=>(n&63)!==0))}}function Jt(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 Yt=(e,t)=>e.manager.internals.members?.[t]?.[0];var nt=Symbol.for("controller");var Xt=e=>typeof e=="object"&&e!==null&&(nt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var q;function N(e){q!==e&&(q=e,queueMicrotask(()=>{q===e&&(q=void 0)}))}function k(e){return q}var S=[];function it(e){if(e===void 0){S=[];return}let t=S.indexOf(e);S=t===-1?[...S,e]:S.slice(0,t+1),queueMicrotask(()=>{S=[]})}function te(){return S}var I;function ro(e){I!==e&&(I=e,queueMicrotask(()=>{I===e&&(I=void 0)}))}function no(){let e=I;return I=void 0,e}var io=async(e,t)=>{let s=At(e);if(s===void 0)return e;if(await s.ready,typeof t=="function"){let o=s.watchExports(r=>t(r,o))}return s.exports},ao=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=no();if(t!==void 0)return t;let o=k().manager.internals.resolveExports(e);if(o!==void 0)return o;if(Xt(e))return e},w={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,ee;ee=nt;var Lt=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=Zt(this),this._exportWatchers=new Set;let t=e??k(new.target.name);this.component=t,this.component.addController(this),it(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Zt(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 N(this.component),io}get useRef(){return N(this.component),ao}get useRefSync(){return N(this.component),At}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Qt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Qt,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){N(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 Qt(e){p(e,void 0,this)}var oe=Lt;function Zt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(s,o,r){if(!(co.has(o)&&o in s&&s[o]===t)&&(o in s||o in Promise.prototype||typeof o=="symbol"))return typeof s=="function"?s[o]:Reflect.get(s,o,r)},set:(s,o,r,n)=>Reflect.set(s,o,r,n)});return t}var co=new Set(["exports","_exports"]);function at(e,t,s){let o=Object.keys(e),r=o.length;T===void 0&&queueMicrotask(F),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:r},T.set(e,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=h=>p(t,null,h),c=i[r];c===void 0?a(void 0):e[c]===s?a(c):a(void 0)}),s}var T=void 0;function F(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let s=Object.keys(e);t.forEach(o=>o(s))}),T=void 0}function G(e,t,s){var o;let r=t,n=e.manager.internals;(o=n.allWatchers)[r]??(o[r]=[]);let i=n.allWatchers[r],a=s,c=(h,d,l)=>p(a,null,h,d,l);return i.push(c),()=>{let h=i.indexOf(c);h!==-1&&i.splice(h,1)}}var se=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([s,[o]])=>{var r;o&2048&&((r=t.setters)[s]??(r[s]=[]),t.setters[s].push(t.readonlySetter))})},this.trackedValue=xt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,s,o)=>{if(w.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=xt,this.keyTrackers=[],s.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,s=t.constructor.prototype;if(this._getSetProxy(s,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;s!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,s){let o=this.component,r=Yt(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,a=n.set,c=rt in i,h=rt in a;if(c&&h)return;let d=!c,l=!h,m=d?function(){let b=i.call(this),C=B.get(this);if(w.getter||C===void 0)return b;let O=C.manager.internals;b=O.accessorGetter[t](b,t);let g=O.getters[t]??wt;for(let $=0;$<g.length;$++)b=g[$](b,t);return b}:i,u=l?function(b){let C=i.call(this),O=B.get(this);if(O===void 0){a.call(this,b);return}let g=O.manager.isLit?b??void 0:Jt(b,r),$=O.manager.internals;if(g===C)a.call(this,g);else{let Vt=w.setter?wt:$.setters[t]??wt;for(let H=0;H<Vt.length&&(g=Vt[H](g,C,t),g!==C);H++);g=$.accessorSetter[t](g,C,t),a.call(this,g),g!==C&&$.enabledWatchers[t]?.forEach(H=>H(g,C,t))}$.keyTrackers.length>0&&$?.firePropTrackers(t,b)}:a;d&&(m[rt]=!0),l&&(u[rt]=!0),Object.defineProperty(e,t,{...n,get:m,set:u})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},wt=[],rt=Symbol(),xt=Symbol();function re(e,t,s){let o=e.manager.internals;return o.trackedValue!==xt&&o.trackedValue!==s&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=s,o.keyTrackers.push((r,n)=>p(t,void 0,s===n?r:void 0)),s}function ne(e,t,s){let o=Array.isArray(e)?e:[e],r=o.length+1,n=a=>{r-=1,a!==void 0&&(r=Math.min(r,0)),r===0&&t(a)};o.forEach(a=>at(a,c=>n(c===void 0?void 0:{key:c,host:a,isReactive:!1}),s));let i=o.find(a=>"manager"in a&&typeof a.manager=="object"&&a.manager.component===a);return i&&re(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),s),s}function lo(e){w.setter=!0;try{return e()}finally{w.setter=!1}}function ho(e){w.getter=!0;try{return e()}finally{w.getter=!1}}function ie(e){w.readOnly=!0;try{return e()}finally{w.readOnly=!1}}var ae=e=>(...t)=>{let s=te(),o=new e(...t),r=o.exports;it(s.at(-1));let n=o.component.manager.internals;n.markExports(o,r),o.watchExports(a=>n.markExports(o,a)),ro(o);let i=[o.component,...s].reverse();return ne(i,a=>a===void 0?void 0:po(o,a,r),r)};function po(e,{host:t,key:s,isReactive:o},r){let n=t,i=n[s]!==e.exports,a=n[s]!==r,c=r!==e.exports;if(i&&!a&&c&&(n[s]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;a&&d.markExports(e,n[s]),G(e.component,s,l=>{l!==e.exports&&d.markExports(e,l)})}e.assignedProperty=o?void 0:s}e.watchExports(()=>{if(n[s]===e.exports)return;let d=e.component.manager;d.internals.setters[s]?.includes(d.internals.readonlySetter)?ie(()=>{n[s]=e.exports}):n[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 r(c){o.add(c),!(nt in c)&&e.renderRoot&&e.el.isConnected&&c.hostConnected?.()}function n(c){o.delete(c),c.controllerRemoved?.()}let i=e;if(i.addController=r,i.removeController=n,!s){let c=t??e.constructor.__forceUpdate;i.requestUpdate=()=>c(e)}super(e),this.internals=new se(this.component),this.destroyed=!1,this._updatePromise=new _,this._originalLifecycles={},this.isLit=s,this.component.manager=this,Kt(e,s),this._controllers=o,this.exports=void 0,this.hasDestroy=Ot in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let a=this.internals;Object.keys(a.members).forEach(c=>{a.accessorGetter[c]=ce,a.accessorSetter[c]=ce,a.getSetProxy(c)}),s?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(a.enableReadonly),it(void 0),N(e),B.set(e.el,e),B.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,s=e.el===e;this._originalLifecycles={_connectedCallback:t||s?void 0:e.connectedCallback,_disconnectedCallback:t||s?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),r=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:r,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=r,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ot} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(mo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(yo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,vo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&G(this.component,Ot,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(go),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(bo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(_o,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new _,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(Eo),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=Wt(e,fo)}}},Ot="autoDestroyDisabled",fo=1e3;var ce=e=>e;function mo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function yo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function vo(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function go(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function bo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function _o(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function Eo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var de=e=>$o(void 0,e);var Co=class extends Lt{constructor(e,t){super(e);let s=this.exports;try{N(this.component);let o=t(this.component,this),r=this.exports!==s;if(o instanceof Promise){r||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!r||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},$o=ae(Co);var _s=de;var Cs=(e,t)=>(s={})=>de((o,r)=>{let n=Et(o.el),i={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},a=o;queueMicrotask(()=>r.onLifecycle(()=>Ht(o.el,e("./assets"),({t9nLocale:h,t9nStrings:d,lang:l})=>{let m={...d,_lang:l,_t9nLocale:h,_loading:!1};r.exports=m;let u=d.componentLabel??d.widgetLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=u)),c(a.messageOverrides)},s.name,t)));function c(h){let d=r.exports,l=d._original??d,m=pe(l,h);h&&(m._original=l),r.exports=m}return"messageOverrides"in a&&r.onLifecycle(()=>G(a,"messageOverrides",c)),s.blocking?(r.setProvisionalExports(i,!1),r.ready):i});function pe(e,t){if(!t)return e;let s={...e};return Object.entries(t).forEach(([o,r])=>{typeof r=="object"?s[o]=pe(e[o],r):s[o]=r??e[o]}),s}var $s=e=>wo,le="arcgisPropertyChange";function wo(...e){let t=k(),o=t[le];return t.manager.isLit&&(o=t.constructor.$createEvent(le,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(r=>G(t,r,()=>o.emit({name:r}))))),o}var ct=globalThis,lt=ct.ShadowRoot&&(ct.ShadyCSS===void 0||ct.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pt=Symbol(),ue=new WeakMap,K=class{constructor(t,s,o){if(this._$cssResult$=!0,o!==Pt)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(lt&&t===void 0){let o=s!==void 0&&s.length===1;o&&(t=ue.get(s)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ue.set(s,t))}return t}toString(){return this.cssText}},fe=e=>new K(typeof e=="string"?e:e+"",void 0,Pt),xo=(e,...t)=>{let s=e.length===1?e[0]:t.reduce((o,r,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[n+1],e[0]);return new K(s,e,Pt)},St=(e,t)=>{if(lt)e.adoptedStyleSheets=t.map(s=>s instanceof CSSStyleSheet?s:s.styleSheet);else for(let s of t){let o=document.createElement("style"),r=ct.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=s.cssText,e.appendChild(o)}},ht=lt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let s="";for(let o of t.cssRules)s+=o.cssText;return fe(s)})(e):e;var Nt=globalThis,dt=Nt.trustedTypes,me=dt?dt.createPolicy("lit-html",{createHTML:e=>e}):void 0,kt="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Dt="?"+x,Ao=`<${Dt}>`,U=document,Y=()=>U.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Rt=Array.isArray,Ee=e=>Rt(e)||typeof e?.[Symbol.iterator]=="function",Tt=`[
|
7
|
-
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ye=/-->/g,ve=/>/g,D=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
|
8
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ge=/'/g,be=/"/g,Ce=/^(?:script|style|textarea|title)$/i,Ut=e=>(t,...s)=>({_$litType$:e,strings:t,values:s}),Os=Ut(1),Ps=Ut(2),Ss=Ut(3),y=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),_e=new WeakMap,R=U.createTreeWalker(U,129);function $e(e,t){if(!Rt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return me!==void 0?me.createHTML(t):t}var we=(e,t)=>{let s=e.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let a=0;a<s;a++){let c=e[a],h,d,l=-1,m=0;for(;m<c.length&&(i.lastIndex=m,d=i.exec(c),d!==null);)m=i.lastIndex,i===J?d[1]==="!--"?i=ye:d[1]!==void 0?i=ve:d[2]!==void 0?(Ce.test(d[2])&&(r=RegExp("</"+d[2],"g")),i=D):d[3]!==void 0&&(i=D):i===D?d[0]===">"?(i=r??J,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,h=d[1],i=d[3]===void 0?D:d[3]==='"'?be:ge):i===be||i===ge?i=D:i===ye||i===ve?i=J:(i=D,r=void 0);let u=i===D&&e[a+1].startsWith("/>")?" ":"";n+=i===J?c+Ao:l>=0?(o.push(h),c.slice(0,l)+kt+c.slice(l)+x+u):c+x+(l===-2?a:u)}return[$e(e,n+(e[s]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:s},o){let r;this.parts=[];let n=0,i=0,a=t.length-1,c=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(;(r=R.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let l of r.getAttributeNames())if(l.endsWith(kt)){let m=d[i++],u=r.getAttribute(l).split(x),v=/([.?@])?(.*)/.exec(m);c.push({type:1,index:n,name:v[2],strings:u,ctor:v[1]==="."?ut:v[1]==="?"?ft:v[1]==="@"?mt:j}),r.removeAttribute(l)}else l.startsWith(x)&&(c.push({type:6,index:n}),r.removeAttribute(l));if(Ce.test(r.tagName)){let l=r.textContent.split(x),m=l.length-1;if(m>0){r.textContent=dt?dt.emptyScript:"";for(let u=0;u<m;u++)r.append(l[u],Y()),R.nextNode(),c.push({type:2,index:++n});r.append(l[m],Y())}}}else if(r.nodeType===8)if(r.data===Dt)c.push({type:2,index:n});else{let l=-1;for(;(l=r.data.indexOf(x,l+1))!==-1;)c.push({type:7,index:n}),l+=x.length-1}n++}}static createElement(t,s){let o=U.createElement("template");return o.innerHTML=t,o}};function M(e,t,s=e,o){if(t===y)return t;let r=o!==void 0?s.o?.[o]:s.l,n=Q(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(e),r._$AT(e,s,o)),o!==void 0?(s.o??=[])[o]=r:s.l=r),r!==void 0&&(t=M(e,r._$AS(e,t.values),r,o)),t}var pt=class{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:s},parts:o}=this._$AD,r=(t?.creationScope??U).importNode(s,!0);R.currentNode=r;let n=R.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let h;c.type===2?h=new z(n,n.nextSibling,this,t):c.type===1?h=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(h=new yt(n,this,t)),this._$AV.push(h),c=o[++a]}i!==c?.index&&(n=R.nextNode(),i++)}return R.currentNode=U,r}p(t){let s=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,s),s+=o.strings.length-2):o._$AI(t[s])),s++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,s,o,r){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=o,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,s=this._$AM;return s!==void 0&&t?.nodeType===11&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=M(this,t,s),Q(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ee(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,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement($e(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(s);else{let n=new pt(r,this),i=n.u(this.options);n.p(s),this.T(i),this._$AH=n}}_$AC(t){let s=_e.get(t.strings);return s===void 0&&_e.set(t.strings,s=new Z(t)),s}k(t){Rt(this._$AH)||(this._$AH=[],this._$AR());let s=this._$AH,o,r=0;for(let n of t)r===s.length?s.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=s[r],o._$AI(n),r++;r<s.length&&(this._$AR(o&&o._$AB.nextSibling,r),s.length=r)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},j=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,o,r,n){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=s,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=f}_$AI(t,s=this,o,r){let n=this.strings,i=!1;if(n===void 0)t=M(this,t,s,0),i=!Q(t)||t!==this._$AH&&t!==y,i&&(this._$AH=t);else{let a=t,c,h;for(t=n[0],c=0;c<n.length-1;c++)h=M(this,a[o+c],s,c),h===y&&(h=this._$AH[c]),i||=!Q(h)||h!==this._$AH[c],h===f?t=f:t!==f&&(t+=(h??"")+n[c+1]),this._$AH[c]=h}i&&!r&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ut=class extends j{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},ft=class extends j{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},mt=class extends j{constructor(t,s,o,r,n){super(t,s,o,r,n),this.type=5}_$AI(t,s=this){if((t=M(this,t,s,0)??f)===y)return;let o=this._$AH,r=t===f&&o!==f||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==f&&(o===f||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},yt=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){M(this,t)}},xe={M:kt,P:x,A:Dt,C:1,L:we,R:pt,D:Ee,V:M,I:z,H:j,N:ft,U:mt,B:ut,F:yt},Lo=Nt.litHtmlPolyfillSupport;Lo?.(Z,z),(Nt.litHtmlVersions??=[]).push("3.2.0");var Ae=(e,t,s)=>{let o=s?.renderBefore??t,r=o._$litPart$;if(r===void 0){let n=s?.renderBefore??null;o._$litPart$=r=new z(t.insertBefore(Y(),n),n,void 0,s??{})}return r._$AI(e),r};var{is:Oo,defineProperty:Po,getOwnPropertyDescriptor:So,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,gt=globalThis,Le=gt.trustedTypes,Do=Le?Le.emptyScript:"",Ro=gt.reactiveElementPolyfillSupport,X=(e,t)=>e,vt={toAttribute(e,t){switch(t){case Boolean:e=e?Do:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let s=e;switch(t){case Boolean:s=e!==null;break;case Number:s=e===null?null:Number(e);break;case Object:case Array:try{s=JSON.parse(e)}catch{s=null}}return s}},Mt=(e,t)=>!Oo(e,t),Oe={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:Mt};Symbol.metadata??=Symbol("metadata"),gt.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=Oe){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,s);r!==void 0&&Po(this.prototype,t,r)}}static getPropertyDescriptor(t,s,o){let{get:r,set:n}=So(this.prototype,t)??{get(){return this[s]},set(i){this[s]=i}};return{get(){return r?.call(this)},set(i){let a=r?.call(this);n.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Oe}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=ko(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let s=this.properties,o=[...To(s),...No(s)];for(let r of o)this.createProperty(r,s[r])}let t=this[Symbol.metadata];if(t!==null){let s=litPropertyMetadata.get(t);if(s!==void 0)for(let[o,r]of s)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[s,o]of this.elementProperties){let r=this._$Eu(s,o);r!==void 0&&this._$Eh.set(r,s)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let s=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)s.unshift(ht(r))}else t!==void 0&&s.push(ht(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 St(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,s,o){this._$AK(t,o)}_$EC(t,s){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:vt).toAttribute(s,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,s){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=o.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:vt;this._$Em=r,this[r]=i.fromAttribute(s,n.type),this._$Em=null}}requestUpdate(t,s,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??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[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,n]of o)n.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],n)}let t=!1,s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(s)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach(s=>s.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(s=>this._$EC(s,this[s])),this._$EU()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[X("elementProperties")]=new Map,A[X("finalized")]=new Map,Ro?.({ReactiveElement:A}),(gt.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=Ae(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return y}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var E={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},V=e=>(...t)=>({_$litDirective$:e,values:t}),P=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{I:Ks}=xe;var Js=(e,t)=>t===void 0?e?._$litType$!==void 0:e?._$litType$===t;var Pe=e=>e.strings===void 0;var Mo={},Se=(e,t=Mo)=>e._$AH=t;var ke=V(class extends P{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let s=e.element.classList;for(let o of this.st)o in t||(s.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(s.add(o),this.st.add(o)):(s.remove(o),this.st.delete(o)))}return y}});var De="important",Vo=" !"+De,Re=V(class extends P{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,s)=>{let o=e[s];return o==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:s}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?s.removeProperty(o):s[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let n=typeof r=="string"&&r.endsWith(Vo);o.includes("-")||n?s.setProperty(o,n?r.slice(0,-11):r,n?De:""):s[o]=r}}return y}});var Io=V(class extends P{constructor(e){if(super(e),e.type!==E.PROPERTY&&e.type!==E.ATTRIBUTE&&e.type!==E.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Pe(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===y||t===f)return t;let s=e.element,o=e.name;if(e.type===E.PROPERTY){if(t===s[o])return y}else if(e.type===E.BOOLEAN_ATTRIBUTE){if(!!t===s.hasAttribute(o))return y}else if(e.type===E.ATTRIBUTE&&s.getAttribute(o)===t+"")return y;return Se(e),t}});var Ue=(e="",t={},s=k())=>{let o={emit:r=>{e===""&&F();let n=new CustomEvent(e,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return s.el.dispatchEvent(n),n}};return e===""&&at(s,r=>{e=r},o),o},Jr=Ue.bind(null,"");var Ho=()=>{},Wo=class Me extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=he(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=Ho;let t=Me.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let s=super.finalizeStyles(t),o=this.shadowRootOptions===$t;return this.runtime?.commonStyles===void 0||o?s:[this.runtime.commonStyles,...s]}static createProperty(t,s){let o=typeof s=="number"?s:Array.isArray(s)?s[0]:0,r=Array.isArray(s)?s[1]:void 0;super.createProperty(t,{attribute:o&1&&typeof t=="string"?et(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),...r})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(s=>{this._postLoaded.reject(s),setTimeout(()=>{throw s})}))}createRenderRoot(){let t=this.el.shadowRoot,s=this.constructor,o=s.shadowRootOptions,n=t??(o===$t?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return L.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...s.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async _load(){let t=this.el._ancestorLoad??Ct(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(o=>!o.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async o=>await o.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,s,o){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,s,o,r){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(s,n,r),()=>t.removeEventListener(s,n,r)))}async componentOnReady(){return await this._postLoaded.promise,this}};Wo.$createEvent=Ue;function je(e){let t,s=r=>{t=new URL(r,globalThis.location?.href).href},o={...e,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:s,customElement(r,n){n.runtime=o,n.tagName=r,customElements.get(r)||customElements.define(r,n)}};return s(e.defaultAssetPath),o}var nn=e=>typeof e=="object"&&e!=null?ke(e):e,an=e=>typeof e=="object"&&e!=null?Re(e):e;var ln=f;var qo=je({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:pn,getAssetPath:un,setAssetPath:fn}=qo;export{Bo as a,Go as b,et as c,Wt as d,qt as e,Xe as f,$t as g,k as h,oe as i,G as j,re as k,ne as l,lo as m,ho as n,ae as o,_s as p,Cs as q,$s as r,xo as s,Os as t,Ps as u,Ss as v,f as w,Ae as x,E as y,V as z,P as A,Js as B,Pe as C,Jr as D,Wo as E,nn as F,an as G,ln as H,qo as I,pn as J,un as K};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.23
|
5
|
-
*/
|
6
|
-
import{a as h}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{s as r}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as o,E as n,J as a,g as i,r as e,s}from"./SRC5FGW4.js";var c=s`arcgis-coordinate-conversion{display:block}`,g=h(r),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(d,l){return await this.widget?.reverseConvert(d,l)}};a("arcgis-coordinate-conversion",t);export{t as ArcgisCoordinateConversion};
|