{
  "version": 3,
  "sources": ["../../../src/diagrams/swimlanes/styles.ts", "../../../src/diagrams/swimlanes/swimlanesDiagram.ts"],
  "sourcesContent": ["import getFlowchartStyles from '../flowchart/styles.js';\nimport type { FlowChartStyleOptions } from '../flowchart/styles.js';\n\n/**\n * Swimlanes reuses the flowchart styles and appends the lane-specific rule.\n *\n * As a \"layout-variant diagram\" (see `swimlanesDiagram.ts` and diagrams/CLAUDE.md),\n * swimlanes deliberately consumes flowchart's public `styles` export rather than\n * duplicating it \u2014 the one sanctioned exception to the cross-diagram isolation rule.\n *\n * The swimlane cluster shape draws its own lane border, so the generic\n * `.cluster rect` border is suppressed by matching its stroke to the cluster\n * background \u2014 theme-adaptive, rather than a hardcoded colour.\n */\nconst getStyles = (options: FlowChartStyleOptions): string =>\n  `${getFlowchartStyles(options)}\n  .swimlane.cluster rect {\n    stroke: ${options.clusterBorder} !important;\n  }\n  [data-look=\"neo\"].cluster rect {\n    filter: none;\n  }\n`;\n\nexport default getStyles;\n", "// Swimlanes is a \"layout-variant diagram\": it reuses the flowchart parser, DB,\n// and renderer wholesale and only swaps in a different layout engine\n// (`defaultLayout: 'swimlane'`) plus lane-specific styles. It therefore\n// deliberately consumes flowchart's public factory `createFlowDiagram` rather\n// than duplicating the entire flowchart plugin. This is the one sanctioned\n// exception to the cross-diagram isolation rule documented in diagrams/CLAUDE.md;\n// the dependency is on flowchart's exported entry points only, never its internals.\nimport { createFlowDiagram } from '../flowchart/flowDiagram.js';\nimport swimlanesStyles from './styles.js';\n\nexport const diagram = createFlowDiagram({ defaultLayout: 'swimlane', styles: swimlanesStyles });\n"],
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAcA,IAAM,YAAY,wBAAC,YACjB,GAAG,eAAmB,OAAO,CAAC;AAAA;AAAA,cAElB,QAAQ,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA,GAHjB;AAUlB,IAAOA,kBAAQ;;;ACdR,IAAM,UAAU,kBAAkB,EAAE,eAAe,YAAY,QAAQC,gBAAgB,CAAC;",
  "names": ["styles_default", "styles_default"]
}
