@arcgis/core 5.2.0-next.87 → 5.2.0-next.88
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/arcade/Dictionary.js +1 -1
- package/arcade/Feature.js +1 -1
- package/arcade/ImmutablePointArray.js +1 -1
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/containerUtils.js +1 -1
- package/arcade/debug.js +1 -1
- package/arcade/deepClone.js +1 -1
- package/arcade/featureset/actions/SpatialFilter.js +1 -1
- package/arcade/featureset/support/FeatureSet.js +1 -1
- package/arcade/functions/centroid.js +1 -1
- package/arcade/functions/date.js +1 -1
- package/arcade/functions/feature.js +1 -1
- package/arcade/functions/featuresetbase.js +1 -1
- package/arcade/functions/featuresetgeom.js +1 -1
- package/arcade/functions/featuresetstats.js +1 -1
- package/arcade/functions/featuresetstring.js +1 -1
- package/arcade/functions/fieldStats.js +1 -1
- package/arcade/functions/geomasync.js +1 -1
- package/arcade/functions/geometry.js +1 -1
- package/arcade/functions/geomsync.js +1 -1
- package/arcade/functions/knowledgegraph.js +1 -1
- package/arcade/functions/maths.js +1 -1
- package/arcade/functions/stats.js +1 -1
- package/arcade/functions/string.js +1 -1
- package/arcade/functions/track.js +1 -1
- package/arcade/geometry/adapters/accessor.js +2 -0
- package/arcade/geometry/adapters/dehydrated.js +2 -0
- package/arcade/geometry/adapters/gx.js +2 -0
- package/arcade/geometry/adapters/json.js +2 -0
- package/arcade/geometry/adapters/optimized.js +2 -0
- package/arcade/geometry/adapters/tuple.js +2 -0
- package/arcade/geometry/adapters/utils.js +2 -0
- package/arcade/geometry/arrayOfPointsConversions.js +2 -0
- package/arcade/geometry/constructors.js +1 -1
- package/arcade/geometry/functions.js +1 -1
- package/arcade/geometry/isSelfIntersecting.js +2 -0
- package/arcade/geometry/nearestCoordinate.js +2 -0
- package/arcade/geometry/nearestVertex.js +1 -1
- package/arcade/geometry/operators.js +1 -1
- package/arcade/geometry/operatorsWorker.js +1 -1
- package/arcade/geometry/rotate.js +1 -1
- package/arcade/geometry.js +2 -0
- package/arcade/languageUtils.js +1 -1
- package/arcade.js +1 -1
- package/arcgisGlobal.d.ts +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{0b8c9657975388f1e4c8.js → 00181785a180e934bf7c.js} +1 -1
- package/assets/esri/core/workers/chunks/{01e648b258efa6408070.js → 0336f4f8498a22347720.js} +1 -1
- package/assets/esri/core/workers/chunks/0439d4f4dfd6e78be97e.js +1 -0
- package/assets/esri/core/workers/chunks/05393b23ab24126d4236.js +1 -0
- package/assets/esri/core/workers/chunks/08263c07d92c48806834.js +1 -0
- package/assets/esri/core/workers/chunks/09e01fd1c199be0c8e03.js +1 -0
- package/assets/esri/core/workers/chunks/{12d6d73ca1fa55640a4f.js → 0b4a7209b99227a842ad.js} +1 -1
- package/assets/esri/core/workers/chunks/{073224c6ac77dc9e97af.js → 0b7860a3f18d252b774a.js} +1 -1
- package/assets/esri/core/workers/chunks/0d95f72e1c07ab867d21.js +1 -0
- package/assets/esri/core/workers/chunks/0dbbac7a2378728571a7.js +1 -0
- package/assets/esri/core/workers/chunks/0f15468ffefd3e9a17b8.js +29 -0
- package/assets/esri/core/workers/chunks/13e92f6a9573a2818fb7.js +1 -0
- package/assets/esri/core/workers/chunks/19aa4072764937743bd8.js +1 -0
- package/assets/esri/core/workers/chunks/19e93d4d37018e3ee849.js +1 -0
- package/assets/esri/core/workers/chunks/{911f3a1b8dd4bc5c9782.js → 1bf5c0a4bc5a960a3fa2.js} +1 -1
- package/assets/esri/core/workers/chunks/1c378d489c5402888f76.js +1 -0
- package/assets/esri/core/workers/chunks/1d1e8d8b1fcf2d9f3dfc.js +1 -0
- package/assets/esri/core/workers/chunks/{e5c8f9fef88ca33624e9.js → 1e087fb13b7b0a5d6fec.js} +1 -1
- package/assets/esri/core/workers/chunks/1e192ac0533a5c0b5a7a.js +1 -0
- package/assets/esri/core/workers/chunks/1f9d6180a96d557838e9.js +1 -0
- package/assets/esri/core/workers/chunks/1fe077f57a087c0e9119.js +1 -0
- package/assets/esri/core/workers/chunks/212222b64039d436b9a6.js +1 -0
- package/assets/esri/core/workers/chunks/22c94f9a69b2157f8dbd.js +1 -0
- package/assets/esri/core/workers/chunks/25a2e02677a74834c8b5.js +1 -0
- package/assets/esri/core/workers/chunks/26ecc841396e5e719b6a.js +1 -0
- package/assets/esri/core/workers/chunks/{fcf7299e2ee904ab9882.js → 2724900f7992a79fc442.js} +1 -1
- package/assets/esri/core/workers/chunks/27c0bed59626c7f64125.js +1 -0
- package/assets/esri/core/workers/chunks/2bc3e7f394386fa75447.js +1 -0
- package/assets/esri/core/workers/chunks/2c9783e3b44986e86797.js +1 -0
- package/assets/esri/core/workers/chunks/2ceb07b125c84b51f02a.js +1 -0
- package/assets/esri/core/workers/chunks/2cf2f2842c19be84ab4d.js +1 -0
- package/assets/esri/core/workers/chunks/2d07d5a9ec67c39ef10c.js +1 -0
- package/assets/esri/core/workers/chunks/{a7c715648a07ed70b122.js → 2ec44ebc48beeba11201.js} +1 -1
- package/assets/esri/core/workers/chunks/2f2d699b072472fa710e.js +1 -0
- package/assets/esri/core/workers/chunks/2f3bbc1f7d4abbbeec2f.js +1 -0
- package/assets/esri/core/workers/chunks/304a36e862947fdb05c0.js +1 -0
- package/assets/esri/core/workers/chunks/30af0f7c4cfa541c9efd.js +1 -0
- package/assets/esri/core/workers/chunks/32f11b4aeae1ef00e466.js +1 -0
- package/assets/esri/core/workers/chunks/35d3e60d15294f268992.js +1 -0
- package/assets/esri/core/workers/chunks/37a2be4380796f14fe4e.js +1 -0
- package/assets/esri/core/workers/chunks/37adb55d9f83faad1712.js +1 -0
- package/assets/esri/core/workers/chunks/3869dca884d7ca6488f5.js +1 -0
- package/assets/esri/core/workers/chunks/3a9c6f58a1a065c14017.js +1 -0
- package/assets/esri/core/workers/chunks/3b552afffaa78bf4fe18.js +1 -0
- package/assets/esri/core/workers/chunks/{fe06cc2f90b2d551e4c1.js → 3bbd2d4a19c3b7ad82e4.js} +1 -1
- package/assets/esri/core/workers/chunks/3de07326da4c47cd2aab.js +1 -0
- package/assets/esri/core/workers/chunks/3f5234120d3a14186c1c.js +1 -0
- package/assets/esri/core/workers/chunks/{dbd6bbd3e834ff9d220e.js → 41cf6163758d28fb1968.js} +1 -1
- package/assets/esri/core/workers/chunks/466bb1b69aabaeabad6a.js +1 -0
- package/assets/esri/core/workers/chunks/47e60b2acec18ef37b6c.js +1 -0
- package/assets/esri/core/workers/chunks/4849849fc8330d05a8e6.js +1 -0
- package/assets/esri/core/workers/chunks/497c5a9c95e9a89ac217.js +1 -0
- package/assets/esri/core/workers/chunks/49d36e54644dc2966128.js +1 -0
- package/assets/esri/core/workers/chunks/4aefe6fd4d725a107758.js +1 -0
- package/assets/esri/core/workers/chunks/4b6f433022a6822706cb.js +1 -0
- package/assets/esri/core/workers/chunks/4d4ebb4e4d83c1123b63.js +1 -0
- package/assets/esri/core/workers/chunks/4ee99e654dad6f09abee.js +1 -0
- package/assets/esri/core/workers/chunks/4f0804429d8989aa4c51.js +1 -0
- package/assets/esri/core/workers/chunks/50525b617ef78086d3c7.js +1 -0
- package/assets/esri/core/workers/chunks/5235b9c21ac4156c2375.js +1 -0
- package/assets/esri/core/workers/chunks/52422500ca3d6cf2e596.js +1 -0
- package/assets/esri/core/workers/chunks/527b87fddf33bb5d519e.js +1 -0
- package/assets/esri/core/workers/chunks/55572cefc752b755cf0a.js +1 -0
- package/assets/esri/core/workers/chunks/{a4bae2396fae48b57047.js → 595edbc1e9bba47d5676.js} +1 -1
- package/assets/esri/core/workers/chunks/59cf23cc8f91b5bea31a.js +1 -0
- package/assets/esri/core/workers/chunks/5af16937904c06fb06f6.js +1 -0
- package/assets/esri/core/workers/chunks/5d7a5aa608ed6192b016.js +1 -0
- package/assets/esri/core/workers/chunks/5d9c92c4e60a4696fdad.js +1 -0
- package/assets/esri/core/workers/chunks/5ed7bc9e6cb7cdee92e2.js +1 -0
- package/assets/esri/core/workers/chunks/{272c8ccdbd3dcc14e99b.js → 5ed89c862eee1345e3af.js} +1 -1
- package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +1 -0
- package/assets/esri/core/workers/chunks/64ce2d060ae7cdd412cf.js +1 -0
- package/assets/esri/core/workers/chunks/65f4ca7201e7267bfc81.js +1 -0
- package/assets/esri/core/workers/chunks/67efdd296007a809586c.js +1 -0
- package/assets/esri/core/workers/chunks/691434d4c6a38e63d819.js +1 -0
- package/assets/esri/core/workers/chunks/{ba67aaa08e4f11e1140a.js → 696cb3bf167327d5b0b9.js} +1 -1
- package/assets/esri/core/workers/chunks/69700ed16727ed0c4e3a.js +1 -0
- package/assets/esri/core/workers/chunks/6a2d890640b2cd6c5ccb.js +1 -0
- package/assets/esri/core/workers/chunks/6a4f007f87d9f2a6fbc4.js +1 -0
- package/assets/esri/core/workers/chunks/{7343a44a2382a1d68497.js → 6b9dbf43c0659e55c539.js} +1 -1
- package/assets/esri/core/workers/chunks/6de5c6af62776e1b9776.js +1 -0
- package/assets/esri/core/workers/chunks/70dc25f721c0ac5f3660.js +1 -0
- package/assets/esri/core/workers/chunks/71308dca3fd05687e7bd.js +1 -0
- package/assets/esri/core/workers/chunks/75bddfe2be64379db8fd.js +1 -0
- package/assets/esri/core/workers/chunks/78085f804969c9282700.js +1 -0
- package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +1 -0
- package/assets/esri/core/workers/chunks/7c1f989ee3d13dfe7ebd.js +1 -0
- package/assets/esri/core/workers/chunks/7c56446184abcd14678b.js +1 -0
- package/assets/esri/core/workers/chunks/7ce9c84f90e9dd1deb38.js +1 -0
- package/assets/esri/core/workers/chunks/7f55a150e4da02786311.js +1 -0
- package/assets/esri/core/workers/chunks/7fc3231768ce79e375ae.js +1 -0
- package/assets/esri/core/workers/chunks/7febb434f2de2436435f.js +1 -0
- package/assets/esri/core/workers/chunks/847b02d188ece9b563ad.js +1 -0
- package/assets/esri/core/workers/chunks/903c7bd079888f65fef1.js +1 -0
- package/assets/esri/core/workers/chunks/{bdafd4f03585351cecc3.js → 909a85cb6e0e9a3c8567.js} +1 -1
- package/assets/esri/core/workers/chunks/9226205850e35b7fc610.js +1 -0
- package/assets/esri/core/workers/chunks/922c24b9bb68f4201b03.js +1 -0
- package/assets/esri/core/workers/chunks/9474c913e53f69679197.js +1 -0
- package/assets/esri/core/workers/chunks/94ddfe165ac25aef8229.js +1 -0
- package/assets/esri/core/workers/chunks/{75a2c43311f5f9058f62.js → 94f62ff81cc6fb83e73f.js} +1 -1
- package/assets/esri/core/workers/chunks/95ccac3734ac70387b03.js +1 -0
- package/assets/esri/core/workers/chunks/97c7dfd29ad4c2966cb4.js +1 -0
- package/assets/esri/core/workers/chunks/{1354b8442c2c501238f1.js → 986c5024f22bbfc49aba.js} +1 -1
- package/assets/esri/core/workers/chunks/9b81bd62a2c72f592db1.js +1 -0
- package/assets/esri/core/workers/chunks/{62596065747abce1964d.js → 9b8e33985310f281f084.js} +1 -1
- package/assets/esri/core/workers/chunks/9e2b3754a76e0dd4a94a.js +1 -0
- package/assets/esri/core/workers/chunks/9eb3e6800f5034f1593f.js +1 -0
- package/assets/esri/core/workers/chunks/a0300fac6a06e7d89a52.js +1 -0
- package/assets/esri/core/workers/chunks/a03e7333e3328036f478.js +1 -0
- package/assets/esri/core/workers/chunks/a0565137027c83108953.js +1 -0
- package/assets/esri/core/workers/chunks/a3b403f8acb90af19adb.js +1 -0
- package/assets/esri/core/workers/chunks/a4596f028758649da099.js +1 -0
- package/assets/esri/core/workers/chunks/a46ac0be9aabc4cfedc7.js +1 -0
- package/assets/esri/core/workers/chunks/a4a22149077c7780481c.js +1 -0
- package/assets/esri/core/workers/chunks/a6ab627e965fe7e5bd52.js +1 -0
- package/assets/esri/core/workers/chunks/a7954ad55a241af9064f.js +1 -0
- package/assets/esri/core/workers/chunks/a8b878c12cb1a6ea012b.js +1 -0
- package/assets/esri/core/workers/chunks/{ec0803cfa5051c4d300d.js → aa0ef4493a7e9bed159f.js} +1 -1
- package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +1 -0
- package/assets/esri/core/workers/chunks/ab9927a32350063cb5f0.js +1 -0
- package/assets/esri/core/workers/chunks/adc2620cbe735532004d.js +1 -0
- package/assets/esri/core/workers/chunks/add834f867900a7091d2.js +1 -0
- package/assets/esri/core/workers/chunks/{bbf4c2ee4d56bb0f1a81.js → afa6b74d9ca9ed0154af.js} +1 -1
- package/assets/esri/core/workers/chunks/b0e25ccb5a1e57a82628.js +1 -0
- package/assets/esri/core/workers/chunks/b17a9853250ab626d58d.js +1 -0
- package/assets/esri/core/workers/chunks/b19cff0e43fab2632660.js +1 -0
- package/assets/esri/core/workers/chunks/b2e2234fdf8e05bc3312.js +1 -0
- package/assets/esri/core/workers/chunks/b6063d1755def00d4889.js +1 -0
- package/assets/esri/core/workers/chunks/{39c0a3eb6a870953d530.js → b6f67302d0d5d57add66.js} +1 -1
- package/assets/esri/core/workers/chunks/bb56ab53c5a10c9518a6.js +1 -0
- package/assets/esri/core/workers/chunks/bd2602195e265f8fdb15.js +1 -0
- package/assets/esri/core/workers/chunks/{f762f0f6c83748d8e328.js → bee411f08e2a9499f8f5.js} +1 -1
- package/assets/esri/core/workers/chunks/bf357afbabaa8dec4d75.js +1 -0
- package/assets/esri/core/workers/chunks/bf7875fda48b15271a10.js +1 -0
- package/assets/esri/core/workers/chunks/bfa59005a9b191d18546.js +1 -0
- package/assets/esri/core/workers/chunks/bfb8fc6b940bd5510e29.js +1 -0
- package/assets/esri/core/workers/chunks/{b311658b8a223efe35d6.js → c0e073a77484b0dfd383.js} +1 -1
- package/assets/esri/core/workers/chunks/c13aa45ccd5efb662f88.js +1 -0
- package/assets/esri/core/workers/chunks/c176df477bbbbc9c6922.js +1 -0
- package/assets/esri/core/workers/chunks/c35553d07ad169910742.js +1 -0
- package/assets/esri/core/workers/chunks/c4f582dec07895d3bb93.js +1 -0
- package/assets/esri/core/workers/chunks/c4fef90cf08bbe4f0bb5.js +1 -0
- package/assets/esri/core/workers/chunks/c5c2fed38e0ccf84f1fa.js +1 -0
- package/assets/esri/core/workers/chunks/c80277a313205853a857.js +1 -0
- package/assets/esri/core/workers/chunks/c91042f8bf886056a29c.js +1 -0
- package/assets/esri/core/workers/chunks/ca204c110438f7315790.js +1 -0
- package/assets/esri/core/workers/chunks/ca36d85a47179d95f2fc.js +1 -0
- package/assets/esri/core/workers/chunks/cb6fb04fe5c8d90d4196.js +1 -0
- package/assets/esri/core/workers/chunks/ccaeabc3be07f3c96f50.js +1 -0
- package/assets/esri/core/workers/chunks/{85f459297b0214141d43.js → cd02a6078443b8f63927.js} +1 -1
- package/assets/esri/core/workers/chunks/{e64ccdb8328eb6514e59.js → cd8b3c2fc27c239f9954.js} +1 -1
- package/assets/esri/core/workers/chunks/{3a36c132ceddef3d15c8.js → cdbcc4cd9145dd93db49.js} +1 -1
- package/assets/esri/core/workers/chunks/{e90feee1756a2209f93f.js → ce9fe1a89b474f9e7ee7.js} +1 -1
- package/assets/esri/core/workers/chunks/d04a01dc1b4947478264.js +1 -0
- package/assets/esri/core/workers/chunks/d0cf9ff48f051adbd455.js +1 -0
- package/assets/esri/core/workers/chunks/d119671a32a050517cca.js +1 -0
- package/assets/esri/core/workers/chunks/d26be8313526ecea9c68.js +1 -0
- package/assets/esri/core/workers/chunks/d270b49c037085503016.js +1 -0
- package/assets/esri/core/workers/chunks/{f5eee6e548bb24b5a003.js → d30a7fc8dab4ebb8893b.js} +1 -1
- package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +1 -0
- package/assets/esri/core/workers/chunks/d36bbda9b7261534568f.js +1 -0
- package/assets/esri/core/workers/chunks/d4b0012ae1d3b8a9ba01.js +1 -0
- package/assets/esri/core/workers/chunks/d6b87134e0d120c68d2f.js +1 -0
- package/assets/esri/core/workers/chunks/d6f7aa280f1bd201d4ef.js +1 -0
- package/assets/esri/core/workers/chunks/da9aacdb0b4a04f42fb8.js +1 -0
- package/assets/esri/core/workers/chunks/daf7b647bd960d8bad56.js +1 -0
- package/assets/esri/core/workers/chunks/{10ac92dcd3738ec23dfb.js → db04c1bad40d068306ba.js} +1 -1
- package/assets/esri/core/workers/chunks/{3427f0c026301bcf7272.js → db180f8d25471cfa48af.js} +1 -1
- package/assets/esri/core/workers/chunks/db4c9a9103e979292948.js +1 -0
- package/assets/esri/core/workers/chunks/dceaa6b68eee090073b1.js +1 -0
- package/assets/esri/core/workers/chunks/ddf284648a73b6993737.js +1 -0
- package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +1 -0
- package/assets/esri/core/workers/chunks/e1682e94cc714197ebb4.js +1 -0
- package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +1 -0
- package/assets/esri/core/workers/chunks/e32a14770e036fce79d9.js +1 -0
- package/assets/esri/core/workers/chunks/e370a3337b3c90240e73.js +1 -0
- package/assets/esri/core/workers/chunks/e39bccc000c768120a32.js +1 -0
- package/assets/esri/core/workers/chunks/e40e08029325f43452d0.js +1 -0
- package/assets/esri/core/workers/chunks/{0d7d54e74b5639a0be6e.js → e707534a700a2de687ca.js} +1 -1
- package/assets/esri/core/workers/chunks/e823c9ccb7bc348d8824.js +1 -0
- package/assets/esri/core/workers/chunks/e88eee4c2fc4229c2a8b.js +1 -0
- package/assets/esri/core/workers/chunks/e9f29019aa78f07ace66.js +1 -0
- package/assets/esri/core/workers/chunks/ea75c23c44452f45a949.js +1 -0
- package/assets/esri/core/workers/chunks/ea91c57a0b31f3f65ee5.js +1 -0
- package/assets/esri/core/workers/chunks/eacf216dcd6397c7bd7f.js +1 -0
- package/assets/esri/core/workers/chunks/ee77999df3785468b2b6.js +1 -0
- package/assets/esri/core/workers/chunks/ef851a2cff76fd211c07.js +1 -0
- package/assets/esri/core/workers/chunks/eff359210893239ecec3.js +1 -0
- package/assets/esri/core/workers/chunks/f106cc7f559856f69b9f.js +1 -0
- package/assets/esri/core/workers/chunks/f210cd8afb86b6eaf7a2.js +1 -0
- package/assets/esri/core/workers/chunks/f247f3c5148fa0237a7c.js +1 -0
- package/assets/esri/core/workers/chunks/f250a7aa571889c5ad4b.js +1 -0
- package/assets/esri/core/workers/chunks/{a26dc2647a15b830390e.js → f253875feb11883deb84.js} +1 -1
- package/assets/esri/core/workers/chunks/f31330d628d7e741bf5b.js +1 -0
- package/assets/esri/core/workers/chunks/f3d57c5b9dffd12e45b4.js +1 -0
- package/assets/esri/core/workers/chunks/f43ae1c2f89e1c4396cc.js +1 -0
- package/assets/esri/core/workers/chunks/f60ed579981913d44675.js +1 -0
- package/assets/esri/core/workers/chunks/{147d1e7e2852a4197e5f.js → f665fb4c5633e0a459d8.js} +1 -1
- package/assets/esri/core/workers/chunks/f66e597e524b26e61cd3.js +1 -0
- package/assets/esri/core/workers/chunks/{bec140a69cfdb0519680.js → f74c7cbe4bd12f73ae90.js} +1 -1
- package/assets/esri/core/workers/chunks/{e6f6b38eda34708d61c5.js → f7f2102b16d201e5f531.js} +1 -1
- package/assets/esri/core/workers/chunks/f82ae237452b97cfc024.js +1 -0
- package/assets/esri/core/workers/chunks/f8f7b86bbd62106bc3d4.js +1 -0
- package/assets/esri/core/workers/chunks/f9a4387f850d85c44ca5.js +1 -0
- package/assets/esri/core/workers/chunks/fbc7576ed12964059da6.js +1 -0
- package/assets/esri/core/workers/chunks/fc4a5996fc03f6c32030.js +1 -0
- package/assets/esri/core/workers/chunks/fdd0e6d9927d3c43b0d3.js +1 -0
- package/assets/esri/core/workers/chunks/fddcb8be714ad18ad0c8.js +1 -0
- package/assets/esri/core/workers/chunks/{baa46edd87e97f922128.js → ffe749d790320dddfa74.js} +1 -1
- package/chunks/Bufferer-CclWhXVb.js +1 -1
- package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
- package/chunks/Envelope.js +1 -1
- package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
- package/chunks/GeodeticUtils.js +1 -1
- package/chunks/GeographicTransformation.js +1 -1
- package/chunks/Geometry.js +1 -1
- package/chunks/GlowComposite.glsl.js +9 -7
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/OperatorCentroid2D.js +1 -1
- package/chunks/OperatorContains.js +2 -0
- package/chunks/OperatorCrosses.js +1 -1
- package/chunks/OperatorCut.js +1 -1
- package/chunks/OperatorDisjoint.js +2 -0
- package/chunks/OperatorDistance.js +2 -0
- package/chunks/OperatorEquals.js +2 -0
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
- package/chunks/OperatorGeodeticLength.js +1 -1
- package/chunks/OperatorGraphicBuffer.js +1 -1
- package/chunks/OperatorIntegrate.js +1 -1
- package/chunks/OperatorIntersects.js +1 -1
- package/chunks/OperatorMultiPartToSinglePart.js +1 -1
- package/chunks/OperatorOverlaps.js +1 -1
- package/chunks/OperatorProximity.js +1 -1
- package/chunks/OperatorProximityGeodesic.js +1 -1
- package/chunks/OperatorRelate.js +2 -0
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/OperatorSimplifyOGC.js +1 -1
- package/chunks/OperatorTouches.js +1 -1
- package/chunks/OperatorWithin.js +1 -1
- package/chunks/Point2D.js +1 -1
- package/chunks/ProjectionTransformation.js +1 -1
- package/chunks/SideCalculator2D-DX0718xq.js +1 -1
- package/chunks/UnitFactory.js +1 -1
- package/chunks/aiServices.js +1 -1
- package/chunks/array.js +1 -1
- package/chunks/languageUtils.js +1 -1
- package/config.js +1 -1
- package/core/sql/TimeOnly.js +1 -1
- package/core/units.js +1 -1
- package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
- package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
- package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
- package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
- package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
- package/form/elements/inputs/inputUtils.js +1 -1
- package/geometry/operators/areaOperator.js +1 -1
- package/geometry/operators/bufferOperator.js +1 -1
- package/geometry/operators/centroidOperator.js +1 -1
- package/geometry/operators/clipOperator.js +1 -1
- package/geometry/operators/containsOperator.js +1 -1
- package/geometry/operators/convexHullOperator.js +1 -1
- package/geometry/operators/crossesOperator.js +1 -1
- package/geometry/operators/cutOperator.js +1 -1
- package/geometry/operators/densifyOperator.js +1 -1
- package/geometry/operators/differenceOperator.js +1 -1
- package/geometry/operators/disjointOperator.js +1 -1
- package/geometry/operators/distanceOperator.js +1 -1
- package/geometry/operators/equalsOperator.js +1 -1
- package/geometry/operators/generalizeOperator.js +1 -1
- package/geometry/operators/geodesicBufferOperator.js +1 -1
- package/geometry/operators/geodeticAreaOperator.js +1 -1
- package/geometry/operators/geodeticDensifyOperator.js +1 -1
- package/geometry/operators/geodeticDistanceOperator.js +1 -1
- package/geometry/operators/geodeticLengthOperator.js +1 -1
- package/geometry/operators/gx/operatorAutoComplete.js +1 -1
- package/geometry/operators/gx/operatorBuffer.js +1 -1
- package/geometry/operators/gx/operatorDifference.js +1 -1
- package/geometry/operators/gx/operatorIntersection.js +1 -1
- package/geometry/operators/gx/operatorLabelPoint.js +1 -1
- package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
- package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
- package/geometry/operators/gx/operatorSimplify.js +1 -1
- package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
- package/geometry/operators/gx/operatorUnion.js +1 -1
- package/geometry/operators/intersectionOperator.js +1 -1
- package/geometry/operators/intersectsOperator.js +1 -1
- package/geometry/operators/json/containsOperator.js +1 -1
- package/geometry/operators/json/crossesOperator.js +1 -1
- package/geometry/operators/json/disjointOperator.js +1 -1
- package/geometry/operators/json/intersectsOperator.js +1 -1
- package/geometry/operators/json/overlapsOperator.js +1 -1
- package/geometry/operators/json/touchesOperator.js +1 -1
- package/geometry/operators/json/unionOperator.js +1 -1
- package/geometry/operators/json/withinOperator.js +1 -1
- package/geometry/operators/labelPointOperator.js +1 -1
- package/geometry/operators/lengthOperator.js +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
- package/geometry/operators/offsetOperator.js +1 -1
- package/geometry/operators/overlapsOperator.js +1 -1
- package/geometry/operators/proximityOperator.js +1 -1
- package/geometry/operators/relateOperator.js +1 -1
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/operators/simplifyOGCOperator.js +1 -1
- package/geometry/operators/simplifyOperator.js +1 -1
- package/geometry/operators/support/apiConverter.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/operators/support/projectionTransformation.js +1 -1
- package/geometry/operators/symmetricDifferenceOperator.js +1 -1
- package/geometry/operators/touchesOperator.js +1 -1
- package/geometry/operators/unionOperator.js +1 -1
- package/geometry/operators/withinOperator.js +1 -1
- package/geometry/support/curves/circleUtils.js +1 -1
- package/geometry/support/curves/ellipticArc7Utils.js +1 -1
- package/geometry/support/webMercatorUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/VectorTileLayer.js +1 -1
- package/layers/graphics/hydratedFeatures.js +1 -1
- package/layers/mixins/DataSeriesLayer.js +1 -1
- package/layers/support/csvUtils.js +1 -1
- package/layers/support/fieldUtils.js +1 -1
- package/layers/video/VideoController.js +1 -1
- package/package.json +3 -3
- package/support/ArcadeExpression.js +1 -1
- package/support/arcadeUtils.js +1 -1
- package/support/loadArcade.js +1 -1
- package/support/revision.js +1 -1
- package/support/tests/serviceMockDependencies.js +1 -1
- package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
- package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/RopePullNavigation.js +2 -0
- package/views/3d/layers/TiledLayerView3D.js +1 -1
- package/views/3d/layers/graphics/featureExpressionInfoUtils.js +1 -1
- package/views/3d/layers/i3s/I3SNode.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
- package/views/3d/state/controllers/RopePullController.js +2 -0
- package/views/3d/state/utils/ropePullUtils.js +1 -1
- package/views/3d/support/ElevationAgnosticVisibility.js +1 -1
- package/views/3d/support/sphericalTileUtils.js +1 -1
- package/views/3d/terrain/PlanarPatch.js +1 -1
- package/views/3d/terrain/SphericalPatch.js +1 -1
- package/views/3d/terrain/Tile.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
- package/views/SelectionManager.js +1 -1
- package/views/draw/DrawTool.js +1 -1
- package/views/draw/support/createUtils.js +1 -1
- package/views/support/GeometryWorker.js +1 -1
- package/views/support/selectionUtils.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ArcadeExecutorProvider.js +1 -1
- package/widgets/BatchAttributeForm/templates/FieldElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/support/panConstraint.js +1 -1
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
- package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
- package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
- package/widgets/support/SelectionList/selectionListUtils.d.ts +58 -0
- package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
- package/widgets/support/Selector2D/selectorUtils.js +1 -1
- package/arcade/kernel.js +0 -2
- package/assets/esri/core/workers/chunks/01b7babaefe6500fd6eb.js +0 -1
- package/assets/esri/core/workers/chunks/06e109e92de7fa0956e3.js +0 -1
- package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +0 -1
- package/assets/esri/core/workers/chunks/0993e51d3a9701ed2198.js +0 -1
- package/assets/esri/core/workers/chunks/09a0a1e794ddff65aa08.js +0 -1
- package/assets/esri/core/workers/chunks/0e57d33bd202d0972207.js +0 -1
- package/assets/esri/core/workers/chunks/114ba901fd319ce87dc6.js +0 -1
- package/assets/esri/core/workers/chunks/151bac9e519a3b821baf.js +0 -1
- package/assets/esri/core/workers/chunks/156f85ac1885464f0072.js +0 -1
- package/assets/esri/core/workers/chunks/180eebd8b7badc2840c9.js +0 -1
- package/assets/esri/core/workers/chunks/19cb8963d5ec2246357b.js +0 -1
- package/assets/esri/core/workers/chunks/19d4ecee1c161ac0f33c.js +0 -1
- package/assets/esri/core/workers/chunks/19ece9f5313f53384cac.js +0 -1
- package/assets/esri/core/workers/chunks/1d770e8f0fe57d937daa.js +0 -1
- package/assets/esri/core/workers/chunks/1dd22b8df6a52277c64b.js +0 -1
- package/assets/esri/core/workers/chunks/1ede298ab815e9ad625c.js +0 -1
- package/assets/esri/core/workers/chunks/208bc524bd1e0d3aab79.js +0 -1
- package/assets/esri/core/workers/chunks/20a4ae83542c7d39cf0f.js +0 -1
- package/assets/esri/core/workers/chunks/21071ab3d7b2771406ae.js +0 -1
- package/assets/esri/core/workers/chunks/21bfa89363104f041101.js +0 -1
- package/assets/esri/core/workers/chunks/21d0a4d6639d32278f11.js +0 -1
- package/assets/esri/core/workers/chunks/22a75fdc6ba60213a870.js +0 -1
- package/assets/esri/core/workers/chunks/22e004ed97e06536ecef.js +0 -1
- package/assets/esri/core/workers/chunks/23942712a3f6290e0fdb.js +0 -1
- package/assets/esri/core/workers/chunks/242287de82586d42f0a4.js +0 -1
- package/assets/esri/core/workers/chunks/25cb5086eaa412f6820b.js +0 -1
- package/assets/esri/core/workers/chunks/26c8ed0aef59ed6d5267.js +0 -1
- package/assets/esri/core/workers/chunks/2742d62fceaf0736aef0.js +0 -1
- package/assets/esri/core/workers/chunks/276eba546dc8774076ee.js +0 -1
- package/assets/esri/core/workers/chunks/28e02b213da9e682d3dc.js +0 -29
- package/assets/esri/core/workers/chunks/2d8195231cb16247f198.js +0 -1
- package/assets/esri/core/workers/chunks/2db1227ecd421728630d.js +0 -1
- package/assets/esri/core/workers/chunks/2ddc9c9ff6ec243d85e2.js +0 -1
- package/assets/esri/core/workers/chunks/2e712154ebb895d96ba1.js +0 -1
- package/assets/esri/core/workers/chunks/2f2df51d4976ae65edae.js +0 -1
- package/assets/esri/core/workers/chunks/32d31fd4cffdf5a80acb.js +0 -1
- package/assets/esri/core/workers/chunks/33aaa5a49e396a0aca47.js +0 -1
- package/assets/esri/core/workers/chunks/35622088727e120c93b9.js +0 -1
- package/assets/esri/core/workers/chunks/3714cc26f446c4d9cc2c.js +0 -1
- package/assets/esri/core/workers/chunks/3722d40d161d60370936.js +0 -1
- package/assets/esri/core/workers/chunks/3ac4cfeb1af12a9dc27d.js +0 -1
- package/assets/esri/core/workers/chunks/3b009c05eaec5a7048a8.js +0 -1
- package/assets/esri/core/workers/chunks/3b376318df4ff8519370.js +0 -1
- package/assets/esri/core/workers/chunks/3bf37fd3280f4891c76b.js +0 -1
- package/assets/esri/core/workers/chunks/3d18a10a1ecfabe92db3.js +0 -1
- package/assets/esri/core/workers/chunks/3de20165796fa4f76728.js +0 -1
- package/assets/esri/core/workers/chunks/3fbd4c7e25440c4713f2.js +0 -1
- package/assets/esri/core/workers/chunks/407dba2be21255eb47fc.js +0 -1
- package/assets/esri/core/workers/chunks/44b1a4e8a65221ad3808.js +0 -1
- package/assets/esri/core/workers/chunks/48b31b8534e7bfe42976.js +0 -1
- package/assets/esri/core/workers/chunks/48f6af09436723f2d861.js +0 -1
- package/assets/esri/core/workers/chunks/49e37f653b81f9e4f7cc.js +0 -1
- package/assets/esri/core/workers/chunks/4b4221a869b3f0d517fa.js +0 -1
- package/assets/esri/core/workers/chunks/4b86bcde5992eb752ab0.js +0 -1
- package/assets/esri/core/workers/chunks/4b9095e2bd060efd47c4.js +0 -1
- package/assets/esri/core/workers/chunks/5084de4d0d4961b63ab7.js +0 -1
- package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +0 -1
- package/assets/esri/core/workers/chunks/5324e4feb78203204c0c.js +0 -1
- package/assets/esri/core/workers/chunks/5536cee0dfc183584a9b.js +0 -1
- package/assets/esri/core/workers/chunks/58d10928959ae1e2e8d9.js +0 -1
- package/assets/esri/core/workers/chunks/597a8e3d9e458298fdd3.js +0 -1
- package/assets/esri/core/workers/chunks/5a006ff759fad9fc25cb.js +0 -1
- package/assets/esri/core/workers/chunks/60be6de19c5659091d8f.js +0 -1
- package/assets/esri/core/workers/chunks/61a38237e163b39520e5.js +0 -1
- package/assets/esri/core/workers/chunks/61fcdba6f2097378dce5.js +0 -1
- package/assets/esri/core/workers/chunks/6561c01c67db1f4c546e.js +0 -1
- package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +0 -1
- package/assets/esri/core/workers/chunks/67452ba9e87962b9e01e.js +0 -1
- package/assets/esri/core/workers/chunks/68195277046861ed39a7.js +0 -1
- package/assets/esri/core/workers/chunks/68705692335d57522030.js +0 -1
- package/assets/esri/core/workers/chunks/6a2a4da3a1cd64ff576f.js +0 -1
- package/assets/esri/core/workers/chunks/6af1680771fd8ae8c7dc.js +0 -1
- package/assets/esri/core/workers/chunks/6c367de583e0e657ca3a.js +0 -1
- package/assets/esri/core/workers/chunks/6d2021a0f0c9a3c6a0e6.js +0 -1
- package/assets/esri/core/workers/chunks/6db4a4f9a9ce7cc738d0.js +0 -1
- package/assets/esri/core/workers/chunks/6f2a9259240769c7cd6e.js +0 -1
- package/assets/esri/core/workers/chunks/724260e36efea90585f4.js +0 -1
- package/assets/esri/core/workers/chunks/74ae1222787389d5fcaa.js +0 -1
- package/assets/esri/core/workers/chunks/74bfaa98da6c5d375f05.js +0 -1
- package/assets/esri/core/workers/chunks/7a68a16f7fea712b9fd6.js +0 -1
- package/assets/esri/core/workers/chunks/7b2174b19d06c16715f0.js +0 -1
- package/assets/esri/core/workers/chunks/7d8e59ad438fb34b476d.js +0 -1
- package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +0 -1
- package/assets/esri/core/workers/chunks/80795118467fb31ea4ed.js +0 -1
- package/assets/esri/core/workers/chunks/820c530b8765ecb1f36e.js +0 -1
- package/assets/esri/core/workers/chunks/830daaca32352da6eebe.js +0 -1
- package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
- package/assets/esri/core/workers/chunks/85c538bf1209f0da1f8e.js +0 -1
- package/assets/esri/core/workers/chunks/8c2921081ca3e7fd0385.js +0 -1
- package/assets/esri/core/workers/chunks/8db3fd97e8eccd3ba1db.js +0 -1
- package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +0 -1
- package/assets/esri/core/workers/chunks/8e79a84e224d05204e7d.js +0 -1
- package/assets/esri/core/workers/chunks/8e9aff66a2d4e2cc102b.js +0 -1
- package/assets/esri/core/workers/chunks/917318f8e186f466dc52.js +0 -1
- package/assets/esri/core/workers/chunks/9267f6a65c2245696eac.js +0 -1
- package/assets/esri/core/workers/chunks/958e161634b5bfd50625.js +0 -1
- package/assets/esri/core/workers/chunks/9658b46a7111cda53b0d.js +0 -1
- package/assets/esri/core/workers/chunks/974bcaf2a059b8cfb153.js +0 -1
- package/assets/esri/core/workers/chunks/99881d0a6c2490a16268.js +0 -1
- package/assets/esri/core/workers/chunks/99980c944acb8ff88d6a.js +0 -1
- package/assets/esri/core/workers/chunks/9c227785f4454d3966ea.js +0 -1
- package/assets/esri/core/workers/chunks/9d61d9136f3d00aab530.js +0 -1
- package/assets/esri/core/workers/chunks/9df2685583393a87df2d.js +0 -1
- package/assets/esri/core/workers/chunks/9e840a71906c4deef776.js +0 -1
- package/assets/esri/core/workers/chunks/9ee6e8a6b9bfda758c21.js +0 -1
- package/assets/esri/core/workers/chunks/a03f4605bde69bfb6d41.js +0 -1
- package/assets/esri/core/workers/chunks/a327843cee2057ee76c0.js +0 -1
- package/assets/esri/core/workers/chunks/a557347fb313df6fcc79.js +0 -1
- package/assets/esri/core/workers/chunks/a8da0728a12fc46dca23.js +0 -1
- package/assets/esri/core/workers/chunks/a9ea28e0f22cfe3ccf92.js +0 -1
- package/assets/esri/core/workers/chunks/aae92f23b38ae22dd8bf.js +0 -1
- package/assets/esri/core/workers/chunks/ad3714da9c90d7471385.js +0 -1
- package/assets/esri/core/workers/chunks/b047f9e9ba26037657ed.js +0 -1
- package/assets/esri/core/workers/chunks/b1323800119bd5c1759b.js +0 -1
- package/assets/esri/core/workers/chunks/b18c35f25da18a3219d7.js +0 -1
- package/assets/esri/core/workers/chunks/b1f68ee65cce457d7b5b.js +0 -1
- package/assets/esri/core/workers/chunks/b2d6fd436981c890152f.js +0 -1
- package/assets/esri/core/workers/chunks/b3c518ca8679fbe16ece.js +0 -1
- package/assets/esri/core/workers/chunks/b4b4fe06364bea9b0750.js +0 -1
- package/assets/esri/core/workers/chunks/b61b7005edd9ced925e9.js +0 -1
- package/assets/esri/core/workers/chunks/b661aae7e3ce955a783e.js +0 -1
- package/assets/esri/core/workers/chunks/b66ebe53bd879aa9de57.js +0 -1
- package/assets/esri/core/workers/chunks/b8ca80134abfcc692244.js +0 -1
- package/assets/esri/core/workers/chunks/bbdf10d76d852072c878.js +0 -1
- package/assets/esri/core/workers/chunks/bbeb61d9302323bae9fb.js +0 -1
- package/assets/esri/core/workers/chunks/bbfd2b4af8e498b61af9.js +0 -1
- package/assets/esri/core/workers/chunks/bddd5aa7a14cd45ff91c.js +0 -1
- package/assets/esri/core/workers/chunks/be31c2cb97f664a54306.js +0 -1
- package/assets/esri/core/workers/chunks/be4319827db91aa71bf5.js +0 -1
- package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +0 -1
- package/assets/esri/core/workers/chunks/c1568bcd3f04014152e1.js +0 -1
- package/assets/esri/core/workers/chunks/c1a7c475ce0c59ffa75a.js +0 -1
- package/assets/esri/core/workers/chunks/c229a4eedda468c914a9.js +0 -1
- package/assets/esri/core/workers/chunks/c2b2942456f1b10d0e96.js +0 -1
- package/assets/esri/core/workers/chunks/c308d8f419ba63c583e6.js +0 -1
- package/assets/esri/core/workers/chunks/c5dc2743c7116d0bc0d8.js +0 -1
- package/assets/esri/core/workers/chunks/c68cc3b9c170b8de22dc.js +0 -1
- package/assets/esri/core/workers/chunks/c6ef0636073e28350c91.js +0 -1
- package/assets/esri/core/workers/chunks/c71368cd64f240da1743.js +0 -1
- package/assets/esri/core/workers/chunks/cb2f27e5d465124b9868.js +0 -1
- package/assets/esri/core/workers/chunks/cee2f7f3b3f84688e49d.js +0 -1
- package/assets/esri/core/workers/chunks/d0942860a53b02371e94.js +0 -1
- package/assets/esri/core/workers/chunks/d13eeff678972a245d5d.js +0 -1
- package/assets/esri/core/workers/chunks/d3d7b4cd28a0dc2720d4.js +0 -1
- package/assets/esri/core/workers/chunks/d3ea7ac6fe71c95faa75.js +0 -1
- package/assets/esri/core/workers/chunks/d41e4498aaf4970f48b0.js +0 -1
- package/assets/esri/core/workers/chunks/d56603e1d0031f3c5f3b.js +0 -1
- package/assets/esri/core/workers/chunks/d7c8725ffb175cec5f8a.js +0 -1
- package/assets/esri/core/workers/chunks/d96fa373dcb621c2a869.js +0 -1
- package/assets/esri/core/workers/chunks/da233362b06b6db375f1.js +0 -1
- package/assets/esri/core/workers/chunks/dbc8f15a6be835f4897d.js +0 -1
- package/assets/esri/core/workers/chunks/e00d0036974aaec7d876.js +0 -1
- package/assets/esri/core/workers/chunks/e0c75ae3a211a8da10f7.js +0 -1
- package/assets/esri/core/workers/chunks/e474106292834633e7d4.js +0 -1
- package/assets/esri/core/workers/chunks/e557043f90c051e93925.js +0 -1
- package/assets/esri/core/workers/chunks/e5cbed6f19c743915c8e.js +0 -1
- package/assets/esri/core/workers/chunks/e5ecd93bd32e99bc99d1.js +0 -1
- package/assets/esri/core/workers/chunks/eb8c4f194bb66a27d418.js +0 -1
- package/assets/esri/core/workers/chunks/ebd8c77df5df63bd3efe.js +0 -1
- package/assets/esri/core/workers/chunks/f14347f5d63f5d102617.js +0 -1
- package/assets/esri/core/workers/chunks/f3c0280b6c87f2383a60.js +0 -1
- package/assets/esri/core/workers/chunks/f42c4dcb8f413ca1c6fd.js +0 -1
- package/assets/esri/core/workers/chunks/f5773321487ec248fa3b.js +0 -1
- package/assets/esri/core/workers/chunks/f76911f71540b058a881.js +0 -1
- package/assets/esri/core/workers/chunks/f988d5a6dcc15fe34797.js +0 -1
- package/assets/esri/core/workers/chunks/fa29b5064d6626cfc019.js +0 -1
- package/assets/esri/core/workers/chunks/fa882d0f4a9826533421.js +0 -1
- package/assets/esri/core/workers/chunks/fb2d43608006f588e3cb.js +0 -1
- package/assets/esri/core/workers/chunks/fbd02e8277fe2252ecd2.js +0 -1
- package/assets/esri/core/workers/chunks/fc1aeea22f8c9d63864a.js +0 -1
- package/assets/esri/core/workers/chunks/fc3c03cfa3d6bf3b37dc.js +0 -1
- package/assets/esri/core/workers/chunks/ff07d351553deb70b889.js +0 -1
- package/assets/esri/core/workers/chunks/ffee66699f5d26569baf.js +0 -1
- package/chunks/OperatorDefinitions.js +0 -2
- package/chunks/areaOperator.js +0 -2
- package/chunks/bufferOperator.js +0 -2
- package/chunks/centroidOperator.js +0 -2
- package/chunks/clipOperator.js +0 -2
- package/chunks/containsOperator.js +0 -2
- package/chunks/convexHullOperator.js +0 -2
- package/chunks/crossesOperator.js +0 -2
- package/chunks/cutOperator.js +0 -2
- package/chunks/densifyOperator.js +0 -2
- package/chunks/differenceOperator.js +0 -2
- package/chunks/disjointOperator.js +0 -2
- package/chunks/distanceOperator.js +0 -2
- package/chunks/equalsOperator.js +0 -2
- package/chunks/generalizeOperator.js +0 -2
- package/chunks/geodesicBufferOperator.js +0 -2
- package/chunks/geodeticAreaOperator.js +0 -2
- package/chunks/geodeticDensifyOperator.js +0 -2
- package/chunks/geodeticDistanceOperator.js +0 -2
- package/chunks/geodeticLengthOperator.js +0 -2
- package/chunks/intersectionOperator.js +0 -2
- package/chunks/intersectsOperator.js +0 -2
- package/chunks/labelPointOperator.js +0 -2
- package/chunks/lengthOperator.js +0 -2
- package/chunks/multiPartToSinglePartOperator.js +0 -2
- package/chunks/offsetOperator.js +0 -2
- package/chunks/overlapsOperator.js +0 -2
- package/chunks/proximityOperator.js +0 -2
- package/chunks/relateOperator.js +0 -2
- package/chunks/simplifyOperator.js +0 -2
- package/chunks/symmetricDifferenceOperator.js +0 -2
- package/chunks/touchesOperator.js +0 -2
- package/chunks/unionOperator.js +0 -2
- package/chunks/withinOperator.js +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3543],{93543(e,t,n){n.r(t),n.d(t,{executeScript:()=>ge,extend:()=>we,prepareScript:()=>he});var r=n(48938),o=n(99719),a=n(72888),i=n(17433),s=n(67862),c=n(11484),l=n(66395),u=n(85935),f=n(93833),p=n(92400),w=n(78878),d=n(19157),h=n(3367),g=n(63680),m=n(81113),b=n(32091),y=n(87367),v=n(21593),x=n(36770),D=n(47346),S=n(29304),$=n(4730),k=n(53966),I=n(16930),C=n(94128),R=n(54218);const F=()=>k.A.getLogger("esri.arcade.arcadeAsyncRuntime"),N=Symbol("debugInfo"),O=Symbol("uninitialized");function M(e){if(e===O)throw new u.D$("InvalidIdentifier",null)}function A(e){return M(e),e}function E(e,t){const n=(0,r.X)(t);if(null!==e.localScope){const t=e.localScope[n];if(void 0!==t)return{scope:e.localScope,id:n,var:t}}const o=e.globalScope[n];if(void 0!==o)return{scope:e.globalScope,id:n,var:o};throw new u.D$("InvalidIdentifier",t)}function j(e,t,n="InvalidIdentifier"){const o=(0,r.X)(t);if(null!==e.localScope){const t=e.localScope[o];if(void 0!==t)return M(t),t.value}const a=e.globalScope[o];if(void 0!==a)return M(a),a.value;throw new u.D$(n,t)}const B=function(){};async function U(e,t){const n=[];for(let r=0;r<t.arguments.length;r++)n.push(await W(e,t.arguments[r]));return n}async function K(e,t,n){return!0===t.preparsed?n(e,null,t.arguments):n(e,t,await U(e,t))}B.prototype=Object.freeze(Object.create(null));class L extends p.fF{constructor(e,t,n,r,o){super(),this.definition=e,this.context=t,this._params=n,this._locals=r,this._debugInfo=o}get debugName(){return this.definition.id.name}createFunction(e){return(...t)=>{const n=new B;n[N]=this._debugInfo;const r={spatialReference:this.context.spatialReference,console:this.context.console,lrucache:this.context.lrucache,timeZone:this.context.timeZone??null,exports:this.context.exports,libraryResolver:this.context.libraryResolver,interceptor:this.context.interceptor,services:this.context.services,abortSignal:this.context.abortSignal,localScope:n,depthCounter:{depth:e.depthCounter.depth+1},globalScope:this.context.globalScope,contextScopeDebugInfo:this.context.contextScopeDebugInfo,track:this.context.track};if(r.depthCounter.depth>64)throw new u.D$("MaximumCallDepth",null);return _(r,this.definition.body,this._params,this._locals,t,null)}}call(e,t){return G(e,t,(n,r,o)=>{const a=new B;a[N]=this._debugInfo;const i={spatialReference:e.spatialReference,services:e.services,console:e.console,libraryResolver:e.libraryResolver,exports:e.exports,lrucache:e.lrucache,timeZone:e.timeZone??null,interceptor:e.interceptor,localScope:a,abortSignal:e.abortSignal,globalScope:e.globalScope,contextScopeDebugInfo:e.contextScopeDebugInfo,depthCounter:{depth:e.depthCounter.depth+1},track:e.track};if(i.depthCounter.depth>64)throw new u.D$("MaximumCallDepth",t);return _(i,this.definition.body,this._params,this._locals,o,t)})}marshalledCall(e,t,n,r){return r(e,t,async(o,a,i)=>{const s=new B;s[N]=this._debugInfo;const c={spatialReference:e.spatialReference,services:e.services,globalScope:n.globalScope,contextScopeDebugInfo:n.contextScopeDebugInfo,depthCounter:{depth:e.depthCounter.depth+1},libraryResolver:e.libraryResolver,exports:e.exports,console:e.console,abortSignal:e.abortSignal,lrucache:e.lrucache,timeZone:e.timeZone??null,interceptor:e.interceptor,localScope:s,track:e.track};return i=i.map(t=>!(0,w.i)(t)||t instanceof p.CU?t:(0,p.o6)(t,e,r)),(0,p.o6)(await _(c,this.definition.body,this._params,this._locals,i,t),n,r)})}}async function _(e,t,n,r,o,a){if(n.length!==o.length)throw new u.D$("WrongNumberOfParameters",a);if(null!=e.localScope){for(let t=0;t<n.length;t++)e.localScope[n[t]]={value:o[t]};for(const t of r)e.localScope[t]=O}const i=await q(e,t);if(i instanceof w.R)return i.value;if(i===w.C)throw new u.D$("UnexpectedToken",a);if(i===w.D)throw new u.D$("UnexpectedToken",a);return i instanceof w.I?i.value:i}class z extends o.x{constructor(e){super(),this.moduleGlobalContext=e}global(e){const t=(0,r.X)(e);if(!this.moduleGlobalContext.exports.has(t))throw new u.D$("ModuleExportNotFound",null);const n=this.moduleGlobalContext.globalScope[t];if(M(n),(0,w.i)(n.value)&&!(n.value instanceof p.CU)){const e=new p.CU;return e.fn=n.value,e.parameterEvaluator=K,e.context=this.moduleGlobalContext,this.moduleGlobalContext.globalScope[t]={value:e},e}return n.value}setGlobal(e,t){if((0,w.i)(t))throw new u.D$("AssignModuleFunction",null);const n=(0,r.X)(e);if(!this.moduleGlobalContext.exports.has(n))throw new u.D$("ModuleExportNotFound",null);this.moduleGlobalContext.globalScope[n]={value:t}}hasGlobal(e){return this.moduleGlobalContext.exports.has((0,r.X)(e))}static async load(e,t){const{globals:n,exports:o}=(0,i.aU)(t),s=new pe;null!=e.contextScopeDebugInfo&&(s[N]={declaredNames:n});for(const e of n.keys())e in s||(s[e]=O);const c=e.spatialReference??I.A.WebMercator,l={lrucache:e.lrucache,interceptor:e.interceptor,services:e.services,console:e.console??de,abortSignal:e.abortSignal??r._,timeZone:e.timeZone??null,spatialReference:c,track:null,depthCounter:{depth:1},libraryResolver:new a.a(e.libraryResolver._moduleSingletons,t.loadedModules),exports:o,localScope:null,globalScope:s,contextScopeDebugInfo:null!=e.contextScopeDebugInfo?{declaredNames:new Map}:null};return await H(l,t),new z(l)}}async function G(e,t,n){return!0===t.preparsed?n(e,null,t.arguments):n(e,t,await U(e,t))}function Z(e,t,n){const r=new Map;if(t)for(const[o,a]of t.declaredNames){const t=e[o];r.set(a,null==t||t===O?null:(0,c.R)(t.value,n))}else for(const t of Object.getOwnPropertyNames(e)){const o=e[t];r.set(t,o===O?null:(0,c.R)(o.value,n))}return r}function X(e){return e instanceof L?`ƒ ${e.debugName}(${e.definition.params.map(e=>e.name).join(", ")})`:(0,c.h)(e)}function P(e,t){const n=e.services?.debugger;if(null==n)return;const r={renderFunction:X,defaultTimeZone:e.timeZone??"system"};return n.pause(t,{profile:null!=e.contextScopeDebugInfo?Z(e.globalScope,e.contextScopeDebugInfo,r):new Map,globals:Z(e.globalScope,e.globalScope[N],r),locals:null==e.localScope?null:Z(e.localScope,e.localScope[N],r)})}async function W(e,t){t.breakpoint&&await P(e,t.breakpoint);try{switch(t.type){case"UpdateExpression":return await async function(e,t){const n=t.argument;if("CallExpression"===n.type)throw new u.D$("NeverReach",t);if("MemberExpression"===n.type){const r=await W(e,n.object);let o,a;if(!0===n.computed)o=await W(e,n.property);else{if("Identifier"!==n.property.type)throw new u.D$("Unrecognized",t);o=n.property.name}if((0,R.cy)(r)){if(!(0,R.Et)(o))throw new u.D$("ArrayAccessMustBeNumber",t);if(o<0&&(o=r.length+o),o<0||o>=r.length)throw new u.D$("OutOfBounds",t);a=(0,w.v)(r[o]),r[o]="++"===t.operator?a+1:a-1}else if(r instanceof l.A){if(!1===(0,R.Kg)(o))throw new u.D$("KeyAccessorMustBeString",t);if(!0!==r.hasField(o))throw new u.D$("FieldNotFound",t,{key:o});a=(0,w.v)(r.field(o)),r.setField(o,"++"===t.operator?a+1:a-1)}else if(r instanceof z){if(!1===(0,R.Kg)(o))throw new u.D$("ModuleAccessorMustBeString",t);if(!0!==r.hasGlobal(o))throw new u.D$("ModuleExportNotFound",t);a=(0,w.v)(r.global(o)),r.setGlobal(o,"++"===t.operator?a+1:a-1)}else{if(!(0,w.h)(r))throw(0,w.g)(r)?new u.D$("Immutable",t):new u.D$("InvalidParameter",t);if(!1===(0,R.Kg)(o))throw new u.D$("KeyAccessorMustBeString",t);if(!0!==r.hasField(o))throw new u.D$("FieldNotFound",t,{key:o});a=(0,w.v)(r.field(o)),r.setField(o,"++"===t.operator?a+1:a-1)}return!1===t.prefix?a:"++"===t.operator?a+1:a-1}const r=E(e,n),o=(0,w.v)(A(r.var).value),a="++"===t.operator?o+1:o-1;return r.scope[r.id]={value:a},!1===t.prefix?o:"++"===t.operator?o+1:o-1}(e,t);case"AssignmentExpression":return await async function(e,t){const n=t.left;if("MemberExpression"===n.type){const r=await W(e,n.object);let o;if(!0===n.computed)o=await W(e,n.property);else{if("Identifier"!==n.property.type)throw new u.D$("InvalidIdentifier",t);o=n.property.name}const a=await W(e,t.right);if((0,R.cy)(r)){if(!(0,R.Et)(o))throw new u.D$("ArrayAccessMustBeNumber",t);if(o<0&&(o=r.length+o),o<0||o>r.length)throw new u.D$("OutOfBounds",t);if(o===r.length){if("="!==t.operator)throw new u.D$("OutOfBounds",t);r[o]=Y(a,t.operator,r[o],t)}else r[o]=Y(a,t.operator,r[o],t)}else if(r instanceof l.A){if(!1===(0,R.Kg)(o))throw new u.D$("KeyAccessorMustBeString",t);if(!0===r.hasField(o))r.setField(o,Y(a,t.operator,r.field(o),t));else{if("="!==t.operator)throw new u.D$("FieldNotFound",t,{key:o});r.setField(o,Y(a,t.operator,null,t))}}else if(r instanceof z){if(!1===(0,R.Kg)(o))throw new u.D$("KeyAccessorMustBeString",t);if(!0!==r.hasGlobal(o))throw new u.D$("ModuleExportNotFound",t);r.setGlobal(o,Y(a,t.operator,r.global(o),t))}else{if(!(0,w.h)(r))throw(0,w.g)(r)?new u.D$("Immutable",t):new u.D$("InvalidParameter",t);if(!1===(0,R.Kg)(o))throw new u.D$("KeyAccessorMustBeString",t);if(!0===r.hasField(o))r.setField(o,Y(a,t.operator,r.field(o),t));else{if("="!==t.operator)throw new u.D$("FieldNotFound",t,{key:o});r.setField(o,Y(a,t.operator,null,t))}}return w.x}const r=E(e,n),o=await W(e,t.right);return r.scope[r.id]={value:Y(o,t.operator,"="!==t.operator?A(r.var).value:null,t)},w.x}(e,t);case"TemplateLiteral":return await async function(e,t){let n="",r=0;for(const o of t.quasis)if(n+=o.value?o.value.cooked:"",!1===o.tail){if(t.expressions[r]){const o=await W(e,t.expressions[r]);if((0,w.i)(o))throw new u.D$("NoFunctionInTemplateLiteral",t);n+=(0,w.w)(o)}r++}return n}(e,t);case"Identifier":return oe(e,t);case"MemberExpression":return await async function(e,t){return te(e,await W(e,t.object),t)}(e,t);case"Literal":return t.value;case"CallExpression":return await async function(e,t){let n;if("Identifier"===t.callee.type){const r=t.callee;r.breakpoint&&await P(e,r.breakpoint),n=j(e,t.callee,"FunctionNotFound")}else n=await W(e,t.callee);return ae(e,n,t)}(e,t);case"UnaryExpression":return await async function(e,t){const n=await W(e,t.argument);if((0,R.Lm)(n)){if("!"===t.operator)return!n;if("-"===t.operator)return-1*(0,w.v)(n);if("+"===t.operator)return 1*(0,w.v)(n);if("~"===t.operator)return~(0,w.v)(n);throw new u.D$("UnsupportUnaryOperator",t)}if("-"===t.operator)return-1*(0,w.v)(n);if("+"===t.operator)return 1*(0,w.v)(n);if("~"===t.operator)return~(0,w.v)(n);throw new u.D$("UnsupportUnaryOperator",t)}(e,t);case"BinaryExpression":return await async function(e,t){const n=await W(e,t.left),r=await W(e,t.right);switch(t.operator){case"|":case"<<":case">>":case">>>":case"^":case"&":return(0,w.A)((0,w.v)(n),(0,w.v)(r),t.operator);case"==":return(0,w.z)(n,r);case"!=":return!(0,w.z)(n,r);case"<":case">":case"<=":case">=":return(0,w.y)(n,r,t.operator);case"+":return(0,R.Kg)(n)||(0,R.Kg)(r)?(0,w.w)(n)+(0,w.w)(r):(0,w.v)(n)+(0,w.v)(r);case"-":return(0,w.v)(n)-(0,w.v)(r);case"*":return(0,w.v)(n)*(0,w.v)(r);case"/":return(0,w.v)(n)/(0,w.v)(r);case"%":return(0,w.v)(n)%(0,w.v)(r);default:throw t.operator,new u.D$("UnsupportedOperator",t)}}(e,t);case"LogicalExpression":return await async function(e,t){const n=await W(e,t.left);if(!(0,R.Lm)(n))throw new u.D$("LogicalExpressionOnlyBoolean",t);switch(t.operator){case"||":{if(!0===n)return n;const r=await W(e,t.right);if((0,R.Lm)(r))return r;throw new u.D$("LogicExpressionOrAnd",t)}case"&&":{if(!1===n)return n;const r=await W(e,t.right);if((0,R.Lm)(r))return r;throw new u.D$("LogicExpressionOrAnd",t)}default:throw t.operator,new u.D$("LogicExpressionOrAnd",t)}}(e,t);case"ArrayExpression":return await async function(e,t){const n=[];for(let r=0;r<t.elements.length;r++)n.push(await W(e,t.elements[r]));for(let e=0;e<n.length;e++){if((0,w.i)(n[e]))throw new u.D$("NoFunctionInArray",t);n[e]===w.x&&(n[e]=null)}return n}(e,t);case"ObjectExpression":return await async function(e,t){const n=[];for(let r=0;r<t.properties.length;r++){const o=t.properties[r],a=await W(e,o.value),i="Identifier"===o.key.type?o.key.name:await W(e,o.key);n[r]={key:i,value:a}}const r=Object.create(null),o=new Map;for(let e=0;e<n.length;e++){const a=n[e];if((0,w.i)(a.value))throw new u.D$("NoFunctionInDictionary",t);if(!1===(0,R.Kg)(a.key))throw new u.D$("KeyMustBeString",t);let i=a.key.toString();const s=i.toLowerCase();o.has(s)?i=o.get(s):o.set(s,i),a.value===w.x?r[i]=null:r[i]=a.value}const a=new l.A(r);return a.immutable=!1,a}(e,t);case"MemberAccessChainExpression":return await async function(e,t){const n=(0,i.YZ)(t);let r=await W(e,n.root);for(const t of n.sections){const n=await re(e,r,t.checked);if(null==n)return null;r=await ne(e,n,t.unchecked)}return r}(e,t);case"SafeMemberExpression":throw F().error("SafeMemberExpression outside of MemberAccessChainExpression"),new u.D$("Unrecognized",t);default:throw new u.D$("Unrecognized",t)}}catch(e){throw(0,u.i2)(e,t)}}async function q(e,t){t.breakpoint&&await P(e,t.breakpoint);try{switch(t.type){case"ImportDeclaration":return await async function(e,t){const n=E(e,t.specifiers[0].local),r=e.libraryResolver;if(null==r)throw F().error("Internal error: module loader not initialized"),new u.D$("NeverReach",t);const o=r.loadLibrary(n.id);let a;return r._moduleSingletons?.has(o.uri)?a=r._moduleSingletons.get(o.uri):(a=await z.load(e,o.syntax),r._moduleSingletons?.set(o.uri,a)),n.scope[n.id]={value:a},w.x}(e,t);case"ExportNamedDeclaration":return await async function(e,t){return await q(e,t.declaration),w.x}(e,t);case"VariableDeclaration":return await async function(e,t){for(const n of t.declarations)await ee(e,n);return w.x}(e,t);case"BlockStatement":return await H(e,t);case"FunctionDeclaration":return await async function(e,t){if(null!=e.localScope)throw F().error("Function declarations are only valid in global scope."),new u.D$("NeverReach",t);const n=(0,r.X)(t.id);if(!(n in e.globalScope))throw F().error(`Function "${n}" not declared.`),new u.D$("NeverReach",t);const o=(0,i.SV)(t),a=t.params.map(e=>(0,r.X)(e)),s=Array.from(o.keys()).filter(e=>!a.includes(e));let c=null;return null!=e.contextScopeDebugInfo&&(c={declaredNames:new Map([...t.params.map(e=>[(0,r.X)(e),e.name]),...o])}),e.globalScope[n]={value:new L(t,e,a,s,c)},w.x}(e,t);case"ReturnStatement":return await async function(e,t){if(null===t.argument)return new w.R(w.x);const n=await W(e,t.argument);return new w.R(n)}(e,t);case"IfStatement":return await async function(e,t){const n=await W(e,t.test);if(!0===n)return q(e,t.consequent);if(!1===n)return null!==t.alternate?q(e,t.alternate):w.x;throw new u.D$("BooleanConditionRequired",t)}(e,t);case"ExpressionStatement":return await async function(e,t){const n=await W(e,t.expression);return n===w.x?w.x:new w.I(n)}(e,t);case"ForStatement":return await async function(e,t){try{for(null!==t.init&&("VariableDeclaration"===t.init.type?await q(e,t.init):await W(e,t.init));;){if(null!==t.test){const n=await W(e,t.test);if(!0===e.abortSignal?.aborted)throw new u.D$("Cancelled",t);if(!1===n)break;if(!0!==n)throw new u.D$("BooleanConditionRequired",t)}const n=await q(e,t.body);if(n===w.C)break;if(n instanceof w.R)return n;null!==t.update&&await W(e,t.update)}return w.x}catch(e){throw e}}(e,t);case"WhileStatement":return await async function(e,t){let n=await W(e,t.test);if(!1===n)return w.x;if(!0!==n)throw new u.D$("BooleanConditionRequired",t);for(;!0===n;){const r=await q(e,t.body);if(r===w.C)break;if(r instanceof w.R)return r;if(n=await W(e,t.test),!0!==n&&!1!==n)throw new u.D$("BooleanConditionRequired",t)}return w.x}(e,t);case"ForInStatement":return await async function(e,t){const n=await W(e,t.right);"VariableDeclaration"===t.left.type&&await q(e,t.left);const r=E(e,"VariableDeclaration"===t.left.type?t.left.declarations[0].id:t.left);return(0,R.cy)(n)||(0,R.Kg)(n)?await T(e,t,n,r):(0,w.g)(n)?await V(e,t,n,r):n instanceof l.A||(0,w.B)(n)?await T(e,t,n.keys(),r,"k"):(0,w.k)(n)?await Q(e,t,n,r):(0,w.f)(n)?await T(e,t,(0,s.T)(n),r,"k"):w.x}(e,t);case"ForOfStatement":return await async function(e,t){const n=await W(e,t.right);"VariableDeclaration"===t.left.type&&await q(e,t.left);const r=E(e,"VariableDeclaration"===t.left.type?t.left.declarations[0].id:t.left);return(0,R.cy)(n)||(0,R.Kg)(n)?await T(e,t,n,r,"k"):(0,w.g)(n)?await V(e,t,n,r,"k"):n instanceof l.A||(0,w.B)(n)?await async function(e,t,n,r){for(const o of n.keys()){const a=n.field(o);r.scope[r.id]={value:l.A.containerEntry(o,a)};const i=await q(e,t.body);if(i===w.C)break;if(i instanceof w.R)return i}return w.x}(e,t,n,r):(0,w.k)(n)?await Q(e,t,n,r):(0,w.f)(n)?await async function(e,t,n,r){for(const o of(0,s.T)(n)){const a=(0,s.Ny)(n,o,t);r.scope[r.id]={value:l.A.containerEntry(o,a)};const i=await q(e,t.body);if(i===w.C)break;if(i instanceof w.R)return i}return w.x}(e,t,n,r):w.x}(e,t);case"BreakStatement":return w.C;case"EmptyStatement":return w.x;case"ContinueStatement":return w.D;default:throw new u.D$("Unrecognized",t)}}catch(e){throw(0,u.i2)(e,t)}}async function T(e,t,n,r,o="i"){const a=n.length;for(let i=0;i<a;i++){if("k"===o){if(i>=n.length)throw new u.D$("OutOfBounds",t);r.scope[r.id]={value:n[i]}}else r.scope[r.id]={value:i};const a=await q(e,t.body);if(a===w.C)break;if(a instanceof w.R)return a}return w.x}async function V(e,t,n,r,o="i"){const a=n.length();for(let i=0;i<a;i++){r.scope[r.id]="k"===o?{value:n.get(i)}:{value:i};const a=await q(e,t.body);if(a===w.C)break;if(a instanceof w.R)return a}return w.x}async function Q(e,t,n,r){e:for await(const o of await n.queryAll(e.abortSignal))for(const a of o){r.scope[r.id]={value:f.Xj.createFromGraphicLikeObject(a.geometry,a.attributes,n,e.timeZone)};const o=await q(e,t.body);if(o===w.C)break e;if(o instanceof w.R)return o}return w.x}function Y(e,t,n,r){switch(t){case"=":return e===w.x?null:e;case"/=":return(0,w.v)(n)/(0,w.v)(e);case"*=":return(0,w.v)(n)*(0,w.v)(e);case"-=":return(0,w.v)(n)-(0,w.v)(e);case"+=":return(0,R.Kg)(n)||(0,R.Kg)(e)?(0,w.w)(n)+(0,w.w)(e):(0,w.v)(n)+(0,w.v)(e);case"%=":return(0,w.v)(n)%(0,w.v)(e);default:throw new u.D$("UnsupportedOperator",r)}}async function H(e,t){return J(e,t,0)}async function J(e,t,n){if(n>=t.body.length)return w.x;const r=await q(e,t.body[n]);return r instanceof w.R||r===w.C||r===w.D||n===t.body.length-1?r:J(e,t,n+1)}async function ee(e,t){t.breakpoint&&await P(e,t.breakpoint);let n=null;n=null===t.init?null:await W(e,t.init),n===w.x&&(n=null);const r=E(e,t.id);r.scope[r.id]={value:n}}async function te(e,t,n){const r=n.computed?await W(e,n.property):n.property.name;return(0,s.Xf)(t,r)}async function ne(e,t,n){for(const r of n)switch(r.type){case"MemberExpression":t=await te(e,t,r);break;case"CallExpression":t=await ae(e,t,r);break;default:throw new u.D$("Unrecognized",r)}return t}async function re(e,t,n){const r=n.computed?await W(e,n.property):n.property.name;return(0,s.c$)(t,r)}function oe(e,t){return j(e,t)}async function ae(e,t,n){if((0,w.i)(t))return t.call(e,n);throw new u.D$("CallNonFunction",n)}async function ie(e,t){(0,w.E)(null===t.arguments?[]:t.arguments,3,3,t);const n=await W(e,t.arguments[0]);if(!1===(0,R.Lm)(n))throw new u.D$("BooleanConditionRequired",t);return W(e,n?t.arguments[1]:t.arguments[2])}async function se(e,t){(0,w.E)(null===t.arguments?[]:t.arguments,2,3,t);const n=await W(e,t.arguments[0]);if(3===t.arguments.length){const r=await W(e,t.arguments[1]),o=(0,s.jd)(n,r);return null!=o&&""!==o?o:W(e,t.arguments[2])}return null==n||""===n?W(e,t.arguments[1]):n}async function ce(e,t){if(t.arguments.length<2)throw new u.D$("WrongNumberOfParameters",t);if(2===t.arguments.length)return W(e,t.arguments[1]);if((t.arguments.length-1)%2==0)throw new u.D$("WrongNumberOfParameters",t);return le(e,t,1,await W(e,t.arguments[0]))}async function le(e,t,n,r){const o=await W(e,t.arguments[n]);if((0,w.z)(o,r))return W(e,t.arguments[n+1]);const a=t.arguments.length-n;return 1===a?W(e,t.arguments[n]):2===a?null:3===a?W(e,t.arguments[n+2]):le(e,t,n+2,r)}async function ue(e,t){if(t.arguments.length<3)throw new u.D$("WrongNumberOfParameters",t);if(t.arguments.length%2==0)throw new u.D$("WrongNumberOfParameters",t);const n=await W(e,t.arguments[0]);if(!1===(0,R.Lm)(n))throw new u.D$("BooleanConditionRequired",t.arguments[0]);return fe(e,t,0,n)}async function fe(e,t,n,r){if(!0===r)return W(e,t.arguments[n+1]);if(3===t.arguments.length-n)return W(e,t.arguments[n+2]);const o=await W(e,t.arguments[n+2]);if(!1===(0,R.Lm)(o))throw new u.D$("ModuleExportNotFound",t.arguments[n+2]);return fe(e,t,n+2,o)}const pe=function(){const e=Object.create(null);(0,m.d)(e,K),(0,S.d)(e,K),(0,b.d)(e,K,oe),(0,x.d)(e,K),(0,v.d)(e,K),(0,D.d)(e,K),(0,$.dW)(e,K),(0,y.registerFunctions)({functions:e,compiled:!1,signatures:null,evaluateIdentifier:null,mode:"async",standardFunction:K,standardFunctionAsync:G}),e.iif=ie,e.defaultvalue=se,e.decode=ce,e.when=ue;const t=function(){this.textformatting={value:l.A.textFormatting()}};(t.prototype=Object.create(null)).infinity=Object.freeze({value:Number.POSITIVE_INFINITY}),t.prototype.nan=Object.freeze({value:Number.NaN}),t.prototype.pi=Object.freeze({value:Math.PI});for(const[n,r]of Object.entries(e))t.prototype[n]=Object.freeze({value:new p.UQ(r,n)});return t}();function we(e){const t={mode:"async",compiled:!1,functions:Object.create(null),signatures:[],standardFunction:K,standardFunctionAsync:G,evaluateIdentifier:oe};for(let n=0;n<e.length;n++)e[n].registerFunctions(t);for(const[e,n]of Object.entries(t.functions))pe.prototype[e]=Object.freeze({value:new p.UQ(n,e)});for(let e=0;e<t.signatures.length;e++)(0,d.WC)(t.signatures[e],"async")}function de(e){console.log(e)}function he(e,t){const n=new Set(Object.keys(t?.vars||{}).map(e=>(0,r.X)(e))),o=new Set(Object.keys(t?.customfunctions||{}).map(e=>(0,r.X)(e))),{globals:s,exports:c}=(0,i.aU)(e);let l=null;if(t?.breakpoints){for(const[n,r]of(0,i.ti)(t.breakpoints,e))n.breakpoint=r;l={declaredNames:new Map(Object.keys(t?.vars||{}).map(e=>[(0,r.X)(e),e]).filter(([e])=>!s.has(e)))}}return async t=>{const i=t.spatialReference??I.A.WebMercator;let d=null;e.usesModules&&(d=new a.a(new Map,e.loadedModules));const h=new pe;null!=l&&(h[N]={declaredNames:s});for(const e of o)null!=t.customfunctions&&e in t.customfunctions?h[e]={value:new p.UQ(t.customfunctions[e],e)}:h[e]=O;for(const e of n){if(null==t.vars||!(e in t.vars)){e in h||(h[e]=O);continue}const n=t.vars[e]??null;(0,C.D)(n)?h[e]={value:f.Xj.createFromGraphic(n,t.timeZone??null)}:h[e]={value:n}}for(const e of s.keys())e in h||(h[e]=O);const g={lrucache:t.lrucache,interceptor:t.interceptor,services:t.services,console:t.console??de,abortSignal:t.abortSignal??r._,timeZone:t.timeZone??null,spatialReference:i,track:t.track,depthCounter:{depth:1},libraryResolver:d,exports:c,localScope:null,globalScope:h,contextScopeDebugInfo:l},m=await H(g,e);if(m instanceof w.R||m instanceof w.I){const e=m.value;if((0,w.u)(e))return null;if((0,w.i)(e))throw new u.D$("IllegalResult",null);return e}if((0,w.u)(m))return null;if(m===w.C)throw new u.D$("IllegalResult",null);if(m===w.D)throw new u.D$("IllegalResult",null);throw new u.D$("NeverReach",null)}}function ge(e,t){return he(e,t)(t)}we([g.A]),we([h.A])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7539],{68197(t,e,i){i.d(e,{A:()=>l});var s=i(40876),r=i(4576),n=i(34727),o=i(56507);function a(t){return(0,n.qE)((0,o.Vr)(t),0,255)}function h(t,e){const i=t.toString(16).padStart(2,"0");return e?i.slice(0,1):i}class l{static blendColors(t,e,i,s=new l){return s.r=Math.round(t.r+(e.r-t.r)*i),s.g=Math.round(t.g+(e.g-t.g)*i),s.b=Math.round(t.b+(e.b-t.b)*i),s.a=t.a+(e.a-t.a)*i,s._sanitize()}static fromRgb(t,e){const i=(0,s.lT)(t);return i?l.fromArray(i,e):null}static fromHex(t,e=new l){const i=(0,s.oW)(t);return i?l.fromArray(i,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const i=(0,s.Eq)(t);return i?l.fromArray(i,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,i=t?.digits??6,s=3===i||4===i,r=4===i||8===i,n=`#${h(this.r,s)}${h(this.g,s)}${h(this.b,s)}${r?h(Math.round(255*this.a),s):""}`;return e?n.toUpperCase():n}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),i=a(this.g),s=a(this.b);return 0===t||1!==this.a?[e,i,s,a(255*this.a)]:[e,i,s]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,s.c1)(this.r),this.g=(0,s.c1)(this.g),this.b=(0,s.c1)(this.b),this.a=(0,s.G1)(this.a),this}_set(t,e,i,s){this.r=t,this.g=e,this.b=i,this.a=s}}l.prototype.declaredClass="esri.Color"},40876(t,e,i){i.d(e,{Eq:()=>g,G1:()=>y,TS:()=>n,V6:()=>r,Vm:()=>d,ay:()=>h,c1:()=>f,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>w});const s={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(t){return!!s[t]||!!s[t.toLowerCase()]}function n(t){return s[t]??s[t.toLowerCase()]}function o(t){return[...n(t)]}function a(t,e,i){i<0&&++i,i>1&&--i;const s=6*i;return s<1?t+(e-t)*s:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i,s=1){const r=(t%360+360)%360/360,n=i<=.5?i*(e+1):i+e-i*e,o=2*i-n;return[Math.round(255*a(o,n,r+1/3)),Math.round(255*a(o,n,r)),Math.round(255*a(o,n,r-1/3)),s]}function l(t){const e=t.length>5,i=e?8:4,s=(1<<i)-1,r=e?1:17,n=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return n&&(h=o&s,o>>=i,a[3]=r*h/255),h=o&s,o>>=i,a[2]=r*h,h=o&s,o>>=i,a[1]=r*h,h=o&s,o>>=i,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),i=parseInt(t.slice(2,3),16),s=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,i+16*i,s+16*s,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),i=e[1];if("rgb"===i&&3===t.length||"rgba"===i&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),p(e)}return p(t.map(t=>parseFloat(t)))}if("hsl"===i&&3===t.length||"hsla"===i&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function p(t){return t[0]=f(t[0]),t[1]=f(t[1]),t[2]=f(t[2]),t[3]=4===t.length?y(t[3]):1,t}function g(t){let e=r(t)?n(t):null;return e??=u(t),e??=c(t),e}function d(t){const e=g(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return m(t,0,1)}function f(t){return Math.round(m(t,0,255))}function m(t,e,i){return t=Number(t),isNaN(t)?i:t<e?e:t>i?i:t}const _=1/2.2;function w(t){return t**_}i.d(e,["iw",0,_])},563(t,e,i){i.d(e,{QueueProcessor:()=>l,SharedConcurrency:()=>u});var s=i(97768),r=i(17676),n=i(9775),o=i(32587),a=i(76030),h=i(44794);class l{constructor(t){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=t.process,this.concurrency=t.concurrency,this.sharedConcurrency=t.sharedConcurrency??p,this._queue=new n.A(t.peeker)}destroy(){this.clear(),this._schedule=(0,s.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(t){const e=this._controllers.get(t);e?.abort()}clear(){this._queue.clear();const t=Array.from(this._controllers.values());this._controllers.clear(),t.forEach(t=>t.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach((e,i)=>t(i))}_get(t){const e=this._deferreds.get(t);return e?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){const i=this._get(t);if(i)return i;const s=new AbortController,n=Promise.withResolvers(),o=e?(0,r.u7)(e,()=>s.abort()):null,a=(0,r.NY)(s.signal,()=>{const e=this._processingItems.get(t);e&&e.controller.abort(),h(),n.reject((0,r.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()};return this._deferreds.set(t,n),this._controllers.set(t,s),n.promise.then(h,h),this._queue.push(t),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const t=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.has(t)&&(this._processingItems.delete(t),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!!this._deferreds.get(t.item)&&this._processingItems.get(t.item)===t}_process(t){if(null==t)return;let e;const i=new AbortController,s=new c(t,i);this._processingItems.set(t,s),this.sharedConcurrency.current.value+=1;try{e=this.process(t,i.signal)}catch(t){this._processError(s,t)}(0,r.$X)(e)?(s.promise=e,e.then(t=>this._processResult(s,t),t=>this._processError(s,t))):this._processResult(s,e)}}class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class u{constructor(t){this.limit=t,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const p=new u(1/0)},32587(t,e,i){i.d(e,{A:()=>n});var s=i(62788),r=i(95488);class n{constructor(t){this._observable=new r.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(t)}get size(){return(0,s.gc)(this._observable),this._map.size}batch(t){try{this._batchDepth++,t()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(t){const e=this._map.delete(t);return e&&this._notify(),e}entries(){return(0,s.gc)(this._observable),this._map.entries()}forEach(t,e){(0,s.gc)(this._observable),this._map.forEach((i,s)=>t.call(e,i,s,this),e)}get(t){return(0,s.gc)(this._observable),this._map.get(t)}has(t){return(0,s.gc)(this._observable),this._map.has(t)}keys(){return(0,s.gc)(this._observable),this._map.keys()}set(t,e){return this._map.set(t,e),this._notify(),this}transformValues(t,e=this._map.keys()){this.batch(()=>{for(const i of e){if(!this._map.has(i))continue;const e=this._map.get(i),s=t(e,i);s!==e&&this.set(i,s)}})}values(){return(0,s.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,s.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},95488(t,e,i){i.d(e,{I:()=>r});var s=i(11406);class r extends s.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},21287(t,e,i){i.d(e,{M5:()=>u,eV:()=>c});var s=i(11254),r=i(49186),n=i(17676),o=i(84952),a=i(26306);let h=null,l=!0;function c(t,e,i,s){if(!e||!i)throw new Error("Cannot construct image data without dimensions");if(l)try{return new ImageData(t,e,i)}catch(t){l=!1}const r=function(t,e,i){return i||(h||(h=document.createElement("canvas"),h.width=1,h.height=1),i=h),i.getContext("2d").createImageData(t,e)}(e,i,s);return r.data.set(t,0),r}async function u(t,e){const{arrayBuffer:h,mediaType:l}=await async function(t,e){const i=(0,o.r$)(t);if(i?.isBase64)return{arrayBuffer:(0,a.M)(i.data),mediaType:i.mediaType};const r=await(0,s.A)(t,{responseType:"array-buffer",...e});return{arrayBuffer:r.data,mediaType:r.getHeader?.("Content-Type")??""}}(t,e),c="image/png"===l;if("image/gif"===l){const{isAnimatedGIF:t,parseGif:s}=await i.e(820).then(i.bind(i,10820));if(t(h))return s(h,e)}if(c){const{isAnimatedPNG:t,parseApng:s}=await i.e(2390).then(i.bind(i,22390));if(t(h))return s(h,e)}return async function(t,e){const i=window.URL.createObjectURL(t);try{const{data:t}=await(0,s.A)(i,{...e,responseType:"image"});return t}catch(t){if(!(0,n.zf)(t))throw new r.A("invalid-image",`Could not fetch requested image at ${i}`);throw t}finally{window.URL.revokeObjectURL(i)}}(new Blob([h],{type:l}),e)}},51624(t,e,i){i.d(e,{A:()=>l});var s=i(44208),r=i(69397),n=i(93687);const o=4294967296,a=new TextDecoder("utf-8"),h=(0,s.A)("safari")||(0,s.A)("ios")?6:(0,s.A)("ff")?12:32;class l{constructor(t,e,i=0,s=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,i,s)}[Symbol.dispose](){this.release()}_init(t,e,i,s){this._data=t,this._dataView=e,this._pos=i,this._end=s}get usedMemory(){return 64+(0,r.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,i=0,s=t?.byteLength??0){const r=l.pool.acquire();return r._init(t,e,i,s),r}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,i=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),i}getSFixed64(){const t=this._dataView,e=this._pos,i=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),i}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,i=this._toString(this._data,e,e+t);return this._skip(t),i}getBytes(){const t=this._getLength(),e=this._pos,i=this._toBytes(this._data,e,e+t);return this._skip(t),i}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,i,s){const r=this.getMessage(),n=t(r,e,i,s);return r.release(),n}processMessage(t){const e=this.getMessage(),i=t(e);return e.release(),i}getMessage(){const t=this._getLength(),e=l.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,i=0,s=0;if(this._end-e>=10)do{if(s=t[e++],i|=127&s,!(128&s))break;if(s=t[e++],i|=(127&s)<<7,!(128&s))break;if(s=t[e++],i|=(127&s)<<14,!(128&s))break;if(s=t[e++],i|=(127&s)<<21,!(128&s))break;if(s=t[e++],i+=268435456*(127&s),!(128&s))break;if(s=t[e++],i+=34359738368*(127&s),!(128&s))break;if(s=t[e++],i+=4398046511104*(127&s),!(128&s))break;if(s=t[e++],i+=562949953421312*(127&s),!(128&s))break;if(s=t[e++],i+=72057594037927940*(127&s),!(128&s))break;if(s=t[e++],i+=0x8000000000000000*(127&s),!(128&s))break;throw new Error("Varint too long!")}while(0);else{let r=1;for(;e!==this._end&&(s=t[e],128&s);)++e,i+=(127&s)*r,r*=128;if(e===this._end)throw new Error("Varint overrun!");++e,i+=s*r}return this._pos=e,i}_decodeSVarint(){const t=this._data;let e,i=0,s=0;const r=1&t[this._pos];if(s=t[this._pos++],i|=127&s,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i|=(127&s)<<7,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i|=(127&s)<<14,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i|=(127&s)<<21,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i+=268435456*(127&s),!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i+=34359738368*(127&s),!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i+=4398046511104*(127&s),!(128&s))return r?-(i+1)/2:i/2;if(e=BigInt(i),s=t[this._pos++],e+=0x2000000000000n*BigInt(127&s),!(128&s))return Number(r?-(e+1n)/2n:e/2n);if(s=t[this._pos++],e+=0x100000000000000n*BigInt(127&s),!(128&s))return Number(r?-(e+1n)/2n:e/2n);if(s=t[this._pos++],e+=0x8000000000000000n*BigInt(127&s),!(128&s))return Number(r?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,i){if((i=Math.min(this._end,i))-e>h){const s=t.subarray(e,i);return a.decode(s)}let s="",r="";for(let n=e;n<i;++n){const e=t[n];128&e?r+="%"+e.toString(16):(s+=decodeURIComponent(r)+String.fromCharCode(e),r="")}return r.length&&(s+=decodeURIComponent(r)),s}_toBytes(t,e,i){return i=Math.min(this._end,i),new Uint8Array(t.buffer,e,i-e)}static{this.pool=new n.A(()=>new l(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},90629(t,e,i){i.d(e,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),i(39829);const s=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function n(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(s);if(e){const i=Number(e[1]),s=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===s?n(i):i;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,i=0){return[t,e,i]}},44794(t,e,i){i.d(e,{v:()=>a});var s=i(4718),r=i(62788),n=i(95488);class o{constructor(t,e){this._observable=new n.I,this._value=t,this._equalityFunction=e}get value(){return(0,r.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=s.gh){return new o(t,e)}},83027(t,e,i){const s=i(29953).ho;i.d(e,["h",0,s])},48526(t,e,i){i.d(e,{A:()=>f});var s,r=i(32198),n=i(4576),o=i(4718),a=i(91429),h=i(5443),l=i(91075),c=i(86738),u=i(16930),p=i(90634),g=i(47610),d=i(56993),y=i(43937);let f=s=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:i,hasZ:s,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return r??=u.A.WGS84,{...t,hasM:i,hasZ:s,points:e,spatialReference:r}}(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,p.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:i,hasZ:r}=this;return new s({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:i,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,i=t.spatialReference;return null!=e==(null!=i)&&!(null!=e&&null!=i&&!e.equals(i))&&(0,n.aI)(this.points,t.points,g.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],i={x:e[0],y:e[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(i.z=e[2],s=3),this.hasM&&(i.m=e[s]),new c.A(i)}removePoint(t){if(!this._validateInputs(t))return null;const e=new c.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,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,r.Cg)([(0,y.K)("points")],f.prototype,"writePoints",null),f=s=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},39829(t,e,i){i.d(e,{A:()=>x});var s,r=i(32198),n=i(4576),o=i(51447),a=i(4718),h=i(53966),l=i(91429),c=i(5443),u=i(91075),p=i(86738),g=i(16930),d=i(12359),y=i(94078),f=i(95108),m=i(90634),_=i(47610),w=i(28735),b=i(56993),S=i(43937);function v(t){return!Array.isArray(t[0])}let x=s=class extends u.A{static fromExtent(t){const e=t.clone().normalize(),{spatialReference:i}=t;let r=!1,n=!1;for(const t of e)t.hasZ&&(r=!0),t.hasM&&(n=!0);const o={rings:e.map(t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(r&&t.hasZ){const i=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<e.length;t++)e[t].push(i)}if(n&&t.hasM){const i=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<e.length;t++)e[t].push(i)}return e}),spatialReference:i};return r&&(o.hasZ=!0),n&&(o.hasM=!0),new s(o)}constructor(t){super(function(t){if(!t)return;let{rings:e,hasM:i,hasZ:s,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return r??=g.A.WGS84,{...t,hasM:i,hasZ:s,rings:e,spatialReference:r}}(t)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,o.Lx)(h.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const t=(0,d.Ve)(this);return t?p.A.fromJSON(t):null}writeCurveRings(t,e){e.curveRings=(0,a.o8)(t)}get extent(){const t=(0,m.v)(this),{spatialReference:e}=this;return t?new c.A({...t,spatialReference:e}):null}writeRings(t,e){e.rings=(0,a.o8)(this.rings)}addRing(t){if(!t)return;const e=this.rings,i=e.length;if(v(t)){const s=[];for(let e=0,i=t.length;e<i;e++)s[e]=t[e].toArray();e[i]=s}else e[i]=t.slice();return this.notifyChange("rings"),this}clone(){const t=new s;return t.spatialReference=this.spatialReference,t.rings=(0,a.o8)(this.rings),t.curveRings=(0,a.o8)(this.curveRings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,i=t.spatialReference;if(null!=e!=(null!=i))return!1;if(null!=e&&null!=i&&!e.equals(i))return!1;if(this.rings.length!==t.rings.length)return!1;for(let e=0;e<this.rings.length;e++){const i=this.rings[e],s=t.rings[e];if(!(0,n.aI)(i,s,_.v6))return!1}return!0}contains(t){if(!t)return!1;const e=(0,w.Cv)(t,this.spatialReference);return(0,y.m3)(this,null!=e?e:t)}isClockwise(t){const e=v(t)?t.map(t=>this.hasZ?this.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y]):t;return(0,f.$3)(e)}getPoint(t,e){if(!this._validateInputs(t,e))return null;const i=this.rings[t][e],s=this.hasZ,r=this.hasM;return s&&!r?new p.A(i[0],i[1],i[2],void 0,this.spatialReference):r&&!s?new p.A(i[0],i[1],void 0,i[2],this.spatialReference):s&&r?new p.A(i[0],i[1],i[2],i[3],this.spatialReference):new p.A(i[0],i[1],this.spatialReference)}insertPoint(t,e,i){return this._validateInputs(t,e,!0)?((0,b.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.rings[t].splice(e,0,i),this.notifyChange("rings"),this):this}removePoint(t,e){if(!this._validateInputs(t,e))return null;const i=new p.A(this.rings[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("rings"),i}removeRing(t){if(!this._validateInputs(t,null))return null;const e=this.rings.splice(t,1)[0],i=this.spatialReference,s=e.map(t=>new p.A(t,i));return this.notifyChange("rings"),s}setPoint(t,e,i){return this._validateInputs(t,e)?((0,b.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.rings[t][e]=i,this.notifyChange("rings"),this):this}_validateInputs(t,e,i=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=e){const s=this.rings[t];if(i&&(e<0||e>s.length))return!1;if(!i&&(e<0||e>=s.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({readOnly:!0})],x.prototype,"centroid",null),(0,r.Cg)([(0,l.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],x.prototype,"curveRings",void 0),(0,r.Cg)([(0,S.K)("curveRings")],x.prototype,"writeCurveRings",null),(0,r.Cg)([(0,l.MZ)({readOnly:!0})],x.prototype,"extent",null),(0,r.Cg)([(0,l.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],x.prototype,"rings",void 0),(0,r.Cg)([(0,S.K)("rings")],x.prototype,"writeRings",null),x=s=(0,r.Cg)([(0,l.$K)("esri.geometry.Polygon")],x),x.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,i){i.d(e,{A:()=>d});var s,r=i(32198),n=i(4718),o=i(91429),a=i(5443),h=i(91075),l=i(86738),c=i(16930),u=i(90634),p=i(56993),g=i(43937);let d=s=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:i,hasZ:s,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return r??=c.A.WGS84,{...t,hasM:i,hasZ:s,paths:e,spatialReference:r}}(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,n.o8)(t)}get extent(){const t=(0,u.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,n.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,i=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const s=[];for(let e=0,i=t.length;e<i;e++)s[e]=t[e].toArray();e[i]=s}else e[i]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new s;return t.spatialReference=this.spatialReference,t.paths=(0,n.o8)(this.paths),t.curvePaths=(0,n.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const i=this.paths[t][e],s=this.hasZ,r=this.hasM;return s&&!r?new l.A(i[0],i[1],i[2],void 0,this.spatialReference):r&&!s?new l.A(i[0],i[1],void 0,i[2],this.spatialReference):s&&r?new l.A(i[0],i[1],i[2],i[3],this.spatialReference):new l.A(i[0],i[1],this.spatialReference)}insertPoint(t,e,i){return this._validateInputs(t,e,!0)?((0,p.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[t].splice(e,0,i),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],i=this.spatialReference,s=e.map(t=>new l.A(t,i));return this.notifyChange("paths"),s}removePoint(t,e){if(!this._validateInputs(t,e))return null;const i=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),i}setPoint(t,e,i){return this._validateInputs(t,e)?((0,p.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[t][e]=i,this.notifyChange("paths"),this):this}_validateInputs(t,e,i=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const s=this.paths[t];if(i&&(e<0||e>s.length))return!1;if(!i&&(e<0||e>=s.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,r.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,r.Cg)([(0,g.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,r.Cg)([(0,g.K)("paths")],d.prototype,"writePaths",null),d=s=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},90634(t,e,i){i.d(e,{HA:()=>c,JM:()=>u,Z3:()=>d,ge:()=>p,v:()=>g});var s=i(537);const r=[];function n(t,e,i,s){return{xmin:t,ymin:e,xmax:i,ymax:s}}function o(t,e,i,s,r,n){return{xmin:t,ymin:e,zmin:i,xmax:s,ymax:r,zmax:n}}function a(t,e,i,s,r,n){return{xmin:t,ymin:e,mmin:i,xmax:s,ymax:r,mmax:n}}function h(t,e,i,s,r,n,o,a){return{xmin:t,ymin:e,zmin:i,mmin:s,xmax:r,ymax:n,zmax:o,mmax:a}}function l(t,e=!1,i=!1){return e?i?h(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):o(t[0],t[1],t[2],t[3],t[4],t[5]):i?a(t[0],t[1],t[2],t[3],t[4],t[5]):n(t[0],t[1],t[2],t[3])}function c(t){return t?function(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}(t)?t:function(t){return void 0!==t.x&&void 0!==t.y}(t)?function(t){const{x:e,y:i,z:s,m:r}=t,l=null!=r;return null!=s?l?h(e,i,s,r,e,i,s,r):o(e,i,s,e,i,s):l?a(e,i,r,e,i,r):n(e,i,e,i)}(t):function(t){return void 0!==t.rings}(t)?g(t):function(t){return void 0!==t.paths}(t)?d(t):function(t){return void 0!==t.points}(t)?p(t):null:null}function u(t,{xmin:e,ymin:i,zmin:s,mmin:r,xmax:n,ymax:o,zmax:a,mmax:h}){t.xmin=Math.min(t.xmin,e),t.xmax=Math.max(t.xmax,n),t.ymin=Math.min(t.ymin,i),t.ymax=Math.max(t.ymax,o),null!=t.zmin&&(t.zmin=Math.min(t.zmin,s),t.zmax=Math.max(t.zmax,a)),null!=t.mmin&&(t.mmin=Math.min(t.mmin,r),t.mmax=Math.max(t.mmax,h))}function p(t){const{hasZ:e,hasM:i,points:n}=t,o=(0,s.Pj)(r,n,e??!1,i??!1,e??!1,i??!1);return o?l(o,e,i):null}function g(t){const{hasZ:e,hasM:i,rings:n,curveRings:o}=t,a=(0,s.Yz)(r,o??n,e??!1,i??!1);return a?l(a,e,i):null}function d(t){const{hasZ:e,hasM:i,paths:n,curvePaths:o}=t,a=(0,s.Yz)(r,o??n,e??!1,i??!1);return a?l(a,e,i):null}},47610(t,e,i){function s([t,e,i,s],[r,n,o,a]){return t===r&&e===n&&(null==i&&null==o||i===o)&&(null==s&&null==a||s===a)}i.d(e,{v6:()=>s}),i(5443),i(83960)},60408(t,e,i){function s(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?n(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":s(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function u(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}i.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>u,ZC:()=>s,fT:()=>n,uW:()=>h})},65864(t,e,i){i.d(e,{rS:()=>c,xD:()=>p});var s=i(5443),r=i(91075),n=i(48526),o=i(86738),a=i(39829),h=i(82799),l=i(60408);function c(t){return null==t?null:t instanceof r.A?t:(0,l.fT)(t)?o.A.fromJSON(t):(0,l.Rg)(t)?h.A.fromJSON(t):(0,l.Bi)(t)?a.A.fromJSON(t):(0,l.U9)(t)?n.A.fromJSON(t):(0,l.ZC)(t)?s.A.fromJSON(t):null}const u={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function p(t){return t&&u[t]||null}},83960(t,e,i){i.d(e,{X_:()=>n,oW:()=>a,zx:()=>o});var s=i(34727),r=i(86211);function n(t,e){const i=e||t.extent,s=t.width,n=(0,r.GA)(i?.spatialReference);return i&&s?i.width/s*n*39.37*96:0}function o(t,e,i){return function(t,e){return 0===e||(0,s.Sp)(t,e)||t<e}(t,e)&&function(t,e){return 0===e||(0,s.Sp)(t,e)||t>e}(t,i)}function a(t,e){return(0,s.Sp)(t,e)?0:(t||Number.POSITIVE_INFINITY)>(e||Number.POSITIVE_INFINITY)?1:-1}},56993(t,e,i){function s(t,e,i=!1){let{hasM:s,hasZ:r}=t;Array.isArray(e)?4!==e.length||s||r?3===e.length&&i&&!s?(r=!0,s=!1):3===e.length&&s&&r&&(s=!1,r=!1):(s=!0,r=!0):(r=!r&&e.hasZ&&(!s||e.hasM),s=!s&&e.hasM&&(!r||e.hasZ)),t.hasZ=r,t.hasM=s}i.d(e,{h:()=>s})},97770(t,e,i){i.d(e,{Ey:()=>L,F8:()=>z,J2:()=>k,Yq:()=>I,_m:()=>R,iS:()=>P,wj:()=>N});var s=i(66552),r=i(73444),n=i(98623),o=i(34747);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},p={year:"numeric",month:"short",day:"numeric"},g={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},y={...d,second:"numeric"},f={hourCycle:"h23"},m={...d,...f},_={...y,...f},w={"short-date":c,"short-date-short-time":{...c,...d},"short-date-short-time-24":{...c,...m},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,..._},"short-date-le":c,"short-date-le-short-time":{...c,...d},"short-date-le-short-time-24":{...c,...m},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,..._},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...d},"long-month-day-year-short-time-24":{...u,...m},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,..._},"day-short-month-year":p,"day-short-month-year-short-time":{...p,...d},"day-short-month-year-short-time-24":{...p,...m},"day-short-month-year-long-time":{...p,...y},"day-short-month-year-long-time-24":{...p,..._},"long-date":g,"long-date-short-time":{...g,...d},"long-date-short-time-24":{...g,...m},"long-date-long-time":{...g,...y},"long-date-long-time-24":{...g,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":y},b=(0,s.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),S={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},v=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),x=v.find(({type:t})=>"month"===t)?.value.toLowerCase();function C(){const t=(0,r.lR)();return(t&&S[t])??(0,r.QC)()}"mart"!==x&&(S.bs="sr-Latn-CS");let A=new WeakMap;const M=w["short-date-short-time"];function k(t){return w[t]}function R(t){const{dateStyle:e,timeStyle:i,hour12:s,year:r,month:n}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=n||void 0),i&&!o.year&&(o.timeStyle=i,o.hour12="auto"===s?void 0:"always"===s),o}function I(t,e=M){return function(t){let e=A.get(t);if(!e){const i=C(),s=N(t.timeZone??"system"),r={...t,timeZone:s};e=new Intl.DateTimeFormat(i,r),A.set(t,e)}return e}(e).format(t)}function P(t,e=M){return I(new Date(t),{...e,...l,...h})}function z(t,e=M){return I(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function L(t,e=M){const i=o.c9.fromISO(t,{setZone:!0});if(!i.isValid)return t;if(e.timeZone)return I(i.toJSDate(),e);const s=0===i.offset?"UTC":e.timeZone,r={...e,timeZone:s};return i.toLocaleString(r,{locale:C()})}function N(t){switch(t){case"system":return n.N;case n.L:return"UTC";default:return t}}(0,r.Ml)(()=>{A=new WeakMap}),i.d(e,["_v",0,b])},73444(t,e,i){i.d(e,{JK:()=>h,Ml:()=>f,QC:()=>u,lR:()=>c,oQ:()=>d});var s=i(36563);let r;i(44208);const n=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return n??t??e??"en"}function h(){return void 0===r&&(r=a()),r}const l=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return p(t)?.language}function u(t=h()){const e=p(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function p(t=h()){return l.exec(t)?.groups}const g=[];function d(t){return g.push(t),(0,s.hA)(()=>{g.splice(g.indexOf(t),1)})}new Map;const y=[];function f(t){return y.push(t),(0,s.hA)(()=>y.splice(y.indexOf(t),1))}function m(){const t=a();r!==t&&([...y].forEach(e=>e(t)),r=t,[...g].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",m),o&&new MutationObserver(()=>{m()}).observe(o,{attributeFilter:["lang"]})},65851(t,e,i){i.d(e,{A:()=>a});var s=i(32198),r=i(91429),n=i(31593),o=i(20378);let a=class extends o.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,s.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":n.A}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,s.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,s.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],a)},11831(t,e,i){i.d(e,{A:()=>l});var s,r=i(32198),n=i(25482),o=i(90629),a=i(91429),h=i(5760);let l=s=class extends n.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,o.cr)(t)}clone(){return new s({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,a.MZ)({type:h.h9,json:{default:"none",write:!0}})],l.prototype,"decoration",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],l.prototype,"family",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:(t,e,i)=>({enabled:!i||!i.textSymbol3D})}}})],l.prototype,"size",null),(0,r.Cg)([(0,a.wg)("size")],l.prototype,"castSize",null),(0,r.Cg)([(0,a.MZ)({type:h._R,json:{default:"normal",write:!0}})],l.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:h.NM,json:{default:"normal",write:!0}})],l.prototype,"weight",void 0),l=s=(0,r.Cg)([(0,a.$K)("esri.symbols.Font")],l)},89420(t,e,i){i.d(e,{A:()=>h});var s=i(32198),r=i(90629),n=i(91429),o=i(56507),a=i(20378);let h=class extends a.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,s.Cg)([(0,n.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,s.Cg)([(0,n.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,s.Cg)([(0,n.MZ)({cast:t=>"auto"===t?t:(0,o.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,s.Cg)([(0,n.$K)("esri.symbols.MarkerSymbol")],h)},94985(t,e,i){i.d(e,{A:()=>g});var s,r=i(32198),n=i(68197),o=i(66552),a=i(4718),h=i(91429),l=i(65851),c=i(31593),u=i(93223);const p=new o.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let g=s=class extends l.A{constructor(...t){super(...t),this.color=new n.A([0,0,0,.25]),this.outline=new c.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const s={};return t&&(s.style=t),e&&(s.outline=e),i&&(s.color=i),s}clone(){return new s({color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:n.A})],g.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],g.prototype,"outline",void 0),(0,r.Cg)([(0,u.e)({esriSFS:"simple-fill"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:p.apiValues,json:{read:p.read,write:p.write}})],g.prototype,"style",void 0),g=s=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],g)},31593(t,e,i){i.d(e,{A:()=>S});var s=i(32198),r=i(66552),n=i(4718),o=i(90629),a=i(91429),h=i(20378),l=i(93223);let c=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,s.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,cast:o.cr,json:{write:!0}})],c.prototype,"width",null),c=(0,s.Cg)([(0,a.$K)("esri.symbols.LineSymbol")],c);var u,p=i(68197),g=i(25482),d=i(83213),y=i(43937),f=i(36005);let m=u=class extends g.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,i,s){e[i]="web-map"===s?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,i,s){"web-map"===s?.origin||(e[i]=t)}clone(){return new u({color:(0,n.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,s.Cg)([(0,a.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],m.prototype,"placement",void 0),(0,s.Cg)([(0,l.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,a.MZ)({json:{origins:{"web-map":{write:!1}}}})],m.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:d.z})],m.prototype,"style",void 0),(0,s.Cg)([(0,y.K)("style")],m.prototype,"writeStyle",null),(0,s.Cg)([(0,a.MZ)({type:p.A,value:null,json:{write:{allowNull:!0}}})],m.prototype,"color",null),(0,s.Cg)([(0,f.w)("color")],m.prototype,"readColor",null),(0,s.Cg)([(0,y.K)("color")],m.prototype,"writeColor",null),m=u=(0,s.Cg)([(0,a.$K)("esri.symbols.LineSymbolMarker")],m);const _=m;var w;const b=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=w=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,i,s,r,n){if(t&&"string"!=typeof t)return t;const a={};return null!=t&&(a.style=t),null!=e&&(a.color=e),null!=i&&(a.width=(0,o.cr)(i)),null!=s&&(a.cap=s),null!=r&&(a.join=r),null!=n&&(a.miterLimit=(0,o.cr)(n)),a}clone(){return new w({color:(0,n.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,s.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:b.apiValues,json:{read:b.read,write:b.write}})],S.prototype,"style",void 0),(0,s.Cg)([(0,a.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],S.prototype,"cap",void 0),(0,s.Cg)([(0,a.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],S.prototype,"join",void 0),(0,s.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":_}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=w=(0,s.Cg)([(0,a.$K)("esri.symbols.SimpleLineSymbol")],S)},53930(t,e,i){i.d(e,{A:()=>y});var s,r=i(32198),n=i(68197),o=i(66552),a=i(4718),h=i(90629),l=i(91429),c=i(89420),u=i(31593),p=i(43937),g=i(93223);const d=new o.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let y=s=class extends c.A{constructor(...t){super(...t),this.color=new n.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new u.A}normalizeCtorArgs(t,e,i,s){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),i&&(r.outline=i),s&&(r.color=s),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new s({angle:this.angle,color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,l.MZ)({type:n.A})],y.prototype,"color",void 0),(0,r.Cg)([(0,p.K)("color")],y.prototype,"writeColor",null),(0,r.Cg)([(0,g.e)({esriSMS:"simple-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],y.prototype,"size",null),(0,r.Cg)([(0,l.MZ)({type:d.apiValues,json:{read:d.read,write:d.write}})],y.prototype,"style",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"path",null),(0,r.Cg)([(0,l.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.A}},json:{default:null,write:!0}})],y.prototype,"outline",void 0),y=s=(0,r.Cg)([(0,l.$K)("esri.symbols.SimpleMarkerSymbol")],y)},20378(t,e,i){i.d(e,{A:()=>u});var s=i(32198),r=i(68197),n=i(66552),o=i(25482),a=i(91429),h=i(36005);const l=new n.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,u=class extends o.o{constructor(t){super(t),this.id="sym"+c++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,s.Cg)([(0,a.MZ)({type:l.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:l.write,isRequired:!0}}})],u.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:r.A,json:{write:{allowNull:!0}}})],u.prototype,"color",void 0),(0,s.Cg)([(0,h.w)("color")],u.prototype,"readColor",null),u=(0,s.Cg)([(0,a.$K)("esri.symbols.Symbol")],u)},68249(t,e,i){i.d(e,{A:()=>d});var s,r=i(32198),n=i(68197),o=i(4718),a=i(90629),h=i(91429),l=i(11831),c=i(20378),u=i(5760),p=i(93223),g=i(43937);let d=s=class extends c.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new l.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const s={};return t&&(s.text=t),e&&(s.font=e),i&&(s.color=i),s}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,i,s){s&&"string"!=typeof s?s.origin:e[i]=t}castLineWidth(t){return(0,a.cr)(t)}writeLineHeight(t,e,i,s){s&&"string"!=typeof s?s.origin:e[i]=t}clone(){return new s({angle:this.angle,backgroundColor:(0,o.o8)(this.backgroundColor),borderLineColor:(0,o.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,o.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,o.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:a.cr})],d.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:l.A,json:{write:!0}})],d.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...u.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,r.Cg)([(0,p.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...u.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],d.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,r.Cg)([(0,g.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(u.Tb)],d.prototype,"lineHeight",void 0),(0,r.Cg)([(0,g.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=s=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],d)},59868(t,e,i){var s=i(94985),r=i(31593),n=i(53930),o=i(68249),a=i(93470);const h=n.A.fromJSON(a.Cb),l=r.A.fromJSON(a.yM),c=s.A.fromJSON(a.WR),u=o.A.fromJSON(a.JZ);n.A.fromJSON(a.nC),r.A.fromJSON(a.HW),s.A.fromJSON(a.b6),i.d(e,["A7",0,l,"Cx",0,c,"Hk",0,u,"UK",0,h])},93470(t,e,i){const s=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s};i.d(e,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,s,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])},83213(t,e,i){i.d(e,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},5760(t,e,i){var s=i(34727),r=i(56507);const n={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,s.qE)(e,.1,4)},nonNullable:!0};i.d(e,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,n,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},98623(t,e,i){const s=Intl.DateTimeFormat().resolvedOptions().timeZone;i.d(e,["L",0,"unknown","N",0,s])},93602(t,e,i){i.r(e),i.d(e,{default:()=>k});var s=i(11254),r=i(6371),n=i(57582),o=i(44208),a=i(53966),h=i(17676),l=i(2741);let c=null;var u=i(69754),p=(i(83027),i(18989));i(25530),i(67171);const g={width:5,height:2,left:0,top:0};new p.A(0,0,11,8),new p.A(11,0,11,8);const d=1e20;class y{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;const i=new OffscreenCanvas(e,e);this.context=i.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(t,e){const{context:i,gridInner:s,gridOuter:r,rasterSizePx:n,rasterBufferPx:o,canvasSize:a,radius:h,cutoff:l}=this,c=n/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,a,a),this.context.translate(n,n),this.context.scale(c,c);const u=t.paintCurves(e,i);if(!u)return null;const p=u.xMin*c,g=u.xMax*c,y=u.yMin*c,f=u.yMax*c;u.free();const m=Math.ceil(g-p),_=Math.ceil(f-y),w=Math.floor(n+p-o),b=Math.floor(n+y-o),S=m+2*o,v=_+2*o,x=new Float32Array(Math.max(S*v,0)),C=i.getImageData(w,b,S,v);r.fill(d,0,x.length),s.fill(0,0,x.length);for(let t=0;t<v;t++)for(let e=0;e<S;e++){const i=v-1-t,n=C.data[4*(i*S+e)+3]/255;if(0===n)continue;const o=t*S+e;if(1===n)r[o]=0,s[o]=d;else{const t=.5-n;r[o]=t>0?t*t:0,s[o]=t<0?t*t:0}}this._edt(r,0,0,S,v,S),this._edt(s,0,0,S,v,S);for(let t=0;t<x.length;t++)x[t]=Math.sqrt(r[t])-Math.sqrt(s[t]);const A=Math.ceil(S/this.pxDensity),M=Math.ceil(v/this.pxDensity),k=this.pxDensity*this.pxDensity,R=new Uint8ClampedArray(Math.max(A*M,0));for(let t=0;t<M;t++)for(let e=0;e<A;e++){let i=0;for(let s=0;s<this.pxDensity;s++)for(let r=0;r<this.pxDensity;r++)e+r>S||t+s>v||(i+=x[(this.pxDensity*t+s)*S+(this.pxDensity*e+r)]);const s=i/this.pxDensity/k/h+l;R[t*A+e]=Math.round(255-255*s)}const I=c*t.face_height(),P=Math.round(f-I+2*o),z=Math.round(p-o);return{buffer:R,rect:{width:Math.ceil(m/this.pxDensity),height:Math.ceil(_/this.pxDensity),top:Math.round(P/this.pxDensity),left:Math.round(z/this.pxDensity)}}}_edt(t,e,i,s,r,n){for(let o=e;o<e+s;o++)this._edt1d(t,i*n+o,n,r);for(let o=i;o<i+r;o++)this._edt1d(t,o*n+e,1,s)}_edt1d(t,e,i,s){const r=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;r[0]=0,n[0]=-d,n[1]=d,o[0]=t[e];let a=0;for(let h=1;h<s;h++){o[h]=t[e+h*i];const s=h*h;let l;do{const t=r[a];l=(o[h]-o[t]+s-t*t)/(h-t)/2}while(l<=n[a]&&--a>-1);a++,r[a]=h,n[a]=l,n[a+1]=d}for(let a=0,h=0;a<s;a++){for(;n[h+1]<a;)h++;const s=r[h],l=a-s;t[e+a*i]=o[s]+l*l}}}var f=i(92602),m=i(51624);class _{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];const e=new Map;let i=0;for(;t.next();)switch(t.tag()){case 1:{const s=t.getMessage();for(;s.next();)switch(s.tag()){case 3:{const t=s.getMessage();let r,n,o,a,h,l,c;for(;t.next();)switch(t.tag()){case 1:r=t.getUInt32();break;case 2:n=t.getBytes();break;case 3:o=t.getUInt32();break;case 4:a=t.getUInt32();break;case 5:h=t.getSInt32();break;case 6:l=t.getSInt32();break;case 7:c=t.getUInt32();break;default:t.skip()}if(t.release(),r){const t={width:o,height:a,left:h,top:l};this._rects[r]=t;const s={xOffset:0,yOffset:0,xAdvance:c,yAdvance:0};if(this._shapings[r]=s,n){const t=n.length;e.set(r,n),this._bitmaps[r]={start:i,length:t},i+=t}}break}default:s.skip()}s.release();break}default:t.skip()}this._buffer=new Uint8Array(i);for(const[t,i]of e)this._buffer.set(i,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){const e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class b{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${f.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,i){const r=this._getFontStack(t);if(r.getRange(e))return;const n=256*e,o=n+255,a=this._baseURL.replace("{fontstack}",t).replace("{range}",n+"-"+o);return(0,s.A)(a,{responseType:"array-buffer",signal:i?.signal}).then(t=>{r.addRange(e,new _(new m.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){const e=this._getFontStack(t),i=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),r=await(0,s.A)(i,{responseType:"array-buffer"}),n=new _(new m.A(new Uint8Array(r.data),new DataView(r.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,n)}getRange(t,e){const i=this._glyphInfo.get(t);return i?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}class S{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new p.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new p.A;let i=null,s=-1;for(let r=0;r<this._free.length;++r){const n=this._free[r];t<=n.width&&e<=n.height&&(null===i||n.y<=i.y&&n.x<=i.x)&&(i=n,s=r)}return null===i?new p.A:(this._free.splice(s,1),i.width<i.height?(i.width>t&&this._free.push(new p.A(i.x+t,i.y,i.width-t,e)),i.height>e&&this._free.push(new p.A(i.x,i.y+e,i.width,i.height-e))):(i.width>t&&this._free.push(new p.A(i.x+t,i.y,i.width-t,i.height)),i.height>e&&this._free.push(new p.A(i.x,i.y+e,t,i.height-e))),new p.A(i.x,i.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){const i=this._free[e];if(i.y===t.y&&i.height===t.height&&i.x+i.width===t.x)i.width+=t.width;else if(i.x===t.x&&i.width===t.width&&i.y+i.height===t.y)i.height+=t.height;else if(t.y===i.y&&t.height===i.height&&t.x+t.width===i.x)i.x=t.x,i.width+=t.width;else{if(t.x!==i.x||t.width!==i.width||t.y+t.height!==i.y)continue;i.y=t.y,i.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}i(49186),i(563),i(90629),i(799),i(21287),i(5427),i(44589),i(40804),i(93397),Math.PI,Math.LN2;var v=i(27071);function x(t,e,i,s){return 1|t<<1|(i?1:0)<<2|("Nearest"===s?1:0)<<3|e<<4}i(46858),i(63907),i(42553);const C="arial-unicode-ms-regular",A=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,M=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class k{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new y({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();const e=this._client.getOptions();this._inited=this._init(e)}async rasterizeText(t,e,i){await this._inited;const s=e.symbol?(0,u.Z)(e):null;return s?{type:"rich-glyphs",runs:(await Promise.all(s.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,i)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,i)}async _rasterizeTextRun(t,e,i,s){const r=(0,n.rK)(e),h=this._invalidFonts.has(r),l=!!(0,o.A)("esri-2d-force-complex-shaping"),c=!!(0,o.A)("esri-2d-complex-shaping")&&A.test(i),u=M.has(e.family),p=l||c||u,g=h?C:r;let d=await this.getGlyphItems(i,p,t,g,!1,s);return d||(((t,e="")=>{a.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${r} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(r),d=await this.getGlyphItems(i,p,t,C,!1,s)),d}async getGlyphItems(t,e,i,s,n,a){await this._inited;const h=this._getSource(i);let l,c,u;if((0,o.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(h,s).catch(()=>{}),e){const e=await this._getFace(h,s);if(!e)return null;let i=this._glyphCache.get(s);i||(i=new Map,this._glyphCache.set(s,i));const{shaping:r,isRTL:n}=this._shape(e,t);u=n,l=r.map(t=>this._getShapedGlyph(e,i,t)),c={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(s);e||(e=new Map,this._pbfGlyphCache.set(s,e));const[i,o,c]=(0,r.y)(t),p=(0,v.bX)(i);try{await this._fetchRanges(h,s,p,a)}catch{return null}u=o,l=p.map(t=>this._getPBFGlyph(e,h,s,t,n)).filter(t=>!!t)}const p=l.filter(t=>t.needsRecord);return p.length>0&&await this._client.recordGlyphs(p),{type:"glyphs",glyphs:l,faceInfo:c,isRightToLeft:u,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){const{width:e,height:i,snapCoords:s}=await t;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new S(e,i),this._snapCoords=s,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,i){let s,r,n=e.get(i.glyphId);if(!n){s=this._glyphSDFCreator.draw(t,i.glyphId);const o=this._glyphSDFCreator.sdfBufferPx;n={mosaicItem:{rect:this._recordGlyph(s?.rect,o),page:this._currentPage,sdf:!0,textureBinding:x(1,this._currentPage,!0)},glyphRect:s?.rect??{width:0,height:0,top:0,left:0}},e.set(i.glyphId,n),r=!0}return{mosaicItem:n.mosaicItem,rect:n.glyphRect,shaping:{xAdvance:i.xAdvance,yAdvance:i.yAdvance,xOffset:i.xOffset,yOffset:i.yOffset},code:i.isNewline?10:i.isWhitespace?32:NaN,sdf:s,needsRecord:r}}_getPBFGlyph(t,e,i,s,r=!1){let n,o,a=t.get(s);if(!a){const h=e.getRange(i,s),l=h?.getRect(s),c=h?.getShaping(s),u=h?.getBitmap(s);if(r&&(!l||!c))return;if(!l||!c)return I(s);n=u&&{buffer:u,rect:l},a={mosaicItem:{rect:u?this._recordGlyph(l,3):new p.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:x(1,this._currentPage,!0)},rect:l,shaping:c,code:s},o=!0,t.set(s,a)}const{mosaicItem:h,rect:l,shaping:c}=a;return{mosaicItem:h,rect:l,shaping:c,code:s,sdf:n,needsRecord:o}}_shape(t,e){const i=this._glyphSDFCreator.sdfSizePx,[s,n,o]=(0,r.y)(e,!1),a=new Uint32Array(Array.from(s).map((t,e)=>o.levels[o.targetToSource[e]]));return{shaping:t.shape(s,a,i),isRTL:n}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);const n=t.woffURL(e);return await R(this._facePromises,e,async()=>{const t=await(0,s.A)(n,{responseType:"array-buffer",...r}),o=(await async function(){return c||(c=async function(){const t=await i.e(1687).then(i.bind(i,31687));return await t.default({module_or_path:(0,l.s)("esri/libs/text/pkg/bundle_bg.wasm")}),t}()),c}()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,o)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new b(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,i,s){const r=function(t){const e=new Set;for(const i of t)e.add(Math.floor(i/256));return e}(i),n=[];r.forEach(i=>{n.push(this._fetchRange(t,e,i,s))}),await Promise.all(n)}async _fetchRange(t,e,i,s){if(i>256)return;const r=e+i;return R(this._pbfRangePromises,r,()=>t.fetchRange(e,i,s))}_allocNewPage(){this._currentPage++,this._binPack=new S(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){const i=this._binPack;if(!t||0===t.width)return new p.A;const s=t.width+2*e,r=t.height+2*e;let n=s,o=r;this._snapCoords&&(n+=s%4?4-s%4:4,o+=r%4?4-r%4:4);const a=i.allocate(n,o);return a.isEmpty?(this._allocNewPage(),i.allocate(n,o)):a}_initDecorationGlyphs(){this._recordGlyph(g,3),this._recordGlyph(g,3)}preloadASCIIGlyphCache(t,e){const i=this._preloadCache[e];if(null!=i)return i;const s=t.preloadASCIIRange(e).then(async()=>{let i=this._pbfGlyphCache.get(e);i||(i=new Map,this._pbfGlyphCache.set(e,i));for(let s=0;s<256;s++)this._getPBFGlyph(i,t,e,s);const s=Array.from(this._pbfGlyphCache.get(e).values());await this._client.recordGlyphs(s)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=s,s}}function R(t,e,i){return t.has(e)||t.set(e,i().finally(()=>{t.delete(e)}).catch(t=>{(0,h.jH)(t)})),t.get(e)}const I=t=>({mosaicItem:{rect:new p.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},27071(t,e,i){i.d(e,{bX:()=>a,Qz:()=>o});var s=i(49186),r=i(53966),n=i(63907);function o(t){switch(t){case n.ld.UNSIGNED_BYTE:return Uint8Array;case n.ld.UNSIGNED_SHORT_4_4_4_4:return Uint16Array;case n.ld.FLOAT:return Float32Array;default:return void r.A.getLogger("esri.views.2d.engine.webgl.Utils").error(new s.A("webgl-utils",`Unable to handle type ${t}`))}}function a(t){const e=[];for(let i=0;i<t.length;i++)e.push(t.charCodeAt(i));return e}new Map},46858(t,e,i){i.d(e,{A:()=>n,J:()=>r});var s=i(799);function r(t,e){let i;if("string"==typeof t)i=(0,s.Wm)(t+`-seed(${e})`);else{let s=12;i=t^e;do{i=107*(i>>8^i)+s|0}while(0!==--s)}return(1+i/(1<<31))/2}function n(t){return Math.floor(r(t,o)*a)}const o=53290320,a=10}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7982],{27982(e,a,r){r.r(a),r.d(a,{fromUrl:()=>d,isGaussianSplat3DTilesUrl:()=>h});var t=r(49186),n=r(84952),s=r(60694),l=r(92009),i=r(23154),o=r(2976),c=r(77548),u=r(7861);const y={FeatureLayer:!0,SceneLayer:!0,VideoLayer:!0};async function d(e){const{properties:a,url:o}=e,d={...a,url:o},p=await async function(e,a){let r=(0,s.qg)(e);if(null==r&&(r=await async function(e,a){const r=await(0,u.L)(e,{customParameters:a});let t=null,l=null;const i=r.type;if("Feature Layer"===i||"Table"===i?(t="FeatureServer",l=r.id??null):"indexedVector"===i?t="VectorTileServer":r.hasOwnProperty("mapName")?t="MapServer":r.hasOwnProperty("bandCount")&&r.hasOwnProperty("pixelSizeX")?t="ImageServer":r.hasOwnProperty("maxRecordCount")&&r.hasOwnProperty("allowGeometryUpdates")?t="FeatureServer":r.hasOwnProperty("streamUrls")?t="StreamServer":w(r)?(t="SceneServer",l=r.id):r.hasOwnProperty("layers")&&w(r.layers?.[0])&&(t="SceneServer"),!t)return null;const o=null!=l?(0,s.iz)(e):null;return{title:null!=o&&r.name||(0,n.e7)(e),serverType:t,sublayer:l,url:{path:null!=o?o.serviceUrl:(0,n.An)(e).path}}}(e,a)),null==r)throw new t.A("arcgis-layers:url-mismatch","The url '${url}' is not a valid arcgis resource",{url:e});const{serverType:o,sublayer:d}=r;let f;const m={FeatureServer:"FeatureLayer",KnowledgeGraphServer:"KnowledgeGraphLayer",StreamServer:"StreamLayer",VectorTileServer:"VectorTileLayer",VideoServer:"VideoLayer"},p="FeatureServer"===o,b="SceneServer"===o,S={parsedUrl:r,Constructor:null,layerId:p||b?d??void 0:void 0,layers:[],tables:[]};switch(o){case"MapServer":if(null!=d){const{type:r}=await(0,u.L)(e,{customParameters:a});switch(f="FeatureLayer",r){case"Annotation Layer":f="AnnotationFeatureLayer";break;case"Dimension Layer":f="DimensionFeatureLayer";break;case"Catalog Layer":f="CatalogLayer";break;case"Annotation SubLayer":case"Catalog Dynamic Group Layer":throw new t.A("arcgis-layers:unsupported",`fromUrl() does not support "${r}" type`)}}else f=await async function(e,a){return(await(0,u.L)(e,{customParameters:a})).tileInfo}(e,a)?"TileLayer":"MapImageLayer";break;case"ImageServer":{const r=await(0,u.L)(e,{customParameters:a}),{tileInfo:t,cacheType:n}=r;f=t?"LERC"!==t?.format?.toUpperCase()||n&&"elevation"!==n.toLowerCase()?"ImageryTileLayer":"ElevationLayer":"ImageryLayer";break}case"SceneServer":{const e=await(0,u.L)(r.url.path,{customParameters:a});if(f="SceneLayer",e){const a=e?.layers;if("Voxel"===e?.layerType)f="VoxelLayer";else if(a?.length){const e=a[0]?.layerType;null!=e&&null!=c.XX[e]&&(f=c.XX[e])}}break}case"3DTilesServer":f=await h(e,a)?"GaussianSplatLayer":"IntegratedMesh3DTilesLayer";break;case"FeatureServer":if(f="FeatureLayer",null!=d){const r=await(0,u.L)(e,{customParameters:a});S.sourceJSON=r,S.preferredUrl=(0,c.$x)();const n=(0,i.Jo)(r.type);if(!n)throw new t.A("arcgis-layers:unsupported",`fromUrl() does not support "${r.type}" type`);f=n}break;default:f=m[o]}if(y[f]&&null==d){const r=await async function(e,a,r){let t,n,s,o,y;switch(a){case"FeatureServer":{const a=await(0,i.QM)(e,{customParameters:r});s=(0,c.$x)(e,{preferredHost:a.preferredHost});const n=!!a.layersJSON,l=a.layersJSON||a.serviceJSON;o=n?l?.layers:[],y=n?l?.tables:[],t=l;break}case"SceneServer":{const a=await async function(e,a){const r=await(0,u.L)(e,{customParameters:a}),t=r.layers?.[0];if(!t)return{serviceInfo:r};try{const{serverUrl:t}=await(0,l.L)(e),n=await(0,u.L)(t,{customParameters:a}).catch(()=>null);return n&&(r.tables=n.tables),{serviceInfo:r,tableServerUrl:t}}catch{return{serviceInfo:r}}}(e,r);t=a.serviceInfo,n=a.tableServerUrl;break}default:t=await(0,u.L)(e,{customParameters:r})}return{preferredUrl:s,layers:t?.layers?.map(e=>({id:e.id})).reverse()||[],tables:t?.tables?.map(e=>({serverUrl:n,id:e.id})).reverse()||[],layerInfos:o,tableInfos:y}}(e,o,a),n=r.layers.length+r.tables.length;if(p){if(0===n)throw new t.A("arcgis-layers:no-data",`The feature service '${e}' does not have any supported layers or tables`);S.preferredUrl=r.preferredUrl,S.layerInfos=r.layerInfos,S.tableInfos=r.tableInfos}if(1!==n)S.layers=r.layers,S.tables=r.tables,p&&r.layerInfos?.length&&(S.sublayerConstructorProvider=await async function(e){if(!e.length)return;const a=new Set,r=[];for(const{type:t}of e)a.has(t)||(a.add(t),r.push(L((0,i.Jo)(t))));const t=await Promise.all(r),n=new Map;return Array.from(a).forEach((e,a)=>{n.set(e,t[a])}),e=>n.get(e.type)}(r.layerInfos));else if(p||b){const e=r.layerInfos?.[0]??r.tableInfos?.[0];S.layerId=r.layers[0]?.id??r.tables[0]?.id,S.sourceJSON=e,p&&(f=(0,i.Jo)(e?.type))}}return S.Constructor=await L(f),S}(o,a?.customParameters),{Constructor:b,layerId:S,sourceJSON:v,parsedUrl:P,layers:g,tables:I}=p;if(g.length+I.length===0)return null!=S&&(d.layerId=S),null!=v&&(d.sourceJSON=v),new b(d);const T=new(0,(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6018)]).then(r.bind(r,85989))).default)({title:P.title});return await async function(e,a,r){const t=a.sublayerConstructorProvider;for(const{id:n,serverUrl:s}of a.layers){const l=f(a.layerInfos,n),i=m(s,n,l,(l&&t?.(l))??a.Constructor,r);e.add(i)}if(a.tables.length){const t=await L("FeatureLayer");a.tables.forEach(({id:n,serverUrl:s})=>{const l=m(s,n,f(a.tableInfos,n),t,r);e.tables.add(l)})}}(T,p,d),T}function f(e,a){return e?e.find(({id:e})=>e===a):null}function m(e,a,r,t,n){const s={...n,layerId:a};return null!=e&&(s.url=e),null!=r&&(s.sourceJSON=r),"sublayerTitleMode"in t.prototype&&(s.sublayerTitleMode="service-name"),new t(s)}function w(e){return null!=e&&e.hasOwnProperty("store")&&e.hasOwnProperty("id")&&"number"==typeof e.id}async function L(e){return(0,o.U[e])()}async function h(e,a){const r=await(0,u.L)(e,{customParameters:a}),t=r.extensions?.["3DTILES_content_gltf"];return!0===t?.extensionsRequired?.includes("KHR_gaussian_splatting")}},92009(e,a,r){r.d(a,{L:()=>u});var t=r(70333),n=r(11254),s=r(49186),l=r(17676),i=r(60694),o=r(20655),c=r(80812);async function u(e,a){const r=(0,i.qg)(e);if(!r)throw new s.A("invalid-url","Invalid scene service url");const u={...a,sceneServerUrl:r.url.path,layerId:r.sublayer??void 0};if(u.sceneLayerItem??=await async function(e){const a=(await y(e)).serviceItemId;if(!a)return null;const r=new c.default({id:a,apiKey:e.apiKey}),s=await async function(e){const a=t.id?.findServerInfo(e.sceneServerUrl);if(a?.owningSystemUrl)return a.owningSystemUrl;const r=e.sceneServerUrl.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{const a=(await(0,n.A)(r,{query:{f:"json"},responseType:"json",signal:e.signal})).data.owningSystemUrl;if(a)return a}catch(e){(0,l.QP)(e)}return null}(e);null!=s&&(r.portal=new o.A({url:s}));try{return await r.load({signal:e.signal})}catch(e){return(0,l.QP)(e),null}}(u),null==u.sceneLayerItem)return d(u.sceneServerUrl.replace("/SceneServer","/FeatureServer"),u);const f=await async function({sceneLayerItem:e,signal:a}){if(!e)return null;try{const r=(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:a})).find(e=>"Feature Service"===e.type)||null;if(!r)return null;const t=new c.default({portal:r.portal,id:r.id});return await t.load(),t}catch(e){return(0,l.QP)(e),null}}(u);if(!f?.url)throw new s.A("related-service-not-found","Could not find feature service through portal item relationship");u.featureServiceItem=f;const m=await d(f.url,u);return m.portalItem=f,m}async function y(e){if(e.rootDocument)return e.rootDocument;const a={query:{f:"json",...e.customParameters,token:e.apiKey},responseType:"json",signal:e.signal};try{const r=await(0,n.A)(e.sceneServerUrl,a);e.rootDocument=r.data}catch{e.rootDocument={}}return e.rootDocument}async function d(e,a){const r=(0,i.qg)(e);if(!r)throw new s.A("invalid-feature-service-url","Invalid feature service url");const t=r.url.path,l=a.layerId;if(null==l)return{serverUrl:t};const o=y(a),c=a.featureServiceItem?await a.featureServiceItem.fetchData("json"):null,u=(c?.layers?.[0]||c?.tables?.[0])?.customParameters,d=e=>{const r={query:{f:"json",...u},responseType:"json",authMode:e,signal:a.signal};return(0,n.A)(t,r)},f=d("anonymous").catch(()=>d("no-prompt")),[m,w]=await Promise.all([f,o]),L=w?.layers,h=m.data&&m.data.layers;if(!Array.isArray(h))throw new Error("expected layers array");if(Array.isArray(L)){for(let e=0;e<Math.min(L.length,h.length);e++)if(L[e].id===l)return{serverUrl:t,layerId:h[e].id}}else if(null!=l&&l<h.length)return{serverUrl:t,layerId:h[l].id};throw new Error("could not find matching associated sublayer")}},23154(e,a,r){r.d(a,{A6:()=>i,Aq:()=>w,Jo:()=>m,QM:()=>l});var t=r(77548),n=r(7861);const s=new Set(["Annotation Layer","Catalog Layer","Dimension Layer","Feature Layer","Oriented Imagery Layer"]);async function l(e,a){const{serviceJSON:r,layersJSON:t,...n}=await i(e,a);u(r);const s={serviceJSON:r,...n};return t&&(u(t),s.layersJSON=t),s}async function i(e,a){const{loadContext:r,...s}=a||{},l=r?await r.fetchServiceMetadata(e,s):await(0,n.L)(e,s),i=(0,t.G$)();f(l);const o={serviceJSON:l,preferredHost:i};if((l.currentVersion??0)<10.5)return o;const c=`${(0,t.$x)()??e}/layers`,u=r?await r.fetchServiceMetadata(c,s):await(0,n.L)(c,s);return f(u),o.layersJSON={layers:u.layers,tables:u.tables},o}function o(e){return s.has(e.type)}function c(e){return"Table"===e.type}function u(e){e.layers=e.layers?.filter(o),e.tables=e.tables?.filter(c)}function y(e){e.type||="Feature Layer"}function d(e){e.type||="Table"}function f(e){e.layers?.forEach(y),e.tables?.forEach(d)}function m(e){if(!e)return"FeatureLayer";switch(e){case"Feature Layer":case"Table":return"FeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"DimensionFeatureLayer";case"Annotation Layer":return"AnnotationFeatureLayer"}return null}function w(e,a){if(!e)return a?"Table":"ArcGISFeatureLayer";switch(e){case"Annotation Layer":return"ArcGISAnnotationLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"ArcGISDimensionLayer";case"Feature Layer":return"ArcGISFeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Parcel Layer":return"ParcelLayer";case"Table":return"Table";case"Topology Layer":return"TopologyLayer";case"Trace Network Layer":return"TraceNetworkLayer";case"Utility Network Layer":return"UtilityNetworkLayer";default:return null}}},2976(e,a,r){const t={AnnotationFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(564),r.e(7552),r.e(2889),r.e(4674),r.e(2718),r.e(737),r.e(9727)]).then(r.bind(r,20737))).default,BingMapsLayer:async()=>(await Promise.all([r.e(8278),r.e(7865),r.e(6554),r.e(6684)]).then(r.bind(r,17029))).default,BuildingSceneLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(993),r.e(7005),r.e(8698),r.e(3705),r.e(3853),r.e(7120)]).then(r.bind(r,82411))).default,CSVLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(9084)]).then(r.bind(r,68695))).default,CatalogLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(9789),r.e(4674),r.e(893),r.e(2718),r.e(7013),r.e(8882),r.e(2108)]).then(r.bind(r,83508))).default,DimensionFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(564),r.e(7552),r.e(2889),r.e(4674),r.e(2718),r.e(3936)]).then(r.bind(r,25077))).default,DimensionLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(3766)]).then(r.bind(r,71493))).default,ElevationLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(2880),r.e(1817)]).then(r.bind(r,38732))).default,FeatureLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(617)]).then(r.bind(r,53781))).default,GaussianSplatLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(5186),r.e(9224)]).then(r.bind(r,36475))).default,GeoJSONLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(1994)]).then(r.bind(r,15481))).default,GeoRSSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(3262)]).then(r.bind(r,63201))).default,GroupLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6018)]).then(r.bind(r,85989))).default,ImageryLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(564),r.e(7552),r.e(893),r.e(1683),r.e(7939),r.e(6924),r.e(7772),r.e(2585)]).then(r.bind(r,87772))).default,ImageryTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(564),r.e(1683),r.e(2880),r.e(7939),r.e(2754),r.e(6924),r.e(9235),r.e(3500),r.e(1003),r.e(2806),r.e(9036)]).then(r.bind(r,90124))).default,IntegratedMesh3DTilesLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(5186),r.e(8325),r.e(5399)]).then(r.bind(r,61528))).default,IntegratedMeshLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(993),r.e(5186),r.e(8325),r.e(7464)]).then(r.bind(r,74660))).default,KMLLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(1214),r.e(5051),r.e(9526)]).then(r.bind(r,162))).default,KnowledgeGraphLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(9789),r.e(9696),r.e(708),r.e(4347),r.e(1683),r.e(217),r.e(1521),r.e(2304),r.e(4934),r.e(8692)]).then(r.bind(r,28692))).default,LineOfSightLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(4535),r.e(9695)]).then(r.bind(r,49695))).default,LinkChartLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(9789),r.e(9696),r.e(708),r.e(4347),r.e(1683),r.e(217),r.e(1521),r.e(2304),r.e(4934),r.e(3309)]).then(r.bind(r,93309))).default,MapImageLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4674),r.e(893),r.e(8470),r.e(5331)]).then(r.bind(r,7656))).default,MapNotesLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(2304),r.e(8471)]).then(r.bind(r,96299))).default,MediaLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(3734),r.e(2491)]).then(r.bind(r,90182))).default,OGCFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(708),r.e(8698),r.e(5069)]).then(r.bind(r,65977))).default,OpenStreetMapLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(3624),r.e(349)]).then(r.bind(r,40349))).default,OrientedImageryLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(1974),r.e(4965)]).then(r.bind(r,16852))).default,ParquetLayer:async()=>(await Promise.all([r.e(8278),r.e(7865),r.e(9953),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(3819),r.e(7320),r.e(3649)]).then(r.bind(r,99680))).default,PointCloudLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2869),r.e(993),r.e(7984),r.e(6533)]).then(r.bind(r,77885))).default,RouteLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(1214),r.e(5051),r.e(217),r.e(7975)]).then(r.bind(r,39622))).default,SceneLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(993),r.e(7005),r.e(8698),r.e(3705),r.e(3853),r.e(1086)]).then(r.bind(r,2e4))).default,StreamLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(946)]).then(r.bind(r,79457))).default,SubtypeGroupLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(564),r.e(7552),r.e(2889),r.e(9789),r.e(4674),r.e(2718),r.e(1683),r.e(2987)]).then(r.bind(r,97483))).default,TileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4674),r.e(893),r.e(2880),r.e(8470),r.e(1e3)]).then(r.bind(r,71756))).default,UnknownLayer:async()=>(await Promise.all([r.e(9917),r.e(2325)]).then(r.bind(r,146))).default,UnsupportedLayer:async()=>(await Promise.all([r.e(9917),r.e(6958)]).then(r.bind(r,45165))).default,VectorTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2880),r.e(5168),r.e(9151),r.e(3996)]).then(r.bind(r,50638))).default,VideoLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(3910),r.e(4674),r.e(1683),r.e(3734),r.e(763)]).then(r.bind(r,86875))).default,ViewshedLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(4535),r.e(6650)]).then(r.bind(r,96650))).default,VoxelLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2869),r.e(993),r.e(117)]).then(r.bind(r,21005))).default,WCSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(564),r.e(1683),r.e(7939),r.e(2754),r.e(6924),r.e(9235),r.e(3500),r.e(2806),r.e(5957)]).then(r.bind(r,20521))).default,WFSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(2869),r.e(3910),r.e(4800),r.e(564),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(1017),r.e(708),r.e(2774),r.e(2549)]).then(r.bind(r,21901))).default,WMSLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(3910),r.e(1728)]).then(r.bind(r,51904))).default,WMTSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(3624),r.e(309)]).then(r.bind(r,20309))).default,WebTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(3624)]).then(r.bind(r,47314))).default};r.d(a,["U",0,t])},7861(e,a,r){r.d(a,{L:()=>n});var t=r(11254);async function n(e,a){return(await(0,t.A)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}})).data}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1817],{60999(e,t,r){r.d(t,{DZ:()=>y,Ke:()=>p,Tj:()=>h,UT:()=>g,aD:()=>m,jJ:()=>u});var i=r(32198),s=r(69622),a=r(97768),l=r(17676),n=r(10107),o=r(64108);function u(e,t,r){return(0,l.Lx)(e.map((e,i)=>t.apply(r,[e,i])))}async function h(e,t,r){return(await(0,l.Lx)(e.map((e,i)=>t.apply(r,[e,i])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function p(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function y(e){try{return c(await e)}catch(e){return(0,l.QP)(e),d(e)}}function g(e,t){return new f(e,t)}let f=class extends s.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,a.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,l.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,a.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,n.MZ)()],f.prototype,"value",null),(0,i.Cg)([(0,n.MZ)()],f.prototype,"error",null),(0,i.Cg)([(0,n.MZ)()],f.prototype,"finished",null),(0,i.Cg)([(0,n.MZ)()],f.prototype,"promise",void 0),(0,i.Cg)([(0,n.MZ)()],f.prototype,"_result",void 0),f=(0,i.Cg)([(0,o.$)("esri.core.asyncUtils.ReactiveTask")],f);class m{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},69397(e,t,r){r.d(t,{Qf:()=>n,Qh:()=>a,lM:()=>s});var i=r(34275);function s(e){if(!e)return 0;let t=u;for(const r in e)e.hasOwnProperty(r)&&(t+=l(e[r],!1));return t}function a(e){if(!e)return 0;if("number"==typeof e[0])return n(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return o(e,8);let r=h;for(let i=0;i<t;i++)r+=l(e[i]);return r}(e);let t=u;for(const r in e)e.hasOwnProperty(r)&&(t+=l(e[r]));return t}function l(e,t=!0){switch(typeof e){case"object":return t?a(e):u;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function n(...e){return e.reduce((e,t)=>e+(t?(0,i.iu)(t)?t.byteLength+c:Array.isArray(t)?o(t,16):0:0),0)}function o(e,t){return h+e.length*t}const u=32,h=16,c=145},83027(e,t,r){const i=r(29953).ho;r.d(t,["h",0,i])},35982(e,t,r){r.d(t,{B:()=>h});var i=r(4576),s=r(71511),a=r(36563),l=r(53966),n=r(97768),o=r(17676),u=r(83027);class h{constructor(e,t,r,i,s={}){this._mainMethod=t,this._transferLists=r,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(e,{...s,schedule:i}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{s.hasInitialize&&e.invoke("initialize",{}).catch(()=>{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>l.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const r=new c(e,t);return this._listeners.push(r),this._connectListener(r),(0,a.hA)(()=>{(0,i.TF)(this._listeners,r),r.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,n.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,r){return this.invokeMethod(this._mainMethod,e,t,r)}invokeMethod(e,t,r,i){if(this._thread){const s=this._transferLists[e],a=s?s(t):[];return this._thread.invoke(e,t,{transferList:a,signal:r,jobPriority:i})}return this._promise?this._promise.then(()=>((0,o.Te)(r),this.invokeMethod(e,t,r))):Promise.reject((0,o.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(d):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,o.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class c{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new s.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function d(){}},54239(e,t,r){r.d(t,{A:()=>m});var i,s=r(32198),a=r(4576),l=r(66552),n=r(25482),o=r(86211),u=r(67076),h=r(91429),c=r(97348),d=r(43937),p=r(36005);const y=(0,l.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),g=y.jsonValues.slice();(0,a.Xy)(g,"orthometric");const f=(0,l.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let m=i=class extends n.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return y.write(e,t,r)}readHeightModel(e,t,r){return y.read(e)||(r?.messages&&r.messages.push(function(e,t){return new u.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return f.read(e)||(r?.messages&&r.messages.push(v(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,o.LA)(e)||f.read(e)||(r?.messages&&r.messages.push(v(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,o.k1)(t);return new i({heightModel:e.heightModel,heightUnit:r??void 0,vertCRS:e.vertCRS})}static fromSpatialReference(e){const{latestVcsWkid:t,vcsWkid:r}=e;if(!r)return null;const s=(null!=t?c.B.get(t):null)??c.B.get(r);return s?new i({heightModel:0===s.type?"gravity-related-height":"ellipsoidal",heightUnit:(0,o.LA)(s.unit.name),vertCRS:s.datum}):null}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function v(e,t){return new u.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,s.Cg)([(0,h.MZ)({type:y.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,s.Cg)([(0,d.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,s.Cg)([(0,p.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,s.Cg)([(0,h.MZ)({type:f.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:f.jsonValues,write:{writer:f.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,s.Cg)([(0,p.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,s.Cg)([(0,p.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,s.Cg)([(0,h.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,s.Cg)([(0,p.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=i=(0,s.Cg)([(0,h.$K)("esri.geometry.HeightModelInfo")],m)},38732(e,t,r){r.r(t),r.d(t,{default:()=>S});var i=r(32198),s=r(11254),a=r(49186),l=r(97768),n=r(25728),o=r(17676),u=r(84952),h=r(91429),c=r(54239),d=r(4146),p=r(89186),y=r(18768),g=r(34287),f=r(8303),m=r(10873),v=r(87378),w=r(35982);class _ extends w.B{constructor(e=null){super("LercWorker","_decode",{_decode:e=>[e.buffer]},e,{strategy:"dedicated"}),this.schedule=e,this.ref=0}decode(e,t,r){return e&&0!==e.byteLength?this.invoke({buffer:e,options:t},r):Promise.resolve(null)}release(){--this.ref<=0&&(C.forEach((e,t)=>{e===this&&C.delete(t)}),this.destroy())}}const C=new Map;var b=r(36005);let M=class extends((0,p.f)((0,y.b)((0,g.q)((0,f.A)((0,n.M)(d.A)))))){constructor(...e){super(...e),this.capabilities={operations:{supportsTileMap:!1}},this.copyright=null,this.heightModelInfo=null,this.path=null,this.minScale=void 0,this.maxScale=void 0,this.opacity=1,this.operationalLayerType="ArcGISTiledElevationServiceLayer",this.sourceJSON=null,this.type="elevation",this.url=null,this.version=null,this._lercDecoder=function(e=null){let t=C.get(e);return t||(null!=e?(t=new _(t=>e.immediate.schedule(t)),C.set(e,t)):(t=new _,C.set(null,t))),++t.ref,t}()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this._lercDecoder=(0,l.Gz)(this._lercDecoder)}readCapabilities(e,t){const r=t.capabilities&&t.capabilities.split(",").map(e=>e.toLowerCase().trim());return r?{operations:{supportsTileMap:r.includes("tilemap")}}:{operations:{supportsTileMap:!1}}}get memoizedElevationQueryDependencies(){return[this.loadStatus,this.tileInfo,this.fullExtent,this.spatialReference]}readVersion(e,t){let r=t.currentVersion;return r||(r=9.3),r}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"],supportsData:!1,validateItem:e=>{if(e.typeKeywords)for(let t=0;t<e.typeKeywords.length;t++)if("elevation 3d layer"===e.typeKeywords[t].toLowerCase())return!0;throw new a.A("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}' ",{type:"Image Service",expectedType:"Image Service Elevation 3D Layer"})}},e).catch(o.QP).then(()=>this._fetchImageService(t))),Promise.resolve(this)}async fetchTile(e,t,r,i){const l=i?.signal,n={responseType:"array-buffer",signal:l,useQueue:i?.useQueue,priority:i?.priority},o={noDataValue:i?.noDataValue,returnFileInfo:!0};await this.load(),await this._fetchTileAvailability(e,t,r,i);const u=await(0,s.A)(this.getTileUrl(e,t,r),n),h=await this._lercDecoder.decode(u.data,o,l);if(!h)throw new a.A("elevation-layer:tile-decode-failed","Failed to decode elevation tile data.");return new v.A({values:h.pixelData,width:h.width,height:h.height,noDataValue:h.noDataValue})}getTileUrl(e,t,r){const i=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,s=(0,u.x0)({...this.parsedUrl.query,blankTile:!i&&null});return`${this.parsedUrl.path}/tile/${e}/${t}/${r}${s?"?"+s:""}`}async queryElevation(e,t){const{query:i}=await r.e(91).then(r.bind(r,90091));return(0,o.Te)(t),i(this,e,t)}async createElevationSampler(e,t){const{createSampler:i}=await r.e(91).then(r.bind(r,90091));return(0,o.Te)(t),i(this,e,t)}_fetchTileAvailability(e,t,r,i){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,t,r,i):Promise.resolve("unknown")}async _fetchImageService(e){if(this.sourceJSON)return this.sourceJSON;const t={query:{f:"json",...this.parsedUrl.query},responseType:"json",signal:e},r=await(0,s.A)(this.parsedUrl.path,t);r.ssl&&(this.url=this.url?.replace(/^http:/i,"https:")),this.sourceJSON=r.data,this.read(r.data,{origin:"service",url:this.parsedUrl})}get hasOverriddenFetchTile(){return!this.fetchTile[I]}};(0,i.Cg)([(0,h.MZ)({readOnly:!0})],M.prototype,"capabilities",void 0),(0,i.Cg)([(0,b.w)("service","capabilities",["capabilities"])],M.prototype,"readCapabilities",null),(0,i.Cg)([(0,h.MZ)({json:{read:{source:"copyrightText"}}})],M.prototype,"copyright",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0,type:c.A})],M.prototype,"heightModelInfo",void 0),(0,i.Cg)([(0,h.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],M.prototype,"path",void 0),(0,i.Cg)([(0,h.MZ)({type:["show","hide"]})],M.prototype,"listMode",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],M.prototype,"minScale",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],M.prototype,"maxScale",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],M.prototype,"opacity",void 0),(0,i.Cg)([(0,h.MZ)({type:["ArcGISTiledElevationServiceLayer"]})],M.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,h.MZ)()],M.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!1},value:"elevation",readOnly:!0})],M.prototype,"type",void 0),(0,i.Cg)([(0,h.MZ)()],M.prototype,"memoizedElevationQueryDependencies",null),(0,i.Cg)([(0,h.MZ)(m.OZ)],M.prototype,"url",void 0),(0,i.Cg)([(0,h.MZ)()],M.prototype,"version",void 0),(0,i.Cg)([(0,b.w)("version",["currentVersion"])],M.prototype,"readVersion",null),M=(0,i.Cg)([(0,h.$K)("esri.layers.ElevationLayer")],M);const I=Symbol("default-fetch-tile");M.prototype.fetchTile[I]=!0;const S=M},89186(e,t,r){var i=r(32198),s=r(91429),a=r(16930),l=r(87045),n=r(65509),o=r(25943),u=r(36005);r.d(t,["f",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.copyright=null,this.minScale=0,this.maxScale=0,this.spatialReference=null,this.tileInfo=null,this.tilemapCache=null}destroy(){this.tilemapCache?.destroy?.()}readMinScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}readMaxScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}get supportsBlankTile(){return this.version>=10.2}readTilemapCache(e,t,r){const i=t.capabilities?.toLowerCase().includes("tilemap");let{minLOD:s,maxLOD:a,minScale:u,maxScale:h}=t;if(null==s&&null==a&&(0!==u||0!==h)){const e=e=>Math.round(1e4*e)/1e4;u=e(u||t.tileInfo.lods[0].scale),h=e(h||t.tileInfo.lods[t.tileInfo.lods.length-1].scale);for(const r of t.tileInfo.lods){const t=e(r.scale);s=t>=u?r.level:s,a=t>=h?r.level:a}}if(i)return new o.d({layer:this,minLOD:s,maxLOD:a});if(t.tileInfo){const e=new l.A;return e.read(t.tileInfo,r),new n.A(e,s,a)}return null}};return(0,i.Cg)([(0,s.MZ)({json:{read:{source:"copyrightText"}}})],r.prototype,"copyright",void 0),(0,i.Cg)([(0,s.MZ)()],r.prototype,"minScale",void 0),(0,i.Cg)([(0,u.w)("service","minScale")],r.prototype,"readMinScale",null),(0,i.Cg)([(0,s.MZ)()],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,u.w)("service","maxScale")],r.prototype,"readMaxScale",null),(0,i.Cg)([(0,s.MZ)({type:a.A})],r.prototype,"spatialReference",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],r.prototype,"supportsBlankTile",null),(0,i.Cg)([(0,s.MZ)({type:l.A})],r.prototype,"tileInfo",void 0),(0,i.Cg)([(0,s.MZ)()],r.prototype,"tilemapCache",void 0),(0,i.Cg)([(0,u.w)("service","tilemapCache",["capabilities","tileInfo"])],r.prototype,"readTilemapCache",null),(0,i.Cg)([(0,s.MZ)()],r.prototype,"version",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.ArcGISCachedService")],r),r}])},18768(e,t,r){var i=r(32198),s=r(53966),a=r(91429),l=r(60694);r.d(t,["b",0,e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Jf)(e,s.A.getLogger(this)))}};return(0,i.Cg)([(0,a.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,a.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,a.$K)("esri.layers.mixins.ArcGISService")],r),r}])},8303(e,t,r){var i=r(32198),s=r(92602),a=r(70333),l=r(11254),n=r(60999),o=r(49186),u=r(36563),h=r(53966),c=r(97768),d=r(17676),p=r(84952),y=r(91429),g=r(77548),f=r(20655),m=r(80812),v=r(41318),w=r(10407),_=r(36005),C=r(43937);const b={credential:null,user:null};r.d(t,["A",0,e=>{const t=e;let M=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,d.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||h.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await r.e(1204).then(r.bind(r,41204)),i=new AbortController,s=(0,u.rE)(i);return this.addHandles(s,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:i.signal})}catch(e){throw(0,d.zf)(e)||h.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!s.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:s}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",s)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!a.id?.findCredential(this.url),s=e===r.id;if(s&&r.portal.user)return this._getUserPrivileges(r,i);let l,n;if(s)l=r.portal.url;else try{l=await(0,g.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!l||!(0,p.b8)(l,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;n=await(a.id?.getCredential(`${l}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const o=!0,u=!1,h=!1;if(!n)return{features:{edit:o,fullEdit:u},content:{updateItem:h}};try{if(s?await r.reload():(r=new m.default({id:e,portal:{url:l}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,d.QP)(e)}return{features:{edit:o,fullEdit:u},content:{updateItem:h}}}_getUserPrivileges(e,t){const r=(0,w.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?a.id?.findCredential(this.url):null;if(!t)return!0;const r=b.credential===t?b.user:await this._fetchEditingUser(e);return b.credential=t,b.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=a.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,s=f.A.getDefault();if(s&&s.loaded&&(0,p.S8)(s.restUrl)===(0,p.S8)(i))return s.user;const o=`${i}/community/self`,u=null!=e?e.signal:null,h=await(0,n.Ke)((0,l.A)(o,{authMode:"no-prompt",query:{f:"json"},signal:u}));return h.ok?v.A.fromJSON(h.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||f.A.getDefault());return r&&i&&!(0,p.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new o.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,y.MZ)({type:m.default})],M.prototype,"portalItem",null),(0,i.Cg)([(0,_.w)("web-document","portalItem",["itemId"])],M.prototype,"readPortalItem",null),(0,i.Cg)([(0,C.K)("web-document","portalItem",{itemId:{type:String}})],M.prototype,"writePortalItem",null),(0,i.Cg)([(0,y.MZ)({clonable:!1})],M.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasUpdateItemPrivileges",void 0),M=(0,i.Cg)([(0,y.$K)("esri.layers.mixins.PortalLayer")],M),M}])},87378(e,t,r){r.d(t,{A:()=>n});var i,s=r(34275),a=r(56507);const l=Symbol("ElevationTileDataClass");class n{static{i=l}constructor({values:e,width:t,height:r,noDataValue:a}){this[i]=!0,this._hasNoDataValues=null,this._minValue=null,this._maxValue=null,this.values=(0,s.vZ)(e)?e:new Float32Array(e),this.width=t,this.height=r,this.noDataValue=a}get hasNoDataValues(){if(null==this._hasNoDataValues){const e=this.noDataValue;this._hasNoDataValues=this.values.includes(e)}return this._hasNoDataValues}get minValue(){return this._ensureBounds(),this._minValue}get maxValue(){return this._ensureBounds(),this._maxValue}get usedMemory(){return this.values.byteLength+256}_ensureBounds(){if(null!=this._minValue)return;const{noDataValue:e,values:t}=this;let r=1/0,i=-1/0,s=!0;for(const a of t)a===e?this._hasNoDataValues=!0:(r=a<r?a:r,i=a>i?a:i,s=!1);s?(this._minValue=0,this._maxValue=0):(this._minValue=r,this._maxValue=i>-3e38?i:0)}static{this.from=(0,a.qf)(n)}}},65509(e,t,r){r.d(t,{A:()=>a});var i=r(49186),s=r(17676);class a{constructor(e,t=0,r=e.lods[e.lods.length-1].level){this.tileInfo=e,this.minLOD=t,this.maxLOD=r,e.lodAt(t)||(this.minLOD=e.lods[0].level),e.lodAt(r)||(this.maxLOD=e.lods[e.lods.length-1].level)}get effectiveMinLOD(){return this.minLOD??this.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.tileInfo.lods[this.tileInfo.lods.length-1].level}getAvailability(e,t,r){const i=this.tileInfo?.lodAt(e);return!i||e<this.minLOD||e>this.maxLOD?"unavailable":i.cols&&i.rows?r>=i.cols[0]&&r<=i.cols[1]&&t>=i.rows[0]&&t<=i.rows[1]?"unknown":"unavailable":"unknown"}async fetchAvailability(e,t,r,a){await(0,s.NO)(a);const l=this.getAvailability(e,t,r);if("unavailable"===l)throw new i.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:r});return l}async fetchAvailabilityUpsample(e,t,r,i,a){await(0,s.NO)(a),i.level=e,i.row=t,i.col=r;const l=this.tileInfo;return l.updateTileInfo(i),this.fetchAvailability(e,t,r,a).catch(e=>{if((0,s.zf)(e))throw e;if(l.upsampleTile(i))return this.fetchAvailabilityUpsample(i.level,i.row,i.col,i,a);throw e})}}},10407(e,t,r){r.d(t,{It:()=>p,LG:()=>l,OM:()=>u,Sm:()=>h,Y:()=>n,bK:()=>o,sQ:()=>c});var i=r(99917),s=r(16930),a=r(28735);function l(e,t){if(!n(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function n(e,t){return!!e.typeKeywords?.includes(t)}function o(e){return n(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function h(e,t,r){r?l(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,a.ci)(e);const r=s.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const d={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function p(e){const{portal:t,isOrgItem:r,itemControl:i}=e,s=t.user?.privileges;let a=!s||s.includes("features:user:edit"),l=!!r&&!!s?.includes("features:user:fullEdit");const n="update"===i||"admin"===i;return n?l=a=!0:l&&(a=!0),{features:{edit:a,fullEdit:l},content:{updateItem:n}}}r.d(t,["mm",0,d])},78553(e,t,r){r.d(t,{D:()=>a,p:()=>s});var i=r(56507);function s(e){const t=(0,i.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function a(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,8626],{61691(t,e,s){s.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,s){s.d(e,{S:()=>n});var r=s(61691);class n extends r.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}}},87992(t,e,s){s.d(e,{JR:()=>O,ME:()=>M,MY:()=>S,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>Y,e6:()=>V,gh:()=>E,tr:()=>w,uX:()=>x});var r=s(32198),n=s(16930),i=s(19419),a=s(60408),o=s(21325),h=s(513),u=s(50954),l=s(79567),g=s(52006),c=s(49663),m=s(46068),f=s(92722);class x{constructor({type:t,spatialReference:e,vertexCount:s,vertexXY:r,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:g,segmentCountArc:c,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=s,this.vertexXY=r,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=g,this.segmentCountArc=c,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:s}=this;return t&&t-e-s}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:s,hasZ:r,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=Z(t,e,s,r,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,s+1)),o.partOffsets.set(t.subarray(0,s+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:s,segmentParams:r,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(s.subarray(0,e),0),o.segmentParams.set(r.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.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 s=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,s)=>Math.abs(t-s)>e||isNaN(t)!==isNaN(s);for(let e=0;e<this.vertexCount;++e)if(s(this.vertexXY[2*e],t.vertexXY[2*e])||s(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(s(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(s(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(s(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new v(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class v{constructor(t){this.geometry=t,this.index=-1,this._readVertex=F(t),this._segments=new d(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 d{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new y(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 y{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=F(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 s=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[s++],r=e[s++],n=e[s++],i=e[s++];return{b:[this.end,[t,r],[n,i]]}}const r=e[s++],n=e[s++],i=e[s++],a=e[s++],o=e[s++],h=e[s++];s++,s++;const u=e[s++],l=e[s++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[u,l]]};const g=2&r?0:1,c=1&r?0:1;return{a:[this.end,[o,h],g,c,a,n,i]}}}function C(t,e){const s={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(s,new P(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:s,vertexXY:n,vertexZ:a,vertexM:o}=t,h=A(t);if(t.hasCurves()){const s={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(s,new P(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:s}of e.segments)(0,l.e)(n,t,s),t=(0,g.yP)(s)}const[a,o,u,c]=n;e={xmin:a,ymin:o,xmax:u,ymax:c,spatialReference:h}}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}else{let t,r,i,a;t=r=1/0,i=a=-1/0;for(let e=0;e<s;++e){const s=n[2*e],o=n[2*e+1];t=Math.min(t,s),i=Math.max(i,s),r=Math.min(r,o),a=Math.max(a,o)}e={xmin:t,ymin:r,xmax:i,ymax:a,spatialReference:h}}if(a){let t=1/0,s=-1/0;for(const e of a)t=Math.min(t,e),s=Math.max(s,e);e.zmin=t,e.zmax=s}if(o){let t=1/0,s=-1/0;for(const e of o)t=Math.min(t,e),s=Math.max(s,e);e.mmin=t,e.mmax=s}return e}(t)),e}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}function M(t){let e,s,r;if((0,a.fT)(t)){r="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),s=[[h]],e=1}else(0,a.U9)(t)?(r="multipoint",s=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",s=t.curvePaths??t.paths,e=s.reduce((t,e)=>t+e.length,0)):(r="polygon",s=t.curveRings??t.rings,e=s.reduce((t,e)=>(0===e.length||(t+=e.length,R(e[0],(0,g.yP)(e.at(-1)))&&--t),t),0));const n=Z(r,e,r.includes("point")?0:s.length,(0,a.Pv)(t),(0,a.W0)(t),(0,g.Ed)(t)),{hasZ:i,hasM:o,vertexXY:h,vertexZ:u,vertexM:l}=n;function c(t){h[2*f]=t[0],h[2*f+1]=t[1],i&&(u[f]=t[2]),o&&(l[f]=t[m]),++f}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of s[0])h[2*f]=t,h[2*f+1]=e,++f;return n}for(const t of s[0])c(t);return n}const x="polygon"===r,{partOffsets:p}=n;let v=0;if(!(0,g.Ed)(t)){for(const t of s){if(p[v++]=f,0===t.length)continue;let e=t.length;if(x&&R(t[0],t.at(-1))&&--e,i||o)for(let s=0;s<e;++s)c(t[s]);else for(let s=0;s<e;++s){const[e,r]=t[s];h[2*f]=e,h[2*f+1]=r,++f}}return p[v]=f,n}function d(t){const e=y+t;if(e<=(n.segmentParams?.length??0))return;let s=e*X;s=20*Math.ceil(s/20);const r=n.segmentParams;n.segmentParams=new Float64Array(s),null!=r&&n.segmentParams.set(r)}let y=0;for(const t of s){if(n.partOffsets[v++]=f,0===t.length)continue;const e=t[0];let s=e;for(let e=1;e<t.length;++e){const r=t[e];c(s);const i=f-1;(0,g.wY)(r)?(d(10),++n.segmentCountArc,y=Y(s,r,n,i,y),s=r.a[0]):(0,g.DA)(r)?(d(10),++n.segmentCountArc,y=b(s,r,n,i,y),s=r.a[0]):(0,g.aO)(r)?(d(10),++n.segmentCountArc,y=V(s,r,n,i,y),s=r.c[0]):(0,g.n1)(r)?(d(4),++n.segmentCountBezier,y=w(0,r,n,i,y),s=r.b[0]):s=r}x&&R(e,s)||c(s)}return n.partOffsets[v]=f,n}function E(t){const e=F(t),{vertexCount:s,partCount:r,hasZ:n,hasM:i}=t,a=A(t);if("point"===t.type){const[e,s]=t.vertexXY,r=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:s,z:r,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<s;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const s=new Array;for(let n=0;n<r;++n){const r=t.partOffsets[n+1],i=new Array;for(;o<r;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),s.push(i)}return h?{rings:s,hasZ:n,hasM:i,spatialReference:a}:{paths:s,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:s}of t.parts){const t=[s];for(const{curve:s}of e)t.push(s);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function _(t,{lengths:e,coords:s,hasZ:r,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);r??=!1,n??=!1;const u=Z(t,h,a,r,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]=s[e++],u.vertexXY[2*t+1]=s[e++],r&&(u.vertexZ[t]=s[e++]),n&&(u.vertexM[t]=s[e++]);return u}const l=2+Number(r)+Number(n);let g=0,c=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[c],i=e+t-Number(o);u.partOffsets[++c]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=s[g++],u.vertexXY[2*t+1]=s[g++],r&&(u.vertexZ[t]=s[g++]),n&&(u.vertexM[t]=s[g++]);o&&(g+=l)}return u}function O({type:t,vertexCount:e,vertexXY:s,vertexZ:r,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new f.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let g=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,c=u.coords.length;for(let t=g;t<i;++t)u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t]);if(l){const t=g;u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-c)/u.stride),g=i}return"point"===t&&(u.lengths.length=0),u}function S(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,s=t.isCustomWkid()?0:t.getOldID();if(s<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===s)&&(r=void 0);const n=t.getVCS();if(null==n)return{wkid:s,latestWkid:r,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:s,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class P{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const s of e)t[s]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function A({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function F({vertexXY:t,vertexZ:e,vertexM:s}){return e?s?r=>[t[2*r],t[2*r+1],e[r],s[r]]:s=>[t[2*s],t[2*s+1],e[s]]:s?e=>[t[2*e],t[2*e+1],s[e]]:e=>[t[2*e],t[2*e+1]]}function R(t,e){return t.every((t,s)=>t===e[s])}function Z(t,e,s,r,n,i,a,o){a??=0,o??=0;const h=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:s,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(s+1)*Int32Array.BYTES_PER_ELEMENT,u+=(s+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 l=new ArrayBuffer(u);let g=0;return h.vertexXY=new Float64Array(l,g,2*e),g+=h.vertexXY.byteLength,r&&(h.vertexZ=new Float64Array(l,g,e),g+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,g,e),g+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,g,h.segmentParamCount),g+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,g,e),h.segmentIndices.fill(k),g+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,g,s+1),g+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,g,s+1),g+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,s).fill(1)),i&&(h.segmentFlags=new Int8Array(l,g,e),h.segmentFlags.fill(1),g+=h.segmentFlags.byteLength),h}function Y(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const[o,[h,u],l,g,c,f,x]=e.a;let p=4;g||(p|=1),l||(p|=2);const v=(0,m.SW)(t,e),[d,y]=(0,m.Uk)(v,.5);return n[a++]=p,n[a++]=f,n[a++]=x,n[a++]=c,n[a++]=h,n[a++]=u,n[a++]=v.u2-v.u1,n[a++]=v.u1,n[a++]=d,n[a++]=y,a}function b(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const o=(0,c.io)(t,e);return I(o,4,...(0,h.mq)(o,.5),n,a)}function V(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){return s[i]=4,r[i]=a,I((0,u.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,s,r,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=s,n[i++]=r,i}function w(t,{b:[e,[s,r],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=s,h[l++]=r,h[l++]=n,h[l++]=i,l}const X=1.61803,k=-1},91421(t,e,s){s.d(e,{execute:()=>r.e}),s(54945),s(78125);var r=s(5913)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4674],{18768(t,e,r){var s=r(32198),o=r(53966),i=r(91429),n=r(60694);r.d(e,["b",0,t=>{const e=t;let r=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const t=(0,n.qg)(this.url);if(t?.title)return t.title}return this._get("title")||""}set title(t){this._set("title",t)}set url(t){this._set("url",(0,n.Jf)(t,o.A.getLogger(this)))}};return(0,s.Cg)([(0,i.MZ)()],r.prototype,"title",null),(0,s.Cg)([(0,i.MZ)({type:String})],r.prototype,"url",null),r=(0,s.Cg)([(0,i.$K)("esri.layers.mixins.ArcGISService")],r),r}])},69208(t,e,r){var s=r(32198),o=r(91429);r.d(e,["d",0,t=>{const e=t;let r=class extends e{constructor(){super(...arguments),this.customParameters=null}};return(0,s.Cg)([(0,o.MZ)({type:Object,json:{write:{overridePolicy:t=>({enabled:!!(t&&Object.keys(t).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,s.Cg)([(0,o.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}])},8303(t,e,r){var s=r(32198),o=r(92602),i=r(70333),n=r(11254),a=r(60999),u=r(49186),p=r(36563),l=r(53966),d=r(97768),c=r(17676),y=r(84952),m=r(91429),f=r(77548),g=r(20655),h=r(80812),v=r(41318),C=r(10407),A=r(36005),I=r(43937);const w={credential:null,user:null};r.d(e,["A",0,t=>{const e=t;let P=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,d.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(t){t!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",t))}readPortalItem(t,e,r){if(e.itemId)return new h.default({id:e.itemId,portal:r?.portal})}writePortalItem(t,e){t?.id&&(e.itemId=t.id)}async loadFromPortal(t,e){if(this.portalItem?.id)try{const{load:s}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(e),await s({instance:this,supportedTypes:t.supportedTypes,validateItem:t.validateItem,supportsData:t.supportsData,layerModuleTypeMap:t.layerModuleTypeMap,populateGroupLayer:t.populateGroupLayer},e)}catch(t){throw(0,c.zf)(t)||l.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${t}`),t}}async reloadFromPortal(t){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:e}=await r.e(1204).then(r.bind(r,41204)),s=new AbortController,o=(0,p.rE)(s);return this.addHandles(o,"reloadFromPortal"),await e({instance:this,supportedTypes:t.supportedTypes,validateItem:t.validateItem,supportsData:t.supportsData,layerModuleTypeMap:t.layerModuleTypeMap,populateGroupLayer:t.populateGroupLayer},{signal:s.signal})}catch(t){throw(0,c.zf)(t)||l.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${t}`),t}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(t){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(t).catch(t=>((0,c.QP)(t),!0)))}async setUserPrivileges(t,e){if(!o.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(e);if(this.url)try{const{features:{edit:r,fullEdit:s},content:{updateItem:o}}=await this._fetchUserPrivileges(t,e);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",s),this._set("userHasUpdateItemPrivileges",o)}catch(t){(0,c.QP)(t)}}async _fetchUserPrivileges(t,e){let r=this.portalItem;if(!t||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(e);const s=!i.id?.findCredential(this.url),o=t===r.id;if(o&&r.portal.user)return this._getUserPrivileges(r,s);let n,a;if(o)n=r.portal.url;else try{n=await(0,f.wI)(this.url,e)}catch(t){(0,c.QP)(t)}if(!n||!(0,y.b8)(n,r.portal.url))return this._fetchFallbackUserPrivileges(e);try{const t=null!=e?e.signal:null;a=await(i.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:t}))}catch(t){(0,c.QP)(t)}const u=!0,p=!1,l=!1;if(!a)return{features:{edit:u,fullEdit:p},content:{updateItem:l}};try{if(o?await r.reload():(r=new h.default({id:t,portal:{url:n}}),await r.load(e)),r.portal.user)return this._getUserPrivileges(r,s)}catch(t){(0,c.QP)(t)}return{features:{edit:u,fullEdit:p},content:{updateItem:l}}}_getUserPrivileges(t,e){const r=(0,C.It)(t);return e&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(t){let e=!0;try{e=await this._fetchUserHasEditingPrivileges(t)}catch(t){(0,c.QP)(t)}return{features:{edit:e,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(t){const e=this.url?i.id?.findCredential(this.url):null;if(!e)return!0;const r=w.credential===e?w.user:await this._fetchEditingUser(t);return w.credential=e,w.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(t){const e=this.portalItem?.portal?.user;if(e)return e;const r=i.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const s=`${r.owningSystemUrl}/sharing/rest`,o=g.A.getDefault();if(o&&o.loaded&&(0,y.S8)(o.restUrl)===(0,y.S8)(s))return o.user;const u=`${s}/community/self`,p=null!=t?t.signal:null,l=await(0,a.Ke)((0,n.A)(u,{authMode:"no-prompt",query:{f:"json"},signal:p}));return l.ok?v.A.fromJSON(l.value.data):null}read(t,e){e&&(e.layer=this),super.read(t,e)}write(t,e){const r=e?.portal,s=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&s&&!(0,y.ut)(s.restUrl,r.restUrl)?(e.messages&&e.messages.push(new u.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(t,{...e,layer:this})}};return(0,s.Cg)([(0,m.MZ)({type:h.default})],P.prototype,"portalItem",null),(0,s.Cg)([(0,A.w)("web-document","portalItem",["itemId"])],P.prototype,"readPortalItem",null),(0,s.Cg)([(0,I.K)("web-document","portalItem",{itemId:{type:String}})],P.prototype,"writePortalItem",null),(0,s.Cg)([(0,m.MZ)({clonable:!1})],P.prototype,"resourceReferences",void 0),(0,s.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasEditingPrivileges",void 0),(0,s.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasFullEditingPrivileges",void 0),(0,s.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasUpdateItemPrivileges",void 0),P=(0,s.Cg)([(0,m.$K)("esri.layers.mixins.PortalLayer")],P),P}])},20557(t,e,r){r.d(e,{Fm:()=>u,Hz:()=>g,JQ:()=>f,JZ:()=>E,ND:()=>v,R_:()=>n,U9:()=>m,_h:()=>A,be:()=>d,fE:()=>y,fu:()=>o,nr:()=>h,oF:()=>i,qv:()=>S,rP:()=>c,rq:()=>p,z$:()=>l});const s=[["binary","application/octet-stream","bin",""]];function o(t,e){return null!=I(e.name,t?.supportedFormats??[])}function i(t,e){if(!t)return!1;const r=p(e,t.supportedFormats??[]);return null!=r&&t.editFormats.includes(r)}function n(t,e){return w(function(t,e){const r=t.toLowerCase();return C(e).find(t=>P(t)===r)}(t,e))}function a(t,e){return w(I(t,e))}function u(t,e){return P(A(t,e))}function p(t,e){return a(t.name,e)??n(t.type,e)}function l(t,e,r){return n(t,r)??a(e,r)}function d(t,e){if(!t||!A(t,e))return;const r=/^3d_(.+)$/iu.exec(t)?.[1]?.toLowerCase();return r||void 0}function c(t,e){return(t??[]).map(t=>d(t,e)).filter(t=>!!t)}function y(t,e){return w(e.find(r=>d(w(r),e)===t))}function m({supportedFormats:t}){return l("model/gltf-binary","glb",t)}function f(t){const e=m(t);return null!=e&&t.editFormats.includes(e)}function g(t){if(!t)return null;const e=m(t),r=function({supportedFormats:t}){return l("model/gltf+json","gltf",t)}(t);let s=null;for(const o of t.queryFormats){if(o===e)return o;o===r&&(s=o)}return s}function h({supportedFormats:t}){return l("application/esri3do-SR_world","wld",t)}function v({supportedFormats:t}){return l("application/esri3do-SR_prj","prj",t)}function C(t){return[...s,...t]}function A(t,e){return C(e).find(e=>w(e)===t)}function I(t,e){const r=t.toLowerCase();return C(e).find(t=>S(t).some(t=>r.endsWith(t)))}function w(t){return t?.[0]}function P(t){return t?.[1].toLowerCase()}function S(t){return t?.[2].split(",").map(t=>t.toLowerCase())??[]}function E(t){return t.tables?.find(t=>"assetMaps"===t.role)}},6666(t,e,r){r.d(e,{S$:()=>h,dw:()=>b});var s=r(4576),o=r(44208),i=r(50498),n=r(60694),a=r(20557);function u(t,e,r){return!!l(t,e,r)}function p(t,e,r){return l(t,e,r)}function l(t,e,r){return t&&t.hasOwnProperty(e)?t[e]:r}r(39516),r(30524),new WeakMap;const d={name:"supportsName",size:"supportsSize",contentType:"supportsContentType",keywords:"supportsKeywords",exifInfo:"supportsExifInfo"},c=["cubic-bezier","circular-arc","elliptic-arc"];function y(t){const e=t?.supportedSpatialAggregationStatistics?.map(t=>t.toLowerCase());return{envelope:!!e?.includes("envelopeaggregate"),centroid:!!e?.includes("centroidaggregate"),convexHull:!!e?.includes("convexhullaggregate")}}function m(t,e){const r=t?.supportedOperationsWithCacheHint?.map(t=>t.toLowerCase());return!!r?.includes(e.toLowerCase())}function f(t){const e=t?.supportedStatisticTypes?.map(t=>t.toLowerCase());return{count:!!e?.includes("count"),sum:!!e?.includes("sum"),min:!!e?.includes("min"),max:!!e?.includes("max"),avg:!!e?.includes("avg"),var:!!e?.includes("var"),stddev:!!e?.includes("stddev"),percentileContinuous:!!e?.includes("percentile_cont"),percentileDiscrete:!!e?.includes("percentile_disc"),envelope:!!e?.includes("envelopeaggregate"),centroid:!!e?.includes("centroidaggregate"),convexHull:!!e?.includes("convexhullaggregate")}}function g(t){const e=t?.supportedNormalizationTypes?.map(t=>t.toLowerCase());return{field:!!e?.includes("field"),log:!!e?.includes("log"),naturalLog:!!e?.includes("naturallog"),percentOfTotal:!!e?.includes("percentoftotal"),squareRoot:!!e?.includes("squareroot")}}function h(t,e){return{analytics:v(t),attachment:C(t),data:A(t),metadata:I(t),operations:w(t.capabilities,t,e),query:P(t,e),queryAttributeBins:T(t),queryRelated:S(t),queryTopFeatures:E(t),editing:R(t)}}function v(t){return{supportsCacheHint:m(t.advancedQueryCapabilities,"queryAnalytics")}}function C(t){const e=t.attachmentProperties,r={supportsName:!1,supportsSize:!1,supportsContentType:!1,supportsKeywords:!1,supportsExifInfo:!1,supportsCacheHint:m(t.advancedQueryCapabilities,"queryAttachments"),supportsOrderByFields:u(t.advancedQueryCapabilities,"supportsQueryAttachmentOrderByFields",!1),supportsResize:u(t,"supportsAttachmentsResizing",!1),supportsTypeWildcard:u(t.advancedQueryCapabilities,"supportsQueryAttachmentWithTypeWildcard",!1),supportsCountOnly:u(t.advancedQueryCapabilities,"supportsQueryAttachmentsCountOnly",!1)};return e&&Array.isArray(e)&&e.forEach(t=>{const e=d[t.name];e&&(r[e]=!!t.isEnabled)}),r}function A(t){const e=u(t.advancedQueryCapabilities,"supportsTrueCurve",!1),r=t.infoFor3D,s=r?.supportedFormats??[];return{isVersioned:u(t,"isDataVersioned",!1),isBranchVersioned:u(t,"isDataBranchVersioned",!1),queryFormats:r?(0,a.rP)(r.queryFormats,s):void 0,sourceFormats:r?(0,a.rP)(r.editFormats,s):void 0,supportsAttachment:u(t,"hasAttachments",!1),supportsM:u(t,"hasM",!1),supportsTrueCurve:e,supportedCurveTypes:F(t,e),supportsZ:u(t,"hasZ",!1)}}function I(t){return{supportsAdvancedFieldProperties:u(t,"supportsFieldDescriptionProperty",!1)}}function w(t,e,r){const s=(0,n.Wo)(r),o=t?.toLowerCase().split(",").map(t=>t.trim())??[],i=r?(0,n.qg)(r):null,a=o.includes("MapServer"===i?.serverType?"data":"query"),p=o.includes("editing")&&!e.datesInUnknownTimezone&&!(null!=r&&!0===e.uniqueIdInfo?.OIDFieldContainsHashValue);let l=p&&o.includes("create"),d=p&&o.includes("delete"),c=p&&o.includes("update");const y=o.includes("changetracking"),m=e.advancedQueryCapabilities;let f=u(e,"supportsExceedsLimitStatistics",!1);return s||u(m,"supportsUseEstimateForExceedsLimit",!1)||(f=!1),p&&!(l||d||c)&&(l=d=c=!0),{supportsCalculate:u(e,"supportsCalculate",!1),supportsTruncate:u(e,"supportsTruncate",!1),supportsValidateSql:u(e,"supportsValidateSql",!1),supportsAdd:l,supportsDelete:d,supportsEditing:p,supportsChangeTracking:y,supportsQuery:a,supportsQueryAnalytics:u(m,"supportsQueryAnalytic",!1),supportsQueryAttachments:u(m,"supportsQueryAttachments",!1),supportsQueryBins:u(m,"supportsQueryBins",!1)||!!e.queryBinsCapabilities,supportsQueryPivot:u(m,"supportsQueryPivot",!1),supportsQueryTopFeatures:u(m,"supportsTopFeaturesQuery",!1),supportsResizeAttachments:u(e,"supportsAttachmentsResizing",!1),supportsSync:o.includes("sync"),supportsUpdate:c,supportsExceedsLimitStatistics:f,supportsAsyncConvert3D:u(e,"supportsAsyncConvert3D",!1)}}function P(t,e){const r=t.advancedQueryCapabilities,s=t.ownershipBasedAccessControlForFeatures,i=t.archivingInfo,l=t.currentVersion,d=function(t,e){if(!t||!(0,o.A)("featurelayer-relative-time-queries-enabled"))return 0;const r=(0,n.uV)(t);return(0,n.Wo)(t)||r?(e??0)>0||r?(0,o.A)("featurelayer-relative-time-queries-bin-window-public")??1:(0,o.A)("featurelayer-relative-time-queries-bin-window-private")??60:0}(e,t.cacheMaxAge),c=e?.includes("MapServer"),f=!c||l>=(0,o.A)("mapserver-pbf-version-support"),g=(0,n.Wo)(e),h=new Set((t.supportedQueryFormats??"").split(",").map(t=>t.toLowerCase().trim())),v=f&&function(t){return!!(0,o.A)("featurelayer-pbf-true-curves")&&(t.supportedTrueCurvePbfFeatureEncodings??[]).includes("esriDefault")}(t);return{maxRecordCount:p(t,"maxRecordCount",void 0),maxRecordCountFactor:p(t,"maxRecordCountFactor",void 0),maxUniqueIDCount:p(t,"maxUniqueIDCount",void 0),relativeTimeBinWindow:d,standardMaxRecordCount:p(t,"standardMaxRecordCount",void 0),standardMaxRecordCountNoGeometry:p(t,"standardMaxRecordCountNoGeometry",void 0),supportedSpatialAggregationStatistics:y(r),supportsStatisticsAggregatedIds:u(t,"supportsAggIds",!1),supportsCacheHint:u(r,"supportsQueryWithCacheHint",!1)||m(r,"query"),supportsCentroid:u(r,"supportsReturningGeometryCentroid",!1),supportsCentroidOnDegeneratedQuantizedGeometry:g||null==e,supportsCompactGeometry:g,supportsCurrentUser:u(r,"supportsCurrentUserQueries",!1),supportsDefaultSpatialReference:u(r,"supportsDefaultSR",!1),supportsDegeneratedQuantizedGeometry:u(r,"supportsDegeneratedQuantizedGeometry",!1),supportsDisjointSpatialRelationship:u(r,"supportsDisjointSpatialRel",!1),supportsDistance:u(r,"supportsQueryWithDistance",!1),supportsOutDistance:u(r,"supportsOutDistance",!1),supportsDistinct:u(r,"supportsDistinct",t.supportsAdvancedQueries),supportsExtent:u(r,"supportsReturningQueryExtent",!1),supportsFormatPBF:f&&h.has("pbf"),supportsFormatPBFWithCurves:v,supportsFullTextSearch:u(r,"supportsFullTextSearch",!1),supportsGeometryProperties:u(r,"supportsReturningGeometryProperties",!1),supportsHavingClause:u(r,"supportsHavingClause",!1),supportsHistoricMoment:u(i,"supportsQueryWithHistoricMoment",!1),supportsMaxRecordCountFactor:u(r,"supportsMaxRecordCountFactor",!1),supportsOrderBy:u(r,"supportsOrderBy",t.supportsAdvancedQueries),supportsPagination:u(r,"supportsPagination",!1),supportsPaginationOnAggregatedQueries:u(r,"supportsPaginationOnAggregatedQueries",!1),supportsPercentileStatistics:u(r,"supportsPercentileStatistics",!1),supportsQuantization:u(t,"supportsCoordinatesQuantization",!1),supportsQuantizationEditMode:u(t,"supportsQuantizationEditMode",!1),supportsQueryByAnonymous:u(s,"allowAnonymousToQuery",!0),supportsQueryByOthers:u(s,"allowOthersToQuery",!0),supportsQueryGeometry:u(t,"supportsReturningQueryGeometry",!1),supportsResultType:u(r,"supportsQueryWithResultType",!1),supportsReturnMesh:!!(0,a.Hz)(t.infoFor3D),supportsReturnExceededLimitGeometries:u(t,"supportsReturnExceededLimitGeometries",!1),supportsSpatialAggregationStatistics:u(r,"supportsSpatialAggregationStatistics",!1),supportsSqlExpression:u(r,"supportsSqlExpression",!1),supportsStandardizedQueriesOnly:u(t,"useStandardizedQueries",!1),supportsStatistics:u(r,"supportsStatistics",t.supportsStatistics),supportsTopFeaturesQuery:u(r,"supportsTopFeaturesQuery",!1),supportsTrueCurve:u(r,"supportsTrueCurve",!1),tileMaxRecordCount:p(t,"tileMaxRecordCount",void 0)}}function S(t){const e=t.advancedQueryCapabilities,r=u(e,"supportsAdvancedQueryRelated",!1);return{supportsPagination:u(e,"supportsQueryRelatedPagination",!1),supportsCount:r,supportsOrderBy:r,supportsCacheHint:m(e,"queryRelated")}}function E(t){return{supportsCacheHint:m(t.advancedQueryCapabilities,"queryTopFilter")}}function T(t){const e=t?t.queryBinsCapabilities:void 0;return{supportsDate:u(e,"supportsDateBin",!1),supportsFixedInterval:u(e,"supportsFixedIntervalBin",!1),supportsAutoInterval:u(e,"supportsAutoIntervalBin",!1),supportsFixedBoundaries:u(e,"supportsFixedBoundariesBin",!1),supportsStackBy:u(e,"supportsStackBy",!1),supportsSplitBy:u(e,"supportsSplitBy",!1),supportsSnapToData:u(e,"supportsSnapToData",!1),supportsReturnFullIntervalBin:u(e,"supportsReturnFullIntervalBin",!1),supportsFirstDayOfWeek:u(e,"supportsFirstDayOfWeek",!1),supportsNormalization:u(e,"supportsNormalization",!1),supportedStatistics:f(e),supportedNormalizationTypes:g(e)}}function R(t){const e=t.ownershipBasedAccessControlForFeatures,r=t?t.advancedEditingCapabilities:void 0;return{supportsGeometryUpdate:u(t,"allowGeometryUpdates",!0),supportsGlobalId:u(t,"supportsApplyEditsWithGlobalIds",!1),supportsReturnServiceEditsInSourceSpatialReference:u(t,"supportsReturnServiceEditsInSourceSR",!1),supportsRollbackOnFailure:u(t,"supportsRollbackOnFailureParameter",!1),supportsTrueCurveUpdate:u(t,"allowTrueCurvesUpdates",!0),supportsTrueCurveUpdateByTrueCurveClientsOnly:u(t,"onlyAllowTrueCurveUpdatesByTrueCurveClients",!0),supportsUpdateWithoutM:u(t,"allowUpdateWithoutMValues",!1),supportsUploadWithItemId:u(t,"supportsAttachmentsByUploadId",!1),supportsDeleteByAnonymous:u(e,"allowAnonymousToDelete",!0),supportsDeleteByOthers:u(e,"allowOthersToDelete",!0),supportsUpdateByAnonymous:u(e,"allowAnonymousToUpdate",!0),supportsUpdateByOthers:u(e,"allowOthersToUpdate",!0),supportsAsyncApplyEdits:u(r,"supportsAsyncApplyEdits",!1),zDefault:p(t,"zDefault",void 0)}}function F(t,e){const r=t.supportedCurveTypes??t.advancedQueryCapabilities?.supportedCurveTypes;return Array.isArray(r)?r.map(t=>i.iI.fromJSON(t)).filter(s.Ru):e?c:[]}function b(t){return{operations:{supportsAppend:u(t,"supportsAppend",!1),supportsCoverageQuery:t?.playbackInfo?.klv["0601"]??!1,supportsExportClip:u(t,"supportsExportClip",!1),supportsExportFrameset:u(t,"supportsExportFrameset",!1),supportsMensuration:u(t,"supportsMensuration",!1),supportsPreviews:u(t,"supportsPreviews",!1),supportsUpdate:u(t,"supportsUpdate",!1)}}}},10407(t,e,r){r.d(e,{It:()=>y,LG:()=>n,OM:()=>p,Sm:()=>l,Y:()=>a,bK:()=>u,sQ:()=>d});var s=r(99917),o=r(16930),i=r(28735);function n(t,e){if(!a(t,e)){const r=t.typeKeywords;r?r.push(e):t.typeKeywords=[e]}}function a(t,e){return!!t.typeKeywords?.includes(e)}function u(t){return a(t,c.HOSTED_SERVICE)}function p(t,e){const r=t.typeKeywords;if(r){const t=r.indexOf(e);t>-1&&r.splice(t,1)}}function l(t,e,r){r?n(t,e):p(t,e)}async function d(t){const e=t.clone().normalize();let r;if(e.length>1)for(const t of e)r?t.width>r.width&&(r=t):r=t;else r=e[0];return async function(t){const e=t.spatialReference;if(e.isWGS84)return t.clone();if(e.isWebMercator)return(0,i.ci)(t);const r=o.A.WGS84;return await(0,s.initializeProjection)(e,r),(0,s.project)(t,r)}(r)}const c={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function y(t){const{portal:e,isOrgItem:r,itemControl:s}=t,o=e.user?.privileges;let i=!o||o.includes("features:user:edit"),n=!!r&&!!o?.includes("features:user:fullEdit");const a="update"===s||"admin"===s;return a?n=i=!0:n&&(i=!0),{features:{edit:i,fullEdit:n},content:{updateItem:a}}}r.d(e,["mm",0,c])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1948,7992,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},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:()=>o,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+=a(t[r],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return o(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+=a(t[s]);return r}(t);let e=u;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(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 o(...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:()=>V,ME:()=>C,MY:()=>Z,NO:()=>M,Nh:()=>P,V2:()=>S,_s:()=>_,e6:()=>b,gh:()=>E,tr:()=>F,uX:()=>p});var s=r(32198),n=r(16930),i=r(19419),a=r(60408),o=r(21325),h=r(513),u=r(50954),c=r(79567),l=r(52006),f=r(49663),g=r(46068),m=r(92722);class p{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){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=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}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:a}=this,o=S(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:c}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.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 x(this):[][Symbol.iterator]()}}class x{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=O(t),this._segments=new d(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 d{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=O(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++],a=e[r++],o=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,f=1&s?0:1;return{a:[this.end,[o,h],l,f,a,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 w(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,h=A(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new w(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[a,o,u,f]=n;e={xmin:a,ymin:o,xmax:u,ymax:f,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}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.zmin=t,e.zmax=r}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.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,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.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,R(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const n=S(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:h,vertexZ:u,vertexM:c}=n;function f(t){h[2*m]=t[0],h[2*m+1]=t[1],i&&(u[m]=t[2]),o&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!o){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])f(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,l.Ed)(t)){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&R(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)f(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 x[y]=m,n}function d(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[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];f(r);const i=m-1;(0,l.wY)(s)?(d(10),++n.segmentCountArc,v=_(r,s,n,i,v),r=s.a[0]):(0,l.DA)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,l.aO)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.c[0]):(0,l.n1)(s)?(d(4),++n.segmentCountBezier,v=F(0,s,n,i,v),r=s.b[0]):r=s}p&&R(e,r)||f(r)}return n.partOffsets[y]=m,n}function E(t){const e=O(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=A(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:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,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(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}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:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function P(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=S(t,h,a,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,f=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[f],i=e+t-Number(o);u.partOffsets[++f]=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++]);o&&(l+=c)}return u}function V({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new m.A([],[],o,h);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=u.coords.length;for(let t=l;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&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]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-f)/u.stride),l=i}return"point"===t&&(u.lengths.length=0),u}function Z(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 a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class w{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 A({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function O({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 R(t,e){return t.every((t,r)=>t===e[r])}function S(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new p({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:a,segmentCountBezier:o});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(G),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 _(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],c,l,f,m,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return n[a++]=x,n[a++]=m,n[a++]=p,n[a++]=f,n[a++]=h,n[a++]=u,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,f.io)(t,e);return I(o,4,...(0,h.mq)(o,.5),n,a)}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,u.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,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++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function F(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,c){return a[u]=2,o[u]=c,h[c++]=r,h[c++]=s,h[c++]=n,h[c++]=i,c}const X=1.61803,G=-1},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>w,toPolygon:()=>A,toPolyline:()=>O});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),h=r(48526),u=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,h=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[h]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return w(t,e);case n.G.enumEnvelope:return V(t,e);case n.G.enumMultiPoint:return Z(t,e);case n.G.enumPolyline:return O(t,e);case n.G.enumPolygon:return A(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function Z(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const u=new h.A({hasM:s,hasZ:n,points:a,spatialReference:e});return u.setCacheValue(g,t),u}function w(t,e){if(t instanceof s.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function A(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function O(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},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,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}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 a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],h=this.coords[r+1];t+=-.5*(o-n)*(h+i),n=o,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)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9692],{87367(n,t,e){e.r(t),e.d(t,{registerFunctions:()=>C});var r=e(47609),o=e(67862),a=e(66395),i=e(85935),s=e(78502),l=e(78878),u=e(80672),c=e(98919),f=e(71163),d=e(4576),h=e(5443),m=e(91075),y=e(48526),w=e(86738),g=e(39829),S=e(82799),A=e(65864),N=e(70333),v=e(11254);async function D(n,t,e){const r=N.id?.findCredential(n.restUrl);if(!r)return null;if("loaded"===n.loadStatus&&""===t&&n.user?.sourceJSON&&!1===e)return n.user.sourceJSON;const o={responseType:"json",query:{f:"json"}};if(e&&(o.query.returnUserLicenseTypeExtensions=!0),""===t){const t=await(0,v.A)(n.restUrl+"/community/self",o);if(t.data){const n=t.data;if(n?.username)return n}return null}const a=await(0,v.A)(n.restUrl+"/community/users/"+t,o);if(a.data){const n=a.data;return n.error?null:n}return null}var O=e(54218);function J(n){if(null==n)return n;switch(typeof n){case"string":case"number":return n;default:throw new i.D$("InvalidParameter",null)}}function C(n){"async"===n.mode&&(n.functions.disjoint=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null===r[0]||null===r[1]||(0,f.C)("disjoint",[r[0].toJSON(),r[1].toJSON()])))},n.functions.intersects=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null!==r[0]&&null!==r[1]&&(0,f.C)("intersects",[r[0].toJSON(),r[1].toJSON()])))},n.functions.touches=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null!==r[0]&&null!==r[1]&&(0,f.C)("touches",[r[0].toJSON(),r[1].toJSON()])))},n.functions.crosses=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null!==r[0]&&null!==r[1]&&(0,f.C)("crosses",[r[0].toJSON(),r[1].toJSON()])))},n.functions.within=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null!==r[0]&&null!==r[1]&&(0,f.C)("within",[r[0].toJSON(),r[1].toJSON()])))},n.functions.contains=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null!==r[0]&&null!==r[1]&&(0,f.C)("contains",[r[0].toJSON(),r[1].toJSON()])))},n.functions.overlaps=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null!==r[0]&&null!==r[1]&&(0,f.C)("overlaps",[r[0].toJSON(),r[1].toJSON()])))},n.functions.equals=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>((0,l.E)(r,2,2,e),r[0]===r[1]||(r[0]instanceof m.A&&r[1]instanceof m.A?(0,f.C)("equals",[r[0].toJSON(),r[1].toJSON()]):((0,l.e)(r[0])&&(0,l.e)(r[1])||!!((0,l.r)(r[0])&&(0,l.r)(r[1])||(0,l.q)(r[0])&&(0,l.q)(r[1])))&&r[0].equals(r[1]))))},n.functions.relate=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,3,3,e),r[0]instanceof m.A&&r[1]instanceof m.A)return(0,f.C)("relate",[r[0].toJSON(),r[1].toJSON(),(0,l.w)(r[2])]);if(r[0]instanceof m.A&&null===r[1])return!1;if(r[1]instanceof m.A&&null===r[0])return!1;if(null===r[0]&&null===r[1])return!1;throw new i.D$("InvalidParameter",e)})},n.functions.intersection=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null===r[0]||null===r[1]?null:(0,A.rS)(await(0,f.C)("intersection",[r[0].toJSON(),r[1].toJSON()]))))},n.functions.union=function(t,e){return n.standardFunctionAsync(t,e,async(n,r,o)=>{if(0===(o=(0,l.H)(o)).length)throw new i.D$("WrongNumberOfParameters",e);const a=[];if(1===o.length)if((0,O.cy)(o[0])){for(const n of(0,l.H)(o[0]))if(null!==n){if(!(n instanceof m.A))throw new i.D$("InvalidParameter",e);a.push(n.toJSON())}}else{if(!(0,l.g)(o[0])){if(o[0]instanceof m.A)return(0,l.J)((0,s.Yq)(o[0]),t.spatialReference);if(null===o[0])return null;throw new i.D$("InvalidParameter",e)}for(const n of(0,l.H)(o[0].toArray()))if(null!==n){if(!(n instanceof m.A))throw new i.D$("InvalidParameter",e);a.push(n.toJSON())}}else for(const n of o)if(null!==n){if(!(n instanceof m.A))throw new i.D$("InvalidParameter",e);a.push(n.toJSON())}return 0===a.length?null:(0,A.rS)(await(0,f.C)("union",[a]))})},n.functions.difference=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null===r[0]?null:null===r[1]?(0,s.Yq)(r[0]):(0,A.rS)(await(0,f.C)("difference",[r[0].toJSON(),r[1].toJSON()]))))},n.functions.symmetricdifference=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>(r=(0,l.H)(r),(0,c.ZL)(r,e),null===r[0]&&null===r[1]?null:null===r[0]?(0,s.Yq)(r[1]):null===r[1]?(0,s.Yq)(r[0]):(0,A.rS)(await(0,f.C)("symmetricDifference",[r[0].toJSON(),r[1].toJSON()]))))},n.functions.clip=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,e),!(r[1]instanceof h.A)&&null!==r[1])throw new i.D$("InvalidParameter",e);if(null===r[0])return null;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);return null===r[1]?null:(0,A.rS)(await(0,f.C)("clip",[r[0].toJSON(),r[1].toJSON()]))})},n.functions.cut=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,e),!(r[1]instanceof S.A)&&null!==r[1])throw new i.D$("InvalidParameter",e);if(null===r[0])return[];if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);return null===r[1]?[(0,s.Yq)(r[0])]:(await(0,f.C)("cut",[r[0].toJSON(),r[1].toJSON()])).map(n=>(0,A.rS)(n))})},n.functions.area=function(t,e){return n.standardFunctionAsync(t,e,async(n,r,o)=>{if((0,l.E)(o,1,2,e),o=(0,l.H)(o),(0,l.k)(o[0])){const n=await o[0].sumArea(J(o[1]),null,t.abortSignal);if(t.abortSignal.aborted)throw new i.D$("Cancelled",e);return n}let a=o[0];if(((0,O.cy)(a)||(0,l.g)(a))&&(a=(0,l.K)(o[0],t.spatialReference)),null===a)return 0;if(!(a instanceof m.A))throw new i.D$("InvalidParameter",e);return(0,f.C)("area",[a.toJSON(),J(o[1])])})},n.functions.areageodetic=function(t,e){return n.standardFunctionAsync(t,e,async(n,r,o)=>{(0,l.E)(o,1,3,e);let a=(o=(0,l.H)(o))[0];((0,O.cy)(a)||(0,l.g)(a))&&(a=(0,l.K)(a,t.spatialReference));const s=J(o[1]),u=(0,c.rE)(o[2]);if((0,l.k)(a)){const n=await a.sumArea(s,u,t.abortSignal);if(t.abortSignal.aborted)throw new i.D$("Cancelled",e);return n}if(null==a)return 0;if(!(0,l.f)(a))throw new i.D$("InvalidParameter",e);return(0,f.C)("geodeticArea",[a.toJSON(),s,u])})},n.functions.length=function(t,e){return n.standardFunctionAsync(t,e,async(n,r,o)=>{if((0,l.E)(o,1,2,e),o=(0,l.H)(o),(0,l.k)(o[0])){const n=await o[0].sumLength(J(o[1]),null,t.abortSignal);if(t.abortSignal.aborted)throw new i.D$("Cancelled",e);return n}let a=o[0];if(((0,O.cy)(o[0])||(0,l.g)(o[0]))&&(a=(0,l.L)(o[0],t.spatialReference)),null===a)return 0;if(!(a instanceof m.A))throw new i.D$("InvalidParameter",e);return(0,f.C)("length",[a.toJSON(),J(o[1])])})},n.functions.length3d=function(t,r){return n.standardFunctionAsync(t,r,async(n,o,a)=>{if((0,l.E)(a,1,2,r),null===(a=(0,l.H)(a))[0])return 0;let s=a[0];if(((0,O.cy)(a[0])||(0,l.g)(a[0]))&&(s=(0,l.L)(a[0],t.spatialReference)),null===s)return 0;if(!(s instanceof m.A))throw new i.D$("InvalidParameter",r);if(!0===s.hasZ){const{convertFromSpatialReferenceUnit:n,toLengthUnit:t}=await Promise.resolve().then(e.bind(e,40547)),r=(0,c.UI)(s);return n(s.spatialReference,t(a[1]),r)}return(0,f.C)("length",[s.toJSON(),J(a[1])])})},n.functions.lengthgeodetic=function(t,e){return n.standardFunctionAsync(t,e,async(n,r,o)=>{(0,l.E)(o,1,3,e);let a=(o=(0,l.H)(o))[0];((0,O.cy)(o[0])||(0,l.g)(o[0]))&&(a=(0,l.L)(o[0],t.spatialReference));const s=J(o[1]),u=(0,c.rE)(o[2]);if((0,l.k)(a)){const n=await a.sumLength(s,u,t.abortSignal);if(t.abortSignal.aborted)throw new i.D$("Cancelled",e);return n}if(null===a)return 0;if(!(0,l.f)(a))throw new i.D$("InvalidParameter",e);return(0,f.C)("geodeticLength",[a.toJSON(),s,u])})},n.functions.distance=function(t,e){return n.standardFunctionAsync(t,e,async(n,r,o)=>{o=(0,l.H)(o),(0,l.E)(o,2,3,e);let a=o[0];if(((0,O.cy)(o[0])||(0,l.g)(o[0]))&&(a=(0,l.M)(o[0],t.spatialReference)),!(a instanceof m.A))throw new i.D$("InvalidParameter",e);let s=o[1];if(((0,O.cy)(o[1])||(0,l.g)(o[1]))&&(s=(0,l.M)(o[1],t.spatialReference)),!(s instanceof m.A))throw new i.D$("InvalidParameter",e);return(0,f.C)("distance",[a.toJSON(),s.toJSON(),J(o[2])])})},n.functions.distancegeodetic=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,e);const o=r[0];if(!(o instanceof w.A))throw new i.D$("InvalidParameter",e);const a=r[1];if(!(a instanceof w.A))throw new i.D$("InvalidParameter",e);return(0,f.C)("geodeticDistance",[o.toJSON(),a.toJSON(),J(r[2]),(0,c.rE)(r[3])])})},n.functions.densify=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,3,e),null===r[0])return null;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);const o=(0,l.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",e);if(o<=0)throw new i.D$("InvalidParameter",e);switch(r[0].type){case"polygon":case"polyline":case"extent":return(0,A.rS)(await(0,f.C)("densify",[r[0].toJSON(),o,J(r[2])]));default:return r[0]}})},n.functions.densifygeodetic=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,e);const o=r[0];if(null==o)return null;if(!(0,l.f)(o))throw new i.D$("InvalidParameter",e);const a=(0,l.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",e);if(a<=0)throw new i.D$("InvalidParameter",e);const s=J(r[2]),u=(0,c.rE)(r[3]);switch(o.type){case"polygon":case"polyline":case"extent":return(0,A.rS)(await(0,f.C)("geodeticDensify",[o.toJSON(),a,s,u]));default:return o}})},n.functions.generalize=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,4,e),null===r[0])return null;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);const o=(0,l.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",e);const a=(0,l.N)((0,l.O)(r[2],!0));return(0,A.rS)(await(0,f.C)("generalize",[r[0].toJSON(),o,J(r[3]),{removeDegenerateParts:a}]))})},n.functions.buffer=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,3,e),null===r[0])return null;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);const o=(0,l.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",e);return 0===o?(0,s.Yq)(r[0]):(0,A.rS)(await(0,f.C)("buffer",[r[0].toJSON(),o,J(r[2])]))})},n.functions.buffergeodetic=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,e);const o=r[0];if(null==o)return null;if(!(0,l.f)(o))throw new i.D$("InvalidParameter",e);const a=(0,l.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",e);if(0===a)return(0,s.Yq)(o);const u=J(r[2]),d=(0,c.rE)(r[3]);return(0,A.rS)(await(0,f.C)("geodesicBuffer",[o.toJSON(),a,u,d]))})},n.functions.offset=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,6,e);const o=r[0];if(null===o)return null;if(!(o instanceof g.A||o instanceof S.A))throw new i.D$("InvalidParameter",e);const a=(0,l.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",e);const s=r[2],u=(0,c.R$)(r[3]),d=(0,l.v)((0,l.O)(r[4],10));if(isNaN(d))throw new i.D$("InvalidParameter",e);const h=(0,l.v)((0,l.O)(r[5],0));if(isNaN(h))throw new i.D$("InvalidParameter",e);return(0,A.rS)(await(0,f.C)("offset",[o.toJSON(),a,J(s),u,d,h]))})},n.functions.rotate=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,3,e);const o=r[0];if(null===o)return null;if(!(o instanceof m.A))throw new i.D$("InvalidParameter",e);const a=(0,l.v)(r[1]);if(!Number.isFinite(a))throw new i.D$("InvalidParameter",e);const s=r[2];if(null!=s&&!(s instanceof w.A))throw new i.D$("InvalidParameter",e);return(0,A.rS)(await(0,f.C)("rotate",[o.toJSON(),a,s?.x,s?.y]))})},n.functions.centroid=function(t,e){return n.standardFunctionAsync(t,e,async(n,r,o)=>{if(o=(0,l.H)(o),(0,l.E)(o,1,2,e),null===o[0])return null;const a=(0,c.Hz)(o[1]);let s=o[0];if(((0,O.cy)(o[0])||(0,l.g)(o[0]))&&(s="geometric"===a?(0,l.M)(o[0],t.spatialReference):(0,l.K)(o[0],t.spatialReference),null===s))return null;if(!(s instanceof m.A))throw new i.D$("InvalidParameter",e);return(0,A.rS)("geometric"===a?await(0,f.C)("centroid",[s.toJSON()]):await(0,f.C)("labelPoint",[s.toJSON()]))})},n.functions.measuretocoordinate=function(t,e){return n.standardFunctionAsync(t,e,c.Cd)},n.functions.pointtocoordinate=function(t,e){return n.standardFunctionAsync(t,e,c.kr)},n.functions.distancetocoordinate=function(t,e){return n.standardFunctionAsync(t,e,c.Bn)},n.functions.multiparttosinglepart=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,e),null===r[0])return null;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);return(await(0,f.C)("multiPartToSinglePart",[r[0].toJSON()])).map(n=>(0,A.rS)(n))})},n.functions.isselfintersecting=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,e)=>{(0,l.E)(e,1,1,t);let r=(e=(0,l.H)(e))[0];if(((0,O.cy)(e[0])||(0,l.g)(e[0]))&&(r=(0,l.L)(e[0],n.spatialReference)),r instanceof y.A){const n=r.points;for(let t=0;t<n.length;t++)for(let e=t+1;e<n.length;e++)if((0,d.aI)(n[t],n[e]))return!0;return!1}return(r instanceof S.A||r instanceof g.A)&&await(0,f.C)("isSelfIntersecting",[r.toJSON()])})},n.functions.issimple=function(t,e){return n.standardFunctionAsync(t,e,(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,e),null===r[0])return!0;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);return(0,f.C)("isSimple",[r[0].toJSON()])})},n.functions.simplify=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,e),null===r[0])return null;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);return(0,A.rS)(await(0,f.C)("simplify",[r[0].toJSON()]))})},n.functions.convexhull=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,e),null===r[0])return null;if(!(r[0]instanceof m.A))throw new i.D$("InvalidParameter",e);return(0,A.rS)(await(0,f.C)("convexHull",[r[0].toJSON()]))})},n.functions.getuser=function(t,e){return n.standardFunctionAsync(t,e,async(n,a,s)=>{(0,l.E)(s,0,2,e);let c=(0,l.O)(s[1],""),f=!0===c;if(c=!0===c||!1===c?"":(0,l.w)(c),0===s.length||s[0]instanceof r.A){const n=(0,u.RI)(t,s.length>0?s[0]:null),e=await D(n,c,f);return null!=e?(0,o.Tg)(JSON.parse(JSON.stringify(e))):null}let d=null;if((0,l.k)(s[0])&&(d=s[0]),d){if(f=!1,c)return null;await d.load();const n=await d.getOwningSystemUrl();if(!n){if(!c){const n=await d.getIdentityUser();return null!=n?(0,o.Tg)({username:n}):null}return null}const e=(0,u.RI)(t,new r.A(n)),a=await D(e,c,f);return null!=a?(0,o.Tg)(JSON.parse(JSON.stringify(a))):null}throw new i.D$("InvalidParameter",e)})},n.functions.nearestcoordinate=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,e),!(r[0]instanceof m.A||null===r[0]))throw new i.D$("InvalidParameter",e);if(!(r[1]instanceof w.A||null===r[1]))throw new i.D$("InvalidParameter",e);if(null===r[0]||null===r[1])return null;const o=r[0]instanceof h.A?g.A.fromExtent(r[0]):r[0],s=await(0,f.C)("getNearestCoordinate",[o.toJSON(),r[1].toJSON(),{calculateLeftRightSide:!0}]);return null===s?null:a.A.createMutable({__proto__:null,coordinate:(0,A.rS)(s.coordinate),distance:s.distance,sideOfLine:0===s.distance?"straddle":s.isRightSide?"right":"left"})})},n.functions.nearestvertex=function(t,e){return n.standardFunctionAsync(t,e,async(n,t,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,e),!(r[0]instanceof m.A||null===r[0]))throw new i.D$("InvalidParameter",e);if(!(r[1]instanceof w.A||null===r[1]))throw new i.D$("InvalidParameter",e);if(null===r[0]||null===r[1])return null;const o=r[0]instanceof h.A?g.A.fromExtent(r[0]):r[0],s=await(0,f.C)("getNearestVertex",[o.toJSON(),r[1].toJSON()]);return null==s?null:a.A.createMutable({__proto__:null,coordinate:(0,A.rS)(s.coordinate),distance:s.distance,sideOfLine:s.sideOfLine})})})}},71163(n,t,e){e.d(t,{C:()=>l});var r=e(29953);let o,a,i=!1;function s(){return o??=(0,r.ho)("arcadeGeometryOperatorsWorker").then(n=>{a=n,i=!0,o=void 0})}async function l(n,t){return i?a.apply("invokeGeometryOp",[n,t]):(await s(),l(n,t))}},97770(n,t,e){e.d(t,{Ey:()=>E,F8:()=>L,J2:()=>P,Yq:()=>p,_m:()=>$,iS:()=>F,wj:()=>H});var r=e(66552),o=e(73444),a=e(98623),i=e(34747);const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},f={year:"numeric",month:"long",day:"numeric"},d={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},y={...m,second:"numeric"},w={hourCycle:"h23"},g={...m,...w},S={...y,...w},A={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...g},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,...S},"short-date-le":c,"short-date-le-short-time":{...c,...m},"short-date-le-short-time-24":{...c,...g},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,...S},"long-month-day-year":f,"long-month-day-year-short-time":{...f,...m},"long-month-day-year-short-time-24":{...f,...g},"long-month-day-year-long-time":{...f,...y},"long-month-day-year-long-time-24":{...f,...S},"day-short-month-year":d,"day-short-month-year-short-time":{...d,...m},"day-short-month-year-short-time-24":{...d,...g},"day-short-month-year-long-time":{...d,...y},"day-short-month-year-long-time-24":{...d,...S},"long-date":h,"long-date-short-time":{...h,...m},"long-date-short-time-24":{...h,...g},"long-date-long-time":{...h,...y},"long-date-long-time-24":{...h,...S},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":y},N=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),v={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},D=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),O=D.find(({type:n})=>"month"===n)?.value.toLowerCase();function J(){const n=(0,o.lR)();return(n&&v[n])??(0,o.QC)()}"mart"!==O&&(v.bs="sr-Latn-CS");let C=new WeakMap;const I=A["short-date-short-time"];function P(n){return A[n]}function $(n){const{dateStyle:t,timeStyle:e,hour12:r,year:o,month:a}=n,i={};return t?i.dateStyle=t:o&&(i.year=o,i.month=a||void 0),e&&!i.year&&(i.timeStyle=e,i.hour12="auto"===r?void 0:"always"===r),i}function p(n,t=I){return function(n){let t=C.get(n);if(!t){const e=J(),r=H(n.timeZone??"system"),o={...n,timeZone:r};t=new Intl.DateTimeFormat(e,o),C.set(n,t)}return t}(t).format(n)}function F(n,t=I){return p(new Date(n),{...t,...u,...l})}function L(n,t=I){return p(new Date(`1970-01-01T${n}Z`),{...t,...u,...s})}function E(n,t=I){const e=i.c9.fromISO(n,{setZone:!0});if(!e.isValid)return n;if(t.timeZone)return p(e.toJSDate(),t);const r=0===e.offset?"UTC":t.timeZone,o={...t,timeZone:r};return e.toLocaleString(o,{locale:J()})}function H(n){switch(n){case"system":return a.N;case a.L:return"UTC";default:return n}}(0,o.Ml)(()=>{C=new WeakMap}),e.d(t,["_v",0,N])}}]);
|