@arcgis/coding-components 4.30.0-next.21 → 4.30.0-next.22
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-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +25 -0
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/p-0596e58a.js +68 -0
- package/dist/arcgis-coding-components/p-09b3d456.js +6 -0
- package/dist/arcgis-coding-components/{p-5583b25d.js → p-237cd069.js} +2 -2
- package/dist/arcgis-coding-components/{p-a63eeed9.js → p-3c4c9bb1.js} +1 -1
- package/dist/arcgis-coding-components/{p-253f92ea.js → p-52af3d36.js} +2 -2
- package/dist/arcgis-coding-components/{p-cb5166f2.js → p-54a3c846.js} +2 -2
- package/dist/arcgis-coding-components/{p-192601ca.js → p-68c09f28.js} +2 -2
- package/dist/arcgis-coding-components/p-704509f4.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-b177db92.js → p-89a837be.js} +2 -2
- package/dist/arcgis-coding-components/p-8be62afd.js +7 -0
- package/dist/arcgis-coding-components/{p-eb16cce2.js → p-a8a82d95.js} +2 -2
- package/dist/arcgis-coding-components/{p-1451e0cc.js → p-bf1aaa39.js} +2 -2
- package/dist/arcgis-coding-components/{p-0e7b5896.js → p-bf789380.js} +2 -2
- package/dist/arcgis-coding-components/p-f31fa95c.js +6 -0
- package/dist/arcgis-coding-components/p-f9bdf871.js +6 -0
- package/dist/cjs/Accessor-YDTURKZ7-064d4ec3.js +1249 -0
- package/dist/cjs/{arcade-defaults-9d57f506.js → arcade-defaults-75be7a9b.js} +294 -295
- package/dist/cjs/{arcade-mode-9079b8e0.js → arcade-mode-bf406304.js} +4 -4
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1347 -89
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/chunk-OMA4PI5N-c7c531ca.js +1286 -0
- package/dist/cjs/{css-9aa4569b.js → css-a1b28a9f.js} +1 -1
- package/dist/cjs/{cssMode-6f57c416.js → cssMode-5b3b9c9b.js} +3 -3
- package/dist/cjs/decorators-443AWDOE-ab85b9eb.js +120 -0
- package/dist/cjs/{html-95d3a234.js → html-51efc5f2.js} +3 -3
- package/dist/cjs/{htmlMode-ebd8894d.js → htmlMode-a3589bc9.js} +3 -3
- package/dist/cjs/{index-a3f52cf5.js → index-6a3d1ddd.js} +42 -4
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-1a01235b.js → javascript-f387480b.js} +4 -4
- package/dist/cjs/{jsonMode-26ed7799.js → jsonMode-f9b19644.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tsMode-9cfeb9a5.js → tsMode-b1e0bb57.js} +3 -3
- package/dist/cjs/{typescript-f9907455.js → typescript-64e66362.js} +3 -3
- package/dist/components/Accessor-YDTURKZ7.js +1247 -0
- package/dist/components/arcade-api.js +9 -15
- package/dist/components/arcade-contribution.js +3 -3
- package/dist/components/arcade-defaults.js +10 -10
- package/dist/components/arcade-mode.js +3 -3
- package/dist/components/arcade-results.js +24 -35
- package/dist/components/arcade-suggestions.js +10 -16
- package/dist/components/arcade-variables.js +11 -20
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +20 -24
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/chunk-3I7AEPTU.js +1290 -0
- package/dist/components/chunk-OMA4PI5N.js +1257 -0
- package/dist/components/code-editor.js +6 -6
- package/dist/components/decorators-443AWDOE.js +109 -0
- package/dist/components/fields.js +40 -39
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +3 -3
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +3 -3
- package/dist/esm/Accessor-YDTURKZ7-4eefd1d8.js +1247 -0
- package/dist/esm/{arcade-defaults-1577045c.js → arcade-defaults-fcc709e4.js} +286 -285
- package/dist/esm/{arcade-mode-ec8b7890.js → arcade-mode-dbf28353.js} +4 -4
- package/dist/esm/arcgis-arcade-api_6.entry.js +1389 -131
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/chunk-OMA4PI5N-0c09fa7b.js +1257 -0
- package/dist/esm/{css-6350c0f7.js → css-6122a30a.js} +1 -1
- package/dist/esm/{cssMode-629b1349.js → cssMode-b890adfc.js} +3 -3
- package/dist/esm/decorators-443AWDOE-77ed5d5a.js +109 -0
- package/dist/esm/{html-979016b0.js → html-2f56c6c3.js} +3 -3
- package/dist/esm/{htmlMode-dd504dae.js → htmlMode-84b5c7ea.js} +3 -3
- package/dist/esm/{index-093931a1.js → index-e75c4ffc.js} +42 -5
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-7af48cb1.js → javascript-8456a624.js} +4 -4
- package/dist/esm/{jsonMode-eb6b41d1.js → jsonMode-29439efe.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tsMode-64deb000.js → tsMode-ec7fe1bf.js} +3 -3
- package/dist/esm/{typescript-c9b14542.js → typescript-d9362143.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-api/arcade-api.d.ts +4 -5
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +7 -4
- package/dist/types/components/arcade-results/arcade-results.d.ts +4 -7
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +4 -5
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +4 -6
- package/package.json +12 -12
- package/dist/arcgis-coding-components/p-81935687.js +0 -68
- package/dist/arcgis-coding-components/p-a2190df0.js +0 -7
- package/dist/arcgis-coding-components/p-e8c2933f.entry.js +0 -6
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +0 -9
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +0 -19
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{t}from"./p-
|
|
6
|
+
import{u as t}from"./p-0596e58a.js";import"./p-8be62afd.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.22
|
|
5
|
+
*/
|
|
6
|
+
let n,e,t=!1;const l=n=>{const e=new URL(n,rn.t);return e.origin!==sn.location.origin?e.href:e.pathname},o="slot-fb{display:contents}slot-fb[hidden]{display:none}",s="http://www.w3.org/1999/xlink",i={},c=n=>"object"==(n=typeof n)||"function"===n;function r(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const u=(n,e,...t)=>{let l=null,o=null,s=!1,i=!1;const r=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!c(l))&&(l+=""),s&&i?r[r.length-1].l+=l:r.push(s?a(null,l):l),i=s)};if(u(t),e){e.key&&(o=e.key);{const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}}if("function"==typeof n)return n(null===e?{}:e,r,d);const f=a(n,null);return f.o=e,r.length>0&&(f.i=r),f.u=o,f},a=(n,e)=>({v:0,p:n,l:e,m:null,i:null,o:null,u:null}),f={},d={forEach:(n,e)=>n.map(v).forEach(e),map:(n,e)=>n.map(v).map(e).map(p)},v=n=>({vattrs:n.o,vchildren:n.i,vkey:n.u,vname:n.h,vtag:n.p,vtext:n.l}),p=n=>{if("function"==typeof n.vtag){const e=Object.assign({},n.vattrs);return n.vkey&&(e.key=n.vkey),n.vname&&(e.name=n.vname),u(n.vtag,e,...n.vchildren||[])}const e=a(n.vtag,n.vtext);return e.o=n.vattrs,e.i=n.vchildren,e.u=n.vkey,e.h=n.vname,e},y=n=>X(n).$hostElement$,m=(n,e,t)=>{const l=y(n);return{emit:n=>h(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},h=(n,e,t)=>{const l=rn.ce(e,t);return n.dispatchEvent(l),l},$=new WeakMap,b=n=>"sc-"+n.$,w=(n,e,t,l,o,i)=>{if(t!==l){let r=nn(n,e),u=e.toLowerCase();if("class"===e){const e=n.classList,o=k(t),s=k(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===e){for(const e in t)l&&null!=l[e]||(e.includes("-")?n.style.removeProperty(e):n.style[e]="");for(const e in l)t&&l[e]===t[e]||(e.includes("-")?n.style.setProperty(e,l[e]):n.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(n);else if(r||"o"!==e[0]||"n"!==e[1]){const a=c(l);if((r||a&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?r=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,f=!0),null==l||!1===l?!1===l&&""!==n.getAttribute(e)||(f?n.removeAttributeNS(s,e):n.removeAttribute(e)):(!r||4&i||o)&&!a&&(l=!0===l?"":l,f?n.setAttributeNS(s,e,l):n.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):nn(sn,u)?u.slice(2):u[2]+e.slice(3),t||l){const o=e.endsWith(S);e=e.replace(j,""),t&&rn.rel(n,e,t,o),l&&rn.ael(n,e,l,o)}}},g=/\s/,k=n=>n?n.split(g):[],S="Capture",j=RegExp(S+"$"),O=(n,e,t,l)=>{const o=11===e.m.nodeType&&e.m.host?e.m.host:e.m,s=n&&n.o||i,c=e.o||i;for(l in s)l in c||w(o,l,s[l],void 0,t,e.v);for(l in c)w(o,l,s[l],c[l],t,e.v)},C=(t,l,o)=>{const s=l.i[o];let i,c,r=0;if(null!==s.l)i=s.m=cn.createTextNode(s.l);else if(i=s.m=cn.createElement(s.p),O(null,s,!1),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.i)for(r=0;r<s.i.length;++r)c=C(t,s,r),c&&i.appendChild(c);return i["s-hn"]=e,i},M=(n,t,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=C(null,l,s),c&&(o[s].m=c,r.insertBefore(c,t)))},x=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.m;E(e),n&&n.remove()}}},P=(n,e,t=!1)=>n.p===e.p&&(!!t||n.u===e.u),R=(n,e,t=!1)=>{const l=e.m=n.m,o=n.i,s=e.i,i=e.l;null===i?(O(n,e,!1),null!==o&&null!==s?((n,e,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,a=0,f=e.length-1,d=e[0],v=e[f],p=l.length-1,y=l[0],m=l[p];for(;c<=f&&r<=p;)if(null==d)d=e[++c];else if(null==v)v=e[--f];else if(null==y)y=l[++r];else if(null==m)m=l[--p];else if(P(d,y,o))R(d,y,o),d=e[++c],y=l[++r];else if(P(v,m,o))R(v,m,o),v=e[--f],m=l[--p];else if(P(d,m,o))R(d,m,o),n.insertBefore(d.m,v.m.nextSibling),d=e[++c],m=l[--p];else if(P(v,y,o))R(v,y,o),n.insertBefore(v.m,d.m),v=e[--f],y=l[++r];else{for(u=-1,a=c;a<=f;++a)if(e[a]&&null!==e[a].u&&e[a].u===y.u){u=a;break}u>=0?(i=e[u],i.p!==y.p?s=C(e&&e[r],t,u):(R(i,y,o),e[u]=void 0,s=i.m),y=l[++r]):(s=C(e&&e[r],t,r),y=l[++r]),s&&d.m.parentNode.insertBefore(s,d.m)}c>f?M(n,null==l[p+1]?null:l[p+1].m,t,l,r,p):r>p&&x(e,c,f)})(l,o,e,s,t):null!==s?(null!==n.l&&(l.textContent=""),M(l,null,e,s,0,s.length-1)):null!==o&&x(o,0,o.length-1)):n.l!==i&&(l.data=i)},E=n=>{n.o&&n.o.ref&&n.o.ref(null),n.i&&n.i.map(E)},L=(n,e)=>{e&&!n.k&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.k=e)))},U=(n,e)=>{if(n.v|=16,!(4&n.v))return L(n,n.S),hn((()=>W(n,e)));n.v|=512},W=(n,e)=>{const t=n.j;let l;return l=V(t,e?"componentWillLoad":"componentWillUpdate"),l=A(l,(()=>V(t,"componentWillRender"))),A(l,(()=>N(n,t,e)))},A=(n,e)=>D(n)?n.then(e):e(),D=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,N=async(n,e,t)=>{var l;const s=n.$hostElement$,i=s["s-rc"];t&&(n=>{const e=n.O,t=n.$hostElement$,l=e.v,s=((n,e)=>{var t;const l=b(e),s=on.get(l);if(n=11===n.nodeType?n:cn,s)if("string"==typeof s){let i,c=$.get(n=n.head||n);if(c||$.set(n,c=new Set),!c.has(l)){{i=cn.createElement("style"),i.innerHTML=s;const e=null!==(t=rn.C)&&void 0!==t?t:r(cn);null!=e&&i.setAttribute("nonce",e),n.insertBefore(i,n.querySelector("link"))}4&e.v&&(i.innerHTML+=o),c&&c.add(l)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(n);T(n,e,s,t),i&&(i.map((n=>n())),s["s-rc"]=void 0);{const e=null!==(l=s["s-p"])&&void 0!==l?l:[],t=()=>F(n);0===e.length?t():(Promise.all(e).then(t),n.v|=4,e.length=0)}},T=(t,l,o,s)=>{try{l=l.render(),t.v&=-17,t.v|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.O,c=t.M||a(null,null),r=(n=>n&&n.p===f)(l)?l:u(null,null,l);if(e=s.tagName,i.P&&(r.o=r.o||{},i.P.map((([n,e])=>r.o[e]=s[n]))),o&&r.o)for(const n of Object.keys(r.o))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(r.o[n]=s[n]);r.p=null,r.v|=4,t.M=r,r.m=c.m=s.shadowRoot||s,n=s["s-sc"],R(c,r,o)})(t,l,s)}catch(n){en(n,t.$hostElement$)}return null},F=n=>{const e=n.$hostElement$,t=n.j,l=n.S;V(t,"componentDidRender"),64&n.v?V(t,"componentDidUpdate"):(n.v|=64,_(e),V(t,"componentDidLoad"),n.R(e),l||q()),n.L(e),n.k&&(n.k(),n.k=void 0),512&n.v&&mn((()=>U(n,!1))),n.v&=-517},H=n=>{{const e=X(n),t=e.$hostElement$.isConnected;return t&&2==(18&e.v)&&U(e,!1),t}},q=()=>{_(cn.documentElement),mn((()=>h(sn,"appload",{detail:{namespace:"arcgis-coding-components"}})))},V=(n,e,t)=>{if(n&&n[e])try{return n[e](t)}catch(n){en(n)}},_=n=>n.setAttribute("hydrated",""),z=(n,e,t)=>{var l;const o=n.prototype;if(e.U){n.watchers&&(e.W=n.watchers);const s=Object.entries(e.U);if(s.map((([n,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,n,{get(){return((n,e)=>X(this).A.get(e))(0,n)},set(t){((n,e,t,l)=>{const o=X(n),s=o.$hostElement$,i=o.A.get(e),r=o.v,u=o.j;if(t=((n,e)=>null==n||c(n)?n:4&e?"false"!==n&&(""===n||!!n):1&e?n+"":n)(t,l.U[e][0]),(!(8&r)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.A.set(e,t),u)){if(l.W&&128&r){const n=l.W[e];n&&n.map((n=>{try{u[n](t,i,e)}catch(n){en(n,s)}}))}2==(18&r)&&U(o,!1)}})(this,n,t,e)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,n,{value(...e){var t;const l=X(this);return null===(t=null==l?void 0:l.D)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.j)||void 0===t?void 0:t[n](...e)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(n,l,s){rn.jmp((()=>{var i;const c=t.get(n);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=X(this),o=null==t?void 0:t.v;if(o&&!(8&o)&&128&o&&s!==l){const o=t.j,c=null===(i=e.W)||void 0===i?void 0:i[n];null==c||c.forEach((e=>{null!=o[e]&&o[e].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=e.W)&&void 0!==l?l:{}),...s.filter((([n,e])=>15&e[0])).map((([n,l])=>{var o;const s=l[1]||n;return t.set(s,n),512&l[0]&&(null===(o=e.P)||void 0===o||o.push([n,s])),s}))]))}}return n},B=n=>{V(n,"connectedCallback")},G=n=>{V(n,"disconnectedCallback")},I=(n,e={})=>{var t;const l=[],s=e.exclude||[],i=sn.customElements,c=cn.head,u=c.querySelector("meta[charset]"),a=cn.createElement("style"),f=[];let d,v=!0;Object.assign(rn,e),rn.t=new URL(e.resourcesUrl||"./",cn.baseURI).href;let p=!1;if(n.map((n=>{n[1].map((e=>{var t;const o={v:e[0],$:e[1],U:e[2],N:e[3]};4&o.v&&(p=!0),o.U=e[2],o.P=[],o.W=null!==(t=e[4])&&void 0!==t?t:{};const c=o.$,r=class extends HTMLElement{constructor(n){super(n),Z(n=this,o),1&o.v&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?f.push(this):rn.jmp((()=>(n=>{if(0==(1&rn.v)){const e=X(n),t=e.O,l=()=>{};if(1&e.v)(null==e?void 0:e.j)?B(e.j):(null==e?void 0:e.T)&&e.T.then((()=>B(e.j)));else{e.v|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){L(e,e.S=t);break}}t.U&&Object.entries(t.U).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.v)){e.v|=32;{if(l=ln(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(t.W=l.watchers,z(l,t,2),l.isProxied=!0);const n=()=>{};e.v|=8;try{l.__registerControllers=n=>(Y(n,e),e),new l(e),l.__registerControllers=void 0}catch(n){en(n)}e.v&=-9,e.v|=128,n(),B(e.j)}if(l.style){let n=l.style;const e=b(t);if(!on.has(e)){const l=()=>{};((n,e,t)=>{let l=on.get(n);an&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,on.set(n,l)})(e,n,!!(1&t.v)),l()}}}const o=e.S,s=()=>U(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){rn.jmp((()=>(async()=>{if(0==(1&rn.v)){const n=X(this);(null==n?void 0:n.j)?G(n.j):(null==n?void 0:n.T)&&n.T.then((()=>G(n.j)))}})()))}componentOnReady(){return X(this).T}};o.F=n[0],s.includes(c)||i.get(c)||(l.push(c),i.define(c,z(r,o,1)))}))})),p&&(a.innerHTML+=o),a.innerHTML+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const n=null!==(t=rn.C)&&void 0!==t?t:r(cn);null!=n&&a.setAttribute("nonce",n),c.insertBefore(a,u?u.nextSibling:c.firstChild)}v=!1,f.length?f.map((n=>n.connectedCallback())):rn.jmp((()=>d=setTimeout(q,30)))},J=(n,e)=>e,K=n=>rn.C=n,Q=new WeakMap,X=n=>Q.get(n),Y=(n,e)=>Q.set(e.j=n,e),Z=(n,e)=>{const t={v:0,$hostElement$:n,O:e,A:new Map};return t.D=new Promise((n=>t.L=n)),t.T=new Promise((n=>t.R=n)),n["s-p"]=[],n["s-rc"]=[],Q.set(n,t)},nn=(n,e)=>e in n,en=(n,e)=>(0,console.error)(n,e),tn=new Map,ln=n=>{const e=n.$.replace(/-/g,"_"),t=n.F,l=tn.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(tn.set(t,n),n[e])),en)
|
|
7
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},on=new Map,sn="undefined"!=typeof window?window:{},cn=sn.document||{head:{}},rn={v:0,t:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},un=n=>Promise.resolve(n),an=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),fn=[],dn=[],vn=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&rn.v?mn(yn):rn.raf(yn))},pn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){en(n)}n.length=0},yn=()=>{pn(fn),pn(dn),(t=fn.length>0)&&rn.raf(yn)},mn=n=>un().then(n),hn=vn(dn,!0);export{J as F,f as H,y as a,I as b,m as c,H as f,l as g,u as h,un as p,Y as r,K as s}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{t}from"./p-
|
|
6
|
+
import{u as t}from"./p-0596e58a.js";import"./p-8be62afd.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{
|
|
6
|
+
import{v as t,u as e}from"./p-0596e58a.js";import"./p-8be62afd.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{conf as e,language as t}from"./p-
|
|
6
|
+
import{conf as e,language as t}from"./p-54a3c846.js";import"./p-0596e58a.js";import"./p-8be62afd.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.22
|
|
5
|
+
*/
|
|
6
|
+
import{l as t,y as n,q as r,w as s,x as o}from"./p-f9bdf871.js";export{z as ensureRange,A as finalizeClass,y as property,q as propertyJSONMeta,a as subclass}from"./p-f9bdf871.js";var i=class{constructor(n,r={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=n,this._options=r,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(t){const n={};for(const r in t)n[t[r]]=r;return n}(n),this.apiValues=e(this._apiToJSON),this.jsonValues=e(this._jsonToAPI),this.read=t=>this.fromJSON(t),this.write=(n,r,s)=>{const o=this.toJSON(n);void 0!==o&&t(s,o,r)},this.write.isJSONMapWriter=!0}toJSON(t){if(null==t)return null;if(this._apiToJSON.hasOwnProperty(t)){const n=this._apiToJSON[t];return this._options.useNumericKeys?+n:n}return this._options.ignoreUnknown?void 0:t}fromJSON(t){return null!=t&&this._jsonToAPI.hasOwnProperty(t)?this._jsonToAPI[t]:this._options.ignoreUnknown?void 0:t}};function e(t){const n=[];for(const r in t)n.push(r);return n.sort(),n}function c(t,r={}){const s=t instanceof i?t:new i(t,r),o={type:r?.ignoreUnknown??1?s.apiValues:String,json:{type:s.jsonValues,read:!r?.readOnly&&{reader:s.read},write:{writer:s.write}}};return void 0!==r?.readOnly&&(o.readOnly=!!r.readOnly),void 0!==r?.default&&(o.json.default=r.default),void 0!==r?.name&&(o.json.name=r.name),void 0!==r?.nonNullable&&(o.nonNullable=r.nonNullable),n(o)}function u(t,n,s){let o,i;return void 0===n||Array.isArray(n)?(i=t,s=n,o=[void 0]):(i=n,o=Array.isArray(t)?t:[t]),(t,n)=>{const e=t.constructor.prototype;o.forEach((o=>{const a=r(t,o,i);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=e[n],s&&(a.read.source=(a.read.source||[]).concat(s))}))}}function f(t,n,s){let o,i;return void 0===n?(i=t,o=[void 0]):"string"!=typeof n?(i=t,o=[void 0],s=n):(i=n,o=Array.isArray(t)?t:[t]),(t,n)=>{const e=t.constructor.prototype;for(const a of o){const o=r(t,a,i);o.write&&"object"==typeof o.write||(o.write={}),s&&(o.write.target=s),o.write.writer=e[n]}}}var h=Object.prototype.toString;function d(t){const n="__accessorMetadata__"in t?o(t):t;return function(...t){if(t.push(n),"number"==typeof t[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return p.apply(this,t)}}function p(t,n,r,o){s(t,n).cast=o}function l(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===h.call(t[0])?d(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return(n,r)=>{s(n,t).cast=n[r]}}(t[0]):void 0}function v(t){return(n,r)=>{n[r]=t}}function b(t,r){const s=r?{...r,source:t}:t;return n({aliasOf:s})}export{b as aliasOf,l as cast,c as enumeration,u as reader,v as shared,f as writer}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.22
|
|
5
|
+
*/
|
|
6
|
+
var e;function t(t){return"function"==typeof e[t]?e[t]=e[t](globalThis):e[t]}e=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},t.add=(n,r,o,i)=>((i||void 0===e[n])&&(e[n]=r),o&&t(n)),t.cache=e,t.add("big-integer-warning-enabled",!0),t.add("esri-deprecation-warnings",!0),t.add("esri-tests-disable-screenshots",!1),t.add("esri-tests-use-full-window",!1),t.add("esri-tests-post-to-influx",!0),(()=>{t.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(t.add("host-browser",e),t.add("host-node","object"==typeof globalThis.process&&globalThis.process.versions?.node&&globalThis.process.versions.v8),t.add("dom",e),t("host-browser")){const e=navigator,n=e.userAgent,r=e.appVersion,o=parseFloat(r);if(t.add("wp",parseFloat(n.split("Windows Phone")[1])||void 0),t.add("msapp",parseFloat(n.split("MSAppHost/")[1])||void 0),t.add("khtml",r.includes("Konqueror")?o:void 0),t.add("edge",parseFloat(n.split("Edge/")[1])||void 0),t.add("opr",parseFloat(n.split("OPR/")[1])||void 0),t.add("webkit",!t("wp")&&!t("edge")&&parseFloat(n.split("WebKit/")[1])||void 0),t.add("chrome",!t("edge")&&!t("opr")&&parseFloat(n.split("Chrome/")[1])||void 0),t.add("android",!t("wp")&&parseFloat(n.split("Android ")[1])||void 0),t.add("safari",!r.includes("Safari")||t("wp")||t("chrome")||t("android")||t("edge")||t("opr")?void 0:parseFloat(r.split("Version/")[1])),t.add("mac",r.includes("Macintosh")),!t("wp")&&/(iPhone|iPod|iPad)/.test(n)){const e=RegExp.$1.replace(/P/,"p"),r=/OS ([\d_]+)/.test(n)?RegExp.$1:"1",o=parseFloat(r.replace(/_/,".").replaceAll("_",""));t.add(e,o),t.add("ios",o)}t("webkit")||(!n.includes("Gecko")||t("wp")||t("khtml")||t("edge")||t.add("mozilla",o),t("mozilla")&&t.add("ff",parseFloat(n.split("Firefox/")[1]||n.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){const e=navigator.userAgent,n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);n&&t.add("esri-mobile",n),r&&t.add("esri-iPhone",r),t.add("esri-geolocation",!!navigator.geolocation)}t.add("esri-wasm","WebAssembly"in globalThis),t.add("esri-performance-mode-frames-between-render",20),t.add("esri-force-performance-mode",!1),t.add("esri-shared-array-buffer",(()=>{const e="SharedArrayBuffer"in globalThis,t=!1===globalThis.crossOriginIsolated;return e&&!t})),t.add("wasm-simd",(()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])))),t.add("esri-atomics","Atomics"in globalThis),t.add("esri-workers","Worker"in globalThis),t.add("web-feat:cache","caches"in globalThis),t.add("esri-workers-arraybuffer-transfer",!t("safari")||Number(t("safari"))>=12),t.add("workers-pool-size",8),t.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),t.add("featurelayer-simplify-payload-size-factors",[1,1,4]),t.add("featurelayer-fast-triangulation-enabled",!0),t.add("featurelayer-animation-enabled",!0),t.add("featurelayer-snapshot-enabled",!0),t.add("featurelayer-snapshot-point-min-threshold",8e4),t.add("featurelayer-snapshot-point-max-threshold",4e5),t.add("featurelayer-snapshot-point-coverage",.1),t.add("featurelayer-query-max-depth",4),t.add("featurelayer-query-pausing-enabled",!1),t.add("hittest-2d-mobile-tolerance",3),t.add("hittest-2d-desktop-tolerance",1),t.add("hittest-2d-small-symbol-tolerance",3),t.add("hittest-2d-small-symbol-tolerance-threshold",3),t.add("featurelayer-advanced-symbols",!1),t.add("featurelayer-pbf",!0),t.add("featurelayer-pbf-statistics",!1),t.add("feature-layers-workers",!0),t.add("feature-polyline-generalization-factor",1),t.add("mapview-transitions-duration",200),t.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),t.add("mapserver-pbf-version-support",10.81),t.add("mapservice-popup-identify-max-tolerance",20),t("host-webworker")||t("host-browser")&&(t.add("esri-csp-restrictions",(()=>{try{new Function}catch{return!0}return!1})),t.add("esri-image-decode",(()=>{if("decode"in new Image){const e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void e.decode().then((()=>{t.add("esri-image-decode",!0,!0,!0)})).catch((()=>{t.add("esri-image-decode",!1,!0,!0)}))}return!1})),t.add("esri-url-encodes-apostrophe",(()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")})))})();var n=class{constructor(){this.last=0}},r=new n;function o(e,t,n,o){o=o||r;const i=Math.max(0,o.last-10);for(let r=i;r<n;++r)if(e[r]===t)return o.last=r,r;const s=Math.min(i,n);for(let n=0;n<s;++n)if(e[n]===t)return o.last=n,n;return-1}var i=new Set;function s(e,t,n=e.length,o=t.length,s,u){if(0===o||0===n)return n;i.clear();for(let e=0;e<o;++e)i.add(t[e]);s=s||r;const c=Math.max(0,s.last-10);for(let t=c;t<n;++t)if(i.has(e[t])&&(u?.push(e[t]),i.delete(e[t]),e[t]=e[n-1],--n,--t,0===i.size||0===n))return i.clear(),n;for(let t=0;t<c;++t)if(i.has(e[t])&&(u?.push(e[t]),i.delete(e[t]),e[t]=e[n-1],--n,--t,0===i.size||0===n))return i.clear(),n;return i.clear(),n}function u(e,t){const n=e.indexOf(t);return-1!==n?(e.splice(n,1),t):null}function c(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;const t=function(e){if(t=e,"Int8Array"===t?.constructor?.name||function(e){return"Uint8Array"===e?.constructor?.name}(e)||function(e){return"Uint8ClampedArray"===e?.constructor?.name}(e)||function(e){return"Int16Array"===e?.constructor?.name}(e)||function(e){return"Uint16Array"===e?.constructor?.name}(e)||function(e){return"Int32Array"===e?.constructor?.name}(e)||function(e){return"Uint32Array"===e?.constructor?.name}(e)||function(e){return"Float32Array"===e?.constructor?.name}(e)||function(e){return"Float64Array"===e?.constructor?.name}(e))return e.slice();var t;if(e instanceof Date)return new Date(e.getTime());if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;for(const[n,r]of e)t.set(n,c(r));return t}if(e instanceof Set){const t=new Set;for(const n of e)t.add(c(n));return t}return null}(e);if(null!=t)return t;if(function(e){return"function"==typeof e.clone}(e))return e.clone();if(function(e){return"function"==typeof e.map&&"function"==typeof e.forEach}(e))return e.map(c);if(function(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}(e))return e.clone();const n={};for(const t of Object.getOwnPropertyNames(e))n[t]=c(e[t]);return n}function a(e,t){return e===t||"number"==typeof e&&isNaN(e)&&"number"==typeof t&&isNaN(t)||"function"==typeof e?.getTime&&"function"==typeof t?.getTime&&e.getTime()===t.getTime()||!1}function f(e,t,n){const r=e.split("."),o=r.pop(),i=l(r,!0,n);i&&o&&(i[o]=t)}function l(e,t,n){let r=n;for(const n of e){if(null==r)return;if(!(n in r)){if(!t)return;r[n]={}}r=r[n]}return r}function p(e,t,n){return t?Object.keys(t).reduce(((e,r)=>{let o=e[r],i=t[r];return o===i?e:void 0===o?(e[r]=c(i),e):(Array.isArray(i)||Array.isArray(e)?(o=e[r]=o?Array.isArray(o)?o.concat():[o]:[],i&&(Array.isArray(i)||(i=[i]),n?i.forEach((e=>{o.includes(e)||o.push(e)})):e[r]=i.concat())):i&&"object"==typeof i?e[r]=p(o,i,n):e.hasOwnProperty(r)&&!t.hasOwnProperty(r)||(e[r]=i),e)}),e||{}):e}var y={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};globalThis.esriConfig&&(function(e,t,n=!1){p(y,t,n)}(0,globalThis.esriConfig,!0),delete y.has),y.assetsPath||(y.assetsPath="https://cdn.jsdelivr.net/npm/@arcgis/core@4.30.0-next.20240403/assets",y.defaultAssetsPath=y.assetsPath);var d={info:0,warn:1,error:2,none:3},h=class e{constructor(t){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=t.level&&(this.level=t.level),null!=t.writer&&(this.writer=t.writer),this._module=t.module,e._loggers.set(this.module,this);const n=this.module.lastIndexOf(".");-1!==n&&(this._parent=e.getLogger(this.module.slice(0,n)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){const e=this;return{loggedMessages:e._loggedMessages,clearLoggedWarnings:()=>e._loggedMessages.warn.clear()}}static get test(){return{resetLoggers(t=new Map){const n=e._loggers;return e._loggers=t,n},set throttlingDisabled(t){e._throttlingDisabled=t}}}static getLogger(t){return e._loggers.get(t="string"!=typeof t?t.declaredClass:t)||new e({module:t})}_log(t,n,...r){if(this._matchLevel(t)){if("always"!==n&&!e._throttlingDisabled){const o=function(...e){return function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t}(JSON.stringify(e,((e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]")))}(r),i=this._loggedMessages[t].get(o);if("once"===n&&null!=i||"oncePerTick"===n&&i&&i>=e._tickCounter)return;this._loggedMessages[t].set(o,e._tickCounter),e._scheduleTickCounterIncrement()}for(const e of y.log.interceptors)if(e(t,this.module,...r))return;this._inheritedWriter()(t,this.module,...r)}}_parentWithMember(e,t){let n=this;for(;null!=n;){const t=n[e];if(null!=t)return t;n=n.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",b)}_matchLevel(e){return d[this._parentWithMember("level",y.log.level||"warn")]<=d[e]}static _scheduleTickCounterIncrement(){e._tickCounterScheduled||(e._tickCounterScheduled=!0,Promise.resolve().then((()=>{e._tickCounter++,e._tickCounterScheduled=!1})))}};function b(e,t,...n){console[e](`[${t}]`,...n)}h._loggers=new Map,h._tickCounter=0,h._tickCounterScheduled=!1,h._throttlingDisabled=!1;var g=()=>h.getLogger("esri.core.accessorSupport.ensureTypes");function v(e){return null==e?e:new Date(e)}function m(e){return null==e?e:!!e}function w(e){return null==e?e:e.toString()}function A(e){return null==e?e:(e=parseFloat(e),isNaN(e)?0:e)}function S(e){return null==e?e:Math.round(parseFloat(e))}function j(e){return e?.constructor&&void 0!==e.constructor.__accessorMetadata__}function k(e,t){return null!=t&&e&&!(t instanceof e)}function O(e){return e&&"isCollection"in e}function T(e){return e?.Type?"function"==typeof e.Type?e.Type:e.Type.base:null}function N(e,t){return!!j(t)&&(g().error("Accessor#set","Assigning an instance of '"+(t.declaredClass||"unknown")+"' which is not a subclass of '"+x(e)+"'"),!0)}function $(e,t){return null==t?t:O(e)?function(e,t){if(!t?.constructor||!O(t.constructor))return N(e,t)?t:new e(t);const n=T(e.prototype.itemType),r=T(t.constructor.prototype.itemType);return n?r?n===r?t:n.prototype.isPrototypeOf(r.prototype)?new e(t):(N(e,t),t):new e(t):t}(e,t):k(e,t)?N(e,t)?t:new e(t):t}function x(e){return e?.prototype?.declaredClass||"unknown"}var M=new WeakMap;function P(e,t){const n=function(e){switch(e){case Number:return A;case E:return S;case Boolean:return m;case String:return w;case Date:return v;default:return function(e,t,n){const r=e.get(t);if(void 0!==r)return r;const o=n();return e.set(t,o),o}(M,e,(()=>$.bind(null,e)))}}(e);return 1===arguments.length?n:n(t)}function _(e,t,n){return 1===arguments.length?_.bind(null,e):t?Array.isArray(t)?t.map((t=>e(t,n))):[e(t,n)]:t}function I(e,t,n){return 0!==t&&Array.isArray(n)?n.map((n=>I(e,t-1,n))):e(n)}function F(e,t,n){if(2===arguments.length)return n=>F(e,t,n);if(!n)return n;n=I(e,t,n);let r=t,o=n;for(;r>0&&Array.isArray(o);)r--,o=o[0];if(void 0!==o)for(let e=0;e<r;e++)n=[n];return n}function U(e){return!!Array.isArray(e)&&!e.some((t=>{const n=typeof t;return!("string"===n||"number"===n||"function"===n&&e.length>1)}))}function D(e,t){if(2===arguments.length)return D(e).call(null,t);const n=new Set,r=e.filter((e=>"function"!=typeof e)),o=e.filter((e=>"function"==typeof e));for(const t of e)"string"!=typeof t&&"number"!=typeof t||n.add(t);let i=null,s=null;return(e,t)=>{if(null==e)return e;const u=typeof e,c="string"===u||"number"===u;return c&&(n.has(e)||o.some((e=>"string"===u&&e===String||"number"===u&&e===Number)))||"object"===u&&o.some((t=>!k(e,t)))?e:(c&&r.length?(i||(i=r.map((e=>"string"==typeof e?`'${e}'`:`${e}`)).join(", ")),g().error("Accessor#set",`'${e}' is not a valid value for this property, only the following values are valid: ${i}`)):"object"==typeof e&&o.length?(s||(s=o.map((e=>x(e))).join(", ")),g().error("Accessor#set",`'${e}' is not a valid value for this property, value must be one of ${s}`)):g().error("Accessor#set",`'${e}' is not a valid value for this property`),t&&(t.valid=!1),null)}}function z(e,t){if(2===arguments.length)return z(e).call(null,t);const n={},r=[],o=[];for(const t in e.typeMap){const i=e.typeMap[t];n[t]=P(i),r.push(x(i)),o.push(t)}const i="string"==typeof e.key?t=>t[e.key]:e.key;return t=>{if(e.base&&!k(e.base,t))return t;if(null==t)return t;const s=i(t)||e.defaultKeyValue,u=n[s];if(!u)return g().error("Accessor#set",`Invalid property value, value needs to be one of '${r.join("', '")}', or a plain object that can autocast (having .type = '${o.join("', '")}')`),null;if(!k(e.typeMap[s],t))return t;if("string"==typeof e.key&&!j(t)){const n={};for(const r in t)r!==e.key&&(n[r]=t[r]);return u(n)}return u(t)}}var E=class{};function C(e){switch(e.type){case"native":return P(e.value);case"array":return _(C(e.value));case"one-of":return function(e){let t=null;return(n,r)=>R(n,e)?n:(null==t&&(t=W(e)),g().error("Accessor#set",`Invalid property value, value needs to be of type ${t}`),r&&(r.valid=!1),null)}(e);default:return null}}function W(e){switch(e.type){case"native":switch(e.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case E:return"integer";case Date:return"date";default:return x(e.value)}case"array":return`array of ${W(e.value)}`;case"one-of":{const t=e.values.map((e=>W(e)));return`one of ${t.slice(0,-1)} or ${t[t.length-1]}`}}return"unknown"}function R(e,t){if(null==e)return!0;switch(t.type){case"native":switch(t.value){case Number:case E:return"number"==typeof e;case Boolean:return"boolean"==typeof e;case String:return"string"==typeof e}return e instanceof t.value;case"array":return!!Array.isArray(e)&&!e.some((e=>!R(e,t.value)));case"one-of":return t.values.some((t=>R(e,t)))}}var J={remove:()=>{}};function B(e){return e?{remove(){e&&(e(),e=void 0)}}:J}var L=class{constructor(e,t,n){this.name=e,this.details=n,this.message=(t&&function(e,t){return e.replaceAll(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,((e,n)=>{if(""===n)return"$";const r=function(e,t){if(null!=t)return t[e]||l(e.split("."),!1,t)}(n,t);return(r??"").toString()}))}(t,n))??""}toString(){return"["+this.name+"]: "+this.message}},q=class e extends L{constructor(e,t,n){super(e,t,n)}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((e,t)=>{if(t&&"object"==typeof t&&"function"==typeof t.toJSON)return t;try{return c(t)}catch(e){return"[object]"}})))}}catch(e){throw h.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(t){return new e(t.name,t.message,t.details)}};q.prototype.type="error";var G,K,V=Symbol("Accessor-beforeDestroy");function H(e){return e.__accessor__??null}function Y(e,t,n){return t?Object.keys(t).reduce(((e,r)=>{const o=r;let i=null,s="merge";if(n&&(i=n.path?`${n.path}.${r}`:r,s=n.policy(i)),"replace"===s)return e[o]=t[o],e;if("replace-arrays"===s&&Array.isArray(e[o]))return e[o]=t[o],e;if(void 0===e[o])return e[o]=c(t[o]),e;let u=e[o],a=t[o];if(u===a)return e;if(Array.isArray(a)||Array.isArray(e))u=e[o]=u?Array.isArray(u)?u.concat():[u]:[],a&&(Array.isArray(a)||(a=[a]),a.forEach((e=>{u.includes(e)||u.push(e)})));else if(a&&"object"==typeof a)if(n){const t=n.path;n.path=i,e[o]=Y(u,a,n),n.path=t}else e[o]=Y(u,a,null);else e.hasOwnProperty(r)&&!t.hasOwnProperty(r)||(e[o]=a);return e}),e||{}):e}function Z(e){return Array.isArray(e)?e:e.split(".")}function Q(e){return e.includes(",")?e.split(",").map((e=>e.trim())):[e.trim()]}function X(e,t,n,r){const o=function(e){if(Array.isArray(e)){const t=[];for(const n of e)t.push(...Q(n));return t}return Q(e)}(t);if(1!==o.length){const t=o.map((t=>r(e,t,n)));return i=t,B((()=>function(e){e.forEach((e=>e?.remove()))}(i)))}var i;return r(e,o[0],n)}function ee(e){let t=e.constructor.__accessorMetadata__;const n=Object.prototype.hasOwnProperty.call(e.constructor,"__accessorMetadata__");if(t){if(!n){t=Object.create(t);for(const e in t)t[e]=c(t[e]);Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0})}}else t={},Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0});return e.constructor.__accessorMetadata__}function te(e,t){const n=ee(e);let r=n[t];return r||(r=n[t]={}),r}function ne(e,t){return function(e,t){return Y(e,t,se?{policy:se,path:""}:null)}(e,t)}(K=G||(G={}))[K.INITIALIZING=0]="INITIALIZING",K[K.CONSTRUCTING=1]="CONSTRUCTING",K[K.CONSTRUCTED=2]="CONSTRUCTED",K[K.DESTROYED=3]="DESTROYED";var re,oe,ie=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function se(e){return ie.test(e)?"replace":"merge"}(oe=re||(re={}))[oe.Dirty=1]="Dirty",oe[oe.Overridden=2]="Overridden",oe[oe.Computing=4]="Computing",oe[oe.NonNullable=8]="NonNullable",oe[oe.HasDefaultValue=16]="HasDefaultValue",oe[oe.DepTrackingInitialized=32]="DepTrackingInitialized",oe[oe.AutoTracked=64]="AutoTracked",oe[oe.ExplicitlyTracking=128]="ExplicitlyTracking";var ue={onObservableAccessed:()=>{},onTrackingEnd:()=>{}},ce=[],ae=ue;function fe(e){ae.onObservableAccessed(e)}var le=!1,pe=!1;function ye(e,t,n){if(le)return he(e,t,n);be(e);const r=t.call(n);return ge(),r}function de(e,t){return ye(ue,e,t)}function he(e,t,n){const r=le;le=!0,be(e);let o=null;try{o=t.call(n)}catch(e){pe&&h.getLogger("esri.core.accessorSupport.tracking").error(e)}return ge(),le=r,o}function be(e){ae=e,ce.push(e)}function ge(){const e=ce.length;if(e>1){const t=ce.pop();ae=ce[e-2],t.onTrackingEnd()}else if(1===e){const e=ce.pop();ae=ue,e.onTrackingEnd()}else ae=ue}function ve(e,t){if(t.flags&re.DepTrackingInitialized)return;const n=pe;pe=!1,t.flags&re.AutoTracked?he(t,t.metadata.get,e):we(e,t),pe=n}var me=[];function we(e,t){t.flags&re.ExplicitlyTracking||(t.flags|=re.ExplicitlyTracking,he(t,(()=>{const n=t.metadata.dependsOn||me;for(const t of n)if("string"!=typeof t||t.includes(".")){const n=Z(t);for(let t=0,r=e;t<n.length&&null!=r&&"object"==typeof r;++t)r=Ae(r,n[t],t!==n.length-1)}else Ae(e,t,!1)})),t.flags&=~re.ExplicitlyTracking)}function Ae(e,t,n){const r="?"===t[t.length-1]?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){const t=parseInt(r,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}const o=H(e);if(o){const t=o.propertiesByName.get(r);t&&(fe(t),ve(e,t))}return n?e[r]:void 0}var Se=class extends L{constructor(e,t,n){super(e,t,n)}};function je(e){return!!e&&e.prototype?.declaredClass&&0===e.prototype.declaredClass.indexOf("esri.core.Collection")}Se.prototype.type="warning";var ke=()=>h.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function Oe(e,t,n){e&&(!n&&!t.read||t.read?.reader||!1===t.read?.enabled||function(e){return"types"in e?Pe(e.types):Me(e.type)}(e)&&f("read.reader",function(e){const t=e.ndimArray??0;if(t>1)return function(e){const t=Te(e),n=Ne.bind(null,t),r=e.ndimArray??0;return(e,t,o)=>{if(null==e)return e;e=n(e,o,r);let i=r,s=e;for(;i>0&&Array.isArray(s);)i--,s=s[0];if(void 0!==s)for(let t=0;t<i;t++)e=[e];return e}}(e);if(1===t)return $e(e);if("type"in e&&xe(e.type)){const t=e.type.prototype?.itemType?.Type,n=$e("function"==typeof t?{type:t}:{types:t});return(t,r,o)=>{const i=n(t,r,o);return i?new e.type(i):i}}return Te(e)}(e),t))}function Te(e){return"type"in e?function(e){return e.prototype.read?(t,n,r)=>{if(null==t)return t;const o=typeof t;if("object"!==o)return void ke().error(`Expected JSON value of type 'object' to deserialize type '${e.prototype.declaredClass}', but got '${o}'`);const i=new e;return i.read(t,r),i}:e.fromJSON}(e.type):function(e){let t=null;const n=e.errorContext??"type",r=e.validate;return(o,i,s)=>{if(null==o)return o;const u=typeof o;if("object"!==u)return void ke().error(`Expected JSON value of type 'object' to deserialize, but got '${u}'`);t||(t=function(e){const t={};for(const n in e.typeMap){const r=e.typeMap[n],o=ee(r.prototype);if("function"==typeof e.key)continue;const i=o[e.key];if(!i)continue;if(i.json?.type&&Array.isArray(i.json.type)&&1===i.json.type.length&&"string"==typeof i.json.type[0]){t[i.json.type[0]]=r;continue}const s=i.json?.write;if(!s?.writer){t[n]=r;continue}const u=s.target,c="string"==typeof u?u:e.key,a={};s.writer(n,a,c),a[c]&&(t[a[c]]=r)}return t}(e));const c=e.key;if("string"!=typeof c)return;const a=o[c],f=a?t[a]:e.defaultKeyValue?e.typeMap[e.defaultKeyValue]:void 0;if(!f){const e=`Type '${a||"unknown"}' is not supported`;return s?.messages&&o&&s.messages.push(new Se(`${n}:unsupported`,e,{definition:o,context:s})),void ke().error(e)}const l=new f;return l.read(o,s),r?r(l):l}}(e.types)}function Ne(e,t,n,r){return 0!==r&&Array.isArray(t)?t.map((t=>Ne(e,t,n,r-1))):e(t,void 0,n)}function $e(e){const t=Te(e);return(e,n,r)=>{if(null==e)return e;if(Array.isArray(e)){const n=[];for(const o of e){const e=t(o,void 0,r);void 0!==e&&n.push(e)}return n}const o=t(e,void 0,r);return void 0!==o?[o]:void 0}}function xe(e){if(!je(e))return!1;const t=e.prototype.itemType;return!(!t||!t.Type)&&("function"==typeof t.Type?Me(t.Type):Pe(t.Type))}function Me(e){return!Array.isArray(e)&&!!e&&e.prototype&&("read"in e.prototype||"fromJSON"in e||xe(e))}function Pe(e){for(const t in e.typeMap)if(!Me(e.typeMap[t]))return!1;return!0}function _e(e){e.name&&(e.read&&"object"==typeof e.read?void 0===e.read.source&&(e.read.source=e.name):e.read={source:e.name},e.write&&"object"==typeof e.write?void 0===e.write.target&&(e.write.target=e.name):e.write={target:e.name})}function Ie(e){"boolean"==typeof e.read?e.read={enabled:e.read}:"function"==typeof e.read?e.read={enabled:!0,reader:e.read}:e.read&&"object"==typeof e.read&&void 0===e.read.enabled&&(e.read.enabled=!0)}function Fe(e){"boolean"==typeof e.write?e.write={enabled:e.write}:"function"==typeof e.write?e.write={enabled:!0,writer:e.write}:e.write&&"object"==typeof e.write&&void 0===e.write.enabled&&(e.write.enabled=!0)}function Ue(e,t){if(!t.write||t.write.writer||!1===t.write.enabled&&!t.write.overridePolicy)return;const n=e?.ndimArray??0;t.write.writer=e&&(1===n||"type"in e&&je(e.type))?Ce:n>1?function(e){return(t,n,r,o)=>{let i;if(null===t)i=null;else{i=We(t,o,e);let n=e,r=i;for(;n>0&&Array.isArray(r);)n--,r=r[0];if(void 0!==r)for(let e=0;e<n;e++)i=[i]}f(r,i,n)}}(n):t.types?Array.isArray(t.types)?function(e){return(t,n,r,o)=>t&&Array.isArray(t)?ze(t.filter((t=>De(t,e,o))),n,r,o):ze(t,n,r,o)}(t.types[0]):function(e){return(t,n,r,o)=>t?De(t,e,o)?ze(t,n,r,o):void 0:ze(t,n,r,o)}(t.types):ze}function De(e,t,n){for(const n in t.typeMap)if(e instanceof t.typeMap[n])return!0;if(n?.messages){const r=`Values of type '${("function"!=typeof t.key?e[t.key]:e.declaredClass)??"Unknown"}' cannot be written`;n&&n.messages&&e&&n.messages.push(new q(`${t.errorContext??"type"}:unsupported`,r,{definition:e,context:n})),h.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(r)}return!1}function ze(e,t,n,r){f(n,Ee(e,r),t)}function Ee(e,t){return e&&"function"==typeof e.write?e.write({},t):e&&"function"==typeof e.toJSON?e.toJSON():"number"==typeof e?function(e){return e===-1/0?-Number.MAX_VALUE:e===1/0?Number.MAX_VALUE:isNaN(e)?null:e}(e):e}function Ce(e,t,n,r){let o;null===e?o=null:e&&"function"==typeof e.map?(o=e.map((e=>Ee(e,r))),"function"==typeof o.toArray&&(o=o.toArray())):o=[Ee(e,r)],f(n,o,t)}function We(e,t,n){return 0!==n&&Array.isArray(e)?e.map((e=>We(e,t,n-1))):Ee(e,t)}function Re(e){return e.type?Je(e):Be(e)}function Je(e){if(!e.type)return;let t=0,n=e.type;for(;Array.isArray(n)&&!U(n);)n=n[0],t++;return{type:n,ndimArray:t}}function Be(e){if(!e.types)return;let t=0,n=e.types;for(;Array.isArray(n);)n=n[0],t++;return{types:n,ndimArray:t}}function Le(e){(function(e){if(e.json||(e.json={}),Ie(e.json),Fe(e.json),_e(e.json),e.json.origins)for(const t in e.json.origins)Ie(e.json.origins[t]),Fe(e.json.origins[t]),_e(e.json.origins[t]);return!0})(e)&&(function(e){if(e.json&&e.json.origins){const t=e.json.origins,n={"web-document":["web-scene","web-map"]};for(const e in n)if(t[e]){const r=t[e];n[e].forEach((e=>{t[e]=r})),delete t[e]}}}(e),function(e){const t=function(e){return e.json.types?Be(e.json):e.type?Je(e):Be(e)}(e);if(e.json.origins)for(const n in e.json.origins){const r=e.json.origins[n],o=r.types?Re(r):t;Oe(o,r,!1),r.types&&!r.write&&e.json.write?.enabled&&(r.write={...e.json.write}),Ue(o,r)}Oe(t,e.json,!0),Ue(t,e.json)}(e))}var qe=new Set,Ge=new Set;function Ke(e){return t=>{e??(e="esri.core.Accessor"),t.prototype.declaredClass=e,He(t);const n=[],r=[];let o=t.prototype;for(;o;)o.hasOwnProperty("initialize")&&!qe.has(o.initialize)&&(qe.add(o.initialize),n.push(o.initialize)),o.hasOwnProperty("destroy")&&!Ge.has(o.destroy)&&(Ge.add(o.destroy),r.push(o.destroy)),o=Object.getPrototypeOf(o);qe.clear(),Ge.clear();const i=class extends t{constructor(...e){if(super(...e),this.constructor===i&&"function"==typeof this.postscript){if(n.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let e=n.length-1;e>=0;e--)n[e].call(this)}}),r.length){let e=!1;const t=this[V];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!e){e=!0,t.call(this);for(let e=0;e<r.length;e++)r[e].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript(...e)}}};i.__accessorMetadata__=ee(t.prototype),i.prototype.declaredClass=e;const s=(e||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(i,"name",{value:s,configurable:!0}),i}}function Ve(e,t){return null==t.get?function(){const t=this.__accessor__,n=t.propertiesByName.get(e);if(void 0===n)return;fe(n);const r=t.store;return r.has(e)?r.get(e):n.metadata.value}:function(){const t=this.__accessor__,n=t.propertiesByName.get(e);if(void 0!==n)return n.getComputed(t)}}function He(e){const t=ee(e.prototype),n={};for(const e of Object.getOwnPropertyNames(t)){const r=t[e];Le(r),n[e]={enumerable:!0,configurable:!0,get:Ve(e,r),set(t){const n=this.__accessor__;if(void 0!==n){if(!Object.isFrozen(this))return n.initialized&&r.readOnly?Ye("read-only",e):n.lifecycle===G.CONSTRUCTED&&r.constructOnly?Ye("construct-only",e):void n.set(e,t)}else Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}}}Object.defineProperties(e.prototype,n)}var Ye=(e,t)=>{h.getLogger("esri.core.Accessor").error(`cannot assign to ${e} property '${t}'`)};function Ze(e,t){const n="?"===e[e.length-1]?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(n,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}const r=H(t);return function(e,t){return null!=e?.metadata?.[t]}(r,n)?r.get(n):t[n]}function Qe(e,t,n){if(null==e)return e;const r=Ze(t[n],e);return!r&&n<t.length-1?void 0:n===t.length-1?r:Qe(r,t,n+1)}function Xe(e,t,n=0){return"string"!=typeof t||t.includes(".")?Qe(e,Z(t),n):Ze(t,e)}function et(e,t){return Xe(e,t)}function tt(e,n,r){if(e&&n)if("object"==typeof n)for(const t of Object.getOwnPropertyNames(n))tt(e,t,n[t]);else{if(n.includes(".")){const t=n.split("."),o=t.splice(-1,1)[0];return void tt(et(e,t),o,r)}const o=e.__accessor__;null!=o&&function(e,n){if(t("esri-unknown-property-errors")&&!function(e,t){return null!=t.metadata[e]}(e,n))throw new q("set:unknown-property",function(e,t){return"setting unknown property '"+e+"' on instance of "+t.host.declaredClass}(e,n))}(n,o),e[n]=r}}function nt(e={}){return(t,n)=>{if(t===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${t.name}.${n}. Accessor does not support static properties.`);const r=Object.getOwnPropertyDescriptor(t,n),o=te(t,n);r&&(r.get||r.set?(o.get=r.get||o.get,o.set=r.set||o.set):"value"in r&&("value"in e&&h.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${n}" on "${t.constructor.name}" already defined in the metadata`,e),o.value=e.value=r.value)),null!=e.readOnly&&(o.readOnly=e.readOnly);const i=e.aliasOf;if(i){const e="string"==typeof i?i:i.source,t="string"==typeof i?null:!0===i.overridable;let r;o.dependsOn=[e],o.get=function(){let t=et(this,e);if("function"==typeof t){r||(r=e.split(".").slice(0,-1).join("."));const n=et(this,r);n&&(t=t.bind(n))}return t},o.readOnly||(o.set=t?function(e){this._override(n,e)}:function(t){tt(this,e,t)})}const s=e.type,u=e.types;o.cast||(s?o.cast=function(e){let t=0,n=e;if(function(e){if(!e||!("type"in e))return!1;switch(e.type){case"native":case"array":case"one-of":return!0}return!1}(e))return C(e);for(;Array.isArray(n)&&1===n.length&&"string"!=typeof n[0]&&"number"!=typeof n[0];)n=n[0],t++;const r=n;if(U(r))return 0===t?D(r):F(D(r),t);if(1===t)return function(e,t){return 1===arguments.length?_((t=>P(e,t))):_((t=>P(e,t)),t)}(r);if(t>1)return function(e,t,n){return 2===arguments.length?F((t=>P(e,t)),t):F((t=>P(e,t)),t,n)}(r,t);return e.from?e.from:P(e)}(s):u&&(o.cast=Array.isArray(u)?_(z(u[0])):z(u))),ne(o,e),e.range&&(o.cast=ot(o.cast,e.range))}}function rt(e,t,n){const r=te(e,n);r.json||(r.json={});let o=r.json;return void 0!==t&&(o.origins||(o.origins={}),o.origins[t]||(o.origins[t]={}),o=o.origins[t]),o}function ot(e,t){return n=>{let r=+e(n);return null!=t.step&&(r=Math.round(r/t.step)*t.step),null!=t.min&&(r=Math.max(t.min,r)),null!=t.max&&(r=Math.min(t.max,r)),r}}export{He as A,G as I,u as O,o as S,Ke as a,et as b,a as c,c as d,B as e,ye as f,de as g,t as h,re as i,s as j,we as k,f as l,ve as m,h as n,V as o,X as p,rt as q,ee as r,fe as s,tt as t,Xe as u,n as v,te as w,P as x,nt as y,ot as z}
|