@arcgis/core 4.34.0-next.1 → 4.34.0-next.10

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 (736) hide show
  1. package/Map.js +1 -1
  2. package/WebScene.js +1 -1
  3. package/analysis/DimensionAnalysis.js +1 -1
  4. package/analysis/LineOfSightAnalysis.js +1 -1
  5. package/analysis/ViewshedAnalysis.js +1 -1
  6. package/applications/ExperienceBuilder/sketchUtils.d.ts +1 -0
  7. package/applications/ExperienceBuilder/sketchUtils.js +1 -1
  8. package/arcade/Voxel.js +1 -1
  9. package/arcade/functions/knowledgegraph.js +1 -1
  10. package/assets/esri/core/workers/RemoteClient.js +1 -1
  11. package/assets/esri/core/workers/chunks/0039dee1337160366112.js +1 -0
  12. package/assets/esri/core/workers/chunks/074498a4d685223ec058.js +1 -0
  13. package/assets/esri/core/workers/chunks/{54ea93f416ab52b413c1.js → 076f830d6d0337dfce9d.js} +1 -1
  14. package/assets/esri/core/workers/chunks/09907c9ff597df9bc954.js +1 -0
  15. package/assets/esri/core/workers/chunks/0dbb350ce651bc236ec8.js +1 -0
  16. package/assets/esri/core/workers/chunks/0ed4ec00ef16aa58a33d.js +1 -0
  17. package/assets/esri/core/workers/chunks/{ead5d4e271effc04def3.js → 1415d4e2f5f3193be004.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{0624ae07d3af8d5f1ac8.js → 15b3eb60f86954783fab.js} +1 -1
  19. package/assets/esri/core/workers/chunks/18011c691e0aca4144dd.js +1 -0
  20. package/assets/esri/core/workers/chunks/1dc1084eb34748a35d35.js +1 -0
  21. package/assets/esri/core/workers/chunks/1f315f0eeb26dad1addd.js +1 -0
  22. package/assets/esri/core/workers/chunks/2254989ca3ff3960f2fe.js +1 -0
  23. package/assets/esri/core/workers/chunks/2dc54925d473a959119c.js +1 -0
  24. package/assets/esri/core/workers/chunks/2e1ceff3f88a6c78dfa2.js +1 -0
  25. package/assets/esri/core/workers/chunks/{847e88e1d6da1e74cdc8.js → 2ecc1057d53e0b4a60b7.js} +1 -1
  26. package/assets/esri/core/workers/chunks/3025e420e13e2bc8c0a1.js +1 -0
  27. package/assets/esri/core/workers/chunks/{ece68a25651ef03fc95d.js → 342f61e784c9364a493b.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{0d23610475c85385fbff.js → 355e6bcdb401ada71f39.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{bba6d7615d8f3862fe70.js → 36f0046ff6b46adce7b7.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{1c86aa3802d9ae0230ae.js → 3916879b9ca8c6979011.js} +1 -1
  31. package/assets/esri/core/workers/chunks/3a74654fa539f78ceb86.js +1 -0
  32. package/assets/esri/core/workers/chunks/3adcf78ed1e7cd82666d.js +1 -0
  33. package/assets/esri/core/workers/chunks/3b63edcd34f832ac7bd8.js +1 -0
  34. package/assets/esri/core/workers/chunks/{b0522dffa5600345c07e.js → 3e85e63148b5e93d3074.js} +1 -1
  35. package/assets/esri/core/workers/chunks/4088f4c25a09932a3eb1.js +1 -0
  36. package/assets/esri/core/workers/chunks/427318722815bef1496b.js +1 -0
  37. package/assets/esri/core/workers/chunks/464c15b2779f9b803a06.js +1 -0
  38. package/assets/esri/core/workers/chunks/49089731ecfe7e8bb2f6.js +1 -0
  39. package/assets/esri/core/workers/chunks/4c3bd6cc0badb78c7112.js +1 -0
  40. package/assets/esri/core/workers/chunks/4e0bae3671fe1c7efa76.js +1 -0
  41. package/assets/esri/core/workers/chunks/500fb5f615f0c1db1b66.js +1 -0
  42. package/assets/esri/core/workers/chunks/52c34d6ecd9d45a33e69.js +1 -0
  43. package/assets/esri/core/workers/chunks/539541dec5fcf3b657aa.js +1 -0
  44. package/assets/esri/core/workers/chunks/{fa63b0f7fa799cb2f81d.js → 562800b0af52a38a311b.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{b87fec1753f164c845c5.js → 58f403f956b7b3467344.js} +1 -1
  46. package/assets/esri/core/workers/chunks/5bfcb3d87380e7f85b08.js +1 -0
  47. package/assets/esri/core/workers/chunks/5d3246b8fc50f9d9e2c4.js +1 -0
  48. package/assets/esri/core/workers/chunks/5e539ce4751bcfa57145.js +1 -0
  49. package/assets/esri/core/workers/chunks/{6ee41e9c92ed8ba4c763.js → 5ef1095842e21090f1f4.js} +1 -1
  50. package/assets/esri/core/workers/chunks/6194636638b0439fccd8.js +1 -0
  51. package/assets/esri/core/workers/chunks/{9fc35ec8185beba96715.js → 632d1a1287dde980479e.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{1d043965dcdc11b3aeaa.js → 63852887b3f07d50f7c9.js} +1 -1
  53. package/assets/esri/core/workers/chunks/6a86fee4e945e61d9639.js +1 -0
  54. package/assets/esri/core/workers/chunks/6b0ae9ccdd1acef5b5b4.js +1 -0
  55. package/assets/esri/core/workers/chunks/6d90887dc605261dd7b3.js +1 -0
  56. package/assets/esri/core/workers/chunks/72ea996b03932c0f004f.js +1 -0
  57. package/assets/esri/core/workers/chunks/7317346ed8d7c5bb859d.js +1 -0
  58. package/assets/esri/core/workers/chunks/74276044cb75b51967f2.js +1 -0
  59. package/assets/esri/core/workers/chunks/766e08d0c56b2b31b63b.js +1 -0
  60. package/assets/esri/core/workers/chunks/{bd7b54db7fd278b15500.js → 7a2189614f2dad49ffcd.js} +1 -1
  61. package/assets/esri/core/workers/chunks/7ae88c141a5d85e5bb88.js +1 -0
  62. package/assets/esri/core/workers/chunks/7aef81778155be373d3e.js +1 -0
  63. package/assets/esri/core/workers/chunks/7e1906d35a764f7f10b0.js +1 -0
  64. package/assets/esri/core/workers/chunks/7fa46d1e9fcd8c0c6302.js +1 -0
  65. package/assets/esri/core/workers/chunks/{06eb4832b6c86744e52e.js → 8008f5479f4d16964088.js} +1 -1
  66. package/assets/esri/core/workers/chunks/80777a9db53bee2ad8a8.js +1 -0
  67. package/assets/esri/core/workers/chunks/81614beb51405d064a6c.js +1 -0
  68. package/assets/esri/core/workers/chunks/83db8bd42f94f97c7cf1.js +1 -0
  69. package/assets/esri/core/workers/chunks/88b1214c284c2ec7d51b.js +1 -0
  70. package/assets/esri/core/workers/chunks/91d484960df25ec9554b.js +1 -0
  71. package/assets/esri/core/workers/chunks/92a5dccb328229a9336b.js +1 -0
  72. package/assets/esri/core/workers/chunks/948c5454881e661c3bdc.js +1 -0
  73. package/assets/esri/core/workers/chunks/{631205dc4d73d49ec9ed.js → 95507ff0a243e451b99e.js} +1 -1
  74. package/assets/esri/core/workers/chunks/9cb242dfc3765b590f51.js +1 -0
  75. package/assets/esri/core/workers/chunks/{1051a5a57b2fb843a555.js → 9cd55043f3d789f41815.js} +1 -1
  76. package/assets/esri/core/workers/chunks/9ddb0b07be31c3747238.js +1 -0
  77. package/assets/esri/core/workers/chunks/9f0f1472f36b42c507d1.js +1 -0
  78. package/assets/esri/core/workers/chunks/{ac2607f1e8cd2e99907c.js → 9f964467f7353039dd9c.js} +3 -3
  79. package/assets/esri/core/workers/chunks/9fe62638dc7dce466612.js +1 -0
  80. package/assets/esri/core/workers/chunks/a2e9141ff4efd13413a1.js +66 -0
  81. package/assets/esri/core/workers/chunks/a693cd3af2e995972252.js +1 -0
  82. package/assets/esri/core/workers/chunks/a6fb75929e456f87f804.js +1 -0
  83. package/assets/esri/core/workers/chunks/aaa564c84ee8ea36fbb4.js +1 -0
  84. package/assets/esri/core/workers/chunks/ad4f65d764654c70a117.js +1 -0
  85. package/assets/esri/core/workers/chunks/adf6982e2d8102669cdf.js +1 -0
  86. package/assets/esri/core/workers/chunks/af0d7a7cbbaad47a49c6.js +1 -0
  87. package/assets/esri/core/workers/chunks/af2f2df3c43b49ad1a70.js +1 -0
  88. package/assets/esri/core/workers/chunks/b09539a4b491a90a6bbe.js +1 -0
  89. package/assets/esri/core/workers/chunks/{d9b2263e0a9f9068ab62.js → b6c3a2d93a59df9a1418.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{d7b640f7a181bd26c7c7.js → bac5e1d50b69f0d94694.js} +1 -1
  91. package/assets/esri/core/workers/chunks/bbbd58b02a3ee8fe595e.js +1 -0
  92. package/assets/esri/core/workers/chunks/{9ca480eb8b2312381ccf.js → bcadcb709e622f2aaaf9.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{6993a59cbb78bc26f029.js → c45a314ace9725aa250e.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{c16e0da7a19310c71e8b.js → c6cd8784a3e222eb2d4a.js} +1 -1
  95. package/assets/esri/core/workers/chunks/{571252c9822d73cf7b01.js → c6fa79ce324122e08dbb.js} +1 -1
  96. package/assets/esri/core/workers/chunks/c8856370bae65d9eeb2b.js +1 -0
  97. package/assets/esri/core/workers/chunks/{97c148adf0347c69a79c.js → c9604f8df909ec4fad46.js} +1 -1
  98. package/assets/esri/core/workers/chunks/c96fed4889712f5a9135.js +1 -0
  99. package/assets/esri/core/workers/chunks/{faa40ef04604c7cce706.js → cb63ea6a53d3c2fc3179.js} +1 -1
  100. package/assets/esri/core/workers/chunks/cc37bfa72c34bc2ef993.js +1 -0
  101. package/assets/esri/core/workers/chunks/cfc5e0ec9b0290407383.js +1 -0
  102. package/assets/esri/core/workers/chunks/{9a06476b834584d00d5c.js → d0372bac0c5f4fbed468.js} +1 -1
  103. package/assets/esri/core/workers/chunks/d28d874c1337b69fedc0.js +1 -0
  104. package/assets/esri/core/workers/chunks/{54f4a1131f99468db076.js → d33a5d79f2163ad62b1d.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{0bbb38f59f37c51c72f0.js → d45a4e5806a80b69ceec.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{7a23dc625a812a562c21.js → d5f770302dc686e55ba7.js} +1 -1
  107. package/assets/esri/core/workers/chunks/d942cb9cf82b1c056979.js +1 -0
  108. package/assets/esri/core/workers/chunks/dc14507cfc052faa5890.js +1 -0
  109. package/assets/esri/core/workers/chunks/{ca60b34c3e1ed2ff5934.js → dd2b316baae02bbdddac.js} +1 -1
  110. package/assets/esri/core/workers/chunks/dea3e131bbd48cc48e1a.js +346 -0
  111. package/assets/esri/core/workers/chunks/df84863cb0600f658541.js +1 -0
  112. package/assets/esri/core/workers/chunks/e0ae33206f519b159b49.js +1 -0
  113. package/assets/esri/core/workers/chunks/e7589c39b13295af8f1d.js +1 -0
  114. package/assets/esri/core/workers/chunks/e7a440476cd1eb4c6547.js +1 -0
  115. package/assets/esri/core/workers/chunks/{e3c1aea34ece8336dae1.js → e9aa1d9ded8a52a40c57.js} +1 -1
  116. package/assets/esri/core/workers/chunks/eb23ce385b0d18959c7c.js +1 -0
  117. package/assets/esri/core/workers/chunks/{80b596496800e8d60eb8.js → ed75e0962358523f4439.js} +1 -1
  118. package/assets/esri/core/workers/chunks/ede9738ac20e7dd5ce63.js +1 -0
  119. package/assets/esri/core/workers/chunks/eec034d88db320880133.js +1 -0
  120. package/assets/esri/core/workers/chunks/f2aa8090827086c62dde.js +1 -0
  121. package/assets/esri/core/workers/chunks/f48eb59b94ba8b7d4d72.js +1 -0
  122. package/assets/esri/core/workers/chunks/f5741d09fd4e1809f580.js +1 -0
  123. package/assets/esri/core/workers/chunks/fe3832107278244dc04d.js +1 -0
  124. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  125. package/assets/esri/themes/base/widgets/_Directions.scss +1 -1
  126. package/assets/esri/themes/dark/main.css +1 -1
  127. package/assets/esri/themes/light/main.css +1 -1
  128. package/assets/esri/themes/light/view.css +1 -1
  129. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
  130. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
  131. package/assets/esri/widgets/Editor/t9n/Editor.json +1 -1
  132. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  133. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  134. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  135. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  136. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  137. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  138. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  139. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  140. package/assets/esri/widgets/Editor/t9n/Editor_en.json +1 -1
  141. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  142. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  143. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  144. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  145. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  146. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  147. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  148. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  149. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  150. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  151. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  152. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  153. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  154. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  155. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  156. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  157. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  158. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  159. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  160. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  161. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  162. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  163. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  164. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  165. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  166. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  167. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  168. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  169. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  170. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  171. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  172. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable.json +1 -1
  173. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  174. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  175. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  176. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  177. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  178. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  179. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  180. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  181. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_en.json +1 -1
  182. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  183. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  184. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  185. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  186. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  187. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  188. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  189. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  190. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  191. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  192. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  193. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  194. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  195. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  196. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  197. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  198. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  199. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  200. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  201. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  202. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  203. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  204. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  205. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  206. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  207. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  208. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  209. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  210. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  211. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  212. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  213. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  214. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  215. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  216. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  217. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  218. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  219. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  220. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  221. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  222. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  223. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  224. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  225. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  226. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  227. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  228. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  229. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  230. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  231. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  232. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  233. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  234. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  235. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  236. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  237. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  238. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  239. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  240. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  241. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  242. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  243. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  244. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  245. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  246. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  247. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  248. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  249. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  250. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  251. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  252. package/chunks/FocusAreaColor.glsl.js +10 -8
  253. package/chunks/FocusAreaMask.glsl.js +1 -1
  254. package/chunks/Laserlines.glsl.js +2 -2
  255. package/chunks/aiServices.js +1 -1
  256. package/chunks/cameraUtilsSpherical.js +1 -1
  257. package/chunks/persistableUrlUtils.js +1 -1
  258. package/chunks/sphere.js +1 -1
  259. package/chunks/vec42.js +1 -1
  260. package/config.js +1 -1
  261. package/core/accessorSupport/decorators/persistable.js +1 -1
  262. package/core/accessorSupport/ensureType.js +1 -1
  263. package/core/libs/gl-matrix-2/math/quat.js +1 -1
  264. package/core/libs/gl-matrix-2/math/vec4.js +1 -1
  265. package/core/workers/Connection.js +1 -1
  266. package/core/workers/RemoteClient.js +1 -1
  267. package/core/workers/WorkerHandle.js +1 -1
  268. package/effects/FocusArea.d.ts +4 -0
  269. package/effects/FocusArea.js +5 -0
  270. package/effects/FocusAreaOutline.d.ts +4 -0
  271. package/effects/FocusAreaOutline.js +5 -0
  272. package/effects/FocusAreas.d.ts +4 -0
  273. package/effects/FocusAreas.js +5 -0
  274. package/form/elements/GroupElement.js +1 -1
  275. package/form/elements/inputs.js +1 -1
  276. package/form/elements.js +1 -1
  277. package/geometry/projection/projectPointToVector.js +1 -1
  278. package/geometry/projection/projectVectorToPoint.js +1 -1
  279. package/geometry/projection/projectVectorToVector.js +1 -1
  280. package/geometry/projection.js +1 -1
  281. package/geometry/projectionUtils.js +5 -0
  282. package/geometry/support/frustum.js +1 -1
  283. package/geometry/support/meshUtils/elevation.js +1 -1
  284. package/geometry/support/meshUtils/extent.js +1 -1
  285. package/geometry/support/sphere.js +1 -1
  286. package/geometry.js +1 -1
  287. package/interfaces.d.ts +745 -567
  288. package/kernel.js +1 -1
  289. package/layers/BuildingSceneLayer.js +1 -1
  290. package/layers/CatalogLayer.js +1 -1
  291. package/layers/GeoJSONLayer.js +1 -1
  292. package/layers/GroupLayer.js +1 -1
  293. package/layers/ImageryLayer.js +1 -1
  294. package/layers/ImageryTileLayer.js +1 -1
  295. package/layers/MapNotesLayer.js +1 -1
  296. package/layers/OGCFeatureLayer.js +1 -1
  297. package/layers/RouteLayer.js +1 -1
  298. package/layers/VideoLayer.js +1 -1
  299. package/layers/WFSLayer.js +1 -1
  300. package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
  301. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  302. package/layers/graphics/applyEditsUtils.js +1 -1
  303. package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
  304. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  305. package/layers/graphics/data/QueryEngine.js +1 -1
  306. package/layers/graphics/data/projectionSupport.js +1 -1
  307. package/layers/graphics/data/queryUtils.js +1 -1
  308. package/layers/graphics/editingSupport.js +1 -1
  309. package/layers/graphics/sources/support/CSVSourceWorker.js +1 -1
  310. package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
  311. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  312. package/layers/mixins/ImageryTileMixin.js +1 -1
  313. package/layers/mixins/operationalLayerModuleMap.js +1 -1
  314. package/layers/mixins/operationalLayers.js +1 -1
  315. package/layers/ogc/wfsUtils.js +1 -1
  316. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  317. package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
  318. package/layers/orientedImagery/transformations/updateElevationUtils.js +1 -1
  319. package/layers/orientedImagery/transformations/utils.js +1 -1
  320. package/layers/support/BuildingSummaryStatistics.js +1 -1
  321. package/layers/support/ControlPointsGeoreference.js +1 -1
  322. package/layers/support/CornersGeoreference.js +1 -1
  323. package/layers/support/ElevationQuery.js +1 -1
  324. package/layers/support/ExtentAndRotationGeoreference.js +1 -1
  325. package/layers/support/GeoreferenceBase.js +1 -1
  326. package/layers/support/LocalMediaElementSource.js +1 -1
  327. package/layers/support/MediaElementView.js +1 -1
  328. package/layers/support/PolygonCollection.js +1 -1
  329. package/layers/support/PromiseQueue.js +1 -1
  330. package/layers/support/SceneModification.js +1 -1
  331. package/layers/support/TelemetryDisplay.js +1 -1
  332. package/layers/support/TitleCreator.js +1 -1
  333. package/layers/support/arcgisLayers.js +1 -1
  334. package/layers/support/featurePopupQueryUtils.js +5 -0
  335. package/layers/support/fieldUtils.js +1 -1
  336. package/layers/support/layersCreator.js +1 -1
  337. package/layers/support/multiLayerServiceUtils.js +5 -0
  338. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  339. package/layers/video/VideoController.js +1 -1
  340. package/layers/video/videoUtils.js +1 -1
  341. package/networks/CircuitManager.js +1 -1
  342. package/networks/UnitIdentifierManager.js +1 -1
  343. package/networks/UtilityNetwork.js +1 -1
  344. package/networks/support/UNTraceConfiguration.js +1 -1
  345. package/networks/support/typeUtils.js +1 -1
  346. package/package.json +1 -1
  347. package/portal/PortalItem.js +1 -1
  348. package/portal/schemas/definitions.js +1 -1
  349. package/portal/schemas/webScene.js +1 -1
  350. package/portal/support/layersLoader.js +1 -1
  351. package/portal/support/portalItemUtils.js +1 -1
  352. package/portal/support/portalLayers.js +1 -1
  353. package/rasterRenderers.js +1 -1
  354. package/renderers/RasterStretchRenderer.js +1 -1
  355. package/renderers/support/AuthoringInfoVisualVariable.js +1 -1
  356. package/renderers/support/RasterSymbolizer.js +1 -1
  357. package/renderers/support/colorRampUtils.js +1 -1
  358. package/renderers/support/rasterRendererHelper.js +1 -1
  359. package/renderers.js +1 -1
  360. package/rest/featureService/FeatureService.js +1 -1
  361. package/rest/knowledgeGraph/GraphAddFieldIndexResult.js +5 -0
  362. package/rest/knowledgeGraph/GraphAddNamedTypesResult.js +1 -1
  363. package/rest/knowledgeGraph/GraphAddPropertyResult.js +1 -1
  364. package/rest/knowledgeGraph/GraphDataModelOperationResult.js +5 -0
  365. package/rest/knowledgeGraph/GraphDeleteFieldIndexResult.js +5 -0
  366. package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.js +1 -1
  367. package/rest/knowledgeGraph/GraphDeletePropertyResult.js +1 -1
  368. package/rest/knowledgeGraph/GraphUpdateNamedTypesResult.js +1 -1
  369. package/rest/knowledgeGraph/GraphUpdatePropertyResult.js +1 -1
  370. package/rest/knowledgeGraph/GraphUpdateSearchIndexResult.js +1 -1
  371. package/rest/knowledgeGraph/wasmInterface/updateToWasmEncodedFactories.js +1 -1
  372. package/rest/knowledgeGraph/wasmInterface/wasmToDataModelChangeResponseFactories.js +1 -1
  373. package/rest/knowledgeGraphService.js +1 -1
  374. package/rest/locator/locationToAddress.js +1 -1
  375. package/rest/networks/circuits/queryCircuits.js +1 -1
  376. package/rest/networks/circuits/support/QueryCircuitsParameters.js +1 -1
  377. package/rest/networks/queryAssociations.js +1 -1
  378. package/rest/networks/support/CircuitPath.js +5 -0
  379. package/rest/networks/support/CircuitPathConnectivityElement.js +5 -0
  380. package/rest/networks/support/CircuitTraceResult.js +5 -0
  381. package/rest/networks/support/TraceLocation.js +1 -1
  382. package/rest/networks/support/TraceResult.js +1 -1
  383. package/rest/networks/unitIdentifiers/support/{QueryUnitIdentifiersParamters.js → QueryUnitIdentifiersParameters.js} +1 -1
  384. package/rest/support/LocationToAddressParameters.js +1 -1
  385. package/rest/support/geocodeEnums.js +5 -0
  386. package/smartMapping/renderers/pieChart.js +1 -1
  387. package/smartMapping/renderers/predominance.js +1 -1
  388. package/smartMapping/renderers/size.js +1 -1
  389. package/smartMapping/renderers/support/rendererUtils.js +1 -1
  390. package/smartMapping/renderers/support/spikeUtils.d.ts +4 -0
  391. package/smartMapping/renderers/support/spikeUtils.js +1 -1
  392. package/smartMapping/statistics/histogram.js +1 -1
  393. package/smartMapping/statistics/summaryStatistics.js +1 -1
  394. package/support/persistableUrlUtils.js +1 -1
  395. package/support/revision.js +1 -1
  396. package/symbols/cim/animationUtils.js +1 -1
  397. package/symbols/cim/cimAnalyzer.js +1 -1
  398. package/symbols/cim/defaultCIMValues.js +1 -1
  399. package/symbols/cim/effects/EffectEnclosingPolygon.js +1 -1
  400. package/symbols/cim/utils.js +1 -1
  401. package/symbols/support/ElevationInfo.d.ts +4 -0
  402. package/symbols/support/ElevationInfo.js +1 -1
  403. package/symbols/support/FeatureExpressionInfo.d.ts +4 -0
  404. package/symbols/support/FeatureExpressionInfo.js +1 -1
  405. package/symbols/support/cimSymbolUtils.js +1 -1
  406. package/symbols/support/previewCIMSymbol.js +1 -1
  407. package/symbols.js +1 -1
  408. package/undoredo/support/Services.js +1 -1
  409. package/views/2d/ViewStateManager.js +1 -1
  410. package/views/2d/constraints/GeometryConstraint.js +1 -1
  411. package/views/2d/engine/Bitmap.js +1 -1
  412. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  413. package/views/2d/engine/vectorTiles/GlyphMosaic.js +1 -1
  414. package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
  415. package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
  416. package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
  417. package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
  418. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  419. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  420. package/views/2d/engine/webgl/Overlay.js +1 -1
  421. package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
  422. package/views/2d/engine/webgl/SpriteMosaic.js +1 -1
  423. package/views/2d/engine/webgl/animations/infos.js +1 -1
  424. package/views/2d/engine/webgl/animations/instructions.js +1 -1
  425. package/views/2d/engine/webgl/animations/utils.js +1 -1
  426. package/views/2d/engine/webgl/brushes/WGLBrushTileDebugInfo.js +1 -1
  427. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  428. package/views/2d/engine/webgl/effects/post-processing/Colorize.js +1 -1
  429. package/views/2d/engine/webgl/effects/post-processing/DropShadow.js +1 -1
  430. package/views/2d/engine/webgl/effects/post-processing/Opacity.js +1 -1
  431. package/views/2d/engine/webgl/shaderGraph/techniques/GraphicInstanceStore.js +1 -1
  432. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueRegistry.js +1 -1
  433. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueType.js +1 -1
  434. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedPolyShader.js +5 -0
  435. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +5 -0
  436. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +5 -0
  437. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedLineShader.js +5 -0
  438. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
  439. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
  440. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedPolyMeshWriters.js +5 -0
  441. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechnique.js +1 -1
  442. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechniques.js +5 -0
  443. package/views/2d/engine/webgl/shaderGraph/techniques/animated/ComputedAnimatedParams.js +5 -0
  444. package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +5 -0
  445. package/views/2d/engine/webgl/shaderGraph/techniques/animated/enums.js +1 -1
  446. package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
  447. package/views/2d/engine/webgl/shaderGraph/techniques/createGraphicSymbolMeshSchemas.js +1 -1
  448. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityResources.js +1 -1
  449. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineMeshWriter.js +1 -1
  450. package/views/2d/engine/webgl/shaderGraph/techniques/magnifier/MagnifierTechnique.js +1 -1
  451. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  452. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterRegistry.js +1 -1
  453. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/textureUtils.js +1 -1
  454. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexFillShader.js +1 -1
  455. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  456. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  457. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
  458. package/views/2d/grid/GridView2D.js +1 -1
  459. package/views/2d/interactive/editingTools/ControlPointsTransformTool.js +1 -1
  460. package/views/2d/interactive/editingTools/TransformTool.js +1 -1
  461. package/views/2d/layers/KMLLayerView2D.js +1 -1
  462. package/views/2d/layers/MediaLayerView2D.js +1 -1
  463. package/views/2d/layers/TileLayerView2D.js +1 -1
  464. package/views/2d/layers/VideoLayerView2D.js +1 -1
  465. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  466. package/views/2d/layers/features/schema/processor/symbols/utils.js +1 -1
  467. package/views/2d/viewpointUtils.js +1 -1
  468. package/views/3d/FocusAreasView.js +1 -1
  469. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementPathHelper.js +1 -1
  470. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  471. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  472. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  473. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  474. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  475. package/views/3d/analysis/support/projectionUtils.js +1 -1
  476. package/views/3d/camera/constraintUtils/distance.js +1 -1
  477. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  478. package/views/3d/environment/EnvironmentManager.js +1 -1
  479. package/views/3d/environment/LocalAtmosphere.js +1 -1
  480. package/views/3d/environment/MarsAtmosphere.js +1 -1
  481. package/views/3d/interactive/Manipulator3D.js +1 -1
  482. package/views/3d/interactive/editingTools/dragEventPipeline3D.js +1 -1
  483. package/views/3d/interactive/editingTools/media/MediaElementControllerControlPoints.js +1 -1
  484. package/views/3d/interactive/editingTools/media/MediaElementControllerShape.js +1 -1
  485. package/views/3d/interactive/editingTools/reshape/ReshapeTool3D.js +1 -1
  486. package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
  487. package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
  488. package/views/3d/interactive/visualElements/support/Segment.js +1 -1
  489. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  490. package/views/3d/layers/DrapedSubView3D.js +1 -1
  491. package/views/3d/layers/DynamicLayerView3D.js +1 -1
  492. package/views/3d/layers/FeatureLayerView3D.js +1 -1
  493. package/views/3d/layers/FlowSubView3D.js +1 -1
  494. package/views/3d/layers/I3SMeshView3D.js +1 -1
  495. package/views/3d/layers/I3SMeshWorkerHandle.js +1 -1
  496. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  497. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  498. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  499. package/views/3d/layers/SceneLayerWorker.js +1 -1
  500. package/views/3d/layers/SubView3D.js +1 -1
  501. package/views/3d/layers/TileLayerView3D.js +1 -1
  502. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  503. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  504. package/views/3d/layers/graphics/Graphics3DFeatureStore.js +1 -1
  505. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  506. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  507. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  508. package/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +1 -1
  509. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  510. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  511. package/views/3d/layers/graphics/focusAreaStyle.js +1 -1
  512. package/views/3d/layers/graphics/graphicUtils.js +1 -1
  513. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  514. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
  515. package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
  516. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  517. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  518. package/views/3d/layers/support/DefinitionExpressionSceneLayerView.js +1 -1
  519. package/views/3d/layers/support/FeatureVisibilityFilter.js +1 -1
  520. package/views/3d/layers/support/ImageHighlightHelper3D.js +1 -1
  521. package/views/3d/layers/support/PopupSceneLayerView.js +1 -1
  522. package/views/3d/state/NearFarHeuristic.js +1 -1
  523. package/views/3d/state/ViewStateManager.js +1 -1
  524. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  525. package/views/3d/state/utils/navigationUtils.js +1 -1
  526. package/views/3d/support/cameraUtils.js +1 -1
  527. package/views/3d/support/engineContent/marker.js +1 -1
  528. package/views/3d/support/geometryUtils/sphere.js +1 -1
  529. package/views/3d/support/sunUtils.js +1 -1
  530. package/views/3d/support/viewpointUtils.js +1 -1
  531. package/views/3d/terrain/ExtentHelper.js +1 -1
  532. package/views/3d/terrain/OverlayManager.js +1 -1
  533. package/views/3d/terrain/OverlayRenderer.js +1 -1
  534. package/views/3d/terrain/TerrainRenderer.js +1 -1
  535. package/views/3d/terrain/TerrainSurface.js +1 -1
  536. package/views/3d/terrain/TileRenderer.js +1 -1
  537. package/views/3d/webgl/RenderCamera.js +1 -1
  538. package/views/3d/webgl/RenderNode.js +1 -1
  539. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  540. package/views/3d/webgl-engine/core/renderPasses/AllRenderPasses.js +1 -1
  541. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  542. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +3 -3
  543. package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
  544. package/views/3d/webgl-engine/effects/focusArea/FocusAreaEffect.js +5 -0
  545. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  546. package/views/3d/webgl-engine/effects/focusArea/FocusAreaOutlineItem.js +5 -0
  547. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  548. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechniqueConfiguration.js +1 -1
  549. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  550. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  551. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  552. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  553. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  554. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  555. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  556. package/views/3d/webgl-engine/materials/stippleTextureRepository.js +1 -1
  557. package/views/3d/webgl-engine/shaders/CompositingTechniqueConfiguration.js +1 -1
  558. package/views/3d/webgl-engine/shaders/FocusAreaColor.glsl.js +1 -1
  559. package/views/SceneView.js +1 -1
  560. package/views/SelectionManager.js +1 -1
  561. package/views/VideoView.js +1 -1
  562. package/views/View2D.js +1 -1
  563. package/views/draw/support/GraphicMover.js +1 -1
  564. package/views/interactive/GraphicManipulator.js +1 -1
  565. package/views/interactive/dragEventPipeline.js +1 -1
  566. package/views/interactive/snapping/GridSnappingEngine.js +1 -1
  567. package/views/interactive/snapping/SnappingManager.js +1 -1
  568. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  569. package/views/layers/CatalogDynamicGroupLayerView.js +1 -1
  570. package/views/layers/CatalogFootprintLayerView.js +1 -1
  571. package/views/layers/FeatureLayerView.js +1 -1
  572. package/views/layers/ImageryLayerView.js +1 -1
  573. package/views/layers/ImageryTileLayerView.js +1 -1
  574. package/views/layers/PointCloudLayerView.js +1 -1
  575. package/views/layers/SceneLayerView.js +1 -1
  576. package/views/support/TextureCompressionTracker.js +5 -0
  577. package/views/support/imageReprojection.js +1 -1
  578. package/views/support/projectionUtils.js +1 -1
  579. package/views/webgl/RenderingContext.js +1 -1
  580. package/views/webgl/Texture.js +1 -1
  581. package/views/webgl/rasterUtils.js +1 -1
  582. package/webdoc/support/writeUtils.js +1 -1
  583. package/webmap/utils.js +1 -1
  584. package/webscene/Slide.js +1 -1
  585. package/widgets/Attachments.js +1 -1
  586. package/widgets/BasemapGallery/BasemapGalleryViewModel.js +1 -1
  587. package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
  588. package/widgets/BatchAttributeForm.js +1 -1
  589. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  590. package/widgets/CoordinateConversion/support/Format.js +1 -1
  591. package/widgets/Daylight/DaylightViewModel.js +1 -1
  592. package/widgets/Directions/DirectionsVisibleElements.js +1 -1
  593. package/widgets/Directions/css.js +1 -1
  594. package/widgets/Directions.js +1 -1
  595. package/widgets/Editor/AddAssociationWorkflowData.js +1 -1
  596. package/widgets/Editor/EditorViewModel.js +1 -1
  597. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  598. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  599. package/widgets/Editor/UpdateFeaturesWorkflowData.js +1 -1
  600. package/widgets/Editor/UpdateRecordWorkflowData.js +1 -1
  601. package/widgets/Editor/UpdateWorkflow.js +1 -1
  602. package/widgets/Editor/Upload.js +1 -1
  603. package/widgets/Editor/components/Notices.js +1 -1
  604. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  605. package/widgets/Editor/support/SketchController.js +1 -1
  606. package/widgets/Editor/workflowUtils.js +1 -1
  607. package/widgets/Editor.js +1 -1
  608. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  609. package/widgets/Expand.js +1 -1
  610. package/widgets/Feature/support/featureUtils.js +1 -1
  611. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
  612. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  613. package/widgets/FeatureForm/VisibleElements.js +1 -1
  614. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  615. package/widgets/FeatureForm.js +1 -1
  616. package/widgets/FeatureTable/FieldColumn.js +1 -1
  617. package/widgets/FeatureTable/Grid/EditorColumn.js +1 -1
  618. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  619. package/widgets/Features/FeaturesViewModel.js +1 -1
  620. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  621. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  622. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  623. package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
  624. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  625. package/widgets/OrientedImageryViewer/components/SequentialNavigationUI.js +1 -1
  626. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  627. package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
  628. package/widgets/OrientedImageryViewer/videoViewerUtils.js +5 -0
  629. package/widgets/OrientedImageryViewer.js +1 -1
  630. package/widgets/Search/LocatorSearchSource.js +1 -1
  631. package/widgets/Search/SearchSource.js +1 -1
  632. package/widgets/Search/SearchViewModel.js +1 -1
  633. package/widgets/Search/support/locatorUtils.js +1 -1
  634. package/widgets/ShadowCast/DiscreteOptions.js +1 -1
  635. package/widgets/ShadowCast/DurationOptions.js +1 -1
  636. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  637. package/widgets/ShadowCast/ShadowCastVisibleElements.js +1 -1
  638. package/widgets/ShadowCast/ThresholdOptions.js +1 -1
  639. package/widgets/Sketch/SketchViewModel.js +1 -1
  640. package/widgets/Sketch.js +1 -1
  641. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  642. package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
  643. package/widgets/VideoPlayer/components/SettingsButton.js +1 -1
  644. package/widgets/VideoPlayer.js +1 -1
  645. package/widgets/support/AnchorElementViewModel.js +1 -1
  646. package/widgets/support/GridControls/GridControlsViewModel.js +1 -1
  647. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  648. package/widgets/support/SelectionToolbar.js +1 -1
  649. package/widgets/support/Selector2D/SelectionOperation.js +1 -1
  650. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  651. package/widgets/support/UtilityNetworkAssociations/utils/isFromElement.js +1 -1
  652. package/widgets/support/tests.js +1 -1
  653. package/assets/esri/core/workers/chunks/003ddb190a5cc56f7925.js +0 -1
  654. package/assets/esri/core/workers/chunks/094e8aae6dada24c8115.js +0 -1
  655. package/assets/esri/core/workers/chunks/0a770f283eb77c8dc97a.js +0 -1
  656. package/assets/esri/core/workers/chunks/0b70b2ee62904318a12c.js +0 -1
  657. package/assets/esri/core/workers/chunks/0c2dccec20c0994366fe.js +0 -1
  658. package/assets/esri/core/workers/chunks/0cf979a093e9744d1e80.js +0 -1
  659. package/assets/esri/core/workers/chunks/0fb5de3f8a4d69b2d514.js +0 -1
  660. package/assets/esri/core/workers/chunks/1d7f2abfccc54659d6f2.js +0 -1
  661. package/assets/esri/core/workers/chunks/1f9c6fbcd4d0eae1e574.js +0 -1
  662. package/assets/esri/core/workers/chunks/24327d01cb2c5c55a4b7.js +0 -1
  663. package/assets/esri/core/workers/chunks/253bcc3cc7bc4c2dc6ea.js +0 -1
  664. package/assets/esri/core/workers/chunks/2b1486a466760d2152f5.js +0 -1
  665. package/assets/esri/core/workers/chunks/2cf82d3645c75d311e99.js +0 -1
  666. package/assets/esri/core/workers/chunks/2d90806faa4269828948.js +0 -1
  667. package/assets/esri/core/workers/chunks/306e262f148b3057b11b.js +0 -1
  668. package/assets/esri/core/workers/chunks/32ee2708edd307954125.js +0 -1
  669. package/assets/esri/core/workers/chunks/36b0d6b4089a96475201.js +0 -1
  670. package/assets/esri/core/workers/chunks/377a7f0f7d304ff9fe5b.js +0 -1
  671. package/assets/esri/core/workers/chunks/3a743653b786b010a57f.js +0 -1
  672. package/assets/esri/core/workers/chunks/3bf1cf6c3cba172e2f6d.js +0 -1
  673. package/assets/esri/core/workers/chunks/3d7eedb787c1e3b9fbfc.js +0 -1
  674. package/assets/esri/core/workers/chunks/3fe7be535affae31de7e.js +0 -1
  675. package/assets/esri/core/workers/chunks/40f54c4f8ae63c6f3df9.js +0 -1
  676. package/assets/esri/core/workers/chunks/417293f00b2c21cc3175.js +0 -1
  677. package/assets/esri/core/workers/chunks/41cbba9b286cf5558a9c.js +0 -1
  678. package/assets/esri/core/workers/chunks/42d9989b2aad3ac28d4d.js +0 -1
  679. package/assets/esri/core/workers/chunks/465f2db4ab8aa9c9f907.js +0 -1
  680. package/assets/esri/core/workers/chunks/4ca0738ed38c15b68a77.js +0 -1
  681. package/assets/esri/core/workers/chunks/515e3295495d0958db7e.js +0 -1
  682. package/assets/esri/core/workers/chunks/51c31e6d014005107d42.js +0 -1
  683. package/assets/esri/core/workers/chunks/523046e04679e301797d.js +0 -1
  684. package/assets/esri/core/workers/chunks/536d7986ebb710a8a452.js +0 -1
  685. package/assets/esri/core/workers/chunks/55f087bca75c3f2a4515.js +0 -1
  686. package/assets/esri/core/workers/chunks/5617532299f73d186968.js +0 -1
  687. package/assets/esri/core/workers/chunks/56d2a20c1b143697aa19.js +0 -1
  688. package/assets/esri/core/workers/chunks/585c7b485c42555ec554.js +0 -346
  689. package/assets/esri/core/workers/chunks/5890740d5a761b038560.js +0 -1
  690. package/assets/esri/core/workers/chunks/5dbd8d81d94cfda5bb32.js +0 -1
  691. package/assets/esri/core/workers/chunks/5e1f7fe6bbc5754efee1.js +0 -1
  692. package/assets/esri/core/workers/chunks/62b2d3720693c93a60f2.js +0 -1
  693. package/assets/esri/core/workers/chunks/66e79aa02b3aa12b3778.js +0 -1
  694. package/assets/esri/core/workers/chunks/67338948e470c1251d8a.js +0 -66
  695. package/assets/esri/core/workers/chunks/6b23ca6570357f9fb724.js +0 -1
  696. package/assets/esri/core/workers/chunks/6d1e1a4fcb90ea8b6848.js +0 -1
  697. package/assets/esri/core/workers/chunks/6ecc3a3737ae8622dfa4.js +0 -1
  698. package/assets/esri/core/workers/chunks/85efb318cda7260221ae.js +0 -1
  699. package/assets/esri/core/workers/chunks/86023cc5ccbc7ac43479.js +0 -1
  700. package/assets/esri/core/workers/chunks/87eca6de502d18d8b7eb.js +0 -1
  701. package/assets/esri/core/workers/chunks/87fc7b6c3e2d4f7775e2.js +0 -1
  702. package/assets/esri/core/workers/chunks/937b653b10e8704b38bf.js +0 -1
  703. package/assets/esri/core/workers/chunks/98ef17d15517368d2383.js +0 -1
  704. package/assets/esri/core/workers/chunks/9cac00d4bfac14aaae12.js +0 -1
  705. package/assets/esri/core/workers/chunks/a036503087baa1f9fd00.js +0 -1
  706. package/assets/esri/core/workers/chunks/a0c35521e677459f6fa3.js +0 -1
  707. package/assets/esri/core/workers/chunks/aaa6d45316a7d3466d0f.js +0 -1
  708. package/assets/esri/core/workers/chunks/ae733c963d61065faa54.js +0 -1
  709. package/assets/esri/core/workers/chunks/b06cb23048c32940f5de.js +0 -1
  710. package/assets/esri/core/workers/chunks/b5d68d8460b7c15001dd.js +0 -1
  711. package/assets/esri/core/workers/chunks/bf3555f91492a1a3b613.js +0 -1
  712. package/assets/esri/core/workers/chunks/bf9b6b74654d303a6dae.js +0 -1
  713. package/assets/esri/core/workers/chunks/c6580fdcdc33153008b0.js +0 -1
  714. package/assets/esri/core/workers/chunks/c779335f5d5455c77a62.js +0 -1
  715. package/assets/esri/core/workers/chunks/c9ab067b07d1eab974d1.js +0 -1
  716. package/assets/esri/core/workers/chunks/d2ebb72a43d995ed368a.js +0 -1
  717. package/assets/esri/core/workers/chunks/d3d98ea5b5e56fc60a31.js +0 -1
  718. package/assets/esri/core/workers/chunks/d52f5214a0330ed2e05e.js +0 -1
  719. package/assets/esri/core/workers/chunks/d839a237d5edc243d645.js +0 -1
  720. package/assets/esri/core/workers/chunks/dbe10c20df7e0e563a0b.js +0 -1
  721. package/assets/esri/core/workers/chunks/df7ca2fe12e22ccfde17.js +0 -1
  722. package/assets/esri/core/workers/chunks/df933eac03dc63064723.js +0 -1
  723. package/assets/esri/core/workers/chunks/e04bcc98a557f77cc6fa.js +0 -1
  724. package/assets/esri/core/workers/chunks/e77371ddbaf4b2d9be8d.js +0 -1
  725. package/assets/esri/core/workers/chunks/e89345c7af9d3d4d8452.js +0 -1
  726. package/assets/esri/core/workers/chunks/ee6240636d04d7d37b7b.js +0 -1
  727. package/assets/esri/core/workers/chunks/f00f8609bf0d14b488b8.js +0 -1
  728. package/assets/esri/core/workers/chunks/fc0a3db3d6d26c763fb9.js +0 -1
  729. package/assets/esri/core/workers/chunks/fc61d02286b6ff5447cc.js +0 -1
  730. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerTechnique.js +0 -5
  731. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedShader.js +0 -5
  732. package/views/FocusArea.js +0 -5
  733. package/views/FocusAreaOutline.js +0 -5
  734. package/views/FocusAreaOutlineItem.js +0 -5
  735. package/views/FocusAreas.js +0 -5
  736. package/views/support/TextureCompressionHandle.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[13],{1626:(e,t,i)=>{i.d(t,{A:()=>p});var s,l=i(90237),r=i(4718),n=i(10107),o=(i(44208),i(53966),i(40608)),a=i(2485),u=i(72606);let p=s=class extends u.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart"}clone(){return new s({colorRamps:(0,r.o8)(this.colorRamps)})}};(0,l._)([(0,n.MZ)({type:[a.A],json:{write:!0}})],p.prototype,"colorRamps",void 0),(0,l._)([(0,n.MZ)({type:["multipart"]})],p.prototype,"type",void 0),p=s=(0,l._)([(0,o.$)("esri.rest.support.MultipartColorRamp")],p)},2024:(e,t,i)=>{i.d(t,{A:()=>u});var s,l=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),o=i(2795),a=i(72500);let u=s=class extends o.A{constructor(e){super(e),this.type="color",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)),this._set("stops",e)}clone(){return new s({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map((e=>e.clone())),legendOptions:this.legendOptions?.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,l._)([(0,r.MZ)({readOnly:!0})],u.prototype,"cache",null),(0,l._)([(0,r.MZ)({type:["color"],json:{type:["colorInfo"]}})],u.prototype,"type",void 0),(0,l._)([(0,r.MZ)({type:String,json:{write:!0}})],u.prototype,"normalizationField",void 0),(0,l._)([(0,r.MZ)({type:[a.A],json:{write:!0}})],u.prototype,"stops",null),u=s=(0,l._)([(0,n.$)("esri.renderers.visualVariables.ColorVariable")],u)},2485:(e,t,i)=>{i.d(t,{A:()=>d});var s,l=i(90237),r=i(68197),n=i(4718),o=i(10107),a=i(56507),u=i(93223),p=i(40608),c=i(72606);let d=s=class extends c.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new s({fromColor:(0,n.o8)(this.fromColor),toColor:(0,n.o8)(this.toColor),algorithm:this.algorithm})}};(0,l._)([(0,u.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],d.prototype,"algorithm",void 0),(0,l._)([(0,o.MZ)({type:r.A,json:{type:[a.jz],write:!0}})],d.prototype,"fromColor",void 0),(0,l._)([(0,o.MZ)({type:r.A,json:{type:[a.jz],write:!0}})],d.prototype,"toColor",void 0),(0,l._)([(0,o.MZ)({type:["algorithmic"]})],d.prototype,"type",void 0),d=s=(0,l._)([(0,p.$)("esri.rest.support.AlgorithmicColorRamp")],d)},2795:(e,t,i)=>{i.d(t,{A:()=>h});var s=i(90237),l=i(66552),r=i(25482),n=i(53966),o=i(10107),a=i(79901),u=i(40608),p=i(56507),c=i(41078);const d=new l.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"});let h=class extends r.A{constructor(e){super(e),this.index=null,this.type=null,this.field=null,this.valueExpression=null,this.valueExpressionTitle=null,this.legendOptions=null}castField(e){return null==e?e:"function"==typeof e?(n.A.getLogger(this).error(".field: field must be a string value"),null):(0,p.GX)(e)}get arcadeRequired(){return!!this.valueExpression}clone(){}getAttributeHash(){return`${this.type}-${this.field}-${this.valueExpression}`}};(0,s._)([(0,o.MZ)()],h.prototype,"index",void 0),(0,s._)([(0,o.MZ)({type:d.apiValues,readOnly:!0,json:{read:d.read,write:{writer:d.write,isRequired:!0}}})],h.prototype,"type",void 0),(0,s._)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,s._)([(0,a.w)("field")],h.prototype,"castField",null),(0,s._)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"valueExpression",void 0),(0,s._)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"valueExpressionTitle",void 0),(0,s._)([(0,o.MZ)({readOnly:!0})],h.prototype,"arcadeRequired",null),(0,s._)([(0,o.MZ)({type:c.A,json:{write:!0}})],h.prototype,"legendOptions",void 0),h=(0,s._)([(0,u.$)("esri.renderers.visualVariables.VisualVariable")],h)},12330:(e,t,i)=>{i.d(t,{A:()=>u});var s,l=i(90237),r=i(25482),n=i(90629),o=i(10107),a=(i(44208),i(53966),i(87811),i(40608));let u=s=class extends r.A{constructor(e){super(e),this.label=null,this.size=null,this.value=null,this.useMinValue=null,this.useMaxValue=null}clone(){return new s({label:this.label,size:this.size,value:this.value,useMaxValue:this.useMaxValue,useMinValue:this.useMinValue})}};(0,l._)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,l._)([(0,o.MZ)({type:Number,cast:n.cr,json:{write:{isRequired:!0}}})],u.prototype,"size",void 0),(0,l._)([(0,o.MZ)({type:Number,json:{write:{isRequired:!0}}})],u.prototype,"value",void 0),(0,l._)([(0,o.MZ)({type:Boolean,json:{write:!1}})],u.prototype,"useMinValue",void 0),(0,l._)([(0,o.MZ)({type:Boolean,json:{write:!1}})],u.prototype,"useMaxValue",void 0),u=s=(0,l._)([(0,a.$)("esri.renderers.visualVariables.support.SizeStop")],u)},20061:(e,t,i)=>{i.d(t,{A:()=>y});var s,l=i(90237),r=i(69540),n=i(66552),o=i(25482),a=i(10107),u=i(56507),p=(i(44208),i(87811),i(93223)),c=i(40608);const d=(0,n.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let h=s=class extends(r.A.ClonableMixin(o.A)){static from(e){return(0,u.PZ)(s,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,l._)([(0,p.e)(d)],h.prototype,"order",void 0),h=s=(0,l._)([(0,c.$)("esri.renderers.support.RendererLegendOptions")],h);const y=h},23461:(e,t,i)=>{i.d(t,{A:()=>a});var s,l=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),o=i(2795);let a=s=class extends o.A{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic"}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}clone(){return new s({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions?.clone()})}};(0,l._)([(0,r.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,l._)([(0,r.MZ)({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],a.prototype,"axis",void 0),(0,l._)([(0,r.MZ)({type:["rotation"],json:{type:["rotationInfo"]}})],a.prototype,"type",void 0),(0,l._)([(0,r.MZ)({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],a.prototype,"rotationType",void 0),a=s=(0,l._)([(0,n.$)("esri.renderers.visualVariables.RotationVariable")],a)},29266:(e,t,i)=>{i.d(t,{RV:()=>d,UT:()=>h,Yz:()=>v}),i(68197);var s=i(52106),l=i(21818),r=i(53966),n=i(31756),o=i(98205);const a=()=>r.A.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),u=e=>a().warn(`The visualVariable should be an instance of esri.renderers.visualVariables.${e}`),p=()=>a().error("Use of arcade expressions requires an arcade context"),c=(new s.A,Math.PI),d=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function h(e,t,i){const s="visualVariables"in e&&e.visualVariables?e.visualVariables.find((e=>"rotation"===e.type)):e;if(!s)return;if("esri.renderers.visualVariables.RotationVariable"!==s.declaredClass)return void u("RotationVariable");const l=s.axis||"heading",r="heading"===l&&"arithmetic"===s.rotationType?90:0,n="heading"===l&&"arithmetic"===s.rotationType?-1:1,o="number"==typeof t?null:t,a=o?.attributes,c=s.field,{hasExpression:d}=s.cache;let h=s.cache.compiledFunc,y=null;if(!c&&!d)return y;if(d){if(null==i?.arcade)return void p();const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,l=t.getViewInfo(e),r=t.createExecContext(o,l,i.timeZone);if(!h){const e=t.createSyntaxTree(s.valueExpression);h=t.createFunction(e),s.cache.compiledFunc=h}y=t.executeFunction(h,r)}else a&&(y=a[c]);return y="number"!=typeof y||isNaN(y)?null:r+n*y,y}function y(e,t,i){const s="visualVariables"in e&&e.visualVariables?e.visualVariables.find((e=>"size"===e.type)):e;if(!s)return;if("esri.renderers.visualVariables.SizeVariable"!==s.declaredClass)return void u("SizeVariable");const l=function(e,t,i,s,l){switch(t.transformationType){case o._w.Additive:return function(e,t,i,s){const l=m(t.minSize,i,s)||t.minDataValue;return null==e&&null==l?null:(e??0)+(l??0)}(e,t,i,s);case o._w.Constant:return function(e,t,i){const s=e.stops;let l=s?.length&&s[0].size;return null==l&&(l=e.minSize),m(l,t,i)}(t,i,s);case o._w.ClampedLinear:return function(e,t,i,s){const l=m(t.minSize,i,s);if(null==e)return l;const{minDataValue:r,maxDataValue:n}=t;if(null==r||null==n)return null;const o=(e-r)/(n-r),a=m(t.maxSize,i,s),u=null!=s?s.shape:void 0;if(e<=r)return l;if(e>=n)return a;if(null==l||null==a)return null;if("area"===t.scaleBy&&u){const e="circle"===u,t=e?c*(l/2)**2:l*l,i=t+o*((e?c*(a/2)**2:a*a)-t);return e?2*Math.sqrt(i/c):Math.sqrt(i)}return l+o*(a-l)}(e,t,i,s);case o._w.Proportional:return function(e,t,i,s){const l=m(t.minSize,i,s);if(null==e||null==l)return l;const r=null!=s?s.shape:void 0,{minDataValue:n}=t;if(null==n)return null;const o=e/n,a=m(t.maxSize,i,s);let u=null;return u="circle"===r?2*Math.sqrt(o*(l/2)**2):"square"===r||"diamond"===r||"image"===r?Math.sqrt(o*l**2):o*l,f(u,l,a)}(e,t,i,s);case o._w.Stops:return function(e,t,i,s,l){if(null==e)return null;const[r,n,o]=function(e,t){if(!t)return;let i=0,s=t.length-1;return t.some(((t,l)=>e<t?(s=l,!0):(i=l,!1))),[i,s,(e-t[i])/(t[s]-t[i])]}(e,l);if(r===n)return m(t.stops?.[r].size,i,s);{const e=m(t.stops?.[r].size,i,s),l=m(t.stops?.[n].size,i,s);return null==e||null==l?null:e+(l-e)*o}}(e,t,i,s,l);case o._w.RealWorldSize:return function(e,t,i,s){const l=(s?.resolution??1)*n.j[t.valueUnit],r=m(t.minSize,i,s),o=m(t.maxSize,i,s),{valueRepresentation:a}=t;if(null==e)return r;let u=null;return u="area"===a?2*Math.sqrt(e/c)/l:"radius"===a||"distance"===a?2*e/l:e/l,f(u,r,o)}(e,t,i,s);case o._w.Identity:return e;case o._w.Unknown:return null}}(function(e,t,i){const s="number"==typeof t,l=s?null:t,r=l?.attributes;let n=s?t:null;const{isScaleDriven:a}=e.cache;let u=e.cache.compiledFunc;if(a){const t=null!=i?i.scale:void 0,s=null!=i?i.view:void 0;n=null==t||"3d"===s?function(e){let t=null,i=null;const s=e.stops;return s?(t=s[0].value,i=s[s.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!s)switch(e.inputValueType){case o.Yf.Expression:{if(null==i?.arcade)return void p();const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},s=i.arcade.arcadeUtils,r=s.getViewInfo(t),o=s.createExecContext(l,r,i.timeZone);if(!u){const t=s.createSyntaxTree(e.valueExpression);u=s.createFunction(t),e.cache.compiledFunc=u}n=s.executeFunction(u,o);break}case o.Yf.Field:r&&(n=r[e.field]);break;case o.Yf.Unknown:n=null}if(!(0,o.gf)(n))return null;if(s||!e.normalizationField)return n;const c=r?parseFloat(r[e.normalizationField]):null;return(0,o.gf)(c)&&0!==c?n/c:null}(s,t,i),s,t,i,s.cache.ipData);return null==l||isNaN(l)?void 0:l}function m(e,t,i){return null==e?null:(0,o.of)(e)?y(e,t,i):(0,o.gf)(e)?e:null}function f(e,t,i){return(0,o.gf)(i)&&e>i?i:(0,o.gf)(t)&&e<t?t:e}function v(e,t,i){const s=["proportional","proportional","proportional"];for(const r of e){const e=r.useSymbolValue?"symbol-value":y(r,t,i)??"proportional";switch(r.axis){case"width":s[0]=e;break;case"depth":s[1]=e;break;case"height":s[2]=e;break;case"width-and-depth":s[0]=e,s[1]=e;break;case"all":case void 0:case null:s[0]=e,s[1]=e,s[2]=e;break;default:(0,l.Xb)(r.axis)}}return s}},30943:(e,t,i)=>{i.d(t,{A:()=>E});var s,l=i(90237),r=i(66552),n=i(25482),o=i(4718),a=i(10107),u=i(56507),p=i(36005),c=i(40608);i(44208),i(53966),i(87811);let d=s=class extends n.A{constructor(e){super(e),this.minValue=0,this.maxValue=0}clone(){return new s({minValue:this.minValue,maxValue:this.maxValue})}};var h;(0,l._)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"minValue",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxValue",void 0),d=s=(0,l._)([(0,c.$)("esri.renderers.support.AuthoringInfoClassBreakInfo")],d);let y=h=class extends n.A{constructor(e){super(e),this.field="",this.normalizationField="",this.label="",this.classBreakInfos=new Array}clone(){return new h({field:this.field,normalizationField:this.normalizationField,label:this.label,classBreakInfos:(0,o.o8)(this.classBreakInfos)})}};(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"normalizationField",void 0),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,l._)([(0,a.MZ)({type:[d],json:{write:!0}})],y.prototype,"classBreakInfos",void 0),y=h=(0,l._)([(0,c.$)("esri.renderers.support.AuthoringInfoFieldInfo")],y);var m,f=i(79901);let v=m=class extends n.A{constructor(e){super(e),this.label=null,this.size=null,this.value=null}clone(){return new m({label:this.label,value:this.value,size:this.size})}};(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],v.prototype,"label",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"size",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"value",void 0),v=m=(0,l._)([(0,c.$)("esri.renderers.support.AuthoringInfoSizeStop")],v);const b=v;var g;const w=new r.J({percentTotal:"percent-of-total",ratio:"ratio",percent:"percent"}),_=new r.J({sizeInfo:"size",colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation"}),V={key:e=>"number"==typeof e?"number":"string",typeMap:{number:Number,string:String},base:null},S=["high-to-low","above-and-below","centered-on","extremes"],x=[...new Set(["high-to-low","above-and-below","centered-on","extremes","above","below","high-to-low","above-and-below","above","below","reference-size","spike"])],M=["seconds","minutes","hours","days","months","years"];let z=g=class extends n.A{constructor(e){super(e),this.endTime=null,this.field=null,this.maxSliderValue=null,this.minSliderValue=null,this.startTime=null,this.type=null,this.units=null}castEndTime(e){return"string"==typeof e||"number"==typeof e?e:null}get normalizationField(){return"reference-size"===this.theme||"spike"===this.theme?this._get("normalizationField"):null}set normalizationField(e){this._set("normalizationField",e)}get referenceSizeScale(){return"reference-size"===this.theme?this._get("referenceSizeScale"):null}set referenceSizeScale(e){this._set("referenceSizeScale",e)}get referenceSizeSymbolStyle(){return"reference-size"===this.theme?this._get("referenceSizeSymbolStyle"):null}set referenceSizeSymbolStyle(e){this._set("referenceSizeSymbolStyle",e)}castStartTime(e){return"string"==typeof e||"number"==typeof e?e:null}get sizeStops(){return"reference-size"===this.theme||"spike"===this.theme?this._get("sizeStops"):null}set sizeStops(e){this._set("sizeStops",e)}get style(){return"color"===this.type?this._get("style"):null}set style(e){this._set("style",e)}get theme(){return"color"===this.type||"size"===this.type?this._get("theme")||"high-to-low":null}set theme(e){this._set("theme",e)}clone(){return new g({endTime:this.endTime,field:this.field,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,normalizationField:this.normalizationField,referenceSizeScale:this.referenceSizeScale,referenceSizeSymbolStyle:this.referenceSizeSymbolStyle,sizeStops:(0,o.o8)(this.sizeStops),startTime:this.startTime,style:this.style,theme:this.theme,type:this.type,units:this.units})}};(0,l._)([(0,a.MZ)({types:V,json:{write:!0}})],z.prototype,"endTime",void 0),(0,l._)([(0,f.w)("endTime")],z.prototype,"castEndTime",null),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],z.prototype,"field",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0}})],z.prototype,"maxSliderValue",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0}})],z.prototype,"minSliderValue",void 0),(0,l._)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"normalizationField",null),(0,l._)([(0,a.MZ)({type:Number,value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"referenceSizeScale",null),(0,l._)([(0,a.MZ)({type:["circle","diamond","hexagon-flat","hexagon-pointy","square"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"referenceSizeSymbolStyle",null),(0,l._)([(0,a.MZ)({types:V,json:{write:!0}})],z.prototype,"startTime",void 0),(0,l._)([(0,f.w)("startTime")],z.prototype,"castStartTime",null),(0,l._)([(0,a.MZ)({type:[b],json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"sizeStops",null),(0,l._)([(0,a.MZ)({type:w.apiValues,value:null,json:{type:w.jsonValues,read:w.read,write:w.write}})],z.prototype,"style",null),(0,l._)([(0,a.MZ)({type:x,value:null,json:{type:x,origins:{"web-scene":{type:S,write:{writer:(e,t)=>{S.includes(e)&&(t.theme=e)}}}},write:!0}})],z.prototype,"theme",null),(0,l._)([(0,a.MZ)({type:_.apiValues,json:{type:_.jsonValues,read:_.read,write:_.write}})],z.prototype,"type",void 0),(0,l._)([(0,a.MZ)({type:M,json:{type:M,write:!0}})],z.prototype,"units",void 0),z=g=(0,l._)([(0,c.$)("esri.renderers.support.AuthoringInfoVisualVariable")],z);const I=z;var A,j=i(95349);const Z=new r.J({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),F=new r.J({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),q=new r.J({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density"}),k=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers"];let E=A=class extends n.A{constructor(e){super(e),this.colorRamp=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?(0,j.r)(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new A({classificationMethod:this.classificationMethod,colorRamp:(0,o.o8)(this.colorRamp),fadeRatio:(0,o.o8)(this.fadeRatio),fields:this.fields?.slice(),field1:(0,o.o8)(this.field1),field2:(0,o.o8)(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map((e=>e.clone())),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};(0,l._)([(0,a.MZ)({type:Z.apiValues,value:null,json:{type:Z.jsonValues,read:Z.read,write:Z.write,origins:{"web-document":{default:"manual",type:Z.jsonValues,read:Z.read,write:Z.write}}}})],E.prototype,"classificationMethod",null),(0,l._)([(0,a.MZ)({types:j.g,json:{write:!0}})],E.prototype,"colorRamp",void 0),(0,l._)([(0,p.w)("colorRamp")],E.prototype,"readColorRamp",null),(0,l._)([(0,a.MZ)({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"fadeRatio",void 0),(0,l._)([(0,a.MZ)({type:[String],value:null,json:{write:!0}})],E.prototype,"fields",null),(0,l._)([(0,a.MZ)({type:y,value:null,json:{write:!0}})],E.prototype,"field1",null),(0,l._)([(0,a.MZ)({type:y,value:null,json:{write:!0}})],E.prototype,"field2",null),(0,l._)([(0,a.MZ)({type:["flow-line","wave-front"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],E.prototype,"flowTheme",null),(0,l._)([(0,a.MZ)({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],E.prototype,"focus",null),(0,l._)([(0,a.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],E.prototype,"isAutoGenerated",void 0),(0,l._)([(0,a.MZ)({type:Number,value:null,json:{type:u.jz,write:!0}})],E.prototype,"numClasses",null),(0,l._)([(0,a.MZ)({type:k,json:{type:k,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],E.prototype,"lengthUnit",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"maxSliderValue",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"minSliderValue",void 0),(0,l._)([(0,a.MZ)({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],E.prototype,"statistics",null),(0,l._)([(0,a.MZ)({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],E.prototype,"standardDeviationInterval",null),(0,l._)([(0,a.MZ)({type:F.apiValues,value:null,json:{type:F.jsonValues,read:F.read,write:F.write,origins:{"web-scene":{type:q.jsonValues,write:{writer:q.write,overridePolicy:e=>({enabled:"flow"!==e})}}}}})],E.prototype,"type",null),(0,l._)([(0,a.MZ)({type:[I],json:{write:!0}})],E.prototype,"visualVariables",void 0),(0,l._)([(0,a.MZ)({type:["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],E.prototype,"univariateSymbolStyle",null),(0,l._)([(0,a.MZ)({type:["high-to-low","above-and-below","above","below"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],E.prototype,"univariateTheme",null),E=A=(0,l._)([(0,c.$)("esri.renderers.support.AuthoringInfo")],E)},41078:(e,t,i)=>{i.d(t,{A:()=>u});var s=i(90237),l=i(69540),r=i(25482),n=i(10107),o=(i(44208),i(53966),i(87811),i(40608));let a=class extends(l.A.ClonableMixin(r.A)){constructor(){super(...arguments),this.showLegend=null,this.title=null}};(0,s._)([(0,n.MZ)({type:Boolean,json:{write:!0}})],a.prototype,"showLegend",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"title",void 0),a=(0,s._)([(0,o.$)("esri.renderers.visualVariables.support.VisualVariableLegendOptions")],a);const u=a},48940:(e,t,i)=>{i.d(t,{A:()=>M});var s=i(90237),l=i(49186),r=i(66552),n=i(53966),o=i(10107),a=i(79901),u=i(36005),p=i(40608),c=i(43937),d=i(2795),h=i(90629),y=i(12330),m=(i(44208),i(87811),i(41078));let f=class extends m.A{constructor(){super(...arguments),this.customValues=null}};(0,s._)([(0,o.MZ)({type:[Number],json:{write:!0}})],f.prototype,"customValues",void 0),f=(0,s._)([(0,p.$)("esri.renderers.visualVariables.support.SizeVariableLegendOptions")],f);const v=f;var b,g=i(98205),w=i(29266);const _=new r.J({width:"width",depth:"depth",height:"height",widthAndDepth:"width-and-depth",all:"all"}),V=new r.J({unknown:"unknown",inch:"inches",foot:"feet",yard:"yards",mile:"miles","nautical-mile":"nautical-miles",millimeter:"millimeters",centimeter:"centimeters",decimeter:"decimeters",meter:"meters",kilometer:"kilometers"});function S(e){if(null!=e)return"string"==typeof e||"number"==typeof e?function(e){return(0,h.cr)(e)}(e):"size"===e.type?(0,g.of)(e)?e:(delete(e={...e}).type,new M(e)):void 0}function x(e,t,i){if("object"!=typeof e)return e;const s=new M;return s.read(e,i),s}let M=b=class extends d.A{constructor(e){super(e),this.axis=null,this.legendOptions=null,this.normalizationField=null,this.scaleBy=null,this.target=null,this.type="size",this.useSymbolValue=null,this.valueExpression=null,this.valueRepresentation=null,this.valueUnit=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null,isScaleDriven:null!=this.valueExpression&&w.RV.test(this.valueExpression)}}set index(e){(0,g.of)(this.maxSize)&&(this.maxSize.index=`visualVariables[${e}].maxSize`),(0,g.of)(this.minSize)&&(this.minSize.index=`visualVariables[${e}].minSize`),this._set("index",e)}get inputValueType(){return(0,g.eh)(this)}set maxDataValue(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set maxDataValue when stops is not null."),e=null),this._set("maxDataValue",e)}set maxSize(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set maxSize when stops is not null."),e=null),this._set("maxSize",e)}castMaxSize(e){return S(e)}readMaxSize(e,t,i){return x(e,0,i)}set minDataValue(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set minDataValue when stops is not null."),e=null),this._set("minDataValue",e)}set minSize(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set minSize when stops is not null."),e=null),this._set("minSize",e)}castMinSize(e){return S(e)}readMinSize(e,t,i){return x(e,0,i)}get arcadeRequired(){return!!this.valueExpression||null!=this.minSize&&"object"==typeof this.minSize&&this.minSize.arcadeRequired||null!=this.maxSize&&"object"==typeof this.maxSize&&this.maxSize.arcadeRequired}set stops(e){null==this.minDataValue&&null==this.maxDataValue&&null==this.minSize&&null==this.maxSize?e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)):e&&(n.A.getLogger(this).warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."),e=null),this._set("stops",e)}get transformationType(){return(0,g.KZ)(this,this.inputValueType)}readValueExpression(e,t){return e||t.expression&&"$view.scale"}writeValueExpressionWebScene(e,t,i,s){if("$view.scale"===e){if(s?.messages){const e=this.index,t="string"==typeof e?e:`visualVariables[${e}]`;s.messages.push(new l.A("property:unsupported",this.type+"VisualVariable.valueExpression = '$view.scale' is not supported in Web Scene. Please remove this property to save the Web Scene.",{instance:this,propertyName:t+".valueExpression",context:s}))}}else t[i]=e}readValueUnit(e){return e?V.read(e):null}clone(){return new b({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,g.of)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,g.of)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops?.map((e=>e.clone())),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions?.clone()})}flipSizes(){if(this.transformationType===g._w.ClampedLinear){const{minSize:e,maxSize:t}=this;return this.minSize=t,this.maxSize=e,this}if(this.transformationType===g._w.Stops){const e=this.stops;if(!e)return this;const t=e.map((e=>e.size)).reverse(),i=e.length;for(let s=0;s<i;s++)e[s].size=t[s];return this}return this}getAttributeHash(){return`${super.getAttributeHash()}-${this.target}-${this.normalizationField}`}_interpolateData(){return this.stops?.map((e=>e.value||0))}};(0,s._)([(0,o.MZ)({readOnly:!0})],M.prototype,"cache",null),(0,s._)([(0,o.MZ)({type:_.apiValues,json:{type:_.jsonValues,origins:{"web-map":{read:!1}},read:_.read,write:_.write}})],M.prototype,"axis",void 0),(0,s._)([(0,o.MZ)()],M.prototype,"index",null),(0,s._)([(0,o.MZ)({type:String,readOnly:!0})],M.prototype,"inputValueType",null),(0,s._)([(0,o.MZ)({type:v,json:{write:!0}})],M.prototype,"legendOptions",void 0),(0,s._)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],M.prototype,"maxDataValue",null),(0,s._)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],M.prototype,"maxSize",null),(0,s._)([(0,a.w)("maxSize")],M.prototype,"castMaxSize",null),(0,s._)([(0,u.w)("maxSize")],M.prototype,"readMaxSize",null),(0,s._)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],M.prototype,"minDataValue",null),(0,s._)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],M.prototype,"minSize",null),(0,s._)([(0,a.w)("minSize")],M.prototype,"castMinSize",null),(0,s._)([(0,u.w)("minSize")],M.prototype,"readMinSize",null),(0,s._)([(0,o.MZ)({type:String,json:{write:!0}})],M.prototype,"normalizationField",void 0),(0,s._)([(0,o.MZ)({readOnly:!0})],M.prototype,"arcadeRequired",null),(0,s._)([(0,o.MZ)({type:String})],M.prototype,"scaleBy",void 0),(0,s._)([(0,o.MZ)({type:[y.A],value:null,json:{write:!0}})],M.prototype,"stops",null),(0,s._)([(0,o.MZ)({type:["outline"],json:{write:!0}})],M.prototype,"target",void 0),(0,s._)([(0,o.MZ)({type:String,readOnly:!0})],M.prototype,"transformationType",null),(0,s._)([(0,o.MZ)({type:["size"],json:{type:["sizeInfo"]}})],M.prototype,"type",void 0),(0,s._)([(0,o.MZ)({type:Boolean,json:{write:!0,origins:{"web-map":{read:!1}}}})],M.prototype,"useSymbolValue",void 0),(0,s._)([(0,o.MZ)({type:String,json:{write:!0}})],M.prototype,"valueExpression",void 0),(0,s._)([(0,u.w)("valueExpression",["valueExpression","expression"])],M.prototype,"readValueExpression",null),(0,s._)([(0,c.K)("web-scene","valueExpression")],M.prototype,"writeValueExpressionWebScene",null),(0,s._)([(0,o.MZ)({type:["radius","diameter","area","width","distance"],json:{write:!0}})],M.prototype,"valueRepresentation",void 0),(0,s._)([(0,o.MZ)({type:V.apiValues,json:{write:V.write,origins:{"web-map":{read:!1},"web-scene":{write:!0},"portal-item":{write:!0}}}})],M.prototype,"valueUnit",void 0),(0,s._)([(0,u.w)("valueUnit")],M.prototype,"readValueUnit",null),M=b=(0,s._)([(0,p.$)("esri.renderers.visualVariables.SizeVariable")],M)},49849:(e,t,i)=>{i.d(t,{As:()=>c,Ug:()=>d,Wp:()=>p,z4:()=>u});var s=i(93637),l=i(90360),r=i(65365),n=i(20378),o=i(73838),a=i(33910);const u={types:a.xK,json:{write:{writer:o.M9},origins:{"web-scene":{types:a.On,write:{writer:o.M9},read:{reader:(0,l.C)({types:a.On})}}}}},p=(0,s.$N)({json:{origins:{"web-scene":{write:{isRequired:!0}}}}},u),c={types:{base:n.A,key:"type",typeMap:{"simple-fill":a.Es.typeMap["simple-fill"],"picture-fill":a.Es.typeMap["picture-fill"],"polygon-3d":a.Es.typeMap["polygon-3d"],cim:a.Es.typeMap.cim}},json:{write:{writer:o.M9},origins:{"web-scene":{type:r.A,write:{writer:o.M9}}}}},d={cast:e=>null==e||"string"==typeof e||"number"==typeof e?e:`${e}`,json:{type:String,write:{writer:(e,t)=>{t.value=e?.toString()}}}}},62724:(e,t,i)=>{i.d(t,{A:()=>f});var s,l=i(90237),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608)),o=i(2795),a=i(25482),u=i(56507),p=i(36005),c=i(43937),d=i(78553);let h=s=class extends a.A{constructor(e){super(e),this.label=null,this.opacity=null,this.value=null}readOpacity(e,t){return(0,d.D)(t.transparency)}writeOpacity(e,t,i){t[i]=(0,d.p)(e)}clone(){return new s({label:this.label,opacity:this.opacity,value:this.value})}};(0,l._)([(0,r.MZ)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,l._)([(0,r.MZ)({type:Number,json:{type:u.jz,write:{target:"transparency",isRequired:!0}}})],h.prototype,"opacity",void 0),(0,l._)([(0,p.w)("opacity",["transparency"])],h.prototype,"readOpacity",null),(0,l._)([(0,c.K)("opacity")],h.prototype,"writeOpacity",null),(0,l._)([(0,r.MZ)({type:Number,json:{write:{isRequired:!0}}})],h.prototype,"value",void 0),h=s=(0,l._)([(0,n.$)("esri.renderers.visualVariables.support.OpacityStop")],h);const y=h;var m;let f=m=class extends o.A{constructor(e){super(e),this.type="opacity",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter((e=>!!e))).sort(((e,t)=>e.value-t.value)),this._set("stops",e)}clone(){return new m({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map((e=>e.clone())),legendOptions:this.legendOptions?.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map((e=>e.value||0))}};(0,l._)([(0,r.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,l._)([(0,r.MZ)({type:["opacity"],json:{type:["transparencyInfo"]}})],f.prototype,"type",void 0),(0,l._)([(0,r.MZ)({type:String,json:{write:!0}})],f.prototype,"normalizationField",void 0),(0,l._)([(0,r.MZ)({type:[y],json:{write:!0}})],f.prototype,"stops",null),f=m=(0,l._)([(0,n.$)("esri.renderers.visualVariables.OpacityVariable")],f)},63988:(e,t,i)=>{i.d(t,{h:()=>x});var s=i(90237),l=i(10107),r=(i(44208),i(53966)),n=(i(87811),i(36005)),o=i(40608),a=i(43937),u=i(30524),p=i(2024),c=i(62724),d=i(23461),h=i(48940),y=i(2795),m=i(69622),f=i(66552),v=i(67076);const b={color:p.A,size:h.A,opacity:c.A,rotation:d.A},g=new f.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"}),w=/^\[([^\]]+)\]$/i;let _=class extends m.A{constructor(){super(...arguments),this.colorVariables=null,this.opacityVariables=null,this.rotationVariables=null,this.sizeVariables=null}set visualVariables(e){if(this._resetVariables(),e=e?.filter((e=>!!e)),e?.length){for(const t of e)switch(t.type){case"color":this.colorVariables.push(t);break;case"opacity":this.opacityVariables.push(t);break;case"rotation":this.rotationVariables.push(t);break;case"size":this.sizeVariables.push(t)}this.sizeVariables.length&&this.sizeVariables.some((e=>!!e.target))&&e.sort(((e,t)=>{let i=null;return i=e.target===t.target?0:e.target?1:-1,i}));for(let t=0;t<e.length;t++)e[t].index=t;this._set("visualVariables",e)}else this._set("visualVariables",e)}readVariables(e,t,i){const{rotationExpression:s,rotationType:l}=t,n=s?.match(w),o=n?.[1];if(o&&(e||(e=[]),e.push({type:"rotationInfo",rotationType:l,field:o})),e)return e.map((e=>{const t=g.read(e.type),s=b[t];s||(r.A.getLogger(this).warn(`Unknown variable type: ${t}`),i?.messages&&i.messages.push(new v.A("visual-variable:unsupported",`visualVariable of type '${t}' is not supported`,{definition:e,context:i})));const l=new s;return l.read(e,i),l}))}writeVariables(e,t){const i=[];for(const s of e){const e=s.toJSON(t);e&&i.push(e)}return i}_resetVariables(){this.colorVariables=[],this.opacityVariables=[],this.rotationVariables=[],this.sizeVariables=[]}};(0,s._)([(0,l.MZ)()],_.prototype,"visualVariables",null),_=(0,s._)([(0,o.$)("esri.renderers.visualVariables.VisualVariableFactory")],_);var V=i(69309);const S={base:y.A,key:"type",typeMap:{opacity:c.A,color:p.A,rotation:d.A,size:h.A}},x=e=>{let t=class extends e{constructor(){super(...arguments),this._vvFactory=new _}set visualVariables(e){this._vvFactory.visualVariables=e,this._set("visualVariables",this._vvFactory.visualVariables)}readVisualVariables(e,t,i){return this._vvFactory.readVariables(e,t,i)}writeVisualVariables(e,t,i,s){t[i]=this._vvFactory.writeVariables(e,s)}get arcadeRequiredForVisualVariables(){return this.visualVariables?.some((({arcadeRequired:e})=>e))??!1}hasVisualVariables(e,t){return e?this.getVisualVariablesForType(e,t).length>0:this.getVisualVariablesForType("size",t).length>0||this.getVisualVariablesForType("color",t).length>0||this.getVisualVariablesForType("opacity",t).length>0||this.getVisualVariablesForType("rotation",t).length>0}getVisualVariablesForType(e,t){return this.visualVariables?.filter((i=>i.type===e&&("string"==typeof t?i.target===t:!1!==t||!i.target)))??[]}async collectVVRequiredFields(e,t){let i=[];this.visualVariables&&(i=i.concat(this.visualVariables));for(const s of i)s&&(s.field&&(0,u.rq)(e,t,s.field),s.normalizationField&&(0,u.rq)(e,t,s.normalizationField),s.valueExpression&&(M(s.valueExpression,e,t)||await(0,u.Dx)(e,t,s.valueExpression)))}};return(0,s._)([(0,l.MZ)({types:[S],value:null,json:{write:!0}})],t.prototype,"visualVariables",null),(0,s._)([(0,n.w)("visualVariables",["visualVariables","rotationType","rotationExpression"])],t.prototype,"readVisualVariables",null),(0,s._)([(0,a.K)("visualVariables")],t.prototype,"writeVisualVariables",null),t=(0,s._)([(0,o.$)("esri.renderers.mixins.VisualVariablesMixin")],t),t};function M(e,t,i){const s=(0,V.D)(e);return null!=s&&((0,u.rq)(t,i,s),!0)}},72500:(e,t,i)=>{i.d(t,{A:()=>d});var s,l=i(90237),r=i(68197),n=i(25482),o=i(10107),a=i(56507),u=(i(44208),i(87811),i(40608)),p=i(43937);let c=s=class extends n.A{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,i){t[i]=e??0}clone(){return new s({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,l._)([(0,o.MZ)({type:r.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"color",void 0),(0,l._)([(0,o.MZ)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,l._)([(0,o.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],c.prototype,"value",void 0),(0,l._)([(0,p.K)("value")],c.prototype,"writeValue",null),c=s=(0,l._)([(0,u.$)("esri.renderers.visualVariables.support.ColorStop")],c);const d=c},72606:(e,t,i)=>{i.d(t,{A:()=>o});var s=i(90237),l=i(25482),r=i(10107),n=(i(44208),i(53966),i(87811),i(40608));let o=class extends l.A{constructor(e){super(e),this.type=null}};(0,s._)([(0,r.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,s._)([(0,n.$)("esri.rest.support.ColorRamp")],o)},73838:(e,t,i)=>{i.d(t,{rS:()=>k,M9:()=>j,oO:()=>Z});var s=i(49186),l=i(77548),r=i(37757),n=i(13313),o=i(97887),a=i(68548),u=i(58592),p=i(75981),c=i(65365),d=i(94985),h=i(31593),y=i(53930),m=i(68249),f=i(68197),v=i(5503),b=(i(44208),i(90629)),g=i(27845),w=i(11506),_=i(39065),V=i(59868),S=i(93470);p.A.fromSimpleMarkerSymbol(V.UK),o.A.fromSimpleLineSymbol(V.A7),c.A.fromSimpleFillSymbol(V.Cx),new a.A({symbolLayers:new v.A([new g.A({material:{color:S.fT},edges:new _.A({size:(0,b.PN)(1),color:new f.A(S.JR)})})])});const x=new o.A({symbolLayers:new v.A([new w.A({material:{color:new f.A([0,0,0])},size:(0,b.PN)(1)})])}),M=new c.A({symbolLayers:new v.A([new g.A({outline:{color:new f.A([0,0,0]),size:(0,b.PN)(1)}})])});var z=i(33910);const I="#useCIMFallbackSymbology()",A={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};function j(e,t,i,s){const l=q(e,{},{context:s,isLabelSymbol:!1});null!=l&&(t[i]=l)}function Z(e,t,i,s){const l=q(e,{},{context:s,isLabelSymbol:!0});null!=l&&(t[i]=l)}function F(e){return(0,z.wk)(e)||e instanceof r.A}function q(e,t,i){if(null==e)return null;const{context:f,isLabelSymbol:v}=i,b=f?.origin,g=f?.messages;if("web-scene"===b&&!F(e)){const i=function(e,t=A){if(!e)return{symbol:null};const{retainId:i=A.retainId,ignoreDrivers:l=A.ignoreDrivers,hasLabelingContext:f=A.hasLabelingContext,retainCIM:v=A.retainCIM,cimFallbackEnabled:b=A.cimFallbackEnabled}=t;let g=null;if((0,z.wk)(e)||e instanceof r.A)g=e.clone();else if("cim"===e.type){const i=e.data?.symbol?.type;switch(i){case"CIMPointSymbol":g=v?e.clone():p.A.fromCIMSymbol(e);break;case"CIMLineSymbol":b&&(g=x.clone(),t?.logWarning?.(I,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":b&&(g=M.clone(),t?.logWarning?.(I,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!g)return{error:new s.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${i||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof h.A)g=o.A.fromSimpleLineSymbol(e);else if(e instanceof y.A)g=p.A.fromSimpleMarkerSymbol(e);else if(e instanceof u.A)g=p.A.fromPictureMarkerSymbol(e);else if(e instanceof d.A)g=t.geometryType&&"mesh"===t.geometryType?a.A.fromSimpleFillSymbol(e):c.A.fromSimpleFillSymbol(e);else{if(!(e instanceof m.A))return{error:new s.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};g=f?n.A.fromTextSymbol(e):p.A.fromTextSymbol(e)}return i&&g&&"cim"!==g.type&&(g.id=e.id),!l||"cim"===g.type||g instanceof r.A||g.symbolLayers.forEach((e=>e.ignoreDrivers=!0)),{symbol:g}}(e,{retainCIM:!0,hasLabelingContext:v});return null!=i.symbol?i.symbol.write(t,f):(g?.push(new s.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in scenes. Use 3D symbology instead when working with WebScene and SceneView`,{symbol:e,context:f,error:i.error})),null)}return(0,l.TU)(f?.layer)&&(w=e,"polygon-3d"===w?.type||"line-3d"===w?.type)?(g?.push(new s.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported on layers of type '${f?.layer?.declaredClass}'.`,{symbol:e,context:f})),null):("web-map"===b||"portal-item"===b&&!(0,l.TU)(f?.layer))&&F(e)?(g?.push(new s.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in web maps and portal items. Use 2D symbology and CIMSymbol instead when working with MapView`,{symbol:e,context:f})),null):e.write(t,f);var w}function k(e,t){return(0,z.Bu)(e,null,t)}},85594:(e,t,i)=>{i.d(t,{jg:()=>b,cF:()=>c,bo:()=>d,yA:()=>m,o5:()=>h});var s=i(78888),l=i(49186),r=i(44208),n=i(74887),o=i(84952),a=i(20655),u=i(16405);const p=new Map;function c(e,t,i){return null!=e?.styleUrl?async function(e,t){try{return{data:(await m(e,t)).data,baseUrl:(0,o.nM)(e),styleUrl:e}}catch(e){return(0,n.QP)(e),null}}(e.styleUrl,i):null!=e?.styleName?function(e,t,i){const s=null!=t.portal?t.portal:a.A.getDefault();let r;const n=`${s.url} - ${s.user?.username} - ${e}`,o=p.get(n);if(o)return o;const c=function(e,t,i){return t.load(i).then((()=>{const s=new u.A({disableExtraQuery:!0,query:`owner:${f} AND type:${v} AND typekeywords:"${e}"`});return t.queryItems(s,i)})).then((({results:t})=>{let s=null;const r=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some((e=>e.toLowerCase()===r));if(t&&e.type===v&&e.owner===f){s=e;break}}if(!s)throw new l.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return s.load(i)}))}(e,s,i).then((e=>(r=e,e.fetchData()))).then((t=>({data:t,baseUrl:r.itemUrl??"",styleName:e})));return p.set(n,c),c}(e.styleName,t,i):Promise.reject(new l.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function d(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function h(e,t){for(const i of t)switch(i){case"cim":if(e.cimRef)return{format:i,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=y(e,"gltf_basisu");if(t)return{format:i,url:t};break}case"web-gltf":{const t=y(e,"gltf");if(t)return{format:i,url:t};break}case"web":{const t=y(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:i,url:encodeURI(e.webRef)};break}}}function y(e,t){if(!(0,r.A)("enable-feature:force-wosr"))return e.formatInfos?.find((e=>e.type===t))?.href}function m(e,t){const i={responseType:"json",query:{f:"json"},...t};return(0,s.A)((0,o.S8)(e),i)}const f="esri_en",v="Style",b="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"},86162:(e,t,i)=>{i.d(t,{A:()=>I});var s,l=i(90237),r=i(66552),n=i(4718),o=i(53966),a=i(10107),u=i(79901),p=i(93223),c=i(36005),d=i(40608),h=i(43937),y=i(56507),m=i(30524),f=i(92438),v=i(63988),b=i(88542),g=i(49849),w=i(20061),_=i(43668),V=i(33910);const S="percent-of-total",x="field",M=new r.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:S,esriNormalizeByField:x}),z=(0,y.dp)(b.A);let I=s=class extends((0,v.h)(f.A)){constructor(e){super(e),this._compiledValueExpression={valueExpression:null,compiledFunction:null},this.backgroundFillSymbol=null,this.classBreakInfos=null,this.defaultLabel=null,this.defaultSymbol=null,this.field=null,this.isMaxInclusive=!0,this.legendOptions=null,this.normalizationField=null,this.normalizationTotal=null,this.type="class-breaks",this.valueExpression=null,this.valueExpressionTitle=null,this._set("classBreakInfos",[])}readClassBreakInfos(e,t,i){if(!Array.isArray(e))return;let s=t.minValue;return e.map((e=>{const t=new b.A;return t.read(e,i),null==t.minValue&&(t.minValue=s),null==t.maxValue&&(t.maxValue=t.minValue),s=t.maxValue,t}))}writeClassBreakInfos(e,t,i,s){const l=e.map((e=>e.write({},s)));this._areClassBreaksConsecutive()&&l.forEach((e=>delete e.classMinValue)),t[i]=l}castField(e){return null==e?e:"function"==typeof e?(o.A.getLogger(this).error(".field: field must be a string value"),null):(0,y.GX)(e)}get minValue(){return this.classBreakInfos&&this.classBreakInfos[0]&&this.classBreakInfos[0].minValue||0}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&x||i&&S||null,t&&i&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==x&&e!==S||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}addClassBreakInfo(e,t,i){let s=null;s="number"==typeof e?new b.A({minValue:e,maxValue:t,symbol:(0,V.dp)(i)}):z((0,n.o8)(e)),this.classBreakInfos.push(s),1===this.classBreakInfos.length&&this.notifyChange("minValue")}removeClassBreakInfo(e,t){const i=this.classBreakInfos.length;for(let s=0;s<i;s++){const i=[this.classBreakInfos[s].minValue,this.classBreakInfos[s].maxValue];if(i[0]===e&&i[1]===t){this.classBreakInfos.splice(s,1);break}}}getBreakIndex(e,t){return this.valueExpression&&null==t?.arcade&&o.A.getLogger(this).warn(""),this.valueExpression?this._getBreakIndexForExpression(e,t):this._getBreakIndexForField(e)}async getClassBreakInfo(e,t){let i=t;this.valueExpression&&null==t?.arcade&&(i={...i,arcade:await(0,_.l)()});const s=this.getBreakIndex(e,i);return-1!==s?this.classBreakInfos[s]:null}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void o.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const i=this.getBreakIndex(e,t);return i>-1?this.classBreakInfos[i].symbol:this.defaultSymbol}async getSymbolAsync(e,t){let i=t;if(this.valueExpression&&null==t?.arcade){const e=await(0,_.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),i={...i,arcade:e}}const s=this.getBreakIndex(e,i);return s>-1?this.classBreakInfos[s].symbol:this.defaultSymbol}get symbols(){const e=[];return this.classBreakInfos.forEach((t=>{t.symbol&&e.push(t.symbol)})),this.defaultSymbol&&e.push(this.defaultSymbol),e}getAttributeHash(){return this.visualVariables?.reduce(((e,t)=>e+t.getAttributeHash()),"")??""}getMeshHash(){const e=JSON.stringify(this.backgroundFillSymbol),t=JSON.stringify(this.defaultSymbol),i=`${this.normalizationField}.${this.normalizationType}.${this.normalizationTotal}`;return`${e}.${t}.${this.classBreakInfos.reduce(((e,t)=>e+t.getMeshHash()),"")}.${i}.${this.field}.${this.valueExpression}`}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}clone(){return new s({field:this.field,backgroundFillSymbol:this.backgroundFillSymbol?.clone(),defaultLabel:this.defaultLabel,defaultSymbol:this.defaultSymbol?.clone(),valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,classBreakInfos:(0,n.o8)(this.classBreakInfos),isMaxInclusive:this.isMaxInclusive,normalizationField:this.normalizationField,normalizationTotal:this.normalizationTotal,normalizationType:this.normalizationType,visualVariables:(0,n.o8)(this.visualVariables),legendOptions:(0,n.o8)(this.legendOptions),authoringInfo:(0,n.o8)(this.authoringInfo)})}async collectRequiredFields(e,t){const i=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(i)}async collectSymbolFields(e,t){const i=[...this.symbols.map((i=>i.collectRequiredFields(e,t))),(0,m.Dx)(e,t,this.valueExpression)];(0,m.rq)(e,t,this.field),(0,m.rq)(e,t,this.normalizationField),await Promise.all(i)}_getBreakIndexForExpression(e,t){const{viewingMode:i,scale:s,spatialReference:l,arcade:r,timeZone:n}=t??{},{valueExpression:o}=this;let a=this._compiledValueExpression.valueExpression===o?this._compiledValueExpression.compiledFunction:null;const u=r.arcadeUtils;if(!a){const e=u.createSyntaxTree(o);a=u.createFunction(e),this._compiledValueExpression.compiledFunction=a}this._compiledValueExpression.valueExpression=o;const p=u.executeFunction(a,u.createExecContext(e,u.getViewInfo({viewingMode:i,scale:s,spatialReference:l}),n));return this._getBreakIndexfromInfos(p)}_getBreakIndexForField(e){const t=this.field,i=e.attributes,s=this.normalizationType;let l=parseFloat(i[t]);if(s){const e=this.normalizationTotal,t=parseFloat(this.normalizationField?i[this.normalizationField]:void 0);if("log"===s)l=Math.log(l)*Math.LOG10E;else if(s!==S||null==e||isNaN(e)){if(s===x&&!isNaN(t)){if(isNaN(l)||isNaN(t))return-1;l/=t}}else l=l/e*100}return this._getBreakIndexfromInfos(l)}_getBreakIndexfromInfos(e){const t=this.isMaxInclusive;if(null!=e&&"number"==typeof e&&!isNaN(e))for(let i=0;i<this.classBreakInfos.length;i++){const s=[this.classBreakInfos[i].minValue,this.classBreakInfos[i].maxValue];if(s[0]<=e&&(t?e<=s[1]:e<s[1]))return i}return-1}_areClassBreaksConsecutive(){const e=this.classBreakInfos,t=e.length;for(let i=1;i<t;i++)if(e[i-1].maxValue!==e[i].minValue)return!1;return!0}};(0,l._)([(0,a.MZ)(g.As)],I.prototype,"backgroundFillSymbol",void 0),(0,l._)([(0,a.MZ)({type:[b.A],json:{write:{isRequired:!0}}})],I.prototype,"classBreakInfos",void 0),(0,l._)([(0,c.w)("classBreakInfos")],I.prototype,"readClassBreakInfos",null),(0,l._)([(0,h.K)("classBreakInfos")],I.prototype,"writeClassBreakInfos",null),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],I.prototype,"defaultLabel",void 0),(0,l._)([(0,a.MZ)(g.z4)],I.prototype,"defaultSymbol",void 0),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],I.prototype,"field",void 0),(0,l._)([(0,u.w)("field")],I.prototype,"castField",null),(0,l._)([(0,a.MZ)({type:Boolean})],I.prototype,"isMaxInclusive",void 0),(0,l._)([(0,a.MZ)({type:w.A,json:{write:!0}})],I.prototype,"legendOptions",void 0),(0,l._)([(0,a.MZ)({type:Number,readOnly:!0,value:null,json:{read:!1,write:{overridePolicy(){return 0!==this.classBreakInfos.length&&this._areClassBreaksConsecutive()?{enabled:!0}:{enabled:!1}}}}})],I.prototype,"minValue",null),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],I.prototype,"normalizationField",void 0),(0,l._)([(0,a.MZ)({type:Number,json:{write:!0}})],I.prototype,"normalizationTotal",void 0),(0,l._)([(0,a.MZ)({type:M.apiValues,value:null,json:{type:M.jsonValues,read:M.read,write:M.write}})],I.prototype,"normalizationType",null),(0,l._)([(0,p.e)({classBreaks:"class-breaks"})],I.prototype,"type",void 0),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],I.prototype,"valueExpression",void 0),(0,l._)([(0,a.MZ)({type:String,json:{write:!0}})],I.prototype,"valueExpressionTitle",void 0),I=s=(0,l._)([(0,d.$)("esri.renderers.ClassBreaksRenderer")],I)},88542:(e,t,i)=>{i.d(t,{A:()=>u});var s,l=i(90237),r=i(25482),n=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),a=i(49849);let u=s=class extends r.A{constructor(e){super(e),this.description=null,this.label=null,this.minValue=null,this.maxValue=0,this.symbol=null}clone(){return new s({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,symbol:this.symbol?.clone()??null})}getMeshHash(){const e=JSON.stringify(this.symbol);return`${this.minValue}.${this.maxValue}.${e}`}};(0,l._)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,l._)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,l._)([(0,n.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],u.prototype,"minValue",void 0),(0,l._)([(0,n.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],u.prototype,"maxValue",void 0),(0,l._)([(0,n.MZ)(a.Wp)],u.prototype,"symbol",void 0),u=s=(0,l._)([(0,o.$)("esri.renderers.support.ClassBreakInfo")],u)},92438:(e,t,i)=>{i.d(t,{A:()=>p});var s=i(90237),l=i(66552),r=i(25482),n=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),a=i(30943);const u=new l.J({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary",pieChart:"pie-chart"},{ignoreUnknown:!0});let p=class extends r.A{constructor(e){super(e),this.authoringInfo=null,this.type=null}async getRequiredFields(e){if(!this.collectRequiredFields)return[];const t=new Set;return await this.collectRequiredFields(t,e),Array.from(t).sort()}getSymbol(e,t){}async getSymbolAsync(e,t){}get symbols(){return[]}get arcadeRequired(){return!1}getAttributeHash(){return JSON.stringify(this)}getMeshHash(){return JSON.stringify(this)}};(0,s._)([(0,n.MZ)({type:a.A,json:{write:!0}})],p.prototype,"authoringInfo",void 0),(0,s._)([(0,n.MZ)({type:u.apiValues,readOnly:!0,json:{type:u.jsonValues,read:!1,write:{writer:u.write,ignoreOrigin:!0,isRequired:!0}}})],p.prototype,"type",void 0),p=(0,s._)([(0,o.$)("esri.renderers.Renderer")],p)},93618:(e,t,i)=>{i.d(t,{A:()=>R});var s=i(90237),l=i(49186),r=i(4718),n=i(53966),o=i(93637),a=i(36708),u=i(10107),p=i(79901),c=i(93223),d=i(36005),h=i(40608),y=i(43937),m=i(6797),f=i(56507),v=i(30524),b=i(20655),g=i(92438),w=i(63988),_=i(49849),V=i(20061),S=i(69540),x=i(25482);i(44208),i(87811);let M=class extends(S.A.ClonableMixin(x.A)){constructor(e){super(e),this.value=null,this.value2=null,this.value3=null}};(0,s._)([(0,u.MZ)(_.Ug)],M.prototype,"value",void 0),(0,s._)([(0,u.MZ)(_.Ug)],M.prototype,"value2",void 0),(0,s._)([(0,u.MZ)(_.Ug)],M.prototype,"value3",void 0),M=(0,s._)([(0,h.$)("esri.renderers.support.UniqueValue")],M);var z=i(4576);let I=class extends(S.A.ClonableMixin(x.A)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.values=null}castValues(e){if(null==e)return null;const t=typeof(e=Array.isArray(e)?e:[e])[0];return"string"===t||"number"===t?e.map((e=>new M({value:e}))):"object"===t?e[0]instanceof M?e:e.map((e=>new M(e))):null}};(0,s._)([(0,u.MZ)({type:String,json:{write:!0}})],I.prototype,"description",void 0),(0,s._)([(0,u.MZ)({type:String,json:{write:!0}})],I.prototype,"label",void 0),(0,s._)([(0,u.MZ)(_.z4)],I.prototype,"symbol",void 0),(0,s._)([(0,u.MZ)({type:[M],json:{type:[[String]],read:{reader:e=>e?e.map((e=>new M({value:e[0],value2:e[1],value3:e[2]}))):null},write:{writer:(e,t)=>{const i=[];for(const t of e){const e=[t.value,t.value2,t.value3].filter(z.Ru).map((e=>e.toString()));i.push(e)}t.values=i}}}})],I.prototype,"values",void 0),(0,s._)([(0,p.w)("values")],I.prototype,"castValues",null),I=(0,s._)([(0,h.$)("esri.renderers.support.UniqueValueClass")],I);let A=class extends(S.A.ClonableMixin(x.A)){constructor(e){super(e),this.heading=null,this.classes=null}};(0,s._)([(0,u.MZ)({type:String,json:{write:!0}})],A.prototype,"heading",void 0),(0,s._)([(0,u.MZ)({type:[I],json:{write:{isRequired:!0}}})],A.prototype,"classes",void 0),A=(0,s._)([(0,h.$)("esri.renderers.support.UniqueValueGroup")],A);var j,Z=i(94833),F=i(43668),q=i(97159),k=i(37757),E=i(85594),C=i(33910);const U="uvInfos-watcher",T="uvGroups-watcher",D=(0,f.dp)(Z.A);function O(e){return null!=e&&""!==e&&("string"!=typeof e||""!==e.trim()&&"<null>"!==e.toLowerCase())||(e=null),e+""}let R=j=class extends((0,w.h)(g.A)){constructor(e){super(e),this._valueInfoMap={},this._isDefaultSymbolDerived=!1,this._isInfosSource=null,this.type="unique-value",this.backgroundFillSymbol=null,this.orderByClassesEnabled=!1,this.valueExpressionTitle=null,this.legendOptions=null,this.defaultLabel=null,this.portal=null,this.styleOrigin=null,this.diff={uniqueValueInfos(e,t){if(!e&&!t)return;if(!e||!t)return{type:"complete",oldValue:e,newValue:t};let i=!1;const s={type:"collection",added:[],removed:[],changed:[],unchanged:[]};for(let l=0;l<t.length;l++){const r=e.find((e=>e.value===t[l].value));r?(0,m.Ui)(r,t[l])?(s.changed.push({type:"complete",oldValue:r,newValue:t[l]}),i=!0):s.unchanged.push({oldValue:r,newValue:t[l]}):(s.added.push(t[l]),i=!0)}for(let l=0;l<e.length;l++)t.find((t=>t.value===e[l].value))||(s.removed.push(e[l]),i=!0);return i?s:void 0}},this._set("uniqueValueInfos",[]),this._set("uniqueValueGroups",[])}get _cache(){return{compiledFunc:null}}set field(e){this._set("field",e),this._updateFieldDelimiter(),this._updateUniqueValues()}castField(e){return null==e||"function"==typeof e?e:(0,f.GX)(e)}writeField(e,t,i,s){"string"==typeof e?t[i]=e:s?.messages?s.messages.push(new l.A("property:unsupported","UniqueValueRenderer.field set to a function cannot be written to JSON")):n.A.getLogger(this).error(".field: cannot write field to JSON since it's not a string value")}set field2(e){this._set("field2",e),this._updateFieldDelimiter(),this._updateUniqueValues()}set field3(e){this._set("field3",e),this._updateUniqueValues()}set valueExpression(e){this._set("valueExpression",e),this._updateUniqueValues()}set defaultSymbol(e){this._isDefaultSymbolDerived=!1,this._set("defaultSymbol",e)}set fieldDelimiter(e){this._set("fieldDelimiter",e),this._updateUniqueValues()}readPortal(e,t,i){return i.portal||b.A.getDefault()}readStyleOrigin(e,t,i){if(t.styleName)return Object.freeze({styleName:t.styleName});if(t.styleUrl){const e=(0,q.f)(t.styleUrl,i);return Object.freeze({styleUrl:e})}}writeStyleOrigin(e,t,i,s){e.styleName?t.styleName=e.styleName:e.styleUrl&&(t.styleUrl=(0,q.t)(e.styleUrl,s))}set uniqueValueGroups(e){this.styleOrigin?n.A.getLogger(this).error("#uniqueValueGroups=","Cannot modify unique value groups of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueGroups",e),this._updateInfosFromGroups(),this._isInfosSource=!1,this._watchUniqueValueGroups())}set uniqueValueInfos(e){this.styleOrigin?n.A.getLogger(this).error("#uniqueValueInfos=","Cannot modify unique value infos of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos())}addUniqueValueInfo(e,t){if(this.styleOrigin)return void n.A.getLogger(this).error("#addUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");let i;i="object"==typeof e?D(e):new Z.A({value:e,symbol:(0,C.dp)(t)}),this.uniqueValueInfos?.push(i),this._valueInfoMap[O(i.value)]=i,this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}removeUniqueValueInfo(e){if(this.styleOrigin)return void n.A.getLogger(this).error("#removeUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");const t=this.uniqueValueInfos;if(t)for(let i=0;i<t.length;i++){const s=t[i];if(String(s.value)===String(e)){delete this._valueInfoMap[O(e)],t.splice(i,1);break}}this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}async getUniqueValueInfo(e,t){let i=t;return this.valueExpression&&null==t?.arcade&&(i={...i,arcade:await(0,F.l)()}),this._getUniqueValueInfo(e,i)}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void n.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const i=this._getUniqueValueInfo(e,t);return i?.symbol||this.defaultSymbol}async getSymbolAsync(e,t){let i=t;if(this.valueExpression&&null==i?.arcade){const e=await(0,F.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),i={...i,arcade:e}}const s=this._getUniqueValueInfo(e,i);return s?.symbol||this.defaultSymbol}get symbols(){const e=[];for(const t of this.uniqueValueInfos??[])t.symbol&&e.push(t.symbol);return this.defaultSymbol&&e.push(this.defaultSymbol),e}getAttributeHash(){return this.visualVariables?.reduce(((e,t)=>e+t.getAttributeHash()),"")??""}getMeshHash(){const e=JSON.stringify(this.backgroundFillSymbol),t=JSON.stringify(this.defaultSymbol),i=this.uniqueValueInfos?.reduce(((e,t)=>e+t.getMeshHash()),"");return`${e}.${t}.${i}.${this.field}.${this.field2}.${this.field3}.${this.fieldDelimiter}.${this.valueExpression}`}clone(){const e=new j({field:this.field,field2:this.field2,field3:this.field3,defaultLabel:this.defaultLabel,defaultSymbol:(0,r.o8)(this.defaultSymbol),orderByClassesEnabled:this.orderByClassesEnabled,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,fieldDelimiter:this.fieldDelimiter,visualVariables:(0,r.o8)(this.visualVariables),legendOptions:(0,r.o8)(this.legendOptions),authoringInfo:(0,r.o8)(this.authoringInfo),backgroundFillSymbol:(0,r.o8)(this.backgroundFillSymbol)});this._isDefaultSymbolDerived&&(e._isDefaultSymbolDerived=!0),e._set("portal",this.portal);const t=(0,r.o8)(this.uniqueValueInfos),i=(0,r.o8)(this.uniqueValueGroups);return this.styleOrigin&&(e._set("styleOrigin",Object.freeze((0,r.o8)(this.styleOrigin))),Object.freeze(t),Object.freeze(i)),e._set("uniqueValueInfos",t),e._updateValueInfoMap(),e._set("uniqueValueGroups",i),e._isInfosSource=this._isInfosSource,e._watchUniqueValueInfosAndGroups(),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}async collectRequiredFields(e,t){const i=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(i)}async collectSymbolFields(e,t){const i=[...this.symbols.map((i=>i.collectRequiredFields(e,t))),(0,v.Dx)(e,t,this.valueExpression)];(0,v.rq)(e,t,this.field),(0,v.rq)(e,t,this.field2),(0,v.rq)(e,t,this.field3),await Promise.all(i)}populateFromStyle(){return(0,E.cF)(this.styleOrigin,{portal:this.portal}).then((e=>{const t=[];return this._valueInfoMap={},e?.data&&Array.isArray(e.data.items)&&e.data.items.forEach((i=>{const s=new k.A({styleUrl:e.styleUrl,styleName:e.styleName,portal:this.portal,name:i.name});this.defaultSymbol||i.name!==e.data.defaultItem||(this.defaultSymbol=s,this._isDefaultSymbolDerived=!0);const l=new Z.A({value:i.name,symbol:s});t.push(l),this._valueInfoMap[O(i.name)]=l})),this._set("uniqueValueInfos",Object.freeze(t)),this._updateGroupsFromInfos(!0),this._isInfosSource=null,this._watchUniqueValueInfos(),!this.defaultSymbol&&this.uniqueValueInfos?.length&&(this.defaultSymbol=this.uniqueValueInfos[0].symbol,this._isDefaultSymbolDerived=!0),this}))}_updateFieldDelimiter(){this.field&&this.field2&&!this.fieldDelimiter&&this._set("fieldDelimiter",",")}_updateUniqueValues(){null!=this._isInfosSource&&(this._isInfosSource?this._updateGroupsFromInfos():this._updateInfosFromGroups())}_updateValueInfoMap(){this._valueInfoMap={};const{uniqueValueInfos:e}=this;if(e)for(const t of e)this._valueInfoMap[O(t.value)]=t}_watchUniqueValueInfosAndGroups(){this._watchUniqueValueInfos(),this._watchUniqueValueGroups()}_watchUniqueValueInfos(){this.removeHandles(U);const{uniqueValueInfos:e}=this;if(e){const t=[];for(const i of e)t.push((0,a.wB)((()=>({symbol:i.symbol,value:i.value,label:i.label,description:i.description})),((e,t)=>{e!==t&&(this._updateGroupsFromInfos(),this._isInfosSource=!0)}),{sync:!0}));this.addHandles(t,U)}}_watchUniqueValueGroups(){this.removeHandles(T);const{uniqueValueGroups:e}=this;if(e){const t=[];for(const i of e){t.push((0,a.wB)((()=>({classes:i.classes})),((e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)}),{sync:!0}));for(const e of i.classes??[])t.push((0,a.wB)((()=>({symbol:e.symbol,values:e.values,label:e.label,description:e.description})),((e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)}),{sync:!0}))}this.addHandles(t,T)}}_updateInfosFromGroups(){if(!this.uniqueValueGroups)return this._set("uniqueValueInfos",null),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const e=[],{field:t,field2:i,field3:s,fieldDelimiter:l,uniqueValueGroups:r,valueExpression:n}=this;if(!t&&!n)return this._set("uniqueValueInfos",e),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const o=!(!t||!i);for(const t of r)for(const r of t.classes??[]){const{symbol:t,label:n,values:a,description:u}=r;for(const r of a??[]){const{value:a,value2:p,value3:c}=r,d=[a];i&&d.push(p),s&&d.push(c);const h=o?d.join(l||""):d[0]??void 0;e.push(new Z.A({symbol:t,label:n,value:h,description:u}))}}this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._watchUniqueValueInfos()}_updateGroupsFromInfos(e=!1){if(!this.uniqueValueInfos)return this._set("uniqueValueGroups",null),void this._watchUniqueValueGroups();const{field:t,field2:i,valueExpression:s,fieldDelimiter:l,uniqueValueInfos:r}=this;if(!t&&!s||!r.length)return this._set("uniqueValueGroups",[]),void this._watchUniqueValueGroups();const n=!(!t||!i),o=r.map((e=>{const{symbol:t,label:i,value:s,description:r}=e,[o,a,u]=n?s?.toString()?.split(l||"")||[]:[s];return new I({symbol:t,label:i,description:r,values:[new M({value:o,value2:a,value3:u})]})})),a=[new A({classes:o})];e&&Object.freeze(a),this._set("uniqueValueGroups",a),this._watchUniqueValueGroups()}_getUniqueValueInfo(e,t){return this.valueExpression?this._getUnqiueValueInfoForExpression(e,t):this._getUnqiueValueInfoForFields(e)}_getUnqiueValueInfoForExpression(e,t){const{viewingMode:i,scale:s,spatialReference:l,arcade:r,timeZone:n}=t??{};let o=this._cache.compiledFunc;const a=r.arcadeUtils;if(!o){const e=a.createSyntaxTree(this.valueExpression);o=a.createFunction(e),this._cache.compiledFunc=o}const u=a.executeFunction(o,a.createExecContext(e,a.getViewInfo({viewingMode:i,scale:s,spatialReference:l}),n));return this._valueInfoMap[O(u)]}_getUnqiueValueInfoForFields(e){const t=this.field,i=e.attributes;let s;if(this.field2){const e=this.field2,l=this.field3,r=[];t&&r.push(i[t]),e&&r.push(i[e]),l&&r.push(i[l]),s=r.join(this.fieldDelimiter||"")}else t&&(s=i[t]);return this._valueInfoMap[O(s)]}static fromPortalStyle(e,t){const i=new j(t?.properties);i._set("styleOrigin",Object.freeze({styleName:e})),i._set("portal",t?.portal||b.A.getDefault());const s=i.populateFromStyle();return s.catch((t=>{n.A.getLogger(this.prototype).error(`#fromPortalStyle('${e}'[, ...])`,"Failed to create unique value renderer from style name",t)})),s}static fromStyleUrl(e,t){const i=new j(t?.properties);i._set("styleOrigin",Object.freeze({styleUrl:e}));const s=i.populateFromStyle();return s.catch((t=>{n.A.getLogger(this.prototype).error(`#fromStyleUrl('${e}'[, ...])`,"Failed to create unique value renderer from style URL",t)})),s}};(0,s._)([(0,u.MZ)({readOnly:!0})],R.prototype,"_cache",null),(0,s._)([(0,c.e)({uniqueValue:"unique-value"})],R.prototype,"type",void 0),(0,s._)([(0,u.MZ)(_.As)],R.prototype,"backgroundFillSymbol",void 0),(0,s._)([(0,u.MZ)({value:null,json:{type:String,read:{source:"field1"},write:{target:"field1"}}})],R.prototype,"field",null),(0,s._)([(0,p.w)("field")],R.prototype,"castField",null),(0,s._)([(0,y.K)("field")],R.prototype,"writeField",null),(0,s._)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],R.prototype,"field2",null),(0,s._)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],R.prototype,"field3",null),(0,s._)([(0,u.MZ)({type:Boolean,json:{name:"drawInClassOrder",default:!1,write:!0,origins:{"web-scene":{write:!1}}}})],R.prototype,"orderByClassesEnabled",void 0),(0,s._)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],R.prototype,"valueExpression",null),(0,s._)([(0,u.MZ)({type:String,json:{write:!0}})],R.prototype,"valueExpressionTitle",void 0),(0,s._)([(0,u.MZ)({type:V.A,json:{write:!0}})],R.prototype,"legendOptions",void 0),(0,s._)([(0,u.MZ)({type:String,json:{write:!0}})],R.prototype,"defaultLabel",void 0),(0,s._)([(0,u.MZ)((0,o.$N)({..._.z4},{json:{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}},origins:{"web-scene":{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}}}}}}))],R.prototype,"defaultSymbol",null),(0,s._)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],R.prototype,"fieldDelimiter",null),(0,s._)([(0,u.MZ)({type:b.A,readOnly:!0})],R.prototype,"portal",void 0),(0,s._)([(0,d.w)("portal",["styleName"])],R.prototype,"readPortal",null),(0,s._)([(0,u.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:()=>({enabled:!0})}}})],R.prototype,"styleOrigin",void 0),(0,s._)([(0,d.w)("styleOrigin",["styleName","styleUrl"])],R.prototype,"readStyleOrigin",null),(0,s._)([(0,y.K)("styleOrigin",{styleName:{type:String},styleUrl:{type:String}})],R.prototype,"writeStyleOrigin",null),(0,s._)([(0,u.MZ)({type:[A],json:{read:{source:["uniqueValueGroups","uniqueValueInfos"],reader:(e,t,i)=>(t.uniqueValueGroups||function(e){const{field1:t,field2:i,field3:s,fieldDelimiter:l,uniqueValueInfos:r,valueExpression:n}=e,o=!(!t||!i);return[{classes:(r??[]).map((e=>{const{symbol:r,label:a,value:u,description:p}=e,[c,d,h]=o?u?.toString()?.split(l||"")||[]:[u],y=[];return(t||n)&&y.push(c),i&&y.push(d),s&&y.push(h),{symbol:r,label:a,values:[y],description:p}}))}]}(t)).map((e=>A.fromJSON(e,i)))},write:{overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0}}}}})],R.prototype,"uniqueValueGroups",null),(0,s._)([(0,u.MZ)({type:[Z.A],json:{read:!1,write:{isRequired:!0,overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0,isRequired:!0}}}}})],R.prototype,"uniqueValueInfos",null),R=j=(0,s._)([(0,h.$)("esri.renderers.UniqueValueRenderer")],R)},94833:(e,t,i)=>{i.d(t,{A:()=>u});var s,l=i(90237),r=i(25482),n=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),a=i(49849);let u=s=class extends r.A{constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.value=null}clone(){return new s({value:this.value,description:this.description,label:this.label,symbol:this.symbol?this.symbol.clone():null})}getMeshHash(){const e=JSON.stringify(this.symbol?.toJSON());return`${this.value}.${e}`}};(0,l._)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,l._)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,l._)([(0,n.MZ)(a.Wp)],u.prototype,"symbol",void 0),(0,l._)([(0,n.MZ)(a.Ug)],u.prototype,"value",void 0),u=s=(0,l._)([(0,o.$)("esri.renderers.support.UniqueValueInfo")],u)},95349:(e,t,i)=>{i.d(t,{g:()=>n,r:()=>o});var s=i(2485),l=i(72606),r=i(1626);const n={key:"type",base:l.A,typeMap:{algorithmic:s.A,multipart:r.A}};function o(e){return e?.type?"algorithmic"===e.type?s.A.fromJSON(e):"multipart"===e.type?r.A.fromJSON(e):null:null}},98205:(e,t,i)=>{var s,l;function r(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?s.Expression:e.field&&"string"==typeof e.field?s.Field:s.Unknown}function a(e,t){const i=t||o(e),r=e.valueUnit||"unknown";return i===s.Unknown?l.Constant:e.stops?l.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?l.ClampedLinear:"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?l.Proportional:l.Additive:l.Identity:l.RealWorldSize}i.d(t,{KZ:()=>a,Yf:()=>s,_w:()=>l,eh:()=>o,gf:()=>n,of:()=>r}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(s||(s={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(l||(l={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[788],{10407:(e,t,r)=>{r.d(t,{It:()=>y,LG:()=>o,OM:()=>l,Sm:()=>c,Y:()=>a,bK:()=>u,mm:()=>f,sQ:()=>p});var n=r(80586),i=r(16930),s=r(28735);function o(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function u(e){return a(e,f.HOSTED_SERVICE)}function l(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?o(e,t):l(e,t)}async function p(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,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const f={CHARTS:"Charts",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",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function y(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),o=!!r&&!!i?.includes("features:user:fullEdit");const a="update"===n||"admin"===n;return a?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:a}}}},60999:(e,t,r)=>{r.d(t,{DZ:()=>d,Ke:()=>y,Tj:()=>c,UT:()=>h,jJ:()=>l});var n=r(90237),i=r(69622),s=r(97768),o=r(74887),a=r(10107),u=r(40608);function l(e,t,r){return(0,o.Lx)(e.map(((e,n)=>t.apply(r,[e,n]))))}async function c(e,t,r){return(await(0,o.Lx)(e.map(((e,n)=>t.apply(r,[e,n]))))).map((e=>e.value))}function p(e){return{ok:!0,value:e}}function f(e){return{ok:!1,error:e}}async function y(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return p(await e)}catch(e){return f(e)}}async function d(e){try{return p(await e)}catch(e){return(0,o.QP)(e),f(e)}}function h(e,t){return new b(e,t)}let b=class extends i.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,s.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=p(e),this._cleanup()}),(e=>{this._result=f(e),this._cleanup()})),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,n._)([(0,a.MZ)()],b.prototype,"value",null),(0,n._)([(0,a.MZ)()],b.prototype,"error",null),(0,n._)([(0,a.MZ)()],b.prototype,"finished",null),(0,n._)([(0,a.MZ)()],b.prototype,"promise",void 0),(0,n._)([(0,a.MZ)()],b.prototype,"_result",void 0),b=(0,n._)([(0,u.$)("esri.core.asyncUtils.ReactiveTask")],b)},77548:(e,t,r)=>{r.d(t,{tk:()=>p,BR:()=>c,wI:()=>l,Ov:()=>a,W_:()=>u,TU:()=>o,XX:()=>s});var n=r(70333),i=r(78888);r(5503),r(36563),r(36708),new WeakMap;const s={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function o(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function a(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function u(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}async function l(e,t){const r=n.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const o=`${e.slice(0,s)}/rest/info`,a=null!=t?t.signal:null,{data:u}=await(0,i.A)(o,{query:{f:"json"},responseType:"json",signal:a});return u?.owningSystemUrl||null}function c(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function p(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7475],{13069:(e,t,r)=>{r.d(t,{AG:()=>a,lk:()=>i,vD:()=>o,yS:()=>s});const n="randomUUID"in crypto;function i(){if(n)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`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},32730:(e,t,r)=>{r.d(t,{BI:()=>y,D3:()=>f,XJ:()=>m,lc:()=>h,mX:()=>g,rU:()=>_,tH:()=>T});var n=r(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+i,"i"),c=new RegExp(s+"$","i"),u='"',d=u+" + ",p=" + "+u;function h(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function f(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=h(e.labelExpression),t.type="conventional"),t}function y(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function _(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return T(t.expression)}return null}function g(e){let t;return e?(t=(0,n.HC)(e,(e=>i+'$feature["'+e+'"]'+s)),t=l.test(t)?t.replace(l,""):u+t,t=c.test(t)?t.replace(c,""):t+u,t=t.replaceAll(o,d).replaceAll(a,p)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,x=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function T(e){if(!e)return null;let t=v.exec(e)||b.exec(e);return t?t[1]||t[3]:(t=x.exec(e),t?t[2]:null)}},32756:(e,t,r)=>{r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>c});var n=r(90237),i=r(93637),s=r(10107),o=(r(44208),r(53966),r(87811),r(40608)),a=r(91880);function l(e,t,r){if(!e)return null;const n=e.find((e=>!!e.field));if(!n)return null;const i=new a.A;return i.read(n,r),[i]}const c={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,n){const s=e.find((e=>!!e.field));s&&(0,i.sM)(r,[s.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,n._)([(0,s.MZ)(c)],t.prototype,"orderBy",void 0),t=(0,n._)([(0,o.$)("esri.layers.mixins.OrderedLayer")],t),t}},39516:(e,t,r)=>{let n;async function i(){return null==n&&(n=Promise.all([r.e(8368),r.e(4123)]).then(r.bind(r,44123)).then((e=>new e.WhereClauseCache(500,500)))),n}async function s(e,t){const r=await i(),n=r.get(e,t);if(null==n)throw r.getError(e,t);return n}function o(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function a(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}r.d(t,{GP:()=>s,IW:()=>a,mA:()=>o})},41560:(e,t,r)=>{r.d(t,{Ch:()=>o,mW:()=>s});var n=r(34727),i=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){const s=function(e){if("manual"===c(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],u(r)),t[1]=Math.min(t[1],d(n));return t}(e);if(s&&((0,n.gg)(t,s[0])||(0,n.ZH)(r,s[1])))return"";const o=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=u(e.at(0)?.minScale),s=d(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(u(i.minScale),d(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map((e=>e.where||"1=1")).reduce(((e,t)=>(0,i.IW)(e,t)),"");return l&&"1=1"!==l?l:""}function*a(e,t,r){if("manual"===c(e)){const t=e.filters.find((t=>t.id===e.activeFilterId));t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)l(n.minScale,n.maxScale,t,r)&&(yield n)}}function l(e,t,r,i){return e=u(e),r=u(r),t=d(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function c(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},46140:(e,t,r)=>{r.d(t,{R:()=>i});var n=r(49186);let i=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[i,s]=t.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!o.test(s))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(i,10),l=parseInt(s,10);return new e(a,l,r)}}},55674:(e,t,r)=>{r.d(t,{Ad:()=>h,Gj:()=>y,QY:()=>p,lL:()=>_,xR:()=>f});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),c=r(43668),u=r(98623);const d=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of d)t.hasArcadeDependency(r)&&e.add(r);return e}function h(e,t){return m.create(e,t,null,["$feature","$view"])}function f(e,t,r){return m.create(e,t,r,["$feature","$view","$config"])}class m{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,c.l)();let a;try{a=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=s.scriptUsesGeometryEngine(a);l&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,a,null,!1,l);const u={vars:n.reduce(((e,t)=>({...e,[t]:null})),{}),spatialReference:t,useAsync:!1},d=s.compileScript(a,u);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const h=new o;return h.immutable=!1,h.setField("scale",0),new m(e,s,a,d,t,h,p,o)}constructor(e,t,r,n,i,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new y,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class y{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new l.A(_(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===u.L5}field(e,t=!0){const r=this._getField(e);if(r)switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(this._boundTarget.attributes[r.name]);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(this._boundTarget.attributes[r.name]);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(this._boundTarget.attributes[r.name]);case"date":case"esriFieldTypeDate":{const t=this._boundTarget.attributes[r.name];return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??u.qU)}default:return this._boundTarget.attributes[r.name]}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map((e=>e.name))}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function _(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},73681:(e,t,r)=>{r.d(t,{n:()=>l});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),a=r(55674);class l{static async from(e,t,r){const o=e.dictionary_version?s.R.parse(e.dictionary_version):null,u=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const h=await(0,a.xR)(e.expression,null,d);if(!h)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!o||!o.greaterEqual(4,0);f&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const m=new c(r,f);return new l(f,u,h,m)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map((e=>({...e,type:"esriFieldTypeString"})));return new o.A(t)}}class c extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t?"":""+this._boundTarget.attributes[t.name]}}},91880:(e,t,r)=>{r.d(t,{A:()=>u});var n,i=r(90237),s=r(66552),o=r(25482),a=r(10107),l=(r(44208),r(53966),r(87811),r(40608));const c=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.A{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i._)([(0,a.MZ)({type:c.apiValues,json:{type:c.jsonValues,read:c.read,write:c.write}})],u.prototype,"order",void 0),u=n=(0,i._)([(0,l.$)("esri.layers.support.OrderByInfo")],u)},94194:(e,t,r)=>{r.d(t,{A:()=>_});var n=r(90237),i=r(10107),s=(r(44208),r(53966),r(87811),r(40608)),o=r(5503),a=r(62885);let l=class extends o.A{constructor(e){super(e),this.addHandles([this.on("before-add",(e=>{null==e.item&&e.preventDefault()})),this.on("after-add",(e=>this._own(e.item))),this.on("after-remove",(e=>this._release(e.item)))])}get owner(){return this._get("owner")}set owner(e){e!==this._get("owner")&&(this._releaseAll(),this._set("owner",e),this._ownAll())}_ownAll(){for(const e of this.items)this._own(e)}_releaseAll(){for(const e of this.items)this._release(e)}_createNewInstance(e){return this.itemType?new(o.A.ofType(this.itemType.Type))(e):new o.A(e)}};(0,n._)([(0,i.MZ)()],l.prototype,"owner",null),l=(0,n._)([(0,s.$)("esri.core.support.OwningCollection")],l);var c=r(4146),u=r(63074),d=r(25036),p=r(52106),h=r(56507),f=(r(49186),r(7695));let m=class extends l{_own(e){e.layer&&"remove"in e.layer&&e.layer!==this.owner&&e.layer.remove(e),e.layer=this.owner}_release(e){e.layer===this.owner&&(e.layer=null)}};(0,n._)([(0,f.u)({Type:p.A,ensureType:(0,h.dp)(p.A)})],m.prototype,"itemType",void 0),m=(0,n._)([(0,s.$)("esri.support.GraphicsCollection")],m);var y=r(88625);let _=class extends((0,u.dM)((0,d.j)(c.A))){constructor(e){super(e),this.elevationInfo=null,this.graphics=new m,this.screenSizePerspectiveEnabled=!0,this.type="graphics",this.internal=!1}destroy(){this.removeAll(),this.graphics.destroy()}add(e){return this.graphics.add(e),this}addMany(e){return this.graphics.addMany(e),this}removeAll(){return this.graphics.removeAll(),this}remove(e){this.graphics.remove(e)}removeMany(e){this.graphics.removeMany(e)}on(e,t){return super.on(e,t)}graphicChanged(e){this.emit("graphic-update",e)}};var g,w;(0,n._)([(0,i.MZ)({type:y.A})],_.prototype,"elevationInfo",void 0),(0,n._)([(0,i.MZ)((g=m,w="graphics",{type:g,cast:a.H,set(e){const t=(0,a.V)(e,this._get(w),g);t.owner=this,this._set(w,t)}}))],_.prototype,"graphics",void 0),(0,n._)([(0,i.MZ)({type:["show","hide"]})],_.prototype,"listMode",void 0),(0,n._)([(0,i.MZ)()],_.prototype,"screenSizePerspectiveEnabled",void 0),(0,n._)([(0,i.MZ)({readOnly:!0})],_.prototype,"type",void 0),(0,n._)([(0,i.MZ)({constructOnly:!0})],_.prototype,"internal",void 0),_=(0,n._)([(0,s.$)("esri.layers.GraphicsLayer")],_)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7809],{6455:(e,t,r)=>{r.d(t,{FJ:()=>v,Dp:()=>w,KV:()=>_});var i=r(90237),s=r(93637),o=r(10107),n=(r(44208),r(53966),r(87811),r(40608)),l=r(89317),a=r(69540),p=r(5503),u=r(25482),d=r(43937),c=r(83960),y=r(13069);const m={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let h=class extends(a.A.ClonableMixin(u.A)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,i._)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,i._)([(0,o.MZ)({type:Number,json:m})],h.prototype,"maxScale",void 0),(0,i._)([(0,o.MZ)({type:Number,json:m})],h.prototype,"minScale",void 0),(0,i._)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,i._)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,i._)([(0,n.$)("esri.layers.support.DisplayFilter")],h);var f=r(41560);let g=class extends(a.A.ClonableMixin(u.A)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(p.A.ofType(h)),this.mode="manual"}writeFilters(e,t,r,i){const s=e.toArray();"scale"===this.mode&&s.sort(((e,t)=>{const r=(0,c.oW)(t.minScale,e.minScale),i=e.maxScale-t.maxScale;return 0===r?i:r})),t[r]=s.map((e=>e.toJSON(i)))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,i._)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,i._)([(0,o.MZ)({type:p.A.ofType(h),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,i._)([(0,d.K)("filters")],g.prototype,"writeFilters",null),(0,i._)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,i._)([(0,n.$)("esri.layers.support.DisplayFilterInfo")],g);const v=e=>{let t=class extends e{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,i._)([(0,o.MZ)(w)],t.prototype,"displayFilterEnabled",void 0),(0,i._)([(0,o.MZ)(_)],t.prototype,"displayFilterInfo",void 0),t=(0,i._)([(0,n.$)("esri.layers.mixins.DisplayFilteredLayer")],t),t},w={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:l.K,writer(e,t,r){(0,s.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},_={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:l.K},origins:{"web-scene":{write:!1,read:!1}}}}},8303:(e,t,r)=>{r.d(t,{A:()=>x});var i=r(90237),s=r(92602),o=r(70333),n=r(78888),l=r(60999),a=r(49186),p=r(53966),u=r(97768),d=r(74887),c=r(84952),y=r(10107),m=(r(44208),r(87811),r(36005)),h=r(40608),f=r(43937),g=r(77548),v=r(20655),w=r(80812),_=r(41318),M=r(10407);const x=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,u.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new w.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)||p.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}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=!o.id?.findCredential(this.url),s=e===r.id;if(s&&r.portal.user)return this._getUserPrivileges(r,i);let n,l;if(s)n=r.portal.url;else try{n=await(0,g.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!n||!(0,c.b8)(n,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(o.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const a=!0,p=!1,u=!1;if(!l)return{features:{edit:a,fullEdit:p},content:{updateItem:u}};try{if(s?await r.reload():(r=new w.default({id:e,portal:{url:n}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,d.QP)(e)}return{features:{edit:a,fullEdit:p},content:{updateItem:u}}}_getUserPrivileges(e,t){const r=(0,M.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?o.id?.findCredential(this.url):null;if(!t)return!0;const r=T.credential===t?T.user:await this._fetchEditingUser(e);return T.credential=t,T.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=o.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,s=v.A.getDefault();if(s&&s.loaded&&(0,c.S8)(s.restUrl)===(0,c.S8)(i))return s.user;const a=`${i}/community/self`,p=null!=e?e.signal:null,u=await(0,l.Ke)((0,n.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:p}));return u.ok?_.A.fromJSON(u.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||v.A.getDefault());return r&&i&&!(0,c.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.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._)([(0,y.MZ)({type:w.default})],t.prototype,"portalItem",null),(0,i._)([(0,m.w)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,i._)([(0,f.K)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,i._)([(0,y.MZ)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,i._)([(0,y.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,i._)([(0,y.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,i._)([(0,y.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,i._)([(0,h.$)("esri.layers.mixins.PortalLayer")],t),t},T={credential:null,user:null}},13069:(e,t,r)=>{r.d(t,{AG:()=>l,lk:()=>s,vD:()=>n,yS:()=>o});const i="randomUUID"in crypto;function s(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${s().toUpperCase()}}`}function n(){return`{${s()}}`}function l(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},17036:(e,t,r)=>{r.d(t,{p:()=>a});var i=r(44208),s=r(53966),o=r(20437),n=r(95466),l=r(30524);function a(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,i.A)("big-integer-warning-enabled")){const t=e.filter((e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8));if(t.length){const e=t.map((e=>`'${e.name}'`)).join(", ");s.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return n.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||s.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},22671:(e,t,r)=>{r.d(t,{A:()=>v});var i,s=r(90237),o=r(52106),n=r(66552),l=r(25482),a=r(4718),p=r(10107),u=(r(44208),r(53966),r(36005)),d=r(40608),c=r(43937),y=r(16930),m=r(65864),h=r(50498),f=r(20437);const g=new n.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:s}=this;if(s)for(const e of s)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,m.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=y.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,s]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((s-e)/r)));for(let e=0,t=o.length;e<t;e++)n?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,s],scale:[o,n]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,(e=>e*o+i),(e=>s-e*n),l,a);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=y.A.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const o=e[t],n=r.fromJSON(o),l=o.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=i);const a=o.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],s=r?.spatialReference;null==t||s||(t.spatialReference=i)}s.push(n)}return s}_quantizePoints(e,t,r){let i,s;const o=[];for(let n=0,l=e.length;n<l;n++){const l=e[n];if(n>0){const e=t(l[0]),n=r(l[1]);e===i&&n===s||(o.push([e-i,n-s]),i=e,s=n)}else i=t(l[0]),s=r(l[1]),o.push([i,s])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,m.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],n=this._quantizePoints(o,t,r);n&&s.push(n)}return s.length>0?((0,m.Bi)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,s){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,m.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];for(let e=0,s=i.length;e<s;e++){const s=i[e];e>0?(n+=s[0],l+=s[1]):(n=s[0],l=s[1]),s[0]=t(n),s[1]=r(l)}}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=s(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];e>0?(n+=i[0],l+=i[1]):(n=i[0],l=i[1]),i[0]=t(n),i[1]=r(l)}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2]),t[3]=s(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2])}}:null}};(0,s._)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,s._)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,s._)([(0,p.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,s._)([(0,u.w)("features")],v.prototype,"readFeatures",null),(0,s._)([(0,p.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,s._)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,s._)([(0,c.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,s._)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,s._)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,s._)([(0,p.MZ)({types:h.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,s._)([(0,u.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,s._)([(0,p.MZ)({type:y.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,s._)([(0,c.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,s._)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,s._)([(0,d.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},26253:(e,t,r)=>{r.d(t,{T:()=>d});var i=r(90237),s=r(69540),o=r(25482),n=r(88930),l=r(10107),a=(r(44208),r(53966),r(87811),r(93223)),p=r(40608),u=r(73133);let d=class extends(s.A.ClonableMixin(o.A)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,n.t)(this.value,this.unit,"milliseconds")}};(0,i._)([(0,a.e)(u.j,{nonNullable:!0})],d.prototype,"unit",void 0),(0,i._)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],d.prototype,"value",void 0),d=(0,i._)([(0,p.$)("esri.time.TimeInterval")],d)},29005:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(90237),s=r(69540),o=r(66552),n=r(25482),l=r(10107),a=(r(44208),r(53966),r(87811),r(40608));const p=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends(s.A.ClonableMixin(n.A)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i._)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i._)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,i._)([(0,l.MZ)({json:{read:p.read,write:p.write}})],u.prototype,"drawingTool",void 0),(0,i._)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,i._)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,i._)([(0,a.$)("esri.layers.support.FeatureTemplate")],u)},32756:(e,t,r)=>{r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>p});var i=r(90237),s=r(93637),o=r(10107),n=(r(44208),r(53966),r(87811),r(40608)),l=r(91880);function a(e,t,r){if(!e)return null;const i=e.find((e=>!!e.field));if(!i)return null;const s=new l.A;return s.read(i,r),[s]}const p={type:[l.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,i){const o=e.find((e=>!!e.field));o&&(0,s.sM)(r,[o.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,o.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,i._)([(0,n.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,r)=>{r.d(t,{A:()=>c});var i=r(90237),s=r(69540),o=r(25482),n=r(10107),l=(r(44208),r(53966),r(87811),r(36005)),a=r(40608),p=r(43937),u=r(80451),d=r(29005);let c=class extends(s.A.ClonableMixin(o.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.rS)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i._)([(0,n.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,i._)([(0,n.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,i._)([(0,n.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,i._)([(0,l.w)("domains")],c.prototype,"readDomains",null),(0,i._)([(0,p.K)("domains")],c.prototype,"writeDomains",null),(0,i._)([(0,n.MZ)({type:[d.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,i._)([(0,a.$)("esri.layers.support.FeatureType")],c)},52136:(e,t,r)=>{r.d(t,{p:()=>n});var i=r(90237),s=r(10107),o=(r(44208),r(53966),r(87811),r(40608));const n=e=>{let t=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i._)([(0,s.MZ)({type:String})],t.prototype,"apiKey",null),t=(0,i._)([(0,o.$)("esri.layers.mixins.APIKeyMixin")],t),t}},68109:(e,t,r)=>{r.d(t,{d:()=>_});var i=r(90237),s=r(10107),o=(r(44208),r(53966),r(87811),r(40608)),n=r(13874),l=r(69540),a=r(25482),p=r(93637),u=r(43937),d=r(50820),c=r(10873),y=r(46499),m=r(41214);let h=class extends(l.A.ClonableMixin(a.A)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,i._)([(0,s.MZ)({type:[y.A],json:{write:!0}})],h.prototype,"labelingInfo",void 0),(0,i._)([(0,s.MZ)(c.kF)],h.prototype,"labelsVisible",void 0),(0,i._)([(0,s.MZ)({types:m.Hg,json:{write:!0}})],h.prototype,"renderer",void 0),(0,i._)([(0,s.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"visible",void 0),h=(0,i._)([(0,o.$)("esri.layers.support.TrackPartInfo")],h);var f=r(96576),g=r(59868),v=r(26253);let w=class extends(l.A.ClonableMixin(a.A)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new h({renderer:new f.A({symbol:g.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new h({renderer:new f.A({symbol:g.UK.clone()})}),this.trackLines=new h({renderer:new f.A({symbol:g.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const i=e.filter((e=>"avg_angle"!==e.statisticType)).map((e=>e.toJSON()));(0,p.sM)(r,i,t)}};(0,i._)([(0,s.MZ)({type:Boolean,json:{write:!0}})],w.prototype,"enabled",void 0),(0,i._)([(0,s.MZ)({type:[d.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,i._)([(0,u.K)("fields")],w.prototype,"writeFields",null),(0,i._)([(0,s.MZ)({type:h,json:{write:!0}})],w.prototype,"latestObservations",void 0),(0,i._)([(0,s.MZ)({type:v.T,json:{write:!0}})],w.prototype,"maxDisplayDuration",void 0),(0,i._)([(0,s.MZ)({type:Number,json:{write:!0}})],w.prototype,"maxDisplayObservationsPerTrack",void 0),(0,i._)([(0,s.MZ)(c.M6)],w.prototype,"popupEnabled",void 0),(0,i._)([(0,s.MZ)({type:n.A,json:{name:"popupInfo",write:!0}})],w.prototype,"popupTemplate",void 0),(0,i._)([(0,s.MZ)({type:h,json:{write:!0}})],w.prototype,"previousObservations",void 0),(0,i._)([(0,s.MZ)({type:h,json:{write:!0}})],w.prototype,"trackLines",void 0),(0,i._)([(0,s.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],w.prototype,"timeField",void 0),w=(0,i._)([(0,o.$)("esri.layers.support.TrackInfo")],w);const _=e=>{let t=class extends e{constructor(){super(...arguments),this.trackInfo=null}};return(0,i._)([(0,s.MZ)({type:w})],t.prototype,"trackInfo",void 0),t=(0,i._)([(0,o.$)("esri.layers.mixins.TrackableLayer")],t),t}},69208:(e,t,r)=>{r.d(t,{d:()=>n});var i=r(90237),s=r(10107),o=(r(44208),r(53966),r(87811),r(40608));const n=e=>{let t=class extends e{constructor(){super(...arguments),this.customParameters=null}};return(0,i._)([(0,s.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],t.prototype,"customParameters",void 0),t=(0,i._)([(0,o.$)("esri.layers.mixins.CustomParametersMixin")],t),t}},73133:(e,t,r)=>{r.d(t,{j:()=>i});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:void 0})},82935:(e,t,r)=>{r.d(t,{B:()=>y,e:()=>m});var i=r(90237),s=r(10107),o=(r(44208),r(53966),r(87811),r(36005)),n=r(40608),l=r(89317),a=r(30524),p=r(96184),u=r(73133),d=r(64272),c=r(26253);const y={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:l.K}}},m=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const i=r.timeOffset,s=u.j.fromJSON(r.timeOffsetUnits);return i&&s?new c.T({value:i,unit:s}):null}set timeInfo(e){(0,a.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i._)([(0,s.MZ)({type:d.T,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,i._)([(0,s.MZ)({type:c.T})],t.prototype,"timeOffset",void 0),(0,i._)([(0,o.w)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,i._)([(0,s.MZ)({value:null,type:p.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,i._)([(0,s.MZ)(y)],t.prototype,"useViewTime",void 0),t=(0,i._)([(0,n.$)("esri.layers.mixins.TemporalLayer")],t),t}},83960:(e,t,r)=>{r.d(t,{X_:()=>n,oW:()=>a,zx:()=>l});var i=r(34727),s=r(83047);const o=96;function n(e,t){const r=t||e.extent,i=e.width,n=(0,s.GA)(r?.spatialReference);return r&&i?r.width/i*n*s.dy*o:0}function l(e,t,r){return function(e,t){return 0===t||(0,i.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,i.Sp)(e,t)||e>t}(e,r)}function a(e,t){return(0,i.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},87152:(e,t,r)=>{r.r(t),r.d(t,{default:()=>k});var i=r(90237),s=r(13874),o=r(92071),n=r(10107),l=(r(44208),r(53966),r(87811),r(40608)),a=r(5443),p=r(16930),u=r(50498),d=r(4146),c=r(49186),y=r(92474),m=r(799),h=r(75321),f=r(4071),g=r(22671);let v=class extends y.A{constructor(){super(...arguments),this.featureDefinition=null,this.type="ogc-feature"}load(e){return this.addResolvingPromise(this._loadOGCServices(this.layer,e)),this.when()}getSource(){const{featureDefinition:{collection:e,layerDefinition:t,spatialReference:r,supportedCrs:i},layer:{apiKey:s,customParameters:o,effectiveMaxRecordCount:n}}=this;return{type:"ogc-source",collection:e,layerDefinition:t,maxRecordCount:n,queryParameters:{apiKey:s,customParameters:o},spatialReference:r,supportedCrs:i}}queryExtent(e,t={}){return null}queryFeatureCount(e,t={}){return null}queryFeatures(e,t={}){return this.queryFeaturesJSON(e,t).then((e=>g.A.fromJSON(e)))}queryFeaturesJSON(e,t={}){const r=this.getSource();return this.load(t).then((()=>(0,h.bW)(r,e,t)))}queryObjectIds(e,t={}){return null}serviceSupportsSpatialReference(e){return!(!e.isWGS84&&!e.isWebMercator&&!this.featureDefinition.supportedCrs[e.wkid])}_conformsToType(e,t){const r=new RegExp(`^${(0,m.Cj)(t)}$`,"i");return e.conformsTo.some((e=>r.test(e)))??!1}_getCapabilities(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryBins:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1,supportsAsyncConvert3D:!1},query:{maxRecordCount:t,maxRecordCountFactor:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,supportsCacheHint:!1,supportsCentroid:!1,supportsCurrentUser:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPaginationOnAggregatedQueries:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByAnonymous:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsReturnMesh:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsStatistics:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,supportsSqlExpression:!1,supportsTrueCurve:!1,tileMaxRecordCount:void 0},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:f.$,editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUploadWithItemId:!1,supportsUpdateWithoutM:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}_getMaxRecordCount(e){const t=e?.components?.parameters;return t?.limit?.schema?.maximum??t?.limitFeatures?.schema?.maximum}_getStorageSpatialReference(e){const t=e.storageCrs??h.QE,r=(0,h.J0)(t);return null==r?p.A.WGS84:new p.A({wkid:r})}_getSupportedSpatialReferences(e,t){const r="#/crs",i=e.crs??[h.QE],s=i.includes(r)?i.filter((e=>e!==r)).concat(t.crs??[]):i,o=/^http:\/\/www\.opengis.net\/def\/crs\/epsg\/.*\/3785$/i;return s.filter((e=>!o.test(e)))}async _loadOGCServices(e,t){const r=null!=t?t.signal:null,{apiKey:i,collectionId:s,customParameters:o,fields:n,geometryType:l,hasZ:a,objectIdField:p,timeInfo:d,url:y}=e,f={fields:n?.map((e=>e.toJSON())),geometryType:u.Ye.toJSON(l),hasZ:a??!1,objectIdField:p,timeInfo:d?.toJSON()},g={apiKey:i,customParameters:o,signal:r},v=await(0,h.Ki)(y,g),[w,_]=await Promise.all([(0,h.Px)(v,g),(0,h.bV)(v,g)]);if(!this._conformsToType(w,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson"))throw new c.A("ogc-feature-layer:no-geojson-support","Server does not support geojson");const M=_.collections.find((({id:e})=>e===s));if(!M)throw new c.A("ogc-feature-layer:collection-not-found","Server does not contain the named collection");const x=this._conformsToType(w,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30")?await(0,h.GA)(v,g):null,T=await(0,h.GL)(M,f,g),I=this._getMaxRecordCount(x),S=this._getCapabilities(T.hasZ,I),F=this._getStorageSpatialReference(M).toJSON(),b=this._getSupportedSpatialReferences(M,_),Z=new RegExp(`^${(0,m.Cj)(h.vJ)}`,"i"),A={};for(const e of b){const t=(0,h.J0)(e);null!=t&&(A[t]||(A[t]=e.replace(Z,"")))}this.featureDefinition={capabilities:S,collection:M,layerDefinition:T,spatialReference:F,supportedCrs:A}}};(0,i._)([(0,n.MZ)()],v.prototype,"featureDefinition",void 0),(0,i._)([(0,n.MZ)({constructOnly:!0})],v.prototype,"layer",void 0),(0,i._)([(0,n.MZ)()],v.prototype,"type",void 0),v=(0,i._)([(0,l.$)("esri.layers.graphics.sources.OGCFeatureSource")],v);var w=r(52136),_=r(63074),M=r(69208),x=r(6455),T=r(87718),I=r(76294),S=r(16131),F=r(32756),b=r(8303),Z=r(54310),A=r(25036),j=r(82935),P=r(68109),O=r(10873),E=r(33143),R=r(20437),C=r(17036),D=r(30524),U=r(46499),N=r(39383),B=r(41214),$=r(61956),G=r(30291);const L=(0,C.p)();let J=class extends((0,x.FJ)((0,w.p)((0,M.d)((0,I.J)((0,T.F)((0,_.dM)((0,F.fY)((0,j.e)((0,P.d)((0,A.j)((0,S.q)((0,b.A)((0,Z.J)((0,o.P)(d.A))))))))))))))){constructor(e){super(e),this.capabilities=null,this.collectionId=null,this.copyright=null,this.description=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.hasZ=void 0,this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.maxRecordCount=null,this.objectIdField=null,this.operationalLayerType="OGCFeatureLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new v({layer:this}),this.spatialReference=null,this.title=null,this.type="ogc-feature",this.typeIdField=null,this.types=null,this.url=null}destroy(){this.source?.destroy()}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["OGCFeatureServer"]},e).then((()=>this._fetchService(e)))),this.when()}get defaultPopupTemplate(){return this.createPopupTemplate()}get effectiveMaxRecordCount(){return this.maxRecordCount??this.capabilities?.query.maxRecordCount??5e3}get isTable(){return this.loaded&&null==this.geometryType}set renderer(e){(0,D.yp)(e,this.fieldsIndex),this._set("renderer",e)}on(e,t){return super.on(e,t)}createPopupTemplate(e){return(0,G.tn)(this,e)}createQuery(){return new $.A}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){let r,i=!1;const s=t?.feature?.attributes,o=this.typeIdField&&s?.[this.typeIdField];return null!=o&&this.types&&(i=this.types.some((t=>t.id==o&&(r=t.domains?.[e],"inherited"===r?.type&&(r=this._getLayerDomain(e)),!0)))),i||r||(r=this._getLayerDomain(e)),r}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures($.A.from(e)||this.createQuery(),t))).then((e=>(e?.features?.forEach((e=>{e.layer=e.sourceLayer=this})),e)))}serviceSupportsSpatialReference(e){return this.source?.serviceSupportsSpatialReference(e)??!1}async _fetchService(e){await this.source.load(e),this.read(this.source.featureDefinition,{origin:"service"}),(0,D.yp)(this.renderer,this.fieldsIndex),(0,D.sv)(this.timeInfo,this.fieldsIndex)}_getLayerDomain(e){if(!this.fields)return null;for(const t of this.fields)if(t.name===e&&t.domain)return t.domain;return null}};(0,i._)([(0,n.MZ)({readOnly:!0,json:{origins:{service:{read:!0}}}})],J.prototype,"capabilities",void 0),(0,i._)([(0,n.MZ)({type:String,json:{write:!0}})],J.prototype,"collectionId",void 0),(0,i._)([(0,n.MZ)({type:String})],J.prototype,"copyright",void 0),(0,i._)([(0,n.MZ)({readOnly:!0})],J.prototype,"defaultPopupTemplate",null),(0,i._)([(0,n.MZ)({readOnly:!0,type:String,json:{origins:{service:{name:"collection.description"}}}})],J.prototype,"description",void 0),(0,i._)([(0,n.MZ)({type:String})],J.prototype,"displayField",void 0),(0,i._)([(0,n.MZ)({type:Number})],J.prototype,"effectiveMaxRecordCount",null),(0,i._)([(0,n.MZ)(O.Yj)],J.prototype,"elevationInfo",void 0),(0,i._)([(0,n.MZ)({type:[R.A],json:{origins:{service:{name:"layerDefinition.fields"}}}})],J.prototype,"fields",void 0),(0,i._)([(0,n.MZ)(L.fieldsIndex)],J.prototype,"fieldsIndex",void 0),(0,i._)([(0,n.MZ)({readOnly:!0,type:a.A,json:{origins:{service:{name:"layerDefinition.extent"}}}})],J.prototype,"fullExtent",void 0),(0,i._)([(0,n.MZ)({type:u.gy.apiValues,json:{origins:{service:{name:"layerDefinition.geometryType",read:{reader:u.gy.read}}}}})],J.prototype,"geometryType",void 0),(0,i._)([(0,n.MZ)({type:Boolean,json:{origins:{service:{name:"layerDefinition.hasZ"}}}})],J.prototype,"hasZ",void 0),(0,i._)([(0,n.MZ)({type:Boolean,readOnly:!0})],J.prototype,"isTable",null),(0,i._)([(0,n.MZ)({type:[U.A],json:{origins:{"web-document":{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:N.w},write:!0}}}})],J.prototype,"labelingInfo",void 0),(0,i._)([(0,n.MZ)(O.kF)],J.prototype,"labelsVisible",void 0),(0,i._)([(0,n.MZ)(O.fV)],J.prototype,"legendEnabled",void 0),(0,i._)([(0,n.MZ)({type:Number})],J.prototype,"maxRecordCount",void 0),(0,i._)([(0,n.MZ)({type:String,json:{origins:{service:{name:"layerDefinition.objectIdField"}}}})],J.prototype,"objectIdField",void 0),(0,i._)([(0,n.MZ)({type:["OGCFeatureLayer"]})],J.prototype,"operationalLayerType",void 0),(0,i._)([(0,n.MZ)(O.M6)],J.prototype,"popupEnabled",void 0),(0,i._)([(0,n.MZ)({type:s.A,json:{name:"popupInfo",write:!0}})],J.prototype,"popupTemplate",void 0),(0,i._)([(0,n.MZ)({types:B.Hg,json:{origins:{service:{name:"layerDefinition.drawingInfo.renderer",write:!1},"web-scene":{types:B.XJ,name:"layerDefinition.drawingInfo.renderer",write:!0}},name:"layerDefinition.drawingInfo.renderer",write:!0}})],J.prototype,"renderer",null),(0,i._)([(0,n.MZ)(O.PY)],J.prototype,"screenSizePerspectiveEnabled",void 0),(0,i._)([(0,n.MZ)({readOnly:!0})],J.prototype,"source",void 0),(0,i._)([(0,n.MZ)({readOnly:!0,type:p.A,json:{origins:{service:{read:!0}}}})],J.prototype,"spatialReference",void 0),(0,i._)([(0,n.MZ)({type:String,json:{write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"collection.title"}}}})],J.prototype,"title",void 0),(0,i._)([(0,n.MZ)({readOnly:!0,json:{read:!1}})],J.prototype,"type",void 0),(0,i._)([(0,n.MZ)({type:String,readOnly:!0})],J.prototype,"typeIdField",void 0),(0,i._)([(0,n.MZ)({type:[E.A]})],J.prototype,"types",void 0),(0,i._)([(0,n.MZ)(O.OZ)],J.prototype,"url",void 0),J=(0,i._)([(0,l.$)("esri.layers.OGCFeatureLayer")],J);const k=J},91880:(e,t,r)=>{r.d(t,{A:()=>u});var i,s=r(90237),o=r(66552),n=r(25482),l=r(10107),a=(r(44208),r(53966),r(87811),r(40608));const p=new o.J({asc:"ascending",desc:"descending"});let u=class extends n.A{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,s._)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,s._)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,s._)([(0,l.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=i=(0,s._)([(0,a.$)("esri.layers.support.OrderByInfo")],u)},96184:(e,t,r)=>{r.d(t,{A:()=>m});var i=r(90237),s=r(69540),o=r(25482),n=r(10107),l=(r(44208),r(53966),r(87811),r(36005)),a=r(40608),p=r(43937),u=r(64272),d=r(26253),c=r(56400);function y(e,t){return d.T.fromJSON({value:e,unit:t})}let m=class extends(s.A.ClonableMixin(o.A)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?u.T.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?y(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?y(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,i._)([(0,n.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],m.prototype,"cumulative",void 0),(0,i._)([(0,n.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"endField",void 0),(0,i._)([(0,n.MZ)({type:u.T,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"fullTimeExtent",void 0),(0,i._)([(0,l.w)("fullTimeExtent",["timeExtent"])],m.prototype,"readFullTimeExtent",null),(0,i._)([(0,p.K)("fullTimeExtent")],m.prototype,"writeFullTimeExtent",null),(0,i._)([(0,n.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hasLiveData",void 0),(0,i._)([(0,n.MZ)({type:d.T,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"interval",void 0),(0,i._)([(0,l.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],m.prototype,"readInterval",null),(0,i._)([(0,p.K)("interval")],m.prototype,"writeInterval",null),(0,i._)([(0,n.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"startField",void 0),(0,i._)([(0,n.MZ)((0,c.P6)("timeReference",!0))],m.prototype,"timeZone",void 0),(0,i._)([(0,n.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"trackIdField",void 0),(0,i._)([(0,n.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],m.prototype,"useTime",void 0),(0,i._)([(0,n.MZ)({type:[Date],json:{read:!1}})],m.prototype,"stops",void 0),m=(0,i._)([(0,a.$)("esri.layers.support.TimeInfo")],m)},99352:(e,t,r)=>{r.d(t,{F:()=>i,P:()=>s});const i={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},s={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2507],{10838:(a,e,t)=>{t.d(e,{ao:()=>h,ud:()=>u,xO:()=>T});var n=t(49186),r=t(36563),i=t(74887),o=t(73444);const s={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function d(a){if(function(a){return a in s}(a)){const e=s[a];return!0===e?a:e}return null}const m=[],c=new Map;function l(a){for(const e of c.keys())S(a.pattern,e)&&c.delete(e)}function h(a){return m.includes(a)||(l(a),m.unshift(a)),(0,r.hA)((()=>{const e=m.indexOf(a);e>-1&&(m.splice(e,1),l(a))}))}async function u(a){const e=(0,o.JK)();c.has(a)||c.set(a,async function(a,e){const t=[];for(const n of m)if(S(n.pattern,a))try{return await n.fetchMessageBundle(a,e)}catch(a){t.push(a)}if(t.length)throw new n.A("intl:message-bundle-error",`Errors occurred while loading "${a}"`,{errors:t});throw new n.A("intl:no-message-bundle-loader",`No loader found for message bundle "${a}"`)}(a,e));const t=c.get(a);return t&&await g.add(t),t}function T(a){const e=(0,o.ZS)(a);return e?d(a)??d(e.language):null}function S(a,e){return"string"==typeof a?e.startsWith(a):a.test(e)}(0,o.Ml)((()=>{c.clear()}));const g=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(a){return this._increase(),a.then((()=>this._decrease()),(()=>this._decrease())),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,i.Tw)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},56400:(a,e,t)=>{t.d(e,{ZS:()=>d,hv:()=>m,wr:()=>c,P6:()=>s});var n=t(98623);const r=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var i=t(96285);const o="shortOffset";function s(a,e=!1){return{json:{read:{source:a,reader:(e,t)=>t[a]?d(t[a]):null},write:!!e&&{allowNull:!0,writer(e,t){t[a]=e?function(a){return{timeZoneIANA:a}}(e):null}}}}}function d(a,e=n.qU){return a?"timeZoneIANA"in a?a.timeZoneIANA:function(a,e=n.qU){if(!a||!r.has(a.timeZone))return e;const t=r.get(a.timeZone);return a.timeZone.startsWith("UTC")||a.respectsDaylightSaving?t:function(a){const e=i.c9.local().setZone(a),t=Math.min(e.set({month:1,day:1}).offset,e.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${i.mQ.instance(-t).formatOffset(0,"narrow")}`}(t)}(a,e):e}function m(a,e,t,r,i){if(e&&"date"===i)return{timeZone:n.n$,timeZoneName:void 0};const s=r.timeStyle||r.hour,d=t===n.L5;return{timeZone:d?"timestamp-offset"===i?void 0:a??n.n$:t,timeZoneName:d&&s?o:void 0}}function c(a){const e=new Set(["etc/utc","etc/gmt","gmt"]),t=new Set(Intl.supportedValuesOf("timeZone").map((a=>a.toLowerCase())));return a===n.qU||a===n.L5||e.has(a.toLowerCase())||t.has(a.toLowerCase())}},65529:(a,e,t)=>{t.d(e,{A:()=>d});var n=t(90237),r=t(69622),i=t(36563),o=t(40608);class s{constructor(){this._emitter=new s.EventEmitter(this)}emit(a,e){return this._emitter.emit(a,e)}on(a,e){return this._emitter.on(a,e)}once(a,e){return this._emitter.once(a,e)}hasEventListener(a){return this._emitter.hasEventListener(a)}}!function(a){class e{constructor(a=null){this._target=a,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(a,e){let t=this._listenersMap?.get(a);if(!t)return!1;const n=this._target||this;let r=!1;for(const a of t.slice()){const t="deref"in a?a.deref():a;t?t?.call(n,e):r=!0}return r&&(t=t.filter((a=>!("deref"in a)||null!=a.deref())),this._listenersMap.set(a,t)),t.length>0}on(a,e){if(Array.isArray(a)){const t=a.map((a=>this.on(a,e)));return(0,i.vE)(t)}if(a.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const t=this._listenersMap.get(a)||[];return t.push(e),this._listenersMap.set(a,t),(0,i.hA)((()=>{const t=this._listenersMap?.get(a),n=t?.indexOf(e)??-1;n>=0&&t.splice(n,1)}))}once(a,e){const t=this.on(a,(a=>{t.remove();const n="deref"in e?e.deref():e;n?.call(null,a)}));return t}hasEventListener(a){const e=this._listenersMap?.get(a);return null!=e&&e.length>0}}a.EventEmitter=e,a.EventedMixin=a=>{let t=class extends a{constructor(){super(...arguments),this._emitter=new e}destroy(){this._emitter.clear()}emit(a,e){return this._emitter.emit(a,e)}on(a,e){return this._emitter.on(a,e)}once(a,e){return this._emitter.once(a,e)}hasEventListener(a){return this._emitter.hasEventListener(a)}};return t=(0,n._)([(0,o.$)("esri.core.Evented")],t),t};let t=class extends r.A{constructor(){super(...arguments),this._emitter=new s.EventEmitter(this)}destroy(){this._emitter.clear()}emit(a,e){return this._emitter.emit(a,e)}on(a,e){return this._emitter.on(a,e)}once(a,e){return this._emitter.once(a,e)}hasEventListener(a){return this._emitter.hasEventListener(a)}};t=(0,n._)([(0,o.$)("esri.core.Evented.EventedAccessor")],t),a.EventedAccessor=t}(s||(s={}));const d=s},73444:(a,e,t)=>{t.d(e,{JK:()=>d,Ml:()=>T,ZS:()=>c,oQ:()=>h});var n=t(36563);let r;t(44208);const i=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,o=globalThis.document?.documentElement;function s(){const a=o?.getAttribute("lang"),e=globalThis.navigator?.language;return i??a??e??"en"}function d(){return void 0===r&&(r=s()),r}const m=/^(?<language>[a-z]{2,3})(?:-[a-z]{3})?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(a=d()){return m.exec(a)?.groups}const l=[];function h(a){return l.push(a),(0,n.hA)((()=>{l.splice(l.indexOf(a),1)}))}new Map;const u=[];function T(a){return u.push(a),(0,n.hA)((()=>u.splice(u.indexOf(a),1)))}function S(){const a=s();r!==a&&([...u].forEach((e=>e(a))),r=a,[...l].forEach((e=>e(a))))}globalThis.addEventListener?.("languagechange",S),o&&new MutationObserver((()=>{S()})).observe(o,{attributeFilter:["lang"]})},79901:(a,e,t)=>{t.d(e,{w:()=>d});var n=t(56507),r=t(96156);const i=Object.prototype.toString;function o(a){const e="__accessorMetadata__"in a?(0,n.dp)(a):a;return function(...a){if(a.push(e),"number"==typeof a[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return s.apply(this,a)}}function s(a,e,t,n){(0,r.z4)(a,e).cast=n}function d(...a){if(3!==a.length||"string"!=typeof a[1])return 1===a.length&&"[object Function]"===i.call(a[0])?o(a[0]):1===a.length&&"string"==typeof a[0]?function(a){return(e,t)=>{(0,r.z4)(e,a).cast=e[t]}}(a[0]):void 0}},97770:(a,e,t)=>{t.d(e,{Ey:()=>L,F8:()=>b,J2:()=>v,Yq:()=>k,_v:()=>E,iS:()=>w,wj:()=>U});var n=t(66552),r=t(73444),i=t(98623),o=(t(56400),t(96285));const s={year:void 0,month:void 0,day:void 0,weekday:void 0},d={hour:void 0,minute:void 0,second:void 0},m={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},l={year:"numeric",month:"long",day:"numeric"},h={year:"numeric",month:"short",day:"numeric"},u={year:"numeric",month:"long",weekday:"long",day:"numeric"},T={hour:"numeric",minute:"numeric"},S={...T,second:"numeric"},g={hourCycle:"h23"},A={...T,...g},f={...S,...g},y={"short-date":c,"short-date-short-time":{...c,...T},"short-date-short-time-24":{...c,...A},"short-date-long-time":{...c,...S},"short-date-long-time-24":{...c,...f},"short-date-le":c,"short-date-le-short-time":{...c,...T},"short-date-le-short-time-24":{...c,...A},"short-date-le-long-time":{...c,...S},"short-date-le-long-time-24":{...c,...f},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...T},"long-month-day-year-short-time-24":{...l,...A},"long-month-day-year-long-time":{...l,...S},"long-month-day-year-long-time-24":{...l,...f},"day-short-month-year":h,"day-short-month-year-short-time":{...h,...T},"day-short-month-year-short-time-24":{...h,...A},"day-short-month-year-long-time":{...h,...S},"day-short-month-year-long-time-24":{...h,...f},"long-date":u,"long-date-short-time":{...u,...T},"long-date-short-time-24":{...u,...A},"long-date-long-time":{...u,...S},"long-date-long-time-24":{...u,...f},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":T,"long-time":S},E=(0,n.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"}),p={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function M(){const a=(0,r.JK)(),e=(0,r.ZS)(a)?.language;return(e&&p[e])??a}"M03"===new Intl.DateTimeFormat("bs",{month:"long"}).format(new Date(2025,2))&&(p.bs="hr");let C=new WeakMap;const _=y["short-date-short-time"];function v(a){return y[a]}function k(a,e=_){return function(a){let e=C.get(a);if(!e){const t=M(),n=U(a.timeZone??i.qU),r={...a,timeZone:n};e=new Intl.DateTimeFormat(t,r),C.set(a,e)}return e}(e).format(a)}function w(a,e=_){return k(new Date(a),{...e,...m,...d})}function b(a,e=_){return k(new Date(`1970-01-01T${a}Z`),{...e,...m,...s})}function L(a,e=_){if(e.timeZone)return k(new Date(a),e);const t=o.c9.fromISO(a,{setZone:!0}),n=0===t.offset?i.n$:e.timeZone,r={...e,timeZone:n};return t.toLocaleString(r,{locale:M()})}function U(a){switch(a){case i.qU:return i.N5;case i.L5:return i.n$;default:return a}}(0,r.Ml)((()=>{C=new WeakMap}))},98623:(a,e,t)=>{t.d(e,{L5:()=>r,N5:()=>o,n$:()=>i,qU:()=>n});const n="system",r="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[655],{16405:(t,e,r)=>{r.d(e,{A:()=>c});var s,o=r(90237),i=r(69622),l=r(66552),a=r(4718),n=r(10107),u=(r(44208),r(53966),r(40608)),p=r(5443),d=r(16930),h=r(28735);const y=new l.J({avgRating:"avg-rating",numRatings:"num-ratings",numComments:"num-comments",numViews:"num-views"});let c=s=class extends i.A{constructor(t){super(t),this.categories=null,this.disableExtraQuery=!1,this.extent=null,this.filter=null,this.num=10,this.query=null,this.sortField=null,this.start=1}get sortOrder(){return this._get("sortOrder")||"asc"}set sortOrder(t){"asc"!==t&&"desc"!==t||this._set("sortOrder",t)}clone(){return new s({categories:this.categories?(0,a.o8)(this.categories):null,disableExtraQuery:this.disableExtraQuery,extent:this.extent?this.extent.clone():null,filter:this.filter,num:this.num,query:this.query,sortField:this.sortField,sortOrder:this.sortOrder,start:this.start})}toRequestOptions(t,e){let r=[];this.categories&&(r=this.categories.map((t=>Array.isArray(t)?JSON.stringify(t):t)));let s="";if(this.extent){const t=(0,h.Cv)(this.extent,d.A.WGS84);null!=t&&(s=`${t.xmin},${t.ymin},${t.xmax},${t.ymax}`)}let o=this.query;!this.disableExtraQuery&&t.extraQuery&&(o="("+o+")"+t.extraQuery);const i={categories:r,bbox:s,q:o,filter:this.filter,num:this.num,sortField:null,sortOrder:null,start:this.start};return this.sortField&&(i.sortField=this.sortField.split(",").map((t=>y.toJSON(t.trim()))).join(","),i.sortOrder=this.sortOrder),{query:{...e,...i}}}};(0,o._)([(0,n.MZ)()],c.prototype,"categories",void 0),(0,o._)([(0,n.MZ)()],c.prototype,"disableExtraQuery",void 0),(0,o._)([(0,n.MZ)({type:p.A})],c.prototype,"extent",void 0),(0,o._)([(0,n.MZ)()],c.prototype,"filter",void 0),(0,o._)([(0,n.MZ)()],c.prototype,"num",void 0),(0,o._)([(0,n.MZ)()],c.prototype,"query",void 0),(0,o._)([(0,n.MZ)()],c.prototype,"sortField",void 0),(0,o._)([(0,n.MZ)()],c.prototype,"sortOrder",null),(0,o._)([(0,n.MZ)()],c.prototype,"start",void 0),c=s=(0,o._)([(0,u.$)("esri.portal.PortalQueryParams")],c)},20655:(t,e,r)=>{r.d(e,{A:()=>D});var s=r(90237),o=r(92602),i=r(70333),l=r(78888),a=r(49186),n=r(25482),u=r(92474),p=r(97768),d=r(74887),h=r(10107),y=r(56507),c=(r(44208),r(87811),r(36005)),m=r(40608),_=r(5443),v=r(73444);let f;var M=r(96360),g=r(16405),Z=r(69622);r(53966);let S=class extends Z.A{constructor(t){super(t),this.nextQueryParams=null,this.queryParams=null,this.results=null,this.total=null}};(0,s._)([(0,h.MZ)()],S.prototype,"nextQueryParams",void 0),(0,s._)([(0,h.MZ)()],S.prototype,"queryParams",void 0),(0,s._)([(0,h.MZ)()],S.prototype,"results",void 0),(0,s._)([(0,h.MZ)()],S.prototype,"total",void 0),S=(0,s._)([(0,m.$)("esri.portal.PortalQueryResult")],S);var P,O=r(41318),w=r(926);let A;const C={PortalGroup:()=>Promise.resolve({default:M.A}),PortalItem:()=>r.e(812).then(r.bind(r,80812)),PortalUser:()=>Promise.resolve({default:O.A})};let D=class extends(n.A.JSONSupportMixin(u.A)){static{P=this}static{this.AUTH_MODE_ANONYMOUS="anonymous"}static{this.AUTH_MODE_AUTO="auto"}static{this.AUTH_MODE_IMMEDIATE="immediate"}static{this.AUTH_MODE_NO_PROMPT="no-prompt"}constructor(t){super(t),this._esriIdCredentialCreateHandle=null,this.access=null,this.allSSL=!1,this.authMode="auto",this.authorizedCrossOriginDomains=null,this.basemapGalleryGroupQuery=null,this.basemapGalleryGroupQuery3D=null,this.bingKey=null,this.canListApps=!1,this.canListData=!1,this.canListPreProvisionedItems=!1,this.canProvisionDirectPurchase=!1,this.canSearchPublic=!0,this.canShareBingPublic=!1,this.canSharePublic=!1,this.canSignInArcGIS=!1,this.canSignInIDP=!1,this.colorSetsGroupQuery=null,this.commentsEnabled=!1,this.created=null,this.culture=null,this.customBaseUrl=null,this.default3DBasemapQuery=null,this.defaultBasemap=null,this.defaultDevBasemap=null,this.defaultExtent=null,this.defaultVectorBasemap=null,this.description=null,this.devBasemapGalleryGroupQuery=null,this.eueiEnabled=null,this.featuredGroups=null,this.featuredItemsGroupQuery=null,this.galleryTemplatesGroupQuery=null,this.layoutGroupQuery=null,this.livingAtlasGroupQuery=null,this.hasCategorySchema=!1,this.hasClassificationSchema=!1,this.helperServices=null,this.homePageFeaturedContent=null,this.homePageFeaturedContentCount=null,this.httpPort=null,this.httpsPort=null,this.id=null,this.ipCntryCode=null,this.isPortal=!1,this.isReadOnly=!1,this.layerTemplatesGroupQuery=null,this.maxTokenExpirationMinutes=null,this.modified=null,this.name=null,this.portalHostname=null,this.portalMode=null,this.portalProperties=null,this.region=null,this.recycleBinEnabled=!1,this.rotatorPanels=null,this.showHomePageDescription=!1,this.sourceJSON=null,this.supportsHostedServices=!1,this.symbolSetsGroupQuery=null,this.templatesGroupQuery=null,this.units=null,this.url=o.A.portalUrl,this.urlKey=null,this.user=null,this.use3dBasemaps=!0,this.useDefault3dBasemap=!1,this.useStandardizedQuery=!1,this.useVectorBasemaps=!1,this.vectorBasemapGalleryGroupQuery=null}normalizeCtorArgs(t){return"string"==typeof t?{url:t}:t}destroy(){b.unregister(this),this.defaultBasemap=(0,p.pR)(this.defaultBasemap),this.defaultDevBasemap=(0,p.pR)(this.defaultDevBasemap),this.defaultVectorBasemap=(0,p.pR)(this.defaultVectorBasemap),this._esriIdCredentialCreateHandle=(0,p.xt)(this._esriIdCredentialCreateHandle)}readAuthorizedCrossOriginDomains(t){if(t)for(const e of t)o.A.request.trustedServers.includes(e)||o.A.request.trustedServers.push(e);return t}readDefaultBasemap(t){return this._readBasemap(t)}readDefaultDevBasemap(t){return this._readBasemap(t)}readDefaultVectorBasemap(t){return this._readBasemap(t)}get extraQuery(){const t=this.user?.orgId,e=!t||this.canSearchPublic;return this.id&&!e?` AND orgid:${this.id}`:null}get hasAPIKey(){return(0,w.Jn)(this.restUrl)}get isOrganization(){return!!this.access}get itemPageUrl(){return this.url?`${this.url}/home/item.html`:null}get restUrl(){let t=this.url;if(t){const e=t.indexOf("/sharing");t=e>0?t.slice(0,e):this.url.replace(/\/+$/,""),t+="/sharing/rest"}return t}get thumbnailUrl(){const t=this.restUrl,e=this.thumbnail;return t&&e?this._normalizeSSL(t+"/portals/self/resources/"+e):null}readUrlKey(t){return t?t.toLowerCase():t}readUser(t){let e=null;return t&&(e=O.A.fromJSON(t),e.portal=this),e}load(t){const e=Promise.all([r.e(812),r.e(3116)]).then(r.bind(r,83116)).then((({default:e})=>{(0,d.Te)(t),A=e})).then((()=>this.sourceJSON?this.sourceJSON:this.fetchSelf(this.authMode,!1,t))).then((t=>{if(!this.hasAPIKey&&i.id){const t=i.id;this.credential=t.findCredential(this.restUrl),this.credential||this.authMode!==P.AUTH_MODE_AUTO&&this.authMode!==P.AUTH_MODE_NO_PROMPT||(this._esriIdCredentialCreateHandle?.remove(),this._esriIdCredentialCreateHandle=t.on("credential-create",function(t){const e=i.id;return()=>{const r=t.deref();r&&e.findCredential(r.restUrl)&&r.signIn().catch((()=>{}))}}(new WeakRef(this))),b.register(this,this._esriIdCredentialCreateHandle,this))}this.sourceJSON=t,this.read(t)}));return this.addResolvingPromise(e),Promise.resolve(this)}async createElevationLayers(){await this.load();const t=this._getHelperService("defaultElevationLayers"),e=(await Promise.all([r.e(6131),r.e(9953),r.e(586),r.e(812),r.e(9186),r.e(5751)]).then(r.bind(r,68611))).default;return t?t.map((t=>new e({id:t.id,url:t.url}))):[]}async fetchBasemaps(t,e){const r=await this._fetchBasemaps(t,e);if(!0===e?.include3d&&!1!==this.use3dBasemaps){const s=await this._fetchBasemaps3D(t,e);r.unshift(...s)}return r}async fetchDefault3DBasemap(t){if(!this.useDefault3dBasemap||!this.default3DBasemapQuery||"none"===this.default3DBasemapQuery)return null;const e=new g.A;e.query=this.default3DBasemapQuery,e.disableExtraQuery=!0;const r=(await this.queryItems(e,t)).results.find((t=>"Web Scene"===t.type));return r?new A({portalItem:r}):null}fetchCategorySchema(t){return this.hasCategorySchema?this.request(this.restUrl+"/portals/self/categorySchema",t).then((t=>t.categorySchema)):(0,d.G4)(t)?Promise.reject((0,d.NK)()):Promise.resolve([])}async fetchClassificationSchema(t){return this.hasClassificationSchema?this.request(this.restUrl+"/portals/self/classification/classificationSchema",t).then((t=>t.classificationSchema)):null}fetchFeaturedGroups(t){const e=this.featuredGroups,r=new g.A({num:100,sortField:"title"});if(e?.length){const s=[];for(const t of e)s.push(`(title:"${t.title}" AND owner:${t.owner})`);return r.query=s.join(" OR "),this.queryGroups(r,t).then((t=>t.results))}return(0,d.G4)(t)?Promise.reject((0,d.NK)()):Promise.resolve([])}fetchRegions(t){const e=this.user?.culture||this.culture||(0,v.JK)();return this.request(this.restUrl+"/portals/regions",{...t,query:{culture:e}})}fetchSettings(t){const e=this.user?.culture||this.culture||(0,v.JK)();return this.request(this.restUrl+"/portals/self/settings",{...t,query:{culture:e}})}static getDefault(){return f&&!f.destroyed||(f=new P),f}queryGroups(t,e){return this.queryPortal("/community/groups",t,"PortalGroup",e)}queryItems(t,e){return this.queryPortal("/search",t,"PortalItem",e)}queryUsers(t,e){return t.sortField||(t.sortField="username"),this.queryPortal("/community/users",t,"PortalUser",e)}fetchSelf(t=this.authMode,e=!1,r){const s=this.restUrl+"/portals/self",o={authMode:t,query:{culture:(0,v.JK)().toLowerCase()},withCredentials:!0,...r};return"auto"===o.authMode&&(o.authMode="no-prompt"),e&&(o.query.default=!0),this.request(s,o)}queryPortal(t,e,r,s){const o=(0,y.dp)(g.A,e),i=e=>this.request(this.restUrl+t,{...o.toRequestOptions(this),...s}).then((t=>{const r=o.clone();return r.start=t.nextStart,new S({nextQueryParams:r,queryParams:o,total:t.total,results:P._resultsToTypedArray(e,{portal:this},t,s)})})).then((t=>Promise.all(t.results.map((e=>"function"==typeof e.when?e.when():t))).then((()=>t),(e=>((0,d.QP)(e),t)))));return r&&C[r]?C[r]().then((({default:t})=>((0,d.Te)(s),i(t)))):i()}signIn(){if(this.hasAPIKey)return this.load().then((()=>{if(!this.user)throw new a.A("portal:not-authenticated","Unable to authenticate user. Portal.user is missing")}));if(this.authMode===P.AUTH_MODE_ANONYMOUS||this.authMode===P.AUTH_MODE_NO_PROMPT&&!i.id)return Promise.reject(new a.A("portal:invalid-auth-mode",`Current "authMode"' is "${this.authMode}"`));if("failed"===this.loadStatus)return Promise.reject(this.loadError);const t=t=>Promise.resolve().then((()=>"not-loaded"===this.loadStatus?(t||(this.authMode="immediate"),this.load().then((()=>null))):"loading"===this.loadStatus?this.load().then((()=>this.credential?null:(this.credential=t,this.fetchSelf("immediate")))):this.user&&this.credential===t?null:(this.credential=t,this.fetchSelf("immediate")))).then((t=>{t&&(this.sourceJSON=t,this.read(t))}));return i.id?i.id.getCredential(this.restUrl,{prompt:this.authMode!==P.AUTH_MODE_NO_PROMPT}).then((e=>t(e))):t(this.credential)}normalizeUrl(t){const e=this.credential?.token;return this._normalizeSSL(e?t+(t.includes("?")?"&":"?")+"token="+e:t)}requestToTypedArray(t,e,r){return this.request(t,e).then((t=>{const e=P._resultsToTypedArray(r,{portal:this},t);return Promise.all(e.map((e=>"function"==typeof e.when?e.when():t))).then((()=>e),(()=>e))}))}request(t,e={}){const r={f:"json",...e.query},{authMode:s=(this.authMode===P.AUTH_MODE_ANONYMOUS||this.authMode===P.AUTH_MODE_NO_PROMPT?this.authMode:"auto"),body:o=null,cacheBust:i=!1,method:a="auto",responseType:n="json",signal:u}=e,p={authMode:s,body:o,cacheBust:i,method:a,query:r,responseType:n,timeout:0,signal:u};return e.withCredentials&&(p.withCredentials=!0),(0,l.A)(this._normalizeSSL(t),p).then((t=>t.data))}toJSON(){throw new a.A("internal:not-yet-implemented","Portal.toJSON is not yet implemented")}static fromJSON(t){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");return new P({sourceJSON:t})}_getHelperService(t){const e=this.helperServices&&this.helperServices[t];if(!e)throw new a.A("portal:service-not-found",`The \`helperServices\` do not include an entry named "${t}"`);return e}async _fetchBasemaps(t,e){const r=new g.A;r.query=t||((0,w.Dd)()?this.devBasemapGalleryGroupQuery:this.useVectorBasemaps?this.vectorBasemapGalleryGroupQuery:this.basemapGalleryGroupQuery),r.disableExtraQuery=!0;const s=await this.queryGroups(r,e);if(!s.total)return[];const o=s.results[0];r.num=100,r.query='type:"Web Map" -type:"Web Application"',r.sortField=o.sortField||"name",r.sortOrder=o.sortOrder||"desc";const i=await o.queryItems(r,e);return i.total?i.results.filter((t=>"Web Map"===t.type)).map((t=>new A({portalItem:t}))):[]}async _fetchBasemaps3D(t,e){const r=t||this.basemapGalleryGroupQuery3D;if(!r)return[];if((0,w.Dd)())return[];const s=new g.A({query:r,disableExtraQuery:!0}),o=await this.queryGroups(s,e);if(!o.total)return[];const i=o.results[0];s.num=100,s.query='type:"Web Scene"',s.sortField=i.sortField||"name",s.sortOrder=i.sortOrder||"desc";const l=await i.queryItems(s,e);return l.total?l.results.filter((t=>"Web Scene"===t.type)).map((t=>new A({portalItem:t}))):[]}_normalizeSSL(t){return t.replace(/^http:/i,"https:").replace(":7080",":7443")}_readBasemap(t){if(t){const e=A.fromJSON(t);return e.portalItem={portal:this},e}return null}static _resultsToTypedArray(t,e,r,s){let o;if(r){const i=null!=s?s.signal:null;o=r.listings||r.notifications||r.userInvitations||r.tags||r.items||r.groups||r.comments||r.provisions||r.results||r.relatedItems||r,(t||e)&&(o=o.map((r=>{const s=Object.assign(t?t.fromJSON(r):r,e);return"function"==typeof s.load&&s.load(i),s})))}else o=[];return o}};(0,s._)([(0,h.MZ)()],D.prototype,"access",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"allSSL",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"authMode",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"authorizedCrossOriginDomains",void 0),(0,s._)([(0,c.w)("authorizedCrossOriginDomains")],D.prototype,"readAuthorizedCrossOriginDomains",null),(0,s._)([(0,h.MZ)()],D.prototype,"basemapGalleryGroupQuery",void 0),(0,s._)([(0,h.MZ)({json:{name:"3DBasemapGalleryGroupQuery"}})],D.prototype,"basemapGalleryGroupQuery3D",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"bingKey",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canListApps",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canListData",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canListPreProvisionedItems",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canProvisionDirectPurchase",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSearchPublic",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canShareBingPublic",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSharePublic",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSignInArcGIS",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSignInIDP",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"colorSetsGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"commentsEnabled",void 0),(0,s._)([(0,h.MZ)({type:Date})],D.prototype,"created",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"credential",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"culture",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"currentVersion",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"customBaseUrl",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"default3DBasemapQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"defaultBasemap",void 0),(0,s._)([(0,c.w)("defaultBasemap")],D.prototype,"readDefaultBasemap",null),(0,s._)([(0,h.MZ)()],D.prototype,"defaultDevBasemap",void 0),(0,s._)([(0,c.w)("defaultDevBasemap")],D.prototype,"readDefaultDevBasemap",null),(0,s._)([(0,h.MZ)({type:_.A})],D.prototype,"defaultExtent",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"defaultVectorBasemap",void 0),(0,s._)([(0,c.w)("defaultVectorBasemap")],D.prototype,"readDefaultVectorBasemap",null),(0,s._)([(0,h.MZ)()],D.prototype,"description",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"devBasemapGalleryGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"eueiEnabled",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"extraQuery",null),(0,s._)([(0,h.MZ)()],D.prototype,"featuredGroups",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"featuredItemsGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"galleryTemplatesGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"layoutGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"livingAtlasGroupQuery",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"hasAPIKey",null),(0,s._)([(0,h.MZ)()],D.prototype,"hasCategorySchema",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"hasClassificationSchema",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"helpBase",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"helperServices",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"helpMap",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"homePageFeaturedContent",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"homePageFeaturedContentCount",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"httpPort",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"httpsPort",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"id",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"ipCntryCode",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"isOrganization",null),(0,s._)([(0,h.MZ)()],D.prototype,"isPortal",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"isReadOnly",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"itemPageUrl",null),(0,s._)([(0,h.MZ)()],D.prototype,"layerTemplatesGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"maxTokenExpirationMinutes",void 0),(0,s._)([(0,h.MZ)({type:Date})],D.prototype,"modified",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"name",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"portalHostname",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"portalMode",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"portalProperties",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"region",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"recycleBinEnabled",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"restUrl",null),(0,s._)([(0,h.MZ)()],D.prototype,"rotatorPanels",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"showHomePageDescription",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"sourceJSON",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"staticImagesUrl",void 0),(0,s._)([(0,h.MZ)({json:{name:"2DStylesGroupQuery"}})],D.prototype,"stylesGroupQuery2d",void 0),(0,s._)([(0,h.MZ)({json:{name:"stylesGroupQuery"}})],D.prototype,"stylesGroupQuery3d",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"supportsHostedServices",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"symbolSetsGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"templatesGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"thumbnail",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"thumbnailUrl",null),(0,s._)([(0,h.MZ)()],D.prototype,"units",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"url",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"urlKey",void 0),(0,s._)([(0,c.w)("urlKey")],D.prototype,"readUrlKey",null),(0,s._)([(0,h.MZ)()],D.prototype,"user",void 0),(0,s._)([(0,c.w)("user")],D.prototype,"readUser",null),(0,s._)([(0,h.MZ)()],D.prototype,"use3dBasemaps",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"useDefault3dBasemap",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"useStandardizedQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"useVectorBasemaps",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"vectorBasemapGalleryGroupQuery",void 0),D=P=(0,s._)([(0,m.$)("esri.portal.Portal")],D);const b=new FinalizationRegistry((t=>{t.remove()}))},41318:(t,e,r)=>{r.d(e,{A:()=>d});var s=r(90237),o=r(49186),i=r(25482),l=r(10107),a=(r(44208),r(53966),r(87811),r(40608));let n=class extends i.A{constructor(t){super(t),this.created=null,this.id=null,this.portal=null,this.title=null,this.username=null}get url(){const t=this.portal?.restUrl;return t?`${t}/content/users/${this.username}/${this.id}`:null}toJSON(){throw new o.A("internal:not-yet-implemented","PortalFolder.toJSON is not yet implemented")}};(0,s._)([(0,l.MZ)({type:Date})],n.prototype,"created",void 0),(0,s._)([(0,l.MZ)()],n.prototype,"id",void 0),(0,s._)([(0,l.MZ)()],n.prototype,"portal",void 0),(0,s._)([(0,l.MZ)()],n.prototype,"title",void 0),(0,s._)([(0,l.MZ)({readOnly:!0})],n.prototype,"url",null),(0,s._)([(0,l.MZ)()],n.prototype,"username",void 0),n=(0,s._)([(0,a.$)("esri.portal.PortalFolder")],n);var u,p=r(96360);let d=u=class extends i.A{constructor(t){super(t),this.access=null,this.created=null,this.culture=null,this.description=null,this.email=null,this.fullName=null,this.id=null,this.modified=null,this.orgId=null,this.portal=null,this.preferredView=null,this.privileges=null,this.region=null,this.role=null,this.roleId=null,this.sourceJSON=null,this.units=null,this.username=null,this.userLicenseTypeId=null,this.userType=null}get thumbnailUrl(){const t=this.url,e=this.thumbnail;return t&&e?this.portal.normalizeUrl(`${t}/info/${e}?f=json`):null}get userContentUrl(){const t=this.portal?.restUrl;return t?`${t}/content/users/${this.id}`:null}get url(){const t=this.portal?.restUrl;return t?`${t}/community/users/${this.id}`:null}addItem(t){const e=t&&t.item,r=t?.data,s=t?.folder,o={method:"post"};e&&(o.query=e.createPostQuery(),null!=r&&("string"==typeof r?o.query.text=r:"object"==typeof r&&(o.query.text=JSON.stringify(r))));let i=this.userContentUrl;return s&&(i+="/"+("string"==typeof s?s:s.id)),this.portal.request(i+"/addItem",o).then((t=>(e.id=t.id,e.portal=this.portal,e.loaded?e.reload():e.load())))}async deleteItem(t,e=!1){let r=this.userContentUrl;t.ownerFolder&&(r+="/"+t.ownerFolder);const s=e?{permanentDelete:!0}:{};await this.portal.request(r+`/items/${t.id}/delete`,{method:"post",query:s}),t.id=null,t.portal=null}async deleteItems(t,e=!1){t=t.slice();const r=this.userContentUrl+"/deleteItems",s=[],i=t.map((t=>t.id));if(i.length){const l={method:"post",query:{items:i.join(","),permanentDelete:e}},a=await this.portal.request(r,l);for(const e of a.results){const r=t.find((t=>e.itemId===t.id)),i=e.success;let l=null;i?(r.id=null,r.portal=null):e.error&&(l=new o.A("portal:delete-item-failed",e.error.message,e.error)),s.push({item:r,success:i,error:l})}}return s}fetchFolders(){return this.portal.request(this.userContentUrl??"",{query:{num:1}}).then((t=>{let e;return e=t&&t.folders?t.folders.map((t=>{const e=n.fromJSON(t);return e.portal=this.portal,e})):[],e}))}fetchGroups(){return this.portal.request(this.url??"").then((t=>{let e;return e=t&&t.groups?t.groups.map((t=>{const e=p.A.fromJSON(t);return e.portal=this.portal,e})):[],e}))}async fetchItems(t){t??={};let e=this.userContentUrl??"";t.folder&&(e+="/"+t.folder.id);const{default:s}=await r.e(812).then(r.bind(r,80812)),o={folders:!1,inRecycleBin:!!t.inRecycleBin||null,foldersContent:!(t.folder||!t.includeSubfolderItems)||null,num:t.num||10,start:t.start||1,sortField:t.sortField||"created",sortOrder:t.sortOrder||"asc"},i=await this.portal.request(e,{query:o});let l;return i?.items?(l=i.items.map((t=>{const e=s.fromJSON(t);return e.portal=this.portal,e})),await Promise.all(l.map((t=>t.load()))),{items:l,nextStart:i.nextStart,total:i.total}):{items:[],nextStart:-1,total:0}}fetchTags(){return this.portal.request(this.url+"/tags").then((t=>t.tags))}getThumbnailUrl(t){let e=this.thumbnailUrl;return e&&t&&(e+=`&w=${t}`),e}queryFavorites(t){return this.favGroupId?(this._favGroup||(this._favGroup=new p.A({id:this.favGroupId,portal:this.portal})),this._favGroup.queryItems(t)):Promise.reject(new o.A("internal:unknown","Unknown internal error",{internalError:"Unknown favGroupId"}))}async restoreItem(t,e){const r=this.userContentUrl,s=e?{folderID:"string"==typeof e?e:e.id}:null;await this.portal.request(r+`/items/${t.id}/restore`,{method:"post",query:s})}toJSON(){throw new o.A("internal:not-yet-implemented","PortalUser.toJSON is not yet implemented")}static fromJSON(t){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const e=new u({sourceJSON:t});return e.read(t),e}};(0,s._)([(0,l.MZ)()],d.prototype,"access",void 0),(0,s._)([(0,l.MZ)({type:Date})],d.prototype,"created",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"culture",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"description",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"email",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"favGroupId",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"fullName",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"id",void 0),(0,s._)([(0,l.MZ)({type:Date})],d.prototype,"modified",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"orgId",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"portal",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"preferredView",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"privileges",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"region",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"role",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"roleId",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"sourceJSON",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"thumbnail",void 0),(0,s._)([(0,l.MZ)({readOnly:!0})],d.prototype,"thumbnailUrl",null),(0,s._)([(0,l.MZ)()],d.prototype,"units",void 0),(0,s._)([(0,l.MZ)({readOnly:!0})],d.prototype,"userContentUrl",null),(0,s._)([(0,l.MZ)({readOnly:!0})],d.prototype,"url",null),(0,s._)([(0,l.MZ)()],d.prototype,"username",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"userLicenseTypeId",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"userType",void 0),d=u=(0,s._)([(0,a.$)("esri.portal.PortalUser")],d)},61893:(t,e,r)=>{r.d(e,{A:()=>d});var s,o,i=r(90237),l=r(69622),a=r(74887),n=r(40608);(o=s||(s={}))[o.PENDING=0]="PENDING",o[o.RESOLVED=1]="RESOLVED",o[o.REJECTED=2]="REJECTED";class u{constructor(){this._resolver=(0,a.Tw)(),this._status=s.PENDING,this._resolvingPromises=[],this._resolver.promise.then((()=>{this._status=s.RESOLVED,this._cleanUp()}),(()=>{this._status=s.REJECTED,this._cleanUp()})),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(t){this._resolvingPromises.push(t),this._tryResolve()}isResolved(){return this._status===s.RESOLVED}isRejected(){return this._status===s.REJECTED}isFulfilled(){return this._status!==s.PENDING}abort(){this._resolver.reject((0,a.NK)())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;const t=(0,a.Tw)(),e=[...this._resolvingPromises,t.promise],r=this._allPromise=Promise.all(e);r.then((()=>{this.isFulfilled()||this._allPromise!==r||this._resolver.resolve()}),(t=>{this.isFulfilled()||this._allPromise!==r||(0,a.zf)(t)||this._resolver.reject(t)})),t.resolve()}}const p=t=>{let e=class extends t{constructor(...t){super(...t),this._promiseProps=new u,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(t,e){return this._promiseProps.promise.then((()=>this)).then(t,e)}catch(t){return this.when(null,t)}addResolvingPromise(t){t&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in t?t.when():t)}};return e=(0,i._)([(0,n.$)("esri.core.Promise")],e),e};let d=class extends(p(l.A)){};d=(0,i._)([(0,n.$)("esri.core.Promise")],d),function(t){t.EsriPromiseMixin=p}(d||(d={}))},92474:(t,e,r)=>{r.d(e,{A:()=>y});var s=r(90237),o=r(49186),i=r(97768),l=r(61893),a=r(74887),n=r(67076),u=r(10107),p=r(40608);const d="loaded",h=t=>{let e=class extends t{constructor(...t){super(...t),this._loadController=null,this.loadError=null,this.loadStatus="not-loaded",this._set("loadWarnings",[]),this.addResolvingPromise(new Promise((t=>{const e=this.load.bind(this);this.load=r=>{const s=new Promise(((t,e)=>{const s=(0,a.NY)(r,e);this.destroyed&&e(new o.A("load:instance-destroyed",`Instance of '${this.declaredClass||this.constructor.name}' is already destroyed`,{instance:this})),this.when(t,e).finally((()=>{s&&s.remove()}))}));if("not-loaded"===this.loadStatus){this._set("loadStatus","loading");const t=this._loadController=new AbortController;e({signal:t.signal})}return t(),s}}))),this.when((()=>{this._set("loadStatus",d),this._loadController=null}),(t=>{this._set("loadStatus","failed"),this._set("loadError",t),this._loadController=null}))}destroy(){this._loadController&&(this._loadController=(0,i.DC)(this._loadController),this._promiseProps.abort()),this._set("loadError",null),this._set("loadWarnings",[])}get loaded(){return this.loadStatus===d}get loadWarnings(){return this._get("loadWarnings")}load(){return null}cancelLoad(){return this.isFulfilled()||(this._set("loadError",new o.A("load:cancelled","Cancelled")),this._loadController?.abort(),this._promiseProps.abort()),this}};return(0,s._)([(0,u.MZ)({readOnly:!0})],e.prototype,"loaded",null),(0,s._)([(0,u.MZ)({readOnly:!0})],e.prototype,"loadError",void 0),(0,s._)([(0,u.MZ)({clonable:!1})],e.prototype,"loadStatus",void 0),(0,s._)([(0,u.MZ)({type:[n.A],readOnly:!0})],e.prototype,"loadWarnings",null),e=(0,s._)([(0,p.$)("esri.core.Loadable")],e),e};let y=class extends(h(l.A)){};var c;y=(0,s._)([(0,p.$)("esri.core.Loadable")],y),(c=y||(y={})).LoadableMixin=h,c.isLoadable=function(t){return!(!t||!t.load)}},96360:(t,e,r)=>{r.d(e,{A:()=>d});var s,o=r(90237),i=r(49186),l=r(25482),a=r(10107),n=r(56507),u=(r(44208),r(87811),r(40608)),p=r(16405);let d=s=class extends l.A{constructor(t){super(t),this.access=null,this.created=null,this.description=null,this.id=null,this.isInvitationOnly=!1,this.modified=null,this.owner=null,this.portal=null,this.snippet=null,this.sortField=null,this.sortOrder=null,this.sourceJSON=null,this.tags=null,this.title=null}get thumbnailUrl(){const t=this.url,e=this.thumbnail;return t&&e&&this.portal?this.portal?.normalizeUrl(`${t}/info/${e}?f=json`):null}get url(){const t=this.portal?.restUrl;return t?t+"/community/groups/"+this.id:null}fetchCategorySchema(t){return this.portal.request(this.url+"/categorySchema",t).then((e=>{const r=e.categorySchema||[];return r.some((t=>"contentCategorySetsGroupQuery.LivingAtlas"===t.source))?this._fetchCategorySchemaSet("LivingAtlas",t):r}))}fetchMembers(t){return this.portal.request(this.url+"/users",t)}getThumbnailUrl(t){let e=this.thumbnailUrl;return e&&t&&(e+=`&w=${t}`),e}toJSON(){throw new i.A("internal:not-yet-implemented","PortalGroup.toJSON is not yet implemented")}static fromJSON(t){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const e=new s({sourceJSON:t});return e.read(t),e}queryItems(t,e){let r=(0,n.dp)(p.A,t);const s=this.portal;return parseFloat(s.currentVersion)>5?(r=r||new p.A,s.queryPortal(`/content/groups/${this.id}/search`,r,"PortalItem",e)):(r=r?r.clone():new p.A,r.query="group:"+this.id+(r.query?" "+r.query:""),s.queryItems(r,e))}_fetchCategorySchemaSet(t,e){const r=this.portal;return r.fetchSelf(r.authMode,!0,e).then((t=>{const s=t.contentCategorySetsGroupQuery;if(s){const t=new p.A({disableExtraQuery:!0,num:1,query:s});return r.queryGroups(t,e)}throw new i.A("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery value not found")})).then((r=>{if(r.total){const s=r.results[0],o=new p.A({num:1,query:`typekeywords:"${t}"`});return s.queryItems(o,e)}throw new i.A("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery group not found")})).then((t=>t.total?t.results[0].fetchData("json",e).then((t=>{const e=t?.categorySchema;return e?.length?e:[]})):[]))}};(0,o._)([(0,a.MZ)()],d.prototype,"access",void 0),(0,o._)([(0,a.MZ)({type:Date})],d.prototype,"created",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"description",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"id",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"isInvitationOnly",void 0),(0,o._)([(0,a.MZ)({type:Date})],d.prototype,"modified",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"owner",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"portal",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"snippet",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"sortField",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"sortOrder",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"sourceJSON",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"tags",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"thumbnail",void 0),(0,o._)([(0,a.MZ)({readOnly:!0})],d.prototype,"thumbnailUrl",null),(0,o._)([(0,a.MZ)()],d.prototype,"title",void 0),(0,o._)([(0,a.MZ)({readOnly:!0})],d.prototype,"url",null),d=s=(0,o._)([(0,u.$)("esri.portal.PortalGroup")],d)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3474],{4902:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(90237),s=r(40608);let o=0;const l=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+o++})}};return t=(0,i._)([(0,s.$)("esri.core.Identifiable")],t),t};let n=class extends(l(class{})){};var a;n=(0,i._)([(0,s.$)("esri.core.Identifiable")],n),(a=n||(n={})).IdentifiableMixin=l,a.NumericIdentifiableMixin=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:o++})}};return t=(0,i._)([(0,s.$)("esri.core.Identifiable.NumericIdentifiable")],t),t};const u=n},8303:(e,t,r)=>{r.d(t,{A:()=>_});var i=r(90237),s=r(92602),o=r(70333),l=r(78888),n=r(60999),a=r(49186),u=r(53966),h=r(97768),p=r(74887),d=r(84952),c=r(10107),y=(r(44208),r(87811),r(36005)),m=r(40608),g=r(43937),f=r(77548),S=r(20655),w=r(80812),b=r(41318),v=r(10407);const _=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,h.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new w.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,p.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,p.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,p.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,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!o.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,f.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!l||!(0,d.b8)(l,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;n=await(o.id?.getCredential(`${l}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const a=!0,u=!1,h=!1;if(!n)return{features:{edit:a,fullEdit:u},content:{updateItem:h}};try{if(s?await r.reload():(r=new w.default({id:e,portal:{url:l}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,p.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:h}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const r=M.credential===t?M.user:await this._fetchEditingUser(e);return M.credential=t,M.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=o.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,s=S.A.getDefault();if(s&&s.loaded&&(0,d.S8)(s.restUrl)===(0,d.S8)(i))return s.user;const a=`${i}/community/self`,u=null!=e?e.signal:null,h=await(0,n.Ke)((0,l.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return h.ok?b.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||S.A.getDefault());return r&&i&&!(0,d.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.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._)([(0,c.MZ)({type:w.default})],t.prototype,"portalItem",null),(0,i._)([(0,y.w)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,i._)([(0,g.K)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,i._)([(0,c.MZ)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,i._)([(0,c.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,i._)([(0,c.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,i._)([(0,c.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,i._)([(0,m.$)("esri.layers.mixins.PortalLayer")],t),t},M={credential:null,user:null}},20378:(e,t,r)=>{r.d(t,{A:()=>d});var i=r(90237),s=r(68197),o=r(66552),l=r(25482),n=r(10107),a=(r(44208),r(53966),r(87811),r(36005)),u=r(40608);const h=new o.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let p=0,d=class extends l.A{constructor(e){super(e),this.id="sym"+p++,this.type=null,this.color=new s.A([0,0,0,1])}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}async collectRequiredFields(e,t){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,i._)([(0,n.MZ)({type:h.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:h.write,isRequired:!0}}})],d.prototype,"type",void 0),(0,i._)([(0,n.MZ)({type:s.A,json:{write:{allowNull:!0}}})],d.prototype,"color",void 0),(0,i._)([(0,a.w)("color")],d.prototype,"readColor",null),d=(0,i._)([(0,u.$)("esri.symbols.Symbol")],d)},31593:(e,t,r)=>{r.d(t,{A:()=>_});var i=r(90237),s=r(66552),o=r(4718),l=r(90629),n=r(10107),a=(r(44208),r(53966),r(93223)),u=r(40608),h=(r(87811),r(20378));let p=class extends h.A{constructor(e){super(e),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,i._)([(0,a.e)({esriSLS:"simple-line"},{readOnly:!0})],p.prototype,"type",void 0),(0,i._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],p.prototype,"width",void 0),p=(0,i._)([(0,u.$)("esri.symbols.LineSymbol")],p);var d,c=r(68197),y=r(25482),m=r(36005),g=r(43937),f=r(83213);let S=d=class extends y.A{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,r,i){t[r]="web-map"===i?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,r,i){"web-map"===i?.origin||(t[r]=e)}clone(){return new d({color:(0,o.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,i._)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],S.prototype,"placement",void 0),(0,i._)([(0,a.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],S.prototype,"type",void 0),(0,i._)([(0,n.MZ)({type:f.z})],S.prototype,"style",void 0),(0,i._)([(0,g.K)("style")],S.prototype,"writeStyle",null),(0,i._)([(0,n.MZ)({type:c.A,value:null,json:{write:{allowNull:!0}}})],S.prototype,"color",null),(0,i._)([(0,m.w)("color")],S.prototype,"readColor",null),(0,i._)([(0,g.K)("color")],S.prototype,"writeColor",null),S=d=(0,i._)([(0,u.$)("esri.symbols.LineSymbolMarker")],S);const w=S;var b;const v=new s.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let _=b=class extends p{constructor(...e){super(...e),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(e,t,r,i,s,o){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=r&&(n.width=(0,l.cr)(r)),null!=i&&(n.cap=i),null!=s&&(n.join=s),null!=o&&(n.miterLimit=(0,l.cr)(o)),n}clone(){return new b({color:(0,o.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,i._)([(0,a.e)({esriSLS:"simple-line"},{readOnly:!0})],_.prototype,"type",void 0),(0,i._)([(0,n.MZ)({type:v.apiValues,json:{read:v.read,write:v.write}})],_.prototype,"style",void 0),(0,i._)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,r)=>({enabled:"round"!==e&&null==r?.origin})}}})],_.prototype,"cap",void 0),(0,i._)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,r)=>({enabled:"round"!==e&&null==r?.origin})}}})],_.prototype,"join",void 0),(0,i._)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":w}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],_.prototype,"marker",void 0),(0,i._)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],_.prototype,"miterLimit",void 0),_=b=(0,i._)([(0,u.$)("esri.symbols.SimpleLineSymbol")],_)},53930:(e,t,r)=>{r.d(t,{A:()=>g});var i,s=r(90237),o=r(68197),l=r(66552),n=r(4718),a=r(90629),u=r(10107),h=(r(44208),r(53966),r(93223)),p=r(40608),d=r(43937),c=r(89420),y=r(31593);const m=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let g=i=class extends c.A{constructor(...e){super(...e),this.color=new o.A([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new y.A}normalizeCtorArgs(e,t,r,i){if(e&&"string"!=typeof e)return e;const s={};return e&&(s.style=e),null!=t&&(s.size=(0,a.cr)(t)),r&&(s.outline=r),i&&(s.color=i),s}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}set path(e){this.style="path",this._set("path",e)}clone(){return new i({angle:this.angle,color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,s._)([(0,u.MZ)()],g.prototype,"color",void 0),(0,s._)([(0,d.K)("color")],g.prototype,"writeColor",null),(0,s._)([(0,h.e)({esriSMS:"simple-marker"},{readOnly:!0})],g.prototype,"type",void 0),(0,s._)([(0,u.MZ)()],g.prototype,"size",void 0),(0,s._)([(0,u.MZ)({type:m.apiValues,json:{read:m.read,write:m.write}})],g.prototype,"style",void 0),(0,s._)([(0,u.MZ)({type:String,json:{write:!0}})],g.prototype,"path",null),(0,s._)([(0,u.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":y.A}},json:{default:null,write:!0}})],g.prototype,"outline",void 0),g=i=(0,s._)([(0,p.$)("esri.symbols.SimpleMarkerSymbol")],g)},58592:(e,t,r)=>{r.d(t,{A:()=>c});var i,s=r(90237),o=r(4718),l=r(90629),n=r(10107),a=(r(44208),r(53966),r(93223)),u=r(36005),h=r(40608),p=r(89420),d=r(77040);let c=i=class extends p.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const i={};return e&&(i.url=e),null!=t&&(i.width=(0,l.cr)(t)),null!=r&&(i.height=(0,l.cr)(r)),i}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new i({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,o.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,s._)([(0,a.e)({esriPMS:"picture-marker"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,n.MZ)(d.ku)],c.prototype,"url",void 0),(0,s._)([(0,n.MZ)(d.k7)],c.prototype,"source",void 0),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],c.prototype,"height",void 0),(0,s._)([(0,u.w)("height",["height","size"])],c.prototype,"readHeight",null),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],c.prototype,"width",void 0),(0,s._)([(0,n.MZ)({json:{write:!1}})],c.prototype,"size",void 0),c=i=(0,s._)([(0,h.$)("esri.symbols.PictureMarkerSymbol")],c)},63201:(e,t,r)=>{r.r(t),r.d(t,{default:()=>L});var i=r(90237),s=r(92602),o=r(78888),l=r(92071),n=r(74887),a=r(84952),u=r(10107),h=(r(44208),r(53966),r(87811),r(36005)),p=r(40608),d=r(5443),c=r(21325),y=r(4146),m=r(63074),g=r(16131),f=r(8303),S=r(54310),w=r(25036),b=r(10873),v=r(58592),_=r(94985),M=r(31593),A=r(53930),$=r(20378);const P=["atom","xml"],D={base:$.A,key:"type",typeMap:{"simple-line":M.A},errorContext:"symbol"},T={base:$.A,key:"type",typeMap:{"picture-marker":v.A,"simple-marker":A.A},errorContext:"symbol"},Z={base:$.A,key:"type",typeMap:{"simple-fill":_.A},errorContext:"symbol"};let E=class extends((0,m.dM)((0,S.J)((0,g.q)((0,f.A)((0,w.j)((0,l.P)(y.A))))))){constructor(...e){super(...e),this.description=null,this.fullExtent=null,this.legendEnabled=!0,this.lineSymbol=null,this.pointSymbol=null,this.polygonSymbol=null,this.operationalLayerType="GeoRSS",this.url=null,this.type="geo-rss"}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}readFeatureCollections(e,t){return t.featureCollection.layers.forEach((e=>{const t=e.layerDefinition.drawingInfo.renderer.symbol;t&&"esriSFS"===t.type&&t.outline?.style.includes("esriSFS")&&(t.outline.style="esriSLSSolid")})),t.featureCollection.layers}get hasPoints(){return this._hasGeometry("esriGeometryPoint")}get hasPolylines(){return this._hasGeometry("esriGeometryPolyline")}get hasPolygons(){return this._hasGeometry("esriGeometryPolygon")}get title(){const e=this._get("title");return e&&"defaults"!==this.originOf("title")?e:this.url?(0,a.e7)(this.url,P)||"GeoRSS":e}set title(e){this._set("title",e)}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service","Feature Service","Feature Collection","Scene Service"]},e).catch(n.QP).then((()=>this._fetchService(t))).then((e=>{this.read(e,{origin:"service"})}))),Promise.resolve(this)}async hasDataChanged(){const e=await this._fetchService();return this.read(e,{origin:"service",ignoreDefaults:!0}),!0}async _fetchService(e){const t=this.spatialReference,{data:r}=await(0,o.A)(s.A.geoRSSServiceUrl,{query:{url:this.url,refresh:!!this.loaded||void 0,outSR:(0,c.oT)(t)?void 0:t.wkid??JSON.stringify(t)},signal:e});return r}_hasGeometry(e){return this.featureCollections?.some((t=>t.featureSet?.geometryType===e&&t.featureSet.features?.length>0))??!1}};(0,i._)([(0,u.MZ)()],E.prototype,"description",void 0),(0,i._)([(0,u.MZ)()],E.prototype,"featureCollections",void 0),(0,i._)([(0,h.w)("service","featureCollections",["featureCollection.layers"])],E.prototype,"readFeatureCollections",null),(0,i._)([(0,u.MZ)({type:d.A,json:{name:"lookAtExtent"}})],E.prototype,"fullExtent",void 0),(0,i._)([(0,u.MZ)(b.id)],E.prototype,"id",void 0),(0,i._)([(0,u.MZ)(b.fV)],E.prototype,"legendEnabled",void 0),(0,i._)([(0,u.MZ)({types:D,json:{write:!0}})],E.prototype,"lineSymbol",void 0),(0,i._)([(0,u.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,i._)([(0,u.MZ)({types:T,json:{write:!0}})],E.prototype,"pointSymbol",void 0),(0,i._)([(0,u.MZ)({types:Z,json:{write:!0}})],E.prototype,"polygonSymbol",void 0),(0,i._)([(0,u.MZ)({type:["GeoRSS"]})],E.prototype,"operationalLayerType",void 0),(0,i._)([(0,u.MZ)(b.OZ)],E.prototype,"url",void 0),(0,i._)([(0,u.MZ)({json:{origins:{service:{read:{source:"name",reader:e=>e||void 0}}}}})],E.prototype,"title",null),(0,i._)([(0,u.MZ)({readOnly:!0,json:{read:!1},value:"geo-rss"})],E.prototype,"type",void 0),E=(0,i._)([(0,p.$)("esri.layers.GeoRSSLayer")],E);const L=E},64272:(e,t,r)=>{r.d(t,{T:()=>d});var i,s=r(90237),o=r(25482),l=r(88930),n=r(10107),a=(r(44208),r(53966),r(87811),r(36005)),u=r(40608),h=r(43937),p=r(98623);let d=class extends o.A{static{i=this}static get allTime(){return c}static get empty(){return y}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,s=e.end?.getTime()??e.end;return t===i&&r===s}expandTo(e,t=p.qU){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,l.lL)(r,e,t));let s=this.end;if(s){const r=(0,l.lL)(s,e,t);s=s.getTime()===r.getTime()?r:(0,l.S1)(r,1,e,t)}return new i({start:r,end:s})}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,s=e.start?.getTime()??-1/0,o=e.end?.getTime()??1/0;let l,n;return s>=t&&s<=r?l=s:t>=s&&t<=o&&(l=t),r>=s&&r<=o?n=r:o>=t&&o<=r&&(n=o),null==l||null==n||isNaN(l)||isNaN(n)?i.empty:new i({start:l===-1/0?null:new Date(l),end:n===1/0?null:new Date(n)})}offset(e,t,r=p.qU){if(this.isEmpty||this.isAllTime)return this.clone();const s=new i,{start:o,end:n}=this;return null!=o&&(s.start=(0,l.S1)(o,e,t,r)),null!=n&&(s.end=(0,l.S1)(n,e,t,r)),s}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 c.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,s._)([(0,n.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,s._)([(0,a.w)("end")],d.prototype,"readEnd",null),(0,s._)([(0,h.K)("end")],d.prototype,"writeEnd",null),(0,s._)([(0,n.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,s._)([(0,n.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,s._)([(0,n.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,s._)([(0,a.w)("start")],d.prototype,"readStart",null),(0,s._)([(0,h.K)("start")],d.prototype,"writeStart",null),d=i=(0,s._)([(0,u.$)("esri.time.TimeExtent")],d);const c=new d,y=new d({start:void 0,end:void 0})},65851:(e,t,r)=>{r.d(t,{A:()=>a});var i=r(90237),s=r(10107),o=(r(44208),r(53966),r(87811),r(40608)),l=r(31593),n=r(20378);let a=class extends n.A{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,i._)([(0,s.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":l.A}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,i._)([(0,s.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,i._)([(0,o.$)("esri.symbols.FillSymbol")],a)},68197:(e,t,r)=>{r.d(t,{A:()=>p});var i,s,o=r(40876),l=r(34727),n=r(56507);function a(e){return(0,l.qE)((0,n.Vr)(e),0,255)}function u(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class h{static blendColors(e,t,r,i=new h){return i.r=Math.round(e.r+(t.r-e.r)*r),i.g=Math.round(e.g+(t.g-e.g)*r),i.b=Math.round(e.b+(t.b-e.b)*r),i.a=e.a+(t.a-e.a)*r,i._sanitize()}static fromRgb(e,t){const r=(0,o.lT)(e);return r?h.fromArray(r,t):null}static fromHex(e,t=new h){const r=(0,o.oW)(e);return r?h.fromArray(r,t):null}static fromArray(e,t=new h){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,o.Eq)(e);return r?h.fromArray(r,t):null}static fromJSON(e){return null!=e?new h([e[0],e[1],e[2],(e[3]??255)/255]):void 0}static toUnitRGB(e){return null!=e?[e.r/255,e.g/255,e.b/255]:null}static toUnitRGBA(e){return null!=e?[e.r/255,e.g/255,e.b/255,null!=e.a?e.a:1]:null}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){return"string"==typeof e?h.fromString(e,this):Array.isArray(e)?h.fromArray(e,this):(this._set(e.r??0,e.g??0,e.b??0,e.a??1),e instanceof h||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,i=3===r||4===r,s=4===r||8===r,o=`#${u(this.r,i)}${u(this.g,i)}${u(this.b,i)}${s?u(Math.round(255*this.a),i):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=h.AlphaMode.ALWAYS){const t=a(this.r),r=a(this.g),i=a(this.b);return e===h.AlphaMode.ALWAYS||1!==this.a?[t,r,i,a(255*this.a)]:[t,r,i]}clone(){return new h(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,o.c1)(this.r),this.g=(0,o.c1)(this.g),this.b=(0,o.c1)(this.b),this.a=(0,o.G1)(this.a),this}_set(e,t,r,i){this.r=e,this.g=t,this.b=r,this.a=i}}h.prototype.declaredClass="esri.Color",(s=(i=h||(h={})).AlphaMode||(i.AlphaMode={}))[s.ALWAYS=0]="ALWAYS",s[s.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const p=h},69540:(e,t,r)=>{r.d(t,{A:()=>d});var i=r(90237),s=r(69622),o=(r(44208),r(4718)),l=(r(53966),r(97768)),n=r(35666),a=r(88620),u=r(40608);const h=e=>{let t=class extends e{clone(){const e=(0,a.oY)(this);(0,l.Lw)(e,"unable to clone instance of non-accessor class");const t=e.metadata,r=e.store,i={},s=new Map;for(const e in t){const l=t[e],a=r?.originOf(e),u=l.clonable;if(l.readOnly||!1===u||a!==n.Gr.USER&&a!==n.Gr.DEFAULTS&&a!==n.Gr.WEB_MAP&&a!==n.Gr.WEB_SCENE)continue;const h=this[e];let p=null;p="function"==typeof u?u(h):"reference"===u?h:(0,o.TU)(h),null!=h&&null==p||(a===n.Gr.DEFAULTS?s.set(e,p):i[e]=p)}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(s.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,r]of s)e.set(t,r,n.Gr.DEFAULTS)}return u}};return t=(0,i._)([(0,u.$)("esri.core.Clonable")],t),t};let p=class extends(h(s.A)){};p=(0,i._)([(0,u.$)("esri.core.Clonable")],p),(p||(p={})).ClonableMixin=h;const d=p},77040:(e,t,r)=>{r.d(t,{k7:()=>n,ku:()=>l});var i=r(84952),s=r(97159);function o(e,t){if(!(0,i.oP)(e)){const r=function(e){if(!e)return null;const{origin:t,layer:r}=e;if("service"!==t&&"portal-item"!==t)return null;const i=r?.type;return"feature"===i||"stream"===i?r.parsedUrl?.path:"map-image"===i||"tile"===i?e.url?.path:null}(t);if(r)return(0,i.fj)(r,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,r){return t.imageData?(0,i.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):o(t.url,r)}},write:{writer(e,t,r,o){!function(e,t,r,o){if((0,i.DB)(e)){const l=(0,i.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,r&&r.imageData===t.imageData&&r.url&&(0,s.w)(r.url,t,"url",o)}else(0,s.w)(e,t,"url",o)}(e,t,this.source,o)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,r){const i={};return t.imageData&&(i.imageData=t.imageData),t.contentType&&(i.contentType=t.contentType),t.url&&(i.url=o(t.url,r)),i}}}}},78553:(e,t,r)=>{r.d(t,{D:()=>o,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 o(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},83213:(e,t,r)=>{r.d(t,{x:()=>i,z:()=>s});const i=["begin","end","begin-end"],s=["arrow","circle","square","diamond","cross","x"]},89420:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(90237),s=r(90629),o=r(10107),l=r(56507),n=(r(44208),r(87811),r(40608)),a=r(20378);let u=class extends a.A{constructor(e){super(e),this.angle=0,this.type=null,this.xoffset=0,this.yoffset=0,this.size=9}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,i._)([(0,o.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],u.prototype,"angle",void 0),(0,i._)([(0,o.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],u.prototype,"type",void 0),(0,i._)([(0,o.MZ)({type:Number,cast:s.cr,json:{write:!0}})],u.prototype,"xoffset",void 0),(0,i._)([(0,o.MZ)({type:Number,cast:s.cr,json:{write:!0}})],u.prototype,"yoffset",void 0),(0,i._)([(0,o.MZ)({cast:e=>"auto"===e?e:(0,l.GB)((0,s.cr)(e)),json:{write:!0}})],u.prototype,"size",void 0),u=(0,i._)([(0,n.$)("esri.symbols.MarkerSymbol")],u)},94985:(e,t,r)=>{r.d(t,{A:()=>y});var i,s=r(90237),o=r(68197),l=r(66552),n=r(4718),a=r(10107),u=(r(44208),r(53966),r(93223)),h=r(40608),p=r(65851),d=r(31593);const c=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let y=i=class extends p.A{constructor(...e){super(...e),this.color=new o.A([0,0,0,.25]),this.outline=new d.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e)return e;const i={};return e&&(i.style=e),t&&(i.outline=t),r&&(i.color=r),i}clone(){return new i({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,s._)([(0,a.MZ)()],y.prototype,"color",void 0),(0,s._)([(0,a.MZ)()],y.prototype,"outline",void 0),(0,s._)([(0,u.e)({esriSFS:"simple-fill"},{readOnly:!0})],y.prototype,"type",void 0),(0,s._)([(0,a.MZ)({type:c.apiValues,json:{read:c.read,write:c.write}})],y.prototype,"style",void 0),y=i=(0,s._)([(0,h.$)("esri.symbols.SimpleFillSymbol")],y)}}]);