@arcgis/core 4.34.0-next.20 → 4.34.0-next.21

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.
Files changed (176) hide show
  1. package/analysis/VolumeMeasurement/CutFillOptions.js +5 -0
  2. package/analysis/VolumeMeasurement/volumeMeasurementUtils.js +5 -0
  3. package/analysis/VolumeMeasurementAnalysis.d.ts +4 -0
  4. package/analysis/VolumeMeasurementAnalysis.js +5 -0
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/06c3725d6cc21e7e4bcf.js +1 -0
  7. package/assets/esri/core/workers/chunks/{28b525963420f022fb0a.js → 1cc30073f8200b67cff6.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{9432a5466eec397710a4.js → 273ff53a68714e4daad5.js} +1 -1
  9. package/assets/esri/core/workers/chunks/32756905bcf11699b3f7.js +1 -0
  10. package/assets/esri/core/workers/chunks/41f487713c6278d389a1.js +1 -0
  11. package/assets/esri/core/workers/chunks/5b276962c46c57155166.js +1 -0
  12. package/assets/esri/core/workers/chunks/5ce62d9fff80d014d186.js +1 -0
  13. package/assets/esri/core/workers/chunks/5e805c9e9012dd39ec86.js +1 -0
  14. package/assets/esri/core/workers/chunks/66757fc16316a5c50e1e.js +1 -0
  15. package/assets/esri/core/workers/chunks/6a0fbc54638f7de138c1.js +1 -0
  16. package/assets/esri/core/workers/chunks/871fae52d2fddc9e7794.js +1 -0
  17. package/assets/esri/core/workers/chunks/8b19fe829a9dc26fb3fe.js +1 -0
  18. package/assets/esri/core/workers/chunks/8eea6251aa09725e654e.js +1 -0
  19. package/assets/esri/core/workers/chunks/916691122d7fb38497d6.js +1 -0
  20. package/assets/esri/core/workers/chunks/919d2fd7ebc0c840a759.js +1 -0
  21. package/assets/esri/core/workers/chunks/97324f030738fc0d456b.js +1 -0
  22. package/assets/esri/core/workers/chunks/9c510df592befb9ff892.js +1 -0
  23. package/assets/esri/core/workers/chunks/9d2cb559dd9af4e1727c.js +1 -0
  24. package/assets/esri/core/workers/chunks/{2e54be3094e41fd3026d.js → 9eb1a171f5ef1fef42ed.js} +1 -1
  25. package/assets/esri/core/workers/chunks/aba520714efc01bead36.js +1 -0
  26. package/assets/esri/core/workers/chunks/accff253af360c34e8a8.js +1 -0
  27. package/assets/esri/core/workers/chunks/ad3871f497ecea1a08c9.js +1 -0
  28. package/assets/esri/core/workers/chunks/ae6eed26fc932bc08356.js +1 -0
  29. package/assets/esri/core/workers/chunks/c317819ab0544c50c078.js +1 -0
  30. package/assets/esri/core/workers/chunks/fc8bbc571216edd9ef5a.js +1 -0
  31. package/config.js +1 -1
  32. package/core/libs/rbush/PooledRBush.js +1 -1
  33. package/core/scheduling.js +1 -1
  34. package/geometry/support/buffer/BufferView.js +1 -1
  35. package/geometry/support/float16.js +1 -1
  36. package/interfaces.d.ts +1040 -146
  37. package/kernel.js +1 -1
  38. package/layers/SubtypeGroupLayer.js +1 -1
  39. package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
  40. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  41. package/layers/mixins/ArcGISMapService.js +1 -1
  42. package/layers/save/mapImageLayerUtils.js +1 -1
  43. package/layers/support/TilemapCache.js +1 -1
  44. package/layers/support/TitleCreator.js +1 -1
  45. package/layers/support/arcgisLayerUrl.js +1 -1
  46. package/layers/support/rasterFormats/TiffDecoder.js +1 -1
  47. package/package.json +1 -1
  48. package/rest/knowledgeGraph/GraphAddFieldIndexResult.d.ts +4 -0
  49. package/rest/knowledgeGraph/GraphAddPropertyResult.d.ts +4 -0
  50. package/rest/knowledgeGraph/GraphDataModelOperationResult.d.ts +4 -0
  51. package/rest/knowledgeGraph/GraphDeleteFieldIndexResult.d.ts +4 -0
  52. package/rest/knowledgeGraph/GraphDeletePropertyResult.d.ts +4 -0
  53. package/rest/knowledgeGraph/GraphUpdateNamedTypesResult.d.ts +4 -0
  54. package/rest/knowledgeGraph/GraphUpdatePropertyResult.d.ts +4 -0
  55. package/rest/knowledgeGraph/GraphUpdateSearchIndexResult.d.ts +4 -0
  56. package/rest/knowledgeGraphService.d.ts +7 -0
  57. package/support/requestUtils.js +1 -1
  58. package/support/revision.js +1 -1
  59. package/views/2d/engine/ManagedCanvas.js +1 -1
  60. package/views/2d/engine/ParentChildStage.js +5 -0
  61. package/views/2d/engine/Stage.js +1 -1
  62. package/views/2d/engine/webgl/OverlayContainer.js +1 -1
  63. package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
  64. package/views/2d/engine/webgl/Painter.js +1 -1
  65. package/views/2d/engine/webgl/VideoScreenRenderer.js +5 -0
  66. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueType.js +1 -1
  67. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/VideoScreenShader.js +5 -0
  68. package/views/2d/engine/webgl/shaderGraph/techniques/videoScreenRenderer/VideoScreenTechnique.js +5 -0
  69. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  70. package/views/2d/layers/MediaLayerView2D.js +1 -1
  71. package/views/2d/layers/TileLayerView2D.js +1 -1
  72. package/views/2d/layers/features/Processor.js +1 -1
  73. package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
  74. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  75. package/views/2d/mapViewDeps.js +1 -1
  76. package/views/3d/analysis/AnalysisViewManager3D.js +1 -1
  77. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.d.ts +4 -0
  78. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +5 -0
  79. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  80. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  81. package/views/3d/layers/graphics/DeconflictAABR.js +1 -1
  82. package/views/3d/layers/graphics/ExtentSet.js +1 -1
  83. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  84. package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
  85. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
  86. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  87. package/views/3d/layers/graphics/Labeler.js +1 -1
  88. package/views/3d/layers/graphics/pipeline/Feature3DPipeline.js +1 -1
  89. package/views/3d/layers/i3s/I3SAsyncElevationUpdater.js +1 -1
  90. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  91. package/views/3d/layers/i3s/I3SLodHandling.js +1 -1
  92. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  93. package/views/3d/layers/support/FeatureTileDescriptor.js +1 -1
  94. package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
  95. package/views/3d/layers/support/FeatureTileFetcher3DContext.js +1 -1
  96. package/views/3d/layers/support/FeatureTileTree3D.js +1 -1
  97. package/views/3d/layers/support/FeatureVisibilityFilter.js +1 -1
  98. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  99. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  100. package/views/3d/support/StreamDataLoader.js +1 -1
  101. package/views/3d/support/buffer/InterleavedLayout.js +1 -1
  102. package/views/3d/terrain/OverlayManager.js +1 -1
  103. package/views/3d/terrain/OverlayRenderer.js +1 -1
  104. package/views/3d/terrain/TerrainSurface.js +1 -1
  105. package/views/3d/webgl-engine/Stage.js +1 -1
  106. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  107. package/views/3d/webgl-engine/core/FBOPool.js +1 -1
  108. package/views/3d/webgl-engine/effects/RenderNodes.js +1 -1
  109. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  110. package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
  111. package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
  112. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  113. package/views/3d/webgl-engine/lib/glUtil3D.js +1 -1
  114. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  115. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  116. package/views/SceneView.js +1 -1
  117. package/views/VideoView.js +1 -1
  118. package/views/View2D.js +1 -1
  119. package/views/Viewport2DBaseMixin.js +5 -0
  120. package/views/Viewport2DMixin.js +1 -1
  121. package/views/layers/FeatureLayerView.js +1 -1
  122. package/views/support/Scheduler.js +1 -1
  123. package/views/video/VideoOperationalDataView.js +5 -0
  124. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  125. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +4 -0
  126. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  127. package/widgets/BatchAttributeForm/inputs/EditableInput.d.ts +4 -0
  128. package/widgets/BatchAttributeForm/inputs/EditableInput.js +1 -1
  129. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +4 -0
  130. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  131. package/widgets/BatchAttributeForm/inputs/GroupInput.d.ts +4 -0
  132. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  133. package/widgets/BatchAttributeForm/inputs/InputBase.d.ts +4 -0
  134. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  135. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  136. package/widgets/Directions.js +1 -1
  137. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  138. package/widgets/FeatureForm/EditableInput.d.ts +2 -2
  139. package/widgets/FeatureForm/FieldInput.d.ts +2 -2
  140. package/widgets/FeatureForm/GroupInput.d.ts +2 -2
  141. package/widgets/FeatureForm/InputBase.d.ts +2 -2
  142. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  143. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  144. package/widgets/OrientedImageryViewer/components/ImageLocationWidget.js +1 -1
  145. package/widgets/OrientedImageryViewer/components/ImageMeasurementWidget.js +1 -1
  146. package/widgets/OrientedImageryViewer.js +1 -1
  147. package/widgets/VersionManagement/VersionManagementViewModel.js +1 -1
  148. package/widgets/VideoPlayer.js +1 -1
  149. package/widgets/support/SelectionList/FeatureItem.js +1 -1
  150. package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
  151. package/widgets/support/SelectionList/LayerItem.js +1 -1
  152. package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
  153. package/widgets/support/SelectionList.js +1 -1
  154. package/widgets/support/Selector2D/SelectionOperation.js +1 -1
  155. package/assets/esri/core/workers/chunks/034950f7d0596e77a7dd.js +0 -1
  156. package/assets/esri/core/workers/chunks/0808b7b2a18331ac0cf6.js +0 -1
  157. package/assets/esri/core/workers/chunks/093938edee5f0532d7da.js +0 -1
  158. package/assets/esri/core/workers/chunks/116bbff428cc2dc1832e.js +0 -1
  159. package/assets/esri/core/workers/chunks/1646699188ed0cd4ce24.js +0 -1
  160. package/assets/esri/core/workers/chunks/2999ae2a7d4d1ad6447b.js +0 -1
  161. package/assets/esri/core/workers/chunks/3541714d448958c9bc38.js +0 -1
  162. package/assets/esri/core/workers/chunks/629a257509b148ff38c0.js +0 -1
  163. package/assets/esri/core/workers/chunks/6b5fc9da8ae34c889b83.js +0 -1
  164. package/assets/esri/core/workers/chunks/707b34e15937c4f7902f.js +0 -1
  165. package/assets/esri/core/workers/chunks/770e609a6bd3533ceda9.js +0 -1
  166. package/assets/esri/core/workers/chunks/851baab753d9c8e967bd.js +0 -1
  167. package/assets/esri/core/workers/chunks/aa6c37f116c07ddca5fb.js +0 -1
  168. package/assets/esri/core/workers/chunks/bc0c3b5a5ab3fcb8f77a.js +0 -1
  169. package/assets/esri/core/workers/chunks/cac281604a41af9b1759.js +0 -1
  170. package/assets/esri/core/workers/chunks/d25c8c30ce4058937d4f.js +0 -1
  171. package/assets/esri/core/workers/chunks/d638ae7814acf6c0fb8e.js +0 -1
  172. package/assets/esri/core/workers/chunks/d6ce99a713afdb03e332.js +0 -1
  173. package/assets/esri/core/workers/chunks/dc3816eef53d17074eab.js +0 -1
  174. package/assets/esri/core/workers/chunks/dd70b060ea4f632c2430.js +0 -1
  175. package/assets/esri/core/workers/chunks/e2e5e8bd3406609d8996.js +0 -1
  176. package/assets/esri/core/workers/chunks/f6c815f7d3ca072172ce.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3030],{620:(t,e,s)=>{s.d(e,{O_:()=>n,vA:()=>i}),s(48163),s(87317),(0,s(91829).vt)();class r{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new r(`${e} at ${t}`)}}function n(t,e,s,r){let i,n=(s[0]-t[0])/e[0],u=(r[0]-t[0])/e[0];n>u&&(i=n,n=u,u=i);let f=(s[1]-t[1])/e[1],c=(r[1]-t[1])/e[1];if(f>c&&(i=f,f=c,c=i),n>c||f>u)return!1;f>n&&(n=f),c<u&&(u=c);let h=(s[2]-t[2])/e[2],l=(r[2]-t[2])/e[2];return h>l&&(i=h,h=l,l=i),!(n>l||h>u||(l<u&&(u=l),u<0))}},13030:(t,e,s)=>{s.d(e,{Y$:()=>a,XW:()=>p,qB:()=>g,Qt:()=>z,My:()=>W,bf:()=>j,jZ:()=>M,j0:()=>b,Sx:()=>_,E$:()=>x,h:()=>N,P:()=>O,SL:()=>P,gH:()=>E,ZD:()=>B,si:()=>C,mJ:()=>Z,UL:()=>J,D6:()=>$,Yi:()=>F,An:()=>U,LC:()=>w,xs:()=>m,EC:()=>T,Xm:()=>L,Vp:()=>H,zD:()=>G,m8:()=>D,nS:()=>X,H$:()=>q,eI:()=>Y,Eq:()=>A,jz:()=>S,Aj:()=>v,E7:()=>Q,Y4:()=>K,TX:()=>k,Uz:()=>I,ml:()=>V,XP:()=>R});var r=s(20498);class i{static{this.ElementCount=9}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=9;const n=this.TypedArrayConstructor;void 0===r&&(r=9*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[s++];return e}setMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[s++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;for(let t=0;t<9;++t)r[n++]=i[u++]}get buffer(){return this.typedBuffer.buffer}}class n{static{this.ElementCount=16}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=16;const n=this.TypedArrayConstructor;void 0===r&&(r=16*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[s++];return e}setMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[s++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}copyFrom(t,e,s){this.copyFromTypedBuffer(t,e.typedBuffer,s*e.typedBufferStride)}copyFromTypedBuffer(t,e,s){const r=this.typedBuffer;let i=t*this.typedBufferStride;for(let t=0;t<16;++t)r[i++]=e[s++]}get buffer(){return this.typedBuffer.buffer}}class u{static{this.ElementCount=1}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=1;const n=this.TypedArrayConstructor;void 0===r&&(r=n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}var f=s(37585);class c{static{this.ElementCount=2}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.start=s,this.elementCount=2;const n=this.TypedArrayConstructor;void 0===r&&(r=2*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,f.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=s}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var h=s(38954);class l{static{this.ElementCount=3}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=3;const n=this.TypedArrayConstructor;void 0===r&&(r=3*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,h.i)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=s,this.typedBuffer[t]=r}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var y=s(87317);class o{static{this.ElementCount=4}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.start=s,this.elementCount=4;const n=this.TypedArrayConstructor;void 0===r&&(r=4*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,y.s)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s,r,i){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=s,this.typedBuffer[t++]=r,this.typedBuffer[t]=i}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var d=s(620);class p extends u{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}static{this.ElementType="f16"}static{this.available=r.SX}}class a extends u{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}static{this.ElementType="f32"}}class B extends c{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(B,t,e)}static{this.ElementType="f16"}static{this.available=r.SX}}class E extends c{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f32"}}class T extends l{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f16"}static{this.available=r.SX}}class m extends l{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(m,t,e)}static fromTypedArray(t,e){return new m(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class S extends o{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f16"}static{this.available=r.SX}}class A extends o{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f32"}}class M extends i{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(M,t,e)}static{this.ElementType="f32"}}class b extends i{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f64"}}class _ extends n{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f32"}}class x extends n{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f64"}}class g extends u{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(g,t,e)}static{this.ElementType="f64"}}class C extends c{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class L extends l{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(L,t,e)}static fromTypedArray(t,e){return new L(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class v extends o{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f64"}}class P extends u{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="u8"}}class w extends c{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="u8"}}class Y extends l{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static fromTypedArray(t,e){return new Y(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class R extends o{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="u8"}}class N extends u{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="u16"}}class F extends c{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u16"}}class X extends l{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u16"}}class I extends o{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u16"}}class O extends u{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u32"}}class U extends c{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u32"}}class q extends l{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u32"}}class V extends o{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="u32"}}class j extends u{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="i8"}}class $ extends c{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class D extends l{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class k extends o{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="i8"}}class z extends u{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="i16"}}class Z extends c{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="i16"}}class H extends l{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class Q extends o{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class W extends u{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i32"}}class J extends c{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i32"}}class G extends l{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i32"}}class K extends o{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i32"}}},20498:(t,e,s)=>{s.d(e,{SX:()=>n,pX:()=>i});const r=globalThis.Float16Array;function i(){return r}const n=!!r},37585:(t,e,s)=>{s.d(e,{C:()=>i,Cc:()=>B,Io:()=>y,S8:()=>a,WQ:()=>u,e$:()=>T,hZ:()=>n,hs:()=>l,jb:()=>S,l0:()=>E});var r=s(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t}function n(t,e,s){return t[0]=e,t[1]=s,t}function u(t,e,s){return t[0]=e[0]+s[0],t[1]=e[1]+s[1],t}function f(t,e,s){return t[0]=e[0]-s[0],t[1]=e[1]-s[1],t}function c(t,e,s){return t[0]=e[0]*s[0],t[1]=e[1]*s[1],t}function h(t,e,s){return t[0]=e[0]/s[0],t[1]=e[1]/s[1],t}function l(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t}function y(t,e){const s=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(s*s+r*r)}function o(t,e){const s=e[0]-t[0],r=e[1]-t[1];return s*s+r*r}function d(t){const e=t[0],s=t[1];return Math.sqrt(e*e+s*s)}function p(t){const e=t[0],s=t[1];return e*e+s*s}function a(t,e){const s=e[0],r=e[1];let i=s*s+r*r;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i),t}function B(t,e,s,r){const i=e[0],n=e[1];return t[0]=i+r*(s[0]-i),t[1]=n+r*(s[1]-n),t}function E(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[2]*i+s[4],t[1]=s[1]*r+s[3]*i+s[5],t}function T(t,e,s,r){const i=e[0]-s[0],n=e[1]-s[1],u=Math.sin(r),f=Math.cos(r);return t[0]=i*f-n*u+s[0],t[1]=i*u+n*f+s[1],t}const m=d,S=f,A=c,M=h,b=y,_=o,x=p;Object.freeze(Object.defineProperty({__proto__:null,add:u,angle:function(t,e){const s=t[0],r=t[1],i=e[0],n=e[1];let u=s*s+r*r;u>0&&(u=1/Math.sqrt(u));let f=i*i+n*n;f>0&&(f=1/Math.sqrt(f));const c=(s*i+r*n)*u*f;return c>1?0:c<-1?Math.PI:Math.acos(c)},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t},copy:i,cross:function(t,e,s){const r=e[0]*s[1]-e[1]*s[0];return t[0]=t[1]=0,t[2]=r,t},dist:b,distance:y,div:M,divide:h,dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},equals:function(t,e){const s=t[0],i=t[1],n=e[0],u=e[1],f=(0,r.FD)();return Math.abs(s-n)<=f*Math.max(1,Math.abs(s),Math.abs(n))&&Math.abs(i-u)<=f*Math.max(1,Math.abs(i),Math.abs(u))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]},floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},len:m,length:d,lerp:B,max:function(t,e,s){return t[0]=Math.max(e[0],s[0]),t[1]=Math.max(e[1],s[1]),t},min:function(t,e,s){return t[0]=Math.min(e[0],s[0]),t[1]=Math.min(e[1],s[1]),t},mul:A,multiply:c,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:a,projectAndScale:function(t,e,s,r,i){let n=e[0]-s[0],u=e[1]-s[1];const f=(r[0]*n+r[1]*u)*(i-1);return n=r[0]*f,u=r[1]*f,t[0]=e[0]+n,t[1]=e[1]+u,t},random:function(t,e=1){const s=2*(0,r.Ov)()*Math.PI;return t[0]=Math.cos(s)*e,t[1]=Math.sin(s)*e,t},rotate:T,round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},scale:l,scaleAndAdd:function(t,e,s,r){return t[0]=e[0]+s[0]*r,t[1]=e[1]+s[1]*r,t},set:n,sqrDist:_,sqrLen:x,squaredDistance:o,squaredLength:p,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:S,subtract:f,transformMat2:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[2]*i,t[1]=s[1]*r+s[3]*i,t},transformMat2d:E,transformMat3:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[3]*i+s[6],t[1]=s[1]*r+s[4]*i+s[7],t},transformMat4:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[4]*i+s[12],t[1]=s[1]*r+s[5]*i+s[13],t}},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1784],{9093:(t,n,e)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}e.d(n,{o8:()=>o,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,n,e,r,o,i,a,s,l,u,c,f,h,d,m,p){return[t,n,e,r,o,i,a,s,l,u,c,f,h,d,m,p]}},Symbol.toStringTag,{value:"Module"}))},11006:(t,n,e)=>{function r(t,n,e,r,i){o(t,n,e||0,r||t.length-1,i||a)}function o(t,n,e,r,a){for(;r>e;){if(r-e>600){var s=r-e+1,l=n-e+1,u=Math.log(s),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);o(t,n,Math.max(e,Math.floor(n-l*c/s+f)),Math.min(r,Math.floor(n+(s-l)*c/s+f)),a)}var h=t[n],d=e,m=r;for(i(t,e,n),a(t[r],h)>0&&i(t,e,r);d<m;){for(i(t,d,m),d++,m--;a(t[d],h)<0;)d++;for(;a(t[m],h)>0;)m--}0===a(t[e],h)?i(t,e,m):i(t,++m,r),m<=n&&(e=m+1),n<=m&&(r=m-1)}}function i(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function a(t,n){return t<n?-1:t>n?1:0}e.d(n,{q:()=>r})},18251:(t,n,e)=>{e.d(n,{A:()=>c});var r=e(90237),o=e(69540),i=e(25482),a=e(10107),s=(e(44208),e(53966),e(87811),e(93223)),l=e(40608),u=e(51850);let c=class extends(o.A.ClonableMixin(i.A)){constructor(t){super(t),this.type="local",this.origin=(0,u.vt)()}};(0,r._)([(0,s.e)({local:"local"},{readOnly:!0})],c.prototype,"type",void 0),(0,r._)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],c.prototype,"origin",void 0),c=(0,r._)([(0,l.$)("esri.geometry.support.MeshLocalVertexSpace")],c)},22141:(t,n,e)=>{e.d(n,{$5:()=>A,CN:()=>y,JP:()=>M,KM:()=>v,Mv:()=>S,X4:()=>x,gr:()=>_,qs:()=>w,si:()=>b,xA:()=>B});var r=e(34727),o=e(77690),i=e(29242),a=e(58083),s=e(9093),l=e(38954),u=e(51850),c=e(48353),f=e(9762),h=(e(79258),e(21325)),d=e(28735),m=e(13030),p=e(73354),g=e(65686);const M="Projection may be possible after calling projection.load().";function y(t,n,e,r){t.error(`Failed to project from (wkid:${n.wkid}) to (wkid:${e.wkid}).${r?" ":""}${r}`)}function x(t,n,e,r,o,i){return O(E.TO_PCPF,m.xs.fromTypedArray(t),T.NORMAL,m.Xm.fromTypedArray(n),e,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i))?i:null}function b(t,n,e,r,o,i){return O(E.FROM_PCPF,m.xs.fromTypedArray(t),T.NORMAL,m.Xm.fromTypedArray(n),e,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i))?i:null}function _(t,n,e,r){return(0,f.projectBuffer)(t,n,0,e,r,0)?e:null}function A(t,n,e,r){return(0,f.projectBuffer)(t,n,0,e,r,0)?e:null}function w(t,n,e){return(0,o.Ge)(Y,e),(0,p.b)(n,t,Y),(0,r.or)(Y)&&(0,p.n)(n,n),n}function v(t,n,e){return(0,o.z0)(Y,e),(0,g.t)(n,t,Y),(0,r.or)(Y)&&(0,p.n)(n,n,4),n}function B(t,n,e,r,o,i){if(!O(E.TO_PCPF,m.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),T.TANGENT,m.Xm.fromTypedArray(n),e,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}function S(t,n,e,r,o,i){if(!O(E.FROM_PCPF,m.xs.fromTypedArray(t,16),T.TANGENT,m.Xm.fromTypedArray(n),e,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i,16)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}var T,E,N;function R(t,n,e,r,i){switch((0,c.l)(r,e,X,r),t===E.FROM_PCPF&&(0,a.B8)(X,X),n){case T.NORMAL:return(0,o.Ge)(i,X);case T.TANGENT:return(0,o.z0)(i,X)}}function O(t,n,e,r,o,i,a,s){if(!n)return;const u=r.count;if(function(t){return t.isWGS84||(0,h.x1)(t)||(0,h.q8)(t)||(0,h.KQ)(t)}(o))for(let r=0;r<u;r++)i.getVec(r,C),n.getVec(r,F),(0,l.o)(F,F,R(t,e,C,a,Y)),s.setVec(r,F);else for(let o=0;o<u;o++){i.getVec(o,C),n.getVec(o,F);const u=(0,d.jg)(r.get(o,1));let c=Math.cos(u);e===T.TANGENT!=(t===E.TO_PCPF)&&(c=1/c),R(t,e,C,a,Y),t===E.TO_PCPF?(Y[0]*=c,Y[1]*=c,Y[2]*=c,Y[3]*=c,Y[4]*=c,Y[5]*=c):(Y[0]*=c,Y[3]*=c,Y[6]*=c,Y[1]*=c,Y[4]*=c,Y[7]*=c),(0,l.o)(F,F,Y),(0,l.n)(F,F),s.setVec(o,F)}return s}(N=T||(T={}))[N.NORMAL=0]="NORMAL",N[N.TANGENT=1]="TANGENT",function(t){t[t.TO_PCPF=0]="TO_PCPF",t[t.FROM_PCPF=1]="FROM_PCPF"}(E||(E={}));const C=(0,u.vt)(),F=(0,u.vt)(),X=(0,s.vt)(),Y=(0,i.vt)()},27615:(t,n,e)=>{e.d(n,{CK:()=>l,Hq:()=>s,MW:()=>u,TE:()=>c,yJ:()=>f});var r=e(38954),o=e(86738),i=e(95696),a=e(18251);function s(t){return null!=t.origin}function l(t){return s(t.vertexSpace)}function u(t,n){if(!s(t))return null;const[e,r,i]=t.origin;return new o.A({x:e,y:r,z:i,spatialReference:n})}function c(t,n){const{x:e,y:r,z:o,spatialReference:s}=t,l=[e,r,o??0];return"local"===(n?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(s))?new a.A({origin:l}):new i.A({origin:l})}function f(t,n){return t.type===n.type&&(t.origin===n.origin||null!=t.origin&&null!=n.origin&&(0,r.q)(t.origin,n.origin))}},29242:(t,n,e)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,n,e,r,o,i,a,s,l){return[t,n,e,r,o,i,a,s,l]}e.d(n,{fA:()=>o,vt:()=>r,zK:()=>i});const i=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},38419:(t,n,e)=>{e.r(n),e.d(n,{default:()=>s});var r=e(44208),o=e(75503),i=e(95696),a=e(72258);class s{async createIndex(t,n){const e=new Array;if(!t.vertexAttributes?.position)return new o.w;const r=function(t){const{vertexAttributes:{position:n},vertexSpace:e,spatialReference:r,transform:o}=t,s=(0,a.UR)({vertexAttributes:{position:n},vertexSpace:e,spatialReference:r,transform:o},i.A.absolute,{allowBufferReuse:!0})?.position;return s?!t.components||t.components.some(t=>!t.faces)?{position:s.buffer}:{position:s.buffer,components:t.components.map(t=>t.faces)}:null}(t),s=null!=n?await n.invoke("createIndexThread",r,{transferList:e}):this.createIndexThread(r).result;return l().fromJSON(s)}createIndexThread(t){const n=l();if(!t)return{result:n.toJSON()};const e=new Float64Array(t.position);return t.components?function(t,n,e){let r=0;for(const t of e)r+=t.length/3;const o=new Array(r);let i=0;for(const t of e)for(let e=0;e<t.length;e+=3)o[i++]=u(n,3*t[e],3*t[e+1],3*t[e+2]);return t.load(o),{result:t.toJSON()}}(n,e,t.components.map(t=>new Uint32Array(t))):function(t,n){const e=new Array(n.length/9);let r=0;for(let t=0;t<n.length;t+=9)e[r++]=u(n,t,t+3,t+6);return t.load(e),{result:t.toJSON()}}(n,e)}}function l(){return new o.w(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function u(t,n,e,r){return{minX:Math.min(t[n],t[e],t[r]),maxX:Math.max(t[n],t[e],t[r]),minY:Math.min(t[n+1],t[e+1],t[r+1]),maxY:Math.max(t[n+1],t[e+1],t[r+1]),p0:[t[n],t[n+1],t[n+2]],p1:[t[e],t[e+1],t[e+2]],p2:[t[r],t[r+1],t[r+2]]}}},38954:(t,n,e)=>{e.d(n,{A:()=>m,B:()=>d,C:()=>c,D:()=>f,E:()=>F,F:()=>z,H:()=>q,a:()=>X,b:()=>M,c:()=>a,d:()=>u,e:()=>v,f:()=>l,g:()=>g,h:()=>B,i:()=>s,j:()=>y,k:()=>b,l:()=>i,m:()=>S,n:()=>w,o:()=>E,q:()=>C,r:()=>A,s:()=>x,t:()=>T,u:()=>_,v:()=>N,w:()=>h,x:()=>P,y:()=>G,z:()=>p});var r=e(51850),o=e(34304);function i(t){const n=t[0],e=t[1],r=t[2];return Math.sqrt(n*n+e*e+r*r)}function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function l(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t}function u(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t}function c(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t}function f(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t}function h(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function d(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function m(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t[2]=Math.min(n[2],e[2]),t}function p(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t[2]=Math.max(n[2],e[2]),t}function g(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t}function M(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t}function y(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(e*e+r*r+o*o)}function x(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return e*e+r*r+o*o}function b(t){const n=t[0],e=t[1],r=t[2];return n*n+e*e+r*r}function _(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function A(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function w(t,n){const e=n[0],r=n[1],o=n[2];let i=e*e+r*r+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i),t}function v(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function B(t,n,e){const r=n[0],o=n[1],i=n[2],a=e[0],s=e[1],l=e[2];return t[0]=o*l-i*s,t[1]=i*a-r*l,t[2]=r*s-o*a,t}function S(t,n,e,r){const o=n[0],i=n[1],a=n[2];return t[0]=o+r*(e[0]-o),t[1]=i+r*(e[1]-i),t[2]=a+r*(e[2]-a),t}function T(t,n,e){const r=n[0],o=n[1],i=n[2];return t[0]=e[0]*r+e[4]*o+e[8]*i+e[12],t[1]=e[1]*r+e[5]*o+e[9]*i+e[13],t[2]=e[2]*r+e[6]*o+e[10]*i+e[14],t}function E(t,n,e){const r=n[0],o=n[1],i=n[2];return t[0]=r*e[0]+o*e[3]+i*e[6],t[1]=r*e[1]+o*e[4]+i*e[7],t[2]=r*e[2]+o*e[5]+i*e[8],t}function N(t,n,e){const r=e[0],o=e[1],i=e[2],a=e[3],s=n[0],l=n[1],u=n[2],c=o*u-i*l,f=i*s-r*u,h=r*l-o*s,d=o*h-i*f,m=i*c-r*h,p=r*f-o*c,g=2*a;return t[0]=s+c*g+2*d,t[1]=l+f*g+2*m,t[2]=u+h*g+2*p,t}const R=(0,r.vt)(),O=(0,r.vt)();function C(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function F(t,n,e){const r=e[0]-n[0],o=e[1]-n[1],i=e[2]-n[2];let a=r*r+o*o+i*i;return a>0?(a=1/Math.sqrt(a),t[0]=r*a,t[1]=o*a,t[2]=i*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const X=u,Y=c,k=f,z=y,P=x,q=i,G=b;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:l,angle:function(t,n){w(R,t),w(O,n);const e=v(R,O);return e>1?0:e<-1?Math.PI:Math.acos(e)},bezier:function(t,n,e,r,o,i){const a=1-i,s=a*a,l=i*i,u=s*a,c=3*i*s,f=3*l*a,h=l*i;return t[0]=n[0]*u+e[0]*c+r[0]*f+o[0]*h,t[1]=n[1]*u+e[1]*c+r[1]*f+o[1]*h,t[2]=n[2]*u+e[2]*c+r[2]*f+o[2]*h,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,e=1){return t[0]=Math.min(Math.max(t[0],n),e),t[1]=Math.min(Math.max(t[1],n),e),t[2]=Math.min(Math.max(t[2],n),e),t},copy:a,cross:B,crossAndNormalize:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=e[0],s=e[1],l=e[2],u=o*l-i*s,c=i*a-r*l,f=r*s-o*a,h=Math.sqrt(u*u+c*c+f*f);return t[0]=u/h,t[1]=c/h,t[2]=f/h,t},direction:F,dist:z,distance:y,div:k,divide:f,dot:v,equals:function(t,n){if(t===n)return!0;const e=t[0],r=t[1],i=t[2],a=n[0],s=n[1],l=n[2],u=(0,o.FD)();return Math.abs(e-a)<=u*Math.max(1,Math.abs(e),Math.abs(a))&&Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))},exactEquals:C,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,e,r,o,i){const a=i*i,s=a*(2*i-3)+1,l=a*(i-2)+i,u=a*(i-1),c=a*(3-2*i);return t[0]=n[0]*s+e[0]*l+r[0]*u+o[0]*c,t[1]=n[1]*s+e[1]*l+r[1]*u+o[1]*c,t[2]=n[2]*s+e[2]*l+r[2]*u+o[2]*c,t},inverse:A,len:q,length:i,lerp:S,max:p,min:m,mul:Y,multiply:c,negate:_,normalize:w,random:function(t,n=1){const e=o.Ov,r=2*e()*Math.PI,i=2*e()-1,a=Math.sqrt(1-i*i)*n;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=i*n,t},rotateX:function(t,n,e,r){const o=[],i=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},rotateY:function(t,n,e,r){const o=[],i=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},rotateZ:function(t,n,e,r){const o=[],i=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:g,scaleAndAdd:M,set:s,sign:d,sqrDist:P,sqrLen:G,squaredDistance:x,squaredLength:b,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:X,subtract:u,transformMat3:E,transformMat4:T,transformQuat:N},Symbol.toStringTag,{value:"Module"}))},40876:(t,n,e)=>{e.d(n,{Eq:()=>d,G1:()=>p,TS:()=>i,Tf:()=>y,V6:()=>o,Vm:()=>m,ay:()=>l,c1:()=>g,c4:()=>a,j5:()=>u,lT:()=>f,oW:()=>c});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function o(t){return!!r[t]||!!r[t.toLowerCase()]}function i(t){return r[t]??r[t.toLowerCase()]}function a(t){return[...i(t)]}function s(t,n,e){e<0&&++e,e>1&&--e;const r=6*e;return r<1?t+(n-t)*r:2*e<1?n:3*e<2?t+(n-t)*(2/3-e)*6:t}function l(t,n,e,r=1){const o=(t%360+360)%360/360,i=e<=.5?e*(n+1):e+n-e*n,a=2*e-i;return[Math.round(255*s(a,i,o+1/3)),Math.round(255*s(a,i,o)),Math.round(255*s(a,i,o-1/3)),r]}function u(t){const n=t.length>5,e=n?8:4,r=(1<<e)-1,o=n?1:17,i=n?9===t.length:5===t.length;let a=Number("0x"+t.slice(1));if(isNaN(a))return null;const s=[0,0,0,1];let l;return i&&(l=a&r,a>>=e,s[3]=o*l/255),l=a&r,a>>=e,s[2]=o*l,l=a&r,a>>=e,s[1]=o*l,l=a&r,a>>=e,s[0]=o*l,s}function c(t){if("#"!==t[0]||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const n=parseInt(t.slice(1,2),16),e=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),o=5===t.length?15:parseInt(t.slice(4),16);return[n+16*n,e+16*e,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const n=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(n){const t=n[2].split(/\s*,\s*/),e=n[1];if("rgb"===e&&3===t.length||"rgba"===e&&4===t.length){const n=t[0];if("%"===n.charAt(n.length-1)){const n=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(n[3]=parseFloat(t[3])),h(n)}return h(t.map(t=>parseFloat(t)))}if("hsl"===e&&3===t.length||"hsla"===e&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]))}return null}function h(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?p(t[3]):1,t}function d(t){let n=o(t)?i(t):null;return n??=f(t),n??=c(t),n}function m(t){const n=d(t);return null!=n?[n[0]/255,n[1]/255,n[2]/255,n[3]]:null}function p(t){return M(t,0,1)}function g(t){return Math.round(M(t,0,255))}function M(t,n,e){return t=Number(t),isNaN(t)?e:t<n?n:t>e?e:t}const y=2.2},48163:(t,n,e)=>{function r(){return[0,0]}function o(t,n){return[t,n]}function i(){return o(1,1)}function a(){return o(1,0)}function s(){return o(0,1)}e.d(n,{Un:()=>l,fA:()=>o,vt:()=>r});const l=i(),u=a(),c=s();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_X:u,UNIT_Y:c,ZEROS:[0,0],clone:function(t){return[t[0],t[1]]},create:r,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const e=Math.min(2,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:o,ones:i,unitX:a,unitY:s,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,n,e)=>{e.d(n,{l:()=>u});var r=e(34727),o=e(58083),i=e(51850);function a(t,n,e){const r=Math.sin(t),o=Math.cos(t),i=Math.sin(n),a=Math.cos(n),s=e;return s[0]=-r,s[4]=-i*o,s[8]=a*o,s[12]=0,s[1]=o,s[5]=-i*r,s[9]=a*r,s[13]=0,s[2]=0,s[6]=a,s[10]=i,s[14]=0,s[3]=0,s[7]=0,s[11]=0,s[15]=1,s}var s=e(37539),l=e(21325);function u(t,n,e,r){const i=(0,s.Tp)(t,r);if(null==i)return!1;const u=i.source.spatialReferenceId,m=i.dest.spatialReferenceId;if(u===m&&!c(m)&&(u!==s.rz.UNKNOWN||(0,l.aI)(t,r)))return(0,o.kN)(e,n),!0;if(c(m)){const t=s.w5[u][s.rz.LON_LAT],r=s.w5[s.rz.LON_LAT][m];return null!=t&&null!=r&&(t(n,0,h,0),r(h,0,d,0),a(f*h[0],f*h[1],e),e[12]=d[0],e[13]=d[1],e[14]=d[2],!0)}const p=c(u);if((m===s.rz.WEB_MERCATOR||m===s.rz.PLATE_CARREE||m===s.rz.WGS84||m===s.rz.CGCS2000)&&(u===s.rz.WGS84||p||u===s.rz.WEB_MERCATOR||u===s.rz.CGCS2000)){const t=s.w5[u][s.rz.LON_LAT],r=s.w5[s.rz.LON_LAT][m];return null!=t&&null!=r&&(t(n,0,h,0),r(h,0,d,0),p?function(t,n,e){a(t,n,e),(0,o.mg)(e,e)}(f*h[0],f*h[1],e):(0,o.D_)(e),e[12]=d[0],e[13]=d[1],e[14]=d[2],!0)}return!1}function c(t){return t===s.rz.SPHERICAL_ECEF||t===s.rz.SPHERICAL_MARS_PCPF||t===s.rz.SPHERICAL_MOON_PCPF||t===s.rz.WGS84_ECEF}const f=(0,r.kU)(1),h=(0,i.vt)(),d=(0,i.vt)()},65686:(t,n,e)=>{e.d(n,{a:()=>i,b:()=>c,l:()=>u,n:()=>s,t:()=>a});var r=e(40876),o=(e(44208),e(53966));function i(t,n,e){a(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function a(t,n,e,r=4,o=r){if(t.length/r!==n.length/o)return;const i=t.length/r,a=e[0],s=e[1],l=e[2],u=e[3],c=e[4],f=e[5],h=e[6],d=e[7],m=e[8];let p=0,g=0;for(let e=0;e<i;e++){const e=n[p],i=n[p+1],M=n[p+2],y=n[p+3];t[g]=a*e+u*i+h*M,t[g+1]=s*e+c*i+d*M,t[g+2]=l*e+f*i+m*M,t[g+3]=y,p+=o,g+=r}}function s(t,n){const e=Math.min(t.count,n.count),r=t.typedBuffer,o=t.typedBufferStride,i=n.typedBuffer,a=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*o,e=t*a,s=i[e],l=i[e+1],u=i[e+2],c=s*s+l*l+u*u;if(c>0){const t=1/Math.sqrt(c);r[n]=t*s,r[n+1]=t*l,r[n+2]=t*u}}}function l(t,n,e,r=4){const o=Math.min(t.length/r,n.count),i=n.typedBuffer,a=n.typedBufferStride;let s=0,l=0;for(let n=0;n<o;n++)t[l]=e*i[s],t[l+1]=e*i[s+1],t[l+2]=e*i[s+2],t[l+3]=e*i[s+3],s+=a,l+=r}function u(t,n,e,r){c(t.typedBuffer,n,e,r,t.typedBufferStride)}function c(t,n,e,o,i=4){const a=Math.min(t.length/i,n.count),s=n.typedBuffer,l=n.typedBufferStride;let u=0,c=0;const f=1/r.Tf;for(let n=0;n<a;n++)t[c]=o*(e*s[u])**f,t[c+1]=o*(e*s[u+1])**f,t[c+2]=o*(e*s[u+2])**f,t[c+3]=o*e*s[u+3],u+=l,c+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:s,scale:l,scaleView:function(t,n,e){l(t.typedBuffer,n,e,t.typedBufferStride)},transformMat3:a,transformMat3View:i,transformMat4:function(t,n,e,r=4,i=r){if(t.length/r!==n.length/i)return void o.A.getLogger("esri.views.3d.support.buffer.math").error("source and destination buffers need to have the same number of elements");const a=t.length/r,s=e[0],l=e[1],u=e[2],c=e[3],f=e[4],h=e[5],d=e[6],m=e[7],p=e[8],g=e[9],M=e[10],y=e[11],x=e[12],b=e[13],_=e[14],A=e[15];let w=0,v=0;for(let e=0;e<a;e++){const e=n[w],o=n[w+1],a=n[w+2],B=n[w+3];t[v]=s*e+f*o+p*a+x*B,t[v+1]=l*e+h*o+g*a+b*B,t[v+2]=u*e+d*o+M*a+_*B,t[v+3]=c*e+m*o+y*a+A*B,w+=i,v+=r}},transformMat4View:function(t,n,e){if(t.count!==n.count)return;const r=t.count,o=e[0],i=e[1],a=e[2],s=e[3],l=e[4],u=e[5],c=e[6],f=e[7],h=e[8],d=e[9],m=e[10],p=e[11],g=e[12],M=e[13],y=e[14],x=e[15],b=t.typedBuffer,_=t.typedBufferStride,A=n.typedBuffer,w=n.typedBufferStride;for(let t=0;t<r;t++){const n=t*_,e=t*w,r=A[e],v=A[e+1],B=A[e+2],S=A[e+3];b[n]=o*r+l*v+h*B+g*S,b[n+1]=i*r+u*v+d*B+M*S,b[n+2]=a*r+c*v+m*B+y*S,b[n+3]=s*r+f*v+p*B+x*S}}},Symbol.toStringTag,{value:"Module"}))},65806:(t,n,e)=>{e.d(n,{g:()=>a});var r=e(51850),o=e(98988),i=e(9762);function a(t,n,e,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,e)){s[0]=t.x,s[1]=t.y;const o=t.z;return s[2]=o??r??0,(0,i.projectBuffer)(s,t.spatialReference,0,n,e,0)}const a=(0,o.tryProjectWithZConversion)(t,e);return!!a&&(n[0]=a?.x,n[1]=a?.y,n[2]=a?.z??r??0,!0)}const s=(0,r.vt)()},69540:(t,n,e)=>{e.d(n,{A:()=>h});var r=e(90237),o=e(69622),i=(e(44208),e(4718)),a=(e(53966),e(97768)),s=e(35666),l=e(88620),u=e(40608);const c=t=>{let n=class extends t{clone(){const t=(0,l.oY)(this);(0,a.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,e=t.store,r={},o=new Map;for(const t in n){const a=n[t],l=e?.originOf(t),u=a.clonable;if(a.readOnly||!1===u||l!==s.Gr.USER&&l!==s.Gr.DEFAULTS&&l!==s.Gr.WEB_MAP&&l!==s.Gr.WEB_SCENE)continue;const c=this[t];let f=null;f="function"==typeof u?u(c):"reference"===u?c:(0,i.TU)(c),null!=c&&null==f||(l===s.Gr.DEFAULTS?o.set(t,f):r[t]=f)}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(o.size){const t=(0,l.oY)(u)?.store;if(t)for(const[n,e]of o)t.set(n,e,s.Gr.DEFAULTS)}return u}};return n=(0,r._)([(0,u.$)("esri.core.Clonable")],n),n};let f=class extends(c(o.A)){};f=(0,r._)([(0,u.$)("esri.core.Clonable")],f),(f||(f={})).ClonableMixin=c;const h=f},72258:(t,n,e)=>{e.d(n,{UR:()=>_,p5:()=>b,xK:()=>T});var r=e(53966),o=e(34727),i=e(83047),a=e(77690),s=e(29242),l=e(58083),u=e(9093),c=e(38954),f=e(51850),h=e(98764),d=e(48353),m=e(65806),p=e(27615),g=e(21325),M=e(73354),y=e(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function b(t,n,{vertexSpace:e,spatialReference:r}){if("georeferenced"===e.type){const o=t;if(!(0,m.g)(n,o,r))return!1;const{origin:i}=e;return(0,c.d)(t,o,i),!0}const o=(0,h.lO)(r),i=t;if(!(0,m.g)(n,i,o))return!1;const{origin:a}=e,s=C;if(!(0,d.l)(r,a,s,o))return!1;const u=(0,l.B8)(C,s);return null!=u&&((0,c.t)(t,i,u),!0)}function _(t,n,e){const{vertexSpace:r,transform:o,vertexAttributes:i}=t,s=(0,p.Hq)(r)?o:null,f=B(t.spatialReference,e,F.SOURCE_AND_TARGET);if((0,p.yJ)(r,n)&&(!s||(0,l.t2)(s.localMatrix,u.zK))&&S(f)){const{position:t,normal:n,tangent:r}=i,o=e?.allowBufferReuse;return{position:o?t:t.slice(),normal:o?n:n?.slice(),tangent:o?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const a=A(n,i);if(!(0,d.l)(n,r,E,a))return(0,y.CN)(x(),n,a),null;if(e&&(0,l.lw)(E,E,e.localMatrix),!(0,d.l)(n,o,N,a))return(0,y.CN)(x(),a,n),null;(0,l.B8)(N,N);const s=(0,l.lw)(E,N,E);return v(s,n,i,F.SOURCE_AND_TARGET),w(t,s)}(t,t.vertexSpace,n.origin,e):function({spatialReference:t,vertexAttributes:n,transform:e},{origin:r},o,i){const a=A(t,i);if(!(0,d.l)(t,r,E,a))return(0,y.CN)(x(),t,a),null;e&&(0,l.lw)(E,E,e.localMatrix),v(E,t,i,F.SOURCE);const s=new Float64Array(n.position.length),u=function(t,n,e,r,o){(0,M.t)(r,t,n);const i=new Float64Array(t.length);return(0,y.$5)(r,o,i,e)?i:((0,y.CN)(x(),o,e),null)}(n.position,E,t,s,a);if(!u)return null;const f=function(t,n,e,r,o,i){if(null==o)return null;const a=new Float32Array(o.length);return(0,y.qs)(o,a,i),(0,y.si)(a,t,n,e,r,a)?a:((0,y.CN)(x(),r,n),null)}(u,t,s,a,n.normal,E);if(n.normal&&!f)return null;const h=function(t,n,e,r,o,i){if(null==o)return null;const a=new Float32Array(o.length);return(0,y.KM)(o,a,i),(0,y.Mv)(a,t,n,e,r,a)?a:((0,y.CN)(x(),r,n),null)}(u,t,s,a,n.tangent,E);if(n.tangent&&!h)return null;if(o){const t=(0,c.u)(O,o);(0,M.a)(u,u,t)}return{position:u,normal:f,tangent:h}}(t,t.vertexSpace,n.origin,e);case"georeferenced":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const s=A(n,i);if(!(0,d.l)(n,o,E,s))return(0,y.CN)(x(),n,s),null;const u=1/B(n,i,F.TARGET);(0,l.hs)(E,E,[u,u,u]);const c=(0,l.B8)(N,E),{position:f,normal:h,tangent:m}=function(t,n,e){if(!n)return t;if(!e){const{position:e,normal:r,tangent:o}=t;return{position:(0,M.a)(new Float64Array(e.length),e,n),tangent:o,normal:r}}const r=w(t,e.localMatrix);return(0,M.a)(r.position,r.position,n),r}(t,r,e),p=new Float64Array(f.length),g=function(t,n,e,r,o){const i=(0,y.gr)(t,n,r,o);if(!i)return(0,y.CN)(x(),n,o),null;const a=new Float64Array(i.length);return(0,M.t)(a,i,e),a}(f,n,c,p,s);if(!g)return null;const b=(0,a.Ge)(R,c),_=function(t,n,e,r,o,i,a){if(null==t)return null;const s=a??new Float32Array(t.length);return(0,y.X4)(t,n,e,r,o,s)?((0,M.b)(s,s,i),s):((0,y.CN)(x(),e,o),null)}(h,f,n,p,s,b,h!==t.normal?h:void 0);if(!_&&h)return null;const v=function(t,n,e,r,o,i,a){if(null==t)return null;const s=a??new Float32Array(t.length);return(0,y.xA)(t,n,e,r,o,s)?((0,M.b)(s,s,i,4),s):((0,y.CN)(x(),e,o),null)}(m,f,n,p,s,b,m!==t.tangent?m:void 0);return!v&&m?null:{position:g,normal:_,tangent:v}}(t,t.vertexSpace,n.origin,e):function({vertexAttributes:t,transform:n,spatialReference:e},{origin:r},o,i){const a=B(e,i,F.SOURCE_AND_TARGET),s=r||!S(a)?(0,l.C)(E,n?.localMatrix??u.zK):null;s&&v(s,e,i,F.SOURCE_AND_TARGET);const{position:f,normal:h,tangent:d}=s?w(t,s):t,m=i?.allowBufferReuse,p=m?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,M.a)(p,g,r)),o){const t=(0,c.u)(O,o);g=(0,M.a)(p,g,t)}return{position:g!==t.position||m?g:g.slice(),normal:h!==t.normal||m?h:h?.slice(),tangent:d!==t.tangent||m?d:d?.slice()}}(t,t.vertexSpace,n.origin,e)}}function A(t,n){return n?.useEllipsoid&&(0,g.B3)(t)?h.Y0:(0,h.lO)(t)}function w(t,n){const e=new Float64Array(t.position.length);(0,M.t)(e,t.position,n);const r=t.normal?new Float32Array(t.normal.length):null,o=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,y.qs)(t.normal,r,n),o&&t.tangent&&(0,y.KM)(t.tangent,o,n),{position:e,normal:r,tangent:o}}function v(t,n,e,r){const o=B(n,e,r);S(o)||(0,l.hs)(t,t,[o,o,o])}function B(t,n,e){const r=!!(e&F.SOURCE),o=!!(e&F.TARGET),i=n?.sourceUnit,a=n?.targetUnit;if(!i&&!a)return 1;let s=T(i,t);r||!i||S(s)||(x().warn("source unit conversion not supported"),s=1);let l=1/T(a,t);return o||!a||S(l)||(x().warn("target unit conversion not supported"),l=1),s*l}function S(t){return(0,o.Io)(t,1)}function T(t,n){if(null==t)return 1;const e=(0,i.KX)(n);return 1/(0,i.oU)(e,"meters",t)}const E=(0,u.vt)(),N=(0,u.vt)(),R=(0,s.vt)(),O=(0,f.vt)(),C=(0,u.vt)();var F,X;(X=F||(F={}))[X.NONE=0]="NONE",X[X.SOURCE=1]="SOURCE",X[X.TARGET=2]="TARGET",X[X.SOURCE_AND_TARGET=3]="SOURCE_AND_TARGET"},73354:(t,n,e)=>{e.d(n,{a:()=>f,b:()=>s,c:()=>a,d:()=>o,e:()=>h,f:()=>c,l:()=>u,n:()=>d,t:()=>i});var r=e(40876);function o(t,n,e){i(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function i(t,n,e,r=3,o=r){if(t.length/r!==Math.ceil(n.length/o))return t;const i=t.length/r,a=e[0],s=e[1],l=e[2],u=e[4],c=e[5],f=e[6],h=e[8],d=e[9],m=e[10],p=e[12],g=e[13],M=e[14];let y=0,x=0;for(let e=0;e<i;e++){const e=n[y],i=n[y+1],b=n[y+2];t[x]=a*e+u*i+h*b+p,t[x+1]=s*e+c*i+d*b+g,t[x+2]=l*e+f*i+m*b+M,y+=o,x+=r}return t}function a(t,n,e){s(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function s(t,n,e,r=3,o=r){if(t.length/r!==Math.ceil(n.length/o))return;const i=t.length/r,a=e[0],s=e[1],l=e[2],u=e[3],c=e[4],f=e[5],h=e[6],d=e[7],m=e[8];let p=0,g=0;for(let e=0;e<i;e++){const e=n[p],i=n[p+1],M=n[p+2];t[g]=a*e+u*i+h*M,t[g+1]=s*e+c*i+d*M,t[g+2]=l*e+f*i+m*M,p+=o,g+=r}}function l(t,n,e,r=3,o=r){const i=Math.min(t.length/r,n.length/o);let a=0,s=0;for(let l=0;l<i;l++)t[s]=e*n[a],t[s+1]=e*n[a+1],t[s+2]=e*n[a+2],a+=o,s+=r;return t}function u(t,n,e,r){c(t.typedBuffer,n.typedBuffer,e,r,t.typedBufferStride,n.typedBufferStride)}function c(t,n,e,o,i=3,a=i){const s=Math.min(t.length/i,n.length/a);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<s;r++)t[u]=o*(e*n[l])**c,t[u+1]=o*(e*n[l+1])**c,t[u+2]=o*(e*n[l+2])**c,l+=a,u+=i}function f(t,n,e,r=3,o=r){const i=t.length/r;if(i!==Math.ceil(n.length/o))return t;let a=0,s=0;for(let l=0;l<i;l++)t[s]=n[a]+e[0],t[s+1]=n[a+1]+e[1],t[s+2]=n[a+2]+e[2],a+=o,s+=r;return t}function h(t,n){d(t.typedBuffer,n.typedBuffer,t.typedBufferStride,n.typedBufferStride)}function d(t,n,e=3,r=e){const o=Math.min(t.length/e,n.length/r);let i=0,a=0;for(let s=0;s<o;s++){const o=n[i],s=n[i+1],l=n[i+2],u=o*o+s*s+l*l;if(u>0){const n=1/Math.sqrt(u);t[a]=n*o,t[a+1]=n*s,t[a+2]=n*l}i+=r,a+=e}}e(44208),e(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:d,normalizeView:h,scale:l,scaleView:function(t,n,e){l(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)},shiftRight:function(t,n,e){const r=Math.min(t.count,n.count),o=t.typedBuffer,i=t.typedBufferStride,a=n.typedBuffer,s=n.typedBufferStride;let l=0,u=0;for(let t=0;t<r;t++)o[u]=a[l]>>e,o[u+1]=a[l+1]>>e,o[u+2]=a[l+2]>>e,l+=s,u+=i},transformMat3:s,transformMat3View:a,transformMat4:i,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},75503:(t,n,e)=>{e.d(n,{E:()=>B,w:()=>s});var r=e(4576),o=e(21818),i=(e(44208),e(3694)),a=e(11006);class s{constructor(t=9,n){this._compareMinX=h,this._compareMinY=d,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),n&&("function"==typeof n?this._toBBox=n:this._initFormat(n)),this.clear()}destroy(){this.clear(),_.prune(),A.prune(),w.prune(),v.prune()}all(t){l(this._data,t)}search(t,n){let e=this._data;const r=this._toBBox;if(x(t,e))for(_.clear();e;){for(let o=0,i=e.children.length;o<i;o++){const i=e.children[o],a=e.leaf?r(i):i;x(t,a)&&(e.leaf?n(i):y(t,a)?l(i,n):_.push(i))}e=_.pop()}}collides(t){let n=this._data;const e=this._toBBox;if(!x(t,n))return!1;for(_.clear();n;){for(let r=0,o=n.children.length;r<o;r++){const o=n.children[r],i=n.leaf?e(o):o;if(x(t,i)){if(n.leaf||y(t,i))return!0;_.push(o)}}n=_.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let n=0,e=t.length;n<e;n++)this.insert(t[n]);return this}let n=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===n.height)this._splitRoot(this._data,n);else{if(this._data.height<n.height){const t=this._data;this._data=n,n=t}this._insert(n,this._data.height-n.height-1,!0)}else this._data=n;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new T([]),this}remove(t){if(!t)return this;let n,e=this._data,i=null,a=0,s=!1;const l=this._toBBox(t);for(w.clear(),v.clear();e||w.length>0;){if(e||(e=w.pop(),i=w.data[w.length-1],a=v.pop()??0,s=!0),e.leaf&&(n=(0,r.qh)(e.children,(0,o.zI)(t),e.children.length,e.indexHint),-1!==n))return e.children.splice(n,1),w.push(e),this._condense(w),this;s||e.leaf||!y(e,l)?i?(a++,e=i.children[a],s=!1):e=null:(w.push(e),v.push(a),a=0,i=e,e=e.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,n,e,r){const o=e-n+1;let i=this._maxEntries;if(o<=i){const r=new T(t.slice(n,e+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(o)/Math.log(i)),i=Math.ceil(o/i**(r-1)));const a=new E([]);a.height=r;const s=Math.ceil(o/i),l=s*Math.ceil(Math.sqrt(i));b(t,n,e,l,this._compareMinX);for(let o=n;o<=e;o+=l){const n=Math.min(o+l-1,e);b(t,o,n,s,this._compareMinY);for(let e=o;e<=n;e+=s){const o=Math.min(e+s-1,n);a.children.push(this._build(t,e,o,r-1))}}return u(a,this._toBBox),a}_insert(t,n,e){const r=this._toBBox,o=e?t:r(t);w.clear();const i=function(t,n,e,r){for(;r.push(n),!0!==n.leaf&&r.length-1!==e;){let e,r=1/0,o=1/0;for(let i=0,a=n.children.length;i<a;i++){const a=n.children[i],s=m(a),l=g(t,a)-s;l<o?(o=l,r=s<r?s:r,e=a):l===o&&s<r&&(r=s,e=a)}n=e||n.children[0]}return n}(o,this._data,n,w);for(i.children.push(t),f(i,o);n>=0&&w.data[n].children.length>this._maxEntries;)this._split(w,n),n--;!function(t,n,e){for(let r=e;r>=0;r--)f(n.data[r],t)}(o,w,n)}_split(t,n){const e=t.data[n],r=e.children.length,o=this._minEntries;this._chooseSplitAxis(e,o,r);const i=this._chooseSplitIndex(e,o,r);if(!i)return;const a=e.children.splice(i,e.children.length-i),s=e.leaf?new T(a):new E(a);s.height=e.height,u(e,this._toBBox),u(s,this._toBBox),n?t.data[n-1].children.push(s):this._splitRoot(e,s)}_splitRoot(t,n){this._data=new E([t,n]),this._data.height=t.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(t,n,e){let r,o,i;r=o=1/0;for(let a=n;a<=e-n;a++){const n=c(t,0,a,this._toBBox),s=c(t,a,e,this._toBBox),l=M(n,s),u=m(n)+m(s);l<r?(r=l,i=a,o=u<o?u:o):l===r&&u<o&&(o=u,i=a)}return i}_chooseSplitAxis(t,n,e){const r=t.leaf?this._compareMinX:h,o=t.leaf?this._compareMinY:d;this._allDistMargin(t,n,e,r)<this._allDistMargin(t,n,e,o)&&t.children.sort(r)}_allDistMargin(t,n,e,r){t.children.sort(r);const o=this._toBBox,i=c(t,0,n,o),a=c(t,e-n,e,o);let s=p(i)+p(a);for(let r=n;r<e-n;r++){const n=t.children[r];f(i,t.leaf?o(n):n),s+=p(i)}for(let r=e-n-1;r>=n;r--){const n=t.children[r];f(a,t.leaf?o(n):n),s+=p(a)}return s}_condense(t){for(let n=t.length-1;n>=0;n--){const e=t.data[n];if(0===e.children.length)if(n>0){const o=t.data[n-1],i=o.children;i.splice((0,r.qh)(i,e,i.length,o.indexHint),1)}else this.clear();else u(e,this._toBBox)}}_initFormat(t){const n=["return a"," - b",";"];this._compareMinX=new Function("a","b",n.join(t[0])),this._compareMinY=new Function("a","b",n.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function l(t,n){let e=t;for(A.clear();e;){if(!0===e.leaf)for(const t of e.children)n((0,o.zI)(t));else A.pushArray(e.children);e=A.pop()??null}}function u(t,n){c(t,0,t.children.length,n,t)}function c(t,n,e,r,o){o||(o=new T([])),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(let i,a=n;a<e;a++)i=t.children[a],f(o,t.leaf?r(i):i);return o}function f(t,n){t.minX=Math.min(t.minX,n.minX),t.minY=Math.min(t.minY,n.minY),t.maxX=Math.max(t.maxX,n.maxX),t.maxY=Math.max(t.maxY,n.maxY)}function h(t,n){return t.minX-n.minX}function d(t,n){return t.minY-n.minY}function m(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function p(t){return t.maxX-t.minX+(t.maxY-t.minY)}function g(t,n){return(Math.max(n.maxX,t.maxX)-Math.min(n.minX,t.minX))*(Math.max(n.maxY,t.maxY)-Math.min(n.minY,t.minY))}function M(t,n){const e=Math.max(t.minX,n.minX),r=Math.max(t.minY,n.minY),o=Math.min(t.maxX,n.maxX),i=Math.min(t.maxY,n.maxY);return Math.max(0,o-e)*Math.max(0,i-r)}function y(t,n){return t.minX<=n.minX&&t.minY<=n.minY&&n.maxX<=t.maxX&&n.maxY<=t.maxY}function x(t,n){return n.minX<=t.maxX&&n.minY<=t.maxY&&n.maxX>=t.minX&&n.maxY>=t.minY}function b(t,n,e,r,o){const i=[n,e];for(;i.length;){const n=i.pop(),e=i.pop();if(n-e<=r)continue;const s=e+Math.ceil((n-e)/r/2)*r;(0,a.q)(t,s,e,n,o),i.push(e,s,s,n)}}const _=new i.A,A=new i.A,w=new i.A,v=new i.A({deallocator:void 0});class B{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends B{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class T extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class E extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},77690:(t,n,e)=>{e.d(n,{B8:()=>s,Ge:()=>h,I0:()=>f,KC:()=>l,hZ:()=>i,hs:()=>c,lw:()=>u,mg:()=>a,z0:()=>o});var r=e(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function i(t,n,e,r,o,i,a,s,l,u){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,t[4]=i,t[5]=a,t[6]=s,t[7]=l,t[8]=u,t}function a(t,n){if(t===n){const e=n[1],r=n[2],o=n[5];t[1]=n[3],t[2]=n[6],t[3]=e,t[5]=n[7],t[6]=r,t[7]=o}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function s(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],s=n[5],l=n[6],u=n[7],c=n[8],f=c*a-s*u,h=-c*i+s*l,d=u*i-a*l;let m=e*f+r*h+o*d;return m?(m=1/m,t[0]=f*m,t[1]=(-c*r+o*u)*m,t[2]=(s*r-o*a)*m,t[3]=h*m,t[4]=(c*e-o*l)*m,t[5]=(-s*e+o*i)*m,t[6]=d*m,t[7]=(-u*e+r*l)*m,t[8]=(a*e-r*i)*m,t):null}function l(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],s=n[5],l=n[6],u=n[7],c=n[8];return t[0]=a*c-s*u,t[1]=o*u-r*c,t[2]=r*s-o*a,t[3]=s*l-i*c,t[4]=e*c-o*l,t[5]=o*i-e*s,t[6]=i*u-a*l,t[7]=r*l-e*u,t[8]=e*a-r*i,t}function u(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],l=n[5],u=n[6],c=n[7],f=n[8],h=e[0],d=e[1],m=e[2],p=e[3],g=e[4],M=e[5],y=e[6],x=e[7],b=e[8];return t[0]=h*r+d*a+m*u,t[1]=h*o+d*s+m*c,t[2]=h*i+d*l+m*f,t[3]=p*r+g*a+M*u,t[4]=p*o+g*s+M*c,t[5]=p*i+g*l+M*f,t[6]=y*r+x*a+b*u,t[7]=y*o+x*s+b*c,t[8]=y*i+x*l+b*f,t}function c(t,n,e){const r=e[0],o=e[1],i=e[2];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t[6]=i*n[6],t[7]=i*n[7],t[8]=i*n[8],t}function f(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=e+e,s=r+r,l=o+o,u=e*a,c=r*a,f=r*s,h=o*a,d=o*s,m=o*l,p=i*a,g=i*s,M=i*l;return t[0]=1-f-m,t[3]=c-M,t[6]=h+g,t[1]=c+M,t[4]=1-u-m,t[7]=d-p,t[2]=h-g,t[5]=d+p,t[8]=1-u-f,t}function h(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],s=n[5],l=n[6],u=n[7],c=n[8],f=n[9],h=n[10],d=n[11],m=n[12],p=n[13],g=n[14],M=n[15],y=e*s-r*a,x=e*l-o*a,b=e*u-i*a,_=r*l-o*s,A=r*u-i*s,w=o*u-i*l,v=c*p-f*m,B=c*g-h*m,S=c*M-d*m,T=f*g-h*p,E=f*M-d*p,N=h*M-d*g;let R=y*N-x*E+b*T+_*S-A*B+w*v;return R?(R=1/R,t[0]=(s*N-l*E+u*T)*R,t[1]=(l*S-a*N-u*B)*R,t[2]=(a*E-s*S+u*v)*R,t[3]=(o*E-r*N-i*T)*R,t[4]=(e*N-o*S+i*B)*R,t[5]=(r*S-e*E-i*v)*R,t[6]=(p*w-g*A+M*_)*R,t[7]=(g*b-m*w-M*x)*R,t[8]=(m*A-p*b+M*y)*R,t):null}function d(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t}const m=u,p=d;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t},adjoint:l,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:function(t){const n=t[0],e=t[1],r=t[2],o=t[3],i=t[4],a=t[5],s=t[6],l=t[7],u=t[8];return n*(u*i-a*l)+e*(-u*o+a*s)+r*(l*o-i*s)},equals:function(t,n){const e=t[0],o=t[1],i=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],h=n[0],d=n[1],m=n[2],p=n[3],g=n[4],M=n[5],y=n[6],x=n[7],b=n[8],_=(0,r.FD)();return Math.abs(e-h)<=_*Math.max(1,Math.abs(e),Math.abs(h))&&Math.abs(o-d)<=_*Math.max(1,Math.abs(o),Math.abs(d))&&Math.abs(i-m)<=_*Math.max(1,Math.abs(i),Math.abs(m))&&Math.abs(a-p)<=_*Math.max(1,Math.abs(a),Math.abs(p))&&Math.abs(s-g)<=_*Math.max(1,Math.abs(s),Math.abs(g))&&Math.abs(l-M)<=_*Math.max(1,Math.abs(l),Math.abs(M))&&Math.abs(u-y)<=_*Math.max(1,Math.abs(u),Math.abs(y))&&Math.abs(c-x)<=_*Math.max(1,Math.abs(c),Math.abs(x))&&Math.abs(f-b)<=_*Math.max(1,Math.abs(f),Math.abs(b))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:o,fromQuat:f,fromRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=-e,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:s,isOrthoNormal:function(t){const n=(0,r.FD)(),e=t[0],o=t[1],i=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8];return Math.abs(1-(e*e+a*a+u*u))<=n&&Math.abs(1-(o*o+s*s+c*c))<=n&&Math.abs(1-(i*i+l*l+f*f))<=n},mul:m,multiply:u,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t},multiplyScalarAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t},normalFromMat4:h,normalFromMat4Legacy:function(t,n){const e=n[0],r=n[1],o=n[2],i=n[4],a=n[5],s=n[6],l=n[8],u=n[9],c=n[10],f=c*a-s*u,h=-c*i+s*l,d=u*i-a*l,m=e*f+r*h+o*d;if(!m)return null;const p=1/m;return t[0]=f*p,t[1]=(-c*r+o*u)*p,t[2]=(s*r-o*a)*p,t[3]=h*p,t[4]=(c*e-o*l)*p,t[5]=(-s*e+o*i)*p,t[6]=d*p,t[7]=(-u*e+r*l)*p,t[8]=(a*e-r*i)*p,t},projection:function(t,n,e){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/e,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],l=n[5],u=n[6],c=n[7],f=n[8],h=Math.sin(e),d=Math.cos(e);return t[0]=d*r+h*a,t[1]=d*o+h*s,t[2]=d*i+h*l,t[3]=d*a-h*r,t[4]=d*s-h*o,t[5]=d*l-h*i,t[6]=u,t[7]=c,t[8]=f,t},scale:c,scaleByVec2:function(t,n,e){const r=e[0],o=e[1];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t},set:i,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:p,subtract:d,translate:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],l=n[5],u=n[6],c=n[7],f=n[8],h=e[0],d=e[1];return t[0]=r,t[1]=o,t[2]=i,t[3]=a,t[4]=s,t[5]=l,t[6]=h*r+d*a+u,t[7]=h*o+d*s+c,t[8]=h*i+d*l+f,t},transpose:a},Symbol.toStringTag,{value:"Module"}))},93223:(t,n,e)=>{e.d(n,{e:()=>i});var r=e(66552),o=e(10107);function i(t,n={}){const e=t instanceof r.J?t:new r.J(t,n),{alwaysWriteDefaults:i,default:a,ignoreUnknown:s=!0,name:l,nonNullable:u,readOnly:c=!1}=n;return(0,o.MZ)({type:s?e.apiValues:String,json:{type:e.jsonValues,default:a,name:l,read:!c&&{reader:e.read},write:{writer:e.write,alwaysWriteDefaults:i}},nonNullable:u,readOnly:c})}},95488:(t,n,e)=>{e.d(n,{I:()=>o});var r=e(11406);class o extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const n=t.slice();for(const t of n)t.onInvalidated(),t.onCommitted()}}}},95696:(t,n,e)=>{e.d(n,{A:()=>c});var r,o=e(90237),i=e(69540),a=e(25482),s=e(10107),l=(e(44208),e(53966),e(87811),e(93223)),u=e(40608);let c=class extends(i.A.ClonableMixin(a.A)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,o._)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],c.prototype,"type",void 0),(0,o._)([(0,s.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],c.prototype,"origin",void 0),c=r=(0,o._)([(0,u.$)("esri.geometry.support.MeshGeoreferencedVertexSpace")],c)},98764:(t,n,e)=>{e.d(n,{Y0:()=>u,lO:()=>c});var r=e(73941),o=e(16930),i=e(21325);const a=new o.A(r.fv),s=new o.A(r.FY),l=new o.A(r.LJ),u=new o.A(r.Ro);function c(t){const n=f.get(t);if(n)return n;let e=a;if(t)if(t===s)e=s;else if(t===l)e=l;else{const n=t.wkid,r=t.latestWkid;if(null!=n||null!=r)(0,i.tl)(n)||(0,i.tl)(r)?e=s:((0,i.ZL)(n)||(0,i.ZL)(r))&&(e=l);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===h?e=s:t===d&&(e=l)}}}return f.set(t,e),e}const f=new Map,h=s.wkt.toUpperCase(),d=l.wkt.toUpperCase()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3186,5011,9141],{4197:(e,t,i)=>{i.d(t,{jh:()=>r,l5:()=>o,xm:()=>s});var n=i(34275);function r(e,t=!1){return e<=n.y9?t?new Array(e).fill(0):new Array(e):new Float64Array(e)}function s(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function o(e,t,i){return Array.isArray(e)?e.slice(t,t+i):e.subarray(t,t+i)}},6797:(e,t,i)=>{i.d(t,{Mj:()=>p,Ui:()=>d,w2:()=>f});var n=i(69622),r=i(5503),s=i(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof n.A}function l(e){return e instanceof r.A?Object.keys(e.items):a(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof r.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function h(e,t){const i=e.diff;if(i&&"function"==typeof i)return i(e,t);const n=l(e),r=l(t);if(0===n.length&&0===r.length)return;if(!n.length||!r.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=r.filter(e=>!n.includes(e)),p=n.filter(e=>!r.includes(e)),f=n.filter(i=>r.includes(i)&&u(e,i)!==u(t,i)).concat(s,p).sort(),d=c(e);if(d&&o.has(d)&&f.length)return{type:"complete",oldValue:e,newValue:t};let m;const y=a(e)&&a(t);for(const n of f){const r=u(e,n),s=u(t,n);let o;if((y||"function"!=typeof r&&"function"!=typeof s)&&r!==s&&(null!=r||null!=s)){if(i&&i[n]&&"function"==typeof i[n])o=i[n]?.(r,s);else if(r instanceof Date&&s instanceof Date){if(r.getTime()===s.getTime())continue;o={type:"complete",oldValue:r,newValue:s}}else o="object"==typeof r&&"object"==typeof s&&c(r)===c(s)?h(r,s):{type:"complete",oldValue:r,newValue:s};null!=o&&(null!=m?m.diff[n]=o:m={type:"partial",diff:{[n]:o}})}}return m}function p(e,t){return function(e,t){if(null==e)return!1;const i=t.split(".");let n=e;for(const e of i){if("complete"===n.type)return!0;if("partial"!==n.type)return!1;{const t=n.diff[e];if(!t)return!1;n=t}}return!0}(e,t)}function f(e,t){if(!e)return!1;if("partial"===e.type){const i=Object.keys(e.diff);return 1===i.length&&i[0]===t}return!1}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:h(e,t)}},13069:(e,t,i)=>{i.d(t,{AG:()=>a,lk:()=>r,vD:()=>o,yS:()=>s});const n="randomUUID"in crypto;function r(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${r().toUpperCase()}}`}function o(){return`{${r()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},17311:(e,t,i)=>{i.d(t,{A:()=>p});var n=i(90237),r=i(69622),s=i(4576),o=i(60999),a=i(5503),l=i(10107),u=(i(44208),i(53966),i(40608)),c=i(30524),h=i(43668);let p=class extends r.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,o.UT)(()=>(0,h.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([i.e(4560),i.e(9926)]).then(i.bind(i,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const i=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(i.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:i,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(i,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const i=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of i){const i=t.split("."),n=this.fieldsIndex.get(i.at(-1)??"");n&&e.add(n.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const i of t){const t=this.fieldsIndex.get(i);t&&e.add(t.name)}return e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,i){return(await this.getTitles(e,[t],i)).get(t)??""}async getTitles(e,t,i){const n=new Map,r=i?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:s}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);i?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:o,workingTitle:a}=this,l=a&&o;t.forEach(t=>{const i=l?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,r).global,layer:e,text:a}):"";n.set(t,i)})}catch{}return n}async _checkAndReQueryGraphics(e,t){const i=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(s.Ru);if(i.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const n=e.createQuery();n.where="1=1",n.outFields=[...this.requiredFields],n.objectIds=i;const r=await e.queryFeatures(n);if(r?.features.length===t.length)return r.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const i of e){if(!i.fieldName)continue;const e=this.fieldsIndex.get(i.fieldName),n=e?.name??i.fieldName;i.fieldName=n,t.set(n.toLowerCase(),i)}return t}_createFormattedAttributes(e,t,i="system"){const n=this.effectivePopupTemplate?.fieldInfos??[],r={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const i=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{r[`expression/${e.name}`]=e.func({vars:{$feature:i}})}catch{}}const s={...t.attributes,...r};return{global:this._featureUtils.formatAttributes({fieldInfos:n,attributes:s,graphic:t,timeZone:i,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(0===e.indexOf("relationships/")||0===e.indexOf("expression/")))}};(0,n._)([(0,l.MZ)({readOnly:!0})],p.prototype,"_arcadeTask",null),(0,n._)([(0,l.MZ)()],p.prototype,"_featureUtils",void 0),(0,n._)([(0,l.MZ)({readOnly:!0})],p.prototype,"featureUtilsPromise",null),(0,n._)([(0,l.MZ)({readOnly:!0})],p.prototype,"calculatedExpressions",null),(0,n._)([(0,l.MZ)()],p.prototype,"displayField",void 0),(0,n._)([(0,l.MZ)()],p.prototype,"effectivePopupTemplate",void 0),(0,n._)([(0,l.MZ)()],p.prototype,"expressionsUsedInTitle",null),(0,n._)([(0,l.MZ)()],p.prototype,"fieldsIndex",void 0),(0,n._)([(0,l.MZ)()],p.prototype,"fieldInfoMap",null),(0,n._)([(0,l.MZ)()],p.prototype,"fields",void 0),(0,n._)([(0,l.MZ)()],p.prototype,"objectIdField",void 0),(0,n._)([(0,l.MZ)()],p.prototype,"requiredFields",null),p=(0,n._)([(0,u.$)("esri.layers.support.TitleCreator")],p)},27865:(e,t,i)=>{i.d(t,{O9:()=>s,dw:()=>o,mj:()=>r});var n=i(59247);function r(e,t){const i=e.length>t.length?e:t;return(e.length>t.length?t:e).every((e,t)=>e.type===i[t].type)}function s(e,t){const i=e.length>t.length?e:t,r=e.length>t.length?t:e;for(let e=r.length;e<i.length;e++)r.push((0,n.sK)(i[e]))}function o(e){const t=e[0];return!!t&&"type"in t}},32730:(e,t,i)=>{i.d(t,{BI:()=>y,D3:()=>d,XJ:()=>m,lc:()=>f,mX:()=>_,rU:()=>g,tH:()=>F});var n=i(799);const r="__begin__",s="__end__",o=new RegExp(r,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+r,"i"),u=new RegExp(s+"$","i"),c='"',h=c+" + ",p=" + "+c;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function d(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function y(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return _(t.expression);case"arcade":return t.expression}return null}function g(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(b);return t?.[1].trim()||null}(t.expression);case"arcade":return F(t.expression)}return null}function _(e){let t;return e?(t=(0,n.HC)(e,e=>r+'$feature["'+e+'"]'+s),t=l.test(t)?t.replace(l,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(o,h).replaceAll(a,p)):t='""',t}const b=/^\s*\{([^}]+)\}\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,x=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,T=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function F(e){if(!e)return null;let t=M.exec(e)||x.exec(e);return t?t[1]||t[3]:(t=T.exec(e),t?t[2]:null)}},39516:(e,t,i)=>{let n;async function r(){return null==n&&(n=Promise.all([i.e(8368),i.e(4123)]).then(i.bind(i,44123)).then(e=>new e.WhereClauseCache(500,500))),n}async function s(e,t){const i=await r(),n=i.get(e,t);if(null==n)throw i.getError(e,t);return n}function o(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function a(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}i.d(t,{GP:()=>s,IW:()=>a,mA:()=>o})},41366:(e,t,i)=>{i.d(t,{K:()=>p,Q:()=>u});var n=i(90237),r=i(66552),s=i(53966),o=i(10107),a=(i(44208),i(87811),i(93223)),l=i(40608);const u=(0,r.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),c="percent-of-total",h="field",p=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&h||i&&c||null,t&&i&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==h&&e!==c||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n._)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,n._)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,n._)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,n._)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,n._)([(0,a.e)(u,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,n._)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},41560:(e,t,i)=>{i.d(t,{Ch:()=>o,mW:()=>s});var n=i(34727),r=i(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,i){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:i,maxScale:n}of e.filters)t[0]=Math.max(t[0],c(i)),t[1]=Math.min(t[1],h(n));return t}(e);if(s&&((0,n.gg)(t,s[0])||(0,n.ZH)(i,s[1])))return"";const o=Array.from(a(e,t,i)),l=function(e,t,i){if(0===e.length)return!0;const r=c(e.at(0)?.minScale),s=h(e.at(-1)?.maxScale);if((0,n.ZH)(r,t)||(0,n.gg)(s,i))return!0;for(let t=0;t<e.length-1;t++){const i=e[t],r=e[t+1];if((0,n.ZH)(c(r.minScale),h(i.maxScale)))return!0}return!1}(o,t,i)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,r.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,i){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)l(n.minScale,n.maxScale,t,i)&&(yield n)}}function l(e,t,i,r){return e=c(e),i=c(i),t=h(t),!(!(0,n.Sp)(i,e)&&(r??i)>e||(0,n.Hx)(t,i)||void 0!==r&&(0,n.Sp)(r,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function h(e){return e||0}},50498:(e,t,i)=>{i.d(t,{Ye:()=>h,gy:()=>c,yR:()=>p});var n=i(66552),r=i(5443),s=i(91075),o=i(48526),a=i(86738),l=i(39829),u=i(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}}},52106:(e,t,i)=>{i.d(t,{A:()=>M});var n,r=i(90237),s=i(13874),o=i(69540),a=i(51447),l=i(25482),u=i(53966),c=i(36708),h=i(24326),p=i(10107),f=(i(44208),i(87811),i(40608)),d=i(12195),m=i(65864),y=i(50498),g=i(54339),_=i(33910);function b(e){if(null==e)return null;const t={};for(const i in e){const n=e[i];n&&(t[i]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let M=class extends(o.A.ClonableMixin(l.A)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,h.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const i of[t,this.sourceLayer,this.layer])if(i){if("popupTemplate"in i&&i.popupTemplate)return i.popupTemplate;if(e&&"defaultPopupTemplate"in i&&null!=i.defaultPopupTemplate)return i.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=this.sourceLayer??this.layer;return e?(0,g.r)(this,e):null}getGlobalId(){const e=this.sourceLayer??this.layer;return e&&"globalIdField"in e&&e.globalIdField?this.getAttribute(e.globalIdField):null}toJSON(){return{aggregateGeometries:b(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,d.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const i={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",i,i,e.action)}}_notifyLayer(e,t,i,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const r={graphic:this,property:e,oldValue:t,newValue:i};"origin-transform"===e&&(r.action=n),"attributes"===e&&(r.attributeName=n),this.layer.graphicChanged(r)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,r._)([(0,p.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const i in e){const n=(0,m.rS)(e[i]);n&&(t[i]=n)}return 0!==Object.keys(t).length?t:null}}})],M.prototype,"aggregateGeometries",null),(0,r._)([(0,p.MZ)({value:null})],M.prototype,"attributes",null),(0,r._)([(0,p.MZ)({value:null,types:y.yR,json:{read:m.rS}})],M.prototype,"geometry",null),(0,r._)([(0,p.MZ)({type:Boolean})],M.prototype,"isAggregate",void 0),(0,r._)([(0,p.MZ)({clonable:!1})],M.prototype,"layer",void 0),(0,r._)([(0,p.MZ)({clonable:"reference"})],M.prototype,"origin",void 0),(0,r._)([(0,p.MZ)({type:s.A,value:null})],M.prototype,"popupTemplate",null),(0,r._)([(0,p.MZ)({clonable:"reference"})],M.prototype,"sourceLayer",void 0),(0,r._)([(0,p.MZ)({value:null,types:_.Es})],M.prototype,"symbol",null),(0,r._)([(0,p.MZ)({clonable:!1,json:{read:!1,write:!1}})],M.prototype,"_version",void 0),(0,r._)([(0,p.MZ)({type:Boolean,value:!0})],M.prototype,"visible",null),M=n=(0,r._)([(0,f.$)("esri.Graphic")],M)},54339:(e,t,i)=>{function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const i=[];for(const n of t.fieldNames)i.push(e.attributes[n]??null);return JSON.stringify(i)}}}function r(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const i=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(i)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}i.d(t,{W:()=>n,r:()=>r})},59247:(e,t,i)=>{i.d(t,{bv:()=>l,Fk:()=>u,yG:()=>c,$b:()=>h,Nd:()=>p,jm:()=>f,sK:()=>y});var n=i(40876),r=i(90629);function s(){const e=new Float32Array(16);return e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}const o=s();Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:function(e){const t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},create:s,fromValues:function(e,t,i,n,r,s,o,a,l,u,c,h,p,f,d,m){const y=new Float32Array(16);return y[0]=e,y[1]=t,y[2]=i,y[3]=n,y[4]=r,y[5]=s,y[6]=o,y[7]=a,y[8]=l,y[9]=u,y[10]=c,y[11]=h,y[12]=p,y[13]=f,y[14]=d,y[15]=m,y}},Symbol.toStringTag,{value:"Module"}));var a=i(58083);class l{constructor(e,t,i){this.strength=e,this.radius=t,this.threshold=i,this.type="bloom"}interpolate(e,t,i){this.strength=d(e.strength,t.strength,i),this.radius=d(e.radius,t.radius,i),this.threshold=d(e.threshold,t.threshold,i)}clone(){return new l(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:m(this.radius),strength:this.strength,threshold:this.threshold}}}class u{constructor(e){this.radius=e,this.type="blur"}interpolate(e,t,i){this.radius=Math.round(d(e.radius,t.radius,i))}clone(){return new u(this.radius)}toJSON(){return{type:"blur",radius:m(this.radius)}}}class c{constructor(e,t){this.type=e,this.amount=t,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,i){this.amount=d(e.amount,t.amount,i),this._updateMatrix()}clone(){return new c(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const e=this._colorMatrix||s();switch(this.type){case"brightness":this._colorMatrix=((e,t)=>{const i=(0,a.hZ)(e,t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1);return(0,a.mg)(i,i)})(e,this.amount);break;case"contrast":this._colorMatrix=((e,t)=>{const i=(0,a.hZ)(e,t,0,0,.5-.5*t,0,t,0,.5-.5*t,0,0,t,.5-.5*t,0,0,0,1);return(0,a.mg)(i,i)})(e,this.amount);break;case"grayscale":this._colorMatrix=(e=>{const t=1-this.amount,i=(0,a.hZ)(e,.2126+.7874*t,.7152-.7152*t,.0722-.0722*t,0,.2126-.2126*t,.7152+.2848*t,.0722-.0722*t,0,.2126-.2126*t,.7152-.7152*t,.0722+.9278*t,0,0,0,0,1);return(0,a.mg)(i,i)})(e);break;case"invert":this._colorMatrix=((e,t)=>{const i=1-2*t,n=(0,a.hZ)(e,i,0,0,t,0,i,0,t,0,0,i,t,0,0,0,1);return(0,a.mg)(n,n)})(e,this.amount);break;case"saturate":this._colorMatrix=((e,t)=>{const i=(0,a.hZ)(e,.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1);return(0,a.mg)(i,i)})(e,this.amount);break;case"sepia":this._colorMatrix=(e=>{const t=1-this.amount,i=(0,a.hZ)(e,.393+.607*t,.769-.769*t,.189-.189*t,0,.349-.349*t,.686+.314*t,.168-.168*t,0,.272-.272*t,.534-.534*t,.131+.869*t,0,0,0,0,1);return(0,a.mg)(i,i)})(e)}}}class h{constructor(e,t,i,n){this.offsetX=e,this.offsetY=t,this.blurRadius=i,this.color=n,this.type="drop-shadow"}interpolate(e,t,i){this.offsetX=d(e.offsetX,t.offsetX,i),this.offsetY=d(e.offsetY,t.offsetY,i),this.blurRadius=d(e.blurRadius,t.blurRadius,i),this.color[0]=Math.round(d(e.color[0],t.color[0],i)),this.color[1]=Math.round(d(e.color[1],t.color[1],i)),this.color[2]=Math.round(d(e.color[2],t.color[2],i)),this.color[3]=d(e.color[3],t.color[3],i)}clone(){return new h(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const e=[...this.color];return e[3]*=255,{type:"drop-shadow",xoffset:m(this.offsetX),yoffset:m(this.offsetY),blurRadius:m(this.blurRadius),color:e}}}class p{constructor(e){this.angle=e,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,i){this.angle=d(e.angle,t.angle,i),this._updateMatrix()}clone(){return new p(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const e=this._colorMatrix||s();this._colorMatrix=((e,t)=>{const i=Math.sin(t*Math.PI/180),n=Math.cos(t*Math.PI/180),r=(0,a.hZ)(e,.213+.787*n-.213*i,.715-.715*n-.715*i,.072-.072*n+.928*i,0,.213-.213*n+.143*i,.715+.285*n+.14*i,.072-.072*n-.283*i,0,.213-.213*n-.787*i,.715-.715*n+.715*i,.072+.928*n+.072*i,0,0,0,0,1);return(0,a.mg)(r,r)})(e,this.angle)}}class f{constructor(e){this.amount=e,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(e,t,i){this.amount=d(e.amount,t.amount,i)}clone(){return new f(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function d(e,t,i){return e+(t-e)*i}function m(e){return Math.round(1e3*(0,r.PN)(e))/1e3}function y(e){switch(e.type){case"grayscale":case"sepia":case"invert":return new c(e.type,0);case"saturate":case"brightness":case"contrast":return new c(e.type,1);case"opacity":return new f(1);case"hue-rotate":return new p(0);case"blur":return new u(0);case"drop-shadow":return new h(0,0,0,[...(0,n.TS)("transparent")]);case"bloom":return new l(0,0,1)}}},70328:(e,t,i)=>{i.d(t,{BI:()=>_,Ej:()=>p,Ie:()=>y,Jt:()=>g,Ne:()=>f,RF:()=>c,aI:()=>M,fA:()=>o,gE:()=>l,hZ:()=>m,iT:()=>h,is:()=>b,qv:()=>x,vI:()=>d,vY:()=>a,v_:()=>T,vt:()=>s,w1:()=>u});var n=i(5443),r=(i(19419),i(4197));function s(e=T){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,i,n,r,o,a=s()){return a[0]=e,a[1]=t,a[2]=i,a[3]=n,a[4]=r,a[5]=o,a}function a(e,t=s()){return function(e,t,i,n=s()){return m(n,x),function(e,t,i=0,n=t.length/3){let r=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)r=Math.min(r,t[i+3*e]),s=Math.min(s,t[i+3*e+1]),o=Math.min(o,t[i+3*e+2]),a=Math.max(a,t[i+3*e]),l=Math.max(l,t[i+3*e+1]),u=Math.max(u,t[i+3*e+2]);e[0]=r,e[1]=s,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(n,e,t,i),n}(e,0,e.length/3,t)}function l(e,t=(0,r.jh)(24)){const[i,n,s,o,a,l]=e;return t[0]=i,t[1]=n,t[2]=s,t[3]=i,t[4]=n,t[5]=l,t[6]=i,t[7]=a,t[8]=s,t[9]=i,t[10]=a,t[11]=l,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,t}function u(e,t){const i=isFinite(e[2])||isFinite(e[5]);return new n.A(i?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function p(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function f(e,t,i=e){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i!==e&&(i[3]=e[3],i[4]=e[4],i[5]=e[5]),i}function d(e,t,i=e){return i[3]=t[0],i[4]=t[1],i[5]=t[2],i!==e&&(i[0]=e[0],i[1]=e[1],i[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function y(e){return e?m(e,x):s(x)}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function _(e,t,i,n,r){return e[0]=t,e[1]=i,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=r,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function M(e,t,i){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(i){for(let n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],T=[0,0,0,0,0,0];s()},92935:(e,t,i)=>{var n;i.d(t,{X:()=>n}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(n||(n={}))},95466:(e,t,i)=>{i.d(t,{A:()=>f});var n=i(49186),r=i(53966),s=i(91869),o=i(3330),a=i(12195),l=i(30524),u=i(98623),c=i(56400),h=i(96285);const p=new Map;class f{static fromJSON(e){return new f(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new f(e.fields??[],g(e))}static fromLayerJSON(e){return new f(e.fields??[],g(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const i=[];for(const e of this.fields){const t=e?.name,n=m(t);if(t&&n){const r=d(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(n,e),i.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,l.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,l.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,l.te)(e)||(0,l.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,l.te)(e)||(0,l.Xz)(e)||e.nullable||void 0!==(0,l.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(d(e))??this._normalizedFieldsMap.get(m(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new n.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):y.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?o.GB.instance:t===u.n$?h.mQ.utcInstance:(0,s.tE)(p,t,()=>h.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,l.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,a.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function d(e){return e.trim().toLowerCase()}function m(e){return(0,l.rS)(e)?.toLowerCase()??""}const y=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function g(e){const t=new Map;if(!e.fields)return t;const i=!0===e.datesInUnknownTimezone,{timeInfo:n,editFieldsInfo:r}=e,s=(n?"startField"in n?n.startField:n.startTimeField:"")??"",o=(n?"endField"in n?n.endField:n.endTimeField:"")??"",a=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,c.ZS)(e.dateFieldsTimeReference):null,l=r?function(e){return"timeZone"in e}(r)?r.timeZone??a:r.dateFieldsTimeReference?(0,c.ZS)(r.dateFieldsTimeReference):a??u.n$:null,h=n?function(e){return"timeZone"in e}(n)?n.timeZone??a:n.timeReference?(0,c.ZS)(n.timeReference):a:null,p=new Map([[d(r?.creationDateField??""),l],[d(r?.editDateField??""),l],[d(s),h],[d(o),h]]);for(const{name:n,type:r}of e.fields)if(y.has(r))t.set(n,u.L5);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(n,null);else if(i)t.set(n,u.L5);else{const e=p.get(d(n??""))??a;t.set(n,e)}return t}}}]);