@arcgis/core 4.24.0-next.20220607 → 4.24.0-next.20220608
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/analysis/LineOfSightAnalysis.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{2e2d7f5952934af43fd7.js → 04034dabc8e0a489b0f8.js} +1 -1
- package/assets/esri/core/workers/chunks/1e4e5d147263e98536bc.js +1 -0
- package/assets/esri/core/workers/chunks/34ad71bd3a4684583f83.js +1 -0
- package/assets/esri/core/workers/chunks/{c165845a117c21246b1e.js → 42aa8ce4eb7bd851475e.js} +1 -1
- package/assets/esri/core/workers/chunks/{e51420d231c286b9c062.js → 540f1ed1ea9cddc739af.js} +1 -1
- package/assets/esri/core/workers/chunks/{71d445d1e6812e03a1d7.js → 5574c1e7f35bc36a1375.js} +1 -1
- package/assets/esri/core/workers/chunks/6196cfdeb91ceba52af3.js +1 -0
- package/assets/esri/core/workers/chunks/71a4618d959a09302c51.js +1 -0
- package/assets/esri/core/workers/chunks/{13e9e6f0b4942d79b0eb.js → 88942e9f60687ac006dc.js} +1 -1
- package/assets/esri/core/workers/chunks/{cbe98327181d8d7ad9e5.js → 9a8ebd98ad130abef76b.js} +1 -1
- package/assets/esri/core/workers/chunks/9d3954fb9513d7317ee2.js +1 -0
- package/assets/esri/core/workers/chunks/{4d2181bde97983ecac8b.js → a88cbb78f37c750fa461.js} +1 -1
- package/assets/esri/core/workers/chunks/{1d893ebc6f203ff1fc3d.js → ae8bb7a8cc714c942c74.js} +1 -1
- package/assets/esri/core/workers/chunks/b71a0a8a2f446c671161.js +1 -0
- package/assets/esri/core/workers/chunks/{185da42e7cc8e440c0f0.js → c157b46b0724f3f0947e.js} +1 -1
- package/assets/esri/core/workers/chunks/c8402e32307a7b7eaaeb.js +1 -0
- package/assets/esri/core/workers/chunks/{a9a4bb1d781b1a995fb3.js → cf6fce37217451e678ed.js} +1 -1
- package/assets/esri/core/workers/chunks/{8152cd26ebeae910b753.js → d3c73da9c2abb59e762a.js} +1 -1
- package/assets/esri/core/workers/chunks/d828a0656e7351a74fc4.js +1 -0
- package/assets/esri/core/workers/chunks/{172368d4eb6e6f8d2bdb.js → d8b9551df1bd196d0126.js} +1 -1
- package/assets/esri/core/workers/chunks/f54d5abbb9668c45bd19.js +1 -0
- package/assets/esri/core/workers/chunks/{1ebed6d6f561f926bd36.js → faf6e48f9f1205fb2e43.js} +1 -1
- package/assets/esri/geometry/support/pe-wasm.wasm +0 -0
- package/assets/esri/themes/base/widgets/_BasemapToggle.scss +6 -23
- package/assets/esri/themes/base/widgets/_FeatureTable.scss +10 -2
- package/assets/esri/themes/base/widgets/_Tooltip.scss +7 -7
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_ar.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_bg.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_bs.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_ca.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_cs.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_da.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_de.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_el.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_en.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_es.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_et.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_fi.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_fr.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_he.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_hr.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_hu.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_id.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_it.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_ja.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_ko.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_lt.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_lv.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_nb.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_nl.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_pl.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_pt-BR.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_pt-PT.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_ro.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_ru.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_sk.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_sl.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_sr.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_sv.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_th.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_tr.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_uk.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_vi.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_zh-CN.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_zh-HK.json +1 -1
- package/assets/esri/widgets/BasemapToggle/t9n/BasemapToggle_zh-TW.json +1 -1
- package/chunks/basis_transcoder.js +1 -1
- package/chunks/i3s.js +1 -1
- package/chunks/lclayout.js +1 -1
- package/chunks/lerc-wasm.js +1 -1
- package/chunks/libtess-asm.js +1 -1
- package/chunks/libtess.js +1 -1
- package/chunks/pe-wasm.js +1 -1
- package/chunks/vxlLayer.js +1 -1
- package/interfaces.d.ts +32 -20
- package/layers/LineOfSightLayer.js +1 -1
- package/layers/support/rasterFormats/RasterCodec.js +1 -1
- package/package.json +1 -1
- package/smartMapping/renderers/pieChart.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/views/2d/engine/webgl/Utils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
- package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
- package/views/3d/layers/i3s/I3SAttributeOverrides.js +1 -1
- package/views/3d/support/MemoryController.js +1 -1
- package/views/3d/terrain/TileCompositor.js +1 -1
- package/views/MapView.js +1 -1
- package/views/draw/support/GraphicMover.js +1 -1
- package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
- package/widgets/BasemapToggle.js +1 -1
- package/widgets/BuildingExplorer/BuildingDisciplinesTree/BuildingDisciplinesTree.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/BuildingLevelPicker.js +1 -1
- package/widgets/BuildingExplorer/BuildingPhasePicker/BuildingPhasePicker.js +1 -1
- package/widgets/BuildingExplorer.js +1 -1
- package/widgets/Feature/FeatureMedia/FeatureMediaViewModel.js +1 -1
- package/widgets/Feature/support/featureUtils.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace.js +1 -1
- package/widgets/Widget.js +1 -1
- package/assets/esri/core/workers/chunks/2ac6c99aacb873134f7c.js +0 -1
- package/assets/esri/core/workers/chunks/471beeb6924599209567.js +0 -1
- package/assets/esri/core/workers/chunks/770cf0a66102100abe74.js +0 -1
- package/assets/esri/core/workers/chunks/96ff15d6c2bfca0c6061.js +0 -1
- package/assets/esri/core/workers/chunks/9c4c721d890b49697132.js +0 -1
- package/assets/esri/core/workers/chunks/af3766a2d27419c7766c.js +0 -1
- package/assets/esri/core/workers/chunks/b50bbfd75768d9a8de88.js +0 -1
- package/assets/esri/core/workers/chunks/b577ec80647cf2ece397.js +0 -1
- package/assets/esri/core/workers/chunks/e99b58d07475bffce7ea.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9932],{10699:(e,t,r)=>{r.d(t,{IG:()=>s});var i=r(43697),o=r(52011);let n=0;const s=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+n++})}};return t=(0,i._)([(0,o.j)("esri.core.Identifiable")],t),t};let a=class extends(s(class{})){};a=(0,i._)([(0,o.j)("esri.core.Identifiable")],a)},16453:(e,t,r)=>{r.d(t,{R:()=>w,w:()=>b});var i=r(43697),o=r(15923),n=r(70586),s=r(41103),a=r(22974),l=r(31263);class c{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(l.kk),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const t=new c,r=this._originStores[l.s3.DEFAULTS];r&&r.forEach(((e,r)=>{t.set(r,(0,a.d9)(e),l.s3.DEFAULTS)}));for(let r=l.s3.SERVICE;r<l.kk;r++){const i=this._originStores[r];i&&i.forEach(((i,o)=>{e&&e.has(o)||t.set(o,(0,a.d9)(i),r)}))}return t}get(e,t){const r=void 0===t?this._values:this._originStores[t];return r?r.get(e):void 0}keys(e){const t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,r=l.s3.USER){let i=this._originStores[r];if(i||(i=new Map,this._originStores[r]=i),i.set(e,t),!this._values.has(e)||(0,n.j0)(this._propertyOriginMap.get(e))<=r){const i=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,r),i!==t}return!1}delete(e,t=l.s3.USER){const r=this._originStores[t];if(!r)return;const i=r.get(e);if(r.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let r=t-1;r>=0;r--){const t=this._originStores[r];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,r);break}}}return i}has(e,t){const r=void 0===t?this._values:this._originStores[t];return!!r&&r.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;const r=this._originStores[t],i=r&&r.get(e),o=this._values.get(e);return this._values.set(e,i),this._propertyOriginMap.set(e,t),o!==i}originOf(e){return this._propertyOriginMap.get(e)||l.s3.DEFAULTS}forEach(e){this._values.forEach(e)}}var d=r(50549),h=r(1153),u=r(52011);const p=e=>{let t=class extends e{constructor(...e){super(...e);const t=(0,n.j0)((0,h.vw)(this)),r=t.store,i=new c;t.store=i,(0,s.M)(t,r,i)}read(e,t){(0,d.i)(this,e,t)}getAtOrigin(e,t){const r=y(this),i=(0,l.M9)(t);if("string"==typeof e)return r.get(e,i);const o={};return e.forEach((e=>{o[e]=r.get(e,i)})),o}originOf(e){return(0,l.x3)(this.originIdOf(e))}originIdOf(e){return y(this).originOf(e)}revert(e,t){const r=y(this),i=(0,l.M9)(t),o=(0,h.vw)(this);let n;n="string"==typeof e?"*"===e?r.keys(i):[e]:e,n.forEach((e=>{o.invalidate(e),r.revert(e,i),o.commit(e)}))}};return t=(0,i._)([(0,u.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],t),t};function y(e){return(0,h.vw)(e).store}let m=class extends(p(o.Z)){};m=(0,i._)([(0,u.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],m);var g=r(76169);const f=e=>{let t=class extends e{constructor(...e){super(...e)}clear(e,t="user"){return v(this).delete(e,(0,l.M9)(t))}write(e={},t){return(0,g.c)(this,e=e||{},t),e}setAtOrigin(e,t,r){(0,h.vw)(this).setAtOrigin(e,t,(0,l.M9)(r))}removeOrigin(e){const t=v(this),r=(0,l.M9)(e),i=t.keys(r);for(const e of i)t.originOf(e)===r&&t.set(e,t.get(e,r),l.s3.USER)}updateOrigin(e,t){const r=v(this),i=(0,l.M9)(t),o=this.get(e);for(let t=i+1;t<l.kk;++t)r.delete(e,t);r.set(e,o,i)}toJSON(e){return this.write({},e)}};return t=(0,i._)([(0,u.j)("esri.core.WriteableMultiOriginJSONSupport")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};function v(e){return(0,h.vw)(e).store}const w=e=>{let t=class extends(f(p(e))){constructor(...e){super(...e)}};return t=(0,i._)([(0,u.j)("esri.core.MultiOriginJSONSupport")],t),t};let b=class extends(w(o.Z)){};b=(0,i._)([(0,u.j)("esri.core.MultiOriginJSONSupport")],b)},78346:(e,t,r)=>{r.d(t,{bA:()=>G});var i=r(20102),o=r(80442),n=r(95330),s=r(80903),a=r(25045),l=r(40330),c=r(92604),d=r(70586),h=r(94362),u=r(99880),p=r(68773),y=(r(2587),r(17452));const m={};function g(e){const t={async:e.async,isDebug:e.isDebug,locale:e.locale,baseUrl:e.baseUrl,has:{...e.has},map:{...e.map},packages:e.packages&&e.packages.concat()||[],paths:{...e.paths}};return e.hasOwnProperty("async")||(t.async=!0),e.hasOwnProperty("isDebug")||(t.isDebug=!1),e.baseUrl||(t.baseUrl=m.baseUrl),m.packages?.forEach((e=>{!function(e,t){for(const r of e)if(r.name===t.name)return;e.push(t)}(t.packages,e)})),t}var f=r(41213);class v{constructor(){const e=document.createDocumentFragment();["addEventListener","dispatchEvent","removeEventListener"].forEach((t=>{this[t]=(...r)=>e[t](...r)}))}}class w{constructor(){this._dispatcher=new v,this._workerPostMessage({type:h.Cs.HANDSHAKE})}terminate(){}get onmessage(){return this._onmessageHandler}set onmessage(e){this._onmessageHandler&&this.removeEventListener("message",this._onmessageHandler),this._onmessageHandler=e,e&&this.addEventListener("message",e)}get onmessageerror(){return this._onmessageerrorHandler}set onmessageerror(e){this._onmessageerrorHandler&&this.removeEventListener("messageerror",this._onmessageerrorHandler),this._onmessageerrorHandler=e,e&&this.addEventListener("messageerror",e)}get onerror(){return this._onerrorHandler}set onerror(e){this._onerrorHandler&&this.removeEventListener("error",this._onerrorHandler),this._onerrorHandler=e,e&&this.addEventListener("error",e)}postMessage(e){(0,f.Y)((()=>{this._workerMessageHandler(new MessageEvent("message",{data:e}))}))}dispatchEvent(e){return this._dispatcher.dispatchEvent(e)}addEventListener(e,t,r){this._dispatcher.addEventListener(e,t,r)}removeEventListener(e,t,r){this._dispatcher.removeEventListener(e,t,r)}_workerPostMessage(e){(0,f.Y)((()=>{this.dispatchEvent(new MessageEvent("message",{data:e}))}))}async _workerMessageHandler(e){const t=(0,h.QM)(e);if(t&&t.type===h.Cs.OPEN){const{modulePath:e,jobId:r}=t;let i=await a.default.loadWorker(e);i||(i=await import(e));const o=a.default.connect(i);this._workerPostMessage({type:h.Cs.OPENED,jobId:r,data:o})}}}var b=r(70171),S=r(17202);const _=c.Z.getLogger("esri.core.workers"),{HANDSHAKE:k}=h.Cs;let L,I;const E="Failed to create Worker. Fallback to execute module in main thread";async function C(e){return new Promise((t=>{function r(o){const n=(0,h.QM)(o);n&&n.type===k&&(e.removeEventListener("message",r),e.removeEventListener("error",i),t(e))}function i(t){t.preventDefault(),e.removeEventListener("message",r),e.removeEventListener("error",i),_.warn("Failed to create Worker. Fallback to execute module in main thread",t),(e=new w).addEventListener("message",r),e.addEventListener("error",i)}e.addEventListener("message",r),e.addEventListener("error",i)}))}let M=0;const O=c.Z.getLogger("esri.core.workers"),{ABORT:T,INVOKE:x,OPEN:j,OPENED:D,RESPONSE:A}=h.Cs;class N{constructor(e,t){this._outJobs=new Map,this._inJobs=new Map,this.worker=e,this.id=t,e.addEventListener("message",this._onMessage.bind(this)),e.addEventListener("error",(e=>{e.preventDefault(),O.error(e)}))}static async create(e){const t=await async function(){if(!(0,o.Z)("esri-workers")||((0,o.Z)("mozilla"),0))return C(new w);if(!L&&!I)try{const e='let globalId=0;const outgoing=new Map,configuration=JSON.parse("{CONFIGURATION}");self.esriConfig=configuration.esriConfig;const workerPath=self.esriConfig.workers.workerPath,HANDSHAKE=0,OPEN=1,OPENED=2,RESPONSE=3,INVOKE=4,ABORT=5;function createAbortError(){const e=new Error("Aborted");return e.name="AbortError",e}function receiveMessage(e){return e&&e.data?"string"==typeof e.data?JSON.parse(e.data):e.data:null}function invokeStaticMessage(e,o,r){const t=r&&r.signal,n=globalId++;return new Promise(((r,i)=>{if(t){if(t.aborted)return i(createAbortError());t.addEventListener("abort",(()=>{outgoing.get(n)&&(outgoing.delete(n),self.postMessage({type:5,jobId:n}),i(createAbortError()))}))}outgoing.set(n,{resolve:r,reject:i}),self.postMessage({type:4,jobId:n,methodName:e,abortable:null!=t,data:o})}))}let workerRevisionChecked=!1;function checkWorkerRevision(e){if(!workerRevisionChecked&&e.kernelInfo){workerRevisionChecked=!0;const{revision:o,buildDate:r,version:t}=configuration.kernelInfo,{revision:n,buildDate:i,version:s}=e.kernelInfo;o!==n&&console.warn(`[esri.core.workers] Version mismatch detected between ArcGIS API for JavaScript and assets:\\nAPI version: ${t} [Date: ${r}, Revision: ${o.slice(0,8)}]\nAssets version: ${s} [Date: ${i}, Revision: ${n.slice(0,8)}]`)}}function messageHandler(e){const o=receiveMessage(e);if(!o)return;const r=o.jobId;switch(o.type){case 1:let e;function t(o){const t=e.connect(o);self.postMessage({type:2,jobId:r,data:t},[t])}"function"==typeof define&&define.amd?require([workerPath],(r=>{e=r.default||r,checkWorkerRevision(e),e.loadWorker(o.modulePath).then((e=>e||new Promise((e=>{require([o.modulePath],e)})))).then(t)})):"System"in self&&"function"==typeof System.import?System.import(workerPath).then((r=>(e=r.default,checkWorkerRevision(e),e.loadWorker(o.modulePath)))).then((e=>e||System.import(o.modulePath))).then(t):esriConfig.workers.useDynamicImport?import(workerPath).then((r=>{e=r.default||r,checkWorkerRevision(e),e.loadWorker(o.modulePath).then((e=>e||import(o.modulePath))).then(t)})):(self.RemoteClient||importScripts(workerPath),e=self.RemoteClient.default||self.RemoteClient,checkWorkerRevision(e),e.loadWorker(o.modulePath).then(t));break;case 3:if(outgoing.has(r)){const e=outgoing.get(r);outgoing.delete(r),o.error?e.reject(JSON.parse(o.error)):e.resolve(o.data)}}}self.dojoConfig=configuration.loaderConfig,esriConfig.workers.loaderUrl&&(self.importScripts(esriConfig.workers.loaderUrl),"function"==typeof require&&"function"==typeof require.config&&require.config(configuration.loaderConfig)),self.addEventListener("message",messageHandler),self.postMessage({type:0});'.replace('"{CONFIGURATION}"',`'${function(){let e;if(null!=p.Z.default){const t={...p.Z};delete t.default,e=JSON.parse(JSON.stringify(t))}else e=JSON.parse(JSON.stringify(p.Z));e.assetsPath=(0,y.hF)(e.assetsPath),e.request.interceptors=[],e.log.interceptors=[],e.locale=(0,b.Kd)(),e.has={"esri-csp-restrictions":(0,o.Z)("esri-csp-restrictions"),"esri-2d-debug":!1,"esri-2d-update-debug":(0,o.Z)("esri-2d-update-debug"),"esri-2d-query-centroid-enabled":(0,o.Z)("esri-2d-query-centroid-enabled"),"featurelayer-pbf":(0,o.Z)("featurelayer-pbf"),"featurelayer-simplify-thresholds":(0,o.Z)("featurelayer-simplify-thresholds"),"featurelayer-simplify-payload-size-factors":(0,o.Z)("featurelayer-simplify-payload-size-factors"),"featurelayer-simplify-mobile-factor":(0,o.Z)("featurelayer-simplify-mobile-factor"),"esri-atomics":(0,o.Z)("esri-atomics"),"esri-shared-array-buffer":(0,o.Z)("esri-shared-array-buffer"),"esri-tiles-debug":(0,o.Z)("esri-tiles-debug"),"esri-workers-arraybuffer-transfer":(0,o.Z)("esri-workers-arraybuffer-transfer"),"feature-polyline-generalization-factor":(0,o.Z)("feature-polyline-generalization-factor"),"host-webworker":1},e.workers.loaderUrl&&(e.workers.loaderUrl=(0,y.hF)(e.workers.loaderUrl)),e.workers.workerPath?e.workers.workerPath=(0,y.hF)(e.workers.workerPath):e.workers.workerPath=(0,y.hF)((0,u.V)("esri/core/workers/RemoteClient.js")),e.workers.useDynamicImport=!1;const t=p.Z.workers.loaderConfig,r=g({baseUrl:t?.baseUrl,locale:(0,b.Kd)(),has:{"csp-restrictions":1,"dojo-test-sniff":0,"host-webworker":1,...t?.has},map:{...t?.map},paths:{...t?.paths},packages:t?.packages||[]}),i={version:l.i8,buildDate:S.r,revision:S.$};return JSON.stringify({esriConfig:e,loaderConfig:r,kernelInfo:i})}()}'`);L=URL.createObjectURL(new Blob([e],{type:"text/javascript"}))}catch(e){I=e||{}}let e;if(L)try{e=new Worker(L,{name:"esri-worker-"+M++})}catch(t){_.warn(E,I),e=new w}else _.warn(E,I),e=new w;return C(e)}();return new N(t,e)}terminate(){this.worker.terminate()}async open(e,t={}){const{signal:r}=t,i=(0,h.jt)();return new Promise(((t,o)=>{const s={resolve:t,reject:o,abortHandle:(0,n.$F)(r,(()=>{this._outJobs.delete(i),this._post({type:T,jobId:i})}))};this._outJobs.set(i,s),this._post({type:j,jobId:i,modulePath:e})}))}_onMessage(e){const t=(0,h.QM)(e);if(t)switch(t.type){case D:this._onOpenedMessage(t);break;case A:this._onResponseMessage(t);break;case T:this._onAbortMessage(t);break;case x:this._onInvokeMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,i=t.get(r);i&&(i.controller&&i.controller.abort(),t.delete(r))}_onInvokeMessage(e){const{methodName:t,jobId:r,data:i,abortable:o}=e,s=o?new AbortController:null,a=this._inJobs,c=l.Nv[t];let d;try{if("function"!=typeof c)throw new TypeError(`${t} is not a function`);d=c.call(null,i,{signal:s?s.signal:null})}catch(e){return void this._post({type:A,jobId:r,error:(0,h.AB)(e)})}(0,n.y8)(d)?(a.set(r,{controller:s,promise:d}),d.then((e=>{a.has(r)&&(a.delete(r),this._post({type:A,jobId:r},e))}),(e=>{a.has(r)&&(a.delete(r),e||(e={message:"Error encountered at method"+t}),(0,n.D_)(e)||this._post({type:A,jobId:r,error:(0,h.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:A,jobId:r},d)}_onOpenedMessage(e){const{jobId:t,data:r}=e,i=this._outJobs.get(t);i&&(this._outJobs.delete(t),(0,d.hw)(i.abortHandle),i.resolve(r))}_onResponseMessage(e){const{jobId:t,error:r,data:o}=e,n=this._outJobs.get(t);n&&(this._outJobs.delete(t),(0,d.hw)(n.abortHandle),r?n.reject(i.Z.fromJSON(JSON.parse(r))):n.resolve(o))}_post(e,t,r){return(0,h.oi)(this.worker,e,t,r)}}let R=(0,o.Z)("esri-workers-debug")?1:(0,o.Z)("host-browser")?navigator.hardwareConcurrency-1:0;R||(R=(0,o.Z)("safari")&&(0,o.Z)("mac")||(0,o.Z)("trident")?7:2);let Z=0;const P=[];async function U(e,t){const r=new s.Z;return await r.open(e,t),r}async function G(e,t={}){if("string"!=typeof e)throw new i.Z("workers:undefined-module","modulePath is missing");let r=t.strategy||"distributed";if((0,o.Z)("host-webworker")&&!(0,o.Z)("esri-workers")&&(r="local"),"local"===r){let r=await a.default.loadWorker(e);r||(r=await import(e)),(0,n.k_)(t.signal);const i=t.client||r;return U([a.default.connect(r)],{...t,client:i})}if(await async function(){if(H)return H;$=new AbortController;const e=[];for(let t=0;t<R;t++){const r=N.create(t).then((e=>(P[t]=e,e)));e.push(r)}return H=Promise.all(e),H}(),(0,n.k_)(t.signal),"dedicated"===r){const r=Z++%R;return U([await P[r].open(e,t)],t)}if(t.maxNumWorkers&&t.maxNumWorkers>0){const r=Math.min(t.maxNumWorkers,R);if(r<R){const i=new Array(r);for(let o=0;o<r;++o){const r=Z++%R;i[o]=P[r].open(e,t)}return U(i,t)}}return U(P.map((r=>r.open(e,t))),t)}let $,H=null},79235:(e,t,r)=>{r.d(t,{Z:()=>w});var i,o=r(43697),n=r(67676),s=r(35454),a=r(96674),l=r(67900),c=r(20941),d=r(5600),h=(r(80442),r(75215),r(71715)),u=r(52011),p=r(30556);const y=(0,s.w)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),m=y.jsonValues.slice();(0,n.e$)(m,"orthometric");const g=(0,s.w)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let f=i=class extends a.wq{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return y.write(e,t,r)}readHeightModel(e,t,r){return y.read(e)||(r&&r.messages&&r.messages.push(function(e,t){return new c.Z("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return g.read(e)||(r&&r.messages&&r.messages.push(v(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,l.$C)(e)||g.read(e)||(r&&r.messages&&r.messages.push(v(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,l.cM)(t);return new i({heightModel:e.heightModel,heightUnit:r,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function v(e,t){return new c.Z("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,o._)([(0,d.Cb)({type:y.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:m,default:"ellipsoidal"}}}})],f.prototype,"heightModel",void 0),(0,o._)([(0,p.c)("web-scene","heightModel")],f.prototype,"writeHeightModel",null),(0,o._)([(0,h.r)(["web-scene","service"],"heightModel")],f.prototype,"readHeightModel",null),(0,o._)([(0,d.Cb)({type:g.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g.jsonValues,write:g.write}}}})],f.prototype,"heightUnit",void 0),(0,o._)([(0,h.r)("web-scene","heightUnit")],f.prototype,"readHeightUnit",null),(0,o._)([(0,h.r)("service","heightUnit")],f.prototype,"readHeightUnitService",null),(0,o._)([(0,d.Cb)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"vertCRS",void 0),(0,o._)([(0,h.r)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],f.prototype,"readVertCRS",null),f=i=(0,o._)([(0,u.j)("esri.geometry.HeightModelInfo")],f);const w=f},2587:(e,t,r)=>{r(90344),r(18848),r(940),r(70171);var i=r(94443),o=r(3172),n=r(20102),s=r(70586);async function a(e){if((0,s.pC)(c.fetchBundleAsset))return c.fetchBundleAsset(e);const t=await(0,o.default)(e,{responseType:"text"});return JSON.parse(t.data)}class l{constructor({base:e="",pattern:t,location:r=new URL(window.location.href)}){let i;i="string"==typeof r?e=>new URL(e,new URL(r,window.location.href)).href:r instanceof URL?e=>new URL(e,r).href:r,this.pattern="string"==typeof t?new RegExp(`^${t}`):t,this.getAssetUrl=i,e=e?e.endsWith("/")?e:e+"/":"",this.matcher=new RegExp(`^${e}(?:(.*)/)?(.*)$`)}fetchMessageBundle(e,t){return async function(e,t,r,o){const s=t.exec(r);if(!s)throw new n.Z("esri-intl:invalid-bundle",`Bundle id "${r}" is not compatible with the pattern "${t}"`);const l=s[1]?`${s[1]}/`:"",c=s[2],d=(0,i.Su)(o),h=`${l}${c}.json`,u=d?`${l}${c}_${d}.json`:h;let p;try{p=await a(e(u))}catch(t){if(u===h)throw new n.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:t});try{p=await a(e(h))}catch(e){throw new n.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:e})}}return p}(this.getAssetUrl,this.matcher,e,t)}}const c={};var d,h=r(99880);(0,i.tz)((d={pattern:"esri/",location:h.V},new l(d)))},90344:(e,t,r)=>{r.d(t,{Ze:()=>g,p6:()=>f});var i=r(35454),o=r(70171);const n={year:"numeric",month:"numeric",day:"numeric"},s={year:"numeric",month:"long",day:"numeric"},a={year:"numeric",month:"short",day:"numeric"},l={year:"numeric",month:"long",weekday:"long",day:"numeric"},c={hour:"numeric",minute:"numeric"},d={...c,second:"numeric"},h={"short-date":n,"short-date-short-time":{...n,...c},"short-date-short-time-24":{...n,...c,hour12:!1},"short-date-long-time":{...n,...d},"short-date-long-time-24":{...n,...d,hour12:!1},"short-date-le":n,"short-date-le-short-time":{...n,...c},"short-date-le-short-time-24":{...n,...c,hour12:!1},"short-date-le-long-time":{...n,...d},"short-date-le-long-time-24":{...n,...d,hour12:!1},"long-month-day-year":s,"long-month-day-year-short-time":{...s,...c},"long-month-day-year-short-time-24":{...s,...c,hour12:!1},"long-month-day-year-long-time":{...s,...d},"long-month-day-year-long-time-24":{...s,...d,hour12:!1},"day-short-month-year":a,"day-short-month-year-short-time":{...a,...c},"day-short-month-year-short-time-24":{...a,...c,hour12:!1},"day-short-month-year-long-time":{...a,...d},"day-short-month-year-long-time-24":{...a,...d,hour12:!1},"long-date":l,"long-date-short-time":{...l,...c},"long-date-short-time-24":{...l,...c,hour12:!1},"long-date-long-time":{...l,...d},"long-date-long-time-24":{...l,...d,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":c,"long-time":d},u=(0,i.w)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),p=(u.apiValues,u.toJSON.bind(u),u.fromJSON.bind(u),{ar:"ar-u-nu-latn-ca-gregory"});let y=new WeakMap,m=h["short-date-short-time"];function g(e){return h[e]||null}function f(e,t){return function(e){const t=e||m;if(!y.has(t)){const e=(0,o.Kd)(),r=p[(0,o.Kd)()]||e;y.set(t,new Intl.DateTimeFormat(r,t))}return y.get(t)}(t).format(e)}(0,o.Ze)((()=>{y=new WeakMap,m=h["short-date-short-time"]}))},18848:(e,t,r)=>{r.d(t,{sh:()=>l,uf:()=>c});var i=r(70586),o=r(70171);const n={ar:"ar-u-nu-latn"};let s=new WeakMap,a={};function l(e={}){const t={};return null!=e.digitSeparator&&(t.useGrouping=e.digitSeparator),null!=e.places&&(t.minimumFractionDigits=t.maximumFractionDigits=e.places),t}function c(e,t){return-0===e&&(e=0),function(e){const t=e||a;if(!s.has(t)){const r=(0,o.Kd)(),i=n[(0,o.Kd)()]||r;s.set(t,new Intl.NumberFormat(i,e))}return(0,i.j0)(s.get(t))}(t).format(e)}(0,o.Ze)((()=>{s=new WeakMap,a={}}))},940:(e,t,r)=>{r.d(t,{n:()=>c});var i=r(92604),o=r(78286),n=r(19153),s=r(90344),a=r(18848);const l=i.Z.getLogger("esri.intl");function c(e,t,r={}){const{format:i={}}=r;return(0,n.gx)(e,(e=>function(e,t,r){let i,n;const s=e.indexOf(":");if(-1===s?i=e.trim():(i=e.slice(0,s).trim(),n=e.slice(s+1).trim()),!i)return"";const a=(0,o.hS)(i,t);if(null==a)return"";const l=r[n]||r[i];return l?d(a,l):n?h(a,n):u(a)}(e,t,i)))}function d(e,t){switch(t.type){case"date":return(0,s.p6)(e,t.intlOptions);case"number":return(0,a.uf)(e,t.intlOptions);default:return l.warn("missing format descriptor for key {key}"),u(e)}}function h(e,t){switch(t.toLowerCase()){case"dateformat":return(0,s.p6)(e);case"numberformat":return(0,a.uf)(e);default:return l.warn(`inline format is unsupported since 4.12: ${t}`),/^(dateformat|datestring)/i.test(t)?(0,s.p6)(e):/^numberformat/i.test(t)?(0,a.uf)(e):u(e)}}function u(e){switch(typeof e){case"string":return e;case"number":return(0,a.uf)(e);case"boolean":return""+e;default:return e instanceof Date?(0,s.p6)(e):""}}},49932:(e,t,r)=>{r.r(t),r.d(t,{default:()=>O});var i=r(43697),o=r(3172),n=r(20102),s=r(92604),a=r(70586),l=r(16453),c=r(95330),d=r(17452),h=r(5600),u=r(67676),p=(r(80442),r(75215),r(71715)),y=r(52011),m=r(79235),g=r(87085),f=r(46486),v=r(17287),w=r(38009),b=r(16859),S=r(21506),_=r(50758),k=r(78346);const L=s.Z.getLogger("esri.core.workers.WorkerHandle");class I extends class{constructor(e,t,r,i,o={}){this._mainMethod=t,this._transferLists=r,this._listeners=[],this._promise=(0,k.bA)(e,{...o,schedule:i}).then((e=>{if(void 0===this._thread){this._thread=e,this._promise=null,o.hasInitialize&&this.broadcast({},"initialize");for(const e of this._listeners)this._connectListener(e)}else e.close()})),this._promise.catch((t=>L.error(`Failed to initialize ${e} worker: ${t}`)))}on(e,t){const r={removed:!1,eventName:e,callback:t,threadHandle:null};return this._listeners.push(r),this._connectListener(r),(0,_.kB)((()=>{r.removed=!0,(0,u.Od)(this._listeners,r),this._thread&&(0,a.pC)(r.threadHandle)&&r.threadHandle.remove()}))}destroy(){this._thread&&(this._thread.close(),this._thread=null),this._promise=null}invoke(e,t){return this.invokeMethod(this._mainMethod,e,t)}invokeMethod(e,t,r){if(this._thread){const i=this._transferLists[e],o=i?i(t):[];return this._thread.invoke(e,t,{transferList:o,signal:r})}return this._promise?this._promise.then((()=>((0,c.k_)(r),this.invokeMethod(e,t,r)))):Promise.reject(null)}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then((()=>{})):this._promise?this._promise.then((()=>this.broadcast(e,t))):Promise.reject()}get promise(){return this._promise}_connectListener(e){this._thread&&this._thread.on(e.eventName,e.callback).then((t=>{e.removed||(e.threadHandle=t)}))}}{constructor(e=null){super("LercWorker","_decode",{_decode:e=>[e.buffer]},e,{strategy:"dedicated"}),this.schedule=e,this.ref=0}decode(e,t,r){return e&&0!==e.byteLength?this.invoke({buffer:e,options:t},r):Promise.resolve(null)}release(){--this.ref<=0&&(E.forEach(((e,t)=>{e===this&&E.delete(t)})),this.destroy())}}const E=new Map,C=s.Z.getLogger("esri.layers.ElevationLayer");let M=class extends((0,f.Z)((0,v.Y)((0,w.q)((0,b.I)((0,l.R)(g.Z)))))){constructor(...e){super(...e),this.copyright=null,this.heightModelInfo=null,this.path=null,this.opacity=1,this.operationalLayerType="ArcGISTiledElevationServiceLayer",this.sourceJSON=null,this.type="elevation",this.url=null,this.version=null,this._lercDecoder=function(e=null){let t=E.get((0,a.Wg)(e));return t||((0,a.pC)(e)?(t=new I((t=>e.schedule(t))),E.set(e,t)):(t=new I,E.set(null,t))),++t.ref,t}()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this._lercDecoder=(0,a.RY)(this._lercDecoder)}set minScale(e){this.constructed&&C.warn(`${this.declaredClass}.minScale support has been removed (since 4.5)`)}get minScale(){}set maxScale(e){this.constructed&&C.warn(`${this.declaredClass}.maxScale support has been removed (since 4.5)`)}get maxScale(){}readVersion(e,t){let r=t.currentVersion;return r||(r=9.3),r}load(e){const t=(0,a.pC)(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"],supportsData:!1,validateItem:e=>{for(let t=0;t<e.typeKeywords.length;t++)if("elevation 3d layer"===e.typeKeywords[t].toLowerCase())return!0;throw new n.Z("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}' ",{type:"Image Service",expectedType:"Image Service Elevation 3D Layer"})}},e).catch(c.r9).then((()=>this._fetchImageService(t)))),Promise.resolve(this)}fetchTile(e,t,r,i){const n=(0,a.pC)((i=i||{signal:null}).signal)?i.signal:i.signal=(new AbortController).signal,s={responseType:"array-buffer",signal:n},l={noDataValue:i.noDataValue,returnFileInfo:!0};return this.load().then((()=>this._fetchTileAvailability(e,t,r,i))).then((()=>(0,o.default)(this.getTileUrl(e,t,r),s))).then((e=>this._lercDecoder.decode(e.data,l,n))).then((e=>({values:e.pixelData,width:e.width,height:e.height,maxZError:e.fileInfo.maxZError,noDataValue:e.noDataValue,minValue:e.minValue,maxValue:e.maxValue})))}getTileUrl(e,t,r){const i=!this.tilemapCache&&this.supportsBlankTile,o=(0,d.B7)({...this.parsedUrl.query,blankTile:!i&&null});return`${this.parsedUrl.path}/tile/${e}/${t}/${r}${o?"?"+o:""}`}async queryElevation(e,t){const{ElevationQuery:i}=await Promise.all([r.e(4547),r.e(3127)]).then(r.bind(r,33127));return(0,c.k_)(t),(new i).query(this,e,t)}async createElevationSampler(e,t){const{ElevationQuery:i}=await Promise.all([r.e(4547),r.e(3127)]).then(r.bind(r,33127));return(0,c.k_)(t),(new i).createSampler(this,e,t)}_fetchTileAvailability(e,t,r,i){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,t,r,i):Promise.resolve("unknown")}async _fetchImageService(e){if(this.sourceJSON)return this.sourceJSON;const t={query:{f:"json",...this.parsedUrl.query},responseType:"json",signal:e},r=await(0,o.default)(this.parsedUrl.path,t);r.ssl&&(this.url=this.url.replace(/^http:/i,"https:")),this.sourceJSON=r.data,this.read(r.data,{origin:"service",url:this.parsedUrl})}get hasOverriddenFetchTile(){return!this.fetchTile.__isDefault__}};(0,i._)([(0,h.Cb)({json:{read:{source:"copyrightText"}}})],M.prototype,"copyright",void 0),(0,i._)([(0,h.Cb)({readOnly:!0,type:m.Z})],M.prototype,"heightModelInfo",void 0),(0,i._)([(0,h.Cb)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],M.prototype,"path",void 0),(0,i._)([(0,h.Cb)({type:["show","hide"]})],M.prototype,"listMode",void 0),(0,i._)([(0,h.Cb)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],M.prototype,"minScale",null),(0,i._)([(0,h.Cb)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],M.prototype,"maxScale",null),(0,i._)([(0,h.Cb)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],M.prototype,"opacity",void 0),(0,i._)([(0,h.Cb)({type:["ArcGISTiledElevationServiceLayer"]})],M.prototype,"operationalLayerType",void 0),(0,i._)([(0,h.Cb)()],M.prototype,"sourceJSON",void 0),(0,i._)([(0,h.Cb)({json:{read:!1},value:"elevation",readOnly:!0})],M.prototype,"type",void 0),(0,i._)([(0,h.Cb)(S.HQ)],M.prototype,"url",void 0),(0,i._)([(0,h.Cb)()],M.prototype,"version",void 0),(0,i._)([(0,p.r)("version",["currentVersion"])],M.prototype,"readVersion",null),M=(0,i._)([(0,y.j)("esri.layers.ElevationLayer")],M),M.prototype.fetchTile.__isDefault__=!0;const O=M},87085:(e,t,r)=>{r.d(t,{Z:()=>b});var i=r(43697),o=(r(66577),r(3172)),n=r(20102),s=r(32448),a=r(10699),l=r(83379),c=r(92604),d=r(95330),h=r(17452),u=r(5600),p=(r(67676),r(80442),r(75215),r(52011)),y=r(68773);const m=c.Z.getLogger("esri.layers.support.fromPortalItem");var g=r(6570),f=r(82971);let v=0,w=class extends(s.Z.EventedMixin((0,a.IG)(l.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new g.Z(-180,-90,180,90,f.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+v++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=f.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await r.e(3529).then(r.bind(r,63529))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},i=await Promise.all([r.e(4547),r.e(8008)]).then(r.bind(r,28008));try{return await i.fromItem(t)}catch(e){const r=t&&t.portalItem,i=r&&r.id||"unset",o=r&&r.portal&&r.portal.url||y.Z.portalUrl;throw m.error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch((e=>{(0,d.D_)(e)||c.Z.getLogger(this.declaredClass).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})}))}destroy(){if(this.parent){const e=this,t=this.parent;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"baseLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){const e=this.url;return e?(0,h.mN)(e):null}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,o.default)(e,{query:{f:"json"},responseType:"json"})).data;throw new n.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,i._)([(0,u.Cb)({type:String})],w.prototype,"attributionDataUrl",void 0),(0,i._)([(0,u.Cb)({type:g.Z})],w.prototype,"fullExtent",void 0),(0,i._)([(0,u.Cb)({readOnly:!0})],w.prototype,"hasAttributionData",null),(0,i._)([(0,u.Cb)({type:String,clonable:!1})],w.prototype,"id",void 0),(0,i._)([(0,u.Cb)({type:Boolean,nonNullable:!0})],w.prototype,"legendEnabled",void 0),(0,i._)([(0,u.Cb)({type:["show","hide","hide-children"]})],w.prototype,"listMode",void 0),(0,i._)([(0,u.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],w.prototype,"opacity",void 0),(0,i._)([(0,u.Cb)({clonable:!1})],w.prototype,"parent",void 0),(0,i._)([(0,u.Cb)({readOnly:!0})],w.prototype,"parsedUrl",null),(0,i._)([(0,u.Cb)({type:Boolean})],w.prototype,"popupEnabled",void 0),(0,i._)([(0,u.Cb)({type:Boolean})],w.prototype,"attributionVisible",void 0),(0,i._)([(0,u.Cb)({type:f.Z})],w.prototype,"spatialReference",void 0),(0,i._)([(0,u.Cb)({type:String})],w.prototype,"title",void 0),(0,i._)([(0,u.Cb)({readOnly:!0,json:{read:!1}})],w.prototype,"type",void 0),(0,i._)([(0,u.Cb)()],w.prototype,"url",void 0),(0,i._)([(0,u.Cb)({type:Boolean,nonNullable:!0})],w.prototype,"visible",void 0),w=(0,i._)([(0,p.j)("esri.layers.Layer")],w);const b=w},46486:(e,t,r)=>{r.d(t,{Z:()=>d});var i=r(43697),o=(r(66577),r(5600)),n=(r(67676),r(80442),r(75215),r(71715)),s=r(52011),a=r(45322),l=r(56608),c=r(82971);const d=e=>{let t=class extends e{constructor(){super(...arguments),this.copyright=null,this.minScale=0,this.maxScale=0,this.spatialReference=null,this.tileInfo=null,this.tilemapCache=null}readMinScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}readMaxScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}get supportsBlankTile(){return this.version>=10.2}readTilemapCache(e,t){return t.capabilities&&t.capabilities.includes("Tilemap")?new l.y({layer:this}):null}};return(0,i._)([(0,o.Cb)({json:{read:{source:"copyrightText"}}})],t.prototype,"copyright",void 0),(0,i._)([(0,o.Cb)()],t.prototype,"minScale",void 0),(0,i._)([(0,n.r)("service","minScale")],t.prototype,"readMinScale",null),(0,i._)([(0,o.Cb)()],t.prototype,"maxScale",void 0),(0,i._)([(0,n.r)("service","maxScale")],t.prototype,"readMaxScale",null),(0,i._)([(0,o.Cb)({type:c.Z})],t.prototype,"spatialReference",void 0),(0,i._)([(0,o.Cb)({readOnly:!0})],t.prototype,"supportsBlankTile",null),(0,i._)([(0,o.Cb)(a.h)],t.prototype,"tileInfo",void 0),(0,i._)([(0,o.Cb)()],t.prototype,"tilemapCache",void 0),(0,i._)([(0,n.r)("service","tilemapCache",["capabilities"])],t.prototype,"readTilemapCache",null),(0,i._)([(0,o.Cb)()],t.prototype,"version",void 0),t=(0,i._)([(0,s.j)("esri.layers.mixins.ArcGISCachedService")],t),t}},17287:(e,t,r)=>{r.d(t,{Y:()=>c});var i=r(43697),o=r(92604),n=r(70586),s=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(66677);const c=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.Qc)(this.url);if((0,n.pC)(e)&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Nm)(e,o.Z.getLogger(this.declaredClass)))}};return(0,i._)([(0,s.Cb)()],t.prototype,"title",null),(0,i._)([(0,s.Cb)({type:String})],t.prototype,"url",null),t=(0,i._)([(0,a.j)("esri.layers.mixins.ArcGISService")],t),t}},38009:(e,t,r)=>{r.d(t,{q:()=>p});var i=r(43697),o=r(20102),n=r(17452),s=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(30556),c=r(50549),d=r(76169);const h={"web-scene/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledElevationServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BuildingSceneLayer:!0,GroupLayer:!0,IntegratedMeshLayer:!0,OGCFeatureLayer:!0,PointCloudLayer:!0,WebTiledLayer:!0,CSV:!0,GeoJSON:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,KML:!0,RasterDataLayer:!0,Voxel:!0,LineOfSightLayer:!0},"web-scene/basemap":{ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,WebTiledLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,ArcGISImageServiceLayer:!0,WMS:!0,ArcGISMapServiceLayer:!0},"web-scene/ground":{ArcGISTiledElevationServiceLayer:!0,RasterDataElevationLayer:!0},"web-map/operational-layers":{ArcGISAnnotationLayer:!0,ArcGISDimensionLayer:!0,ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,CSV:!0,GeoRSS:!0,GeoJSON:!0,GroupLayer:!0,KML:!0,OGCFeatureLayer:!0,SubtypeGroupLayer:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},"web-map/basemap":{ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,WMS:!0,WebTiledLayer:!0,BingMapsAerial:!0,BingMapsRoad:!0,BingMapsHybrid:!0},"web-map/tables":{ArcGISFeatureLayer:!0},"portal-item/operational-layers":{ArcGISFeatureLayer:!0,ArcGISSceneServiceLayer:!0,PointCloudLayer:!0,BuildingSceneLayer:!0,IntegratedMeshLayer:!0}};var u=r(21506);const p=e=>{let t=class extends e{constructor(){super(...arguments),this.title=null}writeListMode(e,t,r,i){(i&&"ground"===i.layerContainerType||e&&(0,d.d)(this,r,{},i))&&(t[r]=e)}writeOperationalLayerType(e,t,r,i){!e||i&&"tables"===i.layerContainerType||(t.layerType=e)}writeTitle(e,t){t.title=e||"Layer"}read(e,t){t&&(t.layer=this),(0,c.$)(this,e,(t=>super.read(e,t)),t)}write(e,t){if(t?.origin){const e=`${t.origin}/${t.layerContainerType||"operational-layers"}`,r=h[e];let i=r&&r[this.operationalLayerType];if("ArcGISTiledElevationServiceLayer"===this.operationalLayerType&&"web-scene/operational-layers"===e&&(i=!1),!i)return t.messages?.push(new o.Z("layer:unsupported",`Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e}'`,{layer:this})),null}const r=super.write(e,{...t,layer:this}),i=!!t&&!!t.messages&&!!t.messages.filter((e=>e instanceof o.Z&&"web-document-write:property-required"===e.name)).length;return(0,n.jc)(r?.url)?(t?.messages?.push(new o.Z("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&i?null:r}beforeSave(){}};return(0,i._)([(0,s.Cb)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],t.prototype,"id",void 0),(0,i._)([(0,s.Cb)(u.rT)],t.prototype,"listMode",void 0),(0,i._)([(0,l.c)("listMode")],t.prototype,"writeListMode",null),(0,i._)([(0,s.Cb)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1}}}})],t.prototype,"operationalLayerType",void 0),(0,i._)([(0,l.c)("operationalLayerType")],t.prototype,"writeOperationalLayerType",null),(0,i._)([(0,s.Cb)(u.Oh)],t.prototype,"opacity",void 0),(0,i._)([(0,s.Cb)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],t.prototype,"title",void 0),(0,i._)([(0,l.c)("title")],t.prototype,"writeTitle",null),(0,i._)([(0,s.Cb)({type:Boolean,json:{name:"visibility"}})],t.prototype,"visible",void 0),t=(0,i._)([(0,a.j)("esri.layers.mixins.OperationalLayer")],t),t}},21506:(e,t,r)=>{r.d(t,{qG:()=>b,PV:()=>g,id:()=>_,iR:()=>p,rn:()=>m,rT:()=>I,u1:()=>L,rO:()=>k,Oh:()=>v,bT:()=>w,C_:()=>u,Lx:()=>f,vg:()=>S,YI:()=>h,HQ:()=>y});var i=r(92835),o=r(6570),n=r(82971),s=r(25929),a=r(70586),l=(r(95330),r(35463)),c=r(20682),d=r(65242);const h={type:Boolean,value:!0,json:{origins:{service:{read:!1,write:!1},"web-map":{read:!1,write:!1}},name:"screenSizePerspective",write:!0}},u={type:Boolean,value:!0,json:{name:"disablePopup",read:{reader:(e,t)=>!t.disablePopup},write:{enabled:!0,writer(e,t,r){t[r]=!e}}}},p={type:Boolean,value:!0,json:{name:"showLabels",write:!0}},y={type:String,json:{origins:{"portal-item":{write:!1}},write:{isRequired:!0,ignoreOrigin:!0,writer:s.w}}},m={type:Boolean,value:!0,json:{origins:{service:{read:{enabled:!1}}},name:"showLegend",write:!0}},g={value:null,type:c.ZP,json:{origins:{service:{name:"elevationInfo",write:!0}},name:"layerDefinition.elevationInfo",write:!0}};function f(e){return{type:e,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}}}const v={type:Number,json:{origins:{"web-document":{write:!0,read:!0},"portal-item":{write:!0}}}},w={...v,json:{...v.json,origins:{"web-document":{...v.json.origins["web-document"],write:{enabled:!0,target:{opacity:{type:Number},"layerDefinition.drawingInfo.transparency":{type:Number}}}}},read:{source:["layerDefinition.drawingInfo.transparency","drawingInfo.transparency"],reader:(e,t,r)=>r&&"service"!==r.origin||!t.drawingInfo||void 0===t.drawingInfo.transparency?t.layerDefinition&&t.layerDefinition.drawingInfo&&void 0!==t.layerDefinition.drawingInfo.transparency?(0,d.b)(t.layerDefinition.drawingInfo.transparency):void 0:(0,d.b)(t.drawingInfo.transparency)}}},b={type:i.Z,readOnly:!0,get(){if(!this.layer?.timeInfo)return null;const{datesInUnknownTimezone:e,timeOffset:t,useViewTime:r}=this.layer,o=this.view?.timeExtent;let n=this.layer.timeExtent;e&&(n=function(e){if(!e)return e;const{start:t,end:r}=e;return new i.Z({start:(0,a.pC)(t)?(0,l.Nm)(t,t.getTimezoneOffset(),"minutes"):t,end:(0,a.pC)(r)?(0,l.Nm)(r,r.getTimezoneOffset(),"minutes"):r})}(n));let s=r?o&&n?o.intersection(n):o||n:n;if(!s||s.isEmpty||s.isAllTime)return s;t&&(s=s.offset(-t.value,t.unit)),e&&(s=function(e){if(!e)return e;const{start:t,end:r}=e;return new i.Z({start:(0,a.pC)(t)?(0,l.Nm)(t,-t.getTimezoneOffset(),"minutes"):t,end:(0,a.pC)(r)?(0,l.Nm)(r,-r.getTimezoneOffset(),"minutes"):r})}(s));const c=this._get("timeExtent");return s.equals(c)?c:s}},S={type:o.Z,readOnly:!0,json:{origins:{service:{read:{source:["fullExtent","spatialReference"],reader:(e,t)=>{const r=o.Z.fromJSON(e);return null!=t.spatialReference&&"object"==typeof t.spatialReference&&(r.spatialReference=n.Z.fromJSON(t.spatialReference)),r}}}},read:!1}},_={type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}}}},k={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.minScale"},write:{target:"layerDefinition.minScale"}}},L={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.maxScale"},write:{target:"layerDefinition.maxScale"}}},I={json:{write:{ignoreOrigin:!0},origins:{"web-map":{read:!1,write:!1}}}}},99282:(e,t,r)=>{r.d(t,{a:()=>n});var i=r(67900),o=r(68441);const n={inches:(0,i.En)(1,"meters","inches"),feet:(0,i.En)(1,"meters","feet"),"us-feet":(0,i.En)(1,"meters","us-feet"),yards:(0,i.En)(1,"meters","yards"),miles:(0,i.En)(1,"meters","miles"),"nautical-miles":(0,i.En)(1,"meters","nautical-miles"),millimeters:(0,i.En)(1,"meters","millimeters"),centimeters:(0,i.En)(1,"meters","centimeters"),decimeters:(0,i.En)(1,"meters","decimeters"),meters:(0,i.En)(1,"meters","meters"),kilometers:(0,i.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,i.ty)(1,"meters",o.sv.radius)}},20682:(e,t,r)=>{r.d(t,{ZP:()=>S});var i,o=r(43697),n=r(35454),s=r(96674),a=r(70586),l=r(5600),c=(r(67676),r(80442),r(75215),r(71715)),d=r(52011),h=r(30556),u=r(35671);let p=i=class extends s.wq{async collectRequiredFields(e,t){return(0,u.io)(e,t,this.expression)}clone(){return new i({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],p.prototype,"expression",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],p.prototype,"title",void 0),p=i=(0,o._)([(0,d.j)("esri.layers.support.FeatureExpressionInfo")],p);const y=p;var m=r(99282);const g=function(){const e=Object.keys(m.a);return e.sort(),e}();var f;const v=(0,n.w)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),w=new n.X({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let b=f=class extends s.wq{constructor(){super(...arguments),this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,r,i){t[r]=e.write({},i),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):(0,a.pC)(e)||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}clone(){return new f({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,a._W)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,o._)([(0,l.Cb)({type:y,json:{write:!0}})],b.prototype,"featureExpressionInfo",void 0),(0,o._)([(0,c.r)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],b.prototype,"readFeatureExpressionInfo",null),(0,o._)([(0,h.c)("featureExpressionInfo",{featureExpressionInfo:{type:y},"featureExpression.value":{type:[0]}})],b.prototype,"writeFeatureExpressionInfo",null),(0,o._)([(0,l.Cb)({type:v.apiValues,nonNullable:!0,json:{type:v.jsonValues,read:v.read,write:{writer:v.write,isRequired:!0}}})],b.prototype,"mode",null),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],b.prototype,"offset",void 0),(0,o._)([(0,l.Cb)({type:g,json:{type:String,read:w.read,write:w.write}})],b.prototype,"unit",null),b=f=(0,o._)([(0,d.j)("esri.layers.support.ElevationInfo")],b);const S=b},65242:(e,t,r)=>{r.d(t,{a:()=>o,b:()=>n});var i=r(75215);function o(e){const t=(0,i.vU)(100*(1-e));return Math.max(0,Math.min(t,100))}function n(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9932],{10699:(e,t,r)=>{r.d(t,{IG:()=>s});var i=r(43697),o=r(52011);let n=0;const s=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+n++})}};return t=(0,i._)([(0,o.j)("esri.core.Identifiable")],t),t};let a=class extends(s(class{})){};a=(0,i._)([(0,o.j)("esri.core.Identifiable")],a)},16453:(e,t,r)=>{r.d(t,{R:()=>w,w:()=>b});var i=r(43697),o=r(15923),n=r(70586),s=r(41103),a=r(22974),l=r(31263);class c{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(l.kk),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const t=new c,r=this._originStores[l.s3.DEFAULTS];r&&r.forEach(((e,r)=>{t.set(r,(0,a.d9)(e),l.s3.DEFAULTS)}));for(let r=l.s3.SERVICE;r<l.kk;r++){const i=this._originStores[r];i&&i.forEach(((i,o)=>{e&&e.has(o)||t.set(o,(0,a.d9)(i),r)}))}return t}get(e,t){const r=void 0===t?this._values:this._originStores[t];return r?r.get(e):void 0}keys(e){const t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,r=l.s3.USER){let i=this._originStores[r];if(i||(i=new Map,this._originStores[r]=i),i.set(e,t),!this._values.has(e)||(0,n.j0)(this._propertyOriginMap.get(e))<=r){const i=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,r),i!==t}return!1}delete(e,t=l.s3.USER){const r=this._originStores[t];if(!r)return;const i=r.get(e);if(r.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let r=t-1;r>=0;r--){const t=this._originStores[r];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,r);break}}}return i}has(e,t){const r=void 0===t?this._values:this._originStores[t];return!!r&&r.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;const r=this._originStores[t],i=r&&r.get(e),o=this._values.get(e);return this._values.set(e,i),this._propertyOriginMap.set(e,t),o!==i}originOf(e){return this._propertyOriginMap.get(e)||l.s3.DEFAULTS}forEach(e){this._values.forEach(e)}}var d=r(50549),h=r(1153),u=r(52011);const p=e=>{let t=class extends e{constructor(...e){super(...e);const t=(0,n.j0)((0,h.vw)(this)),r=t.store,i=new c;t.store=i,(0,s.M)(t,r,i)}read(e,t){(0,d.i)(this,e,t)}getAtOrigin(e,t){const r=y(this),i=(0,l.M9)(t);if("string"==typeof e)return r.get(e,i);const o={};return e.forEach((e=>{o[e]=r.get(e,i)})),o}originOf(e){return(0,l.x3)(this.originIdOf(e))}originIdOf(e){return y(this).originOf(e)}revert(e,t){const r=y(this),i=(0,l.M9)(t),o=(0,h.vw)(this);let n;n="string"==typeof e?"*"===e?r.keys(i):[e]:e,n.forEach((e=>{o.invalidate(e),r.revert(e,i),o.commit(e)}))}};return t=(0,i._)([(0,u.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],t),t};function y(e){return(0,h.vw)(e).store}let m=class extends(p(o.Z)){};m=(0,i._)([(0,u.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],m);var g=r(76169);const f=e=>{let t=class extends e{constructor(...e){super(...e)}clear(e,t="user"){return v(this).delete(e,(0,l.M9)(t))}write(e={},t){return(0,g.c)(this,e=e||{},t),e}setAtOrigin(e,t,r){(0,h.vw)(this).setAtOrigin(e,t,(0,l.M9)(r))}removeOrigin(e){const t=v(this),r=(0,l.M9)(e),i=t.keys(r);for(const e of i)t.originOf(e)===r&&t.set(e,t.get(e,r),l.s3.USER)}updateOrigin(e,t){const r=v(this),i=(0,l.M9)(t),o=this.get(e);for(let t=i+1;t<l.kk;++t)r.delete(e,t);r.set(e,o,i)}toJSON(e){return this.write({},e)}};return t=(0,i._)([(0,u.j)("esri.core.WriteableMultiOriginJSONSupport")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};function v(e){return(0,h.vw)(e).store}const w=e=>{let t=class extends(f(p(e))){constructor(...e){super(...e)}};return t=(0,i._)([(0,u.j)("esri.core.MultiOriginJSONSupport")],t),t};let b=class extends(w(o.Z)){};b=(0,i._)([(0,u.j)("esri.core.MultiOriginJSONSupport")],b)},78346:(e,t,r)=>{r.d(t,{bA:()=>G});var i=r(20102),o=r(80442),n=r(95330),s=r(80903),a=r(25045),l=r(40330),c=r(92604),d=r(70586),h=r(94362),u=r(99880),p=r(68773),y=(r(2587),r(17452));const m={};function g(e){const t={async:e.async,isDebug:e.isDebug,locale:e.locale,baseUrl:e.baseUrl,has:{...e.has},map:{...e.map},packages:e.packages&&e.packages.concat()||[],paths:{...e.paths}};return e.hasOwnProperty("async")||(t.async=!0),e.hasOwnProperty("isDebug")||(t.isDebug=!1),e.baseUrl||(t.baseUrl=m.baseUrl),m.packages?.forEach((e=>{!function(e,t){for(const r of e)if(r.name===t.name)return;e.push(t)}(t.packages,e)})),t}var f=r(41213);class v{constructor(){const e=document.createDocumentFragment();["addEventListener","dispatchEvent","removeEventListener"].forEach((t=>{this[t]=(...r)=>e[t](...r)}))}}class w{constructor(){this._dispatcher=new v,this._workerPostMessage({type:h.Cs.HANDSHAKE})}terminate(){}get onmessage(){return this._onmessageHandler}set onmessage(e){this._onmessageHandler&&this.removeEventListener("message",this._onmessageHandler),this._onmessageHandler=e,e&&this.addEventListener("message",e)}get onmessageerror(){return this._onmessageerrorHandler}set onmessageerror(e){this._onmessageerrorHandler&&this.removeEventListener("messageerror",this._onmessageerrorHandler),this._onmessageerrorHandler=e,e&&this.addEventListener("messageerror",e)}get onerror(){return this._onerrorHandler}set onerror(e){this._onerrorHandler&&this.removeEventListener("error",this._onerrorHandler),this._onerrorHandler=e,e&&this.addEventListener("error",e)}postMessage(e){(0,f.Y)((()=>{this._workerMessageHandler(new MessageEvent("message",{data:e}))}))}dispatchEvent(e){return this._dispatcher.dispatchEvent(e)}addEventListener(e,t,r){this._dispatcher.addEventListener(e,t,r)}removeEventListener(e,t,r){this._dispatcher.removeEventListener(e,t,r)}_workerPostMessage(e){(0,f.Y)((()=>{this.dispatchEvent(new MessageEvent("message",{data:e}))}))}async _workerMessageHandler(e){const t=(0,h.QM)(e);if(t&&t.type===h.Cs.OPEN){const{modulePath:e,jobId:r}=t;let i=await a.default.loadWorker(e);i||(i=await import(e));const o=a.default.connect(i);this._workerPostMessage({type:h.Cs.OPENED,jobId:r,data:o})}}}var b=r(70171),S=r(17202);const _=c.Z.getLogger("esri.core.workers"),{HANDSHAKE:k}=h.Cs;let L,I;const E="Failed to create Worker. Fallback to execute module in main thread";async function C(e){return new Promise((t=>{function r(o){const n=(0,h.QM)(o);n&&n.type===k&&(e.removeEventListener("message",r),e.removeEventListener("error",i),t(e))}function i(t){t.preventDefault(),e.removeEventListener("message",r),e.removeEventListener("error",i),_.warn("Failed to create Worker. Fallback to execute module in main thread",t),(e=new w).addEventListener("message",r),e.addEventListener("error",i)}e.addEventListener("message",r),e.addEventListener("error",i)}))}let M=0;const O=c.Z.getLogger("esri.core.workers"),{ABORT:T,INVOKE:x,OPEN:j,OPENED:D,RESPONSE:A}=h.Cs;class N{constructor(e,t){this._outJobs=new Map,this._inJobs=new Map,this.worker=e,this.id=t,e.addEventListener("message",this._onMessage.bind(this)),e.addEventListener("error",(e=>{e.preventDefault(),O.error(e)}))}static async create(e){const t=await async function(){if(!(0,o.Z)("esri-workers")||((0,o.Z)("mozilla"),0))return C(new w);if(!L&&!I)try{const e='let globalId=0;const outgoing=new Map,configuration=JSON.parse("{CONFIGURATION}");self.esriConfig=configuration.esriConfig;const workerPath=self.esriConfig.workers.workerPath,HANDSHAKE=0,OPEN=1,OPENED=2,RESPONSE=3,INVOKE=4,ABORT=5;function createAbortError(){const e=new Error("Aborted");return e.name="AbortError",e}function receiveMessage(e){return e&&e.data?"string"==typeof e.data?JSON.parse(e.data):e.data:null}function invokeStaticMessage(e,o,r){const t=r&&r.signal,n=globalId++;return new Promise(((r,i)=>{if(t){if(t.aborted)return i(createAbortError());t.addEventListener("abort",(()=>{outgoing.get(n)&&(outgoing.delete(n),self.postMessage({type:5,jobId:n}),i(createAbortError()))}))}outgoing.set(n,{resolve:r,reject:i}),self.postMessage({type:4,jobId:n,methodName:e,abortable:null!=t,data:o})}))}let workerRevisionChecked=!1;function checkWorkerRevision(e){if(!workerRevisionChecked&&e.kernelInfo){workerRevisionChecked=!0;const{revision:o,buildDate:r,version:t}=configuration.kernelInfo,{revision:n,buildDate:i,version:s}=e.kernelInfo;o!==n&&console.warn(`[esri.core.workers] Version mismatch detected between ArcGIS API for JavaScript and assets:\\nAPI version: ${t} [Date: ${r}, Revision: ${o.slice(0,8)}]\nAssets version: ${s} [Date: ${i}, Revision: ${n.slice(0,8)}]`)}}function messageHandler(e){const o=receiveMessage(e);if(!o)return;const r=o.jobId;switch(o.type){case 1:let e;function t(o){const t=e.connect(o);self.postMessage({type:2,jobId:r,data:t},[t])}"function"==typeof define&&define.amd?require([workerPath],(r=>{e=r.default||r,checkWorkerRevision(e),e.loadWorker(o.modulePath).then((e=>e||new Promise((e=>{require([o.modulePath],e)})))).then(t)})):"System"in self&&"function"==typeof System.import?System.import(workerPath).then((r=>(e=r.default,checkWorkerRevision(e),e.loadWorker(o.modulePath)))).then((e=>e||System.import(o.modulePath))).then(t):esriConfig.workers.useDynamicImport?import(workerPath).then((r=>{e=r.default||r,checkWorkerRevision(e),e.loadWorker(o.modulePath).then((e=>e||import(o.modulePath))).then(t)})):(self.RemoteClient||importScripts(workerPath),e=self.RemoteClient.default||self.RemoteClient,checkWorkerRevision(e),e.loadWorker(o.modulePath).then(t));break;case 3:if(outgoing.has(r)){const e=outgoing.get(r);outgoing.delete(r),o.error?e.reject(JSON.parse(o.error)):e.resolve(o.data)}}}self.dojoConfig=configuration.loaderConfig,esriConfig.workers.loaderUrl&&(self.importScripts(esriConfig.workers.loaderUrl),"function"==typeof require&&"function"==typeof require.config&&require.config(configuration.loaderConfig)),self.addEventListener("message",messageHandler),self.postMessage({type:0});'.replace('"{CONFIGURATION}"',`'${function(){let e;if(null!=p.Z.default){const t={...p.Z};delete t.default,e=JSON.parse(JSON.stringify(t))}else e=JSON.parse(JSON.stringify(p.Z));e.assetsPath=(0,y.hF)(e.assetsPath),e.request.interceptors=[],e.log.interceptors=[],e.locale=(0,b.Kd)(),e.has={"esri-csp-restrictions":(0,o.Z)("esri-csp-restrictions"),"esri-2d-debug":!1,"esri-2d-update-debug":(0,o.Z)("esri-2d-update-debug"),"esri-2d-query-centroid-enabled":(0,o.Z)("esri-2d-query-centroid-enabled"),"featurelayer-pbf":(0,o.Z)("featurelayer-pbf"),"featurelayer-simplify-thresholds":(0,o.Z)("featurelayer-simplify-thresholds"),"featurelayer-simplify-payload-size-factors":(0,o.Z)("featurelayer-simplify-payload-size-factors"),"featurelayer-simplify-mobile-factor":(0,o.Z)("featurelayer-simplify-mobile-factor"),"esri-atomics":(0,o.Z)("esri-atomics"),"esri-shared-array-buffer":(0,o.Z)("esri-shared-array-buffer"),"esri-tiles-debug":(0,o.Z)("esri-tiles-debug"),"esri-workers-arraybuffer-transfer":(0,o.Z)("esri-workers-arraybuffer-transfer"),"feature-polyline-generalization-factor":(0,o.Z)("feature-polyline-generalization-factor"),"host-webworker":1},e.workers.loaderUrl&&(e.workers.loaderUrl=(0,y.hF)(e.workers.loaderUrl)),e.workers.workerPath?e.workers.workerPath=(0,y.hF)(e.workers.workerPath):e.workers.workerPath=(0,y.hF)((0,u.V)("esri/core/workers/RemoteClient.js")),e.workers.useDynamicImport=!1;const t=p.Z.workers.loaderConfig,r=g({baseUrl:t?.baseUrl,locale:(0,b.Kd)(),has:{"csp-restrictions":1,"dojo-test-sniff":0,"host-webworker":1,...t?.has},map:{...t?.map},paths:{...t?.paths},packages:t?.packages||[]}),i={version:l.i8,buildDate:S.r,revision:S.$};return JSON.stringify({esriConfig:e,loaderConfig:r,kernelInfo:i})}()}'`);L=URL.createObjectURL(new Blob([e],{type:"text/javascript"}))}catch(e){I=e||{}}let e;if(L)try{e=new Worker(L,{name:"esri-worker-"+M++})}catch(t){_.warn(E,I),e=new w}else _.warn(E,I),e=new w;return C(e)}();return new N(t,e)}terminate(){this.worker.terminate()}async open(e,t={}){const{signal:r}=t,i=(0,h.jt)();return new Promise(((t,o)=>{const s={resolve:t,reject:o,abortHandle:(0,n.$F)(r,(()=>{this._outJobs.delete(i),this._post({type:T,jobId:i})}))};this._outJobs.set(i,s),this._post({type:j,jobId:i,modulePath:e})}))}_onMessage(e){const t=(0,h.QM)(e);if(t)switch(t.type){case D:this._onOpenedMessage(t);break;case A:this._onResponseMessage(t);break;case T:this._onAbortMessage(t);break;case x:this._onInvokeMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,i=t.get(r);i&&(i.controller&&i.controller.abort(),t.delete(r))}_onInvokeMessage(e){const{methodName:t,jobId:r,data:i,abortable:o}=e,s=o?new AbortController:null,a=this._inJobs,c=l.Nv[t];let d;try{if("function"!=typeof c)throw new TypeError(`${t} is not a function`);d=c.call(null,i,{signal:s?s.signal:null})}catch(e){return void this._post({type:A,jobId:r,error:(0,h.AB)(e)})}(0,n.y8)(d)?(a.set(r,{controller:s,promise:d}),d.then((e=>{a.has(r)&&(a.delete(r),this._post({type:A,jobId:r},e))}),(e=>{a.has(r)&&(a.delete(r),e||(e={message:"Error encountered at method"+t}),(0,n.D_)(e)||this._post({type:A,jobId:r,error:(0,h.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:A,jobId:r},d)}_onOpenedMessage(e){const{jobId:t,data:r}=e,i=this._outJobs.get(t);i&&(this._outJobs.delete(t),(0,d.hw)(i.abortHandle),i.resolve(r))}_onResponseMessage(e){const{jobId:t,error:r,data:o}=e,n=this._outJobs.get(t);n&&(this._outJobs.delete(t),(0,d.hw)(n.abortHandle),r?n.reject(i.Z.fromJSON(JSON.parse(r))):n.resolve(o))}_post(e,t,r){return(0,h.oi)(this.worker,e,t,r)}}let R=(0,o.Z)("esri-workers-debug")?1:(0,o.Z)("host-browser")?navigator.hardwareConcurrency-1:0;R||(R=(0,o.Z)("safari")&&(0,o.Z)("mac")||(0,o.Z)("trident")?7:2);let Z=0;const P=[];async function U(e,t){const r=new s.Z;return await r.open(e,t),r}async function G(e,t={}){if("string"!=typeof e)throw new i.Z("workers:undefined-module","modulePath is missing");let r=t.strategy||"distributed";if((0,o.Z)("host-webworker")&&!(0,o.Z)("esri-workers")&&(r="local"),"local"===r){let r=await a.default.loadWorker(e);r||(r=await import(e)),(0,n.k_)(t.signal);const i=t.client||r;return U([a.default.connect(r)],{...t,client:i})}if(await async function(){if(H)return H;$=new AbortController;const e=[];for(let t=0;t<R;t++){const r=N.create(t).then((e=>(P[t]=e,e)));e.push(r)}return H=Promise.all(e),H}(),(0,n.k_)(t.signal),"dedicated"===r){const r=Z++%R;return U([await P[r].open(e,t)],t)}if(t.maxNumWorkers&&t.maxNumWorkers>0){const r=Math.min(t.maxNumWorkers,R);if(r<R){const i=new Array(r);for(let o=0;o<r;++o){const r=Z++%R;i[o]=P[r].open(e,t)}return U(i,t)}}return U(P.map((r=>r.open(e,t))),t)}let $,H=null},79235:(e,t,r)=>{r.d(t,{Z:()=>w});var i,o=r(43697),n=r(67676),s=r(35454),a=r(96674),l=r(67900),c=r(20941),d=r(5600),h=(r(80442),r(75215),r(71715)),u=r(52011),p=r(30556);const y=(0,s.w)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),m=y.jsonValues.slice();(0,n.e$)(m,"orthometric");const g=(0,s.w)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let f=i=class extends a.wq{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return y.write(e,t,r)}readHeightModel(e,t,r){return y.read(e)||(r&&r.messages&&r.messages.push(function(e,t){return new c.Z("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return g.read(e)||(r&&r.messages&&r.messages.push(v(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,l.$C)(e)||g.read(e)||(r&&r.messages&&r.messages.push(v(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,l.cM)(t);return new i({heightModel:e.heightModel,heightUnit:r,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function v(e,t){return new c.Z("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,o._)([(0,d.Cb)({type:y.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:m,default:"ellipsoidal"}}}})],f.prototype,"heightModel",void 0),(0,o._)([(0,p.c)("web-scene","heightModel")],f.prototype,"writeHeightModel",null),(0,o._)([(0,h.r)(["web-scene","service"],"heightModel")],f.prototype,"readHeightModel",null),(0,o._)([(0,d.Cb)({type:g.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g.jsonValues,write:g.write}}}})],f.prototype,"heightUnit",void 0),(0,o._)([(0,h.r)("web-scene","heightUnit")],f.prototype,"readHeightUnit",null),(0,o._)([(0,h.r)("service","heightUnit")],f.prototype,"readHeightUnitService",null),(0,o._)([(0,d.Cb)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"vertCRS",void 0),(0,o._)([(0,h.r)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],f.prototype,"readVertCRS",null),f=i=(0,o._)([(0,u.j)("esri.geometry.HeightModelInfo")],f);const w=f},2587:(e,t,r)=>{r(90344),r(18848),r(940),r(70171);var i=r(94443),o=r(3172),n=r(20102),s=r(70586);async function a(e){if((0,s.pC)(c.fetchBundleAsset))return c.fetchBundleAsset(e);const t=await(0,o.default)(e,{responseType:"text"});return JSON.parse(t.data)}class l{constructor({base:e="",pattern:t,location:r=new URL(window.location.href)}){let i;i="string"==typeof r?e=>new URL(e,new URL(r,window.location.href)).href:r instanceof URL?e=>new URL(e,r).href:r,this.pattern="string"==typeof t?new RegExp(`^${t}`):t,this.getAssetUrl=i,e=e?e.endsWith("/")?e:e+"/":"",this.matcher=new RegExp(`^${e}(?:(.*)/)?(.*)$`)}fetchMessageBundle(e,t){return async function(e,t,r,o){const s=t.exec(r);if(!s)throw new n.Z("esri-intl:invalid-bundle",`Bundle id "${r}" is not compatible with the pattern "${t}"`);const l=s[1]?`${s[1]}/`:"",c=s[2],d=(0,i.Su)(o),h=`${l}${c}.json`,u=d?`${l}${c}_${d}.json`:h;let p;try{p=await a(e(u))}catch(t){if(u===h)throw new n.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:t});try{p=await a(e(h))}catch(e){throw new n.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:e})}}return p}(this.getAssetUrl,this.matcher,e,t)}}const c={};var d,h=r(99880);(0,i.tz)((d={pattern:"esri/",location:h.V},new l(d)))},90344:(e,t,r)=>{r.d(t,{Ze:()=>g,p6:()=>f});var i=r(35454),o=r(70171);const n={year:"numeric",month:"numeric",day:"numeric"},s={year:"numeric",month:"long",day:"numeric"},a={year:"numeric",month:"short",day:"numeric"},l={year:"numeric",month:"long",weekday:"long",day:"numeric"},c={hour:"numeric",minute:"numeric"},d={...c,second:"numeric"},h={"short-date":n,"short-date-short-time":{...n,...c},"short-date-short-time-24":{...n,...c,hour12:!1},"short-date-long-time":{...n,...d},"short-date-long-time-24":{...n,...d,hour12:!1},"short-date-le":n,"short-date-le-short-time":{...n,...c},"short-date-le-short-time-24":{...n,...c,hour12:!1},"short-date-le-long-time":{...n,...d},"short-date-le-long-time-24":{...n,...d,hour12:!1},"long-month-day-year":s,"long-month-day-year-short-time":{...s,...c},"long-month-day-year-short-time-24":{...s,...c,hour12:!1},"long-month-day-year-long-time":{...s,...d},"long-month-day-year-long-time-24":{...s,...d,hour12:!1},"day-short-month-year":a,"day-short-month-year-short-time":{...a,...c},"day-short-month-year-short-time-24":{...a,...c,hour12:!1},"day-short-month-year-long-time":{...a,...d},"day-short-month-year-long-time-24":{...a,...d,hour12:!1},"long-date":l,"long-date-short-time":{...l,...c},"long-date-short-time-24":{...l,...c,hour12:!1},"long-date-long-time":{...l,...d},"long-date-long-time-24":{...l,...d,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":c,"long-time":d},u=(0,i.w)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),p=(u.apiValues,u.toJSON.bind(u),u.fromJSON.bind(u),{ar:"ar-u-nu-latn-ca-gregory"});let y=new WeakMap,m=h["short-date-short-time"];function g(e){return h[e]||null}function f(e,t){return function(e){const t=e||m;if(!y.has(t)){const e=(0,o.Kd)(),r=p[(0,o.Kd)()]||e;y.set(t,new Intl.DateTimeFormat(r,t))}return y.get(t)}(t).format(e)}(0,o.Ze)((()=>{y=new WeakMap,m=h["short-date-short-time"]}))},18848:(e,t,r)=>{r.d(t,{sh:()=>l,uf:()=>c});var i=r(70586),o=r(70171);const n={ar:"ar-u-nu-latn"};let s=new WeakMap,a={};function l(e={}){const t={};return null!=e.digitSeparator&&(t.useGrouping=e.digitSeparator),null!=e.places&&(t.minimumFractionDigits=t.maximumFractionDigits=e.places),t}function c(e,t){return-0===e&&(e=0),function(e){const t=e||a;if(!s.has(t)){const r=(0,o.Kd)(),i=n[(0,o.Kd)()]||r;s.set(t,new Intl.NumberFormat(i,e))}return(0,i.j0)(s.get(t))}(t).format(e)}(0,o.Ze)((()=>{s=new WeakMap,a={}}))},940:(e,t,r)=>{r.d(t,{n:()=>c});var i=r(92604),o=r(78286),n=r(19153),s=r(90344),a=r(18848);const l=i.Z.getLogger("esri.intl");function c(e,t,r={}){const{format:i={}}=r;return(0,n.gx)(e,(e=>function(e,t,r){let i,n;const s=e.indexOf(":");if(-1===s?i=e.trim():(i=e.slice(0,s).trim(),n=e.slice(s+1).trim()),!i)return"";const a=(0,o.hS)(i,t);if(null==a)return"";const l=r[n]||r[i];return l?d(a,l):n?h(a,n):u(a)}(e,t,i)))}function d(e,t){switch(t.type){case"date":return(0,s.p6)(e,t.intlOptions);case"number":return(0,a.uf)(e,t.intlOptions);default:return l.warn("missing format descriptor for key {key}"),u(e)}}function h(e,t){switch(t.toLowerCase()){case"dateformat":return(0,s.p6)(e);case"numberformat":return(0,a.uf)(e);default:return l.warn(`inline format is unsupported since 4.12: ${t}`),/^(dateformat|datestring)/i.test(t)?(0,s.p6)(e):/^numberformat/i.test(t)?(0,a.uf)(e):u(e)}}function u(e){switch(typeof e){case"string":return e;case"number":return(0,a.uf)(e);case"boolean":return""+e;default:return e instanceof Date?(0,s.p6)(e):""}}},49932:(e,t,r)=>{r.r(t),r.d(t,{default:()=>O});var i=r(43697),o=r(3172),n=r(20102),s=r(92604),a=r(70586),l=r(16453),c=r(95330),d=r(17452),h=r(5600),u=r(67676),p=(r(80442),r(75215),r(71715)),y=r(52011),m=r(79235),g=r(87085),f=r(46486),v=r(17287),w=r(38009),b=r(16859),S=r(21506),_=r(50758),k=r(78346);const L=s.Z.getLogger("esri.core.workers.WorkerHandle");class I extends class{constructor(e,t,r,i,o={}){this._mainMethod=t,this._transferLists=r,this._listeners=[],this._promise=(0,k.bA)(e,{...o,schedule:i}).then((e=>{if(void 0===this._thread){this._thread=e,this._promise=null,o.hasInitialize&&this.broadcast({},"initialize");for(const e of this._listeners)this._connectListener(e)}else e.close()})),this._promise.catch((t=>L.error(`Failed to initialize ${e} worker: ${t}`)))}on(e,t){const r={removed:!1,eventName:e,callback:t,threadHandle:null};return this._listeners.push(r),this._connectListener(r),(0,_.kB)((()=>{r.removed=!0,(0,u.Od)(this._listeners,r),this._thread&&(0,a.pC)(r.threadHandle)&&r.threadHandle.remove()}))}destroy(){this._thread&&(this._thread.close(),this._thread=null),this._promise=null}invoke(e,t){return this.invokeMethod(this._mainMethod,e,t)}invokeMethod(e,t,r){if(this._thread){const i=this._transferLists[e],o=i?i(t):[];return this._thread.invoke(e,t,{transferList:o,signal:r})}return this._promise?this._promise.then((()=>((0,c.k_)(r),this.invokeMethod(e,t,r)))):Promise.reject(null)}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then((()=>{})):this._promise?this._promise.then((()=>this.broadcast(e,t))):Promise.reject()}get promise(){return this._promise}_connectListener(e){this._thread&&this._thread.on(e.eventName,e.callback).then((t=>{e.removed||(e.threadHandle=t)}))}}{constructor(e=null){super("LercWorker","_decode",{_decode:e=>[e.buffer]},e,{strategy:"dedicated"}),this.schedule=e,this.ref=0}decode(e,t,r){return e&&0!==e.byteLength?this.invoke({buffer:e,options:t},r):Promise.resolve(null)}release(){--this.ref<=0&&(E.forEach(((e,t)=>{e===this&&E.delete(t)})),this.destroy())}}const E=new Map,C=s.Z.getLogger("esri.layers.ElevationLayer");let M=class extends((0,f.Z)((0,v.Y)((0,w.q)((0,b.I)((0,l.R)(g.Z)))))){constructor(...e){super(...e),this.copyright=null,this.heightModelInfo=null,this.path=null,this.opacity=1,this.operationalLayerType="ArcGISTiledElevationServiceLayer",this.sourceJSON=null,this.type="elevation",this.url=null,this.version=null,this._lercDecoder=function(e=null){let t=E.get((0,a.Wg)(e));return t||((0,a.pC)(e)?(t=new I((t=>e.schedule(t))),E.set(e,t)):(t=new I,E.set(null,t))),++t.ref,t}()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this._lercDecoder=(0,a.RY)(this._lercDecoder)}set minScale(e){this.constructed&&C.warn(`${this.declaredClass}.minScale support has been removed (since 4.5)`)}get minScale(){}set maxScale(e){this.constructed&&C.warn(`${this.declaredClass}.maxScale support has been removed (since 4.5)`)}get maxScale(){}readVersion(e,t){let r=t.currentVersion;return r||(r=9.3),r}load(e){const t=(0,a.pC)(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"],supportsData:!1,validateItem:e=>{for(let t=0;t<e.typeKeywords.length;t++)if("elevation 3d layer"===e.typeKeywords[t].toLowerCase())return!0;throw new n.Z("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}' ",{type:"Image Service",expectedType:"Image Service Elevation 3D Layer"})}},e).catch(c.r9).then((()=>this._fetchImageService(t)))),Promise.resolve(this)}fetchTile(e,t,r,i){const n=(0,a.pC)((i=i||{signal:null}).signal)?i.signal:i.signal=(new AbortController).signal,s={responseType:"array-buffer",signal:n},l={noDataValue:i.noDataValue,returnFileInfo:!0};return this.load().then((()=>this._fetchTileAvailability(e,t,r,i))).then((()=>(0,o.default)(this.getTileUrl(e,t,r),s))).then((e=>this._lercDecoder.decode(e.data,l,n))).then((e=>({values:e.pixelData,width:e.width,height:e.height,maxZError:e.fileInfo.maxZError,noDataValue:e.noDataValue,minValue:e.minValue,maxValue:e.maxValue})))}getTileUrl(e,t,r){const i=!this.tilemapCache&&this.supportsBlankTile,o=(0,d.B7)({...this.parsedUrl.query,blankTile:!i&&null});return`${this.parsedUrl.path}/tile/${e}/${t}/${r}${o?"?"+o:""}`}async queryElevation(e,t){const{ElevationQuery:i}=await Promise.all([r.e(4547),r.e(3127)]).then(r.bind(r,33127));return(0,c.k_)(t),(new i).query(this,e,t)}async createElevationSampler(e,t){const{ElevationQuery:i}=await Promise.all([r.e(4547),r.e(3127)]).then(r.bind(r,33127));return(0,c.k_)(t),(new i).createSampler(this,e,t)}_fetchTileAvailability(e,t,r,i){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,t,r,i):Promise.resolve("unknown")}async _fetchImageService(e){if(this.sourceJSON)return this.sourceJSON;const t={query:{f:"json",...this.parsedUrl.query},responseType:"json",signal:e},r=await(0,o.default)(this.parsedUrl.path,t);r.ssl&&(this.url=this.url.replace(/^http:/i,"https:")),this.sourceJSON=r.data,this.read(r.data,{origin:"service",url:this.parsedUrl})}get hasOverriddenFetchTile(){return!this.fetchTile.__isDefault__}};(0,i._)([(0,h.Cb)({json:{read:{source:"copyrightText"}}})],M.prototype,"copyright",void 0),(0,i._)([(0,h.Cb)({readOnly:!0,type:m.Z})],M.prototype,"heightModelInfo",void 0),(0,i._)([(0,h.Cb)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],M.prototype,"path",void 0),(0,i._)([(0,h.Cb)({type:["show","hide"]})],M.prototype,"listMode",void 0),(0,i._)([(0,h.Cb)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],M.prototype,"minScale",null),(0,i._)([(0,h.Cb)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],M.prototype,"maxScale",null),(0,i._)([(0,h.Cb)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],M.prototype,"opacity",void 0),(0,i._)([(0,h.Cb)({type:["ArcGISTiledElevationServiceLayer"]})],M.prototype,"operationalLayerType",void 0),(0,i._)([(0,h.Cb)()],M.prototype,"sourceJSON",void 0),(0,i._)([(0,h.Cb)({json:{read:!1},value:"elevation",readOnly:!0})],M.prototype,"type",void 0),(0,i._)([(0,h.Cb)(S.HQ)],M.prototype,"url",void 0),(0,i._)([(0,h.Cb)()],M.prototype,"version",void 0),(0,i._)([(0,p.r)("version",["currentVersion"])],M.prototype,"readVersion",null),M=(0,i._)([(0,y.j)("esri.layers.ElevationLayer")],M),M.prototype.fetchTile.__isDefault__=!0;const O=M},87085:(e,t,r)=>{r.d(t,{Z:()=>b});var i=r(43697),o=(r(66577),r(3172)),n=r(20102),s=r(32448),a=r(10699),l=r(83379),c=r(92604),d=r(95330),h=r(17452),u=r(5600),p=(r(67676),r(80442),r(75215),r(52011)),y=r(68773);const m=c.Z.getLogger("esri.layers.support.fromPortalItem");var g=r(6570),f=r(82971);let v=0,w=class extends(s.Z.EventedMixin((0,a.IG)(l.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new g.Z(-180,-90,180,90,f.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+v++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=f.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await r.e(3529).then(r.bind(r,63529))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},i=await Promise.all([r.e(4547),r.e(8008)]).then(r.bind(r,28008));try{return await i.fromItem(t)}catch(e){const r=t&&t.portalItem,i=r&&r.id||"unset",o=r&&r.portal&&r.portal.url||y.Z.portalUrl;throw m.error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch((e=>{(0,d.D_)(e)||c.Z.getLogger(this.declaredClass).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})}))}destroy(){if(this.parent){const e=this,t=this.parent;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"baseLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){const e=this.url;return e?(0,h.mN)(e):null}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,o.default)(e,{query:{f:"json"},responseType:"json"})).data;throw new n.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,i._)([(0,u.Cb)({type:String})],w.prototype,"attributionDataUrl",void 0),(0,i._)([(0,u.Cb)({type:g.Z})],w.prototype,"fullExtent",void 0),(0,i._)([(0,u.Cb)({readOnly:!0})],w.prototype,"hasAttributionData",null),(0,i._)([(0,u.Cb)({type:String,clonable:!1})],w.prototype,"id",void 0),(0,i._)([(0,u.Cb)({type:Boolean,nonNullable:!0})],w.prototype,"legendEnabled",void 0),(0,i._)([(0,u.Cb)({type:["show","hide","hide-children"]})],w.prototype,"listMode",void 0),(0,i._)([(0,u.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],w.prototype,"opacity",void 0),(0,i._)([(0,u.Cb)({clonable:!1})],w.prototype,"parent",void 0),(0,i._)([(0,u.Cb)({readOnly:!0})],w.prototype,"parsedUrl",null),(0,i._)([(0,u.Cb)({type:Boolean})],w.prototype,"popupEnabled",void 0),(0,i._)([(0,u.Cb)({type:Boolean})],w.prototype,"attributionVisible",void 0),(0,i._)([(0,u.Cb)({type:f.Z})],w.prototype,"spatialReference",void 0),(0,i._)([(0,u.Cb)({type:String})],w.prototype,"title",void 0),(0,i._)([(0,u.Cb)({readOnly:!0,json:{read:!1}})],w.prototype,"type",void 0),(0,i._)([(0,u.Cb)()],w.prototype,"url",void 0),(0,i._)([(0,u.Cb)({type:Boolean,nonNullable:!0})],w.prototype,"visible",void 0),w=(0,i._)([(0,p.j)("esri.layers.Layer")],w);const b=w},46486:(e,t,r)=>{r.d(t,{Z:()=>d});var i=r(43697),o=(r(66577),r(5600)),n=(r(67676),r(80442),r(75215),r(71715)),s=r(52011),a=r(45322),l=r(56608),c=r(82971);const d=e=>{let t=class extends e{constructor(){super(...arguments),this.copyright=null,this.minScale=0,this.maxScale=0,this.spatialReference=null,this.tileInfo=null,this.tilemapCache=null}readMinScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}readMaxScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}get supportsBlankTile(){return this.version>=10.2}readTilemapCache(e,t){return t.capabilities&&t.capabilities.includes("Tilemap")?new l.y({layer:this}):null}};return(0,i._)([(0,o.Cb)({json:{read:{source:"copyrightText"}}})],t.prototype,"copyright",void 0),(0,i._)([(0,o.Cb)()],t.prototype,"minScale",void 0),(0,i._)([(0,n.r)("service","minScale")],t.prototype,"readMinScale",null),(0,i._)([(0,o.Cb)()],t.prototype,"maxScale",void 0),(0,i._)([(0,n.r)("service","maxScale")],t.prototype,"readMaxScale",null),(0,i._)([(0,o.Cb)({type:c.Z})],t.prototype,"spatialReference",void 0),(0,i._)([(0,o.Cb)({readOnly:!0})],t.prototype,"supportsBlankTile",null),(0,i._)([(0,o.Cb)(a.h)],t.prototype,"tileInfo",void 0),(0,i._)([(0,o.Cb)()],t.prototype,"tilemapCache",void 0),(0,i._)([(0,n.r)("service","tilemapCache",["capabilities"])],t.prototype,"readTilemapCache",null),(0,i._)([(0,o.Cb)()],t.prototype,"version",void 0),t=(0,i._)([(0,s.j)("esri.layers.mixins.ArcGISCachedService")],t),t}},17287:(e,t,r)=>{r.d(t,{Y:()=>c});var i=r(43697),o=r(92604),n=r(70586),s=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(66677);const c=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.Qc)(this.url);if((0,n.pC)(e)&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Nm)(e,o.Z.getLogger(this.declaredClass)))}};return(0,i._)([(0,s.Cb)()],t.prototype,"title",null),(0,i._)([(0,s.Cb)({type:String})],t.prototype,"url",null),t=(0,i._)([(0,a.j)("esri.layers.mixins.ArcGISService")],t),t}},38009:(e,t,r)=>{r.d(t,{q:()=>p});var i=r(43697),o=r(20102),n=r(17452),s=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(30556),c=r(50549),d=r(76169);const h={"web-scene/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledElevationServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BuildingSceneLayer:!0,GroupLayer:!0,IntegratedMeshLayer:!0,OGCFeatureLayer:!0,PointCloudLayer:!0,WebTiledLayer:!0,CSV:!0,GeoJSON:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,KML:!0,RasterDataLayer:!0,Voxel:!0,LineOfSightLayer:!0},"web-scene/basemap":{ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,WebTiledLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,ArcGISImageServiceLayer:!0,WMS:!0,ArcGISMapServiceLayer:!0},"web-scene/ground":{ArcGISTiledElevationServiceLayer:!0,RasterDataElevationLayer:!0},"web-map/operational-layers":{ArcGISAnnotationLayer:!0,ArcGISDimensionLayer:!0,ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,CSV:!0,GeoRSS:!0,GeoJSON:!0,GroupLayer:!0,KML:!0,OGCFeatureLayer:!0,SubtypeGroupLayer:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},"web-map/basemap":{ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,WMS:!0,WebTiledLayer:!0,BingMapsAerial:!0,BingMapsRoad:!0,BingMapsHybrid:!0},"web-map/tables":{ArcGISFeatureLayer:!0},"portal-item/operational-layers":{ArcGISFeatureLayer:!0,ArcGISSceneServiceLayer:!0,PointCloudLayer:!0,BuildingSceneLayer:!0,IntegratedMeshLayer:!0}};var u=r(21506);const p=e=>{let t=class extends e{constructor(){super(...arguments),this.title=null}writeListMode(e,t,r,i){(i&&"ground"===i.layerContainerType||e&&(0,d.d)(this,r,{},i))&&(t[r]=e)}writeOperationalLayerType(e,t,r,i){!e||i&&"tables"===i.layerContainerType||(t.layerType=e)}writeTitle(e,t){t.title=e||"Layer"}read(e,t){t&&(t.layer=this),(0,c.$)(this,e,(t=>super.read(e,t)),t)}write(e,t){if(t?.origin){const e=`${t.origin}/${t.layerContainerType||"operational-layers"}`,r=h[e];let i=r&&r[this.operationalLayerType];if("ArcGISTiledElevationServiceLayer"===this.operationalLayerType&&"web-scene/operational-layers"===e&&(i=!1),!i)return t.messages?.push(new o.Z("layer:unsupported",`Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e}'`,{layer:this})),null}const r=super.write(e,{...t,layer:this}),i=!!t&&!!t.messages&&!!t.messages.filter((e=>e instanceof o.Z&&"web-document-write:property-required"===e.name)).length;return(0,n.jc)(r?.url)?(t?.messages?.push(new o.Z("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&i?null:r}beforeSave(){}};return(0,i._)([(0,s.Cb)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],t.prototype,"id",void 0),(0,i._)([(0,s.Cb)(u.rT)],t.prototype,"listMode",void 0),(0,i._)([(0,l.c)("listMode")],t.prototype,"writeListMode",null),(0,i._)([(0,s.Cb)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1}}}})],t.prototype,"operationalLayerType",void 0),(0,i._)([(0,l.c)("operationalLayerType")],t.prototype,"writeOperationalLayerType",null),(0,i._)([(0,s.Cb)(u.Oh)],t.prototype,"opacity",void 0),(0,i._)([(0,s.Cb)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],t.prototype,"title",void 0),(0,i._)([(0,l.c)("title")],t.prototype,"writeTitle",null),(0,i._)([(0,s.Cb)({type:Boolean,json:{name:"visibility"}})],t.prototype,"visible",void 0),t=(0,i._)([(0,a.j)("esri.layers.mixins.OperationalLayer")],t),t}},21506:(e,t,r)=>{r.d(t,{qG:()=>b,PV:()=>g,id:()=>_,iR:()=>p,rn:()=>m,rT:()=>I,u1:()=>L,rO:()=>k,Oh:()=>v,bT:()=>w,C_:()=>u,Lx:()=>f,vg:()=>S,YI:()=>h,HQ:()=>y});var i=r(92835),o=r(6570),n=r(82971),s=r(25929),a=r(70586),l=(r(95330),r(35463)),c=r(86787),d=r(65242);const h={type:Boolean,value:!0,json:{origins:{service:{read:!1,write:!1},"web-map":{read:!1,write:!1}},name:"screenSizePerspective",write:!0}},u={type:Boolean,value:!0,json:{name:"disablePopup",read:{reader:(e,t)=>!t.disablePopup},write:{enabled:!0,writer(e,t,r){t[r]=!e}}}},p={type:Boolean,value:!0,json:{name:"showLabels",write:!0}},y={type:String,json:{origins:{"portal-item":{write:!1}},write:{isRequired:!0,ignoreOrigin:!0,writer:s.w}}},m={type:Boolean,value:!0,json:{origins:{service:{read:{enabled:!1}}},name:"showLegend",write:!0}},g={value:null,type:c.ZP,json:{origins:{service:{name:"elevationInfo",write:!0}},name:"layerDefinition.elevationInfo",write:!0}};function f(e){return{type:e,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}}}const v={type:Number,json:{origins:{"web-document":{write:!0,read:!0},"portal-item":{write:!0}}}},w={...v,json:{...v.json,origins:{"web-document":{...v.json.origins["web-document"],write:{enabled:!0,target:{opacity:{type:Number},"layerDefinition.drawingInfo.transparency":{type:Number}}}}},read:{source:["layerDefinition.drawingInfo.transparency","drawingInfo.transparency"],reader:(e,t,r)=>r&&"service"!==r.origin||!t.drawingInfo||void 0===t.drawingInfo.transparency?t.layerDefinition&&t.layerDefinition.drawingInfo&&void 0!==t.layerDefinition.drawingInfo.transparency?(0,d.b)(t.layerDefinition.drawingInfo.transparency):void 0:(0,d.b)(t.drawingInfo.transparency)}}},b={type:i.Z,readOnly:!0,get(){if(!this.layer?.timeInfo)return null;const{datesInUnknownTimezone:e,timeOffset:t,useViewTime:r}=this.layer,o=this.view?.timeExtent;let n=this.layer.timeExtent;e&&(n=function(e){if(!e)return e;const{start:t,end:r}=e;return new i.Z({start:(0,a.pC)(t)?(0,l.Nm)(t,t.getTimezoneOffset(),"minutes"):t,end:(0,a.pC)(r)?(0,l.Nm)(r,r.getTimezoneOffset(),"minutes"):r})}(n));let s=r?o&&n?o.intersection(n):o||n:n;if(!s||s.isEmpty||s.isAllTime)return s;t&&(s=s.offset(-t.value,t.unit)),e&&(s=function(e){if(!e)return e;const{start:t,end:r}=e;return new i.Z({start:(0,a.pC)(t)?(0,l.Nm)(t,-t.getTimezoneOffset(),"minutes"):t,end:(0,a.pC)(r)?(0,l.Nm)(r,-r.getTimezoneOffset(),"minutes"):r})}(s));const c=this._get("timeExtent");return s.equals(c)?c:s}},S={type:o.Z,readOnly:!0,json:{origins:{service:{read:{source:["fullExtent","spatialReference"],reader:(e,t)=>{const r=o.Z.fromJSON(e);return null!=t.spatialReference&&"object"==typeof t.spatialReference&&(r.spatialReference=n.Z.fromJSON(t.spatialReference)),r}}}},read:!1}},_={type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}}}},k={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.minScale"},write:{target:"layerDefinition.minScale"}}},L={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.maxScale"},write:{target:"layerDefinition.maxScale"}}},I={json:{write:{ignoreOrigin:!0},origins:{"web-map":{read:!1,write:!1}}}}},99282:(e,t,r)=>{r.d(t,{a:()=>n});var i=r(67900),o=r(68441);const n={inches:(0,i.En)(1,"meters","inches"),feet:(0,i.En)(1,"meters","feet"),"us-feet":(0,i.En)(1,"meters","us-feet"),yards:(0,i.En)(1,"meters","yards"),miles:(0,i.En)(1,"meters","miles"),"nautical-miles":(0,i.En)(1,"meters","nautical-miles"),millimeters:(0,i.En)(1,"meters","millimeters"),centimeters:(0,i.En)(1,"meters","centimeters"),decimeters:(0,i.En)(1,"meters","decimeters"),meters:(0,i.En)(1,"meters","meters"),kilometers:(0,i.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,i.ty)(1,"meters",o.sv.radius)}},86787:(e,t,r)=>{r.d(t,{ZP:()=>b});var i,o=r(43697),n=r(35454),s=r(96674),a=r(70586),l=r(5600),c=(r(67676),r(80442),r(75215),r(71715)),d=r(52011),h=r(30556),u=r(35671);let p=i=class extends s.wq{async collectRequiredFields(e,t){return(0,u.io)(e,t,this.expression)}clone(){return new i({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],p.prototype,"expression",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],p.prototype,"title",void 0),p=i=(0,o._)([(0,d.j)("esri.layers.support.FeatureExpressionInfo")],p);const y=p;var m,g=r(12541);const f=(0,n.w)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),v=new n.X({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let w=m=class extends s.wq{constructor(){super(...arguments),this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,r,i){t[r]=e.write({},i),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):(0,a.pC)(e)||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}clone(){return new m({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,a._W)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,o._)([(0,l.Cb)({type:y,json:{write:!0}})],w.prototype,"featureExpressionInfo",void 0),(0,o._)([(0,c.r)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],w.prototype,"readFeatureExpressionInfo",null),(0,o._)([(0,h.c)("featureExpressionInfo",{featureExpressionInfo:{type:y},"featureExpression.value":{type:[0]}})],w.prototype,"writeFeatureExpressionInfo",null),(0,o._)([(0,l.Cb)({type:f.apiValues,nonNullable:!0,json:{type:f.jsonValues,read:f.read,write:{writer:f.write,isRequired:!0}}})],w.prototype,"mode",null),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],w.prototype,"offset",void 0),(0,o._)([(0,l.Cb)({type:g.f9,json:{type:String,read:v.read,write:v.write}})],w.prototype,"unit",null),w=m=(0,o._)([(0,d.j)("esri.layers.support.ElevationInfo")],w);const b=w},12541:(e,t,r)=>{r.d(t,{f9:()=>o});var i=r(99282);const o=function(){const e=Object.keys(i.a);return e.sort(),e}()},65242:(e,t,r)=>{r.d(t,{a:()=>o,b:()=>n});var i=r(75215);function o(e){const t=(0,i.vU)(100*(1-e));return Math.max(0,Math.min(t,100))}function n(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6774],{66774:(t,e,n)=>{n.r(e),n.d(e,{p:()=>i});var _,r,o,p={exports:{}};_=p,r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),o=function(t){var e,n;(t=void 0!==(t=t||{})?t:{}).ready=new Promise((function(t,_){e=t,n=_}));var _,o,p,i,c,a,s=Object.assign({},t),u="./this.program",P="object"==typeof window,y="function"==typeof importScripts,g="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,f="";g?(f=y?require("path").dirname(f)+"/":__dirname+"/",a=()=>{c||(i=require("fs"),c=require("path"))},_=function(t,e){return a(),t=c.normalize(t),i.readFileSync(t,e?void 0:"utf8")},p=t=>{var e=_(t,!0);return e.buffer||(e=new Uint8Array(e)),e},o=(t,e,n)=>{a(),t=c.normalize(t),i.readFile(t,(function(t,_){t?n(t):e(_.buffer)}))},process.argv.length>1&&(u=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),process.on("uncaughtException",(function(t){if(!(t instanceof Ln))throw t})),process.on("unhandledRejection",(function(t){throw t})),t.inspect=function(){return"[Emscripten Module object]"}):(P||y)&&(y?f=self.location.href:"undefined"!=typeof document&&document.currentScript&&(f=document.currentScript.src),r&&(f=r),f=0!==f.indexOf("blob:")?f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):"",_=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},y&&(p=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),o=(t,e,n)=>{var _=new XMLHttpRequest;_.open("GET",t,!0),_.responseType="arraybuffer",_.onload=()=>{200==_.status||0==_.status&&_.response?e(_.response):n()},_.onerror=n,_.send(null)});var l,m,d=t.print||console.log.bind(console),E=t.printErr||console.warn.bind(console);Object.assign(t,s),s=null,t.arguments&&t.arguments,t.thisProgram&&(u=t.thisProgram),t.quit&&t.quit,t.wasmBinary&&(l=t.wasmBinary),t.noExitRuntime,"object"!=typeof WebAssembly&&W("no native wasm support detected");var b=!1;function O(t,e){t||W(e)}var T,S,N,h,M,v,D,R,A,G="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function C(t,e,n){for(var _=e+n,r=e;t[r]&&!(r>=_);)++r;if(r-e>16&&t.buffer&&G)return G.decode(t.subarray(e,r));for(var o="";e<r;){var p=t[e++];if(128&p){var i=63&t[e++];if(192!=(224&p)){var c=63&t[e++];if((p=224==(240&p)?(15&p)<<12|i<<6|c:(7&p)<<18|i<<12|c<<6|63&t[e++])<65536)o+=String.fromCharCode(p);else{var a=p-65536;o+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else o+=String.fromCharCode((31&p)<<6|i)}else o+=String.fromCharCode(p)}return o}function I(t,e){return t?C(N,t,e):""}function j(t,e,n,_){if(!(_>0))return 0;for(var r=n,o=n+_-1,p=0;p<t.length;++p){var i=t.charCodeAt(p);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&t.charCodeAt(++p)),i<=127){if(n>=o)break;e[n++]=i}else if(i<=2047){if(n+1>=o)break;e[n++]=192|i>>6,e[n++]=128|63&i}else if(i<=65535){if(n+2>=o)break;e[n++]=224|i>>12,e[n++]=128|i>>6&63,e[n++]=128|63&i}else{if(n+3>=o)break;e[n++]=240|i>>18,e[n++]=128|i>>12&63,e[n++]=128|i>>6&63,e[n++]=128|63&i}}return e[n]=0,n-r}function L(t){for(var e=0,n=0;n<t.length;++n){var _=t.charCodeAt(n);_>=55296&&_<=57343&&(_=65536+((1023&_)<<10)|1023&t.charCodeAt(++n)),_<=127?++e:e+=_<=2047?2:_<=65535?3:4}return e}function U(t){var e=L(t)+1,n=jn(e);return n&&j(t,S,n,e),n}function Y(e){T=e,t.HEAP8=S=new Int8Array(e),t.HEAP16=h=new Int16Array(e),t.HEAP32=M=new Int32Array(e),t.HEAPU8=N=new Uint8Array(e),t.HEAPU16=new Uint16Array(e),t.HEAPU32=v=new Uint32Array(e),t.HEAPF32=D=new Float32Array(e),t.HEAPF64=R=new Float64Array(e)}t.INITIAL_MEMORY;var F=[],w=[],x=[];function H(t){F.unshift(t)}function X(t){x.unshift(t)}var z,Z=0,B=null;function W(e){t.onAbort&&t.onAbort(e),E(e="Aborted("+e+")"),b=!0,e+=". Build with -sASSERTIONS for more info.";var _=new WebAssembly.RuntimeError(e);throw n(_),_}function k(t){return t.startsWith("data:application/octet-stream;base64,")}function V(t){return t.startsWith("file://")}function q(t){try{if(t==z&&l)return new Uint8Array(l);if(p)return p(t);throw"both async and sync fetching of the wasm failed"}catch(t){W(t)}}function J(){if(!l&&(P||y)){if("function"==typeof fetch&&!V(z))return fetch(z,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+z+"'";return t.arrayBuffer()})).catch((function(){return q(z)}));if(o)return new Promise((function(t,e){o(z,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return q(z)}))}function K(e){for(;e.length>0;){var n=e.shift();if("function"!=typeof n){var _=n.func;"number"==typeof _?void 0===n.arg?Q(_)():Q(_)(n.arg):_(void 0===n.arg?null:n.arg)}else n(t)}}k(z="pe-wasm.wasm")||(z=function(e){return t.locateFile?t.locateFile(e,f):f+e}(z));var $=[];function Q(t){var e=$[t];return e||(t>=$.length&&($.length=t+1),$[t]=e=A.get(t)),e}function tt(t){try{return m.grow(t-T.byteLength+65535>>>16),Y(m.buffer),1}catch(t){}}var et={};function nt(){if(!nt.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:u||"./this.program"};for(var e in et)void 0===et[e]?delete t[e]:t[e]=et[e];var n=[];for(var e in t)n.push(e+"="+t[e]);nt.strings=n}return nt.strings}var _t=[null,[],[]];function rt(t,e){var n=_t[t];0===e||10===e?((1===t?d:E)(C(n,0)),n.length=0):n.push(e)}var ot={c:function(t,e,n){return 0},p:function(t,e,n){},f:function(t,e,n){return 0},d:function(t,e,n,_){},n:function(t){},m:function(t,e){},o:function(t,e,n){},g:function(){return Date.now()},h:function(t,e){var n=new Date(1e3*M[t>>2]);M[e>>2]=n.getSeconds(),M[e+4>>2]=n.getMinutes(),M[e+8>>2]=n.getHours(),M[e+12>>2]=n.getDate(),M[e+16>>2]=n.getMonth(),M[e+20>>2]=n.getFullYear()-1900,M[e+24>>2]=n.getDay();var _=new Date(n.getFullYear(),0,1),r=(n.getTime()-_.getTime())/864e5|0;M[e+28>>2]=r,M[e+36>>2]=-60*n.getTimezoneOffset();var o=new Date(n.getFullYear(),6,1).getTimezoneOffset(),p=_.getTimezoneOffset(),i=0|(o!=p&&n.getTimezoneOffset()==Math.min(p,o));M[e+32>>2]=i},i:function t(e,n,_){t.called||(t.called=!0,function(t,e,n){var _=(new Date).getFullYear(),r=new Date(_,0,1),o=new Date(_,6,1),p=r.getTimezoneOffset(),i=o.getTimezoneOffset(),c=Math.max(p,i);function a(t){var e=t.toTimeString().match(/\(([A-Za-z ]+)\)$/);return e?e[1]:"GMT"}M[t>>2]=60*c,M[e>>2]=Number(p!=i);var s=a(r),u=a(o),P=U(s),y=U(u);i<p?(v[n>>2]=P,v[n+4>>2]=y):(v[n>>2]=y,v[n+4>>2]=P)}(e,n,_))},k:function(){W("")},s:function(t,e,n){N.copyWithin(t,e,e+n)},l:function(t){var e=N.length,n=2147483648;if((t>>>=0)>n)return!1;let _=(t,e)=>t+(e-t%e)%e;for(var r=1;r<=4;r*=2){var o=e*(1+.2/r);if(o=Math.min(o,t+100663296),tt(Math.min(n,_(Math.max(t,o),65536))))return!0}return!1},q:function(t,e){var n=0;return nt().forEach((function(_,r){var o=e+n;v[t+4*r>>2]=o,function(t,e,n){for(var _=0;_<t.length;++_)S[e++>>0]=t.charCodeAt(_);S[e>>0]=0}(_,o),n+=_.length+1})),0},r:function(t,e){var n=nt();v[t>>2]=n.length;var _=0;return n.forEach((function(t){_+=t.length+1})),v[e>>2]=_,0},a:function(t){return 52},e:function(t,e,n,_){return 52},j:function(t,e,n,_,r){return 70},b:function(t,e,n,_){for(var r=0,o=0;o<n;o++){var p=v[e>>2],i=v[e+4>>2];e+=8;for(var c=0;c<i;c++)rt(t,N[p+c]);r+=i}return v[_>>2]=r,0}};(function(){var e={a:ot};function _(e,n){var _=e.exports;t.asm=_,Y((m=t.asm.t).buffer),A=t.asm.Yb,function(t){w.unshift(t)}(t.asm.u),function(e){if(Z--,t.monitorRunDependencies&&t.monitorRunDependencies(Z),0==Z&&B){var n=B;B=null,n()}}()}function r(t){_(t.instance)}function o(t){return J().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(t){return t})).then(t,(function(t){E("failed to asynchronously prepare wasm: "+t),W(t)}))}if(Z++,t.monitorRunDependencies&&t.monitorRunDependencies(Z),t.instantiateWasm)try{return t.instantiateWasm(e,_)}catch(t){return E("Module.instantiateWasm callback failed with error: "+t),!1}(l||"function"!=typeof WebAssembly.instantiateStreaming||k(z)||V(z)||g||"function"!=typeof fetch?o(r):fetch(z,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(t){return E("wasm streaming compile failed: "+t),E("falling back to ArrayBuffer instantiation"),o(r)}))}))).catch(n)})(),t.___wasm_call_ctors=function(){return(t.___wasm_call_ctors=t.asm.u).apply(null,arguments)};var pt=t._emscripten_bind_PeObject_getCode_0=function(){return(pt=t._emscripten_bind_PeObject_getCode_0=t.asm.v).apply(null,arguments)},it=t._emscripten_bind_PeObject_getName_1=function(){return(it=t._emscripten_bind_PeObject_getName_1=t.asm.w).apply(null,arguments)},ct=t._emscripten_bind_PeObject_getType_0=function(){return(ct=t._emscripten_bind_PeObject_getType_0=t.asm.x).apply(null,arguments)},at=t._emscripten_bind_PeCoordsys_getCode_0=function(){return(at=t._emscripten_bind_PeCoordsys_getCode_0=t.asm.y).apply(null,arguments)},st=t._emscripten_bind_PeCoordsys_getName_1=function(){return(st=t._emscripten_bind_PeCoordsys_getName_1=t.asm.z).apply(null,arguments)},ut=t._emscripten_bind_PeCoordsys_getType_0=function(){return(ut=t._emscripten_bind_PeCoordsys_getType_0=t.asm.A).apply(null,arguments)},Pt=t._emscripten_bind_VoidPtr___destroy___0=function(){return(Pt=t._emscripten_bind_VoidPtr___destroy___0=t.asm.B).apply(null,arguments)},yt=t._emscripten_bind_PeDatum_getSpheroid_0=function(){return(yt=t._emscripten_bind_PeDatum_getSpheroid_0=t.asm.C).apply(null,arguments)},gt=t._emscripten_bind_PeDatum_getCode_0=function(){return(gt=t._emscripten_bind_PeDatum_getCode_0=t.asm.D).apply(null,arguments)},ft=t._emscripten_bind_PeDatum_getName_1=function(){return(ft=t._emscripten_bind_PeDatum_getName_1=t.asm.E).apply(null,arguments)},lt=t._emscripten_bind_PeDatum_getType_0=function(){return(lt=t._emscripten_bind_PeDatum_getType_0=t.asm.F).apply(null,arguments)},mt=t._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=function(){return(mt=t._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=t.asm.G).apply(null,arguments)},dt=t._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=function(){return(dt=t._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=t.asm.H).apply(null,arguments)},Et=t._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=function(){return(Et=t._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=t.asm.I).apply(null,arguments)},bt=t._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=function(){return(bt=t._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=t.asm.J).apply(null,arguments)},Ot=t._emscripten_bind_PeDefs_get_PE_DD_MAX_0=function(){return(Ot=t._emscripten_bind_PeDefs_get_PE_DD_MAX_0=t.asm.K).apply(null,arguments)},Tt=t._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=function(){return(Tt=t._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=t.asm.L).apply(null,arguments)},St=t._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=function(){return(St=t._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=t.asm.M).apply(null,arguments)},Nt=t._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=function(){return(Nt=t._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=t.asm.N).apply(null,arguments)},ht=t._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=function(){return(ht=t._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=t.asm.O).apply(null,arguments)},Mt=t._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=function(){return(Mt=t._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=t.asm.P).apply(null,arguments)},vt=t._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=function(){return(vt=t._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=t.asm.Q).apply(null,arguments)},Dt=t._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=function(){return(Dt=t._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=t.asm.R).apply(null,arguments)},Rt=t._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=function(){return(Rt=t._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=t.asm.S).apply(null,arguments)},At=t._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=function(){return(At=t._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=t.asm.T).apply(null,arguments)},Gt=t._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=function(){return(Gt=t._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=t.asm.U).apply(null,arguments)},Ct=t._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=function(){return(Ct=t._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=t.asm.V).apply(null,arguments)},It=t._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=function(){return(It=t._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=t.asm.W).apply(null,arguments)},jt=t._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=function(){return(jt=t._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=t.asm.X).apply(null,arguments)},Lt=t._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=function(){return(Lt=t._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=t.asm.Y).apply(null,arguments)},Ut=t._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=function(){return(Ut=t._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=t.asm.Z).apply(null,arguments)},Yt=t._emscripten_bind_PeDefs_get_PE_PARM_X0_0=function(){return(Yt=t._emscripten_bind_PeDefs_get_PE_PARM_X0_0=t.asm._).apply(null,arguments)},Ft=t._emscripten_bind_PeDefs_get_PE_PARM_ND_0=function(){return(Ft=t._emscripten_bind_PeDefs_get_PE_PARM_ND_0=t.asm.$).apply(null,arguments)},wt=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=function(){return(wt=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=t.asm.aa).apply(null,arguments)},xt=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=function(){return(xt=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=t.asm.ba).apply(null,arguments)},Ht=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=function(){return(Ht=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=t.asm.ca).apply(null,arguments)},Xt=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=function(){return(Xt=t._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=t.asm.da).apply(null,arguments)},zt=t._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=function(){return(zt=t._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=t.asm.ea).apply(null,arguments)},Zt=t._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=function(){return(Zt=t._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=t.asm.fa).apply(null,arguments)},Bt=t._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=function(){return(Bt=t._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=t.asm.ga).apply(null,arguments)},Wt=t._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=function(){return(Wt=t._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=t.asm.ha).apply(null,arguments)},kt=t._emscripten_bind_PeFactory_initialize_1=function(){return(kt=t._emscripten_bind_PeFactory_initialize_1=t.asm.ia).apply(null,arguments)},Vt=t._emscripten_bind_PeFactory_factoryByType_2=function(){return(Vt=t._emscripten_bind_PeFactory_factoryByType_2=t.asm.ja).apply(null,arguments)},qt=t._emscripten_bind_PeFactory_fromString_2=function(){return(qt=t._emscripten_bind_PeFactory_fromString_2=t.asm.ka).apply(null,arguments)},Jt=t._emscripten_bind_PeFactory_getCode_1=function(){return(Jt=t._emscripten_bind_PeFactory_getCode_1=t.asm.la).apply(null,arguments)},Kt=t._emscripten_bind_PeGCSExtent_PeGCSExtent_6=function(){return(Kt=t._emscripten_bind_PeGCSExtent_PeGCSExtent_6=t.asm.ma).apply(null,arguments)},$t=t._emscripten_bind_PeGCSExtent_getLLon_0=function(){return($t=t._emscripten_bind_PeGCSExtent_getLLon_0=t.asm.na).apply(null,arguments)},Qt=t._emscripten_bind_PeGCSExtent_getSLat_0=function(){return(Qt=t._emscripten_bind_PeGCSExtent_getSLat_0=t.asm.oa).apply(null,arguments)},te=t._emscripten_bind_PeGCSExtent_getRLon_0=function(){return(te=t._emscripten_bind_PeGCSExtent_getRLon_0=t.asm.pa).apply(null,arguments)},ee=t._emscripten_bind_PeGCSExtent_getNLat_0=function(){return(ee=t._emscripten_bind_PeGCSExtent_getNLat_0=t.asm.qa).apply(null,arguments)},ne=t._emscripten_bind_PeGCSExtent___destroy___0=function(){return(ne=t._emscripten_bind_PeGCSExtent___destroy___0=t.asm.ra).apply(null,arguments)},_e=t._emscripten_bind_PeGeogcs_getDatum_0=function(){return(_e=t._emscripten_bind_PeGeogcs_getDatum_0=t.asm.sa).apply(null,arguments)},re=t._emscripten_bind_PeGeogcs_getPrimem_0=function(){return(re=t._emscripten_bind_PeGeogcs_getPrimem_0=t.asm.ta).apply(null,arguments)},oe=t._emscripten_bind_PeGeogcs_getUnit_0=function(){return(oe=t._emscripten_bind_PeGeogcs_getUnit_0=t.asm.ua).apply(null,arguments)},pe=t._emscripten_bind_PeGeogcs_getCode_0=function(){return(pe=t._emscripten_bind_PeGeogcs_getCode_0=t.asm.va).apply(null,arguments)},ie=t._emscripten_bind_PeGeogcs_getName_1=function(){return(ie=t._emscripten_bind_PeGeogcs_getName_1=t.asm.wa).apply(null,arguments)},ce=t._emscripten_bind_PeGeogcs_getType_0=function(){return(ce=t._emscripten_bind_PeGeogcs_getType_0=t.asm.xa).apply(null,arguments)},ae=t._emscripten_bind_PeGeogtran_isEqual_1=function(){return(ae=t._emscripten_bind_PeGeogtran_isEqual_1=t.asm.ya).apply(null,arguments)},se=t._emscripten_bind_PeGeogtran_getGeogcs1_0=function(){return(se=t._emscripten_bind_PeGeogtran_getGeogcs1_0=t.asm.za).apply(null,arguments)},ue=t._emscripten_bind_PeGeogtran_getGeogcs2_0=function(){return(ue=t._emscripten_bind_PeGeogtran_getGeogcs2_0=t.asm.Aa).apply(null,arguments)},Pe=t._emscripten_bind_PeGeogtran_getParameters_0=function(){return(Pe=t._emscripten_bind_PeGeogtran_getParameters_0=t.asm.Ba).apply(null,arguments)},ye=t._emscripten_bind_PeGeogtran_loadConstants_0=function(){return(ye=t._emscripten_bind_PeGeogtran_loadConstants_0=t.asm.Ca).apply(null,arguments)},ge=t._emscripten_bind_PeGeogtran_getCode_0=function(){return(ge=t._emscripten_bind_PeGeogtran_getCode_0=t.asm.Da).apply(null,arguments)},fe=t._emscripten_bind_PeGeogtran_getName_1=function(){return(fe=t._emscripten_bind_PeGeogtran_getName_1=t.asm.Ea).apply(null,arguments)},le=t._emscripten_bind_PeGeogtran_getType_0=function(){return(le=t._emscripten_bind_PeGeogtran_getType_0=t.asm.Fa).apply(null,arguments)},me=t._emscripten_bind_PeGTlistExtended_getGTlist_6=function(){return(me=t._emscripten_bind_PeGTlistExtended_getGTlist_6=t.asm.Ga).apply(null,arguments)},de=t._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=function(){return(de=t._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=t.asm.Ha).apply(null,arguments)},Ee=t._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=function(){return(Ee=t._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=t.asm.Ia).apply(null,arguments)},be=t._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=function(){return(be=t._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=t.asm.Ja).apply(null,arguments)},Oe=t._emscripten_bind_PeGTlistExtendedEntry_Delete_1=function(){return(Oe=t._emscripten_bind_PeGTlistExtendedEntry_Delete_1=t.asm.Ka).apply(null,arguments)},Te=t._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=function(){return(Te=t._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=t.asm.La).apply(null,arguments)},Se=t._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=function(){return(Se=t._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=t.asm.Ma).apply(null,arguments)},Ne=t._emscripten_bind_PeHorizon_getNump_0=function(){return(Ne=t._emscripten_bind_PeHorizon_getNump_0=t.asm.Na).apply(null,arguments)},he=t._emscripten_bind_PeHorizon_getKind_0=function(){return(he=t._emscripten_bind_PeHorizon_getKind_0=t.asm.Oa).apply(null,arguments)},Me=t._emscripten_bind_PeHorizon_getInclusive_0=function(){return(Me=t._emscripten_bind_PeHorizon_getInclusive_0=t.asm.Pa).apply(null,arguments)},ve=t._emscripten_bind_PeHorizon_getSize_0=function(){return(ve=t._emscripten_bind_PeHorizon_getSize_0=t.asm.Qa).apply(null,arguments)},De=t._emscripten_bind_PeHorizon_getCoord_0=function(){return(De=t._emscripten_bind_PeHorizon_getCoord_0=t.asm.Ra).apply(null,arguments)},Re=t._emscripten_bind_PeInteger_PeInteger_1=function(){return(Re=t._emscripten_bind_PeInteger_PeInteger_1=t.asm.Sa).apply(null,arguments)},Ae=t._emscripten_bind_PeInteger_get_val_0=function(){return(Ae=t._emscripten_bind_PeInteger_get_val_0=t.asm.Ta).apply(null,arguments)},Ge=t._emscripten_bind_PeInteger_set_val_1=function(){return(Ge=t._emscripten_bind_PeInteger_set_val_1=t.asm.Ua).apply(null,arguments)},Ce=t._emscripten_bind_PeInteger___destroy___0=function(){return(Ce=t._emscripten_bind_PeInteger___destroy___0=t.asm.Va).apply(null,arguments)},Ie=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=function(){return(Ie=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=t.asm.Wa).apply(null,arguments)},je=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=function(){return(je=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=t.asm.Xa).apply(null,arguments)},Le=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=function(){return(Le=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=t.asm.Ya).apply(null,arguments)},Ue=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=function(){return(Ue=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=t.asm.Za).apply(null,arguments)},Ye=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=function(){return(Ye=t._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=t.asm._a).apply(null,arguments)},Fe=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=function(){return(Fe=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=t.asm.$a).apply(null,arguments)},we=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=function(){return(we=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=t.asm.ab).apply(null,arguments)},xe=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=function(){return(xe=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=t.asm.bb).apply(null,arguments)},He=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=function(){return(He=t._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=t.asm.cb).apply(null,arguments)},Xe=t._emscripten_bind_PeParameter_getValue_0=function(){return(Xe=t._emscripten_bind_PeParameter_getValue_0=t.asm.db).apply(null,arguments)},ze=t._emscripten_bind_PeParameter_getCode_0=function(){return(ze=t._emscripten_bind_PeParameter_getCode_0=t.asm.eb).apply(null,arguments)},Ze=t._emscripten_bind_PeParameter_getName_1=function(){return(Ze=t._emscripten_bind_PeParameter_getName_1=t.asm.fb).apply(null,arguments)},Be=t._emscripten_bind_PeParameter_getType_0=function(){return(Be=t._emscripten_bind_PeParameter_getType_0=t.asm.gb).apply(null,arguments)},We=t._emscripten_bind_PePCSInfo_getCentralMeridian_0=function(){return(We=t._emscripten_bind_PePCSInfo_getCentralMeridian_0=t.asm.hb).apply(null,arguments)},ke=t._emscripten_bind_PePCSInfo_getDomainMinx_0=function(){return(ke=t._emscripten_bind_PePCSInfo_getDomainMinx_0=t.asm.ib).apply(null,arguments)},Ve=t._emscripten_bind_PePCSInfo_getDomainMiny_0=function(){return(Ve=t._emscripten_bind_PePCSInfo_getDomainMiny_0=t.asm.jb).apply(null,arguments)},qe=t._emscripten_bind_PePCSInfo_getDomainMaxx_0=function(){return(qe=t._emscripten_bind_PePCSInfo_getDomainMaxx_0=t.asm.kb).apply(null,arguments)},Je=t._emscripten_bind_PePCSInfo_getDomainMaxy_0=function(){return(Je=t._emscripten_bind_PePCSInfo_getDomainMaxy_0=t.asm.lb).apply(null,arguments)},Ke=t._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=function(){return(Ke=t._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=t.asm.mb).apply(null,arguments)},$e=t._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=function(){return($e=t._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=t.asm.nb).apply(null,arguments)},Qe=t._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=function(){return(Qe=t._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=t.asm.ob).apply(null,arguments)},tn=t._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=function(){return(tn=t._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=t.asm.pb).apply(null,arguments)},en=t._emscripten_bind_PePCSInfo_isDensificationNeeded_0=function(){return(en=t._emscripten_bind_PePCSInfo_isDensificationNeeded_0=t.asm.qb).apply(null,arguments)},nn=t._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=function(){return(nn=t._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=t.asm.rb).apply(null,arguments)},_n=t._emscripten_bind_PePCSInfo_isPannableRectangle_0=function(){return(_n=t._emscripten_bind_PePCSInfo_isPannableRectangle_0=t.asm.sb).apply(null,arguments)},rn=t._emscripten_bind_PePCSInfo_generate_2=function(){return(rn=t._emscripten_bind_PePCSInfo_generate_2=t.asm.tb).apply(null,arguments)},on=t._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=function(){return(on=t._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=t.asm.ub).apply(null,arguments)},pn=t._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=function(){return(pn=t._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=t.asm.vb).apply(null,arguments)},cn=t._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=function(){return(cn=t._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=t.asm.wb).apply(null,arguments)},an=t._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=function(){return(an=t._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=t.asm.xb).apply(null,arguments)},sn=t._emscripten_bind_PePrimem_getLongitude_0=function(){return(sn=t._emscripten_bind_PePrimem_getLongitude_0=t.asm.yb).apply(null,arguments)},un=t._emscripten_bind_PePrimem_getCode_0=function(){return(un=t._emscripten_bind_PePrimem_getCode_0=t.asm.zb).apply(null,arguments)},Pn=t._emscripten_bind_PePrimem_getName_1=function(){return(Pn=t._emscripten_bind_PePrimem_getName_1=t.asm.Ab).apply(null,arguments)},yn=t._emscripten_bind_PePrimem_getType_0=function(){return(yn=t._emscripten_bind_PePrimem_getType_0=t.asm.Bb).apply(null,arguments)},gn=t._emscripten_bind_PeProjcs_getGeogcs_0=function(){return(gn=t._emscripten_bind_PeProjcs_getGeogcs_0=t.asm.Cb).apply(null,arguments)},fn=t._emscripten_bind_PeProjcs_getParameters_0=function(){return(fn=t._emscripten_bind_PeProjcs_getParameters_0=t.asm.Db).apply(null,arguments)},ln=t._emscripten_bind_PeProjcs_getUnit_0=function(){return(ln=t._emscripten_bind_PeProjcs_getUnit_0=t.asm.Eb).apply(null,arguments)},mn=t._emscripten_bind_PeProjcs_loadConstants_0=function(){return(mn=t._emscripten_bind_PeProjcs_loadConstants_0=t.asm.Fb).apply(null,arguments)},dn=t._emscripten_bind_PeProjcs_horizonGcsGenerate_0=function(){return(dn=t._emscripten_bind_PeProjcs_horizonGcsGenerate_0=t.asm.Gb).apply(null,arguments)},En=t._emscripten_bind_PeProjcs_horizonPcsGenerate_0=function(){return(En=t._emscripten_bind_PeProjcs_horizonPcsGenerate_0=t.asm.Hb).apply(null,arguments)},bn=t._emscripten_bind_PeProjcs_getCode_0=function(){return(bn=t._emscripten_bind_PeProjcs_getCode_0=t.asm.Ib).apply(null,arguments)},On=t._emscripten_bind_PeProjcs_getName_1=function(){return(On=t._emscripten_bind_PeProjcs_getName_1=t.asm.Jb).apply(null,arguments)},Tn=t._emscripten_bind_PeProjcs_getType_0=function(){return(Tn=t._emscripten_bind_PeProjcs_getType_0=t.asm.Kb).apply(null,arguments)},Sn=t._emscripten_bind_PeSpheroid_getAxis_0=function(){return(Sn=t._emscripten_bind_PeSpheroid_getAxis_0=t.asm.Lb).apply(null,arguments)},Nn=t._emscripten_bind_PeSpheroid_getFlattening_0=function(){return(Nn=t._emscripten_bind_PeSpheroid_getFlattening_0=t.asm.Mb).apply(null,arguments)},hn=t._emscripten_bind_PeSpheroid_getCode_0=function(){return(hn=t._emscripten_bind_PeSpheroid_getCode_0=t.asm.Nb).apply(null,arguments)},Mn=t._emscripten_bind_PeSpheroid_getName_1=function(){return(Mn=t._emscripten_bind_PeSpheroid_getName_1=t.asm.Ob).apply(null,arguments)},vn=t._emscripten_bind_PeSpheroid_getType_0=function(){return(vn=t._emscripten_bind_PeSpheroid_getType_0=t.asm.Pb).apply(null,arguments)},Dn=t._emscripten_bind_PeUnit_getUnitFactor_0=function(){return(Dn=t._emscripten_bind_PeUnit_getUnitFactor_0=t.asm.Qb).apply(null,arguments)},Rn=t._emscripten_bind_PeUnit_getCode_0=function(){return(Rn=t._emscripten_bind_PeUnit_getCode_0=t.asm.Rb).apply(null,arguments)},An=t._emscripten_bind_PeUnit_getName_1=function(){return(An=t._emscripten_bind_PeUnit_getName_1=t.asm.Sb).apply(null,arguments)},Gn=t._emscripten_bind_PeUnit_getType_0=function(){return(Gn=t._emscripten_bind_PeUnit_getType_0=t.asm.Tb).apply(null,arguments)},Cn=t._emscripten_bind_PeVersion_version_string_0=function(){return(Cn=t._emscripten_bind_PeVersion_version_string_0=t.asm.Ub).apply(null,arguments)};t._pe_getPeGTlistExtendedEntrySize=function(){return(t._pe_getPeGTlistExtendedEntrySize=t.asm.Vb).apply(null,arguments)},t._pe_getPeGTlistExtendedGTsSize=function(){return(t._pe_getPeGTlistExtendedGTsSize=t.asm.Wb).apply(null,arguments)},t._pe_getPeHorizonSize=function(){return(t._pe_getPeHorizonSize=t.asm.Xb).apply(null,arguments)},t._pe_geog_to_geog=function(){return(t._pe_geog_to_geog=t.asm.Zb).apply(null,arguments)},t._pe_geog_to_proj=function(){return(t._pe_geog_to_proj=t.asm._b).apply(null,arguments)},t._pe_geog_to_dd=function(){return(t._pe_geog_to_dd=t.asm.$b).apply(null,arguments)},t._pe_dd_to_geog=function(){return(t._pe_dd_to_geog=t.asm.ac).apply(null,arguments)},t._pe_geog_to_ddm=function(){return(t._pe_geog_to_ddm=t.asm.bc).apply(null,arguments)},t._pe_ddm_to_geog=function(){return(t._pe_ddm_to_geog=t.asm.cc).apply(null,arguments)},t._pe_geog_to_dms=function(){return(t._pe_geog_to_dms=t.asm.dc).apply(null,arguments)},t._pe_dms_to_geog=function(){return(t._pe_dms_to_geog=t.asm.ec).apply(null,arguments)},t._pe_geog_to_mgrs_extended=function(){return(t._pe_geog_to_mgrs_extended=t.asm.fc).apply(null,arguments)},t._pe_mgrs_to_geog_extended=function(){return(t._pe_mgrs_to_geog_extended=t.asm.gc).apply(null,arguments)},t._pe_geog_to_usng=function(){return(t._pe_geog_to_usng=t.asm.hc).apply(null,arguments)},t._pe_usng_to_geog=function(){return(t._pe_usng_to_geog=t.asm.ic).apply(null,arguments)},t._pe_geog_to_utm=function(){return(t._pe_geog_to_utm=t.asm.jc).apply(null,arguments)},t._pe_utm_to_geog=function(){return(t._pe_utm_to_geog=t.asm.kc).apply(null,arguments)},t._pe_object_to_string_ext=function(){return(t._pe_object_to_string_ext=t.asm.lc).apply(null,arguments)},t._pe_proj_to_geog_center=function(){return(t._pe_proj_to_geog_center=t.asm.mc).apply(null,arguments)};var In,jn=t._malloc=function(){return(jn=t._malloc=t.asm.nc).apply(null,arguments)};function Ln(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function Un(n){function _(){In||(In=!0,t.calledRun=!0,b||(K(w),e(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),function(){if(t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;)X(t.postRun.shift());K(x)}()))}Z>0||(function(){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)H(t.preRun.shift());K(F)}(),Z>0||(t.setStatus?(t.setStatus("Running..."),setTimeout((function(){setTimeout((function(){t.setStatus("")}),1),_()}),1)):_()))}if(t._free=function(){return(t._free=t.asm.oc).apply(null,arguments)},t.UTF8ToString=I,t.getValue=function(t,e="i8"){switch(e.endsWith("*")&&(e="i32"),e){case"i1":case"i8":return S[t>>0];case"i16":return h[t>>1];case"i32":case"i64":return M[t>>2];case"float":return D[t>>2];case"double":return Number(R[t>>3]);default:W("invalid type for getValue: "+e)}return null},B=function t(){In||Un(),In||(B=t)},t.run=Un,t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.pop()();function Yn(){}function Fn(t){return(t||Yn).__cache__}function wn(t,e){var n=Fn(e),_=n[t];return _||((_=Object.create((e||Yn).prototype)).ptr=t,n[t]=_)}Un(),Yn.prototype=Object.create(Yn.prototype),Yn.prototype.constructor=Yn,Yn.prototype.__class__=Yn,Yn.__cache__={},t.WrapperObject=Yn,t.getCache=Fn,t.wrapPointer=wn,t.castObject=function(t,e){return wn(t.ptr,e)},t.NULL=wn(0),t.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Fn(t.__class__)[t.ptr]},t.compare=function(t,e){return t.ptr===e.ptr},t.getPointer=function(t){return t.ptr},t.getClass=function(t){return t.__class__};var xn={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(xn.needed){for(var e=0;e<xn.temps.length;e++)t._free(xn.temps[e]);xn.temps.length=0,t._free(xn.buffer),xn.buffer=0,xn.size+=xn.needed,xn.needed=0}xn.buffer||(xn.size+=128,xn.buffer=t._malloc(xn.size),O(xn.buffer)),xn.pos=0},alloc:function(e,n){O(xn.buffer);var _,r=n.BYTES_PER_ELEMENT,o=e.length*r;return o=o+7&-8,xn.pos+o>=xn.size?(O(o>0),xn.needed+=o,_=t._malloc(o),xn.temps.push(_)):(_=xn.buffer+xn.pos,xn.pos+=o),_},copy:function(t,e,n){switch(n>>>=0,e.BYTES_PER_ELEMENT){case 2:n>>>=1;break;case 4:n>>>=2;break;case 8:n>>>=3}for(var _=0;_<t.length;_++)e[n+_]=t[_]}};function Hn(t){if("string"==typeof t){var e=function(t,e,n){var _=L(t)+1,r=new Array(_);j(t,r,0,r.length);return r}(t),n=xn.alloc(e,S);return xn.copy(e,S,n),n}return t}function Xn(t){if("object"==typeof t){var e=xn.alloc(t,S);return xn.copy(t,S,e),e}return t}function zn(){throw"cannot construct a PeObject, no constructor in IDL"}function Zn(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function Bn(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Wn(){throw"cannot construct a PeDatum, no constructor in IDL"}function kn(){throw"cannot construct a PeDefs, no constructor in IDL"}function Vn(){throw"cannot construct a PeFactory, no constructor in IDL"}function qn(t,e,n,_,r,o){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),n&&"object"==typeof n&&(n=n.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),this.ptr=Kt(t,e,n,_,r,o),Fn(qn)[this.ptr]=this}function Jn(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function Kn(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function $n(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function Qn(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function t_(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function e_(){throw"cannot construct a PeHorizon, no constructor in IDL"}function n_(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Re(t),Fn(n_)[this.ptr]=this}function __(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function r_(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function o_(){throw"cannot construct a PeParameter, no constructor in IDL"}function p_(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function i_(){throw"cannot construct a PePrimem, no constructor in IDL"}function c_(){throw"cannot construct a PeProjcs, no constructor in IDL"}function a_(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function s_(){throw"cannot construct a PeUnit, no constructor in IDL"}function u_(){throw"cannot construct a PeVersion, no constructor in IDL"}return zn.prototype=Object.create(Yn.prototype),zn.prototype.constructor=zn,zn.prototype.__class__=zn,zn.__cache__={},t.PeObject=zn,zn.prototype.getCode=zn.prototype.getCode=function(){var t=this.ptr;return pt(t)},zn.prototype.getName=zn.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(it(e,t))},zn.prototype.getType=zn.prototype.getType=function(){var t=this.ptr;return ct(t)},Zn.prototype=Object.create(zn.prototype),Zn.prototype.constructor=Zn,Zn.prototype.__class__=Zn,Zn.__cache__={},t.PeCoordsys=Zn,Zn.prototype.getCode=Zn.prototype.getCode=function(){var t=this.ptr;return at(t)},Zn.prototype.getName=Zn.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(st(e,t))},Zn.prototype.getType=Zn.prototype.getType=function(){var t=this.ptr;return ut(t)},Bn.prototype=Object.create(Yn.prototype),Bn.prototype.constructor=Bn,Bn.prototype.__class__=Bn,Bn.__cache__={},t.VoidPtr=Bn,Bn.prototype.__destroy__=Bn.prototype.__destroy__=function(){var t=this.ptr;Pt(t)},Wn.prototype=Object.create(zn.prototype),Wn.prototype.constructor=Wn,Wn.prototype.__class__=Wn,Wn.__cache__={},t.PeDatum=Wn,Wn.prototype.getSpheroid=Wn.prototype.getSpheroid=function(){var t=this.ptr;return wn(yt(t),a_)},Wn.prototype.getCode=Wn.prototype.getCode=function(){var t=this.ptr;return gt(t)},Wn.prototype.getName=Wn.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(ft(e,t))},Wn.prototype.getType=Wn.prototype.getType=function(){var t=this.ptr;return lt(t)},kn.prototype=Object.create(Yn.prototype),kn.prototype.constructor=kn,kn.prototype.__class__=kn,kn.__cache__={},t.PeDefs=kn,kn.prototype.get_PE_BUFFER_MAX=kn.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return mt(t)},Object.defineProperty(kn.prototype,"PE_BUFFER_MAX",{get:kn.prototype.get_PE_BUFFER_MAX}),kn.prototype.get_PE_NAME_MAX=kn.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return dt(t)},Object.defineProperty(kn.prototype,"PE_NAME_MAX",{get:kn.prototype.get_PE_NAME_MAX}),kn.prototype.get_PE_MGRS_MAX=kn.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return Et(t)},Object.defineProperty(kn.prototype,"PE_MGRS_MAX",{get:kn.prototype.get_PE_MGRS_MAX}),kn.prototype.get_PE_USNG_MAX=kn.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return bt(t)},Object.defineProperty(kn.prototype,"PE_USNG_MAX",{get:kn.prototype.get_PE_USNG_MAX}),kn.prototype.get_PE_DD_MAX=kn.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return Ot(t)},Object.defineProperty(kn.prototype,"PE_DD_MAX",{get:kn.prototype.get_PE_DD_MAX}),kn.prototype.get_PE_DMS_MAX=kn.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return Tt(t)},Object.defineProperty(kn.prototype,"PE_DMS_MAX",{get:kn.prototype.get_PE_DMS_MAX}),kn.prototype.get_PE_DDM_MAX=kn.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return St(t)},Object.defineProperty(kn.prototype,"PE_DDM_MAX",{get:kn.prototype.get_PE_DDM_MAX}),kn.prototype.get_PE_UTM_MAX=kn.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return Nt(t)},Object.defineProperty(kn.prototype,"PE_UTM_MAX",{get:kn.prototype.get_PE_UTM_MAX}),kn.prototype.get_PE_PARM_MAX=kn.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return ht(t)},Object.defineProperty(kn.prototype,"PE_PARM_MAX",{get:kn.prototype.get_PE_PARM_MAX}),kn.prototype.get_PE_TYPE_NONE=kn.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return Mt(t)},Object.defineProperty(kn.prototype,"PE_TYPE_NONE",{get:kn.prototype.get_PE_TYPE_NONE}),kn.prototype.get_PE_TYPE_GEOGCS=kn.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return vt(t)},Object.defineProperty(kn.prototype,"PE_TYPE_GEOGCS",{get:kn.prototype.get_PE_TYPE_GEOGCS}),kn.prototype.get_PE_TYPE_PROJCS=kn.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return Dt(t)},Object.defineProperty(kn.prototype,"PE_TYPE_PROJCS",{get:kn.prototype.get_PE_TYPE_PROJCS}),kn.prototype.get_PE_TYPE_GEOGTRAN=kn.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return Rt(t)},Object.defineProperty(kn.prototype,"PE_TYPE_GEOGTRAN",{get:kn.prototype.get_PE_TYPE_GEOGTRAN}),kn.prototype.get_PE_TYPE_COORDSYS=kn.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return At(t)},Object.defineProperty(kn.prototype,"PE_TYPE_COORDSYS",{get:kn.prototype.get_PE_TYPE_COORDSYS}),kn.prototype.get_PE_TYPE_UNIT=kn.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return Gt(t)},Object.defineProperty(kn.prototype,"PE_TYPE_UNIT",{get:kn.prototype.get_PE_TYPE_UNIT}),kn.prototype.get_PE_TYPE_LINUNIT=kn.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return Ct(t)},Object.defineProperty(kn.prototype,"PE_TYPE_LINUNIT",{get:kn.prototype.get_PE_TYPE_LINUNIT}),kn.prototype.get_PE_STR_OPTS_NONE=kn.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return It(t)},Object.defineProperty(kn.prototype,"PE_STR_OPTS_NONE",{get:kn.prototype.get_PE_STR_OPTS_NONE}),kn.prototype.get_PE_STR_AUTH_NONE=kn.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return jt(t)},Object.defineProperty(kn.prototype,"PE_STR_AUTH_NONE",{get:kn.prototype.get_PE_STR_AUTH_NONE}),kn.prototype.get_PE_STR_AUTH_TOP=kn.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return Lt(t)},Object.defineProperty(kn.prototype,"PE_STR_AUTH_TOP",{get:kn.prototype.get_PE_STR_AUTH_TOP}),kn.prototype.get_PE_STR_NAME_CANON=kn.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return Ut(t)},Object.defineProperty(kn.prototype,"PE_STR_NAME_CANON",{get:kn.prototype.get_PE_STR_NAME_CANON}),kn.prototype.get_PE_PARM_X0=kn.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return Yt(t)},Object.defineProperty(kn.prototype,"PE_PARM_X0",{get:kn.prototype.get_PE_PARM_X0}),kn.prototype.get_PE_PARM_ND=kn.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return Ft(t)},Object.defineProperty(kn.prototype,"PE_PARM_ND",{get:kn.prototype.get_PE_PARM_ND}),kn.prototype.get_PE_TRANSFORM_1_TO_2=kn.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return wt(t)},Object.defineProperty(kn.prototype,"PE_TRANSFORM_1_TO_2",{get:kn.prototype.get_PE_TRANSFORM_1_TO_2}),kn.prototype.get_PE_TRANSFORM_2_TO_1=kn.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return xt(t)},Object.defineProperty(kn.prototype,"PE_TRANSFORM_2_TO_1",{get:kn.prototype.get_PE_TRANSFORM_2_TO_1}),kn.prototype.get_PE_TRANSFORM_P_TO_G=kn.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return Ht(t)},Object.defineProperty(kn.prototype,"PE_TRANSFORM_P_TO_G",{get:kn.prototype.get_PE_TRANSFORM_P_TO_G}),kn.prototype.get_PE_TRANSFORM_G_TO_P=kn.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Xt(t)},Object.defineProperty(kn.prototype,"PE_TRANSFORM_G_TO_P",{get:kn.prototype.get_PE_TRANSFORM_G_TO_P}),kn.prototype.get_PE_HORIZON_RECT=kn.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return zt(t)},Object.defineProperty(kn.prototype,"PE_HORIZON_RECT",{get:kn.prototype.get_PE_HORIZON_RECT}),kn.prototype.get_PE_HORIZON_POLY=kn.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return Zt(t)},Object.defineProperty(kn.prototype,"PE_HORIZON_POLY",{get:kn.prototype.get_PE_HORIZON_POLY}),kn.prototype.get_PE_HORIZON_LINE=kn.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return Bt(t)},Object.defineProperty(kn.prototype,"PE_HORIZON_LINE",{get:kn.prototype.get_PE_HORIZON_LINE}),kn.prototype.get_PE_HORIZON_DELTA=kn.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return Wt(t)},Object.defineProperty(kn.prototype,"PE_HORIZON_DELTA",{get:kn.prototype.get_PE_HORIZON_DELTA}),Vn.prototype=Object.create(Yn.prototype),Vn.prototype.constructor=Vn,Vn.prototype.__class__=Vn,Vn.__cache__={},t.PeFactory=Vn,Vn.prototype.initialize=Vn.prototype.initialize=function(t){var e=this.ptr;xn.prepare(),t=t&&"object"==typeof t?t.ptr:Hn(t),kt(e,t)},Vn.prototype.factoryByType=Vn.prototype.factoryByType=function(t,e){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),wn(Vt(n,t,e),zn)},Vn.prototype.fromString=Vn.prototype.fromString=function(t,e){var n=this.ptr;return xn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Hn(e),wn(qt(n,t,e),zn)},Vn.prototype.getCode=Vn.prototype.getCode=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Jt(e,t)},qn.prototype=Object.create(Yn.prototype),qn.prototype.constructor=qn,qn.prototype.__class__=qn,qn.__cache__={},t.PeGCSExtent=qn,qn.prototype.getLLon=qn.prototype.getLLon=function(){var t=this.ptr;return $t(t)},qn.prototype.getSLat=qn.prototype.getSLat=function(){var t=this.ptr;return Qt(t)},qn.prototype.getRLon=qn.prototype.getRLon=function(){var t=this.ptr;return te(t)},qn.prototype.getNLat=qn.prototype.getNLat=function(){var t=this.ptr;return ee(t)},qn.prototype.__destroy__=qn.prototype.__destroy__=function(){var t=this.ptr;ne(t)},Jn.prototype=Object.create(Zn.prototype),Jn.prototype.constructor=Jn,Jn.prototype.__class__=Jn,Jn.__cache__={},t.PeGeogcs=Jn,Jn.prototype.getDatum=Jn.prototype.getDatum=function(){var t=this.ptr;return wn(_e(t),Wn)},Jn.prototype.getPrimem=Jn.prototype.getPrimem=function(){var t=this.ptr;return wn(re(t),i_)},Jn.prototype.getUnit=Jn.prototype.getUnit=function(){var t=this.ptr;return wn(oe(t),s_)},Jn.prototype.getCode=Jn.prototype.getCode=function(){var t=this.ptr;return pe(t)},Jn.prototype.getName=Jn.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(ie(e,t))},Jn.prototype.getType=Jn.prototype.getType=function(){var t=this.ptr;return ce(t)},Kn.prototype=Object.create(zn.prototype),Kn.prototype.constructor=Kn,Kn.prototype.__class__=Kn,Kn.__cache__={},t.PeGeogtran=Kn,Kn.prototype.isEqual=Kn.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ae(e,t)},Kn.prototype.getGeogcs1=Kn.prototype.getGeogcs1=function(){var t=this.ptr;return wn(se(t),Jn)},Kn.prototype.getGeogcs2=Kn.prototype.getGeogcs2=function(){var t=this.ptr;return wn(ue(t),Jn)},Kn.prototype.getParameters=Kn.prototype.getParameters=function(){var t=this.ptr;return Pe(t)},Kn.prototype.loadConstants=Kn.prototype.loadConstants=function(){var t=this.ptr;return!!ye(t)},Kn.prototype.getCode=Kn.prototype.getCode=function(){var t=this.ptr;return ge(t)},Kn.prototype.getName=Kn.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(fe(e,t))},Kn.prototype.getType=Kn.prototype.getType=function(){var t=this.ptr;return le(t)},$n.prototype=Object.create(Yn.prototype),$n.prototype.constructor=$n,$n.prototype.__class__=$n,$n.__cache__={},t.PeGTlistExtended=$n,$n.prototype.getGTlist=$n.prototype.getGTlist=function(t,e,n,_,r,o){var p=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),n&&"object"==typeof n&&(n=n.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),wn(me(p,t,e,n,_,r,o),Qn)},$n.prototype.get_PE_GTLIST_OPTS_COMMON=$n.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return de(t)},Object.defineProperty($n.prototype,"PE_GTLIST_OPTS_COMMON",{get:$n.prototype.get_PE_GTLIST_OPTS_COMMON}),Qn.prototype=Object.create(Yn.prototype),Qn.prototype.constructor=Qn,Qn.prototype.__class__=Qn,Qn.__cache__={},t.PeGTlistExtendedEntry=Qn,Qn.prototype.getEntries=Qn.prototype.getEntries=function(){var t=this.ptr;return wn(Ee(t),t_)},Qn.prototype.getSteps=Qn.prototype.getSteps=function(){var t=this.ptr;return be(t)},Qn.prototype.Delete=Qn.prototype.Delete=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Oe(e,t)},t_.prototype=Object.create(Yn.prototype),t_.prototype.constructor=t_,t_.prototype.__class__=t_,t_.__cache__={},t.PeGTlistExtendedGTs=t_,t_.prototype.getDirection=t_.prototype.getDirection=function(){var t=this.ptr;return Te(t)},t_.prototype.getGeogtran=t_.prototype.getGeogtran=function(){var t=this.ptr;return wn(Se(t),Kn)},e_.prototype=Object.create(Yn.prototype),e_.prototype.constructor=e_,e_.prototype.__class__=e_,e_.__cache__={},t.PeHorizon=e_,e_.prototype.getNump=e_.prototype.getNump=function(){var t=this.ptr;return Ne(t)},e_.prototype.getKind=e_.prototype.getKind=function(){var t=this.ptr;return he(t)},e_.prototype.getInclusive=e_.prototype.getInclusive=function(){var t=this.ptr;return Me(t)},e_.prototype.getSize=e_.prototype.getSize=function(){var t=this.ptr;return ve(t)},e_.prototype.getCoord=e_.prototype.getCoord=function(){var t=this.ptr;return De(t)},n_.prototype=Object.create(Yn.prototype),n_.prototype.constructor=n_,n_.prototype.__class__=n_,n_.__cache__={},t.PeInteger=n_,n_.prototype.get_val=n_.prototype.get_val=function(){var t=this.ptr;return Ae(t)},n_.prototype.set_val=n_.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ge(e,t)},Object.defineProperty(n_.prototype,"val",{get:n_.prototype.get_val,set:n_.prototype.set_val}),n_.prototype.__destroy__=n_.prototype.__destroy__=function(){var t=this.ptr;Ce(t)},__.prototype=Object.create(Yn.prototype),__.prototype.constructor=__,__.prototype.__class__=__,__.__cache__={},t.PeNotationMgrs=__,__.prototype.get_PE_MGRS_STYLE_NEW=__.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return Ie(t)},Object.defineProperty(__.prototype,"PE_MGRS_STYLE_NEW",{get:__.prototype.get_PE_MGRS_STYLE_NEW}),__.prototype.get_PE_MGRS_STYLE_OLD=__.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return je(t)},Object.defineProperty(__.prototype,"PE_MGRS_STYLE_OLD",{get:__.prototype.get_PE_MGRS_STYLE_OLD}),__.prototype.get_PE_MGRS_STYLE_AUTO=__.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return Le(t)},Object.defineProperty(__.prototype,"PE_MGRS_STYLE_AUTO",{get:__.prototype.get_PE_MGRS_STYLE_AUTO}),__.prototype.get_PE_MGRS_180_ZONE_1_PLUS=__.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return Ue(t)},Object.defineProperty(__.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:__.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),__.prototype.get_PE_MGRS_ADD_SPACES=__.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return Ye(t)},Object.defineProperty(__.prototype,"PE_MGRS_ADD_SPACES",{get:__.prototype.get_PE_MGRS_ADD_SPACES}),r_.prototype=Object.create(Yn.prototype),r_.prototype.constructor=r_,r_.prototype.__class__=r_,r_.__cache__={},t.PeNotationUtm=r_,r_.prototype.get_PE_UTM_OPTS_NONE=r_.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return Fe(t)},Object.defineProperty(r_.prototype,"PE_UTM_OPTS_NONE",{get:r_.prototype.get_PE_UTM_OPTS_NONE}),r_.prototype.get_PE_UTM_OPTS_NS=r_.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return we(t)},Object.defineProperty(r_.prototype,"PE_UTM_OPTS_NS",{get:r_.prototype.get_PE_UTM_OPTS_NS}),r_.prototype.get_PE_UTM_OPTS_NS_STRICT=r_.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return xe(t)},Object.defineProperty(r_.prototype,"PE_UTM_OPTS_NS_STRICT",{get:r_.prototype.get_PE_UTM_OPTS_NS_STRICT}),r_.prototype.get_PE_UTM_OPTS_ADD_SPACES=r_.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return He(t)},Object.defineProperty(r_.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:r_.prototype.get_PE_UTM_OPTS_ADD_SPACES}),o_.prototype=Object.create(zn.prototype),o_.prototype.constructor=o_,o_.prototype.__class__=o_,o_.__cache__={},t.PeParameter=o_,o_.prototype.getValue=o_.prototype.getValue=function(){var t=this.ptr;return Xe(t)},o_.prototype.getCode=o_.prototype.getCode=function(){var t=this.ptr;return ze(t)},o_.prototype.getName=o_.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(Ze(e,t))},o_.prototype.getType=o_.prototype.getType=function(){var t=this.ptr;return Be(t)},p_.prototype=Object.create(Yn.prototype),p_.prototype.constructor=p_,p_.prototype.__class__=p_,p_.__cache__={},t.PePCSInfo=p_,p_.prototype.getCentralMeridian=p_.prototype.getCentralMeridian=function(){var t=this.ptr;return We(t)},p_.prototype.getDomainMinx=p_.prototype.getDomainMinx=function(){var t=this.ptr;return ke(t)},p_.prototype.getDomainMiny=p_.prototype.getDomainMiny=function(){var t=this.ptr;return Ve(t)},p_.prototype.getDomainMaxx=p_.prototype.getDomainMaxx=function(){var t=this.ptr;return qe(t)},p_.prototype.getDomainMaxy=p_.prototype.getDomainMaxy=function(){var t=this.ptr;return Je(t)},p_.prototype.getNorthPoleLocation=p_.prototype.getNorthPoleLocation=function(){var t=this.ptr;return Ke(t)},p_.prototype.getNorthPoleGeometry=p_.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return $e(t)},p_.prototype.getSouthPoleLocation=p_.prototype.getSouthPoleLocation=function(){var t=this.ptr;return Qe(t)},p_.prototype.getSouthPoleGeometry=p_.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return tn(t)},p_.prototype.isDensificationNeeded=p_.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!en(t)},p_.prototype.isGcsHorizonMultiOverlap=p_.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!nn(t)},p_.prototype.isPannableRectangle=p_.prototype.isPannableRectangle=function(){var t=this.ptr;return!!_n(t)},p_.prototype.generate=p_.prototype.generate=function(t,e){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),wn(rn(n,t,e),p_)},p_.prototype.get_PE_PCSINFO_OPTION_NONE=p_.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return on(t)},Object.defineProperty(p_.prototype,"PE_PCSINFO_OPTION_NONE",{get:p_.prototype.get_PE_PCSINFO_OPTION_NONE}),p_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=p_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return pn(t)},Object.defineProperty(p_.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:p_.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),p_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=p_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return cn(t)},Object.defineProperty(p_.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:p_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),p_.prototype.get_PE_POLE_POINT=p_.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return an(t)},Object.defineProperty(p_.prototype,"PE_POLE_POINT",{get:p_.prototype.get_PE_POLE_POINT}),i_.prototype=Object.create(zn.prototype),i_.prototype.constructor=i_,i_.prototype.__class__=i_,i_.__cache__={},t.PePrimem=i_,i_.prototype.getLongitude=i_.prototype.getLongitude=function(){var t=this.ptr;return sn(t)},i_.prototype.getCode=i_.prototype.getCode=function(){var t=this.ptr;return un(t)},i_.prototype.getName=i_.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(Pn(e,t))},i_.prototype.getType=i_.prototype.getType=function(){var t=this.ptr;return yn(t)},c_.prototype=Object.create(Zn.prototype),c_.prototype.constructor=c_,c_.prototype.__class__=c_,c_.__cache__={},t.PeProjcs=c_,c_.prototype.getGeogcs=c_.prototype.getGeogcs=function(){var t=this.ptr;return wn(gn(t),Jn)},c_.prototype.getParameters=c_.prototype.getParameters=function(){var t=this.ptr;return fn(t)},c_.prototype.getUnit=c_.prototype.getUnit=function(){var t=this.ptr;return wn(ln(t),s_)},c_.prototype.loadConstants=c_.prototype.loadConstants=function(){var t=this.ptr;return!!mn(t)},c_.prototype.horizonGcsGenerate=c_.prototype.horizonGcsGenerate=function(){var t=this.ptr;return wn(dn(t),e_)},c_.prototype.horizonPcsGenerate=c_.prototype.horizonPcsGenerate=function(){var t=this.ptr;return wn(En(t),e_)},c_.prototype.getCode=c_.prototype.getCode=function(){var t=this.ptr;return bn(t)},c_.prototype.getName=c_.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(On(e,t))},c_.prototype.getType=c_.prototype.getType=function(){var t=this.ptr;return Tn(t)},a_.prototype=Object.create(zn.prototype),a_.prototype.constructor=a_,a_.prototype.__class__=a_,a_.__cache__={},t.PeSpheroid=a_,a_.prototype.getAxis=a_.prototype.getAxis=function(){var t=this.ptr;return Sn(t)},a_.prototype.getFlattening=a_.prototype.getFlattening=function(){var t=this.ptr;return Nn(t)},a_.prototype.getCode=a_.prototype.getCode=function(){var t=this.ptr;return hn(t)},a_.prototype.getName=a_.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(Mn(e,t))},a_.prototype.getType=a_.prototype.getType=function(){var t=this.ptr;return vn(t)},s_.prototype=Object.create(zn.prototype),s_.prototype.constructor=s_,s_.prototype.__class__=s_,s_.__cache__={},t.PeUnit=s_,s_.prototype.getUnitFactor=s_.prototype.getUnitFactor=function(){var t=this.ptr;return Dn(t)},s_.prototype.getCode=s_.prototype.getCode=function(){var t=this.ptr;return Rn(t)},s_.prototype.getName=s_.prototype.getName=function(t){var e=this.ptr;return xn.prepare(),"object"==typeof t&&(t=Xn(t)),I(An(e,t))},s_.prototype.getType=s_.prototype.getType=function(){var t=this.ptr;return Gn(t)},u_.prototype=Object.create(Yn.prototype),u_.prototype.constructor=u_,u_.prototype.__class__=u_,u_.__cache__={},t.PeVersion=u_,u_.prototype.version_string=u_.prototype.version_string=function(){var t=this.ptr;return I(Cn(t))},t.ensureCache=xn,t.ensureString=Hn,t.ensureInt8=Xn,t.ensureInt16=function(t){if("object"==typeof t){var e=xn.alloc(t,h);return xn.copy(t,h,e),e}return t},t.ensureInt32=function(t){if("object"==typeof t){var e=xn.alloc(t,M);return xn.copy(t,M,e),e}return t},t.ensureFloat32=function(t){if("object"==typeof t){var e=xn.alloc(t,D);return xn.copy(t,D,e),e}return t},t.ensureFloat64=function(t){if("object"==typeof t){var e=xn.alloc(t,R);return xn.copy(t,R,e),e}return t},t.ready},_.exports=o;const i=function(t,e){for(var n=0;n<e.length;n++){const _=e[n];if("string"!=typeof _&&!Array.isArray(_))for(const e in _)if("default"!==e&&!(e in t)){const n=Object.getOwnPropertyDescriptor(_,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>_[e]})}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:p.exports},[p.exports])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2664,3529],{65845:(e,a,t)=>{t.d(a,{D:()=>n});var r=t(81153);function n(e){e&&e.writtenProperties&&e.writtenProperties.forEach((({target:e,propName:a,newOrigin:t})=>{(0,r.l)(e)&&t&&e.originOf(a)!==t&&e.updateOrigin(a,t)}))}},81153:(e,a,t)=>{function r(e){return e&&"getAtOrigin"in e&&"originOf"in e}t.d(a,{l:()=>r})},32664:(e,a,t)=>{t.r(a),t.d(a,{save:()=>E,saveAll:()=>J,saveAs:()=>M});var r=t(67676),n=t(20102),l=t(92604),s=t(70586),i=t(95330),o=t(65845),u=t(3121),y=t(63529),c=t(66677),d=t(84230),f=t(65587),p=t(15235),m=t(33516),w=t(14661);const h=l.Z.getLogger("esri.layers.FeatureLayer"),b="Feature Service";function S(e,a){return`Layer (title: ${e.title}, id: ${e.id}) of type '${e.declaredClass}' ${a}`}function I(e,a){if(a.type!==b)throw new n.Z("feature-layer:portal-item-wrong-type",S(e,`should have portal item of type "${b}"`))}async function v(e){if(await e.load(),(0,d.rQ)(e))throw new n.Z("feature-layer:save",S(e,"using an in-memory source cannot be saved to a portal item"))}async function L(e,a,t){"beforeSave"in e&&"function"==typeof e.beforeSave&&await e.beforeSave();const r=e.write({},a);return function(e,a){let t=e.messages.filter((({type:e})=>"error"===e)).map((({name:e,message:a,details:t})=>new n.Z(e,a,t)));if(a?.ignoreUnsupported&&(t=t.filter((({name:e})=>"layer:unsupported"!==e&&"symbol:unsupported"!==e&&"symbol-layer:unsupported"!==e&&"property:unsupported"!==e&&"url:unsupported"!==e))),t.length>0)throw new n.Z("feature-layer:save","Failed to save feature layer due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:t})}(a,t),r}function P(e){const{layer:a,layerJSON:t}=e;return a.isTable?{layers:[],tables:[t]}:{layers:[t],tables:[]}}function g(e){(0,w.qj)(e,w.Kz.JSAPI),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter(((e,a,t)=>t.indexOf(e)===a)))}async function O(e,a){return/\/\d+\/?$/.test(e.url)?P(a[0]):async function(e,a){const{layer:{url:t,customParameters:r,apiKey:n}}=a[0];let l=await e.fetchData("json");l&&null!=l.layers&&null!=l.tables||(l=await async function(e,a,t){var r,n;e||(e={}),(r=e).layers||(r.layers=[]),(n=e).tables||(n.tables=[]);const{url:l,customParameters:o,apiKey:c}=a,{serviceJSON:d,layersJSON:f}=await(0,y.fetchFeatureService)(l,{customParameters:o,apiKey:c}),p=T(e.layers,d.layers,t),m=T(e.tables,d.tables,t);e.layers=p.itemResources,e.tables=m.itemResources;const w=[...p.added,...m.added],h=f?[...f.layers,...f.tables]:[];return await async function(e,a,t,r){const n=a.map((({id:e})=>new u.default({url:t,layerId:e,sourceJSON:r.find((({id:a})=>a===e))})));await(0,i.as)(n.map((e=>e.load()))),n.forEach((a=>{const{layerId:t,loaded:r,defaultPopupTemplate:n}=a;r&&!(0,s.Wi)(n)&&N(a,{id:t,popupInfo:n.toJSON()},e)}))}(e,w,l,h),e}(l,{url:t,customParameters:r,apiKey:n},a.map((e=>e.layer.layerId))));for(const e of a)N(e.layer,e.layerJSON,l);return l}(e,a)}function T(e,a,t){const n=(0,r.e5)(e,a,((e,a)=>e.id===a.id));e=e.filter((e=>!n.removed.some((a=>a.id===e.id))));const l=n.added.map((({id:e})=>({id:e})));return l.forEach((({id:a})=>{e.push({id:a})})),{itemResources:e,added:l.filter((({id:e})=>!t.includes(e)))}}function N(e,a,t){e.isTable?A(t.tables,a):A(t.layers,a)}function A(e,a){const t=e.findIndex((({id:e})=>e===a.id));-1===t?e.push(a):e[t]=a}function C(e){const{portalItem:a}=e;return(0,d.y2)(e)&&!e.dynamicDataSource&&!!a?.loaded&&a.type===b}const E=(0,i.Ds)((async function(e,a){await v(e),function(e){const a=e.portalItem;if(!a)throw h.error("save: requires the portalItem property to be set"),new n.Z("feature-layer:portal-item-not-set",S(e,"requires the portalItem property to be set"));if(!a.loaded)throw new n.Z("feature-layer:portal-item-not-loaded",S(e,"cannot be saved to a portal item that does not exist or is inaccessible"));I(e,a)}(e);const t=e.portalItem,r=(0,m.Y)(t),l=await L(e,r,a),s=await O(t,[{layer:e,layerJSON:l}]);return g(t),await t.update({data:s}),(0,o.D)(r),t})),J=(0,i.Ds)((async(e,a)=>{await async function(e){if(!e?.length)throw new n.Z("feature-layer-utils-saveall:missing-parameters","'layers' array should contain at least one feature layer");await Promise.all(e.map((e=>e.load())));for(const a of e)if(!C(a))throw new n.Z("feature-layer-utils-saveall:invalid-parameters",`'layers' array should only contain layers or tables in a feature service loaded from 'Feature Service' item. ${S(a,"does not conform")}`,{layer:a});const a=e.map((e=>e.portalItem.id));if(new Set(a).size>1)throw new n.Z("feature-layer-utils-saveall:invalid-parameters","All layers in the 'layers' array should be loaded from the same portal item");const t=e.map((e=>e.layerId));if(new Set(t).size!==t.length)throw new n.Z("feature-layer-utils-saveall:invalid-parameters","'layers' array should contain only one instance each of layer or table in a feature service")}(e);const t=e[0].portalItem,r=(0,m.Y)(t),l=await Promise.all(e.map((e=>L(e,r,a)))),s=await O(t,e.map(((e,a)=>({layer:e,layerJSON:l[a]}))));return g(t),await t.update({data:s}),await Promise.all(e.slice(1).map((e=>e.portalItem.reload()))),(0,o.D)(r),t.clone()})),M=(0,i.Ds)((async function(e,a,t){await v(e);const r=function(e,a){var t,r;let n=p.default.from(a);return n.id&&(n=n.clone(),n.id=null),(t=n).type??(t.type=b),(r=n).portal??(r.portal=f.Z.getDefault()),I(e,n),n}(e,a),n=(0,m.Y)(r),l=P({layer:e,layerJSON:await L(e,n,t)});return await async function(e,a){const{url:t,layerId:r,title:n,fullExtent:l,isTable:i}=e,o=(0,c.Qc)(t),u=(0,s.pC)(o)&&"FeatureServer"===o.serverType;a.url=u?t:`${t}/${r}`,a.title||(a.title=n),a.extent=null,!i&&(0,s.pC)(l)&&(a.extent=await(0,w.$o)(l)),(0,w.ck)(a,w.Kz.METADATA),(0,w.ck)(a,w.Kz.MULTI_LAYER),(0,w.qj)(a,w.Kz.SINGLE_LAYER),i&&(0,w.qj)(a,w.Kz.TABLE),g(a)}(e,r),await async function(e,a,t){const r=e.portal;await r._signIn(),await r.user.addItem({item:e,data:a,folder:t?.folder})}(r,l,t),e.portalItem=r,(0,o.D)(n),r}))},63529:(e,a,t)=>{t.r(a),t.d(a,{fetchFeatureService:()=>p,fromUrl:()=>u});var r=t(3172),n=t(20102),l=t(70586),s=t(17452),i=t(66677),o=t(87344);async function u(e){const a=e.properties?.customParameters,r=await async function(e,a){let t=(0,i.Qc)(e);if((0,l.Wi)(t)&&(t=await c(e,a)),(0,l.Wi)(t))throw new n.Z("arcgis-layers:url-mismatch","The url '${url}' is not a valid arcgis resource",{url:e});const{serverType:r,sublayer:s}=t;let u;const y={FeatureServer:"FeatureLayer",StreamServer:"StreamLayer",VectorTileServer:"VectorTileLayer"};switch(r){case"MapServer":u=null!=s?"FeatureLayer":async function(e,a){return(await m(e,{customParameters:a})).tileInfo}(e,a).then((e=>e?"TileLayer":"MapImageLayer"));break;case"ImageServer":u=m(e,{customParameters:a}).then((e=>{const a=e.tileInfo&&e.tileInfo.format;return e.tileInfo?"LERC"!==a?.toUpperCase()||e.cacheType&&"elevation"!==e.cacheType.toLowerCase()?"ImageryTileLayer":"ElevationLayer":"ImageryLayer"}));break;case"SceneServer":u=m(t.url.path,{customParameters:a}).then((e=>{if(e){if("Voxel"===e?.layerType)return"VoxelLayer";if(e?.layers&&Array.isArray(e.layers)&&e.layers.length>0){const a={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"},t=e.layers[0]?.layerType;if(null!=a[t])return a[t]}}return"SceneLayer"}));break;default:u=y[r]}const d="FeatureServer"===r,f={parsedUrl:t,Constructor:null,layerOrTableId:d?s:null,sublayerIds:null,tableIds:null},w=await u;if({FeatureLayer:!0,SceneLayer:!0}[w]&&null==s){const t=await async function(e,a,t){let r,n=!1;if("FeatureServer"===a){const a=await p(e,{customParameters:t});n=!!a.layersJSON,r=a.layersJSON||a.serviceJSON}else r=await m(e,{customParameters:t});const l=r?.layers,s=r?.tables;return{layerIds:l?.map((e=>e.id)).reverse()||[],tableIds:s?.map((e=>e.id)).reverse()||[],layerInfos:n?l:[],tableInfos:n?s:[]}}(e,r,a);d&&(f.sublayerInfos=t.layerInfos,f.tableInfos=t.tableInfos),1!==t.layerIds.length+t.tableIds.length?(f.sublayerIds=t.layerIds,f.tableIds=t.tableIds):d&&(f.layerOrTableId=t.layerIds[0]??t.tableIds[0],f.sourceJSON=t.layerInfos[0]??t.tableInfos[0])}return f.Constructor=await async function(e){return(0,o.T[e])()}(w),f}(e.url,a),s={...e.properties,url:e.url};if(!r.sublayerIds)return null!=r.layerOrTableId&&(s.layerId=r.layerOrTableId,s.sourceJSON=r.sourceJSON),new r.Constructor(s);const u=new(0,(await Promise.all([t.e(6968),t.e(5787)]).then(t.bind(t,89348))).default)({title:r.parsedUrl.title});return function(e,a,t){function r(e,r){const n={...t,layerId:e,sublayerTitleMode:"service-name"};return(0,l.pC)(r)&&(n.sourceJSON=r),new a.Constructor(n)}a.sublayerIds.forEach((t=>{const n=r(t,y(a.sublayerInfos,t));e.add(n)})),a.tableIds.forEach((t=>{const n=r(t,y(a.tableInfos,t));e.tables.add(n)}))}(u,r,s),u}function y(e,a){return e?e.find((e=>e.id===a)):null}async function c(e,a){const t=await m(e,{customParameters:a});let r=null,n=null;const o=t.type;if("Feature Layer"===o||"Table"===o?(r="FeatureServer",n=t.id):"indexedVector"===o?r="VectorTileServer":t.hasOwnProperty("mapName")?r="MapServer":t.hasOwnProperty("bandCount")&&t.hasOwnProperty("pixelSizeX")?r="ImageServer":t.hasOwnProperty("maxRecordCount")&&t.hasOwnProperty("allowGeometryUpdates")?r="FeatureServer":t.hasOwnProperty("streamUrls")?r="StreamServer":d(t)?(r="SceneServer",n=t.id):t.hasOwnProperty("layers")&&d(t.layers?.[0])&&(r="SceneServer"),!r)return null;const u=null!=n?(0,i.DR)(e):null;return{title:(0,l.pC)(u)&&t.name||(0,s.vt)(e),serverType:r,sublayer:n,url:{path:(0,l.pC)(u)?u.serviceUrl:(0,s.mN)(e).path}}}function d(e){return e?.hasOwnProperty("store")&&e.hasOwnProperty("id")&&"number"==typeof e.id}function f(e){return!e.type||"Feature Layer"===e.type}async function p(e,a){let t=await m(e,a);t=t||{},t.layers=t.layers?.filter(f)||[];const r={serviceJSON:t};if(t.currentVersion<10.5)return r;const n=await m(e+"/layers",a);return r.layersJSON={layers:n?.layers?.filter(f)||[],tables:n?.tables||[]},r}async function m(e,a){return(await(0,r.default)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}})).data}},84230:(e,a,t)=>{function r(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function n(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}t.d(a,{rQ:()=>r,y2:()=>n})},87344:(e,a,t)=>{t.d(a,{T:()=>r});const r={BingMapsLayer:async()=>(await Promise.all([t.e(6968),t.e(2723)]).then(t.bind(t,2723))).default,BuildingSceneLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4133),t.e(2485)]).then(t.bind(t,30223))).default,CSVLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4910)]).then(t.bind(t,45425))).default,ElevationLayer:async()=>(await Promise.all([t.e(1938),t.e(9932)]).then(t.bind(t,49932))).default,FeatureLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4477)]).then(t.bind(t,3121))).default,GroupLayer:async()=>(await Promise.all([t.e(6968),t.e(9348)]).then(t.bind(t,89348))).default,GeoRSSLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(3723)]).then(t.bind(t,3723))).default,GeoJSONLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(7202)]).then(t.bind(t,23477))).default,ImageryLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(8326),t.e(176),t.e(9147),t.e(7175)]).then(t.bind(t,47175))).default,ImageryTileLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1938),t.e(176),t.e(9147),t.e(2398),t.e(9032)]).then(t.bind(t,52294))).default,IntegratedMeshLayer:async()=>(await Promise.all([t.e(4547),t.e(4133),t.e(734)]).then(t.bind(t,9310))).default,KMLLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(739)]).then(t.bind(t,42756))).default,LineOfSightLayer:async()=>(await Promise.all([t.e(4547),t.e(7718)]).then(t.bind(t,57718))).default,MapImageLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(7832),t.e(3128),t.e(7374)]).then(t.bind(t,27374))).default,MapNotesLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(3750)]).then(t.bind(t,62128))).default,OGCFeatureLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(2855)]).then(t.bind(t,88068))).default,OpenStreetMapLayer:async()=>(await Promise.all([t.e(6968),t.e(6199),t.e(6237)]).then(t.bind(t,66237))).default,PointCloudLayer:async()=>(await Promise.all([t.e(1773),t.e(4133),t.e(1197)]).then(t.bind(t,10608))).default,RouteLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(8157)]).then(t.bind(t,50445))).default,SceneLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4133),t.e(4417)]).then(t.bind(t,57476))).default,StreamLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(1408)]).then(t.bind(t,88387))).default,TileLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(7832),t.e(1938),t.e(3128),t.e(8636)]).then(t.bind(t,98636))).default,UnknownLayer:async()=>(await t.e(4166).then(t.bind(t,44166))).default,UnsupportedLayer:async()=>(await t.e(9296).then(t.bind(t,39296))).default,VectorTileLayer:async()=>(await Promise.all([t.e(6968),t.e(1938),t.e(4325),t.e(1785),t.e(4756)]).then(t.bind(t,94756))).default,VoxelLayer:async()=>(await Promise.all([t.e(4133),t.e(7304)]).then(t.bind(t,91398))).default,WebTileLayer:async()=>(await Promise.all([t.e(6968),t.e(6199)]).then(t.bind(t,16199))).default,WFSLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(3974)]).then(t.bind(t,12653))).default,WMSLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(5906)]).then(t.bind(t,25906))).default,WMTSLayer:async()=>(await Promise.all([t.e(6968),t.e(6199),t.e(5853)]).then(t.bind(t,55853))).default}},33516:(e,a,t)=>{t.d(a,{Y:()=>s,h:()=>l});var r=t(17452),n=t(65587);function l(e){return{origin:"portal-item",url:(0,r.mN)(e.itemUrl),portal:e.portal||n.Z.getDefault(),portalItem:e,readResourcePaths:[]}}function s(e){return{origin:"portal-item",messages:[],writtenProperties:[],url:e.itemUrl?(0,r.mN)(e.itemUrl):null,portal:e.portal||n.Z.getDefault(),portalItem:e}}},14661:(e,a,t)=>{t.d(a,{$o:()=>u,Kz:()=>y,_$:()=>i,ck:()=>o,qj:()=>s});var r=t(44547),n=t(82971),l=t(40488);function s(e,a){if(!i(e,a)){const t=e.typeKeywords;t?t.push(a):e.typeKeywords=[a]}}function i(e,a){return!!e.typeKeywords?.includes(a)}function o(e,a){const t=e.typeKeywords;if(t){const e=t.indexOf(a);e>-1&&t.splice(e,1)}}async function u(e){const a=e.clone().normalize();let t;if(a.length>1)for(const e of a)t?e.width>t.width&&(t=e):t=e;else t=a[0];return async function(e){const a=e.spatialReference;if(a.isWGS84)return e.clone();if(a.isWebMercator)return(0,l.Sx)(e);const t=n.Z.WGS84;return await(0,r.iQ)(a,t),(0,r.iV)(e,t)}(t)}const y={DEVELOPER_BASEMAP:"DeveloperBasemap",JSAPI:"ArcGIS API for JavaScript",METADATA:"Metadata",MULTI_LAYER:"Multilayer",SINGLE_LAYER:"Singlelayer",TABLE:"Table"}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2664,3529],{65845:(e,a,t)=>{t.d(a,{D:()=>n});var r=t(81153);function n(e){e&&e.writtenProperties&&e.writtenProperties.forEach((({target:e,propName:a,newOrigin:t})=>{(0,r.l)(e)&&t&&e.originOf(a)!==t&&e.updateOrigin(a,t)}))}},81153:(e,a,t)=>{function r(e){return e&&"getAtOrigin"in e&&"originOf"in e}t.d(a,{l:()=>r})},32664:(e,a,t)=>{t.r(a),t.d(a,{save:()=>E,saveAll:()=>J,saveAs:()=>M});var r=t(67676),n=t(20102),l=t(92604),s=t(70586),i=t(95330),o=t(65845),u=t(3121),y=t(63529),c=t(66677),d=t(84230),f=t(65587),p=t(15235),m=t(33516),w=t(14661);const h=l.Z.getLogger("esri.layers.FeatureLayer"),b="Feature Service";function S(e,a){return`Layer (title: ${e.title}, id: ${e.id}) of type '${e.declaredClass}' ${a}`}function I(e,a){if(a.type!==b)throw new n.Z("feature-layer:portal-item-wrong-type",S(e,`should have portal item of type "${b}"`))}async function v(e){if(await e.load(),(0,d.rQ)(e))throw new n.Z("feature-layer:save",S(e,"using an in-memory source cannot be saved to a portal item"))}async function L(e,a,t){"beforeSave"in e&&"function"==typeof e.beforeSave&&await e.beforeSave();const r=e.write({},a);return function(e,a){let t=e.messages.filter((({type:e})=>"error"===e)).map((({name:e,message:a,details:t})=>new n.Z(e,a,t)));if(a?.ignoreUnsupported&&(t=t.filter((({name:e})=>"layer:unsupported"!==e&&"symbol:unsupported"!==e&&"symbol-layer:unsupported"!==e&&"property:unsupported"!==e&&"url:unsupported"!==e))),t.length>0)throw new n.Z("feature-layer:save","Failed to save feature layer due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:t})}(a,t),r}function P(e){const{layer:a,layerJSON:t}=e;return a.isTable?{layers:[],tables:[t]}:{layers:[t],tables:[]}}function g(e){(0,w.qj)(e,w.Kz.JSAPI),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter(((e,a,t)=>t.indexOf(e)===a)))}async function O(e,a){return/\/\d+\/?$/.test(e.url)?P(a[0]):async function(e,a){const{layer:{url:t,customParameters:r,apiKey:n}}=a[0];let l=await e.fetchData("json");l&&null!=l.layers&&null!=l.tables||(l=await async function(e,a,t){var r,n;e||(e={}),(r=e).layers||(r.layers=[]),(n=e).tables||(n.tables=[]);const{url:l,customParameters:o,apiKey:c}=a,{serviceJSON:d,layersJSON:f}=await(0,y.fetchFeatureService)(l,{customParameters:o,apiKey:c}),p=T(e.layers,d.layers,t),m=T(e.tables,d.tables,t);e.layers=p.itemResources,e.tables=m.itemResources;const w=[...p.added,...m.added],h=f?[...f.layers,...f.tables]:[];return await async function(e,a,t,r){const n=a.map((({id:e})=>new u.default({url:t,layerId:e,sourceJSON:r.find((({id:a})=>a===e))})));await(0,i.as)(n.map((e=>e.load()))),n.forEach((a=>{const{layerId:t,loaded:r,defaultPopupTemplate:n}=a;r&&!(0,s.Wi)(n)&&N(a,{id:t,popupInfo:n.toJSON()},e)}))}(e,w,l,h),e}(l,{url:t,customParameters:r,apiKey:n},a.map((e=>e.layer.layerId))));for(const e of a)N(e.layer,e.layerJSON,l);return l}(e,a)}function T(e,a,t){const n=(0,r.e5)(e,a,((e,a)=>e.id===a.id));e=e.filter((e=>!n.removed.some((a=>a.id===e.id))));const l=n.added.map((({id:e})=>({id:e})));return l.forEach((({id:a})=>{e.push({id:a})})),{itemResources:e,added:l.filter((({id:e})=>!t.includes(e)))}}function N(e,a,t){e.isTable?A(t.tables,a):A(t.layers,a)}function A(e,a){const t=e.findIndex((({id:e})=>e===a.id));-1===t?e.push(a):e[t]=a}function C(e){const{portalItem:a}=e;return(0,d.y2)(e)&&!e.dynamicDataSource&&!!a?.loaded&&a.type===b}const E=(0,i.Ds)((async function(e,a){await v(e),function(e){const a=e.portalItem;if(!a)throw h.error("save: requires the portalItem property to be set"),new n.Z("feature-layer:portal-item-not-set",S(e,"requires the portalItem property to be set"));if(!a.loaded)throw new n.Z("feature-layer:portal-item-not-loaded",S(e,"cannot be saved to a portal item that does not exist or is inaccessible"));I(e,a)}(e);const t=e.portalItem,r=(0,m.Y)(t),l=await L(e,r,a),s=await O(t,[{layer:e,layerJSON:l}]);return g(t),await t.update({data:s}),(0,o.D)(r),t})),J=(0,i.Ds)((async(e,a)=>{await async function(e){if(!e?.length)throw new n.Z("feature-layer-utils-saveall:missing-parameters","'layers' array should contain at least one feature layer");await Promise.all(e.map((e=>e.load())));for(const a of e)if(!C(a))throw new n.Z("feature-layer-utils-saveall:invalid-parameters",`'layers' array should only contain layers or tables in a feature service loaded from 'Feature Service' item. ${S(a,"does not conform")}`,{layer:a});const a=e.map((e=>e.portalItem.id));if(new Set(a).size>1)throw new n.Z("feature-layer-utils-saveall:invalid-parameters","All layers in the 'layers' array should be loaded from the same portal item");const t=e.map((e=>e.layerId));if(new Set(t).size!==t.length)throw new n.Z("feature-layer-utils-saveall:invalid-parameters","'layers' array should contain only one instance each of layer or table in a feature service")}(e);const t=e[0].portalItem,r=(0,m.Y)(t),l=await Promise.all(e.map((e=>L(e,r,a)))),s=await O(t,e.map(((e,a)=>({layer:e,layerJSON:l[a]}))));return g(t),await t.update({data:s}),await Promise.all(e.slice(1).map((e=>e.portalItem.reload()))),(0,o.D)(r),t.clone()})),M=(0,i.Ds)((async function(e,a,t){await v(e);const r=function(e,a){var t,r;let n=p.default.from(a);return n.id&&(n=n.clone(),n.id=null),(t=n).type??(t.type=b),(r=n).portal??(r.portal=f.Z.getDefault()),I(e,n),n}(e,a),n=(0,m.Y)(r),l=P({layer:e,layerJSON:await L(e,n,t)});return await async function(e,a){const{url:t,layerId:r,title:n,fullExtent:l,isTable:i}=e,o=(0,c.Qc)(t),u=(0,s.pC)(o)&&"FeatureServer"===o.serverType;a.url=u?t:`${t}/${r}`,a.title||(a.title=n),a.extent=null,!i&&(0,s.pC)(l)&&(a.extent=await(0,w.$o)(l)),(0,w.ck)(a,w.Kz.METADATA),(0,w.ck)(a,w.Kz.MULTI_LAYER),(0,w.qj)(a,w.Kz.SINGLE_LAYER),i&&(0,w.qj)(a,w.Kz.TABLE),g(a)}(e,r),await async function(e,a,t){const r=e.portal;await r._signIn(),await r.user.addItem({item:e,data:a,folder:t?.folder})}(r,l,t),e.portalItem=r,(0,o.D)(n),r}))},63529:(e,a,t)=>{t.r(a),t.d(a,{fetchFeatureService:()=>p,fromUrl:()=>u});var r=t(3172),n=t(20102),l=t(70586),s=t(17452),i=t(66677),o=t(87344);async function u(e){const a=e.properties?.customParameters,r=await async function(e,a){let t=(0,i.Qc)(e);if((0,l.Wi)(t)&&(t=await c(e,a)),(0,l.Wi)(t))throw new n.Z("arcgis-layers:url-mismatch","The url '${url}' is not a valid arcgis resource",{url:e});const{serverType:r,sublayer:s}=t;let u;const y={FeatureServer:"FeatureLayer",StreamServer:"StreamLayer",VectorTileServer:"VectorTileLayer"};switch(r){case"MapServer":u=null!=s?"FeatureLayer":async function(e,a){return(await m(e,{customParameters:a})).tileInfo}(e,a).then((e=>e?"TileLayer":"MapImageLayer"));break;case"ImageServer":u=m(e,{customParameters:a}).then((e=>{const a=e.tileInfo&&e.tileInfo.format;return e.tileInfo?"LERC"!==a?.toUpperCase()||e.cacheType&&"elevation"!==e.cacheType.toLowerCase()?"ImageryTileLayer":"ElevationLayer":"ImageryLayer"}));break;case"SceneServer":u=m(t.url.path,{customParameters:a}).then((e=>{if(e){if("Voxel"===e?.layerType)return"VoxelLayer";if(e?.layers&&Array.isArray(e.layers)&&e.layers.length>0){const a={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"},t=e.layers[0]?.layerType;if(null!=a[t])return a[t]}}return"SceneLayer"}));break;default:u=y[r]}const d="FeatureServer"===r,f={parsedUrl:t,Constructor:null,layerOrTableId:d?s:null,sublayerIds:null,tableIds:null},w=await u;if({FeatureLayer:!0,SceneLayer:!0}[w]&&null==s){const t=await async function(e,a,t){let r,n=!1;if("FeatureServer"===a){const a=await p(e,{customParameters:t});n=!!a.layersJSON,r=a.layersJSON||a.serviceJSON}else r=await m(e,{customParameters:t});const l=r?.layers,s=r?.tables;return{layerIds:l?.map((e=>e.id)).reverse()||[],tableIds:s?.map((e=>e.id)).reverse()||[],layerInfos:n?l:[],tableInfos:n?s:[]}}(e,r,a);d&&(f.sublayerInfos=t.layerInfos,f.tableInfos=t.tableInfos),1!==t.layerIds.length+t.tableIds.length?(f.sublayerIds=t.layerIds,f.tableIds=t.tableIds):d&&(f.layerOrTableId=t.layerIds[0]??t.tableIds[0],f.sourceJSON=t.layerInfos[0]??t.tableInfos[0])}return f.Constructor=await async function(e){return(0,o.T[e])()}(w),f}(e.url,a),s={...e.properties,url:e.url};if(!r.sublayerIds)return null!=r.layerOrTableId&&(s.layerId=r.layerOrTableId,s.sourceJSON=r.sourceJSON),new r.Constructor(s);const u=new(0,(await Promise.all([t.e(6968),t.e(5787)]).then(t.bind(t,89348))).default)({title:r.parsedUrl.title});return function(e,a,t){function r(e,r){const n={...t,layerId:e,sublayerTitleMode:"service-name"};return(0,l.pC)(r)&&(n.sourceJSON=r),new a.Constructor(n)}a.sublayerIds.forEach((t=>{const n=r(t,y(a.sublayerInfos,t));e.add(n)})),a.tableIds.forEach((t=>{const n=r(t,y(a.tableInfos,t));e.tables.add(n)}))}(u,r,s),u}function y(e,a){return e?e.find((e=>e.id===a)):null}async function c(e,a){const t=await m(e,{customParameters:a});let r=null,n=null;const o=t.type;if("Feature Layer"===o||"Table"===o?(r="FeatureServer",n=t.id):"indexedVector"===o?r="VectorTileServer":t.hasOwnProperty("mapName")?r="MapServer":t.hasOwnProperty("bandCount")&&t.hasOwnProperty("pixelSizeX")?r="ImageServer":t.hasOwnProperty("maxRecordCount")&&t.hasOwnProperty("allowGeometryUpdates")?r="FeatureServer":t.hasOwnProperty("streamUrls")?r="StreamServer":d(t)?(r="SceneServer",n=t.id):t.hasOwnProperty("layers")&&d(t.layers?.[0])&&(r="SceneServer"),!r)return null;const u=null!=n?(0,i.DR)(e):null;return{title:(0,l.pC)(u)&&t.name||(0,s.vt)(e),serverType:r,sublayer:n,url:{path:(0,l.pC)(u)?u.serviceUrl:(0,s.mN)(e).path}}}function d(e){return e?.hasOwnProperty("store")&&e.hasOwnProperty("id")&&"number"==typeof e.id}function f(e){return!e.type||"Feature Layer"===e.type}async function p(e,a){let t=await m(e,a);t=t||{},t.layers=t.layers?.filter(f)||[];const r={serviceJSON:t};if(t.currentVersion<10.5)return r;const n=await m(e+"/layers",a);return r.layersJSON={layers:n?.layers?.filter(f)||[],tables:n?.tables||[]},r}async function m(e,a){return(await(0,r.default)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}})).data}},84230:(e,a,t)=>{function r(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function n(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}t.d(a,{rQ:()=>r,y2:()=>n})},87344:(e,a,t)=>{t.d(a,{T:()=>r});const r={BingMapsLayer:async()=>(await Promise.all([t.e(6968),t.e(2723)]).then(t.bind(t,2723))).default,BuildingSceneLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4133),t.e(2485)]).then(t.bind(t,30223))).default,CSVLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4910)]).then(t.bind(t,45425))).default,ElevationLayer:async()=>(await Promise.all([t.e(1938),t.e(9932)]).then(t.bind(t,49932))).default,FeatureLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4477)]).then(t.bind(t,3121))).default,GroupLayer:async()=>(await Promise.all([t.e(6968),t.e(9348)]).then(t.bind(t,89348))).default,GeoRSSLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(3723)]).then(t.bind(t,3723))).default,GeoJSONLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(7202)]).then(t.bind(t,23477))).default,ImageryLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(8326),t.e(176),t.e(9147),t.e(7175)]).then(t.bind(t,47175))).default,ImageryTileLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1938),t.e(176),t.e(9147),t.e(2398),t.e(9032)]).then(t.bind(t,52294))).default,IntegratedMeshLayer:async()=>(await Promise.all([t.e(4547),t.e(4133),t.e(734)]).then(t.bind(t,9310))).default,KMLLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(739)]).then(t.bind(t,42756))).default,LineOfSightLayer:async()=>(await Promise.all([t.e(4547),t.e(4681)]).then(t.bind(t,14681))).default,MapImageLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(7832),t.e(3128),t.e(7374)]).then(t.bind(t,27374))).default,MapNotesLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(3750)]).then(t.bind(t,62128))).default,OGCFeatureLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(2855)]).then(t.bind(t,88068))).default,OpenStreetMapLayer:async()=>(await Promise.all([t.e(6968),t.e(6199),t.e(6237)]).then(t.bind(t,66237))).default,PointCloudLayer:async()=>(await Promise.all([t.e(1773),t.e(4133),t.e(1197)]).then(t.bind(t,10608))).default,RouteLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(8157)]).then(t.bind(t,50445))).default,SceneLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(7832),t.e(8326),t.e(3121),t.e(4133),t.e(4417)]).then(t.bind(t,57476))).default,StreamLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(1408)]).then(t.bind(t,88387))).default,TileLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(7832),t.e(1938),t.e(3128),t.e(8636)]).then(t.bind(t,98636))).default,UnknownLayer:async()=>(await t.e(4166).then(t.bind(t,44166))).default,UnsupportedLayer:async()=>(await t.e(9296).then(t.bind(t,39296))).default,VectorTileLayer:async()=>(await Promise.all([t.e(6968),t.e(1938),t.e(4325),t.e(1785),t.e(4756)]).then(t.bind(t,94756))).default,VoxelLayer:async()=>(await Promise.all([t.e(4133),t.e(7304)]).then(t.bind(t,91398))).default,WebTileLayer:async()=>(await Promise.all([t.e(6968),t.e(6199)]).then(t.bind(t,16199))).default,WFSLayer:async()=>(await Promise.all([t.e(6968),t.e(4547),t.e(9454),t.e(1773),t.e(3471),t.e(1423),t.e(6105),t.e(3974)]).then(t.bind(t,12653))).default,WMSLayer:async()=>(await Promise.all([t.e(6968),t.e(9454),t.e(1773),t.e(5906)]).then(t.bind(t,25906))).default,WMTSLayer:async()=>(await Promise.all([t.e(6968),t.e(6199),t.e(5853)]).then(t.bind(t,55853))).default}},33516:(e,a,t)=>{t.d(a,{Y:()=>s,h:()=>l});var r=t(17452),n=t(65587);function l(e){return{origin:"portal-item",url:(0,r.mN)(e.itemUrl),portal:e.portal||n.Z.getDefault(),portalItem:e,readResourcePaths:[]}}function s(e){return{origin:"portal-item",messages:[],writtenProperties:[],url:e.itemUrl?(0,r.mN)(e.itemUrl):null,portal:e.portal||n.Z.getDefault(),portalItem:e}}},14661:(e,a,t)=>{t.d(a,{$o:()=>u,Kz:()=>y,_$:()=>i,ck:()=>o,qj:()=>s});var r=t(44547),n=t(82971),l=t(40488);function s(e,a){if(!i(e,a)){const t=e.typeKeywords;t?t.push(a):e.typeKeywords=[a]}}function i(e,a){return!!e.typeKeywords?.includes(a)}function o(e,a){const t=e.typeKeywords;if(t){const e=t.indexOf(a);e>-1&&t.splice(e,1)}}async function u(e){const a=e.clone().normalize();let t;if(a.length>1)for(const e of a)t?e.width>t.width&&(t=e):t=e;else t=a[0];return async function(e){const a=e.spatialReference;if(a.isWGS84)return e.clone();if(a.isWebMercator)return(0,l.Sx)(e);const t=n.Z.WGS84;return await(0,r.iQ)(a,t),(0,r.iV)(e,t)}(t)}const y={DEVELOPER_BASEMAP:"DeveloperBasemap",JSAPI:"ArcGIS API for JavaScript",METADATA:"Metadata",MULTI_LAYER:"Multilayer",SINGLE_LAYER:"Singlelayer",TABLE:"Table"}}}]);
|