@arcgis/core 5.2.0-next.80 → 5.2.0-next.81

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 (464) hide show
  1. package/applications/Components/imageryUtils.d.ts +5 -3
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/004966b5bf60a8a80b8c.js +1 -0
  4. package/assets/esri/core/workers/chunks/03cf74b2e488eb144ad5.js +1 -0
  5. package/assets/esri/core/workers/chunks/055802283f7e01ee87fb.js +1 -0
  6. package/assets/esri/core/workers/chunks/06df9ce870360cda06c7.js +1 -0
  7. package/assets/esri/core/workers/chunks/{08ec5461af74356e7570.js → 075eb62465edb9cbf907.js} +1 -1
  8. package/assets/esri/core/workers/chunks/09f0805b32e6cab980e6.js +1 -0
  9. package/assets/esri/core/workers/chunks/{5fe9eea35ddb428efd8b.js → 0b26c01a1190e8fd63fb.js} +1 -1
  10. package/assets/esri/core/workers/chunks/0fd7590e545864f5fff4.js +1 -0
  11. package/assets/esri/core/workers/chunks/{b9d1bb106737a05290e1.js → 104d74bc36c28c519396.js} +1 -1
  12. package/assets/esri/core/workers/chunks/14be79c4cc6137c7db95.js +1 -0
  13. package/assets/esri/core/workers/chunks/{ef47a5da641cb0d33fdf.js → 197a6d561f77ac74283a.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{e4e5a171a4874c5af4a4.js → 1a7d2912c8eac8c83c70.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{b9c61b20bbc91cb63036.js → 1c3861297f65ee1ca5d0.js} +1 -1
  16. package/assets/esri/core/workers/chunks/1d1cfe0bee506d34268e.js +1 -0
  17. package/assets/esri/core/workers/chunks/1ed6a8bb415999c4e8a6.js +1 -0
  18. package/assets/esri/core/workers/chunks/2161cf64601f28bbe72d.js +1 -0
  19. package/assets/esri/core/workers/chunks/218ddad849745d652a28.js +1 -0
  20. package/assets/esri/core/workers/chunks/{5b70295da76d9227f64b.js → 22c477147421e68f7f00.js} +1 -1
  21. package/assets/esri/core/workers/chunks/24944b625ed8dcd904f0.js +1 -0
  22. package/assets/esri/core/workers/chunks/25696c194457e42b3bdc.js +1 -0
  23. package/assets/esri/core/workers/chunks/25f6d5604a7959afd5a5.js +1 -0
  24. package/assets/esri/core/workers/chunks/{c1e5ffe9a251be5a0744.js → 278760d194203dd27fc3.js} +1 -1
  25. package/assets/esri/core/workers/chunks/28b576663ed4570ec825.js +1 -0
  26. package/assets/esri/core/workers/chunks/{841c81c280114412c95b.js → 2a4c91b006de1ceba539.js} +1 -1
  27. package/assets/esri/core/workers/chunks/2b299aec2a758bcd9731.js +1 -0
  28. package/assets/esri/core/workers/chunks/2b79b376b0d60d2f0d5c.js +1 -0
  29. package/assets/esri/core/workers/chunks/{b084829a3fd709dc47a8.js → 2d683ac4a993ec5fd6f6.js} +1 -1
  30. package/assets/esri/core/workers/chunks/2f3525df00fb265661fc.js +1 -0
  31. package/assets/esri/core/workers/chunks/{a8ec5b85c2fa6fb4f391.js → 30b40ee875d46e6fde02.js} +1 -1
  32. package/assets/esri/core/workers/chunks/31b3744f71750e512d4e.js +1 -0
  33. package/assets/esri/core/workers/chunks/3239c7994019f15e261d.js +1 -0
  34. package/assets/esri/core/workers/chunks/{d520d407043bc52e5410.js → 3336ad383c184dd07bb3.js} +1 -1
  35. package/assets/esri/core/workers/chunks/36265e5f6d396eadf0be.js +1 -0
  36. package/assets/esri/core/workers/chunks/{0ae0483b72f5e8d00d55.js → 3715d6b295016eeb5031.js} +1 -1
  37. package/assets/esri/core/workers/chunks/37a121316d114999ac70.js +1 -0
  38. package/assets/esri/core/workers/chunks/37fb38db03cb39e3c342.js +1 -0
  39. package/assets/esri/core/workers/chunks/3851ebf3548e2763b24f.js +1 -0
  40. package/assets/esri/core/workers/chunks/{9230ad807020fc2bbf8e.js → 388b71211a0ad5cbd6b9.js} +1 -1
  41. package/assets/esri/core/workers/chunks/3a4b117af89dab5153eb.js +1 -0
  42. package/assets/esri/core/workers/chunks/3a9ef47122e10cecd3a4.js +1 -0
  43. package/assets/esri/core/workers/chunks/3adba34224cba869a39c.js +1 -0
  44. package/assets/esri/core/workers/chunks/40b842d055b87e442156.js +1 -0
  45. package/assets/esri/core/workers/chunks/40ebe69b08ea54e0e780.js +1 -0
  46. package/assets/esri/core/workers/chunks/{c37b28f200b704ae6002.js → 4239d64f067417e0643c.js} +1 -1
  47. package/assets/esri/core/workers/chunks/453c69879f4b82ba13a1.js +1 -0
  48. package/assets/esri/core/workers/chunks/{bd88228f781a0399d8bd.js → 49e37f653b81f9e4f7cc.js} +1 -1
  49. package/assets/esri/core/workers/chunks/4a537054c99cbc492715.js +1 -0
  50. package/assets/esri/core/workers/chunks/4a6158994a8cc8b8664f.js +1 -0
  51. package/assets/esri/core/workers/chunks/4c15551e33a3c6cda61d.js +1 -0
  52. package/assets/esri/core/workers/chunks/4c5200e22b8a723f53f9.js +1 -0
  53. package/assets/esri/core/workers/chunks/{2bcb7e43578124538c3c.js → 4d672110aee304692f60.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{fb12d3c63fcac8391e06.js → 4eaa93859ceec1b38530.js} +1 -1
  55. package/assets/esri/core/workers/chunks/4f36596280142be1c666.js +1 -0
  56. package/assets/esri/core/workers/chunks/50e6e43ea98cb0d05d91.js +1 -0
  57. package/assets/esri/core/workers/chunks/{8e374ce47256a567ae11.js → 519745cf844c76452a46.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{3b14ed3184743df336a6.js → 53d80202b5f43542d45b.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{345510a95e893fa8040a.js → 540a3685e614bb006744.js} +1 -1
  60. package/assets/esri/core/workers/chunks/54524cc4328f31d8c25d.js +1 -0
  61. package/assets/esri/core/workers/chunks/5515005e8893bd551aaf.js +1 -0
  62. package/assets/esri/core/workers/chunks/{eee1fd629619021ea279.js → 56a6c7abfb4d88ea1bb5.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{24729603dcdbd95fd01e.js → 578904043e873424904c.js} +1 -1
  64. package/assets/esri/core/workers/chunks/58d10928959ae1e2e8d9.js +1 -0
  65. package/assets/esri/core/workers/chunks/59f0a2bd40b033ce77e4.js +1 -0
  66. package/assets/esri/core/workers/chunks/5a67bd724aa7fcdebe16.js +1 -0
  67. package/assets/esri/core/workers/chunks/{087bd698b80ca0cea71e.js → 5aadfd11df6618883c5d.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{1f888f026b004447772c.js → 5c9a398e659ecd427fb5.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{e421dee5d8b030e79ffb.js → 5d50a030bf9f4e94f69d.js} +1 -1
  70. package/assets/esri/core/workers/chunks/6065caa7981cef255277.js +1 -0
  71. package/assets/esri/core/workers/chunks/61190c833791f0833a39.js +1 -0
  72. package/assets/esri/core/workers/chunks/61312d3b5477ed9d87d9.js +2 -0
  73. package/assets/esri/core/workers/chunks/61f230e50787abbfc8ba.js +1 -0
  74. package/assets/esri/core/workers/chunks/6270acb7545be2c5126f.js +1 -0
  75. package/assets/esri/core/workers/chunks/{f3bbebedad51f776bb98.js → 62992c3d98c20f611b7b.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{ac87be2210f868524996.js → 629f60ee49e0dcfb7165.js} +1 -1
  77. package/assets/esri/core/workers/chunks/645d5db85f84b1f19b59.js +1 -0
  78. package/assets/esri/core/workers/chunks/{913fb883455aeac8582b.js → 694216224d5fd3a8956d.js} +1 -1
  79. package/assets/esri/core/workers/chunks/6c372d85b5783dd2a793.js +1 -0
  80. package/assets/esri/core/workers/chunks/{702b2381acf4d1f90094.js → 6f08c8a1e8e3ffd0a96a.js} +1 -1
  81. package/assets/esri/core/workers/chunks/6f4ee60e89d154e7b1c4.js +1 -0
  82. package/assets/esri/core/workers/chunks/{c29df43817278f674707.js → 7028671ffdaafe2725bc.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{40693ee558a1eb1e93f4.js → 70c371c9f133ab9f7925.js} +1 -1
  84. package/assets/esri/core/workers/chunks/7230d74ef720431cc75e.js +1 -0
  85. package/assets/esri/core/workers/chunks/73a8a3baf0fed803ef4f.js +1 -0
  86. package/assets/esri/core/workers/chunks/74cd17aca5f7e0caac90.js +1 -0
  87. package/assets/esri/core/workers/chunks/{4d7a3b3aaf876da0891b.js → 76e6d894c33221369895.js} +1 -1
  88. package/assets/esri/core/workers/chunks/7833a82d5bac2aed565e.js +1 -0
  89. package/assets/esri/core/workers/chunks/7a05f5b0848dd11d2f4f.js +1 -0
  90. package/assets/esri/core/workers/chunks/{4c82f5f23004f905a18f.js → 7b605ed92e65083da35f.js} +1 -1
  91. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +1 -0
  92. package/assets/esri/core/workers/chunks/{67ebde34377f98d17cda.js → 8006ffa263fb8016afdb.js} +1 -1
  93. package/assets/esri/core/workers/chunks/809349086117f199b7a5.js +1 -0
  94. package/assets/esri/core/workers/chunks/82da6d98bd4980a3d454.js +1 -0
  95. package/assets/esri/core/workers/chunks/82e62a54b350e7a325f7.js +1 -0
  96. package/assets/esri/core/workers/chunks/836c458a7eb96391cfda.js +1 -0
  97. package/assets/esri/core/workers/chunks/851a5a0262dc8dcb67eb.js +1 -0
  98. package/assets/esri/core/workers/chunks/856dba96332509fb1d7a.js +2 -0
  99. package/assets/esri/core/workers/chunks/{d7b6985984071e78c764.js → 86035e46777ed896c658.js} +1 -1
  100. package/assets/esri/core/workers/chunks/88d6a7ebded4d359deb0.js +1 -0
  101. package/assets/esri/core/workers/chunks/{38660a8cc3623c854d88.js → 89df303abcbc0167e4d2.js} +1 -1
  102. package/assets/esri/core/workers/chunks/8cfe817299eb16cb2664.js +1 -0
  103. package/assets/esri/core/workers/chunks/8d16d53643dd8d489c25.js +1 -0
  104. package/assets/esri/core/workers/chunks/{619aa1381296172ff47b.js → 8e19b2ce9868a9a08da0.js} +1 -1
  105. package/assets/esri/core/workers/chunks/8ea28a4b1afe8bb2d313.js +1 -0
  106. package/assets/esri/core/workers/chunks/8fff4a41a54d39db470a.js +1 -0
  107. package/assets/esri/core/workers/chunks/{fe71a0604f0928113419.js → 958e161634b5bfd50625.js} +1 -1
  108. package/assets/esri/core/workers/chunks/95b9eaf7a49eeb17e62f.js +1 -0
  109. package/assets/esri/core/workers/chunks/95ff342e5c29bf91a765.js +1 -0
  110. package/assets/esri/core/workers/chunks/97162bbbedb02e42d0b8.js +1 -0
  111. package/assets/esri/core/workers/chunks/973440553c9e058b0132.js +1 -0
  112. package/assets/esri/core/workers/chunks/{680dd7b7638465eb33de.js → 98739b6e7904045edbab.js} +1 -1
  113. package/assets/esri/core/workers/chunks/9a5894e8ebdf0e97b98f.js +1 -0
  114. package/assets/esri/core/workers/chunks/9aa41d098eeda01ded3a.js +1 -0
  115. package/assets/esri/core/workers/chunks/9bd4cda90daf90189bfc.js +1 -0
  116. package/assets/esri/core/workers/chunks/{315031323e11a18154e3.js → 9c04233d18a9585b5bfe.js} +1 -1
  117. package/assets/esri/core/workers/chunks/9c17bfbfc347ac289b6e.js +1 -0
  118. package/assets/esri/core/workers/chunks/9c7afe90495766bba37f.js +1 -0
  119. package/assets/esri/core/workers/chunks/{69b9a327f23e052fced7.js → 9d5d7289a9e23efc7f73.js} +1 -1
  120. package/assets/esri/core/workers/chunks/9e49a6ce4a133476092f.js +1 -0
  121. package/assets/esri/core/workers/chunks/9e840a71906c4deef776.js +1 -0
  122. package/assets/esri/core/workers/chunks/a1bf2111fee455b16e6a.js +29 -0
  123. package/assets/esri/core/workers/chunks/{910c93bbbf8113a4a51f.js → a2a231a671ff578b7b01.js} +1 -1
  124. package/assets/esri/core/workers/chunks/{e9e4b27ba06a29e6340c.js → a3cbd3e983e21f40b253.js} +1 -1
  125. package/assets/esri/core/workers/chunks/{16929524565a677db4dc.js → a406a41a2f117247f1ef.js} +1 -1
  126. package/assets/esri/core/workers/chunks/a4b63162615a485b08dc.js +1 -0
  127. package/assets/esri/core/workers/chunks/a9e944f28bd573c8230d.js +1 -0
  128. package/assets/esri/core/workers/chunks/{6c982779d6d47ec99899.js → b0a9a770b735440846cd.js} +1 -1
  129. package/assets/esri/core/workers/chunks/b2d6fd436981c890152f.js +1 -0
  130. package/assets/esri/core/workers/chunks/b3034fbcbe77ef9e7c20.js +1 -0
  131. package/assets/esri/core/workers/chunks/b3081c0b037abc49d09b.js +1 -0
  132. package/assets/esri/core/workers/chunks/b4b4fe06364bea9b0750.js +1 -0
  133. package/assets/esri/core/workers/chunks/b661aae7e3ce955a783e.js +1 -0
  134. package/assets/esri/core/workers/chunks/{75fc0b1db8e2e3fd2458.js → b8548eb7680abeaf3cd1.js} +1 -1
  135. package/assets/esri/core/workers/chunks/b9db8d059c2ea39518e7.js +1 -0
  136. package/assets/esri/core/workers/chunks/ba8777844fef6ed3ac2b.js +1 -0
  137. package/assets/esri/core/workers/chunks/ba99a650ea64f5024185.js +1 -0
  138. package/assets/esri/core/workers/chunks/bbfd2b4af8e498b61af9.js +1 -0
  139. package/assets/esri/core/workers/chunks/{24006cea112d657f053a.js → bc30c0de6dcb106b24a1.js} +1 -1
  140. package/assets/esri/core/workers/chunks/bf5831a7c12b1e42c669.js +1 -0
  141. package/assets/esri/core/workers/chunks/bfac0f47e81055585002.js +1 -0
  142. package/assets/esri/core/workers/chunks/bfd532e33800755b1f48.js +1 -0
  143. package/assets/esri/core/workers/chunks/c30b6bbabd05e4976fba.js +1 -0
  144. package/assets/esri/core/workers/chunks/c336f300fe6100e36592.js +1 -0
  145. package/assets/esri/core/workers/chunks/c5853fbb975e169c44c5.js +1 -0
  146. package/assets/esri/core/workers/chunks/c71368cd64f240da1743.js +1 -0
  147. package/assets/esri/core/workers/chunks/c899457f19b749516275.js +1 -0
  148. package/assets/esri/core/workers/chunks/c9653a15324ca53d50e7.js +1 -0
  149. package/assets/esri/core/workers/chunks/{9937920e7993814d0b2c.js → ca695ab000a1e8765d69.js} +1 -1
  150. package/assets/esri/core/workers/chunks/{b792857a178da2dd77d6.js → cc419e1c5c1dee7ec972.js} +1 -1
  151. package/assets/esri/core/workers/chunks/{2ce845c990bb4d701362.js → cc817c9d3f8e8f8c56e4.js} +1 -1
  152. package/assets/esri/core/workers/chunks/ce81f29134ab3971bd54.js +1 -0
  153. package/assets/esri/core/workers/chunks/cf6799fd008d0d7016f7.js +1 -0
  154. package/assets/esri/core/workers/chunks/cfcb258b7e464f219434.js +1 -0
  155. package/assets/esri/core/workers/chunks/d0aaa4ad7f76f577f117.js +1 -0
  156. package/assets/esri/core/workers/chunks/{ac59218847e5ef4c4160.js → d0e00f0bb7b9435e170d.js} +1 -1
  157. package/assets/esri/core/workers/chunks/{33e293836f5d28dc5d62.js → d13eeff678972a245d5d.js} +1 -1
  158. package/assets/esri/core/workers/chunks/d1aa87d846a884492b47.js +1 -0
  159. package/assets/esri/core/workers/chunks/{7529c0fcfb83998e63db.js → d1baf17f3219f70106f7.js} +1 -1
  160. package/assets/esri/core/workers/chunks/{2b3f76e03b7a28fc4453.js → d2448e26e19005ef9ab2.js} +1 -1
  161. package/assets/esri/core/workers/chunks/{0179949495c87466b428.js → d3a183d90f1ccc8da2bb.js} +10 -10
  162. package/assets/esri/core/workers/chunks/d433bfa2abf2ca8239ba.js +1 -0
  163. package/assets/esri/core/workers/chunks/d4b78d11a5ce4320a29a.js +1 -0
  164. package/assets/esri/core/workers/chunks/d4cc8eef64b8c84217a5.js +1 -0
  165. package/assets/esri/core/workers/chunks/d62a5a33a24418a3e283.js +1 -0
  166. package/assets/esri/core/workers/chunks/{2740f755c3a322cbd477.js → d672c2a1c8eddd235171.js} +1 -1
  167. package/assets/esri/core/workers/chunks/d845f2115848b56c0369.js +1 -0
  168. package/assets/esri/core/workers/chunks/d8b38c196b06e801c4e6.js +1 -0
  169. package/assets/esri/core/workers/chunks/da6134c7883531f21afe.js +1 -0
  170. package/assets/esri/core/workers/chunks/dbc36b85413fae52b56d.js +1 -0
  171. package/assets/esri/core/workers/chunks/{cada52d719c35d40958a.js → dbca32f0e0c2c2e2ccf3.js} +1 -1
  172. package/assets/esri/core/workers/chunks/dcec7fc66385c12ecdf0.js +1 -0
  173. package/assets/esri/core/workers/chunks/dd9af4ddefa0b998aa4b.js +1 -0
  174. package/assets/esri/core/workers/chunks/e2473de49189d93714d3.js +1 -0
  175. package/assets/esri/core/workers/chunks/e2ceddd6bcdabec77cc7.js +1 -0
  176. package/assets/esri/core/workers/chunks/e3eab61815ef1c521a6c.js +1 -0
  177. package/assets/esri/core/workers/chunks/e63f94c8097555b266ad.js +2 -0
  178. package/assets/esri/core/workers/chunks/e72fa08b0bd324514a0e.js +1 -0
  179. package/assets/esri/core/workers/chunks/e8a9a686a3c23afc9d1f.js +1 -0
  180. package/assets/esri/core/workers/chunks/eca0736953a20cfc64ad.js +2 -0
  181. package/assets/esri/core/workers/chunks/efaa455beeefbf97a4c5.js +1 -0
  182. package/assets/esri/core/workers/chunks/efd176c5ac35f313e7a2.js +1 -0
  183. package/assets/esri/core/workers/chunks/f16b6cd6b325eb600e82.js +1 -0
  184. package/assets/esri/core/workers/chunks/f1d0208c6b09c1c4b248.js +1 -0
  185. package/assets/esri/core/workers/chunks/f1fa377e8fa53b02876f.js +1 -0
  186. package/assets/esri/core/workers/chunks/f2d99f693a590f384315.js +1 -0
  187. package/assets/esri/core/workers/chunks/f57e5e7d0748d9a370f7.js +1 -0
  188. package/assets/esri/core/workers/chunks/f71a3fe5f30aa782193a.js +1 -0
  189. package/assets/esri/core/workers/chunks/{b9bdb1f05e904c3655e4.js → f834aa732c3f06525089.js} +1 -1
  190. package/assets/esri/core/workers/chunks/f9e9e79f78be32e5d475.js +1 -0
  191. package/assets/esri/core/workers/chunks/fa7a6906598d1002abfd.js +1 -0
  192. package/assets/esri/core/workers/chunks/{ebb722118a220c92efc3.js → fae32c9ce811934b6a64.js} +1 -1
  193. package/assets/esri/core/workers/chunks/fb86b334bfca4670dcfa.js +1 -0
  194. package/assets/esri/core/workers/chunks/fbb0b2f4ec0ba458ddeb.js +1 -0
  195. package/assets/esri/core/workers/chunks/{2d1ae18a28491b00091d.js → fbcc346fa603d6edac98.js} +1 -1
  196. package/assets/esri/core/workers/chunks/{1ef28d4457c8c943ad19.js → fbede01a363895b6381f.js} +1 -1
  197. package/assets/esri/core/workers/chunks/{073f1d5f89875c6aefb1.js → fc1aeea22f8c9d63864a.js} +1 -1
  198. package/assets/esri/core/workers/chunks/fc2234e0d202631f3abf.js +2 -0
  199. package/assets/esri/core/workers/chunks/fcb943c3b31b1bf62e65.js +2 -0
  200. package/assets/esri/core/workers/chunks/{8a3289e15e0ce92e3813.js → fe335441ea233cb0fad5.js} +1 -1
  201. package/assets/esri/core/workers/chunks/ffe2cbfea38b92a231d6.js +1 -0
  202. package/chunks/Bufferer-CclWhXVb.js +1 -1
  203. package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
  204. package/chunks/EmissionComposite.glsl.js +1 -1
  205. package/chunks/Envelope.js +1 -1
  206. package/chunks/GaussianSplat.glsl.js +8 -8
  207. package/chunks/GaussianSplatDepth.glsl.js +4 -4
  208. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
  209. package/chunks/GeodeticUtils.js +1 -1
  210. package/chunks/Geometry.js +1 -1
  211. package/chunks/MultiPathImpl.js +1 -1
  212. package/chunks/OperatorCrosses.js +1 -1
  213. package/chunks/OperatorCut.js +1 -1
  214. package/chunks/OperatorGeodesicBuffer.js +1 -1
  215. package/chunks/OperatorGeodeticArea.js +1 -1
  216. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  217. package/chunks/OperatorGeodeticLength.js +1 -1
  218. package/chunks/OperatorGraphicBuffer.js +1 -1
  219. package/chunks/OperatorIntegrate.js +1 -1
  220. package/chunks/OperatorIntersects.js +1 -1
  221. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  222. package/chunks/OperatorOverlaps.js +1 -1
  223. package/chunks/OperatorProject.js +1 -1
  224. package/chunks/OperatorProximity.js +1 -1
  225. package/chunks/OperatorProximityGeodesic.js +1 -1
  226. package/chunks/OperatorShapePreservingLength.js +1 -1
  227. package/chunks/OperatorShapePreservingProject.js +1 -1
  228. package/chunks/OperatorSimplifyOGC.js +1 -1
  229. package/chunks/OperatorTouches.js +1 -1
  230. package/chunks/OperatorWithin.js +1 -1
  231. package/chunks/Point2D.js +1 -1
  232. package/chunks/ProjectionTransformation.js +1 -1
  233. package/chunks/SideCalculator2D-DX0718xq.js +1 -1
  234. package/chunks/SpatialReference.js +1 -1
  235. package/chunks/UnitFactory.js +2 -0
  236. package/chunks/containsOperator.js +1 -1
  237. package/chunks/disjointOperator.js +1 -1
  238. package/chunks/equalsOperator.js +1 -1
  239. package/chunks/relateOperator.js +1 -1
  240. package/config.js +1 -1
  241. package/geometry/operators/containsOperator.js +1 -1
  242. package/geometry/operators/disjointOperator.js +1 -1
  243. package/geometry/operators/gx/geodeticUtils.js +1 -1
  244. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  245. package/geometry/operators/gx/operatorBuffer.js +1 -1
  246. package/geometry/operators/gx/operatorDifference.js +1 -1
  247. package/geometry/operators/gx/operatorGeodesicBuffer.js +1 -1
  248. package/geometry/operators/gx/operatorGeodeticArea.js +1 -1
  249. package/geometry/operators/gx/operatorGeodeticDensify.js +1 -1
  250. package/geometry/operators/gx/operatorGeodeticDistance.js +1 -1
  251. package/geometry/operators/gx/operatorGeodeticLength.js +1 -1
  252. package/geometry/operators/gx/operatorIntersection.js +1 -1
  253. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  254. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  255. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  256. package/geometry/operators/gx/operatorProject.js +1 -1
  257. package/geometry/operators/gx/operatorProximityGeodesic.js +1 -1
  258. package/geometry/operators/gx/operatorShapePreservingProject.js +1 -1
  259. package/geometry/operators/gx/operatorSimplify.js +1 -1
  260. package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
  261. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  262. package/geometry/operators/gx/operatorUnion.js +1 -1
  263. package/geometry/operators/json/containsOperator.js +1 -1
  264. package/geometry/operators/json/disjointOperator.js +1 -1
  265. package/geometry/operators/projectOperator.js +1 -1
  266. package/geometry/operators/reshapeOperator.js +1 -1
  267. package/geometry/operators/support/geographicTransformationUtils.js +1 -1
  268. package/geometry/operators/support/initNoPeFactory.js +1 -1
  269. package/geometry/operators/support/jsonConverter.js +1 -1
  270. package/geometry/operators/support/projectionTransformation.js +1 -1
  271. package/geometry/projection/projectionUtilsState.js +2 -0
  272. package/geometry/projectionUtils.js +1 -1
  273. package/geometry/support/geometryUtils.js +1 -1
  274. package/kernel.js +1 -1
  275. package/layers/raster/datasets/MRFRaster.js +1 -1
  276. package/layers/raster/formats/JpgPlus.js +1 -1
  277. package/layers/raster/formats/RasterCodec.js +1 -1
  278. package/layers/raster/types.d.ts +65 -0
  279. package/package.json +2 -2
  280. package/support/revision.js +1 -1
  281. package/symbols/cim/cimAnalyzer.js +1 -1
  282. package/symbols/cim/effects/EffectRadial.js +1 -1
  283. package/views/2d/engine/vectorTiles/decluttering/SymbolRepository.js +1 -1
  284. package/views/2d/engine/webgl/mesh/templates/segmentUtils.js +1 -1
  285. package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillMeshWriter.js +1 -1
  286. package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillMeshWriter.js +1 -1
  287. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineMeshWriter.js +1 -1
  288. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
  289. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  290. package/views/3d/GroundView3D.js +1 -1
  291. package/views/3d/layers/I3SMeshView3D.js +1 -1
  292. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  293. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  294. package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
  295. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  296. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  297. package/views/3d/state/controllers/RotateController.js +1 -1
  298. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  299. package/views/3d/state/controllers/ZoomControllerLocal.js +1 -1
  300. package/views/3d/state/controllers/ZoomStepControllerLocal.js +1 -1
  301. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  302. package/views/3d/support/QualityProfile.js +1 -1
  303. package/views/3d/support/QualitySettings.js +1 -1
  304. package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
  305. package/views/3d/terrain/PlanarPatch.js +1 -1
  306. package/views/3d/terrain/Tile.js +1 -1
  307. package/views/3d/webgl-engine/lib/BasisUtil.js +1 -1
  308. package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
  309. package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
  310. package/views/3d/webgl-engine/lib/EmissionCompositeTechnique.js +1 -1
  311. package/views/3d/webgl-engine/lib/GaussianSplatRenderUtils.js +1 -1
  312. package/views/3d/webgl-engine/lib/GaussianSplatRenderer.js +1 -1
  313. package/views/3d/webgl-engine/shaders/GaussianSplatDepthPolicy.js +1 -1
  314. package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +50 -22
  315. package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
  316. package/views/support/GroundElevationSampler.js +1 -1
  317. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  318. package/widgets/BatchAttributeForm/expressions/expressionUtils.js +1 -1
  319. package/widgets/ElevationProfile/ElevationProfileViewModel.js +1 -1
  320. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  321. package/widgets/OrientedImageryViewer/components/ImageLocationViewModel.js +1 -1
  322. package/widgets/OrientedImageryViewer/components/ImageLocationWidget.js +1 -1
  323. package/widgets/OrientedImageryViewer.js +1 -1
  324. package/assets/esri/core/workers/chunks/04105d83556409489835.js +0 -1
  325. package/assets/esri/core/workers/chunks/05b6b2c0b76afb100e33.js +0 -1
  326. package/assets/esri/core/workers/chunks/0909816f13d25cacf250.js +0 -1
  327. package/assets/esri/core/workers/chunks/0933203eee15ea50e123.js +0 -1
  328. package/assets/esri/core/workers/chunks/0b18de5147d76b68896f.js +0 -1
  329. package/assets/esri/core/workers/chunks/0d9d33f29124d464a4cb.js +0 -1
  330. package/assets/esri/core/workers/chunks/0d9fe49812554e7d7ba7.js +0 -1
  331. package/assets/esri/core/workers/chunks/0da5b27b070ab780f8b3.js +0 -1
  332. package/assets/esri/core/workers/chunks/0e333aced8b23aa49a0e.js +0 -1
  333. package/assets/esri/core/workers/chunks/0eaa8265a4cd64297545.js +0 -1
  334. package/assets/esri/core/workers/chunks/1142f8e9c80207d6bdae.js +0 -1
  335. package/assets/esri/core/workers/chunks/118ccfa2d685764752ee.js +0 -1
  336. package/assets/esri/core/workers/chunks/12a64eca4c571926d9d4.js +0 -1
  337. package/assets/esri/core/workers/chunks/1642fa1263d8f4a45101.js +0 -1
  338. package/assets/esri/core/workers/chunks/16a04fc184728d66e6e1.js +0 -1
  339. package/assets/esri/core/workers/chunks/18e0e993c0c39c962e61.js +0 -1
  340. package/assets/esri/core/workers/chunks/19233d0016e5b154c5ce.js +0 -1
  341. package/assets/esri/core/workers/chunks/1a467da4c0b33f655199.js +0 -1
  342. package/assets/esri/core/workers/chunks/1ac8a7a129ba33e05a24.js +0 -1
  343. package/assets/esri/core/workers/chunks/1d92d53186debd52e753.js +0 -1
  344. package/assets/esri/core/workers/chunks/1dba93abe84d30f05d8d.js +0 -1
  345. package/assets/esri/core/workers/chunks/2033e6d42453e4e67048.js +0 -1
  346. package/assets/esri/core/workers/chunks/20b54e7872d967f3be32.js +0 -1
  347. package/assets/esri/core/workers/chunks/2501d9459f6d14c797e5.js +0 -1
  348. package/assets/esri/core/workers/chunks/253c231b5a52f1d2d3a5.js +0 -1
  349. package/assets/esri/core/workers/chunks/257f1e8316877f611e11.js +0 -1
  350. package/assets/esri/core/workers/chunks/28924f31f5ba8ebdc60a.js +0 -1
  351. package/assets/esri/core/workers/chunks/28b09fe50b855a1d8a3f.js +0 -1
  352. package/assets/esri/core/workers/chunks/2b0558c1716425974563.js +0 -2
  353. package/assets/esri/core/workers/chunks/2e7c830b5b1fe406169f.js +0 -1
  354. package/assets/esri/core/workers/chunks/2f4ed8a63d57636a4ebe.js +0 -1
  355. package/assets/esri/core/workers/chunks/393f79843d5a78c1cc37.js +0 -1
  356. package/assets/esri/core/workers/chunks/3958d92c737b3a2a3bc2.js +0 -1
  357. package/assets/esri/core/workers/chunks/3978f00a03e97645b276.js +0 -1
  358. package/assets/esri/core/workers/chunks/3b5c5356353f1a2303a0.js +0 -1
  359. package/assets/esri/core/workers/chunks/40e48b720d89cd067892.js +0 -1
  360. package/assets/esri/core/workers/chunks/436d51b9f1b1b5abc4bc.js +0 -1
  361. package/assets/esri/core/workers/chunks/44a786aba84918f2b247.js +0 -1
  362. package/assets/esri/core/workers/chunks/463747a822499dd933ef.js +0 -1
  363. package/assets/esri/core/workers/chunks/484b251fbcbffcb58323.js +0 -1
  364. package/assets/esri/core/workers/chunks/495f90fe3d0ad32bb82d.js +0 -1
  365. package/assets/esri/core/workers/chunks/49a3888bf9e2481642ac.js +0 -1
  366. package/assets/esri/core/workers/chunks/4ce57dd39075e8fb357c.js +0 -1
  367. package/assets/esri/core/workers/chunks/5459ba8fdeb2370bb52b.js +0 -1
  368. package/assets/esri/core/workers/chunks/55924fb0de05e727f5e3.js +0 -1
  369. package/assets/esri/core/workers/chunks/55dda957c79fb285185f.js +0 -1
  370. package/assets/esri/core/workers/chunks/56e6d8c4a9ed893ce951.js +0 -1
  371. package/assets/esri/core/workers/chunks/57159bcac86d660dcceb.js +0 -1
  372. package/assets/esri/core/workers/chunks/58026fc30d8a0ded4102.js +0 -1
  373. package/assets/esri/core/workers/chunks/5eb29f0068f1c839d05e.js +0 -1
  374. package/assets/esri/core/workers/chunks/5f553da48d0ccbbfcd3c.js +0 -2
  375. package/assets/esri/core/workers/chunks/5fb76575575fe8cfb1f0.js +0 -1
  376. package/assets/esri/core/workers/chunks/6072c63a5da4366e9942.js +0 -1
  377. package/assets/esri/core/workers/chunks/626a715fdec93e188e0c.js +0 -1
  378. package/assets/esri/core/workers/chunks/6525c925bb91facb3575.js +0 -1
  379. package/assets/esri/core/workers/chunks/6529b5cc3ac6baa29fff.js +0 -2
  380. package/assets/esri/core/workers/chunks/65d1e338612e59063eba.js +0 -1
  381. package/assets/esri/core/workers/chunks/66e60351aacbd162775f.js +0 -1
  382. package/assets/esri/core/workers/chunks/694371f51c52a7a94da4.js +0 -1
  383. package/assets/esri/core/workers/chunks/69b0dcd7bcd8ec42e2c3.js +0 -1
  384. package/assets/esri/core/workers/chunks/7260e63252fa5452dc22.js +0 -1
  385. package/assets/esri/core/workers/chunks/72eb0ac55026a4f5d6a7.js +0 -1
  386. package/assets/esri/core/workers/chunks/79429c8be5da85713200.js +0 -1
  387. package/assets/esri/core/workers/chunks/79c0a966f7d11d3c217f.js +0 -1
  388. package/assets/esri/core/workers/chunks/7b470d6ad182548b9e95.js +0 -1
  389. package/assets/esri/core/workers/chunks/7b862a074816c099b9ff.js +0 -1
  390. package/assets/esri/core/workers/chunks/7baa363b3b0a442a63d2.js +0 -1
  391. package/assets/esri/core/workers/chunks/7d8eb4dbea1916320f74.js +0 -1
  392. package/assets/esri/core/workers/chunks/7ddf9b2718dd047f15e6.js +0 -1
  393. package/assets/esri/core/workers/chunks/835af7b4fd92cb4e7af0.js +0 -1
  394. package/assets/esri/core/workers/chunks/8566449c39eba55147f5.js +0 -1
  395. package/assets/esri/core/workers/chunks/864691186c449ca2c3db.js +0 -1
  396. package/assets/esri/core/workers/chunks/88d5541679e77117bf03.js +0 -1
  397. package/assets/esri/core/workers/chunks/88fd698b940dadcc6dc5.js +0 -1
  398. package/assets/esri/core/workers/chunks/894ebc64b698e5d7604b.js +0 -1
  399. package/assets/esri/core/workers/chunks/8be707044d992ef5f1d8.js +0 -1
  400. package/assets/esri/core/workers/chunks/8c1bddc88cc5f4251021.js +0 -1
  401. package/assets/esri/core/workers/chunks/8eecc6df6511c8830f5d.js +0 -1
  402. package/assets/esri/core/workers/chunks/8f0d4aec8bd3cbfefc40.js +0 -1
  403. package/assets/esri/core/workers/chunks/8fea514aada1195c8f30.js +0 -1
  404. package/assets/esri/core/workers/chunks/94bf7f0da6ad3f7ea277.js +0 -1
  405. package/assets/esri/core/workers/chunks/987594539981483a7c5e.js +0 -1
  406. package/assets/esri/core/workers/chunks/995a433936fc90d41634.js +0 -2
  407. package/assets/esri/core/workers/chunks/9bbff8237540409610b3.js +0 -1
  408. package/assets/esri/core/workers/chunks/9e1392a0c608a13ab036.js +0 -1
  409. package/assets/esri/core/workers/chunks/9f1211d2267fb7673c4d.js +0 -1
  410. package/assets/esri/core/workers/chunks/a486d99f9879f94151ba.js +0 -1
  411. package/assets/esri/core/workers/chunks/a50421fe79f264ae3619.js +0 -1
  412. package/assets/esri/core/workers/chunks/a5c115fc53edb52ce1de.js +0 -1
  413. package/assets/esri/core/workers/chunks/a739e617fc461014ad1f.js +0 -1
  414. package/assets/esri/core/workers/chunks/aa21031c8f12ca438eaa.js +0 -1
  415. package/assets/esri/core/workers/chunks/ad27689b231e282b7620.js +0 -1
  416. package/assets/esri/core/workers/chunks/aed16c3e26652960ad3f.js +0 -1
  417. package/assets/esri/core/workers/chunks/af6e8c961fd768fa7be3.js +0 -1
  418. package/assets/esri/core/workers/chunks/b3a1a93c6dc9247cb048.js +0 -1
  419. package/assets/esri/core/workers/chunks/b4abf82b8ac974a55ae1.js +0 -1
  420. package/assets/esri/core/workers/chunks/b8cd81d8fcc78d272130.js +0 -1
  421. package/assets/esri/core/workers/chunks/b9a1046ca2cd0cca5da5.js +0 -1
  422. package/assets/esri/core/workers/chunks/b9d6f89f9b8e9d1bc787.js +0 -1
  423. package/assets/esri/core/workers/chunks/bab5f4b2424b487b87ac.js +0 -1
  424. package/assets/esri/core/workers/chunks/c02b3b8b71205f6ce290.js +0 -1
  425. package/assets/esri/core/workers/chunks/c17dda6fadb8bfad0d51.js +0 -1
  426. package/assets/esri/core/workers/chunks/c21212c356f65244e34e.js +0 -1
  427. package/assets/esri/core/workers/chunks/c374e5d5980db74c4aca.js +0 -1
  428. package/assets/esri/core/workers/chunks/c6bf17b5ff6ec4b980a1.js +0 -1
  429. package/assets/esri/core/workers/chunks/c99dcc17fbd7acd2ad2e.js +0 -1
  430. package/assets/esri/core/workers/chunks/ce481eeb27ea9c1782ae.js +0 -1
  431. package/assets/esri/core/workers/chunks/cec1c87eb3749276ced4.js +0 -1
  432. package/assets/esri/core/workers/chunks/cef02ed3942c010da2e8.js +0 -29
  433. package/assets/esri/core/workers/chunks/cfdbc48f58433a3d5fc3.js +0 -1
  434. package/assets/esri/core/workers/chunks/d456520e4b119a2816b6.js +0 -1
  435. package/assets/esri/core/workers/chunks/d8da31bfe2bc4174e5aa.js +0 -1
  436. package/assets/esri/core/workers/chunks/da1c9257793c2817f40f.js +0 -1
  437. package/assets/esri/core/workers/chunks/dc0c3109b7558b4fe016.js +0 -1
  438. package/assets/esri/core/workers/chunks/ddd8f6154e265dbb6f9f.js +0 -1
  439. package/assets/esri/core/workers/chunks/de601f0d5a2a282d2efd.js +0 -1
  440. package/assets/esri/core/workers/chunks/e227eb44cd139fe2bc1b.js +0 -1
  441. package/assets/esri/core/workers/chunks/e2ddfc96ddba92302e0c.js +0 -1
  442. package/assets/esri/core/workers/chunks/e61ab8ef30bbe788b9d7.js +0 -1
  443. package/assets/esri/core/workers/chunks/e89e6eea380ca2c13b64.js +0 -1
  444. package/assets/esri/core/workers/chunks/e9d352d030dcad1619a6.js +0 -1
  445. package/assets/esri/core/workers/chunks/eb95464bd017fb839510.js +0 -1
  446. package/assets/esri/core/workers/chunks/ed4ac5568dc2815b066d.js +0 -1
  447. package/assets/esri/core/workers/chunks/ed564358cc7b3ee463a3.js +0 -1
  448. package/assets/esri/core/workers/chunks/ee63c693f2539f3bfa17.js +0 -2
  449. package/assets/esri/core/workers/chunks/ef2e0a014c982d9c7ca4.js +0 -1
  450. package/assets/esri/core/workers/chunks/ef9489d1dccb817460bb.js +0 -2
  451. package/assets/esri/core/workers/chunks/f086c6d229fb34a9d7f9.js +0 -1
  452. package/assets/esri/core/workers/chunks/f35e749bb5be39880cbe.js +0 -1
  453. package/assets/esri/core/workers/chunks/f4bc563c71c478d3912f.js +0 -1
  454. package/assets/esri/core/workers/chunks/f6150b51a9430691a040.js +0 -1
  455. package/assets/esri/core/workers/chunks/f6f7d885b4d6080e3f58.js +0 -1
  456. package/assets/esri/core/workers/chunks/f95870bb4d8e4e13e69e.js +0 -1
  457. package/assets/esri/core/workers/chunks/fa59f10ed0f182a2a7f3.js +0 -1
  458. package/assets/esri/core/workers/chunks/fc9065d0cd6285fe0f0d.js +0 -1
  459. /package/assets/esri/core/workers/chunks/{ee63c693f2539f3bfa17.js.LICENSE.txt → 61312d3b5477ed9d87d9.js.LICENSE.txt} +0 -0
  460. /package/assets/esri/core/workers/chunks/{6529b5cc3ac6baa29fff.js.LICENSE.txt → 856dba96332509fb1d7a.js.LICENSE.txt} +0 -0
  461. /package/assets/esri/core/workers/chunks/{995a433936fc90d41634.js.LICENSE.txt → e63f94c8097555b266ad.js.LICENSE.txt} +0 -0
  462. /package/assets/esri/core/workers/chunks/{5f553da48d0ccbbfcd3c.js.LICENSE.txt → eca0736953a20cfc64ad.js.LICENSE.txt} +0 -0
  463. /package/assets/esri/core/workers/chunks/{ef9489d1dccb817460bb.js.LICENSE.txt → fc2234e0d202631f3abf.js.LICENSE.txt} +0 -0
  464. /package/assets/esri/core/workers/chunks/{2b0558c1716425974563.js.LICENSE.txt → fcb943c3b31b1bf62e65.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6783],{69540(e,t,n){var r=n(5482),s=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),a=n(88620),l=n(64108);const h=Symbol("ClonableMixin"),u=e=>{var t;const n=e;let s=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=h}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,s={},l=new Map;for(const t in n){const o=n[t],a=r?.originOf(t),h=o.clonable;if(o.readOnly||!1===h||7!==a&&0!==a&&5!==a&&4!==a)continue;const u=this[t];let c=null;if("function"==typeof h)c=h(u,e);else if("reference"===h)c=u;else if(c=(0,i.TU)(u,e),null!=u&&null==c)continue;0===a?l.set(t,c):s[t]=c}const h=new(0,Object.getPrototypeOf(this).constructor)(s);if(l.size){const e=(0,a.oY)(h)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return h}};return s=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],s),s},c=u(s.A);n.d(t,["OU",0,u,"Pw",0,c])},60999(e,t,n){n.d(t,{DZ:()=>p,Ke:()=>m,Tj:()=>u,UT:()=>y,aD:()=>f,jJ:()=>h});var r=n(5482),s=n(69622),i=n(97768),o=n(17676),a=n(10107),l=n(64108);function h(e,t,n){return(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))}async function u(e,t,n){return(await(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function m(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function p(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function y(e,t){return new g(e,t)}let g=class extends s.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,i.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:n}=this._abortController;this.promise=e(n),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,i.xt)(this._abortHandle),this._abortController=null}};(0,r.Cg)([(0,a.MZ)()],g.prototype,"value",null),(0,r.Cg)([(0,a.MZ)()],g.prototype,"error",null),(0,r.Cg)([(0,a.MZ)()],g.prototype,"finished",null),(0,r.Cg)([(0,a.MZ)()],g.prototype,"promise",void 0),(0,r.Cg)([(0,a.MZ)()],g.prototype,"_result",void 0),g=(0,r.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],g);class f{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,r.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}}},75503(e,t,n){n.d(t,{wq:()=>a});var r=n(4576),s=n(21818),i=(n(44208),n(15142)),o=n(11006);class a{constructor(e=9,t){this._compareMinX=d,this._compareMinY=m,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),v.prune(),C.prune(),b.prune(),M.prune()}all(e){l(this._data,e)}search(e,t){let n=this._data;const r=this._toBBox;if(x(e,n))for(v.clear();n;){for(let s=0,i=n.children.length;s<i;s++){const i=n.children[s],o=n.leaf?r(i):i;x(e,o)&&(n.leaf?t(i):_(e,o)?l(i,t):v.push(i))}n=v.pop()}}collides(e){let t=this._data;const n=this._toBBox;if(!x(e,t))return!1;for(v.clear();t;){for(let r=0,s=t.children.length;r<s;r++){const s=t.children[r],i=t.leaf?n(s):s;if(x(e,i)){if(t.leaf||_(e,i))return!0;v.push(s)}}t=v.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,n=e.length;t<n;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new I([]),this}remove(e){if(!e)return this;let t,n=this._data,i=null,o=0,a=!1;const l=this._toBBox(e);for(b.clear(),M.clear();n||b.length>0;){if(n||(n=b.pop(),i=b.data[b.length-1],o=M.pop()??0,a=!0),n.leaf&&(t=(0,r.qh)(n.children,(0,s.z)(e),n.children.length,n.indexHint),-1!==t))return n.children.splice(t,1),b.push(n),this._condense(b),this;a||n.leaf||!_(n,l)?i?(o++,n=i.children[o],a=!1):n=null:(b.push(n),M.push(o),o=0,i=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,n,r){const s=n-t+1;let i=this._maxEntries;if(s<=i){const r=new I(e.slice(t,n+1));return h(r,this._toBBox),r}r||(r=Math.ceil(Math.log(s)/Math.log(i)),i=Math.ceil(s/i**(r-1)));const o=new R([]);o.height=r;const a=Math.ceil(s/i),l=a*Math.ceil(Math.sqrt(i));w(e,t,n,l,this._compareMinX);for(let s=t;s<=n;s+=l){const t=Math.min(s+l-1,n);w(e,s,t,a,this._compareMinY);for(let n=s;n<=t;n+=a){const s=Math.min(n+a-1,t);o.children.push(this._build(e,n,s,r-1))}}return h(o,this._toBBox),o}_insert(e,t,n){const r=this._toBBox,s=n?e:r(e);b.clear();const i=function(e,t,n,r){for(;r.push(t),!0!==t.leaf&&r.length-1!==n;){let n,r=1/0,s=1/0;for(let i=0,o=t.children.length;i<o;i++){const o=t.children[i],a=p(o),l=g(e,o)-a;l<s?(s=l,r=a<r?a:r,n=o):l===s&&a<r&&(r=a,n=o)}t=n||t.children[0]}return t}(s,this._data,t,b);for(i.children.push(e),c(i,s);t>=0&&b.data[t].children.length>this._maxEntries;)this._split(b,t),t--;!function(e,t,n){for(let r=n;r>=0;r--)c(t.data[r],e)}(s,b,t)}_split(e,t){const n=e.data[t],r=n.children.length,s=this._minEntries;this._chooseSplitAxis(n,s,r);const i=this._chooseSplitIndex(n,s,r);if(!i)return;const o=n.children.splice(i,n.children.length-i),a=n.leaf?new I(o):new R(o);a.height=n.height,h(n,this._toBBox),h(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(n,a)}_splitRoot(e,t){this._data=new R([e,t]),this._data.height=e.height+1,h(this._data,this._toBBox)}_chooseSplitIndex(e,t,n){let r,s,i;r=s=1/0;for(let o=t;o<=n-t;o++){const t=u(e,0,o,this._toBBox),a=u(e,o,n,this._toBBox),l=f(t,a),h=p(t)+p(a);l<r?(r=l,i=o,s=h<s?h:s):l===r&&h<s&&(s=h,i=o)}return i}_chooseSplitAxis(e,t,n){const r=e.leaf?this._compareMinX:d,s=e.leaf?this._compareMinY:m;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,s)&&e.children.sort(r)}_allDistMargin(e,t,n,r){e.children.sort(r);const s=this._toBBox,i=u(e,0,t,s),o=u(e,n-t,n,s);let a=y(i)+y(o);for(let r=t;r<n-t;r++){const t=e.children[r];c(i,e.leaf?s(t):t),a+=y(i)}for(let r=n-t-1;r>=t;r--){const t=e.children[r];c(o,e.leaf?s(t):t),a+=y(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const n=e.data[t];if(0===n.children.length)if(t>0){const s=e.data[t-1],i=s.children;i.splice((0,r.qh)(i,n,i.length,s.indexHint),1)}else this.clear();else h(n,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let n=e;for(C.clear();n;){if(!0===n.leaf)for(const e of n.children)t((0,s.z)(e));else C.pushArray(n.children);n=C.pop()??null}}function h(e,t){u(e,0,e.children.length,t,e)}function u(e,t,n,r,s){s||(s=new I([])),s.minX=1/0,s.minY=1/0,s.maxX=-1/0,s.maxY=-1/0;for(let i,o=t;o<n;o++)i=e.children[o],c(s,e.leaf?r(i):i);return s}function c(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function d(e,t){return e.minX-t.minX}function m(e,t){return e.minY-t.minY}function p(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function y(e){return e.maxX-e.minX+(e.maxY-e.minY)}function g(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function f(e,t){const n=Math.max(e.minX,t.minX),r=Math.max(e.minY,t.minY),s=Math.min(e.maxX,t.maxX),i=Math.min(e.maxY,t.maxY);return Math.max(0,s-n)*Math.max(0,i-r)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function x(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function w(e,t,n,r,s){const i=[t,n];for(;i.length;){const t=i.pop(),n=i.pop();if(t-n<=r)continue;const a=n+Math.ceil((t-n)/r/2)*r;(0,o.q)(e,a,n,t,s),i.push(n,a,a,t)}}const v=new i.A,C=new i.A,b=new i.A,M=new i.A({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class T extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class I extends T{constructor(e){super(),this.children=e,this.leaf=!0}}class R extends T{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,n){n.d(t,{C_:()=>d,on:()=>c,wB:()=>l,z7:()=>h});var r=n(37955),s=n(36563),i=n(97768),o=n(17676),a=n(14012);function l(e,t,n={}){return u(e,t,n,m)}function h(e,t,n={}){return u(e,t,n,p)}function u(e,t,n={},r){let s=null;const o=n.once?(e,n)=>{r(e)&&((0,i.xt)(s),t(e,n))}:(e,n)=>{r(e)&&t(e,n)};if(s=(0,a.Cn)(e,o,n.sync,n.equals),n.initial){const t=e();o(t,t)}return s}function c(e,t,n,o={}){let a=null,h=null,u=null;function c(){a&&h&&(h.remove(),o.onListenerRemove?.(a),a=null,h=null)}function d(e){o.once&&o.once&&(0,i.xt)(u),n(e)}const m=l(e,(e,n)=>{c(),(0,r.wb)(e)&&(a=e,h=(0,r.on)(e,t,d),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return u=(0,s.hA)(()=>{m.remove(),c()}),u}function d(e,t){return function(e,t,n){if((0,o.G4)(n))return Promise.reject((0,o.NK)());const r=e();if(t?.(r))return Promise.resolve(r);let a=null;function l(){a=(0,i.xt)(a)}return new Promise((r,i)=>{a=(0,s.vE)([(0,o.u7)(n,()=>{l(),i((0,o.NK)())}),u(e,e=>{l(),r(e)},{sync:!1,once:!0},t??m)])})}(e,p,t)}function m(e){return!0}function p(e){return!!e}n(80559),n.d(t,["OH",0,{sync:!0},"Vh",0,{initial:!0},"pc",0,{sync:!0,initial:!0}])},88930(e,t,n){n.d(t,{S1:()=>a,lL:()=>h,mi:()=>l,rb:()=>u,t:()=>c});var r=n(97770),s=(n(98623),n(92647));const i=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,o={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function a(e,t,n,i="system"){if("unknown"===n)return e;const o=new s.oh((0,r.wj)(i)),a=s.c9.fromJSDate(e,{zone:o}),l="decades"===n||"centuries"===n?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),a.plus({[l]:t}).toJSDate()}function l(e,t,n="milliseconds"){const r=e.getTime(),s=c(t,n,"milliseconds");return new Date(r+s)}function h(e,t,n="system"){const{unit:i}=t,o=Math.max(1,Math.trunc(t.value)),a=new s.oh((0,r.wj)(n)),l=s.c9.fromJSDate(e,{zone:a}),h=e=>e-e%o;switch(i){case"milliseconds":return l.startOf("second").plus({millisecond:h(l.millisecond)}).toJSDate();case"seconds":return l.startOf("minute").plus({second:h(l.second)}).toJSDate();case"minutes":return l.startOf("hour").plus({minute:h(l.minute)}).toJSDate();case"hours":return l.startOf("day").plus({hour:h(l.hour)}).toJSDate();case"days":return l.startOf("month").plus({day:h(l.day-1)}).toJSDate();case"weeks":{const e=l.startOf("year").startOf("week"),t=Math.floor(l.diff(e,"weeks").weeks);return e.plus({week:h(t)}).toJSDate()}case"months":return l.startOf("year").plus({month:h(l.month-1)}).toJSDate();case"years":case"decades":case"centuries":{const e=l.startOf("year"),t=("decades"===i?10:"centuries"===i?100:1)*o,n=e.year-e.year%t;return e.set({year:n}).toJSDate()}case"unknown":return e}}function u(e){const t=i.exec(e);if(!t)return null;const{hh:n,mm:r,ss:s,ms:a}=t.groups;return Number(n)*o.hours+Number(r)*o.minutes+Number(s||0)*o.seconds+Number(a||0)}function c(e,t,n){return 0===e?0:e*o[t]/o[n]}},48526(e,t,n){n.d(t,{A:()=>g});var r,s=n(5482),i=n(4576),o=n(4718),a=n(91429),l=n(5443),h=n(91075),u=n(86738),c=n(16930),d=n(90634),m=n(47610),p=n(56993),y=n(43937);let g=r=class extends h.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:s}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=c.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:s}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,d.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:s}=this;return new r({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:s})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,n=e.spatialReference;return null!=t==(null!=n)&&!(null!=t&&null!=n&&!t.equals(n))&&(0,i.aI)(this.points,e.points,m.v6)}addPoint(e){return(0,p.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new u.A(n)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,p.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],g.prototype,"points",void 0),(0,s.Cg)([(0,y.K)("points")],g.prototype,"writePoints",null),g=r=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],g),g.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,n){n.d(t,{A:()=>p});var r,s=n(5482),i=n(4718),o=n(91429),a=n(5443),l=n(91075),h=n(86738),u=n(16930),c=n(90634),d=n(56993),m=n(43937);let p=r=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:n,hasZ:r,spatialReference:s}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=u.A.WGS84,{...e,hasM:n,hasZ:r,paths:t,spatialReference:s}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,i.o8)(e)}get extent(){const e=(0,c.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,i.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,n=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const r=[];for(let t=0,n=e.length;t<n;t++)r[t]=e[t].toArray();t[n]=r}else t[n]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new r;return e.spatialReference=this.spatialReference,e.paths=(0,i.o8)(this.paths),e.curvePaths=(0,i.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const n=this.paths[e][t],r=this.hasZ,s=this.hasM;return r&&!s?new h.A(n[0],n[1],n[2],void 0,this.spatialReference):s&&!r?new h.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&s?new h.A(n[0],n[1],n[2],n[3],this.spatialReference):new h.A(n[0],n[1],this.spatialReference)}insertPoint(e,t,n){return this._validateInputs(e,t,!0)?((0,d.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e].splice(t,0,n),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],n=this.spatialReference,r=t.map(e=>new h.A(e,n));return this.notifyChange("paths"),r}removePoint(e,t){if(!this._validateInputs(e,t))return null;const n=new h.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(e,t,n){return this._validateInputs(e,t)?((0,d.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e][t]=n,this.notifyChange("paths"),this):this}_validateInputs(e,t,n=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const r=this.paths[e];if(n&&(t<0||t>r.length))return!1;if(!n&&(t<0||t>=r.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,s.Cg)([(0,m.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,s.Cg)([(0,m.K)("paths")],p.prototype,"writePaths",null),p=r=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},97770(e,t,n){n.d(t,{Ey:()=>P,F8:()=>F,J2:()=>I,Yq:()=>B,_m:()=>R,iS:()=>A,wj:()=>E});var r=n(66552),s=n(73444),i=n(98623),o=n(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},h={timeZone:"UTC"},u={year:"numeric",month:"numeric",day:"numeric"},c={year:"numeric",month:"long",day:"numeric"},d={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},p={hour:"numeric",minute:"numeric"},y={...p,second:"numeric"},g={hourCycle:"h23"},f={...p,...g},_={...y,...g},x={"short-date":u,"short-date-short-time":{...u,...p},"short-date-short-time-24":{...u,...f},"short-date-long-time":{...u,...y},"short-date-long-time-24":{...u,..._},"short-date-le":u,"short-date-le-short-time":{...u,...p},"short-date-le-short-time-24":{...u,...f},"short-date-le-long-time":{...u,...y},"short-date-le-long-time-24":{...u,..._},"long-month-day-year":c,"long-month-day-year-short-time":{...c,...p},"long-month-day-year-short-time-24":{...c,...f},"long-month-day-year-long-time":{...c,...y},"long-month-day-year-long-time-24":{...c,..._},"day-short-month-year":d,"day-short-month-year-short-time":{...d,...p},"day-short-month-year-short-time-24":{...d,...f},"day-short-month-year-long-time":{...d,...y},"day-short-month-year-long-time-24":{...d,..._},"long-date":m,"long-date-short-time":{...m,...p},"long-date-short-time-24":{...m,...f},"long-date-long-time":{...m,...y},"long-date-long-time-24":{...m,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":p,"long-time":y},w=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),v={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},C=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),b=C.find(({type:e})=>"month"===e)?.value.toLowerCase();function M(){const e=(0,s.lR)();return(e&&v[e])??(0,s.QC)()}"mart"!==b&&(v.bs="sr-Latn-CS");let S=new WeakMap;const T=x["short-date-short-time"];function I(e){return x[e]}function R(e){const{dateStyle:t,timeStyle:n,hour12:r,year:s,month:i}=e,o={};return t?o.dateStyle=t:s&&(o.year=s,o.month=i||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function B(e,t=T){return function(e){let t=S.get(e);if(!t){const n=M(),r=E(e.timeZone??"system"),s={...e,timeZone:r};t=new Intl.DateTimeFormat(n,s),S.set(e,t)}return t}(t).format(e)}function A(e,t=T){return B(new Date(e),{...t,...h,...l})}function F(e,t=T){return B(new Date(`1970-01-01T${e}Z`),{...t,...h,...a})}function P(e,t=T){const n=o.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return B(n.toJSDate(),t);const r=0===n.offset?"UTC":t.timeZone,s={...t,timeZone:r};return n.toLocaleString(s,{locale:M()})}function E(e){switch(e){case"system":return i.N;case i.L:return"UTC";default:return e}}(0,s.Ml)(()=>{S=new WeakMap}),n.d(t,["_v",0,w])},73444(e,t,n){n.d(t,{JK:()=>l,Ml:()=>g,QC:()=>c,lR:()=>u,oQ:()=>p});var r=n(36563);let s;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===s&&(s=a()),s}const h=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function u(e=l()){return d(e)?.language}function c(e=l()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=l()){return h.exec(e)?.groups}const m=[];function p(e){return m.push(e),(0,r.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const y=[];function g(e){return y.push(e),(0,r.hA)(()=>y.splice(y.indexOf(e),1))}function f(){const e=a();s!==e&&([...y].forEach(t=>t(e)),s=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",f),o&&new MutationObserver(()=>{f()}).observe(o,{attributeFilter:["lang"]})},6518(e,t,n){n.d(t,{F:()=>a});var r=n(44208),s=n(75503),i=n(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new s.wq(9,(0,r.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((n,r)=>{e[t++]=r}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,i.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,n){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,n)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,n){n.d(t,{A:()=>p});var r=n(4576),s=n(49186),i=n(65529),o=n(53966),a=n(70328),l=n(19419),h=n(90708),u=n(6518),c=n(51441),d=n(37730);const m=(0,a.vt)();class p{constructor(e){this.geometryInfo=e,this._boundsStore=new u.F,this._featuresById=new Map,this._usedMemory=0,this.events=new i.bk,this.featureAdapter=d.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,n,r,s]=this.fullBounds;return{xmin:t,ymin:n,xmax:r,ymax:s,spatialReference:(0,c.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(r.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const n of e){const e=this._boundsStore.get(n.objectId);e&&t((0,a.Jt)(m,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new s.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const n=this._featuresById.get(t);let r;if(n?(e.displayId=n.displayId,r=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);r=(0,h.jQ)(null!=r?r:(0,l.vt)(),e.geometry),null!=r&&this._boundsStore.set(t,r),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new s.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const n=this._featuresById.get(t);if(!n)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0;const{geometry:r,attributes:i}=e;for(const e in i)n.attributes[e]=i[e];return r&&(n.geometry=r,this._boundsStore.set(t,(0,h.jQ)((0,l.vt)(),r)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(n)??0,n}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,n){var r=n(43334);const s={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,n)=>new r.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)};n.d(t,["T",0,s])},33771(e,t,n){n.r(t),n.d(t,{default:()=>w});var r=n(60999),s=n(49186),i=n(53966),o=n(34727),a=n(17676),l=n(67076),h=n(21325),u=n(90708),c=n(83221),d=n(31464),m=n(56390),p=n(85113),y=n(82832),g=n(34322),f=n(95466),_=n(54218);n(98623);const x="esri.layers.WFSLayer";class w{constructor(){this._customParameters=null,this._queryEngine=null,this._supportsPagination=!0}destroy(){this._queryEngine?.destroy(),this._queryEngine=null}async load(e,t={}){const{getFeatureUrl:n,getFeatureOutputFormat:r,fields:i,geometryType:o,featureType:l,maxRecordCount:h,maxTotalRecordCount:u,maxPageCount:p,objectIdField:y,customParameters:_}=e,{spatialReference:x,getFeatureSpatialReference:w}=(0,g.UH)(n,l,e.spatialReference);try{await(0,d.Nk)(w,x)}catch{throw new s.A("unsupported-projection","Projection not supported",{inSpatialReference:w,outSpatialReference:x})}(0,a.Te)(t),this._customParameters=_,this._featureType=l,this._fieldsIndex=f.A.fromLayerJSON({fields:i,dateFieldsTimeReference:i.some(e=>"esriFieldTypeDate"===e.type)?{timeZoneIANA:"UTC"}:null}),this._geometryType=o,this._getFeatureUrl=n,this._getFeatureOutputFormat=r,this._getFeatureSpatialReference=w,this._maxRecordCount=h,this._maxTotalRecordCount=u,this._maxPageCount=p,this._objectIdField=y,this._spatialReference=x;let C=await this._snapshotFeatures(t);if(C.errors.length>0&&(this._supportsPagination=!1,C=await this._snapshotFeatures(t),C.errors.length>0))throw C.errors[0];const b={type:"object-id",fieldName:y};return this._queryEngine=new m.do({fieldsIndex:this._fieldsIndex,geometryType:o,hasM:!1,hasZ:!1,featureIdInfo:b,spatialReference:x,timeInfo:null,featureStore:new c.A({geometryType:o,hasM:!1,hasZ:!1})}),this._queryEngine.featureStore.addMany(C.features),{warnings:v(C),extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async applyEdits(){throw new s.A("wfs-source:editing-not-supported","applyEdits() is not supported on WFSLayer")}async queryFeatures(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQuery(e,t.signal)}async queryFeatureCount(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForCount(e,t.signal)}async queryObjectIds(e={},t={}){return await this._waitSnapshotComplete(),(await this._queryEngine.executeQueryForIds(e,t.signal)).filter(_.Et)}async queryExtent(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForExtent(e,t.signal)}async querySnapping(e,t={}){return await this._waitSnapshotComplete(),await this._queryEngine.executeQueryForSnapping(e,t.signal)}async queryAttributeBins(e,t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeAttributeBinsQuery(e,t.signal)}async refresh(e){return this._customParameters=e.customParameters,this._maxRecordCount=e.maxRecordCount,this._maxTotalRecordCount=e.maxTotalRecordCount,this._maxPageCount=e.maxPageCount,this._snapshotTask?.abort(),this._snapshotTask=(0,r.UT)(e=>this._snapshotFeatures({signal:e})),this._snapshotTask.promise.then(e=>{this._queryEngine.featureStore.clear(),this._queryEngine.featureStore.addMany(e.features);for(const t of v(e))i.A.getLogger(x).warn(new l.A("wfs-layer:refresh-warning",t.message,t.details));e.errors?.length&&i.A.getLogger(x).warn(new l.A("wfs-layer:refresh-error","Refresh completed with errors",{errors:e.errors}))},()=>{this._queryEngine.featureStore.clear()}),await this._waitSnapshotComplete(),{extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async _waitSnapshotComplete(){if(this._snapshotTask&&!this._snapshotTask.finished){try{await this._snapshotTask.promise}catch{}return this._waitSnapshotComplete()}}async _snapshotFeatures(e){const t=e?.signal,n=this._maxTotalRecordCount,r=this._maxPageCount,s=this._supportsPagination&&r>1?await(0,g.E)(this._getFeatureUrl,this._featureType.typeName,{customParameters:this._customParameters,signal:t}):void 0;let i=[];const l=[];if(null==s)try{i=await this._singleQuery(t)}catch(e){(0,a.zf)(e)||l.push(e)}else{const e=Math.min(s,n),h=function*(e,t,n){for(let r=0;r<t;r++)yield e._pageQuery(r,n)}(this,(0,o.qE)(Math.ceil(e/this._maxRecordCount),1,r),t);await Promise.allSettled(Array.from({length:10}).map(()=>async function(e,t,n){let r=e.next();for(;!r.done;){try{const e=await r.value;t.push(...e)}catch(e){(0,a.zf)(e)||n.push(e)}r=e.next()}}(h,i,l)))}return(0,a.Te)(t),{features:i,totalRecordCount:s,maxTotalRecordCount:n,maxPageCount:r,errors:l}}async _singleQuery(e){const t=Number.isFinite(this._maxRecordCount)&&this._maxRecordCount>0?this._maxRecordCount:void 0,n=await(0,g.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,count:t,signal:e});return this._processGeoJSON(n,{signal:e})}async _pageQuery(e,t){const n=e*this._maxRecordCount,r=await(0,g.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,startIndex:n,count:this._maxRecordCount,signal:t});return this._processGeoJSON(r,{startIndex:n,signal:t})}_processGeoJSON(e,t){(0,p.sO)(e,this._getFeatureSpatialReference.wkid);const{startIndex:n,signal:r}=t;(0,a.Te)(r);const s=(0,p.bd)(e,{geometryType:this._geometryType,hasZ:!1,objectIdField:this._objectIdField});if(!(0,h.aI)(this._spatialReference,this._getFeatureSpatialReference))for(const e of s)null!=e.geometry&&(e.geometry=(0,u.Ux)((0,d.Cv)((0,u.zv)(e.geometry,this._geometryType,!1,!1),this._getFeatureSpatialReference,this._spatialReference)));let i=n??1;for(const e of s){const t={};(0,y.MB)(this._fieldsIndex,t,e.attributes,!0),e.attributes=t,null==t[this._objectIdField]&&(e.objectId=t[this._objectIdField]=i++)}return s}}function v(e){const t=[];return null!=e.totalRecordCount&&(e.features.length<e.totalRecordCount&&t.push({name:"wfs-layer:maxRecordCount-too-low",message:`Could only fetch ${e.features.length} of ${e.totalRecordCount} in ${e.maxPageCount} queries. Try increasing the value of WFSLayer.maxRecordCount.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount}}),e.totalRecordCount>e.maxTotalRecordCount&&t.push({name:"wfs-layer:large-dataset",message:`The number of ${e.totalRecordCount} features exceeds the maximum allowed of ${e.maxTotalRecordCount}.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount,maxTotalRecordCount:e.maxTotalRecordCount}})),t}},82832(e,t,n){n.d(t,{$1:()=>_,CR:()=>f,MB:()=>p,Yx:()=>u,bP:()=>d});var r=n(67482),s=n(93146),i=n(60408),o=n(21325),a=n(30524);class l{constructor(e){this.description=e,this.code=null}}class h{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new l(e)}}function u(e){return new h(e)}class c{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function d(e){return new c(e)}const m=new Set;function p(e,t,n,r=!1){m.clear();for(const s in n){const i=e.get(s);if(!i)continue;const o=y(i,n[s]);if(m.add(i.name),i&&(r||i.editable)){const e=(0,a.CJ)(i,o);if(e)return u((0,a.uo)(e,i,o));t[i.name]=o}}for(const t of e.requiredFields??[])if(!m.has(t.name))return u(`missing required field "${t.name}"`);return null}function y(e,t){let n=t;return(0,a.WA)(e)&&"string"==typeof t?n=(0,a.XT)(t):(0,a.yM)(e)&&null!=t&&"string"!=typeof t?n=String(t):(0,a.vE)(e)&&"string"==typeof t&&(n=(0,r._)(t)),(0,a.WX)(n)}const g=(0,s.z)(()=>Promise.all([n.e(9187),n.e(8885),n.e(5756),n.e(3299),n.e(1075)]).then(n.bind(n,3637)));function f(e,t){if(!(0,i.Bi)(e)&&!(0,i.Rg)(e))return e;if(!(0,o.fn)(t))return e;const n=g.module;if(null==n)throw new TypeError("simplify operator not loaded");return n.execute({...e,spatialReference:t})??e}async function _(e,t){!(0,o.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await g.getImportPromise()}n.d(t,["PC",0,{supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}])},39357(e,t,n){n.d(t,{A:()=>a});var r,s=n(5482),i=n(25482),o=n(91429);let a=r=class extends i.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,s.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=r=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,n){n.d(t,{A:()=>u});var r,s=n(5482),i=n(4718),o=n(91429),a=n(39357),l=n(76357),h=n(93223);let u=class extends l.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,i.o8)(this.codedValues),name:this.name})}};(0,s.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],u.prototype,"codedValues",void 0),(0,s.Cg)([(0,h.e)({codedValue:"coded-value"})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],u)},76357(e,t,n){n.d(t,{A:()=>h});var r=n(5482),s=n(66552),i=n(25482),o=n(91429),a=n(93223);const l=new s.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let h=class extends i.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,r.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),h=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],h)},20437(e,t,n){n.d(t,{A:()=>p});var r,s=n(5482),i=n(66552),o=n(25482),a=n(91429),l=n(56507),h=n(8631),u=n(98453),c=n(36005),d=n(93223);const m=new i.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let p=class extends o.o{static{r=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?m.fromJSON(n.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"alias",void 0),(0,s.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],p.prototype,"defaultValue",void 0),(0,s.Cg)([(0,a.MZ)()],p.prototype,"description",void 0),(0,s.Cg)([(0,c.w)("description")],p.prototype,"readDescription",null),(0,s.Cg)([(0,a.MZ)({types:h.g,json:{read:{reader:h.r},write:!0}})],p.prototype,"domain",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"editable",void 0),(0,s.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],p.prototype,"length",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"nullable",void 0),(0,s.Cg)([(0,d.e)(u.m)],p.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)()],p.prototype,"valueType",void 0),(0,s.Cg)([(0,c.w)("valueType",["description"])],p.prototype,"readValueType",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],p.prototype,"visible",void 0),p=r=(0,s.Cg)([(0,a.$K)("esri.layers.support.Field")],p)},41628(e,t,n){n.d(t,{A:()=>l});var r,s=n(5482),i=n(91429),o=n(76357),a=n(93223);let l=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s.Cg)([(0,i.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,s.Cg)([(0,i.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,s.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=r=(0,s.Cg)([(0,i.$K)("esri.layers.support.RangeDomain")],l)},8631(e,t,n){n.d(t,{r:()=>d,g:()=>c});var r,s=n(53177),i=n(76357),o=n(5482),a=n(91429),l=n(93223);let h=class extends i.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],h.prototype,"type",void 0),h=r=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],h);var u=n(41628);const c={key:"type",base:i.A,typeMap:{range:u.A,"coded-value":s.A,inherited:h}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return u.A.fromJSON(e);case"codedValue":return s.A.fromJSON(e);case"inherited":return h.fromJSON(e)}return null}},98453(e,t,n){const r=new(n(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});n.d(t,["m",0,r])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6783],{69540(e,t,n){var r=n(5482),s=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),a=n(88620),l=n(64108);const h=Symbol("ClonableMixin"),u=e=>{var t;const n=e;let s=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=h}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,s={},l=new Map;for(const t in n){const o=n[t],a=r?.originOf(t),h=o.clonable;if(o.readOnly||!1===h||7!==a&&0!==a&&5!==a&&4!==a)continue;const u=this[t];let c=null;if("function"==typeof h)c=h(u,e);else if("reference"===h)c=u;else if(c=(0,i.TU)(u,e),null!=u&&null==c)continue;0===a?l.set(t,c):s[t]=c}const h=new(0,Object.getPrototypeOf(this).constructor)(s);if(l.size){const e=(0,a.oY)(h)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return h}};return s=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],s),s},c=u(s.A);n.d(t,["OU",0,u,"Pw",0,c])},60999(e,t,n){n.d(t,{DZ:()=>p,Ke:()=>m,Tj:()=>u,UT:()=>y,aD:()=>f,jJ:()=>h});var r=n(5482),s=n(69622),i=n(97768),o=n(17676),a=n(10107),l=n(64108);function h(e,t,n){return(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))}async function u(e,t,n){return(await(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function m(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function p(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function y(e,t){return new g(e,t)}let g=class extends s.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,i.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:n}=this._abortController;this.promise=e(n),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,i.xt)(this._abortHandle),this._abortController=null}};(0,r.Cg)([(0,a.MZ)()],g.prototype,"value",null),(0,r.Cg)([(0,a.MZ)()],g.prototype,"error",null),(0,r.Cg)([(0,a.MZ)()],g.prototype,"finished",null),(0,r.Cg)([(0,a.MZ)()],g.prototype,"promise",void 0),(0,r.Cg)([(0,a.MZ)()],g.prototype,"_result",void 0),g=(0,r.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],g);class f{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,r.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}}},75503(e,t,n){n.d(t,{wq:()=>a});var r=n(4576),s=n(21818),i=(n(44208),n(15142)),o=n(11006);class a{constructor(e=9,t){this._compareMinX=d,this._compareMinY=m,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),v.prune(),C.prune(),b.prune(),M.prune()}all(e){l(this._data,e)}search(e,t){let n=this._data;const r=this._toBBox;if(x(e,n))for(v.clear();n;){for(let s=0,i=n.children.length;s<i;s++){const i=n.children[s],o=n.leaf?r(i):i;x(e,o)&&(n.leaf?t(i):_(e,o)?l(i,t):v.push(i))}n=v.pop()}}collides(e){let t=this._data;const n=this._toBBox;if(!x(e,t))return!1;for(v.clear();t;){for(let r=0,s=t.children.length;r<s;r++){const s=t.children[r],i=t.leaf?n(s):s;if(x(e,i)){if(t.leaf||_(e,i))return!0;v.push(s)}}t=v.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,n=e.length;t<n;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new I([]),this}remove(e){if(!e)return this;let t,n=this._data,i=null,o=0,a=!1;const l=this._toBBox(e);for(b.clear(),M.clear();n||b.length>0;){if(n||(n=b.pop(),i=b.data[b.length-1],o=M.pop()??0,a=!0),n.leaf&&(t=(0,r.qh)(n.children,(0,s.z)(e),n.children.length,n.indexHint),-1!==t))return n.children.splice(t,1),b.push(n),this._condense(b),this;a||n.leaf||!_(n,l)?i?(o++,n=i.children[o],a=!1):n=null:(b.push(n),M.push(o),o=0,i=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,n,r){const s=n-t+1;let i=this._maxEntries;if(s<=i){const r=new I(e.slice(t,n+1));return h(r,this._toBBox),r}r||(r=Math.ceil(Math.log(s)/Math.log(i)),i=Math.ceil(s/i**(r-1)));const o=new R([]);o.height=r;const a=Math.ceil(s/i),l=a*Math.ceil(Math.sqrt(i));w(e,t,n,l,this._compareMinX);for(let s=t;s<=n;s+=l){const t=Math.min(s+l-1,n);w(e,s,t,a,this._compareMinY);for(let n=s;n<=t;n+=a){const s=Math.min(n+a-1,t);o.children.push(this._build(e,n,s,r-1))}}return h(o,this._toBBox),o}_insert(e,t,n){const r=this._toBBox,s=n?e:r(e);b.clear();const i=function(e,t,n,r){for(;r.push(t),!0!==t.leaf&&r.length-1!==n;){let n,r=1/0,s=1/0;for(let i=0,o=t.children.length;i<o;i++){const o=t.children[i],a=p(o),l=g(e,o)-a;l<s?(s=l,r=a<r?a:r,n=o):l===s&&a<r&&(r=a,n=o)}t=n||t.children[0]}return t}(s,this._data,t,b);for(i.children.push(e),c(i,s);t>=0&&b.data[t].children.length>this._maxEntries;)this._split(b,t),t--;!function(e,t,n){for(let r=n;r>=0;r--)c(t.data[r],e)}(s,b,t)}_split(e,t){const n=e.data[t],r=n.children.length,s=this._minEntries;this._chooseSplitAxis(n,s,r);const i=this._chooseSplitIndex(n,s,r);if(!i)return;const o=n.children.splice(i,n.children.length-i),a=n.leaf?new I(o):new R(o);a.height=n.height,h(n,this._toBBox),h(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(n,a)}_splitRoot(e,t){this._data=new R([e,t]),this._data.height=e.height+1,h(this._data,this._toBBox)}_chooseSplitIndex(e,t,n){let r,s,i;r=s=1/0;for(let o=t;o<=n-t;o++){const t=u(e,0,o,this._toBBox),a=u(e,o,n,this._toBBox),l=f(t,a),h=p(t)+p(a);l<r?(r=l,i=o,s=h<s?h:s):l===r&&h<s&&(s=h,i=o)}return i}_chooseSplitAxis(e,t,n){const r=e.leaf?this._compareMinX:d,s=e.leaf?this._compareMinY:m;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,s)&&e.children.sort(r)}_allDistMargin(e,t,n,r){e.children.sort(r);const s=this._toBBox,i=u(e,0,t,s),o=u(e,n-t,n,s);let a=y(i)+y(o);for(let r=t;r<n-t;r++){const t=e.children[r];c(i,e.leaf?s(t):t),a+=y(i)}for(let r=n-t-1;r>=t;r--){const t=e.children[r];c(o,e.leaf?s(t):t),a+=y(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const n=e.data[t];if(0===n.children.length)if(t>0){const s=e.data[t-1],i=s.children;i.splice((0,r.qh)(i,n,i.length,s.indexHint),1)}else this.clear();else h(n,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let n=e;for(C.clear();n;){if(!0===n.leaf)for(const e of n.children)t((0,s.z)(e));else C.pushArray(n.children);n=C.pop()??null}}function h(e,t){u(e,0,e.children.length,t,e)}function u(e,t,n,r,s){s||(s=new I([])),s.minX=1/0,s.minY=1/0,s.maxX=-1/0,s.maxY=-1/0;for(let i,o=t;o<n;o++)i=e.children[o],c(s,e.leaf?r(i):i);return s}function c(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function d(e,t){return e.minX-t.minX}function m(e,t){return e.minY-t.minY}function p(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function y(e){return e.maxX-e.minX+(e.maxY-e.minY)}function g(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function f(e,t){const n=Math.max(e.minX,t.minX),r=Math.max(e.minY,t.minY),s=Math.min(e.maxX,t.maxX),i=Math.min(e.maxY,t.maxY);return Math.max(0,s-n)*Math.max(0,i-r)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function x(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function w(e,t,n,r,s){const i=[t,n];for(;i.length;){const t=i.pop(),n=i.pop();if(t-n<=r)continue;const a=n+Math.ceil((t-n)/r/2)*r;(0,o.q)(e,a,n,t,s),i.push(n,a,a,t)}}const v=new i.A,C=new i.A,b=new i.A,M=new i.A({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class T extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class I extends T{constructor(e){super(),this.children=e,this.leaf=!0}}class R extends T{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,n){n.d(t,{C_:()=>d,on:()=>c,wB:()=>l,z7:()=>h});var r=n(37955),s=n(36563),i=n(97768),o=n(17676),a=n(14012);function l(e,t,n={}){return u(e,t,n,m)}function h(e,t,n={}){return u(e,t,n,p)}function u(e,t,n={},r){let s=null;const o=n.once?(e,n)=>{r(e)&&((0,i.xt)(s),t(e,n))}:(e,n)=>{r(e)&&t(e,n)};if(s=(0,a.Cn)(e,o,n.sync,n.equals),n.initial){const t=e();o(t,t)}return s}function c(e,t,n,o={}){let a=null,h=null,u=null;function c(){a&&h&&(h.remove(),o.onListenerRemove?.(a),a=null,h=null)}function d(e){o.once&&o.once&&(0,i.xt)(u),n(e)}const m=l(e,(e,n)=>{c(),(0,r.wb)(e)&&(a=e,h=(0,r.on)(e,t,d),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return u=(0,s.hA)(()=>{m.remove(),c()}),u}function d(e,t){return function(e,t,n){if((0,o.G4)(n))return Promise.reject((0,o.NK)());const r=e();if(t?.(r))return Promise.resolve(r);let a=null;function l(){a=(0,i.xt)(a)}return new Promise((r,i)=>{a=(0,s.vE)([(0,o.u7)(n,()=>{l(),i((0,o.NK)())}),u(e,e=>{l(),r(e)},{sync:!1,once:!0},t??m)])})}(e,p,t)}function m(e){return!0}function p(e){return!!e}n(80559),n.d(t,["OH",0,{sync:!0},"Vh",0,{initial:!0},"pc",0,{sync:!0,initial:!0}])},88930(e,t,n){n.d(t,{S1:()=>a,lL:()=>h,mi:()=>l,rb:()=>u,t:()=>c});var r=n(97770),s=(n(98623),n(92647));const i=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,o={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function a(e,t,n,i="system"){if("unknown"===n)return e;const o=new s.oh((0,r.wj)(i)),a=s.c9.fromJSDate(e,{zone:o}),l="decades"===n||"centuries"===n?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),a.plus({[l]:t}).toJSDate()}function l(e,t,n="milliseconds"){const r=e.getTime(),s=c(t,n,"milliseconds");return new Date(r+s)}function h(e,t,n="system"){const{unit:i}=t,o=Math.max(1,Math.trunc(t.value)),a=new s.oh((0,r.wj)(n)),l=s.c9.fromJSDate(e,{zone:a}),h=e=>e-e%o;switch(i){case"milliseconds":return l.startOf("second").plus({millisecond:h(l.millisecond)}).toJSDate();case"seconds":return l.startOf("minute").plus({second:h(l.second)}).toJSDate();case"minutes":return l.startOf("hour").plus({minute:h(l.minute)}).toJSDate();case"hours":return l.startOf("day").plus({hour:h(l.hour)}).toJSDate();case"days":return l.startOf("month").plus({day:h(l.day-1)}).toJSDate();case"weeks":{const e=l.startOf("year").startOf("week"),t=Math.floor(l.diff(e,"weeks").weeks);return e.plus({week:h(t)}).toJSDate()}case"months":return l.startOf("year").plus({month:h(l.month-1)}).toJSDate();case"years":case"decades":case"centuries":{const e=l.startOf("year"),t=("decades"===i?10:"centuries"===i?100:1)*o,n=e.year-e.year%t;return e.set({year:n}).toJSDate()}case"unknown":return e}}function u(e){const t=i.exec(e);if(!t)return null;const{hh:n,mm:r,ss:s,ms:a}=t.groups;return Number(n)*o.hours+Number(r)*o.minutes+Number(s||0)*o.seconds+Number(a||0)}function c(e,t,n){return 0===e?0:e*o[t]/o[n]}},48526(e,t,n){n.d(t,{A:()=>g});var r,s=n(5482),i=n(4576),o=n(4718),a=n(91429),l=n(5443),h=n(91075),u=n(86738),c=n(16930),d=n(90634),m=n(47610),p=n(56993),y=n(43937);let g=r=class extends h.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:s}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=c.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:s}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,d.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:s}=this;return new r({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:s})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,n=e.spatialReference;return null!=t==(null!=n)&&!(null!=t&&null!=n&&!t.equals(n))&&(0,i.aI)(this.points,e.points,m.v6)}addPoint(e){return(0,p.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new u.A(n)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,p.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],g.prototype,"points",void 0),(0,s.Cg)([(0,y.K)("points")],g.prototype,"writePoints",null),g=r=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],g),g.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,n){n.d(t,{A:()=>p});var r,s=n(5482),i=n(4718),o=n(91429),a=n(5443),l=n(91075),h=n(86738),u=n(16930),c=n(90634),d=n(56993),m=n(43937);let p=r=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:n,hasZ:r,spatialReference:s}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=u.A.WGS84,{...e,hasM:n,hasZ:r,paths:t,spatialReference:s}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,i.o8)(e)}get extent(){const e=(0,c.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,i.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,n=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const r=[];for(let t=0,n=e.length;t<n;t++)r[t]=e[t].toArray();t[n]=r}else t[n]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new r;return e.spatialReference=this.spatialReference,e.paths=(0,i.o8)(this.paths),e.curvePaths=(0,i.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const n=this.paths[e][t],r=this.hasZ,s=this.hasM;return r&&!s?new h.A(n[0],n[1],n[2],void 0,this.spatialReference):s&&!r?new h.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&s?new h.A(n[0],n[1],n[2],n[3],this.spatialReference):new h.A(n[0],n[1],this.spatialReference)}insertPoint(e,t,n){return this._validateInputs(e,t,!0)?((0,d.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e].splice(t,0,n),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],n=this.spatialReference,r=t.map(e=>new h.A(e,n));return this.notifyChange("paths"),r}removePoint(e,t){if(!this._validateInputs(e,t))return null;const n=new h.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(e,t,n){return this._validateInputs(e,t)?((0,d.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e][t]=n,this.notifyChange("paths"),this):this}_validateInputs(e,t,n=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const r=this.paths[e];if(n&&(t<0||t>r.length))return!1;if(!n&&(t<0||t>=r.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,s.Cg)([(0,m.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,s.Cg)([(0,m.K)("paths")],p.prototype,"writePaths",null),p=r=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},97770(e,t,n){n.d(t,{Ey:()=>P,F8:()=>F,J2:()=>I,Yq:()=>B,_m:()=>R,iS:()=>A,wj:()=>E});var r=n(66552),s=n(73444),i=n(98623),o=n(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},h={timeZone:"UTC"},u={year:"numeric",month:"numeric",day:"numeric"},c={year:"numeric",month:"long",day:"numeric"},d={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},p={hour:"numeric",minute:"numeric"},y={...p,second:"numeric"},g={hourCycle:"h23"},f={...p,...g},_={...y,...g},x={"short-date":u,"short-date-short-time":{...u,...p},"short-date-short-time-24":{...u,...f},"short-date-long-time":{...u,...y},"short-date-long-time-24":{...u,..._},"short-date-le":u,"short-date-le-short-time":{...u,...p},"short-date-le-short-time-24":{...u,...f},"short-date-le-long-time":{...u,...y},"short-date-le-long-time-24":{...u,..._},"long-month-day-year":c,"long-month-day-year-short-time":{...c,...p},"long-month-day-year-short-time-24":{...c,...f},"long-month-day-year-long-time":{...c,...y},"long-month-day-year-long-time-24":{...c,..._},"day-short-month-year":d,"day-short-month-year-short-time":{...d,...p},"day-short-month-year-short-time-24":{...d,...f},"day-short-month-year-long-time":{...d,...y},"day-short-month-year-long-time-24":{...d,..._},"long-date":m,"long-date-short-time":{...m,...p},"long-date-short-time-24":{...m,...f},"long-date-long-time":{...m,...y},"long-date-long-time-24":{...m,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":p,"long-time":y},w=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),v={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},C=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),b=C.find(({type:e})=>"month"===e)?.value.toLowerCase();function M(){const e=(0,s.lR)();return(e&&v[e])??(0,s.QC)()}"mart"!==b&&(v.bs="sr-Latn-CS");let S=new WeakMap;const T=x["short-date-short-time"];function I(e){return x[e]}function R(e){const{dateStyle:t,timeStyle:n,hour12:r,year:s,month:i}=e,o={};return t?o.dateStyle=t:s&&(o.year=s,o.month=i||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function B(e,t=T){return function(e){let t=S.get(e);if(!t){const n=M(),r=E(e.timeZone??"system"),s={...e,timeZone:r};t=new Intl.DateTimeFormat(n,s),S.set(e,t)}return t}(t).format(e)}function A(e,t=T){return B(new Date(e),{...t,...h,...l})}function F(e,t=T){return B(new Date(`1970-01-01T${e}Z`),{...t,...h,...a})}function P(e,t=T){const n=o.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return B(n.toJSDate(),t);const r=0===n.offset?"UTC":t.timeZone,s={...t,timeZone:r};return n.toLocaleString(s,{locale:M()})}function E(e){switch(e){case"system":return i.N;case i.L:return"UTC";default:return e}}(0,s.Ml)(()=>{S=new WeakMap}),n.d(t,["_v",0,w])},73444(e,t,n){n.d(t,{JK:()=>l,Ml:()=>g,QC:()=>c,lR:()=>u,oQ:()=>p});var r=n(36563);let s;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===s&&(s=a()),s}const h=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function u(e=l()){return d(e)?.language}function c(e=l()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=l()){return h.exec(e)?.groups}const m=[];function p(e){return m.push(e),(0,r.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const y=[];function g(e){return y.push(e),(0,r.hA)(()=>y.splice(y.indexOf(e),1))}function f(){const e=a();s!==e&&([...y].forEach(t=>t(e)),s=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",f),o&&new MutationObserver(()=>{f()}).observe(o,{attributeFilter:["lang"]})},6518(e,t,n){n.d(t,{F:()=>a});var r=n(44208),s=n(75503),i=n(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new s.wq(9,(0,r.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((n,r)=>{e[t++]=r}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,i.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,n){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,n)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,n){n.d(t,{A:()=>p});var r=n(4576),s=n(49186),i=n(65529),o=n(53966),a=n(70328),l=n(19419),h=n(90708),u=n(6518),c=n(51441),d=n(37730);const m=(0,a.vt)();class p{constructor(e){this.geometryInfo=e,this._boundsStore=new u.F,this._featuresById=new Map,this._usedMemory=0,this.events=new i.bk,this.featureAdapter=d.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,n,r,s]=this.fullBounds;return{xmin:t,ymin:n,xmax:r,ymax:s,spatialReference:(0,c.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(r.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const n of e){const e=this._boundsStore.get(n.objectId);e&&t((0,a.Jt)(m,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new s.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const n=this._featuresById.get(t);let r;if(n?(e.displayId=n.displayId,r=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);r=(0,h.jQ)(null!=r?r:(0,l.vt)(),e.geometry),null!=r&&this._boundsStore.set(t,r),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new s.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const n=this._featuresById.get(t);if(!n)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0;const{geometry:r,attributes:i}=e;for(const e in i)n.attributes[e]=i[e];return r&&(n.geometry=r,this._boundsStore.set(t,(0,h.jQ)((0,l.vt)(),r)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(n)??0,n}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,n){var r=n(43334);const s={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,n)=>new r.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)};n.d(t,["T",0,s])},33771(e,t,n){n.r(t),n.d(t,{default:()=>w});var r=n(60999),s=n(49186),i=n(53966),o=n(34727),a=n(17676),l=n(67076),h=n(21325),u=n(90708),c=n(83221),d=n(31464),m=n(56390),p=n(85113),y=n(82832),g=n(34322),f=n(95466),_=n(54218);n(98623);const x="esri.layers.WFSLayer";class w{constructor(){this._customParameters=null,this._queryEngine=null,this._supportsPagination=!0}destroy(){this._queryEngine?.destroy(),this._queryEngine=null}async load(e,t={}){const{getFeatureUrl:n,getFeatureOutputFormat:r,fields:i,geometryType:o,featureType:l,maxRecordCount:h,maxTotalRecordCount:u,maxPageCount:p,objectIdField:y,customParameters:_}=e,{spatialReference:x,getFeatureSpatialReference:w}=(0,g.UH)(n,l,e.spatialReference);try{await(0,d.Nk)(w,x)}catch{throw new s.A("unsupported-projection","Projection not supported",{inSpatialReference:w,outSpatialReference:x})}(0,a.Te)(t),this._customParameters=_,this._featureType=l,this._fieldsIndex=f.A.fromLayerJSON({fields:i,dateFieldsTimeReference:i.some(e=>"esriFieldTypeDate"===e.type)?{timeZoneIANA:"UTC"}:null}),this._geometryType=o,this._getFeatureUrl=n,this._getFeatureOutputFormat=r,this._getFeatureSpatialReference=w,this._maxRecordCount=h,this._maxTotalRecordCount=u,this._maxPageCount=p,this._objectIdField=y,this._spatialReference=x;let C=await this._snapshotFeatures(t);if(C.errors.length>0&&(this._supportsPagination=!1,C=await this._snapshotFeatures(t),C.errors.length>0))throw C.errors[0];const b={type:"object-id",fieldName:y};return this._queryEngine=new m.do({fieldsIndex:this._fieldsIndex,geometryType:o,hasM:!1,hasZ:!1,featureIdInfo:b,spatialReference:x,timeInfo:null,featureStore:new c.A({geometryType:o,hasM:!1,hasZ:!1})}),this._queryEngine.featureStore.addMany(C.features),{warnings:v(C),extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async applyEdits(){throw new s.A("wfs-source:editing-not-supported","applyEdits() is not supported on WFSLayer")}async queryFeatures(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQuery(e,t.signal)}async queryFeatureCount(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForCount(e,t.signal)}async queryObjectIds(e={},t={}){return await this._waitSnapshotComplete(),(await this._queryEngine.executeQueryForIds(e,t.signal)).filter(_.Et)}async queryExtent(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForExtent(e,t.signal)}async querySnapping(e,t={}){return await this._waitSnapshotComplete(),await this._queryEngine.executeQueryForSnapping(e,t.signal)}async queryAttributeBins(e,t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeAttributeBinsQuery(e,t.signal)}async refresh(e){return this._customParameters=e.customParameters,this._maxRecordCount=e.maxRecordCount,this._maxTotalRecordCount=e.maxTotalRecordCount,this._maxPageCount=e.maxPageCount,this._snapshotTask?.abort(),this._snapshotTask=(0,r.UT)(e=>this._snapshotFeatures({signal:e})),this._snapshotTask.promise.then(e=>{this._queryEngine.featureStore.clear(),this._queryEngine.featureStore.addMany(e.features);for(const t of v(e))i.A.getLogger(x).warn(new l.A("wfs-layer:refresh-warning",t.message,t.details));e.errors?.length&&i.A.getLogger(x).warn(new l.A("wfs-layer:refresh-error","Refresh completed with errors",{errors:e.errors}))},()=>{this._queryEngine.featureStore.clear()}),await this._waitSnapshotComplete(),{extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async _waitSnapshotComplete(){if(this._snapshotTask&&!this._snapshotTask.finished){try{await this._snapshotTask.promise}catch{}return this._waitSnapshotComplete()}}async _snapshotFeatures(e){const t=e?.signal,n=this._maxTotalRecordCount,r=this._maxPageCount,s=this._supportsPagination&&r>1?await(0,g.E)(this._getFeatureUrl,this._featureType.typeName,{customParameters:this._customParameters,signal:t}):void 0;let i=[];const l=[];if(null==s)try{i=await this._singleQuery(t)}catch(e){(0,a.zf)(e)||l.push(e)}else{const e=Math.min(s,n),h=function*(e,t,n){for(let r=0;r<t;r++)yield e._pageQuery(r,n)}(this,(0,o.qE)(Math.ceil(e/this._maxRecordCount),1,r),t);await Promise.allSettled(Array.from({length:10}).map(()=>async function(e,t,n){let r=e.next();for(;!r.done;){try{const e=await r.value;t.push(...e)}catch(e){(0,a.zf)(e)||n.push(e)}r=e.next()}}(h,i,l)))}return(0,a.Te)(t),{features:i,totalRecordCount:s,maxTotalRecordCount:n,maxPageCount:r,errors:l}}async _singleQuery(e){const t=Number.isFinite(this._maxRecordCount)&&this._maxRecordCount>0?this._maxRecordCount:void 0,n=await(0,g.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,count:t,signal:e});return this._processGeoJSON(n,{signal:e})}async _pageQuery(e,t){const n=e*this._maxRecordCount,r=await(0,g.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,startIndex:n,count:this._maxRecordCount,signal:t});return this._processGeoJSON(r,{startIndex:n,signal:t})}_processGeoJSON(e,t){(0,p.sO)(e,this._getFeatureSpatialReference.wkid);const{startIndex:n,signal:r}=t;(0,a.Te)(r);const s=(0,p.bd)(e,{geometryType:this._geometryType,hasZ:!1,objectIdField:this._objectIdField});if(!(0,h.aI)(this._spatialReference,this._getFeatureSpatialReference))for(const e of s)null!=e.geometry&&(e.geometry=(0,u.Ux)((0,d.Cv)((0,u.zv)(e.geometry,this._geometryType,!1,!1),this._getFeatureSpatialReference,this._spatialReference)));let i=n??1;for(const e of s){const t={};(0,y.MB)(this._fieldsIndex,t,e.attributes,!0),e.attributes=t,null==t[this._objectIdField]&&(e.objectId=t[this._objectIdField]=i++)}return s}}function v(e){const t=[];return null!=e.totalRecordCount&&(e.features.length<e.totalRecordCount&&t.push({name:"wfs-layer:maxRecordCount-too-low",message:`Could only fetch ${e.features.length} of ${e.totalRecordCount} in ${e.maxPageCount} queries. Try increasing the value of WFSLayer.maxRecordCount.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount}}),e.totalRecordCount>e.maxTotalRecordCount&&t.push({name:"wfs-layer:large-dataset",message:`The number of ${e.totalRecordCount} features exceeds the maximum allowed of ${e.maxTotalRecordCount}.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount,maxTotalRecordCount:e.maxTotalRecordCount}})),t}},82832(e,t,n){n.d(t,{$1:()=>_,CR:()=>f,MB:()=>p,Yx:()=>u,bP:()=>d});var r=n(67482),s=n(93146),i=n(60408),o=n(21325),a=n(30524);class l{constructor(e){this.description=e,this.code=null}}class h{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new l(e)}}function u(e){return new h(e)}class c{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function d(e){return new c(e)}const m=new Set;function p(e,t,n,r=!1){m.clear();for(const s in n){const i=e.get(s);if(!i)continue;const o=y(i,n[s]);if(m.add(i.name),i&&(r||i.editable)){const e=(0,a.CJ)(i,o);if(e)return u((0,a.uo)(e,i,o));t[i.name]=o}}for(const t of e.requiredFields??[])if(!m.has(t.name))return u(`missing required field "${t.name}"`);return null}function y(e,t){let n=t;return(0,a.WA)(e)&&"string"==typeof t?n=(0,a.XT)(t):(0,a.yM)(e)&&null!=t&&"string"!=typeof t?n=String(t):(0,a.vE)(e)&&"string"==typeof t&&(n=(0,r._)(t)),(0,a.WX)(n)}const g=(0,s.z)(()=>Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(1075)]).then(n.bind(n,3637)));function f(e,t){if(!(0,i.Bi)(e)&&!(0,i.Rg)(e))return e;if(!(0,o.fn)(t))return e;const n=g.module;if(null==n)throw new TypeError("simplify operator not loaded");return n.execute({...e,spatialReference:t})??e}async function _(e,t){!(0,o.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await g.getImportPromise()}n.d(t,["PC",0,{supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}])},39357(e,t,n){n.d(t,{A:()=>a});var r,s=n(5482),i=n(25482),o=n(91429);let a=r=class extends i.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,s.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=r=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,n){n.d(t,{A:()=>u});var r,s=n(5482),i=n(4718),o=n(91429),a=n(39357),l=n(76357),h=n(93223);let u=class extends l.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,i.o8)(this.codedValues),name:this.name})}};(0,s.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],u.prototype,"codedValues",void 0),(0,s.Cg)([(0,h.e)({codedValue:"coded-value"})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],u)},76357(e,t,n){n.d(t,{A:()=>h});var r=n(5482),s=n(66552),i=n(25482),o=n(91429),a=n(93223);const l=new s.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let h=class extends i.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,r.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),h=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],h)},20437(e,t,n){n.d(t,{A:()=>p});var r,s=n(5482),i=n(66552),o=n(25482),a=n(91429),l=n(56507),h=n(8631),u=n(98453),c=n(36005),d=n(93223);const m=new i.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let p=class extends o.o{static{r=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?m.fromJSON(n.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"alias",void 0),(0,s.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],p.prototype,"defaultValue",void 0),(0,s.Cg)([(0,a.MZ)()],p.prototype,"description",void 0),(0,s.Cg)([(0,c.w)("description")],p.prototype,"readDescription",null),(0,s.Cg)([(0,a.MZ)({types:h.g,json:{read:{reader:h.r},write:!0}})],p.prototype,"domain",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"editable",void 0),(0,s.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],p.prototype,"length",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"nullable",void 0),(0,s.Cg)([(0,d.e)(u.m)],p.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)()],p.prototype,"valueType",void 0),(0,s.Cg)([(0,c.w)("valueType",["description"])],p.prototype,"readValueType",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],p.prototype,"visible",void 0),p=r=(0,s.Cg)([(0,a.$K)("esri.layers.support.Field")],p)},41628(e,t,n){n.d(t,{A:()=>l});var r,s=n(5482),i=n(91429),o=n(76357),a=n(93223);let l=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s.Cg)([(0,i.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,s.Cg)([(0,i.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,s.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=r=(0,s.Cg)([(0,i.$K)("esri.layers.support.RangeDomain")],l)},8631(e,t,n){n.d(t,{r:()=>d,g:()=>c});var r,s=n(53177),i=n(76357),o=n(5482),a=n(91429),l=n(93223);let h=class extends i.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],h.prototype,"type",void 0),h=r=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],h);var u=n(41628);const c={key:"type",base:i.A,typeMap:{range:u.A,"coded-value":s.A,inherited:h}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return u.A.fromJSON(e);case"codedValue":return s.A.fromJSON(e);case"inherited":return h.fromJSON(e)}return null}},98453(e,t,n){const r=new(n(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});n.d(t,["m",0,r])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1817],{60999(e,t,r){r.d(t,{DZ:()=>y,Ke:()=>p,Tj:()=>h,UT:()=>g,aD:()=>m,jJ:()=>u});var i=r(5482),s=r(69622),a=r(97768),l=r(17676),n=r(10107),o=r(64108);function u(e,t,r){return(0,l.Lx)(e.map((e,i)=>t.apply(r,[e,i])))}async function h(e,t,r){return(await(0,l.Lx)(e.map((e,i)=>t.apply(r,[e,i])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function p(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function y(e){try{return c(await e)}catch(e){return(0,l.QP)(e),d(e)}}function g(e,t){return new f(e,t)}let f=class extends s.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,a.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,l.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,a.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,n.MZ)()],f.prototype,"value",null),(0,i.Cg)([(0,n.MZ)()],f.prototype,"error",null),(0,i.Cg)([(0,n.MZ)()],f.prototype,"finished",null),(0,i.Cg)([(0,n.MZ)()],f.prototype,"promise",void 0),(0,i.Cg)([(0,n.MZ)()],f.prototype,"_result",void 0),f=(0,i.Cg)([(0,o.$)("esri.core.asyncUtils.ReactiveTask")],f);class m{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},69397(e,t,r){r.d(t,{Qf:()=>n,Qh:()=>a,lM:()=>s});var i=r(34275);function s(e){if(!e)return 0;let t=u;for(const r in e)e.hasOwnProperty(r)&&(t+=l(e[r],!1));return t}function a(e){if(!e)return 0;if("number"==typeof e[0])return n(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return o(e,8);let r=h;for(let i=0;i<t;i++)r+=l(e[i]);return r}(e);let t=u;for(const r in e)e.hasOwnProperty(r)&&(t+=l(e[r]));return t}function l(e,t=!0){switch(typeof e){case"object":return t?a(e):u;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function n(...e){return e.reduce((e,t)=>e+(t?(0,i.iu)(t)?t.byteLength+c:Array.isArray(t)?o(t,16):0:0),0)}function o(e,t){return h+e.length*t}const u=32,h=16,c=145},83027(e,t,r){const i=r(29953).ho;r.d(t,["h",0,i])},35982(e,t,r){r.d(t,{B:()=>h});var i=r(4576),s=r(71511),a=r(36563),l=r(53966),n=r(97768),o=r(17676),u=r(83027);class h{constructor(e,t,r,i,s={}){this._mainMethod=t,this._transferLists=r,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(e,{...s,schedule:i}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{s.hasInitialize&&e.invoke("initialize",{}).catch(()=>{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>l.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const r=new c(e,t);return this._listeners.push(r),this._connectListener(r),(0,a.hA)(()=>{(0,i.TF)(this._listeners,r),r.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,n.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,r){return this.invokeMethod(this._mainMethod,e,t,r)}invokeMethod(e,t,r,i){if(this._thread){const s=this._transferLists[e],a=s?s(t):[];return this._thread.invoke(e,t,{transferList:a,signal:r,jobPriority:i})}return this._promise?this._promise.then(()=>((0,o.Te)(r),this.invokeMethod(e,t,r))):Promise.reject((0,o.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(d):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,o.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class c{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new s.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function d(){}},54239(e,t,r){r.d(t,{A:()=>m});var i,s=r(5482),a=r(4576),l=r(66552),n=r(25482),o=r(86211),u=r(67076),h=r(91429),c=r(97348),d=r(43937),p=r(36005);const y=(0,l.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),g=y.jsonValues.slice();(0,a.Xy)(g,"orthometric");const f=(0,l.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let m=i=class extends n.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return y.write(e,t,r)}readHeightModel(e,t,r){return y.read(e)||(r?.messages&&r.messages.push(function(e,t){return new u.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return f.read(e)||(r?.messages&&r.messages.push(v(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,o.LA)(e)||f.read(e)||(r?.messages&&r.messages.push(v(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,o.k1)(t);return new i({heightModel:e.heightModel,heightUnit:r??void 0,vertCRS:e.vertCRS})}static fromSpatialReference(e){const{latestVcsWkid:t,vcsWkid:r}=e;if(!r)return null;const s=(null!=t?c.B.get(t):null)??c.B.get(r);return s?new i({heightModel:0===s.type?"gravity-related-height":"ellipsoidal",heightUnit:(0,o.LA)(s.unit.name),vertCRS:s.datum}):null}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function v(e,t){return new u.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,s.Cg)([(0,h.MZ)({type:y.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,s.Cg)([(0,d.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,s.Cg)([(0,p.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,s.Cg)([(0,h.MZ)({type:f.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:f.jsonValues,write:{writer:f.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,s.Cg)([(0,p.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,s.Cg)([(0,p.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,s.Cg)([(0,h.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,s.Cg)([(0,p.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=i=(0,s.Cg)([(0,h.$K)("esri.geometry.HeightModelInfo")],m)},38732(e,t,r){r.r(t),r.d(t,{default:()=>S});var i=r(5482),s=r(11254),a=r(49186),l=r(97768),n=r(25728),o=r(17676),u=r(84952),h=r(91429),c=r(54239),d=r(4146),p=r(89186),y=r(18768),g=r(34287),f=r(8303),m=r(10873),v=r(87378),w=r(35982);class _ extends w.B{constructor(e=null){super("LercWorker","_decode",{_decode:e=>[e.buffer]},e,{strategy:"dedicated"}),this.schedule=e,this.ref=0}decode(e,t,r){return e&&0!==e.byteLength?this.invoke({buffer:e,options:t},r):Promise.resolve(null)}release(){--this.ref<=0&&(C.forEach((e,t)=>{e===this&&C.delete(t)}),this.destroy())}}const C=new Map;var b=r(36005);let M=class extends((0,p.f)((0,y.b)((0,g.q)((0,f.A)((0,n.M)(d.A)))))){constructor(...e){super(...e),this.capabilities={operations:{supportsTileMap:!1}},this.copyright=null,this.heightModelInfo=null,this.path=null,this.minScale=void 0,this.maxScale=void 0,this.opacity=1,this.operationalLayerType="ArcGISTiledElevationServiceLayer",this.sourceJSON=null,this.type="elevation",this.url=null,this.version=null,this._lercDecoder=function(e=null){let t=C.get(e);return t||(null!=e?(t=new _(t=>e.immediate.schedule(t)),C.set(e,t)):(t=new _,C.set(null,t))),++t.ref,t}()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this._lercDecoder=(0,l.Gz)(this._lercDecoder)}readCapabilities(e,t){const r=t.capabilities&&t.capabilities.split(",").map(e=>e.toLowerCase().trim());return r?{operations:{supportsTileMap:r.includes("tilemap")}}:{operations:{supportsTileMap:!1}}}get memoizedElevationQueryDependencies(){return[this.loadStatus,this.tileInfo,this.fullExtent,this.spatialReference]}readVersion(e,t){let r=t.currentVersion;return r||(r=9.3),r}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"],supportsData:!1,validateItem:e=>{if(e.typeKeywords)for(let t=0;t<e.typeKeywords.length;t++)if("elevation 3d layer"===e.typeKeywords[t].toLowerCase())return!0;throw new a.A("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}' ",{type:"Image Service",expectedType:"Image Service Elevation 3D Layer"})}},e).catch(o.QP).then(()=>this._fetchImageService(t))),Promise.resolve(this)}async fetchTile(e,t,r,i){const l=i?.signal,n={responseType:"array-buffer",signal:l,useQueue:i?.useQueue,priority:i?.priority},o={noDataValue:i?.noDataValue,returnFileInfo:!0};await this.load(),await this._fetchTileAvailability(e,t,r,i);const u=await(0,s.A)(this.getTileUrl(e,t,r),n),h=await this._lercDecoder.decode(u.data,o,l);if(!h)throw new a.A("elevation-layer:tile-decode-failed","Failed to decode elevation tile data.");return new v.A({values:h.pixelData,width:h.width,height:h.height,noDataValue:h.noDataValue})}getTileUrl(e,t,r){const i=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,s=(0,u.x0)({...this.parsedUrl.query,blankTile:!i&&null});return`${this.parsedUrl.path}/tile/${e}/${t}/${r}${s?"?"+s:""}`}async queryElevation(e,t){const{query:i}=await r.e(91).then(r.bind(r,90091));return(0,o.Te)(t),i(this,e,t)}async createElevationSampler(e,t){const{createSampler:i}=await r.e(91).then(r.bind(r,90091));return(0,o.Te)(t),i(this,e,t)}_fetchTileAvailability(e,t,r,i){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,t,r,i):Promise.resolve("unknown")}async _fetchImageService(e){if(this.sourceJSON)return this.sourceJSON;const t={query:{f:"json",...this.parsedUrl.query},responseType:"json",signal:e},r=await(0,s.A)(this.parsedUrl.path,t);r.ssl&&(this.url=this.url?.replace(/^http:/i,"https:")),this.sourceJSON=r.data,this.read(r.data,{origin:"service",url:this.parsedUrl})}get hasOverriddenFetchTile(){return!this.fetchTile[I]}};(0,i.Cg)([(0,h.MZ)({readOnly:!0})],M.prototype,"capabilities",void 0),(0,i.Cg)([(0,b.w)("service","capabilities",["capabilities"])],M.prototype,"readCapabilities",null),(0,i.Cg)([(0,h.MZ)({json:{read:{source:"copyrightText"}}})],M.prototype,"copyright",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0,type:c.A})],M.prototype,"heightModelInfo",void 0),(0,i.Cg)([(0,h.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],M.prototype,"path",void 0),(0,i.Cg)([(0,h.MZ)({type:["show","hide"]})],M.prototype,"listMode",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],M.prototype,"minScale",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],M.prototype,"maxScale",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],M.prototype,"opacity",void 0),(0,i.Cg)([(0,h.MZ)({type:["ArcGISTiledElevationServiceLayer"]})],M.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,h.MZ)()],M.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1},value:"elevation",readOnly:!0})],M.prototype,"type",void 0),(0,i.Cg)([(0,h.MZ)()],M.prototype,"memoizedElevationQueryDependencies",null),(0,i.Cg)([(0,h.MZ)(m.OZ)],M.prototype,"url",void 0),(0,i.Cg)([(0,h.MZ)()],M.prototype,"version",void 0),(0,i.Cg)([(0,b.w)("version",["currentVersion"])],M.prototype,"readVersion",null),M=(0,i.Cg)([(0,h.$K)("esri.layers.ElevationLayer")],M);const I=Symbol("default-fetch-tile");M.prototype.fetchTile[I]=!0;const S=M},89186(e,t,r){var i=r(5482),s=r(91429),a=r(16930),l=r(87045),n=r(65509),o=r(25943),u=r(36005);r.d(t,["f",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.copyright=null,this.minScale=0,this.maxScale=0,this.spatialReference=null,this.tileInfo=null,this.tilemapCache=null}destroy(){this.tilemapCache?.destroy?.()}readMinScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}readMaxScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}get supportsBlankTile(){return this.version>=10.2}readTilemapCache(e,t,r){const i=t.capabilities?.toLowerCase().includes("tilemap");let{minLOD:s,maxLOD:a,minScale:u,maxScale:h}=t;if(null==s&&null==a&&(0!==u||0!==h)){const e=e=>Math.round(1e4*e)/1e4;u=e(u||t.tileInfo.lods[0].scale),h=e(h||t.tileInfo.lods[t.tileInfo.lods.length-1].scale);for(const r of t.tileInfo.lods){const t=e(r.scale);s=t>=u?r.level:s,a=t>=h?r.level:a}}if(i)return new o.d({layer:this,minLOD:s,maxLOD:a});if(t.tileInfo){const e=new l.A;return e.read(t.tileInfo,r),new n.A(e,s,a)}return null}};return(0,i.Cg)([(0,s.MZ)({json:{read:{source:"copyrightText"}}})],r.prototype,"copyright",void 0),(0,i.Cg)([(0,s.MZ)()],r.prototype,"minScale",void 0),(0,i.Cg)([(0,u.w)("service","minScale")],r.prototype,"readMinScale",null),(0,i.Cg)([(0,s.MZ)()],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,u.w)("service","maxScale")],r.prototype,"readMaxScale",null),(0,i.Cg)([(0,s.MZ)({type:a.A})],r.prototype,"spatialReference",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],r.prototype,"supportsBlankTile",null),(0,i.Cg)([(0,s.MZ)({type:l.A})],r.prototype,"tileInfo",void 0),(0,i.Cg)([(0,s.MZ)()],r.prototype,"tilemapCache",void 0),(0,i.Cg)([(0,u.w)("service","tilemapCache",["capabilities","tileInfo"])],r.prototype,"readTilemapCache",null),(0,i.Cg)([(0,s.MZ)()],r.prototype,"version",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.ArcGISCachedService")],r),r}])},18768(e,t,r){var i=r(5482),s=r(53966),a=r(91429),l=r(60694);r.d(t,["b",0,e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Jf)(e,s.A.getLogger(this)))}};return(0,i.Cg)([(0,a.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,a.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,a.$K)("esri.layers.mixins.ArcGISService")],r),r}])},8303(e,t,r){var i=r(5482),s=r(92602),a=r(70333),l=r(11254),n=r(60999),o=r(49186),u=r(36563),h=r(53966),c=r(97768),d=r(17676),p=r(84952),y=r(91429),g=r(77548),f=r(20655),m=r(80812),v=r(41318),w=r(10407),_=r(36005),C=r(43937);const b={credential:null,user:null};r.d(t,["A",0,e=>{const t=e;let M=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,d.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||h.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await r.e(1204).then(r.bind(r,41204)),i=new AbortController,s=(0,u.rE)(i);return this.addHandles(s,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:i.signal})}catch(e){throw(0,d.zf)(e)||h.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!s.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:s}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",s)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!a.id?.findCredential(this.url),s=e===r.id;if(s&&r.portal.user)return this._getUserPrivileges(r,i);let l,n;if(s)l=r.portal.url;else try{l=await(0,g.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!l||!(0,p.b8)(l,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;n=await(a.id?.getCredential(`${l}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const o=!0,u=!1,h=!1;if(!n)return{features:{edit:o,fullEdit:u},content:{updateItem:h}};try{if(s?await r.reload():(r=new m.default({id:e,portal:{url:l}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,d.QP)(e)}return{features:{edit:o,fullEdit:u},content:{updateItem:h}}}_getUserPrivileges(e,t){const r=(0,w.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?a.id?.findCredential(this.url):null;if(!t)return!0;const r=b.credential===t?b.user:await this._fetchEditingUser(e);return b.credential=t,b.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=a.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,s=f.A.getDefault();if(s&&s.loaded&&(0,p.S8)(s.restUrl)===(0,p.S8)(i))return s.user;const o=`${i}/community/self`,u=null!=e?e.signal:null,h=await(0,n.Ke)((0,l.A)(o,{authMode:"no-prompt",query:{f:"json"},signal:u}));return h.ok?v.A.fromJSON(h.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||f.A.getDefault());return r&&i&&!(0,p.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new o.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,y.MZ)({type:m.default})],M.prototype,"portalItem",null),(0,i.Cg)([(0,_.w)("web-document","portalItem",["itemId"])],M.prototype,"readPortalItem",null),(0,i.Cg)([(0,C.K)("web-document","portalItem",{itemId:{type:String}})],M.prototype,"writePortalItem",null),(0,i.Cg)([(0,y.MZ)({clonable:!1})],M.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasUpdateItemPrivileges",void 0),M=(0,i.Cg)([(0,y.$K)("esri.layers.mixins.PortalLayer")],M),M}])},87378(e,t,r){r.d(t,{A:()=>n});var i,s=r(34275),a=r(56507);const l=Symbol("ElevationTileDataClass");class n{static{i=l}constructor({values:e,width:t,height:r,noDataValue:a}){this[i]=!0,this._hasNoDataValues=null,this._minValue=null,this._maxValue=null,this.values=(0,s.vZ)(e)?e:new Float32Array(e),this.width=t,this.height=r,this.noDataValue=a}get hasNoDataValues(){if(null==this._hasNoDataValues){const e=this.noDataValue;this._hasNoDataValues=this.values.includes(e)}return this._hasNoDataValues}get minValue(){return this._ensureBounds(),this._minValue}get maxValue(){return this._ensureBounds(),this._maxValue}get usedMemory(){return this.values.byteLength+256}_ensureBounds(){if(null!=this._minValue)return;const{noDataValue:e,values:t}=this;let r=1/0,i=-1/0,s=!0;for(const a of t)a===e?this._hasNoDataValues=!0:(r=a<r?a:r,i=a>i?a:i,s=!1);s?(this._minValue=0,this._maxValue=0):(this._minValue=r,this._maxValue=i>-3e38?i:0)}static{this.from=(0,a.qf)(n)}}},65509(e,t,r){r.d(t,{A:()=>a});var i=r(49186),s=r(17676);class a{constructor(e,t=0,r=e.lods[e.lods.length-1].level){this.tileInfo=e,this.minLOD=t,this.maxLOD=r,e.lodAt(t)||(this.minLOD=e.lods[0].level),e.lodAt(r)||(this.maxLOD=e.lods[e.lods.length-1].level)}get effectiveMinLOD(){return this.minLOD??this.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.tileInfo.lods[this.tileInfo.lods.length-1].level}getAvailability(e,t,r){const i=this.tileInfo?.lodAt(e);return!i||e<this.minLOD||e>this.maxLOD?"unavailable":i.cols&&i.rows?r>=i.cols[0]&&r<=i.cols[1]&&t>=i.rows[0]&&t<=i.rows[1]?"unknown":"unavailable":"unknown"}async fetchAvailability(e,t,r,a){await(0,s.NO)(a);const l=this.getAvailability(e,t,r);if("unavailable"===l)throw new i.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:r});return l}async fetchAvailabilityUpsample(e,t,r,i,a){await(0,s.NO)(a),i.level=e,i.row=t,i.col=r;const l=this.tileInfo;return l.updateTileInfo(i),this.fetchAvailability(e,t,r,a).catch(e=>{if((0,s.zf)(e))throw e;if(l.upsampleTile(i))return this.fetchAvailabilityUpsample(i.level,i.row,i.col,i,a);throw e})}}},10407(e,t,r){r.d(t,{It:()=>p,LG:()=>l,OM:()=>u,Sm:()=>h,Y:()=>n,bK:()=>o,sQ:()=>c});var i=r(99917),s=r(16930),a=r(28735);function l(e,t){if(!n(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function n(e,t){return!!e.typeKeywords?.includes(t)}function o(e){return n(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function h(e,t,r){r?l(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,a.ci)(e);const r=s.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const d={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function p(e){const{portal:t,isOrgItem:r,itemControl:i}=e,s=t.user?.privileges;let a=!s||s.includes("features:user:edit"),l=!!r&&!!s?.includes("features:user:fullEdit");const n="update"===i||"admin"===i;return n?l=a=!0:l&&(a=!0),{features:{edit:a,fullEdit:l},content:{updateItem:n}}}r.d(t,["mm",0,d])},78553(e,t,r){r.d(t,{D:()=>a,p:()=>s});var i=r(56507);function s(e){const t=(0,i.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function a(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1560,9304],{96685(e,t,r){r.r(t),r.d(t,{constructAssociationMetaDataFeatureSetFromUrl:()=>B,constructFeatureSet:()=>P,constructFeatureSetFromPortalItem:()=>z,constructFeatureSetFromRelationship:()=>G,constructFeatureSetFromUrl:()=>E,convertToFeatureSet:()=>$,createFeatureSetCollectionFromMap:()=>V,createFeatureSetCollectionFromService:()=>K,initialiseMetaDataCache:()=>Z});var i=r(11254);class a{constructor(){this.declaredRootClass="esri.arcade.featureSetCollection"}castToText(e=!1){return"object, FeatureSetCollection"}}var s=r(78878),n=r(35704),l=r(70333),o=r(48938),u=r(61454),d=r(67862),c=r(87449),y=r(11221),h=r(33325),p=r(80609),f=r(50145),m=r(4576),_=r(80200),g=r(39516),w=r(89696),F=r(53781),b=r(17126),S=r(54546),I=r(97552),T=r(7562);function v(e,t){null==e.clause&&(e.clause=function(e){if(0===e.length)throw new c.dr("NeverReach");const t=[];for(let r=0;r<e.length;r++){const i=e[r],a=[`"${i.name.replaceAll('"','""')}" ${i.asc?">":"<"} @last_${r}`];for(let t=0;t<r;t++){const r=e[t];a.push(`"${r.name.replaceAll('"','""')}" = @last_${t}`)}t.push(a.join(" AND "))}const r=t.join(" OR ");return w.A.create(r)}(e.keyFields));for(let r=0;r<e.keyFields.length;r++){const i=e.keyFields[r].name;e.clause.parameters[`last_${r}`]=t.attributes[i]}}class C extends y.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerDynamic",this._removeGeometry=!1,this._overrideFields=null,this._requestStandardised=!1,this._useDefinitionExpression=!0,this._recentlyUsedQueries=null,this._featureSetQueryInterceptor=null,this._featureSetInfo=null,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry),e.lrucache&&(this._recentlyUsedQueries=e.lrucache),e.interceptor&&(this._featureSetQueryInterceptor=e.interceptor)}_maxQueryRate(){return 1e3}get urlQueryPath(){return this._layer.parsedUrl.path||""}convertQueryToLruCacheKey(e){const t=this.urlQueryPath+","+(0,h.JB)(e.toJSON());return(0,_.d)(t,_.T.String)}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}if(this._layer.source&&this._layer.source.sourceJSON){const e=this._layer.source.sourceJSON.currentVersion;!0===this._layer.source.sourceJSON.useStandardizedQueries?(this._databaseType=1,null!=e&&e>=10.61&&(this._databaseType=0)):null!=e&&(e>=10.5&&(this._databaseType=1,this._requestStandardised=!0),e>=10.61&&(this._databaseType=0))}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this.subtypeField=this._layer.subtypeField??"",this.subtypes=this._layer.subtypes,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}async _runDatabaseProbe(e){await this._ensureLoaded();const t=new I.A;this.datesInUnknownTimezone&&(t.timeReferenceUnknownClient=!0),t.where=e.replace("OBJECTID",this._layer.objectIdField);try{return await this._layer.queryObjectIds(t),!0}catch{return!1}}_canUsePagination(){return!(!this._layer.capabilities||!this._layer.capabilities.query||!0!==this._layer.capabilities.query.supportsPagination)}_cacheableFeatureSetSourceKey(){return this._layer.url}get gdbVersion(){return this._layer&&this._layer.capabilities&&this._layer.capabilities.data&&this._layer.capabilities.data.isVersioned?this._layer.gdbVersion||"SDE.DEFAULT":""}nativeCapabilities(){return{title:this._layer.title??"",source:this,canQueryRelated:!0,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:this._requestStandardised}}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){return await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter?y.An:this._canUsePagination()?this._queryUsingPaging(e):this._queryUsingIdSetTraversal(e)}async _queryUsingPaging(e){const t=this._layer.capabilities.query;let r=!0,i=null,a=!1;null!=e.orderBy&&(t.supportsOrderBy?(i=e.orderBy.toOrderByFields(),a=!0):r=!1);const s=await this.databaseType(),n=null==e.where?null==e.spatialFilter?"1=1":"":(0,p.YY)(e.where,s),l=!0!==this._removeGeometry,o=this._overrideFields??this._fieldsIncludingObjectId(["*"]),u=o.includes("*")?this._layer.fields.length:o.length,d=(this.isTable()||!l?t.standardMaxRecordCountNoGeometry:void 0)??t.standardMaxRecordCount??t.maxRecordCount??this._maxQueryRate(),c=u<=50?1:u<=100?.5:u<=200?.25:.125,h=Math.max(Math.ceil(d*c),t.maxRecordCount??this._maxQueryRate());let f=this._maxQueryRate();const m=this._layer.capabilities?.query.maxRecordCount;null!=m&&m<f&&(f=m);const _=this._createQuery();if(_.where=(0,g.mA)(_.where,n),null!=e.spatialFilter){const t=(0,y.rj)(e.spatialFilter.relation);_.spatialRelationship=t.spatialRelationship,_.relationParameter=t.relationParameter,_.geometry=e.spatialFilter.geometry}return _.orderByFields=i,_.outFields=o,_.returnGeometry=l,_.outSpatialReference=this.spatialReference,_.resultType="standard",{ordered:a,filterApplied:!0,spatialFilterApplied:!0,features:this._queryPaginated(_,h,f,r?e.limit:null,e.abortSignal)}}async*_queryPaginated(e,t,r,i,a){e.start=0;let s,n=null!=i?i:1/0;do{(0,c.dZ)(a),e.num=Math.max(r,Math.min(n,t)),s=await this.executeQuery(e,"execute"),e.start+=e.num,n-=s.features.length,yield*(0,m.Ho)(s.features,this._maxQueryRate())}while(n>0&&!0===s.exceededTransferLimit)}async _queryUsingIdSetTraversal(e){let t=!0,r=null,i=!1;null!=e.orderBy&&(this._layer.capabilities?.query?.supportsOrderBy?(r=e.orderBy.toOrderByFields(),i=!0):t=!1);const a=await this.databaseType(),s=null==e.where?null==e.spatialFilter?"1=1":"":(0,p.YY)(e.where,a),n=this._createQuery();if(n.where=(0,g.mA)(n.where,s),null!=e.spatialFilter){const t=(0,y.rj)(e.spatialFilter.relation);n.spatialRelationship=t.spatialRelationship,n.relationParameter=t.relationParameter,n.geometry=e.spatialFilter.geometry}n.orderByFields=r,n.outSpatialReference=this.spatialReference,n.num=t?e.limit:null;const l=await this.executeQuery(n,"executeForIds");if((0,c.dZ)(e.abortSignal),null==l||l.length<=0)return y.An;let o=this._maxQueryRate();const u=this._layer.capabilities?.query.maxRecordCount;null!=u&&u<o&&(o=u);const d=this._createQuery();return n.outFields=this._overrideFields??this._fieldsIncludingObjectId(["*"]),n.returnGeometry=!0!==this._removeGeometry,n.outSpatialReference=this.spatialReference,{ordered:i,filterApplied:!0,spatialFilterApplied:!0,features:this._traverseIdSet(d,l,o,e.abortSignal)}}async*_traverseIdSet(e,t,r,i){for(let a=0;a<t.length;a+=r){e.objectIds=t.slice(a,a+r),(0,c.dZ)(i);const s=await this.executeQuery(e,"execute");yield s.features}}async queryStat(e){await this._ensureLoaded();const t=this._layer.capabilities?.query,r=!!t?.supportsSqlExpression,i=!!t?.supportsStatistics,a=!!t?.supportsDistinct,s=(0,f.Dp)(e.stat);if("count"===s)return a?this._queryCount(e):{calculated:!1};const n=e.field;if(null==n)return{calculated:!1};if(!1===i||!1===(0,p.DA)(n)&&!1===r||!1===n.isStandardized)return null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(e.stat,n,e.limit??1e3,e.abortSignal);if("distinct"===s)return!1===a?null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(s,n,e.limit??1e3,e.abortSignal):{calculated:!1};const l=await this.databaseType();if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:null};const o=this._createQuery();if(o.where=(0,g.mA)(o.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,p.YY)(e.where,l)),null!=e.spatialFilter){const t=(0,y.rj)(e.spatialFilter.relation);o.spatialRelationship=t.spatialRelationship,o.relationParameter=t.relationParameter,o.geometry=e.spatialFilter.geometry}const u=new T.A;u.statisticType=s,u.onStatisticField=(0,p.YY)(n,l),u.outStatisticFieldName="ARCADE_STAT_RESULT",o.returnGeometry=!1;let d="ARCADE_STAT_RESULT";o.outStatistics=[u];const h=await this.executeQuery(o,"execute");if(!h.hasOwnProperty("features")||0===h.features.length)throw new c.dr("InvalidStatResponse");let m=!1;const _=h.fields??[];for(const e of _)if("ARCADE_STAT_RESULT"===e.name.toUpperCase()){d=e.name,"esriFieldTypeDate"===e.type&&(m=!0);break}const w=h.features[0].attributes[d];return{calculated:!0,result:m&&null!=w?new Date(w):w}}async _queryCount(e){const t=await this.databaseType();if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:0};const r=this._createQuery();if(r.where=(0,g.mA)(r.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,p.YY)(e.where,t)),null!=e.spatialFilter){const t=(0,y.rj)(e.spatialFilter.relation);r.spatialRelationship=t.spatialRelationship,r.relationParameter=t.relationParameter,r.geometry=e.spatialFilter.geometry}return r.returnGeometry=!1,{calculated:!0,result:await this.executeQuery(r,"executeForCount")}}async canQueryAggregate(e){await this._ensureLoaded();let t=!1;const r=this._layer.capabilities?.query,i=!0===r?.supportsSqlExpression;if(null!=r&&!0===r.supportsStatistics&&!0===r.supportsOrderBy&&(t=!0),t)for(const r of e.statistics)(!1===r.workingexpr?.isStandardized||!1===(0,p.DA)(r.workingexpr)&&!1===i)&&(t=!1);return t}async queryAggregate(e){if(await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter)return y.An;const t=await this.databaseType(),r=e.groupBy,i=e.orderBy;let a=null;if(!this._layer.capabilities.query.supportsPaginationOnAggregatedQueries){const e=this.getFieldsIndex();a={keyFields:r.map((t,r)=>({name:e.normalizeFieldName(t)??t,asc:null==i||1===i._directions[r]}))}}let s=null,n=!1;null!=i&&!0===this._layer.capabilities?.query?.supportsOrderBy&&(null==a||(0,m.MJ)(r,0,r.length,i._fields,0,Math.min(i._fields.length,r.length),(e,t)=>e.toLowerCase()===t.toLowerCase()))&&(s=i.toOrderByFields(),n=!0),null==s&&(s=r.slice());const l=e.statistics.map(e=>new T.A({onStatisticField:null!==e.workingexpr?(0,p.YY)(e.workingexpr,t):"",outStatisticFieldName:e.field,statisticType:e.toStatisticsName()}));let o=this._maxQueryRate();const u=this._layer.capabilities?.query.maxRecordCount;null!=u&&u<o&&(o=u);const d=null==e.where?null==e.spatialFilter?"1=1":"":(0,p.YY)(e.where,t),c=this._createQuery();if(c.where=(0,g.mA)(c.where,d),null!=e.spatialFilter){const t=(0,y.rj)(e.spatialFilter.relation);c.spatialRelationship=t.spatialRelationship,c.relationParameter=t.relationParameter,c.geometry=e.spatialFilter.geometry}return c.orderByFields=s,c.outFields=["*"],c.outStatistics=l,c.groupByFieldsForStatistics=r,c.returnGeometry=!1,null==a?{filterApplied:!0,spatialFilterApplied:!0,ordered:n,features:this._queryPaginated(c,o,o,null,e.abortSignal)}:{filterApplied:!0,spatialFilterApplied:!0,ordered:n,features:this._queryKeysetPaginated(c,a,e.abortSignal)}}async*_queryKeysetPaginated(e,t,r){const i=e.where;for(;;){if(null!=t.clause){if(!this._layer.capabilities.query.supportsOrderBy)throw new c.dr("NotImplemented");e.where=(0,g.mA)(i,(0,p.YY)(t.clause,await this.databaseType()))}const a=await this.executeQuery(e,"execute");if((0,c.dZ)(r),!a.hasOwnProperty("features"))throw new c.dr("InvalidStatResponse");if(yield a.features,0===a.features.length||!0!==a.exceededTransferLimit)break;v(t,a.features.at(-1))}}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,this.datesInUnknownTimezone&&(e.timeReferenceUnknownClient=!0),this._requestStandardised&&(e.sqlFormat="standard"),this._useDefinitionExpression?"subtype-group"===this._layer.type&&(e.where=this._layer.definitionExpression):e.where=null,e}executeQuery(e,t){const r="execute"===t?async e=>{const t=await this._layer.source.queryFeaturesJSON(e);return(0,y.Rn)(t.features,t.spatialReference??this.spatialReference.toJSON()),t}:"executeForCount"===t?this._layer.queryFeatureCount.bind(this._layer):this._layer.queryObjectIds.bind(this._layer);let i=null;if(this._recentlyUsedQueries){const t=this.convertQueryToLruCacheKey(e);i=this._recentlyUsedQueries.getFromCache(t),null===i&&(i=r(e),this._recentlyUsedQueries.addToCache(t,i),i=i.catch(e=>{throw this._recentlyUsedQueries?.removeFromCache(t),e}))}return this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:e,method:t}),null===i&&(i=r(e)),i}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice();if(t.includes("*"))return t;let r=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){r=!0;break}return r||t.push(this.objectIdField),t}isTable(){return this._layer.isTable||null===this._layer.geometryType||"table"===this._layer.type||""===this._layer.geometryType||"esriGeometryNull"===this._layer.geometryType}static create(e,t,r,i,a){const s=new F.default({url:e,outFields:null===t?["*"]:t});return new C({layer:s,spatialReference:r,lrucache:i,interceptor:a})}relationshipMetadata(){return this._layer&&this._layer.source&&this._layer.source.sourceJSON?.relationships?this._layer.source.sourceJSON.relationships:[]}serviceUrl(){return(0,h.Qi)(this._layer.parsedUrl.path)}async queryAttachments(e,t,r,i,a){const s=this._layer;if(!function(e){const t=e.capabilities;return t?.data.supportsAttachment&&t?.operations.supportsQueryAttachments}(s))return[];const n=new S.A({objectIds:[e],returnMetadata:a});(t&&t>0||r&&r>0)&&(n.size=[t&&t>0?t:0,r&&r>0?r:t+1]),i&&i.length>0&&(n.attachmentTypes=i),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:s,query:n,method:"attachments"});const l=await s.queryAttachments(n);return l?.[e]?l[e].map(t=>{const r=`${this._layer.parsedUrl.path}/${e}/attachments/${t.id}`;let i=null;return a&&t.exifInfo&&(i=(0,d.Tg)(t.exifInfo)),new u.A(t.id,t.name,t.contentType,t.size,r,i,t.keywords??null)}):[]}async queryRelatedFeatures(e){const t=(0,b.dw)(e);t.f="json",this._requestStandardised&&(t.sqlFormat="standard"),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preRequestCallback({layer:this._layer,queryPayload:t,method:"relatedrecords",url:this._layer.parsedUrl.path+"/queryRelatedRecords"});const r=await(0,i.A)(this._layer.parsedUrl.path+"/queryRelatedRecords",{responseType:"json",query:t});if(r.data){const e={},t=r.data;if(t?.relatedRecordGroups){const r=t.spatialReference,i=!0===t.exceededTransferLimit;for(const a of t.relatedRecordGroups)(0,y.Rn)(a.relatedRecords,r),e[a.objectId]={features:a.relatedRecords,exceededTransferLimit:i}}return e}throw new c.dr("InvalidRequest")}async getFeatureByObjectId(e,t){const r=this._createQuery();r.outFields=t,r.returnGeometry=!1,r.outSpatialReference=this.spatialReference,r.where=(0,g.mA)(r.where,this.objectIdField+"="+e.toString()),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:r,method:"execute"});const i=await this._layer.source.queryFeaturesJSON(r);return 1===i.features.length?((0,y.Rn)(i.features,i.spatialReference??this.spatialReference.toJSON()),i.features[0]):null}async getIdentityUser(){await this.load();const e=l.id?.findCredential(this._layer.url);return e?e.userId:null}async getOwningSystemUrl(){await this.load();const e=l.id?.findServerInfo(this._layer.url);if(e)return e.owningSystemUrl??"";let t=this._layer.url;const r=t.toLowerCase().indexOf("/rest/services");if(t=r>-1?t.slice(0,r):t,t){t+="/rest/info";try{const e=await(0,i.A)(t,{query:{f:"json"}});let r="";return e.data?.owningSystemUrl&&(r=e.data.owningSystemUrl),r}catch{return""}}return""}getDataSourceFeatureSet(){const e=new C({layer:this._layer,spatialReference:this.spatialReference??void 0,outFields:this._overrideFields??void 0,includeGeometry:!this._removeGeometry,lrucache:this._recentlyUsedQueries??void 0,interceptor:this._featureSetQueryInterceptor??void 0});return e._useDefinitionExpression=!1,e}get preferredTimeZone(){return this._layer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._layer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._layer.datesInUnknownTimezone??!1}get editFieldsInfo(){return this._layer.editFieldsInfo??null}get timeInfo(){return this._layer.timeInfo??null}async getFeatureSetInfo(){if(this._featureSetInfo)return this._featureSetInfo;let e=null,t="serviceItemId"in this._layer?this._layer.serviceItemId:null;const r=this._layer.parsedUrl?.path??null;if(r){const a=await(0,i.A)(r,{responseType:"json",query:{f:"json"}});e=a?.data?.name??null,t=a?.data?.serviceItemId??null}const a=this._layer.title&&null!==(this._layer.parent??null);return this._featureSetInfo={layerId:this._layer.layerId,layerName:""===e?null:e,itemId:""===t?null:t,serviceLayerUrl:""===r?null:r,webMapLayerId:a?this._layer.id??null:null,webMapLayerTitle:a?this._layer.title??null:null,className:null,objectClassId:null},this._featureSetInfo}}var A=r(30235);const R=new FinalizationRegistry(e=>{e.abort()});class L extends y.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerParquet",this._outFields=null,this._returnGeometry=!0,this._ignoreDefinitionExpression=!1,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),null!=e.outFields&&(this._outFields=e.outFields),null!=e.includeGeometry&&(this._returnGeometry=e.includeGeometry)}_maxQueryRate(){return 1e3}async loadImpl(){return this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,this.objectIdField=this._layer.objectIdField,null!==this._outFields)if(1===this._outFields.length&&"*"===this._outFields[0])this._outFields=null;else{const e=new Set(this._outFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._outFields=this.fields.map(({name:e})=>e)}this._databaseType=0}getDataSourceFeatureSet(){const e=new L({layer:this._layer,spatialReference:this.spatialReference??void 0,outFields:this._outFields??void 0,includeGeometry:this._returnGeometry});return e._ignoreDefinitionExpression=!0,e}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,this._ignoreDefinitionExpression&&(e.where=null),e}isTable(){return this._layer.isTable}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){if(await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter)return y.An;const t={type:"arcade",returnGeometry:this._returnGeometry,returnZ:this.hasZ,returnM:this.hasM,outSpatialReference:(this.spatialReference??this._layer.spatialReference).toJSON(),outFields:Array.from(new Set(this._outFields??this._layer.fields.map(e=>e.name))),where:(0,g.mA)(this._ignoreDefinitionExpression?null:this._layer.definitionExpression,e.where?(0,p.YY)(e.where,0):null),extent:null};if(null!=e.spatialFilter)switch(e.spatialFilter.relation){case"esriSpatialRelIntersects":case"esriSpatialRelContains":case"esriSpatialRelOverlaps":case"esriSpatialRelWithin":case"esriSpatialRelTouches":case"esriSpatialRelCrosses":{const r=e.spatialFilter.geometry.extent;null!=r&&(t.extent=r.toJSON());break}}return{filterApplied:!0,spatialFilterApplied:!1,ordered:!1,features:await this._queryParquetStream(t,e.abortSignal)}}async _queryParquetStream(e,t){const r=new AbortController,i=await this._layer.source._queryStream(e,{signal:r.signal}),a=this._iterateParquetStream(i,r,t);return R.register(a,r,r),a}async*_iterateParquetStream(e,t,r){try{for(;;){const i=await this._layer.source._getStreamNextFeatures(e,{signal:t.signal});if(r.aborted&&(t.abort(),(0,c.dZ)(r)),null==i)break;(0,y.Rn)(i.features,i.spatialReference??this.spatialReference.toJSON()),yield i.features}}finally{R.unregister(t)}}async isEmpty(){return this._totalCount>=0?0===this._totalCount:(this._totalCount=await this._layer.queryFeatureCount(this._createQuery()),this._totalCount<=0)}async queryStat(e){await this._ensureLoaded();const t=(0,f.Dp)(e.stat);if("count"===t)return this._queryCount(e);const r=e.field;if(null==r)throw new c.dr("NeverReach");if(!0!==this._layer.capabilities?.query.supportsStatistics)return null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(e.stat,r,e.limit??1e3,e.abortSignal);if("distinct"===t)return{calculated:!1};if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:null};const i=this._createQuery();if(i.returnGeometry=!1,i.where=(0,g.mA)(i.where,e.where?(0,p.YY)(e.where,0):null),null!=e.spatialFilter){const t=(0,y.rj)(e.spatialFilter.relation);i.spatialRelationship=t.spatialRelationship,i.relationParameter=t.relationParameter,i.geometry=e.spatialFilter.geometry}const a=new T.A;a.statisticType=t,a.onStatisticField=(0,p.YY)(r,0);const s="ARCADE_STAT_RESULT";a.outStatisticFieldName=s,i.outStatistics=[a];const n=await this._layer.source.queryFeaturesJSON(i);if(n.features.length<=0)throw new c.dr("InvalidStatResponse");const l=n.features[0].attributes[s];return{calculated:!0,result:"esriFieldTypeDate"===n.fields?.find(e=>e.name===s)?.type&&null!=l?new Date(l):l}}async _queryCount(e){if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:0};const t=this._createQuery();if(t.where=(0,g.mA)(t.where,e.where?(0,p.YY)(e.where,0):null),null!=e.spatialFilter){const r=(0,y.rj)(e.spatialFilter.relation);t.spatialRelationship=r.spatialRelationship,t.relationParameter=r.relationParameter,t.geometry=e.spatialFilter.geometry}return t.returnGeometry=!1,{calculated:!0,result:await this._layer.queryFeatureCount(t)}}async canQueryAggregate(e){await this._ensureLoaded();const t=this._layer.capabilities?.query;return!0===t?.supportsStatistics&&null==e.spatialFilter}async queryAggregate(e){await this._ensureLoaded();const t=this._createQuery();return t.where=(0,g.mA)(t.where,e.where?(0,p.YY)(e.where,0):null),t.orderByFields=e.orderBy?.toOrderByFields(),t.outFields=["*"],t.outStatistics=e.statistics.map(e=>new T.A({onStatisticField:null!==e.workingexpr?(0,p.YY)(e.workingexpr,0):"",outStatisticFieldName:e.field,statisticType:e.toStatisticsName()})),t.groupByFieldsForStatistics=e.groupBy,t.returnGeometry=!1,{filterApplied:!0,spatialFilterApplied:!0,ordered:null!=e.orderBy,features:async function*(){const r=await this._layer.source.queryFeaturesJSON(t);(0,c.dZ)(e.abortSignal);for(const e of(0,m.Ho)(r.features,this._maxQueryRate()))(0,y.Rn)(e,r.spatialReference??this.spatialReference.toJSON()),yield e}.apply(this)}}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}async queryAttachments(){return[]}serviceUrl(){return""}relationshipMetadata(){return[]}get gdbVersion(){return""}getFeatureByObjectId(){throw new c.dr("NeverReach")}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return null}get dateFieldsTimeZone(){return null}get datesInUnknownTimezone(){return!1}get editFieldsInfo(){return null}get timeInfo(){return null}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}var M=r(26591);class q extends y.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerRelated",this._removeGeometry=!1,this._overrideFields=null,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),this._findObjectId=e.objectId,this.relationship=e.relationship,this._relatedLayer=e.relatedLayer,void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return 1e3}async loadImpl(){return await Promise.all([this._layer.load(),this._relatedLayer.load()]),this._initialiseFeatureSet(),this}nativeCapabilities(){return this._relatedLayer.nativeCapabilities()}_initialiseFeatureSet(){if(null==this.spatialReference&&(this.spatialReference=this._layer.spatialReference),this.geometryType=this._relatedLayer.geometryType,this.fields=this._relatedLayer.fields.slice(),this.hasZ=this._relatedLayer.hasZ,this.hasM=this._relatedLayer.hasM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}const e=this._layer.nativeCapabilities();e&&(this._databaseType=e.databaseType),this.objectIdField=this._relatedLayer.objectIdField,this.globalIdField=this._relatedLayer.globalIdField,this.hasM=this._relatedLayer.supportsM,this.hasZ=this._relatedLayer.supportsZ,this.typeIdField=this._relatedLayer.typeIdField,this.types=this._relatedLayer.types,this.subtypeField=this._relatedLayer.subtypeField,this.subtypes=this._relatedLayer.subtypes}async databaseType(){return this._databaseType=await this._relatedLayer.databaseType(),this._databaseType}isTable(){return this._relatedLayer.isTable()}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){if(await this._ensureLoaded(),await this.databaseType(),this.isTable()&&null!=e.spatialFilter)return y.An;const t=this._layer.nativeCapabilities();if(!1===t.canQueryRelated)return y.An;if(t.capabilities?.queryRelated.supportsPagination)return this._queryUsingPaging(t.source,e);let r=null,i=!1;null!=e.orderBy&&t.capabilities?.queryRelated.supportsOrderBy&&(r=e.orderBy.toOrderByFields(),i=!0);const a=new M.default;return a.objectIds=[this._findObjectId],a.outFields=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map(e=>e.name):["*"]),a.relationshipId=this.relationship.id,a.where="1=1",a.returnGeometry=!0!==this._removeGeometry,a.outSpatialReference=this.spatialReference,a.orderByFields=r,{filterApplied:null==e.where,spatialFilterApplied:null==e.spatialFilter,ordered:i,features:async function*(){const r=await t.source.queryRelatedFeatures(a);(0,c.dZ)(e.abortSignal),yield r[this._findObjectId]?r[this._findObjectId].features:[]}.apply(this)}}async _queryUsingPaging(e,t){let r=null==t.where&&null==t.spatialFilter,i=null,a=!1;const s=this._layer.nativeCapabilities();null!=t.orderBy&&(s.capabilities?.queryRelated.supportsOrderBy?(i=t.orderBy.toOrderByFields(),a=!0):r=!1),await this.databaseType();let n=this._maxQueryRate();const l=s.capabilities?.query.maxRecordCount;null!=l&&l<n&&(n=l);const o=new M.default;return o.relationshipId=this.relationship.id,o.objectIds=[this._findObjectId],o.outFields=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map(e=>e.name):["*"]),o.where="1=1",o.orderByFields=i,o.returnGeometry=!0!==this._removeGeometry,o.outSpatialReference=this.spatialReference,{filterApplied:null==t.where,spatialFilterApplied:null==t.spatialFilter,ordered:a,features:this._queryPaginated(e,o,n,r?t.limit:null,t.abortSignal)}}async*_queryPaginated(e,t,r,i,a){let s;t.num=null!=i?Math.min(i,r):r,t.start=0;do{(0,c.dZ)(a),s=(await e.queryRelatedFeatures(t))[this._findObjectId]??{exceededTransferLimit:!1,features:[]},yield s.features,t.start+=s.features.length,t.num=null!=i?Math.min(i-t.start,r):r}while(!0===s.exceededTransferLimit)}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new c.dr("NeverReach")}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice();if(t.includes("*"))return t;let r=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){r=!0;break}return r||t.push(this.objectIdField),t}get gdbVersion(){return this._relatedLayer.gdbVersion}relationshipMetadata(){return this._relatedLayer.relationshipMetadata()}serviceUrl(){return this._relatedLayer.serviceUrl()}queryAttachments(e,t,r,i,a){return this._relatedLayer.queryAttachments(e,t,r,i,a)}getFeatureByObjectId(e,t){return this._relatedLayer.getFeatureByObjectId(e,t)}getOwningSystemUrl(){return this._relatedLayer.getOwningSystemUrl()}getIdentityUser(){return this._relatedLayer.getIdentityUser()}getDataSourceFeatureSet(){return this._relatedLayer}get preferredTimeZone(){return this._relatedLayer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._relatedLayer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._relatedLayer.datesInUnknownTimezone}get editFieldsInfo(){return this._relatedLayer.editFieldsInfo??null}get timeInfo(){return this._relatedLayer.timeInfo??null}getFeatureSetInfo(){return this._relatedLayer.getFeatureSetInfo()}}var O=r(23732),N=r(92474),k=r(4146),j=r(99680),D=r(89160),x=r(80812);function Z(){null===O.A.applicationCache&&(O.A.applicationCache=new O.A)}async function U(e,t,r){if(O.A.applicationCache){const r=O.A.applicationCache.getLayerInfo(e);if(r){const i=await r;return new F.default({url:e,outFields:t,sourceJSON:i})}const i=new F.default({url:e,outFields:t}),a=(async()=>(await i.load(),i.sourceJSON))();if(O.A.applicationCache){O.A.applicationCache.setLayerInfo(e,a);try{return await a,i}catch(t){throw O.A.applicationCache.clearLayerInfo(e),t}}return await a,i}if(null!=r){const i=r.getCachedLayerMetadata(e);if(i){const r=await i;return new F.default({url:e,outFields:t,sourceJSON:r})}const a=new F.default({url:e,outFields:t}),s=(async()=>(await a.load(),a.sourceJSON))();r.setCachedLayerMetadata(e,s);try{return await s,a}catch(t){throw r.removeCachedLayerMetadata(e,s),t}}return new F.default({url:e,outFields:t})}async function E(e,t,r,i,a,s=null){return P(await U(e,["*"],a),t,r,i,a,s)}function P(e,t=null,r=null,i=!0,a=null,s=null){switch(e.type){case"catalog-footprint":return P(e.parent,t,r,i,a,s);case"subtype-sublayer":{const l=P(e.parent,t,r,i,a,s);return new n.A({parentfeatureset:l,whereclause:w.A.create(e.parent.subtypeField+"="+e.subtypeCode.toString(),{fieldsIndex:e.parent.fieldsIndex,timeZone:l.dateFieldsTimeZoneDefaultUTC})})}case"csv":case"geojson":case"knowledge-graph-sublayer":case"wfs":return new A.A({layer:e,spatialReference:t,outFields:r,includeGeometry:i,lrucache:a,interceptor:s});case"parquet":return new L({layer:e,spatialReference:t,outFields:r,includeGeometry:i});case"catalog":case"feature":case"oriented-imagery":case"subtype-group":{const n={layer:e,spatialReference:t,outFields:r,includeGeometry:i,lrucache:a,interceptor:s};return!e.url&&e.source?new A.A(n):new C(n)}default:throw new Error(`Unsupported layer type: ${e.type}`)}}async function Q(e,t){if(null!==O.A.applicationCache){const t=O.A.applicationCache.getLayerInfo(e);if(null!==t)return t}if(null!=t){const r=t.getCachedServiceMetadata(e);if(null!=r)return r}const r=(async()=>{const t=await(0,i.A)(e,{responseType:"json",query:{f:"json"},authMode:"no-prompt"});if(t.data){const e=t.data;return e.layers||(e.layers=[]),e.tables||(e.tables=[]),e}return{layers:[],tables:[]}})();if(null!==O.A.applicationCache){O.A.applicationCache.setLayerInfo(e,r);try{return await r}catch(t){throw O.A.applicationCache.clearLayerInfo(e),t}}if(null!=t){t.setCachedServiceMetadata(e,r);try{return await r}catch(i){throw t.removeCachedServiceMetadata(e,r),i}}return r}async function B(e,t,r){const a={metadata:null,networkId:-1,unVersion:3,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map,queryelem:null,layerNameLkp:{},lkp:null},s=await Q(e,null);if(a.metadata=s,void 0!==s.controllerDatasetLayers?.utilityNetworkLayerId&&null!==s.controllerDatasetLayers.utilityNetworkLayerId){if(s.layers)for(const e of s.layers)a.layerNameLkp[e.id]=e.name;if(s.tables)for(const e of s.tables)a.layerNameLkp[e.id]=e.name;const l=s.controllerDatasetLayers.utilityNetworkLayerId;a.networkId=l;const o=await async function(e,t){const r="QUERYDATAELEMTS:"+t.toString()+":"+e;if(null!==O.A.applicationCache){const e=O.A.applicationCache.getLayerInfo(r);if(null!==e)return e}const a=(async()=>{const r=await(0,i.A)(e+"/queryDataElements",{method:"post",responseType:"json",query:{layers:JSON.stringify([t.toString()]),f:"json"}});if(r.data){const e=r.data;if(e.layerDataElements?.[0])return e.layerDataElements[0]}throw new c.dr("DataElementsNotFound")})();if(null!==O.A.applicationCache){O.A.applicationCache.setLayerInfo(r,a);try{return await a}catch(e){throw O.A.applicationCache.clearLayerInfo(r),e}}return a}(e,l);if(o){a.queryelem=o,a.queryelem?.dataElement&&void 0!==a.queryelem.dataElement.schemaGeneration&&(a.unVersion=a.queryelem.dataElement.schemaGeneration),a.lkp={},a.queryelem.dataElement.domainNetworks||(a.queryelem.dataElement.domainNetworks=[]);for(const e of a.queryelem.dataElement.domainNetworks){for(const t of e.edgeSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:a.layerNameLkp[t.layerId]??null};a.layerIdLookup.set(e.layerId,e),a.sourceIdLookup.set(e.sourceId,e),e.className&&(a.lkp[e.className]=e)}for(const t of e.junctionSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:a.layerNameLkp[t.layerId]??null};a.layerIdLookup.set(e.layerId,e),a.sourceIdLookup.set(e.sourceId,e),e.className&&(a.lkp[e.className]=e)}}if(a.queryelem.dataElement.terminalConfigurations)for(const e of a.queryelem.dataElement.terminalConfigurations)for(const t of e.terminals)a.terminals.push({terminalId:t.terminalId,terminalName:t.terminalName});const s=await async function(e){if(null!==O.A.applicationCache){const t=O.A.applicationCache.getLayerInfo(e);if(null!==t)return t}const t=(async()=>{const t=await(0,i.A)(e,{responseType:"json",query:{f:"json"}});return t.data?t.data:null})();if(null!==O.A.applicationCache){O.A.applicationCache.setLayerInfo(e,t);try{return await t}catch(t){throw O.A.applicationCache.clearLayerInfo(e),t}}return t}(e+"/"+l);if(void 0!==s.systemLayers?.associationsTableId&&null!==s.systemLayers.associationsTableId){let i=null;if(r&&a.unVersion<8){const r=[];a.unVersion>=4&&(r.push("STATUS"),r.push("PERCENTALONG")),i=await E(e+"/"+s.systemLayers.associationsTableId,t,["OBJECTID","FROMNETWORKSOURCEID","TONETWORKSOURCEID","FROMGLOBALID","TOGLOBALID","TOTERMINALID","FROMTERMINALID","ASSOCIATIONTYPE","ISCONTENTVISIBLE","GLOBALID",...r],!1,null,null),await i.load(),a.unVersion>=4&&(i=new n.A({parentfeatureset:i,whereclause:w.A.create("STATUS NOT IN (1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63)",{fieldsIndex:i.getFieldsIndex(),timeZone:i.dateFieldsTimeZoneDefaultUTC})}),await i.load())}return{lkp:a.lkp,associations:i,unVersion:a.unVersion,terminals:a.terminals,layerIdLookup:a.layerIdLookup,sourceIdLookup:a.sourceIdLookup}}return{associations:null,unVersion:a.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}return{associations:null,unVersion:a.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}return{associations:null,unVersion:a.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}async function G(e,t,r,i=null,a=null,s=!0,n=null,l=null){let o=e.serviceUrl();if(!o)return null;o=o.endsWith("/")?o+t.relatedTableId.toString():o+"/"+t.relatedTableId.toString();const u=await E(o,i,a,s,n,l);return new q({layer:e,relatedLayer:u,relationship:t,objectId:r,spatialReference:i,outFields:a,includeGeometry:s,lrucache:n,interceptor:l})}class J extends a{constructor(e,t=null,r=null,i=null){super(),this._map=e,this._overrideSpatialReference=t,this._lrucache=r,this._interceptor=i,this._instantLayers=[]}_makeAndAddFeatureSet(e,t=!0,r=null){const i=P(e,this._overrideSpatialReference,null===r?["*"]:r,t,this._lrucache,this._interceptor);return this._instantLayers.push({featureset:i,opitem:e,includeGeometry:t,outFields:JSON.stringify(r)}),i}async listAll(){(0,N.Zm)(this._map)&&!this._map.loaded&&await this._map.load();const e=this._map.allLayers.toArray().filter(e=>(0,h.eB)(e)).map(e=>({id:e.id,name:e.title})),t=this._map.allTables.toArray().filter(e=>(0,h.eB)(e)).map(e=>({id:e.id,name:e.title}));return e.concat(t)}async featureSetByName(e,t=!0,r=null){if((0,N.Zm)(this._map)&&!this._map.loaded)return await this._map.load(),this.featureSetByName(e,t,r);null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.title===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=this._map.allLayers.find(t=>(0,h.eB)(t)&&t.title===e);if(null!=a)return this._makeAndAddFeatureSet(a,t,r);if(this._map.allTables){const i=this._map.allTables.find(t=>(0,h.eB)(t)&&t.title===e);if(null!=i)return this._makeAndAddFeatureSet(i,t,r)}return null}async featureSetById(e,t=!0,r=["*"]){if((0,N.Zm)(this._map)&&!this._map.loaded)return await this._map.load(),this.featureSetById(e,t,r);null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.id===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=this._map.allLayers.find(t=>(0,h.eB)(t)&&t.id===e);if(a)return this._makeAndAddFeatureSet(a,t,r);if(this._map.allTables){const i=this._map.allTables.find(t=>(0,h.eB)(t)&&t.id===e);if(null!=i)return this._makeAndAddFeatureSet(i,t,r)}return null}}class Y extends a{constructor(e,t=null,r=null,i=null){super(),this._url=e,this._overrideSpatialReference=t,this._lrucache=r,this._interceptor=i,this.metadata=null,this._instantLayers=[]}get url(){return this._url}_makeAndAddFeatureSet(e,t=!0,r=null){const i=P(e,this._overrideSpatialReference,null===r?["*"]:r,t,this._lrucache);return this._instantLayers.push({featureset:i,opitem:e,includeGeometry:t,outFields:JSON.stringify(r)}),i}async _loadMetaData(){const e=await Q(this._url,this._lrucache);return this.metadata=e,e}load(){return this._loadMetaData()}clone(){return new Y(this._url,this._overrideSpatialReference,this._lrucache,this._interceptor)}async listAll(){const e=await this._loadMetaData();return e.layers.concat(e.tables)}async featureSetByName(e,t=!0,r=null){null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.title===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=await this._loadMetaData();let s=null;for(const t of a.layers??[])t.name===e&&(s=t);if(!s)for(const t of a.tables??[])t.name===e&&(s=t);if(s){const e=await U(this._url+"/"+s.id,["*"],this._lrucache);return this._makeAndAddFeatureSet(e,t,r)}return null}async featureSetById(e,t=!0,r=["*"]){null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);e=null!=e?e.toString():"";for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.id===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=await this._loadMetaData();let s=null;for(const t of a.layers??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(s=t);if(!s)for(const t of a.tables??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(s=t);if(s){const e=await U(this._url+"/"+s.id,["*"],this._lrucache);return this._makeAndAddFeatureSet(e,t,r)}return null}}function V(e,t,r=null,i=null){return new J(e,t,r,i)}function K(e,t,r=null,i=null){return new Y(e,t,r,i)}function $(e,t,r,i,a){if(null===e)return null;if((0,s.k)(e)){switch(t){case"datasource":return e.getDataSourceFeatureSet();case"parent":return e;case"root":return e.getRootFeatureSet()}return null}if(e instanceof k.A&&(0,h.eB)(e)){switch(t){case"datasource":return P(e,a,"outFields"in e?e.outFields:null,!0,r,i).getDataSourceFeatureSet();case"parent":case"root":return P(e,a,"outFields"in e?e.outFields:null,!0,r,i)}return null}if((0,s.a4)(e)){switch(t){case"datasource":return P(e.parent,a,e.parent.outFields,!0,r,i).getDataSourceFeatureSet();case"parent":case"root":return P(e,a,e.parent.outFields,!0,r,i)}return null}return null}async function z(e,t,r,i,a,s,n,l=null){if(O.A.applicationCache){const o=O.A.applicationCache.getLayerInfo(e+":"+s.url);if(o)return H(await o,t,r,i,a,n,l)}if(null!=n){const o=n.getCachedPortalItem(s.url,e);if(null!=o)return await H(await o,t,r,i,a,n,l)}const o=new x.default({id:e,portal:s}).load();O.A.applicationCache?O.A.applicationCache.setLayerInfo(e+":"+s.url,o):null!=n&&n.setCachedPortalItem(s.url,e,o);try{return await H(await o,t,r,i,a,n,l)}catch(t){throw O.A.applicationCache&&O.A.applicationCache.clearLayerInfo(e+":"+s.url),null!=n&&n.removeCachedPortalItem(s.url,e,o),t}}const W=new Set(["Apache Parquet","Parquet layer","Parquet Layer","Parquet feature layer","Parquet Feature Layer"]);async function H(e,t,r,i,a,s,n){let l;if("Feature Service"===e.type||"Map Service"===e.type)l=await U((0,h.Qi)(e.url??"")+"/"+t,["*"],s);else{if(t)throw new Error(`layerId=${t} provided for ${e.type} item`);if(null!=s){const t=s.getCachedPortalItemLayer(e.portal.url,e.id);if(null!=t)l=await t;else{const t=W.has(e.type)?Promise.resolve(new j.default({data:new D.A({portalItem:e})})):k.A.fromPortalItem(e);s.setCachedPortalItemLayer(e.portal.url,e.id,t);try{l=await t}catch(r){throw s.removeCachedPortalItemLayer(e.portal.url,e.id,t),r}}}else l=W.has(e.type)?new j.default({data:new D.A({portalItem:e})}):await k.A.fromPortalItem(e)}return P(l,r,i,a,s,n)}},35704(e,t,r){r.d(t,{A:()=>o});var i=r(48938),a=r(87449),s=r(11221),n=(r(33325),r(80609)),l=r(89696);class o extends s.t1{constructor(e){super(),this.declaredClass="esri.arcade.featureset.actions.AttributeFilter",this._maxProcessing=1e3,this._parent=e.parentfeatureset,e.whereclause instanceof l.A?(this._whereClause=e.whereclause,this._whereClauseFunction=null):(this._whereClauseFunction=e.whereclause,this._whereClause=null)}_initialiseFeatureSet(){this.fields=this._parent.fields.slice(),this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types,this.subtypeField=this._parent.subtypeField,this.subtypes=this._parent.subtypes}async _queryAll(){return(await this.query({abortSignal:i._})).features}async query(e){let t=e.where,r=!0;null!==this._whereClauseFunction?r=!1:null!=t?null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,t)):t=this._whereClause,await this._ensureLoaded();const i=await this._parent.query({...e,where:t,limit:r?e.limit:null});return(0,a.dZ)(e.abortSignal),i.filterApplied&&null==this._whereClauseFunction?i:{...i,features:this._applyFilter(i.features,e.abortSignal)}}async*_applyFilter(e,t){for await(const r of e)if((0,a.dZ)(t),null!=this._whereClause){const e=r.filter(e=>this._whereClause.testFeature(e));e.length>0&&(yield e)}else if(null!=this._whereClauseFunction){const e=[];for(const t of r)await this._whereClauseFunction(t)&&e.push(t);e.length>0&&(yield e)}else yield r}async queryStat(e){if(null!==this._whereClauseFunction)return null==e.where&&null==e.spatialFilter?this._manualStat(e.stat,e.field,e.limit??1e3,e.abortSignal):{calculated:!1};let t=this._whereClause;null!=e.where&&null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,e.where));const r=await this._parent.queryStat({...e,where:t});return r.calculated?r:null==e.where&&null==e.spatialFilter?this._manualStat(e.stat,e.field,e.limit??1e3,e.abortSignal):{calculated:!1}}async canQueryAggregate(e){if(null!==this._whereClauseFunction)return!1;let t=e.where;return null!=t?null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,t)):t=this._whereClause,this._parent.canQueryAggregate({...e,where:t})}async queryAggregate(e){let t=e.where;return null!=t?null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,t)):t=this._whereClause,this._parent.queryAggregate({...e,where:t})}getFieldsIndex(){return this._parent.getFieldsIndex()}}},30235(e,t,r){r.d(t,{A:()=>h});var i=r(48938),a=r(87449),s=r(11221),n=(r(33325),r(80609)),l=r(4576),o=r(39516),u=r(91075),d=r(53781),c=r(33143),y=r(20437);class h extends s.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerMemory",this._removeGeometry=!1,this._overrideFields=null,this._forceIsTable=!1,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),!0===e.isTable&&(this._forceIsTable=!0),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return 1e3}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}get gdbVersion(){return""}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||this._layer.objectIdField===r||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this._databaseType=0,this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,this.subtypeField=("subtypeField"in this._layer?this._layer.subtypeField:null)??"",this.subtypes="subtypes"in this._layer?this._layer.subtypes:null,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}isTable(){return this._forceIsTable||"isTable"in this._layer&&this._layer.isTable||"table"===this._layer.type||!this._layer.geometryType}async _queryAll(){return(await this.query({abortSignal:i._})).features}_queryLayerFeaturesJSON(e){return"queryFeaturesJSON"in this._layer?this._layer.queryFeaturesJSON(e):this._layer.source.queryFeaturesJSON(e)}async query(e){await this._ensureLoaded();let t=null,r=!1;if(null!=e.orderBy&&(t=e.orderBy.toOrderByFields(),r=!0),this.isTable()&&null!=e.spatialFilter)return s.An;const i=this._createQuery();return i.where=(0,o.mA)(i.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,n.YY)(e.where,0)),null!=e.spatialFilter&&(i.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),i.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),i.geometry=e.spatialFilter.geometry),i.outSpatialReference=this.spatialReference,i.orderByFields=t,i.num=e.limit,{filterApplied:!0,spatialFilterApplied:!0,ordered:r,features:async function*(){const t=await this._queryLayerFeaturesJSON(i);(0,a.dZ)(e.abortSignal);for(const e of(0,l.Ho)(t.features,this._maxQueryRate()))(0,s.Rn)(e,t.spatialReference??this.spatialReference.toJSON()),yield e}.apply(this)}}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new a.dr("NeverReach")}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,e.outFields=this._overrideFields??["*"],e.returnGeometry=!this._removeGeometry,e}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}relationshipMetadata(){return[]}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}static create(e,t){let r=e.layerDefinition.objectIdField;const i=e.layerDefinition.typeIdField??"",a=[];if(e.layerDefinition.types)for(const t of e.layerDefinition.types)a.push(c.A.fromJSON(t));let s=e.layerDefinition.geometryType;void 0===s&&(s=e.featureSet.geometryType||"");let n=e.featureSet.features;if(!r){let t=!1;for(const i of e.layerDefinition.fields)if("oid"===i.type||"esriFieldTypeOID"===i.type){r=i.name,t=!0;break}if(!1===t){let t="FID",i=!0,a=0;for(;i;){let r=!0;for(const i of e.layerDefinition.fields)if(i.name===t){r=!1;break}!0===r?i=!1:(a++,t="FID"+a.toString())}e.layerDefinition.fields.push({type:"esriFieldTypeOID",name:t,alias:t});const s=[];for(let r=0;r<n.length;r++)s.push({geometry:e.featureSet.features[r].geometry,attributes:{...e.featureSet.features[r].attributes,[t]:r}});n=s,r=t}}const l=[];for(const t of e.layerDefinition.fields)t instanceof y.A?l.push(t):l.push(y.A.fromJSON(t));let o=s;switch(o||(o=""),o){case"esriGeometryPoint":o="point";break;case"esriGeometryPolyline":o="polyline";break;case"esriGeometryPolygon":o="polygon";break;case"esriGeometryEnvelope":o="extent";break;case"esriGeometryMultipoint":o="multipoint";break;case"":case"esriGeometryNull":o="esriGeometryNull"}if("esriGeometryNull"!==o){const e=t.toJSON();for(const t of n)t.geometry&&t.geometry instanceof u.A==0&&(t.geometry.type=o,void 0===t.geometry.spatialReference&&(t.geometry.spatialReference=e))}else for(const e of n)e.geometry&&(e.geometry=null);const p={outFields:["*"],source:n,fields:l,hasZ:!0===e.layerDefinition.hasZ||!0===e.featureSet.hasZ,hasM:!0===e.layerDefinition.hasM||!0===e.featureSet.hasM,types:a,typeIdField:i,objectIdField:r,spatialReference:t},f="esriGeometryNull"===o||null===o;f||(p.geometryType=o);const m=new d.default(p);return e.layerDefinition.subtypeField&&e.layerDefinition.subtypes&&m.read({subtypes:e.layerDefinition.subtypes,subtypeField:e.layerDefinition.subtypeField}),new h({layer:m,spatialReference:t,isTable:f})}async queryAttachments(){return[]}async getFeatureByObjectId(e){const t=this._createQuery();t.where=this.objectIdField+"="+e.toString();const r=await this._queryLayerFeaturesJSON(t);return 1===r.features.length?((0,s.Rn)(r.features,r.spatialReference??this.spatialReference.toJSON()),r.features[0]):null}serviceUrl(){return""}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return"preferredTimeZone"in this._layer?this._layer.preferredTimeZone:null}get dateFieldsTimeZone(){return"dateFieldsTimeZone"in this._layer?this._layer.dateFieldsTimeZone:null}get datesInUnknownTimezone(){return"datesInUnknownTimezone"in this._layer&&this._layer.datesInUnknownTimezone}get editFieldsInfo(){return"editFieldsInfo"in this._layer?this._layer.editFieldsInfo:null}get timeInfo(){return"timeInfo"in this._layer?this._layer.timeInfo:null}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}},88930(e,t,r){r.d(t,{S1:()=>l,lL:()=>u,mi:()=>o,rb:()=>d,t:()=>c});var i=r(97770),a=(r(98623),r(92647));const s=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,n={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function l(e,t,r,s="system"){if("unknown"===r)return e;const n=new a.oh((0,i.wj)(s)),l=a.c9.fromJSDate(e,{zone:n}),o="decades"===r||"centuries"===r?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(r);return"decades"===r&&(t*=10),"centuries"===r&&(t*=100),l.plus({[o]:t}).toJSDate()}function o(e,t,r="milliseconds"){const i=e.getTime(),a=c(t,r,"milliseconds");return new Date(i+a)}function u(e,t,r="system"){const{unit:s}=t,n=Math.max(1,Math.trunc(t.value)),l=new a.oh((0,i.wj)(r)),o=a.c9.fromJSDate(e,{zone:l}),u=e=>e-e%n;switch(s){case"milliseconds":return o.startOf("second").plus({millisecond:u(o.millisecond)}).toJSDate();case"seconds":return o.startOf("minute").plus({second:u(o.second)}).toJSDate();case"minutes":return o.startOf("hour").plus({minute:u(o.minute)}).toJSDate();case"hours":return o.startOf("day").plus({hour:u(o.hour)}).toJSDate();case"days":return o.startOf("month").plus({day:u(o.day-1)}).toJSDate();case"weeks":{const e=o.startOf("year").startOf("week"),t=Math.floor(o.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return o.startOf("year").plus({month:u(o.month-1)}).toJSDate();case"years":case"decades":case"centuries":{const e=o.startOf("year"),t=("decades"===s?10:"centuries"===s?100:1)*n,r=e.year-e.year%t;return e.set({year:r}).toJSDate()}case"unknown":return e}}function d(e){const t=s.exec(e);if(!t)return null;const{hh:r,mm:i,ss:a,ms:l}=t.groups;return Number(r)*n.hours+Number(i)*n.minutes+Number(a||0)*n.seconds+Number(l||0)}function c(e,t,r){return 0===e?0:e*n[t]/n[r]}},4146(e,t,r){r.d(t,{A:()=>g});var i=r(5482),a=r(11254),s=r(49186),n=r(65529),l=r(4902),o=r(92474),u=r(53966),d=r(17676),c=r(84952),y=r(91429),h=r(5443),p=r(16930),f=r(92602),m=r(79677);let _=0,g=class extends((0,n.Zt)((0,l.s)(o.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new h.A(-180,-90,180,90,p.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+_++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=p.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(r.bind(r,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(9917),r.e(812),r.e(9362)]).then(r.bind(r,45613));try{return await i(t)}catch(e){const r=t?.portalItem,i=r?.id||"unset",a=r?.portal?.url||f.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+a+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,d.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,c.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,a.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,y.MZ)({type:String})],g.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],g.prototype,"effectiveVisible",null),(0,i.Cg)([(0,y.MZ)({type:h.A})],g.prototype,"fullExtent",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],g.prototype,"hasAttributionData",null),(0,i.Cg)([(0,y.MZ)({type:String,clonable:!1})],g.prototype,"id",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,nonNullable:!0})],g.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,y.MZ)({type:["show","hide","hide-children"]})],g.prototype,"listMode",void 0),(0,i.Cg)([(0,y.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],g.prototype,"opacity",void 0),(0,i.Cg)([(0,y.MZ)({clonable:!1})],g.prototype,"parent",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],g.prototype,"parsedUrl",null),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],g.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean})],g.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean})],g.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,y.MZ)({type:p.A})],g.prototype,"spatialReference",void 0),(0,i.Cg)([(0,y.MZ)({type:String})],g.prototype,"title",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],g.prototype,"type",void 0),(0,i.Cg)([(0,y.MZ)()],g.prototype,"url",void 0),(0,i.Cg)([(0,y.MZ)({type:m.A})],g.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,nonNullable:!0})],g.prototype,"visible",void 0),g=(0,i.Cg)([(0,y.$K)("esri.layers.Layer")],g)},52136(e,t,r){var i=r(5482),a=r(91429);r.d(t,["p",0,e=>{const t=e;let r=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,a.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,a.$K)("esri.layers.mixins.APIKeyMixin")],r),r}])},28032(e,t,r){r.d(t,{A:()=>o});var i=r(5482),a=r(69540),s=r(25482),n=r(91429),l=r(56400);let o=class extends((0,a.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,n.MZ)()],o.prototype,"creatorField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"creationDateField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"editorField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"editDateField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"realm",void 0),(0,i.Cg)([(0,n.MZ)((0,l.P6)("dateFieldsTimeReference",!0))],o.prototype,"timeZone",void 0),o=(0,i.Cg)([(0,n.$K)("esri.layers.support.EditFieldsInfo")],o)},33143(e,t,r){r.d(t,{A:()=>c});var i=r(5482),a=r(69540),s=r(25482),n=r(91429),l=r(8631),o=r(29005),u=r(36005),d=r(43937);let c=class extends((0,a.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],c.prototype,"readDomains",null),(0,i.Cg)([(0,d.K)("domains")],c.prototype,"writeDomains",null),(0,i.Cg)([(0,n.MZ)({type:[o.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,i.Cg)([(0,n.$K)("esri.layers.support.FeatureType")],c)},37352(e,t,r){r.d(t,{A:()=>o});var i,a=r(5482),s=r(7762),n=r(25482),l=r(91429);let o=i=class extends n.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,a.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],o.prototype,"floorField",void 0),(0,a.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],o.prototype,"viewAllMode",void 0),(0,a.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],o.prototype,"viewAllLevelIds",void 0),o=i=(0,a.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],o)},45067(e,t,r){r.d(t,{A:()=>d});var i=r(5482),a=r(69540),s=r(66552),n=r(25482),l=r(91429);const o=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let d=class extends((0,a.OU)(n.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:o.read,write:o.write}})],d.prototype,"cardinality",void 0),(0,i.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],d.prototype,"catalogId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],d.prototype,"composite",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],d.prototype,"keyField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],d.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],d.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],d.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],d.prototype,"role",void 0),d=(0,i.Cg)([(0,l.$K)("esri.layers.support.Relationship")],d)},41560(e,t,r){r.d(t,{Ch:()=>n,mW:()=>s});var i=r(34727),a=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function n(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],d(r)),t[1]=Math.min(t[1],c(i));return t}(e);if(s&&((0,i.gg)(t,s[0])||(0,i.ZH)(r,s[1])))return"";const n=Array.from(l(e,t,r)),o=function(e,t,r){if(0===e.length)return!0;const a=d(e.at(0)?.minScale),s=c(e.at(-1)?.maxScale);if((0,i.ZH)(a,t)||(0,i.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],a=e[t+1];if((0,i.ZH)(d(a.minScale),c(r.maxScale)))return!0}return!1}(n,t,r)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,a.IW)(e,t),"");return o&&"1=1"!==o?o:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)o(i.minScale,i.maxScale,t,r)&&(yield i)}}function o(e,t,r,a){return e=d(e),r=d(r),t=c(t),!(!(0,i.Sp)(r,e)&&(a??r)>e||(0,i.Hx)(t,r)||void 0!==a&&(0,i.Sp)(a,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function d(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},77548(e,t,r){r.d(t,{Gh:()=>q,tk:()=>C,BR:()=>v,p2:()=>I,qd:()=>A,wI:()=>T,G$:()=>L,$x:()=>R,Ov:()=>w,cM:()=>y,UC:()=>h,Qz:()=>p,OP:()=>M,TU:()=>g,F2:()=>f,XX:()=>_,Qi:()=>F,jy:()=>b});var i=r(70333),a=r(11254),s=r(7762),n=(r(84952),r(36563)),l=r(36708),o=r(4146);const u=new WeakMap;function d(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,l.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof o.A)&&("catalog-dynamic-group"===t.type||d(t))},t=>u.set(e,t),l.pc),(0,n.hA)(()=>u.delete(e))]),u.get(e))}function c(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function y(e){return c(e,"knowledge-graph")&&"layers"in e}function h(e){return c(e,"knowledge-graph-sublayer")}function p(e){return c(e,"link-chart")&&"layers"in e}function f(e){return c(e,"subtype-group")&&"sublayers"in e}function m(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}r(16215);const _={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function g(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function w(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function F(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function b(e){return function(e){return c(e,"catalog-footprint")}(e)||function(e){return c(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return c(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function S(e){const t=e?.type;return"binning"===t||"cluster"===t}function I(e,t){if(!b(e))return;const r=t?.graphic,i="featureReduction"in e?e.featureReduction:null;if(r){if(r.isAggregate){const e=r.origin;return e&&"featureReductionProvider"in e&&i?S(i)?i:null:void 0}return e}return t?.checkFeatureReduction&&i?S(i)?i:null:e}async function T(e,t){const r=i.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const n=`${e.slice(0,s)}/rest/info`,l=null!=t?t.signal:null,{data:o}=await(0,a.A)(n,{query:{f:"json"},responseType:"json",signal:l});return o?.owningSystemUrl||null}function v(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"dimension-feature":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"parquet":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function C(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function A(e){const t=new s.A;for(const r of e.allLayers.concat(e.allTables))d(r)||m(r)||"annotation-feature"===r.type||"dimension-feature"===r.type||("charts"in r&&t.push(r),"subtype-group"===r.type&&t.push(...r.sublayers));return t}function R(e,t){return null}function L(e){return null}function M(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function q(e,t){if(!t||!M(e))return;const r=(e.url,null);r&&(e.url=r)}},73133(e,t,r){const i=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"});r.d(t,["j",0,i])},10536(e,t,r){function i(e){const t={};for(const r in e){if("declaredClass"===r)continue;const a=e[r];if(null!=a&&"function"!=typeof a)if(Array.isArray(a)){t[r]=[];for(let e=0;e<a.length;e++)t[r][e]=i(a[e])}else"object"==typeof a?a.toJSON&&(t[r]=JSON.stringify(a)):t[r]=a}return t}r.d(t,{z:()=>i})},17126(e,t,r){r.d(t,{dw:()=>n,qD:()=>l,qW:()=>o});var i=r(11254),a=r(21325),s=r(10536);function n(e,t){const r=e.toJSON();return r.objectIds&&(r.objectIds=r.objectIds.join(",")),r.orderByFields&&(r.orderByFields=r.orderByFields.join(",")),r.outFields&&!t?.returnCountOnly?r.outFields.includes("*")?r.outFields="*":r.outFields=r.outFields.join(","):delete r.outFields,r.outSR&&(r.outSR=(0,a.YX)(r.outSR)),r.dynamicDataSource&&(r.layer=JSON.stringify({source:r.dynamicDataSource}),delete r.dynamicDataSource),r}async function l(e,t,r){const i=await u(e,t,r),a=i.data,s=a.geometryType,n=a.spatialReference,l={};for(const e of a.relatedRecordGroups){const t={fields:void 0,geometryType:s,spatialReference:n,hasZ:!!a.hasZ,hasM:!!a.hasM,features:e.relatedRecords};if(null!=e.objectId)l[e.objectId]=t;else for(const r of Object.keys(e))"relatedRecords"!==r&&(l[e[r]]=t)}return{...i,data:l}}async function o(e,t,r){const i=await u(e,t,r,{returnCountOnly:!0}),a=i.data,s={};for(const e of a.relatedRecordGroups)null!=e.objectId&&(s[e.objectId]=e.count);return{...i,data:s}}async function u(e,t,r={},a){const l=(0,s.z)({...e.query,f:"json",...a,...n(t,a)});return(0,i.A)(e.path+"/queryRelatedRecords",{...r,query:{...r.query,...l}})}},16215(e,t,r){r.d(t,{S:()=>a});const i=Symbol("BasemapInstance");function a(e){return null!=e&&"object"==typeof e&&i in e}r.d(t,["Y",0,i])},79677(e,t,r){r.d(t,{A:()=>c});var i,a=r(5482),s=r(25482),n=r(88930),l=r(91429),o=(r(98623),r(10184)),u=r(36005),d=r(43937);let c=class extends s.o{static{i=this}static get allTime(){return y}static get empty(){return h}static fromArray(e){return new i({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,a=e.end?.getTime()??e.end;return t===i&&r===a}expandTo(e,t="system"){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let r=this.start;r&&(r=(0,n.lL)(r,new o.A({value:1,unit:e}),t));let a=this.end;if(a){const r=(0,n.lL)(a,new o.A({value:1,unit:e}),t);a=a.getTime()===r.getTime()?r:(0,n.S1)(r,1,e,t)}return new i({start:r,end:a})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,a=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let n,l;return a>=t&&a<=r?n=a:t>=a&&t<=s&&(n=t),r>=a&&r<=s?l=r:s>=t&&s<=r&&(l=s),null==n||null==l||isNaN(n)||isNaN(l)?i.empty:new i({start:n===-1/0?null:new Date(n),end:l===1/0?null:new Date(l)})}offset(e,t,r="system"){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const a=new i,{start:s,end:l}=this;return null!=s&&(a.start=(0,n.S1)(s,e,t,r)),null!=l&&(a.end=(0,n.S1)(l,e,t,r)),a}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return y.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:r})}};(0,a.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"end",void 0),(0,a.Cg)([(0,u.w)("end")],c.prototype,"readEnd",null),(0,a.Cg)([(0,d.K)("end")],c.prototype,"writeEnd",null),(0,a.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],c.prototype,"isAllTime",null),(0,a.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],c.prototype,"isEmpty",null),(0,a.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],c.prototype,"start",void 0),(0,a.Cg)([(0,u.w)("start")],c.prototype,"readStart",null),(0,a.Cg)([(0,d.K)("start")],c.prototype,"writeStart",null),c=i=(0,a.Cg)([(0,l.$K)("esri.time.TimeExtent")],c);const y=new c,h=new c({start:void 0,end:void 0})},10184(e,t,r){r.d(t,{A:()=>d});var i=r(5482),a=r(69540),s=r(25482),n=r(88930),l=r(91429),o=r(73133),u=r(93223);let d=class extends((0,a.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,n.t)(this.value,this.unit,"milliseconds")}};(0,i.Cg)([(0,u.e)(o.j,{nonNullable:!0})],d.prototype,"unit",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],d.prototype,"value",void 0),d=(0,i.Cg)([(0,l.$K)("esri.time.TimeInterval")],d)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5399],{76553(e,t,i){function o(e){return e&&"getAtOrigin"in e&&"originOf"in e}i.d(t,{H:()=>o})},13069(e,t,i){i.d(t,{AG:()=>a,lk:()=>r,vD:()=>n,yS:()=>s});const o="randomUUID"in crypto;function r(){if(o)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 n(){return`{${r()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},60408(e,t,i){function o(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 n(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":n(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":o(e)?"esriGeometryEnvelope":r(e)?"esriGeometryMultipoint":null:null}function d(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function p(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>d,Rg:()=>n,U9:()=>r,W0:()=>p,ZC:()=>o,fT:()=>s,uW:()=>l})},61528(e,t,i){i.r(t);var o=i(5482),r=i(11254),s=i(69540),n=i(49186),a=i(44208),l=i(53966),u=i(25728),d=i(17676),p=i(36708),h=i(91429),c=i(87024),y=i(5443),g=i(16930),f=i(4146),m=i(52136),v=i(18768),_=i(69208),S=i(34287),C=i(8303),M=i(25036),A=i(10873),T=i(58325),w=i(88546),x=i(20655),Z=i(24212),b=i(97159),R=i(16215),P=i(72772),G=i(98697),k=i(36005);let E=class extends((0,v.b)((0,S.q)((0,C.A)((0,M.j)((0,u.M)((0,_.d)((0,m.p)((0,s.OU)(f.A))))))))){readModifications(e,t,i){this._modificationsSource={url:(0,b.f)(e,i),context:i}}initialize(){this.addHandles([(0,p.on)(()=>this.modifications,"after-changes",()=>{this.modifications=this.modifications,this._modificationsGeneration++},p.OH),(0,p.wB)(()=>this.modifications,()=>this._modificationsGeneration++)])}constructor(e){super(e),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=w.Zx,this.fullExtent=w.zq,this.esriCrsSpatialReference=null,this.esriCrsFullExtent=null,this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this._rootTilesetJSON=null,this._rootTileset=null,this._key=null,this._session=null,this._rootRequestPromise=null,this.queryElevationCallback=null,this._modificationsGeneration=0,this._simulateGoogleUrl=!1}get supportedSpatialReferences(){return this.initialized&&this.esriCrsSpatialReference?[w.Zx,this.esriCrsSpatialReference]:[w.Zx]}get fullExtents(){return this.initialized&&this.esriCrsFullExtent?[w.zq,this.esriCrsFullExtent]:[w.zq]}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}get rootTilesetJSON(){return this._rootTilesetJSON}get rootTileset(){return this._rootTileset}get key(){return this._key}get session(){return this._session}_findSessionParameter(e){const t=[e];for(;t?.length>0;){const e=t.pop();if(!e)return;for(const[i,o]of Object.entries(e)){if("uri"===i)try{const e=new URL("https://tmp"+o).searchParams.get("session");if(e)return e}catch(e){}"object"==typeof o&&null!==o&&t.push(o)}}return null}async requestRootAndSession(e){const t=(e,t)=>new n.A("3dtiles-init:"+e,t);return this._rootRequestPromise||(this._rootRequestPromise=new Promise((i,o)=>{this.url||o(t("url-missing","Layer url missing")),this._key=this.customParameters?this.customParameters.key:null,new Promise((e,i)=>{if(this.replacesTerrain&&!this._key){const o=this.portalItem?.portal||this.parent?.portalItem?.portal||x.A.getDefault();o.signIn().then(()=>{o.g3dTilesEnabled?(0,r.A)(o.restUrl+"/portals/self/modules/g3dtiles",{responseType:"json",query:{f:"json"}}).then(t=>{this._key=t.data.keyString,e()},()=>i(t("g3dtiles-key-error","Error fetching Google 3D Tiles key from portal"))):i(t("g3dTilesEnabled-false","Google 3D Tiles are not enabled on Portal "+o.url))},()=>i(t("sign-in-failed","Error signing in to Portal")))}else e()}).then(()=>{(0,r.A)(this.url,{query:this._key?{key:this._key,token:this.apiKey}:{token:this.apiKey},responseType:"array-buffer",signal:e}).then(e=>{try{this._rootTilesetJSON=JSON.parse((new TextDecoder).decode(e.data))}catch(e){return void o(t("root-parse-failed","Error parsing root tile, details: "+e))}this._rootTilesetJSON?(this._session=this._findSessionParameter(this._rootTilesetJSON),this._rootTileset=e.data,this.fullExtent=(0,w.uB)(this._rootTilesetJSON),(0,w._8)(this._rootTilesetJSON)&&(this.esriCrsFullExtent=(0,w.uB)(this._rootTilesetJSON,!0),this.esriCrsSpatialReference=this.esriCrsFullExtent.spatialReference,this.spatialReference=this.esriCrsSpatialReference),i(),this._rootRequestPromise=null):o(t("root-is-null","Root tile is null."))},e=>{(0,d.QP)(e),o(t("root-load-failed","Error loading root tile")),this._rootRequestPromise=null,l.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",e)})},e=>o(e))})),this._rootRequestPromise}_haveWGS84ZModifications(e){for(const t of e){if(!t.geometry?.spatialReference)return!0;if(115700===t.geometry?.spatialReference.vcsWkid&&4326===t.geometry?.spatialReference.wkid)return!0}return!1}async _doLoad(e){const t=null!=e?e.signal:null;if(this.isUsedAsGroundLayer&&!(0,a.A)("enable-feature:basemap-groundlayers"))throw new n.A("3dtiles-init:not-supported-in-groundlayers","Layer is not supported in basemap.");try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("IntegratedMesh"))return!0;throw new n.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},e)}catch(e){(0,d.QP)(e)}if(null!=this._modificationsSource){const t=await T.A.fromUrl(this._modificationsSource.url,this.spatialReference,e,!0);if(this._haveWGS84ZModifications(t)){await(0,P.initialize)();try{const e=(0,G.Ir)(null,t.toArray(),g.A.WGS84),i=(0,P.switchMeshModificationPolygonVCSSync)({modifications:e,inVCS:115700});i.success&&i.modifications&&(0,G.H1)(i.modifications,t)}catch(e){l.A.getLogger(this).error("convert-mesh-modification-z-error","Error when converting:",e)}}this.setAtOrigin("modifications",t,this._modificationsSource.context.origin),this._modificationsSource=null}await this.requestRootAndSession(t)}async beforeSave(){if(null==this._modificationsSource){const{modifications:e}=this;return void(e&&e.length>0&&await(0,P.initialize)())}await this.load().then(()=>{},()=>{})}get memoizedElevationQueryDependencies(){return[this.loadStatus,null!=this.queryElevationCallback,(0,Z.M7)(this.elevationInfo),this._modificationsGeneration]}get hasAttributionData(){return!1}_validateElevationInfo(e){const t="Integrated mesh 3d tiles layers";(0,Z.XF)(l.A.getLogger(this),(0,Z.B)(t,"absolute-height",e)),(0,Z.XF)(l.A.getLogger(this),(0,Z.tW)(t,e))}get replacesTerrain(){return!!(0,a.A)("enable-feature:basemap-groundlayers")&&this.hasGoogleUrl&&this.isUsedAsGroundLayer}get isUsedAsGroundLayer(){return(0,R.S)(this.parent)}get hasGoogleUrl(){return this._simulateGoogleUrl||!!this.url?.match(/.+\.googleapis.com/)}get test(){}};(0,o.Cg)([(0,h.MZ)({type:["IntegratedMesh3DTilesLayer"]})],E.prototype,"operationalLayerType",void 0),(0,o.Cg)([(0,h.MZ)({type:T.A,clonable:e=>e?.clone()??null}),(0,c.P)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],E.prototype,"modifications",void 0),(0,o.Cg)([(0,h.MZ)({clonable:e=>e?{...e}:null})],E.prototype,"_modificationsSource",void 0),(0,o.Cg)([(0,k.w)(["web-scene","portal-item"],"modifications")],E.prototype,"readModifications",null),(0,o.Cg)([(0,h.MZ)({type:g.A})],E.prototype,"spatialReference",void 0),(0,o.Cg)([(0,h.MZ)({type:y.A})],E.prototype,"fullExtent",void 0),(0,o.Cg)([(0,h.MZ)({readOnly:!0})],E.prototype,"supportedSpatialReferences",null),(0,o.Cg)([(0,h.MZ)({type:[y.A]})],E.prototype,"fullExtents",null),(0,o.Cg)([(0,h.MZ)(A.Yj)],E.prototype,"elevationInfo",null),(0,o.Cg)([(0,h.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,o.Cg)([(0,h.MZ)(A.OZ)],E.prototype,"url",void 0),(0,o.Cg)([(0,h.MZ)({readOnly:!0})],E.prototype,"type",void 0),(0,o.Cg)([(0,h.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],E.prototype,"path",void 0),(0,o.Cg)([(0,h.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"minScale",void 0),(0,o.Cg)([(0,h.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"maxScale",void 0),(0,o.Cg)([(0,h.MZ)()],E.prototype,"queryElevationCallback",void 0),(0,o.Cg)([(0,h.MZ)()],E.prototype,"_modificationsGeneration",void 0),(0,o.Cg)([(0,h.MZ)()],E.prototype,"memoizedElevationQueryDependencies",null),(0,o.Cg)([(0,h.MZ)({readOnly:!0})],E.prototype,"hasAttributionData",null),(0,o.Cg)([(0,h.MZ)()],E.prototype,"replacesTerrain",null),(0,o.Cg)([(0,h.MZ)()],E.prototype,"isUsedAsGroundLayer",null),(0,o.Cg)([(0,h.MZ)()],E.prototype,"hasGoogleUrl",null),(0,o.Cg)([(0,h.MZ)()],E.prototype,"_simulateGoogleUrl",void 0),E=(0,o.Cg)([(0,h.$K)("esri.layers.IntegratedMesh3DTilesLayer")],E);const I=E;i.d(t,["default",0,I])},52136(e,t,i){var o=i(5482),r=i(91429);i.d(t,["p",0,e=>{const t=e;let i=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,o.Cg)([(0,r.MZ)({type:String})],i.prototype,"apiKey",null),i=(0,o.Cg)([(0,r.$K)("esri.layers.mixins.APIKeyMixin")],i),i}])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9506],{49590(e,t,n){n.d(t,{e:()=>d,l:()=>f});var r=n(86211),o=n(86742),i=n(5808);let l,s,a,u;function c(){return!!l&&(0,o.s1)()}async function f(){if(!c()){const[e]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,o.Hh)()]);l=e.fromGeometry,s=e.fromSpatialReference,a=e.getSpatialReference,u=(0,o.fz)()}}function d(e,t={}){const{curveType:n="geodesic",unit:u}=t,c=a(e);let f=(0,o.g7)(l(e),s(c),i.O[n]);return f&&u&&(f=(0,r.oU)(f,"square-meters",u)),f}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:d,isLoaded:c,load:f,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}));n.d(t,["g",0,p])},89506(e,t,n){n.d(t,{execute:()=>r.e,load:()=>r.l}),n(86211),n(86742);var r=n(49590)},86742(e,t,n){n.d(t,{Hh:()=>l,fz:()=>a,g7:()=>s,s1:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function l(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(2024),n.e(6558)]).then(n.bind(n,6558)),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(8344)]).then(n.bind(n,15756)).then(({injectPe:e})=>e),(0,r.l)()]);o=new e.OperatorGeodeticArea,t(r.p)}}function s(e,t,n){return o.execute(e,t,n,null)}function a(){return o.supportsCurves()}},5808(e,t,n){n.d(t,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])}}]);