@pixerate/editor 0.130.0 → 0.132.0

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 (72) hide show
  1. package/dist/animation-editor/index.cjs +55 -55
  2. package/dist/animation-editor/index.d.cts +4 -4
  3. package/dist/animation-editor/index.d.ts +4 -4
  4. package/dist/animation-editor/index.js +2 -2
  5. package/dist/{bezier-CigmusV_.d.ts → bezier-0IHDCvv_.d.ts} +1 -1
  6. package/dist/{bezier-CdoGygwG.d.cts → bezier-oCBfrGDG.d.cts} +1 -1
  7. package/dist/canvas/index.d.cts +7 -7
  8. package/dist/canvas/index.d.ts +7 -7
  9. package/dist/{chunk-PMHPXCJC.cjs → chunk-55UEZIU4.cjs} +119 -90
  10. package/dist/chunk-55UEZIU4.cjs.map +1 -0
  11. package/dist/{chunk-L5OTIYOO.js → chunk-ECVI5QRE.js} +2 -2
  12. package/dist/{chunk-ERYGCA72.js → chunk-G5FX56KX.js} +39 -10
  13. package/dist/{chunk-ERYGCA72.js.map → chunk-G5FX56KX.js.map} +1 -1
  14. package/dist/{chunk-PRYMC442.js → chunk-IEYXYMRQ.js} +255 -10
  15. package/dist/chunk-IEYXYMRQ.js.map +1 -0
  16. package/dist/{chunk-2PXRKMOH.cjs → chunk-OYPJGGF3.cjs} +36 -36
  17. package/dist/{chunk-2PXRKMOH.cjs.map → chunk-OYPJGGF3.cjs.map} +1 -1
  18. package/dist/{chunk-LXGOYRPE.cjs → chunk-YYJKIESX.cjs} +320 -75
  19. package/dist/chunk-YYJKIESX.cjs.map +1 -0
  20. package/dist/effects/index.d.cts +4 -4
  21. package/dist/effects/index.d.ts +4 -4
  22. package/dist/{export-B4r8b9Ft.d.ts → export-ByJvAvR7.d.ts} +26 -4
  23. package/dist/{export-5WDKJqTy.d.cts → export-CfAogLEr.d.cts} +1 -1
  24. package/dist/{export-CU_ARP3A.d.ts → export-Crl82sbE.d.ts} +1 -1
  25. package/dist/{export-CejjC2iI.d.cts → export-D-gkjBkB.d.cts} +26 -4
  26. package/dist/{helpers-X_rycLNJ.d.ts → helpers-BCd2-PAR.d.ts} +34 -1
  27. package/dist/{helpers-CzZu51eI.d.cts → helpers-CoIeXQnW.d.cts} +34 -1
  28. package/dist/image-editor/index.cjs +775 -723
  29. package/dist/image-editor/index.cjs.map +1 -1
  30. package/dist/image-editor/index.d.cts +8 -8
  31. package/dist/image-editor/index.d.ts +8 -8
  32. package/dist/image-editor/index.js +59 -7
  33. package/dist/image-editor/index.js.map +1 -1
  34. package/dist/index.cjs +11 -4
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.js +11 -4
  37. package/dist/index.js.map +1 -1
  38. package/dist/{opentype-DlRMYcCW.d.cts → opentype-BDahNRTe.d.cts} +1 -1
  39. package/dist/{opentype-CrHAsKh3.d.ts → opentype-BQFEvy-t.d.ts} +1 -1
  40. package/dist/paint-editor/index.cjs +7 -7
  41. package/dist/paint-editor/index.d.cts +5 -5
  42. package/dist/paint-editor/index.d.ts +5 -5
  43. package/dist/paint-editor/index.js +2 -2
  44. package/dist/{pathfinder-CKfKOVP4.d.cts → pathfinder-01ZgAwqV.d.cts} +1 -1
  45. package/dist/{pathfinder-Dlss70hL.d.ts → pathfinder-DaVdT8jq.d.ts} +1 -1
  46. package/dist/{pool-DDOo0xJH.d.ts → pool-D2A3WTt9.d.ts} +1 -1
  47. package/dist/{pool-DKic69LD.d.cts → pool-D6a45MoE.d.cts} +1 -1
  48. package/dist/{svg-BRaii3pI.d.cts → svg-CcDz7Zq2.d.cts} +2 -2
  49. package/dist/{svg-BYVZeVo0.d.ts → svg-DELNVerw.d.ts} +2 -2
  50. package/dist/{tools-CtheDLDr.d.cts → tools-BFvkFnRj.d.cts} +1 -1
  51. package/dist/{tools-D8bZ-7YG.d.ts → tools-D7ws-OKL.d.ts} +1 -1
  52. package/dist/vector/index.cjs +1136 -1014
  53. package/dist/vector/index.cjs.map +1 -1
  54. package/dist/vector/index.d.cts +63 -10
  55. package/dist/vector/index.d.ts +63 -10
  56. package/dist/vector/index.js +129 -7
  57. package/dist/vector/index.js.map +1 -1
  58. package/dist/video-editor/index.d.cts +4 -4
  59. package/dist/video-editor/index.d.ts +4 -4
  60. package/dist/{warp-CZVC8pB5.d.ts → warp-2N9wkOkL.d.ts} +1 -1
  61. package/dist/{warp-BFoYxy_s.d.cts → warp-DErXW5rz.d.cts} +1 -1
  62. package/package.json +2 -2
  63. package/skills/pixerate-image-editor/SKILL.md +6 -2
  64. package/skills/pixerate-image-editor/references/color-management.md +1 -1
  65. package/skills/pixerate-image-editor/references/photoshop-files.md +2 -2
  66. package/skills/pixerate-image-editor/references/retouching.md +9 -1
  67. package/skills/pixerate-vector/SKILL.md +17 -0
  68. package/skills/pixerate-vector/references/commands.md +19 -0
  69. package/dist/chunk-LXGOYRPE.cjs.map +0 -1
  70. package/dist/chunk-PMHPXCJC.cjs.map +0 -1
  71. package/dist/chunk-PRYMC442.js.map +0 -1
  72. /package/dist/{chunk-L5OTIYOO.js.map → chunk-ECVI5QRE.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-CejjC2iI.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 convertColorFields, dj as convertHex, dk as convertSurfaceColors, dl as convertToSmartObject, dm as copySmartObject, dn as cornersFromMatrix, dp as coverageToByte, dq as createSelectionMask, dr as createShapeLayer, ds as createTypeLayer, dt as decodeDeepSurface, du as decodeLayerChannel, dv as decodeLayerMask, dw as decodeMergedImage, dx as decodePngDataUrl, dy as decodeSelectionRle, dz as defaultShapeName, dA as depthMaskAlpha, dB as describeTransform, dC as deserializeColorMode, dD as deserializeColorProfile, dE as deserializeEffects, dF as deserializeLayer, dG as deserializeLayers, dH as deserializePatterns, dI as deserializeSelection, dJ as developFilter, dK as displayTransform, dL as distanceTransform, dM as documentContents, dN as documentProfile, dO as duplicateLayer, dP as edgeWidth, dQ as effectPixelsToSurface, dR as effectiveProof, dS as ellipsePoints, dT as ellipseSelection, dU as encodeDeepSurface, dV as encodeSelectionRle, dW as encodeSurface, dX as expandCoverage, dY as exportPsd, dZ as featherCoverage, d_ as filterMaskCoverage, d$ as flipCorners, e0 as fullSelection, e1 as geometryHomography, e2 as getAnnotationBounds, e3 as getCropCursor, e4 as getRotatedSize, e5 as getViewportMetrics, e6 as getViewportProjection, e7 as globalImageCache, e8 as greyMorphology, e9 as groupLayers, ea as guidePlanes, eb as guidedFilterColor, ec as hasSurface, ed as hasWarp, ee as hashMaskContent, ef as histogramPath, eg as hitTestAnnotation, eh as hitTestCrop, ei as hueRange, ej as identityTransform, ek as imageToCanvasPoint, el as importPsd, em as instancesOf, en as invertSelection, eo as isActiveFilter, ep as isContentsDecoded, eq as isIdentityTransform, er as isQuarterTurnSwapped, es as isRenderedLayer, et as isRetouchTool, eu as isSelectionEmpty, ev as isSelectionMode, ew as isSmartSurfaceIncomplete, ex as isSpatialFilter, ey as isSrgb, ez as isTransformAnchor, eA as isValidWarp, eB as layerEffectsOf, eC as layerMaskCoverage, eD as layerMaskFromSelection, eE as layerMaskKey, eF as layerName, eG as layerTree, eH as layerTypeLabel, eI as liveComponent, eJ as liveShapeSubpaths, eK as magicWand, eL as mapCropHandle, eM as mapSubpaths, eN as matrixFromCorners, eO as matrixFromParams, eP as mergeShapeComponents, eQ as migrateSerializedImageEditorState, eR as migrateToLayeredState, eS as modifySelection, eT as moveLayer, eU as moveSmartFilter, eV as newContentsId, eW as newLayerId, eX as normalizeAngle, eY as normalizeFilter, eZ as normalizeLayerMask, e_ as normalizeLiveShape, e$ as normalizePlacement, f0 as normalizeRect, f1 as normalizeRefineEdgeParams, f2 as normalizeShapePaint, f3 as normalizeShapeStroke, f4 as normalizeSmartFilter, f5 as normalizeStoredAdjustments, f6 as normalizeSubpaths, f7 as normalizeText, f8 as offsetLayer, f9 as offsetShape, fa as offsetSmartObject, fb as parseBlend, fc as parseColor, fd as parseSelectionMode, fe as patchParagraphStyle, ff as patchTextStyle, fg as pixelLayerBounds, fh as pixelLayers, fi as placeContents, fj as placeLayer, fk as placementAt, fl as placementBounds, fm as placementGeometry, fn as polygonCoverage, fo as polygonSelection, fp as presetWarp, fq as previewStep, fr as profileBytes, fs as projectImagePoint, ft as projectImageRect, fu as projectMaskCoverage, fv as psdToLayers, fw as rasterContents, fx as rasterizeSmartObject, fy as readPsd, fz as rectSelection, fA as referencePoint, fB as refineCoverage, fC as refineEdgeHalo, fD as refineSelection, fE as removeLayer, fF as removeLayerEffect, fG as removeLayerFilter, fH as removeSmartFilter, fI as renderShape, fJ as renderShapeRect, fK as renderSmartObject, fL as renderText, fM as replaceContents, fN as replaceTextRange, fO as requireLayer, fP as requireOperation, fQ as requireShapeLayer, fR as requireSmartObject, fS as requireTypeLayer, fT as requireUnlocked, fU as rerender, fV as rerenderShape, fW as rerenderText, fX as resizePixels, fY as resizeSelection, fZ as resolveExternalAssets, f_ as resolveProfile, f$ as runLayerFilters, g0 as runLayerFiltersFloat, g1 as selectionArea, g2 as selectionFromCoverage, g3 as selectionFromPixels, g4 as selectionToCoverage, g5 as selectionToPixels, g6 as selectionValueAt, g7 as serializeColorMode, g8 as serializeColorProfile, g9 as serializeContents, ga as serializeEffects, gb as serializeLayer, gc as serializeLayers, gd as serializeLayersExternal, ge as serializePatterns, gf as serializeSelection, gg as setLayerEffects, gh as setLayerEffectsEnabled, gi as setLayerMask, gj as setLayerProperties, gk as setSmartFilterMask, gl as setSmartFiltersEnabled, gm as setSmartPlacement, gn as shapeAsPixelLayer, go as shapeFromAnnotation, gp as shapeGeometryBounds, gq as shapeLayers, gr as shapeOutline, gs as shapeRenderClip, gt as shiftCoverage, gu as smartObjectLayers, gv as smoothCoverage, gw as srgb8ToLab, gx as textMatrix, gy as textOutlines, gz as textRange, gA as toHex, gB as toTextSpace, gC as toneRange, gD as transformHomography, gE as transformMap, gF as transformShapeComponents, gG as transformTypeLayer, gH as transformedBox, gI as transformedPoint, gJ as typeAsPixelLayer, gK as typeFrame, gL as typeFromAnnotation, gM as typeLayerName, gN as ungroupLayer, gO as unionRect, gP as unprojectCanvasPoint, gQ as updateLayerEffect, gR as updateLayerFilter, gS as updateLayerMaskProps, gT as updateShapeLayer, gU as updateSmartFilter, gV as updateTypeLayer, gW as withFilterMaskSurface, gX as withNewIds, gY as writePsd } from '../export-CejjC2iI.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-D-gkjBkB.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 colorModePlanes16, da as colorRange, db as combineSelections, dc as componentPath, dd as compositeDeep, de as computeHistogram, df as computeSelectionBounds, dg as contentsBox, dh as contentsSurface, di as contractCoverage, dj as convertColorFields, dk as convertHex, dl as convertSurfaceColors, dm as convertToSmartObject, dn as copySmartObject, dp as cornersFromMatrix, dq as coverageToByte, dr as createSelectionMask, ds as createShapeLayer, dt as createTypeLayer, du as decodeDeepSurface, dv as decodeLayerChannel, dw as decodeLayerMask, dx as decodeMergedImage, dy as decodePngDataUrl, dz as decodeSelectionRle, dA as defaultShapeName, dB as depthMaskAlpha, dC as describeTransform, dD as deserializeColorMode, dE as deserializeColorProfile, dF as deserializeEffects, dG as deserializeLayer, dH as deserializeLayers, dI as deserializePatterns, dJ as deserializeSelection, dK as developFilter, dL as displayTransform, dM as distanceTransform, dN as documentContents, dO as documentProfile, dP as duplicateLayer, dQ as edgeWidth, dR as effectPixelsToSurface, dS as effectiveProof, dT as ellipsePoints, dU as ellipseSelection, dV as encodeDeepSurface, dW as encodeSelectionRle, dX as encodeSurface, dY as expandCoverage, dZ as exportPsd, d_ as featherCoverage, d$ as filterMaskCoverage, e0 as flipCorners, e1 as fullSelection, e2 as geometryHomography, e3 as getAnnotationBounds, e4 as getCropCursor, e5 as getRotatedSize, e6 as getViewportMetrics, e7 as getViewportProjection, e8 as globalImageCache, e9 as greyMorphology, ea as groupLayers, eb as guidePlanes, ec as guidedFilterColor, ed as hasSurface, ee as hasWarp, ef as hashMaskContent, eg as histogramPath, eh as hitTestAnnotation, ei as hitTestCrop, ej as hueRange, ek as identityTransform, el as imageToCanvasPoint, em as importPsd, en as instancesOf, eo as invertSelection, ep as isActiveFilter, eq as isContentsDecoded, er as isIdentityTransform, es as isQuarterTurnSwapped, et as isRenderedLayer, eu as isRetouchTool, ev as isSelectionEmpty, ew as isSelectionMode, ex as isSmartSurfaceIncomplete, ey as isSpatialFilter, ez as isSrgb, eA as isTransformAnchor, eB as isValidWarp, eC as layerEffectsOf, eD as layerMaskCoverage, eE as layerMaskFromSelection, eF as layerMaskKey, eG as layerName, eH as layerTree, eI as layerTypeLabel, eJ as liveComponent, eK as liveShapeSubpaths, eL as magicWand, eM as mapCropHandle, eN as mapSubpaths, eO as matrixFromCorners, eP as matrixFromParams, eQ as mergeShapeComponents, eR as migrateSerializedImageEditorState, eS as migrateToLayeredState, eT as modifySelection, eU as moveLayer, eV as moveSmartFilter, eW as newContentsId, eX as newLayerId, eY as normalizeAngle, eZ as normalizeFilter, e_ as normalizeLayerMask, e$ as normalizeLiveShape, f0 as normalizePlacement, f1 as normalizeRect, f2 as normalizeRefineEdgeParams, f3 as normalizeShapePaint, f4 as normalizeShapeStroke, f5 as normalizeSmartFilter, f6 as normalizeStoredAdjustments, f7 as normalizeSubpaths, f8 as normalizeText, f9 as offsetLayer, fa as offsetShape, fb as offsetSmartObject, fc as parseBlend, fd as parseColor, fe as parseSelectionMode, ff as patchParagraphStyle, fg as patchTextStyle, fh as pixelLayerBounds, fi as pixelLayers, fj as placeContents, fk as placeLayer, fl as placementAt, fm as placementBounds, fn as placementGeometry, fo as polygonCoverage, fp as polygonSelection, fq as presetWarp, fr as previewStep, fs as profileBytes, ft as projectImagePoint, fu as projectImageRect, fv as projectMaskCoverage, fw as psdToLayers, fx as rasterContents, fy as rasterizeSmartObject, fz as readPsd, fA as rectSelection, fB as referencePoint, fC as refineCoverage, fD as refineEdgeHalo, fE as refineSelection, fF as removeLayer, fG as removeLayerEffect, fH as removeLayerFilter, fI as removeSmartFilter, fJ as renderShape, fK as renderShapeRect, fL as renderSmartObject, fM as renderText, fN as replaceContents, fO as replaceTextRange, fP as requireLayer, fQ as requireOperation, fR as requireShapeLayer, fS as requireSmartObject, fT as requireTypeLayer, fU as requireUnlocked, fV as rerender, fW as rerenderShape, fX as rerenderText, fY as resizePixels, fZ as resizeSelection, f_ as resolveExternalAssets, f$ as resolveProfile, g0 as runLayerFilters, g1 as runLayerFiltersFloat, g2 as selectionArea, g3 as selectionFromCoverage, g4 as selectionFromPixels, g5 as selectionToCoverage, g6 as selectionToPixels, g7 as selectionValueAt, g8 as serializeColorMode, g9 as serializeColorProfile, ga as serializeContents, gb as serializeEffects, gc as serializeLayer, gd as serializeLayers, ge as serializeLayersExternal, gf as serializePatterns, gg as serializeSelection, gh as setLayerEffects, gi as setLayerEffectsEnabled, gj as setLayerMask, gk as setLayerProperties, gl as setSmartFilterMask, gm as setSmartFiltersEnabled, gn as setSmartPlacement, go as shapeAsPixelLayer, gp as shapeFromAnnotation, gq as shapeGeometryBounds, gr as shapeLayers, gs as shapeOutline, gt as shapeRenderClip, gu as shiftCoverage, gv as smartObjectLayers, gw as smoothCoverage, gx as srgb8ToLab, gy as textMatrix, gz as textOutlines, gA as textRange, gB as toHex, gC as toTextSpace, gD as toneRange, gE as transformHomography, gF as transformMap, gG as transformShapeComponents, gH as transformTypeLayer, gI as transformedBox, gJ as transformedPoint, gK as typeAsPixelLayer, gL as typeFrame, gM as typeFromAnnotation, gN as typeLayerName, gO as ungroupLayer, gP as unionRect, gQ as unprojectCanvasPoint, gR as updateLayerEffect, gS as updateLayerFilter, gT as updateLayerMaskProps, gU as updateShapeLayer, gV as updateSmartFilter, gW as updateTypeLayer, gX as withFilterMaskSurface, gY as withNewIds, gZ as writePsd } from '../export-D-gkjBkB.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';
@@ -8,10 +8,10 @@ import { S as LayerEffects, Q as LayerEffectKind, O as LayerEffect, u as EffectP
8
8
  export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, q as EffectContour, r as EffectFill, s as EffectGradient, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, N as LAYER_EFFECT_KINDS, P as LayerEffectError, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, a6 as ResampleOptions, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ad as blendTile, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, aj as compositeSurfaceOver, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, at as effectReach, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../deep-CcwHkQdb.cjs';
9
9
  import { b as CaptureSurface } from '../capture-DFEMFmVt.cjs';
10
10
  export { D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.cjs';
11
- export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, e as boxQuad, f as createCanvasTextShaper, g as createMetricTextShaper, h as createOutlineTextShaper, i as cssFont, j as cssFontFamily, k as homographyFromAffine, l as homographyFromPoints, m as invertHomography, n as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-DlRMYcCW.cjs';
12
- import { f as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-BFoYxy_s.cjs';
13
- export { D as DEFAULT_AUTO_LEADING, g as DEFAULT_TEXT_STYLE, h as LaidChar, L as LaidFragment, i as LaidLine, P as ParagraphRun, j as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, k as WARP_STYLES, l as WARP_STYLE_LABELS, W as WarpPreset, m as caretAt, n as dragWarpMeshPoint, o as evalWarpMesh, p as fitParagraphRuns, q as fitRuns, r as fontOf, s as identityWarpMesh, t as layoutText, u as paragraphRanges, v as pullWarpMesh, w as resizeWarpMesh, x as restyleRange, y as spliceRuns, z as styleAt, A as textIndexAt, B as warpMeshEditPoints, C as warpMeshGridCurves, E as warpMeshParamAt, F as warpPresetMesh } from '../warp-BFoYxy_s.cjs';
14
- import { B as BezierPath } from '../bezier-CdoGygwG.cjs';
11
+ export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, e as boxQuad, f as createCanvasTextShaper, g as createMetricTextShaper, h as createOutlineTextShaper, i as cssFont, j as cssFontFamily, k as homographyFromAffine, l as homographyFromPoints, m as invertHomography, n as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-BDahNRTe.cjs';
12
+ import { f as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-DErXW5rz.cjs';
13
+ export { D as DEFAULT_AUTO_LEADING, g as DEFAULT_TEXT_STYLE, h as LaidChar, L as LaidFragment, i as LaidLine, P as ParagraphRun, j as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, k as WARP_STYLES, l as WARP_STYLE_LABELS, W as WarpPreset, m as caretAt, n as dragWarpMeshPoint, o as evalWarpMesh, p as fitParagraphRuns, q as fitRuns, r as fontOf, s as identityWarpMesh, t as layoutText, u as paragraphRanges, v as pullWarpMesh, w as resizeWarpMesh, x as restyleRange, y as spliceRuns, z as styleAt, A as textIndexAt, B as warpMeshEditPoints, C as warpMeshGridCurves, E as warpMeshParamAt, F as warpPresetMesh } from '../warp-DErXW5rz.cjs';
14
+ import { B as BezierPath } from '../bezier-oCBfrGDG.cjs';
15
15
  import { a as MixerLoad, M as MixerSettings } from '../rand-DTXAssW1.cjs';
16
16
  export { au as BlenderScratch, k as BlenderSettings, B as BrushSettings, C as CoverageMap, av as DEFAULT_BLENDER, aw as DEFAULT_BRUSH, v as DEFAULT_FLOW, ax as DEFAULT_MIXER, w as DEFAULT_PAINT_GRADIENT, x as DEFAULT_PAINT_GRADIENT_MAPPING, ay as DEFAULT_RETOUCH, az as DEFAULT_SMUDGE, aA as DEFAULT_WET_PAPER, y as DEFAULT_WET_PARAMS, aB as DRY_EPS, D as Dab, aC as DabWalker, aD as EMPTY_MIXER_LOAD, aE as EX, aF as EY, aG as ExchangeRates, aH as FLAG_ALIVE, aI as FLAG_BOTTOM, aJ as FLAG_LEFT, aK as FLAG_RIGHT, aL as FLAG_TOP, aM as FLAG_WET, aN as FLAT, aO as FREE_INTERVAL, aP as MAX_BATCH, z as MAX_BRUSH_SIZE, aQ as MAX_TILT_ACCEL, aR as MAX_WET_LANES, aS as MAX_WET_SLOTS, aT as MIXER_DRAIN, aU as MIXER_PICKUP_RATE, aV as MIXING_MODELS, c as MixerStroke, b as MixerTarget, j as MixingModel, aW as OPP, A as PAINT_COLOR_JSON_SCHEMA, E as PAINT_GRADIENT_FULL_SPEED, F as PAINT_GRADIENT_JSON_SCHEMA, G as PAINT_GRADIENT_KIT, H as PAINT_GRADIENT_MAPPINGS, I as PAINT_GRADIENT_MAPPING_LABELS, J as PAINT_GRADIENT_PRESETS, K as PAINT_GRADIENT_REPEATS, L as PAINT_GRADIENT_REPEAT_LABELS, N as PAINT_GRADIENT_SPACES, O as PAINT_GRADIENT_SPACE_LABELS, Q as PAINT_SOURCE_JSON_SCHEMA, aX as PAPER_CAPACITY, aY as PARAM, aZ as PARAM_FLOATS, a_ as PIGMENT_CHANNELS, a$ as PLANE, b0 as PLANE_BYTES, b1 as P_D0, b2 as P_EDGE, b3 as P_FX, b4 as P_FY, b5 as P_H, b6 as P_P0, b7 as P_RHO, b8 as P_SW, b9 as P_UX, ba as P_UY, U as PaintColorSource, V as PaintDabParams, bb as PaintExchange, X as PaintGradientKit, Y as PaintGradientMapping, Z as PaintGradientMappingKind, _ as PaintGradientRepeat, $ as PaintGradientSample, a0 as PaintGradientSampler, i as PaintGradientSource, a1 as PaintGradientSpace, a2 as PaintGradientStop, bc as PaintMedium, bd as PaintPixels, a3 as PaintRgb, be as PaintSample, P as PaintSource, a4 as PaintSourceError, g as PaintTileTarget, bf as PixelSource, bg as RETOUCH_SAMPLES, bh as RegionPixelSource, d as RetouchApply, bi as RetouchDabEffect, bj as RetouchDabStroke, f as RetouchPaint, bk as RetouchSample, R as RetouchSettings, p as RgbTriple, bl as SET_PLANES, bm as SLOT_BYTES, bn as SLOT_PLANES, bo as SLOT_SIDE, bp as SPOT_HEAL_TYPES, bq as STRIP, br as SmudgeDab, l as SmudgeSettings, bs as SmudgeTip, bt as SpotHealType, h as StrokeApply, S as StrokeCoverage, e as StrokePoint, bu as TIP_GRADIENT_STEPS, bv as TONE_RANGES, T as TileMedium, bw as TileMediumOptions, bx as TilePixelSource, by as ToneRange, bz as U_MAX, bA as W9, a5 as WET_FLOW_KINDS, a6 as WET_PARAM_KEYS, bB as WET_TILE, s as WetBackendInfo, bC as WetFlowField, a7 as WetFlowKind, o as WetFlowSpec, bD as WetGpuEngine, bE as WetGpuJob, r as WetGpuProvider, bF as WetGpuSupport, bG as WetKernelKind, bH as WetLaneOptions, bI as WetLaneStats, bJ as WetPaper, u as WetPaperInput, n as WetParams, t as WetSnapshot, a8 as WetSupport, m as WetTilt, bK as WetWorkerLayout, bL as WetWorkerPool, W as WetWorld, bM as WetWorldError, q as WetWorldOptions, a9 as addPaintGradientStop, bN as applyRetouchToTile, bO as applyStrokeToDeepTile, bP as applyStrokeToTile, bQ as applyToneToDeepTile, bR as blendRadius, bS as blenderDab, bT as canShareMemory, bU as cleanMixer, bV as coverageTileCoord, bW as createBlenderScratch, bX as createWetGpuEngine, bY as dabCoverage, bZ as dabRect, b_ as dodgeBurn, b$ as dodgeBurnCurve, c0 as dsincos, c1 as edgeBits, c2 as exchangeRates, c3 as findWebGpu, c4 as flowField, c5 as gradientDabColor, aa as hash2, c6 as healPixels, ab as hexToPaintRgb, ac as isGradientPaint, c7 as latticeViscosity, c8 as loadMixer, c9 as loadWetKernel, ca as luma, ad as mix32, cb as mixerRates, cc as normalizeBlender, cd as normalizeBrush, ae as normalizeFlow, af as normalizeHexColor, ce as normalizeMixer, cf as normalizeRetouch, cg as normalizeSmudge, ch as normalizeTilt, ag as normalizeWetParams, ci as packWetParams, ah as paintGradientMappingFor, ai as paintSourceColor, aj as paintSourceCss, ak as parsePaintSource, cj as perDabStrength, ck as put255, al as rand01, cl as rasterizeDab, am as readPaintSource, cm as readSourceRegion, an as removePaintGradientStop, ao as resolvePaintGradient, ap as reversePaintGradient, cn as rgbaViewOfGrey, co as saturationOf, aq as scalePaintGradient, cp as smoothPoints, cq as smudgeEffect, ar as solidPaint, cr as sponge, cs as spongeEffect, ct as spotHealPixels, cu as spotHealWindow, cv as tipFalloff, cw as tipReach, cx as tipShape, cy as toneOf, as as updatePaintGradientStop, cz as walkDabs, cA as wetGpuSupport, cB as wetSimdSupported, at as wetSupport } from '../rand-DTXAssW1.cjs';
17
17
  export { BODY_SCATTER, BrushstrokeBrush, BrushstrokeCache, BrushstrokeCanvasLike, BrushstrokeImage, BrushstrokeInput, BrushstrokeOptions, BrushstrokePaint, BrushstrokeProfilePath, BrushstrokeSample, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, PathStrokePaint, PointerEventLike, PointerStrokeSample, SRGB_TO_LINEAR, WGSL_HALO, WGSL_SHADE, WGSL_STEP, WetMedium, WetMediumOptions, bestOffset, brushstrokeDataUrl, brushstrokeKey, brushstrokeSamples, brushstrokeStrokeOptions, brushstrokeToCanvas, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, isBrushstrokeBrush, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, pointerPressure, pointerStrokeSample, pointerStrokeSamples, renderBrushstroke, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.cjs';
@@ -19,9 +19,9 @@ import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.cjs';
19
19
  export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.cjs';
20
20
  import { W as WarpStyle, a as WarpMesh, V as Vec2, Q as Quad } from '../types-CwMPoRMU.cjs';
21
21
  export { A as AffineMatrix, H as Homography } from '../types-CwMPoRMU.cjs';
22
- import { A as AppliedEffectInfo } from '../tools-CtheDLDr.cjs';
22
+ import { A as AppliedEffectInfo } from '../tools-BFvkFnRj.cjs';
23
23
  export { B as BRUSHSTROKE_MAX_SCALE, a as BRUSHSTROKE_MIN_SCALE, b as brushstrokeScaleBucket } from '../brushstroke-scale-B6XAdPSY.cjs';
24
- import '../helpers-CzZu51eI.cjs';
24
+ import '../helpers-CoIeXQnW.cjs';
25
25
  import '../schema-Di0CS6Pe.cjs';
26
26
  import '../evaluate-BsxYieLN.cjs';
27
27
  import '../easing-lM0Xo9Ni.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-B4r8b9Ft.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 convertColorFields, dj as convertHex, dk as convertSurfaceColors, dl as convertToSmartObject, dm as copySmartObject, dn as cornersFromMatrix, dp as coverageToByte, dq as createSelectionMask, dr as createShapeLayer, ds as createTypeLayer, dt as decodeDeepSurface, du as decodeLayerChannel, dv as decodeLayerMask, dw as decodeMergedImage, dx as decodePngDataUrl, dy as decodeSelectionRle, dz as defaultShapeName, dA as depthMaskAlpha, dB as describeTransform, dC as deserializeColorMode, dD as deserializeColorProfile, dE as deserializeEffects, dF as deserializeLayer, dG as deserializeLayers, dH as deserializePatterns, dI as deserializeSelection, dJ as developFilter, dK as displayTransform, dL as distanceTransform, dM as documentContents, dN as documentProfile, dO as duplicateLayer, dP as edgeWidth, dQ as effectPixelsToSurface, dR as effectiveProof, dS as ellipsePoints, dT as ellipseSelection, dU as encodeDeepSurface, dV as encodeSelectionRle, dW as encodeSurface, dX as expandCoverage, dY as exportPsd, dZ as featherCoverage, d_ as filterMaskCoverage, d$ as flipCorners, e0 as fullSelection, e1 as geometryHomography, e2 as getAnnotationBounds, e3 as getCropCursor, e4 as getRotatedSize, e5 as getViewportMetrics, e6 as getViewportProjection, e7 as globalImageCache, e8 as greyMorphology, e9 as groupLayers, ea as guidePlanes, eb as guidedFilterColor, ec as hasSurface, ed as hasWarp, ee as hashMaskContent, ef as histogramPath, eg as hitTestAnnotation, eh as hitTestCrop, ei as hueRange, ej as identityTransform, ek as imageToCanvasPoint, el as importPsd, em as instancesOf, en as invertSelection, eo as isActiveFilter, ep as isContentsDecoded, eq as isIdentityTransform, er as isQuarterTurnSwapped, es as isRenderedLayer, et as isRetouchTool, eu as isSelectionEmpty, ev as isSelectionMode, ew as isSmartSurfaceIncomplete, ex as isSpatialFilter, ey as isSrgb, ez as isTransformAnchor, eA as isValidWarp, eB as layerEffectsOf, eC as layerMaskCoverage, eD as layerMaskFromSelection, eE as layerMaskKey, eF as layerName, eG as layerTree, eH as layerTypeLabel, eI as liveComponent, eJ as liveShapeSubpaths, eK as magicWand, eL as mapCropHandle, eM as mapSubpaths, eN as matrixFromCorners, eO as matrixFromParams, eP as mergeShapeComponents, eQ as migrateSerializedImageEditorState, eR as migrateToLayeredState, eS as modifySelection, eT as moveLayer, eU as moveSmartFilter, eV as newContentsId, eW as newLayerId, eX as normalizeAngle, eY as normalizeFilter, eZ as normalizeLayerMask, e_ as normalizeLiveShape, e$ as normalizePlacement, f0 as normalizeRect, f1 as normalizeRefineEdgeParams, f2 as normalizeShapePaint, f3 as normalizeShapeStroke, f4 as normalizeSmartFilter, f5 as normalizeStoredAdjustments, f6 as normalizeSubpaths, f7 as normalizeText, f8 as offsetLayer, f9 as offsetShape, fa as offsetSmartObject, fb as parseBlend, fc as parseColor, fd as parseSelectionMode, fe as patchParagraphStyle, ff as patchTextStyle, fg as pixelLayerBounds, fh as pixelLayers, fi as placeContents, fj as placeLayer, fk as placementAt, fl as placementBounds, fm as placementGeometry, fn as polygonCoverage, fo as polygonSelection, fp as presetWarp, fq as previewStep, fr as profileBytes, fs as projectImagePoint, ft as projectImageRect, fu as projectMaskCoverage, fv as psdToLayers, fw as rasterContents, fx as rasterizeSmartObject, fy as readPsd, fz as rectSelection, fA as referencePoint, fB as refineCoverage, fC as refineEdgeHalo, fD as refineSelection, fE as removeLayer, fF as removeLayerEffect, fG as removeLayerFilter, fH as removeSmartFilter, fI as renderShape, fJ as renderShapeRect, fK as renderSmartObject, fL as renderText, fM as replaceContents, fN as replaceTextRange, fO as requireLayer, fP as requireOperation, fQ as requireShapeLayer, fR as requireSmartObject, fS as requireTypeLayer, fT as requireUnlocked, fU as rerender, fV as rerenderShape, fW as rerenderText, fX as resizePixels, fY as resizeSelection, fZ as resolveExternalAssets, f_ as resolveProfile, f$ as runLayerFilters, g0 as runLayerFiltersFloat, g1 as selectionArea, g2 as selectionFromCoverage, g3 as selectionFromPixels, g4 as selectionToCoverage, g5 as selectionToPixels, g6 as selectionValueAt, g7 as serializeColorMode, g8 as serializeColorProfile, g9 as serializeContents, ga as serializeEffects, gb as serializeLayer, gc as serializeLayers, gd as serializeLayersExternal, ge as serializePatterns, gf as serializeSelection, gg as setLayerEffects, gh as setLayerEffectsEnabled, gi as setLayerMask, gj as setLayerProperties, gk as setSmartFilterMask, gl as setSmartFiltersEnabled, gm as setSmartPlacement, gn as shapeAsPixelLayer, go as shapeFromAnnotation, gp as shapeGeometryBounds, gq as shapeLayers, gr as shapeOutline, gs as shapeRenderClip, gt as shiftCoverage, gu as smartObjectLayers, gv as smoothCoverage, gw as srgb8ToLab, gx as textMatrix, gy as textOutlines, gz as textRange, gA as toHex, gB as toTextSpace, gC as toneRange, gD as transformHomography, gE as transformMap, gF as transformShapeComponents, gG as transformTypeLayer, gH as transformedBox, gI as transformedPoint, gJ as typeAsPixelLayer, gK as typeFrame, gL as typeFromAnnotation, gM as typeLayerName, gN as ungroupLayer, gO as unionRect, gP as unprojectCanvasPoint, gQ as updateLayerEffect, gR as updateLayerFilter, gS as updateLayerMaskProps, gT as updateShapeLayer, gU as updateSmartFilter, gV as updateTypeLayer, gW as withFilterMaskSurface, gX as withNewIds, gY as writePsd } from '../export-B4r8b9Ft.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-ByJvAvR7.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 colorModePlanes16, da as colorRange, db as combineSelections, dc as componentPath, dd as compositeDeep, de as computeHistogram, df as computeSelectionBounds, dg as contentsBox, dh as contentsSurface, di as contractCoverage, dj as convertColorFields, dk as convertHex, dl as convertSurfaceColors, dm as convertToSmartObject, dn as copySmartObject, dp as cornersFromMatrix, dq as coverageToByte, dr as createSelectionMask, ds as createShapeLayer, dt as createTypeLayer, du as decodeDeepSurface, dv as decodeLayerChannel, dw as decodeLayerMask, dx as decodeMergedImage, dy as decodePngDataUrl, dz as decodeSelectionRle, dA as defaultShapeName, dB as depthMaskAlpha, dC as describeTransform, dD as deserializeColorMode, dE as deserializeColorProfile, dF as deserializeEffects, dG as deserializeLayer, dH as deserializeLayers, dI as deserializePatterns, dJ as deserializeSelection, dK as developFilter, dL as displayTransform, dM as distanceTransform, dN as documentContents, dO as documentProfile, dP as duplicateLayer, dQ as edgeWidth, dR as effectPixelsToSurface, dS as effectiveProof, dT as ellipsePoints, dU as ellipseSelection, dV as encodeDeepSurface, dW as encodeSelectionRle, dX as encodeSurface, dY as expandCoverage, dZ as exportPsd, d_ as featherCoverage, d$ as filterMaskCoverage, e0 as flipCorners, e1 as fullSelection, e2 as geometryHomography, e3 as getAnnotationBounds, e4 as getCropCursor, e5 as getRotatedSize, e6 as getViewportMetrics, e7 as getViewportProjection, e8 as globalImageCache, e9 as greyMorphology, ea as groupLayers, eb as guidePlanes, ec as guidedFilterColor, ed as hasSurface, ee as hasWarp, ef as hashMaskContent, eg as histogramPath, eh as hitTestAnnotation, ei as hitTestCrop, ej as hueRange, ek as identityTransform, el as imageToCanvasPoint, em as importPsd, en as instancesOf, eo as invertSelection, ep as isActiveFilter, eq as isContentsDecoded, er as isIdentityTransform, es as isQuarterTurnSwapped, et as isRenderedLayer, eu as isRetouchTool, ev as isSelectionEmpty, ew as isSelectionMode, ex as isSmartSurfaceIncomplete, ey as isSpatialFilter, ez as isSrgb, eA as isTransformAnchor, eB as isValidWarp, eC as layerEffectsOf, eD as layerMaskCoverage, eE as layerMaskFromSelection, eF as layerMaskKey, eG as layerName, eH as layerTree, eI as layerTypeLabel, eJ as liveComponent, eK as liveShapeSubpaths, eL as magicWand, eM as mapCropHandle, eN as mapSubpaths, eO as matrixFromCorners, eP as matrixFromParams, eQ as mergeShapeComponents, eR as migrateSerializedImageEditorState, eS as migrateToLayeredState, eT as modifySelection, eU as moveLayer, eV as moveSmartFilter, eW as newContentsId, eX as newLayerId, eY as normalizeAngle, eZ as normalizeFilter, e_ as normalizeLayerMask, e$ as normalizeLiveShape, f0 as normalizePlacement, f1 as normalizeRect, f2 as normalizeRefineEdgeParams, f3 as normalizeShapePaint, f4 as normalizeShapeStroke, f5 as normalizeSmartFilter, f6 as normalizeStoredAdjustments, f7 as normalizeSubpaths, f8 as normalizeText, f9 as offsetLayer, fa as offsetShape, fb as offsetSmartObject, fc as parseBlend, fd as parseColor, fe as parseSelectionMode, ff as patchParagraphStyle, fg as patchTextStyle, fh as pixelLayerBounds, fi as pixelLayers, fj as placeContents, fk as placeLayer, fl as placementAt, fm as placementBounds, fn as placementGeometry, fo as polygonCoverage, fp as polygonSelection, fq as presetWarp, fr as previewStep, fs as profileBytes, ft as projectImagePoint, fu as projectImageRect, fv as projectMaskCoverage, fw as psdToLayers, fx as rasterContents, fy as rasterizeSmartObject, fz as readPsd, fA as rectSelection, fB as referencePoint, fC as refineCoverage, fD as refineEdgeHalo, fE as refineSelection, fF as removeLayer, fG as removeLayerEffect, fH as removeLayerFilter, fI as removeSmartFilter, fJ as renderShape, fK as renderShapeRect, fL as renderSmartObject, fM as renderText, fN as replaceContents, fO as replaceTextRange, fP as requireLayer, fQ as requireOperation, fR as requireShapeLayer, fS as requireSmartObject, fT as requireTypeLayer, fU as requireUnlocked, fV as rerender, fW as rerenderShape, fX as rerenderText, fY as resizePixels, fZ as resizeSelection, f_ as resolveExternalAssets, f$ as resolveProfile, g0 as runLayerFilters, g1 as runLayerFiltersFloat, g2 as selectionArea, g3 as selectionFromCoverage, g4 as selectionFromPixels, g5 as selectionToCoverage, g6 as selectionToPixels, g7 as selectionValueAt, g8 as serializeColorMode, g9 as serializeColorProfile, ga as serializeContents, gb as serializeEffects, gc as serializeLayer, gd as serializeLayers, ge as serializeLayersExternal, gf as serializePatterns, gg as serializeSelection, gh as setLayerEffects, gi as setLayerEffectsEnabled, gj as setLayerMask, gk as setLayerProperties, gl as setSmartFilterMask, gm as setSmartFiltersEnabled, gn as setSmartPlacement, go as shapeAsPixelLayer, gp as shapeFromAnnotation, gq as shapeGeometryBounds, gr as shapeLayers, gs as shapeOutline, gt as shapeRenderClip, gu as shiftCoverage, gv as smartObjectLayers, gw as smoothCoverage, gx as srgb8ToLab, gy as textMatrix, gz as textOutlines, gA as textRange, gB as toHex, gC as toTextSpace, gD as toneRange, gE as transformHomography, gF as transformMap, gG as transformShapeComponents, gH as transformTypeLayer, gI as transformedBox, gJ as transformedPoint, gK as typeAsPixelLayer, gL as typeFrame, gM as typeFromAnnotation, gN as typeLayerName, gO as ungroupLayer, gP as unionRect, gQ as unprojectCanvasPoint, gR as updateLayerEffect, gS as updateLayerFilter, gT as updateLayerMaskProps, gU as updateShapeLayer, gV as updateSmartFilter, gW as updateTypeLayer, gX as withFilterMaskSurface, gY as withNewIds, gZ as writePsd } from '../export-ByJvAvR7.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';
@@ -8,10 +8,10 @@ import { S as LayerEffects, Q as LayerEffectKind, O as LayerEffect, u as EffectP
8
8
  export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, q as EffectContour, r as EffectFill, s as EffectGradient, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, N as LAYER_EFFECT_KINDS, P as LayerEffectError, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, a6 as ResampleOptions, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ad as blendTile, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, aj as compositeSurfaceOver, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, at as effectReach, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../deep-wwJa7aR6.js';
9
9
  import { b as CaptureSurface } from '../capture-wwNGaW05.js';
10
10
  export { D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.js';
11
- export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, e as boxQuad, f as createCanvasTextShaper, g as createMetricTextShaper, h as createOutlineTextShaper, i as cssFont, j as cssFontFamily, k as homographyFromAffine, l as homographyFromPoints, m as invertHomography, n as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-CrHAsKh3.js';
12
- import { f as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-CZVC8pB5.js';
13
- export { D as DEFAULT_AUTO_LEADING, g as DEFAULT_TEXT_STYLE, h as LaidChar, L as LaidFragment, i as LaidLine, P as ParagraphRun, j as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, k as WARP_STYLES, l as WARP_STYLE_LABELS, W as WarpPreset, m as caretAt, n as dragWarpMeshPoint, o as evalWarpMesh, p as fitParagraphRuns, q as fitRuns, r as fontOf, s as identityWarpMesh, t as layoutText, u as paragraphRanges, v as pullWarpMesh, w as resizeWarpMesh, x as restyleRange, y as spliceRuns, z as styleAt, A as textIndexAt, B as warpMeshEditPoints, C as warpMeshGridCurves, E as warpMeshParamAt, F as warpPresetMesh } from '../warp-CZVC8pB5.js';
14
- import { B as BezierPath } from '../bezier-CigmusV_.js';
11
+ export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, e as boxQuad, f as createCanvasTextShaper, g as createMetricTextShaper, h as createOutlineTextShaper, i as cssFont, j as cssFontFamily, k as homographyFromAffine, l as homographyFromPoints, m as invertHomography, n as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-BQFEvy-t.js';
12
+ import { f as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-2N9wkOkL.js';
13
+ export { D as DEFAULT_AUTO_LEADING, g as DEFAULT_TEXT_STYLE, h as LaidChar, L as LaidFragment, i as LaidLine, P as ParagraphRun, j as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, k as WARP_STYLES, l as WARP_STYLE_LABELS, W as WarpPreset, m as caretAt, n as dragWarpMeshPoint, o as evalWarpMesh, p as fitParagraphRuns, q as fitRuns, r as fontOf, s as identityWarpMesh, t as layoutText, u as paragraphRanges, v as pullWarpMesh, w as resizeWarpMesh, x as restyleRange, y as spliceRuns, z as styleAt, A as textIndexAt, B as warpMeshEditPoints, C as warpMeshGridCurves, E as warpMeshParamAt, F as warpPresetMesh } from '../warp-2N9wkOkL.js';
14
+ import { B as BezierPath } from '../bezier-0IHDCvv_.js';
15
15
  import { a as MixerLoad, M as MixerSettings } from '../rand-pQQ2sJTk.js';
16
16
  export { au as BlenderScratch, k as BlenderSettings, B as BrushSettings, C as CoverageMap, av as DEFAULT_BLENDER, aw as DEFAULT_BRUSH, v as DEFAULT_FLOW, ax as DEFAULT_MIXER, w as DEFAULT_PAINT_GRADIENT, x as DEFAULT_PAINT_GRADIENT_MAPPING, ay as DEFAULT_RETOUCH, az as DEFAULT_SMUDGE, aA as DEFAULT_WET_PAPER, y as DEFAULT_WET_PARAMS, aB as DRY_EPS, D as Dab, aC as DabWalker, aD as EMPTY_MIXER_LOAD, aE as EX, aF as EY, aG as ExchangeRates, aH as FLAG_ALIVE, aI as FLAG_BOTTOM, aJ as FLAG_LEFT, aK as FLAG_RIGHT, aL as FLAG_TOP, aM as FLAG_WET, aN as FLAT, aO as FREE_INTERVAL, aP as MAX_BATCH, z as MAX_BRUSH_SIZE, aQ as MAX_TILT_ACCEL, aR as MAX_WET_LANES, aS as MAX_WET_SLOTS, aT as MIXER_DRAIN, aU as MIXER_PICKUP_RATE, aV as MIXING_MODELS, c as MixerStroke, b as MixerTarget, j as MixingModel, aW as OPP, A as PAINT_COLOR_JSON_SCHEMA, E as PAINT_GRADIENT_FULL_SPEED, F as PAINT_GRADIENT_JSON_SCHEMA, G as PAINT_GRADIENT_KIT, H as PAINT_GRADIENT_MAPPINGS, I as PAINT_GRADIENT_MAPPING_LABELS, J as PAINT_GRADIENT_PRESETS, K as PAINT_GRADIENT_REPEATS, L as PAINT_GRADIENT_REPEAT_LABELS, N as PAINT_GRADIENT_SPACES, O as PAINT_GRADIENT_SPACE_LABELS, Q as PAINT_SOURCE_JSON_SCHEMA, aX as PAPER_CAPACITY, aY as PARAM, aZ as PARAM_FLOATS, a_ as PIGMENT_CHANNELS, a$ as PLANE, b0 as PLANE_BYTES, b1 as P_D0, b2 as P_EDGE, b3 as P_FX, b4 as P_FY, b5 as P_H, b6 as P_P0, b7 as P_RHO, b8 as P_SW, b9 as P_UX, ba as P_UY, U as PaintColorSource, V as PaintDabParams, bb as PaintExchange, X as PaintGradientKit, Y as PaintGradientMapping, Z as PaintGradientMappingKind, _ as PaintGradientRepeat, $ as PaintGradientSample, a0 as PaintGradientSampler, i as PaintGradientSource, a1 as PaintGradientSpace, a2 as PaintGradientStop, bc as PaintMedium, bd as PaintPixels, a3 as PaintRgb, be as PaintSample, P as PaintSource, a4 as PaintSourceError, g as PaintTileTarget, bf as PixelSource, bg as RETOUCH_SAMPLES, bh as RegionPixelSource, d as RetouchApply, bi as RetouchDabEffect, bj as RetouchDabStroke, f as RetouchPaint, bk as RetouchSample, R as RetouchSettings, p as RgbTriple, bl as SET_PLANES, bm as SLOT_BYTES, bn as SLOT_PLANES, bo as SLOT_SIDE, bp as SPOT_HEAL_TYPES, bq as STRIP, br as SmudgeDab, l as SmudgeSettings, bs as SmudgeTip, bt as SpotHealType, h as StrokeApply, S as StrokeCoverage, e as StrokePoint, bu as TIP_GRADIENT_STEPS, bv as TONE_RANGES, T as TileMedium, bw as TileMediumOptions, bx as TilePixelSource, by as ToneRange, bz as U_MAX, bA as W9, a5 as WET_FLOW_KINDS, a6 as WET_PARAM_KEYS, bB as WET_TILE, s as WetBackendInfo, bC as WetFlowField, a7 as WetFlowKind, o as WetFlowSpec, bD as WetGpuEngine, bE as WetGpuJob, r as WetGpuProvider, bF as WetGpuSupport, bG as WetKernelKind, bH as WetLaneOptions, bI as WetLaneStats, bJ as WetPaper, u as WetPaperInput, n as WetParams, t as WetSnapshot, a8 as WetSupport, m as WetTilt, bK as WetWorkerLayout, bL as WetWorkerPool, W as WetWorld, bM as WetWorldError, q as WetWorldOptions, a9 as addPaintGradientStop, bN as applyRetouchToTile, bO as applyStrokeToDeepTile, bP as applyStrokeToTile, bQ as applyToneToDeepTile, bR as blendRadius, bS as blenderDab, bT as canShareMemory, bU as cleanMixer, bV as coverageTileCoord, bW as createBlenderScratch, bX as createWetGpuEngine, bY as dabCoverage, bZ as dabRect, b_ as dodgeBurn, b$ as dodgeBurnCurve, c0 as dsincos, c1 as edgeBits, c2 as exchangeRates, c3 as findWebGpu, c4 as flowField, c5 as gradientDabColor, aa as hash2, c6 as healPixels, ab as hexToPaintRgb, ac as isGradientPaint, c7 as latticeViscosity, c8 as loadMixer, c9 as loadWetKernel, ca as luma, ad as mix32, cb as mixerRates, cc as normalizeBlender, cd as normalizeBrush, ae as normalizeFlow, af as normalizeHexColor, ce as normalizeMixer, cf as normalizeRetouch, cg as normalizeSmudge, ch as normalizeTilt, ag as normalizeWetParams, ci as packWetParams, ah as paintGradientMappingFor, ai as paintSourceColor, aj as paintSourceCss, ak as parsePaintSource, cj as perDabStrength, ck as put255, al as rand01, cl as rasterizeDab, am as readPaintSource, cm as readSourceRegion, an as removePaintGradientStop, ao as resolvePaintGradient, ap as reversePaintGradient, cn as rgbaViewOfGrey, co as saturationOf, aq as scalePaintGradient, cp as smoothPoints, cq as smudgeEffect, ar as solidPaint, cr as sponge, cs as spongeEffect, ct as spotHealPixels, cu as spotHealWindow, cv as tipFalloff, cw as tipReach, cx as tipShape, cy as toneOf, as as updatePaintGradientStop, cz as walkDabs, cA as wetGpuSupport, cB as wetSimdSupported, at as wetSupport } from '../rand-pQQ2sJTk.js';
17
17
  export { BODY_SCATTER, BrushstrokeBrush, BrushstrokeCache, BrushstrokeCanvasLike, BrushstrokeImage, BrushstrokeInput, BrushstrokeOptions, BrushstrokePaint, BrushstrokeProfilePath, BrushstrokeSample, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, PathStrokePaint, PointerEventLike, PointerStrokeSample, SRGB_TO_LINEAR, WGSL_HALO, WGSL_SHADE, WGSL_STEP, WetMedium, WetMediumOptions, bestOffset, brushstrokeDataUrl, brushstrokeKey, brushstrokeSamples, brushstrokeStrokeOptions, brushstrokeToCanvas, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, isBrushstrokeBrush, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, pointerPressure, pointerStrokeSample, pointerStrokeSamples, renderBrushstroke, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.js';
@@ -19,9 +19,9 @@ import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.js';
19
19
  export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.js';
20
20
  import { W as WarpStyle, a as WarpMesh, V as Vec2, Q as Quad } from '../types-CwMPoRMU.js';
21
21
  export { A as AffineMatrix, H as Homography } from '../types-CwMPoRMU.js';
22
- import { A as AppliedEffectInfo } from '../tools-D8bZ-7YG.js';
22
+ import { A as AppliedEffectInfo } from '../tools-D7ws-OKL.js';
23
23
  export { B as BRUSHSTROKE_MAX_SCALE, a as BRUSHSTROKE_MIN_SCALE, b as brushstrokeScaleBucket } from '../brushstroke-scale-B6XAdPSY.js';
24
- import '../helpers-X_rycLNJ.js';
24
+ import '../helpers-BCd2-PAR.js';
25
25
  import '../schema-Di0CS6Pe.js';
26
26
  import '../evaluate-BbCeF6pt.js';
27
27
  import '../easing-lM0Xo9Ni.js';
@@ -362,7 +362,7 @@ import {
362
362
  writePsd,
363
363
  xyToTempTint,
364
364
  xyToUv
365
- } from "../chunk-ERYGCA72.js";
365
+ } from "../chunk-G5FX56KX.js";
366
366
  import {
367
367
  parseCssColor
368
368
  } from "../chunk-CTTF4KYV.js";
@@ -802,7 +802,7 @@ import {
802
802
  warpMeshParamAt,
803
803
  warpMeshRows,
804
804
  warpPresetMesh
805
- } from "../chunk-PRYMC442.js";
805
+ } from "../chunk-IEYXYMRQ.js";
806
806
  import "../chunk-YGJIER2R.js";
807
807
  import "../chunk-KHNZ6MOU.js";
808
808
  import {
@@ -1332,6 +1332,27 @@ var ImageEditorRenderer = class {
1332
1332
  }
1333
1333
  ctx.restore();
1334
1334
  }
1335
+ if (options.cloneSourceMarker) {
1336
+ const m = projectImagePoint(options.cloneSourceMarker, projection);
1337
+ ctx.save();
1338
+ try {
1339
+ const r = 7;
1340
+ ctx.beginPath();
1341
+ ctx.arc(m.x, m.y, r, 0, Math.PI * 2);
1342
+ ctx.moveTo(m.x - r - 4, m.y);
1343
+ ctx.lineTo(m.x + r + 4, m.y);
1344
+ ctx.moveTo(m.x, m.y - r - 4);
1345
+ ctx.lineTo(m.x, m.y + r + 4);
1346
+ ctx.lineWidth = 3;
1347
+ ctx.strokeStyle = "rgba(0,0,0,0.6)";
1348
+ ctx.stroke();
1349
+ ctx.lineWidth = 1;
1350
+ ctx.strokeStyle = "#ffffff";
1351
+ ctx.stroke();
1352
+ } catch {
1353
+ }
1354
+ ctx.restore();
1355
+ }
1335
1356
  if (options.textEdit) {
1336
1357
  const t = options.textEdit;
1337
1358
  ctx.save();
@@ -3492,6 +3513,19 @@ function colorModePlanes(doc, mode) {
3492
3513
  return planes;
3493
3514
  };
3494
3515
  }
3516
+ function colorModePlanes16(doc, mode) {
3517
+ const src = resolveProfile(doc);
3518
+ const cmyk = mode.mode === "cmyk";
3519
+ const t = cmyk ? Transform.create(src, resolveProfile(mode.profile), { intent: mode.intent, bpc: true }) : Transform.create(src, builtinProfile("lab-d50"), { intent: "relative", bpc: false });
3520
+ const k = cmyk ? 4 : 3;
3521
+ return (rgba, n) => {
3522
+ const out = new Uint16Array(n * 4);
3523
+ t.convert16(rgba, 4, out, 4, false);
3524
+ const planes = Array.from({ length: k }, () => new Uint16Array(n));
3525
+ for (let i = 0; i < n; i++) for (let c = 0; c < k; c++) planes[c][i] = cmyk ? 65535 - out[i * 4 + c] : out[i * 4 + c];
3526
+ return planes;
3527
+ };
3528
+ }
3495
3529
  var resolved = /* @__PURE__ */ new WeakMap();
3496
3530
  var fromBytes = /* @__PURE__ */ new Map();
3497
3531
  function resolveProfile(doc) {
@@ -6992,6 +7026,20 @@ var ImageEditorController = class {
6992
7026
  }
6993
7027
  return this.blankSource;
6994
7028
  }
7029
+ /**
7030
+ * Where the Clone Stamp or Healing Brush samples for a brush at `cursor` (document pixels), or
7031
+ * `null` when neither tool is active or no source is set: the cursor plus the aligned offset
7032
+ * once a stroke has fixed it, else the source point itself (where the next stroke starts
7033
+ * sampling). The editors draw it as the clone source marker.
7034
+ */
7035
+ cloneSourceMarker(cursor = null) {
7036
+ const s = this.state;
7037
+ if (s.activeTool !== "clone" && s.activeTool !== "heal") return null;
7038
+ const cs = s.paint.cloneSource;
7039
+ if (!cs) return null;
7040
+ if (cursor && cs.offset && s.paint.retouch.aligned) return { x: cursor.x + cs.offset.x, y: cursor.y + cs.offset.y };
7041
+ return { x: cs.x, y: cs.y };
7042
+ }
6995
7043
  async render(targetCanvas, options) {
6996
7044
  const source = this.drawSource();
6997
7045
  if (!source) return;
@@ -7001,6 +7049,8 @@ var ImageEditorController = class {
7001
7049
  try {
7002
7050
  await this.renderer.renderToCanvas(targetCanvas, source, this.state, {
7003
7051
  ...options,
7052
+ // The clone source follows the brush cursor (both editors pass it).
7053
+ cloneSourceMarker: options?.cloneSourceMarker !== void 0 ? options.cloneSourceMarker : options?.brushCursor ? this.cloneSourceMarker(options.brushCursor) : null,
7004
7054
  dirty: dirty === "all" ? void 0 : dirty,
7005
7055
  checkpointLayerId: this.state.activeLayerId
7006
7056
  });
@@ -7841,7 +7891,8 @@ var ImageEditorController = class {
7841
7891
  warnings.push(`Adjustment layers were written with their RGB settings; in a ${m.mode.toUpperCase()} file Photoshop applies them to its own channels, so they may look different there.`);
7842
7892
  }
7843
7893
  const planes = colorModePlanes(this.state.colorProfile, m);
7844
- return m.mode === "cmyk" ? { colorMode: "cmyk", colorPlanes: planes, iccProfile: profileBytes(m.profile) } : { colorMode: "lab", colorPlanes: planes };
7894
+ const planes16 = this.bitDepth === 8 ? void 0 : colorModePlanes16(this.state.colorProfile, m);
7895
+ return m.mode === "cmyk" ? { colorMode: "cmyk", colorPlanes: planes, colorPlanes16: planes16, iccProfile: profileBytes(m.profile) } : { colorMode: "lab", colorPlanes: planes, colorPlanes16: planes16 };
7845
7896
  }
7846
7897
  /** Pixels per inch of the last opened PSD (written back by `toPsd`). */
7847
7898
  psdResolution;
@@ -8054,8 +8105,8 @@ var ImageEditorController = class {
8054
8105
  for (const [msg, names] of note) warnings.push(`${msg} (${names.length === 1 ? "layer" : "layers"} ${names.map((n) => `"${n}"`).join(", ")}).`);
8055
8106
  const merged = compositor.composite(prepared, canvas, { ...sources, version: `psd:${Date.now()}` });
8056
8107
  const color = this.psdColorOptions(warnings);
8057
- if (color.colorMode && this.bitDepth !== 8) warnings.push(`${color.colorMode.toUpperCase()} files are written at 8 bits per channel; the ${this.bitDepth}-bit samples were rounded.`);
8058
- const depth = color.colorMode ? 8 : this.bitDepth;
8108
+ if (color.colorMode && this.bitDepth === 32) warnings.push(`${color.colorMode.toUpperCase()} files are written at 16 bits per channel at most; the 32-bit samples were converted (colour above 1 clipped).`);
8109
+ const depth = color.colorMode && this.bitDepth === 32 ? 16 : this.bitDepth;
8059
8110
  const mergedDeep = depth === 8 ? void 0 : workingToSamples(compositeDeep(prepared, canvas, sources, depth), depth);
8060
8111
  const result = exportPsd({ width, height, layers: prepared, merged, mergedDeep, resolution: this.psdResolution, patterns: this.state.patterns, globalLight: this.state.globalLight, depth, ...color });
8061
8112
  warnings.push(...result.warnings);
@@ -11145,7 +11196,7 @@ function createImageColorTools(controller) {
11145
11196
  const setMode = {
11146
11197
  name: "set_color_mode",
11147
11198
  title: "Set the colour mode",
11148
- description: "Image \u203A Mode: rgb, cmyk (for print: give the press `profile`, default coated-cmyk, and the `intent` RGB is separated with) or lab. The document is still edited as RGB in its working space; a CMYK document is soft-proofed through its profile in the viewport (unless set_proof_setup says otherwise), and export_psd writes CMYK or Lab channels with the profile. Changes no pixels. One undo step. Returns the profile summary with mode and cmykProfile.",
11199
+ description: "Image \u203A Mode: rgb, cmyk (for print: give the press `profile`, default coated-cmyk, and the `intent` RGB is separated with) or lab. The document is still edited as RGB in its working space; a CMYK document is soft-proofed through its profile in the viewport (unless set_proof_setup says otherwise), and export_psd writes CMYK or Lab channels with the profile, at 8 or 16 bits (a 32-bit document is written at 16). Changes no pixels. One undo step. Returns the profile summary with mode and cmykProfile.",
11149
11200
  inputSchema: {
11150
11201
  type: "object",
11151
11202
  properties: {
@@ -11371,7 +11422,7 @@ function createImageRetouchTools(controller) {
11371
11422
  const getOptions = {
11372
11423
  name: "get_retouch_options",
11373
11424
  title: "Get retouch options",
11374
- description: "Reads the retouching tools' options (aligned, sample, spotType, range, exposure, protectTones, spongeMode, vibrance, strength) and the clone source ({x, y, offset} or null; offset is the aligned offset the last clone or heal stroke fixed). Call it before clone_stamp or heal_brush without a source to see where they will sample.",
11425
+ description: "Reads the retouching tools' options (aligned, sample, spotType, range, exposure, protectTones, spongeMode, vibrance, strength) and the clone source ({x, y, offset} or null; offset is the aligned offset the last clone or heal stroke fixed: an aligned stroke samples at the brush plus offset, which the editors show as a crosshair). Call it before clone_stamp or heal_brush without a source to see where they will sample.",
11375
11426
  inputSchema: { type: "object", properties: {}, additionalProperties: false },
11376
11427
  annotations: { title: "Get retouch options", ...READ6 },
11377
11428
  handler: () => {
@@ -15143,6 +15194,7 @@ export {
15143
15194
  collectTiles,
15144
15195
  colorBalanceChannel,
15145
15196
  colorModePlanes,
15197
+ colorModePlanes16,
15146
15198
  colorPanelView,
15147
15199
  colorRange,
15148
15200
  combineSelections,