@arcgis/core 5.0.0-next.22 → 5.0.0-next.24

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 (266) hide show
  1. package/analysis/DistanceMeasurementAnalysis.d.ts +4 -0
  2. package/applications/SceneViewer/sceneViewerUtils.d.ts +1 -0
  3. package/applications/SceneViewer/sceneViewerUtils.js +1 -1
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/01b8e680befff83e7d3e.js +1 -0
  6. package/assets/esri/core/workers/chunks/024104997daea0d74b38.js +1 -0
  7. package/assets/esri/core/workers/chunks/052ded41dc06c93ec0a7.js +1 -0
  8. package/assets/esri/core/workers/chunks/05b7720ab6bf0874f27c.js +1 -0
  9. package/assets/esri/core/workers/chunks/06d52a570d5d44f8c86e.js +1 -0
  10. package/assets/esri/core/workers/chunks/0ef9641069433fef3826.js +1 -0
  11. package/assets/esri/core/workers/chunks/155d74b9c0ef31dc2316.js +1 -0
  12. package/assets/esri/core/workers/chunks/19820cddba13a3585c0b.js +1 -0
  13. package/assets/esri/core/workers/chunks/219876879bc543568bcd.js +1 -0
  14. package/assets/esri/core/workers/chunks/231c0b583fa97f2ca675.js +1 -0
  15. package/assets/esri/core/workers/chunks/274f2b5e6dbc58505142.js +1 -0
  16. package/assets/esri/core/workers/chunks/{02cd03ffd024d3ac1aa7.js → 27ec791318e81285c222.js} +1 -1
  17. package/assets/esri/core/workers/chunks/2921f05a40fda12f9f81.js +1 -0
  18. package/assets/esri/core/workers/chunks/2a41283bba2361afa1fd.js +1 -0
  19. package/assets/esri/core/workers/chunks/2c4218306747f5d15575.js +1 -0
  20. package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +1 -0
  21. package/assets/esri/core/workers/chunks/2de32649f8b0c6404d7c.js +1 -0
  22. package/assets/esri/core/workers/chunks/31b5747a254d13acc58e.js +1 -0
  23. package/assets/esri/core/workers/chunks/{f651c05604eab83aef5f.js → 3266c3392c24ce6cdd83.js} +2 -2
  24. package/assets/esri/core/workers/chunks/3777b41b4fa2f1418402.js +1 -0
  25. package/assets/esri/core/workers/chunks/3bacd904cd93c8013f6a.js +1 -0
  26. package/assets/esri/core/workers/chunks/41a00c77e6f7ce61e476.js +1 -0
  27. package/assets/esri/core/workers/chunks/45729d006db6a569715f.js +1 -0
  28. package/assets/esri/core/workers/chunks/4ab89c990a82c745c0fd.js +1 -0
  29. package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +1 -0
  30. package/assets/esri/core/workers/chunks/4cda42b94e9cb58dd372.js +1 -0
  31. package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +1 -0
  32. package/assets/esri/core/workers/chunks/538ddb267aa328814865.js +1 -0
  33. package/assets/esri/core/workers/chunks/58bbc8bc886c071b8ff3.js +1 -0
  34. package/assets/esri/core/workers/chunks/592afe1a41bed3b0cc31.js +1 -0
  35. package/assets/esri/core/workers/chunks/5aeda8a1f2ccabfdf40f.js +1 -0
  36. package/assets/esri/core/workers/chunks/5b290d18de61789417f9.js +1 -0
  37. package/assets/esri/core/workers/chunks/5b73c77587772120b209.js +1 -0
  38. package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +1 -0
  39. package/assets/esri/core/workers/chunks/6428e2f4fc0a6739cc9e.js +1 -0
  40. package/assets/esri/core/workers/chunks/69278d08a7d64917f826.js +2 -0
  41. package/assets/esri/core/workers/chunks/6e5d41f51572e3e7cf92.js +1 -0
  42. package/assets/esri/core/workers/chunks/{7565b382f6b3d2cb46a3.js → 6f3ffc04086bca30e55d.js} +2 -2
  43. package/assets/esri/core/workers/chunks/70e2804d3710c6af468e.js +2 -0
  44. package/assets/esri/core/workers/chunks/{1e5efacbbc8960f13472.js → 748ab87a25f23d94b662.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{aa78b69219d9a0ef1c54.js → 78fc9a55e620602db1ff.js} +2 -2
  46. package/assets/esri/core/workers/chunks/7e6fae3660e7a6a0fa16.js +1 -0
  47. package/assets/esri/core/workers/chunks/7ffef8a19166f6b564d8.js +1 -0
  48. package/assets/esri/core/workers/chunks/{867a181969eeeb5f1856.js → 838b3ec88785ac7aa31b.js} +1 -1
  49. package/assets/esri/core/workers/chunks/83aa39fbb1fad3b9d143.js +1 -0
  50. package/assets/esri/core/workers/chunks/88aa71f02f43bb069345.js +1 -0
  51. package/assets/esri/core/workers/chunks/{74a251e7f5be72ca2a5a.js → 8b336a63737e917e50e2.js} +1 -1
  52. package/assets/esri/core/workers/chunks/8d4cc5f1d07b4aa3aea0.js +1 -0
  53. package/assets/esri/core/workers/chunks/8e9a5d38da40702def80.js +1 -0
  54. package/assets/esri/core/workers/chunks/{4f7b7587d7902355f2a1.js → 93fe46be3c7fe34b5361.js} +1 -1
  55. package/assets/esri/core/workers/chunks/9461cc37ab3397265270.js +1 -0
  56. package/assets/esri/core/workers/chunks/9527f1a611557a7af237.js +1 -0
  57. package/assets/esri/core/workers/chunks/97b01803d0c38541aa08.js +1 -0
  58. package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +1 -0
  59. package/assets/esri/core/workers/chunks/9d0f0d055ec25af037e0.js +1 -0
  60. package/assets/esri/core/workers/chunks/9f0172b83f25ef5f8d40.js +1 -0
  61. package/assets/esri/core/workers/chunks/a4f492aa5444e6381063.js +1 -0
  62. package/assets/esri/core/workers/chunks/{d6e0528eacee7ea4c1ce.js → a67c3958d76d10c04fa6.js} +2 -2
  63. package/assets/esri/core/workers/chunks/aac313257a8b1ae75b75.js +1 -0
  64. package/assets/esri/core/workers/chunks/b48bb38e5d60fc7a9097.js +1 -0
  65. package/assets/esri/core/workers/chunks/b4c0a53c46ce4671d4c3.js +1 -0
  66. package/assets/esri/core/workers/chunks/bd58c027408dc858f23c.js +1 -0
  67. package/assets/esri/core/workers/chunks/be06c8a58c217a17451b.js +1 -0
  68. package/assets/esri/core/workers/chunks/{ce16489cf7eb0d78c741.js → be631029691d9a320cb5.js} +2 -2
  69. package/assets/esri/core/workers/chunks/c5d6b416baf24e74b9ba.js +1 -0
  70. package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +1 -0
  71. package/assets/esri/core/workers/chunks/ccde4f65377228b017a8.js +1 -0
  72. package/assets/esri/core/workers/chunks/d21ae4980741be98f948.js +1 -0
  73. package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +1 -0
  74. package/assets/esri/core/workers/chunks/d56548a994753b08403c.js +1 -0
  75. package/assets/esri/core/workers/chunks/{0f735b0dec173142f3b6.js → d9251c3c85c3ddd242c8.js} +2 -2
  76. package/assets/esri/core/workers/chunks/{6e9c88f66bcfc3476b44.js → db0f9267fbda893de043.js} +1 -1
  77. package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +1 -0
  78. package/assets/esri/core/workers/chunks/e08a1934d98e7324776d.js +1 -0
  79. package/assets/esri/core/workers/chunks/e0b70652da4a7f672cfc.js +1 -0
  80. package/assets/esri/core/workers/chunks/{bfc171f630da9314d860.js → e5baa30944061418cb13.js} +1 -1
  81. package/assets/esri/core/workers/chunks/e689a4849f5af3f2f641.js +1 -0
  82. package/assets/esri/core/workers/chunks/e6df4327ac1d9b65b80d.js +1 -0
  83. package/assets/esri/core/workers/chunks/f4919950a9a3703d9da3.js +1 -0
  84. package/assets/esri/core/workers/chunks/f4eb5de69ad9b7763582.js +1 -0
  85. package/assets/esri/core/workers/chunks/f6ce485c082d0d640b01.js +1 -0
  86. package/assets/esri/core/workers/chunks/fd9ef4b8c969962cf72b.js +1 -0
  87. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  88. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  89. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  90. package/assets/esri/themes/base/widgets/_FeatureTable.scss +0 -1
  91. package/assets/esri/themes/dark/main.css +1 -1
  92. package/assets/esri/themes/light/main.css +1 -1
  93. package/assets/esri/themes/light/view.css +1 -1
  94. package/assets/esri/widgets/support/GridControls/t9n/GridControls.json +1 -1
  95. package/assets/esri/widgets/support/GridControls/t9n/GridControls_en.json +1 -1
  96. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  97. package/chunks/arcgis-knowledge-client-core.js +1 -1
  98. package/config.js +1 -1
  99. package/interfaces.d.ts +355 -73
  100. package/kernel.js +1 -1
  101. package/layers/BaseDynamicLayer.js +1 -1
  102. package/layers/BaseElevationLayer.js +1 -1
  103. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  104. package/layers/VideoLayer.js +1 -1
  105. package/layers/graphics/sources/support/QueryTask.js +1 -1
  106. package/layers/mixins/ArcGISImageService.js +1 -1
  107. package/layers/support/PublishingInfo.js +1 -1
  108. package/layers/support/RasterBandInfo.js +1 -1
  109. package/layers/support/RasterSensorInfo.js +1 -1
  110. package/layers/support/SubtypeSublayer.js +1 -1
  111. package/layers/support/vectorTileLayerLoader.js +1 -1
  112. package/layers/voxel/VoxelVariable.js +1 -1
  113. package/package.json +6 -6
  114. package/rest/support/FindImagesResult.js +1 -1
  115. package/rest/support/ImageAreaResult.js +1 -1
  116. package/rest/support/ImageBoundaryResult.js +1 -1
  117. package/rest/support/ImageDistanceResult.js +1 -1
  118. package/rest/support/ImageGPSInfoResult.js +1 -1
  119. package/rest/support/ImageHeightResult.js +1 -1
  120. package/rest/support/ImageIdentifyResult.js +1 -1
  121. package/rest/support/ImagePixelLocationResult.js +1 -1
  122. package/rest/support/ImagePointResult.js +1 -1
  123. package/rest/support/ImageSampleResult.js +1 -1
  124. package/rest/support/ImageUrlResult.js +1 -1
  125. package/rest/support/ImageVolumeResult.js +1 -1
  126. package/rest/support/MeasureAreaFromImageResult.js +1 -1
  127. package/rest/support/MeasureLengthFromImageResult.js +1 -1
  128. package/support/revision.js +1 -1
  129. package/symbols/cim/CIMEffects.js +1 -1
  130. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  131. package/symbols/cim/CIMSymbolHelper.js +1 -1
  132. package/symbols/cim/placements/PlacementAtMeasuredUnits.js +1 -1
  133. package/unionTypes.d.ts +0 -1
  134. package/views/2d/analysis/AreaMeasurement/AreaMeasurementAreaVisualization.js +1 -1
  135. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  136. package/views/2d/analysis/AreaMeasurement/utils.js +5 -0
  137. package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +4 -0
  138. package/views/2d/analysis/AreaMeasurementAnalysisView2D.js +1 -1
  139. package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +4 -0
  140. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientStrokeShader.js +1 -1
  141. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  142. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  143. package/views/3d/analysis/Dimension/types.d.ts +3 -0
  144. package/views/3d/analysis/Dimension/types.js +5 -0
  145. package/views/3d/analysis/DirectLineMeasurement/types.d.ts +4 -0
  146. package/views/3d/analysis/DirectLineMeasurement/types.js +5 -0
  147. package/views/3d/analysis/LineOfSight/types.d.ts +3 -0
  148. package/views/3d/analysis/LineOfSight/types.js +5 -0
  149. package/views/3d/analysis/Slice/types.d.ts +3 -0
  150. package/views/3d/analysis/Slice/types.js +5 -0
  151. package/views/3d/analysis/Viewshed/types.d.ts +3 -0
  152. package/views/3d/analysis/Viewshed/types.js +5 -0
  153. package/views/3d/analysis/VolumeMeasurement/types.d.ts +3 -0
  154. package/views/3d/analysis/VolumeMeasurement/types.js +5 -0
  155. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  156. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  157. package/views/3d/support/popupHitTest.js +1 -1
  158. package/views/3d/terrain/TerrainSurface.js +1 -1
  159. package/views/3d/terrain/Tile.js +1 -1
  160. package/views/LinkChartView.js +1 -1
  161. package/views/VideoView.js +1 -1
  162. package/views/analysis/AreaMeasurement/types.d.ts +4 -0
  163. package/views/analysis/AreaMeasurement/types.js +5 -0
  164. package/views/analysis/DistanceMeasurement/types.d.ts +4 -0
  165. package/views/analysis/DistanceMeasurement/types.js +5 -0
  166. package/views/analysis/types.d.ts +3 -0
  167. package/views/analysis/types.js +5 -0
  168. package/views/draw/support/Reshape.js +1 -1
  169. package/views/input/Input.js +1 -1
  170. package/views/layers/BuildingComponentSublayerView.js +1 -1
  171. package/views/layers/SceneLayerView.js +1 -1
  172. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  173. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  174. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  175. package/widgets/Editor/workflowUtils.js +1 -1
  176. package/widgets/FeatureTable/FieldColumn.js +1 -1
  177. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  178. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  179. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  180. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  181. package/widgets/OrientedImageryViewer/mixins/TriangulatedImageMeasurementMixin.js +1 -1
  182. package/widgets/ScaleRangeSlider/ScaleRanges.js +1 -1
  183. package/widgets/Sketch/SketchViewModel.js +1 -1
  184. package/widgets/Sketch/support/ResponsiveToolbar/ResponsiveToolbar.js +1 -1
  185. package/widgets/Sketch.js +1 -1
  186. package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
  187. package/widgets/support/GridControls.js +1 -1
  188. package/widgets/support/SelectionToolbar.js +1 -1
  189. package/assets/esri/core/workers/chunks/038eba6d3a6bcf8ccd67.js +0 -1
  190. package/assets/esri/core/workers/chunks/03ed15ba64f1679b3d48.js +0 -1
  191. package/assets/esri/core/workers/chunks/04bac7bb3f794b33e2e4.js +0 -1
  192. package/assets/esri/core/workers/chunks/092d72caf3269e696d1c.js +0 -1
  193. package/assets/esri/core/workers/chunks/11fdcb8a74a80e9a47a3.js +0 -1
  194. package/assets/esri/core/workers/chunks/1466ab7bd500ba7a4025.js +0 -1
  195. package/assets/esri/core/workers/chunks/16f841f12b32d8a500a9.js +0 -1
  196. package/assets/esri/core/workers/chunks/1b9f93ab226232c5019a.js +0 -1
  197. package/assets/esri/core/workers/chunks/1beee2932154db83f79d.js +0 -1
  198. package/assets/esri/core/workers/chunks/1cae81089b50b7e43d70.js +0 -1
  199. package/assets/esri/core/workers/chunks/1fcd4d90a99e85d35dd2.js +0 -1
  200. package/assets/esri/core/workers/chunks/21d7f42c2033de987b97.js +0 -1
  201. package/assets/esri/core/workers/chunks/24ff9dad3fb64ab54970.js +0 -1
  202. package/assets/esri/core/workers/chunks/26282c67d2b066a76881.js +0 -1
  203. package/assets/esri/core/workers/chunks/2719865e28d577da7b2a.js +0 -1
  204. package/assets/esri/core/workers/chunks/2d3e7b41b225d905c7f4.js +0 -1
  205. package/assets/esri/core/workers/chunks/30a631c39c9372797b92.js +0 -1
  206. package/assets/esri/core/workers/chunks/388873be1dca91ccbc9d.js +0 -1
  207. package/assets/esri/core/workers/chunks/3a457e718a901a45902e.js +0 -2
  208. package/assets/esri/core/workers/chunks/44e08b49898a8fcbe031.js +0 -1
  209. package/assets/esri/core/workers/chunks/4731f507149940dde534.js +0 -1
  210. package/assets/esri/core/workers/chunks/48ca09958c3d50de48dc.js +0 -1
  211. package/assets/esri/core/workers/chunks/4d0e099f34639cda3a9b.js +0 -1
  212. package/assets/esri/core/workers/chunks/5a6b487b70ca85a45f57.js +0 -1
  213. package/assets/esri/core/workers/chunks/5b5f1f22de985dc6bbc0.js +0 -1
  214. package/assets/esri/core/workers/chunks/5c82b17f9990e6cd7d0b.js +0 -1
  215. package/assets/esri/core/workers/chunks/5cc023e1066641f9f20c.js +0 -1
  216. package/assets/esri/core/workers/chunks/61bb39597ccf89f99a72.js +0 -1
  217. package/assets/esri/core/workers/chunks/67bc5b87fd61095689d4.js +0 -1
  218. package/assets/esri/core/workers/chunks/6bf5b3c7129aa14b4fc6.js +0 -1
  219. package/assets/esri/core/workers/chunks/755e2ecd20b6bd1909be.js +0 -1
  220. package/assets/esri/core/workers/chunks/768e1ad2f06fdc9d5ef8.js +0 -1
  221. package/assets/esri/core/workers/chunks/7a957f2bca1438732338.js +0 -1
  222. package/assets/esri/core/workers/chunks/7d9773c87650856f2d9e.js +0 -1
  223. package/assets/esri/core/workers/chunks/809a9055da28c8fa58b0.js +0 -1
  224. package/assets/esri/core/workers/chunks/8af47cc9cee2f3031162.js +0 -1
  225. package/assets/esri/core/workers/chunks/8bbae8ac586e5c0819d2.js +0 -1
  226. package/assets/esri/core/workers/chunks/8cd03b54b2859b52fb81.js +0 -1
  227. package/assets/esri/core/workers/chunks/8f85039d76f03fbdd27a.js +0 -1
  228. package/assets/esri/core/workers/chunks/93f706acaa812bb3ac70.js +0 -1
  229. package/assets/esri/core/workers/chunks/976dd80e318266ab4c2c.js +0 -1
  230. package/assets/esri/core/workers/chunks/9a20be3b02c9d6349b8d.js +0 -1
  231. package/assets/esri/core/workers/chunks/9dae3e4e34096b3d82d7.js +0 -1
  232. package/assets/esri/core/workers/chunks/9e5e05d6430712b0b1bc.js +0 -1
  233. package/assets/esri/core/workers/chunks/9f9e20321ee44675e107.js +0 -1
  234. package/assets/esri/core/workers/chunks/a02ffa7916cf9da55608.js +0 -1
  235. package/assets/esri/core/workers/chunks/a0b0fe0d99df20fa9076.js +0 -1
  236. package/assets/esri/core/workers/chunks/a987731d1b5449d8fb0c.js +0 -1
  237. package/assets/esri/core/workers/chunks/ad9606164c694af0c61f.js +0 -1
  238. package/assets/esri/core/workers/chunks/b0e52c3775f05aaf7ff6.js +0 -1
  239. package/assets/esri/core/workers/chunks/bfd3d81e8e148be99686.js +0 -1
  240. package/assets/esri/core/workers/chunks/c1e4e9ab4a543e8b350d.js +0 -1
  241. package/assets/esri/core/workers/chunks/cbc5131723cbe29cb88f.js +0 -1
  242. package/assets/esri/core/workers/chunks/ce00509970e7e6eacbdf.js +0 -1
  243. package/assets/esri/core/workers/chunks/cec95ed69c86758d95ec.js +0 -1
  244. package/assets/esri/core/workers/chunks/d391bfbaf0e790cd10d6.js +0 -2
  245. package/assets/esri/core/workers/chunks/d622fb553babd515a21f.js +0 -1
  246. package/assets/esri/core/workers/chunks/dcd6ee9e00ebd519c4a7.js +0 -1
  247. package/assets/esri/core/workers/chunks/ddb55435adeda1e2a1bf.js +0 -1
  248. package/assets/esri/core/workers/chunks/e5208898910c1222b7e6.js +0 -1
  249. package/assets/esri/core/workers/chunks/e5a9c37de44508e9733b.js +0 -1
  250. package/assets/esri/core/workers/chunks/e5b42ddec8e424602e03.js +0 -1
  251. package/assets/esri/core/workers/chunks/eaabb5b010b7bb850b0a.js +0 -1
  252. package/assets/esri/core/workers/chunks/eafc4da265469e9e5e0b.js +0 -1
  253. package/assets/esri/core/workers/chunks/eb1b582a73111c8556c1.js +0 -1
  254. package/assets/esri/core/workers/chunks/f594df2f5ce6ca41a254.js +0 -1
  255. package/assets/esri/core/workers/chunks/f64037a88ab03662dc2a.js +0 -1
  256. package/assets/esri/core/workers/chunks/f888849b0236cc0d6f50.js +0 -1
  257. package/assets/esri/core/workers/chunks/fbcc4cbb221c0fbb90d4.js +0 -1
  258. package/views/2d/analysis/AreaMeasurement/AreaMeasurementLabelVisualization.js +0 -5
  259. /package/assets/esri/core/workers/chunks/{0f735b0dec173142f3b6.js.LICENSE.txt → 3266c3392c24ce6cdd83.js.LICENSE.txt} +0 -0
  260. /package/assets/esri/core/workers/chunks/{d391bfbaf0e790cd10d6.js.LICENSE.txt → 69278d08a7d64917f826.js.LICENSE.txt} +0 -0
  261. /package/assets/esri/core/workers/chunks/{7565b382f6b3d2cb46a3.js.LICENSE.txt → 6f3ffc04086bca30e55d.js.LICENSE.txt} +0 -0
  262. /package/assets/esri/core/workers/chunks/{3a457e718a901a45902e.js.LICENSE.txt → 70e2804d3710c6af468e.js.LICENSE.txt} +0 -0
  263. /package/assets/esri/core/workers/chunks/{aa78b69219d9a0ef1c54.js.LICENSE.txt → 78fc9a55e620602db1ff.js.LICENSE.txt} +0 -0
  264. /package/assets/esri/core/workers/chunks/{d6e0528eacee7ea4c1ce.js.LICENSE.txt → a67c3958d76d10c04fa6.js.LICENSE.txt} +0 -0
  265. /package/assets/esri/core/workers/chunks/{ce16489cf7eb0d78c741.js.LICENSE.txt → be631029691d9a320cb5.js.LICENSE.txt} +0 -0
  266. /package/assets/esri/core/workers/chunks/{f651c05604eab83aef5f.js.LICENSE.txt → d9251c3c85c3ddd242c8.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9321],{49321:(e,r,t)=>{t.r(r),t.d(r,{default:()=>a});var n,a=(n="undefined"!=typeof document?document.currentScript?.src:void 0,function(e={}){var r,t,a=Object.assign({},e),o=new Promise((e,n)=>{r=e,t=n}),i=Object.assign({},a),s="";"undefined"!=typeof document&&document.currentScript&&(s=document.currentScript.src),n&&(s=n),s=s.startsWith("blob:")?"":s.substr(0,s.replace(/[?#].*/,"").lastIndexOf("/")+1);var u,c,l=a.print||console.log.bind(console),p=a.printErr||console.error.bind(console);Object.assign(a,i),i=null,a.arguments&&a.arguments,a.thisProgram&&a.thisProgram,a.quit&&a.quit,a.wasmBinary&&(u=a.wasmBinary);var h,d,f,v,y,m,g,$,w=!1;function T(){var e=c.buffer;a.HEAP8=h=new Int8Array(e),a.HEAP16=f=new Int16Array(e),a.HEAPU8=d=new Uint8Array(e),a.HEAPU16=v=new Uint16Array(e),a.HEAP32=y=new Int32Array(e),a.HEAPU32=m=new Uint32Array(e),a.HEAPF32=g=new Float32Array(e),a.HEAPF64=$=new Float64Array(e)}var b=[],C=[],P=[];function A(e){b.unshift(e)}function W(e){P.unshift(e)}var _=0,F=null;function k(e){a.onAbort?.(e),p(e="Aborted("+e+")"),w=!0,e+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(e);throw t(r),r}var S,O=e=>e.startsWith("data:application/octet-stream;base64,");function j(e){if(e==S&&u)return new Uint8Array(u);throw"both async and sync fetching of the wasm failed"}function E(e,r,t){return function(e){return u||"function"!=typeof fetch?Promise.resolve().then(()=>j(e)):fetch(e,{credentials:"same-origin"}).then(r=>{if(!r.ok)throw`failed to load wasm binary file at '${e}'`;return r.arrayBuffer()}).catch(()=>j(e))}(e).then(e=>WebAssembly.instantiate(e,r)).then(t,e=>{p(`failed to asynchronously prepare wasm: ${e}`),k(e)})}var R=e=>{for(;e.length>0;)e.shift()(a)};a.noExitRuntime;class D{constructor(e){this.excPtr=e,this.ptr=e-24}set_type(e){m[this.ptr+4>>2]=e}get_type(){return m[this.ptr+4>>2]}set_destructor(e){m[this.ptr+8>>2]=e}get_destructor(){return m[this.ptr+8>>2]}set_caught(e){e=e?1:0,h[this.ptr+12]=e}get_caught(){return 0!=h[this.ptr+12]}set_rethrown(e){e=e?1:0,h[this.ptr+13]=e}get_rethrown(){return 0!=h[this.ptr+13]}init(e,r){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(r)}set_adjusted_ptr(e){m[this.ptr+16>>2]=e}get_adjusted_ptr(){return m[this.ptr+16>>2]}get_exception_ptr(){if(hr(this.get_type()))return m[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}var x={},I=e=>{for(;e.length;){var r=e.pop();e.pop()(r)}};function V(e){return this.fromWireType(m[e>>2])}var H,U,B,N={},M={},z={},q=e=>{throw new H(e)},G=(e,r,t)=>{function n(r){var n=t(r);n.length!==e.length&&q("Mismatched type converter count");for(var a=0;a<e.length;++a)K(e[a],n[a])}e.forEach(function(e){z[e]=r});var a=new Array(r.length),o=[],i=0;r.forEach((e,r)=>{M.hasOwnProperty(e)?a[r]=M[e]:(o.push(e),N.hasOwnProperty(e)||(N[e]=[]),N[e].push(()=>{a[r]=M[e],++i===o.length&&n(a)}))}),0===o.length&&n(a)},L=e=>{for(var r="",t=e;d[t];)r+=U[d[t++]];return r},J=e=>{throw new B(e)};function K(e,r,t={}){if(!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,r,t={}){var n=r.name;if(e||J(`type "${n}" must have a positive integer typeid pointer`),M.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;J(`Cannot register type '${n}' twice`)}if(M[e]=r,delete z[e],N.hasOwnProperty(e)){var a=N[e];delete N[e],a.forEach(e=>e())}}(e,r,t)}var Q,Z=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),X=e=>{J(function(e){return e.$$.ptrType.registeredClass.name}(e)+" instance already deleted")},Y=!1,ee=e=>{},re=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},te=(e,r,t)=>{if(r===t)return e;if(void 0===t.baseClass)return null;var n=te(e,r,t.baseClass);return null===n?null:t.downcast(n)},ne={},ae=[],oe=()=>{for(;ae.length;){var e=ae.pop();e.$$.deleteScheduled=!1,e.delete()}},ie={},se=(e,r)=>(r.ptrType&&r.ptr||q("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!=!!r.smartPtr&&q("Both smartPtrType and smartPtr must be specified"),r.count={value:1},ue(Object.create(e,{$$:{value:r,writable:!0}})));var ue=e=>"undefined"==typeof FinalizationRegistry?(ue=e=>e,e):(Y=new FinalizationRegistry(e=>{re(e.$$)}),ue=e=>{var r=e.$$;if(r.smartPtr){var t={$$:r};Y.register(e,t,e)}return e},ee=e=>Y.unregister(e),ue(e));function ce(){}var le=(e,r)=>Object.defineProperty(r,"name",{value:e}),pe=(e,r,t)=>{if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(...n){return e[r].overloadTable.hasOwnProperty(n.length)||J(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${e[r].overloadTable})!`),e[r].overloadTable[n.length].apply(this,n)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}},he=(e,r,t)=>{a.hasOwnProperty(e)?((void 0===t||void 0!==a[e].overloadTable&&void 0!==a[e].overloadTable[t])&&J(`Cannot register public name '${e}' twice`),pe(a,e,e),a.hasOwnProperty(t)&&J(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),a[e].overloadTable[t]=r):(a[e]=r,void 0!==t&&(a[e].numArguments=t))};function de(e,r,t,n,a,o,i,s){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=a,this.getActualType=o,this.upcast=i,this.downcast=s,this.pureVirtualFunctions=[]}var fe=(e,r,t)=>{for(;r!==t;)r.upcast||J(`Expected null or instance of ${t.name}, got an instance of ${r.name}`),e=r.upcast(e),r=r.baseClass;return e};function ve(e,r){if(null===r)return this.isReference&&J(`null is not a valid ${this.name}`),0;r.$$||J(`Cannot pass "${He(r)}" as a ${this.name}`),r.$$.ptr||J(`Cannot pass deleted object as a pointer of type ${this.name}`);var t=r.$$.ptrType.registeredClass;return fe(r.$$.ptr,t,this.registeredClass)}function ye(e,r){var t;if(null===r)return this.isReference&&J(`null is not a valid ${this.name}`),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r&&r.$$||J(`Cannot pass "${He(r)}" as a ${this.name}`),r.$$.ptr||J(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&r.$$.ptrType.isConst&&J(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);var n=r.$$.ptrType.registeredClass;if(t=fe(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&J("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:J(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var a=r.clone();t=this.rawShare(t,De.toHandle(()=>a.delete())),null!==e&&e.push(this.rawDestructor,t)}break;default:J("Unsupporting sharing policy")}return t}function me(e,r){if(null===r)return this.isReference&&J(`null is not a valid ${this.name}`),0;r.$$||J(`Cannot pass "${He(r)}" as a ${this.name}`),r.$$.ptr||J(`Cannot pass deleted object as a pointer of type ${this.name}`),r.$$.ptrType.isConst&&J(`Cannot convert argument of type ${r.$$.ptrType.name} to parameter type ${this.name}`);var t=r.$$.ptrType.registeredClass;return fe(r.$$.ptr,t,this.registeredClass)}function ge(e,r,t,n,a,o,i,s,u,c,l){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=a,this.pointeeType=o,this.sharingPolicy=i,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=l,a||void 0!==r.baseClass?this.toWireType=ye:n?(this.toWireType=ve,this.destructorFunction=null):(this.toWireType=me,this.destructorFunction=null)}var $e,we,Te=(e,r,t)=>{a.hasOwnProperty(e)||q("Replacing nonexistent public symbol"),void 0!==a[e].overloadTable&&void 0!==t?a[e].overloadTable[t]=r:(a[e]=r,a[e].argCount=t)},be=[],Ce=e=>{var r=be[e];return r||(e>=be.length&&(be.length=e+1),be[e]=r=$e.get(e)),r},Pe=(e,r)=>{var t=(e=L(e)).includes("j")?((e,r)=>(...t)=>((e,r,t=[])=>e.includes("j")?((e,r,t)=>(e=e.replace(/p/g,"i"),(0,a["dynCall_"+e])(r,...t)))(e,r,t):Ce(r)(...t))(e,r,t))(e,r):Ce(r);return"function"!=typeof t&&J(`unknown function pointer with signature ${e}: ${r}`),t},Ae=e=>{var r=cr(e),t=L(r);return pr(r),t},We=(e,r)=>{var t=[],n={};throw r.forEach(function e(r){n[r]||M[r]||(z[r]?z[r].forEach(e):(t.push(r),n[r]=!0))}),new we(`${e}: `+t.map(Ae).join([", "]))},_e=(e,r)=>{for(var t=[],n=0;n<e;n++)t.push(m[r+4*n>>2]);return t};function Fe(e){for(var r=1;r<e.length;++r)if(null!==e[r]&&void 0===e[r].destructorFunction)return!0;return!1}function ke(e,r){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);var t=le(e.name||"unknownFunctionName",function(){});t.prototype=e.prototype;var n=new t,a=e.apply(n,r);return a instanceof Object?a:n}function Se(e,r,t,n,a,o){var i=r.length;i<2&&J("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==r[1]&&null!==t,u=Fe(r),c="void"!==r[0].name,l=[e,J,n,a,I,r[0],r[1]],p=0;p<i-2;++p)l.push(r[p+2]);if(!u)for(p=s?1:2;p<r.length;++p)null!==r[p].destructorFunction&&l.push(r[p].destructorFunction);let[h,d]=function(e,r,t,n){for(var a=Fe(e),o=e.length,i="",s="",u=0;u<o-2;++u)i+=(0!==u?", ":"")+"arg"+u,s+=(0!==u?", ":"")+"arg"+u+"Wired";var c=`\n return function (${i}) {\n if (arguments.length !== ${o-2}) {\n throwBindingError('function ' + humanName + ' called with ' + arguments.length + ' arguments, expected ${o-2}');\n }`;a&&(c+="var destructors = [];\n");var l=a?"destructors":"null",p=["humanName","throwBindingError","invoker","fn","runDestructors","retType","classParam"];for(r&&(c+="var thisWired = classParam['toWireType']("+l+", this);\n"),u=0;u<o-2;++u)c+="var arg"+u+"Wired = argType"+u+"['toWireType']("+l+", arg"+u+");\n",p.push("argType"+u);if(r&&(s="thisWired"+(s.length>0?", ":"")+s),c+=(t||n?"var rv = ":"")+"invoker(fn"+(s.length>0?", ":"")+s+");\n",a)c+="runDestructors(destructors);\n";else for(u=r?1:2;u<e.length;++u){var h=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(c+=`${h}_dtor(${h});\n`,p.push(`${h}_dtor`))}return t&&(c+="var ret = retType['fromWireType'](rv);\nreturn ret;\n"),[p,c+="}\n"]}(r,s,c,o);h.push(d);var f=ke(Function,h)(...l);return le(e,f)}var Oe=e=>{const r=(e=e.trim()).indexOf("(");return-1!==r?e.substr(0,r):e},je=[],Ee=[],Re=e=>{e>9&&0===--Ee[e+1]&&(Ee[e]=void 0,je.push(e))},De={toValue:e=>(e||J("Cannot use deleted val. handle = "+e),Ee[e]),toHandle:e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const r=je.pop()||Ee.length;return Ee[r]=e,Ee[r+1]=1,r}}}},xe={name:"emscripten::val",fromWireType:e=>{var r=De.toValue(e);return Re(e),r},toWireType:(e,r)=>De.toHandle(r),argPackAdvance:8,readValueFromPointer:V,destructorFunction:null},Ie=(e,r,t)=>{switch(r){case 1:return t?function(e){return this.fromWireType(h[e])}:function(e){return this.fromWireType(d[e])};case 2:return t?function(e){return this.fromWireType(f[e>>1])}:function(e){return this.fromWireType(v[e>>1])};case 4:return t?function(e){return this.fromWireType(y[e>>2])}:function(e){return this.fromWireType(m[e>>2])};default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},Ve=(e,r)=>{var t=M[e];return void 0===t&&J(`${r} has unknown type ${Ae(e)}`),t},He=e=>{if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e},Ue=(e,r)=>{switch(r){case 4:return function(e){return this.fromWireType(g[e>>2])};case 8:return function(e){return this.fromWireType($[e>>3])};default:throw new TypeError(`invalid float width (${r}): ${e}`)}},Be=(e,r,t)=>{switch(r){case 1:return t?e=>h[e]:e=>d[e];case 2:return t?e=>f[e>>1]:e=>v[e>>1];case 4:return t?e=>y[e>>2]:e=>m[e>>2];default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},Ne="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Me=(e,r,t)=>{for(var n=r+t,a=r;e[a]&&!(a>=n);)++a;if(a-r>16&&e.buffer&&Ne)return Ne.decode(e.subarray(r,a));for(var o="";r<a;){var i=e[r++];if(128&i){var s=63&e[r++];if(192!=(224&i)){var u=63&e[r++];if((i=224==(240&i)?(15&i)<<12|s<<6|u:(7&i)<<18|s<<12|u<<6|63&e[r++])<65536)o+=String.fromCharCode(i);else{var c=i-65536;o+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else o+=String.fromCharCode((31&i)<<6|s)}else o+=String.fromCharCode(i)}return o},ze=(e,r)=>e?Me(d,e,r):"",qe="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,Ge=(e,r)=>{for(var t=e,n=t>>1,a=n+r/2;!(n>=a)&&v[n];)++n;if((t=n<<1)-e>32&&qe)return qe.decode(d.subarray(e,t));for(var o="",i=0;!(i>=r/2);++i){var s=f[e+2*i>>1];if(0==s)break;o+=String.fromCharCode(s)}return o},Le=(e,r,t)=>{if(t??=2147483647,t<2)return 0;for(var n=r,a=(t-=2)<2*e.length?t/2:e.length,o=0;o<a;++o){var i=e.charCodeAt(o);f[r>>1]=i,r+=2}return f[r>>1]=0,r-n},Je=e=>2*e.length,Ke=(e,r)=>{for(var t=0,n="";!(t>=r/4);){var a=y[e+4*t>>2];if(0==a)break;if(++t,a>=65536){var o=a-65536;n+=String.fromCharCode(55296|o>>10,56320|1023&o)}else n+=String.fromCharCode(a)}return n},Qe=(e,r,t)=>{if(t??=2147483647,t<4)return 0;for(var n=r,a=n+t-4,o=0;o<e.length;++o){var i=e.charCodeAt(o);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++o)),y[r>>2]=i,(r+=4)+4>a)break}return y[r>>2]=0,r-n},Ze=e=>{for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r},Xe=(e,r,t)=>{var n=[],a=e.toWireType(n,t);return n.length&&(m[r>>2]=De.toHandle(n)),a},Ye=[],er={},rr=e=>{var r=er[e];return void 0===r?L(e):r},tr=()=>"object"==typeof globalThis?globalThis:Function("return this")(),nr=e=>{var r=(e-c.buffer.byteLength+65535)/65536;try{return c.grow(r),T(),1}catch(e){}},ar=[null,[],[]],or=(e,r)=>{var t=ar[e];0===r||10===r?((1===e?l:p)(Me(t,0)),t.length=0):t.push(r)};H=a.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},(()=>{for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);U=e})(),B=a.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},Object.assign(ce.prototype,{isAliasOf(e){if(!(this instanceof ce))return!1;if(!(e instanceof ce))return!1;var r=this.$$.ptrType.registeredClass,t=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,a=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)a=n.upcast(a),n=n.baseClass;return r===n&&t===a},clone(){if(this.$$.ptr||X(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=ue(Object.create(Object.getPrototypeOf(this),{$$:{value:Z(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||X(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&J("Object already scheduled for deletion"),ee(this),re(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||X(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&J("Object already scheduled for deletion"),ae.push(this),1===ae.length&&Q&&Q(oe),this.$$.deleteScheduled=!0,this}}),a.getInheritedInstanceCount=()=>Object.keys(ie).length,a.getLiveInheritedInstances=()=>{var e=[];for(var r in ie)ie.hasOwnProperty(r)&&e.push(ie[r]);return e},a.flushPendingDeletes=oe,a.setDelayFunction=e=>{Q=e,ae.length&&Q&&Q(oe)},Object.assign(ge.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor?.(e)},argPackAdvance:8,readValueFromPointer:V,fromWireType:function(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=((e,r)=>(r=((e,r)=>{for(void 0===r&&J("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r})(e,r),ie[r]))(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function a(){return this.isSmartPointer?se(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):se(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var o,i=this.registeredClass.getActualType(r),s=ne[i];if(!s)return a.call(this);o=this.isConst?s.constPointerType:s.pointerType;var u=te(r,this.registeredClass,o.registeredClass);return null===u?a.call(this):this.isSmartPointer?se(o.registeredClass.instancePrototype,{ptrType:o,ptr:u,smartPtrType:this,smartPtr:e}):se(o.registeredClass.instancePrototype,{ptrType:o,ptr:u})}}),we=a.UnboundTypeError=((e,r)=>{var t=le(r,function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))});return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},t})(Error,"UnboundTypeError"),Ee.push(0,1,void 0,1,null,1,!0,1,!1,1),a.count_emval_handles=()=>Ee.length/2-5-je.length;var ir,sr={K:(e,r,t)=>{throw new D(e).init(r,t),e},G:()=>{k("")},s:e=>{var r=x[e];delete x[e];var t=r.rawConstructor,n=r.rawDestructor,a=r.fields,o=a.map(e=>e.getterReturnType).concat(a.map(e=>e.setterArgumentType));G([e],o,e=>{var o={};return a.forEach((r,t)=>{var n=r.fieldName,i=e[t],s=r.getter,u=r.getterContext,c=e[t+a.length],l=r.setter,p=r.setterContext;o[n]={read:e=>i.fromWireType(s(u,e)),write:(e,r)=>{var t=[];l(p,e,c.toWireType(t,r)),I(t)}}}),[{name:r.name,fromWireType:e=>{var r={};for(var t in o)r[t]=o[t].read(e);return n(e),r},toWireType:(e,r)=>{for(var a in o)if(!(a in r))throw new TypeError(`Missing field: "${a}"`);var i=t();for(a in o)o[a].write(i,r[a]);return null!==e&&e.push(n,i),i},argPackAdvance:8,readValueFromPointer:V,destructorFunction:n}]})},C:(e,r,t,n,a)=>{},I:(e,r,t,n)=>{K(e,{name:r=L(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?t:n},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(d[e])},destructorFunction:null})},w:(e,r,t,n,a,o,i,s,u,c,l,p,h)=>{l=L(l),o=Pe(a,o),s&&=Pe(i,s),c&&=Pe(u,c),h=Pe(p,h);var d=(e=>{if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=48&&r<=57?`_${e}`:e})(l);he(d,function(){We(`Cannot construct ${l} due to unbound types`,[n])}),G([e,r,t],n?[n]:[],r=>{var t,a;r=r[0],a=n?(t=r.registeredClass).instancePrototype:ce.prototype;var i=le(l,function(...e){if(Object.getPrototypeOf(this)!==u)throw new B("Use 'new' to construct "+l);if(void 0===p.constructor_body)throw new B(l+" has no accessible constructor");var r=p.constructor_body[e.length];if(void 0===r)throw new B(`Tried to invoke ctor of ${l} with invalid number of parameters (${e.length}) - expected (${Object.keys(p.constructor_body).toString()}) parameters instead!`);return r.apply(this,e)}),u=Object.create(a,{constructor:{value:i}});i.prototype=u;var p=new de(l,i,u,h,t,o,s,c);p.baseClass&&(p.baseClass.__derivedClasses??=[],p.baseClass.__derivedClasses.push(p));var f=new ge(l,p,!0,!1,!1),v=new ge(l+"*",p,!1,!1,!1),y=new ge(l+" const*",p,!1,!0,!1);return ne[e]={pointerType:v,constPointerType:y},Te(d,i),[f,v,y]})},v:(e,r,t,n,a,o)=>{var i=_e(r,t);a=Pe(n,a),G([],[e],e=>{var t=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new B(`Cannot register multiple constructors with identical number of parameters (${r-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[r-1]=()=>{We(`Cannot construct ${e.name} due to unbound types`,i)},G([],i,n=>(n.splice(1,0,null),e.registeredClass.constructor_body[r-1]=Se(t,n,null,a,o),[])),[]})},d:(e,r,t,n,a,o,i,s,u)=>{var c=_e(t,n);r=L(r),r=Oe(r),o=Pe(a,o),G([],[e],e=>{var n=`${(e=e[0]).name}.${r}`;function a(){We(`Cannot call ${n} due to unbound types`,c)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(r);var l=e.registeredClass.instancePrototype,p=l[r];return void 0===p||void 0===p.overloadTable&&p.className!==e.name&&p.argCount===t-2?(a.argCount=t-2,a.className=e.name,l[r]=a):(pe(l,r,n),l[r].overloadTable[t-2]=a),G([],c,a=>{var s=Se(n,a,e,o,i,u);return void 0===l[r].overloadTable?(s.argCount=t-2,l[r]=s):l[r].overloadTable[t-2]=s,[]}),[]})},m:(e,r,t)=>{e=L(e),G([],[r],r=>(r=r[0],a[e]=r.fromWireType(t),[]))},H:e=>K(e,xe),o:(e,r,t,n)=>{function a(){}r=L(r),a.values={},K(e,{name:r,constructor:a,fromWireType:function(e){return this.constructor.values[e]},toWireType:(e,r)=>r.value,argPackAdvance:8,readValueFromPointer:Ie(r,t,n),destructorFunction:null}),he(r,a)},a:(e,r,t)=>{var n=Ve(e,"enum");r=L(r);var a=n.constructor,o=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:le(`${n.name}_${r}`,function(){})}});a.values[t]=o,a[r]=o},A:(e,r,t)=>{K(e,{name:r=L(r),fromWireType:e=>e,toWireType:(e,r)=>r,argPackAdvance:8,readValueFromPointer:Ue(r,t),destructorFunction:null})},k:(e,r,t,n,a,o,i)=>{var s=_e(r,t);e=L(e),e=Oe(e),a=Pe(n,a),he(e,function(){We(`Cannot call ${e} due to unbound types`,s)},r-1),G([],s,t=>{var n=[t[0],null].concat(t.slice(1));return Te(e,Se(e,n,null,a,o,i),r-1),[]})},l:(e,r,t,n,a)=>{r=L(r);var o=e=>e;if(0===n){var i=32-8*t;o=e=>e<<i>>>i}var s=r.includes("unsigned");K(e,{name:r,fromWireType:o,toWireType:s?function(e,r){return this.name,r>>>0}:function(e,r){return this.name,r},argPackAdvance:8,readValueFromPointer:Be(r,t,0!==n),destructorFunction:null})},f:(e,r,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function a(e){var r=m[e>>2],t=m[e+4>>2];return new n(h.buffer,t,r)}K(e,{name:t=L(t),fromWireType:a,argPackAdvance:8,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},z:(e,r)=>{var t="std::string"===(r=L(r));K(e,{name:r,fromWireType(e){var r,n=m[e>>2],a=e+4;if(t)for(var o=a,i=0;i<=n;++i){var s=a+i;if(i==n||0==d[s]){var u=ze(o,s-o);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),o=s+1}}else{var c=new Array(n);for(i=0;i<n;++i)c[i]=String.fromCharCode(d[a+i]);r=c.join("")}return pr(e),r},toWireType(e,r){var n;r instanceof ArrayBuffer&&(r=new Uint8Array(r));var a="string"==typeof r;a||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||J("Cannot pass non-string to std::string"),n=t&&a?(e=>{for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n<=127?r++:n<=2047?r+=2:n>=55296&&n<=57343?(r+=4,++t):r+=3}return r})(r):r.length;var o=lr(4+n+1),i=o+4;if(m[o>>2]=n,t&&a)((e,r,t)=>{((e,r,t,n)=>{if(!(n>0))return 0;for(var a=t+n-1,o=0;o<e.length;++o){var i=e.charCodeAt(o);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++o)),i<=127){if(t>=a)break;r[t++]=i}else if(i<=2047){if(t+1>=a)break;r[t++]=192|i>>6,r[t++]=128|63&i}else if(i<=65535){if(t+2>=a)break;r[t++]=224|i>>12,r[t++]=128|i>>6&63,r[t++]=128|63&i}else{if(t+3>=a)break;r[t++]=240|i>>18,r[t++]=128|i>>12&63,r[t++]=128|i>>6&63,r[t++]=128|63&i}}r[t]=0})(e,d,r,t)})(r,i,n+1);else if(a)for(var s=0;s<n;++s){var u=r.charCodeAt(s);u>255&&(pr(i),J("String has UTF-16 code units that do not fit in 8 bits")),d[i+s]=u}else for(s=0;s<n;++s)d[i+s]=r[s];return null!==e&&e.push(pr,o),o},argPackAdvance:8,readValueFromPointer:V,destructorFunction(e){pr(e)}})},u:(e,r,t)=>{var n,a,o,i;t=L(t),2===r?(n=Ge,a=Le,i=Je,o=e=>v[e>>1]):4===r&&(n=Ke,a=Qe,i=Ze,o=e=>m[e>>2]),K(e,{name:t,fromWireType:e=>{for(var t,a=m[e>>2],i=e+4,s=0;s<=a;++s){var u=e+4+s*r;if(s==a||0==o(u)){var c=n(i,u-i);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),i=u+r}}return pr(e),t},toWireType:(e,n)=>{"string"!=typeof n&&J(`Cannot pass non-string to C++ string type ${t}`);var o=i(n),s=lr(4+o+r);return m[s>>2]=o/r,a(n,s+4,o+r),null!==e&&e.push(pr,s),s},argPackAdvance:8,readValueFromPointer:V,destructorFunction(e){pr(e)}})},t:(e,r,t,n,a,o)=>{x[e]={name:L(r),rawConstructor:Pe(t,n),rawDestructor:Pe(a,o),fields:[]}},c:(e,r,t,n,a,o,i,s,u,c)=>{x[e].fields.push({fieldName:L(r),getterReturnType:t,getter:Pe(n,a),getterContext:o,setterArgumentType:i,setter:Pe(s,u),setterContext:c})},J:(e,r)=>{K(e,{isVoid:!0,name:r=L(r),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,r)=>{}})},F:(e,r,t)=>d.copyWithin(e,r,r+t),n:(e,r,t)=>(e=De.toValue(e),r=Ve(r,"emval::as"),Xe(r,t,e)),q:(e,r,t,n)=>(e=Ye[e])(null,r=De.toValue(r),t,n),p:(e,r,t,n,a)=>(e=Ye[e])(r=De.toValue(r),r[t=rr(t)],n,a),b:Re,x:e=>0===e?De.toHandle(tr()):(e=rr(e),De.toHandle(tr()[e])),i:(e,r,t)=>{var n=((e,r)=>{for(var t=new Array(e),n=0;n<e;++n)t[n]=Ve(m[r+4*n>>2],"parameter "+n);return t})(e,r),a=n.shift();e--;var o="return function (obj, func, destructorsRef, args) {\n",i=0,s=[];0===t&&s.push("obj");for(var u=["retType"],c=[a],l=0;l<e;++l)s.push("arg"+l),u.push("argType"+l),c.push(n[l]),o+=` var arg${l} = argType${l}.readValueFromPointer(args${i?"+"+i:""});\n`,i+=n[l].argPackAdvance;o+=` var rv = ${1===t?"new func":"func.call"}(${s.join(", ")});\n`,a.isVoid||(u.push("emval_returnValue"),c.push(Xe),o+=" return emval_returnValue(retType, destructorsRef, rv);\n"),o+="};\n",u.push(o);var p=ke(Function,u)(...c),h=`methodCaller<(${n.map(e=>e.name).join(", ")}) => ${a.name}>`;return(e=>{var r=Ye.length;return Ye.push(e),r})(le(h,p))},r:e=>(e=rr(e),De.toHandle(a[e])),g:(e,r)=>(e=De.toValue(e),r=De.toValue(r),De.toHandle(e[r])),j:e=>{e>9&&(Ee[e+1]+=1)},h:e=>De.toHandle(rr(e)),e:e=>{var r=De.toValue(e);I(r),Re(e)},D:e=>{var r=d.length,t=2147483648;if((e>>>=0)>t)return!1;for(var n=(e,r)=>e+(r-e%r)%r,a=1;a<=4;a*=2){var o=r*(1+.2/a);o=Math.min(o,e+100663296);var i=Math.min(t,n(Math.max(e,o),65536));if(nr(i))return!0}return!1},E:e=>52,B:function(e,r,t,n,a){return 70},y:(e,r,t,n)=>{for(var a=0,o=0;o<t;o++){var i=m[r>>2],s=m[r+4>>2];r+=8;for(var u=0;u<s;u++)or(e,d[i+u]);a+=s}return m[n>>2]=a,0}},ur=function(){var e={a:sr};function r(e,r){return ur=e.exports,c=ur.L,T(),$e=ur.Q,function(e){C.unshift(e)}(ur.M),function(){if(_--,a.monitorRunDependencies?.(_),0==_&&F){var e=F;F=null,e()}}(),ur}if(_++,a.monitorRunDependencies?.(_),a.instantiateWasm)try{return a.instantiateWasm(e,r)}catch(e){p(`Module.instantiateWasm callback failed with error: ${e}`),t(e)}return S||(S=function(){var e="basis_transcoder.wasm";return O(e)?e:function(e){return a.locateFile?a.locateFile(e,s):s+e}(e)}()),function(e,r,t,n){return e||"function"!=typeof WebAssembly.instantiateStreaming||O(r)||"function"!=typeof fetch?E(r,t,n):fetch(r,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,t).then(n,function(e){return p(`wasm streaming compile failed: ${e}`),p("falling back to ArrayBuffer instantiation"),E(r,t,n)}))}(u,S,e,function(e){r(e.instance)}).catch(t),{}}(),cr=e=>(cr=ur.N)(e),lr=e=>(lr=ur.O)(e),pr=e=>(pr=ur.P)(e),hr=e=>(hr=ur.R)(e);function dr(){function e(){ir||(ir=!0,a.calledRun=!0,w||(R(C),r(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),function(){if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)W(a.postRun.shift());R(P)}()))}_>0||(function(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)A(a.preRun.shift());R(b)}(),_>0||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1),e()},1)):e()))}if(a.dynCall_jiji=(e,r,t,n,o)=>(a.dynCall_jiji=ur.S)(e,r,t,n,o),F=function e(){ir||dr(),ir||(F=e)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return dr(),o})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[427],{5808:(e,t,n)=>{n.d(t,{O:()=>r});const r={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},35223:(e,t,n)=>{n.d(t,{Hh:()=>s,fz:()=>u,g7:()=>l,s1:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function s(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(4167)]).then(n.bind(n,28879)),Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(8344)]).then(n.bind(n,15756)).then(({injectPe:e})=>e),(0,r.l)()]);o=new e.OperatorGeodeticLength,t(r.p)}}function l(e,t,n){return o.execute(e,t,n,null)}function u(){return o.supportsCurves()}},40427:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>r.e,isLoaded:()=>r.i,load:()=>r.l,supportsCurves:()=>r.s}),n(86211),n(35223),n(5808);var r=n(62044)},62044:(e,t,n)=>{n.d(t,{e:()=>f,g:()=>p,i:()=>a,l:()=>d,s:()=>c});var r=n(86211),o=n(35223),i=n(5808);let s,l,u,c;function a(){return!!s&&(0,o.s1)()}async function d(){if(!a()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(3299),n.e(3169)]).then(n.bind(n,78125)),(0,o.Hh)()]);s=e.fromGeometry,l=e.fromSpatialReference,u=e.getSpatialReference,c=(0,o.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,a=u(e);let d=(0,o.g7)(s(e),l(a),i.O[n]);return d&&c&&(d=(0,r.oU)(d,"meters",c)),d}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:a,load:d,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,3169,8125],{76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class s extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>G,fromGeometry:()=>C,fromMultipoint:()=>M,fromPoint:()=>V,fromPolygon:()=>w,fromPolyline:()=>P,fromSpatialReference:()=>R,getSpatialReference:()=>x,toExtent:()=>v,toGeometry:()=>Z,toMultipoint:()=>d,toPoint:()=>k,toPolygon:()=>E,toPolyline:()=>_});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),o=n(88885),i=n(39117),u=n(5443),c=n(48526),l=n(86738),m=n(39829),h=n(82799),f=(n(90293),n(83299));const g="_gxVersion",y=2,p=1;function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function C(e){switch(e.type){case"point":return V(e);case"multipoint":return M(e);case"polyline":return P(e);case"polygon":return w(e);case"extent":return G(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function G(e){if(!e.getCacheValue(g)){const t=new a.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(p,0,e.zmin,e.zmax),e.setCacheValue(g,t)}return e.getCacheValue(g)}function M(e){if(!e.getCacheValue(g)){const t=new o.M,n=new a.P,r=e.points,s=e.hasM,i=e.hasZ,u=i?3:2;for(let e=0,a=r.length;e<a;e++){const a=r[e];n.setXYCoords(a[0],a[1]),i&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),t.add(n)}e.setCacheValue(g,t)}return e.getCacheValue(g)}function V(e){if(!e.getCacheValue(g)){const t=new a.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(g,t)}return e.getCacheValue(g)}function w(e){if(!e.getCacheValue(g)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,a=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(g,a)}return e.getCacheValue(g)}function P(e){if(!e.getCacheValue(g)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,a=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(g,a)}return e.getCacheValue(g)}function R(e){if(e.wkid)return(0,i.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,i.b)(t):null}function Z(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return k(e,t);case s.G.enumEnvelope:return v(e,t);case s.G.enumMultiPoint:return d(e,t);case s.G.enumPolyline:return _(e,t);case s.G.enumPolygon:return E(e,t)}return null}function v(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(p,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(g,e),n}function d(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],i=new a.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,i);const n=[i.getX(),i.getY()];s&&n.push(i.getZ()),r&&n.push(i.getM()),o.push(n)}const u=new c.A({hasM:r,hasZ:s,points:o,spatialReference:t});return u.setCacheValue(g,e),u}function k(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(g,e),n}function E(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(g,e),n}function _(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(g,e),n}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,3054,3169,8125],{49074:(e,t,n)=>{n.d(t,{fz:()=>i,g7:()=>s,zo:()=>u});var r=n(76061),o=(n(55537),n(39117));n(83661),n(88885),n(79187),n(95213);const a=new o.K;function s(e,t,n){return a.execute(e,t,n,null)}function u(e,t,n){const o=a.executeMany(new r.S(e),new r.S([t]),n,null);return Array.from(o)}function i(){return a.supportsCurves()}},70722:(e,t,n)=>{n.d(t,{a:()=>s,d:()=>i,e:()=>a,s:()=>u});var r=n(49074),o=n(78125);function a(e,t){const n=(0,o.getSpatialReference)(e);return(0,o.toGeometry)((0,r.g7)((0,o.fromGeometry)(e),(0,o.fromGeometry)(t),(0,o.fromSpatialReference)(n)),n)}function s(e,t){const n=e.map(o.fromGeometry),a=(0,o.getSpatialReference)(e);return(0,r.zo)(n,(0,o.fromGeometry)(t),(0,o.fromSpatialReference)(a)).map(e=>(0,o.toGeometry)(e,a))}const u=(0,r.fz)(),i=Object.freeze(Object.defineProperty({__proto__:null,execute:a,executeMany:s,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>G,fromMultipoint:()=>M,fromPoint:()=>w,fromPolygon:()=>V,fromPolyline:()=>v,fromSpatialReference:()=>d,getSpatialReference:()=>x,toExtent:()=>R,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>S,toPolygon:()=>_,toPolyline:()=>z});var r=n(83661),o=(n(79187),n(55537)),a=n(95213),s=n(88885),u=n(39117),i=n(5443),c=n(48526),l=n(86738),m=n(39829),f=n(82799),h=(n(90293),n(83299));const p="_gxVersion",y=2,g=1;function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function G(e){switch(e.type){case"point":return w(e);case"multipoint":return M(e);case"polyline":return v(e);case"polygon":return V(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(p)){const t=new a.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function M(e){if(!e.getCacheValue(p)){const t=new s.M,n=new a.P,r=e.points,o=e.hasM,u=e.hasZ,i=u?3:2;for(let e=0,a=r.length;e<a;e++){const a=r[e];n.setXYCoords(a[0],a[1]),u&&n.setZ(a[2]??0),o&&n.setM(a[i]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function w(e){if(!e.getCacheValue(p)){const t=new a.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function V(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:r,rings:o}=e,a=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:o});e.setCacheValue(p,a)}return e.getCacheValue(p)}function v(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:r,paths:o}=e,a=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:o});e.setCacheValue(p,a)}return e.getCacheValue(p)}function d(e){if(e.wkid)return(0,u.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,u.b)(t):null}function P(e,t){if(e)switch(e.getGeometryType()){case o.G.enumPoint:return S(e,t);case o.G.enumEnvelope:return R(e,t);case o.G.enumMultiPoint:return Z(e,t);case o.G.enumPolyline:return z(e,t);case o.G.enumPolygon:return _(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new i.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function Z(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),o=n.hasZ(),s=[],u=new a.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,u);const n=[u.getX(),u.getY()];o&&n.push(u.getZ()),r&&n.push(u.getM()),s.push(n)}const i=new c.A({hasM:r,hasZ:o,points:s,spatialReference:t});return i.setCacheValue(p,e),i}function S(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),o=e.getDescription();return o.hasM()&&(n.m=e.getM()),o.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function _(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function z(e,t){if(e.isEmpty())return null;const n=f.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}},93054:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>r.e,executeMany:()=>r.a,supportsCurves:()=>r.s}),n(49074),n(78125);var r=n(70722)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,3169,6468,8125],{36633:(e,t,n)=>{n.d(t,{O:()=>g});var r=n(55537),s=n(79187),o=n(83661),i=n(39117);function a(){return u(new o.P,-1,Number.NaN)}function u(e,t,n){return{m_coordinate:e.clone(),m_vertexIndex:t,m_geometryIndex:0,m_distance:n,m_bRightSide:!1,isEmpty:c}}function c(){return Number.isNaN(this.m_distance)}function m(e,t,n=-1,a=-1){if(e.isEmpty())return 3;const u=e.getGeometryType();if((0,r.f)(u))return function(e,t,n,s){if(n>=0||s>=0)return(0,r.a)("");if(e.isDegenerate(0))return e.getStartXY().equals(t)?2:3;if(!e.isCurve()){const n=o.P.orientationRobust(t,e.getStartXY(),e.getEndXY());return n<0?1:n>0?0:2}const i=e.getClosestCoordinate(t,!1),a=e.getTangent(i),u=e.getCoord2D(i),c=o.P.orientationRobust(t,u,u.add(a));return c<0?1:c>0?0:2}(e,t,n,a);if(u===r.G.enumPolygon)return function(e,t,n,o){(n>=0||o>=0)&&(0,r.a)("");const a=new s.Envelope2D;e.queryEnvelope(a);const u=(0,i.H)(e,t,0);return 0===u?0:1===u?1:2}(e,t,n,a);if(u===r.G.enumPolyline)return function(e,t,n,s){(n<0&&s>=0||n>=0&&s<0)&&(0,r.a)("");const i=e.querySegmentIterator();if(n<0){let e=Number.MAX_VALUE,r=0;for(;i.nextPath();)for(;i.hasNextSegment();){const a=i.nextSegment(),u=a.getClosestCoordinate(t,!1),c=a.getCoord2D(u),m=o.P.sqrDistance(c,t);m<e?(r=1,n=i.getStartPointIndex(),s=i.getPathIndex(),e=m):m===e&&r++}if(0===r)return 3;if(1===r)return i.resetToVertex(n,s),m(i.nextSegment(),t)}const a=function(e,t,n,r){const s={i1:-1,i2:-1,bRight1:!1,bRight2:!1};if(s.i1=function(e,t,n){for(e.resetToVertex(t,n);e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();for(e.resetToVertex(t,n);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,n,r),-1!==s.i1){t.resetToVertex(s.i1,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r),a=o.P.sqrDistance(i,e);{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),s.bRight1=t.crossProduct(r)<0}if(s.i2=function(e,t){for(e.resetToVertex(t,-1),e.nextSegment();e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,s.i1),-1!==s.i2){t.resetToVertex(s.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(o.P.sqrDistance(i,e)>a)s.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),s.bRight2=t.crossProduct(r)<0}}if(-1===s.i2&&(s.i2=function(e,t){for(e.resetToVertex(t,-1);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,s.i1),-1!==s.i2)){t.resetToVertex(s.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(o.P.sqrDistance(i,e)>a)s.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),s.bRight2=t.crossProduct(r)<0;const o=s.i1;s.i1=s.i2,s.i2=o;const a=s.bRight1;s.bRight1=s.bRight2,s.bRight2=a}}}return s}(t,i,n,s);if(-1!==a.i1&&-1===a.i2)return a.bRight1?1:0;if(-1!==a.i1&&-1!==a.i2){if(a.bRight1===a.bRight2)return a.bRight1?1:0;{i.resetToVertex(a.i1,-1);const e=i.nextSegment().getTangent(1);i.resetToVertex(a.i2,-1);const t=i.nextSegment().getTangent(0);return e.crossProduct(t)>=0?1:0}}return i.resetToVertex(n,s),m(i.nextSegment(),t)}(e,t,n,a);if(u===r.G.enumEnvelope){const n=new s.Envelope2D;return e.queryEnvelope(n),n.contains(t)?n.containsExclusive(t)?1:2:0}return 3}var l=n(95213);class g{getOperatorType(){return 10500}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}getNearestCoordinate(e,t,n,s){if(t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:return this.multiVertexGetNearestVertex(e,t);case r.G.enumPolyline:case r.G.enumPolygon:return this.multiPathGetNearestCoordinate(e,t,n,s);default:(0,r.t)("")}}getNearestVertex(e,t){if(t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertex(e,t);default:(0,r.t)("")}}getNearestVertices(e,t,n,s){if(0===s&&(0,r.a)(""),t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return[];switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertices(e,t,n,s);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertices(e,t,n,s);default:(0,r.t)("")}}multiPathGetNearestCoordinate(e,t,n,a){if(e.getGeometryType()===r.G.enumPolygon&&n){const n=new s.Envelope2D;e.queryEnvelope(n);const r=(0,l.a)(null,n,!1);let o;if(o=(0,i.H)(e,t,a?0:r),0!==o){const e=u(t,-1,0);return a&&(e.m_bRightSide=!0),e}}const c=e.querySegmentIterator(),g=new o.P;let f=-1,h=-1,x=Number.MAX_VALUE,d=0;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment(),n=e.getClosestCoordinate(t,!1),r=e.getCoord2D(n),s=o.P.sqrDistance(r,t);s<x?(d=1,g.assign(r),f=c.getStartPointIndex(),h=c.getPathIndex(),x=s):s===x&&d++}-1===f&&(0,r.a)("");const y=u(g,f,Math.sqrt(x));if(a)if(e.getGeometryType()!==r.G.enumPolygon){let n=!1;if(d>1){const r=m(e,t,f,h);n=0!==r&&3!==r}else c.resetToVertex(f,h),n=0!==m(c.nextSegment(),t);y.m_bRightSide=n}else n||0!==(0,i.H)(e,t,0)&&(y.m_bRightSide=!0);return y}pointGetNearestVertex(e,t){const n=e.getXY();return u(n,0,o.P.distance(n,t))}multiVertexGetNearestVertex(e,t){const n=e.getAttributeStreamRef(0),r=e.getPointCount();let s=-1;const i=new o.P;let a=Number.MAX_VALUE;const c=new o.P;for(let e=0;e<r;e++){n.queryPoint2D(2*e,c);const r=o.P.sqrDistance(c,t);r<a&&(i.assign(c),s=e,a=r)}return u(i,s,Math.sqrt(a))}pointGetNearestVertices(e,t,n,r){const s=[];if(0!==r){const r=n*n,i=e.getXY(),a=o.P.sqrDistance(i,t);a<=r&&s.push(u(i,0,Math.sqrt(a)))}return s}multiVertexGetNearestVertices(e,t,n,r){const s=[];if(0!==r){const i=e.getAttributeStreamRef(0),a=e.getPointCount();s.length=r+1;const c=n*n;for(let e=0;e<a;e++){const n=i.read(2*e),r=i.read(2*e+1),a=t.x-n,m=t.y-r,l=a*a+m*m;l<=c&&s.push(u(o.P.construct(n,r),e,Math.sqrt(l)))}s.sort((e,t)=>e.m_distance-t.m_distance)}return s.slice(0,r)}}},48032:(e,t,n)=>{n.r(t),n.d(t,{getNearestCoordinate:()=>r.g,getNearestVertex:()=>r.a,getNearestVertices:()=>r.b,supportsCurves:()=>r.s}),n(36633),n(86211),n(78125),n(79533);var r=n(59260)},59260:(e,t,n)=>{n.d(t,{a:()=>c,b:()=>m,g:()=>u,p:()=>g,s:()=>l});var r=n(36633),s=n(86211),o=n(78125),i=n(79533);const a=new r.O;function u(e,t,n={}){const{calculateLeftRightSide:r=!1,testPolygonInterior:u=!0,unit:c}=n,m=a.getNearestCoordinate((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),u,r);if(c&&m.m_distance){const t=(0,o.getSpatialReference)(e);m.m_distance=(0,s.PQ)(m.m_distance,t,c)}return(0,i.C)(m,e,r)}function c(e,t,n={}){const{unit:r}=n,u=a.getNearestVertex((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY());if(r&&u.m_distance){const t=(0,o.getSpatialReference)(e);u.m_distance=(0,s.PQ)(u.m_distance,t,r)}return(0,i.C)(u,e)}function m(e,t,n,r,u={}){const{unit:c}=u,m=(0,o.getSpatialReference)(e);return c&&n&&(n=(0,s.UW)(n,c,m)),a.getNearestVertices((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),n,r).map(t=>(c&&t.m_distance&&(t.m_distance=(0,s.PQ)(t.m_distance,m,c)),(0,i.C)(t,e)))}const l=a.supportsCurves(),g=Object.freeze(Object.defineProperty({__proto__:null,getNearestCoordinate:u,getNearestVertex:c,getNearestVertices:m,supportsCurves:l},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class s extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>P,fromGeometry:()=>p,fromMultipoint:()=>G,fromPoint:()=>C,fromPolygon:()=>V,fromPolyline:()=>S,fromSpatialReference:()=>N,getSpatialReference:()=>y,toExtent:()=>b,toGeometry:()=>R,toMultipoint:()=>_,toPoint:()=>v,toPolygon:()=>M,toPolyline:()=>w});var r=n(83661),s=(n(79187),n(55537)),o=n(95213),i=n(88885),a=n(39117),u=n(5443),c=n(48526),m=n(86738),l=n(39829),g=n(82799),f=(n(90293),n(83299));const h="_gxVersion",x=2,d=1;function y(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function p(e){switch(e.type){case"point":return C(e);case"multipoint":return G(e);case"polyline":return S(e);case"polygon":return V(e);case"extent":return P(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function P(e){if(!e.getCacheValue(h)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(x,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(d,0,e.zmin,e.zmax),e.setCacheValue(h,t)}return e.getCacheValue(h)}function G(e){if(!e.getCacheValue(h)){const t=new i.M,n=new o.P,r=e.points,s=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,o=r.length;e<o;e++){const o=r[e];n.setXYCoords(o[0],o[1]),a&&n.setZ(o[2]??0),s&&n.setM(o[u]??NaN),t.add(n)}e.setCacheValue(h,t)}return e.getCacheValue(h)}function C(e){if(!e.getCacheValue(h)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(h,t)}return e.getCacheValue(h)}function V(e){if(!e.getCacheValue(h)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,o=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(h,o)}return e.getCacheValue(h)}function S(e){if(!e.getCacheValue(h)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,o=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(h,o)}return e.getCacheValue(h)}function N(e){if(e.wkid)return(0,a.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,a.b)(t):null}function R(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return v(e,t);case s.G.enumEnvelope:return b(e,t);case s.G.enumMultiPoint:return _(e,t);case s.G.enumPolyline:return w(e,t);case s.G.enumPolygon:return M(e,t)}return null}function b(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(x,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(d,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(h,e),n}function _(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],a=new o.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const u=new c.A({hasM:r,hasZ:s,points:i,spatialReference:t});return u.setCacheValue(h,e),u}function v(e,t){if(e instanceof r.P)return new m.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new m.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(h,e),n}function M(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(h,e),n}function w(e,t){if(e.isEmpty())return null;const n=g.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(h,e),n}},79533:(e,t,n)=>{n.d(t,{C:()=>s});var r=n(78125);function s(e,t,n=!1){const s=(0,r.toPoint)(e.m_coordinate,(0,r.getSpatialReference)(t)),o=e.m_distance,i=e.isEmpty(),a=e.m_bRightSide;return{coordinate:s,distance:o,isEmpty:i,...n&&{isRightSide:a},vertexIndex:e.m_vertexIndex}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6187],{46187:(t,e,o)=>{o.r(e),o.d(e,{default:()=>r});var r=async function(t={}){var e,o,r,_=t,p=new Promise((t,r)=>{e=t,o=r}),n="";try{n=new URL(".","").href}catch{}r=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var i,c,a,y,s,P,g,u,f,b=console.log.bind(console),E=console.error.bind(console),d=!1;function T(t,e){t||N(e)}function O(){var t=i.buffer;c=new Int8Array(t),y=new Int16Array(t),a=new Uint8Array(t),s=new Int32Array(t),P=new Uint32Array(t),g=new Float32Array(t),f=new Float64Array(t),u=new BigInt64Array(t),new BigUint64Array(t)}var m,h=0,S=null;function N(t){E(t="Aborted("+t+")"),d=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw o(e),e}async function l(t,e){try{var o=await async function(t){try{var e=await r(t);return new Uint8Array(e)}catch{}return function(){throw"both async and sync fetching of the wasm failed"}()}(t);return await WebAssembly.instantiate(o,e)}catch(t){E(`failed to asynchronously prepare wasm: ${t}`),N(t)}}var v="undefined"!=typeof TextDecoder?new TextDecoder:void 0,M=(t,e=0,o=NaN)=>{for(var r=e+o,_=e;t[_]&&!(_>=r);)++_;if(_-e>16&&t.buffer&&v)return v.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},j=(t,e)=>t?M(a,t,e):"",D=[0,31,60,91,121,152,182,213,244,274,305,335],A=[0,31,59,90,120,151,181,212,243,273,304,334],R=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.charCodeAt(n);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&t.charCodeAt(++n)),i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i}}return e[o]=0,o-_},C=(t,e,o)=>R(t,a,e,o),G=(t,e)=>Math.ceil(t/e)*e,I=t=>{var e=(t-i.buffer.byteLength+65535)/65536|0;try{return i.grow(e),O(),1}catch(t){}},L={},U=()=>{if(!U.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:"./this.program"};for(var e in L)void 0===L[e]?delete t[e]:t[e]=L[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);U.strings=o}return U.strings},w=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},F=[null,[],[]],Y=(t,e)=>{var o=F[t];0===e||10===e?((1===t?b:E)(M(o)),o.length=0):o.push(e)},X=[];_.getValue=function(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return c[t];case"i16":return y[t>>1];case"i32":return s[t>>2];case"i64":return u[t>>3];case"float":return g[t>>2];case"double":return f[t>>3];case"*":return P[t>>2];default:N(`invalid type for getValue: ${e}`)}},_.UTF8ToString=j;var x={c:function(t,e,o){return 0},o:(t,e,o)=>{},i:function(t,e,o){return 0},d:function(t,e,o,r){},m:t=>{},l:(t,e)=>{},n:(t,e,o)=>{},j:()=>N(""),p:function(t,e){t=(t=>t<-9007199254740992||t>9007199254740992?NaN:Number(t))(t);var o=new Date(1e3*t);s[e>>2]=o.getSeconds(),s[e+4>>2]=o.getMinutes(),s[e+8>>2]=o.getHours(),s[e+12>>2]=o.getDate(),s[e+16>>2]=o.getMonth(),s[e+20>>2]=o.getFullYear()-1900,s[e+24>>2]=o.getDay();var r=0|(t=>((t=>t%4==0&&(t%100!=0||t%400==0))(t.getFullYear())?D:A)[t.getMonth()]+t.getDate()-1)(o);s[e+28>>2]=r,s[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));s[e+32>>2]=i},q:(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),a=Math.max(i,c);P[t>>2]=60*a,s[e>>2]=Number(i!=c);var y=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},g=y(i),u=y(c);c<i?(C(g,o,17),C(u,r,17)):(C(g,r,17),C(u,o,17))},r:()=>Date.now(),k:t=>{var e=a.length,o=2147483648;if((t>>>=0)>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,G(Math.max(t,_),65536));if(I(p))return!0}return!1},f:(t,e)=>{var o=0,r=0;for(var _ of U()){var p=e+o;P[t+r>>2]=p,o+=C(_,p,1/0)+1,r+=4}return 0},g:(t,e)=>{var o=U();P[t>>2]=o.length;var r=0;for(var _ of o)r+=w(_)+1;return P[e>>2]=r,0},a:t=>52,h:(t,e,o,r)=>52,e:function(t,e,o,r){return 70},b:(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=P[e>>2],i=P[e+4>>2];e+=8;for(var c=0;c<i;c++)Y(t,a[n+c]);_+=i}return P[r>>2]=_,0}},H=await async function(){h++;var t={a:x};m??=_.locateFile?function(t){return _.locateFile?_.locateFile(t,n):n+t}("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href;try{return function(t){return function(t){return H=t.exports,i=H.s,O(),function(){if(0==--h&&S){var t=S;S=null,t()}}(),H}(t.instance)}(await async function(t,e,o){if("function"==typeof WebAssembly.instantiateStreaming)try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(t){E(`wasm streaming compile failed: ${t}`),E("falling back to ArrayBuffer instantiation")}return l(e,o)}(0,m,t))}catch(t){return o(t),Promise.reject(t)}}();H.t,_._webidl_free=H.u,_._webidl_malloc=H.v;var z=_._emscripten_bind_PeObject_getCode_0=H.w,Z=_._emscripten_bind_PeObject_getName_1=H.x,W=_._emscripten_bind_PeObject_getType_0=H.y,B=_._emscripten_bind_PeCoordsys_isEqual_1=H.z,q=_._emscripten_bind_PeCoordsys_getCode_0=H.A,K=_._emscripten_bind_PeCoordsys_getName_1=H.B,k=_._emscripten_bind_PeCoordsys_getType_0=H.C,V=_._emscripten_bind_PeUnit_getUnitFactor_0=H.D,$=_._emscripten_bind_PeUnit_getCode_0=H.E,J=_._emscripten_bind_PeUnit_getName_1=H.F,Q=_._emscripten_bind_PeUnit_getType_0=H.G,tt=_._emscripten_bind_VoidPtr___destroy___0=H.H,et=_._emscripten_bind_PeAngunit_getCode_0=H.I,ot=_._emscripten_bind_PeAngunit_getName_1=H.J,rt=_._emscripten_bind_PeAngunit_getType_0=H.K,_t=_._emscripten_bind_PeAngunit_getUnitFactor_0=H.L,pt=_._emscripten_bind_PeDatum_getSpheroid_0=H.M,nt=_._emscripten_bind_PeDatum_getCode_0=H.N,it=_._emscripten_bind_PeDatum_getName_1=H.O,ct=_._emscripten_bind_PeDatum_getType_0=H.P,at=_._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=H.Q,yt=_._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=H.R,st=_._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=H.S,Pt=_._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=H.T,gt=_._emscripten_bind_PeDefs_get_PE_DD_MAX_0=H.U,ut=_._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=H.V,ft=_._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=H.W,bt=_._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=H.X,Et=_._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=H.Y,dt=_._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=H.Z,Tt=_._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=H._,Ot=_._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=H.$,mt=_._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=H.aa,ht=_._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=H.ba,St=_._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=H.ca,Nt=_._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=H.da,lt=_._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=H.ea,vt=_._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=H.fa,Mt=_._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=H.ga,jt=_._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=H.ha,Dt=_._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=H.ia,At=_._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=H.ja,Rt=_._emscripten_bind_PeDefs_get_PE_PARM_X0_0=H.ka,Ct=_._emscripten_bind_PeDefs_get_PE_PARM_ND_0=H.la,Gt=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=H.ma,It=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=H.na,Lt=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=H.oa,Ut=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=H.pa,wt=_._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=H.qa,Ft=_._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=H.ra,Yt=_._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=H.sa,Xt=_._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=H.ta,xt=_._emscripten_bind_PeDouble_PeDouble_1=H.ua,Ht=_._emscripten_bind_PeDouble_get_val_0=H.va,zt=_._emscripten_bind_PeDouble_set_val_1=H.wa,Zt=_._emscripten_bind_PeDouble___destroy___0=H.xa,Wt=_._emscripten_bind_PeFactory_initialize_1=H.ya,Bt=_._emscripten_bind_PeFactory_factoryByType_2=H.za,qt=_._emscripten_bind_PeFactory_fromString_2=H.Aa,Kt=_._emscripten_bind_PeFactory_getCode_1=H.Ba,kt=_._emscripten_bind_PeGCSExtent_PeGCSExtent_6=H.Ca,Vt=_._emscripten_bind_PeGCSExtent_getLLon_0=H.Da,$t=_._emscripten_bind_PeGCSExtent_getSLat_0=H.Ea,Jt=_._emscripten_bind_PeGCSExtent_getRLon_0=H.Fa,Qt=_._emscripten_bind_PeGCSExtent_getNLat_0=H.Ga,te=_._emscripten_bind_PeGCSExtent___destroy___0=H.Ha,ee=_._emscripten_bind_PeGeogcs_Delete_0=H.Ia,oe=_._emscripten_bind_PeGeogcs_cloneAlterUnits_1=H.Ja,re=_._emscripten_bind_PeGeogcs_getDatum_0=H.Ka,_e=_._emscripten_bind_PeGeogcs_getPrimem_0=H.La,pe=_._emscripten_bind_PeGeogcs_getUnit_0=H.Ma,ne=_._emscripten_bind_PeGeogcs_isEqual_1=H.Na,ie=_._emscripten_bind_PeGeogcs_getCode_0=H.Oa,ce=_._emscripten_bind_PeGeogcs_getName_1=H.Pa,ae=_._emscripten_bind_PeGeogcs_getType_0=H.Qa,ye=_._emscripten_bind_PeGeogtran_isEqual_1=H.Ra,se=_._emscripten_bind_PeGeogtran_getGeogcs1_0=H.Sa,Pe=_._emscripten_bind_PeGeogtran_getGeogcs2_0=H.Ta,ge=_._emscripten_bind_PeGeogtran_getParameters_0=H.Ua,ue=_._emscripten_bind_PeGeogtran_loadConstants_0=H.Va,fe=_._emscripten_bind_PeGeogtran_getCode_0=H.Wa,be=_._emscripten_bind_PeGeogtran_getName_1=H.Xa,Ee=_._emscripten_bind_PeGeogtran_getType_0=H.Ya,de=_._emscripten_bind_PeGTlistExtended_getGTlist_6=H.Za,Te=_._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=H._a,Oe=_._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=H.$a,me=_._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=H.ab,he=_._emscripten_bind_PeGTlistExtendedEntry_Delete_1=H.bb,Se=_._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=H.cb,Ne=_._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=H.db,le=_._emscripten_bind_PeHorizon_getNump_0=H.eb,ve=_._emscripten_bind_PeHorizon_getKind_0=H.fb,Me=_._emscripten_bind_PeHorizon_getInclusive_0=H.gb,je=_._emscripten_bind_PeHorizon_getSize_0=H.hb,De=_._emscripten_bind_PeHorizon_getCoord_0=H.ib,Ae=_._emscripten_bind_PeInteger_PeInteger_1=H.jb,Re=_._emscripten_bind_PeInteger_get_val_0=H.kb,Ce=_._emscripten_bind_PeInteger_set_val_1=H.lb,Ge=_._emscripten_bind_PeInteger___destroy___0=H.mb,Ie=_._emscripten_bind_PeLineType_geodetic_distance_10=H.nb,Le=_._emscripten_bind_PeLineType_geodetic_coordinate_9=H.ob,Ue=_._emscripten_bind_PeLineType_geodesic_coordinate_8=H.pb,we=_._emscripten_bind_PeLineType_great_elliptic_distance_9=H.qb,Fe=_._emscripten_bind_PeMath_phi_to_eta_2=H.rb,Ye=_._emscripten_bind_PeMath_eta_to_phi_2=H.sb,Xe=_._emscripten_bind_PeMath_phi_to_phig_2=H.tb,xe=_._emscripten_bind_PeMath_q_3=H.ub,He=_._emscripten_bind_PeMath_q90_2=H.vb,ze=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=H.wb,Ze=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=H.xb,We=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=H.yb,Be=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=H.zb,qe=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=H.Ab,Ke=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=H.Bb,ke=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=H.Cb,Ve=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=H.Db,$e=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=H.Eb,Je=_._emscripten_bind_PeParameter_getValue_0=H.Fb,Qe=_._emscripten_bind_PeParameter_getCode_0=H.Gb,to=_._emscripten_bind_PeParameter_getName_1=H.Hb,eo=_._emscripten_bind_PeParameter_getType_0=H.Ib,oo=_._emscripten_bind_PePCSInfo_getCentralMeridian_0=H.Jb,ro=_._emscripten_bind_PePCSInfo_getDomainMinx_0=H.Kb,_o=_._emscripten_bind_PePCSInfo_getDomainMiny_0=H.Lb,po=_._emscripten_bind_PePCSInfo_getDomainMaxx_0=H.Mb,no=_._emscripten_bind_PePCSInfo_getDomainMaxy_0=H.Nb,io=_._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=H.Ob,co=_._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=H.Pb,ao=_._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=H.Qb,yo=_._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=H.Rb,so=_._emscripten_bind_PePCSInfo_isDensificationNeeded_0=H.Sb,Po=_._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=H.Tb,go=_._emscripten_bind_PePCSInfo_isPannableRectangle_0=H.Ub,uo=_._emscripten_bind_PePCSInfo_generate_2=H.Vb,fo=_._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=H.Wb,bo=_._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=H.Xb,Eo=_._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=H.Yb,To=_._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=H.Zb,Oo=_._emscripten_bind_PePrimem_getLongitude_0=H._b,mo=_._emscripten_bind_PePrimem_getCode_0=H.$b,ho=_._emscripten_bind_PePrimem_getName_1=H.ac,So=_._emscripten_bind_PePrimem_getType_0=H.bc,No=_._emscripten_bind_PeProjcs_Delete_0=H.cc,lo=_._emscripten_bind_PeProjcs_getGeogcs_0=H.dc,vo=_._emscripten_bind_PeProjcs_getProjection_0=H.ec,Mo=_._emscripten_bind_PeProjcs_getParameters_0=H.fc,jo=_._emscripten_bind_PeProjcs_getUnit_0=H.gc,Do=_._emscripten_bind_PeProjcs_loadConstants_0=H.hc,Ao=_._emscripten_bind_PeProjcs_horizonGcsGenerate_0=H.ic,Ro=_._emscripten_bind_PeProjcs_horizonPcsGenerate_0=H.jc,Co=_._emscripten_bind_PeProjcs_isEqual_1=H.kc,Go=_._emscripten_bind_PeProjcs_getCode_0=H.lc,Io=_._emscripten_bind_PeProjcs_getName_1=H.mc,Lo=_._emscripten_bind_PeProjcs_getType_0=H.nc,Uo=_._emscripten_bind_PeSpheroid_getAxis_0=H.oc,wo=_._emscripten_bind_PeSpheroid_getFlattening_0=H.pc,Fo=_._emscripten_bind_PeSpheroid_getCode_0=H.qc,Yo=_._emscripten_bind_PeSpheroid_getName_1=H.rc,Xo=_._emscripten_bind_PeSpheroid_getType_0=H.sc,xo=_._emscripten_bind_PeVersion_version_string_0=H.tc;function Ho(){}function zo(t){return(t||Ho).__cache__}function Zo(t,e){var o=zo(e),r=o[t];return r||((r=Object.create((e||Ho).prototype)).ptr=t,o[t]=r)}_._pe_getPeGTlistExtendedEntrySize=H.uc,_._pe_getPeGTlistExtendedGTsSize=H.vc,_._pe_getPeHorizonSize=H.wc,_._pe_geog_to_geog=H.xc,_._pe_geog_to_proj=H.yc,_._pe_geog_to_dd=H.zc,_._pe_dd_to_geog=H.Ac,_._pe_geog_to_ddm=H.Bc,_._pe_ddm_to_geog=H.Cc,_._pe_geog_to_dms=H.Dc,_._pe_dms_to_geog=H.Ec,_._pe_geog_to_mgrs_extended=H.Fc,_._pe_mgrs_to_geog_extended=H.Gc,_._pe_geog_to_usng=H.Hc,_._pe_usng_to_geog=H.Ic,_._pe_geog_to_utm=H.Jc,_._pe_utm_to_geog=H.Kc,_._pe_object_to_string_ext=H.Lc,_._pe_proj_to_geog_center=H.Mc,function t(){h>0||h>0?S=t:(_.calledRun=!0,d||((t=>{for(;t.length>0;)t.shift()(_)})(X),H.t(),e(_)))}(),Ho.prototype=Object.create(Ho.prototype),Ho.prototype.constructor=Ho,Ho.prototype.__class__=Ho,Ho.__cache__={},_.WrapperObject=Ho,_.getCache=zo,_.wrapPointer=Zo,_.castObject=function(t,e){return Zo(t.ptr,e)},_.NULL=Zo(0),_.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete zo(t.__class__)[t.ptr]},_.compare=function(t,e){return t.ptr===e.ptr},_.getPointer=function(t){return t.ptr},_.getClass=function(t){return t.__class__};var Wo={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(Wo.needed){for(var t=0;t<Wo.temps.length;t++)_._webidl_free(Wo.temps[t]);Wo.temps.length=0,_._webidl_free(Wo.buffer),Wo.buffer=0,Wo.size+=Wo.needed,Wo.needed=0}Wo.buffer||(Wo.size+=128,Wo.buffer=_._webidl_malloc(Wo.size),T(Wo.buffer)),Wo.pos=0},alloc(t,e){T(Wo.buffer);var o,r=e.BYTES_PER_ELEMENT,p=t.length*r;return p=G(p,8),Wo.pos+p>=Wo.size?(T(p>0),Wo.needed+=p,o=_._webidl_malloc(p),Wo.temps.push(o)):(o=Wo.buffer+Wo.pos,Wo.pos+=p),o},copy(t,e,o){o/=e.BYTES_PER_ELEMENT;for(var r=0;r<t.length;r++)e[o+r]=t[r]}};function Bo(t){if("string"==typeof t){var e=(t=>{var e=w(t)+1,o=new Array(e);return R(t,o,0,o.length),o})(t),o=Wo.alloc(e,c);return Wo.copy(e,c,o),o}return t}function qo(t){if("object"==typeof t){var e=Wo.alloc(t,c);return Wo.copy(t,c,e),e}return t}function Ko(){throw"cannot construct a PeObject, no constructor in IDL"}function ko(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function Vo(){throw"cannot construct a PeUnit, no constructor in IDL"}function $o(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Jo(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Qo(){throw"cannot construct a PeDatum, no constructor in IDL"}function tr(){throw"cannot construct a PeDefs, no constructor in IDL"}function er(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=xt(t),zo(er)[this.ptr]=this}function or(){throw"cannot construct a PeFactory, no constructor in IDL"}function rr(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=kt(t,e,o,r,_,p),zo(rr)[this.ptr]=this}function _r(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function pr(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function nr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function ir(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function cr(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function ar(){throw"cannot construct a PeHorizon, no constructor in IDL"}function yr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Ae(t),zo(yr)[this.ptr]=this}function sr(){throw"cannot construct a PeLineType, no constructor in IDL"}function Pr(){throw"cannot construct a PeMath, no constructor in IDL"}function gr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function ur(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function fr(){throw"cannot construct a PeParameter, no constructor in IDL"}function br(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function Er(){throw"cannot construct a PePrimem, no constructor in IDL"}function dr(){throw"cannot construct a PeProjcs, no constructor in IDL"}function Tr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Or(){throw"cannot construct a PeVersion, no constructor in IDL"}return Ko.prototype=Object.create(Ho.prototype),Ko.prototype.constructor=Ko,Ko.prototype.__class__=Ko,Ko.__cache__={},_.PeObject=Ko,Ko.prototype.getCode=Ko.prototype.getCode=function(){var t=this.ptr;return z(t)},Ko.prototype.getName=Ko.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(Z(e,t))},Ko.prototype.getType=Ko.prototype.getType=function(){var t=this.ptr;return W(t)},ko.prototype=Object.create(Ko.prototype),ko.prototype.constructor=ko,ko.prototype.__class__=ko,ko.__cache__={},_.PeCoordsys=ko,ko.prototype.isEqual=ko.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!B(e,t)},ko.prototype.getCode=ko.prototype.getCode=function(){var t=this.ptr;return q(t)},ko.prototype.getName=ko.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(K(e,t))},ko.prototype.getType=ko.prototype.getType=function(){var t=this.ptr;return k(t)},Vo.prototype=Object.create(Ko.prototype),Vo.prototype.constructor=Vo,Vo.prototype.__class__=Vo,Vo.__cache__={},_.PeUnit=Vo,Vo.prototype.getUnitFactor=Vo.prototype.getUnitFactor=function(){var t=this.ptr;return V(t)},Vo.prototype.getCode=Vo.prototype.getCode=function(){var t=this.ptr;return $(t)},Vo.prototype.getName=Vo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(J(e,t))},Vo.prototype.getType=Vo.prototype.getType=function(){var t=this.ptr;return Q(t)},$o.prototype=Object.create(Ho.prototype),$o.prototype.constructor=$o,$o.prototype.__class__=$o,$o.__cache__={},_.VoidPtr=$o,$o.prototype.__destroy__=$o.prototype.__destroy__=function(){var t=this.ptr;tt(t)},Jo.prototype=Object.create(Vo.prototype),Jo.prototype.constructor=Jo,Jo.prototype.__class__=Jo,Jo.__cache__={},_.PeAngunit=Jo,Jo.prototype.getCode=Jo.prototype.getCode=function(){var t=this.ptr;return et(t)},Jo.prototype.getName=Jo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(ot(e,t))},Jo.prototype.getType=Jo.prototype.getType=function(){var t=this.ptr;return rt(t)},Jo.prototype.getUnitFactor=Jo.prototype.getUnitFactor=function(){var t=this.ptr;return _t(t)},Qo.prototype=Object.create(Ko.prototype),Qo.prototype.constructor=Qo,Qo.prototype.__class__=Qo,Qo.__cache__={},_.PeDatum=Qo,Qo.prototype.getSpheroid=Qo.prototype.getSpheroid=function(){var t=this.ptr;return Zo(pt(t),Tr)},Qo.prototype.getCode=Qo.prototype.getCode=function(){var t=this.ptr;return nt(t)},Qo.prototype.getName=Qo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(it(e,t))},Qo.prototype.getType=Qo.prototype.getType=function(){var t=this.ptr;return ct(t)},tr.prototype=Object.create(Ho.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},_.PeDefs=tr,tr.prototype.get_PE_BUFFER_MAX=tr.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return at(t)},Object.defineProperty(tr.prototype,"PE_BUFFER_MAX",{get:tr.prototype.get_PE_BUFFER_MAX}),tr.prototype.get_PE_NAME_MAX=tr.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return yt(t)},Object.defineProperty(tr.prototype,"PE_NAME_MAX",{get:tr.prototype.get_PE_NAME_MAX}),tr.prototype.get_PE_MGRS_MAX=tr.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return st(t)},Object.defineProperty(tr.prototype,"PE_MGRS_MAX",{get:tr.prototype.get_PE_MGRS_MAX}),tr.prototype.get_PE_USNG_MAX=tr.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return Pt(t)},Object.defineProperty(tr.prototype,"PE_USNG_MAX",{get:tr.prototype.get_PE_USNG_MAX}),tr.prototype.get_PE_DD_MAX=tr.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return gt(t)},Object.defineProperty(tr.prototype,"PE_DD_MAX",{get:tr.prototype.get_PE_DD_MAX}),tr.prototype.get_PE_DMS_MAX=tr.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return ut(t)},Object.defineProperty(tr.prototype,"PE_DMS_MAX",{get:tr.prototype.get_PE_DMS_MAX}),tr.prototype.get_PE_DDM_MAX=tr.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return ft(t)},Object.defineProperty(tr.prototype,"PE_DDM_MAX",{get:tr.prototype.get_PE_DDM_MAX}),tr.prototype.get_PE_UTM_MAX=tr.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return bt(t)},Object.defineProperty(tr.prototype,"PE_UTM_MAX",{get:tr.prototype.get_PE_UTM_MAX}),tr.prototype.get_PE_PARM_MAX=tr.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return Et(t)},Object.defineProperty(tr.prototype,"PE_PARM_MAX",{get:tr.prototype.get_PE_PARM_MAX}),tr.prototype.get_PE_TYPE_NONE=tr.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return dt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_NONE",{get:tr.prototype.get_PE_TYPE_NONE}),tr.prototype.get_PE_TYPE_GEOGCS=tr.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return Tt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_GEOGCS",{get:tr.prototype.get_PE_TYPE_GEOGCS}),tr.prototype.get_PE_TYPE_PROJCS=tr.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return Ot(t)},Object.defineProperty(tr.prototype,"PE_TYPE_PROJCS",{get:tr.prototype.get_PE_TYPE_PROJCS}),tr.prototype.get_PE_TYPE_GEOGTRAN=tr.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return mt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_GEOGTRAN",{get:tr.prototype.get_PE_TYPE_GEOGTRAN}),tr.prototype.get_PE_TYPE_COORDSYS=tr.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return ht(t)},Object.defineProperty(tr.prototype,"PE_TYPE_COORDSYS",{get:tr.prototype.get_PE_TYPE_COORDSYS}),tr.prototype.get_PE_TYPE_UNIT=tr.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return St(t)},Object.defineProperty(tr.prototype,"PE_TYPE_UNIT",{get:tr.prototype.get_PE_TYPE_UNIT}),tr.prototype.get_PE_TYPE_LINUNIT=tr.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return Nt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_LINUNIT",{get:tr.prototype.get_PE_TYPE_LINUNIT}),tr.prototype.get_PE_STR_OPTS_NONE=tr.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return lt(t)},Object.defineProperty(tr.prototype,"PE_STR_OPTS_NONE",{get:tr.prototype.get_PE_STR_OPTS_NONE}),tr.prototype.get_PE_STR_AUTH_NONE=tr.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return vt(t)},Object.defineProperty(tr.prototype,"PE_STR_AUTH_NONE",{get:tr.prototype.get_PE_STR_AUTH_NONE}),tr.prototype.get_PE_STR_AUTH_TOP=tr.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return Mt(t)},Object.defineProperty(tr.prototype,"PE_STR_AUTH_TOP",{get:tr.prototype.get_PE_STR_AUTH_TOP}),tr.prototype.get_PE_STR_NAME_CANON=tr.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return jt(t)},Object.defineProperty(tr.prototype,"PE_STR_NAME_CANON",{get:tr.prototype.get_PE_STR_NAME_CANON}),tr.prototype.get_PE_STR_FMT_WKT=tr.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return Dt(t)},Object.defineProperty(tr.prototype,"PE_STR_FMT_WKT",{get:tr.prototype.get_PE_STR_FMT_WKT}),tr.prototype.get_PE_STR_FMT_WKT2=tr.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return At(t)},Object.defineProperty(tr.prototype,"PE_STR_FMT_WKT2",{get:tr.prototype.get_PE_STR_FMT_WKT2}),tr.prototype.get_PE_PARM_X0=tr.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return Rt(t)},Object.defineProperty(tr.prototype,"PE_PARM_X0",{get:tr.prototype.get_PE_PARM_X0}),tr.prototype.get_PE_PARM_ND=tr.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return Ct(t)},Object.defineProperty(tr.prototype,"PE_PARM_ND",{get:tr.prototype.get_PE_PARM_ND}),tr.prototype.get_PE_TRANSFORM_1_TO_2=tr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return Gt(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_1_TO_2",{get:tr.prototype.get_PE_TRANSFORM_1_TO_2}),tr.prototype.get_PE_TRANSFORM_2_TO_1=tr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return It(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_2_TO_1",{get:tr.prototype.get_PE_TRANSFORM_2_TO_1}),tr.prototype.get_PE_TRANSFORM_P_TO_G=tr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return Lt(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_P_TO_G",{get:tr.prototype.get_PE_TRANSFORM_P_TO_G}),tr.prototype.get_PE_TRANSFORM_G_TO_P=tr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Ut(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_G_TO_P",{get:tr.prototype.get_PE_TRANSFORM_G_TO_P}),tr.prototype.get_PE_HORIZON_RECT=tr.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return wt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_RECT",{get:tr.prototype.get_PE_HORIZON_RECT}),tr.prototype.get_PE_HORIZON_POLY=tr.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return Ft(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_POLY",{get:tr.prototype.get_PE_HORIZON_POLY}),tr.prototype.get_PE_HORIZON_LINE=tr.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return Yt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_LINE",{get:tr.prototype.get_PE_HORIZON_LINE}),tr.prototype.get_PE_HORIZON_DELTA=tr.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return Xt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_DELTA",{get:tr.prototype.get_PE_HORIZON_DELTA}),er.prototype=Object.create(Ho.prototype),er.prototype.constructor=er,er.prototype.__class__=er,er.__cache__={},_.PeDouble=er,er.prototype.get_val=er.prototype.get_val=function(){var t=this.ptr;return Ht(t)},er.prototype.set_val=er.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zt(e,t)},Object.defineProperty(er.prototype,"val",{get:er.prototype.get_val,set:er.prototype.set_val}),er.prototype.__destroy__=er.prototype.__destroy__=function(){var t=this.ptr;Zt(t)},or.prototype=Object.create(Ho.prototype),or.prototype.constructor=or,or.prototype.__class__=or,or.__cache__={},_.PeFactory=or,or.prototype.initialize=or.prototype.initialize=function(t){Wo.prepare(),t=t&&"object"==typeof t?t.ptr:Bo(t),Wt(t)},or.prototype.factoryByType=or.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zo(Bt(t,e),Ko)},or.prototype.fromString=or.prototype.fromString=function(t,e){return Wo.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Bo(e),Zo(qt(t,e),Ko)},or.prototype.getCode=or.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),Kt(t)},rr.prototype=Object.create(Ho.prototype),rr.prototype.constructor=rr,rr.prototype.__class__=rr,rr.__cache__={},_.PeGCSExtent=rr,rr.prototype.getLLon=rr.prototype.getLLon=function(){var t=this.ptr;return Vt(t)},rr.prototype.getSLat=rr.prototype.getSLat=function(){var t=this.ptr;return $t(t)},rr.prototype.getRLon=rr.prototype.getRLon=function(){var t=this.ptr;return Jt(t)},rr.prototype.getNLat=rr.prototype.getNLat=function(){var t=this.ptr;return Qt(t)},rr.prototype.__destroy__=rr.prototype.__destroy__=function(){var t=this.ptr;te(t)},_r.prototype=Object.create(ko.prototype),_r.prototype.constructor=_r,_r.prototype.__class__=_r,_r.__cache__={},_.PeGeogcs=_r,_r.prototype.Delete=_r.prototype.Delete=function(){var t=this.ptr;ee(t)},_r.prototype.cloneAlterUnits=_r.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Zo(oe(e,t),_r)},_r.prototype.getDatum=_r.prototype.getDatum=function(){var t=this.ptr;return Zo(re(t),Qo)},_r.prototype.getPrimem=_r.prototype.getPrimem=function(){var t=this.ptr;return Zo(_e(t),Er)},_r.prototype.getUnit=_r.prototype.getUnit=function(){var t=this.ptr;return Zo(pe(t),Jo)},_r.prototype.isEqual=_r.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ne(e,t)},_r.prototype.getCode=_r.prototype.getCode=function(){var t=this.ptr;return ie(t)},_r.prototype.getName=_r.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(ce(e,t))},_r.prototype.getType=_r.prototype.getType=function(){var t=this.ptr;return ae(t)},pr.prototype=Object.create(Ko.prototype),pr.prototype.constructor=pr,pr.prototype.__class__=pr,pr.__cache__={},_.PeGeogtran=pr,pr.prototype.isEqual=pr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ye(e,t)},pr.prototype.getGeogcs1=pr.prototype.getGeogcs1=function(){var t=this.ptr;return Zo(se(t),_r)},pr.prototype.getGeogcs2=pr.prototype.getGeogcs2=function(){var t=this.ptr;return Zo(Pe(t),_r)},pr.prototype.getParameters=pr.prototype.getParameters=function(){var t=this.ptr;return ge(t)},pr.prototype.loadConstants=pr.prototype.loadConstants=function(){var t=this.ptr;return!!ue(t)},pr.prototype.getCode=pr.prototype.getCode=function(){var t=this.ptr;return fe(t)},pr.prototype.getName=pr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(be(e,t))},pr.prototype.getType=pr.prototype.getType=function(){var t=this.ptr;return Ee(t)},nr.prototype=Object.create(Ho.prototype),nr.prototype.constructor=nr,nr.prototype.__class__=nr,nr.__cache__={},_.PeGTlistExtended=nr,nr.prototype.getGTlist=nr.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),Zo(de(t,e,o,r,_,p),ir)},nr.prototype.get_PE_GTLIST_OPTS_COMMON=nr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return Te(t)},Object.defineProperty(nr.prototype,"PE_GTLIST_OPTS_COMMON",{get:nr.prototype.get_PE_GTLIST_OPTS_COMMON}),ir.prototype=Object.create(Ho.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},_.PeGTlistExtendedEntry=ir,ir.prototype.getEntries=ir.prototype.getEntries=function(){var t=this.ptr;return Zo(Oe(t),cr)},ir.prototype.getSteps=ir.prototype.getSteps=function(){var t=this.ptr;return me(t)},ir.prototype.Delete=ir.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),he(t)},cr.prototype=Object.create(Ho.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},_.PeGTlistExtendedGTs=cr,cr.prototype.getDirection=cr.prototype.getDirection=function(){var t=this.ptr;return Se(t)},cr.prototype.getGeogtran=cr.prototype.getGeogtran=function(){var t=this.ptr;return Zo(Ne(t),pr)},ar.prototype=Object.create(Ho.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},_.PeHorizon=ar,ar.prototype.getNump=ar.prototype.getNump=function(){var t=this.ptr;return le(t)},ar.prototype.getKind=ar.prototype.getKind=function(){var t=this.ptr;return ve(t)},ar.prototype.getInclusive=ar.prototype.getInclusive=function(){var t=this.ptr;return Me(t)},ar.prototype.getSize=ar.prototype.getSize=function(){var t=this.ptr;return je(t)},ar.prototype.getCoord=ar.prototype.getCoord=function(){var t=this.ptr;return De(t)},yr.prototype=Object.create(Ho.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},_.PeInteger=yr,yr.prototype.get_val=yr.prototype.get_val=function(){var t=this.ptr;return Re(t)},yr.prototype.set_val=yr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ce(e,t)},Object.defineProperty(yr.prototype,"val",{get:yr.prototype.get_val,set:yr.prototype.set_val}),yr.prototype.__destroy__=yr.prototype.__destroy__=function(){var t=this.ptr;Ge(t)},sr.prototype=Object.create(Ho.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},_.PeLineType=sr,sr.prototype.geodetic_distance=sr.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),Ie(t,e,o,r,_,p,n,i,c,a)},sr.prototype.geodetic_coordinate=sr.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Le(t,e,o,r,_,p,n,i,c)},sr.prototype.geodesic_coordinate=sr.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),Ue(t,e,o,r,_,p,n,i)},sr.prototype.great_elliptic_distance=sr.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),we(t,e,o,r,_,p,n,i,c)},Pr.prototype=Object.create(Ho.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},_.PeMath=Pr,Pr.prototype.phi_to_eta=Pr.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Fe(t,e)},Pr.prototype.eta_to_phi=Pr.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ye(t,e)},Pr.prototype.phi_to_phig=Pr.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Xe(t,e)},Pr.prototype.q=Pr.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),xe(t,e,o)},Pr.prototype.q90=Pr.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),He(t,e)},gr.prototype=Object.create(Ho.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},_.PeNotationMgrs=gr,gr.prototype.get_PE_MGRS_STYLE_NEW=gr.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return ze(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_NEW",{get:gr.prototype.get_PE_MGRS_STYLE_NEW}),gr.prototype.get_PE_MGRS_STYLE_OLD=gr.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return Ze(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_OLD",{get:gr.prototype.get_PE_MGRS_STYLE_OLD}),gr.prototype.get_PE_MGRS_STYLE_AUTO=gr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return We(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_AUTO",{get:gr.prototype.get_PE_MGRS_STYLE_AUTO}),gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return Be(t)},Object.defineProperty(gr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),gr.prototype.get_PE_MGRS_ADD_SPACES=gr.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return qe(t)},Object.defineProperty(gr.prototype,"PE_MGRS_ADD_SPACES",{get:gr.prototype.get_PE_MGRS_ADD_SPACES}),ur.prototype=Object.create(Ho.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},_.PeNotationUtm=ur,ur.prototype.get_PE_UTM_OPTS_NONE=ur.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return Ke(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NONE",{get:ur.prototype.get_PE_UTM_OPTS_NONE}),ur.prototype.get_PE_UTM_OPTS_NS=ur.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return ke(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NS",{get:ur.prototype.get_PE_UTM_OPTS_NS}),ur.prototype.get_PE_UTM_OPTS_NS_STRICT=ur.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return Ve(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NS_STRICT",{get:ur.prototype.get_PE_UTM_OPTS_NS_STRICT}),ur.prototype.get_PE_UTM_OPTS_ADD_SPACES=ur.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return $e(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:ur.prototype.get_PE_UTM_OPTS_ADD_SPACES}),fr.prototype=Object.create(Ko.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},_.PeParameter=fr,fr.prototype.getValue=fr.prototype.getValue=function(){var t=this.ptr;return Je(t)},fr.prototype.getCode=fr.prototype.getCode=function(){var t=this.ptr;return Qe(t)},fr.prototype.getName=fr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(to(e,t))},fr.prototype.getType=fr.prototype.getType=function(){var t=this.ptr;return eo(t)},br.prototype=Object.create(Ho.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},_.PePCSInfo=br,br.prototype.getCentralMeridian=br.prototype.getCentralMeridian=function(){var t=this.ptr;return oo(t)},br.prototype.getDomainMinx=br.prototype.getDomainMinx=function(){var t=this.ptr;return ro(t)},br.prototype.getDomainMiny=br.prototype.getDomainMiny=function(){var t=this.ptr;return _o(t)},br.prototype.getDomainMaxx=br.prototype.getDomainMaxx=function(){var t=this.ptr;return po(t)},br.prototype.getDomainMaxy=br.prototype.getDomainMaxy=function(){var t=this.ptr;return no(t)},br.prototype.getNorthPoleLocation=br.prototype.getNorthPoleLocation=function(){var t=this.ptr;return io(t)},br.prototype.getNorthPoleGeometry=br.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return co(t)},br.prototype.getSouthPoleLocation=br.prototype.getSouthPoleLocation=function(){var t=this.ptr;return ao(t)},br.prototype.getSouthPoleGeometry=br.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return yo(t)},br.prototype.isDensificationNeeded=br.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!so(t)},br.prototype.isGcsHorizonMultiOverlap=br.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!Po(t)},br.prototype.isPannableRectangle=br.prototype.isPannableRectangle=function(){var t=this.ptr;return!!go(t)},br.prototype.generate=br.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zo(uo(t,e),br)},br.prototype.get_PE_PCSINFO_OPTION_NONE=br.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return fo(t)},Object.defineProperty(br.prototype,"PE_PCSINFO_OPTION_NONE",{get:br.prototype.get_PE_PCSINFO_OPTION_NONE}),br.prototype.get_PE_PCSINFO_OPTION_DOMAIN=br.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return bo(t)},Object.defineProperty(br.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:br.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return Eo(t)},Object.defineProperty(br.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),br.prototype.get_PE_POLE_POINT=br.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return To(t)},Object.defineProperty(br.prototype,"PE_POLE_POINT",{get:br.prototype.get_PE_POLE_POINT}),Er.prototype=Object.create(Ko.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},_.PePrimem=Er,Er.prototype.getLongitude=Er.prototype.getLongitude=function(){var t=this.ptr;return Oo(t)},Er.prototype.getCode=Er.prototype.getCode=function(){var t=this.ptr;return mo(t)},Er.prototype.getName=Er.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(ho(e,t))},Er.prototype.getType=Er.prototype.getType=function(){var t=this.ptr;return So(t)},dr.prototype=Object.create(ko.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},_.PeProjcs=dr,dr.prototype.Delete=dr.prototype.Delete=function(){var t=this.ptr;No(t)},dr.prototype.getGeogcs=dr.prototype.getGeogcs=function(){var t=this.ptr;return Zo(lo(t),_r)},dr.prototype.getProjection=dr.prototype.getProjection=function(){var t=this.ptr;return Zo(vo(t),Ko)},dr.prototype.getParameters=dr.prototype.getParameters=function(){var t=this.ptr;return Mo(t)},dr.prototype.getUnit=dr.prototype.getUnit=function(){var t=this.ptr;return Zo(jo(t),Vo)},dr.prototype.loadConstants=dr.prototype.loadConstants=function(){var t=this.ptr;return!!Do(t)},dr.prototype.horizonGcsGenerate=dr.prototype.horizonGcsGenerate=function(){var t=this.ptr;return Zo(Ao(t),ar)},dr.prototype.horizonPcsGenerate=dr.prototype.horizonPcsGenerate=function(){var t=this.ptr;return Zo(Ro(t),ar)},dr.prototype.isEqual=dr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Co(e,t)},dr.prototype.getCode=dr.prototype.getCode=function(){var t=this.ptr;return Go(t)},dr.prototype.getName=dr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(Io(e,t))},dr.prototype.getType=dr.prototype.getType=function(){var t=this.ptr;return Lo(t)},Tr.prototype=Object.create(Ko.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},_.PeSpheroid=Tr,Tr.prototype.getAxis=Tr.prototype.getAxis=function(){var t=this.ptr;return Uo(t)},Tr.prototype.getFlattening=Tr.prototype.getFlattening=function(){var t=this.ptr;return wo(t)},Tr.prototype.getCode=Tr.prototype.getCode=function(){var t=this.ptr;return Fo(t)},Tr.prototype.getName=Tr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(Yo(e,t))},Tr.prototype.getType=Tr.prototype.getType=function(){var t=this.ptr;return Xo(t)},Or.prototype=Object.create(Ho.prototype),Or.prototype.constructor=Or,Or.prototype.__class__=Or,Or.__cache__={},_.PeVersion=Or,Or.prototype.version_string=Or.prototype.version_string=function(){var t=this.ptr;return j(xo(t))},_.ensureCache=Wo,_.ensureString=Bo,_.ensureInt8=qo,_.ensureInt16=function(t){if("object"==typeof t){var e=Wo.alloc(t,y);return Wo.copy(t,y,e),e}return t},_.ensureInt32=function(t){if("object"==typeof t){var e=Wo.alloc(t,s);return Wo.copy(t,s,e),e}return t},_.ensureFloat32=function(t){if("object"==typeof t){var e=Wo.alloc(t,g);return Wo.copy(t,g,e),e}return t},_.ensureFloat64=function(t){if("object"==typeof t){var e=Wo.alloc(t,f);return Wo.copy(t,f,e),e}return t},p}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 3a457e718a901a45902e.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1436],{4643:(t,e,n)=>{n.d(e,{c:()=>o,u:()=>i});var s=n(46337);function o(t,e,n){if(s.S$)return;const o=function(t){class e extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,e){return this.observedEntry.push({target:t,options:e}),super.observe(t,e)}unobserve(t){const e=this.observedEntry.filter(e=>e.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),e.forEach(t=>this.observe(t.target,t.options))}}return"intersection"===t?window.IntersectionObserver:"mutation"===t?e:window.ResizeObserver}(t);return new o(e,n)}function i(t,e,n,s){t&&(e&&t.unobserve(e),n&&(t instanceof MutationObserver?t.observe(n,s):t.observe(n)))}},20307:(t,e,n)=>{n.d(e,{u:()=>r});var s=n(50941),o=n(83623),i=n(79e3);const r=()=>(0,s.aK)((t,e)=>{let n;function s(){n?.abort()}return e.onLoad(()=>{t.listen("focus",()=>{n=new AbortController,t.el.addEventListener("focusout",s,{signal:n.signal})})}),e.onDisconnected(()=>{t.el.removeEventListener("focusout",s)}),async(e,r)=>{if(t.disabled)return;const a=function(t){if(t)return function(t){return"target"in t&&("includeContainer"in t||"strategy"in t)}(t)?t:{target:t}}(e());if(!a)return;const{target:c,includeContainer:l,strategy:h}=a,u=(0,i.k)(t.el),p=u.activeElement;return await(0,o.c)(t),p!==u.activeElement||n&&!n?.signal.aborted?void 0:(t.el.removeEventListener("focus",s),(0,i.b)(c,l,h,t.el,r))}})},32239:(t,e,n)=>{var s=n(34088),o=n(46337),i=n(41557),r=n(79e3),a=n(4643),c=n(84137);const l="flip-rtl",h="svg",u={},p={},d={s:16,m:24,l:32};function b({icon:t,scale:e}){const n=d[e],s=function(t){const e=!isNaN(Number(t.charAt(0))),n=t.split("-");if(n.length>0){const e=/[a-z]/i;t=n.map((t,n)=>t.replace(e,function(t,e){return 0===n&&0===e?t:t.toUpperCase()})).join("")}return e?`i${t}`:t}(t),o="F"===s.charAt(s.length-1);return`${o?s.substring(0,s.length-1):s}${n}${o?"F":""}`}function v(t){return u[t]}const f=o.AH`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class g extends i.WF{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=f}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(t){(t.has("icon")&&(this.hasUpdated||null!==this.icon)||t.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){const{icon:t,scale:e,visible:n}=this;if(o.S$||!t||!n)return;const i={icon:t,scale:e},r=v(b(i))||await async function(t){const e=b(t),n=v(e);if(n)return n;p[e]||(p[e]=fetch((0,s.g)(`./assets/icon/${e}.json`)).then(t=>t.json()).catch(()=>(c.l.error(`${t.icon} (${t.scale}) icon failed to load`),"")));const o=await p[e];return u[e]=o,o}(i);t===this.icon&&(this.pathData=r)}waitUntilVisible(t){this.intersectionObserver=(0,a.c)("intersection",e=>{e.forEach(e=>{e.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())})},{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}render(){const{el:t,flipRtl:e,pathData:n,scale:s,textLabel:a}=this,c=(0,r.g)(t),u=d[s],p=!!a,b=[].concat(n||"");return this.el.ariaHidden=(0,r.t)(!p),this.el.ariaLabel=p?a:null,this.el.role=p?"img":null,o.qy`<svg aria-hidden=true class=${(0,i.CP)({[l]:"rtl"===c&&e,[h]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${u} ${u}`} width=100% xmlns=http://www.w3.org/2000/svg>${b.map(t=>"string"==typeof t?o.JW`<path d=${t??o.s6} />`:o.JW`<path d=${t.d??o.s6} opacity=${("opacity"in t?t.opacity:1)??o.s6} />`)}</svg>`}}(0,s.c)("calcite-icon",g)},50941:(t,e,n)=>{n.d(e,{aK:()=>v,yr:()=>y,oW:()=>w});var s=n(55333),o=n(94667);var i=n(46337),r=n(20150);const a="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),c=new Set(a),l="en",h={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},u={},p=async(t,e)=>{const n=`${e}${t}.json`;try{const t=await fetch(n);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return t===l?{}:await p(l,e)},d=t=>{const e=(0,r.Zj)(t,"lang",globalThis.navigator?.language||l);return{lang:e,t9nLocale:b(e)}},b=t=>{const[e,n]=t.split("-"),s=e.toLowerCase();let o=s;return n&&(o=`${s}-${n.toUpperCase()}`),o=h[o]??o,c.has(o)?o:n?b(s):l},v=t=>e=>g(e,t);class f extends s.C{constructor(t,e){super(t);const n=this.exports;try{(0,o.s)(this.component);const t=e(this.component,this),s=this.exports!==n;if((0,o.i)(t)){s||this.setProvisionalExports(t);const e=t.then(t=>{this.exports=t,super.catchUpLifecycle()}).catch(t=>{this.P.reject(t),console.error(t)});this.onLoad(async()=>await e)}else s&&void 0===t||(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}}const g=(m=f,(...t)=>{const e=(0,o.d)(),n=new m(...t),i=n.exports;(0,o.b)(e.at(-1));const r=n.component.manager;r.W(n,i),n.watchExports(r.W.bind(r,n)),(0,o.j)(n);const a=[n.component,...e].reverse();return(0,s.t)(a,t=>void 0===t?void 0:((t,{host:e,key:n,isReactive:s},i)=>{const r=e,a=r[n]!==t.exports,c=r[n]!==i,l=i!==t.exports;if(a&&!c&&l&&(r[n]=t.exports),e===t.component){if(s){const e=t.component.manager;c&&e.W(t,r[n]),t.onUpdate(s=>{if(s.has(n)){const s=r[n];s!==t.exports&&e.W(t,s)}})}t.O=s?void 0:n}const h=t.component.constructor.elementProperties.get(n)?.readOnly;t.watchExports(()=>{r[n]!==t.exports&&(h?(0,o.f)(()=>{r[n]=t.exports}):r[n]=t.exports)})})(n,t,i),i)});var m;const w=(t,e)=>new x(t,e);class x extends s.C{#t;#e;#n;constructor(t,e){super(),i.S$||(this.#e=t,this.#n=e,this.#t=new MutationObserver(n=>{n.forEach(n=>{t.includes(n.attributeName)&&e.call(this.component,this.component.el.getAttribute(n.attributeName),n.oldValue,n.attributeName)})}))}hostConnected(){this.#e.forEach(t=>{this.component.el.hasAttribute(t)&&this.#n.call(this.component,null,this.component.el.getAttribute(t),t)}),this.#t.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#e})}hostDisconnected(){this.#t.disconnect()}}const y=t=>(e={})=>g(void 0,(n,s)=>{const o=d(n.el),i={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},a=n;s.onLifecycle(()=>((e,o,i,l)=>{let h;const b=()=>(async(t,e,n=t.localName.split("-").slice(1).join("-"))=>{const{lang:s,t9nLocale:o}=d(t),i=`${e}/${n}/t9n`,r=null===n?{}:await(async(t,e,n="")=>{const s=`${e}/${n}`,o=`${s}${t}.json`;return u[o]??(u[o]=p(t,s)),await u[o]})(o,i,"messages.");return{lang:s,t9nLocale:o,t9nStrings:r}})(e,t("./assets"),l).then(t=>{h?.lang===t.lang&&h.t9nLocale===t.t9nLocale&&h.t9nStrings===t.t9nStrings||(({t9nLocale:t,t9nStrings:e,lang:o})=>{const i={...e,_lang:o,_t9nLocale:t,_loading:!1};s.exports=i;const r=e.componentLabel;"string"==typeof r&&"label"in n&&null==n.label&&(n.label??=r),c(a.messageOverrides)})(t),h=t}).catch(console.error);return queueMicrotask(b),(0,r.Yt)(e,["lang"],b)})(n.el,0,0,e.name));const c=t=>{const e=s.exports,n=e._original??e,o=$(n,t);t&&(o._original=n),s.exports=o};return"messageOverrides"in a&&s.onUpdate(t=>{t.has("messageOverrides")&&c(a.messageOverrides)}),e.blocking?(s.setProvisionalExports(i,!1),s.ready):i}),$=(t,e)=>{if(!e)return t;const n={...t};return Object.entries(e).forEach(([e,s])=>{n[e]="object"==typeof s?$(t[e],s):s??t[e]}),n}},75572:(t,e,n)=>{n.d(e,{u:()=>i});var s=n(50941),o=n(34088);const i=(0,s.yr)(o.g)},83623:(t,e,n)=>{function s(t){return"l"===t?"m":"s"}async function o(t){await t.componentOnReady(),await t.updateComplete}n.d(e,{c:()=>o,g:()=>s}),n(84137)},84137:(t,e,n)=>{n.d(e,{l:()=>c});var s=n(34088);const o=new Set,i={trace:0,debug:1,info:2,warn:4,error:8,off:10};function r(t,...e){(function(t){return i[t]>=i[s.l]})(t)&&console[t].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...e)}let a;const c={debug:t=>r("debug",t),info:t=>r("info",t),warn:t=>r("warn",t),error:t=>r("error",t),trace:t=>r("trace",t),deprecated:function(t,{component:e,name:n,suggested:s,removalVersion:i}){const c=`${t}:${"component"===t?"":e}${n}`;if(o.has(c))return;o.add(c);const l=Array.isArray(s);l&&!a&&(a=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),r("warn",`[${n}] ${t} is deprecated and will be removed in ${"future"===i?"a future version":`v${i}`}.${s?` Use ${l?a.format(s.map(t=>`"${t}"`)):`"${s}"`} instead.`:""}`)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4575,6956],{5834:(e,t,n)=>{n.d(t,{A:()=>c});var i=n(31635),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(41366),u=n(93223);function p(e,t,n){(0,r.sM)(n,e instanceof Date?e.getTime():e,t)}let c=class extends((0,l.K)(a.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],c.prototype,"numBins",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],c.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],c.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,i.Cg)([(0,s.$K)("esri.rest.support.AutoIntervalBinParameters")],c),c.from=(0,o.dp)(c)},11440:(e,t,n)=>{n.d(t,{A:()=>u});var i=n(31635),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(93223);let u=class extends a.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,n){(0,r.sM)(n,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,i.Cg)([(0,l.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,s.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,o.dp)(u)},14575:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var i=n(31635),r=n(69540),s=n(66552),o=n(25482),a=n(53966),l=n(91429),u=n(56507),p=n(16930),c=n(65864),y=n(50498),m=n(58727),d=n(5834),f=n(41266),h=n(59977),g=n(11440),v=n(60909),w=n(77696),x=n(58174),M=n(7562),S=n(79677),A=n(56400),C=n(93223);const B=new s.J({asc:"ascending",desc:"descending"}),j={base:f.A,key:"type",typeMap:{"auto-interval":d.A,date:h.A,"fixed-boundaries":g.A,"fixed-interval":v.A}};let b=class extends((0,w.y)((0,r.OU)(o.o))){constructor(e){super(e),this.binParameters=null,this.binOrder="ascending",this.cacheHint=void 0,this.datumTransformation=null,this.defaultSpatialReference=null,this.distance=void 0,this.geometry=null,this.lowerBoundaryAlias=null,this.outSpatialReference=null,this.outStatistics=null,this.returnDistinctValues=null,this.spatialRelationship="intersects",this.timeExtent=null,this.upperBoundaryAlias=null,this.units=null,this.where="1=1"}set outTimeZone(e){this._set("outTimeZone",e),e&&!(0,A.wr)(e)&&a.A.getLogger(this).warn("#outTimeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}};(0,i.Cg)([(0,l.MZ)({types:j,json:{name:"bin",write:!0}})],b.prototype,"binParameters",void 0),(0,i.Cg)([(0,C.e)(B)],b.prototype,"binOrder",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],b.prototype,"cacheHint",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],b.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,l.MZ)({type:p.A,json:{name:"defaultSR",write:!0}})],b.prototype,"defaultSpatialReference",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],b.prototype,"distance",void 0),(0,i.Cg)([(0,l.MZ)({types:y.yR,json:{read:c.rS,write:!0}})],b.prototype,"geometry",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"lowerBoundaryAlias",void 0),(0,i.Cg)([(0,l.MZ)({type:p.A,json:{name:"outSR",write:!0}})],b.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,l.MZ)({type:[M.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],b.prototype,"outStatistics",void 0),(0,i.Cg)([(0,l.MZ)({value:null,json:{name:"outTimeReference",read:{reader:e=>e.ianaTimeZone},write:{writer:(e,t,n)=>{e&&(t[n]={ianaTimeZone:e})}}}})],b.prototype,"outTimeZone",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],b.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,C.e)(x.x,{name:"spatialRel"})],b.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,l.MZ)({type:S.A,json:{write:!0}})],b.prototype,"timeExtent",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"upperBoundaryAlias",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:m.VY.read,write:{writer:m.VY.write,overridePolicy(e){return{enabled:null!=e&&null!=this.distance}}}}})],b.prototype,"units",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"where",void 0),b=(0,i.Cg)([(0,l.$K)("esri.rest.support.AttributeBinsQuery")],b),b.from=(0,u.dp)(b)},17136:(e,t,n)=>{n.d(t,{Y_:()=>b,O7:()=>B,el:()=>C});var i=n(92602),r=n(69052),s=n(49186),o=n(53966),a=n(39829),l=n(82799),u=n(16930),p=n(80754),c=n(21325),y=n(28735),m=n(11254),d=n(65864),f=n(2272),h=n(84952),g=n(92300);const v=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function w(e){return"polygon"===e[0].type}function x(e){return"polyline"===e[0].type}function M(e,t,n){if(t){const t=function(e,t){if(!(e instanceof l.A||e instanceof a.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw v().error(e),new s.A("internal:geometry",e)}const n=(0,p.r8)(e),i=[];for(const e of n){const n=[];i.push(n),n.push([e[0][0],e[0][1]]);for(let i=0;i<e.length-1;i++){const r=e[i][0],s=e[i][1],o=e[i+1][0],a=e[i+1][1],l=Math.sqrt((o-r)*(o-r)+(a-s)*(a-s)),u=(a-s)/l,p=(o-r)/l,c=l/t;if(c>1){for(let e=1;e<=c-1;e++){const i=e*t,o=p*i+r,a=u*i+s;n.push([o,a])}const e=(l+Math.floor(c-1)*t)/2,i=p*e+r,o=u*e+s;n.push([i,o])}n.push([o,a])}}return function(e){return"polygon"===e.type}(e)?new a.A({rings:i,spatialReference:e.spatialReference}):new l.A({paths:i,spatialReference:e.spatialReference})}(e,1e6);e=(0,y.ci)(t,!0)}return n&&(e=(0,p.kS)(e,n)),e}function S(e,t,n){if(Array.isArray(e)){const i=e[0];if(i>t){const n=(0,p.kd)(i,t);e[0]=i+n*(-2*t)}else if(i<n){const t=(0,p.kd)(i,n);e[0]=i+t*(-2*n)}}else{const i=e.x;if(i>t){const n=(0,p.kd)(i,t);e=e.clone().offset(n*(-2*t),0)}else if(i<n){const t=(0,p.kd)(i,n);e=e.clone().offset(t*(-2*n),0)}}return e}function A(e,t){let n=-1;for(let i=0;i<t.cutIndexes.length;i++){const r=t.cutIndexes[i],s=t.geometries[i],o=(0,p.r8)(s);for(let e=0;e<o.length;e++){const t=o[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const i=t[e][0];n=i>n?i:n}n=Number(n.toFixed(9));const i=-360*(0,p.kd)(n,180);for(let n=0;n<t.length;n++){const t=s.getPoint(e,n);s.setPoint(e,n,t.clone().offset(i,0))}return!0}})}if(r===n){if(w(e))for(const t of(0,p.r8)(s))e[r]=e[r].addRing(t);else if(x(e))for(const t of(0,p.r8)(s))e[r]=e[r].addPath(t)}else n=r,e[r]=s}return e}async function C(e,t,n){if(!Array.isArray(e))return C([e],t);t&&"string"!=typeof t&&v().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const r="string"==typeof t?t:t?.url??i.A.geometryServiceUrl;let s,o,u,w,x,B,j,b,R=0;const Z=[],T=[];for(const t of e)if(null!=t)if(s||(s=t.spatialReference,o=(0,c.Vp)(s),u=s.isWebMercator,B=u?102100:4326,w=p.j7[B].maxX,x=p.j7[B].minX,j=p.j7[B].plus180Line,b=p.j7[B].minus180Line),o)if("mesh"===t.type)T.push(t);else if("point"===t.type)T.push(S(t.clone(),w,x));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>S(e,w,x)),T.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,o);T.push(e.rings?new a.A(e):e)}else if(t.extent){const e=t.extent,n=(0,p.kd)(e.xmin,x)*(2*w);let i=0===n?t.clone():(0,p.kS)(t.clone(),n);e.offset(n,0);let{xmin:r,xmax:s}=e;r=Number(r.toFixed(9)),s=Number(s.toFixed(9)),e.intersects(j)&&s!==w?(R=s>R?s:R,i=M(i,u),Z.push(i),T.push("cut")):e.intersects(b)&&r!==x?(R=s*(2*w)>R?s*(2*w):R,i=M(i,u,360),Z.push(i),T.push("cut")):T.push(i)}else T.push(t.clone());else T.push(t);else T.push(t);let k=(0,p.kd)(R,w),F=-90;const O=k,D=new l.A;for(;k>0;){const e=360*k-180;D.addPath([[e,F],[e,-1*F]]),F*=-1,k--}if(Z.length>0&&O>0){const t=A(Z,await async function(e,t,n,i){const r=(0,f.Dl)(e),s=t[0].spatialReference,o={...i,responseType:"json",query:{...r.query,f:"json",sr:(0,c.YX)(s),target:JSON.stringify({geometryType:(0,d.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},a=await(0,m.A)(r.path+"/cut",o),{cutIndexes:l,geometries:u=[]}=a.data;return{cutIndexes:l,geometries:u.map(e=>{const t=(0,d.rS)(e);return t.spatialReference=s,t})}}(r,Z,D,n)),i=[],s=[];for(let n=0;n<T.length;n++){const r=T[n];if("cut"!==r)s.push(r);else{const r=t.shift(),o=e[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&r.rings.length>=o.rings.length?(i.push(r),s.push("simplify")):s.push(u?(0,y.Gh)(r):r)}}if(!i.length)return s;const o=await async function(e,t,n){const i="string"==typeof e?(0,h.An)(e):e,r=t[0].spatialReference,s=(0,d.$B)(t[0]),o={...n,query:{...i.query,f:"json",sr:(0,c.YX)(r),geometries:JSON.stringify((0,g.X)(t))}},{data:a}=await(0,m.A)(i.path+"/simplify",o);return(0,g.V)(a.geometries,s,r)}(r,i,n),a=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?a.push(t):a.push(u?(0,y.Gh)(o.shift()):o.shift())}return a}const I=[];for(let e=0;e<T.length;e++){const t=T[e];if("cut"!==t)I.push(t);else{const e=Z.shift();I.push(!0===u?(0,y.Gh)(e):e)}}return I}function B(e,t,n){const i=(0,c.Vp)(n);if(null==i)return e;const[r,s]=i.valid,o=2*s;let a=0,l=0;t>s?a=Math.ceil(Math.abs(t-s)/o):t<r&&(a=-Math.ceil(Math.abs(t-r)/o)),e>s?l=Math.ceil(Math.abs(e-s)/o):e<r&&(l=-Math.ceil(Math.abs(e-r)/o));let u=e+(a-l)*o;const p=u-t;return p>s?u-=o:p<r&&(u+=o),u}function j(e){const t=(0,c.Vp)(e);if(null==t)return null;const[n,i]=t.valid;return new r.hr(n,i)}const b=j(u.A.WGS84);j(u.A.WebMercator)},31464:(e,t,n)=>{n.d(t,{Cv:()=>f,Nk:()=>y,lK:()=>g});var i=n(4576),r=n(74887),s=n(91218),o=n(21325),a=n(28735);const l=[0,0];function u(e,t){if(!t)return null;if("x"in t){const n={x:0,y:0};return[n.x,n.y]=e(t.x,t.y,l),null!=t.z&&(n.z=t.z),null!=t.m&&(n.m=t.m),n}if("xmin"in t){const n={xmin:0,ymin:0,xmax:0,ymax:0};return[n.xmin,n.ymin]=e(t.xmin,t.ymin,l),[n.xmax,n.ymax]=e(t.xmax,t.ymax,l),t.hasZ&&(n.zmin=t.zmin,n.zmax=t.zmax,n.hasZ=!0),t.hasM&&(n.mmin=t.mmin,n.mmax=t.mmax,n.hasM=!0),n}return"rings"in t?{rings:p(t.rings,e),hasM:t.hasM,hasZ:t.hasZ}:"paths"in t?{paths:p(t.paths,e),hasM:t.hasM,hasZ:t.hasZ}:"points"in t?{points:c(t.points,e),hasM:t.hasM,hasZ:t.hasZ}:null}function p(e,t){const n=[];for(const i of e)n.push(c(i,t));return n}function c(e,t){const n=[];for(const i of e){const e=t(i[0],i[1],[0,0]);n.push(e),i.length>2&&e.push(i[2]),i.length>3&&e.push(i[3])}return n}async function y(e,t){if(!e||!t)return;const n=Array.isArray(e)?e.map(e=>null!=e.geometry?e.geometry.spatialReference:null).filter(i.Ru):[e];await(0,s.initializeProjection)(n.map(e=>({source:e,dest:t})))}const m=u.bind(null,a.je),d=u.bind(null,a.tD);function f(e,t,n,i){if(!e)return null;if(n||(n=t,t=e.spatialReference),!(0,o.fn)(t)||!(0,o.fn)(n)||(0,o.aI)(t,n))return e;if((0,a.y7)(t,n)){const t=(0,o.K8)(n)?m(e):d(e);return t.spatialReference=n,t}return(0,s.projectMany)([e],t,n,i)[0]}const h=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,n,i){if(!e?.length||!t||!n||(0,o.aI)(t,n))return e;const s={geometries:e,inSpatialReference:t,outSpatialReference:n,options:i,resolve:(0,r.Tw)()};return this._jobs.push(s),this._timer??=setTimeout(this._process,10),s.resolve.promise}_process(){this._timer=null;const e=this._jobs.shift();if(!e)return;const{geometries:t,inSpatialReference:n,outSpatialReference:i,resolve:r,options:l}=e;(0,a.y7)(n,i)&&null==l?.extendedParams?(0,o.K8)(i)?r(t.map(m)):r(t.map(d)):r((0,s.projectMany)(t,n,i,l)),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function g(e,t,n,i){return h.push(e,t,n,i)}},41266:(e,t,n)=>{n.d(t,{A:()=>f});var i=n(31635),r=n(69540),s=n(66552),o=n(25482),a=n(91429),l=n(56507),u=n(93223);const p=new s.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let c=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"outAlias",write:!0}})],c.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:String})],c.prototype,"responseType",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"value",void 0),(0,i.Cg)([(0,u.e)(p)],c.prototype,"valueType",void 0),c=(0,i.Cg)([(0,a.$K)("esri.rest.support.AttributeBinsGrouping")],c);const y=c;c.from=(0,l.dp)(c);const m=new s.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),d=new s.J({naturalLog:"natural-log",squareRoot:"square-root"});let f=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],f.prototype,"expression",void 0),(0,i.Cg)([(0,u.e)(m,{name:"onExpression.valueType"})],f.prototype,"expressionValueType",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"onField",write:!0}})],f.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],f.prototype,"firstDayOfWeek",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],f.prototype,"hideUpperBound",void 0),(0,i.Cg)([(0,a.MZ)({type:y,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],f.prototype,"splitBy",void 0),(0,i.Cg)([(0,a.MZ)({type:y,json:{write:{target:{stackBy:{type:y},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>y.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],f.prototype,"stackBy",void 0),(0,i.Cg)([(0,u.e)(d)],f.prototype,"transformation",void 0),f=(0,i.Cg)([(0,a.$K)("esri.rest.support.BinParametersBase")],f)},57231:(e,t,n)=>{n.d(t,{g:()=>i});const i=(0,n(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"})},58727:(e,t,n)=>{n.d(t,{GC:()=>h,T2:()=>g,VY:()=>y,dO:()=>w,iJ:()=>f,v8:()=>m});var i=n(49186),r=n(66552),s=n(86211),o=n(91218),a=n(90634),l=n(65864),u=n(17136),p=n(21325),c=n(31464);const y=new r.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),m=Object.freeze({}),d="frequency";async function f(e,t,n){const i=e.bin;return i.onField&&(i.onField=i.onField.trim()),i.onExpression?.value&&(i.onExpression.value=i.onExpression.value.trim()),i.splitBy&&(i.splitBy.value&&(i.splitBy.value=i.splitBy.value.trim()),i.splitBy.outAlias&&(i.splitBy.outAlias=i.splitBy.outAlias.trim())),i.stackBy&&(i.stackBy.value&&(i.stackBy.value=i.stackBy.value.trim()),i.stackBy.outAlias&&(i.stackBy.outAlias=i.stackBy.outAlias.trim())),"normalizationField"in i.parameters&&i.parameters.normalizationField&&(i.parameters.normalizationField=i.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:d}]),h(e,t,n)}async function h(e,t,n){const{outFields:i,orderByFields:r,groupByFieldsForStatistics:s,outStatistics:o}=e;if(i)for(let e=0;e<i.length;e++)i[e]=i[e].trim();if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(o)for(let e=0;e<o.length;e++)o[e].onStatisticField&&(o[e].onStatisticField=o[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),g(e,t,n)}async function g(e,t,r){if(!e)return null;let{where:o}=e;if(e.where=o=o?.trim(),(!o||/^1 *= *1$/.test(o)||t&&t===o)&&(e.where=null),!e.geometry)return e;let d=await async function(e){const{distance:t,units:r}=e,o=e.geometry;if(null==t||"vertexAttributes"in o)return o;const a=o.spatialReference,u=r?y.fromJSON(r):(0,s.Ij)(a),m=a&&((0,p.EA)(a)||(0,p.K8)(a))?o:await(0,c.Nk)(a,p.KK).then(()=>(0,c.Cv)(o,p.KK)),d=await n.e(9159).then(n.bind(n,49159));await d.load();const f=d.execute(m,t||1,{unit:u})??void 0;if(!f||!(0,l.Bi)(f)||0===f.rings.length)throw new i.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return f}(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){const{spatialReference:t}=e.geometry;d=(0,a.HA)(d),d.spatialReference=t}if(d){await(0,c.Nk)(d.spatialReference,r),d=function(e,t){const n=e.spatialReference;return v(e,t)&&(0,l.ZC)(e)?{spatialReference:n,rings:[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]}:e}(d,r);const t=(await(0,u.el)((0,l.rS)(d)))[0];if(null==t)throw m;const n="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,i=n&&v(d,r)?{extendedParams:{densificationStep:8*n}}:void 0,s=t.toJSON(),o=(0,c.Cv)(s,s.spatialReference,r,i);if(!o)throw m;o.spatialReference=r,e.geometry=o}return e}function v(e,t){if(!e)return!1;const n=e.spatialReference;return((0,l.ZC)(e)||(0,l.Bi)(e)||(0,l.Rg)(e))&&!(0,p.aI)(n,t)&&!(0,o.canProjectWithoutEngine)(n,t)}function w(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}},59977:(e,t,n)=>{n.d(t,{A:()=>h});var i=n(31635),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(69540),u=n(25482),p=n(57231),c=n(93223);let y=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"number",write:!0}})],y.prototype,"value",void 0),(0,i.Cg)([(0,c.e)(p.g)],y.prototype,"unit",void 0),y=(0,i.Cg)([(0,s.$K)("esri.rest.support.DateBinTimeInterval")],y);const m=y;function d(e,t,n){(0,r.sM)(n,"string"==typeof e?e:e?.getTime(),t)}function f(e,t){const n=e.parameters[t];return n?"string"==typeof n?n:new Date(n):null}y.from=(0,o.dp)(y);let h=class extends a.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,i.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.end",read:{reader:(e,t)=>f(t,"end")},write:{writer:d}}})],h.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({type:m,json:{name:"parameters",write:!0}})],h.prototype,"interval",void 0),(0,i.Cg)([(0,s.MZ)({type:m,json:{name:"parameters.offset",write:!0}})],h.prototype,"offset",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],h.prototype,"returnFullIntervalBin",void 0),(0,i.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.start",read:{reader:(e,t)=>f(t,"start")},write:{writer:d}}})],h.prototype,"start",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],h.prototype,"snapToData",void 0),(0,i.Cg)([(0,c.e)({dateBin:"date"},{readOnly:!0})],h.prototype,"type",void 0),h=(0,i.Cg)([(0,s.$K)("esri.rest.support.DateBinParameters")],h),h.from=(0,o.dp)(h)},60909:(e,t,n)=>{n.d(t,{A:()=>c});var i=n(31635),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(41366),u=n(93223);function p(e,t,n){(0,r.sM)(n,e instanceof Date?e.getTime():e,t)}let c=class extends((0,l.K)(a.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],c.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],c.prototype,"interval",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],c.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,i.Cg)([(0,s.$K)("esri.rest.support.FixedIntervalBinParameters")],c),c.from=(0,o.dp)(c)},69052:(e,t,n)=>{n.d(t,{hr:()=>r,ie:()=>l,uC:()=>a});var i=n(34727);class r{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,i.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+o(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,i=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(i)?n:i}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,i,r=0,s=!1){return(i-=r)<t?i+=o(e,t-i):i>n&&(i-=o(e,i-n)),s&&i===n&&(i=t),i+r}function o(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const a=new r(0,2*Math.PI),l=(new r(-Math.PI,Math.PI),new r(0,360))},80754:(e,t,n)=>{n.d(t,{j7:()=>o,kS:()=>l,kd:()=>a,r8:()=>u});var i=n(82799),r=n(16930),s=n(65864);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const n=u(e);for(const e of n)for(const n of e)n[0]+=t;return e}function u(e){return(0,s.Bi)(e)?e.rings:e.paths}},92300:(e,t,n)=>{n.d(t,{V:()=>s,X:()=>r});var i=n(65864);function r(e){return{geometryType:(0,i.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function s(e,t,n){const r=(0,i.xD)(t);return e.map(e=>{const t=r.fromJSON(e);return t.spatialReference=n,t})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,3169,5913,8125],{5913:(e,t,n)=>{n.d(t,{a:()=>i,e:()=>s,l:()=>u,s:()=>a});var r=n(54945),o=n(78125);function s(e){return(0,o.toPoint)((0,r.g7)((0,o.fromGeometry)(e)),(0,o.getSpatialReference)(e))}function i(e){const t=e.map(o.fromGeometry),n=(0,o.getSpatialReference)(e);return(0,r.zo)(t).map(e=>(0,o.toPoint)(e,n))}const a=(0,r.fz)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:s,executeMany:i,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},15546:(e,t,n)=>{n.d(t,{a:()=>i,c:()=>s});var r=n(55537),o=n(83661);function s(e,t){if(!e.isEmpty())switch(e.getGeometryType()){case r.G.enumPolygon:return a(e);case r.G.enumPolyline:return m(e.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(e){const t=e.calculateLength2D();return 0===t?e.getStartXY():e.calculateWeightedCentroid2D().mul(1/t)}(e);case r.G.enumMultiPoint:return function(e){const t=new o.K(0),n=new o.K(0),r=e.getImpl(),s=r.getAttributeStreamRef(0),i=r.getPointCount(),a=new o.P;for(let e=0;e<i;e++)s.queryPoint2D(2*e,a),t.add(a.x),n.add(a.y);const u=new o.P;return u.setCoords(t.getResult(),n.getResult()),u.divThis(i)}(e);case r.G.enumEnvelope:return e.getCenterXY();case r.G.enumPoint:return e.getXY();default:return o.P.construct(Number.NaN,Number.NaN)}return o.P.construct(Number.NaN,Number.NaN)}function i(e,t){return a(e,t)}function a(e,t=-1){const n=new o.K(0),r=new o.K(0),s=e.getImpl();let i;const a=s.hasNonLinearSegments();let m;const g=s.getXY(0);if(-1===t){if(m=s.calculateArea2D(),0===m)return l(e);a&&(i=s.querySegmentIterator());for(let e=0,t=s.getPathCount();e<t;e++)u(g,s,e,n,r),a&&c(g,i,n,r)}else{if(m=s.calculateRingArea2D(t),0===m)return l(e,t);a&&(i=s.querySegmentIterator(),i.resetToPath(t)),u(g,s,t,n,r),a&&c(g,i,n,r)}const h=new o.P,f=new o.P;return h.setCoords(n.getResult(),r.getResult()),f.assign(h.mul(1/m).add(g)),f}function u(e,t,n,r,s){const i=t.getPathStart(n),a=t.getPathEnd(n);if(a-i<3)return;const u=t.getAttributeStreamRef(0),c=u.readPoint2D(2*i),l=u.readPoint2D(2*(i+1));l.subThis(c);const m=new o.K(0),g=t.hasNonLinearSegments(),h=1/3,f=new o.P;for(let e=i+2;e<a;e++){u.queryPoint2D(2*e,f),f.subThis(c);const t=.5*f.crossProduct(l);g&&m.add(t);const n=h*t;r.add((l.x+f.x)*n),s.add((l.y+f.y)*n),l.setCoordsPoint2D(f)}const P=g?m.getResult():t.calculateRingArea2D(n),d=c.sub(e).mul(P);r.add(d.x),s.add(d.y)}function c(e,t,n,o){let s;for(t.nextPath()||(0,r.d)("centroid");null!==(s=t.nextCurve());){const t=s.calculateWeightedAreaCentroid2D(e);n.add(t.x),o.add(t.y)}}function l(e,t=-1){return m(e.getImpl(),t)}function m(e,t=-1){const n=-1===t?e.calculateLength2D():e.calculatePathLength2D(t);if(0===n)return function(e,t=-1){if(-1!==t)return e.getXY(e.getPathStart(t));const n=new o.K(0),r=new o.K(0);for(let t=0;t<e.getPathCount();++t){const o=e.getXY(e.getPathStart(t));n.add(o.x),r.add(o.y)}return o.P.construct(n.getResult(),r.getResult()).mul(1/e.getPathCount())}(e,t);const r=new o.K(0),s=new o.K(0),i=e.querySegmentIterator();for(-1!==t&&i.resetToPath(t);i.nextPath();){const n=i.getPathIndex(),o=e.getXY(e.getPathStart(n));for(;i.hasNextSegment();){const e=i.nextSegment(),t=e.calculateLength2D();if(0===t)continue;const n=e.calculateWeightedCentroid2D().sub(o.mul(t));r.add(n.x),s.add(n.y)}const a=o.mul(e.calculatePathLength2D(n));if(r.add(a.x),s.add(a.y),-1!==t)break}const a=new o.P;return a.setCoords(r.getResult(),s.getResult()),a.mul(1/n)}},36633:(e,t,n)=>{n.d(t,{O:()=>g});var r=n(55537),o=n(79187),s=n(83661),i=n(39117);function a(){return u(new s.P,-1,Number.NaN)}function u(e,t,n){return{m_coordinate:e.clone(),m_vertexIndex:t,m_geometryIndex:0,m_distance:n,m_bRightSide:!1,isEmpty:c}}function c(){return Number.isNaN(this.m_distance)}function l(e,t,n=-1,a=-1){if(e.isEmpty())return 3;const u=e.getGeometryType();if((0,r.f)(u))return function(e,t,n,o){if(n>=0||o>=0)return(0,r.a)("");if(e.isDegenerate(0))return e.getStartXY().equals(t)?2:3;if(!e.isCurve()){const n=s.P.orientationRobust(t,e.getStartXY(),e.getEndXY());return n<0?1:n>0?0:2}const i=e.getClosestCoordinate(t,!1),a=e.getTangent(i),u=e.getCoord2D(i),c=s.P.orientationRobust(t,u,u.add(a));return c<0?1:c>0?0:2}(e,t,n,a);if(u===r.G.enumPolygon)return function(e,t,n,s){(n>=0||s>=0)&&(0,r.a)("");const a=new o.Envelope2D;e.queryEnvelope(a);const u=(0,i.H)(e,t,0);return 0===u?0:1===u?1:2}(e,t,n,a);if(u===r.G.enumPolyline)return function(e,t,n,o){(n<0&&o>=0||n>=0&&o<0)&&(0,r.a)("");const i=e.querySegmentIterator();if(n<0){let e=Number.MAX_VALUE,r=0;for(;i.nextPath();)for(;i.hasNextSegment();){const a=i.nextSegment(),u=a.getClosestCoordinate(t,!1),c=a.getCoord2D(u),l=s.P.sqrDistance(c,t);l<e?(r=1,n=i.getStartPointIndex(),o=i.getPathIndex(),e=l):l===e&&r++}if(0===r)return 3;if(1===r)return i.resetToVertex(n,o),l(i.nextSegment(),t)}const a=function(e,t,n,r){const o={i1:-1,i2:-1,bRight1:!1,bRight2:!1};if(o.i1=function(e,t,n){for(e.resetToVertex(t,n);e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();for(e.resetToVertex(t,n);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,n,r),-1!==o.i1){t.resetToVertex(o.i1,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r),a=s.P.sqrDistance(i,e);{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),o.bRight1=t.crossProduct(r)<0}if(o.i2=function(e,t){for(e.resetToVertex(t,-1),e.nextSegment();e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,o.i1),-1!==o.i2){t.resetToVertex(o.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(s.P.sqrDistance(i,e)>a)o.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),o.bRight2=t.crossProduct(r)<0}}if(-1===o.i2&&(o.i2=function(e,t){for(e.resetToVertex(t,-1);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,o.i1),-1!==o.i2)){t.resetToVertex(o.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(s.P.sqrDistance(i,e)>a)o.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),o.bRight2=t.crossProduct(r)<0;const s=o.i1;o.i1=o.i2,o.i2=s;const a=o.bRight1;o.bRight1=o.bRight2,o.bRight2=a}}}return o}(t,i,n,o);if(-1!==a.i1&&-1===a.i2)return a.bRight1?1:0;if(-1!==a.i1&&-1!==a.i2){if(a.bRight1===a.bRight2)return a.bRight1?1:0;{i.resetToVertex(a.i1,-1);const e=i.nextSegment().getTangent(1);i.resetToVertex(a.i2,-1);const t=i.nextSegment().getTangent(0);return e.crossProduct(t)>=0?1:0}}return i.resetToVertex(n,o),l(i.nextSegment(),t)}(e,t,n,a);if(u===r.G.enumEnvelope){const n=new o.Envelope2D;return e.queryEnvelope(n),n.contains(t)?n.containsExclusive(t)?1:2:0}return 3}var m=n(95213);class g{getOperatorType(){return 10500}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}getNearestCoordinate(e,t,n,o){if(t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:return this.multiVertexGetNearestVertex(e,t);case r.G.enumPolyline:case r.G.enumPolygon:return this.multiPathGetNearestCoordinate(e,t,n,o);default:(0,r.t)("")}}getNearestVertex(e,t){if(t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertex(e,t);default:(0,r.t)("")}}getNearestVertices(e,t,n,o){if(0===o&&(0,r.a)(""),t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return[];switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertices(e,t,n,o);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertices(e,t,n,o);default:(0,r.t)("")}}multiPathGetNearestCoordinate(e,t,n,a){if(e.getGeometryType()===r.G.enumPolygon&&n){const n=new o.Envelope2D;e.queryEnvelope(n);const r=(0,m.a)(null,n,!1);let s;if(s=(0,i.H)(e,t,a?0:r),0!==s){const e=u(t,-1,0);return a&&(e.m_bRightSide=!0),e}}const c=e.querySegmentIterator(),g=new s.P;let h=-1,f=-1,P=Number.MAX_VALUE,d=0;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment(),n=e.getClosestCoordinate(t,!1),r=e.getCoord2D(n),o=s.P.sqrDistance(r,t);o<P?(d=1,g.assign(r),h=c.getStartPointIndex(),f=c.getPathIndex(),P=o):o===P&&d++}-1===h&&(0,r.a)("");const y=u(g,h,Math.sqrt(P));if(a)if(e.getGeometryType()!==r.G.enumPolygon){let n=!1;if(d>1){const r=l(e,t,h,f);n=0!==r&&3!==r}else c.resetToVertex(h,f),n=0!==l(c.nextSegment(),t);y.m_bRightSide=n}else n||0!==(0,i.H)(e,t,0)&&(y.m_bRightSide=!0);return y}pointGetNearestVertex(e,t){const n=e.getXY();return u(n,0,s.P.distance(n,t))}multiVertexGetNearestVertex(e,t){const n=e.getAttributeStreamRef(0),r=e.getPointCount();let o=-1;const i=new s.P;let a=Number.MAX_VALUE;const c=new s.P;for(let e=0;e<r;e++){n.queryPoint2D(2*e,c);const r=s.P.sqrDistance(c,t);r<a&&(i.assign(c),o=e,a=r)}return u(i,o,Math.sqrt(a))}pointGetNearestVertices(e,t,n,r){const o=[];if(0!==r){const r=n*n,i=e.getXY(),a=s.P.sqrDistance(i,t);a<=r&&o.push(u(i,0,Math.sqrt(a)))}return o}multiVertexGetNearestVertices(e,t,n,r){const o=[];if(0!==r){const i=e.getAttributeStreamRef(0),a=e.getPointCount();o.length=r+1;const c=n*n;for(let e=0;e<a;e++){const n=i.read(2*e),r=i.read(2*e+1),a=t.x-n,l=t.y-r,m=a*a+l*l;m<=c&&o.push(u(s.P.construct(n,r),e,Math.sqrt(m)))}o.sort((e,t)=>e.m_distance-t.m_distance)}return o.slice(0,r)}}},54945:(e,t,n)=>{n.d(t,{fz:()=>d,g7:()=>f,zo:()=>P});var r=n(76061),o=n(55537),s=n(95213),i=n(88885),a=n(79187),u=n(83661),c=n(39117),l=n(15546),m=n(36633);class g extends r.G{progress_(){}tock(){return!0}getRank(){return 1}constructor(e,t){super(),this.m_index=-1,this.m_progressCounter=0,this.m_progressTracker=t,this.m_inputGeoms=e}next(){const e=this.m_inputGeoms.next();return e?((0,o.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.labelPoint(e)):null}getGeometryID(){return this.m_index}labelPoint(e){if(null===e&&(0,o.a)("null pointer is not allowed"),e.getGeometryType()===o.G.enumPoint)return e;if(e.isEmpty())return new s.P({vd:e.getDescription()});switch(e.getGeometryType()){case o.G.enumPolygon:return this.labelPointPolygon(e);case o.G.enumPolyline:return this.labelPointPolyline(e);case o.G.enumMultiPoint:return this.labelPointMultiPoint(e);case o.G.enumEnvelope:return this.labelPointEnvelope(e);default:(0,o.a)("geometry is not supported")}}labelPointPolygon(e){const t=new a.Envelope2D;e.queryEnvelope(t);const n=(0,s.c)(null,t,!0).total();let r=null,g=e;if(e.hasNonLinearSegments()){const t=new i.a({copy:e}),s=(0,c.aJ)(t,.25*n,n);(0,o.g)(s!==e),r=s,g=r}let h=0,f=0;for(let e=0,t=g.getPathCount();e<t;++e){const t=Math.abs(g.calculateRingArea2D(e));t>f&&(f=t,h=e)}const P=new u.P;if(Math.abs(f)<=2*n*n?P.setNAN():P.assign((0,l.a)(g,h)),Number.isNaN(P.x)){const e=new a.Envelope2D;return g.queryPathEnvelope(h,e),new s.P({pt:e.getCenter()})}if(g.getPointCount()<4)return new s.P({x:P.x,y:P.y});const d=u.P.getNAN(),y=[d.clone(),d.clone(),d.clone(),d.clone()],x=[Number.NaN,Number.NaN,Number.NaN,Number.NaN],p=[Number.NaN,Number.NaN,Number.NaN,Number.NaN];let N=!1,C=(new m.O).getNearestCoordinate(g,P,!0,!1);if(0===C.m_distance&&(N=!0,y[0]=P,C=(new m.O).getNearestCoordinate(g,P,!1,!1),C.m_distance>.25*t.minDimension()*1.66666666))return new s.P({x:P.x,y:P.y});x[0]=C.m_distance,p[0]=0;const G=new u.P;let w=!1,b=.25,S=-1;const D=new a.Envelope2D;g.queryPathEnvelope(h,D);do{let e=Number.NaN;if(y[1]=this.calculateParacentroid_(g,(0,u.q)(D.xmin,D.xmax,b),n),y[1].isNAN()||(C=(new m.O).getNearestCoordinate(g,y[1],!1,!1),e=C.m_distance),e>n&&1===(0,c.H)(g,y[1],n))w=!0,x[1]=e,p[1]=u.P.sqrDistance(y[1],P);else if(e>S&&(S=e,G.setCoordsPoint2D(y[1])),b-=.01,b<.1){if(!(S>=0))break;w=!0,x[1]=S,y[1]=G,p[1]=u.P.sqrDistance(y[1],P)}}while(!w);w=!1,b=.5,S=-1;let V=.01,v=1;do{let e=Number.NaN;if(y[2]=this.calculateParacentroid_(g,(0,u.q)(D.xmin,D.xmax,b),n),y[2].isNAN()||(C=(new m.O).getNearestCoordinate(g,y[2],!1,!1),e=C.m_distance),e>n&&1===(0,c.H)(g,y[2],n))w=!0,x[2]=e,p[2]=u.P.sqrDistance(y[2],P);else if(e>S&&(S=e,G.setCoordsPoint2D(y[2])),b=.5+V*v,V+=.01,v*=-1,b<.3||b>.7){if(!(S>=0))break;w=!0,x[2]=S,y[2]=G,p[2]=u.P.sqrDistance(y[2],P)}}while(!w);w=!1,b=.75,S=-1;do{let e=Number.NaN;if(y[3]=this.calculateParacentroid_(g,(0,u.q)(D.xmin,D.xmax,b),n),y[3].isNAN()||(C=(new m.O).getNearestCoordinate(g,y[3],!1,!1),e=C.m_distance),e>n&&1===(0,c.H)(g,y[3],n))w=!0,x[3]=e,p[3]=u.P.sqrDistance(y[3],P);else if(e>S&&(S=e,G.setCoordsPoint2D(y[3])),b+=.01,b>.9){if(!(S>=0))break;w=!0,x[3]=S,y[3]=G,p[3]=u.P.sqrDistance(y[3],P)}}while(!w);const E=[0,1,2,3],R=N?0:1;for(let e=R;e<4;e++)for(let e=R;e<3;e++){const t=p[e],n=p[e+1];if((0,u.r)(t,n)>0){const r=E[e];E[e]=E[e+1],E[e+1]=r,p[e]=n,p[e+1]=t}}let _=R,A=0,M=0;for(let e=R;e<4;e++){switch(e){case 0:M=2*x[E[e]];break;case 1:M=1.66666666*x[E[e]];break;case 2:M=1.33333333*x[E[e]];break;case 3:M=x[E[e]]}M>A&&(A=M,_=E[e])}return(0,o.g)(!y[_].isNAN()),new s.P({x:y[_].x,y:y[_].y})}labelPointPolyline(e){const t=new u.P;if(e.getPointCount()>2*e.getPathCount()){let n=-1,r=-Number.MAX_VALUE;for(let t=0,o=e.getPathCount();t<o;t++)if(e.getPathSize(t)>2){const o=e.calculatePathLength2D(t);o>r&&(r=o,n=t)}const o=e.getPathStart(n),s=e.getPathEnd(n),i=Math.trunc((o+s)/2);t.assign(e.getXY(i))}else{let n=-Number.MAX_VALUE;const r=e.querySegmentIterator();for(;r.nextPath();)if(r.hasNextSegment()){const e=r.nextSegment(),o=e.calculateLength2D();o>n&&(n=o,t.assign(e.getCoord2D(e.lengthToT(.5*o))))}}return new s.P({x:t.x,y:t.y})}labelPointMultiPoint(e){const t=new a.Envelope2D;e.queryEnvelope(t);const n=t.getCenter(),r=(new m.O).getNearestCoordinate(e,n,!1,!1).m_coordinate;return new s.P({x:r.x,y:r.y})}labelPointEnvelope(e){const t=e.getCenterXY();return new s.P({x:t.x,y:t.y})}calculateParacentroid_(e,t,n){const r=new a.Envelope2D;e.queryEnvelope(r);const s=new u.P(t,0);let c=Number.MAX_VALUE,l=Number.MAX_VALUE,m=!1,g=!1;const h=new i.L;h.setStartXYCoords(s.x,r.ymin-1),h.setEndXYCoords(s.x,r.ymax+1);const f=new a.Envelope2D,P=new u.P,d=new u.P,y=(0,u.m)(u.P,2),x=e.querySegmentIterator();for(;x.nextPath();)for(;x.hasNextSegment();){const e=x.nextSegment();if(e.queryEnvelope(f),(0,o.g)(e.isMonotoneQuickAndDirty()),P.setCoordsPoint2D(h.getStartXY()),d.setCoordsPoint2D(h.getEndXY()),0===f.clipLine(P,d))continue;if(1!==h.intersect(e,y,null,null,n))continue;const t=y[0].y;c>l?t<c&&(c=t,m=!0):t<l&&(l=t,g=!0)}return m&&g?s.y=(c+l)/2:s.setNAN(),s}}const h=new class{getOperatorType(){return 10203}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}executeMany(e,t){return new g(e,t)}execute(e,t){return new g(null,t).labelPoint(e)}};function f(e){return h.execute(e,null)}function P(e){const t=h.executeMany(new r.S(e),null);return Array.from(t)}function d(){return h.supportsCurves()}},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>N,fromPoint:()=>C,fromPolygon:()=>G,fromPolyline:()=>w,fromSpatialReference:()=>b,getSpatialReference:()=>y,toExtent:()=>D,toGeometry:()=>S,toMultipoint:()=>V,toPoint:()=>v,toPolygon:()=>E,toPolyline:()=>R});var r=n(83661),o=(n(79187),n(55537)),s=n(95213),i=n(88885),a=n(39117),u=n(5443),c=n(48526),l=n(86738),m=n(39829),g=n(82799),h=(n(90293),n(83299));const f="_gxVersion",P=2,d=1;function y(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function x(e){switch(e.type){case"point":return C(e);case"multipoint":return N(e);case"polyline":return w(e);case"polygon":return G(e);case"extent":return p(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function p(e){if(!e.getCacheValue(f)){const t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(P,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(d,0,e.zmin,e.zmax),e.setCacheValue(f,t)}return e.getCacheValue(f)}function N(e){if(!e.getCacheValue(f)){const t=new i.M,n=new s.P,r=e.points,o=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,s=r.length;e<s;e++){const s=r[e];n.setXYCoords(s[0],s[1]),a&&n.setZ(s[2]??0),o&&n.setM(s[u]??NaN),t.add(n)}e.setCacheValue(f,t)}return e.getCacheValue(f)}function C(e){if(!e.getCacheValue(f)){const t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(f,t)}return e.getCacheValue(f)}function G(e){if(!e.getCacheValue(f)){const{curveRings:t,hasM:n,hasZ:r,rings:o}=e,s=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:o});e.setCacheValue(f,s)}return e.getCacheValue(f)}function w(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:n,hasZ:r,paths:o}=e,s=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:o});e.setCacheValue(f,s)}return e.getCacheValue(f)}function b(e){if(e.wkid)return(0,a.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,a.b)(t):null}function S(e,t){if(e)switch(e.getGeometryType()){case o.G.enumPoint:return v(e,t);case o.G.enumEnvelope:return D(e,t);case o.G.enumMultiPoint:return V(e,t);case o.G.enumPolyline:return R(e,t);case o.G.enumPolygon:return E(e,t)}return null}function D(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(P,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(d,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(f,e),n}function V(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),o=n.hasZ(),i=[],a=new s.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];o&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const u=new c.A({hasM:r,hasZ:o,points:i,spatialReference:t});return u.setCacheValue(f,e),u}function v(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),o=e.getDescription();return o.hasM()&&(n.m=e.getM()),o.hasZ()&&(n.z=e.getZ()),n.setCacheValue(f,e),n}function E(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(f,e),n}function R(e,t){if(e.isEmpty())return null;const n=g.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(f,e),n}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,3169,5924,8125],{30912:(e,t,n)=>{n.r(t),n.d(t,{accelerateGeometry:()=>r.a,execute:()=>r.e,supportsCurves:()=>r.s}),n(39117),n(78125);var r=n(84252)},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>a});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class a extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>x,fromMultipoint:()=>M,fromPoint:()=>V,fromPolygon:()=>v,fromPolyline:()=>w,fromSpatialReference:()=>P,getSpatialReference:()=>G,toExtent:()=>d,toGeometry:()=>R,toMultipoint:()=>Z,toPoint:()=>_,toPolygon:()=>E,toPolyline:()=>S});var r=n(83661),a=(n(79187),n(55537)),s=n(95213),o=n(88885),i=n(39117),u=n(5443),c=n(48526),l=n(86738),m=n(39829),f=n(82799),h=(n(90293),n(83299));const p="_gxVersion",y=2,g=1;function G(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function x(e){switch(e.type){case"point":return V(e);case"multipoint":return M(e);case"polyline":return w(e);case"polygon":return v(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(p)){const t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function M(e){if(!e.getCacheValue(p)){const t=new o.M,n=new s.P,r=e.points,a=e.hasM,i=e.hasZ,u=i?3:2;for(let e=0,s=r.length;e<s;e++){const s=r[e];n.setXYCoords(s[0],s[1]),i&&n.setZ(s[2]??0),a&&n.setM(s[u]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function V(e){if(!e.getCacheValue(p)){const t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function v(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:r,rings:a}=e,s=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:a});e.setCacheValue(p,s)}return e.getCacheValue(p)}function w(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:r,paths:a}=e,s=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:a});e.setCacheValue(p,s)}return e.getCacheValue(p)}function P(e){if(e.wkid)return(0,i.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,i.b)(t):null}function R(e,t){if(e)switch(e.getGeometryType()){case a.G.enumPoint:return _(e,t);case a.G.enumEnvelope:return d(e,t);case a.G.enumMultiPoint:return Z(e,t);case a.G.enumPolyline:return S(e,t);case a.G.enumPolygon:return E(e,t)}return null}function d(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function Z(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),a=n.hasZ(),o=[],i=new s.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,i);const n=[i.getX(),i.getY()];a&&n.push(i.getZ()),r&&n.push(i.getM()),o.push(n)}const u=new c.A({hasM:r,hasZ:a,points:o,spatialReference:t});return u.setCacheValue(p,e),u}function _(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),a=e.getDescription();return a.hasM()&&(n.m=e.getM()),a.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function E(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function S(e,t){if(e.isEmpty())return null;const n=f.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}},84252:(e,t,n)=>{n.d(t,{a:()=>o,c:()=>c,e:()=>i,s:()=>u});var r=n(39117),a=n(78125);const s=new r.E;function o(e){const t=(0,a.getSpatialReference)(e);return s.accelerateGeometry((0,a.fromGeometry)(e),(0,a.fromSpatialReference)(t),1)}function i(e,t){return s.execute((0,a.fromGeometry)(e),(0,a.fromGeometry)(t),(0,a.fromSpatialReference)(e.spatialReference),null)}const u=s.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:o,execute:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6339],{28298:(e,t,n)=>{n.d(t,{fz:()=>i,g7:()=>m,zo:()=>u});var r=n(76061),o=(n(55537),n(83661),n(88885),n(79187),n(39117));n(95213);const s=new o.L;function m(e,t,n){return s.execute(e,t,n,null)}function u(e,t){return s.executeMany(new r.S(e),t,null).next()}function i(){return s.supportsCurves()}},56339:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>s,executeMany:()=>m});var r=n(28298),o=n(83299);function s(e,t){const n=(0,o.fromGeometry)(e),s=n.getSpatialReference();return(0,o.toGeometry)((0,r.g7)(n.getGeometry(),(0,o.fromGeometryToGXGeometry)(t),s),s)}function m(e){const[t,n]=(0,o.fromGeometries)(e);return(0,o.toGeometry)((0,r.zo)(t,n),n)}},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4123],{44123:(t,e,i)=>{i.r(e),i.d(e,{WhereClauseCache:()=>r});var s=i(66344),h=i(88368);class r{constructor(t,e){this._cache=new s.q(t),this._invalidCache=new s.q(e)}get(t,e){const i=`${e?.uid}:${t}`,s=this._cache.get(i);if(s)return s;if(null!=this._invalidCache.get(i))return null;try{const s=h.A.create(t,{fieldsIndex:e});return this._cache.put(i,s),s}catch(t){return this._invalidCache.put(i,t),null}}getError(t,e){const i=`${e?.uid}:${t}`;return this._invalidCache.get(i)??null}}},66344:(t,e,i)=>{i.d(e,{q:()=>o});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class h{get size(){return this._size}constructor(t=10485760){this._maxSize=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db=null}register(t){this._users.set(t.id.slice(0,-1),t)}deregister(t){this.clear(t),this._sizeLimits.delete(t),this._users.delete(t.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,-1),this._checkSize()}getSize(t,e){const i=this._db.get(t.id+e);return i?.size??0}put(t,e,i,h,n){e=t.id+e;const o=this._db.get(e);if(o&&(this._size-=o.size,t.size-=o.size,this._db.delete(e),o.entry!==i&&this._notifyRemove(e,o.entry,o.size,0)),h>this._maxSize)return void this._notifyRemove(e,i,h,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!h||h<0)return s||console.warn(`Refusing to cache entry with size ${h} for key ${e}`),void this._notifyRemove(e,i,0,0);const _=1+Math.max(n,-4)- -3;this._db.set(e,new r(i,h,_)),this._size+=h,t.size+=h,this._checkSize()}updateSize(t,e){e=t.id+e;const i=this._db.get(e);if(!i)return;this._size-=i.size,t.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const t=this._notifyRemove(e,i.entry,s,1);if(!(null!=t&&t>0))return void this._db.delete(e);s=t}i.size=s,this._size+=s,t.size+=s,this._checkSize()}pop(t,e){e=t.id+e;const i=this._db.get(e);if(i)return this._size-=i.size,t.size-=i.size,this._db.delete(e),++this._hit,i.entry;++this._miss}get(t,e){e=t.id+e;const i=this._db.get(e);if(void 0!==i)return this._db.delete(e),i.lives=i.lifetime,this._db.set(e,i),++this._hit,i.entry;++this._miss}peek(t,e){const i=this._db.get(t.id+e);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},i=new Array;this._db.forEach((t,s)=>{const h=t.lifetime;i[h]=(i[h]||0)+t.size,this._users.forEach(i=>{const{id:h,name:r}=i;if(s.startsWith(h)){const i=e[r]||0;e[r]=i+t.size}})});const s={};this._users.forEach(t=>{const i=t.name;if("hitRate"in t&&"number"==typeof t.hitRate&&!isNaN(t.hitRate)&&t.hitRate>0){const h=e[i]||0;e[i]=h,s[i]=Math.round(100*t.hitRate)+"%"}else s[i]="0%"});const h=Object.keys(e);h.sort((t,i)=>e[i]-e[t]),h.forEach(i=>t[i]=Math.round(e[i]/2**20)+"MB / "+s[i]);for(let e=i.length-1;e>=0;--e){const s=i[e];s&&(t["Priority "+(e+-3-1)]=Math.round(s/this._size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._users.forEach(t=>t.resetHitRate())}clear(t){const e=t.id;this._db.forEach((t,i)=>{i.startsWith(e)&&(this._size-=t.size,this._db.delete(i),this._notifyRemove(i,t.entry,t.size,0))}),t.size=0}clearAll(){this._db.forEach((t,e)=>this._notifyRemove(e,t.entry,t.size,0)),this._users.forEach(t=>t.size=0),this._size=0,this._db.clear()}*values(t){for(const[e,i]of this._db)e.startsWith(t.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,i,s){const h=this._users.get(t.split(n)[0])?.removeFunc,r=h?.(e,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((t,e)=>this._checkSizeLimits(t,e)),this._checkSizeLimits(this.maxSize)}setMaxSize(t,e){null==e||e<=0?this._sizeLimits.delete(t):this._sizeLimits.set(t,e)}_checkSizeLimits(t,e){const i=e??this;if(i.size<=t)return;const s=e?.id;let h=!0;for(;h;){h=!1;for(const[r,o]of this._db)if(0===o.lifetime&&(!s||r.startsWith(s))){const s=e??this._users.get(r.split(n)[0]);if(this._purgeItem(r,o,s),i.size<=.9*t)return;h||=this._db.has(r)}}for(const[h,r]of this._db)if(!s||h.startsWith(s)){const s=e??this._users.get(h.split(n)[0]);if(this._purgeItem(h,r,s),i.size<=.9*t)return}}_purgeItem(t,e,i){if(this._db.delete(t),e.lives<=1){this._size-=e.size,i&&(i.size-=e.size);const s=this._notifyRemove(t,e.entry,e.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),e.lives=e.lifetime,e.size=s,this._db.set(t,e))}else--e.lives,this._db.set(t,e)}}new h(0);class r{constructor(t,e,i){this.entry=t,this.size=e,this.lifetime=i,this.lives=i}}const n=":";class o{constructor(t,e){this.removeFunc=e,this._storage=new h,this.id="",this.name="",this.size=0,this._storage.maxSize=t,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(t,e,i=1){this._storage.put(this,t,e,i,1)}pop(t){return this._storage.pop(this,t)}get(t){return this._storage.get(this,t)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(t){this._storage.maxSize=t}resetHitRate(){}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9159],{5808:(e,t,n)=>{n.d(t,{O:()=>o});const o={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},24988:(e,t,n)=>{n.d(t,{Hh:()=>m,fz:()=>c,g7:()=>u,s1:()=>s,zo:()=>a});var o=n(76061),r=n(83290);let i;function s(){return!!i&&(0,r.i)()}async function m(){if(!s()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(7444)]).then(n.bind(n,37444)),Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(5756)]).then(n.bind(n,15756)).then(({injectPe:e})=>e),(0,r.l)()]);i=new e.OperatorGeodesicBuffer,t(r.p)}}function u(e,t,n,o,r){return i.execute(e,t,n,o,r,!1,null)}function a(e,t,n,r,s,m){const u=i.executeMany(new o.S(e),t,n,r,s,!1,m,null);return Array.from(u)}function c(){return i.supportsCurves()}},49159:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>f,executeMany:()=>h,isLoaded:()=>c,load:()=>l});var o=n(4576),r=n(86211),i=n(24988),s=n(5808);let m,u,a;function c(){return!!m&&(0,i.s1)()}async function l(){if(!c()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(3299)]).then(n.bind(n,83299)),(0,i.Hh)()]);m=e.fromGeometries,u=e.fromGeometry,a=e.toGeometry}}function f(e,t,n={}){let{curveType:o="geodesic",maxDeviation:m=NaN,unit:c}=n;c&&(t=(0,r.oU)(t,c,"meters"),m&&(m=(0,r.oU)(m,c,"meters")));const l=u(e),f=l.getSpatialReference();return a((0,i.g7)(l.getGeometry(),f,s.O[o],t,m),f)}function h(e,t,n={}){let{curveType:u="geodesic",maxDeviation:c=NaN,union:l=!1,unit:f}=n;f&&(t=t.map(e=>(0,r.oU)(e,f,"meters")),c&&(c=(0,r.oU)(c,f,"meters")));const[h,d]=m(e);return(0,i.zo)(h,d,s.O[u],t,c,l).map(e=>a(e,d)).filter(o.Ru)}},76061:(e,t,n)=>{n.d(t,{G:()=>o,S:()=>r});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends o{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,591,3169,8125],{60591:(e,t,s)=>{s.r(t),s.d(t,{execute:()=>n.e,executeMany:()=>n.a,supportsCurves:()=>n.s}),s(4576),s(86211),s(70787),s(78125);var n=s(92523)},64523:(e,t,s)=>{s.d(t,{O:()=>c});var n=s(31635),r=s(76061),i=s(55537),a=s(88885),o=s(95213),l=s(83661),u=s(5247);class c{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(e,t,s){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,s,n){return new m(e,t,s,n)}execute(e,t,s,n){return e||(0,i.a)("null param is not allowed."),new m(null,t,s,n).generalize(e)}}class m extends r.G{constructor(e,t,s,n){super(),this.m_pline=null,this.m_point=new o.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=n,this.m_geoms=e,this.m_maxDeviation=t,this.m_bRemoveDegenerateParts=s}tock(){return!0}getRank(){return 1}next(){const e=this.m_geoms.next();return null===e?null:((0,i.c)(e),this.generalize(e))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(e){const t=e.getGeometryType();if((0,i.e)(t))return e;if(t===i.G.enumEnvelope){const t=new a.a({vd:e.getDescription()});return t.addEnvelope(e,!1),this.generalize(t)}if((0,i.f)(t)){const t=new a.P({vd:e.getDescription()});return t.addSegment(e,!0),this.generalize(t)}if((0,i.h)(t)||(0,i.t)(""),e.isEmpty()||this.m_maxDeviation<=0)return e;const s=(new u.O).execute(e,0,.05*this.m_maxDeviation,0,this.m_progressTracker);e.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const r=s,o=e.createInstance();o.getGeometryType()===i.G.enumPolygon&&o.setFillRule(e.getFillRule()),this.m_xy=r.getAttributeStreamRef(0);{const e={stack:[],error:void 0,hasError:!1};try{const t=new a.L;this.m_pline=t,(0,n.mS)(e,(0,l.h)(()=>{this.m_pline=null},!1),!1);for(let e=0,t=r.getPathCount();e<t;e++)this.generalizePath(r.getImpl(),e,o.getImpl())}catch(t){e.error=t,e.hasError=!0}finally{(0,n.hk)(e)}}return this.m_resultstack.length=0,this.m_stack.length=0,o}generalizePath(e,t,s){if(e.getPathSize(t)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const n=e.getPathStart(t),r=e.getPathEnd(t)-1,i=e.isClosedPath(t),a=e.isClosedPathInXYPlane(t);let o=0,u=-1;this.m_stack.push(i?n:r),this.m_stack.push(n);let c=!1,m=!1;for(!this.m_bRemoveDegenerateParts&&a&&(c=!0,m=!0);this.m_stack.length>1;){const t=this.m_stack.at(-1);this.m_stack.pop();const s=this.m_stack.at(-1);let n=e.getXY(t);this.m_pline.setStartXY(n),n=e.getXY(s),this.m_pline.setEndXY(n);const i=[Number.NaN];let a=this.findGreatestDistance(t,s,r,i);a>=0&&(c?c=!1:(m&&i[0]>o&&(o=i[0],u=a),i[0]<=this.m_maxDeviation&&(a=-1))),a>=0?(this.m_stack.push(a),this.m_stack.push(t)):this.m_resultstack.push(t)}i||this.m_resultstack.push(this.m_stack[0]);const h=this.m_resultstack.length;if(h===e.getPathSize(t)&&h===this.m_stack.length)s.addPath(e,t,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(l.P.distance(e.getXY(this.m_resultstack[0]),e.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(m&&u>=0&&o<=this.m_maxDeviation){const e=this.m_resultstack.at(-1)>u;this.m_resultstack.push(u),e&&(this.m_resultstack[this.m_resultstack.length-2]=(0,l.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let t=0,n=this.m_resultstack.length;t<n;t++)e.getPointByVal(this.m_resultstack[t],this.m_point),0===t?s.startPathPoint(this.m_point):s.lineToPoint(this.m_point);if(i){for(let e=this.m_resultstack.length;e<3;e++)s.lineToPoint(this.m_point);s.closePathWithLine()}}}findGreatestDistance(e,t,s,n){let r=t-1;t<=e&&(r=s);let i=-1,a=0;const o=new l.P;for(let t=e+1;t<=r;t++){this.m_xy.queryPoint2D(2*t,o);const e=o.x,s=o.y,n=this.m_pline.getClosestCoordinate(o,!1);o.assign(this.m_pline.getCoord2D(n)),o.x-=e,o.y-=s;const r=o.length();r>a&&(i=t,a=r),this.m_callCount++}return n[0]=a,i}}},70787:(e,t,s)=>{s.d(t,{fz:()=>o,g7:()=>i,zo:()=>a});var n=s(76061);const r=new(s(64523).O);function i(e,t,s){return r.execute(e,t,s,null)}function a(e,t,s){const i=r.executeMany(new n.S(e),t,s,null);return Array.from(i)}function o(){return r.supportsCurves()}},76061:(e,t,s)=>{s.d(t,{G:()=>n,S:()=>r});class n{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends n{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,s)=>{s.r(t),s.d(t,{fromExtent:()=>x,fromGeometry:()=>k,fromMultipoint:()=>P,fromPoint:()=>G,fromPolygon:()=>v,fromPolyline:()=>C,fromSpatialReference:()=>d,getSpatialReference:()=>y,toExtent:()=>M,toGeometry:()=>w,toMultipoint:()=>R,toPoint:()=>D,toPolygon:()=>V,toPolyline:()=>z});var n=s(83661),r=(s(79187),s(55537)),i=s(95213),a=s(88885),o=s(39117),l=s(5443),u=s(48526),c=s(86738),m=s(39829),h=s(82799),g=(s(90293),s(83299));const f="_gxVersion",p=2,_=1;function y(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function k(e){switch(e.type){case"point":return G(e);case"multipoint":return P(e);case"polyline":return C(e);case"polygon":return v(e);case"extent":return x(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function x(e){if(!e.getCacheValue(f)){const t=new i.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(p,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(_,0,e.zmin,e.zmax),e.setCacheValue(f,t)}return e.getCacheValue(f)}function P(e){if(!e.getCacheValue(f)){const t=new a.M,s=new i.P,n=e.points,r=e.hasM,o=e.hasZ,l=o?3:2;for(let e=0,i=n.length;e<i;e++){const i=n[e];s.setXYCoords(i[0],i[1]),o&&s.setZ(i[2]??0),r&&s.setM(i[l]??NaN),t.add(s)}e.setCacheValue(f,t)}return e.getCacheValue(f)}function G(e){if(!e.getCacheValue(f)){const t=new i.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(f,t)}return e.getCacheValue(f)}function v(e){if(!e.getCacheValue(f)){const{curveRings:t,hasM:s,hasZ:n,rings:r}=e,i=(0,g.fromGeometryToGXGeometry)({curveRings:t,hasM:s,hasZ:n,rings:r});e.setCacheValue(f,i)}return e.getCacheValue(f)}function C(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:s,hasZ:n,paths:r}=e,i=(0,g.fromGeometryToGXGeometry)({curvePaths:t,hasM:s,hasZ:n,paths:r});e.setCacheValue(f,i)}return e.getCacheValue(f)}function d(e){if(e.wkid)return(0,o.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,o.b)(t):null}function w(e,t){if(e)switch(e.getGeometryType()){case r.G.enumPoint:return D(e,t);case r.G.enumEnvelope:return M(e,t);case r.G.enumMultiPoint:return R(e,t);case r.G.enumPolyline:return z(e,t);case r.G.enumPolygon:return V(e,t)}return null}function M(e,t){if(e.isEmpty())return null;const s=new l.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),n=e.getDescription();if(n.hasM()){const t=e.queryInterval(p,0);s.mmin=t.vmin,s.mmax=t.vmax}if(n.hasZ()){const t=e.queryInterval(_,0);s.zmin=t.vmin,s.zmax=t.vmax}return s.setCacheValue(f,e),s}function R(e,t){if(e.isEmpty())return null;const s=e.getDescription(),n=s.hasM(),r=s.hasZ(),a=[],o=new i.P;for(let t=0,s=e.getPointCount();t<s;t++){e.getPointByVal(t,o);const s=[o.getX(),o.getY()];r&&s.push(o.getZ()),n&&s.push(o.getM()),a.push(s)}const l=new u.A({hasM:n,hasZ:r,points:a,spatialReference:t});return l.setCacheValue(f,e),l}function D(e,t){if(e instanceof n.P)return new c.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const s=new c.A({x:e.getX(),y:e.getY(),spatialReference:t}),r=e.getDescription();return r.hasM()&&(s.m=e.getM()),r.hasZ()&&(s.z=e.getZ()),s.setCacheValue(f,e),s}function V(e,t){if(e.isEmpty())return null;const s=m.A.fromJSON({spatialReference:t,...(0,g.toGeometry)(e,null)});return s.setCacheValue(f,e),s}function z(e,t){if(e.isEmpty())return null;const s=h.A.fromJSON({spatialReference:t,...(0,g.toGeometry)(e,null)});return s.setCacheValue(f,e),s}},92523:(e,t,s)=>{s.d(t,{a:()=>l,e:()=>o,g:()=>c,s:()=>u});var n=s(4576),r=s(86211),i=s(70787),a=s(78125);function o(e,t,s={}){const{removeDegenerateParts:n=!1,unit:o}=s,l=(0,a.getSpatialReference)(e);return o&&(t=(0,r.UW)(t,o,l)),(0,a.toGeometry)((0,i.g7)((0,a.fromGeometry)(e),t,n),l)}function l(e,t,s={}){const{removeDegenerateParts:o=!1,unit:l}=s,u=e.map(a.fromGeometry),c=(0,a.getSpatialReference)(e);return l&&(t=(0,r.UW)(t,l,c)),(0,i.zo)(u,t,o).map(e=>(0,a.toGeometry)(e,c)).filter(n.Ru)}const u=(0,i.fz)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:l,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))}}]);