@pixerate/editor 0.124.0 → 0.124.1

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.
Files changed (41) hide show
  1. package/dist/{chunk-IWSMDQE5.cjs → chunk-4QQZV5Y5.cjs} +18 -29
  2. package/dist/chunk-4QQZV5Y5.cjs.map +1 -0
  3. package/dist/{chunk-IOXKXQNW.cjs → chunk-CN4PJHUG.cjs} +59 -3
  4. package/dist/chunk-CN4PJHUG.cjs.map +1 -0
  5. package/dist/{chunk-TK53AB4Q.cjs → chunk-FHYDQOPC.cjs} +3 -3
  6. package/dist/{chunk-TK53AB4Q.cjs.map → chunk-FHYDQOPC.cjs.map} +1 -1
  7. package/dist/{chunk-VFAKN46Z.js → chunk-JRXJTPES.js} +2 -2
  8. package/dist/{chunk-YVVSTD3B.js → chunk-ORHMVUR6.js} +8 -19
  9. package/dist/chunk-ORHMVUR6.js.map +1 -0
  10. package/dist/{chunk-TGKT5QAB.js → chunk-QEG3GRN2.js} +58 -2
  11. package/dist/chunk-QEG3GRN2.js.map +1 -0
  12. package/dist/effects/index.cjs +51 -34
  13. package/dist/effects/index.cjs.map +1 -1
  14. package/dist/effects/index.d.cts +35 -3
  15. package/dist/effects/index.d.ts +35 -3
  16. package/dist/effects/index.js +20 -3
  17. package/dist/effects/index.js.map +1 -1
  18. package/dist/{export-8RnlngAv.d.ts → export-BGtXgMJ3.d.ts} +3 -1
  19. package/dist/{export-DM3h7QEI.d.ts → export-BdfY_lH0.d.ts} +4 -2
  20. package/dist/{export-BzSRXyH6.d.cts → export-CbpjwxaI.d.cts} +4 -2
  21. package/dist/{export-TqXMOlDt.d.cts → export-WmYoWmLM.d.cts} +3 -1
  22. package/dist/image-editor/index.cjs +110 -121
  23. package/dist/image-editor/index.cjs.map +1 -1
  24. package/dist/image-editor/index.d.cts +2 -2
  25. package/dist/image-editor/index.d.ts +2 -2
  26. package/dist/image-editor/index.js +7 -18
  27. package/dist/image-editor/index.js.map +1 -1
  28. package/dist/paint-editor/index.cjs +3 -3
  29. package/dist/paint-editor/index.d.cts +2 -2
  30. package/dist/paint-editor/index.d.ts +2 -2
  31. package/dist/paint-editor/index.js +2 -2
  32. package/dist/video-editor/index.cjs +270 -270
  33. package/dist/video-editor/index.d.cts +2 -2
  34. package/dist/video-editor/index.d.ts +2 -2
  35. package/dist/video-editor/index.js +3 -3
  36. package/package.json +1 -1
  37. package/dist/chunk-IOXKXQNW.cjs.map +0 -1
  38. package/dist/chunk-IWSMDQE5.cjs.map +0 -1
  39. package/dist/chunk-TGKT5QAB.js.map +0 -1
  40. package/dist/chunk-YVVSTD3B.js.map +0 -1
  41. /package/dist/{chunk-VFAKN46Z.js.map → chunk-JRXJTPES.js.map} +0 -0
@@ -1,5 +1,5 @@
1
- import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-TqXMOlDt.cjs';
2
- export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorRange, da as combineSelections, db as componentPath, dc as compositeDeep, dd as computeHistogram, de as computeSelectionBounds, df as contentsBox, dg as contentsSurface, dh as contractCoverage, di as convertHex, dj as convertSurfaceColors, dk as convertToSmartObject, dl as copySmartObject, dm as cornersFromMatrix, dn as coverageToByte, dp as createSelectionMask, dq as createShapeLayer, dr as createTypeLayer, ds as decodeDeepSurface, dt as decodeLayerChannel, du as decodeLayerMask, dv as decodeMergedImage, dw as decodePngDataUrl, dx as decodeSelectionRle, dy as defaultShapeName, dz as depthMaskAlpha, dA as describeTransform, dB as deserializeColorMode, dC as deserializeColorProfile, dD as deserializeEffects, dE as deserializeLayer, dF as deserializeLayers, dG as deserializePatterns, dH as deserializeSelection, dI as developFilter, dJ as displayTransform, dK as distanceTransform, dL as documentContents, dM as documentProfile, dN as duplicateLayer, dO as edgeWidth, dP as effectPixelsToSurface, dQ as effectiveProof, dR as ellipsePoints, dS as ellipseSelection, dT as encodeDeepSurface, dU as encodeSelectionRle, dV as encodeSurface, dW as expandCoverage, dX as exportPsd, dY as featherCoverage, dZ as filterMaskCoverage, d_ as flipCorners, d$ as fullSelection, e0 as geometryHomography, e1 as getAnnotationBounds, e2 as getCropCursor, e3 as getRotatedSize, e4 as getViewportMetrics, e5 as getViewportProjection, e6 as globalImageCache, e7 as greyMorphology, e8 as groupLayers, e9 as guidePlanes, ea as guidedFilterColor, eb as hasSurface, ec as hasWarp, ed as hashMaskContent, ee as histogramPath, ef as hitTestAnnotation, eg as hitTestCrop, eh as hueRange, ei as identityTransform, ej as imageToCanvasPoint, ek as importPsd, el as instancesOf, em as invertSelection, en as isActiveFilter, eo as isContentsDecoded, ep as isIdentityTransform, eq as isQuarterTurnSwapped, er as isRenderedLayer, es as isRetouchTool, et as isSelectionEmpty, eu as isSelectionMode, ev as isSmartSurfaceIncomplete, ew as isSpatialFilter, ex as isSrgb, ey as isTransformAnchor, ez as isValidWarp, eA as layerEffectsOf, eB as layerMaskCoverage, eC as layerMaskFromSelection, eD as layerMaskKey, eE as layerName, eF as layerTree, eG as layerTypeLabel, eH as liveComponent, eI as liveShapeSubpaths, eJ as magicWand, eK as mapCropHandle, eL as mapSubpaths, eM as matrixFromCorners, eN as matrixFromParams, eO as mergeShapeComponents, eP as migrateSerializedImageEditorState, eQ as migrateToLayeredState, eR as modifySelection, eS as moveLayer, eT as moveSmartFilter, eU as newContentsId, eV as newLayerId, eW as normalizeAngle, eX as normalizeFilter, eY as normalizeLayerMask, eZ as normalizeLiveShape, e_ as normalizePlacement, e$ as normalizeRect, f0 as normalizeRefineEdgeParams, f1 as normalizeShapePaint, f2 as normalizeShapeStroke, f3 as normalizeSmartFilter, f4 as normalizeStoredAdjustments, f5 as normalizeSubpaths, f6 as normalizeText, f7 as offsetLayer, f8 as offsetShape, f9 as offsetSmartObject, fa as parseBlend, fb as parseColor, fc as parseSelectionMode, fd as patchParagraphStyle, fe as patchTextStyle, ff as pixelLayerBounds, fg as pixelLayers, fh as placeContents, fi as placeLayer, fj as placementAt, fk as placementBounds, fl as placementGeometry, fm as polygonCoverage, fn as polygonSelection, fo as presetWarp, fp as previewStep, fq as profileBytes, fr as projectImagePoint, fs as projectImageRect, ft as projectMaskCoverage, fu as psdToLayers, fv as rasterContents, fw as rasterizeSmartObject, fx as readPsd, fy as rectSelection, fz as referencePoint, fA as refineCoverage, fB as refineEdgeHalo, fC as refineSelection, fD as removeLayer, fE as removeLayerEffect, fF as removeLayerFilter, fG as removeSmartFilter, fH as renderShape, fI as renderShapeRect, fJ as renderSmartObject, fK as renderText, fL as replaceContents, fM as replaceTextRange, fN as requireLayer, fO as requireOperation, fP as requireShapeLayer, fQ as requireSmartObject, fR as requireTypeLayer, fS as requireUnlocked, fT as rerender, fU as rerenderShape, fV as rerenderText, fW as resizePixels, fX as resizeSelection, fY as resolveExternalAssets, fZ as resolveProfile, f_ as runLayerFilters, f$ as runLayerFiltersFloat, g0 as selectionArea, g1 as selectionFromCoverage, g2 as selectionFromPixels, g3 as selectionToCoverage, g4 as selectionToPixels, g5 as selectionValueAt, g6 as serializeColorMode, g7 as serializeColorProfile, g8 as serializeContents, g9 as serializeEffects, ga as serializeLayer, gb as serializeLayers, gc as serializeLayersExternal, gd as serializePatterns, ge as serializeSelection, gf as setLayerEffects, gg as setLayerEffectsEnabled, gh as setLayerMask, gi as setLayerProperties, gj as setSmartFilterMask, gk as setSmartFiltersEnabled, gl as setSmartPlacement, gm as shapeAsPixelLayer, gn as shapeFromAnnotation, go as shapeGeometryBounds, gp as shapeLayers, gq as shapeOutline, gr as shapeRenderClip, gs as shiftCoverage, gt as smartObjectLayers, gu as smoothCoverage, gv as srgb8ToLab, gw as textMatrix, gx as textOutlines, gy as textRange, gz as toHex, gA as toTextSpace, gB as toneRange, gC as transformHomography, gD as transformMap, gE as transformShapeComponents, gF as transformTypeLayer, gG as transformedBox, gH as transformedPoint, gI as typeAsPixelLayer, gJ as typeFrame, gK as typeFromAnnotation, gL as typeLayerName, gM as ungroupLayer, gN as unionRect, gO as unprojectCanvasPoint, gP as updateLayerEffect, gQ as updateLayerFilter, gR as updateLayerMaskProps, gS as updateShapeLayer, gT as updateSmartFilter, gU as updateTypeLayer, gV as withFilterMaskSurface, gW as withNewIds, gX as writePsd } from '../export-TqXMOlDt.cjs';
1
+ import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-WmYoWmLM.cjs';
2
+ export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorRange, da as combineSelections, db as componentPath, dc as compositeDeep, dd as computeHistogram, de as computeSelectionBounds, df as contentsBox, dg as contentsSurface, dh as contractCoverage, di as convertHex, dj as convertSurfaceColors, dk as convertToSmartObject, dl as copySmartObject, dm as cornersFromMatrix, dn as coverageToByte, dp as createSelectionMask, dq as createShapeLayer, dr as createTypeLayer, ds as decodeDeepSurface, dt as decodeLayerChannel, du as decodeLayerMask, dv as decodeMergedImage, dw as decodePngDataUrl, dx as decodeSelectionRle, dy as defaultShapeName, dz as depthMaskAlpha, dA as describeTransform, dB as deserializeColorMode, dC as deserializeColorProfile, dD as deserializeEffects, dE as deserializeLayer, dF as deserializeLayers, dG as deserializePatterns, dH as deserializeSelection, dI as developFilter, dJ as displayTransform, dK as distanceTransform, dL as documentContents, dM as documentProfile, dN as duplicateLayer, dO as edgeWidth, dP as effectPixelsToSurface, dQ as effectiveProof, dR as ellipsePoints, dS as ellipseSelection, dT as encodeDeepSurface, dU as encodeSelectionRle, dV as encodeSurface, dW as expandCoverage, dX as exportPsd, dY as featherCoverage, dZ as filterMaskCoverage, d_ as flipCorners, d$ as fullSelection, e0 as geometryHomography, e1 as getAnnotationBounds, e2 as getCropCursor, e3 as getRotatedSize, e4 as getViewportMetrics, e5 as getViewportProjection, e6 as globalImageCache, e7 as greyMorphology, e8 as groupLayers, e9 as guidePlanes, ea as guidedFilterColor, eb as hasSurface, ec as hasWarp, ed as hashMaskContent, ee as histogramPath, ef as hitTestAnnotation, eg as hitTestCrop, eh as hueRange, ei as identityTransform, ej as imageToCanvasPoint, ek as importPsd, el as instancesOf, em as invertSelection, en as isActiveFilter, eo as isContentsDecoded, ep as isIdentityTransform, eq as isQuarterTurnSwapped, er as isRenderedLayer, es as isRetouchTool, et as isSelectionEmpty, eu as isSelectionMode, ev as isSmartSurfaceIncomplete, ew as isSpatialFilter, ex as isSrgb, ey as isTransformAnchor, ez as isValidWarp, eA as layerEffectsOf, eB as layerMaskCoverage, eC as layerMaskFromSelection, eD as layerMaskKey, eE as layerName, eF as layerTree, eG as layerTypeLabel, eH as liveComponent, eI as liveShapeSubpaths, eJ as magicWand, eK as mapCropHandle, eL as mapSubpaths, eM as matrixFromCorners, eN as matrixFromParams, eO as mergeShapeComponents, eP as migrateSerializedImageEditorState, eQ as migrateToLayeredState, eR as modifySelection, eS as moveLayer, eT as moveSmartFilter, eU as newContentsId, eV as newLayerId, eW as normalizeAngle, eX as normalizeFilter, eY as normalizeLayerMask, eZ as normalizeLiveShape, e_ as normalizePlacement, e$ as normalizeRect, f0 as normalizeRefineEdgeParams, f1 as normalizeShapePaint, f2 as normalizeShapeStroke, f3 as normalizeSmartFilter, f4 as normalizeStoredAdjustments, f5 as normalizeSubpaths, f6 as normalizeText, f7 as offsetLayer, f8 as offsetShape, f9 as offsetSmartObject, fa as parseBlend, fb as parseColor, fc as parseSelectionMode, fd as patchParagraphStyle, fe as patchTextStyle, ff as pixelLayerBounds, fg as pixelLayers, fh as placeContents, fi as placeLayer, fj as placementAt, fk as placementBounds, fl as placementGeometry, fm as polygonCoverage, fn as polygonSelection, fo as presetWarp, fp as previewStep, fq as profileBytes, fr as projectImagePoint, fs as projectImageRect, ft as projectMaskCoverage, fu as psdToLayers, fv as rasterContents, fw as rasterizeSmartObject, fx as readPsd, fy as rectSelection, fz as referencePoint, fA as refineCoverage, fB as refineEdgeHalo, fC as refineSelection, fD as removeLayer, fE as removeLayerEffect, fF as removeLayerFilter, fG as removeSmartFilter, fH as renderShape, fI as renderShapeRect, fJ as renderSmartObject, fK as renderText, fL as replaceContents, fM as replaceTextRange, fN as requireLayer, fO as requireOperation, fP as requireShapeLayer, fQ as requireSmartObject, fR as requireTypeLayer, fS as requireUnlocked, fT as rerender, fU as rerenderShape, fV as rerenderText, fW as resizePixels, fX as resizeSelection, fY as resolveExternalAssets, fZ as resolveProfile, f_ as runLayerFilters, f$ as runLayerFiltersFloat, g0 as selectionArea, g1 as selectionFromCoverage, g2 as selectionFromPixels, g3 as selectionToCoverage, g4 as selectionToPixels, g5 as selectionValueAt, g6 as serializeColorMode, g7 as serializeColorProfile, g8 as serializeContents, g9 as serializeEffects, ga as serializeLayer, gb as serializeLayers, gc as serializeLayersExternal, gd as serializePatterns, ge as serializeSelection, gf as setLayerEffects, gg as setLayerEffectsEnabled, gh as setLayerMask, gi as setLayerProperties, gj as setSmartFilterMask, gk as setSmartFiltersEnabled, gl as setSmartPlacement, gm as shapeAsPixelLayer, gn as shapeFromAnnotation, go as shapeGeometryBounds, gp as shapeLayers, gq as shapeOutline, gr as shapeRenderClip, gs as shiftCoverage, gt as smartObjectLayers, gu as smoothCoverage, gv as srgb8ToLab, gw as textMatrix, gx as textOutlines, gy as textRange, gz as toHex, gA as toTextSpace, gB as toneRange, gC as transformHomography, gD as transformMap, gE as transformShapeComponents, gF as transformTypeLayer, gG as transformedBox, gH as transformedPoint, gI as typeAsPixelLayer, gJ as typeFrame, gK as typeFromAnnotation, gL as typeLayerName, gM as ungroupLayer, gN as unionRect, gO as unprojectCanvasPoint, gP as updateLayerEffect, gQ as updateLayerFilter, gR as updateLayerMaskProps, gS as updateShapeLayer, gT as updateSmartFilter, gU as updateTypeLayer, gV as withFilterMaskSurface, gW as withNewIds, gX as writePsd } from '../export-WmYoWmLM.cjs';
3
3
  import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.cjs';
4
4
  import { a as BlendMode } from '../surface-1MRncXpF.cjs';
5
5
  export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, c as PixelSurface, R as RasterRect, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, g as TILE, h as TILE_SHIFT, i as Tile, j as TileKey, T as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-1MRncXpF.cjs';
@@ -1,5 +1,5 @@
1
- import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-8RnlngAv.js';
2
- export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorRange, da as combineSelections, db as componentPath, dc as compositeDeep, dd as computeHistogram, de as computeSelectionBounds, df as contentsBox, dg as contentsSurface, dh as contractCoverage, di as convertHex, dj as convertSurfaceColors, dk as convertToSmartObject, dl as copySmartObject, dm as cornersFromMatrix, dn as coverageToByte, dp as createSelectionMask, dq as createShapeLayer, dr as createTypeLayer, ds as decodeDeepSurface, dt as decodeLayerChannel, du as decodeLayerMask, dv as decodeMergedImage, dw as decodePngDataUrl, dx as decodeSelectionRle, dy as defaultShapeName, dz as depthMaskAlpha, dA as describeTransform, dB as deserializeColorMode, dC as deserializeColorProfile, dD as deserializeEffects, dE as deserializeLayer, dF as deserializeLayers, dG as deserializePatterns, dH as deserializeSelection, dI as developFilter, dJ as displayTransform, dK as distanceTransform, dL as documentContents, dM as documentProfile, dN as duplicateLayer, dO as edgeWidth, dP as effectPixelsToSurface, dQ as effectiveProof, dR as ellipsePoints, dS as ellipseSelection, dT as encodeDeepSurface, dU as encodeSelectionRle, dV as encodeSurface, dW as expandCoverage, dX as exportPsd, dY as featherCoverage, dZ as filterMaskCoverage, d_ as flipCorners, d$ as fullSelection, e0 as geometryHomography, e1 as getAnnotationBounds, e2 as getCropCursor, e3 as getRotatedSize, e4 as getViewportMetrics, e5 as getViewportProjection, e6 as globalImageCache, e7 as greyMorphology, e8 as groupLayers, e9 as guidePlanes, ea as guidedFilterColor, eb as hasSurface, ec as hasWarp, ed as hashMaskContent, ee as histogramPath, ef as hitTestAnnotation, eg as hitTestCrop, eh as hueRange, ei as identityTransform, ej as imageToCanvasPoint, ek as importPsd, el as instancesOf, em as invertSelection, en as isActiveFilter, eo as isContentsDecoded, ep as isIdentityTransform, eq as isQuarterTurnSwapped, er as isRenderedLayer, es as isRetouchTool, et as isSelectionEmpty, eu as isSelectionMode, ev as isSmartSurfaceIncomplete, ew as isSpatialFilter, ex as isSrgb, ey as isTransformAnchor, ez as isValidWarp, eA as layerEffectsOf, eB as layerMaskCoverage, eC as layerMaskFromSelection, eD as layerMaskKey, eE as layerName, eF as layerTree, eG as layerTypeLabel, eH as liveComponent, eI as liveShapeSubpaths, eJ as magicWand, eK as mapCropHandle, eL as mapSubpaths, eM as matrixFromCorners, eN as matrixFromParams, eO as mergeShapeComponents, eP as migrateSerializedImageEditorState, eQ as migrateToLayeredState, eR as modifySelection, eS as moveLayer, eT as moveSmartFilter, eU as newContentsId, eV as newLayerId, eW as normalizeAngle, eX as normalizeFilter, eY as normalizeLayerMask, eZ as normalizeLiveShape, e_ as normalizePlacement, e$ as normalizeRect, f0 as normalizeRefineEdgeParams, f1 as normalizeShapePaint, f2 as normalizeShapeStroke, f3 as normalizeSmartFilter, f4 as normalizeStoredAdjustments, f5 as normalizeSubpaths, f6 as normalizeText, f7 as offsetLayer, f8 as offsetShape, f9 as offsetSmartObject, fa as parseBlend, fb as parseColor, fc as parseSelectionMode, fd as patchParagraphStyle, fe as patchTextStyle, ff as pixelLayerBounds, fg as pixelLayers, fh as placeContents, fi as placeLayer, fj as placementAt, fk as placementBounds, fl as placementGeometry, fm as polygonCoverage, fn as polygonSelection, fo as presetWarp, fp as previewStep, fq as profileBytes, fr as projectImagePoint, fs as projectImageRect, ft as projectMaskCoverage, fu as psdToLayers, fv as rasterContents, fw as rasterizeSmartObject, fx as readPsd, fy as rectSelection, fz as referencePoint, fA as refineCoverage, fB as refineEdgeHalo, fC as refineSelection, fD as removeLayer, fE as removeLayerEffect, fF as removeLayerFilter, fG as removeSmartFilter, fH as renderShape, fI as renderShapeRect, fJ as renderSmartObject, fK as renderText, fL as replaceContents, fM as replaceTextRange, fN as requireLayer, fO as requireOperation, fP as requireShapeLayer, fQ as requireSmartObject, fR as requireTypeLayer, fS as requireUnlocked, fT as rerender, fU as rerenderShape, fV as rerenderText, fW as resizePixels, fX as resizeSelection, fY as resolveExternalAssets, fZ as resolveProfile, f_ as runLayerFilters, f$ as runLayerFiltersFloat, g0 as selectionArea, g1 as selectionFromCoverage, g2 as selectionFromPixels, g3 as selectionToCoverage, g4 as selectionToPixels, g5 as selectionValueAt, g6 as serializeColorMode, g7 as serializeColorProfile, g8 as serializeContents, g9 as serializeEffects, ga as serializeLayer, gb as serializeLayers, gc as serializeLayersExternal, gd as serializePatterns, ge as serializeSelection, gf as setLayerEffects, gg as setLayerEffectsEnabled, gh as setLayerMask, gi as setLayerProperties, gj as setSmartFilterMask, gk as setSmartFiltersEnabled, gl as setSmartPlacement, gm as shapeAsPixelLayer, gn as shapeFromAnnotation, go as shapeGeometryBounds, gp as shapeLayers, gq as shapeOutline, gr as shapeRenderClip, gs as shiftCoverage, gt as smartObjectLayers, gu as smoothCoverage, gv as srgb8ToLab, gw as textMatrix, gx as textOutlines, gy as textRange, gz as toHex, gA as toTextSpace, gB as toneRange, gC as transformHomography, gD as transformMap, gE as transformShapeComponents, gF as transformTypeLayer, gG as transformedBox, gH as transformedPoint, gI as typeAsPixelLayer, gJ as typeFrame, gK as typeFromAnnotation, gL as typeLayerName, gM as ungroupLayer, gN as unionRect, gO as unprojectCanvasPoint, gP as updateLayerEffect, gQ as updateLayerFilter, gR as updateLayerMaskProps, gS as updateShapeLayer, gT as updateSmartFilter, gU as updateTypeLayer, gV as withFilterMaskSurface, gW as withNewIds, gX as writePsd } from '../export-8RnlngAv.js';
1
+ import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-BGtXgMJ3.js';
2
+ export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorRange, da as combineSelections, db as componentPath, dc as compositeDeep, dd as computeHistogram, de as computeSelectionBounds, df as contentsBox, dg as contentsSurface, dh as contractCoverage, di as convertHex, dj as convertSurfaceColors, dk as convertToSmartObject, dl as copySmartObject, dm as cornersFromMatrix, dn as coverageToByte, dp as createSelectionMask, dq as createShapeLayer, dr as createTypeLayer, ds as decodeDeepSurface, dt as decodeLayerChannel, du as decodeLayerMask, dv as decodeMergedImage, dw as decodePngDataUrl, dx as decodeSelectionRle, dy as defaultShapeName, dz as depthMaskAlpha, dA as describeTransform, dB as deserializeColorMode, dC as deserializeColorProfile, dD as deserializeEffects, dE as deserializeLayer, dF as deserializeLayers, dG as deserializePatterns, dH as deserializeSelection, dI as developFilter, dJ as displayTransform, dK as distanceTransform, dL as documentContents, dM as documentProfile, dN as duplicateLayer, dO as edgeWidth, dP as effectPixelsToSurface, dQ as effectiveProof, dR as ellipsePoints, dS as ellipseSelection, dT as encodeDeepSurface, dU as encodeSelectionRle, dV as encodeSurface, dW as expandCoverage, dX as exportPsd, dY as featherCoverage, dZ as filterMaskCoverage, d_ as flipCorners, d$ as fullSelection, e0 as geometryHomography, e1 as getAnnotationBounds, e2 as getCropCursor, e3 as getRotatedSize, e4 as getViewportMetrics, e5 as getViewportProjection, e6 as globalImageCache, e7 as greyMorphology, e8 as groupLayers, e9 as guidePlanes, ea as guidedFilterColor, eb as hasSurface, ec as hasWarp, ed as hashMaskContent, ee as histogramPath, ef as hitTestAnnotation, eg as hitTestCrop, eh as hueRange, ei as identityTransform, ej as imageToCanvasPoint, ek as importPsd, el as instancesOf, em as invertSelection, en as isActiveFilter, eo as isContentsDecoded, ep as isIdentityTransform, eq as isQuarterTurnSwapped, er as isRenderedLayer, es as isRetouchTool, et as isSelectionEmpty, eu as isSelectionMode, ev as isSmartSurfaceIncomplete, ew as isSpatialFilter, ex as isSrgb, ey as isTransformAnchor, ez as isValidWarp, eA as layerEffectsOf, eB as layerMaskCoverage, eC as layerMaskFromSelection, eD as layerMaskKey, eE as layerName, eF as layerTree, eG as layerTypeLabel, eH as liveComponent, eI as liveShapeSubpaths, eJ as magicWand, eK as mapCropHandle, eL as mapSubpaths, eM as matrixFromCorners, eN as matrixFromParams, eO as mergeShapeComponents, eP as migrateSerializedImageEditorState, eQ as migrateToLayeredState, eR as modifySelection, eS as moveLayer, eT as moveSmartFilter, eU as newContentsId, eV as newLayerId, eW as normalizeAngle, eX as normalizeFilter, eY as normalizeLayerMask, eZ as normalizeLiveShape, e_ as normalizePlacement, e$ as normalizeRect, f0 as normalizeRefineEdgeParams, f1 as normalizeShapePaint, f2 as normalizeShapeStroke, f3 as normalizeSmartFilter, f4 as normalizeStoredAdjustments, f5 as normalizeSubpaths, f6 as normalizeText, f7 as offsetLayer, f8 as offsetShape, f9 as offsetSmartObject, fa as parseBlend, fb as parseColor, fc as parseSelectionMode, fd as patchParagraphStyle, fe as patchTextStyle, ff as pixelLayerBounds, fg as pixelLayers, fh as placeContents, fi as placeLayer, fj as placementAt, fk as placementBounds, fl as placementGeometry, fm as polygonCoverage, fn as polygonSelection, fo as presetWarp, fp as previewStep, fq as profileBytes, fr as projectImagePoint, fs as projectImageRect, ft as projectMaskCoverage, fu as psdToLayers, fv as rasterContents, fw as rasterizeSmartObject, fx as readPsd, fy as rectSelection, fz as referencePoint, fA as refineCoverage, fB as refineEdgeHalo, fC as refineSelection, fD as removeLayer, fE as removeLayerEffect, fF as removeLayerFilter, fG as removeSmartFilter, fH as renderShape, fI as renderShapeRect, fJ as renderSmartObject, fK as renderText, fL as replaceContents, fM as replaceTextRange, fN as requireLayer, fO as requireOperation, fP as requireShapeLayer, fQ as requireSmartObject, fR as requireTypeLayer, fS as requireUnlocked, fT as rerender, fU as rerenderShape, fV as rerenderText, fW as resizePixels, fX as resizeSelection, fY as resolveExternalAssets, fZ as resolveProfile, f_ as runLayerFilters, f$ as runLayerFiltersFloat, g0 as selectionArea, g1 as selectionFromCoverage, g2 as selectionFromPixels, g3 as selectionToCoverage, g4 as selectionToPixels, g5 as selectionValueAt, g6 as serializeColorMode, g7 as serializeColorProfile, g8 as serializeContents, g9 as serializeEffects, ga as serializeLayer, gb as serializeLayers, gc as serializeLayersExternal, gd as serializePatterns, ge as serializeSelection, gf as setLayerEffects, gg as setLayerEffectsEnabled, gh as setLayerMask, gi as setLayerProperties, gj as setSmartFilterMask, gk as setSmartFiltersEnabled, gl as setSmartPlacement, gm as shapeAsPixelLayer, gn as shapeFromAnnotation, go as shapeGeometryBounds, gp as shapeLayers, gq as shapeOutline, gr as shapeRenderClip, gs as shiftCoverage, gt as smartObjectLayers, gu as smoothCoverage, gv as srgb8ToLab, gw as textMatrix, gx as textOutlines, gy as textRange, gz as toHex, gA as toTextSpace, gB as toneRange, gC as transformHomography, gD as transformMap, gE as transformShapeComponents, gF as transformTypeLayer, gG as transformedBox, gH as transformedPoint, gI as typeAsPixelLayer, gJ as typeFrame, gK as typeFromAnnotation, gL as typeLayerName, gM as ungroupLayer, gN as unionRect, gO as unprojectCanvasPoint, gP as updateLayerEffect, gQ as updateLayerFilter, gR as updateLayerMaskProps, gS as updateShapeLayer, gT as updateSmartFilter, gU as updateTypeLayer, gV as withFilterMaskSurface, gW as withNewIds, gX as writePsd } from '../export-BGtXgMJ3.js';
3
3
  import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.js';
4
4
  import { a as BlendMode } from '../surface-1MRncXpF.js';
5
5
  export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, c as PixelSurface, R as RasterRect, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, g as TILE, h as TILE_SHIFT, i as Tile, j as TileKey, T as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-1MRncXpF.js';
@@ -371,14 +371,15 @@ import {
371
371
  } from "../chunk-U5HZSFCS.js";
372
372
  import {
373
373
  createEffectToolProvider
374
- } from "../chunk-VFAKN46Z.js";
374
+ } from "../chunk-JRXJTPES.js";
375
375
  import {
376
+ EffectRendererPool,
376
377
  EffectUnsupportedError,
377
378
  EffectsSlot,
378
379
  createEffectPixels,
379
380
  linearToSrgb,
380
381
  resolveEffectValues
381
- } from "../chunk-TGKT5QAB.js";
382
+ } from "../chunk-QEG3GRN2.js";
382
383
  import "../chunk-4FX5ACVG.js";
383
384
  import {
384
385
  createCaptureTool
@@ -2832,7 +2833,7 @@ var ImageEffectsEngine = class {
2832
2833
  cache = /* @__PURE__ */ new Map();
2833
2834
  pending = /* @__PURE__ */ new Map();
2834
2835
  failures = /* @__PURE__ */ new Map();
2835
- renderers = /* @__PURE__ */ new Map();
2836
+ pool;
2836
2837
  descriptions = /* @__PURE__ */ new Map();
2837
2838
  listeners = /* @__PURE__ */ new Set();
2838
2839
  maxEntries;
@@ -2841,6 +2842,7 @@ var ImageEffectsEngine = class {
2841
2842
  constructor(options = {}) {
2842
2843
  this.slot = options.slot ?? new EffectsSlot();
2843
2844
  this.maxEntries = options.maxEntries ?? 24;
2845
+ this.pool = new EffectRendererPool({ maxRenderers: options.maxRenderers });
2844
2846
  this.detach = this.slot.subscribe(() => {
2845
2847
  this.reset();
2846
2848
  this.notify();
@@ -2923,18 +2925,7 @@ var ImageEffectsEngine = class {
2923
2925
  return d;
2924
2926
  }
2925
2927
  render(provider, id, width, height, depth, request) {
2926
- const k = `${id}@${width}x${height}x${depth}`;
2927
- let r = this.renderers.get(k);
2928
- if (!r) {
2929
- const renderer = Promise.resolve().then(() => provider.createRenderer(id, { width, height, depth }));
2930
- renderer.catch(() => this.renderers.delete(k));
2931
- r = { renderer, queue: Promise.resolve() };
2932
- this.renderers.set(k, r);
2933
- }
2934
- const entry = r;
2935
- const next = entry.queue.then(() => entry.renderer).then((renderer) => renderer.render(request));
2936
- entry.queue = next.catch(() => void 0);
2937
- return next;
2928
+ return this.pool.render(provider, id, { width, height, depth }, request);
2938
2929
  }
2939
2930
  /** Forgets every result and failure and disposes the renderers. */
2940
2931
  reset() {
@@ -2943,9 +2934,7 @@ var ImageEffectsEngine = class {
2943
2934
  this.pending.clear();
2944
2935
  this.failures.clear();
2945
2936
  this.descriptions.clear();
2946
- for (const r of this.renderers.values()) r.renderer.then((x) => x.dispose(), () => {
2947
- });
2948
- this.renderers.clear();
2937
+ this.pool.clear();
2949
2938
  }
2950
2939
  subscribe(listener) {
2951
2940
  this.listeners.add(listener);