@arcgis/core 5.2.0-next.127 → 5.2.0-next.129
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.
- package/WebScene.js +1 -1
- package/applications/Components/imageryUtils.js +1 -1
- package/applications/SceneViewer/sceneViewerUtils.d.ts +14 -1
- package/applications/SceneViewer/sceneViewerUtils.js +1 -1
- package/applications/WebEditor/sketchUtils.js +1 -1
- package/arcade/batchExec.js +1 -1
- package/arcade/geometry/adapters/dehydrated.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/06da350b4ea25732f52b.js +1 -0
- package/assets/esri/core/workers/chunks/{67dcf9b873cb037b2647.js → 081c9ccaa5884c730a91.js} +1 -1
- package/assets/esri/core/workers/chunks/094102031cc77b20db74.js +1 -0
- package/assets/esri/core/workers/chunks/0b85c844af97b2fb0ba8.js +1 -0
- package/assets/esri/core/workers/chunks/{86d7a3ae672a51b75fcc.js → 0d44f793d3b0d33153ac.js} +1 -1
- package/assets/esri/core/workers/chunks/0de140199161fcd15a0c.js +1 -0
- package/assets/esri/core/workers/chunks/0deceece4b465f653f58.js +1 -0
- package/assets/esri/core/workers/chunks/111dc5653daa7f3e1001.js +1 -0
- package/assets/esri/core/workers/chunks/139e3da8ea081e21539e.js +1 -0
- package/assets/esri/core/workers/chunks/142bedebd37d747f84ba.js +1 -0
- package/assets/esri/core/workers/chunks/15dc28b4fa5b5110472b.js +1 -0
- package/assets/esri/core/workers/chunks/{dd02cc18ebebb90778c6.js → 17e2bfc7468c23e43bef.js} +1 -1
- package/assets/esri/core/workers/chunks/196d33f4d8e3a256ad94.js +1 -0
- package/assets/esri/core/workers/chunks/1a02c68de65a67ab6a67.js +1 -0
- package/assets/esri/core/workers/chunks/{4165eb86471ea3bbf364.js → 1aecf7106a21320e054e.js} +1 -1
- package/assets/esri/core/workers/chunks/1bc03b8065cbbbb06c87.js +1 -0
- package/assets/esri/core/workers/chunks/1beb32170d659bc43977.js +1 -0
- package/assets/esri/core/workers/chunks/20ee32fee219afbcfee3.js +1 -0
- package/assets/esri/core/workers/chunks/{9467744cb7d094a5067a.js → 21d2f5324db0b199060c.js} +1 -1
- package/assets/esri/core/workers/chunks/22abb9a74f6594f9db2a.js +1 -0
- package/assets/esri/core/workers/chunks/237795866c075880531b.js +1 -0
- package/assets/esri/core/workers/chunks/25e4da9c6837ab0fa585.js +1 -0
- package/assets/esri/core/workers/chunks/2a5fde737dc99627142e.js +1 -0
- package/assets/esri/core/workers/chunks/3412050ae63ff7dcaf36.js +1 -0
- package/assets/esri/core/workers/chunks/35316724c8d3cc39cf80.js +1 -0
- package/assets/esri/core/workers/chunks/354cc6cd2a56937f1747.js +1 -0
- package/assets/esri/core/workers/chunks/365ae479765ca9e47de4.js +1 -0
- package/assets/esri/core/workers/chunks/{8190fcb1dd10ad20feed.js → 36ef86701883a20dd6f6.js} +1 -1
- package/assets/esri/core/workers/chunks/3759e272a1d43534a190.js +1 -0
- package/assets/esri/core/workers/chunks/397ddcf0b8e858a17b70.js +1 -0
- package/assets/esri/core/workers/chunks/3a7a558e30b5cb81c801.js +1 -0
- package/assets/esri/core/workers/chunks/3c9405d310a1b08c901e.js +1 -0
- package/assets/esri/core/workers/chunks/{e10fe4c77b8dc4492092.js → 3ce53562926b05e71af5.js} +1 -1
- package/assets/esri/core/workers/chunks/3d174a84b785fc633a5a.js +1 -0
- package/assets/esri/core/workers/chunks/3d67fed3e53993c38b58.js +1 -0
- package/assets/esri/core/workers/chunks/42bdeeff55fb1a3f735f.js +1 -0
- package/assets/esri/core/workers/chunks/48f1532520b76fa7f0c2.js +1 -0
- package/assets/esri/core/workers/chunks/{00d9e41deecf5828975c.js → 4adc3822ed9f498f5653.js} +1 -1
- package/assets/esri/core/workers/chunks/{d5f0fed415b5b155d57c.js → 51741ef8225d470716fe.js} +1 -1
- package/assets/esri/core/workers/chunks/5191e481d0e19a7f3888.js +1 -0
- package/assets/esri/core/workers/chunks/{7fcee3a1b900ddc9a5e3.js → 540acf6abdee9dbd453e.js} +1 -1
- package/assets/esri/core/workers/chunks/{d9b63cf111035b05cd2e.js → 5484b89adc53430226d5.js} +1 -1
- package/assets/esri/core/workers/chunks/55361b50ecfc98db2ffb.js +1 -0
- package/assets/esri/core/workers/chunks/58da7c41c1bcef2f4141.js +1 -0
- package/assets/esri/core/workers/chunks/5979bbefb09d132c008f.js +1 -0
- package/assets/esri/core/workers/chunks/{84db05e872dbf35c80a2.js → 5982c6a8459c1237b298.js} +1 -1
- package/assets/esri/core/workers/chunks/{0a20f84b5f004a77a9f9.js → 5abfc4f447b01d6bf287.js} +1 -1
- package/assets/esri/core/workers/chunks/{4c0dba437de0969a5b63.js → 5b9f88194433410bad5b.js} +1 -1
- package/assets/esri/core/workers/chunks/5f794f4e0113d5dd50ba.js +1 -0
- package/assets/esri/core/workers/chunks/62a30692e2a7612bafc1.js +1 -0
- package/assets/esri/core/workers/chunks/62aa7daad4ca7332854e.js +1 -0
- package/assets/esri/core/workers/chunks/66926c3686d5ef2d4692.js +29 -0
- package/assets/esri/core/workers/chunks/6994ba168465b77a36af.js +1 -0
- package/assets/esri/core/workers/chunks/6d0c6fda9100fe89f3cb.js +1 -0
- package/assets/esri/core/workers/chunks/72a898894438f177cd62.js +1 -0
- package/assets/esri/core/workers/chunks/78d4455237120103f639.js +1 -0
- package/assets/esri/core/workers/chunks/7fccf53aa751cd9dae57.js +1 -0
- package/assets/esri/core/workers/chunks/{26995de0c18bef8db590.js → 81327e10200065a0ccef.js} +1 -1
- package/assets/esri/core/workers/chunks/84a3fbe5d85a357f4e82.js +1 -0
- package/assets/esri/core/workers/chunks/862479729f2d036f606b.js +1 -0
- package/assets/esri/core/workers/chunks/89dad6c1bfd81e4d7f8e.js +1 -0
- package/assets/esri/core/workers/chunks/8a9aa6db11d0f643961c.js +1 -0
- package/assets/esri/core/workers/chunks/8dfea65341991e13ab71.js +1 -0
- package/assets/esri/core/workers/chunks/8e92925043dc49ed1018.js +1 -0
- package/assets/esri/core/workers/chunks/8f0b2b0ca239b01f44d0.js +1 -0
- package/assets/esri/core/workers/chunks/93a89168c18db88f60e7.js +1 -0
- package/assets/esri/core/workers/chunks/991c854a4459c82d4d93.js +1 -0
- package/assets/esri/core/workers/chunks/{f90cad9f007a11154c0d.js → 9b080d07699b56f06c5f.js} +1 -1
- package/assets/esri/core/workers/chunks/9cd69aa3880838a834f8.js +1 -0
- package/assets/esri/core/workers/chunks/{2ca49fb4590cc34a02bd.js → 9d87f38b16dda1ff7978.js} +1 -1
- package/assets/esri/core/workers/chunks/9fd1e5a2c0a261ed2a33.js +1 -0
- package/assets/esri/core/workers/chunks/a0a9c41400ae98df1912.js +1 -0
- package/assets/esri/core/workers/chunks/a189e520da39919cdcca.js +1 -0
- package/assets/esri/core/workers/chunks/a3a5cb664bdb1db190dd.js +1 -0
- package/assets/esri/core/workers/chunks/a63c456ecf018ec06778.js +1 -0
- package/assets/esri/core/workers/chunks/{842f993fa60b410cb613.js → a8322a978e33c7349fdf.js} +1 -1
- package/assets/esri/core/workers/chunks/{f479b4a4cee4bb2e046c.js → aa96eea0899757ab38c7.js} +1 -1
- package/assets/esri/core/workers/chunks/ab0b2a76247dfd56b92d.js +1 -0
- package/assets/esri/core/workers/chunks/ab7337b076d152a8eb9e.js +1 -0
- package/assets/esri/core/workers/chunks/ac0de274853a42d518a1.js +1 -0
- package/assets/esri/core/workers/chunks/ad372e399e20d5a3262d.js +1 -0
- package/assets/esri/core/workers/chunks/ae75b3e5320d03dff64c.js +1 -0
- package/assets/esri/core/workers/chunks/ae98530d5816306216b3.js +1 -0
- package/assets/esri/core/workers/chunks/afc94c4b9bc007fe310f.js +1 -0
- package/assets/esri/core/workers/chunks/afe54923339e957b71b9.js +1 -0
- package/assets/esri/core/workers/chunks/bbcac00362fef5e3956d.js +1 -0
- package/assets/esri/core/workers/chunks/{1302bf9718747cd9fdd9.js → bcee161dd1c4781d1998.js} +1 -1
- package/assets/esri/core/workers/chunks/{d1f54b0079fb71a15612.js → bd231bc0624eb889ac14.js} +1 -1
- package/assets/esri/core/workers/chunks/c0075715fbe7bec10fc3.js +1 -0
- package/assets/esri/core/workers/chunks/c4e1e864fb8c119b2520.js +1 -0
- package/assets/esri/core/workers/chunks/c93cedf9e53da5aaa35b.js +1 -0
- package/assets/esri/core/workers/chunks/{2d592c935571de80a2e2.js → c9690810b198a97bc16d.js} +1 -1
- package/assets/esri/core/workers/chunks/cada517cc25fa37f778c.js +1 -0
- package/assets/esri/core/workers/chunks/cd1821bf601949674e02.js +1 -0
- package/assets/esri/core/workers/chunks/{1b42d163ef22e3565bb7.js → cf7b7e54cd87422ca62a.js} +1 -1
- package/assets/esri/core/workers/chunks/d1187ad6cc4959683819.js +1 -0
- package/assets/esri/core/workers/chunks/d195c57fc6de3560653d.js +1 -0
- package/assets/esri/core/workers/chunks/d7f830a06ded11f2fc80.js +1 -0
- package/assets/esri/core/workers/chunks/d877783815afd21dbe98.js +1 -0
- package/assets/esri/core/workers/chunks/db5181fcea96cc2ede3e.js +1 -0
- package/assets/esri/core/workers/chunks/{6e8187a77846239ed112.js → de28a86775235bd5d3c4.js} +2 -2
- package/assets/esri/core/workers/chunks/df6992416cba9539f1ed.js +1 -0
- package/assets/esri/core/workers/chunks/e4005d95a396e1af9ac2.js +1 -0
- package/assets/esri/core/workers/chunks/{668ec0bdfb2095e90c9e.js → e495697860f7207da4c7.js} +1 -1
- package/assets/esri/core/workers/chunks/ec187933b42fe65594b7.js +1 -0
- package/assets/esri/core/workers/chunks/eec5a93dbc258a90b6de.js +1 -0
- package/assets/esri/core/workers/chunks/f163502c513205c892e7.js +1 -0
- package/assets/esri/core/workers/chunks/f287ec0fcb611f82ebb0.js +1 -0
- package/assets/esri/core/workers/chunks/{37ae52c71bf9c70fbb92.js → f2d45d15d0ba2537a4eb.js} +1 -1
- package/assets/esri/core/workers/chunks/{d507d7d7a7282fc38e8d.js → f652d1db26fbdea1a79b.js} +1 -1
- package/assets/esri/core/workers/chunks/f6b38ed75baae198c19b.js +1 -0
- package/assets/esri/core/workers/chunks/{168b45c5d8233f23793e.js → f6cfc901267a229de7a1.js} +2 -2
- package/assets/esri/core/workers/chunks/f6d04d14323b926f1025.js +1 -0
- package/assets/esri/core/workers/chunks/f7ab606be37373312ebe.js +1 -0
- package/assets/esri/core/workers/chunks/{3b7dff15a0058ea29886.js → f92178ac6dc9abff304f.js} +1 -1
- package/assets/esri/core/workers/chunks/fc39593febef74a036f1.js +1 -0
- package/assets/esri/libs/librust-parquet/pkg/parquet_bg.wasm +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/3ae1e25e-3aa6-4061-a016-a079159f9d65.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/41331c3c-3759-4462-8695-33c9a21b6a5b.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/94aa531e-7746-4df0-bb6e-349891f2eda5.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts.scss +0 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +7 -0
- package/assets/esri/themes/base/widgets/_Tooltip.scss +5 -3
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.ar.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.bg.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.bs.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.ca.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.cs.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.da.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.de.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.el.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.es.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.et.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.fi.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.fr.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.he.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.hr.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.hu.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.id.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.it.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.ja.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.ko.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.lt.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.lv.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.nl.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.no.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.pl.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.pt-BR.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.pt-PT.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.ro.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.ru.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.sk.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.sl.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.sr.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.sv.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.th.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.tr.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.uk.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.vi.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.zh-CN.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.zh-HK.json +1 -1
- package/assets/esri/views/interactive/tooltip/t9n/messages.zh-TW.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/messages.en.json +1 -1
- package/chunks/batchExec.js +2 -0
- package/config.js +1 -1
- package/core/units.js +1 -1
- package/geometry/HeightModelInfo.js +1 -1
- package/geometry/ellipsoidUtils.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/geometry/support/intersects.js +1 -1
- package/geometry/support/intersectsBase.js +1 -1
- package/interfaces.d.ts +1 -0
- package/kernel.js +1 -1
- package/layers/ElevationLayer.js +1 -1
- package/layers/GeospatialPDFLayer.js +1 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/OrientedImageryLayer.js +1 -1
- package/layers/graphics/dehydratedFeatures.js +1 -1
- package/layers/graphics/hydrateGeometryJSON.js +2 -0
- package/layers/graphics/hydratedFeatures.js +1 -1
- package/layers/graphics/hydratedSpatialReference.js +2 -0
- package/layers/graphics/transferFeatures.js +2 -0
- package/layers/mixins/FeatureLayerBase.js +1 -1
- package/layers/mixins/HeightModelInfoMixin.js +2 -0
- package/layers/mixins/SceneService.js +1 -1
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/raster/datasets/DBFParser.js +1 -1
- package/layers/raster/datasets/ImageAuxRaster.js +1 -1
- package/layers/raster/datasets/RasterFactory.js +1 -1
- package/layers/raster/datasets/TIFFRaster.js +1 -1
- package/layers/raster/formats/JpgPlus.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/formats/Raw.js +1 -1
- package/layers/support/arcadeUtils.js +1 -1
- package/package.json +3 -3
- package/popup/FeatureContent.js +1 -1
- package/popup/FeatureContentCollection.d.ts +2 -0
- package/popup/FeatureContentCollection.js +1 -1
- package/popup/support/featureUtils.js +1 -1
- package/rest/imageService.js +1 -1
- package/rest/query/operations/pbfDehydratedFeatureSet.js +1 -1
- package/rest/query/operations/pbfFeatureServiceParser.js +1 -1
- package/support/arcadeUtils.js +1 -1
- package/support/loadArcade.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/views/2d/engine/vectorTiles/GeometryUtils.js +1 -1
- package/views/2d/engine/vectorTiles/TileManager.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolRepository.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/util.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/layerViewModuleImportUtils.js +1 -1
- package/views/2d/layers/GeospatialPDFLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/schema/processor/MatcherSchema.js +1 -1
- package/views/2d/layers/graphics/GraphicStore.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
- package/views/2d/support/hitTestUtils.js +1 -1
- package/views/3d/camera/constraintUtils/surfaceCollision.js +1 -1
- package/views/3d/camera/intersectionUtils.js +1 -1
- package/views/3d/interactive/Manipulator3D.js +1 -1
- package/views/3d/layers/GeospatialPDFLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
- package/views/3d/layers/support/featureReference.js +1 -1
- package/views/3d/navigation/modes/GroundNavigationMode3D.js +1 -1
- package/views/3d/state/Constraints.js +1 -1
- package/views/3d/state/utils/groundNavigationUtils.js +1 -1
- package/views/3d/support/PBFDecoder.js +1 -1
- package/views/3d/support/PBFDecoderWorker.js +1 -1
- package/views/3d/support/QualityProfile.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/terrain/TileCompositor.js +1 -1
- package/views/3d/webgl-engine/lib/TriangleIntersectionData.js +1 -1
- package/views/DOMContainer.d.ts +18 -8
- package/views/SceneView.js +1 -1
- package/views/ToolViewManager.js +1 -1
- package/views/VideoView.d.ts +38 -0
- package/views/VideoView.js +1 -1
- package/views/View.d.ts +20 -2
- package/views/View.js +1 -1
- package/views/input/types.d.ts +19 -6
- package/views/interactive/dragEventPipeline.js +1 -1
- package/views/interactive/options/TooltipVisibleElements.d.ts +11 -1
- package/views/interactive/options/TooltipVisibleElements.js +1 -1
- package/views/interactive/tooltip/components/TooltipEditableField.js +1 -1
- package/views/layers/ImageryTileLayerView.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/DynamicChoiceController.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/utils.js +1 -1
- package/widgets/Search/SearchViewModel.js +1 -1
- package/widgets/Search/support/layerSearchUtils.js +1 -1
- package/assets/esri/core/workers/chunks/025da54eef112d7e8f66.js +0 -1
- package/assets/esri/core/workers/chunks/02f94f9d704f03ddb5c6.js +0 -1
- package/assets/esri/core/workers/chunks/04d4cd66485b622403d0.js +0 -1
- package/assets/esri/core/workers/chunks/05afa8c2b5929ce0545a.js +0 -1
- package/assets/esri/core/workers/chunks/09676cfa99b90fe0cc63.js +0 -1
- package/assets/esri/core/workers/chunks/0a2b7c691a577cb3d189.js +0 -1
- package/assets/esri/core/workers/chunks/0aadee0437fa061e4ff5.js +0 -1
- package/assets/esri/core/workers/chunks/0ccd4200c5a2a5de6e16.js +0 -1
- package/assets/esri/core/workers/chunks/1262918b2161d79851c0.js +0 -1
- package/assets/esri/core/workers/chunks/1406a884241809b62bff.js +0 -1
- package/assets/esri/core/workers/chunks/1c33aa349beea9a3792f.js +0 -1
- package/assets/esri/core/workers/chunks/1f135269aea3931e11b2.js +0 -1
- package/assets/esri/core/workers/chunks/2146c25c01c9fc11b16c.js +0 -1
- package/assets/esri/core/workers/chunks/24014f3701c31ee74bc2.js +0 -1
- package/assets/esri/core/workers/chunks/25a2e02677a74834c8b5.js +0 -1
- package/assets/esri/core/workers/chunks/2afce71e8b6ae86e0792.js +0 -1
- package/assets/esri/core/workers/chunks/2c7bb5c9751524687002.js +0 -1
- package/assets/esri/core/workers/chunks/2c7fc24649d91552e68a.js +0 -1
- package/assets/esri/core/workers/chunks/2ebad7e588b26e74cefe.js +0 -1
- package/assets/esri/core/workers/chunks/319434415d2c0561bc59.js +0 -1
- package/assets/esri/core/workers/chunks/39d71e83261bff46f6bf.js +0 -1
- package/assets/esri/core/workers/chunks/3aceedec9abfb2fdfa18.js +0 -1
- package/assets/esri/core/workers/chunks/3c6ee445e49da0076ac1.js +0 -1
- package/assets/esri/core/workers/chunks/4327d2c39a660bd89da7.js +0 -1
- package/assets/esri/core/workers/chunks/462fd57af8ed7921d6ba.js +0 -1
- package/assets/esri/core/workers/chunks/4678a8170d8a3ccd1a7b.js +0 -1
- package/assets/esri/core/workers/chunks/474d9541d387b31ad275.js +0 -1
- package/assets/esri/core/workers/chunks/48a2f68e06a2e90b77d0.js +0 -1
- package/assets/esri/core/workers/chunks/4a73f73f1698fad2df20.js +0 -1
- package/assets/esri/core/workers/chunks/4f464047c6f6c9486efd.js +0 -1
- package/assets/esri/core/workers/chunks/50c29d10ec53f0e48e8a.js +0 -1
- package/assets/esri/core/workers/chunks/526cc64ae46dec3fbeda.js +0 -1
- package/assets/esri/core/workers/chunks/550d4df0732352fa48b5.js +0 -1
- package/assets/esri/core/workers/chunks/56e97b98dcb8a3f2bcb7.js +0 -1
- package/assets/esri/core/workers/chunks/581285e4d7bbe1b7c27a.js +0 -1
- package/assets/esri/core/workers/chunks/58fb92775d668cfd295c.js +0 -1
- package/assets/esri/core/workers/chunks/5adf2792416b22cd602f.js +0 -1
- package/assets/esri/core/workers/chunks/5aee7739afb5160d4ace.js +0 -1
- package/assets/esri/core/workers/chunks/6006bd8a5ed945fa2776.js +0 -1
- package/assets/esri/core/workers/chunks/64ee22134fda2f09c094.js +0 -1
- package/assets/esri/core/workers/chunks/66ef6c034455abd61f39.js +0 -1
- package/assets/esri/core/workers/chunks/67678054342178b601cf.js +0 -1
- package/assets/esri/core/workers/chunks/6c82cbcd504c711a7450.js +0 -1
- package/assets/esri/core/workers/chunks/6e75f09fb9452bd5f9fb.js +0 -1
- package/assets/esri/core/workers/chunks/7441d121f00ce747c08e.js +0 -1
- package/assets/esri/core/workers/chunks/75879ae88fd87b089a87.js +0 -1
- package/assets/esri/core/workers/chunks/76548469fe1b9c3b2051.js +0 -1
- package/assets/esri/core/workers/chunks/78085f804969c9282700.js +0 -1
- package/assets/esri/core/workers/chunks/7d6da4e89aa951e6523f.js +0 -1
- package/assets/esri/core/workers/chunks/80f16f5f15518013f7d0.js +0 -1
- package/assets/esri/core/workers/chunks/82ce034b5ba54de9b970.js +0 -29
- package/assets/esri/core/workers/chunks/8465e2c7221125fd3cc4.js +0 -1
- package/assets/esri/core/workers/chunks/87aaed3dfa903bdf853c.js +0 -1
- package/assets/esri/core/workers/chunks/892dc038d569cffd26dc.js +0 -1
- package/assets/esri/core/workers/chunks/8daed13400d9e63e65ae.js +0 -1
- package/assets/esri/core/workers/chunks/8f1c5f5e70d4b33d021d.js +0 -1
- package/assets/esri/core/workers/chunks/9020bd7a0e488d55ef14.js +0 -1
- package/assets/esri/core/workers/chunks/9d6a96e4c7ccedcb0c13.js +0 -1
- package/assets/esri/core/workers/chunks/9ec04faad97be55309b8.js +0 -1
- package/assets/esri/core/workers/chunks/a08385ebf1715414c1a6.js +0 -1
- package/assets/esri/core/workers/chunks/a3a33ffa34f4d645ddfe.js +0 -1
- package/assets/esri/core/workers/chunks/b396c4b4bb144200acc7.js +0 -1
- package/assets/esri/core/workers/chunks/b9c834e3c0701e9b14a2.js +0 -1
- package/assets/esri/core/workers/chunks/ba435cc73956d9c64a11.js +0 -1
- package/assets/esri/core/workers/chunks/bbfb80a6983574007ce5.js +0 -1
- package/assets/esri/core/workers/chunks/bcf2e5cf6b9c6d0442bb.js +0 -1
- package/assets/esri/core/workers/chunks/c35e9dee87937f483a3d.js +0 -1
- package/assets/esri/core/workers/chunks/c5b733c3a5b2680042a2.js +0 -1
- package/assets/esri/core/workers/chunks/c77496c350004ee66eb2.js +0 -1
- package/assets/esri/core/workers/chunks/cbeba973ef5593ffbba3.js +0 -1
- package/assets/esri/core/workers/chunks/ccaeabc3be07f3c96f50.js +0 -1
- package/assets/esri/core/workers/chunks/d25fb32a233d2128afbe.js +0 -1
- package/assets/esri/core/workers/chunks/d371d9279b30548efa02.js +0 -1
- package/assets/esri/core/workers/chunks/d5ef269ab0ee3744b05d.js +0 -1
- package/assets/esri/core/workers/chunks/dc92710a8fdfb9135e55.js +0 -1
- package/assets/esri/core/workers/chunks/dd4ecf81250cc001d040.js +0 -1
- package/assets/esri/core/workers/chunks/e0894a308c84d5c158b0.js +0 -1
- package/assets/esri/core/workers/chunks/e4016ae9cb8f16e3efc3.js +0 -1
- package/assets/esri/core/workers/chunks/e5ee64e2fb5bfcb716d8.js +0 -1
- package/assets/esri/core/workers/chunks/e6637f9176566382ed3e.js +0 -1
- package/assets/esri/core/workers/chunks/e6a4cef0af9be30ffe3d.js +0 -1
- package/assets/esri/core/workers/chunks/eaa7cb3ffa8c11706a09.js +0 -1
- package/assets/esri/core/workers/chunks/ed31ec586b754241474d.js +0 -1
- package/assets/esri/core/workers/chunks/ef6e52f9b656751eebaf.js +0 -1
- package/assets/esri/core/workers/chunks/f2fca9a3a40170996ea2.js +0 -1
- package/assets/esri/core/workers/chunks/f5d06cd6d30a5f742f73.js +0 -1
- package/assets/esri/core/workers/chunks/f71ec8a260405ed07958.js +0 -1
- package/assets/esri/core/workers/chunks/f91cab9904020cf25d50.js +0 -1
- package/assets/esri/core/workers/chunks/fb11ff3f2eae5f072560.js +0 -1
- package/assets/esri/core/workers/chunks/ff0e9f8d323eb1729650.js +0 -1
- /package/assets/esri/core/workers/chunks/{6e8187a77846239ed112.js.LICENSE.txt → de28a86775235bd5d3c4.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{168b45c5d8233f23793e.js.LICENSE.txt → f6cfc901267a229de7a1.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6930],{83290(e,t,r){r.d(t,{a:()=>f,b:()=>D,i:()=>s,l:()=>_});var n=r(2741),o=r(44208);let i,a=null;function s(){return!!a}function _(){return i||(i=r.e(6187).then(()=>r(46187)).then(({default:e})=>e({locateFile:e=>(0,n.s)(`esri/geometry/support/${e}`)})).then(e=>{R(e)}),i)}const l={geogToProj(e,t,r){a.ensureCache.prepare();const n=I(r),o=r===n,i=a.ensureFloat64(n),s=a._pe_geog_to_proj(a.getPointer(e),t,i);return s&&B(r,t,i,o),s},projGeog(e,t,r,n){switch(n){case f.PE_TRANSFORM_P_TO_G:return l.projToGeog(e,t,r);case f.PE_TRANSFORM_G_TO_P:return l.geogToProj(e,t,r)}return 0},projToGeog:(e,t,r)=>l.projToGeogCenter(e,t,r,0),projToGeogCenter(e,t,r,n){a.ensureCache.prepare();const o=I(r),i=r===o,s=a.ensureFloat64(o),_=a._pe_proj_to_geog_center(a.getPointer(e),t,s,n);return _&&B(r,t,s,i),_}};class f{static init(){f.PE_BUFFER_MAX=a.PeDefs.prototype.PE_BUFFER_MAX,f.PE_NAME_MAX=a.PeDefs.prototype.PE_NAME_MAX,f.PE_MGRS_MAX=a.PeDefs.prototype.PE_MGRS_MAX,f.PE_USNG_MAX=a.PeDefs.prototype.PE_USNG_MAX,f.PE_DD_MAX=a.PeDefs.prototype.PE_DD_MAX,f.PE_DDM_MAX=a.PeDefs.prototype.PE_DDM_MAX,f.PE_DMS_MAX=a.PeDefs.prototype.PE_DMS_MAX,f.PE_UTM_MAX=a.PeDefs.prototype.PE_UTM_MAX,f.PE_PARM_MAX=a.PeDefs.prototype.PE_PARM_MAX,f.PE_TYPE_NONE=a.PeDefs.prototype.PE_TYPE_NONE,f.PE_TYPE_GEOGCS=a.PeDefs.prototype.PE_TYPE_GEOGCS,f.PE_TYPE_PROJCS=a.PeDefs.prototype.PE_TYPE_PROJCS,f.PE_TYPE_GEOGTRAN=a.PeDefs.prototype.PE_TYPE_GEOGTRAN,f.PE_TYPE_COORDSYS=a.PeDefs.prototype.PE_TYPE_COORDSYS,f.PE_TYPE_UNIT=a.PeDefs.prototype.PE_TYPE_UNIT,f.PE_TYPE_LINUNIT=a.PeDefs.prototype.PE_TYPE_LINUNIT,f.PE_STR_OPTS_NONE=a.PeDefs.prototype.PE_STR_OPTS_NONE,f.PE_STR_AUTH_NONE=a.PeDefs.prototype.PE_STR_AUTH_NONE,f.PE_STR_AUTH_TOP=a.PeDefs.prototype.PE_STR_AUTH_TOP,f.PE_STR_NAME_CANON=a.PeDefs.prototype.PE_STR_NAME_CANON,f.PE_STR_FMT_WKT=a.PeDefs.prototype.PE_STR_FMT_WKT,f.PE_STR_FMT_WKT2=a.PeDefs.prototype.PE_STR_FMT_WKT2,f.PE_PARM_X0=a.PeDefs.prototype.PE_PARM_X0,f.PE_PARM_ND=a.PeDefs.prototype.PE_PARM_ND,f.PE_TRANSFORM_1_TO_2=a.PeDefs.prototype.PE_TRANSFORM_1_TO_2,f.PE_TRANSFORM_2_TO_1=a.PeDefs.prototype.PE_TRANSFORM_2_TO_1,f.PE_TRANSFORM_P_TO_G=a.PeDefs.prototype.PE_TRANSFORM_P_TO_G,f.PE_TRANSFORM_G_TO_P=a.PeDefs.prototype.PE_TRANSFORM_G_TO_P,f.PE_HORIZON_RECT=a.PeDefs.prototype.PE_HORIZON_RECT,f.PE_HORIZON_POLY=a.PeDefs.prototype.PE_HORIZON_POLY,f.PE_HORIZON_LINE=a.PeDefs.prototype.PE_HORIZON_LINE,f.PE_HORIZON_DELTA=a.PeDefs.prototype.PE_HORIZON_DELTA}}let c=null;const u={},d={},m=e=>{const t=e.getType();switch(t){case f.PE_TYPE_GEOGCS:e=a.castObject(e,a.PeGeogcs);break;case f.PE_TYPE_PROJCS:e=a.castObject(e,a.PeProjcs);break;case f.PE_TYPE_GEOGTRAN:e=a.castObject(e,a.PeGeogtran);break;default:t&f.PE_TYPE_UNIT&&(e=a.castObject(e,a.PeUnit))}return e},P={initialize(){a.PeFactory.prototype.initialize(null)},coordsys:e=>P.factoryByType(f.PE_TYPE_COORDSYS,e),factoryByType(e,t){let r=null,n=u[e];if(n||(n={},u[e]=n),n.hasOwnProperty(String(t))&&(r=n[t],a.compare(r,a.NULL)&&(r=null)),!r){const o=a.PeFactory.prototype.factoryByType(e,t);a.compare(o,a.NULL)||(r=m(o),n[t]=r)}return r},fromString(e,t,r=!1){if(r)switch(e){case f.PE_TYPE_GEOGCS:case f.PE_TYPE_PROJCS:case f.PE_TYPE_COORDSYS:{const r=a.PeFactory.prototype.fromString(e,t);return a.compare(r,a.NULL)?null:m(r)}default:return null}let n=null,o=d[e];if(o||(o={},d[e]=o),o.hasOwnProperty(t)&&(n=o[t],a.compare(n,a.NULL)&&(n=null)),!n){const r=a.PeFactory.prototype.fromString(e,t);a.compare(r,a.NULL)||(n=m(r),o[t]=n)}return n},geogcs:e=>P.factoryByType(f.PE_TYPE_GEOGCS,e),geogtran:e=>P.factoryByType(f.PE_TYPE_GEOGTRAN,e),getCode:e=>a.PeFactory.prototype.getCode(e),projcs:e=>P.factoryByType(f.PE_TYPE_PROJCS,e),unit:e=>P.factoryByType(f.PE_TYPE_UNIT,e)};let p,h=null;const S={PE_GTLIST_OPTS_COMMON:0,init(){S.PE_GTLIST_OPTS_COMMON=a.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,p=a._pe_getPeGTlistExtendedEntrySize()},getGTlist(e,t,r,n,o,i){let s=null;const _=new a.PeInteger(i);try{const l=a.PeGTlistExtended.prototype.getGTlist(e,t,r,n,o,_);if((i=_.val)&&(s=[l],i>1)){const e=a.getPointer(l);for(let t=1;t<i;t++)s.push(a.wrapPointer(e+p*t,a.PeGTlistExtendedEntry))}}finally{a.destroy(_)}return s}},E={destroy(e){if(e?.length){for(const t of e)k(t),t.getEntries().forEach(e=>{k(e);const t=e.getGeogtran();k(t),t.getParameters().forEach(k),[t.getGeogcs1(),t.getGeogcs2()].forEach(e=>{k(e);const t=e.getDatum();k(t),k(t.getSpheroid()),k(e.getPrimem()),k(e.getUnit())})});a.PeGTlistExtendedEntry.prototype.Delete(e[0])}}},g={geogToGeog(e,t,r,n,o){a.ensureCache.prepare();const i=I(r),s=r===i,_=a.ensureFloat64(i);let l=0;n&&(l=a.ensureFloat64(n));const f=a._pe_geog_to_geog(a.getPointer(e),t,_,l,o);return f&&B(r,t,_,s),f}},y={geodesicCoordinate(e,t,r,n,o,i,s,_){a.PeLineType.prototype.geodesic_coordinate(e,t,r,n,o,i,s,_)},geodeticCoordinate(e,t,r,n,o,i,s,_,l){a.PeLineType.prototype.geodetic_coordinate(e,t,r,n,o,i,s,_,l)},geodeticDistance(e,t,r,n,o,i,s,_,l,f){a.PeLineType.prototype.geodetic_distance(e,t,r,n,o,i,s,_,l,f)},greatEllipticDistance(e,t,r,n,o,i,s,_,l){a.PeLineType.prototype.great_elliptic_distance(e,t,r,n,o,i,s,_,l)}},T={phiToEta:(e,t)=>a.PeMath.prototype.phi_to_eta(e,t),etaToPhi:(e,t)=>a.PeMath.prototype.eta_to_phi(e,t),phiToPhig:(e,t)=>a.PeMath.prototype.phi_to_phig(e,t),q:(e,t,r)=>a.PeMath.prototype.q(e,t,r),q90:(e,t)=>a.PeMath.prototype.q90(e,t)},M=(e,t,r,n,o,i)=>{let s,_;switch(a.ensureCache.prepare(),e){case"dd":s=a._pe_geog_to_dd,_=f.PE_DD_MAX;break;case"ddm":s=a._pe_geog_to_ddm,_=f.PE_DDM_MAX;break;case"dms":s=a._pe_geog_to_dms,_=f.PE_DMS_MAX}let l=0;t&&(l=a.getPointer(t));const c=I(n),u=a.ensureFloat64(c),d=w(r,_),m=s(l,r,u,o,a.ensureInt32(d));if(m)for(let e=0;e<r;e++)i[e]=a.UTF8ToString(d[e]);return m},G=(e,t,r,n,o)=>{let i;switch(a.ensureCache.prepare(),e){case"dd":i=a._pe_dd_to_geog;break;case"ddm":i=a._pe_ddm_to_geog;break;case"dms":i=a._pe_dms_to_geog}let s=0;t&&(s=a.getPointer(t));const _=n.map(e=>a.ensureString(e)),l=a.ensureInt32(_),f=a.ensureFloat64(new Array(2*r)),c=i(s,r,l,f);return c&&B(o,r,f),c},O={geogToDms:(e,t,r,n,o)=>M("dms",e,t,r,n,o),dmsToGeog:(e,t,r,n)=>G("dms",e,t,r,n),geogToDdm:(e,t,r,n,o)=>M("ddm",e,t,r,n,o),ddmToGeog:(e,t,r,n)=>G("ddm",e,t,r,n),geogToDd:(e,t,r,n,o)=>M("dd",e,t,r,n,o),ddToGeog:(e,t,r,n)=>G("dd",e,t,r,n)};class A{static init(){A.PE_MGRS_STYLE_NEW=a.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,A.PE_MGRS_STYLE_OLD=a.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,A.PE_MGRS_STYLE_AUTO=a.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,A.PE_MGRS_180_ZONE_1_PLUS=a.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,A.PE_MGRS_ADD_SPACES=a.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES}static geogToMgrsExtended(e,t,r,n,o,i,s){a.ensureCache.prepare();let _=0;e&&(_=a.getPointer(e));const l=I(r),c=a.ensureFloat64(l),u=w(t,f.PE_MGRS_MAX),d=a.ensureInt32(u),m=a._pe_geog_to_mgrs_extended(_,t,c,n,o,i,d);if(m)for(let e=0;e<t;e++)s[e]=a.UTF8ToString(u[e]);return m}static mgrsToGeogExtended(e,t,r,n,o){a.ensureCache.prepare();let i=0;e&&(i=a.getPointer(e));const s=r.map(e=>a.ensureString(e)),_=a.ensureInt32(s),l=a.ensureFloat64(new Array(2*t)),f=a._pe_mgrs_to_geog_extended(i,t,_,n,l);return f&&B(o,t,l),f}}const U={geogToUsng(e,t,r,n,o,i,s){a.ensureCache.prepare();let _=0;e&&(_=a.getPointer(e));const l=I(r),c=a.ensureFloat64(l),u=w(t,f.PE_MGRS_MAX),d=a.ensureInt32(u),m=a._pe_geog_to_usng(_,t,c,n,o,i,d);if(m)for(let e=0;e<t;e++)s[e]=a.UTF8ToString(u[e]);return m},usngToGeog(e,t,r,n){a.ensureCache.prepare();let o=0;e&&(o=a.getPointer(e));const i=r.map(e=>a.ensureString(e)),s=a.ensureInt32(i),_=a.ensureFloat64(new Array(2*t)),l=a._pe_usng_to_geog(o,t,s,_);return l&&B(n,t,_),l}};class N{static init(){N.PE_UTM_OPTS_NONE=a.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,N.PE_UTM_OPTS_ADD_SPACES=a.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,N.PE_UTM_OPTS_NS=a.PeNotationUtm.prototype.PE_UTM_OPTS_NS}static geogToUtm(e,t,r,n,o){a.ensureCache.prepare();let i=0;e&&(i=a.getPointer(e));const s=I(r),_=a.ensureFloat64(s),l=w(t,f.PE_UTM_MAX),c=a.ensureInt32(l),u=a._pe_geog_to_utm(i,t,_,n,c);if(u)for(let e=0;e<t;e++)o[e]=a.UTF8ToString(l[e]);return u}static utmToGeog(e,t,r,n,o){a.ensureCache.prepare();let i=0;e&&(i=a.getPointer(e));const s=r.map(e=>a.ensureString(e)),_=a.ensureInt32(s),l=a.ensureFloat64(new Array(2*t)),f=a._pe_utm_to_geog(i,t,_,n,l);return f&&B(o,t,l),f}}class D{static{this.cache=new Map}static init(){D.PE_PCSINFO_OPTION_NONE=a.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,D.PE_PCSINFO_OPTION_DOMAIN=a.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,D.PE_POLE_OUTSIDE_BOUNDARY=a.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,D.PE_POLE_POINT=a.PePCSInfo.prototype.PE_POLE_POINT}static generate(e,t=D.PE_PCSINFO_OPTION_DOMAIN){let r=null,n=null;return D.cache.has(e)&&(n=D.cache.get(e),n[t]&&(r=n[t])),r||(r=a.PePCSInfo.prototype.generate(e,t),n||(n=[],D.cache.set(e,n)),n[t]=r),r}}const C={versionString:()=>a.PeVersion.prototype.version_string()};function R(e){function t(e,t,r){e[t]=r(e[t])}a=e,f.init(),S.init(),A.init(),N.init(),D.init(),c=class extends a.PeDouble{constructor(e=NaN){super(e)}destroy(){a.destroy(this)}[Symbol.dispose](){this.destroy()}},h=class extends a.PeGCSExtent{destroy(){a.destroy(this)}[Symbol.dispose](){this.destroy()}};const r=[a.PeAngunit,a.PeDatum,a.PeGeogcs,a.PeGeogtran,a.PeObject,a.PeParameter,a.PePrimem,a.PeProjcs,a.PeSpheroid,a.PeUnit];for(const e of r)t(e.prototype,"getName",e=>function(){return e.call(this,new Array(f.PE_NAME_MAX))});for(const e of[a.PeGeogtran,a.PeProjcs])t(e.prototype,"getParameters",e=>function(){const t=new Array(f.PE_PARM_MAX);let r=e.call(this);for(let e=0;e<t.length;e++){const n=a.getValue(r,"*");t[e]=n?a.wrapPointer(n,a.PeParameter):null,r+=Int32Array.BYTES_PER_ELEMENT}return t});t(a.PeHorizon.prototype,"getCoord",e=>function(t=!1){const r=this.getSize();if(!r)return null;const n=[];return B(n,r,e.call(this),t),n}),t(a.PeGTlistExtendedEntry.prototype,"getEntries",e=>{const t=a._pe_getPeGTlistExtendedGTsSize();return function(){let r=null;const n=e.call(this);if(!a.compare(n,a.NULL)){r=[n];const e=this.getSteps();if(e>1){const o=a.getPointer(n);for(let n=1;n<e;n++)r.push(a.wrapPointer(o+t*n,a.PeGTlistExtendedGTs))}}return r}});const n=a._pe_getPeHorizonSize(),o=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let r=null;const o=e.call(this);if(!a.compare(o,a.NULL)){r=[o];const e=o.getNump();if(e>1){const t=a.getPointer(o);for(let o=1;o<e;o++)r.push(a.wrapPointer(t+n*o,a.PeHorizon))}}return t.set(e,r),r};t(a.PeProjcs.prototype,"horizonGcsGenerate",o),t(a.PeProjcs.prototype,"horizonPcsGenerate",o),a.PeObject.prototype.toString=function(e=f.PE_STR_OPTS_NONE){a.ensureCache.prepare();const t=a.getPointer(this),r=a.ensureInt8(new Array(f.PE_BUFFER_MAX));return a.UTF8ToString(a._pe_object_to_string_ext(t,e,r))},a.PeGeogcs.prototype.destroy=function(){this.Delete(),k(this),this.ptr=0},a.PeGeogcs.prototype[Symbol.dispose]=function(){this.destroy()},a.PeProjcs.prototype.destroy=function(){this.Delete(),k(this),this.ptr=0},a.PeProjcs.prototype[Symbol.dispose]=function(){this.destroy()}}function k(e){if(!e)return;const t=a.getClass(e);if(!t)return;const r=a.getCache(t);if(!r)return;const n=a.getPointer(e);n&&delete r[n]}function w(e,t){const r=[],n=new Array(t);for(let t=0;t<e;t++)r.push(a.ensureInt8(n));return r}function I(e){return ArrayBuffer.isView(e)?e:Array.isArray(e[0])?e.flat():e}function B(e,t,r,n=!1){if(n)for(let n=0;n<2*t;n++)e[n]=a.getValue(r+n*Float64Array.BYTES_PER_ELEMENT,"double");else{const n=0===e.length;for(let o=0;o<t;o++)n&&(e[o]=new Array(2)),e[o][0]=a.getValue(r,"double"),e[o][1]=a.getValue(r+Float64Array.BYTES_PER_ELEMENT,"double"),r+=2*Float64Array.BYTES_PER_ELEMENT}}const b=Object.freeze(Object.defineProperty({__proto__:null,PeCSTransformations:l,PeDefs:f,get PeDouble(){return c},PeFactory:P,get PeGCSExtent(){return h},PeGTTransformations:g,PeGTlistExtended:S,PeGTlistExtendedEntry:E,PeLineType:y,PeMath:T,PeNotationDms:O,PeNotationMgrs:A,PeNotationUsng:U,PeNotationUtm:N,PePCSInfo:D,PeVersion:C,_init:R,get _pe(){return a},isLoaded:s,isSupported:function(){return!!(0,o.A)("esri-wasm")},load:_},Symbol.toStringTag,{value:"Module"}));r.d(t,["P",0,P,"c",0,l,"d",0,g,"p",0,b])},86211(e,t,r){r.d(t,{Ao:()=>R,B5:()=>L,Bd:()=>Y,G9:()=>N,GA:()=>C,Ij:()=>B,KX:()=>k,LA:()=>U,PQ:()=>G,UW:()=>O,k1:()=>D,mq:()=>b,oU:()=>M,t$:()=>y,vl:()=>A,x1:()=>F});var n=r(66552),o=r(73941),i=r(79258),a=r(21325),s=r(97348),_=r(22530);const l=i.$O.radius*Math.PI/200,f=/(?:LENGTH)?UNIT\[([^\]]+)]]$/i,c=_.A,u=/UNIT\[([^\]]+)]/i,d=new Set([4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104025,104026,104139,104140]),m=(0,n.O)()({millimeter:"millimeters",centimeter:"centimeters",meter:"meters",meter_german:"german-meters",kilometer:"kilometers",decimeter:"decimeters",micrometer:"micrometers",nanometer:"nanometers","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",fathom:"fathoms",nautical_mile:"nautical-miles",chain_us:"us-chains",link_us:"us-links",mile_us:"us-miles",yard_clarke:"clarke-yards",chain_clarke:"clarke-chains",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",link_sears:"sears-links",yard_benoit_1895_a:"benoit-1895-a-yards",foot_benoit_1895_a:"benoit-1895-a-feet",chain_benoit_1895_a:"benoit-1895-a-chains",link_benoit_1895_a:"benoit-1895-a-links",yard_benoit_1895_b:"benoit-1895-b-yards",foot_benoit_1895_b:"benoit-1895-b-feet",chain_benoit_1895_b:"benoit-1895-b-chains",link_benoit_1895_b:"benoit-1895-b-links",foot_1865:"1865-feet",foot_indian:"indian-feet",foot_indian_1937:"indian-1937-feet",foot_indian_1962:"indian-1962-feet",foot_indian_1975:"indian-1975-feet",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",yard_indian_1962:"indian-1962-yards",yard_indian_1975:"indian-1975-yards",statute_mile:"statute-miles",foot_gold_coast:"gold-coast-feet",foot_british_1936:"british-1936-feet",yard:"yards",chain:"chains",link:"links",yard_sears_1922_truncated:"sears-1922-truncated-yards",foot_sears_1922_truncated:"sears-1922-truncated-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains",link_sears_1922_truncated:"sears-1922-truncated-links",yard_us:"us-yards",inch:"inches",inch_us:"us-inches",rod:"rods",rod_us:"us-rods",nautical_mile_us:"us-nautical-miles",nautical_mile_uk:"uk-nautical-miles",smoot:"smoots",vara_tx:"tx-vara",point:"points"}),P=e=>e*e,p=e=>e*e*e,h={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},meters:{inBaseUnits:1},feet:{inBaseUnits:.3048},"us-feet":{inBaseUnits:.3048006096012192},"clarke-feet":{inBaseUnits:.3047972654},fathoms:{inBaseUnits:1.8288},"nautical-miles":{inBaseUnits:1852},"german-meters":{inBaseUnits:1.0000135965},"us-chains":{inBaseUnits:20.11684023368047},"us-links":{inBaseUnits:.2011684023368047},"us-miles":{inBaseUnits:1609.347218694438},kilometers:{inBaseUnits:1e3},"clarke-yards":{inBaseUnits:.9143917962},"clarke-chains":{inBaseUnits:20.1166195164},"clarke-links":{inBaseUnits:.201166195164},"sears-yards":{inBaseUnits:.9143984146160287},"sears-feet":{inBaseUnits:.3047994715386762},"sears-chains":{inBaseUnits:20.11676512155263},"sears-links":{inBaseUnits:.2011676512155263},"benoit-1895-a-yards":{inBaseUnits:.9143992},"benoit-1895-a-feet":{inBaseUnits:.3047997333333333},"benoit-1895-a-chains":{inBaseUnits:20.1167824},"benoit-1895-a-links":{inBaseUnits:.201167824},"benoit-1895-b-yards":{inBaseUnits:.9143992042898124},"benoit-1895-b-feet":{inBaseUnits:.3047997347632708},"benoit-1895-b-chains":{inBaseUnits:20.11678249437587},"benoit-1895-b-links":{inBaseUnits:.2011678249437587},"1865-feet":{inBaseUnits:.3048008333333334},"indian-feet":{inBaseUnits:.3047995102481469},"indian-1937-feet":{inBaseUnits:.30479841},"indian-1962-feet":{inBaseUnits:.3047996},"indian-1975-feet":{inBaseUnits:.3047995},"indian-yards":{inBaseUnits:.9143985307444408},"indian-1937-yards":{inBaseUnits:.91439523},"indian-1962-yards":{inBaseUnits:.9143988},"indian-1975-yards":{inBaseUnits:.9143985},miles:{inBaseUnits:1609.344},"statute-miles":{inBaseUnits:1609.344},"gold-coast-feet":{inBaseUnits:.3047997101815088},"british-1936-feet":{inBaseUnits:.3048007491},yards:{inBaseUnits:.9144},chains:{inBaseUnits:20.1168},links:{inBaseUnits:.201168},"sears-1922-truncated-yards":{inBaseUnits:.914398},"sears-1922-truncated-feet":{inBaseUnits:.3047993333333334},"sears-1922-truncated-chains":{inBaseUnits:20.116756},"sears-1922-truncated-links":{inBaseUnits:.20116756},"us-yards":{inBaseUnits:.9144018288036576},decimeters:{inBaseUnits:.1},inches:{inBaseUnits:.0254},"us-inches":{inBaseUnits:.0254000508001016},rods:{inBaseUnits:5.0292},"us-rods":{inBaseUnits:5.029210058420118},"us-nautical-miles":{inBaseUnits:1853.248},"uk-nautical-miles":{inBaseUnits:1853.184},smoots:{inBaseUnits:1.7018},"tx-vara":{inBaseUnits:.8466683600033867},points:{inBaseUnits:.0003527777777777778},micrometers:{inBaseUnits:1e-6},nanometers:{inBaseUnits:1e-9},"50-kilometers":{inBaseUnits:5e4},"150-kilometers":{inBaseUnits:15e4}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:P(.001)},"square-centimeters":{inBaseUnits:P(.01)},"square-decimeters":{inBaseUnits:P(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:P(1e3)},"square-inches":{inBaseUnits:P(.0254)},"square-feet":{inBaseUnits:P(.3048)},"square-yards":{inBaseUnits:P(.9144)},"square-miles":{inBaseUnits:P(1609.344)},"square-nautical-miles":{inBaseUnits:P(1852)},"square-us-feet":{inBaseUnits:P(1200/3937)},acres:{inBaseUnits:.0015625*P(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},megaliters:{inBaseUnits:1e6},gigaliters:{inBaseUnits:1e9},"cubic-millimeters":{inBaseUnits:1e3*p(.001)},"cubic-centimeters":{inBaseUnits:1e3*p(.01)},"cubic-decimeters":{inBaseUnits:1e3*p(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*p(1e3)},"cubic-inches":{inBaseUnits:1e3*p(.0254)},"cubic-feet":{inBaseUnits:1e3*p(.3048)},"cubic-yards":{inBaseUnits:1e3*p(.9144)},"cubic-miles":{inBaseUnits:1e3*p(1609.344)},"cubic-us-feet":{inBaseUnits:1e3*p(1200/3937)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},S=(()=>{const e={};for(const t in h)for(const r in h[t].units)e[r]=t;return e})(),E=["metric","imperial","inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],g=new Map([["meters","square-meters"],["feet","square-feet"],["us-feet","square-us-feet"]]);function y(e){const t=S[e];if(!t)throw new Error("unknown type");return t}function T(e,t=null){return t=t||y(e),h[t].baseUnit===e}function M(e,t,r){if(t===r)return e;const n=y(t);if(n!==y(r))throw new Error("incompatible units");const o=T(t,n)?e:function(e,t,r){return e*h[r].units[t].inBaseUnits}(e,t,n);return T(r,n)?o:function(e,t,r){return e/h[r].units[t].inBaseUnits}(o,r,n)}function G(e,t,r,n=!1){if(!n&&(0,a.EA)(t))throw new Error("Unable to convert from an angular unit to a linear unit.");const o=B(t);return o!==r&&(e=o?M(e,o,r):M(e*=C(t),"meters",r)),e}function O(e,t,r,n=!1){if(!n&&(0,a.EA)(r))throw new Error("Unable to convert from a linear unit to an angular unit.");const o=B(r);return t!==o&&(e=o?M(e,t,o):M(e,t,"meters")/C(r)),e}function A(e,t,r){return M(e,t,"meters")/(r*Math.PI/180)}function U(e){return m.fromJSON(e.toLowerCase())||null}function N(e){const t=(e?.latestVcsWkid?s.B.get(e.latestVcsWkid):null)??(e?.vcsWkid?s.B.get(e.vcsWkid):null);return t?t.unit.conversionFactor:null==e||(0,o.B3)(e)?R(e,!1)??1:1}function D(e){const t=(e?.latestVcsWkid?s.B.get(e.latestVcsWkid):null)??(e?.vcsWkid?s.B.get(e.vcsWkid):null);return t?U(t.unit.name):C(e)>=(0,o.tO)(e).metersPerDegree?"meters":B(e)}function C(e,t=i.$O.metersPerDegree){return R(e,!0)??t}function R(e,t=!1){const r=e?.wkid??null,n=e?.wkt2??e?.wkt??null;let o=null;if(r){if((0,a.tl)(r))return i.sH.metersPerDegree;if((0,a.ZL)(r))return i.Sw.metersPerDegree;o=c.values[c[r]],!o&&t&&d.has(r)&&(o=l)}else n&&(F(n)?o=w(f.exec(n),o):v(n)&&(o=w(u.exec(n),o)));return o}function k(e){return(0,a.EA)(e)?1:C(e)}function w(e,t){return e?.[1]?I(e[1]):t}function I(e){return parseFloat(e.split(",")[1])}function B(e){const t=e?.wkid??null,r=e?.wkt2??e?.wkt??null;let n=null;if(t)n=c.units[c[t]];else if(r){const e=F(r)?f:v(r)?u:null;if(e){const t=e.exec(r);t?.[1]&&(n=function(e){const t=/[\\"']([^\\"']+)/.exec(e);let r=t?.[1];if(!r||!U(r)){const t=I(e);r=null;const n=c.values;for(let e=0;e<n.length;++e)if(Math.abs(t-n[e])<1e-7){r=c.units[e];break}}return r}(t[1]))}}return null!=n?U(n):null}function b(e){const t=D(e);return null!=t&&E.includes(t)?t:null}function L(e){const t=B(e);return null==t?null:g.get(t)}function v(e){return/^GEOCCS/i.test(e)}function F(e){return/^\s*(?:PROJCS|PROJCRS|PROJECTEDCRS)/i.test(e)}const W=(0,n.O)()({esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"}),H=(0,n.O)()({esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"}),V=(0,n.O)()({esriDUDecimalDegrees:"degrees",esriDURadians:"radians"});function Y(e){switch(e){case"metric":case"ares":case"hectares":return"metric";case"imperial":case"acres":return"imperial";case"square-inches":return"inches";case"square-feet":return"feet";case"square-yards":return"yards";case"square-miles":return"miles";case"square-nautical-miles":return"nautical-miles";case"square-us-feet":return"us-feet";case"square-millimeters":return"millimeters";case"square-centimeters":return"centimeters";case"square-decimeters":return"decimeters";case"square-meters":return"meters";case"square-kilometers":return"kilometers"}throw new Error("unhandled area unit")}r.d(t,["Sk",0,H,"b$",0,V,"dk",0,W,"yD",0,d])},16930(e,t,r){r.d(t,{A:()=>m});var n,o=r(32198),i=r(69622),a=r(25482),s=r(4718),_=r(86211),l=r(78888),f=r(10107),c=r(64108),u=r(43937),d=r(21325);let m=class extends a.o{static{n=this}static{this.GCS_NAD_1927=null}static{this.WGS84=null}static{this.WebMercator=null}static{this.PlateCarree=null}static fromJSON(e){if(!e)return null;if(102100===e.wkid||4326===e.wkid){const t=Object.keys(e).length;if(1===t||102100===e.wkid&&3857===e.latestWkid&&2===t)return 102100===e.wkid?n.WebMercator:n.WGS84}const t=new n;return t.read(e),t}constructor(e){super(e),this.latestWkid=null,this.wkid=null,this.wkt=null,this.wkt2=null,this.vcsWkid=null,this.latestVcsWkid=null,this.falseM=null,this.falseX=null,this.falseY=null,this.falseZ=null,this.mTolerance=null,this.mUnits=null,this.xyTolerance=null,this.xyUnits=null,this.zTolerance=null,this.zUnits=null,this.imageCoordinateSystem=null}normalizeCtorArgs(e){return e&&"object"==typeof e?e:"string"==typeof e?{wkt:e}:{wkid:e}}get cache(){return this.commitProperty("wkid"),this.commitProperty("latestWkid"),this.commitProperty("vcsWkid"),this.commitProperty("latestVcsWkid"),this.commitProperty("wkt"),this.commitProperty("wkt2"),this.commitProperty("imageCoordinateSystem"),this.commitProperty("falseM"),this.commitProperty("falseX"),this.commitProperty("falseY"),this.commitProperty("falseZ"),this.commitProperty("mTolerance"),this.commitProperty("mUnits"),this.commitProperty("xyTolerance"),this.commitProperty("xyUnits"),this.commitProperty("zTolerance"),this.commitProperty("zUnits"),{}}get isWGS84(){return(0,d.oT)(this)}get isWebMercator(){return(0,d.K8)(this)}get isGeographic(){return(0,d.EA)(this)}get isWrappable(){return(0,d.d9)(this)}get metersPerUnit(){return(0,_.GA)(this)}get unit(){return(0,_.Ij)(this)||(this.isGeographic?"degrees":null)}writeWkt(e,t){this.wkid||(t.wkt=e)}clone(){if(this===n.WGS84)return new n(d.KK);if(this===n.WebMercator)return new n(d.ch);const e=new n;return null!=this.wkid?(e.wkid=this.wkid,null!=this.latestWkid&&(e.latestWkid=this.latestWkid),null!=this.vcsWkid&&(e.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(e.latestVcsWkid=this.latestVcsWkid)):(null!=this.wkt&&(e.wkt=this.wkt),null!=this.wkt2&&(e.wkt2=this.wkt2)),this.imageCoordinateSystem&&(e.imageCoordinateSystem=(0,s.o8)(this.imageCoordinateSystem)),null!=this.falseM&&(e.falseM=this.falseM),null!=this.falseX&&(e.falseX=this.falseX),null!=this.falseY&&(e.falseY=this.falseY),null!=this.falseZ&&(e.falseZ=this.falseZ),null!=this.mTolerance&&(e.mTolerance=this.mTolerance),null!=this.mUnits&&(e.mUnits=this.mUnits),null!=this.xyTolerance&&(e.xyTolerance=this.xyTolerance),null!=this.xyUnits&&(e.xyUnits=this.xyUnits),null!=this.zTolerance&&(e.zTolerance=this.zTolerance),null!=this.zUnits&&(e.zUnits=this.zUnits),e}equals(e){if(null==e)return!1;if(this.imageCoordinateSystem||e.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==e.imageCoordinateSystem)return!1;const{id:t,referenceServiceName:r}=e.imageCoordinateSystem,{geodataXform:n}=e.imageCoordinateSystem,o=this.imageCoordinateSystem;return null==t||n?JSON.stringify(o)===JSON.stringify(e.imageCoordinateSystem):r?o.id===t&&o.referenceServiceName===r:o.id===t}return(0,d.aI)(this,e)}toJSON(e){return this.write(void 0,e)}};(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isWGS84",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isWebMercator",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isGeographic",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"isWrappable",null),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0}})],m.prototype,"latestWkid",void 0),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"metersPerUnit",null),(0,o.Cg)([(0,f.MZ)({readOnly:!0})],m.prototype,"unit",null),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkt}}}}}}})],m.prototype,"wkid",void 0),(0,o.Cg)([(0,f.MZ)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkid}}}}}}})],m.prototype,"wkt",void 0),(0,o.Cg)([(0,u.K)("wkt"),(0,u.K)("web-scene","wkt")],m.prototype,"writeWkt",null),(0,o.Cg)([(0,f.MZ)({type:String,json:{write:!1}})],m.prototype,"wkt2",void 0),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0}})],m.prototype,"vcsWkid",void 0),(0,o.Cg)([(0,f.MZ)({type:l.jz,json:{write:!0}})],m.prototype,"latestVcsWkid",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseM",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseX",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseY",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"falseZ",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"mTolerance",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"mUnits",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"xyTolerance",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"xyUnits",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"zTolerance",void 0),(0,o.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],m.prototype,"zUnits",void 0),(0,o.Cg)([(0,f.MZ)()],m.prototype,"imageCoordinateSystem",void 0),m=n=(0,o.Cg)([(0,c.$)("esri.geometry.SpatialReference")],m),m.prototype.toJSON.isDefaultToJSON=!0,m.GCS_NAD_1927=i.A.freeze(new m({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'})),m.WGS84=i.A.freeze(new m(d.KK)),m.WebMercator=i.A.freeze(new m(d.ch)),m.PlateCarree=i.A.freeze(new m(d.tQ))},73941(e,t,r){r.d(t,{B3:()=>p,KQ:()=>S,jA:()=>m,q8:()=>h,tO:()=>u,xP:()=>P,y7:()=>d});var n=r(79258),o=r(21325);function i(e){return{wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`}}const a=i(n.$O),s=i(n.sH),_=i(n.Sw),l={wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${n.$O.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`},f=s.wkt.toUpperCase(),c=_.wkt.toUpperCase();function u(e){if(null!=e&&(0,o.fn)(e)){const t=e.wkid,r=e.wkt2??e.wkt;if((0,o.tl)(t))return n.sH;const i=r?.toUpperCase();if(r&&i===f)return n.sH;if((0,o.ZL)(t)||i&&i===c)return n.Sw}return n.$O}function d(e){return(0,o.tl)(e)?n.sH:(0,o.ZL)(e)?n.Sw:n.$O}function m(e){return(0,o.aI)(e,a)}function P(e){return m(e)||(0,o.aI)(e,s)||(0,o.aI)(e,_)}function p(e){return!(h(e)||S(e))}function h(e){return(0,o.tl)(e?.wkid)||(0,o.aI)(e,s)}function S(e){return(0,o.ZL)(e?.wkid)||(0,o.aI)(e,_)}Math.cos(Math.PI/16/16),r.d(t,["FY",0,s,"LJ",0,_,"Ro",0,l,"fv",0,a])},79258(e,t,r){class n{constructor(e,t,r,n,o,i){this.semiMajorAxis=e,this.flattening=t,this.outerAtmosphereRimWidth=r,this.atmosphereHeight=n,this.scaleHeight=o;const a=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*a,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=i||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const o=new n(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),i=new n(3396190,1/169.8944472236118,23e4,6e4,.111),a=new n(1737400,0,0,0,0);r.d(t,["$O",0,o,"Sw",0,a,"sH",0,i])},22530(e,t,r){let n;const o={values:[.001,1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Millimeter","Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:6,2136:13,2155:3,2157:1,2158:1,2159:13,2160:13,2204:3,2219:1,2220:1,2254:3,2255:3,2256:2,2265:2,2266:2,2267:3,2268:3,2269:2,2270:2,2271:3,2272:3,2273:2,2294:1,2295:1,2314:4,2899:3,2900:3,2901:2,2909:2,2910:2,2911:3,2912:3,2913:2,2914:2,2992:2,2993:1,2994:2,3080:2,3089:3,3090:1,3091:3,3102:3,3141:1,3142:1,3167:15,3359:3,3360:1,3361:2,3362:1,3363:3,3364:1,3365:3,3366:4,3404:3,3405:1,3406:1,3407:4,3439:1,3440:1,3479:2,3480:1,3481:2,3482:1,3483:2,3484:1,3485:3,3486:1,3487:3,3488:1,3489:1,3490:3,3491:1,3492:3,3493:1,3494:3,3495:1,3496:3,3497:1,3498:3,3499:1,3500:3,3501:1,3502:3,3503:1,3504:3,3505:1,3506:3,3507:1,3508:3,3509:1,3510:3,3511:1,3512:3,3513:1,3514:1,3515:3,3516:1,3517:3,3518:1,3519:3,3520:1,3521:3,3522:1,3523:3,3524:1,3525:3,3526:1,3527:3,3528:1,3529:3,3530:1,3531:3,3532:1,3533:3,3534:1,3535:3,3536:1,3537:3,3538:1,3539:3,3540:1,3541:3,3542:1,3543:3,3544:1,3545:3,3546:1,3547:3,3548:1,3549:3,3550:1,3551:3,3552:1,3553:3,3582:3,3583:1,3584:3,3585:1,3586:3,3587:1,3588:2,3589:1,3590:2,3591:1,3592:1,3593:2,3598:3,3599:1,3600:3,3605:2,3606:1,3607:1,3608:3,3609:1,3610:3,3611:1,3612:3,3613:1,3614:3,3615:1,3616:3,3617:1,3618:3,3619:1,3620:3,3621:1,3622:3,3623:1,3624:3,3625:1,3626:3,3627:1,3628:3,3629:1,3630:3,3631:1,3632:3,3633:1,3634:2,3635:1,3636:2,3640:3,3641:1,3642:3,3643:1,3644:2,3645:1,3646:2,3647:1,3648:2,3649:1,3650:3,3651:1,3652:3,3653:1,3654:3,3655:1,3656:2,3657:1,3658:3,3659:1,3660:3,3661:1,3662:3,3663:1,3664:3,3668:3,3669:1,3670:3,3671:1,3672:3,3673:1,3674:3,3675:1,3676:2,3677:3,3678:1,3679:2,3680:3,3681:1,3682:2,3683:3,3684:1,3685:1,3686:3,3687:1,3688:3,3689:1,3690:3,3691:1,3692:3,3696:3,3697:1,3698:3,3699:1,3700:3,3793:1,3794:1,3812:1,3854:1,3857:1,3920:1,3978:1,3979:1,3991:3,3992:3,4026:1,4037:1,4038:1,4071:1,4082:1,4083:1,4087:1,4088:1,4217:3,4414:1,4415:1,4417:1,4434:1,4437:1,4438:3,4439:3,4462:1,4467:1,4471:1,4474:1,4559:1,4647:1,4822:1,4826:1,4839:1,5018:1,5041:1,5042:1,5048:1,5221:1,5223:1,5234:1,5235:1,5243:1,5247:1,5266:1,5316:1,5320:1,5321:1,5325:1,5337:1,5361:1,5362:1,5367:1,5382:1,5383:1,5396:1,5456:1,5457:1,5469:1,5472:5,5490:1,5513:1,5514:1,5523:1,5559:1,5588:2,5589:4,5596:1,5627:1,5629:1,5641:1,5643:1,5644:1,5646:3,5654:3,5655:3,5659:1,5700:1,5825:1,5836:1,5837:1,5839:1,5842:1,5844:1,5858:1,5879:1,5880:1,5887:1,5890:1,6128:2,6129:2,6141:2,6204:1,6210:1,6211:1,6307:1,6312:1,6316:1,6362:1,6391:2,6405:2,6406:1,6407:2,6408:1,6409:2,6410:1,6411:3,6412:1,6413:3,6414:1,6415:1,6416:3,6417:1,6418:3,6419:1,6420:3,6421:1,6422:3,6423:1,6424:3,6425:1,6426:3,6427:1,6428:3,6429:1,6430:3,6431:1,6432:3,6433:1,6434:3,6435:1,6436:3,6437:1,6438:3,6439:1,6440:1,6441:3,6442:1,6443:3,6444:1,6445:3,6446:1,6447:3,6448:1,6449:3,6450:1,6451:3,6452:1,6453:3,6454:1,6455:3,6456:1,6457:3,6458:1,6459:3,6460:1,6461:3,6462:1,6463:3,6464:1,6465:3,6466:1,6467:3,6468:1,6469:3,6470:1,6471:3,6472:1,6473:3,6474:1,6475:3,6476:1,6477:3,6478:1,6479:3,6484:3,6485:1,6486:3,6487:1,6488:3,6489:1,6490:3,6491:1,6492:3,6493:1,6494:2,6495:1,6496:2,6497:1,6498:1,6499:2,6500:1,6501:3,6502:1,6503:3,6504:1,6505:3,6506:1,6507:3,6508:1,6509:1,6510:3,6515:2,6516:1,6518:1,6519:3,6520:1,6521:3,6522:1,6523:3,6524:1,6525:3,6526:1,6527:3,6528:1,6529:3,6530:1,6531:3,6532:1,6533:3,6534:1,6535:3,6536:1,6537:3,6538:1,6539:3,6540:1,6541:3,6542:1,6543:3,6544:1,6545:2,6546:1,6547:2,6548:1,6549:3,6550:1,6551:3,6552:1,6553:3,6554:1,6555:3,6556:1,6557:2,6558:1,6559:2,6560:1,6561:2,6562:1,6563:3,6564:1,6565:3,6566:1,6567:1,6568:3,6569:1,6570:2,6571:1,6572:3,6573:1,6574:3,6575:1,6576:3,6577:1,6578:3,6582:3,6583:1,6584:3,6585:1,6586:3,6587:1,6588:3,6589:1,6590:3,6591:1,6592:1,6593:3,6594:1,6595:3,6596:1,6597:3,6598:1,6599:3,6600:1,6601:3,6602:1,6603:3,6605:3,6606:1,6607:3,6608:1,6609:3,6610:1,6611:1,6612:3,6613:1,6614:3,6615:1,6616:3,6617:1,6618:3,6633:3,6646:1,6703:1,6784:1,6785:2,6786:1,6787:2,6788:1,6789:2,6790:1,6791:2,6792:1,6793:2,6794:1,6795:2,6796:1,6797:2,6798:1,6799:2,6800:1,6801:2,6802:1,6803:2,6804:1,6805:2,6806:1,6807:2,6808:1,6809:2,6810:1,6811:2,6812:1,6813:2,6814:1,6815:2,6816:1,6817:2,6818:1,6819:2,6820:1,6821:2,6822:1,6823:2,6824:1,6825:2,6826:1,6827:2,6828:1,6829:2,6830:1,6831:2,6832:1,6833:2,6834:1,6835:2,6836:1,6837:2,6838:1,6839:2,6840:1,6841:2,6842:1,6843:2,6844:1,6845:2,6846:1,6847:2,6848:1,6849:2,6850:1,6851:2,6852:1,6853:2,6854:1,6855:2,6856:1,6857:2,6858:1,6859:2,6860:1,6861:2,6862:1,6863:2,6867:1,6868:2,6870:1,6875:1,6876:1,6879:1,6880:3,6884:1,6885:2,6886:1,6887:2,6915:1,6922:1,6923:3,6924:1,6925:3,6962:1,6984:1,6991:1,7128:3,7131:1,7132:3,7142:1,7257:1,7258:3,7259:1,7260:3,7261:1,7262:3,7263:1,7264:3,7265:1,7266:3,7267:1,7268:3,7269:1,7270:3,7271:1,7272:3,7273:1,7274:3,7275:1,7276:3,7277:1,7278:3,7279:1,7280:3,7281:1,7282:3,7283:1,7284:3,7285:1,7286:3,7287:1,7288:3,7289:1,7290:3,7291:1,7292:3,7293:1,7294:3,7295:1,7296:3,7297:1,7298:3,7299:1,7300:3,7301:1,7302:3,7303:1,7304:3,7305:1,7306:3,7307:1,7308:3,7309:1,7310:3,7311:1,7312:3,7313:1,7314:3,7315:1,7316:3,7317:1,7318:3,7319:1,7320:3,7321:1,7322:3,7323:1,7324:3,7325:1,7326:3,7327:1,7328:3,7329:1,7330:3,7331:1,7332:3,7333:1,7334:3,7335:1,7336:3,7337:1,7338:3,7339:1,7340:3,7341:1,7342:3,7343:1,7344:3,7345:1,7346:3,7347:1,7348:3,7349:1,7350:3,7351:1,7352:3,7353:1,7354:3,7355:1,7356:3,7357:1,7358:3,7359:1,7360:3,7361:1,7362:3,7363:1,7364:3,7365:1,7366:3,7367:1,7368:3,7369:1,7370:3,7877:1,7878:1,7882:1,7883:1,7887:1,7899:1,7991:1,7992:1,8035:3,8036:3,8058:1,8059:1,8082:1,8083:1,8088:1,8090:1,8091:3,8092:1,8093:3,8095:1,8096:3,8097:1,8098:3,8099:1,8100:3,8101:1,8102:3,8103:1,8104:3,8105:1,8106:3,8107:1,8108:3,8109:1,8110:3,8111:1,8112:3,8113:1,8114:3,8115:1,8116:3,8117:1,8118:3,8119:1,8120:3,8121:1,8122:3,8123:1,8124:3,8125:1,8126:3,8127:1,8128:3,8129:1,8130:3,8131:1,8132:3,8133:1,8134:3,8135:1,8136:3,8137:1,8138:3,8139:1,8140:3,8141:1,8142:3,8143:1,8144:3,8145:1,8146:3,8147:1,8148:3,8149:1,8150:3,8151:1,8152:3,8153:1,8154:3,8155:1,8156:3,8157:1,8158:3,8159:1,8160:3,8161:1,8162:3,8163:1,8164:3,8165:1,8166:3,8167:1,8168:3,8169:1,8170:3,8171:1,8172:3,8173:1,8177:3,8179:1,8180:3,8181:1,8182:3,8184:1,8185:3,8187:1,8189:3,8191:1,8193:3,8196:1,8197:3,8198:1,8200:3,8201:1,8202:3,8203:1,8204:3,8205:1,8206:3,8207:1,8208:3,8209:1,8210:3,8212:1,8213:3,8214:1,8216:3,8218:1,8220:3,8222:1,8224:3,8225:1,8226:3,8311:1,8312:2,8313:1,8314:2,8315:1,8316:2,8317:1,8318:2,8319:1,8320:2,8321:1,8322:2,8323:1,8324:2,8325:1,8326:2,8327:1,8328:2,8329:1,8330:2,8331:1,8332:2,8333:1,8334:2,8335:1,8336:2,8337:1,8338:2,8339:1,8340:2,8341:1,8342:2,8343:1,8344:2,8345:1,8346:2,8347:1,8348:2,8352:1,8353:1,8379:1,8380:3,8381:1,8382:3,8383:1,8384:3,8385:1,8387:3,8391:1,8395:1,8433:1,8441:1,8455:1,8456:1,8531:3,8682:1,8686:1,8687:1,8692:1,8693:1,8826:1,8903:1,8950:1,8951:1,9039:1,9040:1,9141:1,9149:1,9150:1,9191:1,9221:1,9222:1,9249:1,9250:1,9252:1,9254:1,9265:1,9284:1,9285:1,9300:1,9354:1,9367:1,9373:1,9377:1,9387:1,9391:1,9456:1,9473:1,9498:1,9674:1,9678:1,9680:1,9709:1,9712:1,9713:1,9716:1,9741:1,9748:3,9749:3,9761:1,9766:1,9793:1,9794:1,9869:1,9874:1,9875:1,9880:1,9895:1,9943:1,9945:1,9947:1,9967:1,9972:1,9977:1,10160:1,10183:1,10188:1,10194:1,10199:1,10207:1,10212:1,10217:1,10222:1,10227:1,10235:1,10240:1,10250:1,10254:1,10270:1,10275:1,10280:1,10306:1,10329:1,10471:1,10477:1,10481:3,10516:3,10592:1,10594:1,10596:1,10598:1,10601:1,10603:1,10626:1,10632:1,10641:1,10665:1,10674:1,10699:1,10702:1,10744:1,10745:1,10759:1,10773:1,10801:1,10802:1,10820:1,10833:1,10836:1,10837:1,10851:1,10857:1,10863:1,10899:1,10917:1,10995:1,11341:1,11360:1,11361:2,11362:1,11363:2,11364:1,11365:2,11366:1,11367:2,11368:1,11369:2,11370:1,11371:2,11372:1,11373:2,11374:1,11375:2,11376:1,11377:2,20002:1,20042:1,20050:2,20499:1,20538:1,20539:1,20790:1,20791:1,21291:1,21292:1,21500:1,21817:1,21818:1,22032:1,22033:1,22091:1,22092:1,22239:1,22240:1,22332:1,22337:1,22338:1,22391:1,22392:1,22639:1,22700:1,22739:1,22770:1,22780:1,22832:1,23090:1,23095:1,23239:1,23240:1,23433:1,23700:1,24047:1,24048:1,24100:4,24200:1,24305:1,24306:1,24382:11,24383:1,24500:1,24547:1,24548:1,24571:10,24600:1,25e3:1,25231:1,25884:1,25932:1,26237:1,26331:1,26332:1,26432:1,26591:1,26592:1,26632:1,26692:1,27120:1,27200:1,27291:7,27292:7,27429:1,27492:1,27493:1,27500:1,28232:1,28600:1,28991:1,28992:1,29100:1,29101:1,29220:1,29221:1,29333:1,29635:1,29636:1,29701:1,29738:1,29739:1,29849:1,29850:1,29871:9,29872:8,29873:1,29874:1,30200:6,30339:1,30340:1,30591:1,30592:1,30791:1,30792:1,30800:1,31028:1,31121:1,31154:1,31170:1,31171:1,31370:1,31528:1,31529:1,31600:1,31700:1,31838:1,31839:1,31900:1,31901:1,32061:1,32062:1,32098:1,32099:3,32100:1,32104:1,32161:1,32766:1,53048:1,53049:1,65061:3,65062:3,102041:3,102064:12,102068:16,102069:17,102118:3,102119:2,102120:3,102121:3,102217:3,102218:1,102219:3,102220:3,102378:2,102379:2,102380:1,102381:2,102589:3,102599:3,102600:3,102604:3,102647:1,102704:3,102705:3,102706:1,102731:1,102732:1,102759:2,102760:2,102761:3,102762:1,102763:3,102764:1,102765:1,102766:3,102970:2,102974:3,102993:1,102994:1,102995:3,102996:3,103015:1,103016:3,103017:1,103018:3,103025:1,103026:1,103027:3,103028:3,103035:1,103036:1,103037:3,103038:3,103039:1,103040:1,103041:3,103042:3,103043:1,103044:1,103045:3,103046:3,103047:1,103048:1,103049:3,103050:3,103051:1,103052:3,103053:1,103054:3,103055:1,103056:3,103057:1,103058:1,103059:3,103060:3,103061:1,103062:1,103063:3,103064:3,103069:3,103070:1,103071:1,103072:3,103073:3,103086:1,103087:1,103088:3,103089:3,103094:2,103095:1,103096:3,103103:1,103104:3,103105:1,103106:3,103121:1,103122:3,103123:1,103124:1,103125:2,103126:2,103127:1,103128:1,103129:3,103130:3,103131:1,103132:1,103133:3,103134:3,103135:1,103136:1,103137:2,103138:2,103139:1,103140:3,103141:1,103142:3,103143:1,103144:3,103145:1,103146:2,103147:1,103148:1,103149:3,103150:3,103151:1,103152:3,103172:1,103173:3,103174:1,103175:1,103176:3,103177:3,103178:1,103179:1,103180:3,103181:3,103182:1,103183:1,103184:3,103185:3,103228:1,103229:1,103230:3,103231:3,103250:1,103251:3,103252:1,103253:3,103260:1,103261:1,103262:3,103263:3,103270:1,103271:1,103272:3,103273:3,103274:1,103275:1,103276:3,103277:3,103278:1,103279:1,103280:3,103281:3,103282:1,103283:1,103284:3,103285:3,103286:1,103287:3,103288:1,103289:3,103290:1,103291:3,103292:1,103293:1,103294:3,103295:3,103296:1,103297:1,103298:3,103299:3,103376:3,103377:1,103378:1,103379:3,103380:3,103393:1,103394:1,103395:3,103396:3,103472:1,103473:2,103474:1,103475:3,103482:1,103483:3,103484:1,103485:3,103500:1,103501:3,103502:1,103503:1,103504:2,103505:2,103506:1,103507:1,103508:3,103509:3,103510:1,103511:1,103512:3,103513:3,103514:1,103515:3,103516:1,103517:3,103518:1,103519:3,103520:1,103521:2,103522:1,103523:1,103524:3,103525:3,103526:1,103527:3,103561:3,103562:3,103563:1,103564:1,103565:3,103566:3,103567:1,103568:1,103569:3,103570:3,103584:1,103585:3,103586:1,103587:3,103588:2,103589:1,103590:3,103591:2,103592:1,103593:3,103594:2,103695:3,103897:2,103898:1,103899:1,103978:3,103979:1,103980:3,103981:1,103982:3,103986:3,103987:3,103988:1,103989:0,103990:3,103991:1,112111:1};for(n=2e3;n<=2045;n++)o[n]=1;for(n=2056;n<=2065;n++)o[n]=1;for(n=2067;n<=2135;n++)o[n]=1;for(n=2137;n<=2154;n++)o[n]=1;for(n=2161;n<=2170;n++)o[n]=1;for(n=2172;n<=2193;n++)o[n]=1;for(n=2195;n<=2198;n++)o[n]=1;for(n=2200;n<=2203;n++)o[n]=1;for(n=2205;n<=2217;n++)o[n]=1;for(n=2222;n<=2224;n++)o[n]=2;for(n=2225;n<=2250;n++)o[n]=3;for(n=2251;n<=2253;n++)o[n]=2;for(n=2257;n<=2264;n++)o[n]=3;for(n=2274;n<=2279;n++)o[n]=3;for(n=2280;n<=2282;n++)o[n]=2;for(n=2283;n<=2289;n++)o[n]=3;for(n=2290;n<=2292;n++)o[n]=1;for(n=2308;n<=2313;n++)o[n]=1;for(n=2315;n<=2491;n++)o[n]=1;for(n=2494;n<=2866;n++)o[n]=1;for(n=2867;n<=2869;n++)o[n]=2;for(n=2870;n<=2888;n++)o[n]=3;for(n=2891;n<=2895;n++)o[n]=3;for(n=2896;n<=2898;n++)o[n]=2;for(n=2902;n<=2908;n++)o[n]=3;for(n=2915;n<=2920;n++)o[n]=3;for(n=2921;n<=2923;n++)o[n]=2;for(n=2924;n<=2930;n++)o[n]=3;for(n=2931;n<=2962;n++)o[n]=1;for(n=2964;n<=2968;n++)o[n]=3;for(n=2969;n<=2973;n++)o[n]=1;for(n=2975;n<=2991;n++)o[n]=1;for(n=2995;n<=3051;n++)o[n]=1;for(n=3054;n<=3079;n++)o[n]=1;for(n=3081;n<=3088;n++)o[n]=1;for(n=3092;n<=3101;n++)o[n]=1;for(n=3106;n<=3138;n++)o[n]=1;for(n=3146;n<=3151;n++)o[n]=1;for(n=3153;n<=3166;n++)o[n]=1;for(n=3168;n<=3172;n++)o[n]=1;for(n=3174;n<=3203;n++)o[n]=1;for(n=3294;n<=3358;n++)o[n]=1;for(n=3367;n<=3403;n++)o[n]=1;for(n=3408;n<=3416;n++)o[n]=1;for(n=3417;n<=3438;n++)o[n]=3;for(n=3441;n<=3446;n++)o[n]=3;for(n=3447;n<=3450;n++)o[n]=1;for(n=3451;n<=3459;n++)o[n]=3;for(n=3460;n<=3478;n++)o[n]=1;for(n=3554;n<=3559;n++)o[n]=1;for(n=3560;n<=3570;n++)o[n]=3;for(n=3571;n<=3581;n++)o[n]=1;for(n=3594;n<=3597;n++)o[n]=1;for(n=3601;n<=3604;n++)o[n]=1;for(n=3637;n<=3639;n++)o[n]=1;for(n=3665;n<=3667;n++)o[n]=1;for(n=3693;n<=3695;n++)o[n]=1;for(n=3701;n<=3727;n++)o[n]=1;for(n=3728;n<=3739;n++)o[n]=3;for(n=3740;n<=3751;n++)o[n]=1;for(n=3753;n<=3760;n++)o[n]=3;for(n=3761;n<=3773;n++)o[n]=1;for(n=3775;n<=3777;n++)o[n]=1;for(n=3779;n<=3781;n++)o[n]=1;for(n=3783;n<=3785;n++)o[n]=1;for(n=3788;n<=3791;n++)o[n]=1;for(n=3797;n<=3802;n++)o[n]=1;for(n=3814;n<=3816;n++)o[n]=1;for(n=3825;n<=3829;n++)o[n]=1;for(n=3832;n<=3841;n++)o[n]=1;for(n=3844;n<=3852;n++)o[n]=1;for(n=3873;n<=3885;n++)o[n]=1;for(n=3890;n<=3893;n++)o[n]=1;for(n=3907;n<=3912;n++)o[n]=1;for(n=3942;n<=3950;n++)o[n]=1;for(n=3968;n<=3970;n++)o[n]=1;for(n=3973;n<=3976;n++)o[n]=1;for(n=3986;n<=3989;n++)o[n]=1;for(n=3994;n<=3997;n++)o[n]=1;for(n=4048;n<=4051;n++)o[n]=1;for(n=4056;n<=4063;n++)o[n]=1;for(n=4093;n<=4096;n++)o[n]=1;for(n=4390;n<=4398;n++)o[n]=1;for(n=4399;n<=4413;n++)o[n]=3;for(n=4418;n<=4433;n++)o[n]=3;for(n=4455;n<=4457;n++)o[n]=3;for(n=4484;n<=4489;n++)o[n]=1;for(n=4491;n<=4554;n++)o[n]=1;for(n=4568;n<=4589;n++)o[n]=1;for(n=4652;n<=4656;n++)o[n]=1;for(n=4766;n<=4800;n++)o[n]=1;for(n=5014;n<=5016;n++)o[n]=1;for(n=5069;n<=5072;n++)o[n]=1;for(n=5105;n<=5130;n++)o[n]=1;for(n=5167;n<=5188;n++)o[n]=1;for(n=5253;n<=5259;n++)o[n]=1;for(n=5269;n<=5275;n++)o[n]=1;for(n=5292;n<=5311;n++)o[n]=1;for(n=5329;n<=5331;n++)o[n]=1;for(n=5343;n<=5349;n++)o[n]=1;for(n=5355;n<=5357;n++)o[n]=1;for(n=5387;n<=5389;n++)o[n]=1;for(n=5459;n<=5463;n++)o[n]=1;for(n=5479;n<=5482;n++)o[n]=1;for(n=5518;n<=5520;n++)o[n]=1;for(n=5530;n<=5539;n++)o[n]=1;for(n=5550;n<=5552;n++)o[n]=1;for(n=5562;n<=5583;n++)o[n]=1;for(n=5623;n<=5625;n++)o[n]=3;for(n=5631;n<=5639;n++)o[n]=1;for(n=5649;n<=5653;n++)o[n]=1;for(n=5663;n<=5680;n++)o[n]=1;for(n=5682;n<=5685;n++)o[n]=1;for(n=5875;n<=5877;n++)o[n]=1;for(n=5896;n<=5899;n++)o[n]=1;for(n=5921;n<=5940;n++)o[n]=1;for(n=6050;n<=6125;n++)o[n]=1;for(n=6244;n<=6275;n++)o[n]=1;for(n=6328;n<=6348;n++)o[n]=1;for(n=6350;n<=6356;n++)o[n]=1;for(n=6366;n<=6372;n++)o[n]=1;for(n=6381;n<=6387;n++)o[n]=1;for(n=6393;n<=6404;n++)o[n]=1;for(n=6480;n<=6483;n++)o[n]=1;for(n=6511;n<=6514;n++)o[n]=1;for(n=6579;n<=6581;n++)o[n]=1;for(n=6619;n<=6624;n++)o[n]=1;for(n=6625;n<=6627;n++)o[n]=3;for(n=6628;n<=6632;n++)o[n]=1;for(n=6634;n<=6637;n++)o[n]=1;for(n=6669;n<=6692;n++)o[n]=1;for(n=6707;n<=6709;n++)o[n]=1;for(n=6720;n<=6723;n++)o[n]=1;for(n=6732;n<=6738;n++)o[n]=1;for(n=6931;n<=6933;n++)o[n]=1;for(n=6956;n<=6959;n++)o[n]=1;for(n=7005;n<=7007;n++)o[n]=1;for(n=7057;n<=7070;n++)o[n]=3;for(n=7074;n<=7082;n++)o[n]=1;for(n=7109;n<=7118;n++)o[n]=1;for(n=7119;n<=7127;n++)o[n]=2;for(n=7374;n<=7376;n++)o[n]=1;for(n=7528;n<=7586;n++)o[n]=1;for(n=7587;n<=7645;n++)o[n]=3;for(n=7692;n<=7696;n++)o[n]=1;for(n=7755;n<=7787;n++)o[n]=1;for(n=7791;n<=7795;n++)o[n]=1;for(n=7799;n<=7801;n++)o[n]=1;for(n=7803;n<=7805;n++)o[n]=1;for(n=7825;n<=7831;n++)o[n]=1;for(n=7845;n<=7859;n++)o[n]=1;for(n=8013;n<=8032;n++)o[n]=1;for(n=8065;n<=8068;n++)o[n]=2;for(n=8518;n<=8529;n++)o[n]=3;for(n=8533;n<=8536;n++)o[n]=3;for(n=8538;n<=8540;n++)o[n]=3;for(n=8677;n<=8679;n++)o[n]=1;for(n=8836;n<=8840;n++)o[n]=1;for(n=8857;n<=8859;n++)o[n]=1;for(n=8908;n<=8910;n++)o[n]=1;for(n=9154;n<=9159;n++)o[n]=1;for(n=9205;n<=9218;n++)o[n]=1;for(n=9271;n<=9273;n++)o[n]=1;for(n=9295;n<=9297;n++)o[n]=1;for(n=9356;n<=9360;n++)o[n]=1;for(n=9404;n<=9407;n++)o[n]=1;for(n=9476;n<=9482;n++)o[n]=1;for(n=9487;n<=9494;n++)o[n]=1;for(n=9697;n<=9699;n++)o[n]=1;for(n=9821;n<=9865;n++)o[n]=1;for(n=10285;n<=10291;n++)o[n]=1;for(n=10314;n<=10317;n++)o[n]=1;for(n=10448;n<=10465;n++)o[n]=1;for(n=10726;n<=10729;n++)o[n]=1;for(n=10731;n<=10733;n++)o[n]=1;for(n=10792;n<=10795;n++)o[n]=1;for(n=10911;n<=10916;n++)o[n]=3;for(n=10921;n<=10926;n++)o[n]=1;for(n=10942;n<=10949;n++)o[n]=1;for(n=11114;n<=11118;n++)o[n]=1;for(n=11266;n<=11272;n++)o[n]=1;for(n=11277;n<=11284;n++)o[n]=1;for(n=20004;n<=20032;n++)o[n]=1;for(n=20047;n<=20049;n++)o[n]=1;for(n=20062;n<=20092;n++)o[n]=1;for(n=20135;n<=20138;n++)o[n]=1;for(n=20248;n<=20258;n++)o[n]=1;for(n=20348;n<=20358;n++)o[n]=1;for(n=20436;n<=20440;n++)o[n]=1;for(n=20822;n<=20824;n++)o[n]=1;for(n=20904;n<=20932;n++)o[n]=1;for(n=20934;n<=20936;n++)o[n]=1;for(n=21004;n<=21032;n++)o[n]=1;for(n=21035;n<=21037;n++)o[n]=1;for(n=21095;n<=21097;n++)o[n]=1;for(n=21148;n<=21150;n++)o[n]=1;for(n=21207;n<=21264;n++)o[n]=1;for(n=21307;n<=21364;n++)o[n]=1;for(n=21413;n<=21423;n++)o[n]=1;for(n=21453;n<=21463;n++)o[n]=1;for(n=21473;n<=21483;n++)o[n]=1;for(n=21780;n<=21782;n++)o[n]=1;for(n=21891;n<=21894;n++)o[n]=1;for(n=21896;n<=21899;n++)o[n]=1;for(n=22171;n<=22177;n++)o[n]=1;for(n=22181;n<=22187;n++)o[n]=1;for(n=22191;n<=22197;n++)o[n]=1;for(n=22207;n<=22222;n++)o[n]=1;for(n=22229;n<=22232;n++)o[n]=1;for(n=22234;n<=22236;n++)o[n]=1;for(n=22243;n<=22250;n++)o[n]=1;for(n=22262;n<=22265;n++)o[n]=1;for(n=22307;n<=22322;n++)o[n]=1;for(n=22348;n<=22357;n++)o[n]=1;for(n=22407;n<=22422;n++)o[n]=1;for(n=22462;n<=22465;n++)o[n]=1;for(n=22521;n<=22525;n++)o[n]=1;for(n=22607;n<=22622;n++)o[n]=1;for(n=22641;n<=22646;n++)o[n]=1;for(n=22648;n<=22657;n++)o[n]=1;for(n=22707;n<=22722;n++)o[n]=1;for(n=22762;n<=22765;n++)o[n]=1;for(n=22807;n<=22822;n++)o[n]=1;for(n=22991;n<=22994;n++)o[n]=1;for(n=23028;n<=23038;n++)o[n]=1;for(n=23301;n<=23333;n++)o[n]=3;for(n=23830;n<=23853;n++)o[n]=1;for(n=23866;n<=23872;n++)o[n]=1;for(n=23877;n<=23884;n++)o[n]=1;for(n=23886;n<=23894;n++)o[n]=1;for(n=23946;n<=23948;n++)o[n]=1;for(n=24311;n<=24313;n++)o[n]=1;for(n=24342;n<=24347;n++)o[n]=1;for(n=24370;n<=24374;n++)o[n]=11;for(n=24375;n<=24381;n++)o[n]=1;for(n=24718;n<=24721;n++)o[n]=1;for(n=24817;n<=24821;n++)o[n]=1;for(n=24877;n<=24882;n++)o[n]=1;for(n=24891;n<=24893;n++)o[n]=1;for(n=25391;n<=25395;n++)o[n]=1;for(n=25828;n<=25838;n++)o[n]=1;for(n=26191;n<=26195;n++)o[n]=1;for(n=26391;n<=26393;n++)o[n]=1;for(n=26701;n<=26722;n++)o[n]=1;for(n=26729;n<=26799;n++)o[n]=3;for(n=26801;n<=26803;n++)o[n]=3;for(n=26811;n<=26813;n++)o[n]=3;for(n=26847;n<=26870;n++)o[n]=3;for(n=26891;n<=26899;n++)o[n]=1;for(n=26901;n<=26923;n++)o[n]=1;for(n=26929;n<=26946;n++)o[n]=1;for(n=26948;n<=26998;n++)o[n]=1;for(n=27037;n<=27040;n++)o[n]=1;for(n=27205;n<=27232;n++)o[n]=1;for(n=27258;n<=27260;n++)o[n]=1;for(n=27391;n<=27398;n++)o[n]=1;for(n=27561;n<=27564;n++)o[n]=1;for(n=27571;n<=27574;n++)o[n]=1;for(n=27581;n<=27584;n++)o[n]=1;for(n=27591;n<=27594;n++)o[n]=1;for(n=27700;n<=27707;n++)o[n]=1;for(n=28191;n<=28193;n++)o[n]=1;for(n=28348;n<=28358;n++)o[n]=1;for(n=28402;n<=28432;n++)o[n]=1;for(n=28462;n<=28492;n++)o[n]=1;for(n=29118;n<=29122;n++)o[n]=1;for(n=29168;n<=29172;n++)o[n]=1;for(n=29177;n<=29185;n++)o[n]=1;for(n=29187;n<=29195;n++)o[n]=1;for(n=29900;n<=29903;n++)o[n]=1;for(n=30161;n<=30179;n++)o[n]=1;for(n=30491;n<=30494;n++)o[n]=1;for(n=30729;n<=30732;n++)o[n]=1;for(n=31251;n<=31259;n++)o[n]=1;for(n=31265;n<=31268;n++)o[n]=1;for(n=31275;n<=31279;n++)o[n]=1;for(n=31281;n<=31297;n++)o[n]=1;for(n=31461;n<=31469;n++)o[n]=1;for(n=31491;n<=31495;n++)o[n]=1;for(n=31917;n<=31922;n++)o[n]=1;for(n=31965;n<=32e3;n++)o[n]=1;for(n=32001;n<=32003;n++)o[n]=3;for(n=32005;n<=32031;n++)o[n]=3;for(n=32033;n<=32060;n++)o[n]=3;for(n=32064;n<=32067;n++)o[n]=3;for(n=32074;n<=32077;n++)o[n]=3;for(n=32081;n<=32086;n++)o[n]=1;for(n=32107;n<=32130;n++)o[n]=1;for(n=32133;n<=32159;n++)o[n]=1;for(n=32164;n<=32167;n++)o[n]=3;for(n=32180;n<=32199;n++)o[n]=1;for(n=32201;n<=32260;n++)o[n]=1;for(n=32301;n<=32360;n++)o[n]=1;for(n=32401;n<=32460;n++)o[n]=1;for(n=32501;n<=32560;n++)o[n]=1;for(n=32601;n<=32662;n++)o[n]=1;for(n=32664;n<=32667;n++)o[n]=3;for(n=32701;n<=32761;n++)o[n]=1;for(n=53001;n<=53004;n++)o[n]=1;for(n=53008;n<=53019;n++)o[n]=1;for(n=53021;n<=53032;n++)o[n]=1;for(n=53034;n<=53037;n++)o[n]=1;for(n=53042;n<=53046;n++)o[n]=1;for(n=53074;n<=53080;n++)o[n]=1;for(n=54001;n<=54004;n++)o[n]=1;for(n=54008;n<=54019;n++)o[n]=1;for(n=54021;n<=54032;n++)o[n]=1;for(n=54034;n<=54037;n++)o[n]=1;for(n=54042;n<=54046;n++)o[n]=1;for(n=54048;n<=54053;n++)o[n]=1;for(n=54074;n<=54080;n++)o[n]=1;for(n=54090;n<=54096;n++)o[n]=1;for(n=54098;n<=54101;n++)o[n]=1;for(n=65161;n<=65163;n++)o[n]=1;for(n=102001;n<=102040;n++)o[n]=1;for(n=102042;n<=102063;n++)o[n]=1;for(n=102065;n<=102067;n++)o[n]=1;for(n=102070;n<=102117;n++)o[n]=1;for(n=102122;n<=102216;n++)o[n]=1;for(n=102221;n<=102377;n++)o[n]=1;for(n=102382;n<=102388;n++)o[n]=1;for(n=102389;n<=102398;n++)o[n]=3;for(n=102399;n<=102444;n++)o[n]=1;for(n=102445;n<=102447;n++)o[n]=3;for(n=102448;n<=102458;n++)o[n]=1;for(n=102459;n<=102468;n++)o[n]=3;for(n=102469;n<=102499;n++)o[n]=1;for(n=102500;n<=102519;n++)o[n]=2;for(n=102520;n<=102524;n++)o[n]=1;for(n=102525;n<=102529;n++)o[n]=3;for(n=102530;n<=102588;n++)o[n]=1;for(n=102590;n<=102598;n++)o[n]=1;for(n=102601;n<=102603;n++)o[n]=1;for(n=102605;n<=102628;n++)o[n]=1;for(n=102629;n<=102646;n++)o[n]=3;for(n=102648;n<=102700;n++)o[n]=3;for(n=102701;n<=102703;n++)o[n]=1;for(n=102707;n<=102730;n++)o[n]=3;for(n=102733;n<=102758;n++)o[n]=3;for(n=102767;n<=102900;n++)o[n]=1;for(n=102901;n<=102933;n++)o[n]=3;for(n=102934;n<=102950;n++)o[n]=14;for(n=102951;n<=102969;n++)o[n]=1;for(n=102971;n<=102973;n++)o[n]=1;for(n=102975;n<=102989;n++)o[n]=1;for(n=102990;n<=102992;n++)o[n]=2;for(n=102997;n<=103002;n++)o[n]=1;for(n=103003;n<=103008;n++)o[n]=3;for(n=103009;n<=103011;n++)o[n]=1;for(n=103012;n<=103014;n++)o[n]=3;for(n=103019;n<=103021;n++)o[n]=1;for(n=103022;n<=103024;n++)o[n]=3;for(n=103029;n<=103031;n++)o[n]=1;for(n=103032;n<=103034;n++)o[n]=3;for(n=103065;n<=103068;n++)o[n]=1;for(n=103074;n<=103076;n++)o[n]=1;for(n=103077;n<=103079;n++)o[n]=2;for(n=103080;n<=103082;n++)o[n]=1;for(n=103083;n<=103085;n++)o[n]=3;for(n=103090;n<=103093;n++)o[n]=1;for(n=103097;n<=103099;n++)o[n]=1;for(n=103100;n<=103102;n++)o[n]=3;for(n=103107;n<=103109;n++)o[n]=1;for(n=103110;n<=103112;n++)o[n]=3;for(n=103113;n<=103116;n++)o[n]=1;for(n=103117;n<=103120;n++)o[n]=3;for(n=103153;n<=103157;n++)o[n]=1;for(n=103158;n<=103162;n++)o[n]=3;for(n=103163;n<=103165;n++)o[n]=1;for(n=103166;n<=103168;n++)o[n]=2;for(n=103169;n<=103171;n++)o[n]=3;for(n=103186;n<=103188;n++)o[n]=1;for(n=103189;n<=103191;n++)o[n]=3;for(n=103192;n<=103195;n++)o[n]=1;for(n=103196;n<=103199;n++)o[n]=3;for(n=103200;n<=103224;n++)o[n]=1;for(n=103225;n<=103227;n++)o[n]=2;for(n=103232;n<=103237;n++)o[n]=1;for(n=103238;n<=103243;n++)o[n]=3;for(n=103244;n<=103246;n++)o[n]=1;for(n=103247;n<=103249;n++)o[n]=3;for(n=103254;n<=103256;n++)o[n]=1;for(n=103257;n<=103259;n++)o[n]=3;for(n=103264;n<=103266;n++)o[n]=1;for(n=103267;n<=103269;n++)o[n]=3;for(n=103300;n<=103375;n++)o[n]=1;for(n=103381;n<=103383;n++)o[n]=1;for(n=103384;n<=103386;n++)o[n]=2;for(n=103387;n<=103389;n++)o[n]=1;for(n=103390;n<=103392;n++)o[n]=3;for(n=103397;n<=103399;n++)o[n]=1;for(n=103400;n<=103471;n++)o[n]=3;for(n=103476;n<=103478;n++)o[n]=1;for(n=103479;n<=103481;n++)o[n]=3;for(n=103486;n<=103488;n++)o[n]=1;for(n=103489;n<=103491;n++)o[n]=3;for(n=103492;n<=103495;n++)o[n]=1;for(n=103496;n<=103499;n++)o[n]=3;for(n=103528;n<=103543;n++)o[n]=1;for(n=103544;n<=103548;n++)o[n]=3;for(n=103549;n<=103551;n++)o[n]=1;for(n=103552;n<=103554;n++)o[n]=2;for(n=103555;n<=103557;n++)o[n]=3;for(n=103558;n<=103560;n++)o[n]=1;for(n=103571;n<=103573;n++)o[n]=1;for(n=103574;n<=103576;n++)o[n]=3;for(n=103577;n<=103580;n++)o[n]=1;for(n=103581;n<=103583;n++)o[n]=3;for(n=103595;n<=103694;n++)o[n]=1;for(n=103696;n<=103699;n++)o[n]=1;for(n=103700;n<=103793;n++)o[n]=3;for(n=103794;n<=103890;n++)o[n]=1;for(n=103891;n<=103896;n++)o[n]=3;for(n=103900;n<=103971;n++)o[n]=3;for(n=103972;n<=103977;n++)o[n]=1;for(n=103983;n<=103985;n++)o[n]=1;for(n=112e3;n<=112101;n++)o[n]=1;for(n=112151;n<=112156;n++)o[n]=1;for(n=112201;n<=112210;n++)o[n]=1;for(n=112212;n<=112235;n++)o[n]=1;for(n=112236;n<=112323;n++)o[n]=3;r.d(t,["A",0,o])},21325(e,t,r){r.d(t,{EA:()=>m,K8:()=>S,Vp:()=>u,YX:()=>d,ZL:()=>y,aI:()=>c,d9:()=>T,fn:()=>M,jp:()=>p,oT:()=>P,r1:()=>E,tl:()=>g,x1:()=>h});var n=r(799),o=(r(83290),r(22530));const i=[102100,102113,3857,3785,900913],a=[4326,...i,104905,104971,104903],s=[-20037508.342788905,20037508.342788905],_=[-20037508.342787,20037508.342787],l={wkTemplate:'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',valid:s,origin:_,dx:1e-5},f={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:s,origin:_,dx:1e-5},102100:l,3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:s,origin:_,dx:1e-5},3857:l,4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},900913:l,104903:{wkTemplate:'GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0,AUTHORITY["ESRI","107903"]],AUTHORITY["ESRI","106903"]],PRIMEM["Reference_Meridian",0,AUTHORITY["ESRI","108900"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["ESRI","104903"]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function c(e,t){if(e===t)return!0;if(null==e||null==t)return!1;const r=e.wkid,n=t.wkid;if(null!=r||null!=n){if(r===n)return!0;if(S(e)&&S(t))return!0;const o=e.latestWkid;if(null!=o&&n===o)return!0;const i=t.latestWkid;if(null!=i&&r===i)return!0;if(null!=r&&null!=n)return!1}let o,i;return e.wkt2&&t.wkt2?(o=e.wkt2,i=t.wkt2):e.wkt&&t.wkt&&(o=e.wkt,i=t.wkt),!(!o||!i)&&o.toUpperCase()===i.toUpperCase()}function u(e){const t=e?.wkid;return null!=t&&t>=2e3&&f[t]||null}function d(e){if(!e)return;const{wkid:t,vcsWkid:r,falseM:n,falseX:o,falseY:i,falseZ:a,mTolerance:s,mUnits:_,xyTolerance:l,xyUnits:f,zTolerance:c,zUnits:u}=e;if(t&&[r,n,o,i,a,s,_,l,f,c,u].every(e=>null==e))return String(t);const d={wkid:t,wkt:t?void 0:e.wkt||e.wkt2,vcsWkid:r,falseM:n,falseX:o,falseY:i,falseZ:a,mTolerance:s,mUnits:_,xyTolerance:l,xyUnits:f,zTolerance:c,zUnits:u};for(const[e,t]of Object.entries(d))null===t&&delete d[e];return JSON.stringify(d)}function m(e){if(!M(e))return!1;const{wkid:t}=e;if(t)return null==o.A[t];const r=e.wkt2||e.wkt;return!!r&&/^\s*(?:GEOGCS|GEOGCRS|GEOGRAPHICCRS)/i.test(r)}function P(e){return 4326===e?.wkid}function p(e){return/^\s*(?:GEOD|GEODETIC|GEOG|GEOGRAPHIC|PROJ|PROJECTED|VERT|VERTICAL|ENG|ENGINEERING|PARAMETRIC|TIME|DERIVEDPROJ|COMPOUND|BOUND)CRS/i.test(e)}function h(e){return 4490===e?.wkid}function S(e){const t=e?.wkid;return null!=t&&t>=2e3&&i.includes(t)}function E(e){return 32662===e?.wkid}function g(e){return 104971===e||104905===e}function y(e){return 104903===e}function T(e){const t=e?.wkid;return null!=t&&t>=2e3&&a.includes(t)}function M(e){if(null==e)return!1;const t=e.wkid;return null!=t&&t>=2e3||null!=e.wkt2||null!=e.wkt}const G={wkid:4326,wkt:(0,n.HC)(f[4326].wkTemplate,{Central_Meridian:"0.0"})};r.d(t,["KK",0,G,"Mc",0,s,"ch",0,{wkid:102100,latestWkid:3857},"tQ",0,{wkid:32662}])},97348(e,t,r){r.d(t,{B:()=>u});const n=[3855,31,14,540,18,735,2,19,23,80,19,261,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,80,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,30,2,12,18,1,1,1,1,1,1,1,1,1,1,1,1,1,67,189,1,1,46,1,1,1,1,1,1,1,1,1,170,1,1,1,278,1,1,1,1,1,1,3,46,1,1,221,530,1,204,1,47,1,7,125,5,2,2,47,1,1,72,6,8,3,71,1,1,1,36,139,38,1,90,1,76,241,15,1,150,40,23,7,219,115,10,19,5,8,1,15,32,16,38,1,2,1,1,1,1,1,1,1,1,1,1,49,7,13,179,1,12,3,3,3,3,6,40,1,201,4,223,1,39,159,3,1,1,128,1,1,1,62,1,1,1,1,1,13,23,54,7,1,28,62,23,137,18,71,10,158,8843,34,1,1,85565,1,1,1,1,1,1,1,92,1,1,1,1,86,1,1,1,1,1,1,1,1,1,9901,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1],o=[287,1,2,4,15,107,3,143],i=[10,1,13,1,1,1,12,1,6,1,18,1,4,1,49,1,11,1,1,7,5,1,15,3,29,1,2,1,1,1,5,1,13,2,24,1,6,2,1,1,7,6,3,3,287],a=["Meter","Foot","Foot_US","Foot_British_1936"],s=[1,.3048,.3048006096012192,.3048007491],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,2,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=["EGM2008_Geoid","Fao_1979","N2000","New_Zealand_Vertical_Datum_2009","Dunedin_Bluff_1960","Korean_Vertical_Datum_1964","Trieste","Genoa","Sri_Lanka_Vertical_Datum","Faroe_Islands_Vertical_Reference_2009","Black_Sea","Fehmarnbelt_Vertical_Reference_2010","Nivellement_General_de_Polynesie_Francaise","IGN_1966","Moorea_SAU_1981","Raiatea_SAU_2001","Maupiti_SAU_2001","Huahine_SAU_2001","Tahaa_SAU_2001","Bora_Bora_SAU_2001","International_Great_Lakes_Datum_1955","International_Great_Lakes_Datum_1985","Croatian_Vertical_Reference_System_1971","Caspian_Sea","Baltic_Sea","Rikets_Hojdsystem_2000","KOC_Well_Datum","Rikets_Hojdsystem_1900","IGN_1988_LS","IGN_1988_MG","IGN_1992_LD","IGN_1988_SB","IGN_1988_SM","European_Vertical_Reference_Frame_2007","Ordnance_Datum_Newlyn","National_Geodetic_Vertical_Datum_1929","North_American_Vertical_Datum_1988","Yellow_Sea_1956","Normaal_Amsterdams_Peil","Oostende","Australian_Height_Datum","Australian_Height_Datum_Tasmania","Canadian_Geodetic_Vertical_Datum_of_1928","Mean_Sea_Level","Piraeus_Harbour_1986","Helsinki_1960","Rikets_Hojdsystem_1970","Nivellement_General_de_la_France_Lallemand","Nivellement_General_de_la_France_IGN69","Nivellement_General_de_la_France_IGN78","Maputo","Japanese_Standard_Levelling_Datum_1969","PDO_Height_Datum_1993","Fahud_Height_Datum","Ha_Tien_1960","Hon_Dau_1992","Landesnivellement_1902","Landeshohennetz_1995","European_Vertical_Reference_Frame_2000","Malin_Head","Belfast","Dansk_Normal_Nul","AIOC_1995","Yellow_Sea_1985","Hong_Kong_Principal_Datum","Hong_Kong_Chart_Datum","Ordnance_Datum_Newlyn_Orkney_Isles","Fair_Isle","Lerwick","Foula","Sule_Skerry","North_Rona","Stornoway","St_Kilda","Flannan_Isles","St_Marys","Douglas","Fao","Bandar_Abbas","Nivellement_General_de_Nouvelle_Caledonie","Poolbeg","Nivellement_General_Guyanais_1977","IGN_1987","IGN_1988","IGN_1989","Auckland","Bluff","Dunedin","Gisborne","Lyttelton","Moturiki","Napier","Nelson","One_Tree_Point","Tararu","Taranaki","Wellington","Chatham_Island","Stewart_Island","EGM96_Geoid","Nivellement_General_du_Luxembourg","Antalya","Norway_Normal_Null_1954","Durres","Gebrauchshohen_Adria","Slovenian_Vertical_System_2000","Cascais","Constanta","Alicante","Deutsches_Haupthoehennetz_1992","Deutsches_Haupthoehennetz_1985","SNN76","Baltic_1982","Baltic_1980","Kuwait_PWD","KOC_Construction_Datum","Nivellement_General_de_la_Corse_1948","Danger_1950","Mayotte_1950","Martinique_1955","Guadeloupe_1951","Lagos_1955","EGM84_Geoid","Dansk_Vertikal_Reference_1990_ensemble","Sea_Level","Ras_Ghumays","Lowest_Astronomic_Tide","Lower_Low_Water_Large_Tide","Indian_Spring_Low_Water","Mean_Lower_Low_Water_Spring_Tides","Mean_Low_Water_Spring_Tides","Mean_Lower_Low_Water","Mean_Low_Water","Mean_High_Water","Mean_Higher_High_Water","Mean_High_Water_Spring_Tides","Higher_High_Water_Large_Tide","Highest_Astronomic_Tide","Low_Water","High_Water","Norway_Normal_Null_2000","Grand_Cayman_Vertical_Datum_1954","Little_Cayman_Vertical_Datum_1961","Cayman_Brac_Vertical_Datum_1961","Cais_da_Pontinha-Funchal","Cais_da_Vila-Porto_Santo","Cais_das_Velas","Horta","Cais_da_Madalena","Santa_Cruz_da_Graciosa","Cais_da_Figueirinha-Angra_do_Heroismo","Santa_Cruz_das_Flores","Cais_da_Vila_do_Porto","Ponta_Delgada","Tutuila_Vertical_Datum_of_1962","Guam_Vertical_Datum_of_1963","Northern_Marianas_Vertical_Datum_of_2003","Puerto_Rico_Vertical_Datum_of_2002","Virgin_Islands_Vertical_Datum_of_2009","American_Samoa_Vertical_Datum_of_2002","Guam_Vertical_Datum_of_2004","Canadian_Geodetic_Vertical_Datum_of_2013","Japanese_Standard_Levelling_Datum_1972","Japanese_Geodetic_Datum_2000_vertical","Japanese_Geodetic_Datum_2011_vertical","Singapore_Height_Datum","Famagusta_1960","Papua_New_Guinea_2008","Kumul_34","Kiunga","Deutsches_Haupthoehennetz_1912","Latvian_Height_System_2000","Ordnance_Datum_Newlyn_(Offshore)","Port_Moresby_1996","Deutsches_Haupthoehennetz_2016","New_Zealand_Vertical_Datum_2016","Port_Moresby_2008","Jamestown_1971","St_Helena_Tritan_Vertical_Datum_2011","St_Helena_Vertical_Datum_2015","Landshaedarkerfi_Islands_2004","Greenland_Vertical_Reference_2000","Greenland_Vertical_Reference_2016","Baltic_1957","Macao_Height_Datum","Helsinki_1943","Slovenian_Vertical_System_2010","Serbian_Vertical_Reference_System_2012","MOMRA_Vertical_Geodetic_Control","Wiener_Null","Taiwan_Vertical_Datum_2001","Datum_Altimetrico_de_Costa_Rica_1952","IGN_2008_LD","Canadian_Geodetic_Vertical_Datum_of_2013_CGG2013a","Sistema_de_Referencia_Vertical_Nacional_2016","European_Vertical_Reference_Frame_2000_Austria","South_Africa_Land_Levelling_Datum","Lowest_Astronomical_Tide_Netherlands","Mean_Sea_Level_Netherlands","HS2_Vertical_Reference_Frame","Kingdom_of_Saudi_Arabia_Vertical_Reference_Frame_Jeddah_2014","Nivellement_General_de_Nouvelle_Caledonie_2008","European_Vertical_Reference_Frame_2019","European_Vertical_Reference_Frame_2019_mean_tide","Mallorca","Menorca","Ibiza","Lanzarote","Fuerteventura","Gran_Canaria","Tenerife","La_Gomera","La_Palma","El_Hierro","Ceuta_2","British_Isles_height_ensemble","Australian_Vertical_Working_Surface","Indonesian_Geoid_2020","Baltic_1986","European_Vertical_Reference_Frame_2007_Poland","Estonian_Height_System_2000","Lithuanian_Height_System_2007","Bulgarian_Height_System_2005","Norwegian_Chart_Datum","Local_Tidal_Datum_at_Pago_Pago_2020","National_Vertical_Datum_1992","Catania_1965","Cagliari_1956","GNTRANS","GNTRANS2016","Mean_Sea_Level_UK_Ireland_VORF08","Chart_Datum_UK_Ireland_VORF08","Nivellement_General_de_l_Algerie_2022","Chart_Datum_Portugal","Formentera","Alboran","Melilla","Dansk_Vertikal_Reference_1990","Dansk_Vertikal_Reference_1990_(2002)","Dansk_Vertikal_Reference_1990_(2013)","Dansk_Vertikal_Reference_1990_(2023)","Denmark_Mean_Sea_Level_(2022)","Denmark_Lowest_Astronomical_Tide_(2022)","Denmark_Mean_Sea_Level_(2023)","Denmark_Lowest_Astronomical_Tide_(2023)","Denmark_Mean_Sea_Level","Denmark_Lowest_Astronomical_Tide","Greenland_Local_Mean_Sea_Level_(2022)","Canadian_Geodetic_Vertical_Datum_of_1928_(Height_Transformation_version_2_0)","Saba_Vertical_Datum","Greenland_Mean_Sea_Level_(2023)","Greenland_Lowest_Astronomic_Tide_(2023)","Baltic_Sea_Chart_Datum_2000","Sint_Eustatius_Vertical_Datum","Bonaire_Vertical_Datum","Asse_vertical_datum_2025","Derived_California_Orthometric_Heights_of_1988_epoch_2025","London_Survey_Grid_height_datum","Svalbard_vertical_datum_2024","IGN_2023_Mayotte","Svalbard_vertical_datum_2006","Canadian_Geodetic_Vertical_Datum_of_2013_(CGG2013a)_epoch_2002","Canadian_Geodetic_Vertical_Datum_of_2013_(CGG2013a)_epoch_1997","Indonesian_Geoid_2020_version_2","Hellenic_Vertical_Datum","WGS_1984","Red_Espanola_de_Nivelacion_de_Alta_Precision","Japanese_Geodetic_Datum_2024_vertical","GRS_1980","WGS_1984_Geoid","Mean_Sea_Level_Hawaii","Qatari_Vertical_Datum","International_1924","CGCS2000","Bessel_1841","Krasovsky_1940","Everest_Adjustment_1937","Clarke_1866","PZ_1990","Unknown_height_system_(meters)","Unknown_height_system_(US_survey_feet)","Unknown_height_system_(Intl_feet)","GSK-2011","Australian","NWL_9D","WGS_1972"],f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,24,23,38,39,40,41,42,43,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,10,37,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,26,115,116,117,118,119,120,121,62,122,123,124,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,36,36,35,36,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,80,35,64,26,43,43,43,43,180,36,181,182,183,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,265,265,268,268,269,123,25,36,221,0,1,3,2,4,270,270,99,99,271,265,268,268,268,272,273,268,268,265,274,265,268,268,268,268,268,268,268,268,265,265,268,265,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,265,268,268,268,275,272,268,268,272,268,268,268,268,268,268,265,268,268,268,268,268,268,268,268,268,276,268,268,268,268,265,268,277,268,278,268,268,268,268,268,268,268,272,268,268,268,268,268,268,268,268,268,268,265,276,268,268,274,274,268,268,268,275,265,268,268,268,268,279,280,281,268,268,265,282,278,278,265,265,265,265,265,265,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,274,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,274,268,283,283,268,265,268,268,268,268,265,272,265,265,268,268,268,268,268,268,268,275,268,268,268,268,268,268,268,268,268,265,284,285,285,268,268,268,268,268,268,268,268,268,268,268,274,268,268,268,268,268,268,268,268,268,268,268,265,272,268,272,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268,268];function c(e){const t=[];let r=0;for(const n of e){for(let e=0;e<n;e++)t.push(r);r=1-r}return t}const u=function(){const e=function(e){const t=[];let r=0;for(const n of e)r+=n,t.push(r);return t}(n),t=c(o),r=c(i),u=a.map((e,t)=>({name:e,conversionFactor:s[t]})),d=new Map;for(let n=0;n<e.length;n++){const o=0===t[n]?0:1,i=0===r[n]?0:1,a=u[_[n]],s=l[f[n]];d.set(e[n],{type:o,direction:i,unit:a,datum:s})}return d}()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3981],{32488(t,e,n){n.d(e,{A:()=>M});const s=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["«","»"],["»","«"],["‹","›"],["›","‹"],["⁽","⁾"],["⁾","⁽"],["₍","₎"],["₎","₍"],["≤","≥"],["≥","≤"],["〈","〉"],["〉","〈"],["﹙","﹚"],["﹚","﹙"],["﹛","﹜"],["﹜","﹛"],["﹝","﹞"],["﹞","﹝"],["﹤","﹥"],["﹥","﹤"]],i=["آ","أ","إ","ا"],r=["ﻵ","ﻷ","ﻹ","ﻻ"],o=["ﻶ","ﻸ","ﻺ","ﻼ"],a=["ا","ب","ت","ث","ج","ح","خ","د","ذ","ر","ز","س","ش","ص","ض","ط","ظ","ع","غ","ف","ق","ك","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ی","ئ","ؤ"],h=["ﺍ","ﺏ","ﺕ","ﺙ","ﺝ","ﺡ","ﺥ","ﺩ","ﺫ","ﺭ","ﺯ","ﺱ","ﺵ","ﺹ","ﺽ","ﻁ","ﻅ","ﻉ","ﻍ","ﻑ","ﻕ","ﻙ","ﻝ","ﻡ","ﻥ","ﻩ","ﻭ","ﻱ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯼ","ﺉ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺉ","ﺅ"],l=["ﺎ","ﺐ","ﺖ","ﺚ","ﺞ","ﺢ","ﺦ","ﺪ","ﺬ","ﺮ","ﺰ","ﺲ","ﺶ","ﺺ","ﺾ","ﻂ","ﻆ","ﻊ","ﻎ","ﻒ","ﻖ","ﻚ","ﻞ","ﻢ","ﻦ","ﻪ","ﻮ","ﻲ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯽ","ﺊ","ﺆ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺊ","ﺆ"],c=["ﺎ","ﺒ","ﺘ","ﺜ","ﺠ","ﺤ","ﺨ","ﺪ","ﺬ","ﺮ","ﺰ","ﺴ","ﺸ","ﺼ","ﻀ","ﻄ","ﻈ","ﻌ","ﻐ","ﻔ","ﻘ","ﻜ","ﻠ","ﻤ","ﻨ","ﻬ","ﻮ","ﻴ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯿ","ﺌ","ﺆ","ﹱ","ﹲ","ﹴ","ﹷ","ﹹ","ﹻ","ﹽ","ﹿ","ﺀ","ﺌ","ﺆ"],u=["ﺍ","ﺑ","ﺗ","ﺛ","ﺟ","ﺣ","ﺧ","ﺩ","ﺫ","ﺭ","ﺯ","ﺳ","ﺷ","ﺻ","ﺿ","ﻃ","ﻇ","ﻋ","ﻏ","ﻓ","ﻗ","ﻛ","ﻟ","ﻣ","ﻧ","ﻫ","ﻭ","ﻳ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯾ","ﺋ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺋ","ﺅ"],f=["ء","آ","أ","ؤ","إ","ا","ة","د","ذ","ر","ز","و","ى"],d=["ً","ً","ٌ","؟","ٍ","؟","َ","َ","ُ","ُ","ِ","ِ","ّ","ّ","ْ","ْ","ء","آ","آ","أ","أ","ؤ","ؤ","إ","إ","ئ","ئ","ئ","ئ","ا","ا","ب","ب","ب","ب","ة","ة","ت","ت","ت","ت","ث","ث","ث","ث","ج","ج","ج","ج","ح","ح","ح","ح","خ","خ","خ","خ","د","د","ذ","ذ","ر","ر","ز","ز","س","س","س","س","ش","ش","ش","ش","ص","ص","ص","ص","ض","ض","ض","ض","ط","ط","ط","ط","ظ","ظ","ظ","ظ","ع","ع","ع","ع","غ","غ","غ","غ","ف","ف","ف","ف","ق","ق","ق","ق","ك","ك","ك","ك","ل","ل","ل","ل","م","م","م","م","ن","ن","ن","ن","ه","ه","ه","ه","و","و","ى","ى","ي","ي","ي","ي","ﻵ","ﻶ","ﻷ","ﻸ","ﻹ","ﻺ","ﻻ","ﻼ","؟","؟","؟"],g=["ء","ف"],y=["غ","ي"],p=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],x=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],_=10,m=11,I=12,P=18,b=["UBAT_L","UBAT_R","UBAT_EN","UBAT_AN","UBAT_ON","UBAT_B","UBAT_S","UBAT_AL","UBAT_WS","UBAT_CS","UBAT_ES","UBAT_ET","UBAT_NSM","UBAT_LRE","UBAT_RLE","UBAT_PDF","UBAT_LRO","UBAT_RLO","UBAT_BN"],w=[100,0,0,0,0,101,102,103,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,4,4,4,0,4,0,4,0,4,4,4,0,0,4,4,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,0,0,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,105,7,7,106,107],T=[[P,P,P,P,P,P,P,P,P,6,5,6,8,5,P,P,P,P,P,P,P,P,P,P,P,P,P,P,5,5,5,6,8,4,4,m,m,m,4,4,4,4,4,_,9,_,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,P,P,P,P,P,P,5,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,9,4,m,m,m,m,4,4,4,4,0,4,4,P,4,4,m,m,2,2,4,0,4,4,4,2,0,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,4,4,4,4,4,4,4,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,1,I,1,I,I,1,I,I,1,I,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4],[3,3,3,3,4,4,4,4,7,m,m,7,9,7,4,4,I,I,I,I,I,I,I,I,I,I,I,7,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,3,3,3,3,3,3,3,3,3,3,m,3,3,7,7,7,I,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,I,I,I,I,I,I,I,3,4,I,I,I,I,I,I,7,7,I,I,4,I,I,I,I,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7],[7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,I,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,I,I,I,I,I,I,I,I,I,I,I,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,I,I,I,I,I,I,I,I,I,1,1,4,4,4,4,1,4,4,4,4,4],[8,8,8,8,8,8,8,8,8,8,8,P,P,P,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,m,m,m,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,P,P,P,P,P,4,4,4,4,4,P,P,P,P,P,P,2,0,4,4,2,2,2,2,2,2,_,_,4,4,4,0,2,2,2,2,2,2,2,2,2,2,_,_,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],[0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,4,4,4,4,4,1,I,1,1,1,1,1,1,1,1,1,1,_,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,4,1,4,1,1,4,1,1,4,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7],[I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,I,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,I,I,I,I,I,I,I,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,9,4,4,9,4,4,4,4,4,4,4,4,4,m,4,4,_,_,4,4,4,4,4,m,m,4,4,4,4,4,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,P],[4,4,4,m,m,m,4,4,4,4,4,_,9,_,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,4,4,4,m,m,4,4,4,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]];class M{constructor(){this.inputFormat="ILYNN",this.outputFormat="VLNNN",this.sourceToTarget=[],this.targetToSource=[],this.levels=[]}bidiTransform(t,e,n){if(this.sourceToTarget=[],this.targetToSource=[],!t)return"";if(function(t,e,n){j=[],J=[];for(let s=0;s<n;s++)t[s]=s,e[s]=s,j[s]=s}(this.sourceToTarget,this.targetToSource,t.length),!this.checkParameters(e,n))return t;e=this.inputFormat,n=this.outputFormat;let s=t;const a=H,c=W(e.charAt(1)),f=W(n.charAt(1)),g=(e.startsWith("I")?"L":e.charAt(0))+c,y=(n.startsWith("I")?"L":n.charAt(0))+f,p=e.charAt(2)+n.charAt(2);a.defInFormat=g,a.defOutFormat=y,a.defSwap=p;const x=A(t,g,y,p,a);let _=!1;return"R"===n.charAt(1)?_=!0:"C"!==n.charAt(1)&&"D"!==n.charAt(1)||(_="rtl"===this.checkContextual(x)),this.sourceToTarget=j,this.targetToSource=function(t){const e=new Array(t.length);for(let n=0;n<t.length;n++)e[t[n]]=n;return e}(this.sourceToTarget),K=this.targetToSource,s=e.charAt(3)===n.charAt(3)?x:"S"===n.charAt(3)?function(t,e){if(0===e.length)return"";void 0===t&&(t=!0);const n=(e=String(e)).split("");let s=0,i=1,a=n.length;t||(s=n.length-1,i=-1,a=1);const c=function(t,e,n,s){let i=0;const a=[];let c=0;for(let f=e;f*n<s;f+=n)if(z(t[f])||G(t[f])){if("ل"===t[f]&&D(t,f+n,n,s)){t[f]=Y(t[f+n],0===i?r:o),f+=n,Z(t,f,n,s),a[c]=f,c++,i=0;continue}const e=t[f];1===i?t[f]=V(t,f+n,n,s)?O(t[f]):E(t[f],l):!0===V(t,f+n,n,s)?t[f]=E(t[f],u):t[f]=E(t[f],h),G(e)||(i=1),!0===U(e)&&(i=0)}else i=0;return a}(n,s,i,a);let f="";for(let e=0;e<n.length;e++)B(c,c.length,e)>-1?(q(K,e,!t,-1),j.splice(e,1)):f+=n[e];return f}(_,x):function(t,e){if(0===t.length)return"";void 0===e&&(e=!0);let n="";const s=(t=String(t)).split("");for(let r=0;r<t.length;r++){let o=!1;if(s[r]>="ﹰ"&&s[r]<"\ufeff"){const a=t.charCodeAt(r);s[r]>="ﻵ"&&s[r]<="ﻼ"?(e?(r>0&&" "===s[r-1]?n=n.slice(0,-1)+"ل":(n+="ل",o=!0),n+=i[(a-65269)/2]):(n+=i[(a-65269)/2],n+="ل",r+1<t.length&&" "===s[r+1]?r++:o=!0),o&&(q(K,r,!0,1),j.splice(r,0,j[r]))):n+=d[a-65136]}else n+=s[r]}return n}(x,_),this.sourceToTarget=j,this.targetToSource=K,this.levels=J,s}_inputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.inputFormat=t}_outputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.outputFormat=t}checkParameters(t,e){return t?this._inputFormatSetter(t):t=this.inputFormat,e?this._outputFormatSetter(e):e=this.outputFormat,t!==e}checkContextual(t){let e=S(t);if("ltr"!==e&&"rtl"!==e){try{e=document.dir.toLowerCase()}catch(t){}"ltr"!==e&&"rtl"!==e&&(e="ltr")}return e}hasBidiChar(t){return nt.test(t)}}function A(t,e,n,s,i){const r=function(t,e,n){if(void 0===e.inFormat&&(e.inFormat=n.defInFormat),void 0===e.outFormat&&(e.outFormat=n.defOutFormat),void 0===e.swap&&(e.swap=n.defSwap),e.inFormat===e.outFormat)return e;const s=e.inFormat.slice(0,1),i=e.outFormat.slice(0,1);let r,o=e.inFormat.slice(1,4),a=e.outFormat.slice(1,4);return o.startsWith("C")&&(r=S(t),o="ltr"===r||"rtl"===r?r.toUpperCase():"L"===e.inFormat.charAt(2)?"LTR":"RTL",e.inFormat=s+o),a.startsWith("C")&&(r=S(t),"rtl"===r?a="RTL":"ltr"===r?(r=function(t){const e=t.split("");return e.reverse(),S(e.join(""))}(t),a=r.toUpperCase()):a="L"===e.outFormat.charAt(2)?"LTR":"RTL",e.outFormat=i+a),e}(t,{inFormat:e,outFormat:n,swap:s},i);if(r.inFormat===r.outFormat)return t;e=r.inFormat,n=r.outFormat,s=r.swap;const o=e.slice(0,1),a=e.slice(1,4),h=n.slice(0,1),l=n.slice(1,4);if(i.inFormat=e,i.outFormat=n,i.swap=s,"L"===o&&"VLTR"===n){if("LTR"===a)return i.dir=X,L(t,i);if("RTL"===a)return i.dir=tt,L(t,i)}if("V"===o&&"V"===h)return i.dir="RTL"===a?tt:X,N(t,i);if("L"===o&&"VRTL"===n)return"LTR"===a?(i.dir=X,t=L(t,i)):(i.dir=tt,t=L(t,i)),N(t);if("VLTR"===e&&"LLTR"===n)return i.dir=X,L(t,i);if("V"===o&&"L"===h&&a!==l)return t=N(t),"RTL"===a?A(t,"LLTR","VLTR",s,i):A(t,"LRTL","VRTL",s,i);if("VRTL"===e&&"LRTL"===n)return A(t,"LRTL","VRTL",s,i);if("L"===o&&"L"===h){const e=i.swap;return i.swap=e.slice(0,1)+"N","RTL"===a?(i.dir=tt,t=L(t,i),i.swap="N"+e.slice(1,3),i.dir=X,t=L(t,i)):(i.dir=X,t=L(t,i),i.swap="N"+e.slice(1,3),t=A(t,"VLTR","LRTL",i.swap,i)),t}return t}function S(t){const e=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t);return e?e[0]<="z"?"ltr":"rtl":""}function L(t,e){const n=t.split(""),s=[];return v(n,s,e),function(t,e,n){if(0!==n.hiLevel&&n.swap[0]!==n.swap[1])for(let n=0;n<t.length;n++)1===e[n]&&(t[n]=F(t[n]))}(n,s,e),R(2,n,s,e),R(1,n,s,e),J=s,n.join("")}function v(t,e,n){const s=t.length,i=n.dir?x:p;let r=0,o=-1;const a=[],h=[];n.hiLevel=n.dir,n.lastArabic=!1,n.hasUbatAl=!1,n.hasUbatB=!1,n.hasUbatS=!1;for(let e=0;e<s;e++)a[e]=k(t[e]);for(let l=0;l<s;l++){const s=r,c=C(t,a,h,l,n);h[l]=c,r=i[s][c];const u=240&r;r&=15;const f=i[r][Q];if(e[l]=f,u>0)if(16===u){for(let t=o;t<l;t++)e[t]=1;o=-1}else o=-1;if(i[r][$])-1===o&&(o=l);else if(o>-1){for(let t=o;t<l;t++)e[t]=f;o=-1}5===a[l]&&(e[l]=0),n.hiLevel|=f}n.hasUbatS&&function(t,e,n,s){for(let i=0;i<n;i++)if(6===t[i]){e[i]=s.dir;for(let n=i-1;n>=0&&8===t[n];n--)e[n]=s.dir}}(a,e,s,n)}function k(t){const e=t.charCodeAt(0),n=w[e>>8];return n<100?n:T[n-100][255&e]}function N(t,e){const n=t.split("");if(e){const t=[];v(n,t,e),J=t}return n.reverse(),j.reverse(),n.join("")}function B(t,e,n){for(let s=0;s<e;s++)if(t[s]===n)return s;return-1}function z(t){for(let e=0;e<g.length;e++)if(t>=g[e]&&t<=y[e])return!0;return!1}function V(t,e,n,s){for(;e*n<s&&G(t[e]);)e+=n;return!!(e*n<s&&z(t[e]))}function D(t,e,n,s){for(;e*n<s&&G(t[e]);)e+=n;let r=" ";if(!(e*n<s))return!1;r=t[e];for(let t=0;t<i.length;t++)if(i[t]===r)return!0;return!1}function R(t,e,n,s){if(s.hiLevel<t)return;if(1===t&&s.dir===tt&&!s.hasUbatB)return e.reverse(),void j.reverse();const i=e.length;let r,o,a,h,l,c=0;for(;c<i;){if(n[c]>=t){for(r=c+1;r<i&&n[r]>=t;)r++;for(o=c,a=r-1;o<a;o++,a--)h=e[o],e[o]=e[a],e[a]=h,l=j[o],j[o]=j[a],j[a]=l;c=r}c++}}function C(t,e,n,s,i){const r=e[s];return{UBAT_L:()=>(i.lastArabic=!1,0),UBAT_R:()=>(i.lastArabic=!1,1),UBAT_ON:()=>4,UBAT_AN:()=>3,UBAT_EN:()=>i.lastArabic?3:2,UBAT_AL:()=>(i.lastArabic=!0,i.hasUbatAl=!0,1),UBAT_WS:()=>4,UBAT_CS:()=>{let t,r;return s<1||s+1>=e.length||2!==(t=n[s-1])&&3!==t||2!==(r=e[s+1])&&3!==r?4:(i.lastArabic&&(r=3),r===t?r:4)},UBAT_ES:()=>2===(s>0?n[s-1]:5)&&s+1<e.length&&2===e[s+1]?2:4,UBAT_ET:()=>{if(s>0&&2===n[s-1])return 2;if(i.lastArabic)return 4;let t=s+1;const r=e.length;for(;t<r&&11===e[t];)t++;return t<r&&2===e[t]?2:4},UBAT_NSM:()=>{if("VLTR"===i.inFormat){const n=e.length;let i=s+1;for(;i<n&&12===e[i];)i++;if(i<n){const n=t[s].charCodeAt(0),r=n>=1425&&n<=2303||64286===n,o=e[i];if(r&&(1===o||7===o))return 1}}return s<1||5===e[s-1]?4:n[s-1]},UBAT_B:()=>(i.lastArabic=!0,i.hasUbatB=!0,i.dir),UBAT_S:()=>(i.hasUbatS=!0,4),UBAT_LRE:()=>(i.lastArabic=!1,4),UBAT_RLE:()=>(i.lastArabic=!1,4),UBAT_LRO:()=>(i.lastArabic=!1,4),UBAT_RLO:()=>(i.lastArabic=!1,4),UBAT_PDF:()=>(i.lastArabic=!1,4),UBAT_BN:()=>4}[b[r]]()}function F(t){let e,n=0,i=s.length-1;for(;n<=i;)if(e=Math.floor((n+i)/2),t<s[e][0])i=e-1;else{if(!(t>s[e][0]))return s[e][1];n=e+1}return t}function U(t){for(let e=0;e<f.length;e++)if(f[e]===t)return!0;return!1}function O(t){for(let e=0;e<a.length;e++)if(t===a[e])return c[e];return t}function E(t,e){for(let n=0;n<a.length;n++)if(t===a[n])return e[n];return t}function G(t){return t>="ً"&&t<="ٕ"}function W(t){return"L"===t?"LTR":"R"===t?"RTL":"C"===t?"CLR":"D"===t?"CRL":""}function Z(t,e,n,s){for(;e*n<s&&G(t[e]);)e+=n;return e*n<s&&(t[e]=" ",!0)}function Y(t,e){for(let n=0;n<i.length;n++)if(t===i[n])return e[n];return t}function q(t,e,n,s){for(let i=0;i<t.length;i++)(t[i]>e||!n&&t[i]===e)&&(t[i]+=s)}let j=[],K=[],J=[];const H={dir:0,defInFormat:"LLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUbatAl:!1,defOutFormat:""},Q=5,$=6,X=0,tt=1,et=/^[(I|V)][(L|RCD)][(Y|N)][(S|N)]N$/,nt=/[\u0591-\u06ff\ufb1d-\ufefc]/},95488(t,e,n){n.d(e,{I:()=>i});var s=n(11406);class i extends s.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},34304(t,e,n){n.d(e,{DF:()=>h,FD:()=>i,ct:()=>l});let s=1e-6;function i(){return s}const r=Math.random,o=Math.PI/180,a=180/Math.PI;function h(t){return t*o}function l(t){return t*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:r,equals:function(t,e){return Math.abs(t-e)<=s*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){s=t},toDegree:l,toRadian:h},Symbol.toStringTag,{value:"Module"})),n.d(e,["Ov",0,r])},51624(t,e,n){n.d(e,{A:()=>l});var s=n(44208),i=n(69397),r=n(93687);const o=4294967296,a=new TextDecoder("utf-8"),h=(0,s.A)("safari")||(0,s.A)("ios")?6:(0,s.A)("ff")?12:32;class l{constructor(t,e,n=0,s=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,n,s)}[Symbol.dispose](){this.release()}_init(t,e,n,s){this._data=t,this._dataView=e,this._pos=n,this._end=s}get usedMemory(){return 64+(0,i.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,n=0,s=t?.byteLength??0){const i=l.pool.acquire();return i._init(t,e,n,s),i}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,n=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),n}getSFixed64(){const t=this._dataView,e=this._pos,n=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),n}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,n=this._toString(this._data,e,e+t);return this._skip(t),n}getBytes(){const t=this._getLength(),e=this._pos,n=this._toBytes(this._data,e,e+t);return this._skip(t),n}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,n,s){const i=this.getMessage(),r=t(i,e,n,s);return i.release(),r}processMessage(t){const e=this.getMessage(),n=t(e);return e.release(),n}getMessage(){const t=this._getLength(),e=l.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,n=0,s=0;if(this._end-e>=10)do{if(s=t[e++],n|=127&s,!(128&s))break;if(s=t[e++],n|=(127&s)<<7,!(128&s))break;if(s=t[e++],n|=(127&s)<<14,!(128&s))break;if(s=t[e++],n|=(127&s)<<21,!(128&s))break;if(s=t[e++],n+=268435456*(127&s),!(128&s))break;if(s=t[e++],n+=34359738368*(127&s),!(128&s))break;if(s=t[e++],n+=4398046511104*(127&s),!(128&s))break;if(s=t[e++],n+=562949953421312*(127&s),!(128&s))break;if(s=t[e++],n+=72057594037927940*(127&s),!(128&s))break;if(s=t[e++],n+=0x8000000000000000*(127&s),!(128&s))break;throw new Error("Varint too long!")}while(0);else{let i=1;for(;e!==this._end&&(s=t[e],128&s);)++e,n+=(127&s)*i,i*=128;if(e===this._end)throw new Error("Varint overrun!");++e,n+=s*i}return this._pos=e,n}_decodeSVarint(){const t=this._data;let e,n=0,s=0;const i=1&t[this._pos];if(s=t[this._pos++],n|=127&s,!(128&s))return i?-(n+1)/2:n/2;if(s=t[this._pos++],n|=(127&s)<<7,!(128&s))return i?-(n+1)/2:n/2;if(s=t[this._pos++],n|=(127&s)<<14,!(128&s))return i?-(n+1)/2:n/2;if(s=t[this._pos++],n|=(127&s)<<21,!(128&s))return i?-(n+1)/2:n/2;if(s=t[this._pos++],n+=268435456*(127&s),!(128&s))return i?-(n+1)/2:n/2;if(s=t[this._pos++],n+=34359738368*(127&s),!(128&s))return i?-(n+1)/2:n/2;if(s=t[this._pos++],n+=4398046511104*(127&s),!(128&s))return i?-(n+1)/2:n/2;if(e=BigInt(n),s=t[this._pos++],e+=0x2000000000000n*BigInt(127&s),!(128&s))return Number(i?-(e+1n)/2n:e/2n);if(s=t[this._pos++],e+=0x100000000000000n*BigInt(127&s),!(128&s))return Number(i?-(e+1n)/2n:e/2n);if(s=t[this._pos++],e+=0x8000000000000000n*BigInt(127&s),!(128&s))return Number(i?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,n){if((n=Math.min(this._end,n))-e>h){const s=t.subarray(e,n);return a.decode(s)}let s="",i="";for(let r=e;r<n;++r){const e=t[r];128&e?i+="%"+e.toString(16):(s+=decodeURIComponent(i)+String.fromCharCode(e),i="")}return i.length&&(s+=decodeURIComponent(i)),s}_toBytes(t,e,n){return n=Math.min(this._end,n),new Uint8Array(t.buffer,e,n-e)}static{this.pool=new r.A(()=>new l(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},36745(t,e,n){n.d(e,{z:()=>a});var s=n(4718),i=n(51118),r=n(60408),o=n(92722);class a{static fromOptimized(t,e,n=1){return(new h).initialize(t,e,n)}static fromJSON(t){const[e,n]=c(t),s=(0,r.Pv)(t),i=(0,r.W0)(t);return(new u).initialize(e,n,s,i,1)}static fromOptimizedCIM(t,e,n=1){return(new f).initialize(t,e,n)}static fromJSONCIM(t,e=1){const[n,s]=c(t),i=(0,r.Pv)(t),o=(0,r.W0)(t);return(new d).initialize(n,s,i,o,e)}static fromFeatureSetReader(t){const e=t.readGeometryForDisplay(),n=t.geometryType;return e&&n?this.fromOptimized(e,n):null}static fromFeatureSetReaderCIM(t){const e=t.readGeometryForDisplay(),n=t.geometryType;return e&&n?this.fromOptimizedCIM(e,n):null}static createEmptyOptimized(t,e=!1,n=!1,s=1){return(new f).initialize(new o.A([],[],e,n),t,s)}static createEmptyJSON(t,e=!1,n=!1){return(new u).initialize([],t,e,n,1)}static createEmptyOptimizedCIM(t,e=!1,n=!1,s=1){return(new f).initialize(new o.A([],[],e,n),t,s)}static createEmptyJSONCIM(t,e=!1,n=!1,s=1){return(new d).initialize([],t,e,n,s)}asJSON(){const t=(0,i.x)(this),{hasZ:e,hasM:n}=this;return"esriGeometryEnvelope"===this.geometryType?{xmin:t[0][0][0],ymin:t[0][0][1],xmax:t[0][2][0],ymax:t[0][2][1]}:"esriGeometryMultipoint"===this.geometryType?{points:t.flat(),hasZ:e,hasM:n}:"esriGeometryPoint"===this.geometryType?{x:t[0][0][0],y:t[0][0][1],z:e?t[0][0][2]:void 0,m:n?t[0][0][e?3:2]:void 0}:"esriGeometryPolygon"===this.geometryType?{rings:t,hasZ:e,hasM:n}:{paths:t,hasZ:e,hasM:n}}getCurrentRingArea(){if(this.pathSize<3)return 0;let t,e,n=0;if(this.seekPathStart(),!this.nextPoint())return 0;t=this.x,e=this.y;const s=t,i=e;for(;this.nextPoint();)n+=(t-this.x)*(e+this.y),t=this.x,e=this.y;return n+=(t-s)*(e+i),-.5*n}invertY(){this.yFactor*=-1}}class h extends a{constructor(){super(...arguments),this._end=-1}get hasZ(){return this._geometry?.hasZ}get hasM(){return this._geometry?.hasM}initialize(t,e,n){return this.geometryType=e,this._stride=t.stride,this._geometry=t,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=n,this}reset(){this.initialize(this._geometry,this.geometryType,this.yFactor)}seekPath(t){if(t>=0&&t<this.totalSize){if(this._pathIndex<t)for(;this._pathIndex<t&&this.nextPath(););else if(this._pathIndex>t)for(;this._pathIndex>t&&this.prevPath(););return!0}return!1}seekPathStart(){this._pointOffset=this._pathOffset-this._stride}seekPathEnd(){this._pointOffset=this._end}seekInPath(t){const e=this._pathOffset+t*this._stride;return e>=0&&e<this._end&&(this._pointOffset=e,!0)}nextPoint(){return(this._pointOffset+=this._stride)<this._end}prevPoint(){return(this._pointOffset-=this._stride)>=this._pathOffset}nextPath(){return!(this.pathIndex>=this.totalSize-1||(this._pathIndex>=0&&(this._pathOffset+=this._stride*this.pathSize),this._pathIndex++,this._pointOffset=this._pathOffset-this._stride,this._end=this._pointOffset+this._stride+this._stride*this.pathSize,0))}prevPath(){return!(this.pathIndex<=0||(this._pathIndex--,this._end=this._pathOffset,this._pathOffset-=this._stride*this.pathSize,this._pointOffset=this._pathOffset-this._stride,0))}getCurrentPath(){const t=this._end,e=this._geometry.coords,n=this._pathOffset;return(new h).initialize(new o.A([this.pathSize],e.slice(n,t),this.hasZ,this.hasM),this.geometryType,this.yFactor)}pathLength(){const t=this._end,e=this._stride,n=this._geometry.coords;let s=0;for(let i=this._pathOffset+e;i<t;i+=e){const t=n[i-e],r=n[i-e+1],o=n[i]-t,a=n[i+1]-r;s+=Math.sqrt(o*o+a*a)}return s}startPath(){this._geometry.lengths.push(0)}pushPath(t){this.startPath(),this.pushPoints(t)}pushPoint(t){for(let e=0;e<this._stride;++e)this._geometry.coords.push(t[e]);this._geometry.lengths[this.totalSize-1]++}pushXY(t,e){this._geometry.coords.push(t,e),this._geometry.lengths[this.totalSize-1]++}pushPoints(t){for(const e of t)for(let t=0;t<this._stride;++t)this._geometry.coords.push(e[t]);this._geometry.lengths[this.totalSize-1]+=t.length}pushCursor(t){const e=t.asOptimized();this._geometry.coords.push(...e.coords),this._geometry.lengths.push(...e.lengths)}asOptimized(){const t=this._geometry.clone();if(1!==this.yFactor)for(let e=1;e<t.coords.length;e+=this._stride)t.coords[e]*=this.yFactor;return"esriGeometryPoint"===this.geometryType&&(t.lengths.length=0),t}isClosed(){const t=this._geometry.coords,e=this._pathOffset,n=this._end-this._stride;for(let s=0;s<this._stride;s++)if(t[e+s]!==t[n+s])return!1;return!0}clone(){return(new h).initialize(this._geometry.clone(),this.geometryType,this.yFactor)}get totalPoints(){return this._geometry.isPoint?1:this._geometry.lengths.reduce((t,e)=>t+e)}get pathSize(){const{lengths:t}=this._geometry;return this._geometry.isPoint?1:this._pathIndex<0||this._pathIndex>t.length-1?0:t[this._pathIndex]}get totalSize(){return this._geometry.isPoint?1:this._geometry.lengths.length}get x(){return this._geometry.coords[this._pointOffset]}set x(t){this._geometry.coords[this._pointOffset]=t}get y(){return this.yFactor*this._geometry.coords[this._pointOffset+1]}set y(t){this._geometry.coords[this._pointOffset+1]=this.yFactor*t}get z(){return this._geometry.coords[this._pointOffset+2]}set z(t){this._geometry.coords[this._pointOffset+2]=t}get m(){const t=this.hasZ?3:2;return this._geometry.coords[this._pointOffset+t]}set m(t){this._geometry.coords[this._pointOffset+3]=t}get pathIndex(){return this._pathIndex}get _coordIndex(){return this._pointOffset/this._stride}}function l(t){const e=[t.x,t.y];return t.z&&e.push(t.z),t.m&&e.push(t.m),e}function c(t){return(0,r.Bi)(t)?[t.rings,"esriGeometryPolygon"]:(0,r.Rg)(t)?[t.paths,"esriGeometryPolyline"]:(0,r.U9)(t)?[[t.points],"esriGeometryMultipoint"]:(0,r.ZC)(t)?[[[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]]],"esriGeometryEnvelope"]:(0,r.fT)(t)?[[[l(t)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class u extends a{initialize(t,e,n,s,i){return this._paths=t,this.geometryType=e,this.hasZ=n,this.hasM=s,this._pathIndex=this._pointIndex=-1,this.yFactor=i,this._mIndex=this.hasZ?3:2,this}reset(){this._pathIndex=this._pointIndex=-1}seekPath(t){return this._pathIndex=t,this._pointIndex=-1,t>=0&&t<this.totalSize&&(this._currentPath=this._paths[t],!0)}seekPathStart(){this._pointIndex=-1}seekPathEnd(){this._pointIndex=this._currentPath.length}seekInPath(t){return t>=0&&t<this._currentPath.length&&(this._pointIndex=t,this._currentPoint=this._currentPath[this._pointIndex],!0)}nextPoint(){return this._currentPoint=this._currentPath[++this._pointIndex],this._pointIndex<this._currentPath.length}prevPoint(){return this._currentPoint=this._currentPath[--this._pointIndex],this._pointIndex>=0}nextPath(){return this._pointIndex=-1,this._currentPath=this._paths[++this._pathIndex],this._pathIndex<this.totalSize}prevPath(){return this.pathIndex>0&&(this._pointIndex=-1,this._pathIndex--,this._currentPath=this._paths[this._pathIndex],!0)}pathLength(){const t=this._currentPath.length,e=this._currentPath;let n=0;for(let s=1;s<t;s++){const t=e[s-1],i=e[s],r=t[0],o=t[1],a=i[0]-r,h=i[1]-o;n+=Math.sqrt(a*a+h*h)}return n}startPath(){this._paths.push([])}getCurrentPath(){return(new u).initialize([this._currentPath],this.geometryType,this.hasZ,this.hasM,this.yFactor)}pushPath(t){this._paths.push(t)}pushPoint(t){this._paths[this.totalSize-1].push(t)}pushXY(t,e){this._paths[this.totalSize-1].push([t,e])}pushPoints(t){this._paths[this.totalSize-1].push(...t)}pushCursor(t){const e=(0,i.x)(t);for(const t of e)this.pushPath(t)}asOptimized(){const{hasZ:t,hasM:e}=this,n=new o.A([],[],t,e),{coords:s,lengths:i}=n;if("esriGeometryPoint"===this.geometryType)s.push(...this._paths[0][0]),i.length=0;else for(const n of this._paths){for(const i of n)s.push(i[0]),s.push(i[1]*this.yFactor),t&&s.push(i[2]),e&&s.push(i[this._mIndex]);i.push(n.length)}return n}isClosed(){const t=this._currentPath[0],e=this._currentPath[this._currentPath.length-1];for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}clone(){return(new u).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}get totalPoints(){return this._paths.map(t=>t.length).reduce((t,e)=>t+e)}get pathSize(){return this._pathIndex<0||this._pathIndex>this.totalSize-1?-1:this._paths[this._pathIndex].length}get totalSize(){return this._paths.length}get x(){return this._currentPoint[0]}set x(t){this._currentPoint[0]=t}get y(){return this.yFactor*this._currentPoint[1]}set y(t){this._currentPoint[1]=this.yFactor*t}get z(){return this._currentPoint[2]}set z(t){this._currentPoint[2]=t}get m(){return this._currentPoint[this._mIndex]}set m(t){this._currentPoint[this._mIndex]=t}get pathIndex(){return this._pathIndex}}class f extends h{initialize(t,e,n){return super.initialize(t,e,n),this._controlPoints||(this._controlPoints=this._controlPoints=new Array(this.totalSize).fill(void 0).map(t=>new Set)),this}startPath(){super.startPath(),this._controlPoints.push(new Set)}clone(){const t=(new f).initialize(this._geometry.clone(),this.geometryType,this.yFactor);return t._controlPoints=this._controlPoints,t}setControlPoint(){this._controlPoints[this.pathIndex].add(this._coordIndex)}getControlPoint(){return this._controlPoints[this.pathIndex].has(this._coordIndex)}setControlPointAt(t){this._controlPoints[this.pathIndex].add(t)}getControlPointAt(t){return this._controlPoints[this.pathIndex].has(t)}}class d extends u{initialize(t,e,n,s,i){return super.initialize(t,e,n,s,i)}clone(){return(new d).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}setControlPoint(){this._paths[this.pathIndex][this._pointIndex][4]=1}getControlPoint(){return 1===this._paths[this.pathIndex][this._pointIndex][4]}setControlPointAt(t){this._paths[this.pathIndex][t][4]=1}getControlPointAt(t){return 1===this._paths[this.pathIndex][t][4]}}},51118(t,e,n){function s(t){const e=[];for(t.reset();t.nextPath();){const n=[];for(;t.nextPoint();){const e=[t.x,t.y];t.hasZ&&e.push(t.z),t.hasM&&e.push(t.m),n.push(e)}e.push(n)}return t.reset(),e}function i(t){const e=[];for(;t.nextPoint();)e.push([t.x,t.y]);return t.seekPathStart(),e}n.d(e,{A:()=>i,x:()=>s})},537(t,e,n){n.d(e,{B$:()=>p,LJ:()=>x,Pj:()=>I,Rg:()=>g,Yz:()=>_,z8:()=>y});var s=n(19419),i=n(79567),r=n(52006);function o(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function a(t){return void 0!==t.points}function h(t){return void 0!==t.x&&void 0!==t.y}function l(t){return void 0!==t.paths}function c(t){return void 0!==t.rings}function u(t){return function(e,n){return null==e?n:null==n?e:t(e,n)}}const f=u(Math.min),d=u(Math.max);function g(t,e){return l(e)?_(t,e.curvePaths??e.paths,!1,!1)??t:c(e)?_(t,e.curveRings??e.rings,!1,!1)??t:a(e)?I(t,e.points,!1,!1,!1,!1):o(e)?m(t,e):(h(e)&&(t[0]=e.x,t[1]=e.y,t[2]=e.x,t[3]=e.y),t)}function y(t){let e,n,i,r;for(t.reset(),e=i=1/0,n=r=-1/0;t.nextPath();){const s=p(t);e=Math.min(s[0],e),i=Math.min(s[1],i),n=Math.max(s[2],n),r=Math.max(s[3],r)}return(0,s.vt)([e,i,n,r])}function p(t){let e,n,i,r;for(e=i=1/0,n=r=-1/0;t.nextPoint();)e=Math.min(t.x,e),i=Math.min(t.y,i),n=Math.max(t.x,n),r=Math.max(t.y,r);return(0,s.vt)([e,i,n,r])}function x(t,e){return l(e)?_(t,e.curvePaths??e.paths,!0,!1)??t:c(e)?_(t,e.curveRings??e.rings,!0,!1)??t:a(e)?I(t,e.points,!0,!1,!0,!1):o(e)?m(t,e,0,0,!0,!1):(h(e)&&(t[0]=e.x,t[1]=e.y,t[2]=e.z,t[3]=e.x,t[4]=e.y,t[5]=e.z),t)}function _(t,e,n,o){const a=n?3:2;if(!e.length||!e[0].length)return null;let h,l,c,u,[g,y]=(0,r.yP)(e[0][0]),p=g,x=y;for(let t=0;t<e.length;t++){const _=e[t];for(let t=0;t<_.length;t++){const e=(0,r.yP)(_[t]),[m,I]=e;if(g=f(g,m),y=f(y,I),p=d(p,m),x=d(x,I),n&&e.length>2){const t=e[2];h=f(h,t),l=d(l,t)}if(o&&e.length>a){const t=e[a];c=f(c,t),u=d(u,t)}const P=_[t];if((0,r.Xq)(P)||t<1)continue;const b=(0,r.yP)(_[t-1]),w=(0,s.fA)(g,y,p,x);[g,y,p,x]=(0,i.e)(w,b,P)}}return n?o?(t[0]=g,t[1]=y,t[2]=h,t[3]=c,t[4]=p,t[5]=x,t[6]=l,t[7]=u,t.length=8,t):(t[0]=g,t[1]=y,t[2]=h,t[3]=p,t[4]=x,t[5]=l,t.length=6,t):o?(t[0]=g,t[1]=y,t[2]=c,t[3]=p,t[4]=x,t[5]=u,t.length=6,t):(t[0]=g,t[1]=y,t[2]=p,t[3]=x,t.length=4,t)}function m(t,e,n,s,i,r){const o=e.xmin,a=e.xmax,h=e.ymin,l=e.ymax;let c=e.zmin,u=e.zmax,f=e.mmin,d=e.mmax;return i?(c=c||0,u=u||0,r?(f=f||0,d=d||0,t[0]=o,t[1]=h,t[2]=c,t[3]=f,t[4]=a,t[5]=l,t[6]=u,t[7]=d,t):(t[0]=o,t[1]=h,t[2]=c,t[3]=a,t[4]=l,t[5]=u,t)):r?(f=f||0,d=d||0,t[0]=o,t[1]=h,t[2]=f,t[3]=a,t[4]=l,t[5]=d,t):(t[0]=o,t[1]=h,t[2]=a,t[3]=l,t)}function I(t,e,n,s,i,r){const o=n?3:2,a=s&&r,h=n&&i;if(!e.length||!e[0].length)return null;let l,c,u,g,[y,p]=e[0],[x,_]=e[0];for(let t=0;t<e.length;t++){const n=e[t],[s,i]=n;if(y=f(y,s),p=f(p,i),x=d(x,s),_=d(_,i),h&&n.length>2){const t=n[2];l=f(l,t),c=d(c,t)}if(a&&n.length>o){const t=n[o];u=f(l,t),g=d(c,t)}}return i?(l=l||0,c=c||0,r?(u=u||0,g=g||0,t[0]=y,t[1]=p,t[2]=l,t[3]=u,t[4]=x,t[5]=_,t[6]=c,t[7]=g,t):(t[0]=y,t[1]=p,t[2]=l,t[3]=x,t[4]=_,t[5]=c,t)):r?(u=u||0,g=g||0,t[0]=y,t[1]=p,t[2]=u,t[3]=x,t[4]=_,t[5]=g,t):(t[0]=y,t[1]=p,t[2]=x,t[3]=_,t)}},12359(t,e,n){n.d(e,{IK:()=>c,TP:()=>u,Ve:()=>a,Z4:()=>r,l8:()=>o,w2:()=>l});var s=n(51118),i=n(95108);function r({xmin:t,xmax:e,ymin:n,ymax:s,zmin:i,zmax:r,hasZ:o}){const a=[(t+e)/2,(n+s)/2];return o&&a.push((i+r)/2),a}function o(t){return function(t,e){if(!t?.length)return null;const n=[],s=[],r=e?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let n=0,i=t.length;n<i;n++){const i=h(t[n],e,r);i&&s.push(i)}if(s.sort((t,n)=>{let s=t[2]-n[2];return 0===s&&e&&(s=t[4]-n[4]),s}),s.length&&(n[0]=s[0][0],n[1]=s[0][1],e&&(n[2]=s[0][3]),(n[0]<r[0]||n[0]>r[1]||n[1]<r[2]||n[1]>r[3]||e&&(n[2]<r[4]||n[2]>r[5]))&&(n.length=0)),!n.length){const s=t[0]&&t[0].length?function(t,e){const n=e?[0,0,0]:[0,0],s=e?[0,0,0]:[0,0];let r=0,o=0,a=0,h=0;for(let l=0,c=t.length;l<c-1;l++){const c=t[l],u=t[l+1];if(c&&u){n[0]=c[0],n[1]=c[1],s[0]=u[0],s[1]=u[1],e&&c.length>2&&u.length>2&&(n[2]=c[2],s[2]=u[2]);const t=(0,i.R3)(n,s);if(t){r+=t;const n=(0,i.t9)(c,u);o+=t*n[0],a+=t*n[1],e&&n.length>2&&(h+=t*n[2])}}}return r>0?e?[o/r,a/r,h/r]:[o/r,a/r]:t.length?t[0]:null}(t[0],e):null;if(!s)return null;n[0]=s[0],n[1]=s[1],e&&s.length>2&&(n[2]=s[2])}return n}(t.rings,t.hasZ??!1)}function a(t){const e=o(t);if(!e)return null;const{hasZ:n,spatialReference:s}=t,[i,r,a]=e;return isNaN(i)||isNaN(r)||n&&isNaN(a)?null:{x:i,y:r,z:n?a:void 0,spatialReference:s}}function h(t,e,n){let s=0,i=0,r=0,o=0,a=0;const h=t.length?t[0][0]:0,l=t.length?t[0][1]:0,c=t.length&&e?t[0][2]:0;for(let u=0;u<t.length;u++){const f=t[u],d=t[(u+1)%t.length],[g,y,p]=f,x=g-h,_=y-l,[m,I,P]=d,b=m-h,w=I-l,T=x*w-b*_;if(o+=T,s+=(x+b)*T,i+=(_+w)*T,e&&f.length>2&&d.length>2){const t=p-c,e=P-c,n=x*e-b*t;r+=(t+e)*n,a+=n}g<n[0]&&(n[0]=g),g>n[1]&&(n[1]=g),y<n[2]&&(n[2]=y),y>n[3]&&(n[3]=y),e&&(p<n[4]&&(n[4]=p),p>n[5]&&(n[5]=p))}if(o>0&&(o*=-1),a>0&&(a*=-1),!o)return null;o*=.5,a*=.5;const u=[s/(6*o)+h,i/(6*o)+l,o];return e&&(n[4]===n[5]||0===a?(u[3]=(n[4]+n[5])/2,u[4]=0):(u[3]=r/(6*a)+c,u[4]=a)),u}function l(t,e){let n=0,s=0,i=0;t.nextPoint();const r=t.pathSize?t.x:0,o=t.pathSize?t.y:0;for(let a=0;a<t.pathSize;a++){t.seekInPath(a);const h=[t.x,t.y];t.seekInPath((a+1)%t.pathSize);const l=[t.x,t.y],[c,u]=h,f=c-r,d=u-o,[g,y]=l,p=g-r,x=y-o,_=f*x-p*d;i+=_,n+=(f+p)*_,s+=(d+x)*_,c<e[0]&&(e[0]=c),c>e[1]&&(e[1]=c),u<e[2]&&(e[2]=u),u>e[3]&&(e[3]=u)}return i>0&&(i*=-1),i?(i*=.5,[n/(6*i)+r,s/(6*i)+o,i]):null}function c(t){const{hasZ:e,totalSize:n}=t;if(0===n)return null;const r=[],o=[],a=e?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY];for(t.reset();t.nextPath();){const e=h((0,s.A)(t),t.hasZ,a);e&&o.push(e)}if(o.sort((t,n)=>{let s=t[2]-n[2];return 0===s&&e&&(s=t[4]-n[4]),s}),o.length&&(r[0]=o[0][0],r[1]=o[0][1],e&&(r[2]=o[0][3]),(r[0]<a[0]||r[0]>a[1]||r[1]<a[2]||r[1]>a[3]||e&&(r[2]<a[4]||r[2]>a[5]))&&(r.length=0)),!r.length){t.reset(),t.nextPath();const n=t.pathSize?function(t){const{hasZ:e}=t,n=e?[0,0,0]:[0,0],s=e?[0,0,0]:[0,0];let r=0,o=0,a=0,h=0;if(t.nextPoint()){let l=t.x,c=t.y,u=t.z;for(;t.nextPoint();){const f=t.x,d=t.y,g=t.z;n[0]=l,n[1]=c,s[0]=f,s[1]=d,e&&(n[2]=u,s[2]=g);const y=(0,i.R3)(n,s);if(y){r+=y;const t=(0,i.t9)(n,s);o+=y*t[0],a+=y*t[1],e&&t.length>2&&(h+=y*t[2])}l=f,c=d,u=g}}return r>0?e?[o/r,a/r,h/r]:[o/r,a/r]:t.pathSize?(t.seekPathStart(),t.nextPoint(),[t.x,t.y]):null}(t):null;if(!n)return null;r[0]=n[0],r[1]=n[1],e&&n.length>2&&(r[2]=n[2])}return r}function u(t){let e=0;for(t.reset();t.nextPath();)e+=t.getCurrentRingArea();if(e<1e-6){const e=c(t);return e?[e[0],e[1]]:null}const n=[0,0];if(t.reset(),!t.nextPath()||!t.nextPoint())return null;const s=[t.x,t.y];for(t.reset();t.nextPath();)d(n,s,t);return n[0]*=1/e,n[1]*=1/e,n[0]+=s[0],n[1]+=s[1],n}const f=1/3;function d(t,e,n){if(!t||!n||n.pathSize<3)return null;n.nextPoint();const s=n.x,i=n.y;n.nextPoint();let r,o=n.x-s,a=n.y-i,h=0,l=0;for(;n.nextPoint();)h=n.x-s,l=n.y-i,r=.5*f*(h*a-l*o),t[0]+=r*(o+h),t[1]+=r*(a+l),o=h,a=l;const c=n.getCurrentRingArea(),u=[s,i];return u[0]-=e[0],u[1]-=e[1],u[0]*=c,u[1]*=c,t[0]+=u[0],t[1]+=u[1],t}},95108(t,e,n){n.d(e,{$3:()=>c,Ng:()=>a,R3:()=>i,Xf:()=>o,Yl:()=>l,gR:()=>r,m3:()=>f,t9:()=>h});var s=n(4576);function i(t,e){const n=e[0]-t[0],s=e[1]-t[1];if(t.length>2&&e.length>2){const i=t[2]-e[2];return Math.sqrt(n*n+s*s+i*i)}return Math.sqrt(n*n+s*s)}function r(t,e,n,s){const[i,r]=e,[o,a]=n,[h,l]=s,c=h-o,u=l-a,f=c*c+u*u,d=(i-o)*c+(r-a)*u,g=Math.min(1,Math.max(0,d/f));return t[0]=o+c*g,t[1]=a+u*g,t}function o(t,e,n){let s,i,r,o,h=!1,l=1/0;for(n.reset();n.nextPath();)if(n.nextPoint())for(s=n.x,i=n.y;n.nextPoint();)r=n.x,o=n.y,i>e!=o>e&&t<(r-s)*(e-i)/(o-i)+s&&(h=!h),l=Math.min(l,a(t,e,s,i,r,o)),s=r,i=o;return 0===l?0:(h?1:-1)*Math.sqrt(l)}function a(t,e,n,s,i,r){let o=n,a=s,h=i-o,l=r-a;if(0!==h||0!==l){const n=((t-o)*h+(e-a)*l)/(h*h+l*l);n>1?(o=i,a=r):n>0&&(o+=h*n,a+=l*n)}return h=t-o,l=e-a,h*h+l*l}function h(t,e){return function(t,e,n){const s=t[0]+n*(e[0]-t[0]),i=t[1]+n*(e[1]-t[1]);return t.length>2&&e.length>2?[s,i,t[2]+n*(e[2]-t[2])]:[s,i]}(t,e,.5)}function l(t){const e=t.length;let n=0;for(let s=0;s<e-1;++s)n+=i(t[s],t[s+1]);return n}function c(t,e=0,n=1){let s=0;const i=t.length;let r=t[0];for(let o=1;o<i;o++){const i=t[o];s+=(i[e]-r[e])*(i[n]+r[n]),r=i}if(u(t)){const i=t[0];s+=(i[e]-r[e])*(i[n]+r[n])}return s>=0}function u(t){const e=t.length;return e>0&&!(0,s.aI)(t[0],t[e-1])}function f(t){if("rings"in t)for(const e of t.rings)u(e)&&e.push(e[0].slice())}n(52006)},52006(t,e,n){function s(t){return"curveRings"in t&&!!t.curveRings?.length||"curvePaths"in t&&!!t.curvePaths?.length}function i(t){return"curveRings"in t?t.curveRings:t.curvePaths}function r(t){return"b"in t}function o(t){return"c"in t}function a(t){return Array.isArray(t)}function h(t){return"a"in t}function l(t){return"a"in t&&4===t.a.length}function c(t){return"a"in t&&7===t.a.length}function u(t,e){return i(t).flat().some(t=>function(t,e){return!(a(t)||(r(t)?e.has("cubic-bezier"):o(t)?e.has("circular-arc"):!l(t)&&!c(t)||e.has("elliptic-arc")))}(t,e))}function f(t){return a(t)?t:r(t)?t.b[0]:o(t)?t.c[0]:t.a[0]}function d(t){if(r(t)){const[e,n,s]=t.b;return{b:[[...e],[...n],[...s]]}}if(o(t)){const[e,n]=t.c;return{c:[[...e],[...n]]}}if(a(t))return[...t];if(l(t)){const[e,n,s,i]=t.a;return{a:[[...e],[...n],s,i]}}if(c(t)){const[e,n,s,i,r,o,a]=t.a;return{a:[[...e],[...n],s,i,r,o,a]}}return t}n.d(e,{DA:()=>l,Ed:()=>s,FD:()=>i,FG:()=>h,V8:()=>u,Xq:()=>a,aO:()=>o,n1:()=>r,tk:()=>d,wY:()=>c,yP:()=>f}),n(4576)},78957(t,e,n){n.d(e,{d:()=>c,R:()=>P});class s{constructor(t=i){this._data=[],this._compare=t}get size(){return this._data.length}enqueue(t){if(null==t)return;const{_data:e,_compare:n}=this;e.push(t);let s=e.length-1>>>0;const i=e[s];for(;s>0;){const t=s-1>>1,r=e[t];if(!(n(r,i)<=0))break;e[t]=i,e[s]=r,s=t}}dequeue(){const{_data:t,_compare:e}=this,n=t[0],s=t.pop();if(0===t.length)return n;t[0]=s;let i=0;const r=t.length,o=t[0];let a,h,l=null;for(;;){const n=2*i+1,s=2*i+2;if(l=null,n<r&&(a=t[n],e(a,o)>0&&(l=n)),s<r&&(h=t[s],(null===l&&e(h,o)<=0||null!==l&&e(h,a)<=0)&&(l=s)),null===l)break;t[i]=t[l],t[l]=o,i=l}return n}}const i=(t,e)=>t<e?-1:t>e?1:0;var r=n(19419),o=n(537),a=n(12359),h=n(95108),l=n(12176);function c(t){if(0===t.totalSize)return null;const e=(0,o.z8)(t);if(!e)return null;const n=4*(Math.abs(e[0])+Math.abs(e[2])+Math.abs(e[1])+Math.abs(e[3])+1)*222045e-19;let s=0,i=0;t.reset();for(let e=0;t.nextPath();e++){const n=t.getCurrentRingArea();n>i&&(i=n,s=e)}if(t.seekPath(s),0===t.pathSize)return null;t.seekPathStart();const h=(0,o.B$)(t);if(Math.abs(i)<=2*n*n)return[(h[0]+h[2])/2,(h[1]+h[3])/2];t.seekPathStart();const l=(0,a.w2)(t,(0,r.vt)());if(null===l)return null;if(t.totalPoints<4)return l;const c=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],g=[NaN,NaN,NaN,NaN],y=[NaN,NaN,NaN,NaN];let p=!1,I=f(l,t,!0);0===I.distance&&(p=!0,c[0][0]=l[0],c[0][1]=l[1],I=f(l,t,!1)),g[0]=I.distance,y[0]=0;const P=[NaN,NaN];let b=!1,w=.25,T=-1,M=NaN;do{if(M=NaN,c[1]=d(t,x(h[0],h[2],w),0,e),isNaN(c[1][0])||isNaN(c[1][1])||(I=f(c[1],t,!1),M=I.distance),!isNaN(M)&&M>n&&u(c[1],t))b=!0,g[1]=M,y[1]=_(c[1],l);else if(!isNaN(M)&&M>T&&(T=M,P[0]=c[1][0],P[1]=c[1][1]),w-=.01,w<.1){if(!(T>=0))break;b=!0,g[1]=T,c[1][0]=P[0],c[1][1]=P[1],y[1]=_(c[1],l)}}while(!b);b=!1,w=.5,T=-1;let A=.01,S=1;do{if(M=NaN,c[2]=d(t,x(h[0],h[2],w),0,e),isNaN(c[2][0])||isNaN(c[2][1])||(I=f(c[2],t,!1),M=I.distance),!isNaN(M)&&M>n&&u(c[2],t))b=!0,g[2]=M,y[2]=_(c[2],l);else if(!isNaN(M)&&M>T)T=M,P[0]=c[2][0],P[1]=c[2][1];else if(M>T&&(T=M,P[0]=c[2][0],P[1]=c[2][1]),w=.5+A*S,A+=.01,S*=-1,w<.3||w>.7){if(!(T>=0))break;b=!0,g[2]=T,c[2][0]=P[0],c[2][1]=P[1],y[2]=_(c[2],l)}}while(!b);b=!1,w=.75,T=-1;do{if(M=NaN,c[3]=d(t,x(h[0],h[2],w),0,e),isNaN(c[3][0])||isNaN(c[3][1])||(I=f(c[3],t,!1),M=I.distance),!isNaN(M)&&M>n&&u(c[3],t))b=!0,g[3]=M,y[3]=_(c[3],l);else if(M>T&&(T=M,P[0]=c[3][0],P[1]=c[3][1]),w+=.01,w>.9){if(!(T>=0))break;b=!0,g[3]=T,c[3][0]=P[0],c[3][1]=P[1],y[3]=_(c[3],l)}}while(!b);const L=[0,1,2,3],v=p?0:1;let k;for(let t=v;t<4;t++)for(let t=v;t<3;t++){const e=y[t],n=y[t+1];m(e,n)>0&&(k=L[t],L[t]=L[t+1],L[t+1]=k,y[t]=n,y[t+1]=e)}let N=v,B=0,z=0;for(let t=v;t<4;t++){switch(t){case 0:z=2*g[L[t]];break;case 1:z=1.66666666*g[L[t]];break;case 2:z=1.33333333*g[L[t]];break;case 3:z=g[L[t]]}z>B&&(B=z,N=L[t])}return c[N]}function u(t,e){let n,s,i,r,o=0;for(e.reset();e.nextPath()&&e.nextPoint();)for(n=e.x,s=e.y;e.nextPoint();n=i,s=r)i=e.x,r=e.y,s>t[1]!=r>t[1]&&((i-n)*(t[1]-s)-(r-s)*(t[0]-n)>0?o++:o--);return 0!==o}function f(t,e,n){if(n&&u(t,e))return{coord:t,distance:0};let s=1/0,i=0,r=0,o=[0,0],a=[0,0];const l=[0,0];for(e.reset();e.nextPath()&&e.nextPoint();)if(!(e.pathSize<2))for(o[0]=e.x,o[1]=e.y;e.nextPoint();o=a){a=[e.x,e.y],(0,h.gR)(l,t,o,a);const n=_(t,l);n<s&&(s=n,i=l[0],r=l[1])}return{coord:[i,r],distance:Math.sqrt(s)}}function d(t,e,n,s){const i=[e,0];let o=1/0,a=1/0,h=!1,c=!1;const u=[[e,s[1]-1],[e,s[3]+1]],f=[0,0],d=[0,0],p=[0,0],x=[[0,0],[0,0]],_=(0,r.vt)();for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(x[0][0]=t.x,x[0][1]=t.y;t.nextPoint();x[0][0]=x[1][0],x[0][1]=x[1][1]){if(x[1][0]=t.x,x[1][1]=t.y,null===g(_,x))continue;if(d[0]=u[0][0],d[1]=u[0][1],p[0]=u[1][0],p[1]=u[1][1],0===y(_,d,p))continue;if(!(0,l.Ql)(u[0],u[1],x[0],x[1],f))continue;const e=f[1];o>a?e<o&&(o=e,h=!0):e<a&&(a=e,c=!0)}return h&&c?i[1]=(o+a)/2:i[0]=i[1]=NaN,i}function g(t,e){if(e.length<2)return null;t||(t=(0,r.vt)());const[n,s]=e[0],[i,o]=e[1];return t[0]=Math.min(n,i),t[1]=Math.min(s,o),t[2]=Math.max(n,i),t[3]=Math.max(s,o),t}function y(t,e,n){let s=p(e,t),i=p(n,t);const r=t[0],o=t[1],a=t[2],h=t[3];if(s&i)return 0;if(!(s|i))return 4;const l=(s?1:0)|(i?2:0);do{const l=n[0]-e[0],c=n[1]-e[1];if(l>c)3&s?(1&s?(e[1]+=c*(r-e[0])/l,e[0]=r):(e[1]+=c*(a-e[0])/l,e[0]=a),s=p(e,t)):3&i?(1&i?(n[1]+=c*(r-n[0])/l,n[0]=r):(n[1]+=c*(a-n[0])/l,n[0]=a),i=p(n,t)):s?(4&s?(e[0]+=l*(o-e[1])/c,e[1]=o):(e[0]+=l*(h-e[1])/c,e[1]=h),s=p(e,t)):(4&i?(n[0]+=l*(o-n[1])/c,n[1]=o):(n[0]+=l*(h-n[1])/c,n[1]=h),i=p(n,t));else if(12&s?(4&s?(e[0]+=l*(o-e[1])/c,e[1]=o):(e[0]+=l*(h-e[1])/c,e[1]=h),s=p(e,t)):12&i?(4&i?(n[0]+=l*(o-n[1])/c,n[1]=o):(n[0]+=l*(h-n[1])/c,n[1]=h),i=p(n,t)):s?(1&s?(e[1]+=c*(r-e[0])/l,e[0]=r):(e[1]+=c*(a-e[0])/l,e[0]=a),s=p(e,t)):(1&i?(n[1]+=c*(r-n[0])/l,n[0]=r):(n[1]+=c*(a-n[0])/l,n[0]=a),i=p(n,t)),s&i)return 0}while(s|i);return l}function p(t,e){return(t[0]<e[0]?1:0)|(t[0]>e[2]?1:0)<<1|(t[1]<e[1]?1:0)<<2|(t[1]>e[3]?1:0)<<3}function x(t,e,n){return t+(e-t)*n}function _(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function m(t,e){if(t<e)return-1;if(t>e)return 1;if(t===e)return 0;const n=isNaN(t),s=isNaN(e);return n<s?-1:n>s?1:0}class I{constructor(t,e,n,s){this.x=t,this.y=e,this.cellSize=n,this.distancefromCellCenter=(0,h.Xf)(t,e,s),this.maxDistanceToPolygon=this.distancefromCellCenter+this.cellSize*Math.SQRT2}}function P(t){if(!t.nextPath()||!t.pathSize)return null;const e=(0,o.B$)(t),n=e[2]-e[0],i=e[3]-e[1];if(0===n||0===i)return[e[0]+n/2,e[1]+i/2];const r=Math.max(Math.min(n,i)/100,1),h=new s((t,e)=>e.maxDistanceToPolygon-t.maxDistanceToPolygon),l=Math.min(n,i);let c=l/2,u=0,f=0;for(u=e[0];u<e[2];u+=l)for(f=e[1];f<e[3];f+=l)h.enqueue(new I(u+c,f+c,c,t));t.reset(),t.nextPath();const d=(0,a.IK)(t);if(null===d)return null;let g,y=new I(d[0],d[1],0,t);for(;h.size>0;)g=h.dequeue(),g.distancefromCellCenter>y.distancefromCellCenter&&(y=g),g.maxDistanceToPolygon-y.distancefromCellCenter<=r||(c=g.cellSize/2,h.enqueue(new I(g.x-c,g.y-c,c,t)),h.enqueue(new I(g.x+c,g.y-c,c,t)),h.enqueue(new I(g.x-c,g.y+c,c,t)),h.enqueue(new I(g.x+c,g.y+c,c,t)));return[y.x,y.y]}},97770(t,e,n){n.d(e,{Ey:()=>B,F8:()=>N,J2:()=>S,Yq:()=>v,_m:()=>L,iS:()=>k,wj:()=>z});var s=n(66552),i=n(73444),r=n(98623),o=n(34747);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},y={...g,second:"numeric"},p={hourCycle:"h23"},x={...g,...p},_={...y,...p},m={"short-date":c,"short-date-short-time":{...c,...g},"short-date-short-time-24":{...c,...x},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,..._},"short-date-le":c,"short-date-le-short-time":{...c,...g},"short-date-le-short-time-24":{...c,...x},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,..._},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...g},"long-month-day-year-short-time-24":{...u,...x},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,..._},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...g},"day-short-month-year-short-time-24":{...f,...x},"day-short-month-year-long-time":{...f,...y},"day-short-month-year-long-time-24":{...f,..._},"long-date":d,"long-date-short-time":{...d,...g},"long-date-short-time-24":{...d,...x},"long-date-long-time":{...d,...y},"long-date-long-time-24":{...d,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":g,"long-time":y},I=(0,s.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"},b=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=b.find(({type:t})=>"month"===t)?.value.toLowerCase();function T(){const t=(0,i.lR)();return(t&&P[t])??(0,i.QC)()}"mart"!==w&&(P.bs="sr-Latn-CS");let M=new WeakMap;const A=m["short-date-short-time"];function S(t){return m[t]}function L(t){const{dateStyle:e,timeStyle:n,hour12:s,year:i,month:r}=t,o={};return e?o.dateStyle=e:i&&(o.year=i,o.month=r||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===s?void 0:"always"===s),o}function v(t,e=A){return function(t){let e=M.get(t);if(!e){const n=T(),s=z(t.timeZone??"system"),i={...t,timeZone:s};e=new Intl.DateTimeFormat(n,i),M.set(t,e)}return e}(e).format(t)}function k(t,e=A){return v(new Date(t),{...e,...l,...h})}function N(t,e=A){return v(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function B(t,e=A){const n=o.c9.fromISO(t,{setZone:!0});if(!n.isValid)return t;if(e.timeZone)return v(n.toJSDate(),e);const s=0===n.offset?"UTC":e.timeZone,i={...e,timeZone:s};return n.toLocaleString(i,{locale:T()})}function z(t){switch(t){case"system":return r.N;case r.L:return"UTC";default:return t}}(0,i.Ml)(()=>{M=new WeakMap}),n.d(e,["_v",0,I])},73444(t,e,n){n.d(e,{JK:()=>h,Ml:()=>p,QC:()=>u,lR:()=>c,oQ:()=>g});var s=n(36563);let i;n(44208);const r=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return r??t??e??"en"}function h(){return void 0===i&&(i=a()),i}const l=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return f(t)?.language}function u(t=h()){const e=f(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function f(t=h()){return l.exec(t)?.groups}const d=[];function g(t){return d.push(t),(0,s.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const y=[];function p(t){return y.push(t),(0,s.hA)(()=>y.splice(y.indexOf(t),1))}function x(){const t=a();i!==t&&([...y].forEach(e=>e(t)),i=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",x),o&&new MutationObserver(()=>{x()}).observe(o,{attributeFilter:["lang"]})},92722(t,e,n){n.d(e,{A:()=>i});var s=n(69397);class i{constructor(t=[],e=[],n=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:s}){return new i(t,e,n||!1,s||!1)}static fromRect([t,e,n,s]){const r=n-t,o=s-e;return new i([5],[t,e,r,0,0,o,-r,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:s}=this;let i=this.coords[s*e],r=this.coords[s*e+1];for(let o=1;o<n;o+=1){const n=s*(e+o),a=this.coords[n],h=this.coords[n+1];t+=-.5*(a-i)*(h+r),i=a,r=h}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const s of this.lengths){for(let i=0;i<s;i++){const s=n*(e+i);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let s=0;const{stride:i}=this;for(const t of n){for(let n=1;n<t;n++){const t=i*(s+n);e[t]+=e[t-i],e[t+1]+=e[t+1-i]}s+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:s}=this,r=this.coords.slice(0,s*n);return t?(t.set(r),new i(e,t,this.hasZ,this.hasM)):new i(e,Array.from(r),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,s=0;e<n.length;e+=t)n[s++]=this.coords[e],n[s++]=this.coords[e+1];return new i(this.lengths,n,!1,!1)}}},98623(t,e,n){const s=Intl.DateTimeFormat().resolvedOptions().timeZone;n.d(e,["L",0,"unknown","N",0,s])},36984(t,e,n){n.r(e),n.d(e,{default:()=>X});var s=n(17676),i=n(29953),r=n(6774),o=n(13195);function a(t){return 746===t||747===t||!(t<4352)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103&&!(t>=65097&&t<=65103)||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351&&!(t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=12592&&t<=12687||t>=43360&&t<=43391||t>=55216&&t<=55295||t>=4352&&t<=4607||t>=44032&&t<=55215||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12688&&t<=12703||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543&&12540!==t||t>=65280&&t<=65519&&!(65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||t>=65104&&t<=65135&&!(t>=65112&&t<=65118||t>=65123&&t<=65126)||t>=5120&&t<=5759||t>=6320&&t<=6399||t>=65040&&t<=65055||t>=19904&&t<=19967||t>=40960&&t<=42127||t>=42128&&t<=42191)}function h(t){return!(t<11904)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=65280&&t<=65519||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543||t>=65040&&t<=65055||t>=42128&&t<=42191||t>=40960&&t<=42127)}function l(t){switch(t){case 10:case 32:case 38:case 40:case 41:case 43:case 45:case 47:case 173:case 183:case 8203:case 8208:case 8211:case 8231:return!0}return!1}function c(t){switch(t){case 9:case 10:case 11:case 12:case 13:case 32:return!0}return!1}var u=n(18989);class f{constructor(t,e,n,s,i,r,o){this._glyphItems=t,this._maxWidth=e,this._lineHeight=n,this._letterSpacing=s,this._hAnchor=i,this._vAnchor=r,this._justify=o}getShaping(t,e,n){const s=this._letterSpacing,i=this._lineHeight,r=this._justify,o=this._maxWidth,u=[];let f=0,d=0;for(const e of t){const t=e.codePointAt(0);if(null==t)continue;const i=n&&a(t);let r;for(const e of this._glyphItems)if(r=e[t],r)break;u.push({codePoint:t,x:f,y:d,vertical:i,glyphItem:r}),r&&(f+=r.shaping.xAdvance+s)}let g=f;o>0&&(g=f/Math.max(1,Math.ceil(f/o)));const y=t.includes(""),p=[],x=u.length;for(let t=0;t<x-1;t++){const e=u[t].codePoint,n=h(e);if(l(e)||n){let s=0;if(10===e)s-=1e4;else if(n&&y)s+=150;else{40!==e&&65288!==e||(s+=50);const n=u[t+1].codePoint;41!==n&&65289!==n||(s+=50)}p.push(this._buildBreak(t+1,u[t].x,g,p,s,!1))}}const _=this._optimalBreaks(this._buildBreak(x,f,g,p,0,!0));let m=0;const I=e?-i:i;let P=0;for(let t=0;t<_.length;t++){const e=_[t];let n=P;for(;n<e&&c(u[n].codePoint);)u[n].glyphItem=null,++n;let s=e-1;for(;s>n&&c(u[s].codePoint);)u[s].glyphItem=null,--s;if(n<=s){const t=u[n].x;for(let e=n;e<=s;e++)u[e].x-=t,u[e].y=d;let e=u[s].x;u[s].glyphItem&&(e+=u[s].glyphItem.shaping.xAdvance),m=Math.max(e,m),r&&this._applyJustification(u,n,s)}P=e,d+=I}if(u.length>0){const t=_.length-1,n=(r-this._hAnchor)*m;let s=(-this._vAnchor*(t+1)+.5)*i;e&&t&&(s+=t*i);for(const t of u)t.x+=n,t.y+=s}return u.filter(t=>t.glyphItem)}static getTextBox(t,e){if(!t.length)return null;let n=1/0,s=1/0,i=0,r=0;for(const o of t){const t=o.glyphItem.shaping.xAdvance,a=o.x,h=o.y-17,l=a+t,c=h+e;n=Math.min(n,a),i=Math.max(i,l),s=Math.min(s,h),r=Math.max(r,c)}return{x:n,y:s,width:i-n,height:r-s}}static getBox(t){if(!t.length)return null;let e=1/0,n=1/0,s=0,i=0;for(const r of t){const{height:t,left:o,top:a,width:h}=r.glyphItem.rect,l=r.x,c=r.y-(t-Math.abs(a)),u=l+h+o,f=c+t;e=Math.min(e,l),s=Math.max(s,u),n=Math.min(n,c),i=Math.max(i,f)}return{x:e,y:n,width:s-e,height:i-n}}static addDecoration(t,e){const n=t.length;if(0===n)return;const s={rect:new u.A(4,0,4,8),sdf:!0,page:0};let i=t[0].x+t[0].glyphItem.rect.left,r=t[0].y;for(let o=1;o<n;o++){const n=t[o];if(n.y!==r){const a=t[o-1].x+t[o-1].glyphItem.rect.left+t[o-1].glyphItem.rect.width;t.push({codePoint:0,x:i,y:r+e-3,vertical:!1,glyphItem:{mosaicItem:s,rect:{width:a-i,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}}),r=n.y,i=n.x+n.glyphItem.rect.left}}const o=t[n-1].x+t[n-1].glyphItem.rect.left+t[n-1].glyphItem.rect.width;t.push({codePoint:0,x:i,y:r+e-3,vertical:!1,glyphItem:{mosaicItem:s,rect:{width:o-i,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}})}_breakScore(t,e,n,s){const i=(t-e)*(t-e);return s?t<e?i/2:2*i:i+Math.abs(n)*n}_buildBreak(t,e,n,s,i,r){let o=null,a=this._breakScore(e,n,i,r);for(const t of s){const s=e-t.x,h=this._breakScore(s,n,i,r)+t.score;h<=a&&(o=t,a=h)}return{index:t,x:e,score:a,previousBreak:o}}_optimalBreaks(t){return t?this._optimalBreaks(t.previousBreak).concat(t.index):[]}_applyJustification(t,e,n){const s=t[n],i=s.vertical?24:s.glyphItem?s.glyphItem.shaping.xAdvance:0,r=(s.x+i)*this._justify;for(let s=e;s<=n;s++)t[s].x-=r}}const d=.5;class g{constructor(t,e,n=0,s=-1,i=d){this.x=t,this.y=e,this.angle=n,this.segment=s,this.minzoom=i}}class y{constructor(t,e,n,s,i,r=d,a=o.MG){this.anchor=t,this.labelAngle=e,this.glyphAngle=n,this.page=s,this.alternateVerticalGlyph=i,this.minzoom=r,this.maxzoom=a}}class p{constructor(t,e,n,s,i,r,o,a,h,l,c,u){this.tl=t,this.tr=e,this.bl=n,this.br=s,this.mosaicRect=i,this.labelAngle=r,this.minAngle=o,this.maxAngle=a,this.anchor=h,this.minzoom=l,this.maxzoom=c,this.page=u}}class x{constructor(t){this.shapes=t}}class _{getIconPlacement(t,e,n){const s=new r.bR(t.x,t.y),i=0===n.rotationAlignment,a=n.keepUpright;let h=n.rotate*o.os;i&&(h+=t.angle);const l=new x([]);return l.iconColliders=[],this._addIconPlacement(l,s,e,n,h),i&&a&&this._addIconPlacement(l,s,e,n,h+o.Jo),l}_addIconPlacement(t,e,n,s,i){const a=n.rasterizationScale,h=n.width/a,l=n.height/a,c=s.offset;let u=c[0],f=c[1];switch(s.anchor){case 0:u-=h/2,f-=l/2;break;case 1:f-=l/2;break;case 2:u-=h,f-=l/2;break;case 3:u-=h/2;break;case 4:u-=h/2,f-=l;break;case 5:break;case 7:f-=l;break;case 6:u-=h;break;case 8:u-=h,f-=l}const g=n.rect,y=2/a,x=u-y,_=f-y,m=x+g.width/a,I=_+g.height/a,P=new r.bR(x,_),b=new r.bR(m,I),w=new r.bR(x,I),T=new r.bR(m,_);if(0!==i){const t=Math.cos(i),e=Math.sin(i);P.rotate(t,e),b.rotate(t,e),w.rotate(t,e),T.rotate(t,e)}const M=new p(P,T,w,b,g,i,0,256,e,d,o.MG,0);t.shapes.push(M);{const n=s.size,r=s.padding,a={xTile:e.x,yTile:e.y,dxPixels:u*n-r,dyPixels:f*n-r,hard:!s.optional,partIndex:0,width:h*n+2*r,height:l*n+2*r,angle:i,minLod:d,maxLod:o.MG};t.iconColliders.push(a)}}getTextPlacement(t,e,n,s){const i=new r.bR(t.x,t.y),{keepUpright:a,rotate:h,rotationAlignment:l,size:c}=s,u=h*o.os,g=0===l,_=a,m=s.padding;let I=d;const P=g?t.angle:0,b=t.segment>=0&&g,w=[],T=[],M=!b;let A=Number.POSITIVE_INFINITY,S=Number.NEGATIVE_INFINITY,L=A,v=S;const k=(b||g)&&_,N=c/24;let B=!1;for(const t of e)if(t.vertical){B=!0;break}let z,V=0,D=0;if(!b&&B){const t=f.getTextBox(e,24*s.lineHeight);switch(s.anchor){case 1:V=t.height/2,D=-t.width/2;break;case 2:V=-t.height/2,D=t.width/2;break;case 3:V=t.height/2,D=t.width/2;break;case 4:V=-t.height/2,D=-t.width/2;break;case 5:V=t.height;break;case 7:D=-t.width;break;case 6:D=t.width;break;case 8:V=-t.height}}V+=24*s.offset[0],D+=24*s.offset[1];for(const a of e){const e=a.glyphItem?.mosaicItem,h=a.glyphItem?.rect;if(!e||e.rect.isEmpty)continue;const l=e.rect,c=e.page;if(w&&M){if(void 0!==z&&z!==a.y){let e,n,i,r;B?(e=-v+V,n=A+D,i=v-L,r=S-A):(e=A+V,n=L+D,i=S-A,r=v-L);const a={xTile:t.x,yTile:t.y,dxPixels:e*N-m,dyPixels:n*N-m,hard:!s.optional,partIndex:1,width:i*N+2*m,height:r*N+2*m,angle:u,minLod:d,maxLod:o.MG};w.push(a),A=Number.POSITIVE_INFINITY,S=Number.NEGATIVE_INFINITY,L=A,v=S}z=a.y}const f=[];if(b){const e=.5*h.width,s=(a.x+h.left-3+e)*N*8;if(I=this._placeGlyph(t,I,s,n,t.segment,1,a.vertical,c,f),_&&(I=this._placeGlyph(t,I,s,n,t.segment,-1,a.vertical,c,f)),I>=2)break}else f.push(new y(i,P,P,c,!1)),g&&_&&f.push(new y(i,P+o.Jo,P+o.Jo,c,!1));const x=a.x+h.left,R=a.y-17-h.top,C=x+h.width,F=R+h.height;let U,O,E,G,W,Z,Y,q;if(!b&&B)if(a.vertical){const t=(x+C)/2-h.height/2,e=(R+F)/2+h.width/2;U=new r.bR(-e-3+V,t-3+D),O=new r.bR(U.x+l.width,U.y+l.height),E=new r.bR(U.x,O.y),G=new r.bR(O.x,U.y)}else U=new r.bR(3-R+V,x-3+D),O=new r.bR(U.x-l.height,U.y+l.width),E=new r.bR(O.x,U.y),G=new r.bR(U.x,O.y);else U=new r.bR(x-3+V,R-3+D),O=new r.bR(U.x+l.width,U.y+l.height),E=new r.bR(U.x,O.y),G=new r.bR(O.x,U.y);for(const e of f){let n,i,o,c;if(e.alternateVerticalGlyph){if(!W){const t=(R+F)/2+D;W=new r.bR((x+C)/2+V-h.height/2-3,t+h.width/2+3),Z=new r.bR(W.x+l.height,W.y-l.width),Y=new r.bR(Z.x,W.y),q=new r.bR(W.x,Z.y)}n=W,i=Y,o=q,c=Z}else n=U,i=E,o=G,c=O;const f=R,d=F,g=e.glyphAngle+u;if(0!==g){const t=Math.cos(g),e=Math.sin(g);n=n.clone(),i=i?.clone(),o=o?.clone(),c=c?.clone(),n.rotate(t,e),c?.rotate(t,e),i?.rotate(t,e),o?.rotate(t,e)}let y=0,_=256;if(b&&B?a.vertical?e.alternateVerticalGlyph?(y=32,_=96):(y=224,_=32):(y=224,_=96):(y=192,_=64),T.push(new p(n,o,i,c,l,e.labelAngle,y,_,e.anchor,e.minzoom,e.maxzoom,e.page)),w&&(!k||this._legible(e.labelAngle)))if(M)x<A&&(A=x),f<L&&(L=f),C>S&&(S=C),d>v&&(v=d);else if(e.minzoom<2){const n={xTile:t.x,yTile:t.y,dxPixels:(x+V)*N-m,dyPixels:(f+V)*N-m,hard:!s.optional,partIndex:1,width:(C-x)*N+2*m,height:(d-f)*N+2*m,angle:g,minLod:e.minzoom,maxLod:e.maxzoom};w.push(n)}}}if(I>=2)return null;if(w&&M){let e,n,i,r;B?(e=-v+V,n=A+D,i=v-L,r=S-A):(e=A+V,n=L+D,i=S-A,r=v-L);const a={xTile:t.x,yTile:t.y,dxPixels:e*N-m,dyPixels:n*N-m,hard:!s.optional,partIndex:1,width:i*N+2*m,height:r*N+2*m,angle:u,minLod:d,maxLod:o.MG};w.push(a)}const R=new x(T);return w&&w.length>0&&(R.textColliders=w),R}_legible(t){const e=(0,o.z0)(t);return e<65||e>=193}_placeGlyph(t,e,n,s,i,a,h,l,c){let u=a;const f=u<0?(0,o.Wh)(t.angle+o.Jo,o.pJ):t.angle;let d=0;n<0&&(u*=-1,n*=-1,d=o.Jo),u>0&&++i;let g=new r.bR(t.x,t.y),p=s[i],x=o.MG;if(s.length<=i)return x;for(;;){const t=p.x-g.x,r=p.y-g.y,a=Math.sqrt(t*t+r*r),_=Math.max(n/a,e),m=t/a,I=r/a,P=(0,o.Wh)(Math.atan2(I,m)+d,o.pJ);if(c.push(new y(g,f,P,l,!1,_,x)),h&&c.push(new y(g,f,P,l,!0,_,x)),_<=e)return _;g=p.clone();do{if(i+=u,s.length<=i||i<0)return _;p=s[i]}while(g.isEqual(p));let b=p.x-g.x,w=p.y-g.y;const T=Math.sqrt(b*b+w*w);b*=a/T,w*=a/T,g.x-=b,g.y-=w,x=_}}}var m=n(51624),I=n(15585);class P{constructor(t,e,n=0){this.values={},this._geometry=void 0,this._pbfGeometry=null,this.featureIndex=n;const s=e.keys,i=e.values,r=t.asUnsafe();for(;r.next();)switch(r.tag()){case 1:this.id=r.getUInt64();break;case 2:{const t=r.getMessage().asUnsafe(),e=this.values;for(;!t.empty();){const n=t.getUInt32(),r=t.getUInt32();e[s[n]]=i[r]}t.release();break}case 3:this.type=r.getUInt32();break;case 4:this._pbfGeometry=r.getMessage();break;default:r.skip()}}getGeometry(t){if(void 0!==this._geometry)return this._geometry;if(!this._pbfGeometry)return null;const e=this._pbfGeometry.asUnsafe();let n,s;this._pbfGeometry=null,t?t.reset(this.type):n=[];let i,o=1,a=0,h=0,l=0;for(;!e.empty();){if(0===a){const t=e.getUInt32();o=7&t,a=t>>3}switch(a--,o){case 1:h+=e.getSInt32(),l+=e.getSInt32(),t?t.moveTo(h,l):n&&(s&&n.push(s),s=[],s.push(new r.bR(h,l)));break;case 2:h+=e.getSInt32(),l+=e.getSInt32(),t?t.lineTo(h,l):s&&s.push(new r.bR(h,l));break;case 7:t?t.close():s&&!s[0].equals(h,l)&&s.push(s[0].clone());break;default:throw e.release(),new Error("Invalid path operation")}}return t?i=t.result():n&&(s&&n.push(s),i=n),e.release(),this._geometry=i,i}}n(44208);class b{constructor(t){this._array=[],this._stride=t}get array(){return this._array}get index(){return 4*this._array.length/this._stride}get itemSize(){return this._stride}get sizeInBytes(){return 4*this._array.length}reset(){this.array.length=0}toBuffer(){return new Uint32Array(this._array).buffer}}class w extends b{constructor(){super(12)}add(t,e,n){const s=this.array;s.push(t),s.push(e),s.push(n)}}class T{constructor(t){this.extent=4096,this.keys=[],this.values=[],this._pbfLayer=t.clone();const e=t.asUnsafe();for(;e.next();)switch(e.tag()){case 1:this.name=e.getString();break;case 3:this.keys.push(e.getString());break;case 4:this.values.push(e.processMessage(T._parseValue));break;case 5:this.extent=e.getUInt32();break;default:e.skip()}}getData(){return this._pbfLayer}static _parseValue(t){for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getInt64();case 5:return t.getUInt64();case 6:return t.getSInt64();case 7:return t.getBool();default:t.skip()}return null}}var M=n(89518);class A extends b{constructor(t){super(t)}add(t,e,n,s,i,r,o,a,h,l,c,u){const f=this.array;let d=(0,M.M9)(t,e);f.push(d);const g=31;d=(0,M.Ss)(Math.round(g*n),Math.round(g*s),Math.round(g*i),Math.round(g*r)),f.push(d),d=(0,M.Ss)(Math.round(g*o),Math.round(g*a),Math.round(g*h),Math.round(g*l)),f.push(d),d=(0,M.M9)(c,0),f.push(d),u&&f.push(...u)}}class S extends b{constructor(t){super(t)}add(t,e,n){const s=this.array;s.push((0,M.M9)(t,e)),n&&s.push(...n)}}class L extends b{constructor(t){super(t)}add(t,e,n,s,i,r,o){const a=this.array,h=this.index;let l=(0,M.M9)(t,e);return a.push(l),l=(0,M.Ss)(Math.round(15*n),Math.round(15*s),i,r),a.push(l),o&&a.push(...o),h}}class v extends b{constructor(t){super(t)}add(t,e,n,s,i,r,a,h,l,c,u,f){const d=this.array;let g=(0,M.M9)(t,e);d.push(g),g=(0,M.M9)(Math.round(8*n),Math.round(8*s)),d.push(g),g=(0,M.M9)((0,M.ws)(i/4,r/4),(0,M.ws)(h,l)),d.push(g),g=(0,M.M9)((0,M.ws)(0,(0,o.z0)(a)),(0,M.ws)(10*c,Math.min(10*u,255))),d.push(g),f&&d.push(...f)}}class k extends b{constructor(t){super(t)}add(t,e,n,s,i){const r=this.array,o=(0,M.M9)(2*t+n,2*e+s);r.push(o),i&&r.push(...i)}}class N{constructor(t,e,n){this.layerExtent=4096,this._features=[],this.layer=t,this.zoom=e,this._spriteInfo=n,this._filter=t.getFeatureFilter()}pushFeature(t){this._filter&&!this._filter.filter(t,this.zoom)||this._features.push(t)}hasFeatures(){return this._features.length>0}getResources(t,e,n){}}class B extends N{constructor(t,e,n,s,i){super(t,e,n),this.type=4,this._circleVertexBuffer=s,this._circleIndexBuffer=i}get circleIndexStart(){return this._circleIndexStart}get circleIndexCount(){return this._circleIndexCount}processFeatures(t){const e=this._circleVertexBuffer,n=this._circleIndexBuffer;this._circleIndexStart=3*n.index,this._circleIndexCount=0;const s=this.layer,i=this.zoom;t&&t.setExtent(this.layerExtent);for(const r of this._features){const o=r.getGeometry(t);if(!o)continue;const a=s.circleMaterial.encodeAttributes(r,i,s);for(const t of o)if(t)for(const s of t){const t=e.index;e.add(s.x,s.y,0,0,a),e.add(s.x,s.y,0,1,a),e.add(s.x,s.y,1,0,a),e.add(s.x,s.y,1,1,a),n.add(t,t+1,t+2),n.add(t+1,t+2,t+3),this._circleIndexCount+=6}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this._circleVertexBuffer.array.length,t+=this._circleIndexBuffer.array.length;const e=new Uint32Array(t),n=new Int32Array(e.buffer);let s=0;e[s++]=this.type,e[s++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[s++]=this.layerUIDs[t];e[s++]=this._circleIndexStart,e[s++]=this._circleIndexCount,e[s++]=this._circleVertexBuffer.array.length;for(let t=0;t<this._circleVertexBuffer.array.length;t++)n[s++]=this._circleVertexBuffer.array[t];e[s++]=this._circleIndexBuffer.array.length;for(let t=0;t<this._circleIndexBuffer.array.length;t++)e[s++]=this._circleIndexBuffer.array[t];return e.buffer}}var z=n(98291),V=n(83349);class D extends N{constructor(t,e,n,s,i,r,o){super(t,e,n),this.type=1,this._patternMap=new Map,this._fillVertexBuffer=s,this._fillIndexBuffer=i,this._outlineVertexBuffer=r,this._outlineIndexBuffer=o}get fillIndexStart(){return this._fillIndexStart}get fillIndexCount(){return this._fillIndexCount}get outlineIndexStart(){return this._outlineIndexStart}get outlineIndexCount(){return this._outlineIndexCount}getResources(t,e,n){const s=this.layer,i=this.zoom,r=s.getPaintProperty("fill-pattern");if(r)if(r.isDataDriven)for(const t of this._features)e(r.getValue(i,t),!0);else e(r.getValue(i),!0)}processFeatures(t){this._fillIndexStart=3*this._fillIndexBuffer.index,this._fillIndexCount=0,this._outlineIndexStart=3*this._outlineIndexBuffer.index,this._outlineIndexCount=0;const e=this.layer,n=this.zoom,{fillMaterial:s,outlineMaterial:i,hasDataDrivenFill:r,hasDataDrivenOutline:o}=e;t&&t.setExtent(this.layerExtent);const a=e.getPaintProperty("fill-pattern"),h=a?.isDataDriven;let l=!a&&e.getPaintValue("fill-antialias",n);if(e.outlineUsesFillColor){if(l&&!e.hasDataDrivenOpacity){const t=e.getPaintValue("fill-opacity",n),s=e.getPaintValue("fill-opacity",n+1);t<1&&s<1&&(l=!1)}if(l&&!e.hasDataDrivenColor){const t=e.getPaintValue("fill-color",n),s=e.getPaintValue("fill-color",n+1);t[3]<1&&s[3]<1&&(l=!1)}}const c=this._features,u=t?.validateTessellation;if(h){const r=[];for(const h of c){const c=a.getValue(n,h),u=this._spriteInfo[c];if(!u?.rect)continue;const f=s.encodeAttributes(h,n,e,u),d=l&&o?i.encodeAttributes(h,n,e):[],g=h.getGeometry(t);r.push({ddFillAttributes:f,ddOutlineAttributes:d,page:u.page,geometry:g}),r.sort((t,e)=>t.page-e.page)}for(const{ddFillAttributes:t,ddOutlineAttributes:n,page:s,geometry:i}of r)this._processFeature(i,l,e.outlineUsesFillColor,t,n,u,s)}else for(const a of c){const h=r?s.encodeAttributes(a,n,e):null,c=l&&o?i.encodeAttributes(a,n,e):null,f=a.getGeometry(t);this._processFeature(f,l,e.outlineUsesFillColor,h,c,u)}}serialize(){let t=10;t+=this.layerUIDs.length,t+=this._fillVertexBuffer.array.length,t+=this._fillIndexBuffer.array.length,t+=this._outlineVertexBuffer.array.length,t+=this._outlineIndexBuffer.array.length,t+=3*this._patternMap.size+1;const e=new Uint32Array(t),n=new Int32Array(e.buffer);let s=0;e[s++]=this.type,e[s++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[s++]=this.layerUIDs[t];e[s++]=this._fillIndexStart,e[s++]=this._fillIndexCount,e[s++]=this._outlineIndexStart,e[s++]=this._outlineIndexCount;const i=this._patternMap,r=i.size;if(e[s++]=r,r>0)for(const[t,[n,r]]of i)e[s++]=t,e[s++]=n,e[s++]=r;e[s++]=this._fillVertexBuffer.array.length;for(let t=0;t<this._fillVertexBuffer.array.length;t++)n[s++]=this._fillVertexBuffer.array[t];e[s++]=this._fillIndexBuffer.array.length;for(let t=0;t<this._fillIndexBuffer.array.length;t++)e[s++]=this._fillIndexBuffer.array[t];e[s++]=this._outlineVertexBuffer.array.length;for(let t=0;t<this._outlineVertexBuffer.array.length;t++)n[s++]=this._outlineVertexBuffer.array[t];e[s++]=this._outlineIndexBuffer.array.length;for(let t=0;t<this._outlineIndexBuffer.array.length;t++)e[s++]=this._outlineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,n,s,i,r,o){if(!t)return;const a=t.length,h=!i||0===i.length;if(e&&(!n||h))for(let e=0;e<a;e++)this._processOutline(t[e],i);let l;for(let e=0;e<a;e++){const n=D._area(t[e]);n>32?(void 0!==l&&this._processFill(t,l,s,r,o),l=[e]):n<-32&&void 0!==l&&l.push(e)}void 0!==l&&this._processFill(t,l,s,r,o)}_processOutline(t,e){const n=this._outlineVertexBuffer,s=this._outlineIndexBuffer,i=s.index;let o,a,h;const l=new r.bR(0,0),c=new r.bR(0,0),u=new r.bR(0,0);let f=-1,d=-1,g=-1,y=-1,p=-1,x=!1,_=t.length;if(_<2)return;const m=t[0];let I=t[_-1];for(;_&&I.isEqual(m);)--_,I=t[_-1];if(!(_-0<2)){for(let i=0;i<_;++i){0===i?(o=t[_-1],a=t[0],h=t[1],l.assignSub(a,o),l.normalize(),l.rightPerpendicular()):(o=a,a=h,h=i!==_-1?t[i+1]:t[0],l.assign(c));const r=this._isClipEdge(o,a);-1===y&&(x=r),c.assignSub(h,a),c.normalize(),c.rightPerpendicular();const m=l.x*c.y-l.y*c.x;u.assignAdd(l,c),u.normalize();const I=-u.x*-l.x+-u.y*-l.y;let P=Math.abs(0!==I?1/I:1);P>8&&(P=8),m>=0?(g=n.add(a.x,a.y,l.x,l.y,0,1,e),-1===y&&(y=g),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g),d=n.add(a.x,a.y,P*-u.x,P*-u.y,0,-1,e),-1===p&&(p=d),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g),f=d,d=g,g=n.add(a.x,a.y,u.x,u.y,0,1,e),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g),d=n.add(a.x,a.y,c.x,c.y,0,1,e),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g)):(g=n.add(a.x,a.y,P*u.x,P*u.y,0,1,e),-1===y&&(y=g),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g),d=n.add(a.x,a.y,-l.x,-l.y,0,-1,e),-1===p&&(p=d),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g),f=d,d=g,g=n.add(a.x,a.y,-u.x,-u.y,0,-1,e),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g),f=n.add(a.x,a.y,-c.x,-c.y,0,-1,e),f>=0&&d>=0&&g>=0&&!r&&s.add(f,d,g))}f>=0&&d>=0&&y>=0&&!x&&s.add(f,d,y),f>=0&&y>=0&&p>=0&&!x&&s.add(f,p,y),this._outlineIndexCount+=3*(s.index-i)}}_processFill(t,e,n,s,i){let r;e.length>1&&(r=[]);let o=0;for(const n of e)0!==o&&r.push(o),o+=t[n].length;const a=2*o,h=z.A.acquire();for(const n of e){const e=t[n],s=e.length;for(let t=0;t<s;++t)h.push(e[t].x,e[t].y)}const l=(0,V.e)(h,r,2);if(V.e.deviation(h,r,2,l)>0){const s=e.map(e=>t[e].length),{buffer:r,vertexCount:o}=(0,I.QT)(h,s);if(o>0){const t=this._fillVertexBuffer.index;for(let t=0;t<o;t++)this._fillVertexBuffer.add(r[2*t],r[2*t+1],n);for(let e=0;e<o;e+=3){const n=t+e;this._fillIndexBuffer.add(n,n+1,n+2)}if(void 0!==i){const t=this._patternMap,e=t.get(i);e?e[1]+=o:t.set(i,[this._fillIndexStart+this._fillIndexCount,o])}this._fillIndexCount+=o}}else{const t=l.length;if(t>0){const e=this._fillVertexBuffer.index;let s=0;for(;s<a;)this._fillVertexBuffer.add(h[s++],h[s++],n);let r=0;for(;r<t;)this._fillIndexBuffer.add(e+l[r++],e+l[r++],e+l[r++]);if(void 0!==i){const e=this._patternMap,n=e.get(i);n?n[1]+=t:e.set(i,[this._fillIndexStart+this._fillIndexCount,t])}this._fillIndexCount+=t}}z.A.release(h)}_isClipEdge(t,e){return t.x===e.x?t.x<=-64||t.x>=4160:t.y===e.y&&(t.y<=-64||t.y>=4160)}static _area(t){let e=0;const n=t.length-1;for(let s=0;s<n;s++)e+=(t[s].x-t[s+1].x)*(t[s].y+t[s+1].y);return e+=(t[n].x-t[0].x)*(t[n].y+t[0].y),.5*e}}var R=n(83773);class C extends N{constructor(t,e,n,s,i){super(t,e,n),this.type=2,this._tessellationOptions={pixelCoordRatio:8,halfWidth:0,offset:0},this._patternMap=new Map,this.tessellationProperties={_lineVertexBuffer:null,_lineIndexBuffer:null,_ddValues:null},this.tessellationProperties._lineVertexBuffer=s,this.tessellationProperties._lineIndexBuffer=i,this._lineTessellator=new R.i(F(this.tessellationProperties),U(this.tessellationProperties),t.canUseThinTessellation)}get lineIndexStart(){return this._lineIndexStart}get lineIndexCount(){return this._lineIndexCount}getResources(t,e,n){const s=this.layer,i=this.zoom,r=s.getPaintProperty("line-pattern"),o=s.getPaintProperty("line-dasharray"),a=s.getLayoutProperty("line-cap");if(!r&&!o)return;const h=a?.getValue(i)||0,l=a?.isDataDriven,c=r?.isDataDriven,u=o?.isDataDriven;if(c||u)for(const t of this._features)e(c?r.getValue(i,t):this._getDashArrayKey(t,i,s,o,l,a,h));else if(r)e(r.getValue(i));else if(o){const t=o.getValue(i);e(s.getDashKey(t,h))}}processFeatures(t){this._lineIndexStart=3*this.tessellationProperties._lineIndexBuffer.index,this._lineIndexCount=0;const e=this.layer,n=this.zoom,s=this._features,i=this._tessellationOptions,{hasDataDrivenLine:r,lineMaterial:o}=e;t&&t.setExtent(this.layerExtent);const a=e.getPaintProperty("line-pattern"),h=e.getPaintProperty("line-dasharray"),l=a?.isDataDriven,c=h?.isDataDriven;let u;u=e.getLayoutProperty("line-cap");const f=u?.isDataDriven?u:null,d=f?null:e.getLayoutValue("line-cap",n),g=d||0,y=!!f;u=e.getLayoutProperty("line-join");const p=u?.isDataDriven?u:null,x=p?null:e.getLayoutValue("line-join",n);u=e.getLayoutProperty("line-miter-limit");const _=u?.isDataDriven?u:null,m=_?null:e.getLayoutValue("line-miter-limit",n);u=e.getLayoutProperty("line-round-limit");const I=u?.isDataDriven?u:null,P=I?null:e.getLayoutValue("line-round-limit",n);u=e.getPaintProperty("line-width");const b=u?.isDataDriven?u:null,w=b?null:e.getPaintValue("line-width",n);u=e.getPaintProperty("line-offset");const T=u?.isDataDriven?u:null,M=T?null:e.getPaintValue("line-offset",n);if(l||c){const r=[];for(const i of s){const s=l?a.getValue(n,i):this._getDashArrayKey(i,n,e,h,y,f,g),c=this._spriteInfo[s];if(!c?.rect)continue;const u=o.encodeAttributes(i,n,e,c),A=i.getGeometry(t);r.push({ddAttributes:u,page:c.page,cap:f?f.getValue(n,i):d,join:p?p.getValue(n,i):x,miterLimit:_?_.getValue(n,i):m,roundLimit:I?I.getValue(n,i):P,halfWidth:.5*(b?b.getValue(n,i):w),offset:T?T.getValue(n,i):M,geometry:A})}r.sort((t,e)=>t.page-e.page),i.textured=!0;for(const{ddAttributes:t,page:e,cap:n,join:s,miterLimit:o,roundLimit:a,halfWidth:h,offset:l,geometry:c}of r)i.capType=n,i.joinType=s,i.miterLimit=o,i.roundLimit=a,i.halfWidth=h,i.offset=l,this._processFeature(c,t,e)}else{if(a){const t=a.getValue(n),e=this._spriteInfo[t];if(!e?.rect)return}i.textured=!(!a&&!h),i.capType=d,i.joinType=x,i.miterLimit=m,i.roundLimit=P,i.halfWidth=.5*w,i.offset=M;for(const a of s){const s=r?o.encodeAttributes(a,n,e):null;f&&(i.capType=f.getValue(n,a)),p&&(i.joinType=p.getValue(n,a)),_&&(i.miterLimit=_.getValue(n,a)),I&&(i.roundLimit=I.getValue(n,a)),b&&(i.halfWidth=.5*b.getValue(n,a)),T&&(i.offset=T.getValue(n,a));const h=a.getGeometry(t);this._processFeature(h,s)}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this.tessellationProperties._lineVertexBuffer.array.length,t+=this.tessellationProperties._lineIndexBuffer.array.length,t+=3*this._patternMap.size+1;const e=new Uint32Array(t),n=new Int32Array(e.buffer);let s=0;e[s++]=this.type,e[s++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[s++]=this.layerUIDs[t];e[s++]=this._lineIndexStart,e[s++]=this._lineIndexCount;const i=this._patternMap,r=i.size;if(e[s++]=r,r>0)for(const[t,[n,r]]of i)e[s++]=t,e[s++]=n,e[s++]=r;e[s++]=this.tessellationProperties._lineVertexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineVertexBuffer.array.length;t++)n[s++]=this.tessellationProperties._lineVertexBuffer.array[t];e[s++]=this.tessellationProperties._lineIndexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineIndexBuffer.array.length;t++)e[s++]=this.tessellationProperties._lineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,n){if(!t)return;const s=t.length;for(let i=0;i<s;i++)this._processGeometry(t[i],e,n)}_processGeometry(t,e,n){if(t.length<2)return;let s,i,r=t[0],o=1;for(;o<t.length;)s=t[o].x-r.x,i=t[o].y-r.y,s*s+i*i<1e-6?t.splice(o,1):(r=t[o],++o);if(t.length<2)return;const a=this.tessellationProperties._lineIndexBuffer,h=3*a.index;this._tessellationOptions.initialDistance=0,this._tessellationOptions.wrapDistance=65535,this.tessellationProperties._ddValues=e,this._lineTessellator.tessellate(t,this._tessellationOptions);const l=3*a.index-h;if(void 0!==n){const t=this._patternMap,e=t.get(n);e?e[1]+=l:t.set(n,[h+this._lineIndexCount,l])}this._lineIndexCount+=l}_getDashArrayKey(t,e,n,s,i,r,o){const a=i?r.getValue(e,t):o,h=s.getValue(e,t);return n.getDashKey(h,a)}}const F=t=>(e,n,s,i,r,o,a,h,l,c,u)=>(t._lineVertexBuffer.add(e,n,a,h,s,i,r,o,l,c,u,t._ddValues),t._lineVertexBuffer.index-1),U=t=>(e,n,s)=>{t._lineIndexBuffer.add(e,n,s)};var O=n(32488),E=n(97768),G=n(799),W=n(36745),Z=n(78957),Y=n(92722);function q(t){let e=0;for(let n=0,s=t.length-1;n<t.length;s=n++)e+=(t[s].x-t[n].x)*(t[n].y+t[s].y);return.5*e}var j=n(4264);function K(t,e){return t.iconMosaicItem&&e.iconMosaicItem?t.iconMosaicItem.page===e.iconMosaicItem.page?0:t.iconMosaicItem.page-e.iconMosaicItem.page:t.iconMosaicItem&&!e.iconMosaicItem?1:!t.iconMosaicItem&&e.iconMosaicItem?-1:0}class J extends N{constructor(t,e,n,s,i,r,o,a,h){super(e,n,h.getSpriteItems()),this.type=3,this._markerMap=new Map,this._glyphMap=new Map,this._glyphBufferDataStorage=new Map,this._isIconSDF=!1,this._sourceTileKey=t,this._iconVertexBuffer=s,this._iconIndexBuffer=i,this._textVertexBuffer=r,this._textIndexBuffer=o,this._placementEngine=a,this._workerTileHandler=h}get markerPageMap(){return this._markerMap}get glyphsPageMap(){return this._glyphMap}get symbolInstances(){return this._symbolInstances}static{this._bidiEngine=new O.A}getResources(t,e,n){const s=this.layer,i=this.zoom;t&&t.setExtent(this.layerExtent);const r=s.getLayoutProperty("icon-image"),o=s.getLayoutProperty("text-field");let a=s.getLayoutProperty("text-transform"),h=s.getLayoutProperty("text-font");const l=[];let c,u,f,d;r&&!r.isDataDriven&&(c=r.getValue(i)),o&&!o.isDataDriven&&(u=o.getValue(i)),a&&a.isDataDriven||(f=s.getLayoutValue("text-transform",i),a=null),h&&h.isDataDriven||(d=s.getLayoutValue("text-font",i),h=null);for(const g of this._features){const y=g.getGeometry(t);if(!y||0===y.length)continue;let p,x;r&&(p=r.isDataDriven?r.getValue(i,g):this._replaceKeys(c,g.values),p&&e(p));let _=!1;if(o&&(x=o.isDataDriven?o.getValue(i,g):this._replaceKeys(u,g.values),x)){switch(x=x.replaceAll("\\n","\n"),a&&(f=a.getValue(i,g)),f){case 2:x=x.toLowerCase();break;case 1:x=x.toUpperCase()}if(J._bidiEngine.hasBidiChar(x)){let t;t="rtl"===J._bidiEngine.checkContextual(x)?"IDNNN":"ICNNN",x=J._bidiEngine.bidiTransform(x,t,"VLYSN"),_=!0}if(x.length>0){h&&(d=h.getValue(i,g));for(const t of d){let e=n[t];e||(e=n[t]=new Set);for(const t of x){const n=t.codePointAt(0);null!=n&&e.add(n)}}}}if(!p&&!x)continue;const m=s.getLayoutValue("symbol-sort-key",i,g),I={feature:g,sprite:p,label:x,rtl:_,geometry:y,hash:(x?(0,G.Wm)(x):0)^(p?(0,G.Wm)(p):0),priority:m,textFont:d};l.push(I)}this._symbolFeatures=l}processFeatures(t){t&&t.setExtent(this.layerExtent);const e=this.layer,n=this.zoom,s=e.getLayoutValue("symbol-placement",n),i=0!==s,r=8*e.getLayoutValue("symbol-spacing",n),a=e.getLayoutProperty("icon-image"),h=e.getLayoutProperty("text-field"),l=a?new j.aR(e,n,i):null,c=h?new j.uU(e,n,i):null,u=this._workerTileHandler;let d;a&&(d=u.getSpriteItems()),this._iconIndexStart=3*this._iconIndexBuffer.index,this._textIndexStart=3*this._textIndexBuffer.index,this._iconIndexCount=0,this._textIndexCount=0,this._markerMap.clear(),this._glyphMap.clear();const y=[];let p=1;c?.size&&(p=c.size/24);const x=c?c.maxAngle*o.os:0,_=c?8*c.size:0;for(const t of this._symbolFeatures){let o,a;l&&d&&t.sprite&&(o=d[t.sprite],o&&o.sdf&&(this._isIconSDF=!0)),o&&l.update(n,t.feature);let h=0;const m=t.label;if(m){(0,E.Lw)(c),c.update(n,t.feature);const e=i&&0===c.rotationAlignment?c.keepUpright:c.writingMode&&c.writingMode.includes(1);let s=.5;switch(c.anchor){case 5:case 1:case 7:s=0;break;case 6:case 2:case 8:s=1}let r=.5;switch(c.anchor){case 5:case 3:case 6:r=0;break;case 7:case 4:case 8:r=1}let o=.5;switch(c.justify){case 0:o=s;break;case 1:o=0;break;case 3:o=1}const l=24*c.letterSpacing,d=i?0:24*c.maxWidth,g=24*c.lineHeight,y=t.textFont.map(t=>u.getGlyphItems(t));if(a=new f(y,d,g,l,s,r,o).getShaping(m,t.rtl,e),a&&a.length>0){let t=1e30,e=-1e30;for(const n of a)t=Math.min(t,n.x),e=Math.max(e,n.x);h=(e-t+48)*p*8}}const I=J._getPlacementCandidates(e,s,t.feature,t.geometry);for(const e of I){let{vertices:n}=e;const u=[];if(1===s){if(a?.length&&c?.size){const t=8*c.size*(2+Math.min(2,4*Math.abs(c.offset[1])));n=J._smoothVertices(n,t)}J._pushAnchors(u,n,r,h)}else 2===s?J._pushCenterAnchor(u,n):3===t.feature.type?e.anchor?u.push(e.anchor):J._pushCentroid(u,n):u.push(new g(n[0].x,n[0].y));for(const e of u){if(e.x<0||e.x>4096||e.y<0||e.y>4096)continue;if(i&&h>0&&0===c?.rotationAlignment&&!J._honorsTextMaxAngle(n,e,h,x,_))continue;const s={shaping:a,line:n,iconMosaicItem:o,anchor:e,symbolFeature:t,textColliders:[],iconColliders:[],textVertexRanges:[],iconVertexRanges:[]};y.push(s),this._processFeature(s,l,c)}}}y.sort(K),this._addPlacedGlyphs(),this._symbolInstances=y}serialize(){let t=14;t+=this.layerUIDs.length,t+=3*this.markerPageMap.size,t+=3*this.glyphsPageMap.size,t+=J._symbolsSerializationLength(this._symbolInstances),t+=this._iconVertexBuffer.array.length,t+=this._iconIndexBuffer.array.length,t+=this._textVertexBuffer.array.length,t+=this._textIndexBuffer.array.length;const e=new Uint32Array(t),n=new Int32Array(e.buffer),s=new Float32Array(e.buffer),[i,r,o]=this._sourceTileKey.split("/");let a=0;e[a++]=this.type,e[a++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[a++]=this.layerUIDs[t];e[a++]=this._isIconSDF?1:0,e[a++]=parseFloat(i),e[a++]=parseFloat(r),e[a++]=parseFloat(o),e[a++]=this.markerPageMap.size;for(const[t,[n,s]]of this.markerPageMap)e[a++]=t,e[a++]=n,e[a++]=s;e[a++]=this.glyphsPageMap.size;for(const[t,[n,s]]of this.glyphsPageMap)e[a++]=t,e[a++]=n,e[a++]=s;e[a++]=this._iconVertexBuffer.index/4,e[a++]=this._textVertexBuffer.index/4,a=J.serializeSymbols(e,n,s,a,this._symbolInstances),e[a++]=this._iconVertexBuffer.array.length;for(let t=0;t<this._iconVertexBuffer.array.length;t++)n[a++]=this._iconVertexBuffer.array[t];e[a++]=this._iconIndexBuffer.array.length;for(let t=0;t<this._iconIndexBuffer.array.length;t++)e[a++]=this._iconIndexBuffer.array[t];e[a++]=this._textVertexBuffer.array.length;for(let t=0;t<this._textVertexBuffer.array.length;t++)n[a++]=this._textVertexBuffer.array[t];e[a++]=this._textIndexBuffer.array.length;for(let t=0;t<this._textIndexBuffer.array.length;t++)e[a++]=this._textIndexBuffer.array[t];return e.buffer}static _symbolsSerializationLength(t){let e=0;e+=1;for(const n of t||[]){e+=5,e+=1;for(const t of n.textColliders)e+=10;for(const t of n.iconColliders)e+=10;e+=1,e+=2*n.textVertexRanges.length,e+=1,e+=2*n.iconVertexRanges.length}return e}static serializeSymbols(t,e,n,s,i){i=i||[],e[s++]=i.length;for(const t of i){e[s++]=t.anchor.x,e[s++]=t.anchor.y,e[s++]=t.symbolFeature.hash,e[s++]=t.symbolFeature.priority,e[s++]=t.symbolFeature.feature.featureIndex,e[s++]=t.textColliders.length+t.iconColliders.length;for(const i of t.textColliders)e[s++]=i.xTile,e[s++]=i.yTile,e[s++]=i.dxPixels,e[s++]=i.dyPixels,e[s++]=i.hard?1:0,e[s++]=i.partIndex,n[s++]=i.minLod,n[s++]=i.maxLod,e[s++]=i.width,e[s++]=i.height;for(const i of t.iconColliders)e[s++]=i.xTile,e[s++]=i.yTile,e[s++]=i.dxPixels,e[s++]=i.dyPixels,e[s++]=i.hard?1:0,e[s++]=i.partIndex,n[s++]=i.minLod,n[s++]=i.maxLod,e[s++]=i.width,e[s++]=i.height;e[s++]=t.textVertexRanges.length;for(const[n,i]of t.textVertexRanges)e[s++]=n,e[s++]=i;e[s++]=t.iconVertexRanges.length;for(const[n,i]of t.iconVertexRanges)e[s++]=n,e[s++]=i}return s}_replaceKeys(t,e){return t.replaceAll(/{([^{}]+)}/g,(t,n)=>n in e?e[n]:"")}_processFeature(t,e,n){const{line:s,iconMosaicItem:i,shaping:r,anchor:a}=t,h=this.zoom,l=this.layer,c=!!i;let u=!0;c&&(u=e?.optional||!i);const f=r&&r.length>0,d=!f||n?.optional;let g,y;if(c&&(g=this._placementEngine.getIconPlacement(a,i,e)),(g||u)&&(f&&(y=this._placementEngine.getTextPlacement(a,r,s,n)),y||d)){if(g&&y||(d||u?d||y?u||g||(y=null):g=null:(g=null,y=null)),y){const e=l.hasDataDrivenText?l.textMaterial.encodeAttributes(t.symbolFeature.feature,h,l):null;if(this._storePlacedGlyphs(t,y.shapes,h,n.rotationAlignment,e),y.textColliders){t.textColliders=y.textColliders;for(const t of y.textColliders){t.minLod=Math.max(h+(0,o.p6)(t.minLod),0),t.maxLod=Math.min(h+(0,o.p6)(t.maxLod),25);const e=t.angle;if(e){const n=Math.cos(e),s=Math.sin(e),i=t.dxPixels*n-t.dyPixels*s,r=t.dxPixels*s+t.dyPixels*n,o=(t.dxPixels+t.width)*n-t.dyPixels*s,a=(t.dxPixels+t.width)*s+t.dyPixels*n,h=t.dxPixels*n-(t.dyPixels+t.height)*s,l=t.dxPixels*s+(t.dyPixels+t.height)*n,c=(t.dxPixels+t.width)*n-(t.dyPixels+t.height)*s,u=(t.dxPixels+t.width)*s+(t.dyPixels+t.height)*n,f=Math.min(i,o,h,c),d=Math.max(i,o,h,c),g=Math.min(r,a,l,u),y=Math.max(r,a,l,u);t.dxPixels=f,t.dyPixels=g,t.width=d-f,t.height=y-g}}}}if(g){const n=l.hasDataDrivenIcon?l.iconMaterial.encodeAttributes(t.symbolFeature.feature,h,l):null;if(this._addPlacedIcons(t,g.shapes,h,i.page,1===e.rotationAlignment,n),g.iconColliders){t.iconColliders=g.iconColliders;for(const t of g.iconColliders){t.minLod=Math.max(h+(0,o.p6)(t.minLod),0),t.maxLod=Math.min(h+(0,o.p6)(t.maxLod),25);const e=t.angle;if(e){const n=Math.cos(e),s=Math.sin(e),i=t.dxPixels*n-t.dyPixels*s,r=t.dxPixels*s+t.dyPixels*n,o=(t.dxPixels+t.width)*n-t.dyPixels*s,a=(t.dxPixels+t.width)*s+t.dyPixels*n,h=t.dxPixels*n-(t.dyPixels+t.height)*s,l=t.dxPixels*s+(t.dyPixels+t.height)*n,c=(t.dxPixels+t.width)*n-(t.dyPixels+t.height)*s,u=(t.dxPixels+t.width)*s+(t.dyPixels+t.height)*n,f=Math.min(i,o,h,c),d=Math.max(i,o,h,c),g=Math.min(r,a,l,u),y=Math.max(r,a,l,u);t.dxPixels=f,t.dyPixels=g,t.width=d-f,t.height=y-g}}}}}}_addPlacedIcons(t,e,n,s,i,r){const a=Math.max(n-1,0),h=this._iconVertexBuffer,l=this._iconIndexBuffer,c=this._markerMap;for(const u of e){const e=i?0:Math.max(n+(0,o.p6)(u.minzoom),a),f=i?25:Math.min(n+(0,o.p6)(u.maxzoom),25);if(f<=e)continue;const d=u.tl,g=u.tr,y=u.bl,p=u.br,x=u.mosaicRect,_=u.labelAngle,m=u.minAngle,I=u.maxAngle,P=u.anchor,b=h.index,w=x.x,T=x.y,M=w+x.width,A=T+x.height,S=h.index;h.add(P.x,P.y,d.x,d.y,w,T,_,m,I,e,f,r),h.add(P.x,P.y,g.x,g.y,M,T,_,m,I,e,f,r),h.add(P.x,P.y,y.x,y.y,w,A,_,m,I,e,f,r),h.add(P.x,P.y,p.x,p.y,M,A,_,m,I,e,f,r),t.iconVertexRanges.length>0&&t.iconVertexRanges[0][0]+t.iconVertexRanges[0][1]===S?t.iconVertexRanges[0][1]+=4:t.iconVertexRanges.push([S,4]),l.add(b,b+1,b+2),l.add(b+1,b+2,b+3),c.has(s)?c.get(s)[1]+=6:c.set(s,[this._iconIndexStart+this._iconIndexCount,6]),this._iconIndexCount+=6}}_addPlacedGlyphs(){const t=this._textVertexBuffer,e=this._textIndexBuffer,n=this._glyphMap;for(const[s,i]of this._glyphBufferDataStorage)for(const r of i){const i=t.index,o=r.symbolInstance,a=r.ddAttributes,h=t.index;t.add(r.glyphAnchor[0],r.glyphAnchor[1],r.tl[0],r.tl[1],r.xmin,r.ymin,r.labelAngle,r.minAngle,r.maxAngle,r.minLod,r.maxLod,a),t.add(r.glyphAnchor[0],r.glyphAnchor[1],r.tr[0],r.tr[1],r.xmax,r.ymin,r.labelAngle,r.minAngle,r.maxAngle,r.minLod,r.maxLod,a),t.add(r.glyphAnchor[0],r.glyphAnchor[1],r.bl[0],r.bl[1],r.xmin,r.ymax,r.labelAngle,r.minAngle,r.maxAngle,r.minLod,r.maxLod,a),t.add(r.glyphAnchor[0],r.glyphAnchor[1],r.br[0],r.br[1],r.xmax,r.ymax,r.labelAngle,r.minAngle,r.maxAngle,r.minLod,r.maxLod,a),o.textVertexRanges.length>0&&o.textVertexRanges[0][0]+o.textVertexRanges[0][1]===h?o.textVertexRanges[0][1]+=4:o.textVertexRanges.push([h,4]),e.add(i,i+1,i+2),e.add(i+1,i+2,i+3),n.has(s)?n.get(s)[1]+=6:n.set(s,[this._textIndexStart+this._textIndexCount,6]),this._textIndexCount+=6}this._glyphBufferDataStorage.clear()}_storePlacedGlyphs(t,e,n,s,i){const r=Math.max(n-1,0),a=1===s;let h,l,c,u,f,d,g,y,p,x,_;for(const s of e)h=a?0:Math.max(n+(0,o.p6)(s.minzoom),r),l=a?25:Math.min(n+(0,o.p6)(s.maxzoom),25),l<=h||(c=s.tl,u=s.tr,f=s.bl,d=s.br,g=s.labelAngle,y=s.minAngle,p=s.maxAngle,x=s.anchor,_=s.mosaicRect,this._glyphBufferDataStorage.has(s.page)||this._glyphBufferDataStorage.set(s.page,[]),this._glyphBufferDataStorage.get(s.page).push({glyphAnchor:[x.x,x.y],tl:[c.x,c.y],tr:[u.x,u.y],bl:[f.x,f.y],br:[d.x,d.y],xmin:_.x,ymin:_.y,xmax:_.x+_.width,ymax:_.y+_.height,labelAngle:g,minAngle:y,maxAngle:p,minLod:h,maxLod:l,placementLod:r,symbolInstance:t,ddAttributes:i}))}static _pushAnchors(t,e,n,s){n+=s;let i=0;const a=e.length-1;for(let t=0;t<a;t++)i+=r.bR.distance(e[t],e[t+1]);let h=s||n;if(h*=.5,i<=h)return;const l=h/i;let c=0,u=-(n=i/Math.max(Math.round(i/n),1))/2;const f=e.length-1;for(let s=0;s<f;s++){const i=e[s],r=e[s+1],a=r.x-i.x,h=r.y-i.y,f=Math.sqrt(a*a+h*h);let d;for(;u+n<c+f;){u+=n;const e=(u-c)/f,y=(0,o.GW)(i.x,r.x,e),p=(0,o.GW)(i.y,r.y,e);void 0===d&&(d=Math.atan2(h,a)),t.push(new g(y,p,d,s,l))}c+=f}}static _pushCenterAnchor(t,e){let n=0;const s=e.length-1;for(let t=0;t<s;t++)n+=r.bR.distance(e[t],e[t+1]);const i=n/2;let a=0;const h=e.length-1;for(let n=0;n<h;n++){const s=e[n],r=e[n+1],h=r.x-s.x,l=r.y-s.y,c=Math.sqrt(h*h+l*l);if(i<a+c){const e=(i-a)/c,u=(0,o.GW)(s.x,r.x,e),f=(0,o.GW)(s.y,r.y,e),d=Math.atan2(l,h);return void t.push(new g(u,f,d,n,0))}a+=c}}static _deviation(t,e,n){const s=(e.x-t.x)*(n.x-e.x)+(e.y-t.y)*(n.y-e.y),i=(e.x-t.x)*(n.y-e.y)-(e.y-t.y)*(n.x-e.x);return Math.atan2(i,s)}static _honorsTextMaxAngle(t,e,n,s,i){let o=0;const a=n/2;let h=new r.bR(e.x,e.y),l=e.segment+1;for(;o>-a;){if(--l,l<0)return!1;o-=r.bR.distance(t[l],h),h=t[l]}o+=r.bR.distance(t[l],t[l+1]);const c=[];let u=0;const f=t.length;for(;o<a;){const e=t[l];let n,a=l;do{if(++a,a===f)return!1;n=t[a]}while(n.isEqual(e));let h,d=a;do{if(++d,d===f)return!1;h=t[d]}while(h.isEqual(n));const g=this._deviation(e,n,h);for(c.push({deviation:g,distToAnchor:o}),u+=g;o-c[0].distToAnchor>i;)u-=c.shift().deviation;if(Math.abs(u)>s)return!1;o+=r.bR.distance(n,h),l=a}return!0}static _smoothVertices(t,e){if(e<=0)return t;let n=t.length;if(n<3)return t;const s=[];let i=0,o=0;s.push(0);for(let e=1;e<n;e++){const n=r.bR.distance(t[e],t[e-1]);n>0&&(i+=n,s.push(i),o++,o!==e&&(t[o]=t[e]))}if(n=o+1,n<3)return t;e=Math.min(e,.2*i);const a=t[0].x,h=t[0].y,l=t[n-1].x,c=t[n-1].y,u=r.bR.sub(t[0],t[1]);u.normalize(),t[0].x+=e*u.x,t[0].y+=e*u.y,u.assignSub(t[n-1],t[n-2]),u.normalize(),t[n-1].x+=e*u.x,t[n-1].y+=e*u.y,s[0]-=e,s[n-1]+=e;const f=[];f.push(new r.bR(a,h));const d=1e-6,g=.5*e;for(let i=1;i<n-1;i++){let o=0,a=0,h=0;for(let n=i-1;n>=0;n--){const r=g+s[n+1]-s[i];if(r<0)break;const l=s[n+1]-s[n],c=s[i]-s[n]<g?1:r/l;if(c<d)break;const u=c*c,f=c*r-.5*u*l,y=c*l/e,p=t[n+1],x=t[n].x-p.x,_=t[n].y-p.y;o+=y/f*(p.x*c*r+.5*u*(r*x-l*p.x)-u*c*l*x/3),a+=y/f*(p.y*c*r+.5*u*(r*_-l*p.y)-u*c*l*_/3),h+=y}for(let r=i+1;r<n;r++){const n=g-s[r-1]+s[i];if(n<0)break;const l=s[r]-s[r-1],c=s[r]-s[i]<g?1:n/l;if(c<d)break;const u=c*c,f=c*n-.5*u*l,y=c*l/e,p=t[r-1],x=t[r].x-p.x,_=t[r].y-p.y;o+=y/f*(p.x*c*n+.5*u*(n*x-l*p.x)-u*c*l*x/3),a+=y/f*(p.y*c*n+.5*u*(n*_-l*p.y)-u*c*l*_/3),h+=y}f.push(new r.bR(o/h,a/h))}return f.push(new r.bR(l,c)),t[0].x=a,t[0].y=h,t[n-1].x=l,t[n-1].y=c,f}static _getPlacementCandidates(t,e,n,s){if(0!==e||3!==n.type||"geojson"!==t.sourceType)return s.map(t=>({anchor:null,vertices:t}));const i=function(t){let e=null,n=0,s=[],i=0;for(const r of t){const t=q(r);t>0?(i>n&&(n=i,e=s),s=[r],i=t):t<0&&s.length>0&&(s.push(r),i+=t)}if(i>n&&(e=s),!e)return null;const r=e.map(t=>t.length),o=[];for(const t of e)for(const e of t)o.push(e.x,e.y);const a=W.z.fromOptimized(new Y.A(r,o),"esriGeometryPolygon"),h=(0,Z.R)(a);return h?{x:h[0],y:h[1],vertices:e[0]}:null}(s);return i?[{anchor:new g(i.x,i.y),vertices:i.vertices}]:[]}static _pushCentroid(t,e){const n=4096,s=4096,i=e.length-1;let r=0,o=0,a=0,h=e[0].x,l=e[0].y;h>n&&(h=n),h<0&&(h=0),l>s&&(l=s),l<0&&(l=0);for(let t=1;t<i;t++){let i=e[t].x,c=e[t].y,u=e[t+1].x,f=e[t+1].y;i>n&&(i=n),i<0&&(i=0),c>s&&(c=s),c<0&&(c=0),u>n&&(u=n),u<0&&(u=0),f>s&&(f=s),f<0&&(f=0);const d=(i-h)*(f-l)-(u-h)*(c-l);r+=d*(h+i+u),o+=d*(l+c+f),a+=d}r/=3*a,o/=3*a,isNaN(r)||isNaN(o)||t.push(new g(r,o))}}class H{constructor(t,e,n,s,i,a,h){if(this._pbfTiles={},this._tileClippers={},this._client=n,this._tile=e,this._sourceDataMaxLOD=s,this._baseUrl=h,a){this._styleLayerUIDs=new Set;for(const t of a)this._styleLayerUIDs.add(t)}this._styleRepository=i,this._layers=this._styleRepository?.layers??[];const[l,c,u]=e.tileKey.split("/").map(parseFloat);this._level=l;const f=(0,o.IU)(this._level);for(const e of Object.keys(t)){const n=t[e];if(this._pbfTiles[e]=new m.A(new Uint8Array(n.protobuff),new DataView(n.protobuff)),n.refKey){const[t]=n.refKey.split("/").map(parseFloat),s=l-t;if(s>0){const t=(1<<s)-1,n=c&t,i=u&t;this._tileClippers[e]=new r.O3(s,n,i,8,f)}}this._tileClippers[e]||(this._tileClippers[e]=new r.Ox)}}_canParseStyleLayer(t){return!this._styleLayerUIDs||this._styleLayerUIDs.has(t)}async parse(t){const e=(0,I.If)(),n=this._initialize(t),{returnedBuckets:s}=n;this._processLayers(n),this._linkReferences(n),this._filterFeatures(n);const i=[],r=new Set,o=(t,e)=>{r.has(t)||(i.push({name:t,repeat:e}),r.add(t))},a={};for(const t of s)t.getResources(t.tileClipper,o,a);if(4===this._tile.status)return[];const h=this._fetchResources(i,a,t);return Promise.all([...h,e]).then(()=>this._processFeatures(n.returnedBuckets))}_initialize(t){const e=t?.signal;return{signal:e,sourceNameToTileData:this._parseTileData(this._pbfTiles),layers:this._layers,zoom:this._level,sourceNameToTileClipper:this._tileClippers,sourceNameToUniqueSourceLayerBuckets:{},sourceNameToUniqueSourceLayers:{},returnedBuckets:[],layerIdToBucket:{},referencerUIDToReferencedId:new Map}}_processLayers(t){const{sourceNameToTileData:e,zoom:n,layers:s,sourceNameToTileClipper:i,sourceNameToUniqueSourceLayerBuckets:r,sourceNameToUniqueSourceLayers:o,returnedBuckets:a,layerIdToBucket:h,referencerUIDToReferencedId:l}=t,c=this._sourceDataMaxLOD;for(let t=s.length-1;t>=0;t--){const u=s[t];if(n<c){if(u.minzoom&&n<Math.floor(u.minzoom)||u.maxzoom&&n>=u.maxzoom)continue}else if(u.maxzoom&&n>=u.maxzoom)continue;if(0===u.type||!this._canParseStyleLayer(u.uid)||!e[u.source]||!i[u.source])continue;const f=e[u.source],d=i[u.source],g=u.sourceLayer,y=f[g];if(y){let t=o[u.source];if(t||(t=o[u.source]=new Set),t.add(u.sourceLayer),u.refLayerId)l.set(u.uid,u.refLayerId);else{const t=this._createBucket(u);if(t){t.layerUIDs=[u.uid],t.layerExtent=y.extent,t.tileClipper=d;let e=r[u.source];e||(e=r[u.source]={});let n=e[g];n||(n=e[g]=[]),n.push(t),a.push(t),h[u.id]=t}}}}}_linkReferences(t){const{layerIdToBucket:e,referencerUIDToReferencedId:n}=t;n.forEach((t,n)=>{e[t]&&e[t].layerUIDs.push(n)})}_filterFeatures(t){const{signal:e,sourceNameToTileData:n,sourceNameToUniqueSourceLayerBuckets:i,sourceNameToUniqueSourceLayers:r}=t,o=10*this._level,a=10*(this._level+1),h=[],l=[];for(const t of Object.keys(r))r[t].forEach(e=>{h.push(e),l.push(t)});for(let t=0;t<h.length;t++){const r=l[t],c=h[t];if(!n[r]||!i[r])continue;const u=n[r][c],f=i[r][c];if(!f||0===f.length)continue;if((0,s.G4)(e))return;let d=0;const g=u.getData();for(;g.nextTag(2);){const t=g.getMessage(),e=new P(t,u,d++);t.release();const n=e.values;if(n){const t=n._minzoom;if(t&&t>=a)continue;const e=n._maxzoom;if(e&&e<=o)continue}for(const t of f)t.pushFeature(e)}}}_fetchResources(t,e,n){const s=[],i=this._tile.getWorkerTileHandler();let r,o;t.length>0&&(r=i.fetchSprites(t,this._client,n),s.push(r));for(const t in e){const r=e[t];r.size>0&&(o=i.fetchGlyphs(this._baseUrl,t,r,n),s.push(o))}return s}_processFeatures(t){const e=t.filter(t=>t.hasFeatures()||this._canParseStyleLayer(t.layer.uid));for(const t of e)t.processFeatures(t.tileClipper);return e}_parseTileData(t){const e={};for(const n of Object.keys(t)){const s=t[n],i={};for(;s.next();)switch(s.tag()){case 3:{const t=s.getMessage(),e=new T(t);t.release(),i[e.name]=e;break}default:s.skip()}e[n]=i}return e}_createBucket(t){switch(t.type){case 0:return null;case 1:return this._createFillBucket(t);case 2:return this._createLineBucket(t);case 4:return this._createCircleBucket(t);case 3:return this._createSymbolBucket(t)}}_createFillBucket(t){return new D(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new S(t.fillMaterial.getStride()),new w,new L(t.outlineMaterial.getStride()),new w)}_createLineBucket(t){return new C(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new A(t.lineMaterial.getStride()),new w)}_createCircleBucket(t){return new B(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new k(t.circleMaterial.getStride()),new w)}_createSymbolBucket(t){const e=this._tile;return new J(e.tileKey,t,this._level,new v(t.iconMaterial.getStride()),new w,new v(t.textMaterial.getStride()),new w,e.placementEngine,e.getWorkerTileHandler())}}class Q{constructor(t,e,n,s){this.status=0,this.placementEngine=new _,this.tileKey=t,this.refKeys=e,this._workerTileHandler=n,this._styleRepository=s}release(){this.tileKey="",this.refKeys=null,this.status=0,this._workerTileHandler=null}async parse(t,e){const n=e?.signal;if(null!=n){const t=()=>{n.removeEventListener("abort",t),this.status=4};n.addEventListener("abort",t)}let i;const r={bucketsWithData:[],emptyBuckets:null};try{i=await this._parse(t,e)}catch(t){if((0,s.zf)(t))throw t;return{result:r,transferList:[]}}this.status=2;const o=r.bucketsWithData,a=[];for(const t of i)if(t.hasFeatures()){const e=t.serialize();o.push(e)}else a.push(t.layer.uid);const h=[...o];let l=null;return a.length>0&&(l=Uint32Array.from(a),h.push(l.buffer)),r.emptyBuckets=l,{result:r,transferList:h}}setObsolete(){this.status=4}getLayers(){return this._workerTileHandler.getLayers()}getWorkerTileHandler(){return this._workerTileHandler}async _parse(t,e){const n=t.sourceName2DataAndRefKey;return 0===Object.keys(n).length?[]:(this.status=3,new H(n,this,e.client,t.sourceDataMaxLOD,this._styleRepository,t.styleLayerUIDs,t.baseUrl).parse(e))}}var $=n(45013);class X{constructor(){this._spriteInfo={},this._glyphInfo={},this._sourceDataMaxLOD=25}reset(){return this._spriteInfo={},this._glyphInfo={},Promise.resolve()}getLayers(){return this._styleRepository?.layers??[]}async createTileAndParse(t,e){const{key:n}=t,i={};for(const e of Object.keys(t.sourceName2DataAndRefKey)){const n=t.sourceName2DataAndRefKey[e];i[e]=n.refKey}const r=new Q(n,i,this,this._styleRepository);this.initializeGlyphWorker(void 0,e);try{return await r.parse({...t,sourceDataMaxLOD:this._sourceDataMaxLOD},e)}catch(t){if(r.setObsolete(),r.release(),!(0,s.zf)(t))throw t;return null}}initializeGlyphWorker(t,e){return this._loaded??=(async()=>{const t=await e.client.invoke("openGlyphPorts"),n=await(0,i.N1)(t,{maxNumberOfConcurrentJobs:20});this._glyphWorker=n.createInvokeProxy()})()}updateStyle(t){if(!t||0===t.length||!this._styleRepository)return;const e=this._styleRepository;for(const n of t){const t=n.type,s=n.data;switch(t){case 0:e.setPaintProperties(s.layer,s.paint);break;case 1:e.setLayoutProperties(s.layer,s.layout);break;case 3:e.deleteStyleLayer(s.layer);break;case 2:e.setStyleLayer(s.layer,s.index);break;case 4:this._spriteInfo={}}}}setStyle(t){const{style:e,sourceDataMaxLOD:n}=t;this._styleRepository=new $.A(e),this._sourceDataMaxLOD=n,this._spriteInfo={},this._glyphInfo={}}fetchSprites(t,e,n){const s=[],i=this._spriteInfo;for(const e of t)void 0===i[e.name]&&s.push(e);return 0===s.length?Promise.resolve():e.invoke("getSprites",s,{signal:n?.signal}).then(t=>{for(const e in t){const n=t[e];i[e]=n}})}getSpriteItems(){return this._spriteInfo}async fetchGlyphs(t,e,n,s){const i=[];let r=this._glyphInfo[e];if(r?n.forEach(t=>{r[t]||i.push(t)}):(r=this._glyphInfo[e]=[],n.forEach(t=>i.push(t))),0===i.length)return;if(await this._loaded,!this._glyphWorker)return void console.error("Failed to fetch glyphs: no worker connection");const o=String.fromCodePoint(...i),a=await this._glyphWorker.getGlyphItems(o,!1,t,e,!0,s);if(a)for(const t of a.glyphs)r[t.code]=t}getGlyphItems(t){return this._glyphInfo[t]}}},18989(t,e,n){n.d(e,{A:()=>s});class s{constructor(t=0,e=0,n=0,s=0){this.x=t,this.y=e,this.width=n,this.height=s}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}}}]);
|