@arcgis/core 5.2.0-next.81 → 5.2.0-next.83
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/assets/components/assets/icon/deleteAndReplaceFeatures16.json +1 -0
- package/assets/components/assets/icon/deleteAndReplaceFeatures24.json +1 -0
- package/assets/components/assets/icon/deleteAndReplaceFeatures32.json +1 -0
- package/assets/components/assets/icon/moveAndRotate16.json +1 -0
- package/assets/components/assets/icon/moveAndRotate24.json +1 -0
- package/assets/components/assets/icon/moveAndRotate32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{88d6a7ebded4d359deb0.js → 027af54888befb209aaa.js} +1 -1
- package/assets/esri/core/workers/chunks/028bee58f7bc19e5e39e.js +1 -0
- package/assets/esri/core/workers/chunks/{9bd4cda90daf90189bfc.js → 03895d49fbd34ccb3ead.js} +1 -1
- package/assets/esri/core/workers/chunks/{694216224d5fd3a8956d.js → 04f5ff688785a4bd3b03.js} +1 -1
- package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +1 -0
- package/assets/esri/core/workers/chunks/{3adba34224cba869a39c.js → 10ac92dcd3738ec23dfb.js} +1 -1
- package/assets/esri/core/workers/chunks/{4a537054c99cbc492715.js → 11d911f70bf0ca252c19.js} +1 -1
- package/assets/esri/core/workers/chunks/1354b8442c2c501238f1.js +1 -0
- package/assets/esri/core/workers/chunks/{95ff342e5c29bf91a765.js → 13a43c87d7952facbed4.js} +1 -1
- package/assets/esri/core/workers/chunks/{8cfe817299eb16cb2664.js → 1438f571f738e83b4d1c.js} +1 -1
- package/assets/esri/core/workers/chunks/{bfd532e33800755b1f48.js → 14511c92cbbc26d80c86.js} +1 -1
- package/assets/esri/core/workers/chunks/{e59101f1d060d0a30a65.js → 14def8f47ae7265dd71b.js} +1 -1
- package/assets/esri/core/workers/chunks/{fbb0b2f4ec0ba458ddeb.js → 19dac19122eeeb5e36b2.js} +1 -1
- package/assets/esri/core/workers/chunks/1b00789511c9b27da4a7.js +1 -0
- package/assets/esri/core/workers/chunks/1b277311a4beb4243bf8.js +2 -0
- package/assets/esri/core/workers/chunks/1d03db4df18524cf391c.js +1 -0
- package/assets/esri/core/workers/chunks/{f71a3fe5f30aa782193a.js → 20db27d9828397d0b37a.js} +1 -1
- package/assets/esri/core/workers/chunks/24bfe759c8848143361e.js +1 -0
- package/assets/esri/core/workers/chunks/{b3081c0b037abc49d09b.js → 26c12804a0d801df29bf.js} +1 -1
- package/assets/esri/core/workers/chunks/{8006ffa263fb8016afdb.js → 26c8ed0aef59ed6d5267.js} +1 -1
- package/assets/esri/core/workers/chunks/2d1c0d80a9843567df8d.js +1 -0
- package/assets/esri/core/workers/chunks/{2b79b376b0d60d2f0d5c.js → 2d6e1bf7c1981bed4357.js} +1 -1
- package/assets/esri/core/workers/chunks/30dade7bf6032be32599.js +2 -0
- package/assets/esri/core/workers/chunks/{7028671ffdaafe2725bc.js → 33aaa5a49e396a0aca47.js} +1 -1
- package/assets/esri/core/workers/chunks/{dcec7fc66385c12ecdf0.js → 33dc93d82407052fafe1.js} +1 -1
- package/assets/esri/core/workers/chunks/{578904043e873424904c.js → 3a6990058f1003bd2812.js} +1 -1
- package/assets/esri/core/workers/chunks/{0fd7590e545864f5fff4.js → 3ca0d503ce733088a6c2.js} +1 -1
- package/assets/esri/core/workers/chunks/{bfac0f47e81055585002.js → 3f0625c31dd46b563160.js} +1 -1
- package/assets/esri/core/workers/chunks/{9a5894e8ebdf0e97b98f.js → 43122c435497228a7583.js} +1 -1
- package/assets/esri/core/workers/chunks/{8fff4a41a54d39db470a.js → 44d13f65465646e5f6e9.js} +1 -1
- package/assets/esri/core/workers/chunks/{9c17bfbfc347ac289b6e.js → 463b7952a4825541eb13.js} +1 -1
- package/assets/esri/core/workers/chunks/46b3d6814ba4c0a71111.js +1 -0
- package/assets/esri/core/workers/chunks/49784f8e8e5fac0cc5a9.js +1 -0
- package/assets/esri/core/workers/chunks/{1ed6a8bb415999c4e8a6.js → 4cf2c33494cb75942511.js} +1 -1
- package/assets/esri/core/workers/chunks/{d8b38c196b06e801c4e6.js → 5156d94f01b4fbbf8cde.js} +1 -1
- package/assets/esri/core/workers/chunks/{6c372d85b5783dd2a793.js → 52042fd36f4a572938f0.js} +1 -1
- package/assets/esri/core/workers/chunks/{e8a9a686a3c23afc9d1f.js → 5568448e7f51508ffdf5.js} +1 -1
- package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +1 -0
- package/assets/esri/core/workers/chunks/598221c7054415b84904.js +1 -0
- package/assets/esri/core/workers/chunks/{89df303abcbc0167e4d2.js → 5a006ff759fad9fc25cb.js} +1 -1
- package/assets/esri/core/workers/chunks/{218ddad849745d652a28.js → 5a3c1fe24814a345ab39.js} +1 -1
- package/assets/esri/core/workers/chunks/5b292831127bf981c1c5.js +1 -0
- package/assets/esri/core/workers/chunks/{40ebe69b08ea54e0e780.js → 5b60fc95757b2a53558a.js} +1 -1
- package/assets/esri/core/workers/chunks/{c336f300fe6100e36592.js → 5c634b3e6dc76299b1df.js} +1 -1
- package/assets/esri/core/workers/chunks/{5a67bd724aa7fcdebe16.js → 5d30accf1dcda0c70f95.js} +1 -1
- package/assets/esri/core/workers/chunks/{dbca32f0e0c2c2e2ccf3.js → 5f13ade03500b39c1720.js} +1 -1
- package/assets/esri/core/workers/chunks/{8d16d53643dd8d489c25.js → 605da92d28e067f4a4c6.js} +1 -1
- package/assets/esri/core/workers/chunks/6154f4d39f9e53fe56cc.js +1 -0
- package/assets/esri/core/workers/chunks/62b116307483d5f0e37d.js +2 -0
- package/assets/esri/core/workers/chunks/6433a623af765b7e53ab.js +1 -0
- package/assets/esri/core/workers/chunks/{5c9a398e659ecd427fb5.js → 657528eb6a3d3b3cb631.js} +1 -1
- package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +1 -0
- package/assets/esri/core/workers/chunks/{d845f2115848b56c0369.js → 66292e98b4111ea3658d.js} +1 -1
- package/assets/esri/core/workers/chunks/{f57e5e7d0748d9a370f7.js → 680496660b2aaa710099.js} +1 -1
- package/assets/esri/core/workers/chunks/6d11b922898a8039dbe7.js +1 -0
- package/assets/esri/core/workers/chunks/{fbcc346fa603d6edac98.js → 6db4a4f9a9ce7cc738d0.js} +1 -1
- package/assets/esri/core/workers/chunks/{a9e944f28bd573c8230d.js → 6eb28086dc28f6d144ec.js} +1 -1
- package/assets/esri/core/workers/chunks/7188559a685e0ba30c4f.js +1 -0
- package/assets/esri/core/workers/chunks/{a3cbd3e983e21f40b253.js → 724b2631c9ced80a1661.js} +1 -1
- package/assets/esri/core/workers/chunks/7493ce5d02224c07a6d5.js +1 -0
- package/assets/esri/core/workers/chunks/7ad70c8a56f2481adc82.js +1 -0
- package/assets/esri/core/workers/chunks/7bd8ebb321ecf1f06496.js +1 -0
- package/assets/esri/core/workers/chunks/7ca188f824956a5cac35.js +2 -0
- package/assets/esri/core/workers/chunks/{d0aaa4ad7f76f577f117.js → 7d5877eede2f552dea9f.js} +1 -1
- package/assets/esri/core/workers/chunks/{bf5831a7c12b1e42c669.js → 83a77d3f45c8c21cec45.js} +1 -1
- package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +1 -0
- package/assets/esri/core/workers/chunks/{d62a5a33a24418a3e283.js → 88771a75adcbd54c4fac.js} +1 -1
- package/assets/esri/core/workers/chunks/{37fb38db03cb39e3c342.js → 8c6a60d96c73982febd2.js} +1 -1
- package/assets/esri/core/workers/chunks/{e63f94c8097555b266ad.js → 8e1b913067b8e88ff365.js} +2 -2
- package/assets/esri/core/workers/chunks/{6065caa7981cef255277.js → 911f3a1b8dd4bc5c9782.js} +1 -1
- package/assets/esri/core/workers/chunks/{70c371c9f133ab9f7925.js → 918577ea025f67ebe372.js} +1 -1
- package/assets/esri/core/workers/chunks/{e3eab61815ef1c521a6c.js → 9568932bafe689c38f63.js} +1 -1
- package/assets/esri/core/workers/chunks/{e72fa08b0bd324514a0e.js → 996ac351e2322298a17d.js} +1 -1
- package/assets/esri/core/workers/chunks/99966339b061eb9945b8.js +1 -0
- package/assets/esri/core/workers/chunks/{d1baf17f3219f70106f7.js → 9be05d32528b395a7d34.js} +1 -1
- package/assets/esri/core/workers/chunks/{552d6aecc7d88d16227b.js → 9d41c02601d0bb75b525.js} +1 -1
- package/assets/esri/core/workers/chunks/{64a1ffc221e5b63b43fb.js → a4bb0951e1389e7b803c.js} +1 -1
- package/assets/esri/core/workers/chunks/{74cd17aca5f7e0caac90.js → a9a1061cdf82b372835f.js} +1 -1
- package/assets/esri/core/workers/chunks/{d2448e26e19005ef9ab2.js → aabffe53508730e504ec.js} +1 -1
- package/assets/esri/core/workers/chunks/{82da6d98bd4980a3d454.js → af88f8dd1a53e4740aa6.js} +1 -1
- package/assets/esri/core/workers/chunks/b61c30cdf698b4d1573a.js +1 -0
- package/assets/esri/core/workers/chunks/{61190c833791f0833a39.js → b7bcc2d0b0fa8e703c83.js} +1 -1
- package/assets/esri/core/workers/chunks/{37a121316d114999ac70.js → ba67aaa08e4f11e1140a.js} +1 -1
- package/assets/esri/core/workers/chunks/bbb97c38d8670329d07e.js +2 -0
- package/assets/esri/core/workers/chunks/{5d50a030bf9f4e94f69d.js → bbeb61d9302323bae9fb.js} +1 -1
- package/assets/esri/core/workers/chunks/bd8b483e70acf0fc601e.js +1 -0
- package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +1 -0
- package/assets/esri/core/workers/chunks/c1f125594e684c1b4ffc.js +1 -0
- package/assets/esri/core/workers/chunks/c90dfdf2302b7db1f6f7.js +1 -0
- package/assets/esri/core/workers/chunks/{09f0805b32e6cab980e6.js → cc1a00694cc9f7c606d6.js} +1 -1
- package/assets/esri/core/workers/chunks/{8a36b999cbd65dd2f16c.js → d8c3bdc3c6be8ba7c5e6.js} +1 -1
- package/assets/esri/core/workers/chunks/{bc30c0de6dcb106b24a1.js → da233362b06b6db375f1.js} +1 -1
- package/assets/esri/core/workers/chunks/{ce81f29134ab3971bd54.js → dd91824692bec809909c.js} +1 -1
- package/assets/esri/core/workers/chunks/{f9e9e79f78be32e5d475.js → e706c37b44e98fbcb5f7.js} +1 -1
- package/assets/esri/core/workers/chunks/ef269dd559c1c79957e5.js +1 -0
- package/assets/esri/core/workers/chunks/{4a6158994a8cc8b8664f.js → f0692e10af5983f6ad93.js} +1 -1
- package/assets/esri/core/workers/chunks/{40b842d055b87e442156.js → f20b88f5a6d3b988a055.js} +1 -1
- package/assets/esri/core/workers/chunks/{fae32c9ce811934b6a64.js → f6ae0c483579e227a2f2.js} +1 -1
- package/assets/esri/core/workers/chunks/{4c15551e33a3c6cda61d.js → f762f0f6c83748d8e328.js} +1 -1
- package/assets/esri/core/workers/chunks/{4eaa93859ceec1b38530.js → fa29b5064d6626cfc019.js} +1 -1
- package/assets/esri/core/workers/chunks/fcf7299e2ee904ab9882.js +1 -0
- package/assets/esri/core/workers/chunks/{388b71211a0ad5cbd6b9.js → fe06cc2f90b2d551e4c1.js} +1 -1
- package/assets/esri/core/workers/chunks/{86035e46777ed896c658.js → ffad5fd9c5e98f4fe2c3.js} +1 -1
- package/assets/esri/geometry/support/pe-wasm.wasm +0 -0
- package/chunks/Bufferer-CclWhXVb.js +1 -1
- package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
- package/chunks/EmissionComposite.glsl.js +7 -1
- package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
- package/chunks/GeodeticUtils.js +1 -1
- package/chunks/GeographicTransformation.js +2 -0
- package/chunks/Geometry.js +1 -1
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/OperatorCrosses.js +1 -1
- package/chunks/OperatorCut.js +1 -1
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
- package/chunks/OperatorGeodeticLength.js +1 -1
- package/chunks/OperatorGraphicBuffer.js +1 -1
- package/chunks/OperatorIntegrate.js +1 -1
- package/chunks/OperatorIntersects.js +1 -1
- package/chunks/OperatorMultiPartToSinglePart.js +1 -1
- package/chunks/OperatorOverlaps.js +1 -1
- package/chunks/OperatorProximity.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/ProjectionTransformation.js +1 -1
- package/chunks/SideCalculator2D-DX0718xq.js +1 -1
- package/chunks/UnitFactory.js +1 -1
- package/chunks/containsOperator.js +1 -1
- package/chunks/disjointOperator.js +1 -1
- package/chunks/equalsOperator.js +1 -1
- package/chunks/pe-wasm.js +1 -1
- package/chunks/relateOperator.js +1 -1
- package/config.js +1 -1
- package/geometry/operators/gx/operatorAutoComplete.js +1 -1
- package/geometry/operators/gx/operatorBuffer.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/operatorPolygonOverlay.js +1 -1
- package/geometry/operators/gx/operatorSimplify.js +1 -1
- package/geometry/operators/gx/operatorSymmetricDifference.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/reshapeOperator.js +1 -1
- package/geometry/operators/support/GeographicTransformation.d.ts +7 -0
- package/geometry/operators/support/GeographicTransformation.js +1 -1
- package/geometry/operators/support/GeographicTransformationStep.d.ts +7 -1
- package/geometry/operators/support/GeographicTransformationStep.js +1 -1
- package/geometry/operators/support/geographicTransformationUtils.d.ts +13 -2
- package/geometry/operators/support/geographicTransformationUtils.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/operators/support/projectionTransformation.js +1 -1
- package/geometry/support/spatialReferenceUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/raster/types.d.ts +1 -1
- package/layers/support/AggregateField.d.ts +9 -3
- package/layers/support/FeatureReductionCluster.d.ts +16 -6
- package/layers/support/I3SExtractChanges.js +2 -0
- package/package.json +4 -4
- package/renderers/UniqueValueRenderer.js +1 -1
- package/renderers/support/AuthoringInfo.d.ts +8 -3
- package/support/revision.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONLabelUtils.js +2 -0
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleRepository.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/3d/GroundView3D.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightDrawToolRenderer.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightEditTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightInteractionVisuals.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightItemTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementLeafPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSight/lineOfSightPlacementUtils.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/PinchAndPanNavigation.js +1 -1
- package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
- package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/SceneLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SOverrides.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
- package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
- package/views/3d/state/utils/navigationUtils.js +1 -1
- package/views/3d/support/GroundAndIMSurface.js +2 -0
- package/views/3d/support/PBFDecoder.js +1 -1
- package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/PointOfInterest.js +1 -1
- package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/webgl-engine/Stage.js +1 -1
- package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
- package/views/MapView.d.ts +0 -60
- package/views/SceneView.js +1 -1
- package/views/View2D.d.ts +59 -1
- package/views/draw/support/PluginContext.js +1 -1
- package/views/draw/support/managers/InteractiveHandleManager.js +1 -1
- package/views/draw/support/types.d.ts +6 -0
- package/views/interactive/interactiveToolUtils.js +1 -1
- package/widgets/Legend/support/sizeRampUtils.js +1 -1
- package/widgets/Legend/support/utils.js +1 -1
- package/widgets/Widget.js +1 -1
- package/widgets/support/jsxWidgetSupport.js +1 -1
- package/assets/esri/core/workers/chunks/0dcfd82a2669df6eb5a0.js +0 -1
- package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +0 -1
- package/assets/esri/core/workers/chunks/21f763694a41968ac21a.js +0 -1
- package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +0 -1
- package/assets/esri/core/workers/chunks/25696c194457e42b3bdc.js +0 -1
- package/assets/esri/core/workers/chunks/2f3525df00fb265661fc.js +0 -1
- package/assets/esri/core/workers/chunks/453c69879f4b82ba13a1.js +0 -1
- package/assets/esri/core/workers/chunks/4f36596280142be1c666.js +0 -1
- package/assets/esri/core/workers/chunks/53d80202b5f43542d45b.js +0 -1
- package/assets/esri/core/workers/chunks/540a3685e614bb006744.js +0 -1
- package/assets/esri/core/workers/chunks/61312d3b5477ed9d87d9.js +0 -2
- package/assets/esri/core/workers/chunks/6f08c8a1e8e3ffd0a96a.js +0 -1
- package/assets/esri/core/workers/chunks/71ee7c51d2c60a180f1e.js +0 -1
- package/assets/esri/core/workers/chunks/856dba96332509fb1d7a.js +0 -2
- package/assets/esri/core/workers/chunks/9234a293d61e134f121f.js +0 -1
- package/assets/esri/core/workers/chunks/927582ec15bff2acbb49.js +0 -1
- package/assets/esri/core/workers/chunks/95b9eaf7a49eeb17e62f.js +0 -1
- package/assets/esri/core/workers/chunks/973440553c9e058b0132.js +0 -1
- package/assets/esri/core/workers/chunks/98739b6e7904045edbab.js +0 -1
- package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +0 -1
- package/assets/esri/core/workers/chunks/c5853fbb975e169c44c5.js +0 -1
- package/assets/esri/core/workers/chunks/c899457f19b749516275.js +0 -1
- package/assets/esri/core/workers/chunks/d4b78d11a5ce4320a29a.js +0 -1
- package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +0 -1
- package/assets/esri/core/workers/chunks/e2473de49189d93714d3.js +0 -1
- package/assets/esri/core/workers/chunks/eca0736953a20cfc64ad.js +0 -2
- package/assets/esri/core/workers/chunks/efd176c5ac35f313e7a2.js +0 -1
- package/assets/esri/core/workers/chunks/f2d99f693a590f384315.js +0 -1
- package/assets/esri/core/workers/chunks/fc2234e0d202631f3abf.js +0 -2
- package/assets/esri/core/workers/chunks/fcb943c3b31b1bf62e65.js +0 -2
- package/assets/esri/core/workers/chunks/ffe2cbfea38b92a231d6.js +0 -1
- /package/assets/esri/core/workers/chunks/{eca0736953a20cfc64ad.js.LICENSE.txt → 1b277311a4beb4243bf8.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{856dba96332509fb1d7a.js.LICENSE.txt → 30dade7bf6032be32599.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{fc2234e0d202631f3abf.js.LICENSE.txt → 62b116307483d5f0e37d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{61312d3b5477ed9d87d9.js.LICENSE.txt → 7ca188f824956a5cac35.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{e63f94c8097555b266ad.js.LICENSE.txt → 8e1b913067b8e88ff365.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{fcb943c3b31b1bf62e65.js.LICENSE.txt → bbb97c38d8670329d07e.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6187],{46187(t,e,o){async function r(t={}){var e,o=t,r="";try{r=new URL(".","").href}catch{}e=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var _,p,n=console.log.bind(console),i=console.error.bind(console),c=!1;function a(t,e){t||m(e)}var y,s,P,g,u,f,b,E,d,T=!1;function O(){var t=No.buffer;u=new Int8Array(t),s=new Int16Array(t),d=new Uint8Array(t),P=new Int32Array(t),E=new Uint32Array(t),f=new Float32Array(t),b=new Float64Array(t),g=new BigInt64Array(t),new BigUint64Array(t)}function m(t){i(t=`Aborted(${t})`),c=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw p?.(e),e}function h(){return o.locateFile?function(t){return o.locateFile?o.locateFile(t,r):r+t}("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href}async function S(t){try{var o=await e(t);return new Uint8Array(o)}catch{}return function(){throw"both async and sync fetching of the wasm failed"}()}var N,l,v,M,j,D,A,R,C,G,I,L,U,w,F,Y,X,x,H,z,Z,W,B,q,K,k,V,$,J,Q,tt,et,ot,rt,_t,pt,nt,it,ct,at,yt,st,Pt,gt,ut,ft,bt,Et,dt,Tt,Ot,mt,ht,St,Nt,lt,vt,Mt,jt,Dt,At,Rt,Ct,Gt,It,Lt,Ut,wt,Ft,Yt,Xt,xt,Ht,zt,Zt,Wt,Bt,qt,Kt,kt,Vt,$t,Jt,Qt,te,ee,oe,re,_e,pe,ne,ie,ce,ae,ye,se,Pe,ge,ue,fe,be,Ee,de,Te,Oe,me,he,Se,Ne,le,ve,Me,je,De,Ae,Re,Ce,Ge,Ie,Le,Ue,we,Fe,Ye,Xe,xe,He,ze,Ze,We,Be,qe,Ke,ke,Ve,$e,Je,Qe,to,eo,oo,ro,_o,po,no,io,co,ao,yo,so,Po,go,uo,fo,bo,Eo,To,Oo,mo,ho,So,No,lo=globalThis.TextDecoder&&new TextDecoder,vo=(t,e=0,o,r)=>{var _=((t,e,o,r)=>{var _=e+o;if(r)return _;for(;t[e]&&!(e>=_);)++e;return e})(t,e,o,r);if(_-e>16&&t.buffer&&lo)return lo.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},Mo=(t,e,o)=>t?vo(d,t,e,o):"",jo=[0,31,60,91,121,152,182,213,244,274,305,335],Do=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.codePointAt(n);if(i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i,n++}}return e[o]=0,o-_},Ro=(t,e,o)=>Ao(t,d,e,o),Co=(t,e)=>Math.ceil(t/e)*e,Go=t=>{var e=(t-No.buffer.byteLength+65535)/65536|0;try{return No.grow(e),O(),1}catch(t){}},Io={},Lo=()=>{if(!Lo.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:"./this.program"};for(var e in Io)void 0===Io[e]?delete t[e]:t[e]=Io[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);Lo.strings=o}return Lo.strings},Uo=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},wo=[null,[],[]],Fo=(t,e)=>{var o=wo[t];0===e||10===e?((1===t?n:i)(vo(o)),o.length=0):o.push(e)};function Yo(t){o._webidl_free=t.u,o._webidl_malloc=t.v,N=o._emscripten_bind_PeObject_getCode_0=t.w,l=o._emscripten_bind_PeObject_getName_1=t.x,v=o._emscripten_bind_PeObject_getType_0=t.y,M=o._emscripten_bind_PeCoordsys_isEqual_1=t.z,j=o._emscripten_bind_PeCoordsys_getCode_0=t.A,D=o._emscripten_bind_PeCoordsys_getName_1=t.B,A=o._emscripten_bind_PeCoordsys_getType_0=t.C,R=o._emscripten_bind_PeUnit_getUnitFactor_0=t.D,C=o._emscripten_bind_PeUnit_getCode_0=t.E,G=o._emscripten_bind_PeUnit_getName_1=t.F,I=o._emscripten_bind_PeUnit_getType_0=t.G,L=o._emscripten_bind_VoidPtr___destroy___0=t.H,U=o._emscripten_bind_PeAngunit_getCode_0=t.I,w=o._emscripten_bind_PeAngunit_getName_1=t.J,F=o._emscripten_bind_PeAngunit_getType_0=t.K,Y=o._emscripten_bind_PeAngunit_getUnitFactor_0=t.L,X=o._emscripten_bind_PeDatum_getSpheroid_0=t.M,x=o._emscripten_bind_PeDatum_getCode_0=t.N,H=o._emscripten_bind_PeDatum_getName_1=t.O,z=o._emscripten_bind_PeDatum_getType_0=t.P,Z=o._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=t.Q,W=o._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=t.R,B=o._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=t.S,q=o._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=t.T,K=o._emscripten_bind_PeDefs_get_PE_DD_MAX_0=t.U,k=o._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=t.V,V=o._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=t.W,$=o._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=t.X,J=o._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=t.Y,Q=o._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=t.Z,tt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=t._,et=o._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=t.$,ot=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=t.aa,rt=o._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=t.ba,_t=o._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=t.ca,pt=o._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=t.da,nt=o._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=t.ea,it=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=t.fa,ct=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=t.ga,at=o._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=t.ha,yt=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=t.ia,st=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=t.ja,Pt=o._emscripten_bind_PeDefs_get_PE_PARM_X0_0=t.ka,gt=o._emscripten_bind_PeDefs_get_PE_PARM_ND_0=t.la,ut=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=t.ma,ft=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=t.na,bt=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=t.oa,Et=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=t.pa,dt=o._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=t.qa,Tt=o._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=t.ra,Ot=o._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=t.sa,mt=o._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=t.ta,ht=o._emscripten_bind_PeDouble_PeDouble_1=t.ua,St=o._emscripten_bind_PeDouble_get_val_0=t.va,Nt=o._emscripten_bind_PeDouble_set_val_1=t.wa,lt=o._emscripten_bind_PeDouble___destroy___0=t.xa,vt=o._emscripten_bind_PeFactory_initialize_1=t.ya,Mt=o._emscripten_bind_PeFactory_factoryByType_2=t.za,jt=o._emscripten_bind_PeFactory_fromString_2=t.Aa,Dt=o._emscripten_bind_PeFactory_getCode_1=t.Ba,At=o._emscripten_bind_PeGCSExtent_PeGCSExtent_6=t.Ca,Rt=o._emscripten_bind_PeGCSExtent_getLLon_0=t.Da,Ct=o._emscripten_bind_PeGCSExtent_getSLat_0=t.Ea,Gt=o._emscripten_bind_PeGCSExtent_getRLon_0=t.Fa,It=o._emscripten_bind_PeGCSExtent_getNLat_0=t.Ga,Lt=o._emscripten_bind_PeGCSExtent___destroy___0=t.Ha,Ut=o._emscripten_bind_PeGeogcs_Delete_0=t.Ia,wt=o._emscripten_bind_PeGeogcs_cloneAlterUnits_1=t.Ja,Ft=o._emscripten_bind_PeGeogcs_getDatum_0=t.Ka,Yt=o._emscripten_bind_PeGeogcs_getPrimem_0=t.La,Xt=o._emscripten_bind_PeGeogcs_getUnit_0=t.Ma,xt=o._emscripten_bind_PeGeogcs_isEqual_1=t.Na,Ht=o._emscripten_bind_PeGeogcs_getCode_0=t.Oa,zt=o._emscripten_bind_PeGeogcs_getName_1=t.Pa,Zt=o._emscripten_bind_PeGeogcs_getType_0=t.Qa,Wt=o._emscripten_bind_PeGeogtran_isEqual_1=t.Ra,Bt=o._emscripten_bind_PeGeogtran_getGeogcs1_0=t.Sa,qt=o._emscripten_bind_PeGeogtran_getGeogcs2_0=t.Ta,Kt=o._emscripten_bind_PeGeogtran_getParameters_0=t.Ua,kt=o._emscripten_bind_PeGeogtran_loadConstants_0=t.Va,Vt=o._emscripten_bind_PeGeogtran_usable_0=t.Wa,$t=o._emscripten_bind_PeGeogtran_getCode_0=t.Xa,Jt=o._emscripten_bind_PeGeogtran_getName_1=t.Ya,Qt=o._emscripten_bind_PeGeogtran_getType_0=t.Za,te=o._emscripten_bind_PeGTlistExtended_getGTlist_6=t._a,ee=o._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=t.$a,oe=o._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=t.ab,re=o._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=t.bb,_e=o._emscripten_bind_PeGTlistExtendedEntry_Delete_1=t.cb,pe=o._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=t.db,ne=o._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=t.eb,ie=o._emscripten_bind_PeHorizon_getNump_0=t.fb,ce=o._emscripten_bind_PeHorizon_getKind_0=t.gb,ae=o._emscripten_bind_PeHorizon_getInclusive_0=t.hb,ye=o._emscripten_bind_PeHorizon_getSize_0=t.ib,se=o._emscripten_bind_PeHorizon_getCoord_0=t.jb,Pe=o._emscripten_bind_PeInteger_PeInteger_1=t.kb,ge=o._emscripten_bind_PeInteger_get_val_0=t.lb,ue=o._emscripten_bind_PeInteger_set_val_1=t.mb,fe=o._emscripten_bind_PeInteger___destroy___0=t.nb,be=o._emscripten_bind_PeLineType_geodetic_distance_10=t.ob,Ee=o._emscripten_bind_PeLineType_geodetic_coordinate_9=t.pb,de=o._emscripten_bind_PeLineType_geodesic_coordinate_8=t.qb,Te=o._emscripten_bind_PeLineType_great_elliptic_distance_9=t.rb,Oe=o._emscripten_bind_PeMath_phi_to_eta_2=t.sb,me=o._emscripten_bind_PeMath_eta_to_phi_2=t.tb,he=o._emscripten_bind_PeMath_phi_to_phig_2=t.ub,Se=o._emscripten_bind_PeMath_q_3=t.vb,Ne=o._emscripten_bind_PeMath_q90_2=t.wb,le=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=t.xb,ve=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=t.yb,Me=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=t.zb,je=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=t.Ab,De=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=t.Bb,Ae=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=t.Cb,Re=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=t.Db,Ce=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=t.Eb,Ge=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=t.Fb,Ie=o._emscripten_bind_PeParameter_getValue_0=t.Gb,Le=o._emscripten_bind_PeParameter_getCode_0=t.Hb,Ue=o._emscripten_bind_PeParameter_getName_1=t.Ib,we=o._emscripten_bind_PeParameter_getType_0=t.Jb,Fe=o._emscripten_bind_PePCSInfo_getCentralMeridian_0=t.Kb,Ye=o._emscripten_bind_PePCSInfo_getDomainMinx_0=t.Lb,Xe=o._emscripten_bind_PePCSInfo_getDomainMiny_0=t.Mb,xe=o._emscripten_bind_PePCSInfo_getDomainMaxx_0=t.Nb,He=o._emscripten_bind_PePCSInfo_getDomainMaxy_0=t.Ob,ze=o._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=t.Pb,Ze=o._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=t.Qb,We=o._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=t.Rb,Be=o._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=t.Sb,qe=o._emscripten_bind_PePCSInfo_isDensificationNeeded_0=t.Tb,Ke=o._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=t.Ub,ke=o._emscripten_bind_PePCSInfo_isPannableRectangle_0=t.Vb,Ve=o._emscripten_bind_PePCSInfo_generate_2=t.Wb,$e=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=t.Xb,Je=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=t.Yb,Qe=o._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=t.Zb,to=o._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=t._b,eo=o._emscripten_bind_PePrimem_getLongitude_0=t.$b,oo=o._emscripten_bind_PePrimem_getCode_0=t.ac,ro=o._emscripten_bind_PePrimem_getName_1=t.bc,_o=o._emscripten_bind_PePrimem_getType_0=t.cc,po=o._emscripten_bind_PeProjcs_Delete_0=t.dc,no=o._emscripten_bind_PeProjcs_getGeogcs_0=t.ec,io=o._emscripten_bind_PeProjcs_getProjection_0=t.fc,co=o._emscripten_bind_PeProjcs_getParameters_0=t.gc,ao=o._emscripten_bind_PeProjcs_getUnit_0=t.hc,yo=o._emscripten_bind_PeProjcs_loadConstants_0=t.ic,so=o._emscripten_bind_PeProjcs_horizonGcsGenerate_0=t.jc,Po=o._emscripten_bind_PeProjcs_horizonPcsGenerate_0=t.kc,go=o._emscripten_bind_PeProjcs_isEqual_1=t.lc,uo=o._emscripten_bind_PeProjcs_getCode_0=t.mc,fo=o._emscripten_bind_PeProjcs_getName_1=t.nc,bo=o._emscripten_bind_PeProjcs_getType_0=t.oc,Eo=o._emscripten_bind_PeSpheroid_getAxis_0=t.pc,To=o._emscripten_bind_PeSpheroid_getFlattening_0=t.qc,Oo=o._emscripten_bind_PeSpheroid_getCode_0=t.rc,mo=o._emscripten_bind_PeSpheroid_getName_1=t.sc,ho=o._emscripten_bind_PeSpheroid_getType_0=t.tc,So=o._emscripten_bind_PeVersion_version_string_0=t.uc,o._pe_getPeGTlistExtendedEntrySize=t.vc,o._pe_getPeGTlistExtendedGTsSize=t.wc,o._pe_getPeHorizonSize=t.xc,o._pe_geog_to_geog=t.yc,o._pe_geog_to_proj=t.zc,o._pe_geog_to_dd=t.Ac,o._pe_dd_to_geog=t.Bc,o._pe_geog_to_ddm=t.Cc,o._pe_ddm_to_geog=t.Dc,o._pe_geog_to_dms=t.Ec,o._pe_dms_to_geog=t.Fc,o._pe_geog_to_mgrs_extended=t.Gc,o._pe_mgrs_to_geog_extended=t.Hc,o._pe_geog_to_usng=t.Ic,o._pe_usng_to_geog=t.Jc,o._pe_geog_to_utm=t.Kc,o._pe_utm_to_geog=t.Lc,o._pe_object_to_string_ext=t.Mc,o._pe_object_is_wkt2_needed=t.Nc,o._pe_proj_to_geog_center=t.Oc,No=t.s,t.__indirect_function_table}o.getValue=function(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return u[t];case"i16":return s[t>>1];case"i32":return P[t>>2];case"i64":return g[t>>3];case"float":return f[t>>2];case"double":return b[t>>3];case"*":return E[t>>2];default:m(`invalid type for getValue: ${e}`)}},o.UTF8ToString=Mo;var Xo,xo={c:function(t,e,o){return 0},n:(t,e,o)=>{},i:function(t,e,o){return 0},d:function(t,e,o,r){},l:t=>{},k:(t,e)=>{},m:(t,e,o)=>{},o:()=>m(""),p:function(t,e){t=(t=>t<-9007199254740992||t>9007199254740992?NaN:Number(t))(t);var o=new Date(1e3*t);P[e>>2]=o.getSeconds(),P[e+4>>2]=o.getMinutes(),P[e+8>>2]=o.getHours(),P[e+12>>2]=o.getDate(),P[e+16>>2]=o.getMonth(),P[e+20>>2]=o.getFullYear()-1900,P[e+24>>2]=o.getDay();var r=0|(t=>((t=>t%4==0&&(t%100!=0||t%400==0))(t.getFullYear())?jo:Do)[t.getMonth()]+t.getDate()-1)(o);P[e+28>>2]=r,P[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));P[e+32>>2]=i},q:(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),a=Math.max(i,c);E[t>>2]=60*a,P[e>>2]=Number(i!=c);var y=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},s=y(i),g=y(c);c<i?(Ro(s,o,17),Ro(g,r,17)):(Ro(s,r,17),Ro(g,o,17))},r:()=>Date.now(),j:t=>{var e=d.length,o=2147483648;if((t>>>=0)>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,Co(Math.max(t,_),65536));if(Go(p))return!0}return!1},f:(t,e)=>{var o=0,r=0;for(var _ of Lo()){var p=e+o;E[t+r>>2]=p,o+=Ro(_,p,1/0)+1,r+=4}return 0},g:(t,e)=>{var o=Lo();E[t>>2]=o.length;var r=0;for(var _ of o)r+=Uo(_)+1;return E[e>>2]=r,0},a:t=>52,h:(t,e,o,r)=>52,e:function(t,e,o,r){return 70},b:(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=E[e>>2],i=E[e+4>>2];e+=8;for(var c=0;c<i;c++)Fo(t,d[n+c]);_+=i}return E[r>>2]=_,0}};function Ho(){}function zo(t){return(t||Ho).__cache__}function Zo(t,e){var o=zo(e),r=o[t];return r||((r=Object.create((e||Ho).prototype)).ptr=t,o[t]=r)}Xo=await async function(){var t={a:xo};return y??=h(),function(t){return function(t){return Yo(Xo=t.exports),O(),Xo}(t.instance)}(await async function(t,e,o){try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(t){i(`wasm streaming compile failed: ${t}`),i("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var o=await S(t);return await WebAssembly.instantiate(o,e)}catch(t){i(`failed to asynchronously prepare wasm: ${t}`),m(t)}}(e,o)}(0,y,t))}(),o.calledRun=!0,c||(T=!0,(t=>{for(;t.length>0;)t.shift()(o)})([]),Xo.t(),_?.(o)),Ho.prototype=Object.create(Ho.prototype),Ho.prototype.constructor=Ho,Ho.prototype.__class__=Ho,Ho.__cache__={},o.WrapperObject=Ho,o.getCache=zo,o.wrapPointer=Zo,o.castObject=function(t,e){return Zo(t.ptr,e)},o.NULL=Zo(0),o.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete zo(t.__class__)[t.ptr]},o.compare=function(t,e){return t.ptr===e.ptr},o.getPointer=function(t){return t.ptr},o.getClass=function(t){return t.__class__};var Wo={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(Wo.needed){for(var t=0;t<Wo.temps.length;t++)o._webidl_free(Wo.temps[t]);Wo.temps.length=0,o._webidl_free(Wo.buffer),Wo.buffer=0,Wo.size+=Wo.needed,Wo.needed=0}Wo.buffer||(Wo.size+=128,Wo.buffer=o._webidl_malloc(Wo.size),a(Wo.buffer)),Wo.pos=0},alloc(t,e){a(Wo.buffer);var r,_=e.BYTES_PER_ELEMENT,p=t.length*_;return p=Co(p,8),Wo.pos+p>=Wo.size?(a(p>0),Wo.needed+=p,r=o._webidl_malloc(p),Wo.temps.push(r)):(r=Wo.buffer+Wo.pos,Wo.pos+=p),r}};function Bo(t){if("string"==typeof t){for(var e=(t=>{var e=Uo(t)+1,o=new Array(e);return Ao(t,o,0,o.length),o})(t),o=Wo.alloc(e,u),r=0;r<e.length;r++)u[o+r]=e[r];return o}return t}function qo(t){if("object"==typeof t){for(var e=Wo.alloc(t,u),o=0;o<t.length;o++)u[e+o]=t[o];return e}return t}function Ko(){throw"cannot construct a PeObject, no constructor in IDL"}function ko(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function Vo(){throw"cannot construct a PeUnit, no constructor in IDL"}function $o(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Jo(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Qo(){throw"cannot construct a PeDatum, no constructor in IDL"}function tr(){throw"cannot construct a PeDefs, no constructor in IDL"}function er(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=ht(t),zo(er)[this.ptr]=this}function or(){throw"cannot construct a PeFactory, no constructor in IDL"}function rr(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=At(t,e,o,r,_,p),zo(rr)[this.ptr]=this}function _r(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function pr(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function nr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function ir(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function cr(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function ar(){throw"cannot construct a PeHorizon, no constructor in IDL"}function yr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Pe(t),zo(yr)[this.ptr]=this}function sr(){throw"cannot construct a PeLineType, no constructor in IDL"}function Pr(){throw"cannot construct a PeMath, no constructor in IDL"}function gr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function ur(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function fr(){throw"cannot construct a PeParameter, no constructor in IDL"}function br(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function Er(){throw"cannot construct a PePrimem, no constructor in IDL"}function dr(){throw"cannot construct a PeProjcs, no constructor in IDL"}function Tr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Or(){throw"cannot construct a PeVersion, no constructor in IDL"}return Ko.prototype=Object.create(Ho.prototype),Ko.prototype.constructor=Ko,Ko.prototype.__class__=Ko,Ko.__cache__={},o.PeObject=Ko,Ko.prototype.getCode=Ko.prototype.getCode=function(){var t=this.ptr;return N(t)},Ko.prototype.getName=Ko.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(l(e,t))},Ko.prototype.getType=Ko.prototype.getType=function(){var t=this.ptr;return v(t)},ko.prototype=Object.create(Ko.prototype),ko.prototype.constructor=ko,ko.prototype.__class__=ko,ko.__cache__={},o.PeCoordsys=ko,ko.prototype.isEqual=ko.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!M(e,t)},ko.prototype.getCode=ko.prototype.getCode=function(){var t=this.ptr;return j(t)},ko.prototype.getName=ko.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(D(e,t))},ko.prototype.getType=ko.prototype.getType=function(){var t=this.ptr;return A(t)},Vo.prototype=Object.create(Ko.prototype),Vo.prototype.constructor=Vo,Vo.prototype.__class__=Vo,Vo.__cache__={},o.PeUnit=Vo,Vo.prototype.getUnitFactor=Vo.prototype.getUnitFactor=function(){var t=this.ptr;return R(t)},Vo.prototype.getCode=Vo.prototype.getCode=function(){var t=this.ptr;return C(t)},Vo.prototype.getName=Vo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(G(e,t))},Vo.prototype.getType=Vo.prototype.getType=function(){var t=this.ptr;return I(t)},$o.prototype=Object.create(Ho.prototype),$o.prototype.constructor=$o,$o.prototype.__class__=$o,$o.__cache__={},o.VoidPtr=$o,$o.prototype.__destroy__=$o.prototype.__destroy__=function(){var t=this.ptr;L(t)},Jo.prototype=Object.create(Vo.prototype),Jo.prototype.constructor=Jo,Jo.prototype.__class__=Jo,Jo.__cache__={},o.PeAngunit=Jo,Jo.prototype.getCode=Jo.prototype.getCode=function(){var t=this.ptr;return U(t)},Jo.prototype.getName=Jo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(w(e,t))},Jo.prototype.getType=Jo.prototype.getType=function(){var t=this.ptr;return F(t)},Jo.prototype.getUnitFactor=Jo.prototype.getUnitFactor=function(){var t=this.ptr;return Y(t)},Qo.prototype=Object.create(Ko.prototype),Qo.prototype.constructor=Qo,Qo.prototype.__class__=Qo,Qo.__cache__={},o.PeDatum=Qo,Qo.prototype.getSpheroid=Qo.prototype.getSpheroid=function(){var t=this.ptr;return Zo(X(t),Tr)},Qo.prototype.getCode=Qo.prototype.getCode=function(){var t=this.ptr;return x(t)},Qo.prototype.getName=Qo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(H(e,t))},Qo.prototype.getType=Qo.prototype.getType=function(){var t=this.ptr;return z(t)},tr.prototype=Object.create(Ho.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},o.PeDefs=tr,tr.prototype.get_PE_BUFFER_MAX=tr.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return Z(t)},Object.defineProperty(tr.prototype,"PE_BUFFER_MAX",{get:tr.prototype.get_PE_BUFFER_MAX}),tr.prototype.get_PE_NAME_MAX=tr.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return W(t)},Object.defineProperty(tr.prototype,"PE_NAME_MAX",{get:tr.prototype.get_PE_NAME_MAX}),tr.prototype.get_PE_MGRS_MAX=tr.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return B(t)},Object.defineProperty(tr.prototype,"PE_MGRS_MAX",{get:tr.prototype.get_PE_MGRS_MAX}),tr.prototype.get_PE_USNG_MAX=tr.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return q(t)},Object.defineProperty(tr.prototype,"PE_USNG_MAX",{get:tr.prototype.get_PE_USNG_MAX}),tr.prototype.get_PE_DD_MAX=tr.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return K(t)},Object.defineProperty(tr.prototype,"PE_DD_MAX",{get:tr.prototype.get_PE_DD_MAX}),tr.prototype.get_PE_DMS_MAX=tr.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return k(t)},Object.defineProperty(tr.prototype,"PE_DMS_MAX",{get:tr.prototype.get_PE_DMS_MAX}),tr.prototype.get_PE_DDM_MAX=tr.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return V(t)},Object.defineProperty(tr.prototype,"PE_DDM_MAX",{get:tr.prototype.get_PE_DDM_MAX}),tr.prototype.get_PE_UTM_MAX=tr.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return $(t)},Object.defineProperty(tr.prototype,"PE_UTM_MAX",{get:tr.prototype.get_PE_UTM_MAX}),tr.prototype.get_PE_PARM_MAX=tr.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return J(t)},Object.defineProperty(tr.prototype,"PE_PARM_MAX",{get:tr.prototype.get_PE_PARM_MAX}),tr.prototype.get_PE_TYPE_NONE=tr.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return Q(t)},Object.defineProperty(tr.prototype,"PE_TYPE_NONE",{get:tr.prototype.get_PE_TYPE_NONE}),tr.prototype.get_PE_TYPE_GEOGCS=tr.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return tt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_GEOGCS",{get:tr.prototype.get_PE_TYPE_GEOGCS}),tr.prototype.get_PE_TYPE_PROJCS=tr.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return et(t)},Object.defineProperty(tr.prototype,"PE_TYPE_PROJCS",{get:tr.prototype.get_PE_TYPE_PROJCS}),tr.prototype.get_PE_TYPE_GEOGTRAN=tr.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return ot(t)},Object.defineProperty(tr.prototype,"PE_TYPE_GEOGTRAN",{get:tr.prototype.get_PE_TYPE_GEOGTRAN}),tr.prototype.get_PE_TYPE_COORDSYS=tr.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return rt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_COORDSYS",{get:tr.prototype.get_PE_TYPE_COORDSYS}),tr.prototype.get_PE_TYPE_UNIT=tr.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return _t(t)},Object.defineProperty(tr.prototype,"PE_TYPE_UNIT",{get:tr.prototype.get_PE_TYPE_UNIT}),tr.prototype.get_PE_TYPE_LINUNIT=tr.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return pt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_LINUNIT",{get:tr.prototype.get_PE_TYPE_LINUNIT}),tr.prototype.get_PE_STR_OPTS_NONE=tr.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return nt(t)},Object.defineProperty(tr.prototype,"PE_STR_OPTS_NONE",{get:tr.prototype.get_PE_STR_OPTS_NONE}),tr.prototype.get_PE_STR_AUTH_NONE=tr.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return it(t)},Object.defineProperty(tr.prototype,"PE_STR_AUTH_NONE",{get:tr.prototype.get_PE_STR_AUTH_NONE}),tr.prototype.get_PE_STR_AUTH_TOP=tr.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return ct(t)},Object.defineProperty(tr.prototype,"PE_STR_AUTH_TOP",{get:tr.prototype.get_PE_STR_AUTH_TOP}),tr.prototype.get_PE_STR_NAME_CANON=tr.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return at(t)},Object.defineProperty(tr.prototype,"PE_STR_NAME_CANON",{get:tr.prototype.get_PE_STR_NAME_CANON}),tr.prototype.get_PE_STR_FMT_WKT=tr.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return yt(t)},Object.defineProperty(tr.prototype,"PE_STR_FMT_WKT",{get:tr.prototype.get_PE_STR_FMT_WKT}),tr.prototype.get_PE_STR_FMT_WKT2=tr.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return st(t)},Object.defineProperty(tr.prototype,"PE_STR_FMT_WKT2",{get:tr.prototype.get_PE_STR_FMT_WKT2}),tr.prototype.get_PE_PARM_X0=tr.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return Pt(t)},Object.defineProperty(tr.prototype,"PE_PARM_X0",{get:tr.prototype.get_PE_PARM_X0}),tr.prototype.get_PE_PARM_ND=tr.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return gt(t)},Object.defineProperty(tr.prototype,"PE_PARM_ND",{get:tr.prototype.get_PE_PARM_ND}),tr.prototype.get_PE_TRANSFORM_1_TO_2=tr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return ut(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_1_TO_2",{get:tr.prototype.get_PE_TRANSFORM_1_TO_2}),tr.prototype.get_PE_TRANSFORM_2_TO_1=tr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return ft(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_2_TO_1",{get:tr.prototype.get_PE_TRANSFORM_2_TO_1}),tr.prototype.get_PE_TRANSFORM_P_TO_G=tr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return bt(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_P_TO_G",{get:tr.prototype.get_PE_TRANSFORM_P_TO_G}),tr.prototype.get_PE_TRANSFORM_G_TO_P=tr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Et(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_G_TO_P",{get:tr.prototype.get_PE_TRANSFORM_G_TO_P}),tr.prototype.get_PE_HORIZON_RECT=tr.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return dt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_RECT",{get:tr.prototype.get_PE_HORIZON_RECT}),tr.prototype.get_PE_HORIZON_POLY=tr.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return Tt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_POLY",{get:tr.prototype.get_PE_HORIZON_POLY}),tr.prototype.get_PE_HORIZON_LINE=tr.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return Ot(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_LINE",{get:tr.prototype.get_PE_HORIZON_LINE}),tr.prototype.get_PE_HORIZON_DELTA=tr.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return mt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_DELTA",{get:tr.prototype.get_PE_HORIZON_DELTA}),er.prototype=Object.create(Ho.prototype),er.prototype.constructor=er,er.prototype.__class__=er,er.__cache__={},o.PeDouble=er,er.prototype.get_val=er.prototype.get_val=function(){var t=this.ptr;return St(t)},er.prototype.set_val=er.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Nt(e,t)},Object.defineProperty(er.prototype,"val",{get:er.prototype.get_val,set:er.prototype.set_val}),er.prototype.__destroy__=er.prototype.__destroy__=function(){var t=this.ptr;lt(t)},or.prototype=Object.create(Ho.prototype),or.prototype.constructor=or,or.prototype.__class__=or,or.__cache__={},o.PeFactory=or,or.prototype.initialize=or.prototype.initialize=function(t){Wo.prepare(),t=t&&"object"==typeof t?t.ptr:Bo(t),vt(t)},or.prototype.factoryByType=or.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zo(Mt(t,e),Ko)},or.prototype.fromString=or.prototype.fromString=function(t,e){return Wo.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Bo(e),Zo(jt(t,e),Ko)},or.prototype.getCode=or.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),Dt(t)},rr.prototype=Object.create(Ho.prototype),rr.prototype.constructor=rr,rr.prototype.__class__=rr,rr.__cache__={},o.PeGCSExtent=rr,rr.prototype.getLLon=rr.prototype.getLLon=function(){var t=this.ptr;return Rt(t)},rr.prototype.getSLat=rr.prototype.getSLat=function(){var t=this.ptr;return Ct(t)},rr.prototype.getRLon=rr.prototype.getRLon=function(){var t=this.ptr;return Gt(t)},rr.prototype.getNLat=rr.prototype.getNLat=function(){var t=this.ptr;return It(t)},rr.prototype.__destroy__=rr.prototype.__destroy__=function(){var t=this.ptr;Lt(t)},_r.prototype=Object.create(ko.prototype),_r.prototype.constructor=_r,_r.prototype.__class__=_r,_r.__cache__={},o.PeGeogcs=_r,_r.prototype.Delete=_r.prototype.Delete=function(){var t=this.ptr;Ut(t)},_r.prototype.cloneAlterUnits=_r.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Zo(wt(e,t),_r)},_r.prototype.getDatum=_r.prototype.getDatum=function(){var t=this.ptr;return Zo(Ft(t),Qo)},_r.prototype.getPrimem=_r.prototype.getPrimem=function(){var t=this.ptr;return Zo(Yt(t),Er)},_r.prototype.getUnit=_r.prototype.getUnit=function(){var t=this.ptr;return Zo(Xt(t),Jo)},_r.prototype.isEqual=_r.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!xt(e,t)},_r.prototype.getCode=_r.prototype.getCode=function(){var t=this.ptr;return Ht(t)},_r.prototype.getName=_r.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(zt(e,t))},_r.prototype.getType=_r.prototype.getType=function(){var t=this.ptr;return Zt(t)},pr.prototype=Object.create(Ko.prototype),pr.prototype.constructor=pr,pr.prototype.__class__=pr,pr.__cache__={},o.PeGeogtran=pr,pr.prototype.isEqual=pr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Wt(e,t)},pr.prototype.getGeogcs1=pr.prototype.getGeogcs1=function(){var t=this.ptr;return Zo(Bt(t),_r)},pr.prototype.getGeogcs2=pr.prototype.getGeogcs2=function(){var t=this.ptr;return Zo(qt(t),_r)},pr.prototype.getParameters=pr.prototype.getParameters=function(){var t=this.ptr;return Kt(t)},pr.prototype.loadConstants=pr.prototype.loadConstants=function(){var t=this.ptr;return!!kt(t)},pr.prototype.usable=pr.prototype.usable=function(){var t=this.ptr;return!!Vt(t)},pr.prototype.getCode=pr.prototype.getCode=function(){var t=this.ptr;return $t(t)},pr.prototype.getName=pr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(Jt(e,t))},pr.prototype.getType=pr.prototype.getType=function(){var t=this.ptr;return Qt(t)},nr.prototype=Object.create(Ho.prototype),nr.prototype.constructor=nr,nr.prototype.__class__=nr,nr.__cache__={},o.PeGTlistExtended=nr,nr.prototype.getGTlist=nr.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),Zo(te(t,e,o,r,_,p),ir)},nr.prototype.get_PE_GTLIST_OPTS_COMMON=nr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return ee(t)},Object.defineProperty(nr.prototype,"PE_GTLIST_OPTS_COMMON",{get:nr.prototype.get_PE_GTLIST_OPTS_COMMON}),ir.prototype=Object.create(Ho.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},o.PeGTlistExtendedEntry=ir,ir.prototype.getEntries=ir.prototype.getEntries=function(){var t=this.ptr;return Zo(oe(t),cr)},ir.prototype.getSteps=ir.prototype.getSteps=function(){var t=this.ptr;return re(t)},ir.prototype.Delete=ir.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),_e(t)},cr.prototype=Object.create(Ho.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},o.PeGTlistExtendedGTs=cr,cr.prototype.getDirection=cr.prototype.getDirection=function(){var t=this.ptr;return pe(t)},cr.prototype.getGeogtran=cr.prototype.getGeogtran=function(){var t=this.ptr;return Zo(ne(t),pr)},ar.prototype=Object.create(Ho.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},o.PeHorizon=ar,ar.prototype.getNump=ar.prototype.getNump=function(){var t=this.ptr;return ie(t)},ar.prototype.getKind=ar.prototype.getKind=function(){var t=this.ptr;return ce(t)},ar.prototype.getInclusive=ar.prototype.getInclusive=function(){var t=this.ptr;return ae(t)},ar.prototype.getSize=ar.prototype.getSize=function(){var t=this.ptr;return ye(t)},ar.prototype.getCoord=ar.prototype.getCoord=function(){var t=this.ptr;return se(t)},yr.prototype=Object.create(Ho.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},o.PeInteger=yr,yr.prototype.get_val=yr.prototype.get_val=function(){var t=this.ptr;return ge(t)},yr.prototype.set_val=yr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ue(e,t)},Object.defineProperty(yr.prototype,"val",{get:yr.prototype.get_val,set:yr.prototype.set_val}),yr.prototype.__destroy__=yr.prototype.__destroy__=function(){var t=this.ptr;fe(t)},sr.prototype=Object.create(Ho.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},o.PeLineType=sr,sr.prototype.geodetic_distance=sr.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),be(t,e,o,r,_,p,n,i,c,a)},sr.prototype.geodetic_coordinate=sr.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Ee(t,e,o,r,_,p,n,i,c)},sr.prototype.geodesic_coordinate=sr.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),de(t,e,o,r,_,p,n,i)},sr.prototype.great_elliptic_distance=sr.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Te(t,e,o,r,_,p,n,i,c)},Pr.prototype=Object.create(Ho.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},o.PeMath=Pr,Pr.prototype.phi_to_eta=Pr.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Oe(t,e)},Pr.prototype.eta_to_phi=Pr.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),me(t,e)},Pr.prototype.phi_to_phig=Pr.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),he(t,e)},Pr.prototype.q=Pr.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),Se(t,e,o)},Pr.prototype.q90=Pr.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ne(t,e)},gr.prototype=Object.create(Ho.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},o.PeNotationMgrs=gr,gr.prototype.get_PE_MGRS_STYLE_NEW=gr.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return le(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_NEW",{get:gr.prototype.get_PE_MGRS_STYLE_NEW}),gr.prototype.get_PE_MGRS_STYLE_OLD=gr.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return ve(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_OLD",{get:gr.prototype.get_PE_MGRS_STYLE_OLD}),gr.prototype.get_PE_MGRS_STYLE_AUTO=gr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return Me(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_AUTO",{get:gr.prototype.get_PE_MGRS_STYLE_AUTO}),gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return je(t)},Object.defineProperty(gr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),gr.prototype.get_PE_MGRS_ADD_SPACES=gr.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return De(t)},Object.defineProperty(gr.prototype,"PE_MGRS_ADD_SPACES",{get:gr.prototype.get_PE_MGRS_ADD_SPACES}),ur.prototype=Object.create(Ho.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},o.PeNotationUtm=ur,ur.prototype.get_PE_UTM_OPTS_NONE=ur.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return Ae(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NONE",{get:ur.prototype.get_PE_UTM_OPTS_NONE}),ur.prototype.get_PE_UTM_OPTS_NS=ur.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return Re(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NS",{get:ur.prototype.get_PE_UTM_OPTS_NS}),ur.prototype.get_PE_UTM_OPTS_NS_STRICT=ur.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return Ce(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NS_STRICT",{get:ur.prototype.get_PE_UTM_OPTS_NS_STRICT}),ur.prototype.get_PE_UTM_OPTS_ADD_SPACES=ur.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return Ge(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:ur.prototype.get_PE_UTM_OPTS_ADD_SPACES}),fr.prototype=Object.create(Ko.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},o.PeParameter=fr,fr.prototype.getValue=fr.prototype.getValue=function(){var t=this.ptr;return Ie(t)},fr.prototype.getCode=fr.prototype.getCode=function(){var t=this.ptr;return Le(t)},fr.prototype.getName=fr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(Ue(e,t))},fr.prototype.getType=fr.prototype.getType=function(){var t=this.ptr;return we(t)},br.prototype=Object.create(Ho.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},o.PePCSInfo=br,br.prototype.getCentralMeridian=br.prototype.getCentralMeridian=function(){var t=this.ptr;return Fe(t)},br.prototype.getDomainMinx=br.prototype.getDomainMinx=function(){var t=this.ptr;return Ye(t)},br.prototype.getDomainMiny=br.prototype.getDomainMiny=function(){var t=this.ptr;return Xe(t)},br.prototype.getDomainMaxx=br.prototype.getDomainMaxx=function(){var t=this.ptr;return xe(t)},br.prototype.getDomainMaxy=br.prototype.getDomainMaxy=function(){var t=this.ptr;return He(t)},br.prototype.getNorthPoleLocation=br.prototype.getNorthPoleLocation=function(){var t=this.ptr;return ze(t)},br.prototype.getNorthPoleGeometry=br.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return Ze(t)},br.prototype.getSouthPoleLocation=br.prototype.getSouthPoleLocation=function(){var t=this.ptr;return We(t)},br.prototype.getSouthPoleGeometry=br.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return Be(t)},br.prototype.isDensificationNeeded=br.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!qe(t)},br.prototype.isGcsHorizonMultiOverlap=br.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!Ke(t)},br.prototype.isPannableRectangle=br.prototype.isPannableRectangle=function(){var t=this.ptr;return!!ke(t)},br.prototype.generate=br.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zo(Ve(t,e),br)},br.prototype.get_PE_PCSINFO_OPTION_NONE=br.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return $e(t)},Object.defineProperty(br.prototype,"PE_PCSINFO_OPTION_NONE",{get:br.prototype.get_PE_PCSINFO_OPTION_NONE}),br.prototype.get_PE_PCSINFO_OPTION_DOMAIN=br.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return Je(t)},Object.defineProperty(br.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:br.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return Qe(t)},Object.defineProperty(br.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),br.prototype.get_PE_POLE_POINT=br.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return to(t)},Object.defineProperty(br.prototype,"PE_POLE_POINT",{get:br.prototype.get_PE_POLE_POINT}),Er.prototype=Object.create(Ko.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},o.PePrimem=Er,Er.prototype.getLongitude=Er.prototype.getLongitude=function(){var t=this.ptr;return eo(t)},Er.prototype.getCode=Er.prototype.getCode=function(){var t=this.ptr;return oo(t)},Er.prototype.getName=Er.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(ro(e,t))},Er.prototype.getType=Er.prototype.getType=function(){var t=this.ptr;return _o(t)},dr.prototype=Object.create(ko.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},o.PeProjcs=dr,dr.prototype.Delete=dr.prototype.Delete=function(){var t=this.ptr;po(t)},dr.prototype.getGeogcs=dr.prototype.getGeogcs=function(){var t=this.ptr;return Zo(no(t),_r)},dr.prototype.getProjection=dr.prototype.getProjection=function(){var t=this.ptr;return Zo(io(t),Ko)},dr.prototype.getParameters=dr.prototype.getParameters=function(){var t=this.ptr;return co(t)},dr.prototype.getUnit=dr.prototype.getUnit=function(){var t=this.ptr;return Zo(ao(t),Vo)},dr.prototype.loadConstants=dr.prototype.loadConstants=function(){var t=this.ptr;return!!yo(t)},dr.prototype.horizonGcsGenerate=dr.prototype.horizonGcsGenerate=function(){var t=this.ptr;return Zo(so(t),ar)},dr.prototype.horizonPcsGenerate=dr.prototype.horizonPcsGenerate=function(){var t=this.ptr;return Zo(Po(t),ar)},dr.prototype.isEqual=dr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!go(e,t)},dr.prototype.getCode=dr.prototype.getCode=function(){var t=this.ptr;return uo(t)},dr.prototype.getName=dr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(fo(e,t))},dr.prototype.getType=dr.prototype.getType=function(){var t=this.ptr;return bo(t)},Tr.prototype=Object.create(Ko.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},o.PeSpheroid=Tr,Tr.prototype.getAxis=Tr.prototype.getAxis=function(){var t=this.ptr;return Eo(t)},Tr.prototype.getFlattening=Tr.prototype.getFlattening=function(){var t=this.ptr;return To(t)},Tr.prototype.getCode=Tr.prototype.getCode=function(){var t=this.ptr;return Oo(t)},Tr.prototype.getName=Tr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),Mo(mo(e,t))},Tr.prototype.getType=Tr.prototype.getType=function(){var t=this.ptr;return ho(t)},Or.prototype=Object.create(Ho.prototype),Or.prototype.constructor=Or,Or.prototype.__class__=Or,Or.__cache__={},o.PeVersion=Or,Or.prototype.version_string=Or.prototype.version_string=function(){var t=this.ptr;return Mo(So(t))},o.ensureCache=Wo,o.ensureString=Bo,o.ensureInt8=qo,o.ensureInt16=function(t){if("object"==typeof t){for(var e=Wo.alloc(t,s),o=e/2,r=0;r<t.length;r++)s[o+r]=t[r];return e}return t},o.ensureInt32=function(t){if("object"==typeof t){for(var e=Wo.alloc(t,P),o=e/4,r=0;r<t.length;r++)P[o+r]=t[r];return e}return t},o.ensureFloat32=function(t){if("object"==typeof t){for(var e=Wo.alloc(t,f),o=e/4,r=0;r<t.length;r++)f[o+r]=t[r];return e}return t},o.ensureFloat64=function(t){if("object"==typeof t){for(var e=Wo.alloc(t,b),o=e/8,r=0;r<t.length;r++)b[o+r]=t[r];return e}return t},T?o:new Promise((t,e)=>{_=t,p=e})}o.d(e,{default:()=>r})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8763],{83349(t,e,r){function n(t,e,r){r=r||2;var n,s,a,l,h,c,f,x=e&&e.length,d=x?e[0]*r:t.length,y=i(t,0,d,r,!0),g=[];if(!y||y.next===y.prev)return g;if(x&&(y=u(t,e,y,r)),t.length>80*r){n=a=t[0],s=l=t[1];for(var p=r;p<d;p+=r)(h=t[p])<n&&(n=h),(c=t[p+1])<s&&(s=c),h>a&&(a=h),c>l&&(l=c);f=0!==(f=Math.max(a-n,l-s))?1/f:0}return o(y,g,r,n,s,f),g}function i(t,e,r,n,i){var s,o;if(i===V(t,e,r,n)>0)for(s=e;s<r;s+=n)o=S(s,t[s],t[s+1],o);else for(s=r-n;s>=e;s-=n)o=S(s,t[s],t[s+1],o);if(o&&v(o,o.next)){var a=o.next;k(o),o=a}return o}function s(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!v(n,n.next)&&0!==w(n.prev,n,n.next))n=n.next;else{var i=n.prev;if(k(n),(n=e=i)===n.next)break;r=!0}}while(r||n!==e);return e}function o(t,e,r,n,i,u,f){if(t){!f&&u&&g(t,n,i,u);for(var x,d,y=t;t.prev!==t.next;)if(x=t.prev,d=t.next,u?l(t,n,i,u):a(t))e.push(x.i/r),e.push(t.i/r),e.push(d.i/r),k(t),t=d.next,y=d.next;else if((t=d)===y){f?1===f?o(t=h(s(t),e,r),e,r,n,i,u,2):2===f&&c(t,e,r,n,i,u):o(s(t),e,r,n,i,u,1);break}}}function a(t){var e=t.prev,r=t,n=t.next;if(w(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(m(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&w(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function l(t,e,r,n){var i=t.prev,s=t,o=t.next;if(w(i,s,o)>=0)return!1;for(var a=i.x<s.x?i.x<o.x?i.x:o.x:s.x<o.x?s.x:o.x,l=i.y<s.y?i.y<o.y?i.y:o.y:s.y<o.y?s.y:o.y,h=i.x>s.x?i.x>o.x?i.x:o.x:s.x>o.x?s.x:o.x,c=i.y>s.y?i.y>o.y?i.y:o.y:s.y>o.y?s.y:o.y,u=p(a,l,e,r,n),f=p(h,c,e,r,n),x=t.prevZ,d=t.nextZ;x&&x.z>=u&&d&&d.z<=f;){if(x!==t.prev&&x!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,x.x,x.y)&&w(x.prev,x,x.next)>=0)return!1;if(x=x.prevZ,d!==t.prev&&d!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,d.x,d.y)&&w(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;x&&x.z>=u;){if(x!==t.prev&&x!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,x.x,x.y)&&w(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;d&&d.z<=f;){if(d!==t.prev&&d!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,d.x,d.y)&&w(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function h(t,e,r){var n=t;do{var i=n.prev,o=n.next.next;!v(i,o)&&I(i,n,n.next,o)&&A(i,o)&&A(o,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(o.i/r),k(n),k(n.next),n=t=o),n=n.next}while(n!==t);return s(n)}function c(t,e,r,n,i,a){var l=t;do{for(var h=l.next.next;h!==l.prev;){if(l.i!==h.i&&b(l,h)){var c=L(l,h);return l=s(l,l.next),c=s(c,c.next),o(l,e,r,n,i,a),void o(c,e,r,n,i,a)}h=h.next}l=l.next}while(l!==t)}function u(t,e,r,n){var o,a,l,h=[];for(o=0,a=e.length;o<a;o++)(l=i(t,e[o]*n,o<a-1?e[o+1]*n:t.length,n,!1))===l.next&&(l.steiner=!0),h.push(_(l));for(h.sort(f),o=0;o<h.length;o++)r=s(r=d(h[o],r),r.next);return r}function f(t,e){return t.x-e.x}function x(t){if(t.next.prev===t)return t;let e=t;for(;;){const r=e.next;if(r.prev===e||r===e||r===t)break;e=r}return e}function d(t,e){var r=function(t,e){var r,n=e,i=t.x,s=t.y,o=-1/0;do{if(s<=n.y&&s>=n.next.y&&n.next.y!==n.y){var a=n.x+(s-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=i&&a>o){if(o=a,a===i){if(s===n.y)return n;if(s===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!r)return null;if(i===o)return r;var l,h=r,c=r.x,u=r.y,f=1/0;n=r;do{i>=n.x&&n.x>=c&&i!==n.x&&m(s<u?i:o,s,c,u,s<u?o:i,s,n.x,n.y)&&(l=Math.abs(s-n.y)/(i-n.x),A(n,t)&&(l<f||l===f&&(n.x>r.x||n.x===r.x&&y(r,n)))&&(r=n,f=l)),n=n.next}while(n!==h);return r}(t,e);if(!r)return e;var n=L(r,t),i=s(r,r.next);let o=x(n);return s(o,o.next),i=x(i),x(e===r?i:e)}function y(t,e){return w(t.prev,t,e.prev)<0&&w(e.next,t,t.next)<0}function g(t,e,r,n){var i=t;do{null===i.z&&(i.z=p(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,s,o,a,l,h=1;do{for(r=t,t=null,s=null,o=0;r;){for(o++,n=r,a=0,e=0;e<h&&(a++,n=n.nextZ);e++);for(l=h;a>0||l>0&&n;)0!==a&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,a--):(i=n,n=n.nextZ,l--),s?s.nextZ=i:t=i,i.prevZ=s,s=i;r=n}s.nextZ=null,h*=2}while(o>1)}(i)}function p(t,e,r,n,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function _(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function m(t,e,r,n,i,s,o,a){return(i-o)*(e-a)-(t-o)*(s-a)>=0&&(t-o)*(n-a)-(r-o)*(e-a)>=0&&(r-o)*(s-a)-(i-o)*(n-a)>=0}function b(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&I(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&(A(t,e)&&A(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,s=(t.y+e.y)/2;do{r.y>s!=r.next.y>s&&r.next.y!==r.y&&i<(r.next.x-r.x)*(s-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}(t,e)&&(w(t.prev,t,e.prev)||w(t,e.prev,e))||v(t,e)&&w(t.prev,t,t.next)>0&&w(e.prev,e,e.next)>0)}function w(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function v(t,e){return t.x===e.x&&t.y===e.y}function I(t,e,r,n){var i=M(w(t,e,r)),s=M(w(t,e,n)),o=M(w(r,n,t)),a=M(w(r,n,e));return i!==s&&o!==a||!(0!==i||!T(t,r,e))||!(0!==s||!T(t,n,e))||!(0!==o||!T(r,t,n))||!(0!==a||!T(r,e,n))}function T(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function M(t){return t>0?1:t<0?-1:0}function A(t,e){return w(t.prev,t,t.next)<0?w(t,e,t.next)>=0&&w(t,t.prev,e)>=0:w(t,e,t.prev)<0||w(t,t.next,e)<0}function L(t,e){var r=new B(t.i,t.x,t.y),n=new B(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,s.next=n,n.prev=s,n}function S(t,e,r,n){var i=new B(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function k(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function B(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function V(t,e,r,n){for(var i=0,s=e,o=r-n;s<r;s+=n)i+=(t[o]-t[s])*(t[s+1]+t[o+1]),o=s;return i}r.d(e,{e:()=>n}),n.deviation=function(t,e,r,n){var i=e&&e.length,s=i?e[0]*r:t.length,o=Math.abs(V(t,0,s,r));if(i)for(var a=0,l=e.length;a<l;a++){var h=e[a]*r,c=a<l-1?e[a+1]*r:t.length;o-=Math.abs(V(t,h,c,r))}var u=0;for(a=0;a<n.length;a+=3){var f=n[a]*r,x=n[a+1]*r,d=n[a+2]*r;u+=Math.abs((t[f]-t[d])*(t[x+1]-t[f+1])-(t[f]-t[x])*(t[d+1]-t[f+1]))}return 0===o&&0===u?0:Math.abs((u-o)/o)},n.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var s=0;s<t[i].length;s++)for(var o=0;o<e;o++)r.vertices.push(t[i][s][o]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r}},32488(t,e,r){r.d(e,{A:()=>M});const n=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["«","»"],["»","«"],["‹","›"],["›","‹"],["⁽","⁾"],["⁾","⁽"],["₍","₎"],["₎","₍"],["≤","≥"],["≥","≤"],["〈","〉"],["〉","〈"],["﹙","﹚"],["﹚","﹙"],["﹛","﹜"],["﹜","﹛"],["﹝","﹞"],["﹞","﹝"],["﹤","﹥"],["﹥","﹤"]],i=["آ","أ","إ","ا"],s=["ﻵ","ﻷ","ﻹ","ﻻ"],o=["ﻶ","ﻸ","ﻺ","ﻼ"],a=["ا","ب","ت","ث","ج","ح","خ","د","ذ","ر","ز","س","ش","ص","ض","ط","ظ","ع","غ","ف","ق","ك","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ی","ئ","ؤ"],l=["ﺍ","ﺏ","ﺕ","ﺙ","ﺝ","ﺡ","ﺥ","ﺩ","ﺫ","ﺭ","ﺯ","ﺱ","ﺵ","ﺹ","ﺽ","ﻁ","ﻅ","ﻉ","ﻍ","ﻑ","ﻕ","ﻙ","ﻝ","ﻡ","ﻥ","ﻩ","ﻭ","ﻱ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯼ","ﺉ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺉ","ﺅ"],h=["ﺎ","ﺐ","ﺖ","ﺚ","ﺞ","ﺢ","ﺦ","ﺪ","ﺬ","ﺮ","ﺰ","ﺲ","ﺶ","ﺺ","ﺾ","ﻂ","ﻆ","ﻊ","ﻎ","ﻒ","ﻖ","ﻚ","ﻞ","ﻢ","ﻦ","ﻪ","ﻮ","ﻲ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯽ","ﺊ","ﺆ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺊ","ﺆ"],c=["ﺎ","ﺒ","ﺘ","ﺜ","ﺠ","ﺤ","ﺨ","ﺪ","ﺬ","ﺮ","ﺰ","ﺴ","ﺸ","ﺼ","ﻀ","ﻄ","ﻈ","ﻌ","ﻐ","ﻔ","ﻘ","ﻜ","ﻠ","ﻤ","ﻨ","ﻬ","ﻮ","ﻴ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯿ","ﺌ","ﺆ","ﹱ","ﹲ","ﹴ","ﹷ","ﹹ","ﹻ","ﹽ","ﹿ","ﺀ","ﺌ","ﺆ"],u=["ﺍ","ﺑ","ﺗ","ﺛ","ﺟ","ﺣ","ﺧ","ﺩ","ﺫ","ﺭ","ﺯ","ﺳ","ﺷ","ﺻ","ﺿ","ﻃ","ﻇ","ﻋ","ﻏ","ﻓ","ﻗ","ﻛ","ﻟ","ﻣ","ﻧ","ﻫ","ﻭ","ﻳ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯾ","ﺋ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺋ","ﺅ"],f=["ء","آ","أ","ؤ","إ","ا","ة","د","ذ","ر","ز","و","ى"],x=["ً","ً","ٌ","؟","ٍ","؟","َ","َ","ُ","ُ","ِ","ِ","ّ","ّ","ْ","ْ","ء","آ","آ","أ","أ","ؤ","ؤ","إ","إ","ئ","ئ","ئ","ئ","ا","ا","ب","ب","ب","ب","ة","ة","ت","ت","ت","ت","ث","ث","ث","ث","ج","ج","ج","ج","ح","ح","ح","ح","خ","خ","خ","خ","د","د","ذ","ذ","ر","ر","ز","ز","س","س","س","س","ش","ش","ش","ش","ص","ص","ص","ص","ض","ض","ض","ض","ط","ط","ط","ط","ظ","ظ","ظ","ظ","ع","ع","ع","ع","غ","غ","غ","غ","ف","ف","ف","ف","ق","ق","ق","ق","ك","ك","ك","ك","ل","ل","ل","ل","م","م","م","م","ن","ن","ن","ن","ه","ه","ه","ه","و","و","ى","ى","ي","ي","ي","ي","ﻵ","ﻶ","ﻷ","ﻸ","ﻹ","ﻺ","ﻻ","ﻼ","؟","؟","؟"],d=["ء","ف"],y=["غ","ي"],g=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],p=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],_=10,m=11,b=12,w=18,v=["UBAT_L","UBAT_R","UBAT_EN","UBAT_AN","UBAT_ON","UBAT_B","UBAT_S","UBAT_AL","UBAT_WS","UBAT_CS","UBAT_ES","UBAT_ET","UBAT_NSM","UBAT_LRE","UBAT_RLE","UBAT_PDF","UBAT_LRO","UBAT_RLO","UBAT_BN"],I=[100,0,0,0,0,101,102,103,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,4,4,4,0,4,0,4,0,4,4,4,0,0,4,4,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,0,0,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,105,7,7,106,107],T=[[w,w,w,w,w,w,w,w,w,6,5,6,8,5,w,w,w,w,w,w,w,w,w,w,w,w,w,w,5,5,5,6,8,4,4,m,m,m,4,4,4,4,4,_,9,_,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,w,w,w,w,w,w,5,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,9,4,m,m,m,m,4,4,4,4,0,4,4,w,4,4,m,m,2,2,4,0,4,4,4,2,0,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,4,4,4,4,4,4,4,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,1,b,1,b,b,1,b,b,1,b,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4],[3,3,3,3,4,4,4,4,7,m,m,7,9,7,4,4,b,b,b,b,b,b,b,b,b,b,b,7,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,3,3,3,3,3,3,3,3,3,3,m,3,3,7,7,7,b,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,3,4,b,b,b,b,b,b,7,7,b,b,4,b,b,b,b,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7],[7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,b,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,b,b,b,b,b,b,b,b,b,1,1,4,4,4,4,1,4,4,4,4,4],[8,8,8,8,8,8,8,8,8,8,8,w,w,w,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,m,m,m,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,w,w,w,w,w,4,4,4,4,4,w,w,w,w,w,w,2,0,4,4,2,2,2,2,2,2,_,_,4,4,4,0,2,2,2,2,2,2,2,2,2,2,_,_,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],[0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,4,4,4,4,4,1,b,1,1,1,1,1,1,1,1,1,1,_,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,4,1,4,1,1,4,1,1,4,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7],[b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,9,4,4,9,4,4,4,4,4,4,4,4,4,m,4,4,_,_,4,4,4,4,4,m,m,4,4,4,4,4,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,w],[4,4,4,m,m,m,4,4,4,4,4,_,9,_,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,4,4,4,m,m,4,4,4,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]];class M{constructor(){this.inputFormat="ILYNN",this.outputFormat="VLNNN",this.sourceToTarget=[],this.targetToSource=[],this.levels=[]}bidiTransform(t,e,r){if(this.sourceToTarget=[],this.targetToSource=[],!t)return"";if(function(t,e,r){q=[],H=[];for(let n=0;n<r;n++)t[n]=n,e[n]=n,q[n]=n}(this.sourceToTarget,this.targetToSource,t.length),!this.checkParameters(e,r))return t;e=this.inputFormat,r=this.outputFormat;let n=t;const a=J,c=W(e.charAt(1)),f=W(r.charAt(1)),d=(e.startsWith("I")?"L":e.charAt(0))+c,y=(r.startsWith("I")?"L":r.charAt(0))+f,g=e.charAt(2)+r.charAt(2);a.defInFormat=d,a.defOutFormat=y,a.defSwap=g;const p=A(t,d,y,g,a);let _=!1;return"R"===r.charAt(1)?_=!0:"C"!==r.charAt(1)&&"D"!==r.charAt(1)||(_="rtl"===this.checkContextual(p)),this.sourceToTarget=q,this.targetToSource=function(t){const e=new Array(t.length);for(let r=0;r<t.length;r++)e[t[r]]=r;return e}(this.sourceToTarget),K=this.targetToSource,n=e.charAt(3)===r.charAt(3)?p:"S"===r.charAt(3)?function(t,e){if(0===e.length)return"";void 0===t&&(t=!0);const r=(e=String(e)).split("");let n=0,i=1,a=r.length;t||(n=r.length-1,i=-1,a=1);const c=function(t,e,r,n){let i=0;const a=[];let c=0;for(let f=e;f*r<n;f+=r)if(D(t[f])||G(t[f])){if("ل"===t[f]&&E(t,f+r,r,n)){t[f]=Y(t[f+r],0===i?s:o),f+=r,Z(t,f,r,n),a[c]=f,c++,i=0;continue}const e=t[f];1===i?t[f]=R(t,f+r,r,n)?z(t[f]):O(t[f],h):!0===R(t,f+r,r,n)?t[f]=O(t[f],u):t[f]=O(t[f],l),G(e)||(i=1),!0===N(e)&&(i=0)}else i=0;return a}(r,n,i,a);let f="";for(let e=0;e<r.length;e++)P(c,c.length,e)>-1?(j(K,e,!t,-1),q.splice(e,1)):f+=r[e];return f}(_,p):function(t,e){if(0===t.length)return"";void 0===e&&(e=!0);let r="";const n=(t=String(t)).split("");for(let s=0;s<t.length;s++){let o=!1;if(n[s]>="ﹰ"&&n[s]<"\ufeff"){const a=t.charCodeAt(s);n[s]>="ﻵ"&&n[s]<="ﻼ"?(e?(s>0&&" "===n[s-1]?r=r.slice(0,-1)+"ل":(r+="ل",o=!0),r+=i[(a-65269)/2]):(r+=i[(a-65269)/2],r+="ل",s+1<t.length&&" "===n[s+1]?s++:o=!0),o&&(j(K,s,!0,1),q.splice(s,0,q[s]))):r+=x[a-65136]}else r+=n[s]}return r}(p,_),this.sourceToTarget=q,this.targetToSource=K,this.levels=H,n}_inputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.inputFormat=t}_outputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.outputFormat=t}checkParameters(t,e){return t?this._inputFormatSetter(t):t=this.inputFormat,e?this._outputFormatSetter(e):e=this.outputFormat,t!==e}checkContextual(t){let e=L(t);if("ltr"!==e&&"rtl"!==e){try{e=document.dir.toLowerCase()}catch(t){}"ltr"!==e&&"rtl"!==e&&(e="ltr")}return e}hasBidiChar(t){return rt.test(t)}}function A(t,e,r,n,i){const s=function(t,e,r){if(void 0===e.inFormat&&(e.inFormat=r.defInFormat),void 0===e.outFormat&&(e.outFormat=r.defOutFormat),void 0===e.swap&&(e.swap=r.defSwap),e.inFormat===e.outFormat)return e;const n=e.inFormat.slice(0,1),i=e.outFormat.slice(0,1);let s,o=e.inFormat.slice(1,4),a=e.outFormat.slice(1,4);return o.startsWith("C")&&(s=L(t),o="ltr"===s||"rtl"===s?s.toUpperCase():"L"===e.inFormat.charAt(2)?"LTR":"RTL",e.inFormat=n+o),a.startsWith("C")&&(s=L(t),"rtl"===s?a="RTL":"ltr"===s?(s=function(t){const e=t.split("");return e.reverse(),L(e.join(""))}(t),a=s.toUpperCase()):a="L"===e.outFormat.charAt(2)?"LTR":"RTL",e.outFormat=i+a),e}(t,{inFormat:e,outFormat:r,swap:n},i);if(s.inFormat===s.outFormat)return t;e=s.inFormat,r=s.outFormat,n=s.swap;const o=e.slice(0,1),a=e.slice(1,4),l=r.slice(0,1),h=r.slice(1,4);if(i.inFormat=e,i.outFormat=r,i.swap=n,"L"===o&&"VLTR"===r){if("LTR"===a)return i.dir=X,S(t,i);if("RTL"===a)return i.dir=tt,S(t,i)}if("V"===o&&"V"===l)return i.dir="RTL"===a?tt:X,V(t,i);if("L"===o&&"VRTL"===r)return"LTR"===a?(i.dir=X,t=S(t,i)):(i.dir=tt,t=S(t,i)),V(t);if("VLTR"===e&&"LLTR"===r)return i.dir=X,S(t,i);if("V"===o&&"L"===l&&a!==h)return t=V(t),"RTL"===a?A(t,"LLTR","VLTR",n,i):A(t,"LRTL","VRTL",n,i);if("VRTL"===e&&"LRTL"===r)return A(t,"LRTL","VRTL",n,i);if("L"===o&&"L"===l){const e=i.swap;return i.swap=e.slice(0,1)+"N","RTL"===a?(i.dir=tt,t=S(t,i),i.swap="N"+e.slice(1,3),i.dir=X,t=S(t,i)):(i.dir=X,t=S(t,i),i.swap="N"+e.slice(1,3),t=A(t,"VLTR","LRTL",i.swap,i)),t}return t}function L(t){const e=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t);return e?e[0]<="z"?"ltr":"rtl":""}function S(t,e){const r=t.split(""),n=[];return k(r,n,e),function(t,e,r){if(0!==r.hiLevel&&r.swap[0]!==r.swap[1])for(let r=0;r<t.length;r++)1===e[r]&&(t[r]=F(t[r]))}(r,n,e),C(2,r,n,e),C(1,r,n,e),H=n,r.join("")}function k(t,e,r){const n=t.length,i=r.dir?p:g;let s=0,o=-1;const a=[],l=[];r.hiLevel=r.dir,r.lastArabic=!1,r.hasUbatAl=!1,r.hasUbatB=!1,r.hasUbatS=!1;for(let e=0;e<n;e++)a[e]=B(t[e]);for(let h=0;h<n;h++){const n=s,c=U(t,a,l,h,r);l[h]=c,s=i[n][c];const u=240&s;s&=15;const f=i[s][$];if(e[h]=f,u>0)if(16===u){for(let t=o;t<h;t++)e[t]=1;o=-1}else o=-1;if(i[s][Q])-1===o&&(o=h);else if(o>-1){for(let t=o;t<h;t++)e[t]=f;o=-1}5===a[h]&&(e[h]=0),r.hiLevel|=f}r.hasUbatS&&function(t,e,r,n){for(let i=0;i<r;i++)if(6===t[i]){e[i]=n.dir;for(let r=i-1;r>=0&&8===t[r];r--)e[r]=n.dir}}(a,e,n,r)}function B(t){const e=t.charCodeAt(0),r=I[e>>8];return r<100?r:T[r-100][255&e]}function V(t,e){const r=t.split("");if(e){const t=[];k(r,t,e),H=t}return r.reverse(),q.reverse(),r.join("")}function P(t,e,r){for(let n=0;n<e;n++)if(t[n]===r)return n;return-1}function D(t){for(let e=0;e<d.length;e++)if(t>=d[e]&&t<=y[e])return!0;return!1}function R(t,e,r,n){for(;e*r<n&&G(t[e]);)e+=r;return!!(e*r<n&&D(t[e]))}function E(t,e,r,n){for(;e*r<n&&G(t[e]);)e+=r;let s=" ";if(!(e*r<n))return!1;s=t[e];for(let t=0;t<i.length;t++)if(i[t]===s)return!0;return!1}function C(t,e,r,n){if(n.hiLevel<t)return;if(1===t&&n.dir===tt&&!n.hasUbatB)return e.reverse(),void q.reverse();const i=e.length;let s,o,a,l,h,c=0;for(;c<i;){if(r[c]>=t){for(s=c+1;s<i&&r[s]>=t;)s++;for(o=c,a=s-1;o<a;o++,a--)l=e[o],e[o]=e[a],e[a]=l,h=q[o],q[o]=q[a],q[a]=h;c=s}c++}}function U(t,e,r,n,i){const s=e[n];return{UBAT_L:()=>(i.lastArabic=!1,0),UBAT_R:()=>(i.lastArabic=!1,1),UBAT_ON:()=>4,UBAT_AN:()=>3,UBAT_EN:()=>i.lastArabic?3:2,UBAT_AL:()=>(i.lastArabic=!0,i.hasUbatAl=!0,1),UBAT_WS:()=>4,UBAT_CS:()=>{let t,s;return n<1||n+1>=e.length||2!==(t=r[n-1])&&3!==t||2!==(s=e[n+1])&&3!==s?4:(i.lastArabic&&(s=3),s===t?s:4)},UBAT_ES:()=>2===(n>0?r[n-1]:5)&&n+1<e.length&&2===e[n+1]?2:4,UBAT_ET:()=>{if(n>0&&2===r[n-1])return 2;if(i.lastArabic)return 4;let t=n+1;const s=e.length;for(;t<s&&11===e[t];)t++;return t<s&&2===e[t]?2:4},UBAT_NSM:()=>{if("VLTR"===i.inFormat){const r=e.length;let i=n+1;for(;i<r&&12===e[i];)i++;if(i<r){const r=t[n].charCodeAt(0),s=r>=1425&&r<=2303||64286===r,o=e[i];if(s&&(1===o||7===o))return 1}}return n<1||5===e[n-1]?4:r[n-1]},UBAT_B:()=>(i.lastArabic=!0,i.hasUbatB=!0,i.dir),UBAT_S:()=>(i.hasUbatS=!0,4),UBAT_LRE:()=>(i.lastArabic=!1,4),UBAT_RLE:()=>(i.lastArabic=!1,4),UBAT_LRO:()=>(i.lastArabic=!1,4),UBAT_RLO:()=>(i.lastArabic=!1,4),UBAT_PDF:()=>(i.lastArabic=!1,4),UBAT_BN:()=>4}[v[s]]()}function F(t){let e,r=0,i=n.length-1;for(;r<=i;)if(e=Math.floor((r+i)/2),t<n[e][0])i=e-1;else{if(!(t>n[e][0]))return n[e][1];r=e+1}return t}function N(t){for(let e=0;e<f.length;e++)if(f[e]===t)return!0;return!1}function z(t){for(let e=0;e<a.length;e++)if(t===a[e])return c[e];return t}function O(t,e){for(let r=0;r<a.length;r++)if(t===a[r])return e[r];return t}function G(t){return t>="ً"&&t<="ٕ"}function W(t){return"L"===t?"LTR":"R"===t?"RTL":"C"===t?"CLR":"D"===t?"CRL":""}function Z(t,e,r,n){for(;e*r<n&&G(t[e]);)e+=r;return e*r<n&&(t[e]=" ",!0)}function Y(t,e){for(let r=0;r<i.length;r++)if(t===i[r])return e[r];return t}function j(t,e,r,n){for(let i=0;i<t.length;i++)(t[i]>e||!r&&t[i]===e)&&(t[i]+=n)}let q=[],K=[],H=[];const J={dir:0,defInFormat:"LLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUbatAl:!1,defOutFormat:""},$=5,Q=6,X=0,tt=1,et=/^[(I|V)][(L|RCD)][(Y|N)][(S|N)]N$/,rt=/[\u0591-\u06ff\ufb1d-\ufefc]/},95488(t,e,r){r.d(e,{I:()=>i});var n=r(11406);class i extends n.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},34304(t,e,r){r.d(e,{DF:()=>l,FD:()=>i,ct:()=>h});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,a=180/Math.PI;function l(t){return t*o}function h(t){return t*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(t,e){return Math.abs(t-e)<=n*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){n=t},toDegree:h,toRadian:l},Symbol.toStringTag,{value:"Module"})),r.d(e,["Ov",0,s])},51624(t,e,r){r.d(e,{A:()=>h});var n=r(44208),i=r(69397),s=r(93687);const o=4294967296,a=new TextDecoder("utf-8"),l=(0,n.A)("safari")||(0,n.A)("ios")?6:(0,n.A)("ff")?12:32;class h{constructor(t,e,r=0,n=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,r,n)}[Symbol.dispose](){this.release()}_init(t,e,r,n){this._data=t,this._dataView=e,this._pos=r,this._end=n}get usedMemory(){return 64+(0,i.Qf)(this._data)}asUnsafe(){return this}clone(){return new h(this._data,this._dataView,this._pos,this._end)}clonePooled(){return h.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,r=0,n=t?.byteLength??0){const i=h.pool.acquire();return i._init(t,e,r,n),i}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,r=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),r}getSFixed64(){const t=this._dataView,e=this._pos,r=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),r}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,r=this._toString(this._data,e,e+t);return this._skip(t),r}getBytes(){const t=this._getLength(),e=this._pos,r=this._toBytes(this._data,e,e+t);return this._skip(t),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,r,n){const i=this.getMessage(),s=t(i,e,r,n);return i.release(),s}processMessage(t){const e=this.getMessage(),r=t(e);return e.release(),r}getMessage(){const t=this._getLength(),e=h.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){h.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,r=0,n=0;if(this._end-e>=10)do{if(n=t[e++],r|=127&n,!(128&n))break;if(n=t[e++],r|=(127&n)<<7,!(128&n))break;if(n=t[e++],r|=(127&n)<<14,!(128&n))break;if(n=t[e++],r|=(127&n)<<21,!(128&n))break;if(n=t[e++],r+=268435456*(127&n),!(128&n))break;if(n=t[e++],r+=34359738368*(127&n),!(128&n))break;if(n=t[e++],r+=4398046511104*(127&n),!(128&n))break;if(n=t[e++],r+=562949953421312*(127&n),!(128&n))break;if(n=t[e++],r+=72057594037927940*(127&n),!(128&n))break;if(n=t[e++],r+=0x8000000000000000*(127&n),!(128&n))break;throw new Error("Varint too long!")}while(0);else{let i=1;for(;e!==this._end&&(n=t[e],128&n);)++e,r+=(127&n)*i,i*=128;if(e===this._end)throw new Error("Varint overrun!");++e,r+=n*i}return this._pos=e,r}_decodeSVarint(){const t=this._data;let e,r=0,n=0;const i=1&t[this._pos];if(n=t[this._pos++],r|=127&n,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<7,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<14,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<21,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=268435456*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=34359738368*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=4398046511104*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(e=BigInt(r),n=t[this._pos++],e+=0x2000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/2n);if(n=t[this._pos++],e+=0x100000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/2n);if(n=t[this._pos++],e+=0x8000000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,r){if((r=Math.min(this._end,r))-e>l){const n=t.subarray(e,r);return a.decode(n)}let n="",i="";for(let s=e;s<r;++s){const e=t[s];128&e?i+="%"+e.toString(16):(n+=decodeURIComponent(i)+String.fromCharCode(e),i="")}return i.length&&(n+=decodeURIComponent(i)),n}_toBytes(t,e,r){return r=Math.min(this._end,r),new Uint8Array(t.buffer,e,r-e)}static{this.pool=new s.A(()=>new h(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},15585(t,e,r){r.d(e,{If:()=>x,O5:()=>p,O9:()=>y,QT:()=>g,l3:()=>d});var n=r(5482),i=r(2741),s=r(49186),o=r(44208),a=r(34727);let l=null,h=null,c=null,u=null;const f=(new Float32Array(0),new Uint32Array(0),new Uint32Array(0),new Uint32Array(0),{vertices:new Float64Array(0),indices:new Uint32Array(0),outlineIndices:new Uint32Array(0),outlineRingLengths:new Uint32Array(0),vertexCount:0,indexCount:0,outlineIndexCount:0,outlineRingCount:0});async function x(){return l??=async function(){const t=await r.e(2997).then(r.bind(r,42997)),e=await t.default({locateFile:t=>(0,i.s)(`esri/core/libs/libtess/${t}`)});c=e}(),l}async function d(){return h??=async function(){const t=await r.e(9134).then(r.bind(r,99134)),e=await t.default({locateFile:t=>(0,i.s)(`esri/core/libs/libtess/${t}`)});u=e}(),h}function y(){return null!==u}function g(t,e,r=2){const i={stack:[],error:void 0,hasError:!1};try{const a=c;if(!a)throw new s.A("libtess:not-loaded","libtessF32 not loaded");const l=(0,n.mS)(i,w.from(a,t),!1),h=(0,n.mS)(i,I.from(a,e),!1),u=t.length/r*4,f=(0,n.mS)(i,new w(a,u*r),!1),x=a.triangulate(l.ptr,h.ptr,h.size,r,f.ptr,u);if((0,o.A)("esri-tessellation-debug")){const t=a.getError();0!==t&&console.warn("libtess:triangulation",T(t))}return{buffer:f.slice(0,x*r),vertexCount:x}}catch(t){i.error=t,i.hasError=!0}finally{(0,n.hk)(i)}}function p(t,e,r=2,i=!0){const l={stack:[],error:void 0,hasError:!1};try{const h=u;if(!h)throw new s.A("libtess:not-loaded","libtessF64 not loaded");const c=(0,n.mS)(l,v.from(h,t),!1),x=(0,n.mS)(l,I.from(h,e),!1),d=(0,n.mS)(l,new I(h,1),!1),y=(0,n.mS)(l,new I(h,1),!1),g=(0,n.mS)(l,new I(h,1),!1),p=(0,n.mS)(l,new I(h,1),!1),{maxVertexCount:_,maxIndexCount:m,maxOutlineIndexCount:w,maxOutlineRingCount:M}=function(t,e){const r=t.reduce((t,e)=>t+e,0),n=t.length,i=Math.max(0,t.length-1),s=Math.max(0,r+2*i-2),o=Math.max(0,Math.ceil(2*r)),l=Math.max(0,Math.ceil(3*s*2)),h=(0,a.mP)(l,3),c=r>0?Math.max(2,Math.ceil(.25*r)):0,u=r>0?Math.max(1,Math.ceil(c/3)):0;return{maxVertexCount:o,maxIndexCount:h,maxOutlineIndexCount:e?Math.max(0,r+n+c):0,maxOutlineRingCount:e?Math.max(0,n+u):0}}(e,i);let A=0,L=0,S=0,k=0,B=0;{const t={stack:[],error:void 0,hasError:!1};try{const e=(0,n.mS)(t,new v(h,_*r),!1),s=(0,n.mS)(t,new I(h,m),!1),o=(0,n.mS)(t,i?new I(h,w):null,!1),a=(0,n.mS)(t,i?new I(h,M):null,!1);if(h.triangulateIndexed(c.ptr,x.ptr,x.size,r,e.ptr,_,r,s.ptr,m,d.ptr,y.ptr,o?.ptr??0,w,a?.ptr??0,M,g.ptr,p.ptr),B=h.getError(),A=b(h)[d.ptr/Int32Array.BYTES_PER_ELEMENT],L=b(h)[y.ptr/Int32Array.BYTES_PER_ELEMENT],S=b(h)[g.ptr/Int32Array.BYTES_PER_ELEMENT],k=b(h)[p.ptr/Int32Array.BYTES_PER_ELEMENT],0===B){const t=e.slice(0,A*r);return{vertices:t,indices:s.slice(0,L),outlineIndices:i&&o?o.slice(0,S):f.outlineIndices,outlineRingLengths:i&&a?a.slice(0,k):f.outlineRingLengths,vertexCount:A,indexCount:L,outlineIndexCount:i?S:0,outlineRingCount:i?k:0}}}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}if(100903!==B)return(0,o.A)("esri-tessellation-debug")&&console.warn("libtess:triangulation",T(B)),f;const V=(0,n.mS)(l,new v(h,A*r),!1),P=(0,n.mS)(l,new I(h,L),!1),D=(0,n.mS)(l,i?new I(h,S):null,!1),R=(0,n.mS)(l,i?new I(h,k):null,!1);if(h.triangulateIndexed(c.ptr,x.ptr,x.size,r,V.ptr,A,r,P.ptr,L,d.ptr,y.ptr,D?.ptr??0,i?S:0,R?.ptr??0,i?k:0,g.ptr,p.ptr),B=h.getError(),0!==B)return(0,o.A)("esri-tessellation-debug")&&console.warn("libtess:triangulation",T(B)),f;const E=b(h)[d.ptr/Int32Array.BYTES_PER_ELEMENT],C=b(h)[y.ptr/Int32Array.BYTES_PER_ELEMENT],U=b(h)[g.ptr/Int32Array.BYTES_PER_ELEMENT],F=b(h)[p.ptr/Int32Array.BYTES_PER_ELEMENT],N=V.slice(0,E*r);return{vertices:N,indices:P.slice(0,C),outlineIndices:i&&D?D.slice(0,U):f.outlineIndices,outlineRingLengths:i&&R?R.slice(0,F):f.outlineRingLengths,vertexCount:E,indexCount:C,outlineIndexCount:i?U:0,outlineRingCount:i?F:0}}catch(t){l.error=t,l.hasError=!0}finally{(0,n.hk)(l)}}function _(t){return t.HEAPF64}function m(t){return t.HEAPF32}function b(t){return t.HEAP32}class w{static from(t,e){const r=new w(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateCoordinateArray(e)}destroy(){this._libtess.destroyCoordinateArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Float32Array.BYTES_PER_ELEMENT}set(t){m(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return m(this._libtess).slice(r+t,r+e)}}class v{static from(t,e){const r=new v(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateCoordinateArray(e)}destroy(){this._libtess.destroyCoordinateArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Float64Array.BYTES_PER_ELEMENT}set(t){_(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return _(this._libtess).slice(r+t,r+e)}}class I{static from(t,e){const r=new I(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateLengthsArray(e)}destroy(){this._libtess.destroyLengthsArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Int32Array.BYTES_PER_ELEMENT}set(t){b(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return function(t){const e=b(t);return new Uint32Array(e.buffer,e.byteOffset,e.length)}(this._libtess).slice(r+t,r+e)}}function T(t){switch(t){case 100903:return"Insufficient output buffer";case 100902:return"Out of memory";case 100151:return"Missing begin polygon";case 100152:return"Missing begin contour";case 100153:return"Missing end polygon";case 100154:return"Missing end countour";case 100155:return"Coordinates too large";case 100156:return"Missing combine callback";default:return`Unknown: ${t}`}}},95108(t,e,r){r.d(e,{$3:()=>h,Ng:()=>o,R3:()=>i,Yl:()=>l,gR:()=>s,m3:()=>u,t9:()=>a});var n=r(4576);function i(t,e){const r=e[0]-t[0],n=e[1]-t[1];if(t.length>2&&e.length>2){const i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}return Math.sqrt(r*r+n*n)}function s(t,e,r,n){const[i,s]=e,[o,a]=r,[l,h]=n,c=l-o,u=h-a,f=c*c+u*u,x=(i-o)*c+(s-a)*u,d=Math.min(1,Math.max(0,x/f));return t[0]=o+c*d,t[1]=a+u*d,t}function o(t,e,r,n,i,s){let o=r,a=n,l=i-o,h=s-a;if(0!==l||0!==h){const r=((t-o)*l+(e-a)*h)/(l*l+h*h);r>1?(o=i,a=s):r>0&&(o+=l*r,a+=h*r)}return l=t-o,h=e-a,l*l+h*h}function a(t,e){return function(t,e,r){const n=t[0]+r*(e[0]-t[0]),i=t[1]+r*(e[1]-t[1]);return t.length>2&&e.length>2?[n,i,t[2]+r*(e[2]-t[2])]:[n,i]}(t,e,.5)}function l(t){const e=t.length;let r=0;for(let n=0;n<e-1;++n)r+=i(t[n],t[n+1]);return r}function h(t,e=0,r=1){let n=0;const i=t.length;let s=t[0];for(let o=1;o<i;o++){const i=t[o];n+=(i[e]-s[e])*(i[r]+s[r]),s=i}if(c(t)){const i=t[0];n+=(i[e]-s[e])*(i[r]+s[r])}return n>=0}function c(t){const e=t.length;return e>0&&!(0,n.aI)(t[0],t[e-1])}function u(t){if("rings"in t)for(const e of t.rings)c(e)&&e.push(e[0].slice())}r(52006)},52006(t,e,r){function n(t){return"curveRings"in t&&!!t.curveRings?.length||"curvePaths"in t&&!!t.curvePaths?.length}function i(t){return"curveRings"in t?t.curveRings:t.curvePaths}function s(t){return"b"in t}function o(t){return"c"in t}function a(t){return Array.isArray(t)}function l(t){return"a"in t}function h(t){return"a"in t&&4===t.a.length}function c(t){return"a"in t&&7===t.a.length}function u(t,e){return i(t).flat().some(t=>function(t,e){return!(a(t)||(s(t)?e.has("cubic-bezier"):o(t)?e.has("circular-arc"):!h(t)&&!c(t)||e.has("elliptic-arc")))}(t,e))}function f(t){return a(t)?t:s(t)?t.b[0]:o(t)?t.c[0]:t.a[0]}function x(t){if(s(t)){const[e,r,n]=t.b;return{b:[[...e],[...r],[...n]]}}if(o(t)){const[e,r]=t.c;return{c:[[...e],[...r]]}}if(a(t))return[...t];if(h(t)){const[e,r,n,i]=t.a;return{a:[[...e],[...r],n,i]}}if(c(t)){const[e,r,n,i,s,o,a]=t.a;return{a:[[...e],[...r],n,i,s,o,a]}}return t}r.d(e,{DA:()=>h,Ed:()=>n,FD:()=>i,FG:()=>l,V8:()=>u,Xq:()=>a,aO:()=>o,n1:()=>s,tk:()=>x,wY:()=>c,yP:()=>f}),r(4576)},97770(t,e,r){r.d(e,{Ey:()=>P,F8:()=>V,J2:()=>L,Yq:()=>k,_m:()=>S,iS:()=>B,wj:()=>D});var n=r(66552),i=r(73444),s=r(98623),o=r(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},h={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},x={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},y={...d,second:"numeric"},g={hourCycle:"h23"},p={...d,...g},_={...y,...g},m={"short-date":c,"short-date-short-time":{...c,...d},"short-date-short-time-24":{...c,...p},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,..._},"short-date-le":c,"short-date-le-short-time":{...c,...d},"short-date-le-short-time-24":{...c,...p},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,..._},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...d},"long-month-day-year-short-time-24":{...u,...p},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,..._},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...d},"day-short-month-year-short-time-24":{...f,...p},"day-short-month-year-long-time":{...f,...y},"day-short-month-year-long-time-24":{...f,..._},"long-date":x,"long-date-short-time":{...x,...d},"long-date-short-time-24":{...x,...p},"long-date-long-time":{...x,...y},"long-date-long-time-24":{...x,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":y},b=(0,n.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),w={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},v=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),I=v.find(({type:t})=>"month"===t)?.value.toLowerCase();function T(){const t=(0,i.lR)();return(t&&w[t])??(0,i.QC)()}"mart"!==I&&(w.bs="sr-Latn-CS");let M=new WeakMap;const A=m["short-date-short-time"];function L(t){return m[t]}function S(t){const{dateStyle:e,timeStyle:r,hour12:n,year:i,month:s}=t,o={};return e?o.dateStyle=e:i&&(o.year=i,o.month=s||void 0),r&&!o.year&&(o.timeStyle=r,o.hour12="auto"===n?void 0:"always"===n),o}function k(t,e=A){return function(t){let e=M.get(t);if(!e){const r=T(),n=D(t.timeZone??"system"),i={...t,timeZone:n};e=new Intl.DateTimeFormat(r,i),M.set(t,e)}return e}(e).format(t)}function B(t,e=A){return k(new Date(t),{...e,...h,...l})}function V(t,e=A){return k(new Date(`1970-01-01T${t}Z`),{...e,...h,...a})}function P(t,e=A){const r=o.c9.fromISO(t,{setZone:!0});if(!r.isValid)return t;if(e.timeZone)return k(r.toJSDate(),e);const n=0===r.offset?"UTC":e.timeZone,i={...e,timeZone:n};return r.toLocaleString(i,{locale:T()})}function D(t){switch(t){case"system":return s.N;case s.L:return"UTC";default:return t}}(0,i.Ml)(()=>{M=new WeakMap}),r.d(e,["_v",0,b])},73444(t,e,r){r.d(e,{JK:()=>l,Ml:()=>g,QC:()=>u,lR:()=>c,oQ:()=>d});var n=r(36563);let i;r(44208);const s=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return s??t??e??"en"}function l(){return void 0===i&&(i=a()),i}const h=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=l()){return f(t)?.language}function u(t=l()){const e=f(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function f(t=l()){return h.exec(t)?.groups}const x=[];function d(t){return x.push(t),(0,n.hA)(()=>{x.splice(x.indexOf(t),1)})}new Map;const y=[];function g(t){return y.push(t),(0,n.hA)(()=>y.splice(y.indexOf(t),1))}function p(){const t=a();i!==t&&([...y].forEach(e=>e(t)),i=t,[...x].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",p),o&&new MutationObserver(()=>{p()}).observe(o,{attributeFilter:["lang"]})},98623(t,e,r){const n=Intl.DateTimeFormat().resolvedOptions().timeZone;r.d(e,["L",0,"unknown","N",0,n])},36849(t,e,r){r.r(e),r.d(e,{default:()=>H});var n=r(17676),i=r(29953),s=r(6774),o=r(13195);function a(t){return 746===t||747===t||!(t<4352)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103&&!(t>=65097&&t<=65103)||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351&&!(t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=12592&&t<=12687||t>=43360&&t<=43391||t>=55216&&t<=55295||t>=4352&&t<=4607||t>=44032&&t<=55215||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12688&&t<=12703||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543&&12540!==t||t>=65280&&t<=65519&&!(65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||t>=65104&&t<=65135&&!(t>=65112&&t<=65118||t>=65123&&t<=65126)||t>=5120&&t<=5759||t>=6320&&t<=6399||t>=65040&&t<=65055||t>=19904&&t<=19967||t>=40960&&t<=42127||t>=42128&&t<=42191)}function l(t){return!(t<11904)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=65280&&t<=65519||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543||t>=65040&&t<=65055||t>=42128&&t<=42191||t>=40960&&t<=42127)}function h(t){switch(t){case 10:case 32:case 38:case 40:case 41:case 43:case 45:case 47:case 173:case 183:case 8203:case 8208:case 8211:case 8231:return!0}return!1}function c(t){switch(t){case 9:case 10:case 11:case 12:case 13:case 32:return!0}return!1}var u=r(18989);class f{constructor(t,e,r,n,i,s,o){this._glyphItems=t,this._maxWidth=e,this._lineHeight=r,this._letterSpacing=n,this._hAnchor=i,this._vAnchor=s,this._justify=o}getShaping(t,e,r){const n=this._letterSpacing,i=this._lineHeight,s=this._justify,o=this._maxWidth,u=[];let f=0,x=0;for(const e of t){const t=e.codePointAt(0);if(null==t)continue;const i=r&&a(t);let s;for(const e of this._glyphItems)if(s=e[t],s)break;u.push({codePoint:t,x:f,y:x,vertical:i,glyphItem:s}),s&&(f+=s.shaping.xAdvance+n)}let d=f;o>0&&(d=f/Math.max(1,Math.ceil(f/o)));const y=t.includes(""),g=[],p=u.length;for(let t=0;t<p-1;t++){const e=u[t].codePoint,r=l(e);if(h(e)||r){let n=0;if(10===e)n-=1e4;else if(r&&y)n+=150;else{40!==e&&65288!==e||(n+=50);const r=u[t+1].codePoint;41!==r&&65289!==r||(n+=50)}g.push(this._buildBreak(t+1,u[t].x,d,g,n,!1))}}const _=this._optimalBreaks(this._buildBreak(p,f,d,g,0,!0));let m=0;const b=e?-i:i;let w=0;for(let t=0;t<_.length;t++){const e=_[t];let r=w;for(;r<e&&c(u[r].codePoint);)u[r].glyphItem=null,++r;let n=e-1;for(;n>r&&c(u[n].codePoint);)u[n].glyphItem=null,--n;if(r<=n){const t=u[r].x;for(let e=r;e<=n;e++)u[e].x-=t,u[e].y=x;let e=u[n].x;u[n].glyphItem&&(e+=u[n].glyphItem.shaping.xAdvance),m=Math.max(e,m),s&&this._applyJustification(u,r,n)}w=e,x+=b}if(u.length>0){const t=_.length-1,r=(s-this._hAnchor)*m;let n=(-this._vAnchor*(t+1)+.5)*i;e&&t&&(n+=t*i);for(const t of u)t.x+=r,t.y+=n}return u.filter(t=>t.glyphItem)}static getTextBox(t,e){if(!t.length)return null;let r=1/0,n=1/0,i=0,s=0;for(const o of t){const t=o.glyphItem.shaping.xAdvance,a=o.x,l=o.y-17,h=a+t,c=l+e;r=Math.min(r,a),i=Math.max(i,h),n=Math.min(n,l),s=Math.max(s,c)}return{x:r,y:n,width:i-r,height:s-n}}static getBox(t){if(!t.length)return null;let e=1/0,r=1/0,n=0,i=0;for(const s of t){const{height:t,left:o,top:a,width:l}=s.glyphItem.rect,h=s.x,c=s.y-(t-Math.abs(a)),u=h+l+o,f=c+t;e=Math.min(e,h),n=Math.max(n,u),r=Math.min(r,c),i=Math.max(i,f)}return{x:e,y:r,width:n-e,height:i-r}}static addDecoration(t,e){const r=t.length;if(0===r)return;const n={rect:new u.A(4,0,4,8),sdf:!0,page:0};let i=t[0].x+t[0].glyphItem.rect.left,s=t[0].y;for(let o=1;o<r;o++){const r=t[o];if(r.y!==s){const a=t[o-1].x+t[o-1].glyphItem.rect.left+t[o-1].glyphItem.rect.width;t.push({codePoint:0,x:i,y:s+e-3,vertical:!1,glyphItem:{mosaicItem:n,rect:{width:a-i,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}}),s=r.y,i=r.x+r.glyphItem.rect.left}}const o=t[r-1].x+t[r-1].glyphItem.rect.left+t[r-1].glyphItem.rect.width;t.push({codePoint:0,x:i,y:s+e-3,vertical:!1,glyphItem:{mosaicItem:n,rect:{width:o-i,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}})}_breakScore(t,e,r,n){const i=(t-e)*(t-e);return n?t<e?i/2:2*i:i+Math.abs(r)*r}_buildBreak(t,e,r,n,i,s){let o=null,a=this._breakScore(e,r,i,s);for(const t of n){const n=e-t.x,l=this._breakScore(n,r,i,s)+t.score;l<=a&&(o=t,a=l)}return{index:t,x:e,score:a,previousBreak:o}}_optimalBreaks(t){return t?this._optimalBreaks(t.previousBreak).concat(t.index):[]}_applyJustification(t,e,r){const n=t[r],i=n.vertical?24:n.glyphItem?n.glyphItem.shaping.xAdvance:0,s=(n.x+i)*this._justify;for(let n=e;n<=r;n++)t[n].x-=s}}const x=.5;class d{constructor(t,e,r=0,n=-1,i=x){this.x=t,this.y=e,this.angle=r,this.segment=n,this.minzoom=i}}class y{constructor(t,e,r,n,i,s=x,a=o.MG){this.anchor=t,this.labelAngle=e,this.glyphAngle=r,this.page=n,this.alternateVerticalGlyph=i,this.minzoom=s,this.maxzoom=a}}class g{constructor(t,e,r,n,i,s,o,a,l,h,c,u){this.tl=t,this.tr=e,this.bl=r,this.br=n,this.mosaicRect=i,this.labelAngle=s,this.minAngle=o,this.maxAngle=a,this.anchor=l,this.minzoom=h,this.maxzoom=c,this.page=u}}class p{constructor(t){this.shapes=t}}class _{getIconPlacement(t,e,r){const n=new s.bR(t.x,t.y),i=0===r.rotationAlignment,a=r.keepUpright;let l=r.rotate*o.os;i&&(l+=t.angle);const h=new p([]);return h.iconColliders=[],this._addIconPlacement(h,n,e,r,l),i&&a&&this._addIconPlacement(h,n,e,r,l+o.Jo),h}_addIconPlacement(t,e,r,n,i){const a=r.rasterizationScale,l=r.width/a,h=r.height/a,c=n.offset;let u=c[0],f=c[1];switch(n.anchor){case 0:u-=l/2,f-=h/2;break;case 1:f-=h/2;break;case 2:u-=l,f-=h/2;break;case 3:u-=l/2;break;case 4:u-=l/2,f-=h;break;case 5:break;case 7:f-=h;break;case 6:u-=l;break;case 8:u-=l,f-=h}const d=r.rect,y=2/a,p=u-y,_=f-y,m=p+d.width/a,b=_+d.height/a,w=new s.bR(p,_),v=new s.bR(m,b),I=new s.bR(p,b),T=new s.bR(m,_);if(0!==i){const t=Math.cos(i),e=Math.sin(i);w.rotate(t,e),v.rotate(t,e),I.rotate(t,e),T.rotate(t,e)}const M=new g(w,T,I,v,d,i,0,256,e,x,o.MG,0);t.shapes.push(M);{const r=n.size,s=n.padding,a={xTile:e.x,yTile:e.y,dxPixels:u*r-s,dyPixels:f*r-s,hard:!n.optional,partIndex:0,width:l*r+2*s,height:h*r+2*s,angle:i,minLod:x,maxLod:o.MG};t.iconColliders.push(a)}}getTextPlacement(t,e,r,n){const i=new s.bR(t.x,t.y),{keepUpright:a,rotate:l,rotationAlignment:h,size:c}=n,u=l*o.os,d=0===h,_=a,m=n.padding;let b=x;const w=d?t.angle:0,v=t.segment>=0&&d,I=[],T=[],M=!v;let A=Number.POSITIVE_INFINITY,L=Number.NEGATIVE_INFINITY,S=A,k=L;const B=(v||d)&&_,V=c/24;let P=!1;for(const t of e)if(t.vertical){P=!0;break}let D,R=0,E=0;if(!v&&P){const t=f.getTextBox(e,24*n.lineHeight);switch(n.anchor){case 1:R=t.height/2,E=-t.width/2;break;case 2:R=-t.height/2,E=t.width/2;break;case 3:R=t.height/2,E=t.width/2;break;case 4:R=-t.height/2,E=-t.width/2;break;case 5:R=t.height;break;case 7:E=-t.width;break;case 6:E=t.width;break;case 8:R=-t.height}}R+=24*n.offset[0],E+=24*n.offset[1];for(const a of e){const e=a.glyphItem?.mosaicItem,l=a.glyphItem?.rect;if(!e||e.rect.isEmpty)continue;const h=e.rect,c=e.page;if(I&&M){if(void 0!==D&&D!==a.y){let e,r,i,s;P?(e=-k+R,r=A+E,i=k-S,s=L-A):(e=A+R,r=S+E,i=L-A,s=k-S);const a={xTile:t.x,yTile:t.y,dxPixels:e*V-m,dyPixels:r*V-m,hard:!n.optional,partIndex:1,width:i*V+2*m,height:s*V+2*m,angle:u,minLod:x,maxLod:o.MG};I.push(a),A=Number.POSITIVE_INFINITY,L=Number.NEGATIVE_INFINITY,S=A,k=L}D=a.y}const f=[];if(v){const e=.5*l.width,n=(a.x+l.left-3+e)*V*8;if(b=this._placeGlyph(t,b,n,r,t.segment,1,a.vertical,c,f),_&&(b=this._placeGlyph(t,b,n,r,t.segment,-1,a.vertical,c,f)),b>=2)break}else f.push(new y(i,w,w,c,!1)),d&&_&&f.push(new y(i,w+o.Jo,w+o.Jo,c,!1));const p=a.x+l.left,C=a.y-17-l.top,U=p+l.width,F=C+l.height;let N,z,O,G,W,Z,Y,j;if(!v&&P)if(a.vertical){const t=(p+U)/2-l.height/2,e=(C+F)/2+l.width/2;N=new s.bR(-e-3+R,t-3+E),z=new s.bR(N.x+h.width,N.y+h.height),O=new s.bR(N.x,z.y),G=new s.bR(z.x,N.y)}else N=new s.bR(3-C+R,p-3+E),z=new s.bR(N.x-h.height,N.y+h.width),O=new s.bR(z.x,N.y),G=new s.bR(N.x,z.y);else N=new s.bR(p-3+R,C-3+E),z=new s.bR(N.x+h.width,N.y+h.height),O=new s.bR(N.x,z.y),G=new s.bR(z.x,N.y);for(const e of f){let r,i,o,c;if(e.alternateVerticalGlyph){if(!W){const t=(C+F)/2+E;W=new s.bR((p+U)/2+R-l.height/2-3,t+l.width/2+3),Z=new s.bR(W.x+h.height,W.y-h.width),Y=new s.bR(Z.x,W.y),j=new s.bR(W.x,Z.y)}r=W,i=Y,o=j,c=Z}else r=N,i=O,o=G,c=z;const f=C,x=F,d=e.glyphAngle+u;if(0!==d){const t=Math.cos(d),e=Math.sin(d);r=r.clone(),i=i?.clone(),o=o?.clone(),c=c?.clone(),r.rotate(t,e),c?.rotate(t,e),i?.rotate(t,e),o?.rotate(t,e)}let y=0,_=256;if(v&&P?a.vertical?e.alternateVerticalGlyph?(y=32,_=96):(y=224,_=32):(y=224,_=96):(y=192,_=64),T.push(new g(r,o,i,c,h,e.labelAngle,y,_,e.anchor,e.minzoom,e.maxzoom,e.page)),I&&(!B||this._legible(e.labelAngle)))if(M)p<A&&(A=p),f<S&&(S=f),U>L&&(L=U),x>k&&(k=x);else if(e.minzoom<2){const r={xTile:t.x,yTile:t.y,dxPixels:(p+R)*V-m,dyPixels:(f+R)*V-m,hard:!n.optional,partIndex:1,width:(U-p)*V+2*m,height:(x-f)*V+2*m,angle:d,minLod:e.minzoom,maxLod:e.maxzoom};I.push(r)}}}if(b>=2)return null;if(I&&M){let e,r,i,s;P?(e=-k+R,r=A+E,i=k-S,s=L-A):(e=A+R,r=S+E,i=L-A,s=k-S);const a={xTile:t.x,yTile:t.y,dxPixels:e*V-m,dyPixels:r*V-m,hard:!n.optional,partIndex:1,width:i*V+2*m,height:s*V+2*m,angle:u,minLod:x,maxLod:o.MG};I.push(a)}const C=new p(T);return I&&I.length>0&&(C.textColliders=I),C}_legible(t){const e=(0,o.z0)(t);return e<65||e>=193}_placeGlyph(t,e,r,n,i,a,l,h,c){let u=a;const f=u<0?(0,o.Wh)(t.angle+o.Jo,o.pJ):t.angle;let x=0;r<0&&(u*=-1,r*=-1,x=o.Jo),u>0&&++i;let d=new s.bR(t.x,t.y),g=n[i],p=o.MG;if(n.length<=i)return p;for(;;){const t=g.x-d.x,s=g.y-d.y,a=Math.sqrt(t*t+s*s),_=Math.max(r/a,e),m=t/a,b=s/a,w=(0,o.Wh)(Math.atan2(b,m)+x,o.pJ);if(c.push(new y(d,f,w,h,!1,_,p)),l&&c.push(new y(d,f,w,h,!0,_,p)),_<=e)return _;d=g.clone();do{if(i+=u,n.length<=i||i<0)return _;g=n[i]}while(d.isEqual(g));let v=g.x-d.x,I=g.y-d.y;const T=Math.sqrt(v*v+I*I);v*=a/T,I*=a/T,d.x-=v,d.y-=I,p=_}}}var m=r(51624),b=r(15585);class w{constructor(t,e,r=0){this.values={},this._geometry=void 0,this._pbfGeometry=null,this.featureIndex=r;const n=e.keys,i=e.values,s=t.asUnsafe();for(;s.next();)switch(s.tag()){case 1:this.id=s.getUInt64();break;case 2:{const t=s.getMessage().asUnsafe(),e=this.values;for(;!t.empty();){const r=t.getUInt32(),s=t.getUInt32();e[n[r]]=i[s]}t.release();break}case 3:this.type=s.getUInt32();break;case 4:this._pbfGeometry=s.getMessage();break;default:s.skip()}}getGeometry(t){if(void 0!==this._geometry)return this._geometry;if(!this._pbfGeometry)return null;const e=this._pbfGeometry.asUnsafe();let r,n;this._pbfGeometry=null,t?t.reset(this.type):r=[];let i,o=1,a=0,l=0,h=0;for(;!e.empty();){if(0===a){const t=e.getUInt32();o=7&t,a=t>>3}switch(a--,o){case 1:l+=e.getSInt32(),h+=e.getSInt32(),t?t.moveTo(l,h):r&&(n&&r.push(n),n=[],n.push(new s.bR(l,h)));break;case 2:l+=e.getSInt32(),h+=e.getSInt32(),t?t.lineTo(l,h):n&&n.push(new s.bR(l,h));break;case 7:t?t.close():n&&!n[0].equals(l,h)&&n.push(n[0].clone());break;default:throw e.release(),new Error("Invalid path operation")}}return t?i=t.result():r&&(n&&r.push(n),i=r),e.release(),this._geometry=i,i}}r(44208);class v{constructor(t){this._array=[],this._stride=t}get array(){return this._array}get index(){return 4*this._array.length/this._stride}get itemSize(){return this._stride}get sizeInBytes(){return 4*this._array.length}reset(){this.array.length=0}toBuffer(){return new Uint32Array(this._array).buffer}}class I extends v{constructor(){super(12)}add(t,e,r){const n=this.array;n.push(t),n.push(e),n.push(r)}}class T{constructor(t){this.extent=4096,this.keys=[],this.values=[],this._pbfLayer=t.clone();const e=t.asUnsafe();for(;e.next();)switch(e.tag()){case 1:this.name=e.getString();break;case 3:this.keys.push(e.getString());break;case 4:this.values.push(e.processMessage(T._parseValue));break;case 5:this.extent=e.getUInt32();break;default:e.skip()}}getData(){return this._pbfLayer}static _parseValue(t){for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getInt64();case 5:return t.getUInt64();case 6:return t.getSInt64();case 7:return t.getBool();default:t.skip()}return null}}var M=r(89518);class A extends v{constructor(t){super(t)}add(t,e,r,n,i,s,o,a,l,h,c,u){const f=this.array;let x=(0,M.M9)(t,e);f.push(x);const d=31;x=(0,M.Ss)(Math.round(d*r),Math.round(d*n),Math.round(d*i),Math.round(d*s)),f.push(x),x=(0,M.Ss)(Math.round(d*o),Math.round(d*a),Math.round(d*l),Math.round(d*h)),f.push(x),x=(0,M.M9)(c,0),f.push(x),u&&f.push(...u)}}class L extends v{constructor(t){super(t)}add(t,e,r){const n=this.array;n.push((0,M.M9)(t,e)),r&&n.push(...r)}}class S extends v{constructor(t){super(t)}add(t,e,r,n,i,s,o){const a=this.array,l=this.index;let h=(0,M.M9)(t,e);return a.push(h),h=(0,M.Ss)(Math.round(15*r),Math.round(15*n),i,s),a.push(h),o&&a.push(...o),l}}class k extends v{constructor(t){super(t)}add(t,e,r,n,i,s,a,l,h,c,u,f){const x=this.array;let d=(0,M.M9)(t,e);x.push(d),d=(0,M.M9)(Math.round(8*r),Math.round(8*n)),x.push(d),d=(0,M.M9)((0,M.ws)(i/4,s/4),(0,M.ws)(l,h)),x.push(d),d=(0,M.M9)((0,M.ws)(0,(0,o.z0)(a)),(0,M.ws)(10*c,Math.min(10*u,255))),x.push(d),f&&x.push(...f)}}class B extends v{constructor(t){super(t)}add(t,e,r,n,i){const s=this.array,o=(0,M.M9)(2*t+r,2*e+n);s.push(o),i&&s.push(...i)}}class V{constructor(t,e,r){this.layerExtent=4096,this._features=[],this.layer=t,this.zoom=e,this._spriteInfo=r,this._filter=t.getFeatureFilter()}pushFeature(t){this._filter&&!this._filter.filter(t,this.zoom)||this._features.push(t)}hasFeatures(){return this._features.length>0}getResources(t,e,r){}}class P extends V{constructor(t,e,r,n,i){super(t,e,r),this.type=4,this._circleVertexBuffer=n,this._circleIndexBuffer=i}get circleIndexStart(){return this._circleIndexStart}get circleIndexCount(){return this._circleIndexCount}processFeatures(t){const e=this._circleVertexBuffer,r=this._circleIndexBuffer;this._circleIndexStart=3*r.index,this._circleIndexCount=0;const n=this.layer,i=this.zoom;t&&t.setExtent(this.layerExtent);for(const s of this._features){const o=s.getGeometry(t);if(!o)continue;const a=n.circleMaterial.encodeAttributes(s,i,n);for(const t of o)if(t)for(const n of t){const t=e.index;e.add(n.x,n.y,0,0,a),e.add(n.x,n.y,0,1,a),e.add(n.x,n.y,1,0,a),e.add(n.x,n.y,1,1,a),r.add(t,t+1,t+2),r.add(t+1,t+2,t+3),this._circleIndexCount+=6}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this._circleVertexBuffer.array.length,t+=this._circleIndexBuffer.array.length;const e=new Uint32Array(t),r=new Int32Array(e.buffer);let n=0;e[n++]=this.type,e[n++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[n++]=this.layerUIDs[t];e[n++]=this._circleIndexStart,e[n++]=this._circleIndexCount,e[n++]=this._circleVertexBuffer.array.length;for(let t=0;t<this._circleVertexBuffer.array.length;t++)r[n++]=this._circleVertexBuffer.array[t];e[n++]=this._circleIndexBuffer.array.length;for(let t=0;t<this._circleIndexBuffer.array.length;t++)e[n++]=this._circleIndexBuffer.array[t];return e.buffer}}var D=r(98291),R=r(83349);class E extends V{constructor(t,e,r,n,i,s,o){super(t,e,r),this.type=1,this._patternMap=new Map,this._fillVertexBuffer=n,this._fillIndexBuffer=i,this._outlineVertexBuffer=s,this._outlineIndexBuffer=o}get fillIndexStart(){return this._fillIndexStart}get fillIndexCount(){return this._fillIndexCount}get outlineIndexStart(){return this._outlineIndexStart}get outlineIndexCount(){return this._outlineIndexCount}getResources(t,e,r){const n=this.layer,i=this.zoom,s=n.getPaintProperty("fill-pattern");if(s)if(s.isDataDriven)for(const t of this._features)e(s.getValue(i,t),!0);else e(s.getValue(i),!0)}processFeatures(t){this._fillIndexStart=3*this._fillIndexBuffer.index,this._fillIndexCount=0,this._outlineIndexStart=3*this._outlineIndexBuffer.index,this._outlineIndexCount=0;const e=this.layer,r=this.zoom,{fillMaterial:n,outlineMaterial:i,hasDataDrivenFill:s,hasDataDrivenOutline:o}=e;t&&t.setExtent(this.layerExtent);const a=e.getPaintProperty("fill-pattern"),l=a?.isDataDriven;let h=!a&&e.getPaintValue("fill-antialias",r);if(e.outlineUsesFillColor){if(h&&!e.hasDataDrivenOpacity){const t=e.getPaintValue("fill-opacity",r),n=e.getPaintValue("fill-opacity",r+1);t<1&&n<1&&(h=!1)}if(h&&!e.hasDataDrivenColor){const t=e.getPaintValue("fill-color",r),n=e.getPaintValue("fill-color",r+1);t[3]<1&&n[3]<1&&(h=!1)}}const c=this._features,u=t?.validateTessellation;if(l){const s=[];for(const l of c){const c=a.getValue(r,l),u=this._spriteInfo[c];if(!u?.rect)continue;const f=n.encodeAttributes(l,r,e,u),x=h&&o?i.encodeAttributes(l,r,e):[],d=l.getGeometry(t);s.push({ddFillAttributes:f,ddOutlineAttributes:x,page:u.page,geometry:d}),s.sort((t,e)=>t.page-e.page)}for(const{ddFillAttributes:t,ddOutlineAttributes:r,page:n,geometry:i}of s)this._processFeature(i,h,e.outlineUsesFillColor,t,r,u,n)}else for(const a of c){const l=s?n.encodeAttributes(a,r,e):null,c=h&&o?i.encodeAttributes(a,r,e):null,f=a.getGeometry(t);this._processFeature(f,h,e.outlineUsesFillColor,l,c,u)}}serialize(){let t=10;t+=this.layerUIDs.length,t+=this._fillVertexBuffer.array.length,t+=this._fillIndexBuffer.array.length,t+=this._outlineVertexBuffer.array.length,t+=this._outlineIndexBuffer.array.length,t+=3*this._patternMap.size+1;const e=new Uint32Array(t),r=new Int32Array(e.buffer);let n=0;e[n++]=this.type,e[n++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[n++]=this.layerUIDs[t];e[n++]=this._fillIndexStart,e[n++]=this._fillIndexCount,e[n++]=this._outlineIndexStart,e[n++]=this._outlineIndexCount;const i=this._patternMap,s=i.size;if(e[n++]=s,s>0)for(const[t,[r,s]]of i)e[n++]=t,e[n++]=r,e[n++]=s;e[n++]=this._fillVertexBuffer.array.length;for(let t=0;t<this._fillVertexBuffer.array.length;t++)r[n++]=this._fillVertexBuffer.array[t];e[n++]=this._fillIndexBuffer.array.length;for(let t=0;t<this._fillIndexBuffer.array.length;t++)e[n++]=this._fillIndexBuffer.array[t];e[n++]=this._outlineVertexBuffer.array.length;for(let t=0;t<this._outlineVertexBuffer.array.length;t++)r[n++]=this._outlineVertexBuffer.array[t];e[n++]=this._outlineIndexBuffer.array.length;for(let t=0;t<this._outlineIndexBuffer.array.length;t++)e[n++]=this._outlineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,r,n,i,s,o){if(!t)return;const a=t.length,l=!i||0===i.length;if(e&&(!r||l))for(let e=0;e<a;e++)this._processOutline(t[e],i);let h;for(let e=0;e<a;e++){const r=E._area(t[e]);r>32?(void 0!==h&&this._processFill(t,h,n,s,o),h=[e]):r<-32&&void 0!==h&&h.push(e)}void 0!==h&&this._processFill(t,h,n,s,o)}_processOutline(t,e){const r=this._outlineVertexBuffer,n=this._outlineIndexBuffer,i=n.index;let o,a,l;const h=new s.bR(0,0),c=new s.bR(0,0),u=new s.bR(0,0);let f=-1,x=-1,d=-1,y=-1,g=-1,p=!1,_=t.length;if(_<2)return;const m=t[0];let b=t[_-1];for(;_&&b.isEqual(m);)--_,b=t[_-1];if(!(_-0<2)){for(let i=0;i<_;++i){0===i?(o=t[_-1],a=t[0],l=t[1],h.assignSub(a,o),h.normalize(),h.rightPerpendicular()):(o=a,a=l,l=i!==_-1?t[i+1]:t[0],h.assign(c));const s=this._isClipEdge(o,a);-1===y&&(p=s),c.assignSub(l,a),c.normalize(),c.rightPerpendicular();const m=h.x*c.y-h.y*c.x;u.assignAdd(h,c),u.normalize();const b=-u.x*-h.x+-u.y*-h.y;let w=Math.abs(0!==b?1/b:1);w>8&&(w=8),m>=0?(d=r.add(a.x,a.y,h.x,h.y,0,1,e),-1===y&&(y=d),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d),x=r.add(a.x,a.y,w*-u.x,w*-u.y,0,-1,e),-1===g&&(g=x),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d),f=x,x=d,d=r.add(a.x,a.y,u.x,u.y,0,1,e),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d),x=r.add(a.x,a.y,c.x,c.y,0,1,e),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d)):(d=r.add(a.x,a.y,w*u.x,w*u.y,0,1,e),-1===y&&(y=d),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d),x=r.add(a.x,a.y,-h.x,-h.y,0,-1,e),-1===g&&(g=x),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d),f=x,x=d,d=r.add(a.x,a.y,-u.x,-u.y,0,-1,e),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d),f=r.add(a.x,a.y,-c.x,-c.y,0,-1,e),f>=0&&x>=0&&d>=0&&!s&&n.add(f,x,d))}f>=0&&x>=0&&y>=0&&!p&&n.add(f,x,y),f>=0&&y>=0&&g>=0&&!p&&n.add(f,g,y),this._outlineIndexCount+=3*(n.index-i)}}_processFill(t,e,r,n,i){let s;e.length>1&&(s=[]);let o=0;for(const r of e)0!==o&&s.push(o),o+=t[r].length;const a=2*o,l=D.A.acquire();for(const r of e){const e=t[r],n=e.length;for(let t=0;t<n;++t)l.push(e[t].x,e[t].y)}const h=(0,R.e)(l,s,2);if(R.e.deviation(l,s,2,h)>0){const n=e.map(e=>t[e].length),{buffer:s,vertexCount:o}=(0,b.QT)(l,n);if(o>0){const t=this._fillVertexBuffer.index;for(let t=0;t<o;t++)this._fillVertexBuffer.add(s[2*t],s[2*t+1],r);for(let e=0;e<o;e+=3){const r=t+e;this._fillIndexBuffer.add(r,r+1,r+2)}if(void 0!==i){const t=this._patternMap,e=t.get(i);e?e[1]+=o:t.set(i,[this._fillIndexStart+this._fillIndexCount,o])}this._fillIndexCount+=o}}else{const t=h.length;if(t>0){const e=this._fillVertexBuffer.index;let n=0;for(;n<a;)this._fillVertexBuffer.add(l[n++],l[n++],r);let s=0;for(;s<t;)this._fillIndexBuffer.add(e+h[s++],e+h[s++],e+h[s++]);if(void 0!==i){const e=this._patternMap,r=e.get(i);r?r[1]+=t:e.set(i,[this._fillIndexStart+this._fillIndexCount,t])}this._fillIndexCount+=t}}D.A.release(l)}_isClipEdge(t,e){return t.x===e.x?t.x<=-64||t.x>=4160:t.y===e.y&&(t.y<=-64||t.y>=4160)}static _area(t){let e=0;const r=t.length-1;for(let n=0;n<r;n++)e+=(t[n].x-t[n+1].x)*(t[n].y+t[n+1].y);return e+=(t[r].x-t[0].x)*(t[r].y+t[0].y),.5*e}}var C=r(83773);class U extends V{constructor(t,e,r,n,i){super(t,e,r),this.type=2,this._tessellationOptions={pixelCoordRatio:8,halfWidth:0,offset:0},this._patternMap=new Map,this.tessellationProperties={_lineVertexBuffer:null,_lineIndexBuffer:null,_ddValues:null},this.tessellationProperties._lineVertexBuffer=n,this.tessellationProperties._lineIndexBuffer=i,this._lineTessellator=new C.i(F(this.tessellationProperties),N(this.tessellationProperties),t.canUseThinTessellation)}get lineIndexStart(){return this._lineIndexStart}get lineIndexCount(){return this._lineIndexCount}getResources(t,e,r){const n=this.layer,i=this.zoom,s=n.getPaintProperty("line-pattern"),o=n.getPaintProperty("line-dasharray"),a=n.getLayoutProperty("line-cap");if(!s&&!o)return;const l=a?.getValue(i)||0,h=a?.isDataDriven,c=s?.isDataDriven,u=o?.isDataDriven;if(c||u)for(const t of this._features)e(c?s.getValue(i,t):this._getDashArrayKey(t,i,n,o,h,a,l));else if(s)e(s.getValue(i));else if(o){const t=o.getValue(i);e(n.getDashKey(t,l))}}processFeatures(t){this._lineIndexStart=3*this.tessellationProperties._lineIndexBuffer.index,this._lineIndexCount=0;const e=this.layer,r=this.zoom,n=this._features,i=this._tessellationOptions,{hasDataDrivenLine:s,lineMaterial:o}=e;t&&t.setExtent(this.layerExtent);const a=e.getPaintProperty("line-pattern"),l=e.getPaintProperty("line-dasharray"),h=a?.isDataDriven,c=l?.isDataDriven;let u;u=e.getLayoutProperty("line-cap");const f=u?.isDataDriven?u:null,x=f?null:e.getLayoutValue("line-cap",r),d=x||0,y=!!f;u=e.getLayoutProperty("line-join");const g=u?.isDataDriven?u:null,p=g?null:e.getLayoutValue("line-join",r);u=e.getLayoutProperty("line-miter-limit");const _=u?.isDataDriven?u:null,m=_?null:e.getLayoutValue("line-miter-limit",r);u=e.getLayoutProperty("line-round-limit");const b=u?.isDataDriven?u:null,w=b?null:e.getLayoutValue("line-round-limit",r);u=e.getPaintProperty("line-width");const v=u?.isDataDriven?u:null,I=v?null:e.getPaintValue("line-width",r);u=e.getPaintProperty("line-offset");const T=u?.isDataDriven?u:null,M=T?null:e.getPaintValue("line-offset",r);if(h||c){const s=[];for(const i of n){const n=h?a.getValue(r,i):this._getDashArrayKey(i,r,e,l,y,f,d),c=this._spriteInfo[n];if(!c?.rect)continue;const u=o.encodeAttributes(i,r,e,c),A=i.getGeometry(t);s.push({ddAttributes:u,page:c.page,cap:f?f.getValue(r,i):x,join:g?g.getValue(r,i):p,miterLimit:_?_.getValue(r,i):m,roundLimit:b?b.getValue(r,i):w,halfWidth:.5*(v?v.getValue(r,i):I),offset:T?T.getValue(r,i):M,geometry:A})}s.sort((t,e)=>t.page-e.page),i.textured=!0;for(const{ddAttributes:t,page:e,cap:r,join:n,miterLimit:o,roundLimit:a,halfWidth:l,offset:h,geometry:c}of s)i.capType=r,i.joinType=n,i.miterLimit=o,i.roundLimit=a,i.halfWidth=l,i.offset=h,this._processFeature(c,t,e)}else{if(a){const t=a.getValue(r),e=this._spriteInfo[t];if(!e?.rect)return}i.textured=!(!a&&!l),i.capType=x,i.joinType=p,i.miterLimit=m,i.roundLimit=w,i.halfWidth=.5*I,i.offset=M;for(const a of n){const n=s?o.encodeAttributes(a,r,e):null;f&&(i.capType=f.getValue(r,a)),g&&(i.joinType=g.getValue(r,a)),_&&(i.miterLimit=_.getValue(r,a)),b&&(i.roundLimit=b.getValue(r,a)),v&&(i.halfWidth=.5*v.getValue(r,a)),T&&(i.offset=T.getValue(r,a));const l=a.getGeometry(t);this._processFeature(l,n)}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this.tessellationProperties._lineVertexBuffer.array.length,t+=this.tessellationProperties._lineIndexBuffer.array.length,t+=3*this._patternMap.size+1;const e=new Uint32Array(t),r=new Int32Array(e.buffer);let n=0;e[n++]=this.type,e[n++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[n++]=this.layerUIDs[t];e[n++]=this._lineIndexStart,e[n++]=this._lineIndexCount;const i=this._patternMap,s=i.size;if(e[n++]=s,s>0)for(const[t,[r,s]]of i)e[n++]=t,e[n++]=r,e[n++]=s;e[n++]=this.tessellationProperties._lineVertexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineVertexBuffer.array.length;t++)r[n++]=this.tessellationProperties._lineVertexBuffer.array[t];e[n++]=this.tessellationProperties._lineIndexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineIndexBuffer.array.length;t++)e[n++]=this.tessellationProperties._lineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,r){if(!t)return;const n=t.length;for(let i=0;i<n;i++)this._processGeometry(t[i],e,r)}_processGeometry(t,e,r){if(t.length<2)return;let n,i,s=t[0],o=1;for(;o<t.length;)n=t[o].x-s.x,i=t[o].y-s.y,n*n+i*i<1e-6?t.splice(o,1):(s=t[o],++o);if(t.length<2)return;const a=this.tessellationProperties._lineIndexBuffer,l=3*a.index;this._tessellationOptions.initialDistance=0,this._tessellationOptions.wrapDistance=65535,this.tessellationProperties._ddValues=e,this._lineTessellator.tessellate(t,this._tessellationOptions);const h=3*a.index-l;if(void 0!==r){const t=this._patternMap,e=t.get(r);e?e[1]+=h:t.set(r,[l+this._lineIndexCount,h])}this._lineIndexCount+=h}_getDashArrayKey(t,e,r,n,i,s,o){const a=i?s.getValue(e,t):o,l=n.getValue(e,t);return r.getDashKey(l,a)}}const F=t=>(e,r,n,i,s,o,a,l,h,c,u)=>(t._lineVertexBuffer.add(e,r,a,l,n,i,s,o,h,c,u,t._ddValues),t._lineVertexBuffer.index-1),N=t=>(e,r,n)=>{t._lineIndexBuffer.add(e,r,n)};var z=r(32488),O=r(97768),G=r(799),W=r(4264);function Z(t,e){return t.iconMosaicItem&&e.iconMosaicItem?t.iconMosaicItem.page===e.iconMosaicItem.page?0:t.iconMosaicItem.page-e.iconMosaicItem.page:t.iconMosaicItem&&!e.iconMosaicItem?1:!t.iconMosaicItem&&e.iconMosaicItem?-1:0}class Y extends V{constructor(t,e,r,n,i,s,o,a,l){super(e,r,l.getSpriteItems()),this.type=3,this._markerMap=new Map,this._glyphMap=new Map,this._glyphBufferDataStorage=new Map,this._isIconSDF=!1,this._sourceTileKey=t,this._iconVertexBuffer=n,this._iconIndexBuffer=i,this._textVertexBuffer=s,this._textIndexBuffer=o,this._placementEngine=a,this._workerTileHandler=l}get markerPageMap(){return this._markerMap}get glyphsPageMap(){return this._glyphMap}get symbolInstances(){return this._symbolInstances}static{this._bidiEngine=new z.A}getResources(t,e,r){const n=this.layer,i=this.zoom;t&&t.setExtent(this.layerExtent);const s=n.getLayoutProperty("icon-image"),o=n.getLayoutProperty("text-field");let a=n.getLayoutProperty("text-transform"),l=n.getLayoutProperty("text-font");const h=[];let c,u,f,x;s&&!s.isDataDriven&&(c=s.getValue(i)),o&&!o.isDataDriven&&(u=o.getValue(i)),a&&a.isDataDriven||(f=n.getLayoutValue("text-transform",i),a=null),l&&l.isDataDriven||(x=n.getLayoutValue("text-font",i),l=null);for(const d of this._features){const y=d.getGeometry(t);if(!y||0===y.length)continue;let g,p;s&&(g=s.isDataDriven?s.getValue(i,d):this._replaceKeys(c,d.values),g&&e(g));let _=!1;if(o&&(p=o.isDataDriven?o.getValue(i,d):this._replaceKeys(u,d.values),p)){switch(p=p.replaceAll("\\n","\n"),a&&(f=a.getValue(i,d)),f){case 2:p=p.toLowerCase();break;case 1:p=p.toUpperCase()}if(Y._bidiEngine.hasBidiChar(p)){let t;t="rtl"===Y._bidiEngine.checkContextual(p)?"IDNNN":"ICNNN",p=Y._bidiEngine.bidiTransform(p,t,"VLYSN"),_=!0}if(p.length>0){l&&(x=l.getValue(i,d));for(const t of x){let e=r[t];e||(e=r[t]=new Set);for(const t of p){const r=t.codePointAt(0);null!=r&&e.add(r)}}}}if(!g&&!p)continue;const m=n.getLayoutValue("symbol-sort-key",i,d),b={feature:d,sprite:g,label:p,rtl:_,geometry:y,hash:(p?(0,G.Wm)(p):0)^(g?(0,G.Wm)(g):0),priority:m,textFont:x};h.push(b)}this._symbolFeatures=h}processFeatures(t){t&&t.setExtent(this.layerExtent);const e=this.layer,r=this.zoom,n=e.getLayoutValue("symbol-placement",r),i=0!==n,s=8*e.getLayoutValue("symbol-spacing",r),a=e.getLayoutProperty("icon-image"),l=e.getLayoutProperty("text-field"),h=a?new W.aR(e,r,i):null,c=l?new W.uU(e,r,i):null,u=this._workerTileHandler;let x;a&&(x=u.getSpriteItems()),this._iconIndexStart=3*this._iconIndexBuffer.index,this._textIndexStart=3*this._textIndexBuffer.index,this._iconIndexCount=0,this._textIndexCount=0,this._markerMap.clear(),this._glyphMap.clear();const y=[];let g=1;c?.size&&(g=c.size/24);const p=c?c.maxAngle*o.os:0,_=c?8*c.size:0;for(const t of this._symbolFeatures){let e,o;h&&x&&t.sprite&&(e=x[t.sprite],e&&e.sdf&&(this._isIconSDF=!0)),e&&h.update(r,t.feature);let a=0;const l=t.label;if(l){(0,O.Lw)(c),c.update(r,t.feature);const e=i&&0===c.rotationAlignment?c.keepUpright:c.writingMode&&c.writingMode.includes(1);let n=.5;switch(c.anchor){case 5:case 1:case 7:n=0;break;case 6:case 2:case 8:n=1}let s=.5;switch(c.anchor){case 5:case 3:case 6:s=0;break;case 7:case 4:case 8:s=1}let h=.5;switch(c.justify){case 0:h=n;break;case 1:h=0;break;case 3:h=1}const x=24*c.letterSpacing,d=i?0:24*c.maxWidth,y=24*c.lineHeight,p=t.textFont.map(t=>u.getGlyphItems(t));if(o=new f(p,d,y,x,n,s,h).getShaping(l,t.rtl,e),o&&o.length>0){let t=1e30,e=-1e30;for(const r of o)t=Math.min(t,r.x),e=Math.max(e,r.x);a=(e-t+48)*g*8}}for(let r of t.geometry){const l=[];if(1===n){if(o?.length&&c?.size){const t=8*c.size*(2+Math.min(2,4*Math.abs(c.offset[1])));r=Y._smoothVertices(r,t)}Y._pushAnchors(l,r,s,a)}else 2===n?Y._pushCenterAnchor(l,r):3===t.feature.type?Y._pushCentroid(l,r):l.push(new d(r[0].x,r[0].y));for(const n of l){if(n.x<0||n.x>4096||n.y<0||n.y>4096)continue;if(i&&a>0&&0===c?.rotationAlignment&&!Y._honorsTextMaxAngle(r,n,a,p,_))continue;const s={shaping:o,line:r,iconMosaicItem:e,anchor:n,symbolFeature:t,textColliders:[],iconColliders:[],textVertexRanges:[],iconVertexRanges:[]};y.push(s),this._processFeature(s,h,c)}}}y.sort(Z),this._addPlacedGlyphs(),this._symbolInstances=y}serialize(){let t=14;t+=this.layerUIDs.length,t+=3*this.markerPageMap.size,t+=3*this.glyphsPageMap.size,t+=Y._symbolsSerializationLength(this._symbolInstances),t+=this._iconVertexBuffer.array.length,t+=this._iconIndexBuffer.array.length,t+=this._textVertexBuffer.array.length,t+=this._textIndexBuffer.array.length;const e=new Uint32Array(t),r=new Int32Array(e.buffer),n=new Float32Array(e.buffer),[i,s,o]=this._sourceTileKey.split("/");let a=0;e[a++]=this.type,e[a++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[a++]=this.layerUIDs[t];e[a++]=this._isIconSDF?1:0,e[a++]=parseFloat(i),e[a++]=parseFloat(s),e[a++]=parseFloat(o),e[a++]=this.markerPageMap.size;for(const[t,[r,n]]of this.markerPageMap)e[a++]=t,e[a++]=r,e[a++]=n;e[a++]=this.glyphsPageMap.size;for(const[t,[r,n]]of this.glyphsPageMap)e[a++]=t,e[a++]=r,e[a++]=n;e[a++]=this._iconVertexBuffer.index/4,e[a++]=this._textVertexBuffer.index/4,a=Y.serializeSymbols(e,r,n,a,this._symbolInstances),e[a++]=this._iconVertexBuffer.array.length;for(let t=0;t<this._iconVertexBuffer.array.length;t++)r[a++]=this._iconVertexBuffer.array[t];e[a++]=this._iconIndexBuffer.array.length;for(let t=0;t<this._iconIndexBuffer.array.length;t++)e[a++]=this._iconIndexBuffer.array[t];e[a++]=this._textVertexBuffer.array.length;for(let t=0;t<this._textVertexBuffer.array.length;t++)r[a++]=this._textVertexBuffer.array[t];e[a++]=this._textIndexBuffer.array.length;for(let t=0;t<this._textIndexBuffer.array.length;t++)e[a++]=this._textIndexBuffer.array[t];return e.buffer}static _symbolsSerializationLength(t){let e=0;e+=1;for(const r of t||[]){e+=5,e+=1;for(const t of r.textColliders)e+=10;for(const t of r.iconColliders)e+=10;e+=1,e+=2*r.textVertexRanges.length,e+=1,e+=2*r.iconVertexRanges.length}return e}static serializeSymbols(t,e,r,n,i){i=i||[],e[n++]=i.length;for(const t of i){e[n++]=t.anchor.x,e[n++]=t.anchor.y,e[n++]=t.symbolFeature.hash,e[n++]=t.symbolFeature.priority,e[n++]=t.symbolFeature.feature.featureIndex,e[n++]=t.textColliders.length+t.iconColliders.length;for(const i of t.textColliders)e[n++]=i.xTile,e[n++]=i.yTile,e[n++]=i.dxPixels,e[n++]=i.dyPixels,e[n++]=i.hard?1:0,e[n++]=i.partIndex,r[n++]=i.minLod,r[n++]=i.maxLod,e[n++]=i.width,e[n++]=i.height;for(const i of t.iconColliders)e[n++]=i.xTile,e[n++]=i.yTile,e[n++]=i.dxPixels,e[n++]=i.dyPixels,e[n++]=i.hard?1:0,e[n++]=i.partIndex,r[n++]=i.minLod,r[n++]=i.maxLod,e[n++]=i.width,e[n++]=i.height;e[n++]=t.textVertexRanges.length;for(const[r,i]of t.textVertexRanges)e[n++]=r,e[n++]=i;e[n++]=t.iconVertexRanges.length;for(const[r,i]of t.iconVertexRanges)e[n++]=r,e[n++]=i}return n}_replaceKeys(t,e){return t.replaceAll(/{([^{}]+)}/g,(t,r)=>r in e?e[r]:"")}_processFeature(t,e,r){const{line:n,iconMosaicItem:i,shaping:s,anchor:a}=t,l=this.zoom,h=this.layer,c=!!i;let u=!0;c&&(u=e?.optional||!i);const f=s&&s.length>0,x=!f||r?.optional;let d,y;if(c&&(d=this._placementEngine.getIconPlacement(a,i,e)),(d||u)&&(f&&(y=this._placementEngine.getTextPlacement(a,s,n,r)),y||x)){if(d&&y||(x||u?x||y?u||d||(y=null):d=null:(d=null,y=null)),y){const e=h.hasDataDrivenText?h.textMaterial.encodeAttributes(t.symbolFeature.feature,l,h):null;if(this._storePlacedGlyphs(t,y.shapes,l,r.rotationAlignment,e),y.textColliders){t.textColliders=y.textColliders;for(const t of y.textColliders){t.minLod=Math.max(l+(0,o.p6)(t.minLod),0),t.maxLod=Math.min(l+(0,o.p6)(t.maxLod),25);const e=t.angle;if(e){const r=Math.cos(e),n=Math.sin(e),i=t.dxPixels*r-t.dyPixels*n,s=t.dxPixels*n+t.dyPixels*r,o=(t.dxPixels+t.width)*r-t.dyPixels*n,a=(t.dxPixels+t.width)*n+t.dyPixels*r,l=t.dxPixels*r-(t.dyPixels+t.height)*n,h=t.dxPixels*n+(t.dyPixels+t.height)*r,c=(t.dxPixels+t.width)*r-(t.dyPixels+t.height)*n,u=(t.dxPixels+t.width)*n+(t.dyPixels+t.height)*r,f=Math.min(i,o,l,c),x=Math.max(i,o,l,c),d=Math.min(s,a,h,u),y=Math.max(s,a,h,u);t.dxPixels=f,t.dyPixels=d,t.width=x-f,t.height=y-d}}}}if(d){const r=h.hasDataDrivenIcon?h.iconMaterial.encodeAttributes(t.symbolFeature.feature,l,h):null;if(this._addPlacedIcons(t,d.shapes,l,i.page,1===e.rotationAlignment,r),d.iconColliders){t.iconColliders=d.iconColliders;for(const t of d.iconColliders){t.minLod=Math.max(l+(0,o.p6)(t.minLod),0),t.maxLod=Math.min(l+(0,o.p6)(t.maxLod),25);const e=t.angle;if(e){const r=Math.cos(e),n=Math.sin(e),i=t.dxPixels*r-t.dyPixels*n,s=t.dxPixels*n+t.dyPixels*r,o=(t.dxPixels+t.width)*r-t.dyPixels*n,a=(t.dxPixels+t.width)*n+t.dyPixels*r,l=t.dxPixels*r-(t.dyPixels+t.height)*n,h=t.dxPixels*n+(t.dyPixels+t.height)*r,c=(t.dxPixels+t.width)*r-(t.dyPixels+t.height)*n,u=(t.dxPixels+t.width)*n+(t.dyPixels+t.height)*r,f=Math.min(i,o,l,c),x=Math.max(i,o,l,c),d=Math.min(s,a,h,u),y=Math.max(s,a,h,u);t.dxPixels=f,t.dyPixels=d,t.width=x-f,t.height=y-d}}}}}}_addPlacedIcons(t,e,r,n,i,s){const a=Math.max(r-1,0),l=this._iconVertexBuffer,h=this._iconIndexBuffer,c=this._markerMap;for(const u of e){const e=i?0:Math.max(r+(0,o.p6)(u.minzoom),a),f=i?25:Math.min(r+(0,o.p6)(u.maxzoom),25);if(f<=e)continue;const x=u.tl,d=u.tr,y=u.bl,g=u.br,p=u.mosaicRect,_=u.labelAngle,m=u.minAngle,b=u.maxAngle,w=u.anchor,v=l.index,I=p.x,T=p.y,M=I+p.width,A=T+p.height,L=l.index;l.add(w.x,w.y,x.x,x.y,I,T,_,m,b,e,f,s),l.add(w.x,w.y,d.x,d.y,M,T,_,m,b,e,f,s),l.add(w.x,w.y,y.x,y.y,I,A,_,m,b,e,f,s),l.add(w.x,w.y,g.x,g.y,M,A,_,m,b,e,f,s),t.iconVertexRanges.length>0&&t.iconVertexRanges[0][0]+t.iconVertexRanges[0][1]===L?t.iconVertexRanges[0][1]+=4:t.iconVertexRanges.push([L,4]),h.add(v,v+1,v+2),h.add(v+1,v+2,v+3),c.has(n)?c.get(n)[1]+=6:c.set(n,[this._iconIndexStart+this._iconIndexCount,6]),this._iconIndexCount+=6}}_addPlacedGlyphs(){const t=this._textVertexBuffer,e=this._textIndexBuffer,r=this._glyphMap;for(const[n,i]of this._glyphBufferDataStorage)for(const s of i){const i=t.index,o=s.symbolInstance,a=s.ddAttributes,l=t.index;t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.tl[0],s.tl[1],s.xmin,s.ymin,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.tr[0],s.tr[1],s.xmax,s.ymin,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.bl[0],s.bl[1],s.xmin,s.ymax,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.br[0],s.br[1],s.xmax,s.ymax,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),o.textVertexRanges.length>0&&o.textVertexRanges[0][0]+o.textVertexRanges[0][1]===l?o.textVertexRanges[0][1]+=4:o.textVertexRanges.push([l,4]),e.add(i,i+1,i+2),e.add(i+1,i+2,i+3),r.has(n)?r.get(n)[1]+=6:r.set(n,[this._textIndexStart+this._textIndexCount,6]),this._textIndexCount+=6}this._glyphBufferDataStorage.clear()}_storePlacedGlyphs(t,e,r,n,i){const s=Math.max(r-1,0),a=1===n;let l,h,c,u,f,x,d,y,g,p,_;for(const n of e)l=a?0:Math.max(r+(0,o.p6)(n.minzoom),s),h=a?25:Math.min(r+(0,o.p6)(n.maxzoom),25),h<=l||(c=n.tl,u=n.tr,f=n.bl,x=n.br,d=n.labelAngle,y=n.minAngle,g=n.maxAngle,p=n.anchor,_=n.mosaicRect,this._glyphBufferDataStorage.has(n.page)||this._glyphBufferDataStorage.set(n.page,[]),this._glyphBufferDataStorage.get(n.page).push({glyphAnchor:[p.x,p.y],tl:[c.x,c.y],tr:[u.x,u.y],bl:[f.x,f.y],br:[x.x,x.y],xmin:_.x,ymin:_.y,xmax:_.x+_.width,ymax:_.y+_.height,labelAngle:d,minAngle:y,maxAngle:g,minLod:l,maxLod:h,placementLod:s,symbolInstance:t,ddAttributes:i}))}static _pushAnchors(t,e,r,n){r+=n;let i=0;const a=e.length-1;for(let t=0;t<a;t++)i+=s.bR.distance(e[t],e[t+1]);let l=n||r;if(l*=.5,i<=l)return;const h=l/i;let c=0,u=-(r=i/Math.max(Math.round(i/r),1))/2;const f=e.length-1;for(let n=0;n<f;n++){const i=e[n],s=e[n+1],a=s.x-i.x,l=s.y-i.y,f=Math.sqrt(a*a+l*l);let x;for(;u+r<c+f;){u+=r;const e=(u-c)/f,y=(0,o.GW)(i.x,s.x,e),g=(0,o.GW)(i.y,s.y,e);void 0===x&&(x=Math.atan2(l,a)),t.push(new d(y,g,x,n,h))}c+=f}}static _pushCenterAnchor(t,e){let r=0;const n=e.length-1;for(let t=0;t<n;t++)r+=s.bR.distance(e[t],e[t+1]);const i=r/2;let a=0;const l=e.length-1;for(let r=0;r<l;r++){const n=e[r],s=e[r+1],l=s.x-n.x,h=s.y-n.y,c=Math.sqrt(l*l+h*h);if(i<a+c){const e=(i-a)/c,u=(0,o.GW)(n.x,s.x,e),f=(0,o.GW)(n.y,s.y,e),x=Math.atan2(h,l);return void t.push(new d(u,f,x,r,0))}a+=c}}static _deviation(t,e,r){const n=(e.x-t.x)*(r.x-e.x)+(e.y-t.y)*(r.y-e.y),i=(e.x-t.x)*(r.y-e.y)-(e.y-t.y)*(r.x-e.x);return Math.atan2(i,n)}static _honorsTextMaxAngle(t,e,r,n,i){let o=0;const a=r/2;let l=new s.bR(e.x,e.y),h=e.segment+1;for(;o>-a;){if(--h,h<0)return!1;o-=s.bR.distance(t[h],l),l=t[h]}o+=s.bR.distance(t[h],t[h+1]);const c=[];let u=0;const f=t.length;for(;o<a;){const e=t[h];let r,a=h;do{if(++a,a===f)return!1;r=t[a]}while(r.isEqual(e));let l,x=a;do{if(++x,x===f)return!1;l=t[x]}while(l.isEqual(r));const d=this._deviation(e,r,l);for(c.push({deviation:d,distToAnchor:o}),u+=d;o-c[0].distToAnchor>i;)u-=c.shift().deviation;if(Math.abs(u)>n)return!1;o+=s.bR.distance(r,l),h=a}return!0}static _smoothVertices(t,e){if(e<=0)return t;let r=t.length;if(r<3)return t;const n=[];let i=0,o=0;n.push(0);for(let e=1;e<r;e++){const r=s.bR.distance(t[e],t[e-1]);r>0&&(i+=r,n.push(i),o++,o!==e&&(t[o]=t[e]))}if(r=o+1,r<3)return t;e=Math.min(e,.2*i);const a=t[0].x,l=t[0].y,h=t[r-1].x,c=t[r-1].y,u=s.bR.sub(t[0],t[1]);u.normalize(),t[0].x+=e*u.x,t[0].y+=e*u.y,u.assignSub(t[r-1],t[r-2]),u.normalize(),t[r-1].x+=e*u.x,t[r-1].y+=e*u.y,n[0]-=e,n[r-1]+=e;const f=[];f.push(new s.bR(a,l));const x=1e-6,d=.5*e;for(let i=1;i<r-1;i++){let o=0,a=0,l=0;for(let r=i-1;r>=0;r--){const s=d+n[r+1]-n[i];if(s<0)break;const h=n[r+1]-n[r],c=n[i]-n[r]<d?1:s/h;if(c<x)break;const u=c*c,f=c*s-.5*u*h,y=c*h/e,g=t[r+1],p=t[r].x-g.x,_=t[r].y-g.y;o+=y/f*(g.x*c*s+.5*u*(s*p-h*g.x)-u*c*h*p/3),a+=y/f*(g.y*c*s+.5*u*(s*_-h*g.y)-u*c*h*_/3),l+=y}for(let s=i+1;s<r;s++){const r=d-n[s-1]+n[i];if(r<0)break;const h=n[s]-n[s-1],c=n[s]-n[i]<d?1:r/h;if(c<x)break;const u=c*c,f=c*r-.5*u*h,y=c*h/e,g=t[s-1],p=t[s].x-g.x,_=t[s].y-g.y;o+=y/f*(g.x*c*r+.5*u*(r*p-h*g.x)-u*c*h*p/3),a+=y/f*(g.y*c*r+.5*u*(r*_-h*g.y)-u*c*h*_/3),l+=y}f.push(new s.bR(o/l,a/l))}return f.push(new s.bR(h,c)),t[0].x=a,t[0].y=l,t[r-1].x=h,t[r-1].y=c,f}static _pushCentroid(t,e){const r=4096,n=4096,i=e.length-1;let s=0,o=0,a=0,l=e[0].x,h=e[0].y;l>r&&(l=r),l<0&&(l=0),h>n&&(h=n),h<0&&(h=0);for(let t=1;t<i;t++){let i=e[t].x,c=e[t].y,u=e[t+1].x,f=e[t+1].y;i>r&&(i=r),i<0&&(i=0),c>n&&(c=n),c<0&&(c=0),u>r&&(u=r),u<0&&(u=0),f>n&&(f=n),f<0&&(f=0);const x=(i-l)*(f-h)-(u-l)*(c-h);s+=x*(l+i+u),o+=x*(h+c+f),a+=x}s/=3*a,o/=3*a,isNaN(s)||isNaN(o)||t.push(new d(s,o))}}class j{constructor(t,e,r,n,i,a,l){if(this._pbfTiles={},this._tileClippers={},this._client=r,this._tile=e,this._sourceDataMaxLOD=n,this._baseUrl=l,a){this._styleLayerUIDs=new Set;for(const t of a)this._styleLayerUIDs.add(t)}this._styleRepository=i,this._layers=this._styleRepository?.layers??[];const[h,c,u]=e.tileKey.split("/").map(parseFloat);this._level=h;const f=(0,o.IU)(this._level);for(const e of Object.keys(t)){const r=t[e];if(this._pbfTiles[e]=new m.A(new Uint8Array(r.protobuff),new DataView(r.protobuff)),r.refKey){const[t]=r.refKey.split("/").map(parseFloat),n=h-t;if(n>0){const t=(1<<n)-1,r=c&t,i=u&t;this._tileClippers[e]=new s.O3(n,r,i,8,f)}}this._tileClippers[e]||(this._tileClippers[e]=new s.Ox)}}_canParseStyleLayer(t){return!this._styleLayerUIDs||this._styleLayerUIDs.has(t)}async parse(t){const e=(0,b.If)(),r=this._initialize(t),{returnedBuckets:n}=r;this._processLayers(r),this._linkReferences(r),this._filterFeatures(r);const i=[],s=new Set,o=(t,e)=>{s.has(t)||(i.push({name:t,repeat:e}),s.add(t))},a={};for(const t of n)t.getResources(t.tileClipper,o,a);if(4===this._tile.status)return[];const l=this._fetchResources(i,a,t);return Promise.all([...l,e]).then(()=>this._processFeatures(r.returnedBuckets))}_initialize(t){const e=t?.signal;return{signal:e,sourceNameToTileData:this._parseTileData(this._pbfTiles),layers:this._layers,zoom:this._level,sourceNameToTileClipper:this._tileClippers,sourceNameToUniqueSourceLayerBuckets:{},sourceNameToUniqueSourceLayers:{},returnedBuckets:[],layerIdToBucket:{},referencerUIDToReferencedId:new Map}}_processLayers(t){const{sourceNameToTileData:e,zoom:r,layers:n,sourceNameToTileClipper:i,sourceNameToUniqueSourceLayerBuckets:s,sourceNameToUniqueSourceLayers:o,returnedBuckets:a,layerIdToBucket:l,referencerUIDToReferencedId:h}=t,c=this._sourceDataMaxLOD;for(let t=n.length-1;t>=0;t--){const u=n[t];if(r<c){if(u.minzoom&&r<Math.floor(u.minzoom)||u.maxzoom&&r>=u.maxzoom)continue}else if(u.maxzoom&&r>=u.maxzoom)continue;if(0===u.type||!this._canParseStyleLayer(u.uid)||!e[u.source]||!i[u.source])continue;const f=e[u.source],x=i[u.source],d=u.sourceLayer,y=f[d];if(y){let t=o[u.source];if(t||(t=o[u.source]=new Set),t.add(u.sourceLayer),u.refLayerId)h.set(u.uid,u.refLayerId);else{const t=this._createBucket(u);if(t){t.layerUIDs=[u.uid],t.layerExtent=y.extent,t.tileClipper=x;let e=s[u.source];e||(e=s[u.source]={});let r=e[d];r||(r=e[d]=[]),r.push(t),a.push(t),l[u.id]=t}}}}}_linkReferences(t){const{layerIdToBucket:e,referencerUIDToReferencedId:r}=t;r.forEach((t,r)=>{e[t]&&e[t].layerUIDs.push(r)})}_filterFeatures(t){const{signal:e,sourceNameToTileData:r,sourceNameToUniqueSourceLayerBuckets:i,sourceNameToUniqueSourceLayers:s}=t,o=10*this._level,a=10*(this._level+1),l=[],h=[];for(const t of Object.keys(s))s[t].forEach(e=>{l.push(e),h.push(t)});for(let t=0;t<l.length;t++){const s=h[t],c=l[t];if(!r[s]||!i[s])continue;const u=r[s][c],f=i[s][c];if(!f||0===f.length)continue;if((0,n.G4)(e))return;let x=0;const d=u.getData();for(;d.nextTag(2);){const t=d.getMessage(),e=new w(t,u,x++);t.release();const r=e.values;if(r){const t=r._minzoom;if(t&&t>=a)continue;const e=r._maxzoom;if(e&&e<=o)continue}for(const t of f)t.pushFeature(e)}}}_fetchResources(t,e,r){const n=[],i=this._tile.getWorkerTileHandler();let s,o;t.length>0&&(s=i.fetchSprites(t,this._client,r),n.push(s));for(const t in e){const s=e[t];s.size>0&&(o=i.fetchGlyphs(this._baseUrl,t,s,r),n.push(o))}return n}_processFeatures(t){const e=t.filter(t=>t.hasFeatures()||this._canParseStyleLayer(t.layer.uid));for(const t of e)t.processFeatures(t.tileClipper);return e}_parseTileData(t){const e={};for(const r of Object.keys(t)){const n=t[r],i={};for(;n.next();)switch(n.tag()){case 3:{const t=n.getMessage(),e=new T(t);t.release(),i[e.name]=e;break}default:n.skip()}e[r]=i}return e}_createBucket(t){switch(t.type){case 0:return null;case 1:return this._createFillBucket(t);case 2:return this._createLineBucket(t);case 4:return this._createCircleBucket(t);case 3:return this._createSymbolBucket(t)}}_createFillBucket(t){return new E(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new L(t.fillMaterial.getStride()),new I,new S(t.outlineMaterial.getStride()),new I)}_createLineBucket(t){return new U(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new A(t.lineMaterial.getStride()),new I)}_createCircleBucket(t){return new P(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new B(t.circleMaterial.getStride()),new I)}_createSymbolBucket(t){const e=this._tile;return new Y(e.tileKey,t,this._level,new k(t.iconMaterial.getStride()),new I,new k(t.textMaterial.getStride()),new I,e.placementEngine,e.getWorkerTileHandler())}}class q{constructor(t,e,r,n){this.status=0,this.placementEngine=new _,this.tileKey=t,this.refKeys=e,this._workerTileHandler=r,this._styleRepository=n}release(){this.tileKey="",this.refKeys=null,this.status=0,this._workerTileHandler=null}async parse(t,e){const r=e?.signal;if(null!=r){const t=()=>{r.removeEventListener("abort",t),this.status=4};r.addEventListener("abort",t)}let i;const s={bucketsWithData:[],emptyBuckets:null};try{i=await this._parse(t,e)}catch(t){if((0,n.zf)(t))throw t;return{result:s,transferList:[]}}this.status=2;const o=s.bucketsWithData,a=[];for(const t of i)if(t.hasFeatures()){const e=t.serialize();o.push(e)}else a.push(t.layer.uid);const l=[...o];let h=null;return a.length>0&&(h=Uint32Array.from(a),l.push(h.buffer)),s.emptyBuckets=h,{result:s,transferList:l}}setObsolete(){this.status=4}getLayers(){return this._workerTileHandler.getLayers()}getWorkerTileHandler(){return this._workerTileHandler}async _parse(t,e){const r=t.sourceName2DataAndRefKey;return 0===Object.keys(r).length?[]:(this.status=3,new j(r,this,e.client,t.sourceDataMaxLOD,this._styleRepository,t.styleLayerUIDs,t.baseUrl).parse(e))}}var K=r(45013);class H{constructor(){this._spriteInfo={},this._glyphInfo={},this._sourceDataMaxLOD=25}reset(){return this._spriteInfo={},this._glyphInfo={},Promise.resolve()}getLayers(){return this._styleRepository?.layers??[]}async createTileAndParse(t,e){const{key:r}=t,i={};for(const e of Object.keys(t.sourceName2DataAndRefKey)){const r=t.sourceName2DataAndRefKey[e];i[e]=r.refKey}const s=new q(r,i,this,this._styleRepository);this.initializeGlyphWorker(void 0,e);try{return await s.parse({...t,sourceDataMaxLOD:this._sourceDataMaxLOD},e)}catch(t){if(s.setObsolete(),s.release(),!(0,n.zf)(t))throw t;return null}}initializeGlyphWorker(t,e){return this._loaded??=(async()=>{const t=await e.client.invoke("openGlyphPorts"),r=await(0,i.N1)(t,{maxNumberOfConcurrentJobs:20});this._glyphWorker=r.createInvokeProxy()})()}updateStyle(t){if(!t||0===t.length||!this._styleRepository)return;const e=this._styleRepository;for(const r of t){const t=r.type,n=r.data;switch(t){case 0:e.setPaintProperties(n.layer,n.paint);break;case 1:e.setLayoutProperties(n.layer,n.layout);break;case 3:e.deleteStyleLayer(n.layer);break;case 2:e.setStyleLayer(n.layer,n.index);break;case 4:this._spriteInfo={}}}}setStyle(t){const{style:e,sourceDataMaxLOD:r}=t;this._styleRepository=new K.A(e),this._sourceDataMaxLOD=r,this._spriteInfo={},this._glyphInfo={}}fetchSprites(t,e,r){const n=[],i=this._spriteInfo;for(const e of t)void 0===i[e.name]&&n.push(e);return 0===n.length?Promise.resolve():e.invoke("getSprites",n,{signal:r?.signal}).then(t=>{for(const e in t){const r=t[e];i[e]=r}})}getSpriteItems(){return this._spriteInfo}async fetchGlyphs(t,e,r,n){const i=[];let s=this._glyphInfo[e];if(s?r.forEach(t=>{s[t]||i.push(t)}):(s=this._glyphInfo[e]=[],r.forEach(t=>i.push(t))),0===i.length)return;if(await this._loaded,!this._glyphWorker)return void console.error("Failed to fetch glyphs: no worker connection");const o=String.fromCodePoint(...i),a=await this._glyphWorker.getGlyphItems(o,!1,t,e,!0,n);if(a)for(const t of a.glyphs)s[t.code]=t}getGlyphItems(t){return this._glyphInfo[t]}}},18989(t,e,r){r.d(e,{A:()=>n});class n{constructor(t=0,e=0,r=0,n=0){this.x=t,this.y=e,this.width=r,this.height=n}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}},83773(t,e,r){function n(t,e){return t.x===e.x&&t.y===e.y}function i(t){if(!t)return;const e=t.length;if(e<=1)return;let r=0;for(let i=1;i<e;i++)n(t[i],t[r])||++r===i||(t[r]=t[i]);t.length=r+1}function s(t,e){return t.x=e.y,t.y=-e.x,t}function o(t,e){return t.x=-e.y,t.y=e.x,t}function a(t,e){return t.x=e.x,t.y=e.y,t}function l(t,e){return t.x=-e.x,t.y=-e.y,t}function h(t){return Math.sqrt(t.x*t.x+t.y*t.y)}function c(t,e){return t.x*e.y-t.y*e.x}function u(t,e){return t.x*e.x+t.y*e.y}function f(t,e,r,n){return t.x=e.x*r+e.y*n,t.y=e.x*n-e.y*r,t}r.d(e,{i:()=>x});class x{constructor(t,e,r){this._writeVertex=t,this._writeTriangle=e,this._canUseThinTessellation=r,this._prevNormal={x:void 0,y:void 0},this._nextNormal={x:void 0,y:void 0},this._textureNormalLeft={x:0,y:1},this._textureNormalRight={x:0,y:-1},this._textureNormal={x:void 0,y:void 0},this._joinNormal={x:void 0,y:void 0},this._inner={x:void 0,y:void 0},this._outer={x:void 0,y:void 0},this._roundStart={x:void 0,y:void 0},this._roundEnd={x:void 0,y:void 0},this._startBreak={x:void 0,y:void 0},this._endBreak={x:void 0,y:void 0},this._innerPrev={x:void 0,y:void 0},this._innerNext={x:void 0,y:void 0},this._bevelStart={x:void 0,y:void 0},this._bevelEnd={x:void 0,y:void 0},this._bevelMiddle={x:void 0,y:void 0}}tessellate(t,e,r=this._canUseThinTessellation){i(t),r&&e.halfWidth<1.05&&!e.offset?this._tessellateThin(t,e):this._tessellate(t,e)}_tessellateThin(t,e){if(t.length<2)return;const r=e.wrapDistance||65535;let n=e.initialDistance||0,i=!1,s=t[0].x,o=t[0].y;const a=t.length;for(let e=1;e<a;++e){i&&(i=!1,n=0);let a=t[e].x,l=t[e].y,h=a-s,c=l-o,u=Math.sqrt(h*h+c*c);if(h/=u,c/=u,n+u>r){i=!0;const t=(r-n)/u;u=r-n,a=(1-t)*s+t*a,l=(1-t)*o+t*l,--e}const f=this._writeVertex(s,o,0,0,h,c,c,-h,0,-1,n),x=this._writeVertex(s,o,0,0,h,c,-c,h,0,1,n);n+=u;const d=this._writeVertex(a,l,0,0,h,c,c,-h,0,-1,n),y=this._writeVertex(a,l,0,0,h,c,-c,h,0,1,n);this._writeTriangle(f,x,d),this._writeTriangle(x,d,y),s=a,o=l}}_tessellate(t,e){const r=t[0],i=t[t.length-1],x=n(r,i),d=x?3:2;if(t.length<d)return;const y=e.pixelCoordRatio,g=null!=e.capType?e.capType:0,p=null!=e.joinType?e.joinType:2,_=null!=e.miterLimit?Math.min(e.miterLimit,4):2,m=null!=e.roundLimit?Math.min(e.roundLimit,1.05):1.05,b=null!=e.halfWidth?e.halfWidth:2,w=!!e.textured;let v,I,T,M=null;const A=this._prevNormal,L=this._nextNormal;let S=-1,k=-1;const B=this._joinNormal;let V,P;const D=this._textureNormalLeft,R=this._textureNormalRight,E=this._textureNormal;let C=-1,U=-1;const F=e.wrapDistance||65535;let N=e.initialDistance||0;const z=this._writeVertex,O=this._writeTriangle,G=(t,e,r,n,i,s)=>{const o=z(I,T,V,P,r,n,t,e,i,s,N);return C>=0&&U>=0&&o>=0&&O(C,U,o),C=U,U=o,o};x&&(v=t[t.length-2],L.x=i.x-v.x,L.y=i.y-v.y,k=h(L),L.x/=k,L.y/=k);let W=!1;for(let e=0;e<t.length;++e){if(W&&(W=!1,N=0),v&&(A.x=-L.x,A.y=-L.y,S=k,N+S>F&&(W=!0)),W){const r=(F-N)/S;S=F-N,v={x:(1-r)*v.x+r*t[e].x,y:(1-r)*v.y+r*t[e].y},--e}else v=t[e];I=v.x,T=v.y;const r=e<=0&&!W,n=e===t.length-1;if(r||(N+=S),M=n?x?t[1]:null:t[e+1],M?(L.x=M.x-I,L.y=M.y-T,k=h(L),L.x/=k,L.y/=k):(L.x=void 0,L.y=void 0),!x){if(r){o(B,L),V=B.x,P=B.y,2===g&&(G(-L.y-L.x,L.x-L.y,L.x,L.y,0,-1),G(L.y-L.x,-L.x-L.y,L.x,L.y,0,1)),1===g&&(G(-L.y-L.x,L.x-L.y,L.x,L.y,-1,-1),G(L.y-L.x,-L.x-L.y,L.x,L.y,-1,1)),1!==g&&0!==g||(G(-L.y,L.x,L.x,L.y,0,-1),G(L.y,-L.x,L.x,L.y,0,1));continue}if(n){s(B,A),V=B.x,P=B.y,1!==g&&0!==g||(G(A.y,-A.x,-A.x,-A.y,0,-1),G(-A.y,A.x,-A.x,-A.y,0,1)),2===g&&(G(A.y-A.x,-A.x-A.y,-A.x,-A.y,0,-1),G(-A.y-A.x,A.x-A.y,-A.x,-A.y,0,1)),1===g&&(G(A.y-A.x,-A.x-A.y,-A.x,-A.y,1,-1),G(-A.y-A.x,A.x-A.y,-A.x,-A.y,1,1));continue}}let i,d,z=-c(A,L);if(Math.abs(z)<.01)u(A,L)>0?(B.x=A.x,B.y=A.y,z=1,i=Number.MAX_VALUE,d=!0):(o(B,L),z=1,i=1,d=!1);else{B.x=(A.x+L.x)/z,B.y=(A.y+L.y)/z,i=h(B);const t=(i-1)*b*y;d=i>4||t>S&&t>k}V=B.x,P=B.y;let O=p;switch(p){case 0:i<1.05&&(O=2);break;case 1:i<m&&(O=2);break;case 2:i>_&&(O=0)}switch(O){case 2:if(G(B.x,B.y,-A.x,-A.y,0,-1),G(-B.x,-B.y,-A.x,-A.y,0,1),n)break;if(w){const t=W?0:N;C=this._writeVertex(I,T,V,P,L.x,L.y,B.x,B.y,0,-1,t),U=this._writeVertex(I,T,V,P,L.x,L.y,-B.x,-B.y,0,1,t)}break;case 0:{const t=z<0;let e,r,i,h;if(t){const t=C;C=U,U=t,e=D,r=R}else e=R,r=D;if(d)i=t?o(this._innerPrev,A):s(this._innerPrev,A),h=t?s(this._innerNext,L):o(this._innerNext,L);else{const e=t?l(this._inner,B):a(this._inner,B);i=e,h=e}const c=t?s(this._bevelStart,A):o(this._bevelStart,A);G(i.x,i.y,-A.x,-A.y,e.x,e.y);const u=G(c.x,c.y,-A.x,-A.y,r.x,r.y);if(n)break;const x=t?o(this._bevelEnd,L):s(this._bevelEnd,L);if(d){const t=this._writeVertex(I,T,V,P,-A.x,-A.y,0,0,0,0,N);C=this._writeVertex(I,T,V,P,L.x,L.y,h.x,h.y,e.x,e.y,N),U=this._writeVertex(I,T,V,P,L.x,L.y,x.x,x.y,r.x,r.y,N),this._writeTriangle(u,t,U)}else{if(w){const t=this._bevelMiddle;t.x=(c.x+x.x)/2,t.y=(c.y+x.y)/2,f(E,t,-A.x,-A.y),G(t.x,t.y,-A.x,-A.y,E.x,E.y),f(E,t,L.x,L.y),C=this._writeVertex(I,T,V,P,L.x,L.y,t.x,t.y,E.x,E.y,N),U=this._writeVertex(I,T,V,P,L.x,L.y,h.x,h.y,e.x,e.y,N)}else{const t=C;C=U,U=t}G(x.x,x.y,L.x,L.y,r.x,r.y)}if(t){const t=C;C=U,U=t}break}case 1:{const t=z<0;let e,r;if(t){const t=C;C=U,U=t,e=D,r=R}else e=R,r=D;const h=t?l(this._inner,B):a(this._inner,B);let c,x;d?(c=t?o(this._innerPrev,A):s(this._innerPrev,A),x=t?s(this._innerNext,L):o(this._innerNext,L)):(c=h,x=h);const y=t?s(this._roundStart,A):o(this._roundStart,A),g=t?o(this._roundEnd,L):s(this._roundEnd,L),p=G(c.x,c.y,-A.x,-A.y,e.x,e.y),_=G(y.x,y.y,-A.x,-A.y,r.x,r.y);if(n)break;const m=this._writeVertex(I,T,V,P,-A.x,-A.y,0,0,0,0,N);d||this._writeTriangle(C,U,m);const b=l(this._outer,h),v=this._writeVertex(I,T,V,P,L.x,L.y,g.x,g.y,r.x,r.y,N);let M,S;const k=i>2;if(k){let e;i!==Number.MAX_VALUE?(b.x/=i,b.y/=i,e=u(A,b),e=(i*(e*e-1)+1)/e):e=-1,M=t?s(this._startBreak,A):o(this._startBreak,A),M.x+=A.x*e,M.y+=A.y*e,S=t?o(this._endBreak,L):s(this._endBreak,L),S.x+=L.x*e,S.y+=L.y*e}f(E,b,-A.x,-A.y);const F=this._writeVertex(I,T,V,P,-A.x,-A.y,b.x,b.y,E.x,E.y,N);f(E,b,L.x,L.y);const O=w?this._writeVertex(I,T,V,P,L.x,L.y,b.x,b.y,E.x,E.y,N):F,W=m,Z=w?this._writeVertex(I,T,V,P,L.x,L.y,0,0,0,0,N):m;let Y=-1,j=-1;if(k&&(f(E,M,-A.x,-A.y),Y=this._writeVertex(I,T,V,P,-A.x,-A.y,M.x,M.y,E.x,E.y,N),f(E,S,L.x,L.y),j=this._writeVertex(I,T,V,P,L.x,L.y,S.x,S.y,E.x,E.y,N)),w?k?(this._writeTriangle(W,_,Y),this._writeTriangle(W,Y,F),this._writeTriangle(Z,O,j),this._writeTriangle(Z,j,v)):(this._writeTriangle(W,_,F),this._writeTriangle(Z,O,v)):k?(this._writeTriangle(m,_,Y),this._writeTriangle(m,Y,j),this._writeTriangle(m,j,v)):(this._writeTriangle(m,_,F),this._writeTriangle(m,O,v)),d?(C=this._writeVertex(I,T,V,P,L.x,L.y,x.x,x.y,e.x,e.y,N),U=v):(C=w?this._writeVertex(I,T,V,P,L.x,L.y,x.x,x.y,e.x,e.y,N):p,this._writeTriangle(C,Z,v),U=v),t){const t=C;C=U,U=t}break}}}}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,8393],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},98783(t,e,r){r.d(e,{O:()=>o});var s=r(61691),n=r(55537),i=r(76061),a=r(39117);class o{getOperatorType(){return 10104}accelerateGeometry(t,e,r){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}isSimple(t,e,r,s,n){return 5===(0,a.X)(t,e,r,s,n)}executeMany(t,e,r,s){return new u(t,e,r,s)}execute(t,e,r,s){const a=new i.S([t]),o=this.executeMany(a,e,r,s).next();return o||(0,n.d)("null output"),o}}class u extends s.G{m_inputGeometryCursor;m_spatialReference;m_progressTracker;m_index;m_bForceSimplify;constructor(t,e,r,s){super(),t||(0,n.a)(""),this.m_progressTracker=s,this.m_bForceSimplify=r,this.m_index=-1,this.m_inputGeometryCursor=t,this.m_spatialReference=e}next(){const t=this.m_inputGeometryCursor.next();return t?((0,n.c)(t),this.m_index=this.m_inputGeometryCursor.getGeometryID(),this.simplify(t)):null}getGeometryID(){return this.m_index}tock(){return!1}getRank(){return 1}simplify(t){return t||(0,n.a)(""),(0,a.Y)(t,this.m_spatialReference,this.m_bForceSimplify,this.m_progressTracker)}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(t,e,r){r.d(e,{JR:()=>S,ME:()=>M,MY:()=>O,NO:()=>C,Nh:()=>E,V2:()=>b,_s:()=>Z,e6:()=>w,gh:()=>_,tr:()=>V,uX:()=>x});var s=r(5482),n=r(16930),i=r(19419),a=r(60408),o=r(21325),u=r(513),h=r(50954),l=r(79567),c=r(52006),m=r(49663),g=r(46068),f=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:l,segmentParams:c,segmentCountArc:m,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=l,this.segmentParams=c,this.segmentCountArc=m,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=b(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:l}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=F(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new d(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class d{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=F(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],l=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,l]]};const c=2&s?0:1,m=1&s?0:1;return{a:[this.end,[o,u],c,m,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new R(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,u=P(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new R(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,c.yP)(r)}const[a,o,h,m]=n;e={xmin:a,ymin:o,xmax:h,ymax:m,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:u}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function M(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,u=[n,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,A(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const n=b(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:l}=n;function m(t){u[2*f]=t[0],u[2*f+1]=t[1],i&&(h[f]=t[2]),o&&(l[f]=t[g]),++f}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])u[2*f]=t,u[2*f+1]=e,++f;return n}for(const t of r[0])m(t);return n}const x="polygon"===s,{partOffsets:p}=n;let y=0;if(!(0,c.Ed)(t)){for(const t of r){if(p[y++]=f,0===t.length)continue;let e=t.length;if(x&&A(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)m(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*f]=e,u[2*f+1]=s,++f}}return p[y]=f,n}function v(t){const e=d+t;if(e<=(n.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let d=0;for(const t of r){if(n.partOffsets[y++]=f,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];m(r);const i=f-1;(0,c.wY)(s)?(v(10),++n.segmentCountArc,d=Z(r,s,n,i,d),r=s.a[0]):(0,c.DA)(s)?(v(10),++n.segmentCountArc,d=Y(r,s,n,i,d),r=s.a[0]):(0,c.aO)(s)?(v(10),++n.segmentCountArc,d=w(r,s,n,i,d),r=s.c[0]):(0,c.n1)(s)?(v(4),++n.segmentCountBezier,d=V(0,s,n,i,d),r=s.b[0]):r=s}x&&A(e,r)||m(r)}return n.partOffsets[y]=f,n}function _(t){const e=F(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=P(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:a}}function E(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const h=b(t,u,a,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const l=2+Number(s)+Number(n);let c=0,m=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[m],i=e+t-Number(o);h.partOffsets[++m]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[c++],h.vertexXY[2*t+1]=r[c++],s&&(h.vertexZ[t]=r[c++]),n&&(h.vertexM[t]=r[c++]);o&&(c+=l)}return h}function S({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new f.A([],[],o,u);i=Math.max(i,1);const l="polygon"===t;let c=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,m=h.coords.length;for(let t=c;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(l){const t=c;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-m)/h.stride),c=i}return"point"===t&&(h.lengths.length=0),h}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class R{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function P({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function F({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function A(t,e){return t.every((t,r)=>t===e[r])}function b(t,e,r,s,n,i,a,o){a??=0,o??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(h);let c=0;return u.vertexXY=new Float64Array(l,c,2*e),c+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(l,c,e),c+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(l,c,e),c+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(l,c,u.segmentParamCount),c+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(l,c,e),u.segmentIndices.fill(k),c+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(l,c,r+1),c+=u.partOffsets.byteLength,u.partFlags=new Int8Array(l,c,r+1),c+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(l,c,e),u.segmentFlags.fill(1),c+=u.segmentFlags.byteLength),u}function Z(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[u,h],l,c,m,f,x]=e.a;let p=4;c||(p|=1),l||(p|=2);const y=(0,g.SW)(t,e),[v,d]=(0,g.Uk)(y,.5);return n[a++]=p,n[a++]=f,n[a++]=x,n[a++]=m,n[a++]=u,n[a++]=h,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=v,n[a++]=d,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,m.io)(t,e);return I(o,4,...(0,u.mq)(o,.5),n,a)}function w(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,h.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:l}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function V(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,l){return a[h]=2,o[h]=l,u[l++]=r,u[l++]=s,u[l++]=n,u[l++]=i,l}const G=1.61803,k=-1},5095(t,e,r){r.d(e,{fz:()=>u,g7:()=>i,pn:()=>o,zo:()=>a});var s=r(76061);const n=new(r(98783).O);function i(t,e,r){return n.execute(t,e,r,null)}function a(t,e,r){const i=n.executeMany(new s.S(t),e,r,null);return Array.from(i)}function o(t,e,r,s){return n.isSimple(t,e,r,s,null)}function u(){return n.supportsCurves()}},25802(t,e,r){r.r(e),r.d(e,{execute:()=>i,executeMany:()=>a,isSimple:()=>o});var s=r(5095),n=r(83299);function i(t){const e=(0,n.fromGeometry)(t),r=e.getSpatialReference();return(0,n.toGeometry)((0,s.g7)(e.getGeometry(),r,!1),r)}function a(t){const[e,r]=(0,n.fromGeometries)(t);return(0,s.zo)(e,r,!1).map(t=>(0,n.toGeometry)(t,r))}function o(t){const e=(0,n.fromGeometry)(t);return(0,s.pn)(e.getGeometry(),e.getSpatialReference(),!1,null)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6129],{86129(e,t,n){n.r(t),n.d(t,{createProjectionTransformation:()=>s});var a=n(39117),r=(n(83661),n(95213),n(55537),n(79187));function s(e,t,n){let s,i;if(n?.geographicTransformation){if(n.geographicTransformation.steps?.length){const r=new a.a3;r.setInputSpatialReference(e),r.setOutputSpatialReference(t);for(const e of n.geographicTransformation.steps){let t;t=e.wkid?(0,a.a4)(e.wkid,e.isInverse):(0,a.a5)(e.wkt,e.isInverse),r.add(t)}s=r.create()}else s=(0,a.a6)();if(n.extendedParams){i=(0,a.B)();const{densificationStep:e}=n.extendedParams;null!=e&&(i.densificationStep=e)}}else if(n?.areaOfInterestExtent)return(0,a.z)(e,t,(o=n.areaOfInterestExtent,r.Envelope2D.construct(o.xmin,o.ymin,o.xmax,o.ymax)));var o;return s?(0,a.y)(e,t,s,i):(0,a.x)(e,t)}}}]);
|