@arcgis/core 4.32.0-next.20250121 → 4.32.0-next.20250122
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/WebLinkChart.js +1 -1
- package/arcade/treeAnalysis.js +1 -1
- package/assets/esri/core/t9n/Units_ar.json +1 -1
- package/assets/esri/core/t9n/Units_bg.json +1 -1
- package/assets/esri/core/t9n/Units_bs.json +1 -1
- package/assets/esri/core/t9n/Units_ca.json +1 -1
- package/assets/esri/core/t9n/Units_cs.json +1 -1
- package/assets/esri/core/t9n/Units_da.json +1 -1
- package/assets/esri/core/t9n/Units_de.json +1 -1
- package/assets/esri/core/t9n/Units_el.json +1 -1
- package/assets/esri/core/t9n/Units_es.json +1 -1
- package/assets/esri/core/t9n/Units_et.json +1 -1
- package/assets/esri/core/t9n/Units_fi.json +1 -1
- package/assets/esri/core/t9n/Units_fr.json +1 -1
- package/assets/esri/core/t9n/Units_he.json +1 -1
- package/assets/esri/core/t9n/Units_hr.json +1 -1
- package/assets/esri/core/t9n/Units_hu.json +1 -1
- package/assets/esri/core/t9n/Units_id.json +1 -1
- package/assets/esri/core/t9n/Units_it.json +1 -1
- package/assets/esri/core/t9n/Units_ja.json +1 -1
- package/assets/esri/core/t9n/Units_ko.json +1 -1
- package/assets/esri/core/t9n/Units_lt.json +1 -1
- package/assets/esri/core/t9n/Units_lv.json +1 -1
- package/assets/esri/core/t9n/Units_nl.json +1 -1
- package/assets/esri/core/t9n/Units_no.json +1 -1
- package/assets/esri/core/t9n/Units_pl.json +1 -1
- package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
- package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
- package/assets/esri/core/t9n/Units_ro.json +1 -1
- package/assets/esri/core/t9n/Units_ru.json +1 -1
- package/assets/esri/core/t9n/Units_sk.json +1 -1
- package/assets/esri/core/t9n/Units_sl.json +1 -1
- package/assets/esri/core/t9n/Units_sr.json +1 -1
- package/assets/esri/core/t9n/Units_sv.json +1 -1
- package/assets/esri/core/t9n/Units_th.json +1 -1
- package/assets/esri/core/t9n/Units_tr.json +1 -1
- package/assets/esri/core/t9n/Units_uk.json +1 -1
- package/assets/esri/core/t9n/Units_vi.json +1 -1
- package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
- package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
- package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/03b94362ed2a45ee5ea3.js +1 -0
- package/assets/esri/core/workers/chunks/0446f2ffad255cd40272.js +1 -0
- package/assets/esri/core/workers/chunks/059119f1731c2103c91c.js +1 -0
- package/assets/esri/core/workers/chunks/05e58286f8015dba6768.js +1 -0
- package/assets/esri/core/workers/chunks/060414956bf316529c48.js +1 -0
- package/assets/esri/core/workers/chunks/{f8e188af5608293d5b2b.js → 07bff9e742f3e5877f3f.js} +1 -1
- package/assets/esri/core/workers/chunks/{6400f39a965900f66ce7.js → 083c73428945fb3d4558.js} +1 -1
- package/assets/esri/core/workers/chunks/0d3154b90bc3fd7e6b4c.js +1 -0
- package/assets/esri/core/workers/chunks/0ec2ae595fa22998ffea.js +1 -0
- package/assets/esri/core/workers/chunks/{105dcc7b7284b1e965b7.js → 15c5b1dd8f398f641f6e.js} +1 -1
- package/assets/esri/core/workers/chunks/163451124c66a7a0bcdc.js +1 -0
- package/assets/esri/core/workers/chunks/17cc6638a510da164f58.js +1 -0
- package/assets/esri/core/workers/chunks/1e3ab66d0e8a7f160f33.js +1 -0
- package/assets/esri/core/workers/chunks/1e9349411af082ec03d0.js +1 -0
- package/assets/esri/core/workers/chunks/1eb47cfca815ac432cf5.js +1 -0
- package/assets/esri/core/workers/chunks/{82266ca8002554198208.js → 20e7fae0c173807ba9a2.js} +1 -1
- package/assets/esri/core/workers/chunks/{af0b0a7eedebcf99d05d.js → 2118e9ffb24178ed7f59.js} +1 -1
- package/assets/esri/core/workers/chunks/21c12edc0632eb911e73.js +1 -0
- package/assets/esri/core/workers/chunks/21c3882a282a4755e032.js +1 -0
- package/assets/esri/core/workers/chunks/{435c037ccba71f1e22d3.js → 2488a0da3be64b0a26f4.js} +1 -1
- package/assets/esri/core/workers/chunks/254fbd8055ae7a0bb393.js +1 -0
- package/assets/esri/core/workers/chunks/2d55eb8059a532ffcc56.js +1 -0
- package/assets/esri/core/workers/chunks/3034df78da56fe1c0535.js +1 -0
- package/assets/esri/core/workers/chunks/32a96ef30f4608f377d6.js +1 -0
- package/assets/esri/core/workers/chunks/{97d66b0d0ff1132966de.js → 33b2f59c2ec10b2a1034.js} +1 -1
- package/assets/esri/core/workers/chunks/402de76b5de05615e111.js +1 -0
- package/assets/esri/core/workers/chunks/{17726b0ab1bf66185d66.js → 40efcdf03c5224e6c4f7.js} +1 -1
- package/assets/esri/core/workers/chunks/424c7788a708abbf9299.js +1 -0
- package/assets/esri/core/workers/chunks/484d99910d110830df76.js +1 -0
- package/assets/esri/core/workers/chunks/{9970e0e74cf2877a7ffc.js → 486969dba1dc99402172.js} +2 -2
- package/assets/esri/core/workers/chunks/{02b2175132c9720bc756.js → 48f4ba1a5bb692903d06.js} +1 -1
- package/assets/esri/core/workers/chunks/4d7bd2bbe9045a2fee7a.js +1 -0
- package/assets/esri/core/workers/chunks/{decd316936df1ad3fa65.js → 50b538c93696de5eda97.js} +1 -1
- package/assets/esri/core/workers/chunks/{de00150030003de05146.js → 52aea8a4f292a66f5cfa.js} +1 -1
- package/assets/esri/core/workers/chunks/56f0eb9802f5cf9ad0d9.js +1 -0
- package/assets/esri/core/workers/chunks/57ddd64f0c22274d87e0.js +1 -0
- package/assets/esri/core/workers/chunks/5b5be7eb139b153934f5.js +1 -0
- package/assets/esri/core/workers/chunks/{4af0674fabfc965f1660.js → 5b876743865ef91b5648.js} +1 -1
- package/assets/esri/core/workers/chunks/62b88350892198de5055.js +1 -0
- package/assets/esri/core/workers/chunks/{206194cf069ad4bcc3ad.js → 6adf4f3d807f1af1c7c1.js} +1 -1
- package/assets/esri/core/workers/chunks/6b1285db2d6695a87553.js +1 -0
- package/assets/esri/core/workers/chunks/6c425e1041bdeef32832.js +1 -0
- package/assets/esri/core/workers/chunks/6eb829a7959df2269b0e.js +1 -0
- package/assets/esri/core/workers/chunks/765b4aefce7c11bbcb1f.js +1 -0
- package/assets/esri/core/workers/chunks/{6d17488396583d83d9be.js → 79a265dc21e29d3fd888.js} +1 -1
- package/assets/esri/core/workers/chunks/7a9e1696dc6120df15b0.js +1 -0
- package/assets/esri/core/workers/chunks/7ae1f26ded268099f429.js +1 -0
- package/assets/esri/core/workers/chunks/7bf08823f861628144a1.js +1 -0
- package/assets/esri/core/workers/chunks/7e4d72279cc599b7029c.js +1 -0
- package/assets/esri/core/workers/chunks/{ee5f43fbe4c2cc199e64.js → 8434cd16effc5efbf1bd.js} +1 -1
- package/assets/esri/core/workers/chunks/86149b4a5a148744c7d1.js +1 -0
- package/assets/esri/core/workers/chunks/{2779cf112299b612a73a.js → 875cb81f143ff8fe03b5.js} +1 -1
- package/assets/esri/core/workers/chunks/885814ef0e34c01a589f.js +1 -0
- package/assets/esri/core/workers/chunks/{e610dd938d30f75778bc.js → 8be2d16663a238de9438.js} +1 -1
- package/assets/esri/core/workers/chunks/91d5cb094a7051abb6c5.js +1 -0
- package/assets/esri/core/workers/chunks/93ba76749746871357e7.js +314 -0
- package/assets/esri/core/workers/chunks/991c597f27daa67158c5.js +1 -0
- package/assets/esri/core/workers/chunks/9bd22cdf6eb158555906.js +1 -0
- package/assets/esri/core/workers/chunks/{33eebe5cb22a03ae90c8.js → 9c88ce9b0020b6f9a37a.js} +1 -1
- package/assets/esri/core/workers/chunks/9df7bffadbe0b4aad442.js +1 -0
- package/assets/esri/core/workers/chunks/a0a056698f8227210f49.js +1 -0
- package/assets/esri/core/workers/chunks/a1cdd09968e11d95c701.js +1 -0
- package/assets/esri/core/workers/chunks/a28cb975974b99540432.js +1 -0
- package/assets/esri/core/workers/chunks/a29958273958c3e3e932.js +1 -0
- package/assets/esri/core/workers/chunks/{98da074899c82f0ded0b.js → af224962edae72b002fa.js} +1 -1
- package/assets/esri/core/workers/chunks/af2ed4c8ac238b932d89.js +1 -0
- package/assets/esri/core/workers/chunks/af75107f207b2ba01bb4.js +1 -0
- package/assets/esri/core/workers/chunks/b1661e6c76ef0800ffd6.js +1 -0
- package/assets/esri/core/workers/chunks/b42ecc7c3eb2fd8d1308.js +1 -0
- package/assets/esri/core/workers/chunks/b44cf0e4c2f93408cabc.js +1 -0
- package/assets/esri/core/workers/chunks/b846052b6f80ad6ada89.js +1 -0
- package/assets/esri/core/workers/chunks/{399e67ccb69a5b206354.js → c1fd87af3129873369fd.js} +1 -1
- package/assets/esri/core/workers/chunks/c473756f8785ab868ba5.js +1 -0
- package/assets/esri/core/workers/chunks/c5368ca97b7f7261967a.js +1 -0
- package/assets/esri/core/workers/chunks/c685991c9a30f7435933.js +1 -0
- package/assets/esri/core/workers/chunks/ca5bd71bc2c1b1b3f9d9.js +1 -0
- package/assets/esri/core/workers/chunks/ce1c89b5a10fb5a7bb49.js +1 -0
- package/assets/esri/core/workers/chunks/d45ff061bf71b73e9f26.js +1 -0
- package/assets/esri/core/workers/chunks/d4760e583dfac95dc8a1.js +1 -0
- package/assets/esri/core/workers/chunks/de2ca2dc1b5d62c0d82e.js +1 -0
- package/assets/esri/core/workers/chunks/dfa4be2e07cc4c0938b0.js +1 -0
- package/assets/esri/core/workers/chunks/e067cef3b3ac3af49b88.js +1 -0
- package/assets/esri/core/workers/chunks/e2775bcceb62fd0df41b.js +1 -0
- package/assets/esri/core/workers/chunks/{c81204ae663e58c7b689.js → e63ff8d57fd771413488.js} +1 -1
- package/assets/esri/core/workers/chunks/e9993d4f2bfdc434fbcc.js +1 -0
- package/assets/esri/core/workers/chunks/{54c149f90bf94b797b36.js → ed30f46236da29c15430.js} +1 -1
- package/assets/esri/core/workers/chunks/f016205a8f1fb665d6dd.js +1 -0
- package/assets/esri/core/workers/chunks/f02119812ec852edda57.js +1 -0
- package/assets/esri/core/workers/chunks/f272070f0878cd3e39a4.js +1 -0
- package/assets/esri/core/workers/chunks/f2cf05fbbb51d657d300.js +1 -0
- package/assets/esri/core/workers/chunks/{e4f4ad67d778dea5b956.js → f4f6f4933ca58438d7bc.js} +1 -1
- package/assets/esri/core/workers/chunks/fdc3d97510c6d43a8882.js +1 -0
- package/assets/esri/core/workers/chunks/fef135e55706d84d1947.js +1 -0
- package/assets/esri/core/workers/chunks/ff4107b4fd3d3ce24e84.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
- package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +24 -0
- package/assets/esri/themes/base/widgets/_UtilityNetworkTrace.scss +49 -24
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_en.json +1 -1
- package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
- package/chunks/arcgis-knowledge-client-core.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/editing/sharedTemplates/SharedTemplate.js +1 -1
- package/editing/sharedTemplates/SharedTemplateMetadata.d.ts +4 -0
- package/editing/sharedTemplates/SharedTemplateMetadata.js +1 -1
- package/editing/templateUtils.js +5 -0
- package/geometry/operators/projectOperator.d.ts +4 -0
- package/geometry/operators/shapePreservingProjectOperator.d.ts +4 -0
- package/geometry/operators/support/GeographicTransformation.d.ts +4 -0
- package/geometry/operators/support/GeographicTransformation.js +1 -1
- package/geometry/operators/support/GeographicTransformationStep.d.ts +4 -0
- package/geometry/operators/support/geographicTransformationUtils.d.ts +4 -0
- package/geometry/support/GeographicTransformation.d.ts +2 -2
- package/geometry/support/GeographicTransformationStep.d.ts +2 -2
- package/interfaces.d.ts +522 -53
- package/layers/ILyr3DWasmPerSceneView.js +1 -1
- package/layers/LinkChartLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/networks/support/utils.js +1 -1
- package/package.json +1 -1
- package/rest/featureService/FeatureService.js +1 -1
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsConfiguration.d.ts +4 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsConfiguration.js +5 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsEntity.d.ts +4 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsEntity.js +5 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.d.ts +4 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.js +5 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.d.ts +4 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.js +5 -0
- package/rest/knowledgeGraph/toolService/findPaths/FindPathsToolSettings.d.ts +4 -0
- package/rest/knowledgeGraph/toolService/findPaths/FindPathsToolSettings.js +5 -0
- package/rest/knowledgeGraphService.js +1 -1
- package/support/revision.js +1 -1
- package/undoredo/support/Services.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/Lyr3DWasm.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
- package/widgets/FeatureForm/UtilityNetworkAssociationInput.js +1 -1
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.js +1 -1
- package/widgets/FeatureTemplates/TemplateItem.js +1 -1
- package/widgets/FeatureTemplates/featureTemplatesUtils.js +1 -1
- package/widgets/FeatureTemplates.js +1 -1
- package/widgets/LayerList/LayerListItem.js +1 -1
- package/widgets/Locate.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageAreaMeasurement.js +5 -0
- package/widgets/OrientedImageryViewer/components/ImageDistanceMeasurement.js +5 -0
- package/widgets/OrientedImageryViewer/components/ImageMeasurement.js +5 -0
- package/widgets/OrientedImageryViewer/css.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +5 -0
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeaturesDrillIn.js +5 -0
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationList.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/0651586dc7bd2e8b34db.js +0 -1
- package/assets/esri/core/workers/chunks/077070295499b9bfabb6.js +0 -1
- package/assets/esri/core/workers/chunks/090cfc7f088a729afd47.js +0 -1
- package/assets/esri/core/workers/chunks/0d387baa64a89f88b1de.js +0 -1
- package/assets/esri/core/workers/chunks/134de9fa142129a43b1e.js +0 -1
- package/assets/esri/core/workers/chunks/16fa0a5f73ab67a8d3e4.js +0 -1
- package/assets/esri/core/workers/chunks/1797f62e9bf8f1ac8d13.js +0 -1
- package/assets/esri/core/workers/chunks/182722e2fe0a35c4d8db.js +0 -1
- package/assets/esri/core/workers/chunks/1b3215f3290fb2f07ab8.js +0 -1
- package/assets/esri/core/workers/chunks/1f4dd96aacf8c40a1120.js +0 -1
- package/assets/esri/core/workers/chunks/22748779ca94eda44de5.js +0 -1
- package/assets/esri/core/workers/chunks/2427a01678f3d9fbf30b.js +0 -1
- package/assets/esri/core/workers/chunks/33a13544b9e5f4f20bce.js +0 -1
- package/assets/esri/core/workers/chunks/423329432fbf007c620b.js +0 -1
- package/assets/esri/core/workers/chunks/467bd3c0da9518a0058b.js +0 -1
- package/assets/esri/core/workers/chunks/4c1d11a91291b28a73be.js +0 -1
- package/assets/esri/core/workers/chunks/51fbbd082ca78e4417d9.js +0 -1
- package/assets/esri/core/workers/chunks/5c05c899f7e6f764fedd.js +0 -1
- package/assets/esri/core/workers/chunks/6c1470dc0bd4389d1a2d.js +0 -1
- package/assets/esri/core/workers/chunks/6e804ee2d96d4de85a5f.js +0 -1
- package/assets/esri/core/workers/chunks/712f0dd46932c544df68.js +0 -1
- package/assets/esri/core/workers/chunks/71e88c90e9f9a9bddcd8.js +0 -1
- package/assets/esri/core/workers/chunks/74ba752dfab8ea5b6d2a.js +0 -314
- package/assets/esri/core/workers/chunks/79903647d4ed16d9a402.js +0 -1
- package/assets/esri/core/workers/chunks/7b4880b2dc6b01d70ccc.js +0 -1
- package/assets/esri/core/workers/chunks/7c98e4fcba1dc24eb788.js +0 -1
- package/assets/esri/core/workers/chunks/7d0fc25ce1f74adcfeb6.js +0 -1
- package/assets/esri/core/workers/chunks/8249351daa45ca82ca0c.js +0 -1
- package/assets/esri/core/workers/chunks/87ddc3d5d751d565cd97.js +0 -1
- package/assets/esri/core/workers/chunks/88bb55bca76f978c0aa3.js +0 -1
- package/assets/esri/core/workers/chunks/89198ca24466d939e4e8.js +0 -1
- package/assets/esri/core/workers/chunks/8cda8dbd95f0a78063a8.js +0 -1
- package/assets/esri/core/workers/chunks/8e0e5183c88a45fbfd8e.js +0 -1
- package/assets/esri/core/workers/chunks/90eea0c2435bb5d10460.js +0 -1
- package/assets/esri/core/workers/chunks/93c1541241f92fc07eaa.js +0 -1
- package/assets/esri/core/workers/chunks/964f2897794d8d71dcb7.js +0 -1
- package/assets/esri/core/workers/chunks/976daa00d35ee7f27a26.js +0 -1
- package/assets/esri/core/workers/chunks/99b4f146d0f1661a217c.js +0 -1
- package/assets/esri/core/workers/chunks/aa96a05b94ae642c1c9f.js +0 -1
- package/assets/esri/core/workers/chunks/b0055e7b2e840d478de8.js +0 -1
- package/assets/esri/core/workers/chunks/b1bf8ad629a6b8f4489a.js +0 -1
- package/assets/esri/core/workers/chunks/b1e3448ba51557ff6c13.js +0 -1
- package/assets/esri/core/workers/chunks/b30046a40bcfbec8abe4.js +0 -1
- package/assets/esri/core/workers/chunks/b538d02706a25bbbe2d0.js +0 -1
- package/assets/esri/core/workers/chunks/c436a112a3119ceabebf.js +0 -1
- package/assets/esri/core/workers/chunks/c690268f48bc84778b23.js +0 -1
- package/assets/esri/core/workers/chunks/c8a09db652389f0d254d.js +0 -1
- package/assets/esri/core/workers/chunks/c8a645601d041f411060.js +0 -1
- package/assets/esri/core/workers/chunks/cb3b7f83b3efb315bd14.js +0 -1
- package/assets/esri/core/workers/chunks/cdc5e4cd1214362e752a.js +0 -1
- package/assets/esri/core/workers/chunks/da5fc368eb5b3592d05e.js +0 -1
- package/assets/esri/core/workers/chunks/dae7e8357936466482fe.js +0 -1
- package/assets/esri/core/workers/chunks/dd935b6335c674b6f596.js +0 -1
- package/assets/esri/core/workers/chunks/ddd20894b5107b76b815.js +0 -1
- package/assets/esri/core/workers/chunks/df4d7f100222ea671730.js +0 -1
- package/assets/esri/core/workers/chunks/eb256e8488e341c4a6f2.js +0 -1
- package/assets/esri/core/workers/chunks/ebc0094355504ec09fb8.js +0 -1
- package/assets/esri/core/workers/chunks/f1b63f092e239f84b849.js +0 -1
- package/assets/esri/core/workers/chunks/f2126b79f41dc62cc576.js +0 -1
- package/assets/esri/core/workers/chunks/f3e0b0f07a622fcdd6ae.js +0 -1
- package/assets/esri/core/workers/chunks/f581aec77accce7411e0.js +0 -1
- package/assets/esri/core/workers/chunks/f877bcbd277a28154d82.js +0 -1
- package/assets/esri/core/workers/chunks/fa1c68f2ffcdff7986b6.js +0 -1
- package/assets/esri/core/workers/chunks/feeb36ffdffb227c4353.js +0 -1
- package/widgets/support/templateUtils.js +0 -5
- /package/assets/esri/core/workers/chunks/{9970e0e74cf2877a7ffc.js.LICENSE.txt → 486969dba1dc99402172.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[697,3200,6928,7136,8430,9340],{52106:(e,t,r)=>{r.d(t,{A:()=>_});var n,o=r(90237),i=r(59456),s=r(13874),l=r(61147),a=r(69540),p=r(51447),u=r(25482),y=r(53966),c=r(36708),f=r(24326),h=r(10107),m=(r(44208),r(87811),r(40608)),d=r(65864);function g(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let b=n=class extends(a.A.ClonableMixin(u.A)){constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.popupTemplate=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,f.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,p.eF)(y.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const r of[t,this.sourceLayer,this.layer])if(r){if("popupTemplate"in r&&r.popupTemplate)return r.popupTemplate;if(e&&"defaultPopupTemplate"in r&&null!=r.defaultPopupTemplate)return r.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{aggregateGeometries:g(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:u.A.isSerializable(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const o={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(o.action=n),"attributes"===e&&(o.attributeName=n),this.layer.graphicChanged(o)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)((()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0),(({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())})),(0,c.z7)((()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0),(()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)}),{equals:(e,t)=>e===t,sync:!0})])}};(0,o._)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,d.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],b.prototype,"aggregateGeometries",null),(0,o._)([(0,h.MZ)({value:null})],b.prototype,"attributes",null),(0,o._)([(0,h.MZ)({value:null,types:i.yR,json:{read:d.rS}})],b.prototype,"geometry",null),(0,o._)([(0,h.MZ)({type:Boolean})],b.prototype,"isAggregate",void 0),(0,o._)([(0,h.MZ)({clonable:"reference"})],b.prototype,"layer",void 0),(0,o._)([(0,h.MZ)({clonable:"reference"})],b.prototype,"origin",void 0),(0,o._)([(0,h.MZ)({type:s.A})],b.prototype,"popupTemplate",void 0),(0,o._)([(0,h.MZ)({clonable:"reference"})],b.prototype,"sourceLayer",void 0),(0,o._)([(0,h.MZ)({value:null,types:l.Es})],b.prototype,"symbol",null),(0,o._)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],b.prototype,"_version",void 0),(0,o._)([(0,h.MZ)({type:Boolean,value:!0})],b.prototype,"visible",null),b=n=(0,o._)([(0,m.$)("esri.Graphic")],b);const _=b},39516:(e,t,r)=>{async function n(e,t){const{default:n}=await Promise.resolve().then(r.bind(r,88368));return n.create(e,{fieldsIndex:t})}function o(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function i(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}r.d(t,{GP:()=>n,IW:()=>i,mA:()=>o})},13069:(e,t,r)=>{r.d(t,{AG:()=>l,lk:()=>o,vD:()=>s,yS:()=>i});const n="randomUUID"in crypto;function o(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function i(){return`{${o().toUpperCase()}}`}function s(){return`{${o()}}`}function l(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},17136:(e,t,r)=>{r.d(t,{O7:()=>S,el:()=>M});var n=r(92602),o=r(49186),i=r(53966),s=r(39829),l=r(82799),a=r(80754),p=r(21325),u=r(28735),y=(r(59456),r(78888)),c=r(65864),f=r(2272),h=r(84952),m=r(92300);const d=()=>i.A.getLogger("esri.geometry.support.normalizeUtils");function g(e){return"polygon"===e[0].type}function b(e){return"polyline"===e[0].type}function _(e,t,r){if(t){const t=function(e,t){if(!(e instanceof l.A||e instanceof s.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw d().error(e),new o.A(e)}const r=(0,a.r8)(e),n=[];for(const e of r){const r=[];n.push(r),r.push([e[0][0],e[0][1]]);for(let n=0;n<e.length-1;n++){const o=e[n][0],i=e[n][1],s=e[n+1][0],l=e[n+1][1],a=Math.sqrt((s-o)*(s-o)+(l-i)*(l-i)),p=(l-i)/a,u=(s-o)/a,y=a/t;if(y>1){for(let e=1;e<=y-1;e++){const n=e*t,s=u*n+o,l=p*n+i;r.push([s,l])}const e=(a+Math.floor(y-1)*t)/2,n=u*e+o,s=p*e+i;r.push([n,s])}r.push([s,l])}}return function(e){return"polygon"===e.type}(e)?new s.A({rings:n,spatialReference:e.spatialReference}):new l.A({paths:n,spatialReference:e.spatialReference})}(e,1e6);e=(0,u.ci)(t,!0)}return r&&(e=(0,a.kS)(e,r)),e}function w(e,t,r){if(Array.isArray(e)){const n=e[0];if(n>t){const r=(0,a.kd)(n,t);e[0]=n+r*(-2*t)}else if(n<r){const t=(0,a.kd)(n,r);e[0]=n+t*(-2*r)}}else{const n=e.x;if(n>t){const r=(0,a.kd)(n,t);e=e.clone().offset(r*(-2*t),0)}else if(n<r){const t=(0,a.kd)(n,r);e=e.clone().offset(t*(-2*r),0)}}return e}function v(e,t){let r=-1;for(let n=0;n<t.cutIndexes.length;n++){const o=t.cutIndexes[n],i=t.geometries[n],s=(0,a.r8)(i);for(let e=0;e<s.length;e++){const t=s[e];t.some((r=>{if(r[0]<180)return!0;{let r=0;for(let e=0;e<t.length;e++){const n=t[e][0];r=n>r?n:r}r=Number(r.toFixed(9));const n=-360*(0,a.kd)(r,180);for(let r=0;r<t.length;r++){const t=i.getPoint(e,r);i.setPoint(e,r,t.clone().offset(n,0))}return!0}}))}if(o===r){if(g(e))for(const t of(0,a.r8)(i))e[o]=e[o].addRing(t);else if(b(e))for(const t of(0,a.r8)(i))e[o]=e[o].addPath(t)}else r=o,e[o]=i}return e}async function M(e,t,r){if(!Array.isArray(e))return M([e],t);t&&"string"!=typeof t&&d().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const o="string"==typeof t?t:t?.url??n.A.geometryServiceUrl;let i,g,b,S,x,A,T,N,O=0;const I=[],L=[];for(const t of e)if(null!=t)if(i||(i=t.spatialReference,g=(0,p.Vp)(i),b=i.isWebMercator,A=b?102100:4326,S=a.j7[A].maxX,x=a.j7[A].minX,T=a.j7[A].plus180Line,N=a.j7[A].minus180Line),g)if("mesh"===t.type)L.push(t);else if("point"===t.type)L.push(w(t.clone(),S,x));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map((e=>w(e,S,x))),L.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,g);L.push(e.rings?new s.A(e):e)}else if(t.extent){const e=t.extent,r=(0,a.kd)(e.xmin,x)*(2*S);let n=0===r?t.clone():(0,a.kS)(t.clone(),r);e.offset(r,0);let{xmin:o,xmax:i}=e;o=Number(o.toFixed(9)),i=Number(i.toFixed(9)),e.intersects(T)&&i!==S?(O=i>O?i:O,n=_(n,b),I.push(n),L.push("cut")):e.intersects(N)&&o!==x?(O=i*(2*S)>O?i*(2*S):O,n=_(n,b,360),I.push(n),L.push("cut")):L.push(n)}else L.push(t.clone());else L.push(t);else L.push(t);let Z=(0,a.kd)(O,S),j=-90;const R=Z,J=new l.A;for(;Z>0;){const e=360*Z-180;J.addPath([[e,j],[e,-1*j]]),j*=-1,Z--}if(I.length>0&&R>0){const t=v(I,await async function(e,t,r,n){const o=(0,f.Dl)(e),i=t[0].spatialReference,s={...n,responseType:"json",query:{...o.query,f:"json",sr:(0,p.YX)(i),target:JSON.stringify({geometryType:(0,c.$B)(t[0]),geometries:t}),cutter:JSON.stringify(r)}},l=await(0,y.A)(o.path+"/cut",s),{cutIndexes:a,geometries:u=[]}=l.data;return{cutIndexes:a,geometries:u.map((e=>{const t=(0,c.rS)(e);return t.spatialReference=i,t}))}}(o,I,J,r)),n=[],i=[];for(let r=0;r<L.length;r++){const o=L[r];if("cut"!==o)i.push(o);else{const o=t.shift(),s=e[r];null!=s&&"polygon"===s.type&&s.rings&&s.rings.length>1&&o.rings.length>=s.rings.length?(n.push(o),i.push("simplify")):i.push(b?(0,u.Gh)(o):o)}}if(!n.length)return i;const s=await async function(e,t,r){const n="string"==typeof e?(0,h.An)(e):e,o=t[0].spatialReference,i=(0,c.$B)(t[0]),s={...r,query:{...n.query,f:"json",sr:(0,p.YX)(o),geometries:JSON.stringify((0,m.X)(t))}},{data:l}=await(0,y.A)(n.path+"/simplify",s);return(0,m.V)(l.geometries,i,o)}(o,n,r),l=[];for(let e=0;e<i.length;e++){const t=i[e];"simplify"!==t?l.push(t):l.push(b?(0,u.Gh)(s.shift()):s.shift())}return l}const C=[];for(let e=0;e<L.length;e++){const t=L[e];if("cut"!==t)C.push(t);else{const e=I.shift();C.push(!0===b?(0,u.Gh)(e):e)}}return C}function S(e,t,r){const n=(0,p.Vp)(r);if(null==n)return e;const[o,i]=n.valid,s=2*i;let l=0,a=0;t>i?l=Math.ceil(Math.abs(t-i)/s):t<o&&(l=-Math.ceil(Math.abs(t-o)/s)),e>i?a=Math.ceil(Math.abs(e-i)/s):e<o&&(a=-Math.ceil(Math.abs(e-o)/s));let u=e+(l-a)*s;const y=u-t;return y>i?u-=s:y<o&&(u+=s),u}},80754:(e,t,r)=>{r.d(t,{j7:()=>s,kS:()=>a,kd:()=>l,r8:()=>p});var n=r(82799),o=r(16930),i=r(65864);const s={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator}),minus180Line:new n.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n.A({paths:[[[180,-180],[180,180]]],spatialReference:o.A.WGS84}),minus180Line:new n.A({paths:[[[-180,-180],[-180,180]]],spatialReference:o.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function a(e,t){const r=p(e);for(const e of r)for(const r of e)r[0]+=t;return e}function p(e){return(0,i.Bi)(e)?e.rings:e.paths}},94194:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(90237),o=r(10107),i=(r(44208),r(53966),r(87811),r(40608)),s=r(5503),l=r(62885);let a=class extends s.A{constructor(e){super(e),this.addHandles([this.on("before-add",(e=>{null==e.item&&e.preventDefault()})),this.on("after-add",(e=>this._own(e.item))),this.on("after-remove",(e=>this._release(e.item)))])}get owner(){return this._get("owner")}set owner(e){e!==this._get("owner")&&(this._releaseAll(),this._set("owner",e),this._ownAll())}_ownAll(){for(const e of this.items)this._own(e)}_releaseAll(){for(const e of this.items)this._release(e)}_createNewInstance(e){return this.itemType?new(s.A.ofType(this.itemType.Type))(e):new s.A(e)}};(0,n._)([(0,o.MZ)()],a.prototype,"owner",null),a=(0,n._)([(0,i.$)("esri.core.support.OwningCollection")],a);var p=r(4146),u=r(63074),y=r(25036),c=r(52106),f=r(56507),h=(r(49186),r(7695));let m=class extends a{_own(e){e.layer&&"remove"in e.layer&&e.layer!==this.owner&&e.layer.remove(e),e.layer=this.owner}_release(e){e.layer===this.owner&&(e.layer=null)}};(0,n._)([(0,h.u)({Type:c.A,ensureType:(0,f.dp)(c.A)})],m.prototype,"itemType",void 0),m=(0,n._)([(0,i.$)("esri.support.GraphicsCollection")],m);var d=r(88625);let g=class extends((0,u.dM)((0,y.j)(p.A))){constructor(e){super(e),this.elevationInfo=null,this.graphics=new m,this.screenSizePerspectiveEnabled=!0,this.type="graphics",this.internal=!1}destroy(){this.removeAll(),this.graphics.destroy()}add(e){return this.graphics.add(e),this}addMany(e){return this.graphics.addMany(e),this}removeAll(){return this.graphics.removeAll(),this}remove(e){this.graphics.remove(e)}removeMany(e){this.graphics.removeMany(e)}on(e,t){return super.on(e,t)}graphicChanged(e){this.emit("graphic-update",e)}};var b,_;(0,n._)([(0,o.MZ)({type:d.A})],g.prototype,"elevationInfo",void 0),(0,n._)([(0,o.MZ)((b=m,_="graphics",{type:b,cast:l.H,set(e){const t=(0,l.V)(e,this._get(_),b);t.owner=this,this._set(_,t)}}))],g.prototype,"graphics",void 0),(0,n._)([(0,o.MZ)({type:["show","hide"]})],g.prototype,"listMode",void 0),(0,n._)([(0,o.MZ)()],g.prototype,"screenSizePerspectiveEnabled",void 0),(0,n._)([(0,o.MZ)({readOnly:!0})],g.prototype,"type",void 0),(0,n._)([(0,o.MZ)({constructOnly:!0})],g.prototype,"internal",void 0),g=(0,n._)([(0,i.$)("esri.layers.GraphicsLayer")],g);const w=g},96953:(e,t,r)=>{r.r(t),r.d(t,{default:()=>D});var n=r(90237),o=(r(59456),r(52106)),i=(r(61147),r(5503)),s=r(49186),l=r(4718),a=r(92071),p=r(93637),u=r(67076),y=r(10107),c=(r(44208),r(53966),r(36005)),f=r(40608),h=r(43937),m=r(57251),d=r(19419),g=r(17136),b=r(21325),_=r(13600),w=r(94194),v=r(4146),M=r(33032),S=r(63074),x=r(16131),A=r(8303),T=r(25036),N=r(20437),O=r(94985),I=r(31593),L=r(53930),Z=r(68249),j=r(16930),R=r(5443);function J(e){return"markup"===e.featureCollectionType||e.layers.some((e=>null!=e.layerDefinition.visibilityField||!C(e)))}function C({layerDefinition:e,featureSet:t}){const r=e.geometryType??t.geometryType;return F.find((t=>r===t.geometryTypeJSON&&e.drawingInfo?.renderer?.symbol?.type===t.identifyingSymbol.type))}function E(){return new R.A({xmin:-180,ymin:-90,xmax:180,ymax:90})}const z=new N.A({name:"OBJECTID",alias:"OBJECTID",type:"oid",nullable:!1,editable:!1}),G=new N.A({name:"title",alias:"Title",type:"string",nullable:!0,editable:!0,length:255});let P=class extends w.A{constructor(e){super(e),this.visibilityMode="inherited"}initialize(){for(const e of this.graphics)e.sourceLayer=this.layer;this.graphics.on("after-add",(e=>{e.item.sourceLayer=this.layer})),this.graphics.on("after-remove",(e=>{e.item.sourceLayer=null}))}get fullExtent(){const e=this.layer?.spatialReference,t=this.fullBounds;return e?null==t?(0,m.projectOrLoad)(E(),e).geometry:(0,d.w1)(t,e):null}get fullBounds(){const e=this.layer?.spatialReference;if(!e)return null;const t=(0,d.Ie)();return this.graphics.forEach((r=>{const n=null!=r.geometry?(0,m.projectOrLoad)(r.geometry,e).geometry:null;null!=n&&(0,d.fT)(t,"point"===n.type?n:n.extent,t)})),(0,d.aI)(t,d.qv)?null:t}get sublayers(){return this.graphics}};(0,n._)([(0,y.MZ)({readOnly:!0})],P.prototype,"fullExtent",null),(0,n._)([(0,y.MZ)({readOnly:!0})],P.prototype,"fullBounds",null),(0,n._)([(0,y.MZ)({readOnly:!0})],P.prototype,"sublayers",null),(0,n._)([(0,y.MZ)()],P.prototype,"layer",void 0),(0,n._)([(0,y.MZ)()],P.prototype,"layerId",void 0),(0,n._)([(0,y.MZ)({readOnly:!0})],P.prototype,"visibilityMode",void 0),P=(0,n._)([(0,f.$)("esri.layers.MapNotesLayer.MapNotesSublayer")],P);const F=[{geometryType:"polygon",geometryTypeJSON:"esriGeometryPolygon",id:"polygonLayer",layerId:0,title:"Polygons",identifyingSymbol:(new O.A).toJSON()},{geometryType:"polyline",geometryTypeJSON:"esriGeometryPolyline",id:"polylineLayer",layerId:1,title:"Polylines",identifyingSymbol:(new I.A).toJSON()},{geometryType:"multipoint",geometryTypeJSON:"esriGeometryMultipoint",id:"multipointLayer",layerId:2,title:"Multipoints",identifyingSymbol:(new L.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"pointLayer",layerId:3,title:"Points",identifyingSymbol:(new L.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"textLayer",layerId:4,title:"Text",identifyingSymbol:(new Z.A).toJSON()}];let $=class extends((0,S.dM)((0,T.j)((0,x.q)((0,A.A)((0,a.P)(v.A)))))){constructor(e){super(e),this.capabilities={operations:{supportsMapNotesEditing:!0}},this.featureCollections=null,this.featureCollectionJSON=null,this.featureCollectionType="notes",this.legendEnabled=!1,this.listMode="hide-children",this.minScale=0,this.maxScale=0,this.spatialReference=j.A.WGS84,this.sublayers=new i.A(F.map((e=>new P({id:e.id,layerId:e.layerId,title:e.title,layer:this})))),this.title="Map Notes",this.type="map-notes",this.visibilityMode="inherited"}readCapabilities(e,t,r){return{operations:{supportsMapNotesEditing:!J(t)&&"portal-item"!==r?.origin}}}readFeatureCollections(e,t,r){if(!J(t))return null;const n=t.layers.map((e=>{const t=new _.default;return t.read(e,r),t}));return new i.A({items:n})}readLegacyfeatureCollectionJSON(e,t){return J(t)?(0,l.o8)(t.featureCollection):null}get fullExtent(){const e=this.spatialReference,t=(0,d.Ie)();return null!=this.sublayers?this.sublayers.forEach((({fullBounds:e})=>null!=e?(0,d.fT)(t,e,t):t),t):this.featureCollectionJSON?.layers.some((e=>e.layerDefinition.extent))&&this.featureCollectionJSON.layers.forEach((r=>{const n=(0,m.projectOrLoad)(r.layerDefinition.extent,e).geometry;null!=n&&(0,d.fT)(t,n,t)})),(0,d.aI)(t,d.qv)?(0,m.projectOrLoad)(E(),e).geometry:(0,d.w1)(t,e)}readMinScale(e,t){for(const e of t.layers)if(null!=e.layerDefinition.minScale)return e.layerDefinition.minScale;return 0}readMaxScale(e,t){for(const e of t.layers)if(null!=e.layerDefinition.maxScale)return e.layerDefinition.maxScale;return 0}get multipointLayer(){return this._findSublayer("multipointLayer")}get pointLayer(){return this._findSublayer("pointLayer")}get polygonLayer(){return this._findSublayer("polygonLayer")}get polylineLayer(){return this._findSublayer("polylineLayer")}readSpatialReference(e,t){return t.layers.length?j.A.fromJSON(t.layers[0].layerDefinition.spatialReference):j.A.WGS84}readSublayers(e,t,r){if(J(t))return null;const n=[];let s=t.layers.reduce(((e,t)=>Math.max(e,t.layerDefinition.id??-1)),-1)+1;for(const e of t.layers){const{layerDefinition:t,featureSet:r}=e,i=t.id??s++,l=C(e);if(null!=l){const e=new P({id:l.id,title:t.name,layerId:i,layer:this,graphics:r.features.map((({geometry:e,symbol:t,attributes:r,popupInfo:n})=>o.A.fromJSON({attributes:r,geometry:e,symbol:t,popupTemplate:n})))});n.push(e)}}return new i.A(n)}writeSublayers(e,t,r,n){const{minScale:o,maxScale:i}=this;if(null==e)return;const l=e.some((e=>e.graphics.length>0));if(!this.capabilities.operations.supportsMapNotesEditing)return void(l&&n?.messages?.push(new s.A("map-notes-layer:editing-not-supported","New map notes cannot be added to this layer")));const a=[];let u=this.spatialReference.toJSON();e:for(const t of e)for(const e of t.graphics)if(null!=e.geometry){u=e.geometry.spatialReference.toJSON();break e}for(const t of F){const r=e.find((e=>t.id===e.id));this._writeMapNoteSublayer(a,r,t,o,i,u,n)}(0,p.sM)("featureCollection.layers",a,t)}get textLayer(){return this._findSublayer("textLayer")}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Feature Collection"]},e)),Promise.resolve(this)}read(e,t){"featureCollection"in e&&(e=(0,l.o8)(e),Object.assign(e,e.featureCollection)),super.read(e,t)}async beforeSave(){if(null==this.sublayers)return;let e=null;const t=[];for(const r of this.sublayers)for(const n of r.graphics)if(null!=n.geometry){const r=n.geometry;e?(0,b.aI)(r.spatialReference,e)||((0,m.canProjectWithoutEngine)(r.spatialReference,e)||(0,m.isLoaded)()||await(0,m.load)(),n.geometry=(0,m.project)(r,e)):e=r.spatialReference,t.push(n)}const r=await(0,g.el)(t.map((e=>e.geometry)));t.forEach(((e,t)=>e.geometry=r[t]))}_findSublayer(e){return null==this.sublayers?null:this.sublayers?.find((t=>t.id===e))??null}_writeMapNoteSublayer(e,t,r,n,o,i,s){const a=[];if(null!=t){for(const e of t.graphics)this._writeMapNote(a,e,r.geometryType,s);this._normalizeObjectIds(a,z),e.push({layerDefinition:{name:t.title,drawingInfo:{renderer:{type:"simple",symbol:(0,l.o8)(r.identifyingSymbol)}},id:t.layerId,geometryType:r.geometryTypeJSON,minScale:n,maxScale:o,objectIdField:"OBJECTID",fields:[z.toJSON(),G.toJSON()],spatialReference:i},featureSet:{features:a,geometryType:r.geometryTypeJSON}})}}_writeMapNote(e,t,r,n){if(null==t)return;const{geometry:o,symbol:i,popupTemplate:s}=t;if(null==o)return;if(o.type!==r)return void n?.messages?.push(new u.A("map-notes-layer:invalid-geometry-type",`Geometry "${o.type}" cannot be saved in "${r}" layer`,{graphic:t}));if(null==i)return void n?.messages?.push(new u.A("map-notes-layer:no-symbol","Skipping map notes with no symbol",{graphic:t}));const l={attributes:{...t.attributes},geometry:o.toJSON(),symbol:i.toJSON()};null!=s&&(l.popupInfo=s.toJSON()),e.push(l)}_normalizeObjectIds(e,t){const r=t.name;let n=(0,M.H)(r,e)+1;const o=new Set;for(const t of e){t.attributes||(t.attributes={});const{attributes:e}=t;(null==e[r]||o.has(e[r]))&&(e[r]=n++),o.add(e[r])}}};(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"capabilities",void 0),(0,n._)([(0,c.w)(["portal-item","web-map"],"capabilities",["layers"])],$.prototype,"readCapabilities",null),(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"featureCollections",void 0),(0,n._)([(0,c.w)(["web-map","portal-item"],"featureCollections",["layers"])],$.prototype,"readFeatureCollections",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{enabled:!0,target:"featureCollection"}}}}})],$.prototype,"featureCollectionJSON",void 0),(0,n._)([(0,c.w)(["web-map","portal-item"],"featureCollectionJSON",["featureCollection"])],$.prototype,"readLegacyfeatureCollectionJSON",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!0,write:{enabled:!0,ignoreOrigin:!0}}})],$.prototype,"featureCollectionType",void 0),(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"fullExtent",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{target:"featureCollection.showLegend",overridePolicy(){return{enabled:null!=this.featureCollectionJSON}}}}}}})],$.prototype,"legendEnabled",void 0),(0,n._)([(0,y.MZ)({type:["show","hide","hide-children"]})],$.prototype,"listMode",void 0),(0,n._)([(0,y.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],$.prototype,"minScale",void 0),(0,n._)([(0,c.w)(["web-map","portal-item"],"minScale",["layers"])],$.prototype,"readMinScale",null),(0,n._)([(0,y.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],$.prototype,"maxScale",void 0),(0,n._)([(0,c.w)(["web-map","portal-item"],"maxScale",["layers"])],$.prototype,"readMaxScale",null),(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"multipointLayer",null),(0,n._)([(0,y.MZ)({value:"ArcGISFeatureLayer",type:["ArcGISFeatureLayer"]})],$.prototype,"operationalLayerType",void 0),(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"pointLayer",null),(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"polygonLayer",null),(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"polylineLayer",null),(0,n._)([(0,y.MZ)({type:j.A})],$.prototype,"spatialReference",void 0),(0,n._)([(0,c.w)(["web-map","portal-item"],"spatialReference",["layers"])],$.prototype,"readSpatialReference",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{ignoreOrigin:!0}}}}})],$.prototype,"sublayers",void 0),(0,n._)([(0,c.w)("web-map","sublayers",["layers"])],$.prototype,"readSublayers",null),(0,n._)([(0,h.K)("web-map","sublayers")],$.prototype,"writeSublayers",null),(0,n._)([(0,y.MZ)({readOnly:!0})],$.prototype,"textLayer",null),(0,n._)([(0,y.MZ)()],$.prototype,"title",void 0),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],$.prototype,"type",void 0),$=(0,n._)([(0,f.$)("esri.layers.MapNotesLayer")],$);const D=$},33032:(e,t,r)=>{r.d(t,{H:()=>o,L:()=>n});const n=1;function o(e,t){let r=0;for(const n of t){const t=n.attributes?.[e];"number"==typeof t&&isFinite(t)&&(r=Math.max(r,t))}return r}},32756:(e,t,r)=>{r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>p});var n=r(90237),o=r(93637),i=r(10107),s=(r(44208),r(53966),r(87811),r(40608)),l=r(91880);function a(e,t,r){if(!e)return null;const n=e.find((e=>!!e.field));if(!n)return null;const o=new l.A;return o.read(n,r),[o]}const p={type:[l.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,n){const i=e.find((e=>!!e.field));i&&(0,o.sM)(r,[i.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,n._)([(0,i.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,n._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(90237),o=r(69540),i=r(25482),s=r(10107),l=(r(44208),r(53966),r(87811),r(36005)),a=r(40608),p=r(43937),u=r(80451),y=r(29005);let c=class extends(o.A.ClonableMixin(i.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.rS)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,n._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,n._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,n._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,n._)([(0,l.w)("domains")],c.prototype,"readDomains",null),(0,n._)([(0,p.K)("domains")],c.prototype,"writeDomains",null),(0,n._)([(0,s.MZ)({type:[y.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,n._)([(0,a.$)("esri.layers.support.FeatureType")],c);const f=c},91880:(e,t,r)=>{r.d(t,{A:()=>y});var n,o=r(90237),i=r(66552),s=r(25482),l=r(10107),a=(r(44208),r(53966),r(87811),r(40608));const p=new i.J({asc:"ascending",desc:"descending"});let u=n=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o._)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,o._)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,o._)([(0,l.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=n=(0,o._)([(0,a.$)("esri.layers.support.OrderByInfo")],u);const y=u},41560:(e,t,r)=>{r.d(t,{Ch:()=>s,mW:()=>i});var n=r(34727),o=r(39516);function i(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const n=l(e);if(n&&(t>n[0]||r<n[1]))return"";const i=a(e,t,r),s=Array.from(i,(e=>e.where||"1=1")).reduce(((e,t)=>(0,o.IW)(e,t)),"");return s&&"1=1"!==s?s:""}function l(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r=0,maxScale:n=0}of e.filters)t[0]=Math.max(t[0],r||Number.POSITIVE_INFINITY),t[1]=Math.min(t[1],n);return t}function*a(e,t,r){if("manual"===u(e)){const t=e.filters.find((t=>t.id===e.activeFilterId));t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)p(n.minScale??0,n.maxScale??0,t,r)&&(yield n)}}function p(e,t,r,o){return e=0===e?Number.POSITIVE_INFINITY:e,r=0===r?Number.POSITIVE_INFINITY:r,!((o??r)>e||t>r||(0,n.Sp)(r,t)||void 0!==o&&(0,n.Sp)(o,e))}function u(e){return"mode"in e?e.mode:e.filterMode}},32730:(e,t,r)=>{r.d(t,{BI:()=>d,D3:()=>h,XJ:()=>m,lc:()=>f,mX:()=>b,rU:()=>g,tH:()=>S});var n=r(799);const o="__begin__",i="__end__",s=new RegExp(o,"ig"),l=new RegExp(i,"ig"),a=new RegExp("^"+o,"i"),p=new RegExp(i+"$","i"),u='"',y=u+" + ",c=" + "+u;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function d(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return b(t.expression);case"arcade":return t.expression}return null}function g(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(_);return t?.[1].trim()||null}(t.expression);case"arcade":return S(t.expression)}return null}function b(e){let t;return e?(t=(0,n.HC)(e,(e=>o+'$feature["'+e+'"]'+i)),t=a.test(t)?t.replace(a,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(s,y).replaceAll(l,c)):t='""',t}const _=/^\s*\{([^}]+)\}\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,M=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function S(e){if(!e)return null;let t=w.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=M.exec(e),t?t[2]:null)}},92300:(e,t,r)=>{r.d(t,{V:()=>i,X:()=>o});var n=r(65864);function o(e){return{geometryType:(0,n.$B)(e[0]),geometries:e.map((e=>e.toJSON()))}}function i(e,t,r){const o=(0,n.xD)(t);return e.map((e=>{const t=o.fromJSON(e);return t.spatialReference=r,t}))}},58501:(e,t,r)=>{r.d(t,{q:()=>o});var n=r(62815);function o(e,t,r){if(!r?.features||!r.hasZ)return;const o=(0,n.N)(r.geometryType,t,e.outSpatialReference);if(null!=o)for(const e of r.features)o(e.geometry)}},22671:(e,t,r)=>{r.d(t,{A:()=>_});var n,o=r(90237),i=r(59456),s=r(52106),l=r(66552),a=r(25482),p=r(4718),u=r(10107),y=(r(44208),r(53966),r(36005)),c=r(40608),f=r(43937),h=r(16930),m=r(65864),d=r(20437);const g=new l.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=n=class extends a.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,m.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=h.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,p.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,o]}=e,i=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-n)/t)),(e=>Math.round((o-e)/r)));for(let e=0,t=i.length;e<t;e++)s?.(i[e].geometry)||(i.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,o],scale:[i,s]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,(e=>e*i+n),(e=>o-e*s),l,a);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=h.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const i=e[t],s=r.fromJSON(i),l=i.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=n);const a=i.aggregateGeometries,p=s.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],o=r?.spatialReference;null==t||o||(t.spatialReference=n)}o.push(s)}return o}_quantizePoints(e,t,r){let n,o;const i=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=r(l[1]);e===n&&s===o||(i.push([e-n,s-o]),n=e,o=s)}else n=t(l[0]),o=r(l[1]),i.push([n,o])}return i.length>0?i:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,m.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,i=n.length;e<i;e++){const i=n[e],s=this._quantizePoints(i,t,r);s&&o.push(s)}return o.length>0?((0,m.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const i=(0,m.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,n=i.length;e<n;e++){const n=i[e];for(let e=0,o=n.length;e<o;e++){const o=n[e];e>0?(s+=o[0],l+=o[1]):(s=o[0],l=o[1]),o[0]=t(s),o[1]=r(l)}}if(n&&o)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=o(r[3])}}else if(n)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const i=e.points;let s,l;for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(s+=n[0],l+=n[1]):(s=n[0],l=n[1]),n[0]=t(s),n[1]=r(l)}if(n&&o)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=n(t[2]),t[3]=o(t[3])}else if(n)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=n(t[2])}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,u.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,u.MZ)({type:[s.A],json:{write:!0}})],b.prototype,"features",void 0),(0,o._)([(0,y.w)("features")],b.prototype,"readFeatures",null),(0,o._)([(0,u.MZ)({type:[d.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,o._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],b.prototype,"geometryType",void 0),(0,o._)([(0,f.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,o._)([(0,u.MZ)({types:i.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,o._)([(0,y.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,o._)([(0,u.MZ)({type:h.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,o._)([(0,f.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,o._)([(0,u.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=n=(0,o._)([(0,c.$)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0;const _=b},41366:(e,t,r)=>{r.d(t,{K:()=>c,Q:()=>p});var n=r(90237),o=r(66552),i=r(53966),s=r(10107),l=(r(44208),r(87811),r(93223)),a=r(40608);const p=(0,o.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",y="field",c=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&y||r&&u||null,t&&r&&i.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==y&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n._)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,n._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,n._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,n._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,n._)([(0,l.e)(p,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,n._)([(0,a.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},2272:(e,t,r)=>{r.d(t,{Dl:()=>s,jV:()=>i,lF:()=>l}),r(92602),r(70333);var n=r(4718),o=r(84952);function i(e,t){return t?{...t,query:{...e??{},...t.query}}:{query:e}}function s(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function l(e,t,r){const n={};for(const o in e){if("declaredClass"===o)continue;const i=e[o];if(null!=i&&"function"!=typeof i)if(Array.isArray(i))n[o]=i.map((e=>l(e)));else if("object"==typeof i)if(i.toJSON){const e=i.toJSON(r?.[o]);n[o]=t?e:JSON.stringify(e)}else n[o]=t?i:JSON.stringify(i);else n[o]=i}return n}r(926)},92935:(e,t,r)=>{var n;r.d(t,{X:()=>n}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(n||(n={}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1053,2343],{11053:(r,e,t)=>{t.d(e,{c:()=>n,g:()=>o});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}},2343:(r,e,t)=>{t.r(e),t.d(e,{l:()=>s});var n,o=t(11053),a={exports:{}};const i=(0,o.g)(function(){return n||(n=1,r=a,e="undefined"!=typeof document?document.currentScript?.src:void 0,t=function(r={}){var t,n,a,i=r,s=new Promise(((r,e)=>{t=r,n=e})),l=Object.assign({},i),u="./this.program",d="";"undefined"!=typeof document&&document.currentScript&&(d=document.currentScript.src),e&&(d=e),d=d.startsWith("blob:")?"":d.substr(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1),a=r=>fetch(r,{credentials:"same-origin"}).then((r=>r.ok?r.arrayBuffer():Promise.reject(new Error(r.status+" : "+r.url))));var c=i.print||console.log.bind(console),f=i.printErr||console.error.bind(console);Object.assign(i,l),l=null,i.arguments&&i.arguments,i.thisProgram&&(u=i.thisProgram);var h,m,p,v,w,y,g,E,_,b=i.wasmBinary,k=!1;function F(){var r=h.buffer;i.HEAP8=m=new Int8Array(r),i.HEAP16=v=new Int16Array(r),i.HEAPU8=p=new Uint8Array(r),i.HEAPU16=w=new Uint16Array(r),i.HEAP32=y=new Int32Array(r),i.HEAPU32=g=new Uint32Array(r),i.HEAPF32=E=new Float32Array(r),i.HEAPF64=_=new Float64Array(r)}var P=[],A=[],S=[],D=0,$=null;function C(r){D++,i.monitorRunDependencies?.(D)}function T(r){if(D--,i.monitorRunDependencies?.(D),0==D&&$){var e=$;$=null,e()}}function j(r){i.onAbort?.(r),f(r="Aborted("+r+")"),k=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw n(e),e}var M,x,R,N=r=>r.startsWith("data:application/octet-stream;base64,");function z(r){if(r==M&&b)return new Uint8Array(b);throw"both async and sync fetching of the wasm failed"}function O(r,e,t){return function(r){return b?Promise.resolve().then((()=>z(r))):a(r).then((r=>new Uint8Array(r)),(()=>z(r)))}(r).then((r=>WebAssembly.instantiate(r,e))).then(t,(r=>{f(`failed to asynchronously prepare wasm: ${r}`),j(r)}))}class W{name="ExitStatus";constructor(r){this.message=`Program terminated with exit(${r})`,this.status=r}}var U=r=>{for(;r.length>0;)r.shift()(i)},B=i.noExitRuntime||!0,L=r=>ke(r),I=()=>Fe();class H{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){g[this.ptr+4>>2]=r}get_type(){return g[this.ptr+4>>2]}set_destructor(r){g[this.ptr+8>>2]=r}get_destructor(){return g[this.ptr+8>>2]}set_caught(r){r=r?1:0,m[this.ptr+12]=r}get_caught(){return 0!=m[this.ptr+12]}set_rethrown(r){r=r?1:0,m[this.ptr+13]=r}get_rethrown(){return 0!=m[this.ptr+13]}init(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)}set_adjusted_ptr(r){g[this.ptr+16>>2]=r}get_adjusted_ptr(){return g[this.ptr+16>>2]}}var V=()=>{var r=y[+fr.varargs>>2];return fr.varargs+=4,r},q=V,X={isAbs:r=>"/"===r.charAt(0),splitPath:r=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(r).slice(1),normalizeArray:(r,e)=>{for(var t=0,n=r.length-1;n>=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t;t--)r.unshift("..");return r},normalize:r=>{var e=X.isAbs(r),t="/"===r.substr(-1);return(r=X.normalizeArray(r.split("/").filter((r=>!!r)),!e).join("/"))||e||(r="."),r&&t&&(r+="/"),(e?"/":"")+r},dirname:r=>{var e=X.splitPath(r),t=e[0],n=e[1];return t||n?(n&&(n=n.substr(0,n.length-1)),t+n):"."},basename:r=>{if("/"===r)return"/";var e=(r=(r=X.normalize(r)).replace(/\/$/,"")).lastIndexOf("/");return-1===e?r:r.substr(e+1)},join:(...r)=>X.normalize(r.join("/")),join2:(r,e)=>X.normalize(r+"/"+e)},G=r=>(G=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return r=>crypto.getRandomValues(r);j("initRandomDevice")})())(r),K={resolve:(...r)=>{for(var e="",t=!1,n=r.length-1;n>=-1&&!t;n--){var o=n>=0?r[n]:dr.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");if(!o)return"";e=o+"/"+e,t=X.isAbs(o)}return(t?"/":"")+(e=X.normalizeArray(e.split("/").filter((r=>!!r)),!t).join("/"))||"."},relative:(r,e)=>{function t(r){for(var e=0;e<r.length&&""===r[e];e++);for(var t=r.length-1;t>=0&&""===r[t];t--);return e>t?[]:r.slice(e,t-e+1)}r=K.resolve(r).substr(1),e=K.resolve(e).substr(1);for(var n=t(r.split("/")),o=t(e.split("/")),a=Math.min(n.length,o.length),i=a,s=0;s<a;s++)if(n[s]!==o[s]){i=s;break}var l=[];for(s=i;s<n.length;s++)l.push("..");return(l=l.concat(o.slice(i))).join("/")}},Y="undefined"!=typeof TextDecoder?new TextDecoder:void 0,J=(r,e=0,t=NaN)=>{for(var n=e+t,o=e;r[o]&&!(o>=n);)++o;if(o-e>16&&r.buffer&&Y)return Y.decode(r.subarray(e,o));for(var a="";e<o;){var i=r[e++];if(128&i){var s=63&r[e++];if(192!=(224&i)){var l=63&r[e++];if((i=224==(240&i)?(15&i)<<12|s<<6|l:(7&i)<<18|s<<12|l<<6|63&r[e++])<65536)a+=String.fromCharCode(i);else{var u=i-65536;a+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a},Q=[],Z=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e},rr=(r,e,t,n)=>{if(!(n>0))return 0;for(var o=t,a=t+n-1,i=0;i<r.length;++i){var s=r.charCodeAt(i);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&r.charCodeAt(++i)),s<=127){if(t>=a)break;e[t++]=s}else if(s<=2047){if(t+1>=a)break;e[t++]=192|s>>6,e[t++]=128|63&s}else if(s<=65535){if(t+2>=a)break;e[t++]=224|s>>12,e[t++]=128|s>>6&63,e[t++]=128|63&s}else{if(t+3>=a)break;e[t++]=240|s>>18,e[t++]=128|s>>12&63,e[t++]=128|s>>6&63,e[t++]=128|63&s}}return e[t]=0,t-o},er={ttys:[],init(){},shutdown(){},register(r,e){er.ttys[r]={input:[],output:[],ops:e},dr.registerDevice(r,er.stream_ops)},stream_ops:{open(r){var e=er.ttys[r.node.rdev];if(!e)throw new dr.ErrnoError(43);r.tty=e,r.seekable=!1},close(r){r.tty.ops.fsync(r.tty)},fsync(r){r.tty.ops.fsync(r.tty)},read(r,e,t,n,o){if(!r.tty||!r.tty.ops.get_char)throw new dr.ErrnoError(60);for(var a=0,i=0;i<n;i++){var s;try{s=r.tty.ops.get_char(r.tty)}catch(r){throw new dr.ErrnoError(29)}if(void 0===s&&0===a)throw new dr.ErrnoError(6);if(null==s)break;a++,e[t+i]=s}return a&&(r.node.timestamp=Date.now()),a},write(r,e,t,n,o){if(!r.tty||!r.tty.ops.put_char)throw new dr.ErrnoError(60);try{for(var a=0;a<n;a++)r.tty.ops.put_char(r.tty,e[t+a])}catch(r){throw new dr.ErrnoError(29)}return n&&(r.node.timestamp=Date.now()),a}},default_tty_ops:{get_char:r=>(()=>{if(!Q.length){var r=null;if("undefined"!=typeof window&&"function"==typeof window.prompt&&null!==(r=window.prompt("Input: "))&&(r+="\n"),!r)return null;Q=function(r){var e=Z(r)+1,t=new Array(e),n=rr(r,t,0,t.length);return t.length=n,t}(r)}return Q.shift()})(),put_char(r,e){null===e||10===e?(c(J(r.output)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output&&r.output.length>0&&(c(J(r.output)),r.output=[])},ioctl_tcgets:r=>({c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),ioctl_tcsets:(r,e,t)=>0,ioctl_tiocgwinsz:r=>[24,80]},default_tty1_ops:{put_char(r,e){null===e||10===e?(f(J(r.output)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output&&r.output.length>0&&(f(J(r.output)),r.output=[])}}},tr=(r,e)=>Math.ceil(r/e)*e,nr=r=>{j()},or={ops_table:null,mount:r=>or.createNode(null,"/",16895,0),createNode(r,e,t,n){if(dr.isBlkdev(t)||dr.isFIFO(t))throw new dr.ErrnoError(63);or.ops_table||={dir:{node:{getattr:or.node_ops.getattr,setattr:or.node_ops.setattr,lookup:or.node_ops.lookup,mknod:or.node_ops.mknod,rename:or.node_ops.rename,unlink:or.node_ops.unlink,rmdir:or.node_ops.rmdir,readdir:or.node_ops.readdir,symlink:or.node_ops.symlink},stream:{llseek:or.stream_ops.llseek}},file:{node:{getattr:or.node_ops.getattr,setattr:or.node_ops.setattr},stream:{llseek:or.stream_ops.llseek,read:or.stream_ops.read,write:or.stream_ops.write,allocate:or.stream_ops.allocate,mmap:or.stream_ops.mmap,msync:or.stream_ops.msync}},link:{node:{getattr:or.node_ops.getattr,setattr:or.node_ops.setattr,readlink:or.node_ops.readlink},stream:{}},chrdev:{node:{getattr:or.node_ops.getattr,setattr:or.node_ops.setattr},stream:dr.chrdev_stream_ops}};var o=dr.createNode(r,e,t,n);return dr.isDir(o.mode)?(o.node_ops=or.ops_table.dir.node,o.stream_ops=or.ops_table.dir.stream,o.contents={}):dr.isFile(o.mode)?(o.node_ops=or.ops_table.file.node,o.stream_ops=or.ops_table.file.stream,o.usedBytes=0,o.contents=null):dr.isLink(o.mode)?(o.node_ops=or.ops_table.link.node,o.stream_ops=or.ops_table.link.stream):dr.isChrdev(o.mode)&&(o.node_ops=or.ops_table.chrdev.node,o.stream_ops=or.ops_table.chrdev.stream),o.timestamp=Date.now(),r&&(r.contents[e]=o,r.timestamp=o.timestamp),o},getFileDataAsTypedArray:r=>r.contents?r.contents.subarray?r.contents.subarray(0,r.usedBytes):new Uint8Array(r.contents):new Uint8Array(0),expandFileStorage(r,e){var t=r.contents?r.contents.length:0;if(!(t>=e)){e=Math.max(e,t*(t<1048576?2:1.125)>>>0),0!=t&&(e=Math.max(e,256));var n=r.contents;r.contents=new Uint8Array(e),r.usedBytes>0&&r.contents.set(n.subarray(0,r.usedBytes),0)}},resizeFileStorage(r,e){if(r.usedBytes!=e)if(0==e)r.contents=null,r.usedBytes=0;else{var t=r.contents;r.contents=new Uint8Array(e),t&&r.contents.set(t.subarray(0,Math.min(e,r.usedBytes))),r.usedBytes=e}},node_ops:{getattr(r){var e={};return e.dev=dr.isChrdev(r.mode)?r.id:1,e.ino=r.id,e.mode=r.mode,e.nlink=1,e.uid=0,e.gid=0,e.rdev=r.rdev,dr.isDir(r.mode)?e.size=4096:dr.isFile(r.mode)?e.size=r.usedBytes:dr.isLink(r.mode)?e.size=r.link.length:e.size=0,e.atime=new Date(r.timestamp),e.mtime=new Date(r.timestamp),e.ctime=new Date(r.timestamp),e.blksize=4096,e.blocks=Math.ceil(e.size/e.blksize),e},setattr(r,e){void 0!==e.mode&&(r.mode=e.mode),void 0!==e.timestamp&&(r.timestamp=e.timestamp),void 0!==e.size&&or.resizeFileStorage(r,e.size)},lookup(r,e){throw or.doesNotExistError},mknod:(r,e,t,n)=>or.createNode(r,e,t,n),rename(r,e,t){if(dr.isDir(r.mode)){var n;try{n=dr.lookupNode(e,t)}catch(r){}if(n)for(var o in n.contents)throw new dr.ErrnoError(55)}delete r.parent.contents[r.name],r.parent.timestamp=Date.now(),r.name=t,e.contents[t]=r,e.timestamp=r.parent.timestamp},unlink(r,e){delete r.contents[e],r.timestamp=Date.now()},rmdir(r,e){var t=dr.lookupNode(r,e);for(var n in t.contents)throw new dr.ErrnoError(55);delete r.contents[e],r.timestamp=Date.now()},readdir(r){var e=[".",".."];for(var t of Object.keys(r.contents))e.push(t);return e},symlink(r,e,t){var n=or.createNode(r,e,41471,0);return n.link=t,n},readlink(r){if(!dr.isLink(r.mode))throw new dr.ErrnoError(28);return r.link}},stream_ops:{read(r,e,t,n,o){var a=r.node.contents;if(o>=r.node.usedBytes)return 0;var i=Math.min(r.node.usedBytes-o,n);if(i>8&&a.subarray)e.set(a.subarray(o,o+i),t);else for(var s=0;s<i;s++)e[t+s]=a[o+s];return i},write(r,e,t,n,o,a){if(e.buffer===m.buffer&&(a=!1),!n)return 0;var i=r.node;if(i.timestamp=Date.now(),e.subarray&&(!i.contents||i.contents.subarray)){if(a)return i.contents=e.subarray(t,t+n),i.usedBytes=n,n;if(0===i.usedBytes&&0===o)return i.contents=e.slice(t,t+n),i.usedBytes=n,n;if(o+n<=i.usedBytes)return i.contents.set(e.subarray(t,t+n),o),n}if(or.expandFileStorage(i,o+n),i.contents.subarray&&e.subarray)i.contents.set(e.subarray(t,t+n),o);else for(var s=0;s<n;s++)i.contents[o+s]=e[t+s];return i.usedBytes=Math.max(i.usedBytes,o+n),n},llseek(r,e,t){var n=e;if(1===t?n+=r.position:2===t&&dr.isFile(r.node.mode)&&(n+=r.node.usedBytes),n<0)throw new dr.ErrnoError(28);return n},allocate(r,e,t){or.expandFileStorage(r.node,e+t),r.node.usedBytes=Math.max(r.node.usedBytes,e+t)},mmap(r,e,t,n,o){if(!dr.isFile(r.node.mode))throw new dr.ErrnoError(43);var a,i,s=r.node.contents;if(2&o||!s||s.buffer!==m.buffer){if(i=!0,!(a=nr()))throw new dr.ErrnoError(48);s&&((t>0||t+e<s.length)&&(s=s.subarray?s.subarray(t,t+e):Array.prototype.slice.call(s,t,t+e)),m.set(s,a))}else i=!1,a=s.byteOffset;return{ptr:a,allocated:i}},msync:(r,e,t,n,o)=>(or.stream_ops.write(r,e,0,n,t,!1),0)}},ar=(r,e,t,n)=>{var o=`al ${r}`;a(r).then((r=>{e(new Uint8Array(r)),o&&T()}),(e=>{if(!t)throw`Loading data file "${r}" failed.`;t()})),o&&C()},ir=(r,e,t,n,o,a)=>{dr.createDataFile(r,e,t,n,o,a)},sr=i.preloadPlugins||[],lr=(r,e,t,n,o,a,i,s,l,u)=>{var d=e?K.resolve(X.join2(r,e)):r;function c(t){function c(t){u?.(),s||ir(r,e,t,n,o,l),a?.(),T()}((r,e,t,n)=>{"undefined"!=typeof Browser&&Browser.init();var o=!1;return sr.forEach((a=>{o||a.canHandle(e)&&(a.handle(r,e,t,n),o=!0)})),o})(t,d,c,(()=>{i?.(),T()}))||c(t)}C(),"string"==typeof t?ar(t,c,i):c(t)},ur=(r,e)=>{var t=0;return r&&(t|=365),e&&(t|=146),t},dr={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:class{name="ErrnoError";constructor(r){this.errno=r}},filesystems:null,syncFSRequests:0,readFiles:{},FSStream:class{shared={};get object(){return this.node}set object(r){this.node=r}get isRead(){return 1!=(2097155&this.flags)}get isWrite(){return!!(2097155&this.flags)}get isAppend(){return 1024&this.flags}get flags(){return this.shared.flags}set flags(r){this.shared.flags=r}get position(){return this.shared.position}set position(r){this.shared.position=r}},FSNode:class{node_ops={};stream_ops={};readMode=365;writeMode=146;mounted=null;constructor(r,e,t,n){r||(r=this),this.parent=r,this.mount=r.mount,this.id=dr.nextInode++,this.name=e,this.mode=t,this.rdev=n}get read(){return(this.mode&this.readMode)===this.readMode}set read(r){r?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(r){r?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return dr.isDir(this.mode)}get isDevice(){return dr.isChrdev(this.mode)}},lookupPath(r,e={}){if(!(r=K.resolve(r)))return{path:"",node:null};if((e=Object.assign({follow_mount:!0,recurse_count:0},e)).recurse_count>8)throw new dr.ErrnoError(32);for(var t=r.split("/").filter((r=>!!r)),n=dr.root,o="/",a=0;a<t.length;a++){var i=a===t.length-1;if(i&&e.parent)break;if(n=dr.lookupNode(n,t[a]),o=X.join2(o,t[a]),dr.isMountpoint(n)&&(!i||i&&e.follow_mount)&&(n=n.mounted.root),!i||e.follow)for(var s=0;dr.isLink(n.mode);){var l=dr.readlink(o);if(o=K.resolve(X.dirname(o),l),n=dr.lookupPath(o,{recurse_count:e.recurse_count+1}).node,s++>40)throw new dr.ErrnoError(32)}}return{path:o,node:n}},getPath(r){for(var e;;){if(dr.isRoot(r)){var t=r.mount.mountpoint;return e?"/"!==t[t.length-1]?`${t}/${e}`:t+e:t}e=e?`${r.name}/${e}`:r.name,r=r.parent}},hashName(r,e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return(r+t>>>0)%dr.nameTable.length},hashAddNode(r){var e=dr.hashName(r.parent.id,r.name);r.name_next=dr.nameTable[e],dr.nameTable[e]=r},hashRemoveNode(r){var e=dr.hashName(r.parent.id,r.name);if(dr.nameTable[e]===r)dr.nameTable[e]=r.name_next;else for(var t=dr.nameTable[e];t;){if(t.name_next===r){t.name_next=r.name_next;break}t=t.name_next}},lookupNode(r,e){var t=dr.mayLookup(r);if(t)throw new dr.ErrnoError(t);for(var n=dr.hashName(r.id,e),o=dr.nameTable[n];o;o=o.name_next){var a=o.name;if(o.parent.id===r.id&&a===e)return o}return dr.lookup(r,e)},createNode(r,e,t,n){var o=new dr.FSNode(r,e,t,n);return dr.hashAddNode(o),o},destroyNode(r){dr.hashRemoveNode(r)},isRoot:r=>r===r.parent,isMountpoint:r=>!!r.mounted,isFile:r=>32768==(61440&r),isDir:r=>16384==(61440&r),isLink:r=>40960==(61440&r),isChrdev:r=>8192==(61440&r),isBlkdev:r=>24576==(61440&r),isFIFO:r=>4096==(61440&r),isSocket:r=>!(49152&~r),flagsToPermissionString(r){var e=["r","w","rw"][3&r];return 512&r&&(e+="w"),e},nodePermissions:(r,e)=>dr.ignorePermissions||(!e.includes("r")||292&r.mode)&&(!e.includes("w")||146&r.mode)&&(!e.includes("x")||73&r.mode)?0:2,mayLookup:r=>dr.isDir(r.mode)?dr.nodePermissions(r,"x")||(r.node_ops.lookup?0:2):54,mayCreate(r,e){try{return dr.lookupNode(r,e),20}catch(r){}return dr.nodePermissions(r,"wx")},mayDelete(r,e,t){var n;try{n=dr.lookupNode(r,e)}catch(r){return r.errno}var o=dr.nodePermissions(r,"wx");if(o)return o;if(t){if(!dr.isDir(n.mode))return 54;if(dr.isRoot(n)||dr.getPath(n)===dr.cwd())return 10}else if(dr.isDir(n.mode))return 31;return 0},mayOpen:(r,e)=>r?dr.isLink(r.mode)?32:dr.isDir(r.mode)&&("r"!==dr.flagsToPermissionString(e)||512&e)?31:dr.nodePermissions(r,dr.flagsToPermissionString(e)):44,MAX_OPEN_FDS:4096,nextfd(){for(var r=0;r<=dr.MAX_OPEN_FDS;r++)if(!dr.streams[r])return r;throw new dr.ErrnoError(33)},getStreamChecked(r){var e=dr.getStream(r);if(!e)throw new dr.ErrnoError(8);return e},getStream:r=>dr.streams[r],createStream:(r,e=-1)=>(r=Object.assign(new dr.FSStream,r),-1==e&&(e=dr.nextfd()),r.fd=e,dr.streams[e]=r,r),closeStream(r){dr.streams[r]=null},dupStream(r,e=-1){var t=dr.createStream(r,e);return t.stream_ops?.dup?.(t),t},chrdev_stream_ops:{open(r){var e=dr.getDevice(r.node.rdev);r.stream_ops=e.stream_ops,r.stream_ops.open?.(r)},llseek(){throw new dr.ErrnoError(70)}},major:r=>r>>8,minor:r=>255&r,makedev:(r,e)=>r<<8|e,registerDevice(r,e){dr.devices[r]={stream_ops:e}},getDevice:r=>dr.devices[r],getMounts(r){for(var e=[],t=[r];t.length;){var n=t.pop();e.push(n),t.push(...n.mounts)}return e},syncfs(r,e){"function"==typeof r&&(e=r,r=!1),dr.syncFSRequests++,dr.syncFSRequests>1&&f(`warning: ${dr.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var t=dr.getMounts(dr.root.mount),n=0;function o(r){return dr.syncFSRequests--,e(r)}function a(r){if(r)return a.errored?void 0:(a.errored=!0,o(r));++n>=t.length&&o(null)}t.forEach((e=>{if(!e.type.syncfs)return a(null);e.type.syncfs(e,r,a)}))},mount(r,e,t){var n,o="/"===t,a=!t;if(o&&dr.root)throw new dr.ErrnoError(10);if(!o&&!a){var i=dr.lookupPath(t,{follow_mount:!1});if(t=i.path,n=i.node,dr.isMountpoint(n))throw new dr.ErrnoError(10);if(!dr.isDir(n.mode))throw new dr.ErrnoError(54)}var s={type:r,opts:e,mountpoint:t,mounts:[]},l=r.mount(s);return l.mount=s,s.root=l,o?dr.root=l:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),l},unmount(r){var e=dr.lookupPath(r,{follow_mount:!1});if(!dr.isMountpoint(e.node))throw new dr.ErrnoError(28);var t=e.node,n=t.mounted,o=dr.getMounts(n);Object.keys(dr.nameTable).forEach((r=>{for(var e=dr.nameTable[r];e;){var t=e.name_next;o.includes(e.mount)&&dr.destroyNode(e),e=t}})),t.mounted=null;var a=t.mount.mounts.indexOf(n);t.mount.mounts.splice(a,1)},lookup:(r,e)=>r.node_ops.lookup(r,e),mknod(r,e,t){var n=dr.lookupPath(r,{parent:!0}).node,o=X.basename(r);if(!o||"."===o||".."===o)throw new dr.ErrnoError(28);var a=dr.mayCreate(n,o);if(a)throw new dr.ErrnoError(a);if(!n.node_ops.mknod)throw new dr.ErrnoError(63);return n.node_ops.mknod(n,o,e,t)},statfs(r){var e={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:dr.nextInode,ffree:dr.nextInode-1,fsid:42,flags:2,namelen:255},t=dr.lookupPath(r,{follow:!0}).node;return t?.node_ops.statfs&&Object.assign(e,t.node_ops.statfs(t.mount.opts.root)),e},create:(r,e=438)=>(e&=4095,e|=32768,dr.mknod(r,e,0)),mkdir:(r,e=511)=>(e&=1023,e|=16384,dr.mknod(r,e,0)),mkdirTree(r,e){for(var t=r.split("/"),n="",o=0;o<t.length;++o)if(t[o]){n+="/"+t[o];try{dr.mkdir(n,e)}catch(r){if(20!=r.errno)throw r}}},mkdev:(r,e,t)=>(void 0===t&&(t=e,e=438),e|=8192,dr.mknod(r,e,t)),symlink(r,e){if(!K.resolve(r))throw new dr.ErrnoError(44);var t=dr.lookupPath(e,{parent:!0}).node;if(!t)throw new dr.ErrnoError(44);var n=X.basename(e),o=dr.mayCreate(t,n);if(o)throw new dr.ErrnoError(o);if(!t.node_ops.symlink)throw new dr.ErrnoError(63);return t.node_ops.symlink(t,n,r)},rename(r,e){var t,n,o=X.dirname(r),a=X.dirname(e),i=X.basename(r),s=X.basename(e);if(t=dr.lookupPath(r,{parent:!0}).node,n=dr.lookupPath(e,{parent:!0}).node,!t||!n)throw new dr.ErrnoError(44);if(t.mount!==n.mount)throw new dr.ErrnoError(75);var l,u=dr.lookupNode(t,i),d=K.relative(r,a);if("."!==d.charAt(0))throw new dr.ErrnoError(28);if("."!==(d=K.relative(e,o)).charAt(0))throw new dr.ErrnoError(55);try{l=dr.lookupNode(n,s)}catch(r){}if(u!==l){var c=dr.isDir(u.mode),f=dr.mayDelete(t,i,c);if(f)throw new dr.ErrnoError(f);if(f=l?dr.mayDelete(n,s,c):dr.mayCreate(n,s))throw new dr.ErrnoError(f);if(!t.node_ops.rename)throw new dr.ErrnoError(63);if(dr.isMountpoint(u)||l&&dr.isMountpoint(l))throw new dr.ErrnoError(10);if(n!==t&&(f=dr.nodePermissions(t,"w")))throw new dr.ErrnoError(f);dr.hashRemoveNode(u);try{t.node_ops.rename(u,n,s),u.parent=n}catch(r){throw r}finally{dr.hashAddNode(u)}}},rmdir(r){var e=dr.lookupPath(r,{parent:!0}).node,t=X.basename(r),n=dr.lookupNode(e,t),o=dr.mayDelete(e,t,!0);if(o)throw new dr.ErrnoError(o);if(!e.node_ops.rmdir)throw new dr.ErrnoError(63);if(dr.isMountpoint(n))throw new dr.ErrnoError(10);e.node_ops.rmdir(e,t),dr.destroyNode(n)},readdir(r){var e=dr.lookupPath(r,{follow:!0}).node;if(!e.node_ops.readdir)throw new dr.ErrnoError(54);return e.node_ops.readdir(e)},unlink(r){var e=dr.lookupPath(r,{parent:!0}).node;if(!e)throw new dr.ErrnoError(44);var t=X.basename(r),n=dr.lookupNode(e,t),o=dr.mayDelete(e,t,!1);if(o)throw new dr.ErrnoError(o);if(!e.node_ops.unlink)throw new dr.ErrnoError(63);if(dr.isMountpoint(n))throw new dr.ErrnoError(10);e.node_ops.unlink(e,t),dr.destroyNode(n)},readlink(r){var e=dr.lookupPath(r).node;if(!e)throw new dr.ErrnoError(44);if(!e.node_ops.readlink)throw new dr.ErrnoError(28);return e.node_ops.readlink(e)},stat(r,e){var t=dr.lookupPath(r,{follow:!e}).node;if(!t)throw new dr.ErrnoError(44);if(!t.node_ops.getattr)throw new dr.ErrnoError(63);return t.node_ops.getattr(t)},lstat:r=>dr.stat(r,!0),chmod(r,e,t){var n;if(!(n="string"==typeof r?dr.lookupPath(r,{follow:!t}).node:r).node_ops.setattr)throw new dr.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&e|-4096&n.mode,timestamp:Date.now()})},lchmod(r,e){dr.chmod(r,e,!0)},fchmod(r,e){var t=dr.getStreamChecked(r);dr.chmod(t.node,e)},chown(r,e,t,n){var o;if(!(o="string"==typeof r?dr.lookupPath(r,{follow:!n}).node:r).node_ops.setattr)throw new dr.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown(r,e,t){dr.chown(r,e,t,!0)},fchown(r,e,t){var n=dr.getStreamChecked(r);dr.chown(n.node,e,t)},truncate(r,e){if(e<0)throw new dr.ErrnoError(28);var t;if(!(t="string"==typeof r?dr.lookupPath(r,{follow:!0}).node:r).node_ops.setattr)throw new dr.ErrnoError(63);if(dr.isDir(t.mode))throw new dr.ErrnoError(31);if(!dr.isFile(t.mode))throw new dr.ErrnoError(28);var n=dr.nodePermissions(t,"w");if(n)throw new dr.ErrnoError(n);t.node_ops.setattr(t,{size:e,timestamp:Date.now()})},ftruncate(r,e){var t=dr.getStreamChecked(r);if(!(2097155&t.flags))throw new dr.ErrnoError(28);dr.truncate(t.node,e)},utime(r,e,t){var n=dr.lookupPath(r,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(e,t)})},open(r,e,t=438){if(""===r)throw new dr.ErrnoError(44);var n;if(t=64&(e="string"==typeof e?(r=>{var e={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===e)throw new Error(`Unknown file open mode: ${r}`);return e})(e):e)?4095&t|32768:0,"object"==typeof r)n=r;else{r=X.normalize(r);try{n=dr.lookupPath(r,{follow:!(131072&e)}).node}catch(r){}}var o=!1;if(64&e)if(n){if(128&e)throw new dr.ErrnoError(20)}else n=dr.mknod(r,t,0),o=!0;if(!n)throw new dr.ErrnoError(44);if(dr.isChrdev(n.mode)&&(e&=-513),65536&e&&!dr.isDir(n.mode))throw new dr.ErrnoError(54);if(!o){var a=dr.mayOpen(n,e);if(a)throw new dr.ErrnoError(a)}512&e&&!o&&dr.truncate(n,0),e&=-131713;var s=dr.createStream({node:n,path:dr.getPath(n),flags:e,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return s.stream_ops.open&&s.stream_ops.open(s),!i.logReadFiles||1&e||r in dr.readFiles||(dr.readFiles[r]=1),s},close(r){if(dr.isClosed(r))throw new dr.ErrnoError(8);r.getdents&&(r.getdents=null);try{r.stream_ops.close&&r.stream_ops.close(r)}catch(r){throw r}finally{dr.closeStream(r.fd)}r.fd=null},isClosed:r=>null===r.fd,llseek(r,e,t){if(dr.isClosed(r))throw new dr.ErrnoError(8);if(!r.seekable||!r.stream_ops.llseek)throw new dr.ErrnoError(70);if(0!=t&&1!=t&&2!=t)throw new dr.ErrnoError(28);return r.position=r.stream_ops.llseek(r,e,t),r.ungotten=[],r.position},read(r,e,t,n,o){if(n<0||o<0)throw new dr.ErrnoError(28);if(dr.isClosed(r))throw new dr.ErrnoError(8);if(1==(2097155&r.flags))throw new dr.ErrnoError(8);if(dr.isDir(r.node.mode))throw new dr.ErrnoError(31);if(!r.stream_ops.read)throw new dr.ErrnoError(28);var a=void 0!==o;if(a){if(!r.seekable)throw new dr.ErrnoError(70)}else o=r.position;var i=r.stream_ops.read(r,e,t,n,o);return a||(r.position+=i),i},write(r,e,t,n,o,a){if(n<0||o<0)throw new dr.ErrnoError(28);if(dr.isClosed(r))throw new dr.ErrnoError(8);if(!(2097155&r.flags))throw new dr.ErrnoError(8);if(dr.isDir(r.node.mode))throw new dr.ErrnoError(31);if(!r.stream_ops.write)throw new dr.ErrnoError(28);r.seekable&&1024&r.flags&&dr.llseek(r,0,2);var i=void 0!==o;if(i){if(!r.seekable)throw new dr.ErrnoError(70)}else o=r.position;var s=r.stream_ops.write(r,e,t,n,o,a);return i||(r.position+=s),s},allocate(r,e,t){if(dr.isClosed(r))throw new dr.ErrnoError(8);if(e<0||t<=0)throw new dr.ErrnoError(28);if(!(2097155&r.flags))throw new dr.ErrnoError(8);if(!dr.isFile(r.node.mode)&&!dr.isDir(r.node.mode))throw new dr.ErrnoError(43);if(!r.stream_ops.allocate)throw new dr.ErrnoError(138);r.stream_ops.allocate(r,e,t)},mmap(r,e,t,n,o){if(2&n&&!(2&o)&&2!=(2097155&r.flags))throw new dr.ErrnoError(2);if(1==(2097155&r.flags))throw new dr.ErrnoError(2);if(!r.stream_ops.mmap)throw new dr.ErrnoError(43);if(!e)throw new dr.ErrnoError(28);return r.stream_ops.mmap(r,e,t,n,o)},msync:(r,e,t,n,o)=>r.stream_ops.msync?r.stream_ops.msync(r,e,t,n,o):0,ioctl(r,e,t){if(!r.stream_ops.ioctl)throw new dr.ErrnoError(59);return r.stream_ops.ioctl(r,e,t)},readFile(r,e={}){if(e.flags=e.flags||0,e.encoding=e.encoding||"binary","utf8"!==e.encoding&&"binary"!==e.encoding)throw new Error(`Invalid encoding type "${e.encoding}"`);var t,n=dr.open(r,e.flags),o=dr.stat(r).size,a=new Uint8Array(o);return dr.read(n,a,0,o,0),"utf8"===e.encoding?t=J(a):"binary"===e.encoding&&(t=a),dr.close(n),t},writeFile(r,e,t={}){t.flags=t.flags||577;var n=dr.open(r,t.flags,t.mode);if("string"==typeof e){var o=new Uint8Array(Z(e)+1),a=rr(e,o,0,o.length);dr.write(n,o,0,a,void 0,t.canOwn)}else{if(!ArrayBuffer.isView(e))throw new Error("Unsupported data type");dr.write(n,e,0,e.byteLength,void 0,t.canOwn)}dr.close(n)},cwd:()=>dr.currentPath,chdir(r){var e=dr.lookupPath(r,{follow:!0});if(null===e.node)throw new dr.ErrnoError(44);if(!dr.isDir(e.node.mode))throw new dr.ErrnoError(54);var t=dr.nodePermissions(e.node,"x");if(t)throw new dr.ErrnoError(t);dr.currentPath=e.path},createDefaultDirectories(){dr.mkdir("/tmp"),dr.mkdir("/home"),dr.mkdir("/home/web_user")},createDefaultDevices(){dr.mkdir("/dev"),dr.registerDevice(dr.makedev(1,3),{read:()=>0,write:(r,e,t,n,o)=>n,llseek:()=>0}),dr.mkdev("/dev/null",dr.makedev(1,3)),er.register(dr.makedev(5,0),er.default_tty_ops),er.register(dr.makedev(6,0),er.default_tty1_ops),dr.mkdev("/dev/tty",dr.makedev(5,0)),dr.mkdev("/dev/tty1",dr.makedev(6,0));var r=new Uint8Array(1024),e=0,t=()=>(0===e&&(e=G(r).byteLength),r[--e]);dr.createDevice("/dev","random",t),dr.createDevice("/dev","urandom",t),dr.mkdir("/dev/shm"),dr.mkdir("/dev/shm/tmp")},createSpecialDirectories(){dr.mkdir("/proc");var r=dr.mkdir("/proc/self");dr.mkdir("/proc/self/fd"),dr.mount({mount(){var e=dr.createNode(r,"fd",16895,73);return e.node_ops={lookup(r,e){var t=+e,n=dr.getStreamChecked(t),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path}};return o.parent=o,o}},e}},{},"/proc/self/fd")},createStandardStreams(r,e,t){r?dr.createDevice("/dev","stdin",r):dr.symlink("/dev/tty","/dev/stdin"),e?dr.createDevice("/dev","stdout",null,e):dr.symlink("/dev/tty","/dev/stdout"),t?dr.createDevice("/dev","stderr",null,t):dr.symlink("/dev/tty1","/dev/stderr"),dr.open("/dev/stdin",0),dr.open("/dev/stdout",1),dr.open("/dev/stderr",1)},staticInit(){dr.nameTable=new Array(4096),dr.mount(or,{},"/"),dr.createDefaultDirectories(),dr.createDefaultDevices(),dr.createSpecialDirectories(),dr.filesystems={MEMFS:or}},init(r,e,t){dr.initialized=!0,r??=i.stdin,e??=i.stdout,t??=i.stderr,dr.createStandardStreams(r,e,t)},quit(){dr.initialized=!1;for(var r=0;r<dr.streams.length;r++){var e=dr.streams[r];e&&dr.close(e)}},findObject(r,e){var t=dr.analyzePath(r,e);return t.exists?t.object:null},analyzePath(r,e){try{r=(n=dr.lookupPath(r,{follow:!e})).path}catch(r){}var t={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=dr.lookupPath(r,{parent:!0});t.parentExists=!0,t.parentPath=n.path,t.parentObject=n.node,t.name=X.basename(r),n=dr.lookupPath(r,{follow:!e}),t.exists=!0,t.path=n.path,t.object=n.node,t.name=n.node.name,t.isRoot="/"===n.path}catch(r){t.error=r.errno}return t},createPath(r,e,t,n){r="string"==typeof r?r:dr.getPath(r);for(var o=e.split("/").reverse();o.length;){var a=o.pop();if(a){var i=X.join2(r,a);try{dr.mkdir(i)}catch(r){}r=i}}return i},createFile(r,e,t,n,o){var a=X.join2("string"==typeof r?r:dr.getPath(r),e),i=ur(n,o);return dr.create(a,i)},createDataFile(r,e,t,n,o,a){var i=e;r&&(r="string"==typeof r?r:dr.getPath(r),i=e?X.join2(r,e):r);var s=ur(n,o),l=dr.create(i,s);if(t){if("string"==typeof t){for(var u=new Array(t.length),d=0,c=t.length;d<c;++d)u[d]=t.charCodeAt(d);t=u}dr.chmod(l,146|s);var f=dr.open(l,577);dr.write(f,t,0,t.length,0,a),dr.close(f),dr.chmod(l,s)}},createDevice(r,e,t,n){var o=X.join2("string"==typeof r?r:dr.getPath(r),e),a=ur(!!t,!!n);dr.createDevice.major??=64;var i=dr.makedev(dr.createDevice.major++,0);return dr.registerDevice(i,{open(r){r.seekable=!1},close(r){n?.buffer?.length&&n(10)},read(r,e,n,o,a){for(var i=0,s=0;s<o;s++){var l;try{l=t()}catch(r){throw new dr.ErrnoError(29)}if(void 0===l&&0===i)throw new dr.ErrnoError(6);if(null==l)break;i++,e[n+s]=l}return i&&(r.node.timestamp=Date.now()),i},write(r,e,t,o,a){for(var i=0;i<o;i++)try{n(e[t+i])}catch(r){throw new dr.ErrnoError(29)}return o&&(r.node.timestamp=Date.now()),i}}),dr.mkdev(o,a,i)},forceLoadFile(r){if(r.isDevice||r.isFolder||r.link||r.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");try{r.contents=(void 0)(r.url),r.usedBytes=r.contents.length}catch(r){throw new dr.ErrnoError(29)}},createLazyFile(r,e,t,n,o){if("undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a={isDevice:!1,url:t},i=dr.createFile(r,e,a,n,o);a.contents?i.contents=a.contents:a.url&&(i.contents=null,i.url=a.url),Object.defineProperties(i,{usedBytes:{get:function(){return this.contents.length}}});var s={};function l(r,e,t,n,o){var a=r.node.contents;if(o>=a.length)return 0;var i=Math.min(a.length-o,n);if(a.slice)for(var s=0;s<i;s++)e[t+s]=a[o+s];else for(s=0;s<i;s++)e[t+s]=a.get(o+s);return i}return Object.keys(i.stream_ops).forEach((r=>{var e=i.stream_ops[r];s[r]=(...r)=>(dr.forceLoadFile(i),e(...r))})),s.read=(r,e,t,n,o)=>(dr.forceLoadFile(i),l(r,e,t,n,o)),s.mmap=(r,e,t,n,o)=>{dr.forceLoadFile(i);var a=nr();if(!a)throw new dr.ErrnoError(48);return l(r,m,a,e,t),{ptr:a,allocated:!0}},i.stream_ops=s,i}},cr=(r,e)=>r?J(p,r,e):"",fr={DEFAULT_POLLMASK:5,calculateAt(r,e,t){if(X.isAbs(e))return e;var n;if(n=-100===r?dr.cwd():fr.getStreamFromFD(r).path,0==e.length){if(!t)throw new dr.ErrnoError(44);return n}return X.join2(n,e)},doStat(r,e,t){var n=r(e);y[t>>2]=n.dev,y[t+4>>2]=n.mode,g[t+8>>2]=n.nlink,y[t+12>>2]=n.uid,y[t+16>>2]=n.gid,y[t+20>>2]=n.rdev,R=[n.size>>>0,(x=n.size,+Math.abs(x)>=1?x>0?+Math.floor(x/4294967296)>>>0:~~+Math.ceil((x-+(~~x>>>0))/4294967296)>>>0:0)],y[t+24>>2]=R[0],y[t+28>>2]=R[1],y[t+32>>2]=4096,y[t+36>>2]=n.blocks;var o=n.atime.getTime(),a=n.mtime.getTime(),i=n.ctime.getTime();return R=[Math.floor(o/1e3)>>>0,(x=Math.floor(o/1e3),+Math.abs(x)>=1?x>0?+Math.floor(x/4294967296)>>>0:~~+Math.ceil((x-+(~~x>>>0))/4294967296)>>>0:0)],y[t+40>>2]=R[0],y[t+44>>2]=R[1],g[t+48>>2]=o%1e3*1e3*1e3,R=[Math.floor(a/1e3)>>>0,(x=Math.floor(a/1e3),+Math.abs(x)>=1?x>0?+Math.floor(x/4294967296)>>>0:~~+Math.ceil((x-+(~~x>>>0))/4294967296)>>>0:0)],y[t+56>>2]=R[0],y[t+60>>2]=R[1],g[t+64>>2]=a%1e3*1e3*1e3,R=[Math.floor(i/1e3)>>>0,(x=Math.floor(i/1e3),+Math.abs(x)>=1?x>0?+Math.floor(x/4294967296)>>>0:~~+Math.ceil((x-+(~~x>>>0))/4294967296)>>>0:0)],y[t+72>>2]=R[0],y[t+76>>2]=R[1],g[t+80>>2]=i%1e3*1e3*1e3,R=[n.ino>>>0,(x=n.ino,+Math.abs(x)>=1?x>0?+Math.floor(x/4294967296)>>>0:~~+Math.ceil((x-+(~~x>>>0))/4294967296)>>>0:0)],y[t+88>>2]=R[0],y[t+92>>2]=R[1],0},doMsync(r,e,t,n,o){if(!dr.isFile(e.node.mode))throw new dr.ErrnoError(43);if(2&n)return 0;var a=p.slice(r,r+t);dr.msync(e,a,o,t,n)},getStreamFromFD:r=>dr.getStreamChecked(r),varargs:void 0,getStr:r=>cr(r)},hr={},mr=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function pr(r){return this.fromWireType(g[r>>2])}var vr,wr,yr,gr={},Er={},_r={},br=r=>{throw new vr(r)},kr=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&br("Mismatched type converter count");for(var o=0;o<r.length;++o)Ar(r[o],n[o])}r.forEach((r=>_r[r]=e));var o=new Array(e.length),a=[],i=0;e.forEach(((r,e)=>{Er.hasOwnProperty(r)?o[e]=Er[r]:(a.push(r),gr.hasOwnProperty(r)||(gr[r]=[]),gr[r].push((()=>{o[e]=Er[r],++i===a.length&&n(o)})))})),0===a.length&&n(o)},Fr=r=>{for(var e="",t=r;p[t];)e+=wr[p[t++]];return e},Pr=r=>{throw new yr(r)};function Ar(r,e,t={}){return function(r,e,t={}){var n=e.name;if(r||Pr(`type "${n}" must have a positive integer typeid pointer`),Er.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;Pr(`Cannot register type '${n}' twice`)}if(Er[r]=e,delete _r[r],gr.hasOwnProperty(r)){var o=gr[r];delete gr[r],o.forEach((r=>r()))}}(r,e,t)}var Sr,Dr,$r,Cr=[],Tr=[],jr=r=>{r>9&&0==--Tr[r+1]&&(Tr[r]=void 0,Cr.push(r))},Mr=r=>(r||Pr("Cannot use deleted val. handle = "+r),Tr[r]),xr=r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Cr.pop()||Tr.length;return Tr[e]=r,Tr[e+1]=1,e}}},Rr={name:"emscripten::val",fromWireType:r=>{var e=Mr(r);return jr(r),e},toWireType:(r,e)=>xr(e),argPackAdvance:8,readValueFromPointer:pr,destructorFunction:null},Nr=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(E[r>>2])};case 8:return function(r){return this.fromWireType(_[r>>3])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}},zr=(r,e)=>Object.defineProperty(e,"name",{value:r}),Or=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||Pr(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},Wr=(r,e,t)=>{i.hasOwnProperty(r)?((void 0===t||void 0!==i[r].overloadTable&&void 0!==i[r].overloadTable[t])&&Pr(`Cannot register public name '${r}' twice`),Or(i,r,r),i[r].overloadTable.hasOwnProperty(t)&&Pr(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),i[r].overloadTable[t]=e):(i[r]=e,i[r].argCount=t)},Ur=(r,e,t)=>{i.hasOwnProperty(r)||br("Replacing nonexistent public symbol"),void 0!==i[r].overloadTable&&void 0!==t?i[r].overloadTable[t]=e:(i[r]=e,i[r].argCount=t)},Br=[],Lr=r=>{var e=Br[r];return e||(r>=Br.length&&(Br.length=r+1),Br[r]=e=Sr.get(r)),e},Ir=(r,e)=>{var t=(r=Fr(r)).includes("j")?((r,e)=>(...t)=>((r,e,t=[])=>r.includes("j")?((r,e,t)=>(r=r.replace(/p/g,"i"),(0,i["dynCall_"+r])(e,...t)))(r,e,t):Lr(e)(...t))(r,e,t))(r,e):Lr(e);return"function"!=typeof t&&Pr(`unknown function pointer with signature ${r}: ${e}`),t},Hr=r=>{var e=ge(r),t=Fr(e);return _e(e),t},Vr=(r,e,t)=>{switch(e){case 1:return t?r=>m[r]:r=>p[r];case 2:return t?r=>v[r>>1]:r=>w[r>>1];case 4:return t?r=>y[r>>2]:r=>g[r>>2];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}},qr=(r,e,t)=>rr(r,p,e,t),Xr="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,Gr=(r,e)=>{for(var t=r,n=t>>1,o=n+e/2;!(n>=o)&&w[n];)++n;if((t=n<<1)-r>32&&Xr)return Xr.decode(p.subarray(r,t));for(var a="",i=0;!(i>=e/2);++i){var s=v[r+2*i>>1];if(0==s)break;a+=String.fromCharCode(s)}return a},Kr=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,o=(t-=2)<2*r.length?t/2:r.length,a=0;a<o;++a){var i=r.charCodeAt(a);v[e>>1]=i,e+=2}return v[e>>1]=0,e-n},Yr=r=>2*r.length,Jr=(r,e)=>{for(var t=0,n="";!(t>=e/4);){var o=y[r+4*t>>2];if(0==o)break;if(++t,o>=65536){var a=o-65536;n+=String.fromCharCode(55296|a>>10,56320|1023&a)}else n+=String.fromCharCode(o)}return n},Qr=(r,e,t)=>{if(t??=2147483647,t<4)return 0;for(var n=e,o=n+t-4,a=0;a<r.length;++a){var i=r.charCodeAt(a);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&r.charCodeAt(++a)),y[e>>2]=i,(e+=4)+4>o)break}return y[e>>2]=0,e-n},Zr=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n>=55296&&n<=57343&&++t,e+=4}return e},re=(r,e)=>{var t=Er[r];return void 0===t&&Pr(`${e} has unknown type ${Hr(r)}`),t},ee=(r,e,t)=>{var n=[],o=r.toWireType(n,t);return n.length&&(g[e>>2]=xr(n)),o},te={},ne=r=>{var e=te[r];return void 0===e?Fr(r):e},oe=[],ae=()=>{if("object"==typeof globalThis)return globalThis;function r(r){r.$$$embind_global$$$=r;var e="object"==typeof $$$embind_global$$$&&r.$$$embind_global$$$==r;return e||delete r.$$$embind_global$$$,e}if("object"==typeof $$$embind_global$$$)return $$$embind_global$$$;if("object"==typeof o.c&&r(o.c)?$$$embind_global$$$=o.c:"object"==typeof self&&r(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$)return $$$embind_global$$$;throw Error("unable to get global object.")},ie=Reflect.construct,se=r=>{var e=(r-h.buffer.byteLength+65535)/65536|0;try{return h.grow(e),F(),1}catch(r){}},le={},ue=()=>{if(!ue.strings){var r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:u||"./this.program"};for(var e in le)void 0===le[e]?delete r[e]:r[e]=le[e];var t=[];for(var e in r)t.push(`${e}=${r[e]}`);ue.strings=t}return ue.strings},de=(r,e)=>{r<128?e.push(r):e.push(r%128|128,r>>7)},ce=[],fe=(r,e)=>{Sr.set(r,e),Br[r]=Sr.get(r)},he=dr.createPath,me=dr.createLazyFile,pe=dr.createDevice;dr.createPreloadedFile=lr,dr.staticInit(),i.FS_createPath=dr.createPath,i.FS_createDataFile=dr.createDataFile,i.FS_createPreloadedFile=dr.createPreloadedFile,i.FS_unlink=dr.unlink,i.FS_createLazyFile=dr.createLazyFile,i.FS_createDevice=dr.createDevice,or.doesNotExistError=new dr.ErrnoError(44),or.doesNotExistError.stack="<generic error, no stack>",vr=i.InternalError=class extends Error{constructor(r){super(r),this.name="InternalError"}},(()=>{for(var r=new Array(256),e=0;e<256;++e)r[e]=String.fromCharCode(e);wr=r})(),yr=i.BindingError=class extends Error{constructor(r){super(r),this.name="BindingError"}},Tr.push(0,1,void 0,1,null,1,!0,1,!1,1),i.count_emval_handles=()=>Tr.length/2-5-Cr.length,Dr=i.UnboundTypeError=((r,e)=>{var t=zr(e,(function(r){this.name=e,this.message=r;var t=new Error(r).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},t})(Error,"UnboundTypeError");var ve,we={i:(r,e,t)=>{throw new H(r).init(e,t),r},w:function(r,e,t){fr.varargs=t;try{var n=fr.getStreamFromFD(r);switch(e){case 0:if((o=V())<0)return-28;for(;dr.streams[o];)o++;return dr.dupStream(n,o).fd;case 1:case 2:case 13:case 14:return 0;case 3:return n.flags;case 4:var o=V();return n.flags|=o,0;case 12:return o=q(),v[o+0>>1]=2,0}return-28}catch(r){if(void 0===dr||"ErrnoError"!==r.name)throw r;return-r.errno}},M:function(r,e,t){fr.varargs=t;try{var n=fr.getStreamFromFD(r);switch(e){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return n.tty?0:-59;case 21505:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),a=q();y[a>>2]=o.c_iflag||0,y[a+4>>2]=o.c_oflag||0,y[a+8>>2]=o.c_cflag||0,y[a+12>>2]=o.c_lflag||0;for(var i=0;i<32;i++)m[a+i+17]=o.c_cc[i]||0;return 0}return 0;case 21506:case 21507:case 21508:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcsets){a=q();var s=y[a>>2],l=y[a+4>>2],u=y[a+8>>2],d=y[a+12>>2],c=[];for(i=0;i<32;i++)c.push(m[a+i+17]);return n.tty.ops.ioctl_tcsets(n.tty,e,{c_iflag:s,c_oflag:l,c_cflag:u,c_lflag:d,c_cc:c})}return 0;case 21519:return n.tty?(a=q(),y[a>>2]=0,0):-59;case 21520:return n.tty?-28:-59;case 21531:return a=q(),dr.ioctl(n,e,a);case 21523:if(!n.tty)return-59;if(n.tty.ops.ioctl_tiocgwinsz){var f=n.tty.ops.ioctl_tiocgwinsz(n.tty);a=q(),v[a>>1]=f[0],v[a+2>>1]=f[1]}return 0;default:return-28}}catch(r){if(void 0===dr||"ErrnoError"!==r.name)throw r;return-r.errno}},N:function(r,e,t,n){fr.varargs=n;try{e=fr.getStr(e),e=fr.calculateAt(r,e);var o=n?V():0;return dr.open(e,t,o).fd}catch(r){if(void 0===dr||"ErrnoError"!==r.name)throw r;return-r.errno}},P:()=>j(""),V:r=>{var e=hr[r];delete hr[r];var t=e.rawConstructor,n=e.rawDestructor,o=e.fields,a=o.map((r=>r.getterReturnType)).concat(o.map((r=>r.setterArgumentType)));kr([r],a,(r=>{var a={};return o.forEach(((e,t)=>{var n=e.fieldName,i=r[t],s=e.getter,l=e.getterContext,u=r[t+o.length],d=e.setter,c=e.setterContext;a[n]={read:r=>i.fromWireType(s(l,r)),write:(r,e)=>{var t=[];d(c,r,u.toWireType(t,e)),mr(t)}}})),[{name:e.name,fromWireType:r=>{var e={};for(var t in a)e[t]=a[t].read(r);return n(r),e},toWireType:(r,e)=>{for(var o in a)if(!(o in e))throw new TypeError(`Missing field: "${o}"`);var i=t();for(o in a)a[o].write(i,e[o]);return null!==r&&r.push(n,i),i},argPackAdvance:8,readValueFromPointer:pr,destructorFunction:n}]}))},F:(r,e,t,n,o)=>{},T:(r,e,t,n)=>{Ar(r,{name:e=Fr(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},argPackAdvance:8,readValueFromPointer:function(r){return this.fromWireType(p[r])},destructorFunction:null})},S:r=>Ar(r,Rr),y:(r,e,t)=>{Ar(r,{name:e=Fr(e),fromWireType:r=>r,toWireType:(r,e)=>e,argPackAdvance:8,readValueFromPointer:Nr(e,t),destructorFunction:null})},q:(r,e,t,n,o,a,i,s)=>{var l=((r,e)=>{for(var t=[],n=0;n<r;n++)t.push(g[e+4*n>>2]);return t})(e,t);r=(r=>{const e=(r=r.trim()).indexOf("(");return-1!==e?r.substr(0,e):r})(r=Fr(r)),o=Ir(n,o),Wr(r,(function(){((r,e)=>{var t=[],n={};throw e.forEach((function r(e){n[e]||Er[e]||(_r[e]?_r[e].forEach(r):(t.push(e),n[e]=!0))})),new Dr(`${r}: `+t.map(Hr).join([", "]))})(`Cannot call ${r} due to unbound types`,l)}),e-1),kr([],l,(t=>{var n=[t[0],null].concat(t.slice(1));return Ur(r,function(r,e,t,n,o){var a=e.length;a<2&&Pr("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var i=function(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}(e),s="void"!==e[0].name,l=a-2,u=new Array(l),d=[],c=[];return zr(r,(function(...r){c.length=0,d.length=1,d[0]=o;for(var t=0;t<l;++t)u[t]=e[t+2].toWireType(c,r[t]),d.push(u[t]);return function(r){if(i)mr(c);else for(var t=2;t<e.length;t++){var n=1===t?void 0:u[t-2];null!==e[t].destructorFunction&&e[t].destructorFunction(n)}if(s)return e[0].fromWireType(r)}(n(...d))}))}(r,n,0,o,a),e-1),[]}))},c:(r,e,t,n,o)=>{e=Fr(e);var a=r=>r;if(0===n){var i=32-8*t;a=r=>r<<i>>>i}var s=e.includes("unsigned");Ar(r,{name:e,fromWireType:a,toWireType:s?function(r,e){return this.name,e>>>0}:function(r,e){return this.name,e},argPackAdvance:8,readValueFromPointer:Vr(e,t,0!==n),destructorFunction:null})},b:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(r){var e=g[r>>2],t=g[r+4>>2];return new n(m.buffer,t,e)}Ar(r,{name:t=Fr(t),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},x:(r,e)=>{var t="std::string"===(e=Fr(e));Ar(r,{name:e,fromWireType(r){var e,n=g[r>>2],o=r+4;if(t)for(var a=o,i=0;i<=n;++i){var s=o+i;if(i==n||0==p[s]){var l=cr(a,s-a);void 0===e?e=l:(e+=String.fromCharCode(0),e+=l),a=s+1}}else{var u=new Array(n);for(i=0;i<n;++i)u[i]=String.fromCharCode(p[o+i]);e=u.join("")}return _e(r),e},toWireType(r,e){var n;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||Pr("Cannot pass non-string to std::string"),n=t&&o?Z(e):e.length;var a=Ee(4+n+1),i=a+4;if(g[a>>2]=n,t&&o)qr(e,i,n+1);else if(o)for(var s=0;s<n;++s){var l=e.charCodeAt(s);l>255&&(_e(i),Pr("String has UTF-16 code units that do not fit in 8 bits")),p[i+s]=l}else for(s=0;s<n;++s)p[i+s]=e[s];return null!==r&&r.push(_e,a),a},argPackAdvance:8,readValueFromPointer:pr,destructorFunction(r){_e(r)}})},p:(r,e,t)=>{var n,o,a,i;t=Fr(t),2===e?(n=Gr,o=Kr,i=Yr,a=r=>w[r>>1]):4===e&&(n=Jr,o=Qr,i=Zr,a=r=>g[r>>2]),Ar(r,{name:t,fromWireType:r=>{for(var t,o=g[r>>2],i=r+4,s=0;s<=o;++s){var l=r+4+s*e;if(s==o||0==a(l)){var u=n(i,l-i);void 0===t?t=u:(t+=String.fromCharCode(0),t+=u),i=l+e}}return _e(r),t},toWireType:(r,n)=>{"string"!=typeof n&&Pr(`Cannot pass non-string to C++ string type ${t}`);var a=i(n),s=Ee(4+a+e);return g[s>>2]=a/e,o(n,s+4,a+e),null!==r&&r.push(_e,s),s},argPackAdvance:8,readValueFromPointer:pr,destructorFunction(r){_e(r)}})},W:(r,e,t,n,o,a)=>{hr[r]={name:Fr(e),rawConstructor:Ir(t,n),rawDestructor:Ir(o,a),fields:[]}},k:(r,e,t,n,o,a,i,s,l,u)=>{hr[r].fields.push({fieldName:Fr(e),getterReturnType:t,getter:Ir(n,o),getterContext:a,setterArgumentType:i,setter:Ir(s,l),setterContext:u})},U:(r,e)=>{Ar(r,{isVoid:!0,name:e=Fr(e),argPackAdvance:0,fromWireType:()=>{},toWireType:(r,e)=>{}})},R:r=>{do{var e=g[r>>2],t=g[(r+=4)>>2],n=g[(r+=4)>>2];r+=4;var o=cr(e);dr.createPath("/",X.dirname(o),!0,!0),dr.createDataFile(o,null,m.subarray(n,n+t),!0,!0,!0)}while(g[r>>2])},O:(r,e,t)=>p.copyWithin(r,e,e+t),G:()=>{throw 1/0},Y:(r,e,t)=>(r=Mr(r),e=re(e,"emval::as"),ee(e,t,r)),z:(r,e,t,n,o)=>(r=oe[r])(e=Mr(e),e[t=ne(t)],n,o),a:jr,Z:r=>0===r?xr(ae()):(r=ne(r),xr(ae()[r])),A:(r,e,t)=>{var n=((r,e)=>{for(var t=new Array(r),n=0;n<r;++n)t[n]=re(g[e+4*n>>2],"parameter "+n);return t})(r,e),o=n.shift();r--;var a=new Array(r),i=`methodCaller<(${n.map((r=>r.name)).join(", ")}) => ${o.name}>`;return(r=>{var e=oe.length;return oe.push(r),e})(zr(i,((e,i,s,l)=>{for(var u=0,d=0;d<r;++d)a[d]=n[d].readValueFromPointer(l+u),u+=n[d].argPackAdvance;var c=1===t?ie(i,a):i.apply(e,a);return ee(o,s,c)})))},m:(r,e)=>(r=Mr(r),e=Mr(e),xr(r[e])),g:r=>{r>9&&(Tr[r+1]+=1)},B:()=>xr([]),h:r=>xr(ne(r)),r:r=>{var e=Mr(r);mr(e),jr(r)},X:(r,e,t)=>{r=Mr(r),e=Mr(e),t=Mr(t),r[e]=t},l:(r,e)=>{var t=(r=re(r,"_emval_take_value")).readValueFromPointer(e);return xr(t)},I:(r,e,t,n)=>{var o=(new Date).getFullYear(),a=new Date(o,0,1),i=new Date(o,6,1),s=a.getTimezoneOffset(),l=i.getTimezoneOffset(),u=Math.max(s,l);g[r>>2]=60*u,y[e>>2]=Number(s!=l);var d=r=>{var e=r>=0?"-":"+",t=Math.abs(r);return`UTC${e}${String(Math.floor(t/60)).padStart(2,"0")}${String(t%60).padStart(2,"0")}`},c=d(s),f=d(l);l<s?(qr(c,t,17),qr(f,n,17)):(qr(c,n,17),qr(f,t,17))},H:r=>{var e=p.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n=1;n<=4;n*=2){var o=e*(1+.2/n);o=Math.min(o,r+100663296);var a=Math.min(t,tr(Math.max(r,o),65536));if(se(a))return!0}return!1},J:(r,e)=>{var t=0;return ue().forEach(((n,o)=>{var a=e+t;g[r+4*o>>2]=a,((r,e)=>{for(var t=0;t<r.length;++t)m[e++]=r.charCodeAt(t);m[e]=0})(n,a),t+=n.length+1})),0},K:(r,e)=>{var t=ue();g[r>>2]=t.length;var n=0;return t.forEach((r=>n+=r.length+1)),g[e>>2]=n,0},Q:(r,e)=>{(r=>{B||(i.onExit?.(r),k=!0),((r,e)=>{throw e})(0,new W(r))})(r)},u:function(r){try{var e=fr.getStreamFromFD(r);return dr.close(e),0}catch(r){if(void 0===dr||"ErrnoError"!==r.name)throw r;return r.errno}},L:function(r,e,t,n){try{var o=((r,e,t)=>{for(var n=0,o=0;o<t;o++){var a=g[e>>2],i=g[e+4>>2];e+=8;var s=dr.read(r,m,a,i,undefined);if(s<0)return-1;if(n+=s,s<i)break}return n})(fr.getStreamFromFD(r),e,t);return g[n>>2]=o,0}catch(r){if(void 0===dr||"ErrnoError"!==r.name)throw r;return r.errno}},E:function(r,e,t,n,o){var a=((r,e)=>e+2097152>>>0<4194305-!!r?(r>>>0)+4294967296*e:NaN)(e,t);try{if(isNaN(a))return 61;var i=fr.getStreamFromFD(r);return dr.llseek(i,a,n),R=[i.position>>>0,(x=i.position,+Math.abs(x)>=1?x>0?+Math.floor(x/4294967296)>>>0:~~+Math.ceil((x-+(~~x>>>0))/4294967296)>>>0:0)],y[o>>2]=R[0],y[o+4>>2]=R[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0}catch(r){if(void 0===dr||"ErrnoError"!==r.name)throw r;return r.errno}},v:function(r,e,t,n){try{var o=((r,e,t)=>{for(var n=0,o=0;o<t;o++){var a=g[e>>2],i=g[e+4>>2];e+=8;var s=dr.write(r,m,a,i,undefined);if(s<0)return-1;if(n+=s,s<i)break}return n})(fr.getStreamFromFD(r),e,t);return g[n>>2]=o,0}catch(r){if(void 0===dr||"ErrnoError"!==r.name)throw r;return r.errno}},n:function(r,e){var t=I();try{return Lr(r)(e)}catch(r){if(L(t),r!==r+0)throw r;be(1,0)}},j:function(r,e,t){var n=I();try{return Lr(r)(e,t)}catch(r){if(L(n),r!==r+0)throw r;be(1,0)}},o:function(r,e,t,n){var o=I();try{return Lr(r)(e,t,n)}catch(r){if(L(o),r!==r+0)throw r;be(1,0)}},s:function(r,e,t,n,o){var a=I();try{return Lr(r)(e,t,n,o)}catch(r){if(L(a),r!==r+0)throw r;be(1,0)}},D:function(r,e,t,n,o,a,i,s,l,u){var d=I();try{return Lr(r)(e,t,n,o,a,i,s,l,u)}catch(r){if(L(d),r!==r+0)throw r;be(1,0)}},t:function(r){var e=I();try{Lr(r)()}catch(r){if(L(e),r!==r+0)throw r;be(1,0)}},d:function(r,e){var t=I();try{Lr(r)(e)}catch(r){if(L(t),r!==r+0)throw r;be(1,0)}},C:function(r,e,t,n){var o=I();try{Lr(r)(e,t,n)}catch(r){if(L(o),r!==r+0)throw r;be(1,0)}},e:function(r,e,t){var n=I();try{Lr(r)(e,t)}catch(r){if(L(n),r!==r+0)throw r;be(1,0)}},f:function(r,e,t,n){var o=I();try{Lr(r)(e,t,n)}catch(r){if(L(o),r!==r+0)throw r;be(1,0)}}},ye=function(){function r(r,e){return ye=r.exports,h=ye._,F(),Sr=ye.ba,function(r){A.unshift(r)}(ye.$),T(),ye}C();var e={a:we};if(i.instantiateWasm)try{return i.instantiateWasm(e,r)}catch(r){f(`Module.instantiateWasm callback failed with error: ${r}`),n(r)}return M??=function(){var r="lyr3DWorker.wasm";return N(r)?r:function(r){return i.locateFile?i.locateFile(r,d):d+r}(r)}(),function(r,e,t,n){return r||"function"!=typeof WebAssembly.instantiateStreaming||N(e)||"function"!=typeof fetch?O(e,t,n):fetch(e,{credentials:"same-origin"}).then((r=>WebAssembly.instantiateStreaming(r,t).then(n,(function(r){return f(`wasm streaming compile failed: ${r}`),f("falling back to ArrayBuffer instantiation"),O(e,t,n)}))))}(b,M,e,(function(e){r(e.instance)})).catch(n),{}}(),ge=r=>(ge=ye.aa)(r),Ee=i._malloc=r=>(Ee=i._malloc=ye.ca)(r),_e=i._free=r=>(_e=i._free=ye.da)(r),be=(r,e)=>(be=ye.ea)(r,e),ke=r=>(ke=ye.fa)(r),Fe=()=>(Fe=ye.ga)();function Pe(){function r(){ve||(ve=!0,i.calledRun=!0,k||(i.noFSInit||dr.initialized||dr.init(),dr.ignorePermissions=!1,U(A),t(i),i.onRuntimeInitialized?.(),function(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)r=i.postRun.shift(),S.unshift(r);var r;U(S)}()))}D>0||(function(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)r=i.preRun.shift(),P.unshift(r);var r;U(P)}(),D>0||(i.setStatus?(i.setStatus("Running..."),setTimeout((()=>{setTimeout((()=>i.setStatus("")),1),r()}),1)):r()))}if(i.dynCall_viji=(r,e,t,n,o)=>(i.dynCall_viji=ye.ha)(r,e,t,n,o),i.dynCall_ji=(r,e)=>(i.dynCall_ji=ye.ia)(r,e),i.dynCall_jiji=(r,e,t,n,o)=>(i.dynCall_jiji=ye.ja)(r,e,t,n,o),i.dynCall_viijii=(r,e,t,n,o,a,s)=>(i.dynCall_viijii=ye.ka)(r,e,t,n,o,a,s),i.dynCall_iiiiij=(r,e,t,n,o,a,s)=>(i.dynCall_iiiiij=ye.la)(r,e,t,n,o,a,s),i.dynCall_iiiiijj=(r,e,t,n,o,a,s,l,u)=>(i.dynCall_iiiiijj=ye.ma)(r,e,t,n,o,a,s,l,u),i.dynCall_iiiiiijj=(r,e,t,n,o,a,s,l,u,d)=>(i.dynCall_iiiiiijj=ye.na)(r,e,t,n,o,a,s,l,u,d),i.___emscripten_embedded_file_data=1277776,i.addRunDependency=C,i.removeRunDependency=T,i.addFunction=(r,e)=>{var t=(r=>($r||($r=new WeakMap,((r,e)=>{if($r)for(var t=0;t<0+e;t++){var n=Lr(t);n&&$r.set(n,t)}})(0,Sr.length)),$r.get(r)||0))(r);if(t)return t;var n=(()=>{if(ce.length)return ce.pop();try{Sr.grow(1)}catch(r){if(!(r instanceof RangeError))throw r;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Sr.length-1})();try{fe(n,r)}catch(t){if(!(t instanceof TypeError))throw t;var o=((r,e)=>{if("function"==typeof WebAssembly.Function)return new WebAssembly.Function((r=>{for(var e={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"},t={parameters:[],results:"v"==r[0]?[]:[e[r[0]]]},n=1;n<r.length;++n)t.parameters.push(e[r[n]]);return t})(e),r);var t=[1];((r,e)=>{var t=r.slice(0,1),n=r.slice(1),o={i:127,p:127,j:126,f:125,d:124,e:111};e.push(96),de(n.length,e);for(var a=0;a<n.length;++a)e.push(o[n[a]]);"v"==t?e.push(0):e.push(1,o[t])})(e,t);var n=[0,97,115,109,1,0,0,0,1];de(t.length,n),n.push(...t),n.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var o=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(o,{e:{f:r}}).exports.f})(r,e);fe(n,o)}return $r.set(r,n),n},i.UTF8ToString=cr,i.FS_createPreloadedFile=lr,i.FS_unlink=r=>dr.unlink(r),i.FS_createPath=he,i.FS_createDevice=pe,i.FS_createDataFile=ir,i.FS_createLazyFile=me,$=function r(){ve||Pe(),ve||($=r)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Pe(),s},r.exports=t),a.exports;var r,e,t}()),s=Object.freeze(Object.defineProperty({__proto__:null,default:i},Symbol.toStringTag,{value:"Module"}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1017,3200,8330,8430,9340],{52106:(e,t,i)=>{i.d(t,{A:()=>_});var r,o=i(90237),n=i(59456),s=i(13874),a=i(61147),l=i(69540),p=i(51447),u=i(25482),c=i(53966),y=i(36708),f=i(24326),h=i(10107),m=(i(44208),i(87811),i(40608)),d=i(65864);function g(e){if(null==e)return null;const t={};for(const i in e){const r=e[i];r&&(t[i]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let v=r=class extends(l.A.ClonableMixin(u.A)){constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.popupTemplate=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,f.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,p.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new r({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const i of[t,this.sourceLayer,this.layer])if(i){if("popupTemplate"in i&&i.popupTemplate)return i.popupTemplate;if(e&&"defaultPopupTemplate"in i&&null!=i.defaultPopupTemplate)return i.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{aggregateGeometries:g(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:u.A.isSerializable(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const i={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",i,i,e.action)}}_notifyLayer(e,t,i,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const o={graphic:this,property:e,oldValue:t,newValue:i};"origin-transform"===e&&(o.action=r),"attributes"===e&&(o.attributeName=r),this.layer.graphicChanged(o)}_watchMeshGeometryChanges(){this.addHandles([(0,y.z7)((()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0),(({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())})),(0,y.z7)((()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0),(()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)}),{equals:(e,t)=>e===t,sync:!0})])}};(0,o._)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const i in e){const r=(0,d.rS)(e[i]);r&&(t[i]=r)}return 0!==Object.keys(t).length?t:null}}})],v.prototype,"aggregateGeometries",null),(0,o._)([(0,h.MZ)({value:null})],v.prototype,"attributes",null),(0,o._)([(0,h.MZ)({value:null,types:n.yR,json:{read:d.rS}})],v.prototype,"geometry",null),(0,o._)([(0,h.MZ)({type:Boolean})],v.prototype,"isAggregate",void 0),(0,o._)([(0,h.MZ)({clonable:"reference"})],v.prototype,"layer",void 0),(0,o._)([(0,h.MZ)({clonable:"reference"})],v.prototype,"origin",void 0),(0,o._)([(0,h.MZ)({type:s.A})],v.prototype,"popupTemplate",void 0),(0,o._)([(0,h.MZ)({clonable:"reference"})],v.prototype,"sourceLayer",void 0),(0,o._)([(0,h.MZ)({value:null,types:a.Es})],v.prototype,"symbol",null),(0,o._)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],v.prototype,"_version",void 0),(0,o._)([(0,h.MZ)({type:Boolean,value:!0})],v.prototype,"visible",null),v=r=(0,o._)([(0,m.$)("esri.Graphic")],v);const _=v},39516:(e,t,i)=>{async function r(e,t){const{default:r}=await Promise.resolve().then(i.bind(i,88368));return r.create(e,{fieldsIndex:t})}function o(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function n(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}i.d(t,{GP:()=>r,IW:()=>n,mA:()=>o})},13069:(e,t,i)=>{i.d(t,{AG:()=>a,lk:()=>o,vD:()=>s,yS:()=>n});const r="randomUUID"in crypto;function o(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function n(){return`{${o().toUpperCase()}}`}function s(){return`{${o()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},97927:(e,t,i)=>{i.r(t),i.d(t,{default:()=>J});var r=i(90237),o=i(49186),n=i(4718),s=i(93637),a=i(10107),l=(i(44208),i(53966),i(40608)),p=i(13600),u=i(82935),c=i(66552),y=i(69540),f=i(25482),h=(i(87811),i(69622)),m=i(21325);let d=class extends h.A{set horizontalWKID(e){e?(0,m.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,m.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:i,radialDistortionCoefficients:r,tangentialDistortionCoefficients:o}=this;return e?.length>1&&!Number.isNaN(t)&&i?.length>1&&r?.length>1&&o?.length>1}};(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"affineTransformations",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"focalLength",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"horizontalWKID",null),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"verticalWKID",null),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"x",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"y",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"z",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"type",void 0),d=(0,r._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientation")],d);const g=d;let v=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:f}=this,h=[e,t,i,r,o,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>h.push(e))),h.push(u),c?.forEach((e=>h.push(e))),y?.forEach((e=>h.push(e))),f?.forEach((e=>h.push(e)))),h.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,r._)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"heading",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,r._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationHPR")],v);const _=v;let M=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:i,ellipsoidRadius:r,squaredEccentricity:o,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${i}|${r}|${o}|${s.join("|")}`}};(0,r._)([(0,a.MZ)({json:{write:!0}})],M.prototype,"type",void 0),(0,r._)([(0,a.MZ)({json:{write:!0},type:Number})],M.prototype,"latitude",void 0),(0,r._)([(0,a.MZ)({json:{write:!0},type:Number})],M.prototype,"longitude",void 0),(0,r._)([(0,a.MZ)({json:{write:!0},type:Number})],M.prototype,"ellipsoidRadius",void 0),(0,r._)([(0,a.MZ)({json:{write:!0},type:Number})],M.prototype,"squaredEccentricity",void 0),(0,r._)([(0,a.MZ)({json:{write:!0}})],M.prototype,"properties",void 0),M=(0,r._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationLTP")],M);const w=M;let b=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:f}=this,h=[e,t,i,r,o,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>h.push(e))),h.push(u),c?.forEach((e=>h.push(e))),y?.forEach((e=>h.push(e))),f?.forEach((e=>h.push(e)))),h.map((e=>isNaN(e)?"":e)).join("|")}};(0,r._)([(0,a.MZ)({json:{write:!0}})],b.prototype,"type",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],b.prototype,"affineTransformations",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"focalLength",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],b.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],b.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],b.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"omega",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"phi",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"kappa",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"x",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"y",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],b.prototype,"z",void 0),b=(0,r._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationOPK")],b);const x=b;let j=class extends(y.A.ClonableMixin(f.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:i,radialDistortionCoefficients:r,tangentialDistortionCoefficients:o}=this;return e?.length>1||!Number.isNaN(t)||i?.length>1||r?.length>1||o?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:u,principalOffsetPoint:c,radialDistortionCoefficients:y,tangentialDistortionCoefficients:f}=this,h=[e,t,i,r,o,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>h.push(e))),h.push(u),c?.forEach((e=>h.push(e))),c?.forEach((e=>h.push(e))),y?.forEach((e=>h.push(e))),f?.forEach((e=>h.push(e)))),h.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,r._)([(0,a.MZ)({json:{write:!0}})],j.prototype,"type",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"affineTransformations",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"focalLength",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"principalOffsetPoint",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"radialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"tangentialDistortionCoefficients",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"yaw",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"pitch",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"roll",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"x",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"y",void 0),(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"z",void 0),j=(0,r._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationYPR")],j);const Z=j;var N;!function(e){e[e.HPR=1]="HPR",e[e.OPK=2]="OPK",e[e.YPR=3]="YPR",e[e.LTP=4]="LTP"}(N||(N={}));const S=new Map;S.set(`${N.OPK}`,{desc:"Using Omega Phi Kappa",constructor:x}),S.set(`${N.HPR}`,{desc:"Using Heading, Pitch and Roll",constructor:_}),S.set(`${N.YPR}`,{desc:"Using Yaw, Pitch and Roll",constructor:Z}),S.set(`${N.LTP}`,{desc:"Using Local Tangent Plane",constructor:w});let P=class extends(y.A.ClonableMixin(f.A)){constructor(){super(...arguments),this.url=null}};(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],P.prototype,"lod",void 0),(0,r._)([(0,a.MZ)({type:String,json:{write:!0}})],P.prototype,"rasterFunction",void 0),(0,r._)([(0,a.MZ)({type:String,json:{write:!0}})],P.prototype,"url",void 0),P=(0,r._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],P);let T=class extends(y.A.ClonableMixin(f.A)){constructor(){super(...arguments),this.constantElevation=null}};function I(e,t,i){return e?null!=(r=e)&&"number"==typeof r.constantElevation?new T(e):function(e,t,i){let{url:r}=e;return r?(r=function(e,t,i){return t&&(e=`${t}${e}`),i&&(e+=`${i}`),e}(r,t,i),new P({...e,url:r})):null}(e,t,i):e;var r}(0,r._)([(0,a.MZ)({type:Number,json:{write:!0}})],T.prototype,"constantElevation",void 0),T=(0,r._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],T);const A=new c.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),O=new c.J({Feet:"feet",Meter:"meter"}),z=new c.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique","":null}),D=new Map;D.set(`${N.HPR}`,(function(e){const[t,i,r,o,n,s,a,l,p,u,c,y,f,h,m,d,g,v,_,M,w,b]=e.slice(1);return{horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,heading:s,pitch:a,roll:l,...R([p,u,c,y,f,h],[d,g],[v,_,M],[w,b],m)}})),D.set(`${N.YPR}`,(function(e){const[t,i,r,o,n,s,a,l,p,u,c,y,f,h,m,d,g,v,_,M,w,b]=e.slice(1);return{horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,yaw:s,pitch:a,roll:l,...R([p,u,c,y,f,h],[d,g],[v,_,M],[w,b],m)}})),D.set(`${N.OPK}`,(function(e){const[t,i,r,o,n,s,a,l,p,u,c,y,f,h,m,d,g,v,_,M,w,b]=e.slice(1);return{horizontalWKID:t,verticalWKID:i,x:r,y:o,z:n,omega:s,phi:a,kappa:l,...R([p,u,c,y,f,h],[d,g],[v,_,M],[w,b],m)}})),D.set(`${N.LTP}`,(function(e){const[t,i,r,o,n,...s]=e.slice(1),a=D.get(n),l=S.get(n)?.constructor;return a&&l?{latitude:t,longitude:i,ellipsoidRadius:r,squaredEccentricity:o,properties:new l(a([n,"",...s]))}:null}));const E=e=>{const t=e.map((e=>parseFloat(e))).filter((e=>!isNaN(e)));if(t.length===e.length)return t};function R(e,t,i,r,o){const n=E(e),s=E(t),a=E(i),l=E(r);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(o):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}var $=i(79677),C=i(92935);const L=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),F=(e,t)=>!L.has(t)&&e;function V(e,t,i,r){const{name:o,write:n,read:s}=((e,t,i)=>{const r=`orientedImageryProperties.${e}`;return{name:r,write:t?{ignoreOrigin:!0,target:r,writer:t}:{ignoreOrigin:!0},read:i?{ignoreOrigin:!0,source:r,reader:i}:{ignoreOrigin:!0}}})(e,t,i),a={name:o,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${o}`,write:t,read:i},"web-scene":{name:o,write:F(n,e),read:F(s,e)},"web-map":{name:o,write:n,read:s}}};return r&&a.origins?(a.type=r,a.origins["web-map"].type=r,a.origins["web-scene"].type=r,a):a}let G=class extends p.default{constructor(){super(...arguments),this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:i}=this;return I(e,t,i)}async save(e){return this._debouncedSaveOperations(C.X.SAVE,e)}async saveAs(e,t){return this._debouncedSaveOperations(C.X.SAVE_AS,t,e)}findFirstValidLayerId(e){return e.layers?.find((e=>this.supportedSourceTypes.has(e.type)))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new o.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var K;(0,r._)([(0,a.MZ)({type:Number,json:V("cameraHeading")})],G.prototype,"cameraHeading",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("cameraHeight")})],G.prototype,"cameraHeight",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("cameraPitch")})],G.prototype,"cameraPitch",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("cameraRoll")})],G.prototype,"cameraRoll",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("coveragePercent")})],G.prototype,"coveragePercent",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("demPathPrefix")})],G.prototype,"demPathPrefix",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("demPathSuffix")})],G.prototype,"demPathSuffix",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("depthImagePathPrefix")})],G.prototype,"depthImagePathPrefix",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("depthImagePathSuffix")})],G.prototype,"depthImagePathSuffix",void 0),(0,r._)([(0,a.MZ)({type:Object,json:V("elevationSource")})],G.prototype,"elevationSource",void 0),(0,r._)([(0,a.MZ)({readOnly:!0})],G.prototype,"effectiveElevationSource",null),(0,r._)([(0,a.MZ)({type:Number,json:V("farDistance")})],G.prototype,"farDistance",void 0),(0,r._)([(0,a.MZ)()],G.prototype,"geometryType",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("horizontalFieldOfView")})],G.prototype,"horizontalFieldOfView",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("horizontalMeasurementUnit")})],G.prototype,"horizontalMeasurementUnit",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("imagePathPrefix")})],G.prototype,"imagePathPrefix",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("imagePathSuffix")})],G.prototype,"imagePathSuffix",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("imageRotation")})],G.prototype,"imageRotation",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("maximumDistance")})],G.prototype,"maximumDistance",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("nearDistance")})],G.prototype,"nearDistance",void 0),(0,r._)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],G.prototype,"operationalLayerType",void 0),(0,r._)([(0,a.MZ)({json:{...V("orientationAccuracy",((e,t,i)=>{(0,s.sM)(i,e.join(";"),t)}),(e=>{const t=e?.split(";")?.map(Number);return function(e){return Array.isArray(e)&&9===e?.length&&!e.some(isNaN)}(t)?t:[0,0,0,0,0,0,0,0,0]}),String)}})],G.prototype,"orientationAccuracy",void 0),(0,r._)([(0,a.MZ)({json:{...V("orientedImageryType",z.write,z.read,z.jsonValues.slice(1))}})],G.prototype,"orientedImageryType",void 0),(0,r._)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],G.prototype,"type",void 0),(0,r._)([(0,a.MZ)({type:A.apiValues,json:{...V("timeIntervalUnit",A.write,A.read,A.jsonValues)}})],G.prototype,"timeIntervalUnit",void 0),(0,r._)([(0,a.MZ)((K=(0,n.o8)(u.B),K.json?(K.json.origins=K.json.origins??{},K.json.origins["web-scene"]={write:!1,read:!1},K):K))],G.prototype,"useViewTime",void 0),(0,r._)([(0,a.MZ)({type:Number,json:V("verticalFieldOfView")})],G.prototype,"verticalFieldOfView",void 0),(0,r._)([(0,a.MZ)({type:O.apiValues,json:{...V("verticalMeasurementUnit",O.write,O.read,O.jsonValues)}})],G.prototype,"verticalMeasurementUnit",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("videoPathPrefix")})],G.prototype,"videoPathPrefix",void 0),(0,r._)([(0,a.MZ)({type:String,json:V("videoPathSuffix")})],G.prototype,"videoPathSuffix",void 0),(0,r._)([(0,a.MZ)({type:$.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],G.prototype,"visibilityTimeExtent",void 0),G=(0,r._)([(0,l.$)("esri.layers.OrientedImageryLayer")],G);const J=G},32756:(e,t,i)=>{i.d(t,{Rr:()=>l,fY:()=>u,ne:()=>p});var r=i(90237),o=i(93637),n=i(10107),s=(i(44208),i(53966),i(87811),i(40608)),a=i(91880);function l(e,t,i){if(!e)return null;const r=e.find((e=>!!e.field));if(!r)return null;const o=new a.A;return o.read(r,i),[o]}const p={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,i,r){const n=e.find((e=>!!e.field));n&&(0,o.sM)(i,[n.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,r._)([(0,n.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,r._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,i)=>{i.d(t,{A:()=>f});var r=i(90237),o=i(69540),n=i(25482),s=i(10107),a=(i(44208),i(53966),i(87811),i(36005)),l=i(40608),p=i(43937),u=i(80451),c=i(29005);let y=class extends(o.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const i of Object.keys(e))t[i]=(0,u.rS)(e[i]);return t}writeDomains(e,t){const i={};for(const t of Object.keys(e))e[t]&&(i[t]=e[t]?.toJSON());t.domains=i}};(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"id",void 0),(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"name",void 0),(0,r._)([(0,s.MZ)({json:{write:!0}})],y.prototype,"domains",void 0),(0,r._)([(0,a.w)("domains")],y.prototype,"readDomains",null),(0,r._)([(0,p.K)("domains")],y.prototype,"writeDomains",null),(0,r._)([(0,s.MZ)({type:[c.A],json:{write:!0}})],y.prototype,"templates",void 0),y=(0,r._)([(0,l.$)("esri.layers.support.FeatureType")],y);const f=y},91880:(e,t,i)=>{i.d(t,{A:()=>c});var r,o=i(90237),n=i(66552),s=i(25482),a=i(10107),l=(i(44208),i(53966),i(87811),i(40608));const p=new n.J({asc:"ascending",desc:"descending"});let u=r=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new r({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o._)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,o._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,o._)([(0,a.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=r=(0,o._)([(0,l.$)("esri.layers.support.OrderByInfo")],u);const c=u},41560:(e,t,i)=>{i.d(t,{Ch:()=>s,mW:()=>n});var r=i(34727),o=i(39516);function n(e,t){return{...t,filterMode:e.mode}}function s(e,t,i){const r=a(e);if(r&&(t>r[0]||i<r[1]))return"";const n=l(e,t,i),s=Array.from(n,(e=>e.where||"1=1")).reduce(((e,t)=>(0,o.IW)(e,t)),"");return s&&"1=1"!==s?s:""}function a(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:i=0,maxScale:r=0}of e.filters)t[0]=Math.max(t[0],i||Number.POSITIVE_INFINITY),t[1]=Math.min(t[1],r);return t}function*l(e,t,i){if("manual"===u(e)){const t=e.filters.find((t=>t.id===e.activeFilterId));t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)p(r.minScale??0,r.maxScale??0,t,i)&&(yield r)}}function p(e,t,i,o){return e=0===e?Number.POSITIVE_INFINITY:e,i=0===i?Number.POSITIVE_INFINITY:i,!((o??i)>e||t>i||(0,r.Sp)(i,t)||void 0!==o&&(0,r.Sp)(o,e))}function u(e){return"mode"in e?e.mode:e.filterMode}},32730:(e,t,i)=>{i.d(t,{BI:()=>d,D3:()=>h,XJ:()=>m,lc:()=>f,mX:()=>v,rU:()=>g,tH:()=>x});var r=i(799);const o="__begin__",n="__end__",s=new RegExp(o,"ig"),a=new RegExp(n,"ig"),l=new RegExp("^"+o,"i"),p=new RegExp(n+"$","i"),u='"',c=u+" + ",y=" + "+u;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function m(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function d(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function g(e){const t=m(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(_);return t?.[1].trim()||null}(t.expression);case"arcade":return x(t.expression)}return null}function v(e){let t;return e?(t=(0,r.HC)(e,(e=>o+'$feature["'+e+'"]'+n)),t=l.test(t)?t.replace(l,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(s,c).replaceAll(a,y)):t='""',t}const _=/^\s*\{([^}]+)\}\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function x(e){if(!e)return null;let t=M.exec(e)||w.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}},58501:(e,t,i)=>{i.d(t,{q:()=>o});var r=i(62815);function o(e,t,i){if(!i?.features||!i.hasZ)return;const o=(0,r.N)(i.geometryType,t,e.outSpatialReference);if(null!=o)for(const e of i.features)o(e.geometry)}},22671:(e,t,i)=>{i.d(t,{A:()=>_});var r,o=i(90237),n=i(59456),s=i(52106),a=i(66552),l=i(25482),p=i(4718),u=i(10107),c=(i(44208),i(53966),i(36005)),y=i(40608),f=i(43937),h=i(16930),m=i(65864),d=i(20437);const g=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=r=class extends l.A{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,i,r){if(e)return void g.write(e,t,i,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,i,r)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,r=(0,m.rS)(e);return r&&!i&&t.spatialReference&&(r.spatialReference=h.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,p.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let i=0;i<t.features.length;i++){const r=t.features[i];if(r.geometry){const t=e?.[i];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,i],translate:[r,o]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((o-e)/i)));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[r,o],scale:[n,s]}=i;let a=null,l=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;a=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;l=i=>null==i?i:i*t+e}const p=this._getHydrationFunction(e,(e=>e*n+r),(e=>o-e*s),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,i){const r=h.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const n=e[t],s=i.fromJSON(n),a=n.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=r);const l=n.aggregateGeometries,p=s.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],i=l[e],o=i?.spatialReference;null==t||o||(t.spatialReference=r)}o.push(s)}return o}_quantizePoints(e,t,i){let r,o;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=i(a[1]);e===r&&s===o||(n.push([e-r,s-o]),r=e,o=s)}else r=t(a[0]),o=i(a[1]),n.push([r,o])}return n.length>0?n:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,m.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,n=r.length;e<n;e++){const n=r[e],s=this._quantizePoints(n,t,i);s&&o.push(s)}return o.length>0?((0,m.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,i);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,m.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(s+=o[0],a+=o[1]):(s=o[0],a=o[1]),o[0]=t(s),o[1]=i(a)}}if(r&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2]),i[3]=o(i[3])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=o(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,r=n.length;e<r;e++){const r=n[e];e>0?(s+=r[0],a+=r[1]):(s=r[0],a=r[1]),r[0]=t(s),r[1]=i(a)}if(r&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2])}}:null}};(0,o._)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,o._)([(0,c.w)("features")],v.prototype,"readFeatures",null),(0,o._)([(0,u.MZ)({type:[d.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,o._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,o._)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,o._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,o._)([(0,u.MZ)({types:n.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,o._)([(0,c.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,o._)([(0,u.MZ)({type:h.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,o._)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,o._)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=r=(0,o._)([(0,y.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const _=v},41366:(e,t,i)=>{i.d(t,{K:()=>y,Q:()=>p});var r=i(90237),o=i(66552),n=i(53966),s=i(10107),a=(i(44208),i(87811),i(93223)),l=i(40608);const p=(0,o.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",y=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&c||i&&u||null,t&&i&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r._)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,r._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,r._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,r._)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,r._)([(0,a.e)(p,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,r._)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},92935:(e,t,i)=>{var r;i.d(t,{X:()=>r}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(r||(r={}))}}]);
|
|
Binary file
|
|
Binary file
|
package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--esri-oriented-imagery-viewer-min-height: 348px;
|
|
6
6
|
|
|
7
7
|
// overrides
|
|
8
|
+
--calcite-dialog-size-x: 198px;
|
|
8
9
|
--calcite-font-weight-medium: $font-weight;
|
|
9
10
|
--calcite-font-size-0: $font-size;
|
|
10
11
|
--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);
|
|
@@ -182,6 +183,29 @@
|
|
|
182
183
|
@include Overlays(200px);
|
|
183
184
|
}
|
|
184
185
|
|
|
186
|
+
&__measurement-results {
|
|
187
|
+
width: auto;
|
|
188
|
+
height: fit-content;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&__measurements-table {
|
|
192
|
+
margin-block-start: var(--calcite-spacing-sm);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&__measurements-bar {
|
|
196
|
+
display: flex;
|
|
197
|
+
flex-wrap: nowrap;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&__measurements-button {
|
|
201
|
+
display: flex;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&__measurement-display {
|
|
205
|
+
margin-block-end: var(--calcite-spacing-xxs);
|
|
206
|
+
text-align: center;
|
|
207
|
+
}
|
|
208
|
+
|
|
185
209
|
&__viewer {
|
|
186
210
|
display: flex;
|
|
187
211
|
flex-grow: 1;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
@mixin UtilityNetworkTrace {
|
|
2
|
-
.esri-utility-trace
|
|
2
|
+
.esri-utility-network-trace {
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
|
|
5
|
-
&.esri-component.esri-widget--panel {
|
|
6
|
-
min-height: $panel-min-height--medium;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
5
|
calcite-icon {
|
|
10
6
|
box-sizing: initial;
|
|
11
7
|
}
|
|
@@ -24,33 +20,70 @@
|
|
|
24
20
|
margin-bottom: 0;
|
|
25
21
|
}
|
|
26
22
|
|
|
23
|
+
&.esri-component.esri-widget--panel {
|
|
24
|
+
min-height: $panel-min-height--medium;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
27
|
&__add-button-container {
|
|
28
|
-
display:
|
|
28
|
+
display: grid;
|
|
29
29
|
justify-content: center;
|
|
30
30
|
margin: $cap-spacing--plus-half 0 $cap-spacing;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
&
|
|
34
|
-
|
|
33
|
+
&__block {
|
|
34
|
+
&-container {
|
|
35
|
+
height: 95%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-content {
|
|
39
|
+
margin: 0;
|
|
40
|
+
border: {
|
|
41
|
+
bottom: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
35
44
|
}
|
|
36
45
|
|
|
37
|
-
&
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
&__divider {
|
|
47
|
+
flex: 0 0 auto;
|
|
48
|
+
margin: 0 0 $cap-spacing 0;
|
|
49
|
+
border-bottom: $border;
|
|
50
|
+
border-color: $border-color--subtle;
|
|
51
|
+
color: inherit;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__double-pad-top {
|
|
55
|
+
padding-top: 10px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__feature-content {
|
|
59
|
+
height: 300px;
|
|
40
60
|
}
|
|
41
61
|
|
|
42
62
|
&__flow {
|
|
43
63
|
height: 100%;
|
|
44
64
|
}
|
|
45
65
|
|
|
46
|
-
&
|
|
47
|
-
|
|
66
|
+
&__list-container {
|
|
67
|
+
background-color: $background-color;
|
|
68
|
+
padding: $cap-spacing--quarter $side-spacing--quarter;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__notice-container {
|
|
72
|
+
padding: $cap-spacing--half;
|
|
48
73
|
}
|
|
49
74
|
|
|
50
75
|
&__number-input {
|
|
51
76
|
width: 150px;
|
|
52
77
|
}
|
|
53
78
|
|
|
79
|
+
&__pad-bottom {
|
|
80
|
+
padding-bottom: 5px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__pad-top {
|
|
84
|
+
padding-top: 5px;
|
|
85
|
+
}
|
|
86
|
+
|
|
54
87
|
&__reset-prompt {
|
|
55
88
|
@include defaultBoxShadow();
|
|
56
89
|
|
|
@@ -68,22 +101,14 @@
|
|
|
68
101
|
color: $font-color;
|
|
69
102
|
}
|
|
70
103
|
|
|
71
|
-
&
|
|
72
|
-
|
|
73
|
-
margin: 0 0 $cap-spacing 0;
|
|
74
|
-
border-bottom: $border;
|
|
75
|
-
border-color: $border-color--subtle;
|
|
76
|
-
color: inherit;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&__padTop {
|
|
80
|
-
padding-top: 5px;
|
|
104
|
+
&__results-container {
|
|
105
|
+
height: 100%;
|
|
81
106
|
}
|
|
82
107
|
}
|
|
83
108
|
}
|
|
84
109
|
|
|
85
110
|
@media (prefers-reduced-motion) {
|
|
86
|
-
.esri-utility-
|
|
111
|
+
.esri-utility-network-trace__reset-prompt {
|
|
87
112
|
animation: none;
|
|
88
113
|
}
|
|
89
114
|
}
|