@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([[3548,7548,7694],{4146(e,t,r){r.d(t,{A:()=>w});var i=r(31635),n=r(11254),s=r(49186),o=r(65529),a=r(4902),l=r(92474),u=r(53966),c=r(74887),d=r(84952),p=r(91429),f=r(5443),h=r(16930),y=r(92602),m=r(79677);let g=0,w=class extends((0,o.Zt)((0,a.s)(l.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new f.A(-180,-90,180,90,h.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=h.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(r.bind(r,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(812),r.e(5613),r.e(5710)]).then(r.bind(r,45613));try{return await i(t)}catch(e){const r=t?.portalItem,i=r?.id||"unset",n=r?.portal?.url||y.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+n+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,d.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,n.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,p.MZ)({type:String})],w.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"effectiveVisible",null),(0,i.Cg)([(0,p.MZ)({type:f.A})],w.prototype,"fullExtent",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"hasAttributionData",null),(0,i.Cg)([(0,p.MZ)({type:String,clonable:!1})],w.prototype,"id",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,nonNullable:!0})],w.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:["show","hide","hide-children"]})],w.prototype,"listMode",void 0),(0,i.Cg)([(0,p.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],w.prototype,"opacity",void 0),(0,i.Cg)([(0,p.MZ)({clonable:!1})],w.prototype,"parent",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"parsedUrl",null),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean})],w.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean})],w.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,p.MZ)({type:h.A})],w.prototype,"spatialReference",void 0),(0,i.Cg)([(0,p.MZ)({type:String})],w.prototype,"title",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1}})],w.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)()],w.prototype,"url",void 0),(0,i.Cg)([(0,p.MZ)({type:m.A})],w.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,nonNullable:!0})],w.prototype,"visible",void 0),w=(0,i.Cg)([(0,p.$K)("esri.layers.Layer")],w)},6797(e,t,r){r.d(t,{Ui:()=>p});var i=r(69622),n=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 i.A}function l(e){return e instanceof n.A?Object.keys(e.items):a(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof n.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function d(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const i=l(e),n=l(t);if(0===i.length&&0===n.length)return;if(!i.length||!n.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=n.filter(e=>!i.includes(e)),p=i.filter(e=>!n.includes(e)),f=i.filter(r=>n.includes(r)&&u(e,r)!==u(t,r)).concat(s,p).sort(),h=c(e);if(h&&o.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=a(e)&&a(t);for(const i of f){const n=u(e,i),s=u(t,i);let o;if((m||"function"!=typeof n&&"function"!=typeof s)&&n!==s&&(null!=n||null!=s)){if(r&&r[i]&&"function"==typeof r[i])o=r[i]?.(n,s);else if(n instanceof Date&&s instanceof Date){if(n.getTime()===s.getTime())continue;o={type:"complete",oldValue:n,newValue:s}}else o="object"==typeof n&&"object"==typeof s&&c(n)===c(s)?d(n,s):{type:"complete",oldValue:n,newValue:s};null!=o&&(null!=y?y.diff[i]=o:y={type:"partial",diff:{[i]:o}})}}return y}function p(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},16215(e,t,r){r.d(t,{S:()=>n,Y:()=>i});const i=Symbol("BasemapInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}},16494(e,t,r){r.d(t,{Nd:()=>a,W5:()=>o});var i=r(37330);const n=["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),{}),s=["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"],o=new i.I({whiteList:n,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(s.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311(e,t,r){r.d(t,{A:()=>f});var i=r(31635),n=r(69622),s=r(4576),o=r(60999),a=r(7762),l=r(16494),u=r(91429),c=r(30524),d=r(43668);const p=/<br\s*\/*>/gi;let f=class extends n.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,o.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 a.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,n=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:s}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:o,workingTitle:a}=this,u=a&&o;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let d=u?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,n).global,layer:e,text:a}):"";r?.removeHTML&&(d=l.Nd.sanitize(d).replaceAll(p," ")),i.set(c,d)})}catch{}return i}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(s.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;const n=await e.queryFeatures(i);if(n?.features.length===t.length)return n.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??[],n={};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{n[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const s={...t.attributes,...n};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:s,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,i.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},29005(e,t,r){r.d(t,{A:()=>u});var i=r(31635),n=r(69540),s=r(66552),o=r(25482),a=r(91429);const l=new s.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,i.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},32730(e,t,r){r.d(t,{BI:()=>f,D3:()=>d,XJ:()=>p,lc:()=>c,mX:()=>y,rU:()=>h,tH:()=>b});var i=r(799);const n="__begin__",s="__end__",o=new RegExp(n,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+n,"i"),u=new RegExp(s+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function d(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function p(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function f(e){const t=p(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function h(e){const t=p(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function y(e){let t;return e?(t=(0,i.HC)(e,e=>n+'$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 m=/^\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 i=r(31635),n=r(93637),s=r(91429),o=r(91880);function a(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new o.A;return n.read(i,r),[n]}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,i){const s=e.find(e=>!!e.field);s&&(0,n.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>d});var i=r(31635),n=r(69540),s=r(25482),o=r(91429),a=r(8631),l=r(29005),u=r(36005),c=r(43937);let d=class extends((0,n.OU)(s.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,a.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,o.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],d.prototype,"readDomains",null),(0,i.Cg)([(0,c.K)("domains")],d.prototype,"writeDomains",null),(0,i.Cg)([(0,o.MZ)({type:[l.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,i.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],d)},37352(e,t,r){r.d(t,{A:()=>l});var i,n=r(31635),s=r(7762),o=r(25482),a=r(91429);let l=i=class extends o.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,n.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=i=(0,n.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},41366(e,t,r){r.d(t,{K:()=>d,Q:()=>l});var i=r(31635),n=r(66552),s=r(53966),o=r(91429),a=r(93223);const l=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",d=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>s});var i=r(34727),n=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:i}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(s&&((0,i.gg)(t,s[0])||(0,i.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 n=c(e.at(0)?.minScale),s=d(e.at(-1)?.maxScale);if((0,i.ZH)(n,t)||(0,i.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],n=e[t+1];if((0,i.ZH)(c(n.minScale),d(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,n.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 i of e.filters)l(i.minScale,i.maxScale,t,r)&&(yield i)}}function l(e,t,r,n){return e=c(e),r=c(r),t=d(t),!(!(0,i.Sp)(r,e)&&(n??r)>e||(0,i.Hx)(t,r)||void 0!==n&&(0,i.Sp)(n,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},45067(e,t,r){r.d(t,{A:()=>c});var i=r(31635),n=r(69540),s=r(66552),o=r(25482),a=r(91429);const l=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,n.OU)(o.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,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"cardinality",void 0),(0,i.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,i.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},46140(e,t,r){r.d(t,{A:()=>n});var i=r(49186);let n=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 i.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[n,s]=t.split("."),o=/^\s*\d+\s*$/;if(!n?.match||!o.test(n))throw new i.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 i.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(n,10),l=parseInt(s,10);return new e(a,l,r)}}},52136(e,t,r){r.d(t,{p:()=>s});var i=r(31635),n=r(91429);const s=e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,n.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},55674(e,t,r){r.d(t,{Ad:()=>f,Gj:()=>m,QY:()=>p,lL:()=>g,xR:()=>h});var i=r(66131),n=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),u=r(43668),c=r(98623);const d=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of d)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return y.create(e,t,null,["$feature","$view"])}function h(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,i){const{arcade:s,Dictionary:o}=await(0,u.l)();let a;try{a=s.parseScript(e)}catch(t){throw new n.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 c={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=s.compileScript(a,c);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new y(e,s,a,d,t,f,p,o)}constructor(e,t,r,i,n,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=n,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new m,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:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.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 m{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 i=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,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)===c.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 i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??c.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}},58501(e,t,r){r.d(t,{q:()=>n});var i=r(62815);function n(e,t,r){if(!r?.features||!r.hasZ)return;const n=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(n)for(const e of r.features)n(e.geometry)}},62815(e,t,r){r.d(t,{N:()=>o});var i=r(86211),n=r(73941),s=r(21325);function o(e,t,r){if(null==t||null==r||r.vcsWkid||(0,s.aI)(t,r)||(0,n.xP)(t)||(0,n.xP)(r))return;const o=(0,i.G9)(t)/(0,i.G9)(r);if(1!==o)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,o);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,o);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,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return}}},73681(e,t,r){r.d(t,{n:()=>l});var i=r(49186),n=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,c=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const f=await(0,a.xR)(e.expression,null,d);if(!f)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const y=new u(r,h);return new l(h,c,f,y)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.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]}}},77548(e,t,r){r.d(t,{Gh:()=>g,tk:()=>f,BR:()=>p,wI:()=>d,G$:()=>y,$x:()=>h,Ov:()=>l,UC:()=>s,W_:()=>u,OP:()=>m,TU:()=>a,XX:()=>o,jy:()=>c});var i=r(70333),n=r(11254);function s(e){return null!=e&&"object"==typeof e&&"type"in e&&"knowledge-graph-sublayer"===e.type}r(7762),r(84952),r(36563),r(36708),r(4146),new WeakMap,r(16215);const o={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function a(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function l(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function u(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}function c(e){return function(e){return null!=e&&"object"==typeof e&&"type"in e&&"feature"===e.type}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)}async function d(e,t){const r=i.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const o=`${e.slice(0,s)}/rest/info`,a=null!=t?t.signal:null,{data:l}=await(0,n.A)(o,{query:{f:"json"},responseType:"json",signal:a});return l?.owningSystemUrl||null}function p(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function f(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function h(e,t){return null}function y(e){return null}function m(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function g(e,t){if(!t||!m(e))return;const r=(e.url,null);r&&(e.url=r)}},79677(e,t,r){r.d(t,{A:()=>d});var i,n=r(31635),s=r(25482),o=r(88930),a=r(91429),l=r(98623),u=r(36005),c=r(43937);let d=class extends s.o{static{i=this}static get allTime(){return p}static get empty(){return f}static fromArray(e){return new i({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===i&&r===n}expandTo(e,t=l.qU){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,o.lL)(r,e,t));let n=this.end;if(n){const r=(0,o.lL)(n,e,t);n=n.getTime()===r.getTime()?r:(0,o.S1)(r,1,e,t)}return new i({start:r,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let o,a;return n>=t&&n<=r?o=n:t>=n&&t<=s&&(o=t),r>=n&&r<=s?a=r:s>=t&&s<=r&&(a=s),null==o||null==a||isNaN(o)||isNaN(a)?i.empty:new i({start:o===-1/0?null:new Date(o),end:a===1/0?null:new Date(a)})}offset(e,t,r=l.qU){if(this.isEmpty||this.isAllTime)return this.clone();const n=new i,{start:s,end:a}=this;return null!=s&&(n.start=(0,o.S1)(s,e,t,r)),null!=a&&(n.end=(0,o.S1)(a,e,t,r)),n}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return p.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:r})}};(0,n.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,n.Cg)([(0,u.w)("end")],d.prototype,"readEnd",null),(0,n.Cg)([(0,c.K)("end")],d.prototype,"writeEnd",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,n.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,n.Cg)([(0,u.w)("start")],d.prototype,"readStart",null),(0,n.Cg)([(0,c.K)("start")],d.prototype,"writeStart",null),d=i=(0,n.Cg)([(0,a.$K)("esri.time.TimeExtent")],d);const p=new d,f=new d({start:void 0,end:void 0})},91880(e,t,r){r.d(t,{A:()=>u});var i,n=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{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,n.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],u)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,3169,4161,4741,6061,8125,9698],{4197(t,e,n){n.d(e,{Vj:()=>a,cj:()=>c,jh:()=>o,l5:()=>u,xm:()=>i});var r=n(34275),s=n(9093);function o(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 u(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function c(t){return[...t]}function a(t){const e=(0,s.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 s(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:()=>s,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:s,create:r,fromValues:function(t,e,n,r,s,o,i,u,c,a,h,l,m,f,y,g){return[t,e,n,r,s,o,i,u,c,a,h,l,m,f,y,g]}},Symbol.toStringTag,{value:"Module"}))},37817(t,e,n){n.d(e,{execute:()=>r.e}),n(4576),n(90756),n(78125);var r=n(68925)},68925(t,e,n){n.d(e,{c:()=>c,e:()=>i});var r=n(4576),s=n(90756),o=n(78125);function i(t,e){const n=(0,o.getSpatialReference)(t);return(0,s.g)((0,o.fromGeometry)(t),(0,o.fromPolyline)(e),(0,o.fromSpatialReference)(n)).map(t=>(0,o.toGeometry)(t,n)).filter(r.Ru)}const u=(0,s.f)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{$B:()=>s,Qf:()=>a,Qh:()=>u,RS:()=>o,Ul:()=>y,ez:()=>m,lM:()=>i,qK:()=>l});var r=n(34275);function s(t){return 32+t.length}const o=16;function i(t){if(!t)return 0;let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=c(t[n],!1));return e}function u(t){if(!t)return 0;if("number"==typeof t[0])return a(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=m;for(let r=0;r<e;r++)n+=c(t[r]);return n}(t);let e=l;for(const n in t)t.hasOwnProperty(n)&&(e+=c(t[n]));return e}function c(t,e=!0){switch(typeof t){case"object":return e?u(t):l;case"string":return s(t);case"number":return o;case"boolean":return 4;default:return 8}}function a(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,o):0:0),0)}function h(t,e){return m+t.length*e}const l=32,m=16,f=145,y=64},70328(t,e,n){n.d(e,{BI:()=>x,DC:()=>l,Ej:()=>f,Ie:()=>p,Jt:()=>_,Ne:()=>y,RF:()=>h,aI:()=>G,fA:()=>i,gE:()=>c,hZ:()=>d,iT:()=>m,is:()=>C,qv:()=>v,vI:()=>g,vY:()=>u,v_:()=>M,vt:()=>o,w1:()=>a});var r=n(5443),s=(n(19419),n(4197));function o(t=M){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,u=o()){return u[0]=t,u[1]=e,u[2]=n,u[3]=r,u[4]=s,u[5]=i,u}function u(t,e=o()){return function(t,e,n,r=o()){return d(r,v),function(t,e,n=0,r=e.length/3){let s=t[0],o=t[1],i=t[2],u=t[3],c=t[4],a=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),o=Math.min(o,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),u=Math.max(u,e[n+3*t]),c=Math.max(c,e[n+3*t+1]),a=Math.max(a,e[n+3*t+2]);t[0]=s,t[1]=o,t[2]=i,t[3]=u,t[4]=c,t[5]=a}(r,t,e,n),r}(t,0,t.length/3,e)}function c(t,e=(0,s.jh)(24)){const[n,r,o,i,u,c]=t;return e[0]=n,e[1]=r,e[2]=o,e[3]=n,e[4]=r,e[5]=c,e[6]=n,e[7]=u,e[8]=o,e[9]=n,e[10]=u,e[11]=c,e[12]=i,e[13]=r,e[14]=o,e[15]=i,e[16]=r,e[17]=c,e[18]=i,e[19]=u,e[20]=o,e[21]=i,e[22]=u,e[23]=c,e}function a(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 m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function f(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function y(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 g(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 d(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 p(t){return t?d(t,v):o(v)}function _(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 x(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function C(t){return 6===t.length}function G(t,e,n){if(null==t||null==e)return t===e;if(!C(t)||!C(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 v=[1/0,1/0,1/0,-1/0,-1/0,-1/0],M=[0,0,0,0,0,0];o()},76061(t,e,n){n.d(e,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class s 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:()=>d,fromGeometry:()=>g,fromMultipoint:()=>p,fromPoint:()=>_,fromPolygon:()=>x,fromPolyline:()=>C,fromPolylineUsingImportOperator:()=>G,fromSpatialReference:()=>v,getSpatialReference:()=>y,toExtent:()=>w,toGeometry:()=>M,toMultipoint:()=>E,toPoint:()=>P,toPolygon:()=>I,toPolyline:()=>V});var r=n(83661),s=(n(79187),n(55537)),o=n(95213),i=n(88885),u=n(5443),c=n(48526),a=n(86738),h=n(39829),l=n(82799),m=(n(90293),n(83299));const f="_gxVersion";function y(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function g(t){switch(t.type){case"point":return _(t);case"multipoint":return p(t);case"polyline":return C(t);case"polygon":return x(t);case"extent":return d(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function d(t){if(!t.getCacheValue(f)){const e=new o.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(f,e)}return t.getCacheValue(f)}function p(t){if(!t.getCacheValue(f)){const e=new i.M,n=new o.P,r=t.points,s=t.hasM,u=t.hasZ,c=u?3:2;for(let t=0,o=r.length;t<o;t++){const o=r[t];n.setXYCoords(o[0],o[1]),u&&n.setZ(o[2]??0),s&&n.setM(o[c]??NaN),e.add(n)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function _(t){if(!t.getCacheValue(f)){const e=new o.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function x(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,o=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(f,o)}return t.getCacheValue(f)}function C(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,o=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,o)}return t.getCacheValue(f)}function G(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,o=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,o)}return t.getCacheValue(f)}function v(t){return(0,m.fromSpatialReference)(t)}function M(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return P(t,e);case s.G.enumEnvelope:return w(t,e);case s.G.enumMultiPoint:return E(t,e);case s.G.enumPolyline:return V(t,e);case s.G.enumPolygon:return I(t,e)}return null}function w(t,e){if(t.isEmpty())return null;const n=new u.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(f,t),n}function E(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],u=new o.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,u);const n=[u.getX(),u.getY()];s&&n.push(u.getZ()),r&&n.push(u.getM()),i.push(n)}const a=new c.A({hasM:r,hasZ:s,points:i,spatialReference:e});return a.setCacheValue(f,t),a}function P(t,e){if(t instanceof r.P)return new a.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new a.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(f,t),n}function I(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}function V(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}},90756(t,e,n){n.d(e,{g:()=>m,f:()=>f});var r=n(76061),s=n(55537),o=n(88885),i=n(95213),u=n(15756),c=u.C;function a(t,e){return{m_geometry:t,m_side:e}}class h extends r.G{constructor(t,e,n,r,s){super(),this.m_cutIndex=-1,this.m_cuts=[],this.m_progressTracker=s,this.m_cuttee=e.clone(),this.m_cutter=new o.P({copy:n}),this.m_bConsiderTouch=t;const u=(0,i.g)(e,n);this.m_tolerance=(0,i.c)(r,u,!0)}next(){return-1===this.m_cutIndex&&this.generateCuts(),++this.m_cutIndex<this.m_cuts.length?this.m_cuts[this.m_cutIndex]:null}getGeometryID(){return this.m_cutIndex}tock(){return!0}getRank(){return 1}generateCuts(){switch(this.m_cuttee.getGeometryType()){case s.G.enumPolyline:this.generatePolylineCuts();break;case s.G.enumPolygon:this.generatePolygonCuts()}}generatePolylineCuts(){const t=new o.P,e=new o.P,n=new o.P;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const r=[];!function(t,e,n,r,s,i){if(e.isEmpty()){const t=a(e,0);return void s.push(t)}if(n.isEmpty()){const t=a(e,0);return void s.push(t)}const h=[],l=new o.E;{const o=l.createGeometryUserIndex(),m=l.addGeometry(e),f=l.addGeometry(n),y=new u.T(i);let g=0,d=null;if(l.hasCurves()){d=new c;const t=l.getEnvelope2D(i);g=(0,u.u)(r.total());const e=(0,u.v)(r.total(),t);(0,u.w)(l,e,r.total(),12e3,d,null,i)}l.dbgVerifyCurves(),y.setEditShapeCrackAndCluster(l,r),y.cut(t,o,m,f,h);for(const t of h){null!==d&&d.stitchCurves(l,t,g,!1);const e=a(l.getGeometry(t),(0,u.x)(l.getGeometryUserIndex(t,o)));s.push(e)}null!==d&&d.clearStitcher(l)}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?t.add(i.m_geometry,!1):2===i.m_side||4===i.m_side?e.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.d)("")}n.isEmpty()||t.isEmpty()&&e.isEmpty()&&!(this.m_cuts.length>=3)||this.m_cuts.push(n),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}generatePolygonCuts(){const t=new o.a,e=new o.a,n=new o.a;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const r=[];!function(t,e,n,r,s,i){if(e.isEmpty()){const t=a(e,0);return void s.push(t)}if(n.isEmpty()){const t=a(e,0);return void s.push(t)}const h=[],l=new o.E;{const t=l.createGeometryUserIndex(),m=l.addGeometry(e),f=l.addGeometry(n),y=new u.T(i);let g=0,d=null;if(l.hasCurves()){d=new c;const t=l.getEnvelope2D(i);g=(0,u.u)(r.total());const e=(0,u.v)(r.total(),t);(0,u.w)(l,e,r.total(),12e3,d,null,i)}l.dbgVerifyCurves(),y.setEditShapeCrackAndCluster(l,r),y.cut(!1,t,m,f,h),null!==d&&d.stitchCurves(l,o.n,g,!0);let p=l.getGeometry(m);const _=new o.a,x=new o.a,C=[];for(let e=0;e<h.length;e++){let n=null;{const s=new o.E,c=s.addGeometry(p),a=s.addGeometry(l.getGeometry(h[e]));if(s.hasCurves()){const t=s.getEnvelope2D(i);g=(0,u.u)(r.total());const e=(0,u.v)(r.total(),t);(0,u.w)(s,e,r.total(),12e3,d,null,i)}y.setEditShapeCrackAndCluster(s,r);const m=y.intersection(c,a);if(null!==d&&d.stitchCurves(s,o.n,g,!0),n=s.getGeometry(m),n.isEmpty())continue;const f=l.getGeometryUserIndex(h[e],t);2===f?_.add(n,!1):1===f?x.add(n,!1):C.push(n)}{const t=new o.E,n=t.addGeometry(p),s=t.addGeometry(l.getGeometry(h[e]));if(t.hasCurves()){const e=t.getEnvelope2D(i);g=(0,u.u)(r.total());const n=(0,u.v)(r.total(),e);(0,u.w)(t,n,r.total(),12e3,d,null,i)}y.setEditShapeCrackAndCluster(t,r);const c=y.difference(n,s);null!==d&&d.stitchCurves(t,o.n,g,!0),p=t.getGeometry(c)}}if(!p.isEmpty()&&h.length>0&&C.push(p),_.isEmpty()&&x.isEmpty())return;if(!_.isEmpty()){const t=a(_,1);s.push(t)}if(!x.isEmpty()){const t=a(x,2);s.push(t)}for(let t=0,e=C.length;t<e;++t){const e=a(C[t],3);s.push(e)}}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?t.add(i.m_geometry,!1):2===i.m_side?e.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.d)("")}(0,s.g)(n.isEmpty()||1===r.length),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}}const l=new class{getOperatorType(){return 10005}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e,n,r,s){return new h(t,e,n,r,s)}};function m(t,e,n){const r=l.execute(!0,t,e,n,null);return Array.from(r)}function f(){return l.supportsCurves()}},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{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 s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const o=n-t,i=r-e;return new s([5],[t,e,o,0,0,i,-o,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 s=this.coords[r*e],o=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),u=this.coords[n],c=this.coords[n+1];t+=-.5*(u-s)*(c+o),s=u,o=c}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 s=0;s<r;s++){const r=n*(e+s);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:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,o=this.coords.slice(0,r*n);return t?(t.set(o),new s(e,t)):new s(e,Array.from(o),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 s(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2746],{9064(e,t,r){r.r(t),r.d(t,{default:()=>Y});var n=r(74887),s=r(6774),i=r(5408),a=r(13195);function o(e){return 746===e||747===e||!(e<4352)&&(e>=12704&&e<=12735||e>=12544&&e<=12591||e>=65072&&e<=65103&&!(e>=65097&&e<=65103)||e>=63744&&e<=64255||e>=13056&&e<=13311||e>=11904&&e<=12031||e>=12736&&e<=12783||e>=12288&&e<=12351&&!(e>=12296&&e<=12305||e>=12308&&e<=12319||12336===e)||e>=13312&&e<=19903||e>=19968&&e<=40959||e>=12800&&e<=13055||e>=12592&&e<=12687||e>=43360&&e<=43391||e>=55216&&e<=55295||e>=4352&&e<=4607||e>=44032&&e<=55215||e>=12352&&e<=12447||e>=12272&&e<=12287||e>=12688&&e<=12703||e>=12032&&e<=12255||e>=12784&&e<=12799||e>=12448&&e<=12543&&12540!==e||e>=65280&&e<=65519&&!(65288===e||65289===e||65293===e||e>=65306&&e<=65310||65339===e||65341===e||65343===e||e>=65371&&e<=65503||65507===e||e>=65512&&e<=65519)||e>=65104&&e<=65135&&!(e>=65112&&e<=65118||e>=65123&&e<=65126)||e>=5120&&e<=5759||e>=6320&&e<=6399||e>=65040&&e<=65055||e>=19904&&e<=19967||e>=40960&&e<=42127||e>=42128&&e<=42191)}function l(e){return!(e<11904)&&(e>=12704&&e<=12735||e>=12544&&e<=12591||e>=65072&&e<=65103||e>=63744&&e<=64255||e>=13056&&e<=13311||e>=11904&&e<=12031||e>=12736&&e<=12783||e>=12288&&e<=12351||e>=13312&&e<=19903||e>=19968&&e<=40959||e>=12800&&e<=13055||e>=65280&&e<=65519||e>=12352&&e<=12447||e>=12272&&e<=12287||e>=12032&&e<=12255||e>=12784&&e<=12799||e>=12448&&e<=12543||e>=65040&&e<=65055||e>=42128&&e<=42191||e>=40960&&e<=42127)}function h(e){switch(e){case 10:case 32:case 38:case 40:case 41:case 43:case 45:case 47:case 173:case 183:case 8203:case 8208:case 8211:case 8231:return!0}return!1}function c(e){switch(e){case 9:case 10:case 11:case 12:case 13:case 32:return!0}return!1}var u=r(18989);const f=24;class d{constructor(e,t,r,n,s,i,a){this._glyphItems=e,this._maxWidth=t,this._lineHeight=r,this._letterSpacing=n,this._hAnchor=s,this._vAnchor=i,this._justify=a}getShaping(e,t,r){const n=this._letterSpacing,s=this._lineHeight,i=this._justify,a=this._maxWidth,u=[];let f=0,d=0;for(const t of e){const e=t.codePointAt(0);if(null==e)continue;const s=r&&o(e);let i;for(const t of this._glyphItems)if(i=t[e],i)break;u.push({codePoint:e,x:f,y:d,vertical:s,glyphMosaicItem:i}),i&&(f+=i.metrics.advance+n)}let p=f;a>0&&(p=f/Math.max(1,Math.ceil(f/a)));const y=e.includes(""),x=[],g=u.length;for(let e=0;e<g-1;e++){const t=u[e].codePoint,r=l(t);if(h(t)||r){let n=0;if(10===t)n-=1e4;else if(r&&y)n+=150;else{40!==t&&65288!==t||(n+=50);const r=u[e+1].codePoint;41!==r&&65289!==r||(n+=50)}x.push(this._buildBreak(e+1,u[e].x,p,x,n,!1))}}const _=this._optimalBreaks(this._buildBreak(g,f,p,x,0,!0));let m=0;const b=t?-s:s;let w=0;for(let e=0;e<_.length;e++){const t=_[e];let r=w;for(;r<t&&c(u[r].codePoint);)u[r].glyphMosaicItem=null,++r;let n=t-1;for(;n>r&&c(u[n].codePoint);)u[n].glyphMosaicItem=null,--n;if(r<=n){const e=u[r].x;for(let t=r;t<=n;t++)u[t].x-=e,u[t].y=d;let t=u[n].x;u[n].glyphMosaicItem&&(t+=u[n].glyphMosaicItem.metrics.advance),m=Math.max(t,m),i&&this._applyJustification(u,r,n)}w=t,d+=b}if(u.length>0){const e=_.length-1,r=(i-this._hAnchor)*m;let n=(-this._vAnchor*(e+1)+.5)*s;t&&e&&(n+=e*s);for(const e of u)e.x+=r,e.y+=n}return u.filter(e=>e.glyphMosaicItem)}static getTextBox(e,t){if(!e.length)return null;let r=1/0,n=1/0,s=0,i=0;for(const a of e){const e=a.glyphMosaicItem.metrics.advance,o=a.x,l=a.y-17,h=o+e,c=l+t;r=Math.min(r,o),s=Math.max(s,h),n=Math.min(n,l),i=Math.max(i,c)}return{x:r,y:n,width:s-r,height:i-n}}static getBox(e){if(!e.length)return null;let t=1/0,r=1/0,n=0,s=0;for(const i of e){const{height:e,left:a,top:o,width:l}=i.glyphMosaicItem.metrics,h=i.x,c=i.y-(e-Math.abs(o)),u=h+l+a,f=c+e;t=Math.min(t,h),n=Math.max(n,u),r=Math.min(r,c),s=Math.max(s,f)}return{x:t,y:r,width:n-t,height:s-r}}static addDecoration(e,t){const r=e.length;if(0===r)return;let n=e[0].x+e[0].glyphMosaicItem.metrics.left,s=e[0].y;for(let i=1;i<r;i++){const r=e[i];if(r.y!==s){const a=e[i-1].x+e[i-1].glyphMosaicItem.metrics.left+e[i-1].glyphMosaicItem.metrics.width;e.push({codePoint:0,x:n,y:s+t-3,vertical:!1,glyphMosaicItem:{sdf:!0,rect:new u.A(4,0,4,8),metrics:{width:a-n,height:8,left:0,top:0,advance:0},page:0,code:0}}),s=r.y,n=r.x+r.glyphMosaicItem.metrics.left}}const i=e[r-1].x+e[r-1].glyphMosaicItem.metrics.left+e[r-1].glyphMosaicItem.metrics.width;e.push({codePoint:0,x:n,y:s+t-3,vertical:!1,glyphMosaicItem:{sdf:!0,rect:new u.A(4,0,4,8),metrics:{width:i-n,height:8,left:0,top:0,advance:0},page:0,code:0}})}_breakScore(e,t,r,n){const s=(e-t)*(e-t);return n?e<t?s/2:2*s:s+Math.abs(r)*r}_buildBreak(e,t,r,n,s,i){let a=null,o=this._breakScore(t,r,s,i);for(const e of n){const n=t-e.x,l=this._breakScore(n,r,s,i)+e.score;l<=o&&(a=e,o=l)}return{index:e,x:t,score:o,previousBreak:a}}_optimalBreaks(e){return e?this._optimalBreaks(e.previousBreak).concat(e.index):[]}_applyJustification(e,t,r){const n=e[r],s=n.vertical?f:n.glyphMosaicItem?n.glyphMosaicItem.metrics.advance:0,i=(n.x+s)*this._justify;for(let n=t;n<=r;n++)e[n].x-=i}}const p=.5;class y{constructor(e,t,r=0,n=-1,s=p){this.x=e,this.y=t,this.angle=r,this.segment=n,this.minzoom=s}}class x{constructor(e,t,r,n,s,i=p,o=a.MG){this.anchor=e,this.labelAngle=t,this.glyphAngle=r,this.page=n,this.alternateVerticalGlyph=s,this.minzoom=i,this.maxzoom=o}}class g{constructor(e,t,r,n,s,i,a,o,l,h,c,u){this.tl=e,this.tr=t,this.bl=r,this.br=n,this.mosaicRect=s,this.labelAngle=i,this.minAngle=a,this.maxAngle=o,this.anchor=l,this.minzoom=h,this.maxzoom=c,this.page=u}}class _{constructor(e){this.shapes=e}}class m{getIconPlacement(e,t,r){const n=new s.bR(e.x,e.y),i=0===r.rotationAlignment,o=r.keepUpright;let l=r.rotate*a.os;i&&(l+=e.angle);const h=new _([]);return r.allowOverlap&&r.ignorePlacement||(h.iconColliders=[]),this._addIconPlacement(h,n,t,r,l),i&&o&&this._addIconPlacement(h,n,t,r,l+a.Jo),h}_addIconPlacement(e,t,r,n,i){const o=r.rasterizationScale,l=r.width/o,h=r.height/o,c=n.offset;let u=c[0],f=c[1];switch(n.anchor){case 0:u-=l/2,f-=h/2;break;case 1:f-=h/2;break;case 2:u-=l,f-=h/2;break;case 3:u-=l/2;break;case 4:u-=l/2,f-=h;break;case 5:break;case 7:f-=h;break;case 6:u-=l;break;case 8:u-=l,f-=h}const d=r.rect,y=2/o,x=u-y,_=f-y,m=x+d.width/o,b=_+d.height/o,w=new s.bR(x,_),M=new s.bR(m,b),I=new s.bR(x,b),v=new s.bR(m,_);if(0!==i){const e=Math.cos(i),t=Math.sin(i);w.rotate(e,t),M.rotate(e,t),I.rotate(e,t),v.rotate(e,t)}const k=new g(w,v,I,M,d,i,0,256,t,p,a.MG,0);if(e.shapes.push(k),!n.allowOverlap||!n.ignorePlacement){const r=n.size,s=n.padding,o={xTile:t.x,yTile:t.y,dxPixels:u*r-s,dyPixels:f*r-s,hard:!n.optional,partIndex:0,width:l*r+2*s,height:h*r+2*s,angle:i,minLod:p,maxLod:a.MG};e.iconColliders.push(o)}}getTextPlacement(e,t,r,n){const o=new s.bR(e.x,e.y),l=n.rotate*a.os,h=0===n.rotationAlignment,c=n.keepUpright,u=n.padding;let y=p;const m=h?e.angle:0,b=e.segment>=0&&h,w=n.allowOverlap&&n.ignorePlacement?null:[],M=[],I=!b;let v=Number.POSITIVE_INFINITY,k=Number.NEGATIVE_INFINITY,P=v,V=k;const A=(b||h)&&c,B=n.size/f;let D=!1;for(const e of t)if(e.vertical){D=!0;break}let S,L=0,R=0;if(!b&&D){const e=d.getTextBox(t,n.lineHeight*f);switch(n.anchor){case 1:L=e.height/2,R=-e.width/2;break;case 2:L=-e.height/2,R=e.width/2;break;case 3:L=e.height/2,R=e.width/2;break;case 4:L=-e.height/2,R=-e.width/2;break;case 5:L=e.height;break;case 7:R=-e.width;break;case 6:R=e.width;break;case 8:L=-e.height}}L+=n.offset[0]*f,R+=n.offset[1]*f;for(const f of t){const t=f.glyphMosaicItem;if(!t||t.rect.isEmpty)continue;const d=t.rect,_=t.metrics,C=t.page;if(w&&I){if(void 0!==S&&S!==f.y){let t,r,s,i;D?(t=-V+L,r=v+R,s=V-P,i=k-v):(t=v+L,r=P+R,s=k-v,i=V-P);const o={xTile:e.x,yTile:e.y,dxPixels:t*B-u,dyPixels:r*B-u,hard:!n.optional,partIndex:1,width:s*B+2*u,height:i*B+2*u,angle:l,minLod:p,maxLod:a.MG};w.push(o),v=Number.POSITIVE_INFINITY,k=Number.NEGATIVE_INFINITY,P=v,V=k}S=f.y}const T=[];if(b){const n=.5*t.metrics.width,s=(f.x+_.left-4+n)*B*i.ih;if(y=this._placeGlyph(e,y,s,r,e.segment,1,f.vertical,C,T),c&&(y=this._placeGlyph(e,y,s,r,e.segment,-1,f.vertical,C,T)),y>=2)break}else T.push(new x(o,m,m,C,!1)),h&&c&&T.push(new x(o,m+a.Jo,m+a.Jo,C,!1));const z=f.x+_.left,U=f.y-17-_.top,N=z+_.width,F=U+_.height;let E,O,G,Z,j,W,q,K;if(!b&&D)if(f.vertical){const e=(z+N)/2-_.height/2,t=(U+F)/2+_.width/2;E=new s.bR(-t-4+L,e-4+R),O=new s.bR(E.x+d.width,E.y+d.height),G=new s.bR(E.x,O.y),Z=new s.bR(O.x,E.y)}else E=new s.bR(4-U+L,z-4+R),O=new s.bR(E.x-d.height,E.y+d.width),G=new s.bR(O.x,E.y),Z=new s.bR(E.x,O.y);else E=new s.bR(z-4+L,U-4+R),O=new s.bR(E.x+d.width,E.y+d.height),G=new s.bR(E.x,O.y),Z=new s.bR(O.x,E.y);for(const t of T){let r,i,a,o;if(t.alternateVerticalGlyph){if(!j){const e=(U+F)/2+R;j=new s.bR((z+N)/2+L-_.height/2-4,e+_.width/2+4),W=new s.bR(j.x+d.height,j.y-d.width),q=new s.bR(W.x,j.y),K=new s.bR(j.x,W.y)}r=j,i=q,a=K,o=W}else r=E,i=G,a=Z,o=O;const h=U,c=F,p=t.glyphAngle+l;if(0!==p){const e=Math.cos(p),t=Math.sin(p);r=r.clone(),i=i?.clone(),a=a?.clone(),o=o?.clone(),r.rotate(e,t),o?.rotate(e,t),i?.rotate(e,t),a?.rotate(e,t)}let y=0,x=256;if(b&&D?f.vertical?t.alternateVerticalGlyph?(y=32,x=96):(y=224,x=32):(y=224,x=96):(y=192,x=64),M.push(new g(r,a,i,o,d,t.labelAngle,y,x,t.anchor,t.minzoom,t.maxzoom,t.page)),w&&(!A||this._legible(t.labelAngle)))if(I)z<v&&(v=z),h<P&&(P=h),N>k&&(k=N),c>V&&(V=c);else if(t.minzoom<2){const r={xTile:e.x,yTile:e.y,dxPixels:(z+L)*B-u,dyPixels:(h+L)*B-u,hard:!n.optional,partIndex:1,width:(N-z)*B+2*u,height:(c-h)*B+2*u,angle:p,minLod:t.minzoom,maxLod:t.maxzoom};w.push(r)}}}if(y>=2)return null;if(w&&I){let t,r,s,i;D?(t=-V+L,r=v+R,s=V-P,i=k-v):(t=v+L,r=P+R,s=k-v,i=V-P);const o={xTile:e.x,yTile:e.y,dxPixels:t*B-u,dyPixels:r*B-u,hard:!n.optional,partIndex:1,width:s*B+2*u,height:i*B+2*u,angle:l,minLod:p,maxLod:a.MG};w.push(o)}const C=new _(M);return w&&w.length>0&&(C.textColliders=w),C}_legible(e){const t=(0,a.z0)(e);return t<65||t>=193}_placeGlyph(e,t,r,n,i,o,l,h,c){let u=o;const f=u<0?(0,a.Wh)(e.angle+a.Jo,a.pJ):e.angle;let d=0;r<0&&(u*=-1,r*=-1,d=a.Jo),u>0&&++i;let p=new s.bR(e.x,e.y),y=n[i],g=a.MG;if(n.length<=i)return g;for(;;){const e=y.x-p.x,s=y.y-p.y,o=Math.sqrt(e*e+s*s),_=Math.max(r/o,t),m=e/o,b=s/o,w=(0,a.Wh)(Math.atan2(b,m)+d,a.pJ);if(c.push(new x(p,f,w,h,!1,_,g)),l&&c.push(new x(p,f,w,h,!0,_,g)),_<=t)return _;p=y.clone();do{if(i+=u,n.length<=i||i<0)return _;y=n[i]}while(p.isEqual(y));let M=y.x-p.x,I=y.y-p.y;const v=Math.sqrt(M*M+I*I);M*=o/v,I*=o/v,p.x-=M,p.y-=I,g=_}}}var b=r(51624),w=r(15585);class M{constructor(e,t,r=0){this.values={},this._geometry=void 0,this._pbfGeometry=null,this.featureIndex=r;const n=t.keys,s=t.values,i=e.asUnsafe();for(;i.next();)switch(i.tag()){case 1:this.id=i.getUInt64();break;case 2:{const e=i.getMessage().asUnsafe(),t=this.values;for(;!e.empty();){const r=e.getUInt32(),i=e.getUInt32();t[n[r]]=s[i]}e.release();break}case 3:this.type=i.getUInt32();break;case 4:this._pbfGeometry=i.getMessage();break;default:i.skip()}}getGeometry(e){if(void 0!==this._geometry)return this._geometry;if(!this._pbfGeometry)return null;const t=this._pbfGeometry.asUnsafe();let r,n;this._pbfGeometry=null,e?e.reset(this.type):r=[];let i,a=1,o=0,l=0,h=0;for(;!t.empty();){if(0===o){const e=t.getUInt32();a=7&e,o=e>>3}switch(o--,a){case 1:l+=t.getSInt32(),h+=t.getSInt32(),e?e.moveTo(l,h):r&&(n&&r.push(n),n=[],n.push(new s.bR(l,h)));break;case 2:l+=t.getSInt32(),h+=t.getSInt32(),e?e.lineTo(l,h):n&&n.push(new s.bR(l,h));break;case 7:e?e.close():n&&!n[0].equals(l,h)&&n.push(n[0].clone());break;default:throw t.release(),new Error("Invalid path operation")}}return e?i=e.result():r&&(n&&r.push(n),i=r),t.release(),this._geometry=i,i}}r(44208);class I{constructor(e){this._array=[],this._stride=e}get array(){return this._array}get index(){return 4*this._array.length/this._stride}get itemSize(){return this._stride}get sizeInBytes(){return 4*this._array.length}reset(){this.array.length=0}toBuffer(){return new Uint32Array(this._array).buffer}}class v extends I{constructor(){super(12)}add(e,t,r){const n=this.array;n.push(e),n.push(t),n.push(r)}}class k{constructor(e){this.extent=i.vA,this.keys=[],this.values=[],this._pbfLayer=e.clone();const t=e.asUnsafe();for(;t.next();)switch(t.tag()){case 1:this.name=t.getString();break;case 3:this.keys.push(t.getString());break;case 4:this.values.push(t.processMessage(k._parseValue));break;case 5:this.extent=t.getUInt32();break;default:t.skip()}}getData(){return this._pbfLayer}static _parseValue(e){for(;e.next();)switch(e.tag()){case 1:return e.getString();case 2:return e.getFloat();case 3:return e.getDouble();case 4:return e.getInt64();case 5:return e.getUInt64();case 6:return e.getSInt64();case 7:return e.getBool();default:e.skip()}return null}}var P=r(89518);class V extends I{constructor(e){super(e)}add(e,t,r,n,s,i,a,o,l,h,c,u){const f=this.array;let d=(0,P.M9)(e,t);f.push(d);const p=31;d=(0,P.Ss)(Math.round(p*r),Math.round(p*n),Math.round(p*s),Math.round(p*i)),f.push(d),d=(0,P.Ss)(Math.round(p*a),Math.round(p*o),Math.round(p*l),Math.round(p*h)),f.push(d),d=(0,P.M9)(c,0),f.push(d),u&&f.push(...u)}}class A extends I{constructor(e){super(e)}add(e,t,r){const n=this.array;n.push((0,P.M9)(e,t)),r&&n.push(...r)}}class B extends I{constructor(e){super(e)}add(e,t,r,n,s,i,a){const o=this.array,l=this.index;let h=(0,P.M9)(e,t);return o.push(h),h=(0,P.Ss)(Math.round(15*r),Math.round(15*n),s,i),o.push(h),a&&o.push(...a),l}}class D extends I{constructor(e){super(e)}add(e,t,r,n,s,i,o,l,h,c,u,f){const d=this.array;let p=(0,P.M9)(e,t);d.push(p),p=(0,P.M9)(Math.round(8*r),Math.round(8*n)),d.push(p),p=(0,P.M9)((0,P.ws)(s/4,i/4),(0,P.ws)(l,h)),d.push(p),p=(0,P.M9)((0,P.ws)(0,(0,a.z0)(o)),(0,P.ws)(10*c,Math.min(10*u,255))),d.push(p),f&&d.push(...f)}}class S extends I{constructor(e){super(e)}add(e,t,r,n,s){const i=this.array,a=(0,P.M9)(2*e+r,2*t+n);i.push(a),s&&i.push(...s)}}class L{constructor(e,t,r){this.layerExtent=i.vA,this._features=[],this.layer=e,this.zoom=t,this._spriteInfo=r,this._filter=e.getFeatureFilter()}pushFeature(e){this._filter&&!this._filter.filter(e,this.zoom)||this._features.push(e)}hasFeatures(){return this._features.length>0}getResources(e,t,r){}}class R extends L{constructor(e,t,r,n,s){super(e,t,r),this.type=4,this._circleVertexBuffer=n,this._circleIndexBuffer=s}get circleIndexStart(){return this._circleIndexStart}get circleIndexCount(){return this._circleIndexCount}processFeatures(e){const t=this._circleVertexBuffer,r=this._circleIndexBuffer;this._circleIndexStart=3*r.index,this._circleIndexCount=0;const n=this.layer,s=this.zoom;e&&e.setExtent(this.layerExtent);for(const i of this._features){const a=i.getGeometry(e);if(!a)continue;const o=n.circleMaterial.encodeAttributes(i,s,n);for(const e of a)if(e)for(const n of e){const e=t.index;t.add(n.x,n.y,0,0,o),t.add(n.x,n.y,0,1,o),t.add(n.x,n.y,1,0,o),t.add(n.x,n.y,1,1,o),r.add(e,e+1,e+2),r.add(e+1,e+2,e+3),this._circleIndexCount+=6}}}serialize(){let e=6;e+=this.layerUIDs.length,e+=this._circleVertexBuffer.array.length,e+=this._circleIndexBuffer.array.length;const t=new Uint32Array(e),r=new Int32Array(t.buffer);let n=0;t[n++]=this.type,t[n++]=this.layerUIDs.length;for(let e=0;e<this.layerUIDs.length;e++)t[n++]=this.layerUIDs[e];t[n++]=this._circleIndexStart,t[n++]=this._circleIndexCount,t[n++]=this._circleVertexBuffer.array.length;for(let e=0;e<this._circleVertexBuffer.array.length;e++)r[n++]=this._circleVertexBuffer.array[e];t[n++]=this._circleIndexBuffer.array.length;for(let e=0;e<this._circleIndexBuffer.array.length;e++)t[n++]=this._circleIndexBuffer.array[e];return t.buffer}}var C=r(98291),T=r(83349);class z extends L{constructor(e,t,r,n,s,i,a){super(e,t,r),this.type=1,this._patternMap=new Map,this._fillVertexBuffer=n,this._fillIndexBuffer=s,this._outlineVertexBuffer=i,this._outlineIndexBuffer=a}get fillIndexStart(){return this._fillIndexStart}get fillIndexCount(){return this._fillIndexCount}get outlineIndexStart(){return this._outlineIndexStart}get outlineIndexCount(){return this._outlineIndexCount}getResources(e,t,r){const n=this.layer,s=this.zoom,i=n.getPaintProperty("fill-pattern");if(i)if(i.isDataDriven)for(const e of this._features)t(i.getValue(s,e),!0);else t(i.getValue(s),!0)}processFeatures(e){this._fillIndexStart=3*this._fillIndexBuffer.index,this._fillIndexCount=0,this._outlineIndexStart=3*this._outlineIndexBuffer.index,this._outlineIndexCount=0;const t=this.layer,r=this.zoom,{fillMaterial:n,outlineMaterial:s,hasDataDrivenFill:i,hasDataDrivenOutline:a}=t;e&&e.setExtent(this.layerExtent);const o=t.getPaintProperty("fill-pattern"),l=o?.isDataDriven;let h=!o&&t.getPaintValue("fill-antialias",r);if(t.outlineUsesFillColor){if(h&&!t.hasDataDrivenOpacity){const e=t.getPaintValue("fill-opacity",r),n=t.getPaintValue("fill-opacity",r+1);e<1&&n<1&&(h=!1)}if(h&&!t.hasDataDrivenColor){const e=t.getPaintValue("fill-color",r),n=t.getPaintValue("fill-color",r+1);e[3]<1&&n[3]<1&&(h=!1)}}const c=this._features,u=e?.validateTessellation;if(l){const i=[];for(const l of c){const c=o.getValue(r,l),f=this._spriteInfo[c];if(!f?.rect)continue;const d=n.encodeAttributes(l,r,t,f),p=h&&a?s.encodeAttributes(l,r,t):[],y=l.getGeometry(e);i.push({ddFillAttributes:d,ddOutlineAttributes:p,page:f.page,geometry:y}),i.sort((e,t)=>e.page-t.page);for(const{ddFillAttributes:e,ddOutlineAttributes:r,page:n,geometry:s}of i)this._processFeature(s,h,t.outlineUsesFillColor,e,r,u,n)}}else for(const o of c){const l=i?n.encodeAttributes(o,r,t):null,c=h&&a?s.encodeAttributes(o,r,t):null,f=o.getGeometry(e);this._processFeature(f,h,t.outlineUsesFillColor,l,c,u)}}serialize(){let e=10;e+=this.layerUIDs.length,e+=this._fillVertexBuffer.array.length,e+=this._fillIndexBuffer.array.length,e+=this._outlineVertexBuffer.array.length,e+=this._outlineIndexBuffer.array.length,e+=3*this._patternMap.size+1;const t=new Uint32Array(e),r=new Int32Array(t.buffer);let n=0;t[n++]=this.type,t[n++]=this.layerUIDs.length;for(let e=0;e<this.layerUIDs.length;e++)t[n++]=this.layerUIDs[e];t[n++]=this._fillIndexStart,t[n++]=this._fillIndexCount,t[n++]=this._outlineIndexStart,t[n++]=this._outlineIndexCount;const s=this._patternMap,i=s.size;if(t[n++]=i,i>0)for(const[e,[r,i]]of s)t[n++]=e,t[n++]=r,t[n++]=i;t[n++]=this._fillVertexBuffer.array.length;for(let e=0;e<this._fillVertexBuffer.array.length;e++)r[n++]=this._fillVertexBuffer.array[e];t[n++]=this._fillIndexBuffer.array.length;for(let e=0;e<this._fillIndexBuffer.array.length;e++)t[n++]=this._fillIndexBuffer.array[e];t[n++]=this._outlineVertexBuffer.array.length;for(let e=0;e<this._outlineVertexBuffer.array.length;e++)r[n++]=this._outlineVertexBuffer.array[e];t[n++]=this._outlineIndexBuffer.array.length;for(let e=0;e<this._outlineIndexBuffer.array.length;e++)t[n++]=this._outlineIndexBuffer.array[e];return t.buffer}_processFeature(e,t,r,n,s,i,a){if(!e)return;const o=e.length,l=!s||0===s.length;if(t&&(!r||l))for(let t=0;t<o;t++)this._processOutline(e[t],s);let h;for(let t=0;t<o;t++){const r=z._area(e[t]);r>32?(void 0!==h&&this._processFill(e,h,n,i,a),h=[t]):r<-32&&void 0!==h&&h.push(t)}void 0!==h&&this._processFill(e,h,n,i,a)}_processOutline(e,t){const r=this._outlineVertexBuffer,n=this._outlineIndexBuffer,i=n.index;let a,o,l;const h=new s.bR(0,0),c=new s.bR(0,0),u=new s.bR(0,0);let f=-1,d=-1,p=-1,y=-1,x=-1,g=!1,_=e.length;if(_<2)return;const m=e[0];let b=e[_-1];for(;_&&b.isEqual(m);)--_,b=e[_-1];if(!(_-0<2)){for(let s=0;s<_;++s){0===s?(a=e[_-1],o=e[0],l=e[1],h.assignSub(o,a),h.normalize(),h.rightPerpendicular()):(a=o,o=l,l=s!==_-1?e[s+1]:e[0],h.assign(c));const i=this._isClipEdge(a,o);-1===y&&(g=i),c.assignSub(l,o),c.normalize(),c.rightPerpendicular();const m=h.x*c.y-h.y*c.x;u.assignAdd(h,c),u.normalize();const b=-u.x*-h.x+-u.y*-h.y;let w=Math.abs(0!==b?1/b:1);w>8&&(w=8),m>=0?(p=r.add(o.x,o.y,h.x,h.y,0,1,t),-1===y&&(y=p),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p),d=r.add(o.x,o.y,w*-u.x,w*-u.y,0,-1,t),-1===x&&(x=d),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p),f=d,d=p,p=r.add(o.x,o.y,u.x,u.y,0,1,t),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p),d=r.add(o.x,o.y,c.x,c.y,0,1,t),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p)):(p=r.add(o.x,o.y,w*u.x,w*u.y,0,1,t),-1===y&&(y=p),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p),d=r.add(o.x,o.y,-h.x,-h.y,0,-1,t),-1===x&&(x=d),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p),f=d,d=p,p=r.add(o.x,o.y,-u.x,-u.y,0,-1,t),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p),f=r.add(o.x,o.y,-c.x,-c.y,0,-1,t),f>=0&&d>=0&&p>=0&&!i&&n.add(f,d,p))}f>=0&&d>=0&&y>=0&&!g&&n.add(f,d,y),f>=0&&y>=0&&x>=0&&!g&&n.add(f,x,y),this._outlineIndexCount+=3*(n.index-i)}}_processFill(e,t,r,n,s){let i;t.length>1&&(i=[]);let a=0;for(const r of t)0!==a&&i.push(a),a+=e[r].length;const o=2*a,l=C.A.acquire();for(const r of t){const t=e[r],n=t.length;for(let e=0;e<n;++e)l.push(t[e].x,t[e].y)}const h=(0,T.e)(l,i,2);if(T.e.deviation(l,i,2,h)>0){const n=t.map(t=>e[t].length),{buffer:i,vertexCount:a}=(0,w.QT)(l,n);if(a>0){const e=this._fillVertexBuffer.index;for(let e=0;e<a;e++)this._fillVertexBuffer.add(i[2*e],i[2*e+1],r);for(let t=0;t<a;t+=3){const r=e+t;this._fillIndexBuffer.add(r,r+1,r+2)}if(void 0!==s){const e=this._patternMap,t=e.get(s);t?t[1]+=a:e.set(s,[this._fillIndexStart+this._fillIndexCount,a])}this._fillIndexCount+=a}}else{const e=h.length;if(e>0){const t=this._fillVertexBuffer.index;let n=0;for(;n<o;)this._fillVertexBuffer.add(l[n++],l[n++],r);let i=0;for(;i<e;)this._fillIndexBuffer.add(t+h[i++],t+h[i++],t+h[i++]);if(void 0!==s){const t=this._patternMap,r=t.get(s);r?r[1]+=e:t.set(s,[this._fillIndexStart+this._fillIndexCount,e])}this._fillIndexCount+=e}}C.A.release(l)}_isClipEdge(e,t){return e.x===t.x?e.x<=-64||e.x>=4160:e.y===t.y&&(e.y<=-64||e.y>=4160)}static _area(e){let t=0;const r=e.length-1;for(let n=0;n<r;n++)t+=(e[n].x-e[n+1].x)*(e[n].y+e[n+1].y);return t+=(e[r].x-e[0].x)*(e[r].y+e[0].y),.5*t}}var U=r(83773);class N extends L{constructor(e,t,r,n,s){super(e,t,r),this.type=2,this._tessellationOptions={pixelCoordRatio:8,halfWidth:0,offset:0},this._patternMap=new Map,this.tessellationProperties={_lineVertexBuffer:null,_lineIndexBuffer:null,_ddValues:null},this.tessellationProperties._lineVertexBuffer=n,this.tessellationProperties._lineIndexBuffer=s,this._lineTessellator=new U.i(F(this.tessellationProperties),E(this.tessellationProperties),e.canUseThinTessellation)}get lineIndexStart(){return this._lineIndexStart}get lineIndexCount(){return this._lineIndexCount}getResources(e,t,r){const n=this.layer,s=this.zoom,i=n.getPaintProperty("line-pattern"),a=n.getPaintProperty("line-dasharray"),o=n.getLayoutProperty("line-cap");if(!i&&!a)return;const l=o?.getValue(s)||0,h=o?.isDataDriven,c=i?.isDataDriven,u=a?.isDataDriven;if(c||u)for(const e of this._features)t(c?i.getValue(s,e):this._getDashArrayKey(e,s,n,a,h,o,l));else if(i)t(i.getValue(s));else if(a){const e=a.getValue(s);t(n.getDashKey(e,l))}}processFeatures(e){this._lineIndexStart=3*this.tessellationProperties._lineIndexBuffer.index,this._lineIndexCount=0;const t=this.layer,r=this.zoom,n=this._features,s=this._tessellationOptions,{hasDataDrivenLine:i,lineMaterial:a}=t;e&&e.setExtent(this.layerExtent);const o=t.getPaintProperty("line-pattern"),l=t.getPaintProperty("line-dasharray"),h=o?.isDataDriven,c=l?.isDataDriven;let u;u=t.getLayoutProperty("line-cap");const f=u?.isDataDriven?u:null,d=f?null:t.getLayoutValue("line-cap",r),p=d||0,y=!!f;u=t.getLayoutProperty("line-join");const x=u?.isDataDriven?u:null,g=x?null:t.getLayoutValue("line-join",r);u=t.getLayoutProperty("line-miter-limit");const _=u?.isDataDriven?u:null,m=_?null:t.getLayoutValue("line-miter-limit",r);u=t.getLayoutProperty("line-round-limit");const b=u?.isDataDriven?u:null,w=b?null:t.getLayoutValue("line-round-limit",r);u=t.getPaintProperty("line-width");const M=u?.isDataDriven?u:null,I=M?null:t.getPaintValue("line-width",r);u=t.getPaintProperty("line-offset");const v=u?.isDataDriven?u:null,k=v?null:t.getPaintValue("line-offset",r);if(h||c){const i=[];for(const s of n){const n=h?o.getValue(r,s):this._getDashArrayKey(s,r,t,l,y,f,p),c=this._spriteInfo[n];if(!c?.rect)continue;const u=a.encodeAttributes(s,r,t,c),P=s.getGeometry(e);i.push({ddAttributes:u,page:c.page,cap:f?f.getValue(r,s):d,join:x?x.getValue(r,s):g,miterLimit:_?_.getValue(r,s):m,roundLimit:b?b.getValue(r,s):w,halfWidth:.5*(M?M.getValue(r,s):I),offset:v?v.getValue(r,s):k,geometry:P})}i.sort((e,t)=>e.page-t.page),s.textured=!0;for(const{ddAttributes:e,page:t,cap:r,join:n,miterLimit:a,roundLimit:o,halfWidth:l,offset:h,geometry:c}of i)s.capType=r,s.joinType=n,s.miterLimit=a,s.roundLimit=o,s.halfWidth=l,s.offset=h,this._processFeature(c,e,t)}else{if(o){const e=o.getValue(r),t=this._spriteInfo[e];if(!t?.rect)return}s.textured=!(!o&&!l),s.capType=d,s.joinType=g,s.miterLimit=m,s.roundLimit=w,s.halfWidth=.5*I,s.offset=k;for(const o of n){const n=i?a.encodeAttributes(o,r,t):null;f&&(s.capType=f.getValue(r,o)),x&&(s.joinType=x.getValue(r,o)),_&&(s.miterLimit=_.getValue(r,o)),b&&(s.roundLimit=b.getValue(r,o)),M&&(s.halfWidth=.5*M.getValue(r,o)),v&&(s.offset=v.getValue(r,o));const l=o.getGeometry(e);this._processFeature(l,n)}}}serialize(){let e=6;e+=this.layerUIDs.length,e+=this.tessellationProperties._lineVertexBuffer.array.length,e+=this.tessellationProperties._lineIndexBuffer.array.length,e+=3*this._patternMap.size+1;const t=new Uint32Array(e),r=new Int32Array(t.buffer);let n=0;t[n++]=this.type,t[n++]=this.layerUIDs.length;for(let e=0;e<this.layerUIDs.length;e++)t[n++]=this.layerUIDs[e];t[n++]=this._lineIndexStart,t[n++]=this._lineIndexCount;const s=this._patternMap,i=s.size;if(t[n++]=i,i>0)for(const[e,[r,i]]of s)t[n++]=e,t[n++]=r,t[n++]=i;t[n++]=this.tessellationProperties._lineVertexBuffer.array.length;for(let e=0;e<this.tessellationProperties._lineVertexBuffer.array.length;e++)r[n++]=this.tessellationProperties._lineVertexBuffer.array[e];t[n++]=this.tessellationProperties._lineIndexBuffer.array.length;for(let e=0;e<this.tessellationProperties._lineIndexBuffer.array.length;e++)t[n++]=this.tessellationProperties._lineIndexBuffer.array[e];return t.buffer}_processFeature(e,t,r){if(!e)return;const n=e.length;for(let s=0;s<n;s++)this._processGeometry(e[s],t,r)}_processGeometry(e,t,r){if(e.length<2)return;let n,s,i=e[0],a=1;for(;a<e.length;)n=e[a].x-i.x,s=e[a].y-i.y,n*n+s*s<1e-6?e.splice(a,1):(i=e[a],++a);if(e.length<2)return;const o=this.tessellationProperties._lineIndexBuffer,l=3*o.index;this._tessellationOptions.initialDistance=0,this._tessellationOptions.wrapDistance=65535,this.tessellationProperties._ddValues=t,this._lineTessellator.tessellate(e,this._tessellationOptions);const h=3*o.index-l;if(void 0!==r){const e=this._patternMap,t=e.get(r);t?t[1]+=h:e.set(r,[l+this._lineIndexCount,h])}this._lineIndexCount+=h}_getDashArrayKey(e,t,r,n,s,i,a){const o=s?i.getValue(t,e):a,l=n.getValue(t,e);return r.getDashKey(l,o)}}const F=e=>(t,r,n,s,i,a,o,l,h,c,u)=>(e._lineVertexBuffer.add(t,r,o,l,n,s,i,a,h,c,u,e._ddValues),e._lineVertexBuffer.index-1),E=e=>(t,r,n)=>{e._lineIndexBuffer.add(t,r,n)};var O=r(32488),G=r(97768),Z=r(799),j=r(4264);function W(e,t){return e.iconMosaicItem&&t.iconMosaicItem?e.iconMosaicItem.page===t.iconMosaicItem.page?0:e.iconMosaicItem.page-t.iconMosaicItem.page:e.iconMosaicItem&&!t.iconMosaicItem?1:!e.iconMosaicItem&&t.iconMosaicItem?-1:0}class q extends L{constructor(e,t,r,n,s,i,a,o,l){super(t,r,l.getSpriteItems()),this.type=3,this._markerMap=new Map,this._glyphMap=new Map,this._glyphBufferDataStorage=new Map,this._isIconSDF=!1,this._sourceTileKey=e,this._iconVertexBuffer=n,this._iconIndexBuffer=s,this._textVertexBuffer=i,this._textIndexBuffer=a,this._placementEngine=o,this._workerTileHandler=l}get markerPageMap(){return this._markerMap}get glyphsPageMap(){return this._glyphMap}get symbolInstances(){return this._symbolInstances}static{this._bidiEngine=new O.A}getResources(e,t,r){const n=this.layer,s=this.zoom;e&&e.setExtent(this.layerExtent);const i=n.getLayoutProperty("icon-image"),a=n.getLayoutProperty("text-field");let o=n.getLayoutProperty("text-transform"),l=n.getLayoutProperty("text-font");const h=[];let c,u,f,d;i&&!i.isDataDriven&&(c=i.getValue(s)),a&&!a.isDataDriven&&(u=a.getValue(s)),o&&o.isDataDriven||(f=n.getLayoutValue("text-transform",s),o=null),l&&l.isDataDriven||(d=n.getLayoutValue("text-font",s),l=null);for(const p of this._features){const y=p.getGeometry(e);if(!y||0===y.length)continue;let x,g;i&&(x=i.isDataDriven?i.getValue(s,p):this._replaceKeys(c,p.values),x&&t(x));let _=!1;if(a&&(g=a.isDataDriven?a.getValue(s,p):this._replaceKeys(u,p.values),g)){switch(g=g.replaceAll("\\n","\n"),o&&(f=o.getValue(s,p)),f){case 2:g=g.toLowerCase();break;case 1:g=g.toUpperCase()}if(q._bidiEngine.hasBidiChar(g)){let e;e="rtl"===q._bidiEngine.checkContextual(g)?"IDNNN":"ICNNN",g=q._bidiEngine.bidiTransform(g,e,"VLYSN"),_=!0}if(g.length>0){l&&(d=l.getValue(s,p));for(const e of d){let t=r[e];t||(t=r[e]=new Set);for(const e of g){const r=e.codePointAt(0);null!=r&&t.add(r)}}}}if(!x&&!g)continue;const m=n.getLayoutValue("symbol-sort-key",s,p),b={feature:p,sprite:x,label:g,rtl:_,geometry:y,hash:(g?(0,Z.Wm)(g):0)^(x?(0,Z.Wm)(x):0),priority:m,textFont:d};h.push(b)}this._symbolFeatures=h}processFeatures(e){e&&e.setExtent(this.layerExtent);const t=this.layer,r=this.zoom,n=t.getLayoutValue("symbol-placement",r),s=0!==n,o=t.getLayoutValue("symbol-spacing",r)*i.ih,l=t.getLayoutProperty("icon-image"),h=t.getLayoutProperty("text-field"),c=l?new j.aR(t,r,s):null,u=h?new j.uU(t,r,s):null,p=this._workerTileHandler;let x;l&&(x=p.getSpriteItems()),this._iconIndexStart=3*this._iconIndexBuffer.index,this._textIndexStart=3*this._textIndexBuffer.index,this._iconIndexCount=0,this._textIndexCount=0,this._markerMap.clear(),this._glyphMap.clear();const g=[];let _=1;u?.size&&(_=u.size/f);const m=u?u.maxAngle*a.os:0,b=u?u.size*i.ih:0;for(const e of this._symbolFeatures){let t,a;c&&x&&e.sprite&&(t=x[e.sprite],t&&t.sdf&&(this._isIconSDF=!0)),t&&c.update(r,e.feature);let l=0;const h=e.label;if(h){(0,G.Lw)(u),u.update(r,e.feature);const t=s&&0===u.rotationAlignment?u.keepUpright:u.writingMode&&u.writingMode.includes(1);let n=.5;switch(u.anchor){case 5:case 1:case 7:n=0;break;case 6:case 2:case 8:n=1}let o=.5;switch(u.anchor){case 5:case 3:case 6:o=0;break;case 7:case 4:case 8:o=1}let c=.5;switch(u.justify){case 0:c=n;break;case 1:c=0;break;case 3:c=1}const y=u.letterSpacing*f,x=s?0:u.maxWidth*f,g=u.lineHeight*f,m=e.textFont.map(e=>p.getGlyphItems(e));if(a=new d(m,x,g,y,n,o,c).getShaping(h,e.rtl,t),a&&a.length>0){let e=1e30,t=-1e30;for(const r of a)e=Math.min(e,r.x),t=Math.max(t,r.x);l=(t-e+48)*_*i.ih}}for(let r of e.geometry){const h=[];if(1===n){if(a?.length&&u?.size){const e=u.size*i.ih*(2+Math.min(2,4*Math.abs(u.offset[1])));r=q._smoothVertices(r,e)}q._pushAnchors(h,r,o,l)}else 2===n?q._pushCenterAnchor(h,r):3===e.feature.type?q._pushCentroid(h,r):h.push(new y(r[0].x,r[0].y));for(const n of h){if(n.x<0||n.x>i.vA||n.y<0||n.y>i.vA)continue;if(s&&l>0&&0===u?.rotationAlignment&&!q._honorsTextMaxAngle(r,n,l,m,b))continue;const o={shaping:a,line:r,iconMosaicItem:t,anchor:n,symbolFeature:e,textColliders:[],iconColliders:[],textVertexRanges:[],iconVertexRanges:[]};g.push(o),this._processFeature(o,c,u)}}}g.sort(W),this._addPlacedGlyphs(),this._symbolInstances=g}serialize(){let e=14;e+=this.layerUIDs.length,e+=3*this.markerPageMap.size,e+=3*this.glyphsPageMap.size,e+=q._symbolsSerializationLength(this._symbolInstances),e+=this._iconVertexBuffer.array.length,e+=this._iconIndexBuffer.array.length,e+=this._textVertexBuffer.array.length,e+=this._textIndexBuffer.array.length;const t=new Uint32Array(e),r=new Int32Array(t.buffer),n=new Float32Array(t.buffer),[s,i,a]=this._sourceTileKey.split("/");let o=0;t[o++]=this.type,t[o++]=this.layerUIDs.length;for(let e=0;e<this.layerUIDs.length;e++)t[o++]=this.layerUIDs[e];t[o++]=this._isIconSDF?1:0,t[o++]=parseFloat(s),t[o++]=parseFloat(i),t[o++]=parseFloat(a),t[o++]=this.markerPageMap.size;for(const[e,[r,n]]of this.markerPageMap)t[o++]=e,t[o++]=r,t[o++]=n;t[o++]=this.glyphsPageMap.size;for(const[e,[r,n]]of this.glyphsPageMap)t[o++]=e,t[o++]=r,t[o++]=n;t[o++]=this._iconVertexBuffer.index/4,t[o++]=this._textVertexBuffer.index/4,o=q.serializeSymbols(t,r,n,o,this._symbolInstances),t[o++]=this._iconVertexBuffer.array.length;for(let e=0;e<this._iconVertexBuffer.array.length;e++)r[o++]=this._iconVertexBuffer.array[e];t[o++]=this._iconIndexBuffer.array.length;for(let e=0;e<this._iconIndexBuffer.array.length;e++)t[o++]=this._iconIndexBuffer.array[e];t[o++]=this._textVertexBuffer.array.length;for(let e=0;e<this._textVertexBuffer.array.length;e++)r[o++]=this._textVertexBuffer.array[e];t[o++]=this._textIndexBuffer.array.length;for(let e=0;e<this._textIndexBuffer.array.length;e++)t[o++]=this._textIndexBuffer.array[e];return t.buffer}static _symbolsSerializationLength(e){let t=0;t+=1;for(const r of e||[]){t+=5,t+=1;for(const e of r.textColliders)t+=10;for(const e of r.iconColliders)t+=10;t+=1,t+=2*r.textVertexRanges.length,t+=1,t+=2*r.iconVertexRanges.length}return t}static serializeSymbols(e,t,r,n,s){s=s||[],t[n++]=s.length;for(const e of s){t[n++]=e.anchor.x,t[n++]=e.anchor.y,t[n++]=e.symbolFeature.hash,t[n++]=e.symbolFeature.priority,t[n++]=e.symbolFeature.feature.featureIndex,t[n++]=e.textColliders.length+e.iconColliders.length;for(const s of e.textColliders)t[n++]=s.xTile,t[n++]=s.yTile,t[n++]=s.dxPixels,t[n++]=s.dyPixels,t[n++]=s.hard?1:0,t[n++]=s.partIndex,r[n++]=s.minLod,r[n++]=s.maxLod,t[n++]=s.width,t[n++]=s.height;for(const s of e.iconColliders)t[n++]=s.xTile,t[n++]=s.yTile,t[n++]=s.dxPixels,t[n++]=s.dyPixels,t[n++]=s.hard?1:0,t[n++]=s.partIndex,r[n++]=s.minLod,r[n++]=s.maxLod,t[n++]=s.width,t[n++]=s.height;t[n++]=e.textVertexRanges.length;for(const[r,s]of e.textVertexRanges)t[n++]=r,t[n++]=s;t[n++]=e.iconVertexRanges.length;for(const[r,s]of e.iconVertexRanges)t[n++]=r,t[n++]=s}return n}_replaceKeys(e,t){return e.replaceAll(/{([^{}]+)}/g,(e,r)=>r in t?t[r]:"")}_processFeature(e,t,r){const{line:n,iconMosaicItem:s,shaping:i,anchor:o}=e,l=this.zoom,h=this.layer,c=!!s;let u=!0;c&&(u=t?.optional||!s);const f=i&&i.length>0,d=!f||r?.optional;let p,y;if(c&&(p=this._placementEngine.getIconPlacement(o,s,t)),(p||u)&&(f&&(y=this._placementEngine.getTextPlacement(o,i,n,r)),y||d)){if(p&&y||(d||u?d||y?u||p||(y=null):p=null:(p=null,y=null)),y){const t=h.hasDataDrivenText?h.textMaterial.encodeAttributes(e.symbolFeature.feature,l,h):null;if(this._storePlacedGlyphs(e,y.shapes,l,r.rotationAlignment,t),y.textColliders){e.textColliders=y.textColliders;for(const e of y.textColliders){e.minLod=Math.max(l+(0,a.p6)(e.minLod),0),e.maxLod=Math.min(l+(0,a.p6)(e.maxLod),25);const t=e.angle;if(t){const r=Math.cos(t),n=Math.sin(t),s=e.dxPixels*r-e.dyPixels*n,i=e.dxPixels*n+e.dyPixels*r,a=(e.dxPixels+e.width)*r-e.dyPixels*n,o=(e.dxPixels+e.width)*n+e.dyPixels*r,l=e.dxPixels*r-(e.dyPixels+e.height)*n,h=e.dxPixels*n+(e.dyPixels+e.height)*r,c=(e.dxPixels+e.width)*r-(e.dyPixels+e.height)*n,u=(e.dxPixels+e.width)*n+(e.dyPixels+e.height)*r,f=Math.min(s,a,l,c),d=Math.max(s,a,l,c),p=Math.min(i,o,h,u),y=Math.max(i,o,h,u);e.dxPixels=f,e.dyPixels=p,e.width=d-f,e.height=y-p}}}}if(p){const r=h.hasDataDrivenIcon?h.iconMaterial.encodeAttributes(e.symbolFeature.feature,l,h):null;if(this._addPlacedIcons(e,p.shapes,l,s.page,1===t.rotationAlignment,r),p.iconColliders){e.iconColliders=p.iconColliders;for(const e of p.iconColliders){e.minLod=Math.max(l+(0,a.p6)(e.minLod),0),e.maxLod=Math.min(l+(0,a.p6)(e.maxLod),25);const t=e.angle;if(t){const r=Math.cos(t),n=Math.sin(t),s=e.dxPixels*r-e.dyPixels*n,i=e.dxPixels*n+e.dyPixels*r,a=(e.dxPixels+e.width)*r-e.dyPixels*n,o=(e.dxPixels+e.width)*n+e.dyPixels*r,l=e.dxPixels*r-(e.dyPixels+e.height)*n,h=e.dxPixels*n+(e.dyPixels+e.height)*r,c=(e.dxPixels+e.width)*r-(e.dyPixels+e.height)*n,u=(e.dxPixels+e.width)*n+(e.dyPixels+e.height)*r,f=Math.min(s,a,l,c),d=Math.max(s,a,l,c),p=Math.min(i,o,h,u),y=Math.max(i,o,h,u);e.dxPixels=f,e.dyPixels=p,e.width=d-f,e.height=y-p}}}}}}_addPlacedIcons(e,t,r,n,s,i){const o=Math.max(r-1,0),l=this._iconVertexBuffer,h=this._iconIndexBuffer,c=this._markerMap;for(const u of t){const t=s?0:Math.max(r+(0,a.p6)(u.minzoom),o),f=s?25:Math.min(r+(0,a.p6)(u.maxzoom),25);if(f<=t)continue;const d=u.tl,p=u.tr,y=u.bl,x=u.br,g=u.mosaicRect,_=u.labelAngle,m=u.minAngle,b=u.maxAngle,w=u.anchor,M=l.index,I=g.x,v=g.y,k=I+g.width,P=v+g.height,V=l.index;l.add(w.x,w.y,d.x,d.y,I,v,_,m,b,t,f,i),l.add(w.x,w.y,p.x,p.y,k,v,_,m,b,t,f,i),l.add(w.x,w.y,y.x,y.y,I,P,_,m,b,t,f,i),l.add(w.x,w.y,x.x,x.y,k,P,_,m,b,t,f,i),e.iconVertexRanges.length>0&&e.iconVertexRanges[0][0]+e.iconVertexRanges[0][1]===V?e.iconVertexRanges[0][1]+=4:e.iconVertexRanges.push([V,4]),h.add(M,M+1,M+2),h.add(M+1,M+2,M+3),c.has(n)?c.get(n)[1]+=6:c.set(n,[this._iconIndexStart+this._iconIndexCount,6]),this._iconIndexCount+=6}}_addPlacedGlyphs(){const e=this._textVertexBuffer,t=this._textIndexBuffer,r=this._glyphMap;for(const[n,s]of this._glyphBufferDataStorage)for(const i of s){const s=e.index,a=i.symbolInstance,o=i.ddAttributes,l=e.index;e.add(i.glyphAnchor[0],i.glyphAnchor[1],i.tl[0],i.tl[1],i.xmin,i.ymin,i.labelAngle,i.minAngle,i.maxAngle,i.minLod,i.maxLod,o),e.add(i.glyphAnchor[0],i.glyphAnchor[1],i.tr[0],i.tr[1],i.xmax,i.ymin,i.labelAngle,i.minAngle,i.maxAngle,i.minLod,i.maxLod,o),e.add(i.glyphAnchor[0],i.glyphAnchor[1],i.bl[0],i.bl[1],i.xmin,i.ymax,i.labelAngle,i.minAngle,i.maxAngle,i.minLod,i.maxLod,o),e.add(i.glyphAnchor[0],i.glyphAnchor[1],i.br[0],i.br[1],i.xmax,i.ymax,i.labelAngle,i.minAngle,i.maxAngle,i.minLod,i.maxLod,o),a.textVertexRanges.length>0&&a.textVertexRanges[0][0]+a.textVertexRanges[0][1]===l?a.textVertexRanges[0][1]+=4:a.textVertexRanges.push([l,4]),t.add(s,s+1,s+2),t.add(s+1,s+2,s+3),r.has(n)?r.get(n)[1]+=6:r.set(n,[this._textIndexStart+this._textIndexCount,6]),this._textIndexCount+=6}this._glyphBufferDataStorage.clear()}_storePlacedGlyphs(e,t,r,n,s){const i=Math.max(r-1,0),o=1===n;let l,h,c,u,f,d,p,y,x,g,_;for(const n of t)l=o?0:Math.max(r+(0,a.p6)(n.minzoom),i),h=o?25:Math.min(r+(0,a.p6)(n.maxzoom),25),h<=l||(c=n.tl,u=n.tr,f=n.bl,d=n.br,p=n.labelAngle,y=n.minAngle,x=n.maxAngle,g=n.anchor,_=n.mosaicRect,this._glyphBufferDataStorage.has(n.page)||this._glyphBufferDataStorage.set(n.page,[]),this._glyphBufferDataStorage.get(n.page).push({glyphAnchor:[g.x,g.y],tl:[c.x,c.y],tr:[u.x,u.y],bl:[f.x,f.y],br:[d.x,d.y],xmin:_.x,ymin:_.y,xmax:_.x+_.width,ymax:_.y+_.height,labelAngle:p,minAngle:y,maxAngle:x,minLod:l,maxLod:h,placementLod:i,symbolInstance:e,ddAttributes:s}))}static _pushAnchors(e,t,r,n){r+=n;let i=0;const o=t.length-1;for(let e=0;e<o;e++)i+=s.bR.distance(t[e],t[e+1]);let l=n||r;if(l*=.5,i<=l)return;const h=l/i;let c=0,u=-(r=i/Math.max(Math.round(i/r),1))/2;const f=t.length-1;for(let n=0;n<f;n++){const s=t[n],i=t[n+1],o=i.x-s.x,l=i.y-s.y,f=Math.sqrt(o*o+l*l);let d;for(;u+r<c+f;){u+=r;const t=(u-c)/f,p=(0,a.GW)(s.x,i.x,t),x=(0,a.GW)(s.y,i.y,t);void 0===d&&(d=Math.atan2(l,o)),e.push(new y(p,x,d,n,h))}c+=f}}static _pushCenterAnchor(e,t){let r=0;const n=t.length-1;for(let e=0;e<n;e++)r+=s.bR.distance(t[e],t[e+1]);const i=r/2;let o=0;const l=t.length-1;for(let r=0;r<l;r++){const n=t[r],s=t[r+1],l=s.x-n.x,h=s.y-n.y,c=Math.sqrt(l*l+h*h);if(i<o+c){const t=(i-o)/c,u=(0,a.GW)(n.x,s.x,t),f=(0,a.GW)(n.y,s.y,t),d=Math.atan2(h,l);return void e.push(new y(u,f,d,r,0))}o+=c}}static _deviation(e,t,r){const n=(t.x-e.x)*(r.x-t.x)+(t.y-e.y)*(r.y-t.y),s=(t.x-e.x)*(r.y-t.y)-(t.y-e.y)*(r.x-t.x);return Math.atan2(s,n)}static _honorsTextMaxAngle(e,t,r,n,i){let a=0;const o=r/2;let l=new s.bR(t.x,t.y),h=t.segment+1;for(;a>-o;){if(--h,h<0)return!1;a-=s.bR.distance(e[h],l),l=e[h]}a+=s.bR.distance(e[h],e[h+1]);const c=[];let u=0;const f=e.length;for(;a<o;){const t=e[h];let r,o=h;do{if(++o,o===f)return!1;r=e[o]}while(r.isEqual(t));let l,d=o;do{if(++d,d===f)return!1;l=e[d]}while(l.isEqual(r));const p=this._deviation(t,r,l);for(c.push({deviation:p,distToAnchor:a}),u+=p;a-c[0].distToAnchor>i;)u-=c.shift().deviation;if(Math.abs(u)>n)return!1;a+=s.bR.distance(r,l),h=o}return!0}static _smoothVertices(e,t){if(t<=0)return e;let r=e.length;if(r<3)return e;const n=[];let i=0,a=0;n.push(0);for(let t=1;t<r;t++){const r=s.bR.distance(e[t],e[t-1]);r>0&&(i+=r,n.push(i),a++,a!==t&&(e[a]=e[t]))}if(r=a+1,r<3)return e;t=Math.min(t,.2*i);const o=e[0].x,l=e[0].y,h=e[r-1].x,c=e[r-1].y,u=s.bR.sub(e[0],e[1]);u.normalize(),e[0].x+=t*u.x,e[0].y+=t*u.y,u.assignSub(e[r-1],e[r-2]),u.normalize(),e[r-1].x+=t*u.x,e[r-1].y+=t*u.y,n[0]-=t,n[r-1]+=t;const f=[];f.push(new s.bR(o,l));const d=1e-6,p=.5*t;for(let i=1;i<r-1;i++){let a=0,o=0,l=0;for(let r=i-1;r>=0;r--){const s=p+n[r+1]-n[i];if(s<0)break;const h=n[r+1]-n[r],c=n[i]-n[r]<p?1:s/h;if(c<d)break;const u=c*c,f=c*s-.5*u*h,y=c*h/t,x=e[r+1],g=e[r].x-x.x,_=e[r].y-x.y;a+=y/f*(x.x*c*s+.5*u*(s*g-h*x.x)-u*c*h*g/3),o+=y/f*(x.y*c*s+.5*u*(s*_-h*x.y)-u*c*h*_/3),l+=y}for(let s=i+1;s<r;s++){const r=p-n[s-1]+n[i];if(r<0)break;const h=n[s]-n[s-1],c=n[s]-n[i]<p?1:r/h;if(c<d)break;const u=c*c,f=c*r-.5*u*h,y=c*h/t,x=e[s-1],g=e[s].x-x.x,_=e[s].y-x.y;a+=y/f*(x.x*c*r+.5*u*(r*g-h*x.x)-u*c*h*g/3),o+=y/f*(x.y*c*r+.5*u*(r*_-h*x.y)-u*c*h*_/3),l+=y}f.push(new s.bR(a/l,o/l))}return f.push(new s.bR(h,c)),e[0].x=o,e[0].y=l,e[r-1].x=h,e[r-1].y=c,f}static _pushCentroid(e,t){const r=i.vA,n=i.vA,s=t.length-1;let a=0,o=0,l=0,h=t[0].x,c=t[0].y;h>r&&(h=r),h<0&&(h=0),c>n&&(c=n),c<0&&(c=0);for(let e=1;e<s;e++){let s=t[e].x,i=t[e].y,u=t[e+1].x,f=t[e+1].y;s>r&&(s=r),s<0&&(s=0),i>n&&(i=n),i<0&&(i=0),u>r&&(u=r),u<0&&(u=0),f>n&&(f=n),f<0&&(f=0);const d=(s-h)*(f-c)-(u-h)*(i-c);a+=d*(h+s+u),o+=d*(c+i+f),l+=d}a/=3*l,o/=3*l,isNaN(a)||isNaN(o)||e.push(new y(a,o))}}class K{constructor(e,t,r,n,i,o){if(this._pbfTiles={},this._tileClippers={},this._client=r,this._tile=t,this._sourceDataMaxLOD=n,o){this._styleLayerUIDs=new Set;for(const e of o)this._styleLayerUIDs.add(e)}this._styleRepository=i,this._layers=this._styleRepository?.layers??[];const[l,h,c]=t.tileKey.split("/").map(parseFloat);this._level=l;const u=(0,a.IU)(this._level);for(const t of Object.keys(e)){const r=e[t];if(this._pbfTiles[t]=new b.A(new Uint8Array(r.protobuff),new DataView(r.protobuff)),r.refKey){const[e]=r.refKey.split("/").map(parseFloat),n=l-e;if(n>0){const e=(1<<n)-1,r=h&e,i=c&e;this._tileClippers[t]=new s.O3(n,r,i,8,u)}}this._tileClippers[t]||(this._tileClippers[t]=new s.Ox)}}_canParseStyleLayer(e){return!this._styleLayerUIDs||this._styleLayerUIDs.has(e)}async parse(e){const t=(0,w.If)(),r=this._initialize(e),{returnedBuckets:n}=r;this._processLayers(r),this._linkReferences(r),this._filterFeatures(r);const s=[],i=new Set,a=(e,t)=>{i.has(e)||(s.push({name:e,repeat:t}),i.add(e))},o={};for(const e of n)e.getResources(e.tileClipper,a,o);if(4===this._tile.status)return[];const l=this._fetchResources(s,o,e);return Promise.all([...l,t]).then(()=>this._processFeatures(r.returnedBuckets))}_initialize(e){const t=e?.signal;return{signal:t,sourceNameToTileData:this._parseTileData(this._pbfTiles),layers:this._layers,zoom:this._level,sourceNameToTileClipper:this._tileClippers,sourceNameToUniqueSourceLayerBuckets:{},sourceNameToUniqueSourceLayers:{},returnedBuckets:[],layerIdToBucket:{},referencerUIDToReferencedId:new Map}}_processLayers(e){const{sourceNameToTileData:t,zoom:r,layers:n,sourceNameToTileClipper:s,sourceNameToUniqueSourceLayerBuckets:i,sourceNameToUniqueSourceLayers:a,returnedBuckets:o,layerIdToBucket:l,referencerUIDToReferencedId:h}=e,c=this._sourceDataMaxLOD;for(let e=n.length-1;e>=0;e--){const u=n[e];if(r<c){if(u.minzoom&&r<Math.floor(u.minzoom)||u.maxzoom&&r>=u.maxzoom)continue}else if(u.maxzoom&&r>=u.maxzoom)continue;if(0===u.type||!this._canParseStyleLayer(u.uid)||!t[u.source]||!s[u.source])continue;const f=t[u.source],d=s[u.source],p=u.sourceLayer,y=f[p];if(y){let e=a[u.source];if(e||(e=a[u.source]=new Set),e.add(u.sourceLayer),u.refLayerId)h.set(u.uid,u.refLayerId);else{const e=this._createBucket(u);if(e){e.layerUIDs=[u.uid],e.layerExtent=y.extent,e.tileClipper=d;let t=i[u.source];t||(t=i[u.source]={});let r=t[p];r||(r=t[p]=[]),r.push(e),o.push(e),l[u.id]=e}}}}}_linkReferences(e){const{layerIdToBucket:t,referencerUIDToReferencedId:r}=e;r.forEach((e,r)=>{t[e]&&t[e].layerUIDs.push(r)})}_filterFeatures(e){const{signal:t,sourceNameToTileData:r,sourceNameToUniqueSourceLayerBuckets:s,sourceNameToUniqueSourceLayers:i}=e,a=10*this._level,o=10*(this._level+1),l=[],h=[];for(const e of Object.keys(i))i[e].forEach(t=>{l.push(t),h.push(e)});for(let e=0;e<l.length;e++){const i=h[e],c=l[e];if(!r[i]||!s[i])continue;const u=r[i][c],f=s[i][c];if(!f||0===f.length)continue;if((0,n.G4)(t))return;let d=0;const p=u.getData();for(;p.nextTag(2);){const e=p.getMessage(),t=new M(e,u,d++);e.release();const r=t.values;if(r){const e=r._minzoom;if(e&&e>=o)continue;const t=r._maxzoom;if(t&&t<=a)continue}for(const e of f)e.pushFeature(t)}}}_fetchResources(e,t,r){const n=[],s=this._tile.getWorkerTileHandler();let i,a;e.length>0&&(i=s.fetchSprites(e,this._client,r),n.push(i));for(const e in t){const i=t[e];i.size>0&&(a=s.fetchGlyphs(this._tile.tileKey,e,i,this._client,r),n.push(a))}return n}_processFeatures(e){const t=e.filter(e=>e.hasFeatures()||this._canParseStyleLayer(e.layer.uid));for(const e of t)e.processFeatures(e.tileClipper);return t}_parseTileData(e){const t={};for(const r of Object.keys(e)){const n=e[r],s={};for(;n.next();)switch(n.tag()){case 3:{const e=n.getMessage(),t=new k(e);e.release(),s[t.name]=t;break}default:n.skip()}t[r]=s}return t}_createBucket(e){switch(e.type){case 0:return null;case 1:return this._createFillBucket(e);case 2:return this._createLineBucket(e);case 4:return this._createCircleBucket(e);case 3:return this._createSymbolBucket(e)}}_createFillBucket(e){return new z(e,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new A(e.fillMaterial.getStride()),new v,new B(e.outlineMaterial.getStride()),new v)}_createLineBucket(e){return new N(e,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new V(e.lineMaterial.getStride()),new v)}_createCircleBucket(e){return new R(e,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new S(e.circleMaterial.getStride()),new v)}_createSymbolBucket(e){const t=this._tile;return new q(t.tileKey,e,this._level,new D(e.iconMaterial.getStride()),new v,new D(e.textMaterial.getStride()),new v,t.placementEngine,t.getWorkerTileHandler())}}class H{constructor(e,t,r,n){this.status=0,this.placementEngine=new m,this.tileKey=e,this.refKeys=t,this._workerTileHandler=r,this._styleRepository=n}release(){this.tileKey="",this.refKeys=null,this.status=0,this._workerTileHandler=null}async parse(e,t){const r=t?.signal;if(null!=r){const e=()=>{r.removeEventListener("abort",e),this.status=4};r.addEventListener("abort",e)}let s;const i={bucketsWithData:[],emptyBuckets:null};try{s=await this._parse(e,t)}catch(e){if((0,n.zf)(e))throw e;return{result:i,transferList:[]}}this.status=2;const a=i.bucketsWithData,o=[];for(const e of s)if(e.hasFeatures()){const t=e.serialize();a.push(t)}else o.push(e.layer.uid);const l=[...a];let h=null;return o.length>0&&(h=Uint32Array.from(o),l.push(h.buffer)),i.emptyBuckets=h,{result:i,transferList:l}}setObsolete(){this.status=4}getLayers(){return this._workerTileHandler.getLayers()}getWorkerTileHandler(){return this._workerTileHandler}async _parse(e,t){const r=e.sourceName2DataAndRefKey;return 0===Object.keys(r).length?[]:(this.status=3,new K(r,this,t.client,e.sourceDataMaxLOD,this._styleRepository,e.styleLayerUIDs).parse(t))}}var J=r(45013);class Y{constructor(){this._spriteInfo={},this._glyphInfo={},this._sourceDataMaxLOD=25}reset(){return this._spriteInfo={},this._glyphInfo={},Promise.resolve()}getLayers(){return this._styleRepository?.layers??[]}async createTileAndParse(e,t){const{key:r}=e,s={};for(const t of Object.keys(e.sourceName2DataAndRefKey)){const r=e.sourceName2DataAndRefKey[t];s[t]=r.refKey}const i=new H(r,s,this,this._styleRepository);try{return await i.parse({...e,sourceDataMaxLOD:this._sourceDataMaxLOD},t)}catch(e){if(i.setObsolete(),i.release(),!(0,n.zf)(e))throw e;return null}}updateStyle(e){if(!e||0===e.length||!this._styleRepository)return;const t=this._styleRepository;for(const r of e){const e=r.type,n=r.data;switch(e){case 0:t.setPaintProperties(n.layer,n.paint);break;case 1:t.setLayoutProperties(n.layer,n.layout);break;case 3:t.deleteStyleLayer(n.layer);break;case 2:t.setStyleLayer(n.layer,n.index);break;case 4:this._spriteInfo={}}}}setStyle(e){const{style:t,sourceDataMaxLOD:r}=e;this._styleRepository=new J.A(t),this._sourceDataMaxLOD=r,this._spriteInfo={},this._glyphInfo={}}fetchSprites(e,t,r){const n=[],s=this._spriteInfo;for(const t of e)void 0===s[t.name]&&n.push(t);return 0===n.length?Promise.resolve():t.invoke("getSprites",n,{signal:r?.signal}).then(e=>{for(const t in e){const r=e[t];s[t]=r}})}getSpriteItems(){return this._spriteInfo}fetchGlyphs(e,t,r,n,s){const i=[];let a=this._glyphInfo[t];return a?r.forEach(e=>{a[e]||i.push(e)}):(a=this._glyphInfo[t]=[],r.forEach(e=>i.push(e))),0===i.length?Promise.resolve():n.invoke("getGlyphs",{tileID:e,font:t,codePoints:i},s).then(e=>{for(let t=0;t<e.length;t++)e[t]&&(a[t]=e[t])})}getGlyphItems(e){return this._glyphInfo[e]}}},21276(e,t,r){r.d(t,{H:()=>i,f:()=>s});var n=r(49186);function s(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(s)}},28735(e,t,r){r.d(t,{Cv:()=>y,Gh:()=>_,ci:()=>m,je:()=>x,jg:()=>c,tD:()=>g,y7:()=>p});var n=r(4718),s=r(21276),i=r(16930),a=r(79258),o=r(21325);function l(e){return 57.29577951308232*e}function h(e){return.017453292519943*e}function c(e){return Math.PI/2-2*Math.atan(Math.exp(-e/a.$O.radius))}function u(e){return null!=e.wkid||null!=e.wkt}const f=[0,0];function d(e,t,r,n,s){const i=e,a=s;if(a.spatialReference=r,"x"in i&&"x"in a)[a.x,a.y]=t(i.x,i.y,f,n);else if("xmin"in i&&"xmin"in a)[a.xmin,a.ymin]=t(i.xmin,i.ymin,f,n),[a.xmax,a.ymax]=t(i.xmax,i.ymax,f,n);else if("paths"in i&&"paths"in a||"rings"in i&&"rings"in a){const e="paths"in i?i.paths:i.rings,r=[];let s;for(let i=0;i<e.length;i++){const a=e[i];s=[],r.push(s);for(let e=0;e<a.length;e++)s.push(t(a[e][0],a[e][1],[0,0],n)),a[e].length>2&&s[e].push(a[e][2]),a[e].length>3&&s[e].push(a[e][3])}"paths"in a?a.paths=r:a.rings=r}else if("points"in i&&"points"in a){const e=i.points,r=[];for(let s=0;s<e.length;s++)r[s]=t(e[s][0],e[s][1],[0,0],n),e[s].length>2&&r[s].push(e[s][2]),e[s].length>3&&r[s].push(e[s][3]);a.points=r}return s}function p(e,t){const r=e&&(u(e)?e:e.spatialReference),n=t&&(u(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!n)&&(!!(0,o.aI)(n,r)||(0,o.K8)(n)&&(0,o.oT)(r)||(0,o.K8)(r)&&(0,o.oT)(n))}function y(e,t){if(null==e)return null;const r=e.spatialReference,s=t&&(u(t)?t:t.spatialReference);return p(r,s)?(0,o.aI)(r,s)?(0,n.o8)(e):(0,o.K8)(s)?d(e,x,i.A.WebMercator,!1,(0,n.o8)(e)):(0,o.oT)(s)?d(e,g,i.A.WGS84,!1,(0,n.o8)(e)):null:null}function x(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const n=h(t);return r[0]=h(e)*a.$O.radius,r[1]=a.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function g(e,t,r=[0,0],n=!1){if(e===o.Mc[0])r[0]=-180;else if(e===o.Mc[1])r[0]=180;else{const t=l(e/a.$O.radius);r[0]=n?t:t-360*Math.floor((t+180)/360)}return r[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/a.$O.radius))),r}function _(e,t=!1,r=(0,n.o8)(e)){return(0,s.f)(e),(0,s.f)(r),d(e,x,i.A.WebMercator,t,r)}function m(e,t=!1,r=(0,n.o8)(e)){return(0,s.f)(e),(0,s.f)(r),d(e,g,i.A.WGS84,t,r)}},31635(e,t,r){function n(e,t,r,n){var s,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function s(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(s=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");s&&(n=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>n,hk:()=>a,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function a(e){function t(t){e.error=e.hasError?new i(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function s(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(s);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(s,function(e){return t(e),s()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},34304(e,t,r){r.d(t,{DF:()=>l,FD:()=>s,Ov:()=>i,ct:()=>h});let n=1e-6;function s(){return n}const i=Math.random,a=Math.PI/180,o=180/Math.PI;function l(e){return e*a}function h(e){return e*o}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:s,setEpsilon:function(e){n=e},toDegree:h,toRadian:l},Symbol.toStringTag,{value:"Module"}))},40876(e,t,r){r.d(t,{Eq:()=>d,G1:()=>y,TS:()=>i,Tf:()=>_,V6:()=>s,Vm:()=>p,ay:()=>l,c1:()=>x,c4:()=>a,j5:()=>h,lT:()=>u,oW:()=>c,xV:()=>b});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function s(e){return!!n[e]||!!n[e.toLowerCase()]}function i(e){return n[e]??n[e.toLowerCase()]}function a(e){return[...i(e)]}function o(e,t,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?e+(t-e)*n:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,n=1){const s=(e%360+360)%360/360,i=r<=.5?r*(t+1):r+t-r*t,a=2*r-i;return[Math.round(255*o(a,i,s+1/3)),Math.round(255*o(a,i,s)),Math.round(255*o(a,i,s-1/3)),n]}function h(e){const t=e.length>5,r=t?8:4,n=(1<<r)-1,s=t?1:17,i=t?9===e.length:5===e.length;let a=Number("0x"+e.slice(1));if(isNaN(a))return null;const o=[0,0,0,1];let l;return i&&(l=a&n,a>>=r,o[3]=s*l/255),l=a&n,a>>=r,o[2]=s*l,l=a&n,a>>=r,o[1]=s*l,l=a&n,a>>=r,o[0]=s*l,o}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),n=parseInt(e.slice(3,4),16),s=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,n+16*n,(s+16*s)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function u(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=x(e[0]),e[1]=x(e[1]),e[2]=x(e[2]),e[3]=4===e.length?y(e[3]):1,e}function d(e){let t=s(e)?i(e):null;return t??=u(e),t??=c(e),t}function p(e){const t=d(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function y(e){return g(e,0,1)}function x(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const _=2.2,m=1/_;function b(e){return e**m}},51624(e,t,r){r.d(t,{A:()=>h});var n=r(44208),s=r(69397),i=r(93687);const a=4294967296,o=new TextDecoder("utf-8"),l=(0,n.A)("safari")||(0,n.A)("ios")?6:(0,n.A)("ff")?12:32;class h{constructor(e,t,r=0,n=(e?e.byteLength:0)){this._tag=0,this._dataType=99,this._init(e,t,r,n)}_init(e,t,r,n){this._data=e,this._dataView=t,this._pos=r,this._end=n}get usedMemory(){return 64+(0,s.Qf)(this._data)}asUnsafe(){return this}clone(){return new h(this._data,this._dataView,this._pos,this._end)}pos(){return this._pos}move(e){this._pos=e}nextTag(e){for(;;){if(this._pos===this._end)return!1;const t=this._decodeVarint();if(this._tag=t>>3,this._dataType=7&t,!e||e===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const e=this._decodeVarint();return this._tag=e>>3,this._dataType=7&e,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let e=4294967295;if(e=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return e;throw new Error("Varint overflow")}getUInt64(){return this._decodeVarint()}getSInt32(){const e=this.getUInt32();return e>>>1^-(1&e)}getSInt64(){return this._decodeSVarint()}getBool(){const e=0!==this._data[this._pos];return this._skip(1),e}getEnum(){return this._decodeVarint()}getFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getUint32(t+4,!0)*a;return this._skip(8),r}getSFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getInt32(t+4,!0)*a;return this._skip(8),r}getDouble(){const e=this._dataView.getFloat64(this._pos,!0);return this._skip(8),e}getFixed32(){const e=this._dataView.getUint32(this._pos,!0);return this._skip(4),e}getSFixed32(){const e=this._dataView.getInt32(this._pos,!0);return this._skip(4),e}getFloat(){const e=this._dataView.getFloat32(this._pos,!0);return this._skip(4),e}getString(){const e=this._getLength(),t=this._pos,r=this._toString(this._data,t,t+e);return this._skip(e),r}getBytes(){const e=this._getLength(),t=this._pos,r=this._toBytes(this._data,t,t+e);return this._skip(e),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(e,t,r,n){const s=this.getMessage(),i=e(s,t,r,n);return s.release(),i}processMessage(e){const t=this.getMessage(),r=e(t);return t.release(),r}getMessage(){const e=this._getLength(),t=h.pool.acquire();return t._init(this._data,this._dataView,this._pos,this._pos+e),this._skip(e),t}release(){h.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipLen(e){this._skip(e)}_skip(e){if(this._pos+e>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=e}_decodeVarint(){const e=this._data;let t=this._pos,r=0,n=0;if(this._end-t>=10)do{if(n=e[t++],r|=127&n,!(128&n))break;if(n=e[t++],r|=(127&n)<<7,!(128&n))break;if(n=e[t++],r|=(127&n)<<14,!(128&n))break;if(n=e[t++],r|=(127&n)<<21,!(128&n))break;if(n=e[t++],r+=268435456*(127&n),!(128&n))break;if(n=e[t++],r+=34359738368*(127&n),!(128&n))break;if(n=e[t++],r+=4398046511104*(127&n),!(128&n))break;if(n=e[t++],r+=562949953421312*(127&n),!(128&n))break;if(n=e[t++],r+=72057594037927940*(127&n),!(128&n))break;if(n=e[t++],r+=0x8000000000000000*(127&n),!(128&n))break;throw new Error("Varint too long!")}while(0);else{let s=1;for(;t!==this._end&&(n=e[t],128&n);)++t,r+=(127&n)*s,s*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=n*s}return this._pos=t,r}_decodeSVarint(){const e=this._data;let t,r=0,n=0;const s=1&e[this._pos];if(n=e[this._pos++],r|=127&n,!(128&n))return s?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<7,!(128&n))return s?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<14,!(128&n))return s?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<21,!(128&n))return s?-(r+1)/2:r/2;if(n=e[this._pos++],r+=268435456*(127&n),!(128&n))return s?-(r+1)/2:r/2;if(n=e[this._pos++],r+=34359738368*(127&n),!(128&n))return s?-(r+1)/2:r/2;if(n=e[this._pos++],r+=4398046511104*(127&n),!(128&n))return s?-(r+1)/2:r/2;if(t=BigInt(r),n=e[this._pos++],t+=0x2000000000000n*BigInt(127&n),!(128&n))return Number(s?-(t+1n)/2n:t/2n);if(n=e[this._pos++],t+=0x100000000000000n*BigInt(127&n),!(128&n))return Number(s?-(t+1n)/2n:t/2n);if(n=e[this._pos++],t+=0x8000000000000000n*BigInt(127&n),!(128&n))return Number(s?-(t+1n)/2n:t/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(e,t,r){if((r=Math.min(this._end,r))-t>l){const n=e.subarray(t,r);return o.decode(n)}let n="",s="";for(let i=t;i<r;++i){const t=e[i];128&t?s+="%"+t.toString(16):(n+=decodeURIComponent(s)+String.fromCharCode(t),s="")}return s.length&&(n+=decodeURIComponent(s)),n}_toBytes(e,t,r){return r=Math.min(this._end,r),new Uint8Array(e.buffer,t,r-t)}static{this.pool=new i.A(()=>new h(null,null),void 0,e=>{e._data=null,e._dataView=null})}}},78955(e,t,r){r.d(t,{Bw:()=>x,C:()=>s,Cc:()=>b,LI:()=>f,Om:()=>m,S8:()=>_,T9:()=>u,WQ:()=>a,Z0:()=>w,aI:()=>I,hG:()=>y,hZ:()=>i,hs:()=>d,jk:()=>c,m3:()=>g,t2:()=>M});var n=r(34304);function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function i(e,t,r,n,s){return e[0]=t,e[1]=r,e[2]=n,e[3]=s,e}function a(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e[3]=t[3]+r[3],e}function o(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e[3]=t[3]-r[3],e}function l(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],e}function h(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e[3]=t[3]/r[3],e}function c(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e[3]=Math.min(t[3],r[3]),e}function u(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e[3]=Math.max(t[3],r[3]),e}function f(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function d(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function p(e,t){const r=t[0]-e[0],n=t[1]-e[1],s=t[2]-e[2],i=t[3]-e[3];return Math.sqrt(r*r+n*n+s*s+i*i)}function y(e,t){const r=t[0]-e[0],n=t[1]-e[1],s=t[2]-e[2],i=t[3]-e[3];return r*r+n*n+s*s+i*i}function x(e){const t=e[0],r=e[1],n=e[2],s=e[3];return Math.sqrt(t*t+r*r+n*n+s*s)}function g(e){const t=e[0],r=e[1],n=e[2],s=e[3];return t*t+r*r+n*n+s*s}function _(e,t){const r=t[0],n=t[1],s=t[2],i=t[3];let a=r*r+n*n+s*s+i*i;return a>0&&(a=1/Math.sqrt(a),e[0]=r*a,e[1]=n*a,e[2]=s*a,e[3]=i*a),e}function m(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function b(e,t,r,n){const s=t[0],i=t[1],a=t[2],o=t[3];return e[0]=s+n*(r[0]-s),e[1]=i+n*(r[1]-i),e[2]=a+n*(r[2]-a),e[3]=o+n*(r[3]-o),e}function w(e,t,r){const n=t[0],s=t[1],i=t[2],a=t[3];return e[0]=r[0]*n+r[4]*s+r[8]*i+r[12]*a,e[1]=r[1]*n+r[5]*s+r[9]*i+r[13]*a,e[2]=r[2]*n+r[6]*s+r[10]*i+r[14]*a,e[3]=r[3]*n+r[7]*s+r[11]*i+r[15]*a,e}function M(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function I(e,t){const r=e[0],s=e[1],i=e[2],a=e[3],o=t[0],l=t[1],h=t[2],c=t[3],u=(0,n.FD)();return Math.abs(r-o)<=u*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))&&Math.abs(i-h)<=u*Math.max(1,Math.abs(i),Math.abs(h))&&Math.abs(a-c)<=u*Math.max(1,Math.abs(a),Math.abs(c))}const v=o,k=l,P=h,V=p,A=y,B=x,D=g;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:s,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:V,distance:p,div:P,divide:h,dot:m,equals:I,exactEquals:M,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:B,length:x,lerp:b,max:u,min:c,mul:k,multiply:l,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:_,random:function(e,t=1){const r=n.Ov;let s,i,a,o,l,h;do{s=2*r()-1,i=2*r()-1,l=s*s+i*i}while(l>=1);do{a=2*r()-1,o=2*r()-1,h=a*a+o*o}while(h>=1);const c=Math.sqrt((1-l)/h);return e[0]=t*s,e[1]=t*i,e[2]=t*a*c,e[3]=t*o*c,e},round:f,scale:d,scaleAndAdd:function(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e[3]=t[3]+r[3]*n,e},set:i,sqrDist:A,sqrLen:D,squaredDistance:y,squaredLength:g,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:v,subtract:o,transformMat4:w,transformQuat:function(e,t,r){const n=t[0],s=t[1],i=t[2],a=r[0],o=r[1],l=r[2],h=r[3],c=h*n+o*i-l*s,u=h*s+l*n-a*i,f=h*i+a*s-o*n,d=-a*n-o*s-l*i;return e[0]=c*h+d*-a+u*-l-f*-o,e[1]=u*h+d*-o+f*-a-c*-l,e[2]=f*h+d*-l+c*-o-u*-a,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},83349(e,t,r){function n(e,t,r){r=r||2;var n,i,o,l,h,c,f,d=t&&t.length,p=d?t[0]*r:e.length,y=s(e,0,p,r,!0),x=[];if(!y||y.next===y.prev)return x;if(d&&(y=u(e,t,y,r)),e.length>80*r){n=o=e[0],i=l=e[1];for(var g=r;g<p;g+=r)(h=e[g])<n&&(n=h),(c=e[g+1])<i&&(i=c),h>o&&(o=h),c>l&&(l=c);f=0!==(f=Math.max(o-n,l-i))?1/f:0}return a(y,x,r,n,i,f),x}function s(e,t,r,n,s){var i,a;if(s===S(e,t,r,n)>0)for(i=t;i<r;i+=n)a=A(i,e[i],e[i+1],a);else for(i=r-n;i>=t;i-=n)a=A(i,e[i],e[i+1],a);if(a&&M(a,a.next)){var o=a.next;B(a),a=o}return a}function i(e,t){if(!e)return e;t||(t=e);var r,n=e;do{if(r=!1,n.steiner||!M(n,n.next)&&0!==w(n.prev,n,n.next))n=n.next;else{var s=n.prev;if(B(n),(n=t=s)===n.next)break;r=!0}}while(r||n!==t);return t}function a(e,t,r,n,s,u,f){if(e){!f&&u&&x(e,n,s,u);for(var d,p,y=e;e.prev!==e.next;)if(d=e.prev,p=e.next,u?l(e,n,s,u):o(e))t.push(d.i/r),t.push(e.i/r),t.push(p.i/r),B(e),e=p.next,y=p.next;else if((e=p)===y){f?1===f?a(e=h(i(e),t,r),t,r,n,s,u,2):2===f&&c(e,t,r,n,s,u):a(i(e),t,r,n,s,u,1);break}}}function o(e){var t=e.prev,r=e,n=e.next;if(w(t,r,n)>=0)return!1;for(var s=e.next.next;s!==e.prev;){if(m(t.x,t.y,r.x,r.y,n.x,n.y,s.x,s.y)&&w(s.prev,s,s.next)>=0)return!1;s=s.next}return!0}function l(e,t,r,n){var s=e.prev,i=e,a=e.next;if(w(s,i,a)>=0)return!1;for(var o=s.x<i.x?s.x<a.x?s.x:a.x:i.x<a.x?i.x:a.x,l=s.y<i.y?s.y<a.y?s.y:a.y:i.y<a.y?i.y:a.y,h=s.x>i.x?s.x>a.x?s.x:a.x:i.x>a.x?i.x:a.x,c=s.y>i.y?s.y>a.y?s.y:a.y:i.y>a.y?i.y:a.y,u=g(o,l,t,r,n),f=g(h,c,t,r,n),d=e.prevZ,p=e.nextZ;d&&d.z>=u&&p&&p.z<=f;){if(d!==e.prev&&d!==e.next&&m(s.x,s.y,i.x,i.y,a.x,a.y,d.x,d.y)&&w(d.prev,d,d.next)>=0)return!1;if(d=d.prevZ,p!==e.prev&&p!==e.next&&m(s.x,s.y,i.x,i.y,a.x,a.y,p.x,p.y)&&w(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(;d&&d.z>=u;){if(d!==e.prev&&d!==e.next&&m(s.x,s.y,i.x,i.y,a.x,a.y,d.x,d.y)&&w(d.prev,d,d.next)>=0)return!1;d=d.prevZ}for(;p&&p.z<=f;){if(p!==e.prev&&p!==e.next&&m(s.x,s.y,i.x,i.y,a.x,a.y,p.x,p.y)&&w(p.prev,p,p.next)>=0)return!1;p=p.nextZ}return!0}function h(e,t,r){var n=e;do{var s=n.prev,a=n.next.next;!M(s,a)&&I(s,n,n.next,a)&&P(s,a)&&P(a,s)&&(t.push(s.i/r),t.push(n.i/r),t.push(a.i/r),B(n),B(n.next),n=e=a),n=n.next}while(n!==e);return i(n)}function c(e,t,r,n,s,o){var l=e;do{for(var h=l.next.next;h!==l.prev;){if(l.i!==h.i&&b(l,h)){var c=V(l,h);return l=i(l,l.next),c=i(c,c.next),a(l,t,r,n,s,o),void a(c,t,r,n,s,o)}h=h.next}l=l.next}while(l!==e)}function u(e,t,r,n){var a,o,l,h=[];for(a=0,o=t.length;a<o;a++)(l=s(e,t[a]*n,a<o-1?t[a+1]*n:e.length,n,!1))===l.next&&(l.steiner=!0),h.push(_(l));for(h.sort(f),a=0;a<h.length;a++)r=i(r=p(h[a],r),r.next);return r}function f(e,t){return e.x-t.x}function d(e){if(e.next.prev===e)return e;let t=e;for(;;){const r=t.next;if(r.prev===t||r===t||r===e)break;t=r}return t}function p(e,t){var r=function(e,t){var r,n=t,s=e.x,i=e.y,a=-1/0;do{if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){var o=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(o<=s&&o>a){if(a=o,o===s){if(i===n.y)return n;if(i===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==t);if(!r)return null;if(s===a)return r;var l,h=r,c=r.x,u=r.y,f=1/0;n=r;do{s>=n.x&&n.x>=c&&s!==n.x&&m(i<u?s:a,i,c,u,i<u?a:s,i,n.x,n.y)&&(l=Math.abs(i-n.y)/(s-n.x),P(n,e)&&(l<f||l===f&&(n.x>r.x||n.x===r.x&&y(r,n)))&&(r=n,f=l)),n=n.next}while(n!==h);return r}(e,t);if(!r)return t;var n=V(r,e),s=i(r,r.next);let a=d(n);return i(a,a.next),s=d(s),d(t===r?s:t)}function y(e,t){return w(e.prev,e,t.prev)<0&&w(t.next,e,e.next)<0}function x(e,t,r,n){var s=e;do{null===s.z&&(s.z=g(s.x,s.y,t,r,n)),s.prevZ=s.prev,s.nextZ=s.next,s=s.next}while(s!==e);s.prevZ.nextZ=null,s.prevZ=null,function(e){var t,r,n,s,i,a,o,l,h=1;do{for(r=e,e=null,i=null,a=0;r;){for(a++,n=r,o=0,t=0;t<h&&(o++,n=n.nextZ);t++);for(l=h;o>0||l>0&&n;)0!==o&&(0===l||!n||r.z<=n.z)?(s=r,r=r.nextZ,o--):(s=n,n=n.nextZ,l--),i?i.nextZ=s:e=s,s.prevZ=i,i=s;r=n}i.nextZ=null,h*=2}while(a>1)}(s)}function g(e,t,r,n,s){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*s)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*s)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function _(e){var t=e,r=e;do{(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next}while(t!==e);return r}function m(e,t,r,n,s,i,a,o){return(s-a)*(t-o)-(e-a)*(i-o)>=0&&(e-a)*(n-o)-(r-a)*(t-o)>=0&&(r-a)*(i-o)-(s-a)*(n-o)>=0}function b(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&I(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}(e,t)&&(P(e,t)&&P(t,e)&&function(e,t){var r=e,n=!1,s=(e.x+t.x)/2,i=(e.y+t.y)/2;do{r.y>i!=r.next.y>i&&r.next.y!==r.y&&s<(r.next.x-r.x)*(i-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==e);return n}(e,t)&&(w(e.prev,e,t.prev)||w(e,t.prev,t))||M(e,t)&&w(e.prev,e,e.next)>0&&w(t.prev,t,t.next)>0)}function w(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function M(e,t){return e.x===t.x&&e.y===t.y}function I(e,t,r,n){var s=k(w(e,t,r)),i=k(w(e,t,n)),a=k(w(r,n,e)),o=k(w(r,n,t));return s!==i&&a!==o||!(0!==s||!v(e,r,t))||!(0!==i||!v(e,n,t))||!(0!==a||!v(r,e,n))||!(0!==o||!v(r,t,n))}function v(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function k(e){return e>0?1:e<0?-1:0}function P(e,t){return w(e.prev,e,e.next)<0?w(e,t,e.next)>=0&&w(e,e.prev,t)>=0:w(e,t,e.prev)<0||w(e,e.next,t)<0}function V(e,t){var r=new D(e.i,e.x,e.y),n=new D(t.i,t.x,t.y),s=e.next,i=t.prev;return e.next=t,t.prev=e,r.next=s,s.prev=r,n.next=r,r.prev=n,i.next=n,n.prev=i,n}function A(e,t,r,n){var s=new D(e,t,r);return n?(s.next=n.next,s.prev=n,n.next.prev=s,n.next=s):(s.prev=s,s.next=s),s}function B(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function D(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function S(e,t,r,n){for(var s=0,i=t,a=r-n;i<r;i+=n)s+=(e[a]-e[i])*(e[i+1]+e[a+1]),a=i;return s}r.d(t,{e:()=>n}),n.deviation=function(e,t,r,n){var s=t&&t.length,i=s?t[0]*r:e.length,a=Math.abs(S(e,0,i,r));if(s)for(var o=0,l=t.length;o<l;o++){var h=t[o]*r,c=o<l-1?t[o+1]*r:e.length;a-=Math.abs(S(e,h,c,r))}var u=0;for(o=0;o<n.length;o+=3){var f=n[o]*r,d=n[o+1]*r,p=n[o+2]*r;u+=Math.abs((e[f]-e[p])*(e[d+1]-e[f+1])-(e[f]-e[d])*(e[p+1]-e[f+1]))}return 0===a&&0===u?0:Math.abs((u-a)/a)},n.flatten=function(e){for(var t=e[0][0].length,r={vertices:[],holes:[],dimensions:t},n=0,s=0;s<e.length;s++){for(var i=0;i<e[s].length;i++)for(var a=0;a<t;a++)r.vertices.push(e[s][i][a]);s>0&&(n+=e[s-1].length,r.holes.push(n))}return r}},86738(e,t,r){r.d(t,{A:()=>m});var n=r(31635),s=r(69622),i=r(53966),a=r(91429),o=r(56507),l=r(91075),h=r(16930),c=r(21325),u=r(28735);function f({x:e,y:t,spatialReference:r},n=[0,0]){if(r){if((0,c.K8)(r))return(0,u.tD)(e,t,n);if((0,c.EA)(r))return n[0]=e,n[1]=t,n}return null}const d=[0,0];var p,y=r(43937),x=r(36005);const g=[0,0];function _(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let m=p=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",s.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,n,s){let a;if(Array.isArray(e))a=e,s=t,e=a[0],t=a[1],r=a[2],n=a[3];else if(e&&"object"==typeof e){if(a=e,e=null!=a.x?a.x:a.longitude,t=null!=a.y?a.y:a.latitude,r=a.z,n=a.m,(s=a.spatialReference)&&"esri.geometry.SpatialReference"!==s.declaredClass&&(s=new h.A(s)),null!=a.longitude||null!=a.latitude)if(null==a.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==a.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!a.declaredClass&&s?.isWebMercator){const r=(0,u.je)(a.longitude,a.latitude,g);e=r[0],t=r[1]}}else _(r)?(s=r,r=null):_(n)&&(s=n,n=null);const o={x:e,y:t};return null==o.x&&null!=o.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==o.y&&null!=o.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=s&&(o.spatialReference=s),null!=r&&(o.z=r),null!=n&&(o.m=n),o}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return f(this,d)?.[1]??null}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,u.je)(r,e,g)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return f(this,d)?.[0]??null}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,u.je)(e,t,g)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new p;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return p.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:n,m:s,spatialReference:i}=this,{z:a,m:o}=e;let{x:l,y:h,spatialReference:c}=e;if(!i.equals(c))if(i.isWebMercator&&c.isWGS84)[l,h]=(0,u.je)(l,h),c=i;else{if(!i.isWGS84||!c.isWebMercator)return!1;[l,h]=(0,u.tD)(l,h),c=i}return t===l&&r===h&&n===a&&s===o&&i.wkid===c.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,n]=e.valid,s=2*n;let i;return t>n?(i=Math.ceil(Math.abs(t-n)/s),t-=i*s):t<r&&(i=Math.ceil(Math.abs(t-r)/s),t+=i*s),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,n=e.y-t.y,s=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+n*n+s*s)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],m.prototype,"hasM",null),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],m.prototype,"hasZ",null),(0,n.Cg)([(0,a.MZ)({type:Number})],m.prototype,"latitude",null),(0,n.Cg)([(0,a.MZ)({type:Number})],m.prototype,"longitude",null),(0,n.Cg)([(0,a.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,a.wg)(e=>isNaN(e)?e:(0,o.GB)(e))],m.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],m.prototype,"writeX",null),(0,n.Cg)([(0,x.w)("x")],m.prototype,"readX",null),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],m.prototype,"y",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],m.prototype,"z",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],m.prototype,"m",void 0),m=p=(0,n.Cg)([(0,a.$K)("esri.geometry.Point")],m),m.prototype.toJSON.isDefaultToJSON=!0},91075(e,t,r){r.d(t,{A:()=>l});var n=r(31635),s=r(25482),i=r(91429),a=r(16930),o=r(36005);let l=class extends s.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=a.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof a.A)return e;if(null!=e){const r=new a.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,n.Cg)([(0,i.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,n.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,n.Cg)([(0,i.MZ)({type:a.A,json:{write:!0},value:a.A.WGS84})],l.prototype,"spatialReference",void 0),(0,n.Cg)([(0,o.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,n.Cg)([(0,i.$K)("esri.geometry.Geometry")],l)},91829(e,t,r){function n(){return[0,0,0,0]}function s(e){return[e[0],e[1],e[2],e[3]]}function i(e,t,r,n){return[e,t,r,n]}function a(e,t,r,n){return[e,t,r,n]}function o(e,t=[0,0,0,0]){const r=Math.min(4,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function l(){return i(1,1,1,1)}function h(){return i(1,0,0,0)}function c(){return i(0,1,0,0)}function u(){return i(0,0,1,0)}function f(){return i(0,0,0,1)}r.d(t,{CN:()=>a,Un:()=>p,ci:()=>o,fA:()=>i,o8:()=>s,uY:()=>d,vt:()=>n});const d=[0,0,0,0],p=l(),y=h(),x=c(),g=u(),_=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_W:_,UNIT_X:y,UNIT_Y:x,UNIT_Z:g,ZEROS:d,clone:s,create:n,freeze:a,fromArray:o,fromValues:i,ones:l,unitW:f,unitX:h,unitY:c,unitZ:u,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9838],{26121(e,t,r){r.d(t,{ci:()=>o,dL:()=>i});var a=r(49186);async function i(e){const t=[];for(const r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){const e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}r(77548);const n=new Set(["layer:unsupported","property:unsupported","symbol:unsupported","symbol-layer:unsupported","url:unsupported"]);function o(e,t,r){let i=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new a.A(e,t,r));if(e.blockedRelativeUrls&&(i=i.concat(e.blockedRelativeUrls.map(e=>new a.A("url:unsupported",`Relative url '${e}' is not supported`)))),r){const{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:a}=r;e&&(i=i.filter(({name:e})=>!(n.has(e)||t.includes(e)))),a&&(i=i.filter(e=>"web-document-write:property-required"!==e.name))}if(i.length>0)throw new a.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:i})}},46130(e,t,r){r.d(t,{v:()=>i});var a=r(76553);function i(e){e?.writtenProperties&&e.writtenProperties.forEach(({target:e,propName:t,newOrigin:r})=>{(0,a.H)(e)&&r&&e.originOf(t)!==r&&e.updateOrigin(t,r)})}},59838(e,t,r){r.d(t,{save:()=>u,saveAs:()=>c});var a=r(7548),i=r(71530),n=r(10407);const o="Image Service";function s(e){if("imagery"===e.type||"wcs"===e.type)return{isValid:!0};const{raster:t}=e,r=(0,a.pb)(t)[0];return{isValid:"RasterTileServer"===r?.datasetFormat&&("Raster"===r.tileType||"Map"===r.tileType),errorMessage:"imagery tile layer should be created from a tiled image service."}}function l(e){const t=e.layerJSON;return Promise.resolve(t&&Object.keys(t).length?t:null)}async function p(e,t){const{parsedUrl:r,title:a,fullExtent:i}=e;t.url=r.path,t.title||=a;try{t.extent=await(0,n.sQ)(i)}catch{t.extent=void 0}(0,n.OM)(t,n.mm.METADATA),(0,n.Sm)(t,n.mm.TILED_IMAGERY,"imagery-tile"===e.type)}async function u(e,t){const r="imagery"===e.type?"imagery-layer-save":"imagery-tile"===e.type?"imagery-tile-layer-save":"wcs-layer-save",a="wcs"===e.type?"WCS":o;return(0,i.UN)({layer:e,itemType:a,validateLayer:s,createItemData:l,errorNamePrefix:r},t)}async function c(e,t,r){const a="imagery"===e.type?"imagery-layer-save-as":"imagery-tile"===e.type?"imagery-tile-layer-save-as":"wcs-layer-save-as",n="wcs"===e.type?"WCS":o;return(0,i.Uh)({layer:e,itemType:n,validateLayer:s,createItemData:l,errorNamePrefix:a,newItem:t,setItemProperties:p},r)}},71530(e,t,r){r.d(t,{UN:()=>g,Uh:()=>h});var a=r(49186),i=r(46130),n=r(20655),o=r(80812),s=r(88788),l=r(10407),p=r(26121);async function u(e){const{layer:t,errorNamePrefix:r,validateLayer:i}=e;await t.load(),function(e,t,r){const i=r(e);if(!i.isValid)throw new a.A(`${t}:invalid-parameters`,i.errorMessage,{layer:e})}(t,r,i)}function c(e,t){return`Layer (title: ${e.title}, id: ${e.id}) of type '${e.declaredClass}' ${t}`}function m(e){const{item:t,errorNamePrefix:r,layer:i,validateItem:n}=e;if(function(e){const{item:t,itemType:r,additionalItemType:i,errorNamePrefix:n,layer:o}=e,s=[r];if(i&&s.push(i),!s.includes(t.type)){const e=s.map(e=>`'${e}'`).join(", ");throw new a.A(`${n}:portal-item-wrong-type`,`Portal item type should be one of: "${e}"`,{item:t,layer:o})}}(e),n){const e=n(t);if(!e.isValid)throw new a.A(`${r}:invalid-parameters`,e.errorMessage,{layer:i})}}function d(e){const{layer:t,errorNamePrefix:r}=e,{portalItem:i}=t;if(!i)throw new a.A(`${r}:portal-item-not-set`,c(t,"requires the portalItem property to be set"));if(!i.loaded)throw new a.A(`${r}:portal-item-not-loaded`,c(t,"cannot be saved to a portal item that does not exist or is inaccessible"));m({...e,item:i})}function y(e){const{newItem:t,itemType:r}=e;let a=o.default.from(t);return a.id&&(a=a.clone(),a.id=null),a.type??=r,a.portal??=n.A.getDefault(),m({...e,item:a}),a}function f(e){return(0,s.m)(e,"portal-item")}async function w(e,t,r){"beforeSave"in e&&"function"==typeof e.beforeSave&&await e.beforeSave();const a=e.write({},t);return await Promise.all(t.resources?.pendingOperations??[]),(0,p.ci)(t,{errorName:"layer-write:unsupported"},r),a}function v(e){(0,l.LG)(e,l.mm.JSAPI),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter((e,t,r)=>r.indexOf(e)===t))}async function g(e,t){const{layer:r,createItemData:a,createJSONContext:n,setItemProperties:o,saveResources:s,supplementalUnsupportedErrors:l}=e;await u(e),d(e);const p=r.portalItem,c=n?n(p):f(p),m=await w(r,c,{...t,supplementalUnsupportedErrors:l}),y=await a({layer:r,layerJSON:m},p);return await(o?.(r,p,y)),v(p),await p.update({data:y}),(0,i.v)(c),await(s?.(p,c)),p}async function h(e,t){const{layer:r,createItemData:a,createJSONContext:n,setItemProperties:o,saveResources:s,supplementalUnsupportedErrors:l}=e;await u(e);const p=y(e),c=n?n(p):f(p),m=await w(r,c,{...t,supplementalUnsupportedErrors:l}),d=await a({layer:r,layerJSON:m},p);return await o(r,p,d),v(p),await async function(e,t,r){const a=e.portal;await a.signIn(),await a.user.addItem({item:e,data:t,folder:r?.folder})}(p,d,t),r.portalItem=p,(0,i.v)(c),await(s?.(p,c)),p}},76553(e,t,r){function a(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>a})},88788(e,t,r){r.d(t,{m:()=>o,v:()=>n});var a=r(84952),i=r(20655);function n(e,t){return{...s(e,t),readResourcePaths:[]}}function o(e,t,r){const i=(0,a.An)(e.itemUrl);return{...s(e,t),messages:[],writtenProperties:[],blockedRelativeUrls:[],verifyItemRelativeUrls:i?{rootPath:i.path,writtenUrls:[]}:null,resources:r?{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}:null}}function s(e,t){return{origin:t,url:(0,a.An)(e.itemUrl),portal:e.portal||i.A.getDefault(),portalItem:e}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,3169,4161,4423,6061,8125,9698],{4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(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,s.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 s(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:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,c,h,l,m,f,g,p){return[t,e,n,r,s,i,o,a,u,c,h,l,m,f,g,p]}},Symbol.toStringTag,{value:"Module"}))},60591(t,e,n){n.d(e,{execute:()=>r.e}),n(4576),n(86211),n(70787),n(78125);var r=n(92523)},64523(t,e,n){n.d(e,{O:()=>h});var r=n(31635),s=n(76061),i=n(55537),o=n(88885),a=n(95213),u=n(83661),c=n(5247);class h{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,n,r){return new l(t,e,n,r)}execute(t,e,n,r){return t||(0,i.a)("null param is not allowed."),new l(null,e,n,r).generalize(t)}}class l extends s.G{constructor(t,e,n,r){super(),this.m_pline=null,this.m_point=new a.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=r,this.m_geoms=t,this.m_maxDeviation=e,this.m_bRemoveDegenerateParts=n}tock(){return!0}getRank(){return 1}next(){const t=this.m_geoms.next();return null===t?null:((0,i.c)(t),this.generalize(t))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(t){const e=t.getGeometryType();if((0,i.e)(e))return t;if(e===i.G.enumEnvelope){const e=new o.a({vd:t.getDescription()});return e.addEnvelope(t,!1),this.generalize(e)}if((0,i.f)(e)){const e=new o.P({vd:t.getDescription()});return e.addSegment(t,!0),this.generalize(e)}if((0,i.h)(e)||(0,i.t)(""),t.isEmpty()||this.m_maxDeviation<=0)return t;const n=(new c.O).execute(t,0,.05*this.m_maxDeviation,0,this.m_progressTracker);t.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const s=n,a=t.createInstance();a.getGeometryType()===i.G.enumPolygon&&a.setFillRule(t.getFillRule()),this.m_xy=s.getAttributeStreamRef(0);{const t={stack:[],error:void 0,hasError:!1};try{const e=new o.L;this.m_pline=e,(0,r.mS)(t,(0,u.h)(()=>{this.m_pline=null},!1),!1);for(let t=0,e=s.getPathCount();t<e;t++)this.generalizePath(s.getImpl(),t,a.getImpl())}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}return this.m_resultstack.length=0,this.m_stack.length=0,a}generalizePath(t,e,n){if(t.getPathSize(e)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const r=t.getPathStart(e),s=t.getPathEnd(e)-1,i=t.isClosedPath(e),o=t.isClosedPathInXYPlane(e);let a=0,c=-1;this.m_stack.push(i?r:s),this.m_stack.push(r);let h=!1,l=!1;for(!this.m_bRemoveDegenerateParts&&o&&(h=!0,l=!0);this.m_stack.length>1;){const e=this.m_stack.at(-1);this.m_stack.pop();const n=this.m_stack.at(-1);let r=t.getXY(e);this.m_pline.setStartXY(r),r=t.getXY(n),this.m_pline.setEndXY(r);const i=[Number.NaN];let o=this.findGreatestDistance(e,n,s,i);o>=0&&(h?h=!1:(l&&i[0]>a&&(a=i[0],c=o),i[0]<=this.m_maxDeviation&&(o=-1))),o>=0?(this.m_stack.push(o),this.m_stack.push(e)):this.m_resultstack.push(e)}i||this.m_resultstack.push(this.m_stack[0]);const m=this.m_resultstack.length;if(m===t.getPathSize(e)&&m===this.m_stack.length)n.addPath(t,e,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(u.P.distance(t.getXY(this.m_resultstack[0]),t.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(l&&c>=0&&a<=this.m_maxDeviation){const t=this.m_resultstack.at(-1)>c;this.m_resultstack.push(c),t&&(this.m_resultstack[this.m_resultstack.length-2]=(0,u.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let e=0,r=this.m_resultstack.length;e<r;e++)t.getPointByVal(this.m_resultstack[e],this.m_point),0===e?n.startPathPoint(this.m_point):n.lineToPoint(this.m_point);if(i){for(let t=this.m_resultstack.length;t<3;t++)n.lineToPoint(this.m_point);n.closePathWithLine()}}}findGreatestDistance(t,e,n,r){let s=e-1;e<=t&&(s=n);let i=-1,o=0;const a=new u.P;for(let e=t+1;e<=s;e++){this.m_xy.queryPoint2D(2*e,a);const t=a.x,n=a.y,r=this.m_pline.getClosestCoordinate(a,!1);a.assign(this.m_pline.getCoord2D(r)),a.x-=t,a.y-=n;const s=a.length();s>o&&(i=e,o=s),this.m_callCount++}return r[0]=o,i}}},69397(t,e,n){n.d(e,{$B:()=>s,Qf:()=>c,Qh:()=>a,RS:()=>i,Ul:()=>g,ez:()=>m,lM:()=>o,qK:()=>l});var r=n(34275);function s(t){return 32+t.length}const i=16;function o(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=m;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 s(t);case"number":return i;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,i):0:0),0)}function h(t,e){return m+t.length*e}const l=32,m=16,f=145,g=64},70328(t,e,n){n.d(e,{BI:()=>x,DC:()=>l,Ej:()=>f,Ie:()=>_,Jt:()=>d,Ne:()=>g,RF:()=>h,aI:()=>P,fA:()=>o,gE:()=>u,hZ:()=>y,iT:()=>m,is:()=>M,qv:()=>v,vI:()=>p,vY:()=>a,v_:()=>k,vt:()=>i,w1:()=>c});var r=n(5443),s=(n(19419),n(4197));function i(t=k){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return y(r,v),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,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]=s,t[1]=i,t[2]=o,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,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,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 m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function f(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function 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 p(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 y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function _(t){return t?y(t,v):i(v)}function d(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 x(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function M(t){return 6===t.length}function P(t,e,n){if(null==t||null==e)return t===e;if(!M(t)||!M(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 v=[1/0,1/0,1/0,-1/0,-1/0,-1/0],k=[0,0,0,0,0,0];i()},70787(t,e,n){n.d(e,{fz:()=>a,g7:()=>i,zo:()=>o});var r=n(76061);const s=new(n(64523).O);function i(t,e,n){return s.execute(t,e,n,null)}function o(t,e,n){const i=s.executeMany(new r.S(t),e,n,null);return Array.from(i)}function a(){return s.supportsCurves()}},76061(t,e,n){n.d(e,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class s 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:()=>y,fromGeometry:()=>p,fromMultipoint:()=>_,fromPoint:()=>d,fromPolygon:()=>x,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>P,fromSpatialReference:()=>v,getSpatialReference:()=>g,toExtent:()=>G,toGeometry:()=>k,toMultipoint:()=>C,toPoint:()=>w,toPolygon:()=>I,toPolyline:()=>V});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),o=n(88885),a=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),m=(n(90293),n(83299));const f="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return _(t);case"polyline":return M(t);case"polygon":return x(t);case"extent":return y(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function y(t){if(!t.getCacheValue(f)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(f,e)}return t.getCacheValue(f)}function _(t){if(!t.getCacheValue(f)){const e=new o.M,n=new i.P,r=t.points,s=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,i=r.length;t<i;t++){const i=r[t];n.setXYCoords(i[0],i[1]),a&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),e.add(n)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function d(t){if(!t.getCacheValue(f)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function x(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,i=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function M(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function P(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function v(t){return(0,m.fromSpatialReference)(t)}function k(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return w(t,e);case s.G.enumEnvelope:return G(t,e);case s.G.enumMultiPoint:return C(t,e);case s.G.enumPolyline:return V(t,e);case s.G.enumPolygon:return I(t,e)}return null}function G(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(f,t),n}function C(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],a=new i.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:e});return c.setCacheValue(f,t),c}function w(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}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(f,t),n}function I(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}function V(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}},92523(t,e,n){n.d(e,{e:()=>a,g:()=>c});var r=n(4576),s=n(86211),i=n(70787),o=n(78125);function a(t,e,n={}){const{removeDegenerateParts:r=!1,unit:a}=n,u=(0,o.getSpatialReference)(t);return a&&(e=(0,s.UW)(e,a,u)),(0,o.toGeometry)((0,i.g7)((0,o.fromGeometry)(t),e,r),u)}const u=(0,i.fz)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:a,executeMany:function(t,e,n={}){const{removeDegenerateParts:a=!1,unit:u}=n,c=t.map(o.fromGeometry),h=(0,o.getSpatialReference)(t);return u&&(e=(0,s.UW)(e,u,h)),(0,i.zo)(c,e,a).map(t=>(0,o.toGeometry)(t,h)).filter(r.Ru)},supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{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 s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,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 s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=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 s=0;s<r;s++){const r=n*(e+s);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:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t)):new s(e,Array.from(i),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 s(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1190],{51190(e,t,n){n.r(t),n.d(t,{execute:()=>r});var c=n(86211),o=n(83299);function r(e,t={}){const{unit:n}=t;let r=(0,o.fromGeometryToGXGeometry)(e).calculateLength2D();const u=(0,o.getSpatialReference)(e);return r&&n&&u&&(r=(0,c.PQ)(r,u,n)),r}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see e3d3fc87789fd711f161.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8098],{48098(e,t,o){o.r(t),o.d(t,{Notice:()=>v}),o(65942),o(43474);var i=o(34088),c=o(46337),n=o(48015),a=o(98268),l=o(8348),r=o(79e3);const s={danger:"exclamationMarkTriangleF",info:"informationF",success:"checkCircleF",warning:"exclamationMarkTriangleF"};var d=o(70101),h=o(83623),p=o(75572),g=o(20307);const u=c.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-background-color: var(--calcite-action-background-color, transparent)}.notice-close:hover,.notice-close:focus{--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-focus, var(--calcite-color-foreground-2) );--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover, var(--calcite-color-text-1))}.notice-close:active{--calcite-action-background-color-press: var( --calcite-notice-close-background-color-press, var(--calcite-color-foreground-3) )}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;class v extends a.WF{constructor(){super(...arguments),this.closeButtonRef=(0,n._)(),this.transitionProp="opacity",this.transitionRef=(0,n._)(),this.messages=(0,p.u)(),this.focusSetter=(0,g.u)()(this),this.hasActionEnd=!1,this.appearance="outline-fill",this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,l.c)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,l.c)({cancelable:!1}),this.calciteNoticeClose=(0,l.c)({cancelable:!1}),this.calciteNoticeOpen=(0,l.c)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:a.pf,type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=u}async setFocus(e){return this.focusSetter(()=>this.el.querySelector("calcite-link")||this.closeButtonRef.value,e)}async load(){this.kindIcons={...s,brand:"lightbulb"},this.requestedIcon=(0,r.v)(this.kindIcons,this.icon,this.kind)}willUpdate(e){e.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.t)(this),(e.has("icon")||e.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,r.v)(this.kindIcons,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}close(){this.open=!1}handleActionsEndSlotChange(e){this.hasActionEnd=(0,r.a)(e)}render(){const e=c.qy`<calcite-action class=${(0,a.CP)("notice-close")} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${(0,n.K)(this.closeButtonRef)}></calcite-action>`;return c.qy`<div class=${(0,a.CP)("container")} ${(0,n.K)(this.transitionRef)}>${this.requestedIcon?c.qy`<div class=${(0,a.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,h.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,a.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,a.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?e:null}</div>`}}(0,i.c)("calcite-notice",v)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4038],{51530(e,t,s){s.d(t,{KB:()=>a,Xi:()=>r,pn:()=>o,x3:()=>n});var i=s(44208);class r{constructor(e){this.data=e,this.type="encoded-mesh-texture",this.encoding="image/ktx2"}}function n(e){return"encoded-mesh-texture"===e?.type}async function a(e){const t=new Blob([e]),s=await t.text();return JSON.parse(s)}async function o(e,t){if("image/ktx2"===t)return new r(e);const s=new Blob([e],{type:t});let n=URL.createObjectURL(s);switch(t){case"image/jpeg":n+="#.jpg";break;case"image/png":n+="#.png"}const a=new Image;if((0,i.A)("esri-iPhone"))return new Promise((e,t)=>{const s=()=>{r(),e(a)},i=e=>{r(),t(e)},r=()=>{URL.revokeObjectURL(n),a.removeEventListener("load",s),a.removeEventListener("error",i)};a.addEventListener("load",s),a.addEventListener("error",i),a.src=n});try{a.src=n,await a.decode()}catch(e){console.warn("Failed decoding HTMLImageElement")}return URL.revokeObjectURL(n),a}},63907(e,t,s){s.d(t,{$0:()=>f,CQ:()=>m,Fq:()=>d,H0:()=>n,SB:()=>c,WR:()=>i,XN:()=>a,iE:()=>o,ld:()=>h,nI:()=>p,pe:()=>r,r6:()=>l,vt:()=>u,yI:()=>_});const i={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},n={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},a=Object.values(n),o={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},c={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},h={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},u={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},f=0,l=36064,_=36065,d=36066,p=33306,m={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},84038(e,t,s){s.r(t),s.d(t,{exportGLTF:()=>V,modelNameGlb:()=>z,modelNameGltf:()=>P,toBinaryGLTF:()=>H});var i=s(74887),r=s(4576);class n{constructor(){this.copyright="",this.defaultScene=0,this.generator="",this._scenes=[]}addScene(e){if(this._scenes.includes(e))throw new Error("Scene already added");this._scenes.push(e)}removeScene(e){(0,r.TF)(this._scenes,e)}forEachScene(e){this._scenes.forEach(e)}}class a{static{this.HEADER_SIZE=12}static{this.CHUNK_HEADER_SIZE=8}static{this.MAGIC=1179937895}static{this.VERSION=2}constructor(e,t){if(!e)throw new Error("GLB requires a JSON gltf chunk");this._length=a.HEADER_SIZE,this._length+=a.CHUNK_HEADER_SIZE;const s=function(e){return(new TextEncoder).encode(e).buffer}(e);if(this._length+=o(s.byteLength,4),t&&(this._length+=a.CHUNK_HEADER_SIZE,this._length+=t.byteLength,t.byteLength%4))throw new Error("Expected BIN chunk length to be divisible by 4 at this point");this.buffer=new ArrayBuffer(this._length),this._outView=new DataView(this.buffer),this._writeHeader();const i=this._writeChunk(s,12,1313821514,32);t&&this._writeChunk(t,i,5130562)}_writeHeader(){this._outView.setUint32(0,a.MAGIC,!0),this._outView.setUint32(4,a.VERSION,!0),this._outView.setUint32(8,this._length,!0)}_writeChunk(e,t,s,i=0){const r=o(e.byteLength,4);for(this._outView.setUint32(t,r,!0),this._outView.setUint32(t+=4,s,!0),function(e,t,s,i,r){new Uint8Array(e,s,r).set(new Uint8Array(t,0,r),0)}(this._outView.buffer,e,t+=4,0,e.byteLength),t+=e.byteLength;t%4;)i&&this._outView.setUint8(t,i),t++;return t}}function o(e,t){return t*Math.ceil(e/t)}var c=s(40876),h=s(53966),u=s(91869),f=s(34727),l=s(67026),_=s(82534),d=s(35522),p=s(51850),m=s(80882),g=s(72258),T=s(63907);class E{constructor(e,t,s,i,r){this._buffer=e,this._componentType=s,this._dataType=i,this._data=[],this._isFinalized=!1,this._accessorIndex=-1,this._accessorAttribute=null,this._accessorMin=null,this._accessorMax=null,t.bufferViews||(t.bufferViews=[]),this.index=t.bufferViews.length,this._bufferView={buffer:e.index,byteLength:-1,target:r};const n=this._getElementSize();n>=4&&34963!==r&&(this._bufferView.byteStride=n),t.bufferViews.push(this._bufferView),this._numComponentsForDataType=this._calculateNumComponentsForDataType()}push(e){const t=this._data.length;if(this._data.push(e),this._accessorIndex>=0){const s=t%this._numComponentsForDataType,i=this._accessorMin[s];this._accessorMin[s]="number"!=typeof i?e:Math.min(i,e);const r=this._accessorMax[s];this._accessorMax[s]="number"!=typeof r?e:Math.max(r,e)}}get dataSize(){return this._data.length*this._sizeComponentType()}get byteSize(){return e=this.dataSize,4*Math.ceil(e/4);var e}getByteOffset(){if(!this._isFinalized)throw new Error("Cannot get BufferView offset until it is finalized");return this._buffer.getByteOffset(this)}get byteOffset(){if(!this._isFinalized)throw new Error("Cannot get BufferView offset until it is finalized");return this._buffer.getByteOffset(this)}_createTypedArray(e,t){switch(this._componentType){case T.pe.BYTE:return new Int8Array(e,t);case T.pe.FLOAT:return new Float32Array(e,t);case T.pe.SHORT:return new Int16Array(e,t);case T.pe.UNSIGNED_BYTE:return new Uint8Array(e,t);case T.pe.UNSIGNED_INT:return new Uint32Array(e,t);case T.pe.UNSIGNED_SHORT:return new Uint16Array(e,t)}}writeOutToBuffer(e,t){this._createTypedArray(e,t).set(this._data)}writeAsync(e){if(this._asyncWritePromise)throw new Error("Can't write multiple bufferView values asynchronously");return this._asyncWritePromise=e.then(e=>{const t=new Uint8Array(e);for(let e=0;e<t.length;++e)this._data.push(t[e]);delete this._asyncWritePromise}),this._asyncWritePromise}startAccessor(e){if(this._accessorIndex>=0)throw new Error("Accessor was started without ending the previous one");this._accessorIndex=this._data.length,this._accessorAttribute=e;const t=this._numComponentsForDataType;this._accessorMin=new Array(t),this._accessorMax=new Array(t)}endAccessor(){if(this._accessorIndex<0)throw new Error("An accessor was not started, but was attempted to be ended");const e=this._getElementSize(),t=this._numComponentsForDataType,s=(this._data.length-this._accessorIndex)/t;if(s%1)throw new Error("An accessor was ended with missing component values");for(let e=0;e<this._accessorMin.length;++e)"number"!=typeof this._accessorMin[e]&&(this._accessorMin[e]=0),"number"!=typeof this._accessorMax[e]&&(this._accessorMax[e]=0);const i={byteOffset:e*(this._accessorIndex/t),componentType:this._componentType,count:s,type:this._dataType,min:this._accessorMin,max:this._accessorMax,name:this._accessorAttribute};switch(this._accessorAttribute){case"TEXCOORD_0":case"TEXCOORD_1":case"COLOR_0":case"WEIGHTS_0":switch(this._componentType){case T.pe.UNSIGNED_BYTE:case T.pe.UNSIGNED_SHORT:i.normalized=!0}}return this._accessorIndex=-1,this._accessorAttribute=null,this._accessorMin=null,this._accessorMax=null,i}get finalized(){return this._finalizedPromise?this._finalizedPromise:this._isFinalized?this._finalizedPromise=Promise.resolve():this._finalizedPromise=new Promise(e=>this._finalizedPromiseResolve=e)}async finalize(){const e=this._bufferView,t=this._buffer.getViewFinalizePromises(this);this._asyncWritePromise&&t.push(this._asyncWritePromise),await Promise.allSettled(t),this._isFinalized=!0,e.byteOffset=this.getByteOffset(),e.byteLength=this.dataSize,this._finalizedPromiseResolve&&this._finalizedPromiseResolve()}_getElementSize(){return this._sizeComponentType()*this._numComponentsForDataType}_sizeComponentType(){switch(this._componentType){case T.pe.BYTE:case T.pe.UNSIGNED_BYTE:return 1;case T.pe.SHORT:case T.pe.UNSIGNED_SHORT:return 2;case T.pe.UNSIGNED_INT:case T.pe.FLOAT:return 4}}_calculateNumComponentsForDataType(){switch(this._dataType){case"SCALAR":return 1;case"VEC2":return 2;case"VEC3":return 3;case"VEC4":case"MAT2":return 4;case"MAT3":return 9;case"MAT4":return 16}}}class w{constructor(e){this._gltf=e,this._bufferViews=[],this._isFinalized=!1,e.buffers||(e.buffers=[]),this.index=e.buffers.length;const t={byteLength:-1};e.buffers.push(t),this._buffer=t}addBufferView(e,t,s){if(this._finalizePromise)throw new Error("Cannot add buffer view after fiinalizing buffer");const i=new E(this,this._gltf,e,t,s);return this._bufferViews.push(i),i}getByteOffset(e){let t=0;for(const s of this._bufferViews){if(s===e)return t;t+=s.byteSize}throw new Error("Given bufferView was not present in this buffer")}getViewFinalizePromises(e){const t=[];for(const s of this._bufferViews){if(e&&s===e)return t;t.push(s.finalized)}return t}getArrayBuffer(){if(!this._isFinalized)throw new Error("Cannot get ArrayBuffer from Buffer before it is finalized");const e=this._getTotalSize(),t=new ArrayBuffer(e);let s=0;for(const e of this._bufferViews)e.writeOutToBuffer(t,s),s+=e.byteSize;return t}finalize(){if(this._finalizePromise)throw new Error(`Buffer ${this.index} was already finalized`);return this._finalizePromise=Promise.allSettled(this.getViewFinalizePromises()).then(()=>{this._isFinalized=!0;const e=this.getArrayBuffer();this._buffer.byteLength=e.byteLength,this._buffer.uri=e}),this._gltf.extras.promises.push(this._finalizePromise),this._finalizePromise}_getTotalSize(){let e=0;for(const t of this._bufferViews)e+=t.byteSize;return e}}function R(e,t){if(e.components)for(const s of e.components)s.faces&&"smooth"===s.shading&&S(s.faces,t)}function S(e,t){null==t.normal&&(t.normal=new Float32Array(t.position.length));const{position:s,normal:i}=t,r=e.length/3;for(let t=0;t<r;++t){const r=3*e[3*t],n=3*e[3*t+1],a=3*e[3*t+2],o=(0,d.hZ)(b,s[r],s[r+1],s[r+2]),c=(0,d.hZ)(A,s[n],s[n+1],s[n+2]),h=(0,d.hZ)(N,s[a],s[a+1],s[a+2]),u=(0,d.Re)(c,c,o),f=(0,d.Re)(h,h,o),l=(0,d.$A)(u,u,f);i[r]+=l[0],i[r+1]+=l[1],i[r+2]+=l[2],i[n]+=l[0],i[n+1]+=l[1],i[n+2]+=l[2],i[a]+=l[0],i[a+1]+=l[1],i[a+2]+=l[2]}for(let e=0;e<i.length;e+=3)(0,d.hZ)(y,i[e],i[e+1],i[e+2]),(0,d.S8)(y,y),i[e]=y[0],i[e+1]=y[1],i[e+2]=y[2]}const b=(0,p.vt)(),A=(0,p.vt)(),N=(0,p.vt)(),y=(0,p.vt)();var I=s(49186),x=s(84952);async function O(e,t){const s=C(e);if(null==s)throw new I.A("imageToArrayBuffer","Unsupported image type");const r=function(e){if(!(e instanceof HTMLImageElement))return"image/png";const t=e.src;if((0,x.DB)(t)){const e=(0,x.r$)(t);return"image/jpeg"===e?.mediaType?e.mediaType:"image/png"}return/\.png$/i.test(t)?"image/png":/\.(jpg|jpeg)$/i.test(t)?"image/jpeg":"image/png"}(e),n=await new Promise(e=>s.toBlob(e,r));if((0,i.Te)(t),!n)throw new I.A("imageToArrayBuffer","Failed to encode image");const a=await n.arrayBuffer();return(0,i.Te)(t),{data:a,type:r}}function C(e){if(e instanceof HTMLCanvasElement)return e;if(e instanceof HTMLVideoElement)return null;const t=document.createElement("canvas");t.width=e.width,t.height=e.height;const s=t.getContext("2d");return e instanceof HTMLImageElement?s.drawImage(e,0,0,e.width,e.height):e instanceof ImageData&&s.putImageData(e,0,0),t}var B=s(51530);const G=()=>h.A.getLogger("esri.geometry.support.meshUtils.exporters.gltf.gltf");class M{constructor(e,t){this.options=t,this._materialMap=new Array,this._imageMap=new Map,this._textureMap=new Map,this.gltf={asset:{version:"2.0",copyright:e.copyright,generator:e.generator},extras:{output:t.output,binChunkBuffer:null,promises:[]}},this._addScenes(e)}_addScenes(e){this.gltf.scene=e.defaultScene;const t=this.gltf.extras,s=2===t.output.buffer||2===t.output.image;s&&(t.binChunkBuffer=new w(this.gltf)),e.forEachScene(e=>{this._addScene(e)}),s&&t.binChunkBuffer.finalize()}_addScene(e){this.gltf.scenes||(this.gltf.scenes=[]);const t={};e.name&&(t.name=e.name),e.forEachNode(e=>{t.nodes||(t.nodes=[]),t.nodes.push(...this._addNodes(e))}),this.gltf.scenes.push(t)}_addNodes(e){this.gltf.nodes||(this.gltf.nodes=[]);const t={};e.name&&(t.name=e.name);const s=e.translation;(0,d.t2)(s,p.uY)||(t.translation=(0,p.o8)(s));const i=e.rotation;(0,l.t2)(i,_.zK)||(t.rotation=(0,_.o8)(i));const r=e.scale;(0,d.t2)(r,p.Un)||(t.scale=(0,p.o8)(r));const n=this.gltf.nodes.length;if(this.gltf.nodes.push(t),e.mesh&&e.mesh.vertexAttributes.position){const s=this._createMeshes(e.mesh),i=[n];if(1===s.length)this._addMesh(t,s[0]);else for(const e of s){const t={};this._addMesh(t,e),i.push(this.gltf.nodes.length),this.gltf.nodes.push(t)}return i}return e.forEachNode(e=>{t.children||(t.children=[]),t.children.push(...this._addNodes(e))}),[n]}_addMesh(e,t){this.gltf.meshes??=[];const s=this.gltf.meshes.length;this.gltf.meshes.push(t),e.mesh=s}_createMeshes(e){const t=this.gltf.extras,s=2===t.output.buffer;let i;i=s?t.binChunkBuffer:new w(this.gltf);const r=this.options.origin,n=e.vertexSpace.clone();n.origin=[r.x,r.y,r.z??0];const a=(0,g.UR)({vertexAttributes:e.vertexAttributes,vertexSpace:e.vertexSpace,transform:this.options?.ignoreLocalTransform?null:e.transform,spatialReference:e.spatialReference},n,{targetUnit:this.options.unitConversionDisabled?void 0:"meters"});if(!a)return[];R(e,a),U(a);const{position:o,normal:c,tangent:h}=a,{uv:u,color:f}=e.vertexAttributes,l=i.addBufferView(T.pe.FLOAT,"VEC3",34962);let _,d,p,m;c&&(_=i.addBufferView(T.pe.FLOAT,"VEC3",34962)),u&&(d=i.addBufferView(T.pe.FLOAT,"VEC2",34962)),h&&(p=i.addBufferView(T.pe.FLOAT,"VEC4",34962)),f&&(m=i.addBufferView(T.pe.FLOAT,"VEC4",34962)),l.startAccessor("POSITION"),_&&_.startAccessor("NORMAL"),d&&d.startAccessor("TEXCOORD_0"),p&&p.startAccessor("TANGENT"),m&&m.startAccessor("COLOR_0");const E=a.position.length/3;for(let e=0;e<E;++e)l.push(o[3*e]),l.push(o[3*e+1]),l.push(o[3*e+2]),_&&null!=c&&(_.push(c[3*e]),_.push(c[3*e+1]),_.push(c[3*e+2])),d&&null!=u&&(d.push(u[2*e]),d.push(u[2*e+1])),p&&null!=h&&(p.push(h[4*e]),p.push(h[4*e+1]),p.push(h[4*e+2]),p.push(h[4*e+3])),m&&null!=f&&(m.push(L(f[4*e]/255)),m.push(L(f[4*e+1]/255)),m.push(L(f[4*e+2]/255)),m.push(f[4*e+3]/255));const S=l.endAccessor(),b=this._addAccessor(l.index,S);let A,N,y,I,x;if(_){const e=_.endAccessor();A=this._addAccessor(_.index,e)}if(d){const e=d.endAccessor();N=this._addAccessor(d.index,e)}if(p){const e=p.endAccessor();y=this._addAccessor(p.index,e)}if(m){const e=m.endAccessor();I=this._addAccessor(m.index,e)}const O=[];return e.components&&e.components.length>0&&e.components[0].faces?(x=i.addBufferView(T.pe.UNSIGNED_INT,"SCALAR",34963),this._addMeshVertexIndexed(x,e.components,O,b,A,N,y,I)):this._addMeshVertexNonIndexed(e.components,O,b,A,N,y,I),l.finalize(),_?.finalize(),d?.finalize(),p?.finalize(),x?.finalize(),m?.finalize(),s||i.finalize(),O}_addMaterial(e){if(null==e)return;const t=this._materialMap.indexOf(e);if(-1!==t)return t;this.gltf.materials||(this.gltf.materials=[]);const s={};switch(e.alphaMode){case"mask":s.alphaMode="MASK";break;case"auto":case"blend":s.alphaMode="BLEND"}s.alphaCutoff=e.alphaCutoff,e.doubleSided&&(s.doubleSided=e.doubleSided),s.pbrMetallicRoughness={};const i=e=>{const t=e.toRgba();return t[0]=L(t[0]/255),t[1]=L(t[1]/255),t[2]=L(t[2]/255),t};if(null!=e.color&&(s.pbrMetallicRoughness.baseColorFactor=i(e.color)),null!=e.colorTexture&&(s.pbrMetallicRoughness.baseColorTexture=this._createTextureInfo(e.colorTexture,e.colorTextureTransform)),null!=e.normalTexture&&(s.normalTexture=this._createTextureInfo(e.normalTexture,e.normalTextureTransform)),e instanceof m.A){if(null!=e.emissiveTexture&&(s.emissiveTexture=this._createTextureInfo(e.emissiveTexture,e.emissiveTextureTransform)),null!=e.emissiveColor){const t=i(e.emissiveColor);s.emissiveFactor=[t[0],t[1],t[2]]}null!=e.emissiveStrength&&(s.extensions??={},s.extensions.KHR_materials_emissive_strength={emissiveStrength:e.emissiveStrength}),null!=e.occlusionTexture&&(s.occlusionTexture=this._createTextureInfo(e.occlusionTexture,e.occlusionTextureTransform)),null!=e.metallicRoughnessTexture&&(s.pbrMetallicRoughness.metallicRoughnessTexture=this._createTextureInfo(e.metallicRoughnessTexture,e.metallicRoughnessTextureTransform)),s.pbrMetallicRoughness.metallicFactor=e.metallic,s.pbrMetallicRoughness.roughnessFactor=e.roughness}else s.pbrMetallicRoughness.metallicFactor=1,s.pbrMetallicRoughness.roughnessFactor=1,G().warnOnce("Meshes exported to GLTF without MeshMaterialMetallicRoughness material will appear different when imported back.");const r=this.gltf.materials.length;return this.gltf.materials.push(s),this._materialMap.push(e),r}_createTextureInfo(e,t){const s={index:this._addTexture(e)};return t?(s.extensions||(s.extensions={}),s.extensions.KHR_texture_transform={scale:t.scale,offset:t.offset,rotation:(0,f.kU)(t.rotation)},s):s}_addTexture(e){const t=this.gltf.textures??[];return this.gltf.textures=t,(0,u.tE)(this._textureMap,e,()=>{const s={sampler:this._addSampler(e),source:this._addImage(e)},i=t.length;return t.push(s),i})}_addImage(e){const t=this._imageMap.get(e);if(null!=t)return t;this.gltf.images||(this.gltf.images=[]);const s={};if(e.url)s.uri=e.url;else{const t=e.data;s.extras=t;for(let e=0;e<this.gltf.images.length;++e)if(t===this.gltf.images[e].extras)return e;const i=this.gltf.extras;switch(i.output.image){case 2:{const e=i.binChunkBuffer.addBufferView(T.pe.UNSIGNED_BYTE,"SCALAR");if((0,B.x3)(t))null!=t.data&&e.writeOutToBuffer(t.data.buffer,0);else{const r=O(t,this.options.signal).then(({data:e,type:t})=>(s.mimeType=t,e));i.promises.push(e.writeAsync(r).then(()=>e.finalize()))}s.bufferView=e.index;break}case 1:if((0,B.x3)(t)){G().warnOnce("Image export for basis compressed textures not available.");break}s.uri=function(e){const t=C(e);return null!=t?t.toDataURL():""}(t);break;default:if((0,B.x3)(t)){G().warnOnce("Image export for basis compressed textures not available.");break}i.promises.push(O(t,this.options.signal).then(({data:e,type:t})=>{s.uri=e,s.mimeType=t}))}}const i=this.gltf.images.length;return this.gltf.images.push(s),this._imageMap.set(e,i),i}_addSampler(e){this.gltf.samplers||(this.gltf.samplers=[]);let t=10497,s=10497;if("string"==typeof e.wrap)switch(e.wrap){case"clamp":t=33071,s=33071;break;case"mirror":t=33648,s=33648}else{switch(e.wrap.vertical){case"clamp":s=33071;break;case"mirror":s=33648}switch(e.wrap.horizontal){case"clamp":t=33071;break;case"mirror":t=33648}}const i={wrapS:t,wrapT:s};for(let e=0;e<this.gltf.samplers.length;++e)if(JSON.stringify(i)===JSON.stringify(this.gltf.samplers[e]))return e;const r=this.gltf.samplers.length;return this.gltf.samplers.push(i),r}_addAccessor(e,t){this.gltf.accessors||(this.gltf.accessors=[]);const s={bufferView:e,byteOffset:t.byteOffset,componentType:t.componentType,count:t.count,type:t.type,min:t.min,max:t.max,name:t.name};t.normalized&&(s.normalized=!0);const i=this.gltf.accessors.length;return this.gltf.accessors.push(s),i}_addMeshVertexIndexed(e,t,s,i,r,n,a,o){const c=new Map;for(const h of t){if(e.startAccessor("INDICES"),h.faces)for(let t=0;t<h.faces.length;++t)e.push(h.faces[t]);const t=e.endAccessor(),u={attributes:{POSITION:i},indices:this._addAccessor(e.index,t),material:this._addMaterial(h.material)};r&&"flat"!==h.shading&&(u.attributes.NORMAL=r),n&&(u.attributes.TEXCOORD_0=n),a&&"flat"!==h.shading&&(u.attributes.TANGENT=a),o&&(u.attributes.COLOR_0=o);const f=c.get(h.name);if(f)f.primitives.push(u);else{const e={name:h.name,primitives:[u]};c.set(h.name,e),s.push(e)}}}_addMeshVertexNonIndexed(e,t,s,i,r,n,a){const o={primitives:[]};t.push(o);const c={attributes:{POSITION:s}};i&&(c.attributes.NORMAL=i),r&&(c.attributes.TEXCOORD_0=r),n&&(c.attributes.TANGENT=n),a&&(c.attributes.COLOR_0=a),e&&(c.material=this._addMaterial(e[0].material)),o.primitives.push(c)}}function U({position:e,normal:t,tangent:s}){D(e,3),D(t,3),D(s,4)}function D(e,t){if(null!=e)for(let s=1,i=2;s<e.length;s+=t,i+=t){const t=e[s],r=e[i];e[s]=r,e[i]=-t}}function L(e){return e**c.Tf}class F{constructor(e){this.mesh=e,this.name="",this.translation=(0,p.vt)(),this.rotation=(0,_.vt)(),this.scale=(0,p.o8)(p.Un),this._nodes=[]}addNode(e){if(this._nodes.includes(e))throw new Error("Node already added");this._nodes.push(e)}forEachNode(e){this._nodes.forEach(e)}set rotationAngles(e){(0,l.A6)(this.rotation,e[0],e[1],e[2])}}class v{constructor(){this.name="",this._nodes=[]}addNode(e){if(this._nodes.includes(e))throw new Error("Node already added");this._nodes.push(e)}forEachNode(e){this._nodes.forEach(e)}}const P="model.gltf",z="model.glb";async function V(e,t){const s=new M(e,t).gltf,r=s.extras.promises;let n=1,o=1,c=null;await Promise.allSettled(r),(0,i.Te)(t.signal);const h=t.jsonSpacing??4,u=new Map,f=JSON.stringify(s,(e,s)=>{if("extras"!==e){if(s instanceof ArrayBuffer){if(function(e){if(e.byteLength<8)return!1;const t=new Uint8Array(e);return 137===t[0]&&80===t[1]&&78===t[2]&&71===t[3]&&13===t[4]&&10===t[5]&&26===t[6]&&10===t[7]}(s))switch(t.output?.image){case 1:case 2:break;default:{const e=`img${o}.png`;return o++,u.set(e,s),e}}switch(t.output?.buffer){case 1:return function(e){const t=[],s=new Uint8Array(e);for(let e=0;e<s.length;e++)t.push(String.fromCharCode(s[e]));return"data:application/octet-stream;base64,"+btoa(t.join(""))}(s);case 2:if(c)throw new Error("Already encountered an ArrayBuffer, there should only be one in the GLB format.");return void(c=s);default:{const e=`data${n}.bin`;return n++,u.set(e,s),e}}}return s}},h);return 2===t.output?.buffer||2===t.output?.image?u.set(z,new a(f,c).buffer):u.set(P,f),u}async function H(e,t){const s=new n,i=new v;return s.addScene(i),i.addNode(new F(e)),await async function(e,t){const s=(await V(e,{output:{buffer:2,image:2},jsonSpacing:0,...t})).get(z);if(!(s&&s instanceof ArrayBuffer))throw new Error("failed to export to glb");return s}(s,{origin:e.origin,...t})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,566,6061,9700],{4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>s,l5:()=>u,xm:()=>o});var r=n(34275),i=n(9093);function s(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function u(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function h(t){return[...t]}function c(t){const e=(0,i.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 i(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:()=>i,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:i,create:r,fromValues:function(t,e,n,r,i,s,o,u,h,c,a,f,l,m,d,g){return[t,e,n,r,i,s,o,u,h,c,a,f,l,m,d,g]}},Symbol.toStringTag,{value:"Module"}))},29821(t,e,n){n.d(e,{O:()=>i});var r=n(15756);class i extends r.n{getOperatorType(){return 6}execute(t,e,n,i){return(0,r.r)(t,e,n,16,i)}}},69397(t,e,n){n.d(e,{$B:()=>i,Qf:()=>c,Qh:()=>u,RS:()=>s,Ul:()=>d,ez:()=>l,lM:()=>o,qK:()=>f});var r=n(34275);function i(t){return 32+t.length}const s=16;function o(t){if(!t)return 0;let e=f;for(const n in t)t.hasOwnProperty(n)&&(e+=h(t[n],!1));return e}function u(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 a(t,8);let n=l;for(let r=0;r<e;r++)n+=h(t[r]);return n}(t);let e=f;for(const n in t)t.hasOwnProperty(n)&&(e+=h(t[n]));return e}function h(t,e=!0){switch(typeof t){case"object":return e?u(t):f;case"string":return i(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)?a(e,s):0:0),0)}function a(t,e){return l+t.length*e}const f=32,l=16,m=145,d=64},70328(t,e,n){n.d(e,{BI:()=>I,DC:()=>f,Ej:()=>m,Ie:()=>x,Jt:()=>M,Ne:()=>d,RF:()=>a,aI:()=>b,fA:()=>o,gE:()=>h,hZ:()=>y,iT:()=>l,is:()=>A,qv:()=>w,vI:()=>g,vY:()=>u,v_:()=>G,vt:()=>s,w1:()=>c});var r=n(5443),i=(n(19419),n(4197));function s(t=G){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,i,o,u=s()){return u[0]=t,u[1]=e,u[2]=n,u[3]=r,u[4]=i,u[5]=o,u}function u(t,e=s()){return function(t,e,n,r=s()){return y(r,w),function(t,e,n=0,r=e.length/3){let i=t[0],s=t[1],o=t[2],u=t[3],h=t[4],c=t[5];for(let t=0;t<r;t++)i=Math.min(i,e[n+3*t]),s=Math.min(s,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),u=Math.max(u,e[n+3*t]),h=Math.max(h,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=i,t[1]=s,t[2]=o,t[3]=u,t[4]=h,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function h(t,e=(0,i.jh)(24)){const[n,r,s,o,u,h]=t;return e[0]=n,e[1]=r,e[2]=s,e[3]=n,e[4]=r,e[5]=h,e[6]=n,e[7]=u,e[8]=s,e[9]=n,e[10]=u,e[11]=h,e[12]=o,e[13]=r,e[14]=s,e[15]=o,e[16]=r,e[17]=h,e[18]=o,e[19]=u,e[20]=s,e[21]=o,e[22]=u,e[23]=h,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 a(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 f(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 l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[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 d(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 g(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 y(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?y(t,w):s(w)}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 I(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function A(t){return 6===t.length}function b(t,e,n){if(null==t||null==e)return t===e;if(!A(t)||!A(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 w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],G=[0,0,0,0,0,0];s()},76061(t,e,n){n.d(e,{G:()=>r,S:()=>i});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class i 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}}},85672(t,e,n){n.r(e),n.d(e,{execute:()=>o});var r=n(29821),i=n(83299);const s=new r.O;function o(t,e){const n=(0,i.fromGeometry)(t);return s.execute(n.getGeometry(),(0,i.fromGeometryToGXGeometry)(e),n.getSpatialReference(),null)}},92722(t,e,n){n.d(e,{A:()=>i});var r=n(69397);class i{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 i(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const s=n-t,o=r-e;return new i([5],[t,e,s,0,0,o,-s,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,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 i=this.coords[r*e],s=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),u=this.coords[n],h=this.coords[n+1];t+=-.5*(u-i)*(h+s),i=u,s=h}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 i=0;i<r;i++){const r=n*(e+i);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:i}=this;for(const t of n){for(let n=1;n<t;n++){const t=i*(r+n);e[t]+=e[t-i],e[t+1]+=e[t+1-i]}r+=t}return t}clone(t){if(this.isPoint)return new i([],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 i(e,t)):new i(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 i(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4342],{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),c=r(91429),u=r(16930),d=r(60408),p=r(65864),h=r(50498),f=r(20437),m=r(36005),y=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,p.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=u.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 c=this._getHydrationFunction(e,e=>e*s+n,e=>i-e*o,a,l);for(const{geometry:e}of t)null!=e&&c&&c(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=u.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,c=o.aggregateGeometries;if(l&&null!=c)for(const e in c){const t=c[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,d.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,d.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,d.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,c.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,c.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,c.MZ)({type:[f.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,i.Cg)([(0,y.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,i.Cg)([(0,c.MZ)({types:h.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,m.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,c.MZ)({type:u.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,i.Cg)([(0,y.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,c.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=n=(0,i.Cg)([(0,c.$K)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0},32756(e,t,r){r.d(t,{Rr:()=>a,fY:()=>c,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)}}}},c=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}},33143(e,t,r){r.d(t,{A:()=>d});var n=r(31635),i=r(69540),s=r(25482),o=r(91429),a=r(8631),l=r(29005),c=r(36005),u=r(43937);let d=class extends((0,i.OU)(s.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,a.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,n.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,n.Cg)([(0,c.w)("domains")],d.prototype,"readDomains",null),(0,n.Cg)([(0,u.K)("domains")],d.prototype,"writeDomains",null),(0,n.Cg)([(0,o.MZ)({type:[l.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,n.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],d)},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)}}},55674(e,t,r){r.d(t,{Ad:()=>h,Gj:()=>y,QY:()=>p,lL:()=>g,xR:()=>f});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),c=r(43668),u=r(98623);const d=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of d)t.hasArcadeDependency(r)&&e.add(r);return e}function h(e,t){return m.create(e,t,null,["$feature","$view"])}function f(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,c.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 u={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=s.compileScript(a,u);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const h=new o;return h.immutable=!1,h.setField("scale",0),new m(e,s,a,d,t,h,p,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 y,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 y{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)===u.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??u.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}},58501(e,t,r){r.d(t,{q:()=>i});var n=r(62815);function i(e,t,r){if(!r?.features||!r.hasZ)return;const i=(0,n.N)(r.geometryType,t,e.outSpatialReference);if(i)for(const e of r.features)i(e.geometry)}},62815(e,t,r){r.d(t,{N:()=>o});var n=r(86211),i=r(73941),s=r(21325);function o(e,t,r){if(null==t||null==r||r.vcsWkid||(0,s.aI)(t,r)||(0,i.xP)(t)||(0,i.xP)(r))return;const o=(0,n.G9)(t)/(0,n.G9)(r);if(1!==o)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,o);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,o);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,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return}}},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,u=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const h=await(0,a.xR)(e.expression,null,d);if(!h)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!o||!o.greaterEqual(4,0);f&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const m=new c(r,f);return new l(f,u,h,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 c 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]}}},91880(e,t,r){r.d(t,{A:()=>c});var n,i=r(31635),s=r(66552),o=r(25482),a=r(91429);const l=new s.J({asc:"ascending",desc:"descending"});let c=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}})],c.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],c.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],c.prototype,"order",void 0),c=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],c)}}]);
|