@arcgis/core 5.0.0-next.83 → 5.0.0-next.85

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 (914) hide show
  1. package/WebDocument2D.d.ts +3 -2
  2. package/WebDocument2D.js +1 -1
  3. package/WebScene.d.ts +3 -2
  4. package/WebScene.js +1 -1
  5. package/applications/Components/applySetUtils.d.ts +237 -0
  6. package/applications/Components/applySetUtils.js +5 -0
  7. package/applications/Components/editUtils.d.ts +92 -0
  8. package/applications/Components/editUtils.js +5 -0
  9. package/applications/Components/symbolUtils.d.ts +37 -0
  10. package/applications/Components/symbolUtils.js +5 -0
  11. package/applications/Components/templateUtils.d.ts +106 -0
  12. package/applications/Components/templateUtils.js +5 -0
  13. package/applications/SceneViewer/layerUtils.d.ts +3 -2
  14. package/applications/SceneViewer/layerUtils.js +1 -1
  15. package/assets/esri/core/workers/RemoteClient.js +1 -1
  16. package/assets/esri/core/workers/chunks/001fd3d30e5bb0d180c6.js +1 -0
  17. package/assets/esri/core/workers/chunks/0057d3a9522188090536.js +1 -0
  18. package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js +2 -0
  19. package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js.LICENSE.txt → 008a555ce169640e2a35.js.LICENSE.txt} +1 -1
  20. package/assets/esri/core/workers/chunks/00e135dc1b4cb024973d.js +1 -0
  21. package/assets/esri/core/workers/chunks/03da31c7635d077e8d99.js +1 -0
  22. package/assets/esri/core/workers/chunks/0402b7996940ba0f8cc8.js +2 -0
  23. package/assets/esri/core/workers/chunks/{73c416ae0ec5a1815591.js.LICENSE.txt → 0402b7996940ba0f8cc8.js.LICENSE.txt} +1 -1
  24. package/assets/esri/core/workers/chunks/04fddd41a8e6a4c1bc57.js +1 -0
  25. package/assets/esri/core/workers/chunks/055aead7135a2f8bca29.js +1 -0
  26. package/assets/esri/core/workers/chunks/05a75878baca3a04fee9.js +1 -0
  27. package/assets/esri/core/workers/chunks/05aa22778a85624cfa55.js +1 -0
  28. package/assets/esri/core/workers/chunks/06493efc57cbfbda050a.js +1 -0
  29. package/assets/esri/core/workers/chunks/0674ae3741bc99325879.js +1 -0
  30. package/assets/esri/core/workers/chunks/07c5a9e8f48b3c806ac7.js +1 -0
  31. package/assets/esri/core/workers/chunks/0889e3d1a034be031c9e.js +2 -0
  32. package/assets/esri/core/workers/chunks/{43e2c1d72cd9c8beed2f.js.LICENSE.txt → 0889e3d1a034be031c9e.js.LICENSE.txt} +1 -1
  33. package/assets/esri/core/workers/chunks/0abb084b8a137f4fcdfc.js +1 -0
  34. package/assets/esri/core/workers/chunks/0b0545538ce355cace52.js +1 -0
  35. package/assets/esri/core/workers/chunks/0c13591347d51d684561.js +1 -0
  36. package/assets/esri/core/workers/chunks/0e7daf348c3e4681dd44.js +1 -0
  37. package/assets/esri/core/workers/chunks/10a5bf887132821beaf0.js +1 -0
  38. package/assets/esri/core/workers/chunks/10b32aff749d3459ddcd.js +1 -0
  39. package/assets/esri/core/workers/chunks/114aecdbd2bd92b24de2.js +1 -0
  40. package/assets/esri/core/workers/chunks/14f8215ab716c6d9d5f8.js +1 -0
  41. package/assets/esri/core/workers/chunks/156c73a948bde11f0d53.js +1 -0
  42. package/assets/esri/core/workers/chunks/165cf8031af160c99d70.js +1 -0
  43. package/assets/esri/core/workers/chunks/1779e6eabc299831fc9f.js +1 -0
  44. package/assets/esri/core/workers/chunks/181fab86394f1f912490.js +1 -0
  45. package/assets/esri/core/workers/chunks/185c97bc63ce546995ce.js +1 -0
  46. package/assets/esri/core/workers/chunks/18cdd268fc921ffd92e2.js +1 -0
  47. package/assets/esri/core/workers/chunks/1a13b472e0cf9f88e8de.js +1 -0
  48. package/assets/esri/core/workers/chunks/1a41c9127ca5a260d5ef.js +1 -0
  49. package/assets/esri/core/workers/chunks/1a62c456e791c82050fe.js +1 -0
  50. package/assets/esri/core/workers/chunks/1c05906d1b5b92441c9b.js +1 -0
  51. package/assets/esri/core/workers/chunks/1cf289446619645487b6.js +1 -0
  52. package/assets/esri/core/workers/chunks/1e318e5cf417c8f13bc7.js +1 -0
  53. package/assets/esri/core/workers/chunks/1eb6f210ae69c317e1f6.js +1 -0
  54. package/assets/esri/core/workers/chunks/1facc1b45345a095b9a7.js +1 -0
  55. package/assets/esri/core/workers/chunks/1fe1a131be1d5e1e23ed.js +1 -0
  56. package/assets/esri/core/workers/chunks/21739c37160061f229ef.js +1 -0
  57. package/assets/esri/core/workers/chunks/22b1543b1a39db9acfc3.js +1 -0
  58. package/assets/esri/core/workers/chunks/249bc4abaa6482aaf288.js +1 -0
  59. package/assets/esri/core/workers/chunks/25a9ae17dc2ef44a4481.js +1 -0
  60. package/assets/esri/core/workers/chunks/25dead73dfc5a4c19285.js +1 -0
  61. package/assets/esri/core/workers/chunks/2767b69085c9f7a1e1af.js +1 -0
  62. package/assets/esri/core/workers/chunks/286a45e9aec0b2bf32ef.js +1 -0
  63. package/assets/esri/core/workers/chunks/289681e94e93dc1d3512.js +1 -0
  64. package/assets/esri/core/workers/chunks/2a81f08de9d642485669.js +1 -0
  65. package/assets/esri/core/workers/chunks/2b2283f1ee4bfc1baa18.js +1 -0
  66. package/assets/esri/core/workers/chunks/2bb82ae3ada57c066fdf.js +1 -0
  67. package/assets/esri/core/workers/chunks/2bdd28b4b5ef2c1e111f.js +1 -0
  68. package/assets/esri/core/workers/chunks/2c8b4d54ecf6ea2fecb1.js +1 -0
  69. package/assets/esri/core/workers/chunks/2ce845c990bb4d701362.js +1 -0
  70. package/assets/esri/core/workers/chunks/2f20cca2c5c058afc9af.js +1 -0
  71. package/assets/esri/core/workers/chunks/301fa6276f4098521106.js +1 -0
  72. package/assets/esri/core/workers/chunks/304ea784c28dc78e5e65.js +1 -0
  73. package/assets/esri/core/workers/chunks/3087910d19959fdc546b.js +1 -0
  74. package/assets/esri/core/workers/chunks/30cfa41017c2d434a89f.js +1 -0
  75. package/assets/esri/core/workers/chunks/33257fbd724ae188e259.js +1 -0
  76. package/assets/esri/core/workers/chunks/338768f94cc49559b209.js +1 -0
  77. package/assets/esri/core/workers/chunks/34073c8e4fc825f060f1.js +1 -0
  78. package/assets/esri/core/workers/chunks/34503f9b26c81e631174.js +1 -0
  79. package/assets/esri/core/workers/chunks/348560f083350ad0bf2e.js +1 -0
  80. package/assets/esri/core/workers/chunks/3606fc5537c4d11b9554.js +1 -0
  81. package/assets/esri/core/workers/chunks/3628e82707e7720c9e4c.js +1 -0
  82. package/assets/esri/core/workers/chunks/36b053decb87c9d32cd2.js +1 -0
  83. package/assets/esri/core/workers/chunks/37f5687dc1147b0a7bc1.js +1 -0
  84. package/assets/esri/core/workers/chunks/380a9b6d75992d6311c3.js +1 -0
  85. package/assets/esri/core/workers/chunks/3849dc35941e569fae5f.js +1 -0
  86. package/assets/esri/core/workers/chunks/388bd41c305d5a11f739.js +1 -0
  87. package/assets/esri/core/workers/chunks/389e2263a540f819d842.js +1 -0
  88. package/assets/esri/core/workers/chunks/38ca539f33e2d977771c.js +1 -0
  89. package/assets/esri/core/workers/chunks/39e1b04444389d2987be.js +1 -0
  90. package/assets/esri/core/workers/chunks/3ad7ec46adecf00ae1c2.js +1 -0
  91. package/assets/esri/core/workers/chunks/3aeb3e8220e7d9869652.js +1 -0
  92. package/assets/esri/core/workers/chunks/3afc221b3a9e209cceea.js +1 -0
  93. package/assets/esri/core/workers/chunks/3b67aa46a60e35469bf8.js +1 -0
  94. package/assets/esri/core/workers/chunks/3b6fc34b6d92eef030e5.js +1 -0
  95. package/assets/esri/core/workers/chunks/3bb28b59614fc36b2c50.js +1 -0
  96. package/assets/esri/core/workers/chunks/3eeaec74871e20b433d2.js +1 -0
  97. package/assets/esri/core/workers/chunks/418a778a4cbbb9dabecd.js +1 -0
  98. package/assets/esri/core/workers/chunks/42444285fd79a8d8e564.js +1 -0
  99. package/assets/esri/core/workers/chunks/428ca5900d882d7be499.js +1 -0
  100. package/assets/esri/core/workers/chunks/436c15ac34a205a13a37.js +1 -0
  101. package/assets/esri/core/workers/chunks/43e9eaedf65921b58eb2.js +1 -0
  102. package/assets/esri/core/workers/chunks/4487cf21fa9f0466450d.js +1 -0
  103. package/assets/esri/core/workers/chunks/45dbdf2ff95f7be1eb88.js +1 -0
  104. package/assets/esri/core/workers/chunks/4756f0dbbda129c760b1.js +1 -0
  105. package/assets/esri/core/workers/chunks/4a0760571ce536fbd8c8.js +1 -0
  106. package/assets/esri/core/workers/chunks/4b09d92c51c4619b548a.js +1 -0
  107. package/assets/esri/core/workers/chunks/4b24f72b56edc28bb15e.js +1 -0
  108. package/assets/esri/core/workers/chunks/4bb0c3b009493ea44632.js +1 -0
  109. package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js → 4c07b2d1a14906371fc5.js} +2 -2
  110. package/assets/esri/core/workers/chunks/{6be530ab81291745485b.js.LICENSE.txt → 4c07b2d1a14906371fc5.js.LICENSE.txt} +1 -1
  111. package/assets/esri/core/workers/chunks/4c0e0beb1534d81ff648.js +1 -0
  112. package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +1 -0
  113. package/assets/esri/core/workers/chunks/4caec60ac0a5851730c6.js +1 -0
  114. package/assets/esri/core/workers/chunks/4db259316b193fcc4541.js +1 -0
  115. package/assets/esri/core/workers/chunks/4f132d758f8b4795c43f.js +1 -0
  116. package/assets/esri/core/workers/chunks/4f4bdf9f5323fa702e6c.js +1 -0
  117. package/assets/esri/core/workers/chunks/4f53071b5eb23d4478c4.js +1 -0
  118. package/assets/esri/core/workers/chunks/4f8895eb57ec6ab4b318.js +1 -0
  119. package/assets/esri/core/workers/chunks/4ff3c03cfbec928c0720.js +1 -0
  120. package/assets/esri/core/workers/chunks/504ab6bf7bfbfd4c4211.js +1 -0
  121. package/assets/esri/core/workers/chunks/5119e3159617b8e1ea13.js +1 -0
  122. package/assets/esri/core/workers/chunks/52684c2abc9e8ce793cf.js +1 -0
  123. package/assets/esri/core/workers/chunks/5298f99c197c8607a690.js +1 -0
  124. package/assets/esri/core/workers/chunks/52ae2073604deef63ea2.js +1 -0
  125. package/assets/esri/core/workers/chunks/532935f420ed5f13c011.js +1 -0
  126. package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +1 -0
  127. package/assets/esri/core/workers/chunks/53a1c6e008287d1f12f0.js +1 -0
  128. package/assets/esri/core/workers/chunks/53d0b870c080236d82d1.js +1 -0
  129. package/assets/esri/core/workers/chunks/5543de9a0435c319f4f9.js +301 -0
  130. package/assets/esri/core/workers/chunks/55bf39611ae6028131a3.js +1 -0
  131. package/assets/esri/core/workers/chunks/5659e221e8805bb81210.js +1 -0
  132. package/assets/esri/core/workers/chunks/568fc92333a9ab1c06e6.js +1 -0
  133. package/assets/esri/core/workers/chunks/56bbd86b804cb2a59031.js +1 -0
  134. package/assets/esri/core/workers/chunks/57a749804da9a2b1fae9.js +1 -0
  135. package/assets/esri/core/workers/chunks/59d3f3fbae775fd7686e.js +1 -0
  136. package/assets/esri/core/workers/chunks/59e7a0215791b2b51180.js +1 -0
  137. package/assets/esri/core/workers/chunks/5a706eecd8a988fae6b7.js +1 -0
  138. package/assets/esri/core/workers/chunks/5b278b9980752ef495a2.js +1 -0
  139. package/assets/esri/core/workers/chunks/5b3bb636e3bec625e515.js +1 -0
  140. package/assets/esri/core/workers/chunks/5ba2bbbb42ef1920579d.js +1 -0
  141. package/assets/esri/core/workers/chunks/5cc731f161012b63c77a.js +1 -0
  142. package/assets/esri/core/workers/chunks/5eee48b02e1683f022df.js +2 -0
  143. package/assets/esri/core/workers/chunks/{0b7bbdc0d71ee6721751.js.LICENSE.txt → 5eee48b02e1683f022df.js.LICENSE.txt} +1 -1
  144. package/assets/esri/core/workers/chunks/5fa8fe6353dbdda0b06a.js +1 -0
  145. package/assets/esri/core/workers/chunks/5fc6cada83bf8462d54c.js +1 -0
  146. package/assets/esri/core/workers/chunks/6107b58457a70c8de9da.js +1 -0
  147. package/assets/esri/core/workers/chunks/63e930e76a181d54786d.js +1 -0
  148. package/assets/esri/core/workers/chunks/63ee7aa1b169dbec1e37.js +1 -0
  149. package/assets/esri/core/workers/chunks/6440d78ed2af2e7265aa.js +1 -0
  150. package/assets/esri/core/workers/chunks/645e086291b04bc036d7.js +1 -0
  151. package/assets/esri/core/workers/chunks/654eef3ad30f34c42e12.js +1 -0
  152. package/assets/esri/core/workers/chunks/681d9a923c0d1ace86e8.js +1 -0
  153. package/assets/esri/core/workers/chunks/68abe4e70ea48e978642.js +1 -0
  154. package/assets/esri/core/workers/chunks/6a083fde0e207625fd0b.js +1 -0
  155. package/assets/esri/core/workers/chunks/6bc7bacf01328ef10ff1.js +1 -0
  156. package/assets/esri/core/workers/chunks/6bcf5d6792e4f09cbc7b.js +1 -0
  157. package/assets/esri/core/workers/chunks/6d7eb784988ee9a33473.js +1 -0
  158. package/assets/esri/core/workers/chunks/6de843d1809cba61ded3.js +1 -0
  159. package/assets/esri/core/workers/chunks/6e04303500a9fbc3f14a.js +1 -0
  160. package/assets/esri/core/workers/chunks/6edcae8ec128c2e86a05.js +1 -0
  161. package/assets/esri/core/workers/chunks/6eeee6e278b5f516d1d2.js +1 -0
  162. package/assets/esri/core/workers/chunks/701775be0dad640a72b4.js +1 -0
  163. package/assets/esri/core/workers/chunks/70df4331ed29d823bf38.js +1 -0
  164. package/assets/esri/core/workers/chunks/7130b09300032d3a5925.js +1 -0
  165. package/assets/esri/core/workers/chunks/72f0e2e5dcddafa2a642.js +1 -0
  166. package/assets/esri/core/workers/chunks/73c87eb9bd8f0f848481.js +1 -0
  167. package/assets/esri/core/workers/chunks/746190bb70aa78ba0bfc.js +1039 -0
  168. package/assets/esri/core/workers/chunks/75d7290c73bb59f2c856.js +1 -0
  169. package/assets/esri/core/workers/chunks/780a1eba9a7f1ca690ce.js +1 -0
  170. package/assets/esri/core/workers/chunks/7815dbf49ef5a06705f3.js +1 -0
  171. package/assets/esri/core/workers/chunks/7892daeed58778453639.js +1 -0
  172. package/assets/esri/core/workers/chunks/7990c828447bc3a29965.js +1 -0
  173. package/assets/esri/core/workers/chunks/799829d0ae17c146196b.js +1 -0
  174. package/assets/esri/core/workers/chunks/7a1ec6ac88d974cc5074.js +1 -0
  175. package/assets/esri/core/workers/chunks/7a31717dafbd820bc2bf.js +1 -0
  176. package/assets/esri/core/workers/chunks/7d76a2245ac973efe1ed.js +1 -0
  177. package/assets/esri/core/workers/chunks/7f76566d9b3801742387.js +1 -0
  178. package/assets/esri/core/workers/chunks/7f7c4ffbdf7b20dc7a54.js +1 -0
  179. package/assets/esri/core/workers/chunks/8008bca4ef04c9424579.js +1 -0
  180. package/assets/esri/core/workers/chunks/815a25a5a8dba7921f8b.js +1 -0
  181. package/assets/esri/core/workers/chunks/8184c34b2c4969f14f3d.js +1 -0
  182. package/assets/esri/core/workers/chunks/81e395a93c67749c6487.js +1 -0
  183. package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +1 -0
  184. package/assets/esri/core/workers/chunks/83ddc0f6bfe68756f26f.js +1 -0
  185. package/assets/esri/core/workers/chunks/841058de8bc6e328fd68.js +1 -0
  186. package/assets/esri/core/workers/chunks/84a4390b1c277c415d44.js +1 -0
  187. package/assets/esri/core/workers/chunks/854adab6a06af861c104.js +1 -0
  188. package/assets/esri/core/workers/chunks/8765fe036d9664c25b1d.js +37 -0
  189. package/assets/esri/core/workers/chunks/88c3b60b403e2454b56e.js +1 -0
  190. package/assets/esri/core/workers/chunks/8a0a13f398ab488dbbe9.js +1 -0
  191. package/assets/esri/core/workers/chunks/8b1fa59d436e2815b2f1.js +2 -0
  192. package/assets/esri/core/workers/chunks/{25f3ee666f545a7a7993.js.LICENSE.txt → 8b1fa59d436e2815b2f1.js.LICENSE.txt} +1 -1
  193. package/assets/esri/core/workers/chunks/8cb13b3776f07536c79f.js +1 -0
  194. package/assets/esri/core/workers/chunks/{51093e552e31344cefa5.js → 8d9ec752136cbc5cb29a.js} +1 -1
  195. package/assets/esri/core/workers/chunks/8deae3a426eceae73186.js +1 -0
  196. package/assets/esri/core/workers/chunks/8f4ca0dfd9635eb10e02.js +1 -0
  197. package/assets/esri/core/workers/chunks/8faa0122d0a6e2e39153.js +1 -0
  198. package/assets/esri/core/workers/chunks/913c417ad278ce1caaf9.js +1 -0
  199. package/assets/esri/core/workers/chunks/9184089e72c24d91d23b.js +1 -0
  200. package/assets/esri/core/workers/chunks/91e307ca0d11804a7a1d.js +2 -0
  201. package/assets/esri/core/workers/chunks/9264cce4699284eae97c.js +2 -0
  202. package/assets/esri/core/workers/chunks/{37002a46f03a9fc5f644.js.LICENSE.txt → 9264cce4699284eae97c.js.LICENSE.txt} +1 -1
  203. package/assets/esri/core/workers/chunks/9279a5361bf6a54784ef.js +1 -0
  204. package/assets/esri/core/workers/chunks/92a42bbb8b9b39f3211c.js +1 -0
  205. package/assets/esri/core/workers/chunks/934ce3f004c54d542d2c.js +1 -0
  206. package/assets/esri/core/workers/chunks/93caf6fb8afab3dd8a46.js +1 -0
  207. package/assets/esri/core/workers/chunks/95e93884b39ca4b312d1.js +2 -0
  208. package/assets/esri/core/workers/chunks/{5b9f2aa3ba1bf12c3240.js.LICENSE.txt → 95e93884b39ca4b312d1.js.LICENSE.txt} +1 -1
  209. package/assets/esri/core/workers/chunks/97148a9966f55e69421e.js +1 -0
  210. package/assets/esri/core/workers/chunks/9748b8c35d56a5ee9c64.js +1 -0
  211. package/assets/esri/core/workers/chunks/97ad3eb25ad003c16148.js +1 -0
  212. package/assets/esri/core/workers/chunks/982e709d2cef971ecd82.js +1 -0
  213. package/assets/esri/core/workers/chunks/98e04c2382fa5ba382fc.js +1 -0
  214. package/assets/esri/core/workers/chunks/9919b3c345785e910c38.js +1 -0
  215. package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +1 -0
  216. package/assets/esri/core/workers/chunks/9cd7205bbc711914d74b.js +1 -0
  217. package/assets/esri/core/workers/chunks/9d17524f5f935b7b60bf.js +1 -0
  218. package/assets/esri/core/workers/chunks/9de8149ae0a0726a4ab2.js +1 -0
  219. package/assets/esri/core/workers/chunks/9fac9eda0a41f7f4c2c6.js +1 -0
  220. package/assets/esri/core/workers/chunks/9ff1e650ce0912afa780.js +1 -0
  221. package/assets/esri/core/workers/chunks/a09099697955eb44bfac.js +1 -0
  222. package/assets/esri/core/workers/chunks/a0d52a819302ed6f401e.js +1 -0
  223. package/assets/esri/core/workers/chunks/a1908b3fa61f02425a94.js +1 -0
  224. package/assets/esri/core/workers/chunks/a2046f85b9964693f053.js +1 -0
  225. package/assets/esri/core/workers/chunks/a24627400b3b9fe8431d.js +1 -0
  226. package/assets/esri/core/workers/chunks/a27c74fd2029583de933.js +1 -0
  227. package/assets/esri/core/workers/chunks/a2c0c1bb5e775abefc90.js +1 -0
  228. package/assets/esri/core/workers/chunks/a3184fb1ac7ce9af1a7e.js +1 -0
  229. package/assets/esri/core/workers/chunks/a4ee92867ad5cde25aed.js +1 -0
  230. package/assets/esri/core/workers/chunks/a56a5e00964d4cd59a66.js +1 -0
  231. package/assets/esri/core/workers/chunks/a774b4fc7df801503bea.js +1 -0
  232. package/assets/esri/core/workers/chunks/a9521578c0e21aaddbc7.js +1 -0
  233. package/assets/esri/core/workers/chunks/a9b30c3b604e314f1706.js +1 -0
  234. package/assets/esri/core/workers/chunks/aa0c648bd37787f62b1f.js +1 -0
  235. package/assets/esri/core/workers/chunks/aa1b8c06bdf8453a02d7.js +1 -0
  236. package/assets/esri/core/workers/chunks/aaac4eee709cd6d24910.js +1 -0
  237. package/assets/esri/core/workers/chunks/aafa33f661462f5afd2b.js +1 -0
  238. package/assets/esri/core/workers/chunks/ab3e457c82fa9bd0203f.js +1 -0
  239. package/assets/esri/core/workers/chunks/ac0949ea3d2cf3eb7383.js +1 -0
  240. package/assets/esri/core/workers/chunks/ac5da65af5da254acb16.js +1 -0
  241. package/assets/esri/core/workers/chunks/adecd31fd64d6753682d.js +1 -0
  242. package/assets/esri/core/workers/chunks/ae5798399607cb043ed2.js +1 -0
  243. package/assets/esri/core/workers/chunks/af3d4eba6fe24db3ceba.js +1 -0
  244. package/assets/esri/core/workers/chunks/b1015e1f25b60c08d2cf.js +1 -0
  245. package/assets/esri/core/workers/chunks/b1085fa91724e2d3b24f.js +1 -0
  246. package/assets/esri/core/workers/chunks/b12dc8fd3f2a2ff8073d.js +1 -0
  247. package/assets/esri/core/workers/chunks/b190a776de4859ac00f8.js +1 -0
  248. package/assets/esri/core/workers/chunks/b1c6a1759febad66927f.js +1 -0
  249. package/assets/esri/core/workers/chunks/b482a24c9567d8926897.js +1 -0
  250. package/assets/esri/core/workers/chunks/b48b0f512a1cd7226bdc.js +1 -0
  251. package/assets/esri/core/workers/chunks/b586d7e608e8ba8b88fe.js +1 -0
  252. package/assets/esri/core/workers/chunks/b599c6d4fa3189ed1762.js +1 -0
  253. package/assets/esri/core/workers/chunks/b6acf67316107902e31d.js +1 -0
  254. package/assets/esri/core/workers/chunks/b7576a5195615c465ea7.js +1 -0
  255. package/assets/esri/core/workers/chunks/b7e40118b4d645e9f8e1.js +1 -0
  256. package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +1 -0
  257. package/assets/esri/core/workers/chunks/b91a157fb5f729de6597.js +1 -0
  258. package/assets/esri/core/workers/chunks/b9226dd0342cfd30ece0.js +1 -0
  259. package/assets/esri/core/workers/chunks/b977b9f5f50ae8027443.js +1 -0
  260. package/assets/esri/core/workers/chunks/bab6dee8f4715d05d984.js +1 -0
  261. package/assets/esri/core/workers/chunks/bbb409e54db77bfabdee.js +1 -0
  262. package/assets/esri/core/workers/chunks/bc4f513ea3a8f344c8da.js +1 -0
  263. package/assets/esri/core/workers/chunks/be26f8175a76e7dc8f7a.js +1 -0
  264. package/assets/esri/core/workers/chunks/befedcb6d8d1ff88125f.js +1 -0
  265. package/assets/esri/core/workers/chunks/bf73352b3366de82abbe.js +1 -0
  266. package/assets/esri/core/workers/chunks/c0265669fb616f052b65.js +1 -0
  267. package/assets/esri/core/workers/chunks/c133e57f2201b9bc6cbc.js +1 -0
  268. package/assets/esri/core/workers/chunks/c18a2948ae3cb527d8bb.js +1 -0
  269. package/assets/esri/core/workers/chunks/c2d7b32f0c8eb965fcf7.js +1 -0
  270. package/assets/esri/core/workers/chunks/c45a5bcf26659daf02a1.js +1 -0
  271. package/assets/esri/core/workers/chunks/c46a4681cbba638b58c1.js +1 -0
  272. package/assets/esri/core/workers/chunks/c477b0ce55211339c4cb.js +1 -0
  273. package/assets/esri/core/workers/chunks/c500b59cd7da54fe72ec.js +1 -0
  274. package/assets/esri/core/workers/chunks/c5c1b189b91e199e8b82.js +1 -0
  275. package/assets/esri/core/workers/chunks/c65a138c14a4c540cd3b.js +1 -0
  276. package/assets/esri/core/workers/chunks/c66a9477e1c30a5ca03f.js +1 -0
  277. package/assets/esri/core/workers/chunks/{d79d29b52a65fb6bf94d.js → c71fe727224da0aba6ca.js} +1 -1
  278. package/assets/esri/core/workers/chunks/c741f7bc5693ae7e5019.js +1 -0
  279. package/assets/esri/core/workers/chunks/c75a41a5c8c5bd40ae91.js +1 -0
  280. package/assets/esri/core/workers/chunks/c791e8ebf3ee0805c479.js +1 -0
  281. package/assets/esri/core/workers/chunks/c825ca22894bdb4d01ba.js +1 -0
  282. package/assets/esri/core/workers/chunks/c8f1075c45ecf9fef00f.js +1 -0
  283. package/assets/esri/core/workers/chunks/ca06811e636f1d96f3cb.js +1 -0
  284. package/assets/esri/core/workers/chunks/cb66a74448a6c0c20d5d.js +1 -0
  285. package/assets/esri/core/workers/chunks/cbab45550b06bcc38524.js +1 -0
  286. package/assets/esri/core/workers/chunks/cc2606b8e600eeaf4bc8.js +1 -0
  287. package/assets/esri/core/workers/chunks/cdf711afbaaf345101f0.js +1 -0
  288. package/assets/esri/core/workers/chunks/ce87a6e24e9c64d90da3.js +1 -0
  289. package/assets/esri/core/workers/chunks/ce9467dc1ff695d795e5.js +1 -0
  290. package/assets/esri/core/workers/chunks/d0c831a473642d1bd9d1.js +1 -0
  291. package/assets/esri/core/workers/chunks/d0d6f818851d9a2d7938.js +1 -0
  292. package/assets/esri/core/workers/chunks/d1dd1787b3bf27834a9e.js +1 -0
  293. package/assets/esri/core/workers/chunks/d28169816c768d55aa09.js +1 -0
  294. package/assets/esri/core/workers/chunks/d2d4bce67c711a404b73.js +1 -0
  295. package/assets/esri/core/workers/chunks/d31f62ecbb54bffc54f2.js +1 -0
  296. package/assets/esri/core/workers/chunks/d37f03714c9591fb2b06.js +1 -0
  297. package/assets/esri/core/workers/chunks/d3c69c9cb3d9c3f5c67a.js +1 -0
  298. package/assets/esri/core/workers/chunks/d436e1694f4b5bf05a90.js +1 -0
  299. package/assets/esri/core/workers/chunks/d4770dddfbfdc3845749.js +1 -0
  300. package/assets/esri/core/workers/chunks/d477def8bfd8482596d1.js +1 -0
  301. package/assets/esri/core/workers/chunks/d4c4dad52da5dcf4432c.js +1 -0
  302. package/assets/esri/core/workers/chunks/d4f4c0201d8b641709c0.js +1 -0
  303. package/assets/esri/core/workers/chunks/d525b3fa719a688d4899.js +1 -0
  304. package/assets/esri/core/workers/chunks/d6e11f05db698d14f21d.js +1 -0
  305. package/assets/esri/core/workers/chunks/d7c275717a2405b6ff87.js +1 -0
  306. package/assets/esri/core/workers/chunks/d9d2178d436597b1afaf.js +1 -0
  307. package/assets/esri/core/workers/chunks/da808dfb22c6de29e560.js +1 -0
  308. package/assets/esri/core/workers/chunks/db9a9712038df76e3eda.js +1 -0
  309. package/assets/esri/core/workers/chunks/dd0e65b18c634b64582e.js +1 -0
  310. package/assets/esri/core/workers/chunks/dd30c1f5da0af72becd1.js +1 -0
  311. package/assets/esri/core/workers/chunks/de216922b36267ab4aa1.js +1 -0
  312. package/assets/esri/core/workers/chunks/de6b3f80070abdd61d0f.js +1 -0
  313. package/assets/esri/core/workers/chunks/dea2e8caaf6e53ec56f8.js +1 -0
  314. package/assets/esri/core/workers/chunks/ded589862c22ea12d47a.js +1 -0
  315. package/assets/esri/core/workers/chunks/dedd9d47ccc019ffc484.js +1 -0
  316. package/assets/esri/core/workers/chunks/dfef6e3d7bbf099de498.js +1 -0
  317. package/assets/esri/core/workers/chunks/e1b677a135e164a29605.js +1 -0
  318. package/assets/esri/core/workers/chunks/e201bfe3158c025edc99.js +1 -0
  319. package/assets/esri/core/workers/chunks/e337b8d69d89f597cb58.js +1 -0
  320. package/assets/esri/core/workers/chunks/e370d213c307ad8bfaec.js +1 -0
  321. package/assets/esri/core/workers/chunks/e3a73d9acebccd3ba49b.js +1 -0
  322. package/assets/esri/core/workers/chunks/e43c6058c793d43fa5f3.js +1 -0
  323. package/assets/esri/core/workers/chunks/e462b167841fddaa80b8.js +1 -0
  324. package/assets/esri/core/workers/chunks/e51e35b5cef89b0e0db1.js +1 -0
  325. package/assets/esri/core/workers/chunks/e58ec49a5cd852cb46cb.js +1 -0
  326. package/assets/esri/core/workers/chunks/e7d28ebf684db4ecb8cb.js +1 -0
  327. package/assets/esri/core/workers/chunks/e8f6305744f87bbed961.js +1 -0
  328. package/assets/esri/core/workers/chunks/e9f8115c049f168d3c2b.js +1 -0
  329. package/assets/esri/core/workers/chunks/ea32a8478f3ccb19aced.js +1 -0
  330. package/assets/esri/core/workers/chunks/ea734de7d5271c487171.js +1 -0
  331. package/assets/esri/core/workers/chunks/eb765db525f4e2e2bda2.js +1 -0
  332. package/assets/esri/core/workers/chunks/ebbcd6196ef5c5ab233d.js +1 -0
  333. package/assets/esri/core/workers/chunks/ec00fa313794f177d9d3.js +1 -0
  334. package/assets/esri/core/workers/chunks/ec03d59984782529031a.js +1 -0
  335. package/assets/esri/core/workers/chunks/ec7f4e459c7466805f72.js +1 -0
  336. package/assets/esri/core/workers/chunks/ecf7d34b37ce6f0877af.js +1 -0
  337. package/assets/esri/core/workers/chunks/ed1c92a24a167e57e36e.js +1 -0
  338. package/assets/esri/core/workers/chunks/ed69b19366e3ce5805ac.js +1 -0
  339. package/assets/esri/core/workers/chunks/ee25d1eae52c8be82898.js +1 -0
  340. package/assets/esri/core/workers/chunks/ee905e24320241959965.js +1 -0
  341. package/assets/esri/core/workers/chunks/eea91681bae00819a5e9.js +1 -0
  342. package/assets/esri/core/workers/chunks/eed24607e9b5312b417f.js +1 -0
  343. package/assets/esri/core/workers/chunks/f0eb2bfe5a8607b251f5.js +1 -0
  344. package/assets/esri/core/workers/chunks/f370e60dc81d41368e0c.js +1 -0
  345. package/assets/esri/core/workers/chunks/f3fdf9970b3c7acd071d.js +1 -0
  346. package/assets/esri/core/workers/chunks/f40e413c68d99cf54d42.js +1 -0
  347. package/assets/esri/core/workers/chunks/f5b32bc3f7ee911e3c59.js +1 -0
  348. package/assets/esri/core/workers/chunks/f5dbffd5e8b3c16336a1.js +1 -0
  349. package/assets/esri/core/workers/chunks/f5ed6953a9255f0bed6a.js +2 -0
  350. package/assets/esri/core/workers/chunks/{9ccabf8142fb5de4d3e2.js.LICENSE.txt → f5ed6953a9255f0bed6a.js.LICENSE.txt} +1 -1
  351. package/assets/esri/core/workers/chunks/f627017adc9469144507.js +1 -0
  352. package/assets/esri/core/workers/chunks/f7ad285944e0e5164384.js +1 -0
  353. package/assets/esri/core/workers/chunks/f872d34d4236f8bedbd9.js +1 -0
  354. package/assets/esri/core/workers/chunks/f88adc930506ac2d5c90.js +1 -0
  355. package/assets/esri/core/workers/chunks/f890cfa4932955ecd4e7.js +1 -0
  356. package/assets/esri/core/workers/chunks/fd4bd04f85458cad849c.js +1 -0
  357. package/assets/esri/core/workers/chunks/fe98a068536e904ce257.js +1 -0
  358. package/assets/esri/core/workers/chunks/ffa9cc09e82f2e515993.js +1 -0
  359. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  360. package/assets/esri/themes/base/widgets/_Compass.scss +1 -1
  361. package/assets/esri/themes/base/widgets/_Feature.scss +1 -1
  362. package/assets/esri/themes/base/widgets/_Features.scss +1 -1
  363. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -4
  364. package/assets/esri/themes/base/widgets/_Widget.scss +1 -1
  365. package/assets/esri/themes/dark/main.css +1 -1
  366. package/assets/esri/themes/light/main.css +1 -1
  367. package/assets/esri/themes/light/view.css +1 -1
  368. package/chunks/HUDMaterial.glsl.js +1 -1
  369. package/config.js +1 -1
  370. package/copyright.txt +2 -2
  371. package/core/MultiOriginJSONSupport.d.ts +8 -0
  372. package/core/MultiOriginJSONSupport.js +1 -1
  373. package/core/ReadOnlyMultiOriginJSONSupport.d.ts +40 -0
  374. package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
  375. package/core/WriteableMultiOriginJSONMixin.js +1 -1
  376. package/core/accessorSupport/decorators/subclass.js +1 -1
  377. package/core/accessorSupport/types.d.ts +2 -0
  378. package/editing/sharedTemplates/templateLoader.js +5 -0
  379. package/editing/templateUtils.js +1 -1
  380. package/interfaces.d.ts +6 -0
  381. package/kernel.js +1 -1
  382. package/layers/BingMapsLayer.d.ts +3 -2
  383. package/layers/BingMapsLayer.js +1 -1
  384. package/layers/BuildingSceneLayer.d.ts +3 -2
  385. package/layers/BuildingSceneLayer.js +1 -1
  386. package/layers/CSVLayer.js +1 -1
  387. package/layers/CatalogLayer.d.ts +3 -2
  388. package/layers/CatalogLayer.js +1 -1
  389. package/layers/DimensionLayer.d.ts +3 -2
  390. package/layers/DimensionLayer.js +1 -1
  391. package/layers/ElevationLayer.d.ts +3 -2
  392. package/layers/ElevationLayer.js +1 -1
  393. package/layers/FeatureLayer.d.ts +3 -2
  394. package/layers/FeatureLayer.js +1 -1
  395. package/layers/GaussianSplatLayer.d.ts +3 -2
  396. package/layers/GaussianSplatLayer.js +1 -1
  397. package/layers/GeoJSONLayer.d.ts +3 -2
  398. package/layers/GeoJSONLayer.js +1 -1
  399. package/layers/GeoRSSLayer.d.ts +3 -2
  400. package/layers/GeoRSSLayer.js +1 -1
  401. package/layers/GroupLayer.d.ts +3 -2
  402. package/layers/GroupLayer.js +1 -1
  403. package/layers/ImageryLayer.d.ts +3 -2
  404. package/layers/ImageryLayer.js +1 -1
  405. package/layers/ImageryTileLayer.d.ts +3 -2
  406. package/layers/ImageryTileLayer.js +1 -1
  407. package/layers/IntegratedMesh3DTilesLayer.d.ts +3 -2
  408. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  409. package/layers/IntegratedMeshLayer.d.ts +3 -2
  410. package/layers/IntegratedMeshLayer.js +1 -1
  411. package/layers/KMLLayer.d.ts +3 -2
  412. package/layers/KMLLayer.js +1 -1
  413. package/layers/KnowledgeGraphLayer.d.ts +3 -2
  414. package/layers/KnowledgeGraphLayer.js +1 -1
  415. package/layers/LineOfSightLayer.d.ts +3 -2
  416. package/layers/LineOfSightLayer.js +1 -1
  417. package/layers/LinkChartLayer.d.ts +3 -2
  418. package/layers/LinkChartLayer.js +1 -1
  419. package/layers/MapImageLayer.d.ts +3 -2
  420. package/layers/MapImageLayer.js +1 -1
  421. package/layers/MapNotesLayer.d.ts +3 -2
  422. package/layers/MapNotesLayer.js +1 -1
  423. package/layers/MediaLayer.d.ts +3 -2
  424. package/layers/MediaLayer.js +1 -1
  425. package/layers/OGCFeatureLayer.d.ts +3 -2
  426. package/layers/OGCFeatureLayer.js +1 -1
  427. package/layers/ParquetLayer.d.ts +3 -2
  428. package/layers/ParquetLayer.js +1 -1
  429. package/layers/PointCloudLayer.d.ts +3 -2
  430. package/layers/PointCloudLayer.js +1 -1
  431. package/layers/RouteLayer.d.ts +3 -2
  432. package/layers/RouteLayer.js +1 -1
  433. package/layers/SceneLayer.d.ts +6 -2
  434. package/layers/SceneLayer.js +1 -1
  435. package/layers/StreamLayer.d.ts +3 -2
  436. package/layers/StreamLayer.js +1 -1
  437. package/layers/SubtypeGroupLayer.d.ts +3 -2
  438. package/layers/SubtypeGroupLayer.js +1 -1
  439. package/layers/TileLayer.d.ts +3 -2
  440. package/layers/TileLayer.js +1 -1
  441. package/layers/UnknownLayer.d.ts +3 -2
  442. package/layers/UnknownLayer.js +1 -1
  443. package/layers/UnsupportedLayer.d.ts +3 -2
  444. package/layers/UnsupportedLayer.js +1 -1
  445. package/layers/VectorTileLayer.d.ts +3 -2
  446. package/layers/VectorTileLayer.js +1 -1
  447. package/layers/VideoLayer.d.ts +3 -2
  448. package/layers/VideoLayer.js +1 -1
  449. package/layers/ViewshedLayer.d.ts +3 -2
  450. package/layers/ViewshedLayer.js +1 -1
  451. package/layers/VoxelLayer.d.ts +3 -2
  452. package/layers/VoxelLayer.js +1 -1
  453. package/layers/WCSLayer.d.ts +3 -2
  454. package/layers/WCSLayer.js +1 -1
  455. package/layers/WFSLayer.d.ts +3 -2
  456. package/layers/WFSLayer.js +1 -1
  457. package/layers/WMSLayer.d.ts +3 -2
  458. package/layers/WMSLayer.js +1 -1
  459. package/layers/WMTSLayer.d.ts +3 -2
  460. package/layers/WMTSLayer.js +1 -1
  461. package/layers/WebTileLayer.d.ts +3 -2
  462. package/layers/WebTileLayer.js +1 -1
  463. package/layers/buildingSublayers/BuildingSublayer.d.ts +3 -2
  464. package/layers/buildingSublayers/BuildingSublayer.js +1 -1
  465. package/layers/catalog/CatalogDynamicGroupLayer.d.ts +3 -2
  466. package/layers/catalog/CatalogDynamicGroupLayer.js +1 -1
  467. package/layers/catalog/CatalogFootprintLayer.d.ts +3 -2
  468. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  469. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +3 -2
  470. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  471. package/layers/media/types.d.ts +31 -5
  472. package/layers/mixins/ImageryTileMixin.js +1 -1
  473. package/layers/raster/datasets/FunctionRaster.js +1 -1
  474. package/layers/raster/functions/BaseRasterFunction.js +1 -1
  475. package/layers/raster/functions/StretchFunction.js +1 -1
  476. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  477. package/layers/support/ElevationQuery.js +1 -1
  478. package/layers/support/MediaElementBase.d.ts +5 -3
  479. package/layers/support/MediaElementBase.js +1 -1
  480. package/layers/support/RasterJobHandler.js +1 -1
  481. package/layers/support/RasterWorker.js +1 -1
  482. package/layers/support/Sublayer.d.ts +3 -2
  483. package/layers/support/Sublayer.js +1 -1
  484. package/layers/support/SubtypeSublayer.d.ts +3 -2
  485. package/layers/support/SubtypeSublayer.js +1 -1
  486. package/layers/support/WMSSublayer.d.ts +3 -2
  487. package/layers/support/WMSSublayer.js +1 -1
  488. package/layers/support/layerOriginUtils.js +1 -1
  489. package/linkChart/LinkChartProperties.d.ts +5 -3
  490. package/linkChart/LinkChartProperties.js +1 -1
  491. package/networks/CircuitManager.d.ts +1 -1
  492. package/networks/Network.d.ts +4 -2
  493. package/networks/Network.js +1 -1
  494. package/networks/support/NamedTraceConfiguration.d.ts +5 -3
  495. package/networks/support/NamedTraceConfiguration.js +1 -1
  496. package/networks/support/jsonTypes.d.ts +65 -0
  497. package/package.json +3 -3
  498. package/rest/featureService/types.d.ts +42 -5
  499. package/rest/networks/circuits/exportCircuits.js +1 -1
  500. package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +10 -2
  501. package/rest/networks/circuits/support/ExportCircuitsParameters.js +1 -1
  502. package/rest/support/Query.d.ts +12 -1
  503. package/support/revision.js +1 -1
  504. package/symbols/support/symbolUtils.js +1 -1
  505. package/views/2d/engine/BitmapTileContainer.js +1 -1
  506. package/views/2d/engine/DisplayObject.js +1 -1
  507. package/views/2d/engine/Stage.js +1 -1
  508. package/views/2d/engine/imagery/RasterTileContainer.js +1 -1
  509. package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
  510. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  511. package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
  512. package/views/2d/engine/vectorTiles/decluttering/SymbolFader.js +1 -1
  513. package/views/2d/engine/webgl/RenderingDevice.js +1 -1
  514. package/views/2d/engine/webgl/TileContainer.js +1 -1
  515. package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
  516. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueProgramCache.js +1 -1
  517. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  518. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
  519. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
  520. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
  521. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  522. package/views/2d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles2D.js +1 -1
  523. package/views/2d/layers/TileLayerView2D.js +1 -1
  524. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  525. package/views/2d/layers/features/FeatureContainer.js +1 -1
  526. package/views/2d/layers/features/Processor.js +1 -1
  527. package/views/2d/layers/features/support/Tile.js +1 -1
  528. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  529. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  530. package/views/2d/layers/imagery/VectorFieldTileView2D.js +1 -1
  531. package/views/2d/layers/support/imageUtils.js +1 -1
  532. package/views/2d/tiling/TileCache.js +1 -1
  533. package/views/2d/tiling/TileInfoView.js +1 -1
  534. package/views/2d/tiling/TileInfoViewPOT.js +1 -1
  535. package/views/3d/FocusAreasView.js +1 -1
  536. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  537. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  538. package/views/3d/camera/intersectionUtils.js +1 -1
  539. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  540. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  541. package/views/3d/layers/graphics/ElevationQuery.js +1 -1
  542. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  543. package/views/3d/layers/graphics/extrudeUtils.js +5 -0
  544. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  545. package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
  546. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  547. package/views/interactive/snapping/SelfSnappingEngine.js +1 -1
  548. package/views/interactive/snapping/SnappingContext.js +1 -1
  549. package/widgets/Attribution.d.ts +1 -0
  550. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +18 -0
  551. package/widgets/BatchAttributeForm.d.ts +2 -0
  552. package/widgets/BatchAttributeForm.js +1 -1
  553. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  554. package/widgets/Editor/workflowUtils.js +1 -1
  555. package/widgets/Feature/support/featureUtils.js +1 -1
  556. package/widgets/FeatureForm.js +1 -1
  557. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +43 -4
  558. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  559. package/widgets/FeatureTable/FieldColumn.js +1 -1
  560. package/widgets/FeatureTable/Grid/EditorColumn.js +1 -1
  561. package/widgets/FeatureTable/Grid/types.d.ts +7 -1
  562. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  563. package/widgets/FeatureTable/support/tableUtils.js +1 -1
  564. package/widgets/FeatureTable.d.ts +43 -4
  565. package/widgets/FeatureTable.js +1 -1
  566. package/widgets/Legend/LegendViewModel.d.ts +6 -0
  567. package/widgets/Legend/styles/card/CardView.d.ts +19 -3
  568. package/widgets/Legend/styles/classic/ClassicView.d.ts +1 -0
  569. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  570. package/widgets/Legend.d.ts +15 -0
  571. package/widgets/Search/SearchViewModel.d.ts +5 -0
  572. package/widgets/Search/SearchViewModel.js +1 -1
  573. package/widgets/Search/support/layerSearchUtils.js +1 -1
  574. package/widgets/Search.js +1 -1
  575. package/widgets/smartMapping/BinaryColorSizeSlider.js +1 -1
  576. package/widgets/smartMapping/ClassedColorSlider.js +1 -1
  577. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  578. package/widgets/smartMapping/ClassedSizeSlider.js +1 -1
  579. package/widgets/smartMapping/ColorSizeSlider.js +1 -1
  580. package/widgets/smartMapping/ColorSlider.js +1 -1
  581. package/widgets/smartMapping/OpacitySlider.js +1 -1
  582. package/widgets/smartMapping/SizeSlider.js +1 -1
  583. package/assets/esri/core/workers/chunks/00c77f03dd511c6dbff2.js +0 -1
  584. package/assets/esri/core/workers/chunks/015492d609c28077d66c.js +0 -1
  585. package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +0 -1
  586. package/assets/esri/core/workers/chunks/0429ca6ba562ae29897e.js +0 -1
  587. package/assets/esri/core/workers/chunks/04958494022f82dca473.js +0 -1
  588. package/assets/esri/core/workers/chunks/049c125085028ffdd0dd.js +0 -1
  589. package/assets/esri/core/workers/chunks/05e3bfd07a7a227862fd.js +0 -1
  590. package/assets/esri/core/workers/chunks/095c1b88cdcb91ab837e.js +0 -1
  591. package/assets/esri/core/workers/chunks/09b77f82c22530b44daa.js +0 -1
  592. package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +0 -1
  593. package/assets/esri/core/workers/chunks/0b679d5a1bfdbd006d6e.js +0 -1
  594. package/assets/esri/core/workers/chunks/0b7bbdc0d71ee6721751.js +0 -2
  595. package/assets/esri/core/workers/chunks/0d9e1ccc3ba8b5ed3287.js +0 -1
  596. package/assets/esri/core/workers/chunks/0f4e9846d074864b39c2.js +0 -1
  597. package/assets/esri/core/workers/chunks/0fc22ad791d3ec0a9c5e.js +0 -1
  598. package/assets/esri/core/workers/chunks/1037b38aade2a847bf24.js +0 -1
  599. package/assets/esri/core/workers/chunks/108a4ab28b6586e281d9.js +0 -1
  600. package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +0 -1
  601. package/assets/esri/core/workers/chunks/13137f35b9ab299d07e3.js +0 -1
  602. package/assets/esri/core/workers/chunks/13839d220e5c62404923.js +0 -1
  603. package/assets/esri/core/workers/chunks/1484a7ef4fcbd748b197.js +0 -1
  604. package/assets/esri/core/workers/chunks/14dedd80fb797303f91f.js +0 -1
  605. package/assets/esri/core/workers/chunks/1694b9154df3eccf602e.js +0 -1
  606. package/assets/esri/core/workers/chunks/16a7edb381621085a631.js +0 -1
  607. package/assets/esri/core/workers/chunks/16cfa7031d6dbf5aa09b.js +0 -1
  608. package/assets/esri/core/workers/chunks/18ab5959ebf8689f8fe8.js +0 -1
  609. package/assets/esri/core/workers/chunks/18b0ce0bc2a9737ffb1b.js +0 -1
  610. package/assets/esri/core/workers/chunks/1a6d2f525dd30d08cf9b.js +0 -1
  611. package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +0 -1
  612. package/assets/esri/core/workers/chunks/1c58bd3275c849d44b13.js +0 -1
  613. package/assets/esri/core/workers/chunks/1c742018eb7dfd5d23e3.js +0 -1
  614. package/assets/esri/core/workers/chunks/1dfa949cc4f4c18ed4cf.js +0 -1
  615. package/assets/esri/core/workers/chunks/1e848d9da1c61a27cf18.js +0 -1
  616. package/assets/esri/core/workers/chunks/20f4c6d8b310ecab97be.js +0 -1
  617. package/assets/esri/core/workers/chunks/218b2b767b40d85fb713.js +0 -1
  618. package/assets/esri/core/workers/chunks/22c115ec003351c7d8ee.js +0 -1
  619. package/assets/esri/core/workers/chunks/23545a9adc75564ecf6e.js +0 -1
  620. package/assets/esri/core/workers/chunks/23cf4cbc389d2b50e968.js +0 -1
  621. package/assets/esri/core/workers/chunks/24527b61c8c216becbc4.js +0 -1
  622. package/assets/esri/core/workers/chunks/24dab877047369de13e2.js +0 -1
  623. package/assets/esri/core/workers/chunks/25f3ee666f545a7a7993.js +0 -2
  624. package/assets/esri/core/workers/chunks/29471e0b3f7296dee096.js +0 -1
  625. package/assets/esri/core/workers/chunks/2b27499fa9de22970b7a.js +0 -1
  626. package/assets/esri/core/workers/chunks/2bd59ece927b5c1c9f80.js +0 -1
  627. package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +0 -1
  628. package/assets/esri/core/workers/chunks/2d8b8880e6bff4414e95.js +0 -1
  629. package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +0 -1
  630. package/assets/esri/core/workers/chunks/2e6ae1ca07df442fc966.js +0 -1
  631. package/assets/esri/core/workers/chunks/2e6bd743b88e83d43137.js +0 -1
  632. package/assets/esri/core/workers/chunks/3001568a99fdd14aada9.js +0 -1
  633. package/assets/esri/core/workers/chunks/30dd4a7c93b33988a270.js +0 -1
  634. package/assets/esri/core/workers/chunks/312b3cc1c91d5b419faf.js +0 -1
  635. package/assets/esri/core/workers/chunks/31fa3dd983e9e73fcb65.js +0 -1
  636. package/assets/esri/core/workers/chunks/33a13e80badd20ed8de2.js +0 -1
  637. package/assets/esri/core/workers/chunks/355c8d0eadfff9f62dfb.js +0 -1
  638. package/assets/esri/core/workers/chunks/35c98ea99000f411175f.js +0 -1
  639. package/assets/esri/core/workers/chunks/35e1d0cfc3c5a484422f.js +0 -1
  640. package/assets/esri/core/workers/chunks/360f263f32aa2342a897.js +0 -1
  641. package/assets/esri/core/workers/chunks/369f37060608342a4262.js +0 -1
  642. package/assets/esri/core/workers/chunks/36ecf951c0c7dad84b69.js +0 -1
  643. package/assets/esri/core/workers/chunks/37002a46f03a9fc5f644.js +0 -2
  644. package/assets/esri/core/workers/chunks/37258b702fe06bbcf748.js +0 -1
  645. package/assets/esri/core/workers/chunks/37a3e91791a18ed8b8da.js +0 -1
  646. package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +0 -1
  647. package/assets/esri/core/workers/chunks/3b1982bf7b44ff897a35.js +0 -1
  648. package/assets/esri/core/workers/chunks/3b25f5d9c8f78bb6e011.js +0 -1
  649. package/assets/esri/core/workers/chunks/3c5f07ebe1b09dcdc958.js +0 -1
  650. package/assets/esri/core/workers/chunks/3c66dd52ad156711a6a2.js +0 -1
  651. package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +0 -1
  652. package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +0 -1
  653. package/assets/esri/core/workers/chunks/41f487713c6278d389a1.js +0 -1
  654. package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +0 -1
  655. package/assets/esri/core/workers/chunks/43e2c1d72cd9c8beed2f.js +0 -2
  656. package/assets/esri/core/workers/chunks/44c228388a95fa958827.js +0 -1
  657. package/assets/esri/core/workers/chunks/45a9cd722e98dd1548ae.js +0 -1
  658. package/assets/esri/core/workers/chunks/46daa1ff5b412a97edc9.js +0 -1
  659. package/assets/esri/core/workers/chunks/46e547691bca424f2bc9.js +0 -1
  660. package/assets/esri/core/workers/chunks/4750f55a289bc0cf3d77.js +0 -1
  661. package/assets/esri/core/workers/chunks/47d2103b876b01bc26fd.js +0 -1
  662. package/assets/esri/core/workers/chunks/495af366ec1defd89a72.js +0 -1
  663. package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +0 -1
  664. package/assets/esri/core/workers/chunks/4bcd74951477e8977ba1.js +0 -1
  665. package/assets/esri/core/workers/chunks/4cbe78d6a5ff617e15d6.js +0 -1
  666. package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +0 -1
  667. package/assets/esri/core/workers/chunks/4d5591c1b4ef37075921.js +0 -1
  668. package/assets/esri/core/workers/chunks/4ef97eb67dc42e0052d6.js +0 -1
  669. package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +0 -1
  670. package/assets/esri/core/workers/chunks/4fcf035582fa6e93d264.js +0 -1
  671. package/assets/esri/core/workers/chunks/509307a2ef990ad1da8f.js +0 -301
  672. package/assets/esri/core/workers/chunks/50eb381b18b84b9c75a3.js +0 -1
  673. package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +0 -1
  674. package/assets/esri/core/workers/chunks/52a14266fe239b95c5ce.js +0 -1
  675. package/assets/esri/core/workers/chunks/52bcfb3ea563c1a301d4.js +0 -1
  676. package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +0 -1
  677. package/assets/esri/core/workers/chunks/558822b700e8bd844052.js +0 -1
  678. package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +0 -1
  679. package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +0 -1
  680. package/assets/esri/core/workers/chunks/56569d0c2cf5c5167651.js +0 -1
  681. package/assets/esri/core/workers/chunks/575a33924ec900f9e537.js +0 -1
  682. package/assets/esri/core/workers/chunks/584c4602d97a008afb83.js +0 -1
  683. package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +0 -1
  684. package/assets/esri/core/workers/chunks/590a7fd4f5476224ec89.js +0 -1
  685. package/assets/esri/core/workers/chunks/59a45533e96cedf1c480.js +0 -1
  686. package/assets/esri/core/workers/chunks/5a66b7f1f4da75da8e7f.js +0 -1
  687. package/assets/esri/core/workers/chunks/5b9f2aa3ba1bf12c3240.js +0 -2
  688. package/assets/esri/core/workers/chunks/5bbf20135c87a1cc8a18.js +0 -1
  689. package/assets/esri/core/workers/chunks/5cc217f188fd56006158.js +0 -1
  690. package/assets/esri/core/workers/chunks/5dc2f2e28c30386efadf.js +0 -1
  691. package/assets/esri/core/workers/chunks/5df49e1f283e2e83de46.js +0 -1
  692. package/assets/esri/core/workers/chunks/60764ea501a3a1aacc63.js +0 -1
  693. package/assets/esri/core/workers/chunks/6087d5dc40bb62ec48c8.js +0 -1
  694. package/assets/esri/core/workers/chunks/6094bba52ddada48c7ed.js +0 -1
  695. package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +0 -1
  696. package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +0 -1
  697. package/assets/esri/core/workers/chunks/6387308c4add226e5b83.js +0 -1
  698. package/assets/esri/core/workers/chunks/63b8193ad90b2ebe6884.js +0 -1
  699. package/assets/esri/core/workers/chunks/657602e6a84e8b4576fb.js +0 -1
  700. package/assets/esri/core/workers/chunks/65fd971d0574d69cbc26.js +0 -1
  701. package/assets/esri/core/workers/chunks/679cd6424e0e2d7f372b.js +0 -1
  702. package/assets/esri/core/workers/chunks/6800647240b7968be225.js +0 -1
  703. package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +0 -1
  704. package/assets/esri/core/workers/chunks/680f9c29ca96ea8e01da.js +0 -1
  705. package/assets/esri/core/workers/chunks/68cb43f2fa8cc826e99b.js +0 -1
  706. package/assets/esri/core/workers/chunks/69a68a6d6736c4b97a27.js +0 -1
  707. package/assets/esri/core/workers/chunks/6a3d66d7c92f90cc2a17.js +0 -1
  708. package/assets/esri/core/workers/chunks/6a544fb44f7da0e80f43.js +0 -1
  709. package/assets/esri/core/workers/chunks/6a782e8475bff4d56dbc.js +0 -1
  710. package/assets/esri/core/workers/chunks/6b85a8776ec2beff63cb.js +0 -1
  711. package/assets/esri/core/workers/chunks/6be530ab81291745485b.js +0 -2
  712. package/assets/esri/core/workers/chunks/6d3ae7969ea86a2e0b13.js +0 -1
  713. package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +0 -1
  714. package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +0 -1
  715. package/assets/esri/core/workers/chunks/6ffc1a0400298fca00ee.js +0 -1
  716. package/assets/esri/core/workers/chunks/729c2d26ae23d9c86547.js +0 -1
  717. package/assets/esri/core/workers/chunks/73bee5659414b3687cfc.js +0 -1
  718. package/assets/esri/core/workers/chunks/73c416ae0ec5a1815591.js +0 -2
  719. package/assets/esri/core/workers/chunks/74b825d4f0e7ab567b10.js +0 -1
  720. package/assets/esri/core/workers/chunks/75c66e38bdc1c786c599.js +0 -1
  721. package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +0 -1
  722. package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +0 -1
  723. package/assets/esri/core/workers/chunks/77509bd20ac5bc190c94.js +0 -1039
  724. package/assets/esri/core/workers/chunks/7763cf4a9a4343c28591.js +0 -1
  725. package/assets/esri/core/workers/chunks/7972954801b82e7afc72.js +0 -1
  726. package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +0 -1
  727. package/assets/esri/core/workers/chunks/7bc09e80bf45fe137055.js +0 -1
  728. package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +0 -1
  729. package/assets/esri/core/workers/chunks/7bf30c254228f9b7f224.js +0 -1
  730. package/assets/esri/core/workers/chunks/7bf491b468cd74a4166c.js +0 -1
  731. package/assets/esri/core/workers/chunks/7d631ebf8f79225cf0f6.js +0 -1
  732. package/assets/esri/core/workers/chunks/7d744554d14057d9b2b1.js +0 -1
  733. package/assets/esri/core/workers/chunks/7d8664aeff66e34138bd.js +0 -1
  734. package/assets/esri/core/workers/chunks/7db52d2451494835c160.js +0 -1
  735. package/assets/esri/core/workers/chunks/818b5b8027d6fe8999d6.js +0 -1
  736. package/assets/esri/core/workers/chunks/8195310b4c53db902fc1.js +0 -1
  737. package/assets/esri/core/workers/chunks/82ace0195b63790b22c9.js +0 -1
  738. package/assets/esri/core/workers/chunks/83117d2747bdaf480c7b.js +0 -1
  739. package/assets/esri/core/workers/chunks/83c5dea24e36ac2e3497.js +0 -1
  740. package/assets/esri/core/workers/chunks/84440efe2cc337dab81f.js +0 -1
  741. package/assets/esri/core/workers/chunks/84ec8ea3e40e0864798f.js +0 -1
  742. package/assets/esri/core/workers/chunks/852007720e3bc29532db.js +0 -1
  743. package/assets/esri/core/workers/chunks/85c92726121cb43a2216.js +0 -1
  744. package/assets/esri/core/workers/chunks/86832d94190150c70c11.js +0 -1
  745. package/assets/esri/core/workers/chunks/873008572c1f21cea122.js +0 -2
  746. package/assets/esri/core/workers/chunks/87c6470ee295d736b06d.js +0 -1
  747. package/assets/esri/core/workers/chunks/88379cd8e8e1c7ae3c7c.js +0 -1
  748. package/assets/esri/core/workers/chunks/88cbaa91c495d86f4bb0.js +0 -1
  749. package/assets/esri/core/workers/chunks/89853fccdf2bfcc290c0.js +0 -1
  750. package/assets/esri/core/workers/chunks/8c1f1eb36198ce40ef13.js +0 -1
  751. package/assets/esri/core/workers/chunks/8d58e59ea13ecafdd45c.js +0 -1
  752. package/assets/esri/core/workers/chunks/8db723b8468e408dda46.js +0 -1
  753. package/assets/esri/core/workers/chunks/8dca61f8ba6689379f86.js +0 -1
  754. package/assets/esri/core/workers/chunks/8e354c7b4858db5880a9.js +0 -1
  755. package/assets/esri/core/workers/chunks/8e556ff730ae96290a69.js +0 -1
  756. package/assets/esri/core/workers/chunks/8e62a5fcc4c7e83a903a.js +0 -1
  757. package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +0 -1
  758. package/assets/esri/core/workers/chunks/91d9ade78854f40a962d.js +0 -1
  759. package/assets/esri/core/workers/chunks/91fba3bebd78cb956941.js +0 -1
  760. package/assets/esri/core/workers/chunks/920b4def081c78c0d586.js +0 -1
  761. package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +0 -1
  762. package/assets/esri/core/workers/chunks/92a4f56232f81ca457fa.js +0 -1
  763. package/assets/esri/core/workers/chunks/92ef6071ea87b7f940e2.js +0 -1
  764. package/assets/esri/core/workers/chunks/9319d57494482668ab19.js +0 -1
  765. package/assets/esri/core/workers/chunks/9361834d2c3064eb41fc.js +0 -1
  766. package/assets/esri/core/workers/chunks/9382af94bf6bf1b09c8c.js +0 -1
  767. package/assets/esri/core/workers/chunks/942c80c425b1f13cced5.js +0 -1
  768. package/assets/esri/core/workers/chunks/95cb062cae4c31c07124.js +0 -1
  769. package/assets/esri/core/workers/chunks/968335b28b895e19913b.js +0 -1
  770. package/assets/esri/core/workers/chunks/979bc762ccc0d3fc2467.js +0 -1
  771. package/assets/esri/core/workers/chunks/9828b07b5f8fd9f40935.js +0 -1
  772. package/assets/esri/core/workers/chunks/98739414c107ad78e4d8.js +0 -1
  773. package/assets/esri/core/workers/chunks/988f5e003377d734d282.js +0 -1
  774. package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +0 -1
  775. package/assets/esri/core/workers/chunks/9a6bdcedcb7d2798ba30.js +0 -1
  776. package/assets/esri/core/workers/chunks/9afe220b5b60cfa44c95.js +0 -1
  777. package/assets/esri/core/workers/chunks/9ba8a2e1c0fb4e1efc7c.js +0 -1
  778. package/assets/esri/core/workers/chunks/9c93eadbd19bef1191b4.js +0 -1
  779. package/assets/esri/core/workers/chunks/9c9d359caf8354a8ec52.js +0 -1
  780. package/assets/esri/core/workers/chunks/9cc2832d5f625f81c08d.js +0 -1
  781. package/assets/esri/core/workers/chunks/9ccabf8142fb5de4d3e2.js +0 -2
  782. package/assets/esri/core/workers/chunks/9cec9d09f3aa5c21660d.js +0 -37
  783. package/assets/esri/core/workers/chunks/9d258f14199181dee424.js +0 -1
  784. package/assets/esri/core/workers/chunks/9e869fd6450cf874783a.js +0 -1
  785. package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +0 -1
  786. package/assets/esri/core/workers/chunks/a1594486177015e8a6c3.js +0 -1
  787. package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +0 -1
  788. package/assets/esri/core/workers/chunks/a1b8722c6acafdf1c2bf.js +0 -1
  789. package/assets/esri/core/workers/chunks/a3407ca77b0ff62c0e75.js +0 -1
  790. package/assets/esri/core/workers/chunks/a41073263af5eba3c16d.js +0 -1
  791. package/assets/esri/core/workers/chunks/a623676c74745e040a2a.js +0 -1
  792. package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +0 -1
  793. package/assets/esri/core/workers/chunks/a6742abe3ebe371e85f1.js +0 -1
  794. package/assets/esri/core/workers/chunks/a6d4256c327f07221117.js +0 -1
  795. package/assets/esri/core/workers/chunks/a6f29d1a6356e2de5a79.js +0 -1
  796. package/assets/esri/core/workers/chunks/a79fad422d41019c8232.js +0 -1
  797. package/assets/esri/core/workers/chunks/a8dfd246c797f3b979f5.js +0 -1
  798. package/assets/esri/core/workers/chunks/ab0275669e28e7a34c38.js +0 -1
  799. package/assets/esri/core/workers/chunks/ab5e2f823960c33cefe4.js +0 -1
  800. package/assets/esri/core/workers/chunks/acdbe0299024d58e1421.js +0 -1
  801. package/assets/esri/core/workers/chunks/ad253136c1e12f733d15.js +0 -1
  802. package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +0 -1
  803. package/assets/esri/core/workers/chunks/adff1791ae44631ad34a.js +0 -1
  804. package/assets/esri/core/workers/chunks/ae16fe50a54b5c0f9811.js +0 -1
  805. package/assets/esri/core/workers/chunks/ae18de425548bb865702.js +0 -1
  806. package/assets/esri/core/workers/chunks/ae6066ea6cb373dc6db3.js +0 -1
  807. package/assets/esri/core/workers/chunks/aeb524eded012217a865.js +0 -1
  808. package/assets/esri/core/workers/chunks/af00081b78fc30ac556c.js +0 -1
  809. package/assets/esri/core/workers/chunks/b211b53aa7616a093b90.js +0 -1
  810. package/assets/esri/core/workers/chunks/b28e0b89603d8b03f9e1.js +0 -1
  811. package/assets/esri/core/workers/chunks/b4349db7155673329432.js +0 -1
  812. package/assets/esri/core/workers/chunks/b48033645091c91e0d88.js +0 -1
  813. package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +0 -1
  814. package/assets/esri/core/workers/chunks/b64cfd86d9204be743c6.js +0 -1
  815. package/assets/esri/core/workers/chunks/b8988771bfa4e785ebd6.js +0 -1
  816. package/assets/esri/core/workers/chunks/ba6452acee3d6defb37e.js +0 -1
  817. package/assets/esri/core/workers/chunks/bb92a9daa0c5b019561f.js +0 -1
  818. package/assets/esri/core/workers/chunks/bc731ec9d5136f1d9253.js +0 -1
  819. package/assets/esri/core/workers/chunks/bd1d159dce4094694c93.js +0 -1
  820. package/assets/esri/core/workers/chunks/bd2a28b14e5c0a55d783.js +0 -1
  821. package/assets/esri/core/workers/chunks/bdbb5b33f0f49661bf6d.js +0 -1
  822. package/assets/esri/core/workers/chunks/befeca51530bba5e8073.js +0 -1
  823. package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +0 -1
  824. package/assets/esri/core/workers/chunks/bf88bd763fd6442a95fd.js +0 -1
  825. package/assets/esri/core/workers/chunks/bfe052b386ec4874f350.js +0 -1
  826. package/assets/esri/core/workers/chunks/c042269586921e337be9.js +0 -1
  827. package/assets/esri/core/workers/chunks/c0b15510a8cab98df77f.js +0 -1
  828. package/assets/esri/core/workers/chunks/c27842a34e73ccb46116.js +0 -1
  829. package/assets/esri/core/workers/chunks/c3272b09bff886b08ce1.js +0 -1
  830. package/assets/esri/core/workers/chunks/c38a07e936226b361b63.js +0 -1
  831. package/assets/esri/core/workers/chunks/c59c1e52acb5ac8f78f9.js +0 -1
  832. package/assets/esri/core/workers/chunks/c5cc0fc652432a9264cc.js +0 -1
  833. package/assets/esri/core/workers/chunks/c605bf7d1e12917ac482.js +0 -1
  834. package/assets/esri/core/workers/chunks/c743e561e7d73a100576.js +0 -1
  835. package/assets/esri/core/workers/chunks/c7838ac0db8570a2d2c1.js +0 -1
  836. package/assets/esri/core/workers/chunks/c8182c2cbb0ead202af6.js +0 -1
  837. package/assets/esri/core/workers/chunks/c91ef3814e7f024043cf.js +0 -1
  838. package/assets/esri/core/workers/chunks/c96083838f919a8f64cd.js +0 -1
  839. package/assets/esri/core/workers/chunks/cad1d7e5ce89f51b3ac9.js +0 -1
  840. package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +0 -1
  841. package/assets/esri/core/workers/chunks/cc50f96321a7c12f300b.js +0 -1
  842. package/assets/esri/core/workers/chunks/ccc743e41854eb225c23.js +0 -1
  843. package/assets/esri/core/workers/chunks/cd788ed111e1e35cf9c8.js +0 -1
  844. package/assets/esri/core/workers/chunks/ce3870db25566cd93d8e.js +0 -1
  845. package/assets/esri/core/workers/chunks/cfbe9993263fa6f69363.js +0 -1
  846. package/assets/esri/core/workers/chunks/d129a5a34e9ad09bd39e.js +0 -1
  847. package/assets/esri/core/workers/chunks/d14e75b160aa432233c6.js +0 -1
  848. package/assets/esri/core/workers/chunks/d21480925a8bc9c7de96.js +0 -1
  849. package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +0 -1
  850. package/assets/esri/core/workers/chunks/d364096493ceeff34c10.js +0 -1
  851. package/assets/esri/core/workers/chunks/d373986588f6b1b8f2d5.js +0 -1
  852. package/assets/esri/core/workers/chunks/d3b1d1c389d70919fb02.js +0 -1
  853. package/assets/esri/core/workers/chunks/d52a0c3a855029c48bd2.js +0 -1
  854. package/assets/esri/core/workers/chunks/d66973e926bc03e2359a.js +0 -1
  855. package/assets/esri/core/workers/chunks/d7cd1d879768df629716.js +0 -1
  856. package/assets/esri/core/workers/chunks/d7df5e4028d502712317.js +0 -1
  857. package/assets/esri/core/workers/chunks/d90564fbafc00df2d56d.js +0 -1
  858. package/assets/esri/core/workers/chunks/d9ca754f51b9812bb179.js +0 -1
  859. package/assets/esri/core/workers/chunks/d9ef0b3341e2744d8f2f.js +0 -1
  860. package/assets/esri/core/workers/chunks/da5ce19ecf3a5e92a2a9.js +0 -1
  861. package/assets/esri/core/workers/chunks/da7685ec2b6eaf00fd2d.js +0 -1
  862. package/assets/esri/core/workers/chunks/dae715b2b0094641e42f.js +0 -1
  863. package/assets/esri/core/workers/chunks/db04b0a30cce9e476551.js +0 -1
  864. package/assets/esri/core/workers/chunks/db28d00171240b4fffac.js +0 -1
  865. package/assets/esri/core/workers/chunks/db4661fd82dc61162115.js +0 -1
  866. package/assets/esri/core/workers/chunks/dbd382546837aa7709e2.js +0 -1
  867. package/assets/esri/core/workers/chunks/dddb6cb44cbe4dc1af97.js +0 -1
  868. package/assets/esri/core/workers/chunks/de60421029fbcebe2950.js +0 -1
  869. package/assets/esri/core/workers/chunks/df33d5a08e1b6dc00f45.js +0 -1
  870. package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +0 -1
  871. package/assets/esri/core/workers/chunks/e03c706e327f4989280a.js +0 -1
  872. package/assets/esri/core/workers/chunks/e0648f5aed9d939928dc.js +0 -1
  873. package/assets/esri/core/workers/chunks/e071b912539304564b69.js +0 -1
  874. package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +0 -1
  875. package/assets/esri/core/workers/chunks/e34b7acc963288ca0f04.js +0 -1
  876. package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +0 -1
  877. package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +0 -1
  878. package/assets/esri/core/workers/chunks/e615a935bbf1168fac43.js +0 -1
  879. package/assets/esri/core/workers/chunks/e8bf362b2631f977b1cb.js +0 -1
  880. package/assets/esri/core/workers/chunks/e8e4d48ab4024e17108d.js +0 -1
  881. package/assets/esri/core/workers/chunks/e97787de88e2992add13.js +0 -1
  882. package/assets/esri/core/workers/chunks/eaadcc43837c465342cc.js +0 -1
  883. package/assets/esri/core/workers/chunks/eb7eb3b3b8800fd73f3e.js +0 -1
  884. package/assets/esri/core/workers/chunks/ecb4c223c0278971cdc9.js +0 -1
  885. package/assets/esri/core/workers/chunks/ed7e353e290b3a272457.js +0 -1
  886. package/assets/esri/core/workers/chunks/ee361690b456c12c30d8.js +0 -1
  887. package/assets/esri/core/workers/chunks/ef639d31c94d2b55b8d4.js +0 -1
  888. package/assets/esri/core/workers/chunks/ef977be20a647aeded0a.js +0 -1
  889. package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +0 -1
  890. package/assets/esri/core/workers/chunks/f0100b34f8b13fb37157.js +0 -1
  891. package/assets/esri/core/workers/chunks/f0914715e90e43466f8c.js +0 -1
  892. package/assets/esri/core/workers/chunks/f0a667d8d33bc51c795d.js +0 -1
  893. package/assets/esri/core/workers/chunks/f1e5d52e550326e49d1e.js +0 -1
  894. package/assets/esri/core/workers/chunks/f2b63597ae956db74eb3.js +0 -1
  895. package/assets/esri/core/workers/chunks/f32d4813b450a3eb4262.js +0 -1
  896. package/assets/esri/core/workers/chunks/f3b2c81f5ad26a58a4bd.js +0 -1
  897. package/assets/esri/core/workers/chunks/f54ec21fa67db6fef5a6.js +0 -1
  898. package/assets/esri/core/workers/chunks/f57b5720ce827f5845cd.js +0 -1
  899. package/assets/esri/core/workers/chunks/f5a695dc51793b138b23.js +0 -1
  900. package/assets/esri/core/workers/chunks/f5f584d325f8f2ea825f.js +0 -1
  901. package/assets/esri/core/workers/chunks/f65d26588d2d80680a26.js +0 -1
  902. package/assets/esri/core/workers/chunks/f65f1798f398bc549463.js +0 -1
  903. package/assets/esri/core/workers/chunks/f72e6c903f55ce95a6c5.js +0 -1
  904. package/assets/esri/core/workers/chunks/f77b93bef06bae03c1c6.js +0 -1
  905. package/assets/esri/core/workers/chunks/f7dfbf24859f4ac2421b.js +0 -1
  906. package/assets/esri/core/workers/chunks/f8438642a9bdd8980b4b.js +0 -1
  907. package/assets/esri/core/workers/chunks/f98689562017583f73ee.js +0 -1
  908. package/assets/esri/core/workers/chunks/fdb5b5d8a7c99a0bf5f9.js +0 -1
  909. package/assets/esri/core/workers/chunks/fdbe16e3b23e01655c0c.js +0 -1
  910. package/assets/esri/core/workers/chunks/fe07390e27f8cd5e93a8.js +0 -1
  911. package/assets/esri/core/workers/chunks/fe33b11ec3f58a0f541a.js +0 -1
  912. package/assets/esri/core/workers/chunks/ff8e2f998169ca3a7a68.js +0 -1
  913. package/assets/esri/core/workers/chunks/ffdba51e7256ebf8ebd3.js +0 -1
  914. /package/assets/esri/core/workers/chunks/{873008572c1f21cea122.js.LICENSE.txt → 91e307ca0d11804a7a1d.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8610],{4151(t,e,r){r.d(e,{A:()=>n});class n{constructor(t=null,e=null,r=null){this.minValue=t,this.maxValue=e,this.noDataValue=r}}},9334(t,e,r){function n(t,e){let r=0,n="",o=0,i=0;const s=t.length;for(;r<s;)i=t[r++],o=i>>4,o<8?o=1:15===o?(o=4,i=(7&i)<<18|(63&t[r++])<<12|(63&t[r++])<<6|63&t[r++]):14===o?(o=3,i=(15&i)<<12|(63&t[r++])<<6|63&t[r++]):(o=2,i=(31&i)<<6|63&t[r++]),(0!==i||e)&&(n+=String.fromCharCode(i));return n}r.d(e,{w:()=>n})},10713(t,e,r){r.d(e,{Z:()=>n});const n=(()=>{const t=new ArrayBuffer(4),e=new Uint8Array(t);return new Uint32Array(t)[0]=1,1===e[0]})()},11053(t,e,r){r.d(e,{c:()=>n,g:()=>o});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}},13868(t,e,r){r.d(e,{SZ:()=>o,e8:()=>s,hm:()=>i});var n=r(66552);const o=(0,n.O)()({RSP_NearestNeighbor:"nearest",RSP_BilinearInterpolation:"bilinear",RSP_CubicConvolution:"cubic",RSP_Majority:"majority"}),i=(0,n.O)()({esriNoDataMatchAny:"any",esriNoDataMatchAll:"all"}),s=(0,n.O)()({U1:"u1",U2:"u2",U4:"u4",U8:"u8",S8:"s8",U16:"u16",S16:"s16",U32:"u32",S32:"s32",F32:"f32",F64:"f64",C64:"c64",C128:"c128",UNKNOWN:"unknown"})},14140(t,e,r){r.d(e,{A:()=>f});var n,o=r(31635),i=r(49186),s=r(25482),a=r(4718),l=r(53966),c=r(91429),u=r(94778),h=r(4151);let f=class extends s.o{static{n=this}static createEmptyBand(t,e){return new(n.getPixelArrayConstructor(t))(e)}static combineBandMasks(t){if(t.length<2)return t[0];const e=t[0].length,r=new Uint8Array(e).fill(255);for(let n=0;n<t.length;n++){const o=t[n];for(let t=0;t<e;t++)o[t]||(r[t]=0)}return r}static getPixelArrayConstructor(t){let e;switch(t){case"u1":case"u2":case"u4":case"u8":e=Uint8Array;break;case"u16":e=Uint16Array;break;case"u32":e=Uint32Array;break;case"s8":e=Int8Array;break;case"s16":e=Int16Array;break;case"s32":e=Int32Array;break;case"f32":case"c64":case"c128":case"unknown":e=Float32Array;break;case"f64":e=Float64Array}return e}constructor(t){super(t),this.width=null,this.height=null,this.pixelType="f32",this.validPixelCount=null,this.mask=null,this.maskIsAlpha=!1,this.premultiplyAlpha=!1,this.statistics=null,this.depthCount=1}castPixelType(t){if(!t)return"f32";let e=t.toLowerCase();return["u1","u2","u4"].includes(e)?e="u8":["unknown","u8","s8","u16","s16","u32","s32","f32","f64"].includes(e)||(e="f32"),e}getPlaneCount(){return this.pixels?.length}addData(t){if(!t.pixels||t.pixels.length!==this.width*this.height)throw new i.A("pixelblock:invalid-or-missing-pixels","add data requires valid pixels array that has same length defined by pixel block width * height");this.pixels||(this.pixels=[]),this.statistics||(this.statistics=[]),this.pixels.push(t.pixels),this.statistics.push(t.statistics??new h.A)}getAsRGBA(){const t=new ArrayBuffer(this.width*this.height*4);switch(this.pixelType){case"s8":case"s16":case"u16":case"s32":case"u32":case"f32":case"f64":this._fillFromNon8Bit(t);break;default:this._fillFrom8Bit(t)}return new Uint8ClampedArray(t)}getAsRGBAFloat(){const t=new Float32Array(this.width*this.height*4);return this._fillFrom32Bit(t),t}updateStatistics(){if(!this.pixels)return;this.statistics=this.pixels.map(t=>function(t,e){let r=1/0,n=-1/0;const o=t.length;let i,s=0;if(null!=e)for(i=0;i<o;i++)e[i]&&(s=t[i],r=s<r?s:r,n=s>n?s:n);else for(i=0;i<o;i++)s=t[i],r=s<r?s:r,n=s>n?s:n;return new h.A(r,n)}(t,this.mask));const t=this.mask;let e=0;if(null!=t)for(let r=0;r<t.length;r++)t[r]&&e++;else e=this.width*this.height;this.validPixelCount=e}clamp(t){if(!t||"f64"===t||"f32"===t||!this.pixels)return;const[e,r]=(0,u.hP)(t),o=this.pixels,i=this.width*this.height,s=o.length;let a,l,c;const h=[];for(let u=0;u<s;u++){c=n.createEmptyBand(t,i),a=o[u];for(let t=0;t<i;t++)l=a[t],c[t]=l>r?r:l<e?e:l;h.push(c)}this.pixels=h,this.pixelType=t}extractBands(t){const{pixels:e,statistics:r}=this;if(null==t||0===t.length||!e||0===e.length)return this;const o=e.length,i=t.some(t=>t>=e.length),s=o===t.length&&!t.some((t,e)=>t!==e);if(i||s)return this;const a=this.bandMasks?.length===o?t.map(t=>this.bandMasks[t]):void 0;let{mask:l,validPixelCount:c}=this;const{width:u,height:h}=this;return a?.length&&(l=n.combineBandMasks(a),c=l.filter(t=>!!t).length),new n({pixelType:this.pixelType,width:u,height:h,mask:l,bandMasks:a,validPixelCount:c,maskIsAlpha:this.maskIsAlpha,pixels:t.map(t=>e[t]),statistics:r&&t.map(t=>r[t])})}clone(){const t=new n({width:this.width,height:this.height,pixelType:this.pixelType,maskIsAlpha:this.maskIsAlpha,validPixelCount:this.validPixelCount,premultiplyAlpha:this.premultiplyAlpha,depthCount:this.depthCount});let e;null!=this.mask&&(t.mask=new Uint8Array(this.mask)),this.noDataValues&&(t.noDataValues=[...this.noDataValues]),this.bandMasks&&(t.bandMasks=this.bandMasks.map(t=>new Uint8Array(t)));const r=n.getPixelArrayConstructor(this.pixelType);if(this.pixels&&this.pixels.length>0){t.pixels=[];const n=!!this.pixels[0].slice;for(e=0;e<this.pixels.length;e++)t.pixels[e]=n?this.pixels[e].slice():new r(this.pixels[e])}if(this.statistics)for(t.statistics=[],e=0;e<this.statistics.length;e++)t.statistics[e]=(0,a.o8)(this.statistics[e]);return t}getTransferableObject(){const{pixels:t,bandMasks:e,mask:r}=this;this.pixels=[],this.bandMasks=void 0,this.mask=void 0;const n=this.toJSON();this.pixels=t,this.bandMasks=e,this.mask=r,n.pixels=t?[...t]:t,n.bandMasks=e?[...e]:e,n.mask=r;const o=[];return[...t??[],r,...e??[]].filter(t=>null!=t&&ArrayBuffer.isView(t)).forEach(t=>{t&&!o.includes(t.buffer)&&o.push(t.buffer)}),{pixelBlock:n,transferList:o}}_fillFrom8Bit(t){const{mask:e,maskIsAlpha:r,premultiplyAlpha:n,pixels:o}=this;if(!t||!o?.length)return void l.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The input pixel block is empty.");let i,s,a,c;i=s=a=o[0],o.length>=3?(s=o[1],a=o[2]):2===o.length&&(s=o[1]);const u=new Uint32Array(t),h=this.width*this.height;if(i.length===h)if(null!=e&&e.length===h)if(r)for(c=0;c<h;c++){const t=e[c];if(t){const e=t/255;u[c]=n?t<<24|a[c]*e<<16|s[c]*e<<8|i[c]*e:t<<24|a[c]<<16|s[c]<<8|i[c]}}else for(c=0;c<h;c++)e[c]&&(u[c]=255<<24|a[c]<<16|s[c]<<8|i[c]);else for(c=0;c<h;c++)u[c]=255<<24|a[c]<<16|s[c]<<8|i[c];else l.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The pixelblock is invalid.")}_fillFromNon8Bit(t){const{pixels:e,mask:r,statistics:n}=this;if(!t||!e?.length)return void l.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The input pixel block is empty.");const o=this.pixelType;let i=1,s=0,a=1;if(n&&n.length>0){for(const t of n)if(null!=t.minValue&&(s=Math.min(s,t.minValue)),null!=t.maxValue&&null!=t.minValue){const e=t.maxValue-t.minValue;a=Math.max(a,e)}i=255/a}else{let t=255;"s8"===o?(s=-128,t=127):"u16"===o?t=65535:"s16"===o?(s=-32768,t=32767):"u32"===o?t=4294967295:"s32"===o?(s=-2147483648,t=2147483647):"f32"===o?(s=-34e38,t=34e38):"f64"===o&&(s=-Number.MAX_VALUE,t=Number.MAX_VALUE),i=255/(t-s)}const c=new Uint32Array(t),u=this.width*this.height;let h,f,d,p,m;if(h=f=d=e[0],h.length!==u)return l.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The pixelblock is invalid.");if(e.length>=2)if(f=e[1],e.length>=3&&(d=e[2]),null!=r&&r.length===u)for(p=0;p<u;p++)r[p]&&(c[p]=255<<24|(d[p]-s)*i<<16|(f[p]-s)*i<<8|(h[p]-s)*i);else for(p=0;p<u;p++)c[p]=255<<24|(d[p]-s)*i<<16|(f[p]-s)*i<<8|(h[p]-s)*i;else if(null!=r&&r.length===u)for(p=0;p<u;p++)m=(h[p]-s)*i,r[p]&&(c[p]=255<<24|m<<16|m<<8|m);else for(p=0;p<u;p++)m=(h[p]-s)*i,c[p]=255<<24|m<<16|m<<8|m}_fillFrom32Bit(t){const{pixels:e,mask:r}=this;if(!t||!e?.length)return l.A.getLogger(this).error("getAsRGBAFloat()","Unable to convert to RGBA. The input pixel block is empty.");let n,o,i,s;n=o=i=e[0],e.length>=3?(o=e[1],i=e[2]):2===e.length&&(o=e[1]);const a=this.width*this.height;if(n.length!==a)return l.A.getLogger(this).error("getAsRGBAFloat()","Unable to convert to RGBA. The pixelblock is invalid.");let c=0;if(null!=r&&r.length===a)for(s=0;s<a;s++)t[c++]=n[s],t[c++]=o[s],t[c++]=i[s],t[c++]=1&r[s];else for(s=0;s<a;s++)t[c++]=n[s],t[c++]=o[s],t[c++]=i[s],t[c++]=1}};(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"width",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"height",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"pixelType",void 0),(0,o.Cg)([(0,c.wg)("pixelType")],f.prototype,"castPixelType",null),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"validPixelCount",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"mask",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"maskIsAlpha",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"pixels",void 0),(0,o.Cg)([(0,c.MZ)()],f.prototype,"premultiplyAlpha",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"statistics",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"depthCount",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"noDataValues",void 0),(0,o.Cg)([(0,c.MZ)({json:{write:!0}})],f.prototype,"bandMasks",void 0),f=n=(0,o.Cg)([(0,c.$K)("esri.layers.support.PixelBlock")],f)},20223(t,e,r){r.d(e,{A:()=>c});var n,o=r(31635),i=r(25482),s=r(4718),a=r(91429),l=r(86738);let c=class extends i.o{constructor(){super(...arguments),this.blockWidth=void 0,this.blockHeight=void 0,this.compression=null,this.origin=null,this.firstPyramidLevel=null,this.maximumPyramidLevel=null,this.pyramidScalingFactor=2,this.pyramidBlockWidth=null,this.pyramidBlockHeight=null,this.isBsqTile=!1,this.isVirtualTileInfo=!1,this.tileInfo=null,this.transposeInfo=null,this.blockBoundary=null}static{n=this}clone(){return new n({blockWidth:this.blockWidth,blockHeight:this.blockHeight,compression:this.compression,origin:(0,s.o8)(this.origin),firstPyramidLevel:this.firstPyramidLevel,maximumPyramidLevel:this.maximumPyramidLevel,pyramidResolutions:(0,s.o8)(this.pyramidResolutions),pyramidScalingFactor:this.pyramidScalingFactor,pyramidBlockWidth:this.pyramidBlockWidth,pyramidBlockHeight:this.pyramidBlockHeight,isBsqTile:this.isBsqTile,isVirtualTileInfo:this.isVirtualTileInfo,tileInfo:(0,s.o8)(this.tileInfo),transposeInfo:(0,s.o8)(this.transposeInfo),blockBoundary:(0,s.o8)(this.blockBoundary)})}};(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"blockWidth",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"blockHeight",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"compression",void 0),(0,o.Cg)([(0,a.MZ)({type:l.A,json:{write:!0}})],c.prototype,"origin",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"firstPyramidLevel",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"maximumPyramidLevel",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"pyramidResolutions",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"pyramidScalingFactor",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"pyramidBlockWidth",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"pyramidBlockHeight",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"isBsqTile",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"isVirtualTileInfo",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"tileInfo",void 0),(0,o.Cg)([(0,a.MZ)()],c.prototype,"transposeInfo",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"blockBoundary",void 0),c=n=(0,o.Cg)([(0,a.$K)("esri.layers.support.RasterStorageInfo")],c)},20758(t,e,r){r.d(e,{D:()=>V,g:()=>F});var n=r(49186),o=r(97768),i=r(74887),s=r(68060);class a{constructor(t){this._canvas=null,this._ctx=null,t&&(this._canvas=t.canvas,this._ctx=t.ctx||t.canvas&&t.canvas.getContext("2d"))}decode(t,e,r){if(!t||t.byteLength<10)throw new n.A("imagecanvasdecoder: decode","required a valid encoded data as input.");let{width:o=0,height:s=0,format:l}=e;const{applyJpegMask:c}=e;if(c&&(!o||!s))throw new n.A("imagecanvasdecoder: decode","image width and height are needed to apply jpeg mask directly to canvas");return new Promise((n,u)=>{let h=null;"jpg"===l&&c&&(h=a._getMask(t,{width:o,height:s}));const f=new Blob([new Uint8Array(t)],{type:"image/"+l=="jpg"?"jpeg":l}),d=URL.createObjectURL(f),p=new Image;p.src=d,p.onload=()=>{if(URL.revokeObjectURL(d),(0,i.G4)(r))return void u((0,i.NK)());o=p.width,s=p.height,this._canvas&&this._ctx?(this._canvas.width===o&&this._canvas.height===s||(this._canvas.width=o,this._canvas.height=s),this._ctx.clearRect(0,0,o,s)):(this._canvas=document.createElement("canvas"),this._canvas.width=o,this._canvas.height=s,this._ctx=this._canvas.getContext("2d")),this._ctx.drawImage(p,0,0);const t=this._ctx.getImageData(0,0,o,s),a=t.data;if(e.renderOnCanvas){if(h)for(let t=0;t<h.length;t++)h[t]?a[4*t+3]=255:a[4*t+3]=0;return this._ctx.putImageData(t,0,0),void n(null)}const l=o*s,c=new Uint8Array(l),f=new Uint8Array(l),m=new Uint8Array(l);if(h)for(let t=0;t<l;t++)c[t]=a[4*t],f[t]=a[4*t+1],m[t]=a[4*t+2];else{h=new Uint8Array(l);for(let t=0;t<l;t++)c[t]=a[4*t],f[t]=a[4*t+1],m[t]=a[4*t+2],h[t]=a[4*t+3]}n({width:o,height:s,pixels:[c,f,m],mask:h,pixelType:"u8"})},p.onerror=()=>{URL.revokeObjectURL(d),u("cannot load image")}})}static _getMask(t,e){let r=null;try{const n=new Uint8Array(t),o=Math.ceil(n.length/2);let i=0;const a=n.length-2;for(i=o;i<a&&(255!==n[i]||217!==n[i+1]);i++);if(i+=2,i<n.length-1){const t=new s.Z(n.subarray(i)).getBytes();r=new Uint8Array(e.width*e.height);let o=0;for(let e=0;e<t.length;e++)for(let n=7;n>=0;n--)r[o++]=t[e]>>n&1}}catch(t){}return r}}var l=r(61294);class c{static decode(t,e=!1){const r=new Uint8Array(t),n=new l.J;n.parse(r);const{width:o,height:i,numComponents:a,eof:c}=n,u=n.getData(o,i,!0),h=o*i;let f,d=null;if(!e&&c<r.length-1)try{const t=new s.Z(r.subarray(c)).getBytes();d=new Uint8Array(h);let e=0;for(let r=0;r<t.length;r++)for(let n=7;n>=0;n--)d[e++]=t[r]>>n&1}catch{}if(1===a&&u.length===o*i){const t=new Uint8Array(u.buffer);f=[t,t,t]}else{f=[];for(let t=0;t<3;t++)f.push(new Uint8Array(h));let t=0;for(let e=0;e<h;e++)for(let r=0;r<3;r++)f[r][e]=u[t++]}return{width:o,height:i,pixels:f,mask:d}}}var u=r(43946),h=r(73051),f=r(94778),d=r(2741);const p=new Set(["uint8","int8","uint16","int16","uint32","int32","int64","uint64"]),m=new Map([["uint8",{byteCount:1,ctor:Uint8Array}],["int8",{byteCount:1,ctor:Int8Array}],["uint16",{byteCount:2,ctor:Uint16Array}],["int16",{byteCount:2,ctor:Int16Array}],["uint32",{byteCount:4,ctor:Uint32Array}],["int32",{byteCount:4,ctor:Int32Array}],["uint64",{byteCount:8,ctor:BigUint64Array}],["int64",{byteCount:8,ctor:BigInt64Array}]]);let g;function y(){return g??=r.e(6154).then(r.bind(r,56154)).then(({default:t})=>t({locateFile:t=>(0,d.s)(`esri/layers/raster/formats/${t}`)})).then(t=>{!function(t){const{_GetInfo:e,_decode:r,_malloc:n,_free:o,writeArrayToMemory:i,UTF8ToString:s}=t;w.getBlobInfo=t=>{t.length>1e3&&(t=t.slice(0,1e3));const r=n(t.length);i(t,r);const a=e(r,t.length);if(o(r),!a)return null;const l=s(a);o(a);try{const t=JSON.parse(l);return{width:t.xsize,height:t.ysize,bandCount:t.nbands,dataType:t.dtype,mode:t.mode,bandMap:t.bandmap}}catch{return null}},w.decode=(e,n)=>{const{dataType:o,width:i,height:s,bandCount:a}=n;if(!p.has(o))throw new Error("Unsupported data type: "+o);const{_malloc:l,_free:c}=t,u=l(e.length);t.writeArrayToMemory(e,u);const{ctor:h,byteCount:f}=C(o),d=i*s*a*f,m=l(d),g=l(1024);if(0===r(u,e.length,m,g))throw c(u),c(m),c(g),new Error("Decoding failed: "+t.UTF8ToString(g));const y=new h(t.HEAPU8.slice(m,m+d).buffer);if(c(u),c(m),c(g),y instanceof BigInt64Array||y instanceof BigUint64Array){const t=new Float64Array(y.length);for(let e=0;e<y.length;e++)t[e]=Number(y[e]);return t}return y}}(t)}),g}const w={getBlobInfo:null,decode:null};function C(t){if(!m.has(t))throw new Error("Unsupported data type: "+t);return m.get(t)}function b(t){const e=new Uint8Array(t),r=w.getBlobInfo(e);if(!r)return null;const n=w.decode(e,r);if(!n)return null;const{width:o,height:i,bandCount:s,dataType:a}=r,{ctor:l}=C(a),c=l===BigInt64Array||l===BigUint64Array?Float64Array:l,u=Array.from({length:s},()=>new c(o*i));for(let t=0,e=0;t<o*i;t++)for(let r=0;r<s;r++)u[r][t]=n[e++];return{width:o,height:i,pixels:u}}const x=(t,e)=>{const r=e.width*e.height,n=e.pixelType;return Math.floor(t.byteLength/(r*v(n)))},v=t=>{let e=1;switch(t){case Uint8Array:case Int8Array:e=1;break;case Uint16Array:case Int16Array:e=2;break;case Uint32Array:case Int32Array:case Float32Array:e=4;break;case Float64Array:e=8}return e};class A{static decode(t,e){const r=e.pixelType,n=[],o=e.width*e.height,i=x(t,e),{bandIds:s,format:a}=e,l=s?.length||x(t,e),c=t.byteLength-t.byteLength%(o*v(r)),u=new r(t,0,o*i);if("bip"===a)for(let t=0;t<l;t++){const e=new r(o),a=s?s[t]:t;for(let t=0;t<o;t++)e[t]=u[t*i+a];n.push(e)}else if("bsq"===a)for(let t=0;t<l;t++){const e=s?s[t]:t;n.push(u.subarray(e*o,(e+1)*o))}let h=null;return c<t.byteLength-1&&(h=((t,e)=>{if(8*t.byteLength<e)return null;const r=new Uint8Array(t,0,Math.ceil(e/8)),n=new Uint8Array(e);let o=0,i=0;for(let t=0;t<r.length-1;t++){i=r[t];for(let t=7;t>=0;t--)n[o++]=i>>t&1}let s=7;for(;o<e-1;)i=r[r.length-1],n[o++]=i>>s&1,s--;return n})(t.slice(c),o)),{pixels:n,mask:h}}}var k=r(87877),M=r(10713),T=r(14140),S=r(4151),I=function(t){var e,r,n;function o(t){var e,r,n,o,i,s,a,l,c,u,h,f,d;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},i=null;;){switch(e=this.readUInt32(),l=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join(""),l){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":i&&this.animation.frames.push(i),this.pos+=4,i={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),n=this.readUInt16()||100,i.delay=1e3*o/n,i.disposeOp=this.data[this.pos++],i.blendOp=this.data[this.pos++],i.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,e-=4),t=(null!=i?i.data:void 0)||this.imgData,h=0;0<=e?h<e:h>e;0<=e?++h:--h)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(this.transparency.indexed=this.read(e),(c=255-this.transparency.indexed.length)>0)for(f=0;0<=c?f<c:f>c;0<=c?++f:--f)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":s=(u=this.read(e)).indexOf(0),a=String.fromCharCode.apply(String,u.slice(0,s)),this.text[a]=String.fromCharCode.apply(String,u.slice(s+1));break;case"IEND":return i&&this.animation.frames.push(i),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(d=this.colorType)||6===d,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}return o.load=function(t,e,r){var n;return"function"==typeof e&&(r=e),(n=new XMLHttpRequest).open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){var t;return t=new o(new Uint8Array(n.response||n.mozResponseArrayBuffer)),"function"==typeof(null!=e?e.getContext:void 0)&&t.render(e),"function"==typeof r?r(t):void 0},n.send(null)},o.prototype.read=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)r.push(this.data[this.pos++]);return r},o.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},o.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},o.prototype.decodePixels=function(t){var e,r,n,o,i,a,l,c,u,h,f,d,p,m,g,y,w,C,b,x,v,A,k;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);for(t=(t=new s.Z(t)).getBytes(),y=(d=this.pixelBitlength/8)*this.width,p=new Uint8Array(y*this.height),a=t.length,g=0,m=0,r=0;m<a;){switch(t[m++]){case 0:for(o=b=0;b<y;o=b+=1)p[r++]=t[m++];break;case 1:for(o=x=0;x<y;o=x+=1)e=t[m++],i=o<d?0:p[r-d],p[r++]=(e+i)%256;break;case 2:for(o=v=0;v<y;o=v+=1)e=t[m++],n=(o-o%d)/d,w=g&&p[(g-1)*y+n*d+o%d],p[r++]=(w+e)%256;break;case 3:for(o=A=0;A<y;o=A+=1)e=t[m++],n=(o-o%d)/d,i=o<d?0:p[r-d],w=g&&p[(g-1)*y+n*d+o%d],p[r++]=(e+Math.floor((i+w)/2))%256;break;case 4:for(o=k=0;k<y;o=k+=1)e=t[m++],n=(o-o%d)/d,i=o<d?0:p[r-d],0===g?w=C=0:(w=p[(g-1)*y+n*d+o%d],C=n&&p[(g-1)*y+(n-1)*d+o%d]),l=i+w-C,c=Math.abs(l-i),h=Math.abs(l-w),f=Math.abs(l-C),u=c<=h&&c<=f?i:h<=f?w:C,p[r++]=(e+u)%256;break;default:throw new Error("Invalid filter algorithm: "+t[m-1])}g++}return p},o.prototype.decodePalette=function(){var t,e,r,n,o,i,s,a,l;for(r=this.palette,i=this.transparency.indexed||[],o=new Uint8Array((i.length||0)+r.length),n=0,r.length,t=0,e=s=0,a=r.length;s<a;e=s+=3)o[n++]=r[e],o[n++]=r[e+1],o[n++]=r[e+2],o[n++]=null!=(l=i[t++])?l:255;return o},o.prototype.copyToImageData=function(t,e){var r,n,o,i,s,a,l,c,u,h,f;if(n=this.colors,u=null,r=this.hasAlphaChannel,this.palette.length&&(u=null!=(f=this._decodedPalette)?f:this._decodedPalette=this.decodePalette(),n=4,r=!0),c=(o=t.data||t).length,s=u||e,i=a=0,1===n)for(;i<c;)l=u?4*e[i/4]:a,h=s[l++],o[i++]=h,o[i++]=h,o[i++]=h,o[i++]=r?s[l++]:this.transparency.grayscale&&this.transparency.grayscale===h?0:255,a=l;else for(;i<c;)l=u?4*e[i/4]:a,o[i++]=s[l++],o[i++]=s[l++],o[i++]=s[l++],o[i++]=r?s[l++]:this.transparency.rgb&&this.transparency.rgb[1]===s[l-3]&&this.transparency.rgb[3]===s[l-2]&&this.transparency.rgb[5]===s[l-1]?0:255,a=l},o.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t},r=t.document&&t.document.createElement("canvas"),n=r&&r.getContext("2d"),e=function(t){var e;return n.width=t.width,n.height=t.height,n.clearRect(0,0,t.width,t.height),n.putImageData(t,0,0),(e=new Image).src=r.toDataURL(),e},o.prototype.decodeFrames=function(t){var r,n,o,i,s,a,l,c;if(this.animation){for(c=[],n=s=0,a=(l=this.animation.frames).length;s<a;n=++s)r=l[n],o=t.createImageData(r.width,r.height),i=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(o,i),r.imageData=o,c.push(r.image=e(o));return c}},o.prototype.renderFrame=function(t,e){var r,n,o;return r=(n=this.animation.frames)[e],o=n[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=o?o.disposeOp:void 0)?t.clearRect(o.xOffset,o.yOffset,o.width,o.height):2===(null!=o?o.disposeOp:void 0)&&t.putImageData(o.imageData,o.xOffset,o.yOffset),0===r.blendOp&&t.clearRect(r.xOffset,r.yOffset,r.width,r.height),t.drawImage(r.image,r.xOffset,r.yOffset)},o.prototype.animate=function(t){var e,r,n,o,i,s,a=this;return r=0,s=this.animation,o=s.numFrames,n=s.frames,i=s.numPlays,(e=function(){var s,l;if(s=r++%o,l=n[s],a.renderFrame(t,s),o>1&&r/o<i)return a.animation._timeout=setTimeout(e,l.delay)})()},o.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},o.prototype.render=function(t){var e,r;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(r=e.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),e.putImageData(r,0,0))},o}(self);const P=new Set(["jpg","png","bmp","gif"]);async function E(t,e){if(!M.Z)throw new n.A("rasterCoded:decode","lerc decoder is not supported on big endian platform");await(0,u.Hh)();const{offset:r}=e,{width:o,height:i,pixelType:s,statistics:a,depthCount:l,noDataValues:c,bandMasks:h,pixels:f,mask:d}=(0,u.D4)(t,{inputOffset:r,returnInterleaved:e.returnInterleaved}),p=new T.A({width:o,height:i,pixelType:s.toLowerCase(),pixels:f,mask:d,statistics:a.map(({minValue:t,maxValue:e})=>new S.A(t,e)),bandMasks:h,depthCount:l,noDataValues:c});return a?.length||p.updateStatistics(),p}async function R(t,e){await y();const r=b(t);if(!r)throw new n.A("rasterCodec:decode","failed to decode the input data.");const{width:o,height:i,pixels:s}=r,a=new T.A({width:o,height:i,pixelType:"u16",pixels:s});return a.updateStatistics(),a}async function L(t,e){const r=await(0,k.D4)(t,{...e,noDataValue:e.tiffNoDataValue,matchAllNoData:e.matchAllNoData});(0,o.Lw)(r);const n=new T.A({width:r.width,height:r.height,pixels:r.pixels,pixelType:r.pixelType.toLowerCase(),mask:r.mask,bandMasks:r.bandMasks,statistics:null});return n.updateStatistics(),n}function U(t,e){const r=e.pixelType||"u8",n=T.A.getPixelArrayConstructor(r),o="u8"===r?t:new n(t.buffer),i=[],s=e.planes||1;if(1===s)i.push(o);else for(let r=0;r<s;r++){const a=(e.width||1)*(e.height||t.length),l=new n(a);for(let t=0;t<a;t++)l[t]=o[t*s+r];i.push(l)}const a=new T.A({width:e.width||1,height:e.height||t.length,pixels:i,pixelType:r,statistics:null});return a.updateStatistics(),a}function D(t,e){return U(new s.Z(new Uint8Array(t)).getBytes(),e)}function O(t,e){return U((0,h.D)(t,e.offset,e.eof,!e.isInputBigEndian),e)}function B(t,e){const r=c.decode(t,e.hasNoZlibMask??void 0),n=new T.A({width:r.width,height:r.height,pixels:r.pixels,pixelType:"u8",mask:r.mask,statistics:null});return n.updateStatistics(),n}function N(t,e){const r=new Uint8Array(t),n=new I(r),{width:o,height:i}=e,s=o*i,a=n.decode();let l,c=0,u=0;const h=new Uint8Array(s);for(c=0;c<s;c++)h[c]=a[4*c+3];const f=new T.A({width:o,height:i,pixels:[],pixelType:"u8",mask:h,statistics:[]});for(c=0;c<3;c++){for(l=new Uint8Array(s),u=0;u<s;u++)l[u]=a[4*u+c];f.addData({pixels:l})}return f.updateStatistics(),f}function G(t){if(null==t)throw new n.A("rasterCodec:decode","parameter encodeddata is required.");const e=new Uint8Array(t,0,10);let r="";return 255===e[0]&&216===e[1]?r="jpg":137===e[0]&&80===e[1]&&78===e[2]&&71===e[3]?r="png":67===e[0]&&110===e[1]&&116===e[2]&&90===e[3]&&73===e[4]&&109===e[5]&&97===e[6]&&103===e[7]&&101===e[8]&&32===e[9]?r="lerc":76===e[0]&&101===e[1]&&114===e[2]&&99===e[3]&&50===e[4]&&32===e[5]?r="lerc2":73===e[0]&&73===e[1]&&42===e[2]&&0===e[3]||77===e[0]&&77===e[1]&&0===e[2]&&42===e[3]||73===e[0]&&73===e[1]&&43===e[2]&&0===e[3]||77===e[0]&&77===e[1]&&0===e[2]&&43===e[3]?r="tiff":71===e[0]&&73===e[1]&&70===e[2]?r="gif":66===e[0]&&77===e[1]?r="bmp":81===e[0]&&66===e[1]&&51===e[2]?r="qb3":String.fromCharCode.apply(null,e).toLowerCase().includes("error")&&(r="error"),r}function F(t){let e=G(t);return"lerc2"===e?e="lerc":"error"===e&&(e=""),e}async function V(t,e={},r){if(null==t)throw new n.A("rasterCodec:decode","missing encodeddata parameter.");let o=e.format?.toLowerCase();if(!("bsq"!==o&&"bip"!==o||null!=e.width&&null!=e.height))throw new n.A("rasterCodec:decode","requires width and height in options parameter.");if("tiff"===o&&e.customOptions)return async function(t,e){const r=await(0,k.s$)(t,e.customOptions),n=new T.A({width:r.width,height:r.height,pixels:r.pixels,pixelType:r.pixelType.toLowerCase(),mask:r.mask,statistics:null});return n.updateStatistics(),n}(t,e);if((!o||"bsq"!==o&&"bip"!==o&&"deflate"!==o&&"lzw"!==o)&&(o=G(t)),e.useCanvas&&P.has(o))return async function(t,e,r,n){const o=new a,i={applyJpegMask:!1,format:e,...r},s=await o.decode(t,i,n),l=new T.A(s);return l.updateStatistics(),l}(t,o,e,r);const i=function(t){let e=null;switch(t){case"lerc":case"lerc2":e=E;break;case"jpg":e=B;break;case"png":e=N;break;case"bsq":case"bip":e=(e,r)=>function(t,e,r){const{pixelTypeCtor:n}=function(t){let e=null,r=null;switch(t?t.toLowerCase():"f32"){case"u1":case"u2":case"u4":case"u8":r=255,e=Uint8Array;break;case"u16":r=r||65535,e=Uint16Array;break;case"u32":r=r||2**32-1,e=Uint32Array;break;case"s8":r=r||-128,e=Int8Array;break;case"s16":r=r||-32768,e=Int16Array;break;case"s32":r=r||0-2**31,e=Int32Array;break;default:e=Float32Array}return{pixelTypeCtor:e,noDataValue:r}}(e.pixelType),o=(0,A.decode)(t,{width:e.width,height:e.height,pixelType:n,format:r}),i=new T.A({width:e.width,height:e.height,pixels:o.pixels,pixelType:e.pixelType,mask:o.mask,statistics:null});return i.updateStatistics(),i}(e,r,t);break;case"tiff":e=L;break;case"deflate":e=D;break;case"lzw":e=O;break;case"qb3":e=R;break;case"error":e=()=>{throw new n.A("rasterCodec:decode","input data contains error")};break;default:e=()=>{throw new n.A("rasterCodec:decode","unsupported raster format")}}return e}(o);let s;e.isPoint&&(null!=(e={...e}).width&&e.width++,null!=e.height&&e.height++);const{offsets:l}=e;if(l&&l.length>1){const r=l.map((r,n)=>i(t.slice(r,l[n+1]),e)),n=await Promise.all(r);s=n[0],s.pixels=n.map(t=>t.pixels[0]);const o=n.map(t=>t.mask);n.some(t=>null!=t)&&(o.forEach((t,e)=>{null==t&&(o[e]=new Uint8Array(s.width*s.height).fill(255))}),s.bandMasks=o,s.mask=T.A.combineBandMasks(o)),s.updateStatistics()}else s=await i(t,{...e,offset:l?.[0]??e.offset});return"jpg"!==o&&null!=e.noDataValue&&1===s.depthCount&&(0,f.Sp)(s,e.noDataValue,{customFloatTolerance:e.tolerance}),e.isPoint&&function(t,e=1){if(!t)return;const{pixels:r,width:n,height:o,mask:i}=t;if(!r||0===r.length)return;const s=n-1,a=o-1,l=[];let c=null;const u=T.A.getPixelArrayConstructor(t.pixelType);if(0===e){for(const t of r){const e=new u(s*a);for(let r=0;r<a;r++){const o=r*n;for(let n=0;n<s;n++)e[r*s+n]=t[o+n]}l.push(e)}if(null!=i){c=new Uint8Array(s*a);for(let t=0;t<a;t++){const e=t*n;for(let r=0;r<s;r++)c[t*s+r]=i[e+r]}}}else{for(const t of r){const e=new u(s*a);for(let r=0;r<a;r++){const o=r*n;for(let i=0;i<s;i++)e[r*s+i]=(t[o+i]+t[o+i+1]+t[o+n+i]+t[o+n+i+1])/4}l.push(e)}if(i){c=new Uint8Array(s*a);for(let t=0;t<a;t++){const e=t*n;for(let r=0;r<s;r++)c[t*s+r]=Math.min.apply(null,[i[e+r],i[e+r+1],i[e+n+r],i[e+n+r+1]])}}}t.width=s,t.height=a,t.mask=c,t.pixels=l}(s),s}},34251(t,e,r){r.d(e,{FI:()=>p,KL:()=>c,Lu:()=>h,MD:()=>l,Rn:()=>m,Y2:()=>d});var n=r(66552),o=r(47520),i=r(14140);const s=new Map;s.set("meter-per-second",1),s.set("kilometer-per-hour",.277778),s.set("knots",.514444),s.set("feet-per-second",.3048),s.set("mile-per-hour",.44704);const a=180/Math.PI,l=new n.J({esriMetersPerSecond:"meter-per-second",esriKilometersPerHour:"kilometer-per-hour",esriKnots:"knots",esriFeetPerSecond:"feet-per-second",esriMilesPerHour:"mile-per-hour"});function c(t,e){return s.get(t)/s.get(e)||1}function u(t){return(450-t)%360}function h(t,e="geographic"){const[r,n]=t,o=Math.sqrt(r*r+n*n);let i=Math.atan2(n,r)*a;return i=(360+i)%360,"geographic"===e&&(i=u(i)),[o,i]}function f(t,e="geographic"){let r=t[1];"geographic"===e&&(r=u(r)),r%=360;const n=t[0];return[n*Math.cos(r/a),n*Math.sin(r/a)]}function d(t,e,r,n="geographic"){if(!(0,o.AB)(t)||null==r)return t;const i="vector-magdir"===e?t.clone():p(t,e),s=i.pixels[1];for(let t=0;t<s.length;t++)s[t]="geographic"===n?(s[t]+r[t]+270)%360:(s[t]+360-r[t])%360;return"vector-magdir"===e?i:p(i,"vector-magdir")}function p(t,e,r="geographic",n=1){if(!(0,o.AB)(t))return t;const{pixels:s,width:a,height:l}=t,c=a*l,u=s[0],d=s[1],p=t.pixelType.startsWith("f")?t.pixelType:"f32",m=i.A.createEmptyBand(p,c),g=i.A.createEmptyBand(p,c);let y=0;for(let t=0;t<l;t++)for(let t=0;t<a;t++)"vector-uv"===e?([m[y],g[y]]=h([u[y],d[y]],r),m[y]*=n):([m[y],g[y]]=f([u[y],d[y]],r),m[y]*=n,g[y]*=n),y++;const w=new i.A({pixelType:p,width:t.width,height:t.height,mask:t.mask,validPixelCount:t.validPixelCount,maskIsAlpha:t.maskIsAlpha,pixels:[m,g]});return w.updateStatistics(),w}function m(t,e,r=1){if(1===r||!(0,o.AB)(t))return t;const n=t.clone(),{pixels:i,width:s,height:a}=n,l=i[0],c=i[1];let u=0;for(let t=0;t<a;t++)for(let t=0;t<s;t++)"vector-uv"===e?(l[u]*=r,c[u]*=r):l[u]*=r,u++;return n.updateStatistics(),n}function g(t,e,r,n=1){const o=Math.sqrt(t*t+e*e)/n,i=(2*Math.PI+Math.atan2(e,t))%(2*Math.PI);return[o,(2*Math.PI+i-r)%(2*Math.PI)]}!function(t=0,e=0,r=Math.PI,n=!0){n&&(r=(2*Math.PI-r)%(2*Math.PI));const o=n?-1:1,i=13*o,s=-7*o,a=-2*o,l=-16*o,c=21.75,[u,h]=g(0,e+i,r,c),[f,d]=g(t-5.5,e+s,r,c),[p,m]=g(t+5.5,e+s,r,c),[y,w]=g(t-1.5,e+a,r,c),[C,b]=g(t+1.5,e+a,r,c),[x,v]=g(t-1.5,e+l,r,c),[A,k]=g(t+1.5,e+l,r,c)}(0,0,0)},43946(t,e,r){r.d(e,{D4:()=>u,Hh:()=>s});var n=r(2741);const o=[{pixelType:"S8",size:1,ctor:Int8Array,range:[-128,127]},{pixelType:"U8",size:1,ctor:Uint8Array,range:[0,255]},{pixelType:"S16",size:2,ctor:Int16Array,range:[-32768,32767]},{pixelType:"U16",size:2,ctor:Uint16Array,range:[0,65536]},{pixelType:"S32",size:4,ctor:Int32Array,range:[-2147483648,2147483647]},{pixelType:"U32",size:4,ctor:Uint32Array,range:[0,4294967296]},{pixelType:"F32",size:4,ctor:Float32Array,range:[-34027999387901484e22,34027999387901484e22]},{pixelType:"F64",size:8,ctor:Float64Array,range:[-17976931348623157e292,17976931348623157e292]}];let i=null;function s(){return i||(i=r.e(382).then(r.bind(r,30382)).then(({default:t})=>t({locateFile:t=>(0,n.s)(`esri/layers/raster/formats/${t}`)})).then(t=>{!function(t){const{_malloc:e,_free:r,memory:n,_lerc_getBlobInfo:i,_lerc_getDataRanges:s,_lerc_decode_4D:c}=t;let u;const h=t=>{const r=t.map(t=>function(t){return 16+(t>>3<<3)}(t)),o=r.reduce((t,e)=>t+e),i=e(o);u=new Uint8Array(n.buffer);let s=r[0];r[0]=i;for(let t=1;t<r.length;t++){const e=r[t];r[t]=r[t-1]+s,s=e}return r};a.getBlobInfo=t=>{const e=new Uint8Array(48),o=new Uint8Array(24),[a,c,f]=h([t.length,e.length,o.length]);u.set(t,a),u.set(e,c),u.set(o,f);let d=i(a,t.length,c,f,12,3);if(d)throw r(a),new Error(`lerc-getBlobInfo: error code is ${d}`);u=new Uint8Array(n.buffer),l(u,c,e),l(u,f,o);const p=new Uint32Array(e.buffer),m=new Float64Array(o.buffer),[g,y,,w,C,b,x,v,A,k,M]=p,T={version:g,depthCount:k,width:w,height:C,validPixelCount:x,bandCount:b,blobSize:v,maskCount:A,dataType:y,minValue:m[0],maxValue:m[1],maxZerror:m[2],statistics:[],bandCountWithNoData:M};if(M&&k>1)return r(a),T;if(1===k&&1===b)return r(a),T.statistics.push({minValue:m[0],maxValue:m[1]}),T;const S=k*b*8,I=new Uint8Array(S),P=new Uint8Array(S);let E=a,R=0,L=0,U=!1;if(u.byteLength<a+2*S?(r(a),U=!0,[E,R,L]=h([t.length,S,S]),u.set(t,E)):[R,L]=h([S,S]),u.set(I,R),u.set(P,L),d=s(E,t.length,k,b,R,L),d)throw r(E),U||r(R),new Error(`lerc-getDataRanges: error code is ${d}`);u=new Uint8Array(n.buffer),l(u,R,I),l(u,L,P);const D=new Float64Array(I.buffer),O=new Float64Array(P.buffer),B=T.statistics;for(let t=0;t<b;t++)if(k>1){const e=D.slice(t*k,(t+1)*k),r=O.slice(t*k,(t+1)*k),n=Math.min.apply(null,e),o=Math.max.apply(null,r);B.push({minValue:n,maxValue:o,depthStats:{minValues:e,maxValues:r}})}else B.push({minValue:D[t],maxValue:O[t]});return r(E),U||r(R),T},a.decode=(t,e)=>{const{maskCount:i,depthCount:s,bandCount:a,width:f,height:d,dataType:p,bandCountWithNoData:m}=e,g=o[p],y=f*d,w=new Uint8Array(y*a),C=y*s*a*g.size,b=new Uint8Array(C),x=new Uint8Array(a),v=new Uint8Array(8*a),[A,k,M,T,S]=h([t.length,w.length,b.length,x.length,v.length]);u.set(t,A),u.set(w,k),u.set(b,M),u.set(x,T),u.set(v,S);const I=c(A,t.length,i,k,s,f,d,a,p,M,T,S);if(I)throw r(A),new Error(`lerc-decode: error code is ${I}`);u=new Uint8Array(n.buffer),l(u,M,b),l(u,k,w);let P=null;if(m){l(u,T,x),l(u,S,v),P=[];const t=new Float64Array(v.buffer);for(let e=0;e<x.length;e++)P.push(x[e]?t[e]:null)}return r(A),{data:b,maskData:w,noDataValues:P}}}(t)}),i)}const a={getBlobInfo:null,decode:null};function l(t,e,r){r.set(t.slice(e,e+r.length))}function c(t,e,r,n,o){if(r<2)return t;const i=new n(e*r);for(let n=0,o=0;n<e;n++)for(let s=0,a=n;s<r;s++,a+=e)i[a]=t[o++];return i}function u(t,e={}){const r=e.inputOffset??0,n=t instanceof Uint8Array?t.subarray(r):new Uint8Array(t,r),i=a.getBlobInfo(n),{data:s,maskData:l,noDataValues:u}=a.decode(n,i),{width:h,height:f,bandCount:d,depthCount:p,dataType:m,maskCount:g,statistics:y}=i,w=o[m],C=new w.ctor(s.buffer),b=[],x=[],v=h*f,A=v*p;for(let t=0;t<d;t++){const r=C.subarray(t*A,(t+1)*A);if(e.returnInterleaved)b.push(r);else{const t=c(r,v,p,w.ctor);b.push(t)}x.push(l.subarray(t*A,(t+1)*A))}const k=0===g?null:1===g?x[0]:new Uint8Array(v);if(g>1){k.set(x[0]);for(let t=1;t<x.length;t++){const e=x[t];for(let t=0;t<v;t++)k[t]=k[t]&e[t]}}const{noDataValue:M}=e,T=null!=M&&w.range[0]<=M&&w.range[1]>=M;if(g>0&&T)for(let t=0;t<d;t++){const e=b[t],r=x[t]||k;for(let t=0;t<v;t++)0===r[t]&&(e[t]=M)}const S=g===d&&d>1?x:null,{pixelType:I}=w;return{width:h,height:f,bandCount:d,pixelType:I,depthCount:p,statistics:y,pixels:b,mask:k,bandMasks:S,noDataValues:u}}},47520(t,e,r){r.d(e,{$Q:()=>L,$i:()=>G,AB:()=>l,Ew:()=>C,Hx:()=>y,J$:()=>O,L:()=>F,QF:()=>N,UK:()=>d,Wt:()=>M,Wy:()=>c,XU:()=>k,YD:()=>v,_F:()=>g,bL:()=>w,dK:()=>A,eH:()=>f,et:()=>s,lD:()=>D,qL:()=>h,z$:()=>I,z7:()=>S,zg:()=>u});var n=r(34727),o=r(94778),i=r(14140);const s=9,a="PixelID";function l(t){return null!=t&&t.pixels?.length>0}function c(t){if(!t?.length||t.some(t=>!l(t)))return null;if(1===t.length)return t[0]?.clone()??null;const e=t,{width:r,height:n,pixelType:o}=e[0];if(e.some(t=>t.width!==r||t.height!==n))return null;const s=e.map(({mask:t})=>t).filter(t=>null!=t);let a=null;s.length&&(a=new Uint8Array(r*n),a.set(s[0]),s.length>1&&v(s.slice(1),a));const c=[];e.forEach(({pixels:t})=>c.push(...t));const u=null!=a&&c.length===e.length?e.map(({width:t,height:e,mask:r})=>r??new Uint8Array(t*e).fill(255)):null,h=e.map(({statistics:t})=>t).filter(t=>t?.length),f=[];return h.forEach(t=>f.push(...t)),new i.A({pixelType:o,width:r,height:n,mask:a,bandMasks:u,pixels:c,statistics:f.length?f:null})}function u(t){if(!t)return;const e=t.colormap;if(!e||0===e.length)return;const r=e.sort((t,e)=>t[0]-e[0]),n=r[0][0]<0?r[0][0]:0,o=Math.max(256,r[r.length-1][0]-n+1),i=new Uint8Array(4*o),s=[],a=5===r[0].length;if(o>65536)return r.forEach(t=>{s[t[0]-n]=a?t.slice(1):t.slice(1).concat([255])}),{indexed2DColormap:s,offset:n,alphaSpecified:a};if(t.fillUnspecified){let t=r[0];for(let e=t[0]-n,s=0;e<o;e++)i[4*e]=t[1],i[4*e+1]=t[2],i[4*e+2]=t[3],i[4*e+3]=a?t[4]:255,e===t[0]-n&&(t=s===r.length-1?t:r[++s])}else for(let t=0;t<r.length;t++){const e=r[t],o=4*(e[0]-n);i[o]=e[1],i[o+1]=e[2],i[o+2]=e[3],i[o+3]=a?e[4]:255}return{indexedColormap:i,offset:n,alphaSpecified:a}}function h(t,e){if(!l(t))return t;if(!e||!e.indexedColormap&&!e.indexed2DColormap)return t;const r=t.clone(),n=r.pixels;let o=r.mask;const i=r.width*r.height;if(1!==n.length)return t;const{indexedColormap:s,indexed2DColormap:a,offset:c,alphaSpecified:u}=e,h=n[0],f=new Uint8Array(h.length),d=new Uint8Array(h.length),p=new Uint8Array(h.length);let m,g=0;if(s){const t=s.length-1;if(null!=o)for(let e=0;e<i;e++)o[e]&&(g=4*(h[e]-c),g<c||g>t?o[e]=0:(f[e]=s[g],d[e]=s[g+1],p[e]=s[g+2],o[e]=s[g+3]));else{o=new Uint8Array(i);for(let e=0;e<i;e++)g=4*(h[e]-c),g<c||g>t?o[e]=0:(f[e]=s[g],d[e]=s[g+1],p[e]=s[g+2],o[e]=s[g+3]);r.mask=o}}else if(a)if(null!=o)for(let t=0;t<i;t++)o[t]&&(m=a[h[t]],f[t]=m[0],d[t]=m[1],p[t]=m[2],o[t]=m[3]);else{o=new Uint8Array(i);for(let t=0;t<i;t++)m=a[h[t]],f[t]=m[0],d[t]=m[1],p[t]=m[2],o[t]=m[3];r.mask=o}return r.pixels=[f,d,p],r.statistics=null,r.pixelType="u8",r.maskIsAlpha=u,r}function f(t,e){if(!l(t))return null;const{pixels:r,mask:n}=t,o=r.length;let s=e.lut;const{offset:a}=e;s&&1===s[0].length&&(s=r.map(()=>s));const c=[],u=e.outputPixelType||"u8";for(let t=0;t<o;t++){const e=d(r[t],n,s[t],a||0,u);c.push(e)}const h=new i.A({width:t.width,height:t.height,pixels:c,mask:n,pixelType:u});return h.updateStatistics(),h}function d(t,e,r,n,o){const s=t.length,a=i.A.createEmptyBand(o,s);if(e)for(let o=0;o<s;o++)e[o]&&(a[o]=r[t[o]-n]);else for(let e=0;e<s;e++)a[e]=r[t[e]-n];return a}function p(t,e,r,n){const{width:o,height:i,pixels:s,mask:a}=t,l=o*i,{bandId:c,ranges:u}=r,h=s[c];if(!h)return;const f=1===u.length,[d,p]=u[0];for(let t=0;t<l;t++)if(!a||a[t]){const r=h[t];if(f)r>=d&&r<=p&&(e[t]=n);else for(let o=0;o<u.length;o++){const[i,s]=u[o];if(r>=i&&r<=s){e[t]=n;break}}}}function m(t,e,r,n){const{width:o,height:i,xyMask:s,xBandId:a,yBandId:l,xBandRange:c,yBandRange:u}=r,{pixels:h,mask:f}=t,d=h[a],p=h[l],[m,g]=c,[y,w]=u,C=(g-m)/o,b=(w-y)/i;for(let t=0;t<d.length;t++)if(!f||f[t]){let r=d[t],a=p[t];if(r<m||r>g||a<y||a>w)continue;s?(r=(r-m)*C,r=r>o-1?o-1:r<0?0:255&r,a=(w-a)*b,a=a>i-1?i-1:a<0?0:255&a,s[a*o+r]&&(e[t]=n)):e[t]=n}}function g(t){const{pixelBlock:e,renderedPixelBlock:r,highlightOptions:n}=t;if(!l(e))return;const{width:o,height:i}=e,s=o*i,a=new Uint8Array(s);for(let t=1;t<=n.length;t++){const r=n[t-1];"bandId"in r?p(e,a,r,t):m(e,a,r,t)}const{pixels:c}=r;1===c.length&&(c[1]=c[0].slice(),c[2]=c[0].slice());const u=n.map(t=>t.color),[h,f,d]=c;if(r.mask){const t=r.mask;for(let e=0;e<s;e++)if(t[e]){t[e]=255;const r=a[e];if(r){const n=u[r-1];h[e]=n[0],f[e]=n[1],d[e]=n[2],t[e]=n[3]}}}else{const t=new Uint8Array(s).fill(255);for(let e=0;e<s;e++){const r=a[e];if(r){const n=u[r-1];h[e]=n[0],f[e]=n[1],d[e]=n[2],t[e]=n[3]}}r.mask=t}r.maskIsAlpha=!0}function y(t,e){if(!l(t))return null;const r=t.clone(),{pixels:n}=r,o=r.width*r.height,i=e.length,s=Math.floor(i/2),a=e[Math.floor(s)],c=n[0],u=new Uint8Array(o),h=new Uint8Array(o),f=new Uint8Array(o);let d=r.mask;const p=4===e[0].mappedColor.length;d||(d=new Uint8Array(o),d.fill(p?255:1),r.mask=d);for(let t=0;t<o;t++)if(d[t]){const r=c[t];let n=!1,o=s,l=a,p=0,m=i-1;for(;m-p>1;){if(r===l.value){n=!0;break}r>l.value?p=o:m=o,o=Math.floor((p+m)/2),l=e[Math.floor(o)]}n||(r===e[p].value?(l=e[p],n=!0):r===e[m].value?(l=e[m],n=!0):r<e[p].value?n=!1:r>e[p].value&&(r<e[m].value?(l=e[p],n=!0):m===i-1?n=!1:(l=e[m],n=!0))),n?(u[t]=l.mappedColor[0],h[t]=l.mappedColor[1],f[t]=l.mappedColor[2],d[t]=l.mappedColor[3]):u[t]=h[t]=f[t]=d[t]=0}return r.pixels=[u,h,f],r.mask=d,r.pixelType="u8",r.maskIsAlpha=p,r}function w(t,e,r=!1){const o=1e-5,i=new Float32Array(3*s),a=e.length;for(let l=0;l<s;l++)i[3*l]=t[2*l]??n.pq-1,i[3*l+1]=t[2*l+1]??n.pq,i[3*l+2]=e[l]??0,l<a&&(l>0&&(i[3*l]-=o),t[2*l+1]!==t[2*l]&&(l<a-1||!r)&&(i[3*l+1]-=o));return i}function C(t,e){if(!l(t))return null;const{width:r,height:n}=t,{inputRanges:s,outputValues:a,outputPixelType:c,noDataRanges:u,allowUnmatched:h,replacementValue:f,isLastInputRangeInclusive:d}=e,p=t.pixels[0],m=i.A.createEmptyBand(c,p.length),g=t.mask,y=new Uint8Array(r*n);g?y.set(g):y.fill(255);const w=t.pixelType.startsWith("f")?1e-6:0,C=s.map(t=>t-w);C[0]=s[0],C[C.length-1]=s[s.length-1]+(d?1e-6:0);const b=s.length/2,[x,v]=(0,o.hP)(c);for(let t=0;t<n;t++)for(let e=0;e<r;e++){const n=t*r+e;if(y[n]){const t=p[n];let e=!1;for(let r=b-1;r>=0;r--)if(t===s[2*r]||t>C[2*r]&&t<C[2*r+1]){m[n]=a[r],e=!0;break}e||(h?m[n]=t>v?v:t<x?x:f??t:y[n]=0)}}const A=u?.length;if(A)for(let t=0;t<n;t++)for(let e=0;e<r;e++){const n=t*r+e;if(!g||g[n]){const t=p[n];for(let e=0;e<A;e+=2)if(t>=u[e]&&t<=u[e+1]){m[n]=0,y[n]=0;break}}}return new i.A({width:r,height:n,pixelType:c,pixels:[m],mask:y})}function b(t,e,r,n){const o=null!=r&&r.length>=2?new Set(r):null,i=1===r?.length?r[0]:null,s=!!e?.length;for(let r=0;r<t.length;r++)if(n[r]){const a=t[r];if(s){let t=!1;for(let r=0;r<e.length;r+=2)if(a>=e[r]&&a<=e[r+1]){t=!0;break}t||(n[r]=0)}n[r]&&(a===i||o?.has(a))&&(n[r]=0)}}function x(t,e){const r=t[0].length;e??=new Uint8Array(r).fill(255);for(let n=0;n<r;n++)if(e[n]){let r=!1;for(let e=0;e<t.length;e++)if(t[e][n]){r=!0;break}r||(e[n]=0)}return e}function v(t,e){const r=t[0].length;e??=new Uint8Array(r).fill(255);for(let n=0;n<r;n++)if(e[n]){let r=!1;for(let e=0;e<t.length;e++)if(0===t[e][n]){r=!0;break}r&&(e[n]=0)}return e}function A(t,e){if(!l(t))return null;const{width:r,height:n,pixels:o}=t,s=r*n,a=new Uint8Array(s);t.mask?a.set(t.mask):a.fill(255);const c=o.length,{includedRanges:u,noDataValues:h,outputPixelType:f,matchAll:p,lookups:m}=e;if(m){const t=[];for(let e=0;e<c;e++){const r=m[e],n=d(o[e],a,r.lut,r.offset||0,"u8");t.push(n)}1===t.length?a.set(t[0]):p?x(t,a):v(t,a)}else if(p){const t=[];for(let e=0;e<c;e++){const r=new Uint8Array(s);r.set(a),b(o[e],u?.slice(2*e,2*e+2),h?.[e],r),t.push(r)}1===t.length?a.set(t[0]):x(t,a)}else for(let t=0;t<c;t++)b(o[t],u?.slice(2*t,2*t+2),h?.[t],a);return new i.A({width:r,height:n,pixelType:f,pixels:o,mask:a})}function k(t){const{srcPixelType:e,inputRanges:r,outputValues:n,allowUnmatched:s,noDataRanges:a,isLastInputRangeInclusive:l,outputPixelType:c}=t;if("u8"!==e&&"s8"!==e&&"u16"!==e&&"s16"!==e)return null;const u=e.includes("16")?65536:256,h=e.includes("s")?-u/2:0,f=i.A.createEmptyBand(c,u),d=new Uint8Array(u);s&&d.fill(255);const[p,m]=(0,o.hP)(c);if(r?.length&&n?.length){const t=1e-6,e=r.map(e=>e-t);e[0]=r[0],l&&(e[e.length-1]=r[r.length-1]);for(let t=0;t<e.length;t++){const o=n[t]>m?m:n[t]<p?p:n[t],i=Math.ceil(e[2*t]-h),s=r[2*t+1]===r[2*t]?i:Math.floor(e[2*t+1]-h);for(let t=i;t<=s;t++)f[t]=o,d[t]=255}}if(a?.length)for(let t=0;t<a.length;t++){const e=Math.ceil(a[2*t]-h),r=Math.floor(a[2*t+1]-h);for(let t=e;t<=r;t++)d[t]=0}return{lut:f,offset:h,mask:d}}function M(t,e,r){if("u8"!==t&&"s8"!==t&&"u16"!==t&&"s16"!==t)return null;const n=t.includes("16")?65536:256,o=t.includes("s")?-n/2:0,i=new Uint8Array(n);if(e)for(let t=0;t<e.length;t++){const r=Math.ceil(e[2*t]-o),n=Math.floor(e[2*t+1]-o);for(let t=r;t<=n;t++)i[t]=255}else i.fill(255);if(r)for(let t=0;t<r.length;t++)i[r[t]-o]=0;return{lut:i,offset:o}}function T(t,e,r,n,o,i){const{width:s,height:a}=r.block,{x:l,y:c}=r.offset,{width:u,height:h}=r.mosaic,f=function(t,e,r,n,o,i,s,a){return{xmin:o<=r*t?0:o<r*t+t?o-r*t:t,ymin:i<=n*e?0:i<n*e+e?i-n*e:e,xmax:o+s<=r*t?0:o+s<r*t+t?o+s-r*t:t,ymax:i+a<=n*e?0:i+a<n*e+e?i+a-n*e:e}}(s,a,n,o,l,c,u,h);let d=0,p=0;if(i){const t=i.hasGCSSShiftTransform?360:i.halfWorldWidth??0,e=s*i.resolutionX,r=i.startX+n*e;r<t&&r+e>t?p=i.rightPadding:r>=t&&(d=i.leftMargin-i.rightPadding,p=0)}if(f.xmax-=p,"number"!=typeof e)for(let r=f.ymin;r<f.ymax;r++){const i=(o*a+r-c)*u+(n*s-l)+d,h=r*s;for(let r=f.xmin;r<f.xmax;r++)t[i+r]=e[h+r]}else for(let r=f.ymin;r<f.ymax;r++){const i=(o*a+r-c)*u+(n*s-l)+d;for(let r=f.xmin;r<f.xmax;r++)t[i+r]=e}}function S(t,e,r={}){const{clipOffset:n,clipSize:o,alignmentInfo:s,blockWidths:a}=r;if(a)return function(t,e,r){const n=t.find(t=>null!=t);if(null==n)return null;const o=t.some(t=>null==t||!!t.mask),{width:s,height:a}=e,c=o?new Uint8Array(s*a):null,{blockWidths:u}=r,h=[],f=n.getPlaneCount(),d=i.A.getPixelArrayConstructor(n.pixelType);if(o)for(let e=0,r=0;e<t.length;r+=u[e],e++){const n=t[e];if(!l(n))continue;const o=n.mask;for(let t=0;t<a;t++)for(let i=0;i<u[e];i++)c[t*s+i+r]=null==o?255:o[t*n.width+i]}const p=t.some(t=>t?.bandMasks&&t.bandMasks.length>1),m=p?[]:void 0,g=s*a;for(let e=0;e<f;e++){const r=new d(g),n=p?new Uint8Array(g):void 0;for(let o=0,i=0;o<t.length;i+=u[o],o++){const c=t[o];if(!l(c))continue;const h=c.pixels[e];if(null!=h){for(let t=0;t<a;t++)for(let e=0;e<u[o];e++)r[t*s+e+i]=h[t*c.width+e];if(n){const t=c.bandMasks?.[e]??c.mask;for(let e=0;e<a;e++)for(let r=0;r<u[o];r++)n[e*s+r+i]=t?t[e*c.width+r]:255}}}h.push(r),m&&n&&m.push(n)}const y=new i.A({width:s,height:a,mask:c,bandMasks:m,pixels:h,pixelType:n.pixelType});return y.updateStatistics(),y}(t,e,{blockWidths:a});const c=t.find(t=>l(t));if(null==c)return null;const u=o?o.width:e.width,h=o?o.height:e.height,f=c.width,d=c.height,p=e.width/f,m=e.height/d,g={offset:n||{x:0,y:0},mosaic:o||e,block:{width:f,height:d}},y=c.pixelType,w=i.A.getPixelArrayConstructor(y),C=c.pixels.length,b=[];let x,v;for(let e=0;e<C;e++){v=new w(u*h);for(let r=0;r<m;r++)for(let n=0;n<p;n++){const o=t[r*p+n];l(o)&&(x=o.pixels[e],T(v,x,g,n,r,s))}b.push(v)}const A=t.some(t=>null==t||null!=t.mask&&t.mask.length>0),k=t.some(t=>t?.bandMasks&&t.bandMasks.length>1),M=A?new Uint8Array(u*h):void 0,S=k?[]:void 0;if(M){for(let e=0;e<m;e++)for(let r=0;r<p;r++){const n=t[e*p+r],o=null!=n?n.mask:null;T(M,null!=o?o:n?255:0,g,r,e,s)}if(S)for(let e=0;e<C;e++){const r=new Uint8Array(u*h);for(let n=0;n<m;n++)for(let o=0;o<p;o++){const i=t[n*p+o],a=i?.bandMasks?.[e]??i?.mask;T(r,null!=a?a:i?255:0,g,o,n,s)}S.push(r)}}const I=new i.A({width:u,height:h,pixels:b,pixelType:y,bandMasks:S,mask:M});return I.updateStatistics(),I}function I(t,e,r){if(!l(t))return null;const{width:n,height:o}=t,i=e.x,s=e.y,a=r.width+i,c=r.height+s;if(i<0||s<0||a>n||c>o)return t;if(0===i&&0===s&&a===n&&c===o)return t;t.mask||(t.mask=new Uint8Array(n*o));const u=t.mask;for(let t=0;t<o;t++){const e=t*n;for(let r=0;r<n;r++)u[e+r]=t<s||t>=c||r<i||r>=a?0:1}return t.updateStatistics(),t}function P(t){if(0===t.size)return 0;let e=0,r=-1,n=0;const o=t.keys();let i=o.next();for(;!i.done;)n=t.get(i.value),n>e&&(r=i.value,e=n),i=o.next();return r}function E(t,e,r){if(0===r)return;const n=t.get(e);1===n?t.delete(e):t.set(e,n-1)}function R(t,e,r){0!==r&&t.set(e,t.has(e)?t.get(e)+1:1)}function L(t,e,r){let{x:n,y:o}=e;const{width:s,height:a}=r;if(0===n&&0===o&&a===t.height&&s===t.width)return t;const{width:c,height:u}=t,h=Math.max(0,o),f=Math.max(0,n),d=Math.min(n+s,c),p=Math.min(o+a,u);if(d<0||p<0||!l(t))return null;n=Math.max(0,-n),o=Math.max(0,-o);const{pixels:m}=t,g=s*a,y=m.length,w=[];for(let e=0;e<y;e++){const r=m[e],a=i.A.createEmptyBand(t.pixelType,g);for(let t=h;t<p;t++){const e=t*c;let i=(t+o-h)*s+n;for(let t=f;t<d;t++)a[i++]=r[e+t]}w.push(a)}const C=new Uint8Array(g),b=t.mask;for(let t=h;t<p;t++){const e=t*c;let r=(t+o-h)*s+n;for(let t=f;t<d;t++)C[r++]=b?b[e+t]:1}const x=new i.A({width:r.width,height:r.height,pixelType:t.pixelType,pixels:w,mask:C});return x.updateStatistics(),x}function U(t,e=!0){if(!l(t))return null;const{pixels:r,width:n,height:o,mask:s,pixelType:a}=t,c=[],u=Math.round(n/2),h=Math.round(o/2),f=o-1,d=n-1;for(let t=0;t<r.length;t++){const s=r[t],l=i.A.createEmptyBand(a,u*h);let p=0;for(let t=0;t<o;t+=2)for(let r=0;r<n;r+=2){const o=s[t*n+r];if(e){const e=r===d?o:s[t*n+r+1],i=t===f?o:s[t*n+r+n],a=r===d?i:t===f?e:s[t*n+r+n+1];l[p++]=(o+e+i+a)/4}else l[p++]=o}c.push(l)}let p=null;if(null!=s){p=new Uint8Array(u*h);let t=0;for(let r=0;r<o;r+=2)for(let o=0;o<n;o+=2){const i=s[r*n+o];if(e){const e=o===d?i:s[r*n+o+1],a=r===f?i:s[r*n+o+n],l=o===d?a:r===f?e:s[r*n+o+n+1];p[t++]=i*e*a*l?1:0}else p[t++]=i}}return new i.A({width:u,height:h,pixelType:a,pixels:c,mask:p})}function D(t,e,r=0,n=!0){if(!l(t))return null;const{width:o,height:i}=e;let{width:s,height:a}=t;const c=new Map,u={x:0,y:0},h=1+r;let f=t;for(let t=0;t<h;t++){const r=Math.ceil(s/o),l=Math.ceil(a/i);for(let n=0;n<l;n++){u.y=n*i;for(let i=0;i<r;i++){u.x=i*o;const r=L(f,u,e);c.set(`${t}/${n}/${i}`,r)}}t<h-1&&(f=U(f,n)),s=Math.round(s/2),a=Math.round(a/2)}return c}function O(t){const{pixelBlock:e,tileSize:r,level:n,row:o,col:i,useBilinear:s}=t;if(!l(e))return null;const{width:a,height:c}=r,u=2**n,h=u*a,f=u*c;let d=L(e,{y:o*f,x:i*h},{width:h,height:f});if(!d)return null;for(let t=n;t>0;t--)d=U(d,s);return d}function B(t,e,r,n,o=0){const{width:i,height:s}=t,{width:a,height:l}=e,c=n.cols,u=n.rows,h=Math.ceil(a/c-.1/c),f=Math.ceil(l/u-.1/u);let d,p,m,g,y,w,C;const b=h*c,x=b*f*u,v=new Float32Array(x),A=new Float32Array(x),k=new Uint32Array(x),M=new Uint32Array(x);let T,S,I=0;for(let t=0;t<f;t++)for(let e=0;e<h;e++){d=12*(t*h+e),p=r[d],m=r[d+1],g=r[d+2],y=r[d+3],w=r[d+4],C=r[d+5];for(let r=0;r<u;r++){I=(t*u+r)*b+e*c,S=(r+.5)/u;for(let t=0;t<r;t++)T=(t+.5)/c,v[I+t]=(p*T+m*S+g)*i+o,A[I+t]=(y*T+w*S+C)*s+o,k[I+t]=Math.floor(v[I+t]),M[I+t]=Math.floor(A[I+t])}d+=6,p=r[d],m=r[d+1],g=r[d+2],y=r[d+3],w=r[d+4],C=r[d+5];for(let r=0;r<u;r++){I=(t*u+r)*b+e*c,S=(r+.5)/u;for(let t=r;t<c;t++)T=(t+.5)/c,v[I+t]=(p*T+m*S+g)*i+o,A[I+t]=(y*T+w*S+C)*s+o,k[I+t]=Math.floor(v[I+t]),M[I+t]=Math.floor(A[I+t])}}return{offsets_x:v,offsets_y:A,offsets_xi:k,offsets_yi:M,gridWidth:b}}function N(t,e){const{coefficients:r,spacing:n}=e,{offsets_x:o,offsets_y:i,gridWidth:s}=B(t,t,r,{rows:n[0],cols:n[1]}),{width:a,height:l}=t,c=new Float32Array(a*l),u=180/Math.PI;for(let t=0;t<l;t++)for(let e=0;e<a;e++){const r=t*s+e,n=0===t?r:r-s,h=t===l-1?r:r+s,f=o[n]-o[h],d=i[h]-i[n];if(isNaN(f)||isNaN(d))c[t*a+e]=90;else{let r=Math.atan2(d,f)*u;r=(360+r)%360,c[t*a+e]=r}}return c}function G(t,e,r,n,o="nearest"){if(!l(t))return null;"majority"===o&&(t=function(t){if(!l(t))return null;const e=t.clone(),{width:r,height:n,pixels:o}=t,i=o[0],s=e.pixels[0],a=t.mask;for(let t=2;t<n-1;t++){const e=new Map;for(let n=t-2;n<t+2;n++)for(let t=0;t<4;t++){const o=n*r+t;R(e,i[o],a?a[o]:1)}s[t*r]=P(e),s[t*r+1]=s[t*r+2]=s[t*r];let n=3;for(;n<r-1;n++){let o=(t-2)*r+n+1;R(e,i[o],a?a[o]:1),o=(t-1)*r+n+1,R(e,i[o],a?a[o]:1),o=t*r+n+1,R(e,i[o],a?a[o]:1),o=(t+1)*r+n+1,R(e,i[o],a?a[o]:1),o=(t-2)*r+n-3,E(e,i[o],a?a[o]:1),o=(t-1)*r+n-3,E(e,i[o],a?a[o]:1),o=t*r+n-3,E(e,i[o],a?a[o]:1),o=(t+1)*r+n-3,E(e,i[o],a?a[o]:1),s[t*r+n]=P(e)}s[t*r+n+1]=s[t*r+n]}for(let t=0;t<r;t++)s[t]=s[r+t]=s[2*r+t],s[(n-1)*r+t]=s[(n-2)*r+t];return e.updateStatistics(),e}(t));const{pixels:s,mask:a,bandMasks:c,pixelType:u}=t,h=t.width,f=t.height,d=i.A.getPixelArrayConstructor(u),p=s.length,{width:m,height:g}=e;let y=!1;for(let t=0;t<r.length;t+=3)-1===r[t]&&-1===r[t+1]&&-1===r[t+2]&&(y=!0);const{offsets_x:w,offsets_y:C,offsets_xi:b,offsets_yi:x,gridWidth:v}=B({width:h,height:f},e,r,n,"majority"===o?.5:0);let A;const k=(t,e,r,n)=>{const o=t instanceof Float32Array||t instanceof Float64Array?0:.5;for(let i=0;i<g;i++){A=i*v;for(let s=0;s<m;s++){if(w[A]<0||C[A]<0)t[i*m+s]=0;else if(n)t[i*m+s]=e[b[A]+x[A]*h];else{const n=Math.floor(w[A]),a=Math.floor(C[A]),l=Math.ceil(w[A]),c=Math.ceil(C[A]),u=w[A]-n,f=C[A]-a;if(!r||r[n+a*h]&&r[l+a*h]&&r[n+c*h]&&r[l+c*h]){const r=(1-u)*e[n+a*h]+u*e[l+a*h],d=(1-u)*e[n+c*h]+u*e[l+c*h];t[i*m+s]=(1-f)*r+f*d+o}else t[i*m+s]=e[b[A]+x[A]*h]}A++}}},M=[];let T;const S=c?.length===p,I=[];for(let t=0;t<p;t++){if(S){const e=new Uint8Array(m*g);k(e,c[t],c[t],!0),I.push(e)}T=new d(m*g),k(T,s[t],S?c[t]:a,"nearest"===o||"majority"===o),M.push(T)}const L=new i.A({width:m,height:g,pixelType:u,pixels:M,bandMasks:S?I:void 0});if(null!=a)L.mask=new Uint8Array(m*g),k(L.mask,a,a,!0);else if(y){L.mask=new Uint8Array(m*g);for(let t=0;t<m*g;t++)L.mask[t]=w[t]<0||C[t]<0?0:1}return L.updateStatistics(),L}function F(t){const{pixelBlock:e,extent:r,fieldNames:n,skipFactor:o,skipSpatialReference:i=!1,pixelIdOffset:s=0}=t,l=[],{width:c,height:u,pixels:h,mask:f}=e,d=t.imageRowSize??c,p=r.width/c,m=r.height/u,g=h.length,y=Math.floor(o/2),{xmin:w,ymax:C}=r,b=i?void 0:r.spatialReference.toJSON();for(let t=y;t<u;t+=o)for(let e=y;e<c;e+=o){const r=t*c+e;if(!f||f[r]){const o={x:w+(e+.5)*p,y:C-(t+.5)*m,spatialReference:b},i={[a]:s+t*d+e};for(let t=0;t<g;t++)i[n[t+1]]=h[t][r];l.push({geometry:o,attributes:i})}}return l}},51181(t,e,r){r.d(e,{E0:()=>p,PP:()=>m,SC:()=>h,di:()=>d,fw:()=>u,ng:()=>a,rk:()=>s,yy:()=>f});var n=r(47520),o=r(14140),i=r(4151);const s=1/111e3;function a(t){let{altitude:e,azimuth:r}=t;const{hillshadeType:n,pixelSizePower:o=1,pixelSizeFactor:i=1,scalingType:a,isGCS:l,resolution:c}=t,u="multi-directional"===n?2*t.zFactor:t.zFactor,{x:h,y:f}=c;let d=u/(8*h),p=u/(8*f);if(l&&u>.001&&(d/=s,p/=s),"adjusted"===a)if(l){const t=h*s,e=f*s;d=(u+t**o*i)/(8*t),p=(u+e**o*i)/(8*e)}else d=(u+h**o*i)/(8*h),p=(u+f**o*i)/(8*f);let m=(90-e)*Math.PI/180,g=Math.cos(m),y=(360-r+90)*Math.PI/180,w=Math.sin(m)*Math.cos(y),C=Math.sin(m)*Math.sin(y);const b=[315,270,225,360,180,0],x=[60,60,60,60,60,90],v=new Float32Array([3,5,3,2,1,4]),A=v.reduce((t,e)=>t+e),k=v.map(t=>t/A),M="multi-directional"===n?b.length:1,T=new Float32Array(6),S=new Float32Array(6),I=new Float32Array(6);if("multi-directional"===n)for(let t=0;t<M;t++)e=x[t],r=b[t],m=(90-e)*Math.PI/180,g=Math.cos(m),y=(360-r+90)*Math.PI/180,w=Math.sin(m)*Math.cos(y),C=Math.sin(m)*Math.sin(y),T[t]=g,S[t]=w,I[t]=C;else T.fill(g),S.fill(w),I.fill(C);return{resolution:c,factor:[d,p],sinZcosA:w,sinZsinA:C,cosZ:g,sinZcosAs:[...S],sinZsinAs:[...I],cosZs:[...T],weights:[...k],hillshadeType:["traditional","multi-directional"].indexOf(n)}}function l(t,e){const{width:r,height:n}=t,o=r*n,i=new Uint8Array(o),s=null!=t.mask;let a;if(s){a=new Uint8Array(t.mask);for(let t=0;t<a.length;t++)a[t]&&(i[t]=1,a[t]=1)}const l=t.pixels[0],c=new Float32Array(o),u=new Float32Array(o);let h,f=0;if(e){const{resolution:t}=e,r=t?(t.x+t.y)/2:1;f=200*e.zFactor/(r*r),h=new Float32Array(o)}const d=e?.curvatureType;let p,m,g,y,w,C,b,x;for(let t=1;t<n-1;t++){const e=t*r;for(let t=1;t<r-1;t++){const n=e+t;if(0!==a?.[n]){if(a){if(a[n-r-1]+a[n-r]+a[n-r+1]+a[n-1]+a[n+1]+a[n+r-1]+a[n+r]+a[n+r+1]<7){i[n]=0;continue}p=a[n-r-1]?l[n-r-1]:l[n],m=a[n-r]?l[n-r]:l[n],g=a[n-r+1]?l[n-r+1]:l[n],y=a[n-1]?l[n-1]:l[n],w=a[n+1]?l[n+1]:l[n],C=a[n+r-1]?l[n+r-1]:l[n],b=a[n+r]?l[n+r]:l[n],x=a[n+r+1]?l[n+r+1]:l[n]}else p=l[n-r-1],m=l[n-r],g=l[n-r+1],y=l[n-1],w=l[n+1],C=l[n+r-1],b=l[n+r],x=l[n+r+1];if(c[n]=g+w+w+x-(p+y+y+C),u[n]=C+b+b+x-(p+m+m+g),null!=h){const t=l[n],e=.5*(y+w)-t,r=.5*(m+b)-t;if("standard"===d)h[n]=-f*(e+r);else{const t=(-p+g+C-x)/4,o=(-y+w)/2,i=(m-b)/2,s=o*o,a=i*i,l=s+a;l&&(h[n]="profile"===d?f*(e*s+r*a+t*o*i)/l:-f*(e*a+r*s-t*o*i)/l)}}}}}return{outMask:s?i:null,dzxs:c,dzys:u,curvatures:h}}function c(t,e,r){for(let n=0;n<r;n++)t[n*e]=t[n*e+1],t[(n+1)*e-1]=t[(n+1)*e-2];for(let n=1;n<e-1;n++)t[n]=t[n+e],t[n+(r-1)*e]=t[n+(r-2)*e]}function u(t,e){if(!(0,n.AB)(t))return t;const{factor:r,sinZcosA:s,sinZsinA:u,cosZ:h,sinZcosAs:f,sinZsinAs:d,cosZs:p,weights:m}=a(e),[g,y]=r,w="traditional"===e.hillshadeType,{width:C,height:b}=t,x=new Uint8Array(C*b),{dzxs:v,dzys:A,outMask:k}=l(t);for(let t=1;t<b-1;t++){const e=t*C;for(let t=1;t<C-1;t++){const r=e+t;if(!k||k[r]){const t=v[r]*g,e=A[r]*y,n=Math.sqrt(1+t*t+e*e);let o=0;if(w){let r=255*(h+u*e-s*t)/n;r<0&&(r=0),o=r}else{const r=d.length;for(let i=0;i<r;i++){let r=255*(p[i]+d[i]*e-f[i]*t)/n;r<0&&(r=0),o+=r*m[i]}}x[r]=255&o}}}return c(x,C,b),new o.A({width:C,height:b,pixels:[x],mask:k,pixelType:"u8",validPixelCount:t.validPixelCount,statistics:[new i.A(0,255)]})}function h(t,e,r,o){if(!(0,n.AB)(t)||!(0,n.AB)(e))return;const{min:i,max:s}=o,a=t.pixels[0],{pixels:l,mask:c}=e,u=l[0],h=255.00001/(s-i),f=new Uint8ClampedArray(u.length),d=new Uint8ClampedArray(u.length),p=new Uint8ClampedArray(u.length),m=r.length-1;for(let t=0;t<u.length;t++){if(0===c?.[t])continue;const e=Math.floor((u[t]-i)*h),[n,o]=r[e<0?0:e>m?m:e],s=a[t],l=s*o,g=l*(1-Math.abs(n%2-1)),y=s-l;switch(Math.floor(n)){case 0:f[t]=l+y,d[t]=g+y,p[t]=y;break;case 1:f[t]=g+y,d[t]=l+y,p[t]=y;break;case 2:f[t]=y,d[t]=l+y,p[t]=g+y;break;case 3:f[t]=y,d[t]=g+y,p[t]=l+y;break;case 4:f[t]=g+y,d[t]=y,p[t]=l+y;break;case 5:case 6:f[t]=l+y,d[t]=y,p[t]=g+y}}t.pixels=[f,d,p],t.updateStatistics()}function f(t,e){if(!(0,n.AB)(t))return t;const r=e.zFactor,i=e.pixelSizePower??1,a=e.pixelSizeFactor??1,u=e.slopeType,h=e.isGCS,{x:f,y:d}=e.resolution;let p=r/(8*f),m=r/(8*d);h&&Math.abs(r-1)<1e-4&&(p/=s,m/=s),"adjusted"===u&&(p=(r+f**i*a)/(8*f),m=(r+d**i*a)/(8*d));const{dzxs:g,dzys:y,outMask:w}=l(t),{width:C,height:b}=t,x=new Float32Array(C*b);for(let t=1;t<b-1;t++){const e=t*C;for(let t=1;t<C-1;t++){const r=e+t;if(!w||w[r]){const n=g[r]*p,o=y[r]*m,i=Math.sqrt(n*n+o*o);x[e+t]="percent-rise"===u?100*i:57.2957795*Math.atan(i)}}}c(x,C,b);const v=new o.A({width:C,height:b,pixels:[x],mask:w,pixelType:"f32",validPixelCount:t.validPixelCount});return v.updateStatistics(),v}function d(t,e={}){if(!(0,n.AB)(t))return t;const{resolution:r}=e,s=r?1/r.x:1,a=r?1/r.y:1,{dzxs:u,dzys:h,outMask:f}=l(t),{width:d,height:p}=t,m=new Float32Array(d*p);for(let t=1;t<p-1;t++){const e=t*d;for(let t=1;t<d-1;t++){const r=e+t;if(!f||f[r]){const n=u[r]*s,o=h[r]*a;let i=-1;0===n&&0===o||(i=90-57.29578*Math.atan2(o,-n),i<0&&(i+=360),360===i?i=0:i>360&&(i%=360)),m[e+t]=i}}}return c(m,d,p),new o.A({width:d,height:p,pixels:[m],mask:f,pixelType:"f32",validPixelCount:t.validPixelCount,statistics:[new i.A(-1,360)]})}function p(t,e){if(!(0,n.AB)(t))return t;const{curvatures:r,outMask:i}=l(t,e),{width:s,height:a}=t;c(r,s,a);const u=new o.A({width:s,height:a,pixels:[r],mask:i,pixelType:"f32",validPixelCount:t.validPixelCount});return u.updateStatistics(),u}function m(t,e,r){const{hillshadeType:n,altitude:o,azimuth:i,zFactor:s,pixelSizeFactor:a,pixelSizePower:l,slopeType:c}=t;return{hillshadeType:n,altitude:o,azimuth:i,zFactor:s,pixelSizePower:l,pixelSizeFactor:a,scalingType:"scaled"===c?"adjusted":"none",resolution:e,isGCS:r}}},51927(t,e,r){r.d(e,{DP:()=>C,Nh:()=>b,Pg:()=>w,RP:()=>u,WF:()=>c,_N:()=>x,eH:()=>g,f4:()=>y,fP:()=>f,zj:()=>h,zt:()=>l});var n=r(97768),o=r(94778),i=r(14140),s=r(70274);const a=[.299,.587,.114];function l(t){if(null==t)return!1;const{max:e,min:r,size:n}=t;return(e-r)/n===1&&r>=-.5&&.5===Math.abs(r%1)&&e<=255.5}function c(t,e=256){e=Math.min(e,256);const{size:r,counts:n}=t,o=new Float64Array(r);o[0]=n[0]/e;for(let t=1;t<r;t++)o[t]=o[t-1]+n[t]/e;const i=new Uint8Array(e),s=e/o[o.length-1];if(r<=e){const n=l(t)?Math.max(0,Math.round(t.min+.5)):0;for(let t=n;t<e;t++)i[t]=t>=r+n?255:Math.min(255,Math.trunc(o[t-n]*s))}else{const t=o.map(t=>Math.min(255,Math.trunc(t*s)));for(let n=0;n<e;n++)i[n]=t[Math.round(r/e)];i[e-1]=255}return i}function u(t){const{minCutOff:e,maxCutOff:r,gamma:n,pixelType:o,rounding:i}=t;if(!["u8","u16","s8","s16"].includes(o))return null;const s=e.length,a="s8"===o?-127:"s16"===o?-32767:0,l=["u16","s16"].includes(o)?65536:256,c=[],u=[],{minOutput:f=0,maxOutput:d=255}=t,p=d-f;for(let t=0;t<s;t++)u[t]=r[t]-e[t],c[t]=0===u[t]?0:p/u[t];const m=[];if(n&&n.length>=s){const t=b(s,n);for(let o=0;o<s;o++){const s=[];for(let c=0;c<l;c++){if(0===u[o]){s[c]=f;continue}const l=c+a,h=(l-e[o])/u[o];let m=1;if(n[o]>1&&(m-=(1/p)**(h*t[o])),l<r[o]&&l>e[o]){const t=m*p*h**(1/n[o])+f;s[c]="floor"===i?Math.floor(t):"round"===i?Math.round(t):t}else l>=r[o]?s[c]=d:s[c]=f}m[o]=s}}else for(let t=0;t<s;t++){const n=[];for(let o=0;o<l;o++){const s=o+a;if(s<=e[t])n[o]=f;else if(s>=r[t])n[o]=d;else{const r=(s-e[t])*c[t]+f;n[o]="floor"===i?Math.floor(r):"round"===i?Math.round(r):r}}m[t]=n}if(null!=t.contrastOffset){const e=h(t.contrastOffset,t.brightnessOffset);for(let t=0;t<s;t++){const r=m[t];for(let t=0;t<l;t++)r[t]=e[r[t]]}}return{lut:m,offset:a}}function h(t,e){const r=Math.min(Math.max(t,-100),100),n=Math.min(Math.max(e??0,-100),100),o=new Uint8Array(256);for(let t=0;t<256;t++){let e=0;r>0&&r<100?e=(200*t-25500+510*n)/(2*(100-r))+128:r<=0&&r>-100?e=(200*t-25500+510*n)*(100+r)/2e4+128:100===r?(e=200*t-25500+256*(100-r)+510*n,e=e>0?255:0):-100===r&&(e=128),o[t]=e>255?255:e<0?0:e}return o}function f(t,e,r){const n=[];for(let o=0;o<e.length;o++){let i=0,s=0,l=0;"min"in e[o]?({min:i,max:s,avg:l}=e[o]):[i,s,l]=e[o];let c=l??0;"u8"!==t&&(c=255*(c-i)/(s-i)),r&&(c*=a[o]),n.push(d(c))}return n}function d(t){if(t<=0||t>=255)return 1;const e=t+(150===t?0:t<150?45*Math.cos(.01047*t):17*Math.sin(.021*t)),r=Math.log(t/255),n=Math.log(e/255);if(0===n)return 1;const o=r/n;return isNaN(o)?1:Math.min(9.9,Math.max(.01,o))}function p(t,e,r){let{min:n,max:o,count:i,avg:s,mode:a,median:l}=function(t,e,r=!1,n=!1){let o=1/0,i=-1/0,s=0,a=0,l=0,c=0;const u=t.length,h=new Map;for(let r=0;r<u;r++){const n=t[r];if(!e||e[r]){const t=(h.get(n)??0)+1;h.set(n,t),t>c&&(c=t,l=n),o=n<o?n:o,i=n>i?n:i,s+=n,a++}}const f=a>0?s/a:0;let d=o===i?o:void 0,p=o===i?o:void 0,m=o===i?o:void 0;if(r&&a>0&&a<2**24){let r=t.slice();if(e){let n=0;for(let o=0;o<u;o++){const i=t[o];e[o]&&(r[n++]=i)}}r=r.slice(0,a),r.sort((t,e)=>t-e);const o=a>>>1;d=a%2?r[Math.floor(o)]:(r[o-1]+r[o])/2,n&&(p=r[Math.floor(.25*a)],m=r[Math.floor(.75*a)])}return{min:o,max:i,count:a,avg:f,mode:l,median:d,quartile1:p,quartile3:m}}(t,e,!0);if(0===i)return{statistics:{min:0,max:0,avg:0,stddev:0,count:i,mode:0,median:0},histogram:null};const c={min:n,max:o,avg:s,mode:a,count:i,median:l},u=function(t,e,r,n=!1,o=!1){let i=0,s=0,a=0,l=0;for(let o=0;o<t.length;o++)if(!e||e[o]){const e=t[o]-r,c=e*e;if(i+=c,!n){const t=c*e;s+=t,a+=t*e}l++}if(l<2)return null;i/=l-1;const c=Math.sqrt(i);return n?{stddev:c}:(a/=l,{stddev:c,skewness:o?s*(l/((l-1)*(l-2)))/i**1.5:s/l/i**1.5,kurtosis:a/(i*i)})}(t,e,s,!r.includeSkewnessKurtosis);u&&(c.stddev=u.stddev,r.includeSkewnessKurtosis&&(c.skewness=u.skewness,c.kurtosis=u.kurtosis));const h=r?.histogramSize??256,f=!!r?.pixelType&&["u8","s8","u4","u2","u1"].includes(r.pixelType),d=!r?.skipHistograms;if(null==l){const r=m({band:t,mask:e,min:n,max:o,size:1e4,use8BitHistogram:f});if(l=function(t,e,r,n=50){const{counts:o,min:i,max:s,size:a}=r,l=o.reduce((t,e)=>t+e)*(n/=100);let c=0,u=0;for(;u<o.length&&(c+=o[u],!(c>=l+1));u++);const h=(s-i)/a,f=i+h*u,d=i+h*(u+1);if(1===h&&.5===Math.abs(i%1))return f+.5;const p=t.slice(0,o[u]).fill(0);for(let r=0,n=0;r<t.length;r++)if(!e||e[r]){const e=t[r];e>=f&&e<d&&(p[n++]=e)}p.sort((t,e)=>t-e);const m=c-Math.floor(l)-1;return p[Math.max(0,p.length-1-m)]}(t,e,r,50),d&&f&&256===h)return{statistics:c,histogram:r}}return d?{statistics:c,histogram:m({band:t,mask:e,min:n,max:o,size:h,use8BitHistogram:f&&256===h})}:{statistics:c,histogram:null}}function m(t){const{band:e,mask:r,min:n,max:o,use8BitHistogram:i}=t;if(i){const t=o-n+1,i=new Uint32Array(t);for(let t=0;t<e.length;t++)r&&!r[t]||i[e[t]-n]++;return{min:n-.5,max:o+.5,size:t,counts:i}}const s=t.size??256,a=new Uint32Array(s),l=(o-n)/s;if(0===l){const t=r?r.reduce((t,e)=>t+(e?1:0),0):e.length;return{min:n,max:o,size:1,counts:new Uint32Array(1).fill(t)}}const c=new Uint32Array(s+1),u=1/l;for(let t=0;t<e.length;t++)r&&!r[t]||c[Math.floor((e[t]-n)*u)]++;for(let t=0;t<s-1;t++)a[t]=c[t];return a[s-1]=c[s-1]+c[s],{min:n,max:o,size:s,counts:a}}function g(t,e){const{pixels:r,mask:n,pixelType:o,bandMasks:i}=t,s=r.map((t,r)=>p(t,i?.[r]??n,{pixelType:o,...e}));return{statistics:s.map(({statistics:t})=>t),histograms:s.map(({histogram:t})=>t)}}function y(t){if(!t?.pixels?.length)return null;const{pixels:e,mask:r,bandMasks:n,pixelType:o}=t,i=t.width*t.height,s=e.length,a=[],l=[],c=256;let u,h;for(let f=0;f<s;f++){let s=new Uint32Array(c);const d=e[f],p=n?.[f]??r;if("u8"===o){if(u=255,h=0,p){for(let t=0;t<i;t++)if(p[t]){const e=d[t];u=e<u?e:u,h=e>h?e:h,s[e]++}}else for(let t=0;t<i;t++){const e=d[t];u=e<u?e:u,h=e>h?e:h,s[e]++}s=s.slice(u,h+1)}else{let e=!1;t.statistics||(t.updateStatistics(),e=!0);const r=t.statistics;u=r[f].minValue,h=r[f].maxValue;const n=(h-u)/c;if(0===n){!r||t.validPixelCount||e||t.updateStatistics();const n=(t.validPixelCount||t.width*t.height)/c;for(let t=0;t<c;t++)s[t]=Math.round(n*(t+1))-Math.round(n*t)}else{const t=new Uint32Array(257);for(let e=0;e<i;e++)p&&!p[e]||t[Math.floor((d[e]-u)/n)]++;for(let e=0;e<255;e++)s[e]=t[e];s[255]=t[255]+t[c]}}const m="u8"===o?u-.5:u,g="u8"===o?h+.5:h;a.push({min:m,max:g,size:s.length,counts:s});let y=0,w=0,C=0;for(let t=0;t<s.length;t++)y+=s[t],w+=t*s[t];const b=w/y;for(let t=0;t<s.length;t++)C+=s[t]*(t-b)**2;const x=Math.sqrt(C/(y-1)),v=(g-m)/s.length,A=(b+("u8"===o?0:.5))*v+u,k=x*v;l.push({min:u,max:h,avg:A,stddev:k})}return{statistics:l,histograms:a}}function w(t){const e=[];for(let r=0;r<t.length;r++){const{min:n,max:o,size:i,counts:s}=t[r];let a=0,l=0;for(let t=0;t<i;t++)a+=s[t],l+=t*s[t];const c=l/a;let u=0;for(let t=0;t<i;t++)u+=s[t]*(t-c)**2;const h=(o-n)/i,f=(c+.5)*h+n,d=Math.sqrt(u/(a-1))*h;e.push({min:n,max:o,avg:f,stddev:d})}return e}function C(t,e){const{pixelBlock:r,bandIds:i,returnHistogramLut:a,rasterInfo:l}=e;let u=null,h=null,f=t.stretchType;if("number"==typeof f&&(f=s.x[f]),t.dra)if("minMax"===f&&r?.statistics)u=r.statistics.map(t=>[t.minValue,t.maxValue,0,0]);else{const t=y(r);u=null!=t?t.statistics:null,h=null!=t?t.histograms:null}else u=t.statistics?.length?t.statistics:l.statistics,h="histograms"in t?t.histograms:void 0,h||(h=l.histograms);"percentClip"!==f&&"histogramEqualization"!==f||h?.length||(f="minMax");const d=u?.length||h?.length||l.bandCount,p=[],m=[];u&&!Array.isArray(u[0])&&(u=u.map(t=>[t.min,t.max,t.avg,t.stddev]));const[g,w]=(0,o.hP)(l.pixelType);if(!u?.length){u=[];for(let t=0;t<d;t++)u.push([g,w,1,1]);"standardDeviation"===f&&(f="minMax")}switch(f){case"none":for(let t=0;t<d;t++)p[t]=g,m[t]=w;break;case"minMax":for(let t=0;t<d;t++){const e=u[t];p[t]=e[0],m[t]=e[1]}break;case"standardDeviation":{const{numberOfStandardDeviations:e=2}=t;for(let t=0;t<d;t++){const r=u[t];p[t]=r[2]-e*r[3],m[t]=r[2]+e*r[3],p[t]<r[0]&&(p[t]=r[0]),m[t]>r[1]&&(m[t]=r[1])}}break;case"histogramEqualization":(0,n.Lw)(h);for(let t=0;t<d;t++)p[t]=h[t].min,m[t]=h[t].max;break;case"percentClip":(0,n.Lw)(h);for(let e=0;e<h.length;e++){const r=h[e],n=new Uint32Array(r.size),o=[...r.counts];o.length>=20&&(o[0]=o[1]=o[2]=o[o.length-1]=o[o.length-2]=0);let i=0;const s=(r.max-r.min)/r.size,a=-.5===r.min&&1===s?.5:0;for(let t=0;t<r.size;t++)i+=o[t],n[t]=i;let l=(t.minPercent||0)*i/100;p[e]=r.min+a;for(let t=0;t<r.size;t++)if(n[t]>l){p[e]=r.min+s*(t+a);break}l=(1-(t.maxPercent||0)/100)*i,m[e]=r.max+a;for(let t=r.size-2;t>=0;t--)if(n[t]<l){m[e]=r.min+s*(t+2-a);break}if(m[e]<p[e]){const t=p[e];p[e]=m[e],m[e]=t}}break;default:for(let t=0;t<d;t++){const e=u[t];p[t]=e[0],m[t]=e[1]}}let C,b,x;return"histogramEqualization"===f?((0,n.Lw)(h),b=h[0].size||256,C=0,a&&(x=h.map(t=>c(t)))):(b=t.max||255,C=t.min||0),function(t,e){if(null==e||0===e.length)return t;const r=Math.max.apply(null,e),{minCutOff:n,maxCutOff:o,minOutput:i,maxOutput:s,histogramLut:a}=t;return n.length===e.length||n.length<=r?t:{minCutOff:e.map(t=>n[t]),maxCutOff:e.map(t=>o[t]),histogramLut:a?e.map(t=>a[t]):null,minOutput:i,maxOutput:s}}({minCutOff:p,maxCutOff:m,maxOutput:b,minOutput:C,histogramLut:x},i)}function b(t,e){const r=new Float32Array(t);for(let n=0;n<t;n++)e[n]>1?e[n]>2?r[n]=6.5+(e[n]-2)**2.5:r[n]=6.5+100*(2-e[n])**4:r[n]=1;return r}function x(t,e){if(!t?.pixels?.length)return t;const{mask:r,bandMasks:n,width:o,height:s,pixels:a}=t,{minCutOff:l,maxCutOff:c,minOutput:u,maxOutput:h,gamma:f}=e,d=o*s,p=e.outputPixelType||"u8",m=t.pixels.map(()=>i.A.createEmptyBand(p,d)),g=m.length,y=h-u,w=[],C=[];for(let t=0;t<g;t++)C[t]=c[t]-l[t],w[t]=0===C[t]?0:y/C[t];const x=p.startsWith("u")||p.startsWith("s"),v=f&&f.length>=g,A=!!e.isRenderer;if(v){const t=b(g,f);for(let e=0;e<g;e++){const o=n?.[e]??r;for(let r=0;r<d;r++)if(null==o||o[r]){if(0===C[e]){m[e][r]=u;continue}const n=a[e][r],o=(n-l[e])/C[e];let i=1;if(f[e]>1&&(i-=(1/y)**(o*t[e])),n<c[e]&&n>l[e]){const t=i*y*o**(1/f[e])+u;m[e][r]=A?Math.floor(t):x?Math.round(t):t}else n>=c[e]?m[e][r]=h:m[e][r]=u}}}else for(let t=0;t<g;t++){const e=n?.[t]??r;for(let r=0;r<d;r++)if(null==e||e[r]){const e=a[t][r];if(e<c[t]&&e>l[t]){const n=(e-l[t])*w[t]+u;m[t][r]=A?Math.floor(n):x?Math.round(n):n}else e>=c[t]?m[t][r]=h:m[t][r]=u}}const k=new i.A({width:o,height:s,mask:r,bandMasks:n,pixels:m,pixelType:p});return k.updateStatistics(),k}},58146(t,e,r){r.d(e,{DE:()=>d,CW:()=>f,S1:()=>g});var n=r(44208),o=r(53966),i=r(34727),s=r(74887),a=r(87811),l=r(78659);function c(t){const e=new Float32Array(u(t));return u(t,e),e}function u(t,e){let r=0;e&&(e[r]=t.length),r++;for(const n of t){e&&(e[r]=n.stage),r++,e&&(e[r]=n.vertices.length),r++;for(const t of n.vertices)e&&(e[r]=t.x,e[r+1]=t.y,e[r+2]=t.time,e[r+3]=t.speed),r+=4}return r}r(5443),r(21325);const h=()=>o.A.getLogger("esri.views.2d.engine.flow.dataUtils");async function f(t,e,r,o,i){const a=performance.now(),l=function(t,e){const{perturb:r}=e;if(r){const{rotation:e}=r;null!=e&&(t=function(t,e){const r=Math.cos(e),n=Math.sin(e);return(e,o)=>{const[i,s]=t(e,o);return[r*i+n*s,-n*i+r*s]}}(t,e));const{scale:n}=r;null!=n&&(t=function(t,e){return(r,n)=>{const[o,i]=t(r,n);return[o*e,i*e]}}(t,n))}return t}(d(e,r),e),u=performance.now(),f=g(e,l,r.width,r.height,o),p=performance.now(),m=function(t){const e=t.reduce((t,e)=>t+e.vertices.length,0),r=new Float32Array(4*e),n=new Array(t.length);let o=0,i=0;for(const{vertices:e}of t){const t=o;for(const t of e)r[4*o]=t.x,r[4*o+1]=t.y,r[4*o+2]=t.time,r[4*o+3]=t.speed,o++;n[i++]={startVertex:t,numberOfVertices:e.length,firstTime:e[0].time,lastTime:e[e.length-1].time}}return{lineVertices:r,lineDescriptors:n}}(f),y=performance.now(),w="Streamlines"===t?function(t,e,r){const{lineVertices:n,lineDescriptors:o}=t;let i=0,s=0;for(const t of o)i+=2*t.numberOfVertices,s+=6*(t.numberOfVertices-1);const a=new Float32Array(9*i),l=new Uint32Array(s);let u=0,h=0;function f(){l[h++]=u-2,l[h++]=u,l[h++]=u-1,l[h++]=u,l[h++]=u+1,l[h++]=u-1}function d(t,e,r,n,o,i,s,l){const c=9*u;let h=0;a[c+h++]=t,a[c+h++]=e,a[c+h++]=1,a[c+h++]=r,a[c+h++]=i,a[c+h++]=s,a[c+h++]=n/2,a[c+h++]=o/2,a[c+h++]=l,u++,a[c+h++]=t,a[c+h++]=e,a[c+h++]=-1,a[c+h++]=r,a[c+h++]=i,a[c+h++]=s,a[c+h++]=-n/2,a[c+h++]=-o/2,a[c+h++]=l,u++}for(const t of o){const{firstTime:e,lastTime:r}=t;let o=null,i=null,s=null,a=null,l=null,c=null;for(let u=0;u<t.numberOfVertices;u++){const h=n[4*(t.startVertex+u)],p=n[4*(t.startVertex+u)+1],m=n[4*(t.startVertex+u)+2],g=n[4*(t.startVertex+u)+3];let y=null,w=null,C=null,b=null;if(u>0){y=h-o,w=p-i;const t=Math.sqrt(y*y+w*w);if(y/=t,w/=t,u>1){let t=y+l,e=w+c;const r=Math.sqrt(t*t+e*e);t/=r,e/=r;const n=Math.min(1/(t*y+e*w),10);t*=n,e*=n,C=-e,b=t}else C=-w,b=y;null!==C&&null!==b&&(d(o,i,s,C,b,e,r,g),f())}o=h,i=p,s=m,l=y,c=w,a=g}d(o,i,s,-c,l,e,r,a)}const p=c(r);return{vertexData:a,indexData:l,pathData:p}}(m,0,f):function(t,e){const{lineVertices:r,lineDescriptors:n}=t;let o=0,i=0;for(const t of n){const e=t.numberOfVertices-1;o+=4*e*2,i+=6*e*2}const s=new Float32Array(16*o),a=new Uint32Array(i);let l,u,h,f,d,p,m,g,y,w,C,b,x,v,A=0,k=0;function M(t,e,r,n,o,i,a,l,c,u,h,f,d,p){const m=16*A;let g=0;for(const y of[1,2])for(const w of[1,2,3,4])s[m+g++]=t,s[m+g++]=e,s[m+g++]=r,s[m+g++]=n,s[m+g++]=a,s[m+g++]=l,s[m+g++]=c,s[m+g++]=u,s[m+g++]=y,s[m+g++]=w,s[m+g++]=d,s[m+g++]=p,s[m+g++]=o/2,s[m+g++]=i/2,s[m+g++]=h/2,s[m+g++]=f/2,A++}function T(t,e){let r=y+C,n=w+b;const o=Math.sqrt(r*r+n*n);r/=o,n/=o;const i=y*r+w*n;r/=i,n/=i;let s=C+x,c=b+v;const T=Math.sqrt(s*s+c*c);s/=T,c/=T;const S=C*s+b*c;s/=S,c/=S,M(l,u,h,f,-n,r,d,p,m,g,-c,s,t,e),a[k++]=A-8,a[k++]=A-7,a[k++]=A-6,a[k++]=A-7,a[k++]=A-5,a[k++]=A-6,a[k++]=A-4,a[k++]=A-3,a[k++]=A-2,a[k++]=A-3,a[k++]=A-1,a[k++]=A-2}function S(t,e,r,n,o,i){if(y=C,w=b,C=x,b=v,null==y&&null==w&&(y=C,w=b),null!=d&&null!=p){x=t-d,v=e-p;const r=Math.sqrt(x*x+v*v);x/=r,v/=r}null!=y&&null!=w&&T(o,i),l=d,u=p,h=m,f=g,d=t,p=e,m=r,g=n}function I(t,e){y=C,w=b,C=x,b=v,null==y&&null==w&&(y=C,w=b),null!=y&&null!=w&&T(t,e)}for(const t of n){l=null,u=null,h=null,f=null,d=null,p=null,m=null,g=null,y=null,w=null,C=null,b=null,x=null,v=null;const{firstTime:e,lastTime:n}=t;for(let o=0;o<t.numberOfVertices;o++)S(r[4*(t.startVertex+o)],r[4*(t.startVertex+o)+1],r[4*(t.startVertex+o)+2],r[4*(t.startVertex+o)+3],e,n);I(e,n)}const P=c(e);return{vertexData:s,indexData:a,pathData:P}}(m,f),C=performance.now();return(0,n.A)("esri-2d-profiler")&&(h().info("I.1","_createFlowFieldFromData (ms)",Math.round(u-a)),h().info("I.2","_getStreamlines (ms)",Math.round(p-u)),h().info("I.3","createAnimatedLinesData (ms)",Math.round(y-p)),h().info("I.4","create{Streamlines|Particles}Mesh (ms)",Math.round(C-y)),h().info("I.5","createFlowMesh (ms)",Math.round(C-a)),h().info("I.6","Mesh size (bytes)",w.vertexData.buffer.byteLength+w.indexData.buffer.byteLength)),await Promise.resolve(),(0,s.Te)(i),w}function d(t,e){const r=function(t,e,r,n){if(0===n)return t;const o=Math.round(3*n),i=new Array(2*o+1);let s=0;for(let t=-o;t<=o;t++){const e=Math.exp(-t*t/(n*n));i[t+o]=e,s+=e}for(let t=-o;t<=o;t++)i[t+o]/=s;const a=new Float32Array(t.length);for(let n=0;n<r;n++)for(let r=0;r<e;r++){let s=0,l=0;for(let a=-o;a<=o;a++){if(r+a<0||r+a>=e)continue;const c=i[a+o];s+=c*t[2*(n*e+(r+a))],l+=c*t[2*(n*e+(r+a))+1]}a[2*(n*e+r)]=s,a[2*(n*e+r)+1]=l}const l=new Float32Array(t.length);for(let t=0;t<e;t++)for(let n=0;n<r;n++){let s=0,c=0;for(let l=-o;l<=o;l++){if(n+l<0||n+l>=r)continue;const u=i[l+o];s+=u*a[2*((n+l)*e+t)],c+=u*a[2*((n+l)*e+t)+1]}l[2*(n*e+t)]=s,l[2*(n*e+t)+1]=c}return l}(e.data,e.width,e.height,t.smoothing);return t.interpolate?(t,n)=>{const o=Math.floor(t),i=Math.floor(n);if(o<0||o>=e.width)return[0,0];if(i<0||i>=e.height)return[0,0];const s=t-o,a=n-i,l=o,c=i,u=o<e.width-1?o+1:o,h=i<e.height-1?i+1:i,f=r[2*(c*e.width+l)],d=r[2*(c*e.width+u)],p=r[2*(h*e.width+l)],m=r[2*(h*e.width+u)],g=r[2*(c*e.width+l)+1],y=r[2*(c*e.width+u)+1];return[(f*(1-a)+p*a)*(1-s)+(d*(1-a)+m*a)*s,(g*(1-a)+r[2*(h*e.width+l)+1]*a)*(1-s)+(y*(1-a)+r[2*(h*e.width+u)+1]*a)*s]}:(t,n)=>{const o=Math.round(t),i=Math.round(n);return o<0||o>=e.width||i<0||i>=e.height?[0,0]:[r[2*(i*e.width+o)],r[2*(i*e.width+o)+1]]}}function p(t,e,r,n,o,s,a,c){const u=[],{raster:h,width:f,height:d,resolutionFactor:p}=c;let m=n,g=o,y=(0,l.Kp)(0),[w,C]=r(m,g);w*=e.velocityScale,C*=e.velocityScale;const b=Math.sqrt(w*w+C*C);let x,v;u.push({x:m,y:g,time:y,speed:b});for(let n=0;n<e.verticesPerLine;n++){let[n,o]=r(m,g);n*=e.velocityScale,o*=e.velocityScale;const c=Math.sqrt(n*n+o*o);if(c<e.minSpeedThreshold)return u;const w=t*n/c,C=t*o/c;m+=w*e.segmentLength,g+=C*e.segmentLength,e.wrapAround&&(m=(0,i.OS)(m,s[0]));const b=t*e.segmentLength/c;if(y=(0,l.Kp)(y+b),Math.acos(w*x+C*v)>e.maxTurnAngle)return u;if(e.collisions){let t=Math.round(m*p);const r=Math.round(g*p);if(e.wrapAround&&(t=(0,i.OS)(t,f)),t<0||t>f-1||r<0||r>d-1)return u;const n=h[r*f+t];if(-1!==n&&n!==a)return u;h[r*f+t]=a}u.push({x:m,y:g,time:y,speed:c}),x=w,v=C}return u}function m(t,e,r,n,o,i,s,a){const l=Math.round((.2+.6*s.getFloat())*t.verticesPerLine),c=t.verticesPerLine-l,u=p(-1,{...t,verticesPerLine:c},e,r,n,o,i,a),h=p(1,{...t,verticesPerLine:l},e,r,n,o,i,a),f=u.reverse();return f.splice(-1,1),f.concat(h)}function g(t,e,r,n,o){if(t.density<=0)return[];const{positions:i}=o,s=[],l=new a.A,c=1/Math.max(t.lineCollisionWidth,1),u=Math.round(r*c),h=Math.round(n*c),f=new Int32Array(u*h);for(let t=0;t<f.length;t++)f[t]=-1;const d={raster:f,width:u,height:h,resolutionFactor:c},g={},y=t.lineSpacing/Math.sqrt(t.density),w=Math.floor(n/y),C=Math.floor(r/y);for(let t=0;t<w;t++){const e=t*y;for(let r=0;r<C;r++){const n=r*y;g[`${r}-${t}`]={x:n,y:e,positions:[]}}}for(const{x:t,y:e}of i){const r=g[`${Math.floor(t/y)}-${Math.floor(e/y)}`];r&&r.positions.push([t,e])}const b=[];for(const t in g){const e=g[t];if(0===e.positions.length)b.push({x:e.x+y/2,y:e.y+y/2,sort:.66+.33*l.getFloat(),stage:0});else{const[t]=e.positions.splice(0,1);b.push({x:t[0],y:t[1],sort:.33*l.getFloat(),stage:1});for(const[t,r]of e.positions)b.push({x:t,y:r,sort:.33+.33*l.getFloat(),stage:2})}}b.sort((t,e)=>t.sort-e.sort);for(const{x:o,y:i,stage:a}of b){const c=t.onlyForwardTracing?p(1,t,e,o,i,[r,n],s.length,d):m(t,e,o,i,[r,n],s.length,l,d);c.length<2||s.push({stage:a,vertices:c})}return s}},61294(t,e,r){r.d(e,{J:()=>s});var n,o=r(11053),i={exports:{}};const s=(0,o.g)(function(){return n||(n=1,t=i,e=function(){var t=function(){function t(t){this.message="JPEG error: "+t}return t.prototype=new Error,t.prototype.name="JpegError",t.constructor=t,t}();return function(){if(!self||!self.Uint8ClampedArray)return null;var e=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),r=4017,n=799,o=3406,i=2276,s=1567,a=3784,l=5793,c=2896;function u(){this.decodeTransform=null,this.colorTransform=-1}function h(t,e){for(var r,n,o=0,i=[],s=16;s>0&&!t[s-1];)s--;i.push({children:[],index:0});var a,l=i[0];for(r=0;r<s;r++){for(n=0;n<t[r];n++){for((l=i.pop()).children[l.index]=e[o];l.index>0;)l=i.pop();for(l.index++,i.push(l);i.length<=r;)i.push(a={children:[],index:0}),l.children[l.index]=a.children,l=a;o++}r+1<s&&(i.push(a={children:[],index:0}),l.children[l.index]=a.children,l=a)}return i[0].children}function f(t,e,r){return 64*((t.blocksPerLine+1)*e+r)}function d(r,n,o,i,s,a,l,c,u){var h=o.mcusPerLine,d=o.progressive,p=n,m=0,y=0;function w(){if(y>0)return y--,m>>y&1;if(255===(m=r[n++])){var e=r[n++];if(e)throw new t("unexpected marker "+(m<<8|e).toString(16))}return y=7,m>>>7}function C(e){for(var r=e;;){if("number"==typeof(r=r[w()]))return r;if("object"!=typeof r)throw new t("invalid huffman sequence")}}function b(t){for(var e=0;t>0;)e=e<<1|w(),t--;return e}function x(t){if(1===t)return 1===w()?1:-1;var e=b(t);return e>=1<<t-1?e:e+(-1<<t)+1}var v,A=0,k=0;function M(t,e,r,n,o){var i=r%h;e(t,f(t,(r/h|0)*t.v+n,i*t.h+o))}function T(t,e,r){e(t,f(t,r/t.blocksPerLine|0,r%t.blocksPerLine))}var S,I,P,E,R,L,U=i.length;L=d?0===a?0===c?function(t,e){var r=C(t.huffmanTableDC),n=0===r?0:x(r)<<u;t.blockData[e]=t.pred+=n}:function(t,e){t.blockData[e]|=w()<<u}:0===c?function(t,r){if(A>0)A--;else for(var n=a,o=l;n<=o;){var i=C(t.huffmanTableAC),s=15&i,c=i>>4;if(0!==s){var h=e[n+=c];t.blockData[r+h]=x(s)*(1<<u),n++}else{if(c<15){A=b(c)+(1<<c)-1;break}n+=16}}}:function(r,n){for(var o,i,s=a,c=l,h=0;s<=c;){var f=e[s];switch(k){case 0:if(h=(i=C(r.huffmanTableAC))>>4,0==(o=15&i))h<15?(A=b(h)+(1<<h),k=4):(h=16,k=1);else{if(1!==o)throw new t("invalid ACn encoding");v=x(o),k=h?2:3}continue;case 1:case 2:r.blockData[n+f]?r.blockData[n+f]+=w()<<u:0===--h&&(k=2===k?3:0);break;case 3:r.blockData[n+f]?r.blockData[n+f]+=w()<<u:(r.blockData[n+f]=v<<u,k=0);break;case 4:r.blockData[n+f]&&(r.blockData[n+f]+=w()<<u)}s++}4===k&&0===--A&&(k=0)}:function(t,r){var n=C(t.huffmanTableDC),o=0===n?0:x(n);t.blockData[r]=t.pred+=o;for(var i=1;i<64;){var s=C(t.huffmanTableAC),a=15&s,l=s>>4;if(0!==a){var c=e[i+=l];t.blockData[r+c]=x(a),i++}else{if(l<15)break;i+=16}}};var D,O,B,N,G=0;for(O=1===U?i[0].blocksPerLine*i[0].blocksPerColumn:h*o.mcusPerColumn;G<O;){var F=s?Math.min(O-G,s):O;for(I=0;I<U;I++)i[I].pred=0;if(A=0,1===U)for(S=i[0],R=0;R<F;R++)T(S,L,G),G++;else for(R=0;R<F;R++){for(I=0;I<U;I++)for(B=(S=i[I]).h,N=S.v,P=0;P<N;P++)for(E=0;E<B;E++)M(S,L,G,P,E);G++}y=0,(D=g(r,n))&&D.invalid&&(console.log("decodeScan - unexpected MCU data, next marker is: "+D.invalid),n=D.offset);var V=D&&D.marker;if(!V||V<=65280)throw new t("marker was not found");if(!(V>=65488&&V<=65495))break;n+=2}return(D=g(r,n))&&D.invalid&&(console.log("decodeScan - unexpected Scan data, next marker is: "+D.invalid),n=D.offset),n-p}function p(e,u,h){var f,d,p,m,g,y,w,C,b,x,v,A,k,M,T,S,I,P=e.quantizationTable,E=e.blockData;if(!P)throw new t("missing required Quantization Table.");for(var R=0;R<64;R+=8)b=E[u+R],x=E[u+R+1],v=E[u+R+2],A=E[u+R+3],k=E[u+R+4],M=E[u+R+5],T=E[u+R+6],S=E[u+R+7],b*=P[R],0!==(x|v|A|k|M|T|S)?(x*=P[R+1],v*=P[R+2],A*=P[R+3],k*=P[R+4],M*=P[R+5],T*=P[R+6],S*=P[R+7],d=(f=(f=l*b+128>>8)+(d=l*k+128>>8)+1>>1)-d,I=(p=v)*a+(m=T)*s+128>>8,p=p*s-m*a+128>>8,w=(g=(g=c*(x-S)+128>>8)+(w=M<<4)+1>>1)-w,y=(C=(C=c*(x+S)+128>>8)+(y=A<<4)+1>>1)-y,m=(f=f+(m=I)+1>>1)-m,p=(d=d+p+1>>1)-p,I=g*i+C*o+2048>>12,g=g*o-C*i+2048>>12,C=I,I=y*n+w*r+2048>>12,y=y*r-w*n+2048>>12,w=I,h[R]=f+C,h[R+7]=f-C,h[R+1]=d+w,h[R+6]=d-w,h[R+2]=p+y,h[R+5]=p-y,h[R+3]=m+g,h[R+4]=m-g):(I=l*b+512>>10,h[R]=I,h[R+1]=I,h[R+2]=I,h[R+3]=I,h[R+4]=I,h[R+5]=I,h[R+6]=I,h[R+7]=I);for(var L=0;L<8;++L)b=h[L],0!==((x=h[L+8])|(v=h[L+16])|(A=h[L+24])|(k=h[L+32])|(M=h[L+40])|(T=h[L+48])|(S=h[L+56]))?(d=(f=4112+((f=l*b+2048>>12)+(d=l*k+2048>>12)+1>>1))-d,I=(p=v)*a+(m=T)*s+2048>>12,p=p*s-m*a+2048>>12,m=I,w=(g=(g=c*(x-S)+2048>>12)+(w=M)+1>>1)-w,y=(C=(C=c*(x+S)+2048>>12)+(y=A)+1>>1)-y,I=g*i+C*o+2048>>12,g=g*o-C*i+2048>>12,C=I,I=y*n+w*r+2048>>12,y=y*r-w*n+2048>>12,b=(b=(f=f+m+1>>1)+C)<16?0:b>=4080?255:b>>4,x=(x=(d=d+p+1>>1)+(w=I))<16?0:x>=4080?255:x>>4,v=(v=(p=d-p)+y)<16?0:v>=4080?255:v>>4,A=(A=(m=f-m)+g)<16?0:A>=4080?255:A>>4,k=(k=m-g)<16?0:k>=4080?255:k>>4,M=(M=p-y)<16?0:M>=4080?255:M>>4,T=(T=d-w)<16?0:T>=4080?255:T>>4,S=(S=f-C)<16?0:S>=4080?255:S>>4,E[u+L]=b,E[u+L+8]=x,E[u+L+16]=v,E[u+L+24]=A,E[u+L+32]=k,E[u+L+40]=M,E[u+L+48]=T,E[u+L+56]=S):(I=(I=l*b+8192>>14)<-2040?0:I>=2024?255:I+2056>>4,E[u+L]=I,E[u+L+8]=I,E[u+L+16]=I,E[u+L+24]=I,E[u+L+32]=I,E[u+L+40]=I,E[u+L+48]=I,E[u+L+56]=I)}function m(t,e){for(var r=e.blocksPerLine,n=e.blocksPerColumn,o=new Int16Array(64),i=0;i<n;i++)for(var s=0;s<r;s++)p(e,f(e,i,s),o);return e.blockData}function g(t,e,r){function n(e){return t[e]<<8|t[e+1]}var o=t.length-1,i=r<e?r:e;if(e>=o)return null;var s=n(e);if(s>=65472&&s<=65534)return{invalid:null,marker:s,offset:e};for(var a=n(i);!(a>=65472&&a<=65534);){if(++i>=o)return null;a=n(i)}return{invalid:s.toString(16),marker:a,offset:i}}return u.prototype={parse:function(r){function n(){var t=r[l]<<8|r[l+1];return l+=2,t}function o(){var t=n(),e=l+t-2,o=g(r,e,l);o&&o.invalid&&(console.log("readDataBlock - incorrect length, next marker is: "+o.invalid),e=o.offset);var i=r.subarray(l,e);return l+=i.length,i}function i(t){for(var e=Math.ceil(t.samplesPerLine/8/t.maxH),r=Math.ceil(t.scanLines/8/t.maxV),n=0;n<t.components.length;n++){G=t.components[n];var o=Math.ceil(Math.ceil(t.samplesPerLine/8)*G.h/t.maxH),i=Math.ceil(Math.ceil(t.scanLines/8)*G.v/t.maxV),s=e*G.h,a=r*G.v*64*(s+1);G.blockData=new Int16Array(a),G.blocksPerLine=o,G.blocksPerColumn=i}t.mcusPerLine=e,t.mcusPerColumn=r}var s,a,l=0,c=null,u=null,f=[],p=[],y=[],w=n();if(65496!==w)throw new t("SOI not found");for(w=n();65497!==w;){var C,b,x;switch(w){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var v=o();65504===w&&74===v[0]&&70===v[1]&&73===v[2]&&70===v[3]&&0===v[4]&&(c={version:{major:v[5],minor:v[6]},densityUnits:v[7],xDensity:v[8]<<8|v[9],yDensity:v[10]<<8|v[11],thumbWidth:v[12],thumbHeight:v[13],thumbData:v.subarray(14,14+3*v[12]*v[13])}),65518===w&&65===v[0]&&100===v[1]&&111===v[2]&&98===v[3]&&101===v[4]&&(u={version:v[5]<<8|v[6],flags0:v[7]<<8|v[8],flags1:v[9]<<8|v[10],transformCode:v[11]});break;case 65499:for(var A=n()+l-2;l<A;){var k=r[l++],M=new Uint16Array(64);if(k>>4){if(k>>4!=1)throw new t("DQT - invalid table spec");for(b=0;b<64;b++)M[e[b]]=n()}else for(b=0;b<64;b++)M[e[b]]=r[l++];f[15&k]=M}break;case 65472:case 65473:case 65474:if(s)throw new t("Only single frame JPEGs supported");n(),(s={}).extended=65473===w,s.progressive=65474===w,s.precision=r[l++],s.scanLines=n(),s.samplesPerLine=n(),s.components=[],s.componentIds={};var T,S=r[l++],I=0,P=0;for(C=0;C<S;C++){T=r[l];var E=r[l+1]>>4,R=15&r[l+1];I<E&&(I=E),P<R&&(P=R);var L=r[l+2];x=s.components.push({h:E,v:R,quantizationId:L,quantizationTable:null}),s.componentIds[T]=x-1,l+=3}s.maxH=I,s.maxV=P,i(s);break;case 65476:var U=n();for(C=2;C<U;){var D=r[l++],O=new Uint8Array(16),B=0;for(b=0;b<16;b++,l++)B+=O[b]=r[l];var N=new Uint8Array(B);for(b=0;b<B;b++,l++)N[b]=r[l];C+=17+B,(D>>4?p:y)[15&D]=h(O,N)}break;case 65501:n(),a=n();break;case 65498:n();var G,F=r[l++],V=[];for(C=0;C<F;C++){var z=s.componentIds[r[l++]];G=s.components[z];var _=r[l++];G.huffmanTableDC=y[_>>4],G.huffmanTableAC=p[15&_],V.push(G)}var j=r[l++],W=r[l++],Z=r[l++],H=d(r,l,s,V,a,j,W,Z>>4,15&Z);l+=H;break;case 65535:255!==r[l]&&l--;break;default:if(255===r[l-3]&&r[l-2]>=192&&r[l-2]<=254){l-=3;break}throw new t("unknown marker "+w.toString(16))}w=n()}for(this.width=s.samplesPerLine,this.height=s.scanLines,this.jfif=c,this.eof=l,this.adobe=u,this.components=[],C=0;C<s.components.length;C++){var q=f[(G=s.components[C]).quantizationId];q&&(G.quantizationTable=q),this.components.push({output:m(0,G),scaleX:G.h/s.maxH,scaleY:G.v/s.maxV,blocksPerLine:G.blocksPerLine,blocksPerColumn:G.blocksPerColumn})}this.numComponents=this.components.length},_getLinearizedBlockData:function(t,e){var r,n,o,i,s,a,l,c,u,h,f,d=this.width/t,p=this.height/e,m=0,g=this.components.length,y=t*e*g,w=new Uint8ClampedArray(y),C=new Uint32Array(t),b=4294967288;for(l=0;l<g;l++){for(n=(r=this.components[l]).scaleX*d,o=r.scaleY*p,m=l,f=r.output,i=r.blocksPerLine+1<<3,s=0;s<t;s++)c=0|s*n,C[s]=(c&b)<<3|7&c;for(a=0;a<e;a++)for(h=i*((c=0|a*o)&b)|(7&c)<<3,s=0;s<t;s++)w[m]=f[h+C[s]],m+=g}var x=this.decodeTransform;if(x)for(l=0;l<y;)for(c=0,u=0;c<g;c++,l++,u+=2)w[l]=(w[l]*x[u]>>8)+x[u+1];return w},_isColorConversionNeeded:function(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this.colorTransform:1===this.colorTransform},_convertYccToRgb:function(t){for(var e,r,n,o=0,i=t.length;o<i;o+=3)e=t[o],r=t[o+1],n=t[o+2],t[o]=e-179.456+1.402*n,t[o+1]=e+135.459-.344*r-.714*n,t[o+2]=e-226.816+1.772*r;return t},_convertYcckToRgb:function(t){for(var e,r,n,o,i=0,s=0,a=t.length;s<a;s+=4)e=t[s],r=t[s+1],n=t[s+2],o=t[s+3],t[i++]=r*(-660635669420364e-19*r+.000437130475926232*n-54080610064599e-18*e+.00048449797120281*o-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*e-.00477271405408747*o+1.53380253221734)+e*(.000961250184130688*e-.00266257332283933*o+.48357088451265)+o*(-.000336197177618394*o+.484791561490776),t[i++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*n+.000659397001245577*e+.000426105652938837*o-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*e+.000770482631801132*o-.151051492775562)+e*(.00126935368114843*e-.00265090189010898*o+.25802910206845)+o*(-.000318913117588328*o-.213742400323665),t[i++]=r*(-.000570115196973677*r-263409051004589e-19*n+.0020741088115012*e-.00288260236853442*o+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*e+.000560833691242812*o-.195152027534049)+e*(.00174418132927582*e-.00255243321439347*o+.116935020465145)+o*(-.000343531996510555*o+.24165260232407);return t},_convertYcckToCmyk:function(t){for(var e,r,n,o=0,i=t.length;o<i;o+=4)e=t[o],r=t[o+1],n=t[o+2],t[o]=434.456-e-1.402*n,t[o+1]=119.541-e+.344*r+.714*n,t[o+2]=481.816-e-1.772*r;return t},_convertCmykToRgb:function(t){for(var e,r,n,o,i=0,s=1/255,a=0,l=t.length;a<l;a+=4)e=t[a]*s,r=t[a+1]*s,n=t[a+2]*s,o=t[a+3]*s,t[i++]=255+e*(-4.387332384609988*e+54.48615194189176*r+18.82290502165302*n+212.25662451639585*o-285.2331026137004)+r*(1.7149763477362134*r-5.6096736904047315*n-17.873870861415444*o-5.497006427196366)+n*(-2.5217340131683033*n-21.248923337353073*o+17.5119270841813)-o*(21.86122147463605*o+189.48180835922747),t[i++]=255+e*(8.841041422036149*e+60.118027045597366*r+6.871425592049007*n+31.159100130055922*o-79.2970844816548)+r*(-15.310361306967817*r+17.575251261109482*n+131.35250912493976*o-190.9453302588951)+n*(4.444339102852739*n+9.8632861493405*o-24.86741582555878)-o*(20.737325471181034*o+187.80453709719578),t[i++]=255+e*(.8842522430003296*e+8.078677503112928*r+30.89978309703729*n-.23883238689178934*o-14.183576799673286)+r*(10.49593273432072*r+63.02378494754052*n+50.606957656360734*o-112.23884253719248)+n*(.03296041114873217*n+115.60384449646641*o-193.58209356861505)-o*(22.33816807309886*o+180.12613974708367);return t},getData:function(e,r,n){if(this.numComponents>4)throw new t("Unsupported color mode");var o=this._getLinearizedBlockData(e,r);if(1===this.numComponents&&n){for(var i=o.length,s=new Uint8ClampedArray(3*i),a=0,l=0;l<i;l++){var c=o[l];s[a++]=c,s[a++]=c,s[a++]=c}return s}if(3===this.numComponents&&this._isColorConversionNeeded())return this._convertYccToRgb(o);if(4===this.numComponents){if(this._isColorConversionNeeded())return n?this._convertYcckToRgb(o):this._convertYcckToCmyk(o);if(n)return this._convertCmykToRgb(o)}return o}},u}()},void 0!==(r=e())&&(t.exports=r)),i.exports;var t,e,r}())},67369(t,e,r){r.d(e,{L7:()=>s,M5:()=>d,R8:()=>y,S2:()=>w,hf:()=>x,hs:()=>f,iv:()=>g,kH:()=>l,vL:()=>v,vj:()=>a});var n=r(85334),o=r(66552),i=r(12195);const s=["random","ndvi","ndvi2","ndvi3","elevation","gray","hillshade"],a=[{id:"aspect",type:"multipart",colorRamps:[{fromColor:[190,190,190],toColor:[255,45,8]},{fromColor:[255,45,8],toColor:[255,181,61]},{fromColor:[255,181,61],toColor:[255,254,52]},{fromColor:[255,254,52],toColor:[0,251,50]},{fromColor:[0,251,50],toColor:[255,254,52]},{fromColor:[0,253,255],toColor:[0,181,255]},{fromColor:[0,181,255],toColor:[26,35,253]},{fromColor:[26,35,253],toColor:[255,57,251]},{fromColor:[255,57,251],toColor:[255,45,8]}]},{id:"black-to-white",fromColor:[0,0,0],toColor:[255,255,255]},{id:"blue-bright",fromColor:[204,204,255],toColor:[0,0,224]},{id:"blue-light-to-dark",fromColor:[211,229,232],toColor:[46,100,140]},{id:"blue-green-bright",fromColor:[203,245,234],toColor:[48,207,146]},{id:"blue-green-light-to-dark",fromColor:[216,242,237],toColor:[21,79,74]},{id:"brown-light-to-dark",fromColor:[240,236,170],toColor:[102,72,48]},{id:"brown-to-blue-green-diverging-right",type:"multipart",colorRamps:[{fromColor:[156,85,31],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[33,130,145]}]},{id:"brown-to-blue-green-diverging-dark",type:"multipart",colorRamps:[{fromColor:[110,70,45],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[48,100,102]}]},{id:"coefficient-bias",fromColor:[214,214,255],toColor:[0,57,148]},{id:"cold-to-hot-diverging",type:"multipart",colorRamps:[{fromColor:[69,117,181],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[214,47,39]}]},{id:"condition-number",type:"multipart",colorRamps:[{fromColor:[0,97,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,34,0]}]},{id:"cyan-to-purple",type:"multipart",colorRamps:[{fromColor:[0,245,245],toColor:[0,0,245]},{fromColor:[0,0,245],toColor:[245,0,245]}]},{id:"cyan-light-to-blue-dark",type:"multipart",colorRamps:[{fromColor:[182,237,240],toColor:[31,131,224]},{fromColor:[31,131,224],toColor:[9,9,145]}]},{id:"distance",fromColor:[255,200,0],toColor:[0,0,255]},{id:"elevation1",type:"multipart",colorRamps:[{fromColor:[175,240,233],toColor:[255,255,179]},{fromColor:[255,255,179],toColor:[0,128,64]},{fromColor:[0,128,64],toColor:[252,186,3]},{fromColor:[252,186,3],toColor:[128,0,0]},{fromColor:[120,0,0],toColor:[105,48,13]},{fromColor:[105,48,13],toColor:[171,171,171]},{fromColor:[171,171,171],toColor:[255,252,255]}]},{id:"elevation2",type:"multipart",colorRamps:[{fromColor:[118,219,211],toColor:[255,255,199]},{fromColor:[255,255,199],toColor:[255,255,128]},{fromColor:[255,255,128],toColor:[217,194,121]},{fromColor:[217,194,121],toColor:[135,96,38]},{fromColor:[135,96,38],toColor:[150,150,181]},{fromColor:[150,150,181],toColor:[181,150,181]},{fromColor:[181,150,181],toColor:[255,252,255]}]},{id:"errors",fromColor:[255,235,214],toColor:[196,10,10]},{id:"gray-light-to-dark",fromColor:[219,219,219],toColor:[69,69,69]},{id:"green-bright",fromColor:[204,255,204],toColor:[14,204,14]},{id:"green-light-to-dark",fromColor:[220,245,233],toColor:[34,102,51]},{id:"green-to-blue",type:"multipart",colorRamps:[{fromColor:[32,204,16],toColor:[0,242,242]},{fromColor:[0,242,242],toColor:[2,33,227]}]},{id:"orange-bright",fromColor:[255,235,204],toColor:[240,118,5]},{id:"orange-light-to-dark",fromColor:[250,233,212],toColor:[171,65,36]},{id:"partial-spectrum",type:"multipart",colorRamps:[{fromColor:[242,241,162],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]},{fromColor:[252,3,69],toColor:[176,7,237]},{fromColor:[176,7,237],toColor:[2,29,173]}]},{id:"partial-spectrum-1-diverging",type:"multipart",colorRamps:[{fromColor:[135,38,38],toColor:[240,149,12]},{fromColor:[240,149,12],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[74,80,181]},{fromColor:[74,80,181],toColor:[39,32,122]}]},{id:"partial-spectrum-2-diverging",type:"multipart",colorRamps:[{fromColor:[115,77,42],toColor:[201,137,52]},{fromColor:[201,137,52],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[91,63,176]},{fromColor:[91,63,176],toColor:[81,13,97]}]},{id:"pink-to-yellow-green-diverging-bright",type:"multipart",colorRamps:[{fromColor:[158,30,113],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[99,110,45]}]},{id:"pink-to-yellow-green-diverging-dark",type:"multipart",colorRamps:[{fromColor:[97,47,73],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[22,59,15]}]},{id:"precipitation",type:"multipart",colorRamps:[{fromColor:[194,82,60],toColor:[237,161,19]},{fromColor:[237,161,19],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[0,219,0]},{fromColor:[0,219,0],toColor:[32,153,143]},{fromColor:[32,153,143],toColor:[11,44,122]}]},{id:"prediction",type:"multipart",colorRamps:[{fromColor:[40,146,199],toColor:[250,250,100]},{fromColor:[250,250,100],toColor:[232,16,20]}]},{id:"purple-bright",fromColor:[255,204,255],toColor:[199,0,199]},{id:"purple-to-green-diverging-bright",type:"multipart",colorRamps:[{fromColor:[77,32,150],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[20,122,11]}]},{id:"purple-to-green-diverging-dark",type:"multipart",colorRamps:[{fromColor:[67,14,89],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[24,79,15]}]},{id:"purple-blue-bright",fromColor:[223,184,230],toColor:[112,12,242]},{id:"purple-blue-light-to-dark",fromColor:[229,213,242],toColor:[93,44,112]},{id:"purple-red-bright",fromColor:[255,204,225],toColor:[199,0,99]},{id:"purple-red-light-to-dark",fromColor:[250,215,246],toColor:[143,17,57]},{id:"red-bright",fromColor:[255,204,204],toColor:[219,0,0]},{id:"red-light-to-dark",fromColor:[255,224,224],toColor:[143,10,10]},{id:"red-to-blue-diverging-bright",type:"multipart",colorRamps:[{fromColor:[196,69,57],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[48,95,207]}]},{id:"red-to-blue-diverging-dark",type:"multipart",colorRamps:[{fromColor:[107,13,13],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[13,53,97]}]},{id:"red-to-green",type:"multipart",colorRamps:[{fromColor:[245,0,0],toColor:[245,245,0]},{fromColor:[245,245,0],toColor:[0,245,0]}]},{id:"red-to-green-diverging-bright",type:"multipart",colorRamps:[{fromColor:[186,20,20],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[54,145,33]}]},{id:"red-to-green-diverging-dark",type:"multipart",colorRamps:[{fromColor:[97,21,13],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[16,69,16]}]},{id:"slope",type:"multipart",colorRamps:[{fromColor:[56,168,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]}]},{id:"spectrum-full-bright",type:"multipart",colorRamps:[{fromColor:[255,0,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[0,0,255]}]},{id:"spectrum-full-dark",type:"multipart",colorRamps:[{fromColor:[153,0,0],toColor:[153,153,0]},{fromColor:[153,153,0],toColor:[0,153,153]},{fromColor:[0,153,153],toColor:[0,0,153]}]},{id:"spectrum-full-light",type:"multipart",colorRamps:[{fromColor:[255,153,153],toColor:[255,255,153]},{fromColor:[255,255,153],toColor:[153,255,255]},{fromColor:[153,255,255],toColor:[153,153,255]}]},{id:"surface",type:"multipart",colorRamps:[{fromColor:[112,153,89],toColor:[242,238,162]},{fromColor:[242,238,162],toColor:[242,206,133]},{fromColor:[242,206,133],toColor:[194,140,124]},{fromColor:[194,140,124],toColor:[255,242,255]}]},{id:"temperature",type:"multipart",colorRamps:[{fromColor:[255,252,255],toColor:[255,0,255]},{fromColor:[255,0,255],toColor:[0,0,255]},{fromColor:[0,0,255],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[0,255,0]},{fromColor:[0,255,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,128,0]},{fromColor:[255,128,0],toColor:[128,0,0]}]},{id:"white-to-black",fromColor:[255,255,255],toColor:[0,0,0]},{id:"yellow-to-dark-red",type:"multipart",colorRamps:[{fromColor:[255,255,128],toColor:[242,167,46]},{fromColor:[242,167,46],toColor:[107,0,0]}]},{id:"yellow-to-green-to-dark-blue",type:"multipart",colorRamps:[{fromColor:[255,255,128],toColor:[56,224,9]},{fromColor:[56,224,9],toColor:[26,147,171]},{fromColor:[26,147,171],toColor:[12,16,120]}]},{id:"yellow-to-red",fromColor:[245,245,0],toColor:[255,0,0]},{id:"yellow-green-bright",fromColor:[236,252,204],toColor:[157,204,16]},{id:"yellow-green-light-to-dark",fromColor:[215,240,175],toColor:[96,107,45]}],l=new o.J({Aspect:"aspect","Black to White":"black-to-white","Blue Bright":"blue-bright","Blue Light to Dark":"blue-light-to-dark","Blue-Green Bright":"blue-green-bright","Blue-Green Light to Dark":"blue-green-light-to-dark","Brown Light to Dark":"brown-light-to-dark","Brown to Blue Green Diverging, Bright":"brown-to-blue-green-diverging-right","Brown to Blue Green Diverging, Dark":"brown-to-blue-green-diverging-dark","Coefficient Bias":"coefficient-bias","Cold to Hot Diverging":"cold-to-hot-diverging","Condition Number":"condition-number","Cyan to Purple":"cyan-to-purple","Cyan-Light to Blue-Dark":"cyan-light-to-blue-dark",Distance:"distance","Elevation #1":"elevation1","Elevation #2":"elevation2",Errors:"errors","Gray Light to Dark":"gray-light-to-dark","Green Bright":"green-bright","Green Light to Dark":"green-light-to-dark","Green to Blue":"green-to-blue","Orange Bright":"orange-bright","Orange Light to Dark":"orange-light-to-dark","Partial Spectrum":"partial-spectrum","Partial Spectrum 1 Diverging":"partial-spectrum-1-diverging","Partial Spectrum 2 Diverging":"partial-spectrum-2-diverging","Pink to YellowGreen Diverging, Bright":"pink-to-yellow-green-diverging-bright","Pink to YellowGreen Diverging, Dark":"pink-to-yellow-green-diverging-dark",Precipitation:"precipitation",Prediction:"prediction","Purple Bright":"purple-bright","Purple to Green Diverging, Bright":"purple-to-green-diverging-bright","Purple to Green Diverging, Dark":"purple-to-green-diverging-dark","Purple-Blue Bright":"purple-blue-bright","Purple-Blue Light to Dark":"purple-blue-light-to-dark","Purple-Red Bright":"purple-red-bright","Purple-Red Light to Dark":"purple-red-light-to-dark","Red Bright":"red-bright","Red Light to Dark":"red-light-to-dark","Red to Blue Diverging, Bright":"red-to-blue-diverging-bright","Red to Blue Diverging, Dark":"red-to-blue-diverging-dark","Red to Green":"red-to-green","Red to Green Diverging, Bright":"red-to-green-diverging-bright","Red to Green Diverging, Dark":"red-to-green-diverging-dark",Slope:"slope","Spectrum-Full Bright":"spectrum-full-bright","Spectrum-Full Dark":"spectrum-full-dark","Spectrum-Full Light":"spectrum-full-light",Surface:"surface",Temperature:"temperature","White to Black":"white-to-black","Yellow to Dark Red":"yellow-to-dark-red","Yellow to Green to Dark Blue":"yellow-to-green-to-dark-blue","Yellow to Red":"yellow-to-red","Yellow-Green Bright":"yellow-green-bright","Yellow-Green Light to Dark":"yellow-green-light-to-dark"});function c(t,e){if(!t||!e||t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]>e[r]+2||t[r]<e[r]-2)return!1;return!0}function u(t){const e=t.clone();return e.fromColor=t.toColor,e.toColor=t.fromColor,e}function h(t,e){const r=e??a;if("algorithmic"===t.type){const e=t.fromColor.toRgb(),n=t.toColor.toRgb();return r.find(t=>c(e,t.fromColor)&&c(n,t.toColor))?.id}if(t.weights?.length)return;const n=t.colorRamps?.map(t=>({fromColor:t.fromColor.toRgb(),toColor:t.toColor.toRgb()}));return r.find(t=>{const e=t.colorRamps;return!(!n||!e||n.length!==e.length)&&e.every((t,e)=>c(n[e].fromColor,t.fromColor)&&c(n[e].toColor,t.toColor))})?.id}function f(t,e=!1){const r="string"==typeof t?t:function(t,e,r=!1){if(!t)return;let n=!1,o=h(t,e);return null!=o||r||(n=!0,o=h(t=function(t){if("multipart"===t.type){const e=t.clone();return e.colorRamps?.length?(e.colorRamps=e.colorRamps.reverse().map(t=>u(t)),e):e}return u(t)}(t),e)),o?{id:o,inverted:n}:void 0}(t,void 0,e)?.id;return r?l.toJSON(r):null}function d(t,e="esriCIELabAlgorithm"){const r=a.find(({id:e})=>e===t);return r?r.colorRamps?{type:"multipart",colorRamps:r.colorRamps.map(t=>({type:"algorithmic",algorithm:e,fromColor:[...t.fromColor],toColor:[...t.toColor]}))}:{type:"algorithmic",algorithm:e,fromColor:[...r.fromColor],toColor:[...r.toColor]}:null}function p(t){t??={};const e=t.numColors||256,r=t.distanceOffset||0,n=null!=t.isCustomInterval?t.isCustomInterval:null!==t.distanceInterval&&t.distanceInterval!==1/(e-1),o=t.distanceInterval||1/(e-1);return{...t,numColors:e,distanceOffset:r,interpolateAlpha:!!t.interpolateAlpha,distanceInterval:o,isCustomInterval:n,weights:t.weights}}function m(t,e){const{fromColor:r,toColor:o}=t,i=3===r.length?[...r,255]:[...r],s=3===o.length?[...o,255]:[...o],a=t.algorithm||"esriCIELabAlgorithm",l=p(e),{numColors:c,distanceOffset:u,isCustomInterval:h,interpolateAlpha:f}=l;if(1===c&&0===u)return[i];if(2===c&&0===u&&!h)return[i,s];const d={r:i[0],g:i[1],b:i[2]},m={r:s[0],g:s[1],b:s[2]},g="esriCIELabAlgorithm"===a?function(t,e,r){const{numColors:n,distanceOffset:o,distanceInterval:i,isCustomInterval:s}=r;let{l:a,a:l,b:c}=t;const u=(e.l-a)*i,h=(e.a-l)*i,f=(e.b-c)*i,d=[];if(o){const t=o/i;a+=t*u,l+=t*h,c+=t*f}for(let t=0;t<n-1;t++)d.push({l:a,a:l,b:c}),a+=u,l+=h,c+=f;return d.push(s?{l:a,a:l,b:c}:e),d}((0,n.ZD)(d),(0,n.ZD)(m),l):"esriHSVAlgorithm"===a?function(t,e,r){const{numColors:n,distanceOffset:o,distanceInterval:i,isCustomInterval:s}=r,a=0===t.s,l=0===e.s;let c=t.h,u=e.h;a&&!l?c=u:l&&!a&&(e={...e,h:c},u=c);let h=Math.abs(u-c),f=0;const d=360;h<180?f=(u-c)*i:(h=d-h,f=c>u?h*i:-h*i);const p=(e.s-t.s)*i,m=(e.v-t.v)*i;let{s:g,v:y}=t,w=c;if(o){const t=o/i;w=(w+t*f+d)%d,g+=t*p,y+=t*m}const C=[];for(let t=0;t<n-1;t++)C.push({h:w,s:g,v:y}),w=(w+f+d)%d,g+=p,y+=m;return C.push(s?{h:w,s:g,v:y}:e),C}((0,n.N2)(d),(0,n.N2)(m),l):function(t,e,r){const{numColors:n,distanceOffset:o,distanceInterval:i,isCustomInterval:s}=r,a=t.h,l=e.h,c=2*Math.PI;let u=0;if(a<=l){const t=l-a,e=l-a-c;u=Math.abs(e)<Math.abs(t)?e:t}else{const t=l+c-a,e=l-a;u=Math.abs(e)<Math.abs(t)?e:t}const h=u*i,f=(e.l-t.l)*i,d=(e.c-t.c)*i;let{l:p,c:m,h:g}=t;if(o){const t=o/i;p+=t*f,m+=t*d,g=(g+t*h+c)%c}const y=[];for(let t=0;t<n-1;t++)y.push({l:p,c:m,h:g}),p+=f,m+=d,g=(g+h+c)%c;return y.push(s?{l:p,c:m,h:g}:e),y}((0,n.RH)(d),(0,n.RH)(m),l),y=[],w=i[3]??255,C=((s[3]??255)-w)/(c-1);for(let t=0;t<c;t++){const{r:e,g:r,b:o}=(0,n.$)(g[t]),i=f?Math.round(w+C*t):255;y.push([e,r,o,i])}return y}function g(t,e){const r=(0,i.W)(t)?t.toJSON():t;return"multipart"===r.type?function(t,e){const{numColors:r,interpolateAlpha:n}=p(e),o=function(t,e){const{colorRamps:r}=t;if(e??=r.map(({start:t,stop:e})=>null==t||null==e?-1:e-t),e.length!==r.length||e.some(t=>t<0))return Array.from({length:r.length},()=>1/r.length);const n=e.reduce((t,e)=>t+e);return e.map(t=>t/n)}(t,e?.weights),{colorRamps:i}=t,s=[],a=1/(r-1);let l=0,c=!1;for(let t=0;t<i.length;t++){const e=s.length,u=c?0:e*a-l;l+=o[t];let h=t===i.length-1?r-1-e:(o[t]-u)/a;if(c=Math.ceil(h)===h,h=Math.ceil(h),0===h)continue;const f=m(i[t],{numColors:h,interpolateAlpha:n,distanceOffset:u/o[t],distanceInterval:a/o[t]});s.push(...f)}const u=[...i[i.length-1].toColor];return 3===u.length&&u.push(255),s.push(u),s}(r,e):m(r,e)}function y(t,e){const r=g(t,e),n=e?.interpolateAlpha;return r.forEach((t,e)=>{t.unshift(e),n||t.pop()}),r}function w(t){const e=[];for(let r=0;r<t.length;r+=4){const o=(0,n.N2)({r:t[r],g:t[r+1],b:t[r+2]});e.push([o.h/60,o.s/100,255*o.v/100])}return e}function C(t){const e=(0,n.N2)(t);return{type:"HsvColor",Hue:e.h,Saturation:e.s,Value:e.v,AlphaValue:255}}function b(t){const e=t.toJSON();return{Algorithm:e?.Algorithm||"esriHSVAlgorithm",type:"AlgorithmicColorRamp",FromColor:C(t.fromColor),ToColor:C(t.toColor)}}function x(t){const e=f(t);if(!e)return null;if("algorithmic"===t.type)return{...b(t),Name:e};if(t.colorRamps){const r=t.colorRamps.map(b);return{type:"MultiPartColorRamp",NumColorRamps:r.length,ArrayOfColorRamp:r,Name:e}}return null}function v(t){const e=[...t].reverse().map(t=>{const e=t.toString(16);return e.length<2?"0"+e:e});return 4294967295&Number.parseInt(e.join(""),16)}},68060(t,e,r){r.d(e,{Z:()=>s});var n,o=r(11053),i={exports:{}};const s=(0,o.g)(function(){return n||(n=1,e=i,void 0!==(t=function(){function t(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return t.prototype={ensureBuffer:function(t){var e=this.buffer,r=e?e.byteLength:0;if(t<r)return e;for(var n=512;n<t;)n<<=1;for(var o=new Uint8Array(n),i=0;i<r;++i)o[i]=e[i];return this.buffer=o},getByte:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(t){var e=this.pos;if(t){this.ensureBuffer(e+t);for(var r=e+t;!this.eof&&this.bufferLength<r;)this.readBlock();var n=this.bufferLength;r>n&&(r=n)}else{for(;!this.eof;)this.readBlock();r=this.bufferLength}return this.pos=r,this.buffer.subarray(e,r)},lookChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(t,e,r){for(var n=t+e;this.bufferLength<=n&&!this.eof;)this.readBlock();return new Stream(this.buffer,t,e,r)},skip:function(t){t||(t=1),this.pos+=t},reset:function(){this.pos=0}},t}(),r=function(){if(!self||!self.Uint32Array)return null;var e=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),r=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),n=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),o=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],i=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];function s(t){throw new Error(t)}function a(e){var r=0,n=e[r++],o=e[r++];-1!=n&&-1!=o||s("Invalid header in flate stream"),8!=(15&n)&&s("Unknown compression method in flate stream"),((n<<8)+o)%31!=0&&s("Bad FCHECK in flate stream"),32&o&&s("FDICT bit set in flate stream"),this.bytes=e,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,t.call(this)}return a.prototype=Object.create(t.prototype),a.prototype.getBits=function(t){for(var e,r=this.codeSize,n=this.codeBuf,o=this.bytes,i=this.bytesPos;r<t;)void 0===(e=o[i++])&&s("Bad encoding in flate stream"),n|=e<<r,r+=8;return e=n&(1<<t)-1,this.codeBuf=n>>t,this.codeSize=r-=t,this.bytesPos=i,e},a.prototype.getCode=function(t){for(var e=t[0],r=t[1],n=this.codeSize,o=this.codeBuf,i=this.bytes,a=this.bytesPos;n<r;){var l;void 0===(l=i[a++])&&s("Bad encoding in flate stream"),o|=l<<n,n+=8}var c=e[o&(1<<r)-1],u=c>>16,h=65535&c;return(0==n||n<u||0==u)&&s("Bad encoding in flate stream"),this.codeBuf=o>>u,this.codeSize=n-u,this.bytesPos=a,h},a.prototype.generateHuffmanTable=function(t){for(var e=t.length,r=0,n=0;n<e;++n)t[n]>r&&(r=t[n]);for(var o=1<<r,i=new Uint32Array(o),s=1,a=0,l=2;s<=r;++s,a<<=1,l<<=1)for(var c=0;c<e;++c)if(t[c]==s){var u=0,h=a;for(n=0;n<s;++n)u=u<<1|1&h,h>>=1;for(n=u;n<o;n+=l)i[n]=s<<16|c;++a}return[i,r]},a.prototype.readBlock=function(){function t(t,e,r,n,o){for(var i=t.getBits(r)+n;i-- >0;)e[p++]=o}var a=this.getBits(3);if(1&a&&(this.eof=!0),0!=(a>>=1)){var l,c;if(1==a)l=o,c=i;else if(2==a){for(var u=this.getBits(5)+257,h=this.getBits(5)+1,f=this.getBits(4)+4,d=Array(e.length),p=0;p<f;)d[e[p++]]=this.getBits(3);for(var m=this.generateHuffmanTable(d),g=0,y=(p=0,u+h),w=new Array(y);p<y;){var C=this.getCode(m);16==C?t(this,w,2,3,g):17==C?t(this,w,3,3,g=0):18==C?t(this,w,7,11,g=0):w[p++]=g=C}l=this.generateHuffmanTable(w.slice(0,u)),c=this.generateHuffmanTable(w.slice(u,y))}else s("Unknown block type in flate stream");for(var b=(L=this.buffer)?L.length:0,x=this.bufferLength;;){var v=this.getCode(l);if(v<256)x+1>=b&&(b=(L=this.ensureBuffer(x+1)).length),L[x++]=v;else{if(256==v)return void(this.bufferLength=x);var A=(v=r[v-=257])>>16;A>0&&(A=this.getBits(A)),g=(65535&v)+A,v=this.getCode(c),(A=(v=n[v])>>16)>0&&(A=this.getBits(A));var k=(65535&v)+A;x+g>=b&&(b=(L=this.ensureBuffer(x+g)).length);for(var M=0;M<g;++M,++x)L[x]=L[x-k]}}}else{var T,S=this.bytes,I=this.bytesPos;void 0===(T=S[I++])&&s("Bad block header in flate stream");var P=T;void 0===(T=S[I++])&&s("Bad block header in flate stream"),P|=T<<8,void 0===(T=S[I++])&&s("Bad block header in flate stream");var E=T;void 0===(T=S[I++])&&s("Bad block header in flate stream"),(E|=T<<8)!=(65535&~P)&&s("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var R=this.bufferLength,L=this.ensureBuffer(R+P),U=R+P;this.bufferLength=U;for(var D=R;D<U;++D){if(void 0===(T=S[I++])){this.eof=!0;break}L[D]=T}this.bytesPos=I}},a}())&&(e.exports=r)),i.exports;var t,e,r}())},70274(t,e,r){r.d(e,{u:()=>n,x:()=>o});const n=new(r(66552).J)({none:"none",standardDeviation:"standard-deviation",histogramEqualization:"histogram-equalization",minMax:"min-max",percentClip:"percent-clip",sigmoid:"sigmoid"}),o={0:"none",3:"standardDeviation",4:"histogramEqualization",5:"minMax",6:"percentClip",9:"sigmoid"}},73051(t,e,r){function n(){const t=[];for(let e=0;e<=257;e++)t[e]=[e];return t}function o(t,e){for(let r=0;r<e.length;r++)t.push(e[r])}r.d(e,{D:()=>s});const i=new Set;function s(t,e,r,s=!0){const a=function(t,e,r,n=!0){if(e%4!=0||r%4!=0){const o=new ArrayBuffer(4*Math.ceil(r/4)),i=new Uint8Array(o),s=new Uint8Array(t,e,r);if(n)for(let t=0;t<i.length;t+=4)i[t]=s[t+3],i[t+1]=s[t+2],i[t+2]=s[t+1],i[t+3]=s[t];else i.set(s);return new Uint32Array(i.buffer)}if(n){const n=new Uint8Array(t,e,r),o=new Uint8Array(n.length);for(let t=0;t<o.length;t+=4)o[t]=n[t+3],o[t+1]=n[t+2],o[t+2]=n[t+1],o[t+3]=n[t];return new Uint32Array(o.buffer)}return new Uint32Array(t,e,r/4)}(t,e,r,s);let l=9,c=n(),u=32,h=c.length,f=[],d=1,p=a[0],m=0;const g=a.length,y=8*(4*g-r),w=[];for(;null!=p;){if(u>=l)u-=l,m=p>>>32-l,p<<=l;else{m=p>>>32-u,p=a[d++];const t=l-u;u=32-t,m=(m<<t)+(p>>>u),p<<=t}if(257===m)break;if(256===m){l=9,c=n(),h=c.length,f=[];continue}const t=c[m];if(null==t){if(m>c.length)throw new Error("data integrity issue: code does not exist on code page");f.push(f[0]),c[h++]=f.slice(),o(w,f)}else o(w,t),f.push(t[0]),f.length>1&&(c[h++]=f.slice()),f=t.slice();if(i.has(h)&&l++,0===u&&(p=a[d++],u=32),d>g||d===g&&u<=y)break}return new Uint8Array(w)}i.add(511),i.add(1023),i.add(2047),i.add(4095),i.add(8191)},85334(t,e,r){r.d(e,{$:()=>y,IB:()=>s,Iy:()=>x,N2:()=>w,RH:()=>b,ZD:()=>C});var n=r(68197),o=r(4576),i=r(4718);function s(t){return"r"in t&&"g"in t&&"b"in t}function a(t){return"h"in t&&"s"in t&&"v"in t}function l(t){return"l"in t&&"a"in t&&"b"in t}function c(t){return"l"in t&&"c"in t&&"h"in t}r(34727),r(78955),r(91829);const u=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],h=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function f(t,e){const r=[];let n,o;if(t[0].length!==e.length)throw new Error("dimensions do not match");const i=t.length,s=t[0].length;let a=0;for(n=0;n<i;n++){for(a=0,o=0;o<s;o++)a+=t[n][o]*e[o];r.push(a)}return r}function d(t){const e=[t.r/255,t.g/255,t.b/255].map(t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4),r=f(u,e);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function p(t){const e=f(h,[t.x/100,t.y/100,t.z/100]).map(t=>{const e=t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055;return Math.min(1,Math.max(e,0))});return{r:Math.round(255*e[0]),g:Math.round(255*e[1]),b:Math.round(255*e[2])}}function m(t){const e=[t.x/95.047,t.y/100,t.z/108.883].map(t=>t>(6/29)**3?t**(1/3):1/3*(29/6)**2*t+4/29);return{l:116*e[1]-16,a:500*(e[0]-e[1]),b:200*(e[1]-e[2])}}function g(t){const e=t.l,r=[(e+16)/116+t.a/500,(e+16)/116,(e+16)/116-t.b/200].map(t=>t>6/29?t**3:3*(6/29)**2*(t-4/29));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function y(t){return s(t)?t:c(t)?function(t){return p(g(function(t){const e=t.l,r=t.c,n=t.h;return{l:e,a:r*Math.cos(n),b:r*Math.sin(n)}}(t)))}(t):l(t)?function(t){return p(g(t))}(t):function(t){return"x"in t&&"y"in t&&"z"in t}(t)?p(t):a(t)?function(t){const e=(t.h+360)%360/60,r=t.s/100,n=t.v/100*255,o=n*r,i=o*(1-Math.abs(e%2-1));let s;switch(Math.floor(e)){case 0:s={r:o,g:i,b:0};break;case 1:s={r:i,g:o,b:0};break;case 2:s={r:0,g:o,b:i};break;case 3:s={r:0,g:i,b:o};break;case 4:s={r:i,g:0,b:o};break;case 5:case 6:s={r:o,g:0,b:i};break;default:s={r:0,g:0,b:0}}return s.r=Math.round(s.r+n-o),s.g=Math.round(s.g+n-o),s.b=Math.round(s.b+n-o),s}(t):t}function w(t){return a(t)?t:function(t){const e=t.r,r=t.g,n=t.b,o=Math.max(e,r,n),i=o-Math.min(e,r,n);let s=o,a=0===i?0:o===e?(r-n)/i%6:o===r?(n-e)/i+2:(e-r)/i+4,l=0===i?0:i/s;return a<0&&(a+=6),a*=60,l*=100,s*=100/255,{h:a,s:l,v:s}}(y(t))}function C(t){return l(t)?t:function(t){return m(d(t))}(y(t))}function b(t){return c(t)?t:function(t){return function(t){const e=t.l,r=t.a,n=t.b,o=Math.sqrt(r*r+n*n);let i=Math.atan2(n,r);return i=i>0?i:i+2*Math.PI,{l:e,c:o,h:i}}(m(d(t)))}(y(t))}function x(t,e,r={}){if(0===t.length||e<=0)return[];if(1===(t=t.map(t=>"string"==typeof t?new n.A(t):t)).length||1===e){const r=[],n=t[0];for(let t=0;t<e;t++)r.push(n.clone());return r}if(r.shuffle&&(t=(0,o.k4)((0,i.o8)(t),r.seed)),t.length>=e){const r=[],n=(t.length-1)/(e-1);for(let o=0;o<e;o++){const e=Math.round(o*n);r.push(t[e].clone())}return r}return function(t,e,r={}){const n=[],i=t.length-1,s=Math.ceil((e-t.length)/i);t:for(let o=0;o<i;o++){const i=t[o],a=t[o+1];for(let o=1;o<=s;o++){const l=o/(s+1);if(n.push(A(i,a,l,r)),n.length+t.length===e)break t}}return[...t.map(t=>t.clone()),...(0,o.k4)(n,r.seed??1)]}(t,e,r)}const v=(t,e)=>{const r=Math.floor(10*e())-5;return Math.min(255,Math.max(0,t+r))};function A(t,e,r,i={}){const s=t.r,a=t.g,l=t.b,c=e.r,u=e.g,h=e.b,f=Math.round(s+(c-s)*r),d=Math.round(a+(u-a)*r),p=Math.round(l+(h-l)*r);if(!i.offset)return new n.A([f,d,p]);const m=(0,o.Mo)(i.seed);return new n.A([v(f,m),v(d,m),v(p,m)])}},85676(t,e,r){r.d(e,{A:()=>p});var n=r(31635),o=r(25482),i=r(53966),s=r(91429),a=r(94778),l=r(47520),c=r(51927),u=r(51181),h=r(87186),f=r(67369),d=r(88178);let p=class extends o.o{constructor(t){super(t),this.lookup={rendererJSON:{}},this.canRenderInWebGL=!1}bind(){const{rendererJSON:t}=this;if(!t)return{success:!1};let e;switch(this.lookup={rendererJSON:{}},t.type){case"uniqueValue":e=this._updateUVRenderer(t);break;case"rasterColormap":e=this._updateColormapRenderer(t);break;case"rasterStretch":e=this._updateStretchRenderer(t);break;case"classBreaks":e=this._updateClassBreaksRenderer(t);break;case"rasterShadedRelief":e=this._updateShadedReliefRenderer(t);break;case"vectorField":e=this._updateVectorFieldRenderer();break;case"flowRenderer":e=this._updateFlowRenderer()}return e}symbolize(t){let e=t?.pixelBlock;if(!m(e))return e;if(t.simpleStretchParams&&"rasterStretch"===this.rendererJSON.type)return this.simpleStretch(e,t.simpleStretchParams);try{let r;switch(e.pixels.length>3&&(e=e.extractBands(t.bandIds??[0,1,2])),this.rendererJSON.type){case"uniqueValue":case"rasterColormap":r=this._symbolizeColormap(e);break;case"classBreaks":r=this._symbolizeClassBreaks(e);break;case"rasterStretch":r=this._symbolizeStretch(e,t.bandIds);break;case"rasterShadedRelief":{const n=t.extent,o=n.spatialReference.isGeographic,i={x:(n.xmax-n.xmin)/e.width,y:(n.ymax-n.ymin)/e.height};r=this._symbolizeShadedRelief(e,{isGCS:o,resolution:i});break}}return r}catch(t){return i.A.getLogger(this).error("symbolize",t.message),e}}simpleStretch(t,e){if(!m(t))return t;try{return t.pixels.length>3&&(t=t.extractBands([0,1,2])),(0,c._N)(t,{...e,isRenderer:!0})}catch(e){return i.A.getLogger(this).error("symbolize",e.message),t}}generateWebGLParameters(t){const{rendererJSON:e}=this;switch(e.type){case"uniqueValue":case"rasterColormap":case"classBreaks":return this._generateColormapWebGLParams("classBreaks"===e.type);case"rasterStretch":return this._generateStretchWebGLParams(t.pixelBlock,e,t.bandIds);case"rasterShadedRelief":return this._generateShadedReliefWebGLParams(e,t.isGCS,t.resolution??void 0);case"vectorField":return this._generateVectorFieldWebGLParams(e);default:return null}}_isLUTChanged(t){const e=this.lookup.rendererJSON;if(!e)return!0;const{rendererJSON:r}=this;if("colorRamp"in r&&r.colorRamp){const n=r.colorRamp;if(t)return JSON.stringify(n)!==JSON.stringify(e.colorRamp)}return JSON.stringify(r)!==JSON.stringify(e)}_symbolizeColormap(t){return this._isLUTChanged()&&!this.bind().success?t:(0,l.qL)(t,this.lookup.colormapLut)}_symbolizeClassBreaks(t){const{canUseIndexedLUT:e}=this._analyzeClassBreaks(this.rendererJSON);return this._isLUTChanged()&&!this.bind().success?t:e?(0,l.qL)(t,this.lookup.colormapLut):(0,l.Hx)(t,this.lookup.remapLut??[])}_symbolizeStretch(t,e){if(!t)return null;const{rasterInfo:r,lookup:n}=this,{pixelType:o,bandCount:i}=r,s=this.rendererJSON,a=["u8","u16","s8","s16"].includes(o);let u;const{dra:h}=s,{gamma:f}=n;if(h&&(e=null),"histogramEqualization"===s.stretchType){const o=h?null:n.histogramLut,i=(0,c.DP)(s,{rasterInfo:r,pixelBlock:t,bandIds:e,returnHistogramLut:!o}),a="u8"===r.pixelType&&!h&&(0,c.zt)(r.histograms?.[0])?t:(0,c._N)(t,{...i,gamma:f,isRenderer:!0});u=(0,l.eH)(a,{lut:h?i.histogramLut:e?.length?e.map(t=>o[t]):o,offset:0})}else if(a){let a;if(h){const n=(0,c.DP)(s,{rasterInfo:r,pixelBlock:t,bandIds:e});a=(0,c.RP)({pixelType:o,...n,gamma:f,rounding:"floor"})}else{if(this._isLUTChanged()&&!this.bind().success)return t;a=n.stretchLut}if(!a)return t;i>1&&null!=e&&e.length===t?.pixels.length&&a.lut.length===i&&(a={lut:e.map(t=>a.lut[t]),offset:a.offset}),u=(0,l.eH)(t,a)}else{const n=(0,c.DP)(s,{rasterInfo:r,pixelBlock:t,bandIds:e});u=(0,c._N)(t,{...n,gamma:f,isRenderer:!0})}if(s.colorRamp){if(this._isLUTChanged(!0)&&!this.bind().success)return t;u=(0,l.qL)(u,n.colormapLut)}return u}_symbolizeShadedRelief(t,e){const r=this.rendererJSON,n={...r,...e},o=(0,u.fw)(t,n);if(!r.colorRamp)return o;if(this._isLUTChanged(!0)&&!this.bind().success)return o;const{hsvMap:i}=this.lookup;if(!i)return o;const s=this.rasterInfo.statistics?.[0]??{min:0,max:8e3};return(0,u.SC)(o,t,i,s),o}_isVectorFieldData(){const{bandCount:t,dataType:e}=this.rasterInfo;return 2===t&&("vector-magdir"===e||"vector-uv"===e)}_updateVectorFieldRenderer(){return this._isVectorFieldData()?{success:!0}:{success:!1,error:`Unsupported data type "${this.rasterInfo.dataType}"; VectorFieldRenderer only supports "vector-magdir" and "vector-uv".`}}_updateFlowRenderer(){return this._isVectorFieldData()?{success:!0}:{success:!1,error:`Unsupported data type "${this.rasterInfo.dataType}"; FlowRenderer only supports "vector-magdir" and "vector-uv".`}}_updateUVRenderer(t){const{bandCount:e,attributeTable:r,pixelType:n}=this.rasterInfo,o=t.field1;if(!o)return{success:!1,error:"Unsupported renderer; missing UniqueValueRenderer.field."};const i=t.defaultSymbol,s=1===e&&["u8","s8"].includes(n);if(!(0,d.hu)(this.rasterInfo,o)&&!s)return{success:!1,error:"Unsupported data; UniqueValueRenderer is only supported on single band data with a valid raster attribute table."};const a=[];if(null!=r){const e=r.fields.find(t=>"value"===t.name.toLowerCase());if(!e)return{success:!1,error:"Unsupported data; the data's raster attribute table does not have a value field."};r.features.forEach(r=>{const n=t.uniqueValueInfos?.find(t=>String(t.value)===String(r.attributes[o])),s=n?.symbol?.color;s?a.push([r.attributes[e.name]].concat(s)):i&&a.push([r.attributes[e.name]].concat(i.color))})}else{if("value"!==o.toLowerCase())return{success:!1,error:'Unsupported renderer; UniqueValueRenderer.field must be "Value" when raster attribute table is not available.'};t.uniqueValueInfos?.forEach(t=>{const e=t?.symbol?.color;e?a.push([parseInt(""+t.value,10)].concat(e)):i&&a.push([parseInt(""+t.value,10)].concat(i?.color))})}if(0===a.length)return{success:!1,error:"Invalid UniqueValueRenderer. Cannot find matching records in the raster attribute table."};const c=(0,l.zg)({colormap:a});return this.lookup={rendererJSON:t,colormapLut:c},this.canRenderInWebGL=(0,d.WN)(c?.indexedColormap),{success:!0}}_updateColormapRenderer(t){if(!(0,d.FA)(this.rasterInfo))return{success:!1,error:"Unsupported data; the data source does not have a colormap."};const e=t.colormapInfos.map(t=>[t.value].concat(t.color)).sort((t,e)=>t[0]-e[0]);if(!e||0===e.length)return{success:!1,error:"Unsupported renderer; ColormapRenderer must have meaningful colormapInfos."};const r=(0,l.zg)({colormap:e});return this.lookup={rendererJSON:t,colormapLut:r},this.canRenderInWebGL=(0,d.WN)(r?.indexedColormap),{success:!0}}_updateShadedReliefRenderer(t){if(!(0,d.iL)(this.rasterInfo))return{success:!1,error:`Unsupported data type "${this.rasterInfo.dataType}"; ShadedReliefRenderer only supports "elevation", or single band float/s16 data.`};if(t.colorRamp){const e=(0,f.R8)(t.colorRamp,{interpolateAlpha:!0}),r=(0,l.zg)({colormap:e}),n=(0,f.S2)(r.indexedColormap);this.lookup={rendererJSON:t,colormapLut:r,hsvMap:n}}else this.lookup={rendererJSON:t};return this.canRenderInWebGL=!0,{success:!0}}_analyzeClassBreaks(t){const{attributeTable:e,pixelType:r}=this.rasterInfo,n=e?.fields.find(t=>"value"===t.name.toLowerCase()),o=e?.fields.find(e=>e.name.toLowerCase()===t.field.toLowerCase()),i=null!=n&&null!==o;return{canUseIndexedLUT:["u8","u16","s8","s16"].includes(r)||i,tableValueField:n,tableBreakField:o}}_updateClassBreaksRenderer(t){const{attributeTable:e}=this.rasterInfo,{canUseIndexedLUT:r,tableValueField:n,tableBreakField:o}=this._analyzeClassBreaks(t),i=t.classBreakInfos;if(!i?.length)return{success:!1,error:"Unsupported renderer; missing or invalid ClassBreaksRenderer.classBreakInfos."};const s=i.sort((t,e)=>t.classMaxValue-e.classMaxValue),c=s[s.length-1];let u=t.minValue;if(!r){const e=[];for(let t=0;t<s.length;t++)e.push({value:s[t].classMinValue??u,mappedColor:s[t].symbol.color}),u=s[t].classMaxValue;return e.push({value:c.classMaxValue,mappedColor:c.symbol.color}),this.lookup={rendererJSON:t,remapLut:e},this.canRenderInWebGL=!1,{success:!0}}const h=[];if(null!=e&&null!=n&&null!==o&&n!==o){const r=n.name,i=o.name,a=s[s.length-1],{classMaxValue:l}=a;u=t.minValue;for(const t of e.features){const e=t.attributes[r],n=t.attributes[i],o=n===l?a:n<u?null:s.find(({classMaxValue:t})=>t>n);o&&h.push([e].concat(o.symbol.color))}}else{const[e,r]=(0,a.hP)(this.rasterInfo.pixelType);u=Math.max(e,Math.floor(t.minValue));for(let t=0;t<s.length;t++){const e=s[t],n=Math.min(r,Math.ceil(e.classMaxValue));for(let t=u;t<n;t++)h.push([t].concat(e.symbol.color));u=n}c.classMaxValue!==u&&u!==r||h.push([u].concat(c.symbol.color))}const f=(0,l.zg)({colormap:h,fillUnspecified:!1});return this.lookup={rendererJSON:t,colormapLut:f},this.canRenderInWebGL=(0,d.WN)(f?.indexedColormap),{success:!0}}_updateStretchRenderer(t){let{stretchType:e,dra:r}=t;if(!("none"===e||t.statistics?.length||function(t){return null!=t&&t.length>0&&null!=t[0].min&&null!=t[0].max}(this.rasterInfo.statistics)||r))return{success:!1,error:"Unsupported renderer; StretchRenderer.customStatistics is required when dynamic range adjustment is not used."};const n=t.histograms||this.rasterInfo.histograms;!function(t){return"percentClip"===t||"histogramEqualization"===t}(t.stretchType)||n?.length||r||(e="minMax");const{computeGamma:o,useGamma:i,colorRamp:s}=t;let{gamma:a}=t;if(i&&o&&!a?.length){const e=t.statistics?.length?t.statistics:this.rasterInfo.statistics;a=(0,c.fP)(this.rasterInfo.pixelType,e)}const u=this.rasterInfo.pixelType,h=!r&&["u8","u16","s8","s16"].includes(u);if("histogramEqualization"===e){const e=n.map(t=>(0,c.WF)(t));this.lookup={rendererJSON:t,histogramLut:e}}else if(h){const e=(0,c.DP)(t,{rasterInfo:this.rasterInfo}),r=(0,c.RP)({pixelType:u,...e,gamma:i?a:null,rounding:"floor"});this.lookup={rendererJSON:t,stretchLut:r}}else this.lookup={rendererJSON:t};if(s&&!function(t){return"algorithmic"===t.type&&["0,0,0,255","0,0,0"].includes(t.fromColor.join(","))&&["255,255,255,255","255,255,255"].includes(t.toColor.join(","))}(s)){const e=(0,f.R8)(s,{interpolateAlpha:!0});this.lookup.colormapLut=(0,l.zg)({colormap:e}),this.lookup.rendererJSON=t}return this.lookup.gamma=i&&a?.length?a:null,this.canRenderInWebGL="histogramEqualization"!==e,{success:!0}}_generateColormapWebGLParams(t){const{indexedColormap:e,offset:r}=this.lookup.colormapLut||{};return{colormap:e,colormapOffset:r,isClassBreaks:t,type:"lut"}}_generateStretchWebGLParams(t,e,r){const{colormapLut:n}=this.lookup,o=e.colorRamp?n?.indexedColormap:null,i=e.colorRamp?n?.offset:null;"histogramEqualization"===e.stretchType&&(e={...e,stretchType:"minMax"});const{gamma:s}=this.lookup,a=!(!e.useGamma||!s?.some(t=>1!==t));let l=0;null!=t&&(l=t.getPlaneCount(),2===l&&((t=t.clone()).statistics=[t.statistics[0]],t.pixels=[t.pixels[0]]));const{bandCount:u}=this.rasterInfo,h=Math.min(3,r?.length||l||u,u),f=o||a?1:255,d=new Float32Array(h);if(a&&s)for(let t=0;t<h;t++)s[t]>1?s[t]>2?d[t]=6.5+(s[t]-2)**2.5:d[t]=6.5+100*(2-s[t])**4:d[t]=1;const p=a&&s?[s[0],s[1]??s[0],s[2]??s[0]]:[1,1,1],m=a?[d[0],d[1]??d[0],d[2]??d[0]]:[1,1,1];if(e.dra&&null==t&&("minMax"===e.stretchType||"standardDeviation"===e.stretchType))return{bandCount:h,minOutput:(e.min??0)/f,maxOutput:(e.max??255)/f,minCutOff:[0,0,0],maxCutOff:[1,1,1],factor:[1,1,1],useGamma:a,gamma:p,gammaCorrection:m,colormap:o,colormapOffset:i,stretchType:e.stretchType,dynamicRangeAdjustment:e.dra,numberOfStandardDeviations:e.numberOfStandardDeviations??2,type:"stretch"};const{minCutOff:g,maxCutOff:y,minOutput:w,maxOutput:C}=(0,c.DP)(e,{rasterInfo:this.rasterInfo,pixelBlock:t,bandIds:r});1===g.length&&(g[2]=g[1]=g[0]),1===y.length&&(y[2]=y[1]=y[0]);const b=y.map((t,e)=>y[e]===g[e]?0:(C-w)/(y[e]-g[e])/f);return{bandCount:h,minOutput:w/f,maxOutput:C/f,minCutOff:g,maxCutOff:y,factor:b,useGamma:a,gamma:p,gammaCorrection:m,colormap:o,colormapOffset:i,stretchType:e.stretchType,type:"stretch"}}_generateShadedReliefWebGLParams(t,e=!1,r={x:0,y:0}){const{colormapLut:n}=this.lookup,o=t.colorRamp?n?.indexedColormap:null,i=t.colorRamp?n?.offset:null,s={...t,isGCS:e,resolution:r},a=(0,u.ng)(s),l=this.rasterInfo.statistics?.[0];return{...a,minValue:l?.min??0,maxValue:l?.max??8e3,hillshadeType:"traditional"===t.hillshadeType?0:1,type:"hillshade",colormap:o,colormapOffset:i}}_generateVectorFieldWebGLParams(t){const{style:e,inputUnit:r,outputUnit:n,visualVariables:o,symbolTileSize:i,flowRepresentation:s}=t,a=this.rasterInfo.statistics?.[0].min??0,l=this.rasterInfo.statistics?.[0].max??50,c=o?.find(t=>"sizeInfo"===t.type)??{maxDataValue:l,maxSize:.8*i,minDataValue:a,minSize:.2*i},u=c.minDataValue??a,h=c.maxDataValue??l,f=null!=c.maxSize&&null!=c.minSize?[c.minSize/i,c.maxSize/i]:[.2,.8];if("wind_speed"===e){const t=(f[0]+f[1])/2;f[0]=f[1]=t}const d=null!=u&&null!=h?[u,h]:null;let p=null;if("classified_arrow"===e)if(null!=u&&null!=h&&null!=c){p=[];const t=(c.maxDataValue-c.minDataValue)/5;for(let e=0;e<6;e++)p.push(c.minDataValue+t*e)}else p=[0,1e-6,3.5,7,10.5,14];const m="flow_to"===s==("ocean_current_kn"===e||"ocean_current_m"===e)?0:Math.PI,g=o?.find(t=>"rotationInfo"===t.type);return{breakValues:p,dataRange:d,inputUnit:r,outputUnit:n,symbolTileSize:i,symbolPercentRange:f,style:e||"single_arrow",rotation:m,rotationType:this.rasterInfo.storageInfo?.tileInfo&&"vector-uv"===this.rasterInfo.dataType?"geographic":g?.rotationType||t.rotationType,type:"vectorField"}}};function m(t){return(0,l.AB)(t)&&0!==t.validPixelCount}(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"rendererJSON",void 0),(0,n.Cg)([(0,s.MZ)({type:h.A,json:{write:!0}})],p.prototype,"rasterInfo",void 0),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"lookup",void 0),(0,n.Cg)([(0,s.MZ)()],p.prototype,"canRenderInWebGL",void 0),p=(0,n.Cg)([(0,s.$K)("esri.renderers.support.RasterSymbolizer")],p)},87186(t,e,r){r.d(e,{A:()=>b});var n,o=r(31635),i=r(25482),s=r(4718),a=r(91429),l=r(5443),c=r(16930);function u(t){return t=Number(t),isNaN(t)?void 0:t}let h=class extends i.o{static{n=this}constructor(t){super(t),this.name=null,this.minWavelength=void 0,this.maxWavelength=void 0,this.radianceBias=void 0,this.radianceGain=void 0,this.reflectanceBias=void 0,this.reflectanceGain=void 0,this.solarIrradiance=void 0}clone(){return new n({name:this.name,minWavelength:this.minWavelength,maxWavelength:this.maxWavelength,radianceBias:this.radianceBias,radianceGain:this.radianceGain,reflectanceBias:this.reflectanceBias,reflectanceGain:this.reflectanceGain,solarIrradiance:this.solarIrradiance})}};(0,o.Cg)([(0,a.MZ)({json:{name:"BandName",write:!0}})],h.prototype,"name",void 0),(0,o.Cg)([(0,a.MZ)({json:{read:{source:["WavelengthMin","Wavelength"],reader:(t,e)=>u(e.WavelengthMin??e.Wavelength)},write:{target:"WavelengthMin"}}})],h.prototype,"minWavelength",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"WavelengthMax",read:{reader:u},write:!0}})],h.prototype,"maxWavelength",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"RadianceBias",read:{reader:u},write:!0}})],h.prototype,"radianceBias",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"RadianceGain",read:{reader:u},write:!0}})],h.prototype,"radianceGain",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"ReflectanceBias",read:{reader:u},write:!0}})],h.prototype,"reflectanceBias",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"ReflectanceGain",read:{reader:u},write:!0}})],h.prototype,"reflectanceGain",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"SolarIrradiance",read:{reader:u},write:!0}})],h.prototype,"solarIrradiance",void 0),h=n=(0,o.Cg)([(0,a.$K)("esri.layers.support.RasterBandInfo")],h);var f,d=r(13868),p=r(36005),m=r(43937);function g(t){return t=Number(t),isNaN(t)?void 0:t}let y=class extends i.o{static{f=this}constructor(t){super(t),this.acquisitionDate=void 0,this.cloudCover=void 0,this.productName=void 0,this.sensorName=null,this.sensorAzimuth=void 0,this.sensorElevation=void 0,this.sunAzimuth=void 0,this.sunElevation=void 0}readAcquisitionDate(t){return new Date(t)}writeAcquisitionDate(t,e){e.AcquisitionDate=t.getTime()}clone(){return new f({acquisitionDate:this.acquisitionDate,cloudCover:this.cloudCover,productName:this.productName,sensorName:this.sensorName,sensorAzimuth:this.sensorAzimuth,sensorElevation:this.sensorElevation,sunAzimuth:this.sunAzimuth,sunElevation:this.sunElevation})}};(0,o.Cg)([(0,a.MZ)({type:Date,json:{name:"AcquisitionDate",write:!0}})],y.prototype,"acquisitionDate",void 0),(0,o.Cg)([(0,p.w)("acquisitionDate")],y.prototype,"readAcquisitionDate",null),(0,o.Cg)([(0,m.K)("acquisitionDate")],y.prototype,"writeAcquisitionDate",null),(0,o.Cg)([(0,a.MZ)({json:{name:"CloudCover",read:{reader:g},write:!0}})],y.prototype,"cloudCover",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"ProductName",write:!0}})],y.prototype,"productName",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"SensorName",write:!0}})],y.prototype,"sensorName",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"SensorAzimuth",read:{reader:g},write:!0}})],y.prototype,"sensorAzimuth",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"SensorElevation",read:{reader:g},write:!0}})],y.prototype,"sensorElevation",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"SunAzimuth",read:{reader:g},write:!0}})],y.prototype,"sunAzimuth",void 0),(0,o.Cg)([(0,a.MZ)({json:{name:"SunElevation",read:{reader:g},write:!0}})],y.prototype,"sunElevation",void 0),y=f=(0,o.Cg)([(0,a.$K)("esri.layers.support.RasterSensorInfo")],y);var w,C=r(20223);let b=class extends i.o{static{w=this}constructor(t){super(t),this.attributeTable=null,this.bandCount=null,this.colormap=null,this.extent=null,this.format=void 0,this.height=null,this.width=null,this.histograms=null,this.keyProperties={},this.multidimensionalInfo=null,this.noDataValue=null,this.pixelSize=null,this.pixelType=null,this.isPseudoSpatialReference=!1,this.spatialReference=null,this.statistics=null,this.storageInfo=null,this.transform=null}get bandInfos(){const t=this.keyProperties.BandProperties,{bandCount:e}=this;if(!t?.length||t.length<e){const t=[];for(let r=1;r<=e;r++)t.push(new h({name:"band_"+r}));return t}const r=t.map(t=>h.fromJSON(t));for(let t=0;t<r.length;t++)r[t].name=r[t].name||"band_"+(t+1);return r}get dataType(){const t=this.keyProperties?.DataType?.toLowerCase()??"generic";return"stdtime"===t?"standard-time":t}get nativeExtent(){return this._get("nativeExtent")||this.extent}set nativeExtent(t){t&&this._set("nativeExtent",t)}get nativePixelSize(){if(null==this.transform||!this.transform.affectsPixelSize)return this.pixelSize;const t=this.nativeExtent;return{x:t.width/this.width,y:t.height/this.height}}get hasMultidimensionalTranspose(){return!!this.storageInfo?.transposeInfo}get sensorInfo(){if(this.keyProperties?.SensorName)return y.fromJSON(this.keyProperties)}clone(){return new w({attributeTable:(0,s.o8)(this.attributeTable),bandCount:this.bandCount,colormap:(0,s.o8)(this.colormap),extent:(0,s.o8)(this.extent),format:this.format,height:this.height,width:this.width,histograms:(0,s.o8)(this.histograms),keyProperties:(0,s.o8)(this.keyProperties),multidimensionalInfo:(0,s.o8)(this.multidimensionalInfo),noDataValue:this.noDataValue,pixelSize:(0,s.o8)(this.pixelSize),pixelType:this.pixelType,isPseudoSpatialReference:this.isPseudoSpatialReference,spatialReference:(0,s.o8)(this.spatialReference),statistics:(0,s.o8)(this.statistics),storageInfo:(0,s.o8)(this.storageInfo),transform:(0,s.o8)(this.transform)})}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"attributeTable",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"bandCount",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],b.prototype,"bandInfos",null),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"colormap",void 0),(0,o.Cg)([(0,a.MZ)({type:String,readOnly:!0})],b.prototype,"dataType",null),(0,o.Cg)([(0,a.MZ)({type:l.A,json:{write:!0}})],b.prototype,"extent",void 0),(0,o.Cg)([(0,a.MZ)({type:l.A,json:{write:!0}})],b.prototype,"nativeExtent",null),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"nativePixelSize",null),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"format",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"height",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"width",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"hasMultidimensionalTranspose",null),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"histograms",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"keyProperties",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"multidimensionalInfo",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"noDataValue",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"pixelSize",void 0),(0,o.Cg)([(0,a.MZ)({type:d.e8.apiValues,json:{write:!0}})],b.prototype,"pixelType",void 0),(0,o.Cg)([(0,a.MZ)()],b.prototype,"isPseudoSpatialReference",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],b.prototype,"sensorInfo",null),(0,o.Cg)([(0,a.MZ)({type:c.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"statistics",void 0),(0,o.Cg)([(0,a.MZ)({type:C.A,json:{write:!0}})],b.prototype,"storageInfo",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=w=(0,o.Cg)([(0,a.$K)("esri.layers.support.RasterInfo")],b)},87877(t,e,r){r.d(e,{Cr:()=>S,D4:()=>F,JM:()=>B,XO:()=>P,r9:()=>R,s$:()=>G,uT:()=>O,uc:()=>I,zS:()=>E}),r(44208);var n=r(9334),o=r(61294),i=r(43946),s=r(73051),a=r(94778),l=r(94213),c=r(10713),u=r(68060);const h=[0,1,1,2,4,8,1,1,2,4,8,4,8,-1,-1,-1,8,8,8],f=4294967296,d=new Set([1,5,6,7,8,34712,34887]);function p(t,e){let r="unknown";return 3===t?r=64===e?"f64":"f32":1===t?1===e?r="u1":2===e?r="u2":4===e?r="u4":e<=8?r="u8":e<=16?r="u16":e<=32&&(r="u32"):2===t&&(e<=8?r="s8":e<=16?r="s16":e<=32&&(r="s32")),r}function m(t){let e=null;switch(t?t.toLowerCase():"f32"){case"u1":case"u2":case"u4":case"u8":e=Uint8Array;break;case"u16":e=Uint16Array;break;case"u32":e=Uint32Array;break;case"s8":e=Int8Array;break;case"s16":e=Int16Array;break;case"s32":e=Int32Array;break;case"f64":e=Float64Array;break;default:e=Float32Array}return e}function g(t,e){return{x:e[0]*t.x+e[1]*t.y+e[2],y:e[3]*t.x+e[4]*t.y+e[5]}}function y(t,e){return t.get(e)?.values}function w(t,e){return t.get(e)?.values}function C(t,e){return t.get(e)?.values?.[0]}function b(t,e){return t.get(e)?.values?.[0]}function x(t,e,r,n=0,o=l.NB,i=4){const s=8===i,a=s?L(new DataView(t,r,8),0,e):new DataView(t,r,2).getUint16(0,e),c=4+2*i,u=s?8:2,h=u+a*c;if(r+h>t.byteLength)return{success:!1,ifd:null,nextIFD:null,requiredBufferSize:h};const f=8===i?8:4,d=r+h+f<=t.byteLength?D(new DataView(t,r+h,f),0,e,8===i):null,p=r+u,m=new Map;let g,y,w,C,b,x=0,v=0;for(let r=0;r<a;r++){y=new DataView(t,p+c*r,c),w=y.getUint16(0,e),b=y.getUint16(2,e),C=(0,l.kq)(w,o);const s=[];2===i?(x=y.getUint16(4,e),v=y.getUint16(6,e)):4===i?(x=y.getUint32(4,e),v=y.getUint32(8,e)):8===i&&(x=D(y,4,e,!0),v=D(y,12,e,!0),s.push(y.getUint32(12,e)),s.push(y.getUint32(16,e))),g={id:w,type:b,valueCount:x,valueOffset:v,valueOffsets:s,values:null},S(t,e,g,n,!1,i),m.set(C,g)}return{success:!0,ifd:m,nextIFD:d,requiredBufferSize:h}}function v(t,e){if(e%8==0)return t;const r=e>16?32:e>8?16:8;r>8&&(t=M(t,32===r?4:2));const n=32===r?Uint32Array:16===r?Uint16Array:Uint8Array,o=new n(t),i=Math.floor(8*t.byteLength/e+1e-6),s=new n(i),a=(1<<e)-1;let l=0,c=0,u=0;for(let t=0;t<i;t++)if(0===c&&(u=o[l++],c=r),c>=e)s[t]=u>>>c-e&a,c-=e;else{const n=e-c;let i=(u&a)<<n&a;u=o[l++],c=r-n,i+=u>>>c,s[t]=i}return s.buffer}function A(t,e,r){const n=new o.J;n.parse(t),n.colorTransform=6===r?-1:0;const i=n.getData(n.width,n.height,1!==e&&4!==e);return new Uint8Array(i.buffer)}function k(t){const e=new u.Z(t).getBytes(),r=new ArrayBuffer(e.length),n=new Uint8Array(r);return n.set(e),n}function M(t,e){const r=new Uint8Array(t),n=new Uint8Array(r.length);if(2===e)for(let t=0;t<r.length;t+=2)n[t]=r[t+1],n[t+1]=r[t];else if(4===e)for(let t=0;t<r.length;t+=4)n[t]=r[t+3],n[t+1]=r[t+2],n[t+2]=r[t+1],n[t+3]=r[t];else for(let t=0;t<r.length;t+=8)n[t]=r[t+7],n[t+1]=r[t+6],n[t+2]=r[t+5],n[t+3]=r[t+4],n[t+4]=r[t+3],n[t+5]=r[t+2],n[t+6]=r[t+1],n[t+7]=r[t];return n.buffer}async function T(t,e,r,n,o){const a=c.Z===e,l=b(r,"BITSPERSAMPLE"),u=b(r,"SAMPLESPERPIXEL")??1,h=b(r,"PHOTOMETRICINTERPRETATION"),f=b(r,"SAMPLEFORMAT")??1,d=p(f,l),g=b(r,"COMPRESSION")??1,y=m(d);let w,C,x;if(34887===g)return await(0,i.Hh)(),((t,e)=>(0,i.D4)(t,{inputOffset:e}).pixels[0])(t,n);if(1===g)w=t.slice(n,n+o),C=new Uint8Array(w);else if(8===g||32946===g)C=new Uint8Array(t,n,o),C=k(C),w=C.buffer;else if(6===g)C=new Uint8Array(t,n,o),C=A(C,u,h),w=C.buffer;else if(7===g){const e=r.get("JPEGTABLES").values,i=e.length-2;C=new Uint8Array(i+o-2);for(let t=0;t<i;t++)C[t]=e[t];const s=new Uint8Array(t,n+2,o-2);for(let t=0;t<s.length;t++)C[i+t]=s[t];C=A(C,u,h),w=C.buffer}else{if(5!==g)throw new Error("tiff-decode: unsupport compression "+g);C=(0,s.D)(t,n,o,e),w=C.buffer}if(w=v(w,l),a||l<=8)x=new y(w);else{const t=l>32?8:l>16?4:2;x=new y(M(C.buffer,t))}const T=b(r,"PREDICTOR")??1,S=b(r,"TILEWIDTH"),I=b(r,"TILELENGTH");if(T>1&&(5===g||8===g||32946===g)&&S&&I){const t=P(r),e=new y(x.length);e.set(x),x=function(t,e,r,n,o){const i=n?4:1,s=r*i*o;n&&(t=new Uint8Array(t.buffer));for(let r=0;r<e;r++){const e=r*s;for(let r=o;r<s;r++)t[e+r]+=t[e+r-o]}if(!n)return t;const a=new Uint8Array(t.length),l=r*o;for(let r=0;r<e;r++){const e=r*s;for(let r=0;r<l;r++)for(let n=0;n<i;n++)a[e+r*i+n]=t[e+r+(i-n-1)*l]}return new Float32Array(a.buffer)}(e,I,S,3===f&&3===T,t?1:u)}return x}function S(t,e,r,n=0,o=!1,i=4){if(r.values)return!0;const s=r.type,a=r.valueCount;let l=r.valueOffset,c=[];const u=h[s],d=8*u,p=a*u,m=a*h[s]*8;let g,y;const w=8===i?64:32,C=r.valueOffsets;if(m>w&&p>(o?t.byteLength:t?t.byteLength-l+n:0))return r.offlineOffsetSize=[l,p],r.values=null,!1;if(m<=w){if(!e)if(w<=32)l>>>=32-m;else{const t=C?.length?C[0]:l>>>0,e=C?.length?C[1]:Math.round((l-t)/f);m<=32?(l=t>>>32-m,C[0]=l):(l=t*2**(32-m)+(e>>>32-m),C[0]=t,C[1]=e>>>32-m)}if(1===a&&d===w)c=[l];else if(64===w){const t=C?.length?C[0]:l>>>0,e=C?.length?C[1]:Math.round((l-t)/f);let r=t,n=32;for(y=1;y<=a;y++){const t=32-d*y%32;if(n<d){const o=r<<t>>>32-n,i=e<<32-n>>>32-n;r=e,c.push(o+i*2**(d-n)),n-=32-(d-n)}else c.push(r<<t>>>32-d),n-=d;0===n&&(n=32,r=e)}}else for(y=1;y<=a;y++){const t=32-d*y;c.push(l<<t>>>32-d)}}else{l-=n,o&&(l=0);for(let r=l;r<l+p;r+=u){switch(s){case 1:case 2:case 7:g=new DataView(t,r,1).getUint8(0);break;case 3:g=new DataView(t,r,2).getUint16(0,e);break;case 4:case 13:g=new DataView(t,r,4).getUint32(0,e);break;case 5:g=new DataView(t,r,4).getUint32(0,e)/new DataView(t,r+4,4).getUint32(0,e);break;case 6:g=new DataView(t,r,1).getInt8(0);break;case 8:g=new DataView(t,r,2).getInt16(0,e);break;case 9:g=new DataView(t,r,4).getInt32(0,e);break;case 10:g=new DataView(t,r,4).getInt32(0,e)/new DataView(t,r+4,4).getInt32(0,e);break;case 11:g=new DataView(t,r,4).getFloat32(0,e);break;case 12:g=new DataView(t,r,8).getFloat64(0,e);break;case 16:case 18:g=L(new DataView(t,r,8),0,e);break;case 17:g=U(new DataView(t,r,8),0,e);break;default:g=null}c.push(g)}}if(2===s){let t="";const e=c;for(c=[],y=0;y<e.length;y++)0===e[y]&&""!==t?(c.push(t),t=""):t+=String.fromCharCode(e[y]);""===t&&0!==c.length||c.push(t)}return r.values=c,!0}function I(t){const e=t[0],r=b(e,"TILEWIDTH"),n=b(e,"TILELENGTH"),o=b(e,"IMAGEWIDTH"),i=b(e,"IMAGELENGTH"),s=b(e,"BITSPERSAMPLE"),a=b(e,"SAMPLESPERPIXEL"),l=b(e,"SAMPLEFORMAT")??1,c=p(l,s),u=P(e),h=y(e,"GDAL_NODATA");let f=null;h?.length&&(f=h.map(t=>parseFloat(t)),f.some(t=>isNaN(t))&&(f=null));const m=b(e,"COMPRESSION")??1;let x;switch(m){case 1:x="NONE";break;case 2:case 3:case 4:case 32771:x="CCITT";break;case 5:x="LZW";break;case 6:case 7:x="JPEG";break;case 32773:x="PACKBITS";break;case 8:case 32946:x="DEFLATE";break;case 34712:x="JPEG2000";break;case 34887:x="LERC";break;default:x=String(m)}let v=!0,A="";d.has(m)||(v=!1,A+="unsupported tag compression "+m),l>3&&(v=!1,A+="unsupported tag sampleFormat "+l),s>32&&64!==s&&(v=!1,A+="unsupported tag bitsPerSample "+s);const k=C(e,"GEOASCIIPARAMS");let M;if(k){const t=k.split("|").find(t=>t.includes("ESRI PE String = ")),e=t?t.replace("ESRI PE String = ",""):"";M=e.startsWith("COMPD_CS")||e.startsWith("PROJCS")||e.startsWith("GEOGCS")?{wkid:null,wkt:e}:null}const T=w(e,"GEOTIEPOINTS"),S=w(e,"GEOPIXELSCALE"),I=w(e,"GEOTRANSMATRIX"),L=e.has("GEOKEYDIRECTORY")?e.get("GEOKEYDIRECTORY").data:null;let U,D,O=!1,B=!1;if(L){O=2===b(L,"GTRasterTypeGeoKey");const t=b(L,"GTModelTypeGeoKey");if(2===t){const t=b(L,"GeographicTypeGeoKey");t>=1024&&t<=32766&&(M={wkid:t}),M||32767!==t||(B=!0,M={wkid:4326})}else if(1===t){const t=b(L,"ProjectedCSTypeGeoKey");t>=1024&&t<=32766&&(M={wkid:t})}}if(S&&T&&T.length>=6?(U=[S[0],0,T[3]-T[0]*S[0],0,-Math.abs(S[1]),T[4]-T[1]*S[1]],O&&(U[2]-=.5*U[0]+.5*U[1],U[5]-=.5*U[3]+.5*U[4])):I&&16===I.length&&(U=O?[I[0],I[1],I[3]-.5*I[0],I[4],I[5],I[7]-.5*I[5]]:[I[0],I[1],I[3],I[4],I[5],I[7]]),U){const t=[{x:0,y:i},{x:0,y:0},{x:o,y:i},{x:o,y:0}];let e,r=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY;for(let o=0;o<t.length;o++)e=g(t[o],U),r=e.x>r?r:e.x,s=e.x<s?s:e.x,n=e.y>n?n:e.y,a=e.y<a?a:e.y;D={xmin:r,xmax:s,ymin:n,ymax:a,spatialReference:M}}else D={xmin:-.5,ymin:.5-i,xmax:o-.5,ymax:.5,spatialReference:M};B&&(D.xmax-D.xmin>400||Math.max(Math.abs(D.xmin),Math.abs(D.xmax))>361)&&(M=null,D.spatialReference=null);const G=E(t);let F,V,z,_,j;if(G.length>0){z=Math.round(Math.log(o/b(G[0],"IMAGEWIDTH"))/Math.LN2);const t=G[G.length-1];_=G.length,F=b(t,"TILEWIDTH"),V=b(t,"TILELENGTH")}F=null!=_&&_>0?F||r:null,V=null!=_&&_>0?V||n:null,r&&(j=[{maxCol:Math.ceil(o/r)-1,maxRow:Math.ceil(i/n)-1,minRow:0,minCol:0}],G.forEach(t=>{j.push({maxCol:Math.ceil(b(t,"IMAGEWIDTH")/b(t,"TILEWIDTH"))-1,maxRow:Math.ceil(b(t,"IMAGELENGTH")/b(t,"TILELENGTH"))-1,minRow:0,minCol:0})}));const W=(t=>{if(!t)return null;const e=t.match(/<Item(.*?)Item>/gi);if(!e||0===e.length)return null;const r=new Map;let n,o,i,s,a;for(let t=0;t<e.length;t++)n=e[t],o=n.slice(6,n.indexOf(">")),s=n.indexOf("sample="),s>-1&&(a=n.slice(s+8,n.indexOf('"',s+8))),s=n.indexOf("name="),s>-1&&(o=n.slice(s+6,n.indexOf('"',s+6))),o&&(i=n.slice(n.indexOf(">")+1,n.indexOf("</Item>")).trim(),null!=a?r.has(o)?r.get(o)[a]=i:r.set(o,[i]):r.set(o,i)),a=null;const l=r.get("STATISTICS_MINIMUM"),c=r.get("STATISTICS_MAXIMUM"),u=r.get("STATISTICS_MEAN"),h=r.get("STATISTICS_STDDEV");let f=null;if(l&&c){f=[];for(let t=0;t<l.length;t++)f.push({min:parseFloat(l[t]),max:parseFloat(c[t]),avg:u&&parseFloat(u[t]),stddev:h&&parseFloat(h[t])})}const d=r.get("BandName"),p=r.get("WavelengthMin"),m=r.get("WavelengthMax");let g=null;if(d){g=[];for(let t=0;t<d.length;t++)g.push({BandName:d[t],WavelengthMin:p&&parseFloat(p[t]),WavelengthMax:m&&parseFloat(m[t])})}return{statistics:f,bandProperties:g,dataType:r.get("DataType"),rawMetadata:r}})(C(t[0],"GDAL_METADATA"));A+=" "+N({width:o,height:i,tileWidth:r,tileHeight:n,planes:a,ifds:t});const Z=R(t).length===G.length+1,H=G?.length?G.map(t=>({x:o/b(t,"IMAGEWIDTH"),y:i/b(t,"IMAGELENGTH")})):void 0;return{width:o,height:i,tileWidth:r,tileHeight:n,planes:a,isBSQ:u,pixelType:c,compression:x,noData:f,hasMaskBand:Z,isSupported:v,pyramidResolutions:H,message:A,extent:D,isPseudoGeographic:B,affine:S?null:U,firstPyramidLevel:z,maximumPyramidLevel:_,pyramidBlockWidth:F,pyramidBlockHeight:V,tileBoundary:j,metadata:W}}function P(t,e){const r=y(t,"PLANARCONFIGURATION");return r?2===r[0]:!!e&&e.isBSQ}function E(t){return t.filter(t=>1===b(t,"NEWSUBFILETYPE"))}function R(t){return t.filter(t=>{const e=!(4&~(b(t,"NEWSUBFILETYPE")??0)),r=4===b(t,"PHOTOMETRICINTERPRETATION");return e&&r})}function L(t,e,r){const n=t.getUint32(e,r),o=t.getUint32(e+4,r);return r?o*f+n:n*f+o}function U(t,e,r){let n=r?t.getInt32(e,r):t.getUint32(e,r),o=r?t.getUint32(e+4,r):t.getInt32(e+4,r);const i=(r?n:o)>=0?1:-1;return r?n*=i:o*=i,i*(r?o*f+n:n*f+o)}function D(t,e,r,n){return n?L(t,e,r):t.getUint32(e,r)}function O(t){const e=new DataView(t,0,16),r=e.getUint16(0,!1);let n=null;if(18761===r)n=!0;else{if(19789!==r)throw new Error("unexpected endianess byte");n=!1}const o=e.getUint16(2,n);if(42!==o&&43!==o)throw new Error("unexpected tiff identifier");let i=4;const s=43===o;if(s){const t=e.getUint16(i,n);if(i+=2,8!==t)throw new Error("unsupported bigtiff version");if(0!==e.getUint16(i,n))throw new Error("unsupported bigtiff version");i+=2}return{littleEndian:n,isBigTiff:s,firstIFDPos:D(e,i,n,s)}}function B(t,e,r,o=0,i=l.NB,s=4){const a=x(t,e,r,o,i,s);let c;const u=a.ifd;if(u){if(l.RR.forEach((r,n)=>{u.has(n)&&(c=u.get(n),c.data=x(t,e,c.valueOffset-o,o,r).ifd)}),u.has("GEOKEYDIRECTORY")){c=u.get("GEOKEYDIRECTORY");const r=c.values;if(r&&r.length>4){const n=r[0]+"."+r[1]+"."+r[2];c.data=x(t,e,c.valueOffset+6-o,o,l.YC,2).ifd,c.data&&c.data.set("GEOTIFFVersion",{id:0,type:2,valueCount:1,valueOffset:null,values:[n]})}}if(u.has("XMP")){c=u.get("XMP");const t=c.values;"number"==typeof t[0]&&7===c.type&&(c.values=[(0,n.w)(new Uint8Array(t))])}}return a}function N(t){const{width:e,height:r,tileHeight:n,tileWidth:o}=t,i=t.planes,s=o?o*n:e*r,a=b(t.ifds[0],"BITSPERSAMPLE");let l="";return s*i>2**30/(a>8?a/8:1)&&(l=o?"tiled tiff exceeding 1 gigabits per tile is not supported":"scanline tiff exceeding 1 gigabits is not supported"),l}async function G(t,e){const{headerInfo:r,ifd:n,offsets:o,sizes:i}=e,s=[];for(let e=0;e<o.length;e++){i[e];const a=await T(t,r.littleEndian,n,o[e],i[e]||t.byteLength);s.push(a)}const l=P(n,r),c=b(n,"BITSPERSAMPLE"),u=p(b(n,"SAMPLEFORMAT")??1,c),h=b(n,"SAMPLESPERPIXEL")||r.planes,f=m(u),d=b(n,"TILEWIDTH"),g=b(n,"TILELENGTH"),y=b(n,"COMPRESSION")??1,w=d*g;let C;const x=[];let v=s[0];const A=34887===y;for(let t=0;t<h;t++){if(C=new f(w),s.length===h)v=s[t],v.length===w&&(C=v);else if(v.length)if(l||A)C=v.length===w?v:v.slice(w*t,w*(t+1));else for(let e=0;e<w;e++)C[e]=v[e*h+t];x.push(C)}const k=r.noData?r.noData[0]:e.noDataValue,M=r.metadata?r.metadata.statistics:null,S=M?M.map(t=>t.min):null,I=M?M.map(t=>t.max):null,E={pixelType:u,width:d,height:g,pixels:x,noDataValue:k};return null!=k?(0,a.Sp)(E,k,{matchAllNoData:e?.matchAllNoData}):S&&I&&e.applyMinMaxConstraint&&(E.mask=((t,e,r)=>{if(!(t&&t.length>0&&e&&r))return null;let n,o,i;const s=t[0].length,a=t.length,l=new Uint8Array(s);for(let c=0;c<a;c++)if(n=t[c],o=e[c],i=r[c],0===c)for(let t=0;t<s;t++)l[t]=n[t]<o||n[t]>i?0:1;else for(let t=0;t<s;t++)l[t]&&(l[t]=n[t]<o||n[t]>i?0:1);return l})(x,S,I)),E}async function F(t,e={}){const r=e.pyramidLevel||0,n=e.headerInfo||function(t){const{littleEndian:e,isBigTiff:r,firstIFDPos:n}=O(t);let o=n;const i=[];do{const n=B(t,e,o,0,l.NB,r?8:4);if(!n.success)break;i.push(n.ifd),o=n.nextIFD}while(o>0);return{...I(i),littleEndian:e,isBigTiff:r,ifds:i,pyramidIFDs:E(i),maskIFDs:R(i)}}(t),{ifds:o,noData:i}=n;if(0===o.length)throw new Error("no valid image file directory");const u=N(n);if(u)throw u;let h=null;const f=-1===r?o[o.length-1]:o[r],d=i??e.noDataValue;return h=n.tileWidth?await async function(t,e,r){const n=w(r,"TILEOFFSETS");if(void 0===n)return null;const o=w(r,"TILEBYTECOUNTS"),{width:i,height:s,pixelType:a,tileWidth:l,tileHeight:c}=I([r]),u=P(r,e),h=b(r,"SAMPLESPERPIXEL")||e.planes,f=i*s,d=b(r,"BITSPERSAMPLE"),p=34887===(b(r,"COMPRESSION")??1),g=m(a),y=[];for(let t=0;t<h;t++)y.push(new g(f));const C=Math.ceil(i/l),x=new Uint8Array(f).fill(255);let v=null,A=!1;if(d%8==0)if(p&&u&&h>1){const a=Math.round(n.length/h);for(let u=0;u<a;u++){const a=Math.floor(u/C)*c,f=u%C*l,d=a*i+f;for(let p=0;p<h;p++){const m=u*h+p;0===o[m]?(v=null,A=!0):v=await T(t,e.littleEndian,r,n[m],o[m]);const g=Math.min(l,i-f),w=Math.min(c,s-a),C=y[p];for(let t=0;t<w;t++){let e=d+t*i,r=t*l;for(let t=0;t<g;t++,e++,r++)v?C[e]=v[r]:x[e]=0}}}}else for(let a=0;a<n.length;a++){const f=Math.floor(a/C)*c,d=a%C*l,m=f*i+d;0===o[a]?(v=null,A=!0):v=await T(t,e.littleEndian,r,n[a],o[a]);const g=Math.min(l,i-d),w=Math.min(c,s-f);for(let t=0;t<h;t++){const e=y[t];if(u||p)for(let r=0;r<w;r++){let n=m+r*i,o=l*c*t+r*l;for(let t=0;t<g;t++,n++,o++)v?e[n]=v[o]:x[n]=0}else for(let r=0;r<w;r++){let n=m+r*i,o=r*l*h+t;for(let t=0;t<g;t++,n++,o+=h)v?e[n]=v[o]:x[n]=0}}}return{width:i,height:s,pixelType:a,pixels:y,mask:A?x:void 0}}(t,n,f):((t,e,r)=>{const n=c.Z===e.littleEndian,o=w(r,"STRIPOFFSETS");if(void 0===o)return null;const{width:i,height:a,pixelType:l}=I([r]),u=b(r,"SAMPLESPERPIXEL")||e.planes,h=b(r,"PHOTOMETRICINTERPRETATION"),f=i*a,d=b(r,"BITSPERSAMPLE"),p=m(l),g=new p(f*u),y=w(r,"STRIPBYTECOUNTS"),C=b(r,"ROWSPERSTRIP"),x=b(r,"COMPRESSION")??1;let M,T,S,P;if(d%8==0)for(let r=0;r<o.length;r++){const a=r*(C*i)*u;if("u8"===l||"s8"===l||n)8===x||32946===x?(S=new Uint8Array(t,o[r],y[r]),S=k(S),T=S.buffer):6===x?(S=new Uint8Array(t,o[r],y[r]),S=A(S,u,h),T=S.buffer):5===x?(S=(0,s.D)(t,o[r],y[r],e.littleEndian),T=S.buffer):T=t.slice(o[r],o[r]+y[r]),T=v(T,d),M=new p(T);else{switch(6===x||8===x||32946===x?(S=new Uint8Array(t,o[r],y[r]),P=k(S),T=P.buffer):(T=new ArrayBuffer(y[r]),S=new Uint8Array(t,o[r],y[r]),P=new Uint8Array(T)),l){case"u16":case"s16":for(let t=0;t<S.length;t+=2)P[t]=S[t+1],P[t+1]=S[t];break;case"u32":case"s32":case"f32":for(let t=0;t<S.length;t+=4)P[t]=S[t+3],P[t+1]=S[t+2],P[t+2]=S[t+1],P[t+3]=S[t]}T=v(T,d),M=new p(T)}g.set(M,a)}const E=[];if(1===u)E.push(g);else for(let t=0;t<u;t++){const e=new p(f);for(let r=0;r<f;r++)e[r]=g[r*u+t];E.push(e)}return{width:i,height:a,pixelType:l,pixels:E}})(t,n,f),h?(null!=d&&(0,a.Sp)(h,d,{matchAllNoData:null==i&&e?.matchAllNoData}),h):h}},88178(t,e,r){function n(t,e){const{attributeTable:r,bandCount:n}=t;return!((null!=r||(o=t,!["u8","s8"].includes(o.pixelType)||null==o.statistics?.[0]?.min||null==o.statistics[0]?.max||1!==o.bandCount))&&(null==r||n>1||e&&null==r.fields.find(t=>t.name.toLowerCase()===e.toLowerCase())));var o}function o(t){const{bandCount:e,dataType:r,pixelType:n}=t;return"elevation"===r||"generic"===r&&1===e&&("s16"===n||"s32"===n||"f32"===n||"f64"===n)}function i(t,e=!1){const{bandCount:r,colormap:n,pixelType:o}=t;return 1===r&&(!!n?.length||!e&&"u8"===o)}function s(t,e=!1){const{attributeTable:r,bandCount:n}=t;return 1===n&&(!e||null!=r||null!=t.histograms)}function a(t){const{dataType:e}=t;return"vector-uv"===e||"vector-magdir"===e}function l(t){const{dataType:e}=t;return"vector-uv"===e||"vector-magdir"===e}function c(t){return!!t?.length&&t.length<=16384}r.d(e,{FA:()=>i,QJ:()=>l,WN:()=>c,hu:()=>n,iL:()=>o,rd:()=>a,xX:()=>s})},94213(t,e,r){r.d(e,{NB:()=>n,RR:()=>a,YC:()=>i,kq:()=>s});const n=(()=>{const t=[];return t[254]="NEWSUBFILETYPE",t[255]="SUBFILETYPE",t[256]="IMAGEWIDTH",t[257]="IMAGELENGTH",t[258]="BITSPERSAMPLE",t[259]="COMPRESSION",t[262]="PHOTOMETRICINTERPRETATION",t[263]="THRESHHOLDING",t[264]="CELLWIDTH",t[265]="CELLLENGTH",t[266]="FILLORDER",t[269]="DOCUMENTNAME",t[270]="IMAGEDESCRIPTION",t[271]="MAKE",t[272]="MODEL",t[273]="STRIPOFFSETS",t[274]="ORIENTATION",t[277]="SAMPLESPERPIXEL",t[278]="ROWSPERSTRIP",t[279]="STRIPBYTECOUNTS",t[280]="MINSAMPLEVALUE",t[281]="MAXSAMPLEVALUE",t[282]="XRESOLUTION",t[283]="YRESOLUTION",t[284]="PLANARCONFIGURATION",t[285]="PAGENAME",t[286]="XPOSITION",t[287]="YPOSITION",t[288]="FREEOFFSETS",t[289]="FREEBYTECOUNTS",t[290]="GRAYRESPONSEUNIT",t[291]="GRAYRESPONSECURVE",t[292]="T4OPTIONS",t[293]="T6OPTIONS",t[296]="RESOLUTIONUNIT",t[297]="PAGENUMBER",t[300]="COLORRESPONSEUNIT",t[301]="TRANSFERFUNCTION",t[305]="SOFTWARE",t[306]="DATETIME",t[315]="ARTIST",t[316]="HOSTCOMPUTER",t[317]="PREDICTOR",t[318]="WHITEPOINT",t[319]="PRIMARYCHROMATICITIES",t[320]="COLORMAP",t[321]="HALFTONEHINTS",t[322]="TILEWIDTH",t[323]="TILELENGTH",t[324]="TILEOFFSETS",t[325]="TILEBYTECOUNTS",t[326]="BADFAXLINES",t[327]="CLEANFAXDATA",t[328]="CONSECUTIVEBADFAXLINES",t[330]="SUBIFD",t[332]="INKSET",t[333]="INKNAMES",t[334]="NUMBEROFINKS",t[336]="DOTRANGE",t[337]="TARGETPRINTER",t[338]="EXTRASAMPLES",t[339]="SAMPLEFORMAT",t[340]="SMINSAMPLEVALUE",t[341]="SMAXSAMPLEVALUE",t[342]="TRANSFERRANGE",t[347]="JPEGTABLES",t[512]="JPEGPROC",t[513]="JPEGIFOFFSET",t[514]="JPEGIFBYTECOUNT",t[515]="JPEGRESTARTINTERVAL",t[517]="JPEGLOSSLESSPREDICTORS",t[518]="JPEGPOINTTRANSFORM",t[519]="JPEGQTABLES",t[520]="JPEGDCTABLES",t[521]="JPEGACTABLES",t[529]="YCBCRCOEFFICIENTS",t[530]="YCBCRSUBSAMPLING",t[531]="YCBCRPOSITIONING",t[532]="REFERENCEBLACKWHITE",t[700]="XMP",t[33550]="GEOPIXELSCALE",t[33922]="GEOTIEPOINTS",t[33432]="COPYRIGHT",t[42112]="GDAL_METADATA",t[42113]="GDAL_NODATA",t[50844]="RPCCOEFFICIENT",t[34264]="GEOTRANSMATRIX",t[34735]="GEOKEYDIRECTORY",t[34736]="GEODOUBLEPARAMS",t[34737]="GEOASCIIPARAMS",t[34665]="EXIFIFD",t[34853]="GPSIFD",t[40965]="INTEROPERABILITYIFD",t})(),o=(()=>{const t=n.slice();return t[36864]="ExifVersion",t[40960]="FlashpixVersion",t[40961]="ColorSpace",t[42240]="Gamma",t[37121]="ComponentsConfiguration",t[37122]="CompressedBitsPerPixel",t[40962]="PixelXDimension",t[40963]="PixelYDimension",t[37500]="MakerNote",t[37510]="UserComment",t[40964]="RelatedSoundFile",t[36867]="DateTimeOriginal",t[36868]="DateTimeDigitized",t[36880]="OffsetTime",t[36881]="OffsetTimeOriginal",t[36882]="OffsetTimeDigitized",t[37520]="SubSecTime",t[37521]="SubSecTimeOriginal",t[37522]="SubSecTimeDigitized",t[37888]="Temperature",t[37889]="Humidity",t[37890]="Pressure",t[37891]="WaterDepth",t[37892]="Acceleration",t[37893]="CameraElevationAngle",t[42016]="ImageUniqueID",t[42032]="CameraOwnerName",t[42033]="BodySerialNumber",t[42034]="LensSpecification",t[42035]="LensMake",t[42036]="LensModel",t[42037]="LensSerialNumber",t[33434]="ExposureTime",t[33437]="FNumber",t[34850]="ExposureProgram",t[34852]="SpectralSensitivity",t[34855]="PhotographicSensitivity",t[34856]="OECF",t[34864]="SensitivityType",t[34865]="StandardOutputSensitivity",t[34866]="RecommendedExposureIndex",t[34867]="ISOSpeed",t[34868]="ISOSpeedLatitudeyyy",t[34869]="ISOSpeedLatitudezzz",t[37377]="ShutterSpeedValue",t[37378]="ApertureValue",t[37379]="BrightnessValue",t[37380]="ExposureBiasValue",t[37381]="MaxApertureValue",t[37382]="SubjectDistance",t[37383]="MeteringMode",t[37384]="LightSource",t[37385]="Flash",t[37386]="FocalLength",t[37396]="SubjectArea",t[41483]="FlashEnergy",t[41484]="SpatialFrequencyResponse",t[41486]="FocalPlaneXResolution",t[41487]="FocalPlaneYResolution",t[41488]="FocalPlaneResolutionUnit",t[41492]="SubjectLocation",t[41493]="ExposureIndex",t[41495]="SensingMethod",t[41728]="FileSource",t[41729]="SceneType",t[41730]="CFAPattern",t[41985]="CustomRendered",t[41986]="ExposureMode",t[41987]="WhiteBalance",t[41988]="DigitalZoomRatio",t[41989]="FocalLengthIn35mmFilm",t[41990]="SceneCaptureType",t[41991]="GainControl",t[41992]="Contrast",t[41993]="Saturation",t[41994]="Sharpness",t[41995]="DeviceSettingDescription",t[41996]="SubjectDistanceRange",t})(),i=(()=>{const t=[];return t[1024]="GTModelTypeGeoKey",t[1025]="GTRasterTypeGeoKey",t[1026]="GTCitationGeoKey",t[2048]="GeographicTypeGeoKey",t[2049]="GeogCitationGeoKey",t[2050]="GeogGeodeticDatumGeoKey",t[2051]="GeogPrimeMeridianGeoKey",t[2052]="GeogLinearUnitsGeoKey",t[2053]="GeogLinearUnitSizeGeoKey",t[2054]="GeogAngularUnitsGeoKey",t[2055]="GeogAngularUnitSizeGeoKey",t[2056]="GeogEllipsoidGeoKey",t[2057]="GeogSemiMajorAxisGeoKey",t[2058]="GeogSemiMinorAxisGeoKey",t[2059]="GeogInvFlatteningGeoKey",t[2061]="GeogPrimeMeridianLongGeoKey",t[2060]="GeogAzimuthUnitsGeoKey",t[3072]="ProjectedCSTypeGeoKey",t[3073]="PCSCitationGeoKey",t[3074]="ProjectionGeoKey",t[3075]="ProjCoordTransGeoKey",t[3076]="ProjLinearUnitsGeoKey",t[3077]="ProjLinearUnitSizeGeoKey",t[3078]="ProjStdParallel1GeoKey",t[3079]="ProjStdParallel2GeoKey",t[3080]="ProjNatOriginLongGeoKey",t[3081]="ProjNatOriginLatGeoKey",t[3082]="ProjFalseEastingGeoKey",t[3083]="ProjFalseNorthingGeoKey",t[3084]="ProjFalseOriginLongGeoKey",t[3085]="ProjFalseOriginLatGeoKey",t[3086]="ProjFalseOriginEastingGeoKey",t[3087]="ProjFalseOriginNorthingGeoKey",t[3088]="ProjCenterLongGeoKey",t[3090]="ProjCenterEastingGeoKey",t[3091]="ProjCenterNorthingGeoKey",t[3092]="ProjScaleAtNatOriginGeoKey",t[3093]="ProjScaleAtCenterGeoKey",t[3094]="ProjAzimuthAngleGeoKey",t[3095]="ProjStraightVertPoleLongGeoKey",t[4096]="VerticalCSTypeGeoKey",t[4097]="VerticalCitationGeoKey",t[4098]="VerticalDatumGeoKey",t[4099]="VerticalUnitsGeoKey",t})(),s=(t,e)=>{let r=(e||n)[t];return void 0===r&&(r="unknown"+String(t)),r},a=new Map([["EXIFIFD",o],["GPSIFD",["GPSVersionID","GPSLatitudeRef","GPSLatitude","GPSLongitudeRef","GPSLongitude","GPSAltitudeRef","GPSAltitude","GPSTimeStamp","GPSSatellites","GPSStatus","GPSMeasureMode","GPSDOP","GPSSpeedRef","GPSSpeed","GPSTrackRef","GPSTrack","GPSImgDirectionRef","GPSImgDirection","GPSMapDatum","GPSDestLatitudeRef","GPSDestLatitude","GPSDestLongitudeRef","GPSDestLongitude","GPSDestBearingRef","GPSDestBearing","GPSDestDistanceRef","GPSDestDistance","GPSProcessingMethod","GPSAreaInformation","GPSDateStamp","GPSDifferential","GPSHPositioningError"]]])},94778(t,e,r){r.d(e,{$p:()=>l,Sp:()=>c,X1:()=>i,hP:()=>o,yM:()=>a,zw:()=>s});const n={u1:[0,1],u2:[0,3],u4:[0,15],u8:[0,255],s8:[-128,127],u16:[0,65535],s16:[-32768,32767],u32:[0,4294967295],s32:[-2147483648,2147483647],f32:[-34028234663852886e22,34028234663852886e22],f64:[-Number.MAX_VALUE,Number.MAX_VALUE],unknown:void 0,c64:void 0,c128:void 0};function o(t){return n[t]??[-34028234663852886e22,34028234663852886e22]}function i(t,e){return null==t||null==e?"s32":t<0?t>=-128&&e<128?"s8":t>=-32768&&e<32768?"s16":"s32":e<256?"u8":e<65536?"u16":"u32"}function s(t){return(t?.startsWith("s")||t?.startsWith("u"))??!1}function a(t,e,r,n){let[i,a]=o(r);const l=s(r);return l&&(i-=1e-5,a+=1e-5),l?r.startsWith("u")?function(t,e,r,n){const[o,i]=n;for(let n=0;n<e.length;n++)if(e[n]){const s=t[n];s<o||s>i?e[n]=0:r[n]=s+.5|0}}(t,e,n,[i,a]):function(t,e,r,n){const[o,i]=n;for(let n=0;n<e.length;n++)if(e[n]){const s=t[n];s<o||s>i?e[n]=0:r[n]=s+(s>0?.5:-.5)|0}}(t,e,n,[i,a]):function(t,e,r,n){const[o,i]=n;for(let n=0;n<e.length;n++)if(e[n]){const s=t[n];s<o||s>i?e[n]=0:r[n]=s}}(t,e,n,[i,a])}function l(t,e){for(let r=0;r<e.length;r++)e[r]&&isNaN(t[r])&&(e[r]=0,t[r]=0)}function c(t,e,r){if(t.depthCount&&t.depthCount>1)return;const{pixels:n,statistics:i,pixelType:s}=t,a=n[0].length,l=t.bandMasks??[],c=t.mask??new Uint8Array(a).fill(255),u="f32"===s||"f64"===s,h=o(s);let f=!1;for(let t=0;t<n.length;t++){const o="number"==typeof e?e:e[t];if(null==o)continue;const a=i?.[t]?.minValue??h[0],d=i?.[t]?.maxValue??h[1];if(a>o+Number.EPSILON||d<o-Number.EPSILON)continue;const p=l[t]||c.slice(),m=n[t],g=r?.customFloatTolerance;if(u&&0!==g){let t=g;t||(t=Math.abs(o)>=9999999e31?2e-7*Math.abs(o):"f32"===s?2**-23:Number.EPSILON);for(let e=0;e<m.length;e++)p[e]&&Math.abs(m[e]-o)<t&&(m[e]=0,p[e]=0,c[e]=0,f=!0)}else for(let t=0;t<m.length;t++)p[t]&&m[t]===o&&(m[t]=0,p[t]=0,c[t]=0,f=!0);l[t]=p}if(f){const e=t.bandMasks||t.pixels.length>1?l:null;r?.matchAllNoData?t.mask=e&&e.length>1?function(t){if(t.length<2)return t[0];const e=t[0].length,r=new Uint8Array(e).fill(0);for(let n=0;n<t.length;n++){const o=t[n];for(let t=0;t<e;t++)o[t]&&(r[t]=255)}return r}(e):c:(t.bandMasks=e,t.mask=c)}f&&"updateStatistics"in t&&t.updateStatistics()}}}]);