@arcgis/core 5.2.0-next.69 → 5.2.0-next.70

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 (639) hide show
  1. package/Basemap.js +1 -1
  2. package/Ground.js +1 -1
  3. package/WebDocument2D.js +1 -1
  4. package/WebScene.js +1 -1
  5. package/applications/Components/analysisUtils.js +1 -1
  6. package/applications/Components/arcadeEditorUtils.js +1 -1
  7. package/applications/Components/testUtils.js +1 -1
  8. package/applications/Urban/meshUtils.js +1 -1
  9. package/arcade/arcadeCompiler.js +1 -1
  10. package/arcade/functions/geomasync.js +1 -1
  11. package/arcade/functions/geomsync.js +1 -1
  12. package/arcade/functions/knowledgegraph.js +1 -1
  13. package/arcade/functions/track.js +1 -1
  14. package/arcade/geometry/operators.js +1 -1
  15. package/arcade/geometry/operatorsWorker.js +1 -1
  16. package/arcade/geometry/rotate.js +2 -0
  17. package/arcade/geometry/unitConversion.js +1 -1
  18. package/arcgisGlobal.d.ts +1 -0
  19. package/assets/components/assets/icon/loadConfiguration16.json +1 -0
  20. package/assets/components/assets/icon/loadConfiguration24.json +1 -0
  21. package/assets/components/assets/icon/loadConfiguration32.json +1 -0
  22. package/assets/esri/core/workers/RemoteClient.js +1 -1
  23. package/assets/esri/core/workers/chunks/{bece22668622a9a6bfe2.js → 011281fe918c4f0aec5d.js} +1 -1
  24. package/assets/esri/core/workers/chunks/01c92e68fb17cf2d0e08.js +1 -0
  25. package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +1 -0
  26. package/assets/esri/core/workers/chunks/0623acb2bd14a61b65c9.js +29 -0
  27. package/assets/esri/core/workers/chunks/065e3353124fc5ac44ce.js +1 -0
  28. package/assets/esri/core/workers/chunks/06c9aac75a01d3af6d54.js +1 -0
  29. package/assets/esri/core/workers/chunks/073f1d5f89875c6aefb1.js +1 -0
  30. package/assets/esri/core/workers/chunks/{d583bcea4d1a21da9147.js → 0846855843f85661e974.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{7a818499c1079906c2d7.js → 089f8c60e96d920a2cb2.js} +1 -1
  32. package/assets/esri/core/workers/chunks/09653bd2a31d293a10d9.js +2 -0
  33. package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +1 -0
  34. package/assets/esri/core/workers/chunks/0aedeb837399d3f92e4a.js +1 -0
  35. package/assets/esri/core/workers/chunks/0b18de5147d76b68896f.js +1 -0
  36. package/assets/esri/core/workers/chunks/{f5d809d30cbb56be852d.js → 0e333aced8b23aa49a0e.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{dad39ddf0f8dfb0bef47.js → 0eaa8265a4cd64297545.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{4e1b087453fc5e20e961.js → 118ccfa2d685764752ee.js} +1 -1
  39. package/assets/esri/core/workers/chunks/158d2ac0333d53556e33.js +1 -0
  40. package/assets/esri/core/workers/chunks/160b204cbf5bda2a29e9.js +1 -0
  41. package/assets/esri/core/workers/chunks/16cade1c2ddf44e336ee.js +1 -0
  42. package/assets/esri/core/workers/chunks/19233d0016e5b154c5ce.js +1 -0
  43. package/assets/esri/core/workers/chunks/19cb8963d5ec2246357b.js +1 -0
  44. package/assets/esri/core/workers/chunks/{0ae35b02dda9b9662560.js → 1ac8a7a129ba33e05a24.js} +1 -1
  45. package/assets/esri/core/workers/chunks/1b130af7d14eaae69d96.js +1 -0
  46. package/assets/esri/core/workers/chunks/1ca04ecf010e68863014.js +1 -0
  47. package/assets/esri/core/workers/chunks/1cc063aa2ddf44bbd515.js +1 -0
  48. package/assets/esri/core/workers/chunks/{c055c16379f5bb56e930.js → 1d92d53186debd52e753.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{37a8cfec11057947b45f.js → 1dba93abe84d30f05d8d.js} +1 -1
  50. package/assets/esri/core/workers/chunks/1e0140556c2e3fa72545.js +1 -0
  51. package/assets/esri/core/workers/chunks/1e5cb72830c7f32f2961.js +1 -0
  52. package/assets/esri/core/workers/chunks/{510acf2e8781be9b0dba.js → 1f888f026b004447772c.js} +1 -1
  53. package/assets/esri/core/workers/chunks/2033e6d42453e4e67048.js +1 -0
  54. package/assets/esri/core/workers/chunks/24006cea112d657f053a.js +1 -0
  55. package/assets/esri/core/workers/chunks/{7b531feba4fd662575f9.js → 28924f31f5ba8ebdc60a.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{893ffc38e1a43de5b63d.js → 28b09fe50b855a1d8a3f.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{b9c7aa04861f545a559c.js → 2bcb7e43578124538c3c.js} +1 -1
  58. package/assets/esri/core/workers/chunks/2bdb9b5365869081c936.js +1 -0
  59. package/assets/esri/core/workers/chunks/{df89bf05c18f0c8e418b.js → 2cfe6f41865ffb3a4645.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{63858dfcff1177e597e7.js → 2d1ae18a28491b00091d.js} +1 -1
  61. package/assets/esri/core/workers/chunks/2d3a18d56e2e5669c562.js +1 -0
  62. package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +1 -0
  63. package/assets/esri/core/workers/chunks/2f58e1f64df2da8259a2.js +1 -0
  64. package/assets/esri/core/workers/chunks/31669511cfddf116d991.js +1 -0
  65. package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +1 -0
  66. package/assets/esri/core/workers/chunks/33e293836f5d28dc5d62.js +1 -0
  67. package/assets/esri/core/workers/chunks/{59a795eba31061dc357a.js → 359584a8fb5687a7d098.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{9c5dff4f13102871786e.js → 36171c72a3c04b0d13ef.js} +1 -1
  69. package/assets/esri/core/workers/chunks/38660a8cc3623c854d88.js +1 -0
  70. package/assets/esri/core/workers/chunks/3978f00a03e97645b276.js +1 -0
  71. package/assets/esri/core/workers/chunks/3b14ed3184743df336a6.js +1 -0
  72. package/assets/esri/core/workers/chunks/{f82cd34a79c8aa58d40c.js → 3b3a8a6167f2e1eeb828.js} +2 -2
  73. package/assets/esri/core/workers/chunks/3d6b2d5ae647e140abaf.js +1 -0
  74. package/assets/esri/core/workers/chunks/3dc71e03a630dd50b28e.js +1 -0
  75. package/assets/esri/core/workers/chunks/3de6e54b6ed0feae1940.js +1 -0
  76. package/assets/esri/core/workers/chunks/3dff36f6de181d9dcdc5.js +1 -0
  77. package/assets/esri/core/workers/chunks/3fd022df127af32782ce.js +1 -0
  78. package/assets/esri/core/workers/chunks/40693ee558a1eb1e93f4.js +1 -0
  79. package/assets/esri/core/workers/chunks/4344ab1250a1c550bf8b.js +1 -0
  80. package/assets/esri/core/workers/chunks/4491dc227c28e2ab4f8e.js +1 -0
  81. package/assets/esri/core/workers/chunks/{909e88c27d80777b047c.js → 463747a822499dd933ef.js} +1 -1
  82. package/assets/esri/core/workers/chunks/4695cd6120f60b234d5c.js +1 -0
  83. package/assets/esri/core/workers/chunks/4823e77515f451628fad.js +1 -0
  84. package/assets/esri/core/workers/chunks/484b3e2a220c440ccbb4.js +1 -0
  85. package/assets/esri/core/workers/chunks/4c2794687aea172775a0.js +1 -0
  86. package/assets/esri/core/workers/chunks/{b5b698008b8f3f4d5d61.js → 4ce57dd39075e8fb357c.js} +1 -1
  87. package/assets/esri/core/workers/chunks/4da993c79b373b9d304e.js +2 -0
  88. package/assets/esri/core/workers/chunks/4da993c79b373b9d304e.js.LICENSE.txt +4 -0
  89. package/assets/esri/core/workers/chunks/4e129b9f5772a06e580c.js +1 -0
  90. package/assets/esri/core/workers/chunks/50e0dd74795978468625.js +1 -0
  91. package/assets/esri/core/workers/chunks/{0a98a13418f53082ca7a.js → 5459ba8fdeb2370bb52b.js} +1 -1
  92. package/assets/esri/core/workers/chunks/582a1d468089b9986416.js +1 -0
  93. package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +1 -0
  94. package/assets/esri/core/workers/chunks/{bfb626805405646a0419.js → 5eb29f0068f1c839d05e.js} +1 -1
  95. package/assets/esri/core/workers/chunks/5f201c77a09ae0df29d6.js +1 -0
  96. package/assets/esri/core/workers/chunks/{6d5038d4351fe29e2718.js → 5fb76575575fe8cfb1f0.js} +1 -1
  97. package/assets/esri/core/workers/chunks/6072c63a5da4366e9942.js +1 -0
  98. package/assets/esri/core/workers/chunks/6080e46fc79127500283.js +1 -0
  99. package/assets/esri/core/workers/chunks/623d5518bca227f643bd.js +1 -0
  100. package/assets/esri/core/workers/chunks/62811bca7ad2100c023c.js +1 -0
  101. package/assets/esri/core/workers/chunks/6357c7cac401aee9fe77.js +1 -0
  102. package/assets/esri/core/workers/chunks/{91c543443cd6768ad6ff.js → 6525c925bb91facb3575.js} +1 -1
  103. package/assets/esri/core/workers/chunks/67d3ff7fcefaa7d5d27f.js +1 -0
  104. package/assets/esri/core/workers/chunks/{b5571e93bc136dac8ee1.js → 67ebde34377f98d17cda.js} +1 -1
  105. package/assets/esri/core/workers/chunks/687cf21e027f49b44d22.js +1 -0
  106. package/assets/esri/core/workers/chunks/{6b0acd1a7dd74a7367e0.js → 694371f51c52a7a94da4.js} +1 -1
  107. package/assets/esri/core/workers/chunks/6a9002fcba11e2cf3f2e.js +1 -0
  108. package/assets/esri/core/workers/chunks/{f4e813ead56d963b16b8.js → 6b208bac120bcfecd9e4.js} +1 -1
  109. package/assets/esri/core/workers/chunks/6cd6d0cfd313f0475d98.js +1 -0
  110. package/assets/esri/core/workers/chunks/6f58cb9dffe8016397a2.js +1 -0
  111. package/assets/esri/core/workers/chunks/7260e63252fa5452dc22.js +1 -0
  112. package/assets/esri/core/workers/chunks/72dcd4bd1a28bf8605c5.js +1 -0
  113. package/assets/esri/core/workers/chunks/73f77f5a6907cb8d9a35.js +1 -0
  114. package/assets/esri/core/workers/chunks/77df0bb35d2688729479.js +1 -0
  115. package/assets/esri/core/workers/chunks/{09c43bcb09aad02e83a9.js → 7a143ca61c0a70306185.js} +1 -1
  116. package/assets/esri/core/workers/chunks/7ca9c908432b1afa0367.js +1 -0
  117. package/assets/esri/core/workers/chunks/{ec2e0b2e31fd53b81d0a.js → 7ddf9b2718dd047f15e6.js} +1 -1
  118. package/assets/esri/core/workers/chunks/7f208ef75ef2ce0d7cf9.js +1 -0
  119. package/assets/esri/core/workers/chunks/7f4a592bcf4ecb55949a.js +1 -0
  120. package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.js +1 -0
  121. package/assets/esri/core/workers/chunks/864691186c449ca2c3db.js +1 -0
  122. package/assets/esri/core/workers/chunks/869d292a60747c93dc84.js +1 -0
  123. package/assets/esri/core/workers/chunks/{7e2794705b4e679fcb3f.js → 86a4057572755b403548.js} +1 -1
  124. package/assets/esri/core/workers/chunks/{99772ce7e628364434fa.js → 8c1bddc88cc5f4251021.js} +1 -1
  125. package/assets/esri/core/workers/chunks/8c76f31a363dd0c3354d.js +1 -0
  126. package/assets/esri/core/workers/chunks/8eecc6df6511c8830f5d.js +1 -0
  127. package/assets/esri/core/workers/chunks/{0da4816c11b45b4a6289.js → 8fea514aada1195c8f30.js} +1 -1
  128. package/assets/esri/core/workers/chunks/{7ebbb90d80600d9ba889.js → 913fb883455aeac8582b.js} +1 -1
  129. package/assets/esri/core/workers/chunks/927582ec15bff2acbb49.js +1 -0
  130. package/assets/esri/core/workers/chunks/{89132395eca329b9ab92.js → 9482a6d7baa24bbf5693.js} +1 -1
  131. package/assets/esri/core/workers/chunks/9684ab5e8254fdfcb7bb.js +1 -0
  132. package/assets/esri/core/workers/chunks/96d861265566854760cd.js +1 -0
  133. package/assets/esri/core/workers/chunks/98e6c1d035755a074d24.js +1 -0
  134. package/assets/esri/core/workers/chunks/9937920e7993814d0b2c.js +1 -0
  135. package/assets/esri/core/workers/chunks/{9d0bda096cdbd7e22f4b.js → 9bbff8237540409610b3.js} +1 -1
  136. package/assets/esri/core/workers/chunks/9dda9414104f585560a4.js +2 -0
  137. package/assets/esri/core/workers/chunks/{be291d920ebc68fde02b.js.LICENSE.txt → 9dda9414104f585560a4.js.LICENSE.txt} +0 -5
  138. package/assets/esri/core/workers/chunks/{1dc1bfb3425665f560e4.js → a486d99f9879f94151ba.js} +1 -1
  139. package/assets/esri/core/workers/chunks/{475c60ed8785d07911c6.js → a5c115fc53edb52ce1de.js} +1 -1
  140. package/assets/esri/core/workers/chunks/a62f1b8ed065b2a38f1a.js +1 -0
  141. package/assets/esri/core/workers/chunks/{830d1a7dee43422507ab.js → a739e617fc461014ad1f.js} +1 -1
  142. package/assets/esri/core/workers/chunks/aa21031c8f12ca438eaa.js +1 -0
  143. package/assets/esri/core/workers/chunks/ad27689b231e282b7620.js +1 -0
  144. package/assets/esri/core/workers/chunks/af6e8c961fd768fa7be3.js +1 -0
  145. package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +1 -0
  146. package/assets/esri/core/workers/chunks/b599b7dadce8b8bc88f6.js +1 -0
  147. package/assets/esri/core/workers/chunks/{873d8332e2149eb1b36a.js → b6c7b7b7f87dce5de811.js} +3 -3
  148. package/assets/esri/core/workers/chunks/b7d8817018b3d277c454.js +1 -0
  149. package/assets/esri/core/workers/chunks/{d90bc34d97bb21c29c40.js → b8cd81d8fcc78d272130.js} +1 -1
  150. package/assets/esri/core/workers/chunks/{450bc48a7389607bce1e.js → b984b808d383974ca3d8.js} +1 -1
  151. package/assets/esri/core/workers/chunks/b9953277d0cd4a01bdc6.js +1 -0
  152. package/assets/esri/core/workers/chunks/c02b3b8b71205f6ce290.js +1 -0
  153. package/assets/esri/core/workers/chunks/c03da138651ac53cadcb.js +2 -0
  154. package/assets/esri/core/workers/chunks/c21212c356f65244e34e.js +1 -0
  155. package/assets/esri/core/workers/chunks/{1fece9757de7c10d1e9f.js → c29df43817278f674707.js} +1 -1
  156. package/assets/esri/core/workers/chunks/{589b31cc5c663a288942.js → c6bf17b5ff6ec4b980a1.js} +1 -1
  157. package/assets/esri/core/workers/chunks/c715c585c42d8c2b86f5.js +1 -0
  158. package/assets/esri/core/workers/chunks/c7e9513f75b8ec205562.js +1 -0
  159. package/assets/esri/core/workers/chunks/c866b66ba72d96453899.js +1 -0
  160. package/assets/esri/core/workers/chunks/{5fde1234c5cccaee6763.js → c873383e7dae35dc1a61.js} +1 -1
  161. package/assets/esri/core/workers/chunks/c99dcc17fbd7acd2ad2e.js +1 -0
  162. package/assets/esri/core/workers/chunks/cae94d6805e0e8db3600.js +1 -0
  163. package/assets/esri/core/workers/chunks/cc5ec6e99aa09342c704.js +1 -0
  164. package/assets/esri/core/workers/chunks/cd4e5c948d1bfa9b9a2d.js +1 -0
  165. package/assets/esri/core/workers/chunks/{6501ee40bf25f9f75d02.js → ce481eeb27ea9c1782ae.js} +1 -1
  166. package/assets/esri/core/workers/chunks/{d214ac457ac970479536.js → cec1c87eb3749276ced4.js} +1 -1
  167. package/assets/esri/core/workers/chunks/cfe31b7d1c6c05fbd268.js +1 -0
  168. package/assets/esri/core/workers/chunks/d08f81d545930a79fb2e.js +1 -0
  169. package/assets/esri/core/workers/chunks/d0c1bc90e474f706211c.js +1 -0
  170. package/assets/esri/core/workers/chunks/d2faac81142586cf7509.js +1 -0
  171. package/assets/esri/core/workers/chunks/d607cf154218d20e4114.js +1 -0
  172. package/assets/esri/core/workers/chunks/{b94cd7eac5ff4a78dd5b.js → d7b6985984071e78c764.js} +1 -1
  173. package/assets/esri/core/workers/chunks/d901f8503a73277cfa58.js +1 -0
  174. package/assets/esri/core/workers/chunks/d93d0cb69f3a9a722510.js +1 -0
  175. package/assets/esri/core/workers/chunks/{9073b0f0ec93d6e243b9.js → da1c9257793c2817f40f.js} +1 -1
  176. package/assets/esri/core/workers/chunks/{94719ac469dadc4c05dc.js → dc0c3109b7558b4fe016.js} +1 -1
  177. package/assets/esri/core/workers/chunks/{dc7e4f7879debf557e46.js → de3d0973cff1e0858c52.js} +2 -2
  178. package/assets/esri/core/workers/chunks/{adce59e4111bae4225f7.js → e421dee5d8b030e79ffb.js} +1 -1
  179. package/assets/esri/core/workers/chunks/e602b91d8fdc36a92530.js +1 -0
  180. package/assets/esri/core/workers/chunks/{c13e55b9efb0b532f7ee.js → e61ab8ef30bbe788b9d7.js} +1 -1
  181. package/assets/esri/core/workers/chunks/e702abaeccef20b64a81.js +1 -0
  182. package/assets/esri/core/workers/chunks/{11a3aa43fb940c21f148.js → eb95464bd017fb839510.js} +1 -1
  183. package/assets/esri/core/workers/chunks/ebd619533be077059494.js +1 -0
  184. package/assets/esri/core/workers/chunks/ed564358cc7b3ee463a3.js +1 -0
  185. package/assets/esri/core/workers/chunks/ef2e0a014c982d9c7ca4.js +1 -0
  186. package/assets/esri/core/workers/chunks/f5cf338cecfc81f23128.js +1 -0
  187. package/assets/esri/core/workers/chunks/f6150b51a9430691a040.js +1 -0
  188. package/assets/esri/core/workers/chunks/{f4aed2b6e92bd0474069.js → f69329b85b362b349a8c.js} +1 -1
  189. package/assets/esri/core/workers/chunks/f721756a6c1593f96409.js +1 -0
  190. package/assets/esri/core/workers/chunks/fa19d5923276418096da.js +1 -0
  191. package/assets/esri/core/workers/chunks/fa5d27e47d47ff8fcb96.js +2 -0
  192. package/assets/esri/core/workers/chunks/fb12d3c63fcac8391e06.js +1 -0
  193. package/assets/esri/core/workers/chunks/fc9065d0cd6285fe0f0d.js +1 -0
  194. package/assets/esri/core/workers/chunks/{b526055794e64b0227ca.js → fd6107f95082e05f016a.js} +11 -11
  195. package/assets/esri/core/workers/chunks/fe10a95ebe1da2322af6.js +1 -0
  196. package/assets/esri/core/workers/chunks/fe71a0604f0928113419.js +1 -0
  197. package/assets/esri/core/workers/chunks/fec07a16b72cdcafc641.js +1 -0
  198. package/assets/esri/core/workers/chunks/fff23b2682590c4b21e3.js +1 -0
  199. package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
  200. package/chunks/Bufferer-CclWhXVb.js +1 -1
  201. package/chunks/ColorMaterial.glsl.js +18 -5
  202. package/chunks/Component.glsl.js +42 -34
  203. package/chunks/Envelope.js +1 -1
  204. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
  205. package/chunks/Geometry.js +1 -1
  206. package/chunks/GeometryCleaner-CIE8Wfmb.js +1 -1
  207. package/chunks/MultiPathImpl.js +1 -1
  208. package/chunks/OperatorAffineTransform.js +2 -0
  209. package/chunks/OperatorCentroid2D.js +2 -0
  210. package/chunks/OperatorCrosses.js +1 -1
  211. package/chunks/OperatorCut.js +1 -1
  212. package/chunks/OperatorGeneralize.js +1 -1
  213. package/chunks/OperatorGeodesicBuffer.js +1 -1
  214. package/chunks/OperatorGeodeticLength.js +1 -1
  215. package/chunks/OperatorGraphicBuffer.js +1 -1
  216. package/chunks/OperatorIntersects.js +1 -1
  217. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  218. package/chunks/OperatorOverlaps.js +1 -1
  219. package/chunks/OperatorProximityGeodesic.js +1 -1
  220. package/chunks/OperatorShapePreservingLength.js +1 -1
  221. package/chunks/OperatorShapePreservingProject.js +1 -1
  222. package/chunks/OperatorSimplifyOGC.js +1 -1
  223. package/chunks/OperatorTouches.js +1 -1
  224. package/chunks/OperatorWithin.js +1 -1
  225. package/chunks/Point2D.js +1 -1
  226. package/chunks/SideCalculator2D-DX0718xq.js +1 -1
  227. package/chunks/SpatialReference.js +1 -1
  228. package/chunks/arcade.js +1 -1
  229. package/chunks/bundle.js +1 -1
  230. package/chunks/bundle2.js +1 -1
  231. package/chunks/centroidOperator.js +1 -1
  232. package/chunks/containsOperator.js +1 -1
  233. package/chunks/disjointOperator.js +1 -1
  234. package/chunks/equalsOperator.js +1 -1
  235. package/chunks/geodeticDistanceOperator.js +2 -0
  236. package/chunks/multiPartToSinglePartOperator.js +2 -0
  237. package/chunks/offsetOperator.js +2 -0
  238. package/config.js +1 -1
  239. package/core/imageUtils.js +1 -1
  240. package/core/workers/WorkerFallback.js +1 -1
  241. package/core/workers/registry.js +1 -1
  242. package/core/workers/workerFactory.js +1 -1
  243. package/core/workers/workers.js +1 -1
  244. package/editing/sharedTemplates/SharedTemplateProvider.js +1 -1
  245. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  246. package/editing/sharedTemplates/executor/createTemplateExecutor.js +1 -1
  247. package/editing/sharedTemplates/templateLoader.js +1 -1
  248. package/geometry/libtess.js +1 -1
  249. package/geometry/operators/affineTransformOperator.js +1 -1
  250. package/geometry/operators/centroidOperator.js +1 -1
  251. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  252. package/geometry/operators/gx/operatorAffineTransform.js +1 -1
  253. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  254. package/geometry/operators/gx/operatorBuffer.js +1 -1
  255. package/geometry/operators/gx/operatorConvexHull.js +1 -1
  256. package/geometry/operators/gx/operatorDifference.js +1 -1
  257. package/geometry/operators/gx/operatorIntersection.js +1 -1
  258. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  259. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  260. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  261. package/geometry/operators/gx/operatorOffset.js +1 -1
  262. package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
  263. package/geometry/operators/gx/operatorUnion.js +1 -1
  264. package/geometry/operators/json/containsOperator.js +1 -1
  265. package/geometry/operators/json/disjointOperator.js +1 -1
  266. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  267. package/geometry/operators/offsetOperator.js +1 -1
  268. package/geometry/support/curves/densifyCurvedGeometry.js +1 -1
  269. package/geometry/support/meshUtils.js +1 -1
  270. package/interfaces.d.ts +3 -0
  271. package/kernel.js +1 -1
  272. package/layers/CSVLayer.js +1 -1
  273. package/layers/CatalogLayer.js +1 -1
  274. package/layers/ElevationLayer.js +1 -1
  275. package/layers/FeatureLayer.js +1 -1
  276. package/layers/GeoJSONLayer.js +1 -1
  277. package/layers/GroupLayer.js +1 -1
  278. package/layers/ImageryLayer.js +1 -1
  279. package/layers/ImageryTileLayer.js +1 -1
  280. package/layers/Layer.js +1 -1
  281. package/layers/MapImageLayer.js +1 -1
  282. package/layers/MediaLayer.js +1 -1
  283. package/layers/SceneLayer.js +1 -1
  284. package/layers/StreamLayer.js +1 -1
  285. package/layers/SubtypeGroupLayer.js +1 -1
  286. package/layers/WCSLayer.js +1 -1
  287. package/layers/WFSLayer.js +1 -1
  288. package/layers/graphics/data/QueryEngineResult.js +1 -1
  289. package/layers/graphics/data/queryUtils.js +1 -1
  290. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  291. package/layers/graphics/sources/MemorySource.js +1 -1
  292. package/layers/graphics/sources/connections/GeoEventConnection.js +1 -1
  293. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  294. package/layers/knowledgeGraph/cypherUtils.js +1 -1
  295. package/layers/mixins/ArcGISImageService.js +1 -1
  296. package/layers/mixins/PortalLayer.js +1 -1
  297. package/layers/mixins/TiledImagery.js +1 -1
  298. package/layers/raster/datasets/FunctionRaster.js +1 -1
  299. package/layers/raster/datasets/pixelReader.js +1 -1
  300. package/layers/raster/functions/clipUtils.js +1 -1
  301. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  302. package/layers/support/Sublayer.js +1 -1
  303. package/layers/support/arcgisLayers.js +1 -1
  304. package/layers/support/featureLayerUtils.js +1 -1
  305. package/layers/support/fromPortalItem.js +1 -1
  306. package/layers/support/layersLoader.js +1 -1
  307. package/layers/support/vectorTileLayerLoader.js +1 -1
  308. package/libs/basisu/BasisUEncoder.js +1 -1
  309. package/libs/basisu/BasisUTranscoder.js +1 -1
  310. package/libs/dracoMeshDecoder/dracoMeshDecoder.js +1 -1
  311. package/libs/dxtEncoder/DXTEncoder.js +1 -1
  312. package/libs/i3s/I3SModule.js +1 -1
  313. package/libs/parquet/loadParquetModule.js +1 -1
  314. package/libs/text/loadTextModule.js +1 -1
  315. package/networks/UtilityNetwork.js +1 -1
  316. package/networks/support/utils.js +1 -1
  317. package/package.json +3 -3
  318. package/popup/FeatureContentCollection.js +1 -1
  319. package/popup/Features.js +1 -1
  320. package/portal/Portal.js +1 -1
  321. package/portal/PortalItem.js +1 -1
  322. package/portal/PortalItemResource.js +1 -1
  323. package/portal/PortalUser.js +1 -1
  324. package/renderers/support/DictionaryLoader.js +1 -1
  325. package/request/process.js +1 -1
  326. package/request/queue.js +1 -1
  327. package/request.js +1 -1
  328. package/rest/geoprocessor/utils.js +1 -1
  329. package/rest/knowledgeGraph/wasmInterface/knowledgeWasmAccess.js +1 -1
  330. package/rest/support/JobInfo.js +1 -1
  331. package/rest/utils.js +1 -1
  332. package/smartMapping/renderers/support/rendererUtils.js +1 -1
  333. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  334. package/support/revision.js +1 -1
  335. package/support/tests/serviceMockDependencies.js +1 -1
  336. package/support/zipUtils.js +1 -1
  337. package/symbols/WebStyleSymbol.js +1 -1
  338. package/symbols/cim/CIMOperators.js +1 -1
  339. package/symbols/cim/cimAnalyzer.js +1 -1
  340. package/symbols/cim/defaultCIMValues.js +1 -1
  341. package/symbols/cim/effects/EffectCircularSector.js +2 -0
  342. package/symbols/cim/types.d.ts +42 -1
  343. package/symbols/cim/utils.js +1 -1
  344. package/symbols/support/symbolLayerUtils.js +1 -1
  345. package/symbols/support/symbolUtils.js +1 -1
  346. package/symbols/support/utils.js +1 -1
  347. package/undoredo/support/ServiceVersionInfo.js +1 -1
  348. package/versionManagement/VersionManagementService.js +1 -1
  349. package/views/2d/engine/Stage.js +1 -1
  350. package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
  351. package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
  352. package/views/2d/engine/vectorTiles/TileParser.js +1 -1
  353. package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
  354. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  355. package/views/2d/engine/vectorTiles/WorkerTile.js +1 -1
  356. package/views/2d/engine/vectorTiles/WorkerTileHandler.js +1 -1
  357. package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSource.js +2 -0
  358. package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSourceWorker.js +2 -0
  359. package/views/2d/engine/vectorTiles/style/RemoteVectorTileSource.js +2 -0
  360. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  361. package/views/2d/engine/vectorTiles/style/VectorTilePbfWriter.js +2 -0
  362. package/views/2d/engine/vectorTiles/style/VectorTileSource.js +1 -1
  363. package/views/2d/engine/vectorTiles/style/encodeVectorTileFeatures.js +2 -0
  364. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  365. package/views/2d/engine/webgl/GlyphSDFCreator.js +1 -1
  366. package/views/2d/engine/webgl/GlyphSource.js +1 -1
  367. package/views/2d/engine/webgl/GlyphWorker.js +2 -0
  368. package/views/2d/engine/webgl/Painter.js +1 -1
  369. package/views/2d/engine/webgl/TextureManager.js +1 -1
  370. package/views/2d/engine/webgl/mesh/factories/ResourceProxy.js +1 -1
  371. package/views/2d/engine/webgl/shaderGraph/techniques/createGraphicSymbolMeshSchemas.js +1 -1
  372. package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillMeshWriter.js +1 -1
  373. package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillMeshWriter.js +1 -1
  374. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineMeshWriter.js +1 -1
  375. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
  376. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  377. package/views/2d/layers/RouteLayerView2D.js +1 -1
  378. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  379. package/views/2d/layers/features/Processor.js +1 -1
  380. package/views/2d/layers/features/schema/processor/MatcherSchema.js +1 -1
  381. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  382. package/views/2d/layers/features/support/FeatureSetReaderVectorTileFeatureCursor.js +2 -0
  383. package/views/2d/layers/support/MediaLayerInteraction.js +1 -1
  384. package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
  385. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  386. package/views/3d/analysis/Viewshed/ViewshedObserverManipulatedObject3D.js +1 -1
  387. package/views/3d/analysis/Viewshed/ViewshedSnappingController.js +1 -1
  388. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  389. package/views/3d/analysis/Viewshed/viewshedToolManipulatorUtils.js +1 -1
  390. package/views/3d/interactive/manipulatorUtils.js +1 -1
  391. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  392. package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
  393. package/views/3d/layers/I3SMeshView3D.js +1 -1
  394. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  395. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  396. package/views/3d/layers/SceneLayerWorker.js +1 -1
  397. package/views/3d/layers/VectorTileLayerView3D.js +1 -1
  398. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  399. package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
  400. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  401. package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
  402. package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
  403. package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
  404. package/views/3d/layers/graphics/ObjectResourceCache.js +1 -1
  405. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  406. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  407. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  408. package/views/3d/layers/support/FlowTileTree3DDebugger.js +1 -1
  409. package/views/3d/layers/support/TerrainTileTree3DDebugger.js +1 -1
  410. package/views/3d/state/ViewStateManager.js +1 -1
  411. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  412. package/views/3d/support/CombinedElevationProvider.js +1 -1
  413. package/views/3d/support/viewpointUtils.js +1 -1
  414. package/views/3d/terrain/TerrainSurface.js +1 -1
  415. package/views/3d/terrain/TransparencyMode.js +2 -0
  416. package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
  417. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  418. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  419. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js +1 -1
  420. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
  421. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  422. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +7 -7
  423. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  424. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  425. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  426. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  427. package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
  428. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  429. package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
  430. package/views/PopupView.js +1 -1
  431. package/views/SceneView.js +1 -1
  432. package/views/VideoView.js +1 -1
  433. package/views/View.js +1 -1
  434. package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
  435. package/views/draw/PointDrawAction.js +1 -1
  436. package/views/draw/PolygonDrawAction.js +1 -1
  437. package/views/draw/PolylineDrawAction.js +1 -1
  438. package/views/draw/SegmentDrawAction.js +1 -1
  439. package/views/draw/support/createSnappingVisualizer.js +1 -1
  440. package/views/interactive/snapping/SnappingManager.js +1 -1
  441. package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
  442. package/views/layers/HighlightableLayerView.d.ts +2 -0
  443. package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
  444. package/views/selection/SelectionOperation.js +1 -1
  445. package/views/support/GeometryWorker.js +1 -1
  446. package/views/support/GroundElevationSampler.js +1 -1
  447. package/webdoc/support/resourceUtils.js +1 -1
  448. package/webdoc/support/webdocLoadUtils.js +1 -1
  449. package/webdoc/support/webdocSaveUtils.js +1 -1
  450. package/webscene/Slide.js +1 -1
  451. package/webscene/spec-certification/api.js +1 -1
  452. package/webscene/spec-certification/spec.js +1 -1
  453. package/webscene/support/analysisUtils.js +1 -1
  454. package/widgets/BasemapLayerList.js +1 -1
  455. package/widgets/BatchAttributeForm/ValueChangeTransaction.js +1 -1
  456. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  457. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  458. package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +1 -1
  459. package/widgets/BatchAttributeForm.js +1 -1
  460. package/widgets/CatalogLayerList.js +1 -1
  461. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  462. package/widgets/Editor/UpdateWorkflow.js +1 -1
  463. package/widgets/Editor/legacy/CreateFeaturesWorkflow.js +1 -1
  464. package/widgets/Editor/legacy/UpdateWorkflow.js +1 -1
  465. package/widgets/Editor/modelUploadUtils.js +1 -1
  466. package/widgets/Editor/support/mergeFeaturesUtils.js +1 -1
  467. package/widgets/Editor/support/splitFeatureUtils.js +1 -1
  468. package/widgets/Editor/workflowUtils.js +1 -1
  469. package/widgets/Editor.js +1 -1
  470. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  471. package/widgets/ElevationProfile.js +1 -1
  472. package/widgets/Feature/FeatureMedia.js +1 -1
  473. package/widgets/Feature/FeatureRelationship/FeatureRelationshipViewModel.js +1 -1
  474. package/widgets/Feature/FeatureRelationship.js +1 -1
  475. package/widgets/Feature/FeatureUtilityNetworkAssociationList.js +1 -1
  476. package/widgets/Feature.js +1 -1
  477. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  478. package/widgets/FeatureForm/support/textManipulationUtils.js +1 -1
  479. package/widgets/FeatureForm.js +1 -1
  480. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  481. package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
  482. package/widgets/FeatureTable/Grid/types.d.ts +78 -4
  483. package/widgets/FeatureTable/support/FeatureStore.d.ts +675 -0
  484. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  485. package/widgets/FeatureTable/support/types.d.ts +28 -0
  486. package/widgets/Features/FeaturesViewModel.js +1 -1
  487. package/widgets/Features.js +1 -1
  488. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  489. package/widgets/LayerList/ListItemPanel.js +1 -1
  490. package/widgets/LayerList.js +1 -1
  491. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  492. package/widgets/Legend/support/colorRampUtils.js +1 -1
  493. package/widgets/Legend/support/sizeRampUtils.js +1 -1
  494. package/widgets/Legend/support/utils.js +1 -1
  495. package/widgets/Measurement.js +1 -1
  496. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  497. package/widgets/OrientedImageryViewer/services/DepthImageService.js +1 -1
  498. package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
  499. package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
  500. package/widgets/OrientedImageryViewer.js +1 -1
  501. package/widgets/PanoramicVideoViewer.js +1 -1
  502. package/widgets/PanoramicViewer/support/PanoramicMedia.js +1 -1
  503. package/widgets/PanoramicViewer/support/importUtils.js +1 -1
  504. package/widgets/PanoramicViewer.js +1 -1
  505. package/widgets/Print.js +1 -1
  506. package/widgets/Search/SearchViewModel.js +1 -1
  507. package/widgets/Search/support/layerSearchUtils.js +1 -1
  508. package/widgets/Search/support/locatorUtils.js +1 -1
  509. package/widgets/Sketch/SketchViewModel.js +1 -1
  510. package/widgets/Sketch/support/PluginManager.js +1 -1
  511. package/widgets/Sketch.js +1 -1
  512. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  513. package/widgets/support/SnappingControls.js +1 -1
  514. package/widgets/support/symbolPreviewUtils.js +1 -1
  515. package/arcade/geometry/offset.js +0 -2
  516. package/assets/esri/core/workers/chunks/067b00498ae85f635f60.js +0 -1
  517. package/assets/esri/core/workers/chunks/0b20f92bae2b4c40d299.js +0 -1
  518. package/assets/esri/core/workers/chunks/0c582abc8d25249eb530.js +0 -1
  519. package/assets/esri/core/workers/chunks/0d6776055e9b34c14151.js +0 -1
  520. package/assets/esri/core/workers/chunks/0e6b6fcc55cc43ede1fc.js +0 -1
  521. package/assets/esri/core/workers/chunks/126f1f6b355723db6c4f.js +0 -1
  522. package/assets/esri/core/workers/chunks/149284464115981694ff.js +0 -1
  523. package/assets/esri/core/workers/chunks/181f330314c1989f642f.js +0 -1
  524. package/assets/esri/core/workers/chunks/1840d74ebae777a0200b.js +0 -1
  525. package/assets/esri/core/workers/chunks/1bfbdec791e19f5a2534.js +0 -1
  526. package/assets/esri/core/workers/chunks/1d38a710cf799cb0e5b3.js +0 -1
  527. package/assets/esri/core/workers/chunks/1d8280f63a6698e74f20.js +0 -1
  528. package/assets/esri/core/workers/chunks/1f48438b3055afeb710f.js +0 -1
  529. package/assets/esri/core/workers/chunks/25999b6f96ec305a7679.js +0 -1
  530. package/assets/esri/core/workers/chunks/28565756f884d0851003.js +0 -1
  531. package/assets/esri/core/workers/chunks/2a5a165848413764381b.js +0 -1
  532. package/assets/esri/core/workers/chunks/2e7a5bb740281ef59199.js +0 -1
  533. package/assets/esri/core/workers/chunks/2f87a49bdd00f899d81d.js +0 -1
  534. package/assets/esri/core/workers/chunks/302d91b7c480c6c9304b.js +0 -1
  535. package/assets/esri/core/workers/chunks/30c53a7e1ad5aa52f2f3.js +0 -1
  536. package/assets/esri/core/workers/chunks/3b493e8043ec1a2a5d96.js +0 -1
  537. package/assets/esri/core/workers/chunks/3ddd717ea12d9823eee2.js +0 -1
  538. package/assets/esri/core/workers/chunks/3f84ade6285560b692d1.js +0 -1
  539. package/assets/esri/core/workers/chunks/4129b27fcd4103cdc499.js +0 -1
  540. package/assets/esri/core/workers/chunks/41f7f3615d3ecb87c59a.js +0 -1
  541. package/assets/esri/core/workers/chunks/465a050fd838ee8eddf3.js +0 -1
  542. package/assets/esri/core/workers/chunks/46d8a1d6f7341ad20749.js +0 -1
  543. package/assets/esri/core/workers/chunks/48a0dfaabb9b4bce4191.js +0 -1
  544. package/assets/esri/core/workers/chunks/4addea2e35b0c845743e.js +0 -1
  545. package/assets/esri/core/workers/chunks/4ae626868e14bedd7fc5.js +0 -1
  546. package/assets/esri/core/workers/chunks/529ee4670940720e888b.js +0 -1
  547. package/assets/esri/core/workers/chunks/538bdf02c4dfb5ec72fe.js +0 -1
  548. package/assets/esri/core/workers/chunks/59d1708ae13c6e7e6e55.js +0 -1
  549. package/assets/esri/core/workers/chunks/5adf16c034a590b5e9f5.js +0 -1
  550. package/assets/esri/core/workers/chunks/5fb0e8f89b885e5e3742.js +0 -1
  551. package/assets/esri/core/workers/chunks/60f9b37dd738d884c48d.js +0 -1
  552. package/assets/esri/core/workers/chunks/62c8413f3bbc1378273d.js +0 -1
  553. package/assets/esri/core/workers/chunks/632ab11cdd4b0d9a5cc5.js +0 -1
  554. package/assets/esri/core/workers/chunks/663cf8bff17c894cd5f8.js +0 -1
  555. package/assets/esri/core/workers/chunks/6cc1120554bcb1b4899b.js +0 -1
  556. package/assets/esri/core/workers/chunks/6d1371b521c7f94fd77e.js +0 -1
  557. package/assets/esri/core/workers/chunks/6f102c90908c9900cdaa.js +0 -1
  558. package/assets/esri/core/workers/chunks/7278fdf6bfcdffa10a7f.js +0 -1
  559. package/assets/esri/core/workers/chunks/73cb499d7d68c59ba34e.js +0 -1
  560. package/assets/esri/core/workers/chunks/76bccc318d7cc33829a7.js +0 -1
  561. package/assets/esri/core/workers/chunks/777eafdb86b26b35c803.js +0 -1
  562. package/assets/esri/core/workers/chunks/7821aeba3e414b318a75.js +0 -1
  563. package/assets/esri/core/workers/chunks/7ac47a9ad244100bc3b1.js +0 -1
  564. package/assets/esri/core/workers/chunks/7b0ed52363704cfce129.js +0 -1
  565. package/assets/esri/core/workers/chunks/7c57354d026e27e056d4.js +0 -1
  566. package/assets/esri/core/workers/chunks/7dd672c25beb8813cc75.js +0 -2
  567. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +0 -1
  568. package/assets/esri/core/workers/chunks/7f125963555dc1ce63ad.js +0 -1
  569. package/assets/esri/core/workers/chunks/805c97b875d3066fb8df.js +0 -1
  570. package/assets/esri/core/workers/chunks/86ed75b7169b8ee43025.js +0 -1
  571. package/assets/esri/core/workers/chunks/88c3b60b403e2454b56e.js +0 -1
  572. package/assets/esri/core/workers/chunks/894343e415639df88243.js +0 -1
  573. package/assets/esri/core/workers/chunks/8b4759cef5ae5e43253b.js +0 -1
  574. package/assets/esri/core/workers/chunks/8ba4175f5e9a24ffecf7.js +0 -1
  575. package/assets/esri/core/workers/chunks/8e1d4867406753c5483c.js +0 -1
  576. package/assets/esri/core/workers/chunks/8e38c5e63aae42bdf5a4.js +0 -29
  577. package/assets/esri/core/workers/chunks/8f785b722b1a131bf370.js +0 -1
  578. package/assets/esri/core/workers/chunks/8f8db62f126e4a8c1bf7.js +0 -1
  579. package/assets/esri/core/workers/chunks/8f9874f42f21a4cb3acd.js +0 -1
  580. package/assets/esri/core/workers/chunks/90f4b81c6034253b70d7.js +0 -1
  581. package/assets/esri/core/workers/chunks/93ab247ff34694ac60eb.js +0 -1
  582. package/assets/esri/core/workers/chunks/9954149def644c371894.js +0 -1
  583. package/assets/esri/core/workers/chunks/9dfb7d120195991e9672.js +0 -1
  584. package/assets/esri/core/workers/chunks/9ed5e6b06afea6c85330.js +0 -1
  585. package/assets/esri/core/workers/chunks/a108f276659d5f25352c.js +0 -1
  586. package/assets/esri/core/workers/chunks/a504fa17d83facf1c01f.js +0 -1
  587. package/assets/esri/core/workers/chunks/a5fdb02b1714e93fa69e.js +0 -1
  588. package/assets/esri/core/workers/chunks/a9f616f22042b0dce8b9.js +0 -1
  589. package/assets/esri/core/workers/chunks/afd63c18ce4656271c8e.js +0 -1
  590. package/assets/esri/core/workers/chunks/b059dabb1c732829487c.js +0 -1
  591. package/assets/esri/core/workers/chunks/b318823aefcefad6fad5.js +0 -1
  592. package/assets/esri/core/workers/chunks/b378e504a5b1afc8d0ce.js +0 -1
  593. package/assets/esri/core/workers/chunks/b5397dc03fa0bd654ba6.js +0 -1
  594. package/assets/esri/core/workers/chunks/b7bcb31737b01d7736d0.js +0 -1
  595. package/assets/esri/core/workers/chunks/ba030767cf935f967454.js +0 -1
  596. package/assets/esri/core/workers/chunks/be291d920ebc68fde02b.js +0 -2
  597. package/assets/esri/core/workers/chunks/c10a0eebd935472d8fae.js +0 -1
  598. package/assets/esri/core/workers/chunks/c16e83e448a32d13048f.js +0 -1
  599. package/assets/esri/core/workers/chunks/c2db773201adca204f95.js +0 -1
  600. package/assets/esri/core/workers/chunks/c4c83b5129c279c3615b.js +0 -1
  601. package/assets/esri/core/workers/chunks/c7e391df714839484cd1.js +0 -1
  602. package/assets/esri/core/workers/chunks/cca095f0c623e037002d.js +0 -1
  603. package/assets/esri/core/workers/chunks/cded485ad893a7dd2948.js +0 -1
  604. package/assets/esri/core/workers/chunks/cf03d391d50a4c7aca4f.js +0 -1
  605. package/assets/esri/core/workers/chunks/cf8ce63711488f2e677c.js +0 -1
  606. package/assets/esri/core/workers/chunks/d198ecb1fe3690d6092f.js +0 -2
  607. package/assets/esri/core/workers/chunks/d2a51c797b2966cb95f3.js +0 -2
  608. package/assets/esri/core/workers/chunks/d303621c902330be5035.js +0 -1
  609. package/assets/esri/core/workers/chunks/d4d385d19e62ef1c286f.js +0 -1
  610. package/assets/esri/core/workers/chunks/d4f005dadba75422b401.js +0 -1
  611. package/assets/esri/core/workers/chunks/d5e15021928e95c11463.js +0 -1
  612. package/assets/esri/core/workers/chunks/d6500f6b2ff115d9eb09.js +0 -1
  613. package/assets/esri/core/workers/chunks/d9c78c2db04a06ee83ed.js +0 -1
  614. package/assets/esri/core/workers/chunks/dccb46c7dce68528c72b.js +0 -1
  615. package/assets/esri/core/workers/chunks/df174346a7e9b629a392.js +0 -1
  616. package/assets/esri/core/workers/chunks/e08c64e4ae5a68eae2be.js +0 -1
  617. package/assets/esri/core/workers/chunks/e1492d2404c3ed82931e.js +0 -1
  618. package/assets/esri/core/workers/chunks/e34ed3b818b2eb4116c5.js +0 -1
  619. package/assets/esri/core/workers/chunks/e7149d23615fee31ab7e.js +0 -1
  620. package/assets/esri/core/workers/chunks/ec774f5d6ea5c29536e5.js +0 -1
  621. package/assets/esri/core/workers/chunks/ed71a4e353715db0a6e9.js +0 -1
  622. package/assets/esri/core/workers/chunks/f029c12f1afee0e9b2a1.js +0 -1
  623. package/assets/esri/core/workers/chunks/f4eda59ec1e816ecc827.js +0 -1
  624. package/assets/esri/core/workers/chunks/f54eba484f40d5eeb590.js +0 -1
  625. package/assets/esri/core/workers/chunks/f622b27ebdf1c918fd6d.js +0 -1
  626. package/assets/esri/core/workers/chunks/f6a13f07a5f7b781a9a8.js +0 -1
  627. package/assets/esri/core/workers/chunks/f6f1122bed931f1d960b.js +0 -1
  628. package/assets/esri/core/workers/chunks/f8b8d3d2710c83acccf3.js +0 -1
  629. package/assets/esri/core/workers/chunks/f98bb3885bfc7f18f26c.js +0 -1
  630. package/assets/esri/core/workers/chunks/fc827f58db3194922056.js +0 -1
  631. package/chunks/ShadedColorMaterial.glsl.js +0 -13
  632. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +0 -2
  633. package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +0 -2
  634. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +0 -2
  635. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechniqueConfiguration.js +0 -2
  636. /package/assets/esri/core/workers/chunks/{d198ecb1fe3690d6092f.js.LICENSE.txt → 09653bd2a31d293a10d9.js.LICENSE.txt} +0 -0
  637. /package/assets/esri/core/workers/chunks/{f82cd34a79c8aa58d40c.js.LICENSE.txt → 3b3a8a6167f2e1eeb828.js.LICENSE.txt} +0 -0
  638. /package/assets/esri/core/workers/chunks/{d2a51c797b2966cb95f3.js.LICENSE.txt → c03da138651ac53cadcb.js.LICENSE.txt} +0 -0
  639. /package/assets/esri/core/workers/chunks/{7dd672c25beb8813cc75.js.LICENSE.txt → fa5d27e47d47ff8fcb96.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[737,6344,9296],{68197(e,t,n){n.d(t,{A:()=>u});var i=n(40876),r=n(4576),s=n(34727),o=n(56507);function l(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function a(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class u{static blendColors(e,t,n,i=new u){return i.r=Math.round(e.r+(t.r-e.r)*n),i.g=Math.round(e.g+(t.g-e.g)*n),i.b=Math.round(e.b+(t.b-e.b)*n),i.a=e.a+(t.a-e.a)*n,i._sanitize()}static fromRgb(e,t){const n=(0,i.lT)(e);return n?u.fromArray(n,t):null}static fromHex(e,t=new u){const n=(0,i.oW)(e);return n?u.fromArray(n,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,i.Eq)(e);return n?u.fromArray(n,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,r.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,i=3===n||4===n,r=4===n||8===n,s=`#${a(this.r,i)}${a(this.g,i)}${a(this.b,i)}${r?a(Math.round(255*this.a),i):""}`;return t?s.toUpperCase():s}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=l(this.r),n=l(this.g),i=l(this.b);return 0===e||1!==this.a?[t,n,i,l(255*this.a)]:[t,n,i]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(e,t,n,i){this.r=e,this.g=t,this.b=n,this.a=i}}u.prototype.declaredClass="esri.Color"},52106(e,t,n){n.d(t,{A:()=>_});var i,r,s=n(5482),o=n(37838),l=n(69540),a=n(51447),u=n(25482),c=n(53966),d=n(36708),h=n(24326),p=n(91429),f=n(12195),m=n(65864),y=n(50498),g=n(55156),b=n(60950),v=n(54339),M=n(94128),w=n(33910);function S(e){if(null==e)return null;const t={};for(const n in e){const i=e[n];i&&(t[n]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let _=class extends((0,l.OU)(u.o)){static{i=M.Z}static{r=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,h.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new r({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:S(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const r={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(r.action=i),"attributes"===e&&(r.attributeName=i),this.layer.graphicChanged(r)}_watchMeshGeometryChanges(){this.addHandles([(0,d.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,d.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,p.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const i=(0,m.rS)(e[n]);i&&(t[n]=i)}return 0!==Object.keys(t).length?t:null}}})],_.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,p.MZ)({value:null})],_.prototype,"attributes",null),(0,s.Cg)([(0,p.MZ)({value:null,types:y.yR,json:{read:m.rS}})],_.prototype,"geometry",null),(0,s.Cg)([(0,p.MZ)()],_.prototype,"distance",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean})],_.prototype,"isAggregate",void 0),(0,s.Cg)([(0,p.MZ)({clonable:!1})],_.prototype,"layer",void 0),(0,s.Cg)([(0,p.MZ)({clonable:"reference"})],_.prototype,"origin",void 0),(0,s.Cg)([(0,p.MZ)({type:o.A,value:null})],_.prototype,"popupTemplate",null),(0,s.Cg)([(0,p.MZ)({clonable:"reference"})],_.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],_.prototype,"statisticsAggregatedIds",void 0),(0,s.Cg)([(0,p.MZ)({value:null,types:w.Es})],_.prototype,"symbol",null),(0,s.Cg)([(0,p.MZ)({clonable:!1,json:{read:!1,write:!1}})],_.prototype,"_version",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,value:!0})],_.prototype,"visible",null),_=r=(0,s.Cg)([(0,p.$K)("esri.Graphic")],_)},40876(e,t,n){n.d(t,{Eq:()=>p,G1:()=>m,TS:()=>s,V6:()=>r,Vm:()=>f,ay:()=>a,c1:()=>y,c4:()=>o,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>v});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(e){return!!i[e]||!!i[e.toLowerCase()]}function s(e){return i[e]??i[e.toLowerCase()]}function o(e){return[...s(e)]}function l(e,t,n){n<0&&++n,n>1&&--n;const i=6*n;return i<1?e+(t-e)*i:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function a(e,t,n,i=1){const r=(e%360+360)%360/360,s=n<=.5?n*(t+1):n+t-n*t,o=2*n-s;return[Math.round(255*l(o,s,r+1/3)),Math.round(255*l(o,s,r)),Math.round(255*l(o,s,r-1/3)),i]}function u(e){const t=e.length>5,n=t?8:4,i=(1<<n)-1,r=t?1:17,s=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const l=[0,0,0,1];let a;return s&&(a=o&i,o>>=n,l[3]=r*a/255),a=o&i,o>>=n,l[2]=r*a,a=o&i,o>>=n,l[1]=r*a,a=o&i,o>>=n,l[0]=r*a,l}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=y(e[0]),e[1]=y(e[1]),e[2]=y(e[2]),e[3]=4===e.length?m(e[3]):1,e}function p(e){let t=r(e)?s(e):null;return t??=d(e),t??=c(e),t}function f(e){const t=p(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return g(e,0,1)}function y(e){return Math.round(g(e,0,255))}function g(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const b=1/2.2;function v(e){return e**b}n.d(t,["iw",0,b])},66344(e,t,n){n.d(t,{q:()=>l});const i=!!(0,n(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const n=this._db.get(e.id+t);return n?.size??0}put(e,t,n,r,o){t=e.id+t;const l=this._db.get(t);if(l&&(this._size-=l.size,e.size-=l.size,this._db.delete(t),l.entry!==n&&this._notifyRemove(t,l.entry,l.size,0)),r>this._maxSize)return void this._notifyRemove(t,n,r,0);if(void 0===n)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return i||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,n,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(t,new s(n,r,a)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const n=this._db.get(t);if(!n)return;this._size-=n.size,e.size-=n.size;let i=n.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,n.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}n.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const n=this._db.get(t);if(n)return this._size-=n.size,e.size-=n.size,this._db.delete(t),++this._hit,n.entry;++this._miss}get(e,t){t=e.id+t;const n=this._db.get(t);if(void 0!==n)return this._db.delete(t),n.lives=n.lifetime,this._db.set(t,n),++this._hit,n.entry;++this._miss}peek(e,t){const n=this._db.get(e.id+t);return n?++this._hit:++this._miss,n?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},n=new Array;this._db.forEach((e,i)=>{const r=e.lifetime;n[r]=(n[r]||0)+e.size,this._clients.forEach(n=>{const{id:r,name:s}=n;if(i.startsWith(r)){const n=t[s]||0;t[s]=n+e.size}})});const i={};this._clients.forEach(e=>{const n=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[n]||0;t[n]=r,i[n]=Math.round(100*e.hitRate)+"%"}else i[n]="0%"});const r=Object.keys(t);r.sort((e,n)=>t[n]-t[e]),r.forEach(n=>e[n]=Math.round(t[n]/2**20)+"MB / "+i[n]);for(let t=n.length-1;t>=0;--t){const i=n[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,n)=>{n.startsWith(t)&&(this._size-=e.size,this._db.delete(n),this._notifyRemove(n,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,n]of this._db)t.startsWith(e.id)&&(yield n.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,n,i){const r=this._clients.get(e.split(o)[0])?.removeFunc,s=r?.(t,i,n);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const n=t??this;if(n.size<=e)return;const i=t?.id;let r=!0;for(;r;){r=!1;for(const[s,l]of this._db)if(0===l.lifetime&&(!i||s.startsWith(i))){const i=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,l,i),n.size<=.9*e)return;r||=this._db.has(s)}}for(const[r,s]of this._db)if(!i||r.startsWith(i)){const i=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,s,i),n.size<=.9*e)return}}_purgeItem(e,t,n){if(this._db.delete(e),t.lives<=1){this._size-=t.size,n&&(n.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,n&&(n.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class s{constructor(e,t,n){this.entry=e,this.size=t,this.lifetime=n,this.lives=n}}const o=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new r(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,n=1){this._storage.put(this,e,t,n,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},6797(e,t,n){n.d(t,{Ui:()=>h});var i=n(69622),r=n(7762),s=n(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof i.A}function a(e){return e instanceof r.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof r.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function d(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const i=a(e),r=a(t);if(0===i.length&&0===r.length)return;if(!i.length||!r.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=r.filter(e=>!i.includes(e)),h=i.filter(e=>!r.includes(e)),p=i.filter(n=>r.includes(n)&&u(e,n)!==u(t,n)).concat(s,h).sort(),f=c(e);if(f&&o.has(f)&&p.length)return{type:"complete",oldValue:e,newValue:t};let m;const y=l(e)&&l(t);for(const i of p){const r=u(e,i),s=u(t,i);let o;if((y||"function"!=typeof r&&"function"!=typeof s)&&r!==s&&(null!=r||null!=s)){if(n&&n[i]&&"function"==typeof n[i])o=n[i]?.(r,s);else if(r instanceof Date&&s instanceof Date){if(r.getTime()===s.getTime())continue;o={type:"complete",oldValue:r,newValue:s}}else o="object"==typeof r&&"object"==typeof s&&c(r)===c(s)?d(r,s):{type:"complete",oldValue:r,newValue:s};null!=o&&(null!=m?m.diff[i]=o:m={type:"partial",diff:{[i]:o}})}}return m}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},9093(e,t,n){function i(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>r,vt:()=>i});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:r,create:i,fromValues:function(e,t,n,i,r,s,o,l,a,u,c,d,h,p,f,m){return[e,t,n,i,r,s,o,l,a,u,c,d,h,p,f,m]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["zK",0,s])},35522(e,t,n){n.d(t,{$A:()=>x,Bw:()=>s,C:()=>o,Cc:()=>F,DI:()=>S,Io:()=>b,Ln:()=>g,Om:()=>I,Qr:()=>d,Re:()=>u,S8:()=>_,T9:()=>m,WQ:()=>a,Z0:()=>A,_S:()=>p,aI:()=>E,ei:()=>C,fw:()=>z,g7:()=>Z,gL:()=>T,hG:()=>v,hZ:()=>l,hs:()=>y,jk:()=>f,lw:()=>c,m3:()=>M,oW:()=>k,t2:()=>R,tn:()=>h,ze:()=>w});var i=n(51850),r=n(34304);function s(e){const t=e[0],n=e[1],i=e[2];return Math.sqrt(t*t+n*n+i*i)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function l(e,t,n,i){return e[0]=t,e[1]=n,e[2]=i,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function d(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function h(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function p(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function m(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function g(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e[2]=t[2]+n[2]*i,e}function b(e,t){const n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2];return Math.sqrt(n*n+i*i+r*r)}function v(e,t){const n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2];return n*n+i*i+r*r}function M(e){const t=e[0],n=e[1],i=e[2];return t*t+n*n+i*i}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function S(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function _(e,t){const n=t[0],i=t[1],r=t[2];let s=n*n+i*i+r*r;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function I(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function x(e,t,n){const i=t[0],r=t[1],s=t[2],o=n[0],l=n[1],a=n[2];return e[0]=r*a-s*l,e[1]=s*o-i*a,e[2]=i*l-r*o,e}function F(e,t,n,i){const r=t[0],s=t[1],o=t[2];return e[0]=r+i*(n[0]-r),e[1]=s+i*(n[1]-s),e[2]=o+i*(n[2]-o),e}function A(e,t,n){const i=t[0],r=t[1],s=t[2];return e[0]=n[0]*i+n[4]*r+n[8]*s+n[12],e[1]=n[1]*i+n[5]*r+n[9]*s+n[13],e[2]=n[2]*i+n[6]*r+n[10]*s+n[14],e}function C(e,t,n){const i=t[0],r=t[1],s=t[2];return e[0]=i*n[0]+r*n[3]+s*n[6],e[1]=i*n[1]+r*n[4]+s*n[7],e[2]=i*n[2]+r*n[5]+s*n[8],e}function T(e,t,n){return z(e,t,n[0],n[1],n[2],n[3])}function z(e,t,n,i,r,s){const o=t[0],l=t[1],a=t[2],u=i*a-r*l,c=r*o-n*a,d=n*l-i*o,h=i*d-r*c,p=r*u-n*d,f=n*c-i*u,m=2*s;return e[0]=o+u*m+2*h,e[1]=l+c*m+2*p,e[2]=a+d*m+2*f,e}function Z(e,t){_(j,e),_(O,t);const n=I(j,O);return n>1?0:n<-1?Math.PI:Math.acos(n)}const j=(0,i.vt)(),O=(0,i.vt)();function R(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function E(e,t){if(e===t)return!0;const n=e[0],i=e[1],s=e[2],o=t[0],l=t[1],a=t[2],u=(0,r.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(s-a)<=u*Math.max(1,Math.abs(s),Math.abs(a))}function k(e,t,n){const i=n[0]-t[0],r=n[1]-t[1],s=n[2]-t[2];let o=i*i+r*r+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=i*o,e[1]=r*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,N=c,P=d,q=b,D=v,$=s,G=M;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:a,angle:Z,bezier:function(e,t,n,i,r,s){const o=1-s,l=o*o,a=s*s,u=l*o,c=3*s*l,d=3*a*o,h=a*s;return e[0]=t[0]*u+n[0]*c+i[0]*d+r[0]*h,e[1]=t[1]*u+n[1]*c+i[1]*d+r[1]*h,e[2]=t[2]*u+n[2]*c+i[2]*d+r[2]*h,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:x,crossAndNormalize:function(e,t,n){const i=t[0],r=t[1],s=t[2],o=n[0],l=n[1],a=n[2],u=r*a-s*l,c=s*o-i*a,d=i*l-r*o,h=Math.sqrt(u*u+c*c+d*d);return e[0]=u/h,e[1]=c/h,e[2]=d/h,e},direction:k,dist:q,distance:b,div:P,divide:d,dot:I,equals:E,exactEquals:R,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,i,r,s){const o=s*s,l=o*(2*s-3)+1,a=o*(s-2)+s,u=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*l+n[0]*a+i[0]*u+r[0]*c,e[1]=t[1]*l+n[1]*a+i[1]*u+r[1]*c,e[2]=t[2]*l+n[2]*a+i[2]*u+r[2]*c,e},inverse:S,len:$,length:s,lerp:F,max:m,min:f,mul:N,multiply:c,negate:w,normalize:_,random:function(e,t=1){const n=r.Ov,i=2*n()*Math.PI,s=2*n()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(i)*o,e[1]=Math.sin(i)*o,e[2]=s*t,e},rotateX:function(e,t,n,i){const r=[],s=[];return r[0]=t[0]-n[0],r[1]=t[1]-n[1],r[2]=t[2]-n[2],s[0]=r[0],s[1]=r[1]*Math.cos(i)-r[2]*Math.sin(i),s[2]=r[1]*Math.sin(i)+r[2]*Math.cos(i),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateY:function(e,t,n,i){const r=[],s=[];return r[0]=t[0]-n[0],r[1]=t[1]-n[1],r[2]=t[2]-n[2],s[0]=r[2]*Math.sin(i)+r[0]*Math.cos(i),s[1]=r[1],s[2]=r[2]*Math.cos(i)-r[0]*Math.sin(i),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateZ:function(e,t,n,i){const r=[],s=[];return r[0]=t[0]-n[0],r[1]=t[1]-n[1],r[2]=t[2]-n[2],s[0]=r[0]*Math.cos(i)-r[1]*Math.sin(i),s[1]=r[0]*Math.sin(i)+r[1]*Math.cos(i),s[2]=r[2],e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:y,scaleAndAdd:g,set:l,sign:p,sqrDist:D,sqrLen:G,squaredDistance:v,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:C,transformMat4:A,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:T,transformQuatValues:z},Symbol.toStringTag,{value:"Module"})),n.d(t,["Il",0,$,"jb",0,L,"lo",0,D,"uE",0,G,"xg",0,q])},90629(e,t,n){n.d(t,{Lz:()=>r,PN:()=>s,cr:()=>o,gs:()=>a,r_:()=>u,tc:()=>l}),n(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function s(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(i);if(t){const n=Number(t[1]),i=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),o="px"===i?s(n):n;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function l(e=0,t=0){return{x:e,y:t}}function a(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},13069(e,t,n){n.d(t,{AG:()=>l,lk:()=>r,vD:()=>o,yS:()=>s});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 s(){return`{${r().toUpperCase()}}`}function o(){return`{${r()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var i,r=n(5482),s=n(69540),o=n(25482),l=n(91429),a=n(99157);let u=i=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,r.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=i=(0,r.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>a});var i,r=n(5482),s=n(69540),o=n(25482),l=n(91429);let a=i=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,r.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],a.prototype,"isInverse",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=i=(0,r.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>r});var i=n(49208);function r(e,t,n,r,s,o,l=Math.floor(e.length/3)){const a=(0,i.jd)(t,s);if(null==a)return!1;if(a===i.pO){if(e===r&&n===o)return!0;const t=n+3*l;for(let i=n,s=o;i<t;i++,s++)r[s]=e[i]??0;return!0}const u=n+3*l;for(let t=n,i=o;t<u;t+=3,i+=3)a(e,t,r,i);return!0}},49208(e,t,n){n.d(t,{Tp:()=>d,jd:()=>c,pO:()=>p});var i=n(34727),r=n(86211),s=n(73941),o=n(79258),l=n(34403),a=n(21325);const u={2:{5:p,7:null,9:null,10:p,1:w,6:null,8:null,0:null,3:m,11:y,2:p,4:F},5:{5:p,7:null,9:null,10:p,1:w,6:null,8:null,0:null,3:m,11:y,2:p,4:F},7:{5:null,7:p,9:null,10:p,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,n,i){const r=e[t]/j,s=Z-2*Math.atan(Math.exp(-e[t+1]/j)),o=j+(e[t+2]??0),l=Math.cos(s)*o;n[i]=Math.cos(r)*l,n[i+1]=Math.sin(r)*l,n[i+2]=Math.sin(s)*o},6:null,8:null,0:null,3:p,11:function(e,t,n,i){f(e,t,n,i),y(n,i,n,i)},2:f,4:function(e,t,n,i){f(e,t,n,i),F(n,i,n,i)}},4:{5:A,7:null,9:null,10:A,1:function(e,t,n,i){A(e,t,n,i),w(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){A(e,t,n,i),m(n,i,n,i)},11:function(e,t,n,i){A(e,t,n,i),y(n,i,n,i)},2:A,4:p},1:{5:x,7:null,9:null,10:x,1:p,6:null,8:null,0:null,3:function(e,t,n,i){x(e,t,n,i),m(n,i,n,i)},11:function(e,t,n,i){x(e,t,n,i),y(n,i,n,i)},2:x,4:function(e,t,n,i){x(e,t,n,i),F(n,i,n,i)}},6:{5:null,7:I,9:null,10:I,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:_,10:_,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:w,6:M,8:v,0:null,3:m,11:y,2:p,4:F},11:{5:g,7:null,9:null,10:g,1:function(e,t,n,i){g(e,t,n,i),w(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){g(e,t,n,i),m(n,i,n,i)},11:p,2:g,4:function(e,t,n,i){g(e,t,n,i),F(n,i,n,i)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(C.source.spatialReference===e&&C.dest.spatialReference===t)return C;const n=h(e,C.source),i=h(t,C.dest);return 0===n&&0===i?(0,a.aI)(e,t)?C.projector=p:C.projector=null:C.projector=u[n][i],C}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,r.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function p(e,t,n,i){e!==n&&(n[i++]=e[t++],n[i++]=e[t++],n[i]=e[t]??0)}function f(e,t,n,i){n[i]=z*(e[t]/j),n[i+1]=z*(Z-2*Math.atan(Math.exp(-e[t+1]/j))),n[i+2]=e[t+2]??0}function m(e,t,n,r){!function(e,t,n,r,s){const o=.4999999*Math.PI,l=(0,i.qE)(T*e[t+1],-o,o),a=Math.sin(l);n[r++]=T*e[t]*s.radius,n[r++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[r]=e[t+2]??0}(e,t,n,r,o.$O)}function y(e,t,n,i){n[i]=e[t]*O,n[i+1]=e[t+1]*O,n[i+2]=e[t+2]??0}function g(e,t,n,i){n[i]=e[t]*R,n[i+1]=e[t+1]*R,n[i+2]=e[t+2]??0}function b(e,t,n,i,r){const s=r+(e[t+2]??0),o=T*e[t],l=T*e[t+1],a=Math.cos(l)*s;n[i]=Math.cos(o)*a,n[i+1]=Math.sin(o)*a,n[i+2]=Math.sin(l)*s}function v(e,t,n,i){b(e,t,n,i,o.Sw.radius)}function M(e,t,n,i){b(e,t,n,i,o.sH.radius)}function w(e,t,n,i){b(e,t,n,i,o.$O.radius)}function S(e,t,n,r,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,i.YN)(a/(0===u?1:u)),d=Math.atan2(l,o);n[r++]=z*d,n[r++]=z*c,n[r]=u-s}function _(e,t,n,i){S(e,t,n,i,o.Sw.radius)}function I(e,t,n,i){S(e,t,n,i,o.sH.radius)}function x(e,t,n,i){S(e,t,n,i,o.$O.radius)}function F(e,t,n,i){!function(e,t,n,i,r){const s=T*e[t],o=T*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=r.radius/Math.sqrt(1-r.eccentricitySquared*a*a);n[i++]=(c+l)*u*Math.cos(s),n[i++]=(c+l)*u*Math.sin(s),n[i++]=(c*(1-r.eccentricitySquared)+l)*a}(e,t,n,i,o.$O)}function A(e,t,n,i){const r=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,d,h,p,f,m,y,g,b,v,M,w,S,_,I,x,F,A,C,T,Z;c=Math.abs(u),d=s*s+a*a,h=Math.sqrt(d),p=d+u*u,f=Math.sqrt(p),T=Math.atan2(a,s),m=u*u/p,y=d/p,_=r.a2/f,I=r.a3-r.a4/f,y>.3?(g=c/f*(1+y*(r.a1+_+m*I)/f),C=Math.asin(g),v=g*g,b=Math.sqrt(1-v)):(b=h/f*(1-m*(r.a5-_-y*I)/f),C=Math.acos(b),v=1-b*b,g=Math.sqrt(v)),M=1-o.$O.eccentricitySquared*v,w=o.$O.radius/Math.sqrt(M),S=r.a6*w,_=h-w*b,I=c-S*g,F=b*_+g*I,x=b*I-g*_,A=x/(S/M+F),C+=A,Z=F+x*A/2,u<0&&(C=-C),n[i++]=z*T,n[i++]=z*C,n[i]=Z}const C={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},T=(0,i.kU)(1),z=(0,i.KJ)(1),Z=.5*Math.PI,j=o.$O.radius,O=j*Math.PI/180,R=180/(j*Math.PI);n.d(t,["w5",0,u])},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>B,initializeProjection:()=>K,isEqualBaseGCS:()=>J,isLoaded:()=>j,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>R,load:()=>k,project:()=>L,projectAsync:()=>U,projectExtent:()=>re,projectMany:()=>N,projectMultipoint:()=>Q,projectOrLoad:()=>q,projectOrLoadMany:()=>D,projectPoint:()=>W,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>E,test:()=>V,tryProject:()=>P,unload:()=>G});var i=n(49186),r=n(17676),s=n(62788),o=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),d=n(91075),h=n(48526),p=n(86738),f=n(39829),m=n(82799),y=n(16930),g=n(98764),b=n(159),v=n(9762),M=n(49208);function w(e,t,n,i,r,s){return S[0]=e,S[1]=t,S[2]=n,(0,v.projectBuffer)(S,i,0,r,s,0)}const S=(0,l.vt)();var _=n(60408),I=n(21325),x=n(52006);let F=null,A=null,C=null,T=null,z={};const Z=new o.I;function j(){return!!(A?.isLoaded()&&C?.isLoaded()&&T?.isLoaded())}function O(){return!!j()||((0,s.gc)(Z),k(),!1)}function R(e,t){return!e||!t||B(e,t)||O()}function E(e,t){return!B(e,t)&&!j()}async function k(e){null==F&&(F=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(A=e,A.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(C=e,C.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(T=e,T.load()))])),await F,(0,r.Te)(e),Z.notify()}function L(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),N(e,e[0].spatialReference,t,n)):((0,a.f)(e),N([e],e.spatialReference,t,n)[0])}function N(e,t,n,i){if(null==t||null==n)return e;if(B(t,n,i))return e.map(e=>H(e,t,n));if(null==i?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>H(e,t,y.A.WGS84)),y.A.WGS84,n,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(n))return N(e,t,y.A.WGS84).map(e=>H(e,y.A.WGS84,n));if(!j())throw new $;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:T.getTransformation(t,n,i.areaOfInterestExtent)||new b.A};else if(!i?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let r=z[e];r||(r=T.getTransformation(t,n)||new b.A,z[e]=r),i={geographicTransformation:r,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?A.executeMany(e,n,i):C.executeMany(e,n,i)}function P(e,t,n){try{return L(e,t,n)}catch(e){return null}}function q(e,t){const n=D([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function D(e,t,n){if(!j())for(const n of e)if(null!=n&&!(0,I.aI)(n.spatialReference,t)&&(0,I.fn)(n.spatialReference)&&(0,I.fn)(t)&&!B(n.spatialReference,t))return(0,s.gc)(Z),{pending:k(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,I.aI)(e.spatialReference,t)?e:(0,I.fn)(e.spatialReference)&&(0,I.fn)(t)?L(e,t,n):null)}}class $ extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){F=null,A=null,C=null,T=null,z={}}const V={get loadPromise(){return F}};async function U(e,t,n){if((0,r.Te)(n),!e)return e;const i=D(Array.isArray(e)?e:[e],t,n);if(i.pending)return await i.pending,(0,r.Te)(n),U(e,t,n);const s=i.geometries??[];return Array.isArray(e)?s:s[0]}function B(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,I.aI)(e,t)||(0,I.fn)(e)&&(0,I.fn)(t)&&!!(0,M.jd)(e,t))}function J(e,t){if((0,I.aI)(e,t))return!0;if(!(0,I.fn)(e)||!(0,I.fn)(t))return!1;const n=(0,I.oT)(e)||(0,I.K8)(e)||(0,I.x1)(e),i=(0,I.oT)(t)||(0,I.K8)(t)||(0,I.x1)(t);return n&&i}async function K(e,t,n,i){if(j())return(0,r.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:n,options:r}of e)if(t&&n&&!B(t,n,r))return k(i)}else if(e&&t&&!B(e,t,n))return k(i);return(0,r.NO)(i)}function H(e,t,n){return e?(0,_.fT)(e)?Y(e,t,new p.A,n,0):(0,_.ZC)(e)?se(e,t,new c.A,n,0):(0,_.Bi)(e)?ie(e,t,new f.A,n,0):(0,_.Rg)(e)?te(e,t,new m.A,n,0):(0,_.U9)(e)?X(e,t,new h.A,n,0):null:null}function W(e,t,n=t.spatialReference,i=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,i)}function Y(e,t,n,i,r){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:r,(0,v.projectBuffer)(ue,t,0,ue,i,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=i,void 0!==s||(0,u.xP)(i)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,i)}function X(e,t,n,i,r){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:r);if(!(0,v.projectBuffer)(c,t,0,c,i,0,u))return null;const d=ae(o,i);for(let e=0;e<u;++e){const t=3*e,n=c[t],i=c[t+1];d&&l?a.push([n,i,c[t+2],s[e][3]]):d?a.push([n,i,c[t+2]]):l?a.push([n,i,s[e][2]]):a.push([n,i])}return n.points=a,n.spatialReference=i,n.hasZ=o,n.hasM=l,n}function ee(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,i)}function te(e,t,n,i,r){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,n.curvePaths=[],i,r):oe(o,l??!1,a??!1,t,n.paths,i,r)))return null;const u=ae(l,i);return n.spatialReference=i,n.hasZ=u,n.hasM=a,n}function ne(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,i)}function ie(e,t,n,i,r){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,n.curveRings=[],i,r):oe(o,l??!1,a??!1,t,n.rings,i,r))?(n.spatialReference=i,n.hasZ=ae(l,i),n.hasM=a,n):null}function re(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,i)}function se(e,t,n,i,r){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!w(s,o,u?e.zmin:r,t,ue,i))return null;const d=ae(u,i);return n.xmin=ue[0],n.ymin=ue[1],d&&(n.zmin=ue[2]),w(l,a,u?e.zmax:r,t,ue,i)?(n.xmax=ue[0],n.ymax=ue[1],d&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=i,n):null}function oe(e,t,n,i,r,s,o=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(l,i,0,l,s,0))return!1;let a=0;r.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(a,a+=3);c||t.pop(),n&&t.push(i[u]),e.push(t)}r.push(e)}return!0}function le(e,t,n,i,r,s,o=0){const l=new Array;for(const n of e)for(const e of n){if((0,x.FG)(e))return!1;if((0,x.aO)(e)){const[n,i]=e.c;l.push(n[0],n[1],t?n[2]:o,i[0],i[1],o);continue}if((0,x.n1)(e)){const[n,i,r]=e.b;l.push(n[0],n[1],t?n[2]:o,i[0],i[1],o,r[0],r[1],o);continue}const n=e;l.push(n[0],n[1],t?n[2]:o)}if(!(0,v.projectBuffer)(l,i,0,l,s,0))return!1;let a=0;r.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(a,a+=3);if(c||t.pop(),n&&t.push((0,x.yP)(i)[u]),(0,x.FG)(i))return!1;if((0,x.aO)(i)){const n=l[a++],i=l[a++];++a,e.push({c:[t,[n,i]]});continue}if((0,x.n1)(i)){const n=l[a++],i=l[a++];++a;const r=l[a++],s=l[a++];++a,e.push({b:[t,[n,i],[r,s]]});continue}e.push(t)}r.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,I.aI)(t,g.Y0)}const ue=(0,l.vt)()},98764(e,t,n){n.d(t,{lO:()=>c});var i=n(73941),r=n(16930),s=n(21325);const o=new r.A(i.fv),l=new r.A(i.FY),a=new r.A(i.LJ),u=new r.A(i.Ro);function c(e){const t=d.get(e);if(t)return t;let n=o;if(e)if(e===l)n=l;else if(e===a)n=a;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,s.tl)(t)||(0,s.tl)(i)?n=l:((0,s.ZL)(t)||(0,s.ZL)(i))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===h?n=l:e===p&&(n=a)}}}return d.set(e,n),n}const d=new Map,h=l.wkt.toUpperCase(),p=a.wkt.toUpperCase();n.d(t,["GD",0,o,"Y0",0,u])},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>l,yH:()=>a});var i=n(34275),r=n(9093);function s(e){return e<=1024?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=1024?Array.from(e):new Float64Array(e)}function l(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function a(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);const n=s(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let i=0;i<t.length;++i)n[e.length+i]=t[i];return n}function u(e){return[...e]}function c(e){const t=(0,r.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>A,C:()=>o,DC:()=>h,Ej:()=>v,Ie:()=>x,Jt:()=>F,Lu:()=>w,Ne:()=>S,RF:()=>d,TF:()=>g,VL:()=>f,aI:()=>T,fA:()=>l,gE:()=>u,gX:()=>b,hZ:()=>I,iT:()=>p,is:()=>C,pg:()=>M,uJ:()=>y,vI:()=>_,vY:()=>a,vt:()=>s,w1:()=>c,yr:()=>m}),n(35522);var i=n(5443),r=(n(19419),n(4197));function s(e=Z){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t){for(let n=0;n<6;n++)e[n]=t[n];return e}function l(e,t,n,i,r,o,l=s()){return l[0]=e,l[1]=t,l[2]=n,l[3]=i,l[4]=r,l[5]=o,l}function a(e,t=s()){return function(e,t,n,i=s()){return I(i,z),function(e,t,n=0,i=t.length/3){let r=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<i;e++)r=Math.min(r,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=r,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(i,e,t,n),i}(e,0,e.length/3,t)}function u(e,t=(0,r.jh)(24)){const[n,i,s,o,l,a]=e;return t[0]=n,t[1]=i,t[2]=s,t[3]=n,t[4]=i,t[5]=a,t[6]=n,t[7]=l,t[8]=s,t[9]=n,t[10]=l,t[11]=a,t[12]=o,t[13]=i,t[14]=s,t[15]=o,t[16]=i,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function c(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new i.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function d(e,t,n=e){n[0]=Math.min(e[0],t[0]),n[1]=Math.min(e[1],t[1]),n[2]=Math.min(e[2],t[2]),n[3]=Math.max(e[3],t[3]),n[4]=Math.max(e[4],t[4]),n[5]=Math.max(e[5],t[5])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function p(e,[t,n,i]){!function(e,t,n,i){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],n),e[2]=Math.min(e[2],i),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],n),e[5]=Math.max(e[5],i)}(e,t,n,i)}function f(e){return e[0]>=e[3]?0:e[3]-e[0]}function m(e){return e[1]>=e[4]?0:e[4]-e[1]}function y(e){return e[2]>=e[5]?0:e[5]-e[2]}function g(e){const t=f(e),n=y(e),i=m(e);return t*t+n*n+i*i}function b(e,t=[0,0,0]){return t[0]=e[0]+f(e)/2,t[1]=e[1]+m(e)/2,t[2]=e[2]+y(e)/2,t}function v(e,t=[0,0,0]){return t[0]=f(e),t[1]=m(e),t[2]=y(e),t}function M(e,t){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function w(e,t){return t[0]=e[3],t[1]=e[4],t[2]=e[5],t}function S(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function _(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function I(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function x(e){return e?I(e,z):s(z)}function F(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function A(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=r,e[5]=Number.POSITIVE_INFINITY,e}function C(e){return 6===e.length}function T(e,t,n){if(null==e||null==t)return e===t;if(!C(e)||!C(t))return!1;if(n){for(let i=0;i<e.length;i++)if(!n(e[i],t[i]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const z=[1/0,1/0,1/0,-1/0,-1/0,-1/0],Z=[0,0,0,0,0,0];s(),n.d(t,["qv",0,z,"v_",0,Z])},34403(e,t,n){var i=n(79258);Math.PI;const r=i.$O.radius,s=i.$O.eccentricitySquared,o={a1:r*s,a2:r*s*r*s,a3:r*s*s/2,a4:r*s*r*s*2.5,a5:r*s+r*s*s/2,a6:1-s};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius,n.d(t,["TP",0,o])},60408(e,t,n){function i(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function r(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":i(e)?"esriGeometryEnvelope":r(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>d,ZC:()=>i,fT:()=>s,uW:()=>a})},65864(e,t,n){n.d(t,{rS:()=>c,xD:()=>h});var i=n(5443),r=n(91075),s=n(48526),o=n(86738),l=n(39829),a=n(82799),u=n(60408);function c(e){return null==e?null:e instanceof r.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?i.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function h(e){return e&&d[e]||null}},50498(e,t,n){var i=n(66552),r=n(5443),s=n(91075),o=n(48526),l=n(86738),a=n(39829),u=n(82799);const c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),d=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),h={base:s.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}},p=new i.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});n.d(t,["Ye",0,d,"gy",0,c,"iI",0,p,"yR",0,h])},55156(e,t,n){n.d(t,{I:()=>r});const i=Symbol("idFieldsProviderSymbol");function r(e){return(t=e)&&i in t?e[i]:void 0;var t}n.d(t,["e",0,i])},20737(e,t,n){n.r(t),n.d(t,{default:()=>Y});var i=n(5482),r=n(37838),s=n(11254),o=n(69540),l=n(7762),a=n(49186),u=n(36563),c=n(25728),d=n(17676),h=n(36708),p=n(91429),f=n(16930),m=n(55156),y=n(60950),g=n(89808),b=n(99959);const v=Symbol("isAnnotationFeatureGraphicOrigin");var M;class w extends b.A{get[(M=v,y.ym)](){return this.layer}get[m.e](){return this.layer}get[g.Q](){return this.layer}constructor(e,t){super(),this[M]=!0,this.type="annotation-feature",this.layer=e,this.sublayer=t}get id(){return`${this.layer.id}:__${this.sublayer?.subtypeCode??null}__`}}var S=n(4146),_=n(52136),I=n(18768),x=n(63074),F=n(69208),A=n(40775),C=n(47685),T=n(10086),z=n(34287),Z=n(8303),j=n(54310),O=n(25036),R=n(82935),E=n(4902),k=n(92474);let L=class extends((0,o.OU)((0,E.s)(k.x_))){constructor(e){super(e),this.parent=null,this.subtypeCode=null,this.type="annotation-feature-sublayer",this.visible=!0}get graphicOrigin(){return new w(this.parent,this)}get title(){return this.parent?.subtypes?.find(e=>e.code===this.subtypeCode)?.name??null}};(0,i.Cg)([(0,p.MZ)({readOnly:!0,clonable:!1})],L.prototype,"graphicOrigin",null),(0,i.Cg)([(0,p.MZ)({clonable:!1})],L.prototype,"parent",void 0),(0,i.Cg)([(0,p.MZ)({type:Number})],L.prototype,"subtypeCode",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],L.prototype,"title",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],L.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean})],L.prototype,"visible",void 0),L=(0,i.Cg)([(0,p.$K)("esri.layers.support.AnnotationFeatureSublayer")],L);var N=n(60694),P=n(10873),q=n(15426),D=n(17036),$=n(30524),G=n(91908),V=n(97552),U=n(30291),B=n(36005);const J="annotation-feature-layer",K=(0,D.p)(),H=l.A.ofType(L);let W=class extends((0,A.I)((0,T.j)((0,x.dM)((0,R.e)((0,C.w6)((0,O.j)((0,j.J)((0,I.b)((0,z.q)((0,Z.A)((0,c.M)((0,F.d)((0,_.p)((0,o.OU)(S.A))))))))))))))){constructor(e){super(e),this._sublayerLookup=new Map,this.barrierWeight="high",this.elementField="element",this.fields=null,this.fieldsIndex=null,this.graphicOrigin=new w(this,null),this.operationalLayerType="ArcGISAnnotationLayer",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.referenceScale=0,this.source=null,this.statusField="status",this.sublayers=new H,this.sublayerTitleMode="item-title",this.supportedSourceTypes=new Set(["Annotation Layer"]),this.symbolCollection=null,this.type="annotation-feature",this.unplacedAnnotationsVisible=!1,this.addHandles((0,h.wB)(()=>this.sublayers,(e,t)=>this._handleSublayersChange(e,t),h.OH))}destroy(){this.source?.destroy()}load(e){const t=e?.signal,n=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(d.QP).then(async()=>{if(this.url&&null==this.layerId&&/FeatureServer|MapServer\/*$/i.test(this.url)){const e=await this._fetchFirstValidLayerId(t);null!=e&&(this.layerId=e)}if(!this.url)throw new a.A(`${J}:missing-url`,"AnnotationFeatureLayer must be created with a url");return Promise.all([this.loadDataElement(e).then(()=>{if(!this.symbolCollection)throw new a.A(`${J}:missing-symbol-collection`,"Invalid service with no symbol collection")}),this.initLayerProperties(await this.createGraphicsSource(t))])}).then(()=>(0,q.VA)(this,"load",e));return this.addResolvingPromise(n),Promise.resolve(this)}get editingEnabled(){return this._isOverridden("editingEnabled")?this._get("editingEnabled"):this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}set editingEnabled(e){this._overrideIfSome("editingEnabled",e)}get effectiveEditingEnabled(){return!1}get defaultPopupTemplate(){return this.createPopupTemplate()}readSublayers(e,t){const n=new H(t.subtypes.map(({code:e})=>new L({subtypeCode:e})).reverse());if(this.visibleLayers){const e=new Set(this.visibleLayers);n.forEach(t=>{t.visible=e.has(t.subtypeCode)})}return n}readTitleFromService(e,t){const{url:n}=this,i=t.name||(0,N.qg)(n)?.title;switch(this.sublayerTitleMode){case"item-title":if(n)return(0,N.yG)(n,i);break;case"item-title-and-service-name":{let e=this.portalItem?.title;if(e&&e!==i)return e=(0,N.cr)(e),i?`${e} - ${(0,N.cr)(i)}`:e;break}}return i?(0,N.cr)(i):void 0}readTitleFromPortalItem(e){return"item-title"===this.sublayerTitleMode?e:void 0}get visibleLayers(){return 0===this.sublayers.length?this._get("visibleLayers")??null:Array.from(new Set(this.sublayers?.toArray().filter(e=>e.visible).map(e=>e.subtypeCode).sort((e,t)=>e-t)??null))}set visibleLayers(e){this._set("visibleLayers",e)}createPopupTemplate(e){return(0,U.tn)(this,e)}async createGraphicsSource(e){const t={stack:[],error:void 0,hasError:!1};try{const{default:r}=await(0,d.qr)(Promise.all([n.e(893),n.e(2656),n.e(9714)]).then(n.bind(n,65515)),e),s=new r({layer:this,supportedSourceTypes:this.supportedSourceTypes});return(0,i.mS)(t,(0,u.Bf)((0,d.u7)(e,()=>s.cancelLoad())??(0,u.hA)()),!1),await s.load({signal:e}),s}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}createQuery(){const e=(0,q.VZ)(this);return e.where=this.definitionExpression||"1=1",e}findSublayerForFeature(e){const t=this.fieldsIndex.get(this.subtypeField),n=e.attributes[t.name];return this.findSublayerForSubtypeCode(n)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){return(0,q.Vq)(this,e,t,this.getField(e)?.domain??null)}async queryFeatures(e,t){const n=await this.load(),i=await n.source.queryFeatures(V.A.from(e)??n.createQuery(),t);if(i?.features)for(const e of i.features){const t=this.findSublayerForFeature(e);e.origin=t?.graphicOrigin??this.graphicOrigin,e.layer=e.sourceLayer=this}return i}async queryObjectIds(e,t){const n=await this.load();return n.source.queryObjectIds(V.A.from(e)??n.createQuery(),t)}async queryFeatureCount(e,t){const n=await this.load();return n.source.queryFeatureCount(V.A.from(e)??n.createQuery(),t)}async queryExtent(e,t){const n=await this.load();return n.source.queryExtent(V.A.from(e)??n.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,G.D)(this,e)}async initLayerProperties(e){this._set("source",e),e.sourceJSON&&(this.sourceJSON=e.sourceJSON,this.read(e.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl})),this._verifySource(),(0,$.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,q.jp)(this)}_verifySource(){if(this.version&&this.version<10.8)throw new a.A(J+":unsupported-version","The feature service must be version 10.8 or above.");const e=["ZOrder","AnnotationClassID","Element","SymbolID","Status"],t=e.filter(e=>!this.fieldsIndex.has(e));if(this.fieldsIndex.has("FeatureID")||this.fieldsIndex.has("FeatureGlobalID")||t.unshift("FeatureID","FeatureGlobalID"),t.length)throw new a.A(J+":missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}_fetchFirstValidLayerId(e){return(0,s.A)(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(e=>{const t=e.data;if(!t)return;this.applyPreferredHost(t);const n=[...t.layers||[],...t.tables||[]];return n.find(({type:e})=>!e||this.supportedSourceTypes.has(e))?.id})}_handleSublayersChange(e,t){t&&(t.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach(e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),e.on("after-remove",({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})],"sublayers-owner"))}};(0,i.Cg)([(0,p.MZ)({type:f.A,json:{origins:{service:{read:{source:"sourceSpatialReference"}}}}})],W.prototype,"attributeSpatialReference",void 0),(0,i.Cg)([(0,p.MZ)(P.es)],W.prototype,"barrierWeight",void 0),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],W.prototype,"editingEnabled",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],W.prototype,"elementField",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],W.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,p.MZ)({...K.fields,readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],W.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)(K.fieldsIndex)],W.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],W.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,p.MZ)(P.id)],W.prototype,"id",void 0),(0,i.Cg)([(0,p.MZ)({type:["ArcGISAnnotationLayer"]})],W.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,p.MZ)(K.outFields)],W.prototype,"outFields",void 0),(0,i.Cg)([(0,p.MZ)(P.M6)],W.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:r.A,json:{name:"popupInfo",write:!0}})],W.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],W.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],W.prototype,"referenceScale",void 0),(0,i.Cg)([(0,p.MZ)({clonable:!1,readOnly:!0})],W.prototype,"source",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],W.prototype,"statusField",void 0),(0,i.Cg)([(0,p.MZ)({type:H})],W.prototype,"sublayers",void 0),(0,i.Cg)([(0,B.w)("service","sublayers",["subtypes"])],W.prototype,"readSublayers",null),(0,i.Cg)([(0,p.MZ)({type:String})],W.prototype,"sublayerTitleMode",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],W.prototype,"symbolCollection",void 0),(0,i.Cg)([(0,B.w)("service","title",["name"])],W.prototype,"readTitleFromService",null),(0,i.Cg)([(0,B.w)("portal-item","title")],W.prototype,"readTitleFromPortalItem",null),(0,i.Cg)([(0,p.MZ)({json:{read:!1},value:"annotation-feature",readOnly:!0})],W.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)()],W.prototype,"unplacedAnnotationsVisible",void 0),(0,i.Cg)([(0,p.MZ)({type:[Number],json:{write:{ignoreOrigin:!0}}})],W.prototype,"visibleLayers",null),W=(0,i.Cg)([(0,p.$K)("esri.layers.AnnotationFeatureLayer")],W);const Y=W},54339(e,t,n){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const i of t.fieldNames)n.push(e.attributes[i]??null);return JSON.stringify(n)}}}function r(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>i,r:()=>r})},52136(e,t,n){var i=n(5482),r=n(91429);n.d(t,["p",0,e=>{const t=e;let n=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,r.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,i.Cg)([(0,r.$K)("esri.layers.mixins.APIKeyMixin")],n),n}])},40775(e,t,n){var i=n(5482),r=n(11254),s=n(49186),o=n(84952),l=n(91429),a=n(95250);function u(e,t){const n=e.indexOf(t);if(-1!==n)return e[n+1]}function c(e,t){const n=u(e,t);return n&&"string"==typeof n?JSON.parse(n):null}function d(e){const t=u(e,"ReferenceScale")??0;return"string"!=typeof t?t:parseFloat(t)}function h(e){return c(e,"SymbolCollection")??void 0}function p(e){return c(e,"StyleCollection")??void 0}n.d(t,["I",0,e=>{const t=e;let n=class extends t{async loadDataElement(e){if(!this.url||null==this.layerId)throw new s.A("fetchDataElement:missing-url-or-layerId","The layer must have a url and a layerId to fetch the data element.");const t=(0,o.fj)(this.url,"queryDataElements"),n={f:"json",layers:this.layerId},{data:i}=await(0,r.A)(t,{...e,responseType:"json",query:n}),l=i.layerDataElements.find(e=>e.layerId===this.layerId)?.dataElement;if(!l)throw new s.A("fetchDataElement:not-available","A data element for this layer could not be retrieved.");const u=l.extensionProperties?.propertySetItems??[],c=d(u),f=(0,a.S)(h(u)),m=(0,a.S)(p(u));this.read({referenceScale:c,symbolCollection:f,styleCollection:m},{origin:"service"})}};return n=(0,i.Cg)([(0,l.$K)("esri.layers.mixins.DataElementMixin")],n),n}])},47685(e,t,n){n.d(t,{Mk:()=>p,Zk:()=>d});var i=n(5482),r=n(65529),s=n(4718),o=n(91429),l=n(20816);const a=new r.bk;function u(e){return a.on("apply-edits",new WeakRef(e))}function c(e){return a.on("update-moment",new WeakRef(e))}function d(e,t,n=null,i=!1){const r=Promise.withResolvers();return i=null==t||i,a.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:n,mayReceiveServiceEdits:i,result:r.promise}),r}const h=Symbol();function p(e){return null!=e&&"object"==typeof e&&h in e}function f(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function m(e,t,n){const i=new URL(e).host,r=l.Z3.get(i),s=e=>!e||e===r;return s(t)&&s(n)||t===n}n.d(t,["w6",0,e=>{var t;const n=e;let r=class extends n{static{t=h}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:n,gdbVersion:i,mayReceiveServiceEdits:r,result:o}=e,l=t===this.url,a=null!=n&&null!=this.layerId&&n===this.layerId,u=null!=n&&this.relationships?.some(e=>e.relatedTableId===n),c=f(this),d=f(this)&&m(t,i,this.gdbVersion);if(!l||c&&!d||!a&&!u&&!r)return;const h=o.then(e=>{if(this.lastEditsEventDate=new Date,a&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,s.o8)(e)),e;const n=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(n){const{adds:t,updates:i,deletes:r}=n.editedFeatures,o={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:r?r.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:i?i.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return this.emit("edits",o),o}const r={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,r.historicMoment)&&this.emit("edits",r),r}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));h.catch(()=>{}),this.emit("apply-edits",{result:h})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:n,moment:i}=e,r=t===this.url,s=f(this),o=f(this)&&m(t,n,this.gdbVersion),l=f(this)&&!m(t,this.gdbVersion,null);r&&s&&o&&l&&"historicMoment"in this&&this.historicMoment!==i&&(this.historicMoment=i)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(c(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,n){return"historicMoment"in this&&this.historicMoment!==n&&(0,l.w5)(e,t)}};return(0,i.Cg)([(0,o.MZ)()],r.prototype,"lastEditsEventDate",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.EditBusLayer")],r),r}])},82935(e,t,n){var i=n(5482),r=n(91429),s=n(89317),o=n(30524),l=n(96184),a=n(73133),u=n(79677),c=n(10184),d=n(36005);const h={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}};n.d(t,["B",0,h,"e",0,e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const n=t.timeInfo.exportOptions;if(!n)return null;const i=n.timeOffset,r=a.j.fromJSON(n.timeOffsetUnits);return i&&r?new c.A({value:i,unit:r}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,r.MZ)({type:u.A,json:{write:!1}})],n.prototype,"timeExtent",void 0),(0,i.Cg)([(0,r.MZ)({type:c.A})],n.prototype,"timeOffset",void 0),(0,i.Cg)([(0,d.w)("service","timeOffset",["timeInfo.exportOptions"])],n.prototype,"readOffset",null),(0,i.Cg)([(0,r.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],n.prototype,"timeInfo",null),(0,i.Cg)([(0,r.MZ)(h)],n.prototype,"useViewTime",void 0),n=(0,i.Cg)([(0,r.$K)("esri.layers.mixins.TemporalLayer")],n),n}])},28032(e,t,n){n.d(t,{A:()=>a});var i=n(5482),r=n(69540),s=n(25482),o=n(91429),l=n(56400);let a=class extends((0,r.OU)(s.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,i.Cg)([(0,o.MZ)()],a.prototype,"creatorField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"creationDateField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"editorField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"editDateField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"realm",void 0),(0,i.Cg)([(0,o.MZ)((0,l.P6)("dateFieldsTimeReference",!0))],a.prototype,"timeZone",void 0),a=(0,i.Cg)([(0,o.$K)("esri.layers.support.EditFieldsInfo")],a)},95466(e,t,n){n.d(t,{A:()=>u});var i=n(49186),r=n(53966),s=n(12195),o=n(30524),l=n(98623),a=n(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],d(e))}static fromLayerJSON(e){return new u(e.fields??[],d(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const n=[];for(const e of this.fields){const t=e?.name,i=(0,o.GZ)(t);if(t&&i){const r=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(i,e),n.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,o.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,o.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,o.te)(e)||(0,o.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}n.sort(),this.uid=n.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,o.te)(e)||(0,o.Xz)(e)||e.nullable||void 0!==(0,o.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,o.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):c.has(t.type)?l.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,o.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,s.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const c=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function d(e){const t=new Map;if(!e.fields)return t;const n=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:r}=e,s=(i?"startField"in i?i.startField:i.startTimeField:"")??"",u=(i?"endField"in i?i.endField:i.endTimeField:"")??"",d=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,a.ZS)(e.dateFieldsTimeReference):null,h=r?function(e){return"timeZone"in e}(r)?r.timeZone??d:r.dateFieldsTimeReference?(0,a.ZS)(r.dateFieldsTimeReference):d??"UTC":null,p=i?function(e){return"timeZone"in e}(i)?i.timeZone??d:i.timeReference?(0,a.ZS)(i.timeReference):d:null,f=new Map([[(0,o.NF)(r?.creationDateField??""),h],[(0,o.NF)(r?.editDateField??""),h],[(0,o.NF)(s),p],[(0,o.NF)(u),p]]);for(const{name:i,type:r}of e.fields)if(c.has(r))t.set(i,l.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(i,null);else if(n)t.set(i,l.L);else{const e=f.get((0,o.NF)(i??""))??d;t.set(i,e)}return t}},37352(e,t,n){n.d(t,{A:()=>a});var i,r=n(5482),s=n(7762),o=n(25482),l=n(91429);let a=i=class extends o.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,r.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=i=(0,r.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},45067(e,t,n){n.d(t,{A:()=>c});var i=n(5482),r=n(69540),s=n(66552),o=n(25482),l=n(91429);const a=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],c.prototype,"cardinality",void 0),(0,i.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,i.Cg)([(0,l.$K)("esri.layers.support.Relationship")],c)},96184(e,t,n){n.d(t,{A:()=>p});var i=n(5482),r=n(69540),s=n(25482),o=n(91429),l=n(79677),a=n(10184),u=n(56400),c=n(36005),d=n(43937);function h(e,t){return a.A.fromJSON({value:e,unit:t})}let p=class extends((0,r.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?h(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?h(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],p.prototype,"cumulative",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],p.prototype,"endField",void 0),(0,i.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],p.prototype,"fullTimeExtent",void 0),(0,i.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],p.prototype,"readFullTimeExtent",null),(0,i.Cg)([(0,d.K)("fullTimeExtent")],p.prototype,"writeFullTimeExtent",null),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"hasLiveData",void 0),(0,i.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],p.prototype,"interval",void 0),(0,i.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],p.prototype,"readInterval",null),(0,i.Cg)([(0,d.K)("interval")],p.prototype,"writeInterval",null),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],p.prototype,"startField",void 0),(0,i.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],p.prototype,"timeZone",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],p.prototype,"trackIdField",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],p.prototype,"useTime",void 0),(0,i.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],p.prototype,"stops",void 0),p=(0,i.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],p)},17036(e,t,n){n.d(t,{p:()=>a});var i=n(44208),r=n(53966),s=n(20437),o=n(95466),l=n(30524);function a(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,i.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");r.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return o.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const n=this.fieldsIndex?.has(t);n||r.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},32730(e,t,n){n.d(t,{BI:()=>p,D3:()=>d,XJ:()=>h,lc:()=>c,mX:()=>m,rU:()=>f,tH:()=>M,zA:()=>S});var i=n(799);const r="__begin__",s="__end__",o=new RegExp(r,"ig"),l=new RegExp(s,"ig"),a=new RegExp("^"+r,"i"),u=new RegExp(s+"$","i");function c(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 h(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=c(e.labelExpression),t.type="conventional"),t}function p(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return m(t.expression);case"arcade":return t.expression}return null}function f(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(y);return t?.[1].trim()||null}(t.expression);case"arcade":return M(t.expression)}return null}function m(e){let t;return e?(t=(0,i.HC)(e,e=>r+'$feature["'+e+'"]'+s),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const y=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,v=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function M(e){if(!e)return null;let t=g.exec(e)||b.exec(e);return t?t[1]||t[3]:(t=v.exec(e),t?t[2]:null)}const w=Symbol("LabelClassInstance");function S(e){return null!=e&&"object"==typeof e&&w in e}n.d(t,["vK",0,w])},5757(e,t,n){n.d(t,{B:()=>r});const i=Symbol("PopupTemplateInstance");function r(e){return null!=e&&"object"==typeof e&&i in e}n.d(t,["P",0,i])},98205(e,t,n){n.d(t,{KZ:()=>l,eh:()=>o,gf:()=>s,of:()=>r});const i=Symbol("SizeVariableInstance");function r(e){return null!=e&&"object"==typeof e&&i in e}function s(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function l(e,t){const n=t||o(e),i=e.valueUnit||"unknown";return"unknown"===n?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}n.d(t,["uY",0,i])},41366(e,t,n){var i=n(5482),r=n(66552),s=n(53966),o=n(91429),l=n(93223);const a=(0,r.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field";n.d(t,["K",0,e=>{const t=e;let n=class extends t{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,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&s.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.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,i.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n},"Q",0,a])},95250(e,t,n){function i(e){return r(e,{CIMRGBColor:s,CIMCharacterMarker:o})}function r(e,t){if(null==e)return e;if(Array.isArray(e))return e.map(e=>r(e,t));if("object"==typeof e){if("type"in e&&"string"==typeof e.type&&t[e.type])return t[e.type](e);const n={};for(const[i,s]of Object.entries(e))n[i]=r(s,t);return n}return e}function s(e){const[t,n,i,r]=e.values;return[t,n,i,255*r/100]}function o(){return{type:"CIMVectorMarker",enable:!0,size:40,colorLocked:!1,anchorPointUnits:"Relative",frame:{xmin:-10,ymin:-10,xmax:10,ymax:10},markerGraphics:[{type:"CIMMarkerGraphic",textString:"■",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",underline:!1,blockProgression:"TTB",depth3D:0,extrapolateBaselines:!0,flipAngle:90,fontEffects:"Normal",fontEncoding:"Unicode",haloSize:0,height:8,hinting:"Default",horizontalAlignment:"Center",kerning:!0,letterSpacing:10,letterWidth:100,ligatures:!1,lineGapType:"ExtraLeading",symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},symbol3DProperties:{type:"CIM3DSymbolProperties",dominantSizeAxis3D:"Z",rotationOrder3D:"XYZ",scaleZ:1,scaleY:1},textCase:"Normal",textDirection:"LTR",verticalAlignment:"Center",verticalGlyphOrientation:"Right",wordSpacing:100,billboardMode3D:"FaceNearPlane"}}],scaleSymbolsProportionally:!0,respectFrame:!0}}n.d(t,{S:()=>i})},93470(e,t,n){const i=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};n.d(t,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,s])},20816(e,t,n){n.d(t,{We:()=>l,ZJ:()=>a,w5:()=>u});var i=n(11254);const r=(0,n(13069).vD)(),s=new Map,o=new Map;async function l(e,t,n){if(!e||!n)return!1;if(!t)return!0;const r=new URL(e).host;let o=s.get(r);if(!o){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");o=(await(0,i.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return o===t}async function a(e,t,i=!1){if(!e||!t)return!0;const s=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),l=o.get(s)?.entries();if(l)for(const[e,o]of l)if(o.name===t){const t=!o.stack?.hasForwardEdits();if(!t&&i){const[{deleteForwardEdits:t},{default:i}]=await Promise.all([n.e(2186).then(n.bind(n,32186)),n.e(2558).then(n.bind(n,32558))]),l=await t(s,e,new i({sessionId:r,moment:o.moment}));return l.success&&o.stack?.clearForwardEdits(),l.success}return t}return!0}function u(e,t){if(!e)return!1;const n=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),i=o.get(n)?.entries();if(i)for(const[e,n]of i)if(n.name===t)return"edit"===n.lockType;return!1}new Map,n.d(t,["TA",0,r,"Z3",0,s])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4167,6061],{61691(e,t,n){n.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},28879(e,t,n){n.r(t),n.d(t,{OperatorGeodeticLength:()=>g});var s=n(5482),o=n(55537),r=n(47591),a=n(88885),i=n(83661),c=n(15756),m=n(5247);class g{getOperatorType(){return 10311}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n,s){if(4===n)return(new r.O).execute(e,t,s);if(0===t.getCoordinateSystemType()&&(0,o.a)(""),(0,o.c)(e),e.isEmpty()||e.getDimension()<1)return 0;const g=t.getGCS(),u=(0,c.$)();g.querySpheroidData(u);const l=u.majorSemiAxis,h=u.e2,y=g.getUnit().getUnitToBaseFactor();let x;const p=e.getGeometryType();if(p===o.G.enumPolygon?x=e.getBoundary():p===o.G.enumEnvelope?x=(0,a.c)(e):(0,o.m)(p)?(x=new a.a({vd:e.getDescription()}),x.addSegment(e,!0)):x=e,x.hasNonLinearSegments()&&(x=(new m.O).execute(x,0,t.getTolerance(0),0,s)),g!==t){const n=t.getSRToGCSTransform();if(t.isPannable()){x=(0,c.Q)(x,t),p===o.G.enumPolyline&&x===e&&(x=e.clone());const n=new i.E;t.getPannableExtent().queryIntervalX(n);for(let e=0,t=x.getPointCount();e<t;e++){const t=x.getXY(e);t.x=(0,c.af)(t.x,n),x.setXY(e,t)}}const r=x.createInstance();x=(0,c.ag)(n,x,r,s)?r:(new c.O).execute(x,n,s)}return this._ExecuteMultiPathGeodeticLength(x,n,l,h,y)}_ExecuteMultiPathGeodeticLength(e,t,n,o,r){const a={stack:[],error:void 0,hasError:!1};try{const i=(0,s.mS)(a,new c.Z,!1);let m=0;const g=e.querySegmentIterator();for(;g.nextPath();)for(;g.hasNextSegment();){const e=g.nextSegment(),s=e.getStartXY(),a=e.getEndXY();s.scale(r),a.scale(r),c._.geodeticDistance(n,o,s.x,s.y,a.x,a.y,i,null,null,t),m+=i.val}return m}catch(e){a.error=e,a.hasError=!0}finally{(0,s.hk)(a)}}}},47591(e,t,n){n.d(t,{O:()=>x});var s=n(55537),o=n(15756),r=n(88885),a=n(83661),i=n(95213),c=n(79187),m=n(5247),g=n(31139);function u(){return{m_pGcs:new a.P,m_xyz:new i.k,m_factor:Number.NaN,m_geoLength:Number.NaN,setValues:l,setLength:h,assign:y}}function l(e,t,n,s){this.m_factor=e,this.m_pGcs.assign(t),this.m_xyz.assign(s),this.m_geoLength=n}function h(e){this.m_geoLength=e}function y(e){this.m_pGcs.assign(e.m_pGcs),this.m_xyz.assign(e.m_xyz),this.m_factor=e.m_factor,this.m_geoLength=e.m_geoLength}class x{getOperatorType(){return 10315}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}_ExecuteShapePreservingLength(e,t,n,s,r){if(e.hasNonLinearSegments()&&(e=(new m.O).execute(e,0,t.getTolerance(0),0,r)),t.isPannable()){let s=90,a=-90;if(1===n.getUnit().getUnitToBaseFactor()&&(s*=Math.PI/180,a*=Math.PI/180),2===t.getCoordinateSystemType()){let e=null;const n=[0,0,0,0];e=t.getPECoordSys(),n[0]=0,n[1]=s,n[2]=0,n[3]=a,o.ae.geogToProj(e,2,n),s=n[1],a=n[3]}const i=new c.Envelope2D;e.queryEnvelope(i),i.ymin=a,i.ymax=s,e=(new g.O).execute(e,i,t,r)}else{const n=t.getPCSHorizon();if((e=(new o.D).execute(e,n,t,r))===n){const t=e.clone();e=t}}return e.isEmpty()?0:this._ExecuteIterativeApproach(e,t,n,s,1,r)}_ExecuteIterativeApproach(e,t,n,r,c,m){const g=(0,o.$)();n.querySpheroidData(g);const l=g.majorSemiAxis,h=g.e2,y=n.getUnit().getUnitToBaseFactor(),x=(0,a.q)(u,40),d=(0,a.d)(40,Number.NaN),f=u(),G=u();let S;const P=[0,0,0,0],w=t.getPECoordSys(),C=new a.P,E=new a.P,v=new a.P,N=new a.P,T=new a.P;let L=0;const b=e.querySegmentIterator();for(;b.nextPath();)for(;b.hasNextSegment();){const e=b.nextSegment();C.assign(e.getStartXY()),E.assign(e.getEndXY()),2===t.getCoordinateSystemType()?(P[0]=C.x,P[1]=C.y,P[2]=E.x,P[3]=E.y,o.ae.projToGeog(w,2,P),v.x=P[0]*y,v.y=P[1]*y,N.x=P[2]*y,N.y=P[3]*y):(v.setCoordsPoint2D(C),N.setCoordsPoint2D(E),v.scale(y),N.scale(y));const n=new i.k,r=new i.k;p(l,h,v,n),p(l,h,N,r);let a=_(l,n,r);f.setValues(0,v,Number.NaN,n),G.setValues(1,N,a,r),S=c,x[0].assign(G),d[0]=c;let m=0;for(;;){m>128&&(0,s.d)("iterations exceeded");const n=.5*(f.m_factor+G.m_factor),r=e.getCoord2D(n);2===t.getCoordinateSystemType()?(P[0]=r.x,P[1]=r.y,o.ae.projToGeog(w,1,P),T.x=P[0]*y,T.y=P[1]*y):(T.setCoordsPoint2D(r),T.scale(y)),v.setCoordsPoint2D(f.m_pGcs),N.setCoordsPoint2D(G.m_pGcs);const g=new i.k;p(l,h,T,g);const u=_(l,f.m_xyz,g),C=_(l,G.m_xyz,g);a=G.m_geoLength,Number.isNaN(a)&&(a=_(l,f.m_xyz,G.m_xyz));const E=u+C,b=S===c&&E>=20&&Math.abs(E-a)>1e-8*(a+E);if(m+2<40&&(b||Math.abs(E-a)>0&&S>0))G.setLength(C),x[m].assign(G),G.setValues(n,T,u,g),x[++m].assign(G),b?(S=c,d[m]=c):(S--,d[m-1]=S,d[m]=S);else{if(L+=E,0===m)break;f.assign(G),G.assign(x[--m]),S=d[m]}}}return L}execute(e,t,n){if(t&&0!==t.getCoordinateSystemType()||(0,s.a)(""),e.isEmpty()||e.getDimension()<1)return 0;let a=null;const i=t.getGCS();i!==t&&(a=(0,o.a)(t,i,null));const c=e.getGeometryType();if(c===s.G.enumEnvelope){const s=new r.P;return s.addEnvelope(e,!1),this._ExecuteShapePreservingLength(s,t,i,a,n)}if((0,s.m)(c)){const s=new r.a;return s.addSegment(e,!0),this._ExecuteShapePreservingLength(s,t,i,a,n)}return this._ExecuteShapePreservingLength(e,t,i,a,n)}}function p(e,t,n,s){s.assign((0,o.a6)(e,t,n))}function _(e,t,n){const s=e,o=new i.k;o.setSub(t,n);const r=o.length();return 2*s*Math.asin(r/(2*s))}},76061(e,t,n){n.d(t,{S:()=>o});var s=n(61691);class o extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4167,6061],{61691(e,t,n){n.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},28879(e,t,n){n.r(t),n.d(t,{OperatorGeodeticLength:()=>m});var s=n(5482),o=n(55537),r=n(47591),a=n(88885),i=n(83661),c=n(15756),g=n(5247);class m{getOperatorType(){return 10311}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n,s){if(4===n)return(new r.O).execute(e,t,s);if(0===t.getCoordinateSystemType()&&(0,o.a)(""),(0,o.c)(e),e.isEmpty()||e.getDimension()<1)return 0;const m=t.getGCS(),u=(0,c.$)();m.querySpheroidData(u);const l=u.majorSemiAxis,h=u.e2,y=m.getUnit().getUnitToBaseFactor();let x;const p=e.getGeometryType();if(p===o.G.enumPolygon?x=e.getBoundary():p===o.G.enumEnvelope?x=(0,a.c)(e):(0,o.h)(p)?(x=new a.a({vd:e.getDescription()}),x.addSegment(e,!0)):x=e,x.hasNonLinearSegments()&&(x=(new g.O).execute(x,0,t.getTolerance(0),0,s)),m!==t){const n=t.getSRToGCSTransform();if(t.isPannable()){x=(0,c.Q)(x,t),p===o.G.enumPolyline&&x===e&&(x=e.clone());const n=new i.E;t.getPannableExtent().queryIntervalX(n);for(let e=0,t=x.getPointCount();e<t;e++){const t=x.getXY(e);t.x=(0,c.af)(t.x,n),x.setXY(e,t)}}const r=x.createInstance();x=(0,c.ag)(n,x,r,s)?r:(new c.O).execute(x,n,s)}return this._ExecuteMultiPathGeodeticLength(x,n,l,h,y)}_ExecuteMultiPathGeodeticLength(e,t,n,o,r){const a={stack:[],error:void 0,hasError:!1};try{const i=(0,s.mS)(a,new c.Z,!1);let g=0;const m=e.querySegmentIterator();for(;m.nextPath();)for(;m.hasNextSegment();){const e=m.nextSegment(),s=e.getStartXY(),a=e.getEndXY();s.scale(r),a.scale(r),c._.geodeticDistance(n,o,s.x,s.y,a.x,a.y,i,null,null,t),g+=i.val}return g}catch(e){a.error=e,a.hasError=!0}finally{(0,s.hk)(a)}}}},47591(e,t,n){n.d(t,{O:()=>x});var s=n(55537),o=n(15756),r=n(88885),a=n(83661),i=n(95213),c=n(79187),g=n(5247),m=n(31139);function u(){return{m_pGcs:new a.P,m_xyz:new i.k,m_factor:Number.NaN,m_geoLength:Number.NaN,setValues:l,setLength:h,assign:y}}function l(e,t,n,s){this.m_factor=e,this.m_pGcs.assign(t),this.m_xyz.assign(s),this.m_geoLength=n}function h(e){this.m_geoLength=e}function y(e){this.m_pGcs.assign(e.m_pGcs),this.m_xyz.assign(e.m_xyz),this.m_factor=e.m_factor,this.m_geoLength=e.m_geoLength}class x{getOperatorType(){return 10315}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}_ExecuteShapePreservingLength(e,t,n,s,r){if(e.hasNonLinearSegments()&&(e=(new g.O).execute(e,0,t.getTolerance(0),0,r)),t.isPannable()){let s=90,a=-90;if(1===n.getUnit().getUnitToBaseFactor()&&(s*=Math.PI/180,a*=Math.PI/180),2===t.getCoordinateSystemType()){let e=null;const n=[0,0,0,0];e=t.getPECoordSys(),n[0]=0,n[1]=s,n[2]=0,n[3]=a,o.ae.geogToProj(e,2,n),s=n[1],a=n[3]}const i=new c.Envelope2D;e.queryEnvelope(i),i.ymin=a,i.ymax=s,e=(new m.O).execute(e,i,t,r)}else{const n=t.getPCSHorizon();if((e=(new o.y).execute(e,n,t,r))===n){const t=e.clone();e=t}}return e.isEmpty()?0:this._ExecuteIterativeApproach(e,t,n,s,1,r)}_ExecuteIterativeApproach(e,t,n,r,c,g){const m=(0,o.$)();n.querySpheroidData(m);const l=m.majorSemiAxis,h=m.e2,y=n.getUnit().getUnitToBaseFactor(),x=(0,a.q)(u,40),d=(0,a.d)(40,Number.NaN),f=u(),G=u();let S;const P=[0,0,0,0],w=t.getPECoordSys(),C=new a.P,E=new a.P,v=new a.P,N=new a.P,T=new a.P;let L=0;const b=e.querySegmentIterator();for(;b.nextPath();)for(;b.hasNextSegment();){const e=b.nextSegment();C.assign(e.getStartXY()),E.assign(e.getEndXY()),2===t.getCoordinateSystemType()?(P[0]=C.x,P[1]=C.y,P[2]=E.x,P[3]=E.y,o.ae.projToGeog(w,2,P),v.x=P[0]*y,v.y=P[1]*y,N.x=P[2]*y,N.y=P[3]*y):(v.setCoordsPoint2D(C),N.setCoordsPoint2D(E),v.scale(y),N.scale(y));const n=new i.k,r=new i.k;p(l,h,v,n),p(l,h,N,r);let a=_(l,n,r);f.setValues(0,v,Number.NaN,n),G.setValues(1,N,a,r),S=c,x[0].assign(G),d[0]=c;let g=0;for(;;){g>128&&(0,s.d)("iterations exceeded");const n=.5*(f.m_factor+G.m_factor),r=e.getCoord2D(n);2===t.getCoordinateSystemType()?(P[0]=r.x,P[1]=r.y,o.ae.projToGeog(w,1,P),T.x=P[0]*y,T.y=P[1]*y):(T.setCoordsPoint2D(r),T.scale(y)),v.setCoordsPoint2D(f.m_pGcs),N.setCoordsPoint2D(G.m_pGcs);const m=new i.k;p(l,h,T,m);const u=_(l,f.m_xyz,m),C=_(l,G.m_xyz,m);a=G.m_geoLength,Number.isNaN(a)&&(a=_(l,f.m_xyz,G.m_xyz));const E=u+C,b=S===c&&E>=20&&Math.abs(E-a)>1e-8*(a+E);if(g+2<40&&(b||Math.abs(E-a)>0&&S>0))G.setLength(C),x[g].assign(G),G.setValues(n,T,u,m),x[++g].assign(G),b?(S=c,d[g]=c):(S--,d[g-1]=S,d[g]=S);else{if(L+=E,0===g)break;f.assign(G),G.assign(x[--g]),S=d[g]}}}return L}execute(e,t,n){if(t&&0!==t.getCoordinateSystemType()||(0,s.a)(""),e.isEmpty()||e.getDimension()<1)return 0;let a=null;const i=t.getGCS();i!==t&&(a=(0,o.a)(t,i,null));const c=e.getGeometryType();if(c===s.G.enumEnvelope){const s=new r.P;return s.addEnvelope(e,!1),this._ExecuteShapePreservingLength(s,t,i,a,n)}if((0,s.h)(c)){const s=new r.a;return s.addSegment(e,!0),this._ExecuteShapePreservingLength(s,t,i,a,n)}return this._ExecuteShapePreservingLength(e,t,i,a,n)}}function p(e,t,n,s){s.assign((0,o.a6)(e,t,n))}function _(e,t,n){const s=e,o=new i.k;o.setSub(t,n);const r=o.length();return 2*s*Math.asin(r/(2*s))}},76061(e,t,n){n.d(t,{S:()=>o});var s=n(61691);class o extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5524],{73354(t,e,n){n.d(e,{a:()=>l,b:()=>a,c:()=>i,d:()=>o,e:()=>f,f:()=>u,l:()=>h,n:()=>p,t:()=>r}),n(44208);var s=n(72727);function i(t,e,n){r(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function r(t,e,n,i=3,r=i){const o=(0,s.k)(t.length,i,3),a=(0,s.k)(e.length,r,3),c=Math.min(o,a),h=n[0],u=n[1],l=n[2],f=n[4],p=n[5],d=n[6],m=n[8],g=n[9],S=n[10],y=n[12],M=n[13],v=n[14];let k=0,E=0;for(let n=0;n<c;n++){const n=e[k],s=e[k+1],o=e[k+2];t[E]=h*n+f*s+m*o+y,t[E+1]=u*n+p*s+g*o+M,t[E+2]=l*n+d*s+S*o+v,k+=r,E+=i}return t}function o(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function a(t,e,n,i=3,r=i){const o=(0,s.k)(t.length,i,3),a=(0,s.k)(e.length,r,3),c=Math.min(o,a),h=n[0],u=n[1],l=n[2],f=n[3],p=n[4],d=n[5],m=n[6],g=n[7],S=n[8];let y=0,M=0;for(let n=0;n<c;n++){const n=e[y],s=e[y+1],o=e[y+2];t[M]=h*n+f*s+m*o,t[M+1]=u*n+p*s+g*o,t[M+2]=l*n+d*s+S*o,y+=r,M+=i}}function c(t,e,n,s=3,i=s){const r=Math.min(t.length/s,e.length/i);let o=0,a=0;for(let c=0;c<r;c++)t[a]=n*e[o],t[a+1]=n*e[o+1],t[a+2]=n*e[o+2],o+=i,a+=s;return t}function h(t,e,n,s){u(t.typedBuffer,e.typedBuffer,n,s,t.typedBufferStride,e.typedBufferStride)}function u(t,e,n,s,i=3,r=i){const o=Math.min(t.length/i,e.length/r);let a=0,c=0;const h=1/2.2;for(let u=0;u<o;u++)t[c]=s*(n*e[a])**h,t[c+1]=s*(n*e[a+1])**h,t[c+2]=s*(n*e[a+2])**h,a+=r,c+=i}function l(t,e,n,i=3,r=i){const o=(0,s.k)(t.length,i,3),a=(0,s.k)(e.length,r,3),c=Math.min(o,a);let h=0,u=0;for(let s=0;s<c;s++)t[u]=e[h]+n[0],t[u+1]=e[h+1]+n[1],t[u+2]=e[h+2]+n[2],h+=r,u+=i;return t}function f(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,s=n){const i=Math.min(t.length/n,e.length/s);let r=0,o=0;for(let a=0;a<i;a++){const i=e[r],a=e[r+1],c=e[r+2],h=i*i+a*a+c*c;if(h>0){const e=1/Math.sqrt(h);t[o]=e*i,t[o+1]=e*a,t[o+2]=e*c}r+=s,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:u,linearToSRGBView:h,normalize:p,normalizeView:f,scale:c,scaleView:function(t,e,n){c(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const s=Math.min(t.count,e.count),i=t.typedBuffer,r=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride;let c=0,h=0;for(let t=0;t<s;t++)i[h]=o[c]>>n,i[h+1]=o[c+1]>>n,i[h+2]=o[c+2]>>n,c+=a,h+=r},transformMat3:a,transformMat3View:o,transformMat4:r,transformMat4View:i,translate:l},Symbol.toStringTag,{value:"Module"}))},69052(t,e,n){n.d(e,{hr:()=>i});var s=n(34727);class i{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,n=!1){return r(this.range,this.min,this.max,t,e,n)}clamp(t,e=0){return(0,s.qE)(t-e,this.min,this.max)+e}monotonic(t,e,n){return t<e?e:e+o(this.range,t-e,n)}minimalMonotonic(t,e,n){return r(this.range,t,t+this.range,e,n)}center(t,e,n){return e=this.monotonic(t,e,n),this.normalize((t+e)/2,n)}diff(t,e,n){return this.monotonic(t,e,n)-t}shortestSignedDiff(t,e){t=this.normalize(t);const n=(e=this.normalize(e))-t,s=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(n)<Math.abs(s)?n:s}contains(t,e,n){return e=this.minimalMonotonic(t,e),(n=this.minimalMonotonic(t,n))>t&&n<e}}function r(t,e,n,s,i=0,r=!1){return(s-=i)<e?s+=o(t,e-s):s>n&&(s-=o(t,s-n)),r&&s===n&&(s=e),s+i}function o(t,e,n=0){return Math.ceil((e-n)/t)*t+n}const a=new i(0,2*Math.PI),c=(new i(-Math.PI,Math.PI),new i(0,360));n.d(e,["ie",0,c,"uC",0,a])},44794(t,e,n){n.d(e,{v:()=>a});var s=n(4718),i=n(62788),r=n(95488);class o{constructor(t,e){this._observable=new r.I,this._value=t,this._equalityFunction=e}get value(){return(0,i.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=s.gh){return new o(t,e)}},72727(t,e,n){function s(t,e,n){if(e<=0)return 0;const s=t-n;return s<0?0:Math.floor(s/e)+1}n.d(e,{k:()=>s}),n(53966)},31411(t,e,n){n.d(e,{GS:()=>b,gh:()=>R});var s=n(49186),i=n(56512),r=n(65864),o=n(4305),a=n(50954),c=n(52006),h=n(49663),u=n(46068),l=n(15507);const f=1e-6,p=[0,0];function d(t){return{maxSegmentLength:t.maxSegmentLength??0,maxDeviation:t.maxDeviation??0,maxSegmentsPerCurve:t.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(t.minSegmentsPerCurve??1,1)}}class m{constructor(t,e){this.curveStart=t,this.curveEnd=e,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(t,e){this.tStart=0,this.arcStart=t,this.tEndStack.push(1),this.arcEndStack.push(e)}splitAt(t){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(t),this.arcEndStack.push(this.interpolate(t))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(t,{maxDeviation:e,maxSegmentLength:n,maxSegmentsPerCurve:s,minSegmentsPerCurve:i}){const r=n*n,o=e*e,a=1/s,c=this.interpolate(0),h=this.interpolate(1);(0,l.kb)(this.curveStart,c)>f&&t.push(c),this.initialize(c,h);const u=1/i;for(let t=i-1;t>0;t--){const e=t*u;this.pop(),this.splitAt(e)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<a||(0===r||!isFinite(r)||(0,l.kb)(this.arcStart,this.arcEnd)<r)&&(0===o||!isFinite(o)||this.getDeviation2()<o)?(t.push(this.arcEnd),this.next()):this.splitInHalf();return(0,l.kb)(this.curveEnd,h)>f&&t.push([...this.curveEnd]),t}}class g extends m{constructor(t,e){const[n,s,i]=e.b;super(t,n),this._controlPointsStack=[],this._curveControlPoints=[s,i],this._arcControlPoints=[s,i],this._controlPointsStack.push(this._arcControlPoints)}splitAt(t){const{arcStart:e,arcEnd:n,tStart:s,tEnd:i}=this,[r,o]=this._arcControlPoints,a=(t-s)/(i-s),c=(0,l.RS)([],e,r,a),h=(0,l.RS)(p,r,o,a),u=(0,l.RS)([],o,n,a),f=(0,l.RS)([],c,h,a),d=(0,l.RS)([],h,u,a),m=(0,l.RS)([],f,d,a);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([d,u]),this.tEndStack.push(t),this.arcEndStack.push(m),this._arcControlPoints[0]=c,this._arcControlPoints[1]=f,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(t){const{curveStart:e,curveEnd:n}=this,[s,i]=this._curveControlPoints;return(0,o.B4)(e,s,i,n,t)}getDeviation2(){const{arcStart:t,arcEnd:e}=this,[n,s]=this._arcControlPoints;return Math.max((0,l.yE)(n,t,e),(0,l.yE)(s,t,e))}}class S extends m{constructor(t,e){const[n]=e.a;super(t,n),this._derivedEllipse=(0,u.SW)(t,e)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(t){return(0,u.Uk)(this._derivedEllipse,t)}getDeviation2(){return(0,l.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function y(t,e,n,{cx:s,cy:i,radius:r,thetaStart:o,thetaEnd:a,isInvalid:c},{maxDeviation:h,maxSegmentLength:u,maxSegmentsPerCurve:p,minSegmentsPerCurve:d}){if(c)return t.push([...n]),t;const m=2*r,g=[s+r*Math.cos(o),i+r*Math.sin(o)],S=[s+r*Math.cos(a),i+r*Math.sin(a)];(0,l.kb)(e,g)>f&&t.push(g);const y=Math.abs(a-o),M=u>0&&u<m?2*Math.asin(u/m):y,v=h>0&&h<=r?2*Math.acos(1-h/r):y,k=Math.min(M,v),E=Math.min(p,Math.max(d,Math.ceil(Math.abs(y/k)))),x=1/E;for(let e=1;e<E;e++){const n=e*x,c=o*(1-n)+a*n;t.push([s+r*Math.cos(c),i+r*Math.sin(c)])}return t.push(S),(0,l.kb)(n,S)>f&&t.push([...n]),t}function M(t,e,n,s){return new g(e,n).densify(t,s)}function v(t,e,n,s){const i=(0,a.pM)(e,n),[r]=n.c;return y(t,e,r,i,s)}function k(t,e,n,s){const i=(0,h.io)(e,n),[r]=n.a;return y(t,e,r,i,s)}function E(t,e,n,s){const[i,r,o,a,c,h,u]=n.a;return 0===h||0===u?(t.push([...i]),t):new S(e,n).densify(t,s)}function x(t,e,n,s){return(0,c.Xq)(n)?(t.push([...n]),t):(0,c.n1)(n)?M(t,e,n,s):(0,c.aO)(n)?v(t,e,n,s):(0,c.DA)(n)?k(t,e,n,s):E(t,e,n,s)}function b(t,e={}){if(!(0,c.Ed)(t))return t;const n=d(e),s=(0,c.FD)(t),i=[];for(const t of s){const e=[];for(let s=0;s<t.length-1;s++){const i=s+1,r=[...(0,c.yP)(t[s])];0===s&&e.push(r),x(e,r,t[i],n)}i.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},paths:i,spatialReference:t.spatialReference}:{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},rings:i,spatialReference:t.spatialReference}}const w=(0,i.B)(t=>({maxDeviation:0,maxSegmentLength:100*t,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function R(t,e,i){const o=new Set(e);return await async function(t,e,i){let r=null;for(const o of t)if(o&&(0,c.Ed)(o)&&null==o.spatialReference.xyTolerance&&(0,c.V8)(o,e)){const t=o.spatialReference;if(!t)throw new s.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const e=_(t);if(i.has(e))o.spatialReference=i.get(e);else{r||(r=await Promise.all([n.e(6042),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)));const a=r.fromSpatialReference(t),c=a?.getTolerance();if(null==c)throw new s.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const h=o.spatialReference.clone();h.read({xyTolerance:c}),o.spatialReference=h,i.set(e,h)}}}(t,o,i),t.map(t=>{if(!t||!(0,c.Ed)(t))return t;const n=t.spatialReference.xyTolerance;if(null==n)return t;const s=w(n);return(0,r.rS)(function(t,e,n){if(!(0,c.Ed)(t))return t;const s=new Set(e),i=d(n),r=(0,c.FD)(t),o=[];let a=!1;for(const t of r){const e=[];for(let n=0;n<t.length-1;n++){const r=n+1,o=[...(0,c.yP)(t[n])];0===n&&e.push(o);const h=t[r];(0,c.Xq)(h)?e.push([...h]):(0,c.n1)(h)&&!s.has("cubic-bezier")?M(e,o,h,i):(0,c.aO)(h)&&!s.has("circular-arc")?v(e,o,h,i):(0,c.DA)(h)&&!s.has("elliptic-arc")?k(e,o,h,i):(0,c.wY)(h)&&!s.has("elliptic-arc")?E(e,o,h,i):(e.push((0,c.tk)(h)),a=!0)}o.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},spatialReference:t.spatialReference,...a?{curvePaths:o}:{paths:o}}:{hasZ:t.hasZ,hasM:t.hasM,spatialReference:t.spatialReference,...a?{curveRings:o}:{rings:o}}}(t,e,s))})}function _(t){if(null!=t.wkid)return`${t.wkid}`;if(null!=t.wkt)return t.wkt;const e="toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():t;return JSON.stringify(e)}},17136(t,e,n){n.d(e,{Y_:()=>B,O7:()=>P,el:()=>_});var s=n(92602),i=n(69052),r=n(49186),o=n(53966),a=n(39829),c=n(82799),h=n(16930),u=n(80754),l=n(21325),f=n(28735),p=n(52006),d=n(31411),m=n(11254),g=n(60408),S=n(65864),y=n(2272),M=n(84952),v=n(92300);const k=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function E(t){return"polygon"===t[0].type}function x(t){return"polyline"===t[0].type}function b(t,e,n){const s=1e6;if(e){const e=(0,p.Ed)(t)?(0,d.GS)(t,{maxSegmentLength:s}):function(t,e){if(!(t instanceof c.A||t instanceof a.A)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw k().error(t),new r.A("internal:geometry",t)}const n=(0,u.r8)(t),s=[];for(const t of n){const n=[];s.push(n),n.push([t[0][0],t[0][1]]);for(let s=0;s<t.length-1;s++){const i=t[s][0],r=t[s][1],o=t[s+1][0],a=t[s+1][1],c=Math.sqrt((o-i)*(o-i)+(a-r)*(a-r)),h=(a-r)/c,u=(o-i)/c,l=c/e;if(l>1){for(let t=1;t<=l-1;t++){const s=t*e,o=u*s+i,a=h*s+r;n.push([o,a])}const t=(c+Math.floor(l-1)*e)/2,s=u*t+i,o=h*t+r;n.push([s,o])}n.push([o,a])}}return function(t){return"polygon"===t.type}(t)?new a.A({rings:s,spatialReference:t.spatialReference}):new c.A({paths:s,spatialReference:t.spatialReference})}(t,s);t=(0,f.ci)(e,!0)}return n&&(t=(0,u.kS)(t,n)),t}function w(t,e,n){if(Array.isArray(t)){const s=t[0];if(s>e){const n=(0,u.kd)(s,e);t[0]=s+n*(-2*e)}else if(s<n){const e=(0,u.kd)(s,n);t[0]=s+e*(-2*n)}}else{const s=t.x;if(s>e){const n=(0,u.kd)(s,e);t=t.clone().offset(n*(-2*e),0)}else if(s<n){const e=(0,u.kd)(s,n);t=t.clone().offset(e*(-2*n),0)}}return t}function R(t,e){let n=-1;for(let s=0;s<e.cutIndexes.length;s++){const i=e.cutIndexes[s],r=e.geometries[s],o=(0,u.r8)(r);for(let t=0;t<o.length;t++){const e=o[t];e.some(n=>{if(n[0]<180)return!0;{let n=0;for(let t=0;t<e.length;t++){const s=e[t][0];n=s>n?s:n}n=Number(n.toFixed(9));const s=-360*(0,u.kd)(n,180);for(let n=0;n<e.length;n++){const e=r.getPoint(t,n);r.setPoint(t,n,e.clone().offset(s,0))}return!0}})}if(i===n){if(E(t))for(const e of(0,u.r8)(r))t[i]=t[i].addRing(e);else if(x(t))for(const e of(0,u.r8)(r))t[i]=t[i].addPath(e)}else n=i,t[i]=r}return t}async function _(t,e,n){if(!Array.isArray(t))return _([t],e);e&&"string"!=typeof e&&k().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof e?e:e?.url??s.A.geometryServiceUrl;let r,o,h,p,d,E,x,P,A=0;const B=[],C=[];for(const e of t)if(null!=e)if(r||(r=e.spatialReference,o=(0,l.Vp)(r),h=r.isWebMercator,E=h?102100:4326,p=u.j7[E].maxX,d=u.j7[E].minX,x=u.j7[E].plus180Line,P=u.j7[E].minus180Line),o)if("mesh"===e.type)C.push(e);else if("point"===e.type)C.push(w(e.clone(),p,d));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map(t=>w(t,p,d)),C.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,o);C.push(t.rings?new a.A(t):t)}else if(e.extent){const t=e.extent,n=(0,u.kd)(t.xmin,d)*(2*p);let s=0===n?e.clone():(0,u.kS)(e.clone(),n);t.offset(n,0);let{xmin:i,xmax:r}=t;i=Number(i.toFixed(9)),r=Number(r.toFixed(9)),t.intersects(x)&&r!==p?(A=r>A?r:A,s=b(s,h),B.push(s),C.push("cut")):t.intersects(P)&&i!==d?(A=r*(2*p)>A?r*(2*p):A,s=b(s,h,360),B.push(s),C.push("cut")):C.push(s)}else C.push(e.clone());else C.push(e);else C.push(e);let D=(0,u.kd)(A,p),O=-90;const z=D,L=new c.A;for(;D>0;){const t=360*D-180;L.addPath([[t,O],[t,-1*O]]),O*=-1,D--}if(B.length>0&&z>0){const e=R(B,await async function(t,e,n,s){const i=(0,y.Dl)(t),r=e[0].spatialReference,o={...s,responseType:"json",query:{...i.query,f:"json",sr:(0,l.YX)(r),target:JSON.stringify({geometryType:(0,g.$B)(e[0]),geometries:e}),cutter:JSON.stringify(n)}},a=await(0,m.A)(i.path+"/cut",o),{cutIndexes:c,geometries:h=[]}=a.data;return{cutIndexes:c,geometries:h.map(t=>{const e=(0,S.rS)(t);return e.spatialReference=r,e})}}(i,B,L,n)),s=[],r=[];for(let n=0;n<C.length;n++){const i=C[n];if("cut"!==i)r.push(i);else{const i=e.shift(),o=t[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&i.rings.length>=o.rings.length?(s.push(i),r.push("simplify")):r.push(h?(0,f.Gh)(i):i)}}if(!s.length)return r;const o=await async function(t,e,n){const s="string"==typeof t?(0,M.An)(t):t,i=e[0].spatialReference,r=(0,g.$B)(e[0]),o={...n,query:{...s.query,f:"json",sr:(0,l.YX)(i),geometries:JSON.stringify((0,v.X)(e))}},{data:a}=await(0,m.A)(s.path+"/simplify",o);return(0,v.V)(a.geometries,r,i)}(i,s,n),a=[];for(let t=0;t<r.length;t++){const e=r[t];"simplify"!==e?a.push(e):a.push(h?(0,f.Gh)(o.shift()):o.shift())}return a}const T=[];for(let t=0;t<C.length;t++){const e=C[t];if("cut"!==e)T.push(e);else{const t=B.shift();T.push(!0===h?(0,f.Gh)(t):t)}}return T}function P(t,e,n){const s=(0,l.Vp)(n);if(null==s)return t;const[i,r]=s.valid,o=2*r;let a=0,c=0;e>r?a=Math.ceil(Math.abs(e-r)/o):e<i&&(a=-Math.ceil(Math.abs(e-i)/o)),t>r?c=Math.ceil(Math.abs(t-r)/o):t<i&&(c=-Math.ceil(Math.abs(t-i)/o));let h=t+(a-c)*o;const u=h-e;return u>r?h-=o:u<i&&(h+=o),h}function A(t){const e=(0,l.Vp)(t);if(null==e)return null;const[n,s]=e.valid;return new i.hr(n,s)}const B=A(h.A.WGS84);A(h.A.WebMercator)},80754(t,e,n){n.d(e,{kS:()=>h,kd:()=>c,r8:()=>u});var s=n(82799),i=n(16930),r=n(60408),o=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new s.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new s.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new s.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new s.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function c(t,e){return Math.ceil((t-e)/(2*e))}function h(t,e){if((0,o.Ed)(t))for(const n of function(t){return(0,r.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of n){if((0,o.aO)(t)){const[n,s]=t.c;n[0]+=e,s[0]+=e;continue}if((0,o.FG)(t)){const[n,s]=t.a;n[0]+=e,s[0]+=e;continue}if((0,o.n1)(t)){const[n,s,i]=t.b;n[0]+=e,s[0]+=e,i[0]+=e;continue}t[0]+=e}for(const n of u(t))for(const t of n)t[0]+=e;return t}function u(t){return(0,r.Bi)(t)?t.rings:t.paths}n.d(e,["j7",0,a])},38969(t,e,n){n.d(e,{i:()=>i});var s=n(37955);function i(t,e){return new Promise((n,i)=>{t.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?n():(e((0,s.Oo)(t,"canplay",n)),e((0,s.Oo)(t,"error",i)))})}},92300(t,e,n){n.d(e,{V:()=>o,X:()=>r});var s=n(60408),i=n(65864);function r(t){return{geometryType:(0,s.$B)(t[0]),geometries:t.map(t=>t.toJSON())}}function o(t,e,n){const s=(0,i.xD)(e);return t.map(t=>{const e=s.fromJSON(t);return e.spatialReference=n,e})}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5524],{73354(t,e,n){n.d(e,{a:()=>l,b:()=>a,c:()=>i,d:()=>o,e:()=>f,f:()=>u,l:()=>h,n:()=>p,t:()=>r}),n(44208);var s=n(72727);function i(t,e,n){r(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function r(t,e,n,i=3,r=i){const o=(0,s.k)(t.length,i,3),a=(0,s.k)(e.length,r,3),c=Math.min(o,a),h=n[0],u=n[1],l=n[2],f=n[4],p=n[5],d=n[6],m=n[8],g=n[9],S=n[10],y=n[12],M=n[13],v=n[14];let k=0,E=0;for(let n=0;n<c;n++){const n=e[k],s=e[k+1],o=e[k+2];t[E]=h*n+f*s+m*o+y,t[E+1]=u*n+p*s+g*o+M,t[E+2]=l*n+d*s+S*o+v,k+=r,E+=i}return t}function o(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function a(t,e,n,i=3,r=i){const o=(0,s.k)(t.length,i,3),a=(0,s.k)(e.length,r,3),c=Math.min(o,a),h=n[0],u=n[1],l=n[2],f=n[3],p=n[4],d=n[5],m=n[6],g=n[7],S=n[8];let y=0,M=0;for(let n=0;n<c;n++){const n=e[y],s=e[y+1],o=e[y+2];t[M]=h*n+f*s+m*o,t[M+1]=u*n+p*s+g*o,t[M+2]=l*n+d*s+S*o,y+=r,M+=i}}function c(t,e,n,s=3,i=s){const r=Math.min(t.length/s,e.length/i);let o=0,a=0;for(let c=0;c<r;c++)t[a]=n*e[o],t[a+1]=n*e[o+1],t[a+2]=n*e[o+2],o+=i,a+=s;return t}function h(t,e,n,s){u(t.typedBuffer,e.typedBuffer,n,s,t.typedBufferStride,e.typedBufferStride)}function u(t,e,n,s,i=3,r=i){const o=Math.min(t.length/i,e.length/r);let a=0,c=0;const h=1/2.2;for(let u=0;u<o;u++)t[c]=s*(n*e[a])**h,t[c+1]=s*(n*e[a+1])**h,t[c+2]=s*(n*e[a+2])**h,a+=r,c+=i}function l(t,e,n,i=3,r=i){const o=(0,s.k)(t.length,i,3),a=(0,s.k)(e.length,r,3),c=Math.min(o,a);let h=0,u=0;for(let s=0;s<c;s++)t[u]=e[h]+n[0],t[u+1]=e[h+1]+n[1],t[u+2]=e[h+2]+n[2],h+=r,u+=i;return t}function f(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,s=n){const i=Math.min(t.length/n,e.length/s);let r=0,o=0;for(let a=0;a<i;a++){const i=e[r],a=e[r+1],c=e[r+2],h=i*i+a*a+c*c;if(h>0){const e=1/Math.sqrt(h);t[o]=e*i,t[o+1]=e*a,t[o+2]=e*c}r+=s,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:u,linearToSRGBView:h,normalize:p,normalizeView:f,scale:c,scaleView:function(t,e,n){c(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const s=Math.min(t.count,e.count),i=t.typedBuffer,r=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride;let c=0,h=0;for(let t=0;t<s;t++)i[h]=o[c]>>n,i[h+1]=o[c+1]>>n,i[h+2]=o[c+2]>>n,c+=a,h+=r},transformMat3:a,transformMat3View:o,transformMat4:r,transformMat4View:i,translate:l},Symbol.toStringTag,{value:"Module"}))},69052(t,e,n){n.d(e,{hr:()=>i});var s=n(34727);class i{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,n=!1){return r(this.range,this.min,this.max,t,e,n)}clamp(t,e=0){return(0,s.qE)(t-e,this.min,this.max)+e}monotonic(t,e,n){return t<e?e:e+o(this.range,t-e,n)}minimalMonotonic(t,e,n){return r(this.range,t,t+this.range,e,n)}center(t,e,n){return e=this.monotonic(t,e,n),this.normalize((t+e)/2,n)}diff(t,e,n){return this.monotonic(t,e,n)-t}shortestSignedDiff(t,e){t=this.normalize(t);const n=(e=this.normalize(e))-t,s=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(n)<Math.abs(s)?n:s}contains(t,e,n){return e=this.minimalMonotonic(t,e),(n=this.minimalMonotonic(t,n))>t&&n<e}}function r(t,e,n,s,i=0,r=!1){return(s-=i)<e?s+=o(t,e-s):s>n&&(s-=o(t,s-n)),r&&s===n&&(s=e),s+i}function o(t,e,n=0){return Math.ceil((e-n)/t)*t+n}const a=new i(0,2*Math.PI),c=(new i(-Math.PI,Math.PI),new i(0,360));n.d(e,["ie",0,c,"uC",0,a])},44794(t,e,n){n.d(e,{v:()=>a});var s=n(4718),i=n(62788),r=n(95488);class o{constructor(t,e){this._observable=new r.I,this._value=t,this._equalityFunction=e}get value(){return(0,i.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=s.gh){return new o(t,e)}},72727(t,e,n){function s(t,e,n){if(e<=0)return 0;const s=t-n;return s<0?0:Math.floor(s/e)+1}n.d(e,{k:()=>s}),n(53966)},31411(t,e,n){n.d(e,{GS:()=>b,gh:()=>R});var s=n(49186),i=n(56512),r=n(65864),o=n(4305),a=n(50954),c=n(52006),h=n(49663),u=n(46068),l=n(15507);const f=1e-6,p=[0,0];function d(t){return{maxSegmentLength:t.maxSegmentLength??0,maxDeviation:t.maxDeviation??0,maxSegmentsPerCurve:t.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(t.minSegmentsPerCurve??1,1)}}class m{constructor(t,e){this.curveStart=t,this.curveEnd=e,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(t,e){this.tStart=0,this.arcStart=t,this.tEndStack.push(1),this.arcEndStack.push(e)}splitAt(t){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(t),this.arcEndStack.push(this.interpolate(t))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(t,{maxDeviation:e,maxSegmentLength:n,maxSegmentsPerCurve:s,minSegmentsPerCurve:i}){const r=n*n,o=e*e,a=1/s,c=this.interpolate(0),h=this.interpolate(1);(0,l.kb)(this.curveStart,c)>f&&t.push(c),this.initialize(c,h);const u=1/i;for(let t=i-1;t>0;t--){const e=t*u;this.pop(),this.splitAt(e)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<a||(0===r||!isFinite(r)||(0,l.kb)(this.arcStart,this.arcEnd)<r)&&(0===o||!isFinite(o)||this.getDeviation2()<o)?(t.push(this.arcEnd),this.next()):this.splitInHalf();return(0,l.kb)(this.curveEnd,h)>f&&t.push([...this.curveEnd]),t}}class g extends m{constructor(t,e){const[n,s,i]=e.b;super(t,n),this._controlPointsStack=[],this._curveControlPoints=[s,i],this._arcControlPoints=[s,i],this._controlPointsStack.push(this._arcControlPoints)}splitAt(t){const{arcStart:e,arcEnd:n,tStart:s,tEnd:i}=this,[r,o]=this._arcControlPoints,a=(t-s)/(i-s),c=(0,l.RS)([],e,r,a),h=(0,l.RS)(p,r,o,a),u=(0,l.RS)([],o,n,a),f=(0,l.RS)([],c,h,a),d=(0,l.RS)([],h,u,a),m=(0,l.RS)([],f,d,a);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([d,u]),this.tEndStack.push(t),this.arcEndStack.push(m),this._arcControlPoints[0]=c,this._arcControlPoints[1]=f,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(t){const{curveStart:e,curveEnd:n}=this,[s,i]=this._curveControlPoints;return(0,o.B4)(e,s,i,n,t)}getDeviation2(){const{arcStart:t,arcEnd:e}=this,[n,s]=this._arcControlPoints;return Math.max((0,l.yE)(n,t,e),(0,l.yE)(s,t,e))}}class S extends m{constructor(t,e){const[n]=e.a;super(t,n),this._derivedEllipse=(0,u.SW)(t,e)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(t){return(0,u.Uk)(this._derivedEllipse,t)}getDeviation2(){return(0,l.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function y(t,e,n,{cx:s,cy:i,radius:r,thetaStart:o,thetaEnd:a,isInvalid:c},{maxDeviation:h,maxSegmentLength:u,maxSegmentsPerCurve:p,minSegmentsPerCurve:d}){if(c)return t.push([...n]),t;const m=2*r,g=[s+r*Math.cos(o),i+r*Math.sin(o)],S=[s+r*Math.cos(a),i+r*Math.sin(a)];(0,l.kb)(e,g)>f&&t.push(g);const y=Math.abs(a-o),M=u>0&&u<m?2*Math.asin(u/m):y,v=h>0&&h<=r?2*Math.acos(1-h/r):y,k=Math.min(M,v),E=Math.min(p,Math.max(d,Math.ceil(Math.abs(y/k)))),x=1/E;for(let e=1;e<E;e++){const n=e*x,c=o*(1-n)+a*n;t.push([s+r*Math.cos(c),i+r*Math.sin(c)])}return t.push(S),(0,l.kb)(n,S)>f&&t.push([...n]),t}function M(t,e,n,s){return new g(e,n).densify(t,s)}function v(t,e,n,s){const i=(0,a.pM)(e,n),[r]=n.c;return y(t,e,r,i,s)}function k(t,e,n,s){const i=(0,h.io)(e,n),[r]=n.a;return y(t,e,r,i,s)}function E(t,e,n,s){const[i,r,o,a,c,h,u]=n.a;return 0===h||0===u?(t.push([...i]),t):new S(e,n).densify(t,s)}function x(t,e,n,s){return(0,c.Xq)(n)?(t.push([...n]),t):(0,c.n1)(n)?M(t,e,n,s):(0,c.aO)(n)?v(t,e,n,s):(0,c.DA)(n)?k(t,e,n,s):E(t,e,n,s)}function b(t,e={}){if(!(0,c.Ed)(t))return t;const n=d(e),s=(0,c.FD)(t),i=[];for(const t of s){const e=[];for(let s=0;s<t.length-1;s++){const i=s+1,r=[...(0,c.yP)(t[s])];0===s&&e.push(r),x(e,r,t[i],n)}i.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},paths:i,spatialReference:t.spatialReference}:{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},rings:i,spatialReference:t.spatialReference}}const w=(0,i.B)(t=>({maxDeviation:0,maxSegmentLength:100*t,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function R(t,e,i){const o=new Set(e);return await async function(t,e,i){let r=null;for(const o of t)if(o&&(0,c.Ed)(o)&&null==o.spatialReference.xyTolerance&&(0,c.V8)(o,e)){const t=o.spatialReference;if(!t)throw new s.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const e=_(t);if(i.has(e))o.spatialReference=i.get(e);else{r||(r=await Promise.all([n.e(9187),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)));const a=r.fromSpatialReference(t),c=a?.getTolerance();if(null==c)throw new s.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const h=o.spatialReference.clone();h.read({xyTolerance:c}),o.spatialReference=h,i.set(e,h)}}}(t,o,i),t.map(t=>{if(!t||!(0,c.Ed)(t))return t;const n=t.spatialReference.xyTolerance;if(null==n)return t;const s=w(n);return(0,r.rS)(function(t,e,n){if(!(0,c.Ed)(t))return t;const s=new Set(e),i=d(n),r=(0,c.FD)(t),o=[];let a=!1;for(const t of r){const e=[];for(let n=0;n<t.length-1;n++){const r=n+1,o=[...(0,c.yP)(t[n])];0===n&&e.push(o);const h=t[r];(0,c.Xq)(h)?e.push([...h]):(0,c.n1)(h)&&!s.has("cubic-bezier")?M(e,o,h,i):(0,c.aO)(h)&&!s.has("circular-arc")?v(e,o,h,i):(0,c.DA)(h)&&!s.has("elliptic-arc")?k(e,o,h,i):(0,c.wY)(h)&&!s.has("elliptic-arc")?E(e,o,h,i):(e.push((0,c.tk)(h)),a=!0)}o.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},spatialReference:t.spatialReference,...a?{curvePaths:o}:{paths:o}}:{hasZ:t.hasZ,hasM:t.hasM,spatialReference:t.spatialReference,...a?{curveRings:o}:{rings:o}}}(t,e,s))})}function _(t){if(null!=t.wkid)return`${t.wkid}`;if(null!=t.wkt)return t.wkt;const e="toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():t;return JSON.stringify(e)}},17136(t,e,n){n.d(e,{Y_:()=>B,O7:()=>P,el:()=>_});var s=n(92602),i=n(69052),r=n(49186),o=n(53966),a=n(39829),c=n(82799),h=n(16930),u=n(80754),l=n(21325),f=n(28735),p=n(52006),d=n(31411),m=n(11254),g=n(60408),S=n(65864),y=n(2272),M=n(84952),v=n(92300);const k=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function E(t){return"polygon"===t[0].type}function x(t){return"polyline"===t[0].type}function b(t,e,n){const s=1e6;if(e){const e=(0,p.Ed)(t)?(0,d.GS)(t,{maxSegmentLength:s}):function(t,e){if(!(t instanceof c.A||t instanceof a.A)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw k().error(t),new r.A("internal:geometry",t)}const n=(0,u.r8)(t),s=[];for(const t of n){const n=[];s.push(n),n.push([t[0][0],t[0][1]]);for(let s=0;s<t.length-1;s++){const i=t[s][0],r=t[s][1],o=t[s+1][0],a=t[s+1][1],c=Math.sqrt((o-i)*(o-i)+(a-r)*(a-r)),h=(a-r)/c,u=(o-i)/c,l=c/e;if(l>1){for(let t=1;t<=l-1;t++){const s=t*e,o=u*s+i,a=h*s+r;n.push([o,a])}const t=(c+Math.floor(l-1)*e)/2,s=u*t+i,o=h*t+r;n.push([s,o])}n.push([o,a])}}return function(t){return"polygon"===t.type}(t)?new a.A({rings:s,spatialReference:t.spatialReference}):new c.A({paths:s,spatialReference:t.spatialReference})}(t,s);t=(0,f.ci)(e,!0)}return n&&(t=(0,u.kS)(t,n)),t}function w(t,e,n){if(Array.isArray(t)){const s=t[0];if(s>e){const n=(0,u.kd)(s,e);t[0]=s+n*(-2*e)}else if(s<n){const e=(0,u.kd)(s,n);t[0]=s+e*(-2*n)}}else{const s=t.x;if(s>e){const n=(0,u.kd)(s,e);t=t.clone().offset(n*(-2*e),0)}else if(s<n){const e=(0,u.kd)(s,n);t=t.clone().offset(e*(-2*n),0)}}return t}function R(t,e){let n=-1;for(let s=0;s<e.cutIndexes.length;s++){const i=e.cutIndexes[s],r=e.geometries[s],o=(0,u.r8)(r);for(let t=0;t<o.length;t++){const e=o[t];e.some(n=>{if(n[0]<180)return!0;{let n=0;for(let t=0;t<e.length;t++){const s=e[t][0];n=s>n?s:n}n=Number(n.toFixed(9));const s=-360*(0,u.kd)(n,180);for(let n=0;n<e.length;n++){const e=r.getPoint(t,n);r.setPoint(t,n,e.clone().offset(s,0))}return!0}})}if(i===n){if(E(t))for(const e of(0,u.r8)(r))t[i]=t[i].addRing(e);else if(x(t))for(const e of(0,u.r8)(r))t[i]=t[i].addPath(e)}else n=i,t[i]=r}return t}async function _(t,e,n){if(!Array.isArray(t))return _([t],e);e&&"string"!=typeof e&&k().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof e?e:e?.url??s.A.geometryServiceUrl;let r,o,h,p,d,E,x,P,A=0;const B=[],C=[];for(const e of t)if(null!=e)if(r||(r=e.spatialReference,o=(0,l.Vp)(r),h=r.isWebMercator,E=h?102100:4326,p=u.j7[E].maxX,d=u.j7[E].minX,x=u.j7[E].plus180Line,P=u.j7[E].minus180Line),o)if("mesh"===e.type)C.push(e);else if("point"===e.type)C.push(w(e.clone(),p,d));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map(t=>w(t,p,d)),C.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,o);C.push(t.rings?new a.A(t):t)}else if(e.extent){const t=e.extent,n=(0,u.kd)(t.xmin,d)*(2*p);let s=0===n?e.clone():(0,u.kS)(e.clone(),n);t.offset(n,0);let{xmin:i,xmax:r}=t;i=Number(i.toFixed(9)),r=Number(r.toFixed(9)),t.intersects(x)&&r!==p?(A=r>A?r:A,s=b(s,h),B.push(s),C.push("cut")):t.intersects(P)&&i!==d?(A=r*(2*p)>A?r*(2*p):A,s=b(s,h,360),B.push(s),C.push("cut")):C.push(s)}else C.push(e.clone());else C.push(e);else C.push(e);let D=(0,u.kd)(A,p),O=-90;const z=D,L=new c.A;for(;D>0;){const t=360*D-180;L.addPath([[t,O],[t,-1*O]]),O*=-1,D--}if(B.length>0&&z>0){const e=R(B,await async function(t,e,n,s){const i=(0,y.Dl)(t),r=e[0].spatialReference,o={...s,responseType:"json",query:{...i.query,f:"json",sr:(0,l.YX)(r),target:JSON.stringify({geometryType:(0,g.$B)(e[0]),geometries:e}),cutter:JSON.stringify(n)}},a=await(0,m.A)(i.path+"/cut",o),{cutIndexes:c,geometries:h=[]}=a.data;return{cutIndexes:c,geometries:h.map(t=>{const e=(0,S.rS)(t);return e.spatialReference=r,e})}}(i,B,L,n)),s=[],r=[];for(let n=0;n<C.length;n++){const i=C[n];if("cut"!==i)r.push(i);else{const i=e.shift(),o=t[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&i.rings.length>=o.rings.length?(s.push(i),r.push("simplify")):r.push(h?(0,f.Gh)(i):i)}}if(!s.length)return r;const o=await async function(t,e,n){const s="string"==typeof t?(0,M.An)(t):t,i=e[0].spatialReference,r=(0,g.$B)(e[0]),o={...n,query:{...s.query,f:"json",sr:(0,l.YX)(i),geometries:JSON.stringify((0,v.X)(e))}},{data:a}=await(0,m.A)(s.path+"/simplify",o);return(0,v.V)(a.geometries,r,i)}(i,s,n),a=[];for(let t=0;t<r.length;t++){const e=r[t];"simplify"!==e?a.push(e):a.push(h?(0,f.Gh)(o.shift()):o.shift())}return a}const T=[];for(let t=0;t<C.length;t++){const e=C[t];if("cut"!==e)T.push(e);else{const t=B.shift();T.push(!0===h?(0,f.Gh)(t):t)}}return T}function P(t,e,n){const s=(0,l.Vp)(n);if(null==s)return t;const[i,r]=s.valid,o=2*r;let a=0,c=0;e>r?a=Math.ceil(Math.abs(e-r)/o):e<i&&(a=-Math.ceil(Math.abs(e-i)/o)),t>r?c=Math.ceil(Math.abs(t-r)/o):t<i&&(c=-Math.ceil(Math.abs(t-i)/o));let h=t+(a-c)*o;const u=h-e;return u>r?h-=o:u<i&&(h+=o),h}function A(t){const e=(0,l.Vp)(t);if(null==e)return null;const[n,s]=e.valid;return new i.hr(n,s)}const B=A(h.A.WGS84);A(h.A.WebMercator)},80754(t,e,n){n.d(e,{kS:()=>h,kd:()=>c,r8:()=>u});var s=n(82799),i=n(16930),r=n(60408),o=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new s.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new s.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new s.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new s.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function c(t,e){return Math.ceil((t-e)/(2*e))}function h(t,e){if((0,o.Ed)(t))for(const n of function(t){return(0,r.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of n){if((0,o.aO)(t)){const[n,s]=t.c;n[0]+=e,s[0]+=e;continue}if((0,o.FG)(t)){const[n,s]=t.a;n[0]+=e,s[0]+=e;continue}if((0,o.n1)(t)){const[n,s,i]=t.b;n[0]+=e,s[0]+=e,i[0]+=e;continue}t[0]+=e}for(const n of u(t))for(const t of n)t[0]+=e;return t}function u(t){return(0,r.Bi)(t)?t.rings:t.paths}n.d(e,["j7",0,a])},38969(t,e,n){n.d(e,{i:()=>i});var s=n(37955);function i(t,e){return new Promise((n,i)=>{t.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?n():(e((0,s.Oo)(t,"canplay",n)),e((0,s.Oo)(t,"error",i)))})}},92300(t,e,n){n.d(e,{V:()=>o,X:()=>r});var s=n(60408),i=n(65864);function r(t){return{geometryType:(0,s.$B)(t[0]),geometries:t.map(t=>t.toJSON())}}function o(t,e,n){const s=(0,i.xD)(e);return t.map(t=>{const e=s.fromJSON(t);return e.spatialReference=n,e})}}}]);