@arcgis/core 4.33.0-next.20250422 → 4.33.0-next.20250424
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/Graphic.js +1 -1
- package/WebScene.js +1 -1
- package/analysis/Analysis.d.ts +4 -0
- package/analysis/Analysis.js +1 -1
- package/analysis/SliceAnalysis.js +1 -1
- package/analysis/SlicePlane.js +1 -1
- package/analysis/support/AnalysisOriginWebScene.d.ts +4 -0
- package/analysis/support/AnalysisOriginWebScene.js +5 -0
- package/analysis/support/SliceAnalysisExcludedLayer.js +5 -0
- package/arcade/geometry/constructors.js +1 -1
- package/assets/components/assets/icon/mosaicMethodBlend16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodBlend24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodBlend32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodByAttribute16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodByAttribute24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodByAttribute32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodClosestToCenter16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodClosestToCenter24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodClosestToCenter32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodClosestToNadir16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodClosestToNadir24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodClosestToNadir32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodFirst16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodFirst24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodFirst32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodLast16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodLast24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodLast32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodLockRaster16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodLockRaster24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodLockRaster32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMaximum16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMaximum24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMaximum32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMean16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMean24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMean32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMinimum16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMinimum24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodMinimum32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodNone16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodNone24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodNone32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodNorthWest16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodNorthWest24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodNorthWest32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodSeamline16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodSeamline24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodSeamline32.json +1 -0
- package/assets/components/assets/icon/mosaicMethodSum16.json +1 -0
- package/assets/components/assets/icon/mosaicMethodSum24.json +1 -0
- package/assets/components/assets/icon/mosaicMethodSum32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{b2f9f0767dadf185120c.js → 00612d6e05b1c8647668.js} +1 -1
- package/assets/esri/core/workers/chunks/{d4d011eea16a89a5aad9.js → 0219c3f9408d3fa3c9a0.js} +1 -1
- package/assets/esri/core/workers/chunks/{f54546c155fba2fd3a7e.js → 05d7d8ff3e4cbad32580.js} +1 -1
- package/assets/esri/core/workers/chunks/{b1e275607d9754079f60.js → 079434fe765c53d304f2.js} +1 -1
- package/assets/esri/core/workers/chunks/{4f8782b3b6ad414409e8.js → 0a48b9734ab4c64a6f4f.js} +1 -1
- package/assets/esri/core/workers/chunks/{0eed612e82a279ac8d1e.js → 11b55e7e76e50fe11bbe.js} +1 -1
- package/assets/esri/core/workers/chunks/{ccc50f28f217e50cc2c3.js → 1427e7953c3d8c87c5e8.js} +1 -1
- package/assets/esri/core/workers/chunks/{184d7c8ea818bec5c462.js → 146b3699a9e8b1f2dcc2.js} +1 -1
- package/assets/esri/core/workers/chunks/{8ba7d44eff348004f084.js → 1a6d2d090b643a87408a.js} +1 -1
- package/assets/esri/core/workers/chunks/1b8cc83aa1179245b2dc.js +1 -0
- package/assets/esri/core/workers/chunks/{5e5225623977e61fd0ef.js → 213adc87c843d627c5d6.js} +1 -1
- package/assets/esri/core/workers/chunks/235efd948ae470a6f238.js +1 -0
- package/assets/esri/core/workers/chunks/{60d3b329e69f3cddb7f4.js → 265f69d153b7b6f07e42.js} +1 -1
- package/assets/esri/core/workers/chunks/{769b66cca8347f0f84db.js → 279bbd61b32577693a4a.js} +1 -1
- package/assets/esri/core/workers/chunks/290b065b377f9d2ee058.js +1 -0
- package/assets/esri/core/workers/chunks/29d3245261a7223124ed.js +1 -0
- package/assets/esri/core/workers/chunks/{0c6f2808c57ff820bfdd.js → 30551c1d3e4fa7be86c1.js} +2 -2
- package/assets/esri/core/workers/chunks/{0c6f2808c57ff820bfdd.js.LICENSE.txt → 30551c1d3e4fa7be86c1.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/335b539893569e3d7b82.js +1 -0
- package/assets/esri/core/workers/chunks/{78242f2bf742b33d99fa.js → 3795793643f4db64af0e.js} +1 -1
- package/assets/esri/core/workers/chunks/{38f9ede26098eb03ca2d.js → 3cf001abca8ad933bccf.js} +2 -2
- package/assets/esri/core/workers/chunks/{38f9ede26098eb03ca2d.js.LICENSE.txt → 3cf001abca8ad933bccf.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{dbaa4b8d37aab40d7bd1.js → 543eb46b55cacd6e1dbc.js} +2 -2
- package/assets/esri/core/workers/chunks/{dbaa4b8d37aab40d7bd1.js.LICENSE.txt → 543eb46b55cacd6e1dbc.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{93f792f5b94f3745b57d.js → 577f24923fa4d08360e4.js} +2 -2
- package/assets/esri/core/workers/chunks/{93f792f5b94f3745b57d.js.LICENSE.txt → 577f24923fa4d08360e4.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/5958af341014e13475d2.js +1 -0
- package/assets/esri/core/workers/chunks/{f46c4a69ef2f763e905b.js → 5d63dfa5a60c88e03b28.js} +1 -1
- package/assets/esri/core/workers/chunks/60f7cd05e88701f43d3f.js +1 -0
- package/assets/esri/core/workers/chunks/{26e0a0a13060cd3e4291.js → 626ba3a7dee952308566.js} +1 -1
- package/assets/esri/core/workers/chunks/7bfa18dd8771d4932533.js +1 -0
- package/assets/esri/core/workers/chunks/7cd32b10ed0e18e44ef2.js +1 -0
- package/assets/esri/core/workers/chunks/7ffa68d69c138db1295d.js +1 -0
- package/assets/esri/core/workers/chunks/8dd26b12c625d20196ed.js +319 -0
- package/assets/esri/core/workers/chunks/91f8547a13f0461045ef.js +1 -0
- package/assets/esri/core/workers/chunks/9661ee8569ee208e6237.js +1 -0
- package/assets/esri/core/workers/chunks/{c2f38c66fae2cdb57445.js → 96e5d192c8d23c1e324f.js} +1 -1
- package/assets/esri/core/workers/chunks/974742af7beb000c4b4a.js +1 -0
- package/assets/esri/core/workers/chunks/{e27fa1e84f16b7f19a90.js → 9850ff14bd9c7da81c65.js} +1 -1
- package/assets/esri/core/workers/chunks/{796cf1c2ca9955595836.js → 9b2ab27159500315fbc1.js} +1 -1
- package/assets/esri/core/workers/chunks/{a276980c06d5d311a37e.js → 9f416cc5673665f8c37c.js} +1 -1
- package/assets/esri/core/workers/chunks/a0c51c4c30a5f749dfc6.js +1 -0
- package/assets/esri/core/workers/chunks/a79511b926a2830bb160.js +1 -0
- package/assets/esri/core/workers/chunks/{fdcbd28f38bc485ac5e3.js → ab6ecd8eeec5ff761b34.js} +1 -1
- package/assets/esri/core/workers/chunks/{814d72abbfdd4552e4ec.js → ac9c6779771ec855da79.js} +2 -2
- package/assets/esri/core/workers/chunks/{814d72abbfdd4552e4ec.js.LICENSE.txt → ac9c6779771ec855da79.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{ef6e805c49e1afdf966b.js → c054198c6438cb57f188.js} +1 -1
- package/assets/esri/core/workers/chunks/c5d786166a5609b85276.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/{5bdd5ae2d2f23ef6b331.js → c87e2a63b96e0da77dfe.js} +1 -1
- package/assets/esri/core/workers/chunks/{601fc99426f0213b0769.js → cbec01223d51cdb9ee79.js} +1 -1
- package/assets/esri/core/workers/chunks/cc4dd739c4c7e3ccea3f.js +1 -0
- package/assets/esri/core/workers/chunks/{90c893959145827961ac.js → cd9343c78a7c3acdbbcd.js} +1 -1
- package/assets/esri/core/workers/chunks/d3a74087e076a3ae76ca.js +1 -0
- package/assets/esri/core/workers/chunks/{26fcbe053194bd78fcc3.js → d8474dca270b25705699.js} +1 -1
- package/assets/esri/core/workers/chunks/{5db336767959507c07e5.js → d8dc922f7466300b668f.js} +2 -2
- package/assets/esri/core/workers/chunks/{5db336767959507c07e5.js.LICENSE.txt → d8dc922f7466300b668f.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{96cddbbeef61a4f33f29.js → db5913824d5e5a2a8365.js} +1 -1
- package/assets/esri/core/workers/chunks/{48a1bb1e171dd06a7c6e.js → dd94585508f49863dc15.js} +1 -1
- package/assets/esri/core/workers/chunks/e524462c63834fae7e01.js +2 -0
- package/assets/esri/core/workers/chunks/{02176f84d6d57f1bc1c8.js.LICENSE.txt → e524462c63834fae7e01.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{e7e987558cf017c62458.js → ebfa4a0334401f5e004a.js} +1 -1
- package/assets/esri/core/workers/chunks/{736a11e64e5f03e3936b.js → f2cef954b58c6604642c.js} +64 -64
- package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
- 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/chunks/BloomBlur.glsl.js +7 -7
- package/chunks/BloomComposition.glsl.js +24 -25
- package/chunks/Bufferer-CicaNej1.js +1 -1
- package/chunks/Envelope.js +1 -1
- package/chunks/GeodeticDistanceCalculator-CcF1gMZX.js +1 -1
- package/chunks/Geometry.js +1 -1
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
- package/chunks/OperatorGeodeticLength.js +1 -1
- package/chunks/OperatorMultiPartToSinglePart.js +1 -1
- package/chunks/OperatorProximityGeodesic.js +1 -1
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/OperatorSimplifyOGC.js +5 -0
- package/chunks/Point2D.js +1 -1
- package/chunks/ProjectionTransformation.js +1 -1
- package/chunks/QuadraticBezier.js +1 -1
- package/chunks/cameraUtilsSpherical.js +1 -1
- package/chunks/languageUtils.js +1 -1
- package/chunks/relateOperator.js +1 -1
- package/chunks/sphere.js +1 -1
- package/chunks/vxlLayer.js +1 -1
- package/core/Collection.js +1 -1
- package/core/JSONSupport.js +1 -1
- package/core/SetUtils.js +1 -1
- package/{views/webgl/GLObjectType.js → core/support/jsonUtils.js} +1 -1
- package/core/urlUtils.js +1 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/operators/extendOperator.js +1 -1
- package/geometry/operators/gx/operatorAlphaShape.js +1 -1
- package/geometry/operators/gx/operatorAutoComplete.js +1 -1
- package/geometry/operators/gx/operatorLabelPoint.js +1 -1
- package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
- package/geometry/operators/gx/operatorLocateBetween.js +1 -1
- package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
- package/geometry/operators/gx/operatorSimplifyOGC.js +5 -0
- package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/operators/simplifyOGCOperator.d.ts +6 -0
- package/geometry/operators/simplifyOGCOperator.js +5 -0
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/support/normalizeUtilsSync.js +1 -1
- package/geometry/support/sphere.js +1 -1
- package/interfaces.d.ts +442 -113
- package/layers/DimensionLayer.js +1 -1
- package/layers/RouteLayer.js +1 -1
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/ViewshedLayer.js +1 -1
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/support/FieldsIndex.js +1 -1
- package/layers/support/VideoElement.js +1 -1
- package/layers/support/rasterDatasets/FunctionRaster.js +1 -1
- package/layers/support/rasterDatasets/TIFFRaster.js +1 -1
- package/layers/support/rasterFormats/TiffDecoder.js +1 -1
- package/layers/support/rasterFormats/{TiffTags.js → tiffTag.js} +1 -1
- package/layers/support/rasterFunctions/BandArithmeticFunction.js +1 -1
- package/layers/support/rasterFunctions/BaseRasterFunction.js +1 -1
- package/layers/support/rasterFunctions/ExtractBandFunction.js +1 -1
- package/layers/support/rasterFunctions/NDVIFunction.js +1 -1
- package/layers/support/rasterFunctions/RemapFunction.js +1 -1
- package/layers/support/rasterFunctions/rasterFunctionHelper.js +1 -1
- package/layers/support/videoUtils.js +5 -0
- package/package.json +2 -2
- package/portal/schemas/definitions.js +1 -1
- package/renderers/UniqueValueRenderer.js +1 -1
- package/renderers/support/colorRampUtils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/IconSymbol3DLayer.js +1 -1
- package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
- package/versionManagement/utils.js +1 -1
- package/views/2d/engine/webgl/meshing/Mesh.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
- package/views/2d/engine/webgl/textureUtils.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/support/DebugOverlay.js +1 -1
- package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
- package/views/3d/analysis/Slice/SliceTool.js +1 -1
- package/views/3d/analysis/Slice/SliceVisualization.js +1 -1
- package/views/3d/analysis/SliceAnalysisView3D.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedAnalysisVisualization.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedVisualization.js +1 -1
- package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
- package/views/3d/camera/constraintUtils/distance.js +1 -1
- package/views/3d/camera/intersectionUtils.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/atmosphereUtils.js +1 -1
- package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
- package/views/3d/interactive/visualElements/EngineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/LabelVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/LaserlineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MarkerVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/SlicePlaneVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ViewshedShapeVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/VisualElement.js +1 -1
- package/views/3d/interactive/visualElements/VisualElementResources.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
- package/views/3d/layers/graphics/pipeline/PipelineCommand.js +1 -1
- package/views/3d/layers/graphics/pipeline/Tile3DManager.js +1 -1
- package/views/3d/layers/graphics/pipeline/TileActionSynchronizer.js +5 -0
- package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
- package/views/3d/state/ConstraintsManager.js +1 -1
- package/views/3d/state/NearFarHeuristic.js +1 -1
- package/views/3d/state/ViewState.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/state/utils/navigationUtils.js +1 -1
- package/views/3d/support/cameraUtilsSpherical.js +1 -1
- package/views/3d/support/geometryUtils/sphere.js +1 -1
- package/views/3d/terrain/OverlayRenderTargets.js +1 -1
- package/views/3d/webgl/ManagedDepthTexture.js +1 -1
- package/views/3d/webgl/ManagedFBO.js +1 -1
- package/views/3d/webgl-engine/core/FBOCache.js +1 -1
- package/views/3d/webgl-engine/core/FBOCacheFormats.js +5 -0
- package/views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js +12 -14
- package/views/3d/webgl-engine/core/shaderLibrary/output/Emissions.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
- package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/lib/DepthRange.js +1 -1
- package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
- package/views/3d/webgl-engine/lib/Texture.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
- package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/interactive/Tooltip.js +1 -1
- package/views/interactive/tooltip/content/TooltipContent.js +1 -1
- package/views/layers/LineOfSightLayerView.d.ts +4 -0
- package/views/layers/LineOfSightLayerView.js +5 -0
- package/views/webgl/FBOAttachmentType.js +5 -0
- package/views/webgl/FramebufferObject.js +1 -1
- package/views/webgl/Renderbuffer.js +1 -1
- package/views/webgl/RenderbufferDescriptor.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/views/webgl/TextureDescriptor.js +1 -1
- package/webscene/InitialViewProperties.js +1 -1
- package/webscene/Presentation.js +1 -1
- package/webscene/Slide.js +1 -1
- package/webscene/SlideLegendInfo.js +1 -1
- package/webscene/background/ColorBackground.js +1 -1
- package/webscene/spec-certification/api.js +1 -1
- package/webscene/spec-certification/compare.js +1 -1
- package/webscene/spec-certification/index.js +1 -1
- package/webscene/spec-certification/spec.js +1 -1
- package/webscene/spec-certification/utils.js +1 -1
- package/webscene/support/Description.js +1 -1
- package/webscene/support/SlideElements.js +1 -1
- package/webscene/support/SlideEnvironment.js +1 -1
- package/webscene/support/SlideGround.js +1 -1
- package/webscene/support/SlideVisibleLayer.js +1 -1
- package/webscene/support/Title.js +1 -1
- package/webscene/support/analysisUtils.js +5 -0
- package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/support/SketchController.js +5 -0
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Feature/FeatureUtilityNetworkAssociationList.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/LayerList/LayerListItem.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/Widget.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/SnappingControls.js +1 -1
- package/assets/esri/core/workers/chunks/02176f84d6d57f1bc1c8.js +0 -2
- package/assets/esri/core/workers/chunks/244d2196bac5ef279436.js +0 -1
- package/assets/esri/core/workers/chunks/32f2e0c88046b39916cc.js +0 -1
- package/assets/esri/core/workers/chunks/388a763da712ca71ccf4.js +0 -1
- package/assets/esri/core/workers/chunks/5ffc3ca6c6a4d32e1282.js +0 -1
- package/assets/esri/core/workers/chunks/642a595353a86f3717e3.js +0 -1
- package/assets/esri/core/workers/chunks/82353e59ac6d909dcf41.js +0 -1
- package/assets/esri/core/workers/chunks/873327fc41edd3830afa.js +0 -319
- package/assets/esri/core/workers/chunks/93e9dfd1ba8f393c6c47.js +0 -1
- package/assets/esri/core/workers/chunks/95379fdd6917c8a84c71.js +0 -1
- package/assets/esri/core/workers/chunks/9b21dc4659922cc577cb.js +0 -1
- package/assets/esri/core/workers/chunks/a197c86d42cc9ce21924.js +0 -1
- package/assets/esri/core/workers/chunks/d81bebbb6fe000200d35.js +0 -1
- package/assets/esri/core/workers/chunks/daa54c8a317c27881763.js +0 -1
- package/assets/esri/core/workers/chunks/dd8e72d6784a8ebc115d.js +0 -1
- package/assets/esri/core/workers/chunks/e15c612caadf7bac4ab9.js +0 -1
- package/assets/esri/core/workers/chunks/e9fba86036b8fe700a41.js +0 -1
- package/views/3d/webgl/formats.js +0 -5
package/Graphic.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as t}from"./chunks/tslib.es6.js";import e from"./PopupTemplate.js";import r from"./core/Clonable.js";import{deprecatedConstructorSignature as
|
|
5
|
+
import{_ as t}from"./chunks/tslib.es6.js";import e from"./PopupTemplate.js";import r from"./core/Clonable.js";import{deprecatedConstructorSignature as s}from"./core/deprecate.js";import i from"./core/JSONSupport.js";import o from"./core/Logger.js";import{when as a}from"./core/reactiveUtils.js";import{generateUID as l}from"./core/uid.js";import{property as n}from"./core/accessorSupport/decorators/property.js";import"./core/has.js";import"./core/RandomLCG.js";import{subclass as p}from"./core/accessorSupport/decorators/subclass.js";import{isSerializable as h}from"./core/support/jsonUtils.js";import{fromJSON as u}from"./geometry/support/jsonUtils.js";import{geometryTypes as m}from"./geometry/support/typeUtils.js";import{symbolTypes as g}from"./symbols/support/typeUtils.js";var y;function c(t){if(!t)return null;const e={};for(const r in t){const s=u(t[r]);s&&(e[r]=s)}return 0!==Object.keys(e).length?e:null}function f(t){if(null==t)return null;const e={};for(const r in t){const s=t[r];s&&(e[r]=s.toJSON())}return 0!==Object.keys(e).length?e:null}let b=class extends(r.ClonableMixin(i)){static{y=this}constructor(t){super(t),this.isAggregate=!1,this.layer=null,this.origin=null,this.popupTemplate=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:l(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&s(o.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(t){const e=this._get("aggregateGeometries");JSON.stringify(e)!==JSON.stringify(t)&&this._set("aggregateGeometries",t)}set attributes(t){const e=this._get("attributes");e!==t&&(this._set("attributes",t),this._notifyLayer("attributes",e,t))}set geometry(t){const e=this._get("geometry");e!==t&&(this._set("geometry",t),"mesh"!==t?.type&&this._notifyLayer("geometry",e,t))}set symbol(t){const e=this._get("symbol");e!==t&&(this._set("symbol",t),this._notifyLayer("symbol",e,t))}get version(){return this._version}set visible(t){const e=this._get("visible");e!==t&&(this._set("visible",t),this._notifyLayer("visible",e,t))}cloneShallow(){return new y({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(t=!1){if(this.popupTemplate)return this.popupTemplate;const e=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const r of[e,this.sourceLayer,this.layer])if(r){if("popupTemplate"in r&&r.popupTemplate)return r.popupTemplate;if(t&&"defaultPopupTemplate"in r&&null!=r.defaultPopupTemplate)return r.defaultPopupTemplate}return null}getAttribute(t){return this.attributes?.[t]}setAttribute(t,e){if(this.attributes){const r=this.getAttribute(t);this.attributes[t]=e,this._notifyLayer("attributes",r,e,t)}else this.attributes={[t]:e},this._notifyLayer("attributes",void 0,e,t)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{aggregateGeometries:f(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:h(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(t={}){const{geometry:e}=this;if("mesh"===e?.type){const r={origin:e.origin,transform:e.transform};this._notifyLayer("origin-transform",r,r,t.action)}}_notifyLayer(t,e,r,s){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:t,oldValue:e,newValue:r};"origin-transform"===t&&(i.action=s),"attributes"===t&&(i.attributeName=s),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([a((()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0),(({localMatrix:t,origin:e})=>{this._lastMeshTransform.localMatrix===t&&this._lastMeshTransform.origin===e||(this._lastMeshTransform.localMatrix=t,this._lastMeshTransform.origin=e,this.notifyMeshTransformChanged())})),a((()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0),(()=>{const t=this.geometry;"mesh"===t?.type&&t.vertexSpace.origin?(this._lastMeshTransform.localMatrix=t.transform?.localMatrix,this._lastMeshTransform.origin=t.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)}),{equals:(t,e)=>t===e,sync:!0})])}};t([n({value:null,json:{read:c}})],b.prototype,"aggregateGeometries",null),t([n({value:null})],b.prototype,"attributes",null),t([n({value:null,types:m,json:{read:u}})],b.prototype,"geometry",null),t([n({type:Boolean})],b.prototype,"isAggregate",void 0),t([n({clonable:"reference"})],b.prototype,"layer",void 0),t([n({clonable:"reference"})],b.prototype,"origin",void 0),t([n({type:e})],b.prototype,"popupTemplate",void 0),t([n({clonable:"reference"})],b.prototype,"sourceLayer",void 0),t([n({value:null,types:g})],b.prototype,"symbol",null),t([n({clonable:!1,json:{read:!1,write:!1}})],b.prototype,"_version",void 0),t([n({type:Boolean,value:!0})],b.prototype,"visible",null),b=y=t([p("esri.Graphic")],b);const d=b;export{d as default};
|
package/WebScene.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as e}from"./chunks/tslib.es6.js";import{version as t}from"./kernel.js";import r from"./Map.js";import i from"./Viewpoint.js";import o from"./core/Collection.js";import s from"./core/Error.js";import{clone as a}from"./core/lang.js";import n from"./core/Loadable.js";import{loadAll as l}from"./core/loadAll.js";import p from"./core/Logger.js";import{destroyMaybe as c}from"./core/maybe.js";import{MultiOriginJSONMixin as d,MultiOriginJSONSupport as h}from"./core/MultiOriginJSONSupport.js";import m from"./core/Promise.js";import{debounce as u}from"./core/promiseUtils.js";import{on as y,watch as w}from"./core/reactiveUtils.js";import{urlToObject as f,addQueryParameter as g}from"./core/urlUtils.js";import b from"./core/Warning.js";import{property as v}from"./core/accessorSupport/decorators/property.js";import"./core/has.js";import{reader as S}from"./core/accessorSupport/decorators/reader.js";import{subclass as _}from"./core/accessorSupport/decorators/subclass.js";import{writer as A}from"./core/accessorSupport/decorators/writer.js";import{updateOrigins as I}from"./core/accessorSupport/originUtils.js";import{readLoadable as j}from"./core/accessorSupport/read.js";import L from"./geometry/Extent.js";import V from"./geometry/HeightModelInfo.js";import{canProjectWithoutEngine as R}from"./geometry/projection.js";import E from"./geometry/SpatialReference.js";import{validateWebSceneError as P}from"./geometry/support/heightModelInfoUtils.js";import{fromJSON as M}from"./geometry/support/jsonUtils.js";import{isEarth as O}from"./geometry/support/spatialReferenceUtils.js";import U from"./portal/Portal.js";import C from"./portal/PortalItem.js";import{createForItemWrite as N}from"./portal/support/jsonContext.js";import{toggleTypeKeyword as T,typeKeyword as x}from"./portal/support/portalItemUtils.js";import{hasDeveloperBasemapLayer as G}from"./support/basemapUtils.js";import F from"./support/MapFloorInfo.js";import{WebSceneTag as W}from"./support/tagSymbols.js";import{createSchemaValidationError as J}from"./support/webSceneUtils.js";import $ from"./time/TimeExtent.js";import{ViewingMode as B}from"./views/ViewingMode.js";import{isSpatialReferenceSupported as q}from"./views/support/spatialReferenceSupport.js";import{SaveOperationType as k}from"./webdoc/interfaces.js";import D from"./webdoc/Widgets.js";import{updateItemWithResources as H,saveResources as K}from"./webdoc/support/resourceUtils.js";import{evaluateWriteErrors as z}from"./webdoc/support/saveUtils.js";import{getOptimalThumbnailSize as Q}from"./webdoc/support/thumbnailUtils.js";import{isCopyAllowed as X,initializeNewItem as Y}from"./webdoc/support/webdocSaveUtils.js";import Z from"./webscene/ApplicationProperties.js";import ee from"./webscene/Environment.js";import te from"./webscene/InitialViewProperties.js";import re from"./webscene/Presentation.js";import ie from"./webscene/TransportationNetwork.js";import{Version as oe}from"./webscene/Version.js";import{alphaCutoff as se}from"./webscene/support/AlphaCutoff.js";import{getLoader as ae}from"./webscene/support/schemaValidatorLoader.js";var ne;const le=new oe(1,37),pe=()=>{const e=8,t=[],r=le.major;for(let i=e;i<=le.minor;i++)t.push(`${r}.${i}`);return t},ce="Web Scene";let de=class extends(n.LoadableMixin(m.EsriPromiseMixin(d(r)))){static{ne=W}constructor(e){super(e),this[ne]=!0,this._layersIdGCTimeoutId=void 0,this._updateFromPromise=null,this.applicationProperties=null,this.clippingArea=null,this.clippingEnabled=!1,this.floorInfo=null,this.heightModelInfo=void 0,this.sourceVersion=null,this.transportationNetworks=null,this.presentation=new re,this.initialViewProperties=new te,this.portalItem=null,this.resourceInfo=null,this.widgets=null,this._debouncedSaveOperations=u((async(e,t,r)=>{switch(e){case k.SAVE:return this._saveImpl(t);case k.SAVE_AS:return this._saveAsImpl(r,t)}})),this._resourceReferences={portalItem:null,paths:[]},this.authoringApp=null,this.authoringAppVersion=null,this._isAuthoringAppSetByUser=!1,this._isAuthoringAppVersionSetByUser=!1}initialize(){if(this.when().catch((e=>{p.getLogger(this).error("#load()","Failed to load web scene",e)})),this.resourceInfo){let t;try{t=this._validateJSON(this.resourceInfo)}catch(e){return void this.addResolvingPromise(Promise.reject(e))}this.read(t),this.addResolvingPromise(this._validateSpatialReference()),this.addResolvingPromise(this._validateHeightModelInfo())}this.addHandles(y((()=>this.allLayers),"change",(()=>this._scheduleLayersIdGC())))}destroy(){this._unscheduleLayersIdGC(),this.presentation&&this.presentation.destroy(),this.portalItem=c(this.portalItem)}writeClippingArea(e,t){t.clippingArea||(t.clippingArea={}),t.clippingArea.geometry=e.toJSON()}readClippingEnabled(e,t){return!!t.clippingArea&&!!t.clippingArea.clip}writeClippingEnabled(e,t){this.clippingArea&&(t.clippingArea||(t.clippingArea={}),t.clippingArea.clip=e)}writeLayers(e,t,r,i){t[r]=this._layersToJSON(e,"operational-layers",i)}readSourceVersion(e,t){const[r,i]=t.version.split(".");return new oe(parseInt(r,10),parseInt(i,10))}writeSourceVersion(e,t,r){t[r]=`${le.major}.${le.minor}`}writeTables(e,t,r,i){const o=this._layersToJSON(e,"tables",i);o.length&&(t[r]=o)}get thumbnailUrl(){return this.portalItem?.thumbnailUrl??null}set thumbnailUrl(e){e?this._override("thumbnailUrl",e):(this._clearOverride("thumbnailUrl"),this.clear("thumbnailUrl","user"))}set authoringApp(e){this._isAuthoringAppSetByUser=!0,this._set("authoringApp",e)}writeAuthoringApp(e,t){e&&this._isAuthoringAppSetByUser?t.authoringApp=e:t.authoringApp="ArcGIS API for JavaScript"}set authoringAppVersion(e){this._isAuthoringAppVersionSetByUser=!0,this._set("authoringAppVersion",e)}writeAuthoringAppVersion(e,r){e&&this._isAuthoringAppVersionSetByUser?r.authoringAppVersion=e:r.authoringAppVersion=t}writeGround(e,t,r,i){t[r]=e?e.write({},i):{transparency:0,layers:[]}}readInitialViewProperties(e,t){const r={};t.initialState?.environment&&(r.environment=ee.fromJSON(t.initialState.environment)),r.spatialReference=t.spatialReference?E.fromJSON(t.spatialReference):E.WebMercator,r.viewingMode=t.viewingMode??"global",t.initialState?.viewpoint&&(r.viewpoint=i.fromJSON(t.initialState.viewpoint));const o=t.initialState?.timeExtent;return null!=o&&(r.timeExtent=$.fromArray(o)),new te(r)}get spatialReference(){return this.initialViewProperties?.spatialReference??E.WebMercator}get viewingMode(){return this.initialViewProperties?.viewingMode??"global"}load(e){const t=this.ground;return this.addResolvingPromise(this._loadFromSource().then((()=>{t&&t!==this.ground&&t.destroy(),this._validateFeatureLayerSymbolVisibility()}))),Promise.resolve(this)}loadAll(){return l(this,(e=>{const t=this.presentation&&this.presentation.slides;e(this.ground,this.basemap,this.layers,t&&t.map((e=>e.basemap)),this.tables)}))}read(e,t){t={...t,origin:"web-scene"};const r=this._isAuthoringAppVersionSetByUser,i=this._isAuthoringAppSetByUser;if(j(this,e,(t=>super.read(e,t)),t),i||(this._isAuthoringAppSetByUser=!1),r||(this._isAuthoringAppVersionSetByUser=!1),e.baseMap&&Array.isArray(e.baseMap.elevationLayers)&&this.sourceVersion?.supportsVisibleElevationLayersInSlides){const t=e.baseMap.elevationLayers.map((e=>({id:e.id}))),r=this.presentation.slides,i=(e,t)=>e.visibleLayers.some((e=>e.id===t)),o=t.filter((e=>!r.some((t=>i(t,e.id)))));r.forEach((e=>{e.visibleLayers.addMany(o)}))}}_writeBasemapElevationLayers(e){const t=e.ground?.layers;!e.baseMap&&t?.length&&(e.baseMap={title:"Basemap",baseMapLayers:[]}),e.baseMap&&(e.baseMap.elevationLayers=a(t))}_layersToJSON(e,t,r){const i={...r,layerContainerType:t};return e.map((e=>this._verifyWritableLayer(e,r)?e.write({},i):null)).filter((e=>!!e)).toArray()}_verifyWritableLayer(e,t){return!!e.persistenceEnabled&&("write"in e||(t?.messages&&t.messages.push(new s("layer:unsupported",`Layers (${e.title}, ${e.id}) of type '${e.declaredClass}' cannot be persisted in web scenes`,{layer:e})),!1))}write(e,t){if("loaded"!==this.loadStatus){const e=new s("webscene:not-loaded","Web scene must be loaded before it can be serialized");throw p.getLogger(this).error("#toJSON()","Web scene must be loaded before it can be serialized",this.loadError||this.loadStatus),e}this._runLayersIdGC();const r=!t?.messages;t={messages:[],...t,origin:"web-scene"};const i=super.write(e,t);if(r){const e=t.messages?.filter((e=>"web-document-write:property-required"===e.name))??[];if(e.length){const t=new s("web-document:property-required","One or more properties that are required in the webscene JSON are missing, see details for the specific errors",{errors:e});throw p.getLogger(this).error("#toJSON()","One or more properties that are required in the webscene JSON are missing",e),t}}return this._writeBasemapElevationLayers(i),i}async save(e){return this._debouncedSaveOperations(k.SAVE,e)}async _saveImpl(e){if(!this.portalItem)throw new s("webscene:portal-item-not-set","Portal item to save to has not been set on the WebScene");if(this.portalItem?.type!==ce)throw new s("webscene:portal-item-wrong-type",`Portal item needs to have type "${ce}"`);const t=this._updateFromPromise;await this._ensureLoadBeforeSave();const r=this._enableVerifyItemRelativeUrls(N(this.portalItem,"web-scene",!0)),i=this.write({},r);return await Promise.all(r.resources.pendingOperations),await this._verifySave(i,r,k.SAVE,e),this._updateTypeKeywords(this.portalItem),await H(this.portalItem,i,this._resourceReferences,r),I(r),t&&await t,await this._saveThumbnail(),this.portalItem}async saveAs(e,t){return this._debouncedSaveOperations(k.SAVE_AS,t,e)}async _saveAsImpl(e,t){let r=C.from(e);if(!r)throw new s("webscene:portal-item-required","saveAs requires a portal item to save to");r.id&&(r=r.clone(),r.id=null);const i=r.portal||U.getDefault();await this._ensureLoadBeforeSave(),r.type=ce,r.portal=i;const o=this._enableVerifyItemRelativeUrls(N(r,"web-scene",!0)),a=this.write({},o);await Promise.all(o.resources.pendingOperations),await this._verifySaveAs(a,o,t);const n=this.thumbnailUrl,l=!this._isOverridden("thumbnailUrl");this._updateTypeKeywords(r),await i.signIn();const p=this.portalItem,c={item:p,authenticated:!(!p?.id||!p.portal.user)},{copyAllowed:d,itemReloaded:m}=await X(c,i);if(c.authenticated||=m,!d)throw new s(`${o.name}:save-as-copy-not-allowed`,"Owner of this map does not allow others to save a copy");const u={...t,copyAllResources:!0};return await Y(r,c,a,u)&&(this._resourceReferences.portalItem=r),await K(this._resourceReferences,o),this.portalItem=r,h.prototype.read.call(this,{version:a.version,authoringApp:a.authoringApp,authoringAppVersion:a.authoringAppVersion},{name:"web-scene",ignoreDefaults:!0,url:r.itemUrl?f(r.itemUrl):void 0}),I(o),n&&(this.thumbnailUrl=l?g(n,"w","8192"):n),o.portalItem=r,await this._saveThumbnail(),r}async _saveThumbnail(){this._isOverridden("thumbnailUrl")&&(await(this.portalItem?.updateThumbnail({thumbnail:this.thumbnailUrl})),this._clearOverride("thumbnailUrl"),this.clear("thumbnailUrl","user"))}async _verifySave(e,t,r,i){if(!O(this.spatialReference))throw new s("webscene:unsupported-spatial-reference","Webscenes using spatial reference systems from Mars or Moon can not be saved currently.");const{ignoreUnsupported:o,requiredPropertyChecksDisabled:a,strictSchemaValidationEnabled:n}=i||{};z(t,{errorName:"webscene:save"},{ignoreUnsupported:o,supplementalUnsupportedErrors:["scenemodification:unsupported"],requiredPropertyChecksDisabled:a});const l=ae();if(n&&l){const t=(await l()).validate(e);if(!t.length)return;const i=`webscene did not validate:\n${t.join("\n")}`;p.getLogger(this).error(`${r===k.SAVE_AS?"saveAs":"save"}(): ${i}`);const o=t.map((e=>new s("webscene:schema-validation",e)));throw J(o)}}_verifySaveAs(e,t,r){return this._verifySave(e,t,k.SAVE_AS,r)}verifySaveAs(e){const t=this._enableVerifyItemRelativeUrls({origin:"web-scene",messages:[]}),r=this.write({},t);return this._verifySaveAs(r,t,e)}canNotSaveAs(){return!1}async updateFrom(e,t={}){const r=this._updateFrom(e,t);this._updateFromPromise=r,await r;this._updateFromPromise===r&&(this._updateFromPromise=null)}async _updateFrom(e,t={}){if(await e.whenReady(),!t.environmentExcluded&&e.environment&&(this.initialViewProperties.environment=ee.prototype.clone.apply(e.environment)),!t.viewpointExcluded&&e.viewpoint&&(this.initialViewProperties.viewpoint=e.viewpoint.clone()),this.initialViewProperties.spatialReference=e.spatialReference.clone(),this.initialViewProperties.viewingMode=e.viewingMode,this.initialViewProperties.timeExtent=e.timeExtent?.clone()??null,null!=e.clippingArea?e.clippingArea!==this.clippingArea&&(this.clippingArea=e.clippingArea.clone(),this.clippingEnabled=!0):this.clippingEnabled=!1,e.heightModelInfo&&(this.heightModelInfo=e.heightModelInfo.clone()),e.map===this)for(const r of e.allLayerViews){const e="visible";e in r&&e in r.layer&&r._isOverridden(e)&&(r.layer[e]=r[e])}if(!t.widgetsExcluded)for(const r of e.persistableViewModels)r.updateWebDocument(this);(!1===t.thumbnailExcluded||null==t.thumbnailExcluded&&!t.viewpointExcluded)&&await this._updateFromThumbnail(e,t.thumbnailSize??void 0)}async _updateFromThumbnail(e,t){const r=Q(e,t),i=await e.takeScreenshot({format:"jpg",width:r.width,height:r.height,disableDecorations:!0});this.thumbnailUrl=i.dataUrl}_loadFromSource(){return this.resourceInfo?this._loadFromJSON(this.resourceInfo,{origin:"web-scene"}):this.portalItem?.id?this._loadFromItem(this.portalItem):this._loadObjectsWithLayers()}_readAndLoadFromJSON(e,t){const r=this._validateJSON(e);return this.read(r,t),this._loadFromJSON(r,t)}_extractOperationalLayers(e){const t=[];if(!this.sourceVersion?.supportsGround&&e.baseMap&&Array.isArray(e.baseMap.elevationLayers))for(const o of e.baseMap.elevationLayers)t.push(o);const r=[],i=e=>(e.layers&&(e.layers=e.layers.filter(i)),"ArcGISTiledElevationServiceLayer"!==e.layerType||(this.sourceVersion?.supportsGround||r.push(e),!1));return{operationalLayers:e.operationalLayers?e.operationalLayers.filter(i):[],operationalElevationLayers:r,basemapElevationLayers:t}}async _loadFromJSON(e,t){const r=new o;await this._validateSpatialReference(),await this._validateHeightModelInfo();const{populateOperationalLayers:i}=await import("./layers/support/layersCreator.js"),{operationalLayers:s,operationalElevationLayers:a,basemapElevationLayers:n}=this._extractOperationalLayers(e),l=[],p={context:{...t,layerContainerType:"operational-layers"}};if(this.portalItem&&(p.context.portal=this.portalItem.portal||U.getDefault()),n.length>0){const e={...p,context:{...p.context,layerContainerType:"ground"}};e.defaultLayerType="ArcGISTiledElevationServiceLayer",l.push(i(this.ground.layers,n,e))}if(a.length>0){const e={...p,context:{...p.context,layerContainerType:"ground"}};e.defaultLayerType="ArcGISTiledElevationServiceLayer",l.push(i(r,a,e))}s&&s.length>0&&l.push(i(this.layers,s,p)),e.tables?.length&&l.push(i(this.tables,e.tables,{...p,context:{...p.context,layerContainerType:"tables"},defaultLayerType:"ArcGISFeatureLayer"})),await Promise.allSettled(l),await this._loadObjectsWithLayers(),this.ground.layers.addMany(r.filter((e=>"base-elevation"===e.type||"elevation"===e.type)))}async _ensureLoadBeforeSave(){await this.load(),await this._loadObjectsWithLayers();const e=[],t=[...this.allLayers.items];for(const{basemap:r}of this.presentation.slides.items)r&&(t.push(...r.baseLayers.items),t.push(...r.referenceLayers.items));for(const r of t)if("beforeSave"in r&&"function"==typeof r.beforeSave){const t=r.beforeSave();t&&e.push(t)}await Promise.allSettled(e)}async _loadObjectsWithLayers(){const e=[];this.ground&&e.push(this.ground.load()),this.basemap&&e.push(this.basemap.load()),this.presentation.slides.forEach((t=>{t.basemap&&e.push(t.basemap.load())})),await Promise.allSettled(e)}async _loadFromItem(e){if(await e.load().catch((e=>{throw new s("webscene:load-portal-item","Failed to load portal item",{error:e})})),"Web Scene"!==e.type)throw new s("webscene:invalid-portal-item","Invalid portal item type '${type}', expected 'Web Scene'",{type:e.type});const t=await e.fetchData();this.resourceInfo=t;const r={origin:"web-scene",url:f(e.itemUrl),portal:e.portal||U.getDefault(),portalItem:e,readResourcePaths:[]};await this._readAndLoadFromJSON(t,r),this._resourceReferences={portalItem:e,paths:r.readResourcePaths??[]}}_validateSpatialReference(){const e=this.initialViewProperties,t=this._sceneSpatialReference;let r;if("local"!==e.viewingMode){if(!q(t,B.Global))return Promise.reject(new s("webscene:unsupported-spatial-reference","Unsupported spatial reference (${spatialReference.wkid}) in global mode, only Web Mercator, WGS84 GCS or CGCS2000 are supported",{spatialReference:t,viewingMode:e.viewingMode}));r=e=>!e||R(e,t)}else{if(!q(t,B.Local))return Promise.reject(new s("webscene:unsupported-spatial-reference","Unsupported spatial reference (${spatialReference.wkid}) in local mode, only projected coordinate systems are supported",{spatialReference:t,viewingMode:e.viewingMode}));r=e=>!e||e.equals(t)}const i=e=>e?.camera?.position.spatialReference??e?.targetGeometry?.spatialReference,o=e.viewpoint,a=i(o);if(a&&!r(a))return Promise.reject(new s("webscene:incompatible-camera-spatial-reference","Camera spatial reference (${cameraSpatialReference.wkid}) is incompatible with the scene spatial reference (${sceneSpatialReference.wkid})",{cameraSpatialReference:a,sceneSpatialReference:t,viewingMode:e.viewingMode}));const n=this.presentation.slides.find((e=>!r(i(e.viewpoint))));if(n){const r=i(n.viewpoint);return Promise.reject(new s("webscene:incompatible-slide-spatial-reference","Slide spatial reference (${slideSpatialReference.wkid}) is incompatible with the scene spatial reference (${sceneSpatialReference.wkid})",{slideSpatialReference:r,sceneSpatialReference:t,viewingMode:e.viewingMode}))}return Promise.resolve()}_validateHeightModelInfo(){const e=this._sceneSpatialReference,t=P(this.heightModelInfo,e);return t?Promise.reject(t):Promise.resolve()}_validateFeatureLayerSymbolVisibility(){this.sourceVersion?.greaterEqual(1,35)||this.layers.forEach((e=>{"feature"===e.type&&e.addHandles(w((()=>e.loaded),(()=>{"on-the-ground"===e.elevationInfo?.mode&&"simple"===e.renderer?.type&&"polygon-3d"===e.renderer.symbol?.type&&e.renderer.symbol.symbolLayers.some((t=>"fill"===t.type&&null!=t.material&&((!t.material.color||t.material.color.a*e.opacity<se)&&(e.loadWarnings.push(new b("feature-layer:invisible-draped-symbols","FeatureLayer has fully transparent symbols which will no longer render or highlight",{layer:e})),!0))))}),{once:!0,sync:!0}))}))}_validateJSON(e){const t=oe.parse(e.version||"","webscene");return le.validate(t),e.version=`${t.major}.${t.minor}`,1===t.major&&t.minor<=2&&(e.spatialReference=E.WebMercator.toJSON()),e}_updateTypeKeywords(e){T(e,x.LOCAL_SCENE,"local"===this.initialViewProperties.viewingMode),T(e,x.DEVELOPER_BASEMAP,G(this.basemap)||this.presentation.slides.some((({basemap:e})=>!!e&&G(e)))),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter(((e,t,r)=>r.indexOf(e)===t)))}get _sceneSpatialReference(){return this.initialViewProperties.spatialReference||E.WebMercator}get _verifyItemRelativeRootPath(){return this.portalItem?.itemUrl?f(this.portalItem.itemUrl).path:null}_enableVerifyItemRelativeUrls(e){const t=this._verifyItemRelativeRootPath;return t&&(e.verifyItemRelativeUrls={rootPath:t,writtenUrls:[]}),e}_unscheduleLayersIdGC(){this._layersIdGCTimeoutId&&(clearTimeout(this._layersIdGCTimeoutId),this._layersIdGCTimeoutId=0)}_scheduleLayersIdGC(){this._unscheduleLayersIdGC(),this._layersIdGCTimeoutId=setTimeout((()=>{this._layersIdGCTimeoutId=0,this._runLayersIdGC()}),3e3)}_runLayersIdGC(){this._unscheduleLayersIdGC();const e=this.applicationProperties?.viewing?.search,t=e=>this.allLayers.some((t=>t.id===e&&t.persistenceEnabled));e?.layers&&(e.layers=e.layers.filter((e=>t(e.id))));const r=this.presentation&&this.presentation.slides;r&&r.forEach((e=>{e.visibleLayers&&(e.visibleLayers=e.visibleLayers.filter((e=>t(e.id))))}))}static fromJSON(e){if(!e)throw new s("webscene:empty-resource","Expected a JSON resource but got nothing");return new this({resourceInfo:e})}static{this.version=`${le.major}.${le.minor}`}};e([v({type:Z,json:{write:!0}})],de.prototype,"applicationProperties",void 0),e([v({type:L,json:{read:{source:"clippingArea.geometry",reader:M},write:{target:"clippingArea.geometry"}}})],de.prototype,"clippingArea",void 0),e([A("clippingArea")],de.prototype,"writeClippingArea",null),e([v({type:Boolean,json:{write:{target:"clippingArea.clip"}}})],de.prototype,"clippingEnabled",void 0),e([S("clippingEnabled",["clippingArea"])],de.prototype,"readClippingEnabled",null),e([A("clippingEnabled")],de.prototype,"writeClippingEnabled",null),e([v({type:F,json:{read:{source:"mapFloorInfo"},write:{target:"mapFloorInfo"}}})],de.prototype,"floorInfo",void 0),e([v({type:V,json:{write:!0}})],de.prototype,"heightModelInfo",void 0),e([v({json:{write:{target:"operationalLayers",ignoreOrigin:!0}}})],de.prototype,"layers",void 0),e([A("layers")],de.prototype,"writeLayers",null),e([v({readOnly:!0,type:oe,json:{type:pe(),write:{ignoreOrigin:!0,target:"version",isRequired:!0,overridePolicy:()=>({enabled:!0,allowNull:!0,ignoreOrigin:!0})}}})],de.prototype,"sourceVersion",void 0),e([S("sourceVersion",["version"])],de.prototype,"readSourceVersion",null),e([A("sourceVersion")],de.prototype,"writeSourceVersion",null),e([v({json:{read:!1,write:{enabled:!0,ignoreOrigin:!0}}})],de.prototype,"tables",void 0),e([A("tables")],de.prototype,"writeTables",null),e([v()],de.prototype,"thumbnailUrl",null),e([v({type:String,json:{write:{writerEnsuresNonNull:!0,ignoreOrigin:!0}}})],de.prototype,"authoringApp",null),e([A("authoringApp")],de.prototype,"writeAuthoringApp",null),e([v({type:String,json:{write:{writerEnsuresNonNull:!0,ignoreOrigin:!0}}})],de.prototype,"authoringAppVersion",null),e([A("authoringAppVersion")],de.prototype,"writeAuthoringAppVersion",null),e([v({json:{write:{isRequired:!0,allowNull:!0,ignoreOrigin:!0,enabled:!0}}})],de.prototype,"ground",void 0),e([A("ground")],de.prototype,"writeGround",null),e([v({type:o.ofType(ie),json:{write:!0}})],de.prototype,"transportationNetworks",void 0),e([v({type:re,nonNullable:!0,json:{write:{ignoreOrigin:!0,writer:(e,t,r,i)=>{if(e.slides&&e.slides.length>0){const r={...i,isPresentation:!0};t.presentation=e.write({},r)}}}}})],de.prototype,"presentation",void 0),e([v({type:te,nonNullable:!0,json:{write:{target:"initialState",isRequired:!0,ignoreOrigin:!0},default:()=>new te({viewingMode:"global",spatialReference:E.WebMercator})}})],de.prototype,"initialViewProperties",void 0),e([S("initialViewProperties",["initialState.timeExtent","initialState.environment","initialState.viewpoint","spatialReference","viewingMode"])],de.prototype,"readInitialViewProperties",null),e([v({type:E,json:{read:!1,write:{isRequired:!0,ignoreOrigin:!0}}})],de.prototype,"spatialReference",null),e([v({type:["local","global"],json:{read:!1,write:{isRequired:!0,ignoreOrigin:!0}}})],de.prototype,"viewingMode",null),e([v({type:C})],de.prototype,"portalItem",void 0),e([v()],de.prototype,"resourceInfo",void 0),e([v({type:D,json:{write:!0}})],de.prototype,"widgets",void 0),de=e([_("esri.WebScene")],de);const he=de;export{he as default};
|
|
5
|
+
import{_ as e}from"./chunks/tslib.es6.js";import{version as t}from"./kernel.js";import r from"./Map.js";import i from"./core/Collection.js";import o from"./core/Error.js";import{clone as s}from"./core/lang.js";import a from"./core/Loadable.js";import{loadAll as n}from"./core/loadAll.js";import l from"./core/Logger.js";import{destroyMaybe as p}from"./core/maybe.js";import{MultiOriginJSONMixin as c,MultiOriginJSONSupport as d}from"./core/MultiOriginJSONSupport.js";import h from"./core/Promise.js";import{debounce as m}from"./core/promiseUtils.js";import{on as u,watch as y}from"./core/reactiveUtils.js";import{urlToObject as w,addQueryParameter as f}from"./core/urlUtils.js";import g from"./core/Warning.js";import{property as b}from"./core/accessorSupport/decorators/property.js";import"./core/has.js";import{reader as v}from"./core/accessorSupport/decorators/reader.js";import{subclass as _}from"./core/accessorSupport/decorators/subclass.js";import{writer as S}from"./core/accessorSupport/decorators/writer.js";import{updateOrigins as A}from"./core/accessorSupport/originUtils.js";import{readLoadable as I}from"./core/accessorSupport/read.js";import j from"./geometry/Extent.js";import L from"./geometry/HeightModelInfo.js";import{canProjectWithoutEngine as V}from"./geometry/projection.js";import P from"./geometry/SpatialReference.js";import{validateWebSceneError as R}from"./geometry/support/heightModelInfoUtils.js";import{fromJSON as E}from"./geometry/support/jsonUtils.js";import{isEarth as M}from"./geometry/support/spatialReferenceUtils.js";import O from"./portal/Portal.js";import U from"./portal/PortalItem.js";import{createForItemWrite as C}from"./portal/support/jsonContext.js";import{toggleTypeKeyword as T,typeKeyword as N}from"./portal/support/portalItemUtils.js";import{hasDeveloperBasemapLayer as x}from"./support/basemapUtils.js";import F from"./support/MapFloorInfo.js";import{WebSceneTag as G}from"./support/tagSymbols.js";import{createSchemaValidationError as W}from"./support/webSceneUtils.js";import{ViewingMode as $}from"./views/ViewingMode.js";import{isSpatialReferenceSupported as J}from"./views/support/spatialReferenceSupport.js";import{SaveOperationType as k}from"./webdoc/interfaces.js";import B from"./webdoc/Widgets.js";import{updateItemWithResources as q,saveResources as H}from"./webdoc/support/resourceUtils.js";import{evaluateWriteErrors as D}from"./webdoc/support/saveUtils.js";import{getOptimalThumbnailSize as K}from"./webdoc/support/thumbnailUtils.js";import{isCopyAllowed as z,initializeNewItem as Q}from"./webdoc/support/webdocSaveUtils.js";import X from"./webscene/ApplicationProperties.js";import Y from"./webscene/Environment.js";import Z from"./webscene/InitialViewProperties.js";import ee from"./webscene/Presentation.js";import te from"./webscene/TransportationNetwork.js";import{Version as re}from"./webscene/Version.js";import{alphaCutoff as ie}from"./webscene/support/AlphaCutoff.js";import{getLoader as oe}from"./webscene/support/schemaValidatorLoader.js";var se;const ae=new re(1,37),ne=()=>{const e=8,t=[],r=ae.major;for(let i=e;i<=ae.minor;i++)t.push(`${r}.${i}`);return t},le="Web Scene";let pe=class extends(a.LoadableMixin(h.EsriPromiseMixin(c(r)))){static{se=G}constructor(e){super(e),this[se]=!0,this._layersIdGCTimeoutId=void 0,this._updateFromPromise=null,this._afterLoadHooks=[],this.applicationProperties=null,this.clippingArea=null,this.clippingEnabled=!1,this.floorInfo=null,this.heightModelInfo=void 0,this.sourceVersion=null,this.transportationNetworks=null,this.presentation=new ee,this.initialViewProperties=new Z,this.portalItem=null,this.resourceInfo=null,this.widgets=null,this._debouncedSaveOperations=m((async(e,t,r)=>{switch(e){case k.SAVE:return this._saveImpl(t);case k.SAVE_AS:return this._saveAsImpl(r,t)}})),this._loadContext={origin:"web-scene",initiator:this,hooks:{onAfterLoad:e=>{this._afterLoadHooks.push(e)}}},this._resourceReferences={portalItem:null,paths:[]},this.authoringApp=null,this.authoringAppVersion=null,this._isAuthoringAppSetByUser=!1,this._isAuthoringAppVersionSetByUser=!1}initialize(){if(this.when().catch((e=>{l.getLogger(this).error("#load()","Failed to load web scene",e)})),this.resourceInfo){let t;try{t=this._validateJSON(this.resourceInfo)}catch(e){return void this.addResolvingPromise(Promise.reject(e))}this.read(t),this.addResolvingPromise(this._validateSpatialReference()),this.addResolvingPromise(this._validateHeightModelInfo())}this.addHandles(u((()=>this.allLayers),"change",(()=>this._scheduleLayersIdGC())))}destroy(){this._unscheduleLayersIdGC(),this.presentation&&this.presentation.destroy(),this.portalItem=p(this.portalItem)}writeClippingArea(e,t){t.clippingArea||(t.clippingArea={}),t.clippingArea.geometry=e.toJSON()}readClippingEnabled(e,t){return!!t.clippingArea&&!!t.clippingArea.clip}writeClippingEnabled(e,t){this.clippingArea&&(t.clippingArea||(t.clippingArea={}),t.clippingArea.clip=e)}writeLayers(e,t,r,i){t[r]=this._layersToJSON(e,"operational-layers",i)}readSourceVersion(e,t){const[r,i]=t.version.split(".");return new re(parseInt(r,10),parseInt(i,10))}writeSourceVersion(e,t,r){t[r]=`${ae.major}.${ae.minor}`}writeTables(e,t,r,i){const o=this._layersToJSON(e,"tables",i);o.length&&(t[r]=o)}get thumbnailUrl(){return this.portalItem?.thumbnailUrl??null}set thumbnailUrl(e){e?this._override("thumbnailUrl",e):(this._clearOverride("thumbnailUrl"),this.clear("thumbnailUrl","user"))}set authoringApp(e){this._isAuthoringAppSetByUser=!0,this._set("authoringApp",e)}writeAuthoringApp(e,t){e&&this._isAuthoringAppSetByUser?t.authoringApp=e:t.authoringApp="ArcGIS API for JavaScript"}set authoringAppVersion(e){this._isAuthoringAppVersionSetByUser=!0,this._set("authoringAppVersion",e)}writeAuthoringAppVersion(e,r){e&&this._isAuthoringAppVersionSetByUser?r.authoringAppVersion=e:r.authoringAppVersion=t}writeGround(e,t,r,i){t[r]=e?e.write({},i):{transparency:0,layers:[]}}readInitialViewProperties(e,t,r){const{viewingMode:i,spatialReference:o}=t,s=new Z,a={...t.initialState};return void 0!==o&&(a.spatialReference=o),void 0!==i&&(a.viewingMode=i),s.read(a,r),s}get spatialReference(){return this.initialViewProperties?.spatialReference??P.WebMercator}get viewingMode(){return this.initialViewProperties?.viewingMode??"global"}load(e){const t=this.ground;return this.addResolvingPromise(this._loadFromSource().then((()=>{t&&t!==this.ground&&t.destroy(),this._validateFeatureLayerSymbolVisibility()}))),Promise.resolve(this)}loadAll(){return n(this,(e=>{const t=this.presentation&&this.presentation.slides;e(this.ground,this.basemap,this.layers,t&&t.map((e=>e.basemap)),this.tables)}))}read(e,t){t??=this._loadContext,t.origin="web-scene";const r=this._isAuthoringAppVersionSetByUser,i=this._isAuthoringAppSetByUser;if(I(this,e,(t=>super.read(e,t)),t),i||(this._isAuthoringAppSetByUser=!1),r||(this._isAuthoringAppVersionSetByUser=!1),e.baseMap&&Array.isArray(e.baseMap.elevationLayers)&&this.sourceVersion?.supportsVisibleElevationLayersInSlides){const t=e.baseMap.elevationLayers.map((e=>({id:e.id}))),r=this.presentation.slides,i=(e,t)=>e.visibleLayers.some((e=>e.id===t)),o=t.filter((e=>!r.some((t=>i(t,e.id)))));r.forEach((e=>{e.visibleLayers.addMany(o)}))}}_writeBasemapElevationLayers(e){const t=e.ground?.layers;!e.baseMap&&t?.length&&(e.baseMap={title:"Basemap",baseMapLayers:[]}),e.baseMap&&(e.baseMap.elevationLayers=s(t))}_layersToJSON(e,t,r){const i={...r,layerContainerType:t};return e.map((e=>this._verifyWritableLayer(e,r)?e.write({},i):null)).filter((e=>!!e)).toArray()}_verifyWritableLayer(e,t){return!!e.persistenceEnabled&&("write"in e||(t?.messages&&t.messages.push(new o("layer:unsupported",`Layers (${e.title}, ${e.id}) of type '${e.declaredClass}' cannot be persisted in web scenes`,{layer:e})),!1))}write(e,t){if("loaded"!==this.loadStatus){const e=new o("webscene:not-loaded","Web scene must be loaded before it can be serialized");throw l.getLogger(this).error("#toJSON()","Web scene must be loaded before it can be serialized",this.loadError||this.loadStatus),e}this._runLayersIdGC();const r=!t?.messages;t={messages:[],...t,origin:"web-scene"};const i=super.write(e,t);if(r){const e=t.messages?.filter((e=>"web-document-write:property-required"===e.name))??[];if(e.length){const t=new o("web-document:property-required","One or more properties that are required in the webscene JSON are missing, see details for the specific errors",{errors:e});throw l.getLogger(this).error("#toJSON()","One or more properties that are required in the webscene JSON are missing",e),t}}return this._writeBasemapElevationLayers(i),i}async save(e){return this._debouncedSaveOperations(k.SAVE,e)}async _saveImpl(e){if(!this.portalItem)throw new o("webscene:portal-item-not-set","Portal item to save to has not been set on the WebScene");if(this.portalItem?.type!==le)throw new o("webscene:portal-item-wrong-type",`Portal item needs to have type "${le}"`);const t=this._updateFromPromise;await this._ensureLoadBeforeSave();const r=this._enableVerifyItemRelativeUrls(C(this.portalItem,"web-scene",!0)),i=this.write({},r);return await Promise.all(r.resources.pendingOperations),await this._verifySave(i,r,k.SAVE,e),this._updateTypeKeywords(this.portalItem),await q(this.portalItem,i,this._resourceReferences,r),A(r),t&&await t,await this._saveThumbnail(),this.portalItem}async saveAs(e,t){return this._debouncedSaveOperations(k.SAVE_AS,t,e)}async _saveAsImpl(e,t){let r=U.from(e);if(!r)throw new o("webscene:portal-item-required","saveAs requires a portal item to save to");r.id&&(r=r.clone(),r.id=null);const i=r.portal||O.getDefault();await this._ensureLoadBeforeSave(),r.type=le,r.portal=i;const s=this._enableVerifyItemRelativeUrls(C(r,"web-scene",!0)),a=this.write({},s);await Promise.all(s.resources.pendingOperations),await this._verifySaveAs(a,s,t);const n=this.thumbnailUrl,l=!this._isOverridden("thumbnailUrl");this._updateTypeKeywords(r),await i.signIn();const p=this.portalItem,c={item:p,authenticated:!(!p?.id||!p.portal.user)},{copyAllowed:h,itemReloaded:m}=await z(c,i);if(c.authenticated||=m,!h)throw new o(`${s.name}:save-as-copy-not-allowed`,"Owner of this map does not allow others to save a copy");const u={...t,copyAllResources:!0};return await Q(r,c,a,u)&&(this._resourceReferences.portalItem=r),await H(this._resourceReferences,s),this.portalItem=r,d.prototype.read.call(this,{version:a.version,authoringApp:a.authoringApp,authoringAppVersion:a.authoringAppVersion},{name:"web-scene",ignoreDefaults:!0,url:r.itemUrl?w(r.itemUrl):void 0}),A(s),n&&(this.thumbnailUrl=l?f(n,"w","8192"):n),s.portalItem=r,await this._saveThumbnail(),r}async _saveThumbnail(){this._isOverridden("thumbnailUrl")&&(await(this.portalItem?.updateThumbnail({thumbnail:this.thumbnailUrl})),this._clearOverride("thumbnailUrl"),this.clear("thumbnailUrl","user"))}async _verifySave(e,t,r,i){if(!M(this.spatialReference))throw new o("webscene:unsupported-spatial-reference","Webscenes using spatial reference systems from Mars or Moon can not be saved currently.");const{ignoreUnsupported:s,requiredPropertyChecksDisabled:a,strictSchemaValidationEnabled:n}=i||{};D(t,{errorName:"webscene:save"},{ignoreUnsupported:s,supplementalUnsupportedErrors:["scenemodification:unsupported"],requiredPropertyChecksDisabled:a});const p=oe();if(n&&p){const t=(await p()).validate(e);if(!t.length)return;const i=`webscene did not validate:\n${t.join("\n")}`;l.getLogger(this).error(`${r===k.SAVE_AS?"saveAs":"save"}(): ${i}`);const s=t.map((e=>new o("webscene:schema-validation",e)));throw W(s)}}_verifySaveAs(e,t,r){return this._verifySave(e,t,k.SAVE_AS,r)}verifySaveAs(e){const t=this._enableVerifyItemRelativeUrls({origin:"web-scene",messages:[]}),r=this.write({},t);return this._verifySaveAs(r,t,e)}canNotSaveAs(){return!1}async updateFrom(e,t={}){const r=this._updateFrom(e,t);this._updateFromPromise=r,await r;this._updateFromPromise===r&&(this._updateFromPromise=null)}async _updateFrom(e,t={}){if(await e.whenReady(),!t.environmentExcluded&&e.environment&&(this.initialViewProperties.environment=Y.prototype.clone.apply(e.environment)),!t.viewpointExcluded&&e.viewpoint&&(this.initialViewProperties.viewpoint=e.viewpoint.clone()),this.initialViewProperties.spatialReference=e.spatialReference.clone(),this.initialViewProperties.viewingMode=e.viewingMode,this.initialViewProperties.timeExtent=e.timeExtent?.clone()??null,this.initialViewProperties.analyses.updateFrom(e),null!=e.clippingArea?e.clippingArea!==this.clippingArea&&(this.clippingArea=e.clippingArea.clone(),this.clippingEnabled=!0):this.clippingEnabled=!1,e.heightModelInfo&&(this.heightModelInfo=e.heightModelInfo.clone()),e.map===this)for(const r of e.allLayerViews){const e="visible";e in r&&e in r.layer&&r._isOverridden(e)&&(r.layer[e]=r[e])}if(!t.widgetsExcluded)for(const r of e.persistableViewModels)r.updateWebDocument(this);(!1===t.thumbnailExcluded||null==t.thumbnailExcluded&&!t.viewpointExcluded)&&await this._updateFromThumbnail(e,t.thumbnailSize??void 0)}async _updateFromThumbnail(e,t){const r=K(e,t),i=await e.takeScreenshot({format:"jpg",width:r.width,height:r.height,disableDecorations:!0});this.thumbnailUrl=i.dataUrl}async _loadFromSource(){this.resourceInfo?await this._loadFromJSON(this.resourceInfo):this.portalItem?.id?await this._loadFromItem(this.portalItem):await this._loadObjectsWithLayers(),await this._afterLoad()}async _afterLoad(){for(;this._afterLoadHooks.length;){const e=this._afterLoadHooks.slice();this._afterLoadHooks.length=0,await Promise.allSettled(e.map((e=>e(this._loadContext))))}}_readAndLoadFromJSON(e){const t=this._loadContext,r=this._validateJSON(e);return this.read(r,t),this._loadFromJSON(r)}_extractOperationalLayers(e){const t=[];if(!this.sourceVersion?.supportsGround&&e.baseMap&&Array.isArray(e.baseMap.elevationLayers))for(const o of e.baseMap.elevationLayers)t.push(o);const r=[],i=e=>(e.layers&&(e.layers=e.layers.filter(i)),"ArcGISTiledElevationServiceLayer"!==e.layerType||(this.sourceVersion?.supportsGround||r.push(e),!1));return{operationalLayers:e.operationalLayers?e.operationalLayers.filter(i):[],operationalElevationLayers:r,basemapElevationLayers:t}}async _loadFromJSON(e){const t=new i;await this._validateSpatialReference(),await this._validateHeightModelInfo();const{populateOperationalLayers:r}=await import("./layers/support/layersCreator.js"),{operationalLayers:o,operationalElevationLayers:s,basemapElevationLayers:a}=this._extractOperationalLayers(e),n=[],l={context:{...this._loadContext,layerContainerType:"operational-layers"}};if(this.portalItem&&(l.context.portal=this.portalItem.portal||O.getDefault()),a.length>0){const e={...l,context:{...l.context,layerContainerType:"ground"}};e.defaultLayerType="ArcGISTiledElevationServiceLayer",n.push(r(this.ground.layers,a,e))}if(s.length>0){const e={...l,context:{...l.context,layerContainerType:"ground"}};e.defaultLayerType="ArcGISTiledElevationServiceLayer",n.push(r(t,s,e))}o&&o.length>0&&n.push(r(this.layers,o,l)),e.tables?.length&&n.push(r(this.tables,e.tables,{...l,context:{...l.context,layerContainerType:"tables"},defaultLayerType:"ArcGISFeatureLayer"})),await Promise.allSettled(n),await this._loadObjectsWithLayers(),this.ground.layers.addMany(t.filter((e=>"base-elevation"===e.type||"elevation"===e.type)))}async _ensureLoadBeforeSave(){await this.load(),await this._loadObjectsWithLayers();const e=[],t=[...this.allLayers.items];for(const{basemap:r}of this.presentation.slides.items)r&&(t.push(...r.baseLayers.items),t.push(...r.referenceLayers.items));for(const r of t)if("beforeSave"in r&&"function"==typeof r.beforeSave){const t=r.beforeSave();t&&e.push(t)}await Promise.allSettled(e)}async _loadObjectsWithLayers(){const e=[];this.ground&&e.push(this.ground.load()),this.basemap&&e.push(this.basemap.load()),this.presentation.slides.forEach((t=>{t.basemap&&e.push(t.basemap.load())})),await Promise.allSettled(e)}async _loadFromItem(e){if(await e.load().catch((e=>{throw new o("webscene:load-portal-item","Failed to load portal item",{error:e})})),"Web Scene"!==e.type)throw new o("webscene:invalid-portal-item","Invalid portal item type '${type}', expected 'Web Scene'",{type:e.type});const t=await e.fetchData();this.resourceInfo=t;const r=this._loadContext;r.url=w(e.itemUrl),r.portal=e.portal||O.getDefault(),r.portalItem=e,r.readResourcePaths=[],await this._readAndLoadFromJSON(t),this._resourceReferences={portalItem:e,paths:r.readResourcePaths??[]}}_validateSpatialReference(){const e=this.initialViewProperties,t=this._sceneSpatialReference;let r;if("local"!==e.viewingMode){if(!J(t,$.Global))return Promise.reject(new o("webscene:unsupported-spatial-reference","Unsupported spatial reference (${spatialReference.wkid}) in global mode, only Web Mercator, WGS84 GCS or CGCS2000 are supported",{spatialReference:t,viewingMode:e.viewingMode}));r=e=>!e||V(e,t)}else{if(!J(t,$.Local))return Promise.reject(new o("webscene:unsupported-spatial-reference","Unsupported spatial reference (${spatialReference.wkid}) in local mode, only projected coordinate systems are supported",{spatialReference:t,viewingMode:e.viewingMode}));r=e=>!e||e.equals(t)}const i=e=>e?.camera?.position.spatialReference??e?.targetGeometry?.spatialReference,s=e.viewpoint,a=i(s);if(a&&!r(a))return Promise.reject(new o("webscene:incompatible-camera-spatial-reference","Camera spatial reference (${cameraSpatialReference.wkid}) is incompatible with the scene spatial reference (${sceneSpatialReference.wkid})",{cameraSpatialReference:a,sceneSpatialReference:t,viewingMode:e.viewingMode}));const n=this.presentation.slides.find((e=>!r(i(e.viewpoint))));if(n){const r=i(n.viewpoint);return Promise.reject(new o("webscene:incompatible-slide-spatial-reference","Slide spatial reference (${slideSpatialReference.wkid}) is incompatible with the scene spatial reference (${sceneSpatialReference.wkid})",{slideSpatialReference:r,sceneSpatialReference:t,viewingMode:e.viewingMode}))}return Promise.resolve()}_validateHeightModelInfo(){const e=this._sceneSpatialReference,t=R(this.heightModelInfo,e);return t?Promise.reject(t):Promise.resolve()}_validateFeatureLayerSymbolVisibility(){this.sourceVersion?.greaterEqual(1,35)||this.layers.forEach((e=>{"feature"===e.type&&e.addHandles(y((()=>e.loaded),(()=>{"on-the-ground"===e.elevationInfo?.mode&&"simple"===e.renderer?.type&&"polygon-3d"===e.renderer.symbol?.type&&e.renderer.symbol.symbolLayers.some((t=>"fill"===t.type&&null!=t.material&&((!t.material.color||t.material.color.a*e.opacity<ie)&&(e.loadWarnings.push(new g("feature-layer:invisible-draped-symbols","FeatureLayer has fully transparent symbols which will no longer render or highlight",{layer:e})),!0))))}),{once:!0,sync:!0}))}))}_validateJSON(e){const t=re.parse(e.version||"","webscene");return ae.validate(t),e.version=`${t.major}.${t.minor}`,1===t.major&&t.minor<=2&&(e.spatialReference=P.WebMercator.toJSON()),e}_updateTypeKeywords(e){T(e,N.LOCAL_SCENE,"local"===this.initialViewProperties.viewingMode),T(e,N.DEVELOPER_BASEMAP,x(this.basemap)||this.presentation.slides.some((({basemap:e})=>!!e&&x(e)))),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter(((e,t,r)=>r.indexOf(e)===t)))}get _sceneSpatialReference(){return this.initialViewProperties.spatialReference||P.WebMercator}get _verifyItemRelativeRootPath(){return this.portalItem?.itemUrl?w(this.portalItem.itemUrl).path:null}_enableVerifyItemRelativeUrls(e){const t=this._verifyItemRelativeRootPath;return t&&(e.verifyItemRelativeUrls={rootPath:t,writtenUrls:[]}),e}_unscheduleLayersIdGC(){this._layersIdGCTimeoutId&&(clearTimeout(this._layersIdGCTimeoutId),this._layersIdGCTimeoutId=0)}_scheduleLayersIdGC(){this._unscheduleLayersIdGC(),this._layersIdGCTimeoutId=setTimeout((()=>{this._layersIdGCTimeoutId=0,this._runLayersIdGC()}),3e3)}_runLayersIdGC(){this._unscheduleLayersIdGC();const e=this.applicationProperties?.viewing?.search,t=e=>this.allLayers.some((t=>t.id===e&&t.persistenceEnabled));e?.layers&&(e.layers=e.layers.filter((e=>t(e.id))));const r=this.presentation&&this.presentation.slides;r&&r.forEach((e=>{e.visibleLayers&&(e.visibleLayers=e.visibleLayers.filter((e=>t(e.id))))}))}static fromJSON(e){if(!e)throw new o("webscene:empty-resource","Expected a JSON resource but got nothing");return new this({resourceInfo:e})}static{this.version=`${ae.major}.${ae.minor}`}};e([b({type:X,json:{write:!0}})],pe.prototype,"applicationProperties",void 0),e([b({type:j,json:{read:{source:"clippingArea.geometry",reader:E},write:{target:"clippingArea.geometry"}}})],pe.prototype,"clippingArea",void 0),e([S("clippingArea")],pe.prototype,"writeClippingArea",null),e([b({type:Boolean,json:{write:{target:"clippingArea.clip"}}})],pe.prototype,"clippingEnabled",void 0),e([v("clippingEnabled",["clippingArea"])],pe.prototype,"readClippingEnabled",null),e([S("clippingEnabled")],pe.prototype,"writeClippingEnabled",null),e([b({type:F,json:{read:{source:"mapFloorInfo"},write:{target:"mapFloorInfo"}}})],pe.prototype,"floorInfo",void 0),e([b({type:L,json:{write:!0}})],pe.prototype,"heightModelInfo",void 0),e([b({json:{write:{target:"operationalLayers",ignoreOrigin:!0}}})],pe.prototype,"layers",void 0),e([S("layers")],pe.prototype,"writeLayers",null),e([b({readOnly:!0,type:re,json:{type:ne(),write:{ignoreOrigin:!0,target:"version",isRequired:!0,overridePolicy:()=>({enabled:!0,allowNull:!0,ignoreOrigin:!0})}}})],pe.prototype,"sourceVersion",void 0),e([v("sourceVersion",["version"])],pe.prototype,"readSourceVersion",null),e([S("sourceVersion")],pe.prototype,"writeSourceVersion",null),e([b({json:{read:!1,write:{enabled:!0,ignoreOrigin:!0}}})],pe.prototype,"tables",void 0),e([S("tables")],pe.prototype,"writeTables",null),e([b()],pe.prototype,"thumbnailUrl",null),e([b({type:String,json:{write:{writerEnsuresNonNull:!0,ignoreOrigin:!0}}})],pe.prototype,"authoringApp",null),e([S("authoringApp")],pe.prototype,"writeAuthoringApp",null),e([b({type:String,json:{write:{writerEnsuresNonNull:!0,ignoreOrigin:!0}}})],pe.prototype,"authoringAppVersion",null),e([S("authoringAppVersion")],pe.prototype,"writeAuthoringAppVersion",null),e([b({json:{write:{isRequired:!0,allowNull:!0,ignoreOrigin:!0,enabled:!0}}})],pe.prototype,"ground",void 0),e([S("ground")],pe.prototype,"writeGround",null),e([b({type:i.ofType(te),json:{write:!0}})],pe.prototype,"transportationNetworks",void 0),e([b({type:ee,nonNullable:!0,json:{write:{ignoreOrigin:!0,writer:(e,t,r,i)=>{if(e.slides&&e.slides.length>0){const r={...i,isPresentation:!0};t.presentation=e.write({},r)}}}}})],pe.prototype,"presentation",void 0),e([b({type:Z,nonNullable:!0,json:{write:{target:"initialState",isRequired:!0,ignoreOrigin:!0},default:()=>new Z({viewingMode:"global",spatialReference:P.WebMercator})}})],pe.prototype,"initialViewProperties",void 0),e([v("initialViewProperties",["initialState","spatialReference","viewingMode"])],pe.prototype,"readInitialViewProperties",null),e([b({type:P,json:{read:!1,write:{isRequired:!0,ignoreOrigin:!0}}})],pe.prototype,"spatialReference",null),e([b({type:["local","global"],json:{read:!1,write:{isRequired:!0,ignoreOrigin:!0}}})],pe.prototype,"viewingMode",null),e([b({type:U})],pe.prototype,"portalItem",void 0),e([b()],pe.prototype,"resourceInfo",void 0),e([b({type:B,json:{write:!0}})],pe.prototype,"widgets",void 0),pe=e([_("esri.WebScene")],pe);const ce=pe;export{ce as default};
|
package/analysis/Analysis.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as e}from"../chunks/tslib.es6.js";import s from"../core/Accessor.js";import
|
|
5
|
+
import{_ as e}from"../chunks/tslib.es6.js";import{AnalysisOriginWebScene as s}from"./support/AnalysisOriginWebScene.js";import o from"../core/Accessor.js";import r from"../core/Clonable.js";import t from"../core/Identifiable.js";import i from"../core/JSONSupport.js";import{property as n}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import"../core/RandomLCG.js";import{subclass as a}from"../core/accessorSupport/decorators/subclass.js";let p=0,c=class extends(i.JSONSupportMixin(r.ClonableMixin(t.IdentifiableMixin(o)))){constructor(e){super(e),this.id=`${Date.now().toString(16)}-analysis-${p++}`,this.origin=null}get parent(){return this._get("parent")}set parent(e){const s=this.parent;if(null!=s)switch(s.type){case"line-of-sight":case"dimension":case"viewshed":s.releaseAnalysis(this);break;case"2d":case"3d":s.analyses.includes(this)&&s.analyses.remove(this)}this._set("parent",e)}};e([n({type:String,constructOnly:!0,clonable:!1})],c.prototype,"id",void 0),e([n({clonable:!1,value:null})],c.prototype,"parent",null),e([n({types:{key:"type",base:null,typeMap:{"web-scene":s}}})],c.prototype,"origin",void 0),c=e([a("esri.analysis.Analysis")],c);const l=c;export{l as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as e}from"../chunks/tslib.es6.js";import
|
|
5
|
+
import{_ as e}from"../chunks/tslib.es6.js";import r from"./Analysis.js";import o from"./SlicePlane.js";import{SliceAnalysisExcludedLayer as t}from"./support/SliceAnalysisExcludedLayer.js";import s from"../core/Collection.js";import{referenceSetter as l,castForReferenceSetter as a}from"../core/collectionUtils.js";import{property as i}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import"../core/RandomLCG.js";import{reader as d}from"../core/accessorSupport/decorators/reader.js";import{subclass as c}from"../core/accessorSupport/decorators/subclass.js";import{writer as p}from"../core/accessorSupport/decorators/writer.js";let n=class extends r{constructor(e){super(e),this.type="slice",this.tiltEnabled=!1,this.shape=null,this.excludeGroundSurface=!1}get excludedLayers(){return this._get("excludedLayers")||new s}set excludedLayers(e){this._set("excludedLayers",l(e,this._get("excludedLayers")))}writeExcludedLayers(e,r,o,s){0!==e.length&&(r[o]=e.toArray().map((e=>t.fromLayer(e).toJSON(s))))}readExcludedLayers(e,r,o){const s=o?.initiator;s&&o?.hooks?.onAfterLoad((async()=>{for(const r of e){const{layerId:e,sublayerId:l}=t.fromJSON(r,o),a=s.allLayers.find((({id:r})=>r===e));if(a)if(null!=l&&"allSublayers"in a){await a.load();const e=a.allSublayers.find((({id:e})=>e===l));e&&"type"in e&&"building-component"===e.type&&this.excludedLayers.add(e)}else this.excludedLayers.add(a)}}))}get valid(){return null!=this.shape?.position}clear(){this.shape=null}};e([i({type:["slice"],json:{read:!1,write:{isRequired:!0}}})],n.prototype,"type",void 0),e([i({type:Boolean,nonNullable:!0,json:{write:!0,default:!1}})],n.prototype,"tiltEnabled",void 0),e([i({types:{key:"type",base:null,typeMap:{plane:o},defaultKeyValue:"plane"},json:{write:{isRequired:!0}}})],n.prototype,"shape",void 0),e([i({cast:a,clonable:e=>e.slice(),json:{type:[t],write:!0}})],n.prototype,"excludedLayers",null),e([p("excludedLayers")],n.prototype,"writeExcludedLayers",null),e([d("excludedLayers")],n.prototype,"readExcludedLayers",null),e([i({type:Boolean,nonNullable:!0,json:{write:!0}})],n.prototype,"excludeGroundSurface",void 0),e([i({readOnly:!0})],n.prototype,"valid",null),n=e([c("esri.analysis.SliceAnalysis")],n);const u=n;export{u as default};
|
package/analysis/SlicePlane.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as
|
|
5
|
+
import{_ as e}from"../chunks/tslib.es6.js";import o from"../core/Clonable.js";import{cyclicalDegrees as t}from"../core/Cyclical.js";import r from"../core/JSONSupport.js";import{equalsMaybe as i}from"../core/maybe.js";import{property as s}from"../core/accessorSupport/decorators/property.js";import{cast as p}from"../core/accessorSupport/decorators/cast.js";import"../core/has.js";import"../core/RandomLCG.js";import{subclass as n}from"../core/accessorSupport/decorators/subclass.js";import{ensureNumber as a}from"../core/accessorSupport/ensureType.js";import l from"../geometry/Point.js";let m=class extends(o.ClonableMixin(r)){constructor(e){super(e),this.type="plane",this.position=null,this.heading=0,this.tilt=0,this.width=10,this.height=10}equals(e){return this.heading===e.heading&&this.tilt===e.tilt&&i(this.position,e.position)&&this.width===e.width&&this.height===e.height}};e([s({type:["plane"],readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],m.prototype,"type",void 0),e([s({type:l,json:{write:{isRequired:!0}}})],m.prototype,"position",void 0),e([s({type:Number,nonNullable:!0,range:{min:0,max:360},json:{write:{isRequired:!0}}}),p((e=>t.normalize(a(e),0,!0)))],m.prototype,"heading",void 0),e([s({type:Number,nonNullable:!0,range:{min:0,max:360},json:{write:{isRequired:!0}}}),p((e=>t.normalize(a(e),0,!0)))],m.prototype,"tilt",void 0),e([s({type:Number,nonNullable:!0,range:{min:0},json:{write:{isRequired:!0}}})],m.prototype,"width",void 0),e([s({type:Number,nonNullable:!0,range:{min:0},json:{write:{isRequired:!0}}})],m.prototype,"height",void 0),m=e([n("esri.analysis.SlicePlane")],m);const c=m;export{c as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*
|
|
2
|
+
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
+
*/
|
|
5
|
+
import{_ as r}from"../../chunks/tslib.es6.js";import o from"../../core/Clonable.js";import{property as s}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as e}from"../../core/accessorSupport/decorators/subclass.js";let t=class extends o{constructor(r){super(r),this.type="web-scene"}equals(r){return this.type===r.type}};r([s()],t.prototype,"type",void 0),t=r([e("esri.analysis.support.AnalysisOriginWebScene")],t);export{t as AnalysisOriginWebScene};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*
|
|
2
|
+
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
+
*/
|
|
5
|
+
import{_ as r}from"../../chunks/tslib.es6.js";import o from"../../core/JSONSupport.js";import{property as e}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as s}from"../../core/accessorSupport/decorators/subclass.js";let t=class extends o{constructor(r){super(r),this.layerId=""}static fromLayer(r){return new this({layerId:"building-component"===r.type?r.layer.id:r.id,sublayerId:"building-component"===r.type?r.id:void 0})}};r([e({type:String,json:{write:{isRequired:!0}}})],t.prototype,"layerId",void 0),r([e({type:Number,json:{write:!0}})],t.prototype,"sublayerId",void 0),t=r([s("esri.analysis.support.SliceAnalysisExcludedLayer")],t);export{t as SliceAnalysisExcludedLayer};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{ArcadeExecutionError as n,ExecutionErrorCodes as r}from"../executionError.js";import
|
|
5
|
+
import{ArcadeExecutionError as n,ExecutionErrorCodes as r}from"../executionError.js";import{q as e,m as t}from"../../chunks/languageUtils.js";import{ensureNumber as l}from"../../core/accessorSupport/ensureType.js";import s from"../../geometry/Point.js";import{fromJSON as a}from"../../geometry/support/jsonUtils.js";function u(e,t,l=null){const s=i(e,!0);if(void 0!==s.hasm&&(s.hasM=s.hasm,delete s.hasm),void 0!==s.hasz&&(s.hasZ=s.hasz,delete s.hasz),void 0!==s.spatialreference&&(s.spatialReference=s.spatialreference,delete s.spatialreference),s.spatialReference||(s.spatialReference=t),void 0!==s.curverings){const n=L(s.curverings,s.hasZ,s.hasM,S);if(null==n)return null;s.curveRings=n.arrays,delete s.curverings,delete s.rings,s.hasZ=n.hasZ,s.hasM=n.hasM}else if(void 0!==s.rings){const n=L(s.rings,s.hasZ,s.hasM,k);if(null==n)return null;s.rings=n.arrays,s.hasZ=n.hasZ,s.hasM=n.hasM}if(void 0!==s.curvepaths){const n=L(s.curvepaths,s.hasZ,s.hasM,S);if(null==n)return null;s.curvePaths=n.arrays,delete s.curvepaths,delete s.paths,s.hasZ=n.hasZ,s.hasM=n.hasM}else if(void 0!==s.paths){const n=L(s.paths,s.hasZ,s.hasM,k);if(null==n)return null;s.paths=n.arrays,s.hasZ=n.hasZ,s.hasM=n.hasM}if(void 0!==s.points){const n=E(s.points,s.hasZ,s.hasM);if(null==n)return null;s.points=n.array,s.hasZ=n.hasZ,s.hasM=n.hasM}const u=a(s);if(null!=l&&u?.type!==l)throw new n(null,r.InvalidParameter,null);return u}function i(n,r=!1){const t={};for(const l of n.keys()){const s=r?l.toLowerCase():l,a=n.attributes[l];t[s]=e(a)?i(a):a}return t}const o=Symbol("NoValue");function h(n){return Array.isArray(n)&&n.length>0?n[0]:t(n)&&n.length()>0?n.get(0):o}function f(n){const r=h(h(n));return r===o||Array.isArray(r)||t(r)||r instanceof s?n:[n]}const c=0;function y(n){return l(n,c)??c}function m(n){return"number"==typeof n&&!Number.isNaN(n)}const p=null;function d(n){return l(n,p)??p}function g(n){return"number"==typeof n&&!Number.isNaN(n)||null===n}function v(n){return!(n.length<2)&&("number"==typeof n[0]&&!Number.isNaN(n[0])&&("number"==typeof n[1]&&!Number.isNaN(n[1])))}function M(n){return v(n)?n.length>2?n.slice(0,2):n:null}function Z(n){return v(n)?m(n[2])?n.length>3?n.slice(0,3):n:[n[0],n[1],y(n[2])]:null}function A(n){return v(n)?n.length>=3&&!g(n[2])?[n[0],n[1],d(n[2])]:n.length>3?n.slice(0,3):n:null}function N(n){return v(n)?m(n[2])&&g(n[3])?n.length>4?n.slice(0,4):n:[n[0],n[1],y(n[2]),d(n[3])]:null}function b(n){return[n.x,n.y]}function w(n){return[n.x,n.y,n.z??c]}function P(n){return[n.x,n.y,n.m??p]}function I(n){return[n.x,n.y,n.z??c,n.m??p]}function j(e,l,s){if(t(e)&&(e=e.toArray()),!Array.isArray(e)||2!==e.length)throw new n(null,r.InvalidParameter,null);const a=k(e[0],l,s);if(null==a)return null;const u=k(e[1],b,M);return null==u?null:{c:[a,u]}}function x(e,l,s){if(t(e)&&(e=e.toArray()),!Array.isArray(e)||4!==e.length&&7!==e.length)throw new n(null,r.InvalidParameter,null);const a=k(e[0],l,s);if(null==a)return null;const u=k(e[1],b,M);if(null==u)return null;const i=e[2];if(0!==i&&1!==i)throw new n(null,r.InvalidParameter,null);const o=e[3];if(0!==o&&1!==o)throw new n(null,r.InvalidParameter,null);if(4===e.length)return{a:[a,u,i,o]};const h=e[4];if("number"!=typeof h)throw new n(null,r.InvalidParameter,null);if(Number.isNaN(h))return null;const f=e[5];if("number"!=typeof f)throw new n(null,r.InvalidParameter,null);if(Number.isNaN(f))return null;const c=e[6];if("number"!=typeof c)throw new n(null,r.InvalidParameter,null);return Number.isNaN(c)?null:{a:[a,u,i,o,h,f,c]}}function z(e,l,s){if(t(e)&&(e=e.toArray()),!Array.isArray(e)||3!==e.length)throw new n(null,r.InvalidParameter,null);const a=k(e[0],l,s);if(null==a)return null;const u=k(e[1],b,M);if(null==u)return null;const i=k(e[2],b,M);return null==i?null:{b:[a,u,i]}}function R(n,r){return n?r?N:Z:r?A:M}function F(n,r){return n?r?I:w:r?P:b}function k(n,r,e){return Array.isArray(n)?e(n):n instanceof s?r(n):t(n)?e(n.toArray()):null}function S(n,r,l){return Array.isArray(n)?l(n):e(n)?n.hasField("c")?j(n.field("c"),r,l):n.hasField("a")?x(n.field("a"),r,l):n.hasField("b")?z(n.field("b"),r,l):null:n instanceof s?r(n):t(n)?l(n.toArray()):null}function U(n,r,e,l){const s=[];if(Array.isArray(n))for(const t of n){const n=r(t,e,l);null!=n&&s.push(n)}else if(t(n))for(let t=0;t<n.length();t++){const a=r(n.get(t),e,l);null!=a&&s.push(a)}return s}function q(n,r,e){return Array.isArray(n)?n.length>=r:t(n)?n.length()>=r:n instanceof s&&n[e]}function C(n,r,e){return void 0===n&&void 0===r?{hasZ:q(e,3,"hasZ"),hasM:q(e,4,"hasM")}:void 0===n?!0===r?{hasZ:q(e,4,"hasZ"),hasM:!0}:{hasZ:q(e,3,"hasZ"),hasM:!1}:void 0===r?!0===n?{hasZ:!0,hasM:q(e,4,"hasM")}:{hasZ:!1,hasM:q(e,3,"hasM")}:{hasZ:!0===n,hasM:!0===r}}function E(n,r,e){const t=h(n);if(t===o)return null;const{hasZ:l,hasM:s}=C(r,e,t);return{array:U(n,k,F(l,s),R(l,s)),hasZ:l,hasM:s}}function L(n,r,e,l){const s=h(h(n=f(n)));if(s===o)return null;const{hasZ:a,hasM:u}=C(r,e,s),i=F(a,u),c=R(a,u),y=[];if(Array.isArray(n))for(let t=0;t<n.length;t++)y.push(U(n[t],l,i,c));else if(t(n))for(let t=0;t<n.length();t++)y.push(U(n.get(t),l,i,c));return{arrays:y,hasZ:a,hasM:u}}export{u as constructGeometryFromDictionary};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"d":"M13 10v3h-3v-1h2v-2h1z"},{"opacity":".25","d":"M12 10v2h-2v-2h2zM5 1v1h1V1H5zm2 3h1V3H7v1zm0-3v1h1V1H7zM3 7h1V6H3v1zM1 5h1V4H1v1z"},{"d":"M7 12h1v1H6V6h7v2h-1V7H7v5zm9-3v7H9V9h7zm-1 1h-5v5h5v-5zm-4-5H4V0h7v5zM6 3H5v1h1V3zm0-2H5v1h1V1zm2 2H7v1h1V3zm0-2H7v1h1V1zm2 2H9v1h1V3zm0-2H9v1h1V1zM4 6h1v2H0V3h3v4h1V6zM2 6H1v1h1V6zm0-2H1v1h1V4z"},{"opacity":".5","d":"M10 4H9V3h1v1zM7 7v5h1V8h4V7H7z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 5h2v2H2V5zm3 5h2V8H5v2zm2-7h2V1H7v2zm3 1v2h2V4h-2zm5 15h4v-4h-4v4z"},{"d":"M10 9V8h1v1h-1zm14 5v10H14V14h10zm-1 1h-8v8h8v-8zm-12-4h8v2h1v-3H10v10h3v-1h-2v-8zm5-4H6V0h10v7zM9 4H7v2h2V4zm0-3H7v2h2V1zm3 3h-2v2h2V4zm0-3h-2v2h2V1zm3 3h-2v2h2V4zm0-3h-2v2h2V1zm-7 9h1v1H1V4h4v3a1 1 0 0 0 1 1H5v2h2V8h1v2zM4 8H2v2h2V8zm0-3H2v2h2V5z"},{"d":"M19 15v4h-4v1h5v-5h-1z"},{"opacity":".5","d":"M19 11v2h-6v6h-2v-8h8zm-4-7h-2v2h2V4zm-7 6h1a1 1 0 0 1 1-1V8H8v2zm4-9h-2v2h2V1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"d":"M19 19v12h12V19H19zm11 11H20V20h10v10zM12 16h2v1H1V6h4v1H2v4h3v1H2v4h4v-3h1v3h4v-3h1v3zm4-2v-1h1v1h-1zm6-13H6v11h16V1zM11 11H7V7h4v4zm0-5H7V2h4v4zm5 5h-4V7h4v4zm0-5h-4V2h4v4zm5 5h-4V7h4v4zm0-5h-4V2h4v4zm-5 20h2v1h-3V15h12v3h-1v-2H16v10z"},{"opacity":".25","d":"M7 13h4v3H7v-3zm0-7h4V2H7v4zm-5 5h3V7H2v4zm10 0h4V7h-4v4zm8 9v6h6v-6h-6z"},{"d":"M27 20v7h-7v-1h6v-6h1z"},{"opacity":".5","d":"M26 16v2h-8v8h-2V16h10zm-5-9h-4v4h4V7zm-5-5h-4v4h4V2zm-9 9h4V7H7v4zm9 2h-4v3h2v-1a1 1 0 0 1 1-1h1v-1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"d":"M6 5h1V4h2v1h1V0H0v7h4V4h2v1zm1-4h2v2H7V1zM3 6H1V4h2v2zm0-3H1V1h2v2zm1 0V1h2v2H4zm1 3v10h11V6H5zm3 9H6v-2h2v2zm0-3H6v-2h2v2zm3 3H9v-2h2v2zm0-3H9v-2h2v2zm4 3h-3v-2h3v2zm0-3h-3v-2h3v2zm0-3H6V7h9v2z"},{"opacity":".5","d":"M9 4v1H7V4h2zM1 6h2V4H1v2zm3-3h2V1H4v2z"},{"opacity":".25","d":"M1 1h2v2H1V1zm3 3v2a1 1 0 0 1 1-1h1V4H4z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"d":"M6 7h4v2h1V7h4v2h1V1H0v11h7v-1H6V7zm5-5h4v4h-4V2zM6 2h4v4H6V2zm-1 9H1V7h4v4zm0-5H1V2h4v4zm3 4v13h15V10H8zm3 12H9v-2h2v2zm0-3H9v-2h2v2zm0-3H9v-2h2v2zm5 6h-4v-2h4v2zm0-3h-4v-2h4v2zm0-3h-4v-2h4v2zm6 6h-5v-2h5v2zm0-3h-5v-2h5v2zm0-3h-5v-2h5v2zm0-3H9v-2h13v2z"},{"opacity":".5","d":"M15 7v2h-4V7h4zM6 6h4V2H6v4z"},{"opacity":".25","d":"M1 2h4v4H1V2zm5 5v4h1v-1a1 1 0 0 1 1-1h2V7H6z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M7 12.999h4v4H7v-4zM2 7h4V3H2v4zm10 5h4V8h-4v4zm-5 0h4V8H7v4zm10-4v4h4V8h-4z"},{"d":"M12 13h4v3h1v-3h4v3h1V2H1v16h12v-1h-1v-4zm5-10h4v4h-4V3zm0 5h4v4h-4V8zm-5-5h4v4h-4V3zm0 5h4v4h-4V8zm-6 9H2v-4h4v4zm0-5H2V8h4v4zm0-5H2V3h4v4zm5 10H7v-4h4v4zm0-5H7V8h4v4zm0-5H7V3h4v4zm3 10v14h17V17H14zm4 13h-3v-2h3v2zm0-3h-3v-2h3v2zm0-3h-3v-2h3v2zm6 6h-5v-2h5v2zm0-3h-5v-2h5v2zm0-3h-5v-2h5v2zm6 6h-5v-2h5v2zm0-3h-5v-2h5v2zm0-3h-5v-2h5v2zm0-3H15v-3h15v3z"},{"opacity":".5","d":"M21 3v3.999h-4V3h4zM2 12h4V8H2v4zm10 4.999h1A1 1 0 0 1 14 16h2v-3.001h-4v4zm-5-10h4V3H7v3.999z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"d":"M4 6V4h2v1.752a6.573 6.573 0 0 1 1-.78V4h2v.13a6.497 6.497 0 0 1 1-.155V0H0v7h4.973c.227-.359.488-.693.78-1H4zm3-5h2v2H7V1zM4 1h2v2H4V1zM3 6H1V4h2v2zm0-3H1V1h2v2zm7.495 2.2C7.565 5.2 5.2 7.573 5.2 10.5s2.365 5.3 5.295 5.3 5.305-2.373 5.305-5.3-2.375-5.3-5.305-5.3zM10 14.75A4.276 4.276 0 0 1 6.25 11H10v3.75zM10 10H6.25A4.276 4.276 0 0 1 10 6.25V10zm1-3.749A4.28 4.28 0 0 1 14.75 10H11V6.251zm0 8.498V10.99h3.75A4.29 4.29 0 0 1 11 14.749z"},{"opacity":".5","d":"M9 4v.13a6.483 6.483 0 0 0-2 .842V4h2zM4 3h2V1H4v2zM1 6h2V4H1v2z"},{"opacity":".25","d":"M6 4v1.752c-.085.08-.167.163-.248.248H4V4h2zM1 1v2h2V1H1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M1 2h4v4H1V2zm5 5v4h4V7H6z"},{"d":"M11.466 11H11V7h4v2.237c.326-.063.66-.099 1-.117V1H0v11h10.539a7.45 7.45 0 0 1 .927-1zM11 2h4v4h-4V2zm-6 9H1V7h4v4zm0-5H1V2h4v4zm5 5H6V7h4v4zm0-5H6V2h4v4zm6.4 4.1a6.396 6.396 0 0 0-6.375 5.9H10v1h.025a6.396 6.396 0 0 0 12.775-.5 6.4 6.4 0 0 0-6.4-6.4zM16 21.88A5.404 5.404 0 0 1 11.025 17H16v4.88zM16 16h-4.975A5.404 5.404 0 0 1 16 11.12V16zm1-4.865A5.407 5.407 0 0 1 21.774 16H17v-4.865zm0 10.73v-4.874h4.774A5.416 5.416 0 0 1 17 21.865z"},{"opacity":".5","d":"M6 2h4v4H6V2zm5 5v4h.466A7.373 7.373 0 0 1 15 9.237V7h-4z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M7 12.999h4v4H7v-4zM2 7h4V3H2v4zm10 5h4V8h-4v4zm-5 0h4V8H7v4zm10-4v4h4V8h-4z"},{"d":"M12 17v-4h4v2.388a9.7 9.7 0 0 1 1-.807V13h3.858A9.637 9.637 0 0 1 22 12.875V2H1v16h12.97c.183-.347.388-.68.61-1H12zm5-14h4v4h-4V3zm0 5h4v4h-4V8zm-5-5h4v4h-4V3zm0 5h4v4h-4V8zm-6 9H2v-4h4v4zm0-5H2V8h4v4zm0-5H2V3h4v4zm5 10H7v-4h4v4zm0-5H7V8h4v4zm0-5H7V3h4v4zm11.5 7.2a8.3 8.3 0 1 0 0 16.6 8.3 8.3 0 0 0 0-16.6zM22 29.775A7.3 7.3 0 0 1 15.225 23H22v6.775zM22 22h-6.775A7.3 7.3 0 0 1 22 15.225V22zm1-6.775A7.3 7.3 0 0 1 29.775 22H23v-6.775zm0 14.55V22.99h6.775c-.248 3.626-3.15 6.536-6.775 6.784z"},{"opacity":".5","d":"M2 8h4v4H2V8zm15-5v3.999h4V3h-4zM7 6.999h4V3H7v3.999zm5 10h2.582c.41-.59.889-1.127 1.418-1.611v-2.389h-4v4z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M1 1h2v2H1V1zm3 3v2h2V4H4z"},{"opacity":".5","d":"M4 1h2v2H4V1zM1 6h2V4H1v2z"},{"d":"M5 6H4V4h2v2h1V1h2v1h1V0H0v7h4a1 1 0 0 1 1-1zM4 1h2v2H4V1zM3 6H1V4h2v2zm0-3H1V1h2v2zm6 11h1l-1.5 2L7 14h1v-2h1v2zm7-5v1h-5.778c-.346.595-.985 1-1.722 1a1.991 1.991 0 0 1-1.723-1H1V9h5.5c0-.366.106-.705.277-1H5V7h3V3h1v4h3v1h-1.778c.172.295.278.634.278 1H16z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M1 2h4v4H1V2zm5 5v4h4V7H6z"},{"opacity":".5","d":"M12 7v4h-1V7h1zM6 6h4V2H6v4z"},{"d":"M24 15v1h-7.512c-.457.604-1.174 1-1.988 1a2.488 2.488 0 0 1-1.989-1H5v-1h7.05a2.512 2.512 0 0 1 0-1H9v-1h3.511c.36-.477.881-.826 1.489-.95V8h1v4.05a2.494 2.494 0 0 1 1.488.95H20v1h-3.05a2.508 2.508 0 0 1 0 1H24zM8 12H0V1h16v5h-1V2h-4v4h1.407v.216A.981.981 0 0 0 12 7h-1v4h-1V7H6v4h3a1 1 0 0 0-1 1zM6 6h4V2H6v4zM5 7H1v4h4V7zm0-5H1v4h4V2zm10 17h-1v3h-1l1.5 2 1.5-2h-1v-3z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M21 3v3.999h-4V3h4zM7 6.999h4V3H7v3.999zM2 12h4V8H2v4zm10 4.999h4v-4h-4v4z"},{"opacity":".25","d":"M7 12.999h4v4H7v-4zM2 7h4V3H2v4zm10 5h4V8h-4v4zm-5 0h4V8H7v4zm10-4v4h4V8h-4z"},{"d":"M32 22v1h-9.512c-.457.604-1.174 1-1.988 1a2.488 2.488 0 0 1-1.989-1H9v-1h9.05a2.512 2.512 0 0 1 0-1H15v-1h3.511c.36-.477.881-.826 1.489-.95V14h1v5.05a2.494 2.494 0 0 1 1.488.95H26v1h-3.05a2.508 2.508 0 0 1 0 1H32zm-11 4h-1v4h-1l1.5 2 1.5-2h-1v-4zm-3-8H1V2h21v10h-1V8h-4v4h2a1 1 0 0 0-1 1h-1v4h1v1zM17 7h4V3h-4v4zM6 13H2v4h4v-4zm0-5H2v4h4V8zm0-5H2v4h4V3zm5 10H7v4h4v-4zm0-5H7v4h4V8zm0-5H7v4h4V3zm5 10h-4v4h4v-4zm0-5h-4v4h4V8zm0-5h-4v4h4V3z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M4 14h1v1H4v-1zm-2-2v1h1v-1H2zm2 0v1h1v-1H4zm2-5v1h1V7H6zm2 0v1h1V7H8zm0 3h1V9H8v1zm4-5h1V4h-1v1zm0-3v1h1V2h-1zm-2 0v1h1V2h-1z"},{"d":"M5 4H2V3h3V2l2 1.5L5 5V4zm2 8h1v4H1v-5h3v2h1v-1h1v1h1v-1zm-4 2H2v1h1v-1zm0-2H2v1h1v-1zm2 2H4v1h1v-1zm2 0H6v1h1v-1zm4-7h1v4H5V6h3v2h1V7h1v1h1V7zM7 9H6v1h1V9zm0-2H6v1h1V7zm2 2H8v1h1V9zm2 0h-1v1h1V9zm5-8v5H9V1h7zm-5 3h-1v1h1V4zm0-2h-1v1h1V2zm2 2h-1v1h1V4zm0-2h-1v1h1V2zm2 2h-1v1h1V4zm0-2h-1v1h1V2z"},{"opacity":".5","d":"M6 14h1v1H6v-1zm4-4h1V9h-1v1zm4-6v1h1V4h-1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M3 16h2v2H3v-2zm3 5h2v-2H6v2zm2-9h2v-2H8v2zm3 3h2v-2h-2v2zm2-9h2V4h-2v2zm3 1v2h2V7h-2z"},{"opacity":".5","d":"M9 19h2v2H9v-2zm-3-3v2h2v-1H7a1 1 0 0 1-1-1zm8-1h2v-2h-2v2zm-3-5v2h2v-1h-1a1 1 0 0 1-1-1zm5-4h2V4h-2v2zm3 1v2h2V7h-2z"},{"d":"M11 18H9v-1H8v1H6v-3H2v7h10v-5h-1v1zm-6 3H3v-2h2v2zm0-3H3v-2h2v2zm3 3H6v-2h2v2zm3 0H9v-2h2v2zM7 6H2V5h5V4l2 1.5L7 7V6zm9 6h-2v-1h-1v1h-2V9H7v7h10v-5h-1v1zm-6 3H8v-2h2v2zm0-3H8v-2h2v2zm3 3h-2v-2h2v2zm3 0h-2v-2h2v2zM12 3v7h10V3H12zm3 6h-2V7h2v2zm0-3h-2V4h2v2zm3 3h-2V7h2v2zm0-3h-2V4h2v2zm3 3h-2V7h2v2zm0-3h-2V4h2v2z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 21h4v4H2v-4zm5 9h4v-4H7v4zm2-14h4v-4H9v4zm5 5h4v-4h-4v4zm2-14h4V3h-4v4zm5 1v4h4V8h-4z"},{"d":"M8 6H2V5h6V3l2.842 2.5L8 8V6zm8 17h1v8H1V20h6v5h4v-2h1v2h4v-2zM6 26H2v4h4v-4zm0-5H2v4h4v-4zm5 5H7v4h4v-4zm5 0h-4v4h4v-4zm7-12h1v8H8V11h6v5h4v-2h1v2h4v-2zm-10 3H9v4h4v-4zm0-5H9v4h4v-4zm5 5h-4v4h4v-4zm5 0h-4v4h4v-4zm8-15v11H15V2h16zM20 8h-4v4h4V8zm0-5h-4v4h4V3zm5 5h-4v4h4V8zm0-5h-4v4h4V3zm5 5h-4v4h4V8zm0-5h-4v4h4V3z"},{"opacity":".5","d":"M12 26h4v4h-4v-4zm7-5h4v-4h-4v4zm2-14h4V3h-4v4zm5 1v4h4V8h-4zM7 22v3h4v-2H8a1 1 0 0 1-1-1zm7-9v3h4v-2h-3a1 1 0 0 1-1-1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M4 14h1v1H4v-1zm-2-2v1h1v-1H2zm2 0v1h1v-1H4zm2-5v1h1V7H6zm2 0v1h1V7H8zm0 3h1V9H8v1zm4-5h1V4h-1v1zm0-3v1h1V2h-1zm-2 0v1h1V2h-1z"},{"d":"M12 13h3v1h-3v1l-2-1.5 2-1.5v1zm4-12v5H9V1h7zm-5 3h-1v1h1V4zm0-2h-1v1h1V2zm2 2h-1v1h1V4zm0-2h-1v1h1V2zm2 2h-1v1h1V4zm0-2h-1v1h1V2zM7 12h1v4H1v-5h3v2h1v-1h1v1h1v-1zm-4 2H2v1h1v-1zm0-2H2v1h1v-1zm2 2H4v1h1v-1zm2 0H6v1h1v-1zm5-3H5V6h3v2h1V7h1v1h1V7h1v4zM7 9H6v1h1V9zm0-2H6v1h1V7zm2 2H8v1h1V9zm2 0h-1v1h1V9z"},{"opacity":".5","d":"M6 14h1v1H6v-1zm4-4h1V9h-1v1zm4-6v1h1V4h-1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M3 16h2v2H3v-2zm3 5h2v-2H6v2zm2-9h2v-2H8v2zm3 3h2v-2h-2v2zm2-9h2V4h-2v2zm3 1v2h2V7h-2z"},{"opacity":".5","d":"M9 19h2v2H9v-2zm-3-3v2h2v-1H7a1 1 0 0 1-1-1zm8-1h2v-2h-2v2zm-3-5v2h2v-1h-1a1 1 0 0 1-1-1zm5-4h2V4h-2v2zm3 1v2h2V7h-2z"},{"d":"M17 19h5v1h-5v1l-2-1.5 2-1.5v1zm0-3H7V9h4v3h2v-1h1v1h2v-1h1v5zm-7-3H8v2h2v-2zm0-3H8v2h2v-2zm3 3h-2v2h2v-2zm3 0h-2v2h2v-2zm6-10v7H12V3h10zm-7 4h-2v2h2V7zm0-3h-2v2h2V4zm3 3h-2v2h2V7zm0-3h-2v2h2V4zm3 3h-2v2h2V7zm0-3h-2v2h2V4zM11 17h1v5H2v-7h4v3h2v-1h1v1h2v-1zm-6 2H3v2h2v-2zm0-3H3v2h2v-2zm3 3H6v2h2v-2zm3 0H9v2h2v-2z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 21h4v4H2v-4zm5 9h4v-4H7v4zm2-14h4v-4H9v4zm5 5h4v-4h-4v4zm2-14h4V3h-4v4zm5 1v4h4V8h-4z"},{"d":"M24 27h6v1h-6v2l-2.842-2.5L24 25v2zm7-25v11H15V2h16zM20 8h-4v4h4V8zm0-5h-4v4h4V3zm5 5h-4v4h4V8zm0-5h-4v4h4V3zm5 5h-4v4h4V8zm0-5h-4v4h4V3zM16 23h1v8H1V20h6v5h4v-2h1v2h4v-2zM6 26H2v4h4v-4zm0-5H2v4h4v-4zm5 5H7v4h4v-4zm5 0h-4v4h4v-4zm8-4H8V11h6v5h4v-2h1v2h4v-2h1v8zm-11-5H9v4h4v-4zm0-5H9v4h4v-4zm5 5h-4v4h4v-4zm5 0h-4v4h4v-4z"},{"opacity":".5","d":"M12 26h4v4h-4v-4zm7-5h4v-4h-4v4zm2-14h4V3h-4v4zm5 1v4h4V8h-4zM7 22v3h4v-2H8a1 1 0 0 1-1-1zm7-9v3h4v-2h-3a1 1 0 0 1-1-1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M1 1h2v2H1V1zm3 3v2h2V4H4z"},{"d":"M7 6V4h2v.832a4.28 4.28 0 0 1 1-.628V0H0v7h7.813a3.26 3.26 0 0 1 .282-1H7zm0-5h2v2H7V1zM3 6H1V4h2v2zm0-3H1V1h2v2zm3 3H4V4h2v2zm0-3H4V1h2v2zm8.975 6V7.426c0-1.341-1.337-2.425-2.98-2.425S9.012 6.084 9.012 7.425v1.578A1.03 1.03 0 0 0 8 10.03v4.942C8 15.537 8.463 16 9.03 16h5.94c.567 0 1.03-.463 1.03-1.03v-4.94c0-.565-.46-1.027-1.025-1.03zM9.971 7.208C9.971 6.537 11.178 6 12 6s2.03.537 2.03 1.207V9H13v-.886a.268.268 0 0 0-.087-.196c-.786-.698-1.554-.21-1.818-.001a.25.25 0 0 0-.095.197V9H9.971V7.207zM15 15H9v-5h6v5zm-3-1h-1v-3h1v1h1v1h-1v1z"},{"opacity":".5","d":"M4 1h2v2H4V1zM1 6h2V4H1v2zm6-2v2h1.095c.214-.44.523-.835.905-1.168V4H7z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M1 2h4v4H1V2zm5 5v4h4V7H6z"},{"d":"M13.736 11H11V7h4v2.707a4.809 4.809 0 0 1 1-.551V1H0v11h13.21a5.59 5.59 0 0 1 .526-1zM11 2h4v4h-4V2zm-6 9H1V7h4v4zm0-5H1V2h4v4zm5 5H6V7h4v4zm0-5H6V2h4v4zm12.052 9h-.056l-.005-.864c0-2.737-2.565-4.815-5.353-3.854-1.593.55-2.638 2.177-2.638 4V15h-.052a.95.95 0 0 0-.948.948v6.104a.95.95 0 0 0 .948.948h8.104a.95.95 0 0 0 .948-.948v-6.104a.95.95 0 0 0-.948-.948zM15 14.282c0-1.427.808-2.837 1.964-3.236a3.18 3.18 0 0 1 1.042-.181c1.65 0 2.994 1.542 2.994 3.272l.005.863h-1.009v-1c-.066-1.114-.933-1.973-1.99-1.973-.234 0-.475.042-.716.126-.67.232-1.194.978-1.29 1.847v1h-1v-.718zM19 14v1h-2v-1c.081-.5.383-.849.616-.929.137-.048.267-.071.39-.071.503 0 .933.435.994 1zm3 8h-8v-6h8v6zm-4-1h-1v-4h1v1h1v1h-1v1h1v1h-1z"},{"opacity":".5","d":"M6 2h4v4H6V2zm5 5v4h2.736A5.15 5.15 0 0 1 15 9.707V7h-4z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M21 3v3.999h-4V3h4zM7 6.999h4V3H7v3.999zM2 12h4V8H2v4zm10 4.999h4v-4h-4v4z"},{"opacity":".25","d":"M7 12.999h4v4H7v-4zM2 7h4V3H2v4zm10 5h4V8h-4v4zm-5 0h4V8H7v4zm10-4v4h4V8h-4z"},{"d":"M17 13h2.69a5.962 5.962 0 0 1 2.31-.91V2H1v16h16v-5zm0-10h4v4h-4V3zm0 5h4v4h-4V8zM6 17H2v-4h4v4zm0-5H2V8h4v4zm0-5H2V3h4v4zm5 10H7v-4h4v4zm0-5H7V8h4v4zm0-5H7V3h4v4zm5 10h-4v-4h4v4zm0-5h-4V8h4v4zm0-5h-4V3h4v4zm12.8 13H28v-2c0-2.75-2.25-5-5-5s-4.991 2.25-4.991 5L18 20h-.8c-.66 0-1.2.54-1.2 1.2v8.6c0 .66.54 1.2 1.2 1.2h11.6c.66 0 1.2-.54 1.2-1.2v-8.6c0-.66-.54-1.2-1.2-1.2zM19 18c0-2.206 1.794-4 4-4s4 1.794 4 4v2h-2v-1.75c0-1.325-.822-2.25-2-2.25s-1.991.925-1.991 2.25L21 20h-2v-2zm5 .25V20h-2v-1.75c0-.69.31-1.25 1-1.25s1 .56 1 1.25zm5 11.55c0 .108-.092.2-.2.2H17.2a.203.203 0 0 1-.2-.2v-8.6c0-.108.092-.2.2-.2h11.6c.108 0 .2.092.2.2v8.6zM23 24h1v1h-1v1h1v1h-1v1h-1v-5h1v1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M9 3v1h1V3H9z"},{"opacity":".25","d":"M7 3h1v1H7V3zM5 1v1h1V1H5zm2 0v1h1V1H7zM3 7h1V6H3v1zM1 5h1V4H1v1z"},{"d":"M11 0H4v5h7V0zM6 4H5V3h1v1zm0-2H5V1h1v1zm2 2H7V3h1v1zm0-2H7V1h1v1zm2 2H9V3h1v1zm0-2H9V1h1v1zM3 3H0v5h4V7H3V3zM2 7H1V6h1v1zm0-2H1V4h1v1zm4 10h10v1H5V6h1v9zm3-8V6h1v1H9zm2-1h1v1h-1V6zm3 1h-1V6h1v1zm2-1v1h-1V6h1zM7 7V6h1v1H7zm7.232 5.238c.982.873 1.74.91 1.768.912v.7c-.041 0-1.022-.012-2.232-1.088-.593-.527-.938-1.667-1.272-2.77-.259-.852-.65-2.142-.996-2.142s-.737 1.29-.996 2.142c-.334 1.103-.679 2.243-1.272 2.77C8.022 13.838 7.041 13.85 7 13.85v-.7c.027-.002.786-.04 1.768-.912.444-.395.775-1.486 1.066-2.449.43-1.416.8-2.639 1.666-2.639s1.236 1.223 1.666 2.64c.291.962.622 2.053 1.066 2.448z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 5h2v2H2V5zm3 5h2V8H5v2zm2-7h2V1H7v2zm3 1v2h2V4h-2z"},{"opacity":".5","d":"M8 8h2v2H8V8zm2-5h2V1h-2v2zm3 1v2h2V4h-2z"},{"d":"M16 0H6v7h10V0zM9 6H7V4h2v2zm0-3H7V1h2v2zm3 3h-2V4h2v2zm0-3h-2V1h2v2zm3 3h-2V4h2v2zm0-3h-2V1h2v2zm-7 7V8H7v2H5V8h1a1 1 0 0 1-1-1V4H1v7h8a1 1 0 0 1 1-1H8zm-4 0H2V8h2v2zm0-3H2V5h2v2zm7 3h-1V8h1v2zm13 13v1H10V11h1v12h13zm-1-10h-1v-1h1v1zm-2 0h-1v-1h1v1zm-2 0h-1v-1h1v1zm-3-1h1v1h-1v-1zm-1 1h-1v-1h1v1zm-2-1v1h-1v-1h1zm4.55 1.112c1.217 0 1.767 1.86 2.3 3.872.218.833.445 1.695.68 2.16.61 1.225 2.054 1.932 2.405 2.061l.065.024V22l-.133-.045c-.256-.085-2.19-.879-2.992-2.483-.262-.524-.485-1.371-.723-2.268-.482-1.827-.998-3.361-1.602-3.361-.606 0-1.12 1.534-1.595 3.334-.244.924-.468 1.771-.73 2.295-.832 1.667-3.051 2.447-3.075 2.454l-.15.05v-.789c.345-.131 1.974-.845 2.572-2.042.23-.46.448-1.283.677-2.154.532-2.017 1.082-3.879 2.3-3.879z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M7 2h4v4H7V2zm5 5v4h4V7h-4zM2 11h3V7H2v4zm5 5h4v-3H7v3z"},{"d":"M16 13h1v2h-1v-2zm6-1H6V1h16v11zM11 7H7v4h4V7zm0-5H7v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm-9 11h-1v3H7v-3H6v3H2v-4h3v-1H2V7h3V6H1v11h12v-1h-1v-3zm9 17h-6V15h-1v16h18v-1H21zm-1.313-4.656c-.792 1.583-2.995 2.52-3.624 2.76v.744l.047-.016c.13-.043 3.15-1.07 4.203-3.176.341-.682.64-1.81.954-3.002.534-2.023 1.265-4.795 2.233-4.795s1.7 2.772 2.233 4.795c.315 1.193.613 2.32.954 3.002 1.052 2.106 4.074 3.133 4.203 3.176l.11.037v-.74c-.526-.196-2.864-1.14-3.687-2.785-.31-.618-.598-1.711-.903-2.868-.69-2.614-1.403-5.316-2.91-5.316s-2.22 2.702-2.91 5.316c-.305 1.157-.594 2.25-.904 2.868zM24 16h-1v1h1v-1zm2 0h-1v1h1v-1zm2 0h-1v1h1v-1zm2 0h-1v1h1v-1zm-9 0v1h1v-1h-1zm-1 0h-1v1h1v-1zm-3 1h1v-1h-1v1z"},{"opacity":".5","d":"M21 7v4h-4V7h4zm-9-1h4V2h-4v4zm0 10h1v-1a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v-2h-4v3zm-5-5h4V7H7v4z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M9 3v1h1V3H9z"},{"opacity":".25","d":"M8 1v1H7V1h1zM5 1v1h1V1H5zm2 3h1V3H7v1zM3 7h1V6H3v1zM1 5h1V4H1v1z"},{"d":"M11 0H4v5h7V0zM6 4H5V3h1v1zm0-2H5V1h1v1zm2 2H7V3h1v1zm0-2H7V1h1v1zm2 2H9V3h1v1zm0-2H9V1h1v1zM3 3H0v5h4V7H3V3zM2 7H1V6h1v1zm0-2H1V4h1v1zm8 6H9v-1h1v1zm1-1h1v1h-1v-1zm3 1h-1v-1h1v1zm2-1v1h-1v-1h1zm-8 0v1H7v-1h1zm-2 5h10v1H5V6h1v9zm1-1.85c.027-.002.786-.04 1.768-.912.07-.062.135-.145.2-.238h.81c-.159.31-.336.576-.546.762C8.022 13.838 7.041 13.85 7 13.85v-.7zm4.5-6c.698 0 1.074.8 1.419 1.85h-.74c-.213-.611-.455-1.15-.679-1.15s-.466.539-.68 1.15h-.739c.345-1.05.72-1.85 1.419-1.85zm2.732 5.088c.982.873 1.74.91 1.768.912v.7c-.041 0-1.022-.012-2.232-1.088-.21-.186-.387-.452-.545-.762h.81c.064.093.13.176.2.238z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 5h2v2H2V5zm3 5h2V8H5v2zm2-7h2V1H7v2zm3 1v2h2V4h-2z"},{"opacity":".5","d":"M8 8h2v2H8V8zm2-5h2V1h-2v2zm3 1v2h2V4h-2z"},{"d":"M8 10V8H7v2H5V8h1a1 1 0 0 1-1-1V4H1v7h8a1 1 0 0 1 1-1H8zm-4 0H2V8h2v2zm0-3H2V5h2v2zm7 3h-1V8h1v2zm5-10H6v7h10V0zM9 6H7V4h2v2zm0-3H7V1h2v2zm3 3h-2V4h2v2zm0-3h-2V1h2v2zm3 3h-2V4h2v2zm0-3h-2V1h2v2zm9 20v1H10V11h1v12h13zm-12-1.813c.345-.131 1.974-.845 2.572-2.042.02-.041.04-.099.06-.145h.79a4.53 4.53 0 0 1-.197.472c-.832 1.667-3.051 2.447-3.075 2.454l-.15.05v-.789zM15.523 16c.463-1.595 1.013-2.888 2.027-2.888 1.013 0 1.563 1.294 2.026 2.888h-.765c-.385-1.248-.797-2.157-1.261-2.157-.467 0-.88.915-1.261 2.157h-.766zm4.352 3.472a4.587 4.587 0 0 1-.197-.472h.79c.021.046.041.104.061.145.612 1.224 2.055 1.931 2.406 2.06l.065.024V22l-.133-.045c-.256-.085-2.19-.879-2.992-2.483zM23 18h-1v-1h1v1zm-2 0h-1v-1h1v1zm-3-1h1v1h-1v-1zm-2 0h1v1h-1v-1zm-1 1h-1v-1h1v1zm-2-1v1h-1v-1h1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M7 2h4v4H7V2zm5 5v4h4V7h-4zM2 11h3V7H2v4zm5 5h4v-3H7v3z"},{"opacity":".5","d":"M21 7v4h-4V7h4zm-9-1h4V2h-4v4zm0 10h1v-1a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v-2h-4v3zm-5-5h4V7H7v4z"},{"d":"M21 23h1v1h-1v-1zm2 1h1v-1h-1v1zm-7-7h1v-4h-1v4zm12 6h-1v1h1v-1zm-3 1h1v-1h-1v1zm5-1h-1v1h1v-1zm-8-11H6V1h16v11zM11 7H7v4h4V7zm0-5H7v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm-4 22h1v-1h-1v1zm3-1h-1v1h1v-1zm-8-10h-1v3H7v-3H6v3H2v-4h3v-1H2V7h3V6H1v11h12v-1h-1v-3zm9 17h-6V15h-1v16h18v-1H21zm.44-8c.516-1.918 1.193-4.14 2.06-4.14s1.544 2.222 2.06 4.14h.724c-.654-2.455-1.369-4.84-2.784-4.84s-2.13 2.385-2.784 4.84h.725zm9.45 6.832l.11.037v-.74c-.526-.196-2.864-1.14-3.687-2.785-.048-.097-.096-.225-.144-.344h-.753c.088.245.177.47.27.656 1.053 2.106 4.075 3.133 4.204 3.176zm-10.577-3.176c.094-.186.183-.41.271-.656h-.753c-.048.12-.096.247-.144.344-.792 1.583-2.995 2.52-3.624 2.76v.744l.047-.016c.13-.043 3.15-1.07 4.203-3.176z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M9 3v1h1V3H9z"},{"d":"M16 6.15v.7c-.027.002-.786.04-1.768.912-.444.395-.775 1.486-1.066 2.449-.43 1.416-.8 2.639-1.666 2.639s-1.236-1.223-1.666-2.64c-.291-.962-.622-2.053-1.066-2.448-.982-.873-1.74-.91-1.768-.912v-.7c.041 0 1.022.012 2.232 1.088.593.527.938 1.667 1.272 2.77.259.852.65 2.142.996 2.142s.737-1.29.996-2.142c.334-1.103.679-2.243 1.272-2.77C14.978 6.162 15.959 6.15 16 6.15zM13 13v1h1v-1h-1zm-2 0v1h1v-1h-1zm-2 0v1h1v-1H9zm-1 0H7v1h1v-1zm7 1h1v-1h-1v1zM6 6H5v10h11v-1H6V6zm5-1H4V0h7v5zM6 3H5v1h1V3zm0-2H5v1h1V1zm2 2H7v1h1V3zm0-2H7v1h1V1zm2 2H9v1h1V3zm0-2H9v1h1V1zM3 7h1v1H0V3h3v4zM2 6H1v1h1V6zm0-2H1v1h1V4z"},{"opacity":".25","d":"M5 1h1v1H5V1zm2 0v1h1V1H7zm0 3h1V3H7v1zM3 7h1V6H3v1zM1 5h1V4H1v1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 5h2v2H2V5zm3 5h2V8H5v2zm2-7h2V1H7v2zm3 1v2h2V4h-2z"},{"opacity":".5","d":"M8 8h2v2H8V8zm2-5h2V1h-2v2zm3 1v2h2V4h-2z"},{"d":"M11 10h-1V8h1v2zm-1 0a1 1 0 0 0-1 1H1V4h4v3a1 1 0 0 0 1 1H5v2h2V8h1v2h2zM4 8H2v2h2V8zm0-3H2v2h2V5zm12 2H6V0h10v7zM9 4H7v2h2V4zm0-3H7v2h2V1zm3 3h-2v2h2V4zm0-3h-2v2h2V1zm3 3h-2v2h2V4zm0-3h-2v2h2V1zm.125 13.513c-.802-1.605-2.736-2.399-2.992-2.484L12 11.984v.77l.065.025c.351.13 1.794.836 2.406 2.06.234.467.46 1.328.68 2.161.532 2.013 1.082 3.872 2.3 3.872 1.218 0 1.768-1.861 2.3-3.879.23-.87.446-1.693.677-2.153.598-1.197 2.227-1.911 2.572-2.043v-.788l-.15.05c-.024.006-2.243.787-3.075 2.454-.262.523-.486 1.37-.73 2.295-.475 1.8-.99 3.334-1.595 3.334-.604 0-1.12-1.535-1.602-3.362-.238-.896-.461-1.744-.723-2.267zM12 22h1v-1h-1v1zm2 0h1v-1h-1v1zm2 0h1v-1h-1v1zm2 0h1v-1h-1v1zm2 0h1v-1h-1v1zm3 0v-1h-1v1h1zm-12 1V11h-1v13h14v-1H11z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M7 2h4v4H7V2zm5 5v4h4V7h-4zM2 11h3V7H2v4zm5 5h4v-3H7v3z"},{"d":"M12 16h1v1H1V6h4v1H2v4h3v1H2v4h4v-3h1v3h4v-3h1v3zm4.429-.78c.076.025.285.099.571.218V13h-1v2.13c.107 0 .215.018.318.053l.11.037zM22 12H6V1h16v11zM11 7H7v4h4V7zm0-5H7v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm0 28h-6V15h-1v16h18v-1H21zm-.687-10.788c-1.052-2.105-4.074-3.132-4.203-3.175L16 16v.74c.526.196 2.864 1.14 3.687 2.785.31.618.598 1.71.903 2.868.69 2.613 1.403 5.316 2.91 5.316s2.22-2.703 2.91-5.316c.305-1.157.594-2.25.903-2.868.792-1.583 2.995-2.52 3.625-2.76v-.744l-.048.016c-.13.043-3.15 1.07-4.203 3.175-.341.683-.64 1.81-.954 3.002-.534 2.024-1.265 4.795-2.233 4.795s-1.7-2.771-2.233-4.795c-.315-1.192-.613-2.319-.953-3.002zM23 29h1v-1h-1v1zm-1 0v-1h-1v1h1zm-3 0h1v-1h-1v1zm-1 0v-1h-1v1h1zm8 0v-1h-1v1h1zm1 0h1v-1h-1v1zm3 0v-1h-1v1h1z"},{"opacity":".5","d":"M21 7v4h-4V7h4zm-9-1h4V2h-4v4zm0 10h1v-1a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v-2h-4v3zm-5-5h4V7H7v4z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M15.326 12.382l-2.808 2.81-2.81-2.81.707-.707L12 13.26V5h1v8.295l1.62-1.62.706.707zM11 10H0V0h12v4H8v2h3v1H8v2h3v1zM7 4H4v2h3V4zM1 3h10V1H1v2zm0 3h2V4H1v2zm2 3V7H1v2h2zm4 0V7H4v2h3z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M17 1H1v14h16V1zM2 6h2v2H2V6zm8 2H5V6h5v2zm0 1v2H5V9h5zM2 9h2v2H2V9zm0 5v-2h2v2H2zm3 0v-2h5v2H5zm11 0h-5v-2h5v2zm0-3h-5V9h5v2zm0-3h-5V6h5v2zm0-3H2V2h14v3zm7.354 13.354L19.5 22.207l-3.854-3.853.708-.708L19 20.293V7h1v13.293l2.646-2.647.708.708z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M22 2H1v17h21V2zM2 8h4v3H2V8zm12 3H7V8h7v3zm0 1v3H7v-3h7zM2 12h4v3H2v-3zm0 6v-2h4v2H2zm5 0v-2h7v2H7zm14 0h-6v-2h6v2zm0-3h-6v-3h6v3zm0-4h-6V8h6v3zm0-4H2V3h19v4zm9.354 18.354L25.5 30.207l-4.854-4.853.708-.708L25 28.293V12h1v16.293l3.646-3.647.708.708z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"d":"M4 4h2v1h1V4h2v1h1V0H0v7h5V6H4V4zm3-3h2v2H7V1zM4 1h2v2H4V1zM3 6H1V4h2v2zm0-3H1V1h2v2zm12.354 11.646l-.707.708L7 7.707V10H6V6h4v1H7.707l7.647 7.646z"},{"opacity":".5","d":"M9 4v1H7V4h2zM1 6h2V4H1v2zm3-3h2V1H4v2z"},{"opacity":".25","d":"M1 1h2v2H1V1zm3 3v2h1a1 1 0 0 1 1-1V4H4z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M15 7v3h-4V7h4zM6 6h4V2H6v4z"},{"d":"M23.354 22.646l-.708.707L12 12.707V16h-1v-5h5v1h-3.293l10.647 10.646zM11 10a.43.43 0 0 0-.157.032.979.979 0 0 0-.834.968L10 7H6v4h4v1H0V1h16v9h-1V7h-4v3zm0-4h4V2h-4v4zM5 7H1v4h4V7zm0-5H1v4h4V2zm5 0H6v4h4V2z"},{"opacity":".25","d":"M1 2h4v4H1V2zm5 5v4h4V7H6z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M7 12.999h4v4H7v-4zM2 7h4V3H2v4zm10 5h4V8h-4v4zm-5 0h4V8H7v4zm10-4v4h4V8h-4z"},{"d":"M12 13h4v2h1v-2h4v2h1V2H1v16h14v-1h-3v-4zm5-10h4v4h-4V3zm0 5h4v4h-4V8zm-5-5h4v4h-4V3zm0 5h4v4h-4V8zm-6 9H2v-4h4v4zm0-5H2V8h4v4zm0-5H2V3h4v4zm5 10H7v-4h4v4zm0-5H7V8h4v4zm0-5H7V3h4v4zm19.354 22.646l-.708.708L17 17.707V22h-1v-6h6v1h-4.293l12.647 12.646z"},{"opacity":".5","d":"M7 3h4v3.999H7V3zm-5 9h4V8H2v4zm15-9v3.999h4V3h-4zm-5 14h3v-1a1 1 0 0 1 1-1v-2h-4v4z"},{"d":"M16 16v6h1v-5h5v-1h-6z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 5h2v2H2V5z"},{"opacity":".5","d":"M2 8h2v2H2V8zm7 5h1v-1H9v1zm2-5v2h2V8h-2z"},{"d":"M7 4H1v10h4V8h2V4zm-3 9H2v-2h2v2zm0-4v1H2V8h2v1zm0-2H2V5h2v2zm2 0H5V5h1v2zm4 4H8v3h6V4h-4v7zm0 2H9v-1h1v1zm1-8h2v2h-2V5zm0 3h2v2h-2V8zm0 4v-1h2v2h-2v-1zM9 4H8V2h1v2zm0 3H8V5h1v2zm-2 3v1H6V9h2V8h1v2H7zm-1 2h1v2H6v-2zm0 3h1v1H6v-1zM9 1H8V0h1v1zm7 0v1h-4v1l-2-1.5L12 0v1h4zM5 2H1V1h4V0l2 1.5L5 3V2z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M2 12h3v3H2v-3zm4-1h2V8H6v3zm13 1v3h3v-3h-3zm-4 7h3v-3h-3v3z"},{"opacity":".25","d":"M2 8h3v3H2V8zm4 11h2v-3H6v3zm7 0h1v-3h-1v3zm6-11v3h3V8h-3zm-3 7h2v-3h-2v3z"},{"d":"M14 2h-1V1h1v1zm-4 21h1v-1h-1v1zm4-14h-1v2h1V9zm0-3h-1v2h1V6zm0-3h-1v2h1V3zm-2 10v1h2v-2h-1v1h-1zm11-6v13H12v-5h3V7h8zm-9 9h-1v3h1v-3zm4 0h-3v3h3v-3zm0-4h-2v3h2v-3zm0-4h-2v3h2V8zm4 8h-3v3h3v-3zm0-4h-3v3h3v-3zm0-4h-3v3h3V8zm-10 4H9v8H1V7h11v5zm-7 4H2v3h3v-3zm0-4H2v3h3v-3zm0-4H2v3h3V8zm3 8H6v3h2v-3zm0-4H6v3h2v-3zm0-4H6v3h2V8zm3 0H9v3h2V8zm-1 7h1v-2h-1v2zm0 3h1v-2h-1v2zm0 3h1v-2h-1v2zm0-15l2-1.5L10 3v1H5v1h5v1zm7-1h5V4h-5V3l-2 1.5L17 6V5z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M4 16h4v4H4v-4zm5-1h4v-4H9v4zm15 1v4h4v-4h-4zm-3 6h-2v3h4v-4h-2v1z"},{"opacity":".25","d":"M4 11h4v4H4v-4zm5 14h2v-4H9v4zm7 0h2v-3h-2v3zm8-14v4h4v-4h-4zm-3 9h2v-4h-2v4zm-5-4h-2v1h2v-1z"},{"d":"M13 28h1v2h-1v-2zm0-1h1v-2h-1v2zm0-3h1v-2h-1v2zm6-9h-1v2h1v-2zm0-3h-1v2h1v-2zm0-3h-1v2h1V9zm0-3h-1v2h1V6zm0-3h-1v2h1V3zm-3 17h3v-2h-1v1h-2v1zm-1-1h-2v2h1v-1h1v-1zm8-14V3l-2.842 2.5L23 8V6h6V5h-6zm-9 3l2.842-2.5L14 3v2H8v1h6v2zm6 2h9v16H15v-5h5V10zm-2 12h-2v3h2v-3zm6-7h4v-4h-4v4zm0 5h4v-4h-4v4zm0 5h4v-4h-4v4zm-3-10h2v-4h-2v4zm0 5h2v-4h-2v4zm0 2h-2v3h4v-4h-2v1zm-9-4v8H3V10h14v8h-5zm2-3h2v-4h-2v4zm0 2h2v-1h-2v1zm-6 4H4v4h4v-4zm0-5H4v4h4v-4zm0-5H4v4h4v-4zm1 4h4v-4H9v4zm2 6H9v4h2v-4zm2-4v-1H9v4h2v-3h2zm0 15h1v-1h-1v1zm6-31h-1v1h1V1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"d":"M6.413 6H6v1H5V6H4v1H3V3H0v5h7v-.968l-.326-.348A.993.993 0 0 1 6.414 6zM2 7H1V6h1v1zm0-2H1V4h1v1zm13.972 9.541L15.065 16H7.557l4.096-5.464L7.403 6H15v1.973h-.991V7H9.71l3.246 3.464L9.556 15h4.953l.613-.986.85.527zM11 0H4v5h7V0zM6 4H5V3h1v1zm0-2H5V1h1v1zm2 2H7V3h1v1zm0-2H7V1h1v1zm2 2H9V3h1v1zm0-2H9V1h1v1z"},{"opacity":".5","d":"M10 3v1H9V3h1zM5 7h1V6H5v1z"},{"opacity":".25","d":"M7 3h1v1H7V3zM5 1v1h1V1H5zm2 0v1h1V1H7zM3 7h1V6H3v1zM1 5h1V4H1v1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M2 5h2v2H2V5zm3 5h2V8H5v2zm2-7h2V1H7v2zm3 1v2h2V4h-2z"},{"opacity":".5","d":"M8 8h2v2H8V8zm2-5h2V1h-2v2zm3 1v2h2V4h-2z"},{"d":"M10 10H8V8H7v2H5V8h1a1 1 0 0 1-1-1V4H1v7h10V8h-1v2zm-6 0H2V8h2v2zm0-3H2V5h2v2zm12-7H6v7h10V0zM9 6H7V4h2v2zm0-3H7V1h2v2zm3 3h-2V4h2v2zm0-3h-2V1h2v2zm3 3h-2V4h2v2zm0-3h-2V1h2v2zm8.99 18.453L22.77 24H12.499l5.201-7.477L12.405 10h10.55v3H22v-2h-7.495l4.444 5.477L14.412 23h7.728l.947-1.979.902.432z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".5","d":"M12 13h4v3h-4v-3zm-5-2h4V7H7v4zm5-5h4V2h-4v4zm5 1v4h4V7h-4z"},{"opacity":".25","d":"M7 2h4v4H7V2zm5 5v4h4V7h-4zM2 11h3V7H2v4zm5 5h4v-3H7v3z"},{"d":"M16 13h1v4H1V6h4v1H2v4h3v1H2v4h4v-3h1v3h4v-3h1v3h4v-3zm6-1H6V1h16v11zM11 7H7v4h4V7zm0-5H7v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm5 5h-4v4h4V7zm0-5h-4v4h4V2zm9.065 26.04L29.178 30h-9.051l5.812-7.602L20.231 16H29v2h1v-3H18l6.643 7.447L18 31h11.822l1.154-2.549-.91-.412z"}]
|