@arcgis/core 6.0.0-next.46 → 6.0.0-next.48
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/PopupTemplate.js +1 -1
- package/applications/MapViewer/mediaUtils.js +1 -1
- package/applications/Play/transformToolUtils.d.ts +74 -0
- package/applications/Play/transformToolUtils.js +2 -0
- package/arcgisGlobal.d.ts +2 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00331b59ca88e333fef8.js +1 -0
- package/assets/esri/core/workers/chunks/01f834149d0f89deaef8.js +1 -0
- package/assets/esri/core/workers/chunks/021bd07b9a3e70598840.js +1 -0
- package/assets/esri/core/workers/chunks/022565ef98a702ab952f.js +1 -0
- package/assets/esri/core/workers/chunks/037c2d2ccb4bf4db4fec.js +1 -0
- package/assets/esri/core/workers/chunks/042d7669093a16d6e77e.js +1 -0
- package/assets/esri/core/workers/chunks/04ee9dc3e5a90d015f2f.js +1 -0
- package/assets/esri/core/workers/chunks/052b248db9ff46c6f36b.js +1 -0
- package/assets/esri/core/workers/chunks/{0ac38ca04285cd5ef1a0.js → 056a815273653271bf75.js} +37 -31
- package/assets/esri/core/workers/chunks/05ec995edeb73ccba8b6.js +1 -0
- package/assets/esri/core/workers/chunks/0636a6629bd42b67ad00.js +1 -0
- package/assets/esri/core/workers/chunks/06966406bee9c33beac7.js +1 -0
- package/assets/esri/core/workers/chunks/07ce1d788ed1c9b926db.js +2 -0
- package/assets/esri/core/workers/chunks/0a7d721d8ce5803124ed.js +1 -0
- package/assets/esri/core/workers/chunks/0c1f1eba7846a05c6fcc.js +1 -0
- package/assets/esri/core/workers/chunks/0c90f857976527db567e.js +1 -0
- package/assets/esri/core/workers/chunks/0d83237e9c7291ec3ef5.js +1 -0
- package/assets/esri/core/workers/chunks/0fd5ff5b6037c89257ec.js +1 -0
- package/assets/esri/core/workers/chunks/1053e9bc73cded8d403a.js +1 -0
- package/assets/esri/core/workers/chunks/110f78d5e78732750097.js +1 -0
- package/assets/esri/core/workers/chunks/12add2003631fa314f25.js +1 -0
- package/assets/esri/core/workers/chunks/1345413ec0b4128849b1.js +1 -0
- package/assets/esri/core/workers/chunks/13a5d2c9d2ae6b0a297b.js +1 -0
- package/assets/esri/core/workers/chunks/1430be5ba5a20d587b37.js +1 -0
- package/assets/esri/core/workers/chunks/14a00ec7bc0f230d994c.js +1 -0
- package/assets/esri/core/workers/chunks/14bac20e21bad6bb95c8.js +1 -0
- package/assets/esri/core/workers/chunks/163e97987e1f75610009.js +1 -0
- package/assets/esri/core/workers/chunks/1680091022f0964d47b1.js +1 -0
- package/assets/esri/core/workers/chunks/16d0433d1b02606fdd00.js +1 -0
- package/assets/esri/core/workers/chunks/16e4686ec9e408716087.js +1 -0
- package/assets/esri/core/workers/chunks/1705e9d085499a854f14.js +1 -0
- package/assets/esri/core/workers/chunks/1908da6e2b1e5f6d2992.js +1 -0
- package/assets/esri/core/workers/chunks/1971dbb6ac3ce1d5e367.js +1 -0
- package/assets/esri/core/workers/chunks/1afe435a9a23858e694e.js +1 -0
- package/assets/esri/core/workers/chunks/1b4e53575290d7a3feb1.js +1 -0
- package/assets/esri/core/workers/chunks/1bde6b7b54f07573d031.js +1 -0
- package/assets/esri/core/workers/chunks/1c7a21387d11dc907ae4.js +1 -0
- package/assets/esri/core/workers/chunks/1c7bd11f6014ffe7aac5.js +1 -0
- package/assets/esri/core/workers/chunks/1d4db5c0de1b1440b7c8.js +1 -0
- package/assets/esri/core/workers/chunks/1d57b1445afec89a7941.js +1 -0
- package/assets/esri/core/workers/chunks/1d9e5298ee4309022ee1.js +1 -0
- package/assets/esri/core/workers/chunks/1e39f97cc9ffbc282ffe.js +1 -0
- package/assets/esri/core/workers/chunks/1f94ce4d7595018e7b90.js +1 -0
- package/assets/esri/core/workers/chunks/2019b43c545b01f2c3fd.js +1 -0
- package/assets/esri/core/workers/chunks/21911cdbbf068cbf8641.js +1 -0
- package/assets/esri/core/workers/chunks/21aa29039a95debd7f44.js +1 -0
- package/assets/esri/core/workers/chunks/22c131418a907bf09cc0.js +1 -0
- package/assets/esri/core/workers/chunks/230e5be597a8e8172513.js +1 -0
- package/assets/esri/core/workers/chunks/23ed0f61c49df3ae631e.js +1 -0
- package/assets/esri/core/workers/chunks/2415db54c6da71c857a6.js +1 -0
- package/assets/esri/core/workers/chunks/244816f7dc50581b826b.js +1 -0
- package/assets/esri/core/workers/chunks/2458d6504682c1877ddc.js +1 -0
- package/assets/esri/core/workers/chunks/2502688aa275d9064e78.js +1 -0
- package/assets/esri/core/workers/chunks/250e6c23dbf50dbcf749.js +1 -0
- package/assets/esri/core/workers/chunks/255f5b45c4d32f97f86c.js +1 -0
- package/assets/esri/core/workers/chunks/27dfc461e44b58e7fbc0.js +1 -0
- package/assets/esri/core/workers/chunks/28425ff10dc0b181a6ba.js +1 -0
- package/assets/esri/core/workers/chunks/297fc73f8018d870ab82.js +1 -0
- package/assets/esri/core/workers/chunks/29b74a3ff03d3c8b65dc.js +1 -0
- package/assets/esri/core/workers/chunks/2d106419cd3a161587bd.js +1 -0
- package/assets/esri/core/workers/chunks/2fcd168262942494452a.js +1 -0
- package/assets/esri/core/workers/chunks/2fe55882a9ff5a74867b.js +1 -0
- package/assets/esri/core/workers/chunks/31f9d86b2a2bb05143b5.js +1 -0
- package/assets/esri/core/workers/chunks/340a893f1003953adab7.js +1 -0
- package/assets/esri/core/workers/chunks/341970c3550c9ca3938d.js +1 -0
- package/assets/esri/core/workers/chunks/3654672d772d11484883.js +1 -0
- package/assets/esri/core/workers/chunks/3695ed5d82ea1514147e.js +1 -0
- package/assets/esri/core/workers/chunks/3737025b8ed71099890f.js +1 -0
- package/assets/esri/core/workers/chunks/38b7ae210c9d39449853.js +1 -0
- package/assets/esri/core/workers/chunks/38ea54b715a08bd8d794.js +1 -0
- package/assets/esri/core/workers/chunks/3ab33631e0f6f8f2cbbc.js +1 -0
- package/assets/esri/core/workers/chunks/3ad149ec07285a3f5777.js +1 -0
- package/assets/esri/core/workers/chunks/3af0ff5a0b82872aac38.js +1 -0
- package/assets/esri/core/workers/chunks/3b434fc144f6b1a21f97.js +1 -0
- package/assets/esri/core/workers/chunks/3b9415dfd7546aeec261.js +1 -0
- package/assets/esri/core/workers/chunks/3be49515f93ea3730be3.js +1 -0
- package/assets/esri/core/workers/chunks/3d9294dd813707e48e55.js +1 -0
- package/assets/esri/core/workers/chunks/3ddcf58242f02feea584.js +1 -0
- package/assets/esri/core/workers/chunks/3e4fda8f6fea1ce84712.js +1 -0
- package/assets/esri/core/workers/chunks/3e57f8128102a72e7930.js +1 -0
- package/assets/esri/core/workers/chunks/3e9a72ea2d6d37a543dd.js +1 -0
- package/assets/esri/core/workers/chunks/3fac9a1b43b1035b22d6.js +1 -0
- package/assets/esri/core/workers/chunks/3fdce20b9efc05dd1cbe.js +1 -0
- package/assets/esri/core/workers/chunks/40af4142bc92166aaaf2.js +1 -0
- package/assets/esri/core/workers/chunks/40b101a969ac2b113a99.js +1 -0
- package/assets/esri/core/workers/chunks/412c7d198ee121b34494.js +1 -0
- package/assets/esri/core/workers/chunks/41c9880c718f0aaba78a.js +1 -0
- package/assets/esri/core/workers/chunks/42953a1ea2872f087d25.js +1 -0
- package/assets/esri/core/workers/chunks/45f02d1ec060615fa7c5.js +1 -0
- package/assets/esri/core/workers/chunks/4608f4ba5649f107827f.js +1 -0
- package/assets/esri/core/workers/chunks/476b42902f6d0cb03489.js +1 -0
- package/assets/esri/core/workers/chunks/47cd157c9d11986d8d3a.js +1 -0
- package/assets/esri/core/workers/chunks/4813bd8bff055eb29377.js +1 -0
- package/assets/esri/core/workers/chunks/48937df95a2e03412dfd.js +1 -0
- package/assets/esri/core/workers/chunks/48b60ff59afbae865de1.js +1 -0
- package/assets/esri/core/workers/chunks/49cde0a9b3f1c3965f26.js +1 -0
- package/assets/esri/core/workers/chunks/4a41bf3d1e2e9bb79771.js +2 -0
- package/assets/esri/core/workers/chunks/4a45f63b37f1e736e99d.js +1 -0
- package/assets/esri/core/workers/chunks/4cf8bddc3e0619e34424.js +1 -0
- package/assets/esri/core/workers/chunks/4d2d9d4e31af8af43445.js +1 -0
- package/assets/esri/core/workers/chunks/4dc75d9c860177cfc012.js +1 -0
- package/assets/esri/core/workers/chunks/4e3414d75d8378490207.js +1 -0
- package/assets/esri/core/workers/chunks/4e4eedddd954f4ad3841.js +1 -0
- package/assets/esri/core/workers/chunks/50440f9865edd9b4851d.js +1 -0
- package/assets/esri/core/workers/chunks/5109b48666138df14038.js +1 -0
- package/assets/esri/core/workers/chunks/5253933277d16dbe7ab6.js +1 -0
- package/assets/esri/core/workers/chunks/52f96030709bd29ef47d.js +1 -0
- package/assets/esri/core/workers/chunks/53277ccca55731e6eb36.js +1 -0
- package/assets/esri/core/workers/chunks/53daa71ecf0155eeb498.js +1 -0
- package/assets/esri/core/workers/chunks/5404ffa9aa1f3fa9973a.js +1 -0
- package/assets/esri/core/workers/chunks/54a99b10f2ecf76061af.js +1 -0
- package/assets/esri/core/workers/chunks/556f4ee089f71bf201c2.js +1 -0
- package/assets/esri/core/workers/chunks/55ac40a5257faf92c43d.js +1 -0
- package/assets/esri/core/workers/chunks/55d28d3f5b8ced061e39.js +1 -0
- package/assets/esri/core/workers/chunks/560961eeacc861a690a1.js +1 -0
- package/assets/esri/core/workers/chunks/564b38915cc3a44a96ea.js +1 -0
- package/assets/esri/core/workers/chunks/5729baa3151ac10d0d04.js +1 -0
- package/assets/esri/core/workers/chunks/57cf2bd82b006e78f8e5.js +1 -0
- package/assets/esri/core/workers/chunks/5928c270c5bf4345dab5.js +1 -0
- package/assets/esri/core/workers/chunks/5af001311d2042f14738.js +1 -0
- package/assets/esri/core/workers/chunks/5afd379eaf3d37be0854.js +1 -0
- package/assets/esri/core/workers/chunks/5b2e95bd0f48f4b283bc.js +1 -0
- package/assets/esri/core/workers/chunks/5bda285f6ecf725676b3.js +1 -0
- package/assets/esri/core/workers/chunks/5bea201cb7e24b14b852.js +1 -0
- package/assets/esri/core/workers/chunks/5cd896edff4829aab42e.js +1 -0
- package/assets/esri/core/workers/chunks/5d14591449ef16c0976f.js +1 -0
- package/assets/esri/core/workers/chunks/5d3fa06eb5eb2b663a8f.js +1 -0
- package/assets/esri/core/workers/chunks/5d75fcaded78f76efd3e.js +1 -0
- package/assets/esri/core/workers/chunks/5e816e62664a9a968833.js +1 -0
- package/assets/esri/core/workers/chunks/6004a9582ffb96d31640.js +1 -0
- package/assets/esri/core/workers/chunks/6007b6b65154e477d96a.js +1 -0
- package/assets/esri/core/workers/chunks/6033eef7867f5c82fdc6.js +1 -0
- package/assets/esri/core/workers/chunks/60556278f4bfae63a49a.js +1 -0
- package/assets/esri/core/workers/chunks/621c5b3f1e29c17426e7.js +1 -0
- package/assets/esri/core/workers/chunks/6234a96aaf934ed36793.js +1 -0
- package/assets/esri/core/workers/chunks/6274f3192d2edbc2629e.js +1 -0
- package/assets/esri/core/workers/chunks/641981a68199890bde27.js +1 -0
- package/assets/esri/core/workers/chunks/6538253abdafc8e6d112.js +1 -0
- package/assets/esri/core/workers/chunks/658eb6efe5c2210def01.js +1 -0
- package/assets/esri/core/workers/chunks/65a58ffdb651c948b52c.js +1 -0
- package/assets/esri/core/workers/chunks/690a3afeeb3dbd252524.js +1 -0
- package/assets/esri/core/workers/chunks/6b73dfc9252b32f1eae2.js +1 -0
- package/assets/esri/core/workers/chunks/6ba6714da4dcb5a6fde4.js +1 -0
- package/assets/esri/core/workers/chunks/6bf81005fd647e3cc4bf.js +1 -0
- package/assets/esri/core/workers/chunks/6c20144cf05f29dd00fc.js +1 -0
- package/assets/esri/core/workers/chunks/6c21964eb7c25c8b1e9a.js +1 -0
- package/assets/esri/core/workers/chunks/6c4c06a4fa585f56e6a3.js +1 -0
- package/assets/esri/core/workers/chunks/6d30cf656be3bccd3ca7.js +1 -0
- package/assets/esri/core/workers/chunks/6d86eadd4d62c9218927.js +1 -0
- package/assets/esri/core/workers/chunks/6e30a6c3224207e13a7a.js +1 -0
- package/assets/esri/core/workers/chunks/6e4698879e7d8fbc4d12.js +1 -0
- package/assets/esri/core/workers/chunks/70695e0fb53018d48e7b.js +2 -0
- package/assets/esri/core/workers/chunks/708ba5a28c093994c4bd.js +1 -0
- package/assets/esri/core/workers/chunks/71295afd21fc5bc5ddbc.js +1 -0
- package/assets/esri/core/workers/chunks/72c66f2b5479a3f86b94.js +1 -0
- package/assets/esri/core/workers/chunks/72ef9199ded8deea05d1.js +1 -0
- package/assets/esri/core/workers/chunks/737b748d0fbfd2e0cf02.js +1 -0
- package/assets/esri/core/workers/chunks/73bf76a3a0418edb26a5.js +1 -0
- package/assets/esri/core/workers/chunks/755df811d724a46957c5.js +1 -0
- package/assets/esri/core/workers/chunks/7585a0d26bfe7efda194.js +1 -0
- package/assets/esri/core/workers/chunks/758fcf7000eb27ba75e2.js +1 -0
- package/assets/esri/core/workers/chunks/75bc76953bdb63a095e6.js +1 -0
- package/assets/esri/core/workers/chunks/762842aba4a1dd85db64.js +1 -0
- package/assets/esri/core/workers/chunks/765b18e66111d09447de.js +1 -0
- package/assets/esri/core/workers/chunks/766a1357be2ed7f4e125.js +1 -0
- package/assets/esri/core/workers/chunks/76e20d88983a77b003e1.js +1 -0
- package/assets/esri/core/workers/chunks/773ba0909ccd3a034c31.js +1 -0
- package/assets/esri/core/workers/chunks/794a9f116c4700bb1210.js +1 -0
- package/assets/esri/core/workers/chunks/794f691166c0693993ac.js +1 -0
- package/assets/esri/core/workers/chunks/7960b6eb02fdaff6ada7.js +1 -0
- package/assets/esri/core/workers/chunks/7a98b29b3f82d82da1da.js +1 -0
- package/assets/esri/core/workers/chunks/7b29fc210b5878951cdc.js +1 -0
- package/assets/esri/core/workers/chunks/7ccec1d7e9aca860a150.js +1 -0
- package/assets/esri/core/workers/chunks/7d040257ebefcbe896c7.js +1 -0
- package/assets/esri/core/workers/chunks/7d74bcce7d8931f9486d.js +1 -0
- package/assets/esri/core/workers/chunks/80cf3a616922e3d15d67.js +1 -0
- package/assets/esri/core/workers/chunks/80da6d01bb1dcef9e004.js +1 -0
- package/assets/esri/core/workers/chunks/812cb2e9efc4d335e9e9.js +1 -0
- package/assets/esri/core/workers/chunks/8147bbc6c42d2071e149.js +1 -0
- package/assets/esri/core/workers/chunks/836b131247908097be7e.js +1 -0
- package/assets/esri/core/workers/chunks/837e421a81c7dae6b67c.js +1 -0
- package/assets/esri/core/workers/chunks/83bc862c242ff0629c8b.js +1 -0
- package/assets/esri/core/workers/chunks/840258be26978bc75609.js +1 -0
- package/assets/esri/core/workers/chunks/85979b277f282f4806fe.js +1 -0
- package/assets/esri/core/workers/chunks/85992d817e58af01fa70.js +1 -0
- package/assets/esri/core/workers/chunks/85d18a646f1c8e9e041d.js +1 -0
- package/assets/esri/core/workers/chunks/87c33e729d91fa119aa4.js +1 -0
- package/assets/esri/core/workers/chunks/892d99cc12110399fae3.js +1 -0
- package/assets/esri/core/workers/chunks/8b104a30814ecc0ef588.js +1 -0
- package/assets/esri/core/workers/chunks/8c0afb02e028a520cafc.js +1 -0
- package/assets/esri/core/workers/chunks/8c94e987754b3919181e.js +1 -0
- package/assets/esri/core/workers/chunks/8e0ecc7f55dd8bf2cf16.js +1 -0
- package/assets/esri/core/workers/chunks/919115788da38049aea7.js +2 -0
- package/assets/esri/core/workers/chunks/9436749830e078ddba45.js +1 -0
- package/assets/esri/core/workers/chunks/95784bb703ad5e9886d8.js +1 -0
- package/assets/esri/core/workers/chunks/96bbd5af1902cc7a0347.js +1 -0
- package/assets/esri/core/workers/chunks/972677041782aea9be46.js +1 -0
- package/assets/esri/core/workers/chunks/97cdcedfe853280f6258.js +1 -0
- package/assets/esri/core/workers/chunks/98af83f8126c043aa49c.js +1 -0
- package/assets/esri/core/workers/chunks/9a4498d5865c88a86755.js +1 -0
- package/assets/esri/core/workers/chunks/9b57dc3b74f43b2c17b3.js +1 -0
- package/assets/esri/core/workers/chunks/9bec57017e6c009b5d41.js +1 -0
- package/assets/esri/core/workers/chunks/9c52b6e951ec142653e0.js +1 -0
- package/assets/esri/core/workers/chunks/9cc0250d304d93f96c01.js +1 -0
- package/assets/esri/core/workers/chunks/9d0db1230a4b95c59f1e.js +1 -0
- package/assets/esri/core/workers/chunks/9d0dfc9765c1ce96a168.js +1 -0
- package/assets/esri/core/workers/chunks/9d1a6fb14475ce790149.js +1 -0
- package/assets/esri/core/workers/chunks/9d6d4fe9a73aa17a4840.js +1 -0
- package/assets/esri/core/workers/chunks/9dcf5be203f8b1e47d9d.js +1 -0
- package/assets/esri/core/workers/chunks/9dece842ada6278c33ef.js +1 -0
- package/assets/esri/core/workers/chunks/9eb00bb8dab995c2dcb3.js +1 -0
- package/assets/esri/core/workers/chunks/9f087fcaf30100e447d4.js +1 -0
- package/assets/esri/core/workers/chunks/9f63600039606e3ce5e0.js +1 -0
- package/assets/esri/core/workers/chunks/9f8d5cc6c7c2c36c6c7b.js +1 -0
- package/assets/esri/core/workers/chunks/a12e29f2cb78fdaa0753.js +1 -0
- package/assets/esri/core/workers/chunks/a2e25c964251c2f25340.js +1 -0
- package/assets/esri/core/workers/chunks/a3409f879cae2911ef3c.js +1 -0
- package/assets/esri/core/workers/chunks/a39c0ab14d6fe337f2f3.js +1 -0
- package/assets/esri/core/workers/chunks/a5ae717842c053f5bc9c.js +1 -0
- package/assets/esri/core/workers/chunks/a5fe0625f38f1b3f8c84.js +1 -0
- package/assets/esri/core/workers/chunks/a6a3d80e786edaa0156a.js +1 -0
- package/assets/esri/core/workers/chunks/a6b139e22bd0efe20b01.js +1 -0
- package/assets/esri/core/workers/chunks/a710c7a0584d9e45a469.js +1 -0
- package/assets/esri/core/workers/chunks/a7537388778e81c9d4b4.js +1 -0
- package/assets/esri/core/workers/chunks/a8314873ed823b6ac6d6.js +1 -0
- package/assets/esri/core/workers/chunks/a8bd42057e3543c17800.js +1 -0
- package/assets/esri/core/workers/chunks/a94291f7e98864091554.js +1 -0
- package/assets/esri/core/workers/chunks/a945f7f9504e9602b9b0.js +1 -0
- package/assets/esri/core/workers/chunks/a9f1d7e4432e74285a58.js +1 -0
- package/assets/esri/core/workers/chunks/aa1793102cb8e7c5b600.js +1 -0
- package/assets/esri/core/workers/chunks/aa702f65d735eb033812.js +1 -0
- package/assets/esri/core/workers/chunks/aae6a546d2aedc22debd.js +1 -0
- package/assets/esri/core/workers/chunks/ab78c25309395049d976.js +1 -0
- package/assets/esri/core/workers/chunks/ab7e6f8fff957daa2a33.js +1 -0
- package/assets/esri/core/workers/chunks/ab8476dfb0818fc388ba.js +1 -0
- package/assets/esri/core/workers/chunks/ad029f4f7c9b79fbce8d.js +1 -0
- package/assets/esri/core/workers/chunks/aed8a1a3843aabe819f2.js +1 -0
- package/assets/esri/core/workers/chunks/b33922def112150e565f.js +1 -0
- package/assets/esri/core/workers/chunks/b4fd8f232c3d09481127.js +1 -0
- package/assets/esri/core/workers/chunks/b51df1d7344d47a9b72a.js +1 -0
- package/assets/esri/core/workers/chunks/b58a003bd74f158cf62a.js +1 -0
- package/assets/esri/core/workers/chunks/b70af9fb974ef9836efd.js +1 -0
- package/assets/esri/core/workers/chunks/b7c9f95af3473b005267.js +1 -0
- package/assets/esri/core/workers/chunks/b88e1084097a93a89f61.js +1 -0
- package/assets/esri/core/workers/chunks/b92b6dd6ca5c740bf509.js +1 -0
- package/assets/esri/core/workers/chunks/b9ccaaee349e058a78df.js +1 -0
- package/assets/esri/core/workers/chunks/ba80d7ac1074ba7530d4.js +1 -0
- package/assets/esri/core/workers/chunks/babb2683e688337ea054.js +1 -0
- package/assets/esri/core/workers/chunks/bafced37f9f20a4812d7.js +1 -0
- package/assets/esri/core/workers/chunks/bb3520800b085d43cd83.js +1 -0
- package/assets/esri/core/workers/chunks/bb3a0f07e1f758d82a81.js +1 -0
- package/assets/esri/core/workers/chunks/bbf28e8c5acd87771dc7.js +1 -0
- package/assets/esri/core/workers/chunks/bbf6c995039ade67de07.js +1 -0
- package/assets/esri/core/workers/chunks/bdaf880bf4663d8263cc.js +1 -0
- package/assets/esri/core/workers/chunks/bdc2617101988ab5e9f9.js +1 -0
- package/assets/esri/core/workers/chunks/bfeb4b089dbd0165d2ab.js +1 -0
- package/assets/esri/core/workers/chunks/c0f2b6a10bcc766318f5.js +1 -0
- package/assets/esri/core/workers/chunks/c117db5805b5ce292ac2.js +1 -0
- package/assets/esri/core/workers/chunks/c248db5e4d92cfb3c4d1.js +1 -0
- package/assets/esri/core/workers/chunks/c24d383a28da266922c2.js +1 -0
- package/assets/esri/core/workers/chunks/c36dd2f7f6ea1044cd62.js +1 -0
- package/assets/esri/core/workers/chunks/c3c0f24a9e0047232ae1.js +1 -0
- package/assets/esri/core/workers/chunks/c4974a4dc081e23899ba.js +1 -0
- package/assets/esri/core/workers/chunks/c6066041f8ca0dd94480.js +1 -0
- package/assets/esri/core/workers/chunks/c80c3b746c286f8b860a.js +1 -0
- package/assets/esri/core/workers/chunks/c85184baccb4004bf42b.js +1 -0
- package/assets/esri/core/workers/chunks/c945d36f5406ea4e4e3a.js +1 -0
- package/assets/esri/core/workers/chunks/ca1f98251f246d481ba2.js +1 -0
- package/assets/esri/core/workers/chunks/ca309b6aca9c0948ebae.js +1 -0
- package/assets/esri/core/workers/chunks/cbaade131e08ec123719.js +1 -0
- package/assets/esri/core/workers/chunks/cc834768685065ddc4c3.js +1 -0
- package/assets/esri/core/workers/chunks/cd21fc8eabb11e6ecdc8.js +1 -0
- package/assets/esri/core/workers/chunks/cd9100a7c8309dfa7569.js +1 -0
- package/assets/esri/core/workers/chunks/ce02adb527389b90223d.js +1 -0
- package/assets/esri/core/workers/chunks/ce995e7c03e9e65c987a.js +1 -0
- package/assets/esri/core/workers/chunks/ced5dfb2bf46fc5eac8c.js +2 -0
- package/assets/esri/core/workers/chunks/cef537fa9705dd1cf685.js +1 -0
- package/assets/esri/core/workers/chunks/cf4b92ded0503f991c0e.js +1 -0
- package/assets/esri/core/workers/chunks/cf859cb25ceccba1588c.js +1 -0
- package/assets/esri/core/workers/chunks/d007762f05dbc9272587.js +1 -0
- package/assets/esri/core/workers/chunks/d036c6e9b7ef9f8434c8.js +1 -0
- package/assets/esri/core/workers/chunks/d22a4124af837bae4c28.js +1 -0
- package/assets/esri/core/workers/chunks/d3b646ca17b91e59bf48.js +1 -0
- package/assets/esri/core/workers/chunks/d4a79c878e0a1a42fdc0.js +1 -0
- package/assets/esri/core/workers/chunks/d4b6ea046995dcb5872f.js +1 -0
- package/assets/esri/core/workers/chunks/d4d07419a4132f69941d.js +1 -0
- package/assets/esri/core/workers/chunks/d4f6be8290ad0243e1b8.js +1 -0
- package/assets/esri/core/workers/chunks/d695d30949b881217bab.js +1 -0
- package/assets/esri/core/workers/chunks/d6a513171dcc14e52a84.js +1 -0
- package/assets/esri/core/workers/chunks/d82ff5c137227563c5dc.js +1 -0
- package/assets/esri/core/workers/chunks/d8eea5ffe05c620fac9e.js +1 -0
- package/assets/esri/core/workers/chunks/d96e63d66f7b1f4ea54a.js +2 -0
- package/assets/esri/core/workers/chunks/d997d81d0965c05447d4.js +1 -0
- package/assets/esri/core/workers/chunks/da0e55fbc14502ce7c38.js +1 -0
- package/assets/esri/core/workers/chunks/da6328b16ef589c1d2ae.js +1 -0
- package/assets/esri/core/workers/chunks/da673ffb77ae29d361ae.js +1 -0
- package/assets/esri/core/workers/chunks/daa7b13e92230464850f.js +1 -0
- package/assets/esri/core/workers/chunks/dacbefe9706585e6c273.js +1 -0
- package/assets/esri/core/workers/chunks/db438bbfbb137bb4484e.js +1 -0
- package/assets/esri/core/workers/chunks/db66be88c52b1f5e5aad.js +1 -0
- package/assets/esri/core/workers/chunks/dc3206ae22700a216ec3.js +1 -0
- package/assets/esri/core/workers/chunks/dcc7b221c3fa712d0fd1.js +1 -0
- package/assets/esri/core/workers/chunks/dd744dcd5b8751b59c83.js +1 -0
- package/assets/esri/core/workers/chunks/de6b14d13977f967a627.js +1 -0
- package/assets/esri/core/workers/chunks/df968a32256df81c0f05.js +1 -0
- package/assets/esri/core/workers/chunks/e0961f79f4f0dd68a4c6.js +1 -0
- package/assets/esri/core/workers/chunks/e1645882f54818c4036a.js +1 -0
- package/assets/esri/core/workers/chunks/e1dfc05bebfbf4a2274e.js +1 -0
- package/assets/esri/core/workers/chunks/e4309f214162e9daa6ed.js +1 -0
- package/assets/esri/core/workers/chunks/e44679a0d271c1efb60d.js +1 -0
- package/assets/esri/core/workers/chunks/e4a9a6dd8cc44a4b7f32.js +1 -0
- package/assets/esri/core/workers/chunks/e575375e7c43ec22f05e.js +1 -0
- package/assets/esri/core/workers/chunks/e80526571f1a34de3278.js +1 -0
- package/assets/esri/core/workers/chunks/e9376357f24e4f59c0ee.js +1 -0
- package/assets/esri/core/workers/chunks/e99d3d85b0f074a1dcd3.js +1 -0
- package/assets/esri/core/workers/chunks/ebbb1aed4cdbb41095d6.js +1 -0
- package/assets/esri/core/workers/chunks/ec334f87203096caef43.js +1 -0
- package/assets/esri/core/workers/chunks/ecd6743a95526e2c2cbe.js +1 -0
- package/assets/esri/core/workers/chunks/ecfa2a675da831ec99ff.js +1 -0
- package/assets/esri/core/workers/chunks/edfb0a47ce9c3d89f833.js +1 -0
- package/assets/esri/core/workers/chunks/ee33e50a54752ac88d30.js +1 -0
- package/assets/esri/core/workers/chunks/ef353a93740a9d90cd8c.js +1 -0
- package/assets/esri/core/workers/chunks/ef928201beffbaa1c98d.js +1 -0
- package/assets/esri/core/workers/chunks/efadb45b4763c51e701b.js +1 -0
- package/assets/esri/core/workers/chunks/efe52385fe8efd933831.js +1 -0
- package/assets/esri/core/workers/chunks/f053cbfe671bd14c7d5b.js +1 -0
- package/assets/esri/core/workers/chunks/f10ccb31ed05c14a1740.js +1 -0
- package/assets/esri/core/workers/chunks/f11f40017ec97a2a6b5f.js +29 -0
- package/assets/esri/core/workers/chunks/f3035559945bdd619544.js +1 -0
- package/assets/esri/core/workers/chunks/f3744b12a5d0d8ca8621.js +1 -0
- package/assets/esri/core/workers/chunks/f67b6f57d71ad09dca1f.js +1 -0
- package/assets/esri/core/workers/chunks/f7c84687a5e6e2072380.js +1 -0
- package/assets/esri/core/workers/chunks/f7ed22285229ff42e6ab.js +1 -0
- package/assets/esri/core/workers/chunks/f7f5d8256e63d303cbcb.js +1 -0
- package/assets/esri/core/workers/chunks/f86d64f0adc7e23950a1.js +1 -0
- package/assets/esri/core/workers/chunks/f87d5450190896e61ff8.js +1 -0
- package/assets/esri/core/workers/chunks/f91682e4545b47b2d260.js +1 -0
- package/assets/esri/core/workers/chunks/f97dc99afe3375fc8e16.js +1 -0
- package/assets/esri/core/workers/chunks/f9dfa94f63a024d1860e.js +1 -0
- package/assets/esri/core/workers/chunks/facfea0ae3e204829326.js +1 -0
- package/assets/esri/core/workers/chunks/fba428cd4731872a74db.js +1 -0
- package/assets/esri/core/workers/chunks/fd64556a54111b4f37dd.js +1 -0
- package/assets/esri/core/workers/chunks/fd94fe2527f360af121e.js +1 -0
- package/assets/esri/core/workers/chunks/fdee2255f49b43056e9d.js +1 -0
- package/assets/esri/core/workers/chunks/fe529524d1fca11e0f78.js +1 -0
- package/assets/esri/core/workers/chunks/fe811d651d201f698b8f.js +2 -0
- package/assets/esri/core/workers/chunks/ff1e614fde01781360fa.js +1 -0
- package/assets/esri/core/workers/chunks/ff7cd800558dd4aab51c.js +1 -0
- package/assets/esri/core/workers/chunks/ffac34a030dfe5cec258.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/chunks/CheckerBoard.glsl.js +1 -1
- package/chunks/ColorMaterial.glsl.js +2 -1
- package/chunks/Component.glsl.js +47 -47
- package/chunks/DefaultMaterial.glsl.js +4 -6
- package/chunks/ImageMaterial.glsl.js +1 -1
- package/chunks/LineCallout.glsl.js +1 -1
- package/chunks/LineMarker.glsl.js +2 -1
- package/chunks/MeasurementArrow.glsl.js +1 -1
- package/chunks/NativeLine.glsl.js +1 -1
- package/chunks/Path.glsl.js +2 -2
- package/chunks/Pattern.glsl.js +1 -1
- package/chunks/RealisticTree.glsl.js +1 -1
- package/chunks/RibbonLine.glsl.js +1 -1
- package/chunks/SlicePlaneMaterial.glsl.js +1 -1
- package/chunks/Terrain.glsl.js +1 -1
- package/chunks/Water.glsl.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/config.js +1 -1
- package/core/Logger.js +1 -1
- package/core/libs/gl-matrix-2/math/quat.js +1 -1
- package/core/workers/Connection.d.ts +3 -9
- package/core/workers/WorkerFallback.js +2 -4
- package/core/workers/WorkerOwner.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/core/workers/workers.js +1 -1
- package/core/workers.d.ts +1 -14
- package/form/FormTemplate.js +1 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/support/curves/bezierCurveUtils.js +1 -1
- package/geometry/support/curves/ellipticArc7Utils.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/interfaces.d.ts +1 -7
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/ParquetLayer.d.ts +2 -3
- package/layers/VectorTileLayer.js +1 -1
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/raster/formats/Raw.js +1 -1
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/AggregateFieldsIndex.js +1 -1
- package/layers/support/FieldCollector.js +2 -0
- package/layers/support/fieldUtils.d.ts +214 -1
- package/layers/support/fieldUtils.js +1 -1
- package/layers/support/relativeTimeQueryUtils.js +1 -1
- package/layers/support/types.d.ts +1 -2
- package/legend/ActiveLayerInfo.js +1 -1
- package/legend/LegendModel.js +1 -1
- package/legend/types.d.ts +15 -1
- package/package.json +2 -2
- package/renderers/ClassBreaksRenderer.js +1 -1
- package/renderers/DictionaryRenderer.js +1 -1
- package/renderers/DotDensityRenderer.js +1 -1
- package/renderers/HeatmapRenderer.js +1 -1
- package/renderers/PieChartRenderer.js +1 -1
- package/renderers/Renderer.js +1 -1
- package/renderers/SimpleRenderer.js +1 -1
- package/renderers/UniqueValueRenderer.js +1 -1
- package/renderers/mixins/VisualVariablesMixin.js +1 -1
- package/rest/print.js +1 -1
- package/symbols/CIMSymbol.js +1 -1
- package/symbols/Symbol.js +1 -1
- package/symbols/cim/Rasterizer.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/support/FeatureExpressionInfo.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/ComputedMarkerParams.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/interactive/editingTools/GraphicTransformTarget.js +2 -0
- package/views/2d/interactive/editingTools/MediaElementTransformTarget.js +2 -0
- package/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/interactive/editingTools.js +1 -1
- package/views/2d/layers/support/MediaLayerInteraction.js +1 -1
- package/views/3d/glTF/internal/TextureTransformUtils.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/layers/support/SceneLayerViewRequiredFields.js +1 -1
- package/views/3d/layers/support/createFeatureFilterHighlight.js +1 -1
- package/views/3d/support/engineContent/line.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentDrawParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +8 -8
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/evaluateSceneLightingFragment.glsl.js +3 -2
- package/views/3d/webgl-engine/effects/snowcover/applySnow.glsl.js +4 -2
- package/views/3d/webgl-engine/lib/BufferGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/GLTextureMaterial.js +1 -1
- package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
- package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/ribbonLineBufferUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +14 -13
- package/views/interactive/keybindings.d.ts +67 -0
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/support/GridControls/GridControlsViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/00620a90b32352bcdc71.js +0 -1
- package/assets/esri/core/workers/chunks/01a24ae6e3d730e193e2.js +0 -1
- package/assets/esri/core/workers/chunks/0284f608d25c654fcc11.js +0 -1
- package/assets/esri/core/workers/chunks/02debe67e6fef9d88bdd.js +0 -1
- package/assets/esri/core/workers/chunks/02feb2550b6878e62e2d.js +0 -1
- package/assets/esri/core/workers/chunks/035204000954973b0ebc.js +0 -1
- package/assets/esri/core/workers/chunks/04a1d08c3b5b1dc7628f.js +0 -1
- package/assets/esri/core/workers/chunks/05225506fdba0c827407.js +0 -1
- package/assets/esri/core/workers/chunks/0523f893870a1546d7d9.js +0 -1
- package/assets/esri/core/workers/chunks/06101f3da5e2fc708402.js +0 -1
- package/assets/esri/core/workers/chunks/06326c8cbe0d644eca16.js +0 -1
- package/assets/esri/core/workers/chunks/075fe33152fd79fe6d72.js +0 -1
- package/assets/esri/core/workers/chunks/077b755688346e0dc8d3.js +0 -1
- package/assets/esri/core/workers/chunks/0864da8f8f147016cf1c.js +0 -1
- package/assets/esri/core/workers/chunks/08fe248e412bb170210d.js +0 -1
- package/assets/esri/core/workers/chunks/090a7d0b0128d20879be.js +0 -1
- package/assets/esri/core/workers/chunks/0979a48905742486f222.js +0 -1
- package/assets/esri/core/workers/chunks/0ac4a3029ba17a9e2492.js +0 -1
- package/assets/esri/core/workers/chunks/0ae2933ab9b4a6ca56f2.js +0 -1
- package/assets/esri/core/workers/chunks/0b480583373b69773333.js +0 -1
- package/assets/esri/core/workers/chunks/0b6941781e35ce0f7274.js +0 -1
- package/assets/esri/core/workers/chunks/0bfc4e7640058811e10c.js +0 -1
- package/assets/esri/core/workers/chunks/0c1d8e0c2eae21f97fc0.js +0 -1
- package/assets/esri/core/workers/chunks/0da6abe3ceabfe78f7a0.js +0 -1
- package/assets/esri/core/workers/chunks/0dc1ac5531f7c8854686.js +0 -1
- package/assets/esri/core/workers/chunks/0e57bac610d41c7c9ad4.js +0 -1
- package/assets/esri/core/workers/chunks/0fda0d8b0eaeed2ab39d.js +0 -1
- package/assets/esri/core/workers/chunks/10ad7b35b6800d40444e.js +0 -1
- package/assets/esri/core/workers/chunks/116293b1ee788a89ce1e.js +0 -1
- package/assets/esri/core/workers/chunks/11877d4dc97f756e4711.js +0 -1
- package/assets/esri/core/workers/chunks/11e313dfca2579e68419.js +0 -1
- package/assets/esri/core/workers/chunks/12a08d0ad0f5fea32642.js +0 -1
- package/assets/esri/core/workers/chunks/13b40a611224ff5f4697.js +0 -1
- package/assets/esri/core/workers/chunks/13c64087be3b2985a21b.js +0 -1
- package/assets/esri/core/workers/chunks/14ef986665b4a1f6ccdc.js +0 -1
- package/assets/esri/core/workers/chunks/158cbf4075d3eca83a6a.js +0 -1
- package/assets/esri/core/workers/chunks/15a18c803a3aafa9a65b.js +0 -1
- package/assets/esri/core/workers/chunks/15a7a3264915fc8d3188.js +0 -1
- package/assets/esri/core/workers/chunks/15f2b27b8edc0d53e399.js +0 -1
- package/assets/esri/core/workers/chunks/162de06e54c0f9cba012.js +0 -1
- package/assets/esri/core/workers/chunks/17c6d66b47aa690df0d4.js +0 -1
- package/assets/esri/core/workers/chunks/17f99b130384c1ff2e01.js +0 -1
- package/assets/esri/core/workers/chunks/181d24ced5ef6b1f959b.js +0 -1
- package/assets/esri/core/workers/chunks/18e7fa4d3e0b1a084cc6.js +0 -1
- package/assets/esri/core/workers/chunks/1ae0c9345626e70affd3.js +0 -2
- package/assets/esri/core/workers/chunks/1c61ced6079443fc0ce8.js +0 -1
- package/assets/esri/core/workers/chunks/1c94d4d79952dc4067be.js +0 -1
- package/assets/esri/core/workers/chunks/1ca9f823caff691e964d.js +0 -1
- package/assets/esri/core/workers/chunks/1d9b0db37d5f3819ffca.js +0 -1
- package/assets/esri/core/workers/chunks/1e37337f47f45d6d8005.js +0 -1
- package/assets/esri/core/workers/chunks/1eaaa896eea3f2ffe6a6.js +0 -1
- package/assets/esri/core/workers/chunks/1f51567f47c2e2fc8a23.js +0 -1
- package/assets/esri/core/workers/chunks/200da109115eab8b2480.js +0 -1
- package/assets/esri/core/workers/chunks/2050c844b5a29b1df28a.js +0 -1
- package/assets/esri/core/workers/chunks/21939ef53bc71b42370f.js +0 -1
- package/assets/esri/core/workers/chunks/21a4c3d8265aca775616.js +0 -1
- package/assets/esri/core/workers/chunks/230189a28552ab00546d.js +0 -1
- package/assets/esri/core/workers/chunks/23fff0505e02fd364909.js +0 -1
- package/assets/esri/core/workers/chunks/244ffdb91237d1cbade3.js +0 -1
- package/assets/esri/core/workers/chunks/24bdeafbb16ae83bb8c3.js +0 -1
- package/assets/esri/core/workers/chunks/2515ce2ef279cdd4d5fa.js +0 -1
- package/assets/esri/core/workers/chunks/2671035cc08027185737.js +0 -1
- package/assets/esri/core/workers/chunks/271ae7deccb94112c2df.js +0 -1
- package/assets/esri/core/workers/chunks/27a5c6be4f847900d6ed.js +0 -1
- package/assets/esri/core/workers/chunks/27f0bbde1e9fa3f06d46.js +0 -1
- package/assets/esri/core/workers/chunks/286e3e050b29e6158e6f.js +0 -1
- package/assets/esri/core/workers/chunks/29a437a2b7b3a9b3e104.js +0 -1
- package/assets/esri/core/workers/chunks/2a224bc845c9bf682c54.js +0 -1
- package/assets/esri/core/workers/chunks/2a8168e109caa87d596f.js +0 -1
- package/assets/esri/core/workers/chunks/2ad69cc496235702bbf2.js +0 -1
- package/assets/esri/core/workers/chunks/2b06e8507d71c4d9b5b5.js +0 -1
- package/assets/esri/core/workers/chunks/2b4dd42920d37b1ff0a9.js +0 -2
- package/assets/esri/core/workers/chunks/2bdd5f0e0364b9e5f52b.js +0 -1
- package/assets/esri/core/workers/chunks/2c619c50cdcc37652c0b.js +0 -1
- package/assets/esri/core/workers/chunks/2c7f3fb74a076acf9b30.js +0 -1
- package/assets/esri/core/workers/chunks/2e9a1673b1d51aa082b6.js +0 -1
- package/assets/esri/core/workers/chunks/2e9d2f0a4e3c84d2ac2e.js +0 -1
- package/assets/esri/core/workers/chunks/30c5b584e8658b2b3607.js +0 -1
- package/assets/esri/core/workers/chunks/30e20461958951a31a5c.js +0 -1
- package/assets/esri/core/workers/chunks/31ef7b7074b3e3829763.js +0 -1
- package/assets/esri/core/workers/chunks/32b9bedd4bb0504f0b1d.js +0 -1
- package/assets/esri/core/workers/chunks/32ba94e59b411d3ff063.js +0 -1
- package/assets/esri/core/workers/chunks/3463b52d633a9336af28.js +0 -1
- package/assets/esri/core/workers/chunks/348f1def9cd2ddf92e87.js +0 -1
- package/assets/esri/core/workers/chunks/348f28d7ab46df878c6f.js +0 -1
- package/assets/esri/core/workers/chunks/3537fe95b83a13b156cc.js +0 -1
- package/assets/esri/core/workers/chunks/35426786de409d42a87f.js +0 -1
- package/assets/esri/core/workers/chunks/359ab29c4509dce0ffbd.js +0 -1
- package/assets/esri/core/workers/chunks/35f8896b52adaf952657.js +0 -1
- package/assets/esri/core/workers/chunks/365825c51fad1bb7f51f.js +0 -1
- package/assets/esri/core/workers/chunks/369780276b2755361f7d.js +0 -1
- package/assets/esri/core/workers/chunks/377158a19c9d6ef11387.js +0 -1
- package/assets/esri/core/workers/chunks/394b329e64d880cdb500.js +0 -1
- package/assets/esri/core/workers/chunks/39c23a52d7c3e1ee121c.js +0 -1
- package/assets/esri/core/workers/chunks/3a295fab549ae3caf9df.js +0 -1
- package/assets/esri/core/workers/chunks/3a3b57abfb92494cac84.js +0 -1
- package/assets/esri/core/workers/chunks/3a8320a40916c755c031.js +0 -1
- package/assets/esri/core/workers/chunks/3bb1e06861cd0563ed9f.js +0 -1
- package/assets/esri/core/workers/chunks/3cbb3c4e0e60a874ac6d.js +0 -1
- package/assets/esri/core/workers/chunks/3e67d50a2b2f8f837831.js +0 -29
- package/assets/esri/core/workers/chunks/3f92afa58c895bf87e62.js +0 -1
- package/assets/esri/core/workers/chunks/3fe04f13215474accb09.js +0 -1
- package/assets/esri/core/workers/chunks/3fe4c89acd325d36618d.js +0 -1
- package/assets/esri/core/workers/chunks/40748b846cf6923478c9.js +0 -1
- package/assets/esri/core/workers/chunks/4136c4de42b8818e2710.js +0 -1
- package/assets/esri/core/workers/chunks/41d674e73b57c8abe838.js +0 -1
- package/assets/esri/core/workers/chunks/422784ceae0d511868a0.js +0 -1
- package/assets/esri/core/workers/chunks/425347186c279bcc595c.js +0 -1
- package/assets/esri/core/workers/chunks/42eec0421e3663019549.js +0 -1
- package/assets/esri/core/workers/chunks/434a7ef5b25d83593b50.js +0 -1
- package/assets/esri/core/workers/chunks/4521f72ab0ea872e5d7c.js +0 -1
- package/assets/esri/core/workers/chunks/46d0db736c6e7decbcf6.js +0 -1
- package/assets/esri/core/workers/chunks/474015def9652ddf0640.js +0 -1
- package/assets/esri/core/workers/chunks/478a89317a12e9b4d146.js +0 -1
- package/assets/esri/core/workers/chunks/47af220003adfca2167e.js +0 -1
- package/assets/esri/core/workers/chunks/4869e097261ded90b8bb.js +0 -1
- package/assets/esri/core/workers/chunks/489b37c459e1af116aeb.js +0 -1
- package/assets/esri/core/workers/chunks/49c21c11621ff077e401.js +0 -1
- package/assets/esri/core/workers/chunks/4a8903fb1a5d30a68df9.js +0 -1
- package/assets/esri/core/workers/chunks/4ba856605f711b615e4c.js +0 -1
- package/assets/esri/core/workers/chunks/4d62877f521cc9663535.js +0 -1
- package/assets/esri/core/workers/chunks/4d7063c4152953afb859.js +0 -1
- package/assets/esri/core/workers/chunks/4d818b231e6d1fa73cc5.js +0 -1
- package/assets/esri/core/workers/chunks/4eab4e74c6a479c5f930.js +0 -1
- package/assets/esri/core/workers/chunks/4f3e0d583cfa9d1d6727.js +0 -2
- package/assets/esri/core/workers/chunks/4f4bc4f809b8936cd010.js +0 -1
- package/assets/esri/core/workers/chunks/4f8a915795f107b772c5.js +0 -1
- package/assets/esri/core/workers/chunks/503ee206e7de1f65e291.js +0 -1
- package/assets/esri/core/workers/chunks/50b8b1cce0a5f77c8372.js +0 -1
- package/assets/esri/core/workers/chunks/52a0aa2d19a495e48ab1.js +0 -1
- package/assets/esri/core/workers/chunks/5565b4e7c31d31a7e546.js +0 -1
- package/assets/esri/core/workers/chunks/561c48cb4d49b150765b.js +0 -1
- package/assets/esri/core/workers/chunks/5622f3faa59434772857.js +0 -1
- package/assets/esri/core/workers/chunks/5736feefa261589b6273.js +0 -1
- package/assets/esri/core/workers/chunks/5744c7350e4e2eb73aa9.js +0 -1
- package/assets/esri/core/workers/chunks/5788c5ab258b36c8a897.js +0 -1
- package/assets/esri/core/workers/chunks/57e0bf4be8a166d5b1eb.js +0 -1
- package/assets/esri/core/workers/chunks/5864bce1498a13ee5b7e.js +0 -2
- package/assets/esri/core/workers/chunks/590fe0f56bc4c33a50e7.js +0 -1
- package/assets/esri/core/workers/chunks/5b1cebae74c7214ccda9.js +0 -1
- package/assets/esri/core/workers/chunks/5b3db2c40feaefb7cbc0.js +0 -1
- package/assets/esri/core/workers/chunks/5ba40e98e9300d1ebc85.js +0 -1
- package/assets/esri/core/workers/chunks/5be386b3af867b19ff39.js +0 -1
- package/assets/esri/core/workers/chunks/5c2e79f2ca401741bf3e.js +0 -1
- package/assets/esri/core/workers/chunks/5c3aa8386705c5e40358.js +0 -1
- package/assets/esri/core/workers/chunks/5c9ab86bec07264dc9f2.js +0 -1
- package/assets/esri/core/workers/chunks/5e6d6676a5c47c0e132a.js +0 -1
- package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +0 -1
- package/assets/esri/core/workers/chunks/60137300db0e0c3caf13.js +0 -1
- package/assets/esri/core/workers/chunks/6061232c96e11eb7b25d.js +0 -1
- package/assets/esri/core/workers/chunks/606ea251075fe81a1206.js +0 -1
- package/assets/esri/core/workers/chunks/608be1172a908e92b9f1.js +0 -1
- package/assets/esri/core/workers/chunks/6268aadb24e0b7c8d207.js +0 -1
- package/assets/esri/core/workers/chunks/62a0abcf45a2bd14ecbe.js +0 -1
- package/assets/esri/core/workers/chunks/63d2645a744dce469bbb.js +0 -1
- package/assets/esri/core/workers/chunks/64382363d6dc04ff1eac.js +0 -1
- package/assets/esri/core/workers/chunks/649e4ecb1d9e6da3fcd7.js +0 -1
- package/assets/esri/core/workers/chunks/6604272ef6fe85279032.js +0 -1
- package/assets/esri/core/workers/chunks/6637fb99033bfa7646d4.js +0 -1
- package/assets/esri/core/workers/chunks/66539ab0d88b47326ce9.js +0 -1
- package/assets/esri/core/workers/chunks/67f54efc817b241f8746.js +0 -1
- package/assets/esri/core/workers/chunks/68b4ce0b2e754ac2e552.js +0 -1
- package/assets/esri/core/workers/chunks/69b73251257088ce7099.js +0 -1
- package/assets/esri/core/workers/chunks/69c338d1d359075371bc.js +0 -1
- package/assets/esri/core/workers/chunks/6b646971cc15e33a9f33.js +0 -1
- package/assets/esri/core/workers/chunks/6cd17c3a254a0b5c2476.js +0 -1
- package/assets/esri/core/workers/chunks/6d863761f29f31a030eb.js +0 -1
- package/assets/esri/core/workers/chunks/7027a0e7bfabb3bb7fc2.js +0 -1
- package/assets/esri/core/workers/chunks/711cfb84659cb4437679.js +0 -1
- package/assets/esri/core/workers/chunks/72020d86e3fc7ecc139f.js +0 -1
- package/assets/esri/core/workers/chunks/72f4dad65e16a7d7c58f.js +0 -1
- package/assets/esri/core/workers/chunks/72f716a841463e0ba23f.js +0 -1
- package/assets/esri/core/workers/chunks/73ab4f0275a85b9671ec.js +0 -1
- package/assets/esri/core/workers/chunks/751a21288cf161b94a54.js +0 -1
- package/assets/esri/core/workers/chunks/7672c123cfb960f4ddad.js +0 -1
- package/assets/esri/core/workers/chunks/76dc8e3264a456f33e61.js +0 -1
- package/assets/esri/core/workers/chunks/77463141652bf1ca6fb2.js +0 -1
- package/assets/esri/core/workers/chunks/776b64a1e1a57878c34c.js +0 -1
- package/assets/esri/core/workers/chunks/77d80b6d65d761214a7c.js +0 -1
- package/assets/esri/core/workers/chunks/792d2b62356a1d953c88.js +0 -1
- package/assets/esri/core/workers/chunks/79483c05867ba1386f5a.js +0 -1
- package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +0 -1
- package/assets/esri/core/workers/chunks/7b7208237123e948f170.js +0 -1
- package/assets/esri/core/workers/chunks/7c75a8ee266c36baa902.js +0 -1
- package/assets/esri/core/workers/chunks/7d866911d1171d25ca78.js +0 -1
- package/assets/esri/core/workers/chunks/7db9e615e60d824eac1b.js +0 -1
- package/assets/esri/core/workers/chunks/7ddbde8fdd1cf3c53f50.js +0 -1
- package/assets/esri/core/workers/chunks/7eddde6c4249f46c67f3.js +0 -1
- package/assets/esri/core/workers/chunks/8102f0bf5707c3be3310.js +0 -1
- package/assets/esri/core/workers/chunks/8140ed6e44c3d8536d3e.js +0 -1
- package/assets/esri/core/workers/chunks/82160bd873cdb5a23557.js +0 -1
- package/assets/esri/core/workers/chunks/82e238375582f90dc94c.js +0 -1
- package/assets/esri/core/workers/chunks/831d896587d10fb689dc.js +0 -1
- package/assets/esri/core/workers/chunks/834bbda7719b04301f74.js +0 -1
- package/assets/esri/core/workers/chunks/835ccd95f2d312ecda5a.js +0 -1
- package/assets/esri/core/workers/chunks/8385bede56cc95d1a388.js +0 -1
- package/assets/esri/core/workers/chunks/85cd525705eec6803dd3.js +0 -1
- package/assets/esri/core/workers/chunks/85ec73dcba4b922f1948.js +0 -1
- package/assets/esri/core/workers/chunks/8766832c7253557da8fe.js +0 -1
- package/assets/esri/core/workers/chunks/892fd2c3533ce46a9258.js +0 -1
- package/assets/esri/core/workers/chunks/89cc1a5539b82fb46216.js +0 -1
- package/assets/esri/core/workers/chunks/89e9ebc8d5c1022cb265.js +0 -1
- package/assets/esri/core/workers/chunks/8a8c9a3969b7016c20d9.js +0 -1
- package/assets/esri/core/workers/chunks/8c1ae93dae934aedc6dc.js +0 -1
- package/assets/esri/core/workers/chunks/8cc8d7ffe43f5947b04f.js +0 -1
- package/assets/esri/core/workers/chunks/8cddfdbab3ad3809462f.js +0 -1
- package/assets/esri/core/workers/chunks/8cec3f48e995aab3d62e.js +0 -1
- package/assets/esri/core/workers/chunks/8e7a3b1b088c160f4db7.js +0 -1
- package/assets/esri/core/workers/chunks/8f1dd383502432d8a039.js +0 -1
- package/assets/esri/core/workers/chunks/90a7cd7564f2a92199cc.js +0 -1
- package/assets/esri/core/workers/chunks/914a0b5d9fef683cdf9c.js +0 -1
- package/assets/esri/core/workers/chunks/921917e53bac82693ec8.js +0 -1
- package/assets/esri/core/workers/chunks/926e0a3827eaf16ca8b4.js +0 -1
- package/assets/esri/core/workers/chunks/92809b209b68abcb97ee.js +0 -1
- package/assets/esri/core/workers/chunks/929ca32ddbb43328ef31.js +0 -1
- package/assets/esri/core/workers/chunks/92b03de8a7686b164f60.js +0 -1
- package/assets/esri/core/workers/chunks/98957dba728c93506e50.js +0 -1
- package/assets/esri/core/workers/chunks/98e3f7ab4bfbabf0b952.js +0 -1
- package/assets/esri/core/workers/chunks/99a72b65afdcd3ee091a.js +0 -1
- package/assets/esri/core/workers/chunks/99ffb839407cb3c26ad8.js +0 -1
- package/assets/esri/core/workers/chunks/9b048f80c2d28d527373.js +0 -1
- package/assets/esri/core/workers/chunks/9b517c8d26a86dedb921.js +0 -1
- package/assets/esri/core/workers/chunks/9bb90097368b200fa730.js +0 -1
- package/assets/esri/core/workers/chunks/9bf77f92760aacbd636f.js +0 -1
- package/assets/esri/core/workers/chunks/9c2436464b7dfd666678.js +0 -1
- package/assets/esri/core/workers/chunks/9c3f56f22e9baa80a387.js +0 -1
- package/assets/esri/core/workers/chunks/9d0ee6a816bb72068ab1.js +0 -1
- package/assets/esri/core/workers/chunks/9e7622379d777ea88018.js +0 -1
- package/assets/esri/core/workers/chunks/9fb4c10d5b3e32bc86e9.js +0 -1
- package/assets/esri/core/workers/chunks/a02c3c23bd87e0470b8b.js +0 -1
- package/assets/esri/core/workers/chunks/a1602995ef96beb7df29.js +0 -1
- package/assets/esri/core/workers/chunks/a553478664a688f32488.js +0 -1
- package/assets/esri/core/workers/chunks/a83815c028c9c80aa4c9.js +0 -1
- package/assets/esri/core/workers/chunks/a8bedc53d4a316953108.js +0 -1
- package/assets/esri/core/workers/chunks/a8fbef765a6fb68e1115.js +0 -1
- package/assets/esri/core/workers/chunks/a95186214f1206efd8ed.js +0 -1
- package/assets/esri/core/workers/chunks/aa4f3751f0d830113bed.js +0 -1
- package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +0 -1
- package/assets/esri/core/workers/chunks/aaac620f93a20fbd3f08.js +0 -1
- package/assets/esri/core/workers/chunks/ab60e8fbe0f92340616a.js +0 -1
- package/assets/esri/core/workers/chunks/ab684cce869973ea71cf.js +0 -1
- package/assets/esri/core/workers/chunks/aba42885c5d6b2b5fe7f.js +0 -1
- package/assets/esri/core/workers/chunks/ac10c7d2c4829a150037.js +0 -1
- package/assets/esri/core/workers/chunks/ac69c0fd5867b493f1d2.js +0 -1
- package/assets/esri/core/workers/chunks/ad787100602e18dde650.js +0 -1
- package/assets/esri/core/workers/chunks/ae29fec228e70a93ced1.js +0 -1
- package/assets/esri/core/workers/chunks/ae40eac1eadd1a537bf4.js +0 -1
- package/assets/esri/core/workers/chunks/ae70972bf88d586fd453.js +0 -1
- package/assets/esri/core/workers/chunks/af3c6794334626b94f00.js +0 -1
- package/assets/esri/core/workers/chunks/af70a81620203c030f5b.js +0 -1
- package/assets/esri/core/workers/chunks/afc8a9847f31bb66b13b.js +0 -1
- package/assets/esri/core/workers/chunks/b021fa4654ede1d04279.js +0 -1
- package/assets/esri/core/workers/chunks/b10850c48f4eee60b8a9.js +0 -1
- package/assets/esri/core/workers/chunks/b18459c1bed75dbdec08.js +0 -1
- package/assets/esri/core/workers/chunks/b25104337f2495a4296a.js +0 -1
- package/assets/esri/core/workers/chunks/b2d922ecc2c4899dbee1.js +0 -1
- package/assets/esri/core/workers/chunks/b3707d2cd2f4b2f70889.js +0 -1
- package/assets/esri/core/workers/chunks/b3801d58c024224917df.js +0 -1
- package/assets/esri/core/workers/chunks/b3c0c9c91bcdbbb8e719.js +0 -1
- package/assets/esri/core/workers/chunks/b4928831a2a13b2da745.js +0 -1
- package/assets/esri/core/workers/chunks/b6a82775b83d20599635.js +0 -1
- package/assets/esri/core/workers/chunks/b6d365b9198b74b05338.js +0 -1
- package/assets/esri/core/workers/chunks/b6d71a4ab788a09714f3.js +0 -1
- package/assets/esri/core/workers/chunks/b89b634e9d38b5a51d33.js +0 -1
- package/assets/esri/core/workers/chunks/b976122bcd4e2170afaf.js +0 -1
- package/assets/esri/core/workers/chunks/bb6573d794bbe670216a.js +0 -1
- package/assets/esri/core/workers/chunks/bc21241bc9acb83d1b1c.js +0 -1
- package/assets/esri/core/workers/chunks/bdd76a0b6c14e7fb6984.js +0 -1
- package/assets/esri/core/workers/chunks/be11cec9979ed5e9738e.js +0 -1
- package/assets/esri/core/workers/chunks/c063de8f57a393280c39.js +0 -1
- package/assets/esri/core/workers/chunks/c473c8b480de9802711b.js +0 -1
- package/assets/esri/core/workers/chunks/c5bf19da62a3d31009fe.js +0 -2
- package/assets/esri/core/workers/chunks/c67ce7896789ac7275b2.js +0 -1
- package/assets/esri/core/workers/chunks/c752f1e732bb019f657d.js +0 -1
- package/assets/esri/core/workers/chunks/c75cc72a306a617d9cd8.js +0 -1
- package/assets/esri/core/workers/chunks/c85336a50a4994a2a7eb.js +0 -1
- package/assets/esri/core/workers/chunks/c9e7d4c277fbc82c4438.js +0 -1
- package/assets/esri/core/workers/chunks/cc817c9d3f8e8f8c56e4.js +0 -1
- package/assets/esri/core/workers/chunks/ccb0046b883286e65429.js +0 -1
- package/assets/esri/core/workers/chunks/ccb55245fe49d844ec50.js +0 -1
- package/assets/esri/core/workers/chunks/cdf0c7706d3e1221f49b.js +0 -1
- package/assets/esri/core/workers/chunks/cf684026e7f1ab7df4f7.js +0 -1
- package/assets/esri/core/workers/chunks/d0172d31389dbfaaa848.js +0 -1
- package/assets/esri/core/workers/chunks/d19ac8368bb769fa5fba.js +0 -1
- package/assets/esri/core/workers/chunks/d26c9db8c0a772d0923c.js +0 -1
- package/assets/esri/core/workers/chunks/d31f6598b76380e8688a.js +0 -1
- package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +0 -1
- package/assets/esri/core/workers/chunks/d3cd09b2d78ce9f2ea42.js +0 -1
- package/assets/esri/core/workers/chunks/d4028536542db8b623cc.js +0 -1
- package/assets/esri/core/workers/chunks/d4eb24c82087a74ae670.js +0 -1
- package/assets/esri/core/workers/chunks/d4fe26716c4eca13d493.js +0 -1
- package/assets/esri/core/workers/chunks/d5916500514a41a4758f.js +0 -1
- package/assets/esri/core/workers/chunks/d63e181f0e48bde73395.js +0 -1
- package/assets/esri/core/workers/chunks/d7270a2db6f3bfcf0565.js +0 -1
- package/assets/esri/core/workers/chunks/d77888c84a8b49478807.js +0 -1
- package/assets/esri/core/workers/chunks/d85d1064ba87ea1b1410.js +0 -1
- package/assets/esri/core/workers/chunks/d8b9d14f8d3e82ad26dc.js +0 -1
- package/assets/esri/core/workers/chunks/d99d5aa04e2d74ef57a7.js +0 -1
- package/assets/esri/core/workers/chunks/d9e75266ac28f934eb61.js +0 -1
- package/assets/esri/core/workers/chunks/db1f7b2562de495b3401.js +0 -2
- package/assets/esri/core/workers/chunks/dbf37b1c4e0567d9fb32.js +0 -1
- package/assets/esri/core/workers/chunks/dc9792b2aa55975b8a95.js +0 -1
- package/assets/esri/core/workers/chunks/dca0e2505a6cbef6f7f5.js +0 -1
- package/assets/esri/core/workers/chunks/dcc782e4bf9e8a8202f9.js +0 -1
- package/assets/esri/core/workers/chunks/dd7e4c94a88452425750.js +0 -1
- package/assets/esri/core/workers/chunks/ddaa8f8098e4a663e4e5.js +0 -1
- package/assets/esri/core/workers/chunks/ddb4689624d091922471.js +0 -1
- package/assets/esri/core/workers/chunks/de3f140058aa0b907b65.js +0 -1
- package/assets/esri/core/workers/chunks/df375d1b0dab5ecbd1be.js +0 -1
- package/assets/esri/core/workers/chunks/df88bb9117967fe72eb4.js +0 -1
- package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +0 -1
- package/assets/esri/core/workers/chunks/dfc6b33f51dc81f3a7be.js +0 -1
- package/assets/esri/core/workers/chunks/e0650b1408197d3ac862.js +0 -1
- package/assets/esri/core/workers/chunks/e0a37d3bcb9a944e53dd.js +0 -1
- package/assets/esri/core/workers/chunks/e1f5da51115472347b55.js +0 -1
- package/assets/esri/core/workers/chunks/e209cb1f3f14bf576ebe.js +0 -1
- package/assets/esri/core/workers/chunks/e2535c83b97725e89256.js +0 -1
- package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +0 -1
- package/assets/esri/core/workers/chunks/e2ebf0ea3af2e6907987.js +0 -1
- package/assets/esri/core/workers/chunks/e4e2edfdc85dd14e66d4.js +0 -1
- package/assets/esri/core/workers/chunks/e55934eb4a17a5b24c94.js +0 -1
- package/assets/esri/core/workers/chunks/e5bdfef7c2cc5354be52.js +0 -1
- package/assets/esri/core/workers/chunks/e7719bfbc5875a515a2b.js +0 -1
- package/assets/esri/core/workers/chunks/eaa0e906b46ae4c84d72.js +0 -2
- package/assets/esri/core/workers/chunks/ead49b513e070951a964.js +0 -1
- package/assets/esri/core/workers/chunks/eb2652ec48faa78de3c5.js +0 -1
- package/assets/esri/core/workers/chunks/ec88631b5033c19f569e.js +0 -1
- package/assets/esri/core/workers/chunks/ee6679ef9efa1504e7eb.js +0 -1
- package/assets/esri/core/workers/chunks/ef8f9b61b829c3bdf999.js +0 -1
- package/assets/esri/core/workers/chunks/ef9740c4d1bd808af38a.js +0 -1
- package/assets/esri/core/workers/chunks/efcd38aad9aa667001b2.js +0 -1
- package/assets/esri/core/workers/chunks/f0b897319ca8578df63f.js +0 -1
- package/assets/esri/core/workers/chunks/f1c2f7c7ce4bd4096eb0.js +0 -1
- package/assets/esri/core/workers/chunks/f1e87e3ff65d8594e6b3.js +0 -1
- package/assets/esri/core/workers/chunks/f36376b126c80d0983fb.js +0 -1
- package/assets/esri/core/workers/chunks/f3ca7fa35eb8d55f5907.js +0 -1
- package/assets/esri/core/workers/chunks/f497968055af459c5da4.js +0 -1
- package/assets/esri/core/workers/chunks/f4d714d0a1a513861704.js +0 -1
- package/assets/esri/core/workers/chunks/f4e63c5f82b8c2bbfacb.js +0 -1
- package/assets/esri/core/workers/chunks/f7123ba1286f64e13e91.js +0 -1
- package/assets/esri/core/workers/chunks/f7f73de8c63924e347ab.js +0 -1
- package/assets/esri/core/workers/chunks/f91e36a104e84d985517.js +0 -1
- package/assets/esri/core/workers/chunks/f9259dc1d78d762c6ac0.js +0 -1
- package/assets/esri/core/workers/chunks/fa5d4b9a098441ebf505.js +0 -1
- package/assets/esri/core/workers/chunks/fc9d66fe2cc9e2d31964.js +0 -1
- package/assets/esri/core/workers/chunks/fcb4707c2e95099b9f30.js +0 -1
- package/assets/esri/core/workers/chunks/fccfe3aa45a2fb286012.js +0 -1
- package/assets/esri/core/workers/chunks/fe0248af95d3f37e099e.js +0 -1
- package/layers/support/ParquetPortalItemData.d.ts +0 -39
- package/layers/support/ParquetPortalItemData.js +0 -2
- /package/assets/esri/core/workers/chunks/{c5bf19da62a3d31009fe.js.LICENSE.txt → 07ce1d788ed1c9b926db.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{4f3e0d583cfa9d1d6727.js.LICENSE.txt → 4a41bf3d1e2e9bb79771.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{5864bce1498a13ee5b7e.js.LICENSE.txt → 70695e0fb53018d48e7b.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{2b4dd42920d37b1ff0a9.js.LICENSE.txt → 919115788da38049aea7.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{db1f7b2562de495b3401.js.LICENSE.txt → ced5dfb2bf46fc5eac8c.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{eaa0e906b46ae4c84d72.js.LICENSE.txt → d96e63d66f7b1f4ea54a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{1ae0c9345626e70affd3.js.LICENSE.txt → fe811d651d201f698b8f.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[919,1948,9821],{61691(e,t,r){r.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},29821(e,t,r){r.d(t,{OperatorCrosses:()=>n});var s=r(39117);class n extends s._{getOperatorType(){return 6}execute(e,t,r,n){return(0,s.$)(e,t,r,16,n)}}},76061(e,t,r){r.d(t,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(e,t,r){r.d(t,{JR:()=>O,ME:()=>M,MY:()=>F,NO:()=>C,Nh:()=>_,V2:()=>I,_s:()=>b,e6:()=>V,gh:()=>E,jm:()=>S,tr:()=>X,uX:()=>p});var s=r(32198),n=(r(69397),r(16930)),a=r(19419),i=r(60408),o=r(21325),l=r(513),h=r(50954),u=r(79567),g=r(52006),m=r(49663),f=r(46068),x=r(92722);class p{constructor({type:e,spatialReference:t,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:a,partCount:i,partOffsets:o,partFlags:l,segmentFlags:h,segmentIndices:u,segmentParams:g,segmentCountArc:m,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=a,this.partCount=i,this.partOffsets=o,this.partFlags=l,this.segmentFlags=h,this.segmentIndices=u,this.segmentParams=g,this.segmentCountArc=m,this.segmentCountBezier=f}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){let{segmentCount:e,segmentCountArc:t,segmentCountBezier:r}=this;return e&&e-t-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 e(e){return e?64+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){let{type:e,vertexCount:t,partCount:r,hasZ:s,hasM:n,segmentCountArc:a,segmentCountBezier:i}=this,o=I(e,t,r,s,n,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;let{vertexXY:l,vertexZ:h,vertexM:u}=this;if(o.vertexXY.set(l.subarray(0,2*t),0),o.vertexZ?.set(h.subarray(0,t),0),o.vertexM?.set(u.subarray(0,t),0),this.isMultipart()){let{partOffsets:e,partFlags:t}=this;o.partFlags.set(t.subarray(0,r+1)),o.partOffsets.set(e.subarray(0,r+1))}if(this.hasCurves()){let{segmentFlags:e,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(e.subarray(0,t),0),o.segmentIndices.set(r.subarray(0,t),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,o.aI)(this.spatialReference,e.spatialReference)||this.vertexCount!==e.vertexCount||this.partCount!==e.partCount||this.hasZ!==e.hasZ||this.hasM!==e.hasM||this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;let r=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,r)=>Math.abs(e-r)>t||isNaN(e)!==isNaN(r);for(let t=0;t<this.vertexCount;++t)if(r(this.vertexXY[2*t],e.vertexXY[2*t])||r(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(r(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return this.isMultipart()?new c(this):[][Symbol.iterator]()}}class c{constructor(e){this.geometry=e,this.value=new d(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(e){this.geometry=e,this.index=-1,this._readVertex=A(e),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){let e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class v{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this.value=new y(e.geometry)}get _partIsClosed(){return!!(1&this._part.geometry.partFlags?.[this._part.index])}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;let e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._partIsClosed?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){let{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._partIsClosed?1:2),this.value.indexOfStartVertex=this._partStart-1}}class y{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(e)}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(){let e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;let t=this.geometry.segmentParams,r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){let e=t[r++],s=t[r++],n=t[r++],a=t[r++];return{b:[this.end,[e,s],[n,a]]}}let s=t[r++],n=t[r++],a=t[r++],i=t[r++],o=t[r++],l=t[r++];r++,r++;let h=t[r++],u=t[r++];if(!(4&s)&&1===a)return{c:[this.end,[h,u]]};let g=2&s?0:1,m=1&s?0:1;return{a:[this.end,[o,l],g,m,i,n,a]}}}function C(e,t){let r={stack:[],error:void 0,hasError:!1};try{return t??=(0,a.Ie)(),(0,s.mS)(r,new R(e,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(t,function(e){let t,{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:o}=e,l=P(e);if(e.hasCurves()){let r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new R(e,["vertexZ","vertexM"]),!1);let n=(0,a.Ie)();for(let t of e.parts){let e=t.startVertex;for(let{curve:r}of t.segments)(0,u.e)(n,e,r),e=(0,g.yP)(r)}let[i,o,h,m]=n;t={xmin:i,ymin:o,xmax:h,ymax:m,spatialReference:l}}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}else{let e,s,a,i;e=s=1/0,a=i=-1/0;for(let t=0;t<r;++t){let r=n[2*t],o=n[2*t+1];e=Math.min(e,r),a=Math.max(a,r),s=Math.min(s,o),i=Math.max(i,o)}t={xmin:e,ymin:s,xmax:a,ymax:i,spatialReference:l}}if(i){let e=1/0,r=-1/0;for(let t of i)e=Math.min(e,t),r=Math.max(r,t);t.zmin=e,t.zmax=r}if(o){let e=1/0,r=-1/0;for(let t of o)e=Math.min(e,t),r=Math.max(r,t);t.mmin=e,t.mmax=r}return t}(e)),t}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}function M(e){let t,r,s;if((0,i.fT)(e)){s="point";let{x:n,y:a,z:i,m:o}=e,l=[n,a];null!=i&&l.push(i),null!=o&&l.push(o),r=[[l]],t=1}else(0,i.U9)(e)?(s="multipoint",r=[e.points],t=e.points.length):(0,i.Rg)(e)?(s="polyline",r=e.curvePaths??e.paths,t=r.reduce((e,t)=>e+t.length,0)):(s="polygon",r=e.curveRings??e.rings,t=r.reduce((e,t)=>(0===t.length||(e+=t.length,Z(t[0],(0,g.yP)(t.at(-1)))&&--e),e),0));let n=I(s,t,s.includes("point")?0:r.length,(0,i.Pv)(e),(0,i.W0)(e),(0,g.Ed)(e)),{hasZ:a,hasM:o,vertexXY:l,vertexZ:h,vertexM:u}=n;function m(e){l[2*x]=e[0],l[2*x+1]=e[1],a&&(h[x]=e[2]),o&&(u[x]=e[f]),++x}n.spatialReference=e.spatialReference??void 0;let f=n.hasZ?3:2,x=0;if(!n.isMultipart()){if(!a&&!o){for(let[e,t]of r[0])l[2*x]=e,l[2*x+1]=t,++x;return n}for(let e of r[0])m(e);return n}let p="polygon"===s,{partOffsets:c}=n,d=0;if(!(0,g.Ed)(e)){for(let e of r){if(c[d++]=x,0===e.length)continue;let t=e.length;if(p&&Z(e[0],e.at(-1))&&--t,a||o)for(let r=0;r<t;++r)m(e[r]);else for(let r=0;r<t;++r){let[t,s]=e[r];l[2*x]=t,l[2*x+1]=s,++x}}return c[d]=x,n}function v(e){let t=y+e;if(t<=(n.segmentParams?.length??0))return;let r=t*k;r=20*Math.ceil(r/20);let s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let y=0;for(let e of r){if(n.partOffsets[d++]=x,0===e.length)continue;let t=e[0],r=t;for(let t=1;t<e.length;++t){let s=e[t];m(r);let a=x-1;(0,g.wY)(s)?(v(10),++n.segmentCountArc,y=b(r,s,n,a,y),r=s.a[0]):(0,g.DA)(s)?(v(10),++n.segmentCountArc,y=Y(r,s,n,a,y),r=s.a[0]):(0,g.aO)(s)?(v(10),++n.segmentCountArc,y=V(r,s,n,a,y),r=s.c[0]):(0,g.n1)(s)?(v(4),++n.segmentCountBezier,y=X(0,s,n,a,y),r=s.b[0]):r=s}p&&Z(t,r)||m(r)}return n.partOffsets[d]=x,n}function E(e){let t=A(e),{vertexCount:r,partCount:s,hasZ:n,hasM:a}=e,i=P(e),o=0;if(!e.isMultipart()){if("point"===e.type){let[t,r]=e.vertexXY;return{x:t,y:r,z:e.vertexZ?.[0],m:e.vertexM?.[0],spatialReference:i}}let s=[];for(;o<r;)s.push(t(o++));return{points:s,spatialReference:i,hasZ:n,hasM:a}}if(!e.hasCurves()){let r=[];for(let n=0;n<s;++n){let s=!!(1&e.partFlags[n]),a=e.partOffsets[n+1],i=[];for(;o<a;)i.push(t(o++));s&&i.length>0&&i.push([...i[0]]),r.push(i)}return"polygon"===e.type?{rings:r,hasZ:n,hasM:a,spatialReference:i}:{paths:r,hasZ:n,hasM:a,spatialReference:i}}let l=[];for(let{segments:t,startVertex:r}of e.parts){let e=[r];for(let{curve:r}of t)e.push(r);l.push(e)}return"polygon"===e.type?{rings:[],curveRings:l,hasZ:n,hasM:a,spatialReference:i}:{paths:[],curvePaths:l,hasZ:n,hasM:a,spatialReference:i}}function _(e,{lengths:t,coords:r,hasZ:s,hasM:n},a){let i=e.includes("point")?0:t.length,o="polygon"===e,l="point"===e?1:t.reduce((e,t)=>e+t,0)-(o?i:0);s??=!1,n??=!1;let h=I(e,l,i,s,n,!1,0,0);if(h.spatialReference=a??void 0,!h.isMultipart()){for(let e=0,t=0;e<l;++e)h.vertexXY[2*e]=r[t++],h.vertexXY[2*e+1]=r[t++],s&&(h.vertexZ[e]=r[t++]),n&&(h.vertexM[e]=r[t++]);return h}let u=2+Number(s)+Number(n),g=0,m=0;h.partOffsets[0]=0;for(let e of t){let t=h.partOffsets[m],a=t+e-Number(o);h.partOffsets[++m]=a;for(let e=t;e<a;++e)h.vertexXY[2*e]=r[g++],h.vertexXY[2*e+1]=r[g++],s&&(h.vertexZ[e]=r[g++]),n&&(h.vertexM[e]=r[g++]);o&&(g+=u)}return h}function O({type:e,vertexCount:t,vertexXY:r,vertexZ:s,vertexM:n,partCount:a,partOffsets:i,partFlags:o,hasZ:l,hasM:h}){let u=new x.A([],[],l,h);a=Math.max(a,1);let g=0;for(let e=0;e<a;++e){let a=i?.[e+1]??t,m=u.coords.length;for(let e=g;e<a;++e)u.coords.push(r[2*e],r[2*e+1]),l&&u.coords.push(s[e]),h&&u.coords.push(n[e]);if(o&&1&o[e]){let e=g;u.coords.push(r[2*e],r[2*e+1]),l&&u.coords.push(s[e]),h&&u.coords.push(n[e])}u.lengths.push((u.coords.length-m)/u.stride),g=a}return"point"===e&&(u.lengths.length=0),u}function S(...e){let t=new Set;for(let r of e){if(!r)continue;let e=[r.vertexXY,r.vertexZ,r.vertexM,r.partOffsets,r.partFlags,r.segmentFlags,r.segmentIndices,r.segmentParams];for(let r of e){let e=r?.buffer;e&&t.add(e)}}return Array.from(t)}function F(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;let t=e.getText()||void 0,r=e.isCustomWkid()?0:e.getOldID();if(r<=0)return{wkt:t};let s=e.getLatestID();(s<=0||s===r)&&(s=void 0);let n=e.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:t};let a=n.isCustomWkid()?0:n.getOldID();if(a<=0)return{wkt:t};let i=e.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:r,wkt:t,latestWkid:s,vcsWkid:a,latestVcsWkid:i}}(e.getSpatialReference()),e=e.getGeometry()),new p({...e.toFlatGeometry(),spatialReference:t})}class R{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(let r of t)e[r]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function P({spatialReference:e}){return e instanceof n.A?e.toJSON():e}function A({vertexXY:e,vertexZ:t,vertexM:r}){return t?r?s=>[e[2*s],e[2*s+1],t[s],r[s]]:r=>[e[2*r],e[2*r+1],t[r]]:r?t=>[e[2*t],e[2*t+1],r[t]]:t=>[e[2*t],e[2*t+1]]}function Z(e,t){return e.every((e,r)=>e===t[r])}function I(e,t,r,s,n,a,i,o){i??=0,o??=0;let l=new p({type:e,vertexCount:t,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:i,segmentCountBezier:o}),h=2*Float64Array.BYTES_PER_ELEMENT*t;s&&(h+=Float64Array.BYTES_PER_ELEMENT*t),n&&(h+=Float64Array.BYTES_PER_ELEMENT*t),l.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),a&&(h+=t*Int8Array.BYTES_PER_ELEMENT,h+=t*Int32Array.BYTES_PER_ELEMENT,h+=l.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);let u=new ArrayBuffer(h),g=0;return l.vertexXY=new Float64Array(u,g,2*t),g+=l.vertexXY.byteLength,s&&(l.vertexZ=new Float64Array(u,g,t),g+=l.vertexZ.byteLength),n&&(l.vertexM=new Float64Array(u,g,t),g+=l.vertexM.byteLength),a&&(l.segmentParams=new Float64Array(u,g,l.segmentParamCount),g+=l.segmentParams.byteLength,l.segmentIndices=new Int32Array(u,g,t),l.segmentIndices.fill(N),g+=l.segmentIndices.byteLength),l.isMultipart()&&(l.partOffsets=new Int32Array(u,g,r+1),g+=l.partOffsets.byteLength,l.partFlags=new Int8Array(u,g,r+1),g+=l.partFlags.byteLength,"polygon"===l.type&&l.partFlags.subarray(0,r).fill(1)),a&&(l.segmentFlags=new Int8Array(u,g,t),l.segmentFlags.fill(1),g+=l.segmentFlags.byteLength),l}function b(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},a,i){r[a]=4,s[a]=i;let[o,[l,h],u,g,m,x,p]=t.a,c=4;g||(c|=1),u||(c|=2);let d=(0,f.SW)(e,t),[v,y]=(0,f.Uk)(d,.5);return n[i++]=c,n[i++]=x,n[i++]=p,n[i++]=m,n[i++]=l,n[i++]=h,n[i++]=d.u2-d.u1,n[i++]=d.u1,n[i++]=v,n[i++]=y,i}function Y(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},a,i){r[a]=4,s[a]=i;let o=(0,m.io)(e,t);return w(o,4,...(0,l.mq)(o,.5),n,i)}function V(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},a,i){return r[a]=4,s[a]=i,w((0,h.pM)(e,t),0,...t.c[1],n,i)}function w(e,t,r,s,n,a){let{cx:i,cy:o,thetaStart:l,thetaEnd:h,radius:u}=e;return l>h||(t|=1),Math.abs(h-l)<=Math.PI||(t|=2),n[a++]=t,n[a++]=u,n[a++]=1,n[a++]=0,n[a++]=i,n[a++]=o,n[a++]=h-l,n[a++]=l,n[a++]=r,n[a++]=s,a}function X(e,{b:[t,[r,s],[n,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:l},h,u){return i[h]=2,o[h]=u,l[u++]=r,l[u++]=s,l[u++]=n,l[u++]=a,u}const k=1.61803,N=-1},87778(e,t,r){r.d(t,{crossesExecute:()=>i});const s=new(r(29821).OperatorCrosses);function n(e,t,r){return s.execute(e,t,r,null)}r(85036);var a=r(83299);function i(e,t){let r=(0,a.fromGeometry)(e);return n(r.getGeometry(),(0,a.fromGeometryToGXGeometry)(t),r.getSpatialReference())}},85036(e,t,r){r.d(t,{Q:()=>a});var s=r(51447),n=r(53966);function a(e,t,r){(0,s.io)(n.A.getLogger(`esri.geometry.operators.${e}`),`${t} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${r} instead.`,{replacement:r,warnOnce:!0})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[8798],{51850(t,n,e){function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function l(t,n,e){return[t,n,e]}function a(t,n,e){return[t,n,e]}function u(t,n=[0,0,0]){let e=Math.min(3,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n}function s(){return l(1,1,1)}function h(){return l(1,0,0)}function o(){return l(0,1,0)}function f(){return l(0,0,1)}e.d(n,{CN:()=>a,Cb:()=>y,Cw:()=>x,JP:()=>g,Un:()=>c,ci:()=>u,fA:()=>l,o8:()=>i,uY:()=>m,vt:()=>r});const m=[0,0,0],c=s(),x=h(),g=o(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:x,UNIT_Y:g,UNIT_Z:y,ZEROS:m,clone:i,create:r,freeze:a,fromArray:u,fromValues:l,ones:s,unitX:h,unitY:o,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},39829(t,n,e){e.d(n,{A:()=>P});var r,i=e(32198),l=e(4576),a=e(51447),u=e(4718),s=e(53966),h=e(91429),o=e(5443),f=e(91075),m=e(86738),c=e(16930),x=e(12359),g=e(94078),y=e(95108),p=e(90634),v=e(47610),R=e(28735),d=e(56993),M=e(43937);function z(t){return!Array.isArray(t[0])}let P=r=class extends f.A{static fromExtent(t){let n=t.clone().normalize(),{spatialReference:e}=t,i=!1,l=!1;for(let t of n)t.hasZ&&(i=!0),t.hasM&&(l=!0);let a={rings:n.map(t=>{let n=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(i&&t.hasZ){let e=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<n.length;t++)n[t].push(e)}if(l&&t.hasM){let e=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<n.length;t++)n[t].push(e)}return n}),spatialReference:e};return i&&(a.hasZ=!0),l&&(a.hasM=!0),new r(a)}constructor(t){super(function(t){if(!t)return;let{rings:n,hasM:e,hasZ:r,spatialReference:i}=t;switch(n??=[],function(t){return"number"==typeof t[0]?.[0]}(n)&&(n=[n]),n[0]?.[0]?.length){case 4:r??=!0,e??=!0;break;case 3:r??=!0!==e,e??=!r;break;default:r??=!1,e??=!1}return i??=c.A.WGS84,{...t,hasM:e,hasZ:r,rings:n,spatialReference:i}}(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,a.Lx)(s.A.getLogger(this),"centroid",{replacement:"Please use centroidExecute() instead.",version:"4.34",warnOnce:!0});let t=(0,x.Ve)(this);return t?m.A.fromJSON(t):null}writeCurveRings(t,n){n.curveRings=(0,u.o8)(t)}get extent(){let t=(0,p.v)(this),{spatialReference:n}=this;return t?new o.A({...t,spatialReference:n}):null}writeRings(t,n){n.rings=(0,u.o8)(this.rings)}addRing(t){if(!t)return;let n=this.rings,e=n.length;if(z(t)){let r=[];for(let n=0,e=t.length;n<e;n++)r[n]=t[n].toArray();n[e]=r}else n[e]=t.slice();return this.notifyChange("rings"),this}clone(){let t=new r;return t.spatialReference=this.spatialReference,t.rings=(0,u.o8)(this.rings),t.curveRings=(0,u.o8)(this.curveRings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if(null==t)return!1;let n=this.spatialReference,e=t.spatialReference;if(null!=n!=(null!=e)||null!=n&&null!=e&&!n.equals(e)||this.rings.length!==t.rings.length)return!1;for(let n=0;n<this.rings.length;n++){let e=this.rings[n],r=t.rings[n];if(!(0,l.aI)(e,r,v.v6))return!1}return!0}contains(t){if(!t)return!1;let n=(0,R.y)(t,this.spatialReference);return(0,g.m3)(this,n??t)}isClockwise(t){let n=z(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,y.$3)(n)}getPoint(t,n){if(!this._validateInputs(t,n))return null;let e=this.rings[t][n],r=this.hasZ,i=this.hasM;return r&&!i?new m.A({x:e[0],y:e[1],z:e[2],spatialReference:this.spatialReference}):i&&!r?new m.A({x:e[0],y:e[1],m:e[2],spatialReference:this.spatialReference}):r&&i?new m.A({x:e[0],y:e[1],z:e[2],m:e[3],spatialReference:this.spatialReference}):new m.A({x:e[0],y:e[1],spatialReference:this.spatialReference})}insertPoint(t,n,e){return this._validateInputs(t,n,!0)&&((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.rings[t].splice(n,0,e),this.notifyChange("rings")),this}removePoint(t,n){if(!this._validateInputs(t,n))return null;let[e,r,i,l]=this.rings[t].splice(n,1)[0],a=new m.A({x:e,y:r,z:i,m:l,spatialReference:this.spatialReference});return this.notifyChange("rings"),a}removeRing(t){if(!this._validateInputs(t,null))return null;let n=this.rings.splice(t,1)[0],e=this.spatialReference,r=n.map(t=>new m.A({x:t[0],y:t[1],z:t[2],m:t[3],spatialReference:e}));return this.notifyChange("rings"),r}setPoint(t,n,e){return this._validateInputs(t,n)&&((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.rings[t][n]=e,this.notifyChange("rings")),this}_validateInputs(t,n,e=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=n){let r=this.rings[t];if(e&&(n<0||n>r.length)||!e&&(n<0||n>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,i.Cg)([(0,h.MZ)({readOnly:!0})],P.prototype,"cache",null),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],P.prototype,"centroid",null),(0,i.Cg)([(0,h.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],P.prototype,"curveRings",void 0),(0,i.Cg)([(0,M.K)("curveRings")],P.prototype,"writeCurveRings",null),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],P.prototype,"extent",null),(0,i.Cg)([(0,h.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],P.prototype,"rings",void 0),(0,i.Cg)([(0,M.K)("rings")],P.prototype,"writeRings",null),P=r=(0,i.Cg)([(0,h.$K)("esri.geometry.Polygon")],P),P.prototype.toJSON.isDefaultToJSON=!0},51118(t,n,e){function r(t){let n=[];for(t.reset();t.nextPath();){let e=[];for(;t.nextPoint();){let n=[t.x,t.y];t.hasZ&&n.push(t.z),t.hasM&&n.push(t.m),e.push(n)}n.push(e)}return t.reset(),n}function i(t){let n=[];for(;t.nextPoint();)n.push([t.x,t.y]);return t.seekPathStart(),n}e.d(n,{A:()=>i,x:()=>r})},537(t,n,e){e.d(n,{B$:()=>y,LJ:()=>p,Pj:()=>d,Rg:()=>x,Yz:()=>v,z8:()=>g});var r=e(19419),i=e(79567),l=e(52006);function a(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function u(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function h(t){return void 0!==t.paths}function o(t){return void 0!==t.rings}function f(t){return function(n,e){return null==n?e:null==e?n:t(n,e)}}const m=f(Math.min),c=f(Math.max);function x(t,n){return h(n)?v(t,n.curvePaths??n.paths,!1,!1)??t:o(n)?v(t,n.curveRings??n.rings,!1,!1)??t:u(n)?d(t,n.points,!1,!1,!1,!1):a(n)?R(t,n):(s(n)&&(t[0]=n.x,t[1]=n.y,t[2]=n.x,t[3]=n.y),t)}function g(t){let n,e,i,l;for(t.reset(),n=i=1/0,e=l=-1/0;t.nextPath();){let r=y(t);n=Math.min(r[0],n),i=Math.min(r[1],i),e=Math.max(r[2],e),l=Math.max(r[3],l)}return(0,r.vt)([n,i,e,l])}function y(t){let n,e,i,l;for(n=i=1/0,e=l=-1/0;t.nextPoint();)n=Math.min(t.x,n),i=Math.min(t.y,i),e=Math.max(t.x,e),l=Math.max(t.y,l);return(0,r.vt)([n,i,e,l])}function p(t,n){return h(n)?v(t,n.curvePaths??n.paths,!0,!1)??t:o(n)?v(t,n.curveRings??n.rings,!0,!1)??t:u(n)?d(t,n.points,!0,!1,!0,!1):a(n)?R(t,n,0,0,!0,!1):(s(n)&&(t[0]=n.x,t[1]=n.y,t[2]=n.z,t[3]=n.x,t[4]=n.y,t[5]=n.z),t)}function v(t,n,e,a){let u=e?3:2;if(!n.length||!n[0].length)return null;let s,h,o,f,[x,g]=(0,l.yP)(n[0][0]),y=x,p=g;for(let t=0;t<n.length;t++){let v=n[t];for(let t=0;t<v.length;t++){let n=(0,l.yP)(v[t]),[R,d]=n;if(x=m(x,R),g=m(g,d),y=c(y,R),p=c(p,d),e&&n.length>2){let t=n[2];s=m(s,t),h=c(h,t)}if(a&&n.length>u){let t=n[u];o=m(o,t),f=c(f,t)}let M=v[t];if((0,l.Xq)(M)||t<1)continue;let z=(0,l.yP)(v[t-1]),P=(0,r.fA)(x,g,y,p);[x,g,y,p]=(0,i.e)(P,z,M)}}return e?a?(t[0]=x,t[1]=g,t[2]=s,t[3]=o,t[4]=y,t[5]=p,t[6]=h,t[7]=f,t.length=8,t):(t[0]=x,t[1]=g,t[2]=s,t[3]=y,t[4]=p,t[5]=h,t.length=6,t):a?(t[0]=x,t[1]=g,t[2]=o,t[3]=y,t[4]=p,t[5]=f,t.length=6,t):(t[0]=x,t[1]=g,t[2]=y,t[3]=p,t.length=4,t)}function R(t,n,e,r,i,l){let a=n.xmin,u=n.xmax,s=n.ymin,h=n.ymax,o=n.zmin,f=n.zmax,m=n.mmin,c=n.mmax;return i?(o||=0,f||=0,l?(m||=0,c||=0,t[0]=a,t[1]=s,t[2]=o,t[3]=m,t[4]=u,t[5]=h,t[6]=f,t[7]=c,t):(t[0]=a,t[1]=s,t[2]=o,t[3]=u,t[4]=h,t[5]=f,t)):l?(m||=0,c||=0,t[0]=a,t[1]=s,t[2]=m,t[3]=u,t[4]=h,t[5]=c,t):(t[0]=a,t[1]=s,t[2]=u,t[3]=h,t)}function d(t,n,e,r,i,l){let a=e?3:2,u=r&&l,s=e&&i;if(!n.length||!n[0].length)return null;let h,o,f,x,[g,y]=n[0],[p,v]=n[0];for(let t=0;t<n.length;t++){let e=n[t],[r,i]=e;if(g=m(g,r),y=m(y,i),p=c(p,r),v=c(v,i),s&&e.length>2){let t=e[2];h=m(h,t),o=c(o,t)}if(u&&e.length>a){let t=e[a];f=m(h,t),x=c(o,t)}}return i?(h||=0,o||=0,l?(f||=0,x||=0,t[0]=g,t[1]=y,t[2]=h,t[3]=f,t[4]=p,t[5]=v,t[6]=o,t[7]=x,t):(t[0]=g,t[1]=y,t[2]=h,t[3]=p,t[4]=v,t[5]=o,t)):l?(f||=0,x||=0,t[0]=g,t[1]=y,t[2]=f,t[3]=p,t[4]=v,t[5]=x,t):(t[0]=g,t[1]=y,t[2]=p,t[3]=v,t)}},12359(t,n,e){e.d(n,{IK:()=>o,TP:()=>f,Ve:()=>u,Z4:()=>l,l8:()=>a,w2:()=>h});var r=e(51118),i=e(95108);function l({xmin:t,xmax:n,ymin:e,ymax:r,zmin:i,zmax:l,hasZ:a}){let u=[(t+n)/2,(e+r)/2];return a&&u.push((i+l)/2),u}function a(t){return function(t,n){if(!t?.length)return null;let e=[],r=[],l=n?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let e=0,i=t.length;e<i;e++){let i=s(t[e],n,l);i&&r.push(i)}if(r.sort((t,e)=>{let r=t[2]-e[2];return 0===r&&n&&(r=t[4]-e[4]),r}),r.length&&(e[0]=r[0][0],e[1]=r[0][1],n&&(e[2]=r[0][3]),(e[0]<l[0]||e[0]>l[1]||e[1]<l[2]||e[1]>l[3]||n&&(e[2]<l[4]||e[2]>l[5]))&&(e.length=0)),!e.length){let r=t[0]&&t[0].length?function(t,n){let e=n?[0,0,0]:[0,0],r=n?[0,0,0]:[0,0],l=0,a=0,u=0,s=0;for(let h=0,o=t.length;h<o-1;h++){let o=t[h],f=t[h+1];if(o&&f){e[0]=o[0],e[1]=o[1],r[0]=f[0],r[1]=f[1],n&&o.length>2&&f.length>2&&(e[2]=o[2],r[2]=f[2]);let t=(0,i.R3)(e,r);if(t){l+=t;let e=(0,i.t9)(o,f);a+=t*e[0],u+=t*e[1],n&&e.length>2&&(s+=t*e[2])}}}return l>0?n?[a/l,u/l,s/l]:[a/l,u/l]:t.length?t[0]:null}(t[0],n):null;if(!r)return null;e[0]=r[0],e[1]=r[1],n&&r.length>2&&(e[2]=r[2])}return e}(t.rings,t.hasZ??!1)}function u(t){let n=a(t);if(!n)return null;let{hasZ:e,spatialReference:r}=t,[i,l,u]=n;return isNaN(i)||isNaN(l)||e&&isNaN(u)?null:{x:i,y:l,z:e?u:void 0,spatialReference:r}}function s(t,n,e){let r=0,i=0,l=0,a=0,u=0,s=t.length?t[0][0]:0,h=t.length?t[0][1]:0,o=t.length&&n?t[0][2]:0;for(let f=0;f<t.length;f++){let m=t[f],c=t[(f+1)%t.length],[x,g,y]=m,p=x-s,v=g-h,[R,d,M]=c,z=R-s,P=d-h,S=p*P-z*v;if(a+=S,r+=(p+z)*S,i+=(v+P)*S,n&&m.length>2&&c.length>2){let t=y-o,n=M-o,e=p*n-z*t;l+=(t+n)*e,u+=e}x<e[0]&&(e[0]=x),x>e[1]&&(e[1]=x),g<e[2]&&(e[2]=g),g>e[3]&&(e[3]=g),n&&(y<e[4]&&(e[4]=y),y>e[5]&&(e[5]=y))}if(a>0&&(a*=-1),u>0&&(u*=-1),!a)return null;a*=.5,u*=.5;let f=[r/(6*a)+s,i/(6*a)+h,a];return n&&(e[4]===e[5]||0===u?(f[3]=(e[4]+e[5])/2,f[4]=0):(f[3]=l/(6*u)+o,f[4]=u)),f}function h(t,n){let e=0,r=0,i=0;t.nextPoint();let l=t.pathSize?t.x:0,a=t.pathSize?t.y:0;for(let u=0;u<t.pathSize;u++){t.seekInPath(u);let s=[t.x,t.y];t.seekInPath((u+1)%t.pathSize);let h=[t.x,t.y],[o,f]=s,m=o-l,c=f-a,[x,g]=h,y=x-l,p=g-a,v=m*p-y*c;i+=v,e+=(m+y)*v,r+=(c+p)*v,o<n[0]&&(n[0]=o),o>n[1]&&(n[1]=o),f<n[2]&&(n[2]=f),f>n[3]&&(n[3]=f)}return i>0&&(i*=-1),i?(i*=.5,[e/(6*i)+l,r/(6*i)+a,i]):null}function o(t){let{hasZ:n,totalSize:e}=t;if(0===e)return null;let l=[],a=[],u=n?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(t.reset();t.nextPath();){let n=s((0,r.A)(t),t.hasZ,u);n&&a.push(n)}if(a.sort((t,e)=>{let r=t[2]-e[2];return 0===r&&n&&(r=t[4]-e[4]),r}),a.length&&(l[0]=a[0][0],l[1]=a[0][1],n&&(l[2]=a[0][3]),(l[0]<u[0]||l[0]>u[1]||l[1]<u[2]||l[1]>u[3]||n&&(l[2]<u[4]||l[2]>u[5]))&&(l.length=0)),!l.length){t.reset(),t.nextPath();let e=t.pathSize?function(t){let{hasZ:n}=t,e=n?[0,0,0]:[0,0],r=n?[0,0,0]:[0,0],l=0,a=0,u=0,s=0;if(t.nextPoint()){let h=t.x,o=t.y,f=t.z;for(;t.nextPoint();){let m=t.x,c=t.y,x=t.z;e[0]=h,e[1]=o,r[0]=m,r[1]=c,n&&(e[2]=f,r[2]=x);let g=(0,i.R3)(e,r);if(g){l+=g;let t=(0,i.t9)(e,r);a+=g*t[0],u+=g*t[1],n&&t.length>2&&(s+=g*t[2])}h=m,o=c,f=x}}return l>0?n?[a/l,u/l,s/l]:[a/l,u/l]:t.pathSize?(t.seekPathStart(),t.nextPoint(),[t.x,t.y]):null}(t):null;if(!e)return null;l[0]=e[0],l[1]=e[1],n&&e.length>2&&(l[2]=e[2])}return l}function f(t){let n=0;for(t.reset();t.nextPath();)n+=t.getCurrentRingArea();if(n<1e-6){let n=o(t);return n?[n[0],n[1]]:null}let e=[0,0];if(t.reset(),!t.nextPath()||!t.nextPoint())return null;let r=[t.x,t.y];for(t.reset();t.nextPath();)m(e,r,t);return e[0]*=1/n,e[1]*=1/n,e[0]+=r[0],e[1]+=r[1],e}function m(t,n,e){if(!t||!e||e.pathSize<3)return null;e.nextPoint();let r=e.x,i=e.y;e.nextPoint();let l,a=e.x-r,u=e.y-i,s=0,h=0;for(;e.nextPoint();)s=e.x-r,h=e.y-i,l=.16666666666666666*(s*u-h*a),t[0]+=l*(a+s),t[1]+=l*(u+h),a=s,u=h;let o=e.getCurrentRingArea(),f=[r,i];return f[0]-=n[0],f[1]-=n[1],f[0]*=o,f[1]*=o,t[0]+=f[0],t[1]+=f[1],t}},95108(t,n,e){e.d(n,{$3:()=>o,R3:()=>i,Xf:()=>a,Yl:()=>h,gR:()=>l,m3:()=>m,t9:()=>s});var r=e(4576);function i(t,n){let e=n[0]-t[0],r=n[1]-t[1];if(t.length>2&&n.length>2){let i=t[2]-n[2];return Math.sqrt(e*e+r*r+i*i)}return Math.sqrt(e*e+r*r)}function l(t,n,e,r){let[i,l]=n,[a,u]=e,[s,h]=r,o=s-a,f=h-u,m=o*o+f*f,c=(i-a)*o+(l-u)*f,x=Math.min(1,Math.max(0,c/m));return t[0]=a+o*x,t[1]=u+f*x,t}function a(t,n,e){let r,i,l,a,s=!1,h=1/0;for(e.reset();e.nextPath();)if(e.nextPoint())for(r=e.x,i=e.y;e.nextPoint();)l=e.x,a=e.y,i>n!=a>n&&t<(l-r)*(n-i)/(a-i)+r&&(s=!s),h=Math.min(h,u(t,n,r,i,l,a)),r=l,i=a;return 0===h?0:(s?1:-1)*Math.sqrt(h)}function u(t,n,e,r,i,l){let a=e,u=r,s=i-a,h=l-u;if(0!==s||0!==h){let e=((t-a)*s+(n-u)*h)/(s*s+h*h);e>1?(a=i,u=l):e>0&&(a+=s*e,u+=h*e)}return s=t-a,h=n-u,s*s+h*h}function s(t,n){return function(t,n,e){let r=t[0]+e*(n[0]-t[0]),i=t[1]+e*(n[1]-t[1]);return t.length>2&&n.length>2?[r,i,t[2]+e*(n[2]-t[2])]:[r,i]}(t,n,.5)}function h(t){let n=t.length,e=0;for(let r=0;r<n-1;++r)e+=i(t[r],t[r+1]);return e}function o(t,n=0,e=1){let r=0,i=t.length,l=t[0];for(let a=1;a<i;a++){let i=t[a];r+=(i[n]-l[n])*(i[e]+l[e]),l=i}if(f(t)){let i=t[0];r+=(i[n]-l[n])*(i[e]+l[e])}return r>=0}function f(t){let n=t.length;return n>0&&!(0,r.aI)(t[0],t[n-1])}function m(t){if("rings"in t)for(let n of t.rings)f(n)&&n.push(n[0].slice())}e(52006)},90634(t,n,e){e.d(n,{HA:()=>o,JM:()=>f,Z3:()=>x,ge:()=>m,v:()=>c});var r=e(537);const i=[];function l(t,n,e,r){return{xmin:t,ymin:n,xmax:e,ymax:r}}function a(t,n,e,r,i,l){return{xmin:t,ymin:n,zmin:e,xmax:r,ymax:i,zmax:l}}function u(t,n,e,r,i,l){return{xmin:t,ymin:n,mmin:e,xmax:r,ymax:i,mmax:l}}function s(t,n,e,r,i,l,a,u){return{xmin:t,ymin:n,zmin:e,mmin:r,xmax:i,ymax:l,zmax:a,mmax:u}}function h(t,n=!1,e=!1){return n?e?s(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):a(t[0],t[1],t[2],t[3],t[4],t[5]):e?u(t[0],t[1],t[2],t[3],t[4],t[5]):l(t[0],t[1],t[2],t[3])}function o(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){let{x:n,y:e,z:r,m:i}=t,h=null!=i;return null!=r?h?s(n,e,r,i,n,e,r,i):a(n,e,r,n,e,r):h?u(n,e,i,n,e,i):l(n,e,n,e)}(t):function(t){return void 0!==t.rings}(t)?c(t):function(t){return void 0!==t.paths}(t)?x(t):function(t){return void 0!==t.points}(t)?m(t):null:null}function f(t,{xmin:n,ymin:e,zmin:r,mmin:i,xmax:l,ymax:a,zmax:u,mmax:s}){t.xmin=Math.min(t.xmin,n),t.xmax=Math.max(t.xmax,l),t.ymin=Math.min(t.ymin,e),t.ymax=Math.max(t.ymax,a),null!=t.zmin&&(t.zmin=Math.min(t.zmin,r),t.zmax=Math.max(t.zmax,u)),null!=t.mmin&&(t.mmin=Math.min(t.mmin,i),t.mmax=Math.max(t.mmax,s))}function m(t){let{hasZ:n,hasM:e,points:l}=t,a=(0,r.Pj)(i,l,n??!1,e??!1,n??!1,e??!1);return a?h(a,n,e):null}function c(t){let{hasZ:n,hasM:e,rings:l,curveRings:a}=t,u=(0,r.Yz)(i,a??l,n??!1,e??!1);return u?h(u,n,e):null}function x(t){let{hasZ:n,hasM:e,paths:l,curvePaths:a}=t,u=(0,r.Yz)(i,a??l,n??!1,e??!1);return u?h(u,n,e):null}},47610(t,n,e){function r([t,n,e,r],[i,l,a,u]){return t===i&&n===l&&(null==e&&null==a||e===a)&&(null==r&&null==u||r===u)}e.d(n,{v6:()=>r}),e(5443),e(83960)},83960(t,n,e){e.d(n,{RH:()=>h,X_:()=>l,gB:()=>a,oW:()=>s,zx:()=>u});var r=e(34727),i=e(86211);function l(t,n){let e=n||t.extent,r=t.width,l=(0,i.GA)(e?.spatialReference);return e&&r?e.width/r*l*39.37*96:0}function a(t,n){return t*(39.37*(0,i.GA)(n)*96)}function u(t,n,e){return function(t,n){return 0===n||(0,r.Sp)(t,n)||t<n}(t,n)&&function(t,n){return 0===n||(0,r.Sp)(t,n)||t>n}(t,e)}function s(t,n){return(0,r.Sp)(t,n)?0:(t||1/0)>(n||1/0)?1:-1}function h(t,n){return t.minScale=t.minScale>0?n.minScale>0?Math.min(t.minScale,n.minScale):t.minScale:n.minScale,t.maxScale=t.maxScale>0?n.maxScale>0?Math.max(t.maxScale,n.maxScale):t.maxScale:n.maxScale,t}},56993(t,n,e){function r(t,n,e=!1){let{hasM:r,hasZ:i}=t;Array.isArray(n)?4!==n.length||r||i?3===n.length&&e&&!r?(i=!0,r=!1):3===n.length&&r&&i&&(r=!1,i=!1):(r=!0,i=!0):(i=!i&&n.hasZ&&(!r||n.hasM),r=!r&&n.hasM&&(!i||n.hasZ)),t.hasZ=i,t.hasM=r}e.d(n,{h:()=>r})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[1285],{91285(e,t,l){l.r(t),l.d(t,{build:()=>r.b}),l(82048),l(83068),l(68259),l(20304),l(31821),l(15976),l(63761),l(14113);var r=l(95774)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[892],{70892(e,t,a){a.d(t,{OperatorContains:()=>n.x});var n=a(39117)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[9567],{29242(t,n,r){function e(){return[1,0,0,0,1,0,0,0,1]}function a(t,n,r,e,a,u,i,o,c){return[t,n,r,e,a,u,i,o,c]}r.d(n,{fA:()=>a,vt:()=>e});const u=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:u,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:e,fromValues:a},Symbol.toStringTag,{value:"Module"})),r.d(n,["zK",0,u])},34304(t,n,r){r.d(n,{DF:()=>c,FD:()=>a,Ov:()=>u,ct:()=>f});let e=1e-6;function a(){return e}const u=Math.random,i=Math.PI/180,o=180/Math.PI;function c(t){return t*i}function f(t){return t*o}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:u,equals:function(t,n){return Math.abs(t-n)<=e*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:a,setEpsilon:function(t){e=t},toDegree:f,toRadian:c},Symbol.toStringTag,{value:"Module"}))},77690(t,n,r){r.d(n,{B8:()=>o,Ge:()=>M,I0:()=>s,KC:()=>c,a4:()=>f,hZ:()=>u,hs:()=>l,lw:()=>h,mg:()=>i,z0:()=>a});var e=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function u(t,n,r,e,a,u,i,o,c,f){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t[4]=u,t[5]=i,t[6]=o,t[7]=c,t[8]=f,t}function i(t,n){if(t===n){let r=n[1],e=n[2],a=n[5];t[1]=n[3],t[2]=n[6],t[3]=r,t[5]=n[7],t[6]=e,t[7]=a}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function o(t,n){let r=n[0],e=n[1],a=n[2],u=n[3],i=n[4],o=n[5],c=n[6],f=n[7],h=n[8],l=h*i-o*f,s=-h*u+o*c,M=f*u-i*c,m=r*l+e*s+a*M;return m?(m=1/m,t[0]=l*m,t[1]=(-h*e+a*f)*m,t[2]=(o*e-a*i)*m,t[3]=s*m,t[4]=(h*r-a*c)*m,t[5]=(-o*r+a*u)*m,t[6]=M*m,t[7]=(-f*r+e*c)*m,t[8]=(i*r-e*u)*m,t):null}function c(t,n){let r=n[0],e=n[1],a=n[2],u=n[3],i=n[4],o=n[5],c=n[6],f=n[7],h=n[8];return t[0]=i*h-o*f,t[1]=a*f-e*h,t[2]=e*o-a*i,t[3]=o*c-u*h,t[4]=r*h-a*c,t[5]=a*u-r*o,t[6]=u*f-i*c,t[7]=e*c-r*f,t[8]=r*i-e*u,t}function f(t){let n=t[0],r=t[1],e=t[2],a=t[3],u=t[4],i=t[5],o=t[6],c=t[7],f=t[8];return n*(f*u-i*c)+r*(-f*a+i*o)+e*(c*a-u*o)}function h(t,n,r){let e=n[0],a=n[1],u=n[2],i=n[3],o=n[4],c=n[5],f=n[6],h=n[7],l=n[8],s=r[0],M=r[1],m=r[2],b=r[3],d=r[4],x=r[5],p=r[6],y=r[7],v=r[8];return t[0]=s*e+M*i+m*f,t[1]=s*a+M*o+m*h,t[2]=s*u+M*c+m*l,t[3]=b*e+d*i+x*f,t[4]=b*a+d*o+x*h,t[5]=b*u+d*c+x*l,t[6]=p*e+y*i+v*f,t[7]=p*a+y*o+v*h,t[8]=p*u+y*c+v*l,t}function l(t,n,r){let e=r[0],a=r[1],u=r[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t[6]=u*n[6],t[7]=u*n[7],t[8]=u*n[8],t}function s(t,n){let r=n[0],e=n[1],a=n[2],u=n[3],i=r+r,o=e+e,c=a+a,f=r*i,h=e*i,l=e*o,s=a*i,M=a*o,m=a*c,b=u*i,d=u*o,x=u*c;return t[0]=1-l-m,t[3]=h-x,t[6]=s+d,t[1]=h+x,t[4]=1-f-m,t[7]=M-b,t[2]=s-d,t[5]=M+b,t[8]=1-f-l,t}function M(t,n){let r=n[0],e=n[1],a=n[2],u=n[3],i=n[4],o=n[5],c=n[6],f=n[7],h=n[8],l=n[9],s=n[10],M=n[11],m=n[12],b=n[13],d=n[14],x=n[15],p=r*o-e*i,y=r*c-a*i,v=r*f-u*i,g=e*c-a*o,q=e*f-u*o,P=a*f-u*c,I=h*b-l*m,S=h*d-s*m,R=h*x-M*m,E=l*d-s*b,k=l*x-M*b,N=s*x-M*d,F=p*N-y*k+v*E+g*R-q*S+P*I;return F?(F=1/F,t[0]=(o*N-c*k+f*E)*F,t[1]=(c*R-i*N-f*S)*F,t[2]=(i*k-o*R+f*I)*F,t[3]=(a*k-e*N-u*E)*F,t[4]=(r*N-a*R+u*S)*F,t[5]=(e*R-r*k-u*I)*F,t[6]=(b*P-d*q+x*g)*F,t[7]=(d*v-m*P-x*y)*F,t[8]=(m*q-b*v+x*p)*F,t):null}function m(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t}const b=h,d=m;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t},adjoint:c,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:f,equals:function(t,n){let r=t[0],a=t[1],u=t[2],i=t[3],o=t[4],c=t[5],f=t[6],h=t[7],l=t[8],s=n[0],M=n[1],m=n[2],b=n[3],d=n[4],x=n[5],p=n[6],y=n[7],v=n[8],g=(0,e.FD)();return Math.abs(r-s)<=g*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(a-M)<=g*Math.max(1,Math.abs(a),Math.abs(M))&&Math.abs(u-m)<=g*Math.max(1,Math.abs(u),Math.abs(m))&&Math.abs(i-b)<=g*Math.max(1,Math.abs(i),Math.abs(b))&&Math.abs(o-d)<=g*Math.max(1,Math.abs(o),Math.abs(d))&&Math.abs(c-x)<=g*Math.max(1,Math.abs(c),Math.abs(x))&&Math.abs(f-p)<=g*Math.max(1,Math.abs(f),Math.abs(p))&&Math.abs(h-y)<=g*Math.max(1,Math.abs(h),Math.abs(y))&&Math.abs(l-v)<=g*Math.max(1,Math.abs(l),Math.abs(v))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:a,fromQuat:s,fromRotation:function(t,n){let r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=-r,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:o,isOrthoNormal:function(t){let n=(0,e.FD)(),r=t[0],a=t[1],u=t[2],i=t[3],o=t[4],c=t[5],f=t[6],h=t[7],l=t[8];return Math.abs(1-(r*r+i*i+f*f))<=n&&Math.abs(1-(a*a+o*o+h*h))<=n&&Math.abs(1-(u*u+c*c+l*l))<=n},mul:b,multiply:h,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t},normalFromMat4:M,normalFromMat4Legacy:function(t,n){let r=n[0],e=n[1],a=n[2],u=n[4],i=n[5],o=n[6],c=n[8],f=n[9],h=n[10],l=h*i-o*f,s=-h*u+o*c,M=f*u-i*c,m=r*l+e*s+a*M;if(!m)return null;let b=1/m;return t[0]=l*b,t[1]=(-h*e+a*f)*b,t[2]=(o*e-a*i)*b,t[3]=s*b,t[4]=(h*r-a*c)*b,t[5]=(-o*r+a*u)*b,t[6]=M*b,t[7]=(-f*r+e*c)*b,t[8]=(i*r-e*u)*b,t},projection:function(t,n,r){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/r,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,r){let e=n[0],a=n[1],u=n[2],i=n[3],o=n[4],c=n[5],f=n[6],h=n[7],l=n[8],s=Math.sin(r),M=Math.cos(r);return t[0]=M*e+s*i,t[1]=M*a+s*o,t[2]=M*u+s*c,t[3]=M*i-s*e,t[4]=M*o-s*a,t[5]=M*c-s*u,t[6]=f,t[7]=h,t[8]=l,t},scale:l,scaleByVec2:function(t,n,r){let e=r[0],a=r[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t},set:u,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:d,subtract:m,translate:function(t,n,r){let e=n[0],a=n[1],u=n[2],i=n[3],o=n[4],c=n[5],f=n[6],h=n[7],l=n[8],s=r[0],M=r[1];return t[0]=e,t[1]=a,t[2]=u,t[3]=i,t[4]=o,t[5]=c,t[6]=s*e+M*i+f,t[7]=s*a+M*o+h,t[8]=s*u+M*c+l,t},transpose:i},Symbol.toStringTag,{value:"Module"}))},37585(t,n,r){r.d(n,{C:()=>u,Cc:()=>q,Il:()=>E,Io:()=>d,LI:()=>M,Ln:()=>b,Om:()=>g,Re:()=>c,S8:()=>v,T9:()=>l,WQ:()=>o,aI:()=>R,e$:()=>I,hG:()=>x,hZ:()=>i,hs:()=>m,jb:()=>k,l0:()=>P,qE:()=>s,t2:()=>S});var e=r(34727),a=r(34304);function u(t,n){return t[0]=n[0],t[1]=n[1],t}function i(t,n,r){return t[0]=n,t[1]=r,t}function o(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t}function f(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t}function h(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t}function l(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t}function s(t,n,r,a){return t[0]=(0,e.qE)(n[0],r[0],a[0]),t[1]=(0,e.qE)(n[1],r[1],a[1]),t}function M(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t}function m(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t}function b(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t}function d(t,n){let r=n[0]-t[0],e=n[1]-t[1];return Math.sqrt(r*r+e*e)}function x(t,n){let r=n[0]-t[0],e=n[1]-t[1];return r*r+e*e}function p(t){let n=t[0],r=t[1];return Math.sqrt(n*n+r*r)}function y(t){let n=t[0],r=t[1];return n*n+r*r}function v(t,n){let r=n[0],e=n[1],a=r*r+e*e;return a>0&&(a=1/Math.sqrt(a),t[0]=n[0]*a,t[1]=n[1]*a),t}function g(t,n){return t[0]*n[0]+t[1]*n[1]}function q(t,n,r,e){let a=n[0],u=n[1];return t[0]=a+e*(r[0]-a),t[1]=u+e*(r[1]-u),t}function P(t,n,r){let e=n[0],a=n[1];return t[0]=r[0]*e+r[2]*a+r[4],t[1]=r[1]*e+r[3]*a+r[5],t}function I(t,n,r,e){let a=n[0]-r[0],u=n[1]-r[1],i=Math.sin(e),o=Math.cos(e);return t[0]=a*o-u*i+r[0],t[1]=a*i+u*o+r[1],t}function S(t,n){return t[0]===n[0]&&t[1]===n[1]}function R(t,n){let r=t[0],e=t[1],u=n[0],i=n[1],o=(0,a.FD)();return Math.abs(r-u)<=o*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(e-i)<=o*Math.max(1,Math.abs(e),Math.abs(i))}const E=p,k=c,N=f,F=h,_=d,K=x,w=y;Object.freeze(Object.defineProperty({__proto__:null,add:o,angle:function(t,n){let r=t[0],e=t[1],a=n[0],u=n[1],i=r*r+e*e;i>0&&(i=1/Math.sqrt(i));let o=a*a+u*u;o>0&&(o=1/Math.sqrt(o));let c=(r*a+e*u)*i*o;return c>1?0:c<-1?Math.PI:Math.acos(c)},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t},clamp:s,copy:u,cross:function(t,n,r){let e=n[0]*r[1]-n[1]*r[0];return t[0]=t[1]=0,t[2]=e,t},dist:_,distance:d,div:F,divide:h,dot:g,equals:R,exactEquals:S,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t},len:E,length:p,lerp:q,max:l,min:function(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t},mul:N,multiply:f,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t},normalize:v,projectAndScale:function(t,n,r,e,a){let u=n[0]-r[0],i=n[1]-r[1],o=(e[0]*u+e[1]*i)*(a-1);return u=e[0]*o,i=e[1]*o,t[0]=n[0]+u,t[1]=n[1]+i,t},random:function(t,n=1){let r=2*(0,a.Ov)()*Math.PI;return t[0]=Math.cos(r)*n,t[1]=Math.sin(r)*n,t},rotate:I,round:M,scale:m,scaleAndAdd:b,set:i,sqrDist:K,sqrLen:w,squaredDistance:x,squaredLength:y,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:k,subtract:c,transformMat2:function(t,n,r){let e=n[0],a=n[1];return t[0]=r[0]*e+r[2]*a,t[1]=r[1]*e+r[3]*a,t},transformMat2d:P,transformMat3:function(t,n,r){let e=n[0],a=n[1];return t[0]=r[0]*e+r[3]*a+r[6],t[1]=r[1]*e+r[4]*a+r[7],t},transformMat4:function(t,n,r){let e=n[0],a=n[1];return t[0]=r[0]*e+r[4]*a+r[12],t[1]=r[1]*e+r[5]*a+r[13],t}},Symbol.toStringTag,{value:"Module"})),r.d(n,["xg",0,_])},34727(t,n,r){r.d(n,{$8:()=>P,Cc:()=>i,Hx:()=>b,Io:()=>g,KJ:()=>f,OS:()=>R,Sp:()=>s,XM:()=>h,YN:()=>l,ZH:()=>m,b6:()=>q,cU:()=>a,gg:()=>M,hs:()=>o,kU:()=>c,or:()=>S,pF:()=>k,pq:()=>E,qE:()=>u});const e=new Float32Array(1);function a(t){--t;for(let n=1;n<32;n<<=1)t|=t>>n;return t+1}function u(t,n,r){return Math.min(Math.max(t,n),r)}function i(t,n,r){return t+(n-t)*r}function o(t,n,r,e,a){return i(e,a,(t-n)/(r-n))}function c(t){return t*Math.PI/180}function f(t){return 180*t/Math.PI}function h(t){return Math.acos(u(t,-1,1))}function l(t){return Math.asin(u(t,-1,1))}function s(t,n,r=1e-6){return t===n||!(!Number.isFinite(t)||!Number.isFinite(n))&&(t>n?t-n:n-t)<=r}function M(t,n,r=1e-6){return!s(t,n,r)&&t>n}function m(t,n,r=1e-6){return!s(t,n,r)&&t<n}function b(t,n,r=1e-6){return s(t,n,r)||t>n}const d=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function x(t){return d.setFloat64(0,t),d.getBigInt64(0)}const p=1000000n,y=v(1);function v(t){let n=x(t=Math.abs(t)),r=function(t){return d.setBigInt64(0,t),d.getFloat64(0)}(n<=p?p:n-p);return Math.abs(t-r)}function g(t,n,r=y){if(t===n)return!0;if(!Number.isFinite(t)||!Number.isFinite(n))return!1;if(null!=r&&v(Math.min(Math.abs(t),Math.abs(n)))<r)return Math.abs(t-n)<=r;let e=x(t),a=x(n);return!(e<0!=a<0||(e<a?a-e:e-a)>p)}function q(t,n,r=1e-6){if(t===n)return!0;if(!Number.isFinite(t)||!Number.isFinite(n))return!1;let e=Math.abs(t-n),a=Math.abs(t),u=Math.abs(n);if(0===t||0===n||a<1e-12&&u<1e-12){if(e>.01*r)return!1}else if(e/(a+u)>r)return!1;return!0}function P(t){return I(Math.max(-E,Math.min(t,E)))}function I(t){return e[0]=t,e[0]}function S(t){let n=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],r=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],e=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(s(n,1)&&s(r,1)&&s(e,1))}function R(t,n){return(t%n+n)%n}const E=I(34028234663852886e22);function k(t,n,r){if(void 0===r||0==+r)return Math[t](n);if(n=+n,r=+r,isNaN(n)||"number"!=typeof r||r%1!=0)return NaN;let e=n.toString().split("e");return e=(n=Math[t](+(e[0]+"e"+(e[1]?+e[1]-r:-r)))).toString().split("e"),+(e[0]+"e"+(e[1]?+e[1]+r:r))}},19419(t,n,r){r.d(n,{$9:()=>P,C:()=>u,DC:()=>m,HY:()=>q,IO:()=>l,Ie:()=>S,Rj:()=>g,Uc:()=>v,VL:()=>b,VY:()=>o,Wc:()=>x,aI:()=>E,bx:()=>s,fA:()=>i,fT:()=>M,gR:()=>I,gX:()=>p,ib:()=>y,nw:()=>h,pJ:()=>k,qv:()=>N,tK:()=>f,uJ:()=>d,vt:()=>a,w1:()=>c}),r(34727);var e=r(5443);function a(t=F){return[t[0],t[1],t[2],t[3]]}function u(t,n){return t!==n&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3]),t}function i(t,n,r,e,u=a()){return u[0]=t,u[1]=n,u[2]=r,u[3]=e,u}function o(t,n=a()){return n[0]=t.xmin,n[1]=t.ymin,n[2]=t.xmax,n[3]=t.ymax,n}function c(t,n,r=new e.A){return r.xmin=t[0],r.ymin=t[1],r.xmax=t[2],r.ymax=t[3],r.spatialReference=n,r}function f(t,n){!function(t,n,r){h(t,n),l(t,r)}(t,n[0],n[1])}function h(t,n){n<t[0]&&(t[0]=n),n>t[2]&&(t[2]=n)}function l(t,n){n<t[1]&&(t[1]=n),n>t[3]&&(t[3]=n)}function s(t,{xmin:n,ymin:r,xmax:e,ymax:a}){t[0]=Math.min(t[0],n),t[1]=Math.min(t[1],r),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],a)}function M(t,n,r){if(null==n)u(r,t);else if("length"in n)R(n)?(r[0]=Math.min(t[0],n[0]),r[1]=Math.min(t[1],n[1]),r[2]=Math.max(t[2],n[2]),r[3]=Math.max(t[3],n[3])):(2===n.length||3===n.length)&&(r[0]=Math.min(t[0],n[0]),r[1]=Math.min(t[1],n[1]),r[2]=Math.max(t[2],n[0]),r[3]=Math.max(t[3],n[1]));else switch(n.type){case"extent":r[0]=Math.min(t[0],n.xmin),r[1]=Math.min(t[1],n.ymin),r[2]=Math.max(t[2],n.xmax),r[3]=Math.max(t[3],n.ymax);break;case"point":r[0]=Math.min(t[0],n.x),r[1]=Math.min(t[1],n.y),r[2]=Math.max(t[2],n.x),r[3]=Math.max(t[3],n.y)}}function m(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.max(t[2],n[2]),t[3]=Math.max(t[3],n[3])}function b(t){return null==t||t[0]>=t[2]?0:t[2]-t[0]}function d(t){return null==t||t[1]>=t[3]?0:t[3]-t[1]}function x(t){return b(t)*d(t)}function p(t,n=[0,0]){return n[0]=(t[0]+t[2])/2,n[1]=(t[1]+t[3])/2,n}function y(t){let n=b(t),r=d(t);return Math.sqrt(n*n+r*r)}function v(t,n){return g(t,n[0],n[1])}function g(t,n,r){return n>=t[0]&&r>=t[1]&&n<=t[2]&&r<=t[3]}function q(t,n){return Math.max(n[0],t[0])<=Math.min(n[2],t[2])&&Math.max(n[1],t[1])<=Math.min(n[3],t[3])}function P(t,n,r){return Math.max(n[0],t[0])-r<=Math.min(n[2],t[2])&&Math.max(n[1],t[1])-r<=Math.min(n[3],t[3])}function I(t,n){return n[0]>=t[0]&&n[2]<=t[2]&&n[1]>=t[1]&&n[3]<=t[3]}function S(t){return t?u(t,N):a(N)}function R(t){return null!=t&&4===t.length}function E(t,n){return R(t)&&R(n)?t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]:null==t&&null==n||t===n}function k(t,n){if(4!==n.length||t[0]===t[2]||t[1]===t[3])return!1;for(let r=0;r<n.length;r++){let e=n[r],a=n[(r+1)%n.length];if(e[0]!==t[0]&&e[0]!==t[2]||e[1]!==t[1]&&e[1]!==t[3])return!1;let u=e[1]===a[1]&&e[0]!==a[0],i=e[0]===a[0]&&e[1]!==a[1];if(!u&&!i)return!1}return!0}const N=[1/0,1/0,-1/0,-1/0],F=[0,0,0,0]},4305(t,n,r){r.d(n,{B4:()=>c,jK:()=>h,lM:()=>s,m_:()=>l,ty:()=>m});var e=r(34727),a=(r(37585),r(19419)),u=r(15507);const i=[0,0];function o(t){let n=1-t,r=n*n,e=t*t;return[r*n,3*t*r,3*e*n,e*t]}function c(t,n,r,e,a){let[u,i,c,f]=o(a);return[t[0]*u+n[0]*i+r[0]*c+e[0]*f,t[1]*u+n[1]*i+r[1]*c+e[1]*f]}function f(t,n,r,e,a){let[u,i,c,f]=o(a);return t*u+n*i+r*c+e*f}function h(t,n,r){let e=t,[a,o,c]=n.b,f=(0,u.RS)([0,0],e,o,r),h=(0,u.RS)(i,o,c,r),l=(0,u.RS)([0,0],c,a,r),s=(0,u.RS)([0,0],f,h,r),M=(0,u.RS)([0,0],h,l,r);return[{b:[(0,u.RS)([],s,M,r),f,s]},{b:[[...a],M,l]}]}function l(t,n,r){let a=t,[i,o,f]=n.b,h=(0,u.R)(r,[.1,.5,.9],t=>{let n=1-t,[r,e]=c(a,o,f,i,t);return[r,e,3*n*n*(o[0]-a[0])+6*n*t*(f[0]-o[0])+3*t*t*(i[0]-f[0]),3*n*n*(o[1]-a[1])+6*n*t*(f[1]-o[1])+3*t*t*(i[1]-f[1]),6*n*(f[0]-2*o[0]+a[0])+6*t*(i[0]-2*f[0]+o[0]),6*n*(f[1]-2*o[1]+a[1])+6*t*(i[1]-2*f[1]+o[1])]}).map(t=>Math.min(1,Math.max(0,t)));h.push(0,1);let l=1/0,s=h.map(t=>{let n=c(a,o,f,i,t),[e,u]=n,h=r[0]-e,s=r[1]-u,M=Math.sqrt(h*h+s*s);return l=Math.min(M,l),{t,curvePoint:n,distance:M}}),M=[];for(let t of s){let{t:n,distance:r}=t;(0,e.b6)(r,l)&&!M.some(({t})=>(0,e.Sp)(t,n))&&M.push(t)}return M}function s(t,n,r){let e=n,[u,i,o]=r.b;if((0,a.tK)(t,e),(0,a.tK)(t,u),(0,a.Rj)(t,i[0],i[1])&&(0,a.Rj)(t,o[0],o[1]))return t;for(let n of M(e[0],i[0],o[0],u[0]))n>0&&n<1&&(0,a.nw)(t,f(e[0],i[0],o[0],u[0],n));for(let n of M(e[1],i[1],o[1],u[1]))n>0&&n<1&&(0,a.IO)(t,f(e[1],i[1],o[1],u[1],n));return t}function M(t,n,r,e){let a=3*(3*(n-r)-t+e),u=6*(t-2*n+r),i=3*(n-t);if(0===a)return 0===u?[]:[-i/u];let o=Math.sqrt(u*u-4*a*i);return[(-u+o)/(2*a),(-u-o)/(2*a)]}function m(t,n,r){let e=0,a=[n];for(let n=0;n<16;n++){let n=t,i=[];for(let t of a)i.push(...h(n,t,.5)),n=t.b[0];a=i,n=t,e=0;let o=0;for(let t of a){let[r,a,i]=t.b,c=Math.sqrt((0,u.kb)(n,r));e+=(c+(Math.sqrt((0,u.kb)(n,a))+Math.sqrt((0,u.kb)(a,i))+Math.sqrt((0,u.kb)(i,r))))/2,o+=c,n=r}if(e-o<r)return e}return e}},513(t,n,r){r.d(n,{KP:()=>i,X0:()=>h,fM:()=>f,mq:()=>c,zW:()=>l});var e=r(19419),a=r(59803),u=r(15507);class i{constructor(t,n,r,e,a,u){this.cx=t,this.cy=n,this.radius=r,this.thetaStart=e,this.thetaEnd=a,this.isInvalid=u}get startPoint(){let{cx:t,cy:n,radius:r,thetaStart:e}=this;return[t+r*Math.cos(e),n+r*Math.sin(e)]}get endPoint(){let{cx:t,cy:n,radius:r,thetaEnd:e}=this;return[t+r*Math.cos(e),n+r*Math.sin(e)]}}function o(t,n){let{cx:r,cy:e,radius:a}=t;return[r+a*Math.cos(n),e+a*Math.sin(n)]}function c(t,n){if(t.isInvalid)return(0,u.RS)([0,0],t.startPoint,t.endPoint,n);let{thetaStart:r,thetaEnd:e}=t;return o(t,r*(1-n)+e*n)}function f(t,n){if(t.isInvalid)return(0,a.T)(t.startPoint,t.endPoint,n);let{cx:r,cy:e,thetaStart:i,thetaEnd:c}=t,[f,h]=n,l=(0,u.Pf)((0,u.yN)(i,c),Math.atan2(h-e,f-r)),s=o(t,l);return{t:(l-i)/(c-i),curvePoint:s,distance:Math.sqrt((0,u.kb)(n,s))}}function h(t,n){if(n.isInvalid)return(0,e.tK)(t,n.startPoint),(0,e.tK)(t,n.endPoint),t;let{cx:r,cy:a,radius:i,thetaStart:c,thetaEnd:f}=n;(0,e.tK)(t,o(n,c)),(0,e.tK)(t,o(n,f));let h=(0,u.yN)(c,f),l=Math.PI/2,s=0;for(let n of[[r+i,a],[r,a+i],[r-i,a],[r,a-i]])s=(0,u.Cp)(h,s),s>h.min&&s<h.max&&(0,e.tK)(t,n),s+=l;return t}function l(t){if(t.isInvalid)return 2*t.radius;let{radius:n,thetaStart:r,thetaEnd:e}=t;return n*Math.abs(e-r)}},50954(t,n,r){r.d(n,{GX:()=>h,pM:()=>f});var e=r(77690),a=r(29242),u=(r(37585),r(513)),i=r(15507);const o=(0,a.vt)();function c(t,n,r){let[a,u]=t,[c,f]=n,[h,l]=r;(0,e.hZ)(o,a,c,h,u,f,l,1,1,1);let s=(0,e.a4)(o),M=4*s/((0,i.kb)(t,n)+(0,i.kb)(n,r)+(0,i.kb)(r,t));if(!isFinite(M)||Math.abs(M)<1e-8)return null;let m=a**2+u**2,b=c**2+f**2,d=h**2+l**2;(0,e.hZ)(o,m,b,d,u,f,l,1,1,1);let x=(0,e.a4)(o);return(0,e.hZ)(o,m,b,d,a,c,h,1,1,1),[x/s*.5,(0,e.a4)(o)/s*-.5]}function f(t,n){let[r,e]=n.c,a=c(t,e,r),o=null==a,f=a??(0,i.RS)([],t,r,.5),[h,l]=t,[s,M]=e,[m,b]=r,[d,x]=f,p=h-d,y=l-x,v=Math.sqrt(p*p+y*y),g=(0,i.t7)(l-x,h-d),q=(0,i.t7)(M-x,s-d),P=(0,i.t7)(b-x,m-d);return(q-g)*(P-q)<0&&(P+=2*Math.sign(g-P)*Math.PI),new u.KP(d,x,v,g,P,o)}function h(t,n,r){let e=(0,u.mq)(t,r/2),a=(0,u.mq)(t,r),i=(0,u.mq)(t,(r+1)/2);return[{c:[a,e]},{c:[[...n.c[0]],i]}]}},79567(t,n,r){r.d(n,{e:()=>h});var e=r(19419),a=r(4305),u=r(513),i=r(50954),o=r(52006),c=r(49663),f=r(46068);function h(t,n,r){if((0,o.Xq)(r))return(0,e.tK)(t,n),(0,e.tK)(t,r),t;if((0,o.n1)(r))return(0,a.lM)(t,n,r);if((0,o.aO)(r)){let e=(0,i.pM)(n,r);return(0,u.X0)(t,e)}if((0,o.DA)(r)){let e=(0,c.io)(n,r);return(0,u.X0)(t,e)}return(0,f.DL)(t,n,r)}},52006(t,n,r){function e(t){return"curveRings"in t&&!!t.curveRings?.length||"curvePaths"in t&&!!t.curvePaths?.length}function a(t){return"curveRings"in t?t.curveRings:t.curvePaths}function u(t){return"b"in t}function i(t){return"c"in t}function o(t){return Array.isArray(t)}function c(t){return"a"in t}function f(t){return"a"in t&&4===t.a.length}function h(t){return"a"in t&&7===t.a.length}function l(t,n){return a(t).flat().some(t=>function(t,n){return!(o(t)||(u(t)?n.has("cubic-bezier"):i(t)?n.has("circular-arc"):!f(t)&&!h(t)||n.has("elliptic-arc")))}(t,n))}function s(t){return o(t)?t:u(t)?t.b[0]:i(t)?t.c[0]:t.a[0]}function M(t){if(u(t)){let[n,r,e]=t.b;return{b:[[...n],[...r],[...e]]}}if(i(t)){let[n,r]=t.c;return{c:[[...n],[...r]]}}if(o(t))return[...t];if(f(t)){let[n,r,e,a]=t.a;return{a:[[...n],[...r],e,a]}}if(h(t)){let[n,r,e,a,u,i,o]=t.a;return{a:[[...n],[...r],e,a,u,i,o]}}return t}r.d(n,{DA:()=>f,Ed:()=>e,FD:()=>a,FG:()=>c,V8:()=>l,Xq:()=>o,aO:()=>i,n1:()=>u,tk:()=>M,wY:()=>h,yP:()=>s}),r(4576)},49663(t,n,r){r.d(n,{io:()=>i,xG:()=>o});var e=r(34727),a=(r(37585),r(513)),u=r(15507);function i(t,n){let[r,i,o,c]=n.a,[f,h]=t,[l,s]=r,[M,m]=i,b=f-M,d=h-m,x=Math.sqrt(b*b+d*d),p=l-M,y=s-m,v=Math.sqrt(p*p+y*y),g=0===x||0===v||!(0,e.b6)(x,v),q=x,[P,I]=(0,u.Gz)((0,u.t7)(h-m,f-M),Math.atan2(s-m,l-M),o,c);return new a.KP(M,m,q,P,I,g)}function o(t,n,r){let{cx:e,cy:u,thetaStart:i,thetaEnd:o}=t,[c,f,h,l]=n.a,s=i*(1-r)+o*r;return[{a:[(0,a.mq)(t,r),[e,u],+(Math.abs(s-i)<Math.PI),l]},{a:[[...c],[e,u],+(Math.abs(o-s)<Math.PI),l]}]}},46068(t,n,r){r.d(n,{DL:()=>M,ED:()=>l,SW:()=>c,Uk:()=>h,pb:()=>s,xm:()=>m}),r(77690);var e=r(29242),a=(r(37585),r(19419)),u=r(52006),i=r(15507);class o{constructor(t,n,r,e,a,u,i,o,c){this.cx=t,this.cy=n,this.a=r,this.b=e,this.cosR=a,this.sinR=u,this.u1=i,this.u2=o,this.isInvalid=c}}function c(t,n){let[r,e,a,u,c,f,h]=n.a,[l,s]=t,[M,m]=r,[b,d]=e,x=f*h,p=Math.cos(c),y=Math.sin(c),[v,g]=(0,i.Gz)((0,i.t7)(1/x*(s-d)*p-1/x*(l-b)*y,1/f*(s-d)*y+1/f*(l-b)*p),Math.atan2(1/x*(m-d)*p-1/x*(M-b)*y,1/f*(m-d)*y+1/f*(M-b)*p),a,u);return new o(b,d,f,x,p,y,v,g,0===f||0===x)}function f(t,n){let{a:r,b:e,cosR:a,sinR:u,cx:i,cy:o}=t,c=Math.cos(n),f=Math.sin(n);return[r*c*a-e*f*u+i,r*c*u+e*f*a+o]}function h(t,n){let{u1:r,u2:e}=t;return f(t,r*(1-n)+e*n)}function l(t,n,r){if(r<0||r>1)return[];if(0===r||1===r)return[(0,u.tk)(n)];let[e,[a,i],o,c,f,l,s]=n.a,{u1:M,u2:m}=t,b=M*(1-r)+m*r;return[{a:[[...h(t,r)],[a,i],+(Math.abs(b-M)<Math.PI),c,f,l,s]},{a:[[...e],[a,i],+(Math.abs(m-b)<Math.PI),c,f,l,s]}]}function s(t,n){let{a:r,b:e,cosR:a,sinR:u,u1:o,u2:c}=t,h=Math.PI/6,l=[1*h,2*h,4*h,5*h,7*h,8*h,10*h,11*h],s=(0,i.R)(n,l,n=>{let i=Math.cos(n),o=Math.sin(n),[c,h]=f(t,n);return[c,h,-r*a*o-e*u*i,-r*u*o+e*a*i,-r*a*i+e*u*o,-r*u*i-e*a*o]}),M=(0,i.yN)(o,c),m=new Set(s.map(t=>(0,i.Cp)(M,t)).filter(t=>t>M.min&&t<M.max));m.add(o),m.add(c);let b,d,x=1/0;for(let r of m){let e=f(t,r),[a,u]=e,i=n[0]-a,h=n[1]-u,l=i*i+h*h;l<x&&(b=(r-o)/(c-o),d=e,x=l)}return{t:b,curvePoint:d,distance:Math.sqrt(x)}}function M(t,n,r){let e=c(n,r),{a:u,b:o,u1:h,u2:l,cosR:s,sinR:M,isInvalid:m}=e,b=r.a[0];if((0,a.tK)(t,n),(0,a.tK)(t,b),m)return t;let d=Math.atan2(-o*M,u*s),x=d+Math.PI,p=Math.atan2(o*s,u*M),y=p+Math.PI,v=(0,i.yN)(h,l);for(let n of[d,x,p,y].map(t=>(0,i.Cp)(v,t)))n>v.min&&n<v.max&&(0,a.tK)(t,f(e,n));return t}function m(t,n,r){let[e,a,u,o,l,s,M]=n.a,m=c(t,n),{u1:b,u2:d,isInvalid:x}=m,p=d-b;if(x)return Math.sqrt((0,i.kb)(t,e));let y=[0,0],v=0,g=[h(m,0),h(m,.25),h(m,.5),h(m,.75),h(m,1)];for(let t=0;t<14;t++){let t=g.length-1,n=p/(2*t),e=[];for(let r=0;r<t;r++)e.push(g[r]),e.push(f(m,b+(2*r+1)*n));e.push(g[g.length-1]),g=e,v=0;let u=0;for(let t=1;t<g.length;t++){let n=g[t-1],r=g[t];if(v+=Math.sqrt((0,i.kb)(n,r)),t>1){let e=g[t-2],o=(0,i.M_)(y,e,n,a,r);u+=o?Math.sqrt((0,i.kb)(n,o)):Math.abs(r[0]-n[0])+Math.abs(r[1]-n[1])}else u+=v}if(u-v<r)return v}return v}(0,e.vt)(),(0,e.vt)(),(0,e.vt)(),(0,e.vt)()},59803(t,n,r){r.d(n,{T:()=>u});var e=r(34727),a=r(15507);function u(t,n,r){let[u,i]=t,[o,c]=n,[f,h]=r,[l,s]=[o-u,c-i],M=l*(f-u)+s*(h-i);M/=l**2+s**2,M=isNaN(M)?0:(0,e.qE)(M,0,1);let m=(0,a.RS)([0,0],t,n,M);return{t:M,curvePoint:m,distance:Math.sqrt((0,a.kb)(m,r))}}},15507(t,n,r){r.d(n,{Cp:()=>b,Gz:()=>m,M_:()=>c,Pf:()=>d,R:()=>x,RS:()=>u,kb:()=>i,t7:()=>h,yE:()=>o,yN:()=>M});var e=r(34727),a=r(37585);function u(t,n,r,e){return t[0]=n[0]*(1-e)+r[0]*e,t[1]=n[1]*(1-e)+r[1]*e,t}function i(t,n){return(0,a.hG)(t,n)}function o(t,n,r){let e=i(n,r);if(0===e)return i(n,t);let a=(n[0]-t[0])*(r[1]-t[1])-(n[1]-t[1])*(r[0]-t[0]);return a*a/e}function c(t,n,r,e,a){let[u,i]=n,[o,c]=r,[f,h]=e,[l,s]=a,M=(u-o)*(h-s)-(i-c)*(f-l);if(0===M)return null;let m=(u*c-i*o)*(f-l)-(u-o)*(f*s-h*l),b=(u*c-i*o)*(h-s)-(i-c)*(f*s-h*l);return t[0]=m/M,t[1]=b/M,t}const f=2*Math.PI;function h(t,n){let r=Math.atan2(t,n);return r<0?r+f:r}function l(t){return Math.abs(t)%f}function s(t){let n=l(t);return n<Math.PI?n:f-n}function M(t,n){return{min:Math.min(t,n),max:Math.max(t,n)}}function m(t,n,r,a){if((0,e.Sp)(l(t-n),0))return r?[t,t]:[t,a?t-f:t+f];let[u,i]=a?[t-f,t]:[t,t+f];return[t,b({min:u,max:i},n)]}function b({min:t,max:n},r){let e;return e=n-r,e>=f?(e-=e%f,r+e):(e=r-t,e>=f?(e-=e%f,r-e):r)}function d(t,n){let r=b(t,n);return r>t.min&&r<t.max?r:s(r-t.min)<s(r-t.max)?t.min:t.max}function x(t,n,r,e=10){return n.map(n=>{let a=n;for(let n=0;n<e;n++){let[n,e,u,i,o,c]=r(a),f=t[0]-n,h=t[1]-e,l=-u,s=-i;a+=-(2*f*l+2*h*s)/(2*l*l+2*f*-o+2*s*s+2*h*-c||1e-6)}return a})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[3242],{56512(e,t,i){function r(e){let t,i,r=[],s=!1;return function(...n){return s&&t===this&&function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;++i)if(e[i]!==t[i])return!1;return!0}(n,r)||(i=e.apply(this,n),t=this,r=n,s=!0),i}}i.d(t,{B:()=>r})},74379(e,t,i){i.d(t,{V:()=>r,t:()=>s});const r=Symbol("isImageryGraphicOrigin");function s(e){return!!e&&r in e}},87772(e,t,i){i.r(t),i.d(t,{default:()=>er});var r,s=i(32198),n=i(40124),a=i(69540),o=i(53966),l=i(25728),u=i(17676),p=i(91429),m=i(41910),c=i(55156),d=i(60950),y=i(89808),h=i(99959),g=i(74379);class f extends h.A{get[(r=g.V,d.ym)](){return this.layer}get[c.e](){return this.layer}get[y.Q](){return this.layer}get[m.e7](){return this.layer}constructor(e){super(),this[r]=!0,this.type="imagery",this.layer=e}get id(){return this.layer.id}}var w=i(4146),v=i(52106),R=i(56507),C=i(49186),b=i(4718),S=i(563),x=i(36708),I=i(84952),M=i(78888),F=i(62788),A=i(5443),D=i(86738),T=i(39829),P=i(16930),j=i(21325),N=i(4366),O=i(40951),Z=i(34930),_=i(47520),V=i(34251),q=i(10873),E=i(45617),J=i(25482),G=i(94778);const $={StretchFunction:{arguments:{ComputeGamma:{isDataset:!1,isPublic:!1,name:"ComputeGamma",type:"RasterFunctionVariable",value:!1},DRA:{isDataset:!1,isPublic:!1,name:"DRA",type:"RasterFunctionVariable",value:!1},EstimateStatsHistogram:{isDataset:!1,isPublic:!1,name:"EstimateStatsHistogram",type:"RasterFunctionVariable",value:!1},Gamma:{displayName:"Gamma",isDataset:!1,isPublic:!1,name:"Gamma",type:"RasterFunctionVariable"},Histograms:{isDataset:!1,isPublic:!1,name:"Histograms",type:"RasterFunctionVariable"},Max:{isDataset:!1,isPublic:!1,name:"Max",type:"RasterFunctionVariable",value:255},MaxPercent:{isDataset:!1,isPublic:!1,name:"MaxPercent",type:"RasterFunctionVariable",value:.5},Min:{isDataset:!1,isPublic:!1,name:"Min",type:"RasterFunctionVariable",value:0},MinPercent:{isDataset:!1,isPublic:!1,name:"MinPercent",type:"RasterFunctionVariable",value:.25},NumberOfStandardDeviations:{isDataset:!1,isPublic:!1,name:"NumberOfStandardDeviation",type:"RasterFunctionVariable",value:2},Raster:{isDataset:!0,isPublic:!1,name:"Raster",type:"RasterFunctionVariable"},SigmoidStrengthLevel:{isDataset:!1,isPublic:!1,name:"SigmoidStrengthLevel",type:"RasterFunctionVariable",value:2},Statistics:{isDataset:!1,isPublic:!1,name:"Statistics",type:"RasterFunctionVariable"},StretchType:{isDataset:!1,isPublic:!1,name:"StretchType",type:"RasterFunctionVariable",value:0},type:"StretchFunctionArguments",UseGamma:{isDataset:!1,isPublic:!1,name:"UseGamma",type:"RasterFunctionVariable",value:!1}},description:"Enhances an image by adjusting the range of values displayed. This does not alter the underlying pixel values. If a pixel has a value outside of the specified range, it will appear as either the minimum or maximum value.",function:{description:"Enhances an image by adjusting the range of values displayed. This does not alter the underlying pixel values. If a pixel has a value outside of the specified range, it will appear as either the minimum or maximum value.",name:"Stretch",pixelType:"UNKNOWN",type:"StretchFunction"},functionType:0,name:"Stretch",thumbnail:""},RemapFunction:{name:"Remap",description:"Changes pixel values by assigning new values to ranges of pixel values or using an external table.",function:{type:"RemapFunction",pixelType:"UNKNOWN",name:"Remap",description:"Changes pixel values by assigning new values to ranges of pixel values or using an external table."},arguments:{Raster:{name:"Raster",isPublic:!1,isDataset:!0,type:"RasterFunctionVariable"},UseTable:{name:"UseTable",isPublic:!1,isDataset:!1,value:!1,type:"RasterFunctionVariable"},InputRanges:{name:"InputRanges",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable",displayName:"Input Ranges"},OutputValues:{name:"OutputValues",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable",displayName:"Output Values"},NoDataRanges:{name:"NoDataRanges",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable",displayName:"NoData Ranges"},Table:{name:"Table",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},InputField:{name:"InputField",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},OutputField:{name:"OutputField",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},InputMaxField:{name:"InputMaxField",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},RemapTableType:{name:"RemapTableType",isPublic:!1,isDataset:!1,value:1,type:"RasterFunctionVariable"},AllowUnmatched:{name:"AllowUnmatched",isPublic:!1,isDataset:!1,value:!0,type:"RasterFunctionVariable"},type:"RemapFunctionArguments"},functionType:0,thumbnail:""},ColormapFunction:{name:"Colormap",description:"Changes pixel values to display the raster data as either a grayscale or a red, green, blue (RGB) image, based on a colormap or a color ramp.",function:{type:"ColormapFunction",pixelType:"UNKNOWN",name:"Colormap",description:"Changes pixel values to display the raster data as either a grayscale or a red, green, blue (RGB) image, based on a colormap or a color ramp."},arguments:{Raster:{name:"Raster",isPublic:!1,isDataset:!0,type:"RasterFunctionVariable"},ColorSchemeType:{name:"ColorSchemeType",isPublic:!1,isDataset:!1,value:1,type:"RasterFunctionVariable"},Colormap:{name:"Colormap",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},ColormapName:{name:"ColormapName",isPublic:!1,isDataset:!1,value:"Gray",type:"RasterFunctionVariable"},ColorRamp:{name:"ColorRamp",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},type:"ColormapFunctionArguments"},functionType:0,thumbnail:""},ShadedReliefFunction:{name:"Shaded Relief",description:"Creates a multiband, color coded, 3D representation of the surface, with the sun's relative position taken into account for shading the image.",function:{type:"ShadedReliefFunction",pixelType:"UNKNOWN",name:"Shaded Relief",description:"Creates a multiband, color coded, 3D representation of the surface, with the sun's relative position taken into account for shading the image."},arguments:{Raster:{name:"Raster",isPublic:!1,isDataset:!0,type:"RasterFunctionVariable"},ColorSchemeType:{name:"ColorSchemeType",isPublic:!1,isDataset:!1,value:1,type:"RasterFunctionVariable"},ColorRamp:{name:"ColorRamp",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},HillshadeType:{name:"HillshadeType",isPublic:!1,isDataset:!1,value:0,type:"RasterFunctionVariable"},Colormap:{name:"Colormap",isPublic:!1,isDataset:!1,type:"RasterFunctionVariable"},Azimuth:{name:"Azimuth",isPublic:!1,isDataset:!1,value:315,type:"RasterFunctionVariable"},Altitude:{name:"Altitude",isPublic:!1,isDataset:!1,value:45,type:"RasterFunctionVariable"},SlopeType:{name:"SlopeType",isPublic:!1,isDataset:!1,value:1,type:"RasterFunctionVariable"},ZFactor:{name:"ZFactor",isPublic:!1,isDataset:!1,value:1,type:"RasterFunctionVariable"},PSPower:{name:"PSPower",isPublic:!1,isDataset:!1,value:.664,type:"RasterFunctionVariable"},PSZFactor:{name:"PSZFactor",isPublic:!1,isDataset:!1,value:.024,type:"RasterFunctionVariable"},RemoveEdgeEffect:{name:"RemoveEdgeEffect",isPublic:!1,isDataset:!1,value:!1,type:"RasterFunctionVariable"},type:"ShadedReliefFunctionArguments"},functionType:0,thumbnail:""},HillshadeFunction:{name:"Hillshade",description:"Creates a 3D representation of the surface, with the sun's relative position taken into account for shading the image",function:{type:"HillshadeFunction",pixelType:"UNKNOWN",name:"Hillshade",description:"Creates a 3D representation of the surface, with the sun's relative position taken into account for shading the image"},arguments:{DEM:{name:"DEM",isPublic:!1,isDataset:!0,type:"RasterFunctionVariable"},HillshadeType:{name:"HillshadeType",isPublic:!1,isDataset:!1,value:0,type:"RasterFunctionVariable"},Azimuth:{name:"Azimuth",isPublic:!1,isDataset:!1,value:315,type:"RasterFunctionVariable"},Altitude:{name:"Altitude",isPublic:!1,isDataset:!1,value:45,type:"RasterFunctionVariable"},SlopeType:{name:"SlopeType",isPublic:!1,isDataset:!1,value:1,type:"RasterFunctionVariable"},ZFactor:{name:"ZFactor",isPublic:!1,isDataset:!1,value:1,type:"RasterFunctionVariable"},PSPower:{name:"PSPower",isPublic:!1,isDataset:!1,value:.664,type:"RasterFunctionVariable"},PSZFactor:{name:"PSZFactor",isPublic:!1,isDataset:!1,value:.024,type:"RasterFunctionVariable"},RemoveEdgeEffect:{name:"RemoveEdgeEffect",isPublic:!1,isDataset:!1,value:!1,type:"RasterFunctionVariable"},type:"HillshadeFunctionArguments"},functionType:0,thumbnail:""},ResampleFunction:{name:"Resample",description:"Changes the cell size of a raster.",function:{type:"ResampleFunction",pixelType:"UNKNOWN",name:"Resample",description:"Changes the cell size of a raster."},arguments:{Raster:{name:"Raster",isPublic:!1,isDataset:!0,type:"RasterFunctionVariable"},ResamplingType:{name:"ResamplingType",isPublic:!1,isDataset:!1,value:0,type:"RasterFunctionVariable"},InputCellSize:{name:"InputCellsize",isPublic:!1,isDataset:!1,value:{x:0,y:0},type:"RasterFunctionVariable"},OutputCellSize:{name:"OutputCellsize",isPublic:!1,isDataset:!1,value:{x:0,y:0},type:"RasterFunctionVariable"},type:"ResampleFunctionArguments"},functionType:0,thumbnail:""}};var z=i(22796),L=i(67369),U=i(70274),B=i(48940);const K=new Set(["u1","u2","u4","u8","s8","u16","s16"]),k={simple_scalar:"Simple Scalar",wind_barb:"Wind Barb",single_arrow:"Single Arrow",beaufort_kn:"Beaufort Wind (Knots)",beaufort_m:"Beaufort Wind (MetersPerSecond)",ocean_current_m:"Ocean Current (MetersPerSecond)",ocean_current_kn:"Ocean Current (Knots)"},Q=new Set(["raster-stretch","unique-value","class-breaks","raster-shaded-relief","vector-field","raster-colormap"]);function H(e){return Q.has(e.type)}function W(e,t){if(!e||!t)return(0,b.o8)(e||t);let i=(0,b.o8)(e);if(i.functionDefinition&&t.rasterFunctionDefinition){let e=t.rasterFunctionDefinition;(e.thumbnail||e.thumbnailEx)&&(e.thumbnail=e.thumbnailEx=void 0),X(i.functionDefinition.arguments,t),i.rasterFunctionDefinition=i.functionDefinition.toJSON()}else"none"!==t.functionName?.toLowerCase()&&(ee(i.functionArguments).Raster=t);return i}function X(e,t){for(let i in e)"raster"===i.toLowerCase()&&("RasterFunctionVariable"===e[i].type?(e[i]=t.rasterFunctionDefinition,e[i].type="RasterFunctionTemplate"):"RasterFunctionTemplate"===e[i].type&&X(e[i].arguments,t))}function Y(e){let t=(0,b.o8)($[e.functionName+"Function"]),i=e.functionArguments;for(let e in i)"raster"===e.toLowerCase()?(t.arguments[e]=Y(i[e]),t.arguments[e].type="RasterFunctionTemplate"):"colormap"===e.toLowerCase()?(t.arguments[e].value=ne(i[e]),t.arguments.ColorSchemeType.value=0):t.arguments[e].value=i[e];return e.outputPixelType&&t.function&&(t.function.pixelType=e.outputPixelType.toUpperCase()),t}function ee(e){let t=e?.Raster??e?.raster;return t&&"esri.layers.support.RasterFunction"===t.declaredClass?ee(t.functionArguments):e}const te={none:0,standardDeviation:3,histogramEqualization:4,minMax:5,percentClip:6,sigmoid:9};function ie(e,t){let i=K.has(t)?(0,G.hP)(t):null;return i&&e.push([Math.floor(i[0]-1),0,0,0],[Math.ceil(i[1]+1),0,0,0]),e}function re(e){if(null==e)return;let{fields:t}=e;return t?.find(e=>e?.name&&"value"===e.name.toLowerCase())?.name}function se(e){return"polygon-3d"===e.symbol?.type?e.symbol.symbolLayers?.find(e=>"fill"===e.type)?.material?.color:e.symbol?.color}function ne(e){let t=[],i=[];return e.forEach(e=>{t.push(e[0]),i.push((0,L.vL)([...e.slice(1),255]))}),{type:"RasterColormap",values:t,colors:i}}var ae=i(85675),oe=i(13868),le=i(43937);let ue=class extends J.o{constructor(){super(...arguments),this.layer=null,this.requestRawData=!1,this.compression=void 0,this.lercVersion=2}get adjustAspectRatio(){return this.layer.adjustAspectRatio}writeAdjustAspectRatio(e,t,i){this.layer.version<10.3||(t[i]=e)}get bandIds(){return this.requestRawData?this.rawDataRequestBandIds:this.layer.bandIds}get compressionQuality(){return this.layer.compressionQuality}writeCompressionQuality(e,t,i){this.format&&this.format.toLowerCase().includes("jpg")&&null!=e&&(t[i]=e)}get compressionTolerance(){return this.layer.compressionTolerance}writeCompressionTolerance(e,t,i){"lerc"===this.format&&null!=e&&(t[i]=e)}get format(){let e=this.layer.renderer?.type;return this.requestRawData||"vector-field"===e||"flow"===e?"lerc":this.layer.format}get interpolation(){return this.layer.interpolation}get noData(){return this.layer.noData}get noDataInterpretation(){return this.layer.noDataInterpretation}get pixelType(){let{layer:e}=this;return e.pixelType===e.serviceRasterInfo.pixelType?void 0:e.pixelType}writeLercVersion(e,t,i){"lerc"===this.format&&this.layer.version>=10.5&&(t[i]=e)}get version(){let e=this.layer;return e.commitProperty("bandIds"),e.commitProperty("format"),e.commitProperty("compressionQuality"),e.commitProperty("compressionTolerance"),e.commitProperty("interpolation"),e.commitProperty("noData"),e.commitProperty("noDataInterpretation"),e.commitProperty("mosaicRule"),e.commitProperty("rasterFunction"),e.commitProperty("adjustAspectRatio"),e.commitProperty("pixelFilter"),e.commitProperty("pixelType"),e.commitProperty("definitionExpression"),e.commitProperty("multidimensionalSubset"),(this._get("version")||0)+1}set version(e){this._set("version",e)}get mosaicRule(){let e=this.layer,t=e.mosaicRule,i=e.definitionExpression;if(t?i&&i!==t.where&&(t=t.clone(),t.where=i):i&&(t=new ae.A({where:i})),!t?.itemRasterFunction){let i=e.rasterFunction,r=pe(i,e.rasterFunctionInfos)?i:null;r&&(t=t?t.clone():new ae.A,t.itemRasterFunction=r)}return t}get rasterFunction(){let e=this.layer,{rasterFunction:t,rasterInfo:i}=e;t=pe(t,e.rasterFunctionInfos)?null:t?.clone(),t&&"lerc"===this.format&&1===i?.bandCount&&i.colormap&&(t=function(e,t){let[i,r]=(0,G.hP)(t);return W(new z.A({functionName:"Stretch",functionArguments:{StretchType:5,UseGamma:!1,Min:i,Max:r,Statistics:[[i,r,1,1]]}}),e)}(t,i.pixelType));let r=e.multidimensionalSubset?.areaOfInterest;return r&&(t=function(e,t){return W(new z.A({functionName:"Clip",functionArguments:{ClippingGeometry:t.toJSON(),ClippingType:1}}),e)}(t,r)),!this.requestRawData&&e.isRenderedFormat&&!e.pixelFilter&&"vector-field"!==e.renderer?.type&&(t=this.combineRendererWithRenderingRule(t)),t}combineRendererWithRenderingRule(e){let t=this.layer,{rasterInfo:i,renderer:r}=t;return r&&H(r)?W(function(e,t){switch(t||={},e.type){case"raster-stretch":return function(e,t){let i=t.convertToRFT,r=new z.A;r.functionName="Stretch";let s=te[U.u.toJSON(e.stretchType)],n={StretchType:s,Statistics:e.customStatistics?.map(e=>[e.min,e.max,e.avg??0,e.stddev??1]),DRA:e.dynamicRangeAdjustment,UseGamma:e.useGamma,Gamma:e.gamma,ComputeGamma:e.computeGamma};if(null!=e.outputMin&&(n.Min=e.outputMin),null!=e.outputMax&&(n.Max=e.outputMax),s===te.standardDeviation?(n.NumberOfStandardDeviations=e.numberOfStandardDeviations,r.outputPixelType="u8"):s===te.percentClip?(n.MinPercent=e.minPercent,n.MaxPercent=e.maxPercent,r.outputPixelType="u8"):s===te.minMax?r.outputPixelType="u8":s===te.sigmoid&&(n.SigmoidStrengthLevel=e.sigmoidStrengthLevel),r.functionArguments=n,r.variableName="Raster",e.colorRamp){let s=e.colorRamp,n=new z.A;if(i)n.functionArguments={ColorRamp:(0,L.hf)(s)};else{let i=(0,L.hs)(s,!0);if(i)n.functionArguments={colorRampName:i};else if(!t.convertColorRampToColormap||"algorithmic"!==s.type&&"multipart"!==s.type){let t=e.colorRamp.toJSON();"algorithmic"===t.type?t.algorithm=t.algorithm||"esriCIELabAlgorithm":"multipart"===t.type&&t.colorRamps?.length&&t.colorRamps.forEach(e=>e.algorithm=e.algorithm||"esriCIELabAlgorithm"),n.functionArguments={colorRamp:t}}else n.functionArguments={Colormap:(0,L.R8)(s)}}return n.variableName="Raster",n.functionName="Colormap",n.functionArguments.Raster=r,i?new z.A({rasterFunctionDefinition:Y(n)}):n}return i?new z.A({rasterFunctionDefinition:Y(r)}):r}(e,t);case"class-breaks":return function(e,t){let i=[],r=[],s=[],n=[],a=1e-4,{pixelType:o,rasterAttributeTable:l}=t,u=null==l?null:l.features,p=re(l);if(p&&u&&Array.isArray(u)&&e.classBreakInfos){e.classBreakInfos.forEach((t,i)=>{let r,s=t.symbol?.color;s?.a&&null!=t.minValue&&null!=t.maxValue&&u.forEach(a=>{null!=t.minValue&&null!=t.maxValue&&(r=a.attributes[e.field],(r>=t.minValue&&r<t.maxValue||i===e.classBreakInfos.length-1&&r>=t.minValue)&&n.push([a.attributes[p],s.r,s.g,s.b]))})});let i=o?ie(n,o):n,r=new z.A;return r.functionName="Colormap",r.functionArguments={},r.functionArguments.Colormap=i,r.variableName="Raster",t.convertToRFT?new z.A({rasterFunctionDefinition:Y(r)}):r}e.classBreakInfos.forEach((e,t)=>{if(null==e.minValue||null==e.maxValue)return;let o=e.symbol&&e.symbol.color;o?.a?(0===t?i.push(e.minValue,e.maxValue+a):i.push(e.minValue+a,e.maxValue+a),r.push(t),n.push([t,o.r,o.g,o.b])):s.push(e.minValue,e.maxValue)});let m=o?ie(n,o):n,c=new z.A;c.functionName="Remap",c.functionArguments={InputRanges:i,OutputValues:r,NoDataRanges:s},c.variableName="Raster";let d=new z.A;return d.functionName="Colormap",d.functionArguments={Colormap:m,Raster:c},t.convertToRFT?new z.A({rasterFunctionDefinition:Y(d)}):d}(e,t);case"unique-value":return function(e,t){let i=[],{pixelType:r,rasterAttributeTable:s}=t,n=null==s?null:s.features,a=re(s),o=e.defaultSymbol?.color?.toRgb(),l=e.uniqueValueInfos;if(l)if(n){if(a){let t=new Map;l.forEach(e=>{let i=e.value,r=se(e);null!=i&&r?.a&&t.set(String(i),r.toRgb())});let r=e.field;r&&n.forEach(({attributes:e})=>{let s=String(e[r]),n=e[a],l=t.get(s);l?i.push([n,...l]):o&&i.push([n,...o])})}}else for(let e=0;e<l.length;e++){let t=l[e],r=se(t),s=+t.value;if(r?.a){if(isNaN(s))return null;i.push([s,r.r,r.g,r.b])}}let u=r?ie(i,r):i,p=new z.A;return p.functionName="Colormap",p.functionArguments={},p.functionArguments.Colormap=u,p.variableName="Raster",t.convertToRFT?new z.A({rasterFunctionDefinition:Y(p)}):p}(e,t);case"raster-colormap":return function(e,t){let i=e.extractColormap();if(!i||0===i.length)return null;let{pixelType:r}=t,s=r?ie(i,r):i,n=new z.A;return n.functionName="Colormap",n.functionArguments={},n.functionArguments.Colormap=s,t.convertToRFT?new z.A({rasterFunctionDefinition:Y(n)}):n}(e,t);case"vector-field":return function(e,t){let i=new z.A;i.functionName="VectorFieldRenderer";let r,s,{dataType:n,bandNames:a}=t,o="vector-uv"===n;if(2===a?.length){let e=a.map(e=>e.toLowerCase());r=e.indexOf("magnitude"),s=e.indexOf("direction")}(-1===r||null===r)&&(r=0,s=1);let l="arithmetic"===e.rotationType?1:2,u="flow-from"===e.flowRepresentation?0:1,p=e.visualVariables?e.visualVariables.find(e=>"Magnitude"===e.field):new B.A;i.functionArguments={magnitudeBandID:r,directionBandID:s,isUVComponents:o,referenceSystem:l,massFlowAngleRepresentation:u,symbolTileSize:50,symbolTileSizeUnits:100,calculationMethod:"Vector Average",symbologyName:k[e.style.toLowerCase().replace("-","_")],minimumMagnitude:p.minDataValue,maximumMagnitude:p.maxDataValue,minimumSymbolSize:p.minSize,maximumSymbolSize:p.maxSize};let m=Y(i);return t.convertToRFT?z.A.fromJSON({rasterFunctionDefinition:m}):i}(e,t);case"raster-shaded-relief":return function(e,t){let i=t.convertToRFT;if("elevation"!==t.dataType&&("generic"!==t.dataType||1!==t.bandCount||"s16"!==t.pixelType&&"s32"!==t.pixelType&&"f32"!==t.pixelType&&"f64"!==t.pixelType))return new z.A;let r=new z.A;r.functionName="Hillshade";let s="traditional"===e.hillshadeType?0:1,n="none"===e.scalingType?1:3,a={HillshadeType:s,SlopeType:n,ZFactor:e.zFactor};return 0===s&&(a.Azimuth=e.azimuth,a.Altitude=e.altitude),3===n&&(a.PSPower=e.pixelSizePower,a.PSZFactor=e.pixelSizeFactor),r.functionArguments=a,r.variableName="Raster",e.colorRamp&&(r.functionName="ShadedRelief",i?a.ColorRamp=(0,L.hf)(e.colorRamp):a.Colormap=(0,L.R8)(e.colorRamp)),i?new z.A({rasterFunctionDefinition:Y(r)}):r}(e,t);case"flow":throw Error("Unsupported rendering rule.")}}(r,{rasterAttributeTable:i.attributeTable,pixelType:i.pixelType,dataType:i.dataType,bandNames:i.bandInfos.map(({name:e})=>e),convertColorRampToColormap:t.version<10.6,convertToRFT:!!e?.rasterFunctionDefinition,bandCount:i.bandCount}),e):e}};function pe(e,t){if(!e)return!1;let i=e.functionDefinition;if(i)return"item"===i.functionType||"item-group"===i.functionType;let r=e?.functionName?.toLowerCase(),s=r?t?.find(({name:e})=>e.toLowerCase()===r):null;return 1===s?.functionType||2===s?.functionType}(0,s.Cg)([(0,p.MZ)()],ue.prototype,"layer",void 0),(0,s.Cg)([(0,p.MZ)()],ue.prototype,"requestRawData",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"adjustAspectRatio",null),(0,s.Cg)([(0,le.K)("adjustAspectRatio")],ue.prototype,"writeAdjustAspectRatio",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"bandIds",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"rawDataRequestBandIds",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"compression",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"compressionQuality",null),(0,s.Cg)([(0,le.K)("compressionQuality")],ue.prototype,"writeCompressionQuality",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"compressionTolerance",null),(0,s.Cg)([(0,le.K)("compressionTolerance")],ue.prototype,"writeCompressionTolerance",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"format",null),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:{reader:oe.SZ.read},write:{writer:oe.SZ.write}}})],ue.prototype,"interpolation",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"noData",null),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:{reader:oe.hm.read},write:{writer:oe.hm.write}}})],ue.prototype,"noDataInterpretation",null),(0,s.Cg)([(0,p.MZ)({type:oe.e8.apiValues,json:{read:oe.e8.read,write:oe.e8.write}})],ue.prototype,"pixelType",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"lercVersion",void 0),(0,s.Cg)([(0,le.K)("lercVersion")],ue.prototype,"writeLercVersion",null),(0,s.Cg)([(0,p.MZ)({type:Number})],ue.prototype,"version",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ue.prototype,"mosaicRule",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0,name:"renderingRule"}})],ue.prototype,"rasterFunction",null),ue=(0,s.Cg)([(0,p.$K)("esri.layers.support.ExportImageServiceParameters")],ue);var me=i(20437),ce=i(95466),de=i(33446),ye=i(43577),he=i(14140),ge=i(74797),fe=i(87186),we=i(12711),ve=i(85676),Re=i(94359),Ce=i(65864),be=i(52039),Se=i(2272);let xe=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.fromGeometry=null,this.toGeometry=null,this.objectIds=null,this.where=null,this.maxCount=null}};(0,s.Cg)([(0,p.MZ)({type:D.A,json:{read:!0}})],xe.prototype,"fromGeometry",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{read:!0,write:!0}})],xe.prototype,"toGeometry",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],xe.prototype,"objectIds",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],xe.prototype,"where",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],xe.prototype,"maxCount",void 0),xe=(0,s.Cg)([(0,p.$K)("esri.rest.support.FindImagesParameters")],xe);const Ie=xe,Me=e=>{let t=e,i=class extends t{constructor(){super(...arguments),this.make=null,this.model=null,this.focalLength=null,this.pixelSize=null,this.rows=null,this.cols=null}};return(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],i.prototype,"make",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],i.prototype,"model",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],i.prototype,"focalLength",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],i.prototype,"pixelSize",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],i.prototype,"rows",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],i.prototype,"cols",void 0),i=(0,s.Cg)([(0,p.$K)("esri.rest.support.CameraInfoMixin")],i),i};let Fe=class extends(Me(J.o)){constructor(e){super(e),this.id=null,this.referenceUri=null,this.acquisitionDate=null,this.cameraID=null,this.center=null,this.perspectiveCenter=null,this.orientation=null}writeAcquisitionDate(e,t){t.acquisitionDate=e?.getTime()}};(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Fe.prototype,"id",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"uri",write:!0}})],Fe.prototype,"referenceUri",void 0),(0,s.Cg)([(0,p.MZ)({type:Date,json:{write:!0}})],Fe.prototype,"acquisitionDate",void 0),(0,s.Cg)([(0,le.K)("acquisitionDate")],Fe.prototype,"writeAcquisitionDate",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Fe.prototype,"cameraID",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],Fe.prototype,"center",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],Fe.prototype,"perspectiveCenter",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Fe.prototype,"orientation",void 0),Fe=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageInspectionInfo")],Fe);const Ae=Fe;let De=class extends J.o{constructor(e){super(e),this.images=null}};(0,s.Cg)([(0,p.MZ)({type:[Ae],json:{write:!0}})],De.prototype,"images",void 0),De=(0,s.Cg)([(0,p.$K)("esri.rest.support.FindImagesResult")],De);const Te=De;var Pe;let je=Pe=class extends J.o{constructor(e){super(e),this.angleNames=null,this.point=null,this.spatialReference=null,this.rasterId=null}clone(){return new Pe((0,b.o8)({angleNames:this.angleNames,point:this.point,spatialReference:this.spatialReference,rasterId:this.rasterId}))}};(0,s.Cg)([(0,p.MZ)({type:[String],json:{name:"angleName",write:!0}})],je.prototype,"angleNames",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],je.prototype,"point",void 0),(0,s.Cg)([(0,p.MZ)({type:P.A,json:{write:!0}})],je.prototype,"spatialReference",void 0),(0,s.Cg)([(0,p.MZ)({type:M.jz,json:{write:!0}})],je.prototype,"rasterId",void 0),je=Pe=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageAngleParameters")],je);const Ne=je;let Oe=class extends J.o{constructor(e){super(e),this.north=null,this.up=null,this.spatialReference=null}};(0,s.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Oe.prototype,"north",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Oe.prototype,"up",void 0),(0,s.Cg)([(0,p.MZ)({type:P.A,json:{write:!0}})],Oe.prototype,"spatialReference",void 0),Oe=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageAngleResult")],Oe);const Ze=Oe;var _e=i(86211),Ve=i(60408),qe=i(50498),Ee=i(66552);const Je=new Ee.J({esriMensurationPoint:"point",esriMensurationCentroid:"centroid",esriMensurationDistanceAndAngle:"distance-and-angle",esriMensurationAreaAndPerimeter:"area-and-perimeter",esriMensurationHeightFromBaseAndTop:"base-and-top",esriMensurationHeightFromBaseAndTopShadow:"base-and-top-shadow",esriMensurationHeightFromTopAndTopShadow:"top-and-top-shadow",esriMensurationPoint3D:"point-3D",esriMensurationCentroid3D:"centroid-3D",esriMensurationDistanceAndAngle3D:"distance-and-angle-3D",esriMensurationAreaAndPerimeter3D:"area-and-perimeter-3D"});let Ge=class extends J.o{constructor(e){super(e),this.type=null,this.measureOperation=null,this.mosaicRule=null,this.pixelSize=null,this.raster=void 0}};(0,s.Cg)([(0,p.MZ)()],Ge.prototype,"type",void 0),(0,s.Cg)([(0,p.MZ)({type:Je.apiValues,json:{read:Je.read,write:Je.write}})],Ge.prototype,"measureOperation",void 0),(0,s.Cg)([(0,p.MZ)({type:ae.A,json:{write:!0}})],Ge.prototype,"mosaicRule",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],Ge.prototype,"pixelSize",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Ge.prototype,"raster",void 0),Ge=(0,s.Cg)([(0,p.$K)("esri.rest.support.BaseImageMeasureParameters")],Ge);const $e=Ge;var ze;let Le=ze=class extends $e{constructor(e){super(e),this.type="area-perimeter",this.geometry=null,this.is3D=!1,this.linearUnit="meters",this.areaUnit="square-meters"}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]=e.toJSON())}get measureOperation(){return this.is3D?"area-and-perimeter-3D":"area-and-perimeter"}clone(){return new ze((0,b.o8)({geometry:this.geometry,is3D:this.is3D,linearUnit:this.linearUnit,areaUnit:this.areaUnit,mosaicRule:this.mosaicRule,pixelSize:this.pixelSize,raster:this.raster}))}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{name:"fromGeometry",read:!0,write:!0}})],Le.prototype,"geometry",void 0),(0,s.Cg)([(0,le.K)("geometry")],Le.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({type:Je.apiValues,json:{write:Je.write}})],Le.prototype,"measureOperation",null),(0,s.Cg)([(0,p.MZ)({json:{read:!0}})],Le.prototype,"is3D",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:_e.Sk.read,write:_e.Sk.write}})],Le.prototype,"linearUnit",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:_e.dk.read,write:_e.dk.write}})],Le.prototype,"areaUnit",void 0),Le=ze=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageAreaParameters")],Le);const Ue=Le;let Be=class extends J.o{constructor(e){super(e),this.name=null,this.sensorName=null}};(0,s.Cg)([(0,p.MZ)({type:String,json:{read:!0,write:!0}})],Be.prototype,"name",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:!0,write:!0}})],Be.prototype,"sensorName",void 0),Be=(0,s.Cg)([(0,p.$K)("esri.rest.support.BaseImageMeasureResult")],Be);const Ke=Be;var ke=i(64108);let Qe=class extends J.o{constructor(e){super(e),this.value=null,this.displayValue=null,this.uncertainty=null}};(0,s.Cg)([(0,p.MZ)({type:String})],Qe.prototype,"unit",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{read:!0,write:!0}})],Qe.prototype,"value",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:!0,write:!0}})],Qe.prototype,"displayValue",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{read:!0,write:!0}})],Qe.prototype,"uncertainty",void 0),Qe=(0,s.Cg)([(0,p.$K)("esri.rest.support.BaseImageMeasureResultValue")],Qe);const He=Qe;let We=class extends He{constructor(e){super(e),this.unit=null}};(0,s.Cg)([(0,p.MZ)({json:{read:_e.dk.read,write:_e.dk.write}})],We.prototype,"unit",void 0),We=(0,s.Cg)([(0,ke.$K)("esri.rest.support.ImageMeasureResultAreaValue")],We);const Xe=We;let Ye=class extends He{constructor(e){super(e),this.unit=null}};(0,s.Cg)([(0,p.MZ)({json:{read:_e.Sk.read,write:_e.Sk.write}})],Ye.prototype,"unit",void 0),Ye=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageMeasureResultLengthValue")],Ye);const et=Ye;let tt=class extends Ke{constructor(e){super(e),this.area=null,this.perimeter=null}};(0,s.Cg)([(0,p.MZ)({type:Xe,json:{read:!0,write:!0}})],tt.prototype,"area",void 0),(0,s.Cg)([(0,p.MZ)({type:et,json:{read:!0,write:!0}})],tt.prototype,"perimeter",void 0),tt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageAreaResult")],tt);const it=tt;let rt=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.outSpatialReference=null}};(0,s.Cg)([(0,p.MZ)({type:P.A,json:{name:"outSR",write:!0}})],rt.prototype,"outSpatialReference",void 0),rt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageBoundaryParameters")],rt);const st=rt;var nt=i(36005);let at=class extends J.o{constructor(e){super(e),this.area=null,this.geometry=null}readGeometry(e,t){return null==e?null:e.rings?T.A.fromJSON(e):A.A.fromJSON(e)}};(0,s.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],at.prototype,"area",void 0),(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{name:"shape",write:!0}})],at.prototype,"geometry",void 0),(0,s.Cg)([(0,nt.w)("geometry")],at.prototype,"readGeometry",null),at=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageBoundaryResult")],at);const ot=at;var lt;let ut=lt=class extends $e{constructor(e){super(e),this.type="distance-angle",this.fromGeometry=null,this.toGeometry=null,this.is3D=!1,this.linearUnit="meters",this.angularUnit="degrees"}writeFromGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]=e.toJSON())}get measureOperation(){return this.is3D?"distance-and-angle-3D":"distance-and-angle"}clone(){return new lt((0,b.o8)({fromGeometry:this.fromGeometry,toGeometry:this.toGeometry,is3D:this.is3D,linearUnit:this.linearUnit,angularUnit:this.angularUnit,mosaicRule:this.mosaicRule,pixelSize:this.pixelSize,raster:this.raster}))}};(0,s.Cg)([(0,p.MZ)({type:D.A,json:{read:!0,write:!0}})],ut.prototype,"fromGeometry",void 0),(0,s.Cg)([(0,le.K)("fromGeometry")],ut.prototype,"writeFromGeometry",null),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{read:!0,write:!0}})],ut.prototype,"toGeometry",void 0),(0,s.Cg)([(0,p.MZ)({type:Je.apiValues,json:{write:Je.write}})],ut.prototype,"measureOperation",null),(0,s.Cg)([(0,p.MZ)({json:{read:!0}})],ut.prototype,"is3D",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:_e.Sk.read,write:_e.Sk.write}})],ut.prototype,"linearUnit",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:_e.b$.read,write:_e.b$.write}})],ut.prototype,"angularUnit",void 0),ut=lt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageDistanceParameters")],ut);const pt=ut;let mt=class extends He{constructor(e){super(e),this.unit=null}};(0,s.Cg)([(0,p.MZ)({json:{read:_e.b$.read,write:_e.b$.write}})],mt.prototype,"unit",void 0),mt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageMeasureResultAngleValue")],mt);const ct=mt;let dt=class extends Ke{constructor(e){super(e),this.distance=null,this.azimuthAngle=null,this.elevationAngle=null}};(0,s.Cg)([(0,p.MZ)({type:et,json:{read:!0,write:!0}})],dt.prototype,"distance",void 0),(0,s.Cg)([(0,p.MZ)({type:ct,json:{read:!0,write:!0}})],dt.prototype,"azimuthAngle",void 0),(0,s.Cg)([(0,p.MZ)({type:ct,json:{read:!0,write:!0}})],dt.prototype,"elevationAngle",void 0),dt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageDistanceResult")],dt);const yt=dt;var ht=i(58174),gt=i(79677),ft=i(93223);let wt=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.geometry=null,this.objectIds=null,this.spatialRelationship="intersects",this.timeExtent=null,this.where=null}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]=JSON.stringify(e.toJSON()))}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{read:Ce.rS,write:!0}})],wt.prototype,"geometry",void 0),(0,s.Cg)([(0,le.K)("geometry")],wt.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],wt.prototype,"objectIds",void 0),(0,s.Cg)([(0,ft.e)(ht.x,{ignoreUnknown:!1,name:"spatialRel"})],wt.prototype,"spatialRelationship",void 0),(0,s.Cg)([(0,p.MZ)({type:gt.A,json:{name:"time",write:!0}})],wt.prototype,"timeExtent",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],wt.prototype,"where",void 0),wt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageGPSInfoParameters")],wt);const vt=wt;let Rt=class extends(Me(J.o)){constructor(e){super(e),this.id=null}};(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Rt.prototype,"id",void 0),Rt=(0,s.Cg)([(0,p.$K)("esri.rest.support.CameraInfo")],Rt);const Ct=Rt;let bt=class extends J.o{constructor(e){super(e),this.id=null,this.name=null,this.acquisitionDate=null,this.cameraID=null,this.center=null,this.gps=null,this.orientation=null}writeAcquisitionDate(e,t){t.acquisitionDate=e?.getTime()}};(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],bt.prototype,"id",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],bt.prototype,"name",void 0),(0,s.Cg)([(0,p.MZ)({type:Date,json:{write:!0}})],bt.prototype,"acquisitionDate",void 0),(0,s.Cg)([(0,le.K)("acquisitionDate")],bt.prototype,"writeAcquisitionDate",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],bt.prototype,"cameraID",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],bt.prototype,"center",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],bt.prototype,"gps",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],bt.prototype,"orientation",void 0),bt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageGPSInfo")],bt);const St=bt;let xt=class extends J.o{constructor(e){super(e),this.images=null,this.cameras=null}};(0,s.Cg)([(0,p.MZ)({type:[St],json:{write:!0}})],xt.prototype,"images",void 0),(0,s.Cg)([(0,p.MZ)({type:[Ct],json:{write:!0}})],xt.prototype,"cameras",void 0),xt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageGPSInfoResult")],xt);const It=xt;var Mt;let Ft=Mt=class extends $e{constructor(e){super(e),this.type="height",this.fromGeometry=null,this.toGeometry=null,this.operationType="base-and-top",this.linearUnit="meters"}writeFromGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]=e.toJSON())}get measureOperation(){return this.operationType}clone(){return new Mt((0,b.o8)({fromGeometry:this.fromGeometry,toGeometry:this.toGeometry,operationType:this.operationType,linearUnit:this.linearUnit,mosaicRule:this.mosaicRule,pixelSize:this.pixelSize,raster:this.raster}))}};(0,s.Cg)([(0,p.MZ)({type:D.A,json:{read:!0}})],Ft.prototype,"fromGeometry",void 0),(0,s.Cg)([(0,le.K)("fromGeometry")],Ft.prototype,"writeFromGeometry",null),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{read:!0,write:!0}})],Ft.prototype,"toGeometry",void 0),(0,s.Cg)([(0,p.MZ)({type:Je.apiValues,json:{write:Je.write}})],Ft.prototype,"measureOperation",null),(0,s.Cg)([(0,p.MZ)({json:{read:!0}})],Ft.prototype,"operationType",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{read:_e.Sk.read,write:_e.Sk.write}})],Ft.prototype,"linearUnit",void 0),Ft=Mt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageHeightParameters")],Ft);const At=Ft;let Dt=class extends Ke{constructor(e){super(e),this.height=null}};(0,s.Cg)([(0,p.MZ)({type:et,json:{read:!0,write:!0}})],Dt.prototype,"height",void 0),Dt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageHeightResult")],Dt);const Tt=Dt;var Pt,jt=i(22048);let Nt=Pt=class extends J.o{constructor(e){super(e),this.geometry=null,this.rasterFunctions=null,this.pixelSize=null,this.returnGeometry=!0,this.returnCatalogItems=!0,this.returnPixelValues=!0,this.maxItemCount=null,this.timeExtent=null,this.raster=void 0,this.viewId=void 0,this.processAsMultidimensional=!1}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]=JSON.stringify(e.toJSON()))}set mosaicRule(e){let t=e;t?.mosaicMethod&&(t=ae.A.fromJSON({...t.toJSON(),mosaicMethod:t.mosaicMethod,mosaicOperation:t.mosaicOperation})),this._set("mosaicRule",t)}writeMosaicRule(e,t,i){null!=e&&(t[i]=JSON.stringify(e.toJSON()))}set rasterFunction(e){let t=e;t?.rasterFunction&&(t=z.A.fromJSON({...t.toJSON(),rasterFunction:t.rasterFunction,rasterFunctionArguments:t.rasterFunctionArguments})),this._set("rasterFunction",t)}writeRasterFunction(e,t,i){null!=e&&(t[i]=JSON.stringify(e.toJSON())),e.rasterFunctionDefinition&&(t[i]=JSON.stringify(e.rasterFunctionDefinition))}writeRasterFunctions(e,t,i){null!=e&&(t[i]=JSON.stringify(e.map(e=>e.rasterFunctionDefinition||e.toJSON())))}writePixelSize(e,t,i){null!=e&&(t[i]=JSON.stringify(e))}writeTimeExtent(e,t,i){if(null!=e){let r=null==e.start?null:e.start.getTime(),s=null==e.end?null:e.end.getTime();t[i]=null==r?null:null==s?`${r}`:`${r},${s}`}}clone(){return new Pt((0,b.o8)({geometry:this.geometry,mosaicRule:this.mosaicRule,rasterFunction:this.rasterFunction,rasterFunctions:this.rasterFunctions,pixelSize:this.pixelSize,returnGeometry:this.returnGeometry,returnCatalogItems:this.returnCatalogItems,returnPixelValues:this.returnPixelValues,maxItemCount:this.maxItemCount,processAsMultidimensional:this.processAsMultidimensional,raster:this.raster,viewId:this.viewId,timeExtent:this.timeExtent}))}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{write:!0}})],Nt.prototype,"geometry",void 0),(0,s.Cg)([(0,le.K)("geometry")],Nt.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({type:ae.A,json:{write:!0}})],Nt.prototype,"mosaicRule",null),(0,s.Cg)([(0,le.K)("mosaicRule")],Nt.prototype,"writeMosaicRule",null),(0,s.Cg)([(0,p.MZ)({type:z.A,json:{write:!0,name:"renderingRule"}})],Nt.prototype,"rasterFunction",null),(0,s.Cg)([(0,le.K)("rasterFunction")],Nt.prototype,"writeRasterFunction",null),(0,s.Cg)([(0,p.MZ)({type:[z.A],json:{write:!0,name:"renderingRules"}})],Nt.prototype,"rasterFunctions",void 0),(0,s.Cg)([(0,le.K)("rasterFunctions")],Nt.prototype,"writeRasterFunctions",null),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],Nt.prototype,"pixelSize",void 0),(0,s.Cg)([(0,le.K)("pixelSize")],Nt.prototype,"writePixelSize",null),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],Nt.prototype,"returnGeometry",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],Nt.prototype,"returnCatalogItems",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],Nt.prototype,"returnPixelValues",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Nt.prototype,"maxItemCount",void 0),(0,s.Cg)([(0,p.MZ)({type:gt.A,json:{write:{target:"time"}}})],Nt.prototype,"timeExtent",void 0),(0,s.Cg)([(0,le.K)("timeExtent")],Nt.prototype,"writeTimeExtent",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Nt.prototype,"raster",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Nt.prototype,"viewId",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],Nt.prototype,"processAsMultidimensional",void 0),Nt=Pt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageIdentifyParameters")],Nt);const Ot=Nt;var Zt=i(22671);let _t=class extends J.o{constructor(e){super(e),this.catalogItemVisibilities=null,this.catalogItems=null,this.location=null,this.name=null,this.objectId=null,this.processedValues=null,this.properties=null,this.value=null}};(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],_t.prototype,"catalogItemVisibilities",void 0),(0,s.Cg)([(0,p.MZ)({type:Zt.A,json:{write:!0}})],_t.prototype,"catalogItems",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],_t.prototype,"location",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],_t.prototype,"name",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],_t.prototype,"objectId",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],_t.prototype,"processedValues",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],_t.prototype,"properties",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],_t.prototype,"value",void 0),_t=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageIdentifyResult")],_t);const Vt=_t;var qt;let Et=qt=class extends J.o{constructor(e){super(e),this.geometries=null,this.rasterId=null}writeGeometry(e,t,i){t.geometries={geometryType:"esriGeometryPoint",geometries:e.map(e=>e.toJSON())}}clone(){return new qt({geometries:this.geometries?.map(e=>e.clone())??[],rasterId:this.rasterId})}};(0,s.Cg)([(0,p.MZ)({type:[D.A],json:{write:!0}})],Et.prototype,"geometries",void 0),(0,s.Cg)([(0,le.K)("geometries")],Et.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({type:M.jz,json:{write:!0}})],Et.prototype,"rasterId",void 0),Et=qt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImagePixelLocationParameters")],Et);const Jt=Et;let Gt=class extends J.o{constructor(e){super(e),this.geometries=null}};(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Gt.prototype,"geometries",void 0),Gt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImagePixelLocationResult")],Gt);const $t=Gt;var zt;let Lt=zt=class extends $e{constructor(e){super(e),this.type="point",this.geometry=null,this.is3D=!1}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]=e.toJSON())}get measureOperation(){let{is3D:e,geometry:t}=this;return"point"===t.type?e?"point-3D":"point":e?"centroid-3D":"centroid"}clone(){return new zt((0,b.o8)({geometry:this.geometry,is3D:this.is3D,mosaicRule:this.mosaicRule,pixelSize:this.pixelSize,raster:this.raster}))}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{name:"fromGeometry",read:Ce.rS}})],Lt.prototype,"geometry",void 0),(0,s.Cg)([(0,le.K)("geometry")],Lt.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({type:Je.apiValues,json:{read:Je.read,write:Je.write}})],Lt.prototype,"measureOperation",null),(0,s.Cg)([(0,p.MZ)({json:{read:!0}})],Lt.prototype,"is3D",void 0),Lt=zt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImagePointParameters")],Lt);const Ut=Lt;let Bt=class extends Ke{constructor(e){super(e),this.point=null}};(0,s.Cg)([(0,p.MZ)({type:D.A,json:{name:"point.value",read:!0,write:!0}})],Bt.prototype,"point",void 0),Bt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImagePointResult")],Bt);const Kt=Bt;var kt=i(34606),Qt=i(51508);let Ht=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.geometries=[],this.rasterIds=null,this.outSpatialReference=null}writeGeometries(e,t,i){t.geometries=e?.length?{geometryType:(0,Ve.$B)(e[0]),geometries:e.map(e=>({...e.toJSON(),spatialReference:void 0}))}:null}};(0,s.Cg)([(0,p.MZ)({types:[qe.yR]})],Ht.prototype,"geometries",void 0),(0,s.Cg)([(0,le.K)("geometries")],Ht.prototype,"writeGeometries",null),(0,s.Cg)([(0,p.MZ)({type:[M.jz],json:{write:!0}})],Ht.prototype,"rasterIds",void 0),(0,s.Cg)([(0,p.MZ)({type:P.A,json:{name:"outSR",write:!0}})],Ht.prototype,"outSpatialReference",void 0),Ht=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageToMapMultirayParameters")],Ht);const Wt=Ht;let Xt=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.geometry=null,this.rasterId=null,this.outSpatialReference=null,this.depthOffset=0,this.adjust=!1}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]={...e.toJSON(),spatialReference:void 0})}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{read:Ce.rS,write:!0}})],Xt.prototype,"geometry",void 0),(0,s.Cg)([(0,le.K)("geometry")],Xt.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],Xt.prototype,"rasterId",void 0),(0,s.Cg)([(0,p.MZ)({type:P.A,json:{name:"outSR",write:!0}})],Xt.prototype,"outSpatialReference",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"options.DOff",write:!0}})],Xt.prototype,"depthOffset",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"options.Adjust",write:!0}})],Xt.prototype,"adjust",void 0),Xt=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageToMapParameters")],Xt);const Yt=Xt;let ei=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.referenceUri=null,this.rasterId=null}};(0,s.Cg)([(0,p.MZ)({type:String,json:{name:"uri",write:!0}})],ei.prototype,"referenceUri",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],ei.prototype,"rasterId",void 0),ei=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageUrlParameters")],ei);const ti=ei;let ii=class extends J.o{constructor(e){super(e),this.url=null}};(0,s.Cg)([(0,p.MZ)({json:{name:"imageURL",write:!0}})],ii.prototype,"url",void 0),ii=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageUrlResult")],ii);const ri=ii,si=new Ee.J({0:"constant",1:"plane",2:"minimum",3:"maximum",4:"average"},{useNumericKeys:!0});let ni=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.geometries=[],this.mosaicRule=null,this.pixelSize=null,this.constantZ=null,this.baseType="plane"}writeGeometries(e,t,i){e?.length&&(t.geometryType=(0,Ve.$B)(e[0]),t.geometries=e.map(e=>e.toJSON()))}};(0,s.Cg)([(0,p.MZ)({types:[qe.yR]})],ni.prototype,"geometries",void 0),(0,s.Cg)([(0,le.K)("geometries")],ni.prototype,"writeGeometries",null),(0,s.Cg)([(0,p.MZ)({type:ae.A,json:{write:!0}})],ni.prototype,"mosaicRule",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{write:!0}})],ni.prototype,"pixelSize",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],ni.prototype,"constantZ",void 0),(0,s.Cg)([(0,p.MZ)({type:si.apiValues,json:{read:si.read,write:si.write}})],ni.prototype,"baseType",void 0),ni=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageVolumeParameters")],ni);const ai=ni;let oi=class extends J.o{constructor(e){super(e),this.area=null,this.cut=null,this.fill=null,this.maxZ=null,this.minZ=null,this.meanZ=null,this.cutCellCount=null,this.fillCellCount=null}};(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],oi.prototype,"area",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],oi.prototype,"cut",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],oi.prototype,"fill",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"maxz",write:!0}})],oi.prototype,"maxZ",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"minz",write:!0}})],oi.prototype,"minZ",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"meanz",write:!0}})],oi.prototype,"meanZ",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],oi.prototype,"cutCellCount",void 0),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],oi.prototype,"fillCellCount",void 0),oi=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageVolume")],oi);const li=oi;let ui=class extends J.o{constructor(e){super(e),this.volumes=[]}};(0,s.Cg)([(0,p.MZ)({type:[li],json:{write:!0}})],ui.prototype,"volumes",void 0),ui=(0,s.Cg)([(0,p.$K)("esri.rest.support.ImageVolumeResult")],ui);const pi=ui;let mi=class extends((0,a.OU)(J.o)){constructor(e){super(e),this.geometry=null,this.rasterId=null,this.visibleOnly=!1}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]=JSON.stringify(e))}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{read:Ce.rS,write:!0}})],mi.prototype,"geometry",void 0),(0,s.Cg)([(0,le.K)("geometry")],mi.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],mi.prototype,"rasterId",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"options.VisibleOnly",write:!0}})],mi.prototype,"visibleOnly",void 0),mi=(0,s.Cg)([(0,p.$K)("esri.rest.support.MapToImageParameters")],mi);const ci=mi;let di=class extends J.o{constructor(e){super(e),this.geometry=null,this.length=null,this.area=null,this.center=null}readCenter(e,t){return e.spatialReference||(e={...e,spatialReference:t.Shape.spatialReference}),D.A.fromJSON(e)}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{name:"Shape",read:Ce.rS,write:!0}})],di.prototype,"geometry",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"Length",write:!0}})],di.prototype,"length",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"Area",write:!0}})],di.prototype,"area",void 0),(0,s.Cg)([(0,p.MZ)({type:D.A,json:{name:"Center",write:!0}})],di.prototype,"center",void 0),(0,s.Cg)([(0,nt.w)("center")],di.prototype,"readCenter",null),di=(0,s.Cg)([(0,p.$K)("esri.rest.support.MeasureAreaFromImageResult")],di);const yi=di;var hi;let gi=hi=class extends J.o{constructor(e){super(e),this.geometry=null,this.rasterId=void 0}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,Ve.$B)(e),t[i]={...e.toJSON(),spatialReference:void 0})}clone(){let e=(0,b.o8)({geometry:this.geometry,rasterId:this.rasterId});return new hi(e)}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{name:"fromGeometry",read:Ce.rS,write:!0}})],gi.prototype,"geometry",void 0),(0,s.Cg)([(0,le.K)("geometry")],gi.prototype,"writeGeometry",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],gi.prototype,"rasterId",void 0),gi=hi=(0,s.Cg)([(0,p.$K)("esri.rest.support.MeasureFromImageParameters")],gi);const fi=gi;let wi=class extends J.o{constructor(e){super(e),this.geometry=null,this.length=null}};(0,s.Cg)([(0,p.MZ)({types:qe.yR,json:{name:"Shape",read:Ce.rS,write:!0}})],wi.prototype,"geometry",void 0),(0,s.Cg)([(0,p.MZ)({json:{name:"Length",write:!0}})],wi.prototype,"length",void 0),wi=(0,s.Cg)([(0,p.$K)("esri.rest.support.MeasureLengthFromImageResult")],wi);const vi=wi;function Ri(e){let t=e?.time;if(t&&(null!=t.start||null!=t.end)){let i=[];null!=t.start&&i.push(t.start),null!=t.end&&!i.includes(t.end)&&i.push(t.end),e.time=i.join(",")}}async function Ci(e,t,i){let r=(0,M.PZ)(jt.A,t),s=(0,Se.Dl)(e),n=r.geometry?[r.geometry]:[],a=await(0,be.el)(n),o=r.toJSON();Ri(o);let l=a?.[0];null!=l&&(o.geometry=Ii(l));let u=(0,Se.lF)({...s.query,f:"json",...o});return(0,Se.jV)(u,i)}async function bi(e,t,i){let r=(0,M.PZ)(Ot,t),s=(0,Se.Dl)(e),n=r.geometry?[r.geometry]:[],a=await(0,be.el)(n),o=r.toJSON(),l=a?.[0];null!=l&&(o.geometry=JSON.stringify(Ii(l)));let u=(0,Se.lF)({...s.query,f:"json",...o}),p=(0,Se.jV)(u,i),m=await(0,R.A)(s.path+"/identify",p);return Vt.fromJSON(m.data)}async function Si(e,t,i,r){let s=(0,Se.Dl)(e),n=await(0,be.el)(i),a=t.toJSON();null!=n[0]&&(a.fromGeometry=JSON.stringify(Ii(n[0]))),null!=n[1]&&(a.toGeometry=JSON.stringify(Ii(n[1])));let o=(0,Se.lF)({...s.query,f:"json",...a}),l=(0,Se.jV)(o,r),{data:u}=await(0,R.A)(s.path+"/measure",l);return u}async function xi(e,t,i){t=(0,M.PZ)(fi,t);let r=(0,Se.Dl)(e),s=t.toJSON(),n=(0,Se.lF)({...r.query,f:"json",...s}),a=(0,Se.jV)(n,i),{data:o}=await(0,R.A)(r.path+"/measureFromImage",a);return o}function Ii(e){let t=e.toJSON();return e.spatialReference?.imageCoordinateSystem&&(t.spatialReference=Mi(e.spatialReference)),t}function Mi(e){let{imageCoordinateSystem:t}=e;if(t){let{id:e,referenceServiceName:i}=t;return null==e?{ics:t}:i?{icsid:e,icsns:i}:{icsid:e}}return e.toJSON()}function Fi(e,t){if(!e.imageCoordinateSystem)return(0,j.YX)(e);let i=Mi(e),{icsid:r,icsns:s}=i;return null==r||null!=s&&!t?.toLowerCase().includes("/"+s.toLowerCase()+"/")?JSON.stringify(i):`0:${r}`}var Ai=i(82371),Di=i(20223),Ti=i(20615),Pi=i(74910),ji=i(78286),Ni=i(99199),Oi=i(97552),Zi=i(7562);const _i=new Set(["png","png8","png24","png32","jpg","bmp","gif","jpgpng","lerc","tiff"]),Vi=e=>{let t=e,r=class extends t{constructor(){super(...arguments),this._functionRasterInfos={},this._serviceSupportsMosaicRule=null,this._exportTileQueue=new S.QueueProcessor({concurrency:4,process:(e,t)=>this._fetchPixels(e.extent,e.width,e.height,{...e.options,signal:t})}),this.adjustAspectRatio=null,this.bandIds=void 0,this.capabilities=null,this.compressionQuality=void 0,this.compressionTolerance=.01,this.copyright=null,this.defaultMosaicRule=null,this.definitionExpression=null,this.exportImageServiceParameters=null,this.rasterInfo=null,this.fields=null,this.fullExtent=null,this.hasMultidimensions=!1,this.imageMaxHeight=4100,this.imageMaxWidth=4100,this.interpolation=void 0,this.minScale=0,this.maxScale=0,this.multidimensionalInfo=null,this.multidimensionalSubset=null,this.noData=null,this.noDataInterpretation=void 0,this.objectIdField=null,this.geometryType="polygon",this.typeIdField=null,this.types=[],this.pixelFilter=null,this.raster=void 0,this.sourceType=null,this.viewId=void 0,this.symbolizer=null,this.rasterFunctionInfos=null,this.serviceDataType=null,this.spatialReference=null,this.pixelType=null,this.serviceRasterInfo=null,this.sourceJSON=null,this.url=null,this.version=void 0}initialize(){this._set("exportImageServiceParameters",new ue({layer:this}))}readServiceSupportsMosaicRule(e,t){return this._isMosaicRuleSupported(t)}get _rasterFunctionNamesIndex(){let e=new Map;return!this.rasterFunctionInfos||null!=this.rasterFunctionInfos&&this.rasterFunctionInfos.length<1||null!=this.rasterFunctionInfos&&this.rasterFunctionInfos.forEach(t=>{e.set(t.name.toLowerCase().replaceAll(/ /gi,"_"),t.name)}),e}readBandIds(e,t){if(Array.isArray(e)&&e.length>0&&e.every(e=>"number"==typeof e))return e}readCapabilities(e,t){return this._readCapabilities(t)}writeCompressionQuality(e,t,i){null!=e&&"lerc"!==this.format&&(t[i]=e)}writeCompressionTolerance(e,t,i){"lerc"===this.format&&null!=e&&(t[i]=e)}readDefaultMosaicRule(e,t){return this._serviceSupportsMosaicRule?(0,F.F_)(()=>ae.A.fromJSON(t)):null}get fieldsIndex(){return this.fields?new ce.A(this.fields):null}set format(e){e&&_i.has(e.toLowerCase())&&this._set("format",e.toLowerCase())}readFormat(e,t){return"esriImageServiceDataTypeVector-UV"===t.serviceDataType||"esriImageServiceDataTypeVector-MagDir"===t.serviceDataType||null!=this.pixelFilter||!1===t.allowRasterFunction?"lerc":"jpgpng"}get isRenderedFormat(){return!this.format||this.format.includes("jpg")||this.format.includes("png")}readMinScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}readMaxScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}set mosaicRule(e){let t=e;t?.mosaicMethod&&(t=ae.A.fromJSON({...t.toJSON(),mosaicMethod:t.mosaicMethod,mosaicOperation:t.mosaicOperation})),this._set("mosaicRule",t)}readMosaicRule(e,t){let i=e||t.mosaicRule;return i?ae.A.fromJSON(i):this._isMosaicRuleSupported(t)?ae.A.fromJSON(t):null}writeMosaicRule(e,t,i){let{mosaicRule:r}=this;this._isValidCustomizedMosaicRule(r)&&(t[i]=r.toJSON())}readObjectIdField(e,t){return e||=t.fields.find(e=>"esriFieldTypeOID"===e.type||"oid"===e.type)?.name,e}get parsedUrl(){return(0,I.An)(this.url)}readSourceType(e,t){return this._isMosaicDataset(t)?"mosaic-dataset":"raster-dataset"}get renderer(){let{activePresetRendererName:e,presetRenderers:t}=this;return e?(t?.find(({name:t})=>t===e))?.renderer.clone():this.internalRenderer}set renderer(e){this.activePresetRendererName=null,this.internalRenderer=e}set internalRenderer(e){this.loaded&&(e=this._configRenderer(e)),this._set("internalRenderer",e)}readRenderer(e,t,i){let r=t?.layerDefinition?.drawingInfo?.renderer,s=(0,Re.LF)(r,i);return null==s?null:("vector-field"===s.type&&t.symbolTileSize&&!r.symbolTileSize&&(s.symbolTileSize=t.symbolTileSize),H(s)||o.A.getLogger(this).warn("ArcGISImageService","Imagery layer doesn't support given renderer type."),s)}writeRenderer(e,t,i){t.layerDefinition=t.layerDefinition||{},t.layerDefinition.drawingInfo=t.layerDefinition.drawingInfo||{},t.layerDefinition.drawingInfo.renderer=e.toJSON()}get rasterFields(){let e=this.fields?.map(e=>e.clone())??[];e.push((0,ge.rZ)()),"mosaic-dataset"===this.sourceType&&this.fields?.length&&e.push((0,ge.Nd)()),this.version>=10.4&&null!=this.rasterFunctionInfos&&this.rasterFunctionInfos.some(({name:e})=>"none"===e.toLowerCase())&&e.push((0,ge.dy)()),null!=this.rasterFunctionInfos&&this.rasterFunctionInfos.filter(({name:e})=>"none"!==e.toLowerCase()).forEach(({name:t})=>e.push((0,ge.nq)(t)));let{rasterInfo:t}=this;if(this._isVectorDataSet()){let i=t?.multidimensionalInfo?.variables[0].unit?.trim(),r=(0,ge.DV)(i),s=(0,ge.y6)();e.push(r,s)}if(t?.multidimensionalInfo&&"raster-dataset"===this.sourceType){let i=(0,ge.AL)(t.multidimensionalInfo);e.push(...i)}let i=t?.attributeTable;if(null!=i){let t=(0,ge.jC)(i);e.push(...t)}return e}set rasterFunction(e){let t=e;t?.rasterFunction&&(t=z.A.fromJSON({...t.toJSON(),rasterFunction:t.rasterFunction,rasterFunctionArguments:t.rasterFunctionArguments})),this._set("rasterFunction",t)}readRasterFunction(e,t){let i=t.rasterFunctionInfos,r=t.renderingRule,s=null!=r&&Object.keys(r).length>0;return s||i?.length&&"None"!==i[0].name?this._isRFTJson(r)?z.A.fromJSON({rasterFunctionDefinition:r}):z.A.fromJSON(s?r:{rasterFunctionInfos:i}):null}readSpatialReference(e,t){let i=e||t.extent.spatialReference;return i?P.A.fromJSON(i):null}writePixelType(e,t,i){(null==this.serviceRasterInfo||this.pixelType!==this.serviceRasterInfo.pixelType)&&(t[i]=oe.e8.toJSON(e))}readVersion(e,t){let i=t.currentVersion;return i||=t.hasOwnProperty("fields")||t.hasOwnProperty("timeInfo")?10:9.3,i}applyFilter(e){let t=e;return this.pixelFilter&&(t=this._clonePixelData(e),this.pixelFilter(t)),t}async applyRenderer(e,t){let i=e,{renderer:r,symbolizer:s,pixelFilter:n}=this,{isRawData:a}=e;if(a&&"lerc"!==this.format&&(r??=(0,we.PD)(this.rasterInfo,{bandIds:this.bandIds,variableName:this.rasterFunction?null:this.mosaicRule?.multidimensionalDefinition?.[0].variableName}),s||=(this.symbolizer=new ve.A({rendererJSON:r.toJSON(),rasterInfo:this.rasterInfo}),this.symbolizer)),(a||!this.isRenderedFormat)&&r&&s&&!n){await this._updateSymbolizer(s,r);let n=this.bandIds?.length?this.bandIds:(0,we.ci)(this.rasterInfo);i=await this._symbolize({pixelData:e,bandIds:n,symbolizer:s},t)}return i}destroy(){this._shutdownJobHandler()}async calculateVolume(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsCalculateVolume)throw new C.A("imagery-layer:compute-pixel-space-locations","this operation is not supported on the input image service");return e=(0,b.o8)(e),this.mosaicRule&&null==e.mosaicRule&&(e.mosaicRule=this.mosaicRule),async function(e,t,i){let r=(0,M.PZ)(ai,t).toJSON();r.geometries=JSON.stringify(r.geometries);let s=(0,Se.Dl)(e),n=(0,Se.lF)({...s.query,f:"json",...r}),a=(0,Se.jV)(n,i),{data:o}=await(0,R.A)(`${s.path}/calculateVolume`,a);return pi.fromJSON({volumes:o.results})}(this.url,e,this._getRequestOptions(t))}async computeAngles(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsComputeAngles)throw new C.A("imagery-layer:compute-angles","this operation is not supported on the input image service");return async function(e,t,i){let r=(0,M.PZ)(Ne,t),s=r.toJSON();null!=s.angleName&&(s.angleName=s.angleName.join(",")),r?.point?.spatialReference?.imageCoordinateSystem&&(s.point.spatialReference=Mi(r.point.spatialReference)),r?.spatialReference?.imageCoordinateSystem&&(s.spatialReference=Fi(r.spatialReference));let n=(0,Se.Dl)(e),a=(0,Se.lF)({...n.query,f:"json",...s}),o=(0,Se.jV)(a,i),{data:l}=await(0,R.A)(`${n.path}/computeAngles`,o);return l.spatialReference=l.spatialReference?null==l.spatialReference.geodataXform?P.A.fromJSON(l.spatialReference):new P.A({wkid:0,imageCoordinateSystem:l.spatialReference}):null,"NaN"===l.north&&(l.north=null),"NaN"===l.up&&(l.up=null),new Ze(l)}(this.url,e,this._getRequestOptions(t))}async computePixelSpaceLocations(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsComputePixelLocation)throw new C.A("imagery-layer:compute-pixel-space-locations","this operation is not supported on the input image service");return async function(e,t,i){let r=(0,M.PZ)(Jt,t),s=r.toJSON(),{geometries:n}=r;if(n)for(let e=0;e<n.length;e++)n[e].spatialReference?.imageCoordinateSystem&&(s.geometries.geometries[e].spatialReference=Mi(n[e].spatialReference));let a=(0,Se.Dl)(e),o=(0,Se.lF)({...a.query,f:"json",...s}),l=(0,Se.jV)(o,i),{data:u}=await(0,R.A)(`${a.path}/computePixelLocation`,l);return $t.fromJSON(u)}(this.url,e,this._getRequestOptions(t))}async computeHistograms(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsComputeHistograms)throw new C.A("imagery-layer:compute-histograms","this operation is not supported on the input image service");return e=(0,b.o8)(e),this._applyMosaicAndRenderingRules(e),async function(e,t,i){let r=await Ci(e,t,i),s=(0,Se.Dl)(e),{data:n}=await(0,R.A)(`${s.path}/computeHistograms`,r);return{histograms:n.histograms}}(this.url,e,this._getRequestOptions(t))}async computeStatisticsHistograms(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsComputeStatisticsHistograms)throw new C.A("imagery-layer:compute-statistics-histograms","this operation is not supported on the input image service");return e=(0,b.o8)(e),this._applyMosaicAndRenderingRules(e),async function(e,t,i){let r=await Ci(e,t,i),s=(0,Se.Dl)(e),{data:n}=await(0,R.A)(`${s.path}/computeStatisticsHistograms`,r),{statistics:a}=n;return a?.length&&a.forEach(e=>{e.avg=e.mean,e.stddev=e.standardDeviation;let t=e.covariances?.trim();t&&(e.covariances=t.split(",").map(Number))}),{statistics:a,histograms:n.histograms}}(this.url,e,this._getRequestOptions(t))}async measureHeight(e,t){let i=await this._fetchCapabilities(t?.signal);if(!("base-and-top"===e.operationType?i.mensuration.supportsHeightFromBaseAndTop:"base-and-top-shadow"===e.operationType?i.mensuration.supportsHeightFromBaseAndTopShadow:i.mensuration.supportsHeightFromTopAndTopShadow))throw new C.A("imagery-layer:measure-height","this operation is not supported on the input image service");return e=(0,b.o8)(e),this._applyMosaicRule(e),async function(e,t,i){let r=(0,M.PZ)(At,t),s=await Si(e,r,[r.fromGeometry,r.toGeometry],i);return Tt.fromJSON(s)}(this.url,e,this._getRequestOptions(t))}async measureAreaAndPerimeter(e,t){let i=await this._fetchCapabilities(t?.signal);if(!i.mensuration.supportsAreaAndPerimeter||e.is3D&&!i.mensuration.supports3D)throw new C.A("imagery-layer:measure-area-and-perimeter","this operation is not supported on the input image service");return e=(0,b.o8)(e),this._applyMosaicRule(e),async function(e,t,i){let r=(0,M.PZ)(Ue,t),s=await Si(e,r,[r.geometry],i);return it.fromJSON(s)}(this.url,e,this._getRequestOptions(t))}async measureDistanceAndAngle(e,t){let i=await this._fetchCapabilities(t?.signal);if(!i.mensuration.supportsDistanceAndAngle||e.is3D&&!i.mensuration.supports3D)throw new C.A("imagery-layer:measure-distance-and-angle","this operation is not supported on the input image service");return e=(0,b.o8)(e),this._applyMosaicRule(e),async function(e,t,i){let r=(0,M.PZ)(pt,t),s=await Si(e,r,[r.fromGeometry,r.toGeometry],i);return yt.fromJSON(s)}(this.url,e,this._getRequestOptions(t))}async measurePointOrCentroid(e,t){let i=await this._fetchCapabilities(t?.signal);if(!i.mensuration.supportsPointOrCentroid||e.is3D&&!i.mensuration.supports3D)throw new C.A("imagery-layer:measure-point-or-centroid","this operation is not supported on the input image service");return e=(0,b.o8)(e),this._applyMosaicRule(e),async function(e,t,i){let r=(0,M.PZ)(Ut,t),s=await Si(e,r,[r.geometry],i);return Kt.fromJSON(s)}(this.url,e,this._getRequestOptions(t))}async measureLengthFromImage(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsMeasureFromImage)throw new C.A("imagery-layer:measure-length-from-image","this operation is not supported on the input image service");if("polyline"!==e.geometry.type)throw new C.A("imagery-layer:measure-length-from-image","this input geometry must be a polyline");return async function(e,t,i){let r=await xi(e,(0,M.PZ)(fi,t),i);return vi.fromJSON(r)}(this.url,e,this._getRequestOptions(t))}async measureAreaFromImage(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsMeasureFromImage)throw new C.A("imagery-layer:measure-area-from-image","this operation is not supported on the input image service");if("polygon"!==e.geometry.type)throw new C.A("imagery-layer:measure-area-from-image","this input geometry must be a polygon");return async function(e,t,i){let r=await xi(e,(0,M.PZ)(fi,t),i);return yi.fromJSON(r)}(this.url,e,this._getRequestOptions(t))}getField(e){let{fieldsIndex:t}=this;return t?.get(e)}getFieldDomain(e,t){let i=this.getField(e);return i?i.domain:null}async internalFetchImage(e,t,i,r={}){await this._updateCurrentRasterInfo();let{exportImageServiceParameters:s}=this,a=!1;if(r.requestRawData&&(await this._initJobHandler(),!s.requestRawData&&"lerc"!==this.format)){a=!0,s.requestRawData=!0;let e=this.bandIds;if(!e?.length){let t=(0,we.ci)(this.rasterInfo);Array.from({length:this.rasterInfo.bandCount},(e,t)=>t)?.join(",")!==t?.join(",")&&(e=t)}s.rawDataRequestBandIds=e}let o=this.getExportImageServiceParameters(e,t,i,r.timeExtent);if(a&&(s.requestRawData=!1,s.rawDataRequestBandIds=null),null==o){if(r.requestAsImageElement&&this._canRequestImageElement(this.format)){let e=document.createElement("canvas");if(e.width=t,e.height=i,r.returnImageBitmap){let{bitmap:t}=await(0,de.mn)(e,`${n(this.parsedUrl)}/exportImage`,r);return{imageBitmap:t}}return{imageOrCanvasElement:e}}let{bandIds:s,rasterInfo:a}=this,o=(s?.length||a.bandCount)??0,l=t*i,u=a.pixelType,p=[];for(let e=0;e<o;e++)p.push(he.A.createEmptyBand(u,l));return{pixelData:{pixelBlock:new he.A({width:t,height:i,pixels:p,mask:new Uint8Array(l),pixelType:u}),extent:e}}}let l=!!r.requestAsImageElement&&!this.pixelFilter,u=l&&!!r.returnImageBitmap,p={imageServiceParameters:o,imageProps:{extent:e,width:t,height:i,format:this.format},requestAsImageElement:l,returnImageBitmap:u,signal:r.signal};return this._requestArrayBuffer(p)}async fetchPixels(e,t,r,s={}){await this._initJobHandler(),s.applyRendering&&await this._updateCurrentRasterInfo();let{imageMaxWidth:n,imageMaxHeight:a}=this;if(t<=n&&r<=a)return this._exportTileQueue.push({extent:e,width:t,height:r,options:s},{signal:s.signal});if(t>4096||r>4096||n<512||a<512)throw new C.A("imagery-layer:fetch-pixels",`The image service has a maximum export size of ${n}x${a}. The requested size of ${t}x${r} exceeds this limit.`);let{xmin:o,ymax:l,spatialReference:u}=this._projectedFullExtent??this.fullExtent;if(!u?.equals(e.spatialReference)){let{projectLoad:t,projectExecute:r}=await i.e(895).then(()=>i(83276));await t();let s=r(this.fullExtent,e.spatialReference);o=s.xmin,l=s.ymax,this._projectedFullExtent=s}let p=e.width/t,m=e.height/r,c=Math.floor((e.xmin-o)/p),d=Math.floor((l-e.ymax)/m),y=c+t,h=d+r,g=Math.floor(c/512),f=Math.floor(d/512),w=Math.ceil(y/512)-1,v=Math.ceil(h/512)-1,R=512*p,b=512*m,S=[];for(let t=f;t<=v;t++){let i=l-t*b,r=i-b;for(let t=g;t<=w;t++){let n=o+t*R,a=new A.A({xmin:n,ymin:r,xmax:n+R,ymax:i,spatialReference:e.spatialReference});S.push(this._exportTileQueue.push({extent:a,width:512,height:512,options:s},{signal:s.signal}))}}let x=await Promise.all(S);return x.some(e=>null==e.pixelBlock)?{extent:e,pixelBlock:null}:{extent:e,pixelBlock:this._rasterJobHandler?await this._rasterJobHandler.mosaicPixelData({pixelBlocks:x,destExtent:e},{signal:s.signal,transferPixelsToWorker:!0}):(0,_.LY)(x,e)?.pixelBlock}}async _fetchPixels(e,t,i,r={}){let s=r.applyRendering?void 0:new ue({layer:this,requestRawData:!0,interpolation:r.interpolation??"nearest",bandIds:r.bandIds??[]}),n=this.getExportImageServiceParameters(e,t,i,r.timeExtent,s);if(null==n)return{extent:e,pixelBlock:null};delete n.pixelType,r.bandIds||delete n.bandIds,delete n.compressionQuality;let a={imageServiceParameters:n,imageProps:{extent:e,width:t,height:i,format:this.format},requestAsImageElement:!1,returnImageBitmap:!1,signal:r.signal},{pixelData:o}=await this._requestArrayBuffer(a);return o??{extent:e,pixelBlock:null}}fetchKeyProperties(e){return(0,R.A)(n(this.parsedUrl)+"/keyProperties",{query:this._getQueryParams({renderingRule:this.version>=10.3?e?.rasterFunction:null})}).then(e=>e.data)}fetchRasterAttributeTable(e){return this.version<10.1?Promise.reject(new C.A("#fetchRasterAttributeTable()","Failed to get rasterAttributeTable")):(0,R.A)(n(this.parsedUrl)+"/rasterAttributeTable",{query:this._getQueryParams({renderingRule:this.version>=10.3?e?.rasterFunction:null})}).then(e=>Zt.A.fromJSON(e.data))}getCatalogItemRasterInfo(e,t){let i={...t,query:this._getQueryParams()};return async function(e,t,i){let r=(0,Se.Dl)(e),s=(0,Se.lF)({...r?.query,f:"json"}),n=(0,Se.jV)(s,i),a=`${r?.path}/${t}/info`,o=(0,R.A)(`${a}`,n),l=(0,R.A)(`${a}/keyProperties`,n),u=await Promise.allSettled([o,l]),p="fulfilled"===u[0].status?u[0].value.data:null,m="fulfilled"===u[1].status?u[1].value.data:null,c=null;p.statistics?.length&&(c=p.statistics.map(e=>({min:e[0],max:e[1],avg:e[2],stddev:e[3]})));let d=A.A.fromJSON(p.extent),y=Math.ceil(d.width/p.pixelSizeX-.1),h=Math.ceil(d.height/p.pixelSizeY-.1),g=d.spatialReference,f=new D.A({x:p.pixelSizeX,y:p.pixelSizeY,spatialReference:g}),w=p.histograms?.length?p.histograms:null,v=new Di.A({origin:p.origin,blockWidth:p.blockWidth,blockHeight:p.blockHeight,firstPyramidLevel:p.firstPyramidLevel,maximumPyramidLevel:p.maxPyramidLevel});return new fe.A({width:y,height:h,bandCount:p.bandCount,extent:d,spatialReference:g,pixelSize:f,pixelType:p.pixelType.toLowerCase(),statistics:c,histograms:w,keyProperties:m,storageInfo:v})}(n(this.parsedUrl),e,i)}async getCatalogItemICSInfo(e,t){let{data:i}=await(0,R.A)(n(this.parsedUrl)+"/"+e+"/info/ics",{query:this._getQueryParams(),...t}),r=i?.ics;if(!r)return;let s=null;try{s=(await(0,R.A)(n(this.parsedUrl)+"/"+e+"/info",{query:this._getQueryParams(),...t})).data.extent}catch{}if(!s?.spatialReference)return{ics:r,icsToPixelTransform:null,icsExtent:null,northDirection:null};let a=this.version>=10.7?(0,R.A)(n(this.parsedUrl)+"/"+e+"/info/icstopixel",{query:this._getQueryParams(),...t}).then(e=>e.data).catch(()=>({})):{},o=s.spatialReference,l={geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[s]}),inSR:(0,j.YX)(o),outSR:"0:"+e},u=(0,R.A)(n(this.parsedUrl)+"/project",{query:this._getQueryParams(l),...t}).then(e=>e.data).catch(()=>({})),p=(s.xmin+s.xmax)/2,m=(s.ymax-s.ymin)/6,c=s.ymin+m,d=[];for(let e=0;e<5;e++)d.push({x:p,y:c+m*e});let y={geometries:JSON.stringify({geometryType:"esriGeometryPoint",geometries:d}),inSR:(0,j.YX)(o),outSR:"0:"+e},h=(0,R.A)(n(this.parsedUrl)+"/project",{query:this._getQueryParams(y),...t}).then(e=>e.data).catch(()=>({})),g=await Promise.all([a,u,h]),f=g[0].ipxf;if(null==f){let e=r.geodataXform?.xf_0;"topup"===e?.name?.toLowerCase()&&6===e?.coefficients?.length&&(f={affine:{name:"ics [sensor: Frame] to pixel (column, row) transformation",coefficients:e.coefficients,cellsizeRatio:0,type:"GeometricXform"}})}let w=A.A.fromJSON(g[1]?.geometries?.[0]);w&&(w.spatialReference=new P.A({wkid:0,imageCoordinateSystem:r}));let v=g[2].geometries?g[2].geometries.filter(e=>null!=e?.x&&null!=e.y&&"NaN"!==e.x&&"NaN"!==e.y):[],C=v.length;if(C<3)return{ics:r,icsToPixelTransform:f,icsExtent:w,northDirection:null};let b=0,S=0,x=0,I=0;for(let e=0;e<C;e++)b+=v[e].x,S+=v[e].y,x+=v[e].x*v[e].x,I+=v[e].x*v[e].y;let M=(C*I-b*S)/(C*x-b*b),F=0,D=v[4].x>v[0].x,T=v[4].y>v[0].y;return M===1/0?F=T?90:270:0===M?F=D?0:180:M>0?F=D?180*Math.atan(M)/Math.PI:180*Math.atan(M)/Math.PI+180:M<0&&(F=T?180+180*Math.atan(M)/Math.PI:360+180*Math.atan(M)/Math.PI),{ics:r,icsToPixelTransform:f,icsExtent:w,northDirection:F}}async generateRasterInfo(e,t){let i=(0,M.PZ)(z.A,e),r={...t,query:this._getQueryParams()};if(!i||"none"===i.functionName?.toLowerCase()||this._isVectorFieldResampleFunction(i))return this.serviceRasterInfo??(0,Ai.Tw)(n(this.parsedUrl),this.sourceJSON,r);let s=function(e){let t=JSON.stringify(e),i=t.includes('"rasterFunctionDefinition":{'),r=(i?t.match(/"type":"(.*?FunctionArguments")/gi):t.match(/"rasterFunction":"(.*?")/gi))?.map(e=>i?e.slice(8,-18):e.slice(18,-1));return r?r.join("/"):null}(i);if(!s)throw new C.A("imagery-layer:generate-raster-info","the rendering rule is not supported");if(this._functionRasterInfos[s])return this._functionRasterInfos[s];let a=(0,Ai.X6)(n(this.parsedUrl),i,r);this._functionRasterInfos[s]=a;try{let t=await a,{rasterFunction:i}=this;return(i===e||JSON.stringify(i)===JSON.stringify(e))&&JSON.stringify(this.rasterInfo)!==JSON.stringify(t)&&(this.rasterInfo=t),t}catch(e){throw this._functionRasterInfos[s]=null,e}}getExportImageServiceParameters(e,t,i,r,s){let a=Fi((e=e.clone().shiftCentralMeridian()).spatialReference,n(this.parsedUrl));s??=this.exportImageServiceParameters;let o=s.toJSON(),{bandIds:l,noData:u}=o,{renderingRule:p}=o,m=this.rasterFunction?.rasterFunctionDefinition,c=this.renderer?.type,d=!c||"raster-stretch"===c||"raster-colormap"===c||"unique-value"===c||"class-breaks"===c||"raster-shaded-relief"===c;if(l?.length&&this._hasRasterFunction(this.rasterFunction)&&!m&&d){let e={rasterFunction:"ExtractBand",rasterFunctionArguments:{BandIds:l}};if("Stretch"===p.rasterFunction)e.rasterFunctionArguments.Raster=p.rasterFunctionArguments.Raster,p.rasterFunctionArguments.Raster=e;else if("Colormap"===p.rasterFunction){let t=p.rasterFunctionArguments.Raster;"Stretch"===t?.rasterFunction?(e.rasterFunctionArguments.Raster=t.rasterFunctionArguments.Raster,t.rasterFunctionArguments.Raster=e):(e.rasterFunctionArguments.Raster=t,p.rasterFunctionArguments.Raster=e)}else e.rasterFunctionArguments.Raster=p,p=e;o.bandIds=void 0}else o.bandIds=l?.join(",");Array.isArray(u)&&u.length>0&&(o.noData=u.join(","));let y=this._processMultidimensionalIntersection(null,r,s.mosaicRule);if(y.isOutSide)return null;o.mosaicRule=null==y.mosaicRule?null:JSON.stringify(y.mosaicRule),r=y.timeExtent,o.renderingRule=this._getRenderingRuleString(z.A.fromJSON(p));let h={};if(null!=r){let{start:e,end:t}=r.toJSON();e&&t&&e===t?h.time=""+e:(null!=e||null!=t)&&(h.time=`${e??"null"},${t??"null"}`)}return{bbox:e.xmin+","+e.ymin+","+e.xmax+","+e.ymax,bboxSR:a,imageSR:a,size:t+","+i,...o,...h}}async getSamples(e,t){if(!(await this._fetchCapabilities(t?.signal))?.operations.supportsGetSamples)throw new C.A("imagery-layer:get-samples","getSamples operation is not supported on the input image service");e=(0,b.o8)(e);let{raster:i}=this;return i&&null==e.raster&&(e.raster=i),async function(e,t,i){let r=(0,M.PZ)(kt.A,t),s=r.toJSON();Ri(s),s.outFields?.length&&(s.outFields=s.outFields.join(","));let n=(await(0,be.el)(r.geometry))?.[0];null!=n&&(s.geometry=Ii(n));let a=(0,Se.Dl)(e),o=(0,Se.lF)({...a.query,f:"json",...s}),l=(0,Se.jV)(o,i),{data:u}=await(0,R.A)(`${a.path}/getSamples`,l),p=u.samples.map(e=>{let t="NaN"===e.value||""===e.value?null:e.value.split(" ").map(e=>Number(e));return{...e,pixelValue:t}});return Qt.A.fromJSON({samples:p})}(this.url,e,this._getRequestOptions(t))}async identify(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsIdentify)throw new C.A("imagery-layer:identify","identify operation is not supported on the input image service");e=(0,b.o8)(e),this.version<10.91&&"extent"===e.geometry?.type&&(e.geometry=T.A.fromExtent(e.geometry));let i=this._processMultidimensionalIntersection(e.geometry,e.timeExtent,e.mosaicRule||this.mosaicRule);if(i.isOutSide)throw new C.A("imagery-layer:identify","the request cannot be fulfilled when falling outside of the multidimensional subset");e.timeExtent=i.timeExtent,e.mosaicRule=i.mosaicRule;let{raster:r,rasterFunction:s}=this;return s&&null==e.rasterFunction&&(e.rasterFunction=s),r&&null==e.raster&&(e.raster=r),bi(this.url,e,this._getRequestOptions(t))}async imageToMap(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsImageToMap)throw new C.A("imagery-layer:image-to-map","imageToMap operation is not supported on the input image service");return async function(e,t,i){let r=(0,M.PZ)(Yt,t),s=r.toJSON();r.geometry.spatialReference.imageCoordinateSystem&&(s.geometry=Ii(r.geometry)),r.depthOffset&&r.adjust||delete s.options;let n=(0,Se.Dl)(e),a=(0,Se.lF)({...n.query,f:"json",...s}),o=(0,Se.jV)(a,i),{data:l}=await(0,R.A)(`${n.path}/imageToMap`,o);return(0,Ce.rS)(l)}(n(this.parsedUrl),e,this._getRequestOptions(t))}async imageToMapMultiray(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsImageToMapMultiray)throw new C.A("imagery-layer:image-to-map-multiray","imageToMapMultiray operation is not supported on the input image service");return async function(e,t,i){let r=(0,M.PZ)(Wt,t),s=r.toJSON();r.rasterIds?.length&&(s.rasterIds=r.rasterIds.join(","));let n=(0,Se.Dl)(e),a=(0,Se.lF)({...n.query,f:"json",...s}),o=(0,Se.jV)(a,i),{data:l}=await(0,R.A)(`${n.path}/imageToMapMultiray`,o);return(0,Ce.rS)(l)}(n(this.parsedUrl),e,this._getRequestOptions(t))}async mapToImage(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsMapToImage)throw new C.A("imagery-layer:map-to-image","mapToImage operation is not supported on the input image service");return async function(e,t,i){let r=(0,M.PZ)(ci,t),s=r.toJSON(),n=(await(0,be.el)(r.geometry))?.[0];null!=n&&(s.geometry=Ii(n)),r.visibleOnly||delete s.options;let a=n?.spatialReference??r.geometry?.spatialReference;a&&(s.inSR=Fi(a));let o=(0,Se.Dl)(e),l=(0,Se.lF)({...o.query,f:"json",...s}),u=(0,Se.jV)(l,i),{data:p}=await(0,R.A)(`${o.path}/mapToImage`,u);return(0,Ce.rS)(p)}(n(this.parsedUrl),e,this._getRequestOptions(t))}async findImages(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsFindImages)throw new C.A("imagery-layer:find-images","findImages operation is not supported on the input image service");return async function(e,t,i){let r=(0,M.PZ)(Ie,t),s=r.toJSON(),n=await(0,be.el)([r.fromGeometry,r.toGeometry]);null!=n[0]&&(s.fromGeometry=Ii(n[0]),n[0].spatialReference&&(s.inSR=Fi(n[0].spatialReference))),null!=n[1]&&(s.toGeometry=Ii(n[1])),r.objectIds?.length&&(s.objectIds=s.objectIds.join(","));let a=(0,Se.Dl)(e),o=(0,Se.lF)({...a.query,f:"json",...s}),l=(0,Se.jV)(o,i),{data:u}=await(0,R.A)(`${a.path}/find`,l);return Te.fromJSON(u)}(n(this.parsedUrl),e,this._getRequestOptions(t))}async getImageUrl(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsGetImageUrl)throw new C.A("imagery-layer:get-image-url","getImageUrl operation is not supported on the input image service");return async function(e,t,i){let r=(0,M.PZ)(ti,t).toJSON(),s=(0,Se.Dl)(e),n=(0,Se.lF)({...s.query,f:"json",...r}),a=(0,Se.jV)(n,i),{data:o}=await(0,R.A)(`${s.path}/getImageUrl`,a);return ri.fromJSON(o)}(n(this.parsedUrl),e,this._getRequestOptions(t))}createQuery(){return new Oi.A({outFields:["*"],returnGeometry:!0,where:this.definitionExpression||"1=1"})}async queryBoundary(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsQueryBoundary)throw new C.A("imagery-layer:query-boundary","queryBoundary operation is not supported on the input image service");return e??={outSpatialReference:this.spatialReference},async function(e,t,i){let r=(0,M.PZ)(st,t),s=(0,Se.Dl)(e),n=r.toJSON();r.outSpatialReference&&(n.outSR=Fi(r.outSpatialReference));let a=(0,Se.lF)({...s.query,f:"json",...n}),o=(0,Se.jV)(a,i),{data:l}=await(0,R.A)(s.path+"/queryBoundary",o);return ot.fromJSON(l)}(n(this.parsedUrl),e,this._getRequestOptions(t))}async queryExtent(e,t){({query:e,requestOptions:t}=await this._prepareForQuery(e,t));let{where:r,objectIds:s,geometry:n,timeExtent:a,start:o,num:l,pixelSize:u}=e,p=null!=r&&"1=1"!==r,m=null!=s&&s.length>0,c=null!=n&&("extent"!==n.type||!n.equals(this.fullExtent)),d=null!=u,y=null!=o||null!=l,{timeInfo:h}=this,g=null!=a&&null!=h&&!a.equals(h.fullTimeExtent);if(!(p||m||c||d||g||y)){let r=await(0,Ti.I)(this.url,e,t),{outSpatialReference:s}=e;if(!s||s.equals(this.spatialReference))return{count:r,extent:this.fullExtent.clone()};let{projectLoad:n,projectExecute:a}=await i.e(895).then(()=>i(83276));return await n(),{count:r,extent:a(this.fullExtent,s)}}return(0,Pi.L)(this.url,e,t)}async queryRasters(e,t){({query:e,requestOptions:t}=await this._prepareForQuery(e,t));let i=await(0,Ni.s)(this.url,e,t),r=this.graphicOrigin;return i.features.forEach(e=>{e.layer=this,e.origin=r}),i}async fetchMaxPixelSize(e,t){let i=await this._fetchCapabilities(t?.signal),r=this.fields?.find(({name:e})=>"maxps"===e.toLowerCase());if(!i.query.supportsStatistics||!r)return null;let s="maxPixelSize",n=(await this.queryRasters({where:"1=1",outStatistics:[new Zi.A({statisticType:"max",onStatisticField:r.name,outStatisticFieldName:s})],returnGeometry:!1},t)).features[0]?.attributes?.[s];if(!n)return null;let a=new D.A({x:n,y:n,spatialReference:this.spatialReference});return(0,Z.T5)(a,e)}async queryObjectIds(e,t){return({query:e,requestOptions:t}=await this._prepareForQuery(e,t)),(0,ji.V)(this.url,e,t)}async queryGPSInfo(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsQueryGPSInfo)throw new C.A("imagery-layer:query-gps-info","queryGPSInfo operation is not supported on the input image service");return e??={where:"1=1"},async function(e,t,i){let r=(0,M.PZ)(vt,t),s=r.toJSON();Ri(s),s.objectIds?.length&&(s.objectIds=s.objectIds.join(",")),s.geometry||s.objectIds||s.time||s.where||(s.where="1=1");let n=(await(0,be.el)(r.geometry))?.[0];null!=n&&(s.geometry=Ii(n));let a=n?.spatialReference??r.geometry?.spatialReference;a&&(s.inSR=Fi(a));let o=(0,Se.Dl)(e),l=(0,Se.lF)({...o.query,f:"json",...s}),u=(0,Se.jV)(l,i),{data:p}=await(0,R.A)(`${o.path}/queryGPSInfo`,u);return It.fromJSON(p)}(n(this.parsedUrl),e,this._getRequestOptions(t))}async queryRasterCount(e,t){return({query:e,requestOptions:t}=await this._prepareForQuery(e,t)),(0,Ti.I)(this.url,e,t)}async queryVisibleRasters(e,t){if(!e)throw new C.A("imagery-layer: query-visible-rasters","missing query parameter");await this.load();let{pixelSize:i,returnDomainValues:r,returnTopmostRaster:s,showNoDataRecords:n}=t||{pixelSize:null,returnDomainValues:!1,returnTopmostRaster:!1,showNoDataRecords:!1},a=!1,o=null,l=null,u=ge.F_.servicePixelValue.toLowerCase(),p=this._rasterFunctionNamesIndex;if(null!=e.outFields&&(a=e.outFields.some(e=>!e.toLowerCase().startsWith(u)),this.version>=10.4)){let t=e.outFields.filter(e=>e.toLowerCase().startsWith(u)&&e.length>u.length).map(e=>{let t=e.slice(u.length+1);return[this._updateRenderingRulesFunctionName(t,p),t]});o=t.map(e=>new z.A({functionName:e[0]})),l=t.map(e=>e[1]);let{rasterFunction:i}=this;0===o.length?i?.functionName?(o.push(i),l.push(i.functionName)):o=null:i?.functionName&&!o.some(e=>e.functionName===i.functionName)&&(o.push(i),l.push(i.functionName))}let m=null==e.outSpatialReference||e.outSpatialReference.equals(this.spatialReference),{multidimensionalSubset:c}=this,d=e.timeExtent||this.timeExtent;if(c){let{isOutside:t,intersection:i}=(0,N.Rp)(c,{geometry:e.geometry,timeExtent:e.timeExtent,multidimensionalDefinition:this.exportImageServiceParameters.mosaicRule?.multidimensionalDefinition});if(t)throw new C.A("imagery-layer:query-visible-rasters","the request cannot be fulfilled when falling outside of the multidimensional subset");null!=i?.timeExtent&&(d=i.timeExtent)}let y=this._combineMosaicRuleWithTimeExtent(this.exportImageServiceParameters.mosaicRule,d),h=e.geometry;this.version<10.91&&"extent"===h?.type&&(h=T.A.fromExtent(h));let g=this._getQueryParams({geometry:h,timeExtent:d,mosaicRule:y,rasterFunction:this.version<10.4?this.rasterFunction:null,rasterFunctions:o,pixelSize:i,returnCatalogItems:a,returnGeometry:m,raster:this.raster,maxItemCount:s?1:null});delete g.f;let f=new Ot(g);try{await this._generateRasterInfo(this.rasterFunction);let i=await bi(this.url,f,{signal:t?.signal,query:{...this.customParameters}}),s=e.outFields,o=null!=i.value&&i.value.toLowerCase().includes("nodata"),u=a&&!m&&i?.catalogItems?.features.length&&(n||!o),p=this.multidimensionalInfo&&"raster-dataset"===this.sourceType?(0,N.XU)({rasterInfo:this.rasterInfo,multidimensionalDefinition:y?.multidimensionalDefinition,timeExtent:d,multidimensionalSubset:this.multidimensionalSubset}):null;if(!u)return this._processVisibleRastersResponse(i,{returnDomainValues:r,templateRRFunctionNames:l,showNoDataRecords:n,templateFields:s,effectiveMultidimensionalDefinition:p});let c=this.objectIdField||"ObjectId",h=i.catalogItems?.features??[],g=h.map(e=>e.attributes?.[c]),w=new Oi.A({objectIds:g,returnGeometry:!0,outSpatialReference:e.outSpatialReference,outFields:[c]}),v=await this.queryRasters(w);return v?.features?.length&&v.features.forEach(t=>{h.forEach(i=>{i.attributes[c]===t.attributes[c]&&t.geometry&&(i.geometry=t.geometry.clone(),null!=e.outSpatialReference&&(i.geometry.spatialReference=e.outSpatialReference))})}),this._processVisibleRastersResponse(i,{returnDomainValues:r,templateRRFunctionNames:l,showNoDataRecords:n,templateFields:s,effectiveMultidimensionalDefinition:p})}catch{throw new C.A("imagery-layer:query-visible-rasters","encountered error when querying visible rasters")}}async fetchVariableStatisticsHistograms(e,t){let i=(0,R.A)(n(this.parsedUrl)+"/statistics",{query:this._getQueryParams({variable:e}),signal:t}).then(e=>e.data?.statistics),r=(0,R.A)(n(this.parsedUrl)+"/histograms",{query:this._getQueryParams({variable:e}),signal:t}).then(e=>e.data?.histograms),s=await Promise.all([i,r]);return s[0]&&s[0].forEach(e=>{e.avg=e.mean,e.stddev=e.standardDeviation}),{statistics:s[0]||null,histograms:s[1]||null}}getMultidimensionalSubsetVariables(e){let t=e??this.serviceRasterInfo.multidimensionalInfo;return(0,N.z2)(this.multidimensionalSubset,t)}async _fetchService(e){await this._fetchServiceInfo(e);let t=this.sourceJSON,i=null==this.serviceRasterInfo?(0,Ai.Tw)(n(this.parsedUrl),t,{signal:e,query:this._getQueryParams()}).then(e=>(this._set("serviceRasterInfo",e),this._set("multidimensionalInfo",e.multidimensionalInfo),(0,Ai.E9)(e,t),e)):Promise.resolve(this.serviceRasterInfo),r=!this.rasterInfo&&this._hasRasterFunction(this.rasterFunction)?this._generateRasterInfo(this.rasterFunction,{signal:e}):Promise.resolve(this.rasterInfo),s=this.rasterFunctionInfos?.every(e=>null!=e.functionType)?null:this._getRasterFunctionInfos();return Promise.all([i,r,s]).then(e=>{e[1]?this._set("rasterInfo",e[1]):this._set("rasterInfo",e[0]),e[2]&&(t.rasterFunctionInfos=e[2],this.setAtOrigin("rasterFunctionInfos",e[2],"service")),this.internalRenderer&&!this._isSupportedRenderer(this.internalRenderer)&&(this._set("internalRenderer",null),o.A.getLogger(this).warn("ArcGISImageService","Switching to the default renderer. Renderer applied is not valid for this Imagery Layer")),this._set("internalRenderer",this._configRenderer(this.renderer)),this.addHandles([(0,x.wB)(()=>this.rasterFunction,e=>{(this.renderer||this.symbolizer||this.popupEnabled&&this.popupTemplate)&&this._generateRasterInfo(e).then(e=>{e&&(this.rasterInfo=e)})})]);let{serviceRasterInfo:i}=this;null!=i.multidimensionalInfo&&this._updateMultidimensionalDefinition(i)})}_combineMosaicRuleWithTimeExtent(e,t){let i=this.timeInfo,{multidimensionalInfo:r}=this.serviceRasterInfo;if(null==e||null==r||null==t||null==i?.startField)return e;let{startField:s}=i,n=r.variables.some(e=>e.dimensions.some(e=>e.name===s))?s:"StdTime";if(e=e.clone(),"mosaic-dataset"===this.sourceType)return e.multidimensionalDefinition=e.multidimensionalDefinition?.filter(e=>e.dimensionName!==n),this._cleanupMultidimensionalDefinition(e);e.multidimensionalDefinition=e.multidimensionalDefinition||[];let a=e.multidimensionalDefinition.filter(e=>e.dimensionName===n),o=null==t.start?null:t.start.getTime(),l=null==t.end?null:t.end.getTime(),u=null==o||null==l||o===l,p=u?[o||l]:[[o,l]],m=this.version>=10.8;if(a.length)a.forEach(e=>{e.dimensionName===n&&(m?(e.dimensionName=null,e.isSlice=!1,e.values=[]):(e.isSlice=u,e.values=p))});else if(!m){let t=e.multidimensionalDefinition.filter(e=>null!=e.variableName&&null==e.dimensionName);t.length?t.forEach(e=>{e.dimensionName=n,e.isSlice=u,e.values=p}):e.multidimensionalDefinition.push(new E.A({variableName:"",dimensionName:n,isSlice:u,values:p}))}return this._cleanupMultidimensionalDefinition(e)}_cleanupMultidimensionalDefinition(e){return null==e?null:(e.multidimensionalDefinition&&(e.multidimensionalDefinition=e.multidimensionalDefinition.filter(e=>!(!e.variableName&&!e.dimensionName)),0===e.multidimensionalDefinition.length&&(e.multidimensionalDefinition=null)),"mosaic-dataset"!==this.sourceType&&null==e.multidimensionalDefinition?null:e)}async _prepareForQuery(e,t){if(!(await this._fetchCapabilities(t?.signal)).operations.supportsQuery)throw new C.A("imagery-layer:query-rasters","query operation is not supported on the input image service");let i=null==e?this.createQuery():(0,M.PZ)(Oi.A,e);return t=this._getRequestOptions(t),this.raster&&(t.query={...t.query,raster:this.raster}),{query:i,requestOptions:t}}_isSupportedRenderer(e){let{rasterInfo:t,rasterFunction:i}=this;return"unique-value"===e.type&&this._hasRasterFunction(i)&&1===t?.bandCount&&["u8","s8"].includes(t.pixelType)||null!=t&&null!=e&&(0,we.fp)(t).includes(e.type)}async _fetchCapabilities(e){return this.capabilities||await this._fetchServiceInfo(e),this.capabilities}async _fetchServiceInfo(e){let t=this.sourceJSON;if(!t){let{data:i,ssl:r}=await(0,R.A)(n(this.parsedUrl),{query:this._getQueryParams(),signal:e});t=i,this.sourceJSON=t,r&&(this.url=this.url.replace(/^http:/i,"https:"))}if(t.capabilities?.toLowerCase().split(",").map(e=>e.trim()).indexOf("tilesonly")>-1)throw new C.A("imagery-layer:fetch-service-info","use ImageryTileLayer to open tiles-only image services");this.read(t,{origin:"service",url:this.parsedUrl})}_isMosaicDataset(e){return e.serviceSourceType?"esriImageServiceSourceTypeMosaicDataset"===e.serviceSourceType:e.fields?.length>0}_isMosaicRuleSupported(e){if(!e)return!1;let t=this._isMosaicDataset(e),i=e.currentVersion>=10.71&&e.hasMultidimensions&&!(e.fields?.length>1);return t||i}_isVectorFieldResampleFunction(e){if(null==e)return!1;let{functionName:t,functionArguments:i}=e,r="resample"===t?.toLowerCase(),s=i?.ResampleType||i?.resampleType;return r&&(7===s||10===s)}_configRenderer(e){let{rasterInfo:t}=this,i=t.attributeTable,r=null!=(0,we.VI)(i,"red")&&null!=(0,we.VI)(i,"green")&&null!=(0,we.VI)(i,"blue"),s=!e&&null==t.colormap&&!r&&(0,we.fp)(t).includes("unique-value");if(!this.isRenderedFormat&&!this.pixelFilter||this._isVectorDataSet()||s){let i=this.mosaicRule?.multidimensionalDefinition?.[0].variableName,r=(0,we.I8)({variableName:i,rasterFunctionName:this.rasterFunction?.functionName,presetRenderers:this.presetRenderers});if(!this.bandIds&&t.bandCount>=3){let e=r?.bandIds??(0,we.ci)(t);e&&(3!==t.bandCount||0!==e[0]||1!==e[1]||2!==e[2])&&(this.bandIds=e)}e||=r?.renderer??(0,we.PD)(t,{bandIds:this.bandIds,variableName:this.rasterFunction?null:i});let s=(0,we.$P)(e.toJSON());this.symbolizer?(this.symbolizer.rendererJSON=s,this.symbolizer.rasterInfo=t):this.symbolizer=new ve.A({rendererJSON:s,rasterInfo:t}),this.symbolizer.bind().success||(this.symbolizer=null)}return e}_clonePixelData(e){return null==e?e:{extent:e.extent&&e.extent.clone(),pixelBlock:null==e.pixelBlock?null:e.pixelBlock.clone()}}_getQueryParams(e){null!=e?.renderingRule&&"string"!=typeof e.renderingRule&&(e.renderingRule=this._getRenderingRuleString(e.renderingRule));let{raster:t,viewId:i}=this;return{raster:t,viewId:i,f:"json",...e,...this.customParameters}}_getRequestOptions(e){return{...e,query:{...e?.query,...this.customParameters}}}_decodePixelBlock(e,t,i){return this._rasterJobHandler?this._rasterJobHandler.decode({data:e,options:t}):(0,O.D)(e,t,i)}async _getRasterFunctionInfos(e){let t=this.sourceJSON.rasterFunctionInfos;return this.loaded||!t?.length?t:t&&this.version>=10.3?1===t.length&&"none"===t[0].name.toLowerCase()?[{thumbnail:"",functionType:0,...t[0]}]:(await(0,R.A)(n(this.parsedUrl)+"/rasterFunctionInfos",{query:this._getQueryParams(),signal:e})).data?.rasterFunctionInfos:null}_canRequestImageElement(e){return!this.pixelFilter&&(!e||e.includes("png"))}async _requestArrayBuffer(e){let{imageProps:t,requestAsImageElement:i,returnImageBitmap:r,signal:s}=e;if(i&&this._canRequestImageElement(t.format)){let i=`${n(this.parsedUrl)}/exportImage`,{data:a}=await(0,R.A)(i,{responseType:r?"blob":"image",query:this._getQueryParams({f:"image",...this.refreshParameters,...e.imageServiceParameters}),signal:s});if(a instanceof Blob){let{bitmap:e}=await(0,de.mn)(a,i,{signal:s});return{imageBitmap:e,params:t}}return{imageOrCanvasElement:a,params:t}}let a=this._initJobHandler(),o=(0,R.A)(n(this.parsedUrl)+"/exportImage",{responseType:"array-buffer",query:this._getQueryParams({f:"image",...e.imageServiceParameters}),signal:s}),l=(await Promise.all([o,a]))[0].data,u=t.format||"jpgpng",p=u;if("bsq"!==p&&"bip"!==p&&(p=(0,O.g)(l)),!p)throw new C.A("imagery-layer:fetch-image","unsupported format signature "+String.fromCharCode.apply(null,new Uint8Array(l)));let m={signal:s};return{pixelData:{pixelBlock:await this._decodePixelBlock(l,{width:t.width,height:t.height,format:u,applyJpegMask:!0},m),extent:t.extent},params:t}}_generateRasterInfo(e,t){return this.generateRasterInfo(e,t).catch(()=>null)}_isValidCustomizedMosaicRule(e){return e&&JSON.stringify(e.toJSON())!==JSON.stringify(this.defaultMosaicRule?.toJSON())}_updateMultidimensionalDefinition(e){if(this._isValidCustomizedMosaicRule(this.mosaicRule))return;let t=(0,N.fy)(e,{multidimensionalSubset:this.multidimensionalSubset});if(null!=t&&t.length>0){this.mosaicRule=this.mosaicRule||new ae.A;let e=this.mosaicRule.multidimensionalDefinition;!this.sourceJSON.defaultVariableName&&this.rasterFunction&&"none"!==this.rasterFunction.functionName?.toLowerCase()&&t.forEach(e=>e.variableName=""),t=t.filter(({variableName:e,dimensionName:t})=>e&&"*"!==e||t),!e?.length&&t.length&&(this.mosaicRule.multidimensionalDefinition=t)}}_processVisibleRastersResponse(e,t){t||={};let i=e.value,{templateRRFunctionNames:r,showNoDataRecords:s,returnDomainValues:n,templateFields:a}=t,o=e.processedValues,l=e.catalogItems?.features,u=e.properties?.Values?.map(e=>e.replaceAll(/ /gi,", "))||[],p=this.objectIdField||"ObjectId",m="string"==typeof i&&i.toLowerCase().includes("nodata"),c=[];if(i&&!l&&(!m||s)){let e={};e[p]=0,u=[i],l=[new v.A({geometry:this.fullExtent,attributes:e})],this.multidimensionalInfo&&"raster-dataset"===this.sourceType&&(0,ge.eS)(this.rasterFields,e,t.effectiveMultidimensionalDefinition)}if(!l)return[];this._updateResponseFieldNames(l,a),m&&!s&&(l=[]);let{itemPixelValue:d,servicePixelValue:y}=ge.F_,h=this.rasterFields.some(e=>e.name===d),g=this.graphicOrigin;for(let e=0;e<l.length;e++){let t=l[e];if(null!=i){let n=u[e],a=this.rasterFunction&&o&&o.length>0&&r&&r.length>0&&r.includes(this.rasterFunction.functionName)?o[r.indexOf(this.rasterFunction.functionName)]:i;if("nodata"===n.toLowerCase()&&!s)continue;h&&(t.attributes[d]=n),t.attributes[y]=a,this._updateFeatureWithMagDirValues(t,n);let l=this.fields&&this.fields.length>0,p=this.rasterFunction&&null!=this.serviceRasterInfo.attributeTable?l?n:i:a;this.rasterFunction||(p=l?n:i),this._updateFeatureWithRasterAttributeTableValues(t,p)}if(t.sourceLayer=t.layer=this,t.origin=g,n&&this._updateFeatureWithDomainValues(t),r&&o&&r.length===o.length)for(let e=0;e<r.length;e++){let i=`${ge.F_.servicePixelValue}.${r[e]}`;t.attributes[i]=o[e]}c.push(l[e])}return c}_processMultidimensionalIntersection(e,t,i){let{multidimensionalSubset:r}=this;if(!r)return{isOutSide:!1,timeExtent:t,mosaicRule:i=this._combineMosaicRuleWithTimeExtent(i,t)};if(r){let{isOutside:i,intersection:s}=(0,N.Rp)(r,{geometry:e,timeExtent:t});if(i)return{isOutSide:!0,timeExtent:null,mosaicRule:null};null!=s?.timeExtent&&(t=s.timeExtent)}if(i=this._combineMosaicRuleWithTimeExtent(i,t),i?.multidimensionalDefinition){let{isOutside:e}=(0,N.Rp)(r,{multidimensionalDefinition:i.multidimensionalDefinition});if(e)return{isOutSide:!0,timeExtent:null,mosaicRule:null}}return{isOutSide:!1,timeExtent:t,mosaicRule:i}}_updateFeatureWithRasterAttributeTableValues(e,t){let i=this.rasterInfo.attributeTable||this.serviceRasterInfo.attributeTable;if(null==i)return;let{features:r,fields:s}=i,n=s.map(e=>e.name).find(e=>"value"===e.toLowerCase());if(!n)return;let a=r.filter(e=>e.attributes[n]===(null==t?null:parseInt(t,10)));a&&a[0]&&s.forEach(t=>{let i=ge.ER+t.name;e.attributes[i]=a[0].attributes[t.name]})}_updateFeatureWithMagDirValues(e,t){if(!this._isVectorDataSet())return;let i=t.split(/,\s*/).map(e=>parseFloat(e)),r=i.map(e=>[e]),s=i.map(e=>({minValue:e,maxValue:e,noDataValue:null})),n=new he.A({height:1,width:1,pixelType:"f32",pixels:r,statistics:s});null!=this.pixelFilter&&this.pixelFilter({pixelBlock:n,extent:new A.A({xmin:0,ymin:0,xmax:0,ymax:0,spatialReference:this.spatialReference})});let a="esriImageServiceDataTypeVector-MagDir"===this.serviceDataType?[n.pixels[0][0],n.pixels[1][0]]:(0,V.Lu)([n.pixels[0][0],n.pixels[1][0]]);e.attributes[ge.F_.magnitude]=a[0],e.attributes[ge.F_.direction]=a[1]}_updateFeatureWithDomainValues(e){(this.fields&&this.fields.filter(e=>"coded-value"===e.domain?.type))?.forEach(t=>{let i=e.attributes[t.name];if(null!=i){let r=t.domain.codedValues.find(e=>e.code===i);r&&(e.attributes[t.name]=r.name)}})}_updateResponseFieldNames(e,t){if(!t||t.length<1)return;let i=this.fieldsIndex;null!=i&&e.forEach(e=>{if(e?.attributes)for(let r of t){let t=i.get(r)?.name;t&&t!==r&&(e.attributes[r]=e.attributes[t],delete e.attributes[t])}})}_getRenderingRuleString(e){if(e){let t=e.toJSON();return t=t.rasterFunctionDefinition??t,(t.thumbnail||t.thumbnailEx)&&(t.thumbnail=t.thumbnailEx=null),JSON.stringify(t)}return null}_hasRasterFunction(e){return null!=e?.functionName&&"none"!==e.functionName.toLowerCase()}_updateRenderingRulesFunctionName(e,t){if(!e||e.length<1)return;if("Raw"===e)return e.replace("Raw","None");let i=e.toLowerCase().replaceAll(/ /gi,"_");return t.has(i)?t.get(i):e}_isRFTJson(e){return e?.name&&e.arguments&&e.function&&e.hasOwnProperty("functionType")}_isVectorDataSet(){return"esriImageServiceDataTypeVector-UV"===this.serviceDataType||"esriImageServiceDataTypeVector-MagDir"===this.serviceDataType}_applyMosaicAndRenderingRules(e){let{raster:t,mosaicRule:i,rasterFunction:r}=this;r&&null==e.rasterFunction&&(e.rasterFunction=r),i&&null==e.mosaicRule&&(e.mosaicRule=i),t&&null==e.raster&&(e.raster=t)}async _updateCurrentRasterInfo(e){if(this.renderer||this.symbolizer){let t=await this._generateRasterInfo(this.rasterFunction,{signal:e});t&&(this.rasterInfo=t)}}_applyMosaicRule(e){let{raster:t,mosaicRule:i}=this;i&&null==e.mosaicRule&&(e.mosaicRule=i),t&&null==e.raster&&(e.raster=t)}_readCapabilities(e){let t=e.capabilities?e.capabilities.toLowerCase().split(",").map(e=>e.trim()):["image","catalog"],{currentVersion:i,maxRecordCount:r}=e,s=t.includes("image"),n="esriImageServiceDataTypeElevation"===e.serviceDataType,a=!(!e.spatialReference&&!e.extent?.spatialReference),o=t.includes("edit"),l=t.includes("mensuration")&&a,u=null==e.mensurationCapabilities?[]:e.mensurationCapabilities.toLowerCase().split(",").map(e=>e.trim()),p=l&&u.includes("basic"),m=this._isMosaicDataset(e)&&t.includes("catalog"),c=t.includes("download"),d=i>=10.7&&n||i>=11.4&&(n||l&&u.includes("3d")),y=m&&e.fields&&e.fields.length>0,h=y&&e.supportsAdvancedQueries?e.advancedQueryCapabilities:void 0;return{data:{supportsAttachment:!1},operations:{supportsComputeHistograms:s,supportsExportImage:s,supportsIdentify:s,supportsImageToMap:i>=11.2&&m,supportsImageToMapMultiray:i>=11.2&&m,supportsMapToImage:i>=11.2&&m,supportsFindImages:i>=11.2&&m,supportsGetImageUrl:i>=11.3&&c,supportsMeasure:l,supportsMeasureFromImage:i>=11.2,supportsDownload:c,supportsQuery:y,supportsGetSamples:i>=10.2&&s,supportsProject:i>=10.3&&s,supportsComputeStatisticsHistograms:i>=10.4&&s,supportsQueryBoundary:i>=10.6&&s,supportsCalculateVolume:d,supportsComputePixelLocation:i>=10.7&&m,supportsComputeAngles:i>=10.91,supportsQueryGPSInfo:i>=11.2&&m,supportsAdd:o,supportsDelete:o,supportsEditing:o,supportsUpdate:o,supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsChangeTracking:!1,supportsQueryAttachments:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsExceedsLimitStatistics:!1,supportsQueryAnalytics:!1,supportsQueryBins:!1,supportsQueryPivot:!1,supportsQueryTopFeatures:!1,supportsAsyncConvert3D:!1},query:{maxRecordCount:r,maxRecordCountFactor:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:void 0,supportsStatisticsAggregatedIds:!!h?.supportsAggregateIds,supportsStatistics:!!h?.supportsStatistics,supportsOrderBy:!!h?.supportsOrderBy,supportsDistinct:!!h?.supportsDistinct,supportsPagination:!!h?.supportsPagination,supportsPaginationOnAggregatedQueries:!!h?.supportsPaginationOnAggregatedQueries,supportsStandardizedQueriesOnly:!!h?.useStandardizedQueries,supportsPercentileStatistics:!!h?.supportsPercentileStatistics,supportsCentroid:!!h?.supportsReturningGeometryCentroid,supportsCentroidOnDegeneratedQuantizedGeometry:!1,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!!h?.supportsQueryWithDistance,supportsOutDistance:!!h?.supportsOutDistance,supportsExtent:!!h?.supportsReturningQueryExtent,supportsGeometryProperties:!!h?.supportsReturningGeometryProperties,supportsHavingClause:!!h?.supportsHavingClause,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsReturnMesh:!1,supportsReturnExceededLimitGeometries:!1,supportsMaxRecordCountFactor:!1,supportsSqlExpression:h?.supportsSqlExpression??!!h,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!1,supportsQueryByOthers:!1,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsFormatPBFWithCurves:!1,supportsDisjointSpatialRelationship:!1,supportsCacheHint:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsDefaultSpatialReference:!!h?.supportsDefaultSR,supportsFullTextSearch:!1,supportsCompactGeometry:!1,standardMaxRecordCount:void 0,standardMaxRecordCountNoGeometry:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},mensuration:{supportsDistanceAndAngle:p,supportsAreaAndPerimeter:p,supportsPointOrCentroid:p,supportsHeightFromBaseAndTop:l&&u.includes("base-top height"),supportsHeightFromBaseAndTopShadow:l&&u.includes("base-top shadow height"),supportsHeightFromTopAndTopShadow:l&&u.includes("top-top shadow height"),supports3D:l&&u.includes("3d")}}}};function n(e){return e?.path??""}return(0,s.Cg)([(0,p.MZ)({clonable:!1})],r.prototype,"_functionRasterInfos",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"_serviceSupportsMosaicRule",void 0),(0,s.Cg)([(0,nt.w)("_serviceSupportsMosaicRule",["currentVersion","fields"])],r.prototype,"readServiceSupportsMosaicRule",null),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"_rasterFunctionNamesIndex",null),(0,s.Cg)([(0,p.MZ)()],r.prototype,"_projectedFullExtent",void 0),(0,s.Cg)([(0,p.MZ)({clonable:!1})],r.prototype,"_exportTileQueue",void 0),(0,s.Cg)([(0,p.MZ)()],r.prototype,"adjustAspectRatio",void 0),(0,s.Cg)([(0,p.MZ)({type:[M.jz],json:{write:!0}})],r.prototype,"bandIds",void 0),(0,s.Cg)([(0,nt.w)("bandIds")],r.prototype,"readBandIds",null),(0,s.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1}})],r.prototype,"capabilities",void 0),(0,s.Cg)([(0,nt.w)("service","capabilities",["capabilities","currentVersion","serviceDataType"])],r.prototype,"readCapabilities",null),(0,s.Cg)([(0,p.MZ)({type:Number})],r.prototype,"compressionQuality",void 0),(0,s.Cg)([(0,le.K)("compressionQuality")],r.prototype,"writeCompressionQuality",null),(0,s.Cg)([(0,p.MZ)({type:Number})],r.prototype,"compressionTolerance",void 0),(0,s.Cg)([(0,le.K)("compressionTolerance")],r.prototype,"writeCompressionTolerance",null),(0,s.Cg)([(0,p.MZ)({json:{read:{source:"copyrightText"}}})],r.prototype,"copyright",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"defaultMosaicRule",void 0),(0,s.Cg)([(0,nt.w)("defaultMosaicRule",["defaultMosaicMethod"])],r.prototype,"readDefaultMosaicRule",null),(0,s.Cg)([(0,p.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],r.prototype,"definitionExpression",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,constructOnly:!0})],r.prototype,"exportImageServiceParameters",void 0),(0,s.Cg)([(0,p.MZ)()],r.prototype,"rasterInfo",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,type:[me.A]})],r.prototype,"fields",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"fieldsIndex",null),(0,s.Cg)([(0,p.MZ)({type:["png","png8","png24","png32","jpg","bmp","gif","jpgpng","lerc","tiff","bip","bsq"],json:{write:!0}})],r.prototype,"format",null),(0,s.Cg)([(0,nt.w)("service","format",["serviceDataType","allowRasterFunction"])],r.prototype,"readFormat",null),(0,s.Cg)([(0,p.MZ)({type:A.A})],r.prototype,"fullExtent",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"hasMultidimensions",void 0),(0,s.Cg)([(0,p.MZ)({json:{read:{source:"maxImageHeight"}}})],r.prototype,"imageMaxHeight",void 0),(0,s.Cg)([(0,p.MZ)({json:{read:{source:"maxImageWidth"}}})],r.prototype,"imageMaxWidth",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{type:oe.SZ.jsonValues,read:oe.SZ.read,write:oe.SZ.write}})],r.prototype,"interpolation",void 0),(0,s.Cg)([(0,p.MZ)()],r.prototype,"minScale",void 0),(0,s.Cg)([(0,nt.w)("service","minScale")],r.prototype,"readMinScale",null),(0,s.Cg)([(0,p.MZ)()],r.prototype,"maxScale",void 0),(0,s.Cg)([(0,nt.w)("service","maxScale")],r.prototype,"readMaxScale",null),(0,s.Cg)([(0,p.MZ)({type:ae.A})],r.prototype,"mosaicRule",null),(0,s.Cg)([(0,nt.w)("mosaicRule",["mosaicRule","defaultMosaicMethod"])],r.prototype,"readMosaicRule",null),(0,s.Cg)([(0,le.K)("mosaicRule")],r.prototype,"writeMosaicRule",null),(0,s.Cg)([(0,p.MZ)()],r.prototype,"multidimensionalInfo",void 0),(0,s.Cg)([(0,p.MZ)({type:ye.A,json:{write:!0}})],r.prototype,"multidimensionalSubset",void 0),(0,s.Cg)([(0,p.MZ)({json:{type:[Number,[Number]],write:!0}})],r.prototype,"noData",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{type:oe.hm.jsonValues,read:oe.hm.read,write:oe.hm.write}})],r.prototype,"noDataInterpretation",void 0),(0,s.Cg)([(0,p.MZ)({type:String,readOnly:!0,json:{read:{source:["fields"]}}})],r.prototype,"objectIdField",void 0),(0,s.Cg)([(0,nt.w)("objectIdField")],r.prototype,"readObjectIdField",null),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"geometryType",void 0),(0,s.Cg)([(0,p.MZ)({})],r.prototype,"typeIdField",void 0),(0,s.Cg)([(0,p.MZ)({})],r.prototype,"types",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"parsedUrl",null),(0,s.Cg)([(0,p.MZ)({type:Function})],r.prototype,"pixelFilter",void 0),(0,s.Cg)([(0,p.MZ)()],r.prototype,"raster",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"sourceType",void 0),(0,s.Cg)([(0,nt.w)("sourceType",["serviceSourceType","fields"])],r.prototype,"readSourceType",null),(0,s.Cg)([(0,p.MZ)()],r.prototype,"viewId",void 0),(0,s.Cg)([(0,p.MZ)({types:Re.uy})],r.prototype,"renderer",null),(0,s.Cg)([(0,p.MZ)({types:Re.uy,json:{name:"layerDefinition.drawingInfo.renderer",origins:{"web-scene":{types:Re.Gj,name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy:e=>({enabled:e&&"vector-field"!==e.type})}}}}})],r.prototype,"internalRenderer",null),(0,s.Cg)([(0,nt.w)("internalRenderer")],r.prototype,"readRenderer",null),(0,s.Cg)([(0,le.K)("internalRenderer")],r.prototype,"writeRenderer",null),(0,s.Cg)([(0,p.MZ)({clonable:!1})],r.prototype,"symbolizer",void 0),(0,s.Cg)([(0,p.MZ)(q.ke)],r.prototype,"opacity",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"rasterFields",null),(0,s.Cg)([(0,p.MZ)({constructOnly:!0})],r.prototype,"rasterFunctionInfos",void 0),(0,s.Cg)([(0,p.MZ)({type:z.A,json:{name:"renderingRule"}})],r.prototype,"rasterFunction",null),(0,s.Cg)([(0,nt.w)("rasterFunction",["renderingRule","rasterFunctionInfos"])],r.prototype,"readRasterFunction",null),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"serviceDataType",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,type:P.A})],r.prototype,"spatialReference",void 0),(0,s.Cg)([(0,nt.w)("spatialReference",["spatialReference","extent"])],r.prototype,"readSpatialReference",null),(0,s.Cg)([(0,p.MZ)({type:oe.e8.apiValues,json:{read:oe.e8.read,type:oe.e8.jsonValues}})],r.prototype,"pixelType",void 0),(0,s.Cg)([(0,le.K)("pixelType")],r.prototype,"writePixelType",null),(0,s.Cg)([(0,p.MZ)({constructOnly:!0,type:fe.A})],r.prototype,"serviceRasterInfo",void 0),(0,s.Cg)([(0,p.MZ)()],r.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,p.MZ)(q.OZ)],r.prototype,"url",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],r.prototype,"version",void 0),(0,s.Cg)([(0,nt.w)("version",["currentVersion","fields","timeInfo"])],r.prototype,"readVersion",null),r=(0,s.Cg)([(0,p.$K)("esri.layers.mixins.ArcGISImageService")],r),r};var qi=i(18768),Ei=i(63074),Ji=i(69208),Gi=i(34287),$i=i(8303),zi=i(72545),Li=i(56551),Ui=i(54310),Bi=i(25036),Ki=i(82935),ki=i(91908),Qi=i(24212),Hi=i(30291),Wi=i(88625),Xi=i(59923);let Yi=class extends((0,Ei.dM)((0,Ki.e)((0,Bi.j)((0,Gi.q)((0,$i.A)((0,Li.H)(Vi((0,zi.G)((0,Ui.J)((0,Ji.d)((0,qi.b)((0,l.M)((0,a.OU)(w.A)))))))))))))){constructor(e){super(e),this.charts=null,this.graphicOrigin=new f(this),this.isReference=null,this.operationalLayerType="ArcGISImageServiceLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.type="imagery",this._debouncedSaveOperations=(0,u.sg)(async(e,t,r)=>{let{save:s,saveAs:n}=await i.e(9838).then(()=>i(59838));switch(e){case 0:return s(this,t);case 1:return n(this,r,t)}})}load(e){let t=null==e?null:e.signal;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"]},e).catch(u.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}set elevationInfo(e){"relative-to-scene"!==e?.mode&&this._set("elevationInfo",e),this._validateElevationInfo(e)}get legendEnabled(){return!this._isPreviewLayer&&(this._get("legendEnabled")??!0)}set legendEnabled(e){this._set("legendEnabled",e)}get listMode(){return this._isPreviewLayer?"hide":this._get("listMode")}set listMode(e){this._set("listMode",e)}get defaultPopupTemplate(){return this.createPopupTemplate()}get _isPreviewLayer(){return!(!this.raster||!this.url?.toLowerCase().includes("/rasterrendering/imageserver"))}createPopupTemplate(e){let{rasterFields:t}=this,i=new Set,r=ge.F_.itemPixelValue.toLowerCase(),s="raster-dataset"===this.sourceType,n=ge.Oo.toLowerCase(),a=`${ge.F_.servicePixelValue.toLowerCase()}.`;for(let e of t){let t=e.name.toLowerCase();t===r||t.startsWith(a)||s&&t.startsWith(n)||i.add(e.name)}let o=(0,Hi.tn)({fields:t,title:this.title},{...e,visibleFieldNames:i}),{rasterInfo:l}=this;return o?.fieldInfos&&l&&(0,ge.h4)(o.fieldInfos,l),o}queryFeatures(e,t){return this.queryRasters(e,t).then(e=>{if(e?.features)for(let t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}queryFeatureCount(e,t){return this.queryRasterCount(e,t)}redraw(){this.emit("redraw")}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}serviceSupportsSpatialReference(e){return(0,ki.D)(this,e)}write(e,t){return this._isPreviewLayer?((0,Xi.U4)(t,this,"preview layer cannot be saved"),null):super.write(e,t)}_validateElevationInfo(e){(0,Qi.XF)(o.A.getLogger(this),(0,Qi.$7)("Imagery layers","relative-to-scene",e)),(0,Qi.XF)(o.A.getLogger(this),(0,Qi.tW)("Imagery layers",e))}};(0,s.Cg)([(0,p.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],Yi.prototype,"charts",void 0),(0,s.Cg)([(0,p.MZ)({type:Wi.A,value:null,json:{name:"layerDefinition.elevationInfo",write:!0,origins:{"portal-item":{read:!1,write:!1},"web-map":{read:!1,write:!1}}}})],Yi.prototype,"elevationInfo",null),(0,s.Cg)([(0,p.MZ)({readOnly:!0,clonable:!1})],Yi.prototype,"graphicOrigin",void 0),(0,s.Cg)([(0,p.MZ)(q.fV)],Yi.prototype,"legendEnabled",null),(0,s.Cg)([(0,p.MZ)({type:["show","hide"]})],Yi.prototype,"listMode",null),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],Yi.prototype,"isReference",void 0),(0,s.Cg)([(0,p.MZ)({type:["ArcGISImageServiceLayer"]})],Yi.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,p.MZ)(q.M6)],Yi.prototype,"popupEnabled",void 0),(0,s.Cg)([(0,p.MZ)({type:n.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],Yi.prototype,"popupTemplate",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],Yi.prototype,"defaultPopupTemplate",null),(0,s.Cg)([(0,p.MZ)(q.PY)],Yi.prototype,"screenSizePerspectiveEnabled",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1}})],Yi.prototype,"type",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],Yi.prototype,"_isPreviewLayer",null),Yi=(0,s.Cg)([(0,p.$K)("esri.layers.ImageryLayer")],Yi);const er=Yi},18768(e,t,i){var r=i(32198),s=i(53966),n=i(91429),a=i(60694);i.d(t,["b",0,e=>{let t=e,i=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){let e=(0,a.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,a.Jf)(e,s.A.getLogger(this)))}};return(0,r.Cg)([(0,n.MZ)()],i.prototype,"title",null),(0,r.Cg)([(0,n.MZ)({type:String})],i.prototype,"url",null),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.ArcGISService")],i),i}])},56551(e,t,i){i.d(t,{H:()=>c});var r=i(32198),s=i(91429),n=i(69540),a=i(25482),o=i(78888),l=i(94359),u=i(93223);let p=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.name=void 0,this.method="none",this.value=void 0,this.bandIds=void 0,this.renderer=void 0}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],p.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({type:["raster-function-template","variable","none"],json:{write:{isRequired:!0}}}),(0,u.e)({rasterFunctionTemplate:"raster-function-template",variable:"variable",none:"none"})],p.prototype,"method",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],p.prototype,"value",void 0),(0,r.Cg)([(0,s.MZ)({type:[o.jz],json:{write:{isRequired:!0}}})],p.prototype,"bandIds",void 0),(0,r.Cg)([(0,s.MZ)({types:l.uy,json:{write:!0,origins:{"web-scene":{types:l.Gj,write:{overridePolicy:e=>({enabled:e&&"vector-field"!==e.type})}}}}})],p.prototype,"renderer",void 0),p=(0,r.Cg)([(0,s.$K)("esri.renderers.support.RasterPresetRenderer")],p);const m=p,c=e=>{let t=e,i=class extends t{constructor(){super(...arguments),this.activePresetRendererName=null,this.presetRenderers=null}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"layerDefinition.activePresetRendererName",write:{allowNull:!0}}})],i.prototype,"activePresetRendererName",void 0),(0,r.Cg)([(0,s.MZ)({type:[m],json:{name:"layerDefinition.presetRenderers",write:!0}})],i.prototype,"presetRenderers",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.RasterPresetRendererMixin")],i),i}},91908(e,t,i){i.d(t,{D:()=>n});var r=i(60694);const s=[];function n(e,t){if((0,r.Wo)(e.url??""))return!0;let{wkid:i}=t;for(let t of s){if((e.version??0)>=t[0])return!0;if("function"==typeof t[1]&&(t[1]=t[1]()),t[1].has(i))return!1}return!0}s.push([10.91,()=>{let e=new Set([9709,9716,9741,9761,9766]);for(let t=9712;t<=9713;t++)e.add(t);for(let t=9748;t<=9749;t++)e.add(t);for(let t=20904;t<=20932;t++)e.add(t);for(let t=21004;t<=21032;t++)e.add(t);for(let t=21207;t<=21264;t++)e.add(t);for(let t=21307;t<=21364;t++)e.add(t);for(let t=23301;t<=23333;t++)e.add(t);for(let t=102759;t<=102760;t++)e.add(t);for(let t=102934;t<=102955;t++)e.add(t);return e}]),s.push([10.9,()=>{let e=new Set([9300,9354,9364,9367,9373,9377,9387,9456,9473,9498,9678,9680,29874,103599,103872,104028]);for(let t=9356;t<=9360;t++)e.add(t);for(let t=9404;t<=9407;t++)e.add(t);for(let t=9476;t<=9482;t++)e.add(t);for(let t=9487;t<=9494;t++)e.add(t);for(let t=9697;t<=9699;t++)e.add(t);return e}]),s.push([10.81,()=>{let e=new Set([9265,9333,103598,103699]);for(let t=9248;t<=9254;t++)e.add(t);for(let t=9271;t<=9273;t++)e.add(t);for(let t=9284;t<=9285;t++)e.add(t);for(let t=21453;t<=21463;t++)e.add(t);return e}]),s.push([10.8,()=>{let e=new Set([8088,8395,8428,8433,8531,8687,8692,8694,8699,8900,9003,9006,9009,9012,9017,9191]);for(let t=8035;t<=8036;t++)e.add(t);for(let t=8455;t<=8456;t++)e.add(t);for(let t=8518;t<=8529;t++)e.add(t);for(let t=8533;t<=8536;t++)e.add(t);for(let t=8538;t<=8540;t++)e.add(t);for(let t=8677;t<=8679;t++)e.add(t);for(let t=8902;t<=8903;t++)e.add(t);for(let t=8907;t<=8910;t++)e.add(t);for(let t=8949;t<=8951;t++)e.add(t);for(let t=8972;t<=8987;t++)e.add(t);for(let t=9039;t<=9040;t++)e.add(t);for(let t=9068;t<=9069;t++)e.add(t);for(let t=9140;t<=9141;t++)e.add(t);for(let t=9148;t<=9150;t++)e.add(t);for(let t=9153;t<=9159;t++)e.add(t);for(let t=9205;t<=9218;t++)e.add(t);for(let t=9221;t<=9222;t++)e.add(t);for(let t=54098;t<=54101;t++)e.add(t);return e}]),s.push([10.71,()=>{let e=new Set([6316]);for(let t=8351;t<=8353;t++)e.add(t);for(let t=9294;t<=9297;t++)e.add(t);for(let t=22619;t<=22621;t++)e.add(t);for(let t=103586;t<=103594;t++)e.add(t);return e}])},82371(e,t,i){i.d(t,{E9:()=>y,Tw:()=>c,X6:()=>d});var r=i(56507),s=i(5443),n=i(86738),a=i(16930),o=i(87186),l=i(20223),u=i(2272),p=i(22671);async function m(e,t,i){let m=(0,u.Dl)(e),{rasterFunction:c,sourceJSON:d}=t||{},y=c?JSON.stringify(c.rasterFunctionDefinition||c):null,h=(0,u.lF)({...m.query,renderingRule:y,f:"json"}),g=(0,u.jV)(h,i);e=m.path;let f=d||await(0,r.A)(e,g).then(e=>e.data),{currentVersion:w}=f,v=f.hasRasterAttributeTable?(0,r.A)(`${e}/rasterAttributeTable`,g):null,R=f.hasColormap?(0,r.A)(`${e}/colormap`,g):null,C=f.hasHistograms?(0,r.A)(`${e}/histograms`,g):null,b=w>=10.3?(0,r.A)(`${e}/keyProperties`,g):null,S=f.hasMultidimensions?(0,r.A)(`${e}/multidimensionalInfo`,g):null,x=(c?w>=10.91:w>=10.81)?(0,r.A)(`${e}/statistics`,g):null,I=await Promise.allSettled([v,R,C,b,S,x]),M=s.A.fromJSON(f.extent),F=Math.ceil(M.width/f.pixelSizeX-.1),A=Math.ceil(M.height/f.pixelSizeY-.1),D=a.A.fromJSON(f.spatialReference||f.extent.spatialReference),T="fulfilled"===I[0].status?I[0].value?.data:null,P=T?.features?.length?p.A.fromJSON(T):null,j="fulfilled"===I[1].status?I[1].value?.data.colormap:null,N=j?.length?j:null,O="fulfilled"===I[2].status?I[2].value?.data.histograms:null,Z=O?.[0]?.counts?.length?O:null,_="fulfilled"===I[3].status?I[3].value?.data??{}:{},V="fulfilled"===I[4].status?I[4].value?.data.multidimensionalInfo:null,q=V?.variables?.length?V:null;var E;(E=q)&&E.variables.forEach(e=>{e.statistics?.length&&e.statistics.forEach(e=>{e.avg=e.mean,e.stddev=e.standardDeviation}),e.dimensions?.forEach(e=>{"StdTime"===e.name&&!e.recurring&&!e.unit&&(e.unit="ISO8601")})});let J=function(e,t){let i=null;t&&t.length===e.bandCount&&(i=t.map(e=>{let t=e.covariances?.trim(),i=t?t.split(",").map(Number):void 0;return{avg:e.mean,count:e.count,max:e.max,median:e.median,min:e.min,mode:e.mode,stddev:e.standardDeviation,sum:e.sum,covariances:i}}));let r=e.minValues?.length===e.bandCount?e.minValues.map((t,i)=>({min:t,max:e.maxValues[i],avg:e.meanValues[i],stddev:e.stdvValues[i]})):null;return null==r||null==i||i.some((e,t)=>e.min!==r[t]?.min||e.max!==r[t]?.max||e.avg!==r[t]?.avg||e.stddev!==r[t]?.stddev)?r:i}(f,"fulfilled"===I[5].status?I[5].value?.data.statistics:null),{defaultVariable:G,serviceDataType:$}=f;G&&G!==_.DefaultVariable&&(_.DefaultVariable=G),$?.includes("esriImageServiceDataTypeVector")&&!$.includes(_.DataType)&&(_.DataType=$.replace("esriImageServiceDataType",""));let z=f.noDataValue;f.noDataValues?.length&&f.noDataValues.some(e=>e!==z)&&(z=f.noDataValues);let L=f.transposeInfo?new l.A({blockWidth:256,blockHeight:256,pyramidBlockWidth:256,pyramidBlockHeight:256,pyramidScalingFactor:2,compression:"lerc",origin:new n.A({x:f.extent.xmin,y:f.extent.ymax,spatialReference:D}),firstPyramidLevel:1,maximumPyramidLevel:Math.max(0,Math.round(Math.log(Math.max(F,A))/Math.LN2-8)),transposeInfo:f.transposeInfo}):void 0;return new o.A({width:F,height:A,bandCount:f.bandCount,extent:s.A.fromJSON(f.extent),spatialReference:D,pixelSize:new n.A({x:f.pixelSizeX,y:f.pixelSizeY,spatialReference:D}),pixelType:f.pixelType.toLowerCase(),statistics:J,attributeTable:P,colormap:N,histograms:Z,keyProperties:_,noDataValue:z,multidimensionalInfo:q,storageInfo:L})}function c(e,t,i){return m(e,{sourceJSON:t},i)}function d(e,t,i){return m(e,{rasterFunction:t},i)}function y(e,t){e.attributeTable||(t.hasRasterAttributeTable=!1),e.histograms||(t.hasHistograms=!1),e.colormap||(t.hasColormap=!1),e.multidimensionalInfo||(t.hasMultidimensions=!1)}},20615(e,t,i){i.d(t,{I:()=>a});var r=i(2272),s=i(80893),n=i(97552);function a(e,t,i,a){return(0,s.gW)((0,r.Dl)(e),n.A.from(t),i,a)}},74910(e,t,i){i.d(t,{L:()=>o});var r=i(5443),s=i(2272),n=i(80893),a=i(97552);async function o(e,t,i,o){let l=(0,s.Dl)(e),u=await(0,n.Jf)(l,a.A.from(t),{...i},o),p=u.extent;return!p||isNaN(p.xmin)||isNaN(p.ymin)||isNaN(p.xmax)||isNaN(p.ymax)?{count:u.count,extent:null}:{count:u.count,extent:r.A.fromJSON(p)}}},78286(e,t,i){i.d(t,{V:()=>a});var r=i(2272),s=i(80893),n=i(97552);async function a(e,t,i,a){let o=(0,r.Dl)(e),l=await(0,s.Pk)(o,n.A.from(t),i,a);return l.objectIds??function(e){if(e)return function(e){return!Array.isArray(e[0])}(e)?e:e.map(e=>JSON.stringify(e))}(l.uniqueIds)??[]}},99199(e,t,i){i.d(t,{e:()=>l,s:()=>o});var r=i(2272),s=i(80893),n=i(22671),a=i(97552);async function o(e,t,i,r){let s=await l(e,t,i,r);return n.A.fromJSON(s)}function l(e,t,i,n){let o=(0,r.Dl)(e),l={...i},u=a.A.from(t);return(0,s.eW)(o,u,u.sourceSpatialReference,l,n)}},2991(e,t,i){i.d(t,{G9:()=>u,RZ:()=>l});var r=i(39516);const s="=",n=">=",a="<=";function o(e,t,i,s){let n=s.get(e)?.type,a=s.getTimeZone(e);return`${(0,r.iA)(e)} ${t} ${(0,r.YG)(i,{type:"date"},{type:n,timeZone:a})}`}function l(e,t,i,l){if(!t||!i)return;let{startField:u,endField:p}=t,{start:m,end:c}=e;if(!m&&!c||!u&&!p)return;let d=u??p,y=p??u;if(d&&y){if(m&&c){if(m.getTime()===c.getTime())return(0,r.mA)(l,o(d,s,m,i));if(!u||!p){let e=o(d,n,m,i),t=o(d,a,c,i);return(0,r.mA)(l,(0,r.mA)(e,t))}let e=o(u,n,m,i),t=o(p,a,c,i);return(0,r.mA)(l,(0,r.mA)(e,t))}if(m)return(0,r.mA)(l,o(d,n,m,i));if(c)return(0,r.mA)(l,o(y,a,c,i))}}function u(e){let{start:t,end:i}=e;if(t||i){if(!t&&i)return`null,${i.getTime()}`;if(!i&&t)return`${t.getTime()},null`;if(i&&t)return t.getTime()===i.getTime()?`${t.getTime()}`:`${t.getTime()},${i.getTime()}`}}},2272(e,t,i){i.d(t,{Dl:()=>u,gf:()=>m,jV:()=>l,lF:()=>p});var r=i(92602),s=i(70333),n=i(4718),a=i(84952),o=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,a.An)(e):(0,n.o8)(e)}function p(e,t,i){let r={};for(let s in e){if("declaredClass"===s)continue;let n=e[s];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))r[s]=n.map(e=>p(e));else if("object"==typeof n)if(n.toJSON){let e=n.toJSON(i?.[s]);r[s]=t?e:JSON.stringify(e)}else r[s]=t?n:JSON.stringify(n);else r[s]=n}return r}async function m(e,t,n){return function(e,t){return e?t&&(0,o.Qc)(e)?t:(0,o.getApiKey)(e)??s.id?.findCredential(e)?.token:null}(e,t)||(!s.id&&r.A.request.useIdentity&&await Promise.all([i.e(8673),i.e(7956),i.e(4189)]).then(()=>i(98232)),(await s.id.getCredential(e,n))?.token)}},24212(e,t,i){i.d(t,{$7:()=>l,B:()=>o,M7:()=>m,XF:()=>p,tW:()=>u,w7:()=>a});var r=i(56512),s=i(86211),n=i(16271);function a(e,t){return function(e,t){return t?.mode?t.mode:function(e){return e?c:d}(e).mode}(null==e||(e.hasZ??!1),t)}function o(e,t,i){return i&&i.mode!==t?`${e} only support ${t} elevation mode`:null}function l(e,t,i){return i?.mode===t?`${e} do not support ${t} elevation mode`:null}function u(e,t){return null!=t?.featureExpressionInfo&&"0"!==t.featureExpressionInfo.expression?`${e} do not support featureExpressionInfo`:null}function p(e,t){t&&e.warn(".elevationInfo=",t)}function m(e){return(e?.offset??0)*(0,n.Ao)(e?.unit)}(0,r.B)((e,t,i)=>{if(!e||"decimal-degrees"===t)return 0;let r="unknown"!==t&&t?t:"meters",n=(0,s.mq)(i);return n?(0,s.oU)(e,r,n):0});const c={mode:"absolute-height",offset:0},d={mode:"on-the-ground",offset:null}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[1948],{61691(e,t,r){r.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,r){r.d(t,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(e,t,r){r.d(t,{JR:()=>O,ME:()=>M,MY:()=>F,NO:()=>C,Nh:()=>_,V2:()=>I,_s:()=>b,e6:()=>V,gh:()=>E,jm:()=>S,tr:()=>k,uX:()=>p});var s=r(32198),n=(r(69397),r(16930)),a=r(19419),i=r(60408),l=r(21325),o=r(513),h=r(50954),u=r(79567),g=r(52006),m=r(49663),f=r(46068),x=r(92722);class p{constructor({type:e,spatialReference:t,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:a,partCount:i,partOffsets:l,partFlags:o,segmentFlags:h,segmentIndices:u,segmentParams:g,segmentCountArc:m,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=a,this.partCount=i,this.partOffsets=l,this.partFlags=o,this.segmentFlags=h,this.segmentIndices=u,this.segmentParams=g,this.segmentCountArc=m,this.segmentCountBezier=f}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){let{segmentCount:e,segmentCountArc:t,segmentCountBezier:r}=this;return e&&e-t-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 e(e){return e?64+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){let{type:e,vertexCount:t,partCount:r,hasZ:s,hasM:n,segmentCountArc:a,segmentCountBezier:i}=this,l=I(e,t,r,s,n,this.hasCurves(),a,i);l.spatialReference=this.spatialReference;let{vertexXY:o,vertexZ:h,vertexM:u}=this;if(l.vertexXY.set(o.subarray(0,2*t),0),l.vertexZ?.set(h.subarray(0,t),0),l.vertexM?.set(u.subarray(0,t),0),this.isMultipart()){let{partOffsets:e,partFlags:t}=this;l.partFlags.set(t.subarray(0,r+1)),l.partOffsets.set(e.subarray(0,r+1))}if(this.hasCurves()){let{segmentFlags:e,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;l.segmentFlags.set(e.subarray(0,t),0),l.segmentIndices.set(r.subarray(0,t),0),l.segmentParams.set(s.subarray(0,n),0)}return l}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,l.aI)(this.spatialReference,e.spatialReference)||this.vertexCount!==e.vertexCount||this.partCount!==e.partCount||this.hasZ!==e.hasZ||this.hasM!==e.hasM||this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;let r=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,r)=>Math.abs(e-r)>t||isNaN(e)!==isNaN(r);for(let t=0;t<this.vertexCount;++t)if(r(this.vertexXY[2*t],e.vertexXY[2*t])||r(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(r(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return this.isMultipart()?new c(this):[][Symbol.iterator]()}}class c{constructor(e){this.geometry=e,this.value=new v(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class v{constructor(e){this.geometry=e,this.index=-1,this._readVertex=Z(e),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(){let e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class d{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this.value=new y(e.geometry)}get _partIsClosed(){return!!(1&this._part.geometry.partFlags?.[this._part.index])}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;let e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._partIsClosed?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){let{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._partIsClosed?1:2),this.value.indexOfStartVertex=this._partStart-1}}class y{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=Z(e)}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(){let e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;let t=this.geometry.segmentParams,r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){let e=t[r++],s=t[r++],n=t[r++],a=t[r++];return{b:[this.end,[e,s],[n,a]]}}let s=t[r++],n=t[r++],a=t[r++],i=t[r++],l=t[r++],o=t[r++];r++,r++;let h=t[r++],u=t[r++];if(!(4&s)&&1===a)return{c:[this.end,[h,u]]};let g=2&s?0:1,m=1&s?0:1;return{a:[this.end,[l,o],g,m,i,n,a]}}}function C(e,t){let r={stack:[],error:void 0,hasError:!1};try{return t??=(0,a.Ie)(),(0,s.mS)(r,new P(e,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(t,function(e){let t,{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:l}=e,o=R(e);if(e.hasCurves()){let r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new P(e,["vertexZ","vertexM"]),!1);let n=(0,a.Ie)();for(let t of e.parts){let e=t.startVertex;for(let{curve:r}of t.segments)(0,u.e)(n,e,r),e=(0,g.yP)(r)}let[i,l,h,m]=n;t={xmin:i,ymin:l,xmax:h,ymax:m,spatialReference:o}}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}else{let e,s,a,i;e=s=1/0,a=i=-1/0;for(let t=0;t<r;++t){let r=n[2*t],l=n[2*t+1];e=Math.min(e,r),a=Math.max(a,r),s=Math.min(s,l),i=Math.max(i,l)}t={xmin:e,ymin:s,xmax:a,ymax:i,spatialReference:o}}if(i){let e=1/0,r=-1/0;for(let t of i)e=Math.min(e,t),r=Math.max(r,t);t.zmin=e,t.zmax=r}if(l){let e=1/0,r=-1/0;for(let t of l)e=Math.min(e,t),r=Math.max(r,t);t.mmin=e,t.mmax=r}return t}(e)),t}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}function M(e){let t,r,s;if((0,i.fT)(e)){s="point";let{x:n,y:a,z:i,m:l}=e,o=[n,a];null!=i&&o.push(i),null!=l&&o.push(l),r=[[o]],t=1}else(0,i.U9)(e)?(s="multipoint",r=[e.points],t=e.points.length):(0,i.Rg)(e)?(s="polyline",r=e.curvePaths??e.paths,t=r.reduce((e,t)=>e+t.length,0)):(s="polygon",r=e.curveRings??e.rings,t=r.reduce((e,t)=>(0===t.length||(e+=t.length,A(t[0],(0,g.yP)(t.at(-1)))&&--e),e),0));let n=I(s,t,s.includes("point")?0:r.length,(0,i.Pv)(e),(0,i.W0)(e),(0,g.Ed)(e)),{hasZ:a,hasM:l,vertexXY:o,vertexZ:h,vertexM:u}=n;function m(e){o[2*x]=e[0],o[2*x+1]=e[1],a&&(h[x]=e[2]),l&&(u[x]=e[f]),++x}n.spatialReference=e.spatialReference??void 0;let f=n.hasZ?3:2,x=0;if(!n.isMultipart()){if(!a&&!l){for(let[e,t]of r[0])o[2*x]=e,o[2*x+1]=t,++x;return n}for(let e of r[0])m(e);return n}let p="polygon"===s,{partOffsets:c}=n,v=0;if(!(0,g.Ed)(e)){for(let e of r){if(c[v++]=x,0===e.length)continue;let t=e.length;if(p&&A(e[0],e.at(-1))&&--t,a||l)for(let r=0;r<t;++r)m(e[r]);else for(let r=0;r<t;++r){let[t,s]=e[r];o[2*x]=t,o[2*x+1]=s,++x}}return c[v]=x,n}function d(e){let t=y+e;if(t<=(n.segmentParams?.length??0))return;let r=t*X;r=20*Math.ceil(r/20);let s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let y=0;for(let e of r){if(n.partOffsets[v++]=x,0===e.length)continue;let t=e[0],r=t;for(let t=1;t<e.length;++t){let s=e[t];m(r);let a=x-1;(0,g.wY)(s)?(d(10),++n.segmentCountArc,y=b(r,s,n,a,y),r=s.a[0]):(0,g.DA)(s)?(d(10),++n.segmentCountArc,y=Y(r,s,n,a,y),r=s.a[0]):(0,g.aO)(s)?(d(10),++n.segmentCountArc,y=V(r,s,n,a,y),r=s.c[0]):(0,g.n1)(s)?(d(4),++n.segmentCountBezier,y=k(0,s,n,a,y),r=s.b[0]):r=s}p&&A(t,r)||m(r)}return n.partOffsets[v]=x,n}function E(e){let t=Z(e),{vertexCount:r,partCount:s,hasZ:n,hasM:a}=e,i=R(e),l=0;if(!e.isMultipart()){if("point"===e.type){let[t,r]=e.vertexXY;return{x:t,y:r,z:e.vertexZ?.[0],m:e.vertexM?.[0],spatialReference:i}}let s=[];for(;l<r;)s.push(t(l++));return{points:s,spatialReference:i,hasZ:n,hasM:a}}if(!e.hasCurves()){let r=[];for(let n=0;n<s;++n){let s=!!(1&e.partFlags[n]),a=e.partOffsets[n+1],i=[];for(;l<a;)i.push(t(l++));s&&i.length>0&&i.push([...i[0]]),r.push(i)}return"polygon"===e.type?{rings:r,hasZ:n,hasM:a,spatialReference:i}:{paths:r,hasZ:n,hasM:a,spatialReference:i}}let o=[];for(let{segments:t,startVertex:r}of e.parts){let e=[r];for(let{curve:r}of t)e.push(r);o.push(e)}return"polygon"===e.type?{rings:[],curveRings:o,hasZ:n,hasM:a,spatialReference:i}:{paths:[],curvePaths:o,hasZ:n,hasM:a,spatialReference:i}}function _(e,{lengths:t,coords:r,hasZ:s,hasM:n},a){let i=e.includes("point")?0:t.length,l="polygon"===e,o="point"===e?1:t.reduce((e,t)=>e+t,0)-(l?i:0);s??=!1,n??=!1;let h=I(e,o,i,s,n,!1,0,0);if(h.spatialReference=a??void 0,!h.isMultipart()){for(let e=0,t=0;e<o;++e)h.vertexXY[2*e]=r[t++],h.vertexXY[2*e+1]=r[t++],s&&(h.vertexZ[e]=r[t++]),n&&(h.vertexM[e]=r[t++]);return h}let u=2+Number(s)+Number(n),g=0,m=0;h.partOffsets[0]=0;for(let e of t){let t=h.partOffsets[m],a=t+e-Number(l);h.partOffsets[++m]=a;for(let e=t;e<a;++e)h.vertexXY[2*e]=r[g++],h.vertexXY[2*e+1]=r[g++],s&&(h.vertexZ[e]=r[g++]),n&&(h.vertexM[e]=r[g++]);l&&(g+=u)}return h}function O({type:e,vertexCount:t,vertexXY:r,vertexZ:s,vertexM:n,partCount:a,partOffsets:i,partFlags:l,hasZ:o,hasM:h}){let u=new x.A([],[],o,h);a=Math.max(a,1);let g=0;for(let e=0;e<a;++e){let a=i?.[e+1]??t,m=u.coords.length;for(let e=g;e<a;++e)u.coords.push(r[2*e],r[2*e+1]),o&&u.coords.push(s[e]),h&&u.coords.push(n[e]);if(l&&1&l[e]){let e=g;u.coords.push(r[2*e],r[2*e+1]),o&&u.coords.push(s[e]),h&&u.coords.push(n[e])}u.lengths.push((u.coords.length-m)/u.stride),g=a}return"point"===e&&(u.lengths.length=0),u}function S(...e){let t=new Set;for(let r of e){if(!r)continue;let e=[r.vertexXY,r.vertexZ,r.vertexM,r.partOffsets,r.partFlags,r.segmentFlags,r.segmentIndices,r.segmentParams];for(let r of e){let e=r?.buffer;e&&t.add(e)}}return Array.from(t)}function F(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;let t=e.getText()||void 0,r=e.isCustomWkid()?0:e.getOldID();if(r<=0)return{wkt:t};let s=e.getLatestID();(s<=0||s===r)&&(s=void 0);let n=e.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:t};let a=n.isCustomWkid()?0:n.getOldID();if(a<=0)return{wkt:t};let i=e.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:r,wkt:t,latestWkid:s,vcsWkid:a,latestVcsWkid:i}}(e.getSpatialReference()),e=e.getGeometry()),new p({...e.toFlatGeometry(),spatialReference:t})}class P{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(let r of t)e[r]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function R({spatialReference:e}){return e instanceof n.A?e.toJSON():e}function Z({vertexXY:e,vertexZ:t,vertexM:r}){return t?r?s=>[e[2*s],e[2*s+1],t[s],r[s]]:r=>[e[2*r],e[2*r+1],t[r]]:r?t=>[e[2*t],e[2*t+1],r[t]]:t=>[e[2*t],e[2*t+1]]}function A(e,t){return e.every((e,r)=>e===t[r])}function I(e,t,r,s,n,a,i,l){i??=0,l??=0;let o=new p({type:e,vertexCount:t,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:i,segmentCountBezier:l}),h=2*Float64Array.BYTES_PER_ELEMENT*t;s&&(h+=Float64Array.BYTES_PER_ELEMENT*t),n&&(h+=Float64Array.BYTES_PER_ELEMENT*t),o.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),a&&(h+=t*Int8Array.BYTES_PER_ELEMENT,h+=t*Int32Array.BYTES_PER_ELEMENT,h+=o.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);let u=new ArrayBuffer(h),g=0;return o.vertexXY=new Float64Array(u,g,2*t),g+=o.vertexXY.byteLength,s&&(o.vertexZ=new Float64Array(u,g,t),g+=o.vertexZ.byteLength),n&&(o.vertexM=new Float64Array(u,g,t),g+=o.vertexM.byteLength),a&&(o.segmentParams=new Float64Array(u,g,o.segmentParamCount),g+=o.segmentParams.byteLength,o.segmentIndices=new Int32Array(u,g,t),o.segmentIndices.fill(N),g+=o.segmentIndices.byteLength),o.isMultipart()&&(o.partOffsets=new Int32Array(u,g,r+1),g+=o.partOffsets.byteLength,o.partFlags=new Int8Array(u,g,r+1),g+=o.partFlags.byteLength,"polygon"===o.type&&o.partFlags.subarray(0,r).fill(1)),a&&(o.segmentFlags=new Int8Array(u,g,t),o.segmentFlags.fill(1),g+=o.segmentFlags.byteLength),o}function b(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},a,i){r[a]=4,s[a]=i;let[l,[o,h],u,g,m,x,p]=t.a,c=4;g||(c|=1),u||(c|=2);let v=(0,f.SW)(e,t),[d,y]=(0,f.Uk)(v,.5);return n[i++]=c,n[i++]=x,n[i++]=p,n[i++]=m,n[i++]=o,n[i++]=h,n[i++]=v.u2-v.u1,n[i++]=v.u1,n[i++]=d,n[i++]=y,i}function Y(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},a,i){r[a]=4,s[a]=i;let l=(0,m.io)(e,t);return w(l,4,...(0,o.mq)(l,.5),n,i)}function V(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},a,i){return r[a]=4,s[a]=i,w((0,h.pM)(e,t),0,...t.c[1],n,i)}function w(e,t,r,s,n,a){let{cx:i,cy:l,thetaStart:o,thetaEnd:h,radius:u}=e;return o>h||(t|=1),Math.abs(h-o)<=Math.PI||(t|=2),n[a++]=t,n[a++]=u,n[a++]=1,n[a++]=0,n[a++]=i,n[a++]=l,n[a++]=h-o,n[a++]=o,n[a++]=r,n[a++]=s,a}function k(e,{b:[t,[r,s],[n,a]]},{segmentFlags:i,segmentIndices:l,segmentParams:o},h,u){return i[h]=2,l[h]=u,o[u++]=r,o[u++]=s,o[u++]=n,o[u++]=a,u}const X=1.61803,N=-1}}]);
|