@arcgis/core 5.0.0-next.41 → 5.0.0-next.42
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/d5fd6d0eaf96edfab123.js +1 -0
- package/config.js +1 -1
- package/kernel.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/symbols/LabelSymbol3D.js +1 -1
- package/symbols/MeshSymbol3D.js +1 -1
- package/views/2d/ViewStateManager.js +1 -1
- package/views/2d/layers/CatalogDynamicGroupLayerView2D.js +1 -1
- package/views/2d/layers/CatalogFootprintLayerView2D.js +1 -1
- package/views/2d/layers/CatalogLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/3d/layers/CatalogDynamicGroupLayerView3D.js +1 -1
- package/views/3d/layers/CatalogFootprintLayerView3D.js +1 -1
- package/views/3d/layers/CatalogLayerView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/View2D.js +1 -1
- package/views/layers/BuildingComponentSublayerView.js +1 -1
- package/views/layers/CatalogDynamicGroupLayerView.js +1 -1
- package/views/layers/CatalogFootprintLayerView.js +1 -1
- package/views/layers/CatalogLayerView.js +1 -1
- package/views/layers/FeatureLayerView.js +1 -1
- package/views/layers/HighlightLayerViewMixin.d.ts +2 -2
- package/views/layers/HighlightLayerViewMixin.js +5 -0
- package/views/layers/ImageryTileLayerView.js +1 -1
- package/views/layers/ImageryTileLayerViewMixin.js +5 -0
- package/views/layers/OGCFeatureLayerView.js +1 -1
- package/views/layers/SceneLayerView.js +1 -1
- package/views/layers/StreamLayerView.js +1 -1
- package/webscene/support/SlideEnvironment.js +1 -1
- package/widgets/AreaMeasurement2D.js +1 -1
- package/widgets/AreaMeasurement3D.js +1 -1
- package/widgets/Attachments.js +1 -1
- package/widgets/BasemapGallery/BasemapGalleryViewModel.js +1 -1
- package/widgets/BasemapGallery.js +1 -1
- package/assets/esri/core/workers/chunks/926c2a0e21b7aa1a86e4.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var RemoteClient;(()=>{var e={799:(e,t,r)=>{"use strict";r.d(t,{Cj:()=>i,HC:()=>s,Wm:()=>c,_e:()=>f});var n=r(93637);const o=/\{([^}]+)\}/g;function a(e){return e??""}function s(e,t){return t?e.replaceAll(o,"object"==typeof t?(e,r)=>a((0,n.wc)(r,t)):(e,r)=>a(t(r))):e}function i(e,t){return e.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,e=>t?.includes(e)?e:`\\${e}`)}function c(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}let l;function f(e){return l??=new DOMParser,l.parseFromString(e||"","text/html").body.innerText||""}},2131:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},4576:(e,t,r)=>{"use strict";r.d(t,{Am:()=>s,Ho:()=>d,Ji:()=>a,MJ:()=>i,Mo:()=>w,Ru:()=>O,TF:()=>k,VO:()=>l,Xj:()=>u,Xy:()=>m,aI:()=>c,iv:()=>f,k4:()=>_,mW:()=>y,qh:()=>p,vW:()=>b,yc:()=>P});var n=r(21818),o=r(87811);const a=1.5;function s(e,t){return t?e.filter((e,r,n)=>n.findIndex(t.bind(null,e))===r):Array.from(new Set(e))}function i(e,t,r,n,o,a,s){if(null==e&&null==n)return!0;t=Math.max(0,t),o=Math.max(0,o),r=Math.max(0,r<0?(e?.length??0)+r:r),a=Math.max(0,a<0?(n?.length??0)+a:a);const i=r-t;if(null==e||null==n||i!==a-o)return!1;if(s){for(let r=0;r<i;r++)if(!s(e[t+r],n[o+r]))return!1}else for(let r=0;r<i;r++)if(e[t+r]!==n[o+r])return!1;return!0}function c(e,t,r){return i(e,0,e?.length??0,t,0,t?.length??0,r)}function l(){return(e,t)=>{if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}function f(e,t,r){let n,o;return r?(n=t.filter(t=>!e.some(e=>r(e,t))),o=e.filter(e=>!t.some(t=>r(t,e)))):(n=t.filter(t=>!e.includes(t)),o=e.filter(e=>!t.includes(e))),{added:n,removed:o}}function u(e){return e&&"number"==typeof e.length}function d(e,t){const r=e.length;if(0===r)return[];const n=[];for(let o=0;o<r;o+=t)n.push(e.slice(o,o+t));return n}class b{constructor(){this.last=0}}const h=new b;function p(e,t,r,n){n=n||h;const o=Math.max(0,n.last-10);for(let a=o;a<r;++a)if(e[a]===t)return n.last=a,a;const a=Math.min(o,r);for(let r=0;r<a;++r)if(e[r]===t)return n.last=r,r;return-1}function m(e,t,r,o){const a=r??e.length,s=p(e,(0,n.zI)(t),a,o);if(-1!==s)return e[s]=e[a-1],null==r&&e.pop(),t}const g=new Set;function y(e,t,r=e.length,n=t.length,o,a){if(0===n||0===r)return r;g.clear();for(let e=0;e<n;++e)g.add(t[e]);o=o||h;const s=Math.max(0,o.last-10);for(let t=s;t<r;++t)if(g.has(e[t])&&(a?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;for(let t=0;t<s;++t)if(g.has(e[t])&&(a?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;return g.clear(),r}function w(e){return e?(v.seed=e,()=>v.getFloat()):Math.random}const v=new o.A;function _(e,t){if(!e)return e;const r=w(t);for(let t=e.length-1;t>0;t--){const n=Math.floor(r()*(t+1)),o=e[t];e[t]=e[n],e[n]=o}return e}function k(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function O(e,t){return null!=e}function P(e){return Array.isArray(e)}},4718:(e,t,r)=>{"use strict";r.d(t,{Nb:()=>c,TU:()=>i,aI:()=>b,gh:()=>h,o8:()=>s,oy:()=>a});var n=r(4576),o=r(34275);function a(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&a(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function s(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;const t=d(e);if(null!=t)return t;if(c(e))return e.clone();if(l(e))return e.map(s);if(f(e))throw new Error("Trying to clone an unclonable Accessor instance");const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=s(e[t]);return r}function i(e,t){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const r=d(e);if(null!=r)return r;if(l(e)){let r=!0;const n=e.map(e=>{const n=i(e,t);return null!=e&&null==n&&(r=!1),n});return r?n:null}if(c(e))return e.clone(t);if(e instanceof File||e instanceof Blob)return e;if(f(e))return null;const n=new(0,Object.getPrototypeOf(e).constructor);for(const t of Object.getOwnPropertyNames(e)){const r=e[t],o=i(r);if(null!=r&&null==o)return null;n[t]=o}return n}function c(e){return"function"==typeof e.clone}function l(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function f(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function u(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function d(e){if((0,o.dz)(e)||(0,o.mg)(e)||(0,o.UR)(e)||(0,o.IY)(e)||(0,o.jq)(e)||(0,o._G)(e)||(0,o.XJ)(e)||(0,o.vZ)(e)||(0,o.aI)(e))return e.slice();if(e instanceof Date)return new Date(e);if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;for(const[r,n]of e)t.set(r,s(n));return t}if(e instanceof Set){const t=new Set;for(const r of e)t.add(s(r));return t}return null}function b(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 h(e,t){return e===t||(null==e||"string"==typeof e?e===t:"number"==typeof e?e===t||"number"==typeof t&&isNaN(e)&&isNaN(t):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():Array.isArray(e)?Array.isArray(t)&&(0,n.aI)(e,t):e instanceof Set?t instanceof Set&&function(e,t){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}(e,t):e instanceof Map?t instanceof Map&&function(e,t){if(e.size!==t.size)return!1;for(const[r,n]of e){const e=t.get(r);if(e!==n||void 0===e&&!t.has(r))return!1}return!0}(e,t):!!u(e)&&u(t)&&function(e,t){if(null===e||null===t)return!1;const r=Object.keys(e);if(null===t||Object.keys(t).length!==r.length)return!1;for(const n of r)if(e[n]!==t[n]||!Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}(e,t))}},8341:(e,t,r)=>{"use strict";r.d(t,{Go:()=>s,Jc:()=>c,T:()=>a,VI:()=>u,mF:()=>l,oV:()=>b,u1:()=>f});var n=r(44208),o=r(74887);const a="worker:port-closed",s={HANDSHAKE:0,OPEN:1,OPENED:2,RESPONSE:3,INVOKE:4,ABORT:5,CLOSE:6,OPEN_PORT:7,ON:8};let i=0;function c(){return i++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function f(e,t,r,n){if(t.type===s.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==s.INVOKE&&t.type!==s.RESPONSE)return void e.postMessage(t);let o;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(o=d(n),t.data=r):(o=d(r.transferList),t.data=r.result),o?e.postMessage(t,o):e.postMessage(t)}function u(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function d(e){if(!e?.length)return null;if((0,n.A)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter(e=>!function(e){return e instanceof ArrayBuffer||"ArrayBuffer"===e?.constructor?.name}(e));return t.length?t:null}async function b(e){try{return await e}catch(e){const t=e?.name===a;if(!(0,o.zf)(e)&&!t)throw e;return}}},12195:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}r.d(t,{W:()=>n})},18357:(e,t,r)=>{"use strict";r.d(t,{$:()=>n,u:()=>o});const n="20251116",o="d8feaa93b9a5b1d89cdf4fee0575e263a8d41817"},21818:(e,t,r)=>{"use strict";function n(e){}function o(e){}function a(e){return e}r.d(t,{Ur:()=>o,Xb:()=>n,zI:()=>a}),r(44208)},26306:(e,t,r)=>{"use strict";function n(e){const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r.buffer}function o(e){const t=new Uint8Array(e);let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t[e]);return btoa(r)}r.d(t,{M:()=>n,Y:()=>o})},34275:(e,t,r)=>{"use strict";function n(e){return e instanceof ArrayBuffer}function o(e){return"Int8Array"===e?.constructor?.name}function a(e){return"Uint8Array"===e?.constructor?.name}function s(e){return"Uint8ClampedArray"===e?.constructor?.name}function i(e){return"Int16Array"===e?.constructor?.name}function c(e){return"Uint16Array"===e?.constructor?.name}function l(e){return"Int32Array"===e?.constructor?.name}function f(e){return"Uint32Array"===e?.constructor?.name}function u(e){return"Float16Array"===e?.constructor?.name}function d(e){return"Float32Array"===e?.constructor?.name}function b(e){return"Float64Array"===e?.constructor?.name}function h(e){return"buffer"in e}r.d(t,{IY:()=>i,JI:()=>m,LW:()=>u,PI:()=>w,UR:()=>s,XJ:()=>f,_G:()=>l,a3:()=>y,aI:()=>b,dk:()=>g,dz:()=>o,h2:()=>v,iu:()=>h,jq:()=>c,mg:()=>a,mw:()=>n,vZ:()=>d,y9:()=>p}),r(44208);const p=1024;function m(e){return b(e)||d(e)||l(e)||i(e)||o(e)}function g(e){return b(e)||d(e)}function y(e){return b(e)?179769e303:u(e)?65504:d(e)?3402823e32:f(e)?4294967295:c(e)?65535:a(e)||s(e)?255:l(e)?2147483647:i(e)?32767:o(e)?127:256}const w=-32768,v=-2147483648},36563:(e,t,r)=>{"use strict";r.d(t,{Bf:()=>i,hA:()=>o,rE:()=>s,vE:()=>a});const n={remove:()=>{}};function o(e){return e?{remove(){e&&(e(),e=void 0)}}:n}function a(e){return o(()=>function(e){e.forEach(e=>e?.remove())}(e))}function s(e){return o(()=>e?.abort())}function i(e){return{[Symbol.dispose](){e.remove()}}}},37955:(e,t,r)=>{"use strict";r.d(t,{Oo:()=>i,on:()=>s,wb:()=>o});var n=r(36563);function o(e){return function(e){return null!=e&&"object"==typeof e&&"on"in e&&"function"==typeof e.on}(e)||a(e)}function a(e){return null!=e&&"object"==typeof e&&"addEventListener"in e&&"function"==typeof e.addEventListener}function s(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");return a(e)?function(e,t,r,o){if(Array.isArray(t)){const a=t.slice();for(const t of a)e.addEventListener(t,r,o);return(0,n.hA)(()=>{for(const t of a)e.removeEventListener(t,r,o)})}return e.addEventListener(t,r,o),(0,n.hA)(()=>e.removeEventListener(t,r,o))}(e,t,r):e.on(t,r)}function i(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const n=s(e,t,t=>{n.remove(),r.call(e,t)});return n}},39131:(e,t,r)=>{"use strict";r.d(t,{$E:()=>s,py:()=>a,qG:()=>i});const n=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/i,o={devext:{customBaseUrl:"mapsdevext.arcgis.com",portalHostname:"devext.arcgis.com"},qaext:{customBaseUrl:"mapsqa.arcgis.com",portalHostname:"qaext.arcgis.com"},www:{customBaseUrl:"maps.arcgis.com",portalHostname:"www.arcgis.com"}};function a(e){const t=e?.match(n);if(!t)return null;const[,r,a,s]=t;if(!r)return null;let i=null,c=null,l=null;const{devext:f,qaext:u,www:d}=o;if(a)if(i=r,s)switch(s.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qa":({customBaseUrl:c,portalHostname:l}=u);break;default:return null}else({customBaseUrl:c,portalHostname:l}=d);else switch(r.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qaext":({customBaseUrl:c,portalHostname:l}=u);break;case"www":({customBaseUrl:c,portalHostname:l}=d);break;default:return null}return{customBaseUrl:c,isPortal:!1,portalHostname:l,urlKey:i}}function s(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function i(e){const t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}},44208:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=globalThis,o={...n.esriConfig?.has};function a(e){return"function"==typeof o[e]?o[e]=o[e](n):o[e]}a.add=(e,t,r,n)=>{(n||void 0===o[e])&&(o[e]=t),r&&a(e)},a.cache=o,a.add("big-integer-warning-enabled",!0),a.add("esri-deprecation-warnings",!0),a.add("esri-tests-disable-screenshots",!1),a.add("esri-tests-use-full-window",!1),a.add("esri-tests-post-to-influx",!0),a.add("esri-cim-animations-enable-status","enabled"),a.add("esri-cim-animations-spotlight",!1),a.add("esri-cim-animations-freeze-time",!1),(()=>{a.add("host-webworker",void 0!==n.WorkerGlobalScope&&self instanceof n.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(a.add("host-browser",e),a.add("host-node",!("object"!=typeof n.process||!n.process.versions?.node||!n.process.versions.v8)),a.add("dom",e),a("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(a.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),a.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),a.add("khtml",r.includes("Konqueror")?n:void 0),a.add("edge",parseFloat(t.split("Edge/")[1])||void 0),a.add("opr",parseFloat(t.split("OPR/")[1])||void 0),a.add("webkit",!a("wp")&&!a("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),a.add("chrome",!a("edge")&&!a("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),a.add("android",!a("wp")&&parseFloat(t.split("Android ")[1])||void 0),a.add("safari",!r.includes("Safari")||a("wp")||a("chrome")||a("android")||a("edge")||a("opr")?void 0:parseFloat(r.split("Version/")[1])),a.add("mac",r.includes("Macintosh")),!a("wp")&&/(iPhone|iPod|iPad)/.test(t)){const e=RegExp.$1.replace(/P/,"p"),r=/OS ([\d_]+)/.test(t)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replaceAll("_",""));a.add(e,n),a.add("ios",n)}a("webkit")||(!t.includes("Gecko")||a("wp")||a("khtml")||a("edge")||a.add("mozilla",n),a("mozilla")&&a.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(n.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&a.add("esri-mobile",t),r&&a.add("esri-iPhone",r),a.add("esri-geolocation",!!navigator.geolocation)}a.add("esri-wasm","WebAssembly"in n),a.add("esri-performance-mode-frames-between-render",20),a.add("esri-force-performance-mode",!1),a.add("esri-shared-array-buffer",()=>{const e="SharedArrayBuffer"in n,t=!1===n.crossOriginIsolated;return e&&!t}),a.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]))),a.add("esri-atomics","Atomics"in n),a.add("esri-workers","Worker"in n),a.add("web-feat:cache","caches"in n),a.add("esri-workers-arraybuffer-transfer",!a("safari")||Number(a("safari"))>=12),a.add("workers-pool-size",8),a.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),a.add("featurelayer-simplify-payload-size-factors",[1,1,4]),a.add("featurelayer-fast-triangulation-enabled",!0),a.add("featurelayer-animation-enabled",!0),a.add("featurelayer-snapshot-enabled",!0),a.add("featurelayer-snapshot-initial-tolerance",0),a.add("featurelayer-snapshot-point-min-threshold",8e4),a.add("featurelayer-snapshot-point-max-threshold",4e5),a.add("featurelayer-snapshot-multipoint-min-threshold",2e4),a.add("featurelayer-snapshot-multipoint-max-threshold",1e5),a.add("featurelayer-snapshot-polygon-min-threshold",2e3),a.add("featurelayer-snapshot-polygon-max-threshold",2e3),a.add("featurelayer-snapshot-polyline-min-threshold",2e3),a.add("featurelayer-snapshot-polyline-max-threshold",2e3),a.add("featurelayer-snapshot-max-vertex-count",25e4),a.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled",!0),a.add("featurelayer-snapshot-concurrency",4),a.add("featurelayer-snapshot-coverage",.1),a.add("featurelayer-query-max-depth",4),a.add("featurelayer-query-pausing-enabled",!1),a.add("featurelayer-query-tile-concurrency",4),a.add("featurelayer-query-tile-max-features",6e5),a.add("featurelayer-advanced-symbols",!1),a.add("featurelayer-pbf",!0),a.add("featurelayer-pbf-statistics",!1),a.add("feature-layers-workers",!0),a.add("feature-polyline-generalization-factor",1),a.add("parquetlayer-full-query-feature-count",2e4),a.add("parquetlayer-hittest-max-feature-count",1),a.add("parquetlayer-persistence-enabled",!1),a.add("mapview-transitions-duration",200),a.add("mapview-essential-goto-duration",200),a.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),a.add("mapserver-pbf-version-support",10.81),a.add("mapservice-popup-identify-max-tolerance",20),a.add("request-queue-concurrency-global",50),a.add("request-queue-concurrency-hosted",16),a.add("request-queue-concurrency-non-hosted",4),a.add("curve-densification-coarse-segments",128),a.add("curve-densification-max-segments",2e3),a.add("curve-densification-min-segments",3),a.add("curve-densification-pixel-deviation",.5),a.add("view-readyState-waiting-delay",1e3),a.add("gradient-depth-bias",.01),a.add("gradient-depth-epsilon",1e-8),a.add("enable-feature:esri-compress-textures",!0),a.add("enable-feature:basemap-groundlayers",!0),a.add("enable-feature:oit-ground",!1),!a("host-webworker")&&a("host-browser")&&(a.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),a.add("esri-url-encodes-apostrophe",()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")}))})()},49186:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(4718),o=r(53966),a=r(79907);class s extends a.A{constructor(e,t,r){super(e,t,r)}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(0,n.o8)(t)}catch(e){return"[object]"}}))}}catch(e){throw o.A.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s(e.name,e.message,e.details)}}s.prototype.type="error"},52268:(e,t,r)=>{"use strict";function n(e,t){return new Proxy({},{get:(r,n,o)=>(...r)=>{let o,a;const s=r[r.length-1];return function(e){return"object"==typeof e&&!Array.isArray(e)&&null!=e&&("signal"in e||"transferList"in e||0===Object.keys(e).length)}(s)&&(o=s.signal,a=s.transferList,r.pop()),e.apply(t?`${t}.${n.toString()}`:n.toString(),r,{transferList:a,signal:o})}})}r.d(t,{L:()=>n})},53966:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(92602),o=(r(44208),r(799));const a={info:0,warn:1,error:2,none:3};class s{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,s._loggers.set(this.module,this);const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=s.getLogger(this.module.slice(0,t)))}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(){}static get test(){}static getLogger(e){return e="string"!=typeof e?e.declaredClass:e,s._loggers.get(e)||new s({module:e})}static{this._loggers=new Map}static{this._tickCounter=0}static{this._tickCounterScheduled=!1}static{this._throttlingDisabled=!1}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!s._throttlingDisabled){const n=function(...e){return(0,o.Wm)(JSON.stringify(e,(e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]"))}(r),a=this._loggedMessages[e].get(n);if("once"===t&&null!=a||"oncePerTick"===t&&a&&a>=s._tickCounter)return;this._loggedMessages[e].set(n,s._tickCounter),s._scheduleTickCounterIncrement()}for(const t of n.A.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;null!=r;){const t=r[e];if(null!=t)return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",i)}_matchLevel(e){const t=n.A.log.level||"warn";return a[this._parentWithMember("level",t)]<=a[e]}static _scheduleTickCounterIncrement(){s._tickCounterScheduled||(s._tickCounterScheduled=!0,Promise.resolve().then(()=>{s._tickCounter++,s._tickCounterScheduled=!1}))}}function i(e,t,...r){console[e](`[${t}]`,...r)}},61322:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(70333),o=r(49186),a=r(37955),s=r(36563),i=r(97768),c=r(74887),l=r(52268);const f={CSVSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1185)]).then(r.bind(r,25209)),EdgeProcessingWorker:()=>Promise.all([r.e(431),r.e(8243)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8487),r.e(5845)]).then(r.bind(r,38419)),Feature3DPipelineWorker:()=>Promise.all([r.e(7603),r.e(2869),r.e(3910),r.e(5323),r.e(8303),r.e(4903),r.e(1214),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(7005),r.e(655),r.e(387),r.e(4633),r.e(89)]).then(r.bind(r,64183)),FeaturePipelineWorker:()=>Promise.all([r.e(7603),r.e(5323),r.e(8303),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(581),r.e(1075),r.e(3443),r.e(449)]).then(r.bind(r,24734)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(7603),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(6787)]).then(r.bind(r,12543)),FlowWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(9616)]).then(r.bind(r,49616)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeoJSONSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(860)]).then(r.bind(r,71202)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),MemorySourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1360)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8140)]).then(r.bind(r,39078)),PanoramicMeshWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(4314)]).then(r.bind(r,96982)),ParquetSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(581),r.e(1075),r.e(905)]).then(r.bind(r,48459)),PointCloudWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(2603),r.e(7005),r.e(5967)]).then(r.bind(r,34142)),RasterWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(3356),r.e(6049),r.e(9911)]).then(r.bind(r,5561)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(9466),r.e(2603),r.e(387),r.e(431),r.e(784)]).then(r.bind(r,70491)),SceneLayerWorker:()=>Promise.all([r.e(7603),r.e(9953),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8256)]).then(r.bind(r,29030)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),WFSSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(8969)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(5897),r.e(3443),r.e(5294)]).then(r.bind(r,69286)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(6357)]).then(r.bind(r,1123)),statsWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(9476),r.e(3009)]).then(r.bind(r,33009))};var u=r(8341),d=r(18357);const{CLOSE:b,ABORT:h,INVOKE:p,RESPONSE:m,OPEN_PORT:g,ON:y}=u.Go;class w{constructor(e){this._invoke=e,this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._timer=null,this._process=this._process.bind(this)}push(e){e.type===h?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{static{this.kernelInfo={buildDate:d.$,fullVersion:n.ol,revision:d.u}}static{this.clients=new Map}static connect(e,t){const r=new MessageChannel;let n;n="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const o=new v(r.port1,{channel:r,client:n,schedule:t});return"object"==typeof n&&"remoteClient"in n&&(n.remoteClient=o),v.clients.set(o,n),r.port2}static loadWorker(e){const t=f[e];return t?t():Promise.resolve(null)}constructor(e,t,r,n){this._port=e,this._jobQueue=r,this._lowPriorityJobQueue=n,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new w(e=>this._onInvokeMessage(e)),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}close(){this._post({type:b}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){return this.apply(e,[t],r)}apply(e,t,r){const n=r?.signal,a=r?.transferList;if(!this._port)return Promise.reject(new o.A(u.T,`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const s=(0,u.Jc)();return new Promise((r,o)=>{if((0,c.G4)(n))return this._processWork(),void o((0,c.NK)());const l=(0,c.u7)(n,()=>{const e=this._outJobs.get(s);e&&(this._outJobs.delete(s),this._processWork(),(0,i.xt)(e.abortHandle),this._post({type:h,jobId:s}),o((0,c.NK)()))}),f={resolve:r,reject:o,abortHandle:l,debugInfo:e};this._outJobs.set(s,f),this._post({type:p,jobId:s,methodName:e,abortable:null!=n},t,a)})}createInvokeProxy(e){return(0,l.L)(this,e)}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:y,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),(0,s.hA)(()=>{r.port1.postMessage({type:b}),r.port1.close(),r.port1.removeEventListener("message",n)})}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:g,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=2)return;const e=this._jobQueue?.pop()??this._lowPriorityJobQueue?.pop();if(!e)return;const{methodName:t,data:r,invokeOptions:n,resolver:o}=e;this.apply(t,r,n).then(e=>o.resolve(e)).catch(e=>o.reject(e))}_close(){this._channel&&(this._channel=void 0),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach(e=>{(0,i.xt)(e.abortHandle),e.reject((0,c.NK)(`Worker closing, aborting job calling '${e.debugInfo}'`))}),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=null,this._client=null,this._schedule=null,this._onMessage=null,this._channel=null,this._jobQueue=void 0,this._invokeQueue=void 0,this._lowPriorityJobQueue=void 0}_onMessage(e){null!=this._schedule?this._schedule(()=>this._processMessage(e,!0)):this._processMessage(e,!1)}_processMessage(e,t){const r=(0,u.VI)(e);if(r)switch(r.type){case m:this._onResponseMessage(r);break;case p:t?this._onInvokeMessage(r):this._invokeQueue.push(r);break;case h:this._onAbortMessage(r);break;case b:this._onCloseMessage();break;case g:this._onOpenPortMessage(r);break;case y:this._onOnMessage(r)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e?.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n=[],abortable:o}=e,a=o?new AbortController:null,s=this._inJobs;let i,l=this._client,f=l[t];try{if(!f&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)l=l[e[t]],f=l[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);n.push({client:this,signal:a?a.signal:null}),i=f.apply(l,n)}catch(e){return void this._post({type:m,jobId:r,error:(0,u.mF)(e)})}(0,c.$X)(i)?(s.set(r,{controller:a,promise:i}),i.then(e=>{s.has(r)&&(s.delete(r),this._post({type:m,jobId:r},e))},e=>{s.has(r)&&(s.delete(r),(0,c.zf)(e)||this._post({type:m,jobId:r,error:(0,u.mF)(e||{message:`Error encountered at method ${t}`})}))})):this._post({type:m,jobId:r},i)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,e=>{t.postMessage(e)}),n=(0,a.on)(e.port,"message",e=>{const o=(0,u.VI)(e);o?.type===b&&(n.remove(),r.remove(),t.close())})}_onResponseMessage(e){const{jobId:t,error:r,data:n}=e,a=this._outJobs;if(!a.has(t))return;const s=a.get(t);a.delete(t),this._processWork(),(0,i.xt)(s.abortHandle),r?s.reject(o.A.fromJSON(JSON.parse(r))):s.resolve(n)}_post(e,t,r){return(0,u.u1)(this._port,e,t,r)}}},70333:(e,t,r)=>{"use strict";r.d(t,{Aq:()=>c,Y3:()=>l,id:()=>s,ol:()=>i,rE:()=>a});var n=r(44208),o=r(84952);Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const a="5.0";let s,i=a;function c(e){s=e}function l(e){const t=s?.findCredential(e);return t?.token?(0,o.rs)(e,"token",t.token):e}i="5.0.0-next.41",(0,n.A)("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),(0,n.A)("host-webworker")},74887:(e,t,r)=>{"use strict";r.d(t,{Pl:()=>O,Ol:()=>k,nA:()=>_,NK:()=>l,Tw:()=>x,sg:()=>S,Lx:()=>v,QZ:()=>w,zf:()=>y,G4:()=>d,$X:()=>P,u7:()=>p,NY:()=>m,hn:()=>j,Mq:()=>u,QP:()=>b,Te:()=>f,jH:()=>h,NO:()=>M,z7:()=>A,qr:()=>g});var n=r(36563);const o=(a=globalThis,{setTimeout:(e,t)=>{const r=a.setTimeout(e,t);return(0,n.hA)(()=>a.clearTimeout(r))}});var a,s=r(49186),i=r(37955),c=(r(53966),r(97768));function l(e="Aborted"){return new s.A("AbortError",e)}function f(e,t="Aborted"){if(d(e))throw l(t)}function u(e){return e instanceof AbortSignal?e:e?.signal??void 0}function d(e){const t=u(e);return null!=t&&t.aborted}function b(e){if(y(e))throw e}function h(e){if(!y(e))throw e}function p(e,t){const r=u(e);if(null!=r){if(!r.aborted)return(0,i.Oo)(r,"abort",()=>t());t()}}function m(e,t){const r=u(e);if(null!=r)return f(r),(0,i.Oo)(r,"abort",()=>t(l()))}function g(e,t){return null==u(t)?e:new Promise((r,n)=>{let o=p(t,()=>n(l()));const a=()=>{o=(0,c.xt)(o)};e.then(a,a),e.then(r,n)})}function y(e){return"AbortError"===e?.name}async function w(e){try{return await e}catch(e){if(!y(e))throw e;return}}async function v(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e),r=t.map(t=>e[t]),n=await v(r),o={};return t.map((e,t)=>o[e]=n[t]),o}const t=e;return Promise.allSettled(t).then(e=>Array.from(t,(t,r)=>{const n=e[r];return"fulfilled"===n.status?{promise:t,value:n.value}:{promise:t,error:n.reason}}))}async function _(e){return(await Promise.allSettled(e)).filter(e=>"fulfilled"===e.status).map(e=>e.value)}async function k(e){return(await Promise.allSettled(e)).filter(e=>"rejected"===e.status).map(e=>e.reason)}function O(e,t=void 0,r){const n=new AbortController;return p(r,()=>n.abort()),new Promise((r,o)=>{let a=setTimeout(()=>{a=0,r(t)},e);p(n,()=>{a&&(clearTimeout(a),o(l()))})})}function P(e){return e&&"function"==typeof e.then}function A(e){return P(e)?e:Promise.resolve(e)}function S(e,t=-1){let r,n,o,a,s=null;const i=(...c)=>{if(r){n=c,a&&a.reject(l()),a=x();const e=a.promise;if(s){const e=s;s=null,e.abort()}return e}if(o=a||x(),a=null,t>0){const n=new AbortController;r=A(e(...c,n.signal));const o=r;O(t).then(()=>{r===o&&(a?n.abort():s=n)})}else r=1,r=A(e(...c));const f=()=>{const e=n;n=o=r=s=null,null!=e&&i(...e)},u=r,d=o;return u.then(f,f),u.then(d.resolve,d.reject),d.promise};return i}function x(){let e,t;const r=new Promise((r,n)=>{e=r,t=n}),n=t=>{e(t)};return n.resolve=t=>e(t),n.reject=e=>t(e),n.timeout=(e,t)=>o.setTimeout(()=>n.reject(t),e),n.promise=r,n}function j(e,t){t.then(e.resolve,e.reject)}async function M(e){await Promise.resolve(),f(e)}},79907:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(93637);class o{constructor(e,t,r){this.name=e,this.details=r,this.message=(t&&function(e,t){return e.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(e,r)=>""===r?"$":((0,n.wc)(r,t)??"").toString())}(t,r))??""}toString(){return"["+this.name+"]: "+this.message}}},84952:(e,t,r)=>{"use strict";r.d(t,{$1:()=>Z,$z:()=>Q,An:()=>x,BQ:()=>ae,DB:()=>X,FL:()=>F,FX:()=>J,Hg:()=>re,Il:()=>be,Ln:()=>ge,N9:()=>oe,S8:()=>D,T1:()=>pe,UC:()=>he,V1:()=>H,Xq:()=>A,Zo:()=>ke,_0:()=>Pe,a6:()=>_e,b8:()=>q,e7:()=>de,fj:()=>G,gd:()=>S,hf:()=>me,lJ:()=>Y,lM:()=>ce,m3:()=>ie,nM:()=>ue,oP:()=>K,oy:()=>T,r$:()=>te,rs:()=>ve,s0:()=>_,s2:()=>B,sC:()=>L,s_:()=>C,tk:()=>ne,ut:()=>U,w8:()=>V,x0:()=>M,xw:()=>Oe,yM:()=>$,zf:()=>j,zi:()=>we,zs:()=>N});var n=r(92602),o=r(4576),a=r(49186),s=r(53966),i=r(12195),c=r(39131),l=r(26306);const f=()=>s.A.getLogger("esri.core.urlUtils"),u=n.A.request,d="esri/config: esriConfig.request.proxyUrl is not set.",b=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,h=/^\s*http:/i,p=/^\s*https:/i,m=/^\s*file:/i,g=/:\d+$/,y=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,w=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),v=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");class _{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=this.uri.match(w);this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=this.authority.match(v),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const k={};let O=new _(n.A.applicationUrl);let P=function(){const e=O.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${O.scheme}://${O.host}${null!=O.port?`:${O.port}`:""}${t}`}();const A=()=>O,S=()=>P;function x(e){if(!e)return null;const t={path:null,query:null},r=new _(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.slice(0,n),t.query=j(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function j(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,o;t<0?(n=decodeURIComponent(e),o=""):(n=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let a=r[n];"string"==typeof a&&(a=r[n]=[a]),Array.isArray(a)?a.push(o):r[n]=o}return r}function M(e,t){return e?t&&"function"==typeof t?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{const n=e[r];if(null==n)return"";const o=encodeURIComponent(r)+"=",a=t?.[r];return a?o+encodeURIComponent(a(n)):Array.isArray(n)?n.map(e=>(0,i.W)(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e)).join("&"):(0,i.W)(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)}).filter(e=>e).join("&"):""}function C(e=!1){let t,r=u.proxyUrl;if("string"==typeof e){t=ie(e);const n=N(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw f().warn(d),new a.A("urlUtils:proxy-not-set",d);return t&&le()&&(r=ce(r)),x(r)}function $(e,t=!1){const r=N(e);let n,o;if(r){const e=W(r.proxyUrl);n=e.path,o=e.query?j(e.query):null}else if(t){const t=C(e);n=t.path,o=t.query}if(n){const t=x(e);e=n+"?"+t.path;const r=M({...o,...t.query});r&&(e=`${e}?${r}`)}return e}const I={path:"",query:""};function W(e){const t=e.indexOf("?");return-1!==t?(I.path=e.slice(0,t),I.query=e.slice(t+1)):(I.path=e,I.query=null),I}function E(e){return(e=fe(e=be(e=W(e).path),!0)).toLowerCase()}function T(e){const t={proxyUrl:e.proxyUrl,urlPrefix:E(e.urlPrefix)},r=u.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(n.startsWith(t)){if(n.length===t.length)return-1;o=e;break}t.startsWith(n)&&(o=e+1)}return r.splice(o,0,t),o}function N(e){const t=u.proxyRules,r=E(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function q(e,t){if(!e||!t)return!1;e=R(e),t=R(t);const r=(0,c.py)(e),n=(0,c.py)(t);return null!=r&&null!=n?r.portalHostname===n.portalHostname:null==r&&null==n&&J(e,t,!0)}function U(e,t){return e=R(e),t=R(t),fe(e)===fe(t)}function R(e){const t=(e=D(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function L(e,t=u.interceptors){const r=t=>t instanceof RegExp?t.test(e):"string"==typeof t?e.startsWith(t):null==t;if(t)for(const e of t)if(Array.isArray(e.urls)){if(e.urls.some(r))return e}else if(r(e.urls))return e;return null}function J(e,t,r=!1){if(!e||!t)return!1;const n=ye(e),o=ye(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function F(e){if("string"==typeof e){if(!K(e))return!0;e=ye(e)}if(J(e,O))return!0;const t=u.trustedServers||[];for(let r=0;r<t.length;r++){const n=z(t[r]);for(let t=0;t<n.length;t++)if(J(e,n[t]))return!0}return!1}function z(e){return k[e]||(se(e)||ae(e)?k[e]=[new _(B(e))]:k[e]=[new _(`http://${e}`),new _(`https://${e}`)]),k[e]}function B(e,t=P,r){return ae(e)?r?.preserveProtocolRelative?e:"http"===O.scheme&&O.authority===Q(e).slice(2)?`http:${e}`:`https:${e}`:se(e)?e:G(e.startsWith("/")?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e)}function H(e,t=P,r){if(null==e||!K(e))return e;const n=D(e),o=n.toLowerCase(),a=D(t).toLowerCase().replace(/\/+$/,""),s=r?D(r).toLowerCase().replace(/\/+$/,""):null;if(s&&!a.startsWith(s))return e;const i=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=i(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===a.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=i(o,"/",c+1);if(-1===l)return e;if(s&&l<s.length)return e;e=n.slice(l);const f=a.slice(l-1).replaceAll(/[^/]+/g,"").length;if(f>0)for(let t=0;t<f;t++)e=`../${e}`;else e=`./${e}`;return e}function D(e){return function(e){const t=u.httpsDomains;if(!function(e){return null!=e&&h.test(e)||"http"===O.scheme&&ae(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),g.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===O.scheme&&n===O.authority&&!y.test(e)||(le()&&n===O.authority||t&&t.some(e=>n===e||n.endsWith(`.${e}`))||le()&&!N(e))&&(e=ce(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=W(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=B(e=e.trim()))))}function G(...e){const t=e.filter(o.Ru);if(!t?.length)return;const r=[];if(K(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return null!=e&&m.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else t[0].startsWith("/")&&r.push("");const n=t.reduce((e,t)=>t?e.concat(t.split("/")):e,[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function Q(e,t=!1){if(null==e||V(e)||X(e))return null;let r=e.indexOf("://");if(-1===r&&ae(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=fe(e,!0)),e}function K(e){return ae(e)||se(e)}function V(e){return null!=e&&e.startsWith("blob:")}function X(e){return null!=e&&e.startsWith("data:")}function Y(e){const t=te(e);return t?.isBase64?(0,l.M)(t.data):null}function Z(e){return(0,l.Y)(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}const ee=/^data:(.*?)(;base64)?,(.*)$/;function te(e){const t=e.match(ee);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function re(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}async function ne(e){return(await fetch(e)).blob()}function oe(e){const t=Y(e);if(!t)return null;const r=te(e);return new Blob([t],{type:r.mediaType})}function ae(e){return null!=e&&e.startsWith("/")&&"/"===e[1]}function se(e){return null!=e&&b.test(e)}function ie(e){return null!=e&&p.test(e)||"https"===O.scheme&&ae(e)}function ce(e){return ae(e)?`https:${e}`:e.replace(h,"https:")}function le(){return"https"===O.scheme}function fe(e,t=!1){return ae(e)?e.slice(2):(e=e.replace(b,""),t&&e.length>1&&e.startsWith("/")&&"/"===e[1]&&(e=e.slice(2)),e)}function ue(e){let t=0;if(K(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function de(e,t){if(!e)return"";const r=x(e).path.replace(/\/+$/,""),n=r.slice(r.lastIndexOf("/")+1);if(!t?.length)return n;const o=new RegExp(`\\.(${t.join("|")})$`,"i");return n.replace(o,"")}function be(e){return e.endsWith("/")?e:`${e}/`}function he(e){return e.replace(/\/+$/,"")}function pe(e,t,r){if(!(t&&r&&e&&K(e)))return e;const n=e.indexOf("//"),o=e.indexOf("/",n+2),a=e.indexOf(":",n+2),s=Math.min(o<0?e.length:o,a<0?e.length:a);return e.slice(n+2,s).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(s)}`}function me(e,t){const r=new URL(e);return r.host=t,r.port&&!g.test(t)&&(r.port=""),r.toString()}function ge(e){return new URL(e).host}function ye(e){return"string"==typeof e?new _(B(e)):(e.scheme||(e.scheme=O.scheme),e)}function we(e,t){const r=x(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function ve(e,t,r){const n=x(e),o=n.query||{};return o[t]=String(r),`${n.path}?${M(o)}`}function _e(e,t){if(!t)return e;const r=x(e),n=r.query||{};for(const[e,r]of Object.entries(t))null!=r&&(n[e]=r);const o=M(n);return o?`${r.path}?${o}`:r.path}function ke(e){if(null==e)return null;const t=e.match(Ae);return t?t[2]:null}function Oe(e){if(null==e)return null;const t=e.match(Ae);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}async function Pe(e){return"string"==typeof e?te(e)??{data:e}:new Promise((t,r)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(te(n.result)),n.onerror=e=>r(e)})}const Ae=/([^.]*)\.([^/]*)$/},87811:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});class n{static{this._m=2147483647}static{this._a=48271}static{this._c=0}constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*n._m}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}},92602:(e,t,r)=>{"use strict";r.d(t,{A:()=>o}),r(44208);var n=r(93637);const o={apiKey:void 0,apiKeys:{scopes:[]},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",respectPrefersReducedMotion:!0,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:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.$N)(o,globalThis.esriConfig,!0),delete o.has),!o.assetsPath){{const e="5.0.0-next.41";o.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}o.defaultAssetsPath=o.assetsPath}},93637:(e,t,r)=>{"use strict";r.d(t,{$N:()=>o,a4:()=>u,i7:()=>f,i8:()=>i,sM:()=>s,wc:()=>a});var n=r(4718);function o(e,t,r=!1){return l(e,t,r)}function a(e,t){if(null!=t)return t[e]||c(e.split("."),!1,t)}function s(e,t,r){const n=e.split("."),o=n.pop(),a=c(n,!0,r);a&&o&&(a[o]=t)}function i(e,t){if(null==e&&null==t)return!1;if(null==e)return!0;if(null==t)return!0;if("object"==typeof e){if(Array.isArray(e)){const r=t;if(e.length!==r.length)return!0;for(let t=0;t<e.length;t++)if(i(e[t],r[t]))return!0;return!1}if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const r in e)if(i(e[r],t[r]))return!0;return!1}return e!==t}function c(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function l(e,t,r){return t?Object.keys(t).reduce((e,o)=>{if("__proto__"===o)return e;let a=e[o],s=t[o];return a===s?e:void 0===a?(e[o]=(0,n.o8)(s),e):(Array.isArray(s)||Array.isArray(e)?(a=a?Array.isArray(a)?e[o]=a.slice():e[o]=[a]:e[o]=[],s&&(Array.isArray(s)||(s=[s]),r?s.forEach(e=>{a.includes(e)||a.push(e)}):e[o]=s.slice())):s&&"object"==typeof s?e[o]=l(a,s,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=s),e)},e||{}):e}function f(e,t){for(const r of Object.entries(e))if(t===r[1])return r[0]}function u(e,t){return Object.values(e).includes(t)}},97768:(e,t,r)=>{"use strict";function n(e,t){if(null==e)throw new Error(t??"value is None")}function o(e){return e?.destroy(),null}function a(e){return e?.dispose(),null}function s(e){return e?.remove(),null}function i(e){return e?.abort(),null}function c(e){return e?.release(),null}function l(e,t,r){return null!=e&&null!=t?null!=r?r(e,t):e.equals(t):e===t}function f(e,t){let r;return e.some((e,n)=>(r=t(e,n),null!=r)),r??void 0}r.d(t,{CM:()=>l,DC:()=>i,Gz:()=>c,Lw:()=>n,Pb:()=>f,WD:()=>a,pR:()=>o,xt:()=>s})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"chunks/"+{36:"4f4d51181ae7db9fbe6d",73:"efc293c8bbc12156096d",89:"96f798ee286b59396131",146:"0e4d0213d568f50c231f",148:"defc6b50df5018bd9e86",168:"69278d08a7d64917f826",177:"8d4cc5f1d07b4aa3aea0",191:"09b77f82c22530b44daa",217:"f7f53567b0c5b35d6aea",224:"3266c3392c24ce6cdd83",309:"7bc09e80bf45fe137055",353:"2de32649f8b0c6404d7c",369:"af00081b78fc30ac556c",382:"052ded41dc06c93ec0a7",387:"d786b17cc9062b1450ac",390:"41f487713c6278d389a1",427:"9461cc37ab3397265270",431:"613cbac9cb925cd20b48",449:"2db7a7607657f1d669f7",490:"bbdfa8ffcf084cbd9938",547:"bfbbcaa1fb04f17fc869",563:"c4de24582c29fda5a033",566:"274f2b5e6dbc58505142",573:"755ce019c97f5d527772",581:"9f6c63a580b28ab715bd",588:"cfd2839e218610a222e5",591:"5f781ef46ce7c4048c2f",647:"c82a974c8448407885e6",655:"50eb381b18b84b9c75a3",692:"ef639d31c94d2b55b8d4",708:"d8db2c51b2fb42f37b2a",744:"e1148067ceae7d9eaaf8",784:"4b6a44c6265c8959abd8",788:"ff8e2f998169ca3a7a68",795:"040f3d8e1099c4843390",807:"d239a4ef60e348cfb05a",812:"05e3bfd07a7a227862fd",820:"3c5f07ebe1b09dcdc958",860:"1bacdd17e199e22b5cd1",893:"f11453f24c0b728669d2",905:"2f8cf7d9ff1f4de19a4c",940:"338570424337be05cef5",957:"1e286fb7bb833f00dd88",980:"97b01803d0c38541aa08",985:"6f3ffc04086bca30e55d",1005:"3f33708eb39c7169a226",1017:"36d15c35fbbd4dedd5cb",1023:"36130910ba141f34531b",1075:"c367c7e553be3682f2db",1088:"004c2a1a37b99a184b13",1185:"da517b4b07d4d27ce94c",1190:"d14e75b160aa432233c6",1197:"fb9643b74cf35221ff98",1204:"558822b700e8bd844052",1214:"8e8d5422f57269d8c8d2",1224:"7aa730e5ac7b268e3c98",1273:"5b290d18de61789417f9",1277:"2a41283bba2361afa1fd",1279:"f609b256df9eb3803464",1312:"ee67c8a7c1f8b482cd99",1352:"a1a7b0e7ca488c895cb7",1360:"5dc0d853c21ccb6054c7",1384:"32d32d3c3b38a215d20d",1414:"48c8ef4170e803a564d6",1421:"9f0172b83f25ef5f8d40",1436:"70e2804d3710c6af468e",1437:"48f805929fe6241952f5",1598:"61a9ffd4cf07d8bb7a9b",1698:"145c6a7cdcc9893efb27",1713:"9c0efd06c9000ccbd62d",1728:"30184e39129d9c66ea54",1763:"3b1982bf7b44ff897a35",1776:"dddb6cb44cbe4dc1af97",1837:"b4349db7155673329432",1863:"679088064420a906aa7f",1867:"49e6219dd08cb6c27023",1874:"fecae7495e53bb05f282",1878:"65fd971d0574d69cbc26",1882:"3767617c0dfc7d801441",1894:"0b679d5a1bfdbd006d6e",1918:"630eba99f48ea79a9560",1956:"1e55f152b60145f33b61",1967:"95cb062cae4c31c07124",2158:"e537e1d37f3fcb14fce2",2186:"2b27499fa9de22970b7a",2274:"d0014b4a8c013f59b113",2288:"8ec238b5b59ef18a1713",2314:"8ad6595ad44c2d60c1ce",2343:"c5d6b416baf24e74b9ba",2372:"cade149fa19b4d06dd24",2390:"a34a14fd989dbbd3c2d0",2409:"29471e0b3f7296dee096",2423:"2d3ae187f8aa3495d4ae",2503:"e0017c6739d2532793e6",2510:"ae793d814cf32db9fbde",2558:"bc731ec9d5136f1d9253",2561:"28db329528def851efd7",2593:"0a5427127634738aa239",2603:"f1b99529e2055873b65a",2657:"55818fe7a7aa1e5c8bbd",2712:"44f759d723ae05bb1b19",2741:"5f9e64f00329cb646f0c",2764:"d3b1d1c389d70919fb02",2772:"ba6452acee3d6defb37e",2848:"3386d4392f465b807b94",2869:"396a95b800a0bdc398b9",2958:"ffdba51e7256ebf8ebd3",2980:"e0369ce0d729c9656488",3009:"3fe7be535affae31de7e",3054:"871dd5e1f016a04b8d98",3091:"024104997daea0d74b38",3103:"06d52a570d5d44f8c86e",3116:"46daa1ff5b412a97edc9",3169:"725819839434c59102f3",3236:"2613e482450b57f2d4f5",3263:"be631029691d9a320cb5",3276:"e5baa30944061418cb13",3285:"98175b454e807b1a3c5f",3299:"d08ee45c501102deea20",3345:"1d566539ff6fb6ac798c",3356:"478def691ae6763686f3",3359:"600e2e6b51e2fb9c598c",3367:"48e2737182c75005fb8f",3390:"29286234be26680245f6",3443:"d048e4926e78458afa3e",3444:"1d4ea8db272655c0608c",3463:"61707c22b029c2a7a397",3508:"d723619579cc8f5ef2cd",3513:"8d9bdde17eec0bc09f68",3543:"de3da4d31a7529761565",3548:"9664d9e679abc41f6c42",3561:"eb7eb3b3b8800fd73f3e",3562:"218b2b767b40d85fb713",3637:"20988e116f3723228f36",3661:"da1e61f355fb943085dc",3666:"a4f492aa5444e6381063",3693:"f97a7cb367634353177d",3779:"27dfbe3d903b95d4c67a",3813:"02a65563779b4c64b2cf",3910:"926c2a0e21b7aa1a86e4",3937:"9046a792395da28fa8f7",4038:"f3b3b193959db809c8c6",4097:"83aa39fbb1fad3b9d143",4123:"987e19af8a525e77883f",4167:"21f37a4b8d1857369203",4314:"ad891ac388fa6c1c9b94",4342:"dd105d6e0fcedee32644",4375:"b25a131c04092c3ab75d",4383:"56569d0c2cf5c5167651",4496:"6d0fe4db6b94f3d2c53a",4526:"19820cddba13a3585c0b",4575:"231c0b583fa97f2ca675",4633:"9d95f38da21f97214f83",4649:"768d9b6eaba7bfa18dde",4724:"4d5591c1b4ef37075921",4800:"2266a8f2c2ec37c19bb4",4802:"780f60210878a8286633",4815:"72cebf18da5ec5eeb666",4903:"4278b35fb6fd578c403e",4929:"4df7cc3477bc46fc39af",4971:"1f6ead46b723630db897",4996:"df458ad51be27df3d79d",5066:"cda5c95fd49b8901f7d4",5141:"944dfa9309da8f49a616",5165:"a96742e678a506c461ab",5180:"4675ed3ca3e0104d00bf",5181:"6e8c20ff1d28ef2fe72c",5294:"103153951ba312dc5e9e",5323:"9100330ed4b4437c819d",5367:"a00bba1c7cbf8cd7892c",5369:"4cbf5a97b2b3c6553f6f",5404:"0ae018098906d6a88904",5455:"d9251c3c85c3ddd242c8",5482:"bd4e959be3a0ce3ba41e",5549:"b21cf62652ca772108c8",5552:"892c417f5130b003889d",5605:"5dc2f2e28c30386efadf",5613:"af663e81c851bcf142f1",5666:"28a5a7c6b3d6902146f6",5710:"f93f0586ce10cb5d98b3",5740:"22ca80f491e070b2a5e7",5756:"05b7720ab6bf0874f27c",5804:"fdbe16e3b23e01655c0c",5845:"f441fc74451330384fb0",5856:"20f4c6d8b310ecab97be",5874:"852de585a72d902344a6",5890:"02d1c48e874dfd985bc4",5897:"c320a29df40e85fb4a8e",5902:"00c77f03dd511c6dbff2",5913:"77b45957cfe42523c1c8",5924:"706423d801fa9cbf2e90",5942:"0429ca6ba562ae29897e",5967:"e66bcdfd75e0113d1cec",5977:"800c91302eaad7f00877",6011:"9e869fd6450cf874783a",6018:"31186e83fe009aa0fd36",6049:"ba59568e748f0ba53b78",6052:"59889855d23baec1adf9",6129:"0271a2ca4e9b1e4fd284",6154:"4b14ee37b5ac50a734f9",6160:"b809d499ff050976d9ed",6187:"2c7038a7ffaf75344b02",6339:"538ddb267aa328814865",6343:"f98689562017583f73ee",6357:"c5c02ace54fe4ab9214b",6395:"78fc9a55e620602db1ff",6418:"262232437d37a7460b11",6468:"71dd80231ea656a6380c",6554:"db04b0a30cce9e476551",6558:"82ba4140e30f083fbc87",6647:"640085b5ade5c7f16228",6650:"dc5075b2326c79130baa",6673:"2463cebf904a3c46c639",6699:"93d11075f65a5b6625ea",6730:"7ba13b52fce1060fbb2a",6787:"8c271e9272e4eaf1325a",6859:"06221ebadab32111e2c6",6956:"88aa71f02f43bb069345",7005:"e501d68a1464805c4b4e",7048:"75643711d9585ee26a15",7074:"60f2de8dd8876bfd715a",7087:"0f4e9846d074864b39c2",7301:"2e6ae1ca07df442fc966",7330:"873008572c1f21cea122",7360:"74881340e040bfd0580f",7367:"dee9867b3379e024ae96",7375:"110429583b28c28c36ee",7444:"ced12ad98f8f48d0dc00",7464:"727804cf901094b1d620",7528:"9ba8a2e1c0fb4e1efc7c",7546:"bd2a28b14e5c0a55d783",7548:"3001568a99fdd14aada9",7561:"60eeeea671a523bb6b15",7603:"86832d94190150c70c11",7656:"c0b15510a8cab98df77f",7677:"4c4a55be41ba105c091c",7694:"1694b9154df3eccf602e",7817:"dc3a4ad62bc041a4f899",7836:"b56c07c0b43cb1999070",7883:"b9909264cfea68d5f2a1",7885:"3ac8de121a07c70bae0f",7982:"9f2a8445a5848502c7e7",8010:"0ee407b8db5c07a00d82",8018:"9d0f0d055ec25af037e0",8098:"a67c3958d76d10c04fa6",8125:"44b6b7418cbf7f778bef",8140:"f693a4d97b2762d0e6ff",8207:"d42273394f575e71dd55",8241:"794960ec36e11f4416c2",8243:"d9958654c6438f28237b",8256:"a59dab47a58695c639da",8303:"297344c2c1119159d143",8344:"5b73c77587772120b209",8368:"ae6066ea6cb373dc6db3",8377:"9a855a10798348a21bab",8399:"28b235b56a83c498d73f",8411:"907083c427d7fb4354e9",8441:"20e4243ea563d05a5256",8487:"2795e491f803654413d2",8535:"e7f4d135ef9665de1468",8570:"51b78eca012eac92dd07",8628:"fc61443546f21869f8ba",8654:"44f036cc21e3a2308f69",8692:"537de53ef1e9101468f5",8714:"9921c8d4487a0f580b93",8766:"2c9865e34f32fb5683e5",8812:"920b4def081c78c0d586",8948:"1357cc637524cd254974",8969:"0a58b57e1777a8b0ea23",8993:"d1f4152b2b8d47cbf586",8999:"8c07396e9ea3007d6404",9e3:"9ff8ee6ed6b98c03ae7e",9013:"08ef90e3fcfd4eda4301",9036:"f65f1798f398bc549463",9041:"f3c232fc56a29d51196a",9062:"fb76b43181077c55a207",9110:"816227de5bd42b437df4",9117:"933dce4d4ff8b90219c8",9126:"c5cc0fc652432a9264cc",9159:"4cda42b94e9cb58dd372",9187:"f2b63597ae956db74eb3",9192:"fe6fa1f2c2d54d41645e",9202:"e093e745708f722bc1b9",9203:"1c0fb4795a52204882a8",9221:"31b074ae2162a3508d2a",9239:"9d258f14199181dee424",9247:"b59be95949445ff5afab",9263:"2c4218306747f5d15575",9265:"ab88577987cf2fe1cb32",9279:"b6dec5dfdeca54bae88d",9321:"4ce28c936eaffe57c448",9361:"804958f3f4ff47a4eff5",9384:"88cbaa91c495d86f4bb0",9419:"444026d1938c1078ca97",9466:"e6fa6f9c278589c8a713",9476:"7eab0bb42f9f062522ef",9506:"6e5d41f51572e3e7cf92",9573:"13839d220e5c62404923",9588:"1e848d9da1c61a27cf18",9616:"94dc8b0fa129f1e168c4",9644:"4f0de45a0a295d66d446",9645:"30c4af16e3a2acc25589",9695:"e229d51c8cc27588e113",9700:"768ae52b4e5c3e571ef5",9708:"b7bcff9a64f41a0a0b6a",9718:"f21cb5b34d4d1e3af1a9",9785:"9f1d3c0b53bef07e39bf",9801:"061def9163a09c804b5c",9838:"a1b08aab73747f4e7e25",9911:"646f58b69d2354f1ef27",9926:"98739414c107ad78e4d8",9933:"3a16347e17312556e02c",9953:"7c08c0824ad354177787",9958:"d32aad968798948946e4"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={76:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[o,a,s]=t;for(var i in a)r.o(a,i)&&(r.m[i]=a[i]);for(s&&s(r);o.length;)e[o.pop()]=1;n(t)}})(),r(2131);var n=r(61322);RemoteClient=n})();
|
|
1
|
+
var RemoteClient;(()=>{var e={799:(e,t,r)=>{"use strict";r.d(t,{Cj:()=>i,HC:()=>s,Wm:()=>c,_e:()=>f});var n=r(93637);const o=/\{([^}]+)\}/g;function a(e){return e??""}function s(e,t){return t?e.replaceAll(o,"object"==typeof t?(e,r)=>a((0,n.wc)(r,t)):(e,r)=>a(t(r))):e}function i(e,t){return e.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,e=>t?.includes(e)?e:`\\${e}`)}function c(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}let l;function f(e){return l??=new DOMParser,l.parseFromString(e||"","text/html").body.innerText||""}},2131:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},4576:(e,t,r)=>{"use strict";r.d(t,{Am:()=>s,Ho:()=>d,Ji:()=>a,MJ:()=>i,Mo:()=>w,Ru:()=>O,TF:()=>k,VO:()=>l,Xj:()=>u,Xy:()=>m,aI:()=>c,iv:()=>f,k4:()=>_,mW:()=>y,qh:()=>p,vW:()=>b,yc:()=>P});var n=r(21818),o=r(87811);const a=1.5;function s(e,t){return t?e.filter((e,r,n)=>n.findIndex(t.bind(null,e))===r):Array.from(new Set(e))}function i(e,t,r,n,o,a,s){if(null==e&&null==n)return!0;t=Math.max(0,t),o=Math.max(0,o),r=Math.max(0,r<0?(e?.length??0)+r:r),a=Math.max(0,a<0?(n?.length??0)+a:a);const i=r-t;if(null==e||null==n||i!==a-o)return!1;if(s){for(let r=0;r<i;r++)if(!s(e[t+r],n[o+r]))return!1}else for(let r=0;r<i;r++)if(e[t+r]!==n[o+r])return!1;return!0}function c(e,t,r){return i(e,0,e?.length??0,t,0,t?.length??0,r)}function l(){return(e,t)=>{if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}function f(e,t,r){let n,o;return r?(n=t.filter(t=>!e.some(e=>r(e,t))),o=e.filter(e=>!t.some(t=>r(t,e)))):(n=t.filter(t=>!e.includes(t)),o=e.filter(e=>!t.includes(e))),{added:n,removed:o}}function u(e){return e&&"number"==typeof e.length}function d(e,t){const r=e.length;if(0===r)return[];const n=[];for(let o=0;o<r;o+=t)n.push(e.slice(o,o+t));return n}class b{constructor(){this.last=0}}const h=new b;function p(e,t,r,n){n=n||h;const o=Math.max(0,n.last-10);for(let a=o;a<r;++a)if(e[a]===t)return n.last=a,a;const a=Math.min(o,r);for(let r=0;r<a;++r)if(e[r]===t)return n.last=r,r;return-1}function m(e,t,r,o){const a=r??e.length,s=p(e,(0,n.zI)(t),a,o);if(-1!==s)return e[s]=e[a-1],null==r&&e.pop(),t}const g=new Set;function y(e,t,r=e.length,n=t.length,o,a){if(0===n||0===r)return r;g.clear();for(let e=0;e<n;++e)g.add(t[e]);o=o||h;const s=Math.max(0,o.last-10);for(let t=s;t<r;++t)if(g.has(e[t])&&(a?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;for(let t=0;t<s;++t)if(g.has(e[t])&&(a?.push(e[t]),g.delete(e[t]),e[t]=e[r-1],--r,--t,0===g.size||0===r))return g.clear(),r;return g.clear(),r}function w(e){return e?(v.seed=e,()=>v.getFloat()):Math.random}const v=new o.A;function _(e,t){if(!e)return e;const r=w(t);for(let t=e.length-1;t>0;t--){const n=Math.floor(r()*(t+1)),o=e[t];e[t]=e[n],e[n]=o}return e}function k(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function O(e,t){return null!=e}function P(e){return Array.isArray(e)}},4718:(e,t,r)=>{"use strict";r.d(t,{Nb:()=>c,TU:()=>i,aI:()=>b,gh:()=>h,o8:()=>s,oy:()=>a});var n=r(4576),o=r(34275);function a(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&a(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function s(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;const t=d(e);if(null!=t)return t;if(c(e))return e.clone();if(l(e))return e.map(s);if(f(e))throw new Error("Trying to clone an unclonable Accessor instance");const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=s(e[t]);return r}function i(e,t){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const r=d(e);if(null!=r)return r;if(l(e)){let r=!0;const n=e.map(e=>{const n=i(e,t);return null!=e&&null==n&&(r=!1),n});return r?n:null}if(c(e))return e.clone(t);if(e instanceof File||e instanceof Blob)return e;if(f(e))return null;const n=new(0,Object.getPrototypeOf(e).constructor);for(const t of Object.getOwnPropertyNames(e)){const r=e[t],o=i(r);if(null!=r&&null==o)return null;n[t]=o}return n}function c(e){return"function"==typeof e.clone}function l(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function f(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function u(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function d(e){if((0,o.dz)(e)||(0,o.mg)(e)||(0,o.UR)(e)||(0,o.IY)(e)||(0,o.jq)(e)||(0,o._G)(e)||(0,o.XJ)(e)||(0,o.vZ)(e)||(0,o.aI)(e))return e.slice();if(e instanceof Date)return new Date(e);if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;for(const[r,n]of e)t.set(r,s(n));return t}if(e instanceof Set){const t=new Set;for(const r of e)t.add(s(r));return t}return null}function b(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 h(e,t){return e===t||(null==e||"string"==typeof e?e===t:"number"==typeof e?e===t||"number"==typeof t&&isNaN(e)&&isNaN(t):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():Array.isArray(e)?Array.isArray(t)&&(0,n.aI)(e,t):e instanceof Set?t instanceof Set&&function(e,t){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}(e,t):e instanceof Map?t instanceof Map&&function(e,t){if(e.size!==t.size)return!1;for(const[r,n]of e){const e=t.get(r);if(e!==n||void 0===e&&!t.has(r))return!1}return!0}(e,t):!!u(e)&&u(t)&&function(e,t){if(null===e||null===t)return!1;const r=Object.keys(e);if(null===t||Object.keys(t).length!==r.length)return!1;for(const n of r)if(e[n]!==t[n]||!Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}(e,t))}},8341:(e,t,r)=>{"use strict";r.d(t,{Go:()=>s,Jc:()=>c,T:()=>a,VI:()=>u,mF:()=>l,oV:()=>b,u1:()=>f});var n=r(44208),o=r(74887);const a="worker:port-closed",s={HANDSHAKE:0,OPEN:1,OPENED:2,RESPONSE:3,INVOKE:4,ABORT:5,CLOSE:6,OPEN_PORT:7,ON:8};let i=0;function c(){return i++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function f(e,t,r,n){if(t.type===s.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==s.INVOKE&&t.type!==s.RESPONSE)return void e.postMessage(t);let o;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(o=d(n),t.data=r):(o=d(r.transferList),t.data=r.result),o?e.postMessage(t,o):e.postMessage(t)}function u(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function d(e){if(!e?.length)return null;if((0,n.A)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter(e=>!function(e){return e instanceof ArrayBuffer||"ArrayBuffer"===e?.constructor?.name}(e));return t.length?t:null}async function b(e){try{return await e}catch(e){const t=e?.name===a;if(!(0,o.zf)(e)&&!t)throw e;return}}},12195:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}r.d(t,{W:()=>n})},18357:(e,t,r)=>{"use strict";r.d(t,{$:()=>n,u:()=>o});const n="20251117",o="22a6e5237e154939dea85d7f9c0a8ce7dbf034d5"},21818:(e,t,r)=>{"use strict";function n(e){}function o(e){}function a(e){return e}r.d(t,{Ur:()=>o,Xb:()=>n,zI:()=>a}),r(44208)},26306:(e,t,r)=>{"use strict";function n(e){const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r.buffer}function o(e){const t=new Uint8Array(e);let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t[e]);return btoa(r)}r.d(t,{M:()=>n,Y:()=>o})},34275:(e,t,r)=>{"use strict";function n(e){return e instanceof ArrayBuffer}function o(e){return"Int8Array"===e?.constructor?.name}function a(e){return"Uint8Array"===e?.constructor?.name}function s(e){return"Uint8ClampedArray"===e?.constructor?.name}function i(e){return"Int16Array"===e?.constructor?.name}function c(e){return"Uint16Array"===e?.constructor?.name}function l(e){return"Int32Array"===e?.constructor?.name}function f(e){return"Uint32Array"===e?.constructor?.name}function u(e){return"Float16Array"===e?.constructor?.name}function d(e){return"Float32Array"===e?.constructor?.name}function b(e){return"Float64Array"===e?.constructor?.name}function h(e){return"buffer"in e}r.d(t,{IY:()=>i,JI:()=>m,LW:()=>u,PI:()=>w,UR:()=>s,XJ:()=>f,_G:()=>l,a3:()=>y,aI:()=>b,dk:()=>g,dz:()=>o,h2:()=>v,iu:()=>h,jq:()=>c,mg:()=>a,mw:()=>n,vZ:()=>d,y9:()=>p}),r(44208);const p=1024;function m(e){return b(e)||d(e)||l(e)||i(e)||o(e)}function g(e){return b(e)||d(e)}function y(e){return b(e)?179769e303:u(e)?65504:d(e)?3402823e32:f(e)?4294967295:c(e)?65535:a(e)||s(e)?255:l(e)?2147483647:i(e)?32767:o(e)?127:256}const w=-32768,v=-2147483648},36563:(e,t,r)=>{"use strict";r.d(t,{Bf:()=>i,hA:()=>o,rE:()=>s,vE:()=>a});const n={remove:()=>{}};function o(e){return e?{remove(){e&&(e(),e=void 0)}}:n}function a(e){return o(()=>function(e){e.forEach(e=>e?.remove())}(e))}function s(e){return o(()=>e?.abort())}function i(e){return{[Symbol.dispose](){e.remove()}}}},37955:(e,t,r)=>{"use strict";r.d(t,{Oo:()=>i,on:()=>s,wb:()=>o});var n=r(36563);function o(e){return function(e){return null!=e&&"object"==typeof e&&"on"in e&&"function"==typeof e.on}(e)||a(e)}function a(e){return null!=e&&"object"==typeof e&&"addEventListener"in e&&"function"==typeof e.addEventListener}function s(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");return a(e)?function(e,t,r,o){if(Array.isArray(t)){const a=t.slice();for(const t of a)e.addEventListener(t,r,o);return(0,n.hA)(()=>{for(const t of a)e.removeEventListener(t,r,o)})}return e.addEventListener(t,r,o),(0,n.hA)(()=>e.removeEventListener(t,r,o))}(e,t,r):e.on(t,r)}function i(e,t,r){if(!o(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const n=s(e,t,t=>{n.remove(),r.call(e,t)});return n}},39131:(e,t,r)=>{"use strict";r.d(t,{$E:()=>s,py:()=>a,qG:()=>i});const n=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/i,o={devext:{customBaseUrl:"mapsdevext.arcgis.com",portalHostname:"devext.arcgis.com"},qaext:{customBaseUrl:"mapsqa.arcgis.com",portalHostname:"qaext.arcgis.com"},www:{customBaseUrl:"maps.arcgis.com",portalHostname:"www.arcgis.com"}};function a(e){const t=e?.match(n);if(!t)return null;const[,r,a,s]=t;if(!r)return null;let i=null,c=null,l=null;const{devext:f,qaext:u,www:d}=o;if(a)if(i=r,s)switch(s.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qa":({customBaseUrl:c,portalHostname:l}=u);break;default:return null}else({customBaseUrl:c,portalHostname:l}=d);else switch(r.toLowerCase()){case"devext":({customBaseUrl:c,portalHostname:l}=f);break;case"qaext":({customBaseUrl:c,portalHostname:l}=u);break;case"www":({customBaseUrl:c,portalHostname:l}=d);break;default:return null}return{customBaseUrl:c,isPortal:!1,portalHostname:l,urlKey:i}}function s(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function i(e){const t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}},44208:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=globalThis,o={...n.esriConfig?.has};function a(e){return"function"==typeof o[e]?o[e]=o[e](n):o[e]}a.add=(e,t,r,n)=>{(n||void 0===o[e])&&(o[e]=t),r&&a(e)},a.cache=o,a.add("big-integer-warning-enabled",!0),a.add("esri-deprecation-warnings",!0),a.add("esri-tests-disable-screenshots",!1),a.add("esri-tests-use-full-window",!1),a.add("esri-tests-post-to-influx",!0),a.add("esri-cim-animations-enable-status","enabled"),a.add("esri-cim-animations-spotlight",!1),a.add("esri-cim-animations-freeze-time",!1),(()=>{a.add("host-webworker",void 0!==n.WorkerGlobalScope&&self instanceof n.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(a.add("host-browser",e),a.add("host-node",!("object"!=typeof n.process||!n.process.versions?.node||!n.process.versions.v8)),a.add("dom",e),a("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(a.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),a.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),a.add("khtml",r.includes("Konqueror")?n:void 0),a.add("edge",parseFloat(t.split("Edge/")[1])||void 0),a.add("opr",parseFloat(t.split("OPR/")[1])||void 0),a.add("webkit",!a("wp")&&!a("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),a.add("chrome",!a("edge")&&!a("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),a.add("android",!a("wp")&&parseFloat(t.split("Android ")[1])||void 0),a.add("safari",!r.includes("Safari")||a("wp")||a("chrome")||a("android")||a("edge")||a("opr")?void 0:parseFloat(r.split("Version/")[1])),a.add("mac",r.includes("Macintosh")),!a("wp")&&/(iPhone|iPod|iPad)/.test(t)){const e=RegExp.$1.replace(/P/,"p"),r=/OS ([\d_]+)/.test(t)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replaceAll("_",""));a.add(e,n),a.add("ios",n)}a("webkit")||(!t.includes("Gecko")||a("wp")||a("khtml")||a("edge")||a.add("mozilla",n),a("mozilla")&&a.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(n.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&a.add("esri-mobile",t),r&&a.add("esri-iPhone",r),a.add("esri-geolocation",!!navigator.geolocation)}a.add("esri-wasm","WebAssembly"in n),a.add("esri-performance-mode-frames-between-render",20),a.add("esri-force-performance-mode",!1),a.add("esri-shared-array-buffer",()=>{const e="SharedArrayBuffer"in n,t=!1===n.crossOriginIsolated;return e&&!t}),a.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]))),a.add("esri-atomics","Atomics"in n),a.add("esri-workers","Worker"in n),a.add("web-feat:cache","caches"in n),a.add("esri-workers-arraybuffer-transfer",!a("safari")||Number(a("safari"))>=12),a.add("workers-pool-size",8),a.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),a.add("featurelayer-simplify-payload-size-factors",[1,1,4]),a.add("featurelayer-fast-triangulation-enabled",!0),a.add("featurelayer-animation-enabled",!0),a.add("featurelayer-snapshot-enabled",!0),a.add("featurelayer-snapshot-initial-tolerance",0),a.add("featurelayer-snapshot-point-min-threshold",8e4),a.add("featurelayer-snapshot-point-max-threshold",4e5),a.add("featurelayer-snapshot-multipoint-min-threshold",2e4),a.add("featurelayer-snapshot-multipoint-max-threshold",1e5),a.add("featurelayer-snapshot-polygon-min-threshold",2e3),a.add("featurelayer-snapshot-polygon-max-threshold",2e3),a.add("featurelayer-snapshot-polyline-min-threshold",2e3),a.add("featurelayer-snapshot-polyline-max-threshold",2e3),a.add("featurelayer-snapshot-max-vertex-count",25e4),a.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled",!0),a.add("featurelayer-snapshot-concurrency",4),a.add("featurelayer-snapshot-coverage",.1),a.add("featurelayer-query-max-depth",4),a.add("featurelayer-query-pausing-enabled",!1),a.add("featurelayer-query-tile-concurrency",4),a.add("featurelayer-query-tile-max-features",6e5),a.add("featurelayer-advanced-symbols",!1),a.add("featurelayer-pbf",!0),a.add("featurelayer-pbf-statistics",!1),a.add("feature-layers-workers",!0),a.add("feature-polyline-generalization-factor",1),a.add("parquetlayer-full-query-feature-count",2e4),a.add("parquetlayer-hittest-max-feature-count",1),a.add("parquetlayer-persistence-enabled",!1),a.add("mapview-transitions-duration",200),a.add("mapview-essential-goto-duration",200),a.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),a.add("mapserver-pbf-version-support",10.81),a.add("mapservice-popup-identify-max-tolerance",20),a.add("request-queue-concurrency-global",50),a.add("request-queue-concurrency-hosted",16),a.add("request-queue-concurrency-non-hosted",4),a.add("curve-densification-coarse-segments",128),a.add("curve-densification-max-segments",2e3),a.add("curve-densification-min-segments",3),a.add("curve-densification-pixel-deviation",.5),a.add("view-readyState-waiting-delay",1e3),a.add("gradient-depth-bias",.01),a.add("gradient-depth-epsilon",1e-8),a.add("enable-feature:esri-compress-textures",!0),a.add("enable-feature:basemap-groundlayers",!0),a.add("enable-feature:oit-ground",!1),!a("host-webworker")&&a("host-browser")&&(a.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),a.add("esri-url-encodes-apostrophe",()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")}))})()},49186:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(4718),o=r(53966),a=r(79907);class s extends a.A{constructor(e,t,r){super(e,t,r)}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(0,n.o8)(t)}catch(e){return"[object]"}}))}}catch(e){throw o.A.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s(e.name,e.message,e.details)}}s.prototype.type="error"},52268:(e,t,r)=>{"use strict";function n(e,t){return new Proxy({},{get:(r,n,o)=>(...r)=>{let o,a;const s=r[r.length-1];return function(e){return"object"==typeof e&&!Array.isArray(e)&&null!=e&&("signal"in e||"transferList"in e||0===Object.keys(e).length)}(s)&&(o=s.signal,a=s.transferList,r.pop()),e.apply(t?`${t}.${n.toString()}`:n.toString(),r,{transferList:a,signal:o})}})}r.d(t,{L:()=>n})},53966:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(92602),o=(r(44208),r(799));const a={info:0,warn:1,error:2,none:3};class s{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,s._loggers.set(this.module,this);const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=s.getLogger(this.module.slice(0,t)))}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(){}static get test(){}static getLogger(e){return e="string"!=typeof e?e.declaredClass:e,s._loggers.get(e)||new s({module:e})}static{this._loggers=new Map}static{this._tickCounter=0}static{this._tickCounterScheduled=!1}static{this._throttlingDisabled=!1}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!s._throttlingDisabled){const n=function(...e){return(0,o.Wm)(JSON.stringify(e,(e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]"))}(r),a=this._loggedMessages[e].get(n);if("once"===t&&null!=a||"oncePerTick"===t&&a&&a>=s._tickCounter)return;this._loggedMessages[e].set(n,s._tickCounter),s._scheduleTickCounterIncrement()}for(const t of n.A.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;null!=r;){const t=r[e];if(null!=t)return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",i)}_matchLevel(e){const t=n.A.log.level||"warn";return a[this._parentWithMember("level",t)]<=a[e]}static _scheduleTickCounterIncrement(){s._tickCounterScheduled||(s._tickCounterScheduled=!0,Promise.resolve().then(()=>{s._tickCounter++,s._tickCounterScheduled=!1}))}}function i(e,t,...r){console[e](`[${t}]`,...r)}},61322:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(70333),o=r(49186),a=r(37955),s=r(36563),i=r(97768),c=r(74887),l=r(52268);const f={CSVSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1185)]).then(r.bind(r,25209)),EdgeProcessingWorker:()=>Promise.all([r.e(431),r.e(8243)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8487),r.e(5845)]).then(r.bind(r,38419)),Feature3DPipelineWorker:()=>Promise.all([r.e(7603),r.e(2869),r.e(3910),r.e(5323),r.e(8303),r.e(4903),r.e(1214),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(7005),r.e(655),r.e(387),r.e(4633),r.e(89)]).then(r.bind(r,64183)),FeaturePipelineWorker:()=>Promise.all([r.e(7603),r.e(5323),r.e(8303),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(581),r.e(1075),r.e(3443),r.e(449)]).then(r.bind(r,24734)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(7603),r.e(1956),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(893),r.e(4800),r.e(4649),r.e(9476),r.e(6787)]).then(r.bind(r,12543)),FlowWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(9616)]).then(r.bind(r,49616)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeoJSONSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(860)]).then(r.bind(r,71202)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),MemorySourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(1360)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8140)]).then(r.bind(r,39078)),PanoramicMeshWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(4314)]).then(r.bind(r,96982)),ParquetSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(581),r.e(1075),r.e(905)]).then(r.bind(r,48459)),PointCloudWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(2603),r.e(7005),r.e(5967)]).then(r.bind(r,34142)),RasterWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(3356),r.e(6049),r.e(9911)]).then(r.bind(r,5561)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(9466),r.e(2603),r.e(387),r.e(431),r.e(784)]).then(r.bind(r,70491)),SceneLayerWorker:()=>Promise.all([r.e(7603),r.e(9953),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(8256)]).then(r.bind(r,29030)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),WFSSourceWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(708),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(8368),r.e(4800),r.e(4649),r.e(9476),r.e(8969)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(5897),r.e(3443),r.e(5294)]).then(r.bind(r,69286)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(6357)]).then(r.bind(r,1123)),statsWorker:()=>Promise.all([r.e(7603),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9419),r.e(1882),r.e(2603),r.e(9476),r.e(3009)]).then(r.bind(r,33009))};var u=r(8341),d=r(18357);const{CLOSE:b,ABORT:h,INVOKE:p,RESPONSE:m,OPEN_PORT:g,ON:y}=u.Go;class w{constructor(e){this._invoke=e,this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._timer=null,this._process=this._process.bind(this)}push(e){e.type===h?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{static{this.kernelInfo={buildDate:d.$,fullVersion:n.ol,revision:d.u}}static{this.clients=new Map}static connect(e,t){const r=new MessageChannel;let n;n="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const o=new v(r.port1,{channel:r,client:n,schedule:t});return"object"==typeof n&&"remoteClient"in n&&(n.remoteClient=o),v.clients.set(o,n),r.port2}static loadWorker(e){const t=f[e];return t?t():Promise.resolve(null)}constructor(e,t,r,n){this._port=e,this._jobQueue=r,this._lowPriorityJobQueue=n,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new w(e=>this._onInvokeMessage(e)),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}close(){this._post({type:b}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){return this.apply(e,[t],r)}apply(e,t,r){const n=r?.signal,a=r?.transferList;if(!this._port)return Promise.reject(new o.A(u.T,`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const s=(0,u.Jc)();return new Promise((r,o)=>{if((0,c.G4)(n))return this._processWork(),void o((0,c.NK)());const l=(0,c.u7)(n,()=>{const e=this._outJobs.get(s);e&&(this._outJobs.delete(s),this._processWork(),(0,i.xt)(e.abortHandle),this._post({type:h,jobId:s}),o((0,c.NK)()))}),f={resolve:r,reject:o,abortHandle:l,debugInfo:e};this._outJobs.set(s,f),this._post({type:p,jobId:s,methodName:e,abortable:null!=n},t,a)})}createInvokeProxy(e){return(0,l.L)(this,e)}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:y,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),(0,s.hA)(()=>{r.port1.postMessage({type:b}),r.port1.close(),r.port1.removeEventListener("message",n)})}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:g,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=2)return;const e=this._jobQueue?.pop()??this._lowPriorityJobQueue?.pop();if(!e)return;const{methodName:t,data:r,invokeOptions:n,resolver:o}=e;this.apply(t,r,n).then(e=>o.resolve(e)).catch(e=>o.reject(e))}_close(){this._channel&&(this._channel=void 0),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach(e=>{(0,i.xt)(e.abortHandle),e.reject((0,c.NK)(`Worker closing, aborting job calling '${e.debugInfo}'`))}),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=null,this._client=null,this._schedule=null,this._onMessage=null,this._channel=null,this._jobQueue=void 0,this._invokeQueue=void 0,this._lowPriorityJobQueue=void 0}_onMessage(e){null!=this._schedule?this._schedule(()=>this._processMessage(e,!0)):this._processMessage(e,!1)}_processMessage(e,t){const r=(0,u.VI)(e);if(r)switch(r.type){case m:this._onResponseMessage(r);break;case p:t?this._onInvokeMessage(r):this._invokeQueue.push(r);break;case h:this._onAbortMessage(r);break;case b:this._onCloseMessage();break;case g:this._onOpenPortMessage(r);break;case y:this._onOnMessage(r)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e?.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n=[],abortable:o}=e,a=o?new AbortController:null,s=this._inJobs;let i,l=this._client,f=l[t];try{if(!f&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)l=l[e[t]],f=l[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);n.push({client:this,signal:a?a.signal:null}),i=f.apply(l,n)}catch(e){return void this._post({type:m,jobId:r,error:(0,u.mF)(e)})}(0,c.$X)(i)?(s.set(r,{controller:a,promise:i}),i.then(e=>{s.has(r)&&(s.delete(r),this._post({type:m,jobId:r},e))},e=>{s.has(r)&&(s.delete(r),(0,c.zf)(e)||this._post({type:m,jobId:r,error:(0,u.mF)(e||{message:`Error encountered at method ${t}`})}))})):this._post({type:m,jobId:r},i)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,e=>{t.postMessage(e)}),n=(0,a.on)(e.port,"message",e=>{const o=(0,u.VI)(e);o?.type===b&&(n.remove(),r.remove(),t.close())})}_onResponseMessage(e){const{jobId:t,error:r,data:n}=e,a=this._outJobs;if(!a.has(t))return;const s=a.get(t);a.delete(t),this._processWork(),(0,i.xt)(s.abortHandle),r?s.reject(o.A.fromJSON(JSON.parse(r))):s.resolve(n)}_post(e,t,r){return(0,u.u1)(this._port,e,t,r)}}},70333:(e,t,r)=>{"use strict";r.d(t,{Aq:()=>c,Y3:()=>l,id:()=>s,ol:()=>i,rE:()=>a});var n=r(44208),o=r(84952);Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const a="5.0";let s,i=a;function c(e){s=e}function l(e){const t=s?.findCredential(e);return t?.token?(0,o.rs)(e,"token",t.token):e}i="5.0.0-next.42",(0,n.A)("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),(0,n.A)("host-webworker")},74887:(e,t,r)=>{"use strict";r.d(t,{Pl:()=>O,Ol:()=>k,nA:()=>_,NK:()=>l,Tw:()=>x,sg:()=>S,Lx:()=>v,QZ:()=>w,zf:()=>y,G4:()=>d,$X:()=>P,u7:()=>p,NY:()=>m,hn:()=>j,Mq:()=>u,QP:()=>b,Te:()=>f,jH:()=>h,NO:()=>M,z7:()=>A,qr:()=>g});var n=r(36563);const o=(a=globalThis,{setTimeout:(e,t)=>{const r=a.setTimeout(e,t);return(0,n.hA)(()=>a.clearTimeout(r))}});var a,s=r(49186),i=r(37955),c=(r(53966),r(97768));function l(e="Aborted"){return new s.A("AbortError",e)}function f(e,t="Aborted"){if(d(e))throw l(t)}function u(e){return e instanceof AbortSignal?e:e?.signal??void 0}function d(e){const t=u(e);return null!=t&&t.aborted}function b(e){if(y(e))throw e}function h(e){if(!y(e))throw e}function p(e,t){const r=u(e);if(null!=r){if(!r.aborted)return(0,i.Oo)(r,"abort",()=>t());t()}}function m(e,t){const r=u(e);if(null!=r)return f(r),(0,i.Oo)(r,"abort",()=>t(l()))}function g(e,t){return null==u(t)?e:new Promise((r,n)=>{let o=p(t,()=>n(l()));const a=()=>{o=(0,c.xt)(o)};e.then(a,a),e.then(r,n)})}function y(e){return"AbortError"===e?.name}async function w(e){try{return await e}catch(e){if(!y(e))throw e;return}}async function v(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e),r=t.map(t=>e[t]),n=await v(r),o={};return t.map((e,t)=>o[e]=n[t]),o}const t=e;return Promise.allSettled(t).then(e=>Array.from(t,(t,r)=>{const n=e[r];return"fulfilled"===n.status?{promise:t,value:n.value}:{promise:t,error:n.reason}}))}async function _(e){return(await Promise.allSettled(e)).filter(e=>"fulfilled"===e.status).map(e=>e.value)}async function k(e){return(await Promise.allSettled(e)).filter(e=>"rejected"===e.status).map(e=>e.reason)}function O(e,t=void 0,r){const n=new AbortController;return p(r,()=>n.abort()),new Promise((r,o)=>{let a=setTimeout(()=>{a=0,r(t)},e);p(n,()=>{a&&(clearTimeout(a),o(l()))})})}function P(e){return e&&"function"==typeof e.then}function A(e){return P(e)?e:Promise.resolve(e)}function S(e,t=-1){let r,n,o,a,s=null;const i=(...c)=>{if(r){n=c,a&&a.reject(l()),a=x();const e=a.promise;if(s){const e=s;s=null,e.abort()}return e}if(o=a||x(),a=null,t>0){const n=new AbortController;r=A(e(...c,n.signal));const o=r;O(t).then(()=>{r===o&&(a?n.abort():s=n)})}else r=1,r=A(e(...c));const f=()=>{const e=n;n=o=r=s=null,null!=e&&i(...e)},u=r,d=o;return u.then(f,f),u.then(d.resolve,d.reject),d.promise};return i}function x(){let e,t;const r=new Promise((r,n)=>{e=r,t=n}),n=t=>{e(t)};return n.resolve=t=>e(t),n.reject=e=>t(e),n.timeout=(e,t)=>o.setTimeout(()=>n.reject(t),e),n.promise=r,n}function j(e,t){t.then(e.resolve,e.reject)}async function M(e){await Promise.resolve(),f(e)}},79907:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(93637);class o{constructor(e,t,r){this.name=e,this.details=r,this.message=(t&&function(e,t){return e.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(e,r)=>""===r?"$":((0,n.wc)(r,t)??"").toString())}(t,r))??""}toString(){return"["+this.name+"]: "+this.message}}},84952:(e,t,r)=>{"use strict";r.d(t,{$1:()=>Z,$z:()=>Q,An:()=>x,BQ:()=>ae,DB:()=>X,FL:()=>F,FX:()=>J,Hg:()=>re,Il:()=>be,Ln:()=>ge,N9:()=>oe,S8:()=>D,T1:()=>pe,UC:()=>he,V1:()=>H,Xq:()=>A,Zo:()=>ke,_0:()=>Pe,a6:()=>_e,b8:()=>q,e7:()=>de,fj:()=>G,gd:()=>S,hf:()=>me,lJ:()=>Y,lM:()=>ce,m3:()=>ie,nM:()=>ue,oP:()=>K,oy:()=>T,r$:()=>te,rs:()=>ve,s0:()=>_,s2:()=>B,sC:()=>L,s_:()=>C,tk:()=>ne,ut:()=>U,w8:()=>V,x0:()=>M,xw:()=>Oe,yM:()=>$,zf:()=>j,zi:()=>we,zs:()=>N});var n=r(92602),o=r(4576),a=r(49186),s=r(53966),i=r(12195),c=r(39131),l=r(26306);const f=()=>s.A.getLogger("esri.core.urlUtils"),u=n.A.request,d="esri/config: esriConfig.request.proxyUrl is not set.",b=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,h=/^\s*http:/i,p=/^\s*https:/i,m=/^\s*file:/i,g=/:\d+$/,y=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,w=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),v=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");class _{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=this.uri.match(w);this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=this.authority.match(v),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const k={};let O=new _(n.A.applicationUrl);let P=function(){const e=O.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${O.scheme}://${O.host}${null!=O.port?`:${O.port}`:""}${t}`}();const A=()=>O,S=()=>P;function x(e){if(!e)return null;const t={path:null,query:null},r=new _(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.slice(0,n),t.query=j(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function j(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,o;t<0?(n=decodeURIComponent(e),o=""):(n=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let a=r[n];"string"==typeof a&&(a=r[n]=[a]),Array.isArray(a)?a.push(o):r[n]=o}return r}function M(e,t){return e?t&&"function"==typeof t?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{const n=e[r];if(null==n)return"";const o=encodeURIComponent(r)+"=",a=t?.[r];return a?o+encodeURIComponent(a(n)):Array.isArray(n)?n.map(e=>(0,i.W)(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e)).join("&"):(0,i.W)(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)}).filter(e=>e).join("&"):""}function C(e=!1){let t,r=u.proxyUrl;if("string"==typeof e){t=ie(e);const n=N(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw f().warn(d),new a.A("urlUtils:proxy-not-set",d);return t&&le()&&(r=ce(r)),x(r)}function $(e,t=!1){const r=N(e);let n,o;if(r){const e=W(r.proxyUrl);n=e.path,o=e.query?j(e.query):null}else if(t){const t=C(e);n=t.path,o=t.query}if(n){const t=x(e);e=n+"?"+t.path;const r=M({...o,...t.query});r&&(e=`${e}?${r}`)}return e}const I={path:"",query:""};function W(e){const t=e.indexOf("?");return-1!==t?(I.path=e.slice(0,t),I.query=e.slice(t+1)):(I.path=e,I.query=null),I}function E(e){return(e=fe(e=be(e=W(e).path),!0)).toLowerCase()}function T(e){const t={proxyUrl:e.proxyUrl,urlPrefix:E(e.urlPrefix)},r=u.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(n.startsWith(t)){if(n.length===t.length)return-1;o=e;break}t.startsWith(n)&&(o=e+1)}return r.splice(o,0,t),o}function N(e){const t=u.proxyRules,r=E(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function q(e,t){if(!e||!t)return!1;e=R(e),t=R(t);const r=(0,c.py)(e),n=(0,c.py)(t);return null!=r&&null!=n?r.portalHostname===n.portalHostname:null==r&&null==n&&J(e,t,!0)}function U(e,t){return e=R(e),t=R(t),fe(e)===fe(t)}function R(e){const t=(e=D(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function L(e,t=u.interceptors){const r=t=>t instanceof RegExp?t.test(e):"string"==typeof t?e.startsWith(t):null==t;if(t)for(const e of t)if(Array.isArray(e.urls)){if(e.urls.some(r))return e}else if(r(e.urls))return e;return null}function J(e,t,r=!1){if(!e||!t)return!1;const n=ye(e),o=ye(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function F(e){if("string"==typeof e){if(!K(e))return!0;e=ye(e)}if(J(e,O))return!0;const t=u.trustedServers||[];for(let r=0;r<t.length;r++){const n=z(t[r]);for(let t=0;t<n.length;t++)if(J(e,n[t]))return!0}return!1}function z(e){return k[e]||(se(e)||ae(e)?k[e]=[new _(B(e))]:k[e]=[new _(`http://${e}`),new _(`https://${e}`)]),k[e]}function B(e,t=P,r){return ae(e)?r?.preserveProtocolRelative?e:"http"===O.scheme&&O.authority===Q(e).slice(2)?`http:${e}`:`https:${e}`:se(e)?e:G(e.startsWith("/")?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e)}function H(e,t=P,r){if(null==e||!K(e))return e;const n=D(e),o=n.toLowerCase(),a=D(t).toLowerCase().replace(/\/+$/,""),s=r?D(r).toLowerCase().replace(/\/+$/,""):null;if(s&&!a.startsWith(s))return e;const i=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=i(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===a.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=i(o,"/",c+1);if(-1===l)return e;if(s&&l<s.length)return e;e=n.slice(l);const f=a.slice(l-1).replaceAll(/[^/]+/g,"").length;if(f>0)for(let t=0;t<f;t++)e=`../${e}`;else e=`./${e}`;return e}function D(e){return function(e){const t=u.httpsDomains;if(!function(e){return null!=e&&h.test(e)||"http"===O.scheme&&ae(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),g.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===O.scheme&&n===O.authority&&!y.test(e)||(le()&&n===O.authority||t&&t.some(e=>n===e||n.endsWith(`.${e}`))||le()&&!N(e))&&(e=ce(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=W(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=B(e=e.trim()))))}function G(...e){const t=e.filter(o.Ru);if(!t?.length)return;const r=[];if(K(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return null!=e&&m.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else t[0].startsWith("/")&&r.push("");const n=t.reduce((e,t)=>t?e.concat(t.split("/")):e,[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function Q(e,t=!1){if(null==e||V(e)||X(e))return null;let r=e.indexOf("://");if(-1===r&&ae(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=fe(e,!0)),e}function K(e){return ae(e)||se(e)}function V(e){return null!=e&&e.startsWith("blob:")}function X(e){return null!=e&&e.startsWith("data:")}function Y(e){const t=te(e);return t?.isBase64?(0,l.M)(t.data):null}function Z(e){return(0,l.Y)(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}const ee=/^data:(.*?)(;base64)?,(.*)$/;function te(e){const t=e.match(ee);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function re(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}async function ne(e){return(await fetch(e)).blob()}function oe(e){const t=Y(e);if(!t)return null;const r=te(e);return new Blob([t],{type:r.mediaType})}function ae(e){return null!=e&&e.startsWith("/")&&"/"===e[1]}function se(e){return null!=e&&b.test(e)}function ie(e){return null!=e&&p.test(e)||"https"===O.scheme&&ae(e)}function ce(e){return ae(e)?`https:${e}`:e.replace(h,"https:")}function le(){return"https"===O.scheme}function fe(e,t=!1){return ae(e)?e.slice(2):(e=e.replace(b,""),t&&e.length>1&&e.startsWith("/")&&"/"===e[1]&&(e=e.slice(2)),e)}function ue(e){let t=0;if(K(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function de(e,t){if(!e)return"";const r=x(e).path.replace(/\/+$/,""),n=r.slice(r.lastIndexOf("/")+1);if(!t?.length)return n;const o=new RegExp(`\\.(${t.join("|")})$`,"i");return n.replace(o,"")}function be(e){return e.endsWith("/")?e:`${e}/`}function he(e){return e.replace(/\/+$/,"")}function pe(e,t,r){if(!(t&&r&&e&&K(e)))return e;const n=e.indexOf("//"),o=e.indexOf("/",n+2),a=e.indexOf(":",n+2),s=Math.min(o<0?e.length:o,a<0?e.length:a);return e.slice(n+2,s).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(s)}`}function me(e,t){const r=new URL(e);return r.host=t,r.port&&!g.test(t)&&(r.port=""),r.toString()}function ge(e){return new URL(e).host}function ye(e){return"string"==typeof e?new _(B(e)):(e.scheme||(e.scheme=O.scheme),e)}function we(e,t){const r=x(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function ve(e,t,r){const n=x(e),o=n.query||{};return o[t]=String(r),`${n.path}?${M(o)}`}function _e(e,t){if(!t)return e;const r=x(e),n=r.query||{};for(const[e,r]of Object.entries(t))null!=r&&(n[e]=r);const o=M(n);return o?`${r.path}?${o}`:r.path}function ke(e){if(null==e)return null;const t=e.match(Ae);return t?t[2]:null}function Oe(e){if(null==e)return null;const t=e.match(Ae);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}async function Pe(e){return"string"==typeof e?te(e)??{data:e}:new Promise((t,r)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(te(n.result)),n.onerror=e=>r(e)})}const Ae=/([^.]*)\.([^/]*)$/},87811:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});class n{static{this._m=2147483647}static{this._a=48271}static{this._c=0}constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*n._m}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}},92602:(e,t,r)=>{"use strict";r.d(t,{A:()=>o}),r(44208);var n=r(93637);const o={apiKey:void 0,apiKeys:{scopes:[]},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",respectPrefersReducedMotion:!0,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:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.$N)(o,globalThis.esriConfig,!0),delete o.has),!o.assetsPath){{const e="5.0.0-next.42";o.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}o.defaultAssetsPath=o.assetsPath}},93637:(e,t,r)=>{"use strict";r.d(t,{$N:()=>o,a4:()=>u,i7:()=>f,i8:()=>i,sM:()=>s,wc:()=>a});var n=r(4718);function o(e,t,r=!1){return l(e,t,r)}function a(e,t){if(null!=t)return t[e]||c(e.split("."),!1,t)}function s(e,t,r){const n=e.split("."),o=n.pop(),a=c(n,!0,r);a&&o&&(a[o]=t)}function i(e,t){if(null==e&&null==t)return!1;if(null==e)return!0;if(null==t)return!0;if("object"==typeof e){if(Array.isArray(e)){const r=t;if(e.length!==r.length)return!0;for(let t=0;t<e.length;t++)if(i(e[t],r[t]))return!0;return!1}if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const r in e)if(i(e[r],t[r]))return!0;return!1}return e!==t}function c(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function l(e,t,r){return t?Object.keys(t).reduce((e,o)=>{if("__proto__"===o)return e;let a=e[o],s=t[o];return a===s?e:void 0===a?(e[o]=(0,n.o8)(s),e):(Array.isArray(s)||Array.isArray(e)?(a=a?Array.isArray(a)?e[o]=a.slice():e[o]=[a]:e[o]=[],s&&(Array.isArray(s)||(s=[s]),r?s.forEach(e=>{a.includes(e)||a.push(e)}):e[o]=s.slice())):s&&"object"==typeof s?e[o]=l(a,s,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=s),e)},e||{}):e}function f(e,t){for(const r of Object.entries(e))if(t===r[1])return r[0]}function u(e,t){return Object.values(e).includes(t)}},97768:(e,t,r)=>{"use strict";function n(e,t){if(null==e)throw new Error(t??"value is None")}function o(e){return e?.destroy(),null}function a(e){return e?.dispose(),null}function s(e){return e?.remove(),null}function i(e){return e?.abort(),null}function c(e){return e?.release(),null}function l(e,t,r){return null!=e&&null!=t?null!=r?r(e,t):e.equals(t):e===t}function f(e,t){let r;return e.some((e,n)=>(r=t(e,n),null!=r)),r??void 0}r.d(t,{CM:()=>l,DC:()=>i,Gz:()=>c,Lw:()=>n,Pb:()=>f,WD:()=>a,pR:()=>o,xt:()=>s})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"chunks/"+{36:"4f4d51181ae7db9fbe6d",73:"efc293c8bbc12156096d",89:"96f798ee286b59396131",146:"0e4d0213d568f50c231f",148:"defc6b50df5018bd9e86",168:"69278d08a7d64917f826",177:"8d4cc5f1d07b4aa3aea0",191:"09b77f82c22530b44daa",217:"f7f53567b0c5b35d6aea",224:"3266c3392c24ce6cdd83",309:"7bc09e80bf45fe137055",353:"2de32649f8b0c6404d7c",369:"af00081b78fc30ac556c",382:"052ded41dc06c93ec0a7",387:"d786b17cc9062b1450ac",390:"41f487713c6278d389a1",427:"9461cc37ab3397265270",431:"613cbac9cb925cd20b48",449:"2db7a7607657f1d669f7",490:"bbdfa8ffcf084cbd9938",547:"bfbbcaa1fb04f17fc869",563:"c4de24582c29fda5a033",566:"274f2b5e6dbc58505142",573:"755ce019c97f5d527772",581:"9f6c63a580b28ab715bd",588:"cfd2839e218610a222e5",591:"5f781ef46ce7c4048c2f",647:"c82a974c8448407885e6",655:"50eb381b18b84b9c75a3",692:"ef639d31c94d2b55b8d4",708:"d8db2c51b2fb42f37b2a",744:"e1148067ceae7d9eaaf8",784:"4b6a44c6265c8959abd8",788:"ff8e2f998169ca3a7a68",795:"040f3d8e1099c4843390",807:"d239a4ef60e348cfb05a",812:"05e3bfd07a7a227862fd",820:"3c5f07ebe1b09dcdc958",860:"1bacdd17e199e22b5cd1",893:"f11453f24c0b728669d2",905:"2f8cf7d9ff1f4de19a4c",940:"338570424337be05cef5",957:"1e286fb7bb833f00dd88",980:"97b01803d0c38541aa08",985:"6f3ffc04086bca30e55d",1005:"3f33708eb39c7169a226",1017:"36d15c35fbbd4dedd5cb",1023:"36130910ba141f34531b",1075:"c367c7e553be3682f2db",1088:"004c2a1a37b99a184b13",1185:"da517b4b07d4d27ce94c",1190:"d14e75b160aa432233c6",1197:"fb9643b74cf35221ff98",1204:"558822b700e8bd844052",1214:"8e8d5422f57269d8c8d2",1224:"7aa730e5ac7b268e3c98",1273:"5b290d18de61789417f9",1277:"2a41283bba2361afa1fd",1279:"f609b256df9eb3803464",1312:"ee67c8a7c1f8b482cd99",1352:"a1a7b0e7ca488c895cb7",1360:"5dc0d853c21ccb6054c7",1384:"32d32d3c3b38a215d20d",1414:"48c8ef4170e803a564d6",1421:"9f0172b83f25ef5f8d40",1436:"70e2804d3710c6af468e",1437:"48f805929fe6241952f5",1598:"61a9ffd4cf07d8bb7a9b",1698:"145c6a7cdcc9893efb27",1713:"9c0efd06c9000ccbd62d",1728:"30184e39129d9c66ea54",1763:"3b1982bf7b44ff897a35",1776:"dddb6cb44cbe4dc1af97",1837:"b4349db7155673329432",1863:"679088064420a906aa7f",1867:"49e6219dd08cb6c27023",1874:"fecae7495e53bb05f282",1878:"65fd971d0574d69cbc26",1882:"3767617c0dfc7d801441",1894:"0b679d5a1bfdbd006d6e",1918:"630eba99f48ea79a9560",1956:"1e55f152b60145f33b61",1967:"95cb062cae4c31c07124",2158:"e537e1d37f3fcb14fce2",2186:"2b27499fa9de22970b7a",2274:"d0014b4a8c013f59b113",2288:"8ec238b5b59ef18a1713",2314:"8ad6595ad44c2d60c1ce",2343:"c5d6b416baf24e74b9ba",2372:"cade149fa19b4d06dd24",2390:"a34a14fd989dbbd3c2d0",2409:"29471e0b3f7296dee096",2423:"2d3ae187f8aa3495d4ae",2503:"e0017c6739d2532793e6",2510:"ae793d814cf32db9fbde",2558:"bc731ec9d5136f1d9253",2561:"28db329528def851efd7",2593:"0a5427127634738aa239",2603:"f1b99529e2055873b65a",2657:"55818fe7a7aa1e5c8bbd",2712:"44f759d723ae05bb1b19",2741:"5f9e64f00329cb646f0c",2764:"d3b1d1c389d70919fb02",2772:"ba6452acee3d6defb37e",2848:"3386d4392f465b807b94",2869:"396a95b800a0bdc398b9",2958:"ffdba51e7256ebf8ebd3",2980:"e0369ce0d729c9656488",3009:"3fe7be535affae31de7e",3054:"871dd5e1f016a04b8d98",3091:"024104997daea0d74b38",3103:"06d52a570d5d44f8c86e",3116:"46daa1ff5b412a97edc9",3169:"725819839434c59102f3",3236:"2613e482450b57f2d4f5",3263:"be631029691d9a320cb5",3276:"e5baa30944061418cb13",3285:"98175b454e807b1a3c5f",3299:"d08ee45c501102deea20",3345:"1d566539ff6fb6ac798c",3356:"478def691ae6763686f3",3359:"600e2e6b51e2fb9c598c",3367:"48e2737182c75005fb8f",3390:"29286234be26680245f6",3443:"d048e4926e78458afa3e",3444:"1d4ea8db272655c0608c",3463:"61707c22b029c2a7a397",3508:"d723619579cc8f5ef2cd",3513:"8d9bdde17eec0bc09f68",3543:"de3da4d31a7529761565",3548:"9664d9e679abc41f6c42",3561:"eb7eb3b3b8800fd73f3e",3562:"218b2b767b40d85fb713",3637:"20988e116f3723228f36",3661:"da1e61f355fb943085dc",3666:"a4f492aa5444e6381063",3693:"f97a7cb367634353177d",3779:"27dfbe3d903b95d4c67a",3813:"02a65563779b4c64b2cf",3910:"d5fd6d0eaf96edfab123",3937:"9046a792395da28fa8f7",4038:"f3b3b193959db809c8c6",4097:"83aa39fbb1fad3b9d143",4123:"987e19af8a525e77883f",4167:"21f37a4b8d1857369203",4314:"ad891ac388fa6c1c9b94",4342:"dd105d6e0fcedee32644",4375:"b25a131c04092c3ab75d",4383:"56569d0c2cf5c5167651",4496:"6d0fe4db6b94f3d2c53a",4526:"19820cddba13a3585c0b",4575:"231c0b583fa97f2ca675",4633:"9d95f38da21f97214f83",4649:"768d9b6eaba7bfa18dde",4724:"4d5591c1b4ef37075921",4800:"2266a8f2c2ec37c19bb4",4802:"780f60210878a8286633",4815:"72cebf18da5ec5eeb666",4903:"4278b35fb6fd578c403e",4929:"4df7cc3477bc46fc39af",4971:"1f6ead46b723630db897",4996:"df458ad51be27df3d79d",5066:"cda5c95fd49b8901f7d4",5141:"944dfa9309da8f49a616",5165:"a96742e678a506c461ab",5180:"4675ed3ca3e0104d00bf",5181:"6e8c20ff1d28ef2fe72c",5294:"103153951ba312dc5e9e",5323:"9100330ed4b4437c819d",5367:"a00bba1c7cbf8cd7892c",5369:"4cbf5a97b2b3c6553f6f",5404:"0ae018098906d6a88904",5455:"d9251c3c85c3ddd242c8",5482:"bd4e959be3a0ce3ba41e",5549:"b21cf62652ca772108c8",5552:"892c417f5130b003889d",5605:"5dc2f2e28c30386efadf",5613:"af663e81c851bcf142f1",5666:"28a5a7c6b3d6902146f6",5710:"f93f0586ce10cb5d98b3",5740:"22ca80f491e070b2a5e7",5756:"05b7720ab6bf0874f27c",5804:"fdbe16e3b23e01655c0c",5845:"f441fc74451330384fb0",5856:"20f4c6d8b310ecab97be",5874:"852de585a72d902344a6",5890:"02d1c48e874dfd985bc4",5897:"c320a29df40e85fb4a8e",5902:"00c77f03dd511c6dbff2",5913:"77b45957cfe42523c1c8",5924:"706423d801fa9cbf2e90",5942:"0429ca6ba562ae29897e",5967:"e66bcdfd75e0113d1cec",5977:"800c91302eaad7f00877",6011:"9e869fd6450cf874783a",6018:"31186e83fe009aa0fd36",6049:"ba59568e748f0ba53b78",6052:"59889855d23baec1adf9",6129:"0271a2ca4e9b1e4fd284",6154:"4b14ee37b5ac50a734f9",6160:"b809d499ff050976d9ed",6187:"2c7038a7ffaf75344b02",6339:"538ddb267aa328814865",6343:"f98689562017583f73ee",6357:"c5c02ace54fe4ab9214b",6395:"78fc9a55e620602db1ff",6418:"262232437d37a7460b11",6468:"71dd80231ea656a6380c",6554:"db04b0a30cce9e476551",6558:"82ba4140e30f083fbc87",6647:"640085b5ade5c7f16228",6650:"dc5075b2326c79130baa",6673:"2463cebf904a3c46c639",6699:"93d11075f65a5b6625ea",6730:"7ba13b52fce1060fbb2a",6787:"8c271e9272e4eaf1325a",6859:"06221ebadab32111e2c6",6956:"88aa71f02f43bb069345",7005:"e501d68a1464805c4b4e",7048:"75643711d9585ee26a15",7074:"60f2de8dd8876bfd715a",7087:"0f4e9846d074864b39c2",7301:"2e6ae1ca07df442fc966",7330:"873008572c1f21cea122",7360:"74881340e040bfd0580f",7367:"dee9867b3379e024ae96",7375:"110429583b28c28c36ee",7444:"ced12ad98f8f48d0dc00",7464:"727804cf901094b1d620",7528:"9ba8a2e1c0fb4e1efc7c",7546:"bd2a28b14e5c0a55d783",7548:"3001568a99fdd14aada9",7561:"60eeeea671a523bb6b15",7603:"86832d94190150c70c11",7656:"c0b15510a8cab98df77f",7677:"4c4a55be41ba105c091c",7694:"1694b9154df3eccf602e",7817:"dc3a4ad62bc041a4f899",7836:"b56c07c0b43cb1999070",7883:"b9909264cfea68d5f2a1",7885:"3ac8de121a07c70bae0f",7982:"9f2a8445a5848502c7e7",8010:"0ee407b8db5c07a00d82",8018:"9d0f0d055ec25af037e0",8098:"a67c3958d76d10c04fa6",8125:"44b6b7418cbf7f778bef",8140:"f693a4d97b2762d0e6ff",8207:"d42273394f575e71dd55",8241:"794960ec36e11f4416c2",8243:"d9958654c6438f28237b",8256:"a59dab47a58695c639da",8303:"297344c2c1119159d143",8344:"5b73c77587772120b209",8368:"ae6066ea6cb373dc6db3",8377:"9a855a10798348a21bab",8399:"28b235b56a83c498d73f",8411:"907083c427d7fb4354e9",8441:"20e4243ea563d05a5256",8487:"2795e491f803654413d2",8535:"e7f4d135ef9665de1468",8570:"51b78eca012eac92dd07",8628:"fc61443546f21869f8ba",8654:"44f036cc21e3a2308f69",8692:"537de53ef1e9101468f5",8714:"9921c8d4487a0f580b93",8766:"2c9865e34f32fb5683e5",8812:"920b4def081c78c0d586",8948:"1357cc637524cd254974",8969:"0a58b57e1777a8b0ea23",8993:"d1f4152b2b8d47cbf586",8999:"8c07396e9ea3007d6404",9e3:"9ff8ee6ed6b98c03ae7e",9013:"08ef90e3fcfd4eda4301",9036:"f65f1798f398bc549463",9041:"f3c232fc56a29d51196a",9062:"fb76b43181077c55a207",9110:"816227de5bd42b437df4",9117:"933dce4d4ff8b90219c8",9126:"c5cc0fc652432a9264cc",9159:"4cda42b94e9cb58dd372",9187:"f2b63597ae956db74eb3",9192:"fe6fa1f2c2d54d41645e",9202:"e093e745708f722bc1b9",9203:"1c0fb4795a52204882a8",9221:"31b074ae2162a3508d2a",9239:"9d258f14199181dee424",9247:"b59be95949445ff5afab",9263:"2c4218306747f5d15575",9265:"ab88577987cf2fe1cb32",9279:"b6dec5dfdeca54bae88d",9321:"4ce28c936eaffe57c448",9361:"804958f3f4ff47a4eff5",9384:"88cbaa91c495d86f4bb0",9419:"444026d1938c1078ca97",9466:"e6fa6f9c278589c8a713",9476:"7eab0bb42f9f062522ef",9506:"6e5d41f51572e3e7cf92",9573:"13839d220e5c62404923",9588:"1e848d9da1c61a27cf18",9616:"94dc8b0fa129f1e168c4",9644:"4f0de45a0a295d66d446",9645:"30c4af16e3a2acc25589",9695:"e229d51c8cc27588e113",9700:"768ae52b4e5c3e571ef5",9708:"b7bcff9a64f41a0a0b6a",9718:"f21cb5b34d4d1e3af1a9",9785:"9f1d3c0b53bef07e39bf",9801:"061def9163a09c804b5c",9838:"a1b08aab73747f4e7e25",9911:"646f58b69d2354f1ef27",9926:"98739414c107ad78e4d8",9933:"3a16347e17312556e02c",9953:"7c08c0824ad354177787",9958:"d32aad968798948946e4"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={76:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[o,a,s]=t;for(var i in a)r.o(a,i)&&(r.m[i]=a[i]);for(s&&s(r);o.length;)e[o.pop()]=1;n(t)}})(),r(2131);var n=r(61322);RemoteClient=n})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(91429),l=o(43937);let n=class extends s.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.Symbol3DLayer")],n)},3955:(e,t,o)=>{o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.Pattern3D")],l)},4595:(e,t,o)=>{o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.callouts.Callout3D")],l)},4792:(e,t,o)=>{o.d(t,{A:()=>c});var r=o(31635),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(91429),y=o(67222);let p=class extends i.o{constructor(e){super(e),this.color=new s.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],p.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,y.EW)({colorRequiredOnWrite:!0}))],p.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...y.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],p.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(y.pI)],p.prototype,"size",null),p=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],p);const c=p},4900:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(31635),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},6847:(e,t,o)=>{o.d(t,{i:()=>d,r:()=>m});var r,s=o(31635),i=o(66552),l=o(25482),n=o(84952),a=o(91429),y=o(97159),p=o(36005),c=o(43937),h=o(93223);const u=(0,i.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let d=r=class extends l.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,y.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,y.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],d.prototype,"href",void 0),(0,s.Cg)([(0,p.w)("href")],d.prototype,"readHref",null),(0,s.Cg)([(0,c.K)("href",{href:{type:String},dataURI:{type:String}})],d.prototype,"writeHref",null),(0,s.Cg)([(0,h.e)(u)],d.prototype,"primitive",void 0),d=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],d);const m="circle"},8887:(e,t,o)=>{o.d(t,{Bb:()=>i,Fq:()=>y,M4:()=>p,Nv:()=>c,e:()=>h}),o(44208);var r=o(51850),s=o(70328);function i(e,{isPrimitive:t,width:o,depth:s,height:i}){const l=t?10:1;if(null==o&&null==i&&null==s)return[l*e[0],l*e[1],l*e[2]];const n=(0,r.fA)(o,s,i);let a;for(let t=0;t<3;t++){const o=n[t];if(null!=o){a=o/e[t];break}}for(let t=0;t<3;t++)null==n[t]&&(n[t]=e[t]*a);return n}const l=(0,s.fA)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.fA)(-.5,-.5,0,.5,.5,1),a=(0,s.fA)(-.5,-.5,0,.5,.5,.5);function y(e){switch(e){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const p=["butt","square","round"],c=[...p,"none"],h=["miter","bevel","round"]},8893:(e,t,o)=>{o.d(t,{A:()=>g});var r,s=o(31635),i=o(68197),l=o(4718),n=o(90629),a=o(91429),y=o(4595),p=o(25482),c=o(67222);let h=r=class extends p.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],h.prototype,"color",void 0),h=r=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],h);const u=h;var d,m=o(93223);let g=d=class extends y.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,m.e)({line:"line"})],g.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],g.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...c.pI,json:{write:{isRequired:!0}}})],g.prototype,"size",null),(0,s.Cg)([(0,a.MZ)({type:u,json:{write:!0}})],g.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"visible",null),g=d=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],g)},10224:(e,t,o)=>{o.d(t,{A:()=>C});var r,s=o(31635),i=o(4718),l=o(91429),n=o(11831),a=o(3904),y=o(67222),p=o(97515),c=o(68197),h=o(25482);let u=r=class extends h.o{constructor(){super(...arguments),this.color=new c.A([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,y.EW)())],u.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(y.pI)],u.prototype,"size",void 0),u=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],u);var d=o(28975),m=o(69540);let g=class extends((0,m.OU)(h.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,y.EW)())],g.prototype,"color",void 0),g=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],g);var b,w=o(5760),v=o(43937),f=o(93223);let C=class extends a.A{static{b=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=null}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new b({enabled:this.enabled,font:(0,i.o8)(this.font),halo:(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background),occludedVisibility:(0,i.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new b({font:null!=e.font?e.font.clone():new n.A,halo:A(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new d.N({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new g({color:e.backgroundColor.clone()}):null})}};function A(e,t){return e&&null!=t&&t>0?new u({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],C.prototype,"font",null),(0,s.Cg)([(0,v.K)("font")],C.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:u,json:{write:!0}})],C.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...w.rM,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...w.Tb,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:d.N,json:{write:!0}})],C.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:g,json:{write:!0}})],C.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)(y.pI)],C.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,s.Cg)([(0,f.e)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...w.x0,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({type:p.A})],C.prototype,"occludedVisibility",void 0),C=b=(0,s.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],C)},11506:(e,t,o)=>{o.d(t,{A:()=>C});var r=o(31635),s=o(90629),i=o(91429),l=o(68197),n=o(69540),a=o(25482),y=o(56507),p=o(83213);let c=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:p.x,json:{default:"begin-end",write:!0}})],c.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:p.z,json:{default:"arrow",write:!0}})],c.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{type:[y.jz],default:null,write:!0}})],c.prototype,"color",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.LineStyleMarker3D")],c);var h,u=o(3904),d=o(44633),m=o(20603),g=o(33386),b=o(67222),w=o(28975),v=o(8887),f=o(93223);let C=class extends u.A{static{h=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.marker=null}get size(){return this._get("size")??(0,s.PN)(1)}set size(e){this._set("size",e)}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new h(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,material:new w.N({color:(e.color||g.ON).clone()}),marker:e.marker?new c({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new h(t)}};(0,r.Cg)([(0,i.MZ)({type:w.N,json:{write:!0}})],C.prototype,"material",void 0),(0,r.Cg)([(0,f.e)({Line:"line"},{readOnly:!0})],C.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:v.e,json:{write:!0,default:"miter"}})],C.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:v.M4,json:{write:!0,default:"butt"}})],C.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...b.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(m.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:c,typeMap:{style:c}},json:{write:!0}})],C.prototype,"marker",void 0),C=h=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol3DLayer")],C)},13313:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(7762),l=o(62885),n=o(4718),a=o(91429),y=o(58185),p=o(10224),c=o(59483),h=o(4900),u=o(93223);const d=i.A.ofType({base:null,key:"type",typeMap:{text:p.A}});let m=r=class extends y.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([p.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(c.oG)],m.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,a.MZ)({type:d})],m.prototype,"symbolLayers",null),(0,s.Cg)([(0,u.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],m)},16264:(e,t,o)=>{o.d(t,{A:()=>n});var r,s=o(31635),i=o(91429),l=o(3955);let n=r=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],n.prototype,"style",void 0),n=r=(0,s.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],n)},18574:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(31635),i=o(4718),l=o(53966),n=o(84952),a=o(91429),y=o(3904),p=o(33386),c=o(6847),h=o(67222),u=o(97515),d=o(69622);let m=r=class extends d.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new r({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,s.Cg)([(0,a.MZ)({type:Number})],m.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],m.prototype,"y",void 0),m=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],m);var g,b=o(68197),w=o(25482),v=o(90629);let f=g=class extends w.o{constructor(e){super(e),this.color=new b.A([0,0,0,1])}get size(){return this._get("size")??(0,v.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new g(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,s.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],f.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],f.prototype,"size",null),f=g=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],f);var C,A=o(28975),M=o(93223);let S=class extends y.A{static{C=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new C({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,i.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||p.ON,o=x(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||p.ON).clone()}:null;return new C({size:e.size,angle:e.angle,resource:{primitive:L(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,p.U9)(e.color)?p.ON:e.color,o=x(e);return new C({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(e){return new C({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function x(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=Z(e.xoffset),s=Z(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function Z(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:A.N,json:{write:!0}})],S.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:c.i,json:{write:!0}})],S.prototype,"resource",void 0),(0,s.Cg)([(0,M.e)({Icon:"icon"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],S.prototype,"size",null),(0,s.Cg)([(0,M.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],S.prototype,"anchor",void 0),(0,s.Cg)([(0,a.MZ)({type:m,json:{type:[Number],read:{reader:e=>new m({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],S.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,a.MZ)({type:f,json:{write:!0}})],S.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],S.prototype,"angle",void 0),(0,s.Cg)([(0,a.MZ)({type:u.A})],S.prototype,"occludedVisibility",void 0),S=C=(0,s.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],S);const j={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function L(e,t){return j[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},20603:(e,t,o)=>{o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449:(e,t,o)=>{o.d(t,{A:()=>p});var r,s=o(31635),i=o(91429),l=o(3904),n=o(51734),a=o(28975),y=o(93223);let p=class extends l.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s.Cg)([(0,y.e)({Extrude:"extrude"},{readOnly:!0})],p.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],p.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:a.N,json:{write:!0}})],p.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],p.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],p.prototype,"edges",void 0),p=r=(0,s.Cg)([(0,i.$K)("esri.symbols.ExtrudeSymbol3DLayer")],p)},27845:(e,t,o)=>{o.d(t,{A:()=>M});var r,s=o(31635),i=o(91429),l=o(3904),n=o(51734),a=o(44633),y=o(16264),p=o(20603),c=o(33386),h=o(28975),u=o(93223);let d=r=class extends h.N{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone()??null,colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()??null};return new r(e)}};(0,s.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],d.prototype,"colorMixMode",void 0),d=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],d);var m,g=o(68197),b=o(25482),w=o(90629),v=o(67222),f=o(8887);let C=m=class extends b.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,w.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new m(e)}};var A;(0,s.Cg)([(0,i.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,s.Cg)([(0,i.MZ)({...v.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,s.Cg)([(0,i.MZ)(p.v)],C.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:f.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=m=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);let M=class extends l.A{static{A=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new a.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??c.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new d({color:(e.color??c.u7).clone()}),pattern:e.style&&"solid"!==e.style?new y.A({style:e.style}):null,outline:o})}};(0,s.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],M.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:d,json:{write:!0}})],M.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)(p.r)],M.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],M.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:C,json:{write:!0}})],M.prototype,"outline",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],M.prototype,"edges",void 0),M=A=(0,s.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],M)},28975:(e,t,o)=>{o.d(t,{N:()=>p});var r,s=o(31635),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.o{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var y;(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],a.prototype,"strength",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],a.prototype,"source",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],a);let p=y=class extends i.o{constructor(e){super(e),this.color=null,this.emissive=new a({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new y(e)}};(0,s.Cg)([(0,l.MZ)((0,n.EW)())],p.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)({type:a,json:{write:!1}})],p.prototype,"emissive",void 0),p=y=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],p)},30809:(e,t,o)=>{o.d(t,{E:()=>c,r:()=>h});var r,s=o(31635),i=o(66552),l=o(25482),n=o(91429),a=o(97159),y=o(93223);const p=(0,i.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let c=r=class extends l.o{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,n.MZ)({type:String,json:{read:a.r,write:a.w}})],c.prototype,"href",void 0),(0,s.Cg)([(0,y.e)(p)],c.prototype,"primitive",void 0),c=r=(0,s.Cg)([(0,n.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],c);const h="sphere"},33386:(e,t,o)=>{o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910:(e,t,o)=>{o.d(t,{dp:()=>R,$y:()=>j,wk:()=>L,Y7:()=>N,wC:()=>O,Ac:()=>k,Bu:()=>$,Es:()=>z,q8:()=>D,em:()=>P,Rv:()=>q,xK:()=>_,On:()=>K});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(31635),c=o(4718),h=o(90629),u=o(91429),d=o(65851),m=o(77040),g=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,h.cr)(o)),null!=r&&(s.height=(0,h.cr)(r)),s}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,c.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,p.Cg)([(0,g.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,p.Cg)([(0,u.MZ)(m.ku)],b.prototype,"url",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"width",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"height",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,p.Cg)([(0,u.MZ)(m.k7)],b.prototype,"source",void 0),b=r=(0,p.Cg)([(0,u.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),v=o(75981),f=o(65365),C=o(94985),A=o(31593),M=o(53930),S=o(20378),x=o(68249),Z=o(37757);function j(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function L(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const z={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:x.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},O=(S.A,C.A,l.A,{base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,"point-3d":v.A,cim:l.A},errorContext:"symbol"}),N={base:S.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"polygon-3d":f.A,cim:l.A},errorContext:"symbol"},D={base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,text:x.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},$=(0,i.C)({types:z}),_={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:x.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},P={base:S.A,key:"type",typeMap:{text:x.A,"label-3d":n.A},errorContext:"symbol"},K=(S.A,n.A,a.A,y.A,v.A,f.A,Z.A,{base:S.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"}),q={base:S.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},R=(0,s.aq)(z)},34723:(e,t,o)=>{o.d(t,{A:()=>p});var r,s=o(31635),i=o(68197),l=o(91429),n=o(56507),a=o(3904),y=o(93223);let p=class extends a.A{static{r=this}constructor(e){super(e),this.color=c.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>c.clone(),defaultEquals:e=>e.toCss(!0)===c.toCss(!0)}})],p.prototype,"color",void 0),(0,s.Cg)([(0,y.e)({Water:"water"},{readOnly:!0})],p.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],p.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],p.prototype,"waveDirection",void 0),(0,s.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],p.prototype,"waveStrength",void 0),p=r=(0,s.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],p);const c=new i.A([0,119,190])},36533:(e,t,o)=>{o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.LinePattern3D")],l)},37757:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(51447),l=o(49186),n=o(53966),a=o(74887),y=o(91429),p=o(20655),c=o(97159),h=o(20378),u=o(57212),d=o(93223);let m=r=class extends h.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:p.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async fetchCIMSymbol(e){(0,i.eO)(n.A.getLogger(this),"WebStyleSymbol.fetchCIMSymbol is deprecated in favour of WebStyleSymbol.fetchSymbol which now supports both web and cim symbology",{version:"4.33",replacement:"WebStyleSymbol.fetchSymbol",see:"https://arcg.is/0CXPTr#fetchSymbol",warnOnce:!0});const t=await this._fetchSymbol({...e,acceptedFormats:["cim"]});if("cim"!==t?.type)throw new l.A("webstylesymbol:fetchCIMSymbol","Resolved web style symbol is not of type 'cim'");return t}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,a.Te)(e);const i=s(this,{portal:this.portal},e);i.catch(e=>{n.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const l=await i;return null!=t&&t.set(r,l.clone()),l}};(0,s.Cg)([(0,y.MZ)({json:{write:!1}})],m.prototype,"color",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],m.prototype,"styleName",void 0),(0,s.Cg)([(0,y.MZ)({type:p.A,json:{write:!1}})],m.prototype,"portal",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{read:c.r,write:c.w}})],m.prototype,"styleUrl",void 0),(0,s.Cg)([(0,y.MZ)({type:u.V,json:{read:!1}})],m.prototype,"thumbnail",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,s.Cg)([(0,d.e)({styleSymbolReference:"web-style"},{readOnly:!0})],m.prototype,"type",void 0),(0,s.Cg)([(0,y.MZ)()],m.prototype,"_fetchCacheKey",null),m=r=(0,s.Cg)([(0,y.$K)("esri.symbols.WebStyleSymbol")],m)},39065:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,i.$K)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(4718),l=o(799),n=o(91429),a=o(30524),y=o(20378),p=o(36005),c=o(43937),h=o(93223);let u=r=class extends y.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],u.prototype,"data",void 0),(0,s.Cg)([(0,p.w)("data",["symbol"])],u.prototype,"readData",null),(0,s.Cg)([(0,c.K)("data",{})],u.prototype,"writeData",null),(0,s.Cg)([(0,h.e)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],u)},44633:(e,t,o)=>{o.d(t,{A:()=>p});var r,s=o(31635),i=o(66552),l=o(91429),n=o(36533),a=o(93223);const y=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let p=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s.Cg)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,s.Cg)([(0,a.e)(y),(0,l.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=r=(0,s.Cg)([(0,l.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},51734:(e,t,o)=>{o.d(t,{J:()=>c});var r,s=o(4792),i=o(31635),l=o(91429),n=o(93223);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const y=a;var p=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:p.A,sketch:y}},json:{write:!0}}},57212:(e,t,o)=>{o.d(t,{V:()=>n});var r,s=o(31635),i=o(69622),l=o(91429);let n=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},58185:(e,t,o)=>{o.d(t,{A:()=>L});var r=o(31635),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(91429),p=o(20655),c=o(97159),h=o(26449),u=o(27845),d=o(18574),m=o(11506),g=o(87403),b=o(66525),w=o(20378),v=o(3904),f=o(10224),C=o(34723),A=o(98751),M=o(57212),S=o(36005),x=o(43937);const Z={icon:d.A,object:g.A,line:m.A,path:b.A,fill:u.A,extrude:h.A,text:f.A,water:C.A},j=s.A.ofType({base:v.A,key:"type",typeMap:Z,errorContext:"symbol-layer"});let L=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,c.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||p.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,c.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof v.A||e&&Z[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,y.MZ)({json:{read:!1,write:!1}})],L.prototype,"color",null),(0,r.Cg)([(0,y.MZ)({type:j,nonNullable:!0,json:{write:!0}}),(0,y.wg)(i.H)],L.prototype,"symbolLayers",null),(0,r.Cg)([(0,y.MZ)({type:A.A})],L.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,S.w)("styleOrigin")],L.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,x.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],L.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,y.MZ)({type:M.V,json:{read:!1}})],L.prototype,"thumbnail",void 0),(0,r.Cg)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],L.prototype,"type",void 0),L=(0,r.Cg)([(0,y.$K)("esri.symbols.Symbol3D")],L)},58592:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(31635),i=o(4718),l=o(90629),n=o(91429),a=o(89420),y=o(77040),p=o(93223),c=o(36005);let h=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.size=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"color",void 0),(0,s.Cg)([(0,p.e)({esriPMS:"picture-marker"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(y.ku)],h.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(y.k7)],h.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],h.prototype,"height",null),(0,s.Cg)([(0,c.w)("height",["height","size"])],h.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],h.prototype,"width",null),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"size",void 0),h=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],h)},59483:(e,t,o)=>{o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885:(e,t,o)=>{o.d(t,{H:()=>i,V:()=>s});var r=o(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365:(e,t,o)=>{o.d(t,{A:()=>C});var r,s=o(31635),i=o(7762),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(91429),c=o(26449),h=o(27845),u=o(18574),d=o(11506),m=o(87403),g=o(58185),b=o(10224),w=o(34723),v=o(93223);const f=i.A.ofType({base:null,key:"type",typeMap:{extrude:c.A,fill:h.A,icon:u.A,line:d.A,object:m.A,text:b.A,water:w.A}});let C=r=class extends g.A{constructor(e){super(e),this.symbolLayers=new f,this.type="polygon-3d"}initialize(){const e=e=>{"line"===e.type&&(0,l.io)(a.A.getLogger(this),"LineSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use FillSymbol3DLayer.outline instead.",version:"4.28"}),"text"===e.type&&(0,l.io)(a.A.getLogger(this),"TextSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use Labels instead.",version:"4.28"})};for(const t of this.symbolLayers)e(t);this.addHandles((0,y.on)(()=>this.symbolLayers,"after-add",({item:t})=>e(t),y.OH))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const o=t.symbolLayers.at(0),r=t.symbolLayers.at(1);!r.enabled||e.symbolLayers?.[1]&&!1===e.symbolLayers[1].enable||(o.outline={size:r.size,color:null!=r.material?r.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([h.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],C.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,v.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],C.prototype,"type",void 0),C=r=(0,s.Cg)([(0,p.$K)("esri.symbols.PolygonSymbol3D")],C)},66525:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(31635),i=o(91429),l=o(3904),n=o(28975),a=o(8887),y=o(93223),p=o(36005);let c=class extends l.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s.Cg)([(0,i.MZ)({type:n.N,json:{write:!0}})],c.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s.Cg)([(0,y.e)({Path:"path"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],c.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],c.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],c.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],c.prototype,"width",void 0),(0,s.Cg)([(0,p.w)("width",["width","size","height"])],c.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],c.prototype,"height",void 0),(0,s.Cg)([(0,p.w)("height",["height","size","width"])],c.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],c.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],c.prototype,"profileRotation",void 0),c=r=(0,s.Cg)([(0,i.$K)("esri.symbols.PathSymbol3DLayer")],c)},67222:(e,t,o)=>{o.d(t,{EW:()=>y,pI:()=>p});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function y(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const p={type:Number,cast:s.cr,json:{write:!0}}},68548:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(7762),l=o(62885),n=o(4718),a=o(91429),y=o(27845),p=o(58185),c=o(93223);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:y.A}});let u=r=class extends p.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new h}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([y.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:h})],u.prototype,"symbolLayers",null),(0,s.Cg)([(0,c.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],u)},75981:(e,t,o)=>{o.d(t,{A:()=>w});var r,s=o(31635),i=o(68197),l=o(7762),n=o(4718),a=o(91429),y=o(18574),p=o(87403),c=o(58185),h=o(10224),u=o(59483),d=o(8893),m=o(4900),g=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:y.A,object:p.A,text:h.A}});let w=r=class extends c.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,u.LH)(this)}hasVisibleVerticalOffset(){return(0,u.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([y.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([y.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([y.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new m.A({screenLength:40})}:{symbolLayers:new l.A([y.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([h.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:m.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(u.oG)],w.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,g.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},77040:(e,t,o)=>{o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},87403:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(91429),l=o(3904),n=o(30809),a=o(69622);let y=r=class extends a.A{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new r({x:this.x,y:this.y,z:this.z})}};(0,s.Cg)([(0,i.MZ)({type:Number})],y.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],y.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],y.prototype,"z",void 0),y=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],y);var p,c=o(28975),h=o(93223);let u=class extends l.A{static{p=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new p({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s.Cg)([(0,i.MZ)({type:c.N,json:{write:!0}})],u.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],u.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:n.E,json:{write:!0}})],u.prototype,"resource",void 0),(0,s.Cg)([(0,h.e)({Object:"object"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"depth",void 0),(0,s.Cg)([(0,h.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],u.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:y,json:{type:[Number],read:{reader:e=>new y({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],u.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],u.prototype,"isPrimitive",null),u=p=(0,s.Cg)([(0,i.$K)("esri.symbols.ObjectSymbol3DLayer")],u)},97515:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(31635),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.mode="hidden"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n);const a=n},97887:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(31635),i=o(7762),l=o(4718),n=o(91429),a=o(11506),y=o(66525),p=o(58185),c=o(93223);const h=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:y.A}}),u=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:y.A}});let d=r=class extends p.A{constructor(e){super(e),this.symbolLayers=new h,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([a.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:h,json:{type:u}})],d.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},98751:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(31635),i=o(69622),l=o(91429),n=o(20655);let a=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)}}]);
|
package/config.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},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",respectPrefersReducedMotion:!0,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:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.
|
|
5
|
+
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},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",respectPrefersReducedMotion:!0,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:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.42";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
|
package/kernel.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.
|
|
5
|
+
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.42",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
|
package/package.json
CHANGED
package/support/revision.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
const e="
|
|
5
|
+
const e="20251117",d="22a6e5237e154939dea85d7f9c0a8ce7dbf034d5";export{e as buildDate,d as commitHash};
|
package/symbols/LabelSymbol3D.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as t}from"tslib";import
|
|
5
|
+
import{__decorate as t}from"tslib";import e from"../core/Collection.js";import{referenceSetter as o}from"../core/collectionUtils.js";import{clone as r}from"../core/lang.js";import{property as s,subclass as l}from"../core/accessorSupport/decorators.js";import i from"./Symbol3D.js";import a from"./TextSymbol3DLayer.js";import{hasVisibleCallout as y,hasVisibleVerticalOffset as m,calloutProperty as p}from"./callouts/calloutUtils.js";import n from"./support/Symbol3DVerticalOffset.js";import{enumeration as c}from"../core/accessorSupport/decorators/enumeration.js";var u;const b=e.ofType({base:null,key:"type",typeMap:{text:a}});let f=u=class extends i{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new b}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(t){o(t,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return y(this)}hasVisibleVerticalOffset(){return m(this)}clone(){return new u({styleOrigin:r(this.styleOrigin),symbolLayers:r(this.symbolLayers),thumbnail:r(this.thumbnail),callout:r(this.callout),verticalOffset:r(this.verticalOffset)})}static fromTextSymbol(t){return new u({symbolLayers:new e([a.fromTextSymbol(t)])})}};t([s({type:n,json:{write:!0}})],f.prototype,"verticalOffset",void 0),t([s(p)],f.prototype,"callout",void 0),t([s({json:{read:!1,write:!1}})],f.prototype,"styleOrigin",void 0),t([s({type:b})],f.prototype,"symbolLayers",null),t([c({LabelSymbol3D:"label-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=u=t([l("esri.symbols.LabelSymbol3D")],f);export{f as default};
|
package/symbols/MeshSymbol3D.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as o}from"tslib";import e from"../core/Collection.js";import{
|
|
5
|
+
import{__decorate as o}from"tslib";import e from"../core/Collection.js";import{referenceSetter as r}from"../core/collectionUtils.js";import{clone as s}from"../core/lang.js";import{property as t,subclass as l}from"../core/accessorSupport/decorators.js";import m from"./FillSymbol3DLayer.js";import y from"./Symbol3D.js";import{enumeration as i}from"../core/accessorSupport/decorators/enumeration.js";var p;const a=e.ofType({base:null,key:"type",typeMap:{fill:m}});let n=p=class extends y{constructor(o){super(o),this.type="mesh-3d",this.symbolLayers=new a}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(o){r(o,this._get("symbolLayers"))}clone(){return new p({styleOrigin:s(this.styleOrigin),symbolLayers:s(this.symbolLayers),thumbnail:s(this.thumbnail)})}static fromSimpleFillSymbol(o){return new p({symbolLayers:new e([m.fromSimpleFillSymbol(o)])})}};o([t({type:a})],n.prototype,"symbolLayers",null),o([i({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],n.prototype,"type",void 0),n=p=o([l("esri.symbols.MeshSymbol3D")],n);export{n as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as t}from"tslib";import e from"../../Viewpoint.js";import i from"../../core/Accessor.js";import s from"../../core/Error.js";import has from"../../core/has.js";import r from"../../core/Logger.js";import{watch as o,sync as n}from"../../core/reactiveUtils.js";import{createScreenPoint as a}from"../../core/screenUtils.js";import c from"../../core/Warning.js";import{property as p,subclass as h}from"../../core/accessorSupport/decorators.js";import l from"../../geometry/Extent.js";import{i as d}from"../../chunks/pe.js";import v from"../../geometry/Point.js";import{project as g}from"../../geometry/projectionUtils.js";import{equals as u}from"../../geometry/support/spatialReferenceUtils.js";import w from"./PaddedViewState.js";import{centerAt as m,setExtent as f,rotateTo as y,scaleTo as _,copy as j,extentToScale as x,angleBetween as S,resize as R}from"./viewpointUtils.js";let z=class extends i{constructor(t){super(t),this.constraints=null,this.ready=!1,this.resizeAlign="center",this.addHandles([o(()=>this.constraints?.version,t=>{this.constraints&&t&&this.ready&&(this.state.viewpoint=this.constraints.fit(this.state.paddedViewState.viewpoint))},n)])}get center(){if(!this.ready)return this._get("center");const{center:t,spatialReference:e}=this.state.paddedViewState;return this.state.commitProperty("id"),new v({x:t[0],y:t[1],spatialReference:e})}set center(t){if(null==t)return;if(!this.ready)return void this._set("center",t);let e;try{e=this._project(t,this.state.spatialReference)}catch(o){return void r.getLogger(this).error(new s("mapview:invalid-center","could not project the value in the view's spatial reference",{input:t,error:o}))}const i=this.viewpoint;m(i,i,e),this.viewpoint=i}get extent(){return this.ready?(this.state.commitProperty("id"),this.state.paddedViewState.extent.clone()):this._get("extent")}set extent(t){if(null==t)return;if(!
|
|
5
|
+
import{__decorate as t}from"tslib";import e from"../../Viewpoint.js";import i from"../../core/Accessor.js";import s from"../../core/Error.js";import has from"../../core/has.js";import r from"../../core/Logger.js";import{watch as o,sync as n}from"../../core/reactiveUtils.js";import{createScreenPoint as a}from"../../core/screenUtils.js";import c from"../../core/Warning.js";import{property as p,subclass as h}from"../../core/accessorSupport/decorators.js";import l from"../../geometry/Extent.js";import{i as d}from"../../chunks/pe.js";import v from"../../geometry/Point.js";import{project as g}from"../../geometry/projectionUtils.js";import{equals as u}from"../../geometry/support/spatialReferenceUtils.js";import w from"./PaddedViewState.js";import{centerAt as m,setExtent as f,rotateTo as y,scaleTo as _,copy as j,extentToScale as x,angleBetween as S,resize as R}from"./viewpointUtils.js";let z=class extends i{constructor(t){super(t),this.constraints=null,this.ready=!1,this.resizeAlign="center",this.addHandles([o(()=>this.constraints?.version,t=>{this.constraints&&t&&this.ready&&(this.state.viewpoint=this.constraints.fit(this.state.paddedViewState.viewpoint))},n)])}get center(){if(!this.ready)return this._get("center");const{center:t,spatialReference:e}=this.state.paddedViewState;return this.state.commitProperty("id"),new v({x:t[0],y:t[1],spatialReference:e})}set center(t){if(null==t)return;if(!this.ready)return void this._set("center",t);let e;try{e=this._project(t,this.state.spatialReference)}catch(o){return void r.getLogger(this).error(new s("mapview:invalid-center","could not project the value in the view's spatial reference",{input:t,error:o}))}const i=this.viewpoint;m(i,i,e),this.viewpoint=i}get extent(){return this.ready?(this.state.commitProperty("id"),this.state.paddedViewState.extent.clone()):this._get("extent")}set extent(t){if(null==t)return;let e=t;if(!e.width||!e.height)return void r.getLogger(this).error(new s("mapview:invalid-extent","invalid extent size"));if(!this.ready)return this._set("extent",e),this._set("center",void 0),this._set("viewpoint",void 0),this._set("scale",void 0),void this._set("zoom",void 0);try{e=this._project(e,this.state.spatialReference)}catch(o){return void r.getLogger(this).error(new s("mapview:invalid-extent","could not project the value in the view's spatial reference",{error:o}))}const i=this.viewpoint;f(i,i,e,this.state.size,{constraints:this.constraints}),this.viewpoint=i}get padding(){return this.ready?this.state.padding:this._get("padding")}set padding(t){this.ready?(this.state.padding=t,this._set("padding",this.state.padding)):this._set("padding",t)}get resolution(){return this.ready?(this.state.commitProperty("id"),this.state.resolution):0}get rotation(){return this.ready?(this.state.commitProperty("id"),this.state.rotation):this._get("rotation")}set rotation(t){if(isNaN(t))return;if(!this.ready)return void this._set("rotation",t);const e=this.viewpoint;y(e,e,t),this.viewpoint=e}get scale(){return this.ready?(this.state.commitProperty("id"),this.state.scale):this._get("scale")}set scale(t){if(!t||isNaN(t))return;if(!this.ready){this._set("scale",t),this._set("zoom",void 0);const e=this._get("extent");return void(e&&(this._set("extent",void 0),this._set("center",e.center)))}const e=this.viewpoint;_(e,e,t),this.viewpoint=e}get viewpoint(){if(!this.ready)return this._get("viewpoint");return this.state.paddedViewState.viewpoint.clone()}set viewpoint(t){if(null==t)return;if(!this.ready)return this._set("viewpoint",t),this._set("extent",void 0),this._set("center",void 0),this._set("zoom",void 0),void this._set("scale",void 0);let i,o;try{i=this._project(t,this.state.spatialReference),!t.scale||isNaN(t.scale)?o=new s("mapview:invalid-viewpoint",`invalid scale value of ${t.scale}`):null==t.targetGeometry&&(o=new s("mapview:invalid-viewpoint","geometry not defined"))}catch(a){o=new s("mapview:invalid-viewpoint","could not project the value in the view's spatial reference",{error:a})}if(o)return void r.getLogger(this).error(o);this._scaleBeforeChangingSpatialReference=null;const n=new e({targetGeometry:new v,scale:0,rotation:0});j(n,i),this.constraints?.constrain(n,this.state.paddedViewState.viewpoint),this.state.viewpoint=n,this._set("viewpoint",n)}get visibleArea(){return this.ready?this.state.visibleArea:null}get zoom(){return this.ready?this.constraints?.scaleToZoom(this.scale)??-1:this._get("zoom")}set zoom(t){if(!(t>=0))return;if(!this.ready){this._set("zoom",t),this._set("scale",void 0);const e=this._get("extent");return void(e&&(this._set("extent",void 0),this._set("center",e.center)))}const e=this.constraints?.zoomToScale(t)??0;if(!e)return void this._set("zoom",-1);const i=this.viewpoint;_(i,i,e),this.viewpoint=i,this._set("zoom",this.constraints?.scaleToZoom(this.scale)??-1)}getUserStartupOptions(t){if(!t[0]&&!t[1])return{center:void 0,rotation:void 0,scale:void 0};const{padding:e,constraints:i}=this,s=this._get("center"),r=this._get("extent"),o=this._get("scale"),n=this._get("rotation"),a=this._get("viewpoint"),c=this._get("zoom"),p=null!=c&&null!=i&&i.zoomToScale(c)||void 0;let h,l,d;const v=a?.rotation,g=a?.targetGeometry;"extent"===g?.type?h=g:"point"===g?.type&&(l=g,d=a?.scale);const u=r??h;return{center:s??l??u?.center,rotation:n??v,scale:(o??p??d??(u&&x(u,[t[0]-e.left-e.right,t[1]-e.top-e.bottom])))||void 0}}startup(t,e,i,s){const o=t.targetGeometry;try{this._project(t,i)}catch(n){r.getLogger(this).warn(new c("mapview:startup-projection-error","projection of initial viewpoint to the view's spatial reference, defaulting to the initial viewpoint.",{center:o.toJSON(),spatialReference:i,error:n})),t.targetGeometry=s||new v({x:0,y:0,spatialReference:i})}this.constraints?.fit(t),this._set("state",new w({padding:this.padding,size:e,viewpoint:t})),this._set("ready",!0)}teardown(){this._set("ready",!1);const{center:[t,e],spatialReference:i,rotation:s,scale:r}=this.state.paddedViewState,o=new v({x:t,y:e,spatialReference:i});this._set("viewpoint",null),this._set("extent",null),this._set("center",o),this._set("zoom",-1),this._set("rotation",s),this._set("scale",r),this._set("state",null)}changeSpatialReference(t){const i=this.state.paddedViewState.clone();if(null==this._scaleBeforeChangingSpatialReference)this._scaleBeforeChangingSpatialReference=i.scale;else{const t=i.viewpoint.clone();t.scale=this._scaleBeforeChangingSpatialReference,i.viewpoint=t}const s=i.clone(),[o,n]=i.center;let a=null;try{a=this._project(new v({x:o,y:n,spatialReference:i.spatialReference}),t)}catch(h){d()||r.getLogger(this).warn(new c("mapview:spatial-reference-change","could not project the view's center to the new spatial reference",{center:a?.toJSON(),spatialReference:t,error:h}))}a||(a=new v({x:0,y:0,spatialReference:t}));const p=m(new e({targetGeometry:new v,scale:0,rotation:0}),i.viewpoint,a);s.viewpoint=p;try{const e=20,r=[i.size[0]/2,i.size[1]/2],o=[r[0]+e,r[1]],n=i.toMap([0,0],o),{x:a,y:c}=this._project(new v({x:n[0],y:n[1],spatialReference:i.spatialReference}),t);n[0]=a,n[1]=c,s.toScreen(n,n);const h=S(r,n,o),l=Math.hypot(n[0]-r[0],n[1]-r[1])/e;!Number.isFinite(l)||Math.abs(l)>4?(p.rotation=0,p.targetGeometry=new v({x:0,y:0,spatialReference:t})):(p.scale*=l,p.scale>has("mapview-srswitch-adjust-rotation-scale-threshold")?p.rotation=0:p.rotation+=Number.isFinite(h)?h:0)}catch{}this._get("constraints")?.constrain(p,void 0),this._get("state").viewpoint=p}resize(t,e){if(!this.ready)return;const i=this.state;let s=this.state.paddedViewState.viewpoint;const r=this.state.paddedViewState.size.slice();i.size=[t,e],R(s,s,r,this.state.paddedViewState.size,this.resizeAlign),s=this.constraints?.constrain(s,void 0)??s,this.state.viewpoint=s}toMap(t){if(!this.ready)return null;const e=[0,0],[i,s]=this.state.toMap(e,[t.x,t.y]),r=this.state.spatialReference;return new v({x:i,y:s,spatialReference:r})}toScreen(t,e){if(!this.ready)return null;const i=this._project(t,this.state.spatialReference),s=[i.x,i.y];return!1===e?.pickClosestTarget||this.state.paddedViewState.wrapMapCoordinate(s,s),this.state.toScreen(s,s),a(s[0],s[1])}_project(t,e){const i=t?.targetGeometry||t;if(!e)return t;if(!i)return null;if(e.imageCoordinateSystem||i.spatialReference?.imageCoordinateSystem)return t;if(u(e,i.spatialReference))return t;const r=g(i,e);if(!r)throw new s("mapview:projection-not-possible","projecting input geometry to target spatial reference returned a null value",{geometry:i,spatialReference:e});return V(t)?(t.targetGeometry=r,t):r}};function V(t){return"esri.Viewpoint"===t?.declaredClass}t([p({type:v})],z.prototype,"center",null),t([p()],z.prototype,"constraints",void 0),t([p({type:l})],z.prototype,"extent",null),t([p({value:{top:0,right:0,bottom:0,left:0},cast:t=>({top:0,right:0,bottom:0,left:0,...t})})],z.prototype,"padding",null),t([p()],z.prototype,"ready",void 0),t([p()],z.prototype,"resizeAlign",void 0),t([p({readOnly:!0})],z.prototype,"resolution",null),t([p({type:Number})],z.prototype,"rotation",null),t([p({type:Number})],z.prototype,"scale",null),t([p({readOnly:!0})],z.prototype,"state",void 0),t([p({type:e})],z.prototype,"viewpoint",null),t([p({readOnly:!0})],z.prototype,"visibleArea",null),t([p()],z.prototype,"zoom",null),z=t([h("esri.views.2d.ViewStateManager")],z);export{z as ViewStateManager};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import t from"../../../core/Collection.js";import{subclass as r}from"../../../core/accessorSupport/decorators.js";import{LayerView2DMixin as a}from"./LayerView2D.js";import{
|
|
5
|
+
import{__decorate as e}from"tslib";import t from"../../../core/Collection.js";import{subclass as r}from"../../../core/accessorSupport/decorators.js";import{LayerView2DMixin as a}from"./LayerView2D.js";import{CatalogDynamicGroupLayerViewMixin as s}from"../../layers/CatalogDynamicGroupLayerView.js";import i from"../../layers/LayerView.js";let o=class extends(s(a(i))){constructor(){super(...arguments),this.unsupportedItemTypes=["Scene Service"],this.layerViews=new t}attach(){this.addAttachHandles([this.layerViews.on("after-changes",()=>this._updateStageChildren()),this.enableLayerUpdates()])}detach(){this.container.removeAllChildren()}update(e){this.updateLayers()}viewChange(){}moveEnd(){this.requestUpdate()}_updateStageChildren(){this.container.removeAllChildren(),this.layerViews.forEach((e,t)=>this.container.addChildAt(e.container,t))}};o=e([r("esri.views.2d.layers.CatalogDynamicGroupLayerView2D")],o);const n=o;export{n as default};
|