@arcgis/core 6.0.0-next.47 → 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([[7304],{57582(t,e,i){i.d(e,{Vb:()=>s,af:()=>n,rK:()=>r}),i(92602);const s="arial-unicode-ms";function n(t){if(!t)return s;let e=t.toLowerCase().replaceAll(" ","-");switch(e){case"serif":return"noto-serif";case"sans-serif":return"arial-unicode-ms";case"monospace":return"ubuntu-mono";case"fantasy":return"cabin-sketch";case"cursive":return"redressed";default:return e}}function r(t){let e=function(t){if(!t.weight)return"";switch(t.weight.toLowerCase()){case"bold":case"bolder":return"-bold"}return""}(t)+function(t){if(!t.style)return"";switch(t.style.toLowerCase()){case"italic":case"oblique":return"-italic"}return""}(t);return n(t.family)+(e.length>0?e:"-regular")}new Map,new Set},85560(t,e,i){function s(){let t=new Float32Array(6);return t[0]=1,t[3]=1,t}function n(t,e,i,s){let n=e[s],r=e[s+1];t[s]=i[0]*n+i[2]*r+i[4],t[s+1]=i[1]*n+i[3]*r+i[5]}i.d(e,{vt:()=>s}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(t){let e=new Float32Array(6);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},create:s,fromValues:function(t,e,i,s,n,r){let a=new Float32Array(6);return a[0]=t,a[1]=e,a[2]=i,a[3]=s,a[4]=n,a[5]=r,a},transform:n,transformMany:function(t,e,i,s=0,r=0,a=2){let h=r||e.length/a;for(let r=s;r<h;r++)n(t,e,i,r*a)}},Symbol.toStringTag,{value:"Module"}))},88340(t,e,i){function s(){return new Float32Array(2)}function n(t,e){let i=new Float32Array(2);return i[0]=t,i[1]=e,i}function r(){return s()}function a(){return n(1,1)}function h(){return n(1,0)}function l(){return n(0,1)}i.d(e,{Un:()=>u,fA:()=>n,uY:()=>o,vt:()=>s});const o=r(),u=a(),c=h(),_=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:_,ZEROS:o,clone:function(t){let e=new Float32Array(2);return e[0]=t[0],e[1]=t[1],e},create:s,fromValues:n,ones:a,unitX:h,unitY:l,zeros:r},Symbol.toStringTag,{value:"Module"}))},16905(t,e,i){i.d(e,{$0:()=>o,B8:()=>r,D_:()=>n,Tl:()=>l,e$:()=>h,lw:()=>a});var s=i(34304);function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function r(t,e){let i=e[0],s=e[1],n=e[2],r=e[3],a=e[4],h=e[5],l=i*r-s*n;return l?(l=1/l,t[0]=r*l,t[1]=-s*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*h-r*a)*l,t[5]=(s*a-i*h)*l,t):null}function a(t,e,i){let s=e[0],n=e[1],r=e[2],a=e[3],h=e[4],l=e[5],o=i[0],u=i[1],c=i[2],_=i[3],p=i[4],f=i[5];return t[0]=s*o+r*u,t[1]=n*o+a*u,t[2]=s*c+r*_,t[3]=n*c+a*_,t[4]=s*p+r*f+h,t[5]=n*p+a*f+l,t}function h(t,e,i){let s=e[0],n=e[1],r=e[2],a=e[3],h=e[4],l=e[5],o=Math.sin(i),u=Math.cos(i);return t[0]=s*u+r*o,t[1]=n*u+a*o,t[2]=s*-o+r*u,t[3]=n*-o+a*u,t[4]=h,t[5]=l,t}function l(t,e,i){let s=e[0],n=e[1],r=e[2],a=e[3],h=e[4],l=e[5],o=i[0],u=i[1];return t[0]=s,t[1]=n,t[2]=r,t[3]=a,t[4]=s*o+r*u+h,t[5]=n*o+a*u+l,t}function o(t,e){let i=Math.sin(e),s=Math.cos(e);return t[0]=s,t[1]=i,t[2]=-i,t[3]=s,t[4]=0,t[5]=0,t}function u(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t[2]=e[2]-i[2],t[3]=e[3]-i[3],t[4]=e[4]-i[4],t[5]=e[5]-i[5],t}const c=a,_=u;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t[2]=e[2]+i[2],t[3]=e[3]+i[3],t[4]=e[4]+i[4],t[5]=e[5]+i[5],t},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},determinant:function(t){return t[0]*t[3]-t[1]*t[2]},equals:function(t,e){let i=t[0],n=t[1],r=t[2],a=t[3],h=t[4],l=t[5],o=e[0],u=e[1],c=e[2],_=e[3],p=e[4],f=e[5],m=(0,s.FD)();return Math.abs(i-o)<=m*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(n-u)<=m*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(r-c)<=m*Math.max(1,Math.abs(r),Math.abs(c))&&Math.abs(a-_)<=m*Math.max(1,Math.abs(a),Math.abs(_))&&Math.abs(h-p)<=m*Math.max(1,Math.abs(h),Math.abs(p))&&Math.abs(l-f)<=m*Math.max(1,Math.abs(l),Math.abs(f))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+1)},fromRotation:o,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=e[1],t[4]=0,t[5]=0,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=e[0],t[5]=e[1],t},identity:n,invert:r,mul:c,multiply:a,multiplyScalar:function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t[3]=e[3]*i,t[4]=e[4]*i,t[5]=e[5]*i,t},multiplyScalarAndAdd:function(t,e,i,s){return t[0]=e[0]+i[0]*s,t[1]=e[1]+i[1]*s,t[2]=e[2]+i[2]*s,t[3]=e[3]+i[3]*s,t[4]=e[4]+i[4]*s,t[5]=e[5]+i[5]*s,t},rotate:h,scale:function(t,e,i){let s=e[0],n=e[1],r=e[2],a=e[3],h=e[4],l=e[5],o=i[0],u=i[1];return t[0]=s*o,t[1]=n*o,t[2]=r*u,t[3]=a*u,t[4]=h,t[5]=l,t},set:function(t,e,i,s,n,r,a){return t[0]=e,t[1]=i,t[2]=s,t[3]=n,t[4]=r,t[5]=a,t},str:function(t){return"mat2d("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+")"},sub:_,subtract:u,translate:l},Symbol.toStringTag,{value:"Module"}))},41437(t,e,i){i.d(e,{Aq:()=>n,pC:()=>a,rx:()=>h,zq:()=>r});var s=i(98939);function n(t,e){t[4]=e}function r(t){if(!(Math.abs(t)>.5*Math.PI))return null;let e=t+Math.PI,i=Math.atan2(Math.sin(e),Math.cos(e));return Number.isNaN(i)?null:i}class a{constructor(t,e=!0,i=!0,n=0){this._angleToLine=!0,this._keepUpright=!1,this.isClosed=!1,this.geometryCursor=null,this.geometryCursor=!e&&"esriGeometryPolygon"===t.geometryType||!i&&"esriGeometryPolyline"===t.geometryType?null:t,this.geomUnitsPerPoint=n,this.iterateMultiPath=!1,this.iteratePath=!1,this.internalPlacement=new s.W}next(){if(!this.geometryCursor)return null;let t=this.processMultiPath(this.geometryCursor);if(this.iterateMultiPath&&t||(this.geometryCursor=null),!t)return null;let e=t.getAngle(),i=this._angleToLine&&this._keepUpright?r(e):null;return null!=i&&t.setRotate(i),t}processMultiPath(t){for(;this.iteratePath||t.pathIndex<t.totalSize-1;){this.iteratePath||t.nextPath(),this.iterateMultiPath=!0;let e=this.processPath(t);if(e)return e}return this.iterateMultiPath=!1,null}}class h{constructor(t,e,i,s=0){this.isClosed=!1,this.inputGeometries=t,this.acceptPolygon=e,this.acceptPolyline=i,this.geomUnitsPerPoint=s,this.iteratePath=!1,this.multiPathCursor=null}next(){for(;;){if(!this.multiPathCursor){let t=this.inputGeometries.next();for(;t&&(this.isClosed=this.acceptPolygon&&"esriGeometryPolygon"===t.geometryType||"esriGeometryEnvelope"===t.geometryType,this.multiPathCursor=t,!this.multiPathCursor);)t=this.inputGeometries.next();if(!this.multiPathCursor)return null}for(;this.iteratePath||this.multiPathCursor.nextPath();){this.multiPathCursor.seekPathStart();let t=this.processPath(this.multiPathCursor);if(t)return t}this.multiPathCursor=null}}}},35833(t,e,i){i.d(e,{$Z:()=>a,NS:()=>o,Xs:()=>l,ai:()=>d,g1:()=>g,hd:()=>u,kT:()=>x,lX:()=>h,mO:()=>c,qc:()=>y});var s=i(18370),n=i(36745),r=i(6774);const a=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(6870),i.e(1797)]).then(()=>i(46160))),h=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(6491)]).then(()=>i(55666))),l=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(8679)]).then(()=>i(51190))),o=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(837)]).then(()=>i(97528))),u=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(6870),i.e(3030)]).then(()=>i(50795))),c=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(6870),i.e(6936)]).then(()=>i(15605))),_=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(3456)]).then(()=>i(3637))),p=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(4790)]).then(()=>i(67520))),f=(0,s.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(1948)]).then(()=>i(83299)));let m;function d(t){switch(t.type){case"CIMGeometricEffectDonut":case"CIMGeometricEffectBuffer":return a.getImportPromise();case"CIMGeometricEffectEnclosingPolygon":return h.getImportPromise();case"CIMGeometricEffectOffset":return Promise.all([p.getImportPromise(),c.getImportPromise(),u.getImportPromise()]);case"CIMGeometricEffectControlMeasureLine":return c.getImportPromise();case"CIMGeometricEffectTaperedPolygon":return Promise.all([_.getImportPromise(),l.getImportPromise(),o.getImportPromise()]);default:return Promise.resolve()}}function g(t){return"CIMMarkerPlacementAtMeasuredUnits"===t.type?f.getImportPromise():Promise.resolve()}class x{constructor(t){this._geometry=t}next(){let t=this._geometry;return this._geometry=null,t}}function y(t,e,i){if(!t)return null;m||=new r.O3(0,0,0,1);let s,a,h=i?-1:1,l="esriGeometryPolygon"===t.geometryType,o=l?3:2,u=l?3:2;for(m.reset(o),m.setPixelMargin(e+1),m.setExtent(512);t.nextPath();)if(!(t.pathSize<u)){for(t.nextPoint(),s=t.x,a=h*t.y,m.moveTo(s,a);t.nextPoint();)s=t.x,a=h*t.y,m.lineTo(s,a);l&&m.close()}let c=m.result(!1);if(c){let e=n.z.createEmptyOptimizedCIM(t.geometryType);for(let t of c){e.startPath();for(let i of t)e.pushXY(i.x,h*i.y)}return e.reset(),e}return null}i.d(e,["vZ",0,f,"xR",0,p,"yM",0,_])},54258(t,e,i){i.d(e,{A:()=>ee,c:()=>ie});var s=i(34653);class n{constructor(){this.type="CIMBackgroundCallout"}static{this.instance=null}static local(){return null===n.instance&&(n.instance=new n),n.instance}execute(t,e,i){if("CIMBackgroundCallout"!==e?.type)throw Error("Invalid effect type for BackgroundCalloutEffect");return new r(t,e,i)}}class r{constructor(t,e,i){let{geomUnitsPerPoint:n}=i;if(!n)throw Error("geomUnitsPerPoint is required in EffectExecutionContext for BackgroundCalloutEffect");let r=n*(i.scaleFactor??1);this._inputGeometries=t,this._part=e.part,this._leaderTolerance=(e.leaderTolerance??0)*r,this._leaderOffset=(e.leaderOffset??0)*r,this._gap=(e.gap??0)*r,this._geomUnitsPerPoint=r,this._hasAccentBar=!0===e.hasAccentBar,this._lineStyle=e.lineStyle,this._margins=(0,s.QB)(e.margin,r),this._calloutContext=i.callout}next(){let t;for(;t=this._inputGeometries.next();){let e=(0,s.EE)(t,this._calloutContext);if(!e)continue;let i=(0,s.XD)(e.bounds,this._margins);switch(this._part){case"accent-bar":return(0,s.W)(i,e.anchor,this._gap,t.yFactor,this._lineStyle,e.bounds);case"background":return(0,s._T)(i,t.yFactor);default:{if((0,s.gR)(i,e.anchor))return null;let n=(0,s.sz)(i,e.anchor,this._lineStyle,this._gap,this._hasAccentBar,e.bounds);return(0,s.Io)(n,e.anchor)<this._leaderTolerance?null:(0,s.n_)(i,e.anchor,this._lineStyle,this._leaderOffset,this._gap,t.yFactor,this._geomUnitsPerPoint,this._hasAccentBar,e.bounds)}}}return null}}class a{constructor(){this.type="CIMBalloonCallout"}static{this.instance=null}static local(){return null===a.instance&&(a.instance=new a),a.instance}execute(t,e,i){if("CIMBalloonCallout"!==e?.type)throw Error("Invalid effect type for BalloonCalloutEffect");return new h(t,e,i)}}class h{constructor(t,e,i){let{geomUnitsPerPoint:n}=i;if(!n)throw Error("geomUnitsPerPoint is required in EffectExecutionContext for BalloonCalloutEffect");let r=n*(i.scaleFactor??1);this._inputGeometries=t,this._balloonStyle=e.balloonStyle,this._dartWidth=null==e.dartWidth?null:e.dartWidth*r,this._part=e.part,this._separateDart=!0===e.separateDart,this._leaderTolerance=(e.leaderTolerance??0)*r,this._margins=(0,s.QB)(e.margin,r),this._calloutContext=i.callout}next(){let t;for(;t=this._inputGeometries.next();){let e=(0,s.EE)(t,this._calloutContext);if(!e)continue;let i=(0,s.XD)(e.bounds,this._margins);if("dart"!==this._part)return(0,s.IF)(i,e.anchor,this._balloonStyle,this._leaderTolerance,t.yFactor,this._dartWidth,e.layoutAnchor,!this._separateDart);{let n=(0,s.ZO)(i,e.anchor,this._balloonStyle,this._leaderTolerance,t.yFactor,this._dartWidth,e.layoutAnchor);if(n)return n}}return null}}class l{constructor(){this.type="CIMPointSymbolCallout"}static{this.instance=null}static local(){return null===l.instance&&(l.instance=new l),l.instance}execute(t,e,i){if("CIMPointSymbolCallout"!==e?.type)throw Error("Invalid effect type for PointSymbolCalloutEffect");return new o(t,e,i)}}class o{constructor(t,e,i){let{geomUnitsPerPoint:s}=i;if(!s)throw Error("geomUnitsPerPoint is required in EffectExecutionContext for PointSymbolCalloutEffect");let n=s*(i.scaleFactor??1);this._inputGeometries=t,this._part=e.part,this._leaderTolerance=(e.leaderTolerance??0)*n,this._leaderOffset=(e.leaderOffset??0)*n,this._gap=(e.gap??0)*n,this._geomUnitsPerPoint=n,this._lineStyle=e.lineStyle,this._calloutContext=i.callout}next(){let t;for(;t=this._inputGeometries.next();){let e=(0,s.EE)(t,this._calloutContext);if(!e)continue;if("marker"===this._part)return(0,s.DJ)((0,s.gX)(e.bounds),t.yFactor);if((0,s.gR)(e.bounds,e.anchor))return null;let i=(0,s.sz)(e.bounds,e.anchor,this._lineStyle,this._gap);return(0,s.Io)(i,e.anchor)<this._leaderTolerance?null:(0,s.n_)(e.bounds,e.anchor,this._lineStyle,this._leaderOffset,this._gap,t.yFactor,this._geomUnitsPerPoint)}return null}}var u=i(36745);class c{constructor(){this.type="CIMSimpleLineCallout"}static{this.instance=null}static local(){return null===c.instance&&(c.instance=new c),c.instance}execute(t,e,i){if("CIMSimpleLineCallout"!==e?.type)throw Error("Invalid effect type for SimpleLineCalloutEffect");return new _(t,e,i)}}class _{constructor(t,e,i){this._inputGeometries=t,this._autoSnap=e.autoSnap??!0;let s=i.geomUnitsPerPoint*(i.scaleFactor??1);this._leaderTolerance=(e.leaderTolerance??0)*s,this._calloutContext=i.callout}next(){let t;for(;t=this._inputGeometries.next();){let e=this._createLeaderGeometry(t);if(e)return e}return null}_createLeaderGeometry(t){let e=(0,s.EE)(t,this._calloutContext);if(e){let i=this._autoSnap?(0,s.E0)(e.bounds,e.layoutAnchor):function(t){return{x:t.xmin,y:t.ymin}}(e.bounds);return function(t,e){return e.x>=t.xmin&&e.x<=t.xmax&&e.y>=t.ymin&&e.y<=t.ymax}(e.bounds,e.layoutAnchor)||!this._passesLeaderTolerance(i,e.layoutAnchor)?null:function(t,e,i){let s=u.z.createEmptyOptimizedCIM("esriGeometryPolyline",!1,!1,i);return s.startPath(),s.pushXY(t.x,i*t.y),s.pushXY(e.x,i*e.y),s.reset(),s}(i,e.anchor,t.yFactor)}return"esriGeometryPolyline"===t.geometryType&&this._passesPolylineTolerance(t)?t.clone():null}_passesLeaderTolerance(t,e){return this._leaderTolerance<=0||function(t,e){return Math.hypot(e.x-t.x,e.y-t.y)}(t,e)>=this._leaderTolerance}_passesPolylineTolerance(t){if(this._leaderTolerance<=0)return!0;let e=t.clone(),i=0;for(;e.nextPath();)i+=e.pathLength();return i>=this._leaderTolerance}}class p{static{this.instance=null}static local(){return null===p.instance&&(p.instance=new p),p.instance}execute(t,e,i){return new f(t,e)}}class f{constructor(t,e){this._inputGeometries=t,this._angleTolerance=void 0===e.angleTolerance?120:e.angleTolerance,this._maxCosAngle=Math.cos((1-Math.abs(this._angleTolerance)/180)*Math.PI)}next(){let t=this._inputGeometries.next();if(!t)return null;for(;t;){if("esriGeometryPolygon"===t.geometryType)this._isClosed=!0;else if("esriGeometryPolyline"===t.geometryType)this._isClosed=!1;else{if("esriGeometryEnvelope"!==t.geometryType){t=this._inputGeometries.next();continue}if(this._maxCosAngle)return t;this._isClosed=!0}for(;t.nextPath();)this._processPath(t);return t.reset(),t}return null}_processPath(t){if(t.nextPoint()){let e=t.x,i=t.y,s=e,n=i,r=t.pathSize,a=0,h=0,l=0,o=0,u=0,c=0;this._isClosed&&++r;for(let _=1;t.nextPoint()||_<r;++_){let p,f;this._isClosed&&_===r-1?(p=e,f=i):(p=t.x,f=t.y);let m=p-s,d=f-n,g=Math.sqrt(m*m+d*d);_>1&&g>0&&l>0&&(a*m+h*d)/g/l<=this._maxCosAngle&&t.setControlPointAt(_-1),1===_&&(o=m,u=d,c=g),g>0&&(s=p,n=f,a=m,h=d,l=g)}this._isClosed&&l>0&&c>0&&(a*o+h*u)/c/l<=this._maxCosAngle&&t.setControlPointAt(0)}}}var m=i(51118),d=i(41437);class g{constructor(t=0,e=!1){}isEmpty(t){if(!t.nextPoint())return!0;let e,i,s,n;for(e=t.x,i=t.y;t.nextPoint();e=i,i=n)if(s=t.x,n=t.y,s!==e||n!==i)return t.seekPathStart(),!1;return t.seekPathStart(),!0}normalize(t){let e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);0!==e&&(t[0]/=e,t[1]/=e)}getLength(t,e,i,s){let n=i-t,r=s-e;return Math.sqrt(n*n+r*r)}getSegLength(t){let[[e,i],[s,n]]=t;return this.getLength(e,i,s,n)}getCoord2D(t,e,i,s,n){return[t+(i-t)*n,e+(s-e)*n]}getSegCoord2D(t,e){let[[i,s],[n,r]]=t;return this.getCoord2D(i,s,n,r,e)}getAngle(t,e,i,s,n){let r=i-t,a=s-e;return Math.atan2(a,r)}getAngleCS(t,e,i,s,n,r){t??=[0,0];let a=s-e,h=n-i,l=Math.sqrt(a*a+h*h);return 0===l?(t[0]=1,t[1]=0,t):(t[0]=a/l,t[1]=h/l,t)}getSegAngleCS(t,e,i){let[[s,n],[r,a]]=e;return this.getAngleCS(t,s,n,r,a,i)}cut(t,e,i,s,n,r){return[n<=0?[t,e]:this.getCoord2D(t,e,i,s,n),r>=1?[i,s]:this.getCoord2D(t,e,i,s,r)]}getSubCurve(t,e,i){let s=u.z.createEmptyOptimizedCIM("esriGeometryPolyline");return this.appendSubCurve(s,t,e,i)?s:null}appendSubCurve(t,e,i,s){t.startPath(),e.seekPathStart();let n=0,r=!0;if(!e.nextPoint())return!1;let a=e.x,h=e.y;for(;e.nextPoint();){let l=this.getLength(a,h,e.x,e.y);if(0===l)a=e.x,h=e.y;else{if(r){if(n+l>i){let o=(i-n)/l,u=1,c=!1;n+l>=s&&(u=(s-n)/l,c=!0);let _=this.cut(a,h,e.x,e.y,o,u);if(_&&t.pushPoints(_),c)break;r=!1}}else{if(n+l>s){let i=this.cut(a,h,e.x,e.y,0,(s-n)/l);i&&t.pushPoint(i[1]);break}t.pushXY(e.x,e.y)}n+=l,a=e.x,h=e.y}}return!0}getCIMPointAlong(t,e){if(!t.nextPoint())return null;let i,s,n,r,a=0;for(i=t.x,s=t.y;t.nextPoint();i=n,s=r){n=t.x,r=t.y;let h=this.getLength(i,s,n,r);if(0!==h){if(a+h>e){let t=(e-a)/h;return this.getCoord2D(i,s,n,r,t)}a+=h}}return null}offset(t,e,i,s,n){if(!t||t.length<2)return null;let r=0,a=t[r++],h=r;for(;r<t.length;){let e=t[r];(e[0]!==a[0]||e[1]!==a[1])&&(r!==h&&(t[h]=t[r]),a=t[h++]),r++}let l=t[0][0]===t[h-1][0]&&t[0][1]===t[h-1][1];if(l&&--h,h<(l?3:2))return null;let o=[];a=l?t[h-1]:null;let u=t[0];for(let n=0;n<h;n++){let r=n===h-1?l?t[0]:null:t[n+1];if(a)if(r){let t=[r[0]-u[0],r[1]-u[1]];this.normalize(t);let n=[u[0]-a[0],u[1]-a[1]];this.normalize(n);let h=n[0]*t[1]-n[1]*t[0],l=n[0]*t[0]+n[1]*t[1];if(0===h&&1===l){u=r;continue}if(h>=0==e<=0){if(l<1){let i=[t[0]-n[0],t[1]-n[1]];this.normalize(i);let r=Math.sqrt((1+l)/2);if(r>1/s){let t=-Math.abs(e)/r;o.push([u[0]-i[0]*t,u[1]-i[1]*t])}}}else switch(i){case"Mitered":{let i=Math.sqrt((1+l)/2);if(i>0&&1/i<s){let s=[t[0]-n[0],t[1]-n[1]];this.normalize(s);let r=Math.abs(e)/i;o.push([u[0]-s[0]*r,u[1]-s[1]*r]);break}}case"Bevelled":o.push([u[0]+n[1]*e,u[1]-n[0]*e]),o.push([u[0]+t[1]*e,u[1]-t[0]*e]);break;case"Rounded":if(l<1){o.push([u[0]+n[1]*e,u[1]-n[0]*e]);let i=Math.floor(2.5*(1-l));if(i>0){let s=1/i,r=s;for(let a=1;a<i;a++,r+=s){let i=[n[1]*(1-r)+t[1]*r,-n[0]*(1-r)-t[0]*r];this.normalize(i),o.push([u[0]+i[0]*e,u[1]+i[1]*e])}}o.push([u[0]+t[1]*e,u[1]-t[0]*e])}break;default:if(h<0)o.push([u[0]+(n[1]+n[0])*e,u[1]+(n[1]-n[0])*e]),o.push([u[0]+(t[1]-t[0])*e,u[1]-(t[0]+t[1])*e]);else{let i=Math.sqrt((1+Math.abs(l))/2),s=[t[0]-n[0],t[1]-n[1]];this.normalize(s);let r=e/i;o.push([u[0]-s[0]*r,u[1]-s[1]*r])}}}else{let t=[u[0]-a[0],u[1]-a[1]];this.normalize(t),o.push([u[0]+t[1]*e,u[1]-t[0]*e])}else{let t=[r[0]-u[0],r[1]-u[1]];this.normalize(t),o.push([u[0]+t[1]*e,u[1]-t[0]*e])}a=u,u=r}return o.length<(l?3:2)?null:(l&&o.push([o[0][0],o[0][1]]),o)}}class x{static{this.instance=null}static local(){return null===x.instance&&(x.instance=new x),x.instance}execute(t,e,i){return new y(t,e,i)}}class y extends d.rx{constructor(t,e,i){super(t,!1,!0),this._curveHelper=new g;let s=i.geomUnitsPerPoint;this._width=(void 0===e.width?5:e.width)*s,this._arrowType=void 0===e.geometricEffectArrowType?void 0===e.arrowType?"OpenEnded":e.arrowType:e.geometricEffectArrowType,this._offsetFlattenError=.03*s}processPath(t){let e=u.z.createEmptyOptimizedCIM(t.geometryType);switch(this._arrowType){case"OpenEnded":default:this._constructSimpleArrow(e,t,!0);break;case"Block":this._constructSimpleArrow(e,t,!1);break;case"Crossed":this._constructCrossedArrow(e,t)}return e}_constructSimpleArrow(t,e,i){let s=e.pathLength(),n=this._width;s<2*n&&(n=s/2);let r=this._curveHelper.getSubCurve(e,0,s-n);if(!r||!r.nextPath())return;r.seekPathStart();let a=n/2;if(this._curveHelper.isEmpty(r))return;let h=(0,m.A)(r),l=this._constructOffset(h,-a);if(!l)return;let o=this._constructOffset(h,a);if(!o)return;let u=this._constructArrowBasePoint(l,-a/2);if(!u)return;let c=this._constructArrowBasePoint(o,a/2);if(!c)return;e.seekInPath(e.pathSize-1);let _=[e.x,e.y];t.pushPath(o),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(c),t.nextPoint(),t.setControlPoint(),t.pushPoint(_),t.nextPoint(),t.setControlPoint(),t.pushPoint(u),t.nextPoint(),t.setControlPoint(),t.pushPoints(l.reverse()),t.setControlPoint(),i||(t.setControlPointAt(0),t.setControlPointAt(t.pathSize-1),t.pushPoint(o[0])),t.reset()}_constructCrossedArrow(t,e){let i=e.pathLength(),s=this._width;i<3.732050807568877*s&&(s=i/3.732050807568877),e.seekPathStart();let n=this._curveHelper.getSubCurve(e,0,i-2.732050807568877*s);if(!n)return;n.nextPath();let r=s/2;if(this._curveHelper.isEmpty(n))return;let a=(0,m.A)(n),h=this._constructOffset(a,r);if(!h)return;let l=this._constructOffset(a,-r);if(!l)return;let o=this._curveHelper.getSubCurve(e,0,i-s);if(!o||(o.nextPath(),this._curveHelper.isEmpty(o)))return;let u=(0,m.A)(o),c=this._constructOffset(u,r);if(!c)return;let _=this._constructOffset(u,-r);if(!_)return;let p=c[c.length-1],f=this._constructArrowBasePoint(c,r/2);if(!f)return;let d=_[_.length-1],g=this._constructArrowBasePoint(_,-r/2);if(!g)return;e.seekInPath(e.pathSize-1);let x=[e.x,e.y];t.pushPath(h),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(d),t.nextPoint(),t.setControlPoint(),t.pushPoint(g),t.nextPoint(),t.setControlPoint(),t.pushPoint(x),t.nextPoint(),t.setControlPoint(),t.pushPoint(f),t.nextPoint(),t.setControlPoint(),t.pushPoint(p),t.nextPoint(),t.setControlPoint(),t.pushPoints(l.reverse()),t.nextPoint(),t.setControlPoint(),t.reset()}_constructOffset(t,e){return this._curveHelper.offset(t,e,"Rounded",4,this._offsetFlattenError)}_constructArrowBasePoint(t,e){if(!t||t.length<2)return null;let i=t[t.length-2],s=t[t.length-1],n=[s[0]-i[0],s[1]-i[1]];return this._curveHelper.normalize(n),[s[0]+n[1]*e,s[1]-n[0]*e]}}var P=i(16930),M=i(35833);class b{static{this.instance=null}static local(){return null===b.instance&&(b.instance=new b),b.instance}execute(t,e,i){return new C(t,e,i)}}class C{constructor(t,e,i){let s=i.geomUnitsPerPoint,n=i.tileKey,r=i.maxInflateSize;this._preventClipping=i.preventClipping,this._inputGeometries=t,this._tileKey=n,this._curveHelper=new g,this._size=(void 0===e.size?1:e.size)*s,this._maxInflateSize=r*s,this._offsetFlattenError=.03*s}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._size)return t;if("esriGeometryEnvelope"===t.geometryType)if(this._size>0){let e=u.z.createEmptyOptimizedCIM(t.geometryType),i=(0,m.x)(t)[0],s=this._curveHelper.offset(i,this._size,"Rounded",4,this._offsetFlattenError);if(s)return e.pushPath(s),e}else if(this._size<0){let e=t.asJSON();if(Math.min(e.xmax-e.xmin,e.ymax-e.ymin)+2*this._size>0)return u.z.fromJSONCIM({xmin:e.xmin-this._size,xmax:e.xmax+this._size,ymin:e.ymin-this._size,ymax:e.ymax+this._size})}let e=!this._preventClipping&&this._tileKey?(0,M.qc)(t,this._maxInflateSize,!0):t;if(!e)continue;let{bufferExecute:i}=M.$Z.module,s=i({...e.asJSON(),spatialReference:{wkid:P.A.WebMercator.wkid}},this._size);return s?u.z.fromJSONCIM(s):null}return null}}var v=i(34727),w=i(28076);const S=Math.PI/180,A=2*Math.PI;class k{static{this.instance=null}static local(){return null===k.instance&&(k.instance=new k),k.instance}execute(t,e,i){return new I(t,e,i)}}class I{constructor(t,e,i){let s=i.geomUnitsPerPoint;this._inputGeometries=t,this._geomUnitsPerPoint=s,this._radius=(e.radius??w.D.CIMGeometricEffectCircularSector.radius)*s,this._startAngle=(e.startAngle??w.D.CIMGeometricEffectCircularSector.startangle)*S,this._endAngle=(e.endAngle??w.D.CIMGeometricEffectCircularSector.endangle)*S}next(){if(this._radius<=0)return null;let t=this._inputGeometries.next();for(;t;){if("esriGeometryPoint"===t.geometryType||"esriGeometryMultipoint"===t.geometryType){let e=u.z.createEmptyOptimizedCIM("esriGeometryPolygon",t.hasZ,!1),i=!1;for(;t.nextPath();)for(;t.nextPoint();)e.pushPath(this._buildRing(t.x,t.y,t.hasZ?t.z:void 0)),i=!0;if(i)return e}t=this._inputGeometries.next()}return null}_buildRing(t,e,i){let s=[this._makePoint(t,e,i)],n=z(this._startAngle),r=z(this._endAngle);for(;r<n;)r+=A;let a=r-n;if(0===a)return s.push(this._makePoint(t+this._radius*Math.cos(r),e+this._radius*Math.sin(r),i)),s.push(this._makePoint(t,e,i)),s;let h=.25*this._geomUnitsPerPoint,l=this._radius<=.5*h?A:2*Math.acos((0,v.qE)(1-h/this._radius,-1,1)),o=Math.max(1,Math.ceil(a/l)),u=a/o,c=r;for(let n=0;n<=o;n++,c-=u)s.push(this._makePoint(t+this._radius*Math.cos(c),e+this._radius*Math.sin(c),i));return s.push(this._makePoint(t,e,i)),s}_makePoint(t,e,i){return null==i?[t,e]:[t,e,i]}}function z(t){return(t%=A)<0?t+A:t}i(86211);var T=i(95108);class E{static{this.instance=null}static local(){return null===E.instance&&(E.instance=new E),E.instance}execute(t,e,i){return new L(t,e,i)}}class L{constructor(t,e,i){this._defaultPointSize=20,this._inputGeometries=t,this._geomUnitsPerPoint=i.geomUnitsPerPoint??1,this._scale=i?.scale,this._rule=e.rule??"FullGeometry",this._spatialReference=i?.spatialReference??P.A.WebMercator,this._width=this._computeWidth(e.width??25),this._defaultSize=this._defaultPointSize*this._geomUnitsPerPoint}next(){let t;for(;t=this._inputGeometries.next();){let e=this._processGeom((0,m.x)(t));if(e?.length)return u.z.fromJSONCIM({paths:e})}return null}_computeWidth(t){if(!function(t){return"ParallelOffsetByValue"===t}(this._rule)||null==this._scale||!this._spatialReference.metersPerUnit)return t*this._geomUnitsPerPoint;let e=this._scale/(96*39.37*this._spatialReference.metersPerUnit);return t/(this._spatialReference.metersPerUnit*e)}_clone(t){return[t[0],t[1]]}_mid(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}_mix(t,e,i,s){return[t[0]*e+i[0]*s,t[1]*e+i[1]*s]}_add(t,e){return[t[0]+e[0],t[1]+e[1]]}_add2(t,e,i){return[t[0]+e,t[1]+i]}_sub(t,e){return[t[0]-e[0],t[1]-e[1]]}_dist(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}_norm(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}_normalize(t,e=1){let i=e/this._norm(t);t[0]*=i,t[1]*=i}_leftPerpendicular(t){let e=-t[1],i=t[0];t[0]=e,t[1]=i}_leftPerp(t){return[-t[1],t[0]]}_rightPerpendicular(t){let e=t[1],i=-t[0];t[0]=e,t[1]=i}_rightPerp(t){return[t[1],-t[0]]}_dotProduct(t,e){return t[0]*e[0]+t[1]*e[1]}_crossProduct(t,e){return t[0]*e[1]-t[1]*e[0]}_rotateDirect(t,e,i){let s=t[0]*e-t[1]*i,n=t[0]*i+t[1]*e;t[0]=s,t[1]=n}_makeCtrlPt(t){let e=[t[0],t[1]];return(0,d.Aq)(e,1),e}_addAngledTicks(t,e,i,s){let n=this._sub(i,e);this._normalize(n);let r,a=this._crossProduct(n,this._sub(s,e));r=a>0?this._rightPerp(n):this._leftPerp(n);let h=Math.abs(a)/2,l=[];l.push([e[0]+(r[0]-n[0])*h,e[1]+(r[1]-n[1])*h]),l.push(e),l.push(i),l.push([i[0]+(r[0]+n[0])*h,i[1]+(r[1]+n[1])*h]),t.push(l)}_addBezier2(t,e,i,s,n){if(0===n--)return void t.push(s);let r=this._mid(e,i),a=this._mid(i,s),h=this._mid(r,a);this._addBezier2(t,e,r,h,n),this._addBezier2(t,h,a,s,n)}_addBezier3(t,e,i,s,n,r){if(0===r--)return void t.push(n);let a=this._mid(e,i),h=this._mid(i,s),l=this._mid(s,n),o=this._mid(a,h),u=this._mid(h,l),c=this._mid(o,u);this._addBezier3(t,e,a,o,c,r),this._addBezier3(t,c,u,l,n,r)}_add90DegArc(t,e,i,s,n){let r=n??this._crossProduct(this._sub(i,e),this._sub(s,e))>0,a=this._mid(e,i),h=this._sub(a,e);r?this._leftPerpendicular(h):this._rightPerpendicular(h),a[0]+=h[0],a[1]+=h[1],this._addBezier3(t,e,this._mix(e,.33333,a,.66667),this._mix(i,.33333,a,.66667),i,4)}_addArrow(t,e,i){let s=e[0],n=e[1],r=e[e.length-1],a=this._sub(s,n),h=this._norm(a);this._normalize(a);let l=Math.abs(this._crossProduct(a,this._sub(r,n))),o=this._dotProduct(a,this._sub(r,n));o<.05*h?o=.05*h:o>.95*h&&(o=.95*h);let u=.5*l,c=this._leftPerp(a),_=[n[0]+a[0]*o,n[1]+a[1]*o],p=e.length-1,f=[];f.push(i?[-c[0],-c[1]]:c);let m=[-a[0],-a[1]];for(let t=1;t<p-1;t++){let i=this._sub(e[t+1],e[t]);this._normalize(i);let s=this._dotProduct(i,m),n=this._crossProduct(i,m),r=Math.sqrt((1+s)/2),a=this._sub(i,m);this._normalize(a),a[0]/=r,a[1]/=r,f.push(n<0?[-a[0],-a[1]]:a),m=i}f.push(this._rightPerp(m));for(let i=f.length-1;i>0;i--)t.push([e[i][0]+f[i][0]*u,e[i][1]+f[i][1]*u]);t.push([_[0]+f[0][0]*u,_[1]+f[0][1]*u]),t.push([_[0]+f[0][0]*l,_[1]+f[0][1]*l]),t.push(s),t.push([_[0]-f[0][0]*l,_[1]-f[0][1]*l]),t.push([_[0]-f[0][0]*u,_[1]-f[0][1]*u]);for(let i=1;i<f.length;i++)t.push([e[i][0]-f[i][0]*u,e[i][1]-f[i][1]*u])}_addDash(t,e,i){let s=this._norm(i)/7;this._normalize(i);let n=[];for(let r=0;r<=7;r++)n.push([e[0]+i[0]*r*s,e[1]+i[1]*r*s]),1&r&&(t.push(n),n=[])}_cp2(t,e,i){return t.length>=2?t[1]:this._add2(t[0],e*this._defaultSize,i*this._defaultSize)}_cp3(t,e,i,s){if(t.length>=3)return t[2];let n=this._mix(t[0],1-i,e,i),r=this._sub(e,t[0]);return this._normalize(r),this._rightPerpendicular(r),[n[0]+r[0]*s*this._defaultSize,n[1]+r[1]*s*this._defaultSize]}_arrowPath(t){if(t.length>2)return t;let e=t[0],i=this._cp2(t,-4,0),s=this._sub(e,i);this._normalize(s);let n=this._rightPerp(s);return[e,i,[e[0]+(n[0]-s[0])*this._defaultSize,e[1]+(n[1]-s[1])*this._defaultSize]]}_arrowLastSeg(t){let e,i=t[0],s=this._cp2(t,-4,0);if(t.length>=3)e=t[t.length-1];else{let t=this._sub(i,s);this._normalize(t);let n=this._rightPerp(t);e=[i[0]+(n[0]-t[0])*this._defaultSize,i[1]+(n[1]-t[1])*this._defaultSize]}return[s,e]}_offsetPath(t,e){let{offsetExecute:i}=M.mO.module,s=i({paths:[t],spatialReference:this._spatialReference.toJSON()},e,{joins:"miter",miterLimit:4}),[n]=(0,m.x)(u.z.fromJSONCIM(s));return n?.length?n:null}_processGeom(t){if(!t)return null;let e=[];for(let i of t){let t=i.length>1&&(0,T.Yl)(i)<this._defaultSize;if(!i||0===i.length||t)continue;let s=i.length,n=i[0];switch(this._rule){case"PerpendicularFromFirstSegment":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,.5,4),r=[];r.push(s),r.push(this._mid(n,t)),e.push(r);break}case"ReversedFirstSegment":{let t=this._cp2(i,0,-1);e.push([t,n]);break}case"PerpendicularToSecondSegment":{if(i.length<3)return[];let t=this._cp2(i,-4,1),s=this._cp3(i,t,.882353,-1.94),r=[];r.push(this._mid(t,s)),r.push(n),e.push(r);break}case"SecondSegmentWithTicks":{if(i.length<3)return[];let t,s=this._cp2(i,-4,1),r=this._cp3(i,s,.882353,-1.94),a=this._sub(r,s);t=this._crossProduct(a,this._sub(n,s))>0?this._rightPerp(a):this._leftPerp(a);let h=[];h.push([s[0]+(t[0]-a[0])/3,s[1]+(t[1]-a[1])/3]),h.push(s),h.push(r),h.push([r[0]+(t[0]+a[0])/3,r[1]+(t[1]+a[1])/3]),e.push(h);break}case"DoublePerpendicular":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,.5,3),r=this._mid(n,t),a=this._sub(r,s);this._normalize(a);let h=this._crossProduct(a,this._sub(n,s));this._leftPerpendicular(a);let l=[];l.push(n),l.push([s[0]+a[0]*h,s[1]+a[1]*h]),e.push(l);let o=[];o.push([s[0]-a[0]*h,s[1]-a[1]*h]),o.push(t),e.push(o);break}case"OppositeToFirstSegment":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,.5,3),r=this._mid(n,t),a=this._sub(r,s);this._normalize(a);let h=this._crossProduct(a,this._sub(n,s));this._leftPerpendicular(a);let l=[];l.push([s[0]+a[0]*h,s[1]+a[1]*h]),l.push([s[0]-a[0]*h,s[1]-a[1]*h]),e.push(l);break}case"TriplePerpendicular":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,.5,4),r=this._mid(n,t),a=this._sub(r,s);this._normalize(a);let h=this._crossProduct(a,this._sub(n,s));this._leftPerpendicular(a);let l=[];l.push([s[0]+a[0]*h*.8,s[1]+a[1]*h*.8]),l.push([r[0]+.8*(n[0]-r[0]),r[1]+.8*(n[1]-r[1])]),e.push(l),e.push([s,r]);let o=[];o.push([s[0]-a[0]*h*.8,s[1]-a[1]*h*.8]),o.push([r[0]+.8*(t[0]-r[0]),r[1]+.8*(t[1]-r[1])]),e.push(o);break}case"HalfCircleFirstSegment":{let t,s=this._cp2(i,0,-1),r=this._cp3(i,s,.5,4),a=this._mid(n,s),h=this._sub(s,n),l=Math.cos(Math.PI/18),o=Math.sin(Math.PI/18),u=Math.sqrt((1+l)/2),c=Math.sqrt((1-l)/2),_=[];this._crossProduct(h,this._sub(r,n))>0?(_.push(n),h=this._sub(n,a),t=s):(_.push(s),h=this._sub(s,a),t=n),this._rotateDirect(h,u,c),h[0]/=u,h[1]/=u;for(let t=1;t<=18;t++)_.push(this._add(a,h)),this._rotateDirect(h,l,o);_.push(t),e.push(_);break}case"HalfCircleSecondSegment":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,1,-1),r=this._sub(n,t);this._normalize(r);let a=this._crossProduct(r,this._sub(s,t))/2;this._leftPerpendicular(r);let h=[t[0]+r[0]*a,t[1]+r[1]*a];r=this._sub(t,h);let l=Math.cos(Math.PI/18),o=Math.sin(Math.PI/18);a>0&&(o=-o);let u=[t];for(let t=1;t<=18;t++)this._rotateDirect(r,l,o),u.push(this._add(h,r));e.push(u);break}case"HalfCircleExtended":{let t,r=this._cp2(i,0,-2),a=this._cp3(i,r,1,-1);if(s>=4)t=i[3];else{let e=this._sub(n,r);t=this._add(a,e)}let h=this._dist(r,a)/2/.75,l=this._sub(r,n);this._normalize(l,h);let o=this._sub(a,t);this._normalize(o,h);let u=[t,a];e.push(u);let c=[this._clone(a)];this._addBezier3(c,a,this._add(a,o),this._add(r,l),r,4),c.push(n),e.push(c);break}case"OpenCircle":{let t=this._cp2(i,-2,0),s=this._sub(t,n),r=Math.cos(Math.PI/18),a=-Math.sin(Math.PI/18),h=[t];for(let t=1;t<=33;t++)this._rotateDirect(s,r,a),h.push(this._add(n,s));e.push(h);break}case"CoverageEdgesWithTicks":{let t,r,a=this._cp2(i,0,-1);if(s>=3)t=i[2];else{let e=this._sub(a,n),i=this._leftPerp(e);t=[n[0]+i[0]-.25*e[0],n[1]+i[1]-.25*e[1]]}if(s>=4)r=i[3];else{let e=this._mid(n,a),i=this._sub(n,a);this._normalize(i),this._leftPerpendicular(i);let s=this._crossProduct(i,this._sub(t,e));this._rightPerpendicular(i),r=[t[0]+i[0]*s*2,t[1]+i[1]*s*2]}let h,l,o=this._sub(a,n);h=this._crossProduct(o,this._sub(t,n))>0?this._rightPerp(o):this._leftPerp(o),l=[],l.push(t),l.push(n),l.push([n[0]+(h[0]-o[0])/3,n[1]+(h[1]-o[1])/3]),e.push(l),h=this._crossProduct(o,this._sub(r,a))>0?this._rightPerp(o):this._leftPerp(o),l=[],l.push([a[0]+(h[0]+o[0])/3,a[1]+(h[1]+o[1])/3]),l.push(a),l.push(r),e.push(l);break}case"GapExtentWithDoubleTicks":{let t,r=this._cp2(i,0,2),a=this._cp3(i,r,0,1);if(s>=4)t=i[3];else{let e=this._sub(r,n);t=this._add(a,e)}this._addAngledTicks(e,n,r,this._mid(a,t)),this._addAngledTicks(e,a,t,this._mid(n,r));break}case"GapExtentMidline":{let t,r=this._cp2(i,2,0),a=this._cp3(i,r,0,1);if(s>=4)t=i[3];else{let e=this._sub(r,n);t=this._add(a,e)}let h=[];h.push(this._mid(n,a)),h.push(this._mid(r,t)),e.push(h);break}case"Chevron":{let t,r=this._cp2(i,-1,-1);if(s>=3)t=i[2];else{let e=this._sub(r,n);this._leftPerpendicular(e),t=this._add(n,e)}e.push([r,this._makeCtrlPt(n),t]);break}case"PerpendicularWithArc":{let t=this._cp2(i,0,-2),r=this._cp3(i,t,.5,-1),a=this._sub(t,n),h=this._norm(a);a[0]/=h,a[1]/=h;let l=this._crossProduct(a,this._sub(r,n)),o=this._dotProduct(a,this._sub(r,n));o<.05*h?o=.05*h:o>.95*h&&(o=.95*h);let u=[n[0]+a[0]*o,n[1]+a[1]*o],c=this._leftPerp(a),_=[];if(_.push([u[0]-c[0]*l,u[1]-c[1]*l]),_.push([u[0]+c[0]*l,u[1]+c[1]*l]),e.push(_),s>=4){let t=i[3],s=this._dotProduct(a,this._sub(t,n));s<.1*h?s=.1*h:s>.9*h&&(s=.9*h);let r=[n[0]+a[0]*s,n[1]+a[1]*s],l=this._crossProduct(a,this._sub(t,n)),o=[];o.push([r[0]-c[0]*l,r[1]-c[1]*l]),o.push([r[0]+c[0]*l,r[1]+c[1]*l]),e.push(o)}let p=[t[0]+c[0]*l,t[1]+c[1]*l];c=this._sub(t,p);let f=Math.cos(Math.PI/18),m=Math.sin(Math.PI/18);l<0&&(m=-m),_=[n,t];for(let t=1;t<=9;t++)this._rotateDirect(c,f,m),_.push(this._add(p,c));e.push(_);break}case"ClosedHalfCircle":{let t=this._cp2(i,2,0),s=this._mid(n,t),r=this._sub(t,s),a=Math.cos(Math.PI/18),h=Math.sin(Math.PI/18),l=[n,t];for(let t=1;t<=18;t++)this._rotateDirect(r,a,h),l.push(this._add(s,r));e.push(l);break}case"TripleParallelExtended":{let t=this._cp2(i,0,-2),s=this._cp3(i,t,1,-2),r=this._mid(n,t),a=this._sub(s,t);this._normalize(a);let h=Math.abs(this._crossProduct(a,this._sub(r,t)))/2,l=this._dist(t,s),o=[t,n];o.push([n[0]+a[0]*l*.5,n[1]+a[1]*l*.5]),e.push(o);let u=[];u.push([r[0]-a[0]*h,r[1]-a[1]*h]),u.push([r[0]+a[0]*l*.375,r[1]+a[1]*l*.375]),(0,d.Aq)(u[u.length-1],1),u.push([r[0]+a[0]*l*.75,r[1]+a[1]*l*.75]),e.push(u);let c=[t,s];e.push(c);break}case"ParallelWithTicks":{let t=this._cp2(i,3,0),s=this._cp3(i,t,.5,-1),r=this._sub(t,n);this._normalize(r);let a=this._crossProduct(r,this._sub(s,n)),h=this._leftPerp(r);this._addAngledTicks(e,n,t,s),this._addAngledTicks(e,this._add2(n,h[0]*a,h[1]*a),this._add2(t,h[0]*a,h[1]*a),this._mid(n,t));break}case"Parallel":{let t=this._cp2(i,3,0),s=this._cp3(i,t,.5,-1),r=this._sub(t,n);this._normalize(r);let a=this._leftPerp(r),h=this._crossProduct(r,this._sub(s,n)),l=[n,t];e.push(l),l=[],l.push([n[0]+a[0]*h,n[1]+a[1]*h]),l.push([t[0]+a[0]*h,t[1]+a[1]*h]),e.push(l);break}case"PerpendicularToFirstSegment":{let t=this._cp2(i,3,0),s=this._cp3(i,t,.5,-1),r=this._mid(n,t),a=this._sub(t,n);this._normalize(a);let h=this._crossProduct(a,this._sub(s,n));this._leftPerpendicular(a);let l=[];l.push([r[0]-a[0]*h*.25,r[1]-a[1]*h*.25]),l.push([r[0]+a[0]*h*1.25,r[1]+a[1]*h*1.25]),e.push(l);break}case"ParallelOffset":{let t=this._cp2(i,3,0),s=this._cp3(i,t,.5,-1),r=this._sub(t,n);this._normalize(r);let a=this._crossProduct(r,this._sub(s,n));this._leftPerpendicular(r);let h=[];h.push([n[0]-r[0]*a,n[1]-r[1]*a]),h.push([t[0]-r[0]*a,t[1]-r[1]*a]),e.push(h);let l=[];l.push([n[0]+r[0]*a,n[1]+r[1]*a]),l.push([t[0]+r[0]*a,t[1]+r[1]*a]),e.push(l);break}case"OffsetOpposite":{let t=this._cp2(i,3,0),s=this._cp3(i,t,.5,-1),r=this._sub(t,n);this._normalize(r);let a=this._crossProduct(r,this._sub(s,n));this._leftPerpendicular(r);let h=[];h.push([n[0]-r[0]*a,n[1]-r[1]*a]),h.push([t[0]-r[0]*a,t[1]-r[1]*a]),e.push(h);break}case"OffsetSame":{let t=this._cp2(i,3,0),s=this._cp3(i,t,.5,-1),r=this._sub(t,n);this._normalize(r);let a=this._crossProduct(r,this._sub(s,n));this._leftPerpendicular(r);let h=[];h.push([n[0]+r[0]*a,n[1]+r[1]*a]),h.push([t[0]+r[0]*a,t[1]+r[1]*a]),e.push(h);break}case"CircleWithArc":{let t,r,a=this._cp2(i,3,0),h=this._cp3(i,a,.5,-1);if(s>=4)t=i[3],r=this._crossProduct(this._sub(t,a),this._sub(h,a))>0;else{t=a,r=this._crossProduct(this._sub(t,n),this._sub(h,n))>0;let e=24*this._geomUnitsPerPoint,i=this._sub(t,n);this._normalize(i,e);let s=Math.sqrt(2)/2;this._rotateDirect(i,s,r?s:-s),a=this._add(n,i)}let l=this._sub(a,n),o=Math.cos(Math.PI/18),u=Math.sin(Math.PI/18),c=[a];for(let t=1;t<=36;t++)this._rotateDirect(l,o,u),c.push(this._add(n,l));this._add90DegArc(c,a,t,h,r),(0,d.Aq)(c[c.length-8],1),e.push(c);break}case"DoubleJog":{let t,r=this._cp2(i,-3,1),a=this._cp3(i,r,-1,-.5);if(s>=4)t=i[3];else{let e=n;n=r,t=a;let i=this._dist(n,e),s=this._dist(t,e),h=30*this._geomUnitsPerPoint;.5*i<h&&(h=.5*i),.5*s<h&&(h=.5*s),r=this._mix(n,h/i,e,(i-h)/i),a=this._mix(t,h/s,e,(s-h)/s)}let h=this._mid(n,r),l=this._mid(t,a),o=this._dist(n,r),u=this._dist(a,t),c=Math.min(o,u)/8;c=Math.min(c,24*this._geomUnitsPerPoint);let _=Math.cos(Math.PI/4),p=this._sub(n,r);this._normalize(p,c),this._crossProduct(p,this._sub(t,r))>0?this._rotateDirect(p,_,-_):this._rotateDirect(p,_,_);let f=[];f.push(r),f.push(this._add(h,p)),f.push(this._sub(h,p)),f.push(n),e.push(f),p=this._sub(t,a),this._normalize(p,c),this._crossProduct(p,this._sub(n,a))<0?this._rotateDirect(p,_,_):this._rotateDirect(p,_,-_),f=[],f.push(a),f.push(this._add(l,p)),f.push(this._sub(l,p)),f.push(t),e.push(f);break}case"PerpendicularOffset":{let t=this._cp2(i,-4,1),s=this._cp3(i,t,.882353,-1.94),r=this._sub(s,t);this._crossProduct(r,this._sub(n,t))>0?this._rightPerpendicular(r):this._leftPerpendicular(r);let a=[r[0]/8,r[1]/8],h=this._sub(this._mid(t,s),a);e.push([h,n]);break}case"LineExcludingLastSegment":{let t=this._arrowPath(i),s=[],n=t.length-2;for(;n--;)s.push(t[n]);e.push(s);break}case"MultivertexArrow":{let t=this._arrowPath(i),s=[];this._addArrow(s,t,!1),e.push(s);break}case"CrossedArrow":{let t=this._arrowPath(i),s=[];this._addArrow(s,t,!0),e.push(s);break}case"ChevronArrow":{let[t,s]=this._arrowLastSeg(i),r=10*this._geomUnitsPerPoint,a=this._sub(n,t),h=this._norm(a);this._normalize(a);let l=this._crossProduct(a,this._sub(s,t)),o=this._dotProduct(a,this._sub(s,t));o<.05*h?o=.05*h:o>.95*h-r&&(o=.95*h-r);let u=[t[0]+a[0]*o,t[1]+a[1]*o],c=this._leftPerp(a),_=[];_.push([u[0]+c[0]*l+a[0]*r,u[1]+c[1]*l+a[1]*r]),_.push(n),_.push([u[0]-c[0]*l+a[0]*r,u[1]-c[1]*l+a[1]*r]),e.push(_);break}case"ChevronArrowOffset":{let[t,s]=this._arrowLastSeg(i),r=this._sub(n,t),a=this._norm(r);this._normalize(r);let h=this._crossProduct(r,this._sub(s,t)),l=this._dotProduct(r,this._sub(s,t));l<.05*a?l=.05*a:l>.95*a&&(l=.95*a);let o=[t[0]+r[0]*l,t[1]+r[1]*l];this._leftPerpendicular(r);let u=[];u.push([o[0]+r[0]*h*.5,o[1]+r[1]*h*.5]),u.push(this._mid(o,n)),u.push([o[0]-r[0]*h*.5,o[1]-r[1]*h*.5]),e.push(u);break}case"PartialFirstSegment":{let[t,s]=this._arrowLastSeg(i),r=this._sub(n,t),a=this._norm(r);this._normalize(r);let h=this._dotProduct(r,this._sub(s,t));h<.05*a?h=.05*a:h>.95*a&&(h=.95*a);let l=[t[0]+r[0]*h,t[1]+r[1]*h];e.push([t,l]);break}case"Arch":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,.5,1),r=this._sub(n,t),a=this._mix(s,1,r,.55),h=this._mix(s,1,r,-.55),l=[n];this._addBezier2(l,n,a,s,4),this._addBezier2(l,s,h,t,4),e.push(l);break}case"CurvedParallelTicks":{let t=this._cp2(i,-4,1),s=this._cp3(i,t,.882353,-1.94),r=this._sub(s,t);this._crossProduct(r,this._sub(n,t))>0?this._rightPerpendicular(r):this._leftPerpendicular(r);let a=[r[0]/8,r[1]/8],h=this._sub(this._mid(t,s),a),l=this._sub(this._mix(t,.75,s,.25),a),o=this._sub(this._mix(t,.25,s,.75),a),u=[t];this._addBezier2(u,t,l,h,3),this._addBezier2(u,h,o,s,3),e.push(u);for(let t=0;t<8;t++){let i=u[2*t+1],s=[this._clone(i)];s.push(this._add(i,[r[0]/4,r[1]/4])),e.push(s)}break}case"Arc90Degrees":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,.5,1),r=[t];this._add90DegArc(r,t,n,s),e.push(r);break}case"TipWithPerpendicularAndTicks":{let[t,s]=this._arrowLastSeg(i),r=10*this._geomUnitsPerPoint,a=this._sub(n,t),h=this._norm(a);this._normalize(a);let l=this._crossProduct(a,this._sub(s,t)),o=this._dotProduct(a,this._sub(s,t));o<.05*h?o=.05*h:o>.95*h-r&&(o=.95*h-r);let u=this._leftPerp(a),c=[n[0]-a[0]*r,n[1]-a[1]*r],_=.5*Math.max(h-o-r,r);l=Math.abs(l);let p=[];p.push([c[0]+u[0]*(l+_)-a[0]*_,c[1]+u[1]*(l+_)-a[1]*_]),p.push([c[0]+u[0]*l,c[1]+u[1]*l]),p.push([c[0]-u[0]*l,c[1]-u[1]*l]),p.push([c[0]-u[0]*(l+_)-a[0]*_,c[1]-u[1]*(l+_)-a[1]*_]),e.push(p),e.push([c,n]);break}case"ConcentricCircles":{let t=this._cp2(i,1,0),r=this._cp3(i,t,2,0),a=Math.cos(Math.PI/18),h=Math.sin(Math.PI/18),l=this._dist(t,n),o=[l,0],u=[];for(let t=0;t<=36;t++)u.push(this._add(n,o)),this._rotateDirect(o,a,h);if(e.push(u),s>=4){u=[];let t=i[3];l=this._dist(t,n),o=[l,0];for(let t=0;t<=36;t++)u.push(this._add(n,o)),0===t&&(u.push(this._add(n,o)),(0,d.Aq)(u[1],1)),this._rotateDirect(o,a,h);e.push(u)}u=[],l=this._dist(r,n),o=[l,0];for(let t=0;t<=36;t++)u.push(this._add(n,o)),this._rotateDirect(o,a,h);e.push(u);break}case"DoubleJogArrow":{n=this._arrowPath(i)[0];let[t,s]=this._arrowLastSeg(i),r=this._sub(n,t),a=this._norm(r);this._normalize(r);let h=Math.abs(this._crossProduct(r,this._sub(s,n))),l=Math.abs(this._dotProduct(r,this._sub(s,n)));l<.05*a?l=.05*a:l>.95*a&&(l=.95*a);let o=Math.max(h,l),u=this._leftPerp(r),c=[],_=[n[0]-r[0]*l*.5+u[0]*h*.5,n[1]-r[1]*l*.5+u[1]*h*.5];c.push([_[0],_[1]]),_[0]+=r[0]*o*.5+u[0]*o*.4,_[1]+=r[1]*o*.5+u[1]*o*.4,c.push([_[0],_[1]]),_[0]-=u[0]*o*.25,_[1]-=u[1]*o*.25,c.push([_[0],_[1]]),_[0]+=r[0]*o*.5+u[0]*o*.4,_[1]+=r[1]*o*.5+u[1]*o*.4,c.push([_[0],_[1]]),e.push(c),c=[],_[0]=n[0]-r[0]*l*.5-u[0]*h*.5,_[1]=n[1]-r[1]*l*.5-u[1]*h*.5,c.push([_[0],_[1]]),_[0]+=r[0]*o*.5-u[0]*o*.4,_[1]+=r[1]*o*.5-u[1]*o*.4,c.push([_[0],_[1]]),_[0]+=u[0]*o*.25,_[1]+=u[1]*o*.25,c.push([_[0],_[1]]),_[0]+=r[0]*o*.5-u[0]*o*.4,_[1]+=r[1]*o*.5-u[1]*o*.4,c.push([_[0],_[1]]),e.push(c);break}case"LinkedChevrons":{let t=this._cp2(i,-5,0),s=this._cp3(i,t,-.2,1),r=this._sub(n,t);this._normalize(r);let a=this._leftPerp(r),h=Math.abs(this._crossProduct(r,this._sub(s,t)));e.push([t,n]);let l=[];l.push([n[0]-r[0]*h+a[0]*h,n[1]-r[1]*h+a[1]*h]),l.push(n),l.push([n[0]-r[0]*h-a[0]*h,n[1]-r[1]*h-a[1]*h]),e.push(l),this._addDash(e,t,[-r[0]*h+a[0]*h,-r[1]*h+a[1]*h]),this._addDash(e,t,[-r[0]*h-a[0]*h,-r[1]*h-a[1]*h]);break}case"SegmentThenHalfCircle":{let t,r=this._cp2(i,2,0),a=this._cp3(i,r,1.5,0);t=s>=4?i[3]:this._cp3(i,r,1.25,-.5);let h=this._sub(r,n);this._normalize(h);let l=.5*this._dist(r,a),o=this._crossProduct(h,this._sub(t,n))>0,u=Math.cos(Math.PI/18),c=Math.sin(Math.PI/18);o&&(c=-c);let _=[n,r];h[0]*=l,h[1]*=l;let p=this._add(r,h);h[0]=-h[0],h[1]=-h[1];for(let t=1;t<=18;t++)this._rotateDirect(h,u,c),_.push(this._add(p,h));e.push(_);break}case"LineWithStraightTicks":{let t=this._cp2(i,-2,1),s=this._cp3(i,t,-1,-.5),r=this._sub(s,t);this._normalize(r);let a=this._dotProduct(r,this._sub(t,n)),h=this._dotProduct(r,this._sub(s,n)),l=[n];l.push([n[0]+r[0]*a,n[1]+r[1]*a]),l.push(t),e.push(l),l=[n],l.push([n[0]+r[0]*h,n[1]+r[1]*h]),l.push(s),e.push(l);break}case"DoubleCurve":{let t=this._cp2(i,-5,-1),s=this._cp3(i,t,2,0),r=Math.atan2(1,5),a=Math.cos(r),h=Math.sin(r),l=this._sub(t,n),o=this._dist(n,t);this._normalize(l),this._rotateDirect(l,a,-h);let u=[n];u.push([n[0]+l[0]*o*.5,n[1]+l[1]*o*.5]),(0,d.Aq)(u[1],1),u.push([n[0]+l[0]*o*.8,n[1]+l[1]*o*.8]),this._addBezier2(u,u[2],[n[0]+l[0]*o,n[1]+l[1]*o],t,3);let c=this._sub(s,t),_=this._dist(t,s);this._normalize(c),this._rotateDirect(c,a,-h),this._addBezier2(u,t,[s[0]-c[0]*_,s[1]-c[1]*_],[s[0]-c[0]*_*.8,s[1]-c[1]*_*.8],3),u.push(s),e.push(u);break}case"ParallelWithTicksByWidth":{let t=this._cp2(i,0,-1),s=this._cp3(i,t,.5,3),r=this._sub(t,n);this._normalize(r);let a=this._crossProduct(r,this._sub(s,n));this._leftPerpendicular(r),a>0?(this._addAngledTicks(e,n,[n[0]+r[0]*a,n[1]+r[1]*a],t),this._addAngledTicks(e,t,[t[0]+r[0]*a,t[1]+r[1]*a],n)):(this._addAngledTicks(e,[n[0]+r[0]*a,n[1]+r[1]*a],n,t),this._addAngledTicks(e,[t[0]+r[0]*a,t[1]+r[1]*a],n,t));break}case"EnclosingRoundedRectangle":{let t=this._cp2(i,3,-2),e=[Math.min(n[0],t[0]),Math.max(n[1],t[1])],s=[Math.max(n[0],t[0]),Math.min(n[1],t[1])],r=s[0]-e[0],a=e[1]-s[1],h=Math.min(r,a)/10,l=[];l.push([e[0]+h+.75*(r-2*h),e[1]]),l.push([s[0]-h,e[1]]),this._add90DegArc(l,[s[0]-h,e[1]],[s[0],e[1]-h],[s[0],e[1]]),l.push([s[0],s[1]+h]),this._add90DegArc(l,[s[0],s[1]+h],[s[0]-h,s[1]],s),l.push([e[0]+h,s[1]]),this._add90DegArc(l,[e[0]+h,s[1]],[e[0],s[1]+h],[e[0],s[1]]),l.push([e[0],e[1]-h]),this._add90DegArc(l,[e[0],e[1]-h],[e[0]+h,e[1]],e),l.push([e[0]+h+.75*(r-2*h),e[1]]);break}case"ParallelOffsetByValue":{if(i.length<2||0===this._width)break;let t=this._offsetPath(i,.5*this._width);t&&e.push(t);let s=this._offsetPath(i,.5*-this._width);s&&e.push(s);break}default:e.push(i)}}return e}}class G{static{this.instance=null}static local(){return null===G.instance&&(G.instance=new G),G.instance}execute(t,e,i){return new O(t,e,i)}}class O extends d.rx{constructor(t,e,i){super(t,!0,!0),this._curveHelper=new g;let s=i?.geomUnitsPerPoint;this._beginCut=(void 0===e.beginCut?1:e.beginCut)*s,this._endCut=(void 0===e.endCut?1:e.endCut)*s,this._middleCut=(void 0===e.middleCut?0:e.middleCut)*s,this._invert=void 0!==e.invert&&e.invert,this._beginCut<0&&(this._beginCut=0),this._endCut<0&&(this._endCut=0),this._middleCut<0&&(this._middleCut=0)}processPath(t){let{_beginCut:e,_endCut:i,_middleCut:s}=this,n=t.pathLength(),r=u.z.createEmptyOptimizedCIM("esriGeometryPolyline");if(this._invert){if(0!==e||0!==i||0!==s)if(e+i+s>=n)for(r.startPath();t.nextPoint();)r.pushXY(t.x,t.y);else this._curveHelper.appendSubCurve(r,t,0,e),this._curveHelper.appendSubCurve(r,t,.5*(n-s),.5*(n+s)),this._curveHelper.appendSubCurve(r,t,n-i,i)}else if(0===e&&0===i&&0===s)for(r.startPath();t.nextPoint();)r.pushXY(t.x,t.y);else e+i+s<n&&(0===s?this._curveHelper.appendSubCurve(r,t,e,n-i):(this._curveHelper.appendSubCurve(r,t,e,.5*(n-s)),this._curveHelper.appendSubCurve(r,t,.5*(n+s),n-i)));return 0===r.totalSize?null:r}}var R=i(45733);class N{constructor(){this._values=[],this.extPtGap=0,this.ctrlPtGap=0,this._length=0,this._currentValue=0}isEmpty(){return 0===this._values.length}size(){return this._values.length}init(t,e=!0){if(this._setEmpty(),!t||0===t.length)return!1;for(let i=0;i<t.length;i++){let s=Math.abs(t[i]);e&&s<1e-7&&(s=1e-7),this._values.push(s),this._length+=s}return 0!==this._length&&(this.ctrlPtGap=this.extPtGap=0,this._currentValue=-1,!0)}scale(t){let e=this._values?this._values.length:0;for(let i=0;i<e;++i)this._values[i]*=t;this._length*=t,this.extPtGap*=t,this.ctrlPtGap*=t}addValue(t){this._length+=t,this._values.push(t)}firstValue(){return this._values[0]}lastValue(){return this._values[this._values.length-1]}nextValue(){return this._currentValue++,this._currentValue===this._values.length&&(this._currentValue=0),this._values[this._currentValue]}reset(){this._currentValue=-1}length(){return this._length}_setEmpty(){this.extPtGap=this.ctrlPtGap=this._length=0,this._currentValue=-1,this._values.length=0}}class X{constructor(){this.pt=null,this.ca=0,this.sa=0}}class F{constructor(){this.reset()}reset(){this.segment=null,this.segmentLength=0,this.abscissa=0,this.isPathEnd=!1,this.isPartEnd=!1}isValid(){return null!==this.segment}copyTo(t){t.segment=this.segment,t.segmentLength=this.segmentLength,t.abscissa=this.abscissa,t.isPathEnd=this.isPathEnd,t.isPartEnd=this.isPartEnd}}class Y extends g{constructor(t=0,e=!1){super(t,e),this._tempPos=new F,this._tempPt=[0,0],this._tolerance=.03,this._currentPosition=new F}updateTolerance(t){this._tolerance=.03*t}init(t,e,i=!0){return i?(this._patternLength=e.length(),this._partExtPtGap=e.extPtGap,this._partCtrlPtGap=e.ctrlPtGap):(this._patternLength=0,this._partExtPtGap=0,this._partCtrlPtGap=0),this._currentPosition.reset(),this._partSegCount=0,this._pathCursor=t,this._seg=-1,this._setPosAtNextPart()}curPositionIsValid(){return this._currentPosition.isValid()}nextPosition(t,e=0){let i=new F;return!!this._nextPosition(t,i,null,e)&&(i.copyTo(this._currentPosition),!0)}curPointAndAngle(t){t.pt=this._getPoint(this._currentPosition);let[e,i]=this._getAngleCS(this._tempPt,this._currentPosition);t.ca=e,t.sa=i}nextPointAndAngle(t,e,i=0){let s=this._tempPos;if(!this._nextPosition(t,s,null,i))return!1;s.copyTo(this._currentPosition),e.pt=this._getPoint(s);let[n,r]=this._getAngleCS(this._tempPt,s);return e.ca=n,e.sa=r,!0}nextCurve(t){if(0===t)return null;let e=u.z.createEmptyOptimizedCIM("esriGeometryPolyline");e.startPath(),e.nextPath();let i=new F;return this._nextPosition(t,i,e,1)?(i.copyTo(this._currentPosition),e):null}isPathEnd(){return this._currentPosition.isPathEnd}getPathEnd(){return this._currentPosition.segment[1]}getPt(t){return this._pathCursor.seekInPath(t),[this._pathCursor.x,this._pathCursor.y]}getSeg(t){return[this.getPt(t),this.getPt(t+1)]}_nextPosition(t,e,i,s){if(this._currentPosition.isPathEnd)return!1;let n=this._currentPosition.abscissa;for(this._currentPosition.segmentLength>0&&(n/=this._currentPosition.segmentLength),this._currentPosition.copyTo(e);e.abscissa+t*this._partLengthRatio>e.segmentLength+this._tolerance;){if(i){if(0===i.pathSize)if(0===n){let t=e.segment[0];i.pushXY(t[0],t[1])}else i.pushPoint(this.getSegCoord2D(e.segment,n));let t=e.segment[1];i.pushXY(t[0],t[1])}if(n=0,t-=(e.segmentLength-e.abscissa)/this._partLengthRatio,this._partSegCount)e.segment=this._nextSegment(),e.segmentLength=this.getSegLength(e.segment),e.abscissa=0,this._partSegCount--;else{if(!this._setPosAtNextPart())return 0!==s&&(e.segmentLength=this.getSegLength(e.segment),e.isPartEnd=!0,1===s?(e.abscissa=e.segmentLength,e.isPathEnd=!0):e.abscissa=e.segmentLength+t,!0);this._currentPosition.copyTo(e)}}if(e.abscissa+=t*this._partLengthRatio,i){0===i.pathSize&&(0===n?i.pushPoint(e.segment[0]):i.pushPoint(this.getSegCoord2D(e.segment,n)));let t=e.abscissa/e.segmentLength;1===t?i.pushPoint(e.segment[1]):i.pushPoint(this.getSegCoord2D(e.segment,t))}return this._partSegCount||Math.abs(e.abscissa-e.segmentLength)<this._tolerance&&(e.isPathEnd=this._partIsLast,e.isPartEnd=!0),!0}_getPoint(t){let e=t.segmentLength<=0?0:t.abscissa/t.segmentLength;return this.getSegCoord2D(this._currentPosition.segment,e)}_getAngleCS(t,e){let i=e.segmentLength<=0?0:e.abscissa/e.segmentLength;return this.getSegAngleCS(t,this._currentPosition.segment,i)}_setPosAtNextPart(){for(;this._partSegCount;)this._hasNextSegment()&&this._nextSegment(),this._partSegCount--;if(!this._hasNextSegment())return!1;for(this._partLength=0,this._partIsLast=!0,this._partSegCount=0;this._hasNextSegment();)if(this._partLength+=this.getSegLength(this._nextSegment()),this._partSegCount++,this._pathCursor.getControlPointAt(this._getEndPointIndex())){this._partIsLast=!this._hasNextSegment();break}let t=this._partSegCount;for(;t;)this._previousSegment(),--t;this._currentPosition.segment=this._nextSegment(),this._currentPosition.segmentLength=this.getSegLength(this._currentPosition.segment),this._currentPosition.abscissa=0,this._currentPosition.isPathEnd=this._currentPosition.isPartEnd=!1,--this._partSegCount;let e=this._getStartPointIndex();this._ctrlPtBegin=this._pathCursor.getControlPointAt(e);let i=e+this._partSegCount+1;if(i>=this._pathCursor.pathSize&&(i=0),this._ctrlPtEnd=this._pathCursor.getControlPointAt(i),this._patternLength>0){let t=this._ctrlPtBegin?this._partCtrlPtGap:this._partExtPtGap,e=this._ctrlPtEnd?this._partCtrlPtGap:this._partExtPtGap,i=Math.round((this._partLength-(t+e))/this._patternLength);i<=0&&(i=t+e>0?0:1),this._partLengthRatio=this._partLength/(t+e+i*this._patternLength),this._partLengthRatio<.01&&(this._partLengthRatio=1)}else this._partLengthRatio=1;return!0}_hasNextSegment(){return this._seg<this._pathCursor.pathSize-2}_previousSegment(){return this.getSeg(--this._seg)}_nextSegment(){return this.getSeg(++this._seg)}_getStartPointIndex(){return this._seg}_getEndPointIndex(){return this._seg+1}}class D{static{this.instance=null}static local(){return null===D.instance&&(D.instance=new D),D.instance}execute(t,e,i){return new W(t,e,i)}}class W extends d.rx{constructor(t,e,i){super(t,!0,!0),this._firstCurve=null;let s=i.geomUnitsPerPoint;this._walker=new Y,this._walker.updateTolerance(s),this._endings=e.lineDashEnding??"NoConstraint",this._customDashPos=-(e.offsetAlongLine??0)*s,this._offsetAtEnd=(e.customEndingOffset??0)*s;let n=(0,R.FH)(e).dashTemplate;n??=[];let r=(0,R.OI)(n);n=r.hidesLine?[-1]:r.dashTemplate,this._pattern=new N,this._pattern.init(n,!1),this._pattern.scale(s)}processPath(t){if(this._pattern.size()%2==1)return null;if(0===this._pattern.length()){this.iteratePath=!1;let e=(0,m.A)(t);return u.z.fromJSONCIM({paths:[e]})}if(!this.iteratePath){let e=!0;switch(this._endings){case"HalfPattern":case"HalfGap":default:this._pattern.extPtGap=0;break;case"FullPattern":this.isClosed||(this._pattern.extPtGap=.5*this._pattern.firstValue());break;case"FullGap":this.isClosed||(this._pattern.extPtGap=.5*this._pattern.lastValue());break;case"NoConstraint":this.isClosed||(e=!1);break;case"Custom":this.isClosed||(this._pattern.extPtGap=.5*this._offsetAtEnd)}let i=t.pathLength();if(this._pattern.isEmpty()||i<.1*this._pattern.length()||!this._walker.init(t,this._pattern,e)){let e=(0,m.A)(t);return u.z.fromJSONCIM({paths:[e]})}}let e;if(this.iteratePath)e=this._pattern.nextValue();else{let t;switch(this._endings){case"HalfPattern":default:t=.5*this._pattern.firstValue();break;case"HalfGap":t=.5*-this._pattern.lastValue();break;case"FullGap":t=-this._pattern.lastValue();break;case"FullPattern":t=0;break;case"NoConstraint":case"Custom":t=-this._customDashPos}let i=t/this._pattern.length();i-=Math.floor(i),t=i*this._pattern.length(),this._pattern.reset(),e=this._pattern.nextValue();let s=!1;for(;t>=e;)t-=e,e=this._pattern.nextValue(),s=!s;e-=t,s?(this._walker.nextPosition(e),e=this._pattern.nextValue()):this.isClosed&&(this._firstCurve=this._walker.nextCurve(e),e=this._pattern.nextValue(),this._walker.nextPosition(e),e=this._pattern.nextValue())}0===e&&(e=this._pattern.nextValue(),this._walker.nextPosition(e),e=this._pattern.nextValue());let i=this._walker.nextCurve(e);if(i)if(this._walker.isPathEnd()){if(this.iteratePath=!1,this._firstCurve){for(this._firstCurve.nextPath();this._firstCurve.nextPoint();)i.pushXY(this._firstCurve.x,this._firstCurve.y);this._firstCurve=null}}else e=this._pattern.nextValue(),!this._walker.nextPosition(e)||this._walker.isPathEnd()?(this.iteratePath=!1,this._firstCurve&&=(i.pushCursor(this._firstCurve),null)):this.iteratePath=!0;else this.iteratePath=!1,i=this._firstCurve,this._firstCurve=null;return i?.reset(),i}}class U{static{this.instance=null}static local(){return null===U.instance&&(U.instance=new U),U.instance}execute(t,e,i){return new H(t,e,i)}}class H{constructor(t,e,i){this._inputGeometries=t,this._tileKey=i.tileKey,this._maxInflateSize=i.maxInflateSize*i.geomUnitsPerPoint,this._preventClipping=i.preventClipping,this._width=(void 0===e.width?2:e.width)*i.geomUnitsPerPoint,e.method,this._option=e.option??"Accurate"}next(){let t;for(;t=this._inputGeometries.next();){if("esriGeometryEnvelope"===t.geometryType&&this._width>0){let e=t.asJSON();return Math.min(e.xmax-e.xmin,e.ymax-e.ymin)-2*this._width<0?t:u.z.fromJSONCIM({paths:[[[e.xmin+this._width,e.ymin+this._width],[e.xmax-this._width,e.ymin+this._width],[e.xmax-this._width,e.ymax-this._width],[e.xmin+this._width,e.ymax-this._width],[e.xmin+this._width,e.ymin+this._width]],[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]})}if("esriGeometryPolygon"===t.geometryType){if(0===this._width)return t.clone();let{bufferExecute:e}=M.$Z.module,i=!this._preventClipping&&this._tileKey?(0,M.qc)(t,this._maxInflateSize,!0):t.clone();if(!i)continue;let s=e({...i.asJSON(),spatialReference:{wkid:P.A.WebMercator.wkid}},-this._width);if(s)for(let t of s.rings)if(t){i.startPath();for(let e of t.reverse())i.pushXY(e[0],i.yFactor*e[1])}return i}}return null}}var V=i(537);class B{static{this.instance=null}static local(){return null===B.instance&&(B.instance=new B),B.instance}execute(t,e,i){return new q(t,e,i)}}class q{constructor(t,e,i){this._inputGeometries=t,this._medhod=e.method}next(){let t=this._inputGeometries.next(),e=this._medhod;for(;null!=t;){if(t.totalSize>0)switch(e){case"RectangularBox":return J(t);case"ConvexHull":return this._constructConvexHull(t);default:return K(t)}t=this._inputGeometries.next()}return null}_constructConvexHull(t){switch(t.geometryType){case"esriGeometryPolyline":case"esriGeometryPolygon":{let{convexHullExecute:e}=M.lX.module,i=e({...t.asJSON(),spatialReference:{wkid:P.A.WebMercator.wkid}});return i?u.z.fromJSONCIM(i):null}case"esriGeometryEnvelope":return t;default:return null}}}function J(t){let e=(0,V.z8)(t),i={xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3]};return u.z.fromJSONCIM(i)}function K(t){switch(t.geometryType){case"esriGeometryPolyline":{let e=[];for(;t.nextPath();)$(t,e);return u.z.fromJSONCIM({rings:e})}case"esriGeometryPolygon":case"esriGeometryEnvelope":return t;default:return null}}function $(t,e){if(t.seekPathStart(),!t.nextPoint())return;let i=t.x,s=t.y,n=[[i,s]];for(e.push(n);t.nextPoint();)n.push([t.x,t.y]);n.push([i,s])}class Z{static{this.instance=null}static local(){return null===Z.instance&&(Z.instance=new Z),Z.instance}execute(t,e,i){return new j(t,e,i)}}class j extends d.rx{constructor(t,e,i){super(t,!1,!0),this._curveHelper=new g;let s=i.geomUnitsPerPoint;this._length=(void 0===e.length?20:e.length)*s,this._angle=void 0===e.angle?225:e.angle,this._position=void 0===e.position?50:e.position,this._length<0&&(this._length=-this._length),this._position<20&&(this._position=20),this._position>80&&(this._position=80),this._mirror=!1}processPath(t){let e=u.z.createEmptyOptimizedCIM("esriGeometryPolyline");if(this._curveHelper.isEmpty(t))return null;t.seekInPath(0);let i=t.x,s=t.y;t.seekInPath(t.pathSize-1);let n=t.x,r=t.y,a=[n-i,r-s];this._curveHelper.normalize(a);let h=i+(n-i)*this._position/100,l=s+(r-s)*this._position/100,o=Math.cos((90-this._angle)/180*Math.PI),c=Math.sin((90-this._angle)/180*Math.PI);this._mirror&&(c=-c),this._mirror=!this._mirror;let _=[h-this._length/2*o,l-this._length/2*c],p=[h+this._length/2*o,l+this._length/2*c];return e.pushPath([[i,s],_,p,[n,r]]),e}}class Q{static{this.instance=null}static local(){return null===Q.instance&&(Q.instance=new Q),Q.instance}execute(t,e,i){return new tt(t,e,i)}}class tt{constructor(t,e,i){this._inputGeometries=t;let s=i.geomUnitsPerPoint;this._offsetX=void 0===e.offsetX?0:e.offsetX*s,this._offsetY=void 0===e.offsetY?0:e.offsetY*s}next(){let t=this._inputGeometries.next();for(;t;){if(t.totalSize>0)return this._move(t.clone(),this._offsetX,this._offsetY);t=this._inputGeometries.next()}return null}_move(t,e,i){for(;t.nextPath();)for(;t.nextPoint();)t.x+=e,t.y+=i;return t.reset(),t}}var et=i(60408);class it{static{this.instance=null}static local(){return null===it.instance&&(it.instance=new it),it.instance}execute(t,e,i){return new st(t,e,i)}}class st{constructor(t,e,i){let s=i.geomUnitsPerPoint,n=i.maxInflateSize;this._preventClipping=i.preventClipping,this._inputGeometries=t,this._tileKey=i.tileKey,this._curveHelper=new g,this._offset=(e.offset??1)*s,this._method=e.method??"Square",this._maxInflateSize=Math.max(Math.abs(n*s),10),this._offsetFlattenError=.03*s}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._offset)return t.clone();if("esriGeometryEnvelope"===t.geometryType){if("Rounded"===this._method&&this._offset>0){let e=(0,m.A)(t),i=this._curveHelper.offset(e,-this._offset,this._method,4,this._offsetFlattenError);if(i){let e=u.z.createEmptyOptimizedCIM(t.geometryType);return e.pushPath(i),e}return null}let e=t.asJSON();if((0,et.ZC)(e)&&Math.min(e.xmax-e.xmin,e.ymax-e.ymin)+2*this._offset>0)return u.z.fromJSONCIM({xmin:e.xmin-this._offset,xmax:e.xmax+this._offset,ymin:e.ymin-this._offset,ymax:e.ymax+this._offset})}let e=!this._preventClipping&&this._tileKey?(0,M.qc)(t,this._maxInflateSize,!0):t.clone();if(!e)continue;let{simplifyOGCExecute:i}=M.xR.module,{offsetExecute:s}=M.mO.module,{graphicBufferExecuteMany:n}=M.hd.module,r=i({...e.asJSON(),spatialReference:{wkid:P.A.WebMercator.wkid}});if(!r)continue;let a,h=nt(this._method);return"esriGeometryPolygon"===t.geometryType?("square"===h&&(h="bevel"),a=n([r],[this._offset],h,"round")[0]):a=s(r,-this._offset,{joins:h,flattenError:this._offsetFlattenError,miterLimit:4}),a?u.z.fromJSONCIM(a):null}return null}}function nt(t){switch(t){case"Rounded":return"round";case"Bevelled":return"bevel";case"Mitered":return"miter";case"Square":return"square"}}var rt=i(12359);class at{static{this.instance=null}static local(){return null===at.instance&&(at.instance=new at),at.instance}execute(t,e,i){return new ht(t,e,i)}}class ht{constructor(t,e,i){let s=i.geomUnitsPerPoint;this._inputGeometries=t,this._executionContext=i,this._length=(void 0===e.length?w.D.CIMGeometricEffectRadial.length:e.length)*s,this._angle=void 0===e.angle?w.D.CIMGeometricEffectRadial.angle:e.angle*Math.PI/180,this._lx=Math.cos(this._angle)*this._length,this._ly=Math.sin(this._angle)*this._length}next(){let t=this._inputGeometries.next();for(;t;){if("esriGeometryPoint"===t.geometryType||"esriGeometryMultipoint"===t.geometryType){let e=u.z.createEmptyOptimizedCIM("esriGeometryPolyline");return t.nextPath()&&t.nextPoint()&&(this._executionContext.effectOrigin=[t.x,t.y],e.pushPath([[t.x,t.y],[t.x+this._lx,t.y+this._ly]])),e}if("esriGeometryPolygon"===t.geometryType){let e=(0,rt.IK)(t);if(!e)return null;let i=u.z.createEmptyOptimizedCIM("esriGeometryPolyline");return this._executionContext.effectOrigin=[e[0],e[1]],i.pushPath([[e[0],e[1]],[e[0]+this._lx,e[1]+this._ly]]),i}t=this._inputGeometries.next()}return null}}class lt{static{this.instance=null}static local(){return null===lt.instance&&(lt.instance=new lt),lt.instance}execute(t,e,i){return new ot(t,e,i)}}class ot{constructor(t,e,i){this._inputGeometries=t,this._reverse=void 0===e.reverse||e.reverse}next(){let t=this._inputGeometries.next();for(;t;){if(!this._reverse)return t;if("esriGeometryPolyline"===t.geometryType)return ut(t.clone());t=this._inputGeometries.next()}return null}}function ut(t){for(;t.nextPath();)for(let e=0;e<t.pathSize/2;e++){t.seekInPath(e);let i=t.x,s=t.y;t.seekInPath(t.pathSize-e-1);let n=t.x,r=t.y;t.x=i,t.y=s,t.seekInPath(e),t.x=n,t.y=r}return t.reset(),t}class ct{static{this.instance=null}static local(){return null===ct.instance&&(ct.instance=new ct),ct.instance}execute(t,e,i){return new _t(t,e,i)}}class _t{constructor(t,e,i){this._inputGeometries=t,this._rotateAngle=void 0===e.angle?0:e.angle*Math.PI/180}next(){let t=this._inputGeometries.next();for(;t;){if(0===this._rotateAngle||"esriGeometryPoint"===t.geometryType)return t;if(t.totalSize>0){let e=(0,V.z8)(t),i=(e[2]+e[0])/2,s=(e[3]+e[1])/2;return t.reset(),this._rotate(t.clone(),i,s)}t=this._inputGeometries.next()}return null}_rotate(t,e,i){let s=Math.cos(this._rotateAngle),n=Math.sin(this._rotateAngle);for(;t.nextPath();)for(;t.nextPoint();){let r=t.x-e,a=t.y-i;t.x=e+r*s-a*n,t.y=i+r*n+a*s}return t.reset(),t}}class pt{static{this.instance=null}static local(){return null===pt.instance&&(pt.instance=new pt),pt.instance}execute(t,e,i){return new ft(t,e,i)}}class ft{constructor(t,e,i){this._inputGeometries=t,this._xFactor=void 0===e.xScaleFactor?1.15:e.xScaleFactor,this._yFactor=void 0===e.yScaleFactor?1.15:e.yScaleFactor}next(){let t=this._inputGeometries.next();if(t){if(1===this._xFactor&&1===this._yFactor||"esriGeometryPoint"===t.geometryType)return t;if(t.totalSize>0){let e=(0,V.z8)(t),i=(e[2]+e[0])/2,s=(e[3]+e[1])/2;return t.reset(),this._scaleCursor(t.clone(),i,s)}}return null}_scaleCursor(t,e,i){for(;t.nextPath();)for(;t.nextPoint();)t.x=e+(t.x-e)*this._xFactor,t.y=i+(t.y-i)*this._yFactor;return t.reset(),t}}class mt{constructor(){this._polyline=[]}beginPath(t){this._polyline.push([t])}lineTo(t){if(0===this._polyline.length)throw Error("No path started. Call beginPath first.");this._polyline[this._polyline.length-1].push(t)}getPointCount(){return this._polyline.reduce((t,e)=>t+e.length,0)}addSegment(t,e,i){i&&this.beginPath(t),this.lineTo(e)}getXY(t){let e=0;for(let i of this._polyline){if(t<e+i.length)return i[t-e];e+=i.length}return null}getGeometry(){return this._polyline}}class dt{static{this.instance=null}static local(){return null===dt.instance&&(dt.instance=new dt),dt.instance}execute(t,e,i){return new gt(t,e,i)}}class gt extends d.rx{constructor(t,e,i){super(t,!1,!0),this._suppress=void 0!==e.suppress&&e.suppress,this._invert=void 0!==e.invert&&e.invert}processPath(t){if(t.totalSize<=0)return null;if(!this._suppress){let e=u.z.createEmptyOptimizedCIM("esriGeometryPolygon",!1,!1,t.yFactor);for(t.seekPathEnd();t.nextPoint();)e.pushXY(t.x,t.y);return e}let e=[],i=Array(t.pathSize),s=0;for(t.seekPathStart();t.nextPoint();)i[s++]=t.getControlPoint(),e.push([t.x,t.y]);let n=!0,r=!0,a=!1,h=!this._invert;s=0;let l=new mt,o=e[0];for(;s<e.length-1;){let t=e[s+1],u=i[s],c=i[s+1];s++,r&&=(h=u||c?this._invert:!this._invert,!1),h?(l.addSegment(o,t,n),n=!1):a=!0,o=t,c&&(h?(h=!1,n=!0):h=!0)}let c=l.getGeometry();if(0===c.length)return null;if(!a&&e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]){let t=c[c.length-1];return(t[0][0]!==t[t.length-1][0]||t[0][1]!==t[t.length-1][1])&&t.push([t[0][0],t[0][1]]),u.z.fromJSONCIM({paths:c})}let _=c[c.length-1];return l.getPointCount()>1&&"esriGeometryPolygon"===t.geometryType&&_[0][0]===_[_.length-1][0]&&_[0][1]===_[_.length-1][1]&&c.length>1&&(c[c.length-1].push(...c[0]),c.splice(0,1)),u.z.fromJSONCIM({paths:c})}}var xt=i(49186),yt=i(53966),Pt=i(6774);const Mt=()=>yt.A.getLogger("esri.symbols.cim.effects.EffectTaperedPolygon");class bt{static{this.instance=null}static local(){return null===bt.instance&&(bt.instance=new bt),bt.instance}execute(t,e,i){return new Ct(t,e,i)}}class Ct extends d.rx{constructor(t,e,i){super(t,!1,!0),this._slopeS=0,this._slopeC=1,this._lastTangent1=new Pt.bR(NaN,NaN),this._lastWidth=0;let s=i.geomUnitsPerPoint;this._geomUnitsPerPoint=s,this._halfFromWidth=Math.abs(void 0===e.fromWidth?0:e.fromWidth)*s*.5,this._halfToWidth=Math.abs(void 0===e.toWidth?1:e.toWidth)*s*.5,this._originalLength=(void 0===e.length?0:e.length)*s,this._length=0}processPath(t){if(t.totalSize<=0)return null;if(this._halfFromWidth<=0&&this._halfToWidth<=0){let e=u.z.createEmptyOptimizedCIM("esriGeometryPolygon",!1,!1,t.yFactor);for(t.seekPathEnd();t.prevPoint();)e.pushXY(t.x,t.y);for(t.seekPathStart();t.nextPoint();)e.pushXY(t.x,t.y);return e}let e=t.getCurrentPath().asJSON(),{generalizeExecute:i}=M.NS.module,s=i(e,.25*this._geomUnitsPerPoint,{removeDegenerateParts:!0}),n=null==s?null:(0,et.Bi)(s)?s.rings:(0,et.Rg)(s)?s.paths:null;if(!n)return Mt().error(new xt.A("mapview-bad-resource","Unable to process geometry")),null;let{lengthExecute:r}=M.Xs.module,a=r(s);if((0===this._originalLength||this._originalLength>a)&&a>0){this._length=a;let t=(this._halfToWidth-this._halfFromWidth)/this._length;if(Math.abs(t)<1){let e=t*t;this._slopeC=Math.sqrt(1/(1+e)),this._slopeS=Math.sqrt(e/(1+e)),t<0&&(this._slopeS=-this._slopeS)}else this._slopeC=this._slopeS=.7071}else this._length=this._originalLength,this._slopeC=1,this._slopeS=0;let h=[];for(let t of n){let e=new mt,i=new mt,s=0;this._setFromOffset(t.slice(0,2),e,i);for(let n=0,r=3;r<=t.length;++n,++r)s=this._setOffset(t.slice(n,r),s,e,i);this._setToOffset(t.slice(-2),s,e,i);let[n]=e.getGeometry(),[r]=i.getGeometry();h.push([...n,...r.reverse()])}let l={rings:h,spatialReference:{wkid:P.A.WebMercator.wkid}},{simplifyExecute:o}=M.yM.module,c=o(l);return u.z.fromJSONCIM(c)}_setFromOffset([[t,e],[i,s]],n,r){let a=this._halfFromWidth,h=new Pt.bR(i-t,s-e).normalize().scale(a);n.beginPath([t-h.y,e+h.x]),r.beginPath([t+h.y,e-h.x])}_setToOffset([[t,e],[i,s]],n,r,a){let h;h=(n+=Math.sqrt((i-t)**2+(s-e)**2))>=this._length?this._halfToWidth:this._halfFromWidth+(this._halfToWidth-this._halfFromWidth)*n/this._length;let l=new Pt.bR(i-t,s-e).normalize().scale(h);r.lineTo([i-l.y,s+l.x]),a.lineTo([i+l.y,s-l.x])}_setOffset([[t,e],[i,s],[n,r]],a,h,l){let o,u=Math.sqrt((i-t)**2+(s-e)**2);o=a+u>=this._length?this._halfToWidth:this._halfFromWidth+(this._halfToWidth-this._halfFromWidth)*(a+u)/this._length,a+=u;let c=new Pt.bR(i,s),_=new Pt.bR(i-t,s-e).normalize(),p=new Pt.bR(n-i,r-s).normalize(),f=Pt.bR.sub(p,_),m=h.getPointCount(),d=l.getPointCount();_.leftPerpendicular(),p.leftPerpendicular();let g=_.x*p.x+_.y*p.y;if(g>.99){let t=Pt.bR.add(_,p).scale(o/2),e=t.clone().rotate(this._slopeC,this._slopeS);h.lineTo([c.x+e.x,c.y+e.y]);let i=t.rotateReverse(this._slopeC,this._slopeS);l.lineTo([c.x-i.x,c.y-i.y])}else{let i=_.x*p.y-_.y*p.x;if(f.scale(1/i),i<0){f.scale(-o).rotateReverse(this._slopeC,this._slopeS);let t=l.getXY(d-1);t||Mt().error(new xt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));let e=Pt.bR.add(c,f).sub(Pt.bR.fromArray(t));if(_.x*e.y-_.y*e.x>0){let t=_.clone().scale(-o).rotateReverse(this._slopeC,this._slopeS),e=p.clone().scale(-o).rotateReverse(this._slopeC,this._slopeS);l.lineTo([c.x+t.x,c.y+t.y]),l.lineTo([c.x,c.y]),l.lineTo([c.x+e.x,c.y+e.y])}else l.lineTo([c.x+f.x,c.y+f.y])}else{f.scale(o).rotate(this._slopeC,this._slopeS);let t=h.getXY(m-1);t||Mt().error(new xt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));let e=Pt.bR.add(c,f).sub(Pt.bR.fromArray(t));if(_.x*e.y-_.y*e.x>0){let t=_.clone().scale(o).rotate(this._slopeC,this._slopeS),e=p.clone().scale(o).rotate(this._slopeC,this._slopeS);h.lineTo([c.x+t.x,c.y+t.y]),h.lineTo([c.x,c.y]),h.lineTo([c.x+e.x,c.y+e.y])}else h.lineTo([c.x+f.x,c.y+f.y])}let s=Math.acos(g),n=1;if(o>.25){let t=2*Math.acos(1-.25/o);t<s&&(n=Math.round(s/t))}let r=Math.cos(s/n),a=Math.sin(s/n),u=_.clone();if(i<0){u.rotate(this._slopeC,this._slopeS);let i=h.getXY(m-1);i||Mt().error(new xt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));let s=Pt.bR.add(c,u.clone().scale(this._lastWidth)),n=Pt.bR.sub(s,Pt.bR.fromArray(i)),r=_.x*n.y-_.y*n.x;if(!isNaN(this._lastTangent1.x)&&!isNaN(this._lastTangent1.y)&&r>0){let i=new Pt.bR(t,e),s=this._lastTangent1.clone().scale(this._lastWidth);s.rotate(this._slopeC,this._slopeS);let n=_.clone().scale(this._lastWidth);n.rotate(this._slopeC,this._slopeS),h.lineTo([i.x+s.x,i.y+s.y]),h.lineTo([i.x,i.y]),h.lineTo([i.x+n.x,i.y+n.y])}}else{u.scale(-1).rotateReverse(this._slopeC,this._slopeS);let i=l.getXY(d-1);i||Mt().error(new xt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));let s=Pt.bR.add(c,u.clone().scale(this._lastWidth)),n=Pt.bR.sub(s,Pt.bR.fromArray(i)),r=_.x*n.y-_.y*n.x;if(!isNaN(this._lastTangent1.x)&&!isNaN(this._lastTangent1.y)&&r>0){let i=new Pt.bR(t,e),s=this._lastTangent1.clone().scale(-this._lastWidth);s.rotateReverse(this._slopeC,this._slopeS);let n=_.clone().scale(-this._lastWidth);n.rotateReverse(this._slopeC,this._slopeS),l.lineTo([i.x+s.x,i.y+s.y]),l.lineTo([i.x,i.y]),l.lineTo([i.x+n.x,i.y+n.y])}}u.scale(o);for(let t=0;t<=n;t++)i<0?(h.lineTo([c.x+u.x,c.y+u.y]),u.rotateReverse(r,a)):(l.lineTo([c.x+u.x,c.y+u.y]),u.rotate(r,a))}return this._lastTangent1.setCoords(_.x,_.y),this._lastWidth=o,a}}class vt{static{this.instance=null}static local(){return null===vt.instance&&(vt.instance=new vt),vt.instance}execute(t,e,i){return new wt(t,e,i)}}class wt{constructor(t,e,i){this._inputGeometries=t;let s=i.geomUnitsPerPoint;this._height=(void 0===e.amplitude?2:e.amplitude)*s,this._period=(void 0===e.period?3:e.period)*s,this._style=e.waveform??"Sinus",this._height<=0&&(this._height=Math.abs(this._height)),this._period<=0&&(this._period=Math.abs(this._period)),this._pattern=new N,this._pattern.addValue(this._period),this._pattern.addValue(this._period),this._walker=new Y,this._walker.updateTolerance(s)}next(){let t=this._inputGeometries.next();for(;t;){if(0===this._height||0===this._period)return t;let e=this._processGeom(t);if(e)return e;t=this._inputGeometries.next()}return null}_processGeom(t){let e=u.z.createEmptyOptimizedCIM(t.geometryType);for(;t.nextPath();){e.startPath();let i=t.pathLength();if(this._walker.init(t,this._pattern))switch(this._style){case"Sinus":default:this._constructCurve(e,i,!1);break;case"Square":this._constructSquare(e,i);break;case"Triangle":this._constructTriangle(e,i);break;case"Random":this._constructCurve(e,i,!0)}else for(;t.nextPoint();)e.pushXY(t.x,t.y)}return e}_constructCurve(t,e,i){let s=Math.round(e/this._period);0===s&&(s=1);let n=16*s+1,r=e/s,a=this._period/16,h=1/n,l=2*Math.PI*e/r,o=2*Math.PI*Math.random(),u=2*Math.PI*Math.random(),c=2*Math.PI*Math.random(),_=.75-Math.random()/2,p=.75-Math.random()/2,f=new X;this._walker.curPointAndAngle(f),t.pushPoint(f.pt);let m=0;for(;;){if(!this._walker.nextPointAndAngle(a,f)){t.pushPoint(this._walker.getPathEnd());break}{let e,s=m;if(m+=h,i){let t=this._height/2*(1+.3*Math.sin(_*l*s+o));e=t*Math.sin(l*s+u),e+=t*Math.sin(p*l*s+c),e/=2}else e=.5*this._height*Math.sin(.5*l*s);t.pushXY(f.pt[0]-e*f.sa,f.pt[1]+e*f.ca)}}}_constructSquare(t,e){Math.round(e/this._period);let i=!0;for(;;){let e=!1;if(this._walker.curPositionIsValid()){let s=new X;this._walker.curPointAndAngle(s);let n=new X;if(this._walker.nextPointAndAngle(this._period,n)){let r=new X;this._walker.nextPointAndAngle(this._period,r)&&(i?(t.pushPoint(s.pt),i=!1):t.pushPoint(s.pt),t.pushXY(s.pt[0]-this._height/2*s.sa,s.pt[1]+this._height/2*s.ca),t.pushXY(n.pt[0]-this._height/2*n.sa,n.pt[1]+this._height/2*n.ca),t.pushXY(n.pt[0]+this._height/2*n.sa,n.pt[1]-this._height/2*n.ca),t.pushXY(r.pt[0]+this._height/2*r.sa,r.pt[1]-this._height/2*r.ca),e=!0)}}if(!e){t.pushPoint(this._walker.getPathEnd());break}}}_constructTriangle(t,e){Math.round(e/this._period);let i=!0;for(;;){let e=!1;if(this._walker.curPositionIsValid()){let s=new X;this._walker.curPointAndAngle(s);let n=new X;if(this._walker.nextPointAndAngle(this._period/2,n)){let r=new X;this._walker.nextPointAndAngle(this._period,r)&&(this._walker.nextPosition(this._period/2)&&(i?(t.pushPoint(s.pt),i=!1):t.pushPoint(s.pt),t.pushXY(n.pt[0]-this._height/2*n.sa,n.pt[1]+this._height/2*n.ca),t.pushXY(r.pt[0]+this._height/2*r.sa,r.pt[1]-this._height/2*r.ca)),e=!0)}}if(!e){t.pushPoint(this._walker.getPathEnd());break}}}}class St{static{this.instance=null}static local(){return null===St.instance&&(St.instance=new St),St.instance}execute(t,e,i){return new At(t,e,i)}}class At extends d.pC{constructor(t,e,i){super(t),this._geometryWalker=new Y,this._geometryWalker.updateTolerance(i),this._angleToLine=e.angleToLine??!0,this._keepUpright=e.keepUpright??!1,this._offset=(e.offset?e.offset:0)*i,this._originalEndings=e.endings??"WithHalfGap",this._offsetAtEnd=(e.customEndingOffset?e.customEndingOffset:0)*i,this._position=-(e.offsetAlongLine?e.offsetAlongLine:0)*i,this._pattern=new N,this._pattern.init(e.placementTemplate),this._pattern.scale(i),this._endings=this._originalEndings}processPath(t){if(this._pattern.isEmpty())return null;let e;if(this.iteratePath)e=this._pattern.nextValue();else{this._endings="WithFullGap"===this._originalEndings&&this.isClosed?"WithMarkers":this._originalEndings,this._pattern.extPtGap=0;let i,s=!0;switch(this._endings){case"NoConstraint":i=-this._position,i=this._adjustPosition(i),s=!1;break;case"WithHalfGap":default:i=-this._pattern.lastValue()/2;break;case"WithFullGap":i=-this._pattern.lastValue(),this._pattern.extPtGap=this._pattern.lastValue();break;case"WithMarkers":i=0;break;case"Custom":i=-this._position,i=this._adjustPosition(i),this._pattern.extPtGap=.5*this._offsetAtEnd}if(!this._geometryWalker.init(t,this._pattern,s))return null;this._pattern.reset();let n=0;for(;i>n;)i-=n,n=this._pattern.nextValue();n-=i,e=n,this.iteratePath=!0}let i=new X;return!this._geometryWalker.nextPointAndAngle(e,i)||"WithFullGap"===this._endings&&this._geometryWalker.isPathEnd()?(this.iteratePath=!1,null):"WithMarkers"===this._endings&&this._geometryWalker.isPathEnd()&&(this.iteratePath=!1,this.isClosed)?null:(this.internalPlacement.setTranslate(i.pt[0]-this._offset*i.sa,i.pt[1]+this._offset*i.ca),this._angleToLine&&this.internalPlacement.setRotateCS(i.ca,i.sa),this.internalPlacement)}_adjustPosition(t){let e=t/this._pattern.length();return e-=Math.floor(e),e*this._pattern.length()}}class kt{static{this.instance=null}static local(){return null===kt.instance&&(kt.instance=new kt),kt.instance}execute(t,e,i){return new It(t,e,i)}}class It extends d.pC{constructor(t,e,i){super(t,!1,!0),this._curveHelper=new g,this._placePerPart=e.placePerPart??!1,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0===e.offset?0:e.offset*i,this._type=e.extremityPlacement??"Both",this._position=void 0===e.offsetAlongLine?0:e.offsetAlongLine*i,this._beginProcessed=!1}processMultiPath(t){return this._placePerPart?super.processMultiPath(t):this.processPath(t)}processPath(t){let e;switch(this._type){case"Both":default:this._beginProcessed?(e=this._atExtremities(t,this._position,!1),this._beginProcessed=!1,this.iterateMultiPath=!1,this.iteratePath=!1):(e=this._atExtremities(t,this._position,!0),this._beginProcessed=!0,this.iterateMultiPath=!0,this.iteratePath=!0);break;case"JustBegin":e=this._atExtremities(t,this._position,!0);break;case"JustEnd":e=this._atExtremities(t,this._position,!1);case"None":}return e}_atExtremities(t,e,i){if(this._placePerPart||(i?t.seekPath(0):t.seekPath(t.totalSize-1)),i||t.seekPathEnd(),i?t.nextPoint():t.prevPoint()){let s=0,[n,r]=[0,0],[a,h]=[t.x,t.y],l=[0,0];for(;i?t.nextPoint():t.prevPoint();){n=a,r=h,a=t.x,h=t.y;let i=this._curveHelper.getLength(n,r,a,h);if(s+i>e){let t=(e-s)/i,[o,u]=this._curveHelper.getAngleCS(l,n,r,a,h,t),c=this._curveHelper.getCoord2D(n,r,a,h,t);return this.internalPlacement.setTranslate(c[0]-this._offset*u,c[1]+this._offset*o),this._angleToLine&&this.internalPlacement.setRotateCS(-o,-u),this.internalPlacement}s+=i}}return null}}const zt=.001;class Tt{static{this.instance=null}static local(){return null===Tt.instance&&(Tt.instance=new Tt),Tt.instance}execute(t,e,i){return new Et(t,e,i)}}class Et extends d.pC{constructor(t,e,i){super(t),this._segmentIterator=null,this._segCount=0,this._firstSeg=!0,this._seg=null,this._ms=[],this._from=0,this._to=0,this._pt=null,this._walker=new Y,this._walker.updateTolerance(i),this._placePerPart=e.placePerPart??!1,this._angleToLine=e.angleToLine??!1,this._keepUpright=e.keepUpright??!1,this._offset=(e.offset??0)*i,this._interval=e.interval??0,this._interval<=0&&(this._interval=.01),this._skipRate=e.skipMarkerRate??0,this._skipRate<=1&&(this._skipRate=0),this._placeAtExtremities=e.placeAtExtremities??!1}processPath(t){if(!this.iteratePath){let{fromGeometry:e}=M.vZ.module,i=e(t.getCurrentPath().asJSON()).getGeometry(),s=i.getPathStart(0);this._segmentIterator=i.querySegmentIteratorAtVertex(s),this._segCount=i.getSegmentCountPath(0),this._firstSeg=!0,this.iteratePath=!0,this._pt=i.getXY(0).clone()}for(;0===this._ms.length&&this._segmentIterator?.hasNextSegment();){--this._segCount,this._seg=this._segmentIterator.nextSegment(),this._from=this._seg.getStartAttributeAsDbl(2,0),this._to=this._seg.getEndAttributeAsDbl(2,0);let e=!isNaN(this._from),i=!isNaN(this._to);e&&(this._from=Math.round(this._from/zt)*zt,Math.abs(this._from)<zt&&(this._from=0)),i&&(this._to=Math.round(this._to/zt)*zt,Math.abs(this._to)<zt&&(this._to=0));let s=e?Math.floor(this._from/this._interval):0,n=i?Math.floor(this._to/this._interval):0;if(e&&(this._placeAtExtremities||!this._firstSeg||!this._placePerPart&&t.pathIndex>0)&&Math.abs(s*this._interval-this._from)<zt&&(!this._skipRate||s%this._skipRate)&&this._ms.push(this._from),this._firstSeg=!1,e&&i&&!(Math.abs(this._from-this._to)<zt))if(this._from<=this._to){s*this._interval<this._from+zt&&++s,n*this._interval>this._to-zt&&--n;for(let t=s;t<=n;++t)(!this._skipRate||t%this._skipRate)&&this._ms.push(t*this._interval)}else{s*this._interval>this._from-zt&&--s,n*this._interval<this._to+zt&&++n;for(let t=n;t<=s;++t)(!this._skipRate||t%this._skipRate)&&this._ms.push(t*this._interval)}}let e=0;if(0===this._ms.length){if(this.iteratePath=!1,!this._segCount&&this._placeAtExtremities&&!isNaN(this._to)&&(this._placePerPart||t.pathIndex===t.totalSize-1)){let t=Math.floor(this._to/this._interval);Math.abs(t*this._interval-this._to)<zt&&(!this._skipRate||t%this._skipRate)&&(this._ms.push(this._to),e=1)}if(0===this._ms.length)return null}let i=this._ms.pop(),s=isNaN(this._from)||isNaN(this._to)||Math.abs(this._from-this._to)<zt?e:(i-this._from)/(this._to-this._from);this._seg.queryCoord2D(s,this._pt);let{x:n,y:r}=this._seg.getTangent(s).normalize();return this.internalPlacement.setTranslate(this._pt.x-this._offset*r,this._pt.y+this._offset*n),this._angleToLine&&(this._keepUpright&&n<0&&(n=-n,r=-r),this.internalPlacement.setRotateCS(n,r)),this.internalPlacement.setMeasure(i),this.internalPlacement}}class Lt{static{this.instance=null}static local(){return null===Lt.instance&&(Lt.instance=new Lt),Lt.instance}execute(t,e,i){return new Gt(t,e,i)}}class Gt extends d.pC{constructor(t,e,i){super(t),this._walker=new Y,this._walker.updateTolerance(i),this._placePerPart=e.placePerPart??!1,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0===e.offset?0:e.offset*i,this._beginGap=void 0===e.beginPosition?0:e.beginPosition*i,this._endGap=void 0===e.endPosition?0:e.endPosition*i,this._flipFirst=void 0===e.flipFirst||e.flipFirst,this._pattern=new N,this._pattern.init(e.positionArray,!1),this._subPathLen=0,this._totalPathLen=0,this._posCount=this._pattern.size(),this._pathIndexes=[],this._pathLengths=[],this._pathStarts=[],this._posIndex=0,this._positions=[],this._isFirst=!0,this._prevPos=0}processMultiPath(t){return this._placePerPart?super.processMultiPath(t):this.processPath(t)}processPath(t){return this._pattern.isEmpty()?null:this._placePerPart?this._processPathPerPart(t):this._processMultiPart(t)}_processPathPerPart(t){let e;if(this.iteratePath){let t=this._pattern.nextValue()*this._subPathLen,i=this._beginGap+t;e=i-this._prevPos,this._prevPos=i}else{if(this._posCount=this._pattern.size(),this._isFirst=!0,this._prevPos=0,this._subPathLen=t.pathLength()-this._beginGap-this._endGap,this._subPathLen<0)return this.iteratePath=!1,null;if(!this._walker.init(t,this._pattern,!1))return null;this._pattern.reset();let i=this._pattern.nextValue()*this._subPathLen,s=this._beginGap+i;e=s-this._prevPos,this._prevPos=s,this.iteratePath=!0}let i=new X;return this._walker.nextPointAndAngle(e,i,1)?(this._posCount--,0===this._posCount&&(this.iteratePath=!1),this._setPlacement(i)):(this.iteratePath=!1,null)}_processMultiPart(t){if(!this.iteratePath){if(!this._initializeMultiPart(t))return null;this.iteratePath=!0}if(this._posIndex>=this._positions.length)return this.iteratePath=!1,null;let e=this._getPositionAtDistance(t,this._positions[this._posIndex]);if(null==e)return this.iterateMultiPath=!1,this.iteratePath=!1,null;this._posIndex++;let i=this._posIndex<this._positions.length;return this.iterateMultiPath=i,this.iteratePath=i,this._setPlacement(e)}_initializeMultiPart(t){this._pathIndexes.length=0,this._pathLengths.length=0,this._pathStarts.length=0,this._positions.length=0,this._totalPathLen=0,this._posIndex=0,this._isFirst=!0;for(let e=0;e<t.totalSize;e++){if(!t.seekPath(e))continue;let i=t.pathLength();i<=0||(this._pathIndexes.push(e),this._pathStarts.push(this._totalPathLen),this._pathLengths.push(i),this._totalPathLen+=i)}if(this._subPathLen=this._totalPathLen-this._beginGap-this._endGap,this._subPathLen<0||!this._pathIndexes.length)return!1;this._pattern.reset();for(let t=0;t<this._pattern.size();t++)this._positions.push(this._beginGap+this._pattern.nextValue()*this._subPathLen);return this._positions.length>0}_getPositionAtDistance(t,e){let i=Math.max(0,Math.min(e,this._totalPathLen)),s=this._pathIndexes.length-1;for(let t=0;t<this._pathIndexes.length-1;t++)if(i<=this._pathStarts[t]+this._pathLengths[t]){s=t;break}if(!t.seekPath(this._pathIndexes[s])||!this._walker.init(t,this._pattern,!1))return null;let n=new X,r=Math.max(0,Math.min(i-this._pathStarts[s],this._pathLengths[s]));return this._walker.nextPointAndAngle(r,n,1)?n:null}_setPlacement(t){this.internalPlacement.setTranslate(t.pt[0]-this._offset*t.sa,t.pt[1]+this._offset*t.ca);let e,i,s=this._isFirst&&this._flipFirst;return this._angleToLine?(e=t.ca,i=t.sa):(e=1,i=0),s&&(e=-e,i=-i),this.internalPlacement.setRotateCS(e,i),this._isFirst=!1,this.internalPlacement}}var Ot=i(87811),Rt=i(98939);const Nt=1e-6;class Xt{static{this.instance=null}static local(){return null===Xt.instance&&(Xt.instance=new Xt),Xt.instance}execute(t,e,i,s){return new Ft(t,e,i,s)}}class Ft{constructor(t,e,i,s){if(this._xMin=0,this._xMax=0,this._yMin=0,this._yMax=0,this._currentX=0,this._currentY=0,this._accelerationMap=null,this._testInsidePolygon=!1,this._verticalSubdivision=!0,this._stepX=Math.abs(e.stepX??16)*i,this._stepY=Math.abs(e.stepY??16)*i,this._stepX=Math.round(128*this._stepX)/128,this._stepY=Math.round(128*this._stepY)/128,0!==this._stepX&&0!==this._stepY){if(this._gridType=e.gridType??"Fixed","Random"===this._gridType){let t=e.seed??13;this._randomLCG=new Ot.A(1*t),this._randomness=(e.randomness??100)/100,this._gridAngle=0,this._shiftOddRows=!1,this._cosAngle=1,this._sinAngle=0,this._offsetX=0,this._offsetY=0,this._buildRandomValues()}else{if(this._randomness=0,this._gridAngle=e.gridAngle??0,this._shiftOddRows=e.shiftOddRows??!1,this._offsetX=(e.offsetX??0)*i,this._offsetY=(e.offsetY??0)*i,this._cosAngle=Math.cos(this._gridAngle/180*Math.PI),this._sinAngle=-Math.sin(this._gridAngle/180*Math.PI),this._stepX)if(this._offsetX<0)for(;this._offsetX<-.5*this._stepX;)this._offsetX+=this._stepX;else for(;this._offsetX>=.5*this._stepX;)this._offsetX-=this._stepX;if(this._stepY)if(this._offsetY<0)for(;this._offsetY<-.5*this._stepY;)this._offsetY+=this._stepY;else for(;this._offsetY>=.5*this._stepY;)this._offsetY-=this._stepY}if(this._graphicOriginX=0,this._graphicOriginY=0,null!=s){let[t,e,i,n]=s.split("/",4),r=parseFloat(t),a=parseFloat(e),h=parseFloat(i),l=parseFloat(n);this._graphicOriginX=512*-(l*2**r+h),this._graphicOriginY=512*a,this._testInsidePolygon=!0}this._internalPlacement=new Rt.W,this._calculateMinMax(t),this._geometryCursor=t}}next(){return this._geometryCursor?this._nextInside():null}_buildRandomValues(){if(!Ft._randValues){Ft._randValues=[];for(let t=0;t<24;t++)for(let t=0;t<24;t++)Ft._randValues.push(this._randomLCG.getFloat()),Ft._randValues.push(this._randomLCG.getFloat())}}_calculateMinMax(t){let e,i,s,n,r,a,h,l,o,u,c,_,p,f;this._xMin=0,this._xMax=0,this._yMin=0,this._yMax=0,h=l=p=c=Number.MAX_VALUE,o=u=f=_=-Number.MAX_VALUE;let m=1!==this._cosAngle;for(t.reset();t.nextPath();)for(;t.nextPoint();)a=t.x,r=t.y,e=a-this._graphicOriginX-this._offsetX,i=r-this._graphicOriginY-this._offsetY,m?(s=this._cosAngle*e-this._sinAngle*i,n=this._sinAngle*e+this._cosAngle*i):(s=e,n=i),h=Math.min(h,s),o=Math.max(o,s),l=Math.min(l,n),u=Math.max(u,n),c=Math.min(c,r),_=Math.max(_,r),p=Math.min(p,a),f=Math.max(f,a);c=c===Number.MAX_VALUE?-512-this._stepY:c,_=_===-Number.MAX_VALUE?this._stepY:_,p=p===Number.MAX_VALUE?-this._stepX:p,f=f===-Number.MAX_VALUE?512+this._stepX:f;let d=_-c,g=f-p;if(this._verticalSubdivision=d>=g,this._polygonMin=this._verticalSubdivision?c:p,this._testInsidePolygon){let t=0-this._graphicOriginX-this._offsetX-this._stepX,e=512-this._graphicOriginX-this._offsetX+this._stepX,i=-512-this._graphicOriginY-this._offsetY-this._stepY,s=0-this._graphicOriginY-this._offsetY+this._stepY;if(m){let n=[[t,i],[t,s],[e,i],[e,s]];t=i=Number.MAX_VALUE,e=s=-Number.MAX_VALUE;for(let r of n){let n=this._cosAngle*r[0]-this._sinAngle*r[1],a=this._sinAngle*r[0]+this._cosAngle*r[1];t=Math.min(t,n),e=Math.max(e,n),i=Math.min(i,a),s=Math.max(s,a)}}h=h===Number.MAX_VALUE?t:Math.max(h,t),l=l===Number.MAX_VALUE?i:Math.max(l,i),o=o===-Number.MAX_VALUE?e:Math.min(o,e),u=u===-Number.MAX_VALUE?s:Math.min(u,s)}this._xMin=Math.round(h/this._stepX),this._xMax=Math.round(o/this._stepX),this._yMin=Math.round(l/this._stepY),this._yMax=Math.round(u/this._stepY),this._currentX=this._xMax+1,this._currentY=this._yMin-1,this._buildAccelerationMap(t,p,f,c,_)}_buildAccelerationMap(t,e,i,s,n){t.reset();let r=new Map,a=this._verticalSubdivision,h=a?n-s:i-e,l=Math.ceil(h/10);if(l<=1)return;let o,u,c,_,p,f,m,d,g,x,y,P=Math.floor(h/l);for(l++,this._delta=P,a?(g=-512-2*this._stepY,x=2*this._stepY,y=s):(g=-2*this._stepX,x=512+2*this._stepX,y=e);t.nextPath();)if(!(t.pathSize<2)&&t.nextPoint())for(o=t.x,u=t.y;t.nextPoint();o=c,u=_){if(c=t.x,_=t.y,a){if(u===_||u<g&&_<g||u>x&&_>x)continue;p=Math.min(u,_),f=Math.max(u,_)}else{if(o===c||o<g&&c<g||o>x&&c>x)continue;p=Math.min(o,c),f=Math.max(o,c)}for(;p<f;)m=Math.floor((p-y)/P),Yt(m,o,u,c,_,r),p+=P;d=Math.floor((f-y)/P),d>m&&Yt(d,o,u,c,_,r)}this._accelerationMap=r}_nextInside(){for(;;){if(this._currentX>this._xMax){if(this._currentY++,this._currentY>this._yMax)return null;this._currentX=this._xMin,this._shiftOddRows&&this._currentY%2&&this._currentX--}let t=this._currentX*this._stepX+this._offsetX;this._shiftOddRows&&this._currentY%2&&(t+=.5*this._stepX);let e,i,s=this._currentY*this._stepY+this._offsetY;if(this._currentX++,"Random"===this._gridType){let n=(this._currentX%24+24)%24,r=(this._currentY%24+24)%24;e=this._graphicOriginX+t+this._stepX*this._randomness*(.5-Ft._randValues[24*r+n])*2/3,i=this._graphicOriginY+s+this._stepY*this._randomness*(.5-Ft._randValues[24*r+n+1])*2/3}else e=this._graphicOriginX+this._cosAngle*t+this._sinAngle*s,i=this._graphicOriginY-this._sinAngle*t+this._cosAngle*s;if(!this._testInsidePolygon||this._isInsidePolygon(e,i,this._geometryCursor))return this._internalPlacement.setTranslate(e,i),this._internalPlacement}}_isInsidePolygon(t,e,i){if(null==this._accelerationMap)return function(t,e,i){let s,n,r,a,h=0;for(t+=Nt,e+=Nt,i.reset();i.nextPath();)if(i.nextPoint())for(s=i.x,n=i.y;i.nextPoint();s=r,n=a)r=i.x,a=i.y,n>e!=a>e&&((r-s)*(e-n)-(a-n)*(t-s)>0?h++:h--);return 0!==h}(t,e,i);t+=Nt,e+=Nt;let s=this._verticalSubdivision,n=Math.floor(((s?e:t)-this._polygonMin)/this._delta),r=this._accelerationMap.get(n);if(!r)return!1;let a,h,l,o=0;for(let i of r){if(a=i[0],h=i[1],s){if(a[1]>e==h[1]>e)continue;l=(h[0]-a[0])*(e-a[1])-(h[1]-a[1])*(t-a[0])}else{if(a[0]>t==h[0]>t)continue;l=(h[1]-a[1])*(t-a[0])-(h[0]-a[0])*(e-a[1])}l>0?o++:o--}return 0!==o}}function Yt(t,e,i,s,n,r){let a=r.get(t);a||(a=[],r.set(t,a)),a.push([[e,i],[s,n]])}class Dt{static{this.instance=null}static local(){return null===Dt.instance&&(Dt.instance=new Dt),Dt.instance}execute(t,e,i){return new Wt(t,e,i)}}class Wt extends d.pC{constructor(t,e,i){super(t),this._curveHelper=new g,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0===e.offset?0:e.offset*i,this._relativeTo=e.relativeTo??"LineMiddle",this._position=void 0===e.startPointOffset?0:e.startPointOffset*i,this._epsilon=.001*i}processPath(t){let e=this._position;if("SegmentMidpoint"===this._relativeTo){if(this.iteratePath||=!0,t.nextPoint()){let[e,i]=[t.x,t.y],[s,n]=[0,0],r=[0,0];for(;t.nextPoint();){s=t.x,n=t.y;let a=this._curveHelper.getLength(e,i,s,n);if(a<this._epsilon){e=s,i=n;continue}let h=.5+this._position/a,[l,o]=this._curveHelper.getAngleCS(r,e,i,s,n,h),u=this._curveHelper.getCoord2D(e,i,s,n,h);return this.internalPlacement.setTranslate(u[0]-this._offset*o,u[1]+this._offset*l),this._angleToLine&&this.internalPlacement.setRotateCS(l,o),this.internalPlacement}}return this.iteratePath=!1,null}let i="LineEnd"===this._relativeTo;return this.onLine(t,e,i)}onLine(t,e,i){let s,n=!1;switch(this._relativeTo){case"LineMiddle":default:t.seekPathStart(),s=t.pathLength()/2+e;break;case"LineBeginning":s=e;break;case"LineEnd":s=e,n=!0}i?t.seekPathEnd():t.seekPathStart();let r=0;if(i?t.prevPoint():t.nextPoint()){let[e,a]=[t.x,t.y],[h,l]=[0,0],o=[0,0];for(;i?t.prevPoint():t.nextPoint();){h=t.x,l=t.y;let i=this._curveHelper.getLength(e,a,h,l);if(r+i>s){let t=(s-r)/i,[u,c]=this._curveHelper.getAngleCS(o,e,a,h,l,t),_=this._curveHelper.getCoord2D(e,a,h,l,t),p=n?-this._offset:this._offset;return this.internalPlacement.setTranslate(_[0]-p*c,_[1]+p*u),this._angleToLine&&(n?this.internalPlacement.setRotateCS(-u,-c):this.internalPlacement.setRotateCS(u,c)),this.internalPlacement}e=h,a=l,r+=i}}return null}}class Ut{static{this.instance=null}static local(){return null===Ut.instance&&(Ut.instance=new Ut),Ut.instance}execute(t,e,i){return new Ht(t,e,i)}}class Ht extends d.pC{constructor(t,e,i){super(t),this._curveHelper=new g,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0===e.offset?0:e.offset*i,this._endPoints=void 0===e.placeOnEndPoints||e.placeOnEndPoints,this._controlPoints=void 0===e.placeOnControlPoints||e.placeOnControlPoints,this._regularVertices=void 0===e.placeOnRegularVertices||e.placeOnRegularVertices,this._tags=[],this._tagIterator=0}processPath(t){if(this.iteratePath||=(this._preparePath(t),!0),this._tagIterator>=this._tags.length)return this._tags.length=0,this._tagIterator=0,this.iteratePath=!1,null;let e=this._tags[this._tagIterator];this._angleToLine&&this.internalPlacement.setRotate(e[2]);let i=e[0],s=e[1];if(0!==this._offset){let t=Math.cos(e[2]),n=Math.sin(e[2]);i-=this._offset*n,s+=this._offset*t}return this.internalPlacement.setTranslate(i,s),this._tagIterator++,this.internalPlacement}_preparePath(t){this._tags.length=0,this._tagIterator=0,t.seekPathStart();let e=t.isClosed(),i=0,s=!1,n=0,r=0;if(t.seekPathStart(),t.nextPoint()){let a=t.x,h=t.y,l=t.getControlPoint(),o=!0,u=t.nextPoint();for(;u;){let c=t.x,_=t.y,p=t.getControlPoint();(this._angleToLine||0!==this._offset)&&(n=this._curveHelper.getAngle(a,h,c,_,0)),o?(o=!1,e?(i=n,s=l):(this._endPoints||this._controlPoints&&l)&&this._tags.push([a,h,n])):l?this._controlPoints&&this._tags.push([a,h,Vt(r,n)]):this._regularVertices&&this._tags.push([a,h,Vt(r,n)]),(this._angleToLine||0!==this._offset)&&(r=this._curveHelper.getAngle(a,h,c,_,1)),u=t.nextPoint(),u||(e?p||s?this._controlPoints&&this._tags.push([c,_,Vt(r,i)]):this._regularVertices&&this._tags.push([c,_,Vt(r,i)]):(this._endPoints||this._controlPoints&&p)&&this._tags.push([c,_,r])),a=c,h=_,l=p}}this._tagIterator=0}}function Vt(t,e){let i=Math.PI;for(;Math.abs(e-t)>i+2e-15;)e-t>i?e-=2*i:e+=2*i;return(t+e)/2}var Bt=i(78957);class qt{static{this.instance=null}static local(){return null===qt.instance&&(qt.instance=new qt),qt.instance}execute(t,e,i){return new Jt(t,e,i)}}class Jt{constructor(t,e,i){this._geometryCursor=t,this._offsetX=void 0===e.offsetX?0:e.offsetX*i,this._offsetY=void 0===e.offsetY?0:e.offsetY*i,this._method=void 0===e.method?"OnPolygon":e.method,this._placementPerPart=void 0!==e.placePerPart&&e.placePerPart,this._internalPlacement=new Rt.W}next(){let t=this._geometryCursor;if(!t)return null;if(!this._placementPerPart)return this._geometryCursor=null,this._polygonCenter(t);for(;t.nextPath();)if(!(t.getCurrentRingArea()<0))return this._polygonCenter(t.getCurrentPath());return this._geometryCursor=null,null}_polygonCenter(t){let e=!1;switch(this._method){case"CenterOfMass":{let i=(0,rt.TP)(t);i&&(this._internalPlacement.setTranslate(i[0]+this._offsetX,i[1]+this._offsetY),e=!0)}break;case"BoundingBoxCenter":{let i=(0,V.z8)(t);i&&(this._internalPlacement.setTranslate((i[2]+i[0])/2+this._offsetX,(i[3]+i[1])/2+this._offsetY),e=!0)}break;default:{let i=(0,Bt.d)(t);null!==i&&(this._internalPlacement.setTranslate(i[0]+this._offsetX,i[1]+this._offsetY),e=!0)}}return e?this._internalPlacement:null}}var Kt=i(86235),$t=i(14057);class Zt{static{this.instance=null}static local(){return null===Zt.instance&&(Zt.instance=new Zt),Zt.instance}execute(t,e,i){return new jt(t,i)}}class jt{constructor(t,e){this._cursor=t,this._context=e}next(){let t=this._cursor.next();if(!t||0===t.totalSize)return null;if(this._context.callout?.preserveInputGeometry)return t;let{matcher:e,target:i,tileKey:s}=this._context,n=e&&i&&null!=s?e.getMatcherGeometryOverride((0,$t.$)(s,i.getObjectId())):null;if(!n)return t;let r=u.z.fromOptimizedCIM(n.geometry.clone(),n.geometryType);return r.invertY(),r}}class Qt{static{this.instance=null}static local(){return null===Qt.instance&&(Qt.instance=new Qt),Qt.instance}execute(t){return new te(t)}}class te extends d.pC{constructor(t){super(t),this._curveHelper=new g}processPath(t){if(this.iteratePath=!0,t.nextPoint()){let[e,i]=[t.x,t.y];if(t.nextPoint()){let[s,n]=[t.x,t.y],r=(e+s)/2,a=(i+n)/2;this.internalPlacement.setTranslate(r,a);let h=this._curveHelper.getAngle(e,i,s,n,0);return this.internalPlacement.setRotate(h),this.internalPlacement}}return this.iteratePath=!1,null}}function ee(t){if(!t)return null;switch(t.type){case"CIMGeometricEffectAddControlPoints":return p.local();case"CIMGeometricEffectArrow":return x.local();case"CIMGeometricEffectBuffer":return b.local();case"CIMGeometricEffectCircularSector":return k.local();case"CIMGeometricEffectControlMeasureLine":return E.local();case"CIMGeometricEffectCut":return G.local();case"CIMGeometricEffectDashes":return D.local();case"CIMGeometricEffectDonut":return U.local();case"CIMGeometricEffectJog":return Z.local();case"CIMGeometricEffectMove":return Q.local();case"CIMGeometricEffectOffset":return it.local();case"CIMGeometricEffectRadial":return at.local();case"CIMGeometricEffectReverse":return lt.local();case"CIMGeometricEffectRotate":return ct.local();case"CIMGeometricEffectScale":return pt.local();case"CIMGeometricEffectSuppress":return dt.local();case"CIMGeometricEffectTaperedPolygon":return bt.local();case"CIMGeometricEffectWave":return vt.local();case"CIMGeometricEffectEnclosingPolygon":return B.local();case"CIMSimpleLineCallout":return c.local();case"CIMBackgroundCallout":return n.local();case"CIMBalloonCallout":return a.local();case"CIMPointSymbolCallout":return l.local();case"PrivateDimensionEffect":return Kt.HZ.local();case"PrivateMatcherGeometryOverrideEffect":return Zt.local()}return null}function ie(t){if(!t)return null;switch(t.type){case"CIMMarkerPlacementAlongLineSameSize":return St.local();case"CIMMarkerPlacementAtExtremities":return kt.local();case"CIMMarkerPlacementAtMeasuredUnits":return Tt.local();case"CIMMarkerPlacementAtRatioPositions":return Lt.local();case"CIMMarkerPlacementInsidePolygon":return Xt.local();case"CIMMarkerPlacementOnLine":return Dt.local();case"PrivatePlacementMultipoint":return Qt.local();case"CIMMarkerPlacementOnVertices":return Ut.local();case"CIMMarkerPlacementPolygonCenter":return qt.local()}return null}},98939(t,e,i){i.d(e,{W:()=>s});class s{constructor(){this.setIdentity()}getAngle(){return this.rz}setIdentity(){this.tx=0,this.ty=0,this.tz=0,this.s=1,this.rx=0,this.ry=0,this.rz=0,this.rzCos=1,this.rzSin=0}setTranslate(t,e){this.tx=t,this.ty=e}setTranslateZ(t){this.tz=t}setRotateCS(t,e){this.rz=Math.atan2(e,t),this.rzCos=t,this.rzSin=e}setRotate(t){this.rz=t,this.rzCos=Math.cos(t),this.rzSin=Math.sin(t)}setRotateY(t){this.ry=t}setScale(t){this.s=t}setMeasure(t){this.m=t}}},23650(t,e,i){i.d(e,{OverrideHelper:()=>_});var s=i(68197),n=i(85334),r=i(4718),a=i(95466),h=i(55674),l=i(45733),o=i(93397),u=i(37615);const c=t=>{if(!t)return[0,0,0,0];let{r:e,g:i,b:s,a:n}=t;return[e,i,s,255*n]};class _{static findApplicableOverrides(t,e,i){if(t&&e){if(t.primitiveName){let s=!1;for(let e of i)if(e.primitiveName===t.primitiveName){s=!0;break}if(!s)for(let s of e)s.primitiveName===t.primitiveName&&i.push(s)}switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.effects)for(let s of t.effects)_.findApplicableOverrides(s,e,i);if(t.symbolLayers)for(let s of t.symbolLayers)_.findApplicableOverrides(s,e,i);break;case"CIMTextSymbol":break;case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":case"CIMSolidFill":case"CIMPictureFill":case"CIMHatchFill":case"CIMGradientFill":case"CIMVectorMarker":case"CIMCharacterMarker":case"CIMPictureMarker":if(t.effects)for(let s of t.effects)_.findApplicableOverrides(s,e,i);if(t.markerPlacement&&_.findApplicableOverrides(t.markerPlacement,e,i),"CIMVectorMarker"===t.type){if(t.markerGraphics)for(let s of t.markerGraphics)_.findApplicableOverrides(s,e,i),_.findApplicableOverrides(s.symbol,e,i)}else"CIMCharacterMarker"===t.type?_.findApplicableOverrides(t.symbol,e,i):"CIMHatchFill"===t.type?_.findApplicableOverrides(t.lineSymbol,e,i):"CIMPictureMarker"===t.type&&_.findApplicableOverrides(t.animatedSymbolProperties,e,i)}}}static findEffectOverrides(t,e){if(!t)return null;if("CIMGeometricEffectDashes"===t.type&&(0,l.FH)(t),!e||!t.primitiveName)return{type:"cim-effect-param",effect:t,overrides:[]};let i=(0,o.rB)(t),s=t.primitiveName,n=[];for(let t of e)t.primitiveName===s&&n.push((0,o.rB)(t));return{type:"cim-effect-param",effect:i,overrides:(0,o.pk)(n)}}static async resolveSymbolOverrides(t,e,i,s,n,h,l){if(!t?.symbol)return null;let{symbol:u,primitiveOverrides:c}=t,p=!!c;if(!p&&!s)return u;u=(0,r.o8)(u),c=(0,r.o8)(c);let f=!0;if(e||(e={attributes:{}},f=!1),p){if(f||(c=c.filter(t=>!t.valueExpressionInfo?.expression.includes("$feature"))),l||(c=c.filter(t=>!t.valueExpressionInfo?.expression.includes("$view"))),c.length>0){let t=(0,o.O2)(e.attributes),s={spatialReference:i,fields:t,geometryType:n};await _.createRenderExpressions(c,s),_.evaluateOverrides(c,e,n??"esriGeometryPoint",h,l,new a.A(t))}_.applyOverrides(u,c)}return s&&_.applyDictionaryTextOverrides(u,e,s,null),u}static{this._expressionToRenderExpression=new Map}static async createRenderExpressions(t,e){let i=[];for(let s of t){let t=s.valueExpressionInfo;if(!t||_._expressionToRenderExpression.has(t.expression))continue;let n=(0,h.Ad)(t.expression,e.spatialReference);i.push(n),n.then(e=>_._expressionToRenderExpression.set(t.expression,e))}i.length>0&&await Promise.all(i)}static evaluateOverrides(t,e,i,s,r,a){let h={$view:{scale:r?.scale}};for(let r of t){r.value&&"object"==typeof r.value&&(0,n.IB)(r.value)&&("Color"===r.propertyName||"StrokeColor"===r.propertyName)&&(r.value=c(r.value));let t=r.valueExpressionInfo;if(!t)continue;let l=_._expressionToRenderExpression.get(t.expression);l&&(r.value=(0,u.A)(l,e,h,i,a,s),r.value=this.toValue(r.propertyName,r.value))}}static applyDictionaryTextOverrides(t,e,i,s,n="Normal"){if(t?.type)switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":case"CIMTextSymbol":{let r=t.symbolLayers;if(!r)return;for(let a of r)a&&"CIMVectorMarker"===a.type&&_.applyDictionaryTextOverrides(a,e,i,s,"CIMTextSymbol"===t.type?t.textCase:n)}break;case"CIMVectorMarker":{let n=t.markerGraphics;if(!n)return;for(let t of n)t&&_.applyDictionaryTextOverrides(t,e,i,s)}break;case"CIMMarkerGraphic":{let r=t.textString;if(r&&r.includes("[")){let a=(0,o.gQ)(r,i);t.textString=(0,o.FM)(e,a,s,n)}}}}static applyOverrides(t,e,i,s){if(t.primitiveName)for(let n of e)if(n.primitiveName===t.primitiveName){let e=(0,o.YF)(n.propertyName);if(s&&s.push({cim:t,nocapPropertyName:e,value:t[e]}),i){let e=!1;for(let s of i)s.primitiveName===t.primitiveName&&(e=!0);e||i.push(n)}null!=n.value&&(t[e]=n.value)}switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.effects)for(let n of t.effects)_.applyOverrides(n,e,i,s);if(t.symbolLayers)for(let n of t.symbolLayers)_.applyOverrides(n,e,i,s);break;case"CIMTextSymbol":_.applyOverrides(t.symbol,e,i,s);break;case"CIMSolidStroke":case"CIMSolidFill":case"CIMVectorMarker":if(t.effects)for(let n of t.effects)_.applyOverrides(n,e,i,s);if("CIMVectorMarker"===t.type&&t.markerGraphics)for(let n of t.markerGraphics)_.applyOverrides(n,e,i,s),_.applyOverrides(n.symbol,e,i,s)}}static restoreOverrides(t){for(let e of t)e.cim[e.nocapPropertyName]=e.value}static buildOverrideKey(t){let e="";for(let i of t)void 0!==i.value&&(e+=`${i.primitiveName}${i.propertyName}${JSON.stringify(i.value)}`);return e}static toValue(t,e){if(null==e)return null;if("DashTemplate"===t)return e.split(" ").map(t=>Number(t));if("Color"===t||"StrokeColor"===t){let t=new s.A(e).toRgba();return t[3]*=255,t}return e}}},34653(t,e,i){i.d(e,{E0:()=>c,gX:()=>u,gR:()=>o,W:()=>d,ZO:()=>y,IF:()=>x,n_:()=>_,DJ:()=>g,_T:()=>m,Io:()=>b,EE:()=>a,pT:()=>P,Je:()=>M,sz:()=>p,XD:()=>l,QB:()=>h});var s=i(36745);function n(t,e){let i=.5*(t.xmin+t.xmax),s=.5*(t.ymin+t.ymax),n=.5*(t.xmax-t.xmin),r=.5*(t.ymax-t.ymin),a=1/Math.sqrt(e.x*e.x/(n*n)+e.y*e.y/(r*r));return{x:i+e.x*a,y:s+e.y*a}}function r(t,e,i){let s=.5*(t.xmin+t.xmax),n=.5*(t.ymin+t.ymax),r=.5*(t.xmax-t.xmin),a=.5*(t.ymax-t.ymin),h=e.x-s,l=e.y-n,o=i.x-e.x,u=i.y-e.y,c=o*o/(r*r)+u*u/(a*a),_=2*(h*o/(r*r)+l*u/(a*a)),p=h*h/(r*r)+l*l/(a*a)-1,f=Math.max(_*_-4*c*p,0),m=(-_-Math.sqrt(f))/(2*c),d=(-_+Math.sqrt(f))/(2*c),g=m>=0&&m<=1?m:d;return{x:e.x+o*g,y:e.y+u*g}}function a(t,e){let{relativeAnchor:i,relativeLayoutAnchor:s,absoluteAnchor:n,bodyBounds:r}=e??{},a=t.clone();if("esriGeometryPoint"===a.geometryType||"esriGeometryMultipoint"===a.geometryType){if(!a.nextPath()||(a.seekPathStart(),!a.nextPoint()))return null;let t=n??(i?{x:a.x+i.x,y:a.y+i.y}:{x:a.x,y:a.y});return{anchor:t,layoutAnchor:n??(s?{x:a.x+s.x,y:a.y+s.y}:t),bounds:r?h(r,a.x,a.y):{xmin:a.x,ymin:a.y,xmax:a.x,ymax:a.y}}}if(r&&1===a.totalSize&&1===a.totalPoints){if(!a.seekPath(0)||(a.seekPathStart(),!a.nextPoint()))return null;let t=n??(i?{x:a.x+i.x,y:a.y+i.y}:{x:a.x,y:a.y});return{anchor:t,layoutAnchor:n??(s?{x:a.x+s.x,y:a.y+s.y}:t),bounds:h(r,a.x,a.y)}}if(a.totalSize<2)return null;function h(t,e,i){return{xmin:t.xmin+e,ymin:t.ymin+i,xmax:t.xmax+e,ymax:t.ymax+i}}let l=a.totalSize-1,o={xmin:1/0,ymin:1/0,xmax:-1/0,ymax:-1/0};for(let t=0;t<l;t++){if(!a.seekPath(t))return null;for(a.seekPathStart();a.nextPoint();)C(o,a.x,a.y)}return function(t){return Number.isFinite(t.xmin)&&Number.isFinite(t.ymin)&&Number.isFinite(t.xmax)&&Number.isFinite(t.ymax)}(o)&&a.seekPath(l)&&(a.seekPathStart(),a.nextPoint())?{anchor:n??{x:a.x,y:a.y},layoutAnchor:n??{x:a.x,y:a.y},bounds:o}:null}function h(t,e){return{left:(t?.left??0)*e,right:(t?.right??0)*e,top:(t?.top??0)*e,bottom:(t?.bottom??0)*e}}function l(t,e){return{xmin:t.xmin-e.left,ymin:t.ymin-e.bottom,xmax:t.xmax+e.right,ymax:t.ymax+e.top}}function o(t,e){return e.x>=t.xmin&&e.x<=t.xmax&&e.y>=t.ymin&&e.y<=t.ymax}function u(t){return{x:.5*(t.xmin+t.xmax),y:.5*(t.ymin+t.ymax)}}function c(t,e,i=0){let s,n,r=t.xmin-i,a=t.ymin-i,h=t.xmax+i,l=t.ymax+i,o=.5*(r+h),u=.5*(a+l);return s=e.x<r?r:e.x>h?h:e.x<o?Math.abs(e.x-r)<Math.abs(e.x-o)?r:o:Math.abs(e.x-h)<Math.abs(e.x-o)?h:o,n=e.y<a?a:e.y>l?l:e.y<u?Math.abs(e.y-a)<Math.abs(e.y-u)?a:u:Math.abs(e.y-l)<Math.abs(e.y-u)?l:u,{x:s,y:n}}function _(t,e,i,s,n,r,a=1,h=!1,l=t){let o=O(t,e,i??0,n,9*a,h,l);return v(function(t){return t.filter((e,i)=>0===i||e.x!==t[i-1].x||e.y!==t[i-1].y)}(s>0?function(t,e){return function(t,e){let i=e;for(let e=1;e<t.length;e++){let s=t[e-1],n=t[e],r=b(s,n);if(i<r){let a=i/r;return[{x:s.x+a*(n.x-s.x),y:s.y+a*(n.y-s.y)},...t.slice(e)]}i-=r}return[t[t.length-1]]}(t.slice().reverse(),e).reverse()}(o,s):o),r)}function p(t,e,i,s,n=!1,r=t){let a=i??0;return 0!==a||n?f(R(t,e,a,s,r),e,a):c(t,e,s)}function f(t,e,i){let s=N(t.start,t.end);switch(i){case 1:case 2:case 3:return s;case 4:return e.y>s.y?t.end:t.start;case 5:case 6:return b(t.start,e)>b(t.end,e)?t.end:t.start;default:return b(t.start,e)<b(t.end,e)?t.start:t.end}}function m(t,e){return w([{x:t.xmin,y:t.ymin},{x:t.xmin,y:t.ymax},{x:t.xmax,y:t.ymax},{x:t.xmax,y:t.ymin},{x:t.xmin,y:t.ymin}],e)}function d(t,e,i,s,n=null,r=t){let{start:a,end:h}=R(t,e,n??0,i,r);return v([a,h],s)}function g(t,e){let i=s.z.createEmptyOptimizedCIM("esriGeometryPoint",!1,!1,e);return i.startPath(),i.pushXY(t.x,e*t.y),i.reset(),i}function x(t,e,i,s,n,r=null,a=e,h=!0){let l=P(t,i),u=!h||o(l,a)?null:z(l,t,a,e,i,s,r);switch(i){case 1:return function(t,e,i){let s=function(t){let e=M(t,1),i=[{x:t.xmin+e,y:t.ymin}];return E(i,t.xmin+e,t.ymin+e,e,-Math.PI/2,-Math.PI),i.push({x:t.xmin,y:t.ymax-e}),E(i,t.xmin+e,t.ymax-e,e,Math.PI,Math.PI/2),i.push({x:t.xmax-e,y:t.ymax}),E(i,t.xmax-e,t.ymax-e,e,Math.PI/2,0),i.push({x:t.xmax,y:t.ymin+e}),E(i,t.xmax-e,t.ymin+e,e,0,-Math.PI/2),i.push(i[0]),i}(t);return e&&L(s,e),w(s,i)}(l,u,n);case 2:return function(t,e,i){if(!e)return function(t,e){return w(function(t){let e=[];for(let i=0;i<32;i++)e.push(k(t,2*Math.PI*i/32));return e}(t),e)}(t,i);let s=A(t,e.points[0]),n=A(t,e.points[e.points.length-1]),r=I(n-s),a=Math.min(r,2*Math.PI-r),h=r<=Math.PI?e.points.slice():[e.points[e.points.length-1],e.points[1],e.points[0]],l=r<=Math.PI?n:s,o=2*Math.PI-a,u=Math.max(1,Math.ceil(S*o/(2*Math.PI)));for(let e=1;e<u;e++)h.push(k(t,l+o*e/u));return w(h,i)}(l,u,n);default:return function(t,e,i){let s=[{x:t.xmin,y:t.ymin},{x:t.xmin,y:t.ymax},{x:t.xmax,y:t.ymax},{x:t.xmax,y:t.ymin},{x:t.xmin,y:t.ymin}];return e&&L(s,e),w(s,i)}(l,u,n)}}function y(t,e,i,s,n,r=null,a=e){let h=P(t,i),l=o(h,a)?null:z(h,t,a,e,i,s,r);return l?w(l.points,n):null}function P(t,e){if(2!==e)return t;let i=.5*(t.xmin+t.xmax),s=.5*(t.ymin+t.ymax),n=.5*(t.ymax-t.ymin),r=Math.max(.5*(t.xmax-t.xmin)*Math.SQRT2,1.25*n);return{xmin:i-r,ymin:s-n,xmax:i+r,ymax:s+n}}function M(t,e){return 1===e?Math.min(t.xmax-t.xmin,t.ymax-t.ymin)/8:0}function b(t,e){return Math.hypot(e.x-t.x,e.y-t.y)}function C(t,e,i){t.xmin=Math.min(t.xmin,e),t.ymin=Math.min(t.ymin,i),t.xmax=Math.max(t.xmax,e),t.ymax=Math.max(t.ymax,i)}function v(t,e){let i=s.z.createEmptyOptimizedCIM("esriGeometryPolyline",!1,!1,e);i.startPath();for(let s of t)i.pushXY(s.x,e*s.y);return i.reset(),i}function w(t,e){let i=s.z.createEmptyOptimizedCIM("esriGeometryPolygon",!1,!1,e);i.startPath();for(let s of function(t){if(!t.length)return t;let e=t[0],i=t[t.length-1];return e.x===i.x&&e.y===i.y?t:[...t,e]}(t))i.pushXY(s.x,e*s.y);return i.reset(),i}const S=32;function A(t,e){let i=.5*(t.xmin+t.xmax),s=.5*(t.ymin+t.ymax),n=.5*(t.xmax-t.xmin),r=.5*(t.ymax-t.ymin);return I(Math.atan2((e.y-s)/r,(e.x-i)/n))}function k(t,e){let i=.5*(t.xmin+t.xmax),s=.5*(t.ymin+t.ymax),n=.5*(t.xmax-t.xmin),r=.5*(t.ymax-t.ymin);return{x:i+n*Math.cos(e),y:s+r*Math.sin(e)}}function I(t){let e=t%(2*Math.PI);return e<0?e+2*Math.PI:e}function z(t,e,i,s,n,r,a){if(2===n)return T(t,e,i,s,r,a);let h=t.xmax-t.xmin,l=t.ymax-t.ymin,o=t.xmin+h/2,u=t.ymin+l/2,c=-1;if(i.x>=t.xmin&&i.x<=t.xmax?i.y<=t.ymin?c=i.x<=o?7:6:i.y>=t.ymax&&(c=i.x<=o?2:3):c=i.x<t.xmin?i.y<=u?0:1:i.y<=u?5:4,c<0)return null;let _=function(t){let e=t.xmax-t.xmin,i=t.ymax-t.ymin;return[{x:t.xmin,y:t.ymin+i/4},{x:t.xmin,y:t.ymax-i/4},{x:t.xmin+e/4,y:t.ymax},{x:t.xmax-e/4,y:t.ymax},{x:t.xmax,y:t.ymax-i/4},{x:t.xmax,y:t.ymin+i/4},{x:t.xmax-e/4,y:t.ymin},{x:t.xmin+e/4,y:t.ymin}]}(t)[c];if(b(_,i)<r)return null;let p,f,m=M(t,n),d=1===n?h/4-m:h/2,g=1===n?l/4-m:l/2,x=null==a?h/8:Math.min(a/2,Math.max(d,0)),y=null==a?l/8:Math.min(a/2,Math.max(g,0));switch(c){case 0:case 1:p={x:_.x,y:_.y-y},f={x:_.x,y:_.y+y};break;case 2:case 3:p={x:_.x-x,y:_.y},f={x:_.x+x,y:_.y};break;case 4:case 5:p={x:_.x,y:_.y+y},f={x:_.x,y:_.y-y};break;default:p={x:_.x+x,y:_.y},f={x:_.x-x,y:_.y}}return{index:c,points:[p,s,f]}}function T(t,e,i,s,a,h){let l={x:.5*(t.xmin+t.xmax),y:.5*(t.ymin+t.ymax)},o=i.x-l.x,u=i.y-l.y,c=Math.hypot(o,u);if(0===c)return null;let _={x:o/c,y:u/c};if(b(n(t,_),i)<a)return null;let p={x:-_.y,y:_.x},f=b(l,n(t,p)),m=Math.min(e.xmax-e.xmin,e.ymax-e.ymin)/8,d=Math.min(null==h?m:h/2,f),g={x:l.x-p.x*d,y:l.y-p.y*d};return{index:-1,points:[r(t,i,{x:l.x+p.x*d,y:l.y+p.y*d}),s,r(t,i,g)]}}function E(t,e,i,s,n,r){for(let a=1;a<=4;a++){let h=n+(r-n)*a/4;t.push({x:e+s*Math.cos(h),y:i+s*Math.sin(h)})}}function L(t,e){let[i,,s]=e.points;for(let n=0;n<t.length-1;n++)if(G(i,t[n],t[n+1])&&G(s,t[n],t[n+1]))return void t.splice(n+1,0,...e.points)}function G(t,e,i){let s=1e-9,n=(t.x-e.x)*(i.y-e.y)-(t.y-e.y)*(i.x-e.x);return!(Math.abs(n)>s)&&t.x>=Math.min(e.x,i.x)-s&&t.x<=Math.max(e.x,i.x)+s&&t.y>=Math.min(e.y,i.y)-s&&t.y<=Math.max(e.y,i.y)+s}function O(t,e,i,s,n,r,a){if(0===i&&!r)return[c(t,e,s),e];let h=R(t,e,i,s,a),l=f(h,e,i);switch(i){case 1:default:return[l,e];case 2:return[l,X(l,h.onLeft,n),e];case 3:{let t=X(l,h.onLeft,n),i=b(h.start,e)<b(h.end,e)?h.start:h.end;return[l,t,{x:t.x,y:i.y},e]}case 4:return[{x:h.onLeft?t.xmax:t.xmin,y:l.y},l,e];case 5:case 6:return function(t,e,i){let s=b(t,e);if(0===s)return[t];let n=.75*s,r=N(t,e),a=Math.sqrt(n*n-.25*s*s),h=-(e.y-t.y)/s,l=(e.x-t.x)/s,o=i?-1:1,u=r.x+o*a*h,c=r.y+o*a*l,_=Math.atan2(t.y-c,t.x-u),p=Math.atan2(e.y-c,e.x-u)-_;i&&p>0?p-=2*Math.PI:!i&&p<0&&(p+=2*Math.PI);let f=[t];for(let t=1;t<=12;t++){let e=_+p*t/12;f.push({x:u+n*Math.cos(e),y:c+n*Math.sin(e)})}return f[12]=e,f}(l,e,5===i)}}function R(t,e,i,s,n){let r=e.x<=.5*(n.xmin+n.xmax);3===i&&(r=!r);let a=r?t.xmin-s:t.xmax+s;return{start:{x:a,y:t.ymin},end:{x:a,y:t.ymax},onLeft:r}}function N(t,e){return{x:.5*(t.x+e.x),y:.5*(t.y+e.y)}}function X(t,e,i){return{x:t.x+(e?-i:i),y:t.y}}},35521(t,e,i){var s=i(28076);s.D.CIMSolidStroke.capstyle,s.D.CIMSolidStroke.joinstyle,s.D.CIMSolidStroke.miterlimit},75585(t,e,i){function s(t){let e="normal",i="normal";if(t){let s=t.toLowerCase();s.includes("italic")?e="italic":s.includes("oblique")&&(e="oblique"),s.includes("bold")?i="bold":s.includes("light")&&(i="lighter")}return{style:e,weight:i}}i.d(e,{_:()=>s})},69754(t,e,i){i.d(e,{Z:()=>o,q:()=>l});var s=i(68197),n=i(75585);const r=/([A-Za-z_][\w-]*)\s*=\s*(['"])(.*?)\2/g,a=/&(amp|lt|gt|quot|apos);/g,h=/<\s*\/?\s*(?:CLR|BOL|_BOL|ITA|_ITA|UND|_UND|FNT|CHR)\b/i;function l(t){return h.test(t)}function o(t){if(!t.supportsRichText||!t.textString.includes("<"))return null;let e=function(t){return{font:{...t.font},fontSize:t.symbol?.height&&!isNaN(t.symbol.height)?t.symbol.height:10,characterSpacing:0}}(t),i=[],s=[],n=u(e),r="",a=!1,h=t.textString,l=()=>{if(!r)return;let t=c(r);if(!t)return void(r="");let e=s[s.length-1];e&&function(t,e){return t.fontSize===e.fontSize&&t.characterSpacing===e.characterSpacing&&t.font.family===e.font.family&&t.font.style===e.font.style&&t.font.weight===e.font.weight&&t.font.decoration===e.font.decoration&&function(t,e){return t===e||!!t&&!!e&&t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}(t.color,e.color)}(e,n)?e.text+=t:s.push({text:t,font:{...n.font},fontSize:n.fontSize,characterSpacing:n.characterSpacing,color:n.color}),r=""},o=0;for(;o<h.length;){let t=h[o];if("<"!==t){r+=t,o++;continue}let e=h.indexOf(">",o+1);if(-1===e)return null;let s=_(h.slice(o+1,e));if(!s)return null;if(a=!0,l(),s.isEnd){let t=i.pop();if(!t||t.name!==s.name)return null;n=t.previous}else{let t=u(n);n=p(n,s),i.push({name:s.name,previous:t})}o=e+1}return i.length?null:(l(),a?s.filter(t=>t.text.length>0):null)}function u(t){return{font:{...t.font},fontSize:t.fontSize,characterSpacing:t.characterSpacing,color:t.color}}function c(t){return t.replaceAll(a,(t,e)=>{switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';case"apos":return"'";default:return t}})}function _(t){let e=t.trim();if(!e)return null;let i=e.startsWith("/"),s=i?e.slice(1).trim():e,n=/^([A-Za-z_][\w-]*)/.exec(s);if(!n)return null;let a,h=n[1],l=s.slice(h.length),o={};for(r.lastIndex=0;a=r.exec(l);)o[a[1]]=a[3];return{isEnd:i,name:h,attributes:o}}function p(t,e){let i=u(t);switch(e.name.toUpperCase()){case"BOL":i.font.weight="bold";break;case"_BOL":i.font.weight="normal";break;case"ITA":i.font.style="italic";break;case"_ITA":i.font.style="normal";break;case"UND":i.font.decoration="underline";break;case"_UND":i.font.decoration="none";break;case"FNT":!function(t,e){let{name:i,style:s,size:r,scale:a,wght:h,ital:l}=e;if(i&&(t.font.family=i),s){let e=(0,n._)(s);t.font.style=e.style,t.font.weight=e.weight}if(h){let e=Number(h);t.font.weight=e>=600?"bold":"normal"}if(l){let e=Number(l);isNaN(e)||(t.font.style=0===e?"normal":"italic")}if(r){let e=Number(r);!isNaN(e)&&e>0&&(t.fontSize=e)}if(a){let e=Number(a);!isNaN(e)&&e>0&&(t.fontSize*=e/100)}}(i,e.attributes);break;case"CLR":i.color=function(t){if(t.hex){let e=s.A.fromHex(t.hex)?.toArray();if(e){let i="alpha"in t?d(t.alpha):e[3];return[e[0],e[1],e[2],i]}}if("red"in t||"green"in t||"blue"in t)return[f(t.red),f(t.green),f(t.blue),d(t.alpha)];let e=m(t.cyan),i=m(t.magenta),n=m(t.yellow),r=m(t.black),a=d(t.alpha),h=m(t.tint,100)/100,l=1-r;return[Math.round(255*(1-e)*l*h),Math.round(255*(1-i)*l*h),Math.round(255*(1-n)*l*h),a]}(e.attributes);break;case"CHR":!function(t,e){let i=Number(e.spacing);!isNaN(i)&&i>=0&&(t.characterSpacing=i/100)}(i,e.attributes)}return i}function f(t){let e=Number(t);return function(t){return Math.max(0,Math.min(255,Math.round(t)))}(isNaN(e)?0:e)}function m(t,e=0){let i=Number(t);return function(t){return Math.max(0,Math.min(1,t))}((isNaN(i)?e:i)/100)}function d(t){return Math.round(255*m(t,100))}},37615(t,e,i){i.d(e,{A:()=>a});var s=i(49186),n=i(53966),r=i(62577);function a(t,e,i,s,r,a){if(null==t)return null;let h=t.references("geometry")&&a?l(e,s,a):e,o=t.repurposeFeature(h,r);try{return t.evaluate(o,i)}catch(t){return n.A.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:",t),null}}const h=new Map;function l(t,e,i){let{transform:a,hasZ:l,hasM:o}=i;h.has(e)||h.set(e,function(t){let e={};switch(t){case"esriGeometryPoint":return(t,i,s,n)=>(0,r.Tr)(i,e,t,s,n);case"esriGeometryPolygon":return(t,i,s,n)=>(0,r.$X)(i,e,t,s,n);case"esriGeometryPolyline":return(t,i,s,n)=>(0,r.P5)(i,e,t,s,n);case"esriGeometryMultipoint":return(t,i,s,n)=>(0,r.SW)(i,e,t,s,n);default:return n.A.getLogger("esri.views.2d.support.arcadeOnDemand").error(new s.A("mapview-arcade",`Unable to handle geometryType: ${t}`)),t=>t}}(e));let u=h.get(e)(t.geometry,a,l,o);return{...t,geometry:u}}},18989(t,e,i){i.d(e,{A:()=>s});class s{constructor(t=0,e=0,i=0,s=0){this.x=t,this.y=e,this.width=i,this.height=s}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}},63933(t,e,i){function s(t){if(!t)return 0;switch(t){case"Left":case"left":return-1;case"Right":case"right":return 1;case"justify":case"Justify":return 2;case"Center":case"center":return 0}}function n(t){if(!t)return 0;switch(t){case"Top":case"top":return 1;case"Center":case"middle":return 0;case"Baseline":case"baseline":return 2;case"Bottom":case"bottom":return-1}}function r(t){switch(t){case 1:case"right":return-1;case 2:case"justify":return 1;case 0:case"center":return 0;case-1:case"left":return 1;default:return console.debug(`Found invalid horizontal alignment ${t}`),0}}function a(t){switch(t){case 1:case"top":return 1;case 0:case"middle":return 0;case-1:case 2:case"baseline":case"bottom":return-1;default:return console.debug(`Found invalid vertical alignment ${t}`),0}}i.d(e,{Dy:()=>a,UD:()=>n,iT:()=>r,xy:()=>s})},15660(t,e,i){i.d(e,{A:()=>n});var s=i(88340);class n{constructor(t,e,i,n){this.transformedX=0,this.transformedY=0,this.center=(0,s.fA)(t,e),this.centerT=(0,s.vt)(),this.halfWidth=i/2,this.halfHeight=n/2,this.width=i,this.height=n}get x(){return this.center[0]}get y(){return this.center[1]}get blX(){return this.center[0]+this.halfWidth}get blY(){return this.center[1]+this.halfHeight}get trX(){return this.center[0]-this.halfWidth}get trY(){return this.center[1]-this.halfHeight}get xmin(){return this.x-this.halfWidth}get xmax(){return this.x+this.halfWidth}get ymin(){return this.y-this.halfHeight}get ymax(){return this.y+this.halfHeight}set x(t){this.center[0]=t}set y(t){this.center[1]=t}clone(){return new n(this.x,this.y,this.width,this.height)}serialize(t){return t.writeF32(this.center[0]),t.writeF32(this.center[1]),t.push(this.width),t.push(this.height),t}findCollisionDelta(t,e=4){let i=Math.abs(t.centerT[0]-this.centerT[0]),s=Math.abs(t.centerT[1]-this.centerT[1]),n=(t.halfWidth+this.halfWidth+e)/i,r=(t.halfHeight+this.halfHeight+e)/s;return Math.log2(Math.min(n,r))}extend(t){let e=Math.min(this.xmin,t.xmin),i=Math.min(this.ymin,t.ymin),s=Math.max(this.xmax,t.xmax)-e,n=Math.max(this.ymax,t.ymax)-i,r=e+s/2,a=i+n/2;this.width=s,this.height=n,this.halfWidth=s/2,this.halfHeight=n/2,this.x=r,this.y=a}static deserialize(t){let e=t.readF32(),i=t.readF32(),s=t.readInt32(),r=t.readInt32();return new n(e,i,s,r)}}},75434(t,e,i){i.d(e,{HB:()=>v,tA:()=>C});var s=i(90629),n=i(16905),r=i(85560),a=i(37585),h=i(88340),l=i(63933),o=i(18989),u=i(15660);const c=Math.PI/180;class _{static fromGlyph(t,e,i,s,n){let{mosaicItem:r,rect:a,shaping:h,code:l}=i,o=r.rect;return new _({width:0===l?a.width:o.width*s,height:0===l?a.height:o.height*s,x:s*(t+h.xOffset+a.left),y:s*(e+h.yOffset-a.top),textureKey:r.textureKey,texcoords:{topLeft:[o.x,o.y],topRight:[o.x+o.width,o.y],bottomLeft:[o.x,o.y+o.height],bottomRight:[o.x+o.width,o.y+o.height]},fontSize:n?.fontSize,color:n?.color})}constructor(t){this._rotationT=(0,r.vt)(),this._transform=(0,r.vt)(),this._angle=0,this._bounds=null,this.width=t.width,this.height=t.height,this.x=t.x,this.y=t.y,this.textureKey=t.textureKey,this.texcoords=t.texcoords,this.fontSize=t.fontSize,this.color=t.color}set angle(t){this._angle=t,(0,n.$0)(this._rotationT,-t),this._offsets=this._bounds=null}get angle(){return this._angle}get offsets(){if(!this._offsets){let{x:t,y:e,width:i,height:s}=this,h=(0,n.$0)((0,r.vt)(),-this.angle),l=(0,n.lw)((0,r.vt)(),h,this._transform);this._offsets={topLeft:(0,a.l0)([0,0],[t,e],l),topRight:(0,a.l0)([0,0],[t+i,e],l),bottomLeft:(0,a.l0)([0,0],[t,e+s],l),bottomRight:(0,a.l0)([0,0],[t+i,e+s],l)}}return this._offsets}get bounds(){if(this.width<=0)return null;if(!this._bounds){let t=this.offsets,e=1/0,i=1/0,s=-1/0,n=-1/0;for(let[r,a]of[t.topLeft,t.topRight,t.bottomLeft,t.bottomRight])e=Math.min(e,r),i=Math.min(i,a),s=Math.max(s,r),n=Math.max(n,a);let r=s-e,a=n-i,h=e+r/2,l=i+a/2;this._bounds=new u.A(h,l,r,a)}return this._bounds}setTransform(t){this._transform=t,this._offsets=null}}const p=(t,e)=>({code:0,mosaicItem:{rect:new o.A(0,0,11,8),sdf:!0,page:0,textureKey:e},rect:{height:4,width:t,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0}});function f(t){return"underline"===t?(0,s.Lz)(2):0}function m(t,e,i,s,n){switch(t){case"underline":return(i??n?.baseline??22)+4+f(t)/e;case"line-through":return s??n?.midline??16;default:return 0}}function d(t,e){return t.forEach(t=>(0,a.l0)(t,t,e)),{topLeft:t[0],topRight:t[1],bottomLeft:t[2],bottomRight:t[3]}}class g{constructor(t,e,i,s){this._rotation=0,this._decorate(t,e,i,s),this.glyphs=t,this.bounds=this._createBounds(t),this.isMultiline=e.length>1,this._hasRotation=0!==i.angle,this._transform=this._createGlyphTransform(this.bounds,i),this._borderLineSizePx=i.borderLineSizePx,(i.borderLineSizePx||i.hasBackground)&&([this.bounds,this.textBox]=this.shapeBackground(this._transform));for(let e of t)e.setTransform(this._transform)}setRotation(t){if(0===t&&0===this._rotation)return;this._rotation=t;let e=this._transform,i=(0,n.$0)((0,r.vt)(),t);(0,n.lw)(e,i,e);for(let t of this.glyphs)t.setTransform(this._transform)}_decorate(t,e,i,s){if(!i.decoration||"none"===i.decoration||!t.length)return;let n=i.scale,r=t[0].textureKey;for(let a of e){let e=a.scale??n,h=m(i.decoration,e,a.baseline,a.midline,s),l=a.startX*e,o=a.startY*e,u=(a.width+a.glyphWidthEnd)*e;t.push(_.fromGlyph(l,o+h*e,p(u,r),1))}}shapeBackground(t){let e=(1.5+(this._borderLineSizePx||0))/2,i=this._borderLineSizePx?e:0,{xmin:s,ymin:n,xmax:r,ymax:a,x:h,y:l,width:o,height:c}=this.bounds,_=[s-8,n-8],p=[r+8,n-8],f=[s-8,a+8],m=[r+8,a+8],g=d([[_[0]-e,_[1]-e],[p[0]+e,p[1]-e],[_[0]+i,_[1]+i],[p[0]-i,p[1]+i]],t),x=d([[f[0]+i,f[1]-i],[m[0]-i,m[1]-i],[f[0]-e,f[1]+e],[m[0]+e,m[1]+e]],t),y=d([[_[0]-e,_[1]-e],[_[0]+i,_[1]+i],[f[0]-e,f[1]+e],[f[0]+i,f[1]-i]],t),P=d([[p[0]-i,p[1]+i],[p[0]+e,p[1]-e],[m[0]-i,m[1]-i],[m[0]+e,m[1]+e]],t),M={main:d([_,p,f,m],t),top:g,bot:x,left:y,right:P};return[new u.A(h,l,o+2*e,c+2*e),M]}get boundsT(){let t=this.bounds,e=(0,a.hZ)((0,h.vt)(),t.x,t.y);if((0,a.l0)(e,e,this._transform),this._hasRotation){let i=Math.max(t.width,t.height);return new u.A(e[0],e[1],i,i)}return new u.A(e[0],e[1],t.width,t.height)}_createBounds(t){let e=1/0,i=1/0,s=0,n=0;for(let r of t)e=Math.min(e,r.offsets.topLeft[0]),i=Math.min(i,r.offsets.topLeft[1]),s=Math.max(s,r.offsets.bottomRight[0]),n=Math.max(n,r.offsets.bottomRight[1]);let r=s-e,a=n-i,h=e+r/2,l=i+a/2;return new u.A(h,l,r,a)}_createGlyphTransform(t,e){let i=c*e.angle,s=(0,r.vt)(),l=(0,h.vt)();return(0,n.Tl)(s,s,(0,a.hZ)(l,e.xOffset,-e.yOffset)),e.useCIMAngleBehavior?(0,n.e$)(s,s,i):((0,n.Tl)(s,s,(0,a.hZ)(l,t.x,t.y)),(0,n.e$)(s,s,i),(0,n.Tl)(s,s,(0,a.hZ)(l,-t.x,-t.y))),s}}class x{constructor(t,e,i,s,n,r){this.glyphWidthEnd=0,this.startX=0,this.startY=0,this.start=Math.max(0,Math.min(e,i)),this.end=Math.max(0,Math.max(e,i)),this.end<t.length&&(this.glyphWidthEnd=t[this.end].rect.width),this.width=s,this.yMin=n,this.yMax=r}}const y=t=>10===t,P=t=>32===t;function M(t,e,i){let s=[],n=1/i.scale,r=i.maxLineWidth*n,a=t.length,h=0,l=0,o=0,u=h,c=u,_=0,p=1/0,f=0;for(;h!==a;){let{code:e,rect:i,shaping:n}=t[h],a=Math.abs(i.top);if(!y(e)&&!P(e)&&(p=Math.min(p,a),f=Math.max(f,a+i.height)),y(e))0!==h&&(s.push(new x(t,u,h-1,l,p===1/0?0:p,f)),p=1/0,f=0),l=0,u=h+1,c=h+1,o=0;else if(P(e))c=h+1,o=0,_=n.xAdvance,l+=n.xAdvance;else if(l>r){if(c!==u){let e=c-2;l-=_,s.push(new x(t,u,e,l-o,p,f)),p=1/0,f=0,u=c,l=o}else s.push(new x(t,u,h-1,l,p,f)),p=1/0,f=0,u=h,c=h,l=0;l+=n.xAdvance,o+=n.xAdvance}else l+=n.xAdvance,o+=n.xAdvance;h+=1}let m=new x(t,u,h-1,l,p,f);return m.start>=0&&m.end<t.length&&s.push(m),s}function b(t,e,i){let s=0;for(let n=e;n<i;n++)P(t[n].code)&&!y(t[n+1].code)&&s++;return s}function C(t,e){return"glyphs"===t.type?function(t,e){let i=e.scale,s=[],n=t.sdfPadding,{faceInfo:r,glyphs:a,isRightToLeft:h}=t,o="justify"===e.horizontalAlignment||"Justify"===e.horizontalAlignment,u=M(a,0,e),c=u.length?function(t,e){let i=0;for(let e=0;e<t.length;e++){let{width:s}=t[e];i=Math.max(s,i)}let s="underline"===e.decoration?4:0,n=t[0].yMin;return{x:0,y:n,height:t[t.length-1].yMax+e.lineHeight*(t.length-1)+s-n,width:i}}(u,e):{y:0,height:0,width:0},p=o?h?1:-1:(0,l.xy)(e.horizontalAlignment),f=(0,l.UD)(e.verticalAlignment),m=+(2===f),d=m?0:f-1,x=r?.baseline??22,C=u.length>1,v=m?C?-c.y-c.height:-x:-c.y+d*(c.height/2);for(let r=0;r<u.length;r++){let{start:h,end:l,width:f}=u[r],m=o&&r<u.length-1?b(a,h,l):0,d=m>0?(c.width-f)/m:0,g=-1*(p+1)*((d>0?c.width:f)/2)-n,x=(t.isRightToLeft?u.length-1-r:r)*e.lineHeight+v-n;u[r].startX=g,u[r].startY=x;for(let t=h;t<=l;t++){let e=a[t];if(y(e.code))continue;let n=_.fromGlyph(g,x,e,i);g+=e.shaping.xAdvance,d>0&&P(e.code)&&(g+=d),s.push(n)}}return new g(s,u,e,r)}(t,e):function(t,e){let i=w(t,e),s=function(t,e){let i=[],s=e.maxLineWidth,n=0,r=0,a=0,h=0,l=0,o=0;for(;n<t.length;){let e=t[n],{glyph:u}=e;if(y(u.code))0!==n&&i.push({width:r,start:h,end:n-1,glyphWidthEnd:t[n-1]?.glyph.rect.width*t[n-1]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1}),r=0,h=n+1,l=h,a=0,o=0;else if(P(u.code))l=n+1,a=0,o=e.xAdvance,r+=e.xAdvance;else if(r>s){if(l!==h){let e=l-2;r-=o,i.push({width:r-a,start:h,end:e,glyphWidthEnd:t[e]?.glyph.rect.width*t[e]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1}),h=l,r=a}else i.push({width:r,start:h,end:n-1,glyphWidthEnd:t[n-1]?.glyph.rect.width*t[n-1]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1}),h=n,l=n,r=0;r+=e.xAdvance,a+=e.xAdvance}else r+=e.xAdvance,a+=e.xAdvance;n++}if(h<t.length){let e=t.length-1;i.push({width:r,start:h,end:e,glyphWidthEnd:t[e]?.glyph.rect.width*t[e]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1})}return function(t,e){for(let i=0;i<e.length;i++){let s=e[i],n=0,r=1/0,a=0,h=0;for(let e=s.start;e<=s.end;e++){let i=t[e];"underline"===i.decoration&&(h=Math.max(h,i.underlineOffset)),y(i.glyph.code)||P(i.glyph.code)||(n=Math.max(n,i.baseline),a=Math.max(a,i.lineHeight))}let l=1/0,o=-1/0;for(let e=s.start;e<=s.end;e++){let i=t[e];y(i.glyph.code)||P(i.glyph.code)||(l=Math.min(l,n-i.baseline+i.top),o=Math.max(o,n-i.baseline+i.bottom),r=Math.min(r,n-i.baseline+i.midline))}h>0&&(o=Math.max(o,n+h)),s.baseline=n,s.midline=r===1/0?n:r,s.lineHeight=Math.max(a,o),s.yMin=l===1/0?0:l,s.yMax=o===-1/0?0:o,s.startY=i>0?e[i-1].startY+e[i-1].lineHeight:0}return e}(t,i)}(i,e),n=s.length?function(t){let e=0;for(let i of t)e=Math.max(i.width+i.glyphWidthEnd,e);let i=t[0].yMin;return{x:0,y:i,height:S(t[t.length-1])-i,width:e}}(s):{width:0},r=[],a="underline"===e.decoration?"none":e.decoration,h="justify"===e.horizontalAlignment||"Justify"===e.horizontalAlignment,o=h?-1:(0,l.xy)(e.horizontalAlignment),u=(0,l.UD)(e.verticalAlignment),c=2===u,p=s.length?s[0].yMin:0,f=s.length?S(s[s.length-1]):0,m=f-p,d=c?s.length>1?-f:-(s[0]?.baseline??0):1===u?-p:-1===u?-f:-(p+m/2);for(let t=0;t<s.length;t++){let e=s[t],a=h&&t<s.length-1?A(i,e.start,e.end):0,l=a>0?(n.width-e.width)/a:0,u=-1*(o+1)*((l>0?n.width:e.width)/2),c=e.startY+d,p=null;e.startX=u,e.startY=c;for(let t=e.start;t<=e.end;t++){let s=i[t],{glyph:n,scale:a,fontSize:h}=s,o=u;if(y(n.code)){p=k(r,p,c,e.baseline);continue}"underline"===s.decoration?(p&&p.underlineOffset!==s.underlineOffset||p&&!I(p.color,s.color))&&(p=k(r,p,c,e.baseline)):p=k(r,p,c,e.baseline);let f=c+e.baseline-s.baseline;r.push(_.fromGlyph(u/a,f/a,n,a,{fontSize:h,color:s.color})),u+=s.xAdvance,"underline"===s.decoration&&(p??={startX:o,endX:u,glyphWidthEnd:n.rect.width*a,textureKey:n.mosaicItem.textureKey,underlineOffset:s.underlineOffset,color:s.color},p.endX=u,p.glyphWidthEnd=n.rect.width*a,p.textureKey=p.textureKey??n.mosaicItem.textureKey),l>0&&P(n.code)&&(u+=l,p&&(p.endX=u))}k(r,p,c,e.baseline)}return new g(r,s,{...e,decoration:a})}(t,e)}function v(t,e){return"glyphs"===t.type?function(t,e){let i=e.scale,{faceInfo:s,glyphs:n}=t,r=n.reduce((t,e)=>Math.max(t,e.rect.height),0),a=n.filter(t=>!y(t.code)&&t.mosaicItem.textureKey).map(t=>_.fromGlyph(-t.rect.width/2,-r,t,i));return new g(a,[],e,s)}(t,e):function(t,e){let i=w(t,e),s=i.reduce((t,e)=>Math.max(t,e.glyph.rect.height*e.scale),0),n=i.filter(t=>!y(t.glyph.code)&&t.glyph.mosaicItem.textureKey).map(t=>_.fromGlyph(-t.glyph.rect.width/2,-s/t.scale,t.glyph,t.scale,{fontSize:t.fontSize,color:t.color}));return new g(n,[],e)}(t,e)}function w(t,e){let i=e.lineHeightRatio??1,n=[];for(let e of t.runs){let t=(0,s.Lz)(e.fontSize),r=t/e.glyphs.sdfSize,a=29/24*t*i,h=(e.glyphs.faceInfo?.baseline??22)*r,l=(e.glyphs.faceInfo?.midline??16)*r,o=4*r+f(e.decoration),u=1+(e.characterSpacing??0);for(let i of e.glyphs.glyphs){let s=i.shaping.xAdvance*r,c=Math.abs(i.rect.top)*r,_=c+i.rect.height*r;n.push({glyph:i,scale:r,fontSize:t,decoration:e.decoration,underlineOffset:o,color:e.color,xAdvance:y(i.code)||P(i.code)?s:s*u,top:c,bottom:_,lineHeight:a,baseline:h,midline:l})}}return n}function S(t){return t.startY+t.lineHeight}function A(t,e,i){let s=0;for(let n=e;n<i;n++)P(t[n].glyph.code)&&!y(t[n+1].glyph.code)&&s++;return s}function k(t,e,i,s){return e&&t.push(_.fromGlyph(e.startX,i+s+e.underlineOffset,p(e.endX-e.startX+e.glyphWidthEnd,e.textureKey),1,{color:e.color})),null}function I(t,e){return t===e||!!t&&!!e&&t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}},69221(t,e,i){i.d(e,{Lu:()=>r,hV:()=>n});var s=i(90629);function n(t){return(0,s.PN)(Math.round((0,s.Lz)(t)))}function r(t){let e=(0,s.PN)(32),i=(0,s.PN)(5e3);return Math.max(e,Math.min(t||i,i))}i(39829)},86235(t,e,i){i.d(e,{Bd:()=>o,Cr:()=>_,FF:()=>u,Fn:()=>c,HZ:()=>r});var s=i(36745),n=i(14057);class r{static{this.instance=null}static local(){return null===r.instance&&(r.instance=new r),r.instance}execute(t,e,i){return new a(t,e,i)}}class a{constructor(t,e,i){this._cursor=t,this._effect=e,this._context=i}next(){let t=this._cursor.next();if(t&&t.totalSize>0){let e=t.asJSON(),i=l[this._effect.part](e,{...this._effect,target:this._context.target,scaleFactor:this._context.scaleFactor,matcher:this._context.matcher,tileKey:this._context.tileKey,geomUnitsPerPoint:this._context.geomUnitsPerPoint});return i?s.z.fromJSONCIM(i):null}return null}}function h(t,e){let i=e.matcher,s=e.target.getObjectId(),r=(0,n.$)(e.tileKey,s),a=i.getAnalyzedGraphic(r);return a?(a.evaluateWithGeometry(t,e.geomUnitsPerPoint*e.scaleFactor),a):null}const l={textPoint:function(t,e){let i=h(t,e);return i&&i.textPoint?{x:i.textPoint[0],y:i.textPoint[1],spatialReference:t.spatialReference}:t},beginDimensionLine:function(t,e){let i=h(t,e);if(!i||!i.dimensionLine)return t;let s=i.dimensionLine[0],n=s[1][0],r=s[1][1],a=s[0][0],l=s[0][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[a,l]]]}},endDimensionLine:function(t,e){let i=h(t,e);if(!i||!i.dimensionLine)return t;let s=i.dimensionLine[1],n=s[1][0],r=s[1][1],a=s[0][0],l=s[0][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[a,l]]]}},beginExtensionLine:function(t,e){let i=h(t,e);if(!i||!i.extensionLines)return t;let s=i.extensionLines[0],n=s[0][0],r=s[0][1],a=s[1][0],l=s[1][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[a,l]]]}},endExtensionLine:function(t,e){let i=h(t,e);if(!i||!i.extensionLines)return t;let s=i.extensionLines[1],n=s[0][0],r=s[0][1],a=s[1][0],l=s[1][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[a,l]]]}}},o="beginMarker",u="endMarker",c="beginDimensionLine",_="beginExtensionLine";i.d(e,["NR",0,"textPoint","tz",0,"endDimensionLine","w0",0,"endExtensionLine"])},14057(t,e,i){function s(t,e){return`${t}_${e}`}i.d(e,{$:()=>s})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[7561,8018],{8018(e,t,r){r.r(t),r.d(t,{executeForTopExtents:()=>l});var i=r(5443),o=r(2272),s=r(24645),n=r(57561);async function l(e,t,r,l){let u=(0,o.Dl)(e),a=await(0,s.$K)(u,n.default.from(t),{...r},l),d=a.data.extent;return!d||isNaN(d.xmin)||isNaN(d.ymin)||isNaN(d.xmax)||isNaN(d.ymax)?{count:a.data.count,extent:null}:{count:a.data.count,extent:i.A.fromJSON(d)}}},24645(e,t,r){r.d(t,{$K:()=>m,KW:()=>h,Yb:()=>c,xs:()=>g});var i=r(56507),o=r(39516),s=r(84952),n=r(60408),l=r(52039),u=r(21325),a=r(10536),d=(r(5076),r(58501)),p=r(2991);function y(e,t,r){let i=e.geometry,s=e.toJSON(),l=s;if(null!=i&&(l.geometry=JSON.stringify(i),l.geometryType=(0,n.$B)(i),l.inSR=(0,u.YX)(i.spatialReference)),s.topFilter?.groupByFields&&(l.topFilter.groupByFields=s.topFilter.groupByFields.join(",")),s.topFilter?.orderByFields&&(l.topFilter.orderByFields=s.topFilter.orderByFields.join(",")),s.topFilter&&(l.topFilter=JSON.stringify(l.topFilter)),s.objectIds)switch(r?.uniqueIdFields?.length){case void 0:l.objectIds=s.objectIds.join(",");break;case 1:l.uniqueIds=JSON.stringify(s.objectIds),delete l.objectIds;break;default:l.uniqueIds=JSON.stringify(s.objectIds.map(e=>JSON.parse(e))),delete l.objectIds}if(s.orderByFields&&(l.orderByFields=s.orderByFields.join(",")),s.outFields&&!(t?.returnCountOnly||t?.returnExtentOnly||t?.returnIdsOnly)?l.outFields=s.outFields.includes("*")?"*":s.outFields.join(","):delete l.outFields,s.outSR?l.outSR=(0,u.YX)(s.outSR):i&&s.returnGeometry&&(l.outSR=l.inSR),s.returnGeometry&&delete s.returnGeometry,e.timeExtent){let t=r?.timeInformation;if(t){let r=t.getExpression(e.timeExtent);switch(r?.type){case"time":l.time=r.value;break;case"where":r.value&&(l.where=(0,o.mA)(l.where,r.value))}}else l.time=(0,p.G9)(e.timeExtent);delete s.timeExtent}return l}async function c(e,t,r,i,o){let s=await v(e,t,"json",i,void 0,o);return(0,d.q)(t,r,s.data),s}async function h(e,t,r,i){return null!=t.timeExtent&&t.timeExtent.isEmpty?{data:{objectIds:[]}}:v(e,t,"json",r,{returnIdsOnly:!0},i)}async function m(e,t,r,i){return null!=t.timeExtent&&t.timeExtent.isEmpty?{data:{count:0,extent:null}}:v(e,t,"json",r,{returnExtentOnly:!0,returnCountOnly:!0},i).then(e=>{let t=e.data;if(t.hasOwnProperty("extent"))return e;if(t.features||t.hasOwnProperty("count"))throw Error("Layer does not support extent calculation.");return e})}function g(e,t,r,i){return null!=t.timeExtent&&t.timeExtent.isEmpty?Promise.resolve({data:{count:0}}):v(e,t,"json",r,{returnIdsOnly:!0,returnCountOnly:!0},i)}function w(e,t){if(!e.returnIdsOnly||!t.uniqueIdFields)return e;let r={...e,returnUniqueIdsOnly:!0};return delete r.returnIdsOnly,r}async function v(e,t,r,o={},n={},u={}){let d="string"==typeof e?(0,s.An)(e):e,p=t.geometry?[t.geometry]:[];o.responseType="json";let[c]=await(0,l.el)(p,o);null!=c&&((t=t.clone()).geometry=c);let h=(0,a.z)({...d.query,f:r,...w(n,u),...y(t,n,u)});return(0,i.A)((0,s.fj)(d.path,"queryTopFeatures"),{...o,query:{...h,...o.query}})}},57561(e,t,r){r.d(t,{default:()=>F});var i,o=r(32198),s=r(66552),n=r(25482),l=r(4718),u=r(91429),a=r(78888),d=r(16930),p=r(65864),y=r(50498);let c=i=class extends n.o{constructor(e){super(e),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new i({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],c.prototype,"groupByFields",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],c.prototype,"topCount",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],c.prototype,"orderByFields",void 0),c=i=(0,o.Cg)([(0,u.$K)("esri.rest.support.TopFilter")],c);const h=c;var m,g=r(79677),w=r(43937);const v=new s.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),f=new s.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let F=class extends n.o{static{m=this}constructor(e){super(e),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new m((0,l.o8)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"cacheHint",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],F.prototype,"distance",void 0),(0,o.Cg)([(0,u.MZ)({types:y.yR,json:{read:p.rS,write:!0}})],F.prototype,"geometry",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],F.prototype,"geometryPrecision",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],F.prototype,"maxAllowableOffset",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],F.prototype,"num",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],F.prototype,"objectIds",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],F.prototype,"orderByFields",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],F.prototype,"outFields",void 0),(0,o.Cg)([(0,u.MZ)({type:d.A,json:{read:{source:"outSR"},write:{target:"outSR"}}})],F.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],F.prototype,"resultType",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],F.prototype,"returnGeometry",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],F.prototype,"returnM",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],F.prototype,"returnZ",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],F.prototype,"start",void 0),(0,o.Cg)([(0,w.K)("start"),(0,w.K)("num")],F.prototype,"writeStart",null),(0,o.Cg)([(0,u.MZ)({type:String,json:{read:{source:"spatialRel",reader:v.read},write:{target:"spatialRel",writer:v.write}}})],F.prototype,"spatialRelationship",void 0),(0,o.Cg)([(0,u.MZ)({type:g.A,json:{write:!0}})],F.prototype,"timeExtent",void 0),(0,o.Cg)([(0,u.MZ)({type:h,json:{write:!0}})],F.prototype,"topFilter",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{read:f.read,write:{writer:f.write,overridePolicy(e){return{enabled:null!=e&&!!this.distance}}}}})],F.prototype,"units",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],F.prototype,"where",void 0),F=m=(0,o.Cg)([(0,u.$K)("esri.rest.support.TopFeaturesQuery")],F),F.from=(0,a.dp)(F)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[521],{20521(e,t,i){i.r(t),i.d(t,{default:()=>Ae});var n=i(32198),r=i(40124),a=i(69540),s=i(49186),o=i(25728),l=i(17676),u=i(36708),p=i(91429),d=i(41910),m=i(60950),c=i(89808),g=i(99959);const f=Symbol("isWCSGraphicOrigin");var h;class v extends g.A{get[(h=f,m.ym)](){return this.layer}get[c.Q](){return this.layer}get[d.e7](){return this.layer}constructor(e){super(),this[h]=!0,this.type="wcs",this.layer=e}get id(){return this.layer.id}}var y=i(4146),b=i(63074),w=i(69208),x=i(34287),C=i(8303),I=i(72545),S=i(54310),D=i(25036),A=i(82935),T=i(82806),L=i(53966),M=i(5443),V=i(38458),R=i(56507),N=i(330);function P(e){return e.endsWith("?")?e.slice(0,-1):e}function $(e){return e.filter(({coverageSubType:e})=>null==e||""===e||/^rectified(grid|dataset)/i.test(e))}function E(e){let t={};for(let i=0;i<e.childNodes.length;i++){let n=e.childNodes[i];if(1!==n.nodeType)continue;let r=(0,N.vv)(n).toLowerCase();switch(r){case"title":case"abstract":t[r]=(0,N.mX)(n);break;case"identifier":t.id=(0,N.mX)(n);break;case"wgs84boundingbox":{let e=(0,N.pN)(n,"LowerCorner"),i=(0,N.pN)(n,"UpperCorner");t.lonLatEnvelope=new M.A({xmin:e[0],ymin:e[1],xmax:i[0],ymax:i[1],spatialReference:{wkid:4326}})}break;case"coveragesummary":t.coverageSummaries=t.coverageSummaries||[],t.coverageSummaries.push(E(n))}}return t}function O(e,t){if(e.coverageSummaries)for(let i=0;i<e.coverageSummaries.length;i++)e.coverageSummaries[i].abstract=e.coverageSummaries[i].abstract||e.abstract,e.coverageSummaries[i].lonLatEnvelope=e.coverageSummaries[i].lonLatEnvelope||e.lonLatEnvelope,e.coverageSummaries[i].title=e.coverageSummaries[i].title||e.title,O(e.coverageSummaries[i],t);null!=e.id&&t.push(e)}function X(e){let t=(0,N.V6)(e.querySelector("Operation[name=GetCapabilities]"),"Get")?.getAttribute("xlink:href")||"",i=(0,N.V6)(e.querySelector("Operation[name=DescribeCoverage]"),"Get")?.getAttribute("xlink:href")||"",n=(0,N.V6)(e.querySelector("Operation[name=GetCoverage]"),"Get")?.getAttribute("xlink:href")||"";return{getCapabilities:P(t),describeCoverage:P(i),getCoverage:P(n)}}function k(e,t=null){let i=null;i="string"==typeof e?(new DOMParser).parseFromString(e,"text/xml"):e;let n=i.documentElement.getAttribute("version");"1.0"===n?n="1.0.0":"1.1"===n&&(n="1.1.0");let r,a=n||t||"1.0.0",o=a.slice(0,3);if("2.0"===o)r=function(e){let t=(0,N.V6)(e,"ServiceIdentification"),i=(0,N.mX)(t,"Title"),n=(0,N.Dy)(t,"ServiceTypeVersion"),r=(0,N.Dy)(t,"Profile"),a=X((0,N.V6)(e,"OperationsMetadata")),s=(0,N.IC)(e,"Contents/CoverageSummary"),o=[];for(let e=0;e<s.length;e++){let t,i=s[e],n=(0,N.mX)(i,"CoverageId"),r=(0,N.V6)(i,"WGS84BoundingBox");if(r){let e=(0,N.pN)(r,"LowerCorner"),i=(0,N.pN)(r,"UpperCorner");t=new M.A({xmin:e[0],ymin:e[1],xmax:i[0],ymax:i[1],spatialReference:{wkid:4326}})}let a=(0,N.mX)(i,"CoverageSubtype")||"RectifiedGridCoverage";o.push({id:n,lonLatEnvelope:t,coverageSubType:a})}let l=(0,N.V6)(e,"ServiceMetadata");return{name:i,supportedVersions:n,supportedFormats:(0,N.Dy)(l,"formatSupported"),supportedInterpolations:(0,N.Dy)(l,"interpolationSupported").concat((0,N.Dy)(l,"InterpolationSupported")),onlineResources:a,profiles:r,coverages:o,gridCoverages:$(o),version:"2.0.1"}}(i);else if("1.1"===o)r=function(e){let t=(0,N.mX)(e,"ServiceIdentification/Title"),i=(0,N.Dy)(e,"ServiceIdentification/ServiceTypeVersion"),n=X((0,N.V6)(e,"OperationsMetadata")),r=[],a=(0,N.V6)(e,"Contents");for(let e=0;e<a.childNodes.length;e++){let t=a.childNodes[e];1===t.nodeType&&(0,N.g7)(t,"CoverageSummary")&&O(E(t),r)}let s=(0,N.Dy)(a,"SupportedFormat");return{name:t,onlineResources:n,coverages:r,gridCoverages:$(r),supportedVersions:i,supportedFormats:s,version:"1.1.0"}}(i);else{if("1.0"!==o)throw new s.A("wcsraster:parsecapabilities","the capabilities version is not supported");r=function(e){let t=(0,N.mX)(e,"Service/name"),i=(0,N.V6)(e,"Capability"),n=(0,N.V6)(i,"GetCapabilities/Get/OnlineResource")?.getAttribute("xlink:href")??"",r=(0,N.V6)(i,"DescribeCoverage/Get/OnlineResource")?.getAttribute("xlink:href")??"",a=(0,N.V6)(i,"GetCoverage/Get/OnlineResource")?.getAttribute("xlink:href")??"",s={getCapabilities:P(n),describeCoverage:P(r),getCoverage:P(a)},o=(0,N.IC)(e,"CoverageOfferingBrief"),l=[];for(let e=0;e<o.length;e++){let t=o[e],i=(0,N.mX)(t,"name"),n=(0,N.IC)(t,"pos"),r=(0,N.pN)(n[0]),a=(0,N.pN)(n[1]),s=new M.A({xmin:r[0],ymin:r[1],xmax:a[0],ymax:a[1],spatialReference:{wkid:4326}});l.push({id:i,lonLatEnvelope:s})}return{name:t,onlineResources:s,coverages:l,gridCoverages:$(l),supportedVersions:["1.0.0"],version:"1.0.0"}}(i)}return r.version=a,r}var F=i(39829),G=i(4366),W=i(87186);function _(e){e.variables.forEach(e=>e.dimensions.forEach(e=>e.values??=(0,G.Xg)(e)))}function j(e){return{requestResponseCRSs:(0,N.Dy)(e,"requestResponseCRSs").map(e=>e.split(":",2)[1]),nativeCRSs:(0,N.Dy)(e,"nativeCRSs").map(e=>e.split(":",2)[1])}}function B(e,t){let i=(0,N.Dy)(e,"1.0.0"===t?"interpolationMethod":"InterpolationMethod"),n="1.0.0"===t?e.getAttribute("default"):(0,N.mX)(e,"InterpolationMethods/Default");return null==n?i:[n].concat(i.filter(e=>e.toLowerCase()!==n.toLowerCase()))}function Z(e){return null==e?["nearest"]:e.map(e=>{let t=e.toLowerCase();return t.includes("nearest")?"nearest":t.includes("linear")?"bilinear":t.includes("cubic")?"cubic":null}).filter(e=>!!e)}function q(e){let t=(0,N.IC)(e,"pos"),i=(0,N.pN)(t[0]),n=(0,N.pN)(t[1]);return new M.A({xmin:i[0],ymin:i[1],xmax:n[0],ymax:n[1],spatialReference:{wkid:4326}})}function U(e,t){let i=(0,N.Dy)(e,t);return i?.length&&""!==i[0]&&!isNaN(Number(i[0]))?i.map(e=>Number(e)):null}function H(e){let t=(0,N.pN)(e,"MinimumValue"),i=(0,N.pN)(e,"MaximumValue");return t.length&&i.length?t.map((e,t)=>({min:e,max:i[t],avg:-1,stddev:-1})):null}function z(e){return null==e?null:e.every(t=>t===e[0])?e[0]:e}function Y(e){let t=[],i=(0,N.IC)(e,"RangeSet"),n=[];for(let e=0;e<i.length;e++){let r=(0,N.mX)(i[e],"name"),a=(0,N.mX)(i[e],"label"),s=[],o=U(i[e],"nullValues/singleValue"),l=(0,N.IC)(i[e],"AxisDescription");for(let e=0;e<l.length;e++){let t=(0,N.mX)(l[e],"name"),i=(0,N.mX)(l[e],"label"),r=(0,N.Dy)(l[e],"singleValue");if(0===r.length){let t=(0,N.mX)(l[e],"min"),i=(0,N.mX)(l[e],"max"),n=Number((0,N.mX)(l[e],"res"))||1;if(null!==t&&null!==i)for(let e=parseInt(t,10);e<=parseInt(i,10);e+=n)r.push(e.toString())}"band"===t.toLowerCase()&&(n=r),s.push({name:t,label:i,values:r})}t.push({name:r,label:a,nullValues:o,axis:s})}return{rangeSet:t,bandNames:n}}function K(e=null){if(!e)return{resolution:null,units:null};let t,i,n,r=e.toUpperCase(),a=["Years","Months","Days","Hours","Minutes","Seconds"];return r.includes("PT")?(r=r.slice(2),n=["H","M","S"].findIndex(e=>r.includes(e)),t=a[3+n],i=parseFloat(r.slice(0,-1))):(r=r.slice(1),n=["Y","M","D"].findIndex(e=>r.includes(e)),n>-1&&(t=a[n]),i=parseFloat(r.slice(0,-1))),{resolution:i,units:t}}function Q(e){let t=(0,N.IC)(e,"timeposition");if(t.length>0){let e=[];for(let i=0;i<t.length;i++)e.push(new Date((0,N.mX)(t[i])));return{begin:e[0],end:e[e.length-1],values:e}}let i=(0,N.V6)(e,"timePeriod")||(0,N.V6)(e,"TimePeriod");return i?{begin:new Date((0,N.mX)(i,"beginPosition")||(0,N.mX)(i,"BeginPosition")),end:new Date((0,N.mX)(i,"endPosition")||(0,N.mX)(i,"EndPosition")),...K((0,N.mX)(i,"timeResolution")||(0,N.mX)(i,"TimeResolution"))}:null}function J(e){let t=(0,N.V6)(e,"spatialDomain"),i=(0,N.V6)(t,"Envelope")||(0,N.V6)(t,"EnvelopeWithTimePeriod"),n=i.getAttribute("srsName").split(":"),r=n[n.length-1],a=(0,N.IC)(i,"pos"),s=(0,N.pN)(a[0]),o=(0,N.pN)(a[1]),l=parseInt(r,10),u=isNaN(l)?null:{wkid:l},p=new M.A({xmin:s[0],ymin:s[1],xmax:o[0],ymax:o[1],spatialReference:u}),d=(0,N.V6)(t,"RectifiedGrid"),m=(0,N.mX)(d,"low").split(" "),c=(0,N.mX)(d,"high").split(" "),g=parseInt(c[0],10)-parseInt(m[0],10)+1,f=parseInt(c[1],10)-parseInt(m[1],10)+1,h=(0,N.pN)(t,"origin/pos"),v=(0,N.IC)(t,"offsetVector"),y={envelope:p,columns:g,rows:f,offset:{x:parseFloat((0,N.mX)(v[0]).split(" ",1)[0]),y:parseFloat((0,N.mX)(v[1]).split(" ",2)[1])},origin:{x:h[0],y:h[1]}},b=(0,N.V6)(e,"temporalDomain")||(0,N.V6)(e,"TemporalDomain");return{spatialDomain:y,temporalDomain:b?Q(b):null}}function ee(e,t){let i,n=[],r=(0,N.IC)(e,"Field"),a=[];for(let e=0;e<r.length;e++){let s=(0,N.mX)(r[e],"Identifier"),o=(0,N.mX)(r[e],"Description"),l=(0,N.mX)(r[e],"Definition"),u=(0,N.mX)(r[e],"Abstract"),p=(0,N.mX)(r[e],"Title"),d=U(r[e],"NullValue"),m=(0,N.V6)(r[e],"AllowedValues"),c=m?H(m):null,g=B(r[e],"1.1.0"),f=[],h=(0,N.IC)(r[e],"Axis");for(let e=0;e<h.length;e++){let n=h[e].getAttribute("identifier"),r=(0,N.mX)(h[e],"UOM"),s=(0,N.mX)(h[e],"DataType"),o=(0,N.Dy)(h[e],"Key");(!t||n.toLowerCase().includes("band"))&&(a=o,i=d),f.push({identifier:n,uom:r,dataType:s,values:o,bandNoDataValues:i})}n.push({identifier:s,description:o,definition:l,abstract:u,title:p,supportedInterpolations:g,axis:f,nullValues:d,statistics:c})}return{rangeSet:n,bandNames:a,bandNoDataValues:i,statistics:n[0].statistics}}function te(e){let t,i,n,r,a=(0,N.V6)(e,"SpatialDomain"),s=(0,N.V6)(a,"GridCRS"),o=(0,N.mX)(s,"GridBaseCRS"),l=(0,N.mX)(s,"GridOrigin")?.split(" ").map(e=>parseFloat(e))??[0,0],u=(0,N.pN)(s,"GridOffsets"),p=(0,N.IC)(a,"BoundingBox");for(let e=0;e<p.length;e++){let a=p[e].getAttribute("crs")?.toLowerCase();if(null!=a)if(a.includes("imagecrs")){let n=(0,N.pN)(p[e],"LowerCorner"),r=(0,N.pN)(p[e],"UpperCorner");t=r[0]-n[0]+1,i=r[1]-n[1]+1}else if(a.indexOf("epsg")>0){let t=a.split(":");n=parseInt(t[t.length-1],10);let i=(0,N.pN)(p[e],"LowerCorner"),s=(0,N.pN)(p[e],"UpperCorner");r=new M.A({xmin:i[0],ymin:i[1],xmax:s[0],ymax:s[1],spatialReference:{wkid:n}})}}let d=t>i,m=r.xmax-r.xmin>r.ymax-r.ymin,c=!1;(0,V.m)(n)&&(d===m?c=!1:(c=!0,r=new M.A({xmin:r.ymin,ymin:r.xmin,xmax:r.ymax,ymax:r.xmax,spatialReference:{wkid:n}})));let g={columns:t,rows:i,origin:{x:l[0],y:l[1]},offset:{x:u[0],y:u[u.length-1]},gridBaseCRS:o,envelope:r,useEPSGAxis:c},f=(0,N.V6)(e,"temporalDomain")||(0,N.V6)(e,"TemporalDomain");return{spatialDomain:g,temporalDomain:f?Q(f):null}}function ie(e){let t,i=(0,N.V6)(e,"Envelope")||(0,N.V6)(e,"EnvelopeWithTimePeriod"),n=i.getAttribute("srsName"),r=n.slice(n.lastIndexOf("/")+1),a=i.getAttribute("axisLabels").split(" ").map(e=>e.trim()).filter(e=>""!==e.trim()),s=(0,N.pN)(i,"lowerCorner"),o=(0,N.pN)(i,"upperCorner"),l=!["y","lat","latitude","north","nor","n","b"].includes(a[0].toLowerCase()),u=parseInt(r,10),p=isNaN(u)?null:{wkid:u};t=l?new M.A({xmin:s[0],ymin:s[1],xmax:o[0],ymax:o[1],spatialReference:p}):new M.A({xmin:s[1],ymin:s[0],xmax:o[1],ymax:o[0],spatialReference:p});let d,m,c={mins:s,maxs:o},g=i.getAttribute("uomLabels").trim().split(" ");if((0,N.g7)(i,"EnvelopeWithTimePeriod")){d=new Date((0,N.mX)(e,"beginPosition")||(0,N.mX)(e,"BeginPosition")),m=new Date((0,N.mX)(e,"endPosition")||(0,N.mX)(e,"EndPosition"));let t=g?.findIndex(e=>"oledatetime"===e?.toLowerCase());t>-1&&(g[t]="ISO8601")}return{envelope:t,axisLabels:a,uomLabels:g.length?g:null,envelopeAllDims:c,beginPosition:d,endPosition:m,isEastFirst:l}}function ne(e,t){let i,n=[],r=(0,N.IC)(e,"DataRecord"),a=[],s=[];for(let e=0;e<r.length;e++){let o=(0,N.IC)(r[e],"field"),l=[];for(let e=0;e<o.length;e++){let n=o[e].getAttribute("name"),r=(0,N.mX)(o[e],"description")||"",u=(0,N.V6)(o[e],"uom")?.getAttribute("code")||"",p=(0,N.pN)(o[e],"interval"),d=U(o[e],"nilValue")?.[0];(!t||n.toLowerCase().includes("band"))&&(a.push(n),p?.length&&(i||=[],i.push({min:p[0],max:p[1],avg:-1,stddev:-1})),s.push(d)),l.push({name:n,description:r,uom:u,allowedValues:p,nilValue:d})}n.push(l)}return s.some(e=>null!=e)||(s=null),{rangeType:n,bandNames:a,bandStats:i,bandNoDataValues:s}}function re(e){let t=1,i="";return Math.abs(e-1/24)<1/24*.01?i="Hours":Math.abs(e-1)<.01?i="Days":e<1?(t=Math.round(24*e),i="Hours"):e>27.99&&e<31.01||Math.round(e/30)<12?i="Months":e>364.99&&e<366.01&&(i="Years"),{interval:t,intervalUnit:i}}function ae(e,t){let i=(0,N.V6)(e,"RectifiedGrid"),n=(0,N.pN)(i,"low"),r=(0,N.pN)(i,"high"),a=[];for(let e=0;e<n.length;e++)a.push(r[e]-n[e]+1);let s=(0,N.mX)(i,"axisLabels").split(" "),o=(0,N.pN)(i,"origin/pos"),l=(0,N.IC)(i,"offsetVector"),u=[];for(let e=0;e<l.length;e++){let t=(0,N.pN)(l[e]),i=t.findIndex(e=>0!==e);u[i]=t[i]}let p,d,m,c=!1;return t?.length&&s?.length&&(c=[...t].sort((e,t)=>e<t?-1:1).join(",")===[...s].sort((e,t)=>e<t?-1:1).join(",")),["y","lat","latitude","north","nor","n","b"].includes((c?s:t)[0].toLowerCase())?(p=a[1],d=a[0],m={y:Math.abs(u[0]),x:Math.abs(u[1])}):(p=a[0],d=a[1],m={x:Math.abs(u[0]),y:Math.abs(u[1])}),{columns:p,rows:d,origin:o,offset:u,resolution:m,gridSamples:a,axisLabels:s,hasSameAxisLabelsAsBoundedBy:c}}function se(e){let t=(0,N.V6)(e,"EarthObservation");if(!t)return null;let i=(0,N.V6)(t,"phenomenonTime"),n=i?Q(i):null,r=(0,N.V6)(t,"phenomenonTime"),a=r?Q(r):null,s=(0,N.mX)(t,"featureOfInterest/Footprint/multiExtentOf/MultiSurface/surfaceMembers/Polygon/exterior/LinearRing/posList"),o=null;if(s){let e=s.split(" ").map(e=>e.trim()).filter(e=>null!=e&&""!==e).map(Number);if(e.length){let t=[];for(let i=0;i<e.length/2;i+=2)t.push(e[i],e[i+1]);o=new F.A({rings:[[t]]})}}return{observation:{phenomenonTime:n,resultTime:a,footprint:o,identifier:(0,N.mX)(e,"metaDataProperty/EarthObservationMetaData/identifier"),acquisitionType:(0,N.mX)(e,"metaDataProperty/EarthObservationMetaData/acquisitionType"),status:(0,N.mX)(e,"metaDataProperty/EarthObservationMetaData/status")}}}async function oe(e,t){let{coverageIds:i,version:n,customParameters:r,signal:a}=t,o=n.slice(0,3),u={service:"WCS",request:"DescribeCoverage",version:n,["1.0"===o?"coverage":"1.1"===o?"identifiers":"coverageId"]:i.join(","),...r};try{let{data:t}=await(0,R.A)(e,{query:u,responseType:"xml",signal:a});return function(e,t){let i=null;if(i="string"==typeof e?(new DOMParser).parseFromString(e,"text/xml"):e,"1.0.0"===t)return(0,N.IC)(i,"CoverageOffering").map(e=>function(e){let t,i={version:"1.0"},n=[];for(let r=0;r<e.childNodes.length;r++){let a=e.childNodes[r];if(1===a.nodeType)if((0,N.g7)(a,"description"))i.description=(0,N.mX)(a);else if((0,N.g7)(a,"name"))i.name=(0,N.mX)(a);else if((0,N.g7)(a,"label"))i.label=(0,N.mX)(a);else if((0,N.g7)(a,"supportedFormats"))i.supportedFormats=(0,N.Dy)(a,"formats");else if((0,N.g7)(a,"supportedCRSs"))i.supportedCRSs=j(a);else if((0,N.g7)(a,"supportedInterpolations"))i.supportedInterpolations=B(a,"1.0.0");else if((0,N.g7)(a,"lonLatEnvelope"))i.lonLatEnvelope=q(a);else if((0,N.g7)(a,"rangeSet")){let e=Y(a);i.rangeSet=e.rangeSet,n=e.bandNames;let r=e.rangeSet[0].nullValues;r?.length&&(t=z(r))}else(0,N.g7)(a,"domainSet")&&(i.domainSet=J(a))}let r=Z(i.supportedInterpolations),{name:a,description:s,label:o,lonLatEnvelope:l,supportedFormats:u}=i,{spatialDomain:p}=i.domainSet,d={x:Math.abs(p.offset.x),y:Math.abs(p.offset.y)},m=function(e){if(!e.temporalDomain)return null;let{begin:t,end:i,values:n,units:r,resolution:a}=e.temporalDomain,s={variables:[{name:"default",description:"",dimensions:[{name:"StdTime",description:"",unit:"ISO8601",values:n?.map(e=>e.getTime()),hasRegularIntervals:!n,interval:a,intervalUnit:r,extent:[t.getTime(),i.getTime()]}]}]};return _(s),s}(i.domainSet),c=new W.A({width:p.columns,height:p.rows,pixelSize:d,pixelType:"unknown",extent:p.envelope,spatialReference:p.envelope.spatialReference,bandCount:n.length||1,noDataValue:t,multidimensionalInfo:m});return{id:a,title:i.name,description:s||o,lonLatEnvelope:l,rasterInfo:c,bandNames:n,supportedFormats:u,supportedInterpolations:r,coverageDescription:i,version:"1.0.0",useEPSGAxis:!1}}(e));let n=(0,N.IC)(i,"CoverageDescription");return"1.1.0"===t||"1.1.1"===t||"1.1.2"===t?n.map(e=>function(e,t){let i,n,r=[],a=[],s={supportedFormats:r,supportedCRSs:a,version:"1.1"},o=[];for(let t=0;t<e.childNodes.length;t++){let l=e.childNodes[t];if(1!==l.nodeType)continue;let u=(0,N.vv)(l).toLowerCase();switch(u){case"title":case"abstract":case"identifier":s[u]=(0,N.mX)(l);break;case"supportedformat":{let e=(0,N.mX)(l);r.includes(e)||r.push(e)}break;case"supportedcrs":{let e=(0,N.mX)(l);a.includes(e)||a.push(e)}break;case"range":{let e=ee(l,!!s.domain?.temporalDomain);s.range=e.rangeSet,o=e.bandNames;let{bandNoDataValues:t}=e;t?.length&&(i=z(t)),n=e.statistics}break;case"domain":s.domain=te(l)}}let l=Z(s.range[0].supportedInterpolations),{identifier:u,abstract:p,title:d,domain:m,range:c}=s,g={x:Math.abs(m.spatialDomain.offset.x),y:Math.abs(m.spatialDomain.offset.y)},f=function(e,t){if(!t.temporalDomain)return null;let i=e.filter(e=>!e.identifier.toLowerCase().includes("field_1")&&!e.axis.some(e=>e.identifier.includes("band"))),n=[];if(i.length&&i.forEach(e=>{let t=e.axis.map(e=>{let t=e.values.map(t=>"ISO8601"===e.uom?(t=t.trim()).toLowerCase().includes("z")?new Date(t).getTime():new Date(t+"Z").getTime():parseFloat(t.trim())),i=[Math.min.apply(null,t),Math.max.apply(null,t)];return{name:e.identifier.trim(),description:"",field:e.identifier.trim(),unit:e.uom?e.uom.trim():"",hasRegularIntervals:!1,values:t,extent:i}});n.push({name:e.identifier.trim(),description:e.description?.trim()??"",unit:"",dimensions:t,statistics:e.statistics})}),t.temporalDomain){let{begin:e,end:i,values:r,units:a,resolution:s}=t.temporalDomain;n.some(e=>e.dimensions.some(e=>"stdtime"===e.name.toLowerCase()))||n.forEach(t=>{t.dimensions.push({name:"StdTime",description:"",unit:"ISO8601",values:r?.map(e=>e.getTime()),hasRegularIntervals:!r,interval:s,intervalUnit:a,extent:[e.getTime(),i.getTime()]})})}if(n.length){let e={variables:n};return _(e),e}return null}(c,m);f&&(i=c[0].nullValues,1===i?.length&&(i=i[0]));let h=new W.A({width:m.spatialDomain.columns,height:m.spatialDomain.rows,pixelSize:g,pixelType:"unknown",extent:m.spatialDomain.envelope,spatialReference:m.spatialDomain.envelope.spatialReference,bandCount:o.length||1,noDataValue:i,statistics:n,multidimensionalInfo:f});return{id:u,title:s.title,description:p||d,bandNames:o,rasterInfo:h,supportedFormats:r,supportedInterpolations:l,coverageDescription:s,version:t,useEPSGAxis:m.spatialDomain.useEPSGAxis}}(e,t)):n.map(e=>function(e){let t,i,n={version:"2.0"},r=[];for(let a=0;a<e.childNodes.length;a++){let s=e.childNodes[a];if(1===s.nodeType)if((0,N.g7)(s,"coverageId"))n.coverageId=(0,N.mX)(s);else if((0,N.g7)(s,"ServiceParameters"))n.serviceParameters={supportedFormats:(0,N.Dy)(s,"nativeFormat")};else if((0,N.g7)(s,"boundedBy"))n.boundedBy=ie(s);else if((0,N.g7)(s,"rangeType")){let e=ne(s,n.boundedBy?.axisLabels.length>2||n.domainSet?.axisLabels.length>2);n.rangeType=e.rangeType,r=e.bandNames,t=e.bandStats;let{bandNoDataValues:a}=e;a?.length&&(i=z(a))}else if((0,N.g7)(s,"domainSet"))n.domainSet=ae(s,n.boundedBy?.axisLabels);else if((0,N.g7)(s,"metadata")){let e=(0,N.V6)(s,"EOMetadata");n.eoMetadata=e?se(e):null}}let{coverageId:a,boundedBy:s,domainSet:o,rangeType:l,serviceParameters:u}=n,p=function(e,t,i){if(i.axisLabels.length<=2)return null;let n=[];for(let t=0;t<e.length;t++){let i=e[t];for(let e=0;e<i.length;e++)i[e].name.toLowerCase().includes("band")||n.push(i[e])}let r=[];if(n.length){let e=[];for(let n=2;n<i.axisLabels.length;n++){let r,a,s=t.uomLabels?.[n]?.trim()??"",o=i.axisLabels[n].toLowerCase().includes("time")||"iso8601"===s.toLowerCase()||"oledatetime"===s.toLowerCase();if(o){let e=re(i.offset[n]);r=e.interval,a=e.intervalUnit}else r=i.offset[n],a=s;let l=[];o?(l.push((0,G.$E)(t.envelopeAllDims.mins[n])),l.push((0,G.$E)(t.envelopeAllDims.maxs[n]))):(l.push(t.envelopeAllDims.mins[n]),l.push(t.envelopeAllDims.maxs[n])),e.push({name:i.axisLabels[n].trim(),description:i.axisLabels[n].trim(),unit:o?"ISO8601":s,hasRegularIntervals:!0,extent:l,interval:r,intervalUnit:a})}if(n.forEach(t=>{let{allowedValues:i}=t,n=2===i?.length?[{min:i[0],max:i[1],avg:-1,stddev:-1}]:null;r.push({name:t.name.trim(),description:t.description?.trim()??"",unit:t.uom.trim(),statistics:n,dimensions:[...e]})}),r.length){let e={variables:r};return _(e),e}}return null}(l,s,o);return!t&&p&&(t=p?.variables[0].statistics),null!=p&&(i=l[0][0].nilValue),{id:a,title:a,description:a,bandNames:r,rasterInfo:new W.A({width:o.columns,height:o.rows,pixelSize:o.resolution,pixelType:"unknown",extent:s.envelope,spatialReference:s.envelope.spatialReference,bandCount:r.length||1,statistics:t,noDataValue:i,multidimensionalInfo:p}),supportedFormats:u.supportedFormats,coverageDescription:n,version:"2.0.1",useEPSGAxis:!1}}(e))}(t,n)}catch(e){throw(0,l.zf)(e)?e:new s.A("wcslayer:open","wcs coverage description is not valid or supported")}}var le=i(49859);function ue(e,t,i=0){let n="--"+t.boundary,r=[];for(let e=0;e<n.length;e++)r.push(n.charCodeAt(e));let a=[],s="\n--"+t.boundary+"--";for(let e=0;e<s.length;e++)a.push(s.charCodeAt(e));let o=[10],l=[13,10],u=[],p=r.length,d=new Uint8Array(e,i),m=d.length-p,c=0,g=0;for(let e=0;e<m;e++){for(g=0;g<p&&d[e+g]===r[g];g++);if(g!==p)continue;let i=!1;if(c){let n=pe(d.subarray(c,e),t);u.push(n),i=!!n.isValidImage}if(e+=p-1,d[e+1]===o[0]?e+=1:d[e+1]===l[0]&&d[e+2]===l[1]&&(e+=2),c=e+1,i)break}let f=a.length;for(let e=d.length-f-10;e<d.length-f;e++){for(g=0;g<f&&d[e+g]===a[g];g++);if(g===f){u.push(pe(d.subarray(c,e),t));break}}return u}function pe(e,t){let i=String.fromCharCode.apply(null,e.subarray(0,Math.min(300,e.length))).split("\n"),n=Math.min(i.length,7),r={contentDisposition:"inline"},a=0;for(let s=0;s<n;s++)if(i[s].length<4)a=a+i[s].length+1;else if("content"===i[s].slice(0,7).toLowerCase()){a=a+i[s].length+1;let e=i[s].indexOf(":");if(-1===e)continue;let t=i[s].slice(0,e).trim(),n=i[s].slice(e+1).trim();switch(t.toLowerCase()){case"content-type":r.contentType=n;break;case"content-description":r.contentDescription=n;break;case"content-transfer-encoding":r.contentTransferEncoding=n;break;case"content-id":r.contentID=n;break;case"content-disposition":r.contentDisposition=n;break;case"content-location":r.contentLocation=n}}else{if(r.contentDisposition.toLowerCase().includes("inline")&&i[s].length>=4&&r.contentType?.toLowerCase().includes("image")){let t=!0,i=e.subarray(a,e.length);if(r.contentType.toLowerCase().indexOf("tif")>0){if("base64"===r.contentTransferEncoding){let e="",t=i;for(let i=0;i<t.length;i+=65535){let n=t.subarray(i,i+65535>t.length-1?t.length-1:i+65535);e+=String.fromCharCode.apply(null,n)}let n=atob(e);i=new Uint8Array(n.length);for(let e=0;e<i.length;e++)i[e]=n.charCodeAt(e)}t=73===i[0]&&73===i[1]||77===i[0]&&77===i[1]}if(t){let t=i.buffer;"base64"!==r.contentTransferEncoding&&(t=new ArrayBuffer(e.length-a),i=new Uint8Array(t),i.set(e.subarray(a,e.length))),r.contentData=t,r.isValidImage=!0}break}if((""===t.start||r.contentID===t.start)&&r.contentType){if(r.contentType.includes("text")||r.contentType.includes("xml")){r.contentData=String.fromCharCode.apply(null,e.subarray(a,e.length));break}r.contentData=e.subarray(a,e.length)}}return r}var de=i(40951),me=i(47520),ce=i(45617);const ge=["nearest neighbor","bilinear","bicubic"],fe=["nearest","linear","cubic"],he="response is not a supported multipart/related mediaType with inline tiff, switching to compatibility mode",ve=new Set(["1.0.0","1.1.0","1.1.1","1.1.2","2.0.1"]);let ye=class extends le.A{constructor(){super(...arguments),this.datasetFormat="WCSServer",this.tileType="Raster"}get rasterId(){return`${this.url}-${this.coverageId}-${this.version}`}async fetchRawTile(e,t,i,n={}){if(this.isBlockOutside(e,t,i))return null;let{nativePixelSize:r,spatialReference:a}=this.rasterInfo,o=2**e,l=r.x*o,u=r.y*o,{blockWidth:p,blockHeight:d}=this.getBlockWidthHeight(e),{origin:m}=this.rasterInfo.storageInfo.tileInfo,c=this.getTileExtent({x:l,y:u},t,i,m,a,[p,d]),g=this.rasterInfo.extent,f=c.xmax>g.xmax,h=c.ymin<g.ymin,v=f||h,y=c,b=p,w=d;if(v&&(y=c.clone().intersection(g),null!=y&&(f&&(b=Math.floor((y.xmax-y.xmin)/l),y.xmax=y.xmin+l*b),h&&(w=Math.floor((y.ymax-y.ymin)/u),y.ymin=y.ymax-u*w))),null==y||b<=1||w<=1)return null;let x=await this._getCoverage(y,b,w,o,n);if(!x)return null;let C,{coverageDescription:I}=this.coverageInfo,{noDataValue:S,multidimensionalInfo:D}=this.rasterInfo,{multidimensionalDefinition:A}=n;if(null!=D&&null!=A&&A.length){let e=A[0].variableName;"2.0"===I.version?C=I.rangeType[0].find(t=>t.name===e)?.nilValue:"1.1"===I.version&&(C=I.range.find(t=>t.identifier===e)?.nullValues)}let T=C??S,M=await this.decodePixelBlock(x,{width:b,height:w,planes:null,pixelType:null,tiffNoDataValue:Array.isArray(T)?T[0]:T,matchAllNoData:!0},{signal:n.signal});if(null==M)return null;if(M&&(M.width!==b||M.height!==w)){let e=`The tiff coverage response has unexpected width: ${M.width}, height: ${M.height}, expecting width: ${b}, height: ${w}`;throw L.A.getLogger(this).error("wcsraster-fetch",e),new s.A("wcsraster-fetch",e)}return v?(0,me.$Q)(M,{x:0,y:0},{width:d,height:d}):M}async _open(e){let{customFetchParameters:t}=this.ioConfig,i=e?.signal,n=await async function(e,t){let{version:i,customParameters:n,signal:r}=t??{},a=i?.startsWith("1.0")?"version":"acceptVersions",o={service:"WCS",request:"GetCapabilities",[a]:i,...n};try{let{data:i}=await(0,R.A)(e,{query:o,responseType:"xml",signal:r});return!t?.version&&!function(e){let t=null;t="string"==typeof e?(new DOMParser).parseFromString(e,"text/xml"):e;let i=t.documentElement.getAttribute("version")?.slice(0,3);return null!=i&&i<"2.1"}(i)&&(o[a]="2.0.1",({data:i}=await(0,R.A)(e,{query:o,responseType:"xml",signal:r}))),k(i)}catch(e){throw(0,l.zf)(e)?e:new s.A("wcslayer:open","wcs capabilities is not valid or supported")}}(this.url,{version:t?.version??this.version,customParameters:t,signal:i});if(this.capabilities=n,!this.version){let e=n.version.slice(0,3);"2.0"===e||"1.1"===e||"1.0"===e?this.version=n.version:(e=n.supportedVersions.find(e=>"2.0.1"===e)||n.supportedVersions.find(e=>e.startsWith("2.0"))||n.supportedVersions.find(e=>e.startsWith("1.1"))||n.supportedVersions.find(e=>e.startsWith("1.0"))||"1.0.0",this.version=e)}let{version:r}=this;if(!ve.has(r))throw new s.A("wcsraster-open",`unsupported WCS version ${r}`);let{gridCoverages:a}=n;if(!a.length)throw new s.A("wcsraster-open","cannot find rectified grid coverages");this.coverageId??=a[0].id;let{coverageId:o}=this,u=a.find(e=>e.id===o);if(null==u)throw new s.A("wcsraster-open",`the coverageId ${o} does not exist in capabilities`);let p=await oe(this.url,{coverageIds:[o],version:r,customParameters:t,signal:i});if(this.coverageInfo=p[0],r.startsWith("2.0")){let{coverageInfo:e}=this;e.lonLatEnvelope=u.lonLatEnvelope,e.supportedInterpolations=Z(n.supportedInterpolations),this._patchDimensionValues201(o,i)}this.datasetName=this.coverageInfo.title;let{rasterInfo:d}=this.coverageInfo;if(this.createRemoteDatasetStorageInfo(d,512,512),this._set("rasterInfo",d),null==d.spatialReference)throw new s.A("wcsraster-open",`coverage without spatial reference is not supported: ${o}`);let{pixelType:m,bandCount:c}=await this._getPixelTypeAndBandCount(i);d.pixelType=m,1===d.bandCount&&c>1&&(d.bandCount=c),this.updateTileInfo()}async _patchDimensionValues201(e,t){let{coverageInfo:i}=this,n=i.rasterInfo.multidimensionalInfo?.variables,r=ve.has("1.1.2")?"1.1.2":ve.has("1.1.1")?"1.1.1":ve.has("1.1.0")?"1.1.0":null,{customFetchParameters:a}=this.ioConfig;if(n&&r)try{let i=this.url.includes("/ImageServer/"),s=e.length>8&&e.startsWith("Coverage")&&i?e.slice(8):e,o=(await oe(this.url,{coverageIds:[s??e],version:r,customParameters:a,signal:t}).catch(()=>{if(s)return oe(this.url,{coverageIds:[e],version:r,customParameters:a,signal:t})}))?.[0].rasterInfo.multidimensionalInfo?.variables;if(o)for(let e of n){let t=o.find(({name:t})=>t===e.name);if(t?.dimensions?.length)for(let n=e.dimensions.length-1;n>=0;n--){let r=e.dimensions[n],a=t.dimensions.find(({name:e})=>e===r.name);a?a.values&&a.extent?.join(",")===r.extent?.join(",")&&(e.dimensions[n]={...r,values:a.values}):i&&e.dimensions.splice(n,1)}}}catch{}}async _getPixelTypeAndBandCount(e){let{pixelSize:t,extent:i,multidimensionalInfo:n}=this.rasterInfo,r=i.center,a=new M.A({xmin:r.x-t.x,xmax:r.x+t.x,ymin:r.y-t.y,ymax:r.y+t.y,spatialReference:i.spatialReference}),o=[];if(null!=n){let e=n.variables[0];o=[],e.dimensions.forEach(t=>{o.push(new ce.A({variableName:e.name,dimensionName:t.name,values:t.hasRegularIntervals?t.extent?.[0]:t.values?.[0],isSlice:!0}))})}let l,{coverageDescription:u}=this.coverageInfo,p={interpolation:"nearest",multidimensionalDefinition:o,signal:e},{version:d}=u,{ioConfig:m}=this,c="2.0"===d&&null==m.allowAnyMediaType||"1.1"===d&&null==m.use2GridOffsets;try{l=await this._getCoverage(a,2,2,1,p,!0)}catch(e){if(!c)throw e;if("1.1"===d){if(!e.details?.isResolutionMismatch)throw e;m.use2GridOffsets=!0}}if(!l&&c&&("2.0"===d&&(m.allowAnyMediaType=!0),l=await this._getCoverage(a,2,2,1,p),l&&L.A.getLogger(this).warn("wcsraster:getcoverage",he)),!l)throw new s.A("wcsraster-open","unable to determine pixel type");let g=await this.decodePixelBlock(l,{width:2,height:2,planes:null,pixelType:null},{signal:p.signal});if(null==g)throw new s.A("wcsraster-open","unable to determine pixel type");return{pixelType:g.pixelType,bandCount:g.getPlaneCount()??0}}async _getCoverage(e,t,i,n,r,a=!1){let{coverageDescription:o}=this.coverageInfo,{version:l}=o,u="2.0"===l?this._getCoverage201Parameters(e,t,i,n,r,o):"1.1"===l?this._getCoverage110Parameters(e,t,i,r,o):this._getCoverage100Parameters(e,t,i,r),p="2.0"===l?await this.request(this._constructWCS201Url(u),{signal:r.signal,responseType:"array-buffer"}):await this.request(this.url,{query:u,signal:r.signal,responseType:"array-buffer"});if("1.0"===l)return p.data;if("2.0"===l&&!1!==this.ioConfig.allowAnyMediaType&&"tiff"===(0,de.g)(p.data))return a&&(this.ioConfig.allowAnyMediaType=!0,L.A.getLogger(this).warn("wcsraster:getcoverage",he)),p.data;let d=function(e){let t=function(e){let t=e.getHeader?.("Content-Type")?.split(";");if(!t||!(t[0].trim()??"").startsWith("multipart/"))return null;let i={boundary:"",start:"",type:""};for(let e=1;e<t.length;e++){let n=t[e].indexOf("=");if(n>0){let r=t[e].slice(0,n).trim(),a=t[e].slice(n+1).trim();i[r]=a.startsWith('"')?a.slice(1,-1):a}}return i}(e);return t?{isMultipart:!0,data:t.boundary?ue(e.data,t,0):null}:{isMultipart:!1,data:null}}(p);if(d.isMultipart&&d.data){let e=d.data.find(e=>e.isValidImage);return a&&"base64"===e?.contentTransferEncoding&&L.A.getLogger(this).warn("wcsraster:getcoverage","response is base64 encoded which may impact layer display performance"),e?.contentData}let m=new Uint8Array(p.data,0,Math.min(p.data.byteLength,2e3)),c=String.fromCharCode.apply(null,m).toLowerCase().includes("exception"),g=c&&String.fromCharCode.apply(null,m).includes("A non-zero RESX/RESY or WIDTH/HEIGHT is required but neither was provided");throw c?new s.A("wcsraster:getcoverage","server returns an exception",{isResolutionMismatch:g}):new s.A("wcsraster:getcoverage","response is not a supported multipart mediaType with inline tiff")}_getInterpolationIndex(e){return e&&this.coverageInfo.supportedInterpolations?.includes(e)&&"nearest"!==e?"bilinear"===e?1:"cubic"===e?2:0:0}_getCoverage100Parameters(e,t,i,n){let r,a=`${e.xmin},${e.ymin},${e.xmax},${e.ymax}`,s=e.spatialReference.wkid,o=(this.coverageInfo.supportedFormats||[]).find(e=>e.toLowerCase().includes("tiff"))||"GEOTIFF",{bandIds:l,interpolation:u}=n,p=this._getInterpolationIndex(u),d=l?l.map(e=>this.coverageInfo.bandNames[e]):null,m=ge[p],{multidimensionalDefinition:c}=n;if(null!=c&&null!=this.rasterInfo.multidimensionalInfo){let e=c.find(e=>"StdTime"===e.dimensionName)?.values;e&&e.length>0&&(Array.isArray(e[0])&&(e=e[0]),r=e.map(e=>be(e)).join(","))}return{service:"WCS",request:"GetCoverage",version:this.version,coverage:this.coverageId,format:o,crs:`EPSG:${s}`,bbox:a,width:t,height:i,time:r,interpolation:m,band:d?.join(",")}}_getCoverage110Parameters(e,t,i,n,r){let a,{multidimensionalDefinition:s,bandIds:o,interpolation:l}=n,u=e.spatialReference.wkid,p=`urn:ogc:def:crs:EPSG::${u}`,d=(this.coverageInfo.supportedFormats||[]).find(e=>e.toLowerCase().includes("tiff"))||"image/tiff",m=this._getInterpolationIndex(l),c=fe[m],g=null==l||0===this.coverageInfo.supportedInterpolations?.indexOf(l),f=r.domain.spatialDomain,h=f.origin.x<=f.envelope.xmin&&f.origin.y<=f.envelope.ymin,v=e.width/t,y=e.height/i*(h?1:-1),b=h?[e.xmin,e.ymin]:[e.xmin,e.ymax],w=f.useEPSGAxis&&(0,V.m)(u),x=w?`${b[1]},${b[0]}`:`${b[0]},${b[1]}`,C=this.ioConfig.use2GridOffsets,I=w?C?`${y},${v}`:`${y},0,0,${v}`:C?`${v},${y}`:`${v},0,0,${y}`,S=v/2,D=e.xmin+S,A=e.xmax-S,T=Math.abs(y)/2,L=e.ymin+T,M=e.ymax-T,R=w?`${L},${D},${M},${A},${p}`:`${D},${L},${A},${M},${p}`,N=r.range.find(e=>e.axis.some(e=>e.identifier.toLowerCase().includes("band"))),P=N&&c&&o?g?`${N.identifier}[${N.axis[0].identifier}[${o.join(",")}]]`:`${N.identifier}:${c}[${N.axis[0].identifier}[${o.join(",")}]]`:null;if(null!=s&&s.length)for(let e=0;e<s.length;e++){let t=s[e].values,i=s[e].dimensionName?.toLowerCase(),n=s[e].variableName?.toLowerCase(),o=r.range.find(e=>e.identifier.toLowerCase()===n);if(t.length>0)if(Array.isArray(t[0])&&(t=t[0]),"stdtime"===i)a=t.map(e=>be(e)).join(",");else if(o){let e=o.axis.find(e=>e.identifier.toLowerCase()===i);e&&(P=g?o.identifier+"["+e.identifier+"["+t.join(",")+"]]":o.identifier+":"+c+"["+e.identifier+"["+t.join(",")+"]]")}e===s.length-1&&o&&!P&&(P=g?o.identifier:o.identifier+":"+c)}return{service:"WCS",request:"GetCoverage",version:this.version,identifier:this.coverageId,format:d,crs:`EPSG:${u}`,boundingbox:R,gridCS:"urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS",gridType:"urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs",gridOrigin:x,gridOffsets:I,gridBaseCRS:p,timeSequence:a,rangeSubset:P}}_getCoverage201Parameters(e,t,i,n,r,a){let{multidimensionalDefinition:s,interpolation:o}=r,l=this._getInterpolationIndex(o),u=null,{supportedInterpolations:p}=this.capabilities;if(p?.length)switch(l){case 0:u=p.find(e=>e.toLowerCase().includes("nearest"));break;case 1:u=p.find(e=>e.toLowerCase().includes("linear"));break;case 2:u=p.find(e=>e.toLowerCase().includes("cubic")||e.toLowerCase().includes("quadratic"))}let d=(this.coverageInfo.supportedFormats||[]).find(e=>e.toLowerCase().includes("tiff"))||"image/tiff",{bandNames:m}=this.coverageInfo,{boundedBy:c,domainSet:g,rangeType:f}=a,h=+!c.isEastFirst,v=1-h,{axisLabels:y}=c,b=y[h],w=y[v],x=`http://www.opengis.net/def/crs/EPSG/0/${e.spatialReference.wkid}`,C=x,I=[];I.push(`${b}(${e.xmin},${e.xmax})`),I.push(`${w}(${e.ymin},${e.ymax})`);let S=[];if(y.length>2)for(let e=2;e<y.length;e++){let t=g.origin[e];if(y[e].toLowerCase().includes("time")){let i=t.toString();c.uomLabels?.[e].toLowerCase().includes("ole")&&(S.push(y[e]),i=be(t,!0)),I.push(y[e]+",http://www.opengis.net("+i+")")}else I.push(y[e]+",http://www.opengis.net("+t+")")}let D=null;if(null!=s&&s.length){let e=[];f.forEach(t=>t.forEach(t=>e.push(t.name)));let t=[];for(let i=0;i<s.length;i++){let n=y.find(e=>e===s[i].dimensionName),r=e.find(e=>e===s[i].variableName);if(t.includes(r)||t.push(r),n){let e=s[i].values;if(e.length>0){Array.isArray(e[0])&&(e=e[0]);let t="";t=n.toLowerCase().includes("time")?e.map(e=>be(e)).join(","):e.join(",");let i=I.findIndex(e=>e.startsWith(n+",http://www.opengis.net"));-1===i&&I.push(n+",http://www.opengis.net("+t+")"),-1!==i&&!I[i].includes("("+t+")")&&I.splice(i,1,n+",http://www.opengis.net("+t+")")}}}t.length&&(D=t.join(","))}else m?.length>=2&&(D=(r.bandIds?r.bandIds.map(e=>m[e]):m).join(","));let A=I.join("&subset="),T=!a.domainSet.hasSameAxisLabelsAsBoundedBy&&!1!==this.ioConfig.allowScaleFactor,L=T?null:`${b}(${t}),${w}(${i})`,M=T?1/n:null;return{service:"WCS",request:"GetCoverage",version:this.version,coverageId:this.coverageId,rangesubset:D,interpolation:u,scaleSize:L,scaleFactor:M,subset:A,format:d,mediaType:this.ioConfig.allowAnyMediaType?null:"multipart/related",outputcrs:x,subsettingcrs:C}}_constructWCS201Url(e){let t={...this.ioConfig.customFetchParameters,...e},i=[];return Object.keys(t).forEach(e=>{let n=t[e];null!=n&&("subset"===e?"string"==typeof n&&n.split("&subset=").forEach(e=>{e&&i.push(`subset=${encodeURIComponent(e)}`)}):i.push(`${e}=${encodeURIComponent(n)}`))}),`${encodeURI(this.url)}?${i.join("&")}`}};function be(e,t=!1){return(t?new Date((0,G.$E)(e)):new Date(e)).toISOString()}(0,n.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],ye.prototype,"datasetFormat",void 0),(0,n.Cg)([(0,p.MZ)({readOnly:!0})],ye.prototype,"tileType",void 0),(0,n.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],ye.prototype,"version",void 0),(0,n.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],ye.prototype,"coverageId",void 0),(0,n.Cg)([(0,p.MZ)({readOnly:!0})],ye.prototype,"rasterId",null),ye=(0,n.Cg)([(0,p.$K)("esri.layers.raster.datasets.WCSRaster")],ye);var we=i(10873),xe=i(20437),Ce=i(74797),Ie=i(30291);const Se=new Set(["milliseconds","seconds","minutes","hours","days","weeks","months","years","decades","centuries"]);let De=class extends((0,b.dM)((0,D.j)((0,x.q)((0,C.A)((0,w.d)((0,T.b)((0,I.G)((0,A.e)((0,S.J)((0,o.M)((0,a.OU)(y.A)))))))))))){constructor(e){super(e),this.charts=null,this.coverageId=null,this.version=null,this.isReference=null,this.graphicOrigin=new v(this),this.legendEnabled=!0,this.noData=0,this.operationalLayerType="WCS",this.type="wcs",this.popupEnabled=!0,this.popupTemplate=null,this.fields=null,this._debouncedSaveOperations=(0,l.sg)(async(e,t,n)=>{let{save:r,saveAs:a}=await i.e(9838).then(()=>i(59838));switch(e){case 0:return r(this,t);case 1:return a(this,n,t)}})}load(e){let t=null==e?null:e.signal;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["WCS"]},e).catch(l.QP).then(()=>this._openRaster(t))),Promise.resolve(this)}get renderer(){return super.renderer}set renderer(e){super.renderer=e}get coverageInfo(){return this.raster.coverageInfo}get defaultPopupTemplate(){return this.createPopupTemplate()}get rasterFields(){let e=[(0,Ce.rZ)("Pixel Value")],t=(this.raster?.rasterInfo??this.serviceRasterInfo)?.multidimensionalInfo;if(t){let i=(0,Ce.AL)(t);e.push(...i)}return e}createPopupTemplate(e){return(0,Ie.tn)({fields:this.rasterFields,title:this.title},e)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}async _openRaster(e){let t=new ye({url:this.url,version:this.version,coverageId:this.coverageId,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters}});if(await t.open({signal:e}),!t.rasterInfo)throw t.destroy(),new s.A("wcs-layer:load","cannot load resources on "+this.url);let{rasterInfo:i}=t;i.noDataValue??=this.noData,this._set("serviceRasterInfo",i),this._set("spatialReference",i.spatialReference),this.title??this.setAtOrigin("title",t.datasetName,"service"),this.coverageId??this.setAtOrigin("coverageId",t.coverageInfo.id,"service"),null==this.version&&t.version&&this.setAtOrigin("version",t.version,"service"),this.setAtOrigin("tileInfo",t.rasterInfo.storageInfo.tileInfo,"service");let{multidimensionalInfo:n}=i;if(null!=n){let e=n.variables[0].dimensions.find(({name:e})=>"StdTime"===e);if(e){let t=e.extent?.[0]??e.values[0];Array.isArray(t)&&(t=t[0]);let i=e.extent?.[1]??e.values[e.values.length-1];Array.isArray(i)&&(i=i[1]);let n=Se.has(e.intervalUnit?.toLowerCase())?e.intervalUnit?.toLowerCase():null;this.set("timeInfo",{startField:"StdTime",fullTimeExtent:{start:t,end:i},timeZone:null,interval:n?{value:e.interval,unit:n}:null})}}this.raster=t,this._configDefaultSettings(),this.addHandles((0,u.wB)(()=>this.customParameters,e=>this.raster.ioConfig.customFetchParameters=e))}};(0,n.Cg)([(0,p.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],De.prototype,"charts",void 0),(0,n.Cg)([(0,p.MZ)({type:String,nonNullable:!0,json:{name:"wcsInfo.coverageId",write:{isRequired:!0,ignoreOrigin:!0}}})],De.prototype,"coverageId",void 0),(0,n.Cg)([(0,p.MZ)()],De.prototype,"coverageInfo",null),(0,n.Cg)([(0,p.MZ)({type:["1.0.0","1.1.0","1.1.1","1.1.2","2.0.1"],nonNullable:!0,json:{name:"wcsInfo.version",write:{isRequired:!0,ignoreOrigin:!0}}})],De.prototype,"version",void 0),(0,n.Cg)([(0,p.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],De.prototype,"isReference",void 0),(0,n.Cg)([(0,p.MZ)({json:{read:!0,write:!0}})],De.prototype,"blendMode",void 0),(0,n.Cg)([(0,p.MZ)({readOnly:!0,clonable:!1})],De.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,p.MZ)(we.fV)],De.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,p.MZ)({type:["show","hide"]})],De.prototype,"listMode",void 0),(0,n.Cg)([(0,p.MZ)()],De.prototype,"noData",void 0),(0,n.Cg)([(0,p.MZ)({type:["WCS"]})],De.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,p.MZ)()],De.prototype,"raster",void 0),(0,n.Cg)([(0,p.MZ)({readOnly:!0})],De.prototype,"type",void 0),(0,n.Cg)([(0,p.MZ)(we.M6)],De.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,p.MZ)({type:r.A,json:{name:"popupInfo",write:!0}})],De.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,p.MZ)({readOnly:!0})],De.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,p.MZ)({readOnly:!0,type:[xe.A]})],De.prototype,"fields",void 0),(0,n.Cg)([(0,p.MZ)({readOnly:!0,type:[xe.A]})],De.prototype,"rasterFields",null),De=(0,n.Cg)([(0,p.$K)("esri.layers.WCSLayer")],De);const Ae=De},38458(e,t,i){i.d(t,{m:()=>r});const n=[[3819,3819],[3821,3824],[3889,3889],[3906,3906],[4001,4025],[4027,4036],[4039,4047],[4052,4055],[4074,4075],[4080,4081],[4120,4176],[4178,4185],[4188,4216],[4218,4289],[4291,4304],[4306,4319],[4322,4326],[4463,4463],[4470,4470],[4475,4475],[4483,4483],[4490,4490],[4555,4558],[4600,4646],[4657,4765],[4801,4811],[4813,4821],[4823,4824],[4901,4904],[5013,5013],[5132,5132],[5228,5229],[5233,5233],[5246,5246],[5252,5252],[5264,5264],[5324,5340],[5354,5354],[5360,5360],[5365,5365],[5370,5373],[5381,5381],[5393,5393],[5451,5451],[5464,5464],[5467,5467],[5489,5489],[5524,5524],[5527,5527],[5546,5546],[2044,2045],[2081,2083],[2085,2086],[2093,2093],[2096,2098],[2105,2132],[2169,2170],[2176,2180],[2193,2193],[2200,2200],[2206,2212],[2319,2319],[2320,2462],[2523,2549],[2551,2735],[2738,2758],[2935,2941],[2953,2953],[3006,3030],[3034,3035],[3038,3051],[3058,3059],[3068,3068],[3114,3118],[3126,3138],[3150,3151],[3300,3301],[3328,3335],[3346,3346],[3350,3352],[3366,3366],[3389,3390],[3416,3417],[3833,3841],[3844,3850],[3854,3854],[3873,3885],[3907,3910],[4026,4026],[4037,4038],[4417,4417],[4434,4434],[4491,4554],[4839,4839],[5048,5048],[5105,5130],[5253,5259],[5269,5275],[5343,5349],[5479,5482],[5518,5519],[5520,5520],[20004,20032],[20064,20092],[21413,21423],[21473,21483],[21896,21899],[22171,22177],[22181,22187],[22191,22197],[25884,25884],[27205,27232],[27391,27398],[27492,27492],[28402,28432],[28462,28492],[30161,30179],[30800,30800],[31251,31259],[31275,31279],[31281,31290],[31466,31700]];function r(e){return null!=e&&n.some(([t,i])=>e>=t&&e<=i)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[1560,5952],{46140(e,t,r){r.d(t,{A:()=>o});var i=r(49186);class o{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){let t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new o(this.major,this.minor,this._context)}static parse(e,t=""){let[r,n]=e.split(".",2),a=/^\s*\d+\s*$/;if(!r?.match||!a.test(r)){let r=t&&t+":";throw new i.A(r+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e})}if(!n?.match||!a.test(n)){let r=t&&t+":";throw new i.A(r+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e})}return new o(parseInt(r,10),parseInt(n,10),t)}}},6797(e,t,r){r.d(t,{Ui:()=>y});var i=r(56372),o=r(7762),n=r(88620);const a=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof i.A}function s(e){return e instanceof o.A?Object.keys(e.items):l(e)?(0,n.oY)(e).keys():e?Object.keys(e):[]}function p(e,t){return e instanceof o.A?e.items[t]:e[t]}function u(e){return e?e.declaredClass:null}function d(e,t){let r=e.diff;if(r&&"function"==typeof r)return r(e,t);let i=s(e),o=s(t);if(0===i.length&&0===o.length)return;if(!i.length||!o.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};let n=o.filter(e=>!i.includes(e)),y=i.filter(e=>!o.includes(e)),c=i.filter(r=>o.includes(r)&&p(e,r)!==p(t,r)).concat(n,y).sort(),h=u(e);if(h&&a.has(h)&&c.length)return{type:"complete",oldValue:e,newValue:t};let g,m=l(e)&&l(t);for(let i of c){let o,n=p(e,i),a=p(t,i);if((m||"function"!=typeof n&&"function"!=typeof a)&&n!==a&&(null!=n||null!=a)){if(r&&r[i]&&"function"==typeof r[i])o=r[i]?.(n,a);else if(n instanceof Date&&a instanceof Date){if(n.getTime()===a.getTime())continue;o={type:"complete",oldValue:n,newValue:a}}else o="object"==typeof n&&"object"==typeof a&&u(n)===u(a)?d(n,a):{type:"complete",oldValue:n,newValue:a};null!=o&&(null==g?g={type:"partial",diff:{[i]:o}}:g.diff[i]=o)}}return g}function y(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&u(e)!==u(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},99680(e,t,r){r.r(t),r.d(t,{default:()=>he});var i=r(32198),o=r(40124),n=r(69540),a=r(49186),l=r(44208),s=r(25728),p=r(93637),u=r(17676),d=r(36708),y=r(84952),c=r(10107),h=r(36005),g=r(64108),m=r(43937),f=r(90360),w=r(5443),v=r(16930),b=r(41910),x=r(55156),C=r(60950),S=r(89808),M=r(99959);const P=Symbol("isParquetGraphicOrigin");var A;class Z extends M.A{get[(A=P,C.ym)](){return this.layer}get[x.e](){return this.layer}get[S.Q](){return this.layer}get[b.e7](){return this.layer}constructor(e){super(),this[A]=!0,this.type="parquet",this.layer=e}get id(){return this.layer.id}}var E=r(4146),j=r(65529),T=r(92474),O=r(53966),I=r(83027),_=r(42760),F=r(22671);let L=class extends((0,j.Zt)(T.x_)){constructor(e){super(e),this.type="parquet"}load(e){let t=null==e?null:e.signal;return this.addResolvingPromise(this._initialize(t)),this.addHandles([(0,d.wB)(()=>this.layer.data,async e=>{if(e)try{await this._proxy.updateFileProvider(await(0,_.Dt)(e))}catch{}}),(0,d.wB)(()=>this.layer.customParameters,e=>this._setCustomParameters(e))]),Promise.resolve(this)}async reload(e){let t=await this._createLoadParameters(e);return this._proxy.reload(t)}destroy(){this._connection?.destroy()}async openPorts(){return await this.load(),this._connection.openPorts()}async getDiagnosticsSnapshot(){return await this.load(),this._proxy.getDiagnosticsSnapshot()}async getColumnIndex(e){return await this.load(),this._proxy.getColumnIndex(e)}async getOffsetIndex(e){return await this.load(),this._proxy.getOffsetIndex(e)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._proxy.queryFeatures(e.toJSON(),{signal:t?.signal})}async queryFeatures(e,t={}){let r=await this.queryFeaturesJSON(e,{signal:t?.signal});return F.A.fromJSON(r)}async queryObjectIds(e,t){return await this._proxy.queryObjectIds(e.toJSON(),{signal:t?.signal})}async queryFeatureCount(e,t){return this._proxy.queryFeatureCount(e.toJSON(),{signal:t?.signal})}async queryExtent(e,t){if(null==this.layer.geometryEncoding)return O.A.getLogger(this).warn("Tried to queryExtent, but source does not have a geometry. Returning null extent."),{count:0,extent:null};let r=await this._proxy.queryExtent(e.toJSON(),{signal:t?.signal});return{count:r.count,extent:w.A.fromJSON(r.extent)}}async _initialize(e){let t={onSourceChange:()=>this.emit("source-changed"),onRangeRead:e=>this.emit("range-read",e)};this._connection=await(0,I.h)("ParquetSourceWorker",{strategy:"dedicated",signal:e,registryTarget:this,client:t}),(0,u.Te)(e),this._proxy=this._connection.createInvokeProxy();let r=await this._createLoadParameters(e),{layerDefinition:i,capabilities:o}=await this._proxy.load(r);(0,u.Te)(e),this.sourceJSON=i,this.capabilities=o}async _createLoadParameters(e){if(!this.layer.data)throw new a.A("parquet:missing-data","A data source must be specified",this.layer);let t=await(0,_.Dt)(this.layer.data,{signal:e});return(0,u.Te)(e),{provider:t,fields:this.layer.fields?.map(e=>e.toJSON()),geometryType:this.layer.geometryType?(0,_.sA)(this.layer.geometryType):null,spatialReference:this.layer.spatialReference?.toJSON(),geometryEncoding:this.layer.geometryEncoding?.toJSON(),displayOptimization:this.layer.displayOptimization,customParameters:this.layer.customParameters}}_setCustomParameters(e){this._proxy.setCustomParameters(e).catch(()=>{O.A.getLogger(this).warn("Failed to update customParameters")})}_queryStream(e,t){return this._proxy.queryStream(e,t)}_getStreamNextFeatures(e,t){return this._proxy.getStreamNextFeatures(e,t)}};(0,i.Cg)([(0,c.MZ)()],L.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({constructOnly:!0})],L.prototype,"layer",void 0),(0,i.Cg)([(0,c.MZ)()],L.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,c.MZ)()],L.prototype,"capabilities",void 0),L=(0,i.Cg)([(0,g.$K)("esri.layers.graphics.sources.ParquetSource")],L);var q=r(63074),z=r(69208),N=r(75254),R=r(6455),D=r(87718),J=r(56658),B=r(34287),V=r(32756),$=r(8303),G=r(54310),K=r(25036),k=r(10873),Q=r(29005),H=r(20437),U=r(17036),W=r(30524),X=r(9075),Y=r(34582),ee=r(46499),te=r(39383),re=r(56370),ie=r(15584),oe=r(41214),ne=r(97552),ae=r(30291);r(98623);const le="Parquet Feature Layer",se=(0,U.p)(),pe="__OBJECTID",ue={key:"type",base:null,typeMap:{files:re.A,"portal-item":ie.A},errorContext:"parquet-data"},de=(0,f.C)({types:ue}),ye={types:{key:"type",base:null,typeMap:{wkb:Y.A,location:X.A}},json:{name:"layerDefinition.geometryEncoding",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{read:{source:"geometryEncoding"}}}}};function ce(e){return!(e?.type!==le||!e.url)}let he=class extends((0,J.J)((0,D.F)((0,q.dM)((0,V.fY)((0,R.FJ)((0,N.z)((0,K.j)((0,G.J)((0,B.q)((0,$.A)((0,s.M)((0,z.d)((0,n.OU)(E.A)))))))))))))){constructor(e){super(e),this.charts=null,this.copyright=null,this.definitionExpression=null,this.returnM=void 0,this.returnZ=void 0,this.displayOptimization=null,this.fields=null,this.fieldsIndex=null,this.geometryEncoding=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new Z(this),this.hasM=!1,this.hasZ=!1,this.labelsVisible=!0,this.labelingInfo=null,this.objectIdField=pe,this.operationalLayerType="ParquetLayer",this.outFields=null,this.persistenceEnabled=!!(0,l.A)("parquetlayer-persistence-enabled"),this.popupTemplate=null,this.source=null,this.spatialReference=null,this.templates=null,this.type="parquet",this.data=null,this._debouncedSaveOperations=(0,u.sg)(async(e,t,i)=>{let{save:o,saveAs:n}=await r.e(4581).then(()=>r(64581));switch(e){case 0:return o(this,t);case 1:return n(this,i,t)}})}initialize(){this.addHandles((0,d.on)(()=>this.source,"source-changed",()=>{this.emit("refresh",{dataChanged:!0})}))}destroy(){this.source?.destroy()}async load(e){let t=this.loadFromPortal({supportedTypes:[le],supportsData:!0},e).catch(u.QP).then(()=>this._load(e));return this.addResolvingPromise(t),this}get capabilities(){return this.source?.capabilities}get dateFieldsTimeZone(){return"UTC"}get defaultPopupTemplate(){return this.createPopupTemplate()}writeFields(e,t,r,i){let o=e.filter(e=>e.name!==pe||"oid"!==e.type).map(e=>e.toJSON(i));(0,p.sM)(r,o,t)}get isTable(){return null==this.geometryEncoding&&null==this.displayOptimization}set renderer(e){(0,W.yp)(e,this.fieldsIndex),this._set("renderer",e)}get title(){let e=this._get("title");if(e&&"defaults"!==this.originOf("title"))return e;switch(this.data?.type){case"files":{let t=this.data.urls?.at(0);e=t?(0,y.e7)(t,["parquet"]):null;break}case"portal-item":e=this.data.portalItem?.title}return e||"Parquet"}set title(e){this._set("title",e)}readData(e,t,r){if(!("itemId"in t)||!t.itemId)return de(e,t,r)}writeData(e,t,r,i){if(!e)return;if("portal-item"===e.type&&e.portalItem?.type!==le)return void i.messages?.push(new a.A("parquet-layer:unsupported-data",`Portal item with type '${e.portalItem?.type}' is not supported in web maps`,{layer:this,itemId:e.portalItem?.id}));let o=e.write({},i);o&&(t.source=o)}refresh(e){super.refresh(e)}createPopupTemplate(e){return(0,ae.tn)(this,e)}createQuery(){let e=new ne.A;return e.returnGeometry=!0,e.outFields=["*"],e.where=this.definitionExpression||"1=1",e}async createSource(e){let t=new L({layer:this});return await t.load(e),t}getFieldDomain(e,t){return null}getField(e){return this.fieldsIndex.get(e)}async queryFeatures(e,t){await this.load();let r=await this.source.queryFeatures(this._normalizeQuery(e),t),i=this.graphicOrigin;if(r?.features)for(let e of r.features)e.layer=e.sourceLayer=this,e.origin=i;return r}async queryObjectIds(e,t){return await this.load(),this.source.queryObjectIds(this._normalizeQuery(e),t)}async queryFeatureCount(e,t){return await this.load(),this.source.queryFeatureCount(this._normalizeQuery(e),t)}async queryExtent(e,t){return await this.load(),this.source.queryExtent(this._normalizeQuery(e),t)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}async hasDataChanged(){if("portal-item"===this.data?.type){let e=this.data.portalItem,t=e.modified?.getTime();if(await e.reload(),t===e.modified?.getTime())return!1}return await this.source.reload(null),!0}_normalizeQuery(e){return ne.A.from(e)??this.createQuery()}async _load(e){ce(this.portalItem)&&(this.data=new ie.A({portalItem:this.portalItem.clone()})),"portal-item"===this.data?.type&&await this.data.portalItem.load();let t=await this.createSource(e);this._set("source",t),this.read(t.sourceJSON,{origin:"service"}),["fields"].forEach(e=>this.revertToOrigin(e,"service")),(0,W.yp)(this.renderer,this.fieldsIndex),this.spatialReference??=v.A.WGS84}};(0,i.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1,write:!1}})],he.prototype,"capabilities",null),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],he.prototype,"charts",void 0),(0,i.Cg)([(0,c.MZ)({type:String})],he.prototype,"copyright",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],he.prototype,"dateFieldsTimeZone",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],he.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,c.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],he.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean})],he.prototype,"returnM",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean})],he.prototype,"returnZ",void 0),(0,i.Cg)([(0,c.MZ)()],he.prototype,"displayOptimization",void 0),(0,i.Cg)([(0,c.MZ)({type:[H.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],he.prototype,"fields",void 0),(0,i.Cg)([(0,m.K)("fields")],he.prototype,"writeFields",null),(0,i.Cg)([(0,c.MZ)(se.fieldsIndex)],he.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,c.MZ)(ye)],he.prototype,"geometryEncoding",void 0),(0,i.Cg)([(0,c.MZ)({type:w.A,json:{name:"extent"}})],he.prototype,"fullExtent",void 0),(0,i.Cg)([(0,c.MZ)({type:_.ye.apiValues,json:{name:"layerDefinition.geometryType",read:{reader:_.ye.read},write:{writer:_.ye.write,ignoreOrigin:!0,isRequired:!0},origins:{service:{read:{source:"geometryType",reader:_.ye.read}}}}})],he.prototype,"geometryType",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,clonable:!1})],he.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{read:!1,write:!1,origins:{service:{read:!0}}}})],he.prototype,"hasM",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{read:!1,write:!1,origins:{service:{read:!0}}}})],he.prototype,"hasZ",void 0),(0,i.Cg)([(0,c.MZ)(k.kF)],he.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,c.MZ)({type:[ee.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:te.w},write:!0}})],he.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,c.MZ)(k.fV)],he.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],he.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)()],he.prototype,"file",void 0),(0,i.Cg)([(0,c.MZ)({type:String,readOnly:!0})],he.prototype,"objectIdField",void 0),(0,i.Cg)([(0,c.MZ)({type:["ParquetLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}}}}})],he.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)(se.outFields)],he.prototype,"outFields",void 0),(0,i.Cg)([(0,c.MZ)(k.M6)],he.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:o.A,json:{name:"popupInfo",write:!0}})],he.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,c.MZ)({types:oe.Hg,json:{name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy(e,t){return{enabled:!0,ignoreOrigin:this.originIdOf(t)<3}}},origins:{service:{read:{source:"drawingInfo.renderer"}}}}})],he.prototype,"renderer",null),(0,i.Cg)([(0,c.MZ)({type:L,readOnly:!0,cast:null,json:{read:!1}})],he.prototype,"source",void 0),(0,i.Cg)([(0,c.MZ)({type:v.A,json:{name:"layerDefinition.spatialReference",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{read:{source:"extent.spatialReference"}}}}})],he.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.MZ)({type:[Q.A]})],he.prototype,"templates",void 0),(0,i.Cg)([(0,c.MZ)()],he.prototype,"title",null),(0,i.Cg)([(0,c.MZ)({json:{read:!1},readOnly:!0})],he.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({types:ue,json:{name:"source",write:{ignoreOrigin:!0,overridePolicy(e,t,r){let i="portal-item"===e?.type&&ce(e.portalItem)?e.portalItem:null;return{enabled:null==i?.id||i.id!==r?.portalItem?.id,ignoreOrigin:!0}}}}})],he.prototype,"data",void 0),(0,i.Cg)([(0,h.w)("data")],he.prototype,"readData",null),(0,i.Cg)([(0,m.K)("data")],he.prototype,"writeData",null),he=(0,i.Cg)([(0,g.$K)("esri.layers.ParquetLayer")],he)},32756(e,t,r){r.d(t,{Rr:()=>l});var i=r(32198),o=r(93637),n=r(91429),a=r(91880);function l(e,t,r){if(!e)return null;let i=e.find(e=>!!e.field);if(!i)return null;let o=new a.A;return o.read(i,r),[o]}const s={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){let n=e.find(e=>!!e.field);n&&(0,o.sM)(r,[n.toJSON()],t)}}}};r.d(t,["fY",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,n.MZ)(s)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.OrderedLayer")],r),r},"ne",0,s])},29005(e,t,r){r.d(t,{A:()=>p});var i=r(32198),o=r(69540),n=r(66552),a=r(25482),l=r(91429);const s=new n.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,o.OU)(a.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:s.read,write:s.write}})],p.prototype,"drawingTool",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,i.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],p)},46499(e,t,r){var i,o,n=r(32198),a=(r(44208),r(66552)),l=r(25482),s=r(4718),p=r(90629),u=r(91429),d=r(90360),y=r(73913),c=r(32730),h=r(77548),g=r(59868),m=r(73838),f=r(33910),w=r(36005),v=r(43937);const b=new a.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function x(e,t,r){return{enabled:!(0,h.TU)(r?.layer)}}function C(e){return!e||"service"!==e.origin&&"map-image"!==e.layer?.type}function S(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let M=class extends l.o{static{i=c.vK}static{o=this}static evaluateWhere(e,t){let r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;let i=e.split(" ");if(3===i.length)return r(t[i[0]],i[1],i[2]);if(7===i.length){let e=r(t[i[0]],i[1],i[2]),o=i[3],n=r(t[i[4]],i[5],i[6]);switch(o){case"AND":return e&&n;case"OR":return e||n}}return!1}catch{}}constructor(e){super(e),this[i]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.offsetDistance=0,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=g.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){let r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,c.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){let t=(0,c.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,i){if(null==e&&null!=this.labelExpression&&C(i))e=new y.A({expression:this.getLabelExpressionArcade()});else if(!e)return;let o=e.toJSON(i);o.expression&&(t[r]=o)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,c.XJ)(this)}getLabelExpressionArcade(){return(0,c.BI)(this)}getLabelExpressionSingleField(){return(0,c.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new o({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,s.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,offsetDistance:this.offsetDistance,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,s.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],M.prototype,"name",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:x}}}}})],M.prototype,"allowOverrun",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:x}}}}})],M.prototype,"deconflictionStrategy",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&S(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],M.prototype,"labelExpression",void 0),(0,n.Cg)([(0,w.w)("labelExpression")],M.prototype,"readLabelExpression",null),(0,n.Cg)([(0,v.K)("labelExpression")],M.prototype,"writeLabelExpression",null),(0,n.Cg)([(0,u.MZ)({type:y.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return C(e)||S(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],M.prototype,"labelExpressionInfo",void 0),(0,n.Cg)([(0,v.K)("labelExpressionInfo")],M.prototype,"writeLabelExpressionInfo",null),(0,n.Cg)([(0,u.MZ)({type:b.apiValues,json:{type:b.jsonValues,read:b.read,write:b.write}})],M.prototype,"labelPlacement",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,json:{read:!0,write:!0,default:0,origins:{"web-scene":{write:!1}}}})],M.prototype,"offsetDistance",void 0),(0,n.Cg)([(0,u.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],M.prototype,"labelPosition",void 0),(0,n.Cg)([(0,u.MZ)({type:Number})],M.prototype,"maxScale",void 0),(0,n.Cg)([(0,v.K)("maxScale")],M.prototype,"writeMaxScale",null),(0,n.Cg)([(0,u.MZ)({type:Number})],M.prototype,"minScale",void 0),(0,n.Cg)([(0,v.K)("minScale")],M.prototype,"writeMinScale",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:x}}}}})],M.prototype,"repeatLabel",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,cast:p.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:x}}}}})],M.prototype,"repeatLabelDistance",null),(0,n.Cg)([(0,u.MZ)({types:f.em,json:{types:f.em,origins:{"portal-item":{types:f.em,read:{reader:(0,d.C)({types:f.em})},default:null},"web-scene":{types:f.Rv,read:{reader:(0,d.C)({types:f.Rv})},write:m.oO,default:null}},write:m.oO,default:null}})],M.prototype,"symbol",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"useCodedValues",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],M.prototype,"where",void 0),M=o=(0,n.Cg)([(0,u.$K)("esri.layers.support.LabelClass")],M);const P=M;r.d(t,["A",0,P])},73913(e,t,r){var i,o=r(32198),n=r(25482),a=r(91429),l=r(32730),s=r(36005),p=r(43937);let u=class extends n.o{static{i=this}constructor(e){super(e),this.name=null,this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,l.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,l.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new i({name:this.name,expression:this.expression,title:this.title,value:this.value})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"name",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,s.w)("expression",["expression","value"])],u.prototype,"readExpression",null),(0,o.Cg)([(0,p.K)("expression")],u.prototype,"writeExpression",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"title",void 0),(0,o.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],u.prototype,"value",void 0),u=i=(0,o.Cg)([(0,a.$K)("esri.layers.support.LabelExpressionInfo")],u);const d=u;r.d(t,["A",0,d])},91880(e,t,r){r.d(t,{A:()=>p});var i,o=r(32198),n=r(66552),a=r(25482),l=r(91429);const s=new n.J({asc:"ascending",desc:"descending"});let p=class extends a.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:s.apiValues,json:{type:s.jsonValues,read:s.read,write:s.write}})],p.prototype,"order",void 0),p=i=(0,o.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],p)},15584(e,t,r){r.d(t,{A:()=>c});var i=r(32198),o=r(69540),n=r(49186),a=r(25482),l=r(91429),s=r(64108),p=r(80812),u=r(26121),d=r(36005),y=r(43937);let c=class extends((0,a.T)(o.Pw)){constructor(e){super(e),this.type="portal-item"}readPortalItem(e,t,r){if(t.itemId)return new p.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t,r,i){(0,u.wN)(e,i)?i.messages?.push(new n.A("portal-item-data:cross-portal",`Data cannot be persisted because it refers to an item on a different portal ('${e?.portal?.url}') than the one being saved to ('${i?.portal?.url}').`,{layer:this,itemId:e?.id})):e?.id&&(t.itemId=e.id)}};(0,i.Cg)([(0,l.MZ)({type:["portal-item"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:p.default,json:{write:{isRequired:!0}}})],c.prototype,"portalItem",void 0),(0,i.Cg)([(0,d.w)("portalItem",["itemId"])],c.prototype,"readPortalItem",null),(0,i.Cg)([(0,y.K)("portalItem",{itemId:{type:String}})],c.prototype,"writePortalItem",null),c=(0,i.Cg)([(0,s.$K)("esri.layers.support.PortalItemData")],c)},41560(e,t,r){r.d(t,{Ch:()=>a,mW:()=>n});var i=r(34727),o=r(39516);function n(e,t){return{...t,filterMode:e.mode}}function a(e,t,r){let n=function(e){if("manual"===p(e))return null;let t=[-1/0,1/0];for(let{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],u(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(n&&((0,i.gg)(t,n[0])||(0,i.ZH)(r,n[1])))return"";let a=Array.from(l(e,t,r)),s=function(e,t,r){if(0===e.length)return!0;let o=u(e.at(0)?.minScale),n=d(e.at(-1)?.maxScale);if((0,i.ZH)(o,t)||(0,i.gg)(n,r))return!0;for(let t=0;t<e.length-1;t++){let r=e[t],o=e[t+1];if((0,i.ZH)(u(o.minScale),d(r.maxScale)))return!0}return!1}(a,t,r)?"1=1":a.map(e=>e.where||"1=1").reduce((e,t)=>(0,o.IW)(e,t),"");return s&&"1=1"!==s?s:""}function*l(e,t,r){if("manual"===p(e)){let t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(let i of e.filters)s(i.minScale,i.maxScale,t,r)&&(yield i)}}function s(e,t,r,o){return e=u(e),r=u(r),t=d(t),!(!(0,i.Sp)(r,e)&&(o??r)>e||(0,i.Hx)(t,r)||void 0!==o&&(0,i.Sp)(o,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||1/0}function d(e){return e||0}},39383(e,t,r){r.d(t,{w:()=>s,z:()=>d});var i=r(49186),o=r(53966),n=r(46499);const a=()=>o.A.getLogger("esri.layers.support.labelingInfo"),l=/\[([^[\]]+)\]/gi;function s(e,t,r){return e?e.map(e=>{let i=new n.A;if(i.read(e,r),i.labelExpression){let e=t.fields||t.layerDefinition?.fields||this.fields;i.labelExpression=i.labelExpression.replaceAll(l,(t,r)=>`[${function(e,t){if(!t)return e;let r=e.toLowerCase();for(let e=0;e<t.length;e++){let i=t[e].name;if(i.toLowerCase()===r)return i}return e}(r,e)}]`)}return i}):null}const p=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],u={esriGeometryPoint:p,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:p,esriGeometryEnvelope:null};function d(e,t){let r=[];for(let o of e){let e=o.labelPlacement,n=u[t];if(!o.symbol)return a().warn("No ILabelClass symbol specified."),[];if(!n)return a().error(new i.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(n.includes(e))r.push(o);else{let i=n[0];e&&a().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${i}`);let l=o.clone();l.labelPlacement=i,r.push(l)}}return r}},73681(e,t,r){r.d(t,{n:()=>s});var i=r(49186),o=r(53966),n=r(46140),a=r(95466),l=r(55674);class s{static async from(e,t,r){let a=e.dictionary_version?n.A.parse(e.dictionary_version):null,u=new Set(e.itemsNames),d={};if(t)for(let e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(let t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);let y=new Set(e.authoringInfo.symbol);for(let e of Object.keys(r))y.delete(e);y.size&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:y});let c=await(0,l.xR)(e.expression,null,d);if(!c)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");let h=!a||!a.greaterEqual(4,0);h&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:a});let g=new p(r,h);return new s(h,u,c,g)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new a.A(e);let t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new a.A(t)}}class p extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){let t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);let t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},22671(e,t,r){r.d(t,{A:()=>w});var i,o=r(32198),n=r(52106),a=r(66552),l=r(25482),s=r(4718),p=r(91429),u=r(16930),d=r(60408),y=r(65864),c=r(50498),h=r(20437),g=r(36005),m=r(43937);const f=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,n.A)}writeGeometryType(e,t,r,i){if(e)return void f.write(e,t,r,i);let{features:o}=this;if(o)for(let e of o)if(null!=e?.geometry)return void f.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;let r=!!e.spatialReference,i=(0,y.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=u.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());let{features:r}=this;if(r)for(let e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,s.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){let t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){let i=t.features[r];i.geometry&&=(e?.[r])?.toJSON()||i.geometry}return t}quantize(e){let{scale:[t,r],translate:[i,o]}=e,n=this.features,a=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((o-e)/r));for(let e=0,t=n.length;e<t;e++)a?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){let{geometryType:e,features:t,transform:r}=this;if(!r)return this;let{translate:[i,o],scale:[n,a]}=r,l=null,s=null;if(this.hasZ&&null!=r?.scale?.[2]){let{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){let{translate:[,,,e],scale:[,,,t]}=r;s=r=>null==r?r:r*t+e}let p=this._getHydrationFunction(e,e=>e*n+i,e=>o-e*a,l,s);for(let{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){let i=u.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){let n=e[t],a=r.fromJSON(n),l=n.geometry?.spatialReference;null!=a.geometry&&!l&&(a.geometry.spatialReference=i);let s=n.aggregateGeometries,p=a.aggregateGeometries;if(s&&null!=p)for(let e in p){let t=p[e],r=s[e]?.spatialReference;null!=t&&!r&&(t.spatialReference=i)}o.push(a)}return o}_quantizePoints(e,t,r){let i,o,n=[];for(let a=0,l=e.length;a<l;a++){let l=e[a];if(a>0){let e=t(l[0]),a=r(l[1]);(e!==i||a!==o)&&(n.push([e-i,a-o]),i=e,o=a)}else i=t(l[0]),o=r(l[1]),n.push([i,o])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{let i=(0,d.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,n=i.length;e<n;e++){let n=i[e],a=this._quantizePoints(n,t,r);a&&o.push(a)}return o.length>0?((0,d.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{let i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{let n,a,l=(0,d.Bi)(e)?e.rings:e.paths;for(let e=0,i=l.length;e<i;e++){let i=l[e];for(let e=0,o=i.length;e<o;e++){let o=i[e];e>0?(n+=o[0],a+=o[1]):(n=o[0],a=o[1]),o[0]=t(n),o[1]=r(a)}}if(i&&o)for(let e=0,t=l.length;e<t;e++){let t=l[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2]),r[3]=o(r[3])}}else if(i)for(let e=0,t=l.length;e<t;e++){let t=l[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2])}}else if(o)for(let e=0,t=l.length;e<t;e++){let t=l[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=o(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{let n,a,l=e.points;for(let e=0,i=l.length;e<i;e++){let i=l[e];e>0?(n+=i[0],a+=i[1]):(n=i[0],a=i[1]),i[0]=t(n),i[1]=r(a)}if(i&&o)for(let e=0,t=l.length;e<t;e++){let t=l[e];t[2]=i(t[2]),t[3]=o(t[3])}else if(i)for(let e=0,t=l.length;e<t;e++){let t=l[e];t[2]=i(t[2])}else if(o)for(let e=0,t=l.length;e<t;e++){let t=l[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,p.MZ)({type:[n.A],json:{write:!0}})],w.prototype,"features",void 0),(0,o.Cg)([(0,g.w)("features")],w.prototype,"readFeatures",null),(0,o.Cg)([(0,p.MZ)({type:[h.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,o.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:f.read}}})],w.prototype,"geometryType",void 0),(0,o.Cg)([(0,m.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,o.Cg)([(0,p.MZ)({types:c.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,g.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o.Cg)([(0,m.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=i=(0,o.Cg)([(0,p.$K)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0},41366(e,t,r){var i=r(32198),o=r(66552),n=r(53966),a=r(91429),l=r(93223);const s=(0,o.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),p="percent-of-total",u="field";r.d(t,["K",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType"),t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&u||r&&p||null,t&&r&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):(e===u||e===p)&&(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,l.e)(s,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,a.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r},"Q",0,s])}}]);
|