@arcgis/core 5.1.0-next.101 → 5.1.0-next.103
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/applications/Components/imageryUtils.d.ts +22 -1
- package/applications/Components/imageryUtils.js +1 -1
- package/arcade/Dictionary.js +1 -1
- package/arcade/Feature.js +1 -1
- package/arcade/Pixel.js +1 -1
- package/arcade/Voxel.js +1 -1
- package/arcade/arcade.js +1 -1
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/containerUtils.js +1 -1
- package/arcade/debug.js +1 -1
- package/arcade/deepClone.js +1 -1
- package/arcade/featureSetUtils.js +1 -1
- package/arcade/featureset/actions/GroupBy.js +1 -1
- package/arcade/featureset/actions/OrderBy.js +1 -1
- package/arcade/functions/convertdirection.js +1 -1
- package/arcade/functions/date.js +1 -1
- package/arcade/functions/feature.js +1 -1
- package/arcade/functions/featuresetbase.js +1 -1
- package/arcade/functions/featuresetgeom.js +1 -1
- package/arcade/functions/featuresetstats.js +1 -1
- package/arcade/functions/featuresetstring.js +1 -1
- package/arcade/functions/fieldStats.js +1 -1
- package/arcade/functions/geomasync.js +1 -1
- package/arcade/functions/geometry.js +1 -1
- package/arcade/functions/geomsync.js +1 -1
- package/arcade/functions/knowledgegraph.js +1 -1
- package/arcade/functions/maths.js +1 -1
- package/arcade/functions/stats.js +1 -1
- package/arcade/functions/string.js +1 -1
- package/arcade/functions/track.js +1 -1
- package/arcade/geometry/constructors.js +1 -1
- package/arcade/geometry/functions.js +1 -1
- package/arcade/geometry/operators.js +1 -1
- package/arcade/languageUtils.js +1 -1
- package/arcgisGlobal.d.ts +1449 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{92e7067960549733f8e6.js → 037b36d415ae27e987f9.js} +1 -1
- package/assets/esri/core/workers/chunks/{58579c53be1a44bd08d2.js → 054ae729e7cefa2c7778.js} +1 -1
- package/assets/esri/core/workers/chunks/069459519477bb3dc91b.js +1 -0
- package/assets/esri/core/workers/chunks/{4301cb9670fa7c907460.js → 0881929a4a457f94f317.js} +1 -1
- package/assets/esri/core/workers/chunks/{abdf146b35e179b5b245.js → 0cb8bc6dbbbe3b212712.js} +1 -1
- package/assets/esri/core/workers/chunks/{b811d62284be95f4beb6.js → 0cc74bc3772be51cabc1.js} +1 -1
- package/assets/esri/core/workers/chunks/{0630ce1975c91ae362d9.js → 0e9804ece1fd2d59751b.js} +1 -1
- package/assets/esri/core/workers/chunks/{545c38789267e3487dbd.js → 10491b5b106bc5ad0b2b.js} +1 -1
- package/assets/esri/core/workers/chunks/12053c1213465d07d2f6.js +1 -0
- package/assets/esri/core/workers/chunks/{ca6c128940ddbebcaaab.js → 14b7b55c42af65ffa024.js} +1 -1
- package/assets/esri/core/workers/chunks/{702e8468836863abd81b.js → 15fa8b5b472131aaa68e.js} +1 -1
- package/assets/esri/core/workers/chunks/{852f4cd514008fee5a55.js → 176e676879666f784599.js} +1 -1
- package/assets/esri/core/workers/chunks/18201119828664373165.js +1 -0
- package/assets/esri/core/workers/chunks/1a3426276dc82a8a80f2.js +1 -0
- package/assets/esri/core/workers/chunks/{ce3e51c799a80648e46d.js → 1c0e8808d14d8e6dde2c.js} +1 -1
- package/assets/esri/core/workers/chunks/{bafe489e54f34d1841e6.js → 1c83e61fd9a4f8fc8372.js} +1 -1
- package/assets/esri/core/workers/chunks/1cb0c4fc315bbc2bd00b.js +1 -0
- package/assets/esri/core/workers/chunks/{5afee66e182f79a0fc46.js → 1ff61d8a8ea060e78b83.js} +1 -1
- package/assets/esri/core/workers/chunks/{19a9a555365a8363d34b.js → 23119a1b1310b7dab2aa.js} +1 -1
- package/assets/esri/core/workers/chunks/{031ea31bbdb7f1be791e.js → 276cb6a1cdd26d0e1444.js} +1 -1
- package/assets/esri/core/workers/chunks/{fdb7851e98e8d2ba48d3.js → 286bf3be9f524bde9529.js} +1 -1
- package/assets/esri/core/workers/chunks/{53bf9b0c2b8da12820ea.js → 29b00d07d3e1d095c590.js} +2 -2
- package/assets/esri/core/workers/chunks/{9d8e7839772029d83c93.js → 29bbc0d6d847b065d10e.js} +1 -1
- package/assets/esri/core/workers/chunks/{156efa014b6edd9ccce9.js → 2a5f6a8d282f2c391591.js} +1 -1
- package/assets/esri/core/workers/chunks/{15a65aa6969c1b383ce2.js → 2f903bd3a2611e7f0946.js} +1 -1
- package/assets/esri/core/workers/chunks/{b803e7b0d489bb628d72.js → 2f925a424b60b4a5e8e5.js} +1 -1
- package/assets/esri/core/workers/chunks/30e191d36aa95823c018.js +1 -0
- package/assets/esri/core/workers/chunks/{4b19acf8bde5b2e80692.js → 313a89b334e3518d30a4.js} +1 -1
- package/assets/esri/core/workers/chunks/{390717f079def83a0d9c.js → 31a8bc25aa1441c70caa.js} +1 -1
- package/assets/esri/core/workers/chunks/31c01885ee6d70a2bde2.js +1 -0
- package/assets/esri/core/workers/chunks/3292b3883f203637b5a7.js +1 -0
- package/assets/esri/core/workers/chunks/{9bb2251ba58932f85d13.js → 33329f5d88e60b4ec568.js} +1 -1
- package/assets/esri/core/workers/chunks/{8f9117d589de7caaa02d.js → 35bbd63319d8aa9f31cc.js} +1 -1
- package/assets/esri/core/workers/chunks/35fdd62277fd06468a29.js +2 -0
- package/assets/esri/core/workers/chunks/{3996149146dd1eca7cc5.js → 38d7430d2370b69334d7.js} +1 -1
- package/assets/esri/core/workers/chunks/3aebbed6d4fd1b993a35.js +1 -0
- package/assets/esri/core/workers/chunks/3f1d533efe4300d19e6a.js +1 -0
- package/assets/esri/core/workers/chunks/{7db09c5bf024242becfa.js → 40caf5e09e4382d81104.js} +5 -5
- package/assets/esri/core/workers/chunks/4213aa844900fcf95287.js +1 -0
- package/assets/esri/core/workers/chunks/{bc6a809a965355eb425f.js → 44636ef119c6a576470b.js} +1 -1
- package/assets/esri/core/workers/chunks/453c9e8d438d061e1736.js +1 -0
- package/assets/esri/core/workers/chunks/479e34b0abc10499bd3a.js +1 -0
- package/assets/esri/core/workers/chunks/{54dad475dc806a38c287.js → 48440a071a37590846ff.js} +1 -1
- package/assets/esri/core/workers/chunks/{38b1d2ffcc318ac0119d.js → 48fcc10768d93e95a04e.js} +1 -1
- package/assets/esri/core/workers/chunks/{fa9ab152ea785b5e97e0.js → 4a41f98210f1da3b5041.js} +1 -1
- package/assets/esri/core/workers/chunks/4a65bc9091d7ea7e80df.js +1 -0
- package/assets/esri/core/workers/chunks/4cdf80e2e60501dd4756.js +1 -0
- package/assets/esri/core/workers/chunks/51edfe21d4c6ee22c83d.js +1 -0
- package/assets/esri/core/workers/chunks/52219561c144e5cb4442.js +1 -0
- package/assets/esri/core/workers/chunks/{312036c89a6a09bb06c2.js → 5570d47533efab56c732.js} +1 -1
- package/assets/esri/core/workers/chunks/{5abe34bb0110694f7b42.js → 566c36032b456ec5b5d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{34207774bc371e95ba3c.js → 56b6b68d9459b1edea43.js} +1 -1
- package/assets/esri/core/workers/chunks/593772bd8b19ac664b29.js +1 -0
- package/assets/esri/core/workers/chunks/{10ce083b38ccfa88f766.js → 594e1f633527749d92d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{ad329226c8b579d0964c.js → 5a6523c903b11dea77d4.js} +1 -1
- package/assets/esri/core/workers/chunks/5c44638670e40e092ce3.js +1 -0
- package/assets/esri/core/workers/chunks/{af8bc56cf1404afc3028.js → 5d60253ea3d247cdb3d1.js} +1 -1
- package/assets/esri/core/workers/chunks/5dc86a3a40d16b576bb5.js +1 -0
- package/assets/esri/core/workers/chunks/601edefd8da4eb2eda28.js +1 -0
- package/assets/esri/core/workers/chunks/6182d39e2095d4460b88.js +1 -0
- package/assets/esri/core/workers/chunks/{c798a40418e7ff38042a.js → 63513e706fe55a1def15.js} +1 -1
- package/assets/esri/core/workers/chunks/{d8d338665fe00494c826.js → 660713adb5a845dfa2ef.js} +1 -1
- package/assets/esri/core/workers/chunks/694f9571e2723d3d4b02.js +1 -0
- package/assets/esri/core/workers/chunks/69ad5930ff6040c6c561.js +1 -0
- package/assets/esri/core/workers/chunks/{f563dd6cace047108b3c.js → 6b5d2df9123dfe7e00b3.js} +1 -1
- package/assets/esri/core/workers/chunks/{5217d676749bca59d90f.js → 6c79e8e840c1d027fbb2.js} +1 -1
- package/assets/esri/core/workers/chunks/{2ce845c990bb4d701362.js → 6ca81e34854ce7ec6f6e.js} +1 -1
- package/assets/esri/core/workers/chunks/{11a99ee68409a641810e.js → 6f02681bcaa9bef501fc.js} +1 -1
- package/assets/esri/core/workers/chunks/77ac243d4dcd901c2eec.js +1 -0
- package/assets/esri/core/workers/chunks/78af4b7a379c40f497a7.js +1 -0
- package/assets/esri/core/workers/chunks/{bf706a5d065a357de51b.js → 79b64a52ff57c40c7800.js} +1 -1
- package/assets/esri/core/workers/chunks/{475409026288f0981ce2.js → 7b3642195d6d3ea9b830.js} +1 -1
- package/assets/esri/core/workers/chunks/{82b2acc6f181927de89c.js → 7bc746ea17f4e336e0b0.js} +1 -1
- package/assets/esri/core/workers/chunks/{19fcc74d34cbbaa56a41.js → 7c86099ed17f420b0489.js} +1 -1
- package/assets/esri/core/workers/chunks/{00a25dd4b057cc9f2a7e.js → 7d571845292b1b7769c2.js} +1 -1
- package/assets/esri/core/workers/chunks/7dafe608c224b9d48ffa.js +1 -0
- package/assets/esri/core/workers/chunks/7e203e947846d40f897e.js +1 -0
- package/assets/esri/core/workers/chunks/855bf811cd79b97c169a.js +1 -0
- package/assets/esri/core/workers/chunks/{7601278ebced0c0c31cf.js → 85bba0db8a7a5fc1be44.js} +1 -1
- package/assets/esri/core/workers/chunks/{a318cf6bb900e0ee268c.js → 881234f25c7814de8753.js} +1 -1
- package/assets/esri/core/workers/chunks/895114ccd2603830960f.js +1 -0
- package/assets/esri/core/workers/chunks/8a68884d40f6f6de1d12.js +1 -0
- package/assets/esri/core/workers/chunks/{0d81409721d29d8bc276.js → 8a7682071941c35f05c1.js} +1 -1
- package/assets/esri/core/workers/chunks/8aac1155b8ac071cd2ad.js +1 -0
- package/assets/esri/core/workers/chunks/{3e2953ea62817e75d840.js → 8cbaaea72f4ca2f023be.js} +1 -1
- package/assets/esri/core/workers/chunks/{7bb17d0ab1cc2b89c035.js → 8e986167d4a393ee41ea.js} +1 -1
- package/assets/esri/core/workers/chunks/8fdd57e2a0af647f1e3e.js +1 -0
- package/assets/esri/core/workers/chunks/92db9a6d273ae2862883.js +1 -0
- package/assets/esri/core/workers/chunks/{9b23d999db902d25ba58.js → 9373daa677dc767d7cf0.js} +1 -1
- package/assets/esri/core/workers/chunks/{40ffb1aa17cbfae17b23.js → 9542ef3f6c2bc7c14d85.js} +1 -1
- package/assets/esri/core/workers/chunks/{657268b3fde6da2dd735.js → 95798e3de3419fdda6ac.js} +1 -1
- package/assets/esri/core/workers/chunks/{aad02c7417648d881129.js → 958617c3a9854ea04e06.js} +1 -1
- package/assets/esri/core/workers/chunks/{a28124bba6b43efd74cc.js → 95df6d2ebacc43ac5fa3.js} +1 -1
- package/assets/esri/core/workers/chunks/{f618ee43581e8de6ad0c.js → 970e91de5dfbbc247afb.js} +1 -1
- package/assets/esri/core/workers/chunks/978b7d10054e17161145.js +1 -0
- package/assets/esri/core/workers/chunks/{8a48a6760c33ed50b650.js → 98b4408e12684e37b395.js} +1 -1
- package/assets/esri/core/workers/chunks/9d70247d820085a2c190.js +1 -0
- package/assets/esri/core/workers/chunks/9da2f2b67837b491cfa3.js +1 -0
- package/assets/esri/core/workers/chunks/{edee616b6f1b5be8fd39.js → a0296e6d6c37b861c5fb.js} +1 -1
- package/assets/esri/core/workers/chunks/{c19e3f6027b6526de359.js → a02ebdcb802d128c8eee.js} +1 -1
- package/assets/esri/core/workers/chunks/a0aaf14c8f9a007d88ac.js +1 -0
- package/assets/esri/core/workers/chunks/{1523883460874c352e36.js → a29cd1f5c7bb4f6a5a4f.js} +1 -1
- package/assets/esri/core/workers/chunks/{cf826787ab8d4b27ad80.js → a53a3e5548fef65a2710.js} +1 -1
- package/assets/esri/core/workers/chunks/{91f9e0e3662d4bf9f163.js → a913a1c83a667ed0e711.js} +1 -1
- package/assets/esri/core/workers/chunks/{359465b9726edcc70c83.js → a9c9c00432ee41ec91ba.js} +1 -1
- package/assets/esri/core/workers/chunks/{a3a28c4887f802e8d96d.js → aa55923ca939a0d4606c.js} +1 -1
- package/assets/esri/core/workers/chunks/{d3b086eb9aa8c7d09048.js → aea8e0577fb48d5c9577.js} +1 -1
- package/assets/esri/core/workers/chunks/af45110f07e4b5162bae.js +1 -0
- package/assets/esri/core/workers/chunks/{76589434d573111a8fb4.js → b09ae8eb5e97fb27382f.js} +1 -1
- package/assets/esri/core/workers/chunks/b0c647af49c9d563b852.js +1 -0
- package/assets/esri/core/workers/chunks/{a320998f18922a35899f.js → b32a13972cb3de652339.js} +1 -1
- package/assets/esri/core/workers/chunks/b432a5a829e309837db6.js +1 -0
- package/assets/esri/core/workers/chunks/{9103eb0b9078019d3a26.js → b5d0898406c7d6e6a717.js} +1 -1
- package/assets/esri/core/workers/chunks/b640651c7d86cfe654bf.js +1 -0
- package/assets/esri/core/workers/chunks/{503439246250d9e1cbd5.js → b75e090a7e935ff870a3.js} +1 -1
- package/assets/esri/core/workers/chunks/{c321bcda8e8893577948.js → b8dda9e55caba0e2b4c2.js} +1 -1
- package/assets/esri/core/workers/chunks/{59a64d72eed8c40c63cf.js → bacf0c9d5d3e084dea61.js} +1 -1
- package/assets/esri/core/workers/chunks/{48a0e7a32ebd44045c8f.js → bb04aff0b4947408592c.js} +1 -1
- package/assets/esri/core/workers/chunks/{17de1c251242b692cf45.js → bff0c4094c14cb97b18f.js} +1 -1
- package/assets/esri/core/workers/chunks/{47dd2bfecc5c4b5f10f0.js → c0d7e4afbad0b20e2502.js} +1 -1
- package/assets/esri/core/workers/chunks/c13c532fe38ddc5d7ca6.js +1 -0
- package/assets/esri/core/workers/chunks/{cc62e5095e328bed3e01.js → c1ffb879e0283fb2815f.js} +1 -1
- package/assets/esri/core/workers/chunks/{22fa4aa2b76573bafe21.js → c476f4979048e558baa7.js} +89 -76
- package/assets/esri/core/workers/chunks/c8b96104641cb4afd4df.js +1 -0
- package/assets/esri/core/workers/chunks/{4faaf61d20e20fcf6c18.js → c91d4f1b42cfe474df52.js} +1 -1
- package/assets/esri/core/workers/chunks/{6ae2408ac075b974e887.js → cb26966cc205bd338c76.js} +1 -1
- package/assets/esri/core/workers/chunks/{c452c74ba9de218c3e57.js → cb3004998eff7c60930e.js} +1 -1
- package/assets/esri/core/workers/chunks/cc48354c54358777e996.js +1 -0
- package/assets/esri/core/workers/chunks/{b1b8a7c00ec4d998ab84.js → cc8d55d1830d7542c3f5.js} +1 -1
- package/assets/esri/core/workers/chunks/ce0c7070eeb723a718e7.js +1 -0
- package/assets/esri/core/workers/chunks/ce3b5b83237cf37ff523.js +1 -0
- package/assets/esri/core/workers/chunks/cf3c0bee919bb509cd4f.js +1 -0
- package/assets/esri/core/workers/chunks/cf9b0ba30a75c030ca92.js +1 -0
- package/assets/esri/core/workers/chunks/d00b9c1fd0865bf8f317.js +1 -0
- package/assets/esri/core/workers/chunks/{9a29b7f9e6281ee40c37.js → d4749eb8a47869477037.js} +1 -1
- package/assets/esri/core/workers/chunks/d5423df247be82fa085a.js +1 -0
- package/assets/esri/core/workers/chunks/d610f517fb3c6cb24365.js +1 -0
- package/assets/esri/core/workers/chunks/{47656ec12401e53f4bd3.js → d9d716bfd0aab30b6caf.js} +1 -1
- package/assets/esri/core/workers/chunks/da4f7d7099ba88f31f45.js +1 -0
- package/assets/esri/core/workers/chunks/dbb1ac41fd5da4fd849b.js +1 -0
- package/assets/esri/core/workers/chunks/{176dd195f77b98cb0b0f.js → dd58bc675b85b4d90afa.js} +1 -1
- package/assets/esri/core/workers/chunks/e2bb95d601789bbda73b.js +1 -0
- package/assets/esri/core/workers/chunks/{f018ad451ee072253a1e.js → e4b2120d7ee1c998b1fc.js} +1 -1
- package/assets/esri/core/workers/chunks/e4c350dc65aae121171d.js +1 -0
- package/assets/esri/core/workers/chunks/e8518bd3596543b387f8.js +1 -0
- package/assets/esri/core/workers/chunks/{f948e4a80a7dbda70f2e.js → e973cab79ec2541cb81b.js} +1 -1
- package/assets/esri/core/workers/chunks/{7d6299ab7b0db23ab961.js → eb1d6614eeac6d26bb9c.js} +1 -1
- package/assets/esri/core/workers/chunks/f1bb426400dac02880f1.js +1 -0
- package/assets/esri/core/workers/chunks/{ffcd4fca7f67e1f943f1.js → f239a8ecad8b692d5eaa.js} +1 -1
- package/assets/esri/core/workers/chunks/{de11ebcea2b8f9dfe65d.js → f3161c47a572194f6017.js} +1 -1
- package/assets/esri/core/workers/chunks/{f66262f8582909157f01.js → f37be7e517f0892014e3.js} +1 -1
- package/assets/esri/core/workers/chunks/{99f726f05cf80b0330ed.js → f3a9100518b044e79501.js} +1 -1
- package/assets/esri/core/workers/chunks/f3f984c62311c20a9db8.js +1 -0
- package/assets/esri/core/workers/chunks/f5bd0a4f82df5e942b70.js +1 -0
- package/assets/esri/core/workers/chunks/{85e65ced3312bf9cf162.js → f7e386ece75afb6e4be5.js} +1 -1
- package/assets/esri/core/workers/chunks/f8b884b529064df4a30a.js +1 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +125 -0
- package/assets/esri/themes/base/widgets/_Directions.scss +5 -1
- 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/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ar.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bg.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bs.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ca.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_cs.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_da.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_de.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_el.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_es.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_et.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fi.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fr.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_he.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hr.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hu.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_id.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_it.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ja.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ko.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lt.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lv.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_nl.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_no.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pl.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-BR.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-PT.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ro.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ru.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sk.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sl.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sr.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sv.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_th.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_tr.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_uk.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_vi.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-CN.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-HK.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-TW.json +1 -1
- package/chunks/AtmosphereCompositing.glsl.js +1 -1
- package/chunks/Bufferer-Dw9Qi4T1.js +1 -1
- package/chunks/Centroid-DZi-eb9F.js +1 -1
- package/chunks/Clouds.glsl.js +1 -1
- package/chunks/Compositing.glsl.js +1 -1
- package/chunks/CutFillComposition.glsl.js +1 -1
- package/chunks/CutFillDepth.glsl.js +1 -1
- package/chunks/CutFillMask.glsl.js +1 -1
- package/chunks/CutFillReduction.glsl.js +1 -1
- package/chunks/CutFillTargetDepth.glsl.js +1 -1
- package/chunks/Distance2DCalculator-CXhBP-8I.js +1 -1
- package/chunks/Envelope.js +1 -1
- package/chunks/Envelope2D.js +1 -1
- package/chunks/FlatGeometry.js +1 -1
- package/chunks/FocusAreaColor.glsl.js +1 -1
- package/chunks/FocusAreaMask.glsl.js +1 -1
- package/chunks/Fog.glsl.js +1 -1
- package/chunks/GaussianSplat.glsl.js +1 -1
- package/chunks/GaussianSplatShadow.glsl.js +1 -1
- package/chunks/GeodeticDistanceCalculator-Ce-woMPw.js +1 -1
- package/chunks/GeodeticUtils.js +1 -1
- package/chunks/Geometry.js +1 -1
- package/chunks/GeometryCleaner-BEJM7I4l.js +1 -1
- package/chunks/GlobalIllumination.glsl.js +1 -1
- package/chunks/GlobalIlluminationBlur.glsl.js +1 -1
- package/chunks/GlobalIlluminationUpscale.glsl.js +80 -65
- package/chunks/GlowBlur.glsl.js +1 -1
- package/chunks/GlowComposition.glsl.js +1 -1
- package/chunks/HazeCompositing.glsl.js +1 -1
- package/chunks/HighlightBlur.glsl.js +1 -1
- package/chunks/HighlightDownsample.glsl.js +1 -1
- package/chunks/Magnifier.glsl.js +1 -1
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/NoiseTextureAtlas.glsl.js +1 -1
- package/chunks/OITBlend.glsl.js +2 -2
- package/chunks/OITBlendEmission.glsl.js +1 -1
- package/chunks/OITDimOpaque.glsl.js +1 -1
- package/chunks/OperatorClip.js +1 -1
- package/chunks/OperatorCrosses.js +1 -1
- package/chunks/OperatorCut.js +1 -1
- package/chunks/OperatorDensify.js +1 -1
- package/chunks/OperatorGeneralize.js +1 -1
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
- package/chunks/OperatorGeodeticDistance.js +1 -1
- package/chunks/OperatorGeodeticLength.js +1 -1
- package/chunks/OperatorIntegrate.js +1 -1
- package/chunks/OperatorIntersects.js +1 -1
- package/chunks/OperatorMultiPartToSinglePart.js +1 -1
- package/chunks/OperatorOverlaps.js +1 -1
- package/chunks/OperatorProject.js +1 -1
- package/chunks/OperatorProximity.js +1 -1
- package/chunks/OperatorProximityGeodesic.js +1 -1
- package/chunks/OperatorShapePreservingDensify.js +1 -1
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/OperatorSimplifyOGC.js +1 -1
- package/chunks/OperatorTouches.js +1 -1
- package/chunks/OperatorWithin.js +1 -1
- package/chunks/OverlayCompositing.glsl.js +1 -1
- package/chunks/Point2D.js +1 -1
- package/chunks/PointRenderer.glsl.js +1 -1
- package/chunks/ProjectionTransformation.js +1 -1
- package/chunks/RasterColorizer.glsl.js +1 -1
- package/chunks/ShadowCastAccumulate.glsl.js +1 -1
- package/chunks/ShadowCastVisualize.glsl.js +2 -2
- package/chunks/SideCalculator2D-BNwb5gvz.js +1 -1
- package/chunks/SimpleAtmosphere.glsl.js +1 -1
- package/chunks/SpatialReference.js +1 -1
- package/chunks/Terrain.glsl.js +1 -1
- package/chunks/Texture.glsl.js +1 -1
- package/chunks/Transformation2D.js +1 -1
- package/chunks/Viewshed.glsl.js +1 -1
- package/chunks/aiServices.js +1 -1
- package/chunks/arcade.js +1 -1
- package/chunks/array.js +1 -1
- package/chunks/boundedPlane.js +1 -1
- package/chunks/constants.js +1 -1
- package/chunks/containsOperator.js +1 -1
- package/chunks/disjointOperator.js +1 -1
- package/chunks/distanceOperator.js +1 -1
- package/chunks/equalsOperator.js +1 -1
- package/chunks/languageUtils.js +1 -1
- package/chunks/pe.js +1 -1
- package/chunks/persistableUrlUtils.js +1 -1
- package/chunks/relateOperator.js +1 -1
- package/chunks/symmetricDifferenceOperator.js +1 -1
- package/chunks/unionOperator.js +1 -1
- package/chunks/vec2.js +1 -1
- package/chunks/vec3.js +1 -1
- package/chunks/vec4.js +1 -1
- package/config.js +1 -1
- package/core/accessorSupport/decorators/persistable.js +1 -1
- package/effects/FocusArea.js +1 -1
- package/form/elements/inputs/MultipleChoiceInput.d.ts +5 -5
- package/form/elements/inputs/MultipleChoiceInput.js +1 -1
- package/geometry/coordinateFormatter.js +1 -1
- package/geometry/operators/extendOperator.js +1 -1
- package/geometry/operators/gx/geodeticUtils.js +1 -1
- package/geometry/operators/gx/operatorAffineTransform.js +1 -1
- package/geometry/operators/gx/operatorAlphaShape.js +1 -1
- package/geometry/operators/gx/operatorAutoComplete.js +1 -1
- package/geometry/operators/gx/operatorBoundary.js +1 -1
- package/geometry/operators/gx/operatorBuffer.js +1 -1
- package/geometry/operators/gx/operatorConvexHull.js +1 -1
- package/geometry/operators/gx/operatorDifference.js +1 -1
- package/geometry/operators/gx/operatorGeodesicBuffer.js +1 -1
- package/geometry/operators/gx/operatorGeodeticArea.js +1 -1
- package/geometry/operators/gx/operatorGeodeticDensify.js +1 -1
- package/geometry/operators/gx/operatorGeodeticDistance.js +1 -1
- package/geometry/operators/gx/operatorGeodeticLength.js +1 -1
- package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
- package/geometry/operators/gx/operatorIntersection.js +1 -1
- package/geometry/operators/gx/operatorLabelPoint.js +1 -1
- package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
- package/geometry/operators/gx/operatorLocateBetween.js +1 -1
- package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
- package/geometry/operators/gx/operatorOffset.js +1 -1
- package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
- package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
- package/geometry/operators/gx/operatorProject.js +1 -1
- package/geometry/operators/gx/operatorProximityGeodesic.js +1 -1
- package/geometry/operators/gx/operatorShapePreservingProject.js +1 -1
- package/geometry/operators/gx/operatorSimplify.js +1 -1
- package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
- package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
- package/geometry/operators/gx/operatorUnion.js +1 -1
- package/geometry/operators/isNearOperator.js +1 -1
- package/geometry/operators/json/containsOperator.js +1 -1
- package/geometry/operators/json/disjointOperator.js +1 -1
- package/geometry/operators/locateBetweenOperator.js +1 -1
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/operators/support/apiConverter.js +1 -1
- package/geometry/operators/support/geographicTransformationUtils.js +1 -1
- package/geometry/operators/support/initNoPeFactory.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/operators/support/projectionTransformation.js +1 -1
- package/geometry/operators/symmetricDifferenceOperator.js +1 -1
- package/geometry/operators/unionOperator.js +1 -1
- package/geometry/pe.js +1 -1
- package/geometry/support/MeshTexture.js +1 -1
- package/geometry/support/boundedPlane.js +1 -1
- package/geometry/support/buffer/math/vec3.js +1 -1
- package/geometry/support/buffer/math/vec4.js +1 -1
- package/geometry/support/buffer/utils/vec2.js +1 -1
- package/geometry/support/coordinateSystem.js +1 -1
- package/geometry/support/meshUtils/extent.js +1 -1
- package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
- package/geometry/support/meshUtils/projection.js +1 -1
- package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
- package/geometry/support/spatialReferenceUtils.js +1 -1
- package/geometry/support/vcsData.js +1 -1
- package/interfaces.d.ts +3 -0
- package/kernel.js +1 -1
- package/layers/FeatureLayer.d.ts +29 -39
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/IntegratedMeshLayer.js +1 -1
- package/layers/KnowledgeGraphLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/OrientedImageryLayer.d.ts +233 -0
- package/layers/OrientedImageryLayer.js +1 -1
- package/layers/VideoLayer.d.ts +35 -9
- package/layers/VideoLayer.js +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +147 -0
- package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
- package/layers/knowledgeGraph/cypherUtils.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/FeatureLayerBase.d.ts +12 -0
- package/layers/mixins/FeatureLayerBase.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/raster/datasets/ImageAuxRaster.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/FeatureReductionBinning.d.ts +87 -9
- package/layers/support/FeatureReductionCluster.d.ts +87 -9
- package/layers/support/FieldConfiguration.d.ts +1 -1
- package/layers/support/ImageElement.js +1 -1
- package/layers/support/ParquetFilesData.js +1 -1
- package/layers/support/SceneFilter.js +1 -1
- package/layers/support/Sublayer.d.ts +25 -0
- package/layers/support/Sublayer.js +1 -1
- package/layers/support/SubtypeSublayer.d.ts +147 -0
- package/layers/support/TelemetryData.d.ts +5 -0
- package/layers/support/TelemetryData.js +1 -1
- package/layers/support/TelemetryDisplay.d.ts +10 -2
- package/layers/support/TelemetryDisplay.js +1 -1
- package/layers/video/VideoController.js +1 -1
- package/layers/video/types.d.ts +8 -1
- package/layers/video/videoUtils.js +1 -1
- package/linkChart/LinkChartProperties.js +1 -1
- package/linkChart/utils.js +1 -1
- package/package.json +2 -2
- package/portal/PortalItem.js +1 -1
- package/portal/jsonTypes.d.ts +7 -0
- package/renderers/UniqueValueRenderer.js +1 -1
- package/rest/knowledgeGraphService.js +1 -1
- package/rest/print.js +1 -1
- package/rest/support/PrintParameters.d.ts +8 -1
- package/rest/support/PrintParameters.js +1 -1
- package/support/arcadeUtils.js +1 -1
- package/support/persistableUrlUtils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/Symbol3D.js +1 -1
- package/symbols/support/IconSymbol3DLayerResource.js +1 -1
- package/symbols/support/urlUtils.js +1 -1
- package/symbols/support/webStyleSymbolUtils.js +1 -1
- package/third-party-notices.txt +188 -0
- package/views/2d/ViewStateManager.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/GlslGraphWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphNode.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/glsl.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BloomShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/AspectShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/CurvatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/MaskShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/RemapShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/SlopeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/math.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/surface.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +1 -1
- package/views/2d/layers/VideoLayerView2D.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/analysis/Slice/SliceController.js +1 -1
- package/views/3d/analysis/Slice/SliceTool.js +1 -1
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/focusAreaUtils.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/extentUtils.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
- package/views/3d/layers/i3s/meshUtils.js +1 -1
- package/views/3d/state/ScreenSizePerspective.js +1 -1
- package/views/3d/support/ViewSlice.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/RasterColorizer.glsl.js +1 -1
- package/views/3d/terrain/RasterTile.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/GlobalIlluminationWeights.glsl.js +3 -5
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/LocalAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/MarsAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/SimpleAtmosphere.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/Clouds.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsRenderer.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlas.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlasTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaColor.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMask.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/fog/Fog.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
- package/views/3d/webgl-engine/effects/fog/FogTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationUpscale.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationUpscaleTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowBlur.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowBlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowComposition.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowCompositionTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/effects/haze/HazeCompositing.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/haze/HazeCompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightBlur.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightBlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightDownsample.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightDownsampleTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/MagnifierTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlend.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/Compositor.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatShadowRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/SliceHelper.js +1 -1
- package/views/3d/webgl-engine/lib/Texture.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/TextureTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/TriangleIntersectionData.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/AtmosphereCompositing.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/AtmosphereCompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/Compositing.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillComposition.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillCompositionTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillDepth.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillDepthTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillMask.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillMaskTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillReduction.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillReductionTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillTargetDepth.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillTargetDepthTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatShadow.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatShadowTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/OverlayCompositing.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/OverlayCompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/PointRendererTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastAccumulate.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastMaskTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastVisualize.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/Terrain.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/Viewshed.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ViewshedTechnique.js +1 -1
- package/views/Viewport2DBaseMixin.js +1 -1
- package/views/interactive/editGeometry/support/editPlaneUtils.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/tileUtils.js +1 -1
- package/webdoc/support/webdocSaveUtils.js +1 -1
- package/widgets/Attachments/support/attachmentUtils.js +1 -1
- package/widgets/Attachments.d.ts +0 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +8 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/attachmentUtils.js +2 -0
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm/templates/RelationshipElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/types.d.ts +7 -0
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/BuildingLevelPicker.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/constants.js +1 -1
- package/widgets/FeatureForm/RelationshipInput.d.ts +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Features.d.ts +1 -1
- package/widgets/LayerList/LayerListItem.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
- package/widgets/OrientedImageryViewer/types.js +1 -1
- package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicVideoViewerViewModel.js +1 -1
- package/widgets/Popup.d.ts +2 -24
- package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
- package/widgets/TableList/support/tableListUtils.js +1 -1
- package/widgets/TableList.js +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +9 -0
- package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
- package/widgets/VideoPlayer/components/PlayerControlsGroup.js +1 -1
- package/widgets/support/ContingentValuesManager.js +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/assets/esri/core/workers/chunks/09630888267cde87654f.js +0 -1
- package/assets/esri/core/workers/chunks/0d9d33f29124d464a4cb.js +0 -1
- package/assets/esri/core/workers/chunks/0e333f1bce992508b68a.js +0 -1
- package/assets/esri/core/workers/chunks/0fa207c68dfd7ddee160.js +0 -1
- package/assets/esri/core/workers/chunks/13838b6c045425e73cf8.js +0 -1
- package/assets/esri/core/workers/chunks/177472a6a9beb1590934.js +0 -1
- package/assets/esri/core/workers/chunks/1d0f9f147bfa00b38d48.js +0 -1
- package/assets/esri/core/workers/chunks/1d54b71c43d9d6a5f713.js +0 -1
- package/assets/esri/core/workers/chunks/1f6b7626f333809837ef.js +0 -1
- package/assets/esri/core/workers/chunks/24646a1176ce34039155.js +0 -1
- package/assets/esri/core/workers/chunks/268ed861c882740c805b.js +0 -1
- package/assets/esri/core/workers/chunks/2b52c1c01cf568ba01fb.js +0 -1
- package/assets/esri/core/workers/chunks/3116a1c2b67a296ba86e.js +0 -1
- package/assets/esri/core/workers/chunks/32c17c299c7622ae0d71.js +0 -1
- package/assets/esri/core/workers/chunks/34f79355145c8e4c59dd.js +0 -1
- package/assets/esri/core/workers/chunks/3be111488365768fd917.js +0 -1
- package/assets/esri/core/workers/chunks/3f0483cbcd893acf240c.js +0 -1
- package/assets/esri/core/workers/chunks/40d251b6b42a41d68bd2.js +0 -1
- package/assets/esri/core/workers/chunks/43cc82373be791b7cb4c.js +0 -1
- package/assets/esri/core/workers/chunks/4a23b27bfbcfa08fd9a7.js +0 -1
- package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +0 -1
- package/assets/esri/core/workers/chunks/598271956c46e21e5c09.js +0 -1
- package/assets/esri/core/workers/chunks/5b07f3253403fe25ce5b.js +0 -1
- package/assets/esri/core/workers/chunks/5b6f2bfdcdd207d8ae42.js +0 -1
- package/assets/esri/core/workers/chunks/5c7ba4b8a9ec2e2e02b5.js +0 -1
- package/assets/esri/core/workers/chunks/60915a3708a34da1977e.js +0 -1
- package/assets/esri/core/workers/chunks/61c523dd9d8027922465.js +0 -1
- package/assets/esri/core/workers/chunks/65520a443e3811255bea.js +0 -1
- package/assets/esri/core/workers/chunks/671826fe25105aedcce4.js +0 -1
- package/assets/esri/core/workers/chunks/6b79c254897ece95b7a3.js +0 -1
- package/assets/esri/core/workers/chunks/6c35583707f5c339ee99.js +0 -1
- package/assets/esri/core/workers/chunks/6cb467a9517f024be72f.js +0 -1
- package/assets/esri/core/workers/chunks/71119398ec91f1b209d7.js +0 -1
- package/assets/esri/core/workers/chunks/8ac8ef856ed9592c433b.js +0 -1
- package/assets/esri/core/workers/chunks/8fedb32055ac7f771419.js +0 -1
- package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +0 -1
- package/assets/esri/core/workers/chunks/9c11e1fe785e1385fdb1.js +0 -1
- package/assets/esri/core/workers/chunks/a567d001fcfa1f1cdeea.js +0 -1
- package/assets/esri/core/workers/chunks/a58662698c69190a12d8.js +0 -2
- package/assets/esri/core/workers/chunks/afdc6fc453157528cf9b.js +0 -1
- package/assets/esri/core/workers/chunks/b5ced451d331ca1ffb68.js +0 -1
- package/assets/esri/core/workers/chunks/b7f5d51ac26f37837b3b.js +0 -1
- package/assets/esri/core/workers/chunks/ba7fe21a78ea37a02b7c.js +0 -1
- package/assets/esri/core/workers/chunks/bb3ab2453ccde2f2611c.js +0 -1
- package/assets/esri/core/workers/chunks/beba9f2213d8a850ddb6.js +0 -1
- package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +0 -1
- package/assets/esri/core/workers/chunks/c9461568e1002ebac534.js +0 -1
- package/assets/esri/core/workers/chunks/d30790c69724258dab2b.js +0 -1
- package/assets/esri/core/workers/chunks/d35c475f004367e333eb.js +0 -1
- package/assets/esri/core/workers/chunks/d8c4fb66c733ab2f66d3.js +0 -1
- package/assets/esri/core/workers/chunks/d95ffd990b3a7df69e1e.js +0 -1
- package/assets/esri/core/workers/chunks/dd6efa0afe879bd11a2e.js +0 -1
- package/assets/esri/core/workers/chunks/dec51409372764e7093d.js +0 -1
- package/assets/esri/core/workers/chunks/e133840540abf20262a4.js +0 -1
- package/assets/esri/core/workers/chunks/e63e24101e7e92c62d98.js +0 -1
- package/assets/esri/core/workers/chunks/e785f76c1a75cb1d1e1f.js +0 -1
- package/assets/esri/core/workers/chunks/f27397379c6c88bc6ef4.js +0 -1
- package/assets/esri/core/workers/chunks/f53805c7a84203305b2c.js +0 -1
- package/assets/esri/core/workers/chunks/f60292d97bcdbf19165b.js +0 -1
- package/assets/esri/core/workers/chunks/f6ebec8d2248c719b89f.js +0 -1
- package/assets/esri/core/workers/chunks/fd2afff07aaac8203c18.js +0 -1
- package/assets/esri/core/workers/chunks/ff7708aaa2de720e3a47.js +0 -1
- /package/assets/esri/core/workers/chunks/{53bf9b0c2b8da12820ea.js.LICENSE.txt → 29b00d07d3e1d095c590.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{a58662698c69190a12d8.js.LICENSE.txt → 35fdd62277fd06468a29.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4259],{5482(t,e,r){function n(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o}function i(t,e,r){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}r.d(e,{Cg:()=>n,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function o(t){function e(e){t.error=t.hasError?new s(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var r,n=0;return function i(){for(;r=t.stack.pop();)try{if(!r.async&&1===n)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(t){return e(t),i()})}else n|=1}catch(t){e(t)}if(1===n)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},73354(t,e,r){r.d(e,{a:()=>h,b:()=>a,c:()=>u,d:()=>s,e:()=>d,f:()=>f,l:()=>l,n:()=>p,t:()=>o});var n=r(40876),i=(r(44208),r(72727));function s(t,e,r){o(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function o(t,e,r,n=3,s=n){const o=(0,i.k)(t.length,n,3),u=(0,i.k)(e.length,s,3),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[4],d=r[5],p=r[6],y=r[8],m=r[9],g=r[10],M=r[12],B=r[13],b=r[14];let x=0,T=0;for(let r=0;r<a;r++){const r=e[x],i=e[x+1],o=e[x+2];t[T]=c*r+h*i+y*o+M,t[T+1]=l*r+d*i+m*o+B,t[T+2]=f*r+p*i+g*o+b,x+=s,T+=n}return t}function u(t,e,r){a(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function a(t,e,r,n=3,s=n){const o=(0,i.k)(t.length,n,3),u=(0,i.k)(e.length,s,3),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[3],d=r[4],p=r[5],y=r[6],m=r[7],g=r[8];let M=0,B=0;for(let r=0;r<a;r++){const r=e[M],i=e[M+1],o=e[M+2];t[B]=c*r+h*i+y*o,t[B+1]=l*r+d*i+m*o,t[B+2]=f*r+p*i+g*o,M+=s,B+=n}}function c(t,e,r,n=3,i=n){const s=Math.min(t.length/n,e.length/i);let o=0,u=0;for(let a=0;a<s;a++)t[u]=r*e[o],t[u+1]=r*e[o+1],t[u+2]=r*e[o+2],o+=i,u+=n;return t}function l(t,e,r,n){f(t.typedBuffer,e.typedBuffer,r,n,t.typedBufferStride,e.typedBufferStride)}function f(t,e,r,i,s=3,o=s){const u=Math.min(t.length/s,e.length/o);let a=0,c=0;const l=1/n.Tf;for(let n=0;n<u;n++)t[c]=i*(r*e[a])**l,t[c+1]=i*(r*e[a+1])**l,t[c+2]=i*(r*e[a+2])**l,a+=o,c+=s}function h(t,e,r,n=3,s=n){const o=(0,i.k)(t.length,n,3),u=(0,i.k)(e.length,s,3),a=Math.min(o,u);let c=0,l=0;for(let i=0;i<a;i++)t[l]=e[c]+r[0],t[l+1]=e[c+1]+r[1],t[l+2]=e[c+2]+r[2],c+=s,l+=n;return t}function d(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,r=3,n=r){const i=Math.min(t.length/r,e.length/n);let s=0,o=0;for(let u=0;u<i;u++){const i=e[s],u=e[s+1],a=e[s+2],c=i*i+u*u+a*a;if(c>0){const e=1/Math.sqrt(c);t[o]=e*i,t[o+1]=e*u,t[o+2]=e*a}s+=n,o+=r}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:l,normalize:p,normalizeView:d,scale:c,scaleView:function(t,e,r){c(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,r){const n=Math.min(t.count,e.count),i=t.typedBuffer,s=t.typedBufferStride,o=e.typedBuffer,u=e.typedBufferStride;let a=0,c=0;for(let t=0;t<n;t++)i[c]=o[a]>>r,i[c+1]=o[a+1]>>r,i[c+2]=o[a+2]>>r,a+=u,c+=s},transformMat3:a,transformMat3View:u,transformMat4:o,transformMat4View:s,translate:h},Symbol.toStringTag,{value:"Module"}))},50867(t,e,r){r.d(e,{a:()=>s,b:()=>l,l:()=>c,n:()=>u,t:()=>o});var n=r(40876),i=(r(44208),r(72727));function s(t,e,r){o(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function o(t,e,r,n=4,s=n){const o=(0,i.k)(t.length,n,4),u=(0,i.k)(e.length,s,4),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[3],d=r[4],p=r[5],y=r[6],m=r[7],g=r[8];let M=0,B=0;for(let r=0;r<a;r++){const r=e[M],i=e[M+1],o=e[M+2],u=e[M+3];t[B]=c*r+h*i+y*o,t[B+1]=l*r+d*i+m*o,t[B+2]=f*r+p*i+g*o,t[B+3]=u,M+=s,B+=n}}function u(t,e){const r=Math.min(t.count,e.count),n=t.typedBuffer,i=t.typedBufferStride,s=e.typedBuffer,o=e.typedBufferStride;for(let t=0;t<r;t++){const e=t*i,r=t*o,u=s[r],a=s[r+1],c=s[r+2],l=u*u+a*a+c*c;if(l>0){const t=1/Math.sqrt(l);n[e]=t*u,n[e+1]=t*a,n[e+2]=t*c}}}function a(t,e,r,n=4){const i=Math.min(t.length/n,e.count),s=e.typedBuffer,o=e.typedBufferStride;let u=0,a=0;for(let e=0;e<i;e++)t[a]=r*s[u],t[a+1]=r*s[u+1],t[a+2]=r*s[u+2],t[a+3]=r*s[u+3],u+=o,a+=n}function c(t,e,r,n){l(t.typedBuffer,e,r,n,t.typedBufferStride)}function l(t,e,r,i,s=4){const o=Math.min(t.length/s,e.count),u=e.typedBuffer,a=e.typedBufferStride;let c=0,l=0;const f=1/n.Tf;for(let e=0;e<o;e++)t[l]=i*(r*u[c])**f,t[l+1]=i*(r*u[c+1])**f,t[l+2]=i*(r*u[c+2])**f,t[l+3]=i*r*u[c+3],c+=a,l+=s}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:l,linearToSRGBView:c,normalize:u,scale:a,scaleView:function(t,e,r){a(t.typedBuffer,e,r,t.typedBufferStride)},transformMat3:o,transformMat3View:s,transformMat4:function(t,e,r,n=4,s=n){const o=(0,i.k)(t.length,n,4),u=(0,i.k)(e.length,s,4),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[3],d=r[4],p=r[5],y=r[6],m=r[7],g=r[8],M=r[9],B=r[10],b=r[11],x=r[12],T=r[13],E=r[14],S=r[15];let _=0,v=0;for(let r=0;r<a;r++){const r=e[_],i=e[_+1],o=e[_+2],u=e[_+3];t[v]=c*r+d*i+g*o+x*u,t[v+1]=l*r+p*i+M*o+T*u,t[v+2]=f*r+y*i+B*o+E*u,t[v+3]=h*r+m*i+b*o+S*u,_+=s,v+=n}},transformMat4View:function(t,e,r){const n=t.typedBuffer,s=t.typedBufferStride,o=e.typedBuffer,u=e.typedBufferStride,a=(0,i.k)(n.length,s,4),c=(0,i.k)(o.length,u,4),l=Math.min(a,c),f=r[0],h=r[1],d=r[2],p=r[3],y=r[4],m=r[5],g=r[6],M=r[7],B=r[8],b=r[9],x=r[10],T=r[11],E=r[12],S=r[13],_=r[14],v=r[15];for(let t=0;t<l;t++){const e=t*s,r=t*u,i=o[r],a=o[r+1],c=o[r+2],l=o[r+3];n[e]=f*i+y*a+B*c+E*l,n[e+1]=h*i+m*a+b*c+S*l,n[e+2]=d*i+g*a+x*c+_*l,n[e+3]=p*i+M*a+T*c+v*l}}},Symbol.toStringTag,{value:"Module"}))},40876(t,e,r){r.d(e,{Eq:()=>d,G1:()=>y,TS:()=>s,Tf:()=>M,V6:()=>i,Vm:()=>p,ay:()=>a,c1:()=>m,c4:()=>o,j5:()=>c,lT:()=>f,oW:()=>l,xV:()=>b});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!n[t]||!!n[t.toLowerCase()]}function s(t){return n[t]??n[t.toLowerCase()]}function o(t){return[...s(t)]}function u(t,e,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?t+(e-t)*n:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function a(t,e,r,n=1){const i=(t%360+360)%360/360,s=r<=.5?r*(e+1):r+e-r*e,o=2*r-s;return[Math.round(255*u(o,s,i+1/3)),Math.round(255*u(o,s,i)),Math.round(255*u(o,s,i-1/3)),n]}function c(t){const e=t.length>5,r=e?8:4,n=(1<<r)-1,i=e?1:17,s=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const u=[0,0,0,1];let a;return s&&(a=o&n,o>>=r,u[3]=i*a/255),a=o&n,o>>=r,u[2]=i*a,a=o&n,o>>=r,u[1]=i*a,a=o&n,o>>=r,u[0]=i*a,u}function l(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),r=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),r=e[1];if("rgb"===r&&3===t.length||"rgba"===r&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===r&&3===t.length||"hsla"===r&&4===t.length)return a(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=m(t[0]),t[1]=m(t[1]),t[2]=m(t[2]),t[3]=4===t.length?y(t[3]):1,t}function d(t){let e=i(t)?s(t):null;return e??=f(t),e??=l(t),e}function p(t){const e=d(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return g(t,0,1)}function m(t){return Math.round(g(t,0,255))}function g(t,e,r){return t=Number(t),isNaN(t)?r:t<e?e:t>r?r:t}const M=2.2,B=1/M;function b(t){return t**B}},69540(t,e,r){r.d(e,{OU:()=>l,Pw:()=>f});var n=r(5482),i=r(69622),s=(r(44208),r(4718)),o=(r(53966),r(97768)),u=r(88620),a=r(64108);const c=Symbol("ClonableMixin"),l=t=>{var e;const r=t;let i=class extends r{constructor(){super(...arguments),this[e]=!0}static{e=c}clone(t){const e=(0,u.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const r=e.metadata,n=e.store,i={},a=new Map;for(const e in r){const o=r[e],u=n?.originOf(e),c=o.clonable;if(o.readOnly||!1===c||7!==u&&0!==u&&5!==u&&4!==u)continue;const l=this[e];let f=null;if("function"==typeof c)f=c(l,t);else if("reference"===c)f=l;else if(f=(0,s.TU)(l,t),null!=l&&null==f)continue;0===u?a.set(e,f):i[e]=f}const c=new(0,Object.getPrototypeOf(this).constructor)(i);if(a.size){const t=(0,u.oY)(c)?.store;if(t)for(const[e,r]of a)t.set(e,r,0)}return c}};return i=(0,n.Cg)([(0,a.$)("esri.core.Clonable")],i),i},f=l(i.A)},95488(t,e,r){r.d(e,{I:()=>i});var n=r(11406);class i extends n.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},9093(t,e,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(e,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(t,e,r,n,i,s,o,u,a,c,l,f,h,d,p,y){return[t,e,r,n,i,s,o,u,a,c,l,f,h,d,p,y]}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,r){function n(){return[0,0]}function i(t){return[t[0],t[1]]}function s(t,e){return[t,e]}function o(){return s(1,1)}function u(){return s(1,0)}function a(){return s(0,1)}r.d(e,{Un:()=>c,fA:()=>s,o8:()=>i,vt:()=>n});const c=o(),l=u(),f=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:l,UNIT_Y:f,ZEROS:[0,0],clone:i,create:n,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const r=Math.min(2,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:s,ones:o,unitX:u,unitY:a,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,r){function n(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function s(t,e,r){return[t,e,r]}function o(t,e,r){return[t,e,r]}function u(t,e=[0,0,0]){const r=Math.min(3,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e}function a(){return[0,0,0]}function c(){return s(1,1,1)}function l(){return s(1,0,0)}function f(){return s(0,1,0)}function h(){return s(0,0,1)}r.d(e,{CN:()=>o,Cb:()=>g,Cw:()=>y,JP:()=>m,S:()=>c,Ul:()=>a,Un:()=>p,ci:()=>u,fA:()=>s,o8:()=>i,uY:()=>d,vt:()=>n});const d=[0,0,0],p=c(),y=l(),m=f(),g=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:y,UNIT_Y:m,UNIT_Z:g,ZEROS:d,clone:i,create:n,freeze:o,fromArray:u,fromValues:s,ones:c,unitX:l,unitY:f,unitZ:h,zeros:a},Symbol.toStringTag,{value:"Module"}))},91829(t,e,r){function n(){return[0,0,0,0]}function i(t,e,r,n){return[t,e,r,n]}function s(t,e,r,n){return[t,e,r,n]}function o(){return i(1,1,1,1)}function u(){return i(1,0,0,0)}function a(){return i(0,1,0,0)}function c(){return i(0,0,1,0)}function l(){return i(0,0,0,1)}r.d(e,{CN:()=>s,Un:()=>h,fA:()=>i,uY:()=>f,vt:()=>n});const f=[0,0,0,0],h=o(),d=u(),p=a(),y=c(),m=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:d,UNIT_Y:p,UNIT_Z:y,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:n,freeze:s,fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:i,ones:o,unitW:l,unitX:u,unitY:a,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},34304(t,e,r){r.d(e,{DF:()=>a,FD:()=>i,Ov:()=>s,ct:()=>c});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,u=180/Math.PI;function a(t){return t*o}function c(t){return t*u}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(t,e){return Math.abs(t-e)<=n*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){n=t},toDegree:c,toRadian:a},Symbol.toStringTag,{value:"Module"}))},58083(t,e,r){r.d(e,{$0:()=>m,$h:()=>v,B8:()=>c,C:()=>s,D_:()=>u,N9:()=>M,O7:()=>_,Tl:()=>f,X_:()=>T,aI:()=>N,e$:()=>d,eL:()=>p,hM:()=>g,hZ:()=>o,hs:()=>h,kN:()=>y,l:()=>E,lw:()=>l,mg:()=>a,o1:()=>S,sC:()=>x,t2:()=>R,t5:()=>A,tZ:()=>O,ut:()=>Y,v3:()=>w});var n=r(51850),i=r(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(t,e,r,n,i,s,o,u,a,c,l,f,h,d,p,y,m){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t[4]=s,t[5]=o,t[6]=u,t[7]=a,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=d,t[13]=p,t[14]=y,t[15]=m,t}function u(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function a(t,e){if(t===e){const r=e[1],n=e[2],i=e[3],s=e[6],o=e[7],u=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=r,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=s,t[11]=e[14],t[12]=i,t[13]=o,t[14]=u}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function c(t,e){const r=e[0],n=e[1],i=e[2],s=e[3],o=e[4],u=e[5],a=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],p=e[12],y=e[13],m=e[14],g=e[15],M=r*u-n*o,B=r*a-i*o,b=r*c-s*o,x=n*a-i*u,T=n*c-s*u,E=i*c-s*a,S=l*y-f*p,_=l*m-h*p,v=l*g-d*p,w=f*m-h*y,A=f*g-d*y,C=h*g-d*m;let R=M*C-B*A+b*w+x*v-T*_+E*S;return R?(R=1/R,t[0]=(u*C-a*A+c*w)*R,t[1]=(i*A-n*C-s*w)*R,t[2]=(y*E-m*T+g*x)*R,t[3]=(h*T-f*E-d*x)*R,t[4]=(a*v-o*C-c*_)*R,t[5]=(r*C-i*v+s*_)*R,t[6]=(m*b-p*E-g*B)*R,t[7]=(l*E-h*b+d*B)*R,t[8]=(o*A-u*v+c*S)*R,t[9]=(n*v-r*A-s*S)*R,t[10]=(p*T-y*b+g*M)*R,t[11]=(f*b-l*T-d*M)*R,t[12]=(u*_-o*w-a*S)*R,t[13]=(r*w-n*_+i*S)*R,t[14]=(y*B-p*x-m*M)*R,t[15]=(l*x-f*B+h*M)*R,t):null}function l(t,e,r){const n=e[0],i=e[1],s=e[2],o=e[3],u=e[4],a=e[5],c=e[6],l=e[7],f=e[8],h=e[9],d=e[10],p=e[11],y=e[12],m=e[13],g=e[14],M=e[15];let B=r[0],b=r[1],x=r[2],T=r[3];return t[0]=B*n+b*u+x*f+T*y,t[1]=B*i+b*a+x*h+T*m,t[2]=B*s+b*c+x*d+T*g,t[3]=B*o+b*l+x*p+T*M,B=r[4],b=r[5],x=r[6],T=r[7],t[4]=B*n+b*u+x*f+T*y,t[5]=B*i+b*a+x*h+T*m,t[6]=B*s+b*c+x*d+T*g,t[7]=B*o+b*l+x*p+T*M,B=r[8],b=r[9],x=r[10],T=r[11],t[8]=B*n+b*u+x*f+T*y,t[9]=B*i+b*a+x*h+T*m,t[10]=B*s+b*c+x*d+T*g,t[11]=B*o+b*l+x*p+T*M,B=r[12],b=r[13],x=r[14],T=r[15],t[12]=B*n+b*u+x*f+T*y,t[13]=B*i+b*a+x*h+T*m,t[14]=B*s+b*c+x*d+T*g,t[15]=B*o+b*l+x*p+T*M,t}function f(t,e,r){const n=r[0],i=r[1],s=r[2];if(e===t)t[12]=e[0]*n+e[4]*i+e[8]*s+e[12],t[13]=e[1]*n+e[5]*i+e[9]*s+e[13],t[14]=e[2]*n+e[6]*i+e[10]*s+e[14],t[15]=e[3]*n+e[7]*i+e[11]*s+e[15];else{const r=e[0],o=e[1],u=e[2],a=e[3],c=e[4],l=e[5],f=e[6],h=e[7],d=e[8],p=e[9],y=e[10],m=e[11];t[0]=r,t[1]=o,t[2]=u,t[3]=a,t[4]=c,t[5]=l,t[6]=f,t[7]=h,t[8]=d,t[9]=p,t[10]=y,t[11]=m,t[12]=r*n+c*i+d*s+e[12],t[13]=o*n+l*i+p*s+e[13],t[14]=u*n+f*i+y*s+e[14],t[15]=a*n+h*i+m*s+e[15]}return t}function h(t,e,r){const n=r[0],i=r[1],s=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function d(t,e,r,n){let o=n[0],u=n[1],a=n[2],c=Math.sqrt(o*o+u*u+a*a);if(c<=(0,i.FD)())return void s(t,e);c=1/c,o*=c,u*=c,a*=c;const l=Math.sin(r),f=Math.cos(r),h=1-f,d=e[0],p=e[1],y=e[2],m=e[3],g=e[4],M=e[5],B=e[6],b=e[7],x=e[8],T=e[9],E=e[10],S=e[11],_=o*o*h+f,v=u*o*h+a*l,w=a*o*h-u*l,A=o*u*h-a*l,C=u*u*h+f,R=a*u*h+o*l,N=o*a*h+u*l,Y=u*a*h-o*l,O=a*a*h+f;t[0]=d*_+g*v+x*w,t[1]=p*_+M*v+T*w,t[2]=y*_+B*v+E*w,t[3]=m*_+b*v+S*w,t[4]=d*A+g*C+x*R,t[5]=p*A+M*C+T*R,t[6]=y*A+B*C+E*R,t[7]=m*A+b*C+S*R,t[8]=d*N+g*Y+x*O,t[9]=p*N+M*Y+T*O,t[10]=y*N+B*Y+E*O,t[11]=m*N+b*Y+S*O,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function p(t,e,r){const n=Math.sin(r),i=Math.cos(r),s=e[4],o=e[5],u=e[6],a=e[7],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=s*i+c*n,t[5]=o*i+l*n,t[6]=u*i+f*n,t[7]=a*i+h*n,t[8]=c*i-s*n,t[9]=l*i-o*n,t[10]=f*i-u*n,t[11]=h*i-a*n,t}function y(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function m(t,e,r){if(0===e)return u(t);let n=r[0],s=r[1],o=r[2],a=Math.sqrt(n*n+s*s+o*o);if(a<=(0,i.FD)())return null;a=1/a,n*=a,s*=a,o*=a;const c=Math.sin(e),l=Math.cos(e),f=1-l;return t[0]=n*n*f+l,t[1]=s*n*f+o*c,t[2]=o*n*f-s*c,t[3]=0,t[4]=n*s*f-o*c,t[5]=s*s*f+l,t[6]=o*s*f+n*c,t[7]=0,t[8]=n*o*f+s*c,t[9]=s*o*f-n*c,t[10]=o*o*f+l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=n,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e,r){const n=e[0],i=e[1],s=e[2],o=e[3],u=n+n,a=i+i,c=s+s,l=n*u,f=n*a,h=n*c,d=i*a,p=i*c,y=s*c,m=o*u,g=o*a,M=o*c;return t[0]=1-(d+y),t[1]=f+M,t[2]=h-g,t[3]=0,t[4]=f-M,t[5]=1-(l+y),t[6]=p+m,t[7]=0,t[8]=h+g,t[9]=p-m,t[10]=1-(l+d),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const b=(0,n.vt)();function x(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function T(t,e){const r=e[0],n=e[1],i=e[2],s=e[4],o=e[5],u=e[6],a=e[8],c=e[9],l=e[10];return t[0]=Math.sqrt(r*r+n*n+i*i),t[1]=Math.sqrt(s*s+o*o+u*u),t[2]=Math.sqrt(a*a+c*c+l*l),t}function E(t,e){const r=e[0]+e[5]+e[10];let n=0;return r>0?(n=2*Math.sqrt(r+1),t[3]=.25*n,t[0]=(e[6]-e[9])/n,t[1]=(e[8]-e[2])/n,t[2]=(e[1]-e[4])/n):e[0]>e[5]&&e[0]>e[10]?(n=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/n,t[0]=.25*n,t[1]=(e[1]+e[4])/n,t[2]=(e[8]+e[2])/n):e[5]>e[10]?(n=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/n,t[0]=(e[1]+e[4])/n,t[1]=.25*n,t[2]=(e[6]+e[9])/n):(n=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/n,t[0]=(e[8]+e[2])/n,t[1]=(e[6]+e[9])/n,t[2]=.25*n),t}function S(t,e,r,n){const i=e[0],s=e[1],o=e[2],u=e[3],a=i+i,c=s+s,l=o+o,f=i*a,h=i*c,d=i*l,p=s*c,y=s*l,m=o*l,g=u*a,M=u*c,B=u*l,b=n[0],x=n[1],T=n[2];return t[0]=(1-(p+m))*b,t[1]=(h+B)*b,t[2]=(d-M)*b,t[3]=0,t[4]=(h-B)*x,t[5]=(1-(f+m))*x,t[6]=(y+g)*x,t[7]=0,t[8]=(d+M)*T,t[9]=(y-g)*T,t[10]=(1-(f+p))*T,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function _(t,e,r,n,i){const s=e[0],o=e[1],u=e[2],a=e[3],c=s+s,l=o+o,f=u+u,h=s*c,d=s*l,p=s*f,y=o*l,m=o*f,g=u*f,M=a*c,B=a*l,b=a*f,x=n[0],T=n[1],E=n[2],S=i[0],_=i[1],v=i[2],w=(1-(y+g))*x,A=(d+b)*x,C=(p-B)*x,R=(d-b)*T,N=(1-(h+g))*T,Y=(m+M)*T,O=(p+B)*E,X=(m-M)*E,P=(1-(h+y))*E;return t[0]=w,t[1]=A,t[2]=C,t[3]=0,t[4]=R,t[5]=N,t[6]=Y,t[7]=0,t[8]=O,t[9]=X,t[10]=P,t[11]=0,t[12]=r[0]+S-(w*S+R*_+O*v),t[13]=r[1]+_-(A*S+N*_+X*v),t[14]=r[2]+v-(C*S+Y*_+P*v),t[15]=1,t}function v(t,e,r,n,i,s,o){const u=1/(r-e),a=1/(i-n),c=1/(s-o);return t[0]=2*s*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*s*a,t[6]=0,t[7]=0,t[8]=(r+e)*u,t[9]=(i+n)*a,t[10]=(o+s)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*s*2*c,t[15]=0,t}function w(t,e,r,n,i,s,o){const u=1/(e-r),a=1/(n-i),c=1/(s-o);return t[0]=-2*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*u,t[13]=(i+n)*a,t[14]=(o+s)*c,t[15]=1,t}function A(t,e,r,n){const s=e[0],o=e[1],a=e[2];let c=s-r[0],l=o-r[1],f=a-r[2];const h=(0,i.FD)();if(Math.abs(c)<h&&Math.abs(l)<h&&Math.abs(f)<h)return void u(t);let d=1/Math.sqrt(c*c+l*l+f*f);c*=d,l*=d,f*=d;const p=n[0],y=n[1],m=n[2];let g=y*f-m*l,M=m*c-p*f,B=p*l-y*c;d=Math.sqrt(g*g+M*M+B*B),d?(d=1/d,g*=d,M*=d,B*=d):(g=0,M=0,B=0);let b=l*B-f*M,x=f*g-c*B,T=c*M-l*g;d=Math.sqrt(b*b+x*x+T*T),d?(d=1/d,b*=d,x*=d,T*=d):(b=0,x=0,T=0),t[0]=g,t[1]=b,t[2]=c,t[3]=0,t[4]=M,t[5]=x,t[6]=l,t[7]=0,t[8]=B,t[9]=T,t[10]=f,t[11]=0,t[12]=-(g*s+M*o+B*a),t[13]=-(b*s+x*o+T*a),t[14]=-(c*s+l*o+f*a),t[15]=1}function C(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t[4]=e[4]-r[4],t[5]=e[5]-r[5],t[6]=e[6]-r[6],t[7]=e[7]-r[7],t[8]=e[8]-r[8],t[9]=e[9]-r[9],t[10]=e[10]-r[10],t[11]=e[11]-r[11],t[12]=e[12]-r[12],t[13]=e[13]-r[13],t[14]=e[14]-r[14],t[15]=e[15]-r[15],t}function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function N(t,e){if(t===e)return!0;const r=t[0],n=t[1],s=t[2],o=t[3],u=t[4],a=t[5],c=t[6],l=t[7],f=t[8],h=t[9],d=t[10],p=t[11],y=t[12],m=t[13],g=t[14],M=t[15],B=e[0],b=e[1],x=e[2],T=e[3],E=e[4],S=e[5],_=e[6],v=e[7],w=e[8],A=e[9],C=e[10],R=e[11],N=e[12],Y=e[13],O=e[14],X=e[15],P=(0,i.FD)();return Math.abs(r-B)<=P*Math.max(1,Math.abs(r),Math.abs(B))&&Math.abs(n-b)<=P*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(s-x)<=P*Math.max(1,Math.abs(s),Math.abs(x))&&Math.abs(o-T)<=P*Math.max(1,Math.abs(o),Math.abs(T))&&Math.abs(u-E)<=P*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(a-S)<=P*Math.max(1,Math.abs(a),Math.abs(S))&&Math.abs(c-_)<=P*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(l-v)<=P*Math.max(1,Math.abs(l),Math.abs(v))&&Math.abs(f-w)<=P*Math.max(1,Math.abs(f),Math.abs(w))&&Math.abs(h-A)<=P*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(d-C)<=P*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(p-R)<=P*Math.max(1,Math.abs(p),Math.abs(R))&&Math.abs(y-N)<=P*Math.max(1,Math.abs(y),Math.abs(N))&&Math.abs(m-Y)<=P*Math.max(1,Math.abs(m),Math.abs(Y))&&Math.abs(g-O)<=P*Math.max(1,Math.abs(g),Math.abs(O))&&Math.abs(M-X)<=P*Math.max(1,Math.abs(M),Math.abs(X))}function Y(t){const e=(0,i.FD)(),r=t[0],n=t[1],s=t[2],o=t[4],u=t[5],a=t[6],c=t[8],l=t[9],f=t[10];return Math.abs(1-(r*r+o*o+c*c))<=e&&Math.abs(1-(n*n+u*u+l*l))<=e&&Math.abs(1-(s*s+a*a+f*f))<=e}function O(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const X=l,P=C;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t[4]=e[4]+r[4],t[5]=e[5]+r[5],t[6]=e[6]+r[6],t[7]=e[7]+r[7],t[8]=e[8]+r[8],t[9]=e[9]+r[9],t[10]=e[10]+r[10],t[11]=e[11]+r[11],t[12]=e[12]+r[12],t[13]=e[13]+r[13],t[14]=e[14]+r[14],t[15]=e[15]+r[15],t},adjoint:function(t,e){const r=e[0],n=e[1],i=e[2],s=e[3],o=e[4],u=e[5],a=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],p=e[12],y=e[13],m=e[14],g=e[15];return t[0]=u*(h*g-d*m)-f*(a*g-c*m)+y*(a*d-c*h),t[1]=-(n*(h*g-d*m)-f*(i*g-s*m)+y*(i*d-s*h)),t[2]=n*(a*g-c*m)-u*(i*g-s*m)+y*(i*c-s*a),t[3]=-(n*(a*d-c*h)-u*(i*d-s*h)+f*(i*c-s*a)),t[4]=-(o*(h*g-d*m)-l*(a*g-c*m)+p*(a*d-c*h)),t[5]=r*(h*g-d*m)-l*(i*g-s*m)+p*(i*d-s*h),t[6]=-(r*(a*g-c*m)-o*(i*g-s*m)+p*(i*c-s*a)),t[7]=r*(a*d-c*h)-o*(i*d-s*h)+l*(i*c-s*a),t[8]=o*(f*g-d*y)-l*(u*g-c*y)+p*(u*d-c*f),t[9]=-(r*(f*g-d*y)-l*(n*g-s*y)+p*(n*d-s*f)),t[10]=r*(u*g-c*y)-o*(n*g-s*y)+p*(n*c-s*u),t[11]=-(r*(u*d-c*f)-o*(n*d-s*f)+l*(n*c-s*u)),t[12]=-(o*(f*m-h*y)-l*(u*m-a*y)+p*(u*h-a*f)),t[13]=r*(f*m-h*y)-l*(n*m-i*y)+p*(n*h-i*f),t[14]=-(r*(u*m-a*y)-o*(n*m-i*y)+p*(n*a-i*u)),t[15]=r*(u*h-a*f)-o*(n*h-i*f)+l*(n*a-i*u),t},copy:s,determinant:function(t){const e=t[0],r=t[1],n=t[2],i=t[3],s=t[4],o=t[5],u=t[6],a=t[7],c=t[8],l=t[9],f=t[10],h=t[11],d=t[12],p=t[13],y=t[14],m=t[15];return(e*o-r*s)*(f*m-h*y)-(e*u-n*s)*(l*m-h*p)+(e*a-i*s)*(l*y-f*p)+(r*u-n*o)*(c*m-h*d)-(r*a-i*o)*(c*y-f*d)+(n*a-i*u)*(c*p-l*d)},equals:N,exactEquals:R,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const r=e[0],n=e[1],i=e[2],s=e[3],o=r+r,u=n+n,a=i+i,c=r*o,l=n*o,f=n*u,h=i*o,d=i*u,p=i*a,y=s*o,m=s*u,g=s*a;return t[0]=1-f-p,t[1]=l+g,t[2]=h-m,t[3]=0,t[4]=l-g,t[5]=1-c-p,t[6]=d+y,t[7]=0,t[8]=h+m,t[9]=d-y,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const r=b,n=-e[0],i=-e[1],s=-e[2],o=e[3],u=e[4],a=e[5],c=e[6],l=e[7],f=n*n+i*i+s*s+o*o;return f>0?(r[0]=2*(u*o+l*n+a*s-c*i)/f,r[1]=2*(a*o+l*i+c*n-u*s)/f,r[2]=2*(c*o+l*s+u*i-a*n)/f):(r[0]=2*(u*o+l*n+a*s-c*i),r[1]=2*(a*o+l*i+c*n-u*s),r[2]=2*(c*o+l*s+u*i-a*n)),B(t,e,r),t},fromRotation:m,fromRotationTranslation:B,fromRotationTranslationScale:S,fromRotationTranslationScaleOrigin:_,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:y,fromXRotation:g,fromYRotation:function(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:M,frustum:v,getRotation:E,getScale:T,getTranslation:x,hasIdentityRotation:O,identity:u,invert:c,invertOrIdentity:function(t,e){return c(t,e)||u(t),t},isOrthoNormal:Y,lookAt:A,mul:X,multiply:l,multiplyScalar:function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*r,t[9]=e[9]*r,t[10]=e[10]*r,t[11]=e[11]*r,t[12]=e[12]*r,t[13]=e[13]*r,t[14]=e[14]*r,t[15]=e[15]*r,t},multiplyScalarAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t[4]=e[4]+r[4]*n,t[5]=e[5]+r[5]*n,t[6]=e[6]+r[6]*n,t[7]=e[7]+r[7]*n,t[8]=e[8]+r[8]*n,t[9]=e[9]+r[9]*n,t[10]=e[10]+r[10]*n,t[11]=e[11]+r[11]*n,t[12]=e[12]+r[12]*n,t[13]=e[13]+r[13]*n,t[14]=e[14]+r[14]*n,t[15]=e[15]+r[15]*n,t},ortho:w,perspective:function(t,e,r,n,i){const s=1/Math.tan(e/2);let o;return t[0]=s/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(o=1/(n-i),t[10]=(i+n)*o,t[14]=2*i*n*o):(t[10]=-1,t[14]=-2*n),t},perspectiveFromFieldOfView:function(t,e,r,n){const i=Math.tan(e.upDegrees*Math.PI/180),s=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),u=Math.tan(e.rightDegrees*Math.PI/180),a=2/(o+u),c=2/(i+s);return t[0]=a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(o-u)*a*.5,t[9]=(i-s)*c*.5,t[10]=n/(r-n),t[11]=-1,t[12]=0,t[13]=0,t[14]=n*r/(r-n),t[15]=0,t},rotate:d,rotateX:p,rotateY:function(t,e,r){const n=Math.sin(r),i=Math.cos(r),s=e[0],o=e[1],u=e[2],a=e[3],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*i-c*n,t[1]=o*i-l*n,t[2]=u*i-f*n,t[3]=a*i-h*n,t[8]=s*n+c*i,t[9]=o*n+l*i,t[10]=u*n+f*i,t[11]=a*n+h*i,t},rotateZ:function(t,e,r){const n=Math.sin(r),i=Math.cos(r),s=e[0],o=e[1],u=e[2],a=e[3],c=e[4],l=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*i+c*n,t[1]=o*i+l*n,t[2]=u*i+f*n,t[3]=a*i+h*n,t[4]=c*i-s*n,t[5]=l*i-o*n,t[6]=f*i-u*n,t[7]=h*i-a*n,t},scale:h,set:o,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:P,subtract:C,targetTo:function(t,e,r,n){const i=e[0],s=e[1],o=e[2],u=n[0],a=n[1],c=n[2];let l=i-r[0],f=s-r[1],h=o-r[2],d=l*l+f*f+h*h;d>0&&(d=1/Math.sqrt(d),l*=d,f*=d,h*=d);let p=a*h-c*f,y=c*l-u*h,m=u*f-a*l;return d=p*p+y*y+m*m,d>0&&(d=1/Math.sqrt(d),p*=d,y*=d,m*=d),t[0]=p,t[1]=y,t[2]=m,t[3]=0,t[4]=f*m-h*y,t[5]=h*p-l*m,t[6]=l*y-f*p,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=i,t[13]=s,t[14]=o,t[15]=1,t},translate:f,transpose:a},Symbol.toStringTag,{value:"Module"}))},35522(t,e,r){r.d(e,{$A:()=>_,Bw:()=>s,C:()=>o,Cc:()=>v,DI:()=>T,Il:()=>L,Io:()=>M,Ln:()=>g,Om:()=>S,Qr:()=>f,Re:()=>c,S8:()=>E,T9:()=>y,WQ:()=>a,Z0:()=>w,_S:()=>d,aI:()=>P,ei:()=>A,fw:()=>R,g7:()=>N,gL:()=>C,hG:()=>B,hZ:()=>u,hs:()=>m,jb:()=>j,jk:()=>p,lo:()=>F,lw:()=>l,m3:()=>b,oW:()=>k,t2:()=>X,tn:()=>h,uE:()=>Z,xg:()=>I,ze:()=>x});var n=r(51850),i=r(34304);function s(t){const e=t[0],r=t[1],n=t[2];return Math.sqrt(e*e+r*r+n*n)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function u(t,e,r,n){return t[0]=e,t[1]=r,t[2]=n,t}function a(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t}function c(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t}function l(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t}function f(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t}function y(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t}function m(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t}function g(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t}function M(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(r*r+n*n+i*i)}function B(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return r*r+n*n+i*i}function b(t){const e=t[0],r=t[1],n=t[2];return e*e+r*r+n*n}function x(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function T(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function E(t,e){const r=e[0],n=e[1],i=e[2];let s=r*r+n*n+i*i;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function _(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],u=r[1],a=r[2];return t[0]=i*a-s*u,t[1]=s*o-n*a,t[2]=n*u-i*o,t}function v(t,e,r,n){const i=e[0],s=e[1],o=e[2];return t[0]=i+n*(r[0]-i),t[1]=s+n*(r[1]-s),t[2]=o+n*(r[2]-o),t}function w(t,e,r){const n=e[0],i=e[1],s=e[2];return t[0]=r[0]*n+r[4]*i+r[8]*s+r[12],t[1]=r[1]*n+r[5]*i+r[9]*s+r[13],t[2]=r[2]*n+r[6]*i+r[10]*s+r[14],t}function A(t,e,r){const n=e[0],i=e[1],s=e[2];return t[0]=n*r[0]+i*r[3]+s*r[6],t[1]=n*r[1]+i*r[4]+s*r[7],t[2]=n*r[2]+i*r[5]+s*r[8],t}function C(t,e,r){return R(t,e,r[0],r[1],r[2],r[3])}function R(t,e,r,n,i,s){const o=e[0],u=e[1],a=e[2],c=n*a-i*u,l=i*o-r*a,f=r*u-n*o,h=n*f-i*l,d=i*c-r*f,p=r*l-n*c,y=2*s;return t[0]=o+c*y+2*h,t[1]=u+l*y+2*d,t[2]=a+f*y+2*p,t}function N(t,e){E(Y,t),E(O,e);const r=S(Y,O);return r>1?0:r<-1?Math.PI:Math.acos(r)}const Y=(0,n.vt)(),O=(0,n.vt)();function X(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function P(t,e){if(t===e)return!0;const r=t[0],n=t[1],s=t[2],o=e[0],u=e[1],a=e[2],c=(0,i.FD)();return Math.abs(r-o)<=c*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(n-u)<=c*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(s-a)<=c*Math.max(1,Math.abs(s),Math.abs(a))}function k(t,e,r){const n=r[0]-e[0],i=r[1]-e[1],s=r[2]-e[2];let o=n*n+i*i+s*s;return o>0?(o=1/Math.sqrt(o),t[0]=n*o,t[1]=i*o,t[2]=s*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const j=c,q=l,z=f,I=M,F=B,L=s,Z=b;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:a,angle:N,bezier:function(t,e,r,n,i,s){const o=1-s,u=o*o,a=s*s,c=u*o,l=3*s*u,f=3*a*o,h=a*s;return t[0]=e[0]*c+r[0]*l+n[0]*f+i[0]*h,t[1]=e[1]*c+r[1]*l+n[1]*f+i[1]*h,t[2]=e[2]*c+r[2]*l+n[2]*f+i[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,r=1){return t[0]=Math.min(Math.max(t[0],e),r),t[1]=Math.min(Math.max(t[1],e),r),t[2]=Math.min(Math.max(t[2],e),r),t},copy:o,cross:_,crossAndNormalize:function(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],u=r[1],a=r[2],c=i*a-s*u,l=s*o-n*a,f=n*u-i*o,h=Math.sqrt(c*c+l*l+f*f);return t[0]=c/h,t[1]=l/h,t[2]=f/h,t},direction:k,dist:I,distance:M,div:z,divide:f,dot:S,equals:P,exactEquals:X,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,r,n,i,s){const o=s*s,u=o*(2*s-3)+1,a=o*(s-2)+s,c=o*(s-1),l=o*(3-2*s);return t[0]=e[0]*u+r[0]*a+n[0]*c+i[0]*l,t[1]=e[1]*u+r[1]*a+n[1]*c+i[1]*l,t[2]=e[2]*u+r[2]*a+n[2]*c+i[2]*l,t},inverse:T,len:L,length:s,lerp:v,max:y,min:p,mul:q,multiply:l,negate:x,normalize:E,random:function(t,e=1){const r=i.Ov,n=2*r()*Math.PI,s=2*r()-1,o=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=s*e,t},rotateX:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[0],s[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),s[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateY:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),s[1]=i[1],s[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateZ:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),s[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),s[2]=i[2],t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:m,scaleAndAdd:g,set:u,sign:d,sqrDist:F,sqrLen:Z,squaredDistance:B,squaredLength:b,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:j,subtract:c,transformMat3:A,transformMat4:w,transformQuat:C,transformQuatValues:R},Symbol.toStringTag,{value:"Module"}))},78955(t,e,r){r.d(e,{Bw:()=>m,C:()=>i,Cc:()=>b,LI:()=>h,Om:()=>B,S8:()=>M,T9:()=>f,WQ:()=>o,Z0:()=>x,aI:()=>E,hG:()=>y,hZ:()=>s,hs:()=>d,jk:()=>l,m3:()=>g,t2:()=>T});var n=r(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function o(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function u(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function a(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function c(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function l(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function f(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function h(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function d(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function p(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return Math.sqrt(r*r+n*n+i*i+s*s)}function y(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return r*r+n*n+i*i+s*s}function m(t){const e=t[0],r=t[1],n=t[2],i=t[3];return Math.sqrt(e*e+r*r+n*n+i*i)}function g(t){const e=t[0],r=t[1],n=t[2],i=t[3];return e*e+r*r+n*n+i*i}function M(t,e){const r=e[0],n=e[1],i=e[2],s=e[3];let o=r*r+n*n+i*i+s*s;return o>0&&(o=1/Math.sqrt(o),t[0]=r*o,t[1]=n*o,t[2]=i*o,t[3]=s*o),t}function B(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function b(t,e,r,n){const i=e[0],s=e[1],o=e[2],u=e[3];return t[0]=i+n*(r[0]-i),t[1]=s+n*(r[1]-s),t[2]=o+n*(r[2]-o),t[3]=u+n*(r[3]-u),t}function x(t,e,r){const n=e[0],i=e[1],s=e[2],o=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*s+r[12]*o,t[1]=r[1]*n+r[5]*i+r[9]*s+r[13]*o,t[2]=r[2]*n+r[6]*i+r[10]*s+r[14]*o,t[3]=r[3]*n+r[7]*i+r[11]*s+r[15]*o,t}function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function E(t,e){const r=t[0],i=t[1],s=t[2],o=t[3],u=e[0],a=e[1],c=e[2],l=e[3],f=(0,n.FD)();return Math.abs(r-u)<=f*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(i-a)<=f*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(s-c)<=f*Math.max(1,Math.abs(s),Math.abs(c))&&Math.abs(o-l)<=f*Math.max(1,Math.abs(o),Math.abs(l))}const S=u,_=a,v=c,w=p,A=y,C=m,R=g;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:w,distance:p,div:v,divide:c,dot:B,equals:E,exactEquals:T,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:C,length:m,lerp:b,max:f,min:l,mul:_,multiply:a,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:M,random:function(t,e=1){const r=n.Ov;let i,s,o,u,a,c;do{i=2*r()-1,s=2*r()-1,a=i*i+s*s}while(a>=1);do{o=2*r()-1,u=2*r()-1,c=o*o+u*u}while(c>=1);const l=Math.sqrt((1-a)/c);return t[0]=e*i,t[1]=e*s,t[2]=e*o*l,t[3]=e*u*l,t},round:h,scale:d,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:s,sqrDist:A,sqrLen:R,squaredDistance:y,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:S,subtract:u,transformMat4:x,transformQuat:function(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],u=r[1],a=r[2],c=r[3],l=c*n+u*s-a*i,f=c*i+a*n-o*s,h=c*s+o*i-u*n,d=-o*n-u*i-a*s;return t[0]=l*c+d*-o+f*-a-h*-u,t[1]=f*c+d*-u+h*-o-l*-a,t[2]=h*c+d*-a+l*-u-f*-o,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},75503(t,e,r){r.d(e,{wq:()=>u});var n=r(4576),i=r(21818),s=(r(44208),r(15142)),o=r(11006);class u{constructor(t=9,e){this._compareMinX=h,this._compareMinY=d,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),x.prune(),T.prune(),E.prune(),S.prune()}all(t){a(this._data,t)}search(t,e){let r=this._data;const n=this._toBBox;if(B(t,r))for(x.clear();r;){for(let i=0,s=r.children.length;i<s;i++){const s=r.children[i],o=r.leaf?n(s):s;B(t,o)&&(r.leaf?e(s):M(t,o)?a(s,e):x.push(s))}r=x.pop()}}collides(t){let e=this._data;const r=this._toBBox;if(!B(t,e))return!1;for(x.clear();e;){for(let n=0,i=e.children.length;n<i;n++){const i=e.children[n],s=e.leaf?r(i):i;if(B(t,s)){if(e.leaf||M(t,s))return!0;x.push(i)}}e=x.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,r=t.length;e<r;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new w([]),this}remove(t){if(!t)return this;let e,r=this._data,s=null,o=0,u=!1;const a=this._toBBox(t);for(E.clear(),S.clear();r||E.length>0;){if(r||(r=E.pop(),s=E.data[E.length-1],o=S.pop()??0,u=!0),r.leaf&&(e=(0,n.qh)(r.children,(0,i.z)(t),r.children.length,r.indexHint),-1!==e))return r.children.splice(e,1),E.push(r),this._condense(E),this;u||r.leaf||!M(r,a)?s?(o++,r=s.children[o],u=!1):r=null:(E.push(r),S.push(o),o=0,s=r,r=r.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,r,n){const i=r-e+1;let s=this._maxEntries;if(i<=s){const n=new w(t.slice(e,r+1));return c(n,this._toBBox),n}n||(n=Math.ceil(Math.log(i)/Math.log(s)),s=Math.ceil(i/s**(n-1)));const o=new A([]);o.height=n;const u=Math.ceil(i/s),a=u*Math.ceil(Math.sqrt(s));b(t,e,r,a,this._compareMinX);for(let i=e;i<=r;i+=a){const e=Math.min(i+a-1,r);b(t,i,e,u,this._compareMinY);for(let r=i;r<=e;r+=u){const i=Math.min(r+u-1,e);o.children.push(this._build(t,r,i,n-1))}}return c(o,this._toBBox),o}_insert(t,e,r){const n=this._toBBox,i=r?t:n(t);E.clear();const s=function(t,e,r,n){for(;n.push(e),!0!==e.leaf&&n.length-1!==r;){let r,n=1/0,i=1/0;for(let s=0,o=e.children.length;s<o;s++){const o=e.children[s],u=p(o),a=m(t,o)-u;a<i?(i=a,n=u<n?u:n,r=o):a===i&&u<n&&(n=u,r=o)}e=r||e.children[0]}return e}(i,this._data,e,E);for(s.children.push(t),f(s,i);e>=0&&E.data[e].children.length>this._maxEntries;)this._split(E,e),e--;!function(t,e,r){for(let n=r;n>=0;n--)f(e.data[n],t)}(i,E,e)}_split(t,e){const r=t.data[e],n=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,n);const s=this._chooseSplitIndex(r,i,n);if(!s)return;const o=r.children.splice(s,r.children.length-s),u=r.leaf?new w(o):new A(o);u.height=r.height,c(r,this._toBBox),c(u,this._toBBox),e?t.data[e-1].children.push(u):this._splitRoot(r,u)}_splitRoot(t,e){this._data=new A([t,e]),this._data.height=t.height+1,c(this._data,this._toBBox)}_chooseSplitIndex(t,e,r){let n,i,s;n=i=1/0;for(let o=e;o<=r-e;o++){const e=l(t,0,o,this._toBBox),u=l(t,o,r,this._toBBox),a=g(e,u),c=p(e)+p(u);a<n?(n=a,s=o,i=c<i?c:i):a===n&&c<i&&(i=c,s=o)}return s}_chooseSplitAxis(t,e,r){const n=t.leaf?this._compareMinX:h,i=t.leaf?this._compareMinY:d;this._allDistMargin(t,e,r,n)<this._allDistMargin(t,e,r,i)&&t.children.sort(n)}_allDistMargin(t,e,r,n){t.children.sort(n);const i=this._toBBox,s=l(t,0,e,i),o=l(t,r-e,r,i);let u=y(s)+y(o);for(let n=e;n<r-e;n++){const e=t.children[n];f(s,t.leaf?i(e):e),u+=y(s)}for(let n=r-e-1;n>=e;n--){const e=t.children[n];f(o,t.leaf?i(e):e),u+=y(o)}return u}_condense(t){for(let e=t.length-1;e>=0;e--){const r=t.data[e];if(0===r.children.length)if(e>0){const i=t.data[e-1],s=i.children;s.splice((0,n.qh)(s,r,s.length,i.indexHint),1)}else this.clear();else c(r,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function a(t,e){let r=t;for(T.clear();r;){if(!0===r.leaf)for(const t of r.children)e((0,i.z)(t));else T.pushArray(r.children);r=T.pop()??null}}function c(t,e){l(t,0,t.children.length,e,t)}function l(t,e,r,n,i){i||(i=new w([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let s,o=e;o<r;o++)s=t.children[o],f(i,t.leaf?n(s):s);return i}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function d(t,e){return t.minY-e.minY}function p(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function y(t){return t.maxX-t.minX+(t.maxY-t.minY)}function m(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function g(t,e){const r=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),s=Math.min(t.maxY,e.maxY);return Math.max(0,i-r)*Math.max(0,s-n)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function B(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function b(t,e,r,n,i){const s=[e,r];for(;s.length;){const e=s.pop(),r=s.pop();if(e-r<=n)continue;const u=r+Math.ceil((e-r)/n/2)*n;(0,o.q)(t,u,r,e,i),s.push(r,u,u,e)}}const x=new s.A,T=new s.A,E=new s.A,S=new s.A({deallocator:void 0});class _{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class v extends _{constructor(){super(...arguments),this.height=1,this.indexHint=new n.vW}}class w extends v{constructor(t){super(),this.children=t,this.leaf=!0}}class A extends v{constructor(t){super(),this.children=t,this.leaf=!1}}},91075(t,e,r){r.d(e,{A:()=>a});var n=r(5482),i=r(25482),s=r(91429),o=r(16930),u=r(36005);let a=class extends i.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof o.A)return t;if(null!=t){const r=new o.A;return r.read(t,e),r}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,n.Cg)([(0,s.MZ)()],a.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],a.prototype,"extent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],a.prototype,"hasM",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],a.prototype,"hasZ",void 0),(0,n.Cg)([(0,s.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],a.prototype,"spatialReference",void 0),(0,n.Cg)([(0,u.w)("spatialReference")],a.prototype,"readSpatialReference",null),a=(0,n.Cg)([(0,s.$K)("esri.geometry.Geometry")],a)},86738(t,e,r){r.d(e,{A:()=>B});var n=r(5482),i=r(69622),s=r(53966),o=r(91429),u=r(56507),a=r(91075),c=r(16930),l=r(21325),f=r(28735);function h({x:t,y:e,spatialReference:r},n=[0,0]){if(r){if((0,l.K8)(r))return(0,f.tD)(t,e,n);if((0,l.EA)(r))return n[0]=t,n[1]=e,n}return null}const d=[0,0];var p,y=r(43937),m=r(36005);const g=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let B=p=class extends a.A{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const r=t._get("spatialReference");e._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,r,n,i){let o;if(Array.isArray(t))o=t,i=e,t=o[0],e=o[1],r=o[2],n=o[3];else if(t&&"object"==typeof t){if(o=t,t=null!=o.x?o.x:o.longitude,e=null!=o.y?o.y:o.latitude,r=o.z,n=o.m,(i=o.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new c.A(i)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)s.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)s.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&i?.isWebMercator){const r=(0,f.je)(o.longitude,o.latitude,g);t=r[0],e=r[1]}}else M(r)?(i=r,r=null):M(n)&&(i=n,n=null);const u={x:t,y:e};return null==u.x&&null!=u.y?s.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==u.y&&null!=u.x&&s.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(u.spatialReference=i),null!=r&&(u.z=r),null!=n&&(u.m=n),u}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){return h(this,d)?.[1]??null}set latitude(t){const{spatialReference:e,x:r}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,f.je)(r,t,g)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return h(this,d)?.[0]??null}set longitude(t){const{y:e,spatialReference:r}=this;null!=t&&r&&(r.isWebMercator?this._set("x",(0,f.je)(t,e,g)[0]):r.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,r){e[r]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new p;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return p.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:r,z:n,m:i,spatialReference:s}=this,{z:o,m:u}=t;let{x:a,y:c,spatialReference:l}=t;if(!s.equals(l))if(s.isWebMercator&&l.isWGS84)[a,c]=(0,f.je)(a,c),l=s;else{if(!s.isWGS84||!l.isWebMercator)return!1;[a,c]=(0,f.tD)(a,c),l=s}return e===a&&r===c&&n===o&&i===u&&s.wkid===l.wkid}offset(t,e,r){return this.x+=t,this.y+=e,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const t=(0,l.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[r,n]=t.valid,i=2*n;let s;return e>n?(s=Math.ceil(Math.abs(e-n)/i),e-=s*i):e<r&&(s=Math.ceil(Math.abs(e-r)/i),e+=s*i),this._set("x",e),this}distance(t){return function(t,e){const r=t.x-e.x,n=t.y-e.y,i=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],B.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],B.prototype,"hasM",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],B.prototype,"hasZ",null),(0,n.Cg)([(0,o.MZ)({type:Number})],B.prototype,"latitude",null),(0,n.Cg)([(0,o.MZ)({type:Number})],B.prototype,"longitude",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(t=>isNaN(t)?t:(0,u.GB)(t))],B.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],B.prototype,"writeX",null),(0,n.Cg)([(0,m.w)("x")],B.prototype,"readX",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],B.prototype,"y",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],B.prototype,"z",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],B.prototype,"m",void 0),B=p=(0,n.Cg)([(0,o.$K)("esri.geometry.Point")],B),B.prototype.toJSON.isDefaultToJSON=!0},21276(t,e,r){r.d(e,{H:()=>s,f:()=>i});var n=r(49186);function i(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function s(t){t.forEach(i)}},48353(t,e,r){r.d(e,{l:()=>c});var n=r(34727),i=r(58083),s=r(51850);function o(t,e,r){const n=Math.sin(t),i=Math.cos(t),s=Math.sin(e),o=Math.cos(e),u=r;return u[0]=-n,u[4]=-s*i,u[8]=o*i,u[12]=0,u[1]=i,u[5]=-s*n,u[9]=o*n,u[13]=0,u[2]=0,u[6]=o,u[10]=s,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}var u=r(49208),a=r(21325);function c(t,e,r,n){const s=(0,u.Tp)(t,n);if(null==s)return!1;const c=s.source.spatialReferenceId,p=s.dest.spatialReferenceId;if(c===p&&!l(p)&&(0!==c||(0,a.aI)(t,n)))return(0,i.kN)(r,e),!0;if(l(p)){const t=u.w5[c][10],n=u.w5[10][p];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,d,0),o(f*h[0],f*h[1],r),r[12]=d[0],r[13]=d[1],r[14]=d[2],!0)}const y=l(c);if((3===p||11===p||2===p||5===p)&&(2===c||y||3===c||5===c)){const t=u.w5[c][10],n=u.w5[10][p];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,d,0),y?function(t,e,r){o(t,e,r),(0,i.mg)(r,r)}(f*h[0],f*h[1],r):(0,i.D_)(r),r[12]=d[0],r[13]=d[1],r[14]=d[2],!0)}return!1}function l(t){return 1===t||6===t||8===t||4===t}const f=(0,n.kU)(1),h=(0,s.vt)(),d=(0,s.vt)()},65806(t,e,r){r.d(e,{g:()=>o});var n=r(51850),i=r(91218),s=r(9762);function o(t,e,r,n){if((0,i.canProjectWithoutEngine)(t.spatialReference,r))return u[0]=t.x,u[1]=t.y,u[2]=t.z??0,(0,s.projectBuffer)(u,t.spatialReference,0,e,r,0);const o=(0,i.tryProject)(t,r,n);return!!o&&(e[0]=o.x,e[1]=o.y,e[2]=o.z??0,!0)}const u=(0,n.vt)()},95696(t,e,r){r.d(e,{A:()=>c});var n,i=r(5482),s=r(69540),o=r(25482),u=r(91429),a=r(93223);let c=class extends((0,s.OU)(o.o)){static{n=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new n}};(0,i.Cg)([(0,a.e)({georeferenced:"georeferenced"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],c.prototype,"origin",void 0),c=n=(0,i.Cg)([(0,u.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],c)},18251(t,e,r){r.r(e),r.d(e,{default:()=>c});var n=r(5482),i=r(69540),s=r(25482),o=r(91429),u=r(51850),a=r(93223);let c=class extends((0,i.OU)(s.o)){constructor(t){super(t),this.type="local",this.origin=(0,u.vt)()}};(0,n.Cg)([(0,a.e)({local:"local"},{readOnly:!0})],c.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],c.prototype,"origin",void 0),c=(0,n.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],c)},13030(t,e,r){r.d(e,{Y$:()=>g,XW:()=>m,qB:()=>A,Qt:()=>W,My:()=>Q,bf:()=>V,jZ:()=>S,j0:()=>_,Sx:()=>v,E$:()=>w,h:()=>k,P:()=>I,SL:()=>Y,dy:()=>rt,gH:()=>B,ZD:()=>M,si:()=>C,mJ:()=>$,UL:()=>H,D6:()=>U,Yi:()=>j,An:()=>F,LC:()=>O,xs:()=>x,EC:()=>b,Xm:()=>R,Vp:()=>K,zD:()=>tt,m8:()=>D,nS:()=>q,H$:()=>L,eI:()=>X,td:()=>nt,Eq:()=>E,jz:()=>T,Aj:()=>N,E7:()=>J,Y4:()=>et,TX:()=>G,Uz:()=>z,ml:()=>Z,XP:()=>P});var n=r(34727),i=r(78955),s=r(91829),o=r(20498);class u{static{this.ElementCount=9}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=9;const s=this.TypedArrayConstructor;void 0===n&&(n=9*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;for(let t=0;t<9;++t)n[s++]=i[o++]}get buffer(){return this.typedBuffer.buffer}}class a{static{this.ElementCount=16}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=16;const s=this.TypedArrayConstructor;void 0===n&&(n=16*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){this.copyFromTypedBuffer(t,e.typedBuffer,r*e.typedBufferStride)}copyFromTypedBuffer(t,e,r){const n=this.typedBuffer;let i=t*this.typedBufferStride;for(let t=0;t<16;++t)n[i++]=e[r++]}get buffer(){return this.typedBuffer.buffer}}class c{static{this.ElementCount=1}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=1;const s=this.TypedArrayConstructor;void 0===n&&(n=s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.stride=n,this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}var l=r(37585);class f{static{this.ElementCount=2}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.start=r,this.elementCount=2;const s=this.TypedArrayConstructor;void 0===n&&(n=2*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,l.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=r}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;n[s++]=i[o++],n[s]=i[o]}get buffer(){return this.typedBuffer.buffer}}var h=r(35522);class d{static{this.ElementCount=3}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=3;const s=this.TypedArrayConstructor;void 0===n&&(n=3*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,h.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t]=n}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;n[s++]=i[o++],n[s++]=i[o++],n[s]=i[o]}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=4}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.start=r,this.elementCount=4;const s=this.TypedArrayConstructor;void 0===n&&(n=4*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,i.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n,i){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t++]=n,this.typedBuffer[t]=i}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;n[s++]=i[o++],n[s++]=i[o++],n[s++]=i[o++],n[s]=i[o]}get buffer(){return this.typedBuffer.buffer}}var y=r(620);class m extends c{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}static{this.ElementType="f16"}}class g extends c{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}static{this.ElementType="f32"}}class M extends f{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(M,t,e)}static{this.ElementType="f16"}}class B extends f{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(B,t,e)}static{this.ElementType="f32"}}class b extends d{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class x extends d{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static fromTypedArray(t,e){return new x(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class T extends p{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f16"}}class E extends p{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f32"}}class S extends u{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class _ extends u{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class v extends a{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f32"}}class w extends a{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="f64"}}class A extends c{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f64"}}class C extends f{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class R extends d{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static fromTypedArray(t,e){return new R(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class N extends p{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="f64"}}class Y extends c{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u8"}}class O extends f{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u8"}}class X extends d{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(X,t,e)}static fromTypedArray(t,e){return new X(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class P extends p{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="u8"}}class k extends c{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u16"}}class j extends f{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u16"}}class q extends d{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u16"}}class z extends p{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u16"}}class I extends c{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u32"}}class F extends f{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u32"}}class L extends d{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="u32"}}class Z extends p{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="u32"}}class V extends c{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="i8"}}class U extends f{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="i8"}}class D extends d{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class G extends p{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i8"}}class W extends c{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i16"}}class $ extends f{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i16"}}class K extends d{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i16"}}class J extends p{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class Q extends c{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i32"}}class H extends f{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i32"}}class tt extends d{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends p{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class rt extends Y{constructor(t,e=0,r,n){super(t,e,r,n)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,n.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(rt,t,e)}}class nt extends P{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,i.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,i.jk)(it,(0,i.T9)(it,e,s.uY),s.Un),(0,i.hs)(it,it,255),(0,i.LI)(it,it),super.setVec(t,it)}get(t,e){return super.get(t,e)/255}set(t,e,r){super.set(t,e,Math.round(255*(0,n.qE)(r,0,1)))}setValues(t,e,r,n,s){(0,i.hZ)(it,e,r,n,s),this.setVec(t,it)}slice(t,e){return this.sliceBuffer(nt,t,e)}}const it=(0,s.vt)()},72727(t,e,r){function n(t,e,r){if(e<=0)return 0;const n=t-r;return n<0?0:Math.floor(n/e)+1}r.d(e,{k:()=>n}),r(53966)},20498(t,e,r){r.d(e,{Bg:()=>i,SX:()=>o,pX:()=>s});let n=globalThis.Float16Array;function i(...t){return new(n??Float32Array)(...t)}function s(){return n}let o=!!n},60408(t,e,r){function n(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function i(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function u(t){return void 0!==t.rings||void 0!==t.curveRings}function a(t){return"object"==typeof t&&"vertexAttributes"in t}function c(t){return t?s(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":u(t)?"esriGeometryPolygon":n(t)?"esriGeometryEnvelope":i(t)?"esriGeometryMultipoint":null:null}function l(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}r.d(e,{$B:()=>c,Bi:()=>u,Pv:()=>l,Rg:()=>o,U9:()=>i,W0:()=>f,ZC:()=>n,fT:()=>s,uW:()=>a})},38419(t,e,r){r.r(e),r.d(e,{default:()=>u});var n=r(44208),i=r(75503),s=r(95696),o=r(72258);class u{async createIndex(t,e){const r=new Array;if(!t.vertexAttributes?.position)return new i.wq;const n=function(t){const{vertexAttributes:{position:e},vertexSpace:r,spatialReference:n,transform:i}=t,u=(0,o.UR)({vertexAttributes:{position:e},vertexSpace:r,spatialReference:n,transform:i},s.A.absolute,{allowBufferReuse:!0})?.position;return u?!t.components||t.components.some(t=>!t.faces)?{position:u.buffer}:{position:u.buffer,components:t.components.map(t=>t.faces)}:null}(t),u=null!=e?await e.invoke("createIndexThread",n,{transferList:r}):this.createIndexThread(n).result;return a().fromJSON(u)}createIndexThread(t){const e=a();if(!t)return{result:e.toJSON()};const r=new Float64Array(t.position);return t.components?function(t,e,r){let n=0;for(const t of r)n+=t.length/3;const i=new Array(n);let s=0;for(const t of r)for(let r=0;r<t.length;r+=3)i[s++]=c(e,3*t[r],3*t[r+1],3*t[r+2]);return t.load(i),{result:t.toJSON()}}(e,r,t.components.map(t=>new Uint32Array(t))):function(t,e){const r=new Array(e.length/9);let n=0;for(let t=0;t<e.length;t+=9)r[n++]=c(e,t,t+3,t+6);return t.load(r),{result:t.toJSON()}}(e,r)}}function a(){return new i.wq(9,(0,n.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function c(t,e,r,n){return{minX:Math.min(t[e],t[r],t[n]),maxX:Math.max(t[e],t[r],t[n]),minY:Math.min(t[e+1],t[r+1],t[n+1]),maxY:Math.max(t[e+1],t[r+1],t[n+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[r],t[r+1],t[r+2]],p2:[t[n],t[n+1],t[n+2]]}}},22141(t,e,r){r.d(e,{$5:()=>E,CN:()=>B,JP:()=>M,KM:()=>_,Mv:()=>w,X4:()=>b,gr:()=>T,qs:()=>S,si:()=>x,xA:()=>v});var n=r(34727),i=r(77690),s=r(29242),o=r(58083),u=r(9093),a=r(35522),c=r(51850),l=r(73941),f=r(48353),h=r(9762),d=(r(79258),r(21325)),p=r(28735),y=r(13030),m=r(73354),g=r(50867);const M="Projection may be possible after calling projection.load().";function B(t,e,r,n){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${r.wkid}).${n?" ":""}${n}`)}function b(t,e,r,n,i,s){return C(0,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s))?s:null}function x(t,e,r,n,i,s){return C(1,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s))?s:null}function T(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function E(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function S(t,e,r){return(0,i.Ge)(O,r),(0,m.b)(e,t,O),(0,n.or)(O)&&(0,m.n)(e,e),e}function _(t,e,r){return(0,i.z0)(O,r),(0,g.t)(e,t,O),(0,n.or)(O)&&(0,m.n)(e,e,4),e}function v(t,e,r,n,i,s){if(!C(0,y.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)s[e]=t[e];return s}function w(t,e,r,n,i,s){if(!C(1,y.xs.fromTypedArray(t,16),1,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s,16)))return null;for(let e=3;e<t.length;e+=4)s[e]=t[e];return s}function A(t,e,r,n,s){switch((0,f.l)(n,r,Y,n),1===t&&(0,o.B8)(Y,Y),e){case 0:return(0,i.Ge)(s,Y);case 1:return(0,i.z0)(s,Y)}}function C(t,e,r,n,i,s,o,u){if(!e)return;const c=n.count;if(function(t){return t.isWGS84||(0,d.x1)(t)||(0,l.q8)(t)||(0,l.KQ)(t)}(i))for(let n=0;n<c;n++)s.getVec(n,R),e.getVec(n,N),(0,a.ei)(N,N,A(t,r,R,o,O)),u.setVec(n,N);else for(let i=0;i<c;i++){s.getVec(i,R),e.getVec(i,N);const c=(0,p.jg)(n.get(i,1));let l=Math.cos(c);1===r!=(0===t)&&(l=1/l),A(t,r,R,o,O),0===t?(O[0]*=l,O[1]*=l,O[2]*=l,O[3]*=l,O[4]*=l,O[5]*=l):(O[0]*=l,O[3]*=l,O[6]*=l,O[1]*=l,O[4]*=l,O[7]*=l),(0,a.ei)(N,N,O),(0,a.S8)(N,N),u.setVec(i,N)}return u}const R=(0,c.vt)(),N=(0,c.vt)(),Y=(0,u.vt)(),O=(0,s.vt)()},72258(t,e,r){r.d(e,{UR:()=>x,p5:()=>b,xK:()=>w});var n=r(53966),i=r(34727),s=r(86211),o=r(77690),u=r(29242),a=r(58083),c=r(9093),l=r(35522),f=r(51850),h=r(73941),d=r(98764),p=r(48353),y=r(65806),m=r(27615),g=r(73354),M=r(22141);const B=()=>n.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function b(t,e,{vertexSpace:r,spatialReference:n}){if("georeferenced"===r.type){const i=t;if(!(0,y.g)(e,i,n))return!1;const{origin:s}=r;return(0,l.Re)(t,i,s),!0}const i=(0,d.lO)(n),s=t;if(!(0,y.g)(e,s,i))return!1;const{origin:o}=r,u=Y;if(!(0,p.l)(n,o,u,i))return!1;const c=(0,a.B8)(Y,u);return null!=c&&((0,l.Z0)(t,s,c),!0)}function x(t,e,r){const{vertexSpace:n,transform:i,vertexAttributes:s}=t,u=(0,m.Hq)(n)?i:null,f=_(t.spatialReference,r,3);if((0,m.yJ)(n,e)&&(!u||(0,a.t2)(u.localMatrix,c.zK))&&v(f)){const{position:t,normal:e,tangent:n}=s,i=r?.allowBufferReuse;return{position:i?t:t.slice(),normal:i?e:e?.slice(),tangent:i?n:n?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},i,s){const o=T(e,s);if(!(0,p.l)(e,n,A,o))return(0,M.CN)(B(),e,o),null;if(r&&(0,a.lw)(A,A,r.localMatrix),!(0,p.l)(e,i,C,o))return(0,M.CN)(B(),o,e),null;(0,a.B8)(C,C);const u=(0,a.lw)(A,C,A);return S(u,e,s,3),E(t,u)}(t,t.vertexSpace,e.origin,r):function({spatialReference:t,vertexAttributes:e,transform:r},{origin:n},i,s){const o=T(t,s);if(!(0,p.l)(t,n,A,o))return(0,M.CN)(B(),t,o),null;r&&(0,a.lw)(A,A,r.localMatrix),S(A,t,s,1);const u=new Float64Array(e.position.length),c=function(t,e,r,n,i){(0,g.t)(n,t,e);const s=new Float64Array(t.length);return(0,M.$5)(n,i,s,r)?s:((0,M.CN)(B(),i,r),null)}(e.position,A,t,u,o);if(!c)return null;const f=function(t,e,r,n,i,s){if(null==i)return null;const o=new Float32Array(i.length);return(0,M.qs)(i,o,s),(0,M.si)(o,t,e,r,n,o)?o:((0,M.CN)(B(),n,e),null)}(c,t,u,o,e.normal,A);if(e.normal&&!f)return null;const h=function(t,e,r,n,i,s){if(null==i)return null;const o=new Float32Array(i.length);return(0,M.KM)(i,o,s),(0,M.Mv)(o,t,e,r,n,o)?o:((0,M.CN)(B(),n,e),null)}(c,t,u,o,e.tangent,A);if(e.tangent&&!h)return null;if(i){const t=(0,l.ze)(N,i);(0,g.a)(c,c,t)}return{position:c,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,r);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},i,s){const u=T(e,s);if(!(0,p.l)(e,i,A,u))return(0,M.CN)(B(),e,u),null;const c=1/_(e,s,2);(0,a.hs)(A,A,[c,c,c]);const l=(0,a.B8)(C,A),{position:f,normal:h,tangent:d}=function(t,e,r){if(!e)return t;if(!r){const{position:r,normal:n,tangent:i}=t;return{position:(0,g.a)(new Float64Array(r.length),r,e),tangent:i,normal:n}}const n=E(t,r.localMatrix);return(0,g.a)(n.position,n.position,e),n}(t,n,r),y=new Float64Array(f.length),m=function(t,e,r,n,i){const s=(0,M.gr)(t,e,n,i);if(!s)return(0,M.CN)(B(),e,i),null;const o=new Float64Array(s.length);return(0,g.t)(o,s,r),o}(f,e,l,y,u);if(!m)return null;const b=(0,o.Ge)(R,l),x=function(t,e,r,n,i,s,o){if(null==t)return null;const u=o??new Float32Array(t.length);return(0,M.X4)(t,e,r,n,i,u)?((0,g.b)(u,u,s),u):((0,M.CN)(B(),r,i),null)}(h,f,e,y,u,b,h!==t.normal?h:void 0);if(!x&&h)return null;const S=function(t,e,r,n,i,s,o){if(null==t)return null;const u=o??new Float32Array(t.length);return(0,M.xA)(t,e,r,n,i,u)?((0,g.b)(u,u,s,4),u):((0,M.CN)(B(),r,i),null)}(d,f,e,y,u,b,d!==t.tangent?d:void 0);return!S&&d?null:{position:m,normal:x,tangent:S}}(t,t.vertexSpace,e.origin,r):function({vertexAttributes:t,transform:e,spatialReference:r},{origin:n},i,s){const o=_(r,s,3),u=n||!v(o)?(0,a.C)(A,e?.localMatrix??c.zK):null;u&&S(u,r,s,3);const{position:f,normal:h,tangent:d}=u?E(t,u):t,p=s?.allowBufferReuse,y=p?f:new Float64Array(f.length);let m=f;if(n&&(m=(0,g.a)(y,m,n)),i){const t=(0,l.ze)(N,i);m=(0,g.a)(y,m,t)}return{position:m!==t.position||p?m:m.slice(),normal:h!==t.normal||p?h:h?.slice(),tangent:d!==t.tangent||p?d:d?.slice()}}(t,t.vertexSpace,e.origin,r)}}function T(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?d.Y0:(0,d.lO)(t)}function E(t,e){const r=new Float64Array(t.position.length);(0,g.t)(r,t.position,e);const n=t.normal?new Float32Array(t.normal.length):null,i=t.tangent?new Float32Array(t.tangent.length):null;return n&&t.normal&&(0,M.qs)(t.normal,n,e),i&&t.tangent&&(0,M.KM)(t.tangent,i,e),{position:r,normal:n,tangent:i}}function S(t,e,r,n){const i=_(e,r,n);v(i)||(0,a.hs)(t,t,[i,i,i])}function _(t,e,r){const n=!!(1&r),i=!!(2&r),s=e?.sourceUnit,o=e?.targetUnit;if(!s&&!o)return 1;let u=w(s,t);n||!s||v(u)||(B().warn("source unit conversion not supported"),u=1);let a=1/w(o,t);return i||!o||v(a)||(B().warn("target unit conversion not supported"),a=1),u*a}function v(t){return(0,i.Io)(t,1)}function w(t,e){if(null==t)return 1;const r=(0,s.KX)(e);return 1/(0,s.oU)(r,"meters",t)}const A=(0,c.vt)(),C=(0,c.vt)(),R=(0,u.vt)(),N=(0,f.vt)(),Y=(0,c.vt)()},27615(t,e,r){r.d(e,{CK:()=>a,Hq:()=>u,MW:()=>c,TE:()=>l,yJ:()=>f});var n=r(35522),i=r(86738),s=r(95696),o=r(18251);function u(t){return null!=t.origin}function a(t){return u(t.vertexSpace)}function c(t,e){if(!u(t))return null;const[r,n,s]=t.origin;return new i.A({x:r,y:n,z:s,spatialReference:e})}function l(t,e){const{x:r,y:n,z:i,spatialReference:u}=t,a=[r,n,i??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(u))?new o.default({origin:a}):new s.A({origin:a})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,n.t2)(t.origin,e.origin))}},28735(t,e,r){r.d(e,{Cv:()=>y,Gh:()=>M,ci:()=>B,je:()=>m,jg:()=>l,tD:()=>g,y7:()=>p});var n=r(4718),i=r(21276),s=r(16930),o=r(79258),u=r(21325);function a(t){return 57.29577951308232*t}function c(t){return.017453292519943*t}function l(t){return Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))}function f(t){return null!=t.wkid||null!=t.wkt}const h=[0,0];function d(t,e,r,n,i){const s=t,o=i;if(o.spatialReference=r,"x"in s&&"x"in o)[o.x,o.y]=e(s.x,s.y,h,n);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=e(s.xmin,s.ymin,h,n),[o.xmax,o.ymax]=e(s.xmax,s.ymax,h,n);else if("paths"in s&&"paths"in o||"rings"in s&&"rings"in o){const t="paths"in s?s.paths:s.rings,r=[];let i;for(let s=0;s<t.length;s++){const o=t[s];i=[],r.push(i);for(let t=0;t<o.length;t++)i.push(e(o[t][0],o[t][1],[0,0],n)),o[t].length>2&&i[t].push(o[t][2]),o[t].length>3&&i[t].push(o[t][3])}"paths"in o?o.paths=r:o.rings=r}else if("points"in s&&"points"in o){const t=s.points,r=[];for(let i=0;i<t.length;i++)r[i]=e(t[i][0],t[i][1],[0,0],n),t[i].length>2&&r[i].push(t[i][2]),t[i].length>3&&r[i].push(t[i][3]);o.points=r}return i}function p(t,e){const r=t&&(f(t)?t:t.spatialReference),n=e&&(f(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!r||!n)&&(!!(0,u.aI)(n,r)||(0,u.K8)(n)&&(0,u.oT)(r)||(0,u.K8)(r)&&(0,u.oT)(n))}function y(t,e){if(null==t)return null;const r=t.spatialReference,i=e&&(f(e)?e:e.spatialReference);return p(r,i)?(0,u.aI)(r,i)?(0,n.o8)(t):(0,u.K8)(i)?d(t,m,s.A.WebMercator,!1,(0,n.o8)(t)):(0,u.oT)(i)?d(t,g,s.A.WGS84,!1,(0,n.o8)(t)):null:null}function m(t,e,r=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const n=c(e);return r[0]=c(t)*o.$O.radius,r[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function g(t,e,r=[0,0],n=!1){if(t===u.Mc[0])r[0]=-180;else if(t===u.Mc[1])r[0]=180;else{const e=a(t/o.$O.radius);r[0]=n?e:e-360*Math.floor((e+180)/360)}return r[1]=a(Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))),r}function M(t,e=!1,r=(0,n.o8)(t)){return(0,i.f)(t),(0,i.f)(r),d(t,m,s.A.WebMercator,e,r)}function B(t,e=!1,r=(0,n.o8)(t)){return(0,i.f)(t),(0,i.f)(r),d(t,g,s.A.WGS84,e,r)}},620(t,e,r){r.d(e,{L:()=>a,MX:()=>o,O_:()=>u,kL:()=>c,vA:()=>s,zH:()=>l});var n=r(48163);r(78955),(0,r(91829).vt)();class i{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function s(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new i(`${e} at ${t}`)}}function o(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function u(t,e,r,n){let i,s=(r[0]-t[0])/e[0],o=(n[0]-t[0])/e[0];s>o&&(i=s,s=o,o=i);let u=(r[1]-t[1])/e[1],a=(n[1]-t[1])/e[1];if(u>a&&(i=u,u=a,a=i),s>a||u>o)return!1;u>s&&(s=u),a<o&&(o=a);let c=(r[2]-t[2])/e[2],l=(n[2]-t[2])/e[2];return c>l&&(i=c,c=l,l=i),!(s>l||c>o||(l<o&&(o=l),o<0))}function a(t,e,r,i,s,o=(0,n.vt)()){const u=(i[s]-r[s])*(e[0]-t[0])-(i[0]-r[0])*(e[s]-t[s]),a=(i[0]-r[0])*(t[s]-r[s])-(i[s]-r[s])*(t[0]-r[0]);if(0===u)return!1;const c=a/u;return o[0]=t[0]+c*(e[0]-t[0]),o[1]=t[s]+c*(e[s]-t[s]),!0}function c(t,e){return Math.log(t)/Math.log(e)}function l(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4259],{5482(t,e,r){function n(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o}function i(t,e,r){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}r.d(e,{Cg:()=>n,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function o(t){function e(e){t.error=t.hasError?new s(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var r,n=0;return function i(){for(;r=t.stack.pop();)try{if(!r.async&&1===n)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(t){return e(t),i()})}else n|=1}catch(t){e(t)}if(1===n)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},73354(t,e,r){r.d(e,{a:()=>l,b:()=>d,e:()=>u,f:()=>o,g:()=>s,h:()=>h,l:()=>f,n:()=>p,t:()=>a});var n=r(40876),i=(r(44208),r(72727));function s(t,e,r){o(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function o(t,e,r,n=3,s=n){const o=(0,i.k)(t.length,n,3),u=(0,i.k)(e.length,s,3),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[4],d=r[5],p=r[6],y=r[8],m=r[9],g=r[10],M=r[12],B=r[13],b=r[14];let x=0,T=0;for(let r=0;r<a;r++){const r=e[x],i=e[x+1],o=e[x+2];t[T]=c*r+h*i+y*o+M,t[T+1]=l*r+d*i+m*o+B,t[T+2]=f*r+p*i+g*o+b,x+=s,T+=n}return t}function u(t,e,r){a(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function a(t,e,r,n=3,s=n){const o=(0,i.k)(t.length,n,3),u=(0,i.k)(e.length,s,3),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[3],d=r[4],p=r[5],y=r[6],m=r[7],g=r[8];let M=0,B=0;for(let r=0;r<a;r++){const r=e[M],i=e[M+1],o=e[M+2];t[B]=c*r+h*i+y*o,t[B+1]=l*r+d*i+m*o,t[B+2]=f*r+p*i+g*o,M+=s,B+=n}}function c(t,e,r,n=3,i=n){const s=Math.min(t.length/n,e.length/i);let o=0,u=0;for(let a=0;a<s;a++)t[u]=r*e[o],t[u+1]=r*e[o+1],t[u+2]=r*e[o+2],o+=i,u+=n;return t}function l(t,e,r,n){f(t.typedBuffer,e.typedBuffer,r,n,t.typedBufferStride,e.typedBufferStride)}function f(t,e,r,i,s=3,o=s){const u=Math.min(t.length/s,e.length/o);let a=0,c=0;const l=1/n.Tf;for(let n=0;n<u;n++)t[c]=i*(r*e[a])**l,t[c+1]=i*(r*e[a+1])**l,t[c+2]=i*(r*e[a+2])**l,a+=o,c+=s}function h(t,e,r,n=3,s=n){const o=(0,i.k)(t.length,n,3),u=(0,i.k)(e.length,s,3),a=Math.min(o,u);let c=0,l=0;for(let i=0;i<a;i++)t[l]=e[c]+r[0],t[l+1]=e[c+1]+r[1],t[l+2]=e[c+2]+r[2],c+=s,l+=n;return t}function d(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,r=3,n=r){const i=Math.min(t.length/r,e.length/n);let s=0,o=0;for(let u=0;u<i;u++){const i=e[s],u=e[s+1],a=e[s+2],c=i*i+u*u+a*a;if(c>0){const e=1/Math.sqrt(c);t[o]=e*i,t[o+1]=e*u,t[o+2]=e*a}s+=n,o+=r}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:l,normalize:p,normalizeView:d,scale:c,scaleView:function(t,e,r){c(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,r){const n=Math.min(t.count,e.count),i=t.typedBuffer,s=t.typedBufferStride,o=e.typedBuffer,u=e.typedBufferStride;let a=0,c=0;for(let t=0;t<n;t++)i[c]=o[a]>>r,i[c+1]=o[a+1]>>r,i[c+2]=o[a+2]>>r,a+=u,c+=s},transformMat3:a,transformMat3View:u,transformMat4:o,transformMat4View:s,translate:h},Symbol.toStringTag,{value:"Module"}))},50867(t,e,r){r.d(e,{a:()=>c,c:()=>s,l:()=>l,n:()=>u,t:()=>o});var n=r(40876),i=(r(44208),r(72727));function s(t,e,r){o(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function o(t,e,r,n=4,s=n){const o=(0,i.k)(t.length,n,4),u=(0,i.k)(e.length,s,4),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[3],d=r[4],p=r[5],y=r[6],m=r[7],g=r[8];let M=0,B=0;for(let r=0;r<a;r++){const r=e[M],i=e[M+1],o=e[M+2],u=e[M+3];t[B]=c*r+h*i+y*o,t[B+1]=l*r+d*i+m*o,t[B+2]=f*r+p*i+g*o,t[B+3]=u,M+=s,B+=n}}function u(t,e){const r=Math.min(t.count,e.count),n=t.typedBuffer,i=t.typedBufferStride,s=e.typedBuffer,o=e.typedBufferStride;for(let t=0;t<r;t++){const e=t*i,r=t*o,u=s[r],a=s[r+1],c=s[r+2],l=u*u+a*a+c*c;if(l>0){const t=1/Math.sqrt(l);n[e]=t*u,n[e+1]=t*a,n[e+2]=t*c}}}function a(t,e,r,n=4){const i=Math.min(t.length/n,e.count),s=e.typedBuffer,o=e.typedBufferStride;let u=0,a=0;for(let e=0;e<i;e++)t[a]=r*s[u],t[a+1]=r*s[u+1],t[a+2]=r*s[u+2],t[a+3]=r*s[u+3],u+=o,a+=n}function c(t,e,r,n){l(t.typedBuffer,e,r,n,t.typedBufferStride)}function l(t,e,r,i,s=4){const o=Math.min(t.length/s,e.count),u=e.typedBuffer,a=e.typedBufferStride;let c=0,l=0;const f=1/n.Tf;for(let e=0;e<o;e++)t[l]=i*(r*u[c])**f,t[l+1]=i*(r*u[c+1])**f,t[l+2]=i*(r*u[c+2])**f,t[l+3]=i*r*u[c+3],c+=a,l+=s}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:l,linearToSRGBView:c,normalize:u,scale:a,scaleView:function(t,e,r){a(t.typedBuffer,e,r,t.typedBufferStride)},transformMat3:o,transformMat3View:s,transformMat4:function(t,e,r,n=4,s=n){const o=(0,i.k)(t.length,n,4),u=(0,i.k)(e.length,s,4),a=Math.min(o,u),c=r[0],l=r[1],f=r[2],h=r[3],d=r[4],p=r[5],y=r[6],m=r[7],g=r[8],M=r[9],B=r[10],b=r[11],x=r[12],T=r[13],E=r[14],S=r[15];let _=0,v=0;for(let r=0;r<a;r++){const r=e[_],i=e[_+1],o=e[_+2],u=e[_+3];t[v]=c*r+d*i+g*o+x*u,t[v+1]=l*r+p*i+M*o+T*u,t[v+2]=f*r+y*i+B*o+E*u,t[v+3]=h*r+m*i+b*o+S*u,_+=s,v+=n}},transformMat4View:function(t,e,r){const n=t.typedBuffer,s=t.typedBufferStride,o=e.typedBuffer,u=e.typedBufferStride,a=(0,i.k)(n.length,s,4),c=(0,i.k)(o.length,u,4),l=Math.min(a,c),f=r[0],h=r[1],d=r[2],p=r[3],y=r[4],m=r[5],g=r[6],M=r[7],B=r[8],b=r[9],x=r[10],T=r[11],E=r[12],S=r[13],_=r[14],v=r[15];for(let t=0;t<l;t++){const e=t*s,r=t*u,i=o[r],a=o[r+1],c=o[r+2],l=o[r+3];n[e]=f*i+y*a+B*c+E*l,n[e+1]=h*i+m*a+b*c+S*l,n[e+2]=d*i+g*a+x*c+_*l,n[e+3]=p*i+M*a+T*c+v*l}}},Symbol.toStringTag,{value:"Module"}))},40876(t,e,r){r.d(e,{Eq:()=>d,G1:()=>y,TS:()=>s,Tf:()=>M,V6:()=>i,Vm:()=>p,ay:()=>a,c1:()=>m,c4:()=>o,j5:()=>c,lT:()=>f,oW:()=>l,xV:()=>b});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!n[t]||!!n[t.toLowerCase()]}function s(t){return n[t]??n[t.toLowerCase()]}function o(t){return[...s(t)]}function u(t,e,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?t+(e-t)*n:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function a(t,e,r,n=1){const i=(t%360+360)%360/360,s=r<=.5?r*(e+1):r+e-r*e,o=2*r-s;return[Math.round(255*u(o,s,i+1/3)),Math.round(255*u(o,s,i)),Math.round(255*u(o,s,i-1/3)),n]}function c(t){const e=t.length>5,r=e?8:4,n=(1<<r)-1,i=e?1:17,s=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const u=[0,0,0,1];let a;return s&&(a=o&n,o>>=r,u[3]=i*a/255),a=o&n,o>>=r,u[2]=i*a,a=o&n,o>>=r,u[1]=i*a,a=o&n,o>>=r,u[0]=i*a,u}function l(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),r=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),r=e[1];if("rgb"===r&&3===t.length||"rgba"===r&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===r&&3===t.length||"hsla"===r&&4===t.length)return a(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=m(t[0]),t[1]=m(t[1]),t[2]=m(t[2]),t[3]=4===t.length?y(t[3]):1,t}function d(t){let e=i(t)?s(t):null;return e??=f(t),e??=l(t),e}function p(t){const e=d(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return g(t,0,1)}function m(t){return Math.round(g(t,0,255))}function g(t,e,r){return t=Number(t),isNaN(t)?r:t<e?e:t>r?r:t}const M=2.2,B=1/M;function b(t){return t**B}},69540(t,e,r){r.d(e,{OU:()=>l,Pw:()=>f});var n=r(5482),i=r(69622),s=(r(44208),r(4718)),o=(r(53966),r(97768)),u=r(88620),a=r(64108);const c=Symbol("ClonableMixin"),l=t=>{var e;const r=t;let i=class extends r{constructor(){super(...arguments),this[e]=!0}static{e=c}clone(t){const e=(0,u.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const r=e.metadata,n=e.store,i={},a=new Map;for(const e in r){const o=r[e],u=n?.originOf(e),c=o.clonable;if(o.readOnly||!1===c||7!==u&&0!==u&&5!==u&&4!==u)continue;const l=this[e];let f=null;if("function"==typeof c)f=c(l,t);else if("reference"===c)f=l;else if(f=(0,s.TU)(l,t),null!=l&&null==f)continue;0===u?a.set(e,f):i[e]=f}const c=new(0,Object.getPrototypeOf(this).constructor)(i);if(a.size){const t=(0,u.oY)(c)?.store;if(t)for(const[e,r]of a)t.set(e,r,0)}return c}};return i=(0,n.Cg)([(0,a.$)("esri.core.Clonable")],i),i},f=l(i.A)},95488(t,e,r){r.d(e,{I:()=>i});var n=r(11406);class i extends n.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},9093(t,e,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(e,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(t,e,r,n,i,s,o,u,a,c,l,f,h,d,p,y){return[t,e,r,n,i,s,o,u,a,c,l,f,h,d,p,y]}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,r){function n(){return[0,0]}function i(t){return[t[0],t[1]]}function s(t,e){return[t,e]}function o(){return s(1,1)}function u(){return s(1,0)}function a(){return s(0,1)}r.d(e,{Un:()=>c,fA:()=>s,o8:()=>i,vt:()=>n});const c=o(),l=u(),f=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:l,UNIT_Y:f,ZEROS:[0,0],clone:i,create:n,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const r=Math.min(2,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:s,ones:o,unitX:u,unitY:a,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,r){function n(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function s(t,e,r){return[t,e,r]}function o(t,e,r){return[t,e,r]}function u(t,e=[0,0,0]){const r=Math.min(3,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e}function a(){return[0,0,0]}function c(){return s(1,1,1)}function l(){return s(1,0,0)}function f(){return s(0,1,0)}function h(){return s(0,0,1)}r.d(e,{CN:()=>o,Cb:()=>g,Cw:()=>y,JP:()=>m,S:()=>c,Ul:()=>a,Un:()=>p,ci:()=>u,fA:()=>s,o8:()=>i,uY:()=>d,vt:()=>n});const d=[0,0,0],p=c(),y=l(),m=f(),g=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:y,UNIT_Y:m,UNIT_Z:g,ZEROS:d,clone:i,create:n,freeze:o,fromArray:u,fromValues:s,ones:c,unitX:l,unitY:f,unitZ:h,zeros:a},Symbol.toStringTag,{value:"Module"}))},91829(t,e,r){function n(){return[0,0,0,0]}function i(t,e,r,n){return[t,e,r,n]}function s(t,e,r,n){return[t,e,r,n]}function o(){return i(1,1,1,1)}function u(){return i(1,0,0,0)}function a(){return i(0,1,0,0)}function c(){return i(0,0,1,0)}function l(){return i(0,0,0,1)}r.d(e,{CN:()=>s,Un:()=>h,fA:()=>i,uY:()=>f,vt:()=>n});const f=[0,0,0,0],h=o(),d=u(),p=a(),y=c(),m=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:d,UNIT_Y:p,UNIT_Z:y,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:n,freeze:s,fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:i,ones:o,unitW:l,unitX:u,unitY:a,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},34304(t,e,r){r.d(e,{DF:()=>a,FD:()=>i,Ov:()=>s,ct:()=>c});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,u=180/Math.PI;function a(t){return t*o}function c(t){return t*u}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(t,e){return Math.abs(t-e)<=n*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){n=t},toDegree:c,toRadian:a},Symbol.toStringTag,{value:"Module"}))},58083(t,e,r){r.d(e,{$0:()=>m,$h:()=>v,B8:()=>c,C:()=>s,D_:()=>u,N9:()=>M,O7:()=>_,Tl:()=>f,X_:()=>T,aI:()=>N,e$:()=>d,eL:()=>p,hM:()=>g,hZ:()=>o,hs:()=>h,kN:()=>y,l:()=>E,lw:()=>l,mg:()=>a,o1:()=>S,sC:()=>x,t2:()=>R,t5:()=>A,tZ:()=>O,ut:()=>Y,v3:()=>w});var n=r(51850),i=r(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(t,e,r,n,i,s,o,u,a,c,l,f,h,d,p,y,m){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t[4]=s,t[5]=o,t[6]=u,t[7]=a,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=d,t[13]=p,t[14]=y,t[15]=m,t}function u(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function a(t,e){if(t===e){const r=e[1],n=e[2],i=e[3],s=e[6],o=e[7],u=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=r,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=s,t[11]=e[14],t[12]=i,t[13]=o,t[14]=u}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function c(t,e){const r=e[0],n=e[1],i=e[2],s=e[3],o=e[4],u=e[5],a=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],p=e[12],y=e[13],m=e[14],g=e[15],M=r*u-n*o,B=r*a-i*o,b=r*c-s*o,x=n*a-i*u,T=n*c-s*u,E=i*c-s*a,S=l*y-f*p,_=l*m-h*p,v=l*g-d*p,w=f*m-h*y,A=f*g-d*y,C=h*g-d*m;let R=M*C-B*A+b*w+x*v-T*_+E*S;return R?(R=1/R,t[0]=(u*C-a*A+c*w)*R,t[1]=(i*A-n*C-s*w)*R,t[2]=(y*E-m*T+g*x)*R,t[3]=(h*T-f*E-d*x)*R,t[4]=(a*v-o*C-c*_)*R,t[5]=(r*C-i*v+s*_)*R,t[6]=(m*b-p*E-g*B)*R,t[7]=(l*E-h*b+d*B)*R,t[8]=(o*A-u*v+c*S)*R,t[9]=(n*v-r*A-s*S)*R,t[10]=(p*T-y*b+g*M)*R,t[11]=(f*b-l*T-d*M)*R,t[12]=(u*_-o*w-a*S)*R,t[13]=(r*w-n*_+i*S)*R,t[14]=(y*B-p*x-m*M)*R,t[15]=(l*x-f*B+h*M)*R,t):null}function l(t,e,r){const n=e[0],i=e[1],s=e[2],o=e[3],u=e[4],a=e[5],c=e[6],l=e[7],f=e[8],h=e[9],d=e[10],p=e[11],y=e[12],m=e[13],g=e[14],M=e[15];let B=r[0],b=r[1],x=r[2],T=r[3];return t[0]=B*n+b*u+x*f+T*y,t[1]=B*i+b*a+x*h+T*m,t[2]=B*s+b*c+x*d+T*g,t[3]=B*o+b*l+x*p+T*M,B=r[4],b=r[5],x=r[6],T=r[7],t[4]=B*n+b*u+x*f+T*y,t[5]=B*i+b*a+x*h+T*m,t[6]=B*s+b*c+x*d+T*g,t[7]=B*o+b*l+x*p+T*M,B=r[8],b=r[9],x=r[10],T=r[11],t[8]=B*n+b*u+x*f+T*y,t[9]=B*i+b*a+x*h+T*m,t[10]=B*s+b*c+x*d+T*g,t[11]=B*o+b*l+x*p+T*M,B=r[12],b=r[13],x=r[14],T=r[15],t[12]=B*n+b*u+x*f+T*y,t[13]=B*i+b*a+x*h+T*m,t[14]=B*s+b*c+x*d+T*g,t[15]=B*o+b*l+x*p+T*M,t}function f(t,e,r){const n=r[0],i=r[1],s=r[2];if(e===t)t[12]=e[0]*n+e[4]*i+e[8]*s+e[12],t[13]=e[1]*n+e[5]*i+e[9]*s+e[13],t[14]=e[2]*n+e[6]*i+e[10]*s+e[14],t[15]=e[3]*n+e[7]*i+e[11]*s+e[15];else{const r=e[0],o=e[1],u=e[2],a=e[3],c=e[4],l=e[5],f=e[6],h=e[7],d=e[8],p=e[9],y=e[10],m=e[11];t[0]=r,t[1]=o,t[2]=u,t[3]=a,t[4]=c,t[5]=l,t[6]=f,t[7]=h,t[8]=d,t[9]=p,t[10]=y,t[11]=m,t[12]=r*n+c*i+d*s+e[12],t[13]=o*n+l*i+p*s+e[13],t[14]=u*n+f*i+y*s+e[14],t[15]=a*n+h*i+m*s+e[15]}return t}function h(t,e,r){const n=r[0],i=r[1],s=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function d(t,e,r,n){let o=n[0],u=n[1],a=n[2],c=Math.sqrt(o*o+u*u+a*a);if(c<=(0,i.FD)())return void s(t,e);c=1/c,o*=c,u*=c,a*=c;const l=Math.sin(r),f=Math.cos(r),h=1-f,d=e[0],p=e[1],y=e[2],m=e[3],g=e[4],M=e[5],B=e[6],b=e[7],x=e[8],T=e[9],E=e[10],S=e[11],_=o*o*h+f,v=u*o*h+a*l,w=a*o*h-u*l,A=o*u*h-a*l,C=u*u*h+f,R=a*u*h+o*l,N=o*a*h+u*l,Y=u*a*h-o*l,O=a*a*h+f;t[0]=d*_+g*v+x*w,t[1]=p*_+M*v+T*w,t[2]=y*_+B*v+E*w,t[3]=m*_+b*v+S*w,t[4]=d*A+g*C+x*R,t[5]=p*A+M*C+T*R,t[6]=y*A+B*C+E*R,t[7]=m*A+b*C+S*R,t[8]=d*N+g*Y+x*O,t[9]=p*N+M*Y+T*O,t[10]=y*N+B*Y+E*O,t[11]=m*N+b*Y+S*O,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function p(t,e,r){const n=Math.sin(r),i=Math.cos(r),s=e[4],o=e[5],u=e[6],a=e[7],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=s*i+c*n,t[5]=o*i+l*n,t[6]=u*i+f*n,t[7]=a*i+h*n,t[8]=c*i-s*n,t[9]=l*i-o*n,t[10]=f*i-u*n,t[11]=h*i-a*n,t}function y(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function m(t,e,r){if(0===e)return u(t);let n=r[0],s=r[1],o=r[2],a=Math.sqrt(n*n+s*s+o*o);if(a<=(0,i.FD)())return null;a=1/a,n*=a,s*=a,o*=a;const c=Math.sin(e),l=Math.cos(e),f=1-l;return t[0]=n*n*f+l,t[1]=s*n*f+o*c,t[2]=o*n*f-s*c,t[3]=0,t[4]=n*s*f-o*c,t[5]=s*s*f+l,t[6]=o*s*f+n*c,t[7]=0,t[8]=n*o*f+s*c,t[9]=s*o*f-n*c,t[10]=o*o*f+l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=n,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e,r){const n=e[0],i=e[1],s=e[2],o=e[3],u=n+n,a=i+i,c=s+s,l=n*u,f=n*a,h=n*c,d=i*a,p=i*c,y=s*c,m=o*u,g=o*a,M=o*c;return t[0]=1-(d+y),t[1]=f+M,t[2]=h-g,t[3]=0,t[4]=f-M,t[5]=1-(l+y),t[6]=p+m,t[7]=0,t[8]=h+g,t[9]=p-m,t[10]=1-(l+d),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const b=(0,n.vt)();function x(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function T(t,e){const r=e[0],n=e[1],i=e[2],s=e[4],o=e[5],u=e[6],a=e[8],c=e[9],l=e[10];return t[0]=Math.sqrt(r*r+n*n+i*i),t[1]=Math.sqrt(s*s+o*o+u*u),t[2]=Math.sqrt(a*a+c*c+l*l),t}function E(t,e){const r=e[0]+e[5]+e[10];let n=0;return r>0?(n=2*Math.sqrt(r+1),t[3]=.25*n,t[0]=(e[6]-e[9])/n,t[1]=(e[8]-e[2])/n,t[2]=(e[1]-e[4])/n):e[0]>e[5]&&e[0]>e[10]?(n=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/n,t[0]=.25*n,t[1]=(e[1]+e[4])/n,t[2]=(e[8]+e[2])/n):e[5]>e[10]?(n=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/n,t[0]=(e[1]+e[4])/n,t[1]=.25*n,t[2]=(e[6]+e[9])/n):(n=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/n,t[0]=(e[8]+e[2])/n,t[1]=(e[6]+e[9])/n,t[2]=.25*n),t}function S(t,e,r,n){const i=e[0],s=e[1],o=e[2],u=e[3],a=i+i,c=s+s,l=o+o,f=i*a,h=i*c,d=i*l,p=s*c,y=s*l,m=o*l,g=u*a,M=u*c,B=u*l,b=n[0],x=n[1],T=n[2];return t[0]=(1-(p+m))*b,t[1]=(h+B)*b,t[2]=(d-M)*b,t[3]=0,t[4]=(h-B)*x,t[5]=(1-(f+m))*x,t[6]=(y+g)*x,t[7]=0,t[8]=(d+M)*T,t[9]=(y-g)*T,t[10]=(1-(f+p))*T,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function _(t,e,r,n,i){const s=e[0],o=e[1],u=e[2],a=e[3],c=s+s,l=o+o,f=u+u,h=s*c,d=s*l,p=s*f,y=o*l,m=o*f,g=u*f,M=a*c,B=a*l,b=a*f,x=n[0],T=n[1],E=n[2],S=i[0],_=i[1],v=i[2],w=(1-(y+g))*x,A=(d+b)*x,C=(p-B)*x,R=(d-b)*T,N=(1-(h+g))*T,Y=(m+M)*T,O=(p+B)*E,X=(m-M)*E,P=(1-(h+y))*E;return t[0]=w,t[1]=A,t[2]=C,t[3]=0,t[4]=R,t[5]=N,t[6]=Y,t[7]=0,t[8]=O,t[9]=X,t[10]=P,t[11]=0,t[12]=r[0]+S-(w*S+R*_+O*v),t[13]=r[1]+_-(A*S+N*_+X*v),t[14]=r[2]+v-(C*S+Y*_+P*v),t[15]=1,t}function v(t,e,r,n,i,s,o){const u=1/(r-e),a=1/(i-n),c=1/(s-o);return t[0]=2*s*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*s*a,t[6]=0,t[7]=0,t[8]=(r+e)*u,t[9]=(i+n)*a,t[10]=(o+s)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*s*2*c,t[15]=0,t}function w(t,e,r,n,i,s,o){const u=1/(e-r),a=1/(n-i),c=1/(s-o);return t[0]=-2*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*u,t[13]=(i+n)*a,t[14]=(o+s)*c,t[15]=1,t}function A(t,e,r,n){const s=e[0],o=e[1],a=e[2];let c=s-r[0],l=o-r[1],f=a-r[2];const h=(0,i.FD)();if(Math.abs(c)<h&&Math.abs(l)<h&&Math.abs(f)<h)return void u(t);let d=1/Math.sqrt(c*c+l*l+f*f);c*=d,l*=d,f*=d;const p=n[0],y=n[1],m=n[2];let g=y*f-m*l,M=m*c-p*f,B=p*l-y*c;d=Math.sqrt(g*g+M*M+B*B),d?(d=1/d,g*=d,M*=d,B*=d):(g=0,M=0,B=0);let b=l*B-f*M,x=f*g-c*B,T=c*M-l*g;d=Math.sqrt(b*b+x*x+T*T),d?(d=1/d,b*=d,x*=d,T*=d):(b=0,x=0,T=0),t[0]=g,t[1]=b,t[2]=c,t[3]=0,t[4]=M,t[5]=x,t[6]=l,t[7]=0,t[8]=B,t[9]=T,t[10]=f,t[11]=0,t[12]=-(g*s+M*o+B*a),t[13]=-(b*s+x*o+T*a),t[14]=-(c*s+l*o+f*a),t[15]=1}function C(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t[4]=e[4]-r[4],t[5]=e[5]-r[5],t[6]=e[6]-r[6],t[7]=e[7]-r[7],t[8]=e[8]-r[8],t[9]=e[9]-r[9],t[10]=e[10]-r[10],t[11]=e[11]-r[11],t[12]=e[12]-r[12],t[13]=e[13]-r[13],t[14]=e[14]-r[14],t[15]=e[15]-r[15],t}function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function N(t,e){if(t===e)return!0;const r=t[0],n=t[1],s=t[2],o=t[3],u=t[4],a=t[5],c=t[6],l=t[7],f=t[8],h=t[9],d=t[10],p=t[11],y=t[12],m=t[13],g=t[14],M=t[15],B=e[0],b=e[1],x=e[2],T=e[3],E=e[4],S=e[5],_=e[6],v=e[7],w=e[8],A=e[9],C=e[10],R=e[11],N=e[12],Y=e[13],O=e[14],X=e[15],P=(0,i.FD)();return Math.abs(r-B)<=P*Math.max(1,Math.abs(r),Math.abs(B))&&Math.abs(n-b)<=P*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(s-x)<=P*Math.max(1,Math.abs(s),Math.abs(x))&&Math.abs(o-T)<=P*Math.max(1,Math.abs(o),Math.abs(T))&&Math.abs(u-E)<=P*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(a-S)<=P*Math.max(1,Math.abs(a),Math.abs(S))&&Math.abs(c-_)<=P*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(l-v)<=P*Math.max(1,Math.abs(l),Math.abs(v))&&Math.abs(f-w)<=P*Math.max(1,Math.abs(f),Math.abs(w))&&Math.abs(h-A)<=P*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(d-C)<=P*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(p-R)<=P*Math.max(1,Math.abs(p),Math.abs(R))&&Math.abs(y-N)<=P*Math.max(1,Math.abs(y),Math.abs(N))&&Math.abs(m-Y)<=P*Math.max(1,Math.abs(m),Math.abs(Y))&&Math.abs(g-O)<=P*Math.max(1,Math.abs(g),Math.abs(O))&&Math.abs(M-X)<=P*Math.max(1,Math.abs(M),Math.abs(X))}function Y(t){const e=(0,i.FD)(),r=t[0],n=t[1],s=t[2],o=t[4],u=t[5],a=t[6],c=t[8],l=t[9],f=t[10];return Math.abs(1-(r*r+o*o+c*c))<=e&&Math.abs(1-(n*n+u*u+l*l))<=e&&Math.abs(1-(s*s+a*a+f*f))<=e}function O(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const X=l,P=C;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t[4]=e[4]+r[4],t[5]=e[5]+r[5],t[6]=e[6]+r[6],t[7]=e[7]+r[7],t[8]=e[8]+r[8],t[9]=e[9]+r[9],t[10]=e[10]+r[10],t[11]=e[11]+r[11],t[12]=e[12]+r[12],t[13]=e[13]+r[13],t[14]=e[14]+r[14],t[15]=e[15]+r[15],t},adjoint:function(t,e){const r=e[0],n=e[1],i=e[2],s=e[3],o=e[4],u=e[5],a=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],p=e[12],y=e[13],m=e[14],g=e[15];return t[0]=u*(h*g-d*m)-f*(a*g-c*m)+y*(a*d-c*h),t[1]=-(n*(h*g-d*m)-f*(i*g-s*m)+y*(i*d-s*h)),t[2]=n*(a*g-c*m)-u*(i*g-s*m)+y*(i*c-s*a),t[3]=-(n*(a*d-c*h)-u*(i*d-s*h)+f*(i*c-s*a)),t[4]=-(o*(h*g-d*m)-l*(a*g-c*m)+p*(a*d-c*h)),t[5]=r*(h*g-d*m)-l*(i*g-s*m)+p*(i*d-s*h),t[6]=-(r*(a*g-c*m)-o*(i*g-s*m)+p*(i*c-s*a)),t[7]=r*(a*d-c*h)-o*(i*d-s*h)+l*(i*c-s*a),t[8]=o*(f*g-d*y)-l*(u*g-c*y)+p*(u*d-c*f),t[9]=-(r*(f*g-d*y)-l*(n*g-s*y)+p*(n*d-s*f)),t[10]=r*(u*g-c*y)-o*(n*g-s*y)+p*(n*c-s*u),t[11]=-(r*(u*d-c*f)-o*(n*d-s*f)+l*(n*c-s*u)),t[12]=-(o*(f*m-h*y)-l*(u*m-a*y)+p*(u*h-a*f)),t[13]=r*(f*m-h*y)-l*(n*m-i*y)+p*(n*h-i*f),t[14]=-(r*(u*m-a*y)-o*(n*m-i*y)+p*(n*a-i*u)),t[15]=r*(u*h-a*f)-o*(n*h-i*f)+l*(n*a-i*u),t},copy:s,determinant:function(t){const e=t[0],r=t[1],n=t[2],i=t[3],s=t[4],o=t[5],u=t[6],a=t[7],c=t[8],l=t[9],f=t[10],h=t[11],d=t[12],p=t[13],y=t[14],m=t[15];return(e*o-r*s)*(f*m-h*y)-(e*u-n*s)*(l*m-h*p)+(e*a-i*s)*(l*y-f*p)+(r*u-n*o)*(c*m-h*d)-(r*a-i*o)*(c*y-f*d)+(n*a-i*u)*(c*p-l*d)},equals:N,exactEquals:R,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const r=e[0],n=e[1],i=e[2],s=e[3],o=r+r,u=n+n,a=i+i,c=r*o,l=n*o,f=n*u,h=i*o,d=i*u,p=i*a,y=s*o,m=s*u,g=s*a;return t[0]=1-f-p,t[1]=l+g,t[2]=h-m,t[3]=0,t[4]=l-g,t[5]=1-c-p,t[6]=d+y,t[7]=0,t[8]=h+m,t[9]=d-y,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const r=b,n=-e[0],i=-e[1],s=-e[2],o=e[3],u=e[4],a=e[5],c=e[6],l=e[7],f=n*n+i*i+s*s+o*o;return f>0?(r[0]=2*(u*o+l*n+a*s-c*i)/f,r[1]=2*(a*o+l*i+c*n-u*s)/f,r[2]=2*(c*o+l*s+u*i-a*n)/f):(r[0]=2*(u*o+l*n+a*s-c*i),r[1]=2*(a*o+l*i+c*n-u*s),r[2]=2*(c*o+l*s+u*i-a*n)),B(t,e,r),t},fromRotation:m,fromRotationTranslation:B,fromRotationTranslationScale:S,fromRotationTranslationScaleOrigin:_,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:y,fromXRotation:g,fromYRotation:function(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:M,frustum:v,getRotation:E,getScale:T,getTranslation:x,hasIdentityRotation:O,identity:u,invert:c,invertOrIdentity:function(t,e){return c(t,e)||u(t),t},isOrthoNormal:Y,lookAt:A,mul:X,multiply:l,multiplyScalar:function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*r,t[9]=e[9]*r,t[10]=e[10]*r,t[11]=e[11]*r,t[12]=e[12]*r,t[13]=e[13]*r,t[14]=e[14]*r,t[15]=e[15]*r,t},multiplyScalarAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t[4]=e[4]+r[4]*n,t[5]=e[5]+r[5]*n,t[6]=e[6]+r[6]*n,t[7]=e[7]+r[7]*n,t[8]=e[8]+r[8]*n,t[9]=e[9]+r[9]*n,t[10]=e[10]+r[10]*n,t[11]=e[11]+r[11]*n,t[12]=e[12]+r[12]*n,t[13]=e[13]+r[13]*n,t[14]=e[14]+r[14]*n,t[15]=e[15]+r[15]*n,t},ortho:w,perspective:function(t,e,r,n,i){const s=1/Math.tan(e/2);let o;return t[0]=s/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(o=1/(n-i),t[10]=(i+n)*o,t[14]=2*i*n*o):(t[10]=-1,t[14]=-2*n),t},perspectiveFromFieldOfView:function(t,e,r,n){const i=Math.tan(e.upDegrees*Math.PI/180),s=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),u=Math.tan(e.rightDegrees*Math.PI/180),a=2/(o+u),c=2/(i+s);return t[0]=a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(o-u)*a*.5,t[9]=(i-s)*c*.5,t[10]=n/(r-n),t[11]=-1,t[12]=0,t[13]=0,t[14]=n*r/(r-n),t[15]=0,t},rotate:d,rotateX:p,rotateY:function(t,e,r){const n=Math.sin(r),i=Math.cos(r),s=e[0],o=e[1],u=e[2],a=e[3],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*i-c*n,t[1]=o*i-l*n,t[2]=u*i-f*n,t[3]=a*i-h*n,t[8]=s*n+c*i,t[9]=o*n+l*i,t[10]=u*n+f*i,t[11]=a*n+h*i,t},rotateZ:function(t,e,r){const n=Math.sin(r),i=Math.cos(r),s=e[0],o=e[1],u=e[2],a=e[3],c=e[4],l=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*i+c*n,t[1]=o*i+l*n,t[2]=u*i+f*n,t[3]=a*i+h*n,t[4]=c*i-s*n,t[5]=l*i-o*n,t[6]=f*i-u*n,t[7]=h*i-a*n,t},scale:h,set:o,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:P,subtract:C,targetTo:function(t,e,r,n){const i=e[0],s=e[1],o=e[2],u=n[0],a=n[1],c=n[2];let l=i-r[0],f=s-r[1],h=o-r[2],d=l*l+f*f+h*h;d>0&&(d=1/Math.sqrt(d),l*=d,f*=d,h*=d);let p=a*h-c*f,y=c*l-u*h,m=u*f-a*l;return d=p*p+y*y+m*m,d>0&&(d=1/Math.sqrt(d),p*=d,y*=d,m*=d),t[0]=p,t[1]=y,t[2]=m,t[3]=0,t[4]=f*m-h*y,t[5]=h*p-l*m,t[6]=l*y-f*p,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=i,t[13]=s,t[14]=o,t[15]=1,t},translate:f,transpose:a},Symbol.toStringTag,{value:"Module"}))},35522(t,e,r){r.d(e,{$A:()=>_,Bw:()=>s,C:()=>o,Cc:()=>v,DI:()=>T,Il:()=>L,Io:()=>M,Ln:()=>g,Om:()=>S,Qr:()=>f,Re:()=>c,S8:()=>E,T9:()=>y,WQ:()=>a,Z0:()=>w,_S:()=>d,aI:()=>P,ei:()=>A,fw:()=>R,g7:()=>N,gL:()=>C,hG:()=>B,hZ:()=>u,hs:()=>m,jb:()=>j,jk:()=>p,lo:()=>F,lw:()=>l,m3:()=>b,oW:()=>k,t2:()=>X,tn:()=>h,uE:()=>Z,xg:()=>I,ze:()=>x});var n=r(51850),i=r(34304);function s(t){const e=t[0],r=t[1],n=t[2];return Math.sqrt(e*e+r*r+n*n)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function u(t,e,r,n){return t[0]=e,t[1]=r,t[2]=n,t}function a(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t}function c(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t}function l(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t}function f(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t}function y(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t}function m(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t}function g(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t}function M(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(r*r+n*n+i*i)}function B(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return r*r+n*n+i*i}function b(t){const e=t[0],r=t[1],n=t[2];return e*e+r*r+n*n}function x(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function T(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function E(t,e){const r=e[0],n=e[1],i=e[2];let s=r*r+n*n+i*i;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function _(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],u=r[1],a=r[2];return t[0]=i*a-s*u,t[1]=s*o-n*a,t[2]=n*u-i*o,t}function v(t,e,r,n){const i=e[0],s=e[1],o=e[2];return t[0]=i+n*(r[0]-i),t[1]=s+n*(r[1]-s),t[2]=o+n*(r[2]-o),t}function w(t,e,r){const n=e[0],i=e[1],s=e[2];return t[0]=r[0]*n+r[4]*i+r[8]*s+r[12],t[1]=r[1]*n+r[5]*i+r[9]*s+r[13],t[2]=r[2]*n+r[6]*i+r[10]*s+r[14],t}function A(t,e,r){const n=e[0],i=e[1],s=e[2];return t[0]=n*r[0]+i*r[3]+s*r[6],t[1]=n*r[1]+i*r[4]+s*r[7],t[2]=n*r[2]+i*r[5]+s*r[8],t}function C(t,e,r){return R(t,e,r[0],r[1],r[2],r[3])}function R(t,e,r,n,i,s){const o=e[0],u=e[1],a=e[2],c=n*a-i*u,l=i*o-r*a,f=r*u-n*o,h=n*f-i*l,d=i*c-r*f,p=r*l-n*c,y=2*s;return t[0]=o+c*y+2*h,t[1]=u+l*y+2*d,t[2]=a+f*y+2*p,t}function N(t,e){E(Y,t),E(O,e);const r=S(Y,O);return r>1?0:r<-1?Math.PI:Math.acos(r)}const Y=(0,n.vt)(),O=(0,n.vt)();function X(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function P(t,e){if(t===e)return!0;const r=t[0],n=t[1],s=t[2],o=e[0],u=e[1],a=e[2],c=(0,i.FD)();return Math.abs(r-o)<=c*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(n-u)<=c*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(s-a)<=c*Math.max(1,Math.abs(s),Math.abs(a))}function k(t,e,r){const n=r[0]-e[0],i=r[1]-e[1],s=r[2]-e[2];let o=n*n+i*i+s*s;return o>0?(o=1/Math.sqrt(o),t[0]=n*o,t[1]=i*o,t[2]=s*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const j=c,q=l,z=f,I=M,F=B,L=s,Z=b;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:a,angle:N,bezier:function(t,e,r,n,i,s){const o=1-s,u=o*o,a=s*s,c=u*o,l=3*s*u,f=3*a*o,h=a*s;return t[0]=e[0]*c+r[0]*l+n[0]*f+i[0]*h,t[1]=e[1]*c+r[1]*l+n[1]*f+i[1]*h,t[2]=e[2]*c+r[2]*l+n[2]*f+i[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,r=1){return t[0]=Math.min(Math.max(t[0],e),r),t[1]=Math.min(Math.max(t[1],e),r),t[2]=Math.min(Math.max(t[2],e),r),t},copy:o,cross:_,crossAndNormalize:function(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],u=r[1],a=r[2],c=i*a-s*u,l=s*o-n*a,f=n*u-i*o,h=Math.sqrt(c*c+l*l+f*f);return t[0]=c/h,t[1]=l/h,t[2]=f/h,t},direction:k,dist:I,distance:M,div:z,divide:f,dot:S,equals:P,exactEquals:X,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,r,n,i,s){const o=s*s,u=o*(2*s-3)+1,a=o*(s-2)+s,c=o*(s-1),l=o*(3-2*s);return t[0]=e[0]*u+r[0]*a+n[0]*c+i[0]*l,t[1]=e[1]*u+r[1]*a+n[1]*c+i[1]*l,t[2]=e[2]*u+r[2]*a+n[2]*c+i[2]*l,t},inverse:T,len:L,length:s,lerp:v,max:y,min:p,mul:q,multiply:l,negate:x,normalize:E,random:function(t,e=1){const r=i.Ov,n=2*r()*Math.PI,s=2*r()-1,o=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=s*e,t},rotateX:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[0],s[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),s[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateY:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),s[1]=i[1],s[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateZ:function(t,e,r,n){const i=[],s=[];return i[0]=e[0]-r[0],i[1]=e[1]-r[1],i[2]=e[2]-r[2],s[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),s[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),s[2]=i[2],t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:m,scaleAndAdd:g,set:u,sign:d,sqrDist:F,sqrLen:Z,squaredDistance:B,squaredLength:b,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:j,subtract:c,transformMat3:A,transformMat4:w,transformQuat:C,transformQuatValues:R},Symbol.toStringTag,{value:"Module"}))},78955(t,e,r){r.d(e,{Bw:()=>m,C:()=>i,Cc:()=>b,LI:()=>h,Om:()=>B,S8:()=>M,T9:()=>f,WQ:()=>o,Z0:()=>x,aI:()=>E,hG:()=>y,hZ:()=>s,hs:()=>d,jk:()=>l,m3:()=>g,t2:()=>T});var n=r(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function o(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function u(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function a(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function c(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function l(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function f(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function h(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function d(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function p(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return Math.sqrt(r*r+n*n+i*i+s*s)}function y(t,e){const r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return r*r+n*n+i*i+s*s}function m(t){const e=t[0],r=t[1],n=t[2],i=t[3];return Math.sqrt(e*e+r*r+n*n+i*i)}function g(t){const e=t[0],r=t[1],n=t[2],i=t[3];return e*e+r*r+n*n+i*i}function M(t,e){const r=e[0],n=e[1],i=e[2],s=e[3];let o=r*r+n*n+i*i+s*s;return o>0&&(o=1/Math.sqrt(o),t[0]=r*o,t[1]=n*o,t[2]=i*o,t[3]=s*o),t}function B(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function b(t,e,r,n){const i=e[0],s=e[1],o=e[2],u=e[3];return t[0]=i+n*(r[0]-i),t[1]=s+n*(r[1]-s),t[2]=o+n*(r[2]-o),t[3]=u+n*(r[3]-u),t}function x(t,e,r){const n=e[0],i=e[1],s=e[2],o=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*s+r[12]*o,t[1]=r[1]*n+r[5]*i+r[9]*s+r[13]*o,t[2]=r[2]*n+r[6]*i+r[10]*s+r[14]*o,t[3]=r[3]*n+r[7]*i+r[11]*s+r[15]*o,t}function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function E(t,e){const r=t[0],i=t[1],s=t[2],o=t[3],u=e[0],a=e[1],c=e[2],l=e[3],f=(0,n.FD)();return Math.abs(r-u)<=f*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(i-a)<=f*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(s-c)<=f*Math.max(1,Math.abs(s),Math.abs(c))&&Math.abs(o-l)<=f*Math.max(1,Math.abs(o),Math.abs(l))}const S=u,_=a,v=c,w=p,A=y,C=m,R=g;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:w,distance:p,div:v,divide:c,dot:B,equals:E,exactEquals:T,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:C,length:m,lerp:b,max:f,min:l,mul:_,multiply:a,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:M,random:function(t,e=1){const r=n.Ov;let i,s,o,u,a,c;do{i=2*r()-1,s=2*r()-1,a=i*i+s*s}while(a>=1);do{o=2*r()-1,u=2*r()-1,c=o*o+u*u}while(c>=1);const l=Math.sqrt((1-a)/c);return t[0]=e*i,t[1]=e*s,t[2]=e*o*l,t[3]=e*u*l,t},round:h,scale:d,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:s,sqrDist:A,sqrLen:R,squaredDistance:y,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:S,subtract:u,transformMat4:x,transformQuat:function(t,e,r){const n=e[0],i=e[1],s=e[2],o=r[0],u=r[1],a=r[2],c=r[3],l=c*n+u*s-a*i,f=c*i+a*n-o*s,h=c*s+o*i-u*n,d=-o*n-u*i-a*s;return t[0]=l*c+d*-o+f*-a-h*-u,t[1]=f*c+d*-u+h*-o-l*-a,t[2]=h*c+d*-a+l*-u-f*-o,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},75503(t,e,r){r.d(e,{wq:()=>u});var n=r(4576),i=r(21818),s=(r(44208),r(15142)),o=r(11006);class u{constructor(t=9,e){this._compareMinX=h,this._compareMinY=d,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),x.prune(),T.prune(),E.prune(),S.prune()}all(t){a(this._data,t)}search(t,e){let r=this._data;const n=this._toBBox;if(B(t,r))for(x.clear();r;){for(let i=0,s=r.children.length;i<s;i++){const s=r.children[i],o=r.leaf?n(s):s;B(t,o)&&(r.leaf?e(s):M(t,o)?a(s,e):x.push(s))}r=x.pop()}}collides(t){let e=this._data;const r=this._toBBox;if(!B(t,e))return!1;for(x.clear();e;){for(let n=0,i=e.children.length;n<i;n++){const i=e.children[n],s=e.leaf?r(i):i;if(B(t,s)){if(e.leaf||M(t,s))return!0;x.push(i)}}e=x.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,r=t.length;e<r;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new w([]),this}remove(t){if(!t)return this;let e,r=this._data,s=null,o=0,u=!1;const a=this._toBBox(t);for(E.clear(),S.clear();r||E.length>0;){if(r||(r=E.pop(),s=E.data[E.length-1],o=S.pop()??0,u=!0),r.leaf&&(e=(0,n.qh)(r.children,(0,i.z)(t),r.children.length,r.indexHint),-1!==e))return r.children.splice(e,1),E.push(r),this._condense(E),this;u||r.leaf||!M(r,a)?s?(o++,r=s.children[o],u=!1):r=null:(E.push(r),S.push(o),o=0,s=r,r=r.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,r,n){const i=r-e+1;let s=this._maxEntries;if(i<=s){const n=new w(t.slice(e,r+1));return c(n,this._toBBox),n}n||(n=Math.ceil(Math.log(i)/Math.log(s)),s=Math.ceil(i/s**(n-1)));const o=new A([]);o.height=n;const u=Math.ceil(i/s),a=u*Math.ceil(Math.sqrt(s));b(t,e,r,a,this._compareMinX);for(let i=e;i<=r;i+=a){const e=Math.min(i+a-1,r);b(t,i,e,u,this._compareMinY);for(let r=i;r<=e;r+=u){const i=Math.min(r+u-1,e);o.children.push(this._build(t,r,i,n-1))}}return c(o,this._toBBox),o}_insert(t,e,r){const n=this._toBBox,i=r?t:n(t);E.clear();const s=function(t,e,r,n){for(;n.push(e),!0!==e.leaf&&n.length-1!==r;){let r,n=1/0,i=1/0;for(let s=0,o=e.children.length;s<o;s++){const o=e.children[s],u=p(o),a=m(t,o)-u;a<i?(i=a,n=u<n?u:n,r=o):a===i&&u<n&&(n=u,r=o)}e=r||e.children[0]}return e}(i,this._data,e,E);for(s.children.push(t),f(s,i);e>=0&&E.data[e].children.length>this._maxEntries;)this._split(E,e),e--;!function(t,e,r){for(let n=r;n>=0;n--)f(e.data[n],t)}(i,E,e)}_split(t,e){const r=t.data[e],n=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,n);const s=this._chooseSplitIndex(r,i,n);if(!s)return;const o=r.children.splice(s,r.children.length-s),u=r.leaf?new w(o):new A(o);u.height=r.height,c(r,this._toBBox),c(u,this._toBBox),e?t.data[e-1].children.push(u):this._splitRoot(r,u)}_splitRoot(t,e){this._data=new A([t,e]),this._data.height=t.height+1,c(this._data,this._toBBox)}_chooseSplitIndex(t,e,r){let n,i,s;n=i=1/0;for(let o=e;o<=r-e;o++){const e=l(t,0,o,this._toBBox),u=l(t,o,r,this._toBBox),a=g(e,u),c=p(e)+p(u);a<n?(n=a,s=o,i=c<i?c:i):a===n&&c<i&&(i=c,s=o)}return s}_chooseSplitAxis(t,e,r){const n=t.leaf?this._compareMinX:h,i=t.leaf?this._compareMinY:d;this._allDistMargin(t,e,r,n)<this._allDistMargin(t,e,r,i)&&t.children.sort(n)}_allDistMargin(t,e,r,n){t.children.sort(n);const i=this._toBBox,s=l(t,0,e,i),o=l(t,r-e,r,i);let u=y(s)+y(o);for(let n=e;n<r-e;n++){const e=t.children[n];f(s,t.leaf?i(e):e),u+=y(s)}for(let n=r-e-1;n>=e;n--){const e=t.children[n];f(o,t.leaf?i(e):e),u+=y(o)}return u}_condense(t){for(let e=t.length-1;e>=0;e--){const r=t.data[e];if(0===r.children.length)if(e>0){const i=t.data[e-1],s=i.children;s.splice((0,n.qh)(s,r,s.length,i.indexHint),1)}else this.clear();else c(r,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function a(t,e){let r=t;for(T.clear();r;){if(!0===r.leaf)for(const t of r.children)e((0,i.z)(t));else T.pushArray(r.children);r=T.pop()??null}}function c(t,e){l(t,0,t.children.length,e,t)}function l(t,e,r,n,i){i||(i=new w([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let s,o=e;o<r;o++)s=t.children[o],f(i,t.leaf?n(s):s);return i}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function d(t,e){return t.minY-e.minY}function p(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function y(t){return t.maxX-t.minX+(t.maxY-t.minY)}function m(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function g(t,e){const r=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),s=Math.min(t.maxY,e.maxY);return Math.max(0,i-r)*Math.max(0,s-n)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function B(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function b(t,e,r,n,i){const s=[e,r];for(;s.length;){const e=s.pop(),r=s.pop();if(e-r<=n)continue;const u=r+Math.ceil((e-r)/n/2)*n;(0,o.q)(t,u,r,e,i),s.push(r,u,u,e)}}const x=new s.A,T=new s.A,E=new s.A,S=new s.A({deallocator:void 0});class _{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class v extends _{constructor(){super(...arguments),this.height=1,this.indexHint=new n.vW}}class w extends v{constructor(t){super(),this.children=t,this.leaf=!0}}class A extends v{constructor(t){super(),this.children=t,this.leaf=!1}}},91075(t,e,r){r.d(e,{A:()=>a});var n=r(5482),i=r(25482),s=r(91429),o=r(16930),u=r(36005);let a=class extends i.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof o.A)return t;if(null!=t){const r=new o.A;return r.read(t,e),r}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,n.Cg)([(0,s.MZ)()],a.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],a.prototype,"extent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],a.prototype,"hasM",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],a.prototype,"hasZ",void 0),(0,n.Cg)([(0,s.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],a.prototype,"spatialReference",void 0),(0,n.Cg)([(0,u.w)("spatialReference")],a.prototype,"readSpatialReference",null),a=(0,n.Cg)([(0,s.$K)("esri.geometry.Geometry")],a)},86738(t,e,r){r.d(e,{A:()=>B});var n=r(5482),i=r(69622),s=r(53966),o=r(91429),u=r(56507),a=r(91075),c=r(16930),l=r(21325),f=r(28735);function h({x:t,y:e,spatialReference:r},n=[0,0]){if(r){if((0,l.K8)(r))return(0,f.tD)(t,e,n);if((0,l.EA)(r))return n[0]=t,n[1]=e,n}return null}const d=[0,0];var p,y=r(43937),m=r(36005);const g=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let B=p=class extends a.A{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const r=t._get("spatialReference");e._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,r,n,i){let o;if(Array.isArray(t))o=t,i=e,t=o[0],e=o[1],r=o[2],n=o[3];else if(t&&"object"==typeof t){if(o=t,t=null!=o.x?o.x:o.longitude,e=null!=o.y?o.y:o.latitude,r=o.z,n=o.m,(i=o.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new c.A(i)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)s.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)s.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&i?.isWebMercator){const r=(0,f.je)(o.longitude,o.latitude,g);t=r[0],e=r[1]}}else M(r)?(i=r,r=null):M(n)&&(i=n,n=null);const u={x:t,y:e};return null==u.x&&null!=u.y?s.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==u.y&&null!=u.x&&s.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(u.spatialReference=i),null!=r&&(u.z=r),null!=n&&(u.m=n),u}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){return h(this,d)?.[1]??null}set latitude(t){const{spatialReference:e,x:r}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,f.je)(r,t,g)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return h(this,d)?.[0]??null}set longitude(t){const{y:e,spatialReference:r}=this;null!=t&&r&&(r.isWebMercator?this._set("x",(0,f.je)(t,e,g)[0]):r.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,r){e[r]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new p;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return p.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:r,z:n,m:i,spatialReference:s}=this,{z:o,m:u}=t;let{x:a,y:c,spatialReference:l}=t;if(!s.equals(l))if(s.isWebMercator&&l.isWGS84)[a,c]=(0,f.je)(a,c),l=s;else{if(!s.isWGS84||!l.isWebMercator)return!1;[a,c]=(0,f.tD)(a,c),l=s}return e===a&&r===c&&n===o&&i===u&&s.wkid===l.wkid}offset(t,e,r){return this.x+=t,this.y+=e,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const t=(0,l.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[r,n]=t.valid,i=2*n;let s;return e>n?(s=Math.ceil(Math.abs(e-n)/i),e-=s*i):e<r&&(s=Math.ceil(Math.abs(e-r)/i),e+=s*i),this._set("x",e),this}distance(t){return function(t,e){const r=t.x-e.x,n=t.y-e.y,i=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],B.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],B.prototype,"hasM",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],B.prototype,"hasZ",null),(0,n.Cg)([(0,o.MZ)({type:Number})],B.prototype,"latitude",null),(0,n.Cg)([(0,o.MZ)({type:Number})],B.prototype,"longitude",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(t=>isNaN(t)?t:(0,u.GB)(t))],B.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],B.prototype,"writeX",null),(0,n.Cg)([(0,m.w)("x")],B.prototype,"readX",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],B.prototype,"y",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],B.prototype,"z",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],B.prototype,"m",void 0),B=p=(0,n.Cg)([(0,o.$K)("esri.geometry.Point")],B),B.prototype.toJSON.isDefaultToJSON=!0},21276(t,e,r){r.d(e,{H:()=>s,f:()=>i});var n=r(49186);function i(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function s(t){t.forEach(i)}},48353(t,e,r){r.d(e,{l:()=>c});var n=r(34727),i=r(58083),s=r(51850);function o(t,e,r){const n=Math.sin(t),i=Math.cos(t),s=Math.sin(e),o=Math.cos(e),u=r;return u[0]=-n,u[4]=-s*i,u[8]=o*i,u[12]=0,u[1]=i,u[5]=-s*n,u[9]=o*n,u[13]=0,u[2]=0,u[6]=o,u[10]=s,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}var u=r(49208),a=r(21325);function c(t,e,r,n){const s=(0,u.Tp)(t,n);if(null==s)return!1;const c=s.source.spatialReferenceId,p=s.dest.spatialReferenceId;if(c===p&&!l(p)&&(0!==c||(0,a.aI)(t,n)))return(0,i.kN)(r,e),!0;if(l(p)){const t=u.w5[c][10],n=u.w5[10][p];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,d,0),o(f*h[0],f*h[1],r),r[12]=d[0],r[13]=d[1],r[14]=d[2],!0)}const y=l(c);if((3===p||11===p||2===p||5===p)&&(2===c||y||3===c||5===c)){const t=u.w5[c][10],n=u.w5[10][p];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,d,0),y?function(t,e,r){o(t,e,r),(0,i.mg)(r,r)}(f*h[0],f*h[1],r):(0,i.D_)(r),r[12]=d[0],r[13]=d[1],r[14]=d[2],!0)}return!1}function l(t){return 1===t||6===t||8===t||4===t}const f=(0,n.kU)(1),h=(0,s.vt)(),d=(0,s.vt)()},65806(t,e,r){r.d(e,{g:()=>o});var n=r(51850),i=r(91218),s=r(9762);function o(t,e,r,n){if((0,i.canProjectWithoutEngine)(t.spatialReference,r))return u[0]=t.x,u[1]=t.y,u[2]=t.z??0,(0,s.projectBuffer)(u,t.spatialReference,0,e,r,0);const o=(0,i.tryProject)(t,r,n);return!!o&&(e[0]=o.x,e[1]=o.y,e[2]=o.z??0,!0)}const u=(0,n.vt)()},95696(t,e,r){r.d(e,{A:()=>c});var n,i=r(5482),s=r(69540),o=r(25482),u=r(91429),a=r(93223);let c=class extends((0,s.OU)(o.o)){static{n=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new n}};(0,i.Cg)([(0,a.e)({georeferenced:"georeferenced"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],c.prototype,"origin",void 0),c=n=(0,i.Cg)([(0,u.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],c)},18251(t,e,r){r.r(e),r.d(e,{default:()=>c});var n=r(5482),i=r(69540),s=r(25482),o=r(91429),u=r(51850),a=r(93223);let c=class extends((0,i.OU)(s.o)){constructor(t){super(t),this.type="local",this.origin=(0,u.vt)()}};(0,n.Cg)([(0,a.e)({local:"local"},{readOnly:!0})],c.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],c.prototype,"origin",void 0),c=(0,n.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],c)},13030(t,e,r){r.d(e,{Y$:()=>g,XW:()=>m,qB:()=>A,Qt:()=>W,My:()=>Q,bf:()=>V,jZ:()=>S,j0:()=>_,Sx:()=>v,E$:()=>w,h:()=>k,P:()=>I,SL:()=>Y,dy:()=>rt,gH:()=>B,ZD:()=>M,si:()=>C,mJ:()=>$,UL:()=>H,D6:()=>U,Yi:()=>j,An:()=>F,LC:()=>O,xs:()=>x,EC:()=>b,Xm:()=>R,Vp:()=>K,zD:()=>tt,m8:()=>D,nS:()=>q,H$:()=>L,eI:()=>X,td:()=>nt,Eq:()=>E,jz:()=>T,Aj:()=>N,E7:()=>J,Y4:()=>et,TX:()=>G,Uz:()=>z,ml:()=>Z,XP:()=>P});var n=r(34727),i=r(78955),s=r(91829),o=r(20498);class u{static{this.ElementCount=9}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=9;const s=this.TypedArrayConstructor;void 0===n&&(n=9*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;for(let t=0;t<9;++t)n[s++]=i[o++]}get buffer(){return this.typedBuffer.buffer}}class a{static{this.ElementCount=16}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=16;const s=this.TypedArrayConstructor;void 0===n&&(n=16*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){this.copyFromTypedBuffer(t,e.typedBuffer,r*e.typedBufferStride)}copyFromTypedBuffer(t,e,r){const n=this.typedBuffer;let i=t*this.typedBufferStride;for(let t=0;t<16;++t)n[i++]=e[r++]}get buffer(){return this.typedBuffer.buffer}}class c{static{this.ElementCount=1}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=1;const s=this.TypedArrayConstructor;void 0===n&&(n=s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.stride=n,this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}var l=r(37585);class f{static{this.ElementCount=2}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.start=r,this.elementCount=2;const s=this.TypedArrayConstructor;void 0===n&&(n=2*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,l.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=r}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;n[s++]=i[o++],n[s]=i[o]}get buffer(){return this.typedBuffer.buffer}}var h=r(35522);class d{static{this.ElementCount=3}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.elementCount=3;const s=this.TypedArrayConstructor;void 0===n&&(n=3*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,h.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t]=n}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;n[s++]=i[o++],n[s++]=i[o++],n[s]=i[o]}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=4}constructor(t,e,r=0,n,i){this.TypedArrayConstructor=t,this.start=r,this.elementCount=4;const s=this.TypedArrayConstructor;void 0===n&&(n=4*s.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:r;this.typedBuffer=null==i?new s(e,o):new s(e,o,(i-r)/s.BYTES_PER_ELEMENT),this.typedBufferStride=n/s.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,i.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n,i){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t++]=n,this.typedBuffer[t]=i}copyFrom(t,e,r){const n=this.typedBuffer,i=e.typedBuffer;let s=t*this.typedBufferStride,o=r*e.typedBufferStride;n[s++]=i[o++],n[s++]=i[o++],n[s++]=i[o++],n[s]=i[o]}get buffer(){return this.typedBuffer.buffer}}var y=r(620);class m extends c{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}static{this.ElementType="f16"}}class g extends c{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}static{this.ElementType="f32"}}class M extends f{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(M,t,e)}static{this.ElementType="f16"}}class B extends f{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(B,t,e)}static{this.ElementType="f32"}}class b extends d{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class x extends d{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static fromTypedArray(t,e){return new x(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class T extends p{constructor(t,e=0,r,n){(0,y.vA)(o.SX),super((0,o.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f16"}}class E extends p{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f32"}}class S extends u{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class _ extends u{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class v extends a{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f32"}}class w extends a{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="f64"}}class A extends c{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f64"}}class C extends f{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class R extends d{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static fromTypedArray(t,e){return new R(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class N extends p{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="f64"}}class Y extends c{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u8"}}class O extends f{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u8"}}class X extends d{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(X,t,e)}static fromTypedArray(t,e){return new X(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class P extends p{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="u8"}}class k extends c{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u16"}}class j extends f{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u16"}}class q extends d{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u16"}}class z extends p{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u16"}}class I extends c{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u32"}}class F extends f{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u32"}}class L extends d{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="u32"}}class Z extends p{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="u32"}}class V extends c{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="i8"}}class U extends f{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="i8"}}class D extends d{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class G extends p{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i8"}}class W extends c{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i16"}}class $ extends f{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i16"}}class K extends d{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i16"}}class J extends p{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class Q extends c{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i32"}}class H extends f{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i32"}}class tt extends d{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends p{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class rt extends Y{constructor(t,e=0,r,n){super(t,e,r,n)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,n.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(rt,t,e)}}class nt extends P{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,i.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,i.jk)(it,(0,i.T9)(it,e,s.uY),s.Un),(0,i.hs)(it,it,255),(0,i.LI)(it,it),super.setVec(t,it)}get(t,e){return super.get(t,e)/255}set(t,e,r){super.set(t,e,Math.round(255*(0,n.qE)(r,0,1)))}setValues(t,e,r,n,s){(0,i.hZ)(it,e,r,n,s),this.setVec(t,it)}slice(t,e){return this.sliceBuffer(nt,t,e)}}const it=(0,s.vt)()},72727(t,e,r){function n(t,e,r){if(e<=0)return 0;const n=t-r;return n<0?0:Math.floor(n/e)+1}r.d(e,{k:()=>n}),r(53966)},20498(t,e,r){r.d(e,{Bg:()=>i,SX:()=>o,pX:()=>s});let n=globalThis.Float16Array;function i(...t){return new(n??Float32Array)(...t)}function s(){return n}let o=!!n},60408(t,e,r){function n(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function i(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function u(t){return void 0!==t.rings||void 0!==t.curveRings}function a(t){return"object"==typeof t&&"vertexAttributes"in t}function c(t){return t?s(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":u(t)?"esriGeometryPolygon":n(t)?"esriGeometryEnvelope":i(t)?"esriGeometryMultipoint":null:null}function l(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}r.d(e,{$B:()=>c,Bi:()=>u,Pv:()=>l,Rg:()=>o,U9:()=>i,W0:()=>f,ZC:()=>n,fT:()=>s,uW:()=>a})},38419(t,e,r){r.r(e),r.d(e,{default:()=>u});var n=r(44208),i=r(75503),s=r(95696),o=r(72258);class u{async createIndex(t,e){const r=new Array;if(!t.vertexAttributes?.position)return new i.wq;const n=function(t){const{vertexAttributes:{position:e},vertexSpace:r,spatialReference:n,transform:i}=t,u=(0,o.UR)({vertexAttributes:{position:e},vertexSpace:r,spatialReference:n,transform:i},s.A.absolute,{allowBufferReuse:!0})?.position;return u?!t.components||t.components.some(t=>!t.faces)?{position:u.buffer}:{position:u.buffer,components:t.components.map(t=>t.faces)}:null}(t),u=null!=e?await e.invoke("createIndexThread",n,{transferList:r}):this.createIndexThread(n).result;return a().fromJSON(u)}createIndexThread(t){const e=a();if(!t)return{result:e.toJSON()};const r=new Float64Array(t.position);return t.components?function(t,e,r){let n=0;for(const t of r)n+=t.length/3;const i=new Array(n);let s=0;for(const t of r)for(let r=0;r<t.length;r+=3)i[s++]=c(e,3*t[r],3*t[r+1],3*t[r+2]);return t.load(i),{result:t.toJSON()}}(e,r,t.components.map(t=>new Uint32Array(t))):function(t,e){const r=new Array(e.length/9);let n=0;for(let t=0;t<e.length;t+=9)r[n++]=c(e,t,t+3,t+6);return t.load(r),{result:t.toJSON()}}(e,r)}}function a(){return new i.wq(9,(0,n.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function c(t,e,r,n){return{minX:Math.min(t[e],t[r],t[n]),maxX:Math.max(t[e],t[r],t[n]),minY:Math.min(t[e+1],t[r+1],t[n+1]),maxY:Math.max(t[e+1],t[r+1],t[n+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[r],t[r+1],t[r+2]],p2:[t[n],t[n+1],t[n+2]]}}},22141(t,e,r){r.d(e,{$5:()=>E,CN:()=>B,JP:()=>M,KM:()=>_,Mv:()=>w,X4:()=>b,gr:()=>T,qs:()=>S,si:()=>x,xA:()=>v});var n=r(34727),i=r(77690),s=r(29242),o=r(58083),u=r(9093),a=r(35522),c=r(51850),l=r(73941),f=r(48353),h=r(9762),d=(r(79258),r(21325)),p=r(28735),y=r(13030),m=r(73354),g=r(50867);const M="Projection may be possible after calling projection.load().";function B(t,e,r,n){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${r.wkid}).${n?" ":""}${n}`)}function b(t,e,r,n,i,s){return C(0,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s))?s:null}function x(t,e,r,n,i,s){return C(1,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s))?s:null}function T(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function E(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function S(t,e,r){return(0,i.Ge)(O,r),(0,m.t)(e,t,O),(0,n.or)(O)&&(0,m.n)(e,e),e}function _(t,e,r){return(0,i.z0)(O,r),(0,g.t)(e,t,O),(0,n.or)(O)&&(0,m.n)(e,e,4),e}function v(t,e,r,n,i,s){if(!C(0,y.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)s[e]=t[e];return s}function w(t,e,r,n,i,s){if(!C(1,y.xs.fromTypedArray(t,16),1,y.Xm.fromTypedArray(e),r,y.Xm.fromTypedArray(n),i,y.xs.fromTypedArray(s,16)))return null;for(let e=3;e<t.length;e+=4)s[e]=t[e];return s}function A(t,e,r,n,s){switch((0,f.l)(n,r,Y,n),1===t&&(0,o.B8)(Y,Y),e){case 0:return(0,i.Ge)(s,Y);case 1:return(0,i.z0)(s,Y)}}function C(t,e,r,n,i,s,o,u){if(!e)return;const c=n.count;if(function(t){return t.isWGS84||(0,d.x1)(t)||(0,l.q8)(t)||(0,l.KQ)(t)}(i))for(let n=0;n<c;n++)s.getVec(n,R),e.getVec(n,N),(0,a.ei)(N,N,A(t,r,R,o,O)),u.setVec(n,N);else for(let i=0;i<c;i++){s.getVec(i,R),e.getVec(i,N);const c=(0,p.jg)(n.get(i,1));let l=Math.cos(c);1===r!=(0===t)&&(l=1/l),A(t,r,R,o,O),0===t?(O[0]*=l,O[1]*=l,O[2]*=l,O[3]*=l,O[4]*=l,O[5]*=l):(O[0]*=l,O[3]*=l,O[6]*=l,O[1]*=l,O[4]*=l,O[7]*=l),(0,a.ei)(N,N,O),(0,a.S8)(N,N),u.setVec(i,N)}return u}const R=(0,c.vt)(),N=(0,c.vt)(),Y=(0,u.vt)(),O=(0,s.vt)()},72258(t,e,r){r.d(e,{UR:()=>x,p5:()=>b,xK:()=>w});var n=r(53966),i=r(34727),s=r(86211),o=r(77690),u=r(29242),a=r(58083),c=r(9093),l=r(35522),f=r(51850),h=r(73941),d=r(98764),p=r(48353),y=r(65806),m=r(27615),g=r(73354),M=r(22141);const B=()=>n.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function b(t,e,{vertexSpace:r,spatialReference:n}){if("georeferenced"===r.type){const i=t;if(!(0,y.g)(e,i,n))return!1;const{origin:s}=r;return(0,l.Re)(t,i,s),!0}const i=(0,d.lO)(n),s=t;if(!(0,y.g)(e,s,i))return!1;const{origin:o}=r,u=Y;if(!(0,p.l)(n,o,u,i))return!1;const c=(0,a.B8)(Y,u);return null!=c&&((0,l.Z0)(t,s,c),!0)}function x(t,e,r){const{vertexSpace:n,transform:i,vertexAttributes:s}=t,u=(0,m.Hq)(n)?i:null,f=_(t.spatialReference,r,3);if((0,m.yJ)(n,e)&&(!u||(0,a.t2)(u.localMatrix,c.zK))&&v(f)){const{position:t,normal:e,tangent:n}=s,i=r?.allowBufferReuse;return{position:i?t:t.slice(),normal:i?e:e?.slice(),tangent:i?n:n?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},i,s){const o=T(e,s);if(!(0,p.l)(e,n,A,o))return(0,M.CN)(B(),e,o),null;if(r&&(0,a.lw)(A,A,r.localMatrix),!(0,p.l)(e,i,C,o))return(0,M.CN)(B(),o,e),null;(0,a.B8)(C,C);const u=(0,a.lw)(A,C,A);return S(u,e,s,3),E(t,u)}(t,t.vertexSpace,e.origin,r):function({spatialReference:t,vertexAttributes:e,transform:r},{origin:n},i,s){const o=T(t,s);if(!(0,p.l)(t,n,A,o))return(0,M.CN)(B(),t,o),null;r&&(0,a.lw)(A,A,r.localMatrix),S(A,t,s,1);const u=new Float64Array(e.position.length),c=function(t,e,r,n,i){(0,g.f)(n,t,e);const s=new Float64Array(t.length);return(0,M.$5)(n,i,s,r)?s:((0,M.CN)(B(),i,r),null)}(e.position,A,t,u,o);if(!c)return null;const f=function(t,e,r,n,i,s){if(null==i)return null;const o=new Float32Array(i.length);return(0,M.qs)(i,o,s),(0,M.si)(o,t,e,r,n,o)?o:((0,M.CN)(B(),n,e),null)}(c,t,u,o,e.normal,A);if(e.normal&&!f)return null;const h=function(t,e,r,n,i,s){if(null==i)return null;const o=new Float32Array(i.length);return(0,M.KM)(i,o,s),(0,M.Mv)(o,t,e,r,n,o)?o:((0,M.CN)(B(),n,e),null)}(c,t,u,o,e.tangent,A);if(e.tangent&&!h)return null;if(i){const t=(0,l.ze)(N,i);(0,g.h)(c,c,t)}return{position:c,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,r);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},i,s){const u=T(e,s);if(!(0,p.l)(e,i,A,u))return(0,M.CN)(B(),e,u),null;const c=1/_(e,s,2);(0,a.hs)(A,A,[c,c,c]);const l=(0,a.B8)(C,A),{position:f,normal:h,tangent:d}=function(t,e,r){if(!e)return t;if(!r){const{position:r,normal:n,tangent:i}=t;return{position:(0,g.h)(new Float64Array(r.length),r,e),tangent:i,normal:n}}const n=E(t,r.localMatrix);return(0,g.h)(n.position,n.position,e),n}(t,n,r),y=new Float64Array(f.length),m=function(t,e,r,n,i){const s=(0,M.gr)(t,e,n,i);if(!s)return(0,M.CN)(B(),e,i),null;const o=new Float64Array(s.length);return(0,g.f)(o,s,r),o}(f,e,l,y,u);if(!m)return null;const b=(0,o.Ge)(R,l),x=function(t,e,r,n,i,s,o){if(null==t)return null;const u=o??new Float32Array(t.length);return(0,M.X4)(t,e,r,n,i,u)?((0,g.t)(u,u,s),u):((0,M.CN)(B(),r,i),null)}(h,f,e,y,u,b,h!==t.normal?h:void 0);if(!x&&h)return null;const S=function(t,e,r,n,i,s,o){if(null==t)return null;const u=o??new Float32Array(t.length);return(0,M.xA)(t,e,r,n,i,u)?((0,g.t)(u,u,s,4),u):((0,M.CN)(B(),r,i),null)}(d,f,e,y,u,b,d!==t.tangent?d:void 0);return!S&&d?null:{position:m,normal:x,tangent:S}}(t,t.vertexSpace,e.origin,r):function({vertexAttributes:t,transform:e,spatialReference:r},{origin:n},i,s){const o=_(r,s,3),u=n||!v(o)?(0,a.C)(A,e?.localMatrix??c.zK):null;u&&S(u,r,s,3);const{position:f,normal:h,tangent:d}=u?E(t,u):t,p=s?.allowBufferReuse,y=p?f:new Float64Array(f.length);let m=f;if(n&&(m=(0,g.h)(y,m,n)),i){const t=(0,l.ze)(N,i);m=(0,g.h)(y,m,t)}return{position:m!==t.position||p?m:m.slice(),normal:h!==t.normal||p?h:h?.slice(),tangent:d!==t.tangent||p?d:d?.slice()}}(t,t.vertexSpace,e.origin,r)}}function T(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?d.Y0:(0,d.lO)(t)}function E(t,e){const r=new Float64Array(t.position.length);(0,g.f)(r,t.position,e);const n=t.normal?new Float32Array(t.normal.length):null,i=t.tangent?new Float32Array(t.tangent.length):null;return n&&t.normal&&(0,M.qs)(t.normal,n,e),i&&t.tangent&&(0,M.KM)(t.tangent,i,e),{position:r,normal:n,tangent:i}}function S(t,e,r,n){const i=_(e,r,n);v(i)||(0,a.hs)(t,t,[i,i,i])}function _(t,e,r){const n=!!(1&r),i=!!(2&r),s=e?.sourceUnit,o=e?.targetUnit;if(!s&&!o)return 1;let u=w(s,t);n||!s||v(u)||(B().warn("source unit conversion not supported"),u=1);let a=1/w(o,t);return i||!o||v(a)||(B().warn("target unit conversion not supported"),a=1),u*a}function v(t){return(0,i.Io)(t,1)}function w(t,e){if(null==t)return 1;const r=(0,s.KX)(e);return 1/(0,s.oU)(r,"meters",t)}const A=(0,c.vt)(),C=(0,c.vt)(),R=(0,u.vt)(),N=(0,f.vt)(),Y=(0,c.vt)()},27615(t,e,r){r.d(e,{CK:()=>a,Hq:()=>u,MW:()=>c,TE:()=>l,yJ:()=>f});var n=r(35522),i=r(86738),s=r(95696),o=r(18251);function u(t){return null!=t.origin}function a(t){return u(t.vertexSpace)}function c(t,e){if(!u(t))return null;const[r,n,s]=t.origin;return new i.A({x:r,y:n,z:s,spatialReference:e})}function l(t,e){const{x:r,y:n,z:i,spatialReference:u}=t,a=[r,n,i??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(u))?new o.default({origin:a}):new s.A({origin:a})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,n.t2)(t.origin,e.origin))}},28735(t,e,r){r.d(e,{Cv:()=>y,Gh:()=>M,ci:()=>B,je:()=>m,jg:()=>l,tD:()=>g,y7:()=>p});var n=r(4718),i=r(21276),s=r(16930),o=r(79258),u=r(21325);function a(t){return 57.29577951308232*t}function c(t){return.017453292519943*t}function l(t){return Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))}function f(t){return null!=t.wkid||null!=t.wkt}const h=[0,0];function d(t,e,r,n,i){const s=t,o=i;if(o.spatialReference=r,"x"in s&&"x"in o)[o.x,o.y]=e(s.x,s.y,h,n);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=e(s.xmin,s.ymin,h,n),[o.xmax,o.ymax]=e(s.xmax,s.ymax,h,n);else if("paths"in s&&"paths"in o||"rings"in s&&"rings"in o){const t="paths"in s?s.paths:s.rings,r=[];let i;for(let s=0;s<t.length;s++){const o=t[s];i=[],r.push(i);for(let t=0;t<o.length;t++)i.push(e(o[t][0],o[t][1],[0,0],n)),o[t].length>2&&i[t].push(o[t][2]),o[t].length>3&&i[t].push(o[t][3])}"paths"in o?o.paths=r:o.rings=r}else if("points"in s&&"points"in o){const t=s.points,r=[];for(let i=0;i<t.length;i++)r[i]=e(t[i][0],t[i][1],[0,0],n),t[i].length>2&&r[i].push(t[i][2]),t[i].length>3&&r[i].push(t[i][3]);o.points=r}return i}function p(t,e){const r=t&&(f(t)?t:t.spatialReference),n=e&&(f(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!r||!n)&&(!!(0,u.aI)(n,r)||(0,u.K8)(n)&&(0,u.oT)(r)||(0,u.K8)(r)&&(0,u.oT)(n))}function y(t,e){if(null==t)return null;const r=t.spatialReference,i=e&&(f(e)?e:e.spatialReference);return p(r,i)?(0,u.aI)(r,i)?(0,n.o8)(t):(0,u.K8)(i)?d(t,m,s.A.WebMercator,!1,(0,n.o8)(t)):(0,u.oT)(i)?d(t,g,s.A.WGS84,!1,(0,n.o8)(t)):null:null}function m(t,e,r=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const n=c(e);return r[0]=c(t)*o.$O.radius,r[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function g(t,e,r=[0,0],n=!1){if(t===u.Mc[0])r[0]=-180;else if(t===u.Mc[1])r[0]=180;else{const e=a(t/o.$O.radius);r[0]=n?e:e-360*Math.floor((e+180)/360)}return r[1]=a(Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))),r}function M(t,e=!1,r=(0,n.o8)(t)){return(0,i.f)(t),(0,i.f)(r),d(t,m,s.A.WebMercator,e,r)}function B(t,e=!1,r=(0,n.o8)(t)){return(0,i.f)(t),(0,i.f)(r),d(t,g,s.A.WGS84,e,r)}},620(t,e,r){r.d(e,{L:()=>a,MX:()=>o,O_:()=>u,kL:()=>c,vA:()=>s,zH:()=>l});var n=r(48163);r(78955),(0,r(91829).vt)();class i{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function s(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new i(`${e} at ${t}`)}}function o(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function u(t,e,r,n){let i,s=(r[0]-t[0])/e[0],o=(n[0]-t[0])/e[0];s>o&&(i=s,s=o,o=i);let u=(r[1]-t[1])/e[1],a=(n[1]-t[1])/e[1];if(u>a&&(i=u,u=a,a=i),s>a||u>o)return!1;u>s&&(s=u),a<o&&(o=a);let c=(r[2]-t[2])/e[2],l=(n[2]-t[2])/e[2];return c>l&&(i=c,c=l,l=i),!(s>l||c>o||(l<o&&(o=l),o<0))}function a(t,e,r,i,s,o=(0,n.vt)()){const u=(i[s]-r[s])*(e[0]-t[0])-(i[0]-r[0])*(e[s]-t[s]),a=(i[0]-r[0])*(t[s]-r[s])-(i[s]-r[s])*(t[0]-r[0]);if(0===u)return!1;const c=a/u;return o[0]=t[0]+c*(e[0]-t[0]),o[1]=t[s]+c*(e[s]-t[s]),!0}function c(t,e){return Math.log(t)/Math.log(e)}function l(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1812,1948,3931,5611,6061,6312,7992,8125,9169,9285,9397],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},96957(t,e,n){n.d(e,{e:()=>o,s:()=>u});var r=n(4576),s=n(68613),i=n(78125);function o(t,e){const n=(0,i.getSpatialReference)(t);return(0,i.toGeometry)((0,s.g7)((0,i.fromGeometry)(t),(0,i.fromGeometry)(e),(0,i.fromSpatialReference)(n)),n)}const a=(0,s.fz)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(t,e){const n=t.map(i.fromGeometry),o=(0,i.getSpatialReference)(t);return(0,s.zo)(n,(0,i.fromGeometry)(e),(0,i.fromSpatialReference)(o)).map(t=>(0,i.toGeometry)(t,o)).filter(r.Ru)},supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,c,h,l,f,m,g,p){return[t,e,n,r,s,i,o,a,u,c,h,l,f,m,g,p]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function c(){return i(1,1,1)}function h(){return i(1,0,0)}function l(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>d,Cw:()=>p,JP:()=>x,S:()=>c,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=c(),p=h(),x=l(),d=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:p,UNIT_Y:x,UNIT_Z:d,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:c,unitX:h,unitY:l,unitZ:f,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>i,C:()=>o,Cc:()=>I,DI:()=>E,Il:()=>D,Io:()=>y,Ln:()=>d,Om:()=>P,Qr:()=>l,Re:()=>c,S8:()=>_,T9:()=>p,WQ:()=>u,Z0:()=>S,_S:()=>m,aI:()=>Y,ei:()=>w,fw:()=>O,g7:()=>V,gL:()=>A,hG:()=>M,hZ:()=>a,hs:()=>x,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>h,m3:()=>v,oW:()=>N,t2:()=>G,tn:()=>f,uE:()=>L,xg:()=>X,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function h(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function p(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function x(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function d(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function _(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function P(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function I(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function w(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function A(t,e,n){return O(t,e,n[0],n[1],n[2],n[3])}function O(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],c=r*u-s*a,h=s*o-n*u,l=n*a-r*o,f=r*l-s*h,m=s*c-n*l,g=n*h-r*c,p=2*i;return t[0]=o+c*p+2*f,t[1]=a+h*p+2*m,t[2]=u+l*p+2*g,t}function V(t,e){_(R,t),_(Z,e);const n=P(R,Z);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),Z=(0,r.vt)();function G(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=c,F=h,z=l,X=y,k=M,D=i,L=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:V,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,c=a*o,h=3*i*a,l=3*u*o,f=u*i;return t[0]=e[0]*c+n[0]*h+r[0]*l+s[0]*f,t[1]=e[1]*c+n[1]*h+r[1]*l+s[1]*f,t[2]=e[2]*c+n[2]*h+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],c=s*u-i*a,h=i*o-r*u,l=r*a-s*o,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:N,dist:X,distance:y,div:z,divide:l,dot:P,equals:Y,exactEquals:G,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,c=o*(i-1),h=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*a+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*a+n[2]*u+r[2]*c+s[2]*h,t},inverse:E,len:D,length:i,lerp:I,max:p,min:g,mul:F,multiply:h,negate:C,normalize:_,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:x,scaleAndAdd:d,set:a,sign:m,sqrDist:k,sqrLen:L,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:c,transformMat3:w,transformMat4:S,transformQuat:A,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>i,qK:()=>h});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return c(t,8);let n=l;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return l+t.length*e}const h=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>b,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>P,V2:()=>V,_s:()=>R,e6:()=>G,gh:()=>_,tr:()=>N,uX:()=>x});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),c=n(513),h=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),p=n(92722);class x{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:c,segmentIndices:h,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=h,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=V(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(c.subarray(0,e),0),a.vertexM?.set(h.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new d(this):[][Symbol.iterator]()}}class d{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=A(t),this._segments=new M(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[c,h]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[a,u],l,f,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=w(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new S(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[i,a,c,h]=s;e={xmin:i,ymin:a,xmax:c,ymax:h,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=V(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:c,vertexM:h}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(c[g]=t[2]),o&&(h[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const p="polygon"===r,{partOffsets:x}=s;let d=0;if(!(0,f.Ed)(t)){for(const t of n){if(x[d++]=g,0===t.length)continue;let e=t.length;if(p&&O(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return x[d]=g,s}function y(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[d++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const i=g-1;(0,f.wY)(r)?(y(10),++s.segmentCountArc,M=R(n,r,s,i,M),n=r.a[0]):(0,f.DA)(r)?(y(10),++s.segmentCountArc,M=Z(n,r,s,i,M),n=r.a[0]):(0,f.aO)(r)?(y(10),++s.segmentCountArc,M=G(n,r,s,i,M),n=r.c[0]):(0,f.n1)(r)?(y(4),++s.segmentCountBezier,M=N(0,r,s,i,M),n=r.b[0]):n=r}p&&O(e,n)||l(n)}return s.partOffsets[d]=g,s}function _(t){const e=A(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=w(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const c=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);c.push(t)}return u?{rings:[],curveRings:c,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:c,hasZ:s,hasM:i,spatialReference:o}}function P(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const c=V(t,u,o,r,s,!1,0,0);if(c.spatialReference=i??void 0,!c.isMultipart()){for(let t=0,e=0;t<u;++t)c.vertexXY[2*t]=n[e++],c.vertexXY[2*t+1]=n[e++],r&&(c.vertexZ[t]=n[e++]),s&&(c.vertexM[t]=n[e++]);return c}const h=2+Number(r)+Number(s);let l=0,f=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[f],i=e+t-Number(a);c.partOffsets[++f]=i;for(let t=e;t<i;++t)c.vertexXY[2*t]=n[l++],c.vertexXY[2*t+1]=n[l++],r&&(c.vertexZ[t]=n[l++]),s&&(c.vertexM[t]=n[l++]);a&&(l+=h)}return c}function b({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const c=new p.A([],[],a,u);i=Math.max(i,1);const h="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,f=c.coords.length;for(let t=l;t<i;++t)c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=l;c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-f)/c.stride),l=i}return"point"===t&&(c.lengths.length=0),c}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function w({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function A({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,n)=>t===e[n])}function V(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let c=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(c+=Float64Array.BYTES_PER_ELEMENT*e),s&&(c+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(c+=e*Int8Array.BYTES_PER_ELEMENT,c+=e*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const h=new ArrayBuffer(c);let l=0;return u.vertexXY=new Float64Array(h,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(h,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,l,e),u.segmentIndices.fill(F),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(h,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,c],h,l,f,m,p]=e.a;let x=4;l||(x|=1),h||(x|=2);const d=(0,g.SW)(t,e),[y,M]=(0,g.Uk)(d,.5);return s[o++]=x,s[o++]=m,s[o++]=p,s[o++]=f,s[o++]=u,s[o++]=c,s[o++]=d.u2-d.u1,s[o++]=d.u1,s[o++]=y,s[o++]=M,o}function Z(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return Y(a,4,...(0,c.mq)(a,.5),s,o)}function G(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,Y((0,h.pM)(t,e),0,...e.c[1],s,o)}function Y(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=h,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=c-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function N(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},c,h){return o[c]=2,a[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=i,h}const T=1.61803,F=-1},68613(t,e,n){n.d(e,{fz:()=>x,g7:()=>g,zo:()=>p});var r=n(76061),s=n(61691),i=n(55537),o=n(83661),a=n(88885),u=n(79187),c=n(95213),h=n(15756);function l(t,e,n,r){const s=t.getImpl().getAttributeStreamRef(0),i=t.getPointCount(),a=e.getXY(),h=t.createInstance(),l=(0,c.h)(n),f=new u.Envelope2D;if(t.queryEnvelope(f),f.inflateCoords(l,l),f.contains(a)){const n=l*l;let r=!1;const u=(0,o.d)(i,!1);for(let t=0;t<i;t++){const e=s.read(2*t),i=s.read(2*t+1),o=e-a.x,c=i-a.y;o*o+c*c<=n&&(r=!0,u[t]=!0)}if(r)for(let e=0;e<i;e++)u[e]||h.addPoints(t,e,e+1);else h.addPoints(t,0,i),h.add(e)}else h.addPoints(t,0,i),h.add(e);return h}class f extends s.G{constructor(t,e,n,r){super(),this.m_progressTracker=r,this.m_index=-1,this.m_inputGeoms=t,this.m_spatialReference=n,this.m_rightGeom=e.next(),this.m_bEmpty=!this.m_rightGeom,(0,i.c)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const t=this.m_inputGeoms.next();return t?((0,i.c)(t),this.m_index=this.m_inputGeoms.getGeometryID(),function(t,e,n,r){const s=t.getDimension(),f=e.getDimension();if(s!==f)return s>f?t:e;if(t.isEmpty())return e;if(e.isEmpty())return t;const m=new u.Envelope2D,g=new u.Envelope2D,p=new u.Envelope2D;t.queryEnvelope(m),e.queryEnvelope(g),p.setCoords({env2D:m}),p.mergeEnvelope2D(g);const x=(0,c.c)(n,p,!0),d=t.getGeometryType(),y=e.getGeometryType();return d===i.G.enumPoint&&y===i.G.enumPoint?function(t,e,n){const r=(0,c.h)(n),s=r*r,i=t.getXY(),u=e.getXY(),h=new a.M({vd:t.getDescription()});return o.P.sqrDistance(i,u)>s&&(h.add(t),h.add(e)),h}(t,e,x):d===i.G.enumPoint&&y===i.G.enumMultiPoint?l(e,t,x):d===i.G.enumMultiPoint&&y===i.G.enumPoint?l(t,e,x):(0,h.ax)(t,e,n,r)}(t,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const m=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,n,r){return new f(t,e,n,r)}execute(t,e,n,s){const o=new r.S([t]),a=new r.S([e]),u=this.executeMany(o,a,n,s).next();return u||(0,i.d)("null output"),u}};function g(t,e,n){return m.execute(t,e,n,null)}function p(t,e,n){const s=m.executeMany(new r.S(t),new r.S([e]),n,null);return Array.from(s)}function x(){return m.supportsCurves()}},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>d,fromPoint:()=>y,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>P,toGeometry:()=>_,toMultipoint:()=>b,toPoint:()=>I,toPolygon:()=>S,toPolyline:()=>w});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),o=n(88885),a=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return y(t);case"multipoint":return d(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new o.M,n=new i.P,r=t.points,s=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,i=r.length;t<i;t++){const i=r[t];n.setXYCoords(i[0],i[1]),a&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function _(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return P(t,e);case s.G.enumMultiPoint:return b(t,e);case s.G.enumPolyline:return w(t,e);case s.G.enumPolygon:return S(t,e)}return null}function P(t,e){if(t.isEmpty())return null;const n=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function b(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],a=new i.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:e});return c.setCacheValue(m,t),c}function I(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function S(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function w(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},89041(t,e,n){n.d(e,{execute:()=>r.e}),n(4576),n(68613),n(78125);var r=n(96957)},4197(t,e,n){n.d(e,{Vj:()=>u,cj:()=>a,jh:()=>i,l5:()=>o});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function a(t){return[...t]}function u(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>d,Jt:()=>y,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>x,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>p,vY:()=>a,v_:()=>_,vt:()=>i,w1:()=>c}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=_){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return x(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function p(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function d(t){return t?x(t,E):i(E)}function y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],_=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,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,r.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:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}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 r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),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,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1812,1948,3931,5611,6061,6312,7992,8125,9169,9285,9397],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},96957(t,e,n){n.d(e,{b:()=>u,e:()=>o});var r=n(4576),s=n(68613),i=n(78125);function o(t,e){const n=(0,i.getSpatialReference)(t);return(0,i.toGeometry)((0,s.g7)((0,i.fromGeometry)(t),(0,i.fromGeometry)(e),(0,i.fromSpatialReference)(n)),n)}const a=(0,s.fz)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(t,e){const n=t.map(i.fromGeometry),o=(0,i.getSpatialReference)(t);return(0,s.zo)(n,(0,i.fromGeometry)(e),(0,i.fromSpatialReference)(o)).map(t=>(0,i.toGeometry)(t,o)).filter(r.Ru)},supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,c,h,l,f,m,g,p){return[t,e,n,r,s,i,o,a,u,c,h,l,f,m,g,p]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function c(){return i(1,1,1)}function h(){return i(1,0,0)}function l(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>d,Cw:()=>p,JP:()=>x,S:()=>c,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=c(),p=h(),x=l(),d=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:p,UNIT_Y:x,UNIT_Z:d,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:c,unitX:h,unitY:l,unitZ:f,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>i,C:()=>o,Cc:()=>I,DI:()=>E,Il:()=>D,Io:()=>y,Ln:()=>d,Om:()=>P,Qr:()=>l,Re:()=>c,S8:()=>_,T9:()=>p,WQ:()=>u,Z0:()=>S,_S:()=>m,aI:()=>Y,ei:()=>w,fw:()=>O,g7:()=>V,gL:()=>A,hG:()=>M,hZ:()=>a,hs:()=>x,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>h,m3:()=>v,oW:()=>N,t2:()=>G,tn:()=>f,uE:()=>L,xg:()=>X,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function h(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function p(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function x(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function d(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function _(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function P(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function I(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function w(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function A(t,e,n){return O(t,e,n[0],n[1],n[2],n[3])}function O(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],c=r*u-s*a,h=s*o-n*u,l=n*a-r*o,f=r*l-s*h,m=s*c-n*l,g=n*h-r*c,p=2*i;return t[0]=o+c*p+2*f,t[1]=a+h*p+2*m,t[2]=u+l*p+2*g,t}function V(t,e){_(R,t),_(Z,e);const n=P(R,Z);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),Z=(0,r.vt)();function G(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=c,F=h,z=l,X=y,k=M,D=i,L=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:V,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,c=a*o,h=3*i*a,l=3*u*o,f=u*i;return t[0]=e[0]*c+n[0]*h+r[0]*l+s[0]*f,t[1]=e[1]*c+n[1]*h+r[1]*l+s[1]*f,t[2]=e[2]*c+n[2]*h+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],c=s*u-i*a,h=i*o-r*u,l=r*a-s*o,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:N,dist:X,distance:y,div:z,divide:l,dot:P,equals:Y,exactEquals:G,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,c=o*(i-1),h=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*a+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*a+n[2]*u+r[2]*c+s[2]*h,t},inverse:E,len:D,length:i,lerp:I,max:p,min:g,mul:F,multiply:h,negate:C,normalize:_,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:x,scaleAndAdd:d,set:a,sign:m,sqrDist:k,sqrLen:L,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:c,transformMat3:w,transformMat4:S,transformQuat:A,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>i,qK:()=>h});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return c(t,8);let n=l;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return l+t.length*e}const h=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>b,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>P,V2:()=>V,_s:()=>R,e6:()=>G,gh:()=>_,tr:()=>N,uX:()=>x});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),c=n(513),h=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),p=n(92722);class x{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:c,segmentIndices:h,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=h,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=V(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(c.subarray(0,e),0),a.vertexM?.set(h.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new d(this):[][Symbol.iterator]()}}class d{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=A(t),this._segments=new M(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[c,h]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[a,u],l,f,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=w(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new S(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[i,a,c,h]=s;e={xmin:i,ymin:a,xmax:c,ymax:h,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=V(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:c,vertexM:h}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(c[g]=t[2]),o&&(h[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const p="polygon"===r,{partOffsets:x}=s;let d=0;if(!(0,f.Ed)(t)){for(const t of n){if(x[d++]=g,0===t.length)continue;let e=t.length;if(p&&O(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return x[d]=g,s}function y(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[d++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const i=g-1;(0,f.wY)(r)?(y(10),++s.segmentCountArc,M=R(n,r,s,i,M),n=r.a[0]):(0,f.DA)(r)?(y(10),++s.segmentCountArc,M=Z(n,r,s,i,M),n=r.a[0]):(0,f.aO)(r)?(y(10),++s.segmentCountArc,M=G(n,r,s,i,M),n=r.c[0]):(0,f.n1)(r)?(y(4),++s.segmentCountBezier,M=N(0,r,s,i,M),n=r.b[0]):n=r}p&&O(e,n)||l(n)}return s.partOffsets[d]=g,s}function _(t){const e=A(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=w(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const c=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);c.push(t)}return u?{rings:[],curveRings:c,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:c,hasZ:s,hasM:i,spatialReference:o}}function P(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const c=V(t,u,o,r,s,!1,0,0);if(c.spatialReference=i??void 0,!c.isMultipart()){for(let t=0,e=0;t<u;++t)c.vertexXY[2*t]=n[e++],c.vertexXY[2*t+1]=n[e++],r&&(c.vertexZ[t]=n[e++]),s&&(c.vertexM[t]=n[e++]);return c}const h=2+Number(r)+Number(s);let l=0,f=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[f],i=e+t-Number(a);c.partOffsets[++f]=i;for(let t=e;t<i;++t)c.vertexXY[2*t]=n[l++],c.vertexXY[2*t+1]=n[l++],r&&(c.vertexZ[t]=n[l++]),s&&(c.vertexM[t]=n[l++]);a&&(l+=h)}return c}function b({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const c=new p.A([],[],a,u);i=Math.max(i,1);const h="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,f=c.coords.length;for(let t=l;t<i;++t)c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=l;c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-f)/c.stride),l=i}return"point"===t&&(c.lengths.length=0),c}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function w({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function A({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,n)=>t===e[n])}function V(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let c=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(c+=Float64Array.BYTES_PER_ELEMENT*e),s&&(c+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(c+=e*Int8Array.BYTES_PER_ELEMENT,c+=e*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const h=new ArrayBuffer(c);let l=0;return u.vertexXY=new Float64Array(h,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(h,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,l,e),u.segmentIndices.fill(F),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(h,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,c],h,l,f,m,p]=e.a;let x=4;l||(x|=1),h||(x|=2);const d=(0,g.SW)(t,e),[y,M]=(0,g.Uk)(d,.5);return s[o++]=x,s[o++]=m,s[o++]=p,s[o++]=f,s[o++]=u,s[o++]=c,s[o++]=d.u2-d.u1,s[o++]=d.u1,s[o++]=y,s[o++]=M,o}function Z(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return Y(a,4,...(0,c.mq)(a,.5),s,o)}function G(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,Y((0,h.pM)(t,e),0,...e.c[1],s,o)}function Y(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=h,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=c-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function N(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},c,h){return o[c]=2,a[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=i,h}const T=1.61803,F=-1},68613(t,e,n){n.d(e,{fz:()=>x,g7:()=>g,zo:()=>p});var r=n(76061),s=n(61691),i=n(55537),o=n(83661),a=n(88885),u=n(79187),c=n(95213),h=n(15756);function l(t,e,n,r){const s=t.getImpl().getAttributeStreamRef(0),i=t.getPointCount(),a=e.getXY(),h=t.createInstance(),l=(0,c.i)(n),f=new u.Envelope2D;if(t.queryEnvelope(f),f.inflateCoords(l,l),f.contains(a)){const n=l*l;let r=!1;const u=(0,o.ac)(i,!1);for(let t=0;t<i;t++){const e=s.read(2*t),i=s.read(2*t+1),o=e-a.x,c=i-a.y;o*o+c*c<=n&&(r=!0,u[t]=!0)}if(r)for(let e=0;e<i;e++)u[e]||h.addPoints(t,e,e+1);else h.addPoints(t,0,i),h.add(e)}else h.addPoints(t,0,i),h.add(e);return h}class f extends s.G{constructor(t,e,n,r){super(),this.m_progressTracker=r,this.m_index=-1,this.m_inputGeoms=t,this.m_spatialReference=n,this.m_rightGeom=e.next(),this.m_bEmpty=!this.m_rightGeom,(0,i.p)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const t=this.m_inputGeoms.next();return t?((0,i.p)(t),this.m_index=this.m_inputGeoms.getGeometryID(),function(t,e,n,r){const s=t.getDimension(),f=e.getDimension();if(s!==f)return s>f?t:e;if(t.isEmpty())return e;if(e.isEmpty())return t;const m=new u.Envelope2D,g=new u.Envelope2D,p=new u.Envelope2D;t.queryEnvelope(m),e.queryEnvelope(g),p.setCoords({env2D:m}),p.mergeEnvelope2D(g);const x=(0,c.p)(n,p,!0),d=t.getGeometryType(),y=e.getGeometryType();return d===i.G.enumPoint&&y===i.G.enumPoint?function(t,e,n){const r=(0,c.i)(n),s=r*r,i=t.getXY(),u=e.getXY(),h=new a.d({vd:t.getDescription()});return o.P.sqrDistance(i,u)>s&&(h.add(t),h.add(e)),h}(t,e,x):d===i.G.enumPoint&&y===i.G.enumMultiPoint?l(e,t,x):d===i.G.enumMultiPoint&&y===i.G.enumPoint?l(t,e,x):(0,h.aM)(t,e,n,r)}(t,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const m=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,n,r){return new f(t,e,n,r)}execute(t,e,n,s){const o=new r.S([t]),a=new r.S([e]),u=this.executeMany(o,a,n,s).next();return u||(0,i.q)("null output"),u}};function g(t,e,n){return m.execute(t,e,n,null)}function p(t,e,n){const s=m.executeMany(new r.S(t),new r.S([e]),n,null);return Array.from(s)}function x(){return m.supportsCurves()}},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>d,fromPoint:()=>y,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>P,toGeometry:()=>_,toMultipoint:()=>b,toPoint:()=>I,toPolygon:()=>S,toPolyline:()=>w});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),o=n(88885),a=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return y(t);case"multipoint":return d(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new o.d,n=new i.P,r=t.points,s=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,i=r.length;t<i;t++){const i=r[t];n.setXYCoords(i[0],i[1]),a&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function _(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return P(t,e);case s.G.enumMultiPoint:return b(t,e);case s.G.enumPolyline:return w(t,e);case s.G.enumPolygon:return S(t,e)}return null}function P(t,e){if(t.isEmpty())return null;const n=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function b(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],a=new i.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:e});return c.setCacheValue(m,t),c}function I(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function S(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function w(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},89041(t,e,n){n.d(e,{execute:()=>r.e}),n(4576),n(68613),n(78125);var r=n(96957)},4197(t,e,n){n.d(e,{Vj:()=>u,cj:()=>a,jh:()=>i,l5:()=>o});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function a(t){return[...t]}function u(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>d,Jt:()=>y,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>x,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>p,vY:()=>a,v_:()=>_,vt:()=>i,w1:()=>c}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=_){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return x(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function p(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function d(t){return t?x(t,E):i(E)}function y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],_=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,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,r.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:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}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 r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),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,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|