@arcgis/core 5.0.0-next.83 → 5.0.0-next.85
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/WebDocument2D.d.ts +3 -2
- package/WebDocument2D.js +1 -1
- package/WebScene.d.ts +3 -2
- package/WebScene.js +1 -1
- package/applications/Components/applySetUtils.d.ts +237 -0
- package/applications/Components/applySetUtils.js +5 -0
- package/applications/Components/editUtils.d.ts +92 -0
- package/applications/Components/editUtils.js +5 -0
- package/applications/Components/symbolUtils.d.ts +37 -0
- package/applications/Components/symbolUtils.js +5 -0
- package/applications/Components/templateUtils.d.ts +106 -0
- package/applications/Components/templateUtils.js +5 -0
- package/applications/SceneViewer/layerUtils.d.ts +3 -2
- package/applications/SceneViewer/layerUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/001fd3d30e5bb0d180c6.js +1 -0
- package/assets/esri/core/workers/chunks/0057d3a9522188090536.js +1 -0
- package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js +2 -0
- package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js.LICENSE.txt → 008a555ce169640e2a35.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/00e135dc1b4cb024973d.js +1 -0
- package/assets/esri/core/workers/chunks/03da31c7635d077e8d99.js +1 -0
- package/assets/esri/core/workers/chunks/0402b7996940ba0f8cc8.js +2 -0
- package/assets/esri/core/workers/chunks/{73c416ae0ec5a1815591.js.LICENSE.txt → 0402b7996940ba0f8cc8.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/04fddd41a8e6a4c1bc57.js +1 -0
- package/assets/esri/core/workers/chunks/055aead7135a2f8bca29.js +1 -0
- package/assets/esri/core/workers/chunks/05a75878baca3a04fee9.js +1 -0
- package/assets/esri/core/workers/chunks/05aa22778a85624cfa55.js +1 -0
- package/assets/esri/core/workers/chunks/06493efc57cbfbda050a.js +1 -0
- package/assets/esri/core/workers/chunks/0674ae3741bc99325879.js +1 -0
- package/assets/esri/core/workers/chunks/07c5a9e8f48b3c806ac7.js +1 -0
- package/assets/esri/core/workers/chunks/0889e3d1a034be031c9e.js +2 -0
- package/assets/esri/core/workers/chunks/{43e2c1d72cd9c8beed2f.js.LICENSE.txt → 0889e3d1a034be031c9e.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/0abb084b8a137f4fcdfc.js +1 -0
- package/assets/esri/core/workers/chunks/0b0545538ce355cace52.js +1 -0
- package/assets/esri/core/workers/chunks/0c13591347d51d684561.js +1 -0
- package/assets/esri/core/workers/chunks/0e7daf348c3e4681dd44.js +1 -0
- package/assets/esri/core/workers/chunks/10a5bf887132821beaf0.js +1 -0
- package/assets/esri/core/workers/chunks/10b32aff749d3459ddcd.js +1 -0
- package/assets/esri/core/workers/chunks/114aecdbd2bd92b24de2.js +1 -0
- package/assets/esri/core/workers/chunks/14f8215ab716c6d9d5f8.js +1 -0
- package/assets/esri/core/workers/chunks/156c73a948bde11f0d53.js +1 -0
- package/assets/esri/core/workers/chunks/165cf8031af160c99d70.js +1 -0
- package/assets/esri/core/workers/chunks/1779e6eabc299831fc9f.js +1 -0
- package/assets/esri/core/workers/chunks/181fab86394f1f912490.js +1 -0
- package/assets/esri/core/workers/chunks/185c97bc63ce546995ce.js +1 -0
- package/assets/esri/core/workers/chunks/18cdd268fc921ffd92e2.js +1 -0
- package/assets/esri/core/workers/chunks/1a13b472e0cf9f88e8de.js +1 -0
- package/assets/esri/core/workers/chunks/1a41c9127ca5a260d5ef.js +1 -0
- package/assets/esri/core/workers/chunks/1a62c456e791c82050fe.js +1 -0
- package/assets/esri/core/workers/chunks/1c05906d1b5b92441c9b.js +1 -0
- package/assets/esri/core/workers/chunks/1cf289446619645487b6.js +1 -0
- package/assets/esri/core/workers/chunks/1e318e5cf417c8f13bc7.js +1 -0
- package/assets/esri/core/workers/chunks/1eb6f210ae69c317e1f6.js +1 -0
- package/assets/esri/core/workers/chunks/1facc1b45345a095b9a7.js +1 -0
- package/assets/esri/core/workers/chunks/1fe1a131be1d5e1e23ed.js +1 -0
- package/assets/esri/core/workers/chunks/21739c37160061f229ef.js +1 -0
- package/assets/esri/core/workers/chunks/22b1543b1a39db9acfc3.js +1 -0
- package/assets/esri/core/workers/chunks/249bc4abaa6482aaf288.js +1 -0
- package/assets/esri/core/workers/chunks/25a9ae17dc2ef44a4481.js +1 -0
- package/assets/esri/core/workers/chunks/25dead73dfc5a4c19285.js +1 -0
- package/assets/esri/core/workers/chunks/2767b69085c9f7a1e1af.js +1 -0
- package/assets/esri/core/workers/chunks/286a45e9aec0b2bf32ef.js +1 -0
- package/assets/esri/core/workers/chunks/289681e94e93dc1d3512.js +1 -0
- package/assets/esri/core/workers/chunks/2a81f08de9d642485669.js +1 -0
- package/assets/esri/core/workers/chunks/2b2283f1ee4bfc1baa18.js +1 -0
- package/assets/esri/core/workers/chunks/2bb82ae3ada57c066fdf.js +1 -0
- package/assets/esri/core/workers/chunks/2bdd28b4b5ef2c1e111f.js +1 -0
- package/assets/esri/core/workers/chunks/2c8b4d54ecf6ea2fecb1.js +1 -0
- package/assets/esri/core/workers/chunks/2ce845c990bb4d701362.js +1 -0
- package/assets/esri/core/workers/chunks/2f20cca2c5c058afc9af.js +1 -0
- package/assets/esri/core/workers/chunks/301fa6276f4098521106.js +1 -0
- package/assets/esri/core/workers/chunks/304ea784c28dc78e5e65.js +1 -0
- package/assets/esri/core/workers/chunks/3087910d19959fdc546b.js +1 -0
- package/assets/esri/core/workers/chunks/30cfa41017c2d434a89f.js +1 -0
- package/assets/esri/core/workers/chunks/33257fbd724ae188e259.js +1 -0
- package/assets/esri/core/workers/chunks/338768f94cc49559b209.js +1 -0
- package/assets/esri/core/workers/chunks/34073c8e4fc825f060f1.js +1 -0
- package/assets/esri/core/workers/chunks/34503f9b26c81e631174.js +1 -0
- package/assets/esri/core/workers/chunks/348560f083350ad0bf2e.js +1 -0
- package/assets/esri/core/workers/chunks/3606fc5537c4d11b9554.js +1 -0
- package/assets/esri/core/workers/chunks/3628e82707e7720c9e4c.js +1 -0
- package/assets/esri/core/workers/chunks/36b053decb87c9d32cd2.js +1 -0
- package/assets/esri/core/workers/chunks/37f5687dc1147b0a7bc1.js +1 -0
- package/assets/esri/core/workers/chunks/380a9b6d75992d6311c3.js +1 -0
- package/assets/esri/core/workers/chunks/3849dc35941e569fae5f.js +1 -0
- package/assets/esri/core/workers/chunks/388bd41c305d5a11f739.js +1 -0
- package/assets/esri/core/workers/chunks/389e2263a540f819d842.js +1 -0
- package/assets/esri/core/workers/chunks/38ca539f33e2d977771c.js +1 -0
- package/assets/esri/core/workers/chunks/39e1b04444389d2987be.js +1 -0
- package/assets/esri/core/workers/chunks/3ad7ec46adecf00ae1c2.js +1 -0
- package/assets/esri/core/workers/chunks/3aeb3e8220e7d9869652.js +1 -0
- package/assets/esri/core/workers/chunks/3afc221b3a9e209cceea.js +1 -0
- package/assets/esri/core/workers/chunks/3b67aa46a60e35469bf8.js +1 -0
- package/assets/esri/core/workers/chunks/3b6fc34b6d92eef030e5.js +1 -0
- package/assets/esri/core/workers/chunks/3bb28b59614fc36b2c50.js +1 -0
- package/assets/esri/core/workers/chunks/3eeaec74871e20b433d2.js +1 -0
- package/assets/esri/core/workers/chunks/418a778a4cbbb9dabecd.js +1 -0
- package/assets/esri/core/workers/chunks/42444285fd79a8d8e564.js +1 -0
- package/assets/esri/core/workers/chunks/428ca5900d882d7be499.js +1 -0
- package/assets/esri/core/workers/chunks/436c15ac34a205a13a37.js +1 -0
- package/assets/esri/core/workers/chunks/43e9eaedf65921b58eb2.js +1 -0
- package/assets/esri/core/workers/chunks/4487cf21fa9f0466450d.js +1 -0
- package/assets/esri/core/workers/chunks/45dbdf2ff95f7be1eb88.js +1 -0
- package/assets/esri/core/workers/chunks/4756f0dbbda129c760b1.js +1 -0
- package/assets/esri/core/workers/chunks/4a0760571ce536fbd8c8.js +1 -0
- package/assets/esri/core/workers/chunks/4b09d92c51c4619b548a.js +1 -0
- package/assets/esri/core/workers/chunks/4b24f72b56edc28bb15e.js +1 -0
- package/assets/esri/core/workers/chunks/4bb0c3b009493ea44632.js +1 -0
- package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js → 4c07b2d1a14906371fc5.js} +2 -2
- package/assets/esri/core/workers/chunks/{6be530ab81291745485b.js.LICENSE.txt → 4c07b2d1a14906371fc5.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/4c0e0beb1534d81ff648.js +1 -0
- package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +1 -0
- package/assets/esri/core/workers/chunks/4caec60ac0a5851730c6.js +1 -0
- package/assets/esri/core/workers/chunks/4db259316b193fcc4541.js +1 -0
- package/assets/esri/core/workers/chunks/4f132d758f8b4795c43f.js +1 -0
- package/assets/esri/core/workers/chunks/4f4bdf9f5323fa702e6c.js +1 -0
- package/assets/esri/core/workers/chunks/4f53071b5eb23d4478c4.js +1 -0
- package/assets/esri/core/workers/chunks/4f8895eb57ec6ab4b318.js +1 -0
- package/assets/esri/core/workers/chunks/4ff3c03cfbec928c0720.js +1 -0
- package/assets/esri/core/workers/chunks/504ab6bf7bfbfd4c4211.js +1 -0
- package/assets/esri/core/workers/chunks/5119e3159617b8e1ea13.js +1 -0
- package/assets/esri/core/workers/chunks/52684c2abc9e8ce793cf.js +1 -0
- package/assets/esri/core/workers/chunks/5298f99c197c8607a690.js +1 -0
- package/assets/esri/core/workers/chunks/52ae2073604deef63ea2.js +1 -0
- package/assets/esri/core/workers/chunks/532935f420ed5f13c011.js +1 -0
- package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +1 -0
- package/assets/esri/core/workers/chunks/53a1c6e008287d1f12f0.js +1 -0
- package/assets/esri/core/workers/chunks/53d0b870c080236d82d1.js +1 -0
- package/assets/esri/core/workers/chunks/5543de9a0435c319f4f9.js +301 -0
- package/assets/esri/core/workers/chunks/55bf39611ae6028131a3.js +1 -0
- package/assets/esri/core/workers/chunks/5659e221e8805bb81210.js +1 -0
- package/assets/esri/core/workers/chunks/568fc92333a9ab1c06e6.js +1 -0
- package/assets/esri/core/workers/chunks/56bbd86b804cb2a59031.js +1 -0
- package/assets/esri/core/workers/chunks/57a749804da9a2b1fae9.js +1 -0
- package/assets/esri/core/workers/chunks/59d3f3fbae775fd7686e.js +1 -0
- package/assets/esri/core/workers/chunks/59e7a0215791b2b51180.js +1 -0
- package/assets/esri/core/workers/chunks/5a706eecd8a988fae6b7.js +1 -0
- package/assets/esri/core/workers/chunks/5b278b9980752ef495a2.js +1 -0
- package/assets/esri/core/workers/chunks/5b3bb636e3bec625e515.js +1 -0
- package/assets/esri/core/workers/chunks/5ba2bbbb42ef1920579d.js +1 -0
- package/assets/esri/core/workers/chunks/5cc731f161012b63c77a.js +1 -0
- package/assets/esri/core/workers/chunks/5eee48b02e1683f022df.js +2 -0
- package/assets/esri/core/workers/chunks/{0b7bbdc0d71ee6721751.js.LICENSE.txt → 5eee48b02e1683f022df.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/5fa8fe6353dbdda0b06a.js +1 -0
- package/assets/esri/core/workers/chunks/5fc6cada83bf8462d54c.js +1 -0
- package/assets/esri/core/workers/chunks/6107b58457a70c8de9da.js +1 -0
- package/assets/esri/core/workers/chunks/63e930e76a181d54786d.js +1 -0
- package/assets/esri/core/workers/chunks/63ee7aa1b169dbec1e37.js +1 -0
- package/assets/esri/core/workers/chunks/6440d78ed2af2e7265aa.js +1 -0
- package/assets/esri/core/workers/chunks/645e086291b04bc036d7.js +1 -0
- package/assets/esri/core/workers/chunks/654eef3ad30f34c42e12.js +1 -0
- package/assets/esri/core/workers/chunks/681d9a923c0d1ace86e8.js +1 -0
- package/assets/esri/core/workers/chunks/68abe4e70ea48e978642.js +1 -0
- package/assets/esri/core/workers/chunks/6a083fde0e207625fd0b.js +1 -0
- package/assets/esri/core/workers/chunks/6bc7bacf01328ef10ff1.js +1 -0
- package/assets/esri/core/workers/chunks/6bcf5d6792e4f09cbc7b.js +1 -0
- package/assets/esri/core/workers/chunks/6d7eb784988ee9a33473.js +1 -0
- package/assets/esri/core/workers/chunks/6de843d1809cba61ded3.js +1 -0
- package/assets/esri/core/workers/chunks/6e04303500a9fbc3f14a.js +1 -0
- package/assets/esri/core/workers/chunks/6edcae8ec128c2e86a05.js +1 -0
- package/assets/esri/core/workers/chunks/6eeee6e278b5f516d1d2.js +1 -0
- package/assets/esri/core/workers/chunks/701775be0dad640a72b4.js +1 -0
- package/assets/esri/core/workers/chunks/70df4331ed29d823bf38.js +1 -0
- package/assets/esri/core/workers/chunks/7130b09300032d3a5925.js +1 -0
- package/assets/esri/core/workers/chunks/72f0e2e5dcddafa2a642.js +1 -0
- package/assets/esri/core/workers/chunks/73c87eb9bd8f0f848481.js +1 -0
- package/assets/esri/core/workers/chunks/746190bb70aa78ba0bfc.js +1039 -0
- package/assets/esri/core/workers/chunks/75d7290c73bb59f2c856.js +1 -0
- package/assets/esri/core/workers/chunks/780a1eba9a7f1ca690ce.js +1 -0
- package/assets/esri/core/workers/chunks/7815dbf49ef5a06705f3.js +1 -0
- package/assets/esri/core/workers/chunks/7892daeed58778453639.js +1 -0
- package/assets/esri/core/workers/chunks/7990c828447bc3a29965.js +1 -0
- package/assets/esri/core/workers/chunks/799829d0ae17c146196b.js +1 -0
- package/assets/esri/core/workers/chunks/7a1ec6ac88d974cc5074.js +1 -0
- package/assets/esri/core/workers/chunks/7a31717dafbd820bc2bf.js +1 -0
- package/assets/esri/core/workers/chunks/7d76a2245ac973efe1ed.js +1 -0
- package/assets/esri/core/workers/chunks/7f76566d9b3801742387.js +1 -0
- package/assets/esri/core/workers/chunks/7f7c4ffbdf7b20dc7a54.js +1 -0
- package/assets/esri/core/workers/chunks/8008bca4ef04c9424579.js +1 -0
- package/assets/esri/core/workers/chunks/815a25a5a8dba7921f8b.js +1 -0
- package/assets/esri/core/workers/chunks/8184c34b2c4969f14f3d.js +1 -0
- package/assets/esri/core/workers/chunks/81e395a93c67749c6487.js +1 -0
- package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +1 -0
- package/assets/esri/core/workers/chunks/83ddc0f6bfe68756f26f.js +1 -0
- package/assets/esri/core/workers/chunks/841058de8bc6e328fd68.js +1 -0
- package/assets/esri/core/workers/chunks/84a4390b1c277c415d44.js +1 -0
- package/assets/esri/core/workers/chunks/854adab6a06af861c104.js +1 -0
- package/assets/esri/core/workers/chunks/8765fe036d9664c25b1d.js +37 -0
- package/assets/esri/core/workers/chunks/88c3b60b403e2454b56e.js +1 -0
- package/assets/esri/core/workers/chunks/8a0a13f398ab488dbbe9.js +1 -0
- package/assets/esri/core/workers/chunks/8b1fa59d436e2815b2f1.js +2 -0
- package/assets/esri/core/workers/chunks/{25f3ee666f545a7a7993.js.LICENSE.txt → 8b1fa59d436e2815b2f1.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/8cb13b3776f07536c79f.js +1 -0
- package/assets/esri/core/workers/chunks/{51093e552e31344cefa5.js → 8d9ec752136cbc5cb29a.js} +1 -1
- package/assets/esri/core/workers/chunks/8deae3a426eceae73186.js +1 -0
- package/assets/esri/core/workers/chunks/8f4ca0dfd9635eb10e02.js +1 -0
- package/assets/esri/core/workers/chunks/8faa0122d0a6e2e39153.js +1 -0
- package/assets/esri/core/workers/chunks/913c417ad278ce1caaf9.js +1 -0
- package/assets/esri/core/workers/chunks/9184089e72c24d91d23b.js +1 -0
- package/assets/esri/core/workers/chunks/91e307ca0d11804a7a1d.js +2 -0
- package/assets/esri/core/workers/chunks/9264cce4699284eae97c.js +2 -0
- package/assets/esri/core/workers/chunks/{37002a46f03a9fc5f644.js.LICENSE.txt → 9264cce4699284eae97c.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/9279a5361bf6a54784ef.js +1 -0
- package/assets/esri/core/workers/chunks/92a42bbb8b9b39f3211c.js +1 -0
- package/assets/esri/core/workers/chunks/934ce3f004c54d542d2c.js +1 -0
- package/assets/esri/core/workers/chunks/93caf6fb8afab3dd8a46.js +1 -0
- package/assets/esri/core/workers/chunks/95e93884b39ca4b312d1.js +2 -0
- package/assets/esri/core/workers/chunks/{5b9f2aa3ba1bf12c3240.js.LICENSE.txt → 95e93884b39ca4b312d1.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/97148a9966f55e69421e.js +1 -0
- package/assets/esri/core/workers/chunks/9748b8c35d56a5ee9c64.js +1 -0
- package/assets/esri/core/workers/chunks/97ad3eb25ad003c16148.js +1 -0
- package/assets/esri/core/workers/chunks/982e709d2cef971ecd82.js +1 -0
- package/assets/esri/core/workers/chunks/98e04c2382fa5ba382fc.js +1 -0
- package/assets/esri/core/workers/chunks/9919b3c345785e910c38.js +1 -0
- package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +1 -0
- package/assets/esri/core/workers/chunks/9cd7205bbc711914d74b.js +1 -0
- package/assets/esri/core/workers/chunks/9d17524f5f935b7b60bf.js +1 -0
- package/assets/esri/core/workers/chunks/9de8149ae0a0726a4ab2.js +1 -0
- package/assets/esri/core/workers/chunks/9fac9eda0a41f7f4c2c6.js +1 -0
- package/assets/esri/core/workers/chunks/9ff1e650ce0912afa780.js +1 -0
- package/assets/esri/core/workers/chunks/a09099697955eb44bfac.js +1 -0
- package/assets/esri/core/workers/chunks/a0d52a819302ed6f401e.js +1 -0
- package/assets/esri/core/workers/chunks/a1908b3fa61f02425a94.js +1 -0
- package/assets/esri/core/workers/chunks/a2046f85b9964693f053.js +1 -0
- package/assets/esri/core/workers/chunks/a24627400b3b9fe8431d.js +1 -0
- package/assets/esri/core/workers/chunks/a27c74fd2029583de933.js +1 -0
- package/assets/esri/core/workers/chunks/a2c0c1bb5e775abefc90.js +1 -0
- package/assets/esri/core/workers/chunks/a3184fb1ac7ce9af1a7e.js +1 -0
- package/assets/esri/core/workers/chunks/a4ee92867ad5cde25aed.js +1 -0
- package/assets/esri/core/workers/chunks/a56a5e00964d4cd59a66.js +1 -0
- package/assets/esri/core/workers/chunks/a774b4fc7df801503bea.js +1 -0
- package/assets/esri/core/workers/chunks/a9521578c0e21aaddbc7.js +1 -0
- package/assets/esri/core/workers/chunks/a9b30c3b604e314f1706.js +1 -0
- package/assets/esri/core/workers/chunks/aa0c648bd37787f62b1f.js +1 -0
- package/assets/esri/core/workers/chunks/aa1b8c06bdf8453a02d7.js +1 -0
- package/assets/esri/core/workers/chunks/aaac4eee709cd6d24910.js +1 -0
- package/assets/esri/core/workers/chunks/aafa33f661462f5afd2b.js +1 -0
- package/assets/esri/core/workers/chunks/ab3e457c82fa9bd0203f.js +1 -0
- package/assets/esri/core/workers/chunks/ac0949ea3d2cf3eb7383.js +1 -0
- package/assets/esri/core/workers/chunks/ac5da65af5da254acb16.js +1 -0
- package/assets/esri/core/workers/chunks/adecd31fd64d6753682d.js +1 -0
- package/assets/esri/core/workers/chunks/ae5798399607cb043ed2.js +1 -0
- package/assets/esri/core/workers/chunks/af3d4eba6fe24db3ceba.js +1 -0
- package/assets/esri/core/workers/chunks/b1015e1f25b60c08d2cf.js +1 -0
- package/assets/esri/core/workers/chunks/b1085fa91724e2d3b24f.js +1 -0
- package/assets/esri/core/workers/chunks/b12dc8fd3f2a2ff8073d.js +1 -0
- package/assets/esri/core/workers/chunks/b190a776de4859ac00f8.js +1 -0
- package/assets/esri/core/workers/chunks/b1c6a1759febad66927f.js +1 -0
- package/assets/esri/core/workers/chunks/b482a24c9567d8926897.js +1 -0
- package/assets/esri/core/workers/chunks/b48b0f512a1cd7226bdc.js +1 -0
- package/assets/esri/core/workers/chunks/b586d7e608e8ba8b88fe.js +1 -0
- package/assets/esri/core/workers/chunks/b599c6d4fa3189ed1762.js +1 -0
- package/assets/esri/core/workers/chunks/b6acf67316107902e31d.js +1 -0
- package/assets/esri/core/workers/chunks/b7576a5195615c465ea7.js +1 -0
- package/assets/esri/core/workers/chunks/b7e40118b4d645e9f8e1.js +1 -0
- package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +1 -0
- package/assets/esri/core/workers/chunks/b91a157fb5f729de6597.js +1 -0
- package/assets/esri/core/workers/chunks/b9226dd0342cfd30ece0.js +1 -0
- package/assets/esri/core/workers/chunks/b977b9f5f50ae8027443.js +1 -0
- package/assets/esri/core/workers/chunks/bab6dee8f4715d05d984.js +1 -0
- package/assets/esri/core/workers/chunks/bbb409e54db77bfabdee.js +1 -0
- package/assets/esri/core/workers/chunks/bc4f513ea3a8f344c8da.js +1 -0
- package/assets/esri/core/workers/chunks/be26f8175a76e7dc8f7a.js +1 -0
- package/assets/esri/core/workers/chunks/befedcb6d8d1ff88125f.js +1 -0
- package/assets/esri/core/workers/chunks/bf73352b3366de82abbe.js +1 -0
- package/assets/esri/core/workers/chunks/c0265669fb616f052b65.js +1 -0
- package/assets/esri/core/workers/chunks/c133e57f2201b9bc6cbc.js +1 -0
- package/assets/esri/core/workers/chunks/c18a2948ae3cb527d8bb.js +1 -0
- package/assets/esri/core/workers/chunks/c2d7b32f0c8eb965fcf7.js +1 -0
- package/assets/esri/core/workers/chunks/c45a5bcf26659daf02a1.js +1 -0
- package/assets/esri/core/workers/chunks/c46a4681cbba638b58c1.js +1 -0
- package/assets/esri/core/workers/chunks/c477b0ce55211339c4cb.js +1 -0
- package/assets/esri/core/workers/chunks/c500b59cd7da54fe72ec.js +1 -0
- package/assets/esri/core/workers/chunks/c5c1b189b91e199e8b82.js +1 -0
- package/assets/esri/core/workers/chunks/c65a138c14a4c540cd3b.js +1 -0
- package/assets/esri/core/workers/chunks/c66a9477e1c30a5ca03f.js +1 -0
- package/assets/esri/core/workers/chunks/{d79d29b52a65fb6bf94d.js → c71fe727224da0aba6ca.js} +1 -1
- package/assets/esri/core/workers/chunks/c741f7bc5693ae7e5019.js +1 -0
- package/assets/esri/core/workers/chunks/c75a41a5c8c5bd40ae91.js +1 -0
- package/assets/esri/core/workers/chunks/c791e8ebf3ee0805c479.js +1 -0
- package/assets/esri/core/workers/chunks/c825ca22894bdb4d01ba.js +1 -0
- package/assets/esri/core/workers/chunks/c8f1075c45ecf9fef00f.js +1 -0
- package/assets/esri/core/workers/chunks/ca06811e636f1d96f3cb.js +1 -0
- package/assets/esri/core/workers/chunks/cb66a74448a6c0c20d5d.js +1 -0
- package/assets/esri/core/workers/chunks/cbab45550b06bcc38524.js +1 -0
- package/assets/esri/core/workers/chunks/cc2606b8e600eeaf4bc8.js +1 -0
- package/assets/esri/core/workers/chunks/cdf711afbaaf345101f0.js +1 -0
- package/assets/esri/core/workers/chunks/ce87a6e24e9c64d90da3.js +1 -0
- package/assets/esri/core/workers/chunks/ce9467dc1ff695d795e5.js +1 -0
- package/assets/esri/core/workers/chunks/d0c831a473642d1bd9d1.js +1 -0
- package/assets/esri/core/workers/chunks/d0d6f818851d9a2d7938.js +1 -0
- package/assets/esri/core/workers/chunks/d1dd1787b3bf27834a9e.js +1 -0
- package/assets/esri/core/workers/chunks/d28169816c768d55aa09.js +1 -0
- package/assets/esri/core/workers/chunks/d2d4bce67c711a404b73.js +1 -0
- package/assets/esri/core/workers/chunks/d31f62ecbb54bffc54f2.js +1 -0
- package/assets/esri/core/workers/chunks/d37f03714c9591fb2b06.js +1 -0
- package/assets/esri/core/workers/chunks/d3c69c9cb3d9c3f5c67a.js +1 -0
- package/assets/esri/core/workers/chunks/d436e1694f4b5bf05a90.js +1 -0
- package/assets/esri/core/workers/chunks/d4770dddfbfdc3845749.js +1 -0
- package/assets/esri/core/workers/chunks/d477def8bfd8482596d1.js +1 -0
- package/assets/esri/core/workers/chunks/d4c4dad52da5dcf4432c.js +1 -0
- package/assets/esri/core/workers/chunks/d4f4c0201d8b641709c0.js +1 -0
- package/assets/esri/core/workers/chunks/d525b3fa719a688d4899.js +1 -0
- package/assets/esri/core/workers/chunks/d6e11f05db698d14f21d.js +1 -0
- package/assets/esri/core/workers/chunks/d7c275717a2405b6ff87.js +1 -0
- package/assets/esri/core/workers/chunks/d9d2178d436597b1afaf.js +1 -0
- package/assets/esri/core/workers/chunks/da808dfb22c6de29e560.js +1 -0
- package/assets/esri/core/workers/chunks/db9a9712038df76e3eda.js +1 -0
- package/assets/esri/core/workers/chunks/dd0e65b18c634b64582e.js +1 -0
- package/assets/esri/core/workers/chunks/dd30c1f5da0af72becd1.js +1 -0
- package/assets/esri/core/workers/chunks/de216922b36267ab4aa1.js +1 -0
- package/assets/esri/core/workers/chunks/de6b3f80070abdd61d0f.js +1 -0
- package/assets/esri/core/workers/chunks/dea2e8caaf6e53ec56f8.js +1 -0
- package/assets/esri/core/workers/chunks/ded589862c22ea12d47a.js +1 -0
- package/assets/esri/core/workers/chunks/dedd9d47ccc019ffc484.js +1 -0
- package/assets/esri/core/workers/chunks/dfef6e3d7bbf099de498.js +1 -0
- package/assets/esri/core/workers/chunks/e1b677a135e164a29605.js +1 -0
- package/assets/esri/core/workers/chunks/e201bfe3158c025edc99.js +1 -0
- package/assets/esri/core/workers/chunks/e337b8d69d89f597cb58.js +1 -0
- package/assets/esri/core/workers/chunks/e370d213c307ad8bfaec.js +1 -0
- package/assets/esri/core/workers/chunks/e3a73d9acebccd3ba49b.js +1 -0
- package/assets/esri/core/workers/chunks/e43c6058c793d43fa5f3.js +1 -0
- package/assets/esri/core/workers/chunks/e462b167841fddaa80b8.js +1 -0
- package/assets/esri/core/workers/chunks/e51e35b5cef89b0e0db1.js +1 -0
- package/assets/esri/core/workers/chunks/e58ec49a5cd852cb46cb.js +1 -0
- package/assets/esri/core/workers/chunks/e7d28ebf684db4ecb8cb.js +1 -0
- package/assets/esri/core/workers/chunks/e8f6305744f87bbed961.js +1 -0
- package/assets/esri/core/workers/chunks/e9f8115c049f168d3c2b.js +1 -0
- package/assets/esri/core/workers/chunks/ea32a8478f3ccb19aced.js +1 -0
- package/assets/esri/core/workers/chunks/ea734de7d5271c487171.js +1 -0
- package/assets/esri/core/workers/chunks/eb765db525f4e2e2bda2.js +1 -0
- package/assets/esri/core/workers/chunks/ebbcd6196ef5c5ab233d.js +1 -0
- package/assets/esri/core/workers/chunks/ec00fa313794f177d9d3.js +1 -0
- package/assets/esri/core/workers/chunks/ec03d59984782529031a.js +1 -0
- package/assets/esri/core/workers/chunks/ec7f4e459c7466805f72.js +1 -0
- package/assets/esri/core/workers/chunks/ecf7d34b37ce6f0877af.js +1 -0
- package/assets/esri/core/workers/chunks/ed1c92a24a167e57e36e.js +1 -0
- package/assets/esri/core/workers/chunks/ed69b19366e3ce5805ac.js +1 -0
- package/assets/esri/core/workers/chunks/ee25d1eae52c8be82898.js +1 -0
- package/assets/esri/core/workers/chunks/ee905e24320241959965.js +1 -0
- package/assets/esri/core/workers/chunks/eea91681bae00819a5e9.js +1 -0
- package/assets/esri/core/workers/chunks/eed24607e9b5312b417f.js +1 -0
- package/assets/esri/core/workers/chunks/f0eb2bfe5a8607b251f5.js +1 -0
- package/assets/esri/core/workers/chunks/f370e60dc81d41368e0c.js +1 -0
- package/assets/esri/core/workers/chunks/f3fdf9970b3c7acd071d.js +1 -0
- package/assets/esri/core/workers/chunks/f40e413c68d99cf54d42.js +1 -0
- package/assets/esri/core/workers/chunks/f5b32bc3f7ee911e3c59.js +1 -0
- package/assets/esri/core/workers/chunks/f5dbffd5e8b3c16336a1.js +1 -0
- package/assets/esri/core/workers/chunks/f5ed6953a9255f0bed6a.js +2 -0
- package/assets/esri/core/workers/chunks/{9ccabf8142fb5de4d3e2.js.LICENSE.txt → f5ed6953a9255f0bed6a.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/f627017adc9469144507.js +1 -0
- package/assets/esri/core/workers/chunks/f7ad285944e0e5164384.js +1 -0
- package/assets/esri/core/workers/chunks/f872d34d4236f8bedbd9.js +1 -0
- package/assets/esri/core/workers/chunks/f88adc930506ac2d5c90.js +1 -0
- package/assets/esri/core/workers/chunks/f890cfa4932955ecd4e7.js +1 -0
- package/assets/esri/core/workers/chunks/fd4bd04f85458cad849c.js +1 -0
- package/assets/esri/core/workers/chunks/fe98a068536e904ce257.js +1 -0
- package/assets/esri/core/workers/chunks/ffa9cc09e82f2e515993.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/themes/base/widgets/_Compass.scss +1 -1
- package/assets/esri/themes/base/widgets/_Feature.scss +1 -1
- package/assets/esri/themes/base/widgets/_Features.scss +1 -1
- package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -4
- package/assets/esri/themes/base/widgets/_Widget.scss +1 -1
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/HUDMaterial.glsl.js +1 -1
- package/config.js +1 -1
- package/copyright.txt +2 -2
- package/core/MultiOriginJSONSupport.d.ts +8 -0
- package/core/MultiOriginJSONSupport.js +1 -1
- package/core/ReadOnlyMultiOriginJSONSupport.d.ts +40 -0
- package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
- package/core/WriteableMultiOriginJSONMixin.js +1 -1
- package/core/accessorSupport/decorators/subclass.js +1 -1
- package/core/accessorSupport/types.d.ts +2 -0
- package/editing/sharedTemplates/templateLoader.js +5 -0
- package/editing/templateUtils.js +1 -1
- package/interfaces.d.ts +6 -0
- package/kernel.js +1 -1
- package/layers/BingMapsLayer.d.ts +3 -2
- package/layers/BingMapsLayer.js +1 -1
- package/layers/BuildingSceneLayer.d.ts +3 -2
- package/layers/BuildingSceneLayer.js +1 -1
- package/layers/CSVLayer.js +1 -1
- package/layers/CatalogLayer.d.ts +3 -2
- package/layers/CatalogLayer.js +1 -1
- package/layers/DimensionLayer.d.ts +3 -2
- package/layers/DimensionLayer.js +1 -1
- package/layers/ElevationLayer.d.ts +3 -2
- package/layers/ElevationLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +3 -2
- package/layers/FeatureLayer.js +1 -1
- package/layers/GaussianSplatLayer.d.ts +3 -2
- package/layers/GaussianSplatLayer.js +1 -1
- package/layers/GeoJSONLayer.d.ts +3 -2
- package/layers/GeoJSONLayer.js +1 -1
- package/layers/GeoRSSLayer.d.ts +3 -2
- package/layers/GeoRSSLayer.js +1 -1
- package/layers/GroupLayer.d.ts +3 -2
- package/layers/GroupLayer.js +1 -1
- package/layers/ImageryLayer.d.ts +3 -2
- package/layers/ImageryLayer.js +1 -1
- package/layers/ImageryTileLayer.d.ts +3 -2
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.d.ts +3 -2
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/IntegratedMeshLayer.d.ts +3 -2
- package/layers/IntegratedMeshLayer.js +1 -1
- package/layers/KMLLayer.d.ts +3 -2
- package/layers/KMLLayer.js +1 -1
- package/layers/KnowledgeGraphLayer.d.ts +3 -2
- package/layers/KnowledgeGraphLayer.js +1 -1
- package/layers/LineOfSightLayer.d.ts +3 -2
- package/layers/LineOfSightLayer.js +1 -1
- package/layers/LinkChartLayer.d.ts +3 -2
- package/layers/LinkChartLayer.js +1 -1
- package/layers/MapImageLayer.d.ts +3 -2
- package/layers/MapImageLayer.js +1 -1
- package/layers/MapNotesLayer.d.ts +3 -2
- package/layers/MapNotesLayer.js +1 -1
- package/layers/MediaLayer.d.ts +3 -2
- package/layers/MediaLayer.js +1 -1
- package/layers/OGCFeatureLayer.d.ts +3 -2
- package/layers/OGCFeatureLayer.js +1 -1
- package/layers/ParquetLayer.d.ts +3 -2
- package/layers/ParquetLayer.js +1 -1
- package/layers/PointCloudLayer.d.ts +3 -2
- package/layers/PointCloudLayer.js +1 -1
- package/layers/RouteLayer.d.ts +3 -2
- package/layers/RouteLayer.js +1 -1
- package/layers/SceneLayer.d.ts +6 -2
- package/layers/SceneLayer.js +1 -1
- package/layers/StreamLayer.d.ts +3 -2
- package/layers/StreamLayer.js +1 -1
- package/layers/SubtypeGroupLayer.d.ts +3 -2
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/TileLayer.d.ts +3 -2
- package/layers/TileLayer.js +1 -1
- package/layers/UnknownLayer.d.ts +3 -2
- package/layers/UnknownLayer.js +1 -1
- package/layers/UnsupportedLayer.d.ts +3 -2
- package/layers/UnsupportedLayer.js +1 -1
- package/layers/VectorTileLayer.d.ts +3 -2
- package/layers/VectorTileLayer.js +1 -1
- package/layers/VideoLayer.d.ts +3 -2
- package/layers/VideoLayer.js +1 -1
- package/layers/ViewshedLayer.d.ts +3 -2
- package/layers/ViewshedLayer.js +1 -1
- package/layers/VoxelLayer.d.ts +3 -2
- package/layers/VoxelLayer.js +1 -1
- package/layers/WCSLayer.d.ts +3 -2
- package/layers/WCSLayer.js +1 -1
- package/layers/WFSLayer.d.ts +3 -2
- package/layers/WFSLayer.js +1 -1
- package/layers/WMSLayer.d.ts +3 -2
- package/layers/WMSLayer.js +1 -1
- package/layers/WMTSLayer.d.ts +3 -2
- package/layers/WMTSLayer.js +1 -1
- package/layers/WebTileLayer.d.ts +3 -2
- package/layers/WebTileLayer.js +1 -1
- package/layers/buildingSublayers/BuildingSublayer.d.ts +3 -2
- package/layers/buildingSublayers/BuildingSublayer.js +1 -1
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +3 -2
- package/layers/catalog/CatalogDynamicGroupLayer.js +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +3 -2
- package/layers/catalog/CatalogFootprintLayer.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +3 -2
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
- package/layers/media/types.d.ts +31 -5
- package/layers/mixins/ImageryTileMixin.js +1 -1
- package/layers/raster/datasets/FunctionRaster.js +1 -1
- package/layers/raster/functions/BaseRasterFunction.js +1 -1
- package/layers/raster/functions/StretchFunction.js +1 -1
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/ElevationQuery.js +1 -1
- package/layers/support/MediaElementBase.d.ts +5 -3
- package/layers/support/MediaElementBase.js +1 -1
- package/layers/support/RasterJobHandler.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/Sublayer.d.ts +3 -2
- package/layers/support/Sublayer.js +1 -1
- package/layers/support/SubtypeSublayer.d.ts +3 -2
- package/layers/support/SubtypeSublayer.js +1 -1
- package/layers/support/WMSSublayer.d.ts +3 -2
- package/layers/support/WMSSublayer.js +1 -1
- package/layers/support/layerOriginUtils.js +1 -1
- package/linkChart/LinkChartProperties.d.ts +5 -3
- package/linkChart/LinkChartProperties.js +1 -1
- package/networks/CircuitManager.d.ts +1 -1
- package/networks/Network.d.ts +4 -2
- package/networks/Network.js +1 -1
- package/networks/support/NamedTraceConfiguration.d.ts +5 -3
- package/networks/support/NamedTraceConfiguration.js +1 -1
- package/networks/support/jsonTypes.d.ts +65 -0
- package/package.json +3 -3
- package/rest/featureService/types.d.ts +42 -5
- package/rest/networks/circuits/exportCircuits.js +1 -1
- package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +10 -2
- package/rest/networks/circuits/support/ExportCircuitsParameters.js +1 -1
- package/rest/support/Query.d.ts +12 -1
- package/support/revision.js +1 -1
- package/symbols/support/symbolUtils.js +1 -1
- package/views/2d/engine/BitmapTileContainer.js +1 -1
- package/views/2d/engine/DisplayObject.js +1 -1
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/imagery/RasterTileContainer.js +1 -1
- package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolFader.js +1 -1
- package/views/2d/engine/webgl/RenderingDevice.js +1 -1
- package/views/2d/engine/webgl/TileContainer.js +1 -1
- package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueProgramCache.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/WMTSLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/features/support/Tile.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
- package/views/2d/layers/imagery/VectorFieldTileView2D.js +1 -1
- package/views/2d/layers/support/imageUtils.js +1 -1
- package/views/2d/tiling/TileCache.js +1 -1
- package/views/2d/tiling/TileInfoView.js +1 -1
- package/views/2d/tiling/TileInfoViewPOT.js +1 -1
- package/views/3d/FocusAreasView.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
- package/views/3d/camera/intersectionUtils.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/graphics/ElevationQuery.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/extrudeUtils.js +5 -0
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
- package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
- package/views/interactive/snapping/SelfSnappingEngine.js +1 -1
- package/views/interactive/snapping/SnappingContext.js +1 -1
- package/widgets/Attribution.d.ts +1 -0
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +18 -0
- package/widgets/BatchAttributeForm.d.ts +2 -0
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Feature/support/featureUtils.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +43 -4
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/FeatureTable/Grid/EditorColumn.js +1 -1
- package/widgets/FeatureTable/Grid/types.d.ts +7 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable/support/tableUtils.js +1 -1
- package/widgets/FeatureTable.d.ts +43 -4
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Legend/LegendViewModel.d.ts +6 -0
- package/widgets/Legend/styles/card/CardView.d.ts +19 -3
- package/widgets/Legend/styles/classic/ClassicView.d.ts +1 -0
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/Legend.d.ts +15 -0
- package/widgets/Search/SearchViewModel.d.ts +5 -0
- package/widgets/Search/SearchViewModel.js +1 -1
- package/widgets/Search/support/layerSearchUtils.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/smartMapping/BinaryColorSizeSlider.js +1 -1
- package/widgets/smartMapping/ClassedColorSlider.js +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.js +1 -1
- package/widgets/smartMapping/ColorSizeSlider.js +1 -1
- package/widgets/smartMapping/ColorSlider.js +1 -1
- package/widgets/smartMapping/OpacitySlider.js +1 -1
- package/widgets/smartMapping/SizeSlider.js +1 -1
- package/assets/esri/core/workers/chunks/00c77f03dd511c6dbff2.js +0 -1
- package/assets/esri/core/workers/chunks/015492d609c28077d66c.js +0 -1
- package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +0 -1
- package/assets/esri/core/workers/chunks/0429ca6ba562ae29897e.js +0 -1
- package/assets/esri/core/workers/chunks/04958494022f82dca473.js +0 -1
- package/assets/esri/core/workers/chunks/049c125085028ffdd0dd.js +0 -1
- package/assets/esri/core/workers/chunks/05e3bfd07a7a227862fd.js +0 -1
- package/assets/esri/core/workers/chunks/095c1b88cdcb91ab837e.js +0 -1
- package/assets/esri/core/workers/chunks/09b77f82c22530b44daa.js +0 -1
- package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +0 -1
- package/assets/esri/core/workers/chunks/0b679d5a1bfdbd006d6e.js +0 -1
- package/assets/esri/core/workers/chunks/0b7bbdc0d71ee6721751.js +0 -2
- package/assets/esri/core/workers/chunks/0d9e1ccc3ba8b5ed3287.js +0 -1
- package/assets/esri/core/workers/chunks/0f4e9846d074864b39c2.js +0 -1
- package/assets/esri/core/workers/chunks/0fc22ad791d3ec0a9c5e.js +0 -1
- package/assets/esri/core/workers/chunks/1037b38aade2a847bf24.js +0 -1
- package/assets/esri/core/workers/chunks/108a4ab28b6586e281d9.js +0 -1
- package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +0 -1
- package/assets/esri/core/workers/chunks/13137f35b9ab299d07e3.js +0 -1
- package/assets/esri/core/workers/chunks/13839d220e5c62404923.js +0 -1
- package/assets/esri/core/workers/chunks/1484a7ef4fcbd748b197.js +0 -1
- package/assets/esri/core/workers/chunks/14dedd80fb797303f91f.js +0 -1
- package/assets/esri/core/workers/chunks/1694b9154df3eccf602e.js +0 -1
- package/assets/esri/core/workers/chunks/16a7edb381621085a631.js +0 -1
- package/assets/esri/core/workers/chunks/16cfa7031d6dbf5aa09b.js +0 -1
- package/assets/esri/core/workers/chunks/18ab5959ebf8689f8fe8.js +0 -1
- package/assets/esri/core/workers/chunks/18b0ce0bc2a9737ffb1b.js +0 -1
- package/assets/esri/core/workers/chunks/1a6d2f525dd30d08cf9b.js +0 -1
- package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +0 -1
- package/assets/esri/core/workers/chunks/1c58bd3275c849d44b13.js +0 -1
- package/assets/esri/core/workers/chunks/1c742018eb7dfd5d23e3.js +0 -1
- package/assets/esri/core/workers/chunks/1dfa949cc4f4c18ed4cf.js +0 -1
- package/assets/esri/core/workers/chunks/1e848d9da1c61a27cf18.js +0 -1
- package/assets/esri/core/workers/chunks/20f4c6d8b310ecab97be.js +0 -1
- package/assets/esri/core/workers/chunks/218b2b767b40d85fb713.js +0 -1
- package/assets/esri/core/workers/chunks/22c115ec003351c7d8ee.js +0 -1
- package/assets/esri/core/workers/chunks/23545a9adc75564ecf6e.js +0 -1
- package/assets/esri/core/workers/chunks/23cf4cbc389d2b50e968.js +0 -1
- package/assets/esri/core/workers/chunks/24527b61c8c216becbc4.js +0 -1
- package/assets/esri/core/workers/chunks/24dab877047369de13e2.js +0 -1
- package/assets/esri/core/workers/chunks/25f3ee666f545a7a7993.js +0 -2
- package/assets/esri/core/workers/chunks/29471e0b3f7296dee096.js +0 -1
- package/assets/esri/core/workers/chunks/2b27499fa9de22970b7a.js +0 -1
- package/assets/esri/core/workers/chunks/2bd59ece927b5c1c9f80.js +0 -1
- package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +0 -1
- package/assets/esri/core/workers/chunks/2d8b8880e6bff4414e95.js +0 -1
- package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +0 -1
- package/assets/esri/core/workers/chunks/2e6ae1ca07df442fc966.js +0 -1
- package/assets/esri/core/workers/chunks/2e6bd743b88e83d43137.js +0 -1
- package/assets/esri/core/workers/chunks/3001568a99fdd14aada9.js +0 -1
- package/assets/esri/core/workers/chunks/30dd4a7c93b33988a270.js +0 -1
- package/assets/esri/core/workers/chunks/312b3cc1c91d5b419faf.js +0 -1
- package/assets/esri/core/workers/chunks/31fa3dd983e9e73fcb65.js +0 -1
- package/assets/esri/core/workers/chunks/33a13e80badd20ed8de2.js +0 -1
- package/assets/esri/core/workers/chunks/355c8d0eadfff9f62dfb.js +0 -1
- package/assets/esri/core/workers/chunks/35c98ea99000f411175f.js +0 -1
- package/assets/esri/core/workers/chunks/35e1d0cfc3c5a484422f.js +0 -1
- package/assets/esri/core/workers/chunks/360f263f32aa2342a897.js +0 -1
- package/assets/esri/core/workers/chunks/369f37060608342a4262.js +0 -1
- package/assets/esri/core/workers/chunks/36ecf951c0c7dad84b69.js +0 -1
- package/assets/esri/core/workers/chunks/37002a46f03a9fc5f644.js +0 -2
- package/assets/esri/core/workers/chunks/37258b702fe06bbcf748.js +0 -1
- package/assets/esri/core/workers/chunks/37a3e91791a18ed8b8da.js +0 -1
- package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +0 -1
- package/assets/esri/core/workers/chunks/3b1982bf7b44ff897a35.js +0 -1
- package/assets/esri/core/workers/chunks/3b25f5d9c8f78bb6e011.js +0 -1
- package/assets/esri/core/workers/chunks/3c5f07ebe1b09dcdc958.js +0 -1
- package/assets/esri/core/workers/chunks/3c66dd52ad156711a6a2.js +0 -1
- package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +0 -1
- package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +0 -1
- package/assets/esri/core/workers/chunks/41f487713c6278d389a1.js +0 -1
- package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +0 -1
- package/assets/esri/core/workers/chunks/43e2c1d72cd9c8beed2f.js +0 -2
- package/assets/esri/core/workers/chunks/44c228388a95fa958827.js +0 -1
- package/assets/esri/core/workers/chunks/45a9cd722e98dd1548ae.js +0 -1
- package/assets/esri/core/workers/chunks/46daa1ff5b412a97edc9.js +0 -1
- package/assets/esri/core/workers/chunks/46e547691bca424f2bc9.js +0 -1
- package/assets/esri/core/workers/chunks/4750f55a289bc0cf3d77.js +0 -1
- package/assets/esri/core/workers/chunks/47d2103b876b01bc26fd.js +0 -1
- package/assets/esri/core/workers/chunks/495af366ec1defd89a72.js +0 -1
- package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +0 -1
- package/assets/esri/core/workers/chunks/4bcd74951477e8977ba1.js +0 -1
- package/assets/esri/core/workers/chunks/4cbe78d6a5ff617e15d6.js +0 -1
- package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +0 -1
- package/assets/esri/core/workers/chunks/4d5591c1b4ef37075921.js +0 -1
- package/assets/esri/core/workers/chunks/4ef97eb67dc42e0052d6.js +0 -1
- package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +0 -1
- package/assets/esri/core/workers/chunks/4fcf035582fa6e93d264.js +0 -1
- package/assets/esri/core/workers/chunks/509307a2ef990ad1da8f.js +0 -301
- package/assets/esri/core/workers/chunks/50eb381b18b84b9c75a3.js +0 -1
- package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +0 -1
- package/assets/esri/core/workers/chunks/52a14266fe239b95c5ce.js +0 -1
- package/assets/esri/core/workers/chunks/52bcfb3ea563c1a301d4.js +0 -1
- package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +0 -1
- package/assets/esri/core/workers/chunks/558822b700e8bd844052.js +0 -1
- package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +0 -1
- package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +0 -1
- package/assets/esri/core/workers/chunks/56569d0c2cf5c5167651.js +0 -1
- package/assets/esri/core/workers/chunks/575a33924ec900f9e537.js +0 -1
- package/assets/esri/core/workers/chunks/584c4602d97a008afb83.js +0 -1
- package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +0 -1
- package/assets/esri/core/workers/chunks/590a7fd4f5476224ec89.js +0 -1
- package/assets/esri/core/workers/chunks/59a45533e96cedf1c480.js +0 -1
- package/assets/esri/core/workers/chunks/5a66b7f1f4da75da8e7f.js +0 -1
- package/assets/esri/core/workers/chunks/5b9f2aa3ba1bf12c3240.js +0 -2
- package/assets/esri/core/workers/chunks/5bbf20135c87a1cc8a18.js +0 -1
- package/assets/esri/core/workers/chunks/5cc217f188fd56006158.js +0 -1
- package/assets/esri/core/workers/chunks/5dc2f2e28c30386efadf.js +0 -1
- package/assets/esri/core/workers/chunks/5df49e1f283e2e83de46.js +0 -1
- package/assets/esri/core/workers/chunks/60764ea501a3a1aacc63.js +0 -1
- package/assets/esri/core/workers/chunks/6087d5dc40bb62ec48c8.js +0 -1
- package/assets/esri/core/workers/chunks/6094bba52ddada48c7ed.js +0 -1
- package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +0 -1
- package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +0 -1
- package/assets/esri/core/workers/chunks/6387308c4add226e5b83.js +0 -1
- package/assets/esri/core/workers/chunks/63b8193ad90b2ebe6884.js +0 -1
- package/assets/esri/core/workers/chunks/657602e6a84e8b4576fb.js +0 -1
- package/assets/esri/core/workers/chunks/65fd971d0574d69cbc26.js +0 -1
- package/assets/esri/core/workers/chunks/679cd6424e0e2d7f372b.js +0 -1
- package/assets/esri/core/workers/chunks/6800647240b7968be225.js +0 -1
- package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +0 -1
- package/assets/esri/core/workers/chunks/680f9c29ca96ea8e01da.js +0 -1
- package/assets/esri/core/workers/chunks/68cb43f2fa8cc826e99b.js +0 -1
- package/assets/esri/core/workers/chunks/69a68a6d6736c4b97a27.js +0 -1
- package/assets/esri/core/workers/chunks/6a3d66d7c92f90cc2a17.js +0 -1
- package/assets/esri/core/workers/chunks/6a544fb44f7da0e80f43.js +0 -1
- package/assets/esri/core/workers/chunks/6a782e8475bff4d56dbc.js +0 -1
- package/assets/esri/core/workers/chunks/6b85a8776ec2beff63cb.js +0 -1
- package/assets/esri/core/workers/chunks/6be530ab81291745485b.js +0 -2
- package/assets/esri/core/workers/chunks/6d3ae7969ea86a2e0b13.js +0 -1
- package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +0 -1
- package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +0 -1
- package/assets/esri/core/workers/chunks/6ffc1a0400298fca00ee.js +0 -1
- package/assets/esri/core/workers/chunks/729c2d26ae23d9c86547.js +0 -1
- package/assets/esri/core/workers/chunks/73bee5659414b3687cfc.js +0 -1
- package/assets/esri/core/workers/chunks/73c416ae0ec5a1815591.js +0 -2
- package/assets/esri/core/workers/chunks/74b825d4f0e7ab567b10.js +0 -1
- package/assets/esri/core/workers/chunks/75c66e38bdc1c786c599.js +0 -1
- package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +0 -1
- package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +0 -1
- package/assets/esri/core/workers/chunks/77509bd20ac5bc190c94.js +0 -1039
- package/assets/esri/core/workers/chunks/7763cf4a9a4343c28591.js +0 -1
- package/assets/esri/core/workers/chunks/7972954801b82e7afc72.js +0 -1
- package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +0 -1
- package/assets/esri/core/workers/chunks/7bc09e80bf45fe137055.js +0 -1
- package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +0 -1
- package/assets/esri/core/workers/chunks/7bf30c254228f9b7f224.js +0 -1
- package/assets/esri/core/workers/chunks/7bf491b468cd74a4166c.js +0 -1
- package/assets/esri/core/workers/chunks/7d631ebf8f79225cf0f6.js +0 -1
- package/assets/esri/core/workers/chunks/7d744554d14057d9b2b1.js +0 -1
- package/assets/esri/core/workers/chunks/7d8664aeff66e34138bd.js +0 -1
- package/assets/esri/core/workers/chunks/7db52d2451494835c160.js +0 -1
- package/assets/esri/core/workers/chunks/818b5b8027d6fe8999d6.js +0 -1
- package/assets/esri/core/workers/chunks/8195310b4c53db902fc1.js +0 -1
- package/assets/esri/core/workers/chunks/82ace0195b63790b22c9.js +0 -1
- package/assets/esri/core/workers/chunks/83117d2747bdaf480c7b.js +0 -1
- package/assets/esri/core/workers/chunks/83c5dea24e36ac2e3497.js +0 -1
- package/assets/esri/core/workers/chunks/84440efe2cc337dab81f.js +0 -1
- package/assets/esri/core/workers/chunks/84ec8ea3e40e0864798f.js +0 -1
- package/assets/esri/core/workers/chunks/852007720e3bc29532db.js +0 -1
- package/assets/esri/core/workers/chunks/85c92726121cb43a2216.js +0 -1
- package/assets/esri/core/workers/chunks/86832d94190150c70c11.js +0 -1
- package/assets/esri/core/workers/chunks/873008572c1f21cea122.js +0 -2
- package/assets/esri/core/workers/chunks/87c6470ee295d736b06d.js +0 -1
- package/assets/esri/core/workers/chunks/88379cd8e8e1c7ae3c7c.js +0 -1
- package/assets/esri/core/workers/chunks/88cbaa91c495d86f4bb0.js +0 -1
- package/assets/esri/core/workers/chunks/89853fccdf2bfcc290c0.js +0 -1
- package/assets/esri/core/workers/chunks/8c1f1eb36198ce40ef13.js +0 -1
- package/assets/esri/core/workers/chunks/8d58e59ea13ecafdd45c.js +0 -1
- package/assets/esri/core/workers/chunks/8db723b8468e408dda46.js +0 -1
- package/assets/esri/core/workers/chunks/8dca61f8ba6689379f86.js +0 -1
- package/assets/esri/core/workers/chunks/8e354c7b4858db5880a9.js +0 -1
- package/assets/esri/core/workers/chunks/8e556ff730ae96290a69.js +0 -1
- package/assets/esri/core/workers/chunks/8e62a5fcc4c7e83a903a.js +0 -1
- package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +0 -1
- package/assets/esri/core/workers/chunks/91d9ade78854f40a962d.js +0 -1
- package/assets/esri/core/workers/chunks/91fba3bebd78cb956941.js +0 -1
- package/assets/esri/core/workers/chunks/920b4def081c78c0d586.js +0 -1
- package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +0 -1
- package/assets/esri/core/workers/chunks/92a4f56232f81ca457fa.js +0 -1
- package/assets/esri/core/workers/chunks/92ef6071ea87b7f940e2.js +0 -1
- package/assets/esri/core/workers/chunks/9319d57494482668ab19.js +0 -1
- package/assets/esri/core/workers/chunks/9361834d2c3064eb41fc.js +0 -1
- package/assets/esri/core/workers/chunks/9382af94bf6bf1b09c8c.js +0 -1
- package/assets/esri/core/workers/chunks/942c80c425b1f13cced5.js +0 -1
- package/assets/esri/core/workers/chunks/95cb062cae4c31c07124.js +0 -1
- package/assets/esri/core/workers/chunks/968335b28b895e19913b.js +0 -1
- package/assets/esri/core/workers/chunks/979bc762ccc0d3fc2467.js +0 -1
- package/assets/esri/core/workers/chunks/9828b07b5f8fd9f40935.js +0 -1
- package/assets/esri/core/workers/chunks/98739414c107ad78e4d8.js +0 -1
- package/assets/esri/core/workers/chunks/988f5e003377d734d282.js +0 -1
- package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +0 -1
- package/assets/esri/core/workers/chunks/9a6bdcedcb7d2798ba30.js +0 -1
- package/assets/esri/core/workers/chunks/9afe220b5b60cfa44c95.js +0 -1
- package/assets/esri/core/workers/chunks/9ba8a2e1c0fb4e1efc7c.js +0 -1
- package/assets/esri/core/workers/chunks/9c93eadbd19bef1191b4.js +0 -1
- package/assets/esri/core/workers/chunks/9c9d359caf8354a8ec52.js +0 -1
- package/assets/esri/core/workers/chunks/9cc2832d5f625f81c08d.js +0 -1
- package/assets/esri/core/workers/chunks/9ccabf8142fb5de4d3e2.js +0 -2
- package/assets/esri/core/workers/chunks/9cec9d09f3aa5c21660d.js +0 -37
- package/assets/esri/core/workers/chunks/9d258f14199181dee424.js +0 -1
- package/assets/esri/core/workers/chunks/9e869fd6450cf874783a.js +0 -1
- package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +0 -1
- package/assets/esri/core/workers/chunks/a1594486177015e8a6c3.js +0 -1
- package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +0 -1
- package/assets/esri/core/workers/chunks/a1b8722c6acafdf1c2bf.js +0 -1
- package/assets/esri/core/workers/chunks/a3407ca77b0ff62c0e75.js +0 -1
- package/assets/esri/core/workers/chunks/a41073263af5eba3c16d.js +0 -1
- package/assets/esri/core/workers/chunks/a623676c74745e040a2a.js +0 -1
- package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +0 -1
- package/assets/esri/core/workers/chunks/a6742abe3ebe371e85f1.js +0 -1
- package/assets/esri/core/workers/chunks/a6d4256c327f07221117.js +0 -1
- package/assets/esri/core/workers/chunks/a6f29d1a6356e2de5a79.js +0 -1
- package/assets/esri/core/workers/chunks/a79fad422d41019c8232.js +0 -1
- package/assets/esri/core/workers/chunks/a8dfd246c797f3b979f5.js +0 -1
- package/assets/esri/core/workers/chunks/ab0275669e28e7a34c38.js +0 -1
- package/assets/esri/core/workers/chunks/ab5e2f823960c33cefe4.js +0 -1
- package/assets/esri/core/workers/chunks/acdbe0299024d58e1421.js +0 -1
- package/assets/esri/core/workers/chunks/ad253136c1e12f733d15.js +0 -1
- package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +0 -1
- package/assets/esri/core/workers/chunks/adff1791ae44631ad34a.js +0 -1
- package/assets/esri/core/workers/chunks/ae16fe50a54b5c0f9811.js +0 -1
- package/assets/esri/core/workers/chunks/ae18de425548bb865702.js +0 -1
- package/assets/esri/core/workers/chunks/ae6066ea6cb373dc6db3.js +0 -1
- package/assets/esri/core/workers/chunks/aeb524eded012217a865.js +0 -1
- package/assets/esri/core/workers/chunks/af00081b78fc30ac556c.js +0 -1
- package/assets/esri/core/workers/chunks/b211b53aa7616a093b90.js +0 -1
- package/assets/esri/core/workers/chunks/b28e0b89603d8b03f9e1.js +0 -1
- package/assets/esri/core/workers/chunks/b4349db7155673329432.js +0 -1
- package/assets/esri/core/workers/chunks/b48033645091c91e0d88.js +0 -1
- package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +0 -1
- package/assets/esri/core/workers/chunks/b64cfd86d9204be743c6.js +0 -1
- package/assets/esri/core/workers/chunks/b8988771bfa4e785ebd6.js +0 -1
- package/assets/esri/core/workers/chunks/ba6452acee3d6defb37e.js +0 -1
- package/assets/esri/core/workers/chunks/bb92a9daa0c5b019561f.js +0 -1
- package/assets/esri/core/workers/chunks/bc731ec9d5136f1d9253.js +0 -1
- package/assets/esri/core/workers/chunks/bd1d159dce4094694c93.js +0 -1
- package/assets/esri/core/workers/chunks/bd2a28b14e5c0a55d783.js +0 -1
- package/assets/esri/core/workers/chunks/bdbb5b33f0f49661bf6d.js +0 -1
- package/assets/esri/core/workers/chunks/befeca51530bba5e8073.js +0 -1
- package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +0 -1
- package/assets/esri/core/workers/chunks/bf88bd763fd6442a95fd.js +0 -1
- package/assets/esri/core/workers/chunks/bfe052b386ec4874f350.js +0 -1
- package/assets/esri/core/workers/chunks/c042269586921e337be9.js +0 -1
- package/assets/esri/core/workers/chunks/c0b15510a8cab98df77f.js +0 -1
- package/assets/esri/core/workers/chunks/c27842a34e73ccb46116.js +0 -1
- package/assets/esri/core/workers/chunks/c3272b09bff886b08ce1.js +0 -1
- package/assets/esri/core/workers/chunks/c38a07e936226b361b63.js +0 -1
- package/assets/esri/core/workers/chunks/c59c1e52acb5ac8f78f9.js +0 -1
- package/assets/esri/core/workers/chunks/c5cc0fc652432a9264cc.js +0 -1
- package/assets/esri/core/workers/chunks/c605bf7d1e12917ac482.js +0 -1
- package/assets/esri/core/workers/chunks/c743e561e7d73a100576.js +0 -1
- package/assets/esri/core/workers/chunks/c7838ac0db8570a2d2c1.js +0 -1
- package/assets/esri/core/workers/chunks/c8182c2cbb0ead202af6.js +0 -1
- package/assets/esri/core/workers/chunks/c91ef3814e7f024043cf.js +0 -1
- package/assets/esri/core/workers/chunks/c96083838f919a8f64cd.js +0 -1
- package/assets/esri/core/workers/chunks/cad1d7e5ce89f51b3ac9.js +0 -1
- package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +0 -1
- package/assets/esri/core/workers/chunks/cc50f96321a7c12f300b.js +0 -1
- package/assets/esri/core/workers/chunks/ccc743e41854eb225c23.js +0 -1
- package/assets/esri/core/workers/chunks/cd788ed111e1e35cf9c8.js +0 -1
- package/assets/esri/core/workers/chunks/ce3870db25566cd93d8e.js +0 -1
- package/assets/esri/core/workers/chunks/cfbe9993263fa6f69363.js +0 -1
- package/assets/esri/core/workers/chunks/d129a5a34e9ad09bd39e.js +0 -1
- package/assets/esri/core/workers/chunks/d14e75b160aa432233c6.js +0 -1
- package/assets/esri/core/workers/chunks/d21480925a8bc9c7de96.js +0 -1
- package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +0 -1
- package/assets/esri/core/workers/chunks/d364096493ceeff34c10.js +0 -1
- package/assets/esri/core/workers/chunks/d373986588f6b1b8f2d5.js +0 -1
- package/assets/esri/core/workers/chunks/d3b1d1c389d70919fb02.js +0 -1
- package/assets/esri/core/workers/chunks/d52a0c3a855029c48bd2.js +0 -1
- package/assets/esri/core/workers/chunks/d66973e926bc03e2359a.js +0 -1
- package/assets/esri/core/workers/chunks/d7cd1d879768df629716.js +0 -1
- package/assets/esri/core/workers/chunks/d7df5e4028d502712317.js +0 -1
- package/assets/esri/core/workers/chunks/d90564fbafc00df2d56d.js +0 -1
- package/assets/esri/core/workers/chunks/d9ca754f51b9812bb179.js +0 -1
- package/assets/esri/core/workers/chunks/d9ef0b3341e2744d8f2f.js +0 -1
- package/assets/esri/core/workers/chunks/da5ce19ecf3a5e92a2a9.js +0 -1
- package/assets/esri/core/workers/chunks/da7685ec2b6eaf00fd2d.js +0 -1
- package/assets/esri/core/workers/chunks/dae715b2b0094641e42f.js +0 -1
- package/assets/esri/core/workers/chunks/db04b0a30cce9e476551.js +0 -1
- package/assets/esri/core/workers/chunks/db28d00171240b4fffac.js +0 -1
- package/assets/esri/core/workers/chunks/db4661fd82dc61162115.js +0 -1
- package/assets/esri/core/workers/chunks/dbd382546837aa7709e2.js +0 -1
- package/assets/esri/core/workers/chunks/dddb6cb44cbe4dc1af97.js +0 -1
- package/assets/esri/core/workers/chunks/de60421029fbcebe2950.js +0 -1
- package/assets/esri/core/workers/chunks/df33d5a08e1b6dc00f45.js +0 -1
- package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +0 -1
- package/assets/esri/core/workers/chunks/e03c706e327f4989280a.js +0 -1
- package/assets/esri/core/workers/chunks/e0648f5aed9d939928dc.js +0 -1
- package/assets/esri/core/workers/chunks/e071b912539304564b69.js +0 -1
- package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +0 -1
- package/assets/esri/core/workers/chunks/e34b7acc963288ca0f04.js +0 -1
- package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +0 -1
- package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +0 -1
- package/assets/esri/core/workers/chunks/e615a935bbf1168fac43.js +0 -1
- package/assets/esri/core/workers/chunks/e8bf362b2631f977b1cb.js +0 -1
- package/assets/esri/core/workers/chunks/e8e4d48ab4024e17108d.js +0 -1
- package/assets/esri/core/workers/chunks/e97787de88e2992add13.js +0 -1
- package/assets/esri/core/workers/chunks/eaadcc43837c465342cc.js +0 -1
- package/assets/esri/core/workers/chunks/eb7eb3b3b8800fd73f3e.js +0 -1
- package/assets/esri/core/workers/chunks/ecb4c223c0278971cdc9.js +0 -1
- package/assets/esri/core/workers/chunks/ed7e353e290b3a272457.js +0 -1
- package/assets/esri/core/workers/chunks/ee361690b456c12c30d8.js +0 -1
- package/assets/esri/core/workers/chunks/ef639d31c94d2b55b8d4.js +0 -1
- package/assets/esri/core/workers/chunks/ef977be20a647aeded0a.js +0 -1
- package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +0 -1
- package/assets/esri/core/workers/chunks/f0100b34f8b13fb37157.js +0 -1
- package/assets/esri/core/workers/chunks/f0914715e90e43466f8c.js +0 -1
- package/assets/esri/core/workers/chunks/f0a667d8d33bc51c795d.js +0 -1
- package/assets/esri/core/workers/chunks/f1e5d52e550326e49d1e.js +0 -1
- package/assets/esri/core/workers/chunks/f2b63597ae956db74eb3.js +0 -1
- package/assets/esri/core/workers/chunks/f32d4813b450a3eb4262.js +0 -1
- package/assets/esri/core/workers/chunks/f3b2c81f5ad26a58a4bd.js +0 -1
- package/assets/esri/core/workers/chunks/f54ec21fa67db6fef5a6.js +0 -1
- package/assets/esri/core/workers/chunks/f57b5720ce827f5845cd.js +0 -1
- package/assets/esri/core/workers/chunks/f5a695dc51793b138b23.js +0 -1
- package/assets/esri/core/workers/chunks/f5f584d325f8f2ea825f.js +0 -1
- package/assets/esri/core/workers/chunks/f65d26588d2d80680a26.js +0 -1
- package/assets/esri/core/workers/chunks/f65f1798f398bc549463.js +0 -1
- package/assets/esri/core/workers/chunks/f72e6c903f55ce95a6c5.js +0 -1
- package/assets/esri/core/workers/chunks/f77b93bef06bae03c1c6.js +0 -1
- package/assets/esri/core/workers/chunks/f7dfbf24859f4ac2421b.js +0 -1
- package/assets/esri/core/workers/chunks/f8438642a9bdd8980b4b.js +0 -1
- package/assets/esri/core/workers/chunks/f98689562017583f73ee.js +0 -1
- package/assets/esri/core/workers/chunks/fdb5b5d8a7c99a0bf5f9.js +0 -1
- package/assets/esri/core/workers/chunks/fdbe16e3b23e01655c0c.js +0 -1
- package/assets/esri/core/workers/chunks/fe07390e27f8cd5e93a8.js +0 -1
- package/assets/esri/core/workers/chunks/fe33b11ec3f58a0f541a.js +0 -1
- package/assets/esri/core/workers/chunks/ff8e2f998169ca3a7a68.js +0 -1
- package/assets/esri/core/workers/chunks/ffdba51e7256ebf8ebd3.js +0 -1
- /package/assets/esri/core/workers/chunks/{873008572c1f21cea122.js.LICENSE.txt → 91e307ca0d11804a7a1d.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8141],{10427(e,t,s){s.d(t,{A:()=>a});var i=s(31635),r=s(69540),o=s(25482),n=s(91429);let a=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.type="location",this.xField=null,this.yField=null}};(0,i.Cg)([(0,n.MZ)({type:["location"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"xField",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"yField",void 0),a=(0,i.Cg)([(0,n.$K)("esri.layers.support.ParquetGeometryEncodingLocation")],a)},16238(e,t,s){s.d(t,{A:()=>a});var i=s(31635),r=s(69540),o=s(25482),n=s(91429);let a=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.type="wkb",this.field=null}};(0,i.Cg)([(0,n.MZ)({type:["wkb"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:["counter-clockwise"],json:{write:!0}})],a.prototype,"orientation",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"field",void 0),a=(0,i.Cg)([(0,n.$K)("esri.layers.support.ParquetGeometryEncodingWkb")],a)},42760(e,t,s){s.d(t,{hG:()=>y,nc:()=>m,sA:()=>h,ye:()=>d}),s(7762);var i=s(49186),r=s(66552),o=s(16930),n=s(20437),a=s(30524),u=s(54625),l=s(10427),c=s(16238),p=s(63892);const d=new r.J({esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint"}),f=new Set(["uncompressed","snappy","gzip"]);function h(e){return d.toJSON(e)}function y(e){return d.fromJSON(e)}async function m(e,t={}){if(e.urls.length<1)throw new i.A("parquet:bad-input","At least one url must be specified",e);if(e.geometryType&&e.spatialReference&&e.geometryEncoding&&e.fields)return e;const s=await(0,p.DV)(e.urls.getItemAt(0),{getCustomParameters:()=>t.customParameters});for(const e of s.compressionCodecs())if(!f.has(e))throw new i.A("parquet:unsupported",`Compression codec ${e} is unsupported. Must be of type ${Array.from(f).join(",")}`);const r=(0,p.hD)(s),d={...e,file:s};if(null==d.fields&&(d.fields=s.fields(!1).map(e=>n.A.fromJSON({name:e.name,alias:e.name,type:e.type}))),null!=d.geometryEncoding){const e=d.geometryEncoding;switch(e.type){case"wkb":{const t=d.fields.find(t=>t.name===e.field);if(!t)throw new i.A("parquet:unsupported",`Geometry encoding references field ${e.field} which does not exist`);if("blob"!==t.type)throw new i.A("parquet:unsupported",`Invalid field type for geometry encoding. Found ${t.type} but expected 'blob'`);break}case"location":for(const t of[e.xField,e.yField])if(null!=t){const e=d.fields.find(e=>e.name===t);if(!e)throw new i.A("parquet:unsupported",`Geometry encoding references field ${t} which does not exist`);if(!(0,a.WA)(e))throw new i.A("parquet:unsupported",`Invalid field type for location geometry encoding. Found ${e.type} but expected a numeric`)}}}null==d.geometryEncoding&&(d.geometryEncoding=function(e,t){if(null!=e){const t=e.primary_column,s=e.columns[t];return new c.A({field:t,orientation:"counterclockwise"===s.orientation?"counter-clockwise":null})}const s=t.filter(e=>(0,a.WA)(e)).map(e=>e.name),i=(0,u.i_)(s);return i.latitudeFieldName&&i.longitudeFieldName?new l.A({xField:i.longitudeFieldName,yField:i.latitudeFieldName}):null}(r,d.fields));const h=(0,p.Xj)(s);if(h&&(d.displayOptimization=h),d.geometryEncoding)switch(d.geometryEncoding.type){case"location":null==d.spatialReference&&(d.spatialReference=o.A.WGS84),null==d.geometryType&&(d.geometryType="point");break;case"wkb":{if(!r)return d;const e=r.primary_column,t=r.columns[e];if(d.geometryType||(d.geometryType=function(e){const{geometry_types:t}=e,s=new Set;for(const e of t){const t=g(e);t&&s.add(t)}if(s.size>1)throw new i.A("parquet:unsupported","Parquet mixed geometry types are not supported",{geometryTypes:s});return 1===s.size?s.values().next().value:void 0}(t)),d.spatialReference||(d.spatialReference=function(e){const t=e.crs?.id?.code;return t&&"number"==typeof t?new o.A({wkid:t}):void 0}(t)),d.fields)for(const e of Object.keys(r.columns))d.fields=d.fields.filter(t=>t.name!==e)}}if(d.displayOptimization){const e=d.displayOptimization.index;if(!d.spatialReference&&e.wkid&&(d.spatialReference=new o.A({wkid:e.wkid})),!d.geometryType)switch(e.type){case"z":d.geometryType="point";break;case"xz":d.geometryType=e.geometryType}}return d}function g(e){switch(e){case"Point":return"point";case"Polygon":case"MultiPolygon":return"polygon";case"LineString":return"polyline";case"MultiPoint":return"multipoint";default:return null}}},48459(e,t,s){s.r(t),s.d(t,{default:()=>M});var i=s(31635),r=s(7762),o=s(21818),n=s(49186),a=s(44208),u=s(53966),l=s(74887),c=s(563),p=s(16930),d=s(70328),f=s(56390),h=s(8384),y=s(64714),m=s(20437),g=s(95466),_=s(30524),w=s(10427),S=s(16238);function z(e){switch(e.type){case"wkb":return S.A.fromJSON(e);case"location":return w.A.fromJSON(e)}}var x=s(42760),b=s(39412),R=s(63892),v=s(30661),F=s(28923),C=s(44320),I=s(35258),A=s(16630);const O=new v.Z,q="__OBJECTID";class M{constructor(){this._fileInfos=new Map,this._queue=new c.QueueProcessor({concurrency:4,process:(e,t)=>this._executeQuery(e,t)})}async load(e){const t=e.spatialReference?p.A.fromJSON(e.spatialReference):void 0;if(t&&!t.isWGS84&&!t.isWebMercator)throw new n.A("parquet:unsupported-projection","Only WGS84 and Web Mercator are supported");const s=await(0,x.nc)({urls:new r.A(e.urls),fields:e.fields?.map(e=>m.A.fromJSON(e)),geometryEncoding:e.geometryEncoding?z(e.geometryEncoding):null,geometryType:e.geometryType?(0,x.hG)(e.geometryType):null,displayOptimization:e.displayOptimization,spatialReference:t},{customParameters:e.customParameters});if(!s.fields)throw new n.A("parquet:unsupported","Fields must be defined");let o;if(s.spatialReference&&s.geometryType){if(!s.spatialReference)throw new n.A("parquet:unsupported","SpatialReference must be defined");if(!s.spatialReference.isGeographic&&!s.spatialReference.isWebMercator)throw new n.A("parquet:unsupported-projection","Only WGS84 and Web Mercator are supported");s.spatialReference.isGeographic&&!s.spatialReference.isWGS84&&(u.A.getLogger("parquet:unsupported-projection").warn("Found a geographic projection that is not WGS84. Handling as WGS84.",{spatialReference:s.spatialReference}),s.spatialReference=p.A.WGS84),o={geometry:s.geometryEncoding?{geometryType:(0,x.sA)(s.geometryType),spatialReference:s.spatialReference.toJSON(),encoding:s.geometryEncoding.toJSON()}:null,displayOptimization:s.displayOptimization}}this.setCustomParameters(e.customParameters),this._geometryInfo=o;const a=e.urls;for(const e of a){const t=await(0,R.DV)(e,{geometryInfo:o,getCustomParameters:()=>this._customParameters});this._fileInfos.set(e,{index:this._fileInfos.size,file:t})}this._capabilities=k(this.getFileStatistics());const l=this._fileInfos.values().next().value?.file;if(!l)return{layerDefinition:{},capabilities:k(null)};const{fields:c}=s;if(null==c)throw new n.A("parquet-layer:missing-metadata","Unable to create parquet source: cannot infer fields",c);c.push(new m.A({name:q,type:"oid",alias:q}));const f={fields:c.map(e=>({...e.toJSON(),column:l.columnForFieldName(e.name)})),timeZoneByFieldName:null},h=g.A.fromJSON(f);this._fieldsIndex=h;const _=(0,x.sA)(s.geometryType??"point");if(this._metadata=I.i.createFeature({fieldsIndex:f,geometryType:_,featureIdInfo:{type:"object-id",fieldName:"rowId"},subtypes:null,subtypeField:null,types:null,typeIdField:null,globalIdField:null,spatialReference:s.spatialReference,outSpatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null}),this._queryEngineParams={fieldsIndex:this._metadata.fieldsIndex,geometryType:_,featureIdInfo:{type:"object-id",fieldName:"rowId"},hasM:!1,hasZ:!1,spatialReference:s.spatialReference?.toJSON()??{wkid:4326},aggregateAdapter:null,timeInfo:null,definitionExpression:null},s.spatialReference&&(this._fullExtent=function(e,t){const s=(0,d.hZ)((0,d.vt)(),d.qv);for(const t of e){const e=(0,R.hD)(t.file);if(!e)return null;const i=e.columns[e.primary_column];if(!i.bbox)return null;const r=G(i.bbox);(0,d.RF)(s,r)}return{xmin:s[0],ymin:s[1],xmax:s[3],ymax:s[4],spatialReference:t}}(this._fileInfos.values(),s.spatialReference.toJSON())),null==this._fullExtent&&"location"===s.geometryEncoding?.type){const{xField:e,yField:t}=s.geometryEncoding,r=(0,d.hZ)((0,d.vt)(),d.qv);for(const s of this._fileInfos.values())for(const o of s.file.rowGroups()){const s={stack:[],error:void 0,hasError:!1};try{const n=(0,i.mS)(s,o.columnDescriptorForAttribute(e),!1),a=(0,i.mS)(s,o.columnDescriptorForAttribute(t),!1),u=[n.minValue(),a.minValue(),n.maxValue(),a.maxValue()];(0,d.DC)(r,u),o.free()}catch(e){s.error=e,s.hasError=!0}finally{(0,i.hk)(s)}}this._fullExtent={xmin:r[0],ymin:r[1],xmax:r[3],ymax:r[4],spatialReference:s.spatialReference?.toJSON()}}return{capabilities:this._capabilities,layerDefinition:{fields:s.fields?.map(e=>e.toJSON()),drawingInfo:(0,y.F0)(_),extent:this._fullExtent??void 0,geometryType:_,geometryEncoding:s.geometryEncoding?.toJSON(),displayOptimization:s.displayOptimization}}}destroy(){for(const e of this._fileInfos.values())e.file.free();this._fileInfos.clear(),this._queue.destroy()}setCustomParameters(e){this._customParameters=e}getFileStatistics(){if(!this._fileInfos.size)return null;const e=Array.from(this._fileInfos.values()).reduce((e,t)=>e+t.file.byteLength(),0);return{featureCount:this._getFeatureCount(),byteLength:e}}async updateFiles(e){const t=new Set(e);for(const[e,s]of this._fileInfos.entries())t.has(e)?t.delete(e):(s.file.free(),this._fileInfos.delete(e));for(const e of t){const t=await(0,R.DV)(e,{geometryInfo:this._geometryInfo,getCustomParameters:()=>this._customParameters});this._fileInfos.set(e,{index:this._fileInfos.size,file:t})}}async queryFeatures(e,t){return this._validateQuery(e),function(e){return!!(e.objectIds?.length||e.outStatistics||e.orderByFields?.length||e.returnDistinctValues)}(e)||(e.resultRecordCount=e.resultRecordCount?Math.min(e.resultRecordCount,8e3):8e3,e.resultOffset=e.resultOffset??0),(e.outStatistics||e.returnDistinctValues)&&delete e.returnGeometry,(await this._enqueueQuery(e,t)).createQueryResponse()}async queryFeatureCount(e,t){return this._validateQuery(e),E(e)?(delete e.outFields,delete e.returnGeometry,(await this._enqueueQuery(e,t)).createQueryResponseForCount()):this._getFeatureCount()}async queryObjectIds(e,t){return this._validateQuery(e),E(e)?(e.resultRecordCount=e.resultRecordCount?Math.min(e.resultRecordCount,8e3):8e3,e.resultOffset=e.resultOffset??0,delete e.returnGeometry,delete e.outFields,(await this._enqueueQuery(e,t)).items.map(e=>e.getObjectId())):Array.from({length:this._getFeatureCount()},(e,t)=>t)}async queryExtent(e,t){if(this._validateQuery(e),this._fullExtent&&!E(e))return{count:this._getFeatureCount(),extent:this._fullExtent};const s=(0,o.z)(this._metadata.spatialReference);e.returnGeometry=!0,delete e.outFields;const i=(0,d.hZ)((0,d.vt)(),d.qv),r=(0,d.vt)(),n=await this._enqueueQuery(e,t);let a=0;for(const e of n.items)e.getBounds(r)&&((0,d.RF)(i,r),a+=1);return{count:a,extent:(0,f.Wc)(i,s,e.outSR?(0,o.z)(e.outSR):s,s,!1)}}_getFeatureCount(){return Array.from(this._fileInfos.values()).reduce((e,t)=>e+t.file.numRows(),0)}_validateQuery(e){if(!this._capabilities.query.supportsStatistics&&e.outStatistics)throw new n.A("parquet:unsupported","Statistics queries are not supported",{query:e});if(!this._capabilities.query.supportsOrderBy&&e.orderByFields?.length)throw new n.A("parquet:unsupported","Queries using orderBy are not supported",{query:e});if(!this._capabilities.query.supportsDistinct&&e.returnDistinctValues)throw new n.A("parquet:unsupported","Queries using returnDistinctValues are not supported",{query:e})}async*_fetchChunks(e,t){const s=await(0,b.N)();for(const i of this._fileInfos.values()){const r=s.Query.new();r.setOutFields(e.fields),r.setReturnGeometry(e.returnGeometry);const o=await i.file.executeQuery(r),n=[],a=o.next(t);for(let e=0;e<4;e++)n.push(o.next(t));let u=await a;for(;null!=u;){(0,l.Te)(t);const e=new A.s(this._metadata,this._fieldsIndex,u,i.index),s=T([new F.j(e,null,0,!1)],this._queryEngineParams),r=n.shift();n.push(o.next(t)),yield s,u=await r}}}_enqueueQuery(e,t){return this._queue.push(e,t)}async _executeQuery(e,t){const s=await this._getReadParams(e),i=await(0,b.N)();if(e.objectIds?.length)for(const r of this._fileInfos.values()){const o=i.Query.new();o.setOutFields(s.fields),o.setReturnGeometry(s.returnGeometry),o.setIds(new Uint32Array(e.objectIds));const n=await r.file.executeQuery(o,t);let a=await n.next(t),u=0;const l=[];for(;null!=a;){const e=new A.s(this._metadata,this._fieldsIndex,a,r.index),s=new F.j(e,null,u++,!1);l.push(s),a=await n.next(t)}const c=[],p=T(l,this._queryEngineParams),d=await p.executeQueryForOpaqueFeatures(e,t);for(const e of d)c.push(e);return new h.G(c,e,{fieldsIndex:this._fieldsIndex,geometryType:this._metadata.geometryType,spatialReference:this._queryEngineParams.spatialReference,objectIdField:"rowId",hasM:!1,hasZ:!1,featureAdapter:O})}let r=e.resultRecordCount??this._getFeatureCount(),o=e.resultOffset??0;delete e.resultRecordCount,delete e.resultOffset;const n=[];for await(const i of this._fetchChunks(s,t)){const s=await i.executeQueryForOpaqueFeatures(e,t);if(s.length>o){const t=s.slice(o,Math.min(o+r,s.length));for(const e of t)n.push(e);if(o=0,r-=t.length,0===r)return new h.G(n,e,{fieldsIndex:this._fieldsIndex,geometryType:this._metadata.geometryType,spatialReference:this._queryEngineParams.spatialReference,objectIdField:"rowId",hasM:!1,hasZ:!1,featureAdapter:O})}else o-=s.length}return new h.G(n,e,{fieldsIndex:this._fieldsIndex,geometryType:this._metadata.geometryType,spatialReference:this._queryEngineParams.spatialReference,objectIdField:"rowId",hasM:!1,hasZ:!1,featureAdapter:O})}async _getReadParams(e){const t=new Set;if(e.where&&await(0,_.hz)(t,this._fieldsIndex,e.where),e.outStatistics)for(const s of e.outStatistics)null!=s.onStatisticField&&t.add(s.onStatisticField);if(e.outFields)for(const s of e.outFields)t.add(s);return{fields:(t.has("*")?this._fieldsIndex.fields.map(e=>e.name):Array.from(t)).filter(e=>null!=this._fieldsIndex.get(e)?.column),returnGeometry:!!e.returnGeometry||!!e.geometry}}}function E(e){return Object.keys(e).some(e=>function(e){switch(e){case"resultOffset":case"resultRecordCount":case"aggregateIds":case"distance":case"gdbVersion":case"geometry":case"having":case"timeExtent":case"where":case"objectIds":case"historicMoment":return!0;default:return!1}}(e))}function T(e,t){const s=new C.I;for(const t of e)s.insert(t);return new f.do({...t,featureStore:s})}function G(e){switch(e.length){case 4:return(0,d.Jt)((0,d.vt)(),e);case 6:return e;default:throw new n.A("parquet:protocol-violation","Invalid Geoparquet file. BoundingBox size must be 4 or 6.",{bbox:e})}}function k(e){const t=e?.featureCount;let s=!1;return null!=t&&t<(0,a.A)("parquetlayer-full-query-feature-count")&&(s=!0),{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:!1},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!1,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1,supportsAsyncConvert3D:!1},query:{maxRecordCount:8e3,maxRecordCountFactor:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,supportsCacheHint:!1,supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!1,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:s,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:s,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsPercentileStatistics:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryByAnonymous:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsReturnMesh:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsStatistics:s,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,supportsSqlExpression:!1,supportsTrueCurve:!1,tileMaxRecordCount:void 0},queryAttributeBins:{supportsDate:!1,supportsFixedInterval:!1,supportsAutoInterval:!1,supportsFixedBoundaries:!1,supportsStackBy:!1,supportsSplitBy:!1,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!1},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsTrueCurveUpdate:!1,supportsTrueCurveUpdateByTrueCurveClientsOnly:!0,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUploadWithItemId:!1,supportsUpdateWithoutM:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},54625(e,t,s){s.d(t,{i_:()=>r});var i=s(30524);function r(e,t,s){t=(0,i.rS)(t)?.toLowerCase(),s=(0,i.rS)(s)?.toLowerCase();const r=e.map(e=>e.toLowerCase()),a=t?e[r.indexOf(t)]:null,u=s?e[r.indexOf(s)]:null;return{longitudeFieldName:a||e[r.indexOf(n.find(e=>r.includes(e)))],latitudeFieldName:u||e[r.indexOf(o.find(e=>r.includes(e)))]}}const o=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],n=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"]},66344(e,t,s){s.d(t,{q:()=>a});const i=!!(0,s(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db.clear()}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const s=this._db.get(e.id+t);return s?.size??0}put(e,t,s,r,n){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==s&&this._notifyRemove(t,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(t,s,r,0);if(void 0===s)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return i||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,s,0,0);const u=1+Math.max(n,-4)- -3;this._db.set(t,new o(s,r,u)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const s=this._db.get(t);if(!s)return;this._size-=s.size,e.size-=s.size;let i=s.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,s.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}s.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const s=this._db.get(t);if(s)return this._size-=s.size,e.size-=s.size,this._db.delete(t),++this._hit,s.entry;++this._miss}get(e,t){t=e.id+t;const s=this._db.get(t);if(void 0!==s)return this._db.delete(t),s.lives=s.lifetime,this._db.set(t,s),++this._hit,s.entry;++this._miss}peek(e,t){const s=this._db.get(e.id+t);return s?++this._hit:++this._miss,s?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},s=new Array;this._db.forEach((e,i)=>{const r=e.lifetime;s[r]=(s[r]||0)+e.size,this._users.forEach(s=>{const{id:r,name:o}=s;if(i.startsWith(r)){const s=t[o]||0;t[o]=s+e.size}})});const i={};this._users.forEach(e=>{const s=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[s]||0;t[s]=r,i[s]=Math.round(100*e.hitRate)+"%"}else i[s]="0%"});const r=Object.keys(t);r.sort((e,s)=>t[s]-t[e]),r.forEach(s=>e[s]=Math.round(t[s]/2**20)+"MB / "+i[s]);for(let t=s.length-1;t>=0;--t){const i=s[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,s)=>{s.startsWith(t)&&(this._size-=e.size,this._db.delete(s),this._notifyRemove(s,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,s]of this._db)t.startsWith(e.id)&&(yield s.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,s,i){const r=this._users.get(e.split(n)[0])?.removeFunc,o=r?.(t,i,s);return"number"==typeof o?o:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const s=t??this;if(s.size<=e)return;const i=t?.id;let r=!0;for(;r;){r=!1;for(const[o,a]of this._db)if(0===a.lifetime&&(!i||o.startsWith(i))){const i=t??this._users.get(o.split(n)[0]);if(this._purgeItem(o,a,i),s.size<=.9*e)return;r||=this._db.has(o)}}for(const[r,o]of this._db)if(!i||r.startsWith(i)){const i=t??this._users.get(r.split(n)[0]);if(this._purgeItem(r,o,i),s.size<=.9*e)return}}_purgeItem(e,t,s){if(this._db.delete(e),t.lives<=1){this._size-=t.size,s&&(s.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,s&&(s.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class o{constructor(e,t,s){this.entry=e,this.size=t,this.lifetime=s,this.lives=s}}const n=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new r,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,s=1){this._storage.put(this,e,t,s,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},69540(e,t,s){s.d(t,{OU:()=>c,Pw:()=>p});var i=s(31635),r=s(69622),o=(s(44208),s(4718)),n=(s(53966),s(97768)),a=s(88620),u=s(64108);const l=Symbol("ClonableMixin"),c=e=>{var t;const s=e;let r=class extends s{constructor(){super(...arguments),this[t]=!0}static{t=l}clone(e){const t=(0,a.oY)(this);(0,n.Lw)(t,"unable to clone instance of non-accessor class");const s=t.metadata,i=t.store,r={},u=new Map;for(const t in s){const n=s[t],a=i?.originOf(t),l=n.clonable;if(n.readOnly||!1===l||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let p=null;if("function"==typeof l)p=l(c,e);else if("reference"===l)p=c;else if(p=(0,o.TU)(c,e),null!=c&&null==p)continue;0===a?u.set(t,p):r[t]=p}const l=new(0,Object.getPrototypeOf(this).constructor)(r);if(u.size){const e=(0,a.oY)(l)?.store;if(e)for(const[t,s]of u)e.set(t,s,0)}return l}};return r=(0,i.Cg)([(0,u.$)("esri.core.Clonable")],r),r},p=c(r.A)},76213(e,t,s){s.d(t,{C2:()=>n,CQ:()=>i,DY:()=>r,GR:()=>y,Gh:()=>u,MZ:()=>d,TB:()=>h,U5:()=>a,_M:()=>l,cp:()=>m,eG:()=>o,fq:()=>f,hM:()=>p,ie:()=>c});const i=512,r=29,o=24,n=4,a=6,u=1.05,l=3,c=3,p=4,d=1,f=10,h=256,y=32,m=512},93470(e,t,s){s.d(t,{Cb:()=>o,HW:()=>c,JR:()=>r,JZ:()=>u,WR:()=>a,b6:()=>p,fT:()=>i,nC:()=>l,yM:()=>n});const i=[252,146,31,255],r=[153,153,153,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},u={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},l={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},c={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},p={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5859],{6774(t,i,s){s.d(i,{O3:()=>h,Ox:()=>_,bR:()=>e});class e{constructor(t,i){this.x=t,this.y=i}static fromArray(t){return new e(t[0],t[1])}clone(){return new e(this.x,this.y)}equals(t,i){return t===this.x&&i===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,i){return this.x=t,this.y=i,this}normalize(){const t=this.x,i=this.y,s=Math.sqrt(t*t+i*i);return this.x/=s,this.y/=s,this}rightPerpendicular(){const t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){const t=this.x;return this.x=-this.y,this.y=t,this}move(t,i){return this.x+=t,this.y+=i,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this}assignSub(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this}rotate(t,i){const s=this.x,e=this.y;return this.x=s*t-e*i,this.y=s*i+e*t,this}rotateReverse(t,i){const s=this.x,e=this.y;return this.x=s*t+e*i,this.y=-s*i+e*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){const t=this.x,i=this.y;return Math.sqrt(t*t+i*i)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,i){const s=i.x-t.x,e=i.y-t.y;return Math.sqrt(s*s+e*e)}static add(t,i){return new e(t.x+i.x,t.y+i.y)}static sub(t,i){return new e(t.x-i.x,t.y-i.y)}}class n{constructor(t,i,s){this.ratio=t,this.x=i,this.y=s}}class h{constructor(t,i,s,e=8,n=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=e,this._pixelMargin=n,this._tileSize=512*e,this._dz=t,this._yPos=i,this._xPos=s}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let i=this._pixelRatio*this._pixelMargin;i/=this._finalRatio;const s=t>>this._dz;i>s&&(i=s),this._margin=i,this._xmin=s*this._xPos-i,this._ymin=s*this._yPos-i,this._xmax=this._xmin+s+2*i,this._ymax=this._ymin+s+2*i}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,i){this._pushLine(),this._prevIsIn=this._isIn(t,i),this._moveTo(t,i,this._prevIsIn),this._prevPt=new e(t,i),this._firstPt=new e(t,i),this._dist=0}lineTo(t,i){const s=this._isIn(t,i),h=new e(t,i),_=e.distance(this._prevPt,h);let r,a,o,l,x,u,y,c;if(s)this._prevIsIn?this._lineTo(t,i,!0):(r=this._prevPt,a=h,o=this._intersect(a,r),this._start=this._dist+_*(1-this._r),this._lineTo(o.x,o.y,!0),this._lineTo(a.x,a.y,!0));else if(this._prevIsIn)a=this._prevPt,r=h,o=this._intersect(a,r),this._lineTo(o.x,o.y,!0),this._lineTo(r.x,r.y,!1);else{const t=this._prevPt,i=h;if(t.x<=this._xmin&&i.x<=this._xmin||t.x>=this._xmax&&i.x>=this._xmax||t.y<=this._ymin&&i.y<=this._ymin||t.y>=this._ymax&&i.y>=this._ymax)this._lineTo(i.x,i.y,!1);else{const s=[];if((t.x<this._xmin&&i.x>this._xmin||t.x>this._xmin&&i.x<this._xmin)&&(l=(this._xmin-t.x)/(i.x-t.x),c=t.y+l*(i.y-t.y),c<=this._ymin?u=!1:c>=this._ymax?u=!0:s.push(new n(l,this._xmin,c))),(t.x<this._xmax&&i.x>this._xmax||t.x>this._xmax&&i.x<this._xmax)&&(l=(this._xmax-t.x)/(i.x-t.x),c=t.y+l*(i.y-t.y),c<=this._ymin?u=!1:c>=this._ymax?u=!0:s.push(new n(l,this._xmax,c))),(t.y<this._ymin&&i.y>this._ymin||t.y>this._ymin&&i.y<this._ymin)&&(l=(this._ymin-t.y)/(i.y-t.y),y=t.x+l*(i.x-t.x),y<=this._xmin?x=!1:y>=this._xmax?x=!0:s.push(new n(l,y,this._ymin))),(t.y<this._ymax&&i.y>this._ymax||t.y>this._ymax&&i.y<this._ymax)&&(l=(this._ymax-t.y)/(i.y-t.y),y=t.x+l*(i.x-t.x),y<=this._xmin?x=!1:y>=this._xmax?x=!0:s.push(new n(l,y,this._ymax))),0===s.length)x?u?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):u?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(s.length>1&&s[0].ratio>s[1].ratio)this._start=this._dist+_*s[1].ratio,this._lineTo(s[1].x,s[1].y,!0),this._lineTo(s[0].x,s[0].y,!0);else{this._start=this._dist+_*s[0].ratio;for(let t=0;t<s.length;t++)this._lineTo(s[t].x,s[t].y,!0)}this._lineTo(i.x,i.y,!1)}}this._dist+=_,this._prevIsIn=s,this._prevPt=h}close(){if(this._line.length>2){const t=this._firstPt,i=this._prevPt;t.x===i.x&&t.y===i.y||this.lineTo(t.x,t.y);const s=this._line;let e=s.length;for(;e>=4&&(s[0].x===s[1].x&&s[0].x===s[e-2].x||s[0].y===s[1].y&&s[0].y===s[e-2].y);)s.pop(),s[0].x=s[e-2].x,s[0].y=s[e-2].y,--e}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&r.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw new Error("Only valid for lines");this._pushLine();const t=this._lines,i=t.length;if(0===i)return null;const s=[];for(let e=0;e<i;e++)s.push({line:t[e],start:this._starts[e]||0});return s}_isIn(t,i){return t>=this._xmin&&t<=this._xmax&&i>=this._ymin&&i<=this._ymax}_intersect(t,i){let s,n,h;if(i.x>=this._xmin&&i.x<=this._xmax)n=i.y<=this._ymin?this._ymin:this._ymax,h=(n-t.y)/(i.y-t.y),s=t.x+h*(i.x-t.x);else if(i.y>=this._ymin&&i.y<=this._ymax)s=i.x<=this._xmin?this._xmin:this._xmax,h=(s-t.x)/(i.x-t.x),n=t.y+h*(i.y-t.y);else{n=i.y<=this._ymin?this._ymin:this._ymax,s=i.x<=this._xmin?this._xmin:this._xmax;const e=(s-t.x)/(i.x-t.x),_=(n-t.y)/(i.y-t.y);e<_?(h=e,n=t.y+e*(i.y-t.y)):(h=_,s=t.x+_*(i.x-t.x))}return this._r=h,new e(s,n)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,i,s){3!==this._type?s&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,i))):(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,i)),this._isH=!1,this._isV=!1)}_lineTo(t,i,s){let n,h;if(3!==this._type)if(s){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(n=this._line[this._line.length-1],n.equals(t,i)))return;this._line.push(new e(t,i))}else this._line&&this._line.length>0&&this._pushLine();else if(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){n=this._line[this._line.length-1];const s=n.x===t,_=n.y===i;if(s&&_)return;this._isH&&s||this._isV&&_?(n.x=t,n.y=i,h=this._line[this._line.length-2],h.x===t&&h.y===i?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(h=this._line[this._line.length-2],this._isH=h.x===t,this._isV=h.y===i)):(this._isH=h.x===t,this._isV=h.y===i)):(this._line.push(new e(t,i)),this._isH=s,this._isV=_)}else this._line.push(new e(t,i))}}class _{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,i){this._line&&this._lines.push(this._line),this._line=[];const s=this._ratio;this._line.push(new e(t*s,i*s))}lineTo(t,i){const s=this._ratio;this._line.push(new e(t*s,i*s))}close(){const t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class r{static simplify(t,i,s){if(!s)return;const e=-i,n=t+i,h=-i,_=t+i,a=[],o=[],l=s.length;for(let t=0;t<l;++t){const i=s[t];if(!i||i.length<2)continue;let r,l=i[0];const x=i.length;for(let s=1;s<x;++s)r=i[s],l.x===r.x&&(l.x<=e&&(l.y>r.y?(a.push(t),a.push(s),a.push(0),a.push(-1)):(o.push(t),o.push(s),o.push(0),o.push(-1))),l.x>=n&&(l.y<r.y?(a.push(t),a.push(s),a.push(1),a.push(-1)):(o.push(t),o.push(s),o.push(1),o.push(-1)))),l.y===r.y&&(l.y<=h&&(l.x<r.x?(a.push(t),a.push(s),a.push(2),a.push(-1)):(o.push(t),o.push(s),o.push(2),o.push(-1))),l.y>=_&&(l.x>r.x?(a.push(t),a.push(s),a.push(3),a.push(-1)):(o.push(t),o.push(s),o.push(3),o.push(-1)))),l=r}if(0===a.length||0===o.length)return;r.fillParent(s,o,a),r.fillParent(s,a,o);const x=[];r.calcDeltas(x,o,a),r.calcDeltas(x,a,o),r.addDeltas(x,s)}static fillParent(t,i,s){const e=s.length,n=i.length;for(let h=0;h<n;h+=4){const n=i[h],_=i[h+1],r=i[h+2],o=t[n][_-1],l=t[n][_];let x=8092,u=-1;for(let i=0;i<e;i+=4){if(s[i+2]!==r)continue;const e=s[i],n=s[i+1],h=t[e][n-1],_=t[e][n];switch(r){case 0:case 1:if(a(o.y,h.y,_.y)&&a(l.y,h.y,_.y)){const t=Math.abs(_.y-h.y);t<x&&(x=t,u=i)}break;case 2:case 3:if(a(o.x,h.x,_.x)&&a(l.x,h.x,_.x)){const t=Math.abs(_.x-h.x);t<x&&(x=t,u=i)}}}i[h+3]=u}}static calcDeltas(t,i,s){const e=i.length;for(let n=0;n<e;n+=4){const e=[],h=r.calcDelta(n,i,s,e);t.push(i[n]),t.push(i[n+1]),t.push(i[n+2]),t.push(h)}}static calcDelta(t,i,s,e){const n=i[t+3];if(-1===n)return 0;const h=e.length;return h>1&&e[h-2]===n?0:(e.push(n),r.calcDelta(n,s,i,e)+1)}static addDeltas(t,i){const s=t.length;let e=0;for(let i=0;i<s;i+=4){const s=t[i+3];s>e&&(e=s)}for(let n=0;n<s;n+=4){const s=i[t[n]],h=t[n+1],_=e-t[n+3];switch(t[n+2]){case 0:s[h-1].x-=_,s[h].x-=_,1===h&&(s[s.length-1].x-=_),h===s.length-1&&(s[0].x-=_);break;case 1:s[h-1].x+=_,s[h].x+=_,1===h&&(s[s.length-1].x+=_),h===s.length-1&&(s[0].x+=_);break;case 2:s[h-1].y-=_,s[h].y-=_,1===h&&(s[s.length-1].y-=_),h===s.length-1&&(s[0].y-=_);break;case 3:s[h-1].y+=_,s[h].y+=_,1===h&&(s[s.length-1].y+=_),h===s.length-1&&(s[0].y+=_)}}}}const a=(t,i,s)=>t>=i&&t<=s||t>=s&&t<=i},13195(t,i,s){s.d(i,{GW:()=>p,IU:()=>f,Jo:()=>_,MG:()=>h,Wh:()=>u,cP:()=>E,os:()=>l,p6:()=>m,pJ:()=>r,ru:()=>T,s3:()=>R,wV:()=>c,yM:()=>I,z0:()=>y});var e=s(95108),n=s(6774);const h=Number.POSITIVE_INFINITY,_=Math.PI,r=2*_,a=128/_,o=256/360,l=_/180,x=1/Math.LN2;function u(t,i){return(t%=i)>=0?t:t+i}function y(t){return u(t*a,256)}function c(t){return u(t*o,256)}function m(t){return Math.log(t)*x}function p(t,i,s){return t*(1-s)+i*s}function f(t){return 8+Math.max(16*(t-14),0)}function R(t,i,s){let e,n,h,_=0;for(const r of s){e=r.length;for(let s=1;s<e;++s)n=r[s-1],h=r[s],n.y>i!=h.y>i&&((h.x-n.x)*(i-n.y)-(h.y-n.y)*(t-n.x)>0?_++:_--)}return 0!==_}function T(t,i,s,n){let h,_,r,a;const o=n*n;for(const n of s){const s=n.length;if(!(s<2)){h=n[0].x,_=n[0].y;for(let l=1;l<s;++l){if(r=n[l].x,a=n[l].y,(0,e.Ng)(t,i,h,_,r,a)<o)return!0;h=r,_=a}}}return!1}function E(t,i){if(0===i||Number.isNaN(i))return t;const s=[],e=new n.bR(0,0),h=new n.bR(0,0),_=new n.bR(0,0);for(let r=0;r<t.length;r++){const a=t[r],o=[];for(let t=0;t<a.length;t++){const s=a[t-1],r=a[t],l=a[t+1];0===t?e.setCoords(0,0):e.assignSub(r,s).normalize().rightPerpendicular(),t===a.length-1?h.setCoords(0,0):h.assignSub(l,r).normalize().rightPerpendicular(),_.assignAdd(e,h).normalize();const x=_.x*h.x+_.y*h.y;0!==x&&_.scale(1/x),o.push(n.bR.add(r,_.scale(i)))}s.push(o)}return s}function I(t,i,s,e){const h=new n.bR(t[0],t[1]);if(h.scale(e),"viewport"===i){const t=-s*(Math.PI/180),i=Math.cos(t),e=Math.sin(t);h.rotate(i,e)}return h}},23304(t,i,s){s.d(i,{Ph:()=>h,Z0:()=>_,hU:()=>n});var e=s(799);function n(t){const i=t.map(({name:t,count:i,type:s})=>`${t}.${i}.${s}`).join(",");return(0,e.Wm)(i)}function h(t,i,s,e,n,_,r){if(t.primitiveName===i){let i=e?.readWithDefault(n,_,t[s]&&r);return"text"===t.type&&(i=i.toString()),void(t[s]=i)}if("type"in t&&null!=t.type){if(t.effects)for(const a of t.effects)h(a,i,s,e,n,_,r);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const a of t.symbolLayers)h(a,i,s,e,n,_,r);break;case"CIMTextSymbol":t.symbol&&h(t.symbol,i,s,e,n,_,r);break;case"CIMHatchFill":t.lineSymbol&&h(t.lineSymbol,i,s,e,n,_,r);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&h(t.markerPlacement,i,s,e,n,_,r),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const a of t.markerGraphics)h(a,i,s,e,n,_,r),h(a.symbol,i,s,e,n,_,r)}}}function _(t){const i=Math.max(1.25*t.width,20);return null!=t.effects&&t.effects.length>0?400:i}},63907(t,i,s){s.d(i,{$0:()=>x,CQ:()=>p,Fq:()=>c,H0:()=>h,SB:()=>a,WR:()=>e,XN:()=>_,iE:()=>r,ld:()=>o,nI:()=>m,pe:()=>n,r6:()=>u,vt:()=>l,yI:()=>y});const e={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},h={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},_=Object.values(h),r={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},a={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},o={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},l={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},x=0,u=36064,y=36065,c=36066,m=33306,p={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},68572(t,i,s){s.d(i,{H:()=>_,q:()=>r}),s(44208);var e=s(23304),n=s(63907);function h(t){switch(t){case n.pe.BYTE:case n.pe.UNSIGNED_BYTE:return 1;case n.pe.SHORT:case n.pe.UNSIGNED_SHORT:case n.pe.HALF_FLOAT:return 2;case n.pe.FLOAT:case n.pe.INT:case n.pe.UNSIGNED_INT:return 4}}function _(t){const i=[],s=[],e=[];for(const n of t){const t=h(n.type)*n.count;switch(t%2||t%4||4){case 4:i.push(n);continue;case 2:s.push(n);continue;case 1:e.push(n);continue;default:throw new Error("Found unexpected dataType byte count")}}return i.push(...s),i.push(...e),i}class r{static fromVertexSpec(t,i){const{attributes:s,optionalAttributes:e}=t;let n,a,o;const l=[];for(const t in s){if(s[t].otherSource)continue;const i=s[t];"position"===i.pack?n={...i,name:t,offset:0}:"id"===i.pack?a={...i,name:t,offset:4}:"bitset"===t?o={...i,name:t,offset:7}:l.push({...i,name:t})}for(const t in e)if(!0===i[t]){const i=e[t];l.push({...i,name:t})}const x=_(l),u=[];let y=8,c=1;for(const t of x)u.push({...t,offset:y}),y+=h(t.type)*t.count,t.packAlternating&&(c=Math.max(t.packAlternating.count,c));const m=Uint32Array.BYTES_PER_ELEMENT,p=y%m;return new r(n,a,o,u,y+(p?m-p:0),c)}constructor(t,i,s,e,n,h){this.position=t,this.id=i,this.bitset=s,this.standardAttributes=e,this.stride=n,this.packVertexCount=h,e.push(s),this._attributes=[t,i,s,...e]}get attributeLayout(){if(!this._attributeLayout){const t=(0,e.hU)(this._attributes),i=this._attributes.map(t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1}));this._attributeLayout={attributes:i,hash:t,stride:this.stride}}return this._attributeLayout}}},76213(t,i,s){s.d(i,{C2:()=>_,CQ:()=>e,DY:()=>n,GR:()=>m,Gh:()=>a,MZ:()=>u,TB:()=>c,U5:()=>r,_M:()=>o,cp:()=>p,eG:()=>h,fq:()=>y,hM:()=>x,ie:()=>l});const e=512,n=29,h=24,_=4,r=6,a=1.05,o=3,l=3,x=4,u=1,y=10,c=256,m=32,p=512},89518(t,i,s){s.d(i,{M9:()=>_,Ss:()=>r,fw:()=>o,ws:()=>a});const e=new Float32Array(1),n=new Uint32Array(e.buffer);function h(t){return e[0]=t,n[0]}function _(t,i){return 65535&t|i<<16}function r(t,i,s,e){return 255&t|(255&i)<<8|(255&s)<<16|e<<24}function a(t,i){return 255&t|(255&i)<<8}function o(t){const i=h(t),s=i>>>31;let e=i>>>23&255,n=8388607&i;return e-=127,e>15?s<<15|31744:e<-25?0:(e<-14&&(n+=8388608,n/=2**(-14-e),e=-15),e+=15,n/=8192,n=function(t){const i=Math.floor(t),s=t-i;return i<1023&&(s>.5||.5===s&&i%2==1)?i+1:i}(n),s<<15|e<<10|n)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2390],{11053(e,t,r){r.d(t,{c:()=>n,g:()=>i});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},22390(e,t,r){r.d(t,{isAnimatedPNG:()=>f,parseApng:()=>l});var n,i=r(11053),s=r(74887),a=r(78659),o={exports:{}};o.exports;const u=(0,i.g)((n||(n=1,h=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.isNotPNG=function(e){return e===s},t.isNotAPNG=function(e){return e===a},t.default=function(e){var t=new Uint8Array(e);if(Array.prototype.some.call(o,function(e,r){return e!==t[r]}))return s;var r=!1;if(u(t,function(e){return!(r="acTL"===e)}),!r)return a;var n=[],h=[],p=null,m=null,d=0,v=new i.APNG;if(u(t,function(e,t,r,s){var a=new DataView(t.buffer);switch(e){case"IHDR":p=t.subarray(r+8,r+8+s),v.width=a.getUint32(r+8),v.height=a.getUint32(r+12);break;case"acTL":v.numPlays=a.getUint32(r+8+4);break;case"fcTL":m&&(v.frames.push(m),d++),(m=new i.Frame).width=a.getUint32(r+8+4),m.height=a.getUint32(r+8+8),m.left=a.getUint32(r+8+12),m.top=a.getUint32(r+8+16);var o=a.getUint16(r+8+20),u=a.getUint16(r+8+22);0===u&&(u=100),m.delay=1e3*o/u,m.delay<=10&&(m.delay=100),v.playTime+=m.delay,m.disposeOp=a.getUint8(r+8+24),m.blendOp=a.getUint8(r+8+25),m.dataParts=[],0===d&&2===m.disposeOp&&(m.disposeOp=1);break;case"fdAT":m&&m.dataParts.push(t.subarray(r+8+4,r+8+s));break;case"IDAT":m&&m.dataParts.push(t.subarray(r+8,r+8+s));break;case"IEND":h.push(l(t,r,12+s));break;default:n.push(l(t,r,12+s))}}),m&&v.frames.push(m),0==v.frames.length)return a;var _=new Blob(n),g=new Blob(h);return v.frames.forEach(function(e){var t=[];t.push(o),p.set(f(e.width),0),p.set(f(e.height),4),t.push(c("IHDR",p)),t.push(_),e.dataParts.forEach(function(e){return t.push(c("IDAT",e))}),t.push(g),e.imageData=new Blob(t,{type:"image/png"}),delete e.dataParts,t=null}),v};var n=function(e){return e&&e.__esModule?e:{default:e}}(r(1)),i=r(2),s=new Error("Not a PNG"),a=new Error("Not an animated PNG"),o=new Uint8Array([137,80,78,71,13,10,26,10]);function u(e,t){var r=new DataView(e.buffer),n=8,i=void 0,s=void 0,a=void 0;do{s=r.getUint32(n),a=t(i=h(e,n+4,4),e,n,s),n+=12+s}while(!1!==a&&"IEND"!=i&&n<e.length)}function h(e,t,r){var n=Array.prototype.slice.call(e.subarray(t,t+r));return String.fromCharCode.apply(String,n)}function l(e,t,r){var n=new Uint8Array(r);return n.set(e.subarray(t,t+r)),n}var c=function(e,t){var r=e.length+t.length,i=new Uint8Array(r+8),s=new DataView(i.buffer);s.setUint32(0,t.length),i.set(function(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}(e),4),i.set(t,8);var a=(0,n.default)(i,4,r);return s.setUint32(r+4,a),i},f=function(e){return new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,255&e])}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,i=t,s=t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length-t);i<s;i++)n=n>>>8^r[255&(n^e[i])];return-1^n};for(var r=new Uint32Array(256),n=0;n<256;n++){for(var i=n,s=0;s<8;s++)i=1&i?3988292384^i>>>1:i>>>1;r[n]=i}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Frame=t.APNG=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=function(e){return e&&e.__esModule?e:{default:e}}(r(3));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.APNG=function(){function e(){s(this,e),this.width=0,this.height=0,this.numPlays=0,this.playTime=0,this.frames=[]}return n(e,[{key:"createImages",value:function(){return Promise.all(this.frames.map(function(e){return e.createImage()}))}},{key:"getPlayer",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.createImages().then(function(){return new i.default(t,e,r)})}}]),e}(),t.Frame=function(){function e(){s(this,e),this.left=0,this.top=0,this.width=0,this.height=0,this.delay=0,this.disposeOp=0,this.blendOp=0,this.imageData=null,this.imageElement=null}return n(e,[{key:"createImage",value:function(){var e=this;return this.imageElement?Promise.resolve():new Promise(function(t,r){var n=URL.createObjectURL(e.imageData);e.imageElement=document.createElement("img"),e.imageElement.onload=function(){URL.revokeObjectURL(n),t()},e.imageElement.onerror=function(){URL.revokeObjectURL(n),e.imageElement=null,r(new Error("Image creation error"))},e.imageElement.src=n})}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=function(e){function t(e,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.playbackRate=1,i._currentFrameNumber=0,i._ended=!1,i._paused=!0,i._numPlays=0,i._rafId=null,i._apng=e,i.context=r,i.stop(),n&&i.play(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"renderNextFrame",value:function(){this._currentFrameNumber=(this._currentFrameNumber+1)%this._apng.frames.length,this._currentFrameNumber===this._apng.frames.length-1&&(this._numPlays++,0!==this._apng.numPlays&&this._numPlays>=this._apng.numPlays&&(this._ended=!0,this._paused=!0)),this._prevFrame&&1==this._prevFrame.disposeOp?this.context.clearRect(this._prevFrame.left,this._prevFrame.top,this._prevFrame.width,this._prevFrame.height):this._prevFrame&&2==this._prevFrame.disposeOp&&this.context.putImageData(this._prevFrameData,this._prevFrame.left,this._prevFrame.top);var e=this.currentFrame;this._prevFrame=e,this._prevFrameData=null,2==e.disposeOp&&(this._prevFrameData=this.context.getImageData(e.left,e.top,e.width,e.height)),0==e.blendOp&&this.context.clearRect(e.left,e.top,e.width,e.height),this.context.drawImage(e.imageElement,e.left,e.top),this.emit("frame",this._currentFrameNumber),this._ended&&this.emit("end")}},{key:"play",value:function(){var e=this;this._rafId&&cancelAnimationFrame(this._rafId),this.emit("play"),this._ended&&this.stop(),this._paused=!1;var t=performance.now()+this.currentFrame.delay/this.playbackRate;this._rafId=requestAnimationFrame(function r(n){if(!e._ended&&!e._paused){if(n>=t){for(;n-t>=e._apng.playTime/e.playbackRate;)t+=e._apng.playTime/e.playbackRate,e._numPlays++;do{e.renderNextFrame(),t+=e.currentFrame.delay/e.playbackRate}while(!e._ended&&!e._paused&&n>t)}e._rafId=requestAnimationFrame(r)}})}},{key:"pause",value:function(){this._paused||(this._rafId&&(cancelAnimationFrame(this._rafId),this._rafId=null),this.emit("pause"),this._paused=!0)}},{key:"stop",value:function(){this._rafId&&(cancelAnimationFrame(this._rafId),this._rafId=null),this.emit("stop"),this._numPlays=0,this._ended=!1,this._paused=!0,this._currentFrameNumber=-1,this.context.clearRect(0,0,this._apng.width,this._apng.height),this.renderNextFrame()}},{key:"currentFrameNumber",get:function(){return this._currentFrameNumber}},{key:"currentFrame",get:function(){return this._apng.frames[this._currentFrameNumber]}},{key:"paused",get:function(){return this._paused}},{key:"ended",get:function(){return this._ended}}]),t}(function(e){return e&&e.__esModule?e:{default:e}}(r(4)).default);t.default=i},function(e,t){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function i(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!function(e){return"number"==typeof e}(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,r,a,o,u,h;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(s(r=this._events[e]))return!1;if(n(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(i(r))for(o=Array.prototype.slice.call(arguments,1),a=(h=r.slice()).length,u=0;u<a;u++)h[u].apply(this,o);return!0},r.prototype.addListener=function(e,t){var a;if(!n(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,n(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(a=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(e,i),r||(r=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},r.prototype.removeListener=function(e,t){var r,s,a,o;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(r=this._events[e]).length,s=-1,r===t||n(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(r)){for(o=a;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){s=o;break}if(s<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(s,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}}])},o.exports=h()),o.exports));var h;async function l(e,t){const r=u(e);if(r instanceof Error)throw r;await r.createImages(),(0,s.Te)(t);const{frames:n,width:i,height:o}=r,h=document.createElement("canvas");h.width=i,h.height=o;const l=h.getContext("2d",{willReadFrequently:!0}),c=[],f=[];let p=0;for(const e of n){const t=(0,a.l5)(e.delay||100);f.push(t),p+=t;const r=e.imageElement;0===e.blendOp?l.globalCompositeOperation="copy":l.globalCompositeOperation="source-over";const n=2===e.disposeOp?l.getImageData(e.left,e.top,e.width,e.height):void 0;l.drawImage(r,e.left,e.top);const s=l.getImageData(0,0,i,o);c.push(s),0===e.disposeOp||(1===e.disposeOp?l.clearRect(e.left,e.top,e.width,e.height):2===e.disposeOp&&l.putImageData(n,e.left,e.top))}return{frameCount:n.length,duration:p,frameDurations:f,getFrame:e=>c[e],width:i,height:o}}const c=[137,80,78,71,13,10,26,10];function f(e){if(!function(e){const t=new Uint8Array(e);return!c.some((e,r)=>e!==t[r])}(e))return!1;const t=new DataView(e),r=new Uint8Array(e);let n,i=8;do{const e=t.getUint32(i);if(n=String.fromCharCode.apply(String,Array.prototype.slice.call(r.subarray(i+4,i+8))),"acTL"===n)return!0;i+=12+e}while("IEND"!==n&&i<r.length);return!1}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3637],{3637(e,t,n){n.r(t),n.d(t,{execute:()=>u,executeMany:()=>c,isSimple:()=>f});var r=n(81150),o=n(83299);function u(e){const t=(0,o.fromGeometry)(e),n=t.getSpatialReference();return(0,o.toGeometry)((0,r.g7)(t.getGeometry(),n,!1),n)}function c(e){const[t,n]=(0,o.fromGeometries)(e);return(0,r.zo)(t,n,!1).map(e=>(0,o.toGeometry)(e,n))}function f(e){const t=(0,o.fromGeometry)(e);return(0,r.Pg)(t.getGeometry(),t.getSpatialReference(),!1)}},81150(e,t,n){n.d(t,{Pg:()=>i,fz:()=>s,g7:()=>c,zo:()=>f});var r=n(76061),o=(n(55537),n(88885),n(15756));n(95213);const u=new o.f;function c(e,t,n){return u.execute(e,t,n,null)}function f(e,t,n){const o=u.executeMany(new r.S(e),t,n,null);return Array.from(o)}function i(e,t,n){return u.isSimpleAsFeature(e,t,n,null,null)}function s(){return u.supportsCurves()}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,547,3169,4161,6061,6225,8125,9698],{4197(t,e,s){s.d(e,{Vj:()=>u,cj:()=>c,jh:()=>i,l5:()=>a,xm:()=>o});var n=s(34275),r=s(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function a(t,e,s){return Array.isArray(t)?t.slice(e,e+s):t.subarray(e,e+s)}function c(t){return[...t]}function u(t){const e=(0,r.vt)();for(let s=0;s<16;++s)e[s]=t[s];return e}},9093(t,e,s){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}s.d(e,{o8:()=>r,vt:()=>n,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:r,create:n,fromValues:function(t,e,s,n,r,i,o,a,c,u,l,h,m,f,d,y){return[t,e,s,n,r,i,o,a,c,u,l,h,m,f,d,y]}},Symbol.toStringTag,{value:"Module"}))},40547(t,e,s){s.d(e,{convert:()=>b,convertFromSpatialReferenceUnit:()=>g,convertToSpatialReferenceUnit:()=>x,meters:()=>i.L2,squareMeters:()=>i.A7,toAreaUnit:()=>p,toLengthUnit:()=>_});var n=s(59534),r=s(85935),i=s(71409);const o=[];function a(t){return 0===t.length?'""':t.startsWith('"')||t.startsWith(".")||t[0]>="0"&&t[0]<="9"?t:'"'+t.trim()+'"'}function c(t){let e="",s="",n=!1;for(let r=0;r<t.length;r++){const i=t[r];n?'"'===i?'"'===t[r+1]?(e+=`\\${i}`,r+=1):n=!1:e+=i:/\s/.test(i)||(","===i?(s+=""!==e?a(e)+",":",",e=""):")"===i||"]"===i?(s+=""!==e?a(e)+"]}":"]}",e=""):"("===i||"["===i?(s+='{ "entity": "'+e.toUpperCase().trim()+'", "values":[',e=""):'"'===i?(n=!0,e=""):e+=i)}return JSON.parse(s)}function u(t){try{for(let e=0;e<o.length;e++)if(o[e].spatialReferenceWkt===t)return o[e].unit;const e=l(c(t));if(null===e)return null;let s=null;for(const t of e.values)if("object"==typeof t&&("UNIT"===t.entity||"ANGLEUNIT"===t.entity||"LENGTHUNIT"===t.entity)){s=t;break}if(null===s)return null;const n=function(t,e,s){if(null!=s)try{if("EPSG"===s.values[0])return{type:t,wkid:Number.parseInt(s.values[1],10),factor:e}}catch(t){}return{type:t,factor:e}}("GEOGCS"===e.entity||"GEOGCRS"===e.entity?"angular":"linear",s.values[1],s.values[2]);return o.push({spatialReferenceWkt:t,unit:n}),o.length>10&&o.shift(),n}catch(t){return null}}function l(t){if(null===t)return null;switch(t.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return t}const e=[];for(const s of t.values)if("object"==typeof s&&void 0!==s.entity)switch(s.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return s;default:e.push(s)}for(const t of e){const e=l(t);if(null!=e)return e}return null}var h=s(86211),m=s(22530);function f(t,e){let s;switch(t){case"linear":s=i.s9;break;case"angular":s=i.zD;break;case"area":s=i.y6;break;default:return null}return s.get(e)}function d(t){const e=t.wkid;if(null!=e){const t=m.A.units[m.A[e]];if(null!=t)switch(t){case"Meter":return f("linear",9001);case"Foot":return f("linear",9002);case"Foot_US":return f("linear",9003);case"Foot_Clarke":return f("linear",9005);case"Yard_Clarke":return f("linear",9037);case"Link_Clarke":return f("linear",9039);case"Yard_Sears":return f("linear",9040);case"Foot_Sears":return f("linear",9041);case"Chain_Sears":return f("linear",9042);case"Chain_Benoit_1895_B":return f("linear",9062);case"Yard_Indian":return f("linear",9084);case"Yard_Indian_1937":return f("linear",9085);case"Foot_Gold_Coast":return f("linear",9094);case"Chain":return f("linear",9097);case"Chain_Sears_1922_Truncated":return f("linear",9301);case"50_Kilometers":return f("linear",109030);case"150_Kilometers":return f("linear",109031);default:throw new Error(`Unknown unit name: ${t}`)}return h.yD.has(e)?f("angular",9105):f("angular",9102)}const s=t.wkt2||t.wkt;if(null!=s){const t=u(s);if(null!=t){if(null!=t.wkid){const e=f(t.type,t.wkid);if(null!=e)return e}return{type:t.type,wkid:-1,factor:t.factor}}}return null}function y(t){if("linear"!==t.type)return null;if(-1===t.wkid)return{type:"area",wkid:-1,factor:t.factor**2};const e=i.SQ.get(t.wkid);return null==e?null:f("area",e)}function p(t){if(null!=t){if("number"==typeof t)return i.y6.get(t)??i.s9.get(t)??i.zD.get(t);if("string"!=typeof t)throw new r.D$(null,"InvalidParameter",null);switch((0,n.B)(t)){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":return i.y6.get(109404);case"miles":case"mile":case"squaremile":case"squaremiles":return i.y6.get(109439);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return i.y6.get(109414);case"acres":case"acre":case"ac":return i.y6.get(109402);case"hectares":case"hectare":case"ha":return i.y6.get(109401);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":return i.y6.get(109442);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return i.y6.get(109405);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return i.y6.get(109409);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return i.y6.get(109452);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return i.y6.get(109451);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return i.y6.get(109450);case"inch":case"inches":case"squareinch":case"squareinches":return i.y6.get(109453);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return i.y6.get(109406);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return i.y6.get(109413)}}}function _(t){if(null!=t){if("number"==typeof t)return i.s9.get(t)??i.zD.get(t)??i.y6.get(t);if("string"!=typeof t)throw new r.D$(null,"InvalidParameter",null);switch((0,n.B)(t)){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":case"hectares":case"hectare":case"ha":return i.s9.get(9001);case"miles":case"mile":case"squaremile":case"squaremiles":return i.s9.get(9093);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return i.s9.get(9036);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":case"acres":case"acre":case"ac":return i.s9.get(9096);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return i.s9.get(9002);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return i.s9.get(9030);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return i.s9.get(109007);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return i.s9.get(109006);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return i.s9.get(109005);case"inch":case"inches":case"squareinch":case"squareinches":return i.s9.get(109008);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return i.s9.get(9003);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return i.s9.get(9035)}}}function P(t,e,s){if(t.type!==e.type)throw new Error(`Incompatible unit types. src=${t.type} dest=${e.type}`);return s*(t.factor/e.factor)}function g(t,e,s){if(null==t||null==e)return s;const n=d(t);if(null==n)throw new Error("Unknown spatial reference unit.");const r="area"===e.type&&"linear"===n.type?y(n):n;if(null==r)throw new Error(`Unknown spatial reference ${e.type} unit.`);return P(r,e,s)}function x(t,e,s){if(null==t||null==e)return s;const n=d(e);if(null==n)throw new Error("Unknown spatial reference unit.");const r="area"===t.type&&"linear"===n.type?y(n):n;if(null==r)throw new Error(`Unknown spatial reference ${t.type} unit.`);return P(t,r,s)}function b(t,e,s){return null==t||null==e?s:P(t,e,s)}},59534(t,e,s){s.d(e,{B:()=>r,b:()=>i});var n=s(85935);function r(t){return t.toLowerCase().replaceAll(/[\s-]+/g,"")}class i{constructor(t,e){const s=new Map;for(const e of t){const t=r(e);if(s.has(t))throw new Error(`${e} already added as ${s.get(t)}`);s.set(t,e)}if(null!=e)for(const[t,n]of e){const e=r(t);if(s.has(e))throw new Error(`${t} already associated with ${s.get(e)}`);s.set(e,n)}this._enumMap=s}lookup(t){return this._enumMap.get(r(t))}get(t){const e=this.lookup(t);if(null==e)throw new n.D$(null,"InvalidParameter",null);return e}}},66070(t,e,s){s.d(e,{g7:()=>p,zo:()=>_});var n=s(76061),r=s(95213),i=s(55537),o=s(88885),a=s(83661);const c=1.4142135623730951,u=.017453292519943295,l=256,h=1024;class m{static construct(t,e,s){const n=new m;return n.x=t.x,n.y=t.y,n.m_next=-1,n.m_prev=-1,n.z=e,n.m=s,n.type=0,n}clone(){const t=new m;return t.x=this.x,t.y=this.y,t.m_next=this.m_next,t.m_prev=this.m_prev,t.z=this.z,t.m=this.m,t.type=this.type,t}asPoint2D(){return new a.P(this.x,this.y)}}class f{constructor(t){this.m_distance=-1,this.m_tolerance=-1,this.m_miterLimit=10,this.m_joins=0,this.m_progressCounter=0,this.m_bUseZ=!1,this.m_bUseM=!1,this.m_srcPts=[],this.m_srcPtCount=0,this.m_offsetPts=[],this.m_offsetPtCount=0,this.m_a1=0,this.m_a2=0,this.m_progressTracker=t}constructOffset(){const t=this.m_inputGeometry.getGeometryType();if(t===i.G.enumLine)return this.offsetLine();if(t===i.G.enumEnvelope)return this.offsetEnvelope();if((0,i.f)(t)){const t=new o.P;return t.addSegment(this.m_inputGeometry,!0),this.m_inputGeometry=t,this.constructOffset()}if(t===i.G.enumPolyline){const t=new o.P;return this.offsetMultiPath(t),t}if(t===i.G.enumPolygon){const t=new o.a;return this.offsetMultiPath(t),t}(0,i.t)("")}offsetLine(){const t=this.m_inputGeometry,e=t.getStartXY(),s=t.getEndXY(),n=new a.P;n.setSub(s,e),n.normalize(),n.leftPerpendicularThis(),n.scale(this.m_distance),e.addThis(n),s.addThis(n);const r=t.clone();return r.setStartXY(e),r.setEndXY(s),r}offsetEnvelope(){const t=this.m_inputGeometry;if(this.m_distance>0&&2!==this.m_joins){const e=new o.a;return e.addEnvelope(t,!1),this.m_inputGeometry=e,this.constructOffset()}const e=t.clone();return e.inflateCoords(this.m_distance,this.m_distance),e}progress(){}static buildPoint(t,e,s,n){n.x=t.x+e*Math.cos(s),n.y=t.y+e*Math.sin(s),n.type=t.type,n.z=t.z,n.m=t.m,n.m_next=-1,n.m_prev=-1}addPoint(t){this.m_offsetPts.push(t.clone()),this.m_offsetPtCount++}addPointEx(t,e){if(0===this.m_offsetPtCount)return void this.addPoint(t);const s=this.m_srcPtCount,n=this.m_srcPts[0===e?s-1:e-1],r=this.m_srcPts[e],i=f.dotSign(n,r,this.m_offsetPts[this.m_offsetPtCount-1],t);if(i>0)this.addPoint(t);else if(i<0)if(f.dotSign(n,r,r,this.m_offsetPts[this.m_offsetPtCount-1])>0){const r=new m;let i;i=0===e?s-2:1===e?s-1:e-2;const o=this.m_srcPts[i],c=Math.atan2(n.y-o.y,n.x-o.x);if(f.buildPoint(n,this.m_distance,c-a.o,r),this.m_offsetPts[this.m_offsetPtCount-1]=r.clone(),1===this.m_joins||2===this.m_joins){r.x=.5*(r.x+n.x),r.y=.5*(r.y+n.y),this.addPoint(r),f.buildPoint(n,this.m_distance,this.m_a1+a.o,r);const t=r.clone();t.x=.5*(t.x+n.x),t.y=.5*(t.y+n.y),t.type|=l,this.addPoint(t),this.addPoint(r)}else f.buildPoint(n,this.m_distance,this.m_a1+a.o,r),r.type|=l,this.addPoint(r);this.addPointEx(t,e)}else{const t=new m;if(f.buildPoint(r,this.m_distance,this.m_a1+a.o,t),this.addPoint(t),1===this.m_joins||2===this.m_joins){t.x=.5*(t.x+r.x),t.y=.5*(t.y+r.y),this.addPoint(t),f.buildPoint(r,this.m_distance,this.m_a2-a.o,t);const e=t.clone();e.x=.5*(e.x+r.x),e.y=.5*(e.y+r.y),e.type|=l,this.addPoint(e),this.addPoint(t)}else f.buildPoint(r,this.m_distance,this.m_a2-a.o,t),t.type|=l,this.addPoint(t)}}buildOffset(){const t=new m,e=this.m_srcPtCount;this.m_offsetPtCount=0;const s=.5*this.m_tolerance;let n=0,r=0;for(let i=0;i<e;i++){const o=this.m_srcPts[i],m=0===i?this.m_srcPts[e-1]:this.m_srcPts[i-1],d=i===e-1?this.m_srcPts[0]:this.m_srcPts[i+1];let y,p,_=0;{const t=m.x-o.x,e=m.y-o.y,s=d.x-o.x,c=d.y-o.y;y=Math.atan2(e,t),p=Math.atan2(c,s),this.m_a1=y,this.m_a2=p,0===i&&(n=y,r=p),_=a.P.orientationRobust(o.asPoint2D(),m.asPoint2D(),d.asPoint2D())}const P=p;if(p<y&&(p+=a.p),!(Math.abs(Math.abs(y-p)-Math.PI)<1e-8))if(_*this.m_distance>0)if(1===this.m_joins||2===this.m_joins){f.buildPoint(o,this.m_distance,y+a.o,t),this.addPoint(t);const e=.001;t.x=o.x+(t.x-o.x)*e,t.y=o.y+(t.y-o.y)*e,this.addPoint(t),f.buildPoint(o,this.m_distance,p-a.o,t);const s=t.clone();s.x=o.x+(s.x-o.x)*e,s.y=o.y+(s.y-o.y)*e,s.type|=l,this.addPoint(s),this.addPoint(t)}else{const e=.5*(p-y),s=0===e?this.m_distance:this.m_distance/Math.abs(Math.sin(e));f.buildPoint(o,s,.5*(y+p),t),this.addPointEx(t,i)}else{if(512&o.type){const e=1-s/Math.abs(this.m_distance);let n=1,r=this.m_distance<0?-Math.PI:Math.PI;if(e>-1&&e<1){let t=2*Math.acos(e);t<u&&(t=u),n=Math.trunc(Math.PI/t+1.5),n>1&&(r/=n)}n<=1&&(n=2,r/=2);let c=y+a.o;f.buildPoint(o,this.m_distance,c,t),0===i&&(t.type|=h),this.addPointEx(t,i);const l=this.m_distance/Math.cos(r/2);for(c+=r/2,f.buildPoint(o,l,c,t),t.type|=h,this.addPoint(t);--n>0;)c+=r,f.buildPoint(o,l,c,t),t.type|=h,this.addPoint(t);f.buildPoint(o,this.m_distance,p-a.o,t),t.type|=h,this.addPoint(t);continue}if(1!==this.m_joins){if(0===this.m_joins){const e=1-s/Math.abs(this.m_distance);let n=1,r=p-a.o-(y+a.o);if(e>-1&&e<1){let t=2*Math.acos(e);t<u&&(t=u),n=Math.trunc(Math.abs(r)/t+1.5),n>1&&(r/=n)}const c=this.m_distance/Math.cos(.5*r);let l=y+a.o+.5*r;for(f.buildPoint(o,c,l,t),this.addPointEx(t,i);--n>0;)l+=r,f.buildPoint(o,c,l,t),this.addPoint(t);continue}if(2===this.m_joins){const e=m.x-o.x,s=m.y-o.y,n=d.x-o.x,r=d.y-o.y;let u=(e*n+s*r)/Math.sqrt(e*e+s*s)/Math.sqrt(n*n+r*r);if(u=Math.max(u,-1),u>1-1e-8){f.buildPoint(o,c*this.m_distance,p-.25*Math.PI,t),this.addPointEx(t,i),f.buildPoint(o,c*this.m_distance,p+.25*Math.PI,t),this.addPoint(t);continue}const l=Math.abs(this.m_distance/Math.sin(.5*Math.acos(u))),h=Math.abs(this.m_miterLimit*this.m_distance);if(l>h){const e=.5*(p-y),s=this.m_distance/Math.abs(Math.sin(e));f.buildPoint(o,s,.5*(y+p),t);const n=a.P.construct(t.x,t.y),r=a.P.construct(o.x,o.y),c=new a.P;c.setSub(n,r);const u=new a.P;u.setScaleAdd(h/c.length(),c,r);const m=Math.sqrt(l*l-this.m_distance*this.m_distance),d=(l-h)*Math.abs(this.m_distance)/m;this.m_distance>0?c.rightPerpendicularThis():c.leftPerpendicularThis(),c.scale(d/c.length());const _=new a.P;_.setAdd(u,c);const P=new a.P;P.setSub(u,c),t.x=_.x,t.y=_.y,this.addPointEx(t,i),t.x=P.x,t.y=P.y,this.addPoint(t);continue}const _=.5*(p-y),P=this.m_distance/Math.abs(Math.sin(_));f.buildPoint(o,P,.5*(y+p),t),this.addPointEx(t,i);continue}{let e;if(p=P,this.m_distance>0?(p>y&&(p-=a.p),e=y-p<a.o):(p<y&&(p+=a.p),e=p-y<a.o),e){const e=this.m_distance*c;let s;s=e<0?y+.25*Math.PI:y+3*Math.PI*.25,f.buildPoint(o,e,s,t),this.addPointEx(t,i),s=e<0?p-.25*Math.PI:p-3*Math.PI*.25,f.buildPoint(o,e,s,t),this.addPoint(t)}else{const e=.5*(p-y),s=this.m_distance/Math.abs(Math.sin(e));p<y&&(p+=a.p),f.buildPoint(o,s,(y+p)/2,t),this.addPointEx(t,i)}}}else f.buildPoint(o,this.m_distance,y+a.o,t),this.addPointEx(t,i),f.buildPoint(o,this.m_distance,p-a.o,t),this.addPoint(t)}}return this.m_a1=n,this.m_a2=r,this.addPointEx(this.m_offsetPts[0],0),this.m_offsetPts[0]=this.m_offsetPts[this.m_offsetPtCount-1].clone(),this.removeBadSegsFast()}removeBadSegsFast(){let t=!1;for(let t=0;t<this.m_offsetPtCount;t++){const e=this.m_offsetPts[t];e.m_next=t+1,e.m_prev=t-1}this.m_offsetPts[0].m_prev=this.m_offsetPtCount-2,this.m_offsetPts[this.m_offsetPtCount-2].m_next=0;let e=0;for(let s=0;s<this.m_offsetPtCount;s++)if(this.m_offsetPts[e].type&l){const s=this.deleteClosedSeg(e);if(-1===s){t=!0;break}e=s}else e=this.m_offsetPts[e].m_next;return!t&&(this.compressOffsetArray(e),!0)}deleteClosedSeg(t){const e=this.m_offsetPtCount-1;let s,n,r=t;for(let i=1;i<=e-2;i++){r=this.m_offsetPts[r].m_next,s=r,n=t;for(let t=1;t<=i;t++){if(n=this.m_offsetPts[n].m_prev,0===(this.m_offsetPts[n].type&l)&&0===(this.m_offsetPts[s].type&l)){const t=this.handleClosedIntersection(n,s);if(-1!==t)return t}s=this.m_offsetPts[s].m_prev}}return-1}handleClosedIntersection(t,e){const s=this.m_offsetPts[this.m_offsetPts[t].m_prev],n=this.m_offsetPts[t],r=this.m_offsetPts[this.m_offsetPts[e].m_prev],i=this.m_offsetPts[e];if(!this.sectGraphicRect(s,n,r,i))return-1;const o={pt:new m,bAtExistingPt:!1};if(((n.x-s.x)*(i.y-r.y)-(n.y-s.y)*(i.x-r.x))*this.m_distance<0&&this.findIntersection(s,n,r,i,o)&&!o.bAtExistingPt){const a=1e-8,c=Math.sqrt((n.x-s.x)*(n.x-s.x)+(n.y-s.y)*(n.y-s.y)),u=(n.x-s.x)/c,l=(n.y-s.y)/c,h=Math.sqrt((i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y)),m=(i.x-r.x)/h,f=(i.y-r.y)/h;let d=!1;const y=o.pt.clone();y.x+=(u+m)*a,y.y+=(l+f)*a;let p=r,_=o.pt,P=this.m_offsetPts[t].m_prev;for(;_.y>y.y!=p.y>y.y&&y.x<(p.x-_.x)*(y.y-_.y)/(p.y-_.y)+_.x&&(d=!d),p=_,P=this.m_offsetPts[P].m_next,P!==e;)_=this.m_offsetPts[P];if(d)return-1;const g=this.m_offsetPts[t].m_prev;return o.pt.type=n.type,o.pt.m_next=e,o.pt.m_prev=g,this.m_offsetPts[t]=o.pt,this.m_offsetPts[e].m_prev=t,e}return-1}sectGraphicRect(t,e,s,n){return Math.max(t.x,e.x)>=Math.min(s.x,n.x)&&Math.max(s.x,n.x)>=Math.min(t.x,e.x)&&Math.max(t.y,e.y)>=Math.min(s.y,n.y)&&Math.max(s.y,n.y)>=Math.min(t.y,e.y)}findIntersection(t,e,s,n,r){let i,o,a,c;return r.bAtExistingPt=!1,i=(e.y-t.y)*(n.x-s.x)-(e.x-t.x)*(n.y-s.y),o=(s.y-t.y)*(e.x-t.x)-(s.x-t.x)*(e.y-t.y),a=0===i?2:o/i,a>=0&&a<=1&&(c=a,i=(n.y-s.y)*(e.x-t.x)-(n.x-s.x)*(e.y-t.y),o=(t.y-s.y)*(n.x-s.x)-(t.x-s.x)*(n.y-s.y),a=0===i?2:o/i,a>=0&&a<=1)&&(r.pt.x=t.x+a*(e.x-t.x),r.pt.y=t.y+a*(e.y-t.y),this.m_bUseZ&&(r.pt.z=s.z+c*(n.z-s.z)),this.m_bUseM&&(r.pt.m=s.m+c*(n.m-s.m)),0!==c&&1!==c||0!==a&&1!==a||(r.bAtExistingPt=!0),!((0===c||1===c)&&a>0&&a<1||(0===a||1===a)&&c>0&&c<1))}compressOffsetArray(t){for(;this.m_offsetPts[t].m_prev<t;)t=this.m_offsetPts[t].m_prev;let e=0,s=t;do{const t=this.m_offsetPts[s].clone();this.m_offsetPts[e]=t,s=t.m_next,e++}while(s!==t);this.m_offsetPts[e]=this.m_offsetPts[0].clone(),this.m_offsetPtCount=e+1}addPart(t,e){if(!(e<2))for(let s=0;s<e;s++){const e=this.m_offsetPts[t+s];if(s?this.m_bUseZ?this.m_resultPath.lineTo3DCoords(e.x,e.y,e.z):this.m_resultPath.lineToCoords(e.x,e.y):this.m_bUseZ?this.m_resultPath.startPath3DCoords(e.x,e.y,e.z):this.m_resultPath.startPathCoords(e.x,e.y),this.m_bUseM){const t=this.m_resultPath.getPointCount()-1;this.m_resultPath.setAttribute(2,t,0,e.m)}}}offsetMultiPath(t){const e=(0,o.d)(this.m_inputGeometry,0,this.m_tolerance,0,this.m_progressTracker,12e3),s=e.querySegmentIterator();s.resetToFirstPath();let n=-1;for(;s.nextPath();)n++,this.offsetPath(e,n,t)}offsetPath(t,e,s){let n=t.getPathStart(e),r=t.getPathEnd(e);if(this.m_resultPath=s,t.isClosedPath(e)){const e=t.getXY(n);for(;r>n&&t.getXY(r-1).equals(e);)r--;if(r-n>=2){this.m_srcPtCount=r-n,this.m_srcPts.length=this.m_srcPtCount;for(let e=n;e<r;e++)this.progress(),this.m_srcPts[e-n]=m.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0);this.buildOffset()&&this.addPart(0,this.m_offsetPtCount-1)}}else{const e=t.getXY(n);for(;n<r-1&&t.getXY(n+1).equals(e);)n++;const s=t.getXY(r-1);for(;n<r-1&&t.getXY(r-2).equals(s);)r--;if(r-n>=2){this.m_srcPtCount=2*(r-n)-2,this.m_srcPts.length=this.m_srcPtCount;let s=m.construct(e,this.m_bUseZ?t.getAttributeAsDbl(1,n,0):0,this.m_bUseM?t.getAttributeAsDbl(2,n,0):0);s.type|=1536,this.m_srcPts[0]=s;let i=1,o=this.m_srcPtCount-1;for(let e=n+1;e<r-1;e++,i++,o--)this.progress(),s=m.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0),this.m_srcPts[i]=s.clone(),s.type|=h,this.m_srcPts[o]=s.clone();if(s=m.construct(t.getXY(r-1),this.m_bUseZ?t.getAttributeAsDbl(1,r-1,0):0,this.m_bUseM?t.getAttributeAsDbl(2,r-1,0):0),s.type|=512,this.m_srcPts[i]=s.clone(),this.buildOffset())if(this.m_offsetPts.length>=2){let t=-1,e=-1,s=0!==(this.m_offsetPts[this.m_offsetPtCount-1].type&h);s||(t=0);for(let n=1;n<this.m_offsetPtCount;n++){this.progress();const r=0!==(this.m_offsetPts[n].type&h);r?s||(e=n-1,e-t+1>1&&this.addPart(t,e-t+1)):s&&(t=n-1),s=r}s||(e=this.m_offsetPtCount-1,e-t+1>1&&this.addPart(t,e-t+1))}else{const t=0,e=this.m_offsetPtCount-1;e-t>=1&&this.addPart(t,e-t+1)}}}this.m_srcPts.length=0,this.m_srcPtCount=0,this.m_offsetPts.length=0,this.m_offsetPtCount=0}static dotSign(t,e,s,n){const r=e.x-t.x,i=e.y-t.y,o=n.x-s.x,c=n.y-s.y,u=(0,a.t)(r,i,o,c);return(0,a.e)(u)}}class d extends n.G{constructor(t,e,s,n,r,i,o){super(),this.m_progressTracker=o,this.m_index=-1,this.m_inputGeoms=t,this.m_spatialReference=e,this.m_distance=s,this.m_joins=n,this.m_miterLimit=r,this.m_flattenError=i}tock(){return!0}getRank(){return 1}next(){if(!this.m_inputGeoms)return null;let t;for(;t=this.m_inputGeoms.next();)return this.m_index=this.m_inputGeoms.getGeometryID(),this.offset(t);return null}getGeometryID(){return this.m_index}offset(t){let e;return(0,i.c)(t),e=this.m_flattenError<=0?(0,r.b)(this.m_spatialReference,t,!0).total():this.m_flattenError,function(t,e,s,n,r,o){if(null===t&&(0,i.a)(""),t.getDimension()<1&&(0,i.a)(""),r>0||(0,i.a)(""),(0,i.c)(t),0===e||t.isEmpty())return t;const a=new f(o);return a.m_bUseZ=t.hasAttribute(1),a.m_bUseM=t.hasAttribute(2),a.m_inputGeometry=t,a.m_distance=e,a.m_tolerance=r,a.m_joins=s,a.m_miterLimit=n>1?n:1,a.m_progressCounter=0,a.constructOffset()}(t,this.m_distance,this.m_joins,this.m_miterLimit,e,this.m_progressTracker)}}const y=new class{getOperatorType(){return 10108}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}executeMany(t,e,s,n,r,i,o){return new d(t,e,s,n,r,i,o)}execute(t,e,s,n,r,i,o){return new d(null,e,s,n,r,i,o).offset(t)}};function p(t,e,s,n,r,i){return y.execute(t,e,s,n,r,i,null)}function _(t,e,s,r,i,o){const a=y.executeMany(new n.S(t),e,s,r,i,o,null);return Array.from(a)}},69397(t,e,s){s.d(e,{$B:()=>r,Qf:()=>u,Qh:()=>a,RS:()=>i,Ul:()=>d,ez:()=>m,lM:()=>o,qK:()=>h});var n=s(34275);function r(t){return 32+t.length}const i=16;function o(t){if(!t)return 0;let e=h;for(const s in t)t.hasOwnProperty(s)&&(e+=c(t[s],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return l(t,8);let s=m;for(let n=0;n<e;n++)s+=c(t[n]);return s}(t);let e=h;for(const s in t)t.hasOwnProperty(s)&&(e+=c(t[s]));return e}function c(t,e=!0){switch(typeof t){case"object":return e?a(t):h;case"string":return r(t);case"number":return i;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+f:Array.isArray(e)?l(e,i):0:0),0)}function l(t,e){return m+t.length*e}const h=32,m=16,f=145,d=64},70328(t,e,s){s.d(e,{BI:()=>g,DC:()=>h,Ej:()=>f,Ie:()=>_,Jt:()=>P,Ne:()=>d,RF:()=>l,aI:()=>b,fA:()=>o,gE:()=>c,hZ:()=>p,iT:()=>m,is:()=>x,qv:()=>M,vI:()=>y,vY:()=>a,v_:()=>C,vt:()=>i,w1:()=>u});var n=s(5443),r=(s(19419),s(4197));function i(t=C){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,s,n,r,o,a=i()){return a[0]=t,a[1]=e,a[2]=s,a[3]=n,a[4]=r,a[5]=o,a}function a(t,e=i()){return function(t,e,s,n=i()){return p(n,M),function(t,e,s=0,n=e.length/3){let r=t[0],i=t[1],o=t[2],a=t[3],c=t[4],u=t[5];for(let t=0;t<n;t++)r=Math.min(r,e[s+3*t]),i=Math.min(i,e[s+3*t+1]),o=Math.min(o,e[s+3*t+2]),a=Math.max(a,e[s+3*t]),c=Math.max(c,e[s+3*t+1]),u=Math.max(u,e[s+3*t+2]);t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=c,t[5]=u}(n,t,e,s),n}(t,0,t.length/3,e)}function c(t,e=(0,r.jh)(24)){const[s,n,i,o,a,c]=t;return e[0]=s,e[1]=n,e[2]=i,e[3]=s,e[4]=n,e[5]=c,e[6]=s,e[7]=a,e[8]=i,e[9]=s,e[10]=a,e[11]=c,e[12]=o,e[13]=n,e[14]=i,e[15]=o,e[16]=n,e[17]=c,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=c,e}function u(t,e){const s=isFinite(t[2])||isFinite(t[5]);return new n.A(s?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function f(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function d(t,e,s=t){return s[0]=e[0],s[1]=e[1],s[2]=e[2],s!==t&&(s[3]=t[3],s[4]=t[4],s[5]=t[5]),s}function y(t,e,s=t){return s[3]=e[0],s[4]=e[1],s[5]=e[2],s!==t&&(s[0]=t[0],s[1]=t[1],s[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function _(t){return t?p(t,M):i(M)}function P(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function g(t,e,s,n,r){return t[0]=e,t[1]=s,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=r,t[5]=Number.POSITIVE_INFINITY,t}function x(t){return 6===t.length}function b(t,e,s){if(null==t||null==e)return t===e;if(!x(t)||!x(e))return!1;if(s){for(let n=0;n<t.length;n++)if(!s(t[n],e[n]))return!1}else for(let s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}const M=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];i()},71409(t,e,s){s.d(e,{A7:()=>m,L2:()=>u,SQ:()=>n,s9:()=>c,y6:()=>h,zD:()=>o});const n=new Map([[1025,109452],[1033,109451],[9001,109404],[9002,109405],[9003,109406],[9005,109407],[9014,109408],[9030,109409],[9031,109410],[9033,109411],[9034,109412],[9035,109413],[9036,109414],[9037,109415],[9038,109416],[9039,109417],[9040,109418],[9041,109419],[9042,109420],[9043,109421],[9050,109422],[9051,109423],[9052,109424],[9053,109425],[9060,109426],[9061,109427],[9062,109428],[9063,109429],[9070,109430],[9080,109431],[9081,109432],[9082,109433],[9083,109434],[9084,109435],[9085,109436],[9086,109437],[9087,109438],[9093,109439],[9094,109440],[9095,109441],[9096,109442],[9097,109444],[9098,109445],[9099,109446],[9300,109447],[9301,109448],[9302,109449],[109001,109442],[109002,109443],[109003,109444],[109004,109445],[109005,109450],[109006,109451],[109007,109452],[109008,109453],[109009,109454],[109010,109455],[109011,109456],[109012,109457],[109013,109458],[109014,109459],[109015,109462],[109016,109464],[109017,109465],[109018,109466],[109030,109460],[109031,109461]]);function r(t){return(e,s)=>[e,{type:t,wkid:e,factor:s}]}const i=r("angular"),o=new Map([i(1031,4.84813681109536e-9),i(9101,1),i(9102,.017453292519943295),i(9103,.0002908882086657216),i(9104,484813681109536e-20),i(9105,.015707963267948967),i(9106,.015707963267948967),i(9109,1e-6),i(9112,.00015707963267948965),i(9113,15707963267948967e-22),i(9114,.0009817477042468104)]),a=r("linear"),c=new Map([a(1025,.001),a(1033,.01),a(9001,1),a(9002,.3048),a(9003,.30480060960121924),a(9005,.3047972654),a(9014,1.8288),a(9030,1852),a(9031,1.0000135965),a(9033,20.11684023368047),a(9034,.2011684023368047),a(9035,1609.3472186944375),a(9036,1e3),a(9037,.9143917962),a(9038,20.1166195164),a(9039,.201166195164),a(9040,.9143984146160287),a(9041,.3047994715386762),a(9042,20.116765121552632),a(9043,.2011676512155263),a(9050,.9143992),a(9051,.3047997333333333),a(9052,20.1167824),a(9053,.201167824),a(9060,.9143992042898124),a(9061,.30479973476327077),a(9062,20.116782494375872),a(9063,.2011678249437587),a(9070,.30480083333333335),a(9080,.30479951024814694),a(9081,.30479841),a(9082,.3047996),a(9083,.3047995),a(9084,.9143985307444408),a(9085,.91439523),a(9086,.9143988),a(9087,.9143985),a(9093,1609.344),a(9094,.3047997101815088),a(9095,.3048007491),a(9096,.9144),a(9097,20.1168),a(9098,.201168),a(9099,.914398),a(9300,.30479933333333337),a(9301,20.116756),a(9302,.20116756),a(109001,.9144),a(109002,.9144018288036576),a(109003,20.1168),a(109004,.201168),a(109005,.1),a(109006,.01),a(109007,.001),a(109008,.0254),a(109009,.025400050800101603),a(109010,5.0292),a(109011,5.029210058420118),a(109012,1853.248),a(109013,1853.184),a(109014,1.7018),a(109015,.8466683600033867),a(109016,.00035277777777777776),a(109017,1e-6),a(109018,1e-9),a(109030,5e4),a(109031,15e4)]),u=c.get(9001),l=r("area"),h=new Map([l(109401,1e4),l(109402,4046.8564224),l(109403,4046.872609874252),l(109404,1),l(109405,.09290304),l(109406,.09290341161327487),l(109407,.09290137299531805),l(109408,3.34450944),l(109409,3429904),l(109410,1.000027193184865),l(109411,404.6872609874253),l(109412,.04046872609874252),l(109413,2589998.470319522),l(109414,1e6),l(109415,.8361123569578626),l(109416,404.6783807676053),l(109417,.04046783807676053),l(109418,.8361244606523066),l(109419,.09290271785025629),l(109420,404.6842389557165),l(109421,.04046842389557164),l(109422,.83612589696064),l(109423,.0929028774400711),l(109424,404.6849341289498),l(109425,.04046849341289498),l(109426,.836125904805842),l(109427,.09290287831176021),l(109428,404.6849379260275),l(109429,.04046849379260275),l(109430,.09290354800069446),l(109431,.09290274144751023),l(109432,.09290207073852812),l(109433,.09290279616016),l(109434,.09290273520025),l(109435,.836124673027592),l(109436,.8361186366467529),l(109437,.8361251654414399),l(109438,.83612461680225),l(109439,2589988.110336),l(109440,.09290286332673177),l(109441,.09290349665192114),l(109442,.83612736),l(109443,.8361307045194736),l(109444,404.68564224),l(109445,.040468564224),l(109446,.836123702404),l(109447,.09290263360044447),l(109448,404.683871963536),l(109449,.0404683871963536),l(109450,.01),l(109451,1e-4),l(109452,1e-6),l(109453,64516e-8),l(109454,.0006451625806477421),l(109455,25.29285264),l(109456,25.29295381171408),l(109457,3434528.149504),l(109458,3434290.937856),l(109459,2.89612324),l(109460,25e8),l(109461,225e8),l(109462,.7168473118308245),l(109463,100),l(109464,1.244521604938271e-7),l(109465,1e-12),l(109466,1e-18)]),m=h.get(109404)},76061(t,e,s){s.d(e,{G:()=>n,S:()=>r});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class r extends n{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(t,e,s){s.r(e),s.d(e,{fromExtent:()=>p,fromGeometry:()=>y,fromMultipoint:()=>_,fromPoint:()=>P,fromPolygon:()=>g,fromPolyline:()=>x,fromPolylineUsingImportOperator:()=>b,fromSpatialReference:()=>M,getSpatialReference:()=>d,toExtent:()=>w,toGeometry:()=>C,toMultipoint:()=>E,toPoint:()=>v,toPolygon:()=>A,toPolyline:()=>G});var n=s(83661),r=(s(79187),s(55537)),i=s(95213),o=s(88885),a=s(5443),c=s(48526),u=s(86738),l=s(39829),h=s(82799),m=(s(90293),s(83299));const f="_gxVersion";function d(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function y(t){switch(t.type){case"point":return P(t);case"multipoint":return _(t);case"polyline":return x(t);case"polygon":return g(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(f)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(f,e)}return t.getCacheValue(f)}function _(t){if(!t.getCacheValue(f)){const e=new o.M,s=new i.P,n=t.points,r=t.hasM,a=t.hasZ,c=a?3:2;for(let t=0,i=n.length;t<i;t++){const i=n[t];s.setXYCoords(i[0],i[1]),a&&s.setZ(i[2]??0),r&&s.setM(i[c]??NaN),e.add(s)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function P(t){if(!t.getCacheValue(f)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function g(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:s,hasZ:n,rings:r}=t,i=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:s,hasZ:n,rings:r});t.setCacheValue(f,i)}return t.getCacheValue(f)}function x(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:s,hasZ:n,paths:r}=t,i=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:s,hasZ:n,paths:r});t.setCacheValue(f,i)}return t.getCacheValue(f)}function b(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:s,hasZ:n,paths:r}=t,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:s,hasZ:n,paths:r});t.setCacheValue(f,i)}return t.getCacheValue(f)}function M(t){return(0,m.fromSpatialReference)(t)}function C(t,e){if(t)switch(t.getGeometryType()){case r.G.enumPoint:return v(t,e);case r.G.enumEnvelope:return w(t,e);case r.G.enumMultiPoint:return E(t,e);case r.G.enumPolyline:return G(t,e);case r.G.enumPolygon:return A(t,e)}return null}function w(t,e){if(t.isEmpty())return null;const s=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),n=t.getDescription();if(n.hasM()){const e=t.queryInterval(2,0);s.mmin=e.vmin,s.mmax=e.vmax}if(n.hasZ()){const e=t.queryInterval(1,0);s.zmin=e.vmin,s.zmax=e.vmax}return s.setCacheValue(f,t),s}function E(t,e){if(t.isEmpty())return null;const s=t.getDescription(),n=s.hasM(),r=s.hasZ(),o=[],a=new i.P;for(let e=0,s=t.getPointCount();e<s;e++){t.getPointByVal(e,a);const s=[a.getX(),a.getY()];r&&s.push(a.getZ()),n&&s.push(a.getM()),o.push(s)}const u=new c.A({hasM:n,hasZ:r,points:o,spatialReference:e});return u.setCacheValue(f,t),u}function v(t,e){if(t instanceof n.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const s=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),r=t.getDescription();return r.hasM()&&(s.m=t.getM()),r.hasZ()&&(s.z=t.getZ()),s.setCacheValue(f,t),s}function A(t,e){if(t.isEmpty())return null;const s=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return s.setCacheValue(f,t),s}function G(t,e){if(t.isEmpty())return null;const s=h.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return s.setCacheValue(f,t),s}},85549(t,e,s){s.d(e,{executeOffsetJson:()=>u,r:()=>c});var n=s(40547),r=s(66070),i=s(78125),o=s(83299);const a={round:0,bevel:1,miter:2,square:3};function c(t,e,s,r,o,a){e=(0,n.convertToSpatialReferenceUnit)((0,n.toLengthUnit)(s),t.spatialReference,e);const c=(0,i.fromGeometry)(t),u=(0,i.getSpatialReference)(t),h=l(c,(0,i.fromSpatialReference)(u),e,r,o,a);return(0,i.toGeometry)(h,u)}function u(t,e,s,r,i,a){e=(0,n.convertToSpatialReferenceUnit)((0,n.toLengthUnit)(s),t.spatialReference,e);const c=(0,o.fromGeometry)(t),u=c.getGeometry(),h=c.getSpatialReference(),m=l(u,h,e,r,i,a);return(0,o.toGeometry)(m,h)}function l(t,e,s,n,i,o){const c=(0,r.g7)(t,e,s,a[n],i,o);if(!c.isEmpty())return c;{const c=t.clone();c.reverseAllPaths();const u=(0,r.g7)(c,e,-s,a[n],i,o);if(!u.isEmpty())return u.reverseAllPaths(),u}const u=Math.abs(s)/10,l=u/10;let h=o;if("round"===n&&(h+=l),"bevel"===n||"square"===n){const c=(0,r.g7)(t,e,s,a[n="miter"],i,o);if(!c.isEmpty())return c}if("miter"===n){const c=(0,r.g7)(t,e,s,a[n="round"],i,o);if(!c.isEmpty())return c}if("round"===n)for(;h<=u;h+=l){const o=(0,r.g7)(t,e,s,a[n],i,h);if(!o.isEmpty())return o}return null}},85935(t,e,s){s.d(e,{D$:()=>a,Nh:()=>h,O$:()=>l,mT:()=>u,ps:()=>f});var n=s(799);const r={TypeNotAllowedInFeature:"Feature attributes only support dates, numbers, strings, guids.",LogicError:"Logic error - {reason}",CannotCompareDateAndTime:"Cannot compare date or dateonly with timeonly types",NeverReach:"Encountered unreachable logic",AsyncNotEnabled:"Async Arcade must be enabled for this script",ModuleAccessorMustBeString:"Module accessor must be a string",ModuleExportNotFound:"Module has no export with provided identifier",ModulesNotSupported:"Current profile does not support modules",ArrayAccessMustBeNumber:"Array accessor must be a number",FunctionNotFound:"Function not found",FieldNotFound:"Key not found - {key}",CircularModules:"Circular module dependencies are not allowed",Cancelled:"Execution cancelled",UnsupportedHashType:"Type not supported in hash function",IllegalResult:"Value is not a supported return type",PortalRequired:"Portal is required",InvalidParameter:"Invalid parameter",WrongNumberOfParameters:"Call with wrong number of parameters",Unrecognized:"Unrecognized code structure",UnrecognizedType:"Unrecognized type",WrongSpatialReference:"Cannot work with geometry in this spatial reference. It is different to the execution spatial reference",BooleanConditionRequired:"Conditions must use booleans",NoFunctionInDictionary:"Dictionaries cannot contain functions.",NoFunctionInArray:"Arrays cannot contain functions.",NoFunctionInTemplateLiteral:"Template Literals do not expect functions by value.",KeyAccessorMustBeString:"Accessor must be a string",KeyMustBeString:"Object keys must be a string",Immutable:"Object is immutable",UnexpectedToken:"Unexpected token",MemberOfNull:"Cannot access property of null object",MaximumCallDepth:"Exceeded maximum function depth",OutOfBounds:"Out of bounds",InvalidIdentifier:"Identifier not recognized",CallNonFunction:"Expression is not a function",InvalidMemberAccessKey:"Cannot access value using a key of this type",AssignModuleFunction:"Cannot assign function to module variable",UnsupportUnaryOperator:"Unsupported unary operator",UnsupportedOperator:"Unsupported operator",LogicalExpressionOnlyBoolean:"Logical expressions must be boolean",LogicExpressionOrAnd:"Logical expression can only be combined with || or &&",CannotChangeTimeZoneTime:"Cannot change the timezone of a Time",CannotChangeTimeZoneDateOnly:"Cannot change the timezone of a DateOnly",FeatureSetDoesNotHaveSubtypes:"FeatureSet does not have subtypes"};class i extends Error{constructor(...t){super(...t)}}class o extends i{constructor(t,e){super(c(e)+t.message,{cause:t}),this.loc=null,Error.captureStackTrace&&Error.captureStackTrace(this,o),e?.loc&&(this.loc=e.loc)}}class a extends Error{constructor(t,e,s,i){super("Execution error - "+c(s)+(0,n.HC)(r[e],i)),this.loc=null,this.declaredRootClass="esri.arcade.arcadeexecutionerror",Error.captureStackTrace&&Error.captureStackTrace(this,a),s?.loc&&(this.loc=s.loc)}}function c(t){return t&&t.loc?`Line : ${t.loc.start?.line}, ${t.loc.start?.column}: `:""}class u extends Error{constructor(t,e,s,i){super("Compilation error - "+c(s)+(0,n.HC)(r[e],i)),this.loc=null,this.declaredRootClass="esri.arcade.arcadecompilationerror",Error.captureStackTrace&&Error.captureStackTrace(this,u),s?.loc&&(this.loc=s.loc)}}class l extends Error{constructor(){super("Uncompilable code structures"),this.declaredRootClass="esri.arcade.arcadeuncompilableerror",Error.captureStackTrace&&Error.captureStackTrace(this,l)}}function h(t,e,s){return"esri.arcade.arcadeexecutionerror"===s.declaredRootClass||"esri.arcade.arcadecompilationerror"===s.declaredRootClass?null===s.loc&&e?.loc?new o(s,{cause:s}):s:("esri.arcade.featureset.support.featureseterror"===s.declaredRootClass||"esri.arcade.featureset.support.sqlerror"===s.declaredRootClass||s.declaredRootClass,e?.loc?new o(s,{cause:s}):s)}const m={UnrecognizedUri:"Unrecognized uri - {uri}",UnsupportedUriProtocol:"Unrecognized uri protocol"};class f extends Error{constructor(t,e){super((0,n.HC)(m[t],e)),this.declaredRootClass="esri.arcade.arcademoduleerror",Error.captureStackTrace&&Error.captureStackTrace(this,f)}}},92722(t,e,s){s.d(e,{A:()=>r});var n=s(69397);class r{constructor(t=[],e=[],s=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=s,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:s,hasM:n}){return new r(t,e,s||!1,n||!1)}static fromRect([t,e,s,n]){const i=s-t,o=n-e;return new r([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const s of this.lengths){if(s<3)continue;const{stride:n}=this;let r=this.coords[n*e],i=this.coords[n*e+1];for(let o=1;o<s;o+=1){const s=n*(e+o),a=this.coords[s],c=this.coords[s+1];t+=-.5*(a-r)*(c+i),r=a,i=c}e+=s}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:s}=this;for(const n of this.lengths){for(let r=0;r<n;r++){const n=s*(e+r);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:s}=t;let n=0;const{stride:r}=this;for(const t of s){for(let s=1;s<t;s++){const t=r*(n+s);e[t]+=e[t-r],e[t+1]+=e[t+1-r]}n+=t}return t}clone(t){if(this.isPoint)return new r([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:s,size:n}=this,i=this.coords.slice(0,n*s);return t?(t.set(i),new r(e,t)):new r(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const s=new Array(e*t);for(let e=0,n=0;e<s.length;e+=t)s[n++]=this.coords[e],s[n++]=this.coords[e+1];return new r(this.lengths,s,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3561,5804],{15804(e,t,r){r.d(t,{addOrUpdateResources:()=>i,bg:()=>d,cL:()=>p,fetchResources:()=>n,removeAllResources:()=>l,removeResource:()=>c});var a=r(11254),o=r(49186),s=r(84952);async function n(e,t={},r){await e.load(r);const a=(0,s.fj)(e.itemUrl,"resources"),{start:o=1,num:n=10,sortOrder:i="asc",sortField:c="resource"}=t,l={query:{start:o,num:n,sortOrder:i,sortField:c,token:e.apiKey},signal:r?.signal},u=await e.portal.request(a,l);return{total:u.total,nextStart:u.nextStart,resources:u.resources.map(({created:t,size:r,resource:a})=>({created:new Date(t),size:r,resource:e.resourceFromPath(a)}))}}async function i(e,t,r,a){const n=new Map;for(const{resource:e,content:a,compress:s,access:i}of t){if(!e.hasPath())throw new o.A(`portal-item-resource-${r}:invalid-path`,"Resource does not have a valid path");const[t,c]=u(e.path),l=`${t}/${s??""}/${i??""}`;n.has(l)||n.set(l,{prefix:t,compress:s,access:i,files:[]}),n.get(l).files.push({fileName:c,content:a})}await e.load(a);const i=(0,s.fj)(e.userItemUrl,"add"===r?"addResources":"updateResources");for(const{prefix:t,compress:r,access:o,files:s}of n.values()){const n=25;for(let c=0;c<s.length;c+=n){const l=s.slice(c,c+n),u=new FormData;t&&"."!==t&&u.append("resourcesPrefix",t),r&&u.append("compress","true"),o&&u.append("access",o);let p=0;for(const{fileName:e,content:t}of l)u.append("file"+ ++p,t,e);u.append("f","json"),await e.portal.request(i,{method:"post",body:u,signal:a?.signal})}}}async function c(e,t,r){if(!t.hasPath())throw new o.A("portal-item-resources-remove:invalid-path","Resource does not have a valid path");await e.load(r);const a=(0,s.fj)(e.userItemUrl,"removeResources");await e.portal.request(a,{method:"post",query:{resource:t.path},signal:r?.signal}),t.portalItem=null}async function l(e,t){await e.load(t);const r=(0,s.fj)(e.userItemUrl,"removeResources");return e.portal.request(r,{method:"post",query:{deleteAll:!0},signal:t?.signal})}function u(e){const t=e.lastIndexOf("/");return-1===t?[".",e]:[e.slice(0,t),e.slice(t+1)]}async function p(e){return"blob"===e.type?e.blob:"json"===e.type?new Blob([e.jsonString],{type:"application/json"}):(await(0,a.A)(e.url,{responseType:"blob"})).data}function d(e,t){if(!e.hasPath())return null;const[r,,a]=function(e){const[t,r]=function(e){const t=(0,s.Zo)(e);return null==t?[e,""]:[e.slice(0,e.length-t.length-1),`.${t}`]}(e),[a,o]=u(t);return[a,o,r]}(e.path);return e.portalItem.resourceFromPath((0,s.fj)(r,t+a))}},26121(e,t,r){r.d(t,{ci:()=>n,dL:()=>o});var a=r(49186);async function o(e){const t=[];for(const r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){const e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}r(77548);const s=new Set(["layer:unsupported","property:unsupported","symbol:unsupported","symbol-layer:unsupported","url:unsupported"]);function n(e,t,r){let o=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new a.A(e,t,r));if(e.blockedRelativeUrls&&(o=o.concat(e.blockedRelativeUrls.map(e=>new a.A("url:unsupported",`Relative url '${e}' is not supported`)))),r){const{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:a}=r;e&&(o=o.filter(({name:e})=>!(s.has(e)||t.includes(e)))),a&&(o=o.filter(e=>"web-document-write:property-required"!==e.name))}if(o.length>0)throw new a.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:o})}},46130(e,t,r){r.d(t,{v:()=>o});var a=r(76553);function o(e){e?.writtenProperties&&e.writtenProperties.forEach(({target:e,propName:t,newOrigin:r})=>{(0,a.H)(e)&&r&&e.originOf(t)!==r&&e.updateOrigin(t,r)})}},63561(e,t,r){r.d(t,{save:()=>m,saveAs:()=>h});var a=r(71530),o=r(88788),s=r(10407),n=r(91682);const i="Media Layer",c=["media-layer:unsupported-source"];function l(e){return{isValid:"media"===e.type,errorMessage:"Layer.type should be 'media'"}}function u(e){return(0,o.m)(e,"portal-item",!0)}function p(e){return Promise.resolve(e.layerJSON)}async function d(e,t){t.extent=e.fullExtent?await(0,s.sQ)(e.fullExtent):null}async function f(e,t){t.title||=e.title,await d(e,t),(0,s.OM)(t,s.mm.METADATA)}async function m(e,t){return(0,a.UN)({layer:e,itemType:i,validateLayer:l,createJSONContext:e=>u(e),createItemData:p,errorNamePrefix:"media-layer-save",supplementalUnsupportedErrors:c,setItemProperties:d,saveResources:(t,r)=>(0,n.r)(e.resourceReferences,r)},t)}async function h(e,t,r){return(0,a.Uh)({layer:e,itemType:i,validateLayer:l,createJSONContext:e=>u(e),createItemData:p,errorNamePrefix:"media-layer-save-as",supplementalUnsupportedErrors:c,newItem:t,setItemProperties:f,saveResources:(t,r)=>(0,n.r)(e.resourceReferences,r)},r)}},71530(e,t,r){r.d(t,{UN:()=>v,Uh:()=>g});var a=r(49186),o=r(46130),s=r(20655),n=r(80812),i=r(88788),c=r(10407),l=r(26121);async function u(e){const{layer:t,errorNamePrefix:r,validateLayer:o}=e;await t.load(),function(e,t,r){const o=r(e);if(!o.isValid)throw new a.A(`${t}:invalid-parameters`,o.errorMessage,{layer:e})}(t,r,o)}function p(e,t){return`Layer (title: ${e.title}, id: ${e.id}) of type '${e.declaredClass}' ${t}`}function d(e){const{item:t,errorNamePrefix:r,layer:o,validateItem:s}=e;if(function(e){const{item:t,itemType:r,additionalItemType:o,errorNamePrefix:s,layer:n}=e,i=[r];if(o&&i.push(o),!i.includes(t.type)){const e=i.map(e=>`'${e}'`).join(", ");throw new a.A(`${s}:portal-item-wrong-type`,`Portal item type should be one of: "${e}"`,{item:t,layer:n})}}(e),s){const e=s(t);if(!e.isValid)throw new a.A(`${r}:invalid-parameters`,e.errorMessage,{layer:o})}}function f(e){const{layer:t,errorNamePrefix:r}=e,{portalItem:o}=t;if(!o)throw new a.A(`${r}:portal-item-not-set`,p(t,"requires the portalItem property to be set"));if(!o.loaded)throw new a.A(`${r}:portal-item-not-loaded`,p(t,"cannot be saved to a portal item that does not exist or is inaccessible"));d({...e,item:o})}function m(e){const{newItem:t,itemType:r}=e;let a=n.default.from(t);return a.id&&(a=a.clone(),a.id=null),a.type??=r,a.portal??=s.A.getDefault(),d({...e,item:a}),a}function h(e){return(0,i.m)(e,"portal-item")}async function w(e,t,r){"beforeSave"in e&&"function"==typeof e.beforeSave&&await e.beforeSave();const a=e.write({},t);return await Promise.all(t.resources?.pendingOperations??[]),(0,l.ci)(t,{errorName:"layer-write:unsupported"},r),a}function y(e){(0,c.LG)(e,c.mm.JSAPI),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter((e,t,r)=>r.indexOf(e)===t))}async function v(e,t){const{layer:r,createItemData:a,createJSONContext:s,setItemProperties:n,saveResources:i,supplementalUnsupportedErrors:c}=e;await u(e),f(e);const l=r.portalItem,p=s?s(l):h(l),d=await w(r,p,{...t,supplementalUnsupportedErrors:c}),m=await a({layer:r,layerJSON:d},l);return await(n?.(r,l,m)),y(l),await l.update({data:m}),(0,o.v)(p),await(i?.(l,p)),l}async function g(e,t){const{layer:r,createItemData:a,createJSONContext:s,setItemProperties:n,saveResources:i,supplementalUnsupportedErrors:c}=e;await u(e);const l=m(e),p=s?s(l):h(l),d=await w(r,p,{...t,supplementalUnsupportedErrors:c}),f=await a({layer:r,layerJSON:d},l);return await n(r,l,f),y(l),await async function(e,t,r){const a=e.portal;await a.signIn(),await a.user.addItem({item:e,data:t,folder:r?.folder})}(l,f,t),r.portalItem=l,(0,o.v)(p),await(i?.(l,p)),l}},76553(e,t,r){function a(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>a})},88788(e,t,r){r.d(t,{m:()=>n,v:()=>s});var a=r(84952),o=r(20655);function s(e,t){return{...i(e,t),readResourcePaths:[]}}function n(e,t,r){const o=(0,a.An)(e.itemUrl);return{...i(e,t),messages:[],writtenProperties:[],blockedRelativeUrls:[],verifyItemRelativeUrls:o?{rootPath:o.path,writtenUrls:[]}:null,resources:r?{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}:null}}function i(e,t){return{origin:t,url:(0,a.An)(e.itemUrl),portal:e.portal||o.A.getDefault(),portalItem:e}}},91682(e,t,r){r.d(t,{S:()=>c,r:()=>i});var a=r(49186),o=r(74887),s=r(13069),n=r(15804);async function i(e,t,r){const a=await l(e,t,r);await u(a,t,r)}async function c(e,t,r,a,o){const s=await l(r,a,o);await e.update({data:t}),await u(s,a,o)}async function l(e,t,i){if(!t?.resources)return;const c=t.portalItem===e.portalItem?new Set(e.paths):new Set;e.paths.length=0,e.portalItem=t.portalItem;const l=new Set(t.resources.toKeep.map(e=>e.resource.path)),u=new Set,p=[];l.forEach(t=>{c.delete(t),e.paths.push(t)});const d=[],f=[],m=[];for(const r of t.resources.toUpdate)if(c.delete(r.resource.path),l.has(r.resource.path)||u.has(r.resource.path)){const{resource:t,content:a,finish:o}=r,i=(0,n.bg)(t,(0,s.lk)());e.paths.push(i.path),d.push({resource:i,content:await(0,n.cL)(a),compress:r.compress}),o&&m.push(()=>o(i))}else{e.paths.push(r.resource.path),f.push({resource:r.resource,content:await(0,n.cL)(r.content),compress:r.compress});const t=r.finish;t&&m.push(()=>t(r.resource)),u.add(r.resource.path)}for(const r of t.resources.toAdd)if(e.paths.push(r.resource.path),c.has(r.resource.path))c.delete(r.resource.path);else{d.push({resource:r.resource,content:await(0,n.cL)(r.content),compress:r.compress});const e=r.finish;e&&m.push(()=>e(r.resource))}if(d.length||f.length){const{addOrUpdateResources:e}=await Promise.resolve().then(r.bind(r,15804));await e(t.portalItem,d,"add",i),await e(t.portalItem,f,"update",i)}if(m.forEach(e=>e()),0===p.length)return c;const h=await(0,o.Ol)(p);if((0,o.Te)(i),h.length>0)throw new a.A("save:resources","Failed to save one or more resources",{errors:h});return c}async function u(e,t,r){if(!e||!t.portalItem)return;const a=[];for(const o of e){const e=t.portalItem.resourceFromPath(o);a.push(e.portalItem.removeResource(e,r))}await(0,o.Lx)(a)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3103],{33103(t,e,r){r.r(e),r.d(e,{executeAttributeBinsQuery:()=>S});var n=r(2272),s=r(11254),i=r(84952),u=r(60408),a=r(17136),o=r(21325),l=r(10536);function c(t){const e=t.geometry,r=t.toJSON(),n=r;let s,i,a;if(null!=e&&(i=e.spatialReference,a=(0,o.YX)(i),n.geometryType=(0,u.$B)(e),n.geometry=JSON.stringify(e),n.inSR=a),r.outSR?(n.outSR=(0,o.YX)(r.outSR),s=t.outSpatialReference):e&&(n.outSR=n.inSR,s=i),n.bin&&=JSON.stringify(n.bin),n.quantizationParameters&&=JSON.stringify(n.quantizationParameters),n.outStatistics&&=JSON.stringify(n.outStatistics),n.outTimeReference&&=JSON.stringify(n.outTimeReference),r.timeExtent){const t=r.timeExtent,{start:e,end:s}=t;null==e&&null==s||(n.time=e===s?e:`${e??"null"},${s??"null"}`),delete r.timeExtent}return t.defaultSpatialReference&&(0,o.aI)(i,s)&&(n.defaultSR=n.inSR,delete n.inSR,delete n.outSR),n}var f=r(37745),y=r(14575);async function S(t,e,r){const{data:u}=await async function(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?{data:{features:[]}}:await async function(t,e,r={}){const n="string"==typeof t?(0,i.An)(t):t,u=e.geometry?[e.geometry]:[],o=await(0,a.el)(u,null,{signal:r.signal}),f=o?.[0];null!=f&&((e=e.clone()).geometry=f);const y=(0,l.z)({...n.query,f:"json",...c(e)});return(0,s.A)((0,i.fj)(n.path,"queryBins"),{...r,query:{...y,...r.query}})}(t,e,r)}((0,n.Dl)(t),y.default.from(e),r);return f.A.fromJSON(u)}},37745(t,e,r){r.d(e,{A:()=>y});var n,s=r(31635),i=r(52106),u=r(4718),a=r(91429);let o=class extends i.A{static{n=this}constructor(t){super(t),this.stackedAttributes=null}cloneShallow(){return new n(Object.assign({stackedAttributes:this.stackedAttributes},super.cloneShallow()))}toJSON(){return{...super.toJSON(),stackedAttributes:(0,u.o8)(this.stackedAttributes)}}};(0,s.Cg)([(0,a.MZ)()],o.prototype,"stackedAttributes",void 0),o=n=(0,s.Cg)([(0,a.$K)("esri.AttributeBinsGraphic")],o);var l=r(69540),c=r(22671),f=r(36005);let y=class extends((0,l.OU)(c.A)){constructor(t){super(t),this.features=[]}readFeatures(t,e){return this.readFeaturesWithClass(t,e,o)}};(0,s.Cg)([(0,a.MZ)({type:[o],json:{write:!0}})],y.prototype,"features",void 0),(0,s.Cg)([(0,f.w)("features")],y.prototype,"readFeatures",null),y=(0,s.Cg)([(0,a.$K)("esri.rest.support.AttributeBinsFeatureSet")],y)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2318,5681,7694,9481],{159(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),o=r(69622),s=r(91429),l=r(99157);let a=n=class extends o.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>o,l5:()=>l,xm:()=>s});var n=r(34275),i=r(9093);function o(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function l(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6797(e,t,r){r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),o=r(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof n.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=a(e),i=a(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),f=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(o,d).sort(),h=c(e);if(h&&s.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const g=l(e)&&l(t);for(const n of f){const i=u(e,n),o=u(t,n);let s;if((g||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(r&&r[n]&&"function"==typeof r[n])s=r[n]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=y?y.diff[n]=s:y={type:"partial",diff:{[n]:s}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:n,fromValues:function(e,t,r,n,i,o,s,l,a,u,c,p,d,f,h,y){return[e,t,r,n,i,o,s,l,a,u,c,p,d,f,h,y]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,o,s,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,o);if(null==a)return!1;if(a===n.pO){if(e===i&&r===s)return!0;const t=r+3*l;for(let n=r,o=s;n<t;n++,o++)i[o]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=s;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},13069(e,t,r){r.d(t,{AG:()=>l,lk:()=>i,vD:()=>s,yS:()=>o});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},16494(e,t,r){r.d(t,{Nd:()=>l,W5:()=>s});var n=r(37330);const i=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],s=new n.I({whiteList:i,onTagAttr:(e,t,r)=>{const n=`${t}="${r}"`;if(o.includes(t))return n},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new n.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311(e,t,r){r.d(t,{A:()=>f});var n=r(31635),i=r(69622),o=r(4576),s=r(60999),l=r(7762),a=r(16494),u=r(91429),c=r(30524),p=r(43668);const d=/<br\s*\/*>/gi;let f=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,s.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??r.e(9926).then(r.bind(r,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of r){const r=t.split("."),n=this.fieldsIndex.get(r.at(-1)??"");n&&e.add(n.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){const n=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(n)??""}async getTitles(e,t,r){const n=new Map,i=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:s,workingTitle:l}=this,u=l&&s;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let p=u?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:s,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:l}):"";r?.removeHTML&&(p=a.Nd.sanitize(p).replaceAll(d," ")),n.set(c,p)})}catch{}return n}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const n=e.createQuery();n.where="1=1",n.outFields=[...this.requiredFields],n.objectIds=r;const i=await e.queryFeatures(n);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),n=e?.name??r.fieldName;r.fieldName=n,t.set(n.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const n=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const r=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const o={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:n,attributes:o,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,n.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},29005(e,t,r){r.d(t,{A:()=>u});var n=r(31635),i=r(69540),o=r(66552),s=r(25482),l=r(91429);const a=new o.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 u=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},32730(e,t,r){r.d(t,{BI:()=>f,D3:()=>p,XJ:()=>d,lc:()=>c,mX:()=>y,rU:()=>h,tH:()=>M});var n=r(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function p(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(g);return t?.[1].trim()||null}(t.expression);case"arcade":return M(t.expression)}return null}function y(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(l,' + "')):t='""',t}const g=/^\s*\{([^}]+)\}\s*$/i,m=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,w=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function M(e){if(!e)return null;let t=m.exec(e)||b.exec(e);return t?t[1]||t[3]:(t=w.exec(e),t?t[2]:null)}},37352(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),o=r(7762),s=r(25482),l=r(91429);let a=n=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new n({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},37531(e,t,r){r.d(t,{dt:()=>d,GG:()=>m,UQ:()=>g,Sx:()=>c});var n=r(68197),i=r(60999),o=r(51850),s=(r(76369),r(62046)),l=(r(2741),r(11254),r(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new l.q(1e3),new n.A([128,128,128]);var a=r(28975),u=r(33910);function c(e,t){if(!e)return null;let r=null;return(0,u.wk)(e)?r=function(e){const t=e.symbolLayers;if(!t)return null;let r=null;return t.forEach(e=>{"object"===e.type&&e.resource?.href||(r="water"===e.type?e.color:e.material?e.material.color:null)}),r?new n.A(r):null}(e):(0,u.$y)(e)&&(r="cim"===e.type?(0,s.Nk)(e):e.color?new n.A(e.color):null),r?p(r,t):null}function p(e,t){if(null==t||null==e)return e;const r=e.toRgba();return r[3]=r[3]*t,new n.A(r)}function d(e,t,r){e&&(t||null!=r)&&(t&&(t=new n.A(t)),(0,u.wk)(e)?function(e,t,r){const i=e.symbolLayers;if(!i)return;const o=(e,i=!1)=>{let o=t??e??null;return null!=r?.override&&(!o&&i&&(o=new n.A([255,255,255])),o&&(o.a=r.override)),p(o,r?.add)};i.forEach(e=>{if("water"===e.type)return void(e.color=p(e.color,r?.add));const t=null!=e.material?e.material.color:null,n=o(t,"icon"===e.type&&null!=e.resource?.href);null==e.material?e.material=new a.A({color:n}):e.material.color=n,"outline"in e&&e.outline?.color&&null!=r?.add&&(e.outline.color=p(e.outline.color,r.add)),"marker"in e&&null!=e.marker&&(e.marker.color=o(e.marker.color))})}(e,t,r):(0,u.$y)(e)&&function(e,t,r){t=t??e.color,null!=r?.override&&t&&(t.a=r.override),t&&(e.color=p(t,r?.add)),"outline"in e&&e.outline?.color&&(e.outline.color=p(e.outline.color,r?.add))}(e,t,r))}function f(e){for(const t of e)if("number"==typeof t)return t;return null}function h(e,t,r){for(let n=0;n<3;n++){const i=e[n];switch(i){case"symbol-value":{const e=r[n];return null!=e?e/t[n]:1}case"proportional":break;default:if(i&&t[n])return i/t[n]}}return null}function y(e,t,r,n){switch(e){case"proportional":return r*n;case"symbol-value":return null!=t?t:r;default:return e}}async function g(e,t){if(e&&t)return(0,u.wk)(e)?async function(e,t){const n=e.symbolLayers;n&&await(0,i.jJ)(n,async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){const r=t[2];"number"==typeof r&&(e.size=r)}(e,t);break;case"icon":case"line":case"text":!function(e,t){const r=f(t);null!=r&&(e.size=r)}(e,t);break;case"path":!function(e,t){const r=h(t,o.Un,[e.width,void 0,e.height]);null!=r&&(e.width=y(t[0],e.width,1,r),e.height=y(t[2],e.height,1,r))}(e,t);break;case"object":await async function(e,t){const{resourceSize:n,symbolSize:i}=await async function(e){const{computeObjectLayerResourceSize:t}=await r.e(5404).then(r.bind(r,95404)),n=await t(e,10),{width:i,height:o,depth:s}=e,l=[i,s,o];let a=1;for(let e=0;e<3;e++){const t=l[e];if(null!=t){a=t/n[e];break}}for(let e=0;e<3;e++)null==l[e]&&(l[e]=n[e]*a);return{resourceSize:n,symbolSize:l}}(e),o=h(t,n,i);null!=o&&(e.width=y(t[0],i[0],n[0],o),e.depth=y(t[1],i[1],n[1],o),e.height=y(t[2],i[2],n[2],o))}(e,t)}}(e,t))}(e,t):void((0,u.$y)(e)&&function(e,t){const r=f(t);if(null!=r)switch(e.type){case"simple-marker":e.size=r;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=r,e.height=r*t):(e.width=r*t,e.height=r);break}case"simple-line":e.width=r;break;case"text":e.font.size=r}}(e,t))}function m(e,t,r){if(e&&null!=t)if((0,u.wk)(e)){const n=e.symbolLayers;n&&n.forEach(e=>{if("object"===e.type)switch(r){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)})}else if((0,u.$y)(e))switch(e.type){case"simple-marker":case"picture-marker":case"text":e.angle+=t;break;case"cim":(0,s.KU)(e,t,!0)}}},37539(e,t,r){r.d(t,{pO:()=>y,jd:()=>d,Tp:()=>f,w5:()=>p});var n=r(34727),i=r(86211),o=r(73941),s=r(79258);Math.PI;const l=s.$O.radius,a=s.$O.eccentricitySquared,u={a1:l*a,a2:l*a*l*a,a3:l*a*a/2,a4:l*a*l*a*2.5,a5:l*a+l*a*a/2,a6:1-a};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=r(21325);const p={2:{5:y,7:null,9:null,10:y,1:I,6:null,8:null,0:null,3:m,11:b,2:y,4:S},5:{5:y,7:null,9:null,10:y,1:I,6:null,8:null,0:null,3:m,11:b,2:y,4:S},7:{5:null,7:y,9:null,10:y,1:null,6:C,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:y,10:y,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(e,t,r,n){const i=e[t]/R,o=Z-2*Math.atan(Math.exp(-e[t+1]/R)),s=R+(e[t+2]??0),l=Math.cos(o)*s;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(o)*s},6:null,8:null,0:null,3:y,11:function(e,t,r,n){g(e,t,r,n),b(r,n,r,n)},2:g,4:function(e,t,r,n){g(e,t,r,n),S(r,n,r,n)}},4:{5:j,7:null,9:null,10:j,1:function(e,t,r,n){j(e,t,r,n),I(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){j(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){j(e,t,r,n),b(r,n,r,n)},2:j,4:y},1:{5:A,7:null,9:null,10:A,1:y,6:null,8:null,0:null,3:function(e,t,r,n){A(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){A(e,t,r,n),b(r,n,r,n)},2:A,4:function(e,t,r,n){A(e,t,r,n),S(r,n,r,n)}},6:{5:null,7:x,9:null,10:x,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:F,10:F,1:null,6:null,8:y,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:y,3:null,11:null,2:null,4:null},10:{5:y,7:y,9:y,10:y,1:I,6:C,8:v,0:null,3:m,11:b,2:y,4:S},11:{5:w,7:null,9:null,10:w,1:function(e,t,r,n){w(e,t,r,n),I(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){w(e,t,r,n),m(r,n,r,n)},11:y,2:w,4:function(e,t,r,n){w(e,t,r,n),S(r,n,r,n)}}};function d(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(k.source.spatialReference===e&&k.dest.spatialReference===t)return k;const r=h(e,k.source),n=h(t,k.dest);return 0===r&&0===n?(0,c.aI)(e,t)?k.projector=y:k.projector=null:k.projector=p[r][n],k}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function y(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function g(e,t,r,n){r[n]=_*(e[t]/R),r[n+1]=_*(Z-2*Math.atan(Math.exp(-e[t+1]/R))),r[n+2]=e[t+2]??0}function m(e,t,r,i){!function(e,t,r,i,o){const s=.4999999*Math.PI,l=(0,n.qE)(O*e[t+1],-s,s),a=Math.sin(l);r[i++]=O*e[t]*o.radius,r[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,s.$O)}function b(e,t,r,n){r[n]=e[t]*E,r[n+1]=e[t+1]*E,r[n+2]=e[t+2]??0}function w(e,t,r,n){r[n]=e[t]*P,r[n+1]=e[t+1]*P,r[n+2]=e[t+2]??0}function M(e,t,r,n,i){const o=i+(e[t+2]??0),s=O*e[t],l=O*e[t+1],a=Math.cos(l)*o;r[n]=Math.cos(s)*a,r[n+1]=Math.sin(s)*a,r[n+2]=Math.sin(l)*o}function v(e,t,r,n){M(e,t,r,n,s.Sw.radius)}function C(e,t,r,n){M(e,t,r,n,s.sH.radius)}function I(e,t,r,n){M(e,t,r,n,s.$O.radius)}function T(e,t,r,i,o){const s=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+l*l+a*a),c=(0,n.YN)(a/(0===u?1:u)),p=Math.atan2(l,s);r[i++]=_*p,r[i++]=_*c,r[i]=u-o}function F(e,t,r,n){T(e,t,r,n,s.Sw.radius)}function x(e,t,r,n){T(e,t,r,n,s.sH.radius)}function A(e,t,r,n){T(e,t,r,n,s.$O.radius)}function S(e,t,r,n){!function(e,t,r,n,i){const o=O*e[t],s=O*e[t+1],l=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(c+l)*u*Math.cos(o),r[n++]=(c+l)*u*Math.sin(o),r[n++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,s.$O)}function j(e,t,r,n){const i=u,o=e[t],l=e[t+1],a=e[t+2]??0;let c,p,d,f,h,y,g,m,b,w,M,v,C,I,T,F,x,A,S,j,k;c=Math.abs(a),p=o*o+l*l,d=Math.sqrt(p),f=p+a*a,h=Math.sqrt(f),j=Math.atan2(l,o),y=a*a/f,g=p/f,I=i.a2/h,T=i.a3-i.a4/h,g>.3?(m=c/h*(1+g*(i.a1+I+y*T)/h),S=Math.asin(m),w=m*m,b=Math.sqrt(1-w)):(b=d/h*(1-y*(i.a5-I-g*T)/h),S=Math.acos(b),w=1-b*b,m=Math.sqrt(w)),M=1-s.$O.eccentricitySquared*w,v=s.$O.radius/Math.sqrt(M),C=i.a6*v,I=d-v*b,T=c-C*m,x=b*I+m*T,F=b*T-m*I,A=F/(C/M+x),S+=A,k=x+F*A/2,a<0&&(S=-S),r[n++]=_*j,r[n++]=_*S,r[n]=k}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:y},O=(0,n.kU)(1),_=(0,n.KJ)(1),Z=.5*Math.PI,R=s.$O.radius,E=R*Math.PI/180,P=180/(R*Math.PI)},41366(e,t,r){r.d(t,{K:()=>p,Q:()=>a});var n=r(31635),i=r(66552),o=r(53966),s=r(91429),l=r(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let 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");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560(e,t,r){r.d(t,{Ch:()=>s,mW:()=>o});var n=r(34727),i=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],p(n));return t}(e);if(o&&((0,n.gg)(t,o[0])||(0,n.ZH)(r,o[1])))return"";const s=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(c(i.minScale),p(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)a(n.minScale,n.maxScale,t,r)&&(yield n)}}function a(e,t,r,i){return e=c(e),r=c(r),t=p(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},45067(e,t,r){r.d(t,{A:()=>c});var n=r(31635),i=r(69540),o=r(66552),s=r(25482),l=r(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,n.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],c.prototype,"cardinality",void 0),(0,n.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,n.Cg)([(0,l.$K)("esri.layers.support.Relationship")],c)},52106(e,t,r){r.d(t,{A:()=>v});var n,i=r(31635),o=r(37838),s=r(69540),l=r(51447),a=r(25482),u=r(53966),c=r(36708),p=r(24326),d=r(91429),f=r(12195),h=r(65864),y=r(50498),g=r(55156),m=r(60950),b=r(54339),w=r(33910);function M(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let v=class extends((0,s.OU)(a.o)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,m.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:M(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,h.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],v.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],v.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:y.yR,json:{read:h.rS}})],v.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],v.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],v.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],v.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:o.A,value:null})],v.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],v.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:w.Es})],v.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],v.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],v.prototype,"visible",null),v=n=(0,i.Cg)([(0,d.$K)("esri.Graphic")],v)},52136(e,t,r){r.d(t,{p:()=>o});var n=r(31635),i=r(91429);const o=e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,n.Cg)([(0,i.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},54339(e,t,r){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},55156(e,t,r){r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},62046(e,t,r){r.d(t,{Fe:()=>c,KU:()=>h,Nk:()=>o});var n=r(68197),i=r(93397);function o(e){const t=[];return s((0,i.lW)(e),t),t.length?new n.A((0,i.e6)(t[0])):null}function s(e,t){if(!e)return;let r;r="CIMTextSymbol"===e.type?e.symbol:e;const n="CIMPolygonSymbol"===e.type;if(r?.symbolLayers)for(const e of r.symbolLayers)if(!(e.colorLocked||n&&((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&l(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{s(e.symbol,t)});break;case"CIMSolidStroke":case"CIMSolidFill":l(t,e.color);break;case"CIMGradientFill":a(t,e);break;case"CIMHatchFill":s(e.lineSymbol,t)}}function l(e,t){for(const r of e)if(r.join(".")===t.join("."))return;e.push(t)}function a(e,t){const r=t.colorRamp?.type;switch(r){case"CIMMultipartColorRamp":t.colorRamp.colorRamps?.forEach(t=>{"CIMLinearContinuousColorRamp"===t.type&&u(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":u(e,t.colorRamp)}}function u(e,t){t&&(t.fromColor&&l(e,t.fromColor),t.toColor&&l(e,t.toColor))}function c(e,t,r){t instanceof n.A||(t=new n.A(t));const o=(0,i.lW)(e);o&&p(o,t,r)}function p(e,t,r){if(!e)return;let n;n="CIMTextSymbol"===e.type?e.symbol:e;const o="CIMPolygonSymbol"===n?.type;if(n?.symbolLayers)for(const e of n.symbolLayers){if(e.colorLocked)continue;if(o)if(r){const{layersToColor:t}=r;if(((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))&&"fill"===t||(0,i.jn)(e)&&"outline"===t)continue}else if((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))continue;const n=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=n;break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{p(e.symbol,t,r)});break;case"CIMSolidStroke":case"CIMSolidFill":e.color=n;break;case"CIMGradientFill":d(e,t);break;case"CIMHatchFill":p(e.lineSymbol,t,r)}}}function d(e,t){const r=e.colorRamp?.type;switch(r){case"CIMMultipartColorRamp":e.colorRamp.colorRamps?.forEach(e=>{"CIMLinearContinuousColorRamp"===e.type&&f(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":f(e.colorRamp,t)}}function f(e,t){if(e&&(e.fromColor&&(e.fromColor=t.toArray()),e.toColor)){const r=t.clone();r.a=0,e.toColor=r.toArray()}}function h(e,t,r=!1){const n=(0,i.lW)(e);if(r&&(t=360-t),"CIMTextSymbol"!==n?.type){if("CIMPointSymbol"===n?.type&&n.symbolLayers){const e=t-(n.angle||0);for(const t of n.symbolLayers)if((0,i.MM)(t)){let r=t.rotation||0;t.rotateClockwise?r-=e:r+=e,t.rotation=r}n.angle=t}}else n.angle=t}},70328(e,t,r){r.d(t,{BI:()=>w,DC:()=>p,Ej:()=>f,Ie:()=>m,Jt:()=>b,Ne:()=>h,RF:()=>c,aI:()=>v,fA:()=>s,gE:()=>a,hZ:()=>g,iT:()=>d,is:()=>M,qv:()=>C,vI:()=>y,vY:()=>l,v_:()=>I,vt:()=>o,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function o(e=I){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,n,i,s,l=o()){return l[0]=e,l[1]=t,l[2]=r,l[3]=n,l[4]=i,l[5]=s,l}function l(e,t=o()){return function(e,t,r,n=o()){return g(n,C),function(e,t,r=0,n=t.length/3){let i=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[r,n,o,s,l,a]=e;return t[0]=r,t[1]=n,t[2]=o,t[3]=r,t[4]=n,t[5]=a,t[6]=r,t[7]=l,t[8]=o,t[9]=r,t[10]=l,t[11]=a,t[12]=s,t[13]=n,t[14]=o,t[15]=s,t[16]=n,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function g(e,t){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}function m(e){return e?g(e,C):o(C)}function b(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function v(e,t,r){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],I=[0,0,0,0,0,0];o()},81583(e,t,r){r.d(t,{L:()=>l,g:()=>s});var n=r(60999),i=r(7762),o=r(92474);async function s(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],s=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?s(...t):i.A.isCollection(t)?t.forEach(e=>s(e)):(0,o.Zm)(t)&&r.push(t))};t(s);let l=null;if(await(0,n.Tj)(r,async e=>{const t=await(0,n.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)}),l)throw l.error;return e}},85334(e,t,r){r.d(t,{$:()=>m,IB:()=>s,Iy:()=>v,N2:()=>b,RH:()=>M,ZD:()=>w});var n=r(68197),i=r(4576),o=r(4718);function s(e){return"r"in e&&"g"in e&&"b"in e}function l(e){return"h"in e&&"s"in e&&"v"in e}function a(e){return"l"in e&&"a"in e&&"b"in e}function u(e){return"l"in e&&"c"in e&&"h"in e}r(34727),r(78955),r(91829);const c=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],p=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function d(e,t){const r=[];let n,i;if(e[0].length!==t.length)throw new Error("dimensions do not match");const o=e.length,s=e[0].length;let l=0;for(n=0;n<o;n++){for(l=0,i=0;i<s;i++)l+=e[n][i]*t[i];r.push(l)}return r}function f(e){const t=[e.r/255,e.g/255,e.b/255].map(e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4),r=d(c,t);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function h(e){const t=d(p,[e.x/100,e.y/100,e.z/100]).map(e=>{const t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.min(1,Math.max(t,0))});return{r:Math.round(255*t[0]),g:Math.round(255*t[1]),b:Math.round(255*t[2])}}function y(e){const t=[e.x/95.047,e.y/100,e.z/108.883].map(e=>e>(6/29)**3?e**(1/3):1/3*(29/6)**2*e+4/29);return{l:116*t[1]-16,a:500*(t[0]-t[1]),b:200*(t[1]-t[2])}}function g(e){const t=e.l,r=[(t+16)/116+e.a/500,(t+16)/116,(t+16)/116-e.b/200].map(e=>e>6/29?e**3:3*(6/29)**2*(e-4/29));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function m(e){return s(e)?e:u(e)?function(e){return h(g(function(e){const t=e.l,r=e.c,n=e.h;return{l:t,a:r*Math.cos(n),b:r*Math.sin(n)}}(e)))}(e):a(e)?function(e){return h(g(e))}(e):function(e){return"x"in e&&"y"in e&&"z"in e}(e)?h(e):l(e)?function(e){const t=(e.h+360)%360/60,r=e.s/100,n=e.v/100*255,i=n*r,o=i*(1-Math.abs(t%2-1));let s;switch(Math.floor(t)){case 0:s={r:i,g:o,b:0};break;case 1:s={r:o,g:i,b:0};break;case 2:s={r:0,g:i,b:o};break;case 3:s={r:0,g:o,b:i};break;case 4:s={r:o,g:0,b:i};break;case 5:case 6:s={r:i,g:0,b:o};break;default:s={r:0,g:0,b:0}}return s.r=Math.round(s.r+n-i),s.g=Math.round(s.g+n-i),s.b=Math.round(s.b+n-i),s}(e):e}function b(e){return l(e)?e:function(e){const t=e.r,r=e.g,n=e.b,i=Math.max(t,r,n),o=i-Math.min(t,r,n);let s=i,l=0===o?0:i===t?(r-n)/o%6:i===r?(n-t)/o+2:(t-r)/o+4,a=0===o?0:o/s;return l<0&&(l+=6),l*=60,a*=100,s*=100/255,{h:l,s:a,v:s}}(m(e))}function w(e){return a(e)?e:function(e){return y(f(e))}(m(e))}function M(e){return u(e)?e:function(e){return function(e){const t=e.l,r=e.a,n=e.b,i=Math.sqrt(r*r+n*n);let o=Math.atan2(n,r);return o=o>0?o:o+2*Math.PI,{l:t,c:i,h:o}}(y(f(e)))}(m(e))}function v(e,t,r={}){if(0===e.length||t<=0)return[];if(1===(e=e.map(e=>"string"==typeof e?new n.A(e):e)).length||1===t){const r=[],n=e[0];for(let e=0;e<t;e++)r.push(n.clone());return r}if(r.shuffle&&(e=(0,i.k4)((0,o.o8)(e),r.seed)),e.length>=t){const r=[],n=(e.length-1)/(t-1);for(let i=0;i<t;i++){const t=Math.round(i*n);r.push(e[t].clone())}return r}return function(e,t,r={}){const n=[],o=e.length-1,s=Math.ceil((t-e.length)/o);e:for(let i=0;i<o;i++){const o=e[i],l=e[i+1];for(let i=1;i<=s;i++){const a=i/(s+1);if(n.push(I(o,l,a,r)),n.length+e.length===t)break e}}return[...e.map(e=>e.clone()),...(0,i.k4)(n,r.seed??1)]}(e,t,r)}const C=(e,t)=>{const r=Math.floor(10*t())-5;return Math.min(255,Math.max(0,e+r))};function I(e,t,r,o={}){const s=e.r,l=e.g,a=e.b,u=t.r,c=t.g,p=t.b,d=Math.round(s+(u-s)*r),f=Math.round(l+(c-l)*r),h=Math.round(a+(p-a)*r);if(!o.offset)return new n.A([d,f,h]);const y=(0,i.Mo)(o.seed);return new n.A([C(d,y),C(f,y),C(h,y)])}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>U,initializeProjection:()=>V,isEqualBaseGCS:()=>D,isLoaded:()=>j,isLoadedOrLoad:()=>k,isLoadedOrLoadFor:()=>O,load:()=>Z,project:()=>R,projectAsync:()=>G,projectExtent:()=>te,projectMany:()=>E,projectMultipoint:()=>B,projectOrLoad:()=>L,projectOrLoadMany:()=>N,projectPoint:()=>H,projectPolygon:()=>X,projectPolyline:()=>Q,projectWithoutEngine:()=>K,requiresLoad:()=>_,test:()=>z,tryProject:()=>P,unload:()=>$});var n=r(49186),i=r(74887),o=r(62788),s=r(95488),l=r(51850),a=r(21276),u=r(73941),c=r(5443),p=r(91075),d=r(48526),f=r(86738),h=r(39829),y=r(82799),g=r(16930),m=r(159),b=r(9762),w=r(37539);function M(e,t,r,n,i,o){return v[0]=e,v[1]=t,v[2]=r,(0,b.projectBuffer)(v,n,0,i,o,0)}const v=(0,l.vt)();var C=r(21325);let I=null,T=null,F=null,x=null,A={};const S=new s.I;function j(){return!!(T?.isLoaded()&&F?.isLoaded()&&x?.isLoaded())}function k(){return!!j()||((0,o.gc)(S),Z(),!1)}function O(e,t){return!e||!t||U(e,t)||k()}function _(e,t){return!U(e,t)&&!j()}async function Z(e){null==I&&(I=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(T=e,T.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(F=e,F.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(x=e,x.load()))])),await I,(0,i.Te)(e),S.notify()}function R(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),E(e,e[0].spatialReference,t,r)):((0,a.f)(e),E([e],e.spatialReference,t,r)[0])}function E(e,t,r,n){if(null==t||null==r)return e;if(U(t,r,n))return e.map(e=>K(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return E(e.map(e=>K(e,t,g.A.WGS84)),g.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return E(e,t,g.A.WGS84).map(e=>K(e,g.A.WGS84,r));if(!j())throw new q;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:x.getTransformation(t,r,n.areaOfInterestExtent)||new m.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=A[e];i||(i=x.getTransformation(t,r)||new m.A,A[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?T.executeMany(e,r,n):F.executeMany(e,r,n)}function P(e,t,r){try{return R(e,t,r)}catch(e){return null}}function L(e,t){const r=N([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function N(e,t,r){if(!j())for(const r of e)if(null!=r&&!(0,C.aI)(r.spatialReference,t)&&(0,C.fn)(r.spatialReference)&&(0,C.fn)(t)&&!U(r.spatialReference,t))return(0,o.gc)(S),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,C.aI)(e.spatialReference,t)?e:(0,C.fn)(e.spatialReference)&&(0,C.fn)(t)?R(e,t,r):null)}}class q extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function $(){I=null,T=null,F=null,x=null,A={}}const z={get loadPromise(){return I}};async function G(e,t,r){if((0,i.Te)(r),!e)return e;const n=N(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),G(e,t,r);const o=n.geometries??[];return Array.isArray(e)?o:o[0]}function U(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,C.aI)(e,t)||(0,C.fn)(e)&&(0,C.fn)(t)&&!!(0,w.jd)(e,t))}function D(e,t){if((0,C.aI)(e,t))return!0;if(!(0,C.fn)(e)||!(0,C.fn)(t))return!1;const r=(0,C.oT)(e)||(0,C.K8)(e)||(0,C.x1)(e),n=(0,C.oT)(t)||(0,C.K8)(t)||(0,C.x1)(t);return r&&n}async function V(e,t,r,n){if(j())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!U(t,r,i))return Z(n)}else if(e&&t&&!U(e,t,r))return Z(n);return(0,i.NO)(n)}function K(e,t,r){return e?"x"in e?J(e,t,new f.A,r,0):"xmin"in e?re(e,t,new c.A,r,0):"rings"in e?ee(e,t,new h.A,r,0):"paths"in e?Y(e,t,new y.A,r,0):"points"in e?W(e,t,new d.A,r,0):null:null}function H(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=J(e,e.spatialReference,t,r,n)}function J(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const o=e.z;return ie[2]=void 0!==o?o:i,(0,b.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==o||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function B(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=W(e,e.spatialReference,t,r,n)}function W(e,t,r,n,i){const{points:o,hasZ:s,hasM:l}=e,a=[],c=o.length,p=[];for(const e of o)p.push(e[0],e[1],s?e[2]:i);if(!(0,b.projectBuffer)(p,t,0,p,n,0,c))return null;const d=s||(0,u.xP)(n);for(let e=0;e<c;++e){const t=3*e,r=p[t],n=p[t+1];d&&l?a.push([r,n,p[t+2],o[e][3]]):d?a.push([r,n,p[t+2]]):l?a.push([r,n,o[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=s,r.hasM=l,r}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,i){const{paths:o,hasZ:s,hasM:l}=e,a=[];if(!ne(o,s??!1,l??!1,t,a,n,i))return null;const c=s||(0,u.xP)(n);return r.paths=a,r.spatialReference=n,r.hasZ=c,r.hasM=l,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:o,hasZ:s,hasM:l}=e,a=[];if(!ne(o,s??!1,l??!1,t,a,n,i))return null;const c=s||(0,u.xP)(n);return r.rings=a,r.spatialReference=n,r.hasZ=c,r.hasM=l,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:c,hasM:p}=e;if(!M(o,s,c?e.zmin:i,t,ie,n))return null;const d=c||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],d&&(r.zmin=ie[2]),M(l,a,c?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],d&&(r.zmax=ie[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,o,s=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(l,n,0,l,o,0))return!1;let a=0;i.length=0;const c=t||(0,u.xP)(o);for(const t of e){const e=new Array;for(const n of t)c&&r?e.push([l[a++],l[a++],l[a++],n[3]]):c?e.push([l[a++],l[a++],l[a++]]):r?(e.push([l[a++],l[a++],n[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}const ie=(0,l.vt)()},97483(e,t,r){r.r(t),r.d(t,{default:()=>Pe});var n=r(31635),i=r(69540),o=r(7762),s=r(49186),l=r(81583),a=r(91869),u=r(25728),c=r(74887),p=r(36708),d=r(39516),f=r(91429),h=r(4146),y=r(52136),g=r(18768),m=r(63074),b=r(69208),w=r(6455),M=r(47685),v=r(87796),C=r(16131),I=r(8303),T=r(54310),F=r(25036),x=r(82935),A=r(60694),S=r(10873),j=r(15426),k=r(17036),O=r(30524),_=r(85334),Z=r(90360),R=r(86162),E=r(92438),P=r(96576),L=r(93618),N=r(62046),q=r(37531);const $={key:"type",base:E.A,errorContext:"renderer",typeMap:{simple:P.A,"unique-value":L.A,"class-breaks":R.A}},z=(0,Z.C)({types:$}),G=["#ed5151","#149ece","#a7c636","#9e559c","#fc921f","#ffde3e","#f789d8","#b7814a","#3caf99","#6b6bd6","#b54779","#7f7f7f"];var U=r(37838),D=r(4902),V=r(4718),K=r(92474),H=r(53966),J=r(97768),B=r(93637),W=r(89317),Q=r(78247),Y=r(16930),X=r(55156),ee=r(60950),te=r(89808),re=r(99959);const ne=Symbol("isSubtypeGroupGraphicOriginSymbol");var ie;class oe extends re.A{get[(ie=ne,ee.ym)](){return this.sublayer}get[X.e](){return this.sublayer}get[te.Q](){return this.layer}constructor(e){super(),this[ie]=!0,this.type="subtype-group",this.sublayer=e}get layer(){return this.sublayer.parent}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var se=r(29005),le=r(46499),ae=r(39383),ue=r(17311),ce=r(54546),pe=r(61956),de=r(30291),fe=r(59868),he=r(43440),ye=r(43937),ge=r(36005);const me=(0,k.p)();let be=0;function we(e,t){let r=e.json.write;return"object"!=typeof r&&(r=e.json.write={}),r.ignoreOrigin=!0,t?.spatialOnly&&(r.layerContainerTypes=W.K),e}function Me(e){const t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=W.K),e?.target&&(t.write.target=e.target)),t}function ve(e){switch(e){case"point":case"multipoint":return fe.UK.clone();case"polyline":return fe.A7.clone();case"polygon":case"multipatch":return fe.Cx.clone();default:return null}}function Ce(e,t){return null==e?null:t.subtypes?.find(t=>t.code===e)}function Ie(e,t){let r=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":r="point";break;case"esriGeometryPolyline":r="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":r="polygon";break;default:t.type,r=null}const n={},i=Ce(e,t);if(null!=i){const{defaultValues:e}=i;for(const t in e)n[t]=e[t]}return n[t.subtypeField]=e,new se.A({name:"New Feature",drawingTool:r,prototype:{attributes:n}})}let Te=class extends((0,u.M)((0,i.OU)((0,D.s)(K.x_)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.graphicOrigin=new oe(this),this.id=`${Date.now().toString(16)}-subtype-sublayer-${be++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.templates=null,this.title=null,this.visible=!0}load(e){return(0,O.yp)(this.renderer,this.fieldsIndex),Promise.resolve(this)}get _titleCreator(){const e=this._get("_titleCreator");return(0,J.pR)(e),new ue.A({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,displayField:this.parent?.displayField??"",fields:this.fields,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}get featureTitleFields(){return[...this._titleCreator.requiredFields]}writeFieldOverrides(e,t,r){const{fields:n,parent:i}=this;let o;if(n){o=[];let e=0;n.forEach(({name:t,alias:r,editable:n,visible:s})=>{if(!s)return;const l=i?.fields?.find(e=>e.name===t);if(!l)return;const a={name:t};let u=!1;r!==l.alias&&(a.alias=r,u=!0),n!==l.editable&&(a.editable=n,u=!0),o.push(a),u&&e++}),0===e&&o.length===n.length&&(o=null)}else o=(0,V.o8)(e);o?.length&&(0,B.sM)(r,o,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:r}=this,n=e?.fields;if(!e||!n?.length)return null;const{subtypes:i,subtypeField:o}=e,s=i?.find(e=>e.code===r),l=s?.defaultValues,a=s?.domains,u=[];for(const e of n){const n=e.clone(),{name:i}=n,s=t?.find(e=>e.name===i);if(n.visible=!t?.length||!!s,s){const{alias:e,editable:t}=s;e&&(n.alias=e),!1===t&&(n.editable=!1)}const c=l?.[i]??null;n.defaultValue=i===o?r:c;const p=a?.[i]??null;n.domain=i===o?null:p?"inherited"===p.type?n.domain:p.clone():null,u.push(n)}return u}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(H.A.getLogger(this).error(Ae("globalIdField")),null)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||H.A.getLogger(this).error(Ae("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){(0,O.yp)(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?function(e){return new P.A({symbol:ve(e)})}(e.geometryType):null}readRendererFromService(e,t,r){if("Table"===t.type)return null;const n=t.drawingInfo?.renderer,i=z(n,t,r);let o;const{subtypeCode:s}=this;if(null!=s&&function(e,t){return!(!t||"unique-value"!==e?.type||null==e.field||e.field.toLowerCase()!==t.toLowerCase()||e.field2||e.field3||e.valueExpression)}(i,t.subtypeField)){const e=i.uniqueValueInfos?.find(({value:e})=>(e="number"==typeof e?String(e):e)===String(s));e&&(o=new P.A({symbol:e.symbol}))}else"simple"!==i?.type||i.visualVariables?.length||(o=i);return o}readRenderer(e,t,r){const n=t?.layerDefinition?.drawingInfo?.renderer;if(n)return z(n,t,r)||void 0}get spatialReference(){return this.parent?.spatialReference??Y.A.WGS84}get subtypeField(){return this.parent?.subtypeField}readTemplatesFromService(e,t){return[Ie(this.subtypeCode,t)]}readTitleFromService(e,t){const r=Ce(this.subtypeCode,t);return null!=r?r.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:r}=this;if(!r)throw Ae("addAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return r.addAttachment(e,t)}async updateAttachment(e,t,r){const{parent:n}=this;if(!n)throw Ae("updateAttachment");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return n.updateAttachment(e,t,r)}async deleteAttachments(e,t){const{parent:r}=this;if(!r)throw Ae("deleteAttachments");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return r.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw Ae("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:r,fields:n,title:i}=this;if(r){const{displayField:e,editFieldsInfo:o,objectIdField:s}=r;t={displayField:e,editFieldsInfo:o,fields:n,objectIdField:s,title:i}}return(0,de.tn)(t,e)}createQuery(){if(!this.parent)throw Ae("createQuery");const e=(0,j.VZ)(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=(0,d.mA)(t,this.parent.definitionExpression),e}getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){const t=(0,j.pc)(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){const r=await this.load();if(!r.parent)throw Ae("queryAttachments");const n=e instanceof ce.A?e.clone():new ce.A(e);return n.where=xe(n.where,r.parent.subtypeField,r.subtypeCode),r.parent.queryAttachments(n,t)}async queryFeatureCount(e,t){const r=await this.load();if(!r.parent)throw Ae("queryFeatureCount");return r.parent.queryFeatureCount(Fe(r.parent,r,e),t)}async queryFeatures(e,t){const r=await this.load();if(!r.parent)throw Ae("queryFeatures");return r.parent.queryFeatures(Fe(r.parent,r,e),t)}async queryObjectIds(e,t){const r=await this.load();if(!r.parent)throw Ae("queryObjectIds");return r.parent.queryObjectIds(Fe(r.parent,r,e),t)}async queryRelatedFeatures(e,t){const r=await this.load();if(!r.parent)throw Ae("queryRelatedFeatures");return r.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){const r=await this.load();if(!r.parent)throw Ae("queryRelatedFeaturesCount");return r.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};(0,n.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Te.prototype,"_titleCreator",null),(0,n.Cg)([(0,f.MZ)({type:he.A,json:Me({name:"attributeTableInfo"})})],Te.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"capabilities",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"effectiveCapabilities",null),(0,n.Cg)([(0,f.MZ)({json:Me()})],Te.prototype,"charts",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,nonNullable:!0,json:Me({name:"enableEditing"})})],Te.prototype,"editingEnabled",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],Te.prototype,"effectiveEditingEnabled",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"elevationInfo",null),(0,n.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Te.prototype,"featureTitleFields",null),(0,n.Cg)([(0,f.MZ)({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],Te.prototype,"fieldOverrides",void 0),(0,n.Cg)([(0,ye.K)("fieldOverrides")],Te.prototype,"writeFieldOverrides",null),(0,n.Cg)([(0,f.MZ)({...me.fields,readOnly:!0,json:{read:!1}})],Te.prototype,"fields",null),(0,n.Cg)([(0,f.MZ)(me.fieldsIndex)],Te.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"floorInfo",null),(0,n.Cg)([(0,f.MZ)({type:Q.A,json:Me({name:"formInfo"})})],Te.prototype,"formTemplate",void 0),(0,n.Cg)([(0,f.MZ)({readOnly:!0,clonable:!1})],Te.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,f.MZ)({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],Te.prototype,"id",void 0),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"isTable",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"geometryType",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"globalIdField",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"type",void 0),(0,n.Cg)([(0,f.MZ)(we((0,V.o8)(S.kF)))],Te.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,f.MZ)({type:[le.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:ae.w},write:{ignoreOrigin:!0,layerContainerTypes:W.K}}})],Te.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,f.MZ)({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:W.K}}})],Te.prototype,"layerType",void 0),(0,n.Cg)([(0,f.MZ)(we((0,V.o8)(S.fV)))],Te.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,f.MZ)({type:["show","hide"]})],Te.prototype,"listMode",void 0),(0,n.Cg)([(0,f.MZ)((()=>{const e=(0,V.o8)(S.hn);return e.json.origins.service.read=!1,we(e,{spatialOnly:!0})})())],Te.prototype,"minScale",void 0),(0,n.Cg)([(0,f.MZ)((()=>{const e=(0,V.o8)(S.hG);return e.json.origins.service.read=!1,we(e,{spatialOnly:!0})})())],Te.prototype,"maxScale",void 0),(0,n.Cg)([(0,f.MZ)({readOnly:!0})],Te.prototype,"effectiveScaleRange",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"objectIdField",null),(0,n.Cg)([(0,f.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0,json:Me({spatialOnly:!0})})],Te.prototype,"opacity",void 0),(0,n.Cg)([(0,f.MZ)({clonable:!1})],Te.prototype,"parent",void 0),(0,n.Cg)([(0,f.MZ)(we((0,V.o8)(S.M6)))],Te.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,f.MZ)({type:U.A,json:Me({name:"popupInfo"})})],Te.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,f.MZ)({readOnly:!0})],Te.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"relationships",null),(0,n.Cg)([(0,f.MZ)({types:$,json:Me({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],Te.prototype,"renderer",null),(0,n.Cg)([(0,ge.w)("service","renderer",["drawingInfo.renderer","subtypeField","type"])],Te.prototype,"readRendererFromService",null),(0,n.Cg)([(0,ge.w)("renderer",["layerDefinition.drawingInfo.renderer"])],Te.prototype,"readRenderer",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"spatialReference",null),(0,n.Cg)([(0,f.MZ)({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],Te.prototype,"subtypeCode",void 0),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"subtypeField",null),(0,n.Cg)([(0,f.MZ)({type:[se.A],json:Me({name:"layerDefinition.templates"})})],Te.prototype,"templates",void 0),(0,n.Cg)([(0,ge.w)("service","templates",["geometryType","subtypeField","subtypes","type"])],Te.prototype,"readTemplatesFromService",null),(0,n.Cg)([(0,f.MZ)({type:String,json:Me()})],Te.prototype,"title",void 0),(0,n.Cg)([(0,ge.w)("service","title",["subtypes"])],Te.prototype,"readTitleFromService",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Te.prototype,"url",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0})],Te.prototype,"userHasUpdateItemPrivileges",null),(0,n.Cg)([(0,f.MZ)({type:Boolean,nonNullable:!0,json:Me({name:"visibility",spatialOnly:!0})})],Te.prototype,"visible",void 0),Te=(0,n.Cg)([(0,f.$K)("esri.layers.support.SubtypeSublayer")],Te);const Fe=(e,t,r)=>{if(!r)return t.createQuery();const n=pe.A.from(r);return n.where=xe(n.where,e.subtypeField,t.subtypeCode),n},xe=(e,t,r)=>{const n=new RegExp(`${t}\\s*=\\s*\\d+`),i=`${t}=${r}`,o=e??"";return n.test(o)?o.replace(n,i):(0,d.mA)(i,o)},Ae=e=>new s.A("subtype-sublayer:parent-missing",`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`);var Se=r(96184),je=r(91908),ke=r(54218);const Oe="SubtypeGroupLayer";function _e(e,t){return new s.A("layer:unsupported",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' ${t}`,{layer:e})}function Ze(e,t){const r=[];for(const n of e){const e=new Te;e.read(n,t),r.push(e)}return r}const Re=(0,k.p)();let Ee=class extends((0,v.j)((0,w.FJ)((0,M.w6)((0,m.dM)((0,x.e)((0,F.j)((0,T.J)((0,g.b)((0,C.q)((0,I.A)((0,u.M)((0,b.d)((0,y.p)((0,i.OU)(h.A))))))))))))))){constructor(...e){super(...e),this._sublayerLookup=new Map,this.fields=null,this.fieldsIndex=null,this.outFields=null,this.sublayers=new(o.A.ofType(Te)),this.useUniqueColorsForSublayers=!0,this.supportedSourceTypes=new Set(["Feature Layer","Table"]),this.timeInfo=null,this.title="Layer",this.type="subtype-group",this._debouncedSaveOperations=(0,c.sg)(async(e,t,n)=>{const{save:i,saveAs:o}=await r.e(5740).then(r.bind(r,33359));switch(e){case 0:return i(this,t);case 1:return o(this,n,t)}}),this.addHandles((0,p.wB)(()=>this.sublayers,(e,t)=>this._handleSublayersChange(e,t),p.OH))}destroy(){this.source?.destroy()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(c.QP).then(async()=>{if(!this.url)throw new s.A("subtype-grouplayer:missing-url-or-source","SubtypeGroupLayer must be created with either a url or a portal item");if(null==this.layerId)throw new s.A("subtype-grouplayer:missing-layerid","layerId is required for a SubtypeGroupLayer created with url");this._initLayerProperties(await this.createGraphicsSource(t))}).then(()=>(0,j.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return(0,j.C$)(this)}get operationalLayerType(){return this.isTable?"SubtypeGroupTable":"SubtypeGroupLayer"}set source(e){this._get("source")!==e&&this._set("source",e)}readTitleFromService(e,{name:t}){return this.url?(0,A.yG)(this.url,t):t}async addAttachment(e,t){const r=await(0,j.Xl)(this,e,t,Oe);return this.lastEditsEventDate=new Date,r}async updateAttachment(e,t,r){const n=await(0,j.bt)(this,e,t,r,Oe);return this.lastEditsEventDate=new Date,n}async applyEdits(e,t){return(0,j.ct)(this,e,t)}async createGraphicsSource(e){const{default:t}=await(0,c.qr)(Promise.all([r.e(708),r.e(893),r.e(9938),r.e(5394),r.e(9062)]).then(r.bind(r,72593)),e);return new t({layer:this,supportedSourceTypes:this.supportedSourceTypes}).load({signal:e})}createQuery(){const e=(0,j.VZ)(this),t=this.sublayers.map(e=>e.subtypeCode);return e.where=(0,d.mA)(`${this.subtypeField} IN (${t.join(",")})`,this.definitionExpression),e}async deleteAttachments(e,t){const r=await(0,j.mm)(this,e,t,Oe);return this.lastEditsEventDate=new Date,r}async fetchRecomputedExtents(e){return(0,j.WP)(this,e,Oe)}findSublayerForFeature(e){const t=this.fieldsIndex.get(this.subtypeField),r=e.attributes[t.name];return this.findSublayerForSubtypeCode(r)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains){const t=(0,j.pc)(this,e);if(t)return t}const r=(0,j.Nv)(this,t?.feature);if(r){const t=r.domains?.[e];return"inherited"===t?.type?this._getLayerDomain(e):t}return this._getLayerDomain(e)}loadAll(){return(0,l.g)(this,e=>{e(this.sublayers)})}async queryAttachments(e,t){return(0,j.lV)(this,e,t,Oe)}async queryFeatures(e,t){const r=await this.load(),n=pe.A.from(e)??r.createQuery(),i=n.outFields??[];i.includes(this.subtypeField)||(i.push(this.subtypeField),n.outFields=i);const o=await r.source.queryFeatures(n,t);if(o?.features)for(const e of o.features){const t=this.findSublayerForFeature(e);e.origin=t?.graphicOrigin,e.layer=e.sourceLayer=this.findSublayerForFeature(e)}return o}async queryObjectIds(e,t){return(await(0,j.sg)(this,e,t,Oe)).filter(ke.Et)}async queryFeatureCount(e,t){return(0,j.Ye)(this,e,t,Oe)}async queryExtent(e,t){return(0,j.B5)(this,e,t,Oe)}async queryRelatedFeatures(e,t){return(0,j.hM)(this,e,t,Oe)}async queryRelatedFeaturesCount(e,t){return(0,j.S2)(this,e,t,Oe)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){const{origin:r,layerContainerType:n,messages:i}=t;if(this.isTable){if("web-scene"===r||"web-map"===r&&"tables"!==n)return i?.push(_e(this,"using a table source cannot be written to web scenes and web maps")),null}else if(this.loaded&&"web-map"===r&&"tables"===n)return i?.push(_e(this,"using a non-table source cannot be written to tables in web maps")),null;return this.sublayers?.length?super.write(e,t):(i?.push(new s.A("web-document-write:invalid-property",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' has invalid value for 'sublayers' property. 'sublayers' collection should contain at least one sublayer`,{layer:this})),null)}serviceSupportsSpatialReference(e){return!!this.loaded&&(0,je.D)(this,e)}async getFeatureTitle(e,t){const r=this.findSublayerForFeature(e);return r?await r.getFeatureTitle(e,t):this._getFeatureTitleForUnknownSublayer(e)}async getFeatureTitles(e,t){const r=new Map,n=new Map,i=[n];e.forEach(e=>{const t=this.findSublayerForFeature(e);if(t)(0,a.tE)(r,t,()=>[]).push(e);else{const t=e.getObjectId()??e.attributes[this.objectIdField];n.set(t,this._getFeatureTitleForUnknownSublayer(e))}});const o=await Promise.all(Array.from(r).map(([e,r])=>e.getFeatureTitles(r,t)));return o.forEach(e=>i.push(e)),new Map(i.flatMap(e=>[...e]))}get featureTitleFields(){const e=new Set;for(const t of this.sublayers){const r=t.featureTitleFields;for(const t of r)e.add(t)}return[...e]}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}_initLayerProperties(e){this._set("source",e);const{sourceJSON:t}=e;if(t&&(this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})),!this.subtypes?.length)throw new s.A("subtype-grouplayer:missing-subtypes","SubtypeGroupLayer must be created using a layer with subtypes");this._verifyFields(),(0,O.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,j.jp)(this)}_verifyFields(){const e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("SubtypeGroupLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||-1!==e.search(/\/FeatureServer\//i)||this.fields?.some(e=>"geometry"===e.type)||console.log("SubtypeGroupLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_handleSublayersChange(e,t){t&&(t.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach(e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),e.on("after-remove",({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})],"sublayers-owner"))}_getFeatureTitleForUnknownSublayer(e){const{displayField:t,fieldsIndex:r,objectIdField:n}=this;if(t&&r.has(t))return e.attributes[r.get(t).name]??"";const i=e.getObjectId();return null!=i?i.toString():n&&r.has(n)?e.attributes[r.get(n).name]??"":""}};(0,n.Cg)([(0,f.MZ)({readOnly:!0})],Ee.prototype,"createQueryVersion",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0})],Ee.prototype,"editingEnabled",null),(0,n.Cg)([(0,f.MZ)({readOnly:!0})],Ee.prototype,"effectiveEditingEnabled",null),(0,n.Cg)([(0,f.MZ)({...Re.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],Ee.prototype,"fields",void 0),(0,n.Cg)([(0,f.MZ)(Re.fieldsIndex)],Ee.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,f.MZ)(S.id)],Ee.prototype,"id",void 0),(0,n.Cg)([(0,f.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],Ee.prototype,"listMode",void 0),(0,n.Cg)([(0,f.MZ)({type:["SubtypeGroupLayer","SubtypeGroupTable"],json:{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{"web-document":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}},"portal-item":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}}}}})],Ee.prototype,"operationalLayerType",null),(0,n.Cg)([(0,f.MZ)(Re.outFields)],Ee.prototype,"outFields",void 0),(0,n.Cg)([(0,f.MZ)({clonable:!1})],Ee.prototype,"source",null),(0,n.Cg)([(0,f.MZ)({type:o.A.ofType(Te),json:{origins:{service:{read:{source:"subtypes",reader(e,t,r){let n=null;if(this.useUniqueColorsForSublayers){const i=function(e,t){const r=e.drawingInfo?.renderer,n=r?z(r,e,t):null;if("simple"===n?.type)return(0,q.Sx)(n.symbol,null)?n.symbol.clone():null}(t,r);n=i?function(e,t){return(0,_.Iy)(G,e,{offset:!0,shuffle:!0}).reverse().map(e=>{const r=t.clone();return"cim"===r.type?(0,N.Fe)(r,e):(0,q.dt)(r,e),new P.A({symbol:r})})}(e.length,i):null}const i=e.map(({code:e},i)=>{const o=new Te({subtypeCode:e});o.read(t,r);const s=n?.[i];return s&&o.read({drawingInfo:{renderer:s.toJSON()}},r),o});return new(o.A.ofType(Te))(i)}}}},read:{source:["layers","tables"],reader(e,t,r){let n;return"SubtypeGroupLayer"===t.layerType&&t.layers?.length?n=Ze(t.layers,r):"SubtypeGroupTable"===t.layerType&&t.tables?.length&&(n=Ze(t.tables,r)),new(o.A.ofType(Te))(n)}},write:{ignoreOrigin:!0,writer(e,t,r,n){const i=[];for(const t of e){const e=t.write({},n);i.push(e)}this.isTable?t.tables=i:t.layers=i}}}})],Ee.prototype,"sublayers",void 0),(0,n.Cg)([(0,f.MZ)()],Ee.prototype,"useUniqueColorsForSublayers",void 0),(0,n.Cg)([(0,f.MZ)({type:Se.A})],Ee.prototype,"timeInfo",void 0),(0,n.Cg)([(0,f.MZ)({json:{origins:{"portal-item":{write:{enabled:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],Ee.prototype,"title",void 0),(0,n.Cg)([(0,ge.w)("service","title",["name"])],Ee.prototype,"readTitleFromService",null),(0,n.Cg)([(0,f.MZ)({json:{read:!1}})],Ee.prototype,"type",void 0),(0,n.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Ee.prototype,"featureTitleFields",null),Ee=(0,n.Cg)([(0,f.$K)("esri.layers.SubtypeGroupLayer")],Ee);const Pe=Ee},99157(e,t,r){r.d(t,{A:()=>l});var n,i=r(31635),o=r(69622),s=r(91429);let l=n=class extends o.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkid",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5902],{63907(e,t,n){n.d(t,{$0:()=>T,CQ:()=>G,Fq:()=>c,H0:()=>l,SB:()=>R,WR:()=>r,XN:()=>_,iE:()=>s,ld:()=>i,nI:()=>o,pe:()=>a,r6:()=>S,vt:()=>E,yI:()=>u});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},a={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},l={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},_=Object.values(l),s={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},R={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},i={FLOAT:a.FLOAT,UNSIGNED_BYTE:a.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:a.BYTE,UNSIGNED_SHORT:a.UNSIGNED_SHORT,SHORT:a.SHORT,UNSIGNED_INT:a.UNSIGNED_INT,INT:a.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},E={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},T=0,S=36064,u=36065,c=36066,o=33306,G={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},95902(e,t,n){n.r(t),n.d(t,{TextureCompressionWorkerOutput:()=>T,compress:()=>u,compressRGBADataToKTX2:()=>G,createTextureDataKTX2:()=>I,destroy:()=>S,initializeBasisEncoder:()=>c,initializeDXTEncoder:()=>o});var r=n(2741);let a,l;var _=n(63907);let s,R,i=null,E=null;class T{constructor(e,t){this.internalFormat=e,this.compressedTexture=t}}function S(){i=null,s=null,E=null,R=null,a=null,l=null}async function u(e){let t;t=e.data instanceof ImageBitmap?function(e){const t=new OffscreenCanvas(e.width,e.height),n=t.getContext("2d");return n.drawImage(e,0,0),n.getImageData(0,0,t.width,t.height).data}(e.data):function(e,t,n,r,a){const l=new Uint8ClampedArray(e).subarray(0,t*n*r);if(!a)return l;const _=new Uint8ClampedArray(l.length),s=t*r;for(let e=0;e<n;e++){const t=e*s,r=(n-e-1)*s;_.set(l.subarray(t,t+s),r)}return _}(e.data,e.width,e.height,e.components,e.needsFlip);try{if(e.hasS3TC){E||await o();const n=new Uint8Array(t.length);if(E?.encode(t,e.width,e.height,e.preMultiplyAlpha,n)){const e=function(e){const t=new Int32Array(e.buffer,e.byteOffset,31);let n,r;switch(t[21]){case N:n=8,r=_.CQ.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case B:n=16,r=_.CQ.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case D:n=16,r=_.CQ.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}let a=1,l=t[4],s=t[3];(3&l||3&s)&&(l=l+3&-4,s=s+3&-4);const R=l,i=s;let E,T;t[2]&C&&(a=Math.max(1,t[7]));let S=e.byteOffset+t[1]+4;const u=[];for(let t=0;t<a;++t)T=(l+3>>2)*(s+3>>2)*n,E=new Uint8Array(e.buffer,S,T),u.push(E),S+=T,l=Math.max(1,l>>1),s=Math.max(1,s>>1);return{textureData:{type:"compressed",levels:u},internalFormat:r,width:R,height:i}}(n),t=[n.buffer];return{result:new T(e?.internalFormat??null,e?.textureData??null),transferList:t}}return{result:new T(null,null)}}if(e.hasETC){if(i||await c(),e.preMultiplyAlpha&&!E&&await o(),e.preMultiplyAlpha){const n=new Uint8ClampedArray(t.length);E?.premultiply(new Uint8Array(t),e.width,e.height,n),t=n}const n=G(t,e.width,e.height,e.hasMipmap),r=n?I(n):null,a=r?.compressedTexture?.levels.map(e=>e.buffer)||[];return{result:new T(r?.internalFormat??null,r?.compressedTexture??null),transferList:a}}return{result:new T(null,null)}}finally{t instanceof ImageBitmap&&t.close()}}async function c(){i||(i=await(s??=(a??=(async()=>{const e=await n.e(2372).then(n.bind(n,62372)),t=await e.default({locateFile:e=>(0,r.s)(`esri/libs/basisu/${e}`)});return t.initializeBasis(),t})(),a)),s=null)}async function o(){E||(E=await(R??=(l??=(async()=>{const e=await n.e(8714).then(n.bind(n,98714));return await e.default({locateFile:e=>(0,r.s)(`esri/libs/dxtEncoder/${e}`)})})(),l)),R=null)}function G(e,t,n,r,a=255,l=0,_=!1,s=!1){if(!i)return null;const R=new i.BasisEncoder;R.setPerceptual(!s),R.setCheckForAlpha(!0),R.setForceAlpha(!1),R.setRenormalize(s),R.setMipGen(r),R.setMipSRGB(!s),R.setCreateKTX2File(!0),R.setKTX2SRGBTransferFunc(!s),R.setQualityLevel(a),R.setCompressionLevel(l);const E=new Uint8Array(e.byteLength);R.setSliceSourceImage(0,new Uint8Array(e),t,n,_);const T=R.encode(E),S=new Uint8Array(E.buffer,0,T),u=new i.KTX2File(new Uint8Array(S));return u.isValid()?(R.delete(),S):(u.close(),u.delete(),R.delete(),null)}function I(e){if(!i)return new T(null,null);const t=new i.KTX2File(new Uint8Array(e));t.startTranscoding();const[n,r]=t.getHasAlpha()?[1,_.CQ.COMPRESSED_RGBA8_ETC2_EAC]:[0,_.CQ.COMPRESSED_RGB8_ETC2],a=t.getLevels(),l=[];for(let e=0;e<a;e++)l.push(new Uint8Array(t.getImageTranscodedSizeInBytes(e,0,0,n))),t.transcodeImage(l[e],e,0,0,n,0,-1,-1);return t.close(),t.delete(),{internalFormat:r,compressedTexture:{type:"compressed",levels:l}}}const C=131072;function A(e){return e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)}const N=A("DXT1"),B=A("DXT3"),D=A("DXT5")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9466],{7142(t,e,r){function n(t,e){return s(t,"any",e?.origin)}function o(t,e){return s(t,"read",e?.origin)}function i(t,e){return s(t,"write",e?.origin)}function s(t,e,r){let n=t?.json;if(n?.origins&&r){let t;t="link-chart"===r?n.origins[r]&&("any"===e||e in n.origins[r])?n.origins[r]:n.origins["web-map"]:n.origins[r],t&&("any"===e||e in t)&&(n=t)}return n}r.d(e,{N5:()=>o,k4:()=>i,xF:()=>n})},10107(t,e,r){r.d(e,{MZ:()=>c,rM:()=>l});var n=r(53966),o=r(56507),i=r(16649),s=r(96156),a=r(47821);function c(t={}){return(e,r)=>{if(e===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${e.name}.${r}. Accessor does not support static properties.`);const c=Object.getOwnPropertyDescriptor(e,r),l=(0,s.z4)(e,r);c&&(c.get||c.set?(l.get=c.get||l.get,l.set=c.set||l.set):"value"in c&&("value"in t&&n.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),l.value=t.value=c.value)),null!=t.readOnly&&(l.readOnly=t.readOnly);const u=t.aliasOf;if(u){const t="string"==typeof u?u:u.source,e="string"==typeof u?null:!0===u.overridable;let n;l.dependsOn=[t],l.get=function(){let e=(0,i.Jt)(this,t);if("function"==typeof e){n||(n=t.split(".").slice(0,-1).join("."));const r=(0,i.Jt)(this,n);r&&(e=e.bind(r))}return e},l.readOnly||(l.set=e?function(t){this._override(r,t)}:function(e){(0,a.h)(this,t,e)})}const f=t.type,h=t.types;if(!l.cast){let e;f&&!1!==t.useTypeForAutocast?e=function(t){let e=0,r=t;if((0,o.Zu)(t))return(0,o.Nd)(t);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],e++;const n=r;if((0,o.EK)(n))return 0===e?(0,o.MB)(n):(0,o._e)((0,o.MB)(n),e);if(1===e)return(0,o.eC)(n);if(e>1)return(0,o.e6)(n,e);const i=t;return i.from?i.from:(0,o.dp)(i)}(f):h&&(e=Array.isArray(h)?(0,o.wB)((0,o.aq)(h[0])):(0,o.aq)(h)),t.cast=function(t,e){if(t||e)return t?e?(r,n)=>e(t(r,n),n):t:e}(t.cast,e)}(0,s.CX)(l,t),t.range&&(l.cast=(0,o.Qp)(l.cast,t.range))}}function l(t,e,r){const n=(0,s.z4)(t,r);n.json||(n.json={});let o=n.json;return void 0!==e&&(o.origins||(o.origins={}),o.origins[e]||(o.origins[e]={}),o=o.origins[e]),o}},15142(t,e,r){r.d(e,{A:()=>l});var n=r(4576),o=r(21818);const i=(t,e,r,n)=>{let o=e,i=e;const s=r>>>1,a=t[o-1];for(;i<=s;){i=o<<1,i<r&&n(t[i-1],t[i])<0&&++i;const e=t[i-1];if(n(e,a)<=0)break;t[o-1]=e,o=i}t[o-1]=a},s=(t,e)=>t<e?-1:t>e?1:0;function a(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=s);for(let o=r>>>1;o>e;o--)i(t,o,r,n);const o=e+1;for(let s=r-1;s>e;s--){const r=t[e];t[e]=t[s],t[s]=r,i(t,o,s,n)}}function*c(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=s);for(let o=r>>>1;o>e;o--)i(t,o,r,n),yield;const o=e+1;for(let s=r-1;s>e;s--){const r=t[e];t[e]=t[s],t[s]=r,i(t,o,s,n),yield}}class l{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new n.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>u(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let r=0;r<this._length;r++){const n=this.data[r];t(n)&&e.push(n)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const r=this.data.indexOf(t,e);return-1!==r&&r<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let r=0;r<e;r++)this.data[this._length++]=t[r]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let r=0;r<e;r++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,u(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,n.qh)(this.data,(0,o.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,n.qh)(this.data,(0,o.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,r){this.length=(0,n.mW)(this.data,t,this.length,e,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const r=this.data[t];this.data[t]=this.data[e],this.data[e]=r}sort(t){a(this.data,0,this.length,t)}iterableSort(t){return c(this.data,0,this.length,t)}some(t,e){for(let r=0;r<this.length;++r)if(t.call(e,this.data[r],r,this.data))return!0;return!1}find(t,e){const{data:r,length:n}=this;for(let o=0;o<n;++o)if(t.call(e,r[o]))return r[o]}filterInPlace(t,e){let r=0;for(let n=0;n<this._length;++n){const o=this.data[n];t.call(e,o,n,this.data)&&(this.data[n]=this.data[r],this.data[r]=o,r++)}if(this._deallocator)for(let t=r;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=r,this._shrink(),this}forAll(t,e){const{data:r,length:n}=this;for(let o=0;o<n;++o)t.call(e,r[o],o,r)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const r=new Array(this.length);for(let n=0;n<this.length;++n)r[n]=t.call(e,this.data[n],n,this.data);return r}reduce(t,e){let r=e;for(let e=0;e<this.length;++e)r=t(r,this.data[e],e,this.data);return r}has(t){const e=this.length,r=this.data;for(let n=0;n<e;++n)if(r[n]===t)return!0;return!1}*[Symbol.iterator](){for(let t=0;t<this.length;t++)yield this.data[t]}}function u(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},15903(t,e,r){function n(t){return!!t&&t.prototype?.declaredClass&&0===t.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(e,{P:()=>n})},16649(t,e,r){r.d(e,{Jt:()=>a,RP:()=>s,t2:()=>c});var n=r(88620);function o(t,e){const r=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){const t=parseInt(r,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}const o=(0,n.oY)(e);return(0,n.yh)(o,r)?o.get(r):e[r]}function i(t,e,r){if(null==t)return t;const n=o(e[r],t);return!n&&r<e.length-1?void 0:r===e.length-1?n:i(n,e,r+1)}function s(t,e,r=0){return"string"!=typeof e||e.includes(".")?i(t,(0,n.AH)(e),r):o(e,t)}function a(t,e){return s(t,e)}function c(t,e){return void 0!==s(e,t)}},24326(t,e,r){r.d(e,{c:()=>o});let n=0;function o(){return++n}},26390(t,e,r){r.d(e,{d:()=>o});const n=[];function o(t){n.push(t),1===n.length&&queueMicrotask(()=>{const t=n.slice();n.length=0;for(const e of t)e()})}},36005(t,e,r){r.d(e,{w:()=>o});var n=r(10107);function o(t,e,r){let o,i;return void 0===e||Array.isArray(e)?(i=t,r=e,o=[void 0]):(i=e,o=Array.isArray(t)?t:[t]),(t,e)=>{const s=t.constructor.prototype;o.forEach(o=>{const a=(0,n.rM)(t,o,i);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=s[e],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},43937(t,e,r){r.d(e,{K:()=>o});var n=r(10107);function o(t,e,r){let o,i;return void 0===e?(i=t,o=[void 0]):"string"!=typeof e?(i=t,o=[void 0],r=e):(i=e,o=Array.isArray(t)?t:[t]),(t,e)=>{const s=t.constructor.prototype;for(const a of o){const o=(0,n.rM)(t,a,i);o.write&&"object"==typeof o.write||(o.write={}),r&&(o.write.target=r),o.write.writer=s[e]}}}},47328(t,e,r){r.d(e,{i:()=>n});const n={Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}},47821(t,e,r){r.d(e,{h:()=>s});var n=r(49186),o=r(44208),i=(r(53966),r(16649));function s(t,e,r){if(t&&e)if("object"==typeof e)for(const r of Object.getOwnPropertyNames(e))s(t,r,e[r]);else{if(e.includes(".")){const n=e.split("."),o=n.splice(-1,1)[0];return void s((0,i.Jt)(t,n),o,r)}const a=t.__accessor__;null!=a&&function(t,e){if((0,o.A)("esri-unknown-property-errors")&&!function(t,e){return null!=e.metadata[t]}(t,e))throw new n.A("set:unknown-property",function(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}(t,e))}(e,a),t[e]=r}}},56454(t,e,r){r.d(e,{G:()=>n});const n=Symbol("Accessor-beforeDestroy")},56507(t,e,r){r.d(e,{EK:()=>S,GB:()=>l,GX:()=>c,MB:()=>T,Nd:()=>z,PZ:()=>v,Qp:()=>h,Uv:()=>E,Vr:()=>u,Zu:()=>C,_e:()=>k,aq:()=>M,dp:()=>m,e6:()=>N,eC:()=>j,gK:()=>P,jz:()=>$,wB:()=>A});var n=r(53966),o=r(91869);const i=()=>n.A.getLogger("esri.core.accessorSupport.ensureTypes");function s(t){if(null==t)return t;const e=new Date(t);return isNaN(e.getTime())?(i().error("Accessor#set",`Invalid date value: '${t}', falling back to current date`),new Date):e}function a(t){return null==t?t:!!t}function c(t){return null==t?t:t.toString()}function l(t,e=0){return null==t?t:(t=parseFloat(t),isNaN(t)?e:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function f(t){return null}function h(t,e){return r=>{let n=t(r);return null!=e.step&&(n=Math.round(n/e.step)*e.step),null!=e.min&&(n=Math.max(e.min,n)),null!=e.max&&(n=Math.min(e.max,n)),n}}function p(t){return t?.constructor&&void 0!==t.constructor.__accessorMetadata__}function d(t,e){return null!=e&&t&&!(e instanceof t)}function y(t){return t&&"isCollection"in t}function g(t){return t?.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function _(t,e){return!!p(e)&&(i().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+w(t)+"'"),!0)}function v(t,e){return null==e?e:y(t)?function(t,e){if(!e?.constructor||!y(e.constructor))return _(t,e)?e:new t(e);const r=g(t.prototype.itemType),n=g(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(_(t,e),e):new t(e):e}(t,e):d(t,e)?_(t,e)?e:new t(e):e}function w(t){return t?.prototype?.declaredClass||"unknown"}const b=new WeakMap;function m(t,e){const r=function(t){switch(t){case Number:return t=>l(t);case $:return u;case Boolean:return a;case String:return c;case Date:return s;case E:return f;default:return(0,o.tE)(b,t,()=>v.bind(null,t))}}(t);return 1===arguments.length?r:r(e)}function A(t,e,r){return 1===arguments.length?A.bind(null,t):e?Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]:e}function j(t,e){return 1===arguments.length?A(e=>m(t,e)):A(e=>m(t,e),e)}function O(t,e,r){return 0!==e&&Array.isArray(r)?r.map(r=>O(t,e-1,r)):t(r)}function k(t,e,r){if(2===arguments.length)return r=>k(t,e,r);if(!r)return r;r=O(t,e,r);let n=e,o=r;for(;n>0&&Array.isArray(o);)n--,o=o[0];if(void 0!==o)for(let t=0;t<n;t++)r=[r];return r}function N(t,e,r){return 2===arguments.length?k(e=>m(t,e),e):k(e=>m(t,e),e,r)}function S(t){return!!Array.isArray(t)&&!t.some(e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)})}function T(t,e){if(2===arguments.length)return T(t).call(null,e);const r=new Set,n=t.filter(t=>"function"!=typeof t),o=t.filter(t=>"function"==typeof t);for(const e of t)"string"!=typeof e&&"number"!=typeof e||r.add(e);let s=null,a=null;return(t,e)=>{if(null==t)return t;const c=typeof t,l="string"===c||"number"===c;return l&&(r.has(t)||o.some(t=>"string"===c&&t===String||"number"===c&&t===Number))||"object"===c&&o.some(e=>!d(e,t))?t:(l&&n.length?(s||(s=n.map(t=>"string"==typeof t?`'${t}'`:`${t}`).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${s}`)):"object"==typeof t&&o.length?(a||(a=o.map(t=>w(t)).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${a}`)):i().error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function M(t,e){if(2===arguments.length)return M(t).call(null,e);const r={},n=[],o=[];for(const e in t.typeMap){const i=t.typeMap[e];r[e]=m(i),n.push(w(i)),o.push(e)}const s=()=>`'${n.join("', '")}'`,a=()=>`'${o.join("', '")}'`,c="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!d(t.base,e))return e;if(null==e)return e;const n=c(e)||t.defaultKeyValue,o=r[n];if(!o)return i().error("Accessor#set",`Invalid property value, value needs to be one of ${s()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!d(t.typeMap[n],e))return e;if("string"==typeof t.key&&!p(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return o(r)}return o(e)}}class ${}class E{}const P={native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})};function C(t){if(!t||"object"!=typeof t&&"function"!=typeof t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function z(t){switch(t.type){case"native":return m(t.value);case"array":return A(z(t.value));case"one-of":return function(t){let e=null;return(r,n)=>D(r,t)?r:(null==e&&(e=I(t)),i().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}(t);default:return null}}function I(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case E:return"null";default:return w(t.value)}case"array":return`array of ${I(t.value)}`;case"one-of":{const e=t.values.map(t=>I(t));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function D(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case $:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t;case E:return null===t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(t=>!D(t,e.value));case"one-of":return e.values.some(e=>D(t,e))}}},62788(t,e,r){r.d(e,{F_:()=>p,Xr:()=>v,a:()=>h,fE:()=>g,gc:()=>l}),r(44208);var n=r(53966),o=r(88620),i=r(47328);const s=new(r(67867).R),a=[];let c=s;function l(t){c.onAccessed(t)}let u=!1,f=!1;function h(t,e,r){if(u)return d(t,e,r);let o=null;if(f){c=t,a.push(t);try{o=e.call(r)}catch(t){throw n.A.getLogger("esri.core.accessorSupport.tracking").error(t),t}finally{y()}}else{c=t,a.push(t);try{o=e.call(r)}finally{y()}}return o}function p(t,e){return h(s,t,e)}function d(t,e,r){const o=u;u=!0,c=t,a.push(t);let i=null;try{i=e.call(r)}catch(t){f&&n.A.getLogger("esri.core.accessorSupport.tracking").error(t)}return y(),u=o,i}function y(){const t=a.length;if(t>1){const e=a.pop();c=a[t-2],e.onTrackingEnd()}else if(1===t){const t=a.pop();c=s,t.onTrackingEnd()}else c=s}function g(t,e){if(e.flags&i.i.DepTrackingInitialized)return;e.flags|=i.i.DepTrackingInitialized;const r=f;f=!1,e.flags&i.i.AutoTracked?d(e.trackingTarget,e.metadata.get,t):v(t,e),f=r}const _=[];function v(t,e){e.flags&i.i.ExplicitlyTracking||(e.flags|=i.i.ExplicitlyTracking,d(e.trackingTarget,()=>{const r=e.metadata.dependsOn||_;for(const e of r)if("string"!=typeof e||e.includes(".")){const r=(0,o.AH)(e);for(let e=0,n=t;e<r.length&&null!=n&&"object"==typeof n;++e)n=w(n,r[e],e!==r.length-1)}else w(t,e,!1)}),e.flags&=~i.i.ExplicitlyTracking)}function w(t,e,r){const n=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(n,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}const i=(0,o.oY)(t);if(i){const e=i.propertiesByName.get(n);e&&(l(e),g(t,e))}return r?t[n]:void 0}},64108(t,e,r){r.d(e,{$:()=>m}),r(44208);var n=r(53966),o=r(56454),i=r(85537),s=r(96156),a=r(62788),c=r(56507),l=r(90360);function u(t){if(t.json||(t.json={}),h(t.json),p(t.json),f(t.json),t.json.origins)for(const e in t.json.origins)h(t.json.origins[e]),p(t.json.origins[e]),f(t.json.origins[e]);return!0}function f(t){t.name&&(t.read&&"object"==typeof t.read?void 0===t.read.source&&(t.read.source=t.name):t.read={source:t.name},t.write&&"object"==typeof t.write?void 0===t.write.target&&(t.write.target=t.name):t.write={target:t.name})}function h(t){"boolean"==typeof t.read?t.read={enabled:t.read}:"function"==typeof t.read?t.read={enabled:!0,reader:t.read}:t.read&&"object"==typeof t.read&&void 0===t.read.enabled&&(t.read.enabled=!0)}function p(t){"boolean"==typeof t.write?t.write={enabled:t.write}:"function"==typeof t.write?t.write={enabled:!0,writer:t.write}:t.write&&"object"==typeof t.write&&void 0===t.write.enabled&&(t.write.enabled=!0)}var d=r(67124);function y(t){return t.type?g(t):_(t)}function g(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!(0,c.EK)(r);)r=r[0],e++;return{type:r,ndimArray:e}}function _(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function v(t){u(t)&&(function(t){if(t.json&&t.json.origins){const e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(const t in r)if(e[t]){const n=e[t];r[t].forEach(t=>{e[t]=n}),delete e[t]}}}(t),function(t){const e=function(t){return t.json.types?_(t.json):t.type?g(t):_(t)}(t);if(t.json.origins)for(const r in t.json.origins){const n=t.json.origins[r],o=n.types?y(n):e;(0,l.v)(o,n,!1),n.types&&!n.write&&t.json.write?.enabled&&(n.write={...t.json.write}),(0,d.v)(o,n)}(0,l.v)(e,t.json,!0),(0,d.v)(e,t.json)}(t))}const w=new Set,b=new Set;function m(t){return e=>{t??="esri.core.Accessor",e.prototype.declaredClass=t,k(e);const r=[],n=[];let a=e.prototype;for(;a;)a.hasOwnProperty("initialize")&&!w.has(a.initialize)&&(w.add(a.initialize),r.push(a.initialize)),a.hasOwnProperty("destroy")&&!b.has(a.destroy)&&(b.add(a.destroy),n.push(a.destroy)),a=Object.getPrototypeOf(a);w.clear(),b.clear();const c=class extends e{constructor(...t){if(super(...t),this.constructor===c&&"function"==typeof this.postscript){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let t=r.length-1;t>=0;t--)r[t].call(this)}}),n.length){let t=!1;const e=this[o.G];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!t){this.__accessor__.lifecycle=i.v.DESTROYING,t=!0,e.call(this);for(let t=0;t<n.length;t++)n[t].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};c.__accessorMetadata__=(0,s.tD)(e.prototype),c.prototype.declaredClass=t;const l=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(c.prototype,Symbol.toStringTag,{value:l,configurable:!0,writable:!0,enumerable:!1}),c}}function A(t,{get:e,value:r}){return null==e?function(){const e=this.__accessor__,n=e.propertiesByName.get(t);if(void 0===n)return;e.mutable&&(0,a.gc)(n);const o=e.store;return o.has(t)?o.get(t):r}:function(){const r=this.__accessor__;return r.propertiesByName.get(t)?.getComputed(r,e)}}function j(t,e,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}function O(t,e){return e.readOnly&&e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?N("read-only",t):n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?N("construct-only",t):void n.set(t,r)}else j(this,t,r)}:e.readOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?N("read-only",t):void n.set(t,r)}else j(this,t,r)}:e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?N("construct-only",t):void n.set(t,r)}else j(this,t,r)}:function(e){const r=this.__accessor__;r?r.mutable&&r.set(t,e):j(this,t,e)}}function k(t){const e=t.prototype,r=(0,s.tD)(e),n={};for(const t of Object.getOwnPropertyNames(r)){const e=r[t];v(e),n[t]={enumerable:!0,configurable:!0,get:A(t,e),set:O(t,e)}}Object.defineProperties(t.prototype,n)}const N=(t,e)=>{n.A.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}},66552(t,e,r){r.d(e,{J:()=>o,O:()=>s});var n=r(93637);class o{constructor(t,e={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=t,this._options=e,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(t){const e={};for(const r in t)e[t[r]]=r;return e}(t),this.apiValues=i(this._apiToJSON),this.jsonValues=i(this._jsonToAPI),this.read=t=>this.fromJSON(t),this.write=(t,e,r)=>{const o=this.toJSON(t);void 0!==o&&(0,n.sM)(r,o,e)},this.write.isJSONMapWriter=!0}toJSON(t){if(null==t)return null;if(this._apiToJSON.hasOwnProperty(t)){const e=this._apiToJSON[t];return this._options.useNumericKeys?+e:e}return this._options.ignoreUnknown?null:t}fromJSON(t){return null!=t&&this._jsonToAPI.hasOwnProperty(t)?this._jsonToAPI[t]:this._options.ignoreUnknown?void 0:t}}function i(t){const e=[];for(const r in t)e.push(r);return e.sort(),e}function s(){return function(t,e){return new o(t,{ignoreUnknown:!0,...e})}}},67076(t,e,r){r.d(e,{A:()=>o});var n=r(799);class o{constructor(t,e,r){this.name=t,this.details=r,this.type="warning",this.message=e?(0,n.V2)(e,r):""}toString(){const{name:t,message:e}=this;return`[${t}]: ${e}`}}},67124(t,e,r){r.d(e,{B:()=>f,v:()=>a});var n=r(49186),o=r(53966),i=r(93637),s=r(15903);function a(t,e){if(!e.write||e.write.writer||!1===e.write.enabled&&!e.write.overridePolicy)return;const r=t?.ndimArray??0;t&&(1===r||"type"in t&&(0,s.P)(t.type))?e.write.writer=h:r>1?e.write.writer=function(t){return(e,r,n,o)=>{let s;if(null===e)s=null;else{s=p(e,o,t);let r=t,n=s;for(;r>0&&Array.isArray(n);)r--,n=n[0];if(void 0!==n)for(let t=0;t<r;t++)s=[s]}(0,i.sM)(n,s,r)}}(r):e.types?Array.isArray(e.types)?e.write.writer=function(t){return(e,r,n,o)=>e&&Array.isArray(e)?l(e.filter(e=>c(e,t,o)),r,n,o):l(e,r,n,o)}(e.types[0]):e.write.writer=function(t){return(e,r,n,o)=>e?c(e,t,o)?l(e,r,n,o):void 0:l(e,r,n,o)}(e.types):e.write.writer=l}function c(t,e,r){for(const r in e.typeMap)if(t instanceof e.typeMap[r])return!0;if(r?.messages){const i=e.errorContext??"type",s=`Values of type '${("function"!=typeof e.key?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&r.messages.push(new n.A(`${i}:unsupported`,s,{definition:t,context:r})),o.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(s)}return!1}function l(t,e,r,n){(0,i.sM)(r,u(t,n),e)}function u(t,e){return t&&"function"==typeof t.write?t.write({},e):t&&"function"==typeof t.toJSON?t.toJSON():"number"==typeof t?f(t):t}function f(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function h(t,e,r,n){let o;null===t?o=null:t&&"function"==typeof t.map?(o=t.map(t=>u(t,n)),"function"==typeof o.toArray&&(o=o.toArray())):o=[u(t,n)],(0,i.sM)(r,o,e)}function p(t,e,r){return 0!==r&&Array.isArray(t)?t.map(t=>p(t,e,r-1)):u(t,e)}},67867(t,e,r){r.d(e,{R:()=>n});class n{constructor(t){this.accessed=void 0,this._handles=void 0,this._observer=t}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(t){null!=this._observer&&t!==this._observer&&(null==this.accessed&&(this.accessed=new Set),this.accessed.add(t))}onTrackingEnd(){null!=this._observer&&(this.clear(),null!=this.accessed&&(null==this._handles&&(this._handles=[]),this.accessed.forEach(t=>{this._handles.push(t.observe(this._observer))}),this.accessed.clear()))}clear(){if(null!=this._handles)for(;this._handles.length;)this._handles.pop().remove()}}},79901(t,e,r){r.d(e,{w:()=>c});var n=r(56507),o=r(96156);const i=Object.prototype.toString;function s(t){const e="__accessorMetadata__"in t?(0,n.dp)(t):t;return function(...t){if(t.push(e),"number"==typeof t[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,t)}}function a(t,e,r,n){(0,o.z4)(t,e).cast=n}function c(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===i.call(t[0])?s(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return(e,r)=>{(0,o.z4)(e,t).cast=e[r]}}(t[0]):void 0}},85537(t,e,r){r.d(e,{v:()=>n});const n={INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}},88620(t,e,r){r.d(e,{AH:()=>l,h1:()=>a,oY:()=>i,qg:()=>f,yh:()=>s});var n=r(36563),o=r(4718);function i(t){return t.__accessor__??null}function s(t,e){return null!=t?.metadata?.[e]}function a(t,e,r){return c(t,e,r?{policy:r,path:""}:null)}function c(t,e,r){return e?Object.keys(e).reduce((t,n)=>{const i=n;if("__proto__"===i)return t;let s=null,a="merge";if(r&&(s=r.path?`${r.path}.${n}`:n,a=r.policy(s)),"replace"===a)return t[i]=e[i],t;if("replace-arrays"===a&&Array.isArray(t[i]))return t[i]=e[i],t;if(void 0===t[i])return t[i]=(0,o.o8)(e[i]),t;let l=t[i],u=e[i];if(l===u)return t;if(Array.isArray(u)||Array.isArray(t))l=l?Array.isArray(l)?t[i]=l.slice():t[i]=[l]:t[i]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach(t=>{l.includes(t)||l.push(t)}));else if(u&&"object"==typeof u)if(r){const e=r.path;r.path=s,t[i]=c(l,u,r),r.path=e}else t[i]=c(l,u,null);else t.hasOwnProperty(n)&&!e.hasOwnProperty(n)||(t[i]=u);return t},t||{}):t}function l(t){return Array.isArray(t)?t:t.split(".")}function u(t){return t.includes(",")?t.split(",").map(t=>t.trim()):[t.trim()]}function f(t,e,r,o){const i=function(t){if(Array.isArray(t)){const e=[];for(const r of t)e.push(...u(r));return e}return u(t)}(e);if(1!==i.length){const e=i.map(e=>o(t,e,r));return(0,n.vE)(e)}return o(t,i[0],r)}},90360(t,e,r){r.d(e,{C:()=>f,v:()=>u});var n=r(53966),o=r(93637),i=r(67076),s=r(96156),a=r(15903),c=r(7142);const l=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function u(t,e,r){t&&(!r&&!e.read||e.read?.reader||!1===e.read?.enabled||function(t){return"types"in t?_(t.types):g(t.type)}(t)&&(0,o.sM)("read.reader",f(t),e))}function f(t){const e=t.ndimArray??0;if(e>1)return function(t){const e=h(t),r=p.bind(null,e),n=t.ndimArray??0;return(t,e,o)=>{if(null==t)return t;t=r(t,o,n);let i=n,s=t;for(;i>0&&Array.isArray(s);)i--,s=s[0];if(void 0!==s)for(let e=0;e<i;e++)t=[t];return t}}(t);if(1===e)return d(t);if("type"in t&&y(t.type)){const e=t.type.prototype?.itemType?.Type,r=d("function"==typeof e?{type:e}:{types:e});return(e,n,o)=>{const i=r(e,n,o);return i?new t.type(i):i}}return h(t)}function h(t){return"type"in t?function(t){return t.prototype.read?(e,r,n)=>{if(null==e)return e;const o=typeof e;if("object"!==o)return void l().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${o}'`);const i=new t;return i.read(e,n),i}:t.fromJSON}(t.type):function(t){let e=null;const r=t.errorContext??"type",n=t.validate;return(o,a,u)=>{if(null==o)return o;const f=typeof o;if("object"!==f)return void l().error(`Expected JSON value of type 'object' to deserialize, but got '${f}'`);e||(e=function(t){const e={};for(const r in t.typeMap){const n=t.typeMap[r],o=(0,s.tD)(n.prototype);if("function"==typeof t.key)continue;const i=o[t.key];if(!i)continue;if(i.json?.type&&Array.isArray(i.json.type)&&1===i.json.type.length&&"string"==typeof i.json.type[0]){e[i.json.type[0]]=n;continue}const a=i.json?.write;if(!a?.writer){e[r]=n;continue}const c=a.target,l="string"==typeof c?c:t.key,u={};a.writer(r,u,l),u[l]&&(e[u[l]]=n)}return e}(t));const h=t.key;if("string"!=typeof h)return;const p=o[function(t,e,r){const n=Object.values(e)[0],o=(0,s.tD)(n.prototype)[t],i=(0,c.N5)(o,r),a=i?.read?.source;return a&&"string"==typeof a?a:t}(h,e,u)],d=p?e[p]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!d){const t=`Type '${p||"unknown"}' is not supported`;return u?.messages&&o&&u.messages.push(new i.A(`${r}:unsupported`,t,{definition:o,context:u})),void l().error(t)}const y=new d;return y.read(o,u),n?n(y):y}}(t.types)}function p(t,e,r,n){return 0!==n&&Array.isArray(e)?e.map(e=>p(t,e,r,n-1)):t(e,void 0,r)}function d(t){const e=h(t);return(t,r,n)=>{if(null==t)return t;if(Array.isArray(t)){const r=[];for(const o of t){const t=e(o,void 0,n);void 0!==t&&r.push(t)}return r}const o=e(t,void 0,n);return void 0!==o?[o]:void 0}}function y(t){if(!(0,a.P)(t))return!1;const e=t.prototype.itemType;return!(!e||!e.Type)&&("function"==typeof e.Type?g(e.Type):_(e.Type))}function g(t){return!Array.isArray(t)&&!!t&&("object"==typeof t||"function"==typeof t)&&t.prototype&&("read"in t.prototype||"fromJSON"in t||y(t))}function _(t){for(const e in t.typeMap)if(!g(t.typeMap[e]))return!1;return!0}},91429(t,e,r){r.d(e,{wg:()=>c,MZ:()=>s,$K:()=>a});var n=r(10107),o=r(79901),i=r(64108);r(93223),r(36005),r(43937);const s=n.MZ,a=i.$;function c(...t){return(0,o.w)(...t)}},93223(t,e,r){r.d(e,{e:()=>i});var n=r(66552),o=r(10107);function i(t,e={}){const r=t instanceof n.J?t:new n.J(t,e),{alwaysWriteDefaults:i,default:s,ignoreUnknown:a=!0,name:c,nonNullable:l,readOnly:u=!1}=e;return(0,o.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:s,name:c,read:!u&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:i}},nonNullable:l,readOnly:u})}},93687(t,e,r){r.d(e,{A:()=>o});var n=r(44208);class o{constructor(t,e,r,n=1,o=0){this._creator=t,this._acquireFunction=e,this._releaseFunction=r,this.allocationSize=n,this._pool=new Array(o),this._initialSize=o;for(let t=0;t<o;t++)this._pool[t]=this._creator();this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){let e;if(o.test.disabled)e=this._creator();else{if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=this._creator()}e=this._pool.pop()}return this._acquireFunction?this._acquireFunction(e,...t):function(t){return t?.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&!o.test.disabled&&(this._releaseFunction?this._releaseFunction(t):(e=t,e?.release&&"function"==typeof e.release&&t.release()),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){const t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}static{this.test={disabled:!!(0,n.A)("esri-tests-disable-memory-pools")}}}},96156(t,e,r){r.d(e,{CX:()=>a,tD:()=>i,z4:()=>s});var n=r(4718),o=r(88620);function i(t){let e=t.constructor.__accessorMetadata__;const r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(const t in e)e[t]=(0,n.o8)(e[t]);Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e={},Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return t.constructor.__accessorMetadata__}function s(t,e){const r=i(t);let n=r[e];return n||(n=r[e]={}),n}function a(t,e){return(0,o.h1)(t,e,l)}const c=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function l(t){return c.test(t)?"replace":"merge"}}}]);
|