@arcgis/core 5.0.0-next.83 → 5.0.0-next.84
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/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/0057d3a9522188090536.js +1 -0
- package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js +2 -0
- 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/04fddd41a8e6a4c1bc57.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/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/21ac84b5c7dedcfd747d.js +2 -0
- package/assets/esri/core/workers/chunks/22503abc06354741d28a.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/2a1898c5b8d7757e39e3.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/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/3909217130048b5feeae.js +301 -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/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/532935f420ed5f13c011.js +1 -0
- package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +1 -0
- package/assets/esri/core/workers/chunks/534ed6574e4a1613ba05.js +2 -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/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/5aee84e827e6fcc9c4c4.js +2 -0
- package/assets/esri/core/workers/chunks/5b0ca8d2154ef59da600.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/5e3dd05f1ecfdb21350e.js +1 -0
- 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/6610d23d8539f06e64ca.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/76d6843d56bff0d4c45e.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/7a31717dafbd820bc2bf.js +1 -0
- package/assets/esri/core/workers/chunks/7b2f848947b296c7c785.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/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/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/90a53bfe95ed687c28c1.js +2 -0
- package/assets/esri/core/workers/chunks/911912b0ef7ffed875be.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/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/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/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/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/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/c16115cfbca879dd6717.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/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/d8c8f54532714d4db2cd.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/dc57400b835724204909.js +2 -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/df40be5a050b8d20617a.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/e3d3fc87789fd711f161.js +2 -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/e881629bf230a148963d.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/ef519984fa691aad8d87.js +2 -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/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/config.js +1 -1
- 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/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/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/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/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/package.json +3 -3
- package/support/revision.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/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/widgets/Attribution.d.ts +1 -0
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/FeatureTable/Grid/EditorColumn.js +1 -1
- package/widgets/FeatureTable/support/tableUtils.js +1 -1
- 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.d.ts +15 -0
- 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/f25bebd2b6eb0d0f6626.js +0 -2
- 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/{43e2c1d72cd9c8beed2f.js.LICENSE.txt → 008a555ce169640e2a35.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{6be530ab81291745485b.js.LICENSE.txt → 21ac84b5c7dedcfd747d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{5b9f2aa3ba1bf12c3240.js.LICENSE.txt → 534ed6574e4a1613ba05.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{37002a46f03a9fc5f644.js.LICENSE.txt → 5aee84e827e6fcc9c4c4.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{73c416ae0ec5a1815591.js.LICENSE.txt → 90a53bfe95ed687c28c1.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{873008572c1f21cea122.js.LICENSE.txt → 91e307ca0d11804a7a1d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{25f3ee666f545a7a7993.js.LICENSE.txt → dc57400b835724204909.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js.LICENSE.txt → e3d3fc87789fd711f161.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{0b7bbdc0d71ee6721751.js.LICENSE.txt → ef519984fa691aad8d87.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{9ccabf8142fb5de4d3e2.js.LICENSE.txt → f5ed6953a9255f0bed6a.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1437,7694],{16494(e,t,r){r.d(t,{Nd:()=>l,W5:()=>n});var i=r(37330);const s=["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"],n=new i.I({whiteList:s,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(o.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311(e,t,r){r.d(t,{A:()=>c});var i=r(31635),s=r(69622),o=r(4576),n=r(60999),l=r(7762),a=r(16494),p=r(91429),u=r(30524),d=r(43668);const y=/<br\s*\/*>/gi;let c=class extends s.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,n.UT)(()=>(0,d.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??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("."),i=this.fieldsIndex.get(r.at(-1)??"");i&&e.add(i.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){const i=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(i)??""}async getTitles(e,t,r){const i=new Map,s=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:n,workingTitle:l}=this,p=l&&n;t.forEach(t=>{const u=t.getObjectId()??t.attributes[e.objectIdField];let d=p?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:n,globalAttributes:this._createFormattedAttributes(e,t,s).global,layer:e,text:l}):"";r?.removeHTML&&(d=a.Nd.sanitize(d).replaceAll(y," ")),i.set(u,d)})}catch{}return i}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,u.Kl)(e,this.requiredFields))){const i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;const s=await e.queryFeatures(i);if(s?.features.length===t.length)return s.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),i=e?.name??r.fieldName;r.fieldName=i,t.set(i.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const i=this.effectivePopupTemplate?.fieldInfos??[],s={};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{s[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const o={...t.attributes,...s};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:o,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,u.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"_arcadeTask",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"displayField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"objectIdField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"requiredFields",null),c=(0,i.Cg)([(0,p.$K)("esri.layers.support.TitleCreator")],c)},22671(e,t,r){r.d(t,{A:()=>v});var i,s=r(31635),o=r(52106),n=r(66552),l=r(25482),a=r(4718),p=r(91429),u=r(16930),d=r(60408),y=r(65864),c=r(50498),h=r(20437),g=r(36005),f=r(43937);const m=new n.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);const{features:s}=this;if(s)for(const e of s)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,y.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=u.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,s]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((s-e)/r));for(let e=0,t=o.length;e<t;e++)n?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,s],scale:[o,n]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,e=>e*o+i,e=>s-e*n,l,a);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=u.A.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const o=e[t],n=r.fromJSON(o),l=o.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=i);const a=o.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],s=r?.spatialReference;null==t||s||(t.spatialReference=i)}s.push(n)}return s}_quantizePoints(e,t,r){let i,s;const o=[];for(let n=0,l=e.length;n<l;n++){const l=e[n];if(n>0){const e=t(l[0]),n=r(l[1]);e===i&&n===s||(o.push([e-i,n-s]),i=e,s=n)}else i=t(l[0]),s=r(l[1]),o.push([i,s])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,d.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],n=this._quantizePoints(o,t,r);n&&s.push(n)}return s.length>0?((0,d.Bi)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,s){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,d.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];for(let e=0,s=i.length;e<s;e++){const s=i[e];e>0?(n+=s[0],l+=s[1]):(n=s[0],l=s[1]),s[0]=t(n),s[1]=r(l)}}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=s(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];e>0?(n+=i[0],l+=i[1]):(n=i[0],l=i[1]),i[0]=t(n),i[1]=r(l)}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2]),t[3]=s(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2])}}:null}};(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,s.Cg)([(0,p.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,s.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,s.Cg)([(0,p.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,s.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,s.Cg)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,s.Cg)([(0,p.MZ)({types:c.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,s.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,s.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,s.Cg)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,s.Cg)([(0,p.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},29005(e,t,r){r.d(t,{A:()=>p});var i=r(31635),s=r(69540),o=r(66552),n=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 p=class extends((0,s.OU)(n.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],p.prototype,"drawingTool",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,i.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],p)},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>p,ne:()=>a});var i=r(31635),s=r(93637),o=r(91429),n=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const s=new n.A;return s.read(i,r),[s]}const a={type:[n.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const o=e.find(e=>!!e.field);o&&(0,s.sM)(r,[o.toJSON()],t)}}}},p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>d});var i=r(31635),s=r(69540),o=r(25482),n=r(91429),l=r(8631),a=r(29005),p=r(36005),u=r(43937);let d=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,i.Cg)([(0,p.w)("domains")],d.prototype,"readDomains",null),(0,i.Cg)([(0,u.K)("domains")],d.prototype,"writeDomains",null),(0,i.Cg)([(0,n.MZ)({type:[a.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,i.Cg)([(0,n.$K)("esri.layers.support.FeatureType")],d)},38961(e,t,r){r.d(t,{A:()=>u});var i=r(31635),s=r(7762),o=r(36708),n=r(10107),l=r(64108),a=r(80559);let p=class extends s.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)(()=>this._refresh(),o.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t)}_createNewInstance(e){return new s.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const i of t)if(i){if(r(i)){const t=this.indexOf(i,e);t>=0?t!==e&&this.reorder(i,e):this.add(i,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(i);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,i.Cg)([(0,n.MZ)()],p.prototype,"getCollections",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"getChildrenFunction",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"itemFilterFunction",void 0),p=(0,i.Cg)([(0,l.$)("esri.core.CollectionFlattener")],p);const u=p},41560(e,t,r){r.d(t,{Ch:()=>n,mW:()=>o});var i=r(34727),s=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function n(e,t,r){const o=function(e){if("manual"===p(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],u(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(o&&((0,i.gg)(t,o[0])||(0,i.ZH)(r,o[1])))return"";const n=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const s=u(e.at(0)?.minScale),o=d(e.at(-1)?.maxScale);if((0,i.ZH)(s,t)||(0,i.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],s=e[t+1];if((0,i.ZH)(u(s.minScale),d(r.maxScale)))return!0}return!1}(n,t,r)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,s.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===p(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)a(i.minScale,i.maxScale,t,r)&&(yield i)}}function a(e,t,r,s){return e=u(e),r=u(r),t=d(t),!(!(0,i.Sp)(r,e)&&(s??r)>e||(0,i.Hx)(t,r)||void 0!==s&&(0,i.Sp)(s,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},45067(e,t,r){r.d(t,{A:()=>u});var i=r(31635),s=r(69540),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),p=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,s.OU)(n.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"cardinality",void 0),(0,i.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],u.prototype,"catalogId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"composite",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:p.read,write:p.write}})],u.prototype,"role",void 0),u=(0,i.Cg)([(0,l.$K)("esri.layers.support.Relationship")],u)},58501(e,t,r){r.d(t,{q:()=>s});var i=r(62815);function s(e,t,r){if(!r?.features||!r.hasZ)return;const s=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(s)for(const e of r.features)s(e.geometry)}},62815(e,t,r){r.d(t,{N:()=>n});var i=r(86211),s=r(73941),o=r(21325);function n(e,t,r){if(null==t||null==r||r.vcsWkid||(0,o.aI)(t,r)||(0,s.xP)(t)||(0,s.xP)(r))return;const n=(0,i.G9)(t)/(0,i.G9)(r);if(1!==n)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,n);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,n);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,n);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return}}},81583(e,t,r){r.d(t,{L:()=>l,g:()=>n});var i=r(60999),s=r(7762),o=r(92474);async function n(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],n=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?n(...t):s.A.isCollection(t)?t.forEach(e=>n(e)):(0,o.Zm)(t)&&r.push(t))};t(n);let l=null;if(await(0,i.Tj)(r,async e=>{const t=await(0,i.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}},82411(e,t,r){r.r(t),r.d(t,{default:()=>tt});var i=r(31635),s=r(7762),o=r(38961),n=r(49186),l=r(36563),a=r(4718),p=r(81583),u=r(53966),d=r(25728),y=r(74887),c=r(36708),h=r(84952),g=r(91429),f=r(16930),m=r(4146),v=r(52106),b=r(37838),w=r(11254),C=r(66552),M=r(92474),Z=r(61893),F=r(5443),x=r(55156),T=r(60950),S=r(89808),I=r(99959);const A=Symbol("isBuildingGraphicOrigin");var j;class O extends I.A{get[(j=A,T.ym)](){return this.sublayer}get[x.e](){return this.sublayer}get[S.Q](){return this.sublayer}constructor(e){super(),this[j]=!0,this.type="building",this.sublayer=e}get layer(){return this.sublayer.layer}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var _=r(68654),L=r(69622),P=r(4902),R=r(56507),E=r(10873),N=r(36005);let k=class extends((0,P.s)((0,d.M)(L.A))){constructor(e){super(e),this.title="",this.id=-1,this.modelName=null,this.isEmpty=null,this.legendEnabled=!0,this.visible=!0,this.opacity=1}readTitle(e,t){return"string"==typeof t.alias?t.alias:"string"==typeof t.name?t.name:""}readIdOnlyOnce(e){return-1!==this.id?this.id:"number"==typeof e?e:-1}};(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{"web-scene":{write:!0},"portal-item":{write:!0}}}})],k.prototype,"title",void 0),(0,i.Cg)([(0,N.w)("service","title",["alias","name"])],k.prototype,"readTitle",null),(0,i.Cg)([(0,g.MZ)()],k.prototype,"layer",void 0),(0,i.Cg)([(0,g.MZ)({type:R.jz,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"id",void 0),(0,i.Cg)([(0,N.w)("service","id")],k.prototype,"readIdOnlyOnce",null),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(String))],k.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(Boolean))],k.prototype,"isEmpty",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,nonNullable:!0})],k.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],k.prototype,"visible",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],k.prototype,"opacity",void 0),k=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingSublayer")],k);var q=r(4071),B=r(15426),$=r(17036),K=r(95466),U=r(30524),G=r(83898),Q=r(50805),z=r(41214),D=r(61956),J=r(54218),V=r(30291),W=r(88625),H=r(5682),Y=r(45671),X=r(93223);const ee=(0,$.p)();let te=class extends((0,M.WV)((0,Z.g)(k))){constructor(e){super(e),this.type="building-component",this.nodePages=null,this.materialDefinitions=[],this.textureSetDefinitions=[],this.geometryDefinitions=[],this.indexInfo=null,this.serviceUpdateTimeStamp=null,this.store=null,this.attributeStorageInfo=[],this.fields=[],this.associatedLayer=null,this.outFields=null,this.listMode="show",this.renderer=null,this.definitionExpression=null,this.popupEnabled=!0,this.popupTemplate=null,this.layerType="3d-object"}initialize(){this._set("graphicOrigin",new O(this))}get parsedUrl(){return this.layer?{path:`${this.layer.parsedUrl?.path}/sublayers/${this.id}`,query:this.layer.parsedUrl?.query}:{path:""}}get fieldsIndex(){return new K.A(this.fields)}readAssociatedLayer(e,t){const r=this.layer.associatedFeatureServiceItem,i=t.associatedLayerID;return null!=r&&"number"==typeof i?new _.default({portalItem:r,customParameters:this.customParameters,layerId:i}):null}get objectIdField(){if(null!=this.fields)for(const e of this.fields)if("oid"===e.type)return e.name;return""}get globalIdField(){if(null!=this.fields)for(const e of this.fields)if("global-id"===e.type)return e.name;return""}get displayField(){return null!=this.associatedLayer?this.associatedLayer.displayField:void 0}get apiKey(){return this.layer.apiKey}get customParameters(){return this.layer.customParameters}get fullExtent(){return this.layer.fullExtent}get spatialReference(){return this.layer.spatialReference}get version(){return this.layer.version}get elevationInfo(){return this.layer.elevationInfo}get minScale(){return this.layer.minScale}get maxScale(){return this.layer.maxScale}get effectiveScaleRange(){return this.layer.effectiveScaleRange}get defaultPopupTemplate(){return this.createPopupTemplate()}load(e){const t=null!=e?e.signal:null,r=this._fetchService(t).then(()=>{this.indexInfo=(0,G.F)(this.parsedUrl.path,this.rootNode,this.nodePages,this.customParameters,this.apiKey,u.A.getLogger(this),t)});return this.addResolvingPromise(r),Promise.resolve(this)}createPopupTemplate(e){return(0,V.tn)(this,e)}async _fetchService(e){const t=(await(0,w.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service",url:this.parsedUrl})}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){const r=this.getField(e)?.domain??null;return this.associatedLayer?(0,B.Vq)(this.associatedLayer,e,t,r):r}getFeatureType(e){return e&&null!=this.associatedLayer?this.associatedLayer.getFeatureType(e):null}get types(){return null!=this.associatedLayer?this.associatedLayer.types??[]:[]}get typeIdField(){return null!=this.associatedLayer?this.associatedLayer.typeIdField:null}get geometryType(){return"3d-object"===this.layerType?"mesh":"point"}get profile(){return"3d-object"===this.layerType?"mesh-pyramids":"points"}get capabilities(){const e=null!=this.associatedLayer&&this.associatedLayer.capabilities?this.associatedLayer.capabilities:q.P,{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}=e;return{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}}createQuery(){const e=new D.A;return"mesh"!==this.geometryType&&(e.returnGeometry=!0,e.returnZ=!0),e.where=this.definitionExpression||"1=1",e.sqlFormat="standard",e}queryExtent(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryExtent(e||this.createQuery(),t))}queryFeatureCount(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatureCount(e||this.createQuery(),t))}queryFeatures(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatures(e||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=this.layer,t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}async queryObjectIds(e,t){const r=await this._getAssociatedLayerForQuery();return(await r.queryObjectIds(e||this.createQuery(),t)).filter(J.Et)}async queryCachedAttributes(e,t){const r=(0,U.hL)(this.fieldsIndex,await(0,Y.TO)(this,(0,Y.D8)(this)));return(0,H.s1)(this.parsedUrl.path,this.attributeStorageInfo,e,t,r,this.apiKey,this.customParameters)}async queryCachedFeature(e,t){const r=await this.queryCachedAttributes(e,[t]);if(!r||0===r.length)throw new n.A("scenelayer:feature-not-in-cached-data","Feature not found in cached data");return new v.A({attributes:r[0],layer:this,sourceLayer:this})}getFieldUsageInfo(e){return this.fieldsIndex.has(e)?{supportsLabelingInfo:!1,supportsRenderer:!1,supportsPopupTemplate:!1,supportsLayerQuery:!1}:{supportsLabelingInfo:!1,supportsRenderer:!0,supportsPopupTemplate:!0,supportsLayerQuery:null!=this.associatedLayer}}_getAssociatedLayerForQuery(){const e=this.associatedLayer;return null!=e&&e.loaded?Promise.resolve(e):this._loadAssociatedLayerForQuery()}async _loadAssociatedLayerForQuery(){if(await this.load(),null==this.associatedLayer)throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer component layer queries are not available without an associated feature layer",{layer:this});try{await this.associatedLayer.load()}catch(e){throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer associated feature layer could not be loaded",{layer:this,error:e})}return this.associatedLayer}};(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"parsedUrl",null),(0,i.Cg)([(0,g.MZ)({type:Q.W4,readOnly:!0})],te.prototype,"nodePages",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.uV],readOnly:!0})],te.prototype,"materialDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.Ot],readOnly:!0})],te.prototype,"textureSetDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.L0],readOnly:!0})],te.prototype,"geometryDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"serviceUpdateTimeStamp",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"store",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],te.prototype,"rootNode",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"attributeStorageInfo",void 0),(0,i.Cg)([(0,g.MZ)(ee.fields)],te.prototype,"fields",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"fieldsIndex",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:_.default})],te.prototype,"associatedLayer",void 0),(0,i.Cg)([(0,N.w)("service","associatedLayer",["associatedLayerID"])],te.prototype,"readAssociatedLayer",null),(0,i.Cg)([(0,g.MZ)(ee.outFields)],te.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"objectIdField",null),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"globalIdField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{read:!1}})],te.prototype,"displayField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"apiKey",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"customParameters",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:F.A})],te.prototype,"fullExtent",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:f.A})],te.prototype,"spatialReference",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"version",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:W.A})],te.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"minScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"maxScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"effectiveScaleRange",null),(0,i.Cg)([(0,g.MZ)({type:["hide","show"],json:{write:!0}})],te.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)({types:z.XJ,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:!0},value:null})],te.prototype,"renderer",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{service:{read:!1,write:!1}},name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],te.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,g.MZ)(E.M6)],te.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:b.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],te.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{origins:{service:{read:{source:"store.normalReferenceFrame"}}},read:!1}})],te.prototype,"normalReferenceFrame",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"types",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"typeIdField",null),(0,i.Cg)([(0,g.MZ)({json:{write:!1}}),(0,X.e)(new C.J({"3DObject":"3d-object",Point:"point"}))],te.prototype,"layerType",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"geometryType",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"profile",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"capabilities",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"statisticsInfo",void 0),te=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingComponentSublayer")],te);var re=r(67076);function ie(e,t){e.forEach(e=>{t(e),"building-group"===e.type&&ie(e.sublayers,t)})}const se={type:s.A,readOnly:!0,json:{origins:{service:{read:{source:"sublayers",reader:oe}}},read:!1}};function oe(e,t,r){if(e&&Array.isArray(e))return new s.A(e.map(e=>{const t=function(e){return"group"===e.layerType?ne:te}(e);if(t){const i=new t;return i.read(e,r),i}return r?.messages&&e&&r.messages.push(new re.A("building-scene-layer:unsupported-sublayer-type","Building scene sublayer of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:r})),null}))}let ne=class extends k{constructor(e){super(e),this.type="building-group",this.listMode="show",this.sublayers=null}loadAll(){return(0,p.L)(this,e=>ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}))}static{this.sublayersProperty=se}static{this.readSublayers=oe}};(0,i.Cg)([(0,g.MZ)({type:["hide","show","hide-children"],json:{write:!0}})],ne.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)(se)],ne.prototype,"sublayers",void 0),ne=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingGroupSublayer")],ne);var le=r(52136),ae=r(18768),pe=r(69208),ue=r(16131),de=r(8303),ye=r(25036),ce=r(58947),he=r(92009),ge=r(25482),fe=r(13069);let me=class extends ge.o{constructor(){super(...arguments),this.type=null}};(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],me.prototype,"type",void 0),me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfo")],me);const ve=me;var be;let we=be=class extends ge.o{constructor(){super(...arguments),this.filterType=null,this.filterValues=null}clone(){return new be({filterType:this.filterType,filterValues:(0,a.o8)(this.filterValues)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{isRequired:!0}}})],we.prototype,"filterType",void 0),(0,i.Cg)([(0,g.MZ)({type:[String],json:{write:{isRequired:!0}}})],we.prototype,"filterValues",void 0),we=be=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoType")],we);const Ce=we;var Me;const Ze=s.A.ofType(Ce);let Fe=Me=class extends ge.o{clone(){return new Me({filterTypes:(0,a.o8)(this.filterTypes)})}};(0,i.Cg)([(0,g.MZ)({type:Ze,json:{write:{isRequired:!0}}})],Fe.prototype,"filterTypes",void 0),Fe=Me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoBlock")],Fe);const xe=Fe;var Te;const Se=s.A.ofType(xe);let Ie=Te=class extends ve{constructor(){super(...arguments),this.type="checkbox"}clone(){return new Te({filterBlocks:(0,a.o8)(this.filterBlocks)})}};(0,i.Cg)([(0,g.MZ)({type:["checkbox"]})],Ie.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)({type:Se,json:{write:{isRequired:!0}}})],Ie.prototype,"filterBlocks",void 0),Ie=Te=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoCheckbox")],Ie);const Ae=Ie;var je=r(69540);let Oe=class extends((0,je.OU)(ge.o)){};(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],Oe.prototype,"type",void 0),Oe=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterMode")],Oe);const _e=Oe;let Le=class extends _e{constructor(){super(...arguments),this.type="solid"}};(0,i.Cg)([(0,g.MZ)({type:["solid"],readOnly:!0,json:{write:{isRequired:!0}}})],Le.prototype,"type",void 0),Le=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeSolid")],Le);const Pe=Le;var Re=r(51734);let Ee=class extends _e{constructor(){super(...arguments),this.type="wire-frame",this.edges=null}};(0,i.Cg)([(0,X.e)({wireFrame:"wire-frame"})],Ee.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)(Re.J)],Ee.prototype,"edges",void 0),Ee=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeWireFrame")],Ee);const Ne=Ee;let ke=class extends _e{constructor(){super(...arguments),this.type="x-ray"}};(0,i.Cg)([(0,g.MZ)({type:["x-ray"],readOnly:!0,json:{write:{isRequired:!0}}})],ke.prototype,"type",void 0),ke=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeXRay")],ke);const qe=ke;var Be;let $e=Be=class extends ge.o{constructor(){super(...arguments),this.filterExpression=null,this.filterMode=new Pe,this.title=""}clone(){return new Be({filterExpression:this.filterExpression,filterMode:(0,a.o8)(this.filterMode),title:this.title})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"filterExpression",void 0),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,types:{key:"type",base:_e,typeMap:{solid:Pe,"wire-frame":Ne,"x-ray":qe}},json:{read:e=>{switch(e?.type){case"solid":return Pe.fromJSON(e);case"wireFrame":return Ne.fromJSON(e);case"x-ray":return qe.fromJSON(e);default:return}},write:{enabled:!0,isRequired:!0}}})],$e.prototype,"filterMode",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"title",void 0),$e=Be=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterBlock")],$e);const Ke=$e;var Ue;const Ge=s.A.ofType(Ke);let Qe=Ue=class extends ge.o{constructor(e){super(e),this.description=null,this.filterBlocks=null,this.id=(0,fe.lk)(),this.name=null}clone(){return new Ue({description:this.description,filterBlocks:(0,a.o8)(this.filterBlocks),id:this.id,name:this.name,filterAuthoringInfo:(0,a.o8)(this.filterAuthoringInfo)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Qe.prototype,"description",void 0),(0,i.Cg)([(0,g.MZ)({type:Ge,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"filterBlocks",void 0),(0,i.Cg)([(0,g.MZ)({types:{key:"type",base:ve,typeMap:{checkbox:Ae}},json:{read:e=>"checkbox"===e?.type?Ae.fromJSON(e):null,write:!0}})],Qe.prototype,"filterAuthoringInfo",void 0),(0,i.Cg)([(0,g.MZ)({type:String,constructOnly:!0,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"id",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"name",void 0),Qe=Ue=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilter")],Qe);let ze=class extends ge.o{constructor(){super(...arguments),this.fieldName=null,this.modelName=null,this.label=null,this.min=null,this.max=null,this.mostFrequentValues=null,this.subLayerIds=null}};(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"fieldName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"label",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],ze.prototype,"min",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],ze.prototype,"max",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:e=>Array.isArray(e)&&(e.every(e=>"string"==typeof e)||e.every(e=>"number"==typeof e))?e.slice():null}})],ze.prototype,"mostFrequentValues",void 0),(0,i.Cg)([(0,g.MZ)({type:[Number]})],ze.prototype,"subLayerIds",void 0),ze=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFieldStatistics")],ze);const De=ze;let Je=class extends((0,M.WV)((0,Z.g)(ge.o))){constructor(e){super(e),this.url=null,this.customParameters=null}get fields(){return this.loaded||"loading"===this.loadStatus?this._get("fields"):(u.A.getLogger(this).error("building summary statistics are not loaded"),null)}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._fetchService(t)),Promise.resolve(this)}async _fetchService(e){const t=(await(0,w.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service"})}};(0,i.Cg)([(0,g.MZ)({constructOnly:!0,type:String})],Je.prototype,"url",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],Je.prototype,"customParameters",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],Je.prototype,"apiKey",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:[De],json:{read:{source:"summary"}}})],Je.prototype,"fields",null),Je=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingSummaryStatistics")],Je);var Ve=r(24212);const We=s.A.ofType(Qe),He=(0,a.o8)(ne.sublayersProperty),Ye=He.json?.origins;Ye&&(Ye["web-scene"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}},Ye["portal-item"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}});let Xe=class extends((0,ce.w6)((0,ae.b)((0,ue.q)((0,de.A)((0,ye.j)((0,d.M)((0,pe.d)((0,le.p)(m.A))))))))){constructor(e){super(e),this.operationalLayerType="BuildingSceneLayer",this.allSublayers=new o.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>"building-group"===e.type?e.sublayers:null}),this.sublayers=null,this._allSublayerOverrides=null,this.filters=new We,this.activeFilterId=null,this.summaryStatistics=null,this.outFields=null,this.legendEnabled=!0,this.type="building-scene"}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e??{}}destroy(){this.allSublayers.destroy()}readSublayers(e,t,r){const i=ne.readSublayers(e,t,r);return ie(i,e=>e.layer=this),this._allSublayerOverrides&&(function(e,t){t.forEach(t=>et(e,t))}(i,this._allSublayerOverrides),this._allSublayerOverrides=null),i}write(e,t){return e=super.write(e,t),!t||"web-scene"!==t.origin&&"portal-item"!==t.origin||(this.sublayers?function(e,t,r){const i=[];ie(e,e=>{const t=e.write({},r);Object.keys(t).length>1&&i.push(t)}),i.length>0&&(t.sublayers=i)}(this.sublayers,e,t):this._allSublayerOverrides&&function(e,t,r){const i=r?.origin&&e.get(r.origin);i&&(t.sublayers=[],i.overrides.forEach(e=>{t.sublayers.push((0,a.o8)(e))}))}(this._allSublayerOverrides,e,t)),e}read(e,t){if(super.read(e,t),("web-scene"===t?.origin||"portal-item"===t?.origin)&&Array.isArray(e?.sublayers)){const r=function(e,t){const r=new Map;for(const i of e)null!=i&&"object"==typeof i&&"number"==typeof i.id?r.set(i.id,i):t.messages?.push(new n.A("building-scene-layer:invalid-sublayer-override","Invalid value for sublayer override. Not an object or no id specified.",{value:i}));return{overrides:r,context:t}}(e.sublayers,t);this.sublayers?et(this.sublayers,r):(this._allSublayerOverrides??=new Map,this._allSublayerOverrides.set(t.origin,r))}}readSummaryStatistics(e,t){if("string"==typeof t.statisticsHRef&&this.parsedUrl){const e=(0,h.fj)(this.parsedUrl.path,t.statisticsHRef);return new Je({url:e,apiKey:this.apiKey,customParameters:this.customParameters})}return null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(y.QP).then(()=>this._fetchService(t)).then(()=>this._fetchAssociatedFeatureService(t));return this.addResolvingPromise(r),Promise.resolve(this)}loadAll(){return(0,p.g)(this,e=>{ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}),this.summaryStatistics&&e(this.summaryStatistics)})}async saveAs(e,t){return this._debouncedSaveOperations(1,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"};return this._debouncedSaveOperations(0,e)}validateLayer(e){if(!e.layerType||"Building"!==e.layerType)throw new n.A("buildingscenelayer:layer-type-not-supported","BuildingSceneLayer does not support this layer type",{layerType:e.layerType})}_getTypeKeywords(){return["Building"]}async _fetchAssociatedFeatureService(e){try{const{portalItem:t}=await(0,he.L)(`${this.url}/layers/${this.layerId}`,{sceneLayerItem:this.portalItem,customParameters:this.customParameters,apiKey:this.apiKey,signal:e});this.associatedFeatureServiceItem=t}catch(e){(0,y.QZ)(this._logWarningOnPopupEnabled())}}async _logWarningOnPopupEnabled(){const e=new AbortController;this.addHandles((0,l.rE)(e)),await(0,c.C_)(()=>this.allSublayers.filter(e=>"building-component"===e.type).some(e=>e.popupEnabled&&null!=e.popupTemplate),e.signal);const t=this.allSublayers.filter(e=>"building-component"===e.type).filter(e=>e.popupEnabled&&null!=e.popupTemplate),r=[],i=[];for(const e of t){const t=e.title??`untitled ${e.id}`;e.attributeStorageInfo?r.push(t):i.push(t)}const s="\n ",o=r.length>0?`\nThe following sublayers will fall back to binary attributes for Popups:${s}${r.join(s)}`:"",n=i.length>0?`\nThe following sublayers have no binary attributes and will not work with Popups:${s}${i.join(s)}`:"";u.A.getLogger(this).warn(`Associated FeatureLayer could not be loaded for this BuildingSceneLayer: ${this.title}.`,o,n)}_validateElevationInfo(e){const t="Building scene layers";(0,Ve.XF)(u.A.getLogger(this),(0,Ve.B)(t,"absolute-height",e)),(0,Ve.XF)(u.A.getLogger(this),(0,Ve.tW)(t,e))}};function et(e,t){const{overrides:r,context:i}=t;ie(e,e=>e.read(r.get(e.id),i))}(0,i.Cg)([(0,g.MZ)({type:["BuildingSceneLayer"]})],Xe.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Xe.prototype,"allSublayers",void 0),(0,i.Cg)([(0,g.MZ)(He)],Xe.prototype,"sublayers",void 0),(0,i.Cg)([(0,N.w)("service","sublayers")],Xe.prototype,"readSublayers",null),(0,i.Cg)([(0,g.MZ)({type:We,nonNullable:!0,json:{write:!0}})],Xe.prototype,"filters",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Xe.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Je})],Xe.prototype,"summaryStatistics",void 0),(0,i.Cg)([(0,N.w)("summaryStatistics",["statisticsHRef"])],Xe.prototype,"readSummaryStatistics",null),(0,i.Cg)([(0,g.MZ)({type:[String],json:{read:!1}})],Xe.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)(E.Fm)],Xe.prototype,"fullExtent",void 0),(0,i.Cg)([(0,g.MZ)(E.fV)],Xe.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:["show","hide","hide-children"]})],Xe.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(f.A))],Xe.prototype,"spatialReference",void 0),(0,i.Cg)([(0,g.MZ)(E.Yj)],Xe.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({json:{read:!1},readOnly:!0})],Xe.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)()],Xe.prototype,"associatedFeatureServiceItem",void 0),Xe=(0,i.Cg)([(0,g.$K)("esri.layers.BuildingSceneLayer")],Xe);const tt=Xe},91880(e,t,r){r.d(t,{A:()=>p});var i,s=r(31635),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({asc:"ascending",desc:"descending"});let p=class extends n.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,s.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],p.prototype,"order",void 0),p=i=(0,s.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],p)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9110],{159(e,t,r){r.d(t,{A:()=>l});var n,i=r(31635),s=r(69622),o=r(91429),a=r(99157);let l=n=class extends s.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,o.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>l,jh:()=>s,l5:()=>a,xm:()=>o});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>w,KV:()=>v});var n=r(31635),i=r(93637),s=r(91429),o=r(89317),a=r(69540),l=r(7762),u=r(25482),p=r(83960),c=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let f=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.id=(0,c.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"id",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],f.prototype,"maxScale",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],f.prototype,"minScale",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"title",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"where",void 0),f=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],f);var y=r(41560),m=r(43937);let h=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(l.A.ofType(f)),this.mode="manual"}writeFilters(e,t,r,n){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const r=(0,p.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===r?n:r}),t[r]=i.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,y.mW)(this,t))}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],h.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A.ofType(f),nonNullable:!0,json:{write:!0}})],h.prototype,"filters",void 0),(0,n.Cg)([(0,m.K)("filters")],h.prototype,"writeFilters",null),(0,n.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],h.prototype,"mode",void 0),h=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],h);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,s.MZ)(w)],r.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,s.MZ)(v)],r.prototype,"displayFilterInfo",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},w={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:o.K,writer(e,t,r){(0,i.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},v={type:h,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:o.K},origins:{"web-scene":{write:!1,read:!1}}}}},6797(e,t,r){r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),s=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof n.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function c(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=l(e),i=l(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 s=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(s,d).sort(),y=p(e);if(y&&o.has(y)&&f.length)return{type:"complete",oldValue:e,newValue:t};let m;const h=a(e)&&a(t);for(const n of f){const i=u(e,n),s=u(t,n);let o;if((h||"function"!=typeof i&&"function"!=typeof s)&&i!==s&&(null!=i||null!=s)){if(r&&r[n]&&"function"==typeof r[n])o=r[n]?.(i,s);else if(i instanceof Date&&s instanceof Date){if(i.getTime()===s.getTime())continue;o={type:"complete",oldValue:i,newValue:s}}else o="object"==typeof i&&"object"==typeof s&&p(i)===p(s)?c(i,s):{type:"complete",oldValue:i,newValue:s};null!=o&&(null!=m?m.diff[n]=o:m={type:"partial",diff:{[n]:o}})}}return m}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&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},8303(e,t,r){r.d(t,{A:()=>x});var n=r(31635),i=r(92602),s=r(70333),o=r(11254),a=r(60999),l=r(49186),u=r(53966),p=r(97768),c=r(74887),d=r(84952),f=r(91429),y=r(77548),m=r(20655),h=r(80812),g=r(41318),w=r(10407),v=r(36005),b=r(43937);const x=e=>{const t=e;let x=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new h.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,c.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,c.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,c.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let o,a;if(i)o=r.portal.url;else try{o=await(0,y.wI)(this.url,t)}catch(e){(0,c.QP)(e)}if(!o||!(0,d.b8)(o,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.QP)(e)}const l=!0,u=!1,p=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:p}};try{if(i?await r.reload():(r=new h.default({id:e,portal:{url:o}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,c.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:p}}}_getUserPrivileges(e,t){const r=(0,w.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=T.credential===t?T.user:await this._fetchEditingUser(e);return T.credential=t,T.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=m.A.getDefault();if(i&&i.loaded&&(0,d.S8)(i.restUrl)===(0,d.S8)(n))return i.user;const l=`${n}/community/self`,u=null!=e?e.signal:null,p=await(0,a.Ke)((0,o.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?g.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return r&&n&&!(0,d.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,f.MZ)({type:h.default})],x.prototype,"portalItem",null),(0,n.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],x.prototype,"readPortalItem",null),(0,n.Cg)([(0,b.K)("web-document","portalItem",{itemId:{type:String}})],x.prototype,"writePortalItem",null),(0,n.Cg)([(0,f.MZ)({clonable:!1})],x.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasUpdateItemPrivileges",void 0),x=(0,n.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],x),x},T={credential:null,user:null}},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:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,o,a,l,u,p,c,d,f,y,m){return[e,t,r,n,i,s,o,a,l,u,p,c,d,f,y,m]}},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,s,o,a=Math.floor(e.length/3)){const l=(0,n.jd)(t,s);if(null==l)return!1;if(l===n.pO){if(e===i&&r===o)return!0;const t=r+3*a;for(let n=r,s=o;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*a;for(let t=r,n=o;t<u;t+=3,n+=3)l(e,t,i,n);return!0}},10184(e,t,r){r.d(t,{A:()=>p});var n=r(31635),i=r(69540),s=r(25482),o=r(88930),a=r(91429),l=r(73133),u=r(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,u.e)(l.j,{nonNullable:!0})],p.prototype,"unit",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=(0,n.Cg)([(0,a.$K)("esri.time.TimeInterval")],p)},10407(e,t,r){r.d(t,{It:()=>f,LG:()=>o,OM:()=>u,Sm:()=>p,Y:()=>a,bK:()=>l,mm:()=>d,sQ:()=>c});var n=r(91218),i=r(16930),s=r(28735);function o(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function p(e,t,r){r?o(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function f(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),o=!!r&&!!i?.includes("features:user:fullEdit");const a="update"===n||"admin"===n;return a?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:a}}}},13043(e,t,r){function n(e,t){if(e&&t)for(const r of e.children)if(r.localName in t){const e=t[r.localName];if("function"==typeof e){const t=e(r);t&&n(r,t)}else n(r,e)}}function*i(e,t){for(const r of e.children)if(r.localName in t){const e=t[r.localName];"function"==typeof e?yield e(r):yield*i(r,e)}}r.d(t,{i:()=>i,p:()=>n})},13069(e,t,r){r.d(t,{AG:()=>a,lk:()=>i,vD:()=>o,yS:()=>s});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 s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},17036(e,t,r){r.d(t,{p:()=>l});var n=r(44208),i=r(53966),s=r(20437),o=r(95466),a=r(30524);function l(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return o.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,a.DB)(this.fieldsIndex,e)}}}}},21901(e,t,r){r.r(t),r.d(t,{default:()=>oe});var n=r(31635),i=r(37838),s=r(25728),o=r(93637),a=r(84952),l=r(91429),u=r(56507),p=r(5443),c=r(16930),d=r(50498),f=r(55156),y=r(60950),m=r(89808),h=r(99959);const g=Symbol("isWFSGraphicOrigin");var w;class v extends h.A{get[(w=g,y.ym)](){return this.layer}get[f.e](){return this.layer}get[m.Q](){return this.layer}constructor(e){super(),this[w]=!0,this.type="wfs",this.layer=e}get id(){return this.layer.id}}var b=r(4146),x=r(49186),T=r(44208),C=r(92474),M=r(53966),S=r(74887),I=r(83027),A=r(64714),F=r(34322),R=r(37745),P=r(22671),O=r(98623);let _=class extends C.x_{constructor(){super(...arguments),this._connection=null,this._workerHandler=null,this.capabilities=(0,A.f)(!1,!1),this.type="wfs",this.refresh=(0,S.sg)(async()=>{await this.load();const e={customParameters:this.layer.customParameters,maxRecordCount:this.layer.maxRecordCount,maxTotalRecordCount:this.layer.maxTotalRecordCount,maxPageCount:this.layer.maxPageCount},{extent:t}=await this._workerHandler.refresh(e);return t&&(this.sourceJSON.extent=t),{dataChanged:!0,updates:{extent:this.sourceJSON.extent}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker({signal:t})),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null,this._workerHandler=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){const r=await this.queryFeaturesJSON(e,t);return P.A.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._workerHandler.queryFeatures(e?e.toJSON():void 0,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._workerHandler.queryFeatureCount(e?e.toJSON():void 0,t)}async queryObjectIds(e,t={}){return await this.load(t),this._workerHandler.queryObjectIds(e?e.toJSON():void 0,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._workerHandler.queryExtent(e?e.toJSON():void 0,t);return{count:r.count,extent:p.A.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._workerHandler.querySnapping(e,t)}async queryAttributeBins(e,t={}){await this.load(t);const r=await this._workerHandler.queryAttributeBins(e?.toJSON(),t);return R.A.fromJSON(r)}async _createLoadOptions(e){const{url:t,customParameters:r,name:n,namespaceUri:i,fields:s,geometryType:o,maxRecordCount:a,maxPageCount:l,maxTotalRecordCount:u,swapXY:p}=this.layer,c="defaults"===this.layer.originOf("spatialReference")?void 0:this.layer.spatialReference;if(!t)throw new x.A("wfs-layer:missing-url","WFSLayer must be created with a url");this.wfsCapabilities||(this.wfsCapabilities=await(0,F.Fu)(t,{customParameters:r,...e}));const f=["fields","geometryType","name","namespaceUri","swapXY"].some(e=>null==this.layer[e]),y=f?await(0,F.O8)(this.wfsCapabilities,n,i,{spatialReference:c,customParameters:r,signal:e?.signal}):{...(0,F.YW)(s??[]),geometryType:o,name:n,namespaceUri:i,spatialReference:c,swapXY:p},m=(0,F.mG)(this.wfsCapabilities.readFeatureTypes(),y.name,y.namespaceUri),h=d.gy.toJSON(y.geometryType),{operations:g}=this.wfsCapabilities,w=g.GetFeature.url,v=g.GetFeature.outputFormat;return{customParameters:r,featureType:m,fields:y.fields?.map(e=>e.toJSON())??[],geometryField:y.geometryField,geometryType:h,getFeatureUrl:w,getFeatureOutputFormat:v,maxRecordCount:a,maxPageCount:l,maxTotalRecordCount:u,objectIdField:y.objectIdField,spatialReference:y.spatialReference?.toJSON(),swapXY:!!y.swapXY}}async _startWorker(e){const[t,r]=await(0,S.Lx)([this._createLoadOptions(e),(0,I.h)("WFSSourceWorker",{...e,strategy:(0,T.A)("feature-layers-workers")?"dedicated":"local",registryTarget:this})]),n=t.error||r.error||null,i=r.value||null;if(n)throw i&&i.close(),n;const s=t.value;this._connection=r.value,this._workerHandler=this._connection.createInvokeProxy();const o=await this._workerHandler.load(s,e);for(const e of o.warnings)M.A.getLogger(this.layer).warn("#load()",`${e.message} (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{warning:e});this.sourceJSON={dateFieldsTimeReference:{timeZoneIANA:O.n$},extent:o.extent,fields:s.fields,geometryType:s.geometryType,objectIdField:s.objectIdField,geometryField:s.geometryField,drawingInfo:(0,A.F0)(s.geometryType),name:s.featureType.title,wfsInfo:{name:s.featureType.name,featureUrl:s.getFeatureUrl,maxFeatures:s.maxRecordCount,swapXY:s.swapXY,supportedSpatialReferences:s.featureType.supportedSpatialReferences,version:"2.0.0",wfsNamespace:s.featureType.namespaceUri}}}};(0,n.Cg)([(0,l.MZ)()],_.prototype,"capabilities",void 0),(0,n.Cg)([(0,l.MZ)({constructOnly:!0})],_.prototype,"layer",void 0),(0,n.Cg)([(0,l.MZ)()],_.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,l.MZ)()],_.prototype,"type",void 0),(0,n.Cg)([(0,l.MZ)()],_.prototype,"wfsCapabilities",void 0),_=(0,n.Cg)([(0,l.$K)("esri.layers.graphics.sources.WFSSource")],_);var E,j=r(63074),N=r(69208),Z=r(6455),k=r(87718),U=r(56658),D=r(16131),G=r(32756),$=r(8303),L=r(54310),q=r(25036),z=r(82935),J=r(63396),V=r(10873),B=r(15426),Y=r(20437),H=r(17036),K=r(30524),W=r(46499),Q=r(39383),X=r(41214),ee=r(61956),te=r(30291),re=r(56400),ne=r(43937);const ie=(0,H.p)();let se=E=class extends((0,G.fY)((0,Z.FJ)((0,N.d)((0,U.J)((0,k.F)((0,j.dM)((0,z.e)((0,J.d)((0,L.J)((0,q.j)((0,D.q)((0,$.A)((0,s.M)(b.A)))))))))))))){static fromWFSLayerInfo(e){const{customParameters:t,fields:r,geometryField:n,geometryType:i,name:s,namespaceUri:o,objectIdField:a,spatialReference:l,swapXY:u,url:p,wfsCapabilities:c}=e;return new E({customParameters:t,fields:r,geometryField:n,geometryType:i,name:s,namespaceUri:o,objectIdField:a,spatialReference:l,swapXY:u,url:p,wfsCapabilities:c})}constructor(e){super(e),this.copyright=null,this.customParameters=null,this.dateFieldsTimeZone=null,this.definitionExpression=null,this.displayField=null,this.elevationInfo=null,this.featureUrl=void 0,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new v(this),this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="WFS",this.maxRecordCount=3e3,this.maxPageCount=10,this.maxTotalRecordCount=2e5,this.mode=0,this.name=null,this.namespaceUri=null,this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new _({layer:this}),this.spatialReference=c.A.WGS84,this.spatialReferences=[4326],this.swapXY=void 0,this.title="WFS",this.type="wfs",this.url=null,this.version=void 0}destroy(){this.source?.destroy()}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["WFS"]},e).then(()=>this.source.load(e)).then(()=>{this.read(this.source.sourceJSON,{origin:"service",url:this.parsedUrl}),["objectIdField","fields","timeInfo","spatialReference","name","namespaceUri"].forEach(e=>this.revertToOrigin(e,"service")),(0,K.yp)(this.renderer,this.fieldsIndex),(0,K.sv)(this.timeInfo,this.fieldsIndex)})),Promise.resolve(this)}get capabilities(){return this.source?.capabilities}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}writeFields(e,t,r){const n=e.filter(e=>e.name!==F.i5);this.geometryField&&n.unshift(new Y.A({name:this.geometryField,alias:this.geometryField,type:"geometry"})),(0,o.sM)(r,n.map(e=>e.toJSON()),t)}get parsedUrl(){return(0,a.An)(this.url)}set renderer(e){(0,K.yp)(e,this.fieldsIndex),this._set("renderer",e)}get wfsCapabilities(){return this.source?.wfsCapabilities}set wfsCapabilities(e){this.source&&(this.source.wfsCapabilities=e)}createPopupTemplate(e){return(0,te.tn)(this,e)}createQuery(){const e=new ee.A({returnGeometry:!0,outFields:["*"],where:this.definitionExpression||"1=1"}),{timeOffset:t,timeExtent:r}=this;return e.timeExtent=null!=t&&null!=r?r.offset(-t.value,t.unit):r||null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex?.get(e)}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(ee.A.from(e)||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}queryObjectIds(e,t){return this.load().then(()=>this.source.queryObjectIds(ee.A.from(e)||this.createQuery(),t))}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(ee.A.from(e)||this.createQuery(),t))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(ee.A.from(e)||this.createQuery(),t))}async queryAttributeBins(e,t){const{source:n,capabilities:i}=await this.load();(0,B.ZJ)(e,i,"WFSLayer");const s=await Promise.all([r.e(4575),r.e(7136)]).then(r.bind(r,14575)),o=await n.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this;return o}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh();return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,n.Cg)([(0,l.MZ)({readOnly:!0})],se.prototype,"capabilities",null),(0,n.Cg)([(0,l.MZ)({type:String})],se.prototype,"copyright",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],se.prototype,"createQueryVersion",null),(0,n.Cg)([(0,l.MZ)({json:{name:"wfsInfo.customParameters",write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0),ignoreOrigin:!0})}}})],se.prototype,"customParameters",void 0),(0,n.Cg)([(0,l.MZ)((0,re.P6)("dateFieldsTimeReference"))],se.prototype,"dateFieldsTimeZone",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],se.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,l.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],se.prototype,"definitionExpression",void 0),(0,n.Cg)([(0,l.MZ)({type:String})],se.prototype,"displayField",void 0),(0,n.Cg)([(0,l.MZ)(V.Yj)],se.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,l.MZ)({type:String,readOnly:!0,json:{name:"wfsInfo.featureUrl",write:{ignoreOrigin:!0,isRequired:!0}}})],se.prototype,"featureUrl",void 0),(0,n.Cg)([(0,l.MZ)({type:[Y.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],se.prototype,"fields",void 0),(0,n.Cg)([(0,ne.K)("fields")],se.prototype,"writeFields",null),(0,n.Cg)([(0,l.MZ)(ie.fieldsIndex)],se.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,l.MZ)({type:p.A,json:{name:"extent"}})],se.prototype,"fullExtent",void 0),(0,n.Cg)([(0,l.MZ)()],se.prototype,"geometryField",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{read:{source:"layerDefinition.geometryType",reader:d.gy.read},write:{target:"layerDefinition.geometryType",writer:d.gy.write,ignoreOrigin:!0},origins:{service:{read:d.gy.read}}}})],se.prototype,"geometryType",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0,clonable:!1})],se.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,l.MZ)({type:String})],se.prototype,"id",void 0),(0,n.Cg)([(0,l.MZ)(V.kF)],se.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,l.MZ)({type:[W.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:Q.w},write:!0}})],se.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,l.MZ)(V.fV)],se.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,l.MZ)({type:["show","hide"]})],se.prototype,"listMode",void 0),(0,n.Cg)([(0,l.MZ)({type:String})],se.prototype,"objectIdField",void 0),(0,n.Cg)([(0,l.MZ)({type:["WFS"]})],se.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,l.MZ)({type:u.jz,json:{name:"wfsInfo.maxFeatures",write:{ignoreOrigin:!0,isRequired:!0}}})],se.prototype,"maxRecordCount",void 0),(0,n.Cg)([(0,l.MZ)({type:u.jz})],se.prototype,"maxPageCount",void 0),(0,n.Cg)([(0,l.MZ)({type:u.jz})],se.prototype,"maxTotalRecordCount",void 0),(0,n.Cg)([(0,l.MZ)({type:[0],readOnly:!0,json:{origins:{"web-map":{write:{ignoreOrigin:!0,isRequired:!0}}}}})],se.prototype,"mode",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{name:"wfsInfo.name",write:{ignoreOrigin:!0,isRequired:!0}}})],se.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{name:"wfsInfo.wfsNamespace",write:{ignoreOrigin:!0,isRequired:!0}}})],se.prototype,"namespaceUri",void 0),(0,n.Cg)([(0,l.MZ)(V.Ih)],se.prototype,"opacity",void 0),(0,n.Cg)([(0,l.MZ)(ie.outFields)],se.prototype,"outFields",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],se.prototype,"parsedUrl",null),(0,n.Cg)([(0,l.MZ)(V.M6)],se.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,l.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],se.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,l.MZ)({types:X.Hg,json:{origins:{service:{name:"drawingInfo.renderer"},"web-scene":{types:X.XJ,name:"layerDefinition.drawingInfo.renderer",write:!0}},name:"layerDefinition.drawingInfo.renderer",write:{ignoreOrigin:!0}}})],se.prototype,"renderer",null),(0,n.Cg)([(0,l.MZ)(V.PY)],se.prototype,"screenSizePerspectiveEnabled",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],se.prototype,"source",void 0),(0,n.Cg)([(0,l.MZ)({type:c.A,json:{name:"layerDefinition.spatialReference",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"extent.spatialReference"}}}})],se.prototype,"spatialReference",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0,type:[u.jz],json:{name:"wfsInfo.supportedSpatialReferences",write:{ignoreOrigin:!0,isRequired:!0}}})],se.prototype,"spatialReferences",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,value:!1,json:{name:"wfsInfo.swapXY",write:{ignoreOrigin:!0,isRequired:!0}}})],se.prototype,"swapXY",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"name"}}}})],se.prototype,"title",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!1},readOnly:!0})],se.prototype,"type",void 0),(0,n.Cg)([(0,l.MZ)(V.OZ)],se.prototype,"url",void 0),(0,n.Cg)([(0,l.MZ)({type:String,readOnly:!0,json:{name:"wfsInfo.version",write:{ignoreOrigin:!0,isRequired:!0}}})],se.prototype,"version",void 0),(0,n.Cg)([(0,l.MZ)()],se.prototype,"wfsCapabilities",null),se=E=(0,n.Cg)([(0,l.$K)("esri.layers.WFSLayer")],se);const oe=se},22671(e,t,r){r.d(t,{A:()=>w});var n,i=r(31635),s=r(52106),o=r(66552),a=r(25482),l=r(4718),u=r(91429),p=r(16930),c=r(60408),d=r(65864),f=r(50498),y=r(20437),m=r(36005),h=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=n=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=p.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[s,o]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+n,e=>i-e*o,a,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=p.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),a=s.geometry?.spatialReference;null==o.geometry||a||(o.geometry.spatialReference=n);const l=s.aggregateGeometries,u=o.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(o)}return i}_quantizePoints(e,t,r){let n,i;const s=[];for(let o=0,a=e.length;o<a;o++){const a=e[o];if(o>0){const e=t(a[0]),o=r(a[1]);e===n&&o===i||(s.push([e-n,o-i]),n=e,i=o)}else n=t(a[0]),i=r(a[1]),s.push([n,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,c.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,r);o&&i.push(o)}return i.length>0?((0,c.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,c.Bi)(e)?e.rings:e.paths;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(o+=i[0],a+=i[1]):(o=i[0],a=i[1]),i[0]=t(o),i[1]=r(a)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],a+=n[1]):(o=n[0],a=n[1]),n[0]=t(o),n[1]=r(a)}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],w.prototype,"features",void 0),(0,i.Cg)([(0,m.w)("features")],w.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[y.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,i.Cg)([(0,h.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:f.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,m.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:p.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,i.Cg)([(0,h.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0},32730(e,t,r){r.d(t,{BI:()=>f,D3:()=>c,XJ:()=>d,lc:()=>p,mX:()=>m,rU:()=>y,tH:()=>b});var n=r(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(s+"$","i");function p(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function c(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=p(e.labelExpression),t.type="conventional"),t}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return m(t.expression);case"arcade":return t.expression}return null}function y(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(h);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function m(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+s),t=l.test(t)?t.replace(l,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(a,' + "')):t='""',t}const h=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,v=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=g.exec(e)||w.exec(e);return t?t[1]||t[3]:(t=v.exec(e),t?t[2]:null)}},32756(e,t,r){r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>l});var n=r(31635),i=r(93637),s=r(91429),o=r(91880);function a(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new o.A;return i.read(n,r),[i]}const l={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,n){const s=e.find(e=>!!e.field);s&&(0,i.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,s.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},34322(e,t,r){r.d(t,{E:()=>N,Fu:()=>T,O8:()=>F,UH:()=>D,YW:()=>R,i5:()=>v,mG:()=>A,x$:()=>E});var n=r(11254),i=r(49186),s=r(5479),o=r(84952),a=r(5443),l=r(91218),u=r(16930),p=r(21325),c=r(50498),d=r(85113),f=r(13043),y=r(60694),m=r(20437),h=r(30524);const g="xlink:href",w="2.0.0",v="__esri_wfs_id__",b="wfs-layer:feature-type-not-found",x="wfs-layer:unknown-geometry-type";async function T(e,t){const r=function(e){const t=Z(e);(function(e){const t=e.firstElementChild?.getAttribute("version");if(t&&t!==w)throw new i.A("wfs-layer:unsupported-wfs-version",`Unsupported WFS version ${t}. Supported version: ${w}`)})(t),U(t);const r=t.firstElementChild,n=(0,s.PP)(function(e){return(0,f.i)(e,{FeatureTypeList:{FeatureType:e=>{const t={typeName:"undefined:undefined",name:"",title:"",description:"",extent:null,namespacePrefix:"",namespaceUri:"",defaultSpatialReference:4326,supportedSpatialReferences:[]},r=new Set;return(0,f.p)(e,{Name:e=>{const{name:r,prefix:n}=k(e.textContent);t.typeName=`${n}:${r}`,t.name=r,t.namespacePrefix=n,t.namespaceUri=e.lookupNamespaceURI(n)},Abstract:e=>{t.description=e.textContent},Title:e=>{t.title=e.textContent},WGS84BoundingBox:e=>{t.extent=a.A.fromJSON(function(e){let t,r,n,i;for(const s of e.children)switch(s.localName){case"LowerCorner":[t,r]=s.textContent.split(" ").map(e=>Number.parseFloat(e));break;case"UpperCorner":[n,i]=s.textContent.split(" ").map(e=>Number.parseFloat(e))}return{xmin:t,ymin:r,xmax:n,ymax:i,spatialReference:p.KK}}(e))},DefaultCRS:e=>{const n=I(e);n&&(t.defaultSpatialReference=n,r.add(n))},OtherCRS:e=>{const t=I(e);t&&r.add(t)}}),t.title||(t.title=t.name),r.add(4326),t.supportedSpatialReferences.push(...r),t}}})}(r));return{operations:S(r),get featureTypes(){return Array.from(n())},readFeatureTypes:n}}((await(0,n.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"GetCapabilities",VERSION:w,...t?.customParameters},signal:t?.signal})).data);return function(e,t){(0,o.m3)(e)&&((0,o.FX)(e,t.operations.DescribeFeatureType.url,!0)&&(t.operations.DescribeFeatureType.url=(0,o.lM)(t.operations.DescribeFeatureType.url)),(0,o.FX)(e,t.operations.GetFeature.url,!0)&&(t.operations.GetFeature.url=(0,o.lM)(t.operations.GetFeature.url)))}(e,r),r}const C=["json","application/json; subtype=geojson; charset=utf-8","application/json; subtype=geojson","application/json","geojson","application/geo+json"];function M(e){for(const t of C){const r=e.findIndex(e=>e.toLowerCase()===t);if(r>=0)return e[r]}return null}function S(e){let t=!0;const r={GetCapabilities:{url:""},DescribeFeatureType:{url:""},GetFeature:{url:"",outputFormat:null,supportsPagination:!1}},n=[],s=[];if((0,f.p)(e,{OperationsMetadata:{Parameter:e=>{if("outputformat"===e.getAttribute("name")?.toLowerCase())return{AllowedValues:{Value:({textContent:e})=>{e&&n.push(e)}}}},Operation:e=>{switch(e.getAttribute("name")){case"GetCapabilities":return{DCP:{HTTP:{Get:e=>{r.GetCapabilities.url=e.getAttribute(g)}}}};case"DescribeFeatureType":return{DCP:{HTTP:{Get:e=>{r.DescribeFeatureType.url=e.getAttribute(g)}}}};case"GetFeature":return{DCP:{HTTP:{Get:e=>{r.GetFeature.url=e.getAttribute(g)}}},Parameter:e=>{if("outputformat"===e.getAttribute("name")?.toLowerCase())return{AllowedValues:{Value:({textContent:e})=>{e&&s.push(e)}}}}}}},Constraint:e=>{switch(e.getAttribute("name")){case"KVPEncoding":return{DefaultValue:e=>{t="true"===e.textContent.toLowerCase()}};case"ImplementsResultPaging":return{DefaultValue:e=>{r.GetFeature.supportsPagination="true"===e.textContent.toLowerCase()}}}}}}),r.GetFeature.outputFormat=M(s)??M(n),!t)throw new i.A("wfs-layer:kvp-encoding-not-supported","WFS service doesn't support key/value pair (KVP) encoding");if(null==r.GetFeature.outputFormat)throw new i.A("wfs-layer:geojson-not-supported","WFS service doesn't support GeoJSON output format");return r}function I(e){const t=parseInt(e.textContent?.match(/(?<wkid>\d+$)/i)?.groups?.wkid??"",10);if(!Number.isNaN(t))return t}function A(e,t,r){return(0,s.I6)(e,e=>r?e.name===t&&e.namespaceUri===r:e.typeName===t||e.name===t)}async function F(e,t,r,n={}){const{featureType:s,extent:o}=await async function(e,t,r,n={}){const s=e.readFeatureTypes(),o=t?A(s,t,r):s.next().value,{spatialReference:a=new u.A({wkid:o?.defaultSpatialReference})}=n;if(null==o)throw t?new i.A(b,`The type '${t}' could not be found in the service`):new i.A("wfs-layer:empty-service","The service is empty");let c=o.extent;if(c&&!(0,p.aI)(c.spatialReference,a))try{await(0,l.initializeProjection)(c.spatialReference,a,void 0,n),c=(0,l.project)(c,a)}catch{throw new i.A("wfs-layer:unsupported-spatial-reference","Projection not supported")}return{extent:c,spatialReference:a,featureType:o}}(e,t,r,n),{spatialReference:a}=D(e.operations.GetFeature.url,s,n.spatialReference),{fields:c,geometryType:d,swapXY:f,objectIdField:y,geometryField:m}=await async function(e,t,r,n={}){const{typeName:s}=t,[o,a]=await Promise.allSettled([O(e.operations.DescribeFeatureType.url,s,n),P(e,s,r,n)]),l=e=>new i.A("wfs-layer:getWFSLayerTypeInfo-error",`An error occurred while getting info about the feature type '${s}'`,{error:e});if("rejected"===o.status)throw l(o.reason);if("rejected"===a.status)throw l(a.reason);const{fields:u,errors:p}=o.value??{},c=o.value?.geometryType||a.value?.geometryType,d=a.value?.swapXY??!1;if(null==c)throw new i.A(x,`The geometry type could not be determined for type '${s}`,{typeName:s,geometryType:c,fields:u,errors:p});return{...R(u??[]),geometryType:c,swapXY:d}}(e,s,a,n);return{url:e.operations.GetCapabilities.url,name:s.name,namespaceUri:s.namespaceUri,fields:c,geometryField:m,geometryType:d,objectIdField:y,spatialReference:n.spatialReference??new u.A({wkid:s.defaultSpatialReference}),extent:o,swapXY:f,wfsCapabilities:e,customParameters:n.customParameters}}function R(e){const t=e.find(e=>"geometry"===e.type);let r=e.find(e=>"oid"===e.type);return e=e.filter(e=>"geometry"!==e.type),r||(r=new m.A({name:v,type:"oid",alias:v}),e.unshift(r)),{geometryField:t?.name??null,objectIdField:r.name,fields:e}}async function P(e,t,r,i={}){let s,o=!1;const[a,l]=await Promise.all([E(e.operations.GetFeature.url,t,r,e.operations.GetFeature.outputFormat,{...i,count:1}),(0,n.A)(e.operations.GetFeature.url,{responseType:"text",query:j(t,r,void 0,{...i,count:1}),signal:i?.signal})]),u="FeatureCollection"===a.type&&a.features[0]?.geometry;if(u){let e;switch(s=c.gy.fromJSON((0,d.xD)(u.type)),u.type){case"Point":e=u.coordinates;break;case"LineString":case"MultiPoint":e=u.coordinates[0];break;case"MultiLineString":case"Polygon":e=u.coordinates[0][0];break;case"MultiPolygon":e=u.coordinates[0][0][0]}const t=/<[^>]*pos[^>]*> *(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)/.exec(l.data);if(t){const r=e[0].toFixed(3),n=e[1].toFixed(3),i=parseFloat(t[1]).toFixed(3);r===parseFloat(t[2]).toFixed(3)&&n===i&&(o=!0)}}return{geometryType:s,swapXY:o}}async function O(e,t,r){return function(e,t){const{name:r}=k(e),n=Z(t);U(n);const o=(0,s.I6)((0,f.i)(n.firstElementChild,{element:e=>e}),e=>e.getAttribute("name")===r);if(null!=o){const e=o.getAttribute("type"),t=e?(0,s.I6)((0,f.i)(n.firstElementChild,{complexType:e=>e}),t=>t.getAttribute("name")===k(e).name):(0,s.I6)((0,f.i)(o,{complexType:e=>e}),()=>!0);if(t)return function(e){const t=[],r=[];let n;const s=(0,f.i)(e,{complexContent:{extension:{sequence:{element:e=>e}}}});for(const o of s){const s=o.getAttribute("name");if(!s)continue;let a,l;if(o.hasAttribute("type")?a=k(o.getAttribute("type")).name:(0,f.p)(o,{simpleType:{restriction:e=>(a=k(e.getAttribute("base")).name,{maxLength:e=>{l=+e.getAttribute("value")}})}}),!a)continue;const u="true"===o.getAttribute("nillable");let p=!1;switch(a.toLowerCase()){case"integer":case"nonpositiveinteger":case"negativeinteger":case"long":case"int":case"short":case"byte":case"nonnegativeinteger":case"unsignedlong":case"unsignedint":case"unsignedshort":case"unsignedbyte":case"positiveinteger":r.push(new m.A({name:s,alias:s,type:"integer",nullable:u,length:(0,h._b)("integer")}));break;case"float":case"double":case"decimal":r.push(new m.A({name:s,alias:s,type:"double",nullable:u,length:(0,h._b)("double")}));break;case"boolean":case"string":case"gyearmonth":case"gyear":case"gmonthday":case"gday":case"gmonth":case"anyuri":case"qname":case"notation":case"normalizedstring":case"token":case"language":case"idrefs":case"entities":case"nmtoken":case"nmtokens":case"name":case"ncname":case"id":case"idref":case"entity":case"duration":case"time":r.push(new m.A({name:s,alias:s,type:"string",nullable:u,length:l??(0,h._b)("string")}));break;case"datetime":case"date":r.push(new m.A({name:s,alias:s,type:"date",nullable:u,length:l??(0,h._b)("date")}));break;case"pointpropertytype":n="point",p=!0;break;case"multipointpropertytype":n="multipoint",p=!0;break;case"curvepropertytype":case"multicurvepropertytype":case"multilinestringpropertytype":n="polyline",p=!0;break;case"surfacepropertytype":case"multisurfacepropertytype":case"multipolygonpropertytype":n="polygon",p=!0;break;case"geometrypropertytype":case"multigeometrypropertytype":p=!0,t.push(new i.A(x,`geometry type '${a}' is not supported`,{type:(new XMLSerializer).serializeToString(e)}));break;default:t.push(new i.A("wfs-layer:unknown-field-type",`Unknown field type '${a}'`,{type:(new XMLSerializer).serializeToString(e)}))}p&&r.push(new m.A({name:s,alias:s,type:"geometry",nullable:u}))}for(const e of r)if("integer"===e.type&&!e.nullable&&_.has(e.name.toLowerCase())){e.type="oid";break}return{geometryType:n,fields:r,errors:t}}(t)}throw new i.A(b,`Type '${e}' not found in document`,{document:(new XMLSerializer).serializeToString(n)})}(t,(await(0,n.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"DescribeFeatureType",VERSION:w,TYPENAME:t,TYPENAMES:t,...r?.customParameters},signal:r?.signal})).data)}const _=new Set(["objectid","fid"]);async function E(e,t,r,s,o){let{data:a}=await(0,n.A)(e,{responseType:"text",query:j(t,r,s,o),signal:o?.signal});a=a.replaceAll(/": +(-?\d+),(\d+)(,)?/g,'": $1.$2$3');try{return JSON.parse(a)}catch(e){throw new i.A("wfs-layer:malformed-json","Error while parsing the response",{response:a,error:e})}}function j(e,t,r,n){const i="number"==typeof t?t:t.wkid;return{SERVICE:"WFS",REQUEST:"GetFeature",VERSION:w,TYPENAMES:e,OUTPUTFORMAT:r,SRSNAME:"EPSG:"+i,STARTINDEX:n?.startIndex,COUNT:n?.count,...n?.customParameters}}async function N(e,t,r){const i=await(0,n.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"GetFeature",VERSION:w,TYPENAMES:t,RESULTTYPE:"hits",...r?.customParameters},signal:r?.signal}),s=/numberMatched=["'](?<numberMatched>\d+)["']/gi.exec(i.data);if(s?.groups)return+s.groups.numberMatched}function Z(e){return(new DOMParser).parseFromString(e.trim(),"text/xml")}function k(e){const[t,r]=e.split(":");return{prefix:r?t:"",name:r??t}}function U(e){let t="",r="";if((0,f.p)(e.firstElementChild,{Exception:e=>(t=e.getAttribute("exceptionCode"),{ExceptionText:e=>{r=e.textContent}})}),t)throw new i.A(`wfs-layer:${t}`,r)}function D(e,t,r){const n={wkid:t.defaultSpatialReference},i=null!=r?.wkid?{wkid:r.wkid}:n;return{spatialReference:i,getFeatureSpatialReference:(0,y.Fi)(e)||i.wkid&&t.supportedSpatialReferences.includes(i.wkid)?{wkid:i.wkid}:{wkid:t.defaultSpatialReference}}}},37539(e,t,r){r.d(t,{pO:()=>m,jd:()=>d,Tp:()=>f,w5:()=>c});var n=r(34727),i=r(86211),s=r(73941),o=r(79258);Math.PI;const a=o.$O.radius,l=o.$O.eccentricitySquared,u={a1:a*l,a2:a*l*a*l,a3:a*l*l/2,a4:a*l*a*l*2.5,a5:a*l+a*l*l/2,a6:1-l};o.$O.radius,o.$O.flattening,o.Sw.radius,o.Sw.flattening,o.sH.radius,o.sH.flattening,o.sH.radius;var p=r(21325);const c={2:{5:m,7:null,9:null,10:m,1:C,6:null,8:null,0:null,3:g,11:w,2:m,4:F},5:{5:m,7:null,9:null,10:m,1:C,6:null,8:null,0:null,3:g,11:w,2:m,4:F},7:{5:null,7:m,9:null,10:m,1:null,6:T,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,t,r,n){const i=e[t]/j,s=E-2*Math.atan(Math.exp(-e[t+1]/j)),o=j+(e[t+2]??0),a=Math.cos(s)*o;r[n]=Math.cos(i)*a,r[n+1]=Math.sin(i)*a,r[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:m,11:function(e,t,r,n){h(e,t,r,n),w(r,n,r,n)},2:h,4:function(e,t,r,n){h(e,t,r,n),F(r,n,r,n)}},4:{5:R,7:null,9:null,10:R,1:function(e,t,r,n){R(e,t,r,n),C(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){R(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){R(e,t,r,n),w(r,n,r,n)},2:R,4:m},1:{5:A,7:null,9:null,10:A,1:m,6:null,8:null,0:null,3:function(e,t,r,n){A(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){A(e,t,r,n),w(r,n,r,n)},2:A,4:function(e,t,r,n){A(e,t,r,n),F(r,n,r,n)}},6:{5:null,7:I,9:null,10:I,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:S,10:S,1:null,6:null,8:m,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:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:C,6:T,8:x,0:null,3:g,11:w,2:m,4:F},11:{5:v,7:null,9:null,10:v,1:function(e,t,r,n){v(e,t,r,n),C(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){v(e,t,r,n),g(r,n,r,n)},11:m,2:v,4:function(e,t,r,n){v(e,t,r,n),F(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(P.source.spatialReference===e&&P.dest.spatialReference===t)return P;const r=y(e,P.source),n=y(t,P.dest);return 0===r&&0===n?(0,p.aI)(e,t)?P.projector=m:P.projector=null:P.projector=c[r][n],P}function y(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,p.oT)(e)?t.spatialReferenceId=2:(0,p.K8)(e)?t.spatialReferenceId=3:(0,p.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,p.q8)(e)?t.spatialReferenceId=7:(0,p.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function h(e,t,r,n){r[n]=_*(e[t]/j),r[n+1]=_*(E-2*Math.atan(Math.exp(-e[t+1]/j))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,s){const o=.4999999*Math.PI,a=(0,n.qE)(O*e[t+1],-o,o),l=Math.sin(a);r[i++]=O*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[i]=e[t+2]??0}(e,t,r,i,o.$O)}function w(e,t,r,n){r[n]=e[t]*N,r[n+1]=e[t+1]*N,r[n+2]=e[t+2]??0}function v(e,t,r,n){r[n]=e[t]*Z,r[n+1]=e[t+1]*Z,r[n+2]=e[t+2]??0}function b(e,t,r,n,i){const s=i+(e[t+2]??0),o=O*e[t],a=O*e[t+1],l=Math.cos(a)*s;r[n]=Math.cos(o)*l,r[n+1]=Math.sin(o)*l,r[n+2]=Math.sin(a)*s}function x(e,t,r,n){b(e,t,r,n,o.Sw.radius)}function T(e,t,r,n){b(e,t,r,n,o.sH.radius)}function C(e,t,r,n){b(e,t,r,n,o.$O.radius)}function M(e,t,r,i,s){const o=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+a*a+l*l),p=(0,n.YN)(l/(0===u?1:u)),c=Math.atan2(a,o);r[i++]=_*c,r[i++]=_*p,r[i]=u-s}function S(e,t,r,n){M(e,t,r,n,o.Sw.radius)}function I(e,t,r,n){M(e,t,r,n,o.sH.radius)}function A(e,t,r,n){M(e,t,r,n,o.$O.radius)}function F(e,t,r,n){!function(e,t,r,n,i){const s=O*e[t],o=O*e[t+1],a=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),p=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);r[n++]=(p+a)*u*Math.cos(s),r[n++]=(p+a)*u*Math.sin(s),r[n++]=(p*(1-i.eccentricitySquared)+a)*l}(e,t,r,n,o.$O)}function R(e,t,r,n){const i=u,s=e[t],a=e[t+1],l=e[t+2]??0;let p,c,d,f,y,m,h,g,w,v,b,x,T,C,M,S,I,A,F,R,P;p=Math.abs(l),c=s*s+a*a,d=Math.sqrt(c),f=c+l*l,y=Math.sqrt(f),R=Math.atan2(a,s),m=l*l/f,h=c/f,C=i.a2/y,M=i.a3-i.a4/y,h>.3?(g=p/y*(1+h*(i.a1+C+m*M)/y),F=Math.asin(g),v=g*g,w=Math.sqrt(1-v)):(w=d/y*(1-m*(i.a5-C-h*M)/y),F=Math.acos(w),v=1-w*w,g=Math.sqrt(v)),b=1-o.$O.eccentricitySquared*v,x=o.$O.radius/Math.sqrt(b),T=i.a6*x,C=d-x*w,M=p-T*g,I=w*C+g*M,S=w*M-g*C,A=S/(T/b+I),F+=A,P=I+S*A/2,l<0&&(F=-F),r[n++]=_*R,r[n++]=_*F,r[n]=P}const P={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},O=(0,n.kU)(1),_=(0,n.KJ)(1),E=.5*Math.PI,j=o.$O.radius,N=j*Math.PI/180,Z=180/(j*Math.PI)},37745(e,t,r){r.d(t,{A:()=>d});var n,i=r(31635),s=r(52106),o=r(4718),a=r(91429);let l=class extends s.A{static{n=this}constructor(e){super(e),this.stackedAttributes=null}cloneShallow(){return new n(Object.assign({stackedAttributes:this.stackedAttributes},super.cloneShallow()))}toJSON(){return{...super.toJSON(),stackedAttributes:(0,o.o8)(this.stackedAttributes)}}};(0,i.Cg)([(0,a.MZ)()],l.prototype,"stackedAttributes",void 0),l=n=(0,i.Cg)([(0,a.$K)("esri.AttributeBinsGraphic")],l);var u=r(69540),p=r(22671),c=r(36005);let d=class extends((0,u.OU)(p.A)){constructor(e){super(e),this.features=[]}readFeatures(e,t){return this.readFeaturesWithClass(e,t,l)}};(0,i.Cg)([(0,a.MZ)({type:[l],json:{write:!0}})],d.prototype,"features",void 0),(0,i.Cg)([(0,c.w)("features")],d.prototype,"readFeatures",null),d=(0,i.Cg)([(0,a.$K)("esri.rest.support.AttributeBinsFeatureSet")],d)},41366(e,t,r){r.d(t,{K:()=>c,Q:()=>l});var n=r(31635),i=r(66552),s=r(53966),o=r(91429),a=r(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",p="field",c=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&&p||r&&u||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==p&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>s});var n=r(34727),i=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],p(r)),t[1]=Math.min(t[1],c(n));return t}(e);if(s&&((0,n.gg)(t,s[0])||(0,n.ZH)(r,s[1])))return"";const o=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=p(e.at(0)?.minScale),s=c(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(p(i.minScale),c(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(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)l(n.minScale,n.maxScale,t,r)&&(yield n)}}function l(e,t,r,i){return e=p(e),r=p(r),t=c(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 p(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},46140(e,t,r){r.d(t,{A:()=>i});var n=r(49186);let i=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[i,s]=t.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!o.test(s))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(i,10),l=parseInt(s,10);return new e(a,l,r)}}},52106(e,t,r){r.d(t,{A:()=>x});var n,i=r(31635),s=r(37838),o=r(69540),a=r(51447),l=r(25482),u=r(53966),p=r(36708),c=r(24326),d=r(91429),f=r(12195),y=r(65864),m=r(50498),h=r(55156),g=r(60950),w=r(54339),v=r(33910);function b(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 x=class extends((0,o.OU)(l.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,c.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.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,g.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,h.I)(this.origin);if(e)return(0,w.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,w.r)(this,t):null}getGlobalId(){const e=(0,h.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:b(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,p.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,p.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,y.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],x.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:m.yR,json:{read:y.rS}})],x.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:s.A,value:null})],x.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:v.Es})],x.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=n=(0,i.Cg)([(0,d.$K)("esri.Graphic")],x)},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}},55674(e,t,r){r.d(t,{Ad:()=>f,Gj:()=>h,QY:()=>d,lL:()=>g,xR:()=>y});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),u=r(43668),p=r(98623);const c=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return m.create(e,t,null,["$feature","$view"])}function y(e,t,r){return m.create(e,t,r,["$feature","$view","$config"])}class m{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,u.l)();let a;try{a=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=s.scriptUsesGeometryEngine(a);l&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,a,null,!1,l);const p={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(a,p);let d=null;null!=r&&(d=new o(r),d.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new m(e,s,a,c,t,f,d,o)}constructor(e,t,r,n,i,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new h,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class h{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===p.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??p.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},63396(e,t,r){r.d(t,{d:()=>T});var n=r(31635),i=r(91429),s=r(60950),o=r(99959);class a extends o.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[s.ym](){return this.trackInfoProvider.trackInfo}}var l=r(37838),u=r(69540),p=r(25482),c=r(93637),d=r(50820),f=r(10873),y=r(46499),m=r(41214);let h=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,n.Cg)([(0,i.MZ)({type:[y.A],json:{write:!0}})],h.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,i.MZ)(f.kF)],h.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,i.MZ)({types:m.Hg,json:{write:!0}})],h.prototype,"renderer",void 0),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"visible",void 0),h=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackPartInfo")],h);var g=r(96576),w=r(59868),v=r(10184),b=r(43937);let x=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new h({renderer:new g.A({symbol:w.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new h({renderer:new g.A({symbol:w.UK.clone()})}),this.trackLines=new h({renderer:new g.A({symbol:w.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const n=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,c.sM)(r,n,t)}};(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],x.prototype,"enabled",void 0),(0,n.Cg)([(0,i.MZ)({type:[d.A],json:{write:!0}})],x.prototype,"fields",void 0),(0,n.Cg)([(0,b.K)("fields")],x.prototype,"writeFields",null),(0,n.Cg)([(0,i.MZ)({type:h,json:{write:!0}})],x.prototype,"latestObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:v.A,json:{write:!0}})],x.prototype,"maxDisplayDuration",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],x.prototype,"maxDisplayObservationsPerTrack",void 0),(0,n.Cg)([(0,i.MZ)(f.M6)],x.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,i.MZ)({type:l.A,json:{name:"popupInfo",write:!0}})],x.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,i.MZ)({type:h,json:{write:!0}})],x.prototype,"previousObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:h,json:{write:!0}})],x.prototype,"trackLines",void 0),(0,n.Cg)([(0,i.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],x.prototype,"timeField",void 0),x=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackInfo")],x);const T=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new a(this),this.trackInfo=null}};return(0,n.Cg)([(0,i.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,n.Cg)([(0,i.MZ)({type:x})],r.prototype,"trackInfo",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TrackableLayer")],r),r}},64714(e,t,r){r.d(t,{F0:()=>a,Vx:()=>p,e2:()=>d,f:()=>f});var n=r(44208),i=r(4718),s=r(99352),o=r(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function p(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${c(t)} = null;`;for(const t in e)r+=`this${c(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>({[t]:null,...e})}}function c(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:s.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},67482(e,t,r){function n(e){return null!=a(e)||null!=o(e)}function i(e){return l.test(e)}function s(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let r=!0;if(p&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,n=0;for(;!t&&n<=e.length;)t=!u.test(e[n]),n++;r=!t}}return r}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const r=t.groups,n=+r.year,i=+r.month-1,s=+r.day,o=+(r.hours??"0"),a=+(r.minutes??"0"),u=+(r.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const p=r.ms??"0",c=p?+p.padEnd(3,"0").slice(0,3):0;let d;if(r.isUTC||!r.offsetSign)d=Date.UTC(n,i,s,o,a,u,c);else{const e=+r.offsetHours,t=+r.offsetMinutes;d=6e4*("+"===r.offsetSign?-1:1)*(60*e+t)+Date.UTC(n,i,s,o,a,u,c)}return Number.isNaN(d)?null:d}r.d(t,{Br:()=>i,Cq:()=>n,_U:()=>s});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,p=!Number.isNaN(new Date("technology 10").getTime())},69208(e,t,r){r.d(t,{d:()=>s});var n=r(31635),i=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,n.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},70328(e,t,r){r.d(t,{BI:()=>v,DC:()=>c,Ej:()=>f,Ie:()=>g,Jt:()=>w,Ne:()=>y,RF:()=>p,aI:()=>x,fA:()=>o,gE:()=>l,hZ:()=>h,iT:()=>d,is:()=>b,qv:()=>T,vI:()=>m,vY:()=>a,v_:()=>C,vt:()=>s,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function s(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,n,i,o,a=s()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=o,a}function a(e,t=s()){return function(e,t,r,n=s()){return h(n,T),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[r,n,s,o,a,l]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=l,t[6]=r,t[7]=a,t[8]=s,t[9]=r,t[10]=a,t[11]=l,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,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 p(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 c(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 y(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 m(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 h(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 g(e){return e?h(e,T):s(T)}function w(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 v(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 b(e){return 6===e.length}function x(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(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 T=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];s()},73133(e,t,r){r.d(t,{j:()=>n});const n=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},73681(e,t,r){r.d(t,{n:()=>l});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),a=r(55674);class l{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,p=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const f=await(0,a.xR)(e.expression,null,c);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const y=!o||!o.greaterEqual(4,0);y&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const m=new u(r,y);return new l(y,p,f,m)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},82935(e,t,r){r.d(t,{B:()=>d,e:()=>f});var n=r(31635),i=r(91429),s=r(89317),o=r(30524),a=r(96184),l=r(73133),u=r(79677),p=r(10184),c=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},f=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=l.j.fromJSON(r.timeOffsetUnits);return n&&i?new p.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:p.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,c.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:a.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},83027(e,t,r){r.d(t,{h:()=>n});const n=r(29953).ho},83960(e,t,r){r.d(t,{X_:()=>s,oW:()=>a,zx:()=>o});var n=r(34727),i=r(86211);function s(e,t){const r=t||e.extent,n=e.width,s=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*s*i.dy*96:0}function o(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function a(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},85113(e,t,r){r.d(t,{BM:()=>S,bd:()=>I,sO:()=>M,xD:()=>c});var n=r(67482),i=r(49186),s=r(21325),o=r(90708),a=r(43334),l=r(92722),u=r(30524);const p={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function c(e){return p[e]}function*d(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const t of e.features)t&&(yield t)}}function*f(e){if(e)switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const t of e.coordinates)yield*t;break;case"MultiPolygon":for(const t of e.coordinates)for(const e of t)yield*e}}function y(e){for(const t of e)if(t.length>2)return!0;return!1}function m(e){let t=0;for(let r=0;r<e.length;r++){const n=e[r],i=e[(r+1)%e.length];t+=n[0]*i[1]-i[0]*n[1]}return t<=0}function h(e){const t=e[0],r=e[e.length-1];t[0]===r[0]&&t[1]===r[1]&&t[2]===r[2]||e.push(t)}function g(e,t){const{coordinates:r,type:n}=e,i=t.hasZ??!1,s=!0;switch(n){case"Point":return new l.A([],[...r],i,!1);case"LineString":return(0,o.Ap)({paths:[r],hasZ:s},i,!1);case"MultiLineString":return(0,o.Ap)({paths:r,hasZ:s},i,!1);case"MultiPoint":return(0,o.PR)({points:r,hasZ:s},i,!1);case"Polygon":case"MultiPolygon":{const e=new l.A([],[],i,!1);for(const t of"Polygon"===n?[r]:r){w(e,t[0],i);for(let r=1;r<t.length;r++)v(e,t[r],i)}return e}}}function w(e,t,r){h(t),function(e){return!m(e)}(t)?x(e,t,r):b(e,t,r)}function v(e,t,r){h(t),function(e){return m(e)}(t)?x(e,t,r):b(e,t,r)}function b(e,t,r){for(const n of t)T(e,n,r);e.lengths.push(t.length)}function x(e,t,r){for(let n=t.length-1;n>=0;n--)T(e,t[n],r);e.lengths.push(t.length)}function T(e,[t,r,n],i){e.coords.push(t,r),i&&e.coords.push(n||0)}function C(e){switch(typeof e){case"string":return(0,n.Br)(e)?"esriFieldTypeDate":"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function M(e,t=4326){if(!e)throw new i.A("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new i.A("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:r}=e;if(!r)return;const n="string"==typeof r?r:"name"===r.type?r.properties.name:"EPSG"===r.type?r.properties.code:null,o=(0,s.oT)({wkid:t})?new RegExp(".*(CRS84H?|4326)$","i"):new RegExp(`.*(${t})$`,"i");if(!n||!o.test(n))throw new i.A("geojson:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:r})}function S(e,t={}){const r=[],n=new Set,i=new Set;let s,o=!1,a=null,l=!1,{geometryType:p=null}=t;for(const t of d(e)){const{geometry:e,properties:d,id:m}=t;if((!e||(p||(p=c(e.type)),c(e.type)===p))&&(o||(o=y(f(e))),l||(l=null!=m,l&&(s=typeof m,d&&(a=Object.keys(d).filter(e=>d[e]===m)))),d&&a&&l&&null!=m&&(a.length>1?a=a.filter(e=>d[e]===m):1===a.length&&(a=d[a[0]]===m?a:[])),d))for(const e in d){if(n.has(e))continue;const t=C(d[e]);if("unknown"===t){i.add(e);continue}i.delete(e),n.add(e);const s=(0,u.rS)(e);s&&r.push({name:s,alias:e,type:t})}}const m=(0,u.rS)(1===a?.length&&a[0]||null)??void 0;if(m)for(const e of r)if(e.name===m&&(0,u.WA)(e)){e.type="esriFieldTypeOID";break}return{fields:r,geometryType:p,hasZ:o,objectIdFieldName:m,objectIdFieldType:s,unknownFields:Array.from(i)}}function I(e,t){return Array.from(function*(e,t={}){const{geometryType:r,objectIdField:n}=t;for(const i of e){const{geometry:e,properties:s,id:o}=i;if(e&&c(e.type)!==r)continue;const l=s||{};let u;n&&(u=l[n],null==o||u||(l[n]=u=o)),yield new a.Om(e&&g(e,t),l,null,u)}}(d(e),t))}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>q,initializeProjection:()=>J,isEqualBaseGCS:()=>z,isLoaded:()=>R,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>O,load:()=>E,project:()=>j,projectAsync:()=>L,projectExtent:()=>te,projectMany:()=>N,projectMultipoint:()=>H,projectOrLoad:()=>k,projectOrLoadMany:()=>U,projectPoint:()=>B,projectPolygon:()=>X,projectPolyline:()=>W,projectWithoutEngine:()=>V,requiresLoad:()=>_,test:()=>$,tryProject:()=>Z,unload:()=>G});var n=r(49186),i=r(74887),s=r(62788),o=r(95488),a=r(51850),l=r(21276),u=r(73941),p=r(5443),c=r(91075),d=r(48526),f=r(86738),y=r(39829),m=r(82799),h=r(16930),g=r(159),w=r(9762),v=r(37539);function b(e,t,r,n,i,s){return x[0]=e,x[1]=t,x[2]=r,(0,w.projectBuffer)(x,n,0,i,s,0)}const x=(0,a.vt)();var T=r(21325);let C=null,M=null,S=null,I=null,A={};const F=new o.I;function R(){return!!(M?.isLoaded()&&S?.isLoaded()&&I?.isLoaded())}function P(){return!!R()||((0,s.gc)(F),E(),!1)}function O(e,t){return!e||!t||q(e,t)||P()}function _(e,t){return!q(e,t)&&!R()}async function E(e){null==C&&(C=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(M=e,M.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(S=e,S.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(I=e,I.load()))])),await C,(0,i.Te)(e),F.notify()}function j(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),N(e,e[0].spatialReference,t,r)):((0,l.f)(e),N([e],e.spatialReference,t,r)[0])}function N(e,t,r,n){if(null==t||null==r)return e;if(q(t,r,n))return e.map(e=>V(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>V(e,t,h.A.WGS84)),h.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return N(e,t,h.A.WGS84).map(e=>V(e,h.A.WGS84,r));if(!R())throw new D;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:I.getTransformation(t,r,n.areaOfInterestExtent)||new g.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=I.getTransformation(t,r)||new g.A,A[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof c.A?M.executeMany(e,r,n):S.executeMany(e,r,n)}function Z(e,t,r){try{return j(e,t,r)}catch(e){return null}}function k(e,t){const r=U([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 U(e,t,r){if(!R())for(const r of e)if(null!=r&&!(0,T.aI)(r.spatialReference,t)&&(0,T.fn)(r.spatialReference)&&(0,T.fn)(t)&&!q(r.spatialReference,t))return(0,s.gc)(F),{pending:E(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,T.aI)(e.spatialReference,t)?e:(0,T.fn)(e.spatialReference)&&(0,T.fn)(t)?j(e,t,r):null)}}class D extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){C=null,M=null,S=null,I=null,A={}}const $={get loadPromise(){return C}};async function L(e,t,r){if((0,i.Te)(r),!e)return e;const n=U(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),L(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function q(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,T.aI)(e,t)||(0,T.fn)(e)&&(0,T.fn)(t)&&!!(0,v.jd)(e,t))}function z(e,t){if((0,T.aI)(e,t))return!0;if(!(0,T.fn)(e)||!(0,T.fn)(t))return!1;const r=(0,T.oT)(e)||(0,T.K8)(e)||(0,T.x1)(e),n=(0,T.oT)(t)||(0,T.K8)(t)||(0,T.x1)(t);return r&&n}async function J(e,t,r,n){if(R())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!q(t,r,i))return E(n)}else if(e&&t&&!q(e,t,r))return E(n);return(0,i.NO)(n)}function V(e,t,r){return e?"x"in e?Y(e,t,new f.A,r,0):"xmin"in e?re(e,t,new p.A,r,0):"rings"in e?ee(e,t,new y.A,r,0):"paths"in e?Q(e,t,new m.A,r,0):"points"in e?K(e,t,new d.A,r,0):null:null}function B(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const s=e.z;return ie[2]=void 0!==s?s:i,(0,w.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==s||(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 H(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=K(e,e.spatialReference,t,r,n)}function K(e,t,r,n,i){const{points:s,hasZ:o,hasM:a}=e,l=[],p=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,w.projectBuffer)(c,t,0,c,n,0,p))return null;const d=o||(0,u.xP)(n);for(let e=0;e<p;++e){const t=3*e,r=c[t],n=c[t+1];d&&a?l.push([r,n,c[t+2],s[e][3]]):d?l.push([r,n,c[t+2]]):a?l.push([r,n,s[e][2]]):l.push([r,n])}return r.points=l,r.spatialReference=n,r.hasZ=o,r.hasM=a,r}function W(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Q(e,e.spatialReference,t,r,n)}function Q(e,t,r,n,i){const{paths:s,hasZ:o,hasM:a}=e,l=[];if(!ne(s,o??!1,a??!1,t,l,n,i))return null;const p=o||(0,u.xP)(n);return r.paths=l,r.spatialReference=n,r.hasZ=p,r.hasM=a,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:s,hasZ:o,hasM:a}=e,l=[];if(!ne(s,o??!1,a??!1,t,l,n,i))return null;const p=o||(0,u.xP)(n);return r.rings=l,r.spatialReference=n,r.hasZ=p,r.hasM=a,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:s,ymin:o,xmax:a,ymax:l,hasZ:p,hasM:c}=e;if(!b(s,o,p?e.zmin:i,t,ie,n))return null;const d=p||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],d&&(r.zmin=ie[2]),b(a,l,p?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],d&&(r.zmax=ie[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,s,o=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:o);if(!(0,w.projectBuffer)(a,n,0,a,s,0))return!1;let l=0;i.length=0;const p=t||(0,u.xP)(s);for(const t of e){const e=new Array;for(const n of t)p&&r?e.push([a[l++],a[l++],a[l++],n[3]]):p?e.push([a[l++],a[l++],a[l++]]):r?(e.push([a[l++],a[l++],n[2]]),l++):(e.push([a[l++],a[l++]]),l++);i.push(e)}return!0}const ie=(0,a.vt)()},91880(e,t,r){r.d(t,{A:()=>u});var n,i=r(31635),s=r(66552),o=r(25482),a=r(91429);const l=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],u)},96184(e,t,r){r.d(t,{A:()=>f});var n=r(31635),i=r(69540),s=r(25482),o=r(91429),a=r(79677),l=r(10184),u=r(56400),p=r(36005),c=r(43937);function d(e,t){return l.A.fromJSON({value:e,unit:t})}let f=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?a.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],f.prototype,"cumulative",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"endField",void 0),(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,p.w)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,c.K)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,n.Cg)([(0,p.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,n.Cg)([(0,c.K)("interval")],f.prototype,"writeInterval",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"startField",void 0),(0,n.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],f.prototype,"timeZone",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],f.prototype,"useTime",void 0),(0,n.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],f.prototype,"stops",void 0),f=(0,n.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],f)},99157(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),s=r(69622),o=r(91429);let a=n=class extends s.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,o.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"wkid",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},99352(e,t,r){r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,3169,4161,6061,8125,8135,9698],{4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>a,xm:()=>i});var r=n(34275),o=n(9093);function s(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t){return[...t]}function c(t){const e=(0,o.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:r,fromValues:function(t,e,n,r,o,s,i,a,u,c,h,l,f,m,g,y){return[t,e,n,r,o,s,i,a,u,c,h,l,f,m,g,y]}},Symbol.toStringTag,{value:"Module"}))},24815(t,e,n){n.d(e,{execute:()=>r.e}),n(96027),n(78125);var r=n(83587)},69397(t,e,n){n.d(e,{$B:()=>o,Qf:()=>c,Qh:()=>a,RS:()=>s,Ul:()=>g,ez:()=>f,lM:()=>i,qK:()=>l});var r=n(34275);function o(t){return 32+t.length}const s=16;function i(t){if(!t)return 0;let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=u(t[n],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=u(t[r]);return n}(t);let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=u(t[n]));return e}function u(t,e=!0){switch(typeof t){case"object":return e?a(t):l;case"string":return o(t);case"number":return s;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+m:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const l=32,f=16,m=145,g=64},70328(t,e,n){n.d(e,{BI:()=>d,DC:()=>l,Ej:()=>m,Ie:()=>x,Jt:()=>M,Ne:()=>g,RF:()=>h,aI:()=>G,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>C,vI:()=>y,vY:()=>a,v_:()=>w,vt:()=>s,w1:()=>c});var r=n(5443),o=(n(19419),n(4197));function s(t=w){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,o,i,a=s()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=o,a[5]=i,a}function a(t,e=s()){return function(t,e,n,r=s()){return p(r,C),function(t,e,n=0,r=e.length/3){let o=t[0],s=t[1],i=t[2],a=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)o=Math.min(o,e[n+3*t]),s=Math.min(s,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=o,t[1]=s,t[2]=i,t[3]=a,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,o.jh)(24)){const[n,r,s,i,a,u]=t;return e[0]=n,e[1]=r,e[2]=s,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=s,e[9]=n,e[10]=a,e[11]=u,e[12]=i,e[13]=r,e[14]=s,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=a,e[20]=s,e[21]=i,e[22]=a,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{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 h(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 l(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 f(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 m(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 g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function y(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[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 x(t){return t?p(t,C):s(C)}function M(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 d(t,e,n,r,o){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=o,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function G(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];s()},76061(t,e,n){n.d(e,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class o extends r{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,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>y,fromMultipoint:()=>x,fromPoint:()=>M,fromPolygon:()=>d,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>G,fromSpatialReference:()=>C,getSpatialReference:()=>g,toExtent:()=>P,toGeometry:()=>w,toMultipoint:()=>V,toPoint:()=>I,toPolygon:()=>A,toPolyline:()=>R});var r=n(83661),o=(n(79187),n(55537)),s=n(95213),i=n(88885),a=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function y(t){switch(t.type){case"point":return M(t);case"multipoint":return x(t);case"polyline":return v(t);case"polygon":return d(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new s.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(m,e)}return t.getCacheValue(m)}function x(t){if(!t.getCacheValue(m)){const e=new i.M,n=new s.P,r=t.points,o=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,s=r.length;t<s;t++){const s=r[t];n.setXYCoords(s[0],s[1]),a&&n.setZ(s[2]??0),o&&n.setM(s[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const e=new s.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:o}=t,s=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:o});t.setCacheValue(m,s)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:o}=t,s=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:o});t.setCacheValue(m,s)}return t.getCacheValue(m)}function G(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:o}=t,s=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:o});t.setCacheValue(m,s)}return t.getCacheValue(m)}function C(t){return(0,f.fromSpatialReference)(t)}function w(t,e){if(t)switch(t.getGeometryType()){case o.G.enumPoint:return I(t,e);case o.G.enumEnvelope:return P(t,e);case o.G.enumMultiPoint:return V(t,e);case o.G.enumPolyline:return R(t,e);case o.G.enumPolygon:return A(t,e)}return null}function P(t,e){if(t.isEmpty())return null;const n=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function V(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),o=n.hasZ(),i=[],a=new s.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,a);const n=[a.getX(),a.getY()];o&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const c=new u.A({hasM:r,hasZ:o,points:i,spatialReference:e});return c.setCacheValue(m,t),c}function I(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),o=t.getDescription();return o.hasM()&&(n.m=t.getM()),o.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function R(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},83587(t,e,n){n.d(e,{c:()=>a,e:()=>s});var r=n(96027),o=n(78125);function s(t,e){const n=(0,o.getSpatialReference)(t),s=(0,o.fromExtent)(e).asEnvelope2D();return(0,o.toGeometry)((0,r.g7)((0,o.fromGeometry)(t),s,(0,o.fromSpatialReference)(n)),n)}const i=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:s,executeMany:function(t,e){const n=t.map(o.fromGeometry),s=(0,o.getSpatialReference)(t),i=(0,o.fromExtent)(e).asEnvelope2D();return(0,r.zo)(n,i,(0,o.fromSpatialReference)(s)).map(t=>(0,o.toGeometry)(t,s))},supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},92722(t,e,n){n.d(e,{A:()=>o});var r=n(69397);class o{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new o(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const s=n-t,i=r-e;return new o([5],[t,e,s,0,0,i,-s,0,0,-i])}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,r.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 n of this.lengths){if(n<3)continue;const{stride:r}=this;let o=this.coords[r*e],s=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-o)*(u+s),o=a,s=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let o=0;o<r;o++){const r=n*(e+o);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:o}=this;for(const t of n){for(let n=1;n<t;n++){const t=o*(r+n);e[t]+=e[t-o],e[t+1]+=e[t+1-o]}r+=t}return t}clone(t){if(this.isPoint)return new o([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,s=this.coords.slice(0,r*n);return t?(t.set(s),new o(e,t)):new o(e,Array.from(s),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new o(this.lengths,n,!1,!1)}}},96027(t,e,n){n.d(e,{fz:()=>a,g7:()=>s,zo:()=>i});var r=n(76061);const o=new(n(31139).O);function s(t,e,n){return o.execute(t,e,n,null)}function i(t,e,n){const s=o.executeMany(new r.S(t),e,n,null);return Array.from(s)}function a(){return o.supportsCurves()}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6728],{5760(t,e,i){i.d(e,{NM:()=>n,Tb:()=>h,_R:()=>l,h9:()=>s,rM:()=>a,x0:()=>p,y7:()=>y});var o=i(34727),r=i(56507);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],h={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,o.qE)(e,.1,4)},nonNullable:!0},a={type:["left","right","center"],nonNullable:!0},p={type:["baseline","top","middle","bottom"],nonNullable:!0},y=8},11831(t,e,i){i.d(e,{A:()=>a});var o,r=i(31635),s=i(25482),l=i(90629),n=i(91429),h=i(5760);let a=o=class extends s.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,l.cr)(t)}clone(){return new o({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,n.MZ)({type:h.h9,json:{default:"none",write:!0}})],a.prototype,"decoration",void 0),(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"family",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:(t,e,i)=>({enabled:!i||!i.textSymbol3D})}}})],a.prototype,"size",null),(0,r.Cg)([(0,n.wg)("size")],a.prototype,"castSize",null),(0,r.Cg)([(0,n.MZ)({type:h._R,json:{default:"normal",write:!0}})],a.prototype,"style",void 0),(0,r.Cg)([(0,n.MZ)({type:h.NM,json:{default:"normal",write:!0}})],a.prototype,"weight",void 0),a=o=(0,r.Cg)([(0,n.$K)("esri.symbols.Font")],a)},20378(t,e,i){i.d(e,{A:()=>y});var o=i(31635),r=i(68197),s=i(66552),l=i(25482),n=i(91429),h=i(36005);const a=new s.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let p=0,y=class extends l.o{constructor(t){super(t),this.id="sym"+p++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,o.Cg)([(0,n.MZ)({type:a.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:a.write,isRequired:!0}}})],y.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:r.A,json:{write:{allowNull:!0}}})],y.prototype,"color",void 0),(0,o.Cg)([(0,h.w)("color")],y.prototype,"readColor",null),y=(0,o.Cg)([(0,n.$K)("esri.symbols.Symbol")],y)},31593(t,e,i){i.d(e,{A:()=>C});var o=i(31635),r=i(66552),s=i(4718),l=i(90629),n=i(91429),h=i(20378),a=i(93223);let p=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,o.Cg)([(0,a.e)({esriSLS:"simple-line"},{readOnly:!0})],p.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],p.prototype,"width",null),p=(0,o.Cg)([(0,n.$K)("esri.symbols.LineSymbol")],p);var y,u=i(68197),c=i(25482),g=i(83213),d=i(43937),m=i(36005);let f=y=class extends c.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,i,o){e[i]="web-map"===o?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,i,o){"web-map"===o?.origin||(e[i]=t)}clone(){return new y({color:(0,s.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,o.Cg)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],f.prototype,"placement",void 0),(0,o.Cg)([(0,a.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],f.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:g.z})],f.prototype,"style",void 0),(0,o.Cg)([(0,d.K)("style")],f.prototype,"writeStyle",null),(0,o.Cg)([(0,n.MZ)({type:u.A,value:null,json:{write:{allowNull:!0}}})],f.prototype,"color",null),(0,o.Cg)([(0,m.w)("color")],f.prototype,"readColor",null),(0,o.Cg)([(0,d.K)("color")],f.prototype,"writeColor",null),f=y=(0,o.Cg)([(0,n.$K)("esri.symbols.LineSymbolMarker")],f);const b=f;var S;const w=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let C=S=class extends p{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,i,o,r,s){if(t&&"string"!=typeof t)return t;const n={};return null!=t&&(n.style=t),null!=e&&(n.color=e),null!=i&&(n.width=(0,l.cr)(i)),null!=o&&(n.cap=o),null!=r&&(n.join=r),null!=s&&(n.miterLimit=(0,l.cr)(s)),n}clone(){return new S({color:(0,s.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,o.Cg)([(0,a.e)({esriSLS:"simple-line"},{readOnly:!0})],C.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:w.apiValues,json:{read:w.read,write:w.write}})],C.prototype,"style",void 0),(0,o.Cg)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],C.prototype,"cap",void 0),(0,o.Cg)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],C.prototype,"join",void 0),(0,o.Cg)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":b}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],C.prototype,"marker",void 0),(0,o.Cg)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],C.prototype,"miterLimit",void 0),C=S=(0,o.Cg)([(0,n.$K)("esri.symbols.SimpleLineSymbol")],C)},50498(t,e,i){i.d(e,{Ye:()=>y,gy:()=>p,iI:()=>c,yR:()=>u});var o=i(66552),r=i(5443),s=i(91075),l=i(48526),n=i(86738),h=i(39829),a=i(82799);const p=(0,o.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),y=(0,o.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),u={base:s.A,key:"type",typeMap:{extent:r.A,multipoint:l.A,point:n.A,polyline:a.A,polygon:h.A}},c=new o.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},53930(t,e,i){i.d(e,{A:()=>d});var o,r=i(31635),s=i(68197),l=i(66552),n=i(4718),h=i(90629),a=i(91429),p=i(89420),y=i(31593),u=i(43937),c=i(93223);const g=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let d=o=class extends p.A{constructor(...t){super(...t),this.color=new s.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new y.A}normalizeCtorArgs(t,e,i,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),i&&(r.outline=i),o&&(r.color=o),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new o({angle:this.angle,color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,a.MZ)({type:s.A})],d.prototype,"color",void 0),(0,r.Cg)([(0,u.K)("color")],d.prototype,"writeColor",null),(0,r.Cg)([(0,c.e)({esriSMS:"simple-marker"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)()],d.prototype,"size",null),(0,r.Cg)([(0,a.MZ)({type:g.apiValues,json:{read:g.read,write:g.write}})],d.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"path",null),(0,r.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":y.A}},json:{default:null,write:!0}})],d.prototype,"outline",void 0),d=o=(0,r.Cg)([(0,a.$K)("esri.symbols.SimpleMarkerSymbol")],d)},65851(t,e,i){i.d(e,{A:()=>n});var o=i(31635),r=i(91429),s=i(31593),l=i(20378);let n=class extends l.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,o.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":s.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,o.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,o.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],n)},68197(t,e,i){i.d(e,{A:()=>a});var o=i(40876),r=i(4576),s=i(34727),l=i(56507);function n(t){return(0,s.qE)((0,l.Vr)(t),0,255)}function h(t,e){const i=t.toString(16).padStart(2,"0");return e?i.slice(0,1):i}class a{static blendColors(t,e,i,o=new a){return o.r=Math.round(t.r+(e.r-t.r)*i),o.g=Math.round(t.g+(e.g-t.g)*i),o.b=Math.round(t.b+(e.b-t.b)*i),o.a=t.a+(e.a-t.a)*i,o._sanitize()}static fromRgb(t,e){const i=(0,o.lT)(t);return i?a.fromArray(i,e):null}static fromHex(t,e=new a){const i=(0,o.oW)(t);return i?a.fromArray(i,e):null}static fromArray(t,e=new a){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const i=(0,o.Eq)(t);return i?a.fromArray(i,e):null}static fromJSON(t){return null!=t?new a([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)a.fromString(t,this);else if((0,r.yc)(t))a.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof a||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,i=t?.digits??6,o=3===i||4===i,r=4===i||8===i,s=`#${h(this.r,o)}${h(this.g,o)}${h(this.b,o)}${r?h(Math.round(255*this.a),o):""}`;return e?s.toUpperCase():s}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=n(this.r),i=n(this.g),o=n(this.b);return 0===t||1!==this.a?[e,i,o,n(255*this.a)]:[e,i,o]}clone(){return new a(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,o.c1)(this.r),this.g=(0,o.c1)(this.g),this.b=(0,o.c1)(this.b),this.a=(0,o.G1)(this.a),this}_set(t,e,i,o){this.r=t,this.g=e,this.b=i,this.a=o}}a.prototype.declaredClass="esri.Color"},68249(t,e,i){i.d(e,{A:()=>g});var o,r=i(31635),s=i(68197),l=i(4718),n=i(90629),h=i(91429),a=i(11831),p=i(20378),y=i(5760),u=i(93223),c=i(43937);let g=o=class extends p.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new a.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const o={};return t&&(o.text=t),e&&(o.font=e),i&&(o.color=i),o}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,i,o){o&&"string"!=typeof o?o.origin:e[i]=t}castLineWidth(t){return(0,n.cr)(t)}writeLineHeight(t,e,i,o){o&&"string"!=typeof o?o.origin:e[i]=t}clone(){return new o({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:s.A,json:{write:!0}})],g.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:s.A,json:{write:!0}})],g.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:n.cr})],g.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:a.A,json:{write:!0}})],g.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...y.rM,json:{write:!0}})],g.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:s.A,json:{write:!0}})],g.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:n.cr,json:{write:!0}})],g.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],g.prototype,"text",void 0),(0,r.Cg)([(0,u.e)({esriTS:"text"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...y.x0,json:{write:!0}})],g.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:n.cr,json:{write:!0}})],g.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:n.cr,json:{write:!0}})],g.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],g.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],g.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],g.prototype,"lineWidth",null),(0,r.Cg)([(0,c.K)("lineWidth")],g.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],g.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(y.Tb)],g.prototype,"lineHeight",void 0),(0,r.Cg)([(0,c.K)("lineHeight")],g.prototype,"writeLineHeight",null),g=o=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],g)},69540(t,e,i){i.d(e,{OU:()=>p,Pw:()=>y});var o=i(31635),r=i(69622),s=(i(44208),i(4718)),l=(i(53966),i(97768)),n=i(88620),h=i(64108);const a=Symbol("ClonableMixin"),p=t=>{var e;const i=t;let r=class extends i{constructor(){super(...arguments),this[e]=!0}static{e=a}clone(t){const e=(0,n.oY)(this);(0,l.Lw)(e,"unable to clone instance of non-accessor class");const i=e.metadata,o=e.store,r={},h=new Map;for(const e in i){const l=i[e],n=o?.originOf(e),a=l.clonable;if(l.readOnly||!1===a||7!==n&&0!==n&&5!==n&&4!==n)continue;const p=this[e];let y=null;if("function"==typeof a)y=a(p,t);else if("reference"===a)y=p;else if(y=(0,s.TU)(p,t),null!=p&&null==y)continue;0===n?h.set(e,y):r[e]=y}const a=new(0,Object.getPrototypeOf(this).constructor)(r);if(h.size){const t=(0,n.oY)(a)?.store;if(t)for(const[e,i]of h)t.set(e,i,0)}return a}};return r=(0,o.Cg)([(0,h.$)("esri.core.Clonable")],r),r},y=p(r.A)},83213(t,e,i){i.d(e,{x:()=>o,z:()=>r});const o=["begin","end","begin-end"],r=["arrow","circle","square","diamond","cross","x"]},89420(t,e,i){i.d(e,{A:()=>h});var o=i(31635),r=i(90629),s=i(91429),l=i(56507),n=i(20378);let h=class extends n.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,o.Cg)([(0,s.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,o.Cg)([(0,s.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,o.Cg)([(0,s.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,o.Cg)([(0,s.MZ)({cast:t=>"auto"===t?t:(0,l.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,o.Cg)([(0,s.$K)("esri.symbols.MarkerSymbol")],h)},94985(t,e,i){i.d(e,{A:()=>c});var o,r=i(31635),s=i(68197),l=i(66552),n=i(4718),h=i(91429),a=i(65851),p=i(31593),y=i(93223);const u=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=o=class extends a.A{constructor(...t){super(...t),this.color=new s.A([0,0,0,.25]),this.outline=new p.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const o={};return t&&(o.style=t),e&&(o.outline=e),i&&(o.color=i),o}clone(){return new o({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:s.A})],c.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],c.prototype,"outline",void 0),(0,r.Cg)([(0,y.e)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"style",void 0),c=o=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],c)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3661],{55537(t,s,e){function i(t,s){try{if(!t)throw new Error(s)}catch(t){throw t}}e.d(s,{A:()=>I,B:()=>k,C:()=>L,D:()=>S,G:()=>m,a:()=>M,b:()=>w,c:()=>R,d:()=>z,e:()=>v,f:()=>d,g:()=>i,h:()=>x,i:()=>p,j:()=>N,k:()=>b,l:()=>_,m:()=>g,n:()=>E,o:()=>B,p:()=>D,q:()=>q,r:()=>T,s:()=>P,t:()=>A,u:()=>Z,v:()=>y,w:()=>C,x:()=>F,y:()=>G,z:()=>f});class n extends Error{constructor(t,s){super(s),this.m_AdditionalMessage=s,this.m_ErrorType=t,this.name="GeometryError"}what(){return function(t){switch(t){case 1:return"Unknown error";case 2:return"Corrupted geometry";case 3:return"Empty geometry";case 4:return"Math singularity";case 5:return"Buffer is too small";case 6:return"Invalid shape type";case 7:return"Projection out of supported range";case 8:return"Non simple geometry";case 9:return"Cannot calculate geodesic";case 10:return"Notation conversion";case 11:return"Missing grid file";case 12:return"Invalid call";case 13:return"Internal error";case 14:return"Not implemented";case 15:return"IO error";case 16:return"Invalid 3D";case 17:return"An ambiguous geography edge with antipodal points";case 18:return"Geocentric coordinates require ellipsoidal height";case 19:return"Geography cannot be projected into a gnomonic plane or a result of an operation cannot fit into a gnomonic plane";case 20:return"Geometry is too large to be exported in to a given format";case 22:return"Operation is canceled by the user";case 21:return"The operation, such as projection or geodetic computation, cannot be performed without pe-wasm loaded";default:return"unknown error"}}(this.m_ErrorType)}additionalMessage(){return this.m_AdditionalMessage?this.m_AdditionalMessage:""}code(){return this.m_ErrorType}}class r extends n{constructor(t){super(2,t),this.name="CorruptedGeometryError"}}class u extends n{constructor(t){super(3,t),this.name="EmptyGeometryError"}}class h extends n{constructor(t){super(4,t),this.name="MathSingularityError"}}class o extends n{constructor(t){super(21,t),this.name="ProjectionEngineNotLoadedError"}}class a extends n{constructor(t){super(8,t),this.name="NonSimpleGeometryError"}}var m,l;(l=m||(m={}))[l.enumUnknown=0]="enumUnknown",l[l.enumPoint=513]="enumPoint",l[l.enumLine=5122]="enumLine",l[l.enumBezier=5123]="enumBezier",l[l.enumEllipticArc=5124]="enumEllipticArc",l[l.enumEnvelope=3077]="enumEnvelope",l[l.enumMultiPoint=8710]="enumMultiPoint",l[l.enumPolyline=25607]="enumPolyline",l[l.enumPolygon=27656]="enumPolygon",l[l.enumMultipatch=40969]="enumMultipatch",l[l.enumGeometryCollection=3594]="enumGeometryCollection",l[l.enumRationalBezier2=5134]="enumRationalBezier2",l[l.enumBezier2=5135]="enumBezier2",l[l.enumRationalBezier23d=5392]="enumRationalBezier23d",l[l.enumGreatArc3d=5393]="enumGreatArc3d";const c=[0,0,1,1,1,2,0,1,2,3,-1,-1,-1,-1,1,1];function f(t){return c[15&t]}function v(t){return!!(512&t)}function _(t){return!!(1024&t)}function b(t){return!!(2048&t)}function d(t){return!!(4096&t)}function p(t){return!!(8192&t)}function x(t){return!!(16384&t)}function N(t){return!!(32768&t)}function y(t){const s=t.getGeometryType();return p(s)?t.getPointCount():t.isEmpty()?0:s===m.enumEnvelope?4:s===m.enumPoint?1:d(s)?2:void z("missing type")}function g(t){const s=t.getGeometryType();if(x(s))return t.hasNonLinearSegments();if(s===m.enumGeometryCollection){const s=t;for(let t=0,e=s.getGeometryCount();t<e;t++)if(g(s.getGeometry(t)))return!0;return!1}return!!d(s)&&s!==m.enumLine}function T(t){throw new o(t)}function E(t){throw new r(t)}function M(t){throw new Error(t)}function w(t){throw new h(t)}function I(){M("Geometry type is not supported for 3D operations.")}function D(t){throw new n(12,t)}function P(t){throw new u(t)}function A(t){throw new n(14,t)}function q(t){throw new Error(t)}function z(t){throw new n(13,t)}function C(t){throw new Error(t)}function Z(t){throw new a(t)}function B(t){t&&g(t)&&A("Operation does not support curves.")}function R(t){t&&N(t.getGeometryType())&&A("Unsupported geometry type.")}function k(t){t===m.enumGeometryCollection&&M("Geometry_collection instances are not supported in this operation")}function G(t){k(t.getGeometryType())}function S(t){M(`bad wkid: ${t}`)}function L(t){let s="bad wkt: ";s+=t,s+="...",M(s)}function F(t,s){t||M(s)}},83661(t,s,e){e.d(s,{$:()=>Ms,A:()=>xs,B:()=>Jt,C:()=>Ht,D:()=>l,E:()=>a,F:()=>p,G:()=>d,H:()=>Pt,I:()=>ys,J:()=>Ns,K:()=>n,L:()=>ft,M:()=>zs,N:()=>_s,O:()=>xt,P:()=>Ls,Q:()=>$t,R:()=>St,S:()=>Zt,T:()=>Is,U:()=>R,V:()=>ct,W:()=>Ct,X:()=>Z,Y:()=>B,Z:()=>pt,_:()=>A,a:()=>G,a0:()=>Es,a1:()=>Ps,a2:()=>D,a3:()=>P,a4:()=>q,a5:()=>z,a6:()=>x,a7:()=>Bs,a8:()=>Nt,a9:()=>ws,aA:()=>hs,aB:()=>Ss,aC:()=>Xt,aD:()=>Ts,aE:()=>M,aF:()=>ls,aG:()=>Qt,aH:()=>Gs,aI:()=>ks,aJ:()=>vs,aK:()=>ms,aa:()=>it,ab:()=>nt,ac:()=>wt,ad:()=>N,ae:()=>y,af:()=>et,ag:()=>Rt,ah:()=>Zs,ai:()=>Cs,aj:()=>lt,ak:()=>As,al:()=>yt,am:()=>V,an:()=>S,ao:()=>at,ap:()=>L,aq:()=>ps,ar:()=>ss,as:()=>_t,at:()=>os,au:()=>cs,av:()=>At,aw:()=>Dt,ax:()=>I,ay:()=>Tt,az:()=>as,b:()=>vt,c:()=>bt,d:()=>zt,e:()=>F,f:()=>w,g:()=>ds,h:()=>Et,i:()=>ts,j:()=>Wt,k:()=>qt,l:()=>Bt,m:()=>It,n:()=>st,o:()=>Gt,p:()=>kt,q:()=>C,r:()=>Kt,s:()=>gs,t:()=>O,u:()=>gt,v:()=>dt,w:()=>Mt,x:()=>k,y:()=>g,z:()=>E});var i=e(55537);class n{constructor(t){this.sum=t,this.compensation=0}assign(t){return this.compensation=t.compensation,this.sum=t.sum,this}reset(){this.sum=this.compensation=0}resetToStart(t){this.sum=t,this.compensation=0}normalize(){const t=[Number.NaN];this.sum=tt(this.sum,this.compensation,t),this.compensation=t[0]}add(t){const s=this.sum+t;let e;if(Math.abs(this.sum)>=Math.abs(t)){const i=this.sum-s+t;e=this.compensation+i}else{const i=t-s+this.sum;e=this.compensation+i}this.sum=s,this.compensation=e}sub(t){this.add(-t)}addProduct(t,s){const e=[0],i=J(t,s,e);this.add(i),this.add(e[0])}mul(t){const s=new n(0);s.addProduct(this.sum,t),s.addProduct(this.compensation,t),this.assign(s)}getResult(){return this.sum+this.compensation}pe(t){return this.add(t),this}me(t){return this.add(-t),this}}const r=[5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1],u=[-1,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3];function h(t){let s=0;return 65535n&t||(s+=16,t>>=16n),255n&t||(s+=8,t>>=8n),15n&t||(s+=4,t>>=4n),s+r[Number(BigInt.asUintN(4,t))]}function o(t){let s=0;return 4294967295n&t||(s=32,t>>=32n),s+h(BigInt.asUintN(32,t))}class a{constructor(t,s){if(this.m_EnvelopeType=1,void 0!==t){if(t instanceof a)return this.vmin=t.vmin,void(this.vmax=t.vmax);this.vmin=t,this.vmax=s,this.normalize()}else this.setEmpty()}static construct(t,s){return new a(t,s)}static constructEmpty(){return new a}setCoords(t,s){this.vmin=t,this.vmax=s,this.normalize()}setCoordsFromEnvelope(t){this.vmin=t.vmin,this.vmax=t.vmax}setEmpty(){this.vmin=Number.NaN,this.vmax=Number.NaN}getCenter(){return.5*(this.vmin+this.vmax)}equalsRange(t,s){return $t(this.vmin,t)&&$t(this.vmax,s)}equals(t,s){return!(!this.isEmpty()||!t.isEmpty())||(void 0!==s?Math.abs(this.vmin-t.vmin)<=s&&Math.abs(this.vmax-t.vmax)<=s:this.vmin===t.vmin&&this.vmax===t.vmax)}width(){return this.vmax-this.vmin}isEmpty(){return Number.isNaN(this.vmin)||Number.isNaN(this.vmax)}isZero(){return this.vmin===this.vmax}setInfinite(){this.vmin=Number.NEGATIVE_INFINITY,this.vmax=Number.POSITIVE_INFINITY}move(t){this.isEmpty()||(this.vmin+=t,this.vmax+=t)}contains(t){return t.vmin>=this.vmin&&t.vmax<=this.vmax}containsCoordinate(t){return t>=this.vmin&&t<=this.vmax}containsRightExclusive(t){return t>=this.vmin&&t<this.vmax}containsExclusiveCoordinate(t){return t>this.vmin&&t<this.vmax}containsExclusive(t){return t.vmin>this.vmin&&t.vmax<this.vmax}isIntersecting(t){return this.vmin<=t.vmin?this.vmax>=t.vmin:t.vmax>=this.vmin}mergeCoordinate(t){if(this.isEmpty())return this.vmin=t,void(this.vmax=t);this.mergeNeCoordinate(t)}merge(t){if(t.isEmpty())return;const s=t.vmin,e=t.vmax;this.mergeCoordinate(s),this.mergeCoordinate(e)}mergeNe(t){const s=t.vmin,e=t.vmax;this.mergeNeCoordinate(s),this.mergeNeCoordinate(e)}mergeNeCoordinate(t){t<this.vmin?this.vmin=t:t>this.vmax&&(this.vmax=t)}intersect(t){this.isEmpty()||t.isEmpty()?this.setEmpty():(this.vmin<t.vmin&&(this.vmin=t.vmin),this.vmax>t.vmax&&(this.vmax=t.vmax),this.vmin>this.vmax&&this.setEmpty())}inflate(t){this.isEmpty()||(this.vmin-=t,this.vmax+=t,this.vmax<this.vmin&&this.setEmpty())}normalize(){this.vmin<=this.vmax||(this.vmin>this.vmax?this.vmax=bt(this.vmin,this.vmin=this.vmax):this.setEmpty())}isValid(){return this.isEmpty()||this.vmin<=this.vmax}snapClip(t){return gs(t,this.vmin,this.vmax)}calculateToleranceFromEnvelope(){return this.isEmpty()?ds():(Math.abs(this.vmin)+Math.abs(this.vmax)+1)*ds()}static unit(){return m}normalizeNoNAN(){this.vmin>this.vmax&&(this.vmax=bt(this.vmin,this.vmin=this.vmax))}setCoordsNoNAN(t,s){this.vmin=t,this.vmax=s,this.normalizeNoNAN()}clone(){return new a(this.vmin,this.vmax)}}const m=new a(0,1);class l{static getNAN(){return new l(Number.NaN)}constructor(t,s){this.m_value=t??0,this.m_eps=s??0}[Symbol.toPrimitive](t){return this}clone(){return new l(this.m_value,this.m_eps)}assign(t){return this.m_value=t.m_value,this.m_eps=t.m_eps,this}scaleError(t){this.m_eps*=t}setError(t){this.m_eps=t}set(t,s){return this.m_value=t,this.m_eps=s??0,this}setWithEps(t,s){return void 0===s&&(s=1),this.m_value=t,this.m_eps=l.ulp(t)*s,this}setE(t){return this.m_value=t.m_value,this.m_eps=t.m_eps,this}precise(){return new l(this.m_value)}value(){return this.m_value}toDouble(){return this.m_value}eps(){return this.m_eps}resetError(){return this.m_eps=0,this}absThis(){return this.m_value=Math.abs(this.m_value),this}add(t){return this.clone().addThis(t)}addE(t){return this.clone().addThisE(t)}addThisE(t){const s=this.m_value+t.m_value,e=this.m_eps+t.m_eps+l.ulp(s);return this.m_value=s,this.m_eps=e,this}addThis(t){const s=this.m_value+t,e=this.m_eps+l.ulp(s);return this.m_value=s,this.m_eps=e,this}subE(t){return this.clone().subThisE(t)}sub(t){return this.clone().subThis(t)}subThisE(t){const s=this.m_value-t.m_value,e=this.m_eps+t.m_eps+l.ulp(s);return this.m_value=s,this.m_eps=e,this}subThis(t){const s=this.m_value-t,e=this.m_eps+l.ulp(s);return this.m_value=s,this.m_eps=e,this}setAddE(t,s){return this.m_value=t.m_value+s.m_value,this.m_eps=t.m_eps+s.m_eps+l.ulp(this.m_value),this}setAdd(t,s){return this.m_value=t+s,this.m_eps=l.ulp(this.m_value),this}setAddEN(t,s){return this.m_value=t.m_value+s,this.m_eps=t.m_eps+l.ulp(this.m_value),this}setAddNE(t,s){return this.m_value=t+s.m_value,this.m_eps=s.m_eps+l.ulp(this.m_value),this}setSubE(t,s){return this.m_value=t.m_value-s.m_value,this.m_eps=t.m_eps+s.m_eps+l.ulp(this.m_value),this}setSub(t,s){return this.m_value=t-s,this.m_eps=l.ulp(this.m_value),this}setSubEN(t,s){return this.m_value=t.m_value-s,this.m_eps=t.m_eps+l.ulp(this.m_value),this}setSubNE(t,s){return this.m_value=t-s.m_value,this.m_eps=s.m_eps+l.ulp(this.m_value),this}mulThisE(t){const s=this.m_value*t.m_value;return this.m_eps=this.m_eps*Math.abs(t.m_value)+t.m_eps*Math.abs(this.m_value)+this.m_eps*t.m_eps+l.ulp(s),this.m_value=s,this}mulThis(t){const s=this.m_value*t;return this.m_eps=this.m_eps*Math.abs(t)+l.ulp(s),this.m_value=s,this}mul(t){return this.clone().mulThis(t)}mulE(t){return this.clone().mulThisE(t)}setMulE(t,s){const e=t.m_value*s.m_value;return this.m_eps=t.m_eps*Math.abs(s.m_value)+s.m_eps*Math.abs(t.m_value)+t.m_eps*s.m_eps+l.ulp(e),this.m_value=e,this}setMul(t,s){return this.m_value=t*s,this.m_eps=l.ulp(this.m_value),this}setMulEN(t,s){return this.setE(t),this.mulThis(s)}setMulNE(t,s){return this.setE(s),this.mulThis(t)}mulThisByPower2(t){return this.m_value*=t,this.m_eps*=Math.abs(t),this}static st_mulByPower2(t,s){return new l(t.m_value,t.m_eps).mulThisByPower2(s)}divE(t){return this.clone().divThisE(t)}divThisE(t){const s=Math.abs(t.m_value),e=this.m_value/t.m_value;let i=(this.m_eps+Math.abs(e)*t.m_eps)/s;if(t.m_eps>.01*s){const e=t.m_eps/s;i*=1+(1+e)*e}return this.m_value=e,this.m_eps=i+l.ulp(e),this}divThis(t){const s=Math.abs(t);return this.m_value/=t,this.m_eps=this.m_eps/s+l.ulp(this.m_value),this}setDivE(t,s){return this.setE(t),this.divThisE(s)}setDiv(t,s){return this.m_value=t/s,this.m_eps=l.ulp(this.m_value),this}setDivEN(t,s){return this.setE(t),this.divThis(s)}setDivNE(t,s){return this.set(t),this.divThisE(s)}divThisByPower2(t){return this.m_value/=t,this.m_eps/=Math.abs(t),this}invThis(){return this.setE(p.clone().divThisE(this)),this}sqrt(){return this.clone().sqrtThis()}sqrtThis(){let t,s;return this.m_value>=0?(t=Math.sqrt(this.m_value),s=this.m_value>10*this.m_eps?.5*this.m_eps/t:this.m_value>this.m_eps?t-Math.sqrt(this.m_value-this.m_eps):Math.max(t,Math.sqrt(this.m_value+this.m_eps)-t),s+=l.ulp(t)):this.m_value<-this.m_eps?(t=Number.NaN,s=Number.NaN):(t=0,s=Math.sqrt(this.m_eps)),this.m_value=t,this.m_eps=s,this}sqr(){return this.clone().sqrThis()}sqrThis(){const t=this.m_value*this.m_value;return this.m_eps=2*this.m_eps*Math.abs(this.m_value)+this.m_eps*this.m_eps+l.ulp(t),this.m_value=t,this}setSin(t){const s=Math.sin(t.m_value),e=Math.cos(t.m_value);this.m_value=s;const i=Math.abs(s),n=Math.abs(t.value());return this.m_eps=(Math.abs(e)+.5*i*t.m_eps)*t.m_eps+l.ulp(i+n),this}static ulp(t){let s=Ut(t);const e=((0x7ff0000000000000n&s)>>52n)-1075n;return e>-1023n?(s=e+0x3ffn<<52n,function(t){return Ot[0]=t,Ft[0]}(s)):0===t?0:Number.MIN_VALUE}setCos(t){const s=Math.sin(t.m_value),e=Math.cos(t.m_value);this.m_value=e;const i=Math.abs(e),n=Math.abs(t.value());return this.m_eps=(Math.abs(s)+.5*i*t.m_eps)*t.m_eps+l.ulp(i+n),this}static st_cosAndSin(t,s,e){const i=Math.sin(t.m_value),n=Math.cos(t.m_value);e.m_value=i,s.m_value=n;const r=Math.abs(i),u=Math.abs(n),h=Math.abs(t.value());e.m_eps=(Math.abs(n)+.5*r*t.m_eps)*t.m_eps+l.ulp(r+h),s.m_eps=(Math.abs(i)+.5*u*t.m_eps)*t.m_eps+l.ulp(u+h)}negate(){return this.clone().negateThis()}negateThis(){return this.m_value=-this.m_value,this}setAbs(){return this.m_value=Math.abs(this.m_value),this}isInInterval(t){return a.construct(this.m_value-this.m_eps,this.m_value+this.m_eps).isIntersecting(t)}eq(t){return Math.abs(this.m_value-t.m_value)<=this.m_eps+t.m_eps}ne(t){return!this.eq(t)}gt(t){return this.m_value-t.m_value>this.m_eps+t.m_eps}lt(t){return t.m_value-this.m_value>this.m_eps+t.m_eps}ge(t){return!this.lt(t)}le(t){return!this.gt(t)}tolEQ(t,s){return Math.abs(this.m_value-t.m_value)<=s||this.eq(t)}tolNE(t,s){return!this.tolEQ(t,s)}tolGT(t,s){return this.m_value-t.m_value>s&&this.gt(t)}tolLT(t,s){return t.m_value-this.m_value>s&&this.lt(t)}tolGE(t,s){return!this.tolLT(t,s)}tolLE(t,s){return!this.tolGT(t,s)}isZero(){return Math.abs(this.m_value)<=this.m_eps}isFuzzyZero(){return this.isZero()&&0!==this.m_eps}tolIsZero(t){return Math.abs(this.m_value)<=Math.max(this.m_eps,t)}setPi(){this.setE(b)}setEuler(){this.set(2.718281828459045,_())}static size(){return 1}}function c(t,s){const e=Vt(t),i=Vt(s),n=53-o(e),r=53-o(i);return(n>=0?n:0)+(r>=0?r:0)<=52}function f(t,s){const e=t+s;return e-t===s&&e-s===t}function v(t,s){const e=t-s;return t-e===s&&s+e===t}function _(){return Ns()}l.dimensions=1;const b=new l(Math.PI,.5*_()),d=new l(0,0),p=new l(1,0),x=new l(4,0);function N(t,s,e){return t.addE(s.subE(t).mulE(e))}function y(t,s,e){return s.subE(s.subE(t).mulE(p.subE(e)))}function g(t){let s;if(0===t)s=1;else if(Math.abs(t)>.01)s=function(t){return Math.atanh(t)}(t)/t;else{let e;const i=-36.841361487904734;s=0;const n=t*t;for(let t=2*Math.trunc(i/Math.log(n)+2.5)-1;t>1;t-=2)e=1/t,s=(s+e)*n;s+=1}return s}function T(t){const s=Math.PI*Math.PI/6;let e;if(1===t)e=s;else if(t>1)e=s;else if(0===t)e=t;else if(t<0){const s=1+(t=Math.abs(t)),i=Math.log(s);e=i*i/-2-T(t/s)}else if(t>.5){const i=1-t,n=Math.log(t)*Math.log(i);e=s-T(i)-n}else{e=0;const s=1+Math.trunc(-16*Math.log(10)/Math.log(t)+1.5);let i=s;for(let n=s;n>0;n--,i-=1)e*=t,e+=1/(i*i);e*=t}return e}function E(t,s){const e=s*t;if(Math.abs(s)<.1){let s=0;for(let t=60;t>=1;t--)s*=e,s+=1/t/t;return s*=t,s}return T(e)/s}function M(t,s){return t<s?Bt(t,s):Bt(s,t)}function w(t,s){const e=Math.abs(t);return s>=0?e:-e}function I(t){return Math.round(t)}function D(t,s,e,i,n){n[0]=s[0]+(e[0]-s[0])*i,n[1]=s[1]+(e[1]-s[1])*i,3===t&&(n[2]=s[2]+(e[2]-s[2])*i)}function P(t,s,e,i,n){n[0]=e[0]-(e[0]-s[0])*(1-i),n[1]=e[1]-(e[1]-s[1])*(1-i),3===t&&(n[2]=e[2]-(e[2]-s[2])*(1-i))}function A(t,s,e,i,n){i<=.5?D(t,s,e,i,n):P(t,s,e,i,n)}function q(t,s,e,i,n){n[0]=s[0].addE(e[0].subE(s[0]).mulE(i)),n[1]=s[1].addE(e[1].subE(s[1]).mulE(i))}function z(t,s,e,i,n){n[0]=e[0].subE(e[0].subE(s[0]).mulE(p.subE(i))),n[1]=e[1].subE(e[1].subE(s[1]).mulE(p.subE(i)))}function C(t,s,e){let i;return i=e<=.5?t+(s-t)*e:s-(s-t)*(1-e),i}function Z(t,s,e){return t+(s-t)*e}function B(t,s,e){return s-(s-t)*(1-e)}function R(t,s,e,i){e<=.5?(i.x=t.x+(s.x-t.x)*e,i.y=t.y+(s.y-t.y)*e):(i.x=s.x-(s.x-t.x)*(1-e),i.y=s.y-(s.y-t.y)*(1-e))}function k(t,s,e,i){e<=.5?(i.x=t.x+(s.x-t.x)*e,i.y=t.y+(s.y-t.y)*e,i.z=t.z+(s.z-t.z)*e):(i.x=s.x-(s.x-t.x)*(1-e),i.y=s.y-(s.y-t.y)*(1-e),i.z=s.z-(s.z-t.z)*(1-e))}function G(t){return t*t}function S(t){return t*t*t}function L(t){return 1/Math.sqrt(t)}function F(t){return t<0?-1:t>0?1:0}function O(t,s,e,i){const n=[0],r=[0],u=[0];return tt(J(t,e,n),J(s,i,r),u)+(n[0]+r[0]+u[0])}const Q=[0],U=[0];function V(t,s,e){return function(t,s,e,i){const n=tt(t,s,W),r=tt(n,e,X);return tt(r,W[0]+X[0],i)}(J(t,s,Q),e,Q[0],U)}const j=[0],Y=[0],$=[0],H=[0];function J(t,s,e){const i=t*s;return K(t,j,Y),K(s,$,H),e[0]=Y[0]*H[0]-(i-j[0]*$[0]-Y[0]*$[0]-j[0]*H[0]),i}function K(t,s,e){const i=134217729*t;s[0]=i-(i-t),e[0]=t-s[0]}const W=[0],X=[0];function tt(t,s,e){const i=t+s;return Math.abs(t)>Math.abs(s)?e[0]=t-i+s:e[0]=s-i+t,i}function st(t,s){return t%s}function et(t){const s=1-t;if(0===s)return 1;let e;if(s<=.01){const t=s,i=Math.log(t);e=1+t*(.4431471805599453-.25*i+t*(.05680519270997949-.09375*i+t*(.02183137044373718-.05859375*i+t*(.011544521417308362-.042724609375*i+t*(.00714200031339596-.0336456298828125*i+t*(.004854743337164948-.027757644653320312*i+t*(.003514687963781376-.023627042770385742*i)))))))}else{if(t<.016){const s=t,e=.25,i=.046875,n=.01953125,r=.01068115234375,u=.0067291259765625,h=.004626274108886719,o=.0033752918243408203,a=.0025710230693221092;return Is()*(1-s*(e+s*(i+s*(n+s*(r+s*(u+s*(h+s*(o+s*a))))))))}e=rt(0,s,1)-t*ut(0,s,1)/3}return gs(e,1,Is())}function it(t,s,e=Number.NaN){if((0,i.g)(s>=0&&s<=1),0===s)return t;let n=1,r=t;if(r<0&&(r=-r,n=-1),1===s){const t=Math.round(r/Ms()),s=r-t*Ms();return n*(2*t+Math.sin(s))}const u=Is(),h=Math.floor(r/u);1&h?r=(h+1)*u-r:r-=h*u;const o=Math.sin(r),a=Number.isNaN(e)?et(s):e;let m;if(1===o)m=a+Math.sqrt(1-s)*(r-u);else{const t=r*r;if(.01424*Math.pow(t,4)<=2*Ns())m=r*(1+t*s*(-1/6+t*((4-3*s)/120-(16+(45*s-60)*s)/5040*t)));else if(s<=.01){const t=Math.sin(2*r),e=Math.sin(4*r),i=Math.sin(6*r),n=Math.sin(8*r),u=Math.sin(10*r);m=r+s*((2*-r+t)/8+s*((-3*r+2*t-.25*e)/64+s*((-20*r+15*t-3*e+i/3)/1024+s*(5*(-140*r+112*t-28*e+16/3*i-.5*n)/65536+7*s*((-63*r+52.5*t-15*e+3.75*i-.625*n+.05*u)/65536+s*(-693*r+594*t-185.625*e+1.375*i-12.375*n+1.8*u-.125*Math.sin(12*r))/1048576)))))}else{const t=o*o,e=Math.cos(r),i=e*e,n=ht(o,e,s);m=o*(rt(i,n,1)-s*t*ut(i,n,1)/3)}}return 1&h?m=a*(h+1)-m:m+=a*h,n*m}function nt(t,s,e=Number.NaN){if(0===t)return 0;let i=1,n=t;t<0&&(n=-n,i=-1);const r=Number.isNaN(e)?et(s):e,u=Math.floor(n/r);1&u?n=(u+1)*r-n:n-=u*r;let h=n<=0?0:n>=r?Is():function(t,s,e){if(0===s)return t;if(1===s)return Math.asin(t);let i=0,n=!0;if(t<.2){const e=t*t,r=t*(1+e*s*(1/6+e*((13*s-4)/120+(16-284*s+493*s*s)/5040*e))),u=Math.abs(s*(4944*s-64-31224*s*s+37369*s*s*s)/362880*Math.pow(t,9));if(u<Math.abs(r)*Ns())return r;i=r,n=u>.1*r}if(n){const n=1-s,r=1-t/e,u=Math.sqrt(r*r+n*n),h=Math.atan2(n,t+Ns());i=Is()+Math.sqrt(u)*(h-Is())}let r=0;for(let n=0;n<7;n++){r=it(i,s,e);const u=ht(Math.sin(i),Math.cos(i),s);if(i-=(r-t)/Math.sqrt(u),n>0&&Math.abs(r-t)<=4*Ns()*t)break}return i}(n,s,r);return 1&u?h=Is()*(u+1)-h:h+=Is()*u,i*h}function rt(t,s,e){(0,i.g)((0!==t?1:0)+(0!==s?1:0)+1>1);let n=t,r=s,u=e;for(;;){const t=Math.sqrt(n*r)+Math.sqrt(r*u)+Math.sqrt(u*n);n=.25*(n+t),r=.25*(r+t),u=.25*(u+t);const s=(n+r+u)/3,e=(s-n)/s,i=(s-r)/s,h=(s-u)/s;if(Math.abs(e)<=.0024&&Math.abs(i)<=.0024&&Math.abs(h)<=.0024){const t=e*i-h*h,n=e*i*h;return(1+(1/24*t-.1-3/44*n-5*t*t/208+t*n/16)*t+(1/14+3*n/104)*n)/Math.sqrt(s)}}}function ut(t,s,e){(0,i.g)(0!==t||0!==s);let r=t,u=s,h=e;const o=new n(0);let a=1;for(;;){const t=.2*(r+u+3*h),s=(t-r)/t,e=(t-u)/t,i=(t-h)/t;if(Math.abs(s)<=.0015&&Math.abs(e)<=.0015&&Math.abs(i)<=.0015){const n=s*e,r=i*i,u=n-r,h=n-6*r,m=h+u+u,l=9/22,c=3/26,f=h*(.25*l*h-.21428571428571427-1.5*c*i*m),v=i*(1/6*m+i*(-l*u+i*c*n));return 3*o.getResult()+a*(1+f+v)/(t*Math.sqrt(t))}const n=Math.sqrt(r),m=Math.sqrt(u),l=Math.sqrt(h),c=n*(m+l)+m*l;o.add(a/(l*(h+c))),a*=.25,r=.25*(r+c),u=.25*(u+c),h=.25*(h+c)}}function ht(t,s,e){return t<.999?1-e*G(t):1-e+e*G(s)}const ot=new class{constructor(t){for(this.values=[[1]];this.values.length<t+1;){const t=this.values.at(-1),s=zt(t.length+1,1);for(let e=1;e<t.length;++e)s[e]=t[e-1]+t[e];this.values.push(s)}}get(t,s){return this.values[t][s]}}(32);function at(t,s){if(t<ot.values.length)return ot.get(t,s);const e=Math.exp(((0,i.g)(0),0));return e+.01>2147483647&&(0,i.q)("The result value of n choose k is out of range"),e+.01}function mt(t,s){if(t.isZero())return t.clone();const e=t.clone().divThis(t);if(s<0)return e.divThis(mt(t,-s));for(t=t.clone(),s=Math.trunc(s);1&s&&e.mulThis(t),s>>=1;)t.mulThis(t);return e}function lt(t,s){if(0===s)return[];const e=t[0].clone().mulDoubleThis(0),i=[];i.length=s;const n=s-1;for(let s=0;s<=n;++s){i[s]=e.clone();for(let e=0;e<=s;++e)i[s].addThis(t[e].clone().mulDoubleThis(at(s,e)/at(n,e)))}return i}function ct(t,s,e,n,r){return 0===t?0===n?s:1===n?e:r:1===t?0===n?s:1===n?e:C(s,e,n):(2===t&&(0,i.t)("angular interpolation"),void(0,i.t)(""))}function ft(t,s,e,n,r,u,h,o){if(0===t)for(let t=0;t<u;++t)n[t+r]=0===h?s[t]:1===h?e[t]:o;else if(1===t)if(0===h)vt(n,s,r,0,u);else if(1===h)vt(n,e,r,0,u);else for(let t=0;t<u;++t)n[t+r]=C(s[t],e[t],h);else if(2===t)if(0===h)vt(n,s,r,0,u);else if(1===h)vt(n,e,r,0,u);else{let t=0;for(let i=0,o=r;i<u;++i,++o)n[o]=C(s[i],e[i],h),t+=n[o]*n[o];if(t>0){t=Math.sqrt(t);for(let s=r;s<r+u;++s)n[s]/=t}else{for(let t=r;t<r+u;++t)n[t]=0;n[r]=1}}else(0,i.t)("")}function vt(t,s,e,i,n){if(0===n)return;let r=0,u=e,h=i;for(;r++<n;)t[u++]=s[h++]}function _t(t,s,e){let i=0;for(let n=0;!i&&n<e;++n)i=t[n]-s[n];return i}function bt(t,s){return t}function dt(t){t.sort((t,s)=>t<s?-1:t>s?1:0)}function pt(t,s){const e=t.slice(0,s);dt(e),vt(t,e,0,0,s)}function xt(t,s,e,i){const n=t.slice(s,s+e);n.sort(i),vt(t,n,s,0,e)}function Nt(t,s){return t<s?-1:t>s?1:0}function yt(t,s,e,i){return t<e?-1:t>e?1:s<i?-1:s>i?1:0}function gt(t,s){if(t.length<2)return t.length;let e=0;for(let i=1;i<t.length;++i)s(t[i],t[e])||(e++,t[i]=bt(t[e],t[e]=t[i]));return 1+e}function Tt(t,s){t[s]=t.at(-1),t.pop()}function Et(t,s=!1){return{[Symbol.dispose](){this.bForget||t()},bForget:s}}function Mt(t,s,e){t.length=s,t.fill(e)}function wt(t,s,e){t.length=e;for(let i=0;i<e;++i)t[i]=new s}function It(t,s){const e=new Array(s);for(let i=0;i<s;++i)e[i]=new t;return e}function Dt(t,s,e){for(let i=0;i<e;++i)t[i].assign(s[i]);return e}function Pt(t,s){const e=t.slice(0,s);for(let t=0;t<s;++t)e[t]=e[t].clone();return e}function At(t){return Array.from({length:t},()=>null)}function qt(t,s){return Array.from({length:s},()=>t())}function zt(t,s){const e=new Array(t);return e.fill(s),e}function Ct(t,s){return s in t&&1===Object.getOwnPropertyNames(t).length}class Zt{constructor(...t){this.m_elts=t}get length(){return this.m_elts.length}at(t){return this.m_elts[t]}[Symbol.dispose](){for(const t of this.m_elts)t[Symbol.dispose]()}}function Bt(t,s){return{first:t,second:s}}const Rt=Math.PI,kt=2*Math.PI,Gt=.5*Math.PI;class St{constructor(t,s){this.m_cr=t,this.m_cc=s,this.m_v=zt(t*s,0)}get(t,s){return this.m_v[t*this.m_cc+s]}set(t,s,e){this.m_v[t*this.m_cc+s]=e}inc(t,s){return++this.m_v[t*this.m_cc+s]}}const Lt=new ArrayBuffer(8),Ft=new Float64Array(Lt),Ot=new BigUint64Array(Lt);function Qt(){return Number.EPSILON*bs}function Ut(t){return Ft[0]=t,Ot[0]}function Vt(t){return 4503599627370495n&Ut(t)}function jt(t){return Number((9218868437227405312n&Ut(t))>>52n)}function Yt(t){if(0n===t)return-1n;if(1n===t||-1n===t)return 0n;t<0n&&(t=-t);let s=0n,e=512n,i=1n<<s+e;for(;t>=i;)s+=e,e<<=1n,i<<=e;let n=s;e>>=1n;let r=n+e;for(;e>0n;)t<1n<<r||(n=r),e>>=1n,r=n+e;return n}function $t(t,s){return t===s||Number.isNaN(t)&&Number.isNaN(s)}function Ht(t,s,e){return t===s||Math.abs(t-s)<=e||Number.isNaN(t)&&Number.isNaN(s)}function Jt(t,s){return t<s?-1:t>s?1:0}function Kt(t,s){if(t<s)return-1;if(t>s)return 1;if(t===s)return 0;{const e=Number.isNaN(t),i=Number.isNaN(s);return e<i?-1:e>i?1:0}}function Wt(){return 2147483647}function Xt(){return 32767}function ts(){return 2147483647}function ss(){return-2147483648}const es=2147483647,is=BigInt(es),ns=2166136261,rs=16777619,us=1099511628211n;function hs(t){let s=ns;for(let e=0,i=t.length;e<i;++e)s=(s^t.charCodeAt(e))*rs;return s&es}function os(t,s){return s+2654435769+(t<<6)+(t>>2)&es}function as(t,s){return os(t,fs(s))}function ms(t){return os(3735928559,t)}function ls(t,s){return os(t,ms(s))}function cs(t){return function(t){let s=ns,e=t;return s=(s^255&e)*rs,e>>=8,s=(s^255&e)*rs,e>>=8,s=(s^255&e)*rs,e>>=8,s=(s^255&e)*rs,s&es}(t)}function fs(t){return Number(function(t){let s=14695981039346656037n,e=t;return s=(s^0xffn&e)*us,e>>=8n,s=(s^0xffn&e)*us,e>>=8n,s=(s^0xffn&e)*us,e>>=8n,s=(s^0xffn&e)*us,e>>=8n,s=(s^0xffn&e)*us,e>>=8n,s=(s^0xffn&e)*us,e>>=8n,s=(s^0xffn&e)*us,s&is}(t))}function vs(t){return fs(Ut(function(t){return As(t)}(t)))}function _s(t){return function(t){return 1103515245*t+12345&2147483647}(t)}const bs=100;function ds(){return 100*Number.EPSILON}function ps(){return.38196601125010515}function xs(){return 1.4142135623730951}function Ns(){return Number.EPSILON}function ys(t,s,e){return t===s||t===e}function gs(t,s,e){return t>=s?t<=e?t:e:s}function Ts(t,s,e){const i=t[0];if(i>=s){if(i<=e)return!1;t[0]=e}else t[0]=s;return!0}function Es(t,s){return t>=s?s:t<-s?-s:t}function Ms(){return Rt}function ws(){return kt}function Is(){return Gt}const Ds=3*Is();function Ps(){return Ds}function As(t){return t+0}function qs(t){return{v:t}}class zs{constructor(){this.m_rn=qs(0n),this.m_rd=qs(1n),this.m_bNaN=!1,this.m_bNormalized=!1,this.m_power=0,this.m_sign=0}static constructAssign(t,s){const e=t.clone();return void 0!==s&&e.limitPrecisionThis(s),e}static constructDouble(t){return(new zs).setDouble(t)}static constructInt64(t){return(new zs).setInt64(t)}static constructRational(t,s){return(new zs).setRational(t,s)}static constructInt32(t){return this.constructInt64(BigInt(Math.trunc(t)))}[Symbol.toPrimitive](t){return this}compare(t){return this.lt(t)?-1:this.gt(t)?1:0}assignCopy(t){return this.setThis(t)}abs(){return this.clone().absThis()}absThis(){return this.isNAN()||(this.m_sign*=this.m_sign),this}clone(){return(new zs).setThis(this)}setThis(t){return this.m_bNaN=t.m_bNaN,this.m_bNormalized=t.m_bNormalized,this.m_rn.v=t.m_rn.v,this.m_rd.v=t.m_rd.v,this.m_power=t.m_power,this.m_sign=t.m_sign,this}setZero(){return this.m_rn.v=0n,this.m_rd.v=1n,this.m_bNaN=!1,this.m_power=0,this.m_bNormalized=!0,this.m_sign=0,this}setDouble(t){if(this.setZero(),0===t)return this;if(Number.isInteger(t)&&Math.abs(t)<2147483647)return this.setInt32(t);const s=Ut(t),e=(s&zs.s_em)>>52n,n=!!(s&zs.s_sm),r=s&zs.s_fm;if(e===zs.s_emax)return r?(this.m_rn.v=this.m_rd.v=0n,this.m_bNaN=!0,this):(this.m_rn.v=n?-1n:1n,this.m_rd.v=0n,this);0n===e&&(0,i.t)("denormalized numbers not yet implemented");const u=e-1023n,h=u>=0n?u:0n,o=u<0n?-u:0n;return this.m_rn.v=(1n<<52n|r)<<h,this.m_rd.v=1n<<52n+o,this.m_sign=n?-1:1,this.m_bNormalized=!1,this.normalizeThis()}setInt64(t){return 0n===t?this.setZero():(this.m_bNaN=!1,this.m_sign=t>0n?1:-1,this.m_rn.v=t>0n?t:-t,this.m_rd.v=1n,this.m_power=0,this.m_bNormalized=!1,this.normalizeThis())}setRational(t,s){return 0n===t?0n===s?this.setNAN():this.setZero():0n===s?t>0n?this.setPositiveInf():this.setNegativeInf():(this.m_sign=(t>0n?1:-1)*(s>0n?1:-1),this.m_rn.v=t>0n?t:-t,this.m_rd.v=s>0n?s:-s,this.m_power=0,this.m_bNormalized=!1,this.normalizeThis())}setInt32(t){return this.setInt64(BigInt(Math.trunc(t)))}getDouble(){return this.convertToDouble()}toDouble(){return this.convertToDouble()}value(){return this.convertToDouble()}isNAN(){return this.m_bNaN}isPositiveInf(){return!this.isNAN()&&0n===this.m_rd.v&&1===this.m_sign}isNegativeInf(){return!this.isNAN()&&0n===this.m_rd.v&&-1===this.m_sign}isFinite(){return!this.isNAN()&&0n!==this.m_rd.v}setNAN(){return this.m_bNaN=!0,this.m_rn.v=0n,this.m_rd.v=0n,this.m_power=0,this.m_bNormalized=!0,this}setPositiveInf(){return this.m_rn.v=1n,this.m_rd.v=0n,this.m_bNaN=!1,this.m_bNormalized=!0,this.m_sign=1,this.m_power=0,this}setNegativeInf(){return this.m_rn.v=1n,this.m_rd.v=0n,this.m_bNaN=!1,this.m_bNormalized=!0,this.m_sign=-1,this.m_power=0,this}subThis(t){if(t.isNAN()&&this.setNAN(),this.isPositiveInf()&&t.isPositiveInf())this.setNAN();else{if(this.isPositiveInf()&&t.isNegativeInf())return this.setPositiveInf(),this;if(this.isNegativeInf()&&t.isNegativeInf())this.setNAN();else if(this.isNegativeInf()&&t.isPositiveInf())return this.setNegativeInf(),this}return this.isNAN()?this:this.opPlusMinus(t,!1)}thisSubAbs(t){return(0,i.g)(0),this}mulThis(t){return t.isNAN()&&this.setNAN(),this.isNAN()?this:(this.m_sign*=t.m_sign,0===this.m_sign?this.setZero():(this.m_rn.v*=t.m_rn.v,this.m_rd.v*=t.m_rd.v,this.m_power+=t.m_power,this.m_bNormalized=!1,this.normalizeThis(),this))}mulDoubleThis(t){return this.mulThis(zs.constructDouble(t))}thisMulInt64(t){return(0,i.g)(0),this}thisMulInt32(t){return(0,i.g)(0),this}divThis(t){return this.mulThis(t.clone().invertThis())}divDoubleThis(t){return this.divThis(zs.constructDouble(t))}addDoubleThis(t){return this.addThis(zs.constructDouble(t))}subDoubleThis(t){return this.subThis(zs.constructDouble(t))}mul(t){return this.clone().mulThis(t)}mulBigIntThis(t){return this.mulThis(zs.constructInt64(t))}mulDouble(t){return this.clone().mulThis(zs.constructDouble(t))}div(t){return this.clone().divThis(t)}divDouble(t){return this.clone().divDoubleThis(t)}add(t){return this.clone().addThis(t)}fmSubThis(t,s){return this.subThis(t.clone().mulThis(s))}fmAddThis(t,s){return this.addThis(t.clone().mulThis(s))}addThis(t){if(t.isNAN()&&this.setNAN(),this.isPositiveInf()&&t.isPositiveInf())return this.setPositiveInf(),this;if(this.isPositiveInf()&&t.isNegativeInf())this.setNAN();else{if(this.isNegativeInf()&&t.isNegativeInf())return this.setNegativeInf(),this;this.isNegativeInf()&&t.isPositiveInf()&&this.setNAN()}return this.isNAN()?this:this.opPlusMinus(t,!0)}addDouble(t){return this.clone().addThis(zs.constructDouble(t))}sub(t){return this.clone().subThis(t)}subDouble(t){return this.clone().subThis(zs.constructDouble(t))}isZero(){return 0===this.m_sign}equals(t){return this.clone().subThis(t).isZero()}lt(t){return!this.isNAN()&&!t.isNAN()&&!(this.isPositiveInf()&&t.isPositiveInf()||this.isNegativeInf()&&t.isNegativeInf())&&!this.isPositiveInf()&&(!!t.isPositiveInf()||this.clone().sub(t).LZ())}absLessAbs(t){return this.abs().lt(t.abs())}gt(t){return this.clone().sub(t).GZ()}lte(t){return this.sub(t).LEZ()}gte(t){return this.sub(t).GEZ()}normalizeThis(){if(this.m_bNormalized)return this;if(0n===this.m_rn.v)return this.setZero();let t=0,s=0xffffffffn;for(;0n===(this.m_rn.v&s)&&s<=this.m_rn.v;)s<<=32n,t+=32;s&=this.m_rn.v,s>>=BigInt(t),t+=h(BigInt.asUintN(32,s))-1;let e=0;for(s=0xffffffffn;0n===(this.m_rd.v&s)&&s<=this.m_rd.v;)s<<=32n,e+=32;return s&=this.m_rd.v,s>>=BigInt(e),e+=h(BigInt.asUintN(32,s))-1,this.m_rn.v>>=BigInt(t),this.m_rd.v>>=BigInt(e),this.m_power+=t-e,this.m_rn.v>1n&&this.m_rd.v>1n&&(this.m_rn.v%this.m_rd.v===0n?(this.m_rn.v/=this.m_rd.v,this.m_rd.v=1n):this.m_rd.v%this.m_rn.v===0n&&(this.m_rd.v/=this.m_rn.v,this.m_rn.v=1n)),this.m_bNormalized=!0,this}negateThis(){return this.isNAN()||(this.m_sign*=-1),this}negate(){return this.clone().negateThis()}invertThis(){return this.isNAN()?this:this.isPositiveInf()||this.isNegativeInf()?(this.setZero(),this):0n===this.m_rn.v?(this.setPositiveInf(),this):(this.m_rd=bt(this.m_rn,this.m_rn=this.m_rd),this.m_power=-this.m_power,this)}limitPrecisionThis(t){if(0===t)return this;if(this.isZero())return this.setZero();if(!this.isFinite())return this;this.normalizeThis();let s=Number(Yt(this.m_rn.v));if(s>t){const e=s-t;this.m_rn.v>>=BigInt(s-t),this.m_power+=e}if(s=Number(Yt(this.m_rd.v)),s>t){const e=s-t;this.m_rd.v>>=BigInt(s-t),this.m_power-=e}return this}hiBitIndex(){return Math.max(Number(Yt(this.m_rn.v)),Number(Yt(this.m_rd.v)))}ldexp(t){return this.clone().ldexpThis(t)}ldexpThis(t){return t&&(this.m_bNormalized=!1,this.m_power+=t,this.normalizeThis()),this}static lerp(t,s,e){return zs.lerpLo(s,s,e)}static lerpLo(t,s,e){return s.sub(t).mulThis(e).addThis(t)}static lerpHi(t,s,e){return s.sub(t).mulThis(Cs.sub(e)).addThis(t)}LZ(){return!this.isNAN()&&-1===this.m_sign}GZ(){return!this.isNAN()&&1===this.m_sign}LEZ(){return!this.isNAN()&&this.m_sign<=0}GEZ(){return!this.isNAN()&&this.m_sign>=0}toString(){return this.toDouble().toString()}sqr(){return this.clone().sqrThis()}sqrThis(){return this.mulThis(this.clone())}static sqrt(t,s){if(t.m_sign<0n&&(0,i.q)("MP_value: sqrt(-1)"),t.isZero())return t.clone();let e=52,n=2220446049250313e-31;for(;e<s;)2*e<=s?(n*=n,e*=2):(n*=2220446049250313e-31,e+=52);e+=52;const r=Yt(t.m_rn.v),u=Yt(t.m_rd.v);let h,o=t.m_power+Number(r-u);const a=new zs;Math.abs(o)>200?(1&Math.abs(o)&&(o+=1),h=zs.constructAssign(t,53).ldexpThis(-o).value(),a.setThis(t).ldexpThis(-o),(0,i.g)(Number.isFinite(h))):(a.setThis(t),h=a.value(),(0,i.g)(Number.isFinite(h)),o=0),h=Math.sqrt(h);const m=zs.constructDouble(h),l=zs.constructDouble(n);l.mulThis(m).ldexpThis(1);const c=n*h*2,f=m.clone(),v=new zs;let _;for(let t=0;t<10;++t){f.mulThis(m),v.setThis(a).subThis(f).absThis();let t=v.value();if(_=1,t<.9)for(;t>c;)t*=t,++_;else _=4;if(v.lte(l))break;for(let t=0;t<_;t++)f.setThis(m).divThis(a).invertThis().addThis(m).ldexpThis(-1).limitPrecisionThis(e),m.setThis(f)}return m.ldexpThis(o/2)}static cubicRoot(t,s){if(t.isZero())return t.clone();let e=52,i=2220446049250313e-31;for(;e<s;)2*e<=s?(i*=i,e*=2):(i*=2220446049250313e-31,e+=52);e+=52;const n=Math.pow(Math.abs(t.value()),1/3),r=zs.constructDouble(n),u=r.clone();u.sqrThis().mulDoubleThis(3).mulDoubleThis(i),u.limitPrecisionThis(32),t.LZ()&&r.negateThis();for(let s=0;s<10;++s){const s=r.clone();s.sqrThis().mulThis(r);const i=s.clone();if(i.subThis(t),i.absThis().limitPrecisionThis(32),i.lte(u))break;i.setThis(t),i.ldexpThis(1),i.addThis(s);const n=s.clone();n.ldexpThis(1),n.addThis(t),i.divThis(n),r.mulThis(i),r.limitPrecisionThis(e)}return r}isInTheRangeOfDouble(){return(0,i.g)(0),!1}sign(){return this.m_sign}cosAndSin(t,s){(0,i.g)(0)}pow(t){return mt(this,t)}static nan(){return(0,i.g)(0),new zs}convertToDouble(){if(this.m_bNaN)return Number.NaN;if(this.isZero())return 0;if(0n===this.m_rd.v)return 1===this.m_sign?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;const t=-1===this.m_sign,s=this.m_rn.v<<(this.m_power>=0?BigInt(this.m_power):0n);let e=this.m_rd.v<<(this.m_power<0?BigInt(-this.m_power):0n);const i=s/e;let n=Number(i);if(BigInt(n)!==i)return t?-n:n;let r=s-i*e;if(r){let t=Yt(e)-1023n;t>0n&&(e>>=t,r<<=52n,r>>=t);let s=Number(r);Number.isFinite(s)||(r>>=52n,s=Number(r),t=0n),t>0n&&(s/=Math.pow(2,52)),n+=s/Number(e)}return t?-n:n}signVal(){return 1===this.m_sign?1n:-1===this.m_sign?-1n:0n}opPlusMinus(t,s){const e=Math.min(this.m_power,t.m_power);let i,n;this.m_power>e?(i=BigInt(this.m_power-e),n=0n):(i=0n,n=BigInt(t.m_power-e));const r=this.signVal()*this.m_rn.v*t.m_rd.v<<i,u=t.signVal()*t.m_rn.v*this.m_rd.v<<n;return this.m_rn.v=s?r+u:r-u,this.m_rd.v*=t.m_rd.v,this.m_power=e,this.m_sign=1,this.m_rn.v<0n&&(this.m_sign=-1,this.m_rn.v=-this.m_rn.v),this.m_bNormalized=!1,this.normalizeThis(),this}}zs.s_sm=0x8000000000000000n,zs.s_em=0x7ff0000000000000n,zs.s_fm=0x000fffffffffffffn,zs.s_emax=0x7ffn;const Cs=zs.constructInt32(1),Zs=zs.constructInt32(0),Bs=zs.constructDouble(.5);function Rs(t,s){let e=jt(t);const i=jt(s);return e===i?(e-=53-function(t,s){return function(t){let s=0;return 0xffffffff00000000n&t&&(s=32,t>>=32n),s+function(t){let s=0;return 4294901760n&t&&(s+=16,t>>=16n),65280n&t&&(s+=8,t>>=8n),240n&t&&(s+=4,t>>=4n),s+u[Number(BigInt.asUintN(4,t))]+1}(t)}(t^s)}(Vt(t),Vt(s)),e):e>i?e:i}function ks(t,s){for(let e=0,i=0,n=t.length;e<n;e+=2,i++)s[i].x=t[e],s[i].y=t[e+1]}function Gs(t){const s=new Float64Array(2*t.length);for(let e=0,i=t.length;e<i;++e){const i=e<<1;s[i]=t[e].x,s[i+1]=t[e].y}return s}function Ss(t){const s=It(Ls,t.length);for(let e=0,i=t.length;e<i;++e)s[e].setCoords(t[e][0],t[e][1]);return s}class Ls{static construct(t,s){return new Ls(t,s)}constructor(t,s){void 0!==t?(this.x=t,this.y=s):this.x=this.y=Number.NaN}clone(){return new Ls(this.x,this.y)}assign(t){this.setCoordsPoint2D(t)}setCoords(t,s){return this.x=t,this.y=s,this}setCoordsPoint2D(t){this.x=t.x,this.y=t.y}isEqualPoint2D(t,s){return void 0!==s?Math.abs(this.x-t.x)<=s&&Math.abs(this.y-t.y)<=s:this.x===t.x&&this.y===t.y}isEqual(t,s,e){return void 0!==e?Math.abs(this.x-t)<=e&&Math.abs(this.y-s)<=e:this.x===t&&this.y===s}equalsPoint2D(t,s){return this.isEqualPoint2D(t,s)}setSub(t,s){this.x=t.x-s.x,this.y=t.y-s.y}addThis(t){return this.x+=t.x,this.y+=t.y,this}setAdd(t,s){return this.x=t.x+s.x,this.y=t.y+s.y,this}absoluteOther(t){}absolute(){return(0,i.g)(0),this}setNegate(){this.x=-this.x,this.y=-this.y}setNegateOther(t){this.x=-t.x,this.y=-t.y}interpolateThis(t,s){}interpolate(t,s,e){(0,i.g)(0)}scaleAddThis(t,s){this.x=this.x*t+s.x,this.y=this.y*t+s.y}setScaleAdd(t,s,e){this.x=s.x*t+e.x,this.y=s.y*t+e.y}scaleOther(t,s){(0,i.g)(0)}scale(t){this.x*=t,this.y*=t}compare(t){return this.y<t.y?-1:this.y>t.y?1:this.x<t.x?-1:this.x>t.x?1:0}compareX(t){return this.x<t.x?-1:this.x>t.x?1:this.y<t.y?-1:this.y>t.y?1:0}normalizeOther(t){(0,i.g)(0)}normalize(){const t=this.length();return t?(this.x/=t,this.y/=t):(this.x=1,this.y=0),this}getUnitVector(){return this.clone().normalize()}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}sqrLength(){return this.x*this.x+this.y*this.y}static averageFast(t,s){return(0,i.g)(0),{}}static average(t,s){const e=new Ls;if(0===s)return e.setNAN(),e;if(1===s)return e.assign(t[0]),e;const i=new n(t[0].x),r=new n(t[0].y);for(let e=1;e<s;e++)i.add(t[e].x),r.add(t[e].y),255&e||(i.normalize(),r.normalize());return e.x=i.getResult()/s,e.y=r.getResult()/s,e}static calculateLength(t,s){const e=new n(0);for(let i=1;i<s;i++)e.add(Ls.distance(t[i],t[i-1]));return e.getResult()}offset(t,s){const e=Ls.distance(t,s),i=Ls.construct(this.x,this.y);if(0===e)return Ls.distance(i,t);const n=s.clone();return n.subThis(t),i.subThis(t),i.crossProduct(n)/e}side(t,s){return t.equals(s)?this.equals(t)?0:1:Ls.orientationRobust(s,t,this)}static sqrDistance(t,s){const e=t.x-s.x,i=t.y-s.y;return e*e+i*i}static sqrDistanceCoords(t,s,e,i){const n=e-t,r=i-s;return n*n+r*r}static distance(t,s){return Math.sqrt(Ls.sqrDistance(t,s))}dotProduct(t){return this.x*t.x+this.y*t.y}dotProductAbs(t){return Math.abs(this.x*t.x)+Math.abs(this.y*t.y)}crossProduct(t){return this.x*t.y-this.y*t.x}crossProductAbs(t){return(0,i.g)(0),0}rotateDirect(t,s){const e=this.x*t-this.y*s,i=this.x*s+this.y*t;this.x=e,this.y=i}rotateReverse(t,s){const e=this.x*t+this.y*s,i=-this.x*s+this.y*t;this.x=e,this.y=i}leftPerpendicularThis(){const t=this.x;this.x=-this.y,this.y=t}leftPerpendicularOther(t){const s=t.x;this.x=-t.y,this.y=s}rightPerpendicularThis(){const t=this.x;this.x=this.y,this.y=-t}rightPerpendicularOther(t){const s=t.x;this.x=t.y,this.y=-s}equals(t){return this.x===t.x&&this.y===t.y}notequals(t){return this.x!==t.x||this.y!==t.y}not(){return!this.x&&!this.y}gt(t){return this.y>t.y||this.y===t.y&&this.x>t.x}gte(t){return!this.lt(t)}lt(t){return this.y<t.y||this.y===t.y&&this.x<t.x}lte(t){return!this.gt(t)}subThis(t){return this.x-=t.x,this.y-=t.y,this}divThis(t){return this.x/=t,this.y/=t,this}add(t){return new Ls(this.x+t.x,this.y+t.y)}sub(t){return new Ls(this.x-t.x,this.y-t.y)}negateThis(){return this.x=-this.x,this.y=-this.y,this}negate(){return new Ls(-this.x,-this.y)}mul(t){return new Ls(this.x*t,this.y*t)}mulThis(t){return this.x*=t,this.y*=t,this}divide(t){return new Ls(this.x/t,this.y/t)}setNAN(){this.x=this.y=Number.NaN}isNAN(){return Number.isNaN(this.x)||Number.isNaN(this.y)}static getNAN(){return new Ls(Number.NaN,Number.NaN)}isFinite(){return Number.isFinite(this.x)&&Number.isFinite(this.y)}isZero(){return 0===this.x&&0===this.y}norm(t){switch(t){case 0:{const t=Math.abs(this.x),s=Math.abs(this.y),e=t-s;return e>=0?t:e<=0?s:Number.NaN}case 1:return Math.abs(this.x)+Math.abs(this.y);case 2:return Math.sqrt(this.x*this.x+this.y*this.y);default:(0,i.a)("norm")}}getQuarter(){return Ls.getQuarterCoords(this.x,this.y)}static getQuarterCoords(t,s){return t>0?s>=0?1:4:s>0?2:0===t?4:3}static compareVectors(t,s){const e=t.getQuarter(),i=s.getQuarter();return i===e?Ls.orientationRobustImpl(Ls.construct(0,0),s,t,!0):e<i?-1:1}static compareVectorsOrigin(t,s,e){const i=s.sub(t),n=e.sub(t),r=i.getQuarter(),u=n.getQuarter();return u===r?Ls.orientationRobustImpl(t,e,s,!0):r<u?-1:1}static orientationRobust(t,s,e){return Ls.orientationRobustImpl(t,s,e,!1)}static orientationRobustEx(t,s,e,i){if(t.equals(s)||e.equals(i))return 0;const n=s.x-t.x,r=s.y-t.y,u=i.x-e.x,h=i.y-e.y;{const t=Ls.getQuarterCoords(n,r)-1,s=Ls.getQuarterCoords(u,h)-1,e=Ls.d[t][s];if(0!==e)return e}const o=n*h,a=r*u,m=4*Ns()*(Math.abs(o)+Math.abs(a)),l=o-a;return Math.abs(l)>=m?l<0?-1:l>0?1:0:Ls.orientationRobustExMp(t,s,e,i)}static orientationRobustExMp(t,s,e,i){const n=zs.constructDouble(s.x),r=zs.constructDouble(i.x);n.subThis(zs.constructDouble(t.x)),r.subThis(zs.constructDouble(e.x));const u=zs.constructDouble(s.y),h=zs.constructDouble(i.y);return u.subThis(zs.constructDouble(t.y)),h.subThis(zs.constructDouble(e.y)),n.mulThis(h),u.mulThis(r),n.subThis(u),n.LZ()?-1:n.GZ()?1:0}static orientationNonRobust(t,s,e){const i=s.sub(t).crossProduct(e.sub(t));return i<0?-1:i>0?1:0}static orientationRobustImpl(t,s,e,i){if(s.isEqualPoint2D(t)||e.isEqualPoint2D(t)||s.isEqualPoint2D(e))return 0;const n=s.x-t.x,r=s.y-t.y,u=e.x-t.x,h=e.y-t.y;if(!i){const t=Ls.getQuarterCoords(n,r)-1,s=Ls.getQuarterCoords(u,h)-1,e=Ls.d[t][s];if(0!==e)return e}const o=(Math.abs(n)+Math.abs(r)+Math.abs(u)+Math.abs(h))*(Math.abs(s.x)+Math.abs(s.y)+Math.abs(e.x)+Math.abs(e.y))*8*_(),a=n*h-r*u;if(Math.abs(a)>o)return a<0?-1:1;if(v(s.x,t.x)&&v(e.y,t.y)&&v(s.y,t.y)&&v(e.x,t.x)&&c(n,h)&&c(r,u)){const t=n*h,s=r*u;if(v(t,s)){const e=t-s;return e<0?-1:e>0?1:0}}return Ls.orientationRobustMp(t,s,e)}static orientationRobustMp(t,s,e){const i=zs.constructDouble(s.x),n=zs.constructDouble(e.x);{const s=zs.constructDouble(t.x);i.subThis(s),n.subThis(s)}const r=zs.constructDouble(e.y),u=zs.constructDouble(s.y);{const s=zs.constructDouble(t.y);r.subThis(s),u.subThis(s)}return i.mulThis(r),u.mulThis(n),i.subThis(u),i.LZ()?-1:i.GZ()?1:0}static inCircleRobust(t,s,e,i){const n=new l,r=new l;n.set(t.x),n.subThis(i.x),r.set(t.y),r.subThis(i.y);const u=new l,h=new l;u.set(s.x),u.subThis(i.x),h.set(s.y),h.subThis(i.y);const o=new l,a=new l;o.set(e.x),o.subThis(i.x),a.set(e.y),a.subThis(i.y);const m=n.mulE(h).subE(r.mulE(u)),c=u.mulE(a).subE(h.mulE(o)),f=n.mulE(a).subE(r.mulE(o)),v=n.mulE(n).addE(r.mulE(r)),_=u.mulE(u).addE(h.mulE(h)),b=o.mulE(o).addE(a.mulE(a)),d=v.mulE(c).subE(_.mulE(f)).addE(b.mulE(m));if(!d.isFuzzyZero()){const t=d.value();return t<0?-1:t>0?1:0}return Ls.inCircleRobustMp(t,s,e,i)}static inCircleRobustMp(t,s,e,i){do{if(!v(t.x,i.x)||!v(t.y,i.y))break;if(!v(s.x,i.x)||!v(s.y,i.y))break;if(!v(e.x,i.x)||!v(e.y,i.y))break;const n=t.x-i.x,r=t.y-i.y,u=s.x-i.x,h=s.y-i.y,o=e.x-i.x,a=e.y-i.y;if(!c(n,h)||!c(r,u))break;if(!c(u,a)||!c(h,o))break;if(!c(n,a)||!c(r,o))break;if(!c(n,n)||!c(r,r))break;if(!c(u,u)||!c(h,h))break;if(!c(o,o)||!c(a,a))break;const m=n*h,l=r*u,_=u*a,b=h*o,d=n*a,p=r*o,x=n*n,N=r*r,y=u*u,g=h*h,T=o*o,E=a*a;if(!v(m,l))break;if(!v(_,b))break;if(!v(d,p))break;if(!f(x,N))break;if(!f(y,g))break;if(!f(T,E))break;const M=m-l,w=_-b,I=d-p,D=x+N,P=y+g,A=T+E;if(!c(D,w))break;if(!c(P,I))break;if(!c(A,M))break;const q=D*w,z=P*I,C=A*M;if(!v(q,z))break;const Z=q-z;if(!f(Z,C))break;const B=Z+C;return B<0?-1:B>0?1:0}while(0);const n=zs.constructDouble(i.x),r=zs.constructDouble(i.y),u=zs.constructDouble(t.x),h=zs.constructDouble(t.y);u.subThis(n),h.subThis(r);const o=zs.constructDouble(s.x),a=zs.constructDouble(s.y);o.subThis(n),a.subThis(r);const m=zs.constructDouble(e.x),l=zs.constructDouble(e.y);m.subThis(n),l.subThis(r);const _=u.mul(a).sub(h.mul(o)),b=o.mul(l).sub(a.mul(m)),d=u.mul(l).sub(h.mul(m)),p=u.mul(u).add(h.mul(h)),x=o.mul(o).add(a.mul(a)),N=m.mul(m).add(l.mul(l)),y=p.mul(b).sub(x.mul(d)).add(N.mul(_));return y.LZ()?-1:y.GZ()?1:0}static inCircleRobustMp3Point(t,s,e){const i=zs.constructDouble(t.x),n=zs.constructDouble(t.y),r=zs.constructDouble(s.x),u=zs.constructDouble(s.y),h=zs.constructDouble(e.x),o=zs.constructDouble(e.y),a=h.mul(h).add(o.mul(o)).sub(h.mul(i).add(o.mul(n)).add(h.mul(r)).add(o.mul(u))).add(i.mul(r).add(n.mul(u)));return a.LZ()?-1:a.GZ()?1:0}static inCircleRobust3Point(t,s,e){const i=new l(t.x),n=new l(t.y),r=new l(s.x),u=new l(s.y),h=new l(e.x),o=new l(e.y),a=h.mulE(h).addE(o.mulE(o)).subE(h.mulE(i).addE(o.mulE(n)).addE(h.mulE(r)).addE(o.mulE(u))).addE(i.mulE(r).addE(n.mulE(u)));if(!a.isFuzzyZero()){const t=a.value();return t<0?-1:t>0?1:0}return Ls.inCircleRobustMp3Point(t,s,e)}static calculateCircleCenterFromThreePoints(t,s,e){if(t.equals(e)||t.equals(s)||e.equals(s))return Ls.getNAN();const i=function(t,s,e){const i=new l(s.x);i.subThis(t.x);const n=new l(s.y);n.subThis(t.y);const r=new l(e.x);r.subThis(t.x);const u=new l(e.y);u.subThis(t.y);const h=i.clone();h.mulThisE(u);let o=n.clone();if(o.mulThisE(r),h.subThisE(o),0===h.value())return Ls.getNAN();h.mulThis(2);const a=i.clone();a.mulThisE(i);const m=n.clone();m.mulThisE(n);const c=a.clone();c.addThisE(m);const f=r.clone();f.mulThisE(r);const v=u.clone();v.mulThisE(u);const _=f.clone();_.addThisE(v);const b=n.clone();b.mulThisE(_),o=u.clone(),o.mulThisE(c),b.subThisE(o),b.divThisE(h);const d=i.clone();d.mulThisE(_),o=r.clone(),o.mulThisE(c),d.subThisE(o),d.divThisE(h);const p=Ls.construct(t.x-b.value(),t.y+d.value()),x=t.sub(p).length(),N=s.sub(p).length(),y=e.sub(p).length(),g=1e-15*(x+Math.abs(t.x)+Math.abs(s.x)+Math.abs(e.x)+Math.abs(t.y)+Math.abs(s.y)+Math.abs(e.y));return Math.abs(x-N)<=g&&Math.abs(x-y)<=g&&b.eps()<g&&d.eps()<g?p:Ls.getNAN()}(t,s,e);return i.isNAN()?function(t,s,e){const i=zs.constructDouble(s.x);i.subDoubleThis(t.x);const n=zs.constructDouble(s.y);n.subDoubleThis(t.y);const r=zs.constructDouble(e.x);r.subDoubleThis(t.x);const u=zs.constructDouble(e.y);u.subDoubleThis(t.y);const h=i.clone();h.mulThis(u);let o=n.clone();if(o.mulThis(r),h.subThis(o),h.isZero())return Ls.getNAN();h.mulDoubleThis(2);const a=i.clone();a.mulThis(i);const m=n.clone();m.mulThis(n);const l=a.clone();l.addThis(m);const c=r.clone();c.mulThis(r);const f=u.clone();f.mulThis(u);const v=c.clone();v.addThis(f);const _=n.clone();_.mulThis(v),o=u.clone(),o.mulThis(l),_.subThis(o),_.divThis(h);const b=i.clone();return b.mulThis(v),o=r.clone(),o.mulThis(l),b.subThis(o),b.divThis(h),Ls.construct(t.x-_.value(),t.y+b.value())}(t,s,e):i}static calculateAngle(t,s){return Math.atan2(t.crossProduct(s),t.dotProduct(s))}static isBisectorRobust(t,s,e){return(0,i.g)(0),!1}static size(){return 2}get 0(){return this.x}get 1(){return this.y}set 0(t){this.x=t}set 1(t){this.y=t}static compareZorder(t,s){const e=Ls.c_compare_zorder_xx[t.x<0?1:0]|Ls.c_compare_zorder_yy[t.y<0?1:0],i=Ls.c_compare_zorder_xx[s.x<0?1:0]|Ls.c_compare_zorder_yy[s.y<0?1:0];if(e===i){let e=0,i=0;for(let n=0;n<2;++n){const r=Rs(t[n],s[n]);r>e&&(e=r,i=n)}return t[i]<s[i]}return e<i}static lerp(t,s,e){const i=new Ls;return R(t,s,e,i),i}static getClosestCoordinate(t,s,e,i=!1){const n=Ls.getNAN();n.setSub(s,t);const r=n.sqrLength();if(0===r)return.5;if(s.isEqualPoint2D(e))return 1;const u=Ls.getNAN();u.setSub(e,t);let h=u.dotProduct(n)/r;return i||(h<0?h=0:h>1&&(h=1)),h}static intersectLinesAtOnePoint(t,s,e,i){if(t.equals(s)||e.equals(i))return Ls.getNAN();const n=s.x-t.x,r=e.x-i.x,u=s.y-t.y,h=e.y-i.y,o=n*h-r*u;if(!o)return Ls.getNAN();const a=o;if(0===a)return Ls.getNAN();let m=(e.x-t.x)*h-(e.y-t.y)*r;m/=a;const l=new Ls;return R(t,s,m,l),l.isFinite()?l:Ls.getNAN()}toString(){return`[${this.x},${this.y}]`}}Ls.dimensions=2,Ls.d=[[0,1,0,-1],[-1,0,1,0],[0,-1,0,1],[1,0,-1,0]],Ls.c_compare_zorder_xx=[2,0],Ls.c_compare_zorder_yy=[1,0]}}]);
|