@arcgis/core 4.33.0-next.20250408 → 4.33.0-next.20250410

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 (347) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/066844a51cd22cbef0e6.js +1 -0
  3. package/assets/esri/core/workers/chunks/067dda58592fbf4fb812.js +1 -0
  4. package/assets/esri/core/workers/chunks/{1595f3def0ba0c4f0fe7.js → 0eed612e82a279ac8d1e.js} +1 -1
  5. package/assets/esri/core/workers/chunks/1014513c0ec85f9414a4.js +1 -0
  6. package/assets/esri/core/workers/chunks/1072b4f37eacbbfda2c8.js +1 -0
  7. package/assets/esri/core/workers/chunks/{19eb465f91d07862926a.js → 1263391920fbb8926ced.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{49d6b56e21b1bc0d1948.js → 1b87fa15470cce26feea.js} +1 -1
  9. package/assets/esri/core/workers/chunks/23de8aeed5b82c682cbe.js +1 -0
  10. package/assets/esri/core/workers/chunks/{6f9a17f62786af04b74e.js → 25a686f00479ac12a1ca.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{f92d521ed3df3c9f737b.js → 26fcbe053194bd78fcc3.js} +1 -1
  12. package/assets/esri/core/workers/chunks/277b61af8982092a4c81.js +1 -0
  13. package/assets/esri/core/workers/chunks/{7b47b08f4a58898273b9.js → 2ab7d36409e9af3ac3da.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{c3c70dad8c8a93953237.js → 2cbab0c078d0b844934c.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{2679da0c93f05ae956c6.js → 358a3a9326615d5e6d3b.js} +1 -1
  16. package/assets/esri/core/workers/chunks/37e4f588a6896f98bce3.js +1 -0
  17. package/assets/esri/core/workers/chunks/3b7284516a0e34a9e85e.js +1 -0
  18. package/assets/esri/core/workers/chunks/3f6dc811b5d515c2725c.js +1 -0
  19. package/assets/esri/core/workers/chunks/{8ef755e6a7b2b71f46e6.js → 400f95295bbfced31076.js} +1 -1
  20. package/assets/esri/core/workers/chunks/4046ec636723c20d3e28.js +1 -0
  21. package/assets/esri/core/workers/chunks/4275dcec730a11173661.js +1 -0
  22. package/assets/esri/core/workers/chunks/{0747c9542172241b52ab.js → 436623d9bcf62b8dba47.js} +1 -1
  23. package/assets/esri/core/workers/chunks/4403b3f08907e88d0d91.js +1 -0
  24. package/assets/esri/core/workers/chunks/4523ba4a3c8987abca56.js +1 -0
  25. package/assets/esri/core/workers/chunks/47bbfc10c2a3b9e4bdd6.js +1 -0
  26. package/assets/esri/core/workers/chunks/4a15308b54734247f38e.js +1 -0
  27. package/assets/esri/core/workers/chunks/{d65c30cd787b287833fb.js → 4ba34124054752b363c0.js} +1 -1
  28. package/assets/esri/core/workers/chunks/4baef5262ce401bf81bb.js +1 -0
  29. package/assets/esri/core/workers/chunks/{3b2bda2e8c08f486de27.js → 4bbe6160eda3fb5d58ec.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{52b28aab40bb19e585bb.js → 566c2ce50af225e556ac.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{948a3c1419ae323cca10.js → 5c757e20c0543e6a49b3.js} +1 -1
  32. package/assets/esri/core/workers/chunks/5df4e73905c0ae75e37c.js +1 -0
  33. package/assets/esri/core/workers/chunks/626e33ece2c49d40f6cd.js +1 -0
  34. package/assets/esri/core/workers/chunks/66e90f7d473d1f688254.js +1 -0
  35. package/assets/esri/core/workers/chunks/72097a8247101018dcdf.js +1 -0
  36. package/assets/esri/core/workers/chunks/72b5e43741ce3a0da8f7.js +1 -0
  37. package/assets/esri/core/workers/chunks/72d7e45e7eb28f2cc0b0.js +1 -0
  38. package/assets/esri/core/workers/chunks/759c12b0715279e3c0f6.js +1 -0
  39. package/assets/esri/core/workers/chunks/796cf1c2ca9955595836.js +1 -0
  40. package/assets/esri/core/workers/chunks/{23cc33576da66b3c4366.js → 7ea5bbb52e84be9a608e.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{79036c5d7569c4e94abe.js → 7ef9bcd58af499a14a08.js} +1 -1
  42. package/assets/esri/core/workers/chunks/80427cd9f0c2e07f21c3.js +1 -0
  43. package/assets/esri/core/workers/chunks/80a5fd4fb79e90086538.js +1 -0
  44. package/assets/esri/core/workers/chunks/82353e59ac6d909dcf41.js +1 -0
  45. package/assets/esri/core/workers/chunks/86931186095c23e47c0c.js +1 -0
  46. package/assets/esri/core/workers/chunks/{89e7cc489156ff0ebdb6.js → 8aae03e347ab18ae6ee2.js} +1 -1
  47. package/assets/esri/core/workers/chunks/8ddf1b85cff90c34f3e3.js +1 -0
  48. package/assets/esri/core/workers/chunks/{7f961954e59a232bfa88.js → 90442f47c9f31f26b453.js} +1 -1
  49. package/assets/esri/core/workers/chunks/9050dad7e4f093568026.js +1 -0
  50. package/assets/esri/core/workers/chunks/{aaf67ec3d580e1fee6c7.js → 90c893959145827961ac.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{238df0aee97315623638.js → 91439b59260b0fb04be9.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{4de3d692557120a4bbf7.js → 95379fdd6917c8a84c71.js} +1 -1
  53. package/assets/esri/core/workers/chunks/999a4f7ca581f28cc1c4.js +1 -0
  54. package/assets/esri/core/workers/chunks/a3421383e48379012c9c.js +1 -0
  55. package/assets/esri/core/workers/chunks/a91f2d1deb950f46ad09.js +1 -0
  56. package/assets/esri/core/workers/chunks/{a32e697547f8ac345dd7.js → af9fda47d02c51a2c7da.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{9a84ff99756c7247dd39.js → b308bef7ff08e0e635b5.js} +82 -82
  58. package/assets/esri/core/workers/chunks/{5c80452df87024fdaa75.js → b7a1185ac49480fc1410.js} +1 -1
  59. package/assets/esri/core/workers/chunks/bd0dbad694ce5531deab.js +1 -0
  60. package/assets/esri/core/workers/chunks/{6c65b966f4c952508fc1.js → c589d32f8efcca6bf712.js} +1 -1
  61. package/assets/esri/core/workers/chunks/c6580fdcdc33153008b0.js +1 -0
  62. package/assets/esri/core/workers/chunks/{86b4920f5a99576399fb.js → ccb289911e7445b17763.js} +2 -2
  63. package/assets/esri/core/workers/chunks/{6d15d953baabccbbee01.js → cda6ae4c5cb67e22b454.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{ac91bd1fee9ddadc270b.js → d2c7067bb6654c0e2793.js} +1 -1
  65. package/assets/esri/core/workers/chunks/d3b0117ad9232e36f785.js +1 -0
  66. package/assets/esri/core/workers/chunks/d46c82a55219b27c301b.js +1 -0
  67. package/assets/esri/core/workers/chunks/d89f105b8a0b13dd8e5f.js +1 -0
  68. package/assets/esri/core/workers/chunks/{14d1a970e927ebfed9c8.js → d9b2263e0a9f9068ab62.js} +1 -1
  69. package/assets/esri/core/workers/chunks/daa54c8a317c27881763.js +1 -0
  70. package/assets/esri/core/workers/chunks/df1225a3e751a662c182.js +1 -0
  71. package/assets/esri/core/workers/chunks/e08bff9f8247909776a4.js +1 -0
  72. package/assets/esri/core/workers/chunks/e13caf9691f556071e31.js +1 -0
  73. package/assets/esri/core/workers/chunks/e15c612caadf7bac4ab9.js +1 -0
  74. package/assets/esri/core/workers/chunks/e5aff9b10877fb04d6de.js +1 -0
  75. package/assets/esri/core/workers/chunks/e64bc4533405af8554ae.js +1 -0
  76. package/assets/esri/core/workers/chunks/{2d5cb817e6e905103068.js → e6544e966f14fb410157.js} +1 -1
  77. package/assets/esri/core/workers/chunks/e792603b7cc3ddd133f3.js +1 -0
  78. package/assets/esri/core/workers/chunks/{69e606267dc5842ebf9d.js → ec83af4fb3bf59df7759.js} +1 -1
  79. package/assets/esri/core/workers/chunks/f5fcba6ca6f43bf1d65d.js +1 -0
  80. package/assets/esri/core/workers/chunks/f7d33d18bf1bd4db9df8.js +1 -0
  81. package/assets/esri/core/workers/chunks/f9396af9cbfd165e72e2.js +1 -0
  82. package/assets/esri/core/workers/chunks/{393fbd296817e813936c.js → fa9ef9e8eae505371965.js} +1 -1
  83. package/assets/esri/libs/dxtEncoder/dxt_encoder.wasm +0 -0
  84. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  85. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ar.json +1 -1
  86. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_bg.json +1 -1
  87. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_bs.json +1 -1
  88. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ca.json +1 -1
  89. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_cs.json +1 -1
  90. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_da.json +1 -1
  91. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_de.json +1 -1
  92. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_el.json +1 -1
  93. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_es.json +1 -1
  94. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_et.json +1 -1
  95. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_fi.json +1 -1
  96. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_fr.json +1 -1
  97. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_he.json +1 -1
  98. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_hr.json +1 -1
  99. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_hu.json +1 -1
  100. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_id.json +1 -1
  101. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_it.json +1 -1
  102. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ja.json +1 -1
  103. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ko.json +1 -1
  104. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_lt.json +1 -1
  105. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_lv.json +1 -1
  106. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_nl.json +1 -1
  107. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_no.json +1 -1
  108. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_pl.json +1 -1
  109. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_pt-BR.json +1 -1
  110. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_pt-PT.json +1 -1
  111. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ro.json +1 -1
  112. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_ru.json +1 -1
  113. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sk.json +1 -1
  114. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sl.json +1 -1
  115. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sr.json +1 -1
  116. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_sv.json +1 -1
  117. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_th.json +1 -1
  118. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_tr.json +1 -1
  119. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_uk.json +1 -1
  120. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_vi.json +1 -1
  121. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_zh-CN.json +1 -1
  122. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_zh-HK.json +1 -1
  123. package/assets/esri/widgets/BasemapLayerList/t9n/BasemapLayerList_zh-TW.json +1 -1
  124. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  125. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  126. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  127. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  128. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_ar.json +1 -1
  129. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_bg.json +1 -1
  130. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_bs.json +1 -1
  131. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_ca.json +1 -1
  132. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_cs.json +1 -1
  133. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_da.json +1 -1
  134. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_de.json +1 -1
  135. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_el.json +1 -1
  136. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_es.json +1 -1
  137. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_et.json +1 -1
  138. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_fi.json +1 -1
  139. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_fr.json +1 -1
  140. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_he.json +1 -1
  141. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_hr.json +1 -1
  142. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_hu.json +1 -1
  143. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_id.json +1 -1
  144. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_it.json +1 -1
  145. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_ja.json +1 -1
  146. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_ko.json +1 -1
  147. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_lt.json +1 -1
  148. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_lv.json +1 -1
  149. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_nl.json +1 -1
  150. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_no.json +1 -1
  151. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_pl.json +1 -1
  152. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_pt-BR.json +1 -1
  153. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_pt-PT.json +1 -1
  154. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_ro.json +1 -1
  155. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_ru.json +1 -1
  156. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_sk.json +1 -1
  157. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_sl.json +1 -1
  158. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_sr.json +1 -1
  159. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_sv.json +1 -1
  160. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_th.json +1 -1
  161. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_tr.json +1 -1
  162. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_uk.json +1 -1
  163. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_vi.json +1 -1
  164. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_zh-CN.json +1 -1
  165. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_zh-HK.json +1 -1
  166. package/assets/esri/widgets/CatalogLayerList/t9n/CatalogLayerList_zh-TW.json +1 -1
  167. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  168. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  169. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  170. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  171. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  172. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  173. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  174. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  175. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  176. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  177. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  178. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  179. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  180. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  181. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  182. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  183. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  184. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  185. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  186. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  187. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  188. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  189. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  190. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  191. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  192. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  193. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  194. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  195. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  196. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  197. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  198. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  199. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  200. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  201. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  202. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  203. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  204. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  205. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  206. package/assets/esri/widgets/LayerList/t9n/LayerList_ar.json +1 -1
  207. package/assets/esri/widgets/LayerList/t9n/LayerList_bg.json +1 -1
  208. package/assets/esri/widgets/LayerList/t9n/LayerList_bs.json +1 -1
  209. package/assets/esri/widgets/LayerList/t9n/LayerList_ca.json +1 -1
  210. package/assets/esri/widgets/LayerList/t9n/LayerList_cs.json +1 -1
  211. package/assets/esri/widgets/LayerList/t9n/LayerList_da.json +1 -1
  212. package/assets/esri/widgets/LayerList/t9n/LayerList_de.json +1 -1
  213. package/assets/esri/widgets/LayerList/t9n/LayerList_el.json +1 -1
  214. package/assets/esri/widgets/LayerList/t9n/LayerList_es.json +1 -1
  215. package/assets/esri/widgets/LayerList/t9n/LayerList_et.json +1 -1
  216. package/assets/esri/widgets/LayerList/t9n/LayerList_fi.json +1 -1
  217. package/assets/esri/widgets/LayerList/t9n/LayerList_fr.json +1 -1
  218. package/assets/esri/widgets/LayerList/t9n/LayerList_he.json +1 -1
  219. package/assets/esri/widgets/LayerList/t9n/LayerList_hr.json +1 -1
  220. package/assets/esri/widgets/LayerList/t9n/LayerList_hu.json +1 -1
  221. package/assets/esri/widgets/LayerList/t9n/LayerList_id.json +1 -1
  222. package/assets/esri/widgets/LayerList/t9n/LayerList_it.json +1 -1
  223. package/assets/esri/widgets/LayerList/t9n/LayerList_ja.json +1 -1
  224. package/assets/esri/widgets/LayerList/t9n/LayerList_ko.json +1 -1
  225. package/assets/esri/widgets/LayerList/t9n/LayerList_lt.json +1 -1
  226. package/assets/esri/widgets/LayerList/t9n/LayerList_lv.json +1 -1
  227. package/assets/esri/widgets/LayerList/t9n/LayerList_nl.json +1 -1
  228. package/assets/esri/widgets/LayerList/t9n/LayerList_no.json +1 -1
  229. package/assets/esri/widgets/LayerList/t9n/LayerList_pl.json +1 -1
  230. package/assets/esri/widgets/LayerList/t9n/LayerList_pt-BR.json +1 -1
  231. package/assets/esri/widgets/LayerList/t9n/LayerList_pt-PT.json +1 -1
  232. package/assets/esri/widgets/LayerList/t9n/LayerList_ro.json +1 -1
  233. package/assets/esri/widgets/LayerList/t9n/LayerList_ru.json +1 -1
  234. package/assets/esri/widgets/LayerList/t9n/LayerList_sk.json +1 -1
  235. package/assets/esri/widgets/LayerList/t9n/LayerList_sl.json +1 -1
  236. package/assets/esri/widgets/LayerList/t9n/LayerList_sr.json +1 -1
  237. package/assets/esri/widgets/LayerList/t9n/LayerList_sv.json +1 -1
  238. package/assets/esri/widgets/LayerList/t9n/LayerList_th.json +1 -1
  239. package/assets/esri/widgets/LayerList/t9n/LayerList_tr.json +1 -1
  240. package/assets/esri/widgets/LayerList/t9n/LayerList_uk.json +1 -1
  241. package/assets/esri/widgets/LayerList/t9n/LayerList_vi.json +1 -1
  242. package/assets/esri/widgets/LayerList/t9n/LayerList_zh-CN.json +1 -1
  243. package/assets/esri/widgets/LayerList/t9n/LayerList_zh-HK.json +1 -1
  244. package/assets/esri/widgets/LayerList/t9n/LayerList_zh-TW.json +1 -1
  245. package/chunks/BlendLayers.glsl.js +1 -5
  246. package/chunks/Theme.js +1 -1
  247. package/chunks/bundle.js +5 -0
  248. package/chunks/dxt_encoder.js +1 -1
  249. package/interfaces.d.ts +15 -0
  250. package/layers/ParquetLayer.js +1 -1
  251. package/layers/graphics/data/QueryEngineResult.js +1 -1
  252. package/layers/graphics/data/executeQueryForSnapping.js +1 -1
  253. package/layers/mixins/ImageryTileMixin.js +1 -1
  254. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  255. package/layers/support/arcgisLayerUrl.js +1 -1
  256. package/layers/support/rasterDatasets/RawBlockCache.js +1 -1
  257. package/layers/support/rasterFunctions/RemapFunction.js +1 -1
  258. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  259. package/libs/parquet/loadParquetModule.js +5 -0
  260. package/libs/parquet/parquet.js +1 -1
  261. package/package.json +1 -1
  262. package/support/revision.js +1 -1
  263. package/views/3d/layers/DynamicLayerView3D.js +1 -1
  264. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  265. package/views/3d/layers/ElevationLayerView3DModifications.js +5 -0
  266. package/views/3d/layers/ImageryLayerView3D.js +1 -1
  267. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  268. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  269. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  270. package/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +1 -1
  271. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  272. package/views/3d/layers/support/ImageHighlightHelper3D.js +1 -1
  273. package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
  274. package/views/3d/terrain/PriorityQueue.js +5 -0
  275. package/views/3d/terrain/TerrainRenderer.js +1 -1
  276. package/views/3d/terrain/TerrainSurface.js +1 -1
  277. package/views/3d/terrain/Tile.js +1 -1
  278. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +7 -12
  279. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +1 -1
  280. package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
  281. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  282. package/views/SceneView.js +1 -1
  283. package/views/interactive/snapping/featureSources/FeatureCollectionSnappingSource.js +1 -1
  284. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  285. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorker.js +1 -1
  286. package/views/interactive/snapping/snappingUtils.js +1 -1
  287. package/views/support/TextureCompressionWorker.js +1 -1
  288. package/views/support/TextureCompressionWorkerHandle.js +1 -1
  289. package/views/webgl/Texture.js +1 -1
  290. package/views/webgl/textureUtils.js +1 -1
  291. package/widgets/Editor/AddAssociationWorkflow.js +1 -1
  292. package/widgets/ElevationProfile.js +1 -1
  293. package/widgets/Feature/FeatureMedia/xyChart.js +1 -1
  294. package/widgets/Feature/FeatureViewModel.js +1 -1
  295. package/widgets/Feature.js +1 -1
  296. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  297. package/widgets/Popup.js +1 -1
  298. package/assets/esri/core/workers/chunks/07236fe57d76b1134cd4.js +0 -1
  299. package/assets/esri/core/workers/chunks/0d37c6aa261c8d5e5b23.js +0 -1
  300. package/assets/esri/core/workers/chunks/0d7c1de47ae006277b76.js +0 -1
  301. package/assets/esri/core/workers/chunks/11b725421a823f6183a2.js +0 -1
  302. package/assets/esri/core/workers/chunks/11badb73d43059374ad8.js +0 -1
  303. package/assets/esri/core/workers/chunks/1c8cdae7736b6c907d95.js +0 -1
  304. package/assets/esri/core/workers/chunks/1cc4fc3353d217632a1b.js +0 -1
  305. package/assets/esri/core/workers/chunks/3a649aa78e25e3c8aa8c.js +0 -1
  306. package/assets/esri/core/workers/chunks/3e1bb914aceb3a9af898.js +0 -1
  307. package/assets/esri/core/workers/chunks/3ee77b601fb0f3567e87.js +0 -1
  308. package/assets/esri/core/workers/chunks/43a3b1b78d214aadaaad.js +0 -1
  309. package/assets/esri/core/workers/chunks/49d03bdaa9c4476b69d6.js +0 -1
  310. package/assets/esri/core/workers/chunks/4c765464288b6d096d08.js +0 -1
  311. package/assets/esri/core/workers/chunks/4cbd5303f5a5a5fff391.js +0 -1
  312. package/assets/esri/core/workers/chunks/55cc40d1b1853f779d82.js +0 -1
  313. package/assets/esri/core/workers/chunks/56e9dfd62102c32b9770.js +0 -1
  314. package/assets/esri/core/workers/chunks/576bed289aa7be03f319.js +0 -1
  315. package/assets/esri/core/workers/chunks/5ef6acd36629eae225da.js +0 -1
  316. package/assets/esri/core/workers/chunks/63ce66da1a52d6d07ccb.js +0 -1
  317. package/assets/esri/core/workers/chunks/6447d373a43ef6cd46cd.js +0 -1
  318. package/assets/esri/core/workers/chunks/64824ee75c643cee2aa9.js +0 -1
  319. package/assets/esri/core/workers/chunks/6a067a6ce0968d893142.js +0 -1
  320. package/assets/esri/core/workers/chunks/6a70b858e24d98845041.js +0 -1
  321. package/assets/esri/core/workers/chunks/6ecf2924f9f6aac61101.js +0 -1
  322. package/assets/esri/core/workers/chunks/77334c3fed1e3a06d307.js +0 -1
  323. package/assets/esri/core/workers/chunks/877f665c7edb26c147ea.js +0 -1
  324. package/assets/esri/core/workers/chunks/8c5619fdf125a459281d.js +0 -1
  325. package/assets/esri/core/workers/chunks/8e64687ee76e70deeb29.js +0 -1
  326. package/assets/esri/core/workers/chunks/8fe36b06a7eceeb874e9.js +0 -1
  327. package/assets/esri/core/workers/chunks/9fddd759c308d3d5801a.js +0 -1
  328. package/assets/esri/core/workers/chunks/a29e99328d75b6ceb74d.js +0 -1
  329. package/assets/esri/core/workers/chunks/a426152e7eb550b8f15f.js +0 -1
  330. package/assets/esri/core/workers/chunks/ae7c1e34ed1288773ec2.js +0 -1
  331. package/assets/esri/core/workers/chunks/ae9ebc0c0553e57e85ba.js +0 -1
  332. package/assets/esri/core/workers/chunks/b199508eef1eeee72854.js +0 -1
  333. package/assets/esri/core/workers/chunks/b715fa857391931c04b9.js +0 -1
  334. package/assets/esri/core/workers/chunks/c144e00dfe6d63eaa2b1.js +0 -1
  335. package/assets/esri/core/workers/chunks/c150cd2a82260495e9de.js +0 -1
  336. package/assets/esri/core/workers/chunks/c4425d5227f7e2379b0f.js +0 -1
  337. package/assets/esri/core/workers/chunks/c837379b36cf716d6215.js +0 -1
  338. package/assets/esri/core/workers/chunks/c849e3e151d78a061bf0.js +0 -1
  339. package/assets/esri/core/workers/chunks/cb83fcfff8731c88c108.js +0 -1
  340. package/assets/esri/core/workers/chunks/cc366e4df91cf516d1b9.js +0 -1
  341. package/assets/esri/core/workers/chunks/ccd3f9b52006cd7dd11e.js +0 -1
  342. package/assets/esri/core/workers/chunks/d72d44df7e117e26e717.js +0 -1
  343. package/assets/esri/core/workers/chunks/e22cdfce2a0583f3cc50.js +0 -1
  344. package/assets/esri/core/workers/chunks/f086993f8744209d761f.js +0 -1
  345. package/assets/esri/core/workers/chunks/fde544c090cc04581536.js +0 -1
  346. package/assets/esri/core/workers/chunks/fe2c48de24b25c45b3e7.js +0 -1
  347. package/assets/esri/libs/parquet/pkg/arcgis_parquet_bg.wasm +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8613],{2073:(e,t,r)=>{r.d(t,{$n:()=>b,$r:()=>m,EM:()=>f,Ec:()=>I,JJ:()=>h,Mm:()=>S,OC:()=>P,Sr:()=>p,UO:()=>a,Vj:()=>G,WU:()=>E,Y8:()=>s,Z7:()=>l,_6:()=>v,aJ:()=>d,dd:()=>M,dn:()=>u,et:()=>A,fe:()=>w,gD:()=>T,hE:()=>c,hY:()=>o,iM:()=>_,mt:()=>g,ow:()=>y,vS:()=>R});var i=r(66552);const n={esriCentimeters:"centimeters",esriDecimalDegrees:"decimal-degrees",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriPoints:"points",esriUnknownUnits:"unknown",esriYards:"yards"},o=(0,i.O)()(n),s=(0,i.O)()({...n,esriIntFeet:"international-feet",esriIntInches:"international-inches",esriIntMiles:"international-miles",esriIntNauticalMiles:"international-nautical-miles",esriIntYards:"international-yards"}),a=(0,i.O)()({esriAcres:"international-acres",esriAcresUS:"us-acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-international-feet",esriSquareFeetUS:"square-us-feet",esriSquareInches:"square-international-inches",esriSquareInchesUS:"square-us-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-international-miles",esriSquareMilesUS:"square-us-miles",esriSquareMillimeters:"square-millimeters",esriSquareYards:"square-international-yards",esriSquareYardsUS:"square-us-yards",esriUnknownAreaUnits:"unknown"}),l=(0,i.O)()({esriNAUCentimeters:"centimeters",esriNAUDecimalDegrees:"decimal-degrees",esriNAUDecimeters:"decimeters",esriNAUFeet:"feet",esriNAUInches:"inches",esriNAUKilometers:"kilometers",esriNAUMeters:"meters",esriNAUMiles:"miles",esriNAUMillimeters:"millimeters",esriNAUNauticalMiles:"nautical-miles",esriNAUPoints:"points",esriNAUYards:"yards"}),u=(0,i.O)()({esriNAUCentimeters:"centimeters",esriNAUDecimalDegrees:"decimal-degrees",esriNAUDecimeters:"decimeters",esriNAUFeet:"feet",esriNAUInches:"inches",esriNAUKilometers:"kilometers",esriNAUMeters:"meters",esriNAUMiles:"miles",esriNAUMillimeters:"millimeters",esriNAUNauticalMiles:"nautical-miles",esriNAUPoints:"points",esriNAUYards:"yards",esriNAUDays:"days",esriNAUHours:"hours",esriNAUMinutes:"minutes",esriNAUSeconds:"seconds",esriNAUKilometersPerHour:"kilometers-per-hour",esriNAUMilesPerHour:"miles-per-hour",esriNAUUnknown:"unknown"}),d=(0,i.O)()({esriDOTComplete:"complete",esriDOTCompleteNoEvents:"complete-no-events",esriDOTFeatureSets:"featuresets",esriDOTInstructionsOnly:"instructions-only",esriDOTStandard:"standard",esriDOTSummaryOnly:"summary-only"}),p=(0,i.O)()({esriNAOutputLineNone:"none",esriNAOutputLineStraight:"straight",esriNAOutputLineTrueShape:"true-shape",esriNAOutputLineTrueShapeWithMeasure:"true-shape-with-measure"}),c=((0,i.O)()({esriNAOutputPolygonNone:"none",esriNAOutputPolygonSimplified:"simplified",esriNAOutputPolygonDetailed:"detailed"}),(0,i.O)()({esriNFSBAllowBacktrack:"allow-backtrack",esriNFSBAtDeadEndsOnly:"at-dead-ends-only",esriNFSBNoBacktrack:"no-backtrack",esriNFSBAtDeadEndsAndIntersections:"at-dead-ends-and-intersections"})),y=((0,i.O)()({esriNATravelDirectionFromFacility:"from-facility",esriNATravelDirectionToFacility:"to-facility"}),(0,i.O)()({esriNATimeOfDayNotUsed:"not-used",esriNATimeOfDayUseAsStartTime:"start",esriNATimeOfDayUseAsEndTime:"end"}),(0,i.O)()({AUTOMOBILE:"automobile",TRUCK:"truck",WALK:"walk",OTHER:"other"})),h=(0,i.O)()({0:"either-side-of-vehicle",1:"right-side-of-vehicle",2:"left-side-of-vehicle",3:"no-u-turn"},{useNumericKeys:!0}),f=(0,i.O)()({0:"stop",1:"waypoint",2:"break"},{useNumericKeys:!0}),m=(0,i.O)()({0:"ok",1:"not-located",2:"network-element-not-located",3:"element-not-traversable",4:"invalid-field-values",5:"not-reached",6:"time-window-violation",7:"not-located-on-closest"},{useNumericKeys:!0}),g=(0,i.O)()({1:"right",2:"left"},{useNumericKeys:!0}),_=(0,i.O)()({0:"restriction",1:"scaled-cost",2:"added-cost"},{useNumericKeys:!0}),w=(0,i.O)()({0:"permit",1:"restrict"},{useNumericKeys:!0}),v=(0,i.O)()({1:"header",50:"arrive",51:"depart",52:"straight",100:"on-ferry",101:"off-ferry",102:"central-fork",103:"roundabout",104:"u-turn",150:"door",151:"stairs",152:"elevator",153:"escalator",154:"pedestrian-ramp",200:"left-fork",201:"left-ramp",202:"clockwise-roundabout",203:"left-handed-u-turn",204:"bear-left",205:"left-turn",206:"sharp-left",207:"left-turn-and-immediate-left-turn",208:"left-turn-and-immediate-right-turn",300:"right-fork",301:"right-ramp",302:"counter-clockwise-roundabout",303:"right-handed-u-turn",304:"bear-right",305:"right-turn",306:"sharp-right",307:"right-turn-and-immediate-left-turn",308:"right-turn-and-immediate-right-turn",400:"up-elevator",401:"up-escalator",402:"up-stairs",500:"down-elevator",501:"down-escalator",502:"down-stairs",1e3:"general-event",1001:"landmark",1002:"time-zone-change",1003:"traffic-event",1004:"scaled-cost-barrier-event",1005:"boundary-crossing",1006:"restriction-violation",1007:"lane"},{useNumericKeys:!0}),T=(0,i.O)()({0:"unknown",1:"segment",2:"maneuver-segment",3:"restriction-violation",4:"scaled-cost-barrier",5:"heavy-traffic",6:"slow-traffic",7:"moderate-traffic"},{useNumericKeys:!0}),b=(0,i.O)()({"NA Campus":"campus","NA Desktop":"desktop","NA Navigation":"navigation"}),M=(0,i.O)()({Kilometers:"kilometers",Miles:"miles",Meters:"meters"},{ignoreUnknown:!1}),S=(0,i.O)()({Minutes:"minutes",TimeAt1KPH:"time-at-1-kph",TravelTime:"travel-time",TruckMinutes:"truck-minutes",TruckTravelTime:"truck-travel-time",WalkTime:"walk-time"},{ignoreUnknown:!1}),A=(0,i.O)()({Kilometers:"kilometers",Miles:"miles",Meters:"meters",Minutes:"minutes",TimeAt1KPH:"time-at-1-kph",TravelTime:"travel-time",TruckMinutes:"truck-minutes",TruckTravelTime:"truck-travel-time",WalkTime:"walk-time"},{ignoreUnknown:!1}),P=(0,i.O)()({"Any Hazmat Prohibited":"any-hazmat-prohibited","Avoid Carpool Roads":"avoid-carpool-roads","Avoid Express Lanes":"avoid-express-lanes","Avoid Ferries":"avoid-ferries","Avoid Gates":"avoid-gates","Avoid Limited Access Roads":"avoid-limited-access-roads","Avoid Private Roads":"avoid-private-roads","Avoid Roads Unsuitable for Pedestrians":"avoid-roads-unsuitable-for-pedestrians","Avoid Stairways":"avoid-stairways","Avoid Toll Roads":"avoid-toll-roads","Avoid Toll Roads for Trucks":"avoid-toll-roads-for-trucks","Avoid Truck Restricted Roads":"avoid-truck-restricted-roads","Avoid Unpaved Roads":"avoid-unpaved-roads","Axle Count Restriction":"axle-count-restriction","Driving a Bus":"driving-a-bus","Driving a Taxi":"driving-a-taxi","Driving a Truck":"driving-a-truck","Driving an Automobile":"driving-an-automobile","Driving an Emergency Vehicle":"driving-an-emergency-vehicle","Height Restriction":"height-restriction","Kingpin to Rear Axle Length Restriction":"kingpin-to-rear-axle-length-restriction","Length Restriction":"length-restriction","Preferred for Pedestrians":"preferred-for-pedestrians","Riding a Motorcycle":"riding-a-motorcycle","Roads Under Construction Prohibited":"roads-under-construction-prohibited","Semi or Tractor with One or More Trailers Prohibited":"semi-or-tractor-with-one-or-more-trailers-prohibited","Single Axle Vehicles Prohibited":"single-axle-vehicles-prohibited","Tandem Axle Vehicles Prohibited":"tandem-axle-vehicles-prohibited","Through Traffic Prohibited":"through-traffic-prohibited","Truck with Trailers Restriction":"truck-with-trailers-restriction","Use Preferred Hazmat Routes":"use-preferred-hazmat-routes","Use Preferred Truck Routes":"use-preferred-truck-routes",Walking:"walking","Weight Restriction":"weight-restriction"},{ignoreUnknown:!1}),R=(0,i.O)()({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),G=(0,i.O)()({esriGeometryPoint:"point",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"envelope",esriGeometryMultipoint:"multipoint"}),E=(0,i.O)()({esriNAUTCost:"cost",esriNAUTDescriptor:"descriptor",esriNAUTRestriction:"restriction",esriNAUTHierarchy:"hierarchy"}),I=(0,i.O)()({esriDSTAltName:"alt-name",esriDSTArrive:"arrive",esriDSTBranch:"branch",esriDSTCrossStreet:"cross-street",esriDSTCumulativeLength:"cumulative-length",esriDSTDepart:"depart",esriDSTEstimatedArrivalTime:"estimated-arrival-time",esriDSTExit:"exit",esriDSTGeneral:"general",esriDSTLength:"length",esriDSTServiceTime:"service-time",esriDSTStreetName:"street-name",esriDSTSummary:"summary",esriDSTTime:"time",esriDSTTimeWindow:"time-window",esriDSTToward:"toward",esriDSTViolationTime:"violation-time",esriDSTWaitTime:"wait-time"})},22671:(e,t,r)=>{r.d(t,{A:()=>w});var i,n=r(90237),o=r(52106),s=r(66552),a=r(25482),l=r(4718),u=r(10107),d=(r(44208),r(53966),r(36005)),p=r(40608),c=r(43937),y=r(16930),h=r(65864),f=r(50498),m=r(20437);const g=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let _=i=class extends a.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:n}=this;if(n)for(const e of n)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,h.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,l.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,n]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((n-e)/r)));for(let e=0,t=o.length;e<t;e++)s?.(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,n],scale:[o,s]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,(e=>e*o+i),(e=>n-e*s),a,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=y.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const o=e[t],s=r.fromJSON(o),a=o.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=i);const l=o.aggregateGeometries,u=s.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],r=l[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}n.push(s)}return n}_quantizePoints(e,t,r){let i,n;const o=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=r(a[1]);e===i&&s===n||(o.push([e-i,s-n]),i=e,n=s)}else i=t(a[0]),n=r(a[1]),o.push([i,n])}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,h.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],s=this._quantizePoints(o,t,r);s&&n.push(s)}return n.length>0?((0,h.Bi)(e)?e.rings=n:e.paths=n,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,n){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,h.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,i=o.length;e<i;e++){const i=o[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(s+=n[0],a+=n[1]):(s=n[0],a=n[1]),n[0]=t(s),n[1]=r(a)}}if(i&&n)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]=n(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(n)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]=n(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)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,a;for(let e=0,i=o.length;e<i;e++){const i=o[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=r(a)}if(i&&n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2]),t[3]=n(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(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}}:null}};(0,n._)([(0,u.MZ)({type:String,json:{write:!0}})],_.prototype,"displayFieldName",void 0),(0,n._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"exceededTransferLimit",void 0),(0,n._)([(0,u.MZ)({type:[o.A],json:{write:!0}})],_.prototype,"features",void 0),(0,n._)([(0,d.w)("features")],_.prototype,"readFeatures",null),(0,n._)([(0,u.MZ)({type:[m.A],json:{write:!0}})],_.prototype,"fields",void 0),(0,n._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],_.prototype,"geometryType",void 0),(0,n._)([(0,c.K)("geometryType")],_.prototype,"writeGeometryType",null),(0,n._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"hasM",void 0),(0,n._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"hasZ",void 0),(0,n._)([(0,u.MZ)({types:f.yR,json:{write:!0}})],_.prototype,"queryGeometry",void 0),(0,n._)([(0,d.w)("queryGeometry")],_.prototype,"readQueryGeometry",null),(0,n._)([(0,u.MZ)({type:y.A,json:{write:!0}})],_.prototype,"spatialReference",void 0),(0,n._)([(0,c.K)("spatialReference")],_.prototype,"writeSpatialReference",null),(0,n._)([(0,u.MZ)({json:{write:!0}})],_.prototype,"transform",void 0),_=i=(0,n._)([(0,p.$)("esri.rest.support.FeatureSet")],_),_.prototype.toJSON.isDefaultToJSON=!0;const w=_},35448:(e,t,r)=>{var i,n,o,s,a,l,u;r.d(t,{Eq:()=>i,bV:()=>o,nP:()=>a,r5:()=>n,ti:()=>l,vy:()=>u,wr:()=>s}),function(e){e[e.Regular=0]="Regular",e[e.Provenance=1]="Provenance",e[e.Document=2]="Document"}(i||(i={})),function(e){e[e.esriFieldTypeSmallInteger=0]="esriFieldTypeSmallInteger",e[e.esriFieldTypeInteger=1]="esriFieldTypeInteger",e[e.esriFieldTypeSingle=2]="esriFieldTypeSingle",e[e.esriFieldTypeDouble=3]="esriFieldTypeDouble",e[e.esriFieldTypeString=4]="esriFieldTypeString",e[e.esriFieldTypeDate=5]="esriFieldTypeDate",e[e.esriFieldTypeOID=6]="esriFieldTypeOID",e[e.esriFieldTypeGeometry=7]="esriFieldTypeGeometry",e[e.esriFieldTypeBlob=8]="esriFieldTypeBlob",e[e.esriFieldTypeRaster=9]="esriFieldTypeRaster",e[e.esriFieldTypeGUID=10]="esriFieldTypeGUID",e[e.esriFieldTypeGlobalID=11]="esriFieldTypeGlobalID",e[e.esriFieldTypeXML=12]="esriFieldTypeXML",e[e.esriFieldTypeBigInteger=13]="esriFieldTypeBigInteger",e[e.esriFieldTypeDateOnly=14]="esriFieldTypeDateOnly",e[e.esriFieldTypeTimeOnly=15]="esriFieldTypeTimeOnly",e[e.esriFieldTypeTimestampOffset=16]="esriFieldTypeTimestampOffset"}(n||(n={})),function(e){e[e.esriGeometryNull=0]="esriGeometryNull",e[e.esriGeometryPoint=1]="esriGeometryPoint",e[e.esriGeometryMultipoint=2]="esriGeometryMultipoint",e[e.esriGeometryPolyline=3]="esriGeometryPolyline",e[e.esriGeometryPolygon=4]="esriGeometryPolygon",e[e.esriGeometryEnvelope=5]="esriGeometryEnvelope",e[e.esriGeometryAny=6]="esriGeometryAny",e[e.esriGeometryMultiPatch=7]="esriGeometryMultiPatch"}(o||(o={})),function(e){e[e.esriMethodHintUNSPECIFIED=0]="esriMethodHintUNSPECIFIED",e[e.esriUUIDESRI=1]="esriUUIDESRI",e[e.esriUUIDRFC4122=2]="esriUUIDRFC4122"}(s||(s={})),function(e){e[e.esriTypeUNSPECIFIED=0]="esriTypeUNSPECIFIED",e[e.esriTypeEntity=1]="esriTypeEntity",e[e.esriTypeRelationship=2]="esriTypeRelationship",e[e.esriTypeBoth=4]="esriTypeBoth"}(a||(a={})),function(e){e[e.esriGraphPropertyUNSPECIFIED=0]="esriGraphPropertyUNSPECIFIED",e[e.esriGraphPropertyRegular=1]="esriGraphPropertyRegular",e[e.esriGraphPropertyDocumentName=2]="esriGraphPropertyDocumentName",e[e.esriGraphPropertyDocumentTitle=3]="esriGraphPropertyDocumentTitle",e[e.esriGraphPropertyDocumentUrl=4]="esriGraphPropertyDocumentUrl",e[e.esriGraphPropertyDocumentText=5]="esriGraphPropertyDocumentText",e[e.esriGraphPropertyDocumentKeywords=6]="esriGraphPropertyDocumentKeywords",e[e.esriGraphPropertyDocumentContentType=7]="esriGraphPropertyDocumentContentType",e[e.esriGraphPropertyDocumentMetadata=8]="esriGraphPropertyDocumentMetadata",e[e.esriGraphPropertyDocumentFileExtension=9]="esriGraphPropertyDocumentFileExtension",e[e.esriGraphPropertyProvenanceInstanceId=10]="esriGraphPropertyProvenanceInstanceId",e[e.esriGraphPropertyProvenanceSourceType=11]="esriGraphPropertyProvenanceSourceType",e[e.esriGraphPropertyProvenanceSourceName=12]="esriGraphPropertyProvenanceSourceName",e[e.esriGraphPropertyProvenanceSource=13]="esriGraphPropertyProvenanceSource",e[e.esriGraphPropertyProvenanceComment=14]="esriGraphPropertyProvenanceComment",e[e.esriGraphPropertyProvenanceTypeName=15]="esriGraphPropertyProvenanceTypeName",e[e.esriGraphPropertyProvenancePropertyName=16]="esriGraphPropertyProvenancePropertyName"}(l||(l={})),function(e){e[e.esriIdentifierInfoTypeUNSPECIFIED=0]="esriIdentifierInfoTypeUNSPECIFIED",e[e.esriIdentifierInfoTypeDatabaseNative=1]="esriIdentifierInfoTypeDatabaseNative",e[e.esriIdentifierInfoTypeUniformProperty=2]="esriIdentifierInfoTypeUniformProperty"}(u||(u={}))},37807:(e,t,r)=>{r.d(t,{A:()=>d});var i=r(90237),n=r(66552),o=r(25482),s=r(10107),a=(r(44208),r(53966),r(87811),r(40608));const l=new n.J({esriJobMessageTypeInformative:"informative",esriJobMessageTypeProcessDefinition:"process-definition",esriJobMessageTypeProcessStart:"process-start",esriJobMessageTypeProcessStop:"process-stop",esriJobMessageTypeWarning:"warning",esriJobMessageTypeError:"error",esriJobMessageTypeEmpty:"empty",esriJobMessageTypeAbort:"abort"});let u=class extends o.A{constructor(e){super(e),this.description=null,this.type=null}};(0,i._)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,i._)([(0,s.MZ)({type:String,json:{read:l.read,write:l.write}})],u.prototype,"type",void 0),u=(0,i._)([(0,a.$)("esri.rest.support.GPMessage")],u);const d=u},45724:(e,t,r)=>{r.d(t,{I:()=>l});var i=r(2741),n=r(44208);const o="esri/rest/knowledgeGraph/wasmInterface/";let s,a=null;async function l(){const e=a??s;if(e)return e;const t=!!(0,n.A)("wasm-simd");return s=u(t),s}async function u(e){if(e){const{default:e}=await r.e(5367).then(r.bind(r,15367)).then((e=>e.a));return e({locateFile:e=>(0,i.s)(o+e)})}const{default:t}=await r.e(9013).then(r.bind(r,29013)).then((e=>e.a));return t({locateFile:e=>(0,i.s)(o+e)})}},88613:(e,t,i)=>{i.r(t),i.d(t,{_esriRequestWrapper:()=>qt,_fetchWrapper:()=>Ut,_getClientDataCacheCopy:()=>Mt,_setMaxQueryParsingDurationForTesting:()=>$t,_submitJobWrapper:()=>Zt,clearClientDataCache:()=>Ft,clientDataCache:()=>bt,executeApplyEdits:()=>At,executeFindPaths:()=>jt,executeFindPathsAsynchronous:()=>Ot,executeQuery:()=>Pt,executeQueryStreaming:()=>Rt,executeSearch:()=>Gt,executeSearchStreaming:()=>Et,fetchAllClientDataKeys:()=>It,fetchAsynchronousFindPathsResultData:()=>Ct,fetchClientDataAtKeys:()=>Nt,fetchKnowledgeGraph:()=>Dt,kgRestServices:()=>St,refreshDataModel:()=>kt,refreshServiceDefinition:()=>xt});var o,s=i(70333),l=i(78888),u=i(49186),d=i(53966),p=i(74887),c=i(91075),y=i(16930),h=i(90237),f=i(69622),m=i(10107),g=i(56507),_=(i(44208),i(87811),i(40608)),w=i(5443);let v=o=class extends f.A{constructor(e){super(e),this.outSpatialReference=null,this.processExtent=null,this.processSpatialReference=null,this.returnColumnName=!1,this.returnFeatureCollection=!1,this.returnM=!1,this.returnZ=!1}static from(e){return(0,g.PZ)(o,e)}};(0,h._)([(0,m.MZ)({type:y.A})],v.prototype,"outSpatialReference",void 0),(0,h._)([(0,m.MZ)({type:w.A})],v.prototype,"processExtent",void 0),(0,h._)([(0,m.MZ)({type:y.A})],v.prototype,"processSpatialReference",void 0),(0,h._)([(0,m.MZ)({nonNullable:!0})],v.prototype,"returnColumnName",void 0),(0,h._)([(0,m.MZ)({nonNullable:!0})],v.prototype,"returnFeatureCollection",void 0),(0,h._)([(0,m.MZ)({nonNullable:!0})],v.prototype,"returnM",void 0),(0,h._)([(0,m.MZ)({nonNullable:!0})],v.prototype,"returnZ",void 0),v=o=(0,h._)([(0,_.$)("esri.rest.geoprocessor.GPOptions")],v);const T=v;var b=i(17136),M=i(20437),S=i(25482);let A=class extends S.A{constructor(){super(...arguments),this.extent=null,this.height=null,this.href=null,this.opacity=1,this.rotation=0,this.scale=null,this.visible=!0,this.width=null}};(0,h._)([(0,m.MZ)({type:w.A})],A.prototype,"extent",void 0),(0,h._)([(0,m.MZ)()],A.prototype,"height",void 0),(0,h._)([(0,m.MZ)()],A.prototype,"href",void 0),(0,h._)([(0,m.MZ)()],A.prototype,"opacity",void 0),(0,h._)([(0,m.MZ)()],A.prototype,"rotation",void 0),(0,h._)([(0,m.MZ)()],A.prototype,"scale",void 0),(0,h._)([(0,m.MZ)()],A.prototype,"visible",void 0),(0,h._)([(0,m.MZ)()],A.prototype,"width",void 0),A=(0,h._)([(0,_.$)("esri.layers.support.MapImage")],A);const P=A;var R=i(2272),G=i(93223),E=i(2073);let I=class extends S.A{constructor(e){super(e),this.area=0,this.units=null}};(0,h._)([(0,m.MZ)({json:{write:!0}})],I.prototype,"area",void 0),(0,h._)([(0,G.e)(E.UO)],I.prototype,"units",void 0),I=(0,h._)([(0,_.$)("esri.rest.support.ArealUnit")],I);const N=I;let D=class extends S.A{constructor(e){super(e),this.itemId=null,this.url=null}};(0,h._)([(0,m.MZ)({type:String,json:{read:{source:"itemID"},write:{target:"itemID"}}})],D.prototype,"itemId",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],D.prototype,"url",void 0),D=(0,h._)([(0,_.$)("esri.rest.support.DataFile")],D);const k=D;var x=i(22671);let O=class extends S.A{constructor(e){super(e),this.distance=0,this.units=null}};(0,h._)([(0,m.MZ)({json:{write:!0}})],O.prototype,"distance",void 0),(0,h._)([(0,G.e)(E.Y8)],O.prototype,"units",void 0),O=(0,h._)([(0,_.$)("esri.rest.support.LinearUnit")],O);const j=O;var C=i(66552);const F="multi-value-",U=new C.J({GPArealUnit:"areal-unit",GPBoolean:"boolean",GPComposite:"composite",GPDataFile:"data-file",GPDate:"date",GPDouble:"double",GPFeatureRecordSetLayer:"feature-record-set-layer",Field:"field",GPLinearUnit:"linear-unit",GPLong:"long",GPRasterData:"raster-data",GPRasterDataLayer:"raster-data-layer",GPRecordSet:"record-set",GPString:"string",GPValueTable:"value-table","GPMultiValue:GPArealUnit":`${F}areal-unit`,"GPMultiValue:GPBoolean":`${F}boolean`,"GPMultiValue:GPComposite":`${F}composite`,"GPMultiValue:GPDataFile":`${F}data-file`,"GPMultiValue:GPDate":`${F}date`,"GPMultiValue:GPDouble":`${F}double`,"GPMultiValue:GPFeatureRecordSetLayer":`${F}feature-record-set-layer`,"GPMultiValue:Field":`${F}field`,"GPMultiValue:GPLinearUnit":`${F}linear-unit`,"GPMultiValue:GPLong":`${F}long`,"GPMultiValue:GPRasterData":`${F}raster-data`,"GPMultiValue:GPRasterDataLayer":`${F}raster-data-layer`,"GPMultiValue:GPRecordSet":`${F}record-set`,"GPMultiValue:GPString":`${F}string`});let Z=class extends S.A{constructor(e){super(e),this.dataType=null,this.paramName=null,this.value=null}};(0,h._)([(0,G.e)(U,{ignoreUnknown:!1})],Z.prototype,"dataType",void 0),(0,h._)([(0,m.MZ)()],Z.prototype,"paramName",void 0),(0,h._)([(0,m.MZ)()],Z.prototype,"value",void 0),Z=(0,h._)([(0,_.$)("esri.rest.support.ParameterValue")],Z);const q=Z;var L=i(36005);let z=class extends S.A{constructor(e){super(e),this.format=null,this.itemId=null,this.type=null,this.url=null}readType(e){return"ImageService"===e?"image-service":null}};(0,h._)([(0,m.MZ)()],z.prototype,"format",void 0),(0,h._)([(0,m.MZ)({json:{name:"itemID",write:!0}})],z.prototype,"itemId",void 0),(0,h._)([(0,m.MZ)()],z.prototype,"type",void 0),(0,h._)([(0,L.w)("type")],z.prototype,"readType",null),(0,h._)([(0,m.MZ)({json:{write:!0}})],z.prototype,"url",void 0),z=(0,h._)([(0,_.$)("esri.rest.support.RasterData")],z);const J=z;async function K(e,t){switch(e){case"areal-unit":return N.fromJSON(t);case"boolean":case"double":case"long":case"string":case"value-table":return t;case"date":return new Date(t);case"data-file":return k.fromJSON(t);case"linear-unit":return j.fromJSON(t);case"feature-record-set-layer":if("url"in t)return k.fromJSON(t);if("layerDefinition"in t){const e=new(0,(await Promise.all([i.e(6131),i.e(8219),i.e(13),i.e(5055),i.e(1214),i.e(1956),i.e(9953),i.e(4796),i.e(3029),i.e(4111),i.e(8506),i.e(3600),i.e(3353)]).then(i.bind(i,13600))).default),{layerDefinition:r,featureSet:n}=t;return e.read({layerDefinition:r,featureSet:n},{origin:"portal-item"}),e.spatialReference=y.A.fromJSON(n.spatialReference??r.spatialReference??r.extent.spatialReference),e}return x.A.fromJSON(t);case"record-set":return"url"in t?k.fromJSON(t):x.A.fromJSON(t);case"raster-data":case"raster-data-layer":return"mapImage"in t?P.fromJSON(t.mapImage):J.fromJSON(t);case"field":return M.A.fromJSON(t)}}async function $(e){const t=U.fromJSON(e.dataType),{paramName:r}=e,i=function(e){return e.startsWith(F)}(t)?await async function(e,t){const r=function(e){return e.replace(F,"")}(e),i="composite"===r?t.map((e=>K(U.fromJSON(e.dataType),e.value))):t.map((e=>K(r,e)));return Promise.all(i)}(t,e.value):await K(t,e.value);return new q({dataType:t,paramName:r,value:i})}function B(e,t,r){for(const t in e){const r=e[t];Array.isArray(r)?e[t]=JSON.stringify(r.map((e=>B({item:e},!0).item))):r instanceof Date&&(e[t]=r.getTime())}return(0,R.lF)(e,t,r)}var Y,V=i(37807);const H=(0,C.O)()({esriJobCancelled:"job-cancelled",esriJobCancelling:"job-cancelling",esriJobDeleted:"job-deleted",esriJobDeleting:"job-deleting",esriJobTimedOut:"job-timed-out",esriJobExecuting:"job-executing",esriJobFailed:"job-failed",esriJobNew:"job-new",esriJobSubmitted:"job-submitted",esriJobSucceeded:"job-succeeded",esriJobWaiting:"job-waiting"},{ignoreUnknown:!1}),Q=1e3;let W=class extends S.A{static{Y=this}constructor(e){super(e),this.jobId=null,this.jobStatus=null,this.messages=null,this.progress=null,this.requestOptions=null,this.sourceUrl=null,this._cancelJobTimer=void 0,this._jobCompletionTimer=void 0}async cancelJob(e){const{jobId:t,sourceUrl:r}=this,{path:i}=(0,R.Dl)(r),n={...this.requestOptions,...e,query:{f:"json"}},o=`${i}/jobs/${t}/cancel`,{data:s}=await(0,l.A)(o,n),{messages:a,jobStatus:u,progress:d}=Y.fromJSON(s);return this.set({messages:a,jobStatus:u,progress:d}),"job-cancelled"===u?this:new Promise(((t,r)=>{(0,p.u7)(n.signal,(()=>{this.clearCancelJobTimer(),r((0,p.NK)())})),this.clearCancelJobTimer();const i=()=>{this._cancelJobTimer||r((0,p.NK)()),this.checkJobStatus(e).then((({jobStatus:e})=>{switch(e){case"job-cancelling":default:this._cancelJobTimer=setTimeout(i,Q);break;case"job-deleted":case"job-deleting":case"job-executing":case"job-failed":case"job-new":case"job-submitted":case"job-succeeded":case"job-timed-out":case"job-waiting":r(this);break;case"job-cancelled":t(this)}}))};this._cancelJobTimer=setTimeout(i,Q)}))}destroy(){clearInterval(this._cancelJobTimer),clearInterval(this._jobCompletionTimer)}async checkJobStatus(e){const{path:t}=(0,R.Dl)(this.sourceUrl),r={...this.requestOptions,...e,query:{f:"json"}},i=`${t}/jobs/${this.jobId}`,{data:n}=await(0,l.A)(i,r),{messages:o,jobStatus:s,progress:a}=Y.fromJSON(n);return this.set({messages:o,jobStatus:s,progress:a}),this}async fetchResultData(e,t,r){t=T.from(t||{});const{returnColumnName:i,returnFeatureCollection:n,returnM:o,returnZ:s,outSpatialReference:a}=t,{path:u}=(0,R.Dl)(this.sourceUrl),d=B({returnColumnName:i||null,returnFeatureCollection:n||null,returnM:o||null,returnZ:s||null,outSR:a,returnType:"data",f:"json"},null),p={...this.requestOptions,...r,query:d},c=`${u}/jobs/${this.jobId}/results/${e}`,{data:y}=await(0,l.A)(c,p);return $(y)}async fetchResultImage(e,t,r){const{path:i}=(0,R.Dl)(this.sourceUrl),n=B({...t.toJSON(),f:"json"}),o={...this.requestOptions,...r,query:n},s=`${i}/jobs/${this.jobId}/results/${e}`,{data:a}=await(0,l.A)(s,o);return $(a)}async fetchResultMapImageLayer(){const{path:e}=(0,R.Dl)(this.sourceUrl),t=e.indexOf("/GPServer/"),r=`${e.slice(0,Math.max(0,t))}/MapServer/jobs/${this.jobId}`;return new(0,(await Promise.all([i.e(6131),i.e(8219),i.e(13),i.e(5055),i.e(1214),i.e(1956),i.e(4796),i.e(4111),i.e(364),i.e(4341),i.e(7656),i.e(6911)]).then(i.bind(i,7656))).default)({url:r})}async waitForJobCompletion(e={}){const{interval:t=Q,signal:r,statusCallback:i}=e;return new Promise(((e,n)=>{(0,p.u7)(r,(()=>{this.clearJobCompletionTimer(),n((0,p.NK)())})),this.clearJobCompletionTimer();const o=()=>{this._jobCompletionTimer||n((0,p.NK)()),this.checkJobStatus().then((({jobStatus:r})=>{switch(r){case"job-succeeded":e(this);break;case"job-executing":case"job-new":case"job-submitted":case"job-waiting":i&&i(this),this._jobCompletionTimer=setTimeout(o,t);break;case"job-cancelled":case"job-cancelling":case"job-deleted":case"job-deleting":case"job-failed":case"job-timed-out":n(this);break;default:this._jobCompletionTimer=setTimeout(o,t)}})).catch((e=>{n(e)}))};this._jobCompletionTimer=setTimeout(o,t)}))}clearCancelJobTimer(){clearTimeout(this._cancelJobTimer),this._cancelJobTimer=void 0}clearJobCompletionTimer(){clearTimeout(this._jobCompletionTimer),this._jobCompletionTimer=void 0}};(0,h._)([(0,m.MZ)()],W.prototype,"jobId",void 0),(0,h._)([(0,G.e)(H,{ignoreUnknown:!1})],W.prototype,"jobStatus",void 0),(0,h._)([(0,m.MZ)({type:[V.A]})],W.prototype,"messages",void 0),(0,h._)([(0,m.MZ)()],W.prototype,"progress",void 0),(0,h._)([(0,m.MZ)()],W.prototype,"requestOptions",void 0),(0,h._)([(0,m.MZ)({json:{write:!0}})],W.prototype,"sourceUrl",void 0),W=Y=(0,h._)([(0,_.$)("esri.rest.support.JobInfo")],W);const X=W;let ee=class extends f.A{constructor(e){super(e),this.headerKeys=[],this.outSpatialReference=null,this.exceededTransferLimit=!1}};(0,h._)([(0,m.MZ)()],ee.prototype,"headerKeys",void 0),(0,h._)([(0,m.MZ)()],ee.prototype,"outSpatialReference",void 0),(0,h._)([(0,m.MZ)()],ee.prototype,"exceededTransferLimit",void 0),ee=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.GraphQueryResultHeader")],ee);const te=ee;let re=class extends f.A{constructor(e){super(e),this.resultRows=[],this.resultHeader=new te}};(0,h._)([(0,m.MZ)()],re.prototype,"resultRows",void 0),(0,h._)([(0,m.MZ)()],re.prototype,"resultHeader",void 0),re=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.GraphQueryResult")],re);const ie=re;let ne=class extends f.A{constructor(e){super(e),this.resultRowsStream=new ReadableStream,this.resultHeader=new te}};(0,h._)([(0,m.MZ)()],ne.prototype,"resultRowsStream",void 0),(0,h._)([(0,m.MZ)()],ne.prototype,"resultHeader",void 0),ne=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.GraphQueryStreamingResult")],ne);const oe=ne;let se=class extends S.A{constructor(e){super(e),this.name=null,this.unique=null,this.ascending=!0,this.description="",this.fieldNames=[]}};(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],se.prototype,"name",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],se.prototype,"unique",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],se.prototype,"ascending",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],se.prototype,"description",void 0),(0,h._)([(0,m.MZ)({type:[String],json:{write:!0}})],se.prototype,"fieldNames",void 0),se=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.FieldIndex")],se);const ae=se;let le=class extends S.A{constructor(e){super(e),this.name=null,this.alias=null,this.fieldType=null,this.geometryType=null,this.hasM=null,this.hasZ=null,this.nullable=null,this.editable=!0,this.required=!1,this.defaultVisibility=!0,this.systemMaintained=null,this.role="esriGraphPropertyUNSPECIFIED",this.defaultValue=null}};(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],le.prototype,"name",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],le.prototype,"alias",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],le.prototype,"fieldType",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],le.prototype,"geometryType",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],le.prototype,"hasM",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],le.prototype,"hasZ",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],le.prototype,"nullable",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],le.prototype,"editable",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],le.prototype,"required",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],le.prototype,"defaultVisibility",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],le.prototype,"systemMaintained",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],le.prototype,"role",void 0),(0,h._)([(0,m.MZ)({json:{write:!0}})],le.prototype,"defaultValue",void 0),le=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.GraphProperty")],le);const ue=le;let de=class extends S.A{constructor(e){super(e),this.name=null,this.alias=null,this.role="Regular",this.strict=null,this.properties=[],this.fieldIndexes=[],this.type=null}};(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],de.prototype,"name",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],de.prototype,"alias",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],de.prototype,"role",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],de.prototype,"strict",void 0),(0,h._)([(0,m.MZ)({type:[ue],json:{write:!0}})],de.prototype,"properties",void 0),(0,h._)([(0,m.MZ)({type:[ae],json:{write:!0}})],de.prototype,"fieldIndexes",void 0),de=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.GraphObjectType")],de);const pe=de;let ce=class extends pe{constructor(e){super(e),this.type="entity"}};ce=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.EntityType")],ce);const ye=ce;let he=class extends pe{constructor(e){super(e),this.endPoints=[],this.type="relationship"}};(0,h._)([(0,m.MZ)({json:{write:!0}})],he.prototype,"endPoints",void 0),he=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.RelationshipType")],he);const fe=he;let me=class extends S.A{constructor(e){super(e),this.value=null,this.behavior=null}};(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],me.prototype,"value",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],me.prototype,"behavior",void 0),me=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.SourceTypeValueBehavior")],me);const ge=me;let _e=class extends S.A{constructor(e){super(e),this.timestamp=null,this.spatialReference=null,this.strict=null,this.objectIdField=null,this.globalIdField=null,this.arcgisManaged=null,this.identifierInfo=null,this.searchIndexes=[],this.entityTypes=[],this.relationshipTypes=[],this.metaEntityTypes=[],this.provenanceSourceTypeValues=[]}};(0,h._)([(0,m.MZ)({type:Date,json:{type:Number,write:{writer:(e,t)=>{t.timestamp=e?.getTime()}}}})],_e.prototype,"timestamp",void 0),(0,h._)([(0,m.MZ)({type:y.A,json:{write:!0}})],_e.prototype,"spatialReference",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],_e.prototype,"strict",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],_e.prototype,"objectIdField",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],_e.prototype,"globalIdField",void 0),(0,h._)([(0,m.MZ)()],_e.prototype,"arcgisManaged",void 0),(0,h._)([(0,m.MZ)()],_e.prototype,"identifierInfo",void 0),(0,h._)([(0,m.MZ)()],_e.prototype,"searchIndexes",void 0),(0,h._)([(0,m.MZ)({type:[ye],json:{write:!0}})],_e.prototype,"entityTypes",void 0),(0,h._)([(0,m.MZ)({type:[fe],json:{write:!0}})],_e.prototype,"relationshipTypes",void 0),(0,h._)([(0,m.MZ)({type:[ye],json:{write:!0}})],_e.prototype,"metaEntityTypes",void 0),(0,h._)([(0,m.MZ)({type:[ge],json:{write:!0}})],_e.prototype,"provenanceSourceTypeValues",void 0),_e=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.DataModel")],_e);const we=_e;let ve=class extends S.A{constructor(e){super(e),this.capabilities=[],this.supportsSearch=!1,this.supportedQueryFormats=[],this.allowGeometryUpdates=!1,this.searchMaxRecordCount=null,this.serviceCapabilities=null,this.maxRecordCount=null,this.description="",this.copyrightText="",this.units="",this.spatialReference=null,this.currentVersion=null,this.dateFieldsTimeReference=null,this.serviceItemId="",this.supportsDocuments=!1,this.dataEditingNotSupported=!1,this.schemaEditingNotSupported=!1,this.supportsProvenance=!1}};(0,h._)([(0,m.MZ)({type:[String],json:{write:!0}})],ve.prototype,"capabilities",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],ve.prototype,"supportsSearch",void 0),(0,h._)([(0,m.MZ)({type:[String],json:{write:!0}})],ve.prototype,"supportedQueryFormats",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],ve.prototype,"allowGeometryUpdates",void 0),(0,h._)([(0,m.MZ)({type:Number,json:{write:!0}})],ve.prototype,"searchMaxRecordCount",void 0),(0,h._)([(0,m.MZ)({type:Object,json:{write:!0}})],ve.prototype,"serviceCapabilities",void 0),(0,h._)([(0,m.MZ)({type:Number,json:{write:!0}})],ve.prototype,"maxRecordCount",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],ve.prototype,"description",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],ve.prototype,"copyrightText",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],ve.prototype,"units",void 0),(0,h._)([(0,m.MZ)({type:y.A,json:{write:!0}})],ve.prototype,"spatialReference",void 0),(0,h._)([(0,m.MZ)({type:Number,json:{write:!0}})],ve.prototype,"currentVersion",void 0),(0,h._)([(0,m.MZ)({type:Object,json:{write:!0}})],ve.prototype,"dateFieldsTimeReference",void 0),(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],ve.prototype,"serviceItemId",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],ve.prototype,"supportsDocuments",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],ve.prototype,"dataEditingNotSupported",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],ve.prototype,"schemaEditingNotSupported",void 0),(0,h._)([(0,m.MZ)({type:Boolean,json:{write:!0}})],ve.prototype,"supportsProvenance",void 0),ve=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.ServiceDefinition")],ve);const Te=ve;let be=class extends S.A{constructor(e){super(e),this.url=null,this.dataModel=null,this.serviceDefinition=null}};(0,h._)([(0,m.MZ)({type:String,json:{write:!0}})],be.prototype,"url",void 0),(0,h._)([(0,m.MZ)({type:we,json:{write:!0}})],be.prototype,"dataModel",void 0),(0,h._)([(0,m.MZ)({type:Te,json:{write:!0}})],be.prototype,"serviceDefinition",void 0),be=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.KnowledgeGraph")],be);const Me=be;function Se(e,t,r){if(0!==e.error_code)throw new u.A(t,r,{errorCode:e.error_code,errorMessage:e.error_message})}function Ae(e,t,r,i){const n=new r.ClientDataKey;n.deleteLater(),n.key_string=e;const o=new r.ClientDataFetchRequestParameter;o.deleteLater(),o.set_key(n);const s=t.get(e);return s&&!i&&(o.v_tag={v_tag:s.version}),o}var Pe,Re,Ge,Ee,Ie,Ne,De,ke=i(45724),xe=i(48526),Oe=i(86738),je=i(39829),Ce=i(82799);function Fe(e,t){const r=new t.ArrayValue;return r.deleteLater(),e.forEach((e=>{r.add_value(qe(e,t))})),r}function Ue(e,t){const r=new t.ObjectValue;r.deleteLater();for(const[i,n]of Object.entries(e))r.set_key_value(i,qe(n,t));return r}function Ze(e,t){if(e instanceof xe.A)return function(e,t){const r=new t.GeometryValue;r.deleteLater(),r.geometry_type=r.geometry_type=t.esriGeometryType.esriGeometryMultipoint,r.has_z=e.hasZ,r.has_m=e.hasM;const i=[],n=[];n[0]=e.points.length;let o=0;return e.points.forEach((e=>{e.forEach((e=>{i[o]=e,o++}))})),r.coords=new Float64Array(i),r.lengths=new Uint32Array(n),r}(e,t);if(e instanceof Oe.A)return function(e,t){const r=new t.GeometryValue;r.deleteLater(),r.geometry_type=t.esriGeometryType.esriGeometryPoint,r.has_z=e.hasZ,r.has_m=e.hasM;const i=[],n=[];n[0]=1,i[0]=e.x,i[1]=e.y;let o=2;return e.hasZ&&(i[o]=e.z,o++),e.hasM&&(i[o]=e.m,o++),r.coords=new Float64Array(i),r.lengths=new Uint32Array(n),r}(e,t);if(e instanceof Ce.A||e instanceof je.A)return function(e,t){const r=new t.GeometryValue;r.deleteLater(),r.has_z=e.hasZ,r.has_m=e.hasM;const i=[],n=[];let o=[];e instanceof Ce.A?(r.geometry_type=t.esriGeometryType.esriGeometryPolyline,o=e.paths):e instanceof je.A&&(r.geometry_type=t.esriGeometryType.esriGeometryPolygon,o=e.rings);let s=0,a=0;return o.forEach((e=>{let t=0;e.forEach((e=>{t++,e.forEach((e=>{i[a]=e,a++}))})),n[s]=t,s++})),r.coords=new Float64Array(i),r.lengths=new Uint32Array(n),r}(e,t);throw new u.A("knowledge-graph:unsupported-geometry","Only Point, Multipoint, Polyline, and Polygon geometry are supported by ArcGIS Knowledge",{geometry:e})}function qe(e,t){if(null==e)return"";if("object"!=typeof e)return e;if(e instanceof Date)return e;if(e instanceof c.A)return Ze(e,t);if(Array.isArray(e)){const r=new t.ArrayValue;return r.deleteLater(),e.forEach((e=>{r.add_value(qe(e,t))})),r}return Ue(e,t)}function Le(e,t){if(!e.typeName)throw new u.A("knowledge-graph:no-type-name","You must indicate the entity/relationship named object type to apply edits");if(!("originId"in e)){const r=new t.EntityValue;r.deleteLater(),r.type_name=e.typeName;for(const[i,n]of Object.entries(e.properties))r.set_key_value(i,ze(n,t));return e.id&&r.set_id(e.id),r}if("originId"in e&&"destinationId"in e){const r=new t.RelationshipValue;r.deleteLater(),r.type_name=e.typeName;for(const[i,n]of Object.entries(e.properties))r.set_key_value(i,ze(n,t));return e.id&&r.set_id(e.id),e.originId&&e.destinationId&&r.set_related_entity_ids(e.originId,e.destinationId),r}throw new u.A("knowledge-graph:applyEdits-encoding-failure","Could not determine the type of a named graph object passed to the encoder")}function ze(e,t){return null==e?null:"object"!=typeof e||e instanceof Date?e:e instanceof c.A?Ze(e,t):null}!function(e){e[e.OBJECT=0]="OBJECT",e[e.ENTITY=1]="ENTITY",e[e.RELATIONSHIP=2]="RELATIONSHIP",e[e.PATH=3]="PATH",e[e.ARRAY=4]="ARRAY"}(Pe||(Pe={})),function(e){e[e.view=0]="view",e[e.edit=1]="edit"}(Re||(Re={})),function(e){e[e.exclude=0]="exclude",e[e.include=1]="include"}(Ge||(Ge={})),function(e){e[e.ClientDataKeyTypeUNSPECIFIED=0]="ClientDataKeyTypeUNSPECIFIED",e[e.ClientDataKeyTypeString=1]="ClientDataKeyTypeString"}(Ee||(Ee={})),function(e){e[e.ClientDataTypeUNSPECIFIED=0]="ClientDataTypeUNSPECIFIED",e[e.ClientDataTypeString=1]="ClientDataTypeString"}(Ie||(Ie={})),function(e){e[e.Unspecified=0]="Unspecified",e[e.ClientData=1]="ClientData",e[e.NotModified=2]="NotModified"}(Ne||(Ne={})),function(e){e[e.Unspecified=0]="Unspecified",e[e.Error=1]="Error",e[e.ClientDataValue=2]="ClientDataValue"}(De||(De={}));let Je=class extends f.A{constructor(e){super(e),this.name=null,this.supportedCategory="esriTypeUNSPECIFIED",this.analyzers=[],this.searchProperties=new Map}};(0,h._)([(0,m.MZ)()],Je.prototype,"name",void 0),(0,h._)([(0,m.MZ)()],Je.prototype,"supportedCategory",void 0),(0,h._)([(0,m.MZ)()],Je.prototype,"analyzers",void 0),(0,h._)([(0,m.MZ)()],Je.prototype,"searchProperties",void 0),Je=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.SearchIndex")],Je);const Ke=Je;var $e=i(35448);let Be=!1;function Ye(e){return e.deleteLater(),new ye(He(e))}function Ve(e){return e.deleteLater(),new ae({name:e.name,unique:e.unique,ascending:e.ascending,description:e.description,fieldNames:tt(e.fields)})}function He(e){return{name:e.name,alias:e.alias,role:$e.Eq[e.role.value],strict:e.strict,properties:rt(e.properties),fieldIndexes:it(e.field_indexes)}}function Qe(e){return e.deleteLater(),new ue({alias:e.alias,name:e.name,fieldType:$e.r5[e.field_type.value]?$e.r5[e.field_type.value]:void 0,geometryType:$e.bV[e.geometry_type.value]?$e.bV[e.geometry_type.value]:null,hasM:e.has_m,hasZ:e.has_z,nullable:e.nullable,editable:e.editable,required:e.required,defaultVisibility:e.default_visibility,systemMaintained:e.system_maintained,role:$e.ti[e.role.value],defaultValue:e.default_value})}function We(e){e.deleteLater();const t=He(e),r=[];for(let t=0;t<e.end_points.size();t++){const i=e.end_points.get(t);r.push({originEntityType:i.origin_entity_type,destinationEntityType:i.dest_entity_type})}return e.end_points.delete(),new fe(Object.assign({endPoints:r},t))}function Xe(e){return new ge({behavior:e.behavior,value:e.value})}function et(e){const t=[];for(let r=0;r<e.size();r++)t.push(Ye(e.get(r)));return e.delete(),t}function tt(e){const t=[];for(let r=0;r<e.size();r++)t.push(e.get(r));return e.delete(),t}function rt(e){const t=[];for(let r=0;r<e.size();r++){const i=Qe(e.get(r));"esriFieldTypeBigInteger"===i.fieldType&&(Be=!0),t.push(i)}return e.delete(),t}function it(e){const t=[];for(let r=0;r<e.size();r++)t.push(Ve(e.get(r)));return e.delete(),t}function nt(e){const t=[];for(let r=0;r<e.size();r++)t.push(We(e.get(r)));return e.delete(),t}function ot(e){const t=[];for(let r=0;r<e.size();r++){const i=e.get(r);i.deleteLater(),t.push(Xe(i))}return e.delete(),t}function st(e){const t=[];for(let r=0;r<e.size();r++){const r=new Ke,i=e.get(0);r.name=i.name,r.supportedCategory=$e.nP[i.supported_category.value];const n=i.analyzers.size();for(let e=0;e<n;e++)r.analyzers.push({name:i.analyzers.get(e).name});i.analyzers.delete();for(let e=0;e<i.search_properties.keys().size();e++){const t=i.search_properties.keys().get(e),n=i.search_properties.get(t),o=[];for(let e=0;e<n.property_names.size();e++)o.push(n.property_names.get(e));r.searchProperties.set(t,{propertyNames:o})}t.push(r)}return e.delete(),t}var at,lt=i(25927),ut=(i(77901),i(40662)),dt=i(42095),pt=i(23150);function ct(e,t){const r={paths:[],hasM:!1,hasZ:!1},i=yt(e,r),{coords:n,geometry_type:o,lengths:s}=e;if(o.value!==t)throw new u.A("KnowledgeGraph:illegal-geometry-type","Illegal Geometry type for multipath conversion");let a=0;return s.forEach((e=>{const t=[];for(let r=0;r<e;r++){const e=[];for(let t=0;t<i;t++)e[t]=n[a],a++;t.push(e)}r.paths.push(t)})),r}function yt(e,t){let r=2;return e.has_z?(t.hasZ=e.has_z,r++):t.hasZ=!1,e.has_m?(t.hasM=e.has_m,r++):t.hasM=!1,r}!function(e){e[e.ESRI_GEOMETRY_NULL=0]="ESRI_GEOMETRY_NULL",e[e.ESRI_GEOMETRY_POINT=1]="ESRI_GEOMETRY_POINT",e[e.ESRI_GEOMETRY_MULTIPOINT=2]="ESRI_GEOMETRY_MULTIPOINT",e[e.ESRI_GEOMETRY_POLYLINE=3]="ESRI_GEOMETRY_POLYLINE",e[e.ESRI_GEOMETRY_POLYGON=4]="ESRI_GEOMETRY_POLYGON",e[e.ESRI_GEOMETRY_ENVELOPE=5]="ESRI_GEOMETRY_ENVELOPE",e[e.ESRI_GEOMETRY_ANY=6]="ESRI_GEOMETRY_ANY",e[e.ESRI_GEOMETRY_MULTI_PATCH=7]="ESRI_GEOMETRY_MULTI_PATCH"}(at||(at={}));const ht=()=>d.A.getLogger("esri.rest.knowledgeGraph.WasmToQueryResponseObjConstructors");function ft(e,t,r){return((e,t,r)=>{if(null==e)return null;if("object"!=typeof e)return e;if("getDate"in e)return e;if("geometry_type"in e)switch(e.geometry_type.value){case null:return null;case at.ESRI_GEOMETRY_POINT:return function(e,t){const r={spatialReference:t};let i=2;yt(e,r);const n=e.coords;return r.x=n[0],r.y=n[1],e.has_z&&(r.z=n[i],i++),e.has_m&&(r.m=n[i]),new Oe.A(r)}(e,r);case at.ESRI_GEOMETRY_MULTIPOINT:return function(e,t){const r={spatialReference:t},i=yt(e,r),n=e.lengths,o=e.coords,s=n[0];r.points=[];let a=0;for(let e=0;e<s;e++){const e=[];for(let t=0;t<i;t++)e[t]=o[a],a++;r.points.push(e)}return new xe.A(r)}(e,r);case at.ESRI_GEOMETRY_POLYLINE:return function(e,t){const{paths:r,hasM:i,hasZ:n}=ct(e,at.ESRI_GEOMETRY_POLYLINE);return new Ce.A({paths:r,hasM:i,hasZ:n,spatialReference:t})}(e,r);case at.ESRI_GEOMETRY_POLYGON:return function(e,t){const{paths:r,hasM:i,hasZ:n}=ct(e,at.ESRI_GEOMETRY_POLYGON);return new je.A({rings:r,hasM:i,hasZ:n,spatialReference:t})}(e,r);case at.ESRI_GEOMETRY_ENVELOPE:case at.ESRI_GEOMETRY_MULTI_PATCH:return ht().warnOnce("Envelope and Multipatch are not supported on knowledge entities, but one of those geometry types was detected. Result interpreted as null"),null;case at.ESRI_GEOMETRY_NULL:case at.ESRI_GEOMETRY_ANY:default:return ht().warnOnce("Unknown or blank geometry type returned - Result interpreted as null"),null}else{if(!("object_value_type"in e))return ht().warnOnce("A decoded value came back of a type that is not supported. Result interpreted as null"),null;switch(e.object_value_type.value){case Pe.OBJECT:return function(e,t,r){return new ut.A(gt(e,t,r))}(e,t,r);case Pe.ENTITY:return mt(e,t,r);case Pe.RELATIONSHIP:return _t(e,t,r);case Pe.PATH:return function(e,t,r){const i=e.entity_count(),n=e.relationship_count(),o=[];for(let s=0;s<i;s++)o.push(mt(e.get_entity_at(s),t,r)),s<n&&o.push(_t(e.get_relationship_at(s),t,r));return new dt.A({path:o})}(e,t,r);case Pe.ARRAY:return function(e,t,r){const i=[],n=e.count();for(let o=0;o<n;o++){const n=e.get_value_at(o);i.push(ft(n,t,r))}return i}(e,t,r);default:return ht().warnOnce("Unknown graph object type detected! Result interpreted as null"),null}}})(e,t,r)}function mt(e,t,r){const i=e.type_name,n=gt(e,t,r),o=e.get_id();return new lt.A(Object.assign({typeName:i,id:o},n))}function gt(e,t,r){const i={},n=e.key_count();for(let o=0;o<n;o++)i[e.get_key_at(o)]=ft(e.get_value_at(o),t,r);return{properties:i}}function _t(e,t,r){const i=e.type_name,n=gt(e,t,r);return new pt.A(Object.assign({typeName:i,id:e.get_id(),originId:e.get_origin_entity_id(),destinationId:e.get_destination_entity_id()},n))}function wt(e){const t=[];for(let r=0;r<e.get_header_keys().size();r++)t.push(e.get_header_keys().get(r));const r=new y.A(e.get_out_sr());return new te({headerKeys:t,outSpatialReference:r,exceededTransferLimit:e.exceeded_transfer_limit()})}let vt=class extends f.A{constructor(e){super(e),this.hasError=!1,this.error=null,this.editResults=[]}};(0,h._)([(0,m.MZ)()],vt.prototype,"hasError",void 0),(0,h._)([(0,m.MZ)()],vt.prototype,"error",void 0),(0,h._)([(0,m.MZ)()],vt.prototype,"editResults",void 0),vt=(0,h._)([(0,_.$)("esri.rest.knowledgeGraph.GraphApplyEditsResult")],vt);const Tt=vt,bt=new Map,Mt=()=>new Map(bt.entries()),St={fetchKnowledgeGraph:async e=>{const t=new Me({url:e}),r=[];return r.push(kt(t)),r.push(xt(t)),await Promise.all(r),t},refreshDataModel:async e=>{e.dataModel=await Vt(e)},refreshServiceDefinition:async e=>{const t=(await(0,l.A)(e.url,{query:{f:"json"}})).data;return t.capabilities=t?.capabilities?.split(","),t.supportedQueryFormats=t?.supportedQueryFormats?.split(","),e.serviceDefinition=new Te(t),e.serviceDefinition},executeFindPathsAsynchronous:async(e,t)=>{const r=e.inKnowledgeGraphUrl.split("/rest/services");if(r.length<2)throw new u.A("knowledge-graph:invalid-tool-url","The URL for the KG Service was not correctly formatted. It should contain /reset/services/");const i=r[0];return await Zt(`${i}/rest/services/System/KnowledgeGraphServerToolsAsync/GPServer/ServerFilteredFindPaths`,{in_knowledge_graph_url:e.inKnowledgeGraphUrl,config_type:"STRING",config_string:e.config.toJSON(),result_type:"STRING"},{},t)},executeFindPaths:async(e,t)=>{const r=e.inKnowledgeGraphUrl.split("/rest/services");if(r.length<2)throw new u.A("knowledge-graph:invalid-tool-url","The URL for the KG Service was not correctly formatted. It should contain /reset/services/");const i=r[0],n=await qt(`${i}/rest/services/System/KnowledgeGraphServerTools/GPServer/ServerFilteredFindPaths/execute`,{method:"post",query:{f:"pjson",in_knowledge_graph_url:e.inKnowledgeGraphUrl,config_type:"STRING",config_string:JSON.stringify(e.config),result_type:"STRING"},...t});if(n.data.results.length<1)throw new u.A("knowledge-graph:no-results","No results were returned from the FindPaths tool - no results returned",n);let o;for(const e of n.data.results)if("out_results_string"===e.paramName){o=e.value;break}if(!o)throw new u.A("knowledge-graph:no-results","No results were returned from the FindPaths tool - no results were returned on the expected paramater out_results_string",n);return o},fetchAsynchronousFindPathsResultData:async(e,t)=>(await e.fetchResultData("out_results_string",null,t)).value,executeQueryStreaming:async(e,t,r)=>{const i=`${e.url}/graph/query`;await Lt(e);const n=await Jt(i,r);if(!e.serviceDefinition?.supportsProvenance&&"include"===t.provenanceBehavior)throw new u.A("knowledge-graph:provenance-not-supported","The Knowledge Graph Service definition indicated that provenance is not supported");n.data.body=await async function(e,t){const r=await(0,ke.I)(),i=new r.GraphQueryRequestEncoder;if(i.deleteLater(),e.outputSpatialReference?i.output_spatial_reference={wkid:e.outputSpatialReference.wkid,latestWkid:e.outputSpatialReference.latestWkid,vcsWkid:e.outputSpatialReference.vcsWkid,latestVcsWkid:e.outputSpatialReference.latestVcsWkid,wkt:e.outputSpatialReference.wkt??""}:i.output_spatial_reference=r.SpatialReferenceUtil.WGS84(),i.open_cypher_query=e.openCypherQuery,e.bindParameters)for(const[t,n]of Object.entries(e.bindParameters))zt(t,n,i,r);if(e.bindGeometryQuantizationParameters)!function(e,t){t.input_quantization_parameters={xy_resolution:e.xyResolution,x_false_origin:e.xFalseOrigin,y_false_origin:e.yFalseOrigin,z_resolution:e.zResolution,z_false_origin:e.zFalseOrigin,m_resolution:e.mResolution,m_false_origin:e.mFalseOrigin}}(e.bindGeometryQuantizationParameters,i);else{if(t.dataModel||await kt(t),4326!==t.dataModel?.spatialReference?.wkid)throw new u.A("knowledge-graph:SR-quantization-mismatch","If the DataModel indicates a coordinate system other than WGS84, inputQuantizationParameters must be provided to the query encoder");i.input_quantization_parameters=r.InputQuantizationUtil.WGS84_lossless()}e.outputQuantizationParameters&&function(e,t,r){if(!e.extent)throw new u.A("knowledge-graph:illegal-output-quantization","The Output quantization provided to the encoder had an illegal value as part of its extent",e.extent);if(!e.quantizeMode)throw new u.A("knowledge-graph:illegal-output-quantization","The Output quantization contained an illegal mode setting",e.quantizeMode);if(!e.tolerance)throw new u.A("knowledge-graph:illegal-output-quantization","The Output quantization contained an illegal tolerance setting",e.quantizeMode);t.output_quantization_parameters={extent:{xmax:e.extent.xmax,ymax:e.extent.ymax,xmin:e.extent.xmin,ymin:e.extent.ymin},quantize_mode:r.esriQuantizeMode[e.quantizeMode],tolerance:e.tolerance}}(e.outputQuantizationParameters,i,r),e.provenanceBehavior&&function(e,t){t.provenance_behavior={value:Ge[e]}}(e.provenanceBehavior,i);try{i.encode()}catch(e){throw new u.A("knowledge-graph:query-encoding-failed","Attempting to encode the query failed",{error:e})}const n=i.get_encoding_result();if(0!==n.error.error_code)throw new u.A("knowledge-graph:query-encoding-failed","Attempting to encode the query failed",{errorCode:n.error.error_code,errorMessage:n.error.error_message});return structuredClone(n.get_byte_buffer())}(t,e);const o=await Ut(n.data.url,n.data);if(e.dataModel){const t=await Yt(o,e.dataModel);return new oe({resultRowsStream:t.readableStream,resultHeader:t.resultHeader})}throw new u.A("knowledge-graph:undefined-data-model","The KnowledgeGraph supplied did not have a data model")},executeApplyEdits:async(e,t,r)=>{if(e.serviceDefinition?.dataEditingNotSupported)throw new u.A("knowledge-graph:data-editing-not-supported","The Knowledge Graph Service definition indicated that data editing is not supported");const i=`${e.url}/graph/applyEdits`;await Lt(e);const n=await Jt(i,r);return n.data.body=await async function(e,t){if(t.dataModel||await kt(t),!t.dataModel)throw new u.A("knowledge-graph:data-model-undefined","Encoding could not proceed because a data model was not provided and it could not be determined from the service");const r=await(0,ke.I)(),i=!!e.options?.cascadeDelete,n=new r.GraphApplyEditsEncoder(r.SpatialReferenceUtil.WGS84(),e.options?.inputQuantizationParameters?function(e){return{xy_resolution:e.xyResolution,x_false_origin:e.xFalseOrigin,y_false_origin:e.yFalseOrigin,z_resolution:e.zResolution,z_false_origin:e.zFalseOrigin,m_resolution:e.mResolution,m_false_origin:e.mFalseOrigin}}(e.options?.inputQuantizationParameters):r.InputQuantizationUtil.WGS84_lossless());n.deleteLater(),n.cascade_delete=i;try{let t;e.entityAdds?.forEach((e=>{t=n.add_entity(Le(e,r)),Se(t,"knowledge-graph:applyEdits-encoding-failed","Attempting to encode the applyEdits - an entity failed to be added to the encoder")})),e.relationshipAdds?.forEach((e=>{if(!e.originId||!e.destinationId)throw new u.A("knowledge-graph:relationship-origin-destination-missing","When adding a new relationship, you must provide both an origin and destination id on the appropriate class property");t=n.add_relationship(Le(e,r)),Se(t,"knowledge-graph:applyEdits-encoding-failed","Attempting to encode the applyEdits - a relationship failed to be added to the encoder")})),e.entityUpdates?.forEach((e=>{if(!e.id)throw new u.A("knowledge-graph:entity-id-missing","When updating an entity or relationship, you must specify the id on the class level property");t=n.update_entity(Le(e,r)),Se(t,"knowledge-graph:applyEdits-encoding-failed","Attempting to encode the applyEdits - an entity failed to be added to the encoder")})),e.relationshipUpdates?.forEach((e=>{if(!e.id)throw new u.A("knowledge-graph:relationship-id-missing","When updating an entity or relationship, you must specify the id on the class level property");t=n.update_relationship(Le(e,r)),Se(t,"knowledge-graph:applyEdits-encoding-failed","Attempting to encode the applyEdits - a relationship failed to be added to the encoder")})),e.entityDeletes?.forEach((e=>{if(!e.typeName)throw new u.A("knowledge-graph:no-type-name","You must indicate the entity/relationship named object type to apply edits - delete");const t=n.make_delete_helper(e.typeName,!0);t.deleteLater(),e.ids?.forEach((e=>{t.delete_by_id(e)}))})),e.relationshipDeletes?.forEach((e=>{if(!e.typeName)throw new u.A("knowledge-graph:no-type-name","You must indicate the entity/relationship named object type to apply edits - delete");const t=n.make_delete_helper(e.typeName,!1);e.ids?.forEach((e=>{t.delete_by_id(e)}))})),n.encode()}catch(e){throw new u.A("knowledge-graph:applyEdits-encoding-failed","Attempting to encode the applyEdits failed",{error:e})}const o=n.get_encoding_result();return Se(o.error,"knowledge-graph:applyEdits-encoding-failed","Attempting to encode the applyEdits failed"),structuredClone(o.get_byte_buffer())}(t,e),async function(e){const t=e.headers.get("content-type");if(t?.includes("application/x-protobuf")){const t=await e.arrayBuffer(),r=new((await(0,ke.I)()).GraphApplyEditsDecoder);return r.deleteLater(),r.decode(new Uint8Array(t)),function(e){const t=e.has_error(),r=new Tt({hasError:t,error:t?{errorCode:e.error.error_code,errorMessage:e.error.error_message}:null}),i=e.get_edit_results_count();for(let t=0;t<i;t++){const i=e.get_edit_results_at(t),n=e.get_edit_results_type_name_at(t),o=[],s=[],a=[],l=i.get_add_results_count(),u=i.get_update_results_count(),d=i.get_delete_results_count();for(let e=0;e<l;e++){const t=i.get_add_result_at(e);o.push({id:t.id,error:{errorCode:t.error.error_code,errorMessage:t.error.error_message}})}for(let e=0;e<u;e++){const t=i.get_update_result_at(e);s.push({id:t.id,error:{errorCode:t.error.error_code,errorMessage:t.error.error_message}})}for(let e=0;e<d;e++){const t=i.get_delete_result_at(e);a.push({id:t.id,error:{errorCode:t.error.error_code,errorMessage:t.error.error_message}})}r.editResults.push({typeName:n,adds:o,updates:s,deletes:a})}return r}(r)}throw new u.A("knowledge-graph:unexpected-server-response","server returned an unexpected response",{responseType:t,data:e.text()})}(await Ut(n.data.url,n.data))},executeQuery:async(e,t,r)=>{const i=`${e.url}/graph/query`,n=await(0,l.A)(i,{responseType:"array-buffer",query:{f:"pbf",openCypherQuery:t.openCypherQuery,...r?.query},signal:r?.signal,timeout:r?.timeout}),o=n.getHeader?.("content-type"),s=n.data;if(o?.includes("application/x-protobuf")){const t=new((await(0,ke.I)()).GraphQueryDecoder);if(t.deleteLater(),e.dataModel){const r=Bt({wasmQueryDecoder:t,newArrayBufferToParse:s,dataModel:e.dataModel});return new ie({resultRows:r.resultRows,resultHeader:r.resultHeader})}throw new u.A("knowledge-graph:undefined-data-model","The KnowledgeGraph supplied did not have a data model")}throw new u.A("knowledge-graph:unexpected-server-response","server returned an unexpected response",{responseType:o,data:n.data})},executeSearch:async(e,t,r)=>{const i=t.typeCategoryFilter,n=`${e.url}/graph/search`,o=await(0,l.A)(n,{responseType:"array-buffer",query:{f:"pbf",searchQuery:`"${t.searchQuery}"`,typeCategoryFilter:i,...r?.query},signal:r?.signal,timeout:r?.timeout}),s=o.getHeader?.("content-type"),a=o.data;if(s?.includes("application/x-protobuf")){const t=new((await(0,ke.I)()).GraphQueryDecoder);if(t.deleteLater(),e.dataModel){const r=Bt({wasmQueryDecoder:t,newArrayBufferToParse:a,dataModel:e.dataModel});return new ie({resultRows:r.resultRows,resultHeader:r.resultHeader})}throw new u.A("knowledge-graph:undefined-data-model","The KnowledgeGraph supplied did not have a data model")}throw new u.A("knowledge-graph:unexpected-server-response","server returned an unexpected response",{responseType:s,data:o.data})},executeSearchStreaming:async(e,t,r)=>{const i=`${e.url}/graph/search`;await Lt(e);const n=await Jt(i,r);n.data.body=await async function(e){const t=await(0,ke.I)(),r=new t.GraphSearchRequestEncoder;if(r.deleteLater(),r.search_query=e.searchQuery,r.type_category_filter=t.esriNamedTypeCategory[e.typeCategoryFilter],!0===e.returnSearchContext&&(r.return_search_context=e.returnSearchContext),null!=e.start&&e.start>0&&(r.start_index=e.start),null!=e.num&&(r.max_num_results=e.num),null!=e.idsFilter&&Array.isArray(e.idsFilter)&&e.idsFilter.length>0)try{r.set_ids_filter(Fe(e.idsFilter,t))}catch(e){throw new u.A("knowledge-graph:ids-format-error","Attempting to set ids filter failed. This is usually caused by an incorrectly formatted UUID string",{error:e})}e.namedTypesFilter?.forEach((e=>{r.add_named_type_filter(e)}));try{r.encode()}catch(e){throw new u.A("knowledge-graph:search-encoding-failed","Attempting to encode the search failed",{error:e})}const i=r.get_encoding_result();if(0!==i.error.error_code)throw new u.A("knowledge-graph:search-encoding-failed","Attempting to get encoding result from the query failed",{errorCode:i.error.error_code,errorMessage:i.error.error_message});return structuredClone(i.get_byte_buffer())}(t);const o=await Ut(n.data.url,n.data);if(e.dataModel){const t=await Yt(o,e.dataModel);return new oe({resultRowsStream:t.readableStream,resultHeader:t.resultHeader})}throw new u.A("knowledge-graph:undefined-data-model","The KnowledgeGraph supplied did not have a data model")},fetchClientDataAtKeys:async(e,t,r={ignoreCache:!1})=>{if(!t.length)return new Map;let i=bt.get(e.url||"");i||(i=new Map,bt.set(e.url||"",i));const n=new Map(i.entries()),o=`${e.url}/clientData/fetch`;t=Array.from(new Set(t));const s=await(0,ke.I)(),a=function(e,t,r,i=!1){const n=new r.ClientDataFetchRequestEncoder;n.deleteLater();for(const o of e){const e=Ae(o,t,r,i);n.add_client_data_fetch_request_parameter(e)}n.encode();const o=n.get_encoding_result();return Se(o.error,"knowledge-graph:fetchClientDataAtKeys-encoding-failed","Attempting to encode the fetchClientDataAtKeys failed"),structuredClone(o.get_byte_buffer())}(t,i,s,r.ignoreCache),l=await Jt(o,r.requestOptions);l.data.body=a;const d=await Ut(l.data.url,l.data),p=d.headers.get("content-type");if(p?.includes("application/x-protobuf")){const e=new s.ClientDataFetchResponseDecoder;e.deleteLater();const t=await d.arrayBuffer();return e.decode(new Uint8Array(t)),e.has_error()&&Se(e.error,"knowledge-graph:fetchClientDataAtKeys-decoding-error","An error occurred while decoding the client data keys response"),function(e,t,r,i=!1){const n=new Map;for(let o=0;o<e.get_results_count();o++){const s=e.get_result_at(o);if(s.get_fetch_result_case().value!==De.ClientDataValue||0!==s.error().error_code){const e=s.get_key().key_string;r.has(e)&&t.delete(e);continue}const a=s.get_value(),l=s.get_key().key_string,u=r.get(l);let d;if(a.get_data_case().value===Ne.NotModified&&u)d=u.value;else{if(a.get_data_case().value!==Ne.ClientData)continue;{d=a.get_data().client_data_string;const e=s.get_value().get_v_tag().v_tag;i||t.set(l,{key:l,version:e,value:d})}}n.set(l,d)}return n}(e,i,n,r.ignoreCache)}throw new u.A("knowledge-graph:unexpected-server-response","server returned an unexpected response when fetching client data",{responseType:p,data:d})},fetchAllClientDataKeys:async(e,t)=>{const r=`${e.url}/clientData`,i=await(0,l.A)(r,{responseType:"array-buffer",query:{f:"pbf"},signal:t?.signal,timeout:t?.timeout}),n=i.getHeader?.("content-type"),o=i.data;if(n?.includes("application/x-protobuf")){const e=new((await(0,ke.I)()).ClientDataKeysResponseDecoder);return e.deleteLater(),e.decode(new Uint8Array(o)),e.has_error()&&Se(e.error,"knowledge-graph:fetchAllClientDataKeys-decoding-error","An error occurred while decoding the client data keys response"),function(e){const t=e.get_keys(),r=new Array;for(let e=0;e<t.get_keys_count();e++){const i=t.get_key_at(e);i.get_client_data_key_type().value===Ee.ClientDataKeyTypeString&&r.push(i.key_string)}return r}(e)}throw new u.A("knowledge-graph:unexpected-server-response","server returned an unexpected response",{responseType:n,data:i.data})},clearClientDataCache:()=>bt.clear(),_fetchWrapper:async(e,t)=>fetch(e,t),_submitJobWrapper:async(e,t,r,i)=>async function(e,t,r,i){return r=T.from(r||{}),async function(e,t,r,i,n){const o={},s={},a=[];return function(e,t,r){for(const i in e){const n=e[i];if(n&&"object"==typeof n&&n instanceof x.A){const{features:e}=n;r[i]=[t.length,t.length+e.length],e.forEach((e=>{t.push(e.geometry)}))}}}(i,a,o),(0,b.el)(a).then((a=>{const{outSpatialReference:u,processExtent:d,processSpatialReference:p,returnColumnName:c,returnFeatureCollection:y,returnM:h,returnZ:f}=r,{path:m}=(0,R.Dl)(e);for(const e in o){const[t,r]=o[e];s[e]=a.slice(t,r)}const g=u?u.wkid||u:null,_=p?p.wkid||p:null,w="execute"===t?{returnColumnName:c||void 0,returnFeatureCollection:y||void 0,returnM:h||void 0,returnZ:f||void 0}:null,v=B({...d?{context:{extent:d,outSR:g,processSR:_}}:{"env:outSR":g,"env:processSR":_},...i,...w,f:"json"},null,s),T={...n,query:v};return(0,l.A)(`${m}/${t}`,T)}))}(e,"submitJob",r,t??{},i).then((({data:t})=>{const r=X.fromJSON(t);return r.sourceUrl=e,r}))}(e,t,r,i),_esriRequestWrapper:async(e,t)=>(0,l.A)(e,t)};async function At(e,t,r){return St.executeApplyEdits(e,t,r)}async function Pt(e,t,r){return St.executeQuery(e,t,r)}async function Rt(e,t,r){return St.executeQueryStreaming(e,t,r)}async function Gt(e,t,r){return St.executeSearch(e,t,r)}async function Et(e,t,r){return St.executeSearchStreaming(e,t,r)}function It(e,t){return St.fetchAllClientDataKeys(e,t)}function Nt(e,t,r){return St.fetchClientDataAtKeys(e,t,r)}async function Dt(e){return St.fetchKnowledgeGraph(e)}async function kt(e){return St.refreshDataModel(e)}async function xt(e){return St.refreshServiceDefinition(e)}async function Ot(e,t){return St.executeFindPathsAsynchronous(e,t)}async function jt(e,t){return St.executeFindPaths(e,t)}async function Ct(e,t){return St.fetchAsynchronousFindPathsResultData(e,t)}function Ft(){return St.clearClientDataCache()}async function Ut(e,t){return St._fetchWrapper(e,t)}async function Zt(e,t,r,i){return St._submitJobWrapper(e,t,r,i)}async function qt(e,t){return St._esriRequestWrapper(e,t)}async function Lt(e){const t=s.id?.findCredential(e.url);t||(e.dataModel?await Vt(e):await kt(e))}function zt(e,t,r,i){null==t?r.set_param_key_value(e,""):"object"!=typeof t||t instanceof Date?r.set_param_key_value(e,t):t instanceof c.A?r.set_param_key_value(e,Ze(t,i)):Array.isArray(t)?r.set_param_key_value(e,Fe(t,i)):r.set_param_key_value(e,Ue(t,i))}async function Jt(e,t){return(0,l.A)(e,{responseType:"native-request-init",method:"post",query:{f:"pbf",...t?.query},body:"x",headers:{"Content-Type":"application/octet-stream"},signal:t?.signal,timeout:t?.timeout})}let Kt=50;function $t(e){Kt=e}function Bt({wasmQueryDecoder:e,newArrayBufferToParse:t,dataModel:r,decodedHeader:i,limitMaxProcessingTime:n=!1}){t&&e.push_buffer(new Uint8Array(t));const o=[];let s,a,l=0;const d=Date.now();let p=!0;for(;e.next_row();){s&&a||(s=i??wt(e),a=s.outSpatialReference??new y.A({wkid:4326})),l||(l=e.get_header_keys().size());const t=new Array(l);for(let i=0;i<l;i++){const n=e.get_value(i);t[i]=ft(n,r,a)}if(o.push(t),n&&Date.now()-d>Kt){p=!1;break}}if(e.has_error())throw new u.A("knowledge-graph:stream-decoding-error","One or more result rows were not successfully decoded - inner row decoding",{errorCode:e.error.error_code,errorMessage:e.error.error_message});return{resultHeader:s,resultRows:o,parsedAllResultsFromBuffer:p}}async function Yt(e,t){const i=e.headers.get("content-type");if(e.headers.get("content-length")&&d.A.getLogger("esri.rest.knowledgeGraph.knowledgeGraphService").warnOnce("Found `Content-Length` header when expecting a streaming HTTP response! Please investigate whether all intermediate HTTP proxies and/or load balancers are configured such that they don't forcefully buffer the entire response before returning it to the client. A valid HTTP streaming response should use Chunked Transfer Encoding and not have a Content Length defined."),i?.includes("application/x-protobuf")){const i=e.body?.getReader(),o=new((await(0,ke.I)()).GraphQueryDecoder);let s,l,d;o.deleteLater();const p=new Promise(((e,t)=>{l=e,d=t}));let c=!1,y=null;const h=new ReadableStream({pull:async function e(p){if(!i){const e=new u.A("knowledge-graph:stream-decoding-error","Error reading from stream - reader is undefined");throw d(e),e}const{done:h,value:f}=y?{done:!1,value:null}:await i.read().catch((e=>{throw d(e),i.releaseLock(),e}));f&&(y=f);try{if(h){let e;if(o.has_error()?e=new u.A("knowledge-graph:stream-decoding-error","One or more result rows were not successfully decoded - query stream done",{errorCode:o.error.error_code,errorMessage:o.error.error_message}):c||l(new te),i.releaseLock(),e)throw p.error(e),d(e),e;return void p.close()}const{resultHeader:r,resultRows:n,parsedAllResultsFromBuffer:a}=Bt({wasmQueryDecoder:o,newArrayBufferToParse:f,dataModel:t,decodedHeader:s,limitMaxProcessingTime:!0});return a&&(y=null),!s&&r&&(s=r,l(r),c=!0),n.length>0?void p.enqueue(n):await e(p)}catch(e){throw a.getLogger("esri.rest.knowledgeGraph.knowledgeGraphService").error(e),d(e),i.releaseLock(),n(e)?e:new r("knowledge-graph:unexpected-server-response","Error inside streaming data return parsing",{error:e})}}});return{readableStream:h,resultHeader:await p}}throw new u.A("knowledge-graph:unexpected-server-response","server returned an unexpected response",{responseType:i,data:e.text()})}async function Vt(e){const t=`${e.url}/dataModel/queryDataModel`,r=await(0,l.A)(t,{responseType:"array-buffer",query:{f:"pbf"}}),i=r.getHeader?.("content-type"),n=r.data;if(i?.includes("application/x-protobuf")){const e=(await(0,ke.I)()).decode_data_model_from_protocol_buffer(new Uint8Array(n));if(!e)throw new u.A("knowledge-graph:data-model-decode-failure","The server responded to the data model query, but the response failed to be decoded. This typically occurs when the Knowledge JS API (4.26 or later) is used with an unsupported backend (11.0 or earlier)");return function(e){e.deleteLater(),Be=!1;const t=new we({timestamp:e.timestamp,spatialReference:new y.A(e.spatial_reference),strict:e.strict,objectIdField:e.objectid_property,globalIdField:e.globalid_property,arcgisManaged:e.arcgis_managed,identifierInfo:{identifierMappingInfo:{identifierInfoType:$e.vy[e.identifier_info?.identifier_mapping_info?.identifier_info_type?.value],databaseNativeIdentifier:e.identifier_info?.identifier_mapping_info?.database_native_identifier,uniformPropertyIdentifier:{identifierPropertyName:e.identifier_info?.identifier_mapping_info?.uniform_property_identifier?.identifier_property_name}},identifierGenerationInfo:{uuidMethodHint:$e.wr[e.identifier_info?.identifier_generation_info?.uuid_method_hint?.value]}},searchIndexes:st(e.search_indexes),entityTypes:et(e.entity_types),relationshipTypes:nt(e.relationship_types),metaEntityTypes:et(e.meta_entity_types),provenanceSourceTypeValues:ot(e.provenance_source_type_values.value_behavior_array)});return Be&&d.A.getLogger("esri.rest.knowledgeGraph.knowledgeGraphService").warnOnce("A big integer field was detected in the retrieved data model. The `big-integer` field type is not fully supported in web clients. Please see https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html#type"),t}(e)}throw new u.A("knowledge-graph:unexpected-server-response","server returned an unexpected response",{responseType:i,data:r.data})}}}]);