@arcgis/core 5.2.0-next.40 → 5.2.0-next.42
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/02ab09285a5c4ca98066.js +1 -0
- package/assets/esri/core/workers/chunks/0646524250bb9fe82935.js +1 -0
- package/assets/esri/core/workers/chunks/0a50efb07eee36237e21.js +1 -0
- package/assets/esri/core/workers/chunks/0a98a13418f53082ca7a.js +1 -0
- package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +1 -0
- package/assets/esri/core/workers/chunks/0ae35b02dda9b9662560.js +1 -0
- package/assets/esri/core/workers/chunks/0d1224693a62a26a0e72.js +1 -0
- package/assets/esri/core/workers/chunks/{542d8a6c415098b9857c.js → 0da4816c11b45b4a6289.js} +1 -1
- package/assets/esri/core/workers/chunks/{8a39dd585742960d3ca2.js → 0dcfd82a2669df6eb5a0.js} +1 -1
- package/assets/esri/core/workers/chunks/0f19bc532be24ca64755.js +1 -0
- package/assets/esri/core/workers/chunks/0f674c625f24ac73e25a.js +1 -0
- package/assets/esri/core/workers/chunks/11a3aa43fb940c21f148.js +1 -0
- package/assets/esri/core/workers/chunks/11e00ca5ac1b004f4ecc.js +1 -0
- package/assets/esri/core/workers/chunks/1276df03201c1b855fee.js +1 -0
- package/assets/esri/core/workers/chunks/13c893e448bedc5c1cef.js +1 -0
- package/assets/esri/core/workers/chunks/15c2d9bec0455fc363a9.js +1 -0
- package/assets/esri/core/workers/chunks/15de305ac3d6433748e7.js +1 -0
- package/assets/esri/core/workers/chunks/18d874739ee9ffad7480.js +1 -0
- package/assets/esri/core/workers/chunks/1dc1bfb3425665f560e4.js +1 -0
- package/assets/esri/core/workers/chunks/{1cd8dff4373494b01ad4.js → 1e342d532925569daadb.js} +1 -1
- package/assets/esri/core/workers/chunks/1f118d85d8271ad7690b.js +1 -0
- package/assets/esri/core/workers/chunks/1fece9757de7c10d1e9f.js +1 -0
- package/assets/esri/core/workers/chunks/{a2e754df3215e8b00a8f.js → 2015f4def2ef201bdab8.js} +1 -1
- package/assets/esri/core/workers/chunks/23570397304969f724b3.js +1 -0
- package/assets/esri/core/workers/chunks/24c0b3586bb6500eda53.js +2 -0
- package/assets/esri/core/workers/chunks/26e7884d8639df4d994b.js +1 -0
- package/assets/esri/core/workers/chunks/26fdc8382e009672924e.js +1 -0
- package/assets/esri/core/workers/chunks/{96860b6035e0b06672dd.js → 272c8ab189217240d05f.js} +1 -1
- package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +1 -0
- package/assets/esri/core/workers/chunks/279a9a38b04a21cdfd11.js +1 -0
- package/assets/esri/core/workers/chunks/284e88805184334396fe.js +1 -0
- package/assets/esri/core/workers/chunks/28bc5e8e82f188b30eb9.js +1 -0
- package/assets/esri/core/workers/chunks/2a4868acd546312aa6d8.js +1 -0
- package/assets/esri/core/workers/chunks/2d7cfc68a38dabd8898a.js +1 -0
- package/assets/esri/core/workers/chunks/2da337d7fd9295f6b967.js +1 -0
- package/assets/esri/core/workers/chunks/2e79fb1b8445b2091cdb.js +1 -0
- package/assets/esri/core/workers/chunks/2f29f08cddd5add9388e.js +1 -0
- package/assets/esri/core/workers/chunks/30c53a7e1ad5aa52f2f3.js +1 -0
- package/assets/esri/core/workers/chunks/31c4db1eac8f765bb93f.js +1 -0
- package/assets/esri/core/workers/chunks/321dbc60f44819c2b4de.js +1 -0
- package/assets/esri/core/workers/chunks/32fb597aef66c444758f.js +1 -0
- package/assets/esri/core/workers/chunks/34fcb776e4de1d870bbd.js +30 -0
- package/assets/esri/core/workers/chunks/354199a41de44902de84.js +1 -0
- package/assets/esri/core/workers/chunks/36781219ca9ba5d7fe52.js +1 -0
- package/assets/esri/core/workers/chunks/36999a2e383c8eb3c398.js +1 -0
- package/assets/esri/core/workers/chunks/36f8a912842181e1f0aa.js +1 -0
- package/assets/esri/core/workers/chunks/{ed1d4ebf487c7dcd5c33.js → 37a8cfec11057947b45f.js} +1 -1
- package/assets/esri/core/workers/chunks/{2b2b042a6d6949b06127.js → 381790e1f3df05c7eb68.js} +1 -1
- package/assets/esri/core/workers/chunks/383304d33b496c5d8baa.js +1 -0
- package/assets/esri/core/workers/chunks/{4e28f49d0be20ea50fd7.js → 383392c63202ac044b6c.js} +1 -1
- package/assets/esri/core/workers/chunks/394716bd1ecfd638d708.js +2 -0
- package/assets/esri/core/workers/chunks/399e23d777a043efa9f1.js +1 -0
- package/assets/esri/core/workers/chunks/3aacb935d632834d4154.js +1 -0
- package/assets/esri/core/workers/chunks/3c8e98cf23ad8ef12fcb.js +1 -0
- package/assets/esri/core/workers/chunks/4129b27fcd4103cdc499.js +1 -0
- package/assets/esri/core/workers/chunks/44e64186318728d1be51.js +1 -0
- package/assets/esri/core/workers/chunks/474ea8c97d101e41b3f5.js +1 -0
- package/assets/esri/core/workers/chunks/475c60ed8785d07911c6.js +1 -0
- package/assets/esri/core/workers/chunks/{c7662455252b48531da1.js → 484b3e2a220c440ccbb4.js} +1 -1
- package/assets/esri/core/workers/chunks/4d4710d57c72ec75cccc.js +1 -0
- package/assets/esri/core/workers/chunks/4e1b087453fc5e20e961.js +1 -0
- package/assets/esri/core/workers/chunks/4e94793aab42ebd251ca.js +1 -0
- package/assets/esri/core/workers/chunks/4f59357f535f30a6b5cc.js +1 -0
- package/assets/esri/core/workers/chunks/509cfac9e5d86a8ee449.js +1 -0
- package/assets/esri/core/workers/chunks/510acf2e8781be9b0dba.js +1 -0
- package/assets/esri/core/workers/chunks/5133083222588799493f.js +1 -0
- package/assets/esri/core/workers/chunks/52c4b4dabcb0d162be72.js +1 -0
- package/assets/esri/core/workers/chunks/{697e0ce10d77b90d4fee.js → 538fe46dfd685a490e23.js} +1 -1
- package/assets/esri/core/workers/chunks/5441f96cdd0660229efe.js +1 -0
- package/assets/esri/core/workers/chunks/551d0c5432f7a08dea77.js +1 -0
- package/assets/esri/core/workers/chunks/55924fb0de05e727f5e3.js +1 -0
- package/assets/esri/core/workers/chunks/55af58b6dff52dc040fe.js +2 -0
- package/assets/esri/core/workers/chunks/56bbde1dff96b423fbb9.js +1 -0
- package/assets/esri/core/workers/chunks/57824ecc10b25e3ad794.js +1 -0
- package/assets/esri/core/workers/chunks/{9ba705a6ddabca0f77b1.js → 580451761cadfe308919.js} +1 -1
- package/assets/esri/core/workers/chunks/590e977f8eeb379b86c8.js +1398 -0
- package/assets/esri/core/workers/chunks/5923ebadd4f75be2c9cc.js +1 -0
- package/assets/esri/core/workers/chunks/5b18696109fe84a1010a.js +2 -0
- package/assets/esri/core/workers/chunks/{db96a0c66578b2d1b715.js → 5b30231ae0a8f4b8435f.js} +1 -1
- package/assets/esri/core/workers/chunks/{77a4f6f224d7ca4b69f4.js → 5bf4ab72b9634b06cc5d.js} +1 -1
- package/assets/esri/core/workers/chunks/5ce168ae45ab7e7a71d1.js +1 -0
- package/assets/esri/core/workers/chunks/{7b1678dcf62481469544.js → 5dc17b76c6ecc24e7b9a.js} +1 -1
- package/assets/esri/core/workers/chunks/5e35828216020f33e26b.js +1 -0
- package/assets/esri/core/workers/chunks/5f0d6c853873a7f32527.js +1 -0
- package/assets/esri/core/workers/chunks/5fe9eea35ddb428efd8b.js +1 -0
- package/assets/esri/core/workers/chunks/6010b7be978698a642d0.js +1 -0
- package/assets/esri/core/workers/chunks/613e799377bdb767c955.js +1 -0
- package/assets/esri/core/workers/chunks/6210fb6cd31844f23964.js +1 -0
- package/assets/esri/core/workers/chunks/632ab11cdd4b0d9a5cc5.js +1 -0
- package/assets/esri/core/workers/chunks/64247e439ef3e1f712e9.js +1 -0
- package/assets/esri/core/workers/chunks/661a59133ae34f172174.js +1 -0
- package/assets/esri/core/workers/chunks/67468c50ecb1fbedda87.js +1 -0
- package/assets/esri/core/workers/chunks/6b0acd1a7dd74a7367e0.js +1 -0
- package/assets/esri/core/workers/chunks/6d247ff53421d27628ce.js +1 -0
- package/assets/esri/core/workers/chunks/6e45d0db97ffa4509177.js +1 -0
- package/assets/esri/core/workers/chunks/6f408397e2c8a2ea9805.js +1 -0
- package/assets/esri/core/workers/chunks/700c08dd2e734c15e621.js +1 -0
- package/assets/esri/core/workers/chunks/705d6b108fd121cea887.js +1 -0
- package/assets/esri/core/workers/chunks/71ce1009dadcae8f8094.js +1 -0
- package/assets/esri/core/workers/chunks/72fe7fb03c156f26a589.js +1 -0
- package/assets/esri/core/workers/chunks/733b2e181683d5fc7c95.js +1 -0
- package/assets/esri/core/workers/chunks/7684f0c771d312e05bb4.js +680 -0
- package/assets/esri/core/workers/chunks/79b857bb301f9c4169d6.js +1 -0
- package/assets/esri/core/workers/chunks/79c0a966f7d11d3c217f.js +1 -0
- package/assets/esri/core/workers/chunks/7a818499c1079906c2d7.js +1 -0
- package/assets/esri/core/workers/chunks/7ac47a9ad244100bc3b1.js +1 -0
- package/assets/esri/core/workers/chunks/7b862a074816c099b9ff.js +1 -0
- package/assets/esri/core/workers/chunks/7baa363b3b0a442a63d2.js +1 -0
- package/assets/esri/core/workers/chunks/7cc729b57a6a52c8ac68.js +1 -0
- package/assets/esri/core/workers/chunks/{4abe820bbe4f7ffccc09.js → 7df795bc4fa1d433463b.js} +1 -1
- package/assets/esri/core/workers/chunks/7f7a76f5fef25049fbf8.js +1 -0
- package/assets/esri/core/workers/chunks/7fa9dc39bf0a7a6fdc1f.js +1 -0
- package/assets/esri/core/workers/chunks/821176ee3be724621bb0.js +1 -0
- package/assets/esri/core/workers/chunks/825eb845216762a1ed2f.js +1 -0
- package/assets/esri/core/workers/chunks/82f4aa0533db009b11d8.js +2 -0
- package/assets/esri/core/workers/chunks/{2a344bca6837ca3b5c41.js.LICENSE.txt → 82f4aa0533db009b11d8.js.LICENSE.txt} +0 -6
- package/assets/esri/core/workers/chunks/830d1a7dee43422507ab.js +1 -0
- package/assets/esri/core/workers/chunks/835643f716f7058a2722.js +1 -0
- package/assets/esri/core/workers/chunks/84fa102a93b2144c28fb.js +1 -0
- package/assets/esri/core/workers/chunks/85ce7673d42526a79fd2.js +1 -0
- package/assets/esri/core/workers/chunks/893ffc38e1a43de5b63d.js +1 -0
- package/assets/esri/core/workers/chunks/{93df864c2e829f0fd5ce.js → 8a1970e68bc1e833cb7f.js} +1 -1
- package/assets/esri/core/workers/chunks/{684c9b4bd9590d2db12f.js → 8a410edcdf74ba957159.js} +1 -1
- package/assets/esri/core/workers/chunks/8b73694d5a97638a3a61.js +1 -0
- package/assets/esri/core/workers/chunks/8bb20ef549ec1c86b38e.js +1 -0
- package/assets/esri/core/workers/chunks/{6ef3b8d67b498d655a99.js → 8c5e65982c3f9295e844.js} +1 -1
- package/assets/esri/core/workers/chunks/8cb2fe91d1d8f49c14f8.js +1 -0
- package/assets/esri/core/workers/chunks/{1961b59756933e0a82f2.js → 8dcc6c19d5b3a5ac5512.js} +1 -1
- package/assets/esri/core/workers/chunks/8dee03779b569f233daf.js +1 -0
- package/assets/esri/core/workers/chunks/8ec5e470583b75fceae1.js +1 -0
- package/assets/esri/core/workers/chunks/8f2fecd8a0a972d68590.js +1 -0
- package/assets/esri/core/workers/chunks/9073b0f0ec93d6e243b9.js +1 -0
- package/assets/esri/core/workers/chunks/90ace5f9b4af1beea6bf.js +1 -0
- package/assets/esri/core/workers/chunks/934044f2ef6ce199b399.js +1 -0
- package/assets/esri/core/workers/chunks/94719ac469dadc4c05dc.js +1 -0
- package/assets/esri/core/workers/chunks/94e9cf8e729ec36de5be.js +1 -0
- package/assets/esri/core/workers/chunks/96d5fed0235558c0e348.js +1 -0
- package/assets/esri/core/workers/chunks/98b27cf8acbfa4259758.js +1 -0
- package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +1 -0
- package/assets/esri/core/workers/chunks/99772ce7e628364434fa.js +1 -0
- package/assets/esri/core/workers/chunks/{b1a0eb6598309e11337f.js → 99e3aa4832ed87474ab4.js} +1 -1
- package/assets/esri/core/workers/chunks/9a6208ab670ad74e6f7d.js +1 -0
- package/assets/esri/core/workers/chunks/9a97f6cda2f36941efae.js +1 -0
- package/assets/esri/core/workers/chunks/9b1199104a6822ab7340.js +1 -0
- package/assets/esri/core/workers/chunks/9ceeae787dc7c194d60e.js +1 -0
- package/assets/esri/core/workers/chunks/9ebc98746b1f085b82b7.js +1 -0
- package/assets/esri/core/workers/chunks/9ee3741eef73f3edb18b.js +1 -0
- package/assets/esri/core/workers/chunks/9fb87a7dba62b527c0ba.js +1 -0
- package/assets/esri/core/workers/chunks/a10f63a08d976be058be.js +1 -0
- package/assets/esri/core/workers/chunks/a183b77854f5b42c1a86.js +1 -0
- package/assets/esri/core/workers/chunks/a23f4d8e7c372f5fb6d7.js +1 -0
- package/assets/esri/core/workers/chunks/a25f51d2d3ff6b9af7ca.js +1 -0
- package/assets/esri/core/workers/chunks/a27172dacdb85a774c4b.js +1 -0
- package/assets/esri/core/workers/chunks/a27cdf4c29dd50a6dab1.js +1 -0
- package/assets/esri/core/workers/chunks/a294dd12b5c708ce04af.js +1 -0
- package/assets/esri/core/workers/chunks/a3c882fe7599dc0f4f27.js +1 -0
- package/assets/esri/core/workers/chunks/a90f7b1c6c69b6033b4c.js +1 -0
- package/assets/esri/core/workers/chunks/a9c641bcdef161c754bf.js +1 -0
- package/assets/esri/core/workers/chunks/a9d391071803b1e9e8a0.js +1 -0
- package/assets/esri/core/workers/chunks/aaa66a04b882b0ba2961.js +1 -0
- package/assets/esri/core/workers/chunks/ae50b2d5e63f62c088d2.js +1 -0
- package/assets/esri/core/workers/chunks/af3ac4bed43e901b59c7.js +1 -0
- package/assets/esri/core/workers/chunks/af97e19516dbbcfb5286.js +1 -0
- package/assets/esri/core/workers/chunks/aff0e7761276036e029d.js +1 -0
- package/assets/esri/core/workers/chunks/b23d1e10fc4161d1f3eb.js +1 -0
- package/assets/esri/core/workers/chunks/b32bdf5730953c2fb16b.js +1 -0
- package/assets/esri/core/workers/chunks/b3f1a442d6b7826e917f.js +1 -0
- package/assets/esri/core/workers/chunks/b4047333265a2665aef9.js +1 -0
- package/assets/esri/core/workers/chunks/b7170816736769d3b7b0.js +1 -0
- package/assets/esri/core/workers/chunks/{5c63b38160c7d063b8af.js → b780514be87a22b49b01.js} +1 -1
- package/assets/esri/core/workers/chunks/b792857a178da2dd77d6.js +1 -0
- package/assets/esri/core/workers/chunks/b819a9187426d0c146df.js +1 -0
- package/assets/esri/core/workers/chunks/{1d92da90fbbc3f98b201.js → b8d788e110c212a879ab.js} +1 -1
- package/assets/esri/core/workers/chunks/b94cd7eac5ff4a78dd5b.js +1 -0
- package/assets/esri/core/workers/chunks/b9d6f89f9b8e9d1bc787.js +1 -0
- package/assets/esri/core/workers/chunks/b9f40681af1fa00b5bbe.js +1 -0
- package/assets/esri/core/workers/chunks/{bc547cf814d6703cef59.js → bb95922cd4631d6f17fb.js} +1 -1
- package/assets/esri/core/workers/chunks/bcb5017500d144b73908.js +1 -0
- package/assets/esri/core/workers/chunks/bd862382f72ebd446b46.js +1 -0
- package/assets/esri/core/workers/chunks/bdd19dab276d20d5381a.js +1 -0
- package/assets/esri/core/workers/chunks/bee5e738ecf8680909c4.js +1 -0
- package/assets/esri/core/workers/chunks/{9be4438ce2c7180adadf.js → bf287f0e2ecb4532dc00.js} +1 -1
- package/assets/esri/core/workers/chunks/{5115059b012ef84407cf.js → bfb6566c27c09deb0929.js} +1 -1
- package/assets/esri/core/workers/chunks/c055c16379f5bb56e930.js +1 -0
- package/assets/esri/core/workers/chunks/c13e55b9efb0b532f7ee.js +1 -0
- package/assets/esri/core/workers/chunks/c1845682cc9a5aac8703.js +261 -0
- package/assets/esri/core/workers/chunks/c369d4266f38e9ea6592.js +1 -0
- package/assets/esri/core/workers/chunks/c3fae4f4522604a9c17e.js +1 -0
- package/assets/esri/core/workers/chunks/c4c25db769a78e677e33.js +1 -0
- package/assets/esri/core/workers/chunks/c50e4e8c6188e64e7d45.js +1 -0
- package/assets/esri/core/workers/chunks/c838cc1c786368b78598.js +1 -0
- package/assets/esri/core/workers/chunks/c8db0a4fb5bc982dc9fc.js +1 -0
- package/assets/esri/core/workers/chunks/{82adfa2dbd40e1becaf4.js → c97451f75c23be979476.js} +1 -1
- package/assets/esri/core/workers/chunks/ca118c42c0f609ca7912.js +1 -0
- package/assets/esri/core/workers/chunks/ca419858910af5505d3d.js +1 -0
- package/assets/esri/core/workers/chunks/cb17cd8aaf77238c0236.js +1 -0
- package/assets/esri/core/workers/chunks/{034dd8ee5152a12412cd.js → cba3316910ff088f4d77.js} +1 -1
- package/assets/esri/core/workers/chunks/cc414fd2e313d89d524d.js +1 -0
- package/assets/esri/core/workers/chunks/{7b8466f892a38a53c600.js → cce83896093279c70449.js} +1 -1
- package/assets/esri/core/workers/chunks/cda04571d7623c17ada2.js +1 -0
- package/assets/esri/core/workers/chunks/cea4b18e7f83c02922b1.js +1 -0
- package/assets/esri/core/workers/chunks/cf03d391d50a4c7aca4f.js +1 -0
- package/assets/esri/core/workers/chunks/d03f427442bb0c287d05.js +1 -0
- package/assets/esri/core/workers/chunks/d082de5dd83bd73d209b.js +1 -0
- package/assets/esri/core/workers/chunks/d08d3c6f21e6ba8268ca.js +1 -0
- package/assets/esri/core/workers/chunks/d36f17d32c654b1ac7fa.js +1 -0
- package/assets/esri/core/workers/chunks/d36fba71c52ea4e71546.js +1 -0
- package/assets/esri/core/workers/chunks/{18f980465db5a86153d1.js → d37a72111dffc4c4db70.js} +1 -1
- package/assets/esri/core/workers/chunks/d41ab2abcfacc87809b5.js +1 -0
- package/assets/esri/core/workers/chunks/d4ed094962a41d756c95.js +1 -0
- package/assets/esri/core/workers/chunks/d5561dff043789494845.js +1 -0
- package/assets/esri/core/workers/chunks/d66d58ed5d66520ab1bf.js +1 -0
- package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +1 -0
- package/assets/esri/core/workers/chunks/d847c3cb2043a983145b.js +1 -0
- package/assets/esri/core/workers/chunks/d849bdaf5bdfdc37531a.js +1 -0
- package/assets/esri/core/workers/chunks/da6134c7883531f21afe.js +1 -0
- package/assets/esri/core/workers/chunks/{c48dfda8dcb9551606fb.js → dad39ddf0f8dfb0bef47.js} +1 -1
- package/assets/esri/core/workers/chunks/dadefe369f49e89a2610.js +1 -0
- package/assets/esri/core/workers/chunks/dccb46c7dce68528c72b.js +1 -0
- package/assets/esri/core/workers/chunks/ddafe402f1bc9e8285ef.js +1 -0
- package/assets/esri/core/workers/chunks/de9573871f64c01e9f01.js +1 -0
- package/assets/esri/core/workers/chunks/dedf678490572c500a19.js +30 -0
- package/assets/esri/core/workers/chunks/df174346a7e9b629a392.js +1 -0
- package/assets/esri/core/workers/chunks/df30053a10d4930924d5.js +1 -0
- package/assets/esri/core/workers/chunks/dfbdc72c7ea137e3841d.js +1 -0
- package/assets/esri/core/workers/chunks/e21b3490bfce75405e55.js +1 -0
- package/assets/esri/core/workers/chunks/e2c9393bec747f7876bb.js +1 -0
- package/assets/esri/core/workers/chunks/e3e966777f18164afcd8.js +1 -0
- package/assets/esri/core/workers/chunks/e4a2eefffe16cd5bb20f.js +1 -0
- package/assets/esri/core/workers/chunks/{d0983cc19d19c19c3478.js → e4aacfc1617ccf60bd5a.js} +1 -1
- package/assets/esri/core/workers/chunks/{3a526e1d18490b99332f.js → e5bb7ee670a3ba5ba3fe.js} +1 -1
- package/assets/esri/core/workers/chunks/e5c75459de85a6dd2f14.js +1 -0
- package/assets/esri/core/workers/chunks/{757982a73174aa7ab0d1.js → e6b5c015205d38abe037.js} +1 -1
- package/assets/esri/core/workers/chunks/e798ca23f02a2dd65bd4.js +1 -0
- package/assets/esri/core/workers/chunks/e94f2d6037fba042dc6e.js +1 -0
- package/assets/esri/core/workers/chunks/e9511627418c6864148a.js +1 -0
- package/assets/esri/core/workers/chunks/ec1a2e68957fae48e60b.js +30 -0
- package/assets/esri/core/workers/chunks/ec2e0b2e31fd53b81d0a.js +1 -0
- package/assets/esri/core/workers/chunks/ed552941eca621a51f16.js +1 -0
- package/assets/esri/core/workers/chunks/ee58f4bbc0a1f7d03df0.js +1 -0
- package/assets/esri/core/workers/chunks/f04cb48fc73635d0572f.js +1 -0
- package/assets/esri/core/workers/chunks/f06f591680c9e93e69f6.js +1 -0
- package/assets/esri/core/workers/chunks/f1d3cf674b6bea89e122.js +1 -0
- package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +1 -0
- package/assets/esri/core/workers/chunks/{6a51499c6623ddce5f00.js → f2adf1227a795604d3b8.js} +1 -1
- package/assets/esri/core/workers/chunks/{57c003c6745d450558a7.js → f4aed2b6e92bd0474069.js} +1 -1
- package/assets/esri/core/workers/chunks/f4eda59ec1e816ecc827.js +1 -0
- package/assets/esri/core/workers/chunks/f5d7f69047e1b1116202.js +1 -0
- package/assets/esri/core/workers/chunks/f5d809d30cbb56be852d.js +1 -0
- package/assets/esri/core/workers/chunks/{2d92f0042facb55edcff.js → f65adaaa33d9f3b131f6.js} +1 -1
- package/assets/esri/core/workers/chunks/f8f0de841be17cd05c8f.js +1 -0
- package/assets/esri/core/workers/chunks/f9b654f801cb416e9e17.js +1 -0
- package/assets/esri/core/workers/chunks/fb34d6d96c8c0d53fcf6.js +1 -0
- package/assets/esri/core/workers/chunks/fb51f823b25c827c6b29.js +1 -0
- package/assets/esri/core/workers/chunks/fba8065a3a6fbd877e23.js +1 -0
- package/assets/esri/core/workers/chunks/fd47ee8598e37fea03fe.js +1 -0
- package/assets/esri/core/workers/chunks/fefbde2c2e527bb716ee.js +1 -0
- package/assets/esri/core/workers/chunks/ff089723a27859fe18d1.js +1 -0
- package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
- package/assets/esri/themes/base/_core.scss +0 -6
- 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/chunks/CutFillMinMaxDepth.glsl.js +2 -0
- package/chunks/CutFillTotalDepth.glsl.js +2 -0
- package/chunks/EdgeShader.glsl.js +9 -9
- package/chunks/GaussianSplat.glsl.js +1 -1
- package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
- package/chunks/arcgis-knowledge-client-core.js +1 -1
- package/chunks/cameraUtilsSpherical.js +1 -1
- package/config.js +1 -1
- package/editing/geometry/coordUtils.js +1 -1
- package/geohash/geohashUtils.js +1 -1
- package/geometry/support/aaBoundingRect.js +1 -1
- package/geometry/support/quantizationUtils.js +1 -1
- package/geometry/support/sphere.js +1 -1
- package/interfaces.d.ts +5 -0
- package/intl/date.js +1 -1
- package/kernel.js +1 -1
- package/layers/AnnotationFeatureLayer.d.ts +13 -3
- package/layers/DimensionFeatureLayer.d.ts +10 -3
- package/layers/graphics/featureConversionUtils.js +1 -1
- package/layers/graphics/sources/support/sourceUtils.js +1 -1
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/Lerc.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/support/fieldUtils.js +1 -1
- package/package.json +3 -3
- package/support/revision.js +1 -1
- package/views/2d/engine/vectorTiles/GeometryUtils.js +1 -1
- package/views/2d/engine/webgl/Painter.js +1 -1
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/effects/FeatureEffect.js +1 -1
- package/views/2d/engine/webgl/effects/HighlightEffect.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
- package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/segmentUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TextureStatisticsTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BitBlitShader.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/DebugOverlayShader.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HighlightShader.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/WorldExtentStencilShader.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/utility/BitBlitTechnique.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/utility/DebugOverlayTechnique.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/utility/HighlightTechnique.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/utility/WorldExtentClipTechnique.js +2 -0
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/support/DebugOverlay.js +1 -1
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/SceneLayerWorkerHandle.js +1 -1
- package/views/3d/layers/i3s/I3SNode.js +1 -1
- package/views/3d/layers/i3s/SphereCone.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/cameraUtilsSpherical.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/util/emissionFilter.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/WeatherFader.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsParameters.js +1 -1
- package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillComputation.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatShadows.js +1 -1
- package/views/3d/webgl-engine/lib/Intersector.js +1 -1
- package/views/3d/webgl-engine/lib/IntersectorInterfaces.js +1 -1
- package/views/3d/webgl-engine/lib/Octree.js +1 -1
- package/views/3d/webgl-engine/lib/PolygonIntersections2D.js +2 -0
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/AdjustProjectedPosition.glsl.js +1 -1
- package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/DiscardNonSilhouetteEdges.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShader.glsl.js +1 -1
- package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/EdgeUtil.glsl.js +1 -1
- package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/LineAmplitude.glsl.js +1 -1
- package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/LineOffset.glsl.js +1 -1
- package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/UnpackAttributes.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultBufferWriter.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/TriangleMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/BufferRange.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillMinMaxDepth.glsl.js +2 -0
- package/views/3d/webgl-engine/shaders/CutFillMinMaxDepthTechnique.js +2 -0
- package/views/3d/webgl-engine/shaders/{CutFillDepth.glsl.js → CutFillTotalDepth.glsl.js} +1 -1
- package/views/3d/webgl-engine/shaders/CutFillTotalDepthTechnique.js +2 -0
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js +1 -1
- package/views/Viewport2DMixin.js +1 -1
- package/views/input/BrowserEventSource.js +1 -1
- package/views/input/InputManager.js +1 -1
- package/views/interactive/snapping/snappingUtils.js +1 -1
- package/views/support/euclideanLengthMeasurementUtils.js +1 -1
- package/views/webgl/VertexAttributeLayouts.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/multipleChoiceInputUtils.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/Legend/support/relationshipRampUtils.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/utils.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/assets/esri/core/workers/chunks/02b043a3c5fa8bcb4c5b.js +0 -1
- package/assets/esri/core/workers/chunks/03437a8ef35c200dbf17.js +0 -1
- package/assets/esri/core/workers/chunks/0603cbd938ab619c706b.js +0 -1
- package/assets/esri/core/workers/chunks/08405116b5feb2d00101.js +0 -1
- package/assets/esri/core/workers/chunks/0a6e03263ab0906d8bcf.js +0 -1
- package/assets/esri/core/workers/chunks/0af6b87a3d77bb93b893.js +0 -1
- package/assets/esri/core/workers/chunks/0edd250159ec259601b3.js +0 -1
- package/assets/esri/core/workers/chunks/0f10d7d592c36ee2d1ea.js +0 -1
- package/assets/esri/core/workers/chunks/0f8fcbd0650b6a924f75.js +0 -1
- package/assets/esri/core/workers/chunks/0f976bfb7db98c2c0e05.js +0 -1
- package/assets/esri/core/workers/chunks/1040bce57ea63a6dbca4.js +0 -2
- package/assets/esri/core/workers/chunks/10510f76f8538c2dfb84.js +0 -1
- package/assets/esri/core/workers/chunks/1079914101d69a40b3eb.js +0 -1
- package/assets/esri/core/workers/chunks/11af659688cf963ea6cd.js +0 -1
- package/assets/esri/core/workers/chunks/15081b361fc42f40b865.js +0 -1
- package/assets/esri/core/workers/chunks/1599dc5309a4e60017ce.js +0 -261
- package/assets/esri/core/workers/chunks/181e98399732f425305d.js +0 -1
- package/assets/esri/core/workers/chunks/1837f97f720d255a1694.js +0 -1
- package/assets/esri/core/workers/chunks/18c4c437ded8bfbd3305.js +0 -1
- package/assets/esri/core/workers/chunks/18f4b2099299942aaf97.js +0 -1
- package/assets/esri/core/workers/chunks/1958facb000b6c16bfe4.js +0 -1
- package/assets/esri/core/workers/chunks/196e7515a43bd0026f49.js +0 -1
- package/assets/esri/core/workers/chunks/1a0903b1d2d5101977c6.js +0 -1
- package/assets/esri/core/workers/chunks/1aa7496a7dc95aae11ac.js +0 -1
- package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +0 -1
- package/assets/esri/core/workers/chunks/1c263ffb7144e171a64f.js +0 -1
- package/assets/esri/core/workers/chunks/1d524690c4b66289bd20.js +0 -1
- package/assets/esri/core/workers/chunks/20fa2c3d4360afa5e136.js +0 -1
- package/assets/esri/core/workers/chunks/210ffc448c73a7bf63aa.js +0 -1
- package/assets/esri/core/workers/chunks/23f81f4a3d7a983eef23.js +0 -1
- package/assets/esri/core/workers/chunks/2540beb53f1443a070d7.js +0 -1
- package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +0 -1
- package/assets/esri/core/workers/chunks/2757c4bf0280e27f3484.js +0 -1
- package/assets/esri/core/workers/chunks/294537e1ac43e8dfeaea.js +0 -1
- package/assets/esri/core/workers/chunks/29a1d0659bbc5a039864.js +0 -1
- package/assets/esri/core/workers/chunks/29df3f829006719b2680.js +0 -1
- package/assets/esri/core/workers/chunks/2a344bca6837ca3b5c41.js +0 -2
- package/assets/esri/core/workers/chunks/2a5dbed88bbd96cfac9f.js +0 -1
- package/assets/esri/core/workers/chunks/2b044c8fab2055a8818d.js +0 -1
- package/assets/esri/core/workers/chunks/2d956dacb26d71d1c174.js +0 -1
- package/assets/esri/core/workers/chunks/2da797ae5af9d2ede42d.js +0 -1
- package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +0 -1
- package/assets/esri/core/workers/chunks/2e495a28494c2351837b.js +0 -1
- package/assets/esri/core/workers/chunks/2ef80e003b4f0393ac2e.js +0 -1
- package/assets/esri/core/workers/chunks/2fc3e43b64300014dddc.js +0 -1
- package/assets/esri/core/workers/chunks/30cf84a47ebefd180bb7.js +0 -1
- package/assets/esri/core/workers/chunks/314bc1b356d43bfa72a8.js +0 -1
- package/assets/esri/core/workers/chunks/34a024eda22d228e1fbe.js +0 -1
- package/assets/esri/core/workers/chunks/37e823202424c11076cb.js +0 -1
- package/assets/esri/core/workers/chunks/38a76bc4ef5c10ab0488.js +0 -1
- package/assets/esri/core/workers/chunks/390f2beee8e3f2a302e4.js +0 -1
- package/assets/esri/core/workers/chunks/3a76fffa2016c16d7989.js +0 -1398
- package/assets/esri/core/workers/chunks/3c2eb386c0165150e039.js +0 -1
- package/assets/esri/core/workers/chunks/3e4b379a6a197b9c4e6b.js +0 -1
- package/assets/esri/core/workers/chunks/3ec91474658eae87b832.js +0 -1
- package/assets/esri/core/workers/chunks/3eee32db0e9a5086b9a8.js +0 -1
- package/assets/esri/core/workers/chunks/406c7723e8db470822bf.js +0 -1
- package/assets/esri/core/workers/chunks/41aca863324387576cf8.js +0 -1
- package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +0 -1
- package/assets/esri/core/workers/chunks/4452fd0c59431904d533.js +0 -1
- package/assets/esri/core/workers/chunks/448e0596005cba9a4225.js +0 -1
- package/assets/esri/core/workers/chunks/4545cf12ad0824ce6b41.js +0 -1
- package/assets/esri/core/workers/chunks/45530a49fa1f09d1682e.js +0 -1
- package/assets/esri/core/workers/chunks/459e89d1b94a3b204d20.js +0 -30
- package/assets/esri/core/workers/chunks/45b2e58051f42ebd236e.js +0 -1
- package/assets/esri/core/workers/chunks/4611cf051c3c396fdf96.js +0 -1
- package/assets/esri/core/workers/chunks/46e3d33e44e5398221e2.js +0 -1
- package/assets/esri/core/workers/chunks/47656ec12401e53f4bd3.js +0 -1
- package/assets/esri/core/workers/chunks/47948c72bc01bd173c20.js +0 -2
- package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +0 -1
- package/assets/esri/core/workers/chunks/49713dfa4c8b788079d1.js +0 -1
- package/assets/esri/core/workers/chunks/4a8201e09bc3ad5cc00b.js +0 -1
- package/assets/esri/core/workers/chunks/4ad86d6b1be07c97b6f6.js +0 -1
- package/assets/esri/core/workers/chunks/4be0c64bbf2449d57ea5.js +0 -1
- package/assets/esri/core/workers/chunks/4d57c771af4137f74bfb.js +0 -1
- package/assets/esri/core/workers/chunks/4f25aac84d9eb10cac83.js +0 -1
- package/assets/esri/core/workers/chunks/50b34e246f8eef2f6e07.js +0 -1
- package/assets/esri/core/workers/chunks/514ab968c0d75062e6ab.js +0 -1
- package/assets/esri/core/workers/chunks/51838d55d8ec4ce70398.js +0 -1
- package/assets/esri/core/workers/chunks/557300ec03bae84d8afc.js +0 -1
- package/assets/esri/core/workers/chunks/57abf838fcff0f0e2c5e.js +0 -1
- package/assets/esri/core/workers/chunks/57dd017fed2943d24e3d.js +0 -1
- package/assets/esri/core/workers/chunks/59801b2ccaaf4b394e02.js +0 -1
- package/assets/esri/core/workers/chunks/5a2d2dcdfa8d958f277d.js +0 -1
- package/assets/esri/core/workers/chunks/5a62c9f64db4fcae5e52.js +0 -1
- package/assets/esri/core/workers/chunks/5aebecb5c2b3e7887127.js +0 -1
- package/assets/esri/core/workers/chunks/5e68b74fd548c7cdba36.js +0 -1
- package/assets/esri/core/workers/chunks/5f360492560ae07083a6.js +0 -1
- package/assets/esri/core/workers/chunks/6022f43ebd58e21c737a.js +0 -1
- package/assets/esri/core/workers/chunks/6048c89fc4dcd2e9988d.js +0 -1
- package/assets/esri/core/workers/chunks/61efc7f5fab1c2b1f764.js +0 -1
- package/assets/esri/core/workers/chunks/62b137a795e487fa06a1.js +0 -1
- package/assets/esri/core/workers/chunks/632de34ebd2f44b4423d.js +0 -1
- package/assets/esri/core/workers/chunks/63ca17f569407c89bde1.js +0 -30
- package/assets/esri/core/workers/chunks/643c7506f8fe8e06acd2.js +0 -1
- package/assets/esri/core/workers/chunks/6596b12bb286a0b45a68.js +0 -1
- package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +0 -1
- package/assets/esri/core/workers/chunks/661f50cb97604453f942.js +0 -1
- package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +0 -1
- package/assets/esri/core/workers/chunks/6896a6dd36fa91a27151.js +0 -1
- package/assets/esri/core/workers/chunks/68bc674affe2f7269c40.js +0 -1
- package/assets/esri/core/workers/chunks/6c02493a1c1deff49c7e.js +0 -1
- package/assets/esri/core/workers/chunks/6cdf1db30793133294dd.js +0 -1
- package/assets/esri/core/workers/chunks/6ff6783f89ecd3a5e752.js +0 -1
- package/assets/esri/core/workers/chunks/70763c7b68d8abe8d5fe.js +0 -1
- package/assets/esri/core/workers/chunks/716b1f073e3cd807abd3.js +0 -1
- package/assets/esri/core/workers/chunks/71a3f05cb86ae2920f8d.js +0 -1
- package/assets/esri/core/workers/chunks/71b672259bac2befd9c7.js +0 -1
- package/assets/esri/core/workers/chunks/71c996e1ae84d9daddf2.js +0 -1
- package/assets/esri/core/workers/chunks/723bb56de2324b41df4e.js +0 -1
- package/assets/esri/core/workers/chunks/73f61107cb7e6d30bf03.js +0 -1
- package/assets/esri/core/workers/chunks/752c34cee981862add89.js +0 -1
- package/assets/esri/core/workers/chunks/75915f81caaf9e5345a9.js +0 -1
- package/assets/esri/core/workers/chunks/75baf6dff6e7658b17b3.js +0 -1
- package/assets/esri/core/workers/chunks/760dfd585b6c2c1937ce.js +0 -1
- package/assets/esri/core/workers/chunks/76449e50222111ba0eb1.js +0 -1
- package/assets/esri/core/workers/chunks/76789f46b2c65d219cf9.js +0 -1
- package/assets/esri/core/workers/chunks/76bed5497f42f23a27ed.js +0 -1
- package/assets/esri/core/workers/chunks/7849cf0352c0a604e164.js +0 -1
- package/assets/esri/core/workers/chunks/7908aed639521cf572e8.js +0 -1
- package/assets/esri/core/workers/chunks/7d65a8ec5e1f871b9321.js +0 -1
- package/assets/esri/core/workers/chunks/7e4093f42795ba2f8cfd.js +0 -1
- package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +0 -1
- package/assets/esri/core/workers/chunks/804c31973f7d116523cb.js +0 -1
- package/assets/esri/core/workers/chunks/81726d997a2d34449bb2.js +0 -1
- package/assets/esri/core/workers/chunks/81883bca8a79ee2ddb00.js +0 -1
- package/assets/esri/core/workers/chunks/832ecc1f7d45774c4726.js +0 -1
- package/assets/esri/core/workers/chunks/8461f50e9875db4ccfec.js +0 -1
- package/assets/esri/core/workers/chunks/8598997340682113a2a5.js +0 -1
- package/assets/esri/core/workers/chunks/860a0f9d20f53db1caf4.js +0 -1
- package/assets/esri/core/workers/chunks/867e39bb444947c93586.js +0 -1
- package/assets/esri/core/workers/chunks/88ec63501fa2f6fdadca.js +0 -1
- package/assets/esri/core/workers/chunks/8980767c5b626e4dc3b9.js +0 -1
- package/assets/esri/core/workers/chunks/89dd1b1acb0d69264c93.js +0 -1
- package/assets/esri/core/workers/chunks/8a66a3e8391206f7d8aa.js +0 -1
- package/assets/esri/core/workers/chunks/8a8b7ac6693bdfbebf07.js +0 -1
- package/assets/esri/core/workers/chunks/8ad5e80e911419c1685a.js +0 -1
- package/assets/esri/core/workers/chunks/8b526ca2dd6fc6a7e921.js +0 -1
- package/assets/esri/core/workers/chunks/8e80441eddef1b5be8b9.js +0 -1
- package/assets/esri/core/workers/chunks/8f16a358ed83d2264415.js +0 -1
- package/assets/esri/core/workers/chunks/8fce15ce4cfdccf407f3.js +0 -1
- package/assets/esri/core/workers/chunks/8fd63cb38036f331a803.js +0 -1
- package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +0 -1
- package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +0 -1
- package/assets/esri/core/workers/chunks/937cf55b3b9d324eea73.js +0 -1
- package/assets/esri/core/workers/chunks/93d4bda22bde33fafa57.js +0 -1
- package/assets/esri/core/workers/chunks/9639b1dd27ccc17ee21e.js +0 -1
- package/assets/esri/core/workers/chunks/966d002acec8c72be56a.js +0 -1
- package/assets/esri/core/workers/chunks/986d8c3907aeeb18c4f6.js +0 -1
- package/assets/esri/core/workers/chunks/98e489c2b85feded7776.js +0 -1
- package/assets/esri/core/workers/chunks/9aef0b87f471626abd66.js +0 -1
- package/assets/esri/core/workers/chunks/9ba9a3705623679bc305.js +0 -1
- package/assets/esri/core/workers/chunks/a188d0767825d322f96d.js +0 -1
- package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +0 -1
- package/assets/esri/core/workers/chunks/a638de0102c3990403d1.js +0 -1
- package/assets/esri/core/workers/chunks/a6bda5f17fb1c03f7e4b.js +0 -1
- package/assets/esri/core/workers/chunks/a6dc01847f39413f78b8.js +0 -1
- package/assets/esri/core/workers/chunks/acc733b4881c3e4e503e.js +0 -1
- package/assets/esri/core/workers/chunks/b022debf9e0bc2bff0e2.js +0 -1
- package/assets/esri/core/workers/chunks/b09935d0105d50a0971b.js +0 -1
- package/assets/esri/core/workers/chunks/b12fc1b5a9da97346684.js +0 -1
- package/assets/esri/core/workers/chunks/b4323e69e624c6b51754.js +0 -1
- package/assets/esri/core/workers/chunks/b45e91249a8ea1559a2b.js +0 -1
- package/assets/esri/core/workers/chunks/b50a42a9f96515beb929.js +0 -1
- package/assets/esri/core/workers/chunks/b5141f240ca79729686d.js +0 -1
- package/assets/esri/core/workers/chunks/b549a4d4b1a34bee8beb.js +0 -1
- package/assets/esri/core/workers/chunks/bb89b6fd93513c61b2d3.js +0 -1
- package/assets/esri/core/workers/chunks/bc553ecc8cbcc1b02717.js +0 -1
- package/assets/esri/core/workers/chunks/bcba02f61cf0abcb5600.js +0 -1
- package/assets/esri/core/workers/chunks/bccc199af4e2e49f7acd.js +0 -1
- package/assets/esri/core/workers/chunks/bd0f488e228a75fbefb3.js +0 -30
- package/assets/esri/core/workers/chunks/bd155794e9bc16dd0474.js +0 -1
- package/assets/esri/core/workers/chunks/bf6ae205fbfbfcd1a0ee.js +0 -1
- package/assets/esri/core/workers/chunks/c148ad0ea9258046ac1f.js +0 -1
- package/assets/esri/core/workers/chunks/c228b058dd91bf0e1102.js +0 -1
- package/assets/esri/core/workers/chunks/c4e44fde4bc4ff89e2bc.js +0 -1
- package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +0 -1
- package/assets/esri/core/workers/chunks/c610ccbfdb1c5b06c217.js +0 -1
- package/assets/esri/core/workers/chunks/c660a5a1086870a3a6b9.js +0 -1
- package/assets/esri/core/workers/chunks/c8b7ffc5cb3f1493129e.js +0 -1
- package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +0 -1
- package/assets/esri/core/workers/chunks/c93a68618674b38b932e.js +0 -1
- package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +0 -1
- package/assets/esri/core/workers/chunks/cc0efa716b8414a44398.js +0 -1
- package/assets/esri/core/workers/chunks/cd66bd30f654fe571e57.js +0 -1
- package/assets/esri/core/workers/chunks/cd88e6f02bc2e5b67abf.js +0 -1
- package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +0 -1
- package/assets/esri/core/workers/chunks/cfbbfa5edffa57bd3a8e.js +0 -1
- package/assets/esri/core/workers/chunks/d0217187aed8bb7038f4.js +0 -1
- package/assets/esri/core/workers/chunks/d1928a8c86a8966e5582.js +0 -1
- package/assets/esri/core/workers/chunks/d2745886ba5a86fd5c4c.js +0 -680
- package/assets/esri/core/workers/chunks/d4c341b15d9244276fb9.js +0 -1
- package/assets/esri/core/workers/chunks/d5faab9799891e5da5a8.js +0 -1
- package/assets/esri/core/workers/chunks/d811924acc9c0be95bba.js +0 -1
- package/assets/esri/core/workers/chunks/db90fb8ac96579259566.js +0 -1
- package/assets/esri/core/workers/chunks/dd0acd0f8b96839b4f24.js +0 -2
- package/assets/esri/core/workers/chunks/dd785e595cd08b2d6284.js +0 -1
- package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +0 -1
- package/assets/esri/core/workers/chunks/e1ddb8e4977b317fd40c.js +0 -1
- package/assets/esri/core/workers/chunks/e4015870412edd69453c.js +0 -1
- package/assets/esri/core/workers/chunks/e7cb1b72f0b54e845741.js +0 -1
- package/assets/esri/core/workers/chunks/e7e7c7cbfd8542bd7a46.js +0 -1
- package/assets/esri/core/workers/chunks/e80376832050a4b6d28a.js +0 -1
- package/assets/esri/core/workers/chunks/e8a885b576da3ec145d3.js +0 -1
- package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +0 -1
- package/assets/esri/core/workers/chunks/e961c6140c39921816a8.js +0 -1
- package/assets/esri/core/workers/chunks/eb7daa0f6610983ff8db.js +0 -1
- package/assets/esri/core/workers/chunks/eb842cf470ce28a73187.js +0 -1
- package/assets/esri/core/workers/chunks/eeea5710275c967e8d51.js +0 -1
- package/assets/esri/core/workers/chunks/ef32e454012f3b0e3f77.js +0 -1
- package/assets/esri/core/workers/chunks/f31a8e76f1dde23c0900.js +0 -1
- package/assets/esri/core/workers/chunks/f50bba74ae72c07e131a.js +0 -1
- package/assets/esri/core/workers/chunks/f58ddf37dee066a5c0d8.js +0 -1
- package/assets/esri/core/workers/chunks/f80cadcc2a588da63b38.js +0 -1
- package/assets/esri/core/workers/chunks/f83e3ad67b60744afd6d.js +0 -1
- package/assets/esri/core/workers/chunks/f859c53432f258af77e3.js +0 -2
- package/assets/esri/core/workers/chunks/f8bbb52b865a0a242140.js +0 -1
- package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +0 -1
- package/assets/esri/core/workers/chunks/f9592bcdd9988199a7ea.js +0 -1
- package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +0 -1
- package/assets/esri/core/workers/chunks/ff7e1eb2366d4301d288.js +0 -1
- package/assets/esri/themes/base/_colorVariables.scss +0 -1
- package/assets/esri/themes/base/widgets/_DatePicker.scss +0 -170
- package/assets/esri/themes/base/widgets/_FeatureUtilityNetworkAssociationList.scss +0 -13
- package/assets/esri/themes/base/widgets/_TimePicker.scss +0 -15
- package/chunks/CutFillDepth.glsl.js +0 -2
- package/core/PLRUCache.js +0 -2
- package/views/2d/engine/webgl/BitBlitRenderer.js +0 -2
- package/views/2d/engine/webgl/WorldExtentClipRenderer.js +0 -2
- package/views/2d/engine/webgl/effects/highlight/HighlightRenderer.js +0 -2
- package/views/2d/engine/webgl/shaders/BitBlitPrograms.js +0 -2
- package/views/2d/engine/webgl/shaders/HighlightPrograms.js +0 -2
- package/views/2d/engine/webgl/shaders/StencilPrograms.js +0 -2
- package/views/3d/webgl-engine/shaders/CutFillDepthTechnique.js +0 -2
- package/views/3d/webgl-engine/shaders/CutFillDepthTechniqueConfiguration.js +0 -2
- package/views/support/euclideanAreaMeasurementUtils.js +0 -2
- package/widgets/ShadowCast/ShadowVisualizationType.js +0 -2
- /package/assets/esri/core/workers/chunks/{47948c72bc01bd173c20.js.LICENSE.txt → 24c0b3586bb6500eda53.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{f859c53432f258af77e3.js.LICENSE.txt → 394716bd1ecfd638d708.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{1040bce57ea63a6dbca4.js.LICENSE.txt → 55af58b6dff52dc040fe.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{dd0acd0f8b96839b4f24.js.LICENSE.txt → 5b18696109fe84a1010a.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8419],{5482(t,e,n){function r(t,e,n,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(s=t[u])&&(o=(i<3?s(o):i>3?s(e,n,o):s(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o}function s(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>o,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function o(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function s(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(t){return e(t),s()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},11006(t,e,n){function r(t,e,n,r,i){s(t,e,n||0,r||t.length-1,i||o)}function s(t,e,n,r,o){for(;r>n;){if(r-n>600){var u=r-n+1,a=e-n+1,c=Math.log(u),l=.5*Math.exp(2*c/3),f=.5*Math.sqrt(c*l*(u-l)/u)*(a-u/2<0?-1:1);s(t,e,Math.max(n,Math.floor(e-a*l/u+f)),Math.min(r,Math.floor(e+(u-a)*l/u+f)),o)}var h=t[e],p=n,d=r;for(i(t,n,e),o(t[r],h)>0&&i(t,n,r);p<d;){for(i(t,p,d),p++,d--;o(t[p],h)<0;)p++;for(;o(t[d],h)>0;)d--}0===o(t[n],h)?i(t,n,d):i(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function o(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},73354(t,e,n){n.d(e,{a:()=>i,b:()=>u,c:()=>s,d:()=>o,e:()=>h,f:()=>l,l:()=>c,n:()=>p,t:()=>f}),n(44208);var r=n(72727);function s(t,e,n){i(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function i(t,e,n,s=3,i=s){const o=(0,r.k)(t.length,s,3),u=(0,r.k)(e.length,i,3),a=Math.min(o,u),c=n[0],l=n[1],f=n[2],h=n[4],p=n[5],d=n[6],y=n[8],m=n[9],M=n[10],g=n[12],B=n[13],x=n[14];let T=0,b=0;for(let n=0;n<a;n++){const n=e[T],r=e[T+1],o=e[T+2];t[b]=c*n+h*r+y*o+g,t[b+1]=l*n+p*r+m*o+B,t[b+2]=f*n+d*r+M*o+x,T+=i,b+=s}return t}function o(t,e,n){u(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function u(t,e,n,s=3,i=s){const o=(0,r.k)(t.length,s,3),u=(0,r.k)(e.length,i,3),a=Math.min(o,u),c=n[0],l=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],M=n[8];let g=0,B=0;for(let n=0;n<a;n++){const n=e[g],r=e[g+1],o=e[g+2];t[B]=c*n+h*r+y*o,t[B+1]=l*n+p*r+m*o,t[B+2]=f*n+d*r+M*o,g+=i,B+=s}}function a(t,e,n,r=3,s=r){const i=Math.min(t.length/r,e.length/s);let o=0,u=0;for(let a=0;a<i;a++)t[u]=n*e[o],t[u+1]=n*e[o+1],t[u+2]=n*e[o+2],o+=s,u+=r;return t}function c(t,e,n,r){l(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function l(t,e,n,r,s=3,i=s){const o=Math.min(t.length/s,e.length/i);let u=0,a=0;const c=1/2.2;for(let l=0;l<o;l++)t[a]=r*(n*e[u])**c,t[a+1]=r*(n*e[u+1])**c,t[a+2]=r*(n*e[u+2])**c,u+=i,a+=s}function f(t,e,n,s=3,i=s){const o=(0,r.k)(t.length,s,3),u=(0,r.k)(e.length,i,3),a=Math.min(o,u);let c=0,l=0;for(let r=0;r<a;r++)t[l]=e[c]+n[0],t[l+1]=e[c+1]+n[1],t[l+2]=e[c+2]+n[2],c+=i,l+=s;return t}function h(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,r=n){const s=Math.min(t.length/n,e.length/r);let i=0,o=0;for(let u=0;u<s;u++){const s=e[i],u=e[i+1],a=e[i+2],c=s*s+u*u+a*a;if(c>0){const e=1/Math.sqrt(c);t[o]=e*s,t[o+1]=e*u,t[o+2]=e*a}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:l,linearToSRGBView:c,normalize:p,normalizeView:h,scale:a,scaleView:function(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),s=t.typedBuffer,i=t.typedBufferStride,o=e.typedBuffer,u=e.typedBufferStride;let a=0,c=0;for(let t=0;t<r;t++)s[c]=o[a]>>n,s[c+1]=o[a+1]>>n,s[c+2]=o[a+2]>>n,a+=u,c+=i},transformMat3:u,transformMat3View:o,transformMat4:i,transformMat4View:s,translate:f},Symbol.toStringTag,{value:"Module"}))},50867(t,e,n){n.d(e,{a:()=>s,b:()=>c,l:()=>a,n:()=>o,t:()=>i}),n(44208);var r=n(72727);function s(t,e,n){i(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function i(t,e,n,s=4,i=s){const o=(0,r.k)(t.length,s,4),u=(0,r.k)(e.length,i,4),a=Math.min(o,u),c=n[0],l=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],M=n[8];let g=0,B=0;for(let n=0;n<a;n++){const n=e[g],r=e[g+1],o=e[g+2],u=e[g+3];t[B]=c*n+h*r+y*o,t[B+1]=l*n+p*r+m*o,t[B+2]=f*n+d*r+M*o,t[B+3]=u,g+=i,B+=s}}function o(t,e){const n=Math.min(t.count,e.count),r=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,o=e.typedBufferStride;for(let t=0;t<n;t++){const e=t*s,n=t*o,u=i[n],a=i[n+1],c=i[n+2],l=u*u+a*a+c*c;if(l>0){const t=1/Math.sqrt(l);r[e]=t*u,r[e+1]=t*a,r[e+2]=t*c}}}function u(t,e,n,r=4){const s=Math.min(t.length/r,e.count),i=e.typedBuffer,o=e.typedBufferStride;let u=0,a=0;for(let e=0;e<s;e++)t[a]=n*i[u],t[a+1]=n*i[u+1],t[a+2]=n*i[u+2],t[a+3]=n*i[u+3],u+=o,a+=r}function a(t,e,n,r){c(t.typedBuffer,e,n,r,t.typedBufferStride)}function c(t,e,n,r,s=4){const i=Math.min(t.length/s,e.count),o=e.typedBuffer,u=e.typedBufferStride;let a=0,c=0;const l=1/2.2;for(let e=0;e<i;e++)t[c]=r*(n*o[a])**l,t[c+1]=r*(n*o[a+1])**l,t[c+2]=r*(n*o[a+2])**l,t[c+3]=r*n*o[a+3],a+=u,c+=s}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:a,normalize:o,scale:u,scaleView:function(t,e,n){u(t.typedBuffer,e,n,t.typedBufferStride)},transformMat3:i,transformMat3View:s,transformMat4:function(t,e,n,s=4,i=s){const o=(0,r.k)(t.length,s,4),u=(0,r.k)(e.length,i,4),a=Math.min(o,u),c=n[0],l=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],M=n[8],g=n[9],B=n[10],x=n[11],T=n[12],b=n[13],E=n[14],v=n[15];let A=0,w=0;for(let n=0;n<a;n++){const n=e[A],r=e[A+1],o=e[A+2],u=e[A+3];t[w]=c*n+p*r+M*o+T*u,t[w+1]=l*n+d*r+g*o+b*u,t[w+2]=f*n+y*r+B*o+E*u,t[w+3]=h*n+m*r+x*o+v*u,A+=i,w+=s}},transformMat4View:function(t,e,n){const s=t.typedBuffer,i=t.typedBufferStride,o=e.typedBuffer,u=e.typedBufferStride,a=(0,r.k)(s.length,i,4),c=(0,r.k)(o.length,u,4),l=Math.min(a,c),f=n[0],h=n[1],p=n[2],d=n[3],y=n[4],m=n[5],M=n[6],g=n[7],B=n[8],x=n[9],T=n[10],b=n[11],E=n[12],v=n[13],A=n[14],w=n[15];for(let t=0;t<l;t++){const e=t*i,n=t*u,r=o[n],a=o[n+1],c=o[n+2],l=o[n+3];s[e]=f*r+y*a+B*c+E*l,s[e+1]=h*r+m*a+x*c+v*l,s[e+2]=p*r+M*a+T*c+A*l,s[e+3]=d*r+g*a+b*c+w*l}}},Symbol.toStringTag,{value:"Module"}))},69540(t,e,n){var r=n(5482),s=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),u=n(88620),a=n(64108);const c=Symbol("ClonableMixin"),l=t=>{var e;const n=t;let s=class extends n{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 n=e.metadata,r=e.store,s={},a=new Map;for(const e in n){const o=n[e],u=r?.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,i.TU)(l,t),null!=l&&null==f)continue;0===u?a.set(e,f):s[e]=f}const c=new(0,Object.getPrototypeOf(this).constructor)(s);if(a.size){const t=(0,u.oY)(c)?.store;if(t)for(const[e,n]of a)t.set(e,n,0)}return c}};return s=(0,r.Cg)([(0,a.$)("esri.core.Clonable")],s),s},f=l(s.A);n.d(e,["OU",0,l,"Pw",0,f])},95488(t,e,n){n.d(e,{I:()=>s});var r=n(11406);class s extends r.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,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});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,u,a,c,l,f,h,p,d,y){return[t,e,n,r,s,i,o,u,a,c,l,f,h,p,d,y]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["zK",0,i])},48163(t,e,n){function r(){return[0,0]}function s(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function o(){return i(1,1)}function u(){return i(-1,-1)}function a(){return i(1,0)}function c(){return i(0,1)}n.d(e,{fA:()=>i,o8:()=>s,vt:()=>r});const l=o(),f=u(),h=a(),p=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:f,ONES:l,UNIT_X:h,UNIT_Y:p,ZEROS:[0,0],clone:s,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,negativeOnes:u,ones:o,unitX:a,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["IA",0,f,"Un",0,l])},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 u(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 a(){return[0,0,0]}function c(){return i(1,1,1)}function l(){return i(1,0,0)}function f(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(e,{CN:()=>o,S:()=>c,Ul:()=>a,ci:()=>u,fA:()=>i,o8:()=>s,vt:()=>r});const p=[0,0,0],d=c(),y=l(),m=f(),M=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:y,UNIT_Y:m,UNIT_Z:M,ZEROS:p,clone:s,create:r,freeze:o,fromArray:u,fromValues:i,ones:c,unitX:l,unitY:f,unitZ:h,zeros:a},Symbol.toStringTag,{value:"Module"})),n.d(e,["Cb",0,M,"Cw",0,y,"JP",0,m,"Un",0,d,"uY",0,p])},91829(t,e,n){function r(){return[0,0,0,0]}function s(t,e,n,r){return[t,e,n,r]}function i(t,e,n,r){return[t,e,n,r]}function o(){return s(1,1,1,1)}function u(){return s(1,0,0,0)}function a(){return s(0,1,0,0)}function c(){return s(0,0,1,0)}function l(){return s(0,0,0,1)}n.d(e,{CN:()=>i,_Y:()=>l,fA:()=>s,vt:()=>r});const f=[0,0,0,0],h=o(),p=u(),d=a(),y=c(),m=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:p,UNIT_Y:d,UNIT_Z:y,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:i,fromArray:function(t,e=[0,0,0,0]){const n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:s,ones:o,unitW:l,unitX:u,unitY:a,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Un",0,h,"uY",0,f])},58083(t,e,n){n.d(e,{$0:()=>M,$h:()=>S,B8:()=>l,C:()=>i,D_:()=>u,N9:()=>B,O7:()=>w,Qw:()=>c,Tl:()=>h,X_:()=>E,e$:()=>d,eL:()=>y,hM:()=>g,hZ:()=>o,hs:()=>p,kN:()=>m,l:()=>v,lw:()=>f,mg:()=>a,o1:()=>A,sC:()=>b,t2:()=>O,t5:()=>R,tZ:()=>I,ut:()=>C,v3:()=>_});var r=n(51850),s=n(34304);function i(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,n,r,s,i,o,u,a,c,l,f,h,p,d,y,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t[4]=i,t[5]=o,t[6]=u,t[7]=a,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=p,t[13]=d,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 n=e[1],r=e[2],s=e[3],i=e[6],o=e[7],u=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=i,t[11]=e[14],t[12]=s,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){return l(t,e)||u(t),t}function l(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],u=e[5],a=e[6],c=e[7],l=e[8],f=e[9],h=e[10],p=e[11],d=e[12],y=e[13],m=e[14],M=e[15],g=n*u-r*o,B=n*a-s*o,x=n*c-i*o,T=r*a-s*u,b=r*c-i*u,E=s*c-i*a,v=l*y-f*d,A=l*m-h*d,w=l*M-p*d,S=f*m-h*y,_=f*M-p*y,R=h*M-p*m;let P=g*R-B*_+x*S+T*w-b*A+E*v;return P?(P=1/P,t[0]=(u*R-a*_+c*S)*P,t[1]=(s*_-r*R-i*S)*P,t[2]=(y*E-m*b+M*T)*P,t[3]=(h*b-f*E-p*T)*P,t[4]=(a*w-o*R-c*A)*P,t[5]=(n*R-s*w+i*A)*P,t[6]=(m*x-d*E-M*B)*P,t[7]=(l*E-h*x+p*B)*P,t[8]=(o*_-u*w+c*v)*P,t[9]=(r*w-n*_-i*v)*P,t[10]=(d*b-y*x+M*g)*P,t[11]=(f*x-l*b-p*g)*P,t[12]=(u*A-o*S-a*v)*P,t[13]=(n*S-r*A+s*v)*P,t[14]=(y*B-d*T-m*g)*P,t[15]=(l*T-f*B+h*g)*P,t):null}function f(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],u=e[4],a=e[5],c=e[6],l=e[7],f=e[8],h=e[9],p=e[10],d=e[11],y=e[12],m=e[13],M=e[14],g=e[15];let B=n[0],x=n[1],T=n[2],b=n[3];return t[0]=B*r+x*u+T*f+b*y,t[1]=B*s+x*a+T*h+b*m,t[2]=B*i+x*c+T*p+b*M,t[3]=B*o+x*l+T*d+b*g,B=n[4],x=n[5],T=n[6],b=n[7],t[4]=B*r+x*u+T*f+b*y,t[5]=B*s+x*a+T*h+b*m,t[6]=B*i+x*c+T*p+b*M,t[7]=B*o+x*l+T*d+b*g,B=n[8],x=n[9],T=n[10],b=n[11],t[8]=B*r+x*u+T*f+b*y,t[9]=B*s+x*a+T*h+b*m,t[10]=B*i+x*c+T*p+b*M,t[11]=B*o+x*l+T*d+b*g,B=n[12],x=n[13],T=n[14],b=n[15],t[12]=B*r+x*u+T*f+b*y,t[13]=B*s+x*a+T*h+b*m,t[14]=B*i+x*c+T*p+b*M,t[15]=B*o+x*l+T*d+b*g,t}function h(t,e,n){const r=n[0],s=n[1],i=n[2];if(e===t)t[12]=e[0]*r+e[4]*s+e[8]*i+e[12],t[13]=e[1]*r+e[5]*s+e[9]*i+e[13],t[14]=e[2]*r+e[6]*s+e[10]*i+e[14],t[15]=e[3]*r+e[7]*s+e[11]*i+e[15];else{const n=e[0],o=e[1],u=e[2],a=e[3],c=e[4],l=e[5],f=e[6],h=e[7],p=e[8],d=e[9],y=e[10],m=e[11];t[0]=n,t[1]=o,t[2]=u,t[3]=a,t[4]=c,t[5]=l,t[6]=f,t[7]=h,t[8]=p,t[9]=d,t[10]=y,t[11]=m,t[12]=n*r+c*s+p*i+e[12],t[13]=o*r+l*s+d*i+e[13],t[14]=u*r+f*s+y*i+e[14],t[15]=a*r+h*s+m*i+e[15]}return t}function p(t,e,n){const r=n[0],s=n[1],i=n[2];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]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function d(t,e,n,r){let o=r[0],u=r[1],a=r[2],c=Math.sqrt(o*o+u*u+a*a);if(c<=(0,s.FD)())return void i(t,e);c=1/c,o*=c,u*=c,a*=c;const l=Math.sin(n),f=Math.cos(n),h=1-f,p=e[0],d=e[1],y=e[2],m=e[3],M=e[4],g=e[5],B=e[6],x=e[7],T=e[8],b=e[9],E=e[10],v=e[11],A=o*o*h+f,w=u*o*h+a*l,S=a*o*h-u*l,_=o*u*h-a*l,R=u*u*h+f,P=a*u*h+o*l,O=o*a*h+u*l,C=u*a*h-o*l,I=a*a*h+f;t[0]=p*A+M*w+T*S,t[1]=d*A+g*w+b*S,t[2]=y*A+B*w+E*S,t[3]=m*A+x*w+v*S,t[4]=p*_+M*R+T*P,t[5]=d*_+g*R+b*P,t[6]=y*_+B*R+E*P,t[7]=m*_+x*R+v*P,t[8]=p*O+M*C+T*I,t[9]=d*O+g*C+b*I,t[10]=y*O+B*C+E*I,t[11]=m*O+x*C+v*I,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function y(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=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]=i*s+c*r,t[5]=o*s+l*r,t[6]=u*s+f*r,t[7]=a*s+h*r,t[8]=c*s-i*r,t[9]=l*s-o*r,t[10]=f*s-u*r,t[11]=h*s-a*r,t}function m(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,n){if(0===e)return u(t);let r=n[0],i=n[1],o=n[2],a=Math.sqrt(r*r+i*i+o*o);if(a<=(0,s.FD)())return null;a=1/a,r*=a,i*=a,o*=a;const c=Math.sin(e),l=Math.cos(e),f=1-l;return t[0]=r*r*f+l,t[1]=i*r*f+o*c,t[2]=o*r*f-i*c,t[3]=0,t[4]=r*i*f-o*c,t[5]=i*i*f+l,t[6]=o*i*f+r*c,t[7]=0,t[8]=r*o*f+i*c,t[9]=i*o*f-r*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 n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,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 x(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],u=r+r,a=s+s,c=i+i,l=r*u,f=r*a,h=r*c,p=s*a,d=s*c,y=i*c,m=o*u,M=o*a,g=o*c;return t[0]=1-(p+y),t[1]=f+g,t[2]=h-M,t[3]=0,t[4]=f-g,t[5]=1-(l+y),t[6]=d+m,t[7]=0,t[8]=h+M,t[9]=d-m,t[10]=1-(l+p),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const T=(0,r.vt)();function b(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function E(t,e){const n=e[0],r=e[1],s=e[2],i=e[4],o=e[5],u=e[6],a=e[8],c=e[9],l=e[10];return t[0]=Math.sqrt(n*n+r*r+s*s),t[1]=Math.sqrt(i*i+o*o+u*u),t[2]=Math.sqrt(a*a+c*c+l*l),t}function v(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t}function A(t,e,n,r){const s=e[0],i=e[1],o=e[2],u=e[3],a=s+s,c=i+i,l=o+o,f=s*a,h=s*c,p=s*l,d=i*c,y=i*l,m=o*l,M=u*a,g=u*c,B=u*l,x=r[0],T=r[1],b=r[2];return t[0]=(1-(d+m))*x,t[1]=(h+B)*x,t[2]=(p-g)*x,t[3]=0,t[4]=(h-B)*T,t[5]=(1-(f+m))*T,t[6]=(y+M)*T,t[7]=0,t[8]=(p+g)*b,t[9]=(y-M)*b,t[10]=(1-(f+d))*b,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function w(t,e,n,r,s){const i=e[0],o=e[1],u=e[2],a=e[3],c=i+i,l=o+o,f=u+u,h=i*c,p=i*l,d=i*f,y=o*l,m=o*f,M=u*f,g=a*c,B=a*l,x=a*f,T=r[0],b=r[1],E=r[2],v=s[0],A=s[1],w=s[2],S=(1-(y+M))*T,_=(p+x)*T,R=(d-B)*T,P=(p-x)*b,O=(1-(h+M))*b,C=(m+g)*b,I=(d+B)*E,j=(m-g)*E,Y=(1-(h+y))*E;return t[0]=S,t[1]=_,t[2]=R,t[3]=0,t[4]=P,t[5]=O,t[6]=C,t[7]=0,t[8]=I,t[9]=j,t[10]=Y,t[11]=0,t[12]=n[0]+v-(S*v+P*A+I*w),t[13]=n[1]+A-(_*v+O*A+j*w),t[14]=n[2]+w-(R*v+C*A+Y*w),t[15]=1,t}function S(t,e,n,r,s,i,o){const u=1/(n-e),a=1/(s-r),c=1/(i-o);return t[0]=2*i*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*a,t[6]=0,t[7]=0,t[8]=(n+e)*u,t[9]=(s+r)*a,t[10]=(o+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*i*2*c,t[15]=0,t}function _(t,e,n,r,s,i,o){const u=1/(e-n),a=1/(r-s),c=1/(i-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+n)*u,t[13]=(s+r)*a,t[14]=(o+i)*c,t[15]=1,t}function R(t,e,n,r){const i=e[0],o=e[1],a=e[2];let c=i-n[0],l=o-n[1],f=a-n[2];const h=(0,s.FD)();if(Math.abs(c)<h&&Math.abs(l)<h&&Math.abs(f)<h)return void u(t);let p=1/Math.sqrt(c*c+l*l+f*f);c*=p,l*=p,f*=p;const d=r[0],y=r[1],m=r[2];let M=y*f-m*l,g=m*c-d*f,B=d*l-y*c;p=Math.sqrt(M*M+g*g+B*B),p?(p=1/p,M*=p,g*=p,B*=p):(M=0,g=0,B=0);let x=l*B-f*g,T=f*M-c*B,b=c*g-l*M;p=Math.sqrt(x*x+T*T+b*b),p?(p=1/p,x*=p,T*=p,b*=p):(x=0,T=0,b=0),t[0]=M,t[1]=x,t[2]=c,t[3]=0,t[4]=g,t[5]=T,t[6]=l,t[7]=0,t[8]=B,t[9]=b,t[10]=f,t[11]=0,t[12]=-(M*i+g*o+B*a),t[13]=-(x*i+T*o+b*a),t[14]=-(c*i+l*o+f*a),t[15]=1}function P(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function O(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 C(t){const e=(0,s.FD)(),n=t[0],r=t[1],i=t[2],o=t[4],u=t[5],a=t[6],c=t[8],l=t[9],f=t[10];return Math.abs(1-(n*n+o*o+c*c))<=e&&Math.abs(1-(r*r+u*u+l*l))<=e&&Math.abs(1-(i*i+a*a+f*f))<=e}function I(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 j=f,Y=P;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],u=e[5],a=e[6],c=e[7],l=e[8],f=e[9],h=e[10],p=e[11],d=e[12],y=e[13],m=e[14],M=e[15];return t[0]=u*(h*M-p*m)-f*(a*M-c*m)+y*(a*p-c*h),t[1]=-(r*(h*M-p*m)-f*(s*M-i*m)+y*(s*p-i*h)),t[2]=r*(a*M-c*m)-u*(s*M-i*m)+y*(s*c-i*a),t[3]=-(r*(a*p-c*h)-u*(s*p-i*h)+f*(s*c-i*a)),t[4]=-(o*(h*M-p*m)-l*(a*M-c*m)+d*(a*p-c*h)),t[5]=n*(h*M-p*m)-l*(s*M-i*m)+d*(s*p-i*h),t[6]=-(n*(a*M-c*m)-o*(s*M-i*m)+d*(s*c-i*a)),t[7]=n*(a*p-c*h)-o*(s*p-i*h)+l*(s*c-i*a),t[8]=o*(f*M-p*y)-l*(u*M-c*y)+d*(u*p-c*f),t[9]=-(n*(f*M-p*y)-l*(r*M-i*y)+d*(r*p-i*f)),t[10]=n*(u*M-c*y)-o*(r*M-i*y)+d*(r*c-i*u),t[11]=-(n*(u*p-c*f)-o*(r*p-i*f)+l*(r*c-i*u)),t[12]=-(o*(f*m-h*y)-l*(u*m-a*y)+d*(u*h-a*f)),t[13]=n*(f*m-h*y)-l*(r*m-s*y)+d*(r*h-s*f),t[14]=-(n*(u*m-a*y)-o*(r*m-s*y)+d*(r*a-s*u)),t[15]=n*(u*h-a*f)-o*(r*h-s*f)+l*(r*a-s*u),t},copy:i,determinant:function(t){const e=t[0],n=t[1],r=t[2],s=t[3],i=t[4],o=t[5],u=t[6],a=t[7],c=t[8],l=t[9],f=t[10],h=t[11],p=t[12],d=t[13],y=t[14],m=t[15];return(e*o-n*i)*(f*m-h*y)-(e*u-r*i)*(l*m-h*d)+(e*a-s*i)*(l*y-f*d)+(n*u-r*o)*(c*m-h*p)-(n*a-s*o)*(c*y-f*p)+(r*a-s*u)*(c*d-l*p)},equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=t[3],u=t[4],a=t[5],c=t[6],l=t[7],f=t[8],h=t[9],p=t[10],d=t[11],y=t[12],m=t[13],M=t[14],g=t[15],B=e[0],x=e[1],T=e[2],b=e[3],E=e[4],v=e[5],A=e[6],w=e[7],S=e[8],_=e[9],R=e[10],P=e[11],O=e[12],C=e[13],I=e[14],j=e[15],Y=(0,s.FD)();return Math.abs(n-B)<=Y*Math.max(1,Math.abs(n),Math.abs(B))&&Math.abs(r-x)<=Y*Math.max(1,Math.abs(r),Math.abs(x))&&Math.abs(i-T)<=Y*Math.max(1,Math.abs(i),Math.abs(T))&&Math.abs(o-b)<=Y*Math.max(1,Math.abs(o),Math.abs(b))&&Math.abs(u-E)<=Y*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(a-v)<=Y*Math.max(1,Math.abs(a),Math.abs(v))&&Math.abs(c-A)<=Y*Math.max(1,Math.abs(c),Math.abs(A))&&Math.abs(l-w)<=Y*Math.max(1,Math.abs(l),Math.abs(w))&&Math.abs(f-S)<=Y*Math.max(1,Math.abs(f),Math.abs(S))&&Math.abs(h-_)<=Y*Math.max(1,Math.abs(h),Math.abs(_))&&Math.abs(p-R)<=Y*Math.max(1,Math.abs(p),Math.abs(R))&&Math.abs(d-P)<=Y*Math.max(1,Math.abs(d),Math.abs(P))&&Math.abs(y-O)<=Y*Math.max(1,Math.abs(y),Math.abs(O))&&Math.abs(m-C)<=Y*Math.max(1,Math.abs(m),Math.abs(C))&&Math.abs(M-I)<=Y*Math.max(1,Math.abs(M),Math.abs(I))&&Math.abs(g-j)<=Y*Math.max(1,Math.abs(g),Math.abs(j))},exactEquals:O,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 n=e[0],r=e[1],s=e[2],i=e[3],o=n+n,u=r+r,a=s+s,c=n*o,l=r*o,f=r*u,h=s*o,p=s*u,d=s*a,y=i*o,m=i*u,M=i*a;return t[0]=1-f-d,t[1]=l+M,t[2]=h-m,t[3]=0,t[4]=l-M,t[5]=1-c-d,t[6]=p+y,t[7]=0,t[8]=h+m,t[9]=p-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 n=T,r=-e[0],s=-e[1],i=-e[2],o=e[3],u=e[4],a=e[5],c=e[6],l=e[7],f=r*r+s*s+i*i+o*o;return f>0?(n[0]=2*(u*o+l*r+a*i-c*s)/f,n[1]=2*(a*o+l*s+c*r-u*i)/f,n[2]=2*(c*o+l*i+u*s-a*r)/f):(n[0]=2*(u*o+l*r+a*i-c*s),n[1]=2*(a*o+l*s+c*r-u*i),n[2]=2*(c*o+l*i+u*s-a*r)),x(t,e,n),t},fromRotation:M,fromRotationTranslation:x,fromRotationTranslationScale:A,fromRotationTranslationScaleOrigin:w,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:m,fromXRotation:g,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:B,frustum:S,getRotation:v,getScale:E,getTranslation:b,hasIdentityRotation:I,identity:u,invert:l,invertOrIdentity:c,isOrthoNormal:C,lookAt:R,mul:j,multiply:f,multiplyScalar:function(t,e,n){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]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(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[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:_,perspective:function(t,e,n,r,s){const i=1/Math.tan(e/2);let o;return t[0]=i/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,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!=s&&s!==1/0?(o=1/(r-s),t[10]=(s+r)*o,t[14]=2*s*r*o):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const s=Math.tan(e.upDegrees*Math.PI/180),i=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/(s+i);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]=(s-i)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:d,rotateX:y,rotateY:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=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]=i*s-c*r,t[1]=o*s-l*r,t[2]=u*s-f*r,t[3]=a*s-h*r,t[8]=i*r+c*s,t[9]=o*r+l*s,t[10]=u*r+f*s,t[11]=a*r+h*s,t},rotateZ:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=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]=i*s+c*r,t[1]=o*s+l*r,t[2]=u*s+f*r,t[3]=a*s+h*r,t[4]=c*s-i*r,t[5]=l*s-o*r,t[6]=f*s-u*r,t[7]=h*s-a*r,t},scale:p,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:Y,subtract:P,targetTo:function(t,e,n,r){const s=e[0],i=e[1],o=e[2],u=r[0],a=r[1],c=r[2];let l=s-n[0],f=i-n[1],h=o-n[2],p=l*l+f*f+h*h;p>0&&(p=1/Math.sqrt(p),l*=p,f*=p,h*=p);let d=a*h-c*f,y=c*l-u*h,m=u*f-a*l;return p=d*d+y*y+m*m,p>0&&(p=1/Math.sqrt(p),d*=p,y*=p,m*=p),t[0]=d,t[1]=y,t[2]=m,t[3]=0,t[4]=f*m-h*y,t[5]=h*d-l*m,t[6]=l*y-f*d,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=s,t[13]=i,t[14]=o,t[15]=1,t},translate:h,transpose:a},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>A,Bw:()=>i,C:()=>o,Cc:()=>w,DI:()=>b,Io:()=>g,Ln:()=>M,Om:()=>v,Qr:()=>f,Re:()=>c,S8:()=>E,T9:()=>y,WQ:()=>a,Z0:()=>S,_S:()=>p,aI:()=>Y,ei:()=>_,fw:()=>P,g7:()=>O,gL:()=>R,hG:()=>B,hZ:()=>u,hs:()=>m,jk:()=>d,lw:()=>l,m3:()=>x,oW:()=>q,t2:()=>j,tn:()=>h,ze:()=>T});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 u(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function a(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 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,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){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(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 y(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 m(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function M(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 g(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 B(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 x(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function T(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function E(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 v(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function A(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],u=n[1],a=n[2];return t[0]=s*a-i*u,t[1]=i*o-r*a,t[2]=r*u-s*o,t}function w(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 _(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 R(t,e,n){return P(t,e,n[0],n[1],n[2],n[3])}function P(t,e,n,r,s,i){const o=e[0],u=e[1],a=e[2],c=r*a-s*u,l=s*o-n*a,f=n*u-r*o,h=r*f-s*l,p=s*c-n*f,d=n*l-r*c,y=2*i;return t[0]=o+c*y+2*h,t[1]=u+l*y+2*p,t[2]=a+f*y+2*d,t}function O(t,e){E(C,t),E(I,e);const n=v(C,I);return n>1?0:n<-1?Math.PI:Math.acos(n)}const C=(0,r.vt)(),I=(0,r.vt)();function j(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],u=e[1],a=e[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-u)<=c*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(i-a)<=c*Math.max(1,Math.abs(i),Math.abs(a))}function q(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 N=c,X=l,k=f,L=g,Z=B,F=i,z=x;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:a,angle:O,bezier:function(t,e,n,r,s,i){const o=1-i,u=o*o,a=i*i,c=u*o,l=3*i*u,f=3*a*o,h=a*i;return t[0]=e[0]*c+n[0]*l+r[0]*f+s[0]*h,t[1]=e[1]*c+n[1]*l+r[1]*f+s[1]*h,t[2]=e[2]*c+n[2]*l+r[2]*f+s[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,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:A,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],u=n[1],a=n[2],c=s*a-i*u,l=i*o-r*a,f=r*u-s*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:q,dist:L,distance:g,div:k,divide:f,dot:v,equals:Y,exactEquals:j,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,u=o*(2*i-3)+1,a=o*(i-2)+i,c=o*(i-1),l=o*(3-2*i);return t[0]=e[0]*u+n[0]*a+r[0]*c+s[0]*l,t[1]=e[1]*u+n[1]*a+r[1]*c+s[1]*l,t[2]=e[2]*u+n[2]*a+r[2]*c+s[2]*l,t},inverse:b,len:F,length:i,lerp:w,max:y,min:d,mul:X,multiply:l,negate:T,normalize:E,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:m,scaleAndAdd:M,set:u,sign:p,sqrDist:Z,sqrLen:z,squaredDistance:B,squaredLength:x,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:N,subtract:c,transformMat3:_,transformMat4:S,transformQuat:R,transformQuatValues:P},Symbol.toStringTag,{value:"Module"})),n.d(e,["Il",0,F,"jb",0,N,"lo",0,Z,"uE",0,z,"xg",0,L])},78955(t,e,n){n.d(e,{Bw:()=>m,C:()=>s,Cc:()=>x,LI:()=>h,Om:()=>B,S8:()=>g,T9:()=>f,WQ:()=>o,Z0:()=>T,aI:()=>E,hG:()=>y,hZ:()=>i,hs:()=>p,jk:()=>l,m3:()=>M,t2:()=>b});var r=n(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],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[3]=e[3]-n[3],t}function a(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],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[3]=e[3]/n[3],t}function l(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[3]=Math.min(e[3],n[3]),t}function f(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[3]=Math.max(e[3],n[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 p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(n*n+r*r+s*s+i*i)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return n*n+r*r+s*s+i*i}function m(t){const e=t[0],n=t[1],r=t[2],s=t[3];return Math.sqrt(e*e+n*n+r*r+s*s)}function M(t){const e=t[0],n=t[1],r=t[2],s=t[3];return e*e+n*n+r*r+s*s}function g(t,e){const n=e[0],r=e[1],s=e[2],i=e[3];let o=n*n+r*r+s*s+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=n*o,t[1]=r*o,t[2]=s*o,t[3]=i*o),t}function B(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function x(t,e,n,r){const s=e[0],i=e[1],o=e[2],u=e[3];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t[3]=u+r*(n[3]-u),t}function T(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12]*o,t[1]=n[1]*r+n[5]*s+n[9]*i+n[13]*o,t[2]=n[2]*r+n[6]*s+n[10]*i+n[14]*o,t[3]=n[3]*r+n[7]*s+n[11]*i+n[15]*o,t}function b(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function E(t,e){const n=t[0],s=t[1],i=t[2],o=t[3],u=e[0],a=e[1],c=e[2],l=e[3],f=(0,r.FD)();return Math.abs(n-u)<=f*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(s-a)<=f*Math.max(1,Math.abs(s),Math.abs(a))&&Math.abs(i-c)<=f*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(o-l)<=f*Math.max(1,Math.abs(o),Math.abs(l))}const v=u,A=a,w=c,S=d,_=y,R=m,P=M;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:s,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:S,distance:d,div:w,divide:c,dot:B,equals:E,exactEquals:b,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:R,length:m,lerp:x,max:f,min:l,mul:A,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:g,random:function(t,e=1){const n=r.Ov;let s,i,o,u,a,c;do{s=2*n()-1,i=2*n()-1,a=s*s+i*i}while(a>=1);do{o=2*n()-1,u=2*n()-1,c=o*o+u*u}while(c>=1);const l=Math.sqrt((1-a)/c);return t[0]=e*s,t[1]=e*i,t[2]=e*o*l,t[3]=e*u*l,t},round:h,scale:p,scaleAndAdd:function(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[3]=e[3]+n[3]*r,t},set:i,sqrDist:_,sqrLen:P,squaredDistance:y,squaredLength:M,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:v,subtract:u,transformMat4:T,transformQuat:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],u=n[1],a=n[2],c=n[3],l=c*r+u*i-a*s,f=c*s+a*r-o*i,h=c*i+o*s-u*r,p=-o*r-u*s-a*i;return t[0]=l*c+p*-o+f*-a-h*-u,t[1]=f*c+p*-u+h*-o-l*-a,t[2]=h*c+p*-a+l*-u-f*-o,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},75503(t,e,n){n.d(e,{wq:()=>u});var r=n(4576),s=n(21818),i=(n(44208),n(15142)),o=n(11006);class u{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,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(),T.prune(),b.prune(),E.prune(),v.prune()}all(t){a(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(B(t,n))for(T.clear();n;){for(let s=0,i=n.children.length;s<i;s++){const i=n.children[s],o=n.leaf?r(i):i;B(t,o)&&(n.leaf?e(i):g(t,o)?a(i,e):T.push(i))}n=T.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!B(t,e))return!1;for(T.clear();e;){for(let r=0,s=e.children.length;r<s;r++){const s=e.children[r],i=e.leaf?n(s):s;if(B(t,i)){if(e.leaf||g(t,i))return!0;T.push(s)}}e=T.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;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 S([]),this}remove(t){if(!t)return this;let e,n=this._data,i=null,o=0,u=!1;const a=this._toBBox(t);for(E.clear(),v.clear();n||E.length>0;){if(n||(n=E.pop(),i=E.data[E.length-1],o=v.pop()??0,u=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,s.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),E.push(n),this._condense(E),this;u||n.leaf||!g(n,a)?i?(o++,n=i.children[o],u=!1):n=null:(E.push(n),v.push(o),o=0,i=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const s=n-e+1;let i=this._maxEntries;if(s<=i){const r=new S(t.slice(e,n+1));return c(r,this._toBBox),r}r||(r=Math.ceil(Math.log(s)/Math.log(i)),i=Math.ceil(s/i**(r-1)));const o=new _([]);o.height=r;const u=Math.ceil(s/i),a=u*Math.ceil(Math.sqrt(i));x(t,e,n,a,this._compareMinX);for(let s=e;s<=n;s+=a){const e=Math.min(s+a-1,n);x(t,s,e,u,this._compareMinY);for(let n=s;n<=e;n+=u){const s=Math.min(n+u-1,e);o.children.push(this._build(t,n,s,r-1))}}return c(o,this._toBBox),o}_insert(t,e,n){const r=this._toBBox,s=n?t:r(t);E.clear();const i=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,s=1/0;for(let i=0,o=e.children.length;i<o;i++){const o=e.children[i],u=d(o),a=m(t,o)-u;a<s?(s=a,r=u<r?u:r,n=o):a===s&&u<r&&(r=u,n=o)}e=n||e.children[0]}return e}(s,this._data,e,E);for(i.children.push(t),f(i,s);e>=0&&E.data[e].children.length>this._maxEntries;)this._split(E,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(s,E,e)}_split(t,e){const n=t.data[e],r=n.children.length,s=this._minEntries;this._chooseSplitAxis(n,s,r);const i=this._chooseSplitIndex(n,s,r);if(!i)return;const o=n.children.splice(i,n.children.length-i),u=n.leaf?new S(o):new _(o);u.height=n.height,c(n,this._toBBox),c(u,this._toBBox),e?t.data[e-1].children.push(u):this._splitRoot(n,u)}_splitRoot(t,e){this._data=new _([t,e]),this._data.height=t.height+1,c(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,s,i;r=s=1/0;for(let o=e;o<=n-e;o++){const e=l(t,0,o,this._toBBox),u=l(t,o,n,this._toBBox),a=M(e,u),c=d(e)+d(u);a<r?(r=a,i=o,s=c<s?c:s):a===r&&c<s&&(s=c,i=o)}return i}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,s=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,s)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const s=this._toBBox,i=l(t,0,e,s),o=l(t,n-e,n,s);let u=y(i)+y(o);for(let r=e;r<n-e;r++){const e=t.children[r];f(i,t.leaf?s(e):e),u+=y(i)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(o,t.leaf?s(e):e),u+=y(o)}return u}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const s=t.data[e-1],i=s.children;i.splice((0,r.qh)(i,n,i.length,s.indexHint),1)}else this.clear();else c(n,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 n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,s.z)(t));else b.pushArray(n.children);n=b.pop()??null}}function c(t,e){l(t,0,t.children.length,e,t)}function l(t,e,n,r,s){s||(s=new S([])),s.minX=1/0,s.minY=1/0,s.maxX=-1/0,s.maxY=-1/0;for(let i,o=e;o<n;o++)i=t.children[o],f(s,t.leaf?r(i):i);return s}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 p(t,e){return t.minY-e.minY}function d(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 M(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),s=Math.min(t.maxX,e.maxX),i=Math.min(t.maxY,e.maxY);return Math.max(0,s-n)*Math.max(0,i-r)}function g(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 x(t,e,n,r,s){const i=[e,n];for(;i.length;){const e=i.pop(),n=i.pop();if(e-n<=r)continue;const u=n+Math.ceil((e-n)/r/2)*r;(0,o.q)(t,u,n,e,s),i.push(n,u,u,e)}}const T=new i.A,b=new i.A,E=new i.A,v=new i.A({deallocator:void 0});class A{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class w extends A{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class S extends w{constructor(t){super(),this.children=t,this.leaf=!0}}class _ extends w{constructor(t){super(),this.children=t,this.leaf=!1}}},48526(t,e,n){n.d(e,{A:()=>m});var r,s=n(5482),i=n(4576),o=n(4718),u=n(91429),a=n(5443),c=n(91075),l=n(86738),f=n(16930),h=n(90634),p=n(47610),d=n(56993),y=n(43937);let m=r=class extends c.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:s}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=f.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:s}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,h.ge)(this);return t?new a.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:s}=this;return new r({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:s})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,i.aI)(this.points,t.points,p.v6)}addPoint(t){return(0,d.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new l.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new l.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,s.Cg)([(0,u.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,s.Cg)([(0,u.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],m.prototype,"points",void 0),(0,s.Cg)([(0,y.K)("points")],m.prototype,"writePoints",null),m=r=(0,s.Cg)([(0,u.$K)("esri.geometry.Multipoint")],m),m.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>d});var r,s=n(5482),i=n(4718),o=n(91429),u=n(5443),a=n(91075),c=n(86738),l=n(16930),f=n(90634),h=n(56993),p=n(43937);let d=r=class extends a.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:s}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=l.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:s}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,i.o8)(t)}get extent(){const t=(0,f.Z3)(this),{spatialReference:e}=this;return t?new u.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,i.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,i.o8)(this.paths),t.curvePaths=(0,i.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,s=this.hasM;return r&&!s?new c.A(n[0],n[1],n[2],void 0,this.spatialReference):s&&!r?new c.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&s?new c.A(n[0],n[1],n[2],n[3],this.spatialReference):new c.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,h.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new c.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new c.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,h.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,s.Cg)([(0,p.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,s.Cg)([(0,p.K)("paths")],d.prototype,"writePaths",null),d=r=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},159(t,e,n){n.d(e,{A:()=>c});var r,s=n(5482),i=n(69540),o=n(25482),u=n(91429),a=n(99157);let c=r=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,s.Cg)([(0,u.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],c.prototype,"steps",void 0),c=r=(0,s.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformation")],c)},99157(t,e,n){n.d(e,{A:()=>a});var r,s=n(5482),i=n(69540),o=n(25482),u=n(91429);let a=r=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,s.Cg)([(0,u.MZ)({json:{name:"transformForward",read:t=>!t,write:(t,e,n)=>{e[n]=!t}}})],a.prototype,"isInverse",void 0),(0,s.Cg)([(0,u.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,s.Cg)([(0,u.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=r=(0,s.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},48353(t,e,n){n.d(e,{l:()=>c});var r=n(34727),s=n(58083),i=n(51850);function o(t,e,n){const r=Math.sin(t),s=Math.cos(t),i=Math.sin(e),o=Math.cos(e),u=n;return u[0]=-r,u[4]=-i*s,u[8]=o*s,u[12]=0,u[1]=s,u[5]=-i*r,u[9]=o*r,u[13]=0,u[2]=0,u[6]=o,u[10]=i,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}var u=n(49208),a=n(21325);function c(t,e,n,r){const i=(0,u.Tp)(t,r);if(null==i)return!1;const c=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(c===d&&!l(d)&&(0!==c||(0,a.aI)(t,r)))return(0,s.kN)(n,e),!0;if(l(d)){const t=u.w5[c][10],r=u.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),o(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const y=l(c);if((3===d||11===d||2===d||5===d)&&(2===c||y||3===c||5===c)){const t=u.w5[c][10],r=u.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),y?function(t,e,n){o(t,e,n),(0,s.mg)(n,n)}(f*h[0],f*h[1],n):(0,s.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function l(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>s});var r=n(49208);function s(t,e,n,s,i,o,u=Math.floor(t.length/3)){const a=(0,r.jd)(e,i);if(null==a)return!1;if(a===r.pO){if(t===s&&n===o)return!0;const e=n+3*u;for(let r=n,i=o;r<e;r++,i++)s[i]=t[r]??0;return!0}const c=n+3*u;for(let e=n,r=o;e<c;e+=3,r+=3)a(t,e,s,r);return!0}},65806(t,e,n){n.d(e,{g:()=>o});var r=n(51850),s=n(91218),i=n(9762);function o(t,e,n,r){if((0,s.canProjectWithoutEngine)(t.spatialReference,n))return u[0]=t.x,u[1]=t.y,u[2]=t.z??0,(0,i.projectBuffer)(u,t.spatialReference,0,e,n,0);const o=(0,s.tryProject)(t,n,r);return!!o&&(e[0]=o.x,e[1]=o.y,e[2]=o.z??0,!0)}const u=(0,r.vt)()},49208(t,e,n){n.d(e,{Tp:()=>f,jd:()=>l,pO:()=>p});var r=n(34727),s=n(86211),i=n(73941),o=n(79258),u=n(34403),a=n(21325);const c={2:{5:p,7:null,9:null,10:p,1:T,6:null,8:null,0:null,3:y,11:m,2:p,4:w},5:{5:p,7:null,9:null,10:p,1:T,6:null,8:null,0:null,3:y,11:m,2:p,4:w},7:{5:null,7:p,9:null,10:p,1:null,6:x,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:B,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(t,e,n,r){const s=t[e]/C,i=O-2*Math.atan(Math.exp(-t[e+1]/C)),o=C+(t[e+2]??0),u=Math.cos(i)*o;n[r]=Math.cos(s)*u,n[r+1]=Math.sin(s)*u,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:p,11:function(t,e,n,r){d(t,e,n,r),m(n,r,n,r)},2:d,4:function(t,e,n,r){d(t,e,n,r),w(n,r,n,r)}},4:{5:S,7:null,9:null,10:S,1:function(t,e,n,r){S(t,e,n,r),T(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){S(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){S(t,e,n,r),m(n,r,n,r)},2:S,4:p},1:{5:A,7:null,9:null,10:A,1:p,6:null,8:null,0:null,3:function(t,e,n,r){A(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){A(t,e,n,r),m(n,r,n,r)},2:A,4:function(t,e,n,r){A(t,e,n,r),w(n,r,n,r)}},6:{5:null,7:v,9:null,10:v,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:E,10:E,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:T,6:x,8:B,0:null,3:y,11:m,2:p,4:w},11:{5:M,7:null,9:null,10:M,1:function(t,e,n,r){M(t,e,n,r),T(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){M(t,e,n,r),y(n,r,n,r)},11:p,2:M,4:function(t,e,n,r){M(t,e,n,r),w(n,r,n,r)}}};function l(t,e){return f(t,e)?.projector}function f(t,e){if(null==t||null==e)return null;if(_.source.spatialReference===t&&_.dest.spatialReference===e)return _;const n=h(t,_.source),r=h(e,_.dest);return 0===n&&0===r?(0,a.aI)(t,e)?_.projector=p:_.projector=null:_.projector=c[n][r],_}function h(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,s.GA)(t,1)),(0,i.jA)(t)?e.spatialReferenceId=1:(0,a.oT)(t)?e.spatialReferenceId=2:(0,a.K8)(t)?e.spatialReferenceId=3:(0,a.r1)(t)?e.spatialReferenceId=11:t.wkt===i.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===i.FY.wkt?e.spatialReferenceId=6:t.wkt===i.LJ.wkt?e.spatialReferenceId=8:(0,i.q8)(t)?e.spatialReferenceId=7:(0,i.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function p(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function d(t,e,n,r){n[r]=P*(t[e]/C),n[r+1]=P*(O-2*Math.atan(Math.exp(-t[e+1]/C))),n[r+2]=t[e+2]??0}function y(t,e,n,s){!function(t,e,n,s,i){const o=.4999999*Math.PI,u=(0,r.qE)(R*t[e+1],-o,o),a=Math.sin(u);n[s++]=R*t[e]*i.radius,n[s++]=i.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[s]=t[e+2]??0}(t,e,n,s,o.$O)}function m(t,e,n,r){n[r]=t[e]*I,n[r+1]=t[e+1]*I,n[r+2]=t[e+2]??0}function M(t,e,n,r){n[r]=t[e]*j,n[r+1]=t[e+1]*j,n[r+2]=t[e+2]??0}function g(t,e,n,r,s){const i=s+(t[e+2]??0),o=R*t[e],u=R*t[e+1],a=Math.cos(u)*i;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(u)*i}function B(t,e,n,r){g(t,e,n,r,o.Sw.radius)}function x(t,e,n,r){g(t,e,n,r,o.sH.radius)}function T(t,e,n,r){g(t,e,n,r,o.$O.radius)}function b(t,e,n,s,i){const o=t[e],u=t[e+1],a=t[e+2]??0,c=Math.sqrt(o*o+u*u+a*a),l=(0,r.YN)(a/(0===c?1:c)),f=Math.atan2(u,o);n[s++]=P*f,n[s++]=P*l,n[s]=c-i}function E(t,e,n,r){b(t,e,n,r,o.Sw.radius)}function v(t,e,n,r){b(t,e,n,r,o.sH.radius)}function A(t,e,n,r){b(t,e,n,r,o.$O.radius)}function w(t,e,n,r){!function(t,e,n,r,s){const i=R*t[e],o=R*t[e+1],u=t[e+2]??0,a=Math.sin(o),c=Math.cos(o),l=s.radius/Math.sqrt(1-s.eccentricitySquared*a*a);n[r++]=(l+u)*c*Math.cos(i),n[r++]=(l+u)*c*Math.sin(i),n[r++]=(l*(1-s.eccentricitySquared)+u)*a}(t,e,n,r,o.$O)}function S(t,e,n,r){const s=u.TP,i=t[e],a=t[e+1],c=t[e+2]??0;let l,f,h,p,d,y,m,M,g,B,x,T,b,E,v,A,w,S,_,R,O;l=Math.abs(c),f=i*i+a*a,h=Math.sqrt(f),p=f+c*c,d=Math.sqrt(p),R=Math.atan2(a,i),y=c*c/p,m=f/p,E=s.a2/d,v=s.a3-s.a4/d,m>.3?(M=l/d*(1+m*(s.a1+E+y*v)/d),_=Math.asin(M),B=M*M,g=Math.sqrt(1-B)):(g=h/d*(1-y*(s.a5-E-m*v)/d),_=Math.acos(g),B=1-g*g,M=Math.sqrt(B)),x=1-o.$O.eccentricitySquared*B,T=o.$O.radius/Math.sqrt(x),b=s.a6*T,E=h-T*g,v=l-b*M,w=g*E+M*v,A=g*v-M*E,S=A/(b/x+w),_+=S,O=w+A*S/2,c<0&&(_=-_),n[r++]=P*R,n[r++]=P*_,n[r]=O}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},R=(0,r.kU)(1),P=(0,r.KJ)(1),O=.5*Math.PI,C=o.$O.radius,I=C*Math.PI/180,j=180/(C*Math.PI);n.d(e,["w5",0,c])},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>D,initializeProjection:()=>G,isEqualBaseGCS:()=>$,isLoaded:()=>C,isLoadedOrLoad:()=>I,isLoadedOrLoadFor:()=>j,load:()=>q,project:()=>N,projectAsync:()=>V,projectExtent:()=>st,projectMany:()=>X,projectMultipoint:()=>H,projectOrLoad:()=>L,projectOrLoadMany:()=>Z,projectPoint:()=>W,projectPolygon:()=>nt,projectPolyline:()=>tt,projectWithoutEngine:()=>K,requiresLoad:()=>Y,test:()=>U,tryProject:()=>k,unload:()=>z});var r=n(49186),s=n(17676),i=n(62788),o=n(95488),u=n(51850),a=n(21276),c=n(73941),l=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),y=n(82799),m=n(16930),M=n(98764),g=n(159),B=n(9762),x=n(49208);function T(t,e,n,r,s,i){return b[0]=t,b[1]=e,b[2]=n,(0,B.projectBuffer)(b,r,0,s,i,0)}const b=(0,u.vt)();var E=n(60408),v=n(21325),A=n(52006);let w=null,S=null,_=null,R=null,P={};const O=new o.I;function C(){return!!(S?.isLoaded()&&_?.isLoaded()&&R?.isLoaded())}function I(){return!!C()||((0,i.gc)(O),q(),!1)}function j(t,e){return!t||!e||D(t,e)||I()}function Y(t,e){return!D(t,e)&&!C()}async function q(t){null==w&&(w=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(S=t,S.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(_=t,_.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(R=t,R.load()))])),await w,(0,s.Te)(t),O.notify()}function N(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,a.H)(t),X(t,t[0].spatialReference,e,n)):((0,a.f)(t),X([t],t.spatialReference,e,n)[0])}function X(t,e,n,r){if(null==e||null==n)return t;if(D(e,n,r))return t.map(t=>K(t,e,n));if(null==r?.geographicTransformation&&(0,c.jA)(e))return X(t.map(t=>K(t,e,m.A.WGS84)),m.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,c.jA)(n))return X(t,e,m.A.WGS84).map(t=>K(t,m.A.WGS84,n));if(!C())throw new F;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:R.getTransformation(e,n,r.areaOfInterestExtent)||new g.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let s=P[t];s||(s=R.getTransformation(e,n)||new g.A,P[t]=s),r={geographicTransformation:s,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?S.executeMany(t,n,r):_.executeMany(t,n,r)}function k(t,e,n){try{return N(t,e,n)}catch(t){return null}}function L(t,e){const n=Z([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function Z(t,e,n){if(!C())for(const n of t)if(null!=n&&!(0,v.aI)(n.spatialReference,e)&&(0,v.fn)(n.spatialReference)&&(0,v.fn)(e)&&!D(n.spatialReference,e))return(0,i.gc)(O),{pending:q(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,v.aI)(t.spatialReference,e)?t:(0,v.fn)(t.spatialReference)&&(0,v.fn)(e)?N(t,e,n):null)}}class F extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){w=null,S=null,_=null,R=null,P={}}const U={get loadPromise(){return w}};async function V(t,e,n){if((0,s.Te)(n),!t)return t;const r=Z(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,s.Te)(n),V(t,e,n);const i=r.geometries??[];return Array.isArray(t)?i:i[0]}function D(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,v.aI)(t,e)||(0,v.fn)(t)&&(0,v.fn)(e)&&!!(0,x.jd)(t,e))}function $(t,e){if((0,v.aI)(t,e))return!0;if(!(0,v.fn)(t)||!(0,v.fn)(e))return!1;const n=(0,v.oT)(t)||(0,v.K8)(t)||(0,v.x1)(t),r=(0,v.oT)(e)||(0,v.K8)(e)||(0,v.x1)(e);return n&&r}async function G(t,e,n,r){if(C())return(0,s.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:s}of t)if(e&&n&&!D(e,n,s))return q(r)}else if(t&&e&&!D(t,e,n))return q(r);return(0,s.NO)(r)}function K(t,e,n){return t?(0,E.fT)(t)?J(t,e,new p.A,n,0):(0,E.ZC)(t)?it(t,e,new l.A,n,0):(0,E.Bi)(t)?rt(t,e,new d.A,n,0):(0,E.Rg)(t)?et(t,e,new y.A,n,0):(0,E.U9)(t)?Q(t,e,new h.A,n,0):null:null}function W(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=J(t,t.spatialReference,e,n,r)}function J(t,e,n,r,s){ct[0]=t.x,ct[1]=t.y;const i=t.z;return ct[2]=void 0!==i?i:s,(0,B.projectBuffer)(ct,e,0,ct,r,0)?(n.x=ct[0],n.y=ct[1],n.spatialReference=r,void 0!==i||(0,c.xP)(r)?(n.z=ct[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function H(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=Q(t,t.spatialReference,e,n,r)}function Q(t,e,n,r,s){const{points:i,hasZ:o,hasM:u}=t,a=[],c=i.length,l=[];for(const t of i)l.push(t[0],t[1],o?t[2]:s);if(!(0,B.projectBuffer)(l,e,0,l,r,0,c))return null;const f=at(o,r);for(let t=0;t<c;++t){const e=3*t,n=l[e],r=l[e+1];f&&u?a.push([n,r,l[e+2],i[t][3]]):f?a.push([n,r,l[e+2]]):u?a.push([n,r,i[t][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=o,n.hasM=u,n}function tt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=et(t,t.spatialReference,e,n,r)}function et(t,e,n,r,s){const{curvePaths:i,paths:o,hasZ:u,hasM:a}=t;if(!(i?ut(i,u??!1,a??!1,e,n.curvePaths=[],r,s):ot(o,u??!1,a??!1,e,n.paths,r,s)))return null;const c=at(u,r);return n.spatialReference=r,n.hasZ=c,n.hasM=a,n}function nt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,r)}function rt(t,e,n,r,s){const{curveRings:i,rings:o,hasZ:u,hasM:a}=t;return(i?ut(i,u??!1,a??!1,e,n.curveRings=[],r,s):ot(o,u??!1,a??!1,e,n.rings,r,s))?(n.spatialReference=r,n.hasZ=at(u,r),n.hasM=a,n):null}function st(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=it(t,t.spatialReference,e,n,r)}function it(t,e,n,r,s){const{xmin:i,ymin:o,xmax:u,ymax:a,hasZ:c,hasM:l}=t;if(!T(i,o,c?t.zmin:s,e,ct,r))return null;const f=at(c,r);return n.xmin=ct[0],n.ymin=ct[1],f&&(n.zmin=ct[2]),T(u,a,c?t.zmax:s,e,ct,r)?(n.xmax=ct[0],n.ymax=ct[1],f&&(n.zmax=ct[2]),l&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function ot(t,e,n,r,s,i,o=0){const u=new Array;for(const n of t)for(const t of n)u.push(t[0],t[1],e?t[2]:o);if(!(0,B.projectBuffer)(u,r,0,u,i,0))return!1;let a=0;s.length=0;const c=e?3:2,l=at(e,i);for(const e of t){const t=new Array;for(const r of e){const e=u.slice(a,a+=3);l||e.pop(),n&&e.push(r[c]),t.push(e)}s.push(t)}return!0}function ut(t,e,n,r,s,i,o=0){const u=new Array;for(const n of t)for(const t of n){if((0,A.FG)(t))return!1;if((0,A.aO)(t)){const[n,r]=t.c;u.push(n[0],n[1],e?n[2]:o,r[0],r[1],o);continue}if((0,A.n1)(t)){const[n,r,s]=t.b;u.push(n[0],n[1],e?n[2]:o,r[0],r[1],o,s[0],s[1],o);continue}const n=t;u.push(n[0],n[1],e?n[2]:o)}if(!(0,B.projectBuffer)(u,r,0,u,i,0))return!1;let a=0;s.length=0;const c=e?3:2,l=at(e,i);for(const e of t){const t=new Array;for(const r of e){const e=u.slice(a,a+=3);if(l||e.pop(),n&&e.push((0,A.yP)(r)[c]),(0,A.FG)(r))return!1;if((0,A.aO)(r)){const n=u[a++],r=u[a++];++a,t.push({c:[e,[n,r]]});continue}if((0,A.n1)(r)){const n=u[a++],r=u[a++];++a;const s=u[a++],i=u[a++];++a,t.push({b:[e,[n,r],[s,i]]});continue}t.push(e)}s.push(t)}return!0}function at(t,e){return t||(0,c.xP)(e)||(0,v.aI)(e,M.Y0)}const ct=(0,u.vt)()},98764(t,e,n){n.d(e,{lO:()=>l});var r=n(73941),s=n(16930),i=n(21325);const o=new s.A(r.fv),u=new s.A(r.FY),a=new s.A(r.LJ),c=new s.A(r.Ro);function l(t){const e=f.get(t);if(e)return e;let n=o;if(t)if(t===u)n=u;else if(t===a)n=a;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,i.tl)(e)||(0,i.tl)(r)?n=u:((0,i.ZL)(e)||(0,i.ZL)(r))&&(n=a);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=u:t===p&&(n=a)}}}return f.set(t,n),n}const f=new Map,h=u.wkt.toUpperCase(),p=a.wkt.toUpperCase();n.d(e,["GD",0,o,"Y0",0,c])},95696(t,e,n){n.d(e,{A:()=>c});var r,s=n(5482),i=n(69540),o=n(25482),u=n(91429),a=n(93223);let c=class extends((0,i.OU)(o.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,s.Cg)([(0,a.e)({georeferenced:"georeferenced"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,u.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],c.prototype,"origin",void 0),c=r=(0,s.Cg)([(0,u.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],c)},18251(t,e,n){n.d(e,{A:()=>c});var r=n(5482),s=n(69540),i=n(25482),o=n(91429),u=n(51850),a=n(93223);let c=class extends((0,s.OU)(i.o)){constructor(t){super(t),this.type="local",this.origin=(0,u.vt)()}};(0,r.Cg)([(0,a.e)({local:"local"},{readOnly:!0})],c.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],c.prototype,"origin",void 0),c=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],c)},13030(t,e,n){n.d(e,{Y$:()=>g,XW:()=>M,qB:()=>R,Qt:()=>K,My:()=>Q,bf:()=>V,jZ:()=>A,j0:()=>w,Sx:()=>S,E$:()=>_,Qy:()=>it,h:()=>N,P:()=>Z,SL:()=>I,dy:()=>rt,ES:()=>ot,gH:()=>x,ZD:()=>B,si:()=>P,mJ:()=>W,UL:()=>tt,D6:()=>D,Yi:()=>X,An:()=>F,LC:()=>j,xs:()=>b,EC:()=>T,Xm:()=>O,Vp:()=>J,zD:()=>et,m8:()=>$,nS:()=>k,H$:()=>z,eI:()=>Y,td:()=>st,Eq:()=>v,jz:()=>E,Aj:()=>C,E7:()=>H,Y4:()=>nt,TX:()=>G,Uz:()=>L,ml:()=>U,XP:()=>q});var r=n(34727),s=n(37585),i=n(48163),o=n(78955),u=n(91829),a=n(20498);class c{static{this.ElementCount=9}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=9;const i=this.TypedArrayConstructor;void 0===r&&(r=9*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[n++];return e}setMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[n++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;for(let t=0;t<9;++t)r[i++]=s[o++]}get buffer(){return this.typedBuffer.buffer}}class l{static{this.ElementCount=16}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=16;const i=this.TypedArrayConstructor;void 0===r&&(r=16*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[n++];return e}setMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[n++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}copyFrom(t,e,n){this.copyFromTypedBuffer(t,e.typedBuffer,n*e.typedBufferStride)}copyFromTypedBuffer(t,e,n){const r=this.typedBuffer;let s=t*this.typedBufferStride;for(let t=0;t<16;++t)r[s++]=e[n++]}get buffer(){return this.typedBuffer.buffer}}class f{static{this.ElementCount=1}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=1;const i=this.TypedArrayConstructor;void 0===r&&(r=i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*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}}class h{static{this.ElementCount=2}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.start=n,this.elementCount=2;const i=this.TypedArrayConstructor;void 0===r&&(r=2*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,s.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,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=n}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}var p=n(35522);class d{static{this.ElementCount=3}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=3;const i=this.TypedArrayConstructor;void 0===r&&(r=3*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,p.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,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=n,this.typedBuffer[t]=r}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}class y{static{this.ElementCount=4}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.start=n,this.elementCount=4;const i=this.TypedArrayConstructor;void 0===r&&(r=4*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,o.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,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n,r,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=n,this.typedBuffer[t++]=r,this.typedBuffer[t]=s}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i++]=s[o++],r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}var m=n(620);class M extends f{constructor(t,e=0,n,r){(0,m.vA)(a.SX),super((0,a.pX)(),t,e,n,r),this.elementType="f16"}static{this.ElementType="f16"}}class g extends f{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}static{this.ElementType="f32"}}class B extends h{constructor(t,e=0,n,r){(0,m.vA)(a.SX),super((0,a.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(B,t,e)}static{this.ElementType="f16"}}class x extends h{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f32"}}class T extends d{constructor(t,e=0,n,r){(0,m.vA)(a.SX),super((0,a.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f16"}}class b extends d{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(b,t,e)}static fromTypedArray(t,e){return new b(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class E extends y{constructor(t,e=0,n,r){(0,m.vA)(a.SX),super((0,a.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f16"}}class v extends y{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f32"}}class A extends c{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f32"}}class w extends c{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="f64"}}class S extends l{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class _ extends l{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class R extends f{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="f64"}}class P extends h{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="f64"}}class O extends d{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(O,t,e)}static fromTypedArray(t,e){return new O(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class C extends y{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class I extends f{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u8"}}class j extends h{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u8"}}class Y extends d{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static fromTypedArray(t,e){return new Y(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class q extends y{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u8"}}class N extends f{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="u16"}}class X extends h{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u16"}}class k extends d{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u16"}}class L extends y{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="u16"}}class Z extends f{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="u32"}}class F extends h{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u32"}}class z extends d{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u32"}}class U extends y{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u32"}}class V extends f{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="i8"}}class D extends h{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class $ extends d{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class G extends y{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i8"}}class K extends f{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i16"}}class W extends h{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i16"}}class J extends d{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class H extends y{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class Q extends f{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i32"}}class tt extends h{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends d{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class nt extends y{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(nt,t,e)}static{this.ElementType="i32"}}class rt extends I{constructor(t,e=0,n,r){super(t,e,n,r)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,r.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(rt,t,e)}}class st extends q{constructor(t,e=0,n,r){super(t,e,n,r)}getVec(t,e){return(0,o.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,o.jk)(at,(0,o.T9)(at,e,u.uY),u.Un),(0,o.hs)(at,at,255),(0,o.LI)(at,at),super.setVec(t,at)}get(t,e){return super.get(t,e)/255}set(t,e,n){super.set(t,e,Math.round(255*(0,r.qE)(n,0,1)))}setValues(t,e,n,r,s){(0,o.hZ)(at,e,n,r,s),this.setVec(t,at)}slice(t,e){return this.sliceBuffer(st,t,e)}}class it extends K{constructor(t,e=0,n,r){super(t,e,n,r)}get(t){return Math.max(super.get(t)/32767,-1)}set(t,e){super.set(t,Math.round(32767*(0,r.qE)(e,-1,1)))}slice(t,e){return this.sliceBuffer(it,t,e)}}class ot extends W{constructor(t,e=0,n,r){super(t,e,n,r)}getVec(t,e){return(0,s.hZ)(ut,-1,-1),(0,s.T9)(e,(0,s.hs)(e,super.getVec(t,e),1/32767),ut)}setVec(t,e){(0,s.qE)(ut,e,i.IA,i.Un),(0,s.hs)(ut,ut,32767),(0,s.LI)(ut,ut),super.setVec(t,ut)}get(t,e){return Math.max(super.get(t,e)/32767,-1)}set(t,e,n){super.set(t,e,Math.round(32767*(0,r.qE)(n,-1,1)))}setValues(t,e,n){(0,s.hZ)(ut,e,n),this.setVec(t,ut)}slice(t,e){return this.sliceBuffer(ot,t,e)}}const ut=(0,i.vt)(),at=(0,u.vt)()},72727(t,e,n){function r(t,e,n){if(e<=0)return 0;const r=t-n;return r<0?0:Math.floor(r/e)+1}n.d(e,{k:()=>r}),n(53966)},20498(t,e,n){n.d(e,{Bg:()=>s,SX:()=>o,pX:()=>i});let r=globalThis.Float16Array;function s(...t){return new(r??Float32Array)(...t)}function i(){return r}let o=!!r},34403(t,e,n){var r=n(79258);Math.PI;const s=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:s*i,a2:s*i*s*i,a3:s*i*i/2,a4:s*i*s*i*2.5,a5:s*i+s*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(e,["TP",0,o])},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function s(t){return void 0!==t.points}function i(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?i(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":u(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":s(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)}n.d(e,{$B:()=>c,Bi:()=>u,Pv:()=>l,Rg:()=>o,U9:()=>s,W0:()=>f,ZC:()=>r,fT:()=>i,uW:()=>a})},38419(t,e,n){n.r(e),n.d(e,{default:()=>u});var r=n(44208),s=n(75503),i=n(95696),o=n(72258);class u{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new s.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:s}=t,u=(0,o.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:s},i.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",r,{transferList:n}):this.createIndexThread(r).result;return a().fromJSON(u)}createIndexThread(t){const e=a();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const s=new Array(r);let i=0;for(const t of n)for(let n=0;n<t.length;n+=3)s[i++]=c(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(s),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=c(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function a(){return new s.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function c(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},22141(t,e,n){n.d(e,{$5:()=>b,CN:()=>g,KM:()=>v,Mv:()=>w,X4:()=>B,gr:()=>T,qs:()=>E,si:()=>x,xA:()=>A});var r=n(34727),s=n(77690),i=n(29242),o=n(58083),u=n(9093),a=n(35522),c=n(51850),l=n(73941),f=n(48353),h=n(9762),p=(n(79258),n(21325)),d=n(28735),y=n(13030),m=n(73354),M=n(50867);function g(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function B(t,e,n,r,s,i){return _(0,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i))?i:null}function x(t,e,n,r,s,i){return _(1,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i))?i:null}function T(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function b(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function E(t,e,n){return(0,s.Ge)(C,n),(0,m.b)(e,t,C),(0,r.or)(C)&&(0,m.n)(e,e),e}function v(t,e,n){return(0,s.z0)(C,n),(0,M.t)(e,t,C),(0,r.or)(C)&&(0,m.n)(e,e,4),e}function A(t,e,n,r,s,i){if(!_(0,y.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function w(t,e,n,r,s,i){if(!_(1,y.xs.fromTypedArray(t,16),1,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i,16)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function S(t,e,n,r,i){switch((0,f.l)(r,n,O,r),1===t&&(0,o.B8)(O,O),e){case 0:return(0,s.Ge)(i,O);case 1:return(0,s.z0)(i,O)}}function _(t,e,n,r,s,i,o,u){if(!e)return;const c=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,l.q8)(t)||(0,l.KQ)(t)}(s))for(let r=0;r<c;r++)i.getVec(r,R),e.getVec(r,P),(0,a.ei)(P,P,S(t,n,R,o,C)),u.setVec(r,P);else for(let s=0;s<c;s++){i.getVec(s,R),e.getVec(s,P);const c=(0,d.jg)(r.get(s,1));let l=Math.cos(c);1===n!=(0===t)&&(l=1/l),S(t,n,R,o,C),0===t?(C[0]*=l,C[1]*=l,C[2]*=l,C[3]*=l,C[4]*=l,C[5]*=l):(C[0]*=l,C[3]*=l,C[6]*=l,C[1]*=l,C[4]*=l,C[7]*=l),(0,a.ei)(P,P,C),(0,a.S8)(P,P),u.setVec(s,P)}return u}const R=(0,c.vt)(),P=(0,c.vt)(),O=(0,u.vt)(),C=(0,i.vt)();n.d(e,["JP",0,"Projection may be possible after calling projection.load()."])},72258(t,e,n){n.d(e,{UR:()=>T,p5:()=>x,xK:()=>S});var r=n(53966),s=n(34727),i=n(86211),o=n(77690),u=n(29242),a=n(58083),c=n(9093),l=n(35522),f=n(51850),h=n(73941),p=n(98764),d=n(48353),y=n(65806),m=n(27615),M=n(73354),g=n(22141);const B=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function x(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const s=t;if(!(0,y.g)(e,s,r))return!1;const{origin:i}=n;return(0,l.Re)(t,s,i),!0}const s=(0,p.lO)(r),i=t;if(!(0,y.g)(e,i,s))return!1;const{origin:o}=n,u=C;if(!(0,d.l)(r,o,u,s))return!1;const c=(0,a.B8)(C,u);return null!=c&&((0,l.Z0)(t,i,c),!0)}function T(t,e,n){const{vertexSpace:r,transform:s,vertexAttributes:i}=t,u=(0,m.Hq)(r)?s:null,f=A(t.spatialReference,n,3);if((0,m.yJ)(r,e)&&(!u||(0,a.t2)(u.localMatrix,c.zK))&&w(f)){const{position:t,normal:e,tangent:r}=i,s=n?.allowBufferReuse;return{position:s?t:t.slice(),normal:s?e:e?.slice(),tangent:s?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},s,i){const o=b(e,i);if(!(0,d.l)(e,r,_,o))return(0,g.CN)(B(),e,o),null;if(n&&(0,a.lw)(_,_,n.localMatrix),!(0,d.l)(e,s,R,o))return(0,g.CN)(B(),o,e),null;(0,a.B8)(R,R);const u=(0,a.lw)(_,R,_);return v(u,e,i,3),E(t,u)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},s,i){const o=b(t,i);if(!(0,d.l)(t,r,_,o))return(0,g.CN)(B(),t,o),null;n&&(0,a.lw)(_,_,n.localMatrix),v(_,t,i,1);const u=new Float64Array(e.position.length),c=function(t,e,n,r,s){(0,M.a)(r,t,e);const i=new Float64Array(t.length);return(0,g.$5)(r,s,i,n)?i:((0,g.CN)(B(),s,n),null)}(e.position,_,t,u,o);if(!c)return null;const f=function(t,e,n,r,s,i){if(null==s)return null;const o=new Float32Array(s.length);return(0,g.qs)(s,o,i),(0,g.si)(o,t,e,n,r,o)?o:((0,g.CN)(B(),r,e),null)}(c,t,u,o,e.normal,_);if(e.normal&&!f)return null;const h=function(t,e,n,r,s,i){if(null==s)return null;const o=new Float32Array(s.length);return(0,g.KM)(s,o,i),(0,g.Mv)(o,t,e,n,r,o)?o:((0,g.CN)(B(),r,e),null)}(c,t,u,o,e.tangent,_);if(e.tangent&&!h)return null;if(s){const t=(0,l.ze)(O,s);(0,M.t)(c,c,t)}return{position:c,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},s,i){const u=b(e,i);if(!(0,d.l)(e,s,_,u))return(0,g.CN)(B(),e,u),null;const c=1/A(e,i,2);(0,a.hs)(_,_,[c,c,c]);const l=(0,a.B8)(R,_),{position:f,normal:h,tangent:p}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:s}=t;return{position:(0,M.t)(new Float64Array(n.length),n,e),tangent:s,normal:r}}const r=E(t,n.localMatrix);return(0,M.t)(r.position,r.position,e),r}(t,r,n),y=new Float64Array(f.length),m=function(t,e,n,r,s){const i=(0,g.gr)(t,e,r,s);if(!i)return(0,g.CN)(B(),e,s),null;const o=new Float64Array(i.length);return(0,M.a)(o,i,n),o}(f,e,l,y,u);if(!m)return null;const x=(0,o.Ge)(P,l),T=function(t,e,n,r,s,i,o){if(null==t)return null;const u=o??new Float32Array(t.length);return(0,g.X4)(t,e,n,r,s,u)?((0,M.b)(u,u,i),u):((0,g.CN)(B(),n,s),null)}(h,f,e,y,u,x,h!==t.normal?h:void 0);if(!T&&h)return null;const v=function(t,e,n,r,s,i,o){if(null==t)return null;const u=o??new Float32Array(t.length);return(0,g.xA)(t,e,n,r,s,u)?((0,M.b)(u,u,i,4),u):((0,g.CN)(B(),n,s),null)}(p,f,e,y,u,x,p!==t.tangent?p:void 0);return!v&&p?null:{position:m,normal:T,tangent:v}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},s,i){const o=A(n,i,3),u=r||!w(o)?(0,a.C)(_,e?.localMatrix??c.zK):null;u&&v(u,n,i,3);const{position:f,normal:h,tangent:p}=u?E(t,u):t,d=i?.allowBufferReuse,y=d?f:new Float64Array(f.length);let m=f;if(r&&(m=(0,M.t)(y,m,r)),s){const t=(0,l.ze)(O,s);m=(0,M.t)(y,m,t)}return{position:m!==t.position||d?m:m.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function b(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function E(t,e){const n=new Float64Array(t.position.length);(0,M.a)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,s=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,g.qs)(t.normal,r,e),s&&t.tangent&&(0,g.KM)(t.tangent,s,e),{position:n,normal:r,tangent:s}}function v(t,e,n,r){const s=A(e,n,r);w(s)||(0,a.hs)(t,t,[s,s,s])}function A(t,e,n){const r=!!(1&n),s=!!(2&n),i=e?.sourceUnit,o=e?.targetUnit;if(!i&&!o)return 1;let u=S(i,t);r||!i||w(u)||(B().warn("source unit conversion not supported"),u=1);let a=1/S(o,t);return s||!o||w(a)||(B().warn("target unit conversion not supported"),a=1),u*a}function w(t){return(0,s.Io)(t,1)}function S(t,e){if(null==t)return 1;const n=(0,i.KX)(e);return 1/(0,i.oU)(n,"meters",t)}const _=(0,c.vt)(),R=(0,c.vt)(),P=(0,u.vt)(),O=(0,f.vt)(),C=(0,c.vt)()},27615(t,e,n){n.d(e,{CK:()=>a,Hq:()=>u,MW:()=>c,TE:()=>l,yJ:()=>f});var r=n(35522),s=n(86738),i=n(95696),o=n(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[n,r,i]=t.origin;return new s.A({x:n,y:r,z:i,spatialReference:e})}function l(t,e){const{x:n,y:r,z:s,spatialReference:u}=t,a=[n,r,s??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(u))?new o.A({origin:a}):new i.A({origin:a})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.t2)(t.origin,e.origin))}},620(t,e,n){n.d(e,{L:()=>a,MX:()=>o,O_:()=>u,kL:()=>c,vA:()=>i,zH:()=>l});var r=n(48163);n(78955),(0,n(91829).vt)();class s{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new s(`${e} at ${t}`)}}function o(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function u(t,e,n,r){let s,i=(n[0]-t[0])/e[0],o=(r[0]-t[0])/e[0];i>o&&(s=i,i=o,o=s);let u=(n[1]-t[1])/e[1],a=(r[1]-t[1])/e[1];if(u>a&&(s=u,u=a,a=s),i>a||u>o)return!1;u>i&&(i=u),a<o&&(o=a);let c=(n[2]-t[2])/e[2],l=(r[2]-t[2])/e[2];return c>l&&(s=c,c=l,l=s),!(i>l||c>o||(l<o&&(o=l),o<0))}function a(t,e,n,s,i,o=(0,r.vt)()){const u=(s[i]-n[i])*(e[0]-t[0])-(s[0]-n[0])*(e[i]-t[i]),a=(s[0]-n[0])*(t[i]-n[i])-(s[i]-n[i])*(t[0]-n[0]);if(0===u)return!1;const c=a/u;return o[0]=t[0]+c*(e[0]-t[0]),o[1]=t[i]+c*(e[i]-t[i]),!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]}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9506],{49590(e,t,n){n.d(t,{e:()=>d,l:()=>f});var r=n(86211),o=n(86742),i=n(5808);let l,a,s,u;function c(){return!!l&&(0,o.s1)()}async function f(){if(!c()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,o.Hh)()]);l=e.fromGeometry,a=e.fromSpatialReference,s=e.getSpatialReference,u=(0,o.fz)()}}function d(e,t={}){const{curveType:n="geodesic",unit:u}=t,c=s(e);let f=(0,o.g7)(l(e),a(c),i.O[n]);return f&&u&&(f=(0,r.oU)(f,"square-meters",u)),f}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:d,isLoaded:c,load:f,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}));n.d(t,["g",0,p])},89506(e,t,n){n.d(t,{execute:()=>r.e,load:()=>r.l}),n(86211),n(86742);var r=n(49590)},86742(e,t,n){n.d(t,{Hh:()=>l,fz:()=>s,g7:()=>a,s1:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function l(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(2024),n.e(6558)]).then(n.bind(n,6558)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);o=new e.OperatorGeodeticArea,t(r.p)}}function a(e,t,n){return o.execute(e,t,n,null)}function s(){return o.supportsCurves()}},5808(e,t,n){n.d(t,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,6033,6061,7992,8414],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},70031(t,e,r){r.d(e,{O:()=>n});var s=r(15756);class n extends s.z{getOperatorType(){return 4}execute(t,e,r,n){return!(0,s.A)(t,e,r,4,n)}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},69397(t,e,r){r.d(e,{Qf:()=>a,Qh:()=>i,lM:()=>n});var s=r(34275);function n(t){if(!t)return 0;let e=u;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return a(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=c;for(let s=0;s<e;s++)r+=o(t[s]);return r}(t);let e=u;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?i(t):u;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,16):0:0),0)}function h(t,e){return c+t.length*e}const u=32,c=16,l=145},87992(t,e,r){r.d(e,{JR:()=>_,ME:()=>C,MY:()=>P,NO:()=>M,Nh:()=>O,V2:()=>b,_s:()=>R,e6:()=>Y,gh:()=>E,tr:()=>I,uX:()=>x});var s=r(5482),n=r(16930),i=r(19419),o=r(60408),a=r(21325),h=r(513),u=r(50954),c=r(79567),l=r(52006),g=r(49663),f=r(46068),m=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:o,partOffsets:a,partFlags:h,segmentFlags:u,segmentIndices:c,segmentParams:l,segmentCountArc:g,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=g,this.segmentCountBezier=f}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}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?64+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:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:o}=this,a=b(t,e,r,s,n,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:c}=this;if(a.vertexXY.set(h.subarray(0,2*e),0),a.vertexZ?.set(u.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,r+1)),a.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(r.subarray(0,e),0),a.segmentParams.set(s.subarray(0,n),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,a.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 r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(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(r(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 p(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class p{constructor(t){this.geometry=t,this.index=-1,this._readVertex=Z(t),this._segments=new y(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 y{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=Z(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 r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],o=e[r++],a=e[r++],h=e[r++];r++,r++;const u=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,c]]};const l=2&s?0:1,g=1&s?0:1;return{a:[this.end,[a,h],l,g,o,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:o,vertexM:a}=t,h=S(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new A(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,c.e)(n,t,r),t=(0,l.yP)(r)}const[o,a,u,g]=n;e={xmin:o,ymin:a,xmax:u,ymax:g,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,o;t=s=1/0,i=o=-1/0;for(let e=0;e<r;++e){const r=n[2*e],a=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,a),o=Math.max(o,a)}e={xmin:t,ymin:s,xmax:i,ymax:o,spatialReference:h}}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function C(t){let e,r,s;if((0,o.fT)(t)){s="point";const{x:n,y:i,z:o,m:a}=t,h=[n,i];null!=o&&h.push(o),null!=a&&h.push(a),r=[[h]],e=1}else(0,o.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const n=b(s,e,s.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:a,vertexXY:h,vertexZ:u,vertexM:c}=n;function g(t){h[2*m]=t[0],h[2*m+1]=t[1],i&&(u[m]=t[2]),a&&(c[m]=t[f]),++m}n.spatialReference=t.spatialReference??void 0;const f=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])h[2*m]=t,h[2*m+1]=e,++m;return n}for(const t of r[0])g(t);return n}const x="polygon"===s,{partOffsets:d}=n;let p=0;if(!(0,l.Ed)(t)){for(const t of r){if(d[p++]=m,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)g(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*m]=e,h[2*m+1]=s,++m}}return d[p]=m,n}function y(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[p++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];g(r);const i=m-1;(0,l.wY)(s)?(y(10),++n.segmentCountArc,v=R(r,s,n,i,v),r=s.a[0]):(0,l.DA)(s)?(y(10),++n.segmentCountArc,v=F(r,s,n,i,v),r=s.a[0]):(0,l.aO)(s)?(y(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.c[0]):(0,l.n1)(s)?(y(4),++n.segmentCountBezier,v=I(0,s,n,i,v),r=s.b[0]):r=s}x&&w(e,r)||g(r)}return n.partOffsets[p]=m,n}function E(t){const e=Z(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,o=S(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<r;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;a<s;)i.push(e(a++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:o}:{paths:r,hasZ:n,hasM:i,spatialReference:o}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:o}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:o}}function O(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const o=t.includes("point")?0:e.length,a="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);s??=!1,n??=!1;const u=b(t,h,o,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const c=2+Number(s)+Number(n);let l=0,g=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[g],i=e+t-Number(a);u.partOffsets[++g]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[l++],u.vertexXY[2*t+1]=r[l++],s&&(u.vertexZ[t]=r[l++]),n&&(u.vertexM[t]=r[l++]);a&&(l+=c)}return u}function _({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:o,hasZ:a,hasM:h}){const u=new m.A([],[],a,h);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,g=u.coords.length;for(let t=l;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),a&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(c){const t=l;u.coords.push(r[2*t],r[2*t+1]),a&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-g)/u.stride),l=i}return"point"===t&&(u.lengths.length=0),u}function P(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function Z({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,r)=>t===e[r])}function b(t,e,r,s,n,i,o,a){o??=0,a??=0;const h=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(u);let l=0;return h.vertexXY=new Float64Array(c,l,2*e),l+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(c,l,e),l+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(c,l,e),l+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(c,l,h.segmentParamCount),l+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(c,l,e),h.segmentIndices.fill(k),l+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(c,l,r+1),l+=h.partOffsets.byteLength,h.partFlags=new Int8Array(c,l,r+1),l+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(c,l,e),h.segmentFlags.fill(1),l+=h.segmentFlags.byteLength),h}function R(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const[a,[h,u],c,l,g,m,x]=e.a;let d=4;l||(d|=1),c||(d|=2);const p=(0,f.SW)(t,e),[y,v]=(0,f.Uk)(p,.5);return n[o++]=d,n[o++]=m,n[o++]=x,n[o++]=g,n[o++]=h,n[o++]=u,n[o++]=p.u2-p.u1,n[o++]=p.u1,n[o++]=y,n[o++]=v,o}function F(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const a=(0,g.io)(t,e);return V(a,4,...(0,h.mq)(a,.5),n,o)}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){return r[i]=4,s[i]=o,V((0,u.pM)(t,e),0,...e.c[1],n,o)}function V(t,e,r,s,n,i){const{cx:o,cy:a,thetaStart:h,thetaEnd:u,radius:c}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=o,n[i++]=a,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function I(t,{b:[e,[r,s],[n,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:h},u,c){return o[u]=2,a[u]=c,h[c++]=r,h[c++]=s,h[c++]=n,h[c++]=i,c}const X=1.61803,k=-1},55284(t,e,r){r.r(e),r.d(e,{execute:()=>o});var s=r(70031),n=r(83299);const i=new s.O;function o(t,e){const r=(0,n.fromGeometry)(t);return i.execute(r.getGeometry(),(0,n.fromGeometryToGXGeometry)(e),r.getSpatialReference(),null)}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,o=s-e;return new n([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,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let o=1;o<r;o+=1){const r=s*(e+o),a=this.coords[r],h=this.coords[r+1];t+=-.5*(a-n)*(h+i),n=a,i=h}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3202,8503],{96685(e,t,r){r.r(t),r.d(t,{constructAssociationMetaDataFeatureSetFromUrl:()=>G,constructFeatureSet:()=>E,constructFeatureSetFromPortalItem:()=>z,constructFeatureSetFromRelationship:()=>Q,constructFeatureSetFromUrl:()=>D,convertToFeatureSet:()=>K,createFeatureSetCollectionFromMap:()=>V,createFeatureSetCollectionFromService:()=>Y,initialiseMetaDataCache:()=>N});var i=r(11254);class a{constructor(){this.declaredRootClass="esri.arcade.featureSetCollection"}castToText(e=!1){return"object, FeatureSetCollection"}}var s=r(78878),n=r(35704),l=r(70333),o=r(48938),u=r(61454),c=r(15695),d=r(87449),h=r(11221),p=r(33325),y=r(80609),f=r(50145),m=r(4576),g=r(80200),_=r(39516),w=r(89696),F=r(53781),b=r(17126),I=r(54546),S=r(97552),v=r(7562);function T(e,t){null==e.clause&&(e.clause=function(e){if(0===e.length)throw new d.dr("NeverReach");const t=[];for(let r=0;r<e.length;r++){const i=e[r],a=[`"${i.name.replaceAll('"','""')}" ${i.asc?">":"<"} @last_${r}`];for(let t=0;t<r;t++){const r=e[t];a.push(`"${r.name.replaceAll('"','""')}" = @last_${t}`)}t.push(a.join(" AND "))}const r=t.join(" OR ");return w.A.create(r)}(e.keyFields));for(let r=0;r<e.keyFields.length;r++){const i=e.keyFields[r].name;e.clause.parameters[`last_${r}`]=t.attributes[i]}}class A extends h.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerDynamic",this._removeGeometry=!1,this._overrideFields=null,this._requestStandardised=!1,this._useDefinitionExpression=!0,this._recentlyUsedQueries=null,this._featureSetQueryInterceptor=null,this._featureSetInfo=null,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry),e.lrucache&&(this._recentlyUsedQueries=e.lrucache),e.interceptor&&(this._featureSetQueryInterceptor=e.interceptor)}_maxQueryRate(){return 1e3}get urlQueryPath(){return this._layer.parsedUrl.path||""}convertQueryToLruCacheKey(e){const t=this.urlQueryPath+","+(0,p.JB)(e.toJSON());return(0,g.d)(t,g.T.String)}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}if(this._layer.source&&this._layer.source.sourceJSON){const e=this._layer.source.sourceJSON.currentVersion;!0===this._layer.source.sourceJSON.useStandardizedQueries?(this._databaseType=1,null!=e&&e>=10.61&&(this._databaseType=0)):null!=e&&(e>=10.5&&(this._databaseType=1,this._requestStandardised=!0),e>=10.61&&(this._databaseType=0))}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this.subtypeField=this._layer.subtypeField??"",this.subtypes=this._layer.subtypes,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}async _runDatabaseProbe(e){await this._ensureLoaded();const t=new S.A;this.datesInUnknownTimezone&&(t.timeReferenceUnknownClient=!0),t.where=e.replace("OBJECTID",this._layer.objectIdField);try{return await this._layer.queryObjectIds(t),!0}catch{return!1}}_canUsePagination(){return!(!this._layer.capabilities||!this._layer.capabilities.query||!0!==this._layer.capabilities.query.supportsPagination)}_cacheableFeatureSetSourceKey(){return this._layer.url}get gdbVersion(){return this._layer&&this._layer.capabilities&&this._layer.capabilities.data&&this._layer.capabilities.data.isVersioned?this._layer.gdbVersion||"SDE.DEFAULT":""}nativeCapabilities(){return{title:this._layer.title??"",source:this,canQueryRelated:!0,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:this._requestStandardised}}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){return await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter?h.An:this._canUsePagination()?this._queryUsingPaging(e):this._queryUsingIdSetTraversal(e)}async _queryUsingPaging(e){const t=this._layer.capabilities.query;let r=!0,i=null,a=!1;null!=e.orderBy&&(t.supportsOrderBy?(i=e.orderBy.toOrderByFields(),a=!0):r=!1);const s=await this.databaseType(),n=null==e.where?null==e.spatialFilter?"1=1":"":(0,y.YY)(e.where,s),l=!0!==this._removeGeometry,o=this._overrideFields??this._fieldsIncludingObjectId(["*"]),u=o.includes("*")?this._layer.fields.length:o.length,c=(this.isTable()||!l?t.standardMaxRecordCountNoGeometry:void 0)??t.standardMaxRecordCount??t.maxRecordCount??this._maxQueryRate(),d=u<=50?1:u<=100?.5:u<=200?.25:.125,p=Math.max(Math.ceil(c*d),t.maxRecordCount??this._maxQueryRate()),f=this._createQuery();if(f.where=(0,_.mA)(f.where,n),null!=e.spatialFilter){const t=(0,h.rj)(e.spatialFilter.relation);f.spatialRelationship=t.spatialRelationship,f.relationParameter=t.relationParameter,f.geometry=e.spatialFilter.geometry}return f.orderByFields=i,f.outFields=o,f.returnGeometry=l,f.outSpatialReference=this.spatialReference,f.resultType="standard",{ordered:a,filterApplied:!0,spatialFilterApplied:!0,features:this._queryPaginated(f,p,r?e.limit:null,e.abortSignal)}}async*_queryPaginated(e,t,r,i){let a;e.num=null!=r?Math.min(r,t):t,e.start=0;do{(0,d.dZ)(i),a=await this.executeQuery(e,"execute"),yield*(0,m.Ho)(a.features,this._maxQueryRate()),e.start+=a.features.length,e.num=null!=r?Math.min(r-e.start,t):t}while(e.num>0&&!0===a.exceededTransferLimit)}async _queryUsingIdSetTraversal(e){let t=!0,r=null,i=!1;null!=e.orderBy&&(this._layer.capabilities?.query?.supportsOrderBy?(r=e.orderBy.toOrderByFields(),i=!0):t=!1);const a=await this.databaseType(),s=null==e.where?null==e.spatialFilter?"1=1":"":(0,y.YY)(e.where,a),n=this._createQuery();if(n.where=(0,_.mA)(n.where,s),null!=e.spatialFilter){const t=(0,h.rj)(e.spatialFilter.relation);n.spatialRelationship=t.spatialRelationship,n.relationParameter=t.relationParameter,n.geometry=e.spatialFilter.geometry}n.orderByFields=r,n.outSpatialReference=this.spatialReference,n.num=t?e.limit:null;const l=await this.executeQuery(n,"executeForIds");if((0,d.dZ)(e.abortSignal),null==l||l.length<=0)return h.An;let o=this._maxQueryRate();const u=this._layer.capabilities?.query.maxRecordCount;null!=u&&u<o&&(o=u);const c=this._createQuery();return n.outFields=this._overrideFields??this._fieldsIncludingObjectId(["*"]),n.returnGeometry=!0!==this._removeGeometry,n.outSpatialReference=this.spatialReference,{ordered:i,filterApplied:!0,spatialFilterApplied:!0,features:this._traverseIdSet(c,l,o,e.abortSignal)}}async*_traverseIdSet(e,t,r,i){for(let a=0;a<t.length;a+=r){e.objectIds=t.slice(a,a+r),(0,d.dZ)(i);const s=await this.executeQuery(e,"execute");yield s.features}}async queryStat(e){await this._ensureLoaded();const t=this._layer.capabilities?.query,r=!!t?.supportsSqlExpression,i=!!t?.supportsStatistics,a=!!t?.supportsDistinct,s=(0,f.Dp)(e.stat);if("count"===s)return a?this._queryCount(e):{calculated:!1};const n=e.field;if(null==n)return{calculated:!1};if(!1===i||!1===(0,y.DA)(n)&&!1===r||!1===n.isStandardized)return null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(e.stat,n,e.limit??1e3,e.abortSignal);if("distinct"===s)return!1===a?null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(s,n,e.limit??1e3,e.abortSignal):{calculated:!1};const l=await this.databaseType();if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:null};const o=this._createQuery();if(o.where=(0,_.mA)(o.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,y.YY)(e.where,l)),null!=e.spatialFilter){const t=(0,h.rj)(e.spatialFilter.relation);o.spatialRelationship=t.spatialRelationship,o.relationParameter=t.relationParameter,o.geometry=e.spatialFilter.geometry}const u=new v.A;u.statisticType=s,u.onStatisticField=(0,y.YY)(n,l),u.outStatisticFieldName="ARCADE_STAT_RESULT",o.returnGeometry=!1;let c="ARCADE_STAT_RESULT";o.outStatistics=[u];const p=await this.executeQuery(o,"execute");if(!p.hasOwnProperty("features")||0===p.features.length)throw new d.dr("InvalidStatResponse");let m=!1;const g=p.fields??[];for(const e of g)if("ARCADE_STAT_RESULT"===e.name.toUpperCase()){c=e.name,"esriFieldTypeDate"===e.type&&(m=!0);break}const w=p.features[0].attributes[c];return{calculated:!0,result:m&&null!=w?new Date(w):w}}async _queryCount(e){const t=await this.databaseType();if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:0};const r=this._createQuery();if(r.where=(0,_.mA)(r.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,y.YY)(e.where,t)),null!=e.spatialFilter){const t=(0,h.rj)(e.spatialFilter.relation);r.spatialRelationship=t.spatialRelationship,r.relationParameter=t.relationParameter,r.geometry=e.spatialFilter.geometry}return r.returnGeometry=!1,{calculated:!0,result:await this.executeQuery(r,"executeForCount")}}async canQueryAggregate(e){await this._ensureLoaded();let t=!1;const r=this._layer.capabilities?.query,i=!0===r?.supportsSqlExpression;if(null!=r&&!0===r.supportsStatistics&&!0===r.supportsOrderBy&&(t=!0),t)for(const r of e.statistics)(!1===r.workingexpr?.isStandardized||!1===(0,y.DA)(r.workingexpr)&&!1===i)&&(t=!1);return t}async queryAggregate(e){if(await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter)return h.An;const t=await this.databaseType(),r=e.groupBy,i=e.orderBy;let a=null;if(!this._layer.capabilities.query.supportsPaginationOnAggregatedQueries){const e=this.getFieldsIndex();a={keyFields:r.map((t,r)=>({name:e.normalizeFieldName(t)??t,asc:null==i||1===i._directions[r]}))}}let s=null,n=!1;null!=i&&!0===this._layer.capabilities?.query?.supportsOrderBy&&(null==a||(0,m.MJ)(r,0,r.length,i._fields,0,Math.min(i._fields.length,r.length),(e,t)=>e.toLowerCase()===t.toLowerCase()))&&(s=i.toOrderByFields(),n=!0),null==s&&(s=r.slice());const l=e.statistics.map(e=>new v.A({onStatisticField:null!==e.workingexpr?(0,y.YY)(e.workingexpr,t):"",outStatisticFieldName:e.field,statisticType:e.toStatisticsName()}));let o=this._maxQueryRate();const u=this._layer.capabilities?.query.maxRecordCount;null!=u&&u<o&&(o=u);const c=null==e.where?null==e.spatialFilter?"1=1":"":(0,y.YY)(e.where,t),d=this._createQuery();if(d.where=(0,_.mA)(d.where,c),null!=e.spatialFilter){const t=(0,h.rj)(e.spatialFilter.relation);d.spatialRelationship=t.spatialRelationship,d.relationParameter=t.relationParameter,d.geometry=e.spatialFilter.geometry}return d.orderByFields=s,d.outFields=["*"],d.outStatistics=l,d.groupByFieldsForStatistics=r,d.returnGeometry=!1,null==a?{filterApplied:!0,spatialFilterApplied:!0,ordered:n,features:this._queryPaginated(d,o,null,e.abortSignal)}:{filterApplied:!0,spatialFilterApplied:!0,ordered:n,features:this._queryKeysetPaginated(d,a,e.abortSignal)}}async*_queryKeysetPaginated(e,t,r){const i=e.where;for(;;){if(null!=t.clause){if(!this._layer.capabilities.query.supportsOrderBy)throw new d.dr("NotImplemented");e.where=(0,_.mA)(i,(0,y.YY)(t.clause,await this.databaseType()))}const a=await this.executeQuery(e,"execute");if((0,d.dZ)(r),!a.hasOwnProperty("features"))throw new d.dr("InvalidStatResponse");if(yield a.features,0===a.features.length||!0!==a.exceededTransferLimit)break;T(t,a.features.at(-1))}}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,this.datesInUnknownTimezone&&(e.timeReferenceUnknownClient=!0),this._requestStandardised&&(e.sqlFormat="standard"),this._useDefinitionExpression?"subtype-group"===this._layer.type&&(e.where=this._layer.definitionExpression):e.where=null,e}executeQuery(e,t){const r="execute"===t?async e=>{const t=await this._layer.source.queryFeaturesJSON(e);return(0,h.Rn)(t.features,t.spatialReference??this.spatialReference.toJSON()),t}:"executeForCount"===t?this._layer.queryFeatureCount.bind(this._layer):this._layer.queryObjectIds.bind(this._layer);let i=null;if(this._recentlyUsedQueries){const t=this.convertQueryToLruCacheKey(e);i=this._recentlyUsedQueries.getFromCache(t),null===i&&(i=r(e),this._recentlyUsedQueries.addToCache(t,i),i=i.catch(e=>{throw this._recentlyUsedQueries?.removeFromCache(t),e}))}return this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:e,method:t}),null===i&&(i=r(e)),i}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice();if(t.includes("*"))return t;let r=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){r=!0;break}return r||t.push(this.objectIdField),t}isTable(){return this._layer.isTable||null===this._layer.geometryType||"table"===this._layer.type||""===this._layer.geometryType||"esriGeometryNull"===this._layer.geometryType}static create(e,t,r,i,a){const s=new F.default({url:e,outFields:null===t?["*"]:t});return new A({layer:s,spatialReference:r,lrucache:i,interceptor:a})}relationshipMetadata(){return this._layer&&this._layer.source&&this._layer.source.sourceJSON?.relationships?this._layer.source.sourceJSON.relationships:[]}serviceUrl(){return(0,p.Qi)(this._layer.parsedUrl.path)}async queryAttachments(e,t,r,i,a){const s=this._layer;if(!function(e){const t=e.capabilities;return t?.data.supportsAttachment&&t?.operations.supportsQueryAttachments}(s))return[];const n=new I.A({objectIds:[e],returnMetadata:a});(t&&t>0||r&&r>0)&&(n.size=[t&&t>0?t:0,r&&r>0?r:t+1]),i&&i.length>0&&(n.attachmentTypes=i),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:s,query:n,method:"attachments"});const l=await s.queryAttachments(n);return l?.[e]?l[e].map(t=>{const r=`${this._layer.parsedUrl.path}/${e}/attachments/${t.id}`;let i=null;return a&&t.exifInfo&&(i=(0,c.Tg)(t.exifInfo)),new u.A(t.id,t.name,t.contentType,t.size,r,i,t.keywords??null)}):[]}async queryRelatedFeatures(e){const t=(0,b.dw)(e);t.f="json",this._requestStandardised&&(t.sqlFormat="standard"),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preRequestCallback({layer:this._layer,queryPayload:t,method:"relatedrecords",url:this._layer.parsedUrl.path+"/queryRelatedRecords"});const r=await(0,i.A)(this._layer.parsedUrl.path+"/queryRelatedRecords",{responseType:"json",query:t});if(r.data){const e={},t=r.data;if(t?.relatedRecordGroups){const r=t.spatialReference,i=!0===t.exceededTransferLimit;for(const a of t.relatedRecordGroups)(0,h.Rn)(a.relatedRecords,r),e[a.objectId]={features:a.relatedRecords,exceededTransferLimit:i}}return e}throw new d.dr("InvalidRequest")}async getFeatureByObjectId(e,t){const r=this._createQuery();r.outFields=t,r.returnGeometry=!1,r.outSpatialReference=this.spatialReference,r.where=(0,_.mA)(r.where,this.objectIdField+"="+e.toString()),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:r,method:"execute"});const i=await this._layer.source.queryFeaturesJSON(r);return 1===i.features.length?((0,h.Rn)(i.features,i.spatialReference??this.spatialReference.toJSON()),i.features[0]):null}async getIdentityUser(){await this.load();const e=l.id?.findCredential(this._layer.url);return e?e.userId:null}async getOwningSystemUrl(){await this.load();const e=l.id?.findServerInfo(this._layer.url);if(e)return e.owningSystemUrl??"";let t=this._layer.url;const r=t.toLowerCase().indexOf("/rest/services");if(t=r>-1?t.slice(0,r):t,t){t+="/rest/info";try{const e=await(0,i.A)(t,{query:{f:"json"}});let r="";return e.data?.owningSystemUrl&&(r=e.data.owningSystemUrl),r}catch{return""}}return""}getDataSourceFeatureSet(){const e=new A({layer:this._layer,spatialReference:this.spatialReference??void 0,outFields:this._overrideFields??void 0,includeGeometry:!this._removeGeometry,lrucache:this._recentlyUsedQueries??void 0,interceptor:this._featureSetQueryInterceptor??void 0});return e._useDefinitionExpression=!1,e}get preferredTimeZone(){return this._layer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._layer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._layer.datesInUnknownTimezone??!1}get editFieldsInfo(){return this._layer.editFieldsInfo??null}get timeInfo(){return this._layer.timeInfo??null}async getFeatureSetInfo(){if(this._featureSetInfo)return this._featureSetInfo;let e=null,t="serviceItemId"in this._layer?this._layer.serviceItemId:null;const r=this._layer.parsedUrl?.path??null;if(r){const a=await(0,i.A)(r,{responseType:"json",query:{f:"json"}});e=a?.data?.name??null,t=a?.data?.serviceItemId??null}const a=this._layer.title&&null!==(this._layer.parent??null);return this._featureSetInfo={layerId:this._layer.layerId,layerName:""===e?null:e,itemId:""===t?null:t,serviceLayerUrl:""===r?null:r,webMapLayerId:a?this._layer.id??null:null,webMapLayerTitle:a?this._layer.title??null:null,className:null,objectClassId:null},this._featureSetInfo}}var R=r(30235);const C=new FinalizationRegistry(e=>{e.abort()});class M extends h.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerParquet",this._outFields=null,this._returnGeometry=!0,this._ignoreDefinitionExpression=!1,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),null!=e.outFields&&(this._outFields=e.outFields),null!=e.includeGeometry&&(this._returnGeometry=e.includeGeometry)}_maxQueryRate(){return 1e3}async loadImpl(){return this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,this.objectIdField=this._layer.objectIdField,null!==this._outFields)if(1===this._outFields.length&&"*"===this._outFields[0])this._outFields=null;else{const e=new Set(this._outFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._outFields=this.fields.map(({name:e})=>e)}this._databaseType=0}getDataSourceFeatureSet(){const e=new M({layer:this._layer,spatialReference:this.spatialReference??void 0,outFields:this._outFields??void 0,includeGeometry:this._returnGeometry});return e._ignoreDefinitionExpression=!0,e}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,this._ignoreDefinitionExpression&&(e.where=null),e}isTable(){return this._layer.isTable}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){if(await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter)return h.An;const t={type:"arcade",returnGeometry:this._returnGeometry,outSpatialReference:(this.spatialReference??this._layer.spatialReference).toJSON(),outFields:Array.from(new Set(this._outFields??this._layer.fields.map(e=>e.name))),where:(0,_.mA)(this._ignoreDefinitionExpression?null:this._layer.definitionExpression,e.where?(0,y.YY)(e.where,0):null),extent:null};if(null!=e.spatialFilter)switch(e.spatialFilter.relation){case"esriSpatialRelIntersects":case"esriSpatialRelContains":case"esriSpatialRelOverlaps":case"esriSpatialRelWithin":case"esriSpatialRelTouches":case"esriSpatialRelCrosses":{const r=e.spatialFilter.geometry.extent;null!=r&&(t.extent=r.toJSON());break}}return{filterApplied:!0,spatialFilterApplied:!1,ordered:!1,features:await this._queryParquetStream(t,e.abortSignal)}}async _queryParquetStream(e,t){const r=new AbortController,i=await this._layer.source._queryStream(e,{signal:r.signal}),a=this._iterateParquetStream(i,r,t);return C.register(a,r,r),a}async*_iterateParquetStream(e,t,r){try{for(;;){const i=await this._layer.source._getStreamNextFeatures(e,{signal:t.signal});if(r.aborted&&(t.abort(),(0,d.dZ)(r)),null==i)break;(0,h.Rn)(i.features,i.spatialReference??this.spatialReference.toJSON()),yield i.features}}finally{C.unregister(t)}}async isEmpty(){return this._totalCount>=0?0===this._totalCount:(this._totalCount=await this._layer.queryFeatureCount(this._createQuery()),this._totalCount<=0)}async queryStat(e){await this._ensureLoaded();const t=(0,f.Dp)(e.stat);if("count"===t)return this._queryCount(e);const r=e.field;if(null==r)throw new d.dr("NeverReach");if(!0!==this._layer.capabilities?.query.supportsStatistics)return null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(e.stat,r,e.limit??1e3,e.abortSignal);if("distinct"===t)return{calculated:!1};if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:null};const i=this._createQuery();if(i.returnGeometry=!1,i.where=(0,_.mA)(i.where,e.where?(0,y.YY)(e.where,0):null),null!=e.spatialFilter){const t=(0,h.rj)(e.spatialFilter.relation);i.spatialRelationship=t.spatialRelationship,i.relationParameter=t.relationParameter,i.geometry=e.spatialFilter.geometry}const a=new v.A;a.statisticType=t,a.onStatisticField=(0,y.YY)(r,0);const s="ARCADE_STAT_RESULT";a.outStatisticFieldName=s,i.outStatistics=[a];const n=await this._layer.source.queryFeaturesJSON(i);if(n.features.length<=0)throw new d.dr("InvalidStatResponse");const l=n.features[0].attributes[s];return{calculated:!0,result:"esriFieldTypeDate"===n.fields?.find(e=>e.name===s)?.type&&null!=l?new Date(l):l}}async _queryCount(e){if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:0};const t=this._createQuery();if(t.where=(0,_.mA)(t.where,e.where?(0,y.YY)(e.where,0):null),null!=e.spatialFilter){const r=(0,h.rj)(e.spatialFilter.relation);t.spatialRelationship=r.spatialRelationship,t.relationParameter=r.relationParameter,t.geometry=e.spatialFilter.geometry}return t.returnGeometry=!1,{calculated:!0,result:await this._layer.queryFeatureCount(t)}}async canQueryAggregate(e){await this._ensureLoaded();const t=this._layer.capabilities?.query;return!0===t?.supportsStatistics&&null==e.spatialFilter}async queryAggregate(e){await this._ensureLoaded();const t=this._createQuery();return t.where=(0,_.mA)(t.where,e.where?(0,y.YY)(e.where,0):null),t.orderByFields=e.orderBy?.toOrderByFields(),t.outFields=["*"],t.outStatistics=e.statistics.map(e=>new v.A({onStatisticField:null!==e.workingexpr?(0,y.YY)(e.workingexpr,0):"",outStatisticFieldName:e.field,statisticType:e.toStatisticsName()})),t.groupByFieldsForStatistics=e.groupBy,t.returnGeometry=!1,{filterApplied:!0,spatialFilterApplied:!0,ordered:null!=e.orderBy,features:async function*(){const r=await this._layer.source.queryFeaturesJSON(t);(0,d.dZ)(e.abortSignal);for(const e of(0,m.Ho)(r.features,this._maxQueryRate()))(0,h.Rn)(e,r.spatialReference??this.spatialReference.toJSON()),yield e}.apply(this)}}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}async queryAttachments(){return[]}serviceUrl(){return""}relationshipMetadata(){return[]}get gdbVersion(){return""}getFeatureByObjectId(){throw new d.dr("NeverReach")}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return null}get dateFieldsTimeZone(){return null}get datesInUnknownTimezone(){return!1}get editFieldsInfo(){return null}get timeInfo(){return null}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}var L=r(26591);class j extends h.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerRelated",this._removeGeometry=!1,this._overrideFields=null,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),this._findObjectId=e.objectId,this.relationship=e.relationship,this._relatedLayer=e.relatedLayer,void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return 1e3}async loadImpl(){return await Promise.all([this._layer.load(),this._relatedLayer.load()]),this._initialiseFeatureSet(),this}nativeCapabilities(){return this._relatedLayer.nativeCapabilities()}_initialiseFeatureSet(){if(null==this.spatialReference&&(this.spatialReference=this._layer.spatialReference),this.geometryType=this._relatedLayer.geometryType,this.fields=this._relatedLayer.fields.slice(),this.hasZ=this._relatedLayer.hasZ,this.hasM=this._relatedLayer.hasM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}const e=this._layer.nativeCapabilities();e&&(this._databaseType=e.databaseType),this.objectIdField=this._relatedLayer.objectIdField,this.globalIdField=this._relatedLayer.globalIdField,this.hasM=this._relatedLayer.supportsM,this.hasZ=this._relatedLayer.supportsZ,this.typeIdField=this._relatedLayer.typeIdField,this.types=this._relatedLayer.types,this.subtypeField=this._relatedLayer.subtypeField,this.subtypes=this._relatedLayer.subtypes}async databaseType(){return this._databaseType=await this._relatedLayer.databaseType(),this._databaseType}isTable(){return this._relatedLayer.isTable()}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){if(await this._ensureLoaded(),await this.databaseType(),this.isTable()&&null!=e.spatialFilter)return h.An;const t=this._layer.nativeCapabilities();if(!1===t.canQueryRelated)return h.An;if(t.capabilities?.queryRelated.supportsPagination)return this._queryUsingPaging(t.source,e);let r=null,i=!1;null!=e.orderBy&&t.capabilities?.queryRelated.supportsOrderBy&&(r=e.orderBy.toOrderByFields(),i=!0);const a=new L.default;return a.objectIds=[this._findObjectId],a.outFields=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map(e=>e.name):["*"]),a.relationshipId=this.relationship.id,a.where="1=1",a.returnGeometry=!0!==this._removeGeometry,a.outSpatialReference=this.spatialReference,a.orderByFields=r,{filterApplied:null==e.where,spatialFilterApplied:null==e.spatialFilter,ordered:i,features:async function*(){const r=await t.source.queryRelatedFeatures(a);(0,d.dZ)(e.abortSignal),yield r[this._findObjectId]?r[this._findObjectId].features:[]}.apply(this)}}async _queryUsingPaging(e,t){let r=null==t.where&&null==t.spatialFilter,i=null,a=!1;const s=this._layer.nativeCapabilities();null!=t.orderBy&&(s.capabilities?.queryRelated.supportsOrderBy?(i=t.orderBy.toOrderByFields(),a=!0):r=!1),await this.databaseType();let n=this._maxQueryRate();const l=s.capabilities?.query.maxRecordCount;null!=l&&l<n&&(n=l);const o=new L.default;return o.relationshipId=this.relationship.id,o.objectIds=[this._findObjectId],o.outFields=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map(e=>e.name):["*"]),o.where="1=1",o.orderByFields=i,o.returnGeometry=!0!==this._removeGeometry,o.outSpatialReference=this.spatialReference,{filterApplied:null==t.where,spatialFilterApplied:null==t.spatialFilter,ordered:a,features:this._queryPaginated(e,o,n,r?t.limit:null,t.abortSignal)}}async*_queryPaginated(e,t,r,i,a){let s;t.num=null!=i?Math.min(i,r):r,t.start=0;do{(0,d.dZ)(a),s=(await e.queryRelatedFeatures(t))[this._findObjectId]??{exceededTransferLimit:!1,features:[]},yield s.features,t.start+=s.features.length,t.num=null!=i?Math.min(i-t.start,r):r}while(!0===s.exceededTransferLimit)}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new d.dr("NeverReach")}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice();if(t.includes("*"))return t;let r=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){r=!0;break}return r||t.push(this.objectIdField),t}get gdbVersion(){return this._relatedLayer.gdbVersion}relationshipMetadata(){return this._relatedLayer.relationshipMetadata()}serviceUrl(){return this._relatedLayer.serviceUrl()}queryAttachments(e,t,r,i,a){return this._relatedLayer.queryAttachments(e,t,r,i,a)}getFeatureByObjectId(e,t){return this._relatedLayer.getFeatureByObjectId(e,t)}getOwningSystemUrl(){return this._relatedLayer.getOwningSystemUrl()}getIdentityUser(){return this._relatedLayer.getIdentityUser()}getDataSourceFeatureSet(){return this._relatedLayer}get preferredTimeZone(){return this._relatedLayer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._relatedLayer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._relatedLayer.datesInUnknownTimezone}get editFieldsInfo(){return this._relatedLayer.editFieldsInfo??null}get timeInfo(){return this._relatedLayer.timeInfo??null}getFeatureSetInfo(){return this._relatedLayer.getFeatureSetInfo()}}var x=r(23732),k=r(92474),O=r(4146),q=r(99680),Z=r(89160),U=r(80812);function N(){null===x.A.applicationCache&&(x.A.applicationCache=new x.A)}async function P(e,t,r){if(x.A.applicationCache){const r=x.A.applicationCache.getLayerInfo(e);if(r){const i=await r;return new F.default({url:e,outFields:t,sourceJSON:i})}const i=new F.default({url:e,outFields:t}),a=(async()=>(await i.load(),i.sourceJSON))();if(x.A.applicationCache){x.A.applicationCache.setLayerInfo(e,a);try{return await a,i}catch(t){throw x.A.applicationCache.clearLayerInfo(e),t}}return await a,i}if(null!=r){const i=r.getCachedLayerMetadata(e);if(i){const r=await i;return new F.default({url:e,outFields:t,sourceJSON:r})}const a=new F.default({url:e,outFields:t}),s=(async()=>(await a.load(),a.sourceJSON))();r.setCachedLayerMetadata(e,s);try{return await s,a}catch(t){throw r.removeCachedLayerMetadata(e,s),t}}return new F.default({url:e,outFields:t})}async function D(e,t,r,i,a,s=null){return E(await P(e,["*"],a),t,r,i,a,s)}function E(e,t=null,r=null,i=!0,a=null,s=null){switch(e.type){case"catalog-footprint":return E(e.parent,t,r,i,a,s);case"subtype-sublayer":{const l=E(e.parent,t,r,i,a,s);return new n.A({parentfeatureset:l,whereclause:w.A.create(e.parent.subtypeField+"="+e.subtypeCode.toString(),{fieldsIndex:e.parent.fieldsIndex,timeZone:l.dateFieldsTimeZoneDefaultUTC})})}case"csv":case"geojson":case"knowledge-graph-sublayer":case"wfs":return new R.A({layer:e,spatialReference:t,outFields:r,includeGeometry:i,lrucache:a,interceptor:s});case"parquet":return new M({layer:e,spatialReference:t,outFields:r,includeGeometry:i});case"catalog":case"feature":case"oriented-imagery":case"subtype-group":{const n={layer:e,spatialReference:t,outFields:r,includeGeometry:i,lrucache:a,interceptor:s};return!e.url&&e.source?new R.A(n):new A(n)}default:throw new Error(`Unsupported layer type: ${e.type}`)}}async function B(e,t){if(null!==x.A.applicationCache){const t=x.A.applicationCache.getLayerInfo(e);if(null!==t)return t}if(null!=t){const r=t.getCachedServiceMetadata(e);if(null!=r)return r}const r=(async()=>{const t=await(0,i.A)(e,{responseType:"json",query:{f:"json"},authMode:"no-prompt"});if(t.data){const e=t.data;return e.layers||(e.layers=[]),e.tables||(e.tables=[]),e}return{layers:[],tables:[]}})();if(null!==x.A.applicationCache){x.A.applicationCache.setLayerInfo(e,r);try{return await r}catch(t){throw x.A.applicationCache.clearLayerInfo(e),t}}if(null!=t){t.setCachedServiceMetadata(e,r);try{return await r}catch(i){throw t.removeCachedServiceMetadata(e,r),i}}return r}async function G(e,t,r){const a={metadata:null,networkId:-1,unVersion:3,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map,queryelem:null,layerNameLkp:{},lkp:null},s=await B(e,null);if(a.metadata=s,void 0!==s.controllerDatasetLayers?.utilityNetworkLayerId&&null!==s.controllerDatasetLayers.utilityNetworkLayerId){if(s.layers)for(const e of s.layers)a.layerNameLkp[e.id]=e.name;if(s.tables)for(const e of s.tables)a.layerNameLkp[e.id]=e.name;const l=s.controllerDatasetLayers.utilityNetworkLayerId;a.networkId=l;const o=await async function(e,t){const r="QUERYDATAELEMTS:"+t.toString()+":"+e;if(null!==x.A.applicationCache){const e=x.A.applicationCache.getLayerInfo(r);if(null!==e)return e}const a=(async()=>{const r=await(0,i.A)(e+"/queryDataElements",{method:"post",responseType:"json",query:{layers:JSON.stringify([t.toString()]),f:"json"}});if(r.data){const e=r.data;if(e.layerDataElements?.[0])return e.layerDataElements[0]}throw new d.dr("DataElementsNotFound")})();if(null!==x.A.applicationCache){x.A.applicationCache.setLayerInfo(r,a);try{return await a}catch(e){throw x.A.applicationCache.clearLayerInfo(r),e}}return a}(e,l);if(o){a.queryelem=o,a.queryelem?.dataElement&&void 0!==a.queryelem.dataElement.schemaGeneration&&(a.unVersion=a.queryelem.dataElement.schemaGeneration),a.lkp={},a.queryelem.dataElement.domainNetworks||(a.queryelem.dataElement.domainNetworks=[]);for(const e of a.queryelem.dataElement.domainNetworks){for(const t of e.edgeSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:a.layerNameLkp[t.layerId]??null};a.layerIdLookup.set(e.layerId,e),a.sourceIdLookup.set(e.sourceId,e),e.className&&(a.lkp[e.className]=e)}for(const t of e.junctionSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:a.layerNameLkp[t.layerId]??null};a.layerIdLookup.set(e.layerId,e),a.sourceIdLookup.set(e.sourceId,e),e.className&&(a.lkp[e.className]=e)}}if(a.queryelem.dataElement.terminalConfigurations)for(const e of a.queryelem.dataElement.terminalConfigurations)for(const t of e.terminals)a.terminals.push({terminalId:t.terminalId,terminalName:t.terminalName});const s=await async function(e){if(null!==x.A.applicationCache){const t=x.A.applicationCache.getLayerInfo(e);if(null!==t)return t}const t=(async()=>{const t=await(0,i.A)(e,{responseType:"json",query:{f:"json"}});return t.data?t.data:null})();if(null!==x.A.applicationCache){x.A.applicationCache.setLayerInfo(e,t);try{return await t}catch(t){throw x.A.applicationCache.clearLayerInfo(e),t}}return t}(e+"/"+l);if(void 0!==s.systemLayers?.associationsTableId&&null!==s.systemLayers.associationsTableId){let i=null;if(r&&a.unVersion<8){const r=[];a.unVersion>=4&&(r.push("STATUS"),r.push("PERCENTALONG")),i=await D(e+"/"+s.systemLayers.associationsTableId,t,["OBJECTID","FROMNETWORKSOURCEID","TONETWORKSOURCEID","FROMGLOBALID","TOGLOBALID","TOTERMINALID","FROMTERMINALID","ASSOCIATIONTYPE","ISCONTENTVISIBLE","GLOBALID",...r],!1,null,null),await i.load(),a.unVersion>=4&&(i=new n.A({parentfeatureset:i,whereclause:w.A.create("STATUS NOT IN (1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63)",{fieldsIndex:i.getFieldsIndex(),timeZone:i.dateFieldsTimeZoneDefaultUTC})}),await i.load())}return{lkp:a.lkp,associations:i,unVersion:a.unVersion,terminals:a.terminals,layerIdLookup:a.layerIdLookup,sourceIdLookup:a.sourceIdLookup}}return{associations:null,unVersion:a.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}return{associations:null,unVersion:a.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}return{associations:null,unVersion:a.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}async function Q(e,t,r,i=null,a=null,s=!0,n=null,l=null){let o=e.serviceUrl();if(!o)return null;o=o.endsWith("/")?o+t.relatedTableId.toString():o+"/"+t.relatedTableId.toString();const u=await D(o,i,a,s,n,l);return new j({layer:e,relatedLayer:u,relationship:t,objectId:r,spatialReference:i,outFields:a,includeGeometry:s,lrucache:n,interceptor:l})}class J extends a{constructor(e,t=null,r=null,i=null){super(),this._map=e,this._overrideSpatialReference=t,this._lrucache=r,this._interceptor=i,this._instantLayers=[]}_makeAndAddFeatureSet(e,t=!0,r=null){const i=E(e,this._overrideSpatialReference,null===r?["*"]:r,t,this._lrucache,this._interceptor);return this._instantLayers.push({featureset:i,opitem:e,includeGeometry:t,outFields:JSON.stringify(r)}),i}async listAll(){(0,k.Zm)(this._map)&&!this._map.loaded&&await this._map.load();const e=this._map.allLayers.toArray().filter(e=>(0,p.eB)(e)).map(e=>({id:e.id,name:e.title})),t=this._map.allTables.toArray().filter(e=>(0,p.eB)(e)).map(e=>({id:e.id,name:e.title}));return e.concat(t)}async featureSetByName(e,t=!0,r=null){if((0,k.Zm)(this._map)&&!this._map.loaded)return await this._map.load(),this.featureSetByName(e,t,r);null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.title===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=this._map.allLayers.find(t=>(0,p.eB)(t)&&t.title===e);if(null!=a)return this._makeAndAddFeatureSet(a,t,r);if(this._map.allTables){const i=this._map.allTables.find(t=>(0,p.eB)(t)&&t.title===e);if(null!=i)return this._makeAndAddFeatureSet(i,t,r)}return null}async featureSetById(e,t=!0,r=["*"]){if((0,k.Zm)(this._map)&&!this._map.loaded)return await this._map.load(),this.featureSetById(e,t,r);null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.id===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=this._map.allLayers.find(t=>(0,p.eB)(t)&&t.id===e);if(a)return this._makeAndAddFeatureSet(a,t,r);if(this._map.allTables){const i=this._map.allTables.find(t=>(0,p.eB)(t)&&t.id===e);if(null!=i)return this._makeAndAddFeatureSet(i,t,r)}return null}}class $ extends a{constructor(e,t=null,r=null,i=null){super(),this._url=e,this._overrideSpatialReference=t,this._lrucache=r,this._interceptor=i,this.metadata=null,this._instantLayers=[]}get url(){return this._url}_makeAndAddFeatureSet(e,t=!0,r=null){const i=E(e,this._overrideSpatialReference,null===r?["*"]:r,t,this._lrucache);return this._instantLayers.push({featureset:i,opitem:e,includeGeometry:t,outFields:JSON.stringify(r)}),i}async _loadMetaData(){const e=await B(this._url,this._lrucache);return this.metadata=e,e}load(){return this._loadMetaData()}clone(){return new $(this._url,this._overrideSpatialReference,this._lrucache,this._interceptor)}async listAll(){const e=await this._loadMetaData();return e.layers.concat(e.tables)}async featureSetByName(e,t=!0,r=null){null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.title===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=await this._loadMetaData();let s=null;for(const t of a.layers??[])t.name===e&&(s=t);if(!s)for(const t of a.tables??[])t.name===e&&(s=t);if(s){const e=await P(this._url+"/"+s.id,["*"],this._lrucache);return this._makeAndAddFeatureSet(e,t,r)}return null}async featureSetById(e,t=!0,r=["*"]){null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);e=null!=e?e.toString():"";for(let r=0;r<this._instantLayers.length;r++){const a=this._instantLayers[r];if(a.opitem.id===e&&a.includeGeometry===t&&a.outFields===i)return this._instantLayers[r].featureset}const a=await this._loadMetaData();let s=null;for(const t of a.layers??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(s=t);if(!s)for(const t of a.tables??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(s=t);if(s){const e=await P(this._url+"/"+s.id,["*"],this._lrucache);return this._makeAndAddFeatureSet(e,t,r)}return null}}function V(e,t,r=null,i=null){return new J(e,t,r,i)}function Y(e,t,r=null,i=null){return new $(e,t,r,i)}function K(e,t,r,i,a){if(null===e)return null;if((0,s.k)(e)){switch(t){case"datasource":return e.getDataSourceFeatureSet();case"parent":return e;case"root":return e.getRootFeatureSet()}return null}if(e instanceof O.A&&(0,p.eB)(e)){switch(t){case"datasource":return E(e,a,"outFields"in e?e.outFields:null,!0,r,i).getDataSourceFeatureSet();case"parent":case"root":return E(e,a,"outFields"in e?e.outFields:null,!0,r,i)}return null}if((0,s.a4)(e)){switch(t){case"datasource":return E(e.parent,a,e.parent.outFields,!0,r,i).getDataSourceFeatureSet();case"parent":case"root":return E(e,a,e.parent.outFields,!0,r,i)}return null}return null}async function z(e,t,r,i,a,s,n,l=null){if(x.A.applicationCache){const o=x.A.applicationCache.getLayerInfo(e+":"+s.url);if(o)return W(await o,t,r,i,a,n,l)}if(null!=n){const o=n.getCachedPortalItem(s.url,e);if(null!=o)return await W(await o,t,r,i,a,n,l)}const o=new U.default({id:e,portal:s}).load();x.A.applicationCache?x.A.applicationCache.setLayerInfo(e+":"+s.url,o):null!=n&&n.setCachedPortalItem(s.url,e,o);try{return await W(await o,t,r,i,a,n,l)}catch(t){throw x.A.applicationCache&&x.A.applicationCache.clearLayerInfo(e+":"+s.url),null!=n&&n.removeCachedPortalItem(s.url,e,o),t}}const H=new Set(["Apache Parquet","Parquet layer","Parquet Layer","Parquet feature layer","Parquet Feature Layer"]);async function W(e,t,r,i,a,s,n){let l;if("Feature Service"===e.type||"Map Service"===e.type)l=await P((0,p.Qi)(e.url??"")+"/"+t,["*"],s);else{if(t)throw new Error(`layerId=${t} provided for ${e.type} item`);if(null!=s){const t=s.getCachedPortalItemLayer(e.portal.url,e.id);if(null!=t)l=await t;else{const t=H.has(e.type)?Promise.resolve(new q.default({data:new Z.A({portalItem:e})})):O.A.fromPortalItem(e);s.setCachedPortalItemLayer(e.portal.url,e.id,t);try{l=await t}catch(r){throw s.removeCachedPortalItemLayer(e.portal.url,e.id,t),r}}}else l=H.has(e.type)?new q.default({data:new Z.A({portalItem:e})}):await O.A.fromPortalItem(e)}return E(l,r,i,a,s,n)}},35704(e,t,r){r.d(t,{A:()=>o});var i=r(48938),a=r(87449),s=r(11221),n=(r(33325),r(80609)),l=r(89696);class o extends s.t1{constructor(e){super(),this.declaredClass="esri.arcade.featureset.actions.AttributeFilter",this._maxProcessing=1e3,this._parent=e.parentfeatureset,e.whereclause instanceof l.A?(this._whereClause=e.whereclause,this._whereClauseFunction=null):(this._whereClauseFunction=e.whereclause,this._whereClause=null)}_initialiseFeatureSet(){this.fields=this._parent.fields.slice(),this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types,this.subtypeField=this._parent.subtypeField,this.subtypes=this._parent.subtypes}async _queryAll(){return(await this.query({abortSignal:i._})).features}async query(e){let t=e.where,r=!0;null!==this._whereClauseFunction?r=!1:null!=t?null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,t)):t=this._whereClause,await this._ensureLoaded();const i=await this._parent.query({...e,where:t,limit:r?e.limit:null});return(0,a.dZ)(e.abortSignal),i.filterApplied&&null==this._whereClauseFunction?i:{...i,features:this._applyFilter(i.features,e.abortSignal)}}async*_applyFilter(e,t){for await(const r of e)if((0,a.dZ)(t),null!=this._whereClause){const e=r.filter(e=>this._whereClause.testFeature(e));e.length>0&&(yield e)}else if(null!=this._whereClauseFunction){const e=[];for(const t of r)await this._whereClauseFunction(t)&&e.push(t);e.length>0&&(yield e)}else yield r}async queryStat(e){if(null!==this._whereClauseFunction)return null==e.where&&null==e.spatialFilter?this._manualStat(e.stat,e.field,e.limit??1e3,e.abortSignal):{calculated:!1};let t=this._whereClause;null!=e.where&&null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,e.where));const r=await this._parent.queryStat({...e,where:t});return r.calculated?r:null==e.where&&null==e.spatialFilter?this._manualStat(e.stat,e.field,e.limit??1e3,e.abortSignal):{calculated:!1}}async canQueryAggregate(e){if(null!==this._whereClauseFunction)return!1;let t=e.where;return null!=t?null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,t)):t=this._whereClause,this._parent.canQueryAggregate({...e,where:t})}async queryAggregate(e){let t=e.where;return null!=t?null!==this._whereClause&&(t=(0,n.kg)(this._whereClause,t)):t=this._whereClause,this._parent.queryAggregate({...e,where:t})}getFieldsIndex(){return this._parent.getFieldsIndex()}}},30235(e,t,r){r.d(t,{A:()=>p});var i=r(48938),a=r(87449),s=r(11221),n=(r(33325),r(80609)),l=r(4576),o=r(39516),u=r(91075),c=r(53781),d=r(33143),h=r(20437);class p extends s.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerMemory",this._removeGeometry=!1,this._overrideFields=null,this._forceIsTable=!1,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),!0===e.isTable&&(this._forceIsTable=!0),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return 1e3}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}get gdbVersion(){return""}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||this._layer.objectIdField===r||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this._databaseType=0,this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,this.subtypeField=("subtypeField"in this._layer?this._layer.subtypeField:null)??"",this.subtypes="subtypes"in this._layer?this._layer.subtypes:null,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}isTable(){return this._forceIsTable||"isTable"in this._layer&&this._layer.isTable||"table"===this._layer.type||!this._layer.geometryType}async _queryAll(){return(await this.query({abortSignal:i._})).features}_queryLayerFeaturesJSON(e){return"queryFeaturesJSON"in this._layer?this._layer.queryFeaturesJSON(e):this._layer.source.queryFeaturesJSON(e)}async query(e){await this._ensureLoaded();let t=null,r=!1;if(null!=e.orderBy&&(t=e.orderBy.toOrderByFields(),r=!0),this.isTable()&&null!=e.spatialFilter)return s.An;const i=this._createQuery();return i.where=(0,o.mA)(i.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,n.YY)(e.where,0)),null!=e.spatialFilter&&(i.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),i.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),i.geometry=e.spatialFilter.geometry),i.outSpatialReference=this.spatialReference,i.orderByFields=t,i.num=e.limit,{filterApplied:!0,spatialFilterApplied:!0,ordered:r,features:async function*(){const t=await this._queryLayerFeaturesJSON(i);(0,a.dZ)(e.abortSignal);for(const e of(0,l.Ho)(t.features,this._maxQueryRate()))(0,s.Rn)(e,t.spatialReference??this.spatialReference.toJSON()),yield e}.apply(this)}}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new a.dr("NeverReach")}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,e.outFields=this._overrideFields??["*"],e.returnGeometry=!this._removeGeometry,e}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}relationshipMetadata(){return[]}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}static create(e,t){let r=e.layerDefinition.objectIdField;const i=e.layerDefinition.typeIdField??"",a=[];if(e.layerDefinition.types)for(const t of e.layerDefinition.types)a.push(d.A.fromJSON(t));let s=e.layerDefinition.geometryType;void 0===s&&(s=e.featureSet.geometryType||"");let n=e.featureSet.features;if(!r){let t=!1;for(const i of e.layerDefinition.fields)if("oid"===i.type||"esriFieldTypeOID"===i.type){r=i.name,t=!0;break}if(!1===t){let t="FID",i=!0,a=0;for(;i;){let r=!0;for(const i of e.layerDefinition.fields)if(i.name===t){r=!1;break}!0===r?i=!1:(a++,t="FID"+a.toString())}e.layerDefinition.fields.push({type:"esriFieldTypeOID",name:t,alias:t});const s=[];for(let r=0;r<n.length;r++)s.push({geometry:e.featureSet.features[r].geometry,attributes:{...e.featureSet.features[r].attributes,[t]:r}});n=s,r=t}}const l=[];for(const t of e.layerDefinition.fields)t instanceof h.A?l.push(t):l.push(h.A.fromJSON(t));let o=s;switch(o||(o=""),o){case"esriGeometryPoint":o="point";break;case"esriGeometryPolyline":o="polyline";break;case"esriGeometryPolygon":o="polygon";break;case"esriGeometryEnvelope":o="extent";break;case"esriGeometryMultipoint":o="multipoint";break;case"":case"esriGeometryNull":o="esriGeometryNull"}if("esriGeometryNull"!==o){const e=t.toJSON();for(const t of n)t.geometry&&t.geometry instanceof u.A==0&&(t.geometry.type=o,void 0===t.geometry.spatialReference&&(t.geometry.spatialReference=e))}else for(const e of n)e.geometry&&(e.geometry=null);const y={outFields:["*"],source:n,fields:l,hasZ:!0===e.layerDefinition.hasZ||!0===e.featureSet.hasZ,hasM:!0===e.layerDefinition.hasM||!0===e.featureSet.hasM,types:a,typeIdField:i,objectIdField:r,spatialReference:t},f="esriGeometryNull"===o||null===o;f||(y.geometryType=o);const m=new c.default(y);return e.layerDefinition.subtypeField&&e.layerDefinition.subtypes&&m.read({subtypes:e.layerDefinition.subtypes,subtypeField:e.layerDefinition.subtypeField}),new p({layer:m,spatialReference:t,isTable:f})}async queryAttachments(){return[]}async getFeatureByObjectId(e){const t=this._createQuery();t.where=this.objectIdField+"="+e.toString();const r=await this._queryLayerFeaturesJSON(t);return 1===r.features.length?((0,s.Rn)(r.features,r.spatialReference??this.spatialReference.toJSON()),r.features[0]):null}serviceUrl(){return""}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return"preferredTimeZone"in this._layer?this._layer.preferredTimeZone:null}get dateFieldsTimeZone(){return"dateFieldsTimeZone"in this._layer?this._layer.dateFieldsTimeZone:null}get datesInUnknownTimezone(){return"datesInUnknownTimezone"in this._layer&&this._layer.datesInUnknownTimezone}get editFieldsInfo(){return"editFieldsInfo"in this._layer?this._layer.editFieldsInfo:null}get timeInfo(){return"timeInfo"in this._layer?this._layer.timeInfo:null}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}},16494(e,t,r){var i=r(17632);const a=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),s=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],n=new i.I({whiteList:a,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(s.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1);r.d(t,["Nd",0,l,"W5",0,n])},159(e,t,r){r.d(t,{A:()=>u});var i,a=r(5482),s=r(69540),n=r(25482),l=r(91429),o=r(99157);let u=i=class extends((0,s.OU)(n.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,a.Cg)([(0,l.MZ)({type:[o.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=i=(0,a.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>o});var i,a=r(5482),s=r(69540),n=r(25482),l=r(91429);let o=i=class extends((0,s.OU)(n.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,a.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],o.prototype,"isInverse",void 0),(0,a.Cg)([(0,l.MZ)({json:{write:!0}})],o.prototype,"wkt",void 0),(0,a.Cg)([(0,l.MZ)({json:{write:!0}})],o.prototype,"wkid",void 0),o=i=(0,a.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],o)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>a});var i=r(49208);function a(e,t,r,a,s,n,l=Math.floor(e.length/3)){const o=(0,i.jd)(t,s);if(null==o)return!1;if(o===i.pO){if(e===a&&r===n)return!0;const t=r+3*l;for(let i=r,s=n;i<t;i++,s++)a[s]=e[i]??0;return!0}const u=r+3*l;for(let t=r,i=n;t<u;t+=3,i+=3)o(e,t,a,i);return!0}},49208(e,t,r){r.d(t,{Tp:()=>d,jd:()=>c,pO:()=>p});var i=r(34727),a=r(86211),s=r(73941),n=r(79258),l=r(34403),o=r(21325);const u={2:{5:p,7:null,9:null,10:p,1:b,6:null,8:null,0:null,3:f,11:m,2:p,4:A},5:{5:p,7:null,9:null,10:p,1:b,6:null,8:null,0:null,3:f,11:m,2:p,4:A},7:{5:null,7:p,9:null,10:p,1:null,6:F,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:y,7:null,9:null,10:y,1:function(e,t,r,i){const a=e[t]/x,s=j-2*Math.atan(Math.exp(-e[t+1]/x)),n=x+(e[t+2]??0),l=Math.cos(s)*n;r[i]=Math.cos(a)*l,r[i+1]=Math.sin(a)*l,r[i+2]=Math.sin(s)*n},6:null,8:null,0:null,3:p,11:function(e,t,r,i){y(e,t,r,i),m(r,i,r,i)},2:y,4:function(e,t,r,i){y(e,t,r,i),A(r,i,r,i)}},4:{5:R,7:null,9:null,10:R,1:function(e,t,r,i){R(e,t,r,i),b(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){R(e,t,r,i),f(r,i,r,i)},11:function(e,t,r,i){R(e,t,r,i),m(r,i,r,i)},2:R,4:p},1:{5:T,7:null,9:null,10:T,1:p,6:null,8:null,0:null,3:function(e,t,r,i){T(e,t,r,i),f(r,i,r,i)},11:function(e,t,r,i){T(e,t,r,i),m(r,i,r,i)},2:T,4:function(e,t,r,i){T(e,t,r,i),A(r,i,r,i)}},6:{5:null,7:v,9:null,10:v,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:S,10:S,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:b,6:F,8:w,0:null,3:f,11:m,2:p,4:A},11:{5:g,7:null,9:null,10:g,1:function(e,t,r,i){g(e,t,r,i),b(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){g(e,t,r,i),f(r,i,r,i)},11:p,2:g,4:function(e,t,r,i){g(e,t,r,i),A(r,i,r,i)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(C.source.spatialReference===e&&C.dest.spatialReference===t)return C;const r=h(e,C.source),i=h(t,C.dest);return 0===r&&0===i?(0,o.aI)(e,t)?C.projector=p:C.projector=null:C.projector=u[r][i],C}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,a.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,o.oT)(e)?t.spatialReferenceId=2:(0,o.K8)(e)?t.spatialReferenceId=3:(0,o.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function p(e,t,r,i){e!==r&&(r[i++]=e[t++],r[i++]=e[t++],r[i]=e[t]??0)}function y(e,t,r,i){r[i]=L*(e[t]/x),r[i+1]=L*(j-2*Math.atan(Math.exp(-e[t+1]/x))),r[i+2]=e[t+2]??0}function f(e,t,r,a){!function(e,t,r,a,s){const n=.4999999*Math.PI,l=(0,i.qE)(M*e[t+1],-n,n),o=Math.sin(l);r[a++]=M*e[t]*s.radius,r[a++]=s.halfSemiMajorAxis*Math.log((1+o)/(1-o)),r[a]=e[t+2]??0}(e,t,r,a,n.$O)}function m(e,t,r,i){r[i]=e[t]*k,r[i+1]=e[t+1]*k,r[i+2]=e[t+2]??0}function g(e,t,r,i){r[i]=e[t]*O,r[i+1]=e[t+1]*O,r[i+2]=e[t+2]??0}function _(e,t,r,i,a){const s=a+(e[t+2]??0),n=M*e[t],l=M*e[t+1],o=Math.cos(l)*s;r[i]=Math.cos(n)*o,r[i+1]=Math.sin(n)*o,r[i+2]=Math.sin(l)*s}function w(e,t,r,i){_(e,t,r,i,n.Sw.radius)}function F(e,t,r,i){_(e,t,r,i,n.sH.radius)}function b(e,t,r,i){_(e,t,r,i,n.$O.radius)}function I(e,t,r,a,s){const n=e[t],l=e[t+1],o=e[t+2]??0,u=Math.sqrt(n*n+l*l+o*o),c=(0,i.YN)(o/(0===u?1:u)),d=Math.atan2(l,n);r[a++]=L*d,r[a++]=L*c,r[a]=u-s}function S(e,t,r,i){I(e,t,r,i,n.Sw.radius)}function v(e,t,r,i){I(e,t,r,i,n.sH.radius)}function T(e,t,r,i){I(e,t,r,i,n.$O.radius)}function A(e,t,r,i){!function(e,t,r,i,a){const s=M*e[t],n=M*e[t+1],l=e[t+2]??0,o=Math.sin(n),u=Math.cos(n),c=a.radius/Math.sqrt(1-a.eccentricitySquared*o*o);r[i++]=(c+l)*u*Math.cos(s),r[i++]=(c+l)*u*Math.sin(s),r[i++]=(c*(1-a.eccentricitySquared)+l)*o}(e,t,r,i,n.$O)}function R(e,t,r,i){const a=l.TP,s=e[t],o=e[t+1],u=e[t+2]??0;let c,d,h,p,y,f,m,g,_,w,F,b,I,S,v,T,A,R,C,M,j;c=Math.abs(u),d=s*s+o*o,h=Math.sqrt(d),p=d+u*u,y=Math.sqrt(p),M=Math.atan2(o,s),f=u*u/p,m=d/p,S=a.a2/y,v=a.a3-a.a4/y,m>.3?(g=c/y*(1+m*(a.a1+S+f*v)/y),C=Math.asin(g),w=g*g,_=Math.sqrt(1-w)):(_=h/y*(1-f*(a.a5-S-m*v)/y),C=Math.acos(_),w=1-_*_,g=Math.sqrt(w)),F=1-n.$O.eccentricitySquared*w,b=n.$O.radius/Math.sqrt(F),I=a.a6*b,S=h-b*_,v=c-I*g,A=_*S+g*v,T=_*v-g*S,R=T/(I/F+A),C+=R,j=A+T*R/2,u<0&&(C=-C),r[i++]=L*M,r[i++]=L*C,r[i]=j}const C={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},M=(0,i.kU)(1),L=(0,i.KJ)(1),j=.5*Math.PI,x=n.$O.radius,k=x*Math.PI/180,O=180/(x*Math.PI);r.d(t,["w5",0,u])},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>$,initializeProjection:()=>Y,isEqualBaseGCS:()=>V,isLoaded:()=>x,isLoadedOrLoad:()=>k,isLoadedOrLoadFor:()=>O,load:()=>Z,project:()=>U,projectAsync:()=>J,projectExtent:()=>ae,projectMany:()=>N,projectMultipoint:()=>W,projectOrLoad:()=>D,projectOrLoadMany:()=>E,projectPoint:()=>z,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>q,test:()=>Q,tryProject:()=>P,unload:()=>G});var i=r(49186),a=r(17676),s=r(62788),n=r(95488),l=r(51850),o=r(21276),u=r(73941),c=r(5443),d=r(91075),h=r(48526),p=r(86738),y=r(39829),f=r(82799),m=r(16930),g=r(98764),_=r(159),w=r(9762),F=r(49208);function b(e,t,r,i,a,s){return I[0]=e,I[1]=t,I[2]=r,(0,w.projectBuffer)(I,i,0,a,s,0)}const I=(0,l.vt)();var S=r(60408),v=r(21325),T=r(52006);let A=null,R=null,C=null,M=null,L={};const j=new n.I;function x(){return!!(R?.isLoaded()&&C?.isLoaded()&&M?.isLoaded())}function k(){return!!x()||((0,s.gc)(j),Z(),!1)}function O(e,t){return!e||!t||$(e,t)||k()}function q(e,t){return!$(e,t)&&!x()}async function Z(e){null==A&&(A=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(R=e,R.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(C=e,C.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(M=e,M.load()))])),await A,(0,a.Te)(e),j.notify()}function U(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,o.H)(e),N(e,e[0].spatialReference,t,r)):((0,o.f)(e),N([e],e.spatialReference,t,r)[0])}function N(e,t,r,i){if(null==t||null==r)return e;if($(t,r,i))return e.map(e=>K(e,t,r));if(null==i?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>K(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(r))return N(e,t,m.A.WGS84).map(e=>K(e,m.A.WGS84,r));if(!x())throw new B;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:M.getTransformation(t,r,i.areaOfInterestExtent)||new _.A};else if(!i?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let a=L[e];a||(a=M.getTransformation(t,r)||new _.A,L[e]=a),i={geographicTransformation:a,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?R.executeMany(e,r,i):C.executeMany(e,r,i)}function P(e,t,r){try{return U(e,t,r)}catch(e){return null}}function D(e,t){const r=E([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function E(e,t,r){if(!x())for(const r of e)if(null!=r&&!(0,v.aI)(r.spatialReference,t)&&(0,v.fn)(r.spatialReference)&&(0,v.fn)(t)&&!$(r.spatialReference,t))return(0,s.gc)(j),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,v.aI)(e.spatialReference,t)?e:(0,v.fn)(e.spatialReference)&&(0,v.fn)(t)?U(e,t,r):null)}}class B extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){A=null,R=null,C=null,M=null,L={}}const Q={get loadPromise(){return A}};async function J(e,t,r){if((0,a.Te)(r),!e)return e;const i=E(Array.isArray(e)?e:[e],t,r);if(i.pending)return await i.pending,(0,a.Te)(r),J(e,t,r);const s=i.geometries??[];return Array.isArray(e)?s:s[0]}function $(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,v.aI)(e,t)||(0,v.fn)(e)&&(0,v.fn)(t)&&!!(0,F.jd)(e,t))}function V(e,t){if((0,v.aI)(e,t))return!0;if(!(0,v.fn)(e)||!(0,v.fn)(t))return!1;const r=(0,v.oT)(e)||(0,v.K8)(e)||(0,v.x1)(e),i=(0,v.oT)(t)||(0,v.K8)(t)||(0,v.x1)(t);return r&&i}async function Y(e,t,r,i){if(x())return(0,a.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:r,options:a}of e)if(t&&r&&!$(t,r,a))return Z(i)}else if(e&&t&&!$(e,t,r))return Z(i);return(0,a.NO)(i)}function K(e,t,r){return e?(0,S.fT)(e)?H(e,t,new p.A,r,0):(0,S.ZC)(e)?se(e,t,new c.A,r,0):(0,S.Bi)(e)?ie(e,t,new y.A,r,0):(0,S.Rg)(e)?te(e,t,new f.A,r,0):(0,S.U9)(e)?X(e,t,new h.A,r,0):null:null}function z(e,t,r=t.spatialReference,i=0){return null!=r&&null!=e.spatialReference&&null!=H(e,e.spatialReference,t,r,i)}function H(e,t,r,i,a){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:a,(0,w.projectBuffer)(ue,t,0,ue,i,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=i,void 0!==s||(0,u.xP)(i)?(r.z=ue[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function W(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,i)}function X(e,t,r,i,a){const{points:s,hasZ:n,hasM:l}=e,o=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],n?e[2]:a);if(!(0,w.projectBuffer)(c,t,0,c,i,0,u))return null;const d=oe(n,i);for(let e=0;e<u;++e){const t=3*e,r=c[t],i=c[t+1];d&&l?o.push([r,i,c[t+2],s[e][3]]):d?o.push([r,i,c[t+2]]):l?o.push([r,i,s[e][2]]):o.push([r,i])}return r.points=o,r.spatialReference=i,r.hasZ=n,r.hasM=l,r}function ee(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,i)}function te(e,t,r,i,a){const{curvePaths:s,paths:n,hasZ:l,hasM:o}=e;if(!(s?le(s,l??!1,o??!1,t,r.curvePaths=[],i,a):ne(n,l??!1,o??!1,t,r.paths,i,a)))return null;const u=oe(l,i);return r.spatialReference=i,r.hasZ=u,r.hasM=o,r}function re(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=ie(e,e.spatialReference,t,r,i)}function ie(e,t,r,i,a){const{curveRings:s,rings:n,hasZ:l,hasM:o}=e;return(s?le(s,l??!1,o??!1,t,r.curveRings=[],i,a):ne(n,l??!1,o??!1,t,r.rings,i,a))?(r.spatialReference=i,r.hasZ=oe(l,i),r.hasM=o,r):null}function ae(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=se(e,e.spatialReference,t,r,i)}function se(e,t,r,i,a){const{xmin:s,ymin:n,xmax:l,ymax:o,hasZ:u,hasM:c}=e;if(!b(s,n,u?e.zmin:a,t,ue,i))return null;const d=oe(u,i);return r.xmin=ue[0],r.ymin=ue[1],d&&(r.zmin=ue[2]),b(l,o,u?e.zmax:a,t,ue,i)?(r.xmax=ue[0],r.ymax=ue[1],d&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=i,r):null}function ne(e,t,r,i,a,s,n=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:n);if(!(0,w.projectBuffer)(l,i,0,l,s,0))return!1;let o=0;a.length=0;const u=t?3:2,c=oe(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(o,o+=3);c||t.pop(),r&&t.push(i[u]),e.push(t)}a.push(e)}return!0}function le(e,t,r,i,a,s,n=0){const l=new Array;for(const r of e)for(const e of r){if((0,T.FG)(e))return!1;if((0,T.aO)(e)){const[r,i]=e.c;l.push(r[0],r[1],t?r[2]:n,i[0],i[1],n);continue}if((0,T.n1)(e)){const[r,i,a]=e.b;l.push(r[0],r[1],t?r[2]:n,i[0],i[1],n,a[0],a[1],n);continue}const r=e;l.push(r[0],r[1],t?r[2]:n)}if(!(0,w.projectBuffer)(l,i,0,l,s,0))return!1;let o=0;a.length=0;const u=t?3:2,c=oe(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(o,o+=3);if(c||t.pop(),r&&t.push((0,T.yP)(i)[u]),(0,T.FG)(i))return!1;if((0,T.aO)(i)){const r=l[o++],i=l[o++];++o,e.push({c:[t,[r,i]]});continue}if((0,T.n1)(i)){const r=l[o++],i=l[o++];++o;const a=l[o++],s=l[o++];++o,e.push({b:[t,[r,i],[a,s]]});continue}e.push(t)}a.push(e)}return!0}function oe(e,t){return e||(0,u.xP)(t)||(0,v.aI)(t,g.Y0)}const ue=(0,l.vt)()},98764(e,t,r){r.d(t,{lO:()=>c});var i=r(73941),a=r(16930),s=r(21325);const n=new a.A(i.fv),l=new a.A(i.FY),o=new a.A(i.LJ),u=new a.A(i.Ro);function c(e){const t=d.get(e);if(t)return t;let r=n;if(e)if(e===l)r=l;else if(e===o)r=o;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,s.tl)(t)||(0,s.tl)(i)?r=l:((0,s.ZL)(t)||(0,s.ZL)(i))&&(r=o);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===h?r=l:e===p&&(r=o)}}}return d.set(e,r),r}const d=new Map,h=l.wkt.toUpperCase(),p=o.wkt.toUpperCase();r.d(t,["GD",0,n,"Y0",0,u])},34403(e,t,r){var i=r(79258);Math.PI;const a=i.$O.radius,s=i.$O.eccentricitySquared,n={a1:a*s,a2:a*s*a*s,a3:a*s*s/2,a4:a*s*a*s*2.5,a5:a*s+a*s*s/2,a6:1-s};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius,r.d(t,["TP",0,n])},4146(e,t,r){r.d(t,{A:()=>_});var i=r(5482),a=r(11254),s=r(49186),n=r(65529),l=r(4902),o=r(92474),u=r(53966),c=r(17676),d=r(84952),h=r(91429),p=r(5443),y=r(16930),f=r(92602),m=r(79677);let g=0,_=class extends((0,n.Zt)((0,l.s)(o.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new p.A(-180,-90,180,90,y.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=y.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(r.bind(r,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(812),r.e(5613),r.e(909)]).then(r.bind(r,45613));try{return await i(t)}catch(e){const r=t?.portalItem,i=r?.id||"unset",a=r?.portal?.url||f.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+a+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,d.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,a.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,h.MZ)({type:String})],_.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],_.prototype,"effectiveVisible",null),(0,i.Cg)([(0,h.MZ)({type:p.A})],_.prototype,"fullExtent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],_.prototype,"hasAttributionData",null),(0,i.Cg)([(0,h.MZ)({type:String,clonable:!1})],_.prototype,"id",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:["show","hide","hide-children"]})],_.prototype,"listMode",void 0),(0,i.Cg)([(0,h.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],_.prototype,"opacity",void 0),(0,i.Cg)([(0,h.MZ)({clonable:!1})],_.prototype,"parent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],_.prototype,"parsedUrl",null),(0,i.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],_.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],_.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],_.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,h.MZ)({type:y.A})],_.prototype,"spatialReference",void 0),(0,i.Cg)([(0,h.MZ)({type:String})],_.prototype,"title",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],_.prototype,"type",void 0),(0,i.Cg)([(0,h.MZ)()],_.prototype,"url",void 0),(0,i.Cg)([(0,h.MZ)({type:m.A})],_.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"visible",void 0),_=(0,i.Cg)([(0,h.$K)("esri.layers.Layer")],_)},52136(e,t,r){var i=r(5482),a=r(91429);r.d(t,["p",0,e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,a.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,a.$K)("esri.layers.mixins.APIKeyMixin")],r),r}])},47685(e,t,r){r.d(t,{Mk:()=>p,Zk:()=>d});var i=r(5482),a=r(65529),s=r(4718),n=r(91429),l=r(20816);const o=new a.bk;function u(e){return o.on("apply-edits",new WeakRef(e))}function c(e){return o.on("update-moment",new WeakRef(e))}function d(e,t,r=null,i=!1){const a=Promise.withResolvers();return i=null==t||i,o.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:r,mayReceiveServiceEdits:i,result:a.promise}),a}const h=Symbol();function p(e){return null!=e&&"object"==typeof e&&h in e}function y(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function f(e,t,r){const i=new URL(e).host,a=l.Z3.get(i),s=e=>!e||e===a;return s(t)&&s(r)||t===r}r.d(t,["w6",0,e=>{var t;const r=e;let a=class extends r{static{t=h}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:r,gdbVersion:i,mayReceiveServiceEdits:a,result:n}=e,l=t===this.url,o=null!=r&&null!=this.layerId&&r===this.layerId,u=null!=r&&this.relationships?.some(e=>e.relatedTableId===r),c=y(this),d=y(this)&&f(t,i,this.gdbVersion);if(!l||c&&!d||!o&&!u&&!a)return;const h=n.then(e=>{if(this.lastEditsEventDate=new Date,o&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,s.o8)(e)),e;const r=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(r){const{adds:t,updates:i,deletes:a}=r.editedFeatures,n={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:a?a.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:i?i.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return this.emit("edits",n),n}const a={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,a.historicMoment)&&this.emit("edits",a),a}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));h.catch(()=>{}),this.emit("apply-edits",{result:h})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:r,moment:i}=e,a=t===this.url,s=y(this),n=y(this)&&f(t,r,this.gdbVersion),l=y(this)&&!f(t,this.gdbVersion,null);a&&s&&n&&l&&"historicMoment"in this&&this.historicMoment!==i&&(this.historicMoment=i)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(c(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,r){return"historicMoment"in this&&this.historicMoment!==r&&(0,l.w5)(e,t)}};return(0,i.Cg)([(0,n.MZ)()],a.prototype,"lastEditsEventDate",void 0),a=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.EditBusLayer")],a),a}])},28032(e,t,r){r.d(t,{A:()=>o});var i=r(5482),a=r(69540),s=r(25482),n=r(91429),l=r(56400);let o=class extends((0,a.OU)(s.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,i.Cg)([(0,n.MZ)()],o.prototype,"creatorField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"creationDateField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"editorField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"editDateField",void 0),(0,i.Cg)([(0,n.MZ)()],o.prototype,"realm",void 0),(0,i.Cg)([(0,n.MZ)((0,l.P6)("dateFieldsTimeReference",!0))],o.prototype,"timeZone",void 0),o=(0,i.Cg)([(0,n.$K)("esri.layers.support.EditFieldsInfo")],o)},33143(e,t,r){r.d(t,{A:()=>d});var i=r(5482),a=r(69540),s=r(25482),n=r(91429),l=r(8631),o=r(29005),u=r(36005),c=r(43937);let d=class extends((0,a.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],d.prototype,"readDomains",null),(0,i.Cg)([(0,c.K)("domains")],d.prototype,"writeDomains",null),(0,i.Cg)([(0,n.MZ)({type:[o.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,i.Cg)([(0,n.$K)("esri.layers.support.FeatureType")],d)},37352(e,t,r){r.d(t,{A:()=>o});var i,a=r(5482),s=r(7762),n=r(25482),l=r(91429);let o=i=class extends n.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,a.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],o.prototype,"floorField",void 0),(0,a.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],o.prototype,"viewAllMode",void 0),(0,a.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],o.prototype,"viewAllLevelIds",void 0),o=i=(0,a.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],o)},45067(e,t,r){r.d(t,{A:()=>c});var i=r(5482),a=r(69540),s=r(66552),n=r(25482),l=r(91429);const o=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,a.OU)(n.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,i.Cg)([(0,l.MZ)({json:{read:o.read,write:o.write}})],c.prototype,"cardinality",void 0),(0,i.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,i.Cg)([(0,l.$K)("esri.layers.support.Relationship")],c)},17311(e,t,r){r.d(t,{A:()=>p});var i=r(5482),a=r(69622),s=r(4576),n=r(60999),l=r(7762),o=r(16494),u=r(91429),c=r(30524),d=r(43668);const h=/<br\s*\/*>/gi;let p=class extends a.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,n.UT)(()=>(0,d.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([r.e(4560),r.e(9301)]).then(r.bind(r,99301)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of r){const r=t.split("."),i=this.fieldsIndex.get(r.at(-1)??"");i&&e.add(i.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){const i=t.getObjectId()??t.attributes?.[e.objectIdField];return(await this.getTitles(e,[t],r)).get(i)??""}async getTitles(e,t,r){const i=new Map,a=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:s}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:n,workingTitle:l}=this,u=l&&n;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let d=u?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:n,globalAttributes:this._createFormattedAttributes(e,t,a).global,layer:e,text:l}):"";r?.removeHTML&&(d=o.Nd.sanitize(d).replaceAll(h," ")),i.set(c,d)})}catch{}return i}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(s.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;const a=await e.queryFeatures(i);if(a?.features.length===t.length)return a.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),i=e?.name??r.fieldName;r.fieldName=i,t.set(i.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const i=this.effectivePopupTemplate?.fieldInfos??[],a={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const r=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{a[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const s={...t.attributes,...a};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:s,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,u.MZ)({readOnly:!0})],p.prototype,"_arcadeTask",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],p.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],p.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"displayField",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"objectIdField",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"requiredFields",null),p=(0,i.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],p)},41560(e,t,r){r.d(t,{Ch:()=>n,mW:()=>s});var i=r(34727),a=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function n(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(s&&((0,i.gg)(t,s[0])||(0,i.ZH)(r,s[1])))return"";const n=Array.from(l(e,t,r)),o=function(e,t,r){if(0===e.length)return!0;const a=c(e.at(0)?.minScale),s=d(e.at(-1)?.maxScale);if((0,i.ZH)(a,t)||(0,i.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],a=e[t+1];if((0,i.ZH)(c(a.minScale),d(r.maxScale)))return!0}return!1}(n,t,r)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,a.IW)(e,t),"");return o&&"1=1"!==o?o:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)o(i.minScale,i.maxScale,t,r)&&(yield i)}}function o(e,t,r,a){return e=c(e),r=c(r),t=d(t),!(!(0,i.Sp)(r,e)&&(a??r)>e||(0,i.Hx)(t,r)||void 0!==a&&(0,i.Sp)(a,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},77548(e,t,r){r.d(t,{Gh:()=>j,tk:()=>A,BR:()=>T,p2:()=>S,qd:()=>R,wI:()=>v,G$:()=>M,$x:()=>C,Ov:()=>w,cM:()=>h,UC:()=>p,Qz:()=>y,OP:()=>L,TU:()=>_,F2:()=>f,XX:()=>g,Qi:()=>F,jy:()=>b});var i=r(70333),a=r(11254),s=r(7762),n=(r(84952),r(36563)),l=r(36708),o=r(4146);const u=new WeakMap;function c(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,l.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof o.A)&&("catalog-dynamic-group"===t.type||c(t))},t=>u.set(e,t),l.pc),(0,n.hA)(()=>u.delete(e))]),u.get(e))}function d(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function h(e){return d(e,"knowledge-graph")&&"layers"in e}function p(e){return d(e,"knowledge-graph-sublayer")}function y(e){return d(e,"link-chart")&&"layers"in e}function f(e){return d(e,"subtype-group")&&"sublayers"in e}function m(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}r(16215);const g={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function _(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function w(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function F(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function b(e){return function(e){return d(e,"catalog-footprint")}(e)||function(e){return d(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return d(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function I(e){const t=e?.type;return"binning"===t||"cluster"===t}function S(e,t){if(!b(e))return;const r=t?.graphic,i="featureReduction"in e?e.featureReduction:null;if(r){if(r.isAggregate){const e=r.origin;return e&&"featureReductionProvider"in e&&i?I(i)?i:null:void 0}return e}return t?.checkFeatureReduction&&i?I(i)?i:null:e}async function v(e,t){const r=i.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const n=`${e.slice(0,s)}/rest/info`,l=null!=t?t.signal:null,{data:o}=await(0,a.A)(n,{query:{f:"json"},responseType:"json",signal:l});return o?.owningSystemUrl||null}function T(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"parquet":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function A(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function R(e){const t=new s.A;for(const r of e.allLayers.concat(e.allTables))c(r)||m(r)||"annotation-feature"===r.type||"dimension-feature"===r.type||("charts"in r&&t.push(r),"subtype-group"===r.type&&t.push(...r.sublayers));return t}function C(e,t){return null}function M(e){return null}function L(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function j(e,t){if(!t||!L(e))return;const r=(e.url,null);r&&(e.url=r)}},73133(e,t,r){const i=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"});r.d(t,["j",0,i])},10536(e,t,r){function i(e){const t={};for(const r in e){if("declaredClass"===r)continue;const a=e[r];if(null!=a&&"function"!=typeof a)if(Array.isArray(a)){t[r]=[];for(let e=0;e<a.length;e++)t[r][e]=i(a[e])}else"object"==typeof a?a.toJSON&&(t[r]=JSON.stringify(a)):t[r]=a}return t}r.d(t,{z:()=>i})},17126(e,t,r){r.d(t,{dw:()=>n,qD:()=>l,qW:()=>o});var i=r(11254),a=r(21325),s=r(10536);function n(e,t){const r=e.toJSON();return r.objectIds&&(r.objectIds=r.objectIds.join(",")),r.orderByFields&&(r.orderByFields=r.orderByFields.join(",")),r.outFields&&!t?.returnCountOnly?r.outFields.includes("*")?r.outFields="*":r.outFields=r.outFields.join(","):delete r.outFields,r.outSR&&(r.outSR=(0,a.YX)(r.outSR)),r.dynamicDataSource&&(r.layer=JSON.stringify({source:r.dynamicDataSource}),delete r.dynamicDataSource),r}async function l(e,t,r){const i=await u(e,t,r),a=i.data,s=a.geometryType,n=a.spatialReference,l={};for(const e of a.relatedRecordGroups){const t={fields:void 0,geometryType:s,spatialReference:n,hasZ:!!a.hasZ,hasM:!!a.hasM,features:e.relatedRecords};if(null!=e.objectId)l[e.objectId]=t;else for(const r of Object.keys(e))"relatedRecords"!==r&&(l[e[r]]=t)}return{...i,data:l}}async function o(e,t,r){const i=await u(e,t,r,{returnCountOnly:!0}),a=i.data,s={};for(const e of a.relatedRecordGroups)null!=e.objectId&&(s[e.objectId]=e.count);return{...i,data:s}}async function u(e,t,r={},a){const l=(0,s.z)({...e.query,f:"json",...a,...n(t,a)});return(0,i.A)(e.path+"/queryRelatedRecords",{...r,query:{...r.query,...l}})}},16215(e,t,r){r.d(t,{S:()=>a});const i=Symbol("BasemapInstance");function a(e){return null!=e&&"object"==typeof e&&i in e}r.d(t,["Y",0,i])},79677(e,t,r){r.d(t,{A:()=>d});var i,a=r(5482),s=r(25482),n=r(88930),l=r(91429),o=(r(98623),r(10184)),u=r(36005),c=r(43937);let d=class extends s.o{static{i=this}static get allTime(){return h}static get empty(){return p}static fromArray(e){return new i({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,a=e.end?.getTime()??e.end;return t===i&&r===a}expandTo(e,t="system"){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let r=this.start;r&&(r=(0,n.lL)(r,new o.A({value:1,unit:e}),t));let a=this.end;if(a){const r=(0,n.lL)(a,new o.A({value:1,unit:e}),t);a=a.getTime()===r.getTime()?r:(0,n.S1)(r,1,e,t)}return new i({start:r,end:a})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,a=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let n,l;return a>=t&&a<=r?n=a:t>=a&&t<=s&&(n=t),r>=a&&r<=s?l=r:s>=t&&s<=r&&(l=s),null==n||null==l||isNaN(n)||isNaN(l)?i.empty:new i({start:n===-1/0?null:new Date(n),end:l===1/0?null:new Date(l)})}offset(e,t,r="system"){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const a=new i,{start:s,end:l}=this;return null!=s&&(a.start=(0,n.S1)(s,e,t,r)),null!=l&&(a.end=(0,n.S1)(l,e,t,r)),a}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return h.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:r})}};(0,a.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,a.Cg)([(0,u.w)("end")],d.prototype,"readEnd",null),(0,a.Cg)([(0,c.K)("end")],d.prototype,"writeEnd",null),(0,a.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,a.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,a.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,a.Cg)([(0,u.w)("start")],d.prototype,"readStart",null),(0,a.Cg)([(0,c.K)("start")],d.prototype,"writeStart",null),d=i=(0,a.Cg)([(0,l.$K)("esri.time.TimeExtent")],d);const h=new d,p=new d({start:void 0,end:void 0})},10184(e,t,r){r.d(t,{A:()=>c});var i=r(5482),a=r(69540),s=r(25482),n=r(88930),l=r(91429),o=r(73133),u=r(93223);let c=class extends((0,a.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,n.t)(this.value,this.unit,"milliseconds")}};(0,i.Cg)([(0,u.e)(o.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,i.Cg)([(0,l.$K)("esri.time.TimeInterval")],c)},20816(e,t,r){r.d(t,{We:()=>l,ZJ:()=>o,w5:()=>u});var i=r(11254);const a=(0,r(13069).vD)(),s=new Map,n=new Map;async function l(e,t,r){if(!e||!r)return!1;if(!t)return!0;const a=new URL(e).host;let n=s.get(a);if(!n){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");n=(await(0,i.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return n===t}async function o(e,t,i=!1){if(!e||!t)return!0;const s=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),l=n.get(s)?.entries();if(l)for(const[e,n]of l)if(n.name===t){const t=!n.stack?.hasForwardEdits();if(!t&&i){const[{deleteForwardEdits:t},{default:i}]=await Promise.all([r.e(2186).then(r.bind(r,32186)),r.e(2558).then(r.bind(r,32558))]),l=await t(s,e,new i({sessionId:a,moment:n.moment}));return l.success&&n.stack?.clearForwardEdits(),l.success}return t}return!0}function u(e,t){if(!e)return!1;const r=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),i=n.get(r)?.entries();if(i)for(const[e,r]of i)if(r.name===t)return"edit"===r.lockType;return!1}new Map,r.d(t,["TA",0,a,"Z3",0,s])}}]);
|