@arcgis/core 5.2.0-next.69 → 5.2.0-next.70
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/Basemap.js +1 -1
- package/Ground.js +1 -1
- package/WebDocument2D.js +1 -1
- package/WebScene.js +1 -1
- package/applications/Components/analysisUtils.js +1 -1
- package/applications/Components/arcadeEditorUtils.js +1 -1
- package/applications/Components/testUtils.js +1 -1
- package/applications/Urban/meshUtils.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/functions/geomasync.js +1 -1
- package/arcade/functions/geomsync.js +1 -1
- package/arcade/functions/knowledgegraph.js +1 -1
- package/arcade/functions/track.js +1 -1
- package/arcade/geometry/operators.js +1 -1
- package/arcade/geometry/operatorsWorker.js +1 -1
- package/arcade/geometry/rotate.js +2 -0
- package/arcade/geometry/unitConversion.js +1 -1
- package/arcgisGlobal.d.ts +1 -0
- package/assets/components/assets/icon/loadConfiguration16.json +1 -0
- package/assets/components/assets/icon/loadConfiguration24.json +1 -0
- package/assets/components/assets/icon/loadConfiguration32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{bece22668622a9a6bfe2.js → 011281fe918c4f0aec5d.js} +1 -1
- package/assets/esri/core/workers/chunks/01c92e68fb17cf2d0e08.js +1 -0
- package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +1 -0
- package/assets/esri/core/workers/chunks/0623acb2bd14a61b65c9.js +29 -0
- package/assets/esri/core/workers/chunks/065e3353124fc5ac44ce.js +1 -0
- package/assets/esri/core/workers/chunks/06c9aac75a01d3af6d54.js +1 -0
- package/assets/esri/core/workers/chunks/073f1d5f89875c6aefb1.js +1 -0
- package/assets/esri/core/workers/chunks/{d583bcea4d1a21da9147.js → 0846855843f85661e974.js} +1 -1
- package/assets/esri/core/workers/chunks/{7a818499c1079906c2d7.js → 089f8c60e96d920a2cb2.js} +1 -1
- package/assets/esri/core/workers/chunks/09653bd2a31d293a10d9.js +2 -0
- package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +1 -0
- package/assets/esri/core/workers/chunks/0aedeb837399d3f92e4a.js +1 -0
- package/assets/esri/core/workers/chunks/0b18de5147d76b68896f.js +1 -0
- package/assets/esri/core/workers/chunks/{f5d809d30cbb56be852d.js → 0e333aced8b23aa49a0e.js} +1 -1
- package/assets/esri/core/workers/chunks/{dad39ddf0f8dfb0bef47.js → 0eaa8265a4cd64297545.js} +1 -1
- package/assets/esri/core/workers/chunks/{4e1b087453fc5e20e961.js → 118ccfa2d685764752ee.js} +1 -1
- package/assets/esri/core/workers/chunks/158d2ac0333d53556e33.js +1 -0
- package/assets/esri/core/workers/chunks/160b204cbf5bda2a29e9.js +1 -0
- package/assets/esri/core/workers/chunks/16cade1c2ddf44e336ee.js +1 -0
- package/assets/esri/core/workers/chunks/19233d0016e5b154c5ce.js +1 -0
- package/assets/esri/core/workers/chunks/19cb8963d5ec2246357b.js +1 -0
- package/assets/esri/core/workers/chunks/{0ae35b02dda9b9662560.js → 1ac8a7a129ba33e05a24.js} +1 -1
- package/assets/esri/core/workers/chunks/1b130af7d14eaae69d96.js +1 -0
- package/assets/esri/core/workers/chunks/1ca04ecf010e68863014.js +1 -0
- package/assets/esri/core/workers/chunks/1cc063aa2ddf44bbd515.js +1 -0
- package/assets/esri/core/workers/chunks/{c055c16379f5bb56e930.js → 1d92d53186debd52e753.js} +1 -1
- package/assets/esri/core/workers/chunks/{37a8cfec11057947b45f.js → 1dba93abe84d30f05d8d.js} +1 -1
- package/assets/esri/core/workers/chunks/1e0140556c2e3fa72545.js +1 -0
- package/assets/esri/core/workers/chunks/1e5cb72830c7f32f2961.js +1 -0
- package/assets/esri/core/workers/chunks/{510acf2e8781be9b0dba.js → 1f888f026b004447772c.js} +1 -1
- package/assets/esri/core/workers/chunks/2033e6d42453e4e67048.js +1 -0
- package/assets/esri/core/workers/chunks/24006cea112d657f053a.js +1 -0
- package/assets/esri/core/workers/chunks/{7b531feba4fd662575f9.js → 28924f31f5ba8ebdc60a.js} +1 -1
- package/assets/esri/core/workers/chunks/{893ffc38e1a43de5b63d.js → 28b09fe50b855a1d8a3f.js} +1 -1
- package/assets/esri/core/workers/chunks/{b9c7aa04861f545a559c.js → 2bcb7e43578124538c3c.js} +1 -1
- package/assets/esri/core/workers/chunks/2bdb9b5365869081c936.js +1 -0
- package/assets/esri/core/workers/chunks/{df89bf05c18f0c8e418b.js → 2cfe6f41865ffb3a4645.js} +1 -1
- package/assets/esri/core/workers/chunks/{63858dfcff1177e597e7.js → 2d1ae18a28491b00091d.js} +1 -1
- package/assets/esri/core/workers/chunks/2d3a18d56e2e5669c562.js +1 -0
- package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +1 -0
- package/assets/esri/core/workers/chunks/2f58e1f64df2da8259a2.js +1 -0
- package/assets/esri/core/workers/chunks/31669511cfddf116d991.js +1 -0
- package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +1 -0
- package/assets/esri/core/workers/chunks/33e293836f5d28dc5d62.js +1 -0
- package/assets/esri/core/workers/chunks/{59a795eba31061dc357a.js → 359584a8fb5687a7d098.js} +1 -1
- package/assets/esri/core/workers/chunks/{9c5dff4f13102871786e.js → 36171c72a3c04b0d13ef.js} +1 -1
- package/assets/esri/core/workers/chunks/38660a8cc3623c854d88.js +1 -0
- package/assets/esri/core/workers/chunks/3978f00a03e97645b276.js +1 -0
- package/assets/esri/core/workers/chunks/3b14ed3184743df336a6.js +1 -0
- package/assets/esri/core/workers/chunks/{f82cd34a79c8aa58d40c.js → 3b3a8a6167f2e1eeb828.js} +2 -2
- package/assets/esri/core/workers/chunks/3d6b2d5ae647e140abaf.js +1 -0
- package/assets/esri/core/workers/chunks/3dc71e03a630dd50b28e.js +1 -0
- package/assets/esri/core/workers/chunks/3de6e54b6ed0feae1940.js +1 -0
- package/assets/esri/core/workers/chunks/3dff36f6de181d9dcdc5.js +1 -0
- package/assets/esri/core/workers/chunks/3fd022df127af32782ce.js +1 -0
- package/assets/esri/core/workers/chunks/40693ee558a1eb1e93f4.js +1 -0
- package/assets/esri/core/workers/chunks/4344ab1250a1c550bf8b.js +1 -0
- package/assets/esri/core/workers/chunks/4491dc227c28e2ab4f8e.js +1 -0
- package/assets/esri/core/workers/chunks/{909e88c27d80777b047c.js → 463747a822499dd933ef.js} +1 -1
- package/assets/esri/core/workers/chunks/4695cd6120f60b234d5c.js +1 -0
- package/assets/esri/core/workers/chunks/4823e77515f451628fad.js +1 -0
- package/assets/esri/core/workers/chunks/484b3e2a220c440ccbb4.js +1 -0
- package/assets/esri/core/workers/chunks/4c2794687aea172775a0.js +1 -0
- package/assets/esri/core/workers/chunks/{b5b698008b8f3f4d5d61.js → 4ce57dd39075e8fb357c.js} +1 -1
- package/assets/esri/core/workers/chunks/4da993c79b373b9d304e.js +2 -0
- package/assets/esri/core/workers/chunks/4da993c79b373b9d304e.js.LICENSE.txt +4 -0
- package/assets/esri/core/workers/chunks/4e129b9f5772a06e580c.js +1 -0
- package/assets/esri/core/workers/chunks/50e0dd74795978468625.js +1 -0
- package/assets/esri/core/workers/chunks/{0a98a13418f53082ca7a.js → 5459ba8fdeb2370bb52b.js} +1 -1
- package/assets/esri/core/workers/chunks/582a1d468089b9986416.js +1 -0
- package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +1 -0
- package/assets/esri/core/workers/chunks/{bfb626805405646a0419.js → 5eb29f0068f1c839d05e.js} +1 -1
- package/assets/esri/core/workers/chunks/5f201c77a09ae0df29d6.js +1 -0
- package/assets/esri/core/workers/chunks/{6d5038d4351fe29e2718.js → 5fb76575575fe8cfb1f0.js} +1 -1
- package/assets/esri/core/workers/chunks/6072c63a5da4366e9942.js +1 -0
- package/assets/esri/core/workers/chunks/6080e46fc79127500283.js +1 -0
- package/assets/esri/core/workers/chunks/623d5518bca227f643bd.js +1 -0
- package/assets/esri/core/workers/chunks/62811bca7ad2100c023c.js +1 -0
- package/assets/esri/core/workers/chunks/6357c7cac401aee9fe77.js +1 -0
- package/assets/esri/core/workers/chunks/{91c543443cd6768ad6ff.js → 6525c925bb91facb3575.js} +1 -1
- package/assets/esri/core/workers/chunks/67d3ff7fcefaa7d5d27f.js +1 -0
- package/assets/esri/core/workers/chunks/{b5571e93bc136dac8ee1.js → 67ebde34377f98d17cda.js} +1 -1
- package/assets/esri/core/workers/chunks/687cf21e027f49b44d22.js +1 -0
- package/assets/esri/core/workers/chunks/{6b0acd1a7dd74a7367e0.js → 694371f51c52a7a94da4.js} +1 -1
- package/assets/esri/core/workers/chunks/6a9002fcba11e2cf3f2e.js +1 -0
- package/assets/esri/core/workers/chunks/{f4e813ead56d963b16b8.js → 6b208bac120bcfecd9e4.js} +1 -1
- package/assets/esri/core/workers/chunks/6cd6d0cfd313f0475d98.js +1 -0
- package/assets/esri/core/workers/chunks/6f58cb9dffe8016397a2.js +1 -0
- package/assets/esri/core/workers/chunks/7260e63252fa5452dc22.js +1 -0
- package/assets/esri/core/workers/chunks/72dcd4bd1a28bf8605c5.js +1 -0
- package/assets/esri/core/workers/chunks/73f77f5a6907cb8d9a35.js +1 -0
- package/assets/esri/core/workers/chunks/77df0bb35d2688729479.js +1 -0
- package/assets/esri/core/workers/chunks/{09c43bcb09aad02e83a9.js → 7a143ca61c0a70306185.js} +1 -1
- package/assets/esri/core/workers/chunks/7ca9c908432b1afa0367.js +1 -0
- package/assets/esri/core/workers/chunks/{ec2e0b2e31fd53b81d0a.js → 7ddf9b2718dd047f15e6.js} +1 -1
- package/assets/esri/core/workers/chunks/7f208ef75ef2ce0d7cf9.js +1 -0
- package/assets/esri/core/workers/chunks/7f4a592bcf4ecb55949a.js +1 -0
- package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.js +1 -0
- package/assets/esri/core/workers/chunks/864691186c449ca2c3db.js +1 -0
- package/assets/esri/core/workers/chunks/869d292a60747c93dc84.js +1 -0
- package/assets/esri/core/workers/chunks/{7e2794705b4e679fcb3f.js → 86a4057572755b403548.js} +1 -1
- package/assets/esri/core/workers/chunks/{99772ce7e628364434fa.js → 8c1bddc88cc5f4251021.js} +1 -1
- package/assets/esri/core/workers/chunks/8c76f31a363dd0c3354d.js +1 -0
- package/assets/esri/core/workers/chunks/8eecc6df6511c8830f5d.js +1 -0
- package/assets/esri/core/workers/chunks/{0da4816c11b45b4a6289.js → 8fea514aada1195c8f30.js} +1 -1
- package/assets/esri/core/workers/chunks/{7ebbb90d80600d9ba889.js → 913fb883455aeac8582b.js} +1 -1
- package/assets/esri/core/workers/chunks/927582ec15bff2acbb49.js +1 -0
- package/assets/esri/core/workers/chunks/{89132395eca329b9ab92.js → 9482a6d7baa24bbf5693.js} +1 -1
- package/assets/esri/core/workers/chunks/9684ab5e8254fdfcb7bb.js +1 -0
- package/assets/esri/core/workers/chunks/96d861265566854760cd.js +1 -0
- package/assets/esri/core/workers/chunks/98e6c1d035755a074d24.js +1 -0
- package/assets/esri/core/workers/chunks/9937920e7993814d0b2c.js +1 -0
- package/assets/esri/core/workers/chunks/{9d0bda096cdbd7e22f4b.js → 9bbff8237540409610b3.js} +1 -1
- package/assets/esri/core/workers/chunks/9dda9414104f585560a4.js +2 -0
- package/assets/esri/core/workers/chunks/{be291d920ebc68fde02b.js.LICENSE.txt → 9dda9414104f585560a4.js.LICENSE.txt} +0 -5
- package/assets/esri/core/workers/chunks/{1dc1bfb3425665f560e4.js → a486d99f9879f94151ba.js} +1 -1
- package/assets/esri/core/workers/chunks/{475c60ed8785d07911c6.js → a5c115fc53edb52ce1de.js} +1 -1
- package/assets/esri/core/workers/chunks/a62f1b8ed065b2a38f1a.js +1 -0
- package/assets/esri/core/workers/chunks/{830d1a7dee43422507ab.js → a739e617fc461014ad1f.js} +1 -1
- package/assets/esri/core/workers/chunks/aa21031c8f12ca438eaa.js +1 -0
- package/assets/esri/core/workers/chunks/ad27689b231e282b7620.js +1 -0
- package/assets/esri/core/workers/chunks/af6e8c961fd768fa7be3.js +1 -0
- package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +1 -0
- package/assets/esri/core/workers/chunks/b599b7dadce8b8bc88f6.js +1 -0
- package/assets/esri/core/workers/chunks/{873d8332e2149eb1b36a.js → b6c7b7b7f87dce5de811.js} +3 -3
- package/assets/esri/core/workers/chunks/b7d8817018b3d277c454.js +1 -0
- package/assets/esri/core/workers/chunks/{d90bc34d97bb21c29c40.js → b8cd81d8fcc78d272130.js} +1 -1
- package/assets/esri/core/workers/chunks/{450bc48a7389607bce1e.js → b984b808d383974ca3d8.js} +1 -1
- package/assets/esri/core/workers/chunks/b9953277d0cd4a01bdc6.js +1 -0
- package/assets/esri/core/workers/chunks/c02b3b8b71205f6ce290.js +1 -0
- package/assets/esri/core/workers/chunks/c03da138651ac53cadcb.js +2 -0
- package/assets/esri/core/workers/chunks/c21212c356f65244e34e.js +1 -0
- package/assets/esri/core/workers/chunks/{1fece9757de7c10d1e9f.js → c29df43817278f674707.js} +1 -1
- package/assets/esri/core/workers/chunks/{589b31cc5c663a288942.js → c6bf17b5ff6ec4b980a1.js} +1 -1
- package/assets/esri/core/workers/chunks/c715c585c42d8c2b86f5.js +1 -0
- package/assets/esri/core/workers/chunks/c7e9513f75b8ec205562.js +1 -0
- package/assets/esri/core/workers/chunks/c866b66ba72d96453899.js +1 -0
- package/assets/esri/core/workers/chunks/{5fde1234c5cccaee6763.js → c873383e7dae35dc1a61.js} +1 -1
- package/assets/esri/core/workers/chunks/c99dcc17fbd7acd2ad2e.js +1 -0
- package/assets/esri/core/workers/chunks/cae94d6805e0e8db3600.js +1 -0
- package/assets/esri/core/workers/chunks/cc5ec6e99aa09342c704.js +1 -0
- package/assets/esri/core/workers/chunks/cd4e5c948d1bfa9b9a2d.js +1 -0
- package/assets/esri/core/workers/chunks/{6501ee40bf25f9f75d02.js → ce481eeb27ea9c1782ae.js} +1 -1
- package/assets/esri/core/workers/chunks/{d214ac457ac970479536.js → cec1c87eb3749276ced4.js} +1 -1
- package/assets/esri/core/workers/chunks/cfe31b7d1c6c05fbd268.js +1 -0
- package/assets/esri/core/workers/chunks/d08f81d545930a79fb2e.js +1 -0
- package/assets/esri/core/workers/chunks/d0c1bc90e474f706211c.js +1 -0
- package/assets/esri/core/workers/chunks/d2faac81142586cf7509.js +1 -0
- package/assets/esri/core/workers/chunks/d607cf154218d20e4114.js +1 -0
- package/assets/esri/core/workers/chunks/{b94cd7eac5ff4a78dd5b.js → d7b6985984071e78c764.js} +1 -1
- package/assets/esri/core/workers/chunks/d901f8503a73277cfa58.js +1 -0
- package/assets/esri/core/workers/chunks/d93d0cb69f3a9a722510.js +1 -0
- package/assets/esri/core/workers/chunks/{9073b0f0ec93d6e243b9.js → da1c9257793c2817f40f.js} +1 -1
- package/assets/esri/core/workers/chunks/{94719ac469dadc4c05dc.js → dc0c3109b7558b4fe016.js} +1 -1
- package/assets/esri/core/workers/chunks/{dc7e4f7879debf557e46.js → de3d0973cff1e0858c52.js} +2 -2
- package/assets/esri/core/workers/chunks/{adce59e4111bae4225f7.js → e421dee5d8b030e79ffb.js} +1 -1
- package/assets/esri/core/workers/chunks/e602b91d8fdc36a92530.js +1 -0
- package/assets/esri/core/workers/chunks/{c13e55b9efb0b532f7ee.js → e61ab8ef30bbe788b9d7.js} +1 -1
- package/assets/esri/core/workers/chunks/e702abaeccef20b64a81.js +1 -0
- package/assets/esri/core/workers/chunks/{11a3aa43fb940c21f148.js → eb95464bd017fb839510.js} +1 -1
- package/assets/esri/core/workers/chunks/ebd619533be077059494.js +1 -0
- package/assets/esri/core/workers/chunks/ed564358cc7b3ee463a3.js +1 -0
- package/assets/esri/core/workers/chunks/ef2e0a014c982d9c7ca4.js +1 -0
- package/assets/esri/core/workers/chunks/f5cf338cecfc81f23128.js +1 -0
- package/assets/esri/core/workers/chunks/f6150b51a9430691a040.js +1 -0
- package/assets/esri/core/workers/chunks/{f4aed2b6e92bd0474069.js → f69329b85b362b349a8c.js} +1 -1
- package/assets/esri/core/workers/chunks/f721756a6c1593f96409.js +1 -0
- package/assets/esri/core/workers/chunks/fa19d5923276418096da.js +1 -0
- package/assets/esri/core/workers/chunks/fa5d27e47d47ff8fcb96.js +2 -0
- package/assets/esri/core/workers/chunks/fb12d3c63fcac8391e06.js +1 -0
- package/assets/esri/core/workers/chunks/fc9065d0cd6285fe0f0d.js +1 -0
- package/assets/esri/core/workers/chunks/{b526055794e64b0227ca.js → fd6107f95082e05f016a.js} +11 -11
- package/assets/esri/core/workers/chunks/fe10a95ebe1da2322af6.js +1 -0
- package/assets/esri/core/workers/chunks/fe71a0604f0928113419.js +1 -0
- package/assets/esri/core/workers/chunks/fec07a16b72cdcafc641.js +1 -0
- package/assets/esri/core/workers/chunks/fff23b2682590c4b21e3.js +1 -0
- package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
- package/chunks/Bufferer-CclWhXVb.js +1 -1
- package/chunks/ColorMaterial.glsl.js +18 -5
- package/chunks/Component.glsl.js +42 -34
- package/chunks/Envelope.js +1 -1
- package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
- package/chunks/Geometry.js +1 -1
- package/chunks/GeometryCleaner-CIE8Wfmb.js +1 -1
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/OperatorAffineTransform.js +2 -0
- package/chunks/OperatorCentroid2D.js +2 -0
- package/chunks/OperatorCrosses.js +1 -1
- package/chunks/OperatorCut.js +1 -1
- package/chunks/OperatorGeneralize.js +1 -1
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticLength.js +1 -1
- package/chunks/OperatorGraphicBuffer.js +1 -1
- package/chunks/OperatorIntersects.js +1 -1
- package/chunks/OperatorMultiPartToSinglePart.js +1 -1
- package/chunks/OperatorOverlaps.js +1 -1
- package/chunks/OperatorProximityGeodesic.js +1 -1
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/OperatorSimplifyOGC.js +1 -1
- package/chunks/OperatorTouches.js +1 -1
- package/chunks/OperatorWithin.js +1 -1
- package/chunks/Point2D.js +1 -1
- package/chunks/SideCalculator2D-DX0718xq.js +1 -1
- package/chunks/SpatialReference.js +1 -1
- package/chunks/arcade.js +1 -1
- package/chunks/bundle.js +1 -1
- package/chunks/bundle2.js +1 -1
- package/chunks/centroidOperator.js +1 -1
- package/chunks/containsOperator.js +1 -1
- package/chunks/disjointOperator.js +1 -1
- package/chunks/equalsOperator.js +1 -1
- package/chunks/geodeticDistanceOperator.js +2 -0
- package/chunks/multiPartToSinglePartOperator.js +2 -0
- package/chunks/offsetOperator.js +2 -0
- package/config.js +1 -1
- package/core/imageUtils.js +1 -1
- package/core/workers/WorkerFallback.js +1 -1
- package/core/workers/registry.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/core/workers/workers.js +1 -1
- package/editing/sharedTemplates/SharedTemplateProvider.js +1 -1
- package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
- package/editing/sharedTemplates/executor/createTemplateExecutor.js +1 -1
- package/editing/sharedTemplates/templateLoader.js +1 -1
- package/geometry/libtess.js +1 -1
- package/geometry/operators/affineTransformOperator.js +1 -1
- package/geometry/operators/centroidOperator.js +1 -1
- package/geometry/operators/geodeticDistanceOperator.js +1 -1
- package/geometry/operators/gx/operatorAffineTransform.js +1 -1
- package/geometry/operators/gx/operatorAutoComplete.js +1 -1
- package/geometry/operators/gx/operatorBuffer.js +1 -1
- package/geometry/operators/gx/operatorConvexHull.js +1 -1
- package/geometry/operators/gx/operatorDifference.js +1 -1
- package/geometry/operators/gx/operatorIntersection.js +1 -1
- package/geometry/operators/gx/operatorLabelPoint.js +1 -1
- package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
- package/geometry/operators/gx/operatorLocateBetween.js +1 -1
- package/geometry/operators/gx/operatorOffset.js +1 -1
- package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
- package/geometry/operators/gx/operatorUnion.js +1 -1
- package/geometry/operators/json/containsOperator.js +1 -1
- package/geometry/operators/json/disjointOperator.js +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
- package/geometry/operators/offsetOperator.js +1 -1
- package/geometry/support/curves/densifyCurvedGeometry.js +1 -1
- package/geometry/support/meshUtils.js +1 -1
- package/interfaces.d.ts +3 -0
- package/kernel.js +1 -1
- package/layers/CSVLayer.js +1 -1
- package/layers/CatalogLayer.js +1 -1
- package/layers/ElevationLayer.js +1 -1
- package/layers/FeatureLayer.js +1 -1
- package/layers/GeoJSONLayer.js +1 -1
- package/layers/GroupLayer.js +1 -1
- package/layers/ImageryLayer.js +1 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/Layer.js +1 -1
- package/layers/MapImageLayer.js +1 -1
- package/layers/MediaLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/StreamLayer.js +1 -1
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/WCSLayer.js +1 -1
- package/layers/WFSLayer.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/queryUtils.js +1 -1
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/layers/graphics/sources/MemorySource.js +1 -1
- package/layers/graphics/sources/connections/GeoEventConnection.js +1 -1
- package/layers/graphics/sources/support/sourceUtils.js +1 -1
- package/layers/knowledgeGraph/cypherUtils.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/PortalLayer.js +1 -1
- package/layers/mixins/TiledImagery.js +1 -1
- package/layers/raster/datasets/FunctionRaster.js +1 -1
- package/layers/raster/datasets/pixelReader.js +1 -1
- package/layers/raster/functions/clipUtils.js +1 -1
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/Sublayer.js +1 -1
- package/layers/support/arcgisLayers.js +1 -1
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/fromPortalItem.js +1 -1
- package/layers/support/layersLoader.js +1 -1
- package/layers/support/vectorTileLayerLoader.js +1 -1
- package/libs/basisu/BasisUEncoder.js +1 -1
- package/libs/basisu/BasisUTranscoder.js +1 -1
- package/libs/dracoMeshDecoder/dracoMeshDecoder.js +1 -1
- package/libs/dxtEncoder/DXTEncoder.js +1 -1
- package/libs/i3s/I3SModule.js +1 -1
- package/libs/parquet/loadParquetModule.js +1 -1
- package/libs/text/loadTextModule.js +1 -1
- package/networks/UtilityNetwork.js +1 -1
- package/networks/support/utils.js +1 -1
- package/package.json +3 -3
- package/popup/FeatureContentCollection.js +1 -1
- package/popup/Features.js +1 -1
- package/portal/Portal.js +1 -1
- package/portal/PortalItem.js +1 -1
- package/portal/PortalItemResource.js +1 -1
- package/portal/PortalUser.js +1 -1
- package/renderers/support/DictionaryLoader.js +1 -1
- package/request/process.js +1 -1
- package/request/queue.js +1 -1
- package/request.js +1 -1
- package/rest/geoprocessor/utils.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/knowledgeWasmAccess.js +1 -1
- package/rest/support/JobInfo.js +1 -1
- package/rest/utils.js +1 -1
- package/smartMapping/renderers/support/rendererUtils.js +1 -1
- package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
- package/support/revision.js +1 -1
- package/support/tests/serviceMockDependencies.js +1 -1
- package/support/zipUtils.js +1 -1
- package/symbols/WebStyleSymbol.js +1 -1
- package/symbols/cim/CIMOperators.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/defaultCIMValues.js +1 -1
- package/symbols/cim/effects/EffectCircularSector.js +2 -0
- package/symbols/cim/types.d.ts +42 -1
- package/symbols/cim/utils.js +1 -1
- package/symbols/support/symbolLayerUtils.js +1 -1
- package/symbols/support/symbolUtils.js +1 -1
- package/symbols/support/utils.js +1 -1
- package/undoredo/support/ServiceVersionInfo.js +1 -1
- package/versionManagement/VersionManagementService.js +1 -1
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
- package/views/2d/engine/vectorTiles/TileParser.js +1 -1
- package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/WorkerTile.js +1 -1
- package/views/2d/engine/vectorTiles/WorkerTileHandler.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSource.js +2 -0
- package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSourceWorker.js +2 -0
- package/views/2d/engine/vectorTiles/style/RemoteVectorTileSource.js +2 -0
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/vectorTiles/style/VectorTilePbfWriter.js +2 -0
- package/views/2d/engine/vectorTiles/style/VectorTileSource.js +1 -1
- package/views/2d/engine/vectorTiles/style/encodeVectorTileFeatures.js +2 -0
- package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
- package/views/2d/engine/webgl/GlyphSDFCreator.js +1 -1
- package/views/2d/engine/webgl/GlyphSource.js +1 -1
- package/views/2d/engine/webgl/GlyphWorker.js +2 -0
- package/views/2d/engine/webgl/Painter.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/mesh/factories/ResourceProxy.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/createGraphicSymbolMeshSchemas.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/LineMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/features/schema/processor/MatcherSchema.js +1 -1
- package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderVectorTileFeatureCursor.js +2 -0
- package/views/2d/layers/support/MediaLayerInteraction.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedObserverManipulatedObject3D.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSnappingController.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/viewshedToolManipulatorUtils.js +1 -1
- package/views/3d/interactive/manipulatorUtils.js +1 -1
- package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/VectorTileLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
- package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
- package/views/3d/layers/graphics/ObjectResourceCache.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/i3s/I3SOverrides.js +1 -1
- package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
- package/views/3d/layers/support/FlowTileTree3DDebugger.js +1 -1
- package/views/3d/layers/support/TerrainTileTree3DDebugger.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/CombinedElevationProvider.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/TransparencyMode.js +2 -0
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +7 -7
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
- package/views/PopupView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/View.js +1 -1
- package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
- package/views/draw/PointDrawAction.js +1 -1
- package/views/draw/PolygonDrawAction.js +1 -1
- package/views/draw/PolylineDrawAction.js +1 -1
- package/views/draw/SegmentDrawAction.js +1 -1
- package/views/draw/support/createSnappingVisualizer.js +1 -1
- package/views/interactive/snapping/SnappingManager.js +1 -1
- package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
- package/views/layers/HighlightableLayerView.d.ts +2 -0
- package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
- package/views/selection/SelectionOperation.js +1 -1
- package/views/support/GeometryWorker.js +1 -1
- package/views/support/GroundElevationSampler.js +1 -1
- package/webdoc/support/resourceUtils.js +1 -1
- package/webdoc/support/webdocLoadUtils.js +1 -1
- package/webdoc/support/webdocSaveUtils.js +1 -1
- package/webscene/Slide.js +1 -1
- package/webscene/spec-certification/api.js +1 -1
- package/webscene/spec-certification/spec.js +1 -1
- package/webscene/support/analysisUtils.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/BatchAttributeForm/ValueChangeTransaction.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/CatalogLayerList.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/legacy/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/legacy/UpdateWorkflow.js +1 -1
- package/widgets/Editor/modelUploadUtils.js +1 -1
- package/widgets/Editor/support/mergeFeaturesUtils.js +1 -1
- package/widgets/Editor/support/splitFeatureUtils.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
- package/widgets/ElevationProfile.js +1 -1
- package/widgets/Feature/FeatureMedia.js +1 -1
- package/widgets/Feature/FeatureRelationship/FeatureRelationshipViewModel.js +1 -1
- package/widgets/Feature/FeatureRelationship.js +1 -1
- package/widgets/Feature/FeatureUtilityNetworkAssociationList.js +1 -1
- package/widgets/Feature.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/support/textManipulationUtils.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/types.d.ts +78 -4
- package/widgets/FeatureTable/support/FeatureStore.d.ts +675 -0
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable/support/types.d.ts +28 -0
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/Features.js +1 -1
- package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
- package/widgets/LayerList/ListItemPanel.js +1 -1
- package/widgets/LayerList.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/Legend/support/colorRampUtils.js +1 -1
- package/widgets/Legend/support/sizeRampUtils.js +1 -1
- package/widgets/Legend/support/utils.js +1 -1
- package/widgets/Measurement.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/services/DepthImageService.js +1 -1
- package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
- package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicVideoViewer.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicMedia.js +1 -1
- package/widgets/PanoramicViewer/support/importUtils.js +1 -1
- package/widgets/PanoramicViewer.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/Search/SearchViewModel.js +1 -1
- package/widgets/Search/support/layerSearchUtils.js +1 -1
- package/widgets/Search/support/locatorUtils.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/support/PluginManager.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/widgets/support/Selector2D/selectorUtils.js +1 -1
- package/widgets/support/SnappingControls.js +1 -1
- package/widgets/support/symbolPreviewUtils.js +1 -1
- package/arcade/geometry/offset.js +0 -2
- package/assets/esri/core/workers/chunks/067b00498ae85f635f60.js +0 -1
- package/assets/esri/core/workers/chunks/0b20f92bae2b4c40d299.js +0 -1
- package/assets/esri/core/workers/chunks/0c582abc8d25249eb530.js +0 -1
- package/assets/esri/core/workers/chunks/0d6776055e9b34c14151.js +0 -1
- package/assets/esri/core/workers/chunks/0e6b6fcc55cc43ede1fc.js +0 -1
- package/assets/esri/core/workers/chunks/126f1f6b355723db6c4f.js +0 -1
- package/assets/esri/core/workers/chunks/149284464115981694ff.js +0 -1
- package/assets/esri/core/workers/chunks/181f330314c1989f642f.js +0 -1
- package/assets/esri/core/workers/chunks/1840d74ebae777a0200b.js +0 -1
- package/assets/esri/core/workers/chunks/1bfbdec791e19f5a2534.js +0 -1
- package/assets/esri/core/workers/chunks/1d38a710cf799cb0e5b3.js +0 -1
- package/assets/esri/core/workers/chunks/1d8280f63a6698e74f20.js +0 -1
- package/assets/esri/core/workers/chunks/1f48438b3055afeb710f.js +0 -1
- package/assets/esri/core/workers/chunks/25999b6f96ec305a7679.js +0 -1
- package/assets/esri/core/workers/chunks/28565756f884d0851003.js +0 -1
- package/assets/esri/core/workers/chunks/2a5a165848413764381b.js +0 -1
- package/assets/esri/core/workers/chunks/2e7a5bb740281ef59199.js +0 -1
- package/assets/esri/core/workers/chunks/2f87a49bdd00f899d81d.js +0 -1
- package/assets/esri/core/workers/chunks/302d91b7c480c6c9304b.js +0 -1
- package/assets/esri/core/workers/chunks/30c53a7e1ad5aa52f2f3.js +0 -1
- package/assets/esri/core/workers/chunks/3b493e8043ec1a2a5d96.js +0 -1
- package/assets/esri/core/workers/chunks/3ddd717ea12d9823eee2.js +0 -1
- package/assets/esri/core/workers/chunks/3f84ade6285560b692d1.js +0 -1
- package/assets/esri/core/workers/chunks/4129b27fcd4103cdc499.js +0 -1
- package/assets/esri/core/workers/chunks/41f7f3615d3ecb87c59a.js +0 -1
- package/assets/esri/core/workers/chunks/465a050fd838ee8eddf3.js +0 -1
- package/assets/esri/core/workers/chunks/46d8a1d6f7341ad20749.js +0 -1
- package/assets/esri/core/workers/chunks/48a0dfaabb9b4bce4191.js +0 -1
- package/assets/esri/core/workers/chunks/4addea2e35b0c845743e.js +0 -1
- package/assets/esri/core/workers/chunks/4ae626868e14bedd7fc5.js +0 -1
- package/assets/esri/core/workers/chunks/529ee4670940720e888b.js +0 -1
- package/assets/esri/core/workers/chunks/538bdf02c4dfb5ec72fe.js +0 -1
- package/assets/esri/core/workers/chunks/59d1708ae13c6e7e6e55.js +0 -1
- package/assets/esri/core/workers/chunks/5adf16c034a590b5e9f5.js +0 -1
- package/assets/esri/core/workers/chunks/5fb0e8f89b885e5e3742.js +0 -1
- package/assets/esri/core/workers/chunks/60f9b37dd738d884c48d.js +0 -1
- package/assets/esri/core/workers/chunks/62c8413f3bbc1378273d.js +0 -1
- package/assets/esri/core/workers/chunks/632ab11cdd4b0d9a5cc5.js +0 -1
- package/assets/esri/core/workers/chunks/663cf8bff17c894cd5f8.js +0 -1
- package/assets/esri/core/workers/chunks/6cc1120554bcb1b4899b.js +0 -1
- package/assets/esri/core/workers/chunks/6d1371b521c7f94fd77e.js +0 -1
- package/assets/esri/core/workers/chunks/6f102c90908c9900cdaa.js +0 -1
- package/assets/esri/core/workers/chunks/7278fdf6bfcdffa10a7f.js +0 -1
- package/assets/esri/core/workers/chunks/73cb499d7d68c59ba34e.js +0 -1
- package/assets/esri/core/workers/chunks/76bccc318d7cc33829a7.js +0 -1
- package/assets/esri/core/workers/chunks/777eafdb86b26b35c803.js +0 -1
- package/assets/esri/core/workers/chunks/7821aeba3e414b318a75.js +0 -1
- package/assets/esri/core/workers/chunks/7ac47a9ad244100bc3b1.js +0 -1
- package/assets/esri/core/workers/chunks/7b0ed52363704cfce129.js +0 -1
- package/assets/esri/core/workers/chunks/7c57354d026e27e056d4.js +0 -1
- package/assets/esri/core/workers/chunks/7dd672c25beb8813cc75.js +0 -2
- package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +0 -1
- package/assets/esri/core/workers/chunks/7f125963555dc1ce63ad.js +0 -1
- package/assets/esri/core/workers/chunks/805c97b875d3066fb8df.js +0 -1
- package/assets/esri/core/workers/chunks/86ed75b7169b8ee43025.js +0 -1
- package/assets/esri/core/workers/chunks/88c3b60b403e2454b56e.js +0 -1
- package/assets/esri/core/workers/chunks/894343e415639df88243.js +0 -1
- package/assets/esri/core/workers/chunks/8b4759cef5ae5e43253b.js +0 -1
- package/assets/esri/core/workers/chunks/8ba4175f5e9a24ffecf7.js +0 -1
- package/assets/esri/core/workers/chunks/8e1d4867406753c5483c.js +0 -1
- package/assets/esri/core/workers/chunks/8e38c5e63aae42bdf5a4.js +0 -29
- package/assets/esri/core/workers/chunks/8f785b722b1a131bf370.js +0 -1
- package/assets/esri/core/workers/chunks/8f8db62f126e4a8c1bf7.js +0 -1
- package/assets/esri/core/workers/chunks/8f9874f42f21a4cb3acd.js +0 -1
- package/assets/esri/core/workers/chunks/90f4b81c6034253b70d7.js +0 -1
- package/assets/esri/core/workers/chunks/93ab247ff34694ac60eb.js +0 -1
- package/assets/esri/core/workers/chunks/9954149def644c371894.js +0 -1
- package/assets/esri/core/workers/chunks/9dfb7d120195991e9672.js +0 -1
- package/assets/esri/core/workers/chunks/9ed5e6b06afea6c85330.js +0 -1
- package/assets/esri/core/workers/chunks/a108f276659d5f25352c.js +0 -1
- package/assets/esri/core/workers/chunks/a504fa17d83facf1c01f.js +0 -1
- package/assets/esri/core/workers/chunks/a5fdb02b1714e93fa69e.js +0 -1
- package/assets/esri/core/workers/chunks/a9f616f22042b0dce8b9.js +0 -1
- package/assets/esri/core/workers/chunks/afd63c18ce4656271c8e.js +0 -1
- package/assets/esri/core/workers/chunks/b059dabb1c732829487c.js +0 -1
- package/assets/esri/core/workers/chunks/b318823aefcefad6fad5.js +0 -1
- package/assets/esri/core/workers/chunks/b378e504a5b1afc8d0ce.js +0 -1
- package/assets/esri/core/workers/chunks/b5397dc03fa0bd654ba6.js +0 -1
- package/assets/esri/core/workers/chunks/b7bcb31737b01d7736d0.js +0 -1
- package/assets/esri/core/workers/chunks/ba030767cf935f967454.js +0 -1
- package/assets/esri/core/workers/chunks/be291d920ebc68fde02b.js +0 -2
- package/assets/esri/core/workers/chunks/c10a0eebd935472d8fae.js +0 -1
- package/assets/esri/core/workers/chunks/c16e83e448a32d13048f.js +0 -1
- package/assets/esri/core/workers/chunks/c2db773201adca204f95.js +0 -1
- package/assets/esri/core/workers/chunks/c4c83b5129c279c3615b.js +0 -1
- package/assets/esri/core/workers/chunks/c7e391df714839484cd1.js +0 -1
- package/assets/esri/core/workers/chunks/cca095f0c623e037002d.js +0 -1
- package/assets/esri/core/workers/chunks/cded485ad893a7dd2948.js +0 -1
- package/assets/esri/core/workers/chunks/cf03d391d50a4c7aca4f.js +0 -1
- package/assets/esri/core/workers/chunks/cf8ce63711488f2e677c.js +0 -1
- package/assets/esri/core/workers/chunks/d198ecb1fe3690d6092f.js +0 -2
- package/assets/esri/core/workers/chunks/d2a51c797b2966cb95f3.js +0 -2
- package/assets/esri/core/workers/chunks/d303621c902330be5035.js +0 -1
- package/assets/esri/core/workers/chunks/d4d385d19e62ef1c286f.js +0 -1
- package/assets/esri/core/workers/chunks/d4f005dadba75422b401.js +0 -1
- package/assets/esri/core/workers/chunks/d5e15021928e95c11463.js +0 -1
- package/assets/esri/core/workers/chunks/d6500f6b2ff115d9eb09.js +0 -1
- package/assets/esri/core/workers/chunks/d9c78c2db04a06ee83ed.js +0 -1
- package/assets/esri/core/workers/chunks/dccb46c7dce68528c72b.js +0 -1
- package/assets/esri/core/workers/chunks/df174346a7e9b629a392.js +0 -1
- package/assets/esri/core/workers/chunks/e08c64e4ae5a68eae2be.js +0 -1
- package/assets/esri/core/workers/chunks/e1492d2404c3ed82931e.js +0 -1
- package/assets/esri/core/workers/chunks/e34ed3b818b2eb4116c5.js +0 -1
- package/assets/esri/core/workers/chunks/e7149d23615fee31ab7e.js +0 -1
- package/assets/esri/core/workers/chunks/ec774f5d6ea5c29536e5.js +0 -1
- package/assets/esri/core/workers/chunks/ed71a4e353715db0a6e9.js +0 -1
- package/assets/esri/core/workers/chunks/f029c12f1afee0e9b2a1.js +0 -1
- package/assets/esri/core/workers/chunks/f4eda59ec1e816ecc827.js +0 -1
- package/assets/esri/core/workers/chunks/f54eba484f40d5eeb590.js +0 -1
- package/assets/esri/core/workers/chunks/f622b27ebdf1c918fd6d.js +0 -1
- package/assets/esri/core/workers/chunks/f6a13f07a5f7b781a9a8.js +0 -1
- package/assets/esri/core/workers/chunks/f6f1122bed931f1d960b.js +0 -1
- package/assets/esri/core/workers/chunks/f8b8d3d2710c83acccf3.js +0 -1
- package/assets/esri/core/workers/chunks/f98bb3885bfc7f18f26c.js +0 -1
- package/assets/esri/core/workers/chunks/fc827f58db3194922056.js +0 -1
- package/chunks/ShadedColorMaterial.glsl.js +0 -13
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechniqueConfiguration.js +0 -2
- /package/assets/esri/core/workers/chunks/{d198ecb1fe3690d6092f.js.LICENSE.txt → 09653bd2a31d293a10d9.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{f82cd34a79c8aa58d40c.js.LICENSE.txt → 3b3a8a6167f2e1eeb828.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d2a51c797b2966cb95f3.js.LICENSE.txt → c03da138651ac53cadcb.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{7dd672c25beb8813cc75.js.LICENSE.txt → fa5d27e47d47ff8fcb96.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4849],{68197(e,t,n){n.d(t,{A:()=>u});var r=n(40876),i=n(4576),s=n(34727),o=n(56507);function l(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function a(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class u{static blendColors(e,t,n,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?u.fromArray(n,t):null}static fromHex(e,t=new u){const n=(0,r.oW)(e);return n?u.fromArray(n,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?u.fromArray(n,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,i=4===n||8===n,s=`#${a(this.r,r)}${a(this.g,r)}${a(this.b,r)}${i?a(Math.round(255*this.a),r):""}`;return t?s.toUpperCase():s}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=l(this.r),n=l(this.g),r=l(this.b);return 0===e||1!==this.a?[t,n,r,l(255*this.a)]:[t,n,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,n){n.d(t,{A:()=>A});var r,i,s=n(5482),o=n(37838),l=n(69540),a=n(51447),u=n(25482),c=n(53966),h=n(36708),p=n(24326),f=n(91429),d=n(12195),g=n(65864),m=n(50498),y=n(55156),v=n(60950),w=n(54339),b=n(94128),M=n(33910);function S(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let A=class extends((0,l.OU)(u.o)){static{r=b.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,v.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,w.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,w.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:S(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,d.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,h.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,h.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,f.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,g.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],A.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,f.MZ)({value:null})],A.prototype,"attributes",null),(0,s.Cg)([(0,f.MZ)({value:null,types:m.yR,json:{read:g.rS}})],A.prototype,"geometry",null),(0,s.Cg)([(0,f.MZ)()],A.prototype,"distance",void 0),(0,s.Cg)([(0,f.MZ)({type:Boolean})],A.prototype,"isAggregate",void 0),(0,s.Cg)([(0,f.MZ)({clonable:!1})],A.prototype,"layer",void 0),(0,s.Cg)([(0,f.MZ)({clonable:"reference"})],A.prototype,"origin",void 0),(0,s.Cg)([(0,f.MZ)({type:o.A,value:null})],A.prototype,"popupTemplate",null),(0,s.Cg)([(0,f.MZ)({clonable:"reference"})],A.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,f.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],A.prototype,"statisticsAggregatedIds",void 0),(0,s.Cg)([(0,f.MZ)({value:null,types:M.Es})],A.prototype,"symbol",null),(0,s.Cg)([(0,f.MZ)({clonable:!1,json:{read:!1,write:!1}})],A.prototype,"_version",void 0),(0,s.Cg)([(0,f.MZ)({type:Boolean,value:!0})],A.prototype,"visible",null),A=i=(0,s.Cg)([(0,f.$K)("esri.Graphic")],A)},40876(e,t,n){n.d(t,{Eq:()=>f,G1:()=>g,TS:()=>s,V6:()=>i,Vm:()=>d,ay:()=>a,c1:()=>m,c4:()=>o,j5:()=>u,lT:()=>h,oW:()=>c,xV:()=>w});const r={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 i(e){return!!r[e]||!!r[e.toLowerCase()]}function s(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...s(e)]}function l(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function a(e,t,n,r=1){const i=(e%360+360)%360/360,s=n<=.5?n*(t+1):n+t-n*t,o=2*n-s;return[Math.round(255*l(o,s,i+1/3)),Math.round(255*l(o,s,i)),Math.round(255*l(o,s,i-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,i=t?1:17,s=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const l=[0,0,0,1];let a;return s&&(a=o&r,o>>=n,l[3]=i*a/255),a=o&r,o>>=n,l[2]=i*a,a=o&r,o>>=n,l[1]=i*a,a=o&r,o>>=n,l[0]=i*a,l}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),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(i+16*i)/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 h(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&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])),p(t)}return p(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function p(e){return e[0]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?g(e[3]):1,e}function f(e){let t=i(e)?s(e):null;return t??=h(e),t??=c(e),t}function d(e){const t=f(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function m(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const v=1/2.2;function w(e){return e**v}n.d(t,["iw",0,v])},69052(e,t,n){n.d(t,{hr:()=>i});var r=n(34727);class i{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+o(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(r)?n:r}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,r,i=0,s=!1){return(r-=i)<t?r+=o(e,t-r):r>n&&(r-=o(e,r-n)),s&&r===n&&(r=t),r+i}function o(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const l=new i(0,2*Math.PI),a=(new i(-Math.PI,Math.PI),new i(0,360));n.d(t,["ie",0,a,"uC",0,l])},56512(e,t,n){function r(e){let t,n,r=[],i=!1;return function(...s){return i&&t===this&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}(s,r)||(n=e.apply(this,s),t=this,r=s,i=!0),n}}n.d(t,{B:()=>r})},90629(e,t,n){n.d(t,{Lz:()=>i,PN:()=>s,cr:()=>o,gs:()=>a,r_:()=>u,tc:()=>l}),n(39829);const r=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(e){return e?e/72*96:0}function s(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(r);if(t){const n=Number(t[1]),r=t[3]&&t[3].toLowerCase(),i=e.startsWith("-"),o="px"===r?s(n):n;return i?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function l(e=0,t=0){return{x:e,y:t}}function a(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},13069(e,t,n){n.d(t,{AG:()=>l,lk:()=>i,vD:()=>o,yS:()=>s});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),s=n(69540),o=n(25482),l=n(91429),a=n(99157);let u=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(69540),o=n(25482),l=n(91429);let a=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,s,o,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,s);if(null==a)return!1;if(a===r.pO){if(e===i&&n===o)return!0;const t=n+3*l;for(let r=n,s=o;r<t;r++,s++)i[s]=e[r]??0;return!0}const u=n+3*l;for(let t=n,r=o;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>h,jd:()=>c,pO:()=>f});var r=n(34727),i=n(86211),s=n(73941),o=n(79258),l=n(34403),a=n(21325);const u={2:{5:f,7:null,9:null,10:f,1:M,6:null,8:null,0:null,3:g,11:m,2:f,4:C},5:{5:f,7:null,9:null,10:f,1:M,6:null,8:null,0:null,3:g,11:m,2:f,4:C},7:{5:null,7:f,9:null,10:f,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(e,t,n,r){const i=e[t]/I,s=P-2*Math.atan(Math.exp(-e[t+1]/I)),o=I+(e[t+2]??0),l=Math.cos(s)*o;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(s)*o},6:null,8:null,0:null,3:f,11:function(e,t,n,r){d(e,t,n,r),m(n,r,n,r)},2:d,4:function(e,t,n,r){d(e,t,n,r),C(n,r,n,r)}},4:{5:R,7:null,9:null,10:R,1:function(e,t,n,r){R(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){R(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){R(e,t,n,r),m(n,r,n,r)},2:R,4:f},1:{5:_,7:null,9:null,10:_,1:f,6:null,8:null,0:null,3:function(e,t,n,r){_(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){_(e,t,n,r),m(n,r,n,r)},2:_,4:function(e,t,n,r){_(e,t,n,r),C(n,r,n,r)}},6:{5:null,7:x,9:null,10:x,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:M,6:b,8:w,0:null,3:g,11:m,2:f,4:C},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),g(n,r,n,r)},11:f,2:y,4:function(e,t,n,r){y(e,t,n,r),C(n,r,n,r)}}};function c(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(T.source.spatialReference===e&&T.dest.spatialReference===t)return T;const n=p(e,T.source),r=p(t,T.dest);return 0===n&&0===r?(0,a.aI)(e,t)?T.projector=f:T.projector=null:T.projector=u[n][r],T}function p(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function f(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function d(e,t,n,r){n[r]=k*(e[t]/I),n[r+1]=k*(P-2*Math.atan(Math.exp(-e[t+1]/I))),n[r+2]=e[t+2]??0}function g(e,t,n,i){!function(e,t,n,i,s){const o=.4999999*Math.PI,l=(0,r.qE)(O*e[t+1],-o,o),a=Math.sin(l);n[i++]=O*e[t]*s.radius,n[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,o.$O)}function m(e,t,n,r){n[r]=e[t]*L,n[r+1]=e[t+1]*L,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*z,n[r+1]=e[t+1]*z,n[r+2]=e[t+2]??0}function v(e,t,n,r,i){const s=i+(e[t+2]??0),o=O*e[t],l=O*e[t+1],a=Math.cos(l)*s;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(l)*s}function w(e,t,n,r){v(e,t,n,r,o.Sw.radius)}function b(e,t,n,r){v(e,t,n,r,o.sH.radius)}function M(e,t,n,r){v(e,t,n,r,o.$O.radius)}function S(e,t,n,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),h=Math.atan2(l,o);n[i++]=k*h,n[i++]=k*c,n[i]=u-s}function A(e,t,n,r){S(e,t,n,r,o.Sw.radius)}function x(e,t,n,r){S(e,t,n,r,o.sH.radius)}function _(e,t,n,r){S(e,t,n,r,o.$O.radius)}function C(e,t,n,r){!function(e,t,n,r,i){const s=O*e[t],o=O*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(s),n[r++]=(c+l)*u*Math.sin(s),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,o.$O)}function R(e,t,n,r){const i=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,h,p,f,d,g,m,y,v,w,b,M,S,A,x,_,C,R,T,O,P;c=Math.abs(u),h=s*s+a*a,p=Math.sqrt(h),f=h+u*u,d=Math.sqrt(f),O=Math.atan2(a,s),g=u*u/f,m=h/f,A=i.a2/d,x=i.a3-i.a4/d,m>.3?(y=c/d*(1+m*(i.a1+A+g*x)/d),T=Math.asin(y),w=y*y,v=Math.sqrt(1-w)):(v=p/d*(1-g*(i.a5-A-m*x)/d),T=Math.acos(v),w=1-v*v,y=Math.sqrt(w)),b=1-o.$O.eccentricitySquared*w,M=o.$O.radius/Math.sqrt(b),S=i.a6*M,A=p-M*v,x=c-S*y,C=v*A+y*x,_=v*x-y*A,R=_/(S/b+C),T+=R,P=C+_*R/2,u<0&&(T=-T),n[r++]=k*O,n[r++]=k*T,n[r]=P}const T={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},O=(0,r.kU)(1),k=(0,r.KJ)(1),P=.5*Math.PI,I=o.$O.radius,L=I*Math.PI/180,z=180/(I*Math.PI);n.d(t,["w5",0,u])},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>B,initializeProjection:()=>V,isEqualBaseGCS:()=>W,isLoaded:()=>I,isLoadedOrLoad:()=>L,isLoadedOrLoadFor:()=>z,load:()=>Z,project:()=>E,projectAsync:()=>F,projectExtent:()=>ie,projectMany:()=>G,projectMultipoint:()=>Y,projectOrLoad:()=>D,projectOrLoadMany:()=>$,projectPoint:()=>H,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>j,test:()=>J,tryProject:()=>N,unload:()=>U});var r=n(49186),i=n(17676),s=n(62788),o=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),h=n(91075),p=n(48526),f=n(86738),d=n(39829),g=n(82799),m=n(16930),y=n(98764),v=n(159),w=n(9762),b=n(49208);function M(e,t,n,r,i,s){return S[0]=e,S[1]=t,S[2]=n,(0,w.projectBuffer)(S,r,0,i,s,0)}const S=(0,l.vt)();var A=n(60408),x=n(21325),_=n(52006);let C=null,R=null,T=null,O=null,k={};const P=new o.I;function I(){return!!(R?.isLoaded()&&T?.isLoaded()&&O?.isLoaded())}function L(){return!!I()||((0,s.gc)(P),Z(),!1)}function z(e,t){return!e||!t||B(e,t)||L()}function j(e,t){return!B(e,t)&&!I()}async function Z(e){null==C&&(C=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(R=e,R.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(T=e,T.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(O=e,O.load()))])),await C,(0,i.Te)(e),P.notify()}function E(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),G(e,e[0].spatialReference,t,n)):((0,a.f)(e),G([e],e.spatialReference,t,n)[0])}function G(e,t,n,r){if(null==t||null==n)return e;if(B(t,n,r))return e.map(e=>K(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return G(e.map(e=>K(e,t,m.A.WGS84)),m.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return G(e,t,m.A.WGS84).map(e=>K(e,m.A.WGS84,n));if(!I())throw new q;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:O.getTransformation(t,n,r.areaOfInterestExtent)||new v.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=k[e];i||(i=O.getTransformation(t,n)||new v.A,k[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?R.executeMany(e,n,r):T.executeMany(e,n,r)}function N(e,t,n){try{return E(e,t,n)}catch(e){return null}}function D(e,t){const n=$([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function $(e,t,n){if(!I())for(const n of e)if(null!=n&&!(0,x.aI)(n.spatialReference,t)&&(0,x.fn)(n.spatialReference)&&(0,x.fn)(t)&&!B(n.spatialReference,t))return(0,s.gc)(P),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,x.aI)(e.spatialReference,t)?e:(0,x.fn)(e.spatialReference)&&(0,x.fn)(t)?E(e,t,n):null)}}class q extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function U(){C=null,R=null,T=null,O=null,k={}}const J={get loadPromise(){return C}};async function F(e,t,n){if((0,i.Te)(n),!e)return e;const r=$(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),F(e,t,n);const s=r.geometries??[];return Array.isArray(e)?s:s[0]}function B(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,x.aI)(e,t)||(0,x.fn)(e)&&(0,x.fn)(t)&&!!(0,b.jd)(e,t))}function W(e,t){if((0,x.aI)(e,t))return!0;if(!(0,x.fn)(e)||!(0,x.fn)(t))return!1;const n=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e),r=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t);return n&&r}async function V(e,t,n,r){if(I())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!B(t,n,i))return Z(r)}else if(e&&t&&!B(e,t,n))return Z(r);return(0,i.NO)(r)}function K(e,t,n){return e?(0,A.fT)(e)?X(e,t,new f.A,n,0):(0,A.ZC)(e)?se(e,t,new c.A,n,0):(0,A.Bi)(e)?re(e,t,new d.A,n,0):(0,A.Rg)(e)?te(e,t,new g.A,n,0):(0,A.U9)(e)?Q(e,t,new p.A,n,0):null:null}function H(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:i,(0,w.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==s||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Y(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,i){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,w.projectBuffer)(c,t,0,c,r,0,u))return null;const h=ae(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];h&&l?a.push([n,r,c[t+2],s[e][3]]):h?a.push([n,r,c[t+2]]):l?a.push([n,r,s[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=o,n.hasM=l,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,n.curvePaths=[],r,i):oe(o,l??!1,a??!1,t,n.paths,r,i)))return null;const u=ae(l,r);return n.spatialReference=r,n.hasZ=u,n.hasM=a,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,n.curveRings=[],r,i):oe(o,l??!1,a??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=ae(l,r),n.hasM=a,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,r)}function se(e,t,n,r,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!M(s,o,u?e.zmin:i,t,ue,r))return null;const h=ae(u,r);return n.xmin=ue[0],n.ymin=ue[1],h&&(n.zmin=ue[2]),M(l,a,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],h&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,i,s,o=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:o);if(!(0,w.projectBuffer)(l,r,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function le(e,t,n,r,i,s,o=0){const l=new Array;for(const n of e)for(const e of n){if((0,_.FG)(e))return!1;if((0,_.aO)(e)){const[n,r]=e.c;l.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,_.n1)(e)){const[n,r,i]=e.b;l.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,i[0],i[1],o);continue}const n=e;l.push(n[0],n[1],t?n[2]:o)}if(!(0,w.projectBuffer)(l,r,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);if(c||t.pop(),n&&t.push((0,_.yP)(r)[u]),(0,_.FG)(r))return!1;if((0,_.aO)(r)){const n=l[a++],r=l[a++];++a,e.push({c:[t,[n,r]]});continue}if((0,_.n1)(r)){const n=l[a++],r=l[a++];++a;const i=l[a++],s=l[a++];++a,e.push({b:[t,[n,r],[i,s]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,x.aI)(t,y.Y0)}const ue=(0,l.vt)()},98764(e,t,n){n.d(t,{lO:()=>c});var r=n(73941),i=n(16930),s=n(21325);const o=new i.A(r.fv),l=new i.A(r.FY),a=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=h.get(e);if(t)return t;let n=o;if(e)if(e===l)n=l;else if(e===a)n=a;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,s.tl)(t)||(0,s.tl)(r)?n=l:((0,s.ZL)(t)||(0,s.ZL)(r))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===p?n=l:e===f&&(n=a)}}}return h.set(e,n),n}const h=new Map,p=l.wkt.toUpperCase(),f=a.wkt.toUpperCase();n.d(t,["GD",0,o,"Y0",0,u])},31411(e,t,n){n.d(t,{GS:()=>x,gh:()=>C});var r=n(49186),i=n(56512),s=n(65864),o=n(4305),l=n(50954),a=n(52006),u=n(49663),c=n(46068),h=n(15507);const p=1e-6,f=[0,0];function d(e){return{maxSegmentLength:e.maxSegmentLength??0,maxDeviation:e.maxDeviation??0,maxSegmentsPerCurve:e.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(e.minSegmentsPerCurve??1,1)}}class g{constructor(e,t){this.curveStart=e,this.curveEnd=t,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(e,t){this.tStart=0,this.arcStart=e,this.tEndStack.push(1),this.arcEndStack.push(t)}splitAt(e){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(e),this.arcEndStack.push(this.interpolate(e))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(e,{maxDeviation:t,maxSegmentLength:n,maxSegmentsPerCurve:r,minSegmentsPerCurve:i}){const s=n*n,o=t*t,l=1/r,a=this.interpolate(0),u=this.interpolate(1);(0,h.kb)(this.curveStart,a)>p&&e.push(a),this.initialize(a,u);const c=1/i;for(let e=i-1;e>0;e--){const t=e*c;this.pop(),this.splitAt(t)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<l||(0===s||!isFinite(s)||(0,h.kb)(this.arcStart,this.arcEnd)<s)&&(0===o||!isFinite(o)||this.getDeviation2()<o)?(e.push(this.arcEnd),this.next()):this.splitInHalf();return(0,h.kb)(this.curveEnd,u)>p&&e.push([...this.curveEnd]),e}}class m extends g{constructor(e,t){const[n,r,i]=t.b;super(e,n),this._controlPointsStack=[],this._curveControlPoints=[r,i],this._arcControlPoints=[r,i],this._controlPointsStack.push(this._arcControlPoints)}splitAt(e){const{arcStart:t,arcEnd:n,tStart:r,tEnd:i}=this,[s,o]=this._arcControlPoints,l=(e-r)/(i-r),a=(0,h.RS)([],t,s,l),u=(0,h.RS)(f,s,o,l),c=(0,h.RS)([],o,n,l),p=(0,h.RS)([],a,u,l),d=(0,h.RS)([],u,c,l),g=(0,h.RS)([],p,d,l);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([d,c]),this.tEndStack.push(e),this.arcEndStack.push(g),this._arcControlPoints[0]=a,this._arcControlPoints[1]=p,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(e){const{curveStart:t,curveEnd:n}=this,[r,i]=this._curveControlPoints;return(0,o.B4)(t,r,i,n,e)}getDeviation2(){const{arcStart:e,arcEnd:t}=this,[n,r]=this._arcControlPoints;return Math.max((0,h.yE)(n,e,t),(0,h.yE)(r,e,t))}}class y extends g{constructor(e,t){const[n]=t.a;super(e,n),this._derivedEllipse=(0,c.SW)(e,t)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(e){return(0,c.Uk)(this._derivedEllipse,e)}getDeviation2(){return(0,h.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function v(e,t,n,{cx:r,cy:i,radius:s,thetaStart:o,thetaEnd:l,isInvalid:a},{maxDeviation:u,maxSegmentLength:c,maxSegmentsPerCurve:f,minSegmentsPerCurve:d}){if(a)return e.push([...n]),e;const g=2*s,m=[r+s*Math.cos(o),i+s*Math.sin(o)],y=[r+s*Math.cos(l),i+s*Math.sin(l)];(0,h.kb)(t,m)>p&&e.push(m);const v=Math.abs(l-o),w=c>0&&c<g?2*Math.asin(c/g):v,b=u>0&&u<=s?2*Math.acos(1-u/s):v,M=Math.min(w,b),S=Math.min(f,Math.max(d,Math.ceil(Math.abs(v/M)))),A=1/S;for(let t=1;t<S;t++){const n=t*A,a=o*(1-n)+l*n;e.push([r+s*Math.cos(a),i+s*Math.sin(a)])}return e.push(y),(0,h.kb)(n,y)>p&&e.push([...n]),e}function w(e,t,n,r){return new m(t,n).densify(e,r)}function b(e,t,n,r){const i=(0,l.pM)(t,n),[s]=n.c;return v(e,t,s,i,r)}function M(e,t,n,r){const i=(0,u.io)(t,n),[s]=n.a;return v(e,t,s,i,r)}function S(e,t,n,r){const[i,s,o,l,a,u,c]=n.a;return 0===u||0===c?(e.push([...i]),e):new y(t,n).densify(e,r)}function A(e,t,n,r){return(0,a.Xq)(n)?(e.push([...n]),e):(0,a.n1)(n)?w(e,t,n,r):(0,a.aO)(n)?b(e,t,n,r):(0,a.DA)(n)?M(e,t,n,r):S(e,t,n,r)}function x(e,t={}){if(!(0,a.Ed)(e))return e;const n=d(t),r=(0,a.FD)(e),i=[];for(const e of r){const t=[];for(let r=0;r<e.length-1;r++){const i=r+1,s=[...(0,a.yP)(e[r])];0===r&&t.push(s),A(t,s,e[i],n)}i.push(t)}return"curvePaths"in e?{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},paths:i,spatialReference:e.spatialReference}:{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},rings:i,spatialReference:e.spatialReference}}const _=(0,i.B)(e=>({maxDeviation:0,maxSegmentLength:100*e,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function C(e,t,i){const o=new Set(t);return await async function(e,t,i){let s=null;for(const o of e)if(o&&(0,a.Ed)(o)&&null==o.spatialReference.xyTolerance&&(0,a.V8)(o,t)){const e=o.spatialReference;if(!e)throw new r.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const t=R(e);if(i.has(t))o.spatialReference=i.get(t);else{s||(s=await Promise.all([n.e(6042),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)));const l=s.fromSpatialReference(e),a=l?.getTolerance();if(null==a)throw new r.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const u=o.spatialReference.clone();u.read({xyTolerance:a}),o.spatialReference=u,i.set(t,u)}}}(e,o,i),e.map(e=>{if(!e||!(0,a.Ed)(e))return e;const n=e.spatialReference.xyTolerance;if(null==n)return e;const r=_(n);return(0,s.rS)(function(e,t,n){if(!(0,a.Ed)(e))return e;const r=new Set(t),i=d(n),s=(0,a.FD)(e),o=[];let l=!1;for(const e of s){const t=[];for(let n=0;n<e.length-1;n++){const s=n+1,o=[...(0,a.yP)(e[n])];0===n&&t.push(o);const u=e[s];(0,a.Xq)(u)?t.push([...u]):(0,a.n1)(u)&&!r.has("cubic-bezier")?w(t,o,u,i):(0,a.aO)(u)&&!r.has("circular-arc")?b(t,o,u,i):(0,a.DA)(u)&&!r.has("elliptic-arc")?M(t,o,u,i):(0,a.wY)(u)&&!r.has("elliptic-arc")?S(t,o,u,i):(t.push((0,a.tk)(u)),l=!0)}o.push(t)}return"curvePaths"in e?{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},spatialReference:e.spatialReference,...l?{curvePaths:o}:{paths:o}}:{hasZ:e.hasZ,hasM:e.hasM,spatialReference:e.spatialReference,...l?{curveRings:o}:{rings:o}}}(e,t,r))})}function R(e){if(null!=e.wkid)return`${e.wkid}`;if(null!=e.wkt)return e.wkt;const t="toJSON"in e&&"function"==typeof e.toJSON?e.toJSON():e;return JSON.stringify(t)}},34403(e,t,n){var r=n(79258);Math.PI;const i=r.$O.radius,s=r.$O.eccentricitySquared,o={a1:i*s,a2:i*s*i*s,a3:i*s*s/2,a4:i*s*i*s*2.5,a5:i*s+i*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(t,["TP",0,o])},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>o,U9:()=>i,W0:()=>h,ZC:()=>r,fT:()=>s,uW:()=>a})},65864(e,t,n){n.d(t,{rS:()=>c,xD:()=>p});var r=n(5443),i=n(91075),s=n(48526),o=n(86738),l=n(39829),a=n(82799),u=n(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?r.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function p(e){return e&&h[e]||null}},17136(e,t,n){n.d(t,{Y_:()=>k,O7:()=>T,el:()=>R});var r=n(92602),i=n(69052),s=n(49186),o=n(53966),l=n(39829),a=n(82799),u=n(16930),c=n(80754),h=n(21325),p=n(28735),f=n(52006),d=n(31411),g=n(11254),m=n(60408),y=n(65864),v=n(2272),w=n(84952),b=n(92300);const M=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function S(e){return"polygon"===e[0].type}function A(e){return"polyline"===e[0].type}function x(e,t,n){const r=1e6;if(t){const t=(0,f.Ed)(e)?(0,d.GS)(e,{maxSegmentLength:r}):function(e,t){if(!(e instanceof a.A||e instanceof l.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw M().error(e),new s.A("internal:geometry",e)}const n=(0,c.r8)(e),r=[];for(const e of n){const n=[];r.push(n),n.push([e[0][0],e[0][1]]);for(let r=0;r<e.length-1;r++){const i=e[r][0],s=e[r][1],o=e[r+1][0],l=e[r+1][1],a=Math.sqrt((o-i)*(o-i)+(l-s)*(l-s)),u=(l-s)/a,c=(o-i)/a,h=a/t;if(h>1){for(let e=1;e<=h-1;e++){const r=e*t,o=c*r+i,l=u*r+s;n.push([o,l])}const e=(a+Math.floor(h-1)*t)/2,r=c*e+i,o=u*e+s;n.push([r,o])}n.push([o,l])}}return function(e){return"polygon"===e.type}(e)?new l.A({rings:r,spatialReference:e.spatialReference}):new a.A({paths:r,spatialReference:e.spatialReference})}(e,r);e=(0,p.ci)(t,!0)}return n&&(e=(0,c.kS)(e,n)),e}function _(e,t,n){if(Array.isArray(e)){const r=e[0];if(r>t){const n=(0,c.kd)(r,t);e[0]=r+n*(-2*t)}else if(r<n){const t=(0,c.kd)(r,n);e[0]=r+t*(-2*n)}}else{const r=e.x;if(r>t){const n=(0,c.kd)(r,t);e=e.clone().offset(n*(-2*t),0)}else if(r<n){const t=(0,c.kd)(r,n);e=e.clone().offset(t*(-2*n),0)}}return e}function C(e,t){let n=-1;for(let r=0;r<t.cutIndexes.length;r++){const i=t.cutIndexes[r],s=t.geometries[r],o=(0,c.r8)(s);for(let e=0;e<o.length;e++){const t=o[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const r=t[e][0];n=r>n?r:n}n=Number(n.toFixed(9));const r=-360*(0,c.kd)(n,180);for(let n=0;n<t.length;n++){const t=s.getPoint(e,n);s.setPoint(e,n,t.clone().offset(r,0))}return!0}})}if(i===n){if(S(e))for(const t of(0,c.r8)(s))e[i]=e[i].addRing(t);else if(A(e))for(const t of(0,c.r8)(s))e[i]=e[i].addPath(t)}else n=i,e[i]=s}return e}async function R(e,t,n){if(!Array.isArray(e))return R([e],t);t&&"string"!=typeof t&&M().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof t?t:t?.url??r.A.geometryServiceUrl;let s,o,u,f,d,S,A,T,O=0;const k=[],P=[];for(const t of e)if(null!=t)if(s||(s=t.spatialReference,o=(0,h.Vp)(s),u=s.isWebMercator,S=u?102100:4326,f=c.j7[S].maxX,d=c.j7[S].minX,A=c.j7[S].plus180Line,T=c.j7[S].minus180Line),o)if("mesh"===t.type)P.push(t);else if("point"===t.type)P.push(_(t.clone(),f,d));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>_(e,f,d)),P.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,o);P.push(e.rings?new l.A(e):e)}else if(t.extent){const e=t.extent,n=(0,c.kd)(e.xmin,d)*(2*f);let r=0===n?t.clone():(0,c.kS)(t.clone(),n);e.offset(n,0);let{xmin:i,xmax:s}=e;i=Number(i.toFixed(9)),s=Number(s.toFixed(9)),e.intersects(A)&&s!==f?(O=s>O?s:O,r=x(r,u),k.push(r),P.push("cut")):e.intersects(T)&&i!==d?(O=s*(2*f)>O?s*(2*f):O,r=x(r,u,360),k.push(r),P.push("cut")):P.push(r)}else P.push(t.clone());else P.push(t);else P.push(t);let I=(0,c.kd)(O,f),L=-90;const z=I,j=new a.A;for(;I>0;){const e=360*I-180;j.addPath([[e,L],[e,-1*L]]),L*=-1,I--}if(k.length>0&&z>0){const t=C(k,await async function(e,t,n,r){const i=(0,v.Dl)(e),s=t[0].spatialReference,o={...r,responseType:"json",query:{...i.query,f:"json",sr:(0,h.YX)(s),target:JSON.stringify({geometryType:(0,m.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},l=await(0,g.A)(i.path+"/cut",o),{cutIndexes:a,geometries:u=[]}=l.data;return{cutIndexes:a,geometries:u.map(e=>{const t=(0,y.rS)(e);return t.spatialReference=s,t})}}(i,k,j,n)),r=[],s=[];for(let n=0;n<P.length;n++){const i=P[n];if("cut"!==i)s.push(i);else{const i=t.shift(),o=e[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&i.rings.length>=o.rings.length?(r.push(i),s.push("simplify")):s.push(u?(0,p.Gh)(i):i)}}if(!r.length)return s;const o=await async function(e,t,n){const r="string"==typeof e?(0,w.An)(e):e,i=t[0].spatialReference,s=(0,m.$B)(t[0]),o={...n,query:{...r.query,f:"json",sr:(0,h.YX)(i),geometries:JSON.stringify((0,b.X)(t))}},{data:l}=await(0,g.A)(r.path+"/simplify",o);return(0,b.V)(l.geometries,s,i)}(i,r,n),l=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?l.push(t):l.push(u?(0,p.Gh)(o.shift()):o.shift())}return l}const Z=[];for(let e=0;e<P.length;e++){const t=P[e];if("cut"!==t)Z.push(t);else{const e=k.shift();Z.push(!0===u?(0,p.Gh)(e):e)}}return Z}function T(e,t,n){const r=(0,h.Vp)(n);if(null==r)return e;const[i,s]=r.valid,o=2*s;let l=0,a=0;t>s?l=Math.ceil(Math.abs(t-s)/o):t<i&&(l=-Math.ceil(Math.abs(t-i)/o)),e>s?a=Math.ceil(Math.abs(e-s)/o):e<i&&(a=-Math.ceil(Math.abs(e-i)/o));let u=e+(l-a)*o;const c=u-t;return c>s?u-=o:c<i&&(u+=o),u}function O(e){const t=(0,h.Vp)(e);if(null==t)return null;const[n,r]=t.valid;return new i.hr(n,r)}const k=O(u.A.WGS84);O(u.A.WebMercator)},80754(e,t,n){n.d(t,{kS:()=>u,kd:()=>a,r8:()=>c});var r=n(82799),i=n(16930),s=n(60408),o=n(52006);const l={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,o.Ed)(e))for(const n of function(e){return(0,s.Bi)(e)?e.curveRings:e.curvePaths}(e))for(const e of n){if((0,o.aO)(e)){const[n,r]=e.c;n[0]+=t,r[0]+=t;continue}if((0,o.FG)(e)){const[n,r]=e.a;n[0]+=t,r[0]+=t;continue}if((0,o.n1)(e)){const[n,r,i]=e.b;n[0]+=t,r[0]+=t,i[0]+=t;continue}e[0]+=t}for(const n of c(e))for(const e of n)e[0]+=t;return e}function c(e){return(0,s.Bi)(e)?e.rings:e.paths}n.d(t,["j7",0,l])},50498(e,t,n){var r=n(66552),i=n(5443),s=n(91075),o=n(48526),l=n(86738),a=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}},f=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});n.d(t,["Ye",0,h,"gy",0,c,"iI",0,f,"yR",0,p])},55156(e,t,n){n.d(t,{I:()=>i});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}n.d(t,["e",0,r])},71756(e,t,n){n.r(t);var r,i=n(5482),s=n(11254),o=n(49186),l=n(81583),a=n(25728),u=n(17676),c=n(84952),h=n(91429),p=n(16930),f=n(4146),d=n(52136),g=n(89186),m=n(98534),y=n(18768),v=n(63074),w=n(69208),b=n(34287),M=n(8303),S=n(54310),A=n(25036),x=n(91921),_=n(60694),C=n(10873),R=n(33446),T=n(15775),O=n(88625),k=n(36005),P=n(43937);const I=["Canvas/World_Dark_Gray_Base","Canvas/World_Dark_Gray_Reference","Canvas/World_Light_Gray_Base","Canvas/World_Light_Gray_Reference","Elevation/World_Hillshade","Elevation/World_Hillshade_Dark","Ocean/World_Ocean_Base","Ocean/World_Ocean_Reference","Ocean_Basemap","Reference/World_Boundaries_and_Places","Reference/World_Boundaries_and_Places_Alternate","Reference/World_Transportation","World_Imagery","World_Street_Map","World_Topo_Map"];let L=r=class extends((0,v.dM)((0,A.j)((0,x.I)((0,g.f)((0,m.V)((0,b.q)((0,M.A)((0,y.b)((0,a.M)((0,S.J)((0,d.p)((0,w.d)(f.A))))))))))))){constructor(...e){super(...e),this.listMode="show",this.elevationInfo=new O.A({mode:"on-the-ground"}),this.isReference=null,this.operationalLayerType="ArcGISTiledMapServiceLayer",this.resampling=!0,this.sourceJSON=null,this.spatialReference=null,this.path=null,this.sublayers=null,this.type="tile",this.url=null}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(u.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get attributionDataUrl(){const e=this.parsedUrl?.path.toLowerCase();return e?this._getDefaultAttribution(this._getMapName(e)):null}get hasAttributionData(){return super.hasAttributionData}readSpatialReference(e,t){return(e=e||t.tileInfo?.spatialReference)&&p.A.fromJSON(e)}writeSublayers(e,t,n,r){if(!this.loaded||!e)return;const i=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray(),s=[],o={writeSublayerStructure:!1,...r};i.forEach(e=>{const t=e.write({},o);s.push(t)}),s.some(e=>Object.keys(e).length>1)&&(t.layers=s)}get tileServers(){return this._getDefaultTileServers(this.parsedUrl?.path)}castTileServers(e){return Array.isArray(e)?e.map(e=>(0,c.An)(e).path):null}fetchTile(e,t,n,r={}){const{signal:i}=r,o=this.getTileUrl(e,t,n),l={responseType:"image",signal:i,query:{...this.refreshParameters}};return(0,s.A)(o,l).then(e=>e.data)}async fetchImageBitmapTile(e,t,n,i={}){const{signal:o}=i;if(this.fetchTile!==r.prototype.fetchTile){const r=await this.fetchTile(e,t,n,i);return(0,R.Cp)(r,e,t,n,i)}const l=this.getTileUrl(e,t,n),a={responseType:"blob",signal:o,query:{...this.refreshParameters}},{data:u}=await(0,s.A)(l,a);return(0,R.Cp)(u,e,t,n,i)}getTileUrl(e,t,n){const r=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,i=(0,c.x0)({...this.parsedUrl?.query,blankTile:!r&&null,...this.customParameters,token:this.apiKey}),s=this.tileServers;return`${s&&s.length?s[t%s.length]:this.parsedUrl?.path}/tile/${e}/${t}/${n}${i?"?"+i:""}`}loadAll(){return(0,l.g)(this,e=>{e(this.allSublayers)})}_fetchService(e){return new Promise((t,n)=>{if(this.sourceJSON){if(null!=this.sourceJSON.bandCount&&null!=this.sourceJSON.pixelSizeX)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");return void t({data:this.sourceJSON})}if(!this.parsedUrl)throw new o.A("tile-layer:undefined-url","layer's url is not defined");const r=(0,_.qg)(this.parsedUrl.path);if(null!=r&&"ImageServer"===r.serverType)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");(0,s.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(t,n)}).then(t=>{let n=this.url;if(t.ssl&&(n=this.url=n.replace(/^http:/i,"https:")),this.sourceJSON=t.data,this.read(t.data,{origin:"service",url:this.parsedUrl}),10.1===this.version&&!(0,_.Wo)(n))return this._fetchServerVersion(n,e).then(e=>{this.read({currentVersion:e})}).catch(()=>{})})}_fetchServerVersion(e,t){if(!(0,_.Fi)(e))return Promise.reject();const n=e.replace(/(.*\/rest)\/.*/i,"$1")+"/info";return(0,s.A)(n,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{if(e.data?.currentVersion)return e.data.currentVersion;throw new o.A("tile-layer:version-not-available","Server did not provide a version")})}_getMapName(e){const t=e.match(/^(?:https?:)?\/\/(server\.arcgisonline\.com|services\.arcgisonline\.com|ibasemaps-api\.arcgis\.com)\/arcgis\/rest\/services\/([^/]+(\/[^/]+)*)\/mapserver/i);return t?t[2]:void 0}_getDefaultAttribution(e){if(null==e)return null;let t;e=e.toLowerCase();for(let n=0,r=I.length;n<r;n++)if(t=I[n],t.toLowerCase().includes(e))return(0,c.s2)("//static.arcgis.com/attribution/"+t);return null}_getDefaultTileServers(e){if(null==e)return[];const t=-1!==e.search(/^(?:https?:)?\/\/server\.arcgisonline\.com/i),n=-1!==e.search(/^(?:https?:)?\/\/services\.arcgisonline\.com/i);return t||n?[e,e.replace(t?/server\.arcgisonline/i:/services\.arcgisonline/i,t?"services.arcgisonline":"server.arcgisonline")]:[]}get hasOverriddenFetchTile(){return!this.fetchTile[z]}};(0,i.Cg)([(0,h.MZ)({readOnly:!0})],L.prototype,"attributionDataUrl",null),(0,i.Cg)([(0,h.MZ)({type:["show","hide","hide-children"]})],L.prototype,"listMode",void 0),(0,i.Cg)([(0,h.MZ)({json:{read:!0,write:!0}})],L.prototype,"blendMode",void 0),(0,i.Cg)([(0,h.MZ)()],L.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],L.prototype,"isReference",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0,type:["ArcGISTiledMapServiceLayer"]})],L.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],L.prototype,"resampling",void 0),(0,i.Cg)([(0,h.MZ)()],L.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,h.MZ)({type:p.A})],L.prototype,"spatialReference",void 0),(0,i.Cg)([(0,k.w)("spatialReference",["spatialReference","tileInfo"])],L.prototype,"readSpatialReference",null),(0,i.Cg)([(0,h.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],L.prototype,"path",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],L.prototype,"sublayers",void 0),(0,i.Cg)([(0,P.K)("sublayers",{layers:{type:[T.A]}})],L.prototype,"writeSublayers",null),(0,i.Cg)([(0,h.MZ)({json:{read:!1,write:!1}})],L.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,h.MZ)()],L.prototype,"tileServers",null),(0,i.Cg)([(0,h.wg)("tileServers")],L.prototype,"castTileServers",null),(0,i.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],L.prototype,"type",void 0),(0,i.Cg)([(0,h.MZ)(C.OZ)],L.prototype,"url",void 0),L=r=(0,i.Cg)([(0,h.$K)("esri.layers.TileLayer")],L);const z=Symbol("default-fetch-tile");L.prototype.fetchTile[z]=!0;const j=L;n.d(t,["default",0,j])},89186(e,t,n){var r=n(5482),i=n(91429),s=n(16930),o=n(87045),l=n(65509),a=n(25943),u=n(36005);n.d(t,["f",0,e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.copyright=null,this.minScale=0,this.maxScale=0,this.spatialReference=null,this.tileInfo=null,this.tilemapCache=null}destroy(){this.tilemapCache?.destroy?.()}readMinScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}readMaxScale(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0}get supportsBlankTile(){return this.version>=10.2}readTilemapCache(e,t,n){const r=t.capabilities?.toLowerCase().includes("tilemap");let{minLOD:i,maxLOD:s,minScale:u,maxScale:c}=t;if(null==i&&null==s&&(0!==u||0!==c)){const e=e=>Math.round(1e4*e)/1e4;u=e(u||t.tileInfo.lods[0].scale),c=e(c||t.tileInfo.lods[t.tileInfo.lods.length-1].scale);for(const n of t.tileInfo.lods){const t=e(n.scale);i=t>=u?n.level:i,s=t>=c?n.level:s}}if(r)return new a.d({layer:this,minLOD:i,maxLOD:s});if(t.tileInfo){const e=new o.A;return e.read(t.tileInfo,n),new l.A(e,i,s)}return null}};return(0,r.Cg)([(0,i.MZ)({json:{read:{source:"copyrightText"}}})],n.prototype,"copyright",void 0),(0,r.Cg)([(0,i.MZ)()],n.prototype,"minScale",void 0),(0,r.Cg)([(0,u.w)("service","minScale")],n.prototype,"readMinScale",null),(0,r.Cg)([(0,i.MZ)()],n.prototype,"maxScale",void 0),(0,r.Cg)([(0,u.w)("service","maxScale")],n.prototype,"readMaxScale",null),(0,r.Cg)([(0,i.MZ)({type:s.A})],n.prototype,"spatialReference",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],n.prototype,"supportsBlankTile",null),(0,r.Cg)([(0,i.MZ)({type:o.A})],n.prototype,"tileInfo",void 0),(0,r.Cg)([(0,i.MZ)()],n.prototype,"tilemapCache",void 0),(0,r.Cg)([(0,u.w)("service","tilemapCache",["capabilities","tileInfo"])],n.prototype,"readTilemapCache",null),(0,r.Cg)([(0,i.MZ)()],n.prototype,"version",void 0),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.ArcGISCachedService")],n),n}])},91806(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(25482),o=n(91429),l=n(56507);let a=class extends s.o{static{r=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"cols",void 0),(0,i.Cg)([(0,o.MZ)({type:l.jz,json:{write:!0}})],a.prototype,"level",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"levelValue",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"origin",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"resolution",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"rows",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"scale",void 0),a=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.LOD")],a)},87045(e,t,n){n.d(t,{A:()=>w});var r,i=n(5482),s=n(66552),o=n(25482),l=n(86211),a=n(91429),u=n(56507),c=n(86738),h=n(16930),p=n(21325),f=n(28735),d=n(91806),g=n(72802),m=n(36005),y=n(43937);const v=new s.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let w=class extends o.o{static{r=this}static create(e={}){const{resolutionFactor:t=1,scales:n,size:i=256,spatialReference:s=h.A.WebMercator,numLODs:o=24}=e;if(!(0,p.fn)(s)){const e=[];if(n)for(let t=0;t<n.length;t++){const r=n[t];e.push(new d.A({level:t,scale:r,resolution:r}))}else{let t=5e-4;for(let n=o-1;n>=0;n--)e.unshift(new d.A({level:n,scale:t,resolution:t})),t*=2}return new r({dpi:96,lods:e,origin:new c.A(0,0,s),size:[i,i],spatialReference:s})}const a=(0,p.Vp)(s),u=e.origin?new c.A({x:e.origin.x,y:e.origin.y,spatialReference:s}):new c.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:s}:{x:0,y:0,spatialReference:s}),f=1/(39.37*(0,l.GA)(s)*96),g=[];if(n)for(let e=0;e<n.length;e++){const t=n[e],r=t*f;g.push(new d.A({level:e,scale:t,resolution:r}))}else{let e=(0,p.EA)(s)?512/i*591657527.5917094:256/i*591657527.591555;const n=Math.ceil(o/t);g.push(new d.A({level:0,scale:e,resolution:e*f}));for(let r=1;r<n;r++){const n=e/2**t,i=n*f;g.push(new d.A({level:r,scale:n,resolution:i})),e=n}}return new r({dpi:96,lods:g,origin:u,size:[i,i],spatialReference:s})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const n=(0,p.Vp)(e);return e.isWrappable&&!!n&&Math.abs(n.origin[0]-t.x)<=n.dx}return!1}readOrigin(e,t){return c.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,n=0;const r=[],i=this._levelToLOD={};e&&(t=-1/0,n=1/0,e.forEach(e=>{r.push(e.scale),t=e.scale>t?e.scale:t,n=e.scale<n?e.scale:n,i[e.level]=e})),this._set("scales",r),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const n=Math.floor(e),r=n+1;return t[n]/(t[n]/t[r])**(e-n)}scaleToZoom(e){const t=this.scales,n=t.length-1;let r=0;for(;r<n;r++){const n=t[r],i=t[r+1];if(n<=e)return r;if(i===e)return r+1;if(n>e&&i<e)return r+Math.log(n/e)/Math.log(n/i)}return r}tileAt(e,t,n,r){const i=this.lodAt(e);if(!i)return null;let s,o;if("number"==typeof t)s=t,o=n;else if((0,p.aI)(t.spatialReference,this.spatialReference))s=t.x,o=t.y,r=n;else{const e=(0,f.Cv)(t,this.spatialReference);if(null==e)return null;s=e.x,o=e.y,r=n}const l=i.resolution*this.size[0],a=i.resolution*this.size[1];return r??=new g.U(0,0,0),r.level=e,r.row=Math.floor((this.origin.y-o)/a+.001),r.col=Math.floor((s-this.origin.x)/l+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let n=this.lodAt(e.level);if(!n&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(n=t)}if(!n)return!1;const r=e.level-n.level,i=n.resolution*this.size[0]/2**r,s=n.resolution*this.size[1]/2**r;return e.extent[0]=this.origin.x+e.col*i,e.extent[1]=this.origin.y-(e.row+1)*s,e.extent[2]=e.extent[0]+i,e.extent[3]=e.extent[1]+s,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const n=this.lodAt(t.level);if(null==n)return null;const{resolution:r}=n,i=r*this.size[0],s=r*this.size[1];return e[0]=this.origin.x+t.col*i,e[1]=this.origin.y-(t.row+1)*s,e[2]=e[0]+i,e[3]=e[1]+s,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return r.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const n=[],i=this.lods.length-t;for(let e=0;e<i;e++){const r=e+t,{scale:i,resolution:s}=r>=0?this.lods[r]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};n.push(new d.A({level:e,scale:i,resolution:s}))}return new r({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:n})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let n=0;n<e.length;n++){const r=e[n];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],w.prototype,"compressionQuality",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],w.prototype,"dpi",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:v.read,write:v.write,origins:{"web-scene":{read:!1,write:!1}}}})],w.prototype,"format",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],w.prototype,"isWrappable",null),(0,i.Cg)([(0,a.MZ)({type:c.A,json:{write:!0}})],w.prototype,"origin",void 0),(0,i.Cg)([(0,m.w)("origin")],w.prototype,"readOrigin",null),(0,i.Cg)([(0,a.MZ)({type:[d.A],value:null,json:{write:!0}})],w.prototype,"lods",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],w.prototype,"scales",void 0),(0,i.Cg)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],w.prototype,"size",void 0),(0,i.Cg)([(0,m.w)("size",["rows","cols"])],w.prototype,"readSize",null),(0,i.Cg)([(0,y.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],w.prototype,"writeSize",null),(0,i.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.TileInfo")],w)},65509(e,t,n){n.d(t,{A:()=>s});var r=n(49186),i=n(17676);class s{constructor(e,t=0,n=e.lods[e.lods.length-1].level){this.tileInfo=e,this.minLOD=t,this.maxLOD=n,e.lodAt(t)||(this.minLOD=e.lods[0].level),e.lodAt(n)||(this.maxLOD=e.lods[e.lods.length-1].level)}get effectiveMinLOD(){return this.minLOD??this.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.tileInfo.lods[this.tileInfo.lods.length-1].level}getAvailability(e,t,n){const r=this.tileInfo?.lodAt(e);return!r||e<this.minLOD||e>this.maxLOD?"unavailable":r.cols&&r.rows?n>=r.cols[0]&&n<=r.cols[1]&&t>=r.rows[0]&&t<=r.rows[1]?"unknown":"unavailable":"unknown"}async fetchAvailability(e,t,n,s){await(0,i.NO)(s);const o=this.getAvailability(e,t,n);if("unavailable"===o)throw new r.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:n});return o}async fetchAvailabilityUpsample(e,t,n,r,s){await(0,i.NO)(s),r.level=e,r.row=t,r.col=n;const o=this.tileInfo;return o.updateTileInfo(r),this.fetchAvailability(e,t,n,s).catch(e=>{if((0,i.zf)(e))throw e;if(o.upsampleTile(r))return this.fetchAvailabilityUpsample(r.level,r.row,r.col,r,s);throw e})}}},72802(e,t,n){n.d(t,{U:()=>i});var r=n(19419);class i{constructor(e,t,n,i=(0,r.vt)()){this._level=e,this._row=t,this._col=n,this.extent=i}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new i(e.level,e.row,e.col,e.extent)}}},25943(e,t,n){n.d(t,{d:()=>S});var r,i=n(5482),s=n(11254),o=n(69622),l=n(49186),a=n(36563),u=(n(44208),n(66344)),c=n(15142),h=n(17676),p=n(36708),f=n(76030),d=n(84952),g=n(91429),m=n(72802),y=n(4718),v=n(69397);class w{constructor(e){!function(e){if(!e?.location)throw new l.A("tilemap:missing-location","Location missing from tilemap response");if(!1===e.valid)throw new l.A("tilemap:invalid","Tilemap response was marked as invalid");if(!e.data)throw new l.A("tilemap:missing-data","Data missing from tilemap response");if(!Array.isArray(e.data))throw new l.A("tilemap:data-mismatch","Data must be an array of numbers");if(e.data.length!==e.location.width*e.location.height)throw new l.A("tilemap:data-mismatch","Number of data items does not match width/height of tilemap")}(e);const{location:t,data:n}=e;this.location=Object.freeze((0,y.o8)(t));const r=this.location.width,i=this.location.height;let s=!0,o=!0;const a=function(e,t=!1){return e<=1024?t?new Array(e).fill(0):new Array(e):new Uint32Array(e)}(Math.ceil(r*i/32));let u=0;for(let e=0;e<n.length;e++){const t=e%32;n[e]?(o=!1,a[u]|=1<<t):s=!1,31===t&&++u}o?(this._availability="unavailable",this.byteSize=40):s?(this._availability="available",this.byteSize=40):(this._availability=a,this.byteSize=40+(0,v.Qf)(a))}getAvailability(e,t){if("unavailable"===this._availability||"available"===this._availability)return this._availability;const n=(e-this.location.top)*this.location.width+(t-this.location.left),r=n%32,i=n>>5,s=this._availability;return i<0||i>s.length?"unknown":s[i]&1<<r?"available":"unavailable"}static fromDefinition(e,t){const n=e.service.request||s.A,{row:r,col:i,width:o,height:a}=e,u={query:{f:"json"}};return t=t?{...u,...t}:u,n(function(e){let t;if(e.service.tileServers?.length){const n=e.service.tileServers;t=`${n&&n.length?n[e.row%n.length]:e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}else t=`${e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`;const n=e.service.query;return n&&(t=`${t}?${n}`),t}(e),t).then(e=>e.data).catch(e=>{if(422===e?.details?.httpStatus)return{location:{top:r,left:i,width:o,height:a},valid:!0,data:new Array(o*a).fill(0)};throw e}).then(e=>{if(e.location&&(e.location.top!==r||e.location.left!==i||e.location.width!==o||e.location.height!==a))throw new l.A("tilemap:location-mismatch","Tilemap response for different location than requested",{response:e,definition:{top:r,left:i,width:o,height:a}});return w.fromJSON(e)})}static fromJSON(e){return Object.freeze(new w(e))}}function b(e){return`${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}function M(e,t,n){return new l.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:n})}let S=class extends o.A{static{r=this}constructor(e){super(e),this._pendingTilemapRequests={},this.request=s.A,this.size=32,this._prefetchingEnabled=!0}initialize(){this._tilemapCache=new u.q(2097152),this.addHandles((0,p.wB)(()=>{const{layer:e}=this;return[e?.parsedUrl,e?.tileServers,e?.apiKey,e?.customParameters]},()=>this._initializeTilemapDefinition(),p.Vh))}get effectiveMinLOD(){return this.minLOD??this.layer.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.layer.tileInfo.lods[this.layer.tileInfo.lods.length-1].level}getAvailability(e,t,n){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return"unavailable";const r=this._tilemapFromCache(e,t,n,this._tmpTilemapDefinition);return r?r.getAvailability(t,n):"unknown"}fetchAvailability(e,t,n,r){return!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD?Promise.reject(M(e,t,n)):this._fetchTilemap(e,t,n,r).catch(e=>e).then(r=>{if(r instanceof w){const i=r.getAvailability(t,n);if("unavailable"===i)throw M(e,t,n);return i}if((0,h.zf)(r))throw r;return"unknown"})}fetchAvailabilityUpsample(e,t,n,r,i){r.level=e,r.row=t,r.col=n;const s=this.layer.tileInfo;s.updateTileInfo(r);const o=this.fetchAvailability(e,t,n,i).catch(e=>{if((0,h.zf)(e))throw e;if(s.upsampleTile(r))return this.fetchAvailabilityUpsample(r.level,r.row,r.col,r,i);throw e});return this._fetchAvailabilityUpsamplePrefetch(e,t,n,i,o),o}async _fetchAvailabilityUpsamplePrefetch(e,t,n,i,s){if(!this._prefetchingEnabled)return;const o=`prefetch-${e}-${t}-${n}`;if(this.hasHandles(o))return;const l=new AbortController;s.then(()=>l.abort(),()=>l.abort());let u=!1;const c=(0,a.hA)(()=>{u||(u=!0,l.abort())});if(this.addHandles(c,o),await(0,f.md)(10,l.signal).catch(()=>{}),u||(u=!0,this.removeHandles(o)),(0,h.G4)(l))return;const p=new m.U(e,t,n),d={...i,signal:l.signal},g=this.layer.tileInfo;for(let e=0;r._prefetches.length<r._maxPrefetch&&g.upsampleTile(p);++e){const e=this.fetchAvailability(p.level,p.row,p.col,d);r._prefetches.push(e);const t=()=>{r._prefetches.removeUnordered(e)};e.then(t,t)}}static{this._maxPrefetch=4}static{this._prefetches=new c.A({initialSize:r._maxPrefetch})}static cleanupTilemapCache(){this._prefetches.prune()}_fetchTilemap(e,t,n,r){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return Promise.reject(new l.A("tilemap-cache:level-unavailable",`Level ${e} is unavailable in the service`));const i=this._tmpTilemapDefinition,s=this._tilemapFromCache(e,t,n,i);if(s)return Promise.resolve(s);const o=r?.signal;return r={...r,signal:null},new Promise((e,t)=>{(0,h.u7)(o,()=>t((0,h.NK)()));const n=b(i);let s=this._pendingTilemapRequests[n];if(!s){s=w.fromDefinition(i,r).then(e=>(this._tilemapCache.put(n,e,e.byteSize),e));const e=()=>{delete this._pendingTilemapRequests[n]};this._pendingTilemapRequests[n]=s,s.then(e,e)}s.then(e,t)})}_initializeTilemapDefinition(){if(!this.layer.parsedUrl)return;const{parsedUrl:e,apiKey:t,customParameters:n}=this.layer;this._tilemapCache.clear(),this._tmpTilemapDefinition={service:{url:e.path,query:(0,d.x0)({...e.query,...n,token:t??e.query?.token}),tileServers:this.layer.tileServers,request:this.request},width:this.size,height:this.size,level:0,row:0,col:0}}_tilemapFromCache(e,t,n,r){r.level=e,r.row=t-t%this.size,r.col=n-n%this.size;const i=b(r);return this._tilemapCache.get(i)}get test(){}};(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],S.prototype,"layer",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],S.prototype,"minLOD",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],S.prototype,"maxLOD",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],S.prototype,"request",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],S.prototype,"size",void 0),S=r=(0,i.Cg)([(0,g.$K)("esri.layers.support.TilemapCache")],S)},32730(e,t,n){n.d(t,{BI:()=>f,D3:()=>h,XJ:()=>p,lc:()=>c,mX:()=>g,rU:()=>d,tH:()=>b,zA:()=>S});var r=n(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),l=new RegExp(s,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(s+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(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 g(t.expression);case"arcade":return t.expression}return null}function d(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 g(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+s),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,w=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=y.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=w.exec(e),t?t[2]:null)}const M=Symbol("LabelClassInstance");function S(e){return null!=e&&"object"==typeof e&&M in e}n.d(t,["vK",0,M])},5757(e,t,n){n.d(t,{B:()=>i});const r=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}n.d(t,["P",0,r])},98205(e,t,n){n.d(t,{KZ:()=>l,eh:()=>o,gf:()=>s,of:()=>i});const r=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}function s(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function l(e,t){const n=t||o(e),r=e.valueUnit||"unknown";return"unknown"===n?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}n.d(t,["uY",0,r])},92300(e,t,n){n.d(t,{V:()=>o,X:()=>s});var r=n(60408),i=n(65864);function s(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function o(e,t,n){const r=(0,i.xD)(t);return e.map(e=>{const t=r.fromJSON(e);return t.spatialReference=n,t})}},22671(e,t,n){n.d(t,{A:()=>v});var r,i=n(5482),s=n(52106),o=n(66552),l=n(25482),a=n(4718),u=n(91429),c=n(16930),h=n(60408),p=n(65864),f=n(50498),d=n(20437),g=n(36005),m=n(43937);const y=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void y.write(e,t,n,r);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void y.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,p.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((i-e)/n));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:n}=this;if(!n)return this;const{translate:[r,i],scale:[s,o]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,e=>e*s+r,e=>i-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=n.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=r);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],n=a[e],i=n?.spatialReference;null==t||i||(t.spatialReference=r)}i.push(o)}return i}_quantizePoints(e,t,n){let r,i;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=n(l[1]);e===r&&o===i||(s.push([e-r,o-i]),r=e,i=o)}else r=t(l[0]),i=n(l[1]),s.push([r,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,h.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],o=this._quantizePoints(s,t,n);o&&i.push(o)}return i.length>0?((0,h.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,i){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,h.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,i=r.length;e<i;e++){const i=r[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=n(l)}}if(r&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=i(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=i(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(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,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(o+=r[0],l+=r[1]):(o=r[0],l=r[1]),r[0]=t(o),r[1]=n(l)}if(r&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=i(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[d.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:y.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:f.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=r=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8119],{11221(e,t,s){s.d(t,{t1:()=>v,Jn:()=>w,Rn:()=>b,An:()=>T,rj:()=>_});var r=s(52106),n=s(48938),a=s(23732),i=s(87449),l=s(5482),o=s(93833),c=s(60999);class u{constructor(e,t){this._parent=e,this._abortSignal=t,this._done=!1,this._features=null,this._batchMutex=new c.aD,this._currentPage=null,this._pageCursor=-1}get _numAvailable(){return null==this._currentPage||this._pageCursor<0?0:Math.max(this._currentPage.length-this._pageCursor,0)}_takeNFeatures(e){if(null==this._currentPage)return[];const t=this._currentPage.slice(this._pageCursor,this._pageCursor+e);return this._pageCursor+=t.length,t.map(e=>r.A.fromJSON(e))}_takeOneFeature(){const e=this._currentPage[this._pageCursor];return this._pageCursor+=1,r.A.fromJSON(e)}async _nextBatch(){if(this._done)return!1;const e=await(this._features??=this._parent.queryAll(this._abortSignal));let t;do{if(t=await e.next(),t.done)return this._done=!0,this._currentPage=null,this._pageCursor=-1,!1}while(t.value.length<=0);return this._currentPage=t.value,this._pageCursor=0,!0}async nextBatchAsArcadeFeatures(e,t){const s=await this.nextBatch(e);return null==s?s:s.map(e=>o.Xj.createFromGraphicLikeObject(e.geometry,e.attributes,this._parent,t))}async nextBatch(e){const t={stack:[],error:void 0,hasError:!1};try{if(this._done)return null;if(e<=0)return[];if((0,l.mS)(t,await this._batchMutex.acquire(),!1),this._numAvailable>=e)return this._takeNFeatures(e);const s=[];let r=e;do{const e=this._takeNFeatures(r);r-=e.length,s.push(e)}while(r>0&&await this._nextBatch());const n=s.flat();return n.length>0?n:null}catch(e){t.error=e,t.hasError=!0}finally{(0,l.hk)(t)}}async next(){const e={stack:[],error:void 0,hasError:!1};try{return this._done?null:((0,l.mS)(e,await this._batchMutex.acquire(),!1),this._numAvailable>=1||await this._nextBatch()?this._takeOneFeature():null)}catch(t){e.error=t,e.hasError=!0}finally{(0,l.hk)(e)}}}var h=s(33325),d=s(50145),f=s(71163),g=s(5479),p=s(89696),m=s(16930),y=s(95466);function _(e){switch(e){case"esriSpatialRelIntersects":return{spatialRelationship:"intersects",relationParameter:null};case"esriSpatialRelContains":return{spatialRelationship:"contains",relationParameter:null};case"esriSpatialRelOverlaps":return{spatialRelationship:"overlaps",relationParameter:null};case"esriSpatialRelWithin":return{spatialRelationship:"within",relationParameter:null};case"esriSpatialRelTouches":return{spatialRelationship:"touches",relationParameter:null};case"esriSpatialRelCrosses":return{spatialRelationship:"crosses",relationParameter:null};case"esriSpatialRelEnvelopeIntersects":return{spatialRelationship:"envelope-intersects",relationParameter:null};default:if(e.includes("esriSpatialRelRelation"))return{spatialRelationship:"relation",relationParameter:e.split(":")[1]};throw new i.dr("NeverReach")}}function b(e,t){for(const s of e)null!=s.geometry&&(s.geometry.spatialReference??=t)}const T=Object.freeze({ordered:!0,filterApplied:!0,spatialFilterApplied:!0,features:Object.freeze({next:()=>Promise.resolve({done:!0,value:void 0}),[Symbol.asyncIterator](){return this}})});class v{constructor(){this.declaredRootClass="esri.arcade.featureset.support.FeatureSet",this._parent=null,this._maxProcessing=200,this._maxQuery=500,this._totalCount=-1,this._databaseType=7,this._databaseTypeProbed=null,this._loadPromise=null,this._allFeatures=null,this._fieldsIndex=null,this.typeIdField=null,this.types=null,this.subtypeField=null,this.subtypes=null,this.fields=null,this.geometryType="",this.objectIdField="",this.globalIdField="",this.spatialReference=null,this.hasM=!1,this.hasZ=!1}_ensureLoaded(){return this.load()}load(){return null===this._loadPromise&&(this._loadPromise=this.loadImpl()),this._loadPromise}async loadImpl(){return await(this._parent?.load()),this._initialiseFeatureSet(),this}_initialiseFeatureSet(){null!==this._parent?(this.fields=this._parent.fields.slice(),this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types,this.subtypeField=this._parent.subtypeField,this.subtypes=this._parent.subtypes):(this.fields=[],this.typeIdField="",this.subtypeField="",this.objectIdField="",this.globalIdField="",this.spatialReference=new m.A({wkid:4326}),this.geometryType=h.ik.point)}getField(e,t){return e=e.toLowerCase(),(t||this.fields).find(t=>t.name.toLowerCase()===e)}getFieldsIndex(){return null===this._fieldsIndex&&(this._fieldsIndex=y.A.fromLayer({timeInfo:this.timeInfo,editFieldsInfo:this.editFieldsInfo,dateFieldsTimeZone:this.dateFieldsTimeZone,datesInUnknownTimezone:this.datesInUnknownTimezone,fields:this.fields})),this._fieldsIndex}_maxProcessingRate(){return null!==this._parent?Math.min(this._maxProcessing,this._parent._maxProcessingRate()):Math.min(this._maxProcessing,this._maxQueryRate())}_maxQueryRate(){return null!==this._parent?Math.max(this._maxQuery,this._parent._maxQueryRate()):this._maxQuery}nativeCapabilities(){return this._parent.nativeCapabilities()}get _hasCachedFeatures(){return null!=this._allFeatures}async queryAll(e){null==this._allFeatures&&(this._allFeatures=this._queryAll().then(e=>(0,g.N5)(e)));const t=(await this._allFeatures)();return null==e||e===n._?t:async function*(){for await(const s of t)(0,i.dZ)(e),yield s}()}async databaseType(){if(7===this._databaseType){if(null!==a.A.applicationCache){const e=a.A.applicationCache.getDatabaseType(this._cacheableFeatureSetSourceKey());if(null!==e)return e}if(null!==this._databaseTypeProbed)return this._databaseTypeProbed;try{this._databaseTypeProbed=this._getDatabaseTypeImpl(),null!==a.A.applicationCache&&a.A.applicationCache.setDatabaseType(this._cacheableFeatureSetSourceKey(),this._databaseTypeProbed)}catch(e){throw null!==a.A.applicationCache&&a.A.applicationCache.clearDatabaseType(this._cacheableFeatureSetSourceKey()),e}return this._databaseTypeProbed}return this._databaseType}async _getDatabaseTypeImpl(){const e=[{dbType:2,probeSql:"(CAST( '2015-01-01' as DATETIME) = CAST( '2015-01-01' as DATETIME)) AND OBJECTID<0"},{dbType:3,probeSql:"(TO_DATE('2003-11-18','YYYY-MM-DD') = TO_DATE('2003-11-18','YYYY-MM-DD')) AND OBJECTID<0"},{dbType:1,probeSql:"(date '2015-01-01 10:10:10' = date '2015-01-01 10:10:10') AND OBJECTID<0"}];for(const t of e)if(!0===await this._runDatabaseProbe(t.probeSql))return t.dbType;return 1}_cacheableFeatureSetSourceKey(){return"MUSTBESET"}async _runDatabaseProbe(e){if(null!==this._parent)return this._parent._runDatabaseProbe(e);throw new i.dr("NotImplemented")}isTable(){return this._parent?.isTable()??!1}async first(e){if(this._hasCachedFeatures)return this.iterator(e).next();const t=await this.query({limit:1,abortSignal:e});for await(const e of t.features)if(e.length>0)return r.A.fromJSON(e[0]);return null}async isEmpty(e){return this._totalCount>=0?0===this._totalCount:null==await this.first(e)}async calculateStatistic(e,t,s,r){await this._ensureLoaded();let n=await this.queryStat({stat:e,field:t,limit:s,abortSignal:r});return!1===n.calculated&&(n=await this._manualStat(e,t,s,r)),n.result}async _manualStat(e,t,s,r){let n=null;switch(e.toLowerCase()){case"count":{if(this._totalCount>=0)return{calculated:!0,result:this._totalCount};const e=await this.queryAll(r);let t=0;for await(const s of e)t+=s.length;return this._totalCount=t,{calculated:!0,result:t}}case"distinct":return n=await(0,d.dM)(this,t,s,r),{calculated:!0,result:n};case"avg":case"mean":return n=await(0,d.i2)(this,t,r),{calculated:!0,result:n};case"stdev":return n=await(0,d.b$)(this,t,r),{calculated:!0,result:n};case"variance":return n=await(0,d.GV)(this,t,r),{calculated:!0,result:n};case"sum":return n=await(0,d.cz)(this,t,r),{calculated:!0,result:n};case"min":return n=await(0,d.jk)(this,t,r),{calculated:!0,result:n};case"max":return n=await(0,d.T9)(this,t,r),{calculated:!0,result:n};default:return{calculated:!0,result:0}}}iterator(e){return new u(this,e)}async sumArea(e,t,s){let r=0;for await(const n of await this.queryAll(s))for(const s of n)null!=s.geometry&&(r+=null!=t?await(0,f.C)("geodeticArea",[s.geometry,e,t]):await(0,f.C)("area",[s.geometry,e]));return r}async sumLength(e,t,s){let r=0;for await(const n of await this.queryAll(s))for(const s of n)null!=s.geometry&&(r+=null!=t?await(0,f.C)("geodeticLength",[s.geometry,e,t]):await(0,f.C)("length",[s.geometry,e]));return r}async count(e){return await this.load(),this.calculateStatistic("count",p.A.create("1",{fieldsIndex:this.getFieldsIndex(),timeZone:this.dateFieldsTimeZoneDefaultUTC}),-1,e??n._)}castToText(e=!1){return"object, FeatureSet"}queryAttachments(e,t,s,r,n){return this._parent.queryAttachments(e,t,s,r,n)}serviceUrl(){return this._parent.serviceUrl()}subtypeMetadata(){return this.subtypeField&&this.subtypes?{subtypeField:this.subtypeField,subtypes:this.subtypes?this.subtypes.map(e=>({name:e.name,code:e.code})):[]}:this.typeIdField?{subtypeField:this.typeIdField,subtypes:this.types?this.types.map(e=>({name:e.name,code:e.id})):[]}:null}relationshipMetadata(){return this._parent.relationshipMetadata()}get gdbVersion(){return this._parent?this._parent.gdbVersion:""}schema(){const e=[];for(const t of this.fields)e.push((0,h.nE)(t));return{objectIdField:this.objectIdField,globalIdField:this.globalIdField,geometryType:void 0===h.yT[this.geometryType]?"esriGeometryNull":h.yT[this.geometryType],fields:e}}async convertToText(e,t){return"schema"===e?(await this._ensureLoaded(),JSON.stringify(this.schema())):"featureset"===e?JSON.stringify(await this.castAsJsonAsync(t)):this.castToText()}getFeatureByObjectId(e,t){return this._parent.getFeatureByObjectId(e,t)}getOwningSystemUrl(){return this._parent.getOwningSystemUrl()}getIdentityUser(){return this._parent.getIdentityUser()}getRootFeatureSet(){return this._parent.getRootFeatureSet()}getDataSourceFeatureSet(){return null!==this._parent?this._parent.getDataSourceFeatureSet():this}castAsJson(){return{type:"FeatureSet"}}async castAsJsonAsync(e=null){await this._ensureLoaded();const t=[];for await(const s of await this.queryAll(e))for(const e of s){const s=e.attributes;let r=null;if(null!=e.geometry)if(e.geometry.spatialReference){const{spatialReference:t,...s}=e.geometry;r=s}else r=e.geometry;t.push({geometry:r,attributes:s})}return{...this.schema(),features:t,spatialReference:this.spatialReference?.toJSON()??null}}fieldTimeZone(e){return this.getFieldsIndex().getTimeZone(e)}get preferredTimeZone(){return this._parent?.preferredTimeZone??null}get dateFieldsTimeZone(){return this._parent?.dateFieldsTimeZone??null}get dateFieldsTimeZoneDefaultUTC(){return this.datesInUnknownTimezone?"unknown":this.dateFieldsTimeZone||"UTC"}get datesInUnknownTimezone(){return this._parent.datesInUnknownTimezone}get editFieldsInfo(){return this._parent?.editFieldsInfo??null}get timeInfo(){return this._parent?.timeInfo??null}getFeatureSetInfo(){return this._parent?this._parent.getFeatureSetInfo():Promise.resolve(null)}}class w extends v{constructor(){super(...arguments),this._parent=null}getRootFeatureSet(){return this}}},23732(e,t,s){s.d(t,{A:()=>r});class r{static{this.applicationCache=null}constructor(){this._databaseTypeMetaData={},this._layerInfo={}}clearDatabaseType(e){void 0===this._databaseTypeMetaData[e]&&delete this._databaseTypeMetaData[e]}getDatabaseType(e){return"MUSTBESET"===e||void 0===this._databaseTypeMetaData[e]?null:this._databaseTypeMetaData[e]}setDatabaseType(e,t){this._databaseTypeMetaData[e]=t}getLayerInfo(e){return void 0===this._layerInfo[e]?null:this._layerInfo[e]}setLayerInfo(e,t){this._layerInfo[e]=t}clearLayerInfo(e){void 0!==this._layerInfo[e]&&delete this._layerInfo[e]}}},87449(e,t,s){s.d(t,{dZ:()=>i,dr:()=>a});var r=s(799);const n={Cancelled:"Cancelled",InvalidStatResponse:"Invalid statistics response from service",InvalidRequest:"Invalid request",RequestFailed:"Request failed - {reason}",MissingFeatures:"Missing features",AggregationFieldNotFound:"Aggregation field not found",DataElementsNotFound:"Data elements not found on service",NeverReach:"Encountered unreachable logic",NotImplemented:"Not implemented"};class a extends Error{constructor(e,t){super((0,r.HC)(n[e],t)),this.declaredRootClass="esri.arcade.featureset.support.featureseterror",Error.captureStackTrace&&Error.captureStackTrace(this,a)}}function i(e){if(null!=e&&e?.aborted)throw new a("Cancelled")}},80609(e,t,s){s.d(t,{C6:()=>T,DA:()=>S,F1:()=>_,F6:()=>p,IY:()=>v,Ju:()=>C,Kb:()=>f,Mi:()=>u,Nf:()=>y,R8:()=>m,YY:()=>c,bD:()=>h,bm:()=>b,kg:()=>d,oj:()=>F});var r=s(66131),n=s(33325),a=s(1262),i=s(15032),l=s(89696),o=s(92647);function c(e,t){return g(e?.parseTree,t,e?.parameters)}function u(e,t,s){return g(e,t,s)}function h(e,t,s,r){const n=g(e.parseTree,0,e.parameters,t,s);return l.A.create(n,{fieldsIndex:r,timeZone:e.timeZone,currentUser:e.currentUser})}function d(e,t,s="AND"){return l.A.create("(("+c(e,0)+")"+s+"("+c(t,0)+"))",{fieldsIndex:e.fieldsIndex,timeZone:e.timeZone,currentUser:e.currentUser})}function f(e){return!0===e.delimited?`"${e.column.split('"').join('""')}"`:e.column}function g(e,t,s,r=null,i=null){let l,o,c,u;switch(e.type){case"interval":return F(g(e.value,t,s,r,i),e.qualifier,e.op);case"case-expression":{let n=" CASE ";"simple"===e.format&&(n+=g(e.operand,t,s,r,i));for(let a=0;a<e.clauses.length;a++)n+=" WHEN "+g(e.clauses[a].operand,t,s,r,i)+" THEN "+g(e.clauses[a].value,t,s,r,i);return null!==e.else&&(n+=" ELSE "+g(e.else,t,s,r,i)),n+=" END ",n}case"parameter":{const r=s[e.value.toLowerCase()];if("string"==typeof r)return"'"+s[e.value.toLowerCase()].toString().replaceAll("'","''")+"'";if((0,n.$P)(r))return b(r,t);if((0,n.Lk)(r))return b(r,t);if((0,n.eg)(r))return _(r,t);if((0,n.rX)(r))return m(r,t);if((0,n.f0)(r))return y(r,t);if(Array.isArray(r)){const e=[];for(let s=0;s<r.length;s++)"string"==typeof r[s]?e.push("'"+r[s].toString().replaceAll("'","''")+"'"):(0,n.$P)(r[s])||(0,n.Lk)(r[s])?e.push(b(r[s],t)):(0,n.eg)(r[s])?e.push(_(r[s],t)):(0,n.rX)(r[s])?e.push(m(r[s],t)):(0,n.f0)(r[s])?e.push(y(r[s],t)):e.push(r[s].toString());return e}return r.toString()}case"expression-list":o=[];for(const n of e.value)o.push(g(n,t,s,r,i));return o;case"unary-expression":return" ( NOT "+g(e.expr,t,s,r,i)+" ) ";case"binary-expression":switch(e.operator){case"AND":return" ("+g(e.left,t,s,r,i)+" AND "+g(e.right,t,s,r,i)+") ";case"OR":return" ("+g(e.left,t,s,r,i)+" OR "+g(e.right,t,s,r,i)+") ";case"IS":if("null"!==e.right.type)throw new a.L("UnsupportedIsRhs");return" ("+g(e.left,t,s,r,i)+" IS NULL )";case"ISNOT":if("null"!==e.right.type)throw new a.L("UnsupportedIsRhs");return" ("+g(e.left,t,s,r,i)+" IS NOT NULL )";case"IN":return l=[],"expression-list"===e.right.type?(l=g(e.right,t,s,r,i)," ("+g(e.left,t,s,r,i)+" IN ("+l.join(",")+")) "):(u=g(e.right,t,s,r,i),Array.isArray(u)?" ("+g(e.left,t,s,r,i)+" IN ("+u.join(",")+")) ":" ("+g(e.left,t,s,r,i)+" IN ("+u+")) ");case"NOT IN":return l=[],"expression-list"===e.right.type?(l=g(e.right,t,s,r,i)," ("+g(e.left,t,s,r,i)+" NOT IN ("+l.join(",")+")) "):(u=g(e.right,t,s,r,i),Array.isArray(u)?" ("+g(e.left,t,s,r,i)+" NOT IN ("+u.join(",")+")) ":" ("+g(e.left,t,s,r,i)+" NOT IN ("+u+")) ");case"BETWEEN":return c=g(e.right,t,s,r,i)," ("+g(e.left,t,s,r,i)+" BETWEEN "+c[0]+" AND "+c[1]+" ) ";case"NOTBETWEEN":return c=g(e.right,t,s,r,i)," ("+g(e.left,t,s,r,i)+" NOT BETWEEN "+c[0]+" AND "+c[1]+" ) ";case"LIKE":return""!==e.escape?" ("+g(e.left,t,s,r,i)+" LIKE "+g(e.right,t,s,r,i)+" ESCAPE '"+e.escape+"') ":" ("+g(e.left,t,s,r,i)+" LIKE "+g(e.right,t,s,r,i)+") ";case"NOT LIKE":return""!==e.escape?" ("+g(e.left,t,s,r,i)+" NOT LIKE "+g(e.right,t,s,r,i)+" ESCAPE '"+e.escape+"') ":" ("+g(e.left,t,s,r,i)+" NOT LIKE "+g(e.right,t,s,r,i)+") ";case"<>":case"<":case">":case">=":case"<=":case"=":case"*":case"-":case"+":case"/":return" ("+g(e.left,t,s,r,i)+" "+e.operator+" "+g(e.right,t,s,r,i)+") ";case"||":return" ("+g(e.left,t,s,r,i)+" "+(2===t?"+":e.operator)+" "+g(e.right,t,s,r,i)+") "}throw new a.L("UnsupportedOperator",{operator:e.operator});case"null":return"null";case"boolean":return!0===e.value?"1":"0";case"string":return"'"+e.value.toString().replaceAll("'","''")+"'";case"timestamp":return`timestamp '${e.value}'`;case"date":return`date '${e.value}'`;case"time":return`time '${e.value}'`;case"number":return e.value.toString();case"current-time":return T(e.mode,t);case"current-user":return"CURRENT_USER";case"column-reference":return r&&r.toLowerCase()===e.column.toLowerCase()?"("+i+")":f(e);case"data-type":return e.value;case"function":{const n=g(e.args,t,s,r,i);return p(e.name,n,t)}}throw new a.L("UnsupportedSyntax",{node:e.type})}function p(e,t,s){switch(e.toLowerCase().trim()){case"cos":case"sin":case"tan":case"cosh":case"tanh":case"sinh":case"acos":case"asin":case"atan":case"floor":case"log10":case"log":case"abs":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:e.toLowerCase().trim()});return`${e.toUpperCase().trim()}(${t[0]})`;case"ceiling":case"ceil":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"ceiling"});return"CEILING("+t[0]+")";case"mod":case"power":case"nullif":if(2!==t.length)throw new a.L("InvalidFunctionParameters",{function:e.toLowerCase().trim()});return`${e.toUpperCase().trim()}(${t[0]},${t[1]})`;case"round":if(2===t.length)return"ROUND("+t[0]+","+t[1]+")";if(1===t.length)return"ROUND("+t[0]+")";throw new a.L("InvalidFunctionParameters",{function:"round"});case"truncate":if(t.length<1||t.length>2)throw new a.L("InvalidFunctionParameters",{function:"truncate"});return 2===s?"ROUND("+t[0]+(1===t.length?"0":","+t[1])+",1)":"TRUNCATE("+t[0]+(1===t.length?")":","+t[1]+")");case"char_length":case"len":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"char_length"});switch(s){case 2:return"LEN("+t[0]+")";case 3:return"LENGTH("+t[0]+")";default:return"CHAR_LENGTH("+t[0]+")"}case"coalesce":case"concat":{if(t.length<1)throw new a.L("InvalidFunctionParameters",{function:e.toLowerCase()});let s=e.toUpperCase().trim()+"(";for(let e=0;e<t.length;e++)0!==e&&(s+=","),s+=t[e];return s+=")",s}case"lower":case"lcase":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"lower"});return"LOWER("+t[0]+")";case"upper":case"ucase":if(1!==t.length)throw new a.L("InvalidFunctionParameters",{function:"upper"});return"UPPER("+t[0]+")";case"substring":{let e="";switch(s){case 3:return e="SUBSTR("+t[0]+","+t[1],3===t.length&&(e+=","+t[2]),e+=")",e;case 2:return e=3===t.length?"SUBSTRING("+t[0]+","+t[1]+","+t[2]+")":"SUBSTRING("+t[0]+", "+t[1]+", LEN("+t[0]+") - "+t[1]+")",e;default:return e="SUBSTRING("+t[0]+" FROM "+t[1],3===t.length&&(e+=" FOR "+t[2]),e+=")",e}}case"extract":return"EXTRACT("+t[0].replaceAll("'","")+" FROM "+t[1]+")";case"cast":{let e="";switch(s){case 3:switch(t[1].type){case"date":e="DATE";break;case"float":e="DOUBLE";break;case"integer":e="INTEGER";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;case 4:switch(t[1].type){case"date":e="DATE";break;case"float":e="DOUBLE PRECISION";break;case"integer":e="INT";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;case 2:switch(t[1].type){case"date":e="DATE";break;case"float":e="FLOAT";break;case"integer":e="INT";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="DATETIME";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;default:switch(t[1].type){case"date":e="DATE";break;case"float":e="FLOAT";break;case"integer":e="INTEGER";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`}}}throw new a.L("InvalidFunctionParameters",{function:e})}function m(e,t){const s=e.toDateTime(),r=0===s.hour&&0===s.minute&&0===s.second&&0===s.millisecond;switch(t){case 6:case 0:case 1:return r?`date '${s.toFormat("yyyy-LL-dd")}'`:`timestamp '${s.toFormat("yyyy-LL-dd HH:mm:ss")}'`;case 3:return r?`TO_DATE('${s.toFormat("yyyy-LL-dd")}','YYYY-MM-DD')`:`TO_DATE('${s.toFormat("yyyy-LL-dd HH:mm:ss")}','YYYY-MM-DD HH24:MI:SS')`;case 2:return`'${s.toFormat(r?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;case 5:return`#${s.toFormat(r?"LL-dd-yyyy":"LL-dd-yyyy HH:mm:ss")}#`;case 4:return`TIMESTAMP '${s.toFormat(r?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;default:return`timestamp '${s.toFormat("yyyy-LL-dd HH:mm:ss")}'`}}function y(e,t){switch(t){case 6:case 0:case 1:default:return e.toSQLWithKeyword();case 3:return`TO_DATE('${e.toFormat("Y-MM-DD")}'`;case 2:return`'${e.toFormat("Y-MM-DD")}'`;case 5:return`#${e.toFormat("Y-MM-DD")}#`;case 4:return`TIMESTAMP '${e.toFormat("Y-MM-DD")}'`}}function _(e,t){switch(e instanceof i.k&&(e=e.toStorageString()),t){case 3:return`TO_DATE('${e}', 'HH24:MI:SS')`;case 2:return`'${e}'`;default:return`time '${e}'`}}function b(e,t){return m(r.lY.dateTimeToArcadeDate((0,n.Lk)(e)?e:o.c9.fromJSDate(e)),t)}function T(e,t){switch(t){case 6:case 0:case 1:case 3:case 5:default:return"date"===e?"CURRENT_DATE":"time"===e?"CURRENT_TIME":"CURRENT_TIMESTAMP";case 2:return"date"===e?"CAST(GETDATE() AS DATE)":"time"===e?"CAST(GETDATE() AS TIME)":"GETDATE()";case 4:return"date"===e?"CURRENT_DATE":"time"===e?"LOCALTIME":"CURRENT_TIMESTAMP"}}function v(e,t,s={}){const r={},n={},a={esriFieldTypeSmallInteger:"integer",esriFieldTypeInteger:"integer",esriFieldTypeBigInteger:"integer",esriFieldTypeSingle:"double",esriFieldTypeDouble:"double",esriFieldTypeString:"string",esriFieldTypeTimeOnly:"time-only",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimestampOffset:"timestamp-offset",esriFieldTypeDate:"date",esriFieldTypeOID:"integer",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"guid",oid:"integer",long:"integer","small-integer":"integer",integer:"integer","big-integer":"integer",single:"double","time-only":"time-only","date-only":"date-only","timestamp-offset":"timestemp-offset",double:"double",date:"date",guid:"guid","global-id":"guid",string:"string"};for(const e of t){const t=e.type?a[e.type]:void 0;r[e.name.toLowerCase()]=void 0===t?"":t}for(const e in s){const t=a[s[e]];n[e.toLowerCase()]=void 0===t?"":t}switch(w(r,e.parseTree,e.parameters,n)){case"double":return"double";case"integer":return"integer";case"date":return"date";case"date-only":return"date-only";case"time-only":return"time-only";case"timestamp-offset":return"timestamp-offset";case"string":return"string";case"global-id":case"guid":return"guid"}return""}function w(e,t,s,r){let i;switch(t.type){case"interval":return"integer";case"case-expression":{const n=[];if("simple"===t.format){for(let a=0;a<t.clauses.length;a++)n.push(w(e,t.clauses[a].value,s,r));null!==t.else&&n.push(w(e,t.else,s,r))}else{for(let a=0;a<t.clauses.length;a++)n.push(w(e,t.clauses[a].value,s,r));null!==t.else&&n.push(w(e,t.else,s,r))}return I(n)}case"parameter":{const e=r[t.value.toLowerCase()];if(void 0===e&&s){const e=s[t.value.toLowerCase()];if(void 0===e)return"";if(null===e)return"";if("string"==typeof e||e instanceof String)return"string";if("boolean"==typeof e)return"boolean";if((0,n.$P)(e))return"date";if((0,n.rX)(e))return"date";if((0,n.f0)(e))return"date-only";if((0,n.eg)(e))return"time-only";if("number"==typeof e)return e%1==0?"integer":"double"}return void 0===e?"":e}case"expression-list":{const n=[];for(const a of t.value)n.push(w(e,a,s,r));return n}case"unary-expression":return"boolean";case"binary-expression":switch(t.operator){case"AND":case"OR":case"IN":case"NOT IN":case"BETWEEN":case"NOTBETWEEN":case"LIKE":case"NOT LIKE":case"<>":case"<":case">":case">=":case"<=":case"=":return"boolean";case"IS":case"ISNOT":if("null"!==t.right.type)throw new a.L("UnsupportedIsRhs");return"boolean";case"*":case"-":case"+":case"/":return I([w(e,t.left,s,r),w(e,t.right,s,r)]);case"||":return"string";default:throw new a.L("UnsupportedOperator",{operator:t.operator})}case"null":return"";case"boolean":return"boolean";case"string":return"string";case"number":return null===t.value?"":t.value%1==0?"integer":"double";case"date":return"date";case"timestamp":return t.withtimezone?"timestamp-offset":"date";case"time":return"time-only";case"current-time":return"time"===t.mode?"time-only":"date";case"current-user":return"string";case"column-reference":{const s=e[t.column.toLowerCase()];return void 0===s?"":s}case"function":switch(t.name.toLowerCase()){case"cast":switch(t.args?.value[1]?.value.type??""){case"integer":case"smallint":return"integer";case"real":case"float":return"double";case"date":case"timestamp":return!0===t.args?.value[1]?.value?.withtimezone?"timestamp-offset":"date";case"time":return"time-only";case"varchar":return"string";default:return""}case"position":case"extract":case"char_length":case"mod":return"integer";case"round":if(i=w(e,t.args,s,r),Array.isArray(i)){if(i.length<=0)return"double";i=i[0]}return i;case"sign":return"integer";case"ceiling":case"floor":case"abs":return i=w(e,t.args,s,r),Array.isArray(i)&&(i=I(i)),"integer"===i||"double"===i?i:"double";case"area":case"length":case"log":case"log10":case"sin":case"cos":case"tan":case"asin":case"acos":case"atan":case"cosh":case"sinh":case"tanh":case"power":return"double";case"substring":case"trim":case"concat":case"lower":case"upper":return"string";case"truncate":return"double";case"nullif":case"coalesce":return i=w(e,t.args,s,r),Array.isArray(i)?i.length>0?i[0]:"":i}return""}throw new a.L("UnsupportedSyntax",{node:t.type})}const A={boolean:1,string:2,integer:3,double:4,date:5};function I(e){if(e){let t="";for(const s of e)""!==s&&(t=""===t||A[t]<A[s]?s:t);return t}return""}function C(e,t){return E(e.parseTree,t)}function S(e){return"column-reference"===e?.parseTree.type}function E(e,t){if(null==e)return!1;switch(e.type){case"when-clause":return E(e.operand,t)||E(e.value,t);case"case-expression":for(const s of e.clauses)if(E(s,t))return!0;return!("simple"!==e.format||!E(e.operand,t))||!(null===e.else||!E(e.else,t));case"parameter":case"null":case"boolean":case"date":case"timestamp":case"time":case"string":case"number":return!1;case"expression-list":for(const s of e.value)if(E(s,t))return!0;return!1;case"unary-expression":return E(e.expr,t);case"binary-expression":return E(e.left,t)||E(e.right,t);case"column-reference":return t.toLowerCase()===e.column.toLowerCase();case"function":return E(e.args,t)}return!1}function L(e){let t="";return t+=e.period.toUpperCase(),t}function F(e,t,s){let r="";return r="interval-period"===t.type?L(t):L(t.start)+" TO "+L(t.end),"INTERVAL "+s+" "+e+" "+r}},50145(e,t,s){s.d(t,{Dp:()=>u,GV:()=>g,T9:()=>d,b$:()=>p,cz:()=>m,dM:()=>_,i2:()=>f,jk:()=>h});var r=s(87449),n=(s(33325),s(80609)),a=s(44729),i=s(55612),l=s(15032);function o(e){let t=0;for(let s=0;s<e.length;s++)t+=e[s];return t/e.length}function c(e){const t=o(e);let s=0;for(let r=0;r<e.length;r++)s+=(t-e[r])**2;return s/(e.length-1)}function u(e){switch(e.toLowerCase()){case"distinct":return"distinct";case"avg":case"mean":return"avg";case"min":return"min";case"sum":return"sum";case"max":return"max";case"stdev":case"stddev":return"stddev";case"var":case"variance":return"var";case"count":return"count"}return null}async function h(e,t,s){const r=await y(e,t,s);return 0===r.length?null:Math.min.apply(Math,r)}async function d(e,t,s){const r=await y(e,t,s);return 0===r.length?null:Math.max.apply(Math,r)}async function f(e,t,s){let r="";t&&!(0,n.DA)(t)&&(r=(0,n.IY)(t,e.fields));const a=await y(e,t,s);if(0===a.length)return null;const i=o(a);return null===i?i:"integer"===r?function(e){return e=+e,isFinite(e)?e-e%1||(e<0?-0:0===e?e:0):e}(i):i}async function g(e,t,s){const r=await y(e,t,s);return 0===r.length?null:c(r)}async function p(e,t,s){const r=await y(e,t,s);return 0===r.length?null:Math.sqrt(c(r))}async function m(e,t,s){const r=await y(e,t,s);return 0===r.length?null:function(e){let t=0;for(let s=0;s<e.length;s++)t+=e[s];return t}(r)}async function y(e,t,s){const n=await e.queryAll(s),o=[],c={ticker:0};for await(const e of n){if(c.ticker+=e.length,c.ticker>=100&&(c.ticker=0,await new Promise(e=>{setTimeout(e,0)})),s?.aborted)throw new r.dr("Cancelled");for(const s of e){const e=t?.calculateValue(s);null===e||(o[o.length]=e instanceof a.n||e instanceof l.k?e.toNumber():e instanceof i.g?e.toMilliseconds():e)}}return o}async function _(e,t,s=1e3,n=null){if(null==t)return[];const o=await e.queryAll(n),c=[],u=new Set,h={ticker:0};for await(const e of o){if(h.ticker+=e.length,h.ticker>=100&&(h.ticker=0,await new Promise(e=>{setTimeout(e,0)})),n?.aborted)throw new r.dr("Cancelled");for(const r of e){const e=t.calculateValue(r);let n=e;if(e instanceof a.n?n="!!DATEONLY!!-"+e.toString():e instanceof i.g?n="!!TSOFFSETONLY!!-"+e.toString():e instanceof l.k?n="!!TIMEONLY!!-"+e.toString():e instanceof Date&&(n="!!DATE!!-"+e.toString()),null!=e&&(u.has(n)||(c.push(e),u.add(n))),c.length>=s&&-1!==s)return c}}return c}},71163(e,t,s){s.d(t,{C:()=>o});var r=s(29953);let n,a,i=!1;function l(){return n??=(0,r.ho)("arcadeGeometryOperatorsWorker").then(e=>{a=e,i=!0,n=void 0})}async function o(e,t){return i?a.apply("invokeGeometryOp",[e,t]):(await l(),o(e,t))}},69540(e,t,s){var r=s(5482),n=s(69622),a=(s(44208),s(4718)),i=(s(53966),s(97768)),l=s(88620),o=s(64108);const c=Symbol("ClonableMixin"),u=e=>{var t;const s=e;let n=class extends s{constructor(){super(...arguments),this[t]=!0}static{t=c}clone(e){const t=(0,l.oY)(this);(0,i.Lw)(t,"unable to clone instance of non-accessor class");const s=t.metadata,r=t.store,n={},o=new Map;for(const t in s){const i=s[t],l=r?.originOf(t),c=i.clonable;if(i.readOnly||!1===c||7!==l&&0!==l&&5!==l&&4!==l)continue;const u=this[t];let h=null;if("function"==typeof c)h=c(u,e);else if("reference"===c)h=u;else if(h=(0,a.TU)(u,e),null!=u&&null==h)continue;0===l?o.set(t,h):n[t]=h}const c=new(0,Object.getPrototypeOf(this).constructor)(n);if(o.size){const e=(0,l.oY)(c)?.store;if(e)for(const[t,s]of o)e.set(t,s,0)}return c}};return n=(0,r.Cg)([(0,o.$)("esri.core.Clonable")],n),n},h=u(n.A);s.d(t,["OU",0,u,"Pw",0,h])},7762(e,t,s){var r,n=s(5482),a=s(98291),i=s(4576),l=s(65529),o=s(36563),c=s(4718),u=s(53966),h=s(93687),d=s(76030),f=s(56507),g=s(62788),p=s(10107),m=s(7695),y=s(64108),_=s(95488),b=s(12195);class T{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class v{constructor(e,t,s,r,n){this.target=e,this.added=t,this.removed=s,this.start=r,this.deleteCount=n}}const w=new h.A(()=>new T,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function A(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function I(e){return e?e instanceof D?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function C(e){if(e?.length)return e[0]}function S(e,t,s,r){const n=Math.min(e.length-s,t.length-r);let a=0;for(;a<n&&e[s+a]===t[r+a];)a++;return a}function E(e,t,s,r){t&&t.forEach((t,n,a)=>{e.push(t),E(e,s.call(r,t,n,a),s,r)})}const L=new Set,F=new Set,N=new Set,R=new Map;let x=0,D=r=class extends l.nJ{static ofType(e){if(!e)return r;if(R.has(e))return R.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const s in e.typeMap){const r=e.typeMap[s].prototype.declaredClass;t?t+=` | ${r}`:t=r}let s=class extends r{};return(0,n.Cg)([(0,m.u)({Type:e,ensureType:"function"==typeof e?(0,f.dp)(e):(0,f.aq)(e)})],s.prototype,"itemType",void 0),s=(0,n.Cg)([(0,y.$)(`esri.core.Collection<${t}>`)],s),R.set(e,s),s}static isCollection(e){return null!=e&&e instanceof r}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new _.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:x++})}normalizeCtorArgs(e){return e?(0,i.yc)(e)||e instanceof r?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?u.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,g.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,I(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,o.hA)();if("change"===e){const e=this._chgListeners,s={removed:!1,callback:t};return e.push(s),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,o.hA)(()=>{s.removed=!0,e.splice(e.indexOf(s),1)})}return super.on(e,t)}once(e,t){const s="deref"in t?()=>t.deref():()=>t,r=this.on(e,e=>{s()?.call(null,e),r.remove()});return r}add(e,t){if((0,g.gc)(this._observable),this._emitBeforeChanges(1))return this;const s=this.getNextIndex(t??null);return this._splice(s,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,g.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const s=this.getNextIndex(t);return this._splice(s,0,I(e)),this._emitAfterChanges(1),this}at(e){if((0,g.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,g.gc)(this._observable),this._createNewInstance({items:this._items.map(c.o8)})}concat(...e){(0,g.gc)(this._observable);const t=e.map(I);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const s=this._splice(0,this.length),r=s.length;for(let n=0;n<r;n++)e.call(t,s[n],n,s);this._emitAfterChanges(2)}destroyAll(){this.drain(A)}destroyMany(e){const t=this.removeMany(e);return t.forEach(A),t}every(e,t){return(0,g.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,g.gc)(this._observable);const s=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:s})}find(e,t){return(0,g.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,g.gc)(this._observable),this._items.findIndex(e,t)}findLast(e,t){return(0,g.gc)(this._observable),this._items.findLast(e,t)}findLastIndex(e,t){return(0,g.gc)(this._observable),this._items.findLastIndex(e,t)}flatten(e,t){(0,g.gc)(this._observable);const s=[];return E(s,this,e,t),new r(s)}forEach(e,t){return(0,g.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,g.gc)(this._observable),this._items[e]}getNextIndex(e){(0,g.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,g.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,g.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,g.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,g.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,g.gc)(this._observable);const s=this._items.map(e,t);return new r({items:s})}reorder(e,t=this.length-1){(0,g.gc)(this._observable);const s=this.indexOf(e);if(-1!==s){if(t<0?t=0:t>=this.length&&(t=this.length-1),s!==t){if(this._emitBeforeChanges(4))return e;this._splice(s,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=C(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,g.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,g.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduce(e,t):s.reduce(e)}reduceRight(e,t){(0,g.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduceRight(e,t):s.reduceRight(e)}remove(e){return(0,g.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,g.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=C(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,g.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof r?e.toArray():e,s=this._items,n=[],a=t.length;for(let e=0;e<a;e++){const r=t[e],a=s.indexOf(r);if(a>-1){const r=1+S(t,s,e+1,a+1),i=this._splice(a,r);i&&i.length>0&&n.push.apply(n,i),e+=r-1}}return this._emitAfterChanges(2),n}reverse(){if((0,g.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=C(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,g.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,g.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,g.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let s=0;s<t;s++)if(e(this.items[s],this.items[s+1])>0)return!0;return!1}splice(e,t,...s){(0,g.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const r=(t?2:0)|(s.length?1:0);if(this._emitBeforeChanges(r))return[];const n=this._splice(e,t,s)||[];return this._emitAfterChanges(r),n}toArray(){return(0,g.gc)(this._observable),this._items.slice()}toJSON(e){return(0,g.gc)(this._observable),this.toArray().map(t=>(0,b.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,g.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,g.gc)(this._observable),this._items.toString()}unshift(...e){return(0,g.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,s){const r=this._items,n=this.itemType;let a,i;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,d._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(i=r.splice(e,t),this.hasEventListener("before-remove")){const t=w.acquire();t.target=this,t.cancellable=!0;for(let s=0,n=i.length;s<n;s++)a=i[s],t.reset(a),this.emit("before-remove",t),t.defaultPrevented&&(i.splice(s,1),r.splice(e,0,a),e+=1,s-=1,n-=1);w.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const e=w.acquire();e.target=this,e.cancellable=!1;const t=i.length;for(let s=0;s<t;s++)e.reset(i[s]),this.emit("after-remove",e);w.release(e)}}if(s?.length){if(n){const e=[];for(const t of s){const s=n.ensureType(t);null==s&&null!=t||e.push(s)}s=e}const t=this.hasEventListener("before-add"),a=this.hasEventListener("after-add"),i=e===this.length;if(t||a){const n=w.acquire();n.target=this,n.cancellable=!0;const l=w.acquire();l.target=this,l.cancellable=!1;for(const o of s)t?(n.reset(o),this.emit("before-add",n),n.defaultPrevented||(i?r.push(o):r.splice(e++,0,o),this._length=r.length,a&&(l.reset(o),this.emit("after-add",l)))):(i?r.push(o):r.splice(e++,0,o),this._length=r.length,l.reset(o),this.emit("after-add",l));w.release(l),w.release(n)}else{if(i)for(const e of s)r.push(e);else r.splice(e,0,...s);this._length=r.length}}if((s?.length||i?.length)&&this._notifyChangeEvent(s,i),this.hasEventListener("after-splice")){const r=new v(this,s,i,e,t);this.emit("after-splice",r)}return i}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const s=w.acquire();s.target=this,s.cancellable=!0,s.type=e,this.emit("before-changes",s),t=s.defaultPrevented,w.release(s)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=w.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),w.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;L.clear(),F.clear(),N.clear();for(const{added:t,removed:s}of e){if(t)if(0===N.size&&0===F.size)for(const e of t)L.add(e);else for(const e of t)F.has(e)?(N.add(e),F.delete(e)):N.has(e)||L.add(e);if(s)if(0===N.size&&0===L.size)for(const e of s)F.add(e);else for(const e of s)L.has(e)?L.delete(e):(N.delete(e),F.add(e))}const s=a.A.acquire();L.forEach(e=>{s.push(e)});const r=a.A.acquire();F.forEach(e=>{r.push(e)});const n=this._items,i=t.items,l=a.A.acquire();if(N.forEach(e=>{i.indexOf(e)!==n.indexOf(e)&&l.push(e)}),t.listeners&&(s.length||r.length||l.length)){const e={target:this,added:s,removed:r,moved:l},n=t.listeners.length;for(let s=0;s<n;s++){const r=t.listeners[s];r.removed||r.callback.call(this,e)}}a.A.release(s),a.A.release(r),a.A.release(l)}L.clear(),F.clear(),N.clear()}};(0,n.Cg)([(0,p.MZ)()],D.prototype,"_updating",void 0),(0,n.Cg)([(0,p.MZ)()],D.prototype,"_length",void 0),(0,n.Cg)([(0,p.MZ)()],D.prototype,"length",null),(0,n.Cg)([(0,p.MZ)()],D.prototype,"items",null),(0,n.Cg)([(0,p.MZ)({readOnly:!0})],D.prototype,"updating",null),D=r=(0,n.Cg)([(0,y.$)("esri.core.Collection")],D);const M=D;s.d(t,["A",0,M])},4902(e,t,s){var r=s(5482),n=s(64108);let a=0;const i=e=>{const t=e;let s=class extends t{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+a++})}};return s=(0,r.Cg)([(0,n.$)("esri.core.Identifiable")],s),s};i(class{}),s.d(t,["s",0,i])},7695(e,t,s){function r(e){return(t,s)=>{t[s]=e}}s.d(t,{u:()=>r})},36708(e,t,s){s.d(t,{C_:()=>d,on:()=>h,wB:()=>o,z7:()=>c});var r=s(37955),n=s(36563),a=s(97768),i=s(17676),l=s(14012);function o(e,t,s={}){return u(e,t,s,f)}function c(e,t,s={}){return u(e,t,s,g)}function u(e,t,s={},r){let n=null;const i=s.once?(e,s)=>{r(e)&&((0,a.xt)(n),t(e,s))}:(e,s)=>{r(e)&&t(e,s)};if(n=(0,l.Cn)(e,i,s.sync,s.equals),s.initial){const t=e();i(t,t)}return n}function h(e,t,s,i={}){let l=null,c=null,u=null;function h(){l&&c&&(c.remove(),i.onListenerRemove?.(l),l=null,c=null)}function d(e){i.once&&i.once&&(0,a.xt)(u),s(e)}const f=o(e,(e,s)=>{h(),(0,r.wb)(e)&&(l=e,c=(0,r.on)(e,t,d),i.onListenerAdd?.(e))},{sync:i.sync,initial:!0});return u=(0,n.hA)(()=>{f.remove(),h()}),u}function d(e,t){return function(e,t,s){if((0,i.G4)(s))return Promise.reject((0,i.NK)());const r=e();if(t?.(r))return Promise.resolve(r);let l=null;function o(){l=(0,a.xt)(l)}return new Promise((r,a)=>{l=(0,n.vE)([(0,i.u7)(s,()=>{o(),a((0,i.NK)())}),u(e,e=>{o(),r(e)},{sync:!1,once:!0},t??f)])})}(e,g,t)}function f(e){return!0}function g(e){return!!e}s(80559),s.d(t,["OH",0,{sync:!0},"Vh",0,{initial:!0},"pc",0,{sync:!0,initial:!0}])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2374,8125],{85549(t,e,s){s.d(e,{executeOffsetJson:()=>m,r:()=>a});var i=s(40547),n=s(66070),r=s(78125),o=s(83299);const h={round:0,bevel:1,miter:2,square:3};function a(t,e,s,n,o,h){e=(0,i.convertToSpatialReferenceUnit)((0,i.toLengthUnit)(s),t.spatialReference,e);const a=(0,r.fromGeometry)(t),m=(0,r.getSpatialReference)(t),u=c(a,(0,r.fromSpatialReference)(m),e,n,o,h);return(0,r.toGeometry)(u,m)}function m(t,e,s,n,r,h){e=(0,i.convertToSpatialReferenceUnit)((0,i.toLengthUnit)(s),t.spatialReference,e);const a=(0,o.fromGeometry)(t),m=a.getGeometry(),u=a.getSpatialReference(),f=c(m,u,e,n,r,h);return(0,o.toGeometry)(f,u)}function c(t,e,s,i,r,o){const a=(0,n.g7)(t,e,s,h[i],r,o);if(!a.isEmpty())return a;{const a=t.clone();a.reverseAllPaths();const m=(0,n.g7)(a,e,-s,h[i],r,o);if(!m.isEmpty())return m.reverseAllPaths(),m}const m=Math.abs(s)/10,c=m/10;let u=o;if("round"===i&&(u+=c),"bevel"===i||"square"===i){const a=(0,n.g7)(t,e,s,h[i="miter"],r,o);if(!a.isEmpty())return a}if("miter"===i){const a=(0,n.g7)(t,e,s,h[i="round"],r,o);if(!a.isEmpty())return a}if("round"===i)for(;u<=m;u+=c){const o=(0,n.g7)(t,e,s,h[i],r,u);if(!o.isEmpty())return o}return null}},68375(t,e,s){s.d(e,{O:()=>a});var i=s(61691),n=s(55537),r=s(15756),o=s(79187),h=s(86870);class a{getOperatorType(){return 10111}supportsCurves(){return!0}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,s,i,n,o,h,a,c,u,f){if(c){const c=new m(t,e,s,i,n,o,h,a,f);return(new r.t).executeMany(c,e,f,2)}return new m(t,e,s,i,n,o,h,a,f)}}class m extends i.G{m_inputGeoms;m_spatialReference;m_progressTracker;m_bufferer;m_distances;m_maxDeviation;m_miterLimit;m_maxVerticesInFullCircle;m_joins;m_caps;m_currentUnionEnvelope2D=new o.Envelope2D;m_index=-1;m_dindex=-1;constructor(t,e,s,i,n,r,o,a,m){super(),this.m_progressTracker=m,this.m_bufferer=new h.B(m),this.m_inputGeoms=t,this.m_spatialReference=e,this.m_distances=s,this.m_maxDeviation=o,this.m_maxVerticesInFullCircle=a,this.m_joins=i,this.m_caps=n,this.m_miterLimit=r}tock(){return!0}getRank(){return 1}next(){{let t;for(;t=this.m_inputGeoms.next();)return(0,n.c)(t),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(t,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(t,e){return this.m_bufferer.buffer(t,e,this.m_spatialReference,this.m_joins,this.m_caps,this.m_miterLimit,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}},69397(t,e,s){s.d(e,{Qf:()=>h,Qh:()=>r,lM:()=>n});var i=s(34275);function n(t){if(!t)return 0;let e=m;for(const s in t)t.hasOwnProperty(s)&&(e+=o(t[s],!1));return e}function r(t){if(!t)return 0;if("number"==typeof t[0])return h(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return a(t,8);let s=c;for(let i=0;i<e;i++)s+=o(t[i]);return s}(t);let e=m;for(const s in t)t.hasOwnProperty(s)&&(e+=o(t[s]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?r(t):m;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function h(...t){return t.reduce((t,e)=>t+(e?(0,i.iu)(e)?e.byteLength+u:Array.isArray(e)?a(e,16):0:0),0)}function a(t,e){return c+t.length*e}const m=32,c=16,u=145},66070(t,e,s){s.d(e,{g7:()=>x,zo:()=>g});var i=s(76061),n=s(61691),r=s(95213),o=s(55537),h=s(88885),a=s(83661),m=s(86870),c=s(68375);const u=1.4142135623730951,f=.017453292519943295,l=256,_=1024;class d{x;y;m_next;m_prev;z;m;type;static construct(t,e,s){const i=new d;return i.x=t.x,i.y=t.y,i.m_next=-1,i.m_prev=-1,i.z=e,i.m=s,i.type=0,i}clone(){const t=new d;return t.x=this.x,t.y=this.y,t.m_next=this.m_next,t.m_prev=this.m_prev,t.z=this.z,t.m=this.m,t.type=this.type,t}asPoint2D(){return new a.P(this.x,this.y)}}class P{m_progressTracker;m_inputGeometry;m_distance=-1;m_tolerance=-1;m_miterLimit=10;m_joins=0;m_progressCounter=0;m_options=0;m_bUseZ=!1;m_bUseM=!1;m_srcPts=[];m_srcPtCount=0;m_offsetPts=[];m_offsetPtCount=0;m_resultPath;m_a1=0;m_a2=0;constructor(t){this.m_progressTracker=t}constructOffset(){const t=this.m_inputGeometry.getGeometryType();if(t===o.G.enumLine)return this.offsetLine();if(t===o.G.enumEnvelope)return this.offsetEnvelope();if((0,o.m)(t)){const t=new h.a;return t.addSegment(this.m_inputGeometry,!0),this.m_inputGeometry=t,this.constructOffset()}if(t===o.G.enumPolyline){const t=new h.a;return this.offsetMultiPath(t),t}if(t===o.G.enumPolygon){if(1===this.m_options){let t;switch(this.m_joins){case 1:case 3:t=2;break;case 2:t=1;break;case 0:t=0;break;default:(0,o.g)(!1,"Invalid join type")}const e=1,s=[-1];return(new c.O).executeMany(new i.S([this.m_inputGeometry]),null,s,t,e,this.m_miterLimit,this.m_tolerance,360,!1,0,null).next()}const t=new h.P;return this.offsetMultiPath(t),t}(0,o.t)("")}offsetLine(){const t=this.m_inputGeometry,e=t.getStartXY(),s=t.getEndXY(),i=new a.P;i.setSub(s,e),i.normalize(),i.leftPerpendicularThis(),i.scale(this.m_distance),e.addThis(i),s.addThis(i);const n=t.clone();return n.setStartXY(e),n.setEndXY(s),n}offsetEnvelope(){const t=this.m_inputGeometry;if(this.m_distance>0&&2!==this.m_joins){const e=new h.P;return e.addEnvelope(t,!1),this.m_inputGeometry=e,this.constructOffset()}const e=t.clone();return e.inflateCoords(this.m_distance,this.m_distance),e}progress(){}static buildPoint(t,e,s,i){i.x=t.x+e*Math.cos(s),i.y=t.y+e*Math.sin(s),i.type=t.type,i.z=t.z,i.m=t.m,i.m_next=-1,i.m_prev=-1}addPoint(t){this.m_offsetPts.push(t.clone()),this.m_offsetPtCount++}addPointEx(t,e){if(0===this.m_offsetPtCount)return void this.addPoint(t);const s=this.m_srcPtCount,i=this.m_srcPts[0===e?s-1:e-1],n=this.m_srcPts[e],r=P.dotSign(i,n,this.m_offsetPts[this.m_offsetPtCount-1],t);if(r>0)this.addPoint(t);else if(r<0)if(P.dotSign(i,n,n,this.m_offsetPts[this.m_offsetPtCount-1])>0){const n=new d;let r;r=0===e?s-2:1===e?s-1:e-2;const o=this.m_srcPts[r],h=Math.atan2(i.y-o.y,i.x-o.x);if(P.buildPoint(i,this.m_distance,h-a.l,n),this.m_offsetPts[this.m_offsetPtCount-1]=n.clone(),1===this.m_joins||2===this.m_joins){n.x=.5*(n.x+i.x),n.y=.5*(n.y+i.y),this.addPoint(n),P.buildPoint(i,this.m_distance,this.m_a1+a.l,n);const t=n.clone();t.x=.5*(t.x+i.x),t.y=.5*(t.y+i.y),t.type|=l,this.addPoint(t),this.addPoint(n)}else P.buildPoint(i,this.m_distance,this.m_a1+a.l,n),n.type|=l,this.addPoint(n);this.addPointEx(t,e)}else{const t=new d;if(P.buildPoint(n,this.m_distance,this.m_a1+a.l,t),this.addPoint(t),1===this.m_joins||2===this.m_joins){t.x=.5*(t.x+n.x),t.y=.5*(t.y+n.y),this.addPoint(t),P.buildPoint(n,this.m_distance,this.m_a2-a.l,t);const e=t.clone();e.x=.5*(e.x+n.x),e.y=.5*(e.y+n.y),e.type|=l,this.addPoint(e),this.addPoint(t)}else P.buildPoint(n,this.m_distance,this.m_a2-a.l,t),t.type|=l,this.addPoint(t)}}buildOffset(){const t=new d,e=this.m_srcPtCount;this.m_offsetPtCount=0;const s=.5*this.m_tolerance;let i=0,n=0;for(let r=0;r<e;r++){const o=this.m_srcPts[r],h=0===r?this.m_srcPts[e-1]:this.m_srcPts[r-1],m=r===e-1?this.m_srcPts[0]:this.m_srcPts[r+1];let c,d,y=0;{const t=h.x-o.x,e=h.y-o.y,s=m.x-o.x,u=m.y-o.y;c=Math.atan2(e,t),d=Math.atan2(u,s),this.m_a1=c,this.m_a2=d,0===r&&(i=c,n=d),y=a.P.orientationRobust(o.asPoint2D(),h.asPoint2D(),m.asPoint2D())}const p=d;d<c&&(d+=a.n);const x=Math.abs(Math.abs(c-d)-Math.PI)<1e-8;if(x||y*this.m_distance>0)if(x||1!==this.m_joins&&2!==this.m_joins){const e=.5*(d-c),s=0===e?this.m_distance:this.m_distance/Math.abs(Math.sin(e));P.buildPoint(o,s,.5*(c+d),t),this.addPointEx(t,r)}else{P.buildPoint(o,this.m_distance,c+a.l,t),this.addPoint(t);const e=.001;t.x=o.x+(t.x-o.x)*e,t.y=o.y+(t.y-o.y)*e,this.addPoint(t),P.buildPoint(o,this.m_distance,d-a.l,t);const s=t.clone();s.x=o.x+(s.x-o.x)*e,s.y=o.y+(s.y-o.y)*e,s.type|=l,this.addPoint(s),this.addPoint(t)}else{if(512&o.type){const e=1-s/Math.abs(this.m_distance);let i=1,n=this.m_distance<0?-Math.PI:Math.PI;if(e>-1&&e<1){let t=2*Math.acos(e);t<f&&(t=f),i=Math.trunc(Math.PI/t+1.5),i>1&&(n/=i)}i<=1&&(i=2,n/=2);let h=c+a.l;P.buildPoint(o,this.m_distance,h,t),0===r&&(t.type|=_),this.addPointEx(t,r);const m=this.m_distance/Math.cos(n/2);for(h+=n/2,P.buildPoint(o,m,h,t),t.type|=_,this.addPoint(t);--i>0;)h+=n,P.buildPoint(o,m,h,t),t.type|=_,this.addPoint(t);P.buildPoint(o,this.m_distance,d-a.l,t),t.type|=_,this.addPoint(t);continue}if(1!==this.m_joins){if(0===this.m_joins){const e=1-s/Math.abs(this.m_distance);let i=1,n=d-a.l-(c+a.l);if(e>-1&&e<1){let t=2*Math.acos(e);t<f&&(t=f),i=Math.trunc(Math.abs(n)/t+1.5),i>1&&(n/=i)}const h=this.m_distance/Math.cos(.5*n);let m=c+a.l+.5*n;for(P.buildPoint(o,h,m,t),this.addPointEx(t,r);--i>0;)m+=n,P.buildPoint(o,h,m,t),this.addPoint(t);continue}if(2===this.m_joins){const e=h.x-o.x,s=h.y-o.y,i=m.x-o.x,n=m.y-o.y;let f=(e*i+s*n)/Math.sqrt(e*e+s*s)/Math.sqrt(i*i+n*n);if(f=Math.max(f,-1),f>1-1e-8){P.buildPoint(o,u*this.m_distance,d-.25*Math.PI,t),this.addPointEx(t,r),P.buildPoint(o,u*this.m_distance,d+.25*Math.PI,t),this.addPoint(t);continue}const l=Math.abs(this.m_distance/Math.sin(.5*Math.acos(f))),_=Math.abs(this.m_miterLimit*this.m_distance);if(l>_){const e=.5*(d-c),s=this.m_distance/Math.abs(Math.sin(e));P.buildPoint(o,s,.5*(c+d),t);const i=a.P.construct(t.x,t.y),n=a.P.construct(o.x,o.y),h=new a.P;h.setSub(i,n);const m=new a.P;m.setScaleAdd(_/h.length(),h,n);const u=Math.sqrt(l*l-this.m_distance*this.m_distance),f=(l-_)*Math.abs(this.m_distance)/u;this.m_distance>0?h.rightPerpendicularThis():h.leftPerpendicularThis(),h.scale(f/h.length());const y=new a.P;y.setAdd(m,h);const p=new a.P;p.setSub(m,h),t.x=y.x,t.y=y.y,this.addPointEx(t,r),t.x=p.x,t.y=p.y,this.addPoint(t);continue}const y=.5*(d-c),p=this.m_distance/Math.abs(Math.sin(y));P.buildPoint(o,p,.5*(c+d),t),this.addPointEx(t,r);continue}{let e;if(d=p,this.m_distance>0?(d>c&&(d-=a.n),e=c-d<a.l):(d<c&&(d+=a.n),e=d-c<a.l),e){const e=this.m_distance*u;let s;s=e<0?c+.25*Math.PI:c+3*Math.PI*.25,P.buildPoint(o,e,s,t),this.addPointEx(t,r),s=e<0?d-.25*Math.PI:d-3*Math.PI*.25,P.buildPoint(o,e,s,t),this.addPoint(t)}else{const e=.5*(d-c),s=this.m_distance/Math.abs(Math.sin(e));d<c&&(d+=a.n),P.buildPoint(o,s,(c+d)/2,t),this.addPointEx(t,r)}}}else P.buildPoint(o,this.m_distance,c+a.l,t),this.addPointEx(t,r),P.buildPoint(o,this.m_distance,d-a.l,t),this.addPoint(t)}}return this.m_a1=i,this.m_a2=n,this.addPointEx(this.m_offsetPts[0],0),this.m_offsetPts[0]=this.m_offsetPts[this.m_offsetPtCount-1].clone(),this.removeBadSegsFast()}removeBadSegsFast(){for(let t=0;t<this.m_offsetPtCount;t++){const e=this.m_offsetPts[t];e.m_next=t+1,e.m_prev=t-1}this.m_offsetPts[0].m_prev=this.m_offsetPtCount-2,this.m_offsetPts[this.m_offsetPtCount-2].m_next=0;let t=this.m_offsetPtCount,e=0;for(let s=0;s<t;s++)if(this.m_offsetPts[e].type&l){const s=this.m_offsetPts[e].m_next,i=this.deleteClosedSeg(e);if(-1===i){(0,o.g)(this.m_offsetPts[e].m_next===s);break}if(e>i){e=i,t=0;do{t++,e=this.m_offsetPts[e].m_next}while(e!==i)}e=i}else e=this.m_offsetPts[e].m_next;return this.compressOffsetArray(e),!0}deleteClosedSeg(t){const e=this.m_offsetPtCount-1;let s=t;for(let i=1;i<=e-2&&(s=this.m_offsetPts[s].m_next,t!==s);i++){let e=s,n=t;for(let r=1;r<=i&&(n=this.m_offsetPts[n].m_prev,n!==t);r++){if(0===(this.m_offsetPts[n].type&l)&&0===(this.m_offsetPts[e].type&l)){const t=this.handleClosedIntersection(n,e);if(-1!==t)return t}if(e=this.m_offsetPts[e].m_prev,e===s)break}}return-1}handleClosedIntersection(t,e){const s=this.m_offsetPts[this.m_offsetPts[t].m_prev],i=this.m_offsetPts[t],n=this.m_offsetPts[this.m_offsetPts[e].m_prev],r=this.m_offsetPts[e];if(!this.sectGraphicRect(s,i,n,r))return-1;if(a.P.orientationRobustEx(s.asPoint2D(),i.asPoint2D(),n.asPoint2D(),r.asPoint2D())*this.m_distance<0){const o=this.findIntersection(s,i,n,r);let h=!1;if(o[0]>=0){const m={pt:new d,bAtExistingPt:!1};if(o[0]>=0&&o[0]<=1&&(m.pt.x=(0,a.r)(s.x,i.x,o[0]),m.pt.y=(0,a.r)(s.y,i.y,o[0]),this.m_bUseZ&&(m.pt.z=(0,a.r)(n.z,r.z,o[1])),this.m_bUseM&&(m.pt.m=(0,a.r)(n.m,r.m,o[1])),0!==o[1]&&1!==o[1]||0!==o[0]&&1!==o[0]||(m.bAtExistingPt=!0),h=!((0===o[1]||1===o[1])&&o[0]>0&&o[0]<1||(0===o[0]||1===o[0])&&o[1]>0&&o[1]<1)),h&&!m.bAtExistingPt){let s=!1;const r=m.pt.asPoint2D(),o=n.asPoint2D(),h=m.pt.asPoint2D();let c=this.m_offsetPts[t].m_prev;for(;;){if(a.P.getClosestCoordinate(o,h,r,!1)<1e-8){s=!1;break}if((h.y>r.y&&o.y<=r.y||h.y<r.y&&h.y<=r.y)&&a.P.orientationRobustEx(h,r,h,o)<0&&(s=!s),o.x=h.x,o.y=h.y,c=this.m_offsetPts[c].m_next,c===e)break;h.x=this.m_offsetPts[c].x,h.y=this.m_offsetPts[c].y}if(s)return-1;const u=this.m_offsetPts[t].m_prev;return m.pt.type=i.type,m.pt.m_next=e,m.pt.m_prev=u,this.m_offsetPts[t]=m.pt,this.m_offsetPts[e].m_prev=t,e}}}return-1}sectGraphicRect(t,e,s,i){return Math.max(t.x,e.x)>=Math.min(s.x,i.x)&&Math.max(s.x,i.x)>=Math.min(t.x,e.x)&&Math.max(t.y,e.y)>=Math.min(s.y,i.y)&&Math.max(s.y,i.y)>=Math.min(t.y,e.y)}findIntersection(t,e,s,i){const[n,r,o,a]=[t,e,s,i].map(t=>t.asPoint2D());if(n.equals(o))return[0,0];if(n.equals(a))return[0,1];if(r.equals(o))return[1,0];if(r.equals(a))return[1,1];const m=[];return 1===h.L.segmentIntersectRobust(n,r,o,a,1e-15,m)?m:[-1,-1]}compressOffsetArray(t){for(;this.m_offsetPts[t].m_prev<t;)t=this.m_offsetPts[t].m_prev;let e=0,s=t;do{const t=this.m_offsetPts[s].clone();this.m_offsetPts[e]=t,s=t.m_next,e++}while(s!==t);this.m_offsetPts[e]=this.m_offsetPts[0].clone(),this.m_offsetPtCount=e+1}addPart(t,e,s){if(!(e<2)){for(let s=0;s<e;s++){const e=this.m_offsetPts[t+s];if(s?this.m_bUseZ?this.m_resultPath.lineTo3DCoords(e.x,e.y,e.z):this.m_resultPath.lineToCoords(e.x,e.y):this.m_bUseZ?this.m_resultPath.startPath3DCoords(e.x,e.y,e.z):this.m_resultPath.startPathCoords(e.x,e.y),this.m_bUseM){const t=this.m_resultPath.getPointCount()-1;this.m_resultPath.setAttribute(2,t,0,e.m)}}s&&this.m_resultPath.closePathWithLine()}}offsetMultiPath(t){const e=(0,h.d)(this.m_inputGeometry,0,this.m_tolerance,0,this.m_progressTracker,12e3),s=e.querySegmentIterator();s.resetToFirstPath();let i=-1;for(;s.nextPath();)i++,this.offsetPath(e,i,t)}offsetPath(t,e,s){let i=t.getPathStart(e),n=t.getPathEnd(e);if(this.m_resultPath=s,t.isClosedPath(e)){const e=t.getXY(i);for(;n>i&&t.getXY(n-1).equals(e);)n--;if(n-i>=2){this.m_srcPtCount=n-i,this.m_srcPts.length=this.m_srcPtCount;for(let e=i;e<n;e++)this.progress(),this.m_srcPts[e-i]=d.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0);this.buildOffset()&&this.addPart(0,this.m_offsetPtCount-1,!0)}}else{const e=t.getXY(i);for(;i<n-1&&t.getXY(i+1).equals(e);)i++;const s=t.getXY(n-1);for(;i<n-1&&t.getXY(n-2).equals(s);)n--;if(n-i>=2){this.m_srcPtCount=2*(n-i)-2,this.m_srcPts.length=this.m_srcPtCount;let s=d.construct(e,this.m_bUseZ?t.getAttributeAsDbl(1,i,0):0,this.m_bUseM?t.getAttributeAsDbl(2,i,0):0);s.type|=1536,this.m_srcPts[0]=s;let r=1,o=this.m_srcPtCount-1;for(let e=i+1;e<n-1;e++,r++,o--)this.progress(),s=d.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0),this.m_srcPts[r]=s.clone(),s.type|=_,this.m_srcPts[o]=s.clone();if(s=d.construct(t.getXY(n-1),this.m_bUseZ?t.getAttributeAsDbl(1,n-1,0):0,this.m_bUseM?t.getAttributeAsDbl(2,n-1,0):0),s.type|=512,this.m_srcPts[r]=s.clone(),this.buildOffset())if(this.m_offsetPts.length>=2){let t=-1,e=-1,s=0!==(this.m_offsetPts[this.m_offsetPtCount-1].type&_);s||(t=0);for(let i=1;i<this.m_offsetPtCount;i++){this.progress();const n=0!==(this.m_offsetPts[i].type&_);n?s||(e=i-1,e-t+1>1&&this.addPart(t,e-t+1,!1)):s&&(t=i-1),s=n}s||(e=this.m_offsetPtCount-1,e-t+1>1&&this.addPart(t,e-t+1,!1))}else{const t=0,e=this.m_offsetPtCount-1;e-t>=1&&this.addPart(t,e-t+1,!1)}}}this.m_srcPts.length=0,this.m_srcPtCount=0,this.m_offsetPts.length=0,this.m_offsetPtCount=0}static dotSign(t,e,s,i){const n=e.x-t.x,r=e.y-t.y,o=i.x-s.x,h=i.y-s.y,m=(0,a.t)(n,r,o,h);return(0,a.e)(m)}}class y extends n.G{m_inputGeoms;m_spatialReference;m_progressTracker;m_distance;m_miterLimit;m_joins;m_flattenError;m_index;m_options;constructor(t,e,s,i,n,r,o,h){super(),this.m_progressTracker=o,this.m_index=-1,this.m_inputGeoms=t,this.m_spatialReference=e,this.m_distance=s,this.m_joins=i,this.m_miterLimit=n,this.m_flattenError=r,this.m_options=h}tock(){return!0}getRank(){return 1}next(){if(!this.m_inputGeoms)return null;let t;for(;t=this.m_inputGeoms.next();)return this.m_index=this.m_inputGeoms.getGeometryID(),this.offset(t);return null}getGeometryID(){return this.m_index}offset(t){let e;return(0,o.c)(t),e=this.m_flattenError<=0?(0,r.e)(this.m_spatialReference,t,!0).total():this.m_flattenError,function(t,e,s,i,n,r,h){if(null===t&&(0,o.a)(""),t.getDimension()<1&&(0,o.a)(""),n>0||(0,o.a)(""),(0,o.c)(t),0===e||t.isEmpty())return t;const a=new P(h);return a.m_bUseZ=t.hasAttribute(1),a.m_bUseM=t.hasAttribute(2),a.m_inputGeometry=t,a.m_distance=e,a.m_tolerance=n,a.m_joins=s,a.m_miterLimit=i>1?i:1,a.m_miterLimit=(0,m.s)(a.m_miterLimit),a.m_progressCounter=0,a.m_options=r,a.constructOffset()}(t,this.m_distance,this.m_joins,this.m_miterLimit,e,this.m_options,this.m_progressTracker)}}const p=new class{getOperatorType(){return 10108}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}executeMany(t,e,s,i,n,r,o,h=0){return new y(t,e,s,i,n,r,o,h)}execute(t,e,s,i,n,r,o,h=0){return new y(null,e,s,i,n,r,o,h).offset(t)}};function x(t,e,s,i,n,r){return p.execute(t,e,s,i,n,r,null)}function g(t,e,s,n,r,o){const h=p.executeMany(new i.S(t),e,s,n,r,o,null);return Array.from(h)}},78125(t,e,s){s.r(e),s.d(e,{fromExtent:()=>P,fromGeometry:()=>d,fromMultipoint:()=>y,fromPoint:()=>p,fromPolygon:()=>x,fromPolyline:()=>g,fromPolylineUsingImportOperator:()=>b,fromSpatialReference:()=>M,getSpatialReference:()=>_,toExtent:()=>G,toGeometry:()=>C,toMultipoint:()=>v,toPoint:()=>w,toPolygon:()=>A,toPolyline:()=>E});var i=s(83661),n=s(55537),r=s(95213),o=s(88885),h=s(5443),a=s(48526),m=s(86738),c=s(39829),u=s(82799),f=(s(90293),s(83299));const l="_gxVersion";function _(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function d(t){switch(t.type){case"point":return p(t);case"multipoint":return y(t);case"polyline":return g(t);case"polygon":return x(t);case"extent":return P(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function P(t){if(!t.getCacheValue(l)){const e=new r.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(l,e)}return t.getCacheValue(l)}function y(t){if(!t.getCacheValue(l)){const e=new o.M,s=new r.P,i=t.points,n=t.hasM,h=t.hasZ,a=h?3:2;for(let t=0,r=i.length;t<r;t++){const r=i[t];s.setXYCoords(r[0],r[1]),h&&s.setZ(r[2]??0),n&&s.setM(r[a]??NaN),e.add(s)}t.setCacheValue(l,e)}return t.getCacheValue(l)}function p(t){if(!t.getCacheValue(l)){const e=new r.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(l,e)}return t.getCacheValue(l)}function x(t){if(!t.getCacheValue(l)){const{curveRings:e,hasM:s,hasZ:i,rings:n}=t,r=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:s,hasZ:i,rings:n});t.setCacheValue(l,r)}return t.getCacheValue(l)}function g(t){if(!t.getCacheValue(l)){const{curvePaths:e,hasM:s,hasZ:i,paths:n}=t,r=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:s,hasZ:i,paths:n});t.setCacheValue(l,r)}return t.getCacheValue(l)}function b(t){if(!t.getCacheValue(l)){const{curvePaths:e,hasM:s,hasZ:i,paths:n}=t,r=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:s,hasZ:i,paths:n});t.setCacheValue(l,r)}return t.getCacheValue(l)}function M(t){return t.cache?(t.cache[l]??=(0,f.fromSpatialReference)(t),t.cache[l]):(0,f.fromSpatialReference)(t)}function C(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return w(t,e);case n.G.enumEnvelope:return G(t,e);case n.G.enumMultiPoint:return v(t,e);case n.G.enumPolyline:return E(t,e);case n.G.enumPolygon:return A(t,e)}return null}function G(t,e){if(t.isEmpty())return null;const s=new h.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),i=t.getDescription();if(i.hasM()){const e=t.queryInterval(2,0);s.mmin=e.vmin,s.mmax=e.vmax}if(i.hasZ()){const e=t.queryInterval(1,0);s.zmin=e.vmin,s.zmax=e.vmax}return s.setCacheValue(l,t),s}function v(t,e){if(t.isEmpty())return null;const s=t.getDescription(),i=s.hasM(),n=s.hasZ(),o=[],h=new r.P;for(let e=0,s=t.getPointCount();e<s;e++){t.getPointByVal(e,h);const s=[h.getX(),h.getY()];n&&s.push(h.getZ()),i&&s.push(h.getM()),o.push(s)}const m=new a.A({hasM:i,hasZ:n,points:o,spatialReference:e});return m.setCacheValue(l,t),m}function w(t,e){if(t instanceof i.P)return new m.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const s=new m.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(s.m=t.getM()),n.hasZ()&&(s.z=t.getZ()),s.setCacheValue(l,t),s}function A(t,e){if(t.isEmpty())return null;const s=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return s.setCacheValue(l,t),s}function E(t,e){if(t.isEmpty())return null;const s=u.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return s.setCacheValue(l,t),s}},92722(t,e,s){s.d(e,{A:()=>n});var i=s(69397);class n{constructor(t=[],e=[],s=!1,i=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=s,this.hasM=i}static fromJSON({lengths:t,coords:e,hasZ:s,hasM:i}){return new n(t,e,s||!1,i||!1)}static fromRect([t,e,s,i]){const r=s-t,o=i-e;return new n([5],[t,e,r,0,0,o,-r,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,i.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const s of this.lengths){if(s<3)continue;const{stride:i}=this;let n=this.coords[i*e],r=this.coords[i*e+1];for(let o=1;o<s;o+=1){const s=i*(e+o),h=this.coords[s],a=this.coords[s+1];t+=-.5*(h-n)*(a+r),n=h,r=a}e+=s}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:s}=this;for(const i of this.lengths){for(let n=0;n<i;n++){const i=s*(e+n);t(this.coords[i],this.coords[i+1])}e+=i}}deltaDecode(){const t=this.clone(),{coords:e,lengths:s}=t;let i=0;const{stride:n}=this;for(const t of s){for(let s=1;s<t;s++){const t=n*(i+s);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}i+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:s,size:i}=this,r=this.coords.slice(0,i*s);return t?(t.set(r),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(r),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const s=new Array(e*t);for(let e=0,i=0;e<s.length;e+=t)s[i++]=this.coords[e],s[i++]=this.coords[e+1];return new n(this.lengths,s,!1,!1)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3772,5077],{68197(e,t,n){n.d(t,{A:()=>u});var r=n(40876),i=n(4576),o=n(34727),l=n(56507);function s(e){return(0,o.qE)((0,l.Vr)(e),0,255)}function a(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class u{static blendColors(e,t,n,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?u.fromArray(n,t):null}static fromHex(e,t=new u){const n=(0,r.oW)(e);return n?u.fromArray(n,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?u.fromArray(n,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,i=4===n||8===n,o=`#${a(this.r,r)}${a(this.g,r)}${a(this.b,r)}${i?a(Math.round(255*this.a),r):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=s(this.r),n=s(this.g),r=s(this.b);return 0===e||1!==this.a?[t,n,r,s(255*this.a)]:[t,n,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,n){n.d(t,{A:()=>A});var r,i,o=n(5482),l=n(37838),s=n(69540),a=n(51447),u=n(25482),c=n(53966),p=n(36708),d=n(24326),h=n(91429),f=n(12195),y=n(65864),g=n(50498),m=n(55156),v=n(60950),b=n(54339),w=n(94128),M=n(33910);function I(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let A=class extends((0,s.OU)(u.o)){static{r=w.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,v.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:I(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,o.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,y.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],A.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,h.MZ)({value:null})],A.prototype,"attributes",null),(0,o.Cg)([(0,h.MZ)({value:null,types:g.yR,json:{read:y.rS}})],A.prototype,"geometry",null),(0,o.Cg)([(0,h.MZ)()],A.prototype,"distance",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean})],A.prototype,"isAggregate",void 0),(0,o.Cg)([(0,h.MZ)({clonable:!1})],A.prototype,"layer",void 0),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],A.prototype,"origin",void 0),(0,o.Cg)([(0,h.MZ)({type:l.A,value:null})],A.prototype,"popupTemplate",null),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],A.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,h.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],A.prototype,"statisticsAggregatedIds",void 0),(0,o.Cg)([(0,h.MZ)({value:null,types:M.Es})],A.prototype,"symbol",null),(0,o.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],A.prototype,"_version",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean,value:!0})],A.prototype,"visible",null),A=i=(0,o.Cg)([(0,h.$K)("esri.Graphic")],A)},40876(e,t,n){n.d(t,{Eq:()=>h,G1:()=>y,TS:()=>o,V6:()=>i,Vm:()=>f,ay:()=>a,c1:()=>g,c4:()=>l,j5:()=>u,lT:()=>p,oW:()=>c,xV:()=>b});const r={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 i(e){return!!r[e]||!!r[e.toLowerCase()]}function o(e){return r[e]??r[e.toLowerCase()]}function l(e){return[...o(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function a(e,t,n,r=1){const i=(e%360+360)%360/360,o=n<=.5?n*(t+1):n+t-n*t,l=2*n-o;return[Math.round(255*s(l,o,i+1/3)),Math.round(255*s(l,o,i)),Math.round(255*s(l,o,i-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,i=t?1:17,o=t?9===e.length:5===e.length;let l=Number("0x"+e.slice(1));if(isNaN(l))return null;const s=[0,0,0,1];let a;return o&&(a=l&r,l>>=n,s[3]=i*a/255),a=l&r,l>>=n,s[2]=i*a,a=l&r,l>>=n,s[1]=i*a,a=l&r,l>>=n,s[0]=i*a,s}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),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(i+16*i)/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 p(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&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])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?y(e[3]):1,e}function h(e){let t=i(e)?o(e):null;return t??=p(e),t??=c(e),t}function f(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function y(e){return m(e,0,1)}function g(e){return Math.round(m(e,0,255))}function m(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const v=1/2.2;function b(e){return e**v}n.d(t,["iw",0,v])},6797(e,t,n){n.d(t,{Ui:()=>d});var r=n(69622),i=n(7762),o=n(88620);const l=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function s(e){return e instanceof r.A}function a(e){return e instanceof i.A?Object.keys(e.items):s(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=a(e),i=a(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!r.includes(e)),d=r.filter(e=>!i.includes(e)),h=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(o,d).sort(),f=c(e);if(f&&l.has(f)&&h.length)return{type:"complete",oldValue:e,newValue:t};let y;const g=s(e)&&s(t);for(const r of h){const i=u(e,r),o=u(t,r);let l;if((g||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])l=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;l={type:"complete",oldValue:i,newValue:o}}else l="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=l&&(null!=y?y.diff[r]=l:y={type:"partial",diff:{[r]:l}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},90629(e,t,n){n.d(t,{Lz:()=>i,PN:()=>o,cr:()=>l,gs:()=>a,r_:()=>u,tc:()=>s}),n(39829);const r=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(e){return e?e/72*96:0}function o(e){return e?72*e/96:0}function l(e){if("string"==typeof e){const t=e.match(r);if(t){const n=Number(t[1]),r=t[3]&&t[3].toLowerCase(),i=e.startsWith("-"),l="px"===r?o(n):n;return i?-l:l}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function s(e=0,t=0){return{x:e,y:t}}function a(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},13069(e,t,n){n.d(t,{AG:()=>s,lk:()=>i,vD:()=>l,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function l(){return`{${i()}}`}function s(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(69540),l=n(25482),s=n(91429),a=n(99157);let u=r=class extends((0,o.OU)(l.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),o=n(69540),l=n(25482),s=n(91429);let a=r=class extends((0,o.OU)(l.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,o,l,s=Math.floor(e.length/3)){const a=(0,r.jd)(t,o);if(null==a)return!1;if(a===r.pO){if(e===i&&n===l)return!0;const t=n+3*s;for(let r=n,o=l;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=l;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h});var r=n(34727),i=n(86211),o=n(73941),l=n(79258),s=n(34403),a=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:y,11:g,2:h,4:T},5:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:y,11:g,2:h,4:T},7:{5:null,7:h,9:null,10:h,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,n,r){const i=e[t]/Z,o=R-2*Math.atan(Math.exp(-e[t+1]/Z)),l=Z+(e[t+2]??0),s=Math.cos(o)*l;n[r]=Math.cos(i)*s,n[r+1]=Math.sin(i)*s,n[r+2]=Math.sin(o)*l},6:null,8:null,0:null,3:h,11:function(e,t,n,r){f(e,t,n,r),g(n,r,n,r)},2:f,4:function(e,t,n,r){f(e,t,n,r),T(n,r,n,r)}},4:{5:x,7:null,9:null,10:x,1:function(e,t,n,r){x(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){x(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){x(e,t,n,r),g(n,r,n,r)},2:x,4:h},1:{5:C,7:null,9:null,10:C,1:h,6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),g(n,r,n,r)},2:C,4:function(e,t,n,r){C(e,t,n,r),T(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:M,6:w,8:b,0:null,3:y,11:g,2:h,4:T},11:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){m(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){m(e,t,n,r),y(n,r,n,r)},11:h,2:m,4:function(e,t,n,r){m(e,t,n,r),T(n,r,n,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(E.source.spatialReference===e&&E.dest.spatialReference===t)return E;const n=d(e,E.source),r=d(t,E.dest);return 0===n&&0===r?(0,a.aI)(e,t)?E.projector=h:E.projector=null:E.projector=u[n][r],E}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function f(e,t,n,r){n[r]=j*(e[t]/Z),n[r+1]=j*(R-2*Math.atan(Math.exp(-e[t+1]/Z))),n[r+2]=e[t+2]??0}function y(e,t,n,i){!function(e,t,n,i,o){const l=.4999999*Math.PI,s=(0,r.qE)(O*e[t+1],-l,l),a=Math.sin(s);n[i++]=O*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,l.$O)}function g(e,t,n,r){n[r]=e[t]*F,n[r+1]=e[t+1]*F,n[r+2]=e[t+2]??0}function m(e,t,n,r){n[r]=e[t]*k,n[r+1]=e[t+1]*k,n[r+2]=e[t+2]??0}function v(e,t,n,r,i){const o=i+(e[t+2]??0),l=O*e[t],s=O*e[t+1],a=Math.cos(s)*o;n[r]=Math.cos(l)*a,n[r+1]=Math.sin(l)*a,n[r+2]=Math.sin(s)*o}function b(e,t,n,r){v(e,t,n,r,l.Sw.radius)}function w(e,t,n,r){v(e,t,n,r,l.sH.radius)}function M(e,t,n,r){v(e,t,n,r,l.$O.radius)}function I(e,t,n,i,o){const l=e[t],s=e[t+1],a=e[t+2]??0,u=Math.sqrt(l*l+s*s+a*a),c=(0,r.YN)(a/(0===u?1:u)),p=Math.atan2(s,l);n[i++]=j*p,n[i++]=j*c,n[i]=u-o}function A(e,t,n,r){I(e,t,n,r,l.Sw.radius)}function S(e,t,n,r){I(e,t,n,r,l.sH.radius)}function C(e,t,n,r){I(e,t,n,r,l.$O.radius)}function T(e,t,n,r){!function(e,t,n,r,i){const o=O*e[t],l=O*e[t+1],s=e[t+2]??0,a=Math.sin(l),u=Math.cos(l),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+s)*u*Math.cos(o),n[r++]=(c+s)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+s)*a}(e,t,n,r,l.$O)}function x(e,t,n,r){const i=s.TP,o=e[t],a=e[t+1],u=e[t+2]??0;let c,p,d,h,f,y,g,m,v,b,w,M,I,A,S,C,T,x,E,O,R;c=Math.abs(u),p=o*o+a*a,d=Math.sqrt(p),h=p+u*u,f=Math.sqrt(h),O=Math.atan2(a,o),y=u*u/h,g=p/h,A=i.a2/f,S=i.a3-i.a4/f,g>.3?(m=c/f*(1+g*(i.a1+A+y*S)/f),E=Math.asin(m),b=m*m,v=Math.sqrt(1-b)):(v=d/f*(1-y*(i.a5-A-g*S)/f),E=Math.acos(v),b=1-v*v,m=Math.sqrt(b)),w=1-l.$O.eccentricitySquared*b,M=l.$O.radius/Math.sqrt(w),I=i.a6*M,A=d-M*v,S=c-I*m,T=v*A+m*S,C=v*S-m*A,x=C/(I/w+T),E+=x,R=T+C*x/2,u<0&&(E=-E),n[r++]=j*O,n[r++]=j*E,n[r]=R}const E={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},O=(0,r.kU)(1),j=(0,r.KJ)(1),R=.5*Math.PI,Z=l.$O.radius,F=Z*Math.PI/180,k=180/(Z*Math.PI);n.d(t,["w5",0,u])},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>V,initializeProjection:()=>B,isEqualBaseGCS:()=>J,isLoaded:()=>Z,isLoadedOrLoad:()=>F,isLoadedOrLoadFor:()=>k,load:()=>P,project:()=>N,projectAsync:()=>K,projectExtent:()=>ie,projectMany:()=>D,projectMultipoint:()=>H,projectOrLoad:()=>_,projectOrLoadMany:()=>z,projectPoint:()=>X,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>Y,requiresLoad:()=>L,test:()=>q,tryProject:()=>G,unload:()=>U});var r=n(49186),i=n(17676),o=n(62788),l=n(95488),s=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),d=n(48526),h=n(86738),f=n(39829),y=n(82799),g=n(16930),m=n(98764),v=n(159),b=n(9762),w=n(49208);function M(e,t,n,r,i,o){return I[0]=e,I[1]=t,I[2]=n,(0,b.projectBuffer)(I,r,0,i,o,0)}const I=(0,s.vt)();var A=n(60408),S=n(21325),C=n(52006);let T=null,x=null,E=null,O=null,j={};const R=new l.I;function Z(){return!!(x?.isLoaded()&&E?.isLoaded()&&O?.isLoaded())}function F(){return!!Z()||((0,o.gc)(R),P(),!1)}function k(e,t){return!e||!t||V(e,t)||F()}function L(e,t){return!V(e,t)&&!Z()}async function P(e){null==T&&(T=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(x=e,x.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(E=e,E.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(O=e,O.load()))])),await T,(0,i.Te)(e),R.notify()}function N(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),D(e,e[0].spatialReference,t,n)):((0,a.f)(e),D([e],e.spatialReference,t,n)[0])}function D(e,t,n,r){if(null==t||null==n)return e;if(V(t,n,r))return e.map(e=>Y(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return D(e.map(e=>Y(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return D(e,t,g.A.WGS84).map(e=>Y(e,g.A.WGS84,n));if(!Z())throw new $;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:O.getTransformation(t,n,r.areaOfInterestExtent)||new v.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=j[e];i||(i=O.getTransformation(t,n)||new v.A,j[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?x.executeMany(e,n,r):E.executeMany(e,n,r)}function G(e,t,n){try{return N(e,t,n)}catch(e){return null}}function _(e,t){const n=z([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function z(e,t,n){if(!Z())for(const n of e)if(null!=n&&!(0,S.aI)(n.spatialReference,t)&&(0,S.fn)(n.spatialReference)&&(0,S.fn)(t)&&!V(n.spatialReference,t))return(0,o.gc)(R),{pending:P(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,S.aI)(e.spatialReference,t)?e:(0,S.fn)(e.spatialReference)&&(0,S.fn)(t)?N(e,t,n):null)}}class $ extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function U(){T=null,x=null,E=null,O=null,j={}}const q={get loadPromise(){return T}};async function K(e,t,n){if((0,i.Te)(n),!e)return e;const r=z(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),K(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function V(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,S.aI)(e,t)||(0,S.fn)(e)&&(0,S.fn)(t)&&!!(0,w.jd)(e,t))}function J(e,t){if((0,S.aI)(e,t))return!0;if(!(0,S.fn)(e)||!(0,S.fn)(t))return!1;const n=(0,S.oT)(e)||(0,S.K8)(e)||(0,S.x1)(e),r=(0,S.oT)(t)||(0,S.K8)(t)||(0,S.x1)(t);return n&&r}async function B(e,t,n,r){if(Z())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!V(t,n,i))return P(r)}else if(e&&t&&!V(e,t,n))return P(r);return(0,i.NO)(r)}function Y(e,t,n){return e?(0,A.fT)(e)?W(e,t,new h.A,n,0):(0,A.ZC)(e)?oe(e,t,new c.A,n,0):(0,A.Bi)(e)?re(e,t,new f.A,n,0):(0,A.Rg)(e)?te(e,t,new y.A,n,0):(0,A.U9)(e)?Q(e,t,new d.A,n,0):null:null}function X(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=W(e,e.spatialReference,t,n,r)}function W(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,b.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function H(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,i){const{points:o,hasZ:l,hasM:s}=e,a=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],l?e[2]:i);if(!(0,b.projectBuffer)(c,t,0,c,r,0,u))return null;const p=ae(l,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];p&&s?a.push([n,r,c[t+2],o[e][3]]):p?a.push([n,r,c[t+2]]):s?a.push([n,r,o[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=l,n.hasM=s,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:o,paths:l,hasZ:s,hasM:a}=e;if(!(o?se(o,s??!1,a??!1,t,n.curvePaths=[],r,i):le(l,s??!1,a??!1,t,n.paths,r,i)))return null;const u=ae(s,r);return n.spatialReference=r,n.hasZ=u,n.hasM=a,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:o,rings:l,hasZ:s,hasM:a}=e;return(o?se(o,s??!1,a??!1,t,n.curveRings=[],r,i):le(l,s??!1,a??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=ae(s,r),n.hasM=a,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=oe(e,e.spatialReference,t,n,r)}function oe(e,t,n,r,i){const{xmin:o,ymin:l,xmax:s,ymax:a,hasZ:u,hasM:c}=e;if(!M(o,l,u?e.zmin:i,t,ue,r))return null;const p=ae(u,r);return n.xmin=ue[0],n.ymin=ue[1],p&&(n.zmin=ue[2]),M(s,a,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],p&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function le(e,t,n,r,i,o,l=0){const s=new Array;for(const n of e)for(const e of n)s.push(e[0],e[1],t?e[2]:l);if(!(0,b.projectBuffer)(s,r,0,s,o,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,o);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(a,a+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function se(e,t,n,r,i,o,l=0){const s=new Array;for(const n of e)for(const e of n){if((0,C.FG)(e))return!1;if((0,C.aO)(e)){const[n,r]=e.c;s.push(n[0],n[1],t?n[2]:l,r[0],r[1],l);continue}if((0,C.n1)(e)){const[n,r,i]=e.b;s.push(n[0],n[1],t?n[2]:l,r[0],r[1],l,i[0],i[1],l);continue}const n=e;s.push(n[0],n[1],t?n[2]:l)}if(!(0,b.projectBuffer)(s,r,0,s,o,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,o);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(a,a+=3);if(c||t.pop(),n&&t.push((0,C.yP)(r)[u]),(0,C.FG)(r))return!1;if((0,C.aO)(r)){const n=s[a++],r=s[a++];++a,e.push({c:[t,[n,r]]});continue}if((0,C.n1)(r)){const n=s[a++],r=s[a++];++a;const i=s[a++],o=s[a++];++a,e.push({b:[t,[n,r],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,S.aI)(t,m.Y0)}const ue=(0,s.vt)()},98764(e,t,n){n.d(t,{lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const l=new i.A(r.fv),s=new i.A(r.FY),a=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let n=l;if(e)if(e===s)n=s;else if(e===a)n=a;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,o.tl)(t)||(0,o.tl)(r)?n=s:((0,o.ZL)(t)||(0,o.ZL)(r))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?n=s:e===h&&(n=a)}}}return p.set(e,n),n}const p=new Map,d=s.wkt.toUpperCase(),h=a.wkt.toUpperCase();n.d(t,["GD",0,l,"Y0",0,u])},34403(e,t,n){var r=n(79258);Math.PI;const i=r.$O.radius,o=r.$O.eccentricitySquared,l={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(t,["TP",0,l])},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function o(e){return void 0!==e.x&&void 0!==e.y}function l(e){return void 0!==e.paths||void 0!==e.curvePaths}function s(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?o(e)?"esriGeometryPoint":l(e)?"esriGeometryPolyline":s(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function p(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>s,Pv:()=>c,Rg:()=>l,U9:()=>i,W0:()=>p,ZC:()=>r,fT:()=>o,uW:()=>a})},65864(e,t,n){n.d(t,{rS:()=>c,xD:()=>d});var r=n(5443),i=n(91075),o=n(48526),l=n(86738),s=n(39829),a=n(82799),u=n(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?l.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?s.A.fromJSON(e):(0,u.U9)(e)?o.A.fromJSON(e):(0,u.ZC)(e)?r.A.fromJSON(e):null}const p={esriGeometryPoint:l.A,esriGeometryPolyline:a.A,esriGeometryPolygon:s.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:o.A,esriGeometryMultiPatch:s.A};function d(e){return e&&p[e]||null}},50498(e,t,n){var r=n(66552),i=n(5443),o=n(91075),l=n(48526),s=n(86738),a=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:l.A,point:s.A,polyline:u.A,polygon:a.A}},h=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});n.d(t,["Ye",0,p,"gy",0,c,"iI",0,h,"yR",0,d])},55156(e,t,n){n.d(t,{I:()=>i});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}n.d(t,["e",0,r])},25077(e,t,n){n.r(t),n.d(t,{default:()=>q});var r=n(5482),i=n(37838),o=n(11254),l=n(69540),s=n(49186),a=n(36563),u=n(25728),c=n(17676),p=n(91429),d=n(16930),h=n(55156),f=n(60950),y=n(89808),g=n(99959);const m=Symbol("isDimensionFeatureGraphicOrigin");var v;class b extends g.A{get[(v=m,f.ym)](){return this.layer}get[h.e](){return this.layer}get[y.Q](){return this.layer}constructor(e){super(),this[v]=!0,this.type="dimension-feature",this.layer=e}get id(){return this.layer.id}}var w=n(4146),M=n(52136),I=n(18768),A=n(63074),S=n(69208),C=n(40775),T=n(10086),x=n(34287),E=n(8303),O=n(54310),j=n(25036),R=n(82935),Z=n(60694),F=n(10873),k=n(15426),L=n(17036),P=n(30524),N=n(91908),D=n(97552),G=n(30291),_=n(36005);const z="dimension-feature-layer",$=(0,L.p)();let U=class extends((0,C.I)((0,T.j)((0,A.dM)((0,R.e)((0,j.j)((0,O.J)((0,I.b)((0,x.q)((0,E.A)((0,u.M)((0,S.d)((0,M.p)((0,l.OU)(w.A)))))))))))))){constructor(e){super(e),this.barrierWeight="high",this.fields=null,this.fieldsIndex=null,this.graphicOrigin=new b(this),this.operationalLayerType="ArcGISDimensionLayer",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.referenceScale=0,this.source=null,this.styleCollection=null,this.sublayerTitleMode="item-title",this.supportedSourceTypes=new Set(["Dimension Layer"]),this.symbolFields=["STYLEID","BEGINX","BEGINY","ENDX","ENDY","DIMDISPLAY","EXTDISPLAY","MARKERDISPLAY","DIMX","DIMY","TEXTX","TEXTY","DIMLENGTH","DIMTYPE","EXTANGLE","TEXTANGLE","USECUSTOMLENGTH","CUSTOMLENGTH "],this.type="dimension-feature"}destroy(){this.source?.destroy()}load(e){const t=e?.signal,n=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(c.QP).then(async()=>{if(this.url&&null==this.layerId&&/FeatureServer|MapServer\/*$/i.test(this.url)){const e=await this._fetchFirstValidLayerId(t);null!=e&&(this.layerId=e)}if(!this.url)throw new s.A(`${z}:missing-url`,"DimensionFeatureLayer must be created with a url");return Promise.all([this.loadDataElement(e).then(()=>{if(!this.styleCollection)throw new s.A(`${z}:missing-style-collection`,"Invalid service with no style collection")}),this.initLayerProperties(await this.createGraphicsSource(t))])}).then(()=>(0,k.VA)(this,"load",e));return this.addResolvingPromise(n),Promise.resolve(this)}get editingEnabled(){return this._isOverridden("editingEnabled")?this._get("editingEnabled"):this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}set editingEnabled(e){this._overrideIfSome("editingEnabled",e)}get effectiveEditingEnabled(){return!1}get defaultPopupTemplate(){return this.createPopupTemplate()}readTitleFromService(e,t){const{url:n}=this,r=t.name||(0,Z.qg)(n)?.title;switch(this.sublayerTitleMode){case"item-title":if(n)return(0,Z.yG)(n,r);break;case"item-title-and-service-name":{let e=this.portalItem?.title;if(e&&e!==r)return e=(0,Z.cr)(e),r?`${e} - ${(0,Z.cr)(r)}`:e;break}}return r?(0,Z.cr)(r):void 0}readTitleFromPortalItem(e){return"item-title"===this.sublayerTitleMode?e:void 0}createPopupTemplate(e){return(0,G.tn)(this,e)}async createGraphicsSource(e){const t={stack:[],error:void 0,hasError:!1};try{const{default:i}=await(0,c.qr)(Promise.all([n.e(893),n.e(2656),n.e(3467)]).then(n.bind(n,65515)),e),o=new i({layer:this,supportedSourceTypes:this.supportedSourceTypes});return(0,r.mS)(t,(0,a.Bf)((0,c.u7)(e,()=>o.cancelLoad())??(0,a.hA)()),!1),await o.load({signal:e}),o}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}createQuery(){const e=(0,k.VZ)(this);return e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,t){return(0,k.Vq)(this,e,t,this.getField(e)?.domain??null)}async queryFeatures(e,t){const n=await this.load(),r=await n.source.queryFeatures(D.A.from(e)??n.createQuery(),t),i=this.graphicOrigin;if(r?.features)for(const e of r.features)e.layer=e.sourceLayer=n,e.origin=i;return r}async queryObjectIds(e,t){const n=await this.load();return n.source.queryObjectIds(D.A.from(e)??n.createQuery(),t)}async queryFeatureCount(e,t){const n=await this.load();return n.source.queryFeatureCount(D.A.from(e)??n.createQuery(),t)}async queryExtent(e,t){const n=await this.load();return n.source.queryExtent(D.A.from(e)??n.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,N.D)(this,e)}async initLayerProperties(e){this._set("source",e),e.sourceJSON&&(this.sourceJSON=e.sourceJSON,this.read(e.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl})),this._verifySource(),(0,P.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,k.jp)(this)}_verifySource(){if(this.version&&this.version<10.8)throw new s.A(z+":unsupported-version","The feature service must be version 10.8 or above.");const e=["DIMLENGTH","BEGINX","BEGINY","ENDX","ENDY","DIMX","DIMY","TEXTX","TEXTY","DIMTYPE","EXTANGLE","STYLEID","USECUSTOMLENGTH","CUSTOMLENGTH","DIMDISPLAY","EXTDISPLAY","MARKERDISPLAY","TEXTANGLE"],t=e.filter(e=>!this.fieldsIndex.has(e));if(t.length)throw new s.A(z+":missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}_fetchFirstValidLayerId(e){return(0,o.A)(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(e=>{const t=e.data;if(!t)return;this.applyPreferredHost(t);const n=[...t.layers||[],...t.tables||[]];return n.find(({type:e})=>!e||this.supportedSourceTypes.has(e))?.id})}};(0,r.Cg)([(0,p.MZ)({type:d.A,json:{origins:{service:{read:{source:"sourceSpatialReference"}}}}})],U.prototype,"attributeSpatialReference",void 0),(0,r.Cg)([(0,p.MZ)(F.es)],U.prototype,"barrierWeight",void 0),(0,r.Cg)([(0,p.MZ)({json:{write:!0}})],U.prototype,"editingEnabled",null),(0,r.Cg)([(0,p.MZ)({readOnly:!0})],U.prototype,"effectiveEditingEnabled",null),(0,r.Cg)([(0,p.MZ)({...$.fields,readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],U.prototype,"fields",void 0),(0,r.Cg)([(0,p.MZ)($.fieldsIndex)],U.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,p.MZ)({readOnly:!0,clonable:!1})],U.prototype,"graphicOrigin",void 0),(0,r.Cg)([(0,p.MZ)(F.id)],U.prototype,"id",void 0),(0,r.Cg)([(0,p.MZ)({type:["ArcGISDimensionLayer"]})],U.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,p.MZ)($.outFields)],U.prototype,"outFields",void 0),(0,r.Cg)([(0,p.MZ)(F.M6)],U.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,p.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],U.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,p.MZ)({readOnly:!0})],U.prototype,"defaultPopupTemplate",null),(0,r.Cg)([(0,p.MZ)({readOnly:!0})],U.prototype,"referenceScale",void 0),(0,r.Cg)([(0,p.MZ)({clonable:!1,readOnly:!0})],U.prototype,"source",void 0),(0,r.Cg)([(0,p.MZ)()],U.prototype,"styleCollection",void 0),(0,r.Cg)([(0,p.MZ)({type:String})],U.prototype,"sublayerTitleMode",void 0),(0,r.Cg)([(0,p.MZ)({readOnly:!0})],U.prototype,"symbolFields",void 0),(0,r.Cg)([(0,_.w)("service","title",["name"])],U.prototype,"readTitleFromService",null),(0,r.Cg)([(0,_.w)("portal-item","title")],U.prototype,"readTitleFromPortalItem",null),(0,r.Cg)([(0,p.MZ)({json:{read:!1},value:"dimension-feature",readOnly:!0})],U.prototype,"type",void 0),U=(0,r.Cg)([(0,p.$K)("esri.layers.DimensionFeatureLayer")],U);const q=U},52136(e,t,n){var r=n(5482),i=n(91429);n.d(t,["p",0,e=>{const t=e;let n=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,r.Cg)([(0,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}])},40775(e,t,n){var r=n(5482),i=n(11254),o=n(49186),l=n(84952),s=n(91429),a=n(95250);function u(e,t){const n=e.indexOf(t);if(-1!==n)return e[n+1]}function c(e,t){const n=u(e,t);return n&&"string"==typeof n?JSON.parse(n):null}function p(e){const t=u(e,"ReferenceScale")??0;return"string"!=typeof t?t:parseFloat(t)}function d(e){return c(e,"SymbolCollection")??void 0}function h(e){return c(e,"StyleCollection")??void 0}n.d(t,["I",0,e=>{const t=e;let n=class extends t{async loadDataElement(e){if(!this.url||null==this.layerId)throw new o.A("fetchDataElement:missing-url-or-layerId","The layer must have a url and a layerId to fetch the data element.");const t=(0,l.fj)(this.url,"queryDataElements"),n={f:"json",layers:this.layerId},{data:r}=await(0,i.A)(t,{...e,responseType:"json",query:n}),s=r.layerDataElements.find(e=>e.layerId===this.layerId)?.dataElement;if(!s)throw new o.A("fetchDataElement:not-available","A data element for this layer could not be retrieved.");const u=s.extensionProperties?.propertySetItems??[],c=p(u),f=(0,a.S)(d(u)),y=(0,a.S)(h(u));this.read({referenceScale:c,symbolCollection:f,styleCollection:y},{origin:"service"})}};return n=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.DataElementMixin")],n),n}])},82935(e,t,n){var r=n(5482),i=n(91429),o=n(89317),l=n(30524),s=n(96184),a=n(73133),u=n(79677),c=n(10184),p=n(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.K}}};n.d(t,["B",0,d,"e",0,e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const n=t.timeInfo.exportOptions;if(!n)return null;const r=n.timeOffset,i=a.j.fromJSON(n.timeOffsetUnits);return r&&i?new c.A({value:r,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,l.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,r.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],n.prototype,"timeExtent",void 0),(0,r.Cg)([(0,i.MZ)({type:c.A})],n.prototype,"timeOffset",void 0),(0,r.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],n.prototype,"readOffset",null),(0,r.Cg)([(0,i.MZ)({value:null,type:s.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],n.prototype,"timeInfo",null),(0,r.Cg)([(0,i.MZ)(d)],n.prototype,"useViewTime",void 0),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],n),n}])},28032(e,t,n){n.d(t,{A:()=>a});var r=n(5482),i=n(69540),o=n(25482),l=n(91429),s=n(56400);let a=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,l.MZ)()],a.prototype,"creatorField",void 0),(0,r.Cg)([(0,l.MZ)()],a.prototype,"creationDateField",void 0),(0,r.Cg)([(0,l.MZ)()],a.prototype,"editorField",void 0),(0,r.Cg)([(0,l.MZ)()],a.prototype,"editDateField",void 0),(0,r.Cg)([(0,l.MZ)()],a.prototype,"realm",void 0),(0,r.Cg)([(0,l.MZ)((0,s.P6)("dateFieldsTimeReference",!0))],a.prototype,"timeZone",void 0),a=(0,r.Cg)([(0,l.$K)("esri.layers.support.EditFieldsInfo")],a)},37352(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),o=n(7762),l=n(25482),s=n(91429);let a=r=class extends l.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.layers.support.LayerFloorInfo")],a)},45067(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),o=n(66552),l=n(25482),s=n(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(l.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,r.Cg)([(0,s.MZ)({json:{read:a.read,write:a.write}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,s.$K)("esri.layers.support.Relationship")],c)},96184(e,t,n){n.d(t,{A:()=>h});var r=n(5482),i=n(69540),o=n(25482),l=n(91429),s=n(79677),a=n(10184),u=n(56400),c=n(36005),p=n(43937);function d(e,t){return a.A.fromJSON({value:e,unit:t})}let h=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?s.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,r.Cg)([(0,l.MZ)({type:s.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,r.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,r.Cg)([(0,p.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,r.Cg)([(0,l.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,r.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,r.Cg)([(0,p.K)("interval")],h.prototype,"writeInterval",null),(0,r.Cg)([(0,l.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,r.Cg)([(0,l.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,r.Cg)([(0,l.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,r.Cg)([(0,l.$K)("esri.layers.support.TimeInfo")],h)},17036(e,t,n){n.d(t,{p:()=>a});var r=n(44208),i=n(53966),o=n(20437),l=n(95466),s=n(30524);function a(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,r.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return l.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const n=this.fieldsIndex?.has(t);n||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,s.DB)(this.fieldsIndex,e)}}}}},32730(e,t,n){n.d(t,{BI:()=>h,D3:()=>p,XJ:()=>d,lc:()=>c,mX:()=>y,rU:()=>f,tH:()=>w,zA:()=>I});var r=n(799);const i="__begin__",o="__end__",l=new RegExp(i,"ig"),s=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function p(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(g);return t?.[1].trim()||null}(t.expression);case"arcade":return w(t.expression)}return null}function y(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(l,'" + ').replaceAll(s,' + "')):t='""',t}const g=/^\s*\{([^}]+)\}\s*$/i,m=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function w(e){if(!e)return null;let t=m.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const M=Symbol("LabelClassInstance");function I(e){return null!=e&&"object"==typeof e&&M in e}n.d(t,["vK",0,M])},5757(e,t,n){n.d(t,{B:()=>i});const r=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}n.d(t,["P",0,r])},98205(e,t,n){n.d(t,{KZ:()=>s,eh:()=>l,gf:()=>o,of:()=>i});const r=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function l(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function s(e,t){const n=t||l(e),r=e.valueUnit||"unknown";return"unknown"===n?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}n.d(t,["uY",0,r])},41366(e,t,n){var r=n(5482),i=n(66552),o=n(53966),l=n(91429),s=n(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field";n.d(t,["K",0,e=>{const t=e;let n=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,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,l.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,s.e)(a,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,l.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n},"Q",0,a])},95250(e,t,n){function r(e){return i(e,{CIMRGBColor:o,CIMCharacterMarker:l})}function i(e,t){if(null==e)return e;if(Array.isArray(e))return e.map(e=>i(e,t));if("object"==typeof e){if("type"in e&&"string"==typeof e.type&&t[e.type])return t[e.type](e);const n={};for(const[r,o]of Object.entries(e))n[r]=i(o,t);return n}return e}function o(e){const[t,n,r,i]=e.values;return[t,n,r,255*i/100]}function l(){return{type:"CIMVectorMarker",enable:!0,size:40,colorLocked:!1,anchorPointUnits:"Relative",frame:{xmin:-10,ymin:-10,xmax:10,ymax:10},markerGraphics:[{type:"CIMMarkerGraphic",textString:"■",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",underline:!1,blockProgression:"TTB",depth3D:0,extrapolateBaselines:!0,flipAngle:90,fontEffects:"Normal",fontEncoding:"Unicode",haloSize:0,height:8,hinting:"Default",horizontalAlignment:"Center",kerning:!0,letterSpacing:10,letterWidth:100,ligatures:!1,lineGapType:"ExtraLeading",symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},symbol3DProperties:{type:"CIM3DSymbolProperties",dominantSizeAxis3D:"Z",rotationOrder3D:"XYZ",scaleZ:1,scaleY:1},textCase:"Normal",textDirection:"LTR",verticalAlignment:"Center",verticalGlyphOrientation:"Right",wordSpacing:100,billboardMode3D:"FaceNearPlane"}}],scaleSymbolsProportionally:!0,respectFrame:!0}}n.d(t,{S:()=>r})},93470(e,t,n){const r=[252,146,31,255],i={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r};n.d(t,["Cb",0,i,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,r,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,o])}}]);
|