@arcgis/core 4.32.0-next.20250106 → 4.32.0-next.20250108

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 (228) hide show
  1. package/AttributeBinsGraphic.js +5 -0
  2. package/README.md +1 -1
  3. package/WebLinkChart.js +1 -1
  4. package/applications/MapViewer/templateUtils.js +1 -1
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/000771f8eefcd6af0fda.js +1 -0
  7. package/assets/esri/core/workers/chunks/{9372d08ba8bf3342c48f.js → 011ccfd3acee83e7dc68.js} +1 -1
  8. package/assets/esri/core/workers/chunks/03af4a51043677ffcd0f.js +1 -0
  9. package/assets/esri/core/workers/chunks/{d07da8b63d83af179a2c.js → 05943caacfd28c383810.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{9f495ad57cdbfa90c5b8.js → 095aeb19e2207c8361ca.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{67c7bdc0c91a8f803ea8.js → 11cb25dfab7c8467897a.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{07304287ed5244fa4e12.js → 12b2c8251ec2d0e2ca46.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{42aa697b4718b75b8cb2.js → 1abeba63bf623a746d5c.js} +2 -2
  14. package/assets/esri/core/workers/chunks/{42aa697b4718b75b8cb2.js.LICENSE.txt → 1abeba63bf623a746d5c.js.LICENSE.txt} +1 -1
  15. package/assets/esri/core/workers/chunks/{a57cead317eb2fc9afd8.js → 206194cf069ad4bcc3ad.js} +1 -1
  16. package/assets/esri/core/workers/chunks/24a597ae32a2083a50a5.js +1 -0
  17. package/assets/esri/core/workers/chunks/{0673d811c496143fc3d4.js → 2779cf112299b612a73a.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{bd37c9cc720587665fd3.js → 304b88ade7551130ad3a.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{aedff36d3fec86abb9fb.js → 30a84ddf0384bb52fdbe.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{367af4aa7e170c8553e3.js → 33a13544b9e5f4f20bce.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{dce55e7f76adecc055c3.js → 35d9457109d0631a1ca8.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{3a90163b76b0bc7f21d2.js → 3767defbd9c4b2e86886.js} +1 -1
  23. package/assets/esri/core/workers/chunks/3a3e9701e5d7b05f41b7.js +1 -0
  24. package/assets/esri/core/workers/chunks/{9a498f2c007f4d78d4dd.js → 4234539a9721104acafb.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{76fa5c7c87831ad25cde.js → 435c037ccba71f1e22d3.js} +1 -1
  26. package/assets/esri/core/workers/chunks/4387c47ae1b36d770f1d.js +1 -0
  27. package/assets/esri/core/workers/chunks/44ec3c77339b9765aaa4.js +1 -0
  28. package/assets/esri/core/workers/chunks/4b77c8d994498899631a.js +1 -0
  29. package/assets/esri/core/workers/chunks/510cb8647841fec436c8.js +1 -0
  30. package/assets/esri/core/workers/chunks/{f9af0473878d960a02f2.js → 58485909e1cfeb52c01e.js} +1 -1
  31. package/assets/esri/core/workers/chunks/5b61a1e7ac60a02a906d.js +1 -0
  32. package/assets/esri/core/workers/chunks/62f8949a2d9076f3c1ea.js +2 -0
  33. package/assets/esri/core/workers/chunks/{c8cd6ba5600d8ff8db0b.js.LICENSE.txt → 62f8949a2d9076f3c1ea.js.LICENSE.txt} +1 -1
  34. package/assets/esri/core/workers/chunks/{664aa401887b59abd7b7.js → 6400f39a965900f66ce7.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{ddce265c46e4dfeb6c6d.js → 66d40a486aa3caa76106.js} +1 -1
  36. package/assets/esri/core/workers/chunks/6b3ee691646fbc39445c.js +1 -0
  37. package/assets/esri/core/workers/chunks/{533a7fd64b17bb294545.js → 6c58f792e2ae3736f662.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{370b230fd2d7703d0698.js → 6efb36bc2205203ff44d.js} +2 -2
  39. package/assets/esri/core/workers/chunks/{370b230fd2d7703d0698.js.LICENSE.txt → 6efb36bc2205203ff44d.js.LICENSE.txt} +1 -1
  40. package/assets/esri/core/workers/chunks/76a7114a69264f5c07b0.js +2 -0
  41. package/assets/esri/core/workers/chunks/{005727711cca0614c2ab.js.LICENSE.txt → 76a7114a69264f5c07b0.js.LICENSE.txt} +1 -1
  42. package/assets/esri/core/workers/chunks/{a90611cdc86190799560.js → 7a43fda8984549a084b8.js} +1 -1
  43. package/assets/esri/core/workers/chunks/7b753da3b8a6d75abf20.js +1 -0
  44. package/assets/esri/core/workers/chunks/{ca1e186f136abb23ae4b.js → 7d0fc25ce1f74adcfeb6.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{9b020c47ca9ff5de9bb8.js → 7db356976198c4df76c1.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{9ad7d095e614e7e8d7f5.js → 7df076d15b7b7a66dcee.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{955421ee2247965244f0.js → 7fe92f072d3641ec4662.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{4c56698cf1c669371865.js → 81816410cb1453938593.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{4ffaa2c5ab47a599ee9f.js → 82266ca8002554198208.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{88c68881cbdf4e911832.js → 89286d8f59844724cd16.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{f19d3c855f6e93544918.js → 8be0151a24c9af76a976.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{d9e396adf3354ee68339.js → 8f2b2d2dc9935b0d2039.js} +1 -1
  53. package/assets/esri/core/workers/chunks/907a91266e25cc4b9d42.js +1 -0
  54. package/assets/esri/core/workers/chunks/{a77aa86896bbb0e088df.js → 9857491cafa0278d9ae6.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{993db7646a8fc60179eb.js → 98da074899c82f0ded0b.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{3bb94da29dac3367ecc6.js → a1edd3f68e691ea39594.js} +1 -1
  57. package/assets/esri/core/workers/chunks/a8ec4189ec3b37d5ff74.js +1 -0
  58. package/assets/esri/core/workers/chunks/{6a4305eb1e52b80ecb5c.js → b8ea84adff5619040494.js} +3 -3
  59. package/assets/esri/core/workers/chunks/c4374b6bc5c8dc6435c7.js +1 -0
  60. package/assets/esri/core/workers/chunks/c5a928dcff7dc8a8cc9f.js +2 -0
  61. package/assets/esri/core/workers/chunks/{f4e3db71d1adae717535.js.LICENSE.txt → c5a928dcff7dc8a8cc9f.js.LICENSE.txt} +1 -1
  62. package/assets/esri/core/workers/chunks/cac79b64a7dade8bf486.js +2 -0
  63. package/assets/esri/core/workers/chunks/{bf0a0ca7fdac98f06a89.js.LICENSE.txt → cac79b64a7dade8bf486.js.LICENSE.txt} +1 -1
  64. package/assets/esri/core/workers/chunks/cd92b80de7e9f982f9a9.js +1 -0
  65. package/assets/esri/core/workers/chunks/{2cccaf50134c65944e0a.js → d0876eed5249b029f9f0.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{178f606c8896ae5f39de.js → d1dbbab4a4c6072c182f.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{8e42fb623f56942958d8.js → d74b5dc60f02892d03e7.js} +1 -1
  68. package/assets/esri/core/workers/chunks/e27b8674a3492db51f2e.js +1 -0
  69. package/assets/esri/core/workers/chunks/{756c2f7c8659deab6c96.js → e2d987c39a6ef318511c.js} +2 -2
  70. package/assets/esri/core/workers/chunks/{756c2f7c8659deab6c96.js.LICENSE.txt → e2d987c39a6ef318511c.js.LICENSE.txt} +1 -1
  71. package/assets/esri/core/workers/chunks/{943428cf643e87ccfaad.js → e7e26b71f9eb28421936.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{f0adabf6d71a27f3183b.js → e80b0646a7e0e466ea65.js} +1 -1
  73. package/assets/esri/core/workers/chunks/e9c21907fabcedbd32ae.js +1 -0
  74. package/assets/esri/core/workers/chunks/{3ed7c8138231de3a3b96.js → f8c960df1dabab120c70.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{fdd8a5eb07466541f1f9.js → fd95b19f02d8dfef2baf.js} +1 -1
  76. package/assets/esri/widgets/support/GridControls/t9n/GridControls_ja.json +1 -1
  77. package/chunks/CrackAndCluster-CfzXpEle.js +1 -1
  78. package/chunks/LineSeries.js +1 -1
  79. package/chunks/OperatorProject.js +1 -1
  80. package/chunks/Pattern.glsl.js +1 -1
  81. package/chunks/QuadraticBezier.js +1 -1
  82. package/chunks/Transformation2D.js +1 -1
  83. package/chunks/bufferOperator.js +1 -1
  84. package/chunks/chartUtilsAm5.js +1 -1
  85. package/chunks/geodesicBufferOperator.js +1 -1
  86. package/chunks/lyr3DWorker.js +1 -1
  87. package/chunks/terrainUtilsPlanar.js +1 -1
  88. package/chunks/terrainUtilsSpherical.js +1 -1
  89. package/chunks/vxlLayer.js +1 -1
  90. package/geometry/operators/graphicBufferOperator.js +1 -1
  91. package/geometry/support/meshUtils/primitives.js +1 -1
  92. package/geometry/support/meshVertexSpaceUtils.js +1 -1
  93. package/geometry/support/triangle.js +1 -1
  94. package/interfaces.d.ts +186 -96
  95. package/layers/LinkChartLayer.js +1 -1
  96. package/layers/MapNotesLayer.js +1 -1
  97. package/layers/MediaLayer.js +1 -1
  98. package/layers/graphics/data/QueryEngineResult.js +1 -1
  99. package/layers/graphics/data/queryUtils.js +1 -1
  100. package/layers/graphics/data/queryValidationUtils.js +1 -1
  101. package/layers/graphics/sources/WFSSource.js +1 -1
  102. package/layers/support/ImageElement.js +1 -1
  103. package/layers/support/VideoElement.js +1 -1
  104. package/layers/support/capabilities.js +1 -1
  105. package/layers/support/featureLayerUtils.js +1 -1
  106. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  107. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  108. package/layers/video/VideoController.js +1 -1
  109. package/linkChart/OrganicLayoutSettings.js +1 -1
  110. package/package.json +4 -4
  111. package/renderers/RasterStretchRenderer.js +1 -1
  112. package/rest/query/executeAttributeBinsQuery.js +1 -1
  113. package/rest/support/AttributeBinsFeatureSet.js +5 -0
  114. package/rest/support/AttributeBinsQuery.js +1 -1
  115. package/rest/support/BinParametersAttributes.js +1 -1
  116. package/rest/support/BinParametersBase.js +1 -1
  117. package/rest/support/DateBinParameters.js +1 -1
  118. package/rest/support/FeatureSet.js +1 -1
  119. package/rest/support/NormalizationBinParametersMixin.js +1 -1
  120. package/rest/support/Query.js +1 -1
  121. package/rest/support/TopFeaturesQuery.js +1 -1
  122. package/smartMapping/renderers/color.js +1 -1
  123. package/smartMapping/renderers/dotDensity.js +1 -1
  124. package/smartMapping/renderers/pieChart.js +1 -1
  125. package/smartMapping/renderers/size.js +1 -1
  126. package/smartMapping/renderers/univariateColorSize.js +1 -1
  127. package/smartMapping/statistics/summaryStatisticsForAttributes.js +1 -1
  128. package/support/mediaLayerUtils.js +5 -0
  129. package/support/revision.js +1 -1
  130. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  131. package/symbols/cim/cimAnalyzer.js +1 -1
  132. package/symbols/cim/placements/PlacementInsidePolygon.js +1 -1
  133. package/views/2d/AnimationManager.js +1 -1
  134. package/views/2d/engine/Bitmap.js +1 -1
  135. package/views/2d/engine/BitmapContainer.js +1 -1
  136. package/views/2d/engine/BitmapTileContainer.js +1 -1
  137. package/views/2d/engine/vectorTiles/buckets/FillBucket.js +1 -1
  138. package/views/2d/engine/webgl/Overlay.js +1 -1
  139. package/views/2d/engine/webgl/SDFConverter.js +1 -1
  140. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  141. package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
  142. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  143. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  144. package/views/2d/layers/features/processor/ClusterStrategy.js +1 -1
  145. package/views/2d/layers/features/support/GraphicsReader.js +1 -1
  146. package/views/2d/navigation/MapViewNavigation.js +1 -1
  147. package/views/2d/support/HighlightGroup.js +1 -1
  148. package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
  149. package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
  150. package/views/3d/analysis/Viewshed/FieldOfViewManipulation.js +1 -1
  151. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  152. package/views/3d/analysis/support/measurementUtils.js +1 -1
  153. package/views/3d/environment/CloudsParameters.js +1 -1
  154. package/views/3d/environment/MarsAtmosphere.js +1 -1
  155. package/views/3d/interactive/editingTools/transform/ScaleRotateTransform.js +1 -1
  156. package/views/3d/layers/MediaLayerView3D.js +1 -1
  157. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  158. package/views/3d/layers/graphics/placementUtils.js +1 -1
  159. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  160. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  161. package/views/3d/state/NearFarHeuristic.js +1 -1
  162. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  163. package/views/3d/support/HighlightGroup.js +1 -1
  164. package/views/3d/terrain/SphericalPatch.js +1 -1
  165. package/views/3d/terrain/TerrainRenderer.js +1 -1
  166. package/views/3d/terrain/TerrainSurface.js +1 -1
  167. package/views/3d/terrain/TilePerLayerInfo.js +1 -1
  168. package/views/3d/terrain/TileRenderer.js +1 -1
  169. package/views/3d/terrain/TileTexture.js +1 -1
  170. package/views/3d/terrain/terrainUtilsPlanar.js +1 -1
  171. package/views/3d/terrain/terrainUtilsSpherical.js +1 -1
  172. package/views/3d/webgl-engine/collections/Component/ComponentIntersectionData.js +1 -1
  173. package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
  174. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  175. package/views/3d/webgl-engine/lib/PathProfile.js +1 -1
  176. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  177. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  178. package/views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js +4 -4
  179. package/views/SceneView.js +1 -1
  180. package/views/View.js +1 -1
  181. package/views/draw/support/HighlightHelper.js +1 -1
  182. package/views/input/BrowserEventSource.js +1 -1
  183. package/views/layers/DimensionLayerView.js +1 -1
  184. package/views/layers/MediaLayerView.js +1 -1
  185. package/views/support/HighlightGroup.d.ts +4 -0
  186. package/views/support/HighlightGroup.js +5 -0
  187. package/views/webgl/Texture.js +1 -1
  188. package/views/webgl/textureUtils.js +5 -0
  189. package/webscene/Slide.js +1 -1
  190. package/widgets/BasemapLayerList.js +1 -1
  191. package/widgets/BuildingExplorer/BuildingLevelPicker/BuildingLevelPicker.js +1 -1
  192. package/widgets/CatalogLayerList.js +1 -1
  193. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  194. package/widgets/Editor/UpdateWorkflow.js +1 -1
  195. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  196. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  197. package/widgets/FeatureTable/support/exportUtils.js +1 -1
  198. package/widgets/FeatureTable/support/tableUtils.js +1 -1
  199. package/widgets/LayerList/support/layerListUtils.js +1 -1
  200. package/widgets/LayerList.js +1 -1
  201. package/widgets/Legend/styles/support/relationshipUtils.js +1 -1
  202. package/widgets/PanoramicViewer/utils.js +1 -1
  203. package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js +1 -1
  204. package/widgets/Sketch/SketchViewModel.js +1 -1
  205. package/widgets/TableList.js +1 -1
  206. package/widgets/support/ColorPicker.js +1 -1
  207. package/assets/esri/core/workers/chunks/005727711cca0614c2ab.js +0 -2
  208. package/assets/esri/core/workers/chunks/0a3bf1b74cce1b6b7ed8.js +0 -1
  209. package/assets/esri/core/workers/chunks/0d2411a941c42acb8cc2.js +0 -1
  210. package/assets/esri/core/workers/chunks/127c82cdb229434883b6.js +0 -1
  211. package/assets/esri/core/workers/chunks/13720b1d97fb7d80e972.js +0 -1
  212. package/assets/esri/core/workers/chunks/14b87f3dd9942e6b19d0.js +0 -1
  213. package/assets/esri/core/workers/chunks/16530347bd78dc6c2fcd.js +0 -1
  214. package/assets/esri/core/workers/chunks/1a713cc601c6fcd97d2f.js +0 -1
  215. package/assets/esri/core/workers/chunks/3029354194f1a3030c5c.js +0 -1
  216. package/assets/esri/core/workers/chunks/318a39b56851e707edad.js +0 -1
  217. package/assets/esri/core/workers/chunks/53cd990b2c988518de6d.js +0 -1
  218. package/assets/esri/core/workers/chunks/5a0eb9dfe668cf290462.js +0 -1
  219. package/assets/esri/core/workers/chunks/66b411119b8ffb99b9dc.js +0 -1
  220. package/assets/esri/core/workers/chunks/8cd2c9ec1e541836b81c.js +0 -1
  221. package/assets/esri/core/workers/chunks/9f0ebeae8a3ba360284b.js +0 -1
  222. package/assets/esri/core/workers/chunks/a3cef3837f4df9ab022e.js +0 -1
  223. package/assets/esri/core/workers/chunks/bf0a0ca7fdac98f06a89.js +0 -2
  224. package/assets/esri/core/workers/chunks/c8cd6ba5600d8ff8db0b.js +0 -2
  225. package/assets/esri/core/workers/chunks/ea250d66089967976c05.js +0 -1
  226. package/assets/esri/core/workers/chunks/ecf317c6c790b3cc83bf.js +0 -1
  227. package/assets/esri/core/workers/chunks/f4e3db71d1adae717535.js +0 -2
  228. package/views/2d/support/HighlightGroup.d.ts +0 -4
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2935,5018,8265,9340],{39516:(e,t,r)=>{async function s(e,t){const{default:s}=await r.e(8368).then(r.bind(r,88368));return s.create(e,{fieldsIndex:t})}function o(e,t){return"1=1"===e?t??e:"1=1"===t?e??t:null!=e&&""!==e?null!=t&&""!==t?`(${e}) AND (${t})`:e:t}r.d(t,{G:()=>s,m:()=>o})},13069:(e,t,r)=>{r.d(t,{AG:()=>a,lk:()=>o,vD:()=>i,yS:()=>n});const s="randomUUID"in crypto;function o(){if(s)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function n(){return`{${o().toUpperCase()}}`}function i(){return`{${o()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},72256:(e,t,r)=>{r.r(t),r.d(t,{default:()=>A});var s=r(90237),o=(r(59456),r(49186)),n=r(74887),i=r(84952),a=r(10107),l=r(44208),p=(r(53966),r(87811),r(36005)),u=r(40608),c=r(13600),d=r(92474),y=r(29953),h=r(22671),m=r(5443);let f=class extends d.A{constructor(e){super(e),this.type="csv",this.refresh=(0,n.sg)((async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return t&&(this.sourceJSON.extent=t),r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}}))}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);const r=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t);return h.A.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){return await this.load(t),this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:r.count,extent:m.A.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?e.toJSON():null,t)}async _startWorker(e){this._connection=await(0,y.ho)("CSVSourceWorker",{strategy:(0,l.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{url:t,delimiter:r,fields:s,latitudeField:o,longitudeField:n,spatialReference:i,timeInfo:a}=this.loadOptions,p=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:s?.map((e=>e.toJSON())),latitudeField:o,longitudeField:n,spatialReference:i?.toJSON(),timeInfo:a?.toJSON()}},{signal:e});this.locationInfo=p.locationInfo,this.sourceJSON=p.layerDefinition,this.delimiter=p.delimiter}};(0,s._)([(0,a.MZ)()],f.prototype,"type",void 0),(0,s._)([(0,a.MZ)()],f.prototype,"loadOptions",void 0),(0,s._)([(0,a.MZ)()],f.prototype,"customParameters",void 0),(0,s._)([(0,a.MZ)()],f.prototype,"locationInfo",void 0),(0,s._)([(0,a.MZ)()],f.prototype,"sourceJSON",void 0),(0,s._)([(0,a.MZ)()],f.prototype,"delimiter",void 0),f=(0,s._)([(0,u.$)("esri.layers.graphics.sources.CSVSource")],f);var g=r(64714),v=r(61956),w=r(97159),S=r(16930);function x(e,t){throw new o.A(t,`CSVLayer (title: ${e.title}, id: ${e.id}) cannot be saved to a portal item`)}let _=class extends c.default{constructor(...e){super(...e),this.geometryType="point",this.capabilities=(0,g.f)(!1,!1),this.delimiter=null,this.editingEnabled=!1,this.fields=null,this.latitudeField=null,this.locationType="coordinates",this.longitudeField=null,this.operationalLayerType="CSV",this.outFields=["*"],this.path=null,this.spatialReference=S.A.WGS84,this.source=null,this.type="csv"}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["CSV"],supportsData:!1},e).catch(n.QP).then((async()=>this.initLayerProperties(await this.createGraphicsSource(t))));return this.addResolvingPromise(r),Promise.resolve(this)}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return null!=t.showLabels?t.showLabels:!!t.layerDefinition?.drawingInfo?.labelingInfo}set url(e){if(!e)return void this._set("url",e);const t=(0,i.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async createGraphicsSource(e){const t=new f({loadOptions:{delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField??void 0,longitudeField:this.longitudeField??void 0,spatialReference:this.spatialReference??void 0,timeInfo:this.timeInfo??void 0,url:this.url},customParameters:this.customParameters??void 0});return this._set("source",t),await t.load({signal:e}),this.read({locationInfo:t.locationInfo,columnDelimiter:t.delimiter},{origin:"service",url:this.parsedUrl}),t}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures(v.A.from(e)||this.createQuery()))).then((e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this;return e}))}queryObjectIds(e,t){return this.load().then((()=>this.source.queryObjectIds(v.A.from(e)||this.createQuery())))}queryFeatureCount(e,t){return this.load().then((()=>this.source.queryFeatureCount(v.A.from(e)||this.createQuery())))}queryExtent(e,t){return this.load().then((()=>this.source.queryExtent(v.A.from(e)||this.createQuery())))}read(e,t){super.read(e,t),t&&"service"===t.origin&&this.revert(["latitudeField","longitudeField"],"service")}write(e,t){return super.write(e,{...t,writeLayerSchema:!0})}clone(){throw new o.A("csv-layer:clone",`CSVLayer (title: ${this.title}, id: ${this.id}) cannot be cloned`)}async save(e){return x(this,"csv-layer:save")}async saveAs(e,t){return x(this,"csv-layer:save-as")}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}_verifyFields(){}_verifySource(){}_hasMemorySource(){return!1}};(0,s._)([(0,a.MZ)({readOnly:!0,json:{read:!1,write:!1}})],_.prototype,"capabilities",void 0),(0,s._)([(0,a.MZ)({type:[","," ",";","|","\t"],json:{read:{source:"columnDelimiter"},write:{target:"columnDelimiter",ignoreOrigin:!0}}})],_.prototype,"delimiter",void 0),(0,s._)([(0,a.MZ)({readOnly:!0,type:Boolean,json:{origins:{"web-scene":{read:!1,write:!1}}}})],_.prototype,"editingEnabled",void 0),(0,s._)([(0,a.MZ)({json:{read:{source:"layerDefinition.fields"},write:{target:"layerDefinition.fields"}}})],_.prototype,"fields",void 0),(0,s._)([(0,a.MZ)({type:Boolean,readOnly:!0})],_.prototype,"isTable",null),(0,s._)([(0,p.w)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],_.prototype,"readWebMapLabelsVisible",null),(0,s._)([(0,a.MZ)({type:String,json:{read:{source:"locationInfo.latitudeFieldName"},write:{target:"locationInfo.latitudeFieldName",ignoreOrigin:!0}}})],_.prototype,"latitudeField",void 0),(0,s._)([(0,a.MZ)({type:["show","hide"]})],_.prototype,"listMode",void 0),(0,s._)([(0,a.MZ)({type:["coordinates"],json:{read:{source:"locationInfo.locationType"},write:{target:"locationInfo.locationType",ignoreOrigin:!0,isRequired:!0}}})],_.prototype,"locationType",void 0),(0,s._)([(0,a.MZ)({type:String,json:{read:{source:"locationInfo.longitudeFieldName"},write:{target:"locationInfo.longitudeFieldName",ignoreOrigin:!0}}})],_.prototype,"longitudeField",void 0),(0,s._)([(0,a.MZ)({type:["CSV"]})],_.prototype,"operationalLayerType",void 0),(0,s._)([(0,a.MZ)()],_.prototype,"outFields",void 0),(0,s._)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{read:!1,write:!1}},read:!1,write:!1}})],_.prototype,"path",void 0),(0,s._)([(0,a.MZ)({json:{read:!1},cast:null,type:f,readOnly:!0})],_.prototype,"source",void 0),(0,s._)([(0,a.MZ)({json:{read:!1},value:"csv",readOnly:!0})],_.prototype,"type",void 0),(0,s._)([(0,a.MZ)({json:{read:w.r,write:{isRequired:!0,ignoreOrigin:!0,writer:w.w}}})],_.prototype,"url",null),_=(0,s._)([(0,u.$)("esri.layers.CSVLayer")],_);const A=_},99352:(e,t,r)=>{r.d(t,{F:()=>s});const s={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1}},64714:(e,t,r)=>{r.d(t,{F0:()=>l,Vx:()=>c,e2:()=>y,f:()=>h});var s=r(44208),o=r(4718),n=r(99352),i=r(4071),a=r(93470);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?a.Cb:"esriGeometryPolyline"===e?a.yM:a.WR}}}const p=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function c(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${d(t)} = null;`;for(const t in e)r+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[t]:null,...e})}}function d(e){return p.test(e)?`.${e}`:`["${e}"]`}function y(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,o.o8)(e)}}]}function h(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:n.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:i.$,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},32756:(e,t,r)=>{r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>p});var s=r(90237),o=r(93637),n=r(10107),i=(r(44208),r(53966),r(87811),r(40608)),a=r(91880);function l(e,t,r){if(!e)return null;const s=e.find((e=>!!e.field));if(!s)return null;const o=new a.A;return o.read(s,r),[o]}const p={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,s){const n=e.find((e=>!!e.field));n&&(0,o.sM)(r,[n.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,s._)([(0,n.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,s._)([(0,i.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,r)=>{r.d(t,{A:()=>y});var s=r(90237),o=r(69540),n=r(25482),i=r(10107),a=(r(44208),r(53966),r(87811),r(36005)),l=r(40608),p=r(43937),u=r(80451),c=r(29005);let d=class extends(o.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.rS)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,s._)([(0,i.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,s._)([(0,i.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,s._)([(0,i.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,s._)([(0,a.w)("domains")],d.prototype,"readDomains",null),(0,s._)([(0,p.K)("domains")],d.prototype,"writeDomains",null),(0,s._)([(0,i.MZ)({type:[c.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,s._)([(0,l.$)("esri.layers.support.FeatureType")],d);const y=d},91880:(e,t,r)=>{r.d(t,{A:()=>c});var s,o=r(90237),n=r(66552),i=r(25482),a=r(10107),l=(r(44208),r(53966),r(87811),r(40608));const p=new n.J({asc:"ascending",desc:"descending"});let u=s=class extends i.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new s({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o._)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,o._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,o._)([(0,a.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=s=(0,o._)([(0,l.$)("esri.layers.support.OrderByInfo")],u);const c=u},4071:(e,t,r)=>{r.d(t,{$:()=>s,P:()=>o});const s={supportsDate:!1,supportsFixedInterval:!1,supportsAutoInterval:!1,supportsFixedBoundaries:!1,supportsStackBy:!1,supportsSplitBy:!1,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!1,supportedStatistics:void 0,supportedNormalizationTypes:void 0},o={analytics:{supportsCacheHint:!1},attachment:{supportsContentType:!1,supportsExifInfo:!1,supportsKeywords:!1,supportsName:!1,supportsSize:!1,supportsCacheHint:!1,supportsResize:!1},data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsAsyncApplyEdits:!1,zDefault:void 0},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryBins:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1,supportsAsyncConvert3D:!1},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s,query:{maxRecordCount:0,maxRecordCountFactor:0,standardMaxRecordCount:0,supportsCacheHint:!1,supportsCentroid:!1,supportsCompactGeometry:!1,supportsCurrentUser:!1,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByAnonymous:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsReturnMesh:!1,supportsSqlExpression:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsTrueCurve:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsStatistics:!1,tileMaxRecordCount:0}}},32730:(e,t,r)=>{r.d(t,{BI:()=>f,D3:()=>h,XJ:()=>m,lc:()=>y,mX:()=>v,rU:()=>g,tH:()=>A});var s=r(799);const o="__begin__",n="__end__",i=new RegExp(o,"ig"),a=new RegExp(n,"ig"),l=new RegExp("^"+o,"i"),p=new RegExp(n+"$","i"),u='"',c=u+" + ",d=" + "+u;function y(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=y(e.labelExpression),t.type="conventional"),t}function f(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function g(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return A(t.expression)}return null}function v(e){let t;return e?(t=(0,s.HC)(e,(e=>o+'$feature["'+e+'"]'+n)),t=l.test(t)?t.replace(l,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(i,c).replaceAll(a,d)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,S=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,x=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,_=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function A(e){if(!e)return null;let t=S.exec(e)||x.exec(e);return t?t[1]||t[3]:(t=_.exec(e),t?t[2]:null)}},58501:(e,t,r)=>{r.d(t,{q:()=>o});var s=r(62815);function o(e,t,r){if(!r?.features||!r.hasZ)return;const o=(0,s.N)(r.geometryType,t,e.outSpatialReference);if(null!=o)for(const e of r.features)o(e.geometry)}},22671:(e,t,r)=>{r.d(t,{A:()=>w});var s,o=r(90237),n=r(59456),i=r(52106),a=r(66552),l=r(25482),p=r(4718),u=r(10107),c=(r(44208),r(53966),r(36005)),d=r(40608),y=r(43937),h=r(16930),m=r(65864),f=r(20437);const g=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=s=class extends l.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,i.A)}writeGeometryType(e,t,r,s){if(e)return void g.write(e,t,r,s);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,s)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,s=(0,m.rS)(e);return s&&!r&&t.spatialReference&&(s.spatialReference=h.A.fromJSON(t.spatialReference)),s}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new s(this.cloneProperties())}cloneProperties(){return(0,p.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const s=t.features[r];if(s.geometry){const t=e?.[r];s.geometry=t?.toJSON()||s.geometry}}return t}quantize(e){const{scale:[t,r],translate:[s,o]}=e,n=this.features,i=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-s)/t)),(e=>Math.round((o-e)/r)));for(let e=0,t=n.length;e<t;e++)i?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[s,o],scale:[n,i]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,(e=>e*n+s),(e=>o-e*i),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const s=h.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const n=e[t],i=r.fromJSON(n),a=n.geometry?.spatialReference;null==i.geometry||a||(i.geometry.spatialReference=s);const l=n.aggregateGeometries,p=i.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],r=l[e],o=r?.spatialReference;null==t||o||(t.spatialReference=s)}o.push(i)}return o}_quantizePoints(e,t,r){let s,o;const n=[];for(let i=0,a=e.length;i<a;i++){const a=e[i];if(i>0){const e=t(a[0]),i=r(a[1]);e===s&&i===o||(n.push([e-s,i-o]),s=e,o=i)}else s=t(a[0]),o=r(a[1]),n.push([s,o])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const s=(0,m.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,n=s.length;e<n;e++){const n=s[e],i=this._quantizePoints(n,t,r);i&&o.push(i)}return o.length>0?((0,m.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const s=this._quantizePoints(e.points,t,r);return s&&s.length>0?(e.points=s,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,s,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),s&&(e.z=s(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,m.Bi)(e)?e.rings:e.paths;let i,a;for(let e=0,s=n.length;e<s;e++){const s=n[e];for(let e=0,o=s.length;e<o;e++){const o=s[e];e>0?(i+=o[0],a+=o[1]):(i=o[0],a=o[1]),o[0]=t(i),o[1]=r(a)}}if(s&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2]),r[3]=o(r[3])}}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),s&&null!=e.zmax&&null!=e.zmin&&(e.zmax=s(e.zmax),e.zmin=s(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let i,a;for(let e=0,s=n.length;e<s;e++){const s=n[e];e>0?(i+=s[0],a+=s[1]):(i=s[0],a=s[1]),s[0]=t(i),s[1]=r(a)}if(s&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2]),t[3]=o(t[3])}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2])}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,u.MZ)({type:[i.A],json:{write:!0}})],v.prototype,"features",void 0),(0,o._)([(0,c.w)("features")],v.prototype,"readFeatures",null),(0,o._)([(0,u.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,o._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,o._)([(0,y.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,o._)([(0,u.MZ)({types:n.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,o._)([(0,c.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,o._)([(0,u.MZ)({type:h.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,o._)([(0,y.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,o._)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=s=(0,o._)([(0,d.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const w=v},41366:(e,t,r)=>{r.d(t,{K:()=>d,Q:()=>p});var s=r(90237),o=r(66552),n=r(53966),i=r(10107),a=(r(44208),r(87811),r(93223)),l=r(40608);const p=(0,o.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",d=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,s._)([(0,i.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,s._)([(0,a.e)(p,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,s._)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},92935:(e,t,r)=>{var s;r.d(t,{X:()=>s}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(s||(s={}))}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 756c2f7c8659deab6c96.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{79e3:(e,t,n)=>{n.d(t,{D:()=>T,a:()=>A,b:()=>x,g:()=>E,h:()=>L,i:()=>O,k:()=>C,l:()=>F,m:()=>z,p:()=>y,q:()=>N,r:()=>R,s:()=>D,t:()=>I,u:()=>P,v:()=>k,w:()=>q}),n(34088);var i=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),o=typeof Element>"u",r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return e?.ownerDocument},l=function e(t,n){var i;void 0===n&&(n=!0);var o=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},c=function e(t,n,o){for(var a=[],c=Array.from(t);c.length;){var s=c.shift();if(!l(s,!1))if("SLOT"===s.tagName){var u=s.assignedElements(),d=e(u.length?u:s.children,!0,o);o.flatten?a.push.apply(a,d):a.push({scopeParent:s,candidates:d})}else{r.call(s,i)&&o.filter(s)&&(n||!t.includes(s))&&a.push(s);var f=s.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(s),m=!l(f,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(f&&m){var p=e(!0===f?s.children:f.children,!0,o);o.flatten?a.push.apply(a,p):a.push({scopeParent:s,candidates:p})}else c.unshift.apply(c,s.children)}}return a},s=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},u=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!s(e)?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},m=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},p=function(e,t){return!(t.disabled||l(t)||function(e){return f(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=r.call(e,"details>summary:first-of-type")?e.parentElement:e;if(r.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"==typeof i){for(var l=e;e;){var c=e.parentElement,s=a(e);if(c&&!c.shadowRoot&&!0===i(c))return m(e);e=e.assignedSlot?e.assignedSlot:c||s===e.ownerDocument?c:s.host}e=l}if(function(e){var t,n,i,o,r=e&&a(e),l=null===(t=r)||void 0===t?void 0:t.host,c=!1;if(r&&r!==e)for(c=!!(null!==(n=l)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(l)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!c&&l;){var s,u,d;c=!(null===(u=l=null===(s=r=a(l))||void 0===s?void 0:s.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(l))}return c}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!r.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},h=function(e,t){return!(function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||a(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if(typeof window<"u"&&typeof window.CSS<"u"&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||u(t)<0||!p(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function e(t){var n=[],i=[];return t.forEach((function(t,o){var r=!!t.scopeParent,a=r?t.scopeParent:t,l=function(e,t){var n=u(e);return n<0&&t&&!s(e)?0:n}(a,r),c=r?e(t.candidates):a;0===l?r?n.push.apply(n,c):n.push(a):i.push({documentOrder:o,tabIndex:l,item:t,isScope:r,content:c})})),i.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},g=function(e,t){var n;return n=(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:h.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):function(e,t,n){if(l(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&r.call(e,i)&&o.unshift(e),o.filter(n)}(e,t.includeContainer,h.bind(null,t)),b(n)};const y={getShadowRoot:!0};function E(e){const t=C(e,"[dir]");return t?t.getAttribute("dir"):"ltr"}function w(e){return e.getRootNode()}function S(e){return e.host||null}function N(e,{selector:t,id:n}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const i=w(e);return(n?"getElementById"in i?i.getElementById(n):null:t?i.querySelector(t):null)||N(S(i),{selector:t,id:n})}function C(e,t){return e?e.closest(t)||C(S(w(e)),t):null}async function x(e){if(e)return function(e){return"function"==typeof e?.setFocus}(e)?e.setFocus():e.focus()}function L(e){(function(e){if(e)return g(e,y)[0]??e})(e)?.focus()}function k(e,t,n){return"string"==typeof t&&""!==t?t:""===t||!0===t?e[n]:void 0}function I(e){return(!!e).toString()}function R(e){return A(e)||function(e){return!!function(e){return function(e){return e.currentTarget.assignedNodes({flatten:!0})}(e).filter((e=>e.nodeType===Node.TEXT_NODE)).map((e=>e.textContent)).join("").trim()}(e)}(e)}function T(e){for(const t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&""!==t.textContent?.trim()||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function A(e){return!!D(e).length}function D(e,t){return function(e,t){const n=e.assignedElements({flatten:!0});return t?function(e,t){return e.filter((e=>e.matches(t)))}(n,t):n}(e.target,t)}function O(e){return!(!e.isPrimary||0!==e.button)}function P(e){return 0===e.detail}function F(e,t){if(e.parentNode!==t.parentNode)return!1;const n=Array.from(e.parentNode.children);return n.indexOf(e)<n.indexOf(t)}async function q(e,t,n,i){return async function(e,t,n,i,o){const r=window.getComputedStyle(e),a="transition"===n?r.transitionDuration:r.animationDuration,l="transition"===n?r.transitionProperty:r.animationName,c=a.split(","),s=c[l.split(",").map((e=>e.trim())).indexOf(t)]??c[0];function u(){requestAnimationFrame((()=>{i?.(),requestAnimationFrame((()=>o?.()))}))}if("0s"===s)return void u();const d="transition"===n?"transitionstart":"animationstart",f="transition"===n?"transitionend":"animationend",m="transition"===n?"transitioncancel":"animationcancel";return new Promise((n=>{const r=window.setTimeout((()=>{e.removeEventListener(d,a),e.removeEventListener(f,l),e.removeEventListener(m,l),u(),n()}),1e3*parseFloat(s));function a(n){n.target===e&&M(n)===t&&(window.clearTimeout(r),e.removeEventListener(d,a),i?.())}function l(i){i.target===e&&M(i)===t&&(e.removeEventListener(f,l),e.removeEventListener(m,l),o?.(),n())}e.addEventListener(d,a),e.addEventListener(f,l),e.addEventListener(m,l)}))}(e,t,"transition",n,i)}function M(e){return function(e){return"propertyName"in e}(e)?e.propertyName:e.animationName}function z(e){return e.endsWith("px")}},93174:(e,t,n)=>{n.d(t,{a:()=>w,b:()=>a,c:()=>p,d:()=>h,g:()=>b,l:()=>r});var i=n(79e3);const o="calciteInternalLabelClick",r="calciteInternalLabelConnected",a="calciteInternalLabelDisconnected",l="calcite-label",c=new WeakMap,s=new WeakMap,u=new WeakMap,d=new WeakMap,f=new Set,m=e=>{const{id:t}=e,n=t&&(0,i.q)(e,{selector:`${l}[for="${t}"]`});if(n)return n;const o=(0,i.k)(e,l);return!o||function(e,t){let n;const i="custom-element-ancestor-check",o=i=>{i.stopImmediatePropagation();const o=i.composedPath();n=o.slice(o.indexOf(t),o.indexOf(e))};return e.addEventListener(i,o,{once:!0}),t.dispatchEvent(new CustomEvent(i,{composed:!0,bubbles:!0})),e.removeEventListener(i,o),n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(o,e)?null:o};function p(e){if(!e)return;const t=m(e.el);if(s.has(t)&&t===e.labelEl||!t&&f.has(e))return;const n=E.bind(e);if(t){e.labelEl=t;const i=c.get(t)||[];i.push(e),c.set(t,i.sort(v)),s.has(e.labelEl)||(s.set(e.labelEl,g),e.labelEl.addEventListener(o,g)),f.delete(e),document.removeEventListener(r,u.get(e)),d.set(e,n),document.addEventListener(a,n)}else f.has(e)||(n(),document.removeEventListener(a,d.get(e)))}function h(e){if(!e||(f.delete(e),document.removeEventListener(r,u.get(e)),document.removeEventListener(a,d.get(e)),u.delete(e),d.delete(e),!e.labelEl))return;const t=c.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(o,s.get(e.labelEl)),s.delete(e.labelEl)),c.set(e.labelEl,t.filter((t=>t!==e)).sort(v)),e.labelEl=null}function v(e,t){return(0,i.l)(e.el,t.el)?-1:1}function b(e){return e.label||e.labelEl?.textContent?.trim()||""}function g(e){const t=e.detail.sourceEvent.target,n=c.get(this),i=n.find((e=>e.el===t));if(n.includes(i))return;const o=n[0];o.disabled||o.onLabelClick(e)}function y(){f.has(this)&&p(this)}function E(){f.add(this);const e=u.get(this)||y.bind(this);u.set(this,e),document.addEventListener(r,e)}async function w(e){if(await e.componentOnReady(),c.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of f)if(e.el===t){p(e);break}}))}},87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>s});var i=n(34088),o=n(12618),r=n(89140),a=n(93174),l=n(33826);const c=l.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class s extends r.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,r.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:3,for:3,layout:3,scale:3}}static{this.styles=c}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(a.l))}willUpdate(e){e.has("for")&&(0,a.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(a.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return o.qy`<div class=${(0,r.CP)("container")}><slot></slot></div>`}}(0,i.c)("calcite-label",s)}}]);
1
+ /*! For license information please see e2d987c39a6ef318511c.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{79e3:(e,t,n)=>{n.d(t,{D:()=>T,a:()=>A,b:()=>x,g:()=>E,h:()=>L,i:()=>O,k:()=>C,l:()=>F,m:()=>z,p:()=>y,q:()=>N,r:()=>R,s:()=>D,t:()=>I,u:()=>P,v:()=>k,w:()=>q}),n(34088);var i=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),o=typeof Element>"u",r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return e?.ownerDocument},l=function e(t,n){var i;void 0===n&&(n=!0);var o=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},c=function e(t,n,o){for(var a=[],c=Array.from(t);c.length;){var s=c.shift();if(!l(s,!1))if("SLOT"===s.tagName){var u=s.assignedElements(),d=e(u.length?u:s.children,!0,o);o.flatten?a.push.apply(a,d):a.push({scopeParent:s,candidates:d})}else{r.call(s,i)&&o.filter(s)&&(n||!t.includes(s))&&a.push(s);var f=s.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(s),m=!l(f,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(f&&m){var p=e(!0===f?s.children:f.children,!0,o);o.flatten?a.push.apply(a,p):a.push({scopeParent:s,candidates:p})}else c.unshift.apply(c,s.children)}}return a},s=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},u=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!s(e)?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},m=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},p=function(e,t){return!(t.disabled||l(t)||function(e){return f(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=r.call(e,"details>summary:first-of-type")?e.parentElement:e;if(r.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"==typeof i){for(var l=e;e;){var c=e.parentElement,s=a(e);if(c&&!c.shadowRoot&&!0===i(c))return m(e);e=e.assignedSlot?e.assignedSlot:c||s===e.ownerDocument?c:s.host}e=l}if(function(e){var t,n,i,o,r=e&&a(e),l=null===(t=r)||void 0===t?void 0:t.host,c=!1;if(r&&r!==e)for(c=!!(null!==(n=l)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(l)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!c&&l;){var s,u,d;c=!(null===(u=l=null===(s=r=a(l))||void 0===s?void 0:s.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(l))}return c}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!r.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},h=function(e,t){return!(function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||a(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if(typeof window<"u"&&typeof window.CSS<"u"&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||u(t)<0||!p(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function e(t){var n=[],i=[];return t.forEach((function(t,o){var r=!!t.scopeParent,a=r?t.scopeParent:t,l=function(e,t){var n=u(e);return n<0&&t&&!s(e)?0:n}(a,r),c=r?e(t.candidates):a;0===l?r?n.push.apply(n,c):n.push(a):i.push({documentOrder:o,tabIndex:l,item:t,isScope:r,content:c})})),i.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},g=function(e,t){var n;return n=(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:h.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):function(e,t,n){if(l(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&r.call(e,i)&&o.unshift(e),o.filter(n)}(e,t.includeContainer,h.bind(null,t)),b(n)};const y={getShadowRoot:!0};function E(e){const t=C(e,"[dir]");return t?t.getAttribute("dir"):"ltr"}function w(e){return e.getRootNode()}function S(e){return e.host||null}function N(e,{selector:t,id:n}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const i=w(e);return(n?"getElementById"in i?i.getElementById(n):null:t?i.querySelector(t):null)||N(S(i),{selector:t,id:n})}function C(e,t){return e?e.closest(t)||C(S(w(e)),t):null}async function x(e){if(e)return function(e){return"function"==typeof e?.setFocus}(e)?e.setFocus():e.focus()}function L(e){(function(e){if(e)return g(e,y)[0]??e})(e)?.focus()}function k(e,t,n){return"string"==typeof t&&""!==t?t:""===t||!0===t?e[n]:void 0}function I(e){return(!!e).toString()}function R(e){return A(e)||function(e){return!!function(e){return function(e){return e.currentTarget.assignedNodes({flatten:!0})}(e).filter((e=>e.nodeType===Node.TEXT_NODE)).map((e=>e.textContent)).join("").trim()}(e)}(e)}function T(e){for(const t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&""!==t.textContent?.trim()||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function A(e){return!!D(e).length}function D(e,t){return function(e,t){const n=e.assignedElements({flatten:!0});return t?function(e,t){return e.filter((e=>e.matches(t)))}(n,t):n}(e.target,t)}function O(e){return!(!e.isPrimary||0!==e.button)}function P(e){return 0===e.detail}function F(e,t){if(e.parentNode!==t.parentNode)return!1;const n=Array.from(e.parentNode.children);return n.indexOf(e)<n.indexOf(t)}async function q(e,t,n,i){return async function(e,t,n,i,o){const r=window.getComputedStyle(e),a="transition"===n?r.transitionDuration:r.animationDuration,l="transition"===n?r.transitionProperty:r.animationName,c=a.split(","),s=c[l.split(",").map((e=>e.trim())).indexOf(t)]??c[0];function u(){requestAnimationFrame((()=>{i?.(),requestAnimationFrame((()=>o?.()))}))}if("0s"===s)return void u();const d="transition"===n?"transitionstart":"animationstart",f="transition"===n?"transitionend":"animationend",m="transition"===n?"transitioncancel":"animationcancel";return new Promise((n=>{const r=window.setTimeout((()=>{e.removeEventListener(d,a),e.removeEventListener(f,l),e.removeEventListener(m,l),u(),n()}),1e3*parseFloat(s));function a(n){n.target===e&&M(n)===t&&(window.clearTimeout(r),e.removeEventListener(d,a),i?.())}function l(i){i.target===e&&M(i)===t&&(e.removeEventListener(f,l),e.removeEventListener(m,l),o?.(),n())}e.addEventListener(d,a),e.addEventListener(f,l),e.addEventListener(m,l)}))}(e,t,"transition",n,i)}function M(e){return function(e){return"propertyName"in e}(e)?e.propertyName:e.animationName}function z(e){return e.endsWith("px")}},93174:(e,t,n)=>{n.d(t,{a:()=>w,b:()=>a,c:()=>p,d:()=>h,g:()=>b,l:()=>r});var i=n(79e3);const o="calciteInternalLabelClick",r="calciteInternalLabelConnected",a="calciteInternalLabelDisconnected",l="calcite-label",c=new WeakMap,s=new WeakMap,u=new WeakMap,d=new WeakMap,f=new Set,m=e=>{const{id:t}=e,n=t&&(0,i.q)(e,{selector:`${l}[for="${t}"]`});if(n)return n;const o=(0,i.k)(e,l);return!o||function(e,t){let n;const i="custom-element-ancestor-check",o=i=>{i.stopImmediatePropagation();const o=i.composedPath();n=o.slice(o.indexOf(t),o.indexOf(e))};return e.addEventListener(i,o,{once:!0}),t.dispatchEvent(new CustomEvent(i,{composed:!0,bubbles:!0})),e.removeEventListener(i,o),n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(o,e)?null:o};function p(e){if(!e)return;const t=m(e.el);if(s.has(t)&&t===e.labelEl||!t&&f.has(e))return;const n=E.bind(e);if(t){e.labelEl=t;const i=c.get(t)||[];i.push(e),c.set(t,i.sort(v)),s.has(e.labelEl)||(s.set(e.labelEl,g),e.labelEl.addEventListener(o,g)),f.delete(e),document.removeEventListener(r,u.get(e)),d.set(e,n),document.addEventListener(a,n)}else f.has(e)||(n(),document.removeEventListener(a,d.get(e)))}function h(e){if(!e||(f.delete(e),document.removeEventListener(r,u.get(e)),document.removeEventListener(a,d.get(e)),u.delete(e),d.delete(e),!e.labelEl))return;const t=c.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(o,s.get(e.labelEl)),s.delete(e.labelEl)),c.set(e.labelEl,t.filter((t=>t!==e)).sort(v)),e.labelEl=null}function v(e,t){return(0,i.l)(e.el,t.el)?-1:1}function b(e){return e.label||e.labelEl?.textContent?.trim()||""}function g(e){const t=e.detail.sourceEvent.target,n=c.get(this),i=n.find((e=>e.el===t));if(n.includes(i))return;const o=n[0];o.disabled||o.onLabelClick(e)}function y(){f.has(this)&&p(this)}function E(){f.add(this);const e=u.get(this)||y.bind(this);u.set(this,e),document.addEventListener(r,e)}async function w(e){if(await e.componentOnReady(),c.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of f)if(e.el===t){p(e);break}}))}},87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>s});var i=n(34088),o=n(12618),r=n(31159),a=n(93174),l=n(33826);const c=l.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class s extends r.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,r.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:3,for:3,layout:3,scale:3}}static{this.styles=c}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(a.l))}willUpdate(e){e.has("for")&&(0,a.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(a.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return o.qy`<div class=${(0,r.CP)("container")}><slot></slot></div>`}}(0,i.c)("calcite-label",s)}}]);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.87
4
+ * v3.0.0-next.90
5
5
  */
6
6
 
7
7
  /*!
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1e3,2935],{13069:(e,t,n)=>{n.d(t,{AG:()=>l,lk:()=>o,vD:()=>s,yS:()=>i});const r="randomUUID"in crypto;function o(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function i(){return`{${o().toUpperCase()}}`}function s(){return`{${o()}}`}function l(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},32756:(e,t,n)=>{n.d(t,{Rr:()=>a,fY:()=>c,ne:()=>u});var r=n(90237),o=n(93637),i=n(10107),s=(n(44208),n(53966),n(87811),n(40608)),l=n(91880);function a(e,t,n){if(!e)return null;const r=e.find((e=>!!e.field));if(!r)return null;const o=new l.A;return o.read(r,n),[o]}const u={type:[l.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,n,r){const i=e.find((e=>!!e.field));i&&(0,o.sM)(n,[i.toJSON()],t)}}}},c=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,r._)([(0,i.MZ)(u)],t.prototype,"orderBy",void 0),t=(0,r._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(90237),o=n(69540),i=n(25482),s=n(10107),l=(n(44208),n(53966),n(87811),n(36005)),a=n(40608),u=n(43937),c=n(80451),p=n(29005);let y=class extends(o.A.ClonableMixin(i.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const n of Object.keys(e))t[n]=(0,c.rS)(e[n]);return t}writeDomains(e,t){const n={};for(const t of Object.keys(e))e[t]&&(n[t]=e[t]?.toJSON());t.domains=n}};(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"id",void 0),(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"name",void 0),(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"domains",void 0),(0,r._)([(0,l.w)("domains")],y.prototype,"readDomains",null),(0,r._)([(0,u.K)("domains")],y.prototype,"writeDomains",null),(0,r._)([(0,s.MZ)({type:[p.A],json:{write:!0}})],y.prototype,"templates",void 0),y=(0,r._)([(0,a.$)("esri.layers.support.FeatureType")],y);const f=y},91880:(e,t,n)=>{n.d(t,{A:()=>p});var r,o=n(90237),i=n(66552),s=n(25482),l=n(10107),a=(n(44208),n(53966),n(87811),n(40608));const u=new i.J({asc:"ascending",desc:"descending"});let c=r=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new r({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o._)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,o._)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],c.prototype,"valueExpression",void 0),(0,o._)([(0,l.MZ)({type:u.apiValues,json:{type:u.jsonValues,read:u.read,write:u.write}})],c.prototype,"order",void 0),c=r=(0,o._)([(0,a.$)("esri.layers.support.OrderByInfo")],c);const p=c},83531:(e,t,n)=>{n.d(t,{BR:()=>c,Ov:()=>l,TU:()=>s,W_:()=>a,XX:()=>i,tk:()=>p,wI:()=>u});var r=n(70333),o=n(78888);const i={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function s(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function l(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function a(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}async function u(e,t){const n=r.id?.findServerInfo(e);if(null!=n?.currentVersion)return n.owningSystemUrl||null;const i=e.toLowerCase().indexOf("/rest/services");if(-1===i)return null;const s=`${e.slice(0,i)}/rest/info`,l=null!=t?t.signal:null,{data:a}=await(0,o.A)(s,{query:{f:"json"},responseType:"json",signal:l});return a?.owningSystemUrl||null}function c(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function p(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}},10407:(e,t,n)=>{n.d(t,{It:()=>f,LG:()=>s,OM:()=>u,Sm:()=>c,Y:()=>l,bK:()=>a,mm:()=>y,sQ:()=>p});var r=n(57251),o=n(16930),i=n(28735);function s(e,t){if(!l(e,t)){const n=e.typeKeywords;n?n.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,y.HOSTED_SERVICE)}function u(e,t){const n=e.typeKeywords;if(n){const e=n.indexOf(t);e>-1&&n.splice(e,1)}}function c(e,t,n){n?s(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let n;if(t.length>1)for(const e of t)n?e.width>n.width&&(n=e):n=e;else n=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,i.ci)(e);const n=o.A.WGS84;return await(0,r.initializeProjection)(t,n),(0,r.project)(e,n)}(n)}const y={DEVELOPER_BASEMAP:"DeveloperBasemap",JSAPI:"ArcGIS API for JavaScript",METADATA:"Metadata",MULTI_LAYER:"Multilayer",SINGLE_LAYER:"Singlelayer",TABLE:"Table",HOSTED_SERVICE:"Hosted Service",LOCAL_SCENE:"ViewingMode-Local",TILED_IMAGERY:"Tiled Imagery",GROUP_LAYER_MAP:"Map",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer"};function f(e){const{portal:t,isOrgItem:n,itemControl:r}=e,o=t.user?.privileges;let i=!o||o.includes("features:user:edit"),s=!!n&&!!o?.includes("features:user:fullEdit");const l="update"===r||"admin"===r;return l?s=i=!0:s&&(i=!0),{features:{edit:i,fullEdit:s},content:{updateItem:l}}}},22671:(e,t,n)=>{n.d(t,{A:()=>v});var r,o=n(90237),i=n(59456),s=n(52106),l=n(66552),a=n(25482),u=n(4718),c=n(10107),p=(n(44208),n(53966),n(36005)),y=n(40608),f=n(43937),d=n(16930),m=n(65864),g=n(20437);const h=new l.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=r=class extends a.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const n=d.A.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const o=e[t],i=s.A.fromJSON(o),l=o.geometry?.spatialReference;null==i.geometry||l||(i.geometry.spatialReference=n);const a=o.aggregateGeometries,u=i.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],o=r?.spatialReference;null==t||o||(t.spatialReference=n)}r.push(i)}return r}writeGeometryType(e,t,n,r){if(e)return void h.write(e,t,n,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void h.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,m.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=d.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,u.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,o]}=e,i=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((o-e)/n)));for(let e=0,t=i.length;e<t;e++)s?.(i[e].geometry)||(i.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,o],scale:[i,s]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,(e=>e*i+r),(e=>o-e*s),l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}_quantizePoints(e,t,n){let r,o;const i=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=n(l[1]);e===r&&s===o||(i.push([e-r,s-o]),r=e,o=s)}else r=t(l[0]),o=n(l[1]),i.push([r,o])}return i.length>0?i:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,m.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,i=r.length;e<i;e++){const i=r[e],s=this._quantizePoints(i,t,n);s&&o.push(s)}return o.length>0?((0,m.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const i=(0,m.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,r=i.length;e<r;e++){const r=i[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(s+=o[0],l+=o[1]):(s=o[0],l=o[1]),o[0]=t(s),o[1]=n(l)}}if(r&&o)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=o(n[3])}}else if(r)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const i=e.points;let s,l;for(let e=0,r=i.length;e<r;e++){const r=i[e];e>0?(s+=r[0],l+=r[1]):(s=r[0],l=r[1]),r[0]=t(s),r[1]=n(l)}if(r&&o)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=r(t[2])}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,c.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,o._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,c.MZ)({type:[s.A],json:{write:!0}})],w.prototype,"features",void 0),(0,o._)([(0,p.w)("features")],w.prototype,"readFeatures",null),(0,o._)([(0,c.MZ)({type:[g.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,o._)([(0,c.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:h.read}}})],w.prototype,"geometryType",void 0),(0,o._)([(0,f.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,o._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,o._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,o._)([(0,c.MZ)({types:i.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,o._)([(0,p.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,o._)([(0,c.MZ)({type:d.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o._)([(0,f.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,o._)([(0,c.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=r=(0,o._)([(0,y.$)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0;const v=w},92935:(e,t,n)=>{var r;n.d(t,{X:()=>r}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(r||(r={}))}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1e3,2935],{13069:(e,t,n)=>{n.d(t,{AG:()=>l,lk:()=>o,vD:()=>s,yS:()=>i});const r="randomUUID"in crypto;function o(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function i(){return`{${o().toUpperCase()}}`}function s(){return`{${o()}}`}function l(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},32756:(e,t,n)=>{n.d(t,{Rr:()=>a,fY:()=>c,ne:()=>u});var r=n(90237),o=n(93637),i=n(10107),s=(n(44208),n(53966),n(87811),n(40608)),l=n(91880);function a(e,t,n){if(!e)return null;const r=e.find((e=>!!e.field));if(!r)return null;const o=new l.A;return o.read(r,n),[o]}const u={type:[l.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,n,r){const i=e.find((e=>!!e.field));i&&(0,o.sM)(n,[i.toJSON()],t)}}}},c=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,r._)([(0,i.MZ)(u)],t.prototype,"orderBy",void 0),t=(0,r._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(90237),o=n(69540),i=n(25482),s=n(10107),l=(n(44208),n(53966),n(87811),n(36005)),a=n(40608),u=n(43937),c=n(80451),p=n(29005);let y=class extends(o.A.ClonableMixin(i.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const n of Object.keys(e))t[n]=(0,c.rS)(e[n]);return t}writeDomains(e,t){const n={};for(const t of Object.keys(e))e[t]&&(n[t]=e[t]?.toJSON());t.domains=n}};(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"id",void 0),(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"name",void 0),(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"domains",void 0),(0,r._)([(0,l.w)("domains")],y.prototype,"readDomains",null),(0,r._)([(0,u.K)("domains")],y.prototype,"writeDomains",null),(0,r._)([(0,s.MZ)({type:[p.A],json:{write:!0}})],y.prototype,"templates",void 0),y=(0,r._)([(0,a.$)("esri.layers.support.FeatureType")],y);const f=y},91880:(e,t,n)=>{n.d(t,{A:()=>p});var r,o=n(90237),i=n(66552),s=n(25482),l=n(10107),a=(n(44208),n(53966),n(87811),n(40608));const u=new i.J({asc:"ascending",desc:"descending"});let c=r=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new r({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o._)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,o._)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],c.prototype,"valueExpression",void 0),(0,o._)([(0,l.MZ)({type:u.apiValues,json:{type:u.jsonValues,read:u.read,write:u.write}})],c.prototype,"order",void 0),c=r=(0,o._)([(0,a.$)("esri.layers.support.OrderByInfo")],c);const p=c},83531:(e,t,n)=>{n.d(t,{BR:()=>c,Ov:()=>l,TU:()=>s,W_:()=>a,XX:()=>i,tk:()=>p,wI:()=>u});var r=n(70333),o=n(78888);const i={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function s(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function l(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function a(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}async function u(e,t){const n=r.id?.findServerInfo(e);if(null!=n?.currentVersion)return n.owningSystemUrl||null;const i=e.toLowerCase().indexOf("/rest/services");if(-1===i)return null;const s=`${e.slice(0,i)}/rest/info`,l=null!=t?t.signal:null,{data:a}=await(0,o.A)(s,{query:{f:"json"},responseType:"json",signal:l});return a?.owningSystemUrl||null}function c(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function p(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}},10407:(e,t,n)=>{n.d(t,{It:()=>f,LG:()=>s,OM:()=>u,Sm:()=>c,Y:()=>l,bK:()=>a,mm:()=>y,sQ:()=>p});var r=n(57251),o=n(16930),i=n(28735);function s(e,t){if(!l(e,t)){const n=e.typeKeywords;n?n.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,y.HOSTED_SERVICE)}function u(e,t){const n=e.typeKeywords;if(n){const e=n.indexOf(t);e>-1&&n.splice(e,1)}}function c(e,t,n){n?s(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let n;if(t.length>1)for(const e of t)n?e.width>n.width&&(n=e):n=e;else n=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,i.ci)(e);const n=o.A.WGS84;return await(0,r.initializeProjection)(t,n),(0,r.project)(e,n)}(n)}const y={DEVELOPER_BASEMAP:"DeveloperBasemap",JSAPI:"ArcGIS API for JavaScript",METADATA:"Metadata",MULTI_LAYER:"Multilayer",SINGLE_LAYER:"Singlelayer",TABLE:"Table",HOSTED_SERVICE:"Hosted Service",LOCAL_SCENE:"ViewingMode-Local",TILED_IMAGERY:"Tiled Imagery",GROUP_LAYER_MAP:"Map",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer"};function f(e){const{portal:t,isOrgItem:n,itemControl:r}=e,o=t.user?.privileges;let i=!o||o.includes("features:user:edit"),s=!!n&&!!o?.includes("features:user:fullEdit");const l="update"===r||"admin"===r;return l?s=i=!0:s&&(i=!0),{features:{edit:i,fullEdit:s},content:{updateItem:l}}}},22671:(e,t,n)=>{n.d(t,{A:()=>v});var r,o=n(90237),i=n(59456),s=n(52106),l=n(66552),a=n(25482),u=n(4718),c=n(10107),p=(n(44208),n(53966),n(36005)),y=n(40608),f=n(43937),d=n(16930),m=n(65864),h=n(20437);const g=new l.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=r=class extends a.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void g.write(e,t,n,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,m.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=d.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,u.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,o]}=e,i=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((o-e)/n)));for(let e=0,t=i.length;e<t;e++)s?.(i[e].geometry)||(i.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,o],scale:[i,s]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,(e=>e*i+r),(e=>o-e*s),l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=d.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const i=e[t],s=n.fromJSON(i),l=i.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=r);const a=i.aggregateGeometries,u=s.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],n=a[e],o=n?.spatialReference;null==t||o||(t.spatialReference=r)}o.push(s)}return o}_quantizePoints(e,t,n){let r,o;const i=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=n(l[1]);e===r&&s===o||(i.push([e-r,s-o]),r=e,o=s)}else r=t(l[0]),o=n(l[1]),i.push([r,o])}return i.length>0?i:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,m.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,i=r.length;e<i;e++){const i=r[e],s=this._quantizePoints(i,t,n);s&&o.push(s)}return o.length>0?((0,m.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const i=(0,m.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,r=i.length;e<r;e++){const r=i[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(s+=o[0],l+=o[1]):(s=o[0],l=o[1]),o[0]=t(s),o[1]=n(l)}}if(r&&o)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=o(n[3])}}else if(r)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const i=e.points;let s,l;for(let e=0,r=i.length;e<r;e++){const r=i[e];e>0?(s+=r[0],l+=r[1]):(s=r[0],l=r[1]),r[0]=t(s),r[1]=n(l)}if(r&&o)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=r(t[2])}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,c.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,o._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,c.MZ)({type:[s.A],json:{write:!0}})],w.prototype,"features",void 0),(0,o._)([(0,p.w)("features")],w.prototype,"readFeatures",null),(0,o._)([(0,c.MZ)({type:[h.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,o._)([(0,c.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,o._)([(0,f.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,o._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,o._)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,o._)([(0,c.MZ)({types:i.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,o._)([(0,p.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,o._)([(0,c.MZ)({type:d.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o._)([(0,f.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,o._)([(0,c.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=r=(0,o._)([(0,y.$)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0;const v=w},92935:(e,t,n)=>{var r;n.d(t,{X:()=>r}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(r||(r={}))}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2935,3618,8330,8928,9340],{39516:(e,t,o)=>{async function i(e,t){const{default:i}=await o.e(8368).then(o.bind(o,88368));return i.create(e,{fieldsIndex:t})}function r(e,t){return"1=1"===e?t??e:"1=1"===t?e??t:null!=e&&""!==e?null!=t&&""!==t?`(${e}) AND (${t})`:e:t}o.d(t,{G:()=>i,m:()=>r})},13069:(e,t,o)=>{o.d(t,{AG:()=>a,lk:()=>r,vD:()=>s,yS:()=>n});const i="randomUUID"in crypto;function r(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function n(){return`{${r().toUpperCase()}}`}function s(){return`{${r()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},97927:(e,t,o)=>{o.r(t),o.d(t,{default:()=>W});var i=o(90237),r=o(49186),n=o(4718),s=o(93637),a=o(10107),l=(o(44208),o(53966),o(40608)),p=o(13600),u=o(82935),c=o(66552),y=o(69540),f=o(25482),d=(o(87811),o(69622)),m=o(21325);let h=class extends d.A{set horizontalWKID(e){e?(0,m.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,m.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1&&!Number.isNaN(t)&&o?.length>1&&i?.length>1&&r?.length>1}};(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"horizontalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"verticalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"x",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"y",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"z",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"type",void 0),h=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientation")],h);const g=h;let v=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:f}=this,d=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>d.push(e))),d.push(u),c?.forEach((e=>d.push(e))),y?.forEach((e=>d.push(e))),f?.forEach((e=>d.push(e)))),d.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"heading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationHPR")],v);const w=v;let _=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${o}|${i}|${r}|${s.join("|")}`}};(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"type",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"latitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"longitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"ellipsoidRadius",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"squaredEccentricity",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"properties",void 0),_=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationLTP")],_);const M=_;let x=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:f}=this,d=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>d.push(e))),d.push(u),c?.forEach((e=>d.push(e))),y?.forEach((e=>d.push(e))),f?.forEach((e=>d.push(e)))),d.map((e=>isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],x.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"omega",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"phi",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"kappa",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"z",void 0),x=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationOPK")],x);const j=x;let Z=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1||!Number.isNaN(t)||o?.length>1||i?.length>1||r?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:f}=this,d=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>d.push(e))),d.push(u),c?.forEach((e=>d.push(e))),c?.forEach((e=>d.push(e))),y?.forEach((e=>d.push(e))),f?.forEach((e=>d.push(e)))),d.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],Z.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"yaw",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"z",void 0),Z=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationYPR")],Z);const P=Z;var b;!function(e){e[e.HPR=1]="HPR",e[e.OPK=2]="OPK",e[e.YPR=3]="YPR",e[e.LTP=4]="LTP"}(b||(b={}));const N=new Map;N.set(`${b.OPK}`,{desc:"Using Omega Phi Kappa",constructor:j}),N.set(`${b.HPR}`,{desc:"Using Heading, Pitch and Roll",constructor:w}),N.set(`${b.YPR}`,{desc:"Using Yaw, Pitch and Roll",constructor:P}),N.set(`${b.LTP}`,{desc:"Using Local Tangent Plane",constructor:M});let S=class extends(y.A.ClonableMixin(f.A)){constructor(){super(...arguments),this.url=null}};(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],S.prototype,"lod",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"rasterFunction",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"url",void 0),S=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],S);let D=class extends(y.A.ClonableMixin(f.A)){constructor(){super(...arguments),this.constantElevation=null}};function A(e,t,o){return e?null!=(i=e)&&"number"==typeof i.constantElevation?new D(e):function(e,t,o){let{url:i}=e;return i?(i=function(e,t,o){return t&&(e=`${t}${e}`),o&&(e+=`${o}`),e}(i,t,o),new S({...e,url:i})):null}(e,t,o):e;var i}(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],D.prototype,"constantElevation",void 0),D=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],D);const I=new c.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),O=new c.J({Feet:"feet",Meter:"meter"}),R=new c.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique","":null}),E=new Map;E.set(`${b.HPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,u,c,y,f,d,m,h,g,v,w,_,M,x]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,...T([p,u,c,y,f,d],[h,g],[v,w,_],[M,x],m)}})),E.set(`${b.YPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,u,c,y,f,d,m,h,g,v,w,_,M,x]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,...T([p,u,c,y,f,d],[h,g],[v,w,_],[M,x],m)}})),E.set(`${b.OPK}`,(function(e){const[t,o,i,r,n,s,a,l,p,u,c,y,f,d,m,h,g,v,w,_,M,x]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,...T([p,u,c,y,f,d],[h,g],[v,w,_],[M,x],m)}})),E.set(`${b.LTP}`,(function(e){const[t,o,i,r,n,...s]=e.slice(1),a=E.get(n),l=N.get(n)?.constructor;return a&&l?{latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:new l(a([n,"",...s]))}:null}));const $=e=>{const t=e.map((e=>parseFloat(e))).filter((e=>!isNaN(e)));if(t.length===e.length)return t};function T(e,t,o,i,r){const n=$(e),s=$(t),a=$(o),l=$(i);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(r):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}var z=o(79677),C=o(92935);const K=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),L=(e,t)=>!K.has(t)&&e;function F(e,t,o,i){const{name:r,write:n,read:s}=((e,t,o)=>{const i=`orientedImageryProperties.${e}`;return{name:i,write:t?{ignoreOrigin:!0,target:i,writer:t}:{ignoreOrigin:!0},read:o?{ignoreOrigin:!0,source:i,reader:o}:{ignoreOrigin:!0}}})(e,t,o),a={name:r,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${r}`,write:t,read:o},"web-scene":{name:r,write:L(n,e),read:L(s,e)},"web-map":{name:r,write:n,read:s}}};return i&&a.origins?(a.type=i,a.origins["web-map"].type=i,a.origins["web-scene"].type=i,a):a}let U=class extends p.default{constructor(){super(...arguments),this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:o}=this;return A(e,t,o)}async save(e){return this._debouncedSaveOperations(C.X.SAVE,e)}async saveAs(e,t){return this._debouncedSaveOperations(C.X.SAVE_AS,t,e)}findFirstValidLayerId(e){return e.layers?.find((e=>this.supportedSourceTypes.has(e.type)))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new r.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var V;(0,i._)([(0,a.MZ)({type:Number,json:F("cameraHeading")})],U.prototype,"cameraHeading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraHeight")})],U.prototype,"cameraHeight",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraPitch")})],U.prototype,"cameraPitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraRoll")})],U.prototype,"cameraRoll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("coveragePercent")})],U.prototype,"coveragePercent",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("demPathPrefix")})],U.prototype,"demPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("demPathSuffix")})],U.prototype,"demPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("depthImagePathPrefix")})],U.prototype,"depthImagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("depthImagePathSuffix")})],U.prototype,"depthImagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Object,json:F("elevationSource")})],U.prototype,"elevationSource",void 0),(0,i._)([(0,a.MZ)({readOnly:!0})],U.prototype,"effectiveElevationSource",null),(0,i._)([(0,a.MZ)({type:Number,json:F("farDistance")})],U.prototype,"farDistance",void 0),(0,i._)([(0,a.MZ)()],U.prototype,"geometryType",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("horizontalFieldOfView")})],U.prototype,"horizontalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("horizontalMeasurementUnit")})],U.prototype,"horizontalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("imagePathPrefix")})],U.prototype,"imagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("imagePathSuffix")})],U.prototype,"imagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("imageRotation")})],U.prototype,"imageRotation",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("maximumDistance")})],U.prototype,"maximumDistance",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("nearDistance")})],U.prototype,"nearDistance",void 0),(0,i._)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],U.prototype,"operationalLayerType",void 0),(0,i._)([(0,a.MZ)({json:{...F("orientationAccuracy",((e,t,o)=>{(0,s.sM)(o,e.join(";"),t)}),(e=>{const t=e?.split(";")?.map(Number);return function(e){return Array.isArray(e)&&9===e?.length&&!e.some(isNaN)}(t)?t:[0,0,0,0,0,0,0,0,0]}),String)}})],U.prototype,"orientationAccuracy",void 0),(0,i._)([(0,a.MZ)({json:{...F("orientedImageryType",R.write,R.read,R.jsonValues.slice(1))}})],U.prototype,"orientedImageryType",void 0),(0,i._)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],U.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:I.apiValues,json:{...F("timeIntervalUnit",I.write,I.read,I.jsonValues)}})],U.prototype,"timeIntervalUnit",void 0),(0,i._)([(0,a.MZ)((V=(0,n.o8)(u.B),V.json?(V.json.origins=V.json.origins??{},V.json.origins["web-scene"]={write:!1,read:!1},V):V))],U.prototype,"useViewTime",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("verticalFieldOfView")})],U.prototype,"verticalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:O.apiValues,json:{...F("verticalMeasurementUnit",O.write,O.read,O.jsonValues)}})],U.prototype,"verticalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("videoPathPrefix")})],U.prototype,"videoPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("videoPathSuffix")})],U.prototype,"videoPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:z.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"visibilityTimeExtent",void 0),U=(0,i._)([(0,l.$)("esri.layers.OrientedImageryLayer")],U);const W=U},32756:(e,t,o)=>{o.d(t,{Rr:()=>l,fY:()=>u,ne:()=>p});var i=o(90237),r=o(93637),n=o(10107),s=(o(44208),o(53966),o(87811),o(40608)),a=o(91880);function l(e,t,o){if(!e)return null;const i=e.find((e=>!!e.field));if(!i)return null;const r=new a.A;return r.read(i,o),[r]}const p={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,o,i){const n=e.find((e=>!!e.field));n&&(0,r.sM)(o,[n.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,n.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,i._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,o)=>{o.d(t,{A:()=>f});var i=o(90237),r=o(69540),n=o(25482),s=o(10107),a=(o(44208),o(53966),o(87811),o(36005)),l=o(40608),p=o(43937),u=o(80451),c=o(29005);let y=class extends(r.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const o of Object.keys(e))t[o]=(0,u.rS)(e[o]);return t}writeDomains(e,t){const o={};for(const t of Object.keys(e))e[t]&&(o[t]=e[t]?.toJSON());t.domains=o}};(0,i._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"id",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"name",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"domains",void 0),(0,i._)([(0,a.w)("domains")],y.prototype,"readDomains",null),(0,i._)([(0,p.K)("domains")],y.prototype,"writeDomains",null),(0,i._)([(0,s.MZ)({type:[c.A],json:{write:!0}})],y.prototype,"templates",void 0),y=(0,i._)([(0,l.$)("esri.layers.support.FeatureType")],y);const f=y},91880:(e,t,o)=>{o.d(t,{A:()=>c});var i,r=o(90237),n=o(66552),s=o(25482),a=o(10107),l=(o(44208),o(53966),o(87811),o(40608));const p=new n.J({asc:"ascending",desc:"descending"});let u=i=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,r._)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,r._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,r._)([(0,a.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=i=(0,r._)([(0,l.$)("esri.layers.support.OrderByInfo")],u);const c=u},32730:(e,t,o)=>{o.d(t,{BI:()=>h,D3:()=>d,XJ:()=>m,lc:()=>f,mX:()=>v,rU:()=>g,tH:()=>j});var i=o(799);const r="__begin__",n="__end__",s=new RegExp(r,"ig"),a=new RegExp(n,"ig"),l=new RegExp("^"+r,"i"),p=new RegExp(n+"$","i"),u='"',c=u+" + ",y=" + "+u;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function d(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function h(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function g(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return j(t.expression)}return null}function v(e){let t;return e?(t=(0,i.HC)(e,(e=>r+'$feature["'+e+'"]'+n)),t=l.test(t)?t.replace(l,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(s,c).replaceAll(a,y)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,_=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,x=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function j(e){if(!e)return null;let t=_.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=x.exec(e),t?t[2]:null)}},58501:(e,t,o)=>{o.d(t,{q:()=>r});var i=o(62815);function r(e,t,o){if(!o?.features||!o.hasZ)return;const r=(0,i.N)(o.geometryType,t,e.outSpatialReference);if(null!=r)for(const e of o.features)r(e.geometry)}},22671:(e,t,o)=>{o.d(t,{A:()=>w});var i,r=o(90237),n=o(59456),s=o(52106),a=o(66552),l=o(25482),p=o(4718),u=o(10107),c=(o(44208),o(53966),o(36005)),y=o(40608),f=o(43937),d=o(16930),m=o(65864),h=o(20437);const g=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const o=d.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const r=e[t],n=s.A.fromJSON(r),a=r.geometry?.spatialReference;null==n.geometry||a||(n.geometry.spatialReference=o);const l=r.aggregateGeometries,p=n.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],i=l[e],r=i?.spatialReference;null==t||r||(t.spatialReference=o)}i.push(n)}return i}writeGeometryType(e,t,o,i){if(e)return void g.write(e,t,o,i);const{features:r}=this;if(r)for(const e of r)if(null!=e?.geometry)return void g.write(e.geometry.type,t,o,i)}readQueryGeometry(e,t){if(!e)return null;const o=!!e.spatialReference,i=(0,m.rS)(e);return i&&!o&&t.spatialReference&&(i.spatialReference=d.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:o}=this;if(o)for(const e of o)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,p.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let o=0;o<t.features.length;o++){const i=t.features[o];if(i.geometry){const t=e?.[o];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,o],translate:[i,r]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((r-e)/o)));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:o}=this;if(!o)return this;const{translate:[i,r],scale:[n,s]}=o;let a=null,l=null;if(this.hasZ&&null!=o?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=o;a=o=>o*t+e}if(this.hasM&&null!=o?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=o;l=o=>null==o?o:o*t+e}const p=this._getHydrationFunction(e,(e=>e*n+i),(e=>r-e*s),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}_quantizePoints(e,t,o){let i,r;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=o(a[1]);e===i&&s===r||(n.push([e-i,s-r]),i=e,r=s)}else i=t(a[0]),r=o(a[1]),n.push([i,r])}return n.length>0?n:null}_getQuantizationFunction(e,t,o){return"point"===e?e=>(e.x=t(e.x),e.y=o(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,m.Bi)(e)?e.rings:e.paths,r=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],s=this._quantizePoints(n,t,o);s&&r.push(s)}return r.length>0?((0,m.Bi)(e)?e.rings=r:e.paths=r,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,o);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,o,i,r){return"point"===e?e=>{e.x=t(e.x),e.y=o(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,m.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];for(let e=0,r=i.length;e<r;e++){const r=i[e];e>0?(s+=r[0],a+=r[1]):(s=r[0],a=r[1]),r[0]=t(s),r[1]=o(a)}}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2]),o[3]=r(o[3])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=r(o[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=o(e.ymin),e.xmax=t(e.xmax),e.ymax=o(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),r&&null!=e.mmax&&null!=e.mmin&&(e.mmax=r(e.mmax),e.mmin=r(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=o(a)}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2]),t[3]=r(t[3])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}}:null}};(0,r._)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,r._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,r._)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,r._)([(0,c.w)("features")],v.prototype,"readFeatures",null),(0,r._)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,r._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,r._)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,r._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,r._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,r._)([(0,u.MZ)({types:n.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,r._)([(0,c.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,r._)([(0,u.MZ)({type:d.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,r._)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,r._)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,r._)([(0,y.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const w=v},92935:(e,t,o)=>{var i;o.d(t,{X:()=>i}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(i||(i={}))}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2935,8265,8330,9340,9757],{39516:(e,t,o)=>{async function i(e,t){const{default:i}=await o.e(8368).then(o.bind(o,88368));return i.create(e,{fieldsIndex:t})}function r(e,t){return"1=1"===e?t??e:"1=1"===t?e??t:null!=e&&""!==e?null!=t&&""!==t?`(${e}) AND (${t})`:e:t}o.d(t,{G:()=>i,m:()=>r})},13069:(e,t,o)=>{o.d(t,{AG:()=>a,lk:()=>r,vD:()=>s,yS:()=>n});const i="randomUUID"in crypto;function r(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function n(){return`{${r().toUpperCase()}}`}function s(){return`{${r()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},97927:(e,t,o)=>{o.r(t),o.d(t,{default:()=>U});var i=o(90237),r=o(49186),n=o(4718),s=o(93637),a=o(10107),l=(o(44208),o(53966),o(40608)),p=o(13600),u=o(82935),c=o(66552),y=o(69540),d=o(25482),f=(o(87811),o(69622)),m=o(21325);let h=class extends f.A{set horizontalWKID(e){e?(0,m.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,m.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1&&!Number.isNaN(t)&&o?.length>1&&i?.length>1&&r?.length>1}};(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"horizontalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"verticalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"x",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"y",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"z",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],h.prototype,"type",void 0),h=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientation")],h);const g=h;let v=class extends(y.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(u),c?.forEach((e=>f.push(e))),y?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"heading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationHPR")],v);const w=v;let _=class extends(y.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${o}|${i}|${r}|${s.join("|")}`}};(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"type",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"latitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"longitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"ellipsoidRadius",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"squaredEccentricity",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"properties",void 0),_=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationLTP")],_);const M=_;let x=class extends(y.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(u),c?.forEach((e=>f.push(e))),y?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],x.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"omega",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"phi",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"kappa",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"z",void 0),x=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationOPK")],x);const j=x;let Z=class extends(y.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1||!Number.isNaN(t)||o?.length>1||i?.length>1||r?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(u),c?.forEach((e=>f.push(e))),c?.forEach((e=>f.push(e))),y?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],Z.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],Z.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"yaw",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],Z.prototype,"z",void 0),Z=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationYPR")],Z);const P=Z;var b;!function(e){e[e.HPR=1]="HPR",e[e.OPK=2]="OPK",e[e.YPR=3]="YPR",e[e.LTP=4]="LTP"}(b||(b={}));const N=new Map;N.set(`${b.OPK}`,{desc:"Using Omega Phi Kappa",constructor:j}),N.set(`${b.HPR}`,{desc:"Using Heading, Pitch and Roll",constructor:w}),N.set(`${b.YPR}`,{desc:"Using Yaw, Pitch and Roll",constructor:P}),N.set(`${b.LTP}`,{desc:"Using Local Tangent Plane",constructor:M});let S=class extends(y.A.ClonableMixin(d.A)){constructor(){super(...arguments),this.url=null}};(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],S.prototype,"lod",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"rasterFunction",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"url",void 0),S=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],S);let z=class extends(y.A.ClonableMixin(d.A)){constructor(){super(...arguments),this.constantElevation=null}};function D(e,t,o){return e?null!=(i=e)&&"number"==typeof i.constantElevation?new z(e):function(e,t,o){let{url:i}=e;return i?(i=function(e,t,o){return t&&(e=`${t}${e}`),o&&(e+=`${o}`),e}(i,t,o),new S({...e,url:i})):null}(e,t,o):e;var i}(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],z.prototype,"constantElevation",void 0),z=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],z);const A=new c.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),O=new c.J({Feet:"feet",Meter:"meter"}),I=new c.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique","":null}),T=new Map;T.set(`${b.HPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,u,c,y,d,f,m,h,g,v,w,_,M,x]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,...E([p,u,c,y,d,f],[h,g],[v,w,_],[M,x],m)}})),T.set(`${b.YPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,u,c,y,d,f,m,h,g,v,w,_,M,x]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,...E([p,u,c,y,d,f],[h,g],[v,w,_],[M,x],m)}})),T.set(`${b.OPK}`,(function(e){const[t,o,i,r,n,s,a,l,p,u,c,y,d,f,m,h,g,v,w,_,M,x]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,...E([p,u,c,y,d,f],[h,g],[v,w,_],[M,x],m)}})),T.set(`${b.LTP}`,(function(e){const[t,o,i,r,n,...s]=e.slice(1),a=T.get(n),l=N.get(n)?.constructor;return a&&l?{latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:new l(a([n,"",...s]))}:null}));const R=e=>{const t=e.map((e=>parseFloat(e))).filter((e=>!isNaN(e)));if(t.length===e.length)return t};function E(e,t,o,i,r){const n=R(e),s=R(t),a=R(o),l=R(i);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(r):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}var $=o(79677),C=o(92935);const F=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),K=(e,t)=>!F.has(t)&&e;function L(e,t,o,i){const{name:r,write:n,read:s}=((e,t,o)=>{const i=`orientedImageryProperties.${e}`;return{name:i,write:t?{ignoreOrigin:!0,target:i,writer:t}:{ignoreOrigin:!0},read:o?{ignoreOrigin:!0,source:i,reader:o}:{ignoreOrigin:!0}}})(e,t,o),a={name:r,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${r}`,write:t,read:o},"web-scene":{name:r,write:K(n,e),read:K(s,e)},"web-map":{name:r,write:n,read:s}}};return i&&a.origins?(a.type=i,a.origins["web-map"].type=i,a.origins["web-scene"].type=i,a):a}let V=class extends p.default{constructor(){super(...arguments),this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:o}=this;return D(e,t,o)}async save(e){return this._debouncedSaveOperations(C.X.SAVE,e)}async saveAs(e,t){return this._debouncedSaveOperations(C.X.SAVE_AS,t,e)}findFirstValidLayerId(e){return e.layers?.find((e=>this.supportedSourceTypes.has(e.type)))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new r.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var W;(0,i._)([(0,a.MZ)({type:Number,json:L("cameraHeading")})],V.prototype,"cameraHeading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("cameraHeight")})],V.prototype,"cameraHeight",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("cameraPitch")})],V.prototype,"cameraPitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("cameraRoll")})],V.prototype,"cameraRoll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("coveragePercent")})],V.prototype,"coveragePercent",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("demPathPrefix")})],V.prototype,"demPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("demPathSuffix")})],V.prototype,"demPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("depthImagePathPrefix")})],V.prototype,"depthImagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("depthImagePathSuffix")})],V.prototype,"depthImagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Object,json:L("elevationSource")})],V.prototype,"elevationSource",void 0),(0,i._)([(0,a.MZ)({readOnly:!0})],V.prototype,"effectiveElevationSource",null),(0,i._)([(0,a.MZ)({type:Number,json:L("farDistance")})],V.prototype,"farDistance",void 0),(0,i._)([(0,a.MZ)()],V.prototype,"geometryType",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("horizontalFieldOfView")})],V.prototype,"horizontalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("horizontalMeasurementUnit")})],V.prototype,"horizontalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("imagePathPrefix")})],V.prototype,"imagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("imagePathSuffix")})],V.prototype,"imagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("imageRotation")})],V.prototype,"imageRotation",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("maximumDistance")})],V.prototype,"maximumDistance",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("nearDistance")})],V.prototype,"nearDistance",void 0),(0,i._)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],V.prototype,"operationalLayerType",void 0),(0,i._)([(0,a.MZ)({json:{...L("orientationAccuracy",((e,t,o)=>{(0,s.sM)(o,e.join(";"),t)}),(e=>{const t=e?.split(";")?.map(Number);return function(e){return Array.isArray(e)&&9===e?.length&&!e.some(isNaN)}(t)?t:[0,0,0,0,0,0,0,0,0]}),String)}})],V.prototype,"orientationAccuracy",void 0),(0,i._)([(0,a.MZ)({json:{...L("orientedImageryType",I.write,I.read,I.jsonValues.slice(1))}})],V.prototype,"orientedImageryType",void 0),(0,i._)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],V.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:A.apiValues,json:{...L("timeIntervalUnit",A.write,A.read,A.jsonValues)}})],V.prototype,"timeIntervalUnit",void 0),(0,i._)([(0,a.MZ)((W=(0,n.o8)(u.B),W.json?(W.json.origins=W.json.origins??{},W.json.origins["web-scene"]={write:!1,read:!1},W):W))],V.prototype,"useViewTime",void 0),(0,i._)([(0,a.MZ)({type:Number,json:L("verticalFieldOfView")})],V.prototype,"verticalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:O.apiValues,json:{...L("verticalMeasurementUnit",O.write,O.read,O.jsonValues)}})],V.prototype,"verticalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("videoPathPrefix")})],V.prototype,"videoPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:L("videoPathSuffix")})],V.prototype,"videoPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:$.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],V.prototype,"visibilityTimeExtent",void 0),V=(0,i._)([(0,l.$)("esri.layers.OrientedImageryLayer")],V);const U=V},32756:(e,t,o)=>{o.d(t,{Rr:()=>l,fY:()=>u,ne:()=>p});var i=o(90237),r=o(93637),n=o(10107),s=(o(44208),o(53966),o(87811),o(40608)),a=o(91880);function l(e,t,o){if(!e)return null;const i=e.find((e=>!!e.field));if(!i)return null;const r=new a.A;return r.read(i,o),[r]}const p={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,o,i){const n=e.find((e=>!!e.field));n&&(0,r.sM)(o,[n.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,n.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,i._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,o)=>{o.d(t,{A:()=>d});var i=o(90237),r=o(69540),n=o(25482),s=o(10107),a=(o(44208),o(53966),o(87811),o(36005)),l=o(40608),p=o(43937),u=o(80451),c=o(29005);let y=class extends(r.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const o of Object.keys(e))t[o]=(0,u.rS)(e[o]);return t}writeDomains(e,t){const o={};for(const t of Object.keys(e))e[t]&&(o[t]=e[t]?.toJSON());t.domains=o}};(0,i._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"id",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"name",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"domains",void 0),(0,i._)([(0,a.w)("domains")],y.prototype,"readDomains",null),(0,i._)([(0,p.K)("domains")],y.prototype,"writeDomains",null),(0,i._)([(0,s.MZ)({type:[c.A],json:{write:!0}})],y.prototype,"templates",void 0),y=(0,i._)([(0,l.$)("esri.layers.support.FeatureType")],y);const d=y},91880:(e,t,o)=>{o.d(t,{A:()=>c});var i,r=o(90237),n=o(66552),s=o(25482),a=o(10107),l=(o(44208),o(53966),o(87811),o(40608));const p=new n.J({asc:"ascending",desc:"descending"});let u=i=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,r._)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,r._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,r._)([(0,a.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=i=(0,r._)([(0,l.$)("esri.layers.support.OrderByInfo")],u);const c=u},32730:(e,t,o)=>{o.d(t,{BI:()=>h,D3:()=>f,XJ:()=>m,lc:()=>d,mX:()=>v,rU:()=>g,tH:()=>j});var i=o(799);const r="__begin__",n="__end__",s=new RegExp(r,"ig"),a=new RegExp(n,"ig"),l=new RegExp("^"+r,"i"),p=new RegExp(n+"$","i"),u='"',c=u+" + ",y=" + "+u;function d(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function f(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=d(e.labelExpression),t.type="conventional"),t}function h(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function g(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return j(t.expression)}return null}function v(e){let t;return e?(t=(0,i.HC)(e,(e=>r+'$feature["'+e+'"]'+n)),t=l.test(t)?t.replace(l,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(s,c).replaceAll(a,y)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,_=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,x=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function j(e){if(!e)return null;let t=_.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=x.exec(e),t?t[2]:null)}},58501:(e,t,o)=>{o.d(t,{q:()=>r});var i=o(62815);function r(e,t,o){if(!o?.features||!o.hasZ)return;const r=(0,i.N)(o.geometryType,t,e.outSpatialReference);if(null!=r)for(const e of o.features)r(e.geometry)}},22671:(e,t,o)=>{o.d(t,{A:()=>w});var i,r=o(90237),n=o(59456),s=o(52106),a=o(66552),l=o(25482),p=o(4718),u=o(10107),c=(o(44208),o(53966),o(36005)),y=o(40608),d=o(43937),f=o(16930),m=o(65864),h=o(20437);const g=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,o,i){if(e)return void g.write(e,t,o,i);const{features:r}=this;if(r)for(const e of r)if(null!=e?.geometry)return void g.write(e.geometry.type,t,o,i)}readQueryGeometry(e,t){if(!e)return null;const o=!!e.spatialReference,i=(0,m.rS)(e);return i&&!o&&t.spatialReference&&(i.spatialReference=f.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:o}=this;if(o)for(const e of o)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,p.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let o=0;o<t.features.length;o++){const i=t.features[o];if(i.geometry){const t=e?.[o];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,o],translate:[i,r]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((r-e)/o)));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:o}=this;if(!o)return this;const{translate:[i,r],scale:[n,s]}=o;let a=null,l=null;if(this.hasZ&&null!=o?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=o;a=o=>o*t+e}if(this.hasM&&null!=o?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=o;l=o=>null==o?o:o*t+e}const p=this._getHydrationFunction(e,(e=>e*n+i),(e=>r-e*s),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,o){const i=f.A.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const n=e[t],s=o.fromJSON(n),a=n.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=i);const l=n.aggregateGeometries,p=s.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],o=l[e],r=o?.spatialReference;null==t||r||(t.spatialReference=i)}r.push(s)}return r}_quantizePoints(e,t,o){let i,r;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=o(a[1]);e===i&&s===r||(n.push([e-i,s-r]),i=e,r=s)}else i=t(a[0]),r=o(a[1]),n.push([i,r])}return n.length>0?n:null}_getQuantizationFunction(e,t,o){return"point"===e?e=>(e.x=t(e.x),e.y=o(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,m.Bi)(e)?e.rings:e.paths,r=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],s=this._quantizePoints(n,t,o);s&&r.push(s)}return r.length>0?((0,m.Bi)(e)?e.rings=r:e.paths=r,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,o);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,o,i,r){return"point"===e?e=>{e.x=t(e.x),e.y=o(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,m.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];for(let e=0,r=i.length;e<r;e++){const r=i[e];e>0?(s+=r[0],a+=r[1]):(s=r[0],a=r[1]),r[0]=t(s),r[1]=o(a)}}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2]),o[3]=r(o[3])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=r(o[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=o(e.ymin),e.xmax=t(e.xmax),e.ymax=o(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),r&&null!=e.mmax&&null!=e.mmin&&(e.mmax=r(e.mmax),e.mmin=r(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=o(a)}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2]),t[3]=r(t[3])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}}:null}};(0,r._)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,r._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,r._)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,r._)([(0,c.w)("features")],v.prototype,"readFeatures",null),(0,r._)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,r._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,r._)([(0,d.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,r._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,r._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,r._)([(0,u.MZ)({types:n.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,r._)([(0,c.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,r._)([(0,u.MZ)({type:f.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,r._)([(0,d.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,r._)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,r._)([(0,y.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const w=v},41366:(e,t,o)=>{o.d(t,{K:()=>y,Q:()=>p});var i=o(90237),r=o(66552),n=o(53966),s=o(10107),a=(o(44208),o(87811),o(93223)),l=o(40608);const p=(0,r.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",y=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,o=null!=this.normalizationTotal;return t||o?(e=t&&c||o&&u||null,t&&o&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i._)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,i._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,i._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,i._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,i._)([(0,a.e)(p,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,i._)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},92935:(e,t,o)=>{var i;o.d(t,{X:()=>i}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(i||(i={}))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9062],{96520:(e,t,n)=>{n.d(t,{u:()=>i});var r=n(83047),o=n(21325);function s(e,t,n){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=n)}function i(e,t,n){if(!e&&!t||!n)return;const o=(0,r.G9)(n);l(e,n,o),l(t,n,o)}function l(e,t,n){if(e)for(const r of e)a(r.geometry,t,n)}function a(e,t,n){if(!e?.spatialReference||(0,o.aI)(e.spatialReference,t))return;const i=(0,r.G9)(e.spatialReference)/n;if(1!==i)if("x"in e)null!=e.z&&(e.z*=i);else if("rings"in e)s(e,e.rings,i);else if("paths"in e)s(e,e.paths,i);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=i)}},58501:(e,t,n)=>{n.d(t,{q:()=>o});var r=n(62815);function o(e,t,n){if(!n?.features||!n.hasZ)return;const o=(0,r.N)(n.geometryType,t,e.outSpatialReference);if(null!=o)for(const e of n.features)o(e.geometry)}},22671:(e,t,n)=>{n.d(t,{A:()=>R});var r,o=n(90237),s=n(59456),i=n(52106),l=n(66552),a=n(25482),f=n(4718),u=n(10107),p=(n(44208),n(53966),n(36005)),y=n(40608),c=n(43937),h=n(16930),m=n(65864),g=n(20437);const d=new l.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let x=r=class extends a.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,i.A)}writeGeometryType(e,t,n,r){if(e)return void d.write(e,t,n,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void d.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,m.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=h.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,f.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,o]}=e,s=this.features,i=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((o-e)/n)));for(let e=0,t=s.length;e<t;e++)i?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,o],scale:[s,i]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const f=this._getHydrationFunction(e,(e=>e*s+r),(e=>o-e*i),l,a);for(const{geometry:e}of t)null!=e&&f&&f(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=h.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],i=n.fromJSON(s),l=s.geometry?.spatialReference;null==i.geometry||l||(i.geometry.spatialReference=r);const a=s.aggregateGeometries,f=i.aggregateGeometries;if(a&&null!=f)for(const e in f){const t=f[e],n=a[e],o=n?.spatialReference;null==t||o||(t.spatialReference=r)}o.push(i)}return o}_quantizePoints(e,t,n){let r,o;const s=[];for(let i=0,l=e.length;i<l;i++){const l=e[i];if(i>0){const e=t(l[0]),i=n(l[1]);e===r&&i===o||(s.push([e-r,i-o]),r=e,o=i)}else r=t(l[0]),o=n(l[1]),s.push([r,o])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,m.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],i=this._quantizePoints(s,t,n);i&&o.push(i)}return o.length>0?((0,m.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,m.Bi)(e)?e.rings:e.paths;let i,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(i+=o[0],l+=o[1]):(i=o[0],l=o[1]),o[0]=t(i),o[1]=n(l)}}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=o(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let i,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(i+=r[0],l+=r[1]):(i=r[0],l=r[1]),r[0]=t(i),r[1]=n(l)}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,u.MZ)({type:String,json:{write:!0}})],x.prototype,"displayFieldName",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,u.MZ)({type:[i.A],json:{write:!0}})],x.prototype,"features",void 0),(0,o._)([(0,p.w)("features")],x.prototype,"readFeatures",null),(0,o._)([(0,u.MZ)({type:[g.A],json:{write:!0}})],x.prototype,"fields",void 0),(0,o._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:d.read}}})],x.prototype,"geometryType",void 0),(0,o._)([(0,c.K)("geometryType")],x.prototype,"writeGeometryType",null),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasM",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasZ",void 0),(0,o._)([(0,u.MZ)({types:s.yR,json:{write:!0}})],x.prototype,"queryGeometry",void 0),(0,o._)([(0,p.w)("queryGeometry")],x.prototype,"readQueryGeometry",null),(0,o._)([(0,u.MZ)({type:h.A,json:{write:!0}})],x.prototype,"spatialReference",void 0),(0,o._)([(0,c.K)("spatialReference")],x.prototype,"writeSpatialReference",null),(0,o._)([(0,u.MZ)({json:{write:!0}})],x.prototype,"transform",void 0),x=r=(0,o._)([(0,y.$)("esri.rest.support.FeatureSet")],x),x.prototype.toJSON.isDefaultToJSON=!0;const R=x}}]);