@arcgis/core 4.29.0-next.20240222 → 4.29.1

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 (279) hide show
  1. package/arcade/treeAnalysis.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/{b43fde3e25d0c3b020b5.js → 039a872509872ce67ba4.js} +1 -1
  4. package/assets/esri/core/workers/chunks/0bc21d2a0b65bd4e9d76.js +1 -0
  5. package/assets/esri/core/workers/chunks/{5243f9ff21e768c620c2.js → 23a5d750d93a7829174f.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{47e6119be4a4a5ed640d.js → 2447a4d5886aeb0ff72a.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{7f45a9e9bdbcffc2d6e0.js → 348bcc57b99a975902a8.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{8c9fb2601488998013ba.js → 3523789a2948a4ab8cc8.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{24649b410b757599a549.js → 48db6e0bbb1a9c043193.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{752082be991f1cc8558f.js → 4984e2b79d862114d6a6.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{8d9736fd15cdb54d9855.js → 5227f9eea6988aadad7f.js} +1 -1
  12. package/assets/esri/core/workers/chunks/58723274ef657fe212eb.js +1 -0
  13. package/assets/esri/core/workers/chunks/60ab18c6a04d4b2f1d4c.js +1 -0
  14. package/assets/esri/core/workers/chunks/647515801d94180b8402.js +1 -0
  15. package/assets/esri/core/workers/chunks/6c3ae96ec90e9ed7dd50.js +1 -0
  16. package/assets/esri/core/workers/chunks/7a8bba91769ee18cc39f.js +1 -0
  17. package/assets/esri/core/workers/chunks/7a98d2e026f63a581b1e.js +1 -0
  18. package/assets/esri/core/workers/chunks/8c360923cd1850767d3e.js +1 -0
  19. package/assets/esri/core/workers/chunks/{1a25ba411b89e050fbb7.js → a61f337802ae963d7f65.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{d0c5318d7ef2e923aad0.js → a8ac511280f873960d46.js} +1 -1
  21. package/assets/esri/core/workers/chunks/b125ab84b7761e761734.js +1 -0
  22. package/assets/esri/core/workers/chunks/{b34d6e58b125fe111f91.js → b42a83db83851cb57d44.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{1497dd943df7eede0704.js → b9c55ff1f21db198ce03.js} +1 -1
  24. package/assets/esri/core/workers/chunks/bb3322ddb89c0bd444f0.js +1 -0
  25. package/assets/esri/core/workers/chunks/becfdaeeb07f089d8be7.js +1 -0
  26. package/assets/esri/core/workers/chunks/{b26e39a399963c176d33.js → c527692694688a5b3b07.js} +2 -2
  27. package/assets/esri/core/workers/chunks/{210a93e0b96c5bff44a3.js → c556644bb0cf88770939.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{e7b26c7e9e24dc6255be.js → cacf97b0a7a1057b9f79.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{a5e7b4acae17f88e2208.js → ce93027b6b81428ce9b0.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{b8ece275abac93f3dccf.js → d14f16bfa6c12909929c.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{1594f06a2d7d9439c62e.js → e2147c99cc5839654be1.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{d33ed3a2a0d4b640bd4a.js → e4c7d8c69e4957c9d27c.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{7709248f59520aee6f51.js → eceaa46f622f6fa31128.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{2286db4c83ff1b6fb088.js → ef3e6209e6ac6a56960b.js} +1 -1
  35. package/assets/esri/core/workers/chunks/f59b5ea05caca8a1a398.js +1 -0
  36. package/chunks/Laserlines.glsl.js +3 -3
  37. package/chunks/Precipitation.glsl.js +1 -1
  38. package/chunks/SSAOBlur.glsl.js +2 -2
  39. package/chunks/boundedPlane.js +1 -1
  40. package/chunks/cameraUtilsSpherical.js +1 -1
  41. package/chunks/sphere.js +1 -1
  42. package/chunks/terrainUtilsPlanar.js +1 -1
  43. package/chunks/vec32.js +1 -1
  44. package/config.js +1 -1
  45. package/copyright.txt +56 -28
  46. package/core/libs/gl-matrix-2/math/quat.js +1 -1
  47. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  48. package/core/libs/gl-matrix-2/vec3.js +1 -1
  49. package/geometry/support/axisAngleDegrees.js +1 -1
  50. package/geometry/support/coordinateSystem.js +1 -1
  51. package/geometry/support/lineSegment.js +1 -1
  52. package/geometry/support/meshUtils/exporters/gltf/gltf.js +1 -1
  53. package/geometry/support/meshUtils/georeference.js +1 -1
  54. package/geometry/support/meshUtils/merge.js +1 -1
  55. package/geometry/support/meshUtils/rotate.js +1 -1
  56. package/geometry/support/meshUtils/scale.js +1 -1
  57. package/geometry/support/meshUtils/vertexSpaceConversion.js +5 -0
  58. package/geometry/support/meshVertexSpaceUtils.js +1 -1
  59. package/geometry/support/plane.js +1 -1
  60. package/geometry/support/ray.js +1 -1
  61. package/geometry/support/triangle.js +1 -1
  62. package/geometry/support/vector.js +1 -1
  63. package/interfaces.d.ts +12 -12
  64. package/kernel.js +1 -1
  65. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  66. package/layers/LinkChartLayer.js +1 -1
  67. package/layers/VoxelWasmPerSceneView.js +1 -1
  68. package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
  69. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  70. package/layers/mixins/FeatureReductionLayer.js +1 -1
  71. package/layers/orientedImagery/core/CameraOrientation.js +1 -1
  72. package/layers/orientedImagery/core/ElevationSourceDefinitions.js +1 -1
  73. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  74. package/layers/orientedImagery/transformations/imageToGroundUtils.js +1 -1
  75. package/layers/orientedImagery/transformations/imageToWorld.js +5 -0
  76. package/layers/orientedImagery/transformations/updateElevation.js +5 -0
  77. package/layers/orientedImagery/transformations/updateElevationUtils.js +5 -0
  78. package/layers/orientedImagery/transformations/utils.js +1 -1
  79. package/layers/orientedImagery/transformations/worldToImage.js +5 -0
  80. package/layers/support/EditingCapabilities.js +1 -1
  81. package/layers/support/editableLayers.js +1 -1
  82. package/layers/support/layerUtils.js +1 -1
  83. package/layers/video/VideoCameraSensorModel.js +1 -1
  84. package/layers/voxel/VoxelVolume.js +1 -1
  85. package/layers/voxel/voxelPlaneUtils.js +1 -1
  86. package/libs/linkchartlayout/LinkChartLayout.js +1 -1
  87. package/package.json +1 -1
  88. package/smartMapping/renderers/pieChart.js +1 -1
  89. package/support/revision.js +1 -1
  90. package/symbols/cim/cimAnalyzer.js +1 -1
  91. package/views/2d/arcade/callExpressionWithCursor.js +1 -1
  92. package/views/2d/engine/webgl/shaderGraph/techniques/createTestMeshData.js +1 -1
  93. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterInputEvaluator.js +1 -1
  94. package/views/2d/interactive/editingTools/TransformTool.js +1 -1
  95. package/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +1 -1
  96. package/views/2d/layers/features/Processor.js +1 -1
  97. package/views/2d/layers/features/aggregation/GeohashSpatialIndex.js +1 -1
  98. package/views/2d/layers/features/aggregation/GridSpatialIndex.js +1 -1
  99. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  100. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  101. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  102. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  103. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  104. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  105. package/views/2d/layers/features/layerAdapters/StreamLayerAdapter.js +1 -1
  106. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  107. package/views/2d/layers/features/processor/BinningStrategy.js +1 -1
  108. package/views/2d/layers/features/processor/ClusterStrategy.js +1 -1
  109. package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
  110. package/views/2d/layers/features/sources/strategies/chunks/DrillDownTileSourceChunk.js +1 -1
  111. package/views/2d/layers/features/sources/strategies/chunks/FeatureSnapshotSourceChunk.js +1 -1
  112. package/views/2d/layers/features/sources/strategies/chunks/OverrideChunk.js +1 -1
  113. package/views/2d/layers/features/sources/strategies/chunks/PagedTileSourceChunk.js +1 -1
  114. package/views/2d/layers/features/sources/strategies/chunks/StreamSourceChunk.js +1 -1
  115. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  116. package/views/2d/layers/features/support/FeatureMetadata.js +1 -1
  117. package/views/2d/layers/features/support/GraphicsReader.js +1 -1
  118. package/views/2d/layers/features/support/Tile.js +1 -1
  119. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  120. package/views/2d/tiling/TileKey.js +1 -1
  121. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  122. package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
  123. package/views/3d/analysis/Dimension/lengthDimensionManipulatorUtils.js +1 -1
  124. package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
  125. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementController.js +1 -1
  126. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  127. package/views/3d/analysis/LineOfSight/LineOfSightIntersectionResult.js +1 -1
  128. package/views/3d/analysis/Slice/SliceTool.js +1 -1
  129. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  130. package/views/3d/analysis/support/measurementUtils.js +1 -1
  131. package/views/3d/animation/pointToPoint/Camera.js +1 -1
  132. package/views/3d/camera/constraintUtils/common.js +1 -1
  133. package/views/3d/camera/constraintUtils/distance.js +1 -1
  134. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  135. package/views/3d/camera/intersectionUtils.js +1 -1
  136. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  137. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  138. package/views/3d/environment/Fog.js +1 -1
  139. package/views/3d/environment/MarsAtmosphere.js +1 -1
  140. package/views/3d/environment/SceneViewEnvironmentManager.js +1 -1
  141. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  142. package/views/3d/interactive/editingTools/dragEventPipeline3D.js +1 -1
  143. package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
  144. package/views/3d/interactive/editingTools/reshapeGraphic/ReshapeOperation.js +1 -1
  145. package/views/3d/interactive/editingTools/reshapeGraphic/edgeOffsetUtils.js +1 -1
  146. package/views/3d/interactive/editingTools/transformGraphic/ExtentScale.js +1 -1
  147. package/views/3d/interactive/editingTools/transformGraphic/extentUtils.js +1 -1
  148. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  149. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  150. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  151. package/views/3d/interactive/visualElements/support/Segment.js +1 -1
  152. package/views/3d/layers/I3SMeshView3D.js +1 -1
  153. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  154. package/views/3d/layers/PointCloudWorker.js +1 -1
  155. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  156. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  157. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  158. package/views/3d/layers/i3s/I3SClientNodeLoader.js +1 -1
  159. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  160. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  161. package/views/3d/layers/i3s/LoDUtil.js +1 -1
  162. package/views/3d/layers/i3s/PointRenderer.js +1 -1
  163. package/views/3d/layers/support/FeatureTileMeasurements3D.js +1 -1
  164. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  165. package/views/3d/layers/support/uvUtils.js +1 -1
  166. package/views/3d/state/Frustum.js +1 -1
  167. package/views/3d/state/NearFarHeuristic.js +1 -1
  168. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  169. package/views/3d/state/controllers/RotateController.js +1 -1
  170. package/views/3d/state/controllers/global/PinchAndPanController.js +1 -1
  171. package/views/3d/state/controllers/global/ZoomController.js +1 -1
  172. package/views/3d/state/controllers/global/ZoomStepController.js +1 -1
  173. package/views/3d/state/controllers/local/PinchAndPanController.js +1 -1
  174. package/views/3d/state/controllers/local/ZoomController.js +1 -1
  175. package/views/3d/state/controllers/local/ZoomStepController.js +1 -1
  176. package/views/3d/state/controllers/momentum/ZoomPlanarMomentumController.js +1 -1
  177. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  178. package/views/3d/state/utils/navigationUtils.js +1 -1
  179. package/views/3d/state/utils/viewUtils.js +1 -1
  180. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  181. package/views/3d/support/cameraUtils.js +1 -1
  182. package/views/3d/support/cameraUtilsInternal.js +1 -1
  183. package/views/3d/support/intersectionUtils.js +1 -1
  184. package/views/3d/support/mathUtils.js +1 -1
  185. package/views/3d/support/orientedBoundingBox.js +1 -1
  186. package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
  187. package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
  188. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  189. package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
  190. package/views/3d/support/sunUtils.js +1 -1
  191. package/views/3d/support/viewpointUtils.js +1 -1
  192. package/views/3d/terrain/OverlayManager.js +1 -1
  193. package/views/3d/terrain/PatchRenderData.js +1 -1
  194. package/views/3d/terrain/SphericalPatch.js +1 -1
  195. package/views/3d/terrain/TerrainRenderer.js +1 -1
  196. package/views/3d/terrain/Tile.js +1 -1
  197. package/views/3d/webgl-engine/collections/Component/DepthRange.js +1 -1
  198. package/views/3d/webgl-engine/collections/Component/IntersectionGeometry.js +1 -1
  199. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  200. package/views/3d/webgl-engine/core/util/TwoVectorPosition.js +1 -1
  201. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  202. package/views/3d/webgl-engine/lib/BoundingInfo.js +1 -1
  203. package/views/3d/webgl-engine/lib/Camera.js +1 -1
  204. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  205. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  206. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  207. package/views/3d/webgl-engine/lib/PathVertex.js +1 -1
  208. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  209. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  210. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  211. package/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +1 -1
  212. package/views/3d/webgl-engine/lib/geometryDataUtils.js +1 -1
  213. package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
  214. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  215. package/views/3d/webgl-engine/lib/verticalOffsetUtils.js +1 -1
  216. package/views/3d/webgl-engine/lighting/SceneLighting.js +1 -1
  217. package/views/3d/webgl-engine/lighting/SphericalHarmonics.js +1 -1
  218. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  219. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  220. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  221. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  222. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  223. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  224. package/views/3d/webgl-engine/materials/pbrUtils.js +1 -1
  225. package/views/SelectionManager.js +1 -1
  226. package/views/draw/support/createUtils.js +1 -1
  227. package/views/draw/support/surfaceCoordinateSystems.js +1 -1
  228. package/views/interactive/GraphicManipulator.js +1 -1
  229. package/views/interactive/SegmentLabels.js +1 -1
  230. package/views/interactive/coordinateHelper.js +1 -1
  231. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  232. package/views/interactive/editGeometry/support/editPlaneUtils.js +1 -1
  233. package/views/interactive/sketch/constraints.js +1 -1
  234. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  235. package/views/interactive/snapping/candidates/ParallelLineSnappingCandidate.js +1 -1
  236. package/views/interactive/snapping/candidates/RightAngleTriangleSnappingCandidate.js +1 -1
  237. package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js +1 -1
  238. package/views/interactive/snapping/featureSources/sceneLayerSource/sceneLayerSnappingUtils.js +1 -1
  239. package/views/interactive/snapping/hints/IntersectionSnappingHint.js +1 -1
  240. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  241. package/views/interactive/snapping/hints/ParallelSnappingHint.js +1 -1
  242. package/views/interactive/snapping/hints/PointSnappingHint.js +1 -1
  243. package/views/interactive/snapping/hints/RightAngleSnappingHint.js +1 -1
  244. package/views/layers/FeatureLayerView.js +1 -1
  245. package/views/layers/support/editableLayerViews.js +5 -0
  246. package/views/navigation/PanSphericalMomentumEstimator.js +1 -1
  247. package/views/support/angularMeasurementUtils.js +1 -1
  248. package/views/support/euclideanAreaMeasurementUtils.js +1 -1
  249. package/views/support/euclideanLengthMeasurementUtils.js +1 -1
  250. package/views/support/geometry3dUtils.js +1 -1
  251. package/widgets/Editor/EditorViewModel.js +1 -1
  252. package/widgets/Editor/support/EditorEditingCapabilities.js +1 -1
  253. package/widgets/Editor/support/EditorItem.js +1 -1
  254. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  255. package/widgets/FeatureForm.js +1 -1
  256. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  257. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  258. package/widgets/FeatureTable/support/ColumnTemplateBase.js +1 -1
  259. package/widgets/Features/FeaturesViewModel.js +1 -1
  260. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  261. package/widgets/OrientedImageryViewer.js +1 -1
  262. package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
  263. package/widgets/PanoramicViewer/utils.js +1 -1
  264. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  265. package/widgets/UtilityNetworkTrace.js +1 -1
  266. package/widgets/support/Selector2D/SelectionOperation.js +1 -1
  267. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  268. package/assets/esri/core/workers/chunks/0e83f3718a0b45652b5e.js +0 -1
  269. package/assets/esri/core/workers/chunks/1fa5c8af69a09a3730b3.js +0 -1
  270. package/assets/esri/core/workers/chunks/25f73748df0ee82d06cb.js +0 -1
  271. package/assets/esri/core/workers/chunks/2d7a18f8c540269ecee9.js +0 -1
  272. package/assets/esri/core/workers/chunks/4736f79b5c94ce103d43.js +0 -1
  273. package/assets/esri/core/workers/chunks/65f7adaaf1f535310c11.js +0 -1
  274. package/assets/esri/core/workers/chunks/79c041b292648c5eaecc.js +0 -1
  275. package/assets/esri/core/workers/chunks/7c4c2c0beddabac672b6.js +0 -1
  276. package/assets/esri/core/workers/chunks/9a758de08dfa57735879.js +0 -1
  277. package/assets/esri/core/workers/chunks/a4c3da057ec2a07bbbe8.js +0 -1
  278. package/assets/esri/core/workers/chunks/b252270b100351779f1f.js +0 -1
  279. package/assets/esri/core/workers/chunks/dc57aa9f2fc69e654559.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1740,8348],{44247:(e,t,i)=>{async function r(e,t){const{WhereClause:r}=await Promise.all([i.e(3220),i.e(988)]).then(i.bind(i,63220));return r.create(e,t)}function o(e,t){return null!=e&&""!==e?null!=t&&""!==t?`(${e}) AND (${t})`:e:t}i.d(t,{_:()=>o,u:()=>r})},75824:(e,t,i)=>{i.d(t,{Md:()=>n,m0:()=>s,qG:()=>o});var r=i(39452);class o{}function n(e){return e instanceof r.C?e===o.instance:"unknown"===e?.toString().toLowerCase()}function s(e){return n(e)?o.instance:e}o.instance=new r._C("Etc/UTC")},77048:(e,t,i)=>{i.d(t,{C6:()=>c,FZ:()=>m,K:()=>v,K8:()=>l,MZ:()=>a,Qv:()=>f,Su:()=>o,UN:()=>w,WK:()=>n,WO:()=>y,WU:()=>s,eC:()=>u,is:()=>g,mK:()=>d,qe:()=>p,qy:()=>h,yK:()=>q});var r=i(95247);function o(e=w){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function n(e,t,i,r,n,s,a=o()){return a[0]=e,a[1]=t,a[2]=i,a[3]=r,a[4]=n,a[5]=s,a}function s(e,t){const i=isFinite(e[2])||isFinite(e[5]);return new r.c(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 a(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 l(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,i=0,r=t.length/3){let o=e[0],n=e[1],s=e[2],a=e[3],l=e[4],p=e[5];for(let e=0;e<r;e++)o=Math.min(o,t[i+3*e]),n=Math.min(n,t[i+3*e+1]),s=Math.min(s,t[i+3*e+2]),a=Math.max(a,t[i+3*e]),l=Math.max(l,t[i+3*e+1]),p=Math.max(p,t[i+3*e+2]);e[0]=o,e[1]=n,e[2]=s,e[3]=a,e[4]=l,e[5]=p}function u(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 c(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 y(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 m(e){return e?y(e,v):o(v)}function f(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 h(e,t,i,r,o){return e[0]=t,e[1]=i,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=o,e[5]=Number.POSITIVE_INFINITY,e}function g(e){return 6===e.length}function q(e,t,i){if(null==e||null==t)return e===t;if(!g(e)||!g(t))return!1;if(i){for(let r=0;r<e.length;r++)if(!i(e[r],t[r]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}i(83372);const v=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];o()},75432:(e,t,i)=>{i.r(t),i.d(t,{default:()=>A});var r=i(41948),o=i(20744),n=i(14628),s=i(1580),a=i(33392),l=i(12552),p=i(672),u=i(3856),c=i(40504),d=(i(9456),i(66360),i(72052),i(43780));const y=[2155,2194,2204,2222,2223,2224,2225,2226,2227,2228,2229,2230,2231,2232,2233,2234,2235,2236,2237,2238,2239,2240,2241,2242,2243,2244,2245,2246,2247,2248,2249,2250,2251,2252,2253,2254,2255,2256,2257,2258,2259,2260,2261,2262,2263,2264,2265,2266,2267,2268,2269,2270,2271,2272,2273,2274,2275,2276,2277,2278,2279,2280,2281,2282,2283,2284,2285,2286,2287,2288,2289,2314,2867,2868,2869,2870,2871,2872,2873,2874,2875,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885,2886,2887,2888,2889,2890,2891,2892,2893,2894,2895,2896,2897,2898,2899,2900,2901,2902,2903,2904,2905,2906,2907,2908,2909,2910,2911,2912,2913,2914,2915,2916,2917,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2928,2929,2930,2964,2965,2966,2967,2968,2992,2994,3080,3089,3091,3102,3359,3359,3361,3363,3365,3366,3404,3407,3417,3418,3419,3420,3421,3422,3423,3424,3425,3426,3427,3428,3429,3430,3431,3432,3433,3434,3435,3436,3437,3438,3441,3442,3443,3444,3445,3446,3451,3452,3453,3454,3455,3456,3457,3458,3459,3479,3481,3483,3485,3487,3490,3492,3494,3496,3498,3500,3502,3504,3506,3508,3510,3512,3515,3517,3519,3521,3523,3525,3527,3529,3531,3533,3535,3537,3539,3541,3543,3545,3547,3549,3551,3553,3560,3561,3562,3563,3564,3565,3566,3567,3568,3569,3570,3582,3584,3586,3588,3590,3593,3598,3600,3605,3608,3610,3612,3614,3616,3618,3620,3622,3624,3626,3628,3630,3632,3634,3636,3640,3642,3644,3646,3648,3650,3652,3654,3656,3658,3660,3662,3664,3668,3670,3672,3674,3676,3677,3679,3680,3682,3683,3686,3688,3690,3692,3696,3698,3700,3728,3729,3730,3731,3732,3733,3734,3735,3736,3737,3738,3739,3753,3754,3755,3756,3757,3758,3759,3760,3991,3992,4217,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4418,4419,4420,4421,4422,4423,4424,4425,4426,4427,4428,4429,4430,4431,4432,4433,4438,4439,4455,4456,4457,5466,5588,5589,5623,5624,5625,5646,5654,5655,6128,6129,6141,6200,6201,6202,6391,6405,6407,6409,6411,6413,6416,6418,6420,6422,6424,6426,6428,6430,6432,6434,6436,6438,6441,6443,6445,6447,6449,6451,6453,6455,6457,6459,6461,6463,6465,6467,6469,6471,6473,6475,6477,6479,6484,6486,6488,6490,6492,6494,6496,6499,6501,6503,6505,6507,6510,6515,6517,6519,6521,6523,6525,6527,6529,6531,6533,6535,6537,6539,6541,6543,6545,6547,6549,6551,6553,6555,6557,6559,6561,6563,6565,6568,6570,6572,6574,6576,6578,6582,6584,6586,6588,6590,6593,6595,6597,6599,6601,6603,6605,6607,6609,6612,6614,6616,6618,6625,6626,6627,6633,6785,6787,6789,6791,6793,6795,6797,6799,6801,6803,6805,6807,6809,6811,6813,6815,6817,6819,6821,6823,6825,6827,6829,6831,6833,6835,6837,6839,6841,6843,6845,6847,6849,6851,6853,6855,6857,6859,6861,6863,6868,6880,6885,6887,6923,6925,6966,6997,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7132,7258,7260,7262,7264,7266,7268,7270,7272,7274,7276,7278,7280,7282,7284,7286,7288,7290,7292,7294,7296,7298,7300,7302,7304,7306,7308,7310,7312,7314,7316,7318,7320,7322,7324,7326,7328,7330,7332,7334,7336,7338,7340,7342,7344,7346,7348,7350,7352,7354,7356,7358,7360,7362,7364,7366,7368,7370,7558,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,24100,26729,26730,26731,26732,26733,26734,26735,26736,26737,26738,26739,26740,26741,26742,26743,26744,26745,26746,26747,26748,26749,26750,26751,26752,26753,26754,26755,26756,26757,26758,26759,26760,26766,26767,26768,26769,26770,26771,26772,26773,26774,26775,26776,26777,26778,26779,26780,26781,26782,26783,26784,26785,26786,26787,26791,26792,26793,26794,26795,26796,26797,26798,26799,26801,26802,26803,26811,26812,26813,26814,26815,26819,26820,26821,26822,26825,26826,26830,26831,26832,26833,26836,26837,26841,26842,26843,26844,26847,26848,26849,26850,26851,26852,26853,26854,26855,26856,26857,26858,26859,26860,26861,26862,26863,26864,26865,26866,26867,26868,26869,26870,32001,32002,32003,32005,32006,32007,32008,32009,32010,32011,32012,32013,32014,32015,32016,32017,32018,32019,32020,32021,32022,32023,32024,32025,32026,32027,32028,32029,32030,32031,32033,32034,32035,32036,32037,32038,32039,32040,32041,32042,32043,32044,32045,32046,32047,32048,32049,32050,32051,32052,32053,32054,32055,32056,32057,32058,32064,32065,32066,32067,32074,32075,32076,32077,32099,32164,32165,32166,32167,32664,32665,32666,32667,65061,102120,102121,102629,102630,102631,102632,102633,102634,102635,102636,102637,102638,102639,102640,102641,102642,102643,102644,102645,102646,102648,102649,102650,102651,102652,102653,102654,102655,102656,102657,102658,102659,102660,102661,102662,102663,102664,102665,102666,102667,102668,102669,102670,102671,102672,102673,102674,102675,102676,102677,102678,102679,102680,102681,102682,102683,102684,102685,102686,102687,102688,102689,102690,102691,102692,102693,102694,102695,102696,102697,102698,102700,102704,102707,102708,102709,102710,102711,102712,102713,102714,102715,102716,102717,102718,102719,102720,102721,102722,102723,102724,102725,102726,102727,102728,102729,102730,102733,102734,102735,102736,102737,102738,102739,102740,102741,102742,102743,102744,102745,102746,102747,102748,102749,102750,102751,102752,102753,102754,102755,102756,102757,102758,102761,102766],m=[5614,5702,6130,6131,6132,6358,6359,6360],f=[115700,4326];function h(e){return y.includes(e)?"feet":"meters"}function g(e,t){return"number"==typeof e?m.includes(e)?"feet":"meters":h(t)}function q(e,t){return e&&f.includes(e)||4326===t?"ellipsoidal":"gravity-related-height"}let v=class extends d.c{constructor(){super(...arguments),this.verticalWKID=null}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:i,radialDistortionCoefficients:r,tangentialDistortionCoefficients:o}=this;return e?.length>1&&!Number.isNaN(t)&&i?.length>1&&r?.length>1&&o?.length>1}getInfo(){const{horizontalWKID:e,verticalWKID:t}=this;let i=e,r=t;const o=this;if(4===o.type){const{properties:e}=o;i=4326,r=e.verticalWKID}return{heightModel:q(r,i),heightUnit:g(r,i),horizontalUnit:h(i)}}};(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"focalLength",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"horizontalWKID",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"verticalWKID",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"x",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"y",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"z",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],v.prototype,"type",void 0),v=(0,r._)([(0,l.c)("esri.layers.orientedImagery.core.CameraOrientation")],v);const w=v;let _=class extends((0,u.q)((0,c.Ib)(w))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:d,tangentialDistortionCoefficients:y}=this,m=[e,t,i,r,o,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>m.push(e))),m.push(u),c?.forEach((e=>m.push(e))),d?.forEach((e=>m.push(e))),y?.forEach((e=>m.push(e)))),m.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,r._)([(0,s.qq)({json:{write:!0}})],_.prototype,"type",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],_.prototype,"affineTransformations",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"focalLength",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],_.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],_.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],_.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"heading",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"pitch",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"roll",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"horizontalWKID",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"verticalWKID",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"x",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"y",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],_.prototype,"z",void 0),_=(0,r._)([(0,l.c)("esri.layers.orientedImagery.core.CameraOrientationHPR")],_);const S=_;let x=class extends((0,u.q)((0,c.Ib)(w))){constructor(){super(...arguments),this.type=2,this.verticalWKID=null}toString(){const{type:e,horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:d,tangentialDistortionCoefficients:y}=this,m=[e,t,i,r,o,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>m.push(e))),m.push(u),c?.forEach((e=>m.push(e))),d?.forEach((e=>m.push(e))),y?.forEach((e=>m.push(e)))),m.map((e=>isNaN(e)?"":e)).join("|")}};(0,r._)([(0,s.qq)({json:{write:!0}})],x.prototype,"type",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],x.prototype,"affineTransformations",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"focalLength",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],x.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],x.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],x.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"omega",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"phi",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"kappa",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"horizontalWKID",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"verticalWKID",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"x",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],x.prototype,"z",void 0),x=(0,r._)([(0,l.c)("esri.layers.orientedImagery.core.CameraOrientationOPK")],x);const F=x;let b=class extends((0,u.q)((0,c.Ib)(w))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:i,radialDistortionCoefficients:r,tangentialDistortionCoefficients:o}=this;return e?.length>1||!Number.isNaN(t)||i?.length>1||r?.length>1||o?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:d,tangentialDistortionCoefficients:y}=this,m=[e,t,i,r,o,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>m.push(e))),m.push(u),c?.forEach((e=>m.push(e))),c?.forEach((e=>m.push(e))),d?.forEach((e=>m.push(e))),y?.forEach((e=>m.push(e)))),m.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,r._)([(0,s.qq)({json:{write:!0}})],b.prototype,"type",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],b.prototype,"affineTransformations",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"focalLength",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],b.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],b.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({type:[Number],json:{write:!0}})],b.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"yaw",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"pitch",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"roll",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"horizontalWKID",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"verticalWKID",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"x",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"y",void 0),(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],b.prototype,"z",void 0),b=(0,r._)([(0,l.c)("esri.layers.orientedImagery.core.CameraOrientationYPR")],b);const N=b;i(66668);let T=class extends c.am{constructor(){super(...arguments),this.url=null}};(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],T.prototype,"lod",void 0),(0,r._)([(0,s.qq)({type:String,json:{write:!0}})],T.prototype,"rasterFunction",void 0),(0,r._)([(0,s.qq)({type:String,json:{write:!0}})],T.prototype,"url",void 0),T=(0,r._)([(0,l.c)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],T);let I=class extends c.am{};var j;(0,r._)([(0,s.qq)({type:Number,json:{write:!0}})],I.prototype,"constantElevation",void 0),I=(0,r._)([(0,l.c)("esri.layers.orientedImagery.cor.ElevationSourceDefinitions.ConstantElevation")],I),function(e){e[e.HPR=1]="HPR",e[e.OPK=2]="OPK",e[e.YPR=3]="YPR",e[e.LTP=4]="LTP"}(j||(j={}));var P=i(82060);const O=new n.O({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),D=new n.O({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique","":null}),C=new Map;C.set(`${j.OPK}`,{desc:"Using Omega Phi Kappa",constructor:F}),C.set(`${j.HPR}`,{desc:"Using Heading, Pitch and Roll",constructor:S}),C.set(`${j.YPR}`,{desc:"Using Yaw, Pitch and Roll",constructor:N});const R=new Map;function M(e,t,i){return{name:`orientedImageryProperties.${e}`,write:!t||{target:`orientedImageryProperties.${e}`,writer:t},origins:{service:{name:`orientedImageryInfo.orientedImageryProperties.${e}`,write:t,read:i}}}}R.set(`${j.HPR}`,(function(e){const[t,i,r,o,n,s,a,l,p,u,c,d,y,m,f,h,g,q,v,w,_,S]=e.slice(1),x=[p,u,c,d,y,m].map((e=>Number(e))),F=[h,g].map((e=>Number(e))),b=[q,v,w],N=[_,S];return{horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,heading:s,pitch:a,roll:l,affineTransformations:6===x.filter(P.I).length?x:null,focalLength:f,principalOffsetPoint:2!==F.filter(P.I).length?null:F,radialDistortionCoefficients:3!==b.filter(P.I).length?null:b,tangentialDistortionCoefficients:2!==N.filter(P.I).length?null:N}})),R.set(`${j.YPR}`,(function(e){const[t,i,r,o,n,s,a,l,p,u,c,d,y,m,f,h,g,q,v,w,_,S]=e.slice(1),x=[p,u,c,d,y,m].map((e=>Number(e))),F=[h,g].map((e=>Number(e))),b=[q,v,w],N=[_,S];return{horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,yaw:s,pitch:a,roll:l,affineTransformations:6===x.filter(P.I).length?x:null,focalLength:f,principalOffsetPoint:2!==F.filter(P.I).length?null:F,radialDistortionCoefficients:3!==b.filter(P.I).length?null:b,tangentialDistortionCoefficients:2!==N.filter(P.I).length?null:N}})),R.set(`${j.OPK}`,(function(e){const[t,i,r,o,n,s,a,l,p,u,c,d,y,m,f,h,g,q,v,w,_,S]=e.slice(1),x=[p,u,c,d,y,m].map((e=>Number(e))),F=[h,g].map((e=>Number(e))),b=[q,v,w].map((e=>Number(e))),N=[_,S].map((e=>Number(e)));return{horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,omega:s,phi:a,kappa:l,affineTransformations:6===x.filter(P.I).length?x:null,focalLength:f,principalOffsetPoint:2!==F.filter(P.I).length?null:F,radialDistortionCoefficients:3!==b.filter(P.I).length?[0,0,0]:b,tangentialDistortionCoefficients:2!==N.filter(P.I).length?[0,0]:N}})),R.set(`${j.LTP}`,(function(e){const[t,i,r,o,n,...s]=e.slice(1),a=R.get(n);return a?{latitude:t,longitude:i,ellipsoidRadius:r,squaredEccentricity:o,properties:a([n,"",...s])}:null}));let E=class extends p.default{constructor(){super(...arguments),this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.type="oriented-imagery",this.timeIntervalUnit=null,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.videoPathPrefix=null,this.videoPathSuffix=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:i}=this;return function(e,t,i){return e?(e=>"constantElevation"in e)(e)?new I(e):function(e,t,i){let{url:r}=e;return r?(r=function(e,t,i){return t&&(e=`${t}${e}`),i&&(e+=`${i}`),e}(r,t,i),new T({...e,url:r})):null}(e,t,i):e}(e,t,i)}findFirstValidLayerId(e){return e.layers?.find((e=>"Oriented Imagery Layer"===e.type))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new o.c("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};(0,r._)([(0,s.qq)({type:Number,json:M("cameraHeading")})],E.prototype,"cameraHeading",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("cameraHeight")})],E.prototype,"cameraHeight",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("cameraPitch")})],E.prototype,"cameraPitch",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("cameraRoll")})],E.prototype,"cameraRoll",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("coveragePercent")})],E.prototype,"coveragePercent",void 0),(0,r._)([(0,s.qq)({type:String,json:M("demPathPrefix")})],E.prototype,"demPathPrefix",void 0),(0,r._)([(0,s.qq)({type:String,json:M("demPathSuffix")})],E.prototype,"demPathSuffix",void 0),(0,r._)([(0,s.qq)({type:String,json:M("depthImagePathPrefix")})],E.prototype,"depthImagePathPrefix",void 0),(0,r._)([(0,s.qq)({type:String,json:M("depthImagePathSuffix")})],E.prototype,"depthImagePathSuffix",void 0),(0,r._)([(0,s.qq)({type:Object,json:M("elevationSource")})],E.prototype,"elevationSource",void 0),(0,r._)([(0,s.qq)()],E.prototype,"effectiveElevationSource",null),(0,r._)([(0,s.qq)({type:Number,json:M("farDistance")})],E.prototype,"farDistance",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],E.prototype,"geometryType",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("horizontalFieldOfView")})],E.prototype,"horizontalFieldOfView",void 0),(0,r._)([(0,s.qq)({type:String,json:M("horizontalMeasurementUnit")})],E.prototype,"horizontalMeasurementUnit",void 0),(0,r._)([(0,s.qq)({type:String,json:M("imagePathPrefix")})],E.prototype,"imagePathPrefix",void 0),(0,r._)([(0,s.qq)({type:String,json:M("imagePathSuffix")})],E.prototype,"imagePathSuffix",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("imageRotation")})],E.prototype,"imageRotation",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("maximumDistance")})],E.prototype,"maximumDistance",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("nearDistance")})],E.prototype,"nearDistance",void 0),(0,r._)([(0,s.qq)({type:["OrientedImageryLayer"]})],E.prototype,"operationalLayerType",void 0),(0,r._)([(0,s.qq)({json:M("orientationAccuracy",((e,t)=>{e&&(t.orientationAccuracy=e.join(","))}))}),(0,a.W)((e=>e?e.trim().split(",").map(Number):null))],E.prototype,"orientationAccuracy",void 0),(0,r._)([(0,s.qq)({json:{...M("orientedImageryType",D.write,D.read),type:D.apiValues}})],E.prototype,"orientedImageryType",void 0),(0,r._)([(0,s.qq)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],E.prototype,"type",void 0),(0,r._)([(0,s.qq)({json:{...M("timeIntervalUnit",O.write,O.read),type:O.apiValues}})],E.prototype,"timeIntervalUnit",void 0),(0,r._)([(0,s.qq)({type:Number,json:M("verticalFieldOfView")})],E.prototype,"verticalFieldOfView",void 0),(0,r._)([(0,s.qq)({json:{...M("verticalMeasurementUnit"),type:new n.O({Feet:"feet",Meter:"meter"}).apiValues}})],E.prototype,"verticalMeasurementUnit",void 0),(0,r._)([(0,s.qq)({type:String,json:M("videoPathPrefix")})],E.prototype,"videoPathPrefix",void 0),(0,r._)([(0,s.qq)({type:String,json:M("videoPathSuffix")})],E.prototype,"videoPathSuffix",void 0),E=(0,r._)([(0,l.c)("esri.layers.OrientedImageryLayer")],E);const A=E},38724:(e,t,i)=>{i.d(t,{C:()=>s});var r=i(41948),o=i(1580),n=(i(9456),i(66360),i(72052),i(12552));const s=e=>{let t=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r._)([(0,o.qq)({type:String})],t.prototype,"apiKey",null),t=(0,r._)([(0,n.c)("esri.layers.mixins.APIKeyMixin")],t),t}},16660:(e,t,i)=>{i.d(t,{u:()=>l});var r=i(41948),o=i(66360),n=i(1580),s=(i(9456),i(72052),i(12552)),a=i(48212);const l=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,a.K0)(this.url);if(null!=e&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,a.oR)(e,o.c.getLogger(this)))}};return(0,r._)([(0,n.qq)()],t.prototype,"title",null),(0,r._)([(0,n.qq)({type:String})],t.prototype,"url",null),t=(0,r._)([(0,s.c)("esri.layers.mixins.ArcGISService")],t),t}},87352:(e,t,i)=>{i.d(t,{c:()=>c});var r=i(41948),o=i(3856),n=i(14628),s=i(40504),a=i(1580),l=(i(9456),i(66360),i(72052),i(12552));const p=new n.O({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,o.q)(s.am)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r._)([(0,a.qq)({json:{write:!0}})],u.prototype,"name",void 0),(0,r._)([(0,a.qq)({json:{write:!0}})],u.prototype,"description",void 0),(0,r._)([(0,a.qq)({json:{read:p.read,write:p.write}})],u.prototype,"drawingTool",void 0),(0,r._)([(0,a.qq)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r._)([(0,a.qq)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r._)([(0,l.c)("esri.layers.support.FeatureTemplate")],u);const c=u},79648:(e,t,i)=>{i.d(t,{c:()=>y});var r=i(41948),o=i(3856),n=i(40504),s=i(1580),a=(i(9456),i(66360),i(72052),i(33600)),l=i(12552),p=i(18996),u=i(89812),c=i(87352);let d=class extends((0,o.q)(n.am)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const i of Object.keys(e))t[i]=(0,u.h4)(e[i]);return t}writeDomains(e,t){const i={};for(const t of Object.keys(e))e[t]&&(i[t]=e[t]?.toJSON());t.domains=i}};(0,r._)([(0,s.qq)({json:{write:!0}})],d.prototype,"id",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],d.prototype,"name",void 0),(0,r._)([(0,s.qq)({json:{write:!0}})],d.prototype,"domains",void 0),(0,r._)([(0,a.E)("domains")],d.prototype,"readDomains",null),(0,r._)([(0,p.G)("domains")],d.prototype,"writeDomains",null),(0,r._)([(0,s.qq)({type:[c.c],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,r._)([(0,l.c)("esri.layers.support.FeatureType")],d);const y=d},600:(e,t,i)=>{i.d(t,{c:()=>h});var r,o=i(41948),n=i(14628),s=i(40504),a=i(1580),l=i(53368),p=(i(72052),i(9456),i(9968)),u=i(33600),c=i(12552),d=i(89812),y=i(36408);const m=new n.O({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let f=r=class extends s.am{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?.value??null}readValueType(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?m.fromJSON(i.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,o._)([(0,a.qq)({type:String,json:{write:!0}})],f.prototype,"alias",void 0),(0,o._)([(0,a.qq)({type:[String,Number],json:{write:{allowNull:!0}}})],f.prototype,"defaultValue",void 0),(0,o._)([(0,a.qq)()],f.prototype,"description",void 0),(0,o._)([(0,u.E)("description")],f.prototype,"readDescription",null),(0,o._)([(0,a.qq)({types:d.i2,json:{read:{reader:d.h4},write:!0}})],f.prototype,"domain",void 0),(0,o._)([(0,a.qq)({type:Boolean,json:{write:!0}})],f.prototype,"editable",void 0),(0,o._)([(0,a.qq)({type:l.Ab,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],f.prototype,"length",void 0),(0,o._)([(0,a.qq)({type:String,json:{write:!0}})],f.prototype,"name",void 0),(0,o._)([(0,a.qq)({type:Boolean,json:{write:!0}})],f.prototype,"nullable",void 0),(0,o._)([(0,p.G)(y.M)],f.prototype,"type",void 0),(0,o._)([(0,a.qq)()],f.prototype,"valueType",void 0),(0,o._)([(0,u.E)("valueType",["description"])],f.prototype,"readValueType",null),(0,o._)([(0,a.qq)({type:Boolean,json:{read:!1}})],f.prototype,"visible",void 0),f=r=(0,o._)([(0,c.c)("esri.layers.support.Field")],f);const h=f},16424:(e,t,i)=>{i.d(t,{c:()=>d});var r=i(20744),o=i(40504),n=i(66360),s=i(86916),a=i(75824),l=i(564),p=i(28484),u=i(39452);const c=new Map;class d{static fromJSON(e){return new d(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new d(e.fields??[],h(e))}static fromLayerJSON(e){return new d(e.fields??[],h(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,r=m(t);if(t&&r){const o=y(t);this._fieldsMap.set(t,e),this._fieldsMap.set(o,e),this._normalizedFieldsMap.set(r,e),i.push(`${o}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,l.gp)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,l.iW)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,l.Mz)(e)||(0,l.w1)(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.Mz)(e)||(0,l.w1)(e)||e.nullable||void 0!==(0,l.gB)(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(y(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?(n.c.getLogger("esri.layers.support.FieldsIndex").error(new r.c("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),p.Gw):f.has(t.type)?p.OI:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===p.OI?a.qG.instance:t===p.Gw?u.Kq.utcInstance:(0,s.wJ)(c,t,(()=>u._C.create(t))):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,l.eM)(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,o.wt)(e)?e.toJSON():e)),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function y(e){return e.trim().toLowerCase()}function m(e){return(0,l.gP)(e)?.toLowerCase()??""}const f=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function h(e){const t=new Map;if(!e.fields)return t;const i=!0===e.datesInUnknownTimezone,{timeInfo:r,editFieldsInfo:o}=e,n=(r?"startField"in r?r.startField:r.startTimeField:"")??"",s=(r?"endField"in r?r.endField:r.endTimeField:"")??"",a=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,p.Mt)(e.dateFieldsTimeReference):null,l=o?function(e){return"timeZone"in e}(o)?o.timeZone??a:o.dateFieldsTimeReference?(0,p.Mt)(o.dateFieldsTimeReference):a??p.Gw:null,u=r?function(e){return"timeZone"in e}(r)?r.timeZone??a:r.timeReference?(0,p.Mt)(r.timeReference):a:null,c=new Map([[y(o?.creationDateField??""),l],[y(o?.editDateField??""),l],[y(n),u],[y(s),u]]);for(const{name:r,type:o}of e.fields)if(f.has(o))t.set(r,p.OI);else if("date"!==o&&"esriFieldTypeDate"!==o)t.set(r,null);else if(i)t.set(r,p.OI);else{const e=c.get(y(r??""))??a;t.set(r,e)}return t}},24144:(e,t,i)=>{i.d(t,{c:()=>u});var r,o=i(41948),n=i(2952),s=i(40504),a=i(1580),l=(i(9456),i(66360),i(72052),i(12552));let p=r=class extends s.am{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new n.c}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o._)([(0,a.qq)({type:String,json:{write:!0}})],p.prototype,"floorField",void 0),(0,o._)([(0,a.qq)({json:{read:!1,write:!1}})],p.prototype,"viewAllMode",void 0),(0,o._)([(0,a.qq)({json:{read:!1,write:!1}})],p.prototype,"viewAllLevelIds",void 0),p=r=(0,o._)([(0,l.c)("esri.layers.support.LayerFloorInfo")],p);const u=p},89812:(e,t,i)=>{i.d(t,{h4:()=>F,i2:()=>x}),i(9456);var r,o=i(41948),n=i(62088),s=i(1580),a=(i(66360),i(9968)),l=i(12552),p=i(40504);i(72052);let u=r=class extends p.am{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,o._)([(0,s.qq)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o._)([(0,s.qq)({type:[String,Number],json:{write:!0}})],u.prototype,"code",void 0),u=r=(0,o._)([(0,l.c)("esri.layers.support.CodedValue")],u);const c=new(i(14628).O)({inherited:"inherited",codedValue:"coded-value",range:"range"});let d=class extends p.am{constructor(e){super(e),this.name=null,this.type=null}};(0,o._)([(0,s.qq)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,o._)([(0,a.G)(c)],d.prototype,"type",void 0),d=(0,o._)([(0,l.c)("esri.layers.support.Domain")],d);const y=d;var m;let f=m=class extends y{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const i=String(e);this.codedValues.some((e=>(String(e.code)===i&&(t=e.name),!!t)))}return t}clone(){return new m({codedValues:(0,n.ct)(this.codedValues),name:this.name})}};(0,o._)([(0,s.qq)({type:[u],json:{write:!0}})],f.prototype,"codedValues",void 0),(0,o._)([(0,a.G)({codedValue:"coded-value"})],f.prototype,"type",void 0),f=m=(0,o._)([(0,l.c)("esri.layers.support.CodedValueDomain")],f);const h=f;var g;i(20744);let q=g=class extends y{constructor(e){super(e),this.type="inherited"}clone(){return new g}};(0,o._)([(0,a.G)({inherited:"inherited"})],q.prototype,"type",void 0),q=g=(0,o._)([(0,l.c)("esri.layers.support.InheritedDomain")],q);const v=q;var w;let _=w=class extends y{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new w({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,o._)([(0,s.qq)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,i){t[i]=[this.minValue||0,e]}}}})],_.prototype,"maxValue",void 0),(0,o._)([(0,s.qq)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,i){t[i]=[e,this.maxValue||0]}}}})],_.prototype,"minValue",void 0),(0,o._)([(0,a.G)({range:"range"})],_.prototype,"type",void 0),_=w=(0,o._)([(0,l.c)("esri.layers.support.RangeDomain")],_);const S=_,x={key:"type",base:y,typeMap:{range:_,"coded-value":h,inherited:v}};function F(e){if(!e?.type)return null;switch(e.type){case"range":return S.fromJSON(e);case"codedValue":return h.fromJSON(e);case"inherited":return v.fromJSON(e)}return null}},36408:(e,t,i)=>{i.d(t,{M:()=>r});const r=new(i(14628).O)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},4144:(e,t,i)=>{i.d(t,{GC:()=>x,I5:()=>f,Wi:()=>g,Y$:()=>m,cF:()=>h,wf:()=>q,y6:()=>y});var r=i(88264);const o="__begin__",n="__end__",s=new RegExp(o,"ig"),a=new RegExp(n,"ig"),l=new RegExp("^"+o,"i"),p=new RegExp(n+"$","i"),u='"',c=u+" + ",d=" + "+u;function y(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function m(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(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=y(e.labelExpression),t.type="conventional"),t}function h(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return q(t.expression);case"arcade":return t.expression}return null}function g(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(v);return t?.[1].trim()||null}(t.expression);case"arcade":return x(t.expression)}return null}function q(e){let t;return e?(t=(0,r.qq)(e,(e=>o+'$feature["'+e+'"]'+n)),t=l.test(t)?t.replace(l,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(s,c).replaceAll(a,d)):t='""',t}const v=/^\s*\{([^}]+)\}\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])([\w\s]+)(\2)\]));?\s*$/i,_=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])([\w\s]+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,S=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])([\w\s]+)(\1)\s*\));?\s*$/i;function x(e){if(!e)return null;let t=w.exec(e)||_.exec(e);return t?t[1]||t[3]:(t=S.exec(e),t?t[2]:null)}},54712:(e,t,i)=>{i.d(t,{S:()=>c});var r=i(9456),o=i(48212);function n(e,t,i){return!!a(e,t,i)}function s(e,t,i){return a(e,t,i)}function a(e,t,i){return e&&e.hasOwnProperty(t)?e[t]:i}const l={name:"supportsName",size:"supportsSize",contentType:"supportsContentType",keywords:"supportsKeywords",exifInfo:"supportsExifInfo"};function p(e){const t=e?.supportedSpatialAggregationStatistics?.map((e=>e.toLowerCase()));return{envelope:!!t?.includes("envelopeaggregate"),centroid:!!t?.includes("centroidaggregate"),convexHull:!!t?.includes("convexhullaggregate")}}function u(e,t){const i=e?.supportedOperationsWithCacheHint?.map((e=>e.toLowerCase()));return!!i?.includes(t.toLowerCase())}function c(e,t){return{analytics:d(e),attachment:y(e),data:m(e),metadata:f(e),operations:h(e.capabilities,e,t),query:g(e,t),queryRelated:q(e),queryTopFeatures:v(e),editing:w(e)}}function d(e){return{supportsCacheHint:u(e.advancedQueryCapabilities,"queryAnalytics")}}function y(e){const t=e.attachmentProperties,i={supportsName:!1,supportsSize:!1,supportsContentType:!1,supportsKeywords:!1,supportsExifInfo:!1,supportsCacheHint:u(e.advancedQueryCapabilities,"queryAttachments"),supportsResize:n(e,"supportsAttachmentsResizing",!1)};return t&&Array.isArray(t)&&t.forEach((e=>{const t=l[e.name];t&&(i[t]=!!e.isEnabled)})),i}function m(e){return{isVersioned:n(e,"isDataVersioned",!1),supportsAttachment:n(e,"hasAttachments",!1),supportsM:n(e,"hasM",!1),supportsZ:n(e,"hasZ",!1)}}function f(e){return{supportsAdvancedFieldProperties:n(e,"supportsFieldDescriptionProperty",!1)}}function h(e,t,i){const r=e?e.toLowerCase().split(",").map((e=>e.trim())):[],s=i?(0,o.K0)(i):null,a=r.includes(null!=s&&"MapServer"===s.serverType?"data":"query"),l=r.includes("editing")&&!t.datesInUnknownTimezone;let p=l&&r.includes("create"),u=l&&r.includes("delete"),c=l&&r.includes("update");const d=r.includes("changetracking"),y=t.advancedQueryCapabilities;return l&&!(p||u||c)&&(p=u=c=!0),{supportsCalculate:n(t,"supportsCalculate",!1),supportsTruncate:n(t,"supportsTruncate",!1),supportsValidateSql:n(t,"supportsValidateSql",!1),supportsAdd:p,supportsDelete:u,supportsEditing:l,supportsChangeTracking:d,supportsQuery:a,supportsQueryAnalytics:n(y,"supportsQueryAnalytic",!1),supportsQueryAttachments:n(y,"supportsQueryAttachments",!1),supportsQueryTopFeatures:n(y,"supportsTopFeaturesQuery",!1),supportsResizeAttachments:n(t,"supportsAttachmentsResizing",!1),supportsSync:r.includes("sync"),supportsUpdate:c,supportsExceedsLimitStatistics:n(t,"supportsExceedsLimitStatistics",!1),supportsAsyncConvert3D:n(t,"supportsAsyncConvert3D",!1)}}function g(e,t){const i=e.advancedQueryCapabilities,a=e.ownershipBasedAccessControlForFeatures,l=e.archivingInfo,c=e.currentVersion,d=t?.includes("MapServer"),y=!d||c>=(0,r.c)("mapserver-pbf-version-support"),m=(0,o.Wq)(t),f=new Set((e.supportedQueryFormats??"").split(",").map((e=>e.toLowerCase().trim())));return{supportsStatistics:n(i,"supportsStatistics",e.supportsStatistics),supportsPercentileStatistics:n(i,"supportsPercentileStatistics",!1),supportsSpatialAggregationStatistics:n(i,"supportsSpatialAggregationStatistics",!1),supportedSpatialAggregationStatistics:p(i),supportsCentroid:n(i,"supportsReturningGeometryCentroid",!1),supportsDistance:n(i,"supportsQueryWithDistance",!1),supportsDistinct:n(i,"supportsDistinct",e.supportsAdvancedQueries),supportsExtent:n(i,"supportsReturningQueryExtent",!1),supportsGeometryProperties:n(i,"supportsReturningGeometryProperties",!1),supportsHavingClause:n(i,"supportsHavingClause",!1),supportsOrderBy:n(i,"supportsOrderBy",e.supportsAdvancedQueries),supportsPagination:n(i,"supportsPagination",!1),supportsQuantization:n(e,"supportsCoordinatesQuantization",!1),supportsQuantizationEditMode:n(e,"supportsQuantizationEditMode",!1),supportsQueryGeometry:n(e,"supportsReturningQueryGeometry",!1),supportsResultType:n(i,"supportsQueryWithResultType",!1),supportsMaxRecordCountFactor:n(i,"supportsMaxRecordCountFactor",!1),supportsSqlExpression:n(i,"supportsSqlExpression",!1),supportsStandardizedQueriesOnly:n(e,"useStandardizedQueries",!1),supportsTopFeaturesQuery:n(i,"supportsTopFeaturesQuery",!1),supportsQueryByAnonymous:n(a,"allowAnonymousToQuery",!0),supportsQueryByOthers:n(a,"allowOthersToQuery",!0),supportsHistoricMoment:n(l,"supportsQueryWithHistoricMoment",!1),supportsFormatPBF:y&&f.has("pbf"),supportsDisjointSpatialRelationship:n(i,"supportsDisjointSpatialRel",!1),supportsCacheHint:n(i,"supportsQueryWithCacheHint",!1)||u(i,"query"),supportsDefaultSpatialReference:n(i,"supportsDefaultSR",!1),supportsCompactGeometry:m,supportsFullTextSearch:n(i,"supportsFullTextSearch",!1),maxRecordCountFactor:s(e,"maxRecordCountFactor",void 0),maxRecordCount:s(e,"maxRecordCount",void 0),standardMaxRecordCount:s(e,"standardMaxRecordCount",void 0),tileMaxRecordCount:s(e,"tileMaxRecordCount",void 0)}}function q(e){const t=e.advancedQueryCapabilities,i=n(t,"supportsAdvancedQueryRelated",!1);return{supportsPagination:n(t,"supportsQueryRelatedPagination",!1),supportsCount:i,supportsOrderBy:i,supportsCacheHint:u(t,"queryRelated")}}function v(e){return{supportsCacheHint:u(e.advancedQueryCapabilities,"queryTopFilter")}}function w(e){const t=e.ownershipBasedAccessControlForFeatures,i=e?e.advancedEditingCapabilities:void 0;return{supportsGeometryUpdate:n(e,"allowGeometryUpdates",!0),supportsGlobalId:n(e,"supportsApplyEditsWithGlobalIds",!1),supportsReturnServiceEditsInSourceSpatialReference:n(e,"supportsReturnServiceEditsInSourceSR",!1),supportsRollbackOnFailure:n(e,"supportsRollbackOnFailureParameter",!1),supportsUpdateWithoutM:n(e,"allowUpdateWithoutMValues",!1),supportsUploadWithItemId:n(e,"supportsAttachmentsByUploadId",!1),supportsDeleteByAnonymous:n(t,"allowAnonymousToDelete",!0),supportsDeleteByOthers:n(t,"allowOthersToDelete",!0),supportsUpdateByAnonymous:n(t,"allowAnonymousToUpdate",!0),supportsUpdateByOthers:n(t,"allowOthersToUpdate",!0),supportsAsyncApplyEdits:n(i,"supportsAsyncApplyEdits",!1),zDefault:s(e,"zDefault",void 0)}}},21012:(e,t,i)=>{i.d(t,{M:()=>o});var r=i(37924);function o(e,t,i){if(!i?.features||!i.hasZ)return;const o=(0,r.O)(i.geometryType,t,e.outSpatialReference);if(null!=o)for(const e of i.features)o(e.geometry)}},59500:(e,t,i)=>{i.d(t,{c:()=>v});var r,o=i(41948),n=i(60708),s=i(6444),a=i(14628),l=i(40504),p=i(62088),u=i(1580),c=(i(9456),i(66360),i(33600)),d=i(12552),y=i(18996),m=i(56156),f=i(6704),h=i(600);const g=new a.O({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let q=r=class extends l.am{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const i=m.c.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const o=e[t],n=s.c.fromJSON(o),a=o.geometry?.spatialReference;null==n.geometry||a||(n.geometry.spatialReference=i);const l=o.aggregateGeometries,p=n.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],r=l[e],o=r?.spatialReference;null==t||o||(t.spatialReference=i)}r.push(n)}return r}writeGeometryType(e,t,i,r){if(e)return void g.write(e,t,i,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,i,r)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,r=(0,f.h4)(e);return r&&!i&&t.spatialReference&&(r.spatialReference=m.c.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,p.ct)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let i=0;i<t.features.length;i++){const r=t.features[i];if(r.geometry){const t=e?.[i];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,i],translate:[r,o]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((o-e)/i)));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[r,o],scale:[n,s]}=i;let a=null,l=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;a=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;l=i=>null==i?i:i*t+e}const p=this._getHydrationFunction(e,(e=>e*n+r),(e=>o-e*s),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}_quantizePoints(e,t,i){let r,o;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=i(a[1]);e===r&&s===o||(n.push([e-r,s-o]),r=e,o=s)}else r=t(a[0]),o=i(a[1]),n.push([r,o])}return n.length>0?n:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,f.Cs)(e)?e.rings:e.paths,o=[];for(let e=0,n=r.length;e<n;e++){const n=r[e],s=this._quantizePoints(n,t,i);s&&o.push(s)}return o.length>0?((0,f.Cs)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,i);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,f.Cs)(e)?e.rings:e.paths;let s,a;for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(s+=o[0],a+=o[1]):(s=o[0],a=o[1]),o[0]=t(s),o[1]=i(a)}}if(r&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2]),i[3]=o(i[3])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=o(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,r=n.length;e<r;e++){const r=n[e];e>0?(s+=r[0],a+=r[1]):(s=r[0],a=r[1]),r[0]=t(s),r[1]=i(a)}if(r&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,u.qq)({type:String,json:{write:!0}})],q.prototype,"displayFieldName",void 0),(0,o._)([(0,u.qq)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],q.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,u.qq)({type:[s.c],json:{write:!0}})],q.prototype,"features",void 0),(0,o._)([(0,c.E)("features")],q.prototype,"readFeatures",null),(0,o._)([(0,u.qq)({type:[h.c],json:{write:!0}})],q.prototype,"fields",void 0),(0,o._)([(0,u.qq)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],q.prototype,"geometryType",void 0),(0,o._)([(0,y.G)("geometryType")],q.prototype,"writeGeometryType",null),(0,o._)([(0,u.qq)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],q.prototype,"hasM",void 0),(0,o._)([(0,u.qq)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],q.prototype,"hasZ",void 0),(0,o._)([(0,u.qq)({types:n.Su,json:{write:!0}})],q.prototype,"queryGeometry",void 0),(0,o._)([(0,c.E)("queryGeometry")],q.prototype,"readQueryGeometry",null),(0,o._)([(0,u.qq)({type:m.c,json:{write:!0}})],q.prototype,"spatialReference",void 0),(0,o._)([(0,y.G)("spatialReference")],q.prototype,"writeSpatialReference",null),(0,o._)([(0,u.qq)({json:{write:!0}})],q.prototype,"transform",void 0),q=r=(0,o._)([(0,d.c)("esri.rest.support.FeatureSet")],q),q.prototype.toJSON.isDefaultToJSON=!0;const v=q},45704:(e,t,i)=>{i.d(t,{Sg:()=>u,Uj:()=>p,Uz:()=>l,YP:()=>c}),i(9456);var r=i(47472),o=i(7432),n=i(49736),s=i(28652),a=i(9504);const l=n.c.fromJSON(a.qe),p=o.c.fromJSON(a.MZ),u=r.c.fromJSON(a.yq),c=s.c.fromJSON(a.gF);n.c.fromJSON(a.gP),o.c.fromJSON(a.aV),r.c.fromJSON(a.wp)},9504:(e,t,i)=>{i.d(t,{MZ:()=>n,aV:()=>p,gF:()=>a,gP:()=>l,qe:()=>o,wp:()=>u,yq:()=>s});const r=[252,146,31,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},s={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},l={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},p={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},u={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4828],{41104:(e,t,n)=>{n.d(t,{c:()=>m});var r,o=n(41948),i=n(40504),a=n(1580),c=(n(9456),n(66360),n(72052),n(12552)),l=n(15008),s=n(87104),u=n(41512),p=n(2620),f=n(98472),g=n(62484),y=n(66952);let h=r=class extends i.am{constructor(e){super(e),this.translation=(0,g.Su)(),this.rotationAxis=(0,g.eu)(y.up),this.rotationAngle=0,this.scale=(0,g.WK)(1,1,1)}get rotation(){return(0,y.eE)(this.rotationAxis,this.rotationAngle)}set rotation(e){this.rotationAxis=(0,g.ct)((0,y.Yz)(e)),this.rotationAngle=(0,y.i4)(e)}get localMatrix(){const e=(0,s.Su)();return(0,u.yG)(A,(0,y.Yz)(this.rotation),(0,y.kX)(this.rotation)),(0,l.um)(e,A,this.translation,this.scale),e}get localMatrixInverse(){return(0,l.S_)((0,s.Su)(),this.localMatrix)}applyLocal(e,t){return(0,f.e)(t,e,this.localMatrix)}applyLocalInverse(e,t){return(0,f.e)(t,e,this.localMatrixInverse)}equals(e){return this===e||null!=e&&(0,l.sF)(this.localMatrix,e.localMatrix)}clone(){const e={translation:(0,g.ct)(this.translation),rotationAxis:(0,g.ct)(this.rotationAxis),rotationAngle:this.rotationAngle,scale:(0,g.ct)(this.scale)};return new r(e)}};(0,o._)([(0,a.qq)({type:[Number],nonNullable:!0,json:{write:!0}})],h.prototype,"translation",void 0),(0,o._)([(0,a.qq)({type:[Number],nonNullable:!0,json:{write:!0}})],h.prototype,"rotationAxis",void 0),(0,o._)([(0,a.qq)({type:Number,nonNullable:!0,json:{write:!0}})],h.prototype,"rotationAngle",void 0),(0,o._)([(0,a.qq)({type:[Number],nonNullable:!0,json:{write:!0}})],h.prototype,"scale",void 0),(0,o._)([(0,a.qq)()],h.prototype,"rotation",null),(0,o._)([(0,a.qq)()],h.prototype,"localMatrix",null),(0,o._)([(0,a.qq)()],h.prototype,"localMatrixInverse",null),h=r=(0,o._)([(0,c.c)("esri.geometry.support.MeshTransform")],h);const A=(0,p.Su)(),m=h},66952:(e,t,n)=>{n.d(t,{GA:()=>p,Jn:()=>u,Su:()=>l,Yz:()=>f,eE:()=>s,i4:()=>g,kX:()=>y,up:()=>h});var r=n(53648),o=n(41512),i=n(2620),a=n(98472),c=n(62484);function l(e=h){return[e[0],e[1],e[2],e[3]]}function s(e,t,n=l()){return(0,a.c)(n,e),n[3]=t,n}function u(e,t,n=l()){return(0,o.yG)(A,e,y(e)),(0,o.yG)(m,t,y(t)),(0,o.iW)(A,m,A),function(e,t){return e[3]=t,e}(n,(0,r.UB)((0,o.C0)(n,A)))}function p(e,t,n,r=l()){return s(c.UV,e,x),s(c.IR,t,d),s(c.wx,n,w),u(x,d,x),u(x,w,r),r}function f(e){return e}function g(e){return e[3]}function y(e){return(0,r.EF)(e[3])}n(37008);const h=[0,0,1,0],A=(0,i.Su)(),m=(0,i.Su)(),x=(l(),l()),d=l(),w=l()},71488:(e,t,n)=>{n.d(t,{Kk:()=>c,QL:()=>l,yO:()=>a});var r=n(26832),o=n(66360),i=n(21136);function a(e,t){return e.isGeographic||e.isWebMercator&&(t??!0)}function c(e,t){switch(e.type){case"georeferenced":return t.isGeographic;case"local":return t.isGeographic||t.isWebMercator}}function l(e,t,n,a){if(void 0!==a){(0,r.O2)(o.c.getLogger(e),"option: geographic",{replacement:"use mesh vertexSpace and spatial reference to control how operations are performed",version:"4.29",warnOnce:!0});const c="local"===t.type;if(!(0,i.k$)(t)||a===c)return n.isGeographic||n.isWebMercator&&a;o.c.getLogger(e).warnOnce(`Specifying the 'geographic' parameter (${a}) for a Mesh vertex space of type "${t.type}" is not supported. This parameter will be ignored.`)}return c(t,n)}},54828:(e,t,n)=>{n.d(t,{CE:()=>v,EX:()=>P,_0:()=>q,_S:()=>F,iS:()=>_,mC:()=>M,project:()=>b,qu:()=>C});var r=n(24296),o=n(68612),i=n(15008),a=n(87104),c=n(98472),l=n(62484),s=n(77556),u=n(60074),p=n(82448),f=n(51120),g=n(62880),y=n(15688),h=n(41104),A=n(21136),m=n(48952),x=n(71488),d=n(38496);function w(e,t,n){return(0,x.yO)(t.spatialReference,n?.geographic)?M(e,t,!1,n):function(e,t,n){const r=new Float64Array(e.position.length),o=e.position,i=t.x,a=t.y,c=t.z??0,l=q(n?n.unit:null,t.spatialReference);for(let e=0;e<o.length;e+=3)r[e]=o[e]*l+i,r[e+1]=o[e+1]*l+a,r[e+2]=o[e+2]*l+c;return{position:r,normal:e.normal,tangent:e.tangent}}(e,t,n)}function v(e,t=a.IJ){const{position:n,normal:r,tangent:o}=e;return{position:(0,m.a)(new Float64Array(n.length),n,t),normal:null!=r?(0,d.W4)(r,new Float32Array(r.length),t):null,tangent:null!=o?(0,d.AT)(o,new Float32Array(o.length),t):null}}function F(e,t,n,r){const{position:o,normal:i,tangent:a}=e;if(!(0,A.k$)(t))return{position:o,normal:i,tangent:a};const c=(0,A.mA)(t,r);return w(v(e,n?.localMatrix),c,{geographic:"local"===t.type})}function P(e,t,n){const r=(0,A.Al)(t,n),o=t.spatialReference,i=(0,A.k$)(r);if(!i)return{vertexAttributes:w(e,t,n),vertexSpace:r,transform:null};const{position:a,normal:c,tangent:l}=e,s=(0,x.Kk)(r,o);switch(r.type){case"georeferenced":return s?{vertexAttributes:M(e,t,i,n),vertexSpace:r,transform:null}:{vertexAttributes:{position:a,normal:c,tangent:l},vertexSpace:r,transform:new h.c};case"local":return{vertexAttributes:{position:a,normal:c,tangent:l},vertexSpace:r,transform:new h.c}}}function S(e,t,n){return(0,x.yO)(t.spatialReference,n?.geographic)?C(e,t,n):T(e,t,n)}function _(e,t,n,r,o){if(!(0,A.k$)(t))return S(e,r,o);const{spatialReference:i}=r,a=F(e,t,n,i);return r.equals((0,A.mA)(t,i))?T(a,r,o):S(a,r,o)}function b({positions:e,transform:t,vertexSpace:n,inSpatialReference:r,outSpatialReference:o,outPositions:s,localMode:h}){const A=n.origin??l.cX,x=null!=n.origin?t?.localMatrix??a.IJ:a.IJ;if("georeferenced"===n.type){const t=s??(0,y.Gg)(e.length);if((0,i.yK)(x,a.IJ)?(0,y.mw)(t,e):(0,m.a)(t,e,x),!(0,c.i)(A,l.cX)){const[e,n,r]=A;for(let o=0;o<t.length;o+=3)t[o]+=e,t[o+1]+=n,t[o+2]+=r}return(0,g.projectBuffer)(t,r,0,t,o,0,t.length/3),t}let d=r;const w=(0,p._s)(r);d=o.isWebMercator&&h||!(0,u.canProjectWithoutEngine)(r,w)?d:w,(0,f.y)(r,A,W,d),(0,i.iW)(W,W,x);const v=s??(0,y.Gg)(e.length);return(0,m.a)(v,e,W),(0,g.projectBuffer)(v,d,0,v,o,0,v.length/3),v}function M(e,t,n,r){const o=t.spatialReference,i=R(t,r,W),a=new Float64Array(e.position.length),c=function(e,t,n,r){(0,m.a)(r,e,t);const o=new Float64Array(e.length);return(0,d.o$)(r,o,n)}(e.position,i,o,a),l=(0,s.yy)(E,i),u=function(e,t,n,r,o){if(null==n)return null;const i=new Float32Array(n.length);return(0,m.b)(i,n,r),(0,d.QP)(i,e,t,o,i),i}(c,a,e.normal,l,o),p=function(e,t,n,r,o){if(null==n)return null;const i=new Float32Array(n.length);(0,m.b)(i,n,r,4);for(let e=3;e<i.length;e+=4)i[e]=n[e];return(0,d.Cr)(i,e,t,o,i),i}(c,a,e.tangent,l,o);if(n){const{x:e,y:n,z:r}=t;(0,m.t)(c,c,[-e,-n,-(r??0)])}return{position:c,normal:u,tangent:p}}function T(e,t,n){const r=new Float64Array(e.position.length),o=e.position,i=t.x,a=t.y,c=t.z??0,l=q(n?n.unit:null,t.spatialReference);for(let e=0;e<o.length;e+=3)r[e]=(o[e]-i)/l,r[e+1]=(o[e+1]-a)/l,r[e+2]=(o[e+2]-c)/l;return{position:r,normal:e.normal,tangent:e.tangent}}function C(e,t,n){const r=t.spatialReference;R(t,n,W);const o=(0,i.S_)(k,W),a=new Float64Array(e.position.length),c=function(e,t,n,r){const o=(0,d.K_)(e,t,r),i=new Float64Array(o.length);return(0,m.a)(i,o,n),i}(e.position,r,o,a),l=(0,s.yy)(E,o);return{position:c,normal:j(e.normal,e.position,a,r,l),tangent:O(e.tangent,e.position,a,r,l)}}function R(e,t,n){(0,f.y)(e.spatialReference,[e.x,e.y,e.z??0],n,(0,p._s)(e.spatialReference));const r=q(t?t.unit:null,e.spatialReference);return(0,i.aU)(n,n,[r,r,r]),n}function j(e,t,n,r,o){if(null==e)return null;const i=(0,d.cH)(e,t,n,r,new Float32Array(e.length));return(0,m.b)(i,i,o),i}function O(e,t,n,r,o){if(null==e)return null;const i=(0,d.GW)(e,t,n,r,new Float32Array(e.length));return(0,m.b)(i,i,o,4),i}function q(e,t){if(null==e)return 1;const n=(0,r.eg)(t);return 1/(0,r.ck)(n,"meters",e)}const W=(0,a.Su)(),k=(0,a.Su)(),E=(0,o.Su)()},38496:(e,t,n)=>{n.d(t,{AT:()=>F,Cr:()=>S,GW:()=>P,K_:()=>d,QP:()=>x,W4:()=>v,cH:()=>m,o$:()=>w});var r=n(66360),o=n(77556),i=n(68612),a=n(87104),c=n(98472),l=n(62484),s=n(82448),u=n(51120),p=n(62880),f=n(60544),g=n(29120),y=n(71004),h=n(48952);const A=()=>r.c.getLogger("esri.geometry.support.meshUtils.normalProjection");function m(e,t,n,r,o){return b(r)?(_(T.TO_PCPF,y.Yj.fromTypedArray(e),y.Ax.fromTypedArray(t),y.Ax.fromTypedArray(n),r,y.Yj.fromTypedArray(o)),o):(A().error("Cannot convert spatial reference to PCPF"),o)}function x(e,t,n,r,o){return b(r)?(_(T.FROM_PCPF,y.Yj.fromTypedArray(e),y.Ax.fromTypedArray(t),y.Ax.fromTypedArray(n),r,y.Yj.fromTypedArray(o)),o):(A().error("Cannot convert to spatial reference from PCPF"),o)}function d(e,t,n){return(0,p.projectBuffer)(e,t,0,n,(0,s._s)(t),0,e.length/3),n}function w(e,t,n){return(0,p.projectBuffer)(e,(0,s._s)(n),0,t,n,0,e.length/3),t}function v(e,t,n){return(0,o.yy)(q,n),(0,h.b)(t,e,q),(0,o.QT)(q)||(0,h.n)(t,t),t}function F(e,t,n){if((0,o.yy)(q,n),(0,h.b)(t,e,q,4),(0,o.QT)(q)||(0,h.n)(t,t,4),e!==t)for(let n=3;n<e.length;n+=4)t[n]=e[n];return t}function P(e,t,n,r,o){if(!b(r))return A().error("Cannot convert spatial reference to PCPF"),o;_(T.TO_PCPF,y.Yj.fromTypedArray(e,4*Float32Array.BYTES_PER_ELEMENT),y.Ax.fromTypedArray(t),y.Ax.fromTypedArray(n),r,y.Yj.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT));for(let t=3;t<e.length;t+=4)o[t]=e[t];return o}function S(e,t,n,r,o){if(!b(r))return A().error("Cannot convert to spatial reference from PCPF"),o;_(T.FROM_PCPF,y.Yj.fromTypedArray(e,16),y.Ax.fromTypedArray(t),y.Ax.fromTypedArray(n),r,y.Yj.fromTypedArray(o,16));for(let t=3;t<e.length;t+=4)o[t]=e[t];return o}function _(e,t,n,r,i,a){if(!t)return;const l=n.count,p=(0,s._s)(i);if(M(i))for(let n=0;n<l;n++)r.getVec(n,R),t.getVec(n,j),(0,u.y)(p,R,O,p),(0,o.kr)(q,O),e===T.FROM_PCPF&&(0,o.oL)(q,q),(0,c.t)(j,j,q),a.setVec(n,j);else for(let i=0;i<l;i++){r.getVec(i,R),t.getVec(i,j),(0,u.y)(p,R,O,p),(0,o.kr)(q,O);const l=(0,g.MB)(n.get(i,1));let s=Math.cos(l);e===T.TO_PCPF&&(s=1/s),q[0]*=s,q[1]*=s,q[2]*=s,q[3]*=s,q[4]*=s,q[5]*=s,e===T.FROM_PCPF&&(0,o.oL)(q,q),(0,c.t)(j,j,q),(0,c.n)(j,j),a.setVec(i,j)}return a}function b(e){return M(e)||function(e){return e.isWebMercator}(e)}function M(e){return e.isWGS84||(0,f.Ub)(e)||(0,f.qg)(e)||(0,f.UB)(e)}var T,C;(C=T||(T={}))[C.TO_PCPF=0]="TO_PCPF",C[C.FROM_PCPF=1]="FROM_PCPF";const R=(0,l.Su)(),j=(0,l.Su)(),O=(0,a.Su)(),q=(0,i.Su)()},21136:(e,t,n)=>{n.d(t,{Al:()=>g,GF:()=>y,k$:()=>p,mA:()=>f,mm:()=>h,wX:()=>u});var r=n(26832),o=n(66360),i=n(67776),a=n(51232),c=n(13708),l=n(48952);function s(){return o.c.getLogger("esri.geometry.Mesh")}function u(e){const{vertexSpace:t}=e;if(null!=t.origin)return e.clone();const{anchor:n}=e,r=n.clone(),o=new a.c({origin:[r.x,r.y,r.z]}),i=e.cloneWithVertexSpace(o),{position:c}=i.vertexAttributes;return i.vertexAttributes.position=(0,l.t)(new Float64Array(c.length),c,[-r.x,-r.y,-(r.z??0)]),i.vertexAttributesChanged(),i}function p(e){return null!=e.origin}function f(e,t){if(!p(e))return null;const[n,r,o]=e.origin;return new i.c({x:n,y:r,z:o,spatialReference:t})}function g(e,t){const{x:n,y:o,z:i,spatialReference:l}=e,u=[n,o,i??0];if(void 0!==t?.geographic){if((0,r.O2)(s(),"option: geographic",{replacement:"use vertexSpace option instead",version:"4.29",warnOnce:!0}),!t?.vertexSpace)return t?.geographic?new c.c({origin:u}):new a.c({origin:u});s().warn("Deprecated geographic flag ignored since vertexSpace option is provided.")}if(!t?.vertexSpace)return l.isGeographic||l.isWebMercator?new c.c({origin:u}):new a.c({origin:u});switch(t.vertexSpace){case"local":return new c.c({origin:u});case"georeferenced":return new a.c({origin:u});case"georeferenced-absolute":return new a.c}}function y(e){return e.isGeographic||e.isWebMercator?"local":"georeferenced"}function h(e,t){return"local"===e?new c.c({origin:t}):new a.c({origin:t})}}}]);