@arcgis/core 5.1.0-next.19 → 5.1.0-next.20

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 (707) hide show
  1. package/assets/components/assets/carousel/t9n/messages.ar.json +1 -1
  2. package/assets/components/assets/carousel/t9n/messages.bg.json +1 -1
  3. package/assets/components/assets/carousel/t9n/messages.bs.json +1 -1
  4. package/assets/components/assets/carousel/t9n/messages.ca.json +1 -1
  5. package/assets/components/assets/carousel/t9n/messages.cs.json +1 -1
  6. package/assets/components/assets/carousel/t9n/messages.da.json +1 -1
  7. package/assets/components/assets/carousel/t9n/messages.de.json +1 -1
  8. package/assets/components/assets/carousel/t9n/messages.el.json +1 -1
  9. package/assets/components/assets/carousel/t9n/messages.es.json +1 -1
  10. package/assets/components/assets/carousel/t9n/messages.et.json +1 -1
  11. package/assets/components/assets/carousel/t9n/messages.fi.json +1 -1
  12. package/assets/components/assets/carousel/t9n/messages.fr.json +1 -1
  13. package/assets/components/assets/carousel/t9n/messages.he.json +1 -1
  14. package/assets/components/assets/carousel/t9n/messages.hr.json +1 -1
  15. package/assets/components/assets/carousel/t9n/messages.hu.json +1 -1
  16. package/assets/components/assets/carousel/t9n/messages.id.json +1 -1
  17. package/assets/components/assets/carousel/t9n/messages.it.json +1 -1
  18. package/assets/components/assets/carousel/t9n/messages.ja.json +1 -1
  19. package/assets/components/assets/carousel/t9n/messages.ko.json +1 -1
  20. package/assets/components/assets/carousel/t9n/messages.lt.json +1 -1
  21. package/assets/components/assets/carousel/t9n/messages.lv.json +1 -1
  22. package/assets/components/assets/carousel/t9n/messages.nl.json +1 -1
  23. package/assets/components/assets/carousel/t9n/messages.no.json +1 -1
  24. package/assets/components/assets/carousel/t9n/messages.pl.json +1 -1
  25. package/assets/components/assets/carousel/t9n/messages.pt-BR.json +1 -1
  26. package/assets/components/assets/carousel/t9n/messages.pt-PT.json +1 -1
  27. package/assets/components/assets/carousel/t9n/messages.ro.json +1 -1
  28. package/assets/components/assets/carousel/t9n/messages.ru.json +1 -1
  29. package/assets/components/assets/carousel/t9n/messages.sk.json +1 -1
  30. package/assets/components/assets/carousel/t9n/messages.sl.json +1 -1
  31. package/assets/components/assets/carousel/t9n/messages.sr.json +1 -1
  32. package/assets/components/assets/carousel/t9n/messages.sv.json +1 -1
  33. package/assets/components/assets/carousel/t9n/messages.th.json +1 -1
  34. package/assets/components/assets/carousel/t9n/messages.tr.json +1 -1
  35. package/assets/components/assets/carousel/t9n/messages.uk.json +1 -1
  36. package/assets/components/assets/carousel/t9n/messages.vi.json +1 -1
  37. package/assets/components/assets/carousel/t9n/messages.zh-CN.json +1 -1
  38. package/assets/components/assets/carousel/t9n/messages.zh-HK.json +1 -1
  39. package/assets/components/assets/carousel/t9n/messages.zh-TW.json +1 -1
  40. package/assets/esri/core/workers/RemoteClient.js +1 -1
  41. package/assets/esri/core/workers/chunks/0140dc583e20b031eac9.js +1 -0
  42. package/assets/esri/core/workers/chunks/018859b79f9ce7528ac7.js +1 -0
  43. package/assets/esri/core/workers/chunks/01dd849a2d335e9f3e16.js +1 -0
  44. package/assets/esri/core/workers/chunks/{6b3d8280a24f7a3aac40.js → 026c00ee272c64e53daf.js} +1 -1
  45. package/assets/esri/core/workers/chunks/02cab89336504e95ed99.js +1 -0
  46. package/assets/esri/core/workers/chunks/06df187a116709f69952.js +1 -0
  47. package/assets/esri/core/workers/chunks/0711c856144cd8700e7e.js +1 -0
  48. package/assets/esri/core/workers/chunks/0883c4e63424d6746ada.js +1 -0
  49. package/assets/esri/core/workers/chunks/0987cb20148f65222b44.js +1 -0
  50. package/assets/esri/core/workers/chunks/0a1f88cf16bcbb53b371.js +1 -0
  51. package/assets/esri/core/workers/chunks/0a66a2b4aaab0774c34f.js +1 -0
  52. package/assets/esri/core/workers/chunks/0bb3beedae1b73beb1fc.js +1 -0
  53. package/assets/esri/core/workers/chunks/0ca405ca26676137a4be.js +1 -0
  54. package/assets/esri/core/workers/chunks/0ce968c89c35535da63e.js +1 -0
  55. package/assets/esri/core/workers/chunks/0d56e3b3265a4470aaa6.js +1 -0
  56. package/assets/esri/core/workers/chunks/0debabe324c873066885.js +1 -0
  57. package/assets/esri/core/workers/chunks/0df585420c9cec6a7265.js +1 -0
  58. package/assets/esri/core/workers/chunks/0facd2c143a04cc7c4ff.js +1 -0
  59. package/assets/esri/core/workers/chunks/108d652a959e7de31cbf.js +1 -0
  60. package/assets/esri/core/workers/chunks/13d1cb50232ae761425b.js +2 -0
  61. package/assets/esri/core/workers/chunks/144c719d5ba9e3a30961.js +1 -0
  62. package/assets/esri/core/workers/chunks/1482262d0788ee65ddf7.js +1 -0
  63. package/assets/esri/core/workers/chunks/1503ca177e2466ec0e87.js +1 -0
  64. package/assets/esri/core/workers/chunks/1597d7b380d510ff5252.js +1 -0
  65. package/assets/esri/core/workers/chunks/15d7c9f5a55985ed00b4.js +1 -0
  66. package/assets/esri/core/workers/chunks/166652b7d69bf216d7a4.js +1 -0
  67. package/assets/esri/core/workers/chunks/179b3385c24ad8a05e1d.js +1 -0
  68. package/assets/esri/core/workers/chunks/{4f2c29168c9de0b08741.js → 1880c3b293cdfa804625.js} +1 -1
  69. package/assets/esri/core/workers/chunks/18a40606e4c39f244ecd.js +1 -0
  70. package/assets/esri/core/workers/chunks/190bc75254bc0542a6be.js +1 -0
  71. package/assets/esri/core/workers/chunks/1be4e308280149eae4fb.js +1 -0
  72. package/assets/esri/core/workers/chunks/1bea32b02d35ddb9b118.js +1 -0
  73. package/assets/esri/core/workers/chunks/1d0153c7d65bd9ea7d39.js +1 -0
  74. package/assets/esri/core/workers/chunks/1d697642fb2a6332b7f9.js +1 -0
  75. package/assets/esri/core/workers/chunks/1d78ec98eef7fef08f86.js +1 -0
  76. package/assets/esri/core/workers/chunks/1df8330823841b5bb6a5.js +1 -0
  77. package/assets/esri/core/workers/chunks/1e6062dc68c26fcf608f.js +1 -0
  78. package/assets/esri/core/workers/chunks/1e6271524602e159dbad.js +1 -0
  79. package/assets/esri/core/workers/chunks/1ee3d44e6d7add0b24cb.js +1 -0
  80. package/assets/esri/core/workers/chunks/1f54ed4a5238ba1a2551.js +1 -0
  81. package/assets/esri/core/workers/chunks/1f96d597ba736e088168.js +1 -0
  82. package/assets/esri/core/workers/chunks/1fa2bf0d6740092ec619.js +1 -0
  83. package/assets/esri/core/workers/chunks/210ef3f1cc6ef8a831bf.js +1 -0
  84. package/assets/esri/core/workers/chunks/23c856265dd24ce54fdb.js +1028 -0
  85. package/assets/esri/core/workers/chunks/241ef4a1bea20b49d812.js +1 -0
  86. package/assets/esri/core/workers/chunks/25bc7c7bc2793d209640.js +1 -0
  87. package/assets/esri/core/workers/chunks/2662750d5761ed2d0eb7.js +1 -0
  88. package/assets/esri/core/workers/chunks/26e41b08efe77d247409.js +1 -0
  89. package/assets/esri/core/workers/chunks/297b58f29c496923e1f3.js +1 -0
  90. package/assets/esri/core/workers/chunks/2a2a9fa62969644ea200.js +1 -0
  91. package/assets/esri/core/workers/chunks/2abb64323839367c9205.js +1 -0
  92. package/assets/esri/core/workers/chunks/2b296378d21e4e3c11d4.js +1 -0
  93. package/assets/esri/core/workers/chunks/2b76a8897ad7ba284d33.js +1 -0
  94. package/assets/esri/core/workers/chunks/2bd8bf6749d101d82d61.js +1 -0
  95. package/assets/esri/core/workers/chunks/2cbcf34cf896a438999b.js +1 -0
  96. package/assets/esri/core/workers/chunks/2ddb8bb00b3af83ebd7c.js +1 -0
  97. package/assets/esri/core/workers/chunks/2de299ff3a902d380be6.js +1 -0
  98. package/assets/esri/core/workers/chunks/2e06baf6469820697f17.js +1 -0
  99. package/assets/esri/core/workers/chunks/{531c55f3b8e708ccf767.js → 2f3aeaa25a76ab94b8e5.js} +1 -1
  100. package/assets/esri/core/workers/chunks/305b2a8dc6438c5fd4aa.js +1 -0
  101. package/assets/esri/core/workers/chunks/33de1d899a4fa9ab6ab1.js +1 -0
  102. package/assets/esri/core/workers/chunks/36da644678e6acf3bdb5.js +1 -0
  103. package/assets/esri/core/workers/chunks/3861644c06cfebe8f40c.js +2 -0
  104. package/assets/esri/core/workers/chunks/38d5dd4d457428244302.js +1 -0
  105. package/assets/esri/core/workers/chunks/394b645d51e7bf799382.js +1 -0
  106. package/assets/esri/core/workers/chunks/3a8320a40916c755c031.js +1 -0
  107. package/assets/esri/core/workers/chunks/3c2eb386c0165150e039.js +1 -0
  108. package/assets/esri/core/workers/chunks/3d0aa5f2db79c022243e.js +1 -0
  109. package/assets/esri/core/workers/chunks/3e26f9af6b8c75bad97a.js +1 -0
  110. package/assets/esri/core/workers/chunks/3ed7f19f77a11fa4d047.js +1 -0
  111. package/assets/esri/core/workers/chunks/3f812b0a28afb47aaaf0.js +2 -0
  112. package/assets/esri/core/workers/chunks/403060849a2573bbf110.js +1 -0
  113. package/assets/esri/core/workers/chunks/41a95ad470ec42ecd5a2.js +1 -0
  114. package/assets/esri/core/workers/chunks/43c8b1473695574c663e.js +2 -0
  115. package/assets/esri/core/workers/chunks/452d71789a1b77cff48d.js +1 -0
  116. package/assets/esri/core/workers/chunks/465cc0e00f03cdb640b2.js +1 -0
  117. package/assets/esri/core/workers/chunks/48a56b19bf825f05cc6e.js +1 -0
  118. package/assets/esri/core/workers/chunks/4d16b6ac52e25bd7e6aa.js +1 -0
  119. package/assets/esri/core/workers/chunks/4d7f7b1e7663cf6088d1.js +1 -0
  120. package/assets/esri/core/workers/chunks/50ab9a3f8bbb268fae59.js +1 -0
  121. package/assets/esri/core/workers/chunks/51ade971dda3ebe90f31.js +1 -0
  122. package/assets/esri/core/workers/chunks/{cbcb3530375e280bfeac.js → 53f8c1d56ef3b24d2226.js} +1 -1
  123. package/assets/esri/core/workers/chunks/544bfa97837770a8792f.js +1 -0
  124. package/assets/esri/core/workers/chunks/{ec63c0fa21cd3c872633.js → 54794b18edc584fd7515.js} +1 -1
  125. package/assets/esri/core/workers/chunks/561484ab6ed564e4b90f.js +1 -0
  126. package/assets/esri/core/workers/chunks/5690b49f355a5e2083a9.js +1 -0
  127. package/assets/esri/core/workers/chunks/56c7d7c7217557375fb6.js +1 -0
  128. package/assets/esri/core/workers/chunks/592f6bf0283152481f21.js +1 -0
  129. package/assets/esri/core/workers/chunks/5a6a6e7151085a3cd3dd.js +1 -0
  130. package/assets/esri/core/workers/chunks/5a6d6082c5bcb1a80eda.js +1 -0
  131. package/assets/esri/core/workers/chunks/5b2dd164dd84fd1ca4f7.js +1 -0
  132. package/assets/esri/core/workers/chunks/5b70ee8122262de5bbdf.js +1 -0
  133. package/assets/esri/core/workers/chunks/5b991b0d4ca257291cb0.js +1 -0
  134. package/assets/esri/core/workers/chunks/5e3019ba1b4c88977a19.js +1 -0
  135. package/assets/esri/core/workers/chunks/5e360f933da02d8d2455.js +1 -0
  136. package/assets/esri/core/workers/chunks/5e4ea6a2784eed1423f1.js +1 -0
  137. package/assets/esri/core/workers/chunks/5eb9fdb076488de9cd83.js +1 -0
  138. package/assets/esri/core/workers/chunks/5f6942ac94acd7842926.js +1 -0
  139. package/assets/esri/core/workers/chunks/601e44839fd46e449aa8.js +1 -0
  140. package/assets/esri/core/workers/chunks/62c228ca16fdc7a2c695.js +1 -0
  141. package/assets/esri/core/workers/chunks/639202a461b17840a13f.js +1 -0
  142. package/assets/esri/core/workers/chunks/63934843c9f4ef779a07.js +1 -0
  143. package/assets/esri/core/workers/chunks/63b5b57f27c7c6194d44.js +1 -0
  144. package/assets/esri/core/workers/chunks/{003019c2741aef2d1aa0.js → 65520a443e3811255bea.js} +1 -1
  145. package/assets/esri/core/workers/chunks/693d269637135047a0c4.js +1 -0
  146. package/assets/esri/core/workers/chunks/{36215b2c0b1020743458.js → 6a14ec2d2de6778a4e7a.js} +1 -1
  147. package/assets/esri/core/workers/chunks/6ac84e6d33104e74398d.js +1 -0
  148. package/assets/esri/core/workers/chunks/6cdda5aa35fa12ea9345.js +1 -0
  149. package/assets/esri/core/workers/chunks/6d3467997b5d01630b08.js +1 -0
  150. package/assets/esri/core/workers/chunks/6dfcb0c804e63e87e311.js +1 -0
  151. package/assets/esri/core/workers/chunks/6f079f1fd6d00d2d174c.js +1 -0
  152. package/assets/esri/core/workers/chunks/6fde745f3a62e7f5a97d.js +1 -0
  153. package/assets/esri/core/workers/chunks/70263c2182dc43046742.js +1 -0
  154. package/assets/esri/core/workers/chunks/72cd450b24fdfcef6547.js +1 -0
  155. package/assets/esri/core/workers/chunks/7386a61f9610b8e5c608.js +1 -0
  156. package/assets/esri/core/workers/chunks/73e02f6c7ccc2013c812.js +1 -0
  157. package/assets/esri/core/workers/chunks/73e384fd93cf22503d84.js +1 -0
  158. package/assets/esri/core/workers/chunks/74a6d840813ac29b0bda.js +1 -0
  159. package/assets/esri/core/workers/chunks/{f6aa34577c5fab8cc1f5.js → 74e3c224e879edb37812.js} +1 -1
  160. package/assets/esri/core/workers/chunks/75664587bb80f4e187e1.js +1 -0
  161. package/assets/esri/core/workers/chunks/75fd96fd9557ac1f8e10.js +1 -0
  162. package/assets/esri/core/workers/chunks/7642905920e169a147f3.js +1 -0
  163. package/assets/esri/core/workers/chunks/764d080f77dec5e7a02c.js +1 -0
  164. package/assets/esri/core/workers/chunks/777b0e07f72c42470d36.js +1 -0
  165. package/assets/esri/core/workers/chunks/7873ee080c175d17a444.js +1 -0
  166. package/assets/esri/core/workers/chunks/7975abb2162a82c88edb.js +1 -0
  167. package/assets/esri/core/workers/chunks/7a2dd3d85d31dce29d94.js +1 -0
  168. package/assets/esri/core/workers/chunks/7b297a2f712361bfae2e.js +1 -0
  169. package/assets/esri/core/workers/chunks/7cec3252e3ee56424b9e.js +1 -0
  170. package/assets/esri/core/workers/chunks/7d274a077bdfa8c485e8.js +1 -0
  171. package/assets/esri/core/workers/chunks/7dd1e93469d0b1d652bc.js +1 -0
  172. package/assets/esri/core/workers/chunks/8012fdc49a7a10982f78.js +1 -0
  173. package/assets/esri/core/workers/chunks/835a929e37811d0f82cb.js +1 -0
  174. package/assets/esri/core/workers/chunks/835d6dd8c5a00682d879.js +1 -0
  175. package/assets/esri/core/workers/chunks/83d913dab3c2b0d6a7cc.js +1 -0
  176. package/assets/esri/core/workers/chunks/854fe80272b59fafc2e9.js +1 -0
  177. package/assets/esri/core/workers/chunks/85e0fd618625a639387f.js +1 -0
  178. package/assets/esri/core/workers/chunks/85f309c1888c1c8411b1.js +1 -0
  179. package/assets/esri/core/workers/chunks/86161025b53b916328ff.js +1 -0
  180. package/assets/esri/core/workers/chunks/861817be5e050e9522ab.js +1 -0
  181. package/assets/esri/core/workers/chunks/86465d4bb185d7460087.js +1 -0
  182. package/assets/esri/core/workers/chunks/87e7378b242debbfd575.js +1 -0
  183. package/assets/esri/core/workers/chunks/8838ff9668b472af16a1.js +1 -0
  184. package/assets/esri/core/workers/chunks/889835e61ea97f090082.js +1 -0
  185. package/assets/esri/core/workers/chunks/8aabc71d7f15c4407d7d.js +1 -0
  186. package/assets/esri/core/workers/chunks/8c2e5b116bac21e7d577.js +1 -0
  187. package/assets/esri/core/workers/chunks/8cf58806671ed491a456.js +1 -0
  188. package/assets/esri/core/workers/chunks/8d1d0c3f0532aa98487d.js +1 -0
  189. package/assets/esri/core/workers/chunks/8d6da6573d07385f4ed5.js +1 -0
  190. package/assets/esri/core/workers/chunks/90b19e60c056f32623e7.js +1 -0
  191. package/assets/esri/core/workers/chunks/91718795fc4ca6516ac7.js +1 -0
  192. package/assets/esri/core/workers/chunks/91e56959b2fddf1a9743.js +1 -0
  193. package/assets/esri/core/workers/chunks/925980d26d71987ac80c.js +1 -0
  194. package/assets/esri/core/workers/chunks/93515f52d9b5fa12bd04.js +1 -0
  195. package/assets/esri/core/workers/chunks/9461f7225c42cf15a114.js +1 -0
  196. package/assets/esri/core/workers/chunks/946698d9cefffdb63082.js +1 -0
  197. package/assets/esri/core/workers/chunks/978649cb6df99ee728be.js +1 -0
  198. package/assets/esri/core/workers/chunks/99101789035f1787c630.js +1 -0
  199. package/assets/esri/core/workers/chunks/9a2b1f0ca66c1b87c830.js +1 -0
  200. package/assets/esri/core/workers/chunks/9c6e96b1c2b0418a4f1c.js +1 -0
  201. package/assets/esri/core/workers/chunks/9f1f5fb648302c43ad12.js +1 -0
  202. package/assets/esri/core/workers/chunks/9f5f4da954228d876219.js +1 -0
  203. package/assets/esri/core/workers/chunks/a010fc1123bc0eeda478.js +1 -0
  204. package/assets/esri/core/workers/chunks/a1a12552d34ea9eea130.js +1 -0
  205. package/assets/esri/core/workers/chunks/a2323c957c8b2fe225b4.js +1 -0
  206. package/assets/esri/core/workers/chunks/a34e3c6da7d98569c052.js +1 -0
  207. package/assets/esri/core/workers/chunks/a36a33f43610c3cd985b.js +1 -0
  208. package/assets/esri/core/workers/chunks/a381932eef77f4d80292.js +1 -0
  209. package/assets/esri/core/workers/chunks/a495e60996a36ce19a32.js +1 -0
  210. package/assets/esri/core/workers/chunks/a53fa34681efff8fc024.js +1 -0
  211. package/assets/esri/core/workers/chunks/a7a9716582b256d76e5b.js +1 -0
  212. package/assets/esri/core/workers/chunks/a96c7432ca97cbeef4b8.js +1 -0
  213. package/assets/esri/core/workers/chunks/{ec0fcb1834c88090e7af.js → aa60f735ccd39cedef7e.js} +1 -1
  214. package/assets/esri/core/workers/chunks/aa9c11f25d95372998a3.js +1 -0
  215. package/assets/esri/core/workers/chunks/{128cdb4a02549abc68b5.js → aec33bdb355bd04f28ae.js} +1 -1
  216. package/assets/esri/core/workers/chunks/aece665144aed2065ffc.js +1 -0
  217. package/assets/esri/core/workers/chunks/af75e91b88e747aa76ac.js +1 -0
  218. package/assets/esri/core/workers/chunks/b089947c9a492c96ca27.js +1 -0
  219. package/assets/esri/core/workers/chunks/b35ea099334c867bde02.js +1 -0
  220. package/assets/esri/core/workers/chunks/b553264db0f10bb8c5f7.js +1 -0
  221. package/assets/esri/core/workers/chunks/b586f1021a27c5e1551a.js +2 -0
  222. package/assets/esri/core/workers/chunks/{236f8137ae505c8f0764.js → b65550b2f685ba760b2c.js} +1 -1
  223. package/assets/esri/core/workers/chunks/b6e4c35b76379088035c.js +1 -0
  224. package/assets/esri/core/workers/chunks/b730131e52f9220db031.js +1 -0
  225. package/assets/esri/core/workers/chunks/{9332db133a0925d522fe.js → b8b2f160518e3a225d99.js} +1 -1
  226. package/assets/esri/core/workers/chunks/bbf2afa05314e267893f.js +1 -0
  227. package/assets/esri/core/workers/chunks/bc982142e61598bd367c.js +1 -0
  228. package/assets/esri/core/workers/chunks/bcd701892ee120e13a18.js +1 -0
  229. package/assets/esri/core/workers/chunks/bd278f8081be8304be8d.js +1 -0
  230. package/assets/esri/core/workers/chunks/bd2f577cae61facdde4a.js +1 -0
  231. package/assets/esri/core/workers/chunks/c1a26956713262cb3cb3.js +1 -0
  232. package/assets/esri/core/workers/chunks/c1dc14b07282474a7c2d.js +1 -0
  233. package/assets/esri/core/workers/chunks/c327fe276238af60fda4.js +1 -0
  234. package/assets/esri/core/workers/chunks/c4a78ab84186c7be599a.js +1 -0
  235. package/assets/esri/core/workers/chunks/c4dc60617152d885f3da.js +1 -0
  236. package/assets/esri/core/workers/chunks/c6d5f6cfbb31a3fd11ff.js +1 -0
  237. package/assets/esri/core/workers/chunks/c7f27a84268a9b0d8cdb.js +1 -0
  238. package/assets/esri/core/workers/chunks/c80c6e60c87c3e5f5e62.js +1 -0
  239. package/assets/esri/core/workers/chunks/c91993503de5faa404f0.js +1 -0
  240. package/assets/esri/core/workers/chunks/c9a42d86185a0ad35dd1.js +1 -0
  241. package/assets/esri/core/workers/chunks/c9d600dc6b6b5aafff1c.js +1 -0
  242. package/assets/esri/core/workers/chunks/ca33847a997ccfe8ddc2.js +1 -0
  243. package/assets/esri/core/workers/chunks/ca64867bc322a354be8e.js +1 -0
  244. package/assets/esri/core/workers/chunks/cb6a7ca4ba2cf0b5ced7.js +1 -0
  245. package/assets/esri/core/workers/chunks/cc3939983cf6f78f7243.js +1 -0
  246. package/assets/esri/core/workers/chunks/cca19c9564be2d02a277.js +1 -0
  247. package/assets/esri/core/workers/chunks/ccc2f2b3db008d8a495f.js +1 -0
  248. package/assets/esri/core/workers/chunks/cce2ea441adb47d15a06.js +1 -0
  249. package/assets/esri/core/workers/chunks/ce063df750018024c9ed.js +1 -0
  250. package/assets/esri/core/workers/chunks/ce3e192fbb53a9c6eb3b.js +1 -0
  251. package/assets/esri/core/workers/chunks/d3734c8de029f1a65315.js +1 -0
  252. package/assets/esri/core/workers/chunks/d7229019876c0e4ff545.js +1 -0
  253. package/assets/esri/core/workers/chunks/d72d5031887373d35610.js +1 -0
  254. package/assets/esri/core/workers/chunks/d7840c3e792efcccee35.js +1 -0
  255. package/assets/esri/core/workers/chunks/d9f900975ac915a0f24f.js +1 -0
  256. package/assets/esri/core/workers/chunks/da780342f16e65b55ac8.js +1 -0
  257. package/assets/esri/core/workers/chunks/db005d9419bb718b3962.js +1 -0
  258. package/assets/esri/core/workers/chunks/db5bbc240a1b8cd5af52.js +1 -0
  259. package/assets/esri/core/workers/chunks/dcc8363faa22e6211351.js +1 -0
  260. package/assets/esri/core/workers/chunks/dcef87f7d06c45cd928b.js +1 -0
  261. package/assets/esri/core/workers/chunks/dd5d66f067e2386e0514.js +1 -0
  262. package/assets/esri/core/workers/chunks/dd6efa0afe879bd11a2e.js +1 -0
  263. package/assets/esri/core/workers/chunks/deaca3cd202851ecf9c2.js +1 -0
  264. package/assets/esri/core/workers/chunks/df321c37b61099f6e4c2.js +1 -0
  265. package/assets/esri/core/workers/chunks/e021b2f0e15aee5bf3ad.js +1 -0
  266. package/assets/esri/core/workers/chunks/e0344b45af88081fa186.js +1 -0
  267. package/assets/esri/core/workers/chunks/{77fc225259f1c5800095.js → e2661d39c48376163adf.js} +1 -1
  268. package/assets/esri/core/workers/chunks/e2bdb0e87422e222646e.js +1 -0
  269. package/assets/esri/core/workers/chunks/e3fe1db9380633292b27.js +1 -0
  270. package/assets/esri/core/workers/chunks/e67bdd8bf38ebe89a344.js +1 -0
  271. package/assets/esri/core/workers/chunks/e6f51f66b71e0d6525ec.js +1 -0
  272. package/assets/esri/core/workers/chunks/e7bee85f28d7ec03825a.js +1 -0
  273. package/assets/esri/core/workers/chunks/e8495c655a0a4f534636.js +1 -0
  274. package/assets/esri/core/workers/chunks/e9dd60d0220036545ebb.js +1 -0
  275. package/assets/esri/core/workers/chunks/ea245d3a6fd601fffd88.js +1 -0
  276. package/assets/esri/core/workers/chunks/eb4ffb72c9360062141c.js +1 -0
  277. package/assets/esri/core/workers/chunks/ebae903845643d60b44a.js +1 -0
  278. package/assets/esri/core/workers/chunks/ebb0372e8da0f75c09dd.js +1 -0
  279. package/assets/esri/core/workers/chunks/eef102e13fd8878eeb96.js +1 -0
  280. package/assets/esri/core/workers/chunks/ef267b938327c41727c1.js +1 -0
  281. package/assets/esri/core/workers/chunks/ef72f4822284bcad75d8.js +1 -0
  282. package/assets/esri/core/workers/chunks/efb2a8879011d2d77a81.js +1 -0
  283. package/assets/esri/core/workers/chunks/f0e6a26a3625068b08ab.js +1 -0
  284. package/assets/esri/core/workers/chunks/f12f96770a45ce6d1ed7.js +1 -0
  285. package/assets/esri/core/workers/chunks/f349f64f683620bdf9b5.js +30 -0
  286. package/assets/esri/core/workers/chunks/f379f94adbe79dc305a2.js +1 -0
  287. package/assets/esri/core/workers/chunks/f4301ea9a6cb3bcef906.js +1 -0
  288. package/assets/esri/core/workers/chunks/f5144e570952ca62a1b0.js +1 -0
  289. package/assets/esri/core/workers/chunks/f5cebeaad3e7d87d7997.js +1 -0
  290. package/assets/esri/core/workers/chunks/f6c9742691ccdaed44a2.js +1 -0
  291. package/assets/esri/core/workers/chunks/f76c2b09e6ba9d107898.js +1 -0
  292. package/assets/esri/core/workers/chunks/f7d67b7c9785a1955b17.js +1 -0
  293. package/assets/esri/core/workers/chunks/faad127dc07e54e7f6d1.js +1 -0
  294. package/assets/esri/core/workers/chunks/fcf962f3dec6b5440983.js +1 -0
  295. package/assets/esri/core/workers/chunks/feececf6809231f72c5a.js +1 -0
  296. package/chunks/Compositing.glsl.js +3 -4
  297. package/chunks/OITBlend.glsl.js +8 -7
  298. package/config.d.ts +94 -34
  299. package/config.js +1 -1
  300. package/core/SetUtils.js +1 -1
  301. package/geometry/support/curves/curveUtils.js +1 -1
  302. package/identity/IdentityManager.d.ts +11 -7
  303. package/identity/IdentityManagerBase.d.ts +13 -9
  304. package/kernel.js +1 -1
  305. package/layers/SubtypeGroupLayer.d.ts +0 -1
  306. package/layers/support/EditingCapabilities.js +1 -1
  307. package/layers/support/SubtypeSublayer.js +1 -1
  308. package/package.json +4 -4
  309. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  310. package/smartMapping/raster/renderers/classBreaks.d.ts +1 -1
  311. package/smartMapping/raster/renderers/flow.d.ts +2 -1
  312. package/smartMapping/renderers/color.d.ts +19 -3
  313. package/smartMapping/renderers/dotDensity.d.ts +6 -1
  314. package/smartMapping/renderers/heatmap.d.ts +4 -1
  315. package/smartMapping/renderers/location.d.ts +2 -2
  316. package/smartMapping/renderers/opacity.d.ts +2 -2
  317. package/smartMapping/renderers/pieChart.d.ts +2 -2
  318. package/smartMapping/renderers/predominance.d.ts +2 -2
  319. package/smartMapping/renderers/relationship.d.ts +2 -2
  320. package/smartMapping/renderers/size.d.ts +7 -6
  321. package/smartMapping/renderers/support/rendererUtils.d.ts +2 -2
  322. package/smartMapping/renderers/type.d.ts +4 -3
  323. package/smartMapping/renderers/univariateColorSize.d.ts +2 -2
  324. package/smartMapping/statistics/support/ageUtils.d.ts +3 -2
  325. package/smartMapping/statistics/types.d.ts +8 -7
  326. package/smartMapping/support/adapters/types.d.ts +6 -0
  327. package/smartMapping/symbology/color.d.ts +1 -1
  328. package/smartMapping/symbology/support/colorRamps.d.ts +2 -2
  329. package/smartMapping/symbology/support/colorRamps.js +1 -1
  330. package/support/revision.js +1 -1
  331. package/symbols/support/OccludedVisibility.d.ts +1 -1
  332. package/symbols/support/OccludedVisibility.js +1 -1
  333. package/symbols/support/Symbol3DEmissive.d.ts +33 -17
  334. package/views/2d/engine/webgl/MaterialManager.js +1 -1
  335. package/views/2d/engine/webgl/brushes/BrushClip.js +1 -1
  336. package/views/2d/engine/webgl/brushes/WGLBrushStencil.js +1 -1
  337. package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
  338. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  339. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  340. package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
  341. package/views/2d/webglDeps.js +1 -1
  342. package/views/3d/environment/CloudsComposition.js +1 -1
  343. package/views/3d/environment/CloudsTechnique.js +1 -1
  344. package/views/3d/environment/Fog.js +1 -1
  345. package/views/3d/environment/FogTechnique.js +1 -1
  346. package/views/3d/environment/NoiseTextureAtlasTechnique.js +1 -1
  347. package/views/3d/environment/PrecipitationTechnique.js +1 -1
  348. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  349. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  350. package/views/3d/layers/graphics/GraphicStateTracking.js +1 -1
  351. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  352. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  353. package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
  354. package/views/3d/terrain/BlendLayersTechnique.js +1 -1
  355. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  356. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  357. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  358. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  359. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  360. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
  361. package/views/3d/webgl-engine/effects/glow/GlowBlurTechnique.js +1 -1
  362. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechnique.js +1 -1
  363. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  364. package/views/3d/webgl-engine/effects/haze/HazeCompositingTechnique.js +1 -1
  365. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  366. package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
  367. package/views/3d/webgl-engine/effects/highlight/HighlightBlurTechnique.js +1 -1
  368. package/views/3d/webgl-engine/effects/highlight/HighlightDownsampleTechnique.js +1 -1
  369. package/views/3d/webgl-engine/effects/highlight/HighlightToSingleTechnique.js +1 -1
  370. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  371. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightTechnique.js +1 -1
  372. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  373. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  374. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  375. package/views/3d/webgl-engine/effects/smaa/SMAABlendWeightsTechnique.js +1 -1
  376. package/views/3d/webgl-engine/effects/smaa/SMAABlurTechnique.js +1 -1
  377. package/views/3d/webgl-engine/effects/smaa/SMAAEdgeDetectTechnique.js +1 -1
  378. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  379. package/views/3d/webgl-engine/effects/ssao/SSAOBlurTechnique.js +1 -1
  380. package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
  381. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  382. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  383. package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
  384. package/views/3d/webgl-engine/effects/transparency/OITDimTechnique.js +1 -1
  385. package/views/3d/webgl-engine/lib/Compositor.js +2 -0
  386. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  387. package/views/3d/webgl-engine/lib/Program.js +1 -1
  388. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  389. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  390. package/views/3d/webgl-engine/materials/renderers/MergedBuffer.js +1 -1
  391. package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
  392. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  393. package/views/3d/webgl-engine/shaders/AtmosphereCompositingTechnique.js +1 -1
  394. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  395. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  396. package/views/3d/webgl-engine/shaders/CompositingTechniqueConfiguration.js +1 -1
  397. package/views/3d/webgl-engine/shaders/CutFillCompositionTechnique.js +1 -1
  398. package/views/3d/webgl-engine/shaders/CutFillDepthTechnique.js +1 -1
  399. package/views/3d/webgl-engine/shaders/CutFillMaskTechnique.js +1 -1
  400. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  401. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  402. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  403. package/views/3d/webgl-engine/shaders/OverlayCompositingTechnique.js +1 -1
  404. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  405. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  406. package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechnique.js +1 -1
  407. package/views/3d/webgl-engine/shaders/ShadowCastClearTechnique.js +1 -1
  408. package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
  409. package/views/View.d.ts +8 -0
  410. package/views/draw/DrawTool.js +1 -1
  411. package/views/draw/plugins/PolygonPlugin.js +1 -1
  412. package/views/draw/support/InteractiveHandle.js +1 -1
  413. package/views/draw/support/managers/InteractiveHandleManager.js +1 -1
  414. package/views/draw/support/managers/TooltipManager.js +1 -1
  415. package/views/interactive/sketch/constraints.js +1 -1
  416. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  417. package/views/interactive/snapping/SnappingVisualizer.js +1 -1
  418. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  419. package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
  420. package/views/interactive/snapping/hints/CurveSnappingHint.js +2 -0
  421. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  422. package/views/interactive/tooltip/infos/DynamicTooltipInfo.js +1 -1
  423. package/views/support/imageReprojection.js +1 -1
  424. package/views/webgl/AllocationTracer.js +1 -1
  425. package/views/webgl/AppleAmdDriverHelper.js +1 -1
  426. package/views/webgl/Program.js +1 -1
  427. package/views/webgl/ProgramCache.js +1 -1
  428. package/views/webgl/ProgramTemplate.js +1 -1
  429. package/views/webgl/RenderingContext.js +1 -1
  430. package/views/webgl/WebGLDriverTestModule.js +1 -1
  431. package/views/webgl/testAppleAmdDrawArrays.js +1 -1
  432. package/views/webgl/testFloatBufferBlend.js +1 -1
  433. package/views/webgl/testSVGPremultipliedAlpha.js +1 -1
  434. package/webscene/Glow.d.ts +19 -14
  435. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  436. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  437. package/widgets/Editor/EditorViewModel.d.ts +15 -4
  438. package/widgets/Editor/EditorViewModel.js +1 -1
  439. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  440. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  441. package/widgets/Editor/UpdateFeatureWorkflowData.js +1 -1
  442. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  443. package/widgets/Editor/UpdateFeaturesWorkflowData.js +1 -1
  444. package/widgets/Editor/UpdateRecordWorkflowData.js +1 -1
  445. package/widgets/Editor/UpdateWorkflow.js +1 -1
  446. package/widgets/Editor/Workflow.js +1 -1
  447. package/widgets/Editor/components/Notices.js +1 -1
  448. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  449. package/widgets/Editor/support/EditorItem.js +1 -1
  450. package/widgets/Editor/support/SketchController.js +1 -1
  451. package/widgets/Editor/workflowUtils.js +1 -1
  452. package/widgets/Editor.d.ts +17 -5
  453. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +17 -5
  454. package/widgets/FeatureTable.d.ts +16 -4
  455. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.d.ts +9 -1
  456. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  457. package/widgets/OrientedImageryViewer.d.ts +9 -1
  458. package/widgets/OrientedImageryViewer.js +1 -1
  459. package/widgets/Sketch/support/PluginManager.js +1 -1
  460. package/assets/esri/core/workers/chunks/00bb90a3f0560800279b.js +0 -1
  461. package/assets/esri/core/workers/chunks/02d862fe58670c1f4722.js +0 -1
  462. package/assets/esri/core/workers/chunks/033b4f9ca08791e0c001.js +0 -1
  463. package/assets/esri/core/workers/chunks/045e4e520d6dffe06ba7.js +0 -1
  464. package/assets/esri/core/workers/chunks/04f82b740325e3388d23.js +0 -1
  465. package/assets/esri/core/workers/chunks/05d6cd51ca970705e46a.js +0 -1
  466. package/assets/esri/core/workers/chunks/08d73543c713984f6ecf.js +0 -1028
  467. package/assets/esri/core/workers/chunks/0b59e5be22139387bd84.js +0 -1
  468. package/assets/esri/core/workers/chunks/0e1d559d05229ef92e35.js +0 -1
  469. package/assets/esri/core/workers/chunks/0e6ffb02a929130ddb50.js +0 -1
  470. package/assets/esri/core/workers/chunks/112227b862b935123ddf.js +0 -2
  471. package/assets/esri/core/workers/chunks/11882cbb28710e5f9fc5.js +0 -1
  472. package/assets/esri/core/workers/chunks/12cfe900ce04af22f162.js +0 -1
  473. package/assets/esri/core/workers/chunks/1336f685bae5f1251558.js +0 -1
  474. package/assets/esri/core/workers/chunks/13512a23655258fa77f4.js +0 -1
  475. package/assets/esri/core/workers/chunks/13da9e3b96d8f653cbad.js +0 -1
  476. package/assets/esri/core/workers/chunks/1469e6d1d0d4e310b8f8.js +0 -1
  477. package/assets/esri/core/workers/chunks/15d46482ec096e3ce161.js +0 -1
  478. package/assets/esri/core/workers/chunks/1757133063fac226fdd4.js +0 -1
  479. package/assets/esri/core/workers/chunks/1794db88a2006711eff3.js +0 -1
  480. package/assets/esri/core/workers/chunks/189e22df73414a1a3989.js +0 -1
  481. package/assets/esri/core/workers/chunks/1951ff6789b9a598f122.js +0 -1
  482. package/assets/esri/core/workers/chunks/1ba756289468064f6204.js +0 -1
  483. package/assets/esri/core/workers/chunks/1cfa8d404d42b9eccf78.js +0 -1
  484. package/assets/esri/core/workers/chunks/1e916e552ce7d53692d2.js +0 -1
  485. package/assets/esri/core/workers/chunks/1fb6b65d8fd21fb9a21e.js +0 -1
  486. package/assets/esri/core/workers/chunks/2011da6dfc4bb89829c6.js +0 -1
  487. package/assets/esri/core/workers/chunks/203ef5459fc5dde12851.js +0 -1
  488. package/assets/esri/core/workers/chunks/215c54520d0da638fe57.js +0 -1
  489. package/assets/esri/core/workers/chunks/22045f85e503ae0ec8f4.js +0 -1
  490. package/assets/esri/core/workers/chunks/2351b713ba3d05de0728.js +0 -1
  491. package/assets/esri/core/workers/chunks/249630af2fb01257eb75.js +0 -1
  492. package/assets/esri/core/workers/chunks/24dd404612c35f6a3fc3.js +0 -1
  493. package/assets/esri/core/workers/chunks/25d34552bfb255af9467.js +0 -1
  494. package/assets/esri/core/workers/chunks/27c34a73fb380fc57f6e.js +0 -1
  495. package/assets/esri/core/workers/chunks/27d60fd727e9a68973f6.js +0 -1
  496. package/assets/esri/core/workers/chunks/27e14277128446e76b45.js +0 -1
  497. package/assets/esri/core/workers/chunks/2a3e82a230b7ee4dfd55.js +0 -1
  498. package/assets/esri/core/workers/chunks/2c69d8bb1c950b95278d.js +0 -1
  499. package/assets/esri/core/workers/chunks/2c6dbb9a8d7cc35f5093.js +0 -1
  500. package/assets/esri/core/workers/chunks/2d376f82cdf020e1fca9.js +0 -1
  501. package/assets/esri/core/workers/chunks/2d67ab4927a968d5c8d4.js +0 -1
  502. package/assets/esri/core/workers/chunks/2e50b7651f8c037bb3b0.js +0 -1
  503. package/assets/esri/core/workers/chunks/2e63e18df96e5a2461de.js +0 -1
  504. package/assets/esri/core/workers/chunks/2e82e284bbb3ff769a0b.js +0 -1
  505. package/assets/esri/core/workers/chunks/31184dc458281af654c7.js +0 -1
  506. package/assets/esri/core/workers/chunks/3214763f268622f09986.js +0 -1
  507. package/assets/esri/core/workers/chunks/32a1ccc145c9f6091e13.js +0 -1
  508. package/assets/esri/core/workers/chunks/34691b147318b2cfdd45.js +0 -1
  509. package/assets/esri/core/workers/chunks/34b367f617a7b3db55e0.js +0 -1
  510. package/assets/esri/core/workers/chunks/37d4a0b941bb2a7f113a.js +0 -1
  511. package/assets/esri/core/workers/chunks/3875b075ffaa1ed0089f.js +0 -1
  512. package/assets/esri/core/workers/chunks/3d3b1ce112be6ea31d93.js +0 -1
  513. package/assets/esri/core/workers/chunks/3dfc088a2c5289e6c79f.js +0 -1
  514. package/assets/esri/core/workers/chunks/3f3c63420644f9522ab1.js +0 -1
  515. package/assets/esri/core/workers/chunks/3fcab49eb215a477d8c4.js +0 -1
  516. package/assets/esri/core/workers/chunks/41108f58f0f439ebba3f.js +0 -1
  517. package/assets/esri/core/workers/chunks/415957a42e45eb21aa84.js +0 -1
  518. package/assets/esri/core/workers/chunks/4375d046b041a770c871.js +0 -1
  519. package/assets/esri/core/workers/chunks/43c797bfc2191b51875b.js +0 -1
  520. package/assets/esri/core/workers/chunks/460a82f3e4838b13e3b4.js +0 -1
  521. package/assets/esri/core/workers/chunks/473e43a74f56cb9bfe65.js +0 -1
  522. package/assets/esri/core/workers/chunks/4801e48cd4a14bacab78.js +0 -1
  523. package/assets/esri/core/workers/chunks/499d594dc0d282dfe777.js +0 -1
  524. package/assets/esri/core/workers/chunks/4ad6f80488aa218b95e3.js +0 -1
  525. package/assets/esri/core/workers/chunks/4db259316b193fcc4541.js +0 -1
  526. package/assets/esri/core/workers/chunks/4e9863a11d09900baf30.js +0 -1
  527. package/assets/esri/core/workers/chunks/4fe210314813ea1f7a26.js +0 -1
  528. package/assets/esri/core/workers/chunks/51603e99469847aa3ac4.js +0 -1
  529. package/assets/esri/core/workers/chunks/52705ccbb452a3edb064.js +0 -1
  530. package/assets/esri/core/workers/chunks/53e348f5585fa8c53fe8.js +0 -2
  531. package/assets/esri/core/workers/chunks/54c545f44b7ce21fb604.js +0 -1
  532. package/assets/esri/core/workers/chunks/54db2d2418721e92fbb0.js +0 -1
  533. package/assets/esri/core/workers/chunks/552e5c413828e181f89a.js +0 -1
  534. package/assets/esri/core/workers/chunks/558e9fed2e58cbbf9947.js +0 -1
  535. package/assets/esri/core/workers/chunks/55c5c4fcec0f8c4d59b2.js +0 -1
  536. package/assets/esri/core/workers/chunks/58134617fb7530836b81.js +0 -1
  537. package/assets/esri/core/workers/chunks/58c4be467a922fe37f01.js +0 -1
  538. package/assets/esri/core/workers/chunks/5924fe7de9f5ff8984ad.js +0 -1
  539. package/assets/esri/core/workers/chunks/5cd39bb8123adc80d8a7.js +0 -1
  540. package/assets/esri/core/workers/chunks/5cd8bbb719d95cb32cab.js +0 -1
  541. package/assets/esri/core/workers/chunks/5dba08099036e69e0a04.js +0 -1
  542. package/assets/esri/core/workers/chunks/5eb5d3b2329ec648cf3f.js +0 -1
  543. package/assets/esri/core/workers/chunks/5f10f39835cb40179000.js +0 -1
  544. package/assets/esri/core/workers/chunks/5f9eeab833a6c08c76c4.js +0 -1
  545. package/assets/esri/core/workers/chunks/606b4f1be91905a10bdb.js +0 -1
  546. package/assets/esri/core/workers/chunks/628056a312d919e98fa3.js +0 -1
  547. package/assets/esri/core/workers/chunks/62e9a9821f1563515ab4.js +0 -1
  548. package/assets/esri/core/workers/chunks/639302042c30e4265694.js +0 -1
  549. package/assets/esri/core/workers/chunks/645e086291b04bc036d7.js +0 -1
  550. package/assets/esri/core/workers/chunks/651b46aeabf22ff53a38.js +0 -1
  551. package/assets/esri/core/workers/chunks/65ad8838911a6d71816b.js +0 -1
  552. package/assets/esri/core/workers/chunks/65f86594c42ff82095fe.js +0 -1
  553. package/assets/esri/core/workers/chunks/6772468d1721d6d2a529.js +0 -1
  554. package/assets/esri/core/workers/chunks/677f5e444ff588ab670f.js +0 -1
  555. package/assets/esri/core/workers/chunks/6869f975d42b5a2936e2.js +0 -1
  556. package/assets/esri/core/workers/chunks/69ab42b965bccc3bad4f.js +0 -1
  557. package/assets/esri/core/workers/chunks/6a083fde0e207625fd0b.js +0 -1
  558. package/assets/esri/core/workers/chunks/6a9a96aa811c1d3b6edb.js +0 -1
  559. package/assets/esri/core/workers/chunks/6b3494e5a32912ee6325.js +0 -1
  560. package/assets/esri/core/workers/chunks/6b5d2cef309a2581d0d1.js +0 -1
  561. package/assets/esri/core/workers/chunks/6bf7d8de86b9eb76f920.js +0 -1
  562. package/assets/esri/core/workers/chunks/6c0b7890c8eec7febe28.js +0 -1
  563. package/assets/esri/core/workers/chunks/6c85396c90941a042c33.js +0 -1
  564. package/assets/esri/core/workers/chunks/6d02fdcaa1559b741f89.js +0 -1
  565. package/assets/esri/core/workers/chunks/6f337c3ccd84d90a35e5.js +0 -1
  566. package/assets/esri/core/workers/chunks/71159f66d9867aaea6cf.js +0 -1
  567. package/assets/esri/core/workers/chunks/711bec78dc00fad0f78d.js +0 -1
  568. package/assets/esri/core/workers/chunks/71ad08a5b69cf2e6714e.js +0 -1
  569. package/assets/esri/core/workers/chunks/7382c9882525101eddad.js +0 -1
  570. package/assets/esri/core/workers/chunks/750dfcbfcadf0629daf6.js +0 -1
  571. package/assets/esri/core/workers/chunks/75907e5d009b71ce723b.js +0 -1
  572. package/assets/esri/core/workers/chunks/79c69ae86a1f4a56f7c7.js +0 -1
  573. package/assets/esri/core/workers/chunks/79ee97609f72e4cf989c.js +0 -1
  574. package/assets/esri/core/workers/chunks/7a037fbfd91dd22e3bf0.js +0 -1
  575. package/assets/esri/core/workers/chunks/7cf8fc491877d59caf3a.js +0 -1
  576. package/assets/esri/core/workers/chunks/7d2b1e5402a88b6bee85.js +0 -1
  577. package/assets/esri/core/workers/chunks/7ec83fc059325e207825.js +0 -1
  578. package/assets/esri/core/workers/chunks/7ee7529fcbd0d169047c.js +0 -1
  579. package/assets/esri/core/workers/chunks/7f385e9c88df3395e678.js +0 -1
  580. package/assets/esri/core/workers/chunks/80d51d58db09b9f96cb5.js +0 -1
  581. package/assets/esri/core/workers/chunks/81a45d7e9dadf678b584.js +0 -1
  582. package/assets/esri/core/workers/chunks/81c758bdc07ed9d9a132.js +0 -1
  583. package/assets/esri/core/workers/chunks/822a115c7d718e4e3d2b.js +0 -1
  584. package/assets/esri/core/workers/chunks/825ffcde4f224006e776.js +0 -1
  585. package/assets/esri/core/workers/chunks/83711695e16912e9b9c5.js +0 -1
  586. package/assets/esri/core/workers/chunks/8374658d17f69bde6b08.js +0 -1
  587. package/assets/esri/core/workers/chunks/84b6ac0965d83704ba5d.js +0 -1
  588. package/assets/esri/core/workers/chunks/88a02b3a802d484c08a8.js +0 -1
  589. package/assets/esri/core/workers/chunks/89cd0e3420ab31e98a77.js +0 -1
  590. package/assets/esri/core/workers/chunks/8c3bf66f8543cedc72ef.js +0 -1
  591. package/assets/esri/core/workers/chunks/8cade3af17a8bb6d4e37.js +0 -1
  592. package/assets/esri/core/workers/chunks/8eea620f770576d18809.js +0 -1
  593. package/assets/esri/core/workers/chunks/9138503cc61989b00444.js +0 -1
  594. package/assets/esri/core/workers/chunks/920d6330df72e2f01d19.js +0 -1
  595. package/assets/esri/core/workers/chunks/936974764f433eb928a8.js +0 -1
  596. package/assets/esri/core/workers/chunks/99c9f35a29f9f6c9e4ce.js +0 -1
  597. package/assets/esri/core/workers/chunks/9a52bb5949ca836b7e79.js +0 -1
  598. package/assets/esri/core/workers/chunks/9a5327d3c3658e60564d.js +0 -1
  599. package/assets/esri/core/workers/chunks/9dc7abca1d1eb9ba5b58.js +0 -1
  600. package/assets/esri/core/workers/chunks/9e054c264b17f04b7efa.js +0 -1
  601. package/assets/esri/core/workers/chunks/a143a6f8e2f21548b244.js +0 -1
  602. package/assets/esri/core/workers/chunks/a33a3c9bbe6bc7273285.js +0 -1
  603. package/assets/esri/core/workers/chunks/a48a6232fa33084cb686.js +0 -1
  604. package/assets/esri/core/workers/chunks/a4947d5d2fa6b7bd399b.js +0 -1
  605. package/assets/esri/core/workers/chunks/a49f1172b17c14527acf.js +0 -1
  606. package/assets/esri/core/workers/chunks/a7d4d257f49f3b153c26.js +0 -1
  607. package/assets/esri/core/workers/chunks/aaf3ed508d30ed583915.js +0 -1
  608. package/assets/esri/core/workers/chunks/aceec85ce64a3e6d8761.js +0 -1
  609. package/assets/esri/core/workers/chunks/b10b3eb8c2ed9be14ab2.js +0 -1
  610. package/assets/esri/core/workers/chunks/b220fedcb8a2d6450408.js +0 -1
  611. package/assets/esri/core/workers/chunks/b315b3771d0d19681aa5.js +0 -1
  612. package/assets/esri/core/workers/chunks/b397a9f87082705301a4.js +0 -2
  613. package/assets/esri/core/workers/chunks/b40e4ed067da65c3d7ce.js +0 -1
  614. package/assets/esri/core/workers/chunks/b4b16914950792c46bd3.js +0 -1
  615. package/assets/esri/core/workers/chunks/b5f291e8ed7f7cac158d.js +0 -1
  616. package/assets/esri/core/workers/chunks/b6969a42602517a6ef1c.js +0 -1
  617. package/assets/esri/core/workers/chunks/b732ad893d352db79ee1.js +0 -1
  618. package/assets/esri/core/workers/chunks/b9226dd0342cfd30ece0.js +0 -1
  619. package/assets/esri/core/workers/chunks/baad696d84ab78b3d00e.js +0 -2
  620. package/assets/esri/core/workers/chunks/bab1c3f48d089d71e983.js +0 -30
  621. package/assets/esri/core/workers/chunks/bab6dee8f4715d05d984.js +0 -1
  622. package/assets/esri/core/workers/chunks/bc2dcbdc414d157ab727.js +0 -1
  623. package/assets/esri/core/workers/chunks/bcb254cb7297fec88679.js +0 -1
  624. package/assets/esri/core/workers/chunks/bd2125e0a68378533641.js +0 -1
  625. package/assets/esri/core/workers/chunks/bdb4f216ae8881b98604.js +0 -1
  626. package/assets/esri/core/workers/chunks/bde2c3199f667b63dbe8.js +0 -1
  627. package/assets/esri/core/workers/chunks/be52d98da81b413388b3.js +0 -1
  628. package/assets/esri/core/workers/chunks/bf42b5c77f5757dc9328.js +0 -1
  629. package/assets/esri/core/workers/chunks/bf595eb10f99b8a96baa.js +0 -1
  630. package/assets/esri/core/workers/chunks/c0b6706f86665cec85f8.js +0 -1
  631. package/assets/esri/core/workers/chunks/c2ef5e5a3a4fad7f65db.js +0 -1
  632. package/assets/esri/core/workers/chunks/c3c6d337ff53e5d921e8.js +0 -1
  633. package/assets/esri/core/workers/chunks/c461c19e4fdbdd2e94d4.js +0 -1
  634. package/assets/esri/core/workers/chunks/c5fa5645f3a10dfdd7fb.js +0 -1
  635. package/assets/esri/core/workers/chunks/c66aa57b6360963bd938.js +0 -1
  636. package/assets/esri/core/workers/chunks/c873ac660e7d5dc88781.js +0 -1
  637. package/assets/esri/core/workers/chunks/c99f36159b5ed6f9267e.js +0 -1
  638. package/assets/esri/core/workers/chunks/c9a57f6d0d35b968ebea.js +0 -1
  639. package/assets/esri/core/workers/chunks/ca6a65f149e7f34dab9c.js +0 -1
  640. package/assets/esri/core/workers/chunks/cb5f4820277f3fc7ff2f.js +0 -1
  641. package/assets/esri/core/workers/chunks/cf4202ad468501ef24cf.js +0 -1
  642. package/assets/esri/core/workers/chunks/d03d50f3247327257d8b.js +0 -1
  643. package/assets/esri/core/workers/chunks/d1bfb6a229a58e2af761.js +0 -1
  644. package/assets/esri/core/workers/chunks/d2017b0b27b9e4ada922.js +0 -1
  645. package/assets/esri/core/workers/chunks/d2d9c1f32a75befe168b.js +0 -1
  646. package/assets/esri/core/workers/chunks/d309172ad61de2b3c15d.js +0 -1
  647. package/assets/esri/core/workers/chunks/d3416e6da0c1cbb53b3a.js +0 -1
  648. package/assets/esri/core/workers/chunks/d39f5d57f7e35c00ca16.js +0 -1
  649. package/assets/esri/core/workers/chunks/d4422e6e1f09d8c9352e.js +0 -1
  650. package/assets/esri/core/workers/chunks/d4770dddfbfdc3845749.js +0 -1
  651. package/assets/esri/core/workers/chunks/d5b4487a983921572e58.js +0 -1
  652. package/assets/esri/core/workers/chunks/d5f06cb4797629648997.js +0 -1
  653. package/assets/esri/core/workers/chunks/d78b2f85ec9212a973e8.js +0 -1
  654. package/assets/esri/core/workers/chunks/d7f89a3372730dacc04c.js +0 -1
  655. package/assets/esri/core/workers/chunks/d9dc8d9fc8ab2706f96b.js +0 -1
  656. package/assets/esri/core/workers/chunks/da42da04a9df651b06cc.js +0 -1
  657. package/assets/esri/core/workers/chunks/dc7860179a2d1fd05ac2.js +0 -1
  658. package/assets/esri/core/workers/chunks/dc7df2072c0ebed5602c.js +0 -1
  659. package/assets/esri/core/workers/chunks/dc96f2f6e0e02e47476f.js +0 -1
  660. package/assets/esri/core/workers/chunks/dd24cddc406f610d2483.js +0 -1
  661. package/assets/esri/core/workers/chunks/dd3789e71270a4640551.js +0 -1
  662. package/assets/esri/core/workers/chunks/dd6d4a0f1f3215ca34a5.js +0 -1
  663. package/assets/esri/core/workers/chunks/de6438fdbe38d32c4ad5.js +0 -1
  664. package/assets/esri/core/workers/chunks/ded71a656e2626a411f9.js +0 -1
  665. package/assets/esri/core/workers/chunks/df1fa0f7e8f7e2bcc2e6.js +0 -1
  666. package/assets/esri/core/workers/chunks/df80d5345765b769416f.js +0 -1
  667. package/assets/esri/core/workers/chunks/e16d542648bae86e890f.js +0 -1
  668. package/assets/esri/core/workers/chunks/e1827e86226bf9a0f4ea.js +0 -1
  669. package/assets/esri/core/workers/chunks/e2e03622936d2b35afc0.js +0 -1
  670. package/assets/esri/core/workers/chunks/e33f5780fb45ac7ca889.js +0 -1
  671. package/assets/esri/core/workers/chunks/e3ee2b699c42fd113b46.js +0 -1
  672. package/assets/esri/core/workers/chunks/e4611ebd7dba7692a914.js +0 -1
  673. package/assets/esri/core/workers/chunks/e508f8e707eb3207cfcc.js +0 -1
  674. package/assets/esri/core/workers/chunks/e52793690dff1a199647.js +0 -1
  675. package/assets/esri/core/workers/chunks/e55859fce1908c24423a.js +0 -1
  676. package/assets/esri/core/workers/chunks/e56a10a475ce128b5fce.js +0 -1
  677. package/assets/esri/core/workers/chunks/e93df239fc54af2bd6ba.js +0 -1
  678. package/assets/esri/core/workers/chunks/ea633a6a3b9ea8ce965d.js +0 -1
  679. package/assets/esri/core/workers/chunks/eae1c098c16e2faaf90d.js +0 -1
  680. package/assets/esri/core/workers/chunks/eaf5d55060ffc55aac39.js +0 -1
  681. package/assets/esri/core/workers/chunks/ece363681bb09072f379.js +0 -1
  682. package/assets/esri/core/workers/chunks/edaae0fc63d16b0f675d.js +0 -2
  683. package/assets/esri/core/workers/chunks/ee31d9f44e028df16bd5.js +0 -1
  684. package/assets/esri/core/workers/chunks/ee89564d11c077169b31.js +0 -1
  685. package/assets/esri/core/workers/chunks/ee905e24320241959965.js +0 -1
  686. package/assets/esri/core/workers/chunks/eebf59ac2dd60b9fb262.js +0 -1
  687. package/assets/esri/core/workers/chunks/ef4237dc7b67c9039826.js +0 -1
  688. package/assets/esri/core/workers/chunks/ef9106ee818ec732b670.js +0 -1
  689. package/assets/esri/core/workers/chunks/f0780abe66118b3a0bf2.js +0 -1
  690. package/assets/esri/core/workers/chunks/f121a0bf33c03abfa0b6.js +0 -1
  691. package/assets/esri/core/workers/chunks/f4329e3e4e072fac8dc0.js +0 -1
  692. package/assets/esri/core/workers/chunks/f5dbffd5e8b3c16336a1.js +0 -1
  693. package/assets/esri/core/workers/chunks/f62e37863a549f72093c.js +0 -1
  694. package/assets/esri/core/workers/chunks/f984248e2ce417e49f2f.js +0 -1
  695. package/assets/esri/core/workers/chunks/fab7e3e07d700d7bb651.js +0 -1
  696. package/assets/esri/core/workers/chunks/fcc8d0b60f7c2397e550.js +0 -1
  697. package/assets/esri/core/workers/chunks/fcf592dc8c017a08fee0.js +0 -1
  698. package/assets/esri/core/workers/chunks/fcf6a47f44c917490deb.js +0 -1
  699. package/assets/esri/core/workers/chunks/fe3c8a6fc080fdf2ad94.js +0 -1
  700. package/assets/esri/core/workers/chunks/fe5aec7e2da4465422b4.js +0 -1
  701. package/assets/esri/core/workers/chunks/fefc94944f07c768ad66.js +0 -1
  702. package/views/3d/webgl-engine/lib/CompositingHelper.js +0 -2
  703. /package/assets/esri/core/workers/chunks/{53e348f5585fa8c53fe8.js.LICENSE.txt → 13d1cb50232ae761425b.js.LICENSE.txt} +0 -0
  704. /package/assets/esri/core/workers/chunks/{b397a9f87082705301a4.js.LICENSE.txt → 3861644c06cfebe8f40c.js.LICENSE.txt} +0 -0
  705. /package/assets/esri/core/workers/chunks/{112227b862b935123ddf.js.LICENSE.txt → 3f812b0a28afb47aaaf0.js.LICENSE.txt} +0 -0
  706. /package/assets/esri/core/workers/chunks/{edaae0fc63d16b0f675d.js.LICENSE.txt → 43c8b1473695574c663e.js.LICENSE.txt} +0 -0
  707. /package/assets/esri/core/workers/chunks/{baad696d84ab78b3d00e.js.LICENSE.txt → b586f1021a27c5e1551a.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4575,6956],{5834(e,t,n){n.d(t,{A:()=>c});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(41366),u=n(93223);function p(e,t,n){(0,r.sM)(n,e instanceof Date?e.getTime():e,t)}let c=class extends((0,l.K)(a.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],c.prototype,"numBins",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],c.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],c.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,i.Cg)([(0,s.$K)("esri.rest.support.AutoIntervalBinParameters")],c),c.from=(0,o.dp)(c)},11440(e,t,n){n.d(t,{A:()=>u});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(93223);let u=class extends a.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,n){(0,r.sM)(n,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,i.Cg)([(0,l.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,s.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,o.dp)(u)},14575(e,t,n){n.d(t,{default:()=>j});var i=n(5482),r=n(69540),s=n(66552),o=n(25482),a=n(53966),l=n(91429),u=n(56507),p=n(16930),c=n(65864),m=n(50498),y=n(58727),d=n(5834),f=n(41266),h=n(59977),g=n(11440),v=n(60909),w=n(58174),x=n(7562),M=n(79677),S=n(56400),A=n(93223);const C=new s.J({asc:"ascending",desc:"descending"}),B={base:f.A,key:"type",typeMap:{"auto-interval":d.A,date:h.A,"fixed-boundaries":g.A,"fixed-interval":v.A}};let j=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.binParameters=null,this.binOrder="ascending",this.cacheHint=void 0,this.datumTransformation=null,this.defaultSpatialReference=null,this.distance=void 0,this.geometry=null,this.lowerBoundaryAlias=null,this.outSpatialReference=null,this.outStatistics=null,this.returnDistinctValues=null,this.spatialRelationship="intersects",this.timeExtent=null,this.upperBoundaryAlias=null,this.units=null,this.where="1=1"}set outTimeZone(e){this._set("outTimeZone",e),e&&!(0,S.wr)(e)&&a.A.getLogger(this).warn("#outTimeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}};(0,i.Cg)([(0,l.MZ)({types:B,json:{name:"bin",write:!0}})],j.prototype,"binParameters",void 0),(0,i.Cg)([(0,A.e)(C)],j.prototype,"binOrder",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],j.prototype,"cacheHint",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],j.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,l.MZ)({type:p.A,json:{name:"defaultSR",write:!0}})],j.prototype,"defaultSpatialReference",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],j.prototype,"distance",void 0),(0,i.Cg)([(0,l.MZ)({types:m.yR,json:{read:c.rS,write:!0}})],j.prototype,"geometry",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],j.prototype,"lowerBoundaryAlias",void 0),(0,i.Cg)([(0,l.MZ)({type:p.A,json:{name:"outSR",write:!0}})],j.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,l.MZ)({type:[x.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],j.prototype,"outStatistics",void 0),(0,i.Cg)([(0,l.MZ)({value:null,json:{name:"outTimeReference",read:{reader:e=>e.ianaTimeZone},write:{writer:(e,t,n)=>{e&&(t[n]={ianaTimeZone:e})}}}})],j.prototype,"outTimeZone",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],j.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,A.e)(w.x,{name:"spatialRel"})],j.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,l.MZ)({type:M.A,json:{write:!0}})],j.prototype,"timeExtent",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],j.prototype,"upperBoundaryAlias",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:y.VY.read,write:{writer:y.VY.write,overridePolicy(e){return{enabled:null!=e&&null!=this.distance}}}}})],j.prototype,"units",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],j.prototype,"where",void 0),j=(0,i.Cg)([(0,l.$K)("esri.rest.support.AttributeBinsQuery")],j),j.from=(0,u.dp)(j)},17136(e,t,n){n.d(t,{Y_:()=>R,O7:()=>j,el:()=>B});var i=n(92602),r=n(69052),s=n(49186),o=n(53966),a=n(39829),l=n(82799),u=n(16930),p=n(80754),c=n(21325),m=n(28735),y=n(11254),d=n(60408),f=n(65864),h=n(2272),g=n(84952),v=n(92300);const w=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function x(e){return"polygon"===e[0].type}function M(e){return"polyline"===e[0].type}function S(e,t,n){if(t){const t=function(e,t){if(!(e instanceof l.A||e instanceof a.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw w().error(e),new s.A("internal:geometry",e)}const n=(0,p.r8)(e),i=[];for(const e of n){const n=[];i.push(n),n.push([e[0][0],e[0][1]]);for(let i=0;i<e.length-1;i++){const r=e[i][0],s=e[i][1],o=e[i+1][0],a=e[i+1][1],l=Math.sqrt((o-r)*(o-r)+(a-s)*(a-s)),u=(a-s)/l,p=(o-r)/l,c=l/t;if(c>1){for(let e=1;e<=c-1;e++){const i=e*t,o=p*i+r,a=u*i+s;n.push([o,a])}const e=(l+Math.floor(c-1)*t)/2,i=p*e+r,o=u*e+s;n.push([i,o])}n.push([o,a])}}return function(e){return"polygon"===e.type}(e)?new a.A({rings:i,spatialReference:e.spatialReference}):new l.A({paths:i,spatialReference:e.spatialReference})}(e,1e6);e=(0,m.ci)(t,!0)}return n&&(e=(0,p.kS)(e,n)),e}function A(e,t,n){if(Array.isArray(e)){const i=e[0];if(i>t){const n=(0,p.kd)(i,t);e[0]=i+n*(-2*t)}else if(i<n){const t=(0,p.kd)(i,n);e[0]=i+t*(-2*n)}}else{const i=e.x;if(i>t){const n=(0,p.kd)(i,t);e=e.clone().offset(n*(-2*t),0)}else if(i<n){const t=(0,p.kd)(i,n);e=e.clone().offset(t*(-2*n),0)}}return e}function C(e,t){let n=-1;for(let i=0;i<t.cutIndexes.length;i++){const r=t.cutIndexes[i],s=t.geometries[i],o=(0,p.r8)(s);for(let e=0;e<o.length;e++){const t=o[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const i=t[e][0];n=i>n?i:n}n=Number(n.toFixed(9));const i=-360*(0,p.kd)(n,180);for(let n=0;n<t.length;n++){const t=s.getPoint(e,n);s.setPoint(e,n,t.clone().offset(i,0))}return!0}})}if(r===n){if(x(e))for(const t of(0,p.r8)(s))e[r]=e[r].addRing(t);else if(M(e))for(const t of(0,p.r8)(s))e[r]=e[r].addPath(t)}else n=r,e[r]=s}return e}async function B(e,t,n){if(!Array.isArray(e))return B([e],t);t&&"string"!=typeof t&&w().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const r="string"==typeof t?t:t?.url??i.A.geometryServiceUrl;let s,o,u,x,M,j,b,R,Z=0;const T=[],k=[];for(const t of e)if(null!=t)if(s||(s=t.spatialReference,o=(0,c.Vp)(s),u=s.isWebMercator,j=u?102100:4326,x=p.j7[j].maxX,M=p.j7[j].minX,b=p.j7[j].plus180Line,R=p.j7[j].minus180Line),o)if("mesh"===t.type)k.push(t);else if("point"===t.type)k.push(A(t.clone(),x,M));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>A(e,x,M)),k.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,o);k.push(e.rings?new a.A(e):e)}else if(t.extent){const e=t.extent,n=(0,p.kd)(e.xmin,M)*(2*x);let i=0===n?t.clone():(0,p.kS)(t.clone(),n);e.offset(n,0);let{xmin:r,xmax:s}=e;r=Number(r.toFixed(9)),s=Number(s.toFixed(9)),e.intersects(b)&&s!==x?(Z=s>Z?s:Z,i=S(i,u),T.push(i),k.push("cut")):e.intersects(R)&&r!==M?(Z=s*(2*x)>Z?s*(2*x):Z,i=S(i,u,360),T.push(i),k.push("cut")):k.push(i)}else k.push(t.clone());else k.push(t);else k.push(t);let F=(0,p.kd)(Z,x),O=-90;const D=F,I=new l.A;for(;F>0;){const e=360*F-180;I.addPath([[e,O],[e,-1*O]]),O*=-1,F--}if(T.length>0&&D>0){const t=C(T,await async function(e,t,n,i){const r=(0,h.Dl)(e),s=t[0].spatialReference,o={...i,responseType:"json",query:{...r.query,f:"json",sr:(0,c.YX)(s),target:JSON.stringify({geometryType:(0,d.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},a=await(0,y.A)(r.path+"/cut",o),{cutIndexes:l,geometries:u=[]}=a.data;return{cutIndexes:l,geometries:u.map(e=>{const t=(0,f.rS)(e);return t.spatialReference=s,t})}}(r,T,I,n)),i=[],s=[];for(let n=0;n<k.length;n++){const r=k[n];if("cut"!==r)s.push(r);else{const r=t.shift(),o=e[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&r.rings.length>=o.rings.length?(i.push(r),s.push("simplify")):s.push(u?(0,m.Gh)(r):r)}}if(!i.length)return s;const o=await async function(e,t,n){const i="string"==typeof e?(0,g.An)(e):e,r=t[0].spatialReference,s=(0,d.$B)(t[0]),o={...n,query:{...i.query,f:"json",sr:(0,c.YX)(r),geometries:JSON.stringify((0,v.X)(t))}},{data:a}=await(0,y.A)(i.path+"/simplify",o);return(0,v.V)(a.geometries,s,r)}(r,i,n),a=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?a.push(t):a.push(u?(0,m.Gh)(o.shift()):o.shift())}return a}const P=[];for(let e=0;e<k.length;e++){const t=k[e];if("cut"!==t)P.push(t);else{const e=T.shift();P.push(!0===u?(0,m.Gh)(e):e)}}return P}function j(e,t,n){const i=(0,c.Vp)(n);if(null==i)return e;const[r,s]=i.valid,o=2*s;let a=0,l=0;t>s?a=Math.ceil(Math.abs(t-s)/o):t<r&&(a=-Math.ceil(Math.abs(t-r)/o)),e>s?l=Math.ceil(Math.abs(e-s)/o):e<r&&(l=-Math.ceil(Math.abs(e-r)/o));let u=e+(a-l)*o;const p=u-t;return p>s?u-=o:p<r&&(u+=o),u}function b(e){const t=(0,c.Vp)(e);if(null==t)return null;const[n,i]=t.valid;return new r.hr(n,i)}const R=b(u.A.WGS84);b(u.A.WebMercator)},31464(e,t,n){n.d(t,{Cv:()=>f,Nk:()=>m,lK:()=>g});var i=n(4576),r=n(74887),s=n(91218),o=n(21325),a=n(28735);const l=[0,0];function u(e,t){if(!t)return null;if("x"in t){const n={x:0,y:0};return[n.x,n.y]=e(t.x,t.y,l),null!=t.z&&(n.z=t.z),null!=t.m&&(n.m=t.m),n}if("xmin"in t){const n={xmin:0,ymin:0,xmax:0,ymax:0};return[n.xmin,n.ymin]=e(t.xmin,t.ymin,l),[n.xmax,n.ymax]=e(t.xmax,t.ymax,l),t.hasZ&&(n.zmin=t.zmin,n.zmax=t.zmax,n.hasZ=!0),t.hasM&&(n.mmin=t.mmin,n.mmax=t.mmax,n.hasM=!0),n}return"rings"in t?{rings:p(t.rings,e),hasM:t.hasM,hasZ:t.hasZ}:"paths"in t?{paths:p(t.paths,e),hasM:t.hasM,hasZ:t.hasZ}:"points"in t?{points:c(t.points,e),hasM:t.hasM,hasZ:t.hasZ}:null}function p(e,t){const n=[];for(const i of e)n.push(c(i,t));return n}function c(e,t){const n=[];for(const i of e){const e=t(i[0],i[1],[0,0]);n.push(e),i.length>2&&e.push(i[2]),i.length>3&&e.push(i[3])}return n}async function m(e,t){if(!e||!t)return;const n=Array.isArray(e)?e.map(e=>null!=e.geometry?e.geometry.spatialReference:null).filter(i.Ru):[e];await(0,s.initializeProjection)(n.map(e=>({source:e,dest:t})))}const y=u.bind(null,a.je),d=u.bind(null,a.tD);function f(e,t,n,i){if(!e)return null;if(n||(n=t,t=e.spatialReference),!(0,o.fn)(t)||!(0,o.fn)(n)||(0,o.aI)(t,n))return e;if((0,a.y7)(t,n)){const t=(0,o.K8)(n)?y(e):d(e);return t.spatialReference=n,t}return(0,s.projectMany)([e],t,n,i)[0]}const h=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,n,i){if(!e?.length||!t||!n||(0,o.aI)(t,n))return e;const s={geometries:e,inSpatialReference:t,outSpatialReference:n,options:i,resolve:(0,r.Tw)()};return this._jobs.push(s),this._timer??=setTimeout(this._process,10),s.resolve.promise}_process(){this._timer=null;const e=this._jobs.shift();if(!e)return;const{geometries:t,inSpatialReference:n,outSpatialReference:i,resolve:r,options:l}=e,u=t.filter(e=>null!=e);let p;p=(0,a.y7)(n,i)&&null==l?.extendedParams?(0,o.K8)(i)?u.map(y):u.map(d):(0,s.projectMany)(u,n,i,l);let c=0;r(t.map(e=>null==e?null:p[c++])),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function g(e,t,n,i){return h.push(e,t,n,i)}},41266(e,t,n){n.d(t,{A:()=>f});var i=n(5482),r=n(69540),s=n(66552),o=n(25482),a=n(91429),l=n(56507),u=n(93223);const p=new s.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let c=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"outAlias",write:!0}})],c.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:String})],c.prototype,"responseType",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"value",void 0),(0,i.Cg)([(0,u.e)(p)],c.prototype,"valueType",void 0),c=(0,i.Cg)([(0,a.$K)("esri.rest.support.AttributeBinsGrouping")],c);const m=c;c.from=(0,l.dp)(c);const y=new s.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),d=new s.J({naturalLog:"natural-log",squareRoot:"square-root"});let f=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],f.prototype,"expression",void 0),(0,i.Cg)([(0,u.e)(y,{name:"onExpression.valueType"})],f.prototype,"expressionValueType",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"onField",write:!0}})],f.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],f.prototype,"firstDayOfWeek",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hideUpperBound",void 0),(0,i.Cg)([(0,a.MZ)({type:m,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],f.prototype,"splitBy",void 0),(0,i.Cg)([(0,a.MZ)({type:m,json:{write:{target:{stackBy:{type:m},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>m.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],f.prototype,"stackBy",void 0),(0,i.Cg)([(0,u.e)(d)],f.prototype,"transformation",void 0),f=(0,i.Cg)([(0,a.$K)("esri.rest.support.BinParametersBase")],f)},57231(e,t,n){n.d(t,{g:()=>i});const i=(0,n(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"})},58727(e,t,n){n.d(t,{GC:()=>h,T2:()=>g,VY:()=>y,dO:()=>w,iJ:()=>f,v8:()=>d});var i=n(49186),r=n(66552),s=n(86211),o=n(91218),a=n(90634),l=n(60408),u=n(65864),p=n(17136),c=n(21325),m=n(31464);const y=new r.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),d=Object.freeze({});async function f(e,t,n){const i=e.bin;return i.onField&&(i.onField=i.onField.trim()),i.onExpression?.value&&(i.onExpression.value=i.onExpression.value.trim()),i.splitBy&&(i.splitBy.value&&(i.splitBy.value=i.splitBy.value.trim()),i.splitBy.outAlias&&(i.splitBy.outAlias=i.splitBy.outAlias.trim())),i.stackBy&&(i.stackBy.value&&(i.stackBy.value=i.stackBy.value.trim()),i.stackBy.outAlias&&(i.stackBy.outAlias=i.stackBy.outAlias.trim())),"normalizationField"in i.parameters&&i.parameters.normalizationField&&(i.parameters.normalizationField=i.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),h(e,t,n)}async function h(e,t,n){const{outFields:i,orderByFields:r,groupByFieldsForStatistics:s,outStatistics:o}=e;if(i)for(let e=0;e<i.length;e++)i[e]=i[e].trim();if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(o)for(let e=0;e<o.length;e++)o[e].onStatisticField&&(o[e].onStatisticField=o[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),g(e,t,n)}async function g(e,t,r){if(!e)return null;let{where:o}=e;if(e.where=o=o?.trim(),(!o||/^1 *= *1$/.test(o)||t&&t===o)&&(e.where=null),!e.geometry)return e;let f=await async function(e){const{distance:t,units:r}=e,o=e.geometry;if(null==t||"vertexAttributes"in o)return o;const a=o.spatialReference,u=r?y.fromJSON(r):(0,s.Ij)(a),p=a&&((0,c.EA)(a)||(0,c.K8)(a))?o:await(0,m.Nk)(a,c.KK).then(()=>(0,m.Cv)(o,c.KK)),d=await n.e(9159).then(n.bind(n,49159));await d.load();const f=d.execute(p,t||1,{unit:u})??void 0;if(!f||!(0,l.Bi)(f)||0===f.rings.length)throw new i.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return f}(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){const{spatialReference:t}=e.geometry;f=(0,a.HA)(f),f.spatialReference=t}if(f){await(0,m.Nk)(f.spatialReference,r),f=function(e,t){const n=e.spatialReference;return v(e,t)&&(0,l.ZC)(e)?{spatialReference:n,rings:[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]}:e}(f,r);const t=(await(0,p.el)((0,u.rS)(f)))[0];if(null==t)throw d;const n="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,i=n&&v(f,r)?{extendedParams:{densificationStep:8*n}}:void 0,s=t.toJSON(),o=(0,m.Cv)(s,s.spatialReference,r,i);if(!o)throw d;o.spatialReference=r,e.geometry=o}return e}function v(e,t){if(!e)return!1;const n=e.spatialReference;return((0,l.ZC)(e)||(0,l.Bi)(e)||(0,l.Rg)(e))&&!(0,c.aI)(n,t)&&!(0,o.canProjectWithoutEngine)(n,t)}function w(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}},59977(e,t,n){n.d(t,{A:()=>h});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(69540),u=n(25482),p=n(57231),c=n(93223);let m=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"number",write:!0}})],m.prototype,"value",void 0),(0,i.Cg)([(0,c.e)(p.g)],m.prototype,"unit",void 0),m=(0,i.Cg)([(0,s.$K)("esri.rest.support.DateBinTimeInterval")],m);const y=m;function d(e,t,n){(0,r.sM)(n,"string"==typeof e?e:e?.getTime(),t)}function f(e,t){const n=e.parameters[t];return n?"string"==typeof n?n:new Date(n):null}m.from=(0,o.dp)(m);let h=class extends a.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,i.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.end",read:{reader:(e,t)=>f(t,"end")},write:{writer:d}}})],h.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({type:y,json:{name:"parameters",write:!0}})],h.prototype,"interval",void 0),(0,i.Cg)([(0,s.MZ)({type:y,json:{name:"parameters.offset",write:!0}})],h.prototype,"offset",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],h.prototype,"returnFullIntervalBin",void 0),(0,i.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.start",read:{reader:(e,t)=>f(t,"start")},write:{writer:d}}})],h.prototype,"start",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],h.prototype,"snapToData",void 0),(0,i.Cg)([(0,c.e)({dateBin:"date"},{readOnly:!0})],h.prototype,"type",void 0),h=(0,i.Cg)([(0,s.$K)("esri.rest.support.DateBinParameters")],h),h.from=(0,o.dp)(h)},60909(e,t,n){n.d(t,{A:()=>c});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(41366),u=n(93223);function p(e,t,n){(0,r.sM)(n,e instanceof Date?e.getTime():e,t)}let c=class extends((0,l.K)(a.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],c.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],c.prototype,"interval",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],c.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,i.Cg)([(0,s.$K)("esri.rest.support.FixedIntervalBinParameters")],c),c.from=(0,o.dp)(c)},69052(e,t,n){n.d(t,{hr:()=>r,ie:()=>l,uC:()=>a});var i=n(34727);class r{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,i.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+o(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,i=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(i)?n:i}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,i,r=0,s=!1){return(i-=r)<t?i+=o(e,t-i):i>n&&(i-=o(e,i-n)),s&&i===n&&(i=t),i+r}function o(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const a=new r(0,2*Math.PI),l=(new r(-Math.PI,Math.PI),new r(0,360))},80754(e,t,n){n.d(t,{j7:()=>o,kS:()=>l,kd:()=>a,r8:()=>u});var i=n(82799),r=n(16930),s=n(60408);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const n=u(e);for(const e of n)for(const n of e)n[0]+=t;return e}function u(e){return(0,s.Bi)(e)?e.rings:e.paths}},92300(e,t,n){n.d(t,{V:()=>o,X:()=>s});var i=n(60408),r=n(65864);function s(e){return{geometryType:(0,i.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function o(e,t,n){const i=(0,r.xD)(t);return e.map(e=>{const t=i.fromJSON(e);return t.spatialReference=n,t})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4724],{3330(a,e,t){t.d(e,{GB:()=>r,Qo:()=>o,Y4:()=>i});var n=t(92647);class r{static{this.instance=n.mQ.parseSpecifier("UTC")}}function i(a){return a instanceof n.bo?a===r.instance:"unknown"===a?.toString().toLowerCase()}function o(a){return i(a)?r.instance:a}},10838(a,e,t){t.d(e,{ao:()=>u,ud:()=>h,xO:()=>T});var n=t(49186),r=t(36563),i=t(74887),o=t(73444);const d={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function s(a){if(function(a){return a in d}(a)){const e=d[a];return!0===e?a:e}return null}const m=[],c=new Map;function l(a){for(const e of c.keys())S(a.pattern,e)&&c.delete(e)}function u(a){return m.includes(a)||(l(a),m.unshift(a)),(0,r.hA)(()=>{const e=m.indexOf(a);e>-1&&(m.splice(e,1),l(a))})}async function h(a){const e=(0,o.JK)();c.has(a)||c.set(a,async function(a,e){const t=[];for(const n of m)if(S(n.pattern,a))try{return await n.fetchMessageBundle(a,e)}catch(a){t.push(a)}if(t.length)throw new n.A("intl:message-bundle-error",`Errors occurred while loading "${a}"`,{errors:t});throw new n.A("intl:no-message-bundle-loader",`No loader found for message bundle "${a}"`)}(a,e));const t=c.get(a);return t&&await A.add(t),t}function T(a){const e=(0,o.lR)(a);return e?s(a)??s(e):null}function S(a,e){return"string"==typeof a?e.startsWith(a):a.test(e)}(0,o.Ml)(()=>{c.clear()});const A=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(a){return this._increase(),a.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,i.Tw)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},56400(a,e,t){t.d(e,{ZS:()=>m,S3:()=>h,hv:()=>c,wr:()=>l,P6:()=>s});var n=t(91869),r=t(3330),i=t(98623);const o=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var d=t(92647);function s(a,e=!1){return{json:{read:{source:a,reader:(e,t)=>t[a]?m(t[a]):null},write:!!e&&{allowNull:!0,writer(e,t){t[a]=e?function(a){return{timeZoneIANA:a}}(e):null}}}}}function m(a,e=i.qU){return a?function(a){return"timeZoneIANA"in a}(a)?a.timeZoneIANA:function(a,e=i.qU){if(!a||!o.has(a.timeZone))return e;const t=o.get(a.timeZone);return function(a){return a.startsWith("UTC")}(a.timeZone)||a.respectsDaylightSaving?t:function(a){const e=d.c9.local().setZone(a),t=Math.min(e.set({month:1,day:1}).offset,e.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${d.mQ.instance(-t).formatOffset(0,"narrow")}`}(t)}(a,e):e}function c(a,e,t,n,r){if(e&&"date"===r)return{timeZone:i.n$,timeZoneName:void 0};const o=n.hour,d=t===i.L5;return{timeZone:d?"timestamp-offset"===r?void 0:a??i.n$:t,timeZoneName:d&&o?"shortOffset":void 0}}function l(a){const e=new Set(["etc/utc","etc/gmt","gmt"]),t=new Set(Intl.supportedValuesOf("timeZone").map(a=>a.toLowerCase()));return a===i.qU||a===i.L5||e.has(a.toLowerCase())||t.has(a.toLowerCase())}const u=new Map;function h(a){return a===i.L5?r.GB.instance:a===i.n$||"Etc/UTC"===a?d.mQ.utcInstance:(0,n.tE)(u,a,()=>d.oh.create(a))}},65529(a,e,t){t.d(e,{Zt:()=>i,a$:()=>o,bk:()=>d,nJ:()=>s});var n=t(69622),r=t(36563);const i=a=>{const e=a;return class extends e{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(a,e){let t=this._listenersMap?.get(a);if(!t)return!1;let n=!1;for(const a of t.slice()){const t="deref"in a?a.deref():a;t?t?.call(this,e):n=!0}return n&&(t=t.filter(a=>!("deref"in a)||null!=a.deref()),this._listenersMap.set(a,t)),t.length>0}on(a,e){if(Array.isArray(a)){const t=a.map(a=>this.on(a,e));return(0,r.vE)(t)}if(a.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const t=this._listenersMap.get(a)||[];return t.push(e),this._listenersMap.set(a,t),(0,r.hA)(()=>{const t=this._listenersMap?.get(a),n=t?.indexOf(e)??-1;n>=0&&t.splice(n,1)})}once(a,e){const t=this.on(a,a=>{t.remove();const n="deref"in e?e.deref():e;n?.call(null,a)});return t}hasEventListener(a){const e=this._listenersMap?.get(a);return null!=e&&e.length>0}}},o=i(class{}),d=o,s=i(n.A)},73444(a,e,t){t.d(e,{JK:()=>s,Ml:()=>A,QC:()=>l,lR:()=>c,oQ:()=>T});var n=t(36563);let r;t(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function d(){const a=o?.getAttribute("lang"),e=globalThis.navigator?.language;return i??a??e??"en"}function s(){return void 0===r&&(r=d()),r}const m=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(a=s()){return u(a)?.language}function l(a=s()){const e=u(a);return e?.language&&e?.extlang?a.replace(`${e.language}-`,""):a}function u(a=s()){return m.exec(a)?.groups}const h=[];function T(a){return h.push(a),(0,n.hA)(()=>{h.splice(h.indexOf(a),1)})}new Map;const S=[];function A(a){return S.push(a),(0,n.hA)(()=>S.splice(S.indexOf(a),1))}function g(){const a=d();r!==a&&([...S].forEach(e=>e(a)),r=a,[...h].forEach(e=>e(a)))}globalThis.addEventListener?.("languagechange",g),o&&new MutationObserver(()=>{g()}).observe(o,{attributeFilter:["lang"]})},97770(a,e,t){t.d(e,{Ey:()=>P,F8:()=>G,J2:()=>b,Yq:()=>U,_m:()=>L,_v:()=>M,iS:()=>_,wj:()=>D});var n=t(66552),r=t(73444),i=t(98623),o=(t(56400),t(92647));const d={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},s={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},m={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},l={year:"numeric",month:"long",day:"numeric"},u={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},T={hour:"numeric",minute:"numeric"},S={...T,second:"numeric"},A={hourCycle:"h23"},g={...T,...A},f={...S,...A},y={"short-date":c,"short-date-short-time":{...c,...T},"short-date-short-time-24":{...c,...g},"short-date-long-time":{...c,...S},"short-date-long-time-24":{...c,...f},"short-date-le":c,"short-date-le-short-time":{...c,...T},"short-date-le-short-time-24":{...c,...g},"short-date-le-long-time":{...c,...S},"short-date-le-long-time-24":{...c,...f},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...T},"long-month-day-year-short-time-24":{...l,...g},"long-month-day-year-long-time":{...l,...S},"long-month-day-year-long-time-24":{...l,...f},"day-short-month-year":u,"day-short-month-year-short-time":{...u,...T},"day-short-month-year-short-time-24":{...u,...g},"day-short-month-year-long-time":{...u,...S},"day-short-month-year-long-time-24":{...u,...f},"long-date":h,"long-date-short-time":{...h,...T},"long-date-short-time-24":{...h,...g},"long-date-long-time":{...h,...S},"long-date-long-time-24":{...h,...f},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":T,"long-time":S},M=(0,n.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),p={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},E=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),C=E.find(({type:a})=>"month"===a)?.value.toLowerCase();function k(){const a=(0,r.lR)();return(a&&p[a])??(0,r.QC)()}"mart"!==C&&(p.bs="sr-Latn-CS");let w=new WeakMap;const v=y["short-date-short-time"];function b(a){return y[a]}function L(a){const{dateStyle:e,timeStyle:t,hour12:n,year:r,month:i}=a,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=i||void 0),t&&!o.year&&(o.timeStyle=t,o.hour12="auto"===n?void 0:"always"===n),o}function U(a,e=v){return function(a){let e=w.get(a);if(!e){const t=k(),n=D(a.timeZone??i.qU),r={...a,timeZone:n};e=new Intl.DateTimeFormat(t,r),w.set(a,e)}return e}(e).format(a)}function _(a,e=v){return U(new Date(a),{...e,...m,...s})}function G(a,e=v){return U(new Date(`1970-01-01T${a}Z`),{...e,...m,...d})}function P(a,e=v){if(e.timeZone)return U(new Date(a),e);const t=o.c9.fromISO(a,{setZone:!0}),n=0===t.offset?i.n$:e.timeZone,r={...e,timeZone:n};return t.toLocaleString(r,{locale:k()})}function D(a){switch(a){case i.qU:return i.N5;case i.L5:return i.n$;default:return a}}(0,r.Ml)(()=>{w=new WeakMap})},98623(a,e,t){t.d(e,{L5:()=>r,N5:()=>o,n$:()=>i,qU:()=>n});const n="system",r="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9036],{17029(e,t,i){i.r(t),i.d(t,{default:()=>Z});var r,s=i(5482),o=i(11254),l=i(51447),n=i(49186),a=i(66552),c=i(53966),u=i(25728),p=i(91429),h=i(86738),g=i(16930),d=i(5443),y=i(19419),w=i(4146),v=i(63074),f=i(54310),b=i(25036),m=i(33446),M=i(87045);const A=new(i(72802).U)(0,0,0);let C=r=class extends((0,v.dM)((0,b.j)((0,f.J)(w.A)))){constructor(e){super(e),this.tileInfo=M.A.create({spatialReference:g.A.WebMercator,size:256}),this.type="base-tile",this.fullExtent=new d.A(-20037508.342787,-20037508.34278,20037508.34278,20037508.342787,g.A.WebMercator),this.spatialReference=g.A.WebMercator}addResolvingPromise(e){super.addResolvingPromise(e)}getTileBounds(e,t,i,r){const s=r||(0,y.vt)();return A.level=e,A.row=t,A.col=i,A.extent=s,this.tileInfo.updateTileInfo(A),s}fetchTile(e,t,i,r={}){const{signal:s}=r,l=this.getTileUrl(e,t,i),n={responseType:"image",signal:s,query:{...this.refreshParameters}};return(0,o.A)(l??"",n).then(e=>e.data)}async fetchImageBitmapTile(e,t,i,s={}){const{signal:l}=s;if(this.fetchTile!==r.prototype.fetchTile){const r=await this.fetchTile(e,t,i,s);return(0,m.C)(r,e,t,i,l)}const n=this.getTileUrl(e,t,i)??"",a={responseType:"blob",signal:l,query:{...this.refreshParameters}},{data:c}=await(0,o.A)(n,a);return(0,m.C)(c,e,t,i,l)}getTileUrl(){throw new n.A("basetilelayer:gettileurl-not-implemented","getTileUrl() is not implemented")}};(0,s.Cg)([(0,p.MZ)({type:M.A})],C.prototype,"tileInfo",void 0),(0,s.Cg)([(0,p.MZ)({type:["show","hide"]})],C.prototype,"listMode",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,value:"base-tile"})],C.prototype,"type",void 0),(0,s.Cg)([(0,p.MZ)({nonNullable:!0})],C.prototype,"fullExtent",void 0),(0,s.Cg)([(0,p.MZ)({type:g.A})],C.prototype,"spatialReference",void 0),C=r=(0,s.Cg)([(0,p.$K)("esri.layers.BaseTileLayer")],C);var x=i(16131),z=i(91806);const T=new a.J({BingMapsAerial:"aerial",BingMapsRoad:"road",BingMapsHybrid:"hybrid"});(0,l.uW)(c.A.getLogger("esri.layers.BingMapsLayer"),"esri.layers.BingMapsLayer",{version:"4.33",warnOnce:!0});let R=class extends((0,x.q)((0,u.M)(C))){constructor(e){super(e),this.type="bing-maps",this.tileInfo=new M.A({size:[256,256],dpi:96,origin:new h.A({x:-20037508.342787,y:20037508.342787,spatialReference:g.A.WebMercator}),spatialReference:g.A.WebMercator,lods:[new z.A({level:1,resolution:78271.5169639999,scale:295828763.795777}),new z.A({level:2,resolution:39135.7584820001,scale:147914381.897889}),new z.A({level:3,resolution:19567.8792409999,scale:73957190.948944}),new z.A({level:4,resolution:9783.93962049996,scale:36978595.474472}),new z.A({level:5,resolution:4891.96981024998,scale:18489297.737236}),new z.A({level:6,resolution:2445.98490512499,scale:9244648.868618}),new z.A({level:7,resolution:1222.99245256249,scale:4622324.434309}),new z.A({level:8,resolution:611.49622628138,scale:2311162.217155}),new z.A({level:9,resolution:305.748113140558,scale:1155581.108577}),new z.A({level:10,resolution:152.874056570411,scale:577790.554289}),new z.A({level:11,resolution:76.4370282850732,scale:288895.277144}),new z.A({level:12,resolution:38.2185141425366,scale:144447.638572}),new z.A({level:13,resolution:19.1092570712683,scale:72223.819286}),new z.A({level:14,resolution:9.55462853563415,scale:36111.909643}),new z.A({level:15,resolution:4.77731426794937,scale:18055.954822}),new z.A({level:16,resolution:2.38865713397468,scale:9027.977411}),new z.A({level:17,resolution:1.19432856685505,scale:4513.988705}),new z.A({level:18,resolution:.597164283559817,scale:2256.994353}),new z.A({level:19,resolution:.298582141647617,scale:1128.497176}),new z.A({level:20,resolution:.1492910708238085,scale:564.248588})]}),this.key=null,this.style="road",this.culture="en-US",this.region=null,this.portalUrl=null,this.hasAttributionData=!0}get bingMetadata(){return this._get("bingMetadata")}set bingMetadata(e){this._set("bingMetadata",e)}get copyright(){return null!=this.bingMetadata?this.bingMetadata.copyright:null}get operationalLayerType(){return T.toJSON(this.style)}get bingLogo(){return null!=this.bingMetadata?this.bingMetadata.brandLogoUri:null}load(e){return this.key?this.addResolvingPromise(this._getMetadata()):this.portalUrl?this.addResolvingPromise(this._getPortalBingKey().then(()=>this._getMetadata())):this.addResolvingPromise(Promise.reject(new n.A("bingmapslayer:load","Bing layer must have bing key."))),Promise.resolve(this)}getTileUrl(e,t,i){if(!this.loaded||null==this.bingMetadata)return null;const r=this.bingMetadata.resourceSets[0].resources[0],s=r.imageUrlSubdomains[t%r.imageUrlSubdomains.length],o=this._getQuadKey(e,t,i);return r.imageUrl.replace("{subdomain}",s).replace("{quadkey}",o)}async fetchAttributionData(){return this.load().then(()=>null==this.bingMetadata?null:{contributors:this.bingMetadata.resourceSets[0].resources[0].imageryProviders.map(e=>({attribution:e.attribution,coverageAreas:e.coverageAreas.map(e=>({zoomMin:e.zoomMin-(e.zoomMin?1:0),zoomMax:e.zoomMax-(e.zoomMin?1:0),score:1,bbox:[e.bbox[0],e.bbox[1],e.bbox[2],e.bbox[3]]}))}))})}_getMetadata(){const e={road:"roadOnDemand",aerial:"aerial",hybrid:"aerialWithLabelsOnDemand"}[this.style];return(0,o.A)(`https://dev.virtualearth.net/REST/v1/Imagery/Metadata/${e}`,{responseType:"json",query:{include:"ImageryProviders",uriScheme:"https",key:this.key,suppressStatus:!0,output:"json",culture:this.culture,userRegion:this.region}}).then(e=>{const t=e.data;if(200!==t.statusCode)throw new n.A("bingmapslayer:getmetadata",t.statusDescription);if(this.bingMetadata=t,0===this.bingMetadata.resourceSets.length)throw new n.A("bingmapslayer:getmetadata","no bing resourcesets");if(0===this.bingMetadata.resourceSets[0].resources.length)throw new n.A("bingmapslayer:getmetadata","no bing resources")}).catch(e=>{throw new n.A("bingmapslayer:getmetadata",e.message)})}_getPortalBingKey(){return(0,o.A)(this.portalUrl??"",{responseType:"json",authMode:"no-prompt",query:{f:"json"}}).then(e=>{if(!e.data.bingKey)throw new n.A("bingmapslayer:getportalbingkey","The referenced Portal does not contain a valid bing key");this.key=e.data.bingKey}).catch(e=>{throw new n.A("bingmapslayer:getportalbingkey",e.message)})}_getQuadKey(e,t,i){let r="";for(let s=e;s>0;s--){let e=0;const o=1<<s-1;0!==(i&o)&&(e+=1),0!==(t&o)&&(e+=2),r+=e.toString()}return r}};(0,s.Cg)([(0,p.MZ)({json:{read:!1,write:!1},value:null})],R.prototype,"bingMetadata",null),(0,s.Cg)([(0,p.MZ)({json:{read:!1,write:!1},value:"bing-maps",readOnly:!0})],R.prototype,"type",void 0),(0,s.Cg)([(0,p.MZ)({type:M.A})],R.prototype,"tileInfo",void 0),(0,s.Cg)([(0,p.MZ)({type:String,readOnly:!0,json:{read:!1,write:!1}})],R.prototype,"copyright",null),(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!1,read:!1}})],R.prototype,"key",void 0),(0,s.Cg)([(0,p.MZ)({type:T.apiValues,nonNullable:!0,json:{read:{source:"layerType",reader:T.read}}})],R.prototype,"style",void 0),(0,s.Cg)([(0,p.MZ)({type:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"]})],R.prototype,"operationalLayerType",null),(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!1,read:!1}})],R.prototype,"culture",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!1,read:!1}})],R.prototype,"region",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0,read:!0}})],R.prototype,"portalUrl",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:!1,read:!1}})],R.prototype,"hasAttributionData",void 0),(0,s.Cg)([(0,p.MZ)({type:String,readOnly:!0})],R.prototype,"bingLogo",null),R=(0,s.Cg)([(0,p.$K)("esri.layers.BingMapsLayer")],R);const Z=R},33446(e,t,i){i.d(t,{C:()=>l,m:()=>o});var r=i(49186),s=i(74887);async function o(e,t,i){let o;try{o=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,s.Te)(i),o}async function l(e,t,i,o,l){let n;try{n=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load tile ${t}/${i}/${o}`,{error:e,level:t,row:i,col:o})}return(0,s.Te)(l),n}},69540(e,t,i){i.d(t,{OU:()=>u,Pw:()=>p});var r=i(5482),s=i(69622),o=(i(44208),i(4718)),l=(i(53966),i(97768)),n=i(88620),a=i(64108);const c=Symbol("ClonableMixin"),u=e=>{var t;const i=e;let s=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=c}clone(e){const t=(0,n.oY)(this);(0,l.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,r=t.store,s={},a=new Map;for(const t in i){const l=i[t],n=r?.originOf(t),c=l.clonable;if(l.readOnly||!1===c||7!==n&&0!==n&&5!==n&&4!==n)continue;const u=this[t];let p=null;if("function"==typeof c)p=c(u,e);else if("reference"===c)p=u;else if(p=(0,o.TU)(u,e),null!=u&&null==p)continue;0===n?a.set(t,p):s[t]=p}const c=new(0,Object.getPrototypeOf(this).constructor)(s);if(a.size){const e=(0,n.oY)(c)?.store;if(e)for(const[t,i]of a)e.set(t,i,0)}return c}};return s=(0,r.Cg)([(0,a.$)("esri.core.Clonable")],s),s},p=u(s.A)},72802(e,t,i){i.d(t,{U:()=>s});var r=i(19419);class s{constructor(e,t,i,s=(0,r.vt)()){this._level=e,this._row=t,this._col=i,this.extent=s}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new s(e.level,e.row,e.col,e.extent)}}},78553(e,t,i){i.d(t,{D:()=>o,p:()=>s});var r=i(56507);function s(e){const t=(0,r.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function o(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},87045(e,t,i){i.d(t,{A:()=>b});var r,s=i(5482),o=i(66552),l=i(25482),n=i(86211),a=i(91429),c=i(56507),u=i(86738),p=i(16930),h=i(21325),g=i(28735),d=i(91806),y=i(72802),w=i(36005),v=i(43937);const f=new o.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let b=class extends l.o{static{r=this}static create(e={}){const{resolutionFactor:t=1,scales:i,size:s=256,spatialReference:o=p.A.WebMercator,numLODs:l=24}=e;if(!(0,h.fn)(o)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push(new d.A({level:t,scale:r,resolution:r}))}else{let t=5e-4;for(let i=l-1;i>=0;i--)e.unshift(new d.A({level:i,scale:t,resolution:t})),t*=2}return new r({dpi:96,lods:e,origin:new u.A(0,0,o),size:[s,s],spatialReference:o})}const a=(0,h.Vp)(o),c=e.origin?new u.A({x:e.origin.x,y:e.origin.y,spatialReference:o}):new u.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:o}:{x:0,y:0,spatialReference:o}),g=1/(39.37*(0,n.GA)(o)*96),y=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*g;y.push(new d.A({level:e,scale:t,resolution:r}))}else{let e=(0,h.EA)(o)?512/s*591657527.5917094:256/s*591657527.591555;const i=Math.ceil(l/t);y.push(new d.A({level:0,scale:e,resolution:e*g}));for(let r=1;r<i;r++){const i=e/2**t,s=i*g;y.push(new d.A({level:r,scale:i,resolution:s})),e=i}}return new r({dpi:96,lods:y,origin:c,size:[s,s],spatialReference:o})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,h.Vp)(e);return e.isWrappable&&!!i&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return u.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[],s=this._levelToLOD={};e&&(t=-1/0,i=1/0,e.forEach(e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,s[e.level]=e})),this._set("scales",r),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],s=t[r+1];if(i<=e)return r;if(s===e)return r+1;if(i>e&&s<e)return r+Math.log(i/e)/Math.log(i/s)}return r}tileAt(e,t,i,r){const s=this.lodAt(e);if(!s)return null;let o,l;if("number"==typeof t)o=t,l=i;else if((0,h.aI)(t.spatialReference,this.spatialReference))o=t.x,l=t.y,r=i;else{const e=(0,g.Cv)(t,this.spatialReference);if(null==e)return null;o=e.x,l=e.y,r=i}const n=s.resolution*this.size[0],a=s.resolution*this.size[1];return r??=new y.U(0,0,0),r.level=e,r.row=Math.floor((this.origin.y-l)/a+.001),r.col=Math.floor((o-this.origin.x)/n+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let i=this.lodAt(e.level);if(!i&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return!1;const r=e.level-i.level,s=i.resolution*this.size[0]/2**r,o=i.resolution*this.size[1]/2**r;return e.extent[0]=this.origin.x+e.col*s,e.extent[1]=this.origin.y-(e.row+1)*o,e.extent[2]=e.extent[0]+s,e.extent[3]=e.extent[1]+o,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const i=this.lodAt(t.level);if(null==i)return null;const{resolution:r}=i,s=r*this.size[0],o=r*this.size[1];return e[0]=this.origin.x+t.col*s,e[1]=this.origin.y-(t.row+1)*o,e[2]=e[0]+s,e[3]=e[1]+o,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return r.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const i=[],s=this.lods.length-t;for(let e=0;e<s;e++){const r=e+t,{scale:s,resolution:o}=r>=0?this.lods[r]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};i.push(new d.A({level:e,scale:s,resolution:o}))}return new r({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:i})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"compressionQuality",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"dpi",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{read:f.read,write:f.write,origins:{"web-scene":{read:!1,write:!1}}}})],b.prototype,"format",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],b.prototype,"isWrappable",null),(0,s.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],b.prototype,"origin",void 0),(0,s.Cg)([(0,w.w)("origin")],b.prototype,"readOrigin",null),(0,s.Cg)([(0,a.MZ)({type:[d.A],value:null,json:{write:!0}})],b.prototype,"lods",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],b.prototype,"scales",void 0),(0,s.Cg)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],b.prototype,"size",void 0),(0,s.Cg)([(0,w.w)("size",["rows","cols"])],b.prototype,"readSize",null),(0,s.Cg)([(0,v.K)("size",{cols:{type:c.jz},rows:{type:c.jz}})],b.prototype,"writeSize",null),(0,s.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),b=r=(0,s.Cg)([(0,a.$K)("esri.layers.support.TileInfo")],b)},91806(e,t,i){i.d(t,{A:()=>a});var r,s=i(5482),o=i(25482),l=i(91429),n=i(56507);let a=class extends o.o{static{r=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,s.Cg)([(0,l.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"cols",void 0),(0,s.Cg)([(0,l.MZ)({type:n.jz,json:{write:!0}})],a.prototype,"level",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],a.prototype,"levelValue",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"origin",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"resolution",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"rows",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"scale",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.layers.support.LOD")],a)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6408],{5482(e,t,n){function r(e,t,n,r){var s,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(a=(i<3?s(a):i>3?s(t,n,a):s(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>a,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function a(e){function t(t){e.error=e.hasError?new i(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function s(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(e){return t(e),s()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},92647(e,t,n){n.d(t,{bo:()=>Z,c9:()=>gr,mQ:()=>ie,oh:()=>U});class r extends Error{}class s extends r{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class i extends r{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class a extends r{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class o extends r{}class u extends r{constructor(e){super(`Invalid unit ${e}`)}}class l extends r{}class c extends r{constructor(){super("Zone is an abstract class")}}const h="numeric",d="short",m="long",f={year:h,month:h,day:h},y={year:h,month:d,day:h},g={year:h,month:d,day:h,weekday:d},w={year:h,month:m,day:h},p={year:h,month:m,day:h,weekday:m},k={hour:h,minute:h},v={hour:h,minute:h,second:h},S={hour:h,minute:h,second:h,timeZoneName:d},b={hour:h,minute:h,second:h,timeZoneName:m},T={hour:h,minute:h,hourCycle:"h23"},O={hour:h,minute:h,second:h,hourCycle:"h23"},N={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:d},M={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:m},D={year:h,month:h,day:h,hour:h,minute:h},I={year:h,month:h,day:h,hour:h,minute:h,second:h},V={year:h,month:d,day:h,hour:h,minute:h},E={year:h,month:d,day:h,hour:h,minute:h,second:h},x={year:h,month:d,day:h,weekday:d,hour:h,minute:h},C={year:h,month:m,day:h,hour:h,minute:h,timeZoneName:d},F={year:h,month:m,day:h,hour:h,minute:h,second:h,timeZoneName:d},$={year:h,month:m,day:h,weekday:m,hour:h,minute:h,timeZoneName:m},W={year:h,month:m,day:h,weekday:m,hour:h,minute:h,second:h,timeZoneName:m};class Z{get type(){throw new c}get name(){throw new c}get ianaName(){return this.name}get isUniversal(){throw new c}offsetName(e,t){throw new c}formatOffset(e,t){throw new c}offset(e){throw new c}equals(e){throw new c}get isValid(){throw new c}}let L=null;class z extends Z{static get instance(){return null===L&&(L=new z),L}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return st(e,t,n)}formatOffset(e,t){return ut(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}const j=new Map,q={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},A=new Map;class U extends Z{static create(e){let t=A.get(e);return void 0===t&&A.set(e,t=new U(e)),t}static resetCache(){A.clear(),j.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=U.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return st(e,t,n,this.name)}formatOffset(e,t){return ut(this.offset(e),t)}offset(e){if(!this.valid)return NaN;const t=new Date(e);if(isNaN(t))return NaN;const n=function(e){let t=j.get(e);return void 0===t&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),j.set(e,t)),t}(this.name);let[r,s,i,a,o,u,l]=n.formatToParts?function(e,t){const n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){const{type:t,value:s}=n[e],i=q[t];"era"===t?r[i]=s:Le(i)||(r[i]=parseInt(s,10))}return r}(n,t):function(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,a,o,u,l,c]=r;return[a,s,i,o,u,l,c]}(n,t);"BC"===a&&(r=1-Math.abs(r));let c=+t;const h=c%1e3;return c-=h>=0?h:1e3+h,(et({year:r,month:s,day:i,hour:24===o?0:o,minute:u,second:l,millisecond:0})-c)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let _={};const R=new Map;function Y(e,t={}){const n=JSON.stringify([e,t]);let r=R.get(n);return void 0===r&&(r=new Intl.DateTimeFormat(e,t),R.set(n,r)),r}const H=new Map,P=new Map;let J=null;const G=new Map;function B(e){let t=G.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),G.set(e,t)),t}const Q=new Map;function K(e,t,n,r){const s=e.listingMode();return"error"===s?null:"en"===s?n(t):r(t)}class X{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!t||Object.keys(i).length>0){const t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=function(e,t={}){const n=JSON.stringify([e,t]);let r=H.get(n);return void 0===r&&(r=new Intl.NumberFormat(e,t),H.set(n,r)),r}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return He(this.floor?Math.floor(e):Be(e,3),this.padTo)}}class ee{constructor(e,t,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&U.create(n).valid?(r=n,this.dt=e):(r="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,r=e.zone.name):(r="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=Y(t,s)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class te{constructor(e,t,n){this.opts={style:"long",...n},!t&&qe()&&(this.rtf=function(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let i=P.get(s);return void 0===i&&(i=new Intl.RelativeTimeFormat(e,t),P.set(s,i)),i}(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&i){const n="days"===e;switch(t){case 1:return n?"tomorrow":`next ${s[e][0]}`;case-1:return n?"yesterday":`last ${s[e][0]}`;case 0:return n?"today":`this ${s[e][0]}`}}const a=Object.is(t,-0)||t<0,o=Math.abs(t),u=1===o,l=s[e],c=r?u?l[1]:l[2]||l[1]:u?s[e][0]:e;return a?`${o} ${c} ago`:`in ${o} ${c}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const ne={firstDay:1,minimalDays:4,weekend:[6,7]};class re{static fromOpts(e){return re.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,n,r,s=!1){const i=e||Se.defaultLocale,a=i||(s?"en-US":J||(J=(new Intl.DateTimeFormat).resolvedOptions().locale,J)),o=t||Se.defaultNumberingSystem,u=n||Se.defaultOutputCalendar,l=Re(r)||Se.defaultWeekSettings;return new re(a,o,u,l,i)}static resetCache(){J=null,R.clear(),H.clear(),P.clear(),G.clear(),Q.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:n,weekSettings:r}={}){return re.create(e,t,n,r)}constructor(e,t,n,r,s){const[i,a,o]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(-1===n)return[e];{let t,r;try{t=Y(e).resolvedOptions(),r=e}catch(s){const i=e.substring(0,n);t=Y(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=t;return[r,s,i]}}(e);this.locale=i,this.numberingSystem=t||a||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(e,t,n){return n||t?(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===B(e.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?re.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Re(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return K(this,e,mt,()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),r=(t&=!n)?{month:e,day:"numeric"}:{month:e},s=t?"format":"standalone";if(!this.monthsCache[s][e]){const t=n?e=>this.dtFormatter(e,r).format():e=>this.extract(e,r,"month");this.monthsCache[s][e]=function(e){const t=[];for(let n=1;n<=12;n++){const r=gr.utc(2009,n,1);t.push(e(r))}return t}(t)}return this.monthsCache[s][e]})}weekdays(e,t=!1){return K(this,e,wt,()=>{const n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=function(e){const t=[];for(let n=1;n<=7;n++){const r=gr.utc(2016,11,13+n);t.push(e(r))}return t}(e=>this.extract(e,n,"weekday"))),this.weekdaysCache[r][e]})}meridiems(){return K(this,void 0,()=>pt,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[gr.utc(2016,11,13,9),gr.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return K(this,e,bt,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[gr.utc(-40,1,1),gr.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,n){const r=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===n);return r?r.value:null}numberFormatter(e={}){return new X(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new ee(e,this.intl,t)}relFormatter(e={}){return new te(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const n=JSON.stringify([e,t]);let r=_[n];return r||(r=new Intl.ListFormat(e,t),_[n]=r),r}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||B(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ae()?function(e){let t=Q.get(e);if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in t||(t={...ne,...t}),Q.set(e,t)}return t}(this.locale):ne}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let se=null;class ie extends Z{static get utcInstance(){return null===se&&(se=new ie(0)),se}static instance(e){return 0===e?ie.utcInstance:new ie(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new ie(it(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ut(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ut(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return ut(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class ae extends Z{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function oe(e,t){if(Le(e)||null===e)return t;if(e instanceof Z)return e;if("string"==typeof e){const n=e.toLowerCase();return"default"===n?t:"local"===n||"system"===n?z.instance:"utc"===n||"gmt"===n?ie.utcInstance:ie.parseSpecifier(n)||U.create(e)}return ze(e)?ie.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new ae(e)}const ue={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},le={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ce=ue.hanidec.replace(/[\[|\]]/g,"").split(""),he=new Map;function de({numberingSystem:e},t=""){const n=e||"latn";let r=he.get(n);void 0===r&&(r=new Map,he.set(n,r));let s=r.get(t);return void 0===s&&(s=new RegExp(`${ue[n]}${t}`),r.set(t,s)),s}let me,fe=()=>Date.now(),ye="system",ge=null,we=null,pe=null,ke=60,ve=null;class Se{static get now(){return fe}static set now(e){fe=e}static set defaultZone(e){ye=e}static get defaultZone(){return oe(ye,z.instance)}static get defaultLocale(){return ge}static set defaultLocale(e){ge=e}static get defaultNumberingSystem(){return we}static set defaultNumberingSystem(e){we=e}static get defaultOutputCalendar(){return pe}static set defaultOutputCalendar(e){pe=e}static get defaultWeekSettings(){return ve}static set defaultWeekSettings(e){ve=Re(e)}static get twoDigitCutoffYear(){return ke}static set twoDigitCutoffYear(e){ke=e%100}static get throwOnInvalid(){return me}static set throwOnInvalid(e){me=e}static resetCaches(){re.resetCache(),U.resetCache(),gr.resetCache(),he.clear()}}class be{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Te=[0,31,59,90,120,151,181,212,243,273,304,334],Oe=[0,31,60,91,121,152,182,213,244,274,305,335];function Ne(e,t){return new be("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Me(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function De(e,t,n){return n+(Qe(e)?Oe:Te)[t-1]}function Ie(e,t){const n=Qe(e)?Oe:Te,r=n.findIndex(e=>e<t);return{month:r+1,day:t-n[r]}}function Ve(e,t){return(e-t+7)%7+1}function Ee(e,t=4,n=1){const{year:r,month:s,day:i}=e,a=De(r,s,i),o=Ve(Me(r,s,i),n);let u,l=Math.floor((a-o+14-t)/7);return l<1?(u=r-1,l=nt(u,t,n)):l>nt(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:o,...lt(e)}}function xe(e,t=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=e,a=Ve(Me(r,1,t),n),o=Ke(r);let u,l=7*s+i-a-7+t;l<1?(u=r-1,l+=Ke(u)):l>o?(u=r+1,l-=Ke(r)):u=r;const{month:c,day:h}=Ie(u,l);return{year:u,month:c,day:h,...lt(e)}}function Ce(e){const{year:t,month:n,day:r}=e;return{year:t,ordinal:De(t,n,r),...lt(e)}}function Fe(e){const{year:t,ordinal:n}=e,{month:r,day:s}=Ie(t,n);return{year:t,month:r,day:s,...lt(e)}}function $e(e,t){if(!Le(e.localWeekday)||!Le(e.localWeekNumber)||!Le(e.localWeekYear)){if(!Le(e.weekday)||!Le(e.weekNumber)||!Le(e.weekYear))throw new o("Cannot mix locale-based week fields with ISO-based week fields");return Le(e.localWeekday)||(e.weekday=e.localWeekday),Le(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Le(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function We(e){const t=je(e.year),n=Ye(e.month,1,12),r=Ye(e.day,1,Xe(e.year,e.month));return t?n?!r&&Ne("day",e.day):Ne("month",e.month):Ne("year",e.year)}function Ze(e){const{hour:t,minute:n,second:r,millisecond:s}=e,i=Ye(t,0,23)||24===t&&0===n&&0===r&&0===s,a=Ye(n,0,59),o=Ye(r,0,59),u=Ye(s,0,999);return i?a?o?!u&&Ne("millisecond",s):Ne("second",r):Ne("minute",n):Ne("hour",t)}function Le(e){return void 0===e}function ze(e){return"number"==typeof e}function je(e){return"number"==typeof e&&e%1==0}function qe(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Ae(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function Ue(e,t,n){if(0!==e.length)return e.reduce((e,r)=>{const s=[t(r),r];return e&&n(e[0],s[0])===e[0]?e:s},null)[1]}function _e(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Re(e){if(null==e)return null;if("object"!=typeof e)throw new l("Week settings must be an object");if(!Ye(e.firstDay,1,7)||!Ye(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!Ye(e,1,7)))throw new l("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Ye(e,t,n){return je(e)&&e>=t&&e<=n}function He(e,t=2){let n;return n=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),n}function Pe(e){return Le(e)||null===e||""===e?void 0:parseInt(e,10)}function Je(e){return Le(e)||null===e||""===e?void 0:parseFloat(e)}function Ge(e){if(!Le(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Be(e,t,n="round"){const r=10**t;switch(n){case"expand":return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case"trunc":return Math.trunc(e*r)/r;case"round":return Math.round(e*r)/r;case"floor":return Math.floor(e*r)/r;case"ceil":return Math.ceil(e*r)/r;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function Qe(e){return e%4==0&&(e%100!=0||e%400==0)}function Ke(e){return Qe(e)?366:365}function Xe(e,t){const n=(r=t-1)-12*Math.floor(r/12)+1;var r;return 2===n?Qe(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function et(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function tt(e,t,n){return-Ve(Me(e,1,t),n)+t-1}function nt(e,t=4,n=1){const r=tt(e,t,n),s=tt(e+1,t,n);return(Ke(e)-r+s)/7}function rt(e){return e>99?e:e>Se.twoDigitCutoffYear?1900+e:2e3+e}function st(e,t,n,r=null){const s=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:t,...i},o=new Intl.DateTimeFormat(n,a).formatToParts(s).find(e=>"timezonename"===e.type.toLowerCase());return o?o.value:null}function it(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function at(e){const t=Number(e);if("boolean"==typeof e||""===e||!Number.isFinite(t))throw new l(`Invalid unit value ${e}`);return t}function ot(e,t){const n={};for(const r in e)if(_e(e,r)){const s=e[r];if(null==s)continue;n[t(r)]=at(s)}return n}function ut(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${He(n,2)}:${He(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${He(n,2)}${He(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function lt(e){return function(e){return["hour","minute","second","millisecond"].reduce((t,n)=>(t[n]=e[n],t),{})}(e)}const ct=["January","February","March","April","May","June","July","August","September","October","November","December"],ht=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dt=["J","F","M","A","M","J","J","A","S","O","N","D"];function mt(e){switch(e){case"narrow":return[...dt];case"short":return[...ht];case"long":return[...ct];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ft=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],yt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gt=["M","T","W","T","F","S","S"];function wt(e){switch(e){case"narrow":return[...gt];case"short":return[...yt];case"long":return[...ft];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const pt=["AM","PM"],kt=["Before Christ","Anno Domini"],vt=["BC","AD"],St=["B","A"];function bt(e){switch(e){case"narrow":return[...St];case"short":return[...vt];case"long":return[...kt];default:return null}}function Tt(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const Ot={D:f,DD:y,DDD:w,DDDD:p,t:k,tt:v,ttt:S,tttt:b,T,TT:O,TTT:N,TTTT:M,f:D,ff:V,fff:C,ffff:$,F:I,FF:E,FFF:F,FFFF:W};class Nt{static create(e,t={}){return new Nt(e,t)}static parseFormat(e){let t=null,n="",r=!1;const s=[];for(let i=0;i<e.length;i++){const a=e.charAt(i);"'"===a?((n.length>0||r)&&s.push({literal:r||/^\s+$/.test(n),val:""===n?"'":n}),t=null,n="",r=!r):r||a===t?n+=a:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=a,t=a)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(e){return Ot[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,n=void 0){if(this.opts.forceSimple)return He(e,t);const r={...this.opts};return t>0&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(t,n)=>this.loc.extract(e,t,n),i=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=(t,r)=>n?function(e,t){return mt(t)[e.month-1]}(e,t):s(r?{month:t}:{month:t,day:"numeric"},"month"),o=(t,r)=>n?function(e,t){return wt(t)[e.weekday-1]}(e,t):s(r?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{const n=Nt.macroTokenToFormatOpts(t);return n?this.formatWithSystemDefault(e,n):t},l=t=>n?function(e,t){return bt(t)[e.year<0?0:1]}(e,t):s({era:t},"era");return Tt(Nt.parseFormat(t),t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return n?function(e){return pt[e.hour<12?0:1]}(e):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(e.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(e.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(e.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(e.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}})}formatDurationFromString(e,t){const n="negativeLargestOnly"===this.opts.signMode?-1:1,r=e=>{switch(e[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},s=Nt.parseFormat(t),i=s.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),a=e.shiftTo(...i.map(r).filter(e=>e));return Tt(s,((e,t)=>s=>{const i=r(s);if(i){const r=t.isNegativeDuration&&i!==t.largestUnit?n:1;let a;return a="negativeLargestOnly"===this.opts.signMode&&i!==t.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(e.get(i)*r,s.length,a)}return s})(a,{isNegativeDuration:a<0,largestUnit:Object.keys(a.values)[0]}))}}const Mt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Dt(...e){const t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function It(...e){return t=>e.reduce(([e,n,r],s)=>{const[i,a,o]=s(t,r);return[{...e,...i},a||n,o]},[{},null,1]).slice(0,2)}function Vt(e,...t){if(null==e)return[null,null];for(const[n,r]of t){const t=n.exec(e);if(t)return r(t)}return[null,null]}function Et(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Pe(t[n+s]);return[r,null,n+s]}}const xt=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Ct=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ft=RegExp(`${Ct.source}(?:${xt.source}?(?:\\[(${Mt.source})\\])?)?`),$t=RegExp(`(?:[Tt]${Ft.source})?`),Wt=Et("weekYear","weekNumber","weekDay"),Zt=Et("year","ordinal"),Lt=RegExp(`${Ct.source} ?(?:${xt.source}|(${Mt.source}))?`),zt=RegExp(`(?: ${Lt.source})?`);function jt(e,t,n){const r=e[t];return Le(r)?n:Pe(r)}function qt(e,t){return[{hours:jt(e,t,0),minutes:jt(e,t+1,0),seconds:jt(e,t+2,0),milliseconds:Ge(e[t+3])},null,t+4]}function At(e,t){const n=!e[t]&&!e[t+1],r=it(e[t+1],e[t+2]);return[{},n?null:ie.instance(r),t+3]}function Ut(e,t){return[{},e[t]?U.create(e[t]):null,t+1]}const _t=RegExp(`^T?${Ct.source}$`),Rt=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Yt(e){const[t,n,r,s,i,a,o,u,l]=e,c="-"===t[0],h=u&&"-"===u[0],d=(e,t=!1)=>void 0!==e&&(t||e&&c)?-e:e;return[{years:d(Je(n)),months:d(Je(r)),weeks:d(Je(s)),days:d(Je(i)),hours:d(Je(a)),minutes:d(Je(o)),seconds:d(Je(u),"-0"===u),milliseconds:d(Ge(l),h)}]}const Ht={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pt(e,t,n,r,s,i,a){const o={year:2===t.length?rt(Pe(t)):Pe(t),month:ht.indexOf(n)+1,day:Pe(r),hour:Pe(s),minute:Pe(i)};return a&&(o.second=Pe(a)),e&&(o.weekday=e.length>3?ft.indexOf(e)+1:yt.indexOf(e)+1),o}const Jt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Gt(e){const[,t,n,r,s,i,a,o,u,l,c,h]=e,d=Pt(t,s,r,n,i,a,o);let m;return m=u?Ht[u]:l?0:it(c,h),[d,new ie(m)]}const Bt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Qt=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Kt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Xt(e){const[,t,n,r,s,i,a,o]=e;return[Pt(t,s,r,n,i,a,o),ie.utcInstance]}function en(e){const[,t,n,r,s,i,a,o]=e;return[Pt(t,o,n,r,s,i,a),ie.utcInstance]}const tn=Dt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,$t),nn=Dt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,$t),rn=Dt(/(\d{4})-?(\d{3})/,$t),sn=Dt(Ft),an=It(function(e,t){return[{year:jt(e,t),month:jt(e,t+1,1),day:jt(e,t+2,1)},null,t+3]},qt,At,Ut),on=It(Wt,qt,At,Ut),un=It(Zt,qt,At,Ut),ln=It(qt,At,Ut),cn=It(qt),hn=Dt(/(\d{4})-(\d\d)-(\d\d)/,zt),dn=Dt(Lt),mn=It(qt,At,Ut),fn="Invalid Duration",yn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},gn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...yn},wn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...yn},pn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],kn=pn.slice(0).reverse();function vn(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new On(r)}function Sn(e,t){let n=t.milliseconds??0;for(const r of kn.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function bn(e,t){const n=Sn(e,t)<0?-1:1;pn.reduceRight((r,s)=>{if(Le(t[s]))return r;if(r){const i=t[r]*n,a=e[s][r],o=Math.floor(i/a);t[s]+=o*n,t[r]-=o*a*n}return s},null),pn.reduce((n,r)=>{if(Le(t[r]))return n;if(n){const s=t[n]%1;t[n]-=s,t[r]+=s*e[n][r]}return r},null)}function Tn(e){const t={};for(const[n,r]of Object.entries(e))0!==r&&(t[n]=r);return t}class On{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let n=t?wn:gn;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||re.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,t){return On.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new l("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new On({values:ot(e,On.normalizeUnit),loc:re.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(ze(e))return On.fromMillis(e);if(On.isDuration(e))return e;if("object"==typeof e)return On.fromObject(e);throw new l(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[n]=function(e){return Vt(e,[Rt,Yt])}(e);return n?On.fromObject(n,t):On.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[n]=function(e){return Vt(e,[_t,cn])}(e);return n?On.fromObject(n,t):On.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new l("need to specify a reason the Duration is invalid");const n=e instanceof be?e:new be(e,t);if(Se.throwOnInvalid)throw new a(n);return new On({invalid:n})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new u(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const n={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?Nt.create(this.loc,n).formatDurationFromString(this,e):fn}toHuman(e={}){if(!this.isValid)return fn;const t=!1!==e.showZeros,n=pn.map(n=>{const r=this.values[n];return Le(r)||0===r&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:n.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=Be(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},gr.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Sn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=On.fromDurationLike(e),n={};for(const e of pn)(_e(t.values,e)||_e(this.values,e))&&(n[e]=t.get(e)+this.get(e));return vn(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const t=On.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=at(e(this.values[n],n));return vn(this,{values:t},!0)}get(e){return this[On.normalizeUnit(e)]}set(e){return this.isValid?vn(this,{values:{...this.values,...ot(e,On.normalizeUnit)}}):this}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){return vn(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:r,conversionAccuracy:n})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return bn(this.matrix,e),vn(this,{values:e},!0)}rescale(){return this.isValid?vn(this,{values:Tn(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map(e=>On.normalizeUnit(e));const t={},n={},r=this.toObject();let s;for(const i of pn)if(e.indexOf(i)>=0){s=i;let e=0;for(const t in n)e+=this.matrix[t][i]*n[t],n[t]=0;ze(r[i])&&(e+=r[i]);const a=Math.trunc(e);t[i]=a,n[i]=(1e3*e-1e3*a)/1e3}else ze(r[i])&&(n[i]=r[i]);for(const e in n)0!==n[e]&&(t[s]+=e===s?n[e]:n[e]/this.matrix[s][e]);return bn(this.matrix,t),vn(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return vn(this,{values:e},!0)}removeZeros(){return this.isValid?vn(this,{values:Tn(this.values)},!0):this}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;function t(e,t){return void 0===e||0===e?void 0===t||0===t:e===t}for(const n of pn)if(!t(this.values[n],e.values[n]))return!1;return!0}}const Nn="Invalid Interval";class Mn{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new l("need to specify a reason the Interval is invalid");const n=e instanceof be?e:new be(e,t);if(Se.throwOnInvalid)throw new i(n);return new Mn({invalid:n})}static fromDateTimes(e,t){const n=wr(e),r=wr(t),s=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?Mn.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:Mn.invalid("missing or invalid end"):Mn.invalid("missing or invalid start")}(n,r);return null==s?new Mn({start:n,end:r}):s}static after(e,t){const n=On.fromDurationLike(t),r=wr(e);return Mn.fromDateTimes(r,r.plus(n))}static before(e,t){const n=On.fromDurationLike(t),r=wr(e);return Mn.fromDateTimes(r.minus(n),r)}static fromISO(e,t){const[n,r]=(e||"").split("/",2);if(n&&r){let e,s,i,a;try{e=gr.fromISO(n,t),s=e.isValid}catch(r){s=!1}try{i=gr.fromISO(r,t),a=i.isValid}catch(r){a=!1}if(s&&a)return Mn.fromDateTimes(e,i);if(s){const n=On.fromISO(r,t);if(n.isValid)return Mn.after(e,n)}else if(a){const e=On.fromISO(n,t);if(e.isValid)return Mn.before(i,e)}}return Mn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const n=this.start.startOf(e,t);let r;return r=t?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(e,t),Math.floor(r.diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?Mn.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(wr).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),n=[];let{s:r}=this,s=0;for(;r<this.e;){const e=t[s]||this.e,i=+e>+this.e?this.e:e;n.push(Mn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(e){const t=On.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const e=this.start.plus(t.mapUnits(e=>e*s));n=+e>+this.e?this.e:e,i.push(Mn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e===+e.s}abutsEnd(e){return!!this.isValid&&+e.e===+this.s}engulfs(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e}equals(e){return!(!this.isValid||!e.isValid)&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return t>=n?null:Mn.fromDateTimes(t,n)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return Mn.fromDateTimes(t,n)}static merge(e){const[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(e){let t=null,n=0;const r=[],s=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]),i=Array.prototype.concat(...s).sort((e,t)=>e.time-t.time);for(const e of i)n+="s"===e.type?1:-1,1===n?t=e.time:(t&&+t!==+e.time&&r.push(Mn.fromDateTimes(t,e.time)),t=null);return Mn.merge(r)}difference(...e){return Mn.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Nn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=f,t={}){return this.isValid?Nt.create(this.s.loc.clone(t),e).formatInterval(this):Nn}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Nn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Nn}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Nn}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Nn}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):On.invalid(this.invalidReason)}mapEndpoints(e){return Mn.fromDateTimes(e(this.s),e(this.e))}}class Dn{static hasDST(e=Se.defaultZone){const t=gr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return U.isValidZone(e)}static normalizeZone(e){return oe(e,Se.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||re.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||re.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||re.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||re.create(t,n,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||re.create(t,n,s)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||re.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||re.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return re.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return re.create(t,null,"gregory").eras(e)}static features(){return{relative:qe(),localeWeek:Ae()}}}function In(e,t){const n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(On.fromMillis(r).as("days"))}function Vn(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(-1!==e[n].search(ue.hanidec))t+=ce.indexOf(e[n]);else for(const e in le){const[n,s]=le[e];r>=n&&r<=s&&(t+=r-n)}}return parseInt(t,10)}return t}(e))}}const En=`[ ${String.fromCharCode(160)}]`,xn=new RegExp(En,"g");function Cn(e){return e.replace(/\./g,"\\.?").replace(xn,En)}function Fn(e){return e.replace(/\./g,"").replace(xn," ").toLowerCase()}function $n(e,t){return null===e?null:{regex:RegExp(e.map(Cn).join("|")),deser:([n])=>e.findIndex(e=>Fn(n)===Fn(e))+t}}function Wn(e,t){return{regex:e,deser:([,e,t])=>it(e,t),groups:t}}function Zn(e){return{regex:e,deser:([e])=>e}}const Ln={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let zn=null;function jn(e,t){return Array.prototype.concat(...e.map(e=>function(e,t){if(e.literal)return e;const n=Un(Nt.macroTokenToFormatOpts(e.val),t);return null==n||n.includes(void 0)?e:n}(e,t)))}class qn{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=jn(Nt.parseFormat(t),e),this.units=this.tokens.map(t=>function(e,t){const n=de(t),r=de(t,"{2}"),s=de(t,"{3}"),i=de(t,"{4}"),a=de(t,"{6}"),o=de(t,"{1,2}"),u=de(t,"{1,3}"),l=de(t,"{1,6}"),c=de(t,"{1,9}"),h=de(t,"{2,4}"),d=de(t,"{4,6}"),m=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},f=(f=>{if(e.literal)return m(f);switch(f.val){case"G":return $n(t.eras("short"),0);case"GG":return $n(t.eras("long"),0);case"y":return Vn(l);case"yy":case"kk":return Vn(h,rt);case"yyyy":case"kkkk":return Vn(i);case"yyyyy":return Vn(d);case"yyyyyy":return Vn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Vn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Vn(r);case"MMM":return $n(t.months("short",!0),1);case"MMMM":return $n(t.months("long",!0),1);case"LLL":return $n(t.months("short",!1),1);case"LLLL":return $n(t.months("long",!1),1);case"o":case"S":return Vn(u);case"ooo":case"SSS":return Vn(s);case"u":return Zn(c);case"uu":return Zn(o);case"uuu":case"E":case"c":return Vn(n);case"a":return $n(t.meridiems(),0);case"EEE":return $n(t.weekdays("short",!1),1);case"EEEE":return $n(t.weekdays("long",!1),1);case"ccc":return $n(t.weekdays("short",!0),1);case"cccc":return $n(t.weekdays("long",!0),1);case"Z":case"ZZ":return Wn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return Wn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return Zn(/[a-z_+-/]{1,256}?/i);case" ":return Zn(/[^\S\n\r]/);default:return m(f)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=e,f}(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){const[e,t]=[`^${(n=this.units).map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"")}$`,n];this.regex=RegExp(e,"i"),this.handlers=t}var n}explainFromTokens(e){if(this.isValid){const[t,n]=function(e,t,n){const r=e.match(t);if(r){const e={};let t=1;for(const s in n)if(_e(n,s)){const i=n[s],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(e[i.token.val[0]]=i.deser(r.slice(t,t+a))),t+=a}return[r,e]}return[r,{}]}(e,this.regex,this.handlers),[r,s,i]=n?function(e){let t,n=null;return Le(e.z)||(n=U.create(e.z)),Le(e.Z)||(n||(n=new ie(e.Z)),t=e.Z),Le(e.q)||(e.M=3*(e.q-1)+1),Le(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),Le(e.u)||(e.S=Ge(e.u)),[Object.keys(e).reduce((t,n)=>{const r=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(t[r]=e[n]),t},{}),n,t]}(n):[null,null,void 0];if(_e(n,"a")&&_e(n,"H"))throw new o("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:r,zone:s,specificOffset:i}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function An(e,t,n){return new qn(e,n).explainFromTokens(t)}function Un(e,t){if(!e)return null;const n=Nt.create(t,e).dtFormatter((zn||(zn=gr.fromMillis(1555555555555)),zn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map(t=>function(e,t,n){const{type:r,value:s}=e;if("literal"===r){const e=/^\s+$/.test(s);return{literal:!e,val:e?" ":s}}const i=t[r];let a=r;"hour"===r&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let o=Ln[a];if("object"==typeof o&&(o=o[i]),o)return{literal:!1,val:o}}(t,e,s))}const _n="Invalid DateTime",Rn=864e13;function Yn(e){return new be("unsupported zone",`the zone "${e.name}" is not supported`)}function Hn(e){return null===e.weekData&&(e.weekData=Ee(e.c)),e.weekData}function Pn(e){return null===e.localWeekData&&(e.localWeekData=Ee(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Jn(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new gr({...n,...t,old:n})}function Gn(e,t,n){let r=e-60*t*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=60*(s-t)*1e3;const i=n.offset(r);return s===i?[r,s]:[e-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Bn(e,t){const n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Qn(e,t,n){return Gn(et(e),t,n)}function Kn(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i={...e.c,year:r,month:s,day:Math.min(e.c.day,Xe(r,s))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=On.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),o=et(i);let[u,l]=Gn(o,n,e.zone);return 0!==a&&(u+=a,l=e.zone.offset(u)),{ts:u,o:l}}function Xn(e,t,n,r,s,i){const{setZone:a,zone:o}=n;if(e&&0!==Object.keys(e).length||t){const r=t||o,s=gr.fromObject(e,{...n,zone:r,specificOffset:i});return a?s:s.setZone(o)}return gr.invalid(new be("unparsable",`the input "${s}" can't be parsed as ${r}`))}function er(e,t,n=!0){return e.isValid?Nt.create(re.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function tr(e,t,n){const r=e.c.year>9999||e.c.year<0;let s="";if(r&&e.c.year>=0&&(s+="+"),s+=He(e.c.year,r?6:4),"year"===n)return s;if(t){if(s+="-",s+=He(e.c.month),"month"===n)return s;s+="-"}else if(s+=He(e.c.month),"month"===n)return s;return s+=He(e.c.day),s}function nr(e,t,n,r,s,i,a){let o=!n||0!==e.c.millisecond||0!==e.c.second,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=He(e.c.hour),"hour"===a)break;if(t){if(u+=":",u+=He(e.c.minute),"minute"===a)break;o&&(u+=":",u+=He(e.c.second))}else{if(u+=He(e.c.minute),"minute"===a)break;o&&(u+=He(e.c.second))}if("second"===a)break;!o||r&&0===e.c.millisecond||(u+=".",u+=He(e.c.millisecond,3))}return s&&(e.isOffsetFixed&&0===e.offset&&!i?u+="Z":e.o<0?(u+="-",u+=He(Math.trunc(-e.o/60)),u+=":",u+=He(Math.trunc(-e.o%60))):(u+="+",u+=He(Math.trunc(e.o/60)),u+=":",u+=He(Math.trunc(e.o%60)))),i&&(u+="["+e.zone.ianaName+"]"),u}const rr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},sr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ir={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ar=["year","month","day","hour","minute","second","millisecond"],or=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ur=["year","ordinal","hour","minute","second","millisecond"];function lr(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new u(e);return t}function cr(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return lr(e)}}function hr(e,t){const n=oe(t.zone,Se.defaultZone);if(!n.isValid)return gr.invalid(Yn(n));const r=re.fromObject(t);let s,i;if(Le(e.year))s=Se.now();else{for(const t of ar)Le(e[t])&&(e[t]=rr[t]);const t=We(e)||Ze(e);if(t)return gr.invalid(t);const r=function(e){if(void 0===fr&&(fr=Se.now()),"iana"!==e.type)return e.offset(fr);const t=e.name;let n=yr.get(t);return void 0===n&&(n=e.offset(fr),yr.set(t,n)),n}(n);[s,i]=Qn(e,r,n)}return new gr({ts:s,zone:n,loc:r,o:i})}function dr(e,t,n){const r=!!Le(n.round)||n.round,s=Le(n.rounding)?"trunc":n.rounding,i=(e,i)=>(e=Be(e,r||n.calendary?0:2,n.calendary?"round":s),t.loc.clone(n).relFormatter(n).format(e,i)),a=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return i(a(n.unit),n.unit);for(const e of n.units){const t=a(e);if(Math.abs(t)>=1)return i(t,e)}return i(e>t?-0:0,n.units[n.units.length-1])}function mr(e){let t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}let fr;const yr=new Map;class gr{constructor(e){const t=e.zone||Se.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new be("invalid input"):null)||(t.isValid?null:Yn(t));this.ts=Le(e.ts)?Se.now():e.ts;let r=null,s=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,s]=[e.old.c,e.old.o];else{const i=ze(e.o)&&!e.old?e.o:t.offset(this.ts);r=Bn(this.ts,i),n=Number.isNaN(r.year)?new be("invalid input"):null,r=n?null:r,s=n?null:i}this._zone=t,this.loc=e.loc||re.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new gr({})}static local(){const[e,t]=mr(arguments),[n,r,s,i,a,o,u]=t;return hr({year:n,month:r,day:s,hour:i,minute:a,second:o,millisecond:u},e)}static utc(){const[e,t]=mr(arguments),[n,r,s,i,a,o,u]=t;return e.zone=ie.utcInstance,hr({year:n,month:r,day:s,hour:i,minute:a,second:o,millisecond:u},e)}static fromJSDate(e,t={}){const n=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);var r;if(Number.isNaN(n))return gr.invalid("invalid input");const s=oe(t.zone,Se.defaultZone);return s.isValid?new gr({ts:n,zone:s,loc:re.fromObject(t)}):gr.invalid(Yn(s))}static fromMillis(e,t={}){if(ze(e))return e<-Rn||e>Rn?gr.invalid("Timestamp out of range"):new gr({ts:e,zone:oe(t.zone,Se.defaultZone),loc:re.fromObject(t)});throw new l(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(ze(e))return new gr({ts:1e3*e,zone:oe(t.zone,Se.defaultZone),loc:re.fromObject(t)});throw new l("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const n=oe(t.zone,Se.defaultZone);if(!n.isValid)return gr.invalid(Yn(n));const r=re.fromObject(t),s=ot(e,cr),{minDaysInFirstWeek:i,startOfWeek:a}=$e(s,r),u=Se.now(),l=Le(t.specificOffset)?n.offset(u):t.specificOffset,c=!Le(s.ordinal),h=!Le(s.year),d=!Le(s.month)||!Le(s.day),m=h||d,f=s.weekYear||s.weekNumber;if((m||c)&&f)throw new o("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new o("Can't mix ordinal dates with month/day");const y=f||s.weekday&&!m;let g,w,p=Bn(u,l);y?(g=or,w=sr,p=Ee(p,i,a)):c?(g=ur,w=ir,p=Ce(p)):(g=ar,w=rr);let k=!1;for(const e of g)Le(s[e])?s[e]=k?w[e]:p[e]:k=!0;const v=y?function(e,t=4,n=1){const r=je(e.weekYear),s=Ye(e.weekNumber,1,nt(e.weekYear,t,n)),i=Ye(e.weekday,1,7);return r?s?!i&&Ne("weekday",e.weekday):Ne("week",e.weekNumber):Ne("weekYear",e.weekYear)}(s,i,a):c?function(e){const t=je(e.year),n=Ye(e.ordinal,1,Ke(e.year));return t?!n&&Ne("ordinal",e.ordinal):Ne("year",e.year)}(s):We(s),S=v||Ze(s);if(S)return gr.invalid(S);const b=y?xe(s,i,a):c?Fe(s):s,[T,O]=Qn(b,l,n),N=new gr({ts:T,zone:n,o:O,loc:r});return s.weekday&&m&&e.weekday!==N.weekday?gr.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${N.toISO()}`):N.isValid?N:gr.invalid(N.invalid)}static fromISO(e,t={}){const[n,r]=function(e){return Vt(e,[tn,an],[nn,on],[rn,un],[sn,ln])}(e);return Xn(n,r,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[n,r]=function(e){return Vt(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Jt,Gt])}(e);return Xn(n,r,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[n,r]=function(e){return Vt(e,[Bt,Xt],[Qt,Xt],[Kt,en])}(e);return Xn(n,r,t,"HTTP",t)}static fromFormat(e,t,n={}){if(Le(e)||Le(t))throw new l("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=re.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[a,o,u,c]=function(e,t,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=An(e,t,n);return[r,s,i,a]}(i,e,t);return c?gr.invalid(c):Xn(a,o,n,`format ${t}`,e,u)}static fromString(e,t,n={}){return gr.fromFormat(e,t,n)}static fromSQL(e,t={}){const[n,r]=function(e){return Vt(e,[hn,an],[dn,mn])}(e);return Xn(n,r,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new l("need to specify a reason the DateTime is invalid");const n=e instanceof be?e:new be(e,t);if(Se.throwOnInvalid)throw new s(n);return new gr({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const n=Un(e,re.fromObject(t));return n?n.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return jn(Nt.parseFormat(e),re.fromObject(t)).map(e=>e.val).join("")}static resetCache(){fr=void 0,yr.clear()}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hn(this).weekYear:NaN}get weekNumber(){return this.isValid?Hn(this).weekNumber:NaN}get weekday(){return this.isValid?Hn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Pn(this).weekday:NaN}get localWeekNumber(){return this.isValid?Pn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Pn(this).weekYear:NaN}get ordinal(){return this.isValid?Ce(this.c).ordinal:NaN}get monthShort(){return this.isValid?Dn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Dn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Dn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Dn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,n=et(this.c),r=this.zone.offset(n-e),s=this.zone.offset(n+e),i=this.zone.offset(n-r*t),a=this.zone.offset(n-s*t);if(i===a)return[this];const o=n-i*t,u=n-a*t,l=Bn(o,i),c=Bn(u,a);return l.hour===c.hour&&l.minute===c.minute&&l.second===c.second&&l.millisecond===c.millisecond?[Jn(this,{ts:o}),Jn(this,{ts:u})]:[this]}get isInLeapYear(){return Qe(this.year)}get daysInMonth(){return Xe(this.year,this.month)}get daysInYear(){return this.isValid?Ke(this.year):NaN}get weeksInWeekYear(){return this.isValid?nt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?nt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:n,calendar:r}=Nt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(ie.instance(e),t)}toLocal(){return this.setZone(Se.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=oe(e,Se.defaultZone)).equals(this.zone))return this;if(e.isValid){let r=this.ts;if(t||n){const t=e.offset(this.ts),n=this.toObject();[r]=Qn(n,t,e)}return Jn(this,{ts:r,zone:e})}return gr.invalid(Yn(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){return Jn(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=ot(e,cr),{minDaysInFirstWeek:n,startOfWeek:r}=$e(t,this.loc),s=!Le(t.weekYear)||!Le(t.weekNumber)||!Le(t.weekday),i=!Le(t.ordinal),a=!Le(t.year),u=!Le(t.month)||!Le(t.day),l=a||u,c=t.weekYear||t.weekNumber;if((l||i)&&c)throw new o("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&i)throw new o("Can't mix ordinal dates with month/day");let h;s?h=xe({...Ee(this.c,n,r),...t},n,r):Le(t.ordinal)?(h={...this.toObject(),...t},Le(t.day)&&(h.day=Math.min(Xe(h.year,h.month),h.day))):h=Fe({...Ce(this.c),...t});const[d,m]=Qn(h,this.o,this.zone);return Jn(this,{ts:d,o:m})}plus(e){return this.isValid?Jn(this,Kn(this,On.fromDurationLike(e))):this}minus(e){return this.isValid?Jn(this,Kn(this,On.fromDurationLike(e).negate())):this}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const n={},r=On.normalizeUnit(e);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;if("quarters"===r){const e=Math.ceil(this.month/3);n.month=3*(e-1)+1}return this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?Nt.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):_n}toLocaleString(e=f,t={}){return this.isValid?Nt.create(this.loc.clone(t),e).formatDateTime(this):_n}toLocaleParts(e={}){return this.isValid?Nt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;const a="extended"===e;let o=tr(this,a,i=lr(i));return ar.indexOf(i)>=3&&(o+="T"),o+=nr(this,a,t,n,r,s,i),o}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?tr(this,"extended"===e,lr(t)):null}toISOWeekDate(){return er(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended",precision:a="milliseconds"}={}){return this.isValid?(a=lr(a),(r&&ar.indexOf(a)>=3?"T":"")+nr(this,"extended"===i,t,e,n,s,a)):null}toRFC2822(){return er(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return er(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?tr(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(t||e)&&(n&&(r+=" "),t?r+="z":e&&(r+="ZZ")),er(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():_n}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",n={}){if(!this.isValid||!e.isValid)return On.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=t,Array.isArray(o)?o:[o]).map(On.normalizeUnit),i=e.valueOf()>this.valueOf(),a=function(e,t,n,r){let[s,i,a,o]=function(e,t,n){const r=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const n=In(e,t);return(n-n%7)/7}],["days",In]],s={},i=e;let a,o;for(const[u,l]of r)n.indexOf(u)>=0&&(a=u,s[u]=l(e,t),o=i.plus(s),o>t?(s[u]--,(e=i.plus(s))>t&&(o=e,s[u]--,e=i.plus(s))):e=o);return[e,s,o,a]}(e,t,n);const u=t-s,l=n.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===l.length&&(a<t&&(a=s.plus({[o]:1})),a!==s&&(i[o]=(i[o]||0)+u/(a-s)));const c=On.fromObject(i,r);return l.length>0?On.fromMillis(u,r).shiftTo(...l).plus(c):c}(i?this:e,i?e:this,s,r);var o;return i?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(gr.now(),e,t)}until(e){return this.isValid?Mn.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;const r=e.valueOf(),s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(t,n)<=r&&r<=s.endOf(t,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||gr.fromObject({},{zone:this.zone}),n=e.padding?this<t?-e.padding:e.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=e.unit;return Array.isArray(e.unit)&&(r=e.unit,s=void 0),dr(t,this.plus(n),{...e,numeric:"always",units:r,unit:s})}toRelativeCalendar(e={}){return this.isValid?dr(e.base||gr.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(gr.isDateTime))throw new l("min requires all arguments be DateTimes");return Ue(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(gr.isDateTime))throw new l("max requires all arguments be DateTimes");return Ue(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){const{locale:r=null,numberingSystem:s=null}=n;return An(re.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,n={}){return gr.fromFormatExplain(e,t,n)}static buildFormatParser(e,t={}){const{locale:n=null,numberingSystem:r=null}=t,s=re.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new qn(s,e)}static fromFormatParser(e,t,n={}){if(Le(e)||Le(t))throw new l("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:s=null}=n,i=re.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});if(!i.equals(t.locale))throw new l(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${t.locale}`);const{result:a,zone:o,specificOffset:u,invalidReason:c}=t.explainFromTokens(e);return c?gr.invalid(c):Xn(a,o,n,`format ${t.format}`,e,u)}static get DATE_SHORT(){return f}static get DATE_MED(){return y}static get DATE_MED_WITH_WEEKDAY(){return g}static get DATE_FULL(){return w}static get DATE_HUGE(){return p}static get TIME_SIMPLE(){return k}static get TIME_WITH_SECONDS(){return v}static get TIME_WITH_SHORT_OFFSET(){return S}static get TIME_WITH_LONG_OFFSET(){return b}static get TIME_24_SIMPLE(){return T}static get TIME_24_WITH_SECONDS(){return O}static get TIME_24_WITH_SHORT_OFFSET(){return N}static get TIME_24_WITH_LONG_OFFSET(){return M}static get DATETIME_SHORT(){return D}static get DATETIME_SHORT_WITH_SECONDS(){return I}static get DATETIME_MED(){return V}static get DATETIME_MED_WITH_SECONDS(){return E}static get DATETIME_MED_WITH_WEEKDAY(){return x}static get DATETIME_FULL(){return C}static get DATETIME_FULL_WITH_SECONDS(){return F}static get DATETIME_HUGE(){return $}static get DATETIME_HUGE_WITH_SECONDS(){return W}}function wr(e){if(gr.isDateTime(e))return e;if(e&&e.valueOf&&ze(e.valueOf()))return gr.fromJSDate(e);if(e&&"object"==typeof e)return gr.fromObject(e);throw new l(`Unknown datetime argument: ${e}, of type ${typeof e}`)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2958,5804],{13069(e,t,r){r.d(t,{AG:()=>i,lk:()=>o,vD:()=>n,yS:()=>s});const a="randomUUID"in crypto;function o(){if(a)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${o().toUpperCase()}}`}function n(){return`{${o()}}`}function i(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},15804(e,t,r){r.d(t,{addOrUpdateResources:()=>i,bg:()=>f,cL:()=>p,fetchResources:()=>n,removeAllResources:()=>u,removeResource:()=>c});var a=r(11254),o=r(49186),s=r(84952);async function n(e,t={},r){await e.load(r);const a=(0,s.fj)(e.itemUrl,"resources"),{start:o=1,num:n=10,sortOrder:i="asc",sortField:c="resource"}=t,u={query:{start:o,num:n,sortOrder:i,sortField:c,token:e.apiKey},signal:r?.signal},l=await e.portal.request(a,u);return{total:l.total,nextStart:l.nextStart,resources:l.resources.map(({created:t,size:r,resource:a})=>({created:new Date(t),size:r,resource:e.resourceFromPath(a)}))}}async function i(e,t,r,a){const n=new Map;for(const{resource:e,content:a,compress:s,access:i}of t){if(!e.hasPath())throw new o.A(`portal-item-resource-${r}:invalid-path`,"Resource does not have a valid path");const[t,c]=l(e.path),u=`${t}/${s??""}/${i??""}`;n.has(u)||n.set(u,{prefix:t,compress:s,access:i,files:[]}),n.get(u).files.push({fileName:c,content:a})}await e.load(a);const i=(0,s.fj)(e.userItemUrl,"add"===r?"addResources":"updateResources");for(const{prefix:t,compress:r,access:o,files:s}of n.values()){const n=25;for(let c=0;c<s.length;c+=n){const u=s.slice(c,c+n),l=new FormData;t&&"."!==t&&l.append("resourcesPrefix",t),r&&l.append("compress","true"),o&&l.append("access",o);let p=0;for(const{fileName:e,content:t}of u)l.append("file"+ ++p,t,e);l.append("f","json"),await e.portal.request(i,{method:"post",body:l,signal:a?.signal})}}}async function c(e,t,r){if(!t.hasPath())throw new o.A("portal-item-resources-remove:invalid-path","Resource does not have a valid path");await e.load(r);const a=(0,s.fj)(e.userItemUrl,"removeResources");await e.portal.request(a,{method:"post",query:{resource:t.path},signal:r?.signal}),t.portalItem=null}async function u(e,t){await e.load(t);const r=(0,s.fj)(e.userItemUrl,"removeResources");return e.portal.request(r,{method:"post",query:{deleteAll:!0},signal:t?.signal})}function l(e){const t=e.lastIndexOf("/");return-1===t?[".",e]:[e.slice(0,t),e.slice(t+1)]}async function p(e){return"blob"===e.type?e.blob:"json"===e.type?new Blob([e.jsonString],{type:"application/json"}):(await(0,a.A)(e.url,{responseType:"blob"})).data}function f(e,t){if(!e.hasPath())return null;const[r,,a]=function(e){const[t,r]=function(e){const t=(0,s.Zo)(e);return null==t?[e,""]:[e.slice(0,e.length-t.length-1),`.${t}`]}(e),[a,o]=l(t);return[a,o,r]}(e.path);return e.portalItem.resourceFromPath((0,s.fj)(r,t+a))}},32958(e,t,r){r.d(t,{save:()=>m,saveAs:()=>h});var a=r(71530),o=r(88788),s=r(10407),n=r(91682);const i="Group Layer",c=s.mm.GROUP_LAYER_MAP;function u(e){return{isValid:"group"===e.type,errorMessage:"Layer.type should be 'group'"}}function l(e){return{isValid:(0,s.Y)(e,c),errorMessage:`Layer.portalItem.typeKeywords should have '${c}'`}}function p(e,t){return{...(0,o.m)(e,"web-map",!0),initiator:t}}function f(e){const t=e.layerJSON;return Promise.resolve(t&&Object.keys(t).length?t:null)}async function d(e,t){t.title||=e.title,(0,s.OM)(t,s.mm.METADATA),(0,s.LG)(t,c)}async function m(e,t){return(0,a.UN)({layer:e,itemType:i,validateLayer:u,validateItem:l,createJSONContext:t=>p(t,e),createItemData:f,errorNamePrefix:"group-layer-save",saveResources:async(t,r)=>(e.sourceIsPortalItem||await t.removeAllResources().catch(()=>{}),(0,n.r)(e.resourceReferences,r))},t)}async function h(e,t,r){return(0,a.Uh)({layer:e,itemType:i,validateLayer:u,createJSONContext:t=>p(t,e),createItemData:f,errorNamePrefix:"group-layer-save-as",newItem:t,setItemProperties:d,saveResources:(t,r)=>(0,n.r)(e.resourceReferences,r)},r)}},46130(e,t,r){r.d(t,{v:()=>o});var a=r(76553);function o(e){e?.writtenProperties&&e.writtenProperties.forEach(({target:e,propName:t,newOrigin:r})=>{(0,a.H)(e)&&r&&e.originOf(t)!==r&&e.updateOrigin(t,r)})}},71530(e,t,r){r.d(t,{UN:()=>v,Uh:()=>g});var a=r(49186),o=r(46130),s=r(20655),n=r(80812),i=r(88788),c=r(10407),u=r(26121);async function l(e){const{layer:t,errorNamePrefix:r,validateLayer:o}=e;await t.load(),function(e,t,r){const o=r(e);if(!o.isValid)throw new a.A(`${t}:invalid-parameters`,o.errorMessage,{layer:e})}(t,r,o)}function p(e,t){return`Layer (title: ${e.title}, id: ${e.id}) of type '${e.declaredClass}' ${t}`}function f(e){const{item:t,errorNamePrefix:r,layer:o,validateItem:s}=e;if(function(e){const{item:t,itemType:r,additionalItemType:o,errorNamePrefix:s,layer:n}=e,i=[r];if(o&&i.push(o),!i.includes(t.type)){const e=i.map(e=>`'${e}'`).join(", ");throw new a.A(`${s}:portal-item-wrong-type`,`Portal item type should be one of: "${e}"`,{item:t,layer:n})}}(e),s){const e=s(t);if(!e.isValid)throw new a.A(`${r}:invalid-parameters`,e.errorMessage,{layer:o})}}function d(e){const{layer:t,errorNamePrefix:r}=e,{portalItem:o}=t;if(!o)throw new a.A(`${r}:portal-item-not-set`,p(t,"requires the portalItem property to be set"));if(!o.loaded)throw new a.A(`${r}:portal-item-not-loaded`,p(t,"cannot be saved to a portal item that does not exist or is inaccessible"));f({...e,item:o})}function m(e){const{newItem:t,itemType:r}=e;let a=n.default.from(t);return a.id&&(a=a.clone(),a.id=null),a.type??=r,a.portal??=s.A.getDefault(),f({...e,item:a}),a}function h(e){return(0,i.m)(e,"portal-item")}async function y(e,t,r){"beforeSave"in e&&"function"==typeof e.beforeSave&&await e.beforeSave();const a=e.write({},t);return await Promise.all(t.resources?.pendingOperations??[]),(0,u.ci)(t,{errorName:"layer-write:unsupported"},r),a}function w(e){(0,c.LG)(e,c.mm.JSAPI),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter((e,t,r)=>r.indexOf(e)===t))}async function v(e,t){const{layer:r,createItemData:a,createJSONContext:s,setItemProperties:n,saveResources:i,supplementalUnsupportedErrors:c}=e;await l(e),d(e);const u=r.portalItem,p=s?s(u):h(u),f=await y(r,p,{...t,supplementalUnsupportedErrors:c}),m=await a({layer:r,layerJSON:f},u);return await(n?.(r,u,m)),w(u),await u.update({data:m}),(0,o.v)(p),await(i?.(u,p)),u}async function g(e,t){const{layer:r,createItemData:a,createJSONContext:s,setItemProperties:n,saveResources:i,supplementalUnsupportedErrors:c}=e;await l(e);const u=m(e),p=s?s(u):h(u),f=await y(r,p,{...t,supplementalUnsupportedErrors:c}),d=await a({layer:r,layerJSON:f},u);return await n(r,u,d),w(u),await async function(e,t,r){const a=e.portal;await a.signIn(),await a.user.addItem({item:e,data:t,folder:r?.folder})}(u,d,t),r.portalItem=u,(0,o.v)(p),await(i?.(u,p)),u}},76553(e,t,r){function a(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>a})},88788(e,t,r){r.d(t,{m:()=>n,v:()=>s});var a=r(84952),o=r(20655);function s(e,t){return{...i(e,t),readResourcePaths:[]}}function n(e,t,r){const o=(0,a.An)(e.itemUrl);return{...i(e,t),messages:[],writtenProperties:[],blockedRelativeUrls:[],verifyItemRelativeUrls:o?{rootPath:o.path,writtenUrls:[]}:null,resources:r?{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}:null}}function i(e,t){return{origin:t,url:(0,a.An)(e.itemUrl),portal:e.portal||o.A.getDefault(),portalItem:e}}},91682(e,t,r){r.d(t,{S:()=>c,r:()=>i});var a=r(49186),o=r(74887),s=r(13069),n=r(15804);async function i(e,t,r){const a=await u(e,t,r);await l(a,t,r)}async function c(e,t,r,a,o){const s=await u(r,a,o);await e.update({data:t}),await l(s,a,o)}async function u(e,t,i){if(!t?.resources)return;const c=t.portalItem===e.portalItem?new Set(e.paths):new Set;e.paths.length=0,e.portalItem=t.portalItem;const u=new Set(t.resources.toKeep.map(e=>e.resource.path)),l=new Set,p=[];u.forEach(t=>{c.delete(t),e.paths.push(t)});const f=[],d=[],m=[];for(const r of t.resources.toUpdate)if(c.delete(r.resource.path),u.has(r.resource.path)||l.has(r.resource.path)){const{resource:t,content:a,finish:o}=r,i=(0,n.bg)(t,(0,s.lk)());e.paths.push(i.path),f.push({resource:i,content:await(0,n.cL)(a),compress:r.compress}),o&&m.push(()=>o(i))}else{e.paths.push(r.resource.path),d.push({resource:r.resource,content:await(0,n.cL)(r.content),compress:r.compress});const t=r.finish;t&&m.push(()=>t(r.resource)),l.add(r.resource.path)}for(const r of t.resources.toAdd)if(e.paths.push(r.resource.path),c.has(r.resource.path))c.delete(r.resource.path);else{f.push({resource:r.resource,content:await(0,n.cL)(r.content),compress:r.compress});const e=r.finish;e&&m.push(()=>e(r.resource))}if(f.length||d.length){const{addOrUpdateResources:e}=await Promise.resolve().then(r.bind(r,15804));await e(t.portalItem,f,"add",i),await e(t.portalItem,d,"update",i)}if(m.forEach(e=>e()),0===p.length)return c;const h=await(0,o.Ol)(p);if((0,o.Te)(i),h.length>0)throw new a.A("save:resources","Failed to save one or more resources",{errors:h});return c}async function l(e,t,r){if(!e||!t.portalItem)return;const a=[];for(const o of e){const e=t.portalItem.resourceFromPath(o);a.push(e.portalItem.removeResource(e,r))}await(0,o.Lx)(a)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1267],{4197(e,t,i){i.d(t,{Vj:()=>u,cj:()=>a,jh:()=>o,l5:()=>l,xm:()=>s});var r=i(34275),n=i(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function l(e,t,i){return Array.isArray(e)?e.slice(t,t+i):e.subarray(t,t+i)}function a(e){return[...e]}function u(e){const t=(0,n.vt)();for(let i=0;i<16;++i)t[i]=e[i];return t}},9093(e,t,i){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function n(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}i.d(t,{o8:()=>n,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:n,create:r,fromValues:function(e,t,i,r,n,o,s,l,a,u,p,c,y,h,f,d){return[e,t,i,r,n,o,s,l,a,u,p,c,y,h,f,d]}},Symbol.toStringTag,{value:"Module"}))},16494(e,t,i){i.d(t,{Nd:()=>l,W5:()=>s});var r=i(17632);const n=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],s=new r.I({whiteList:n,onTagAttr:(e,t,i)=>{const r=`${t}="${i}"`;if(o.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17136(e,t,i){i.d(t,{Y_:()=>A,O7:()=>I,el:()=>S});var r=i(92602),n=i(69052),o=i(49186),s=i(53966),l=i(39829),a=i(82799),u=i(16930),p=i(80754),c=i(21325),y=i(28735),h=i(11254),f=i(60408),d=i(65864),m=i(2272),g=i(84952),b=i(92300);const M=()=>s.A.getLogger("esri.geometry.support.normalizeUtils");function v(e){return"polygon"===e[0].type}function w(e){return"polyline"===e[0].type}function x(e,t,i){if(t){const t=function(e,t){if(!(e instanceof a.A||e instanceof l.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw M().error(e),new o.A("internal:geometry",e)}const i=(0,p.r8)(e),r=[];for(const e of i){const i=[];r.push(i),i.push([e[0][0],e[0][1]]);for(let r=0;r<e.length-1;r++){const n=e[r][0],o=e[r][1],s=e[r+1][0],l=e[r+1][1],a=Math.sqrt((s-n)*(s-n)+(l-o)*(l-o)),u=(l-o)/a,p=(s-n)/a,c=a/t;if(c>1){for(let e=1;e<=c-1;e++){const r=e*t,s=p*r+n,l=u*r+o;i.push([s,l])}const e=(a+Math.floor(c-1)*t)/2,r=p*e+n,s=u*e+o;i.push([r,s])}i.push([s,l])}}return function(e){return"polygon"===e.type}(e)?new l.A({rings:r,spatialReference:e.spatialReference}):new a.A({paths:r,spatialReference:e.spatialReference})}(e,1e6);e=(0,y.ci)(t,!0)}return i&&(e=(0,p.kS)(e,i)),e}function T(e,t,i){if(Array.isArray(e)){const r=e[0];if(r>t){const i=(0,p.kd)(r,t);e[0]=r+i*(-2*t)}else if(r<i){const t=(0,p.kd)(r,i);e[0]=r+t*(-2*i)}}else{const r=e.x;if(r>t){const i=(0,p.kd)(r,t);e=e.clone().offset(i*(-2*t),0)}else if(r<i){const t=(0,p.kd)(r,i);e=e.clone().offset(t*(-2*i),0)}}return e}function C(e,t){let i=-1;for(let r=0;r<t.cutIndexes.length;r++){const n=t.cutIndexes[r],o=t.geometries[r],s=(0,p.r8)(o);for(let e=0;e<s.length;e++){const t=s[e];t.some(i=>{if(i[0]<180)return!0;{let i=0;for(let e=0;e<t.length;e++){const r=t[e][0];i=r>i?r:i}i=Number(i.toFixed(9));const r=-360*(0,p.kd)(i,180);for(let i=0;i<t.length;i++){const t=o.getPoint(e,i);o.setPoint(e,i,t.clone().offset(r,0))}return!0}})}if(n===i){if(v(e))for(const t of(0,p.r8)(o))e[n]=e[n].addRing(t);else if(w(e))for(const t of(0,p.r8)(o))e[n]=e[n].addPath(t)}else i=n,e[n]=o}return e}async function S(e,t,i){if(!Array.isArray(e))return S([e],t);t&&"string"!=typeof t&&M().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const n="string"==typeof t?t:t?.url??r.A.geometryServiceUrl;let o,s,u,v,w,I,O,A,N=0;const F=[],_=[];for(const t of e)if(null!=t)if(o||(o=t.spatialReference,s=(0,c.Vp)(o),u=o.isWebMercator,I=u?102100:4326,v=p.j7[I].maxX,w=p.j7[I].minX,O=p.j7[I].plus180Line,A=p.j7[I].minus180Line),s)if("mesh"===t.type)_.push(t);else if("point"===t.type)_.push(T(t.clone(),v,w));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>T(e,v,w)),_.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,s);_.push(e.rings?new l.A(e):e)}else if(t.extent){const e=t.extent,i=(0,p.kd)(e.xmin,w)*(2*v);let r=0===i?t.clone():(0,p.kS)(t.clone(),i);e.offset(i,0);let{xmin:n,xmax:o}=e;n=Number(n.toFixed(9)),o=Number(o.toFixed(9)),e.intersects(O)&&o!==v?(N=o>N?o:N,r=x(r,u),F.push(r),_.push("cut")):e.intersects(A)&&n!==w?(N=o*(2*v)>N?o*(2*v):N,r=x(r,u,360),F.push(r),_.push("cut")):_.push(r)}else _.push(t.clone());else _.push(t);else _.push(t);let Z=(0,p.kd)(N,v),j=-90;const L=Z,R=new a.A;for(;Z>0;){const e=360*Z-180;R.addPath([[e,j],[e,-1*j]]),j*=-1,Z--}if(F.length>0&&L>0){const t=C(F,await async function(e,t,i,r){const n=(0,m.Dl)(e),o=t[0].spatialReference,s={...r,responseType:"json",query:{...n.query,f:"json",sr:(0,c.YX)(o),target:JSON.stringify({geometryType:(0,f.$B)(t[0]),geometries:t}),cutter:JSON.stringify(i)}},l=await(0,h.A)(n.path+"/cut",s),{cutIndexes:a,geometries:u=[]}=l.data;return{cutIndexes:a,geometries:u.map(e=>{const t=(0,d.rS)(e);return t.spatialReference=o,t})}}(n,F,R,i)),r=[],o=[];for(let i=0;i<_.length;i++){const n=_[i];if("cut"!==n)o.push(n);else{const n=t.shift(),s=e[i];null!=s&&"polygon"===s.type&&s.rings&&s.rings.length>1&&n.rings.length>=s.rings.length?(r.push(n),o.push("simplify")):o.push(u?(0,y.Gh)(n):n)}}if(!r.length)return o;const s=await async function(e,t,i){const r="string"==typeof e?(0,g.An)(e):e,n=t[0].spatialReference,o=(0,f.$B)(t[0]),s={...i,query:{...r.query,f:"json",sr:(0,c.YX)(n),geometries:JSON.stringify((0,b.X)(t))}},{data:l}=await(0,h.A)(r.path+"/simplify",s);return(0,b.V)(l.geometries,o,n)}(n,r,i),l=[];for(let e=0;e<o.length;e++){const t=o[e];"simplify"!==t?l.push(t):l.push(u?(0,y.Gh)(s.shift()):s.shift())}return l}const P=[];for(let e=0;e<_.length;e++){const t=_[e];if("cut"!==t)P.push(t);else{const e=F.shift();P.push(!0===u?(0,y.Gh)(e):e)}}return P}function I(e,t,i){const r=(0,c.Vp)(i);if(null==r)return e;const[n,o]=r.valid,s=2*o;let l=0,a=0;t>o?l=Math.ceil(Math.abs(t-o)/s):t<n&&(l=-Math.ceil(Math.abs(t-n)/s)),e>o?a=Math.ceil(Math.abs(e-o)/s):e<n&&(a=-Math.ceil(Math.abs(e-n)/s));let u=e+(l-a)*s;const p=u-t;return p>o?u-=s:p<n&&(u+=s),u}function O(e){const t=(0,c.Vp)(e);if(null==t)return null;const[i,r]=t.valid;return new n.hr(i,r)}const A=O(u.A.WGS84);O(u.A.WebMercator)},17311(e,t,i){i.d(t,{A:()=>h});var r=i(5482),n=i(69622),o=i(4576),s=i(60999),l=i(7762),a=i(16494),u=i(91429),p=i(30524),c=i(43668);const y=/<br\s*\/*>/gi;let h=class extends n.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,s.UT)(()=>(0,c.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([i.e(4560),i.e(9926)]).then(i.bind(i,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const i=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(i.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:i,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(i,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const i=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of i){const i=t.split("."),r=this.fieldsIndex.get(i.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const i of t){const t=this.fieldsIndex.get(i);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,i){const r=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],i)).get(r)??""}async getTitles(e,t,i){const r=new Map,n=i?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);i?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:s,workingTitle:l}=this,u=l&&s;t.forEach(t=>{const p=t.getObjectId()??t.attributes[e.objectIdField];let c=u?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:s,globalAttributes:this._createFormattedAttributes(e,t,n).global,layer:e,text:l}):"";i?.removeHTML&&(c=a.Nd.sanitize(c).replaceAll(y," ")),r.set(p,c)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const i=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(i.length!==t.length)return t;if(t.some(e=>!(0,p.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=i;const n=await e.queryFeatures(r);if(n?.features.length===t.length)return n.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const i of e){if(!i.fieldName)continue;const e=this.fieldsIndex.get(i.fieldName),r=e?.name??i.fieldName;i.fieldName=r,t.set(r.toLowerCase(),i)}return t}_createFormattedAttributes(e,t,i="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],n={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const i=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{n[`expression/${e.name}`]=e.func({vars:{$feature:i}})}catch{}}const o={...t.attributes,...n};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:o,graphic:t,timeZone:i,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,p.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,u.MZ)({readOnly:!0})],h.prototype,"_arcadeTask",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],h.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],h.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"displayField",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"fields",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"objectIdField",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"requiredFields",null),h=(0,r.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],h)},22671(e,t,i){i.d(t,{A:()=>b});var r,n=i(5482),o=i(52106),s=i(66552),l=i(25482),a=i(4718),u=i(91429),p=i(16930),c=i(60408),y=i(65864),h=i(50498),f=i(20437),d=i(36005),m=i(43937);const g=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,i,r){if(e)return void g.write(e,t,i,r);const{features:n}=this;if(n)for(const e of n)if(null!=e?.geometry)return void g.write(e.geometry.type,t,i,r)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,r=(0,y.rS)(e);return r&&!i&&t.spatialReference&&(r.spatialReference=p.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let i=0;i<t.features.length;i++){const r=t.features[i];if(r.geometry){const t=e?.[i];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,i],translate:[r,n]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((n-e)/i));for(let e=0,t=o.length;e<t;e++)s?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[r,n],scale:[o,s]}=i;let l=null,a=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;l=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;a=i=>null==i?i:i*t+e}const u=this._getHydrationFunction(e,e=>e*o+r,e=>n-e*s,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,i){const r=p.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const o=e[t],s=i.fromJSON(o),l=o.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=r);const a=o.aggregateGeometries,u=s.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],i=a[e],n=i?.spatialReference;null==t||n||(t.spatialReference=r)}n.push(s)}return n}_quantizePoints(e,t,i){let r,n;const o=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=i(l[1]);e===r&&s===n||(o.push([e-r,s-n]),r=e,n=s)}else r=t(l[0]),n=i(l[1]),o.push([r,n])}return o.length>0?o:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,c.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,o=r.length;e<o;e++){const o=r[e],s=this._quantizePoints(o,t,i);s&&n.push(s)}return n.length>0?((0,c.Bi)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,i);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,r,n){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,c.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,r=o.length;e<r;e++){const r=o[e];for(let e=0,n=r.length;e<n;e++){const n=r[e];e>0?(s+=n[0],l+=n[1]):(s=n[0],l=n[1]),n[0]=t(s),n[1]=i(l)}}if(r&&n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2]),i[3]=n(i[3])}}else if(r)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=n(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,l;for(let e=0,r=o.length;e<r;e++){const r=o[e];e>0?(s+=r[0],l+=r[1]):(s=r[0],l=r[1]),r[0]=t(s),r[1]=i(l)}if(r&&n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=r(t[2]),t[3]=n(t[3])}else if(r)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=r(t[2])}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}}:null}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,n.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],b.prototype,"features",void 0),(0,n.Cg)([(0,d.w)("features")],b.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[f.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],b.prototype,"geometryType",void 0),(0,n.Cg)([(0,m.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,n.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,d.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:p.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,n.Cg)([(0,m.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,n.Cg)([(0,u.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=r=(0,n.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0},28032(e,t,i){i.d(t,{A:()=>a});var r=i(5482),n=i(69540),o=i(25482),s=i(91429),l=i(56400);let a=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,s.MZ)()],a.prototype,"creatorField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"creationDateField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"editorField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"editDateField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"realm",void 0),(0,r.Cg)([(0,s.MZ)((0,l.P6)("dateFieldsTimeReference",!0))],a.prototype,"timeZone",void 0),a=(0,r.Cg)([(0,s.$K)("esri.layers.support.EditFieldsInfo")],a)},33032(e,t,i){i.d(t,{H:()=>n,L:()=>r});const r=1;function n(e,t){let i=0;for(const r of t){const t=r.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},33143(e,t,i){i.d(t,{A:()=>c});var r=i(5482),n=i(69540),o=i(25482),s=i(91429),l=i(8631),a=i(29005),u=i(36005),p=i(43937);let c=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const i of Object.keys(e))t[i]=(0,l.r)(e[i]);return t}writeDomains(e,t){const i={};for(const t of Object.keys(e))e[t]&&(i[t]=e[t]?.toJSON());t.domains=i}};(0,r.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,r.Cg)([(0,u.w)("domains")],c.prototype,"readDomains",null),(0,r.Cg)([(0,p.K)("domains")],c.prototype,"writeDomains",null),(0,r.Cg)([(0,s.MZ)({type:[a.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,r.Cg)([(0,s.$K)("esri.layers.support.FeatureType")],c)},37352(e,t,i){i.d(t,{A:()=>a});var r,n=i(5482),o=i(7762),s=i(25482),l=i(91429);let a=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=r=(0,n.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},41366(e,t,i){i.d(t,{K:()=>c,Q:()=>a});var r=i(5482),n=i(66552),o=i(53966),s=i(91429),l=i(93223);const a=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",p="field",c=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&p||i&&u||null,t&&i&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==p&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],i.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],i.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],i.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],i.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],i.prototype,"normalizationType",null),i=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],i),i}},45067(e,t,i){i.d(t,{A:()=>p});var r=i(5482),n=i(69540),o=i(66552),s=i(25482),l=i(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let p=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],p.prototype,"cardinality",void 0),(0,r.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],p.prototype,"catalogId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],p.prototype,"composite",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],p.prototype,"id",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],p.prototype,"keyField",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],p.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],p.prototype,"name",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],p.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],p.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],p.prototype,"role",void 0),p=(0,r.Cg)([(0,l.$K)("esri.layers.support.Relationship")],p)},52106(e,t,i){i.d(t,{A:()=>T});var r,n,o=i(5482),s=i(37838),l=i(69540),a=i(51447),u=i(25482),p=i(53966),c=i(36708),y=i(24326),h=i(91429),f=i(12195),d=i(65864),m=i(50498),g=i(55156),b=i(60950),M=i(54339),v=i(94128),w=i(33910);function x(e){if(null==e)return null;const t={};for(const i in e){const r=e[i];r&&(t[i]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let T=class extends((0,l.OU)(u.o)){static{r=v.Z}static{n=this}constructor(e){super(e),this[r]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,y.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(p.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const i=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[i,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,M.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,M.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:x(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const i={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",i,i,e.action)}}_notifyLayer(e,t,i,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const n={graphic:this,property:e,oldValue:t,newValue:i};"origin-transform"===e&&(n.action=r),"attributes"===e&&(n.attributeName=r),this.layer.graphicChanged(n)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,o.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const i in e){const r=(0,d.rS)(e[i]);r&&(t[i]=r)}return 0!==Object.keys(t).length?t:null}}})],T.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,h.MZ)({value:null})],T.prototype,"attributes",null),(0,o.Cg)([(0,h.MZ)({value:null,types:m.yR,json:{read:d.rS}})],T.prototype,"geometry",null),(0,o.Cg)([(0,h.MZ)({type:Boolean})],T.prototype,"isAggregate",void 0),(0,o.Cg)([(0,h.MZ)({clonable:!1})],T.prototype,"layer",void 0),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],T.prototype,"origin",void 0),(0,o.Cg)([(0,h.MZ)({type:s.A,value:null})],T.prototype,"popupTemplate",null),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],T.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,h.MZ)({value:null,types:w.Es})],T.prototype,"symbol",null),(0,o.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],T.prototype,"_version",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean,value:!0})],T.prototype,"visible",null),T=n=(0,o.Cg)([(0,h.$K)("esri.Graphic")],T)},52136(e,t,i){i.d(t,{p:()=>o});var r=i(5482),n=i(91429);const o=e=>{const t=e;let i=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r.Cg)([(0,n.MZ)({type:String})],i.prototype,"apiKey",null),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],i),i}},54339(e,t,i){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const i=[];for(const r of t.fieldNames)i.push(e.attributes[r]??null);return JSON.stringify(i)}}}function n(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const i=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(i)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}i.d(t,{W:()=>r,r:()=>n})},55156(e,t,i){i.d(t,{I:()=>n,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function n(e){return(t=e)&&r in t?e[r]:void 0;var t}},58501(e,t,i){i.d(t,{q:()=>n});var r=i(62815);function n(e,t,i){if(!i?.features||!i.hasZ)return;const n=(0,r.N)(i.geometryType,t,e.outSpatialReference);if(n)for(const e of i.features)n(e.geometry)}},61760(e,t,i){i.d(t,{PU:()=>s,YW:()=>a,ex:()=>n,hv:()=>l,zp:()=>o}),i(34727);var r=i(90629);i(78955),i(91829);const n=2.4;function o(e){return(0,r.PN)(e*n)}function s(e){return(0,r.Lz)(e)/n}function l(e,t,i){const r=Math.sqrt(e**2+t**2)/i;return r>1?0:3/(Math.PI*i**2)*(1-r**2)**2}function a(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},62815(e,t,i){i.d(t,{N:()=>l,d:()=>a});var r=i(86211),n=i(73941),o=i(21325),s=i(52006);function l(e,t,i){const r=a(t,i);if(1!==r)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,r);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const i of e.curvePaths)for(const e of i){const i=(0,s.yP)(e);i.length>2&&(i[2]*=t)}if(e.paths)for(const i of e.paths)for(const e of i)e.length>2&&(e[2]*=t)}}(e,r);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const i of e.curveRings)for(const e of i){const i=(0,s.yP)(e);i.length>2&&(i[2]*=t)}if(e.rings)for(const i of e.rings)for(const e of i)e.length>2&&(e[2]*=t)}}(e,r);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const i of e.points)i.length>2&&(i[2]*=t)}(e,r);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,r);default:return}}function a(e,t){return null==e||null==t||t.vcsWkid||(0,o.aI)(e,t)||(0,n.xP)(e)||(0,n.xP)(t)?1:(0,r.G9)(e)/(0,r.G9)(t)}},69052(e,t,i){i.d(t,{hr:()=>n,ie:()=>a,uC:()=>l});var r=i(34727);class n{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,i=!1){return o(this.range,this.min,this.max,e,t,i)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,i){return e<t?t:t+s(this.range,e-t,i)}minimalMonotonic(e,t,i){return o(this.range,e,e+this.range,t,i)}center(e,t,i){return t=this.monotonic(e,t,i),this.normalize((e+t)/2,i)}diff(e,t,i){return this.monotonic(e,t,i)-e}shortestSignedDiff(e,t){e=this.normalize(e);const i=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(i)<Math.abs(r)?i:r}contains(e,t,i){return t=this.minimalMonotonic(e,t),(i=this.minimalMonotonic(e,i))>e&&i<t}}function o(e,t,i,r,n=0,o=!1){return(r-=n)<t?r+=s(e,t-r):r>i&&(r-=s(e,r-i)),o&&r===i&&(r=t),r+n}function s(e,t,i=0){return Math.ceil((t-i)/e)*e+i}const l=new n(0,2*Math.PI),a=(new n(-Math.PI,Math.PI),new n(0,360))},70328(e,t,i){i.d(t,{BI:()=>M,DC:()=>c,Ej:()=>h,Ie:()=>g,Jt:()=>b,Ne:()=>f,RF:()=>p,aI:()=>w,fA:()=>s,gE:()=>a,hZ:()=>m,iT:()=>y,is:()=>v,qv:()=>x,vI:()=>d,vY:()=>l,v_:()=>T,vt:()=>o,w1:()=>u});var r=i(5443),n=(i(19419),i(4197));function o(e=T){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,i,r,n,s,l=o()){return l[0]=e,l[1]=t,l[2]=i,l[3]=r,l[4]=n,l[5]=s,l}function l(e,t=o()){return function(e,t,i,r=o()){return m(r,x),function(e,t,i=0,r=t.length/3){let n=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)n=Math.min(n,t[i+3*e]),o=Math.min(o,t[i+3*e+1]),s=Math.min(s,t[i+3*e+2]),l=Math.max(l,t[i+3*e]),a=Math.max(a,t[i+3*e+1]),u=Math.max(u,t[i+3*e+2]);e[0]=n,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(r,e,t,i),r}(e,0,e.length/3,t)}function a(e,t=(0,n.jh)(24)){const[i,r,o,s,l,a]=e;return t[0]=i,t[1]=r,t[2]=o,t[3]=i,t[4]=r,t[5]=a,t[6]=i,t[7]=l,t[8]=o,t[9]=i,t[10]=l,t[11]=a,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const i=isFinite(e[2])||isFinite(e[5]);return new r.A(i?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function y(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function f(e,t,i=e){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i!==e&&(i[3]=e[3],i[4]=e[4],i[5]=e[5]),i}function d(e,t,i=e){return i[3]=t[0],i[4]=t[1],i[5]=t[2],i!==e&&(i[0]=e[0],i[1]=e[1],i[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?m(e,x):o(x)}function b(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function M(e,t,i,r,n){return e[0]=t,e[1]=i,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=n,e[5]=Number.POSITIVE_INFINITY,e}function v(e){return 6===e.length}function w(e,t,i){if(null==e||null==t)return e===t;if(!v(e)||!v(t))return!1;if(i){for(let r=0;r<e.length;r++)if(!i(e[r],t[r]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],T=[0,0,0,0,0,0];o()},73133(e,t,i){i.d(t,{j:()=>r});const r=(0,i(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})},80754(e,t,i){i.d(t,{j7:()=>s,kS:()=>a,kd:()=>l,r8:()=>u});var r=i(82799),n=i(16930),o=i(60408);const s={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:n.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:n.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function a(e,t){const i=u(e);for(const e of i)for(const i of e)i[0]+=t;return e}function u(e){return(0,o.Bi)(e)?e.rings:e.paths}},92300(e,t,i){i.d(t,{V:()=>s,X:()=>o});var r=i(60408),n=i(65864);function o(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function s(e,t,i){const r=(0,n.xD)(t);return e.map(e=>{const t=r.fromJSON(e);return t.spatialReference=i,t})}},96299(e,t,i){i.r(t),i.d(t,{default:()=>$});var r=i(5482),n=i(52106),o=i(7762),s=i(49186),l=i(4718),a=i(25728),u=i(93637),p=i(67076),c=i(91429),y=i(5443),h=i(91218),f=i(16930),d=i(19419),m=i(17136),g=i(21325),b=i(89808),M=i(99959);const v=Symbol("isMapNotesGraphicOriginSymbol");var w;class x extends M.A{get[(w=v,b.Q)](){return this.layer}constructor(e,t){super(),this[w]=!0,this.type="map-notes",this.layer=e,this.sublayer=t}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var T=i(29784),C=i(94194),S=i(4146),I=i(33032),O=i(63074),A=i(16131),N=i(8303),F=i(25036),_=i(20437),Z=i(94985),j=i(31593),L=i(53930),R=i(68249),P=i(36005),z=i(43937);function J(e){return"markup"===e.featureCollectionType||e.layers.some(e=>null!=e.layerDefinition.visibilityField||!G(e))}function G({layerDefinition:e,featureSet:t}){const i=e.geometryType??t.geometryType;return U.find(t=>i===t.geometryTypeJSON&&e.drawingInfo?.renderer?.symbol?.type===t.identifyingSymbol.type)}function k(){return new y.A({xmin:-180,ymin:-90,xmax:180,ymax:90})}const E=new _.A({name:"OBJECTID",alias:"OBJECTID",type:"oid",nullable:!1,editable:!1}),q=new _.A({name:"title",alias:"Title",type:"string",nullable:!0,editable:!0,length:255}),U=[{geometryType:"polygon",geometryTypeJSON:"esriGeometryPolygon",id:"polygonLayer",layerId:0,title:"Polygons",identifyingSymbol:(new Z.A).toJSON()},{geometryType:"polyline",geometryTypeJSON:"esriGeometryPolyline",id:"polylineLayer",layerId:1,title:"Polylines",identifyingSymbol:(new j.A).toJSON()},{geometryType:"multipoint",geometryTypeJSON:"esriGeometryMultipoint",id:"multipointLayer",layerId:2,title:"Multipoints",identifyingSymbol:(new L.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"pointLayer",layerId:3,title:"Points",identifyingSymbol:(new L.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"textLayer",layerId:4,title:"Text",identifyingSymbol:(new R.A).toJSON()}];let D=class extends((0,O.dM)((0,F.j)((0,A.q)((0,N.A)((0,a.M)(S.A)))))){constructor(e){super(e),this.capabilities={operations:{supportsMapNotesEditing:!0}},this.featureCollections=null,this.featureCollectionJSON=null,this.featureCollectionType="notes",this.legendEnabled=!1,this.listMode="hide-children",this.minScale=0,this.maxScale=0,this.spatialReference=f.A.WGS84,this.sublayers=new o.A(U.map(e=>new K({id:e.id,layerId:e.layerId,title:e.title,layer:this}))),this.title="Map Notes",this.type="map-notes",this.visibilityMode="inherited"}readCapabilities(e,t,i){return{operations:{supportsMapNotesEditing:!J(t)&&"portal-item"!==i?.origin}}}readFeatureCollections(e,t,i){if(!J(t))return null;const r=t.layers.map(e=>{const t=new T.default;return t.read(e,i),t});return new o.A({items:r})}readLegacyfeatureCollectionJSON(e,t){return J(t)?(0,l.o8)(t.featureCollection):null}get fullExtent(){const e=this.spatialReference,t=(0,d.Ie)();return null!=this.sublayers?this.sublayers.forEach(({fullBounds:e})=>null!=e?(0,d.fT)(t,e,t):t,t):this.featureCollectionJSON?.layers.some(e=>e.layerDefinition.extent)&&this.featureCollectionJSON.layers.forEach(i=>{const r=(0,h.projectOrLoad)(i.layerDefinition.extent,e).geometry;null!=r&&(0,d.fT)(t,r,t)}),(0,d.aI)(t,d.qv)?(0,h.projectOrLoad)(k(),e).geometry:(0,d.w1)(t,e)}readMinScale(e,t){for(const e of t.layers)if(null!=e.layerDefinition.minScale)return e.layerDefinition.minScale;return 0}readMaxScale(e,t){for(const e of t.layers)if(null!=e.layerDefinition.maxScale)return e.layerDefinition.maxScale;return 0}get multipointLayer(){return this._findSublayer("multipointLayer")}get pointLayer(){return this._findSublayer("pointLayer")}get polygonLayer(){return this._findSublayer("polygonLayer")}get polylineLayer(){return this._findSublayer("polylineLayer")}readSpatialReference(e,t){return t.layers.length?f.A.fromJSON(t.layers[0].layerDefinition.spatialReference):f.A.WGS84}readSublayers(e,t,i){if(J(t))return null;const r=[];let s=t.layers.reduce((e,t)=>Math.max(e,t.layerDefinition.id??-1),-1)+1;for(const e of t.layers){const{layerDefinition:t,featureSet:i}=e,o=t.id??s++,l=G(e);if(null!=l){const e=new K({id:l.id,title:t.name,layerId:o,layer:this,graphics:i.features.map(({geometry:e,symbol:t,attributes:i,popupInfo:r})=>n.A.fromJSON({attributes:i,geometry:e,symbol:t,popupTemplate:r}))});r.push(e)}}return new o.A(r)}writeSublayers(e,t,i,r){const{minScale:n,maxScale:o}=this;if(null==e)return;const l=e.some(e=>e.graphics.length>0);if(!this.capabilities.operations.supportsMapNotesEditing)return void(l&&r?.messages?.push(new s.A("map-notes-layer:editing-not-supported","New map notes cannot be added to this layer")));const a=[];let p=this.spatialReference.toJSON();e:for(const t of e)for(const e of t.graphics)if(null!=e.geometry){p=e.geometry.spatialReference.toJSON();break e}for(const t of U){const i=e.find(e=>t.id===e.id);this._writeMapNoteSublayer(a,i,t,n,o,p,r)}(0,u.sM)("featureCollection.layers",a,t)}get textLayer(){return this._findSublayer("textLayer")}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Feature Collection"]},e)),Promise.resolve(this)}read(e,t){"featureCollection"in e&&(e=(0,l.o8)(e),Object.assign(e,e.featureCollection)),super.read(e,t)}async beforeSave(){if(null==this.sublayers)return;let e=null;const t=[];for(const i of this.sublayers)for(const r of i.graphics)if(null!=r.geometry){const i=r.geometry;e?(0,g.aI)(i.spatialReference,e)||((0,h.canProjectWithoutEngine)(i.spatialReference,e)||(0,h.isLoaded)()||await(0,h.load)(),r.geometry=(0,h.project)(i,e)):e=i.spatialReference,t.push(r)}const i=await(0,m.el)(t.map(e=>e.geometry));t.forEach((e,t)=>e.geometry=i[t])}_findSublayer(e){return null==this.sublayers?null:this.sublayers?.find(t=>t.id===e)??null}_writeMapNoteSublayer(e,t,i,r,n,o,s){const a=[];if(null!=t){for(const e of t.graphics)this._writeMapNote(a,e,i.geometryType,s);this._normalizeObjectIds(a,E),e.push({layerDefinition:{name:t.title,drawingInfo:{renderer:{type:"simple",symbol:(0,l.o8)(i.identifyingSymbol)}},id:t.layerId,geometryType:i.geometryTypeJSON,minScale:r,maxScale:n,objectIdField:"OBJECTID",fields:[E.toJSON(),q.toJSON()],spatialReference:o},featureSet:{features:a,geometryType:i.geometryTypeJSON}})}}_writeMapNote(e,t,i,r){if(null==t)return;const{geometry:n,symbol:o,popupTemplate:s}=t;if(null==n)return;if(n.type!==i)return void r?.messages?.push(new p.A("map-notes-layer:invalid-geometry-type",`Geometry "${n.type}" cannot be saved in "${i}" layer`,{graphic:t}));if(null==o)return void r?.messages?.push(new p.A("map-notes-layer:no-symbol","Skipping map notes with no symbol",{graphic:t}));const l={attributes:{...t.attributes},geometry:n.toJSON(),symbol:o.toJSON()};null!=s&&(l.popupInfo=s.toJSON()),e.push(l)}_normalizeObjectIds(e,t){const i=t.name;let r=(0,I.H)(i,e)+1;const n=new Set;for(const t of e){t.attributes||(t.attributes={});const{attributes:e}=t;(null==e[i]||n.has(e[i]))&&(e[i]=r++),n.add(e[i])}}};(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"capabilities",void 0),(0,r.Cg)([(0,P.w)(["portal-item","web-map"],"capabilities",["layers"])],D.prototype,"readCapabilities",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"featureCollections",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"featureCollections",["layers"])],D.prototype,"readFeatureCollections",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{enabled:!0,target:"featureCollection"}}}}})],D.prototype,"featureCollectionJSON",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"featureCollectionJSON",["featureCollection"])],D.prototype,"readLegacyfeatureCollectionJSON",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!0,write:{enabled:!0,ignoreOrigin:!0}}})],D.prototype,"featureCollectionType",void 0),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"fullExtent",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{target:"featureCollection.showLegend",overridePolicy(){return{enabled:null!=this.featureCollectionJSON}}}}}}})],D.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,c.MZ)({type:["show","hide","hide-children"]})],D.prototype,"listMode",void 0),(0,r.Cg)([(0,c.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],D.prototype,"minScale",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"minScale",["layers"])],D.prototype,"readMinScale",null),(0,r.Cg)([(0,c.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],D.prototype,"maxScale",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"maxScale",["layers"])],D.prototype,"readMaxScale",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"multipointLayer",null),(0,r.Cg)([(0,c.MZ)({value:"ArcGISFeatureLayer",type:["ArcGISFeatureLayer"]})],D.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"pointLayer",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"polygonLayer",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"polylineLayer",null),(0,r.Cg)([(0,c.MZ)({type:f.A})],D.prototype,"spatialReference",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"spatialReference",["layers"])],D.prototype,"readSpatialReference",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{ignoreOrigin:!0}}}}})],D.prototype,"sublayers",void 0),(0,r.Cg)([(0,P.w)("web-map","sublayers",["layers"])],D.prototype,"readSublayers",null),(0,r.Cg)([(0,z.K)("web-map","sublayers")],D.prototype,"writeSublayers",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"textLayer",null),(0,r.Cg)([(0,c.MZ)()],D.prototype,"title",void 0),(0,r.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],D.prototype,"type",void 0),D=(0,r.Cg)([(0,c.$K)("esri.layers.MapNotesLayer")],D);let K=class extends C.A{constructor(e){super(e),this.visibilityMode="inherited"}initialize(){for(const e of this.graphics)e.sourceLayer=this.layer;this.graphics.on("after-add",e=>{e.item.sourceLayer=this.layer,e.item.origin=this.graphicOrigin}),this.graphics.on("after-remove",e=>{e.item.sourceLayer=null,e.item.origin=null})}get fullExtent(){const e=this.layer?.spatialReference,t=this.fullBounds;return e?null==t?(0,h.projectOrLoad)(k(),e).geometry:(0,d.w1)(t,e):null}get fullBounds(){const e=this.layer?.spatialReference;if(!e)return null;const t=(0,d.Ie)();return this.graphics.forEach(i=>{const r=null!=i.geometry?(0,h.projectOrLoad)(i.geometry,e).geometry:null;null!=r&&(0,d.fT)(t,"point"===r.type?r:r.extent,t)}),(0,d.aI)(t,d.qv)?null:t}get graphicOrigin(){return new x(this.layer,this)}get sublayers(){return this.graphics}};(0,r.Cg)([(0,c.MZ)({readOnly:!0})],K.prototype,"fullExtent",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],K.prototype,"fullBounds",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],K.prototype,"graphicOrigin",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],K.prototype,"sublayers",null),(0,r.Cg)([(0,c.MZ)()],K.prototype,"layer",void 0),(0,r.Cg)([(0,c.MZ)()],K.prototype,"layerId",void 0),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],K.prototype,"visibilityMode",void 0),K=(0,r.Cg)([(0,c.$K)("esri.layers.MapNotesLayer.MapNotesSublayer")],K);const $=D}}]);