@likec4/core 1.51.0 → 1.52.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.
@@ -1,4 +1,4 @@
1
- import { $n as FqnRef, Br as ElementId, C as LayoutedView, Ei as NodeId, Fr as Aux, Gn as WhereOperator, Hr as Fqn, Ht as DynamicViewDisplayVariant, Ii as ViewId$1, Ir as DeploymentFqn, Ji as _stage, Jr as Metadata, Kr as LooseTag, Lr as DeploymentId, Mi as StepEdgeId, Mr as AnyComputed, Nr as AnyLayouted, Oi as ProjectId, Ot as Element, Pr as AnyParsed, Qr as RelationKind, Rr as DeploymentKind, Rt as ModelGlobals, S as ComputedView, Si as GroupElementKind, St as DeploymentNode, Ur as LooseDeploymentId, Vr as ElementKind, Wr as LooseElementId, Xr as ProjectId$1, Yi as _type, Yr as MetadataKey, Zr as RelationId$1, _ as ComputedLikeC4ModelData, ai as UnknownComputed, b as ParsedLikeC4ModelData, bt as DeploymentElement, ci as ViewId, ct as LikeC4Project, d as AuxFromDump, ea as IteratorLike, ei as Stage, et as ViewManualLayoutSnapshot, f as LikeC4ModelDump, gr as RelationshipLineType, gt as Specification, ia as NonEmptyArray, ii as Unknown, jr as Any, jt as Relationship, k as ViewWithType, ki as RelationId, kt as ElementStyle, l as RichTextOrEmpty, na as Link, ni as Tag, oi as UnknownLayouted, or as ElementShape, ot as ComputedNodeStyle, pi as toComputed, pr as RelationshipArrowType, qr as LooseViewId, ri as Tags, si as UnknownParsed, ti as StrictViewId, tr as Color, v as LayoutedLikeC4ModelData, vi as EdgeId, wi as IconUrl, wt as DeploymentRelationship, yt as DeployedInstance } from "./index.mjs";
1
+ import { $i as IteratorLike, $r as Stage, Ar as Any, Br as ElementKind, C as LayoutedView, Ci as IconUrl, Di as ProjectId, Fi as ViewId$1, Fr as DeploymentFqn, Gr as LooseTag, Hr as LooseDeploymentId, Ht as DynamicViewDisplayVariant, Ir as DeploymentId, Ji as _type, Jr as MetadataKey, Kr as LooseViewId, Lr as DeploymentKind, Mr as AnyLayouted, Nr as AnyParsed, Oi as RelationId, Ot as Element, Pr as Aux, Qn as FqnRef, Rt as ModelGlobals, S as ComputedView, St as DeploymentNode, Ti as NodeId, Ur as LooseElementId, Vr as Fqn, Wn as WhereOperator, Xr as RelationId$1, Yr as ProjectId$1, Zr as RelationKind, _ as ComputedLikeC4ModelData, _i as EdgeId, ai as UnknownLayouted, ar as ElementShape, b as ParsedLikeC4ModelData, bt as DeploymentElement, ct as LikeC4Project, d as AuxFromDump, ei as StrictViewId, er as Color, et as ViewManualLayoutSnapshot, f as LikeC4ModelDump, fi as toComputed, fr as RelationshipArrowType, gt as Specification, hr as RelationshipLineType, ii as UnknownComputed, ji as StepEdgeId, jr as AnyComputed, jt as Relationship, k as ViewWithType, kt as ElementStyle, l as RichTextOrEmpty, ni as Tags, oi as UnknownParsed, ot as ComputedNodeStyle, qi as _stage, qr as Metadata, ra as NonEmptyArray, ri as Unknown, si as ViewId, ta as Link, ti as Tag, v as LayoutedLikeC4ModelData, wt as DeploymentRelationship, xi as GroupElementKind, yt as DeployedInstance, zr as ElementId } from "./index.mjs";
2
2
  import { i as BBox } from "./index2.mjs";
3
3
  import { i as LikeC4Styles } from "./index3.mjs";
4
4
  import { o as DefaultMap } from "./libs/mnemonist.mjs";
@@ -1,4 +1,4 @@
1
- import { $r as SpecAux, An as ModelRelationExpr, At as ModelRelation, Fr as Aux, Hn as Participant, Ot as Element, Ti as MarkdownOrString, W as ParsedDeploymentView, _r as ShapeSize, _t as TagSpecification, b as ParsedLikeC4ModelData, bi as Fqn, br as TextSize, bt as DeploymentElement, cr as IconPosition, dt as LikeC4ProjectStylesConfig, er as BorderStyle, fi as setProject, gi as DeploymentFqn, gr as RelationshipLineType, ht as RelationshipSpecification, ia as NonEmptyArray, in as ParsedElementView, jn as Expression, jr as Any, kn as ModelFqnExpr, ln as AnyViewRuleStyle, mt as ElementSpecification$1, or as ElementShape, pr as RelationshipArrowType, ta as KeysOf, un as AutoLayoutDirection, w as ParsedView, wt as DeploymentRelationship, xr as ThemeColor, yr as SpacingSize } from "./index.mjs";
1
+ import { $n as BorderStyle, An as Expression, Ar as Any, At as ModelRelation, On as ModelFqnExpr, Ot as Element, Pr as Aux, Qr as SpecAux, Vn as Participant, W as ParsedDeploymentView, _t as TagSpecification, ar as ElementShape, b as ParsedLikeC4ModelData, br as ThemeColor, bt as DeploymentElement, di as setProject, dt as LikeC4ProjectStylesConfig, ea as KeysOf, fr as RelationshipArrowType, gr as ShapeSize, hi as DeploymentFqn, hr as RelationshipLineType, ht as RelationshipSpecification, in as ParsedElementView, kn as ModelRelationExpr, ln as AnyViewRuleStyle, mt as ElementSpecification$1, ra as NonEmptyArray, sr as IconPosition, un as AutoLayoutDirection, vr as SpacingSize, w as ParsedView, wi as MarkdownOrString, wt as DeploymentRelationship, yi as Fqn, yr as TextSize } from "./index.mjs";
2
2
  import { n as LikeC4Model } from "./LikeC4Model.mjs";
3
3
  import { IfNever, IsLiteral, IsNever, LastArrayElement, PartialDeep, Simplify, Split, Tagged, TupleToUnion, Writable } from "type-fest";
4
4
 
@@ -1,4 +1,4 @@
1
- import { G as DiagramEdge, Ji as _stage, K as DiagramNode, Oi as ProjectId, Yi as _type, at as ComputedNode, fn as BaseViewProperties, hn as ViewAutoLayout, rt as ComputedEdge } from "./index.mjs";
1
+ import { Di as ProjectId, G as DiagramEdge, Ji as _type, K as DiagramNode, at as ComputedNode, fn as BaseViewProperties, hn as ViewAutoLayout, qi as _stage, rt as ComputedEdge } from "./index.mjs";
2
2
  import { i as BBox } from "./index2.mjs";
3
3
 
4
4
  //#region src/compute-view/projects-view/_types.d.ts
@@ -1026,32 +1026,6 @@ interface ViewAutoLayout {
1026
1026
  rankSep?: number;
1027
1027
  nodeSep?: number;
1028
1028
  }
1029
- /**
1030
- * v1 Manual layout of a view, stored in the block comment to the view definition.
1031
- * Keeping this type for backward compatibility and migration purposes.
1032
- *
1033
- * @deprecated Use {@link ViewManualLayoutSnapshot} instead
1034
- */
1035
- type ViewManualLayout = {
1036
- readonly hash: string;
1037
- readonly x: number;
1038
- readonly y: number;
1039
- readonly width: number;
1040
- readonly height: number;
1041
- readonly autoLayout: ViewAutoLayout;
1042
- readonly nodes: Record<string, {
1043
- isCompound: boolean;
1044
- x: number;
1045
- y: number;
1046
- width: number;
1047
- height: number;
1048
- }>;
1049
- readonly edges: Record<string, {
1050
- points: NonEmptyArray<Point>;
1051
- controlPoints?: NonEmptyArray<XYPoint>;
1052
- labelBBox?: BBox;
1053
- }>;
1054
- };
1055
1029
  type ViewType = 'element' | 'dynamic' | 'deployment';
1056
1030
  interface BaseViewProperties<A extends Any> extends WithOptionalTags<A>, WithOptionalLinks {
1057
1031
  readonly id: StrictViewId<A>;
@@ -1517,11 +1491,6 @@ interface BaseComputedViewProperties<A extends Any> extends BaseViewProperties<A
1517
1491
  * If the view has manual layout (v2)
1518
1492
  */
1519
1493
  readonly hasManualLayout?: boolean;
1520
- /**
1521
- * Manual layout data (v1), for compatibility during migration
1522
- * @deprecated
1523
- */
1524
- readonly manualLayout?: ViewManualLayout | undefined;
1525
1494
  }
1526
1495
  interface ComputedElementView<A extends Any = Any> extends BaseComputedViewProperties<A> {
1527
1496
  readonly [_type]: 'element';
@@ -2030,4 +1999,4 @@ type GuardedBy<G> = G extends Guard<infer N> ? N : never;
2030
1999
  */
2031
2000
  declare function isAnyOf<const Predicates extends NonEmptyArray<Guard>>(...predicates: Predicates): <T>(value: T) => value is T & GuardedBy<Predicates[number]>;
2032
2001
  //#endregion
2033
- export { LayoutedViewDriftReason as $, IterableContainer as $i, FqnRef as $n, SpecAux as $r, ElementViewPredicate as $t, isComputedView as A, RelationKind$1 as Ai, ModelRelationExpr as An, ThemeColors as Ar, ModelRelation as At, DeploymentViewIncludePredicate as B, isGroupElementKind as Bi, OperatorPredicate as Bn, ElementId as Br, DynamicStepsParallel as Bt, LayoutedView as C, Icon as Ci, ViewWithNotation as Cn, isCustomColor as Cr, DeploymentRelation as Ct, ViewRule as D, NoneIcon as Di, isViewRuleGlobalStyle as Dn, ElementShapes as Dr, AbstractRelationship as Dt, ViewOnStage as E, NodeId$1 as Ei, isViewRuleGlobalPredicateRef as En, DefaultTagColors as Er, isDeploymentNode as Et, isExtendsElementView as F, Tag$1 as Fi, AndOperator as Fn, Aux as Fr, GlobalPredicates as Ft, DiagramEdge as G, ExtractOnStage as Gi, WhereOperator as Gn, LooseLiteral as Gr, DynamicViewStep as Gt, DeploymentViewRule as H, scalar_d_exports as Hi, Participant as Hn, Fqn as Hr, DynamicViewDisplayVariant as Ht, isScopedElementView as I, ViewId$1 as Ii, EqualOperator as In, DeploymentFqn as Ir, GlobalStyleID as It, LayoutedDeploymentView as J, _stage as Ji, isNotOperator as Jn, Metadata as Jr, isDynamicStep as Jt, DiagramNode as K, ModelStage as Ki, isAndOperator as Kn, LooseTag as Kr, ParsedDynamicView as Kt, isViewRulePredicate as L, extractStep as Li, Filterable as Ln, DeploymentId as Lr, GlobalStyles as Lt, isDiagramView as M, StepEdgeId as Mi, FqnExpr as Mn, AnyComputed as Mr, ensureSizes as Mt, isDynamicView as N, StepEdgeIdLiteral as Ni, PredicateSelector as Nn, AnyLayouted as Nr, GlobalDynamicPredicates as Nt, ViewRulePredicate as O, ProjectId$1 as Oi, ModelExpression as On, IconPositions as Or, Element as Ot, isElementView as P, StepEdgeKind as Pi, RelationExpr as Pn, AnyParsed as Pr, GlobalPredicateId as Pt, DiagramNodeDriftReason as Q, ExclusiveUnion as Qi, whereOperatorAsPredicate as Qn, RelationKind as Qr, ElementViewIncludePredicate as Qt, isViewRuleStyle as R, flattenMarkdownOrString as Ri, KindEqual as Rn, DeploymentKind as Rr, ModelGlobals as Rt, ComputedView as S, GroupElementKind as Si, ViewWithHash as Sn, ThemeColorValues as Sr, DeploymentNode as St, ProcessedView as T, MarkdownOrString as Ti, isViewRuleAutoLayout as Tn, BorderStyles as Tr, isDeployedInstance as Tt, DeploymentViewRuleStyle as U, splitGlobalFqn as Ui, ParticipantOperator as Un, LooseDeploymentId as Ur, DynamicViewIncludeRule as Ut, DeploymentViewPredicate as V, isStepEdgeId as Vi, OrOperator as Vn, ElementKind as Vr, DynamicStepsSeries as Vt, ParsedDeploymentView as W, stepEdgeId as Wi, TagEqual as Wn, LooseElementId as Wr, DynamicViewRule as Wt, LayoutedElementView as X, isOnStage as Xi, isParticipantOperator as Xn, ProjectId as Xr, isDynamicStepsSeries as Xt, LayoutedDynamicView as Y, _type as Yi, isOrOperator as Yn, MetadataKey as Yr, isDynamicStepsParallel as Yt, DiagramEdgeDriftReason as Z, Coalesce as Zi, isTagEqual as Zn, RelationId as Zr, ElementViewExcludePredicate as Zt, ComputedLikeC4ModelData as _, DeploymentKind$1 as _i, ViewRuleAutoLayout as _n, ShapeSize as _r, TagSpecification as _t, isNonEmptyArray as a, NonEmptyReadonlyArray as aa, UnknownComputed as ai, isViewRuleGroup as an, ElementColorValues as ar, ComputedNode as at, ParsedLikeC4ModelData as b, Fqn$1 as bi, ViewRuleRank as bn, TextSize as br, DeploymentElement as bt, RichTextEmpty as c, exact as ca, ViewId as ci, AnyIncludePredicate as cn, IconPosition as cr, LikeC4Project as ct, AuxFromDump as d, preferSummary as di, BaseParsedViewProperties as dn, LikeC4StylesConfig as dr, LikeC4ProjectStylesConfig as dt, IteratorLike as ea, Stage as ei, ElementViewRule as en, BorderStyle as er, ViewManualLayoutSnapshot as et, LikeC4ModelDump as f, setProject as fi, BaseViewProperties as fn, LikeC4Theme as fr, LikeC4ProjectStylesCustomStylesheets as ft, AuxFromLikeC4ModelData as g, DeploymentFqn$1 as gi, ViewManualLayout as gn, RelationshipLineType as gr, Specification as gt, SpecificationDump as h, BuiltInIcon as hi, ViewAutoLayout as hn, RelationshipColorValues as hr, RelationshipSpecification as ht, isAnyOf as i, NonEmptyArray as ia, Unknown as ii, ParsedElementView as in, CustomColorDefinitions as ir, ComputedElementView as it, isDeploymentView as j, RelationshipKind as ji, Expression as jn, Any as jr, Relationship as jt, ViewWithType as k, RelationId$1 as ki, ModelFqnExpr as kn, Sizes as kr, ElementStyle as kt, RichTextOrEmpty as l, _aux_d_exports as li, AnyViewRuleStyle as ln, IconSize as lr, LikeC4ProjectManualLayoutsConfig as lt, SpecTypesFromDump as m, AnyFqn as mi, RankValue as mn, RelationshipArrowTypes as mr, ElementSpecification as mt, GuardedBy as n, Link as na, Tag as ni, ElementViewRuleRank as nn, ColorLiteral as nr, ComputedDynamicView as nt, isString as o, Predicate as oa, UnknownLayouted as oi, isViewRuleRank as on, ElementShape as or, ComputedNodeStyle as ot, ProjectDump as p, toComputed as pi, NodeNotation as pn, RelationshipArrowType as pr, LikeC4ProjectTheme as pt, LayoutType as q, _layout as qi, isKindEqual as qn, LooseViewId as qr, getParallelStepsPrefix as qt, hasProp as r, NTuple as ra, Tags as ri, ElementViewRuleStyle as rn, CustomColor as rr, ComputedEdge as rt, RichText as s, ReorderedArray as sa, UnknownParsed as si, AnyExcludePredicate as sn, HexColor as sr, ComputedRankConstraint as st, Guard as t, KeysOf as ta, StrictViewId as ti, ElementViewRuleGroup as tn, Color as tr, ComputedDeploymentView as tt, ViewChange as u, preferDescription as ui, AutoLayoutDirection as un, LikeC4StyleDefaults as ur, LikeC4ProjectStyleDefaults as ut, LayoutedLikeC4ModelData as v, EdgeId$1 as vi, ViewRuleGlobalPredicateRef as vn, Size as vr, isTagColorSpecified as vt, ParsedView as w, IconUrl as wi, isAutoLayoutDirection as wn, isThemeColor as wr, DeploymentRelationship as wt, AnyView as x, GlobalFqn as xi, ViewType as xn, ThemeColor as xr, DeploymentElementRef$1 as xt, LikeC4ModelData as y, ElementKind$1 as yi, ViewRuleGlobalStyle as yn, SpacingSize as yr, DeployedInstance as yt, DeploymentViewExcludePredicate as z, isGlobalFqn as zi, NotOperator as zn, EdgeId as zr, DynamicStep as zt };
2002
+ export { LayoutedViewDriftReason as $, IteratorLike as $i, BorderStyle as $n, Stage as $r, ElementViewPredicate as $t, isComputedView as A, RelationshipKind as Ai, Expression as An, Any as Ar, ModelRelation as At, DeploymentViewIncludePredicate as B, isStepEdgeId as Bi, OrOperator as Bn, ElementKind as Br, DynamicStepsParallel as Bt, LayoutedView as C, IconUrl as Ci, isAutoLayoutDirection as Cn, isThemeColor as Cr, DeploymentRelation as Ct, ViewRule as D, ProjectId$1 as Di, ModelExpression as Dn, IconPositions as Dr, AbstractRelationship as Dt, ViewOnStage as E, NoneIcon as Ei, isViewRuleGlobalStyle as En, ElementShapes as Er, isDeploymentNode as Et, isExtendsElementView as F, ViewId$1 as Fi, EqualOperator as Fn, DeploymentFqn as Fr, GlobalPredicates as Ft, DiagramEdge as G, ModelStage as Gi, isAndOperator as Gn, LooseTag as Gr, DynamicViewStep as Gt, DeploymentViewRule as H, splitGlobalFqn as Hi, ParticipantOperator as Hn, LooseDeploymentId as Hr, DynamicViewDisplayVariant as Ht, isScopedElementView as I, extractStep as Ii, Filterable as In, DeploymentId as Ir, GlobalStyleID as It, LayoutedDeploymentView as J, _type as Ji, isOrOperator as Jn, MetadataKey as Jr, isDynamicStep as Jt, DiagramNode as K, _layout as Ki, isKindEqual as Kn, LooseViewId as Kr, ParsedDynamicView as Kt, isViewRulePredicate as L, flattenMarkdownOrString as Li, KindEqual as Ln, DeploymentKind as Lr, GlobalStyles as Lt, isDiagramView as M, StepEdgeIdLiteral as Mi, PredicateSelector as Mn, AnyLayouted as Mr, ensureSizes as Mt, isDynamicView as N, StepEdgeKind as Ni, RelationExpr as Nn, AnyParsed as Nr, GlobalDynamicPredicates as Nt, ViewRulePredicate as O, RelationId$1 as Oi, ModelFqnExpr as On, Sizes as Or, Element as Ot, isElementView as P, Tag$1 as Pi, AndOperator as Pn, Aux as Pr, GlobalPredicateId as Pt, DiagramNodeDriftReason as Q, IterableContainer as Qi, FqnRef as Qn, SpecAux as Qr, ElementViewIncludePredicate as Qt, isViewRuleStyle as R, isGlobalFqn as Ri, NotOperator as Rn, EdgeId as Rr, ModelGlobals as Rt, ComputedView as S, Icon as Si, ViewWithNotation as Sn, isCustomColor as Sr, DeploymentNode as St, ProcessedView as T, NodeId$1 as Ti, isViewRuleGlobalPredicateRef as Tn, DefaultTagColors as Tr, isDeployedInstance as Tt, DeploymentViewRuleStyle as U, stepEdgeId as Ui, TagEqual as Un, LooseElementId as Ur, DynamicViewIncludeRule as Ut, DeploymentViewPredicate as V, scalar_d_exports as Vi, Participant as Vn, Fqn as Vr, DynamicStepsSeries as Vt, ParsedDeploymentView as W, ExtractOnStage as Wi, WhereOperator as Wn, LooseLiteral as Wr, DynamicViewRule as Wt, LayoutedElementView as X, Coalesce as Xi, isTagEqual as Xn, RelationId as Xr, isDynamicStepsSeries as Xt, LayoutedDynamicView as Y, isOnStage as Yi, isParticipantOperator as Yn, ProjectId as Yr, isDynamicStepsParallel as Yt, DiagramEdgeDriftReason as Z, ExclusiveUnion as Zi, whereOperatorAsPredicate as Zn, RelationKind as Zr, ElementViewExcludePredicate as Zt, ComputedLikeC4ModelData as _, EdgeId$1 as _i, ViewRuleGlobalPredicateRef as _n, Size as _r, TagSpecification as _t, isNonEmptyArray as a, Predicate as aa, UnknownLayouted as ai, isViewRuleGroup as an, ElementShape as ar, ComputedNode as at, ParsedLikeC4ModelData as b, GlobalFqn as bi, ViewType as bn, ThemeColor as br, DeploymentElement as bt, RichTextEmpty as c, _aux_d_exports as ci, AnyIncludePredicate as cn, IconSize as cr, LikeC4Project as ct, AuxFromDump as d, setProject as di, BaseParsedViewProperties as dn, LikeC4Theme as dr, LikeC4ProjectStylesConfig as dt, KeysOf as ea, StrictViewId as ei, ElementViewRule as en, Color as er, ViewManualLayoutSnapshot as et, LikeC4ModelDump as f, toComputed as fi, BaseViewProperties as fn, RelationshipArrowType as fr, LikeC4ProjectStylesCustomStylesheets as ft, AuxFromLikeC4ModelData as g, DeploymentKind$1 as gi, ViewRuleAutoLayout as gn, ShapeSize as gr, Specification as gt, SpecificationDump as h, DeploymentFqn$1 as hi, ViewAutoLayout as hn, RelationshipLineType as hr, RelationshipSpecification as ht, isAnyOf as i, NonEmptyReadonlyArray as ia, UnknownComputed as ii, ParsedElementView as in, ElementColorValues as ir, ComputedElementView as it, isDeploymentView as j, StepEdgeId as ji, FqnExpr as jn, AnyComputed as jr, Relationship as jt, ViewWithType as k, RelationKind$1 as ki, ModelRelationExpr as kn, ThemeColors as kr, ElementStyle as kt, RichTextOrEmpty as l, preferDescription as li, AnyViewRuleStyle as ln, LikeC4StyleDefaults as lr, LikeC4ProjectManualLayoutsConfig as lt, SpecTypesFromDump as m, BuiltInIcon as mi, RankValue as mn, RelationshipColorValues as mr, ElementSpecification as mt, GuardedBy as n, NTuple as na, Tags as ni, ElementViewRuleRank as nn, CustomColor as nr, ComputedDynamicView as nt, isString as o, ReorderedArray as oa, UnknownParsed as oi, isViewRuleRank as on, HexColor as or, ComputedNodeStyle as ot, ProjectDump as p, AnyFqn as pi, NodeNotation as pn, RelationshipArrowTypes as pr, LikeC4ProjectTheme as pt, LayoutType as q, _stage as qi, isNotOperator as qn, Metadata as qr, getParallelStepsPrefix as qt, hasProp as r, NonEmptyArray as ra, Unknown as ri, ElementViewRuleStyle as rn, CustomColorDefinitions as rr, ComputedEdge as rt, RichText as s, exact as sa, ViewId as si, AnyExcludePredicate as sn, IconPosition as sr, ComputedRankConstraint as st, Guard as t, Link as ta, Tag as ti, ElementViewRuleGroup as tn, ColorLiteral as tr, ComputedDeploymentView as tt, ViewChange as u, preferSummary as ui, AutoLayoutDirection as un, LikeC4StylesConfig as ur, LikeC4ProjectStyleDefaults as ut, LayoutedLikeC4ModelData as v, ElementKind$1 as vi, ViewRuleGlobalStyle as vn, SpacingSize as vr, isTagColorSpecified as vt, ParsedView as w, MarkdownOrString as wi, isViewRuleAutoLayout as wn, BorderStyles as wr, DeploymentRelationship as wt, AnyView as x, GroupElementKind as xi, ViewWithHash as xn, ThemeColorValues as xr, DeploymentElementRef$1 as xt, LikeC4ModelData as y, Fqn$1 as yi, ViewRuleRank as yn, TextSize as yr, DeployedInstance as yt, DeploymentViewExcludePredicate as z, isGroupElementKind as zi, OperatorPredicate as zn, ElementId as zr, DynamicStep as zt };
@@ -1,4 +1,4 @@
1
- import { Er as DefaultTagColors, Fi as Tag, Sr as ThemeColorValues, _r as ShapeSize, _t as TagSpecification, ar as ElementColorValues, br as TextSize, cr as IconPosition, dr as LikeC4StylesConfig, dt as LikeC4ProjectStylesConfig, er as BorderStyle, fr as LikeC4Theme, ft as LikeC4ProjectStylesCustomStylesheets, hr as RelationshipColorValues, ir as CustomColorDefinitions, lr as IconSize, nr as ColorLiteral, ot as ComputedNodeStyle, ra as NTuple, tr as Color, ur as LikeC4StyleDefaults, xr as ThemeColor, yr as SpacingSize } from "./index.mjs";
1
+ import { $n as BorderStyle, Pi as Tag, Tr as DefaultTagColors, _t as TagSpecification, br as ThemeColor, cr as IconSize, dr as LikeC4Theme, dt as LikeC4ProjectStylesConfig, er as Color, ft as LikeC4ProjectStylesCustomStylesheets, gr as ShapeSize, ir as ElementColorValues, lr as LikeC4StyleDefaults, mr as RelationshipColorValues, na as NTuple, ot as ComputedNodeStyle, rr as CustomColorDefinitions, sr as IconPosition, tr as ColorLiteral, ur as LikeC4StylesConfig, vr as SpacingSize, xr as ThemeColorValues, yr as TextSize } from "./index.mjs";
2
2
  import { LiteralUnion } from "type-fest";
3
3
 
4
4
  //#region src/styles/assignTagColors.d.ts
@@ -1,4 +1,4 @@
1
- import { $i as IterableContainer, bi as Fqn, ea as IteratorLike, ii as Unknown, jr as Any, sa as ReorderedArray, zr as EdgeId } from "./index.mjs";
1
+ import { $i as IteratorLike, Ar as Any, Qi as IterableContainer, Rr as EdgeId, oa as ReorderedArray, ri as Unknown, yi as Fqn } from "./index.mjs";
2
2
  import { C as ElementModel, S as NodeModel, T as RelationshipModel, a as DeploymentNodeModel, c as NestedElementOfDeployedInstanceModel, i as DeploymentElementModel, l as RelationshipsAccum, r as DeployedInstanceModel, s as DeploymentRelationModel, w as AnyRelationshipModel, x as EdgeModel, y as LikeC4ViewModel } from "./LikeC4Model.mjs";
3
3
 
4
4
  //#region src/model/connection/Connection.d.ts
@@ -1,4 +1,4 @@
1
- import { $i as IterableContainer, bi as Fqn, ea as IteratorLike, ia as NonEmptyArray, sa as ReorderedArray } from "./index.mjs";
1
+ import { $i as IteratorLike, Qi as IterableContainer, oa as ReorderedArray, ra as NonEmptyArray, yi as Fqn } from "./index.mjs";
2
2
 
3
3
  //#region src/utils/invariant.d.ts
4
4
  declare function nonNullable<T>(value: T, message?: string | (() => string)): NonNullable<T>;
@@ -1,3 +1,3 @@
1
1
  import{n as e}from"../rolldown-runtime.mjs";import{t}from"./decode-named-character-reference.mjs";const n=m(/[A-Za-z]/),r=m(/[\dA-Za-z]/),i=m(/[#-'*+\--9=?A-Z^-~]/);function a(e){return e!==null&&(e<32||e===127)}const o=m(/\d/),s=m(/[\dA-Fa-f]/),c=m(/[!-/:-@[-`{-~]/);function l(e){return e!==null&&e<-2}function u(e){return e!==null&&(e<0||e===32)}function d(e){return e===-2||e===-1||e===32}const f=m(/\p{P}|\p{S}/u),p=m(/\s/);function m(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function h(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}function g(e){if(e===null||u(e)||p(e))return 1;if(f(e))return 2}const _={};function v(e,t){let n=t||_;return y(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function y(e,t,n){if(x(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return b(e.children,t,n)}return Array.isArray(e)?b(e,t,n):``}function b(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=y(e[i],t,n);return r.join(``)}function x(e){return!!(e&&typeof e==`object`)}function S(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}const C=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function w(e){return e.replace(C,T)}function T(e,n,r){if(n)return n;if(r.charCodeAt(0)===35){let e=r.charCodeAt(1),t=e===120||e===88;return S(r.slice(t?2:1),t?16:10)}return t(r)||e}function E(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function D(e,t){return e.length>0?(E(e,e.length,0,t),e):t}const O={}.hasOwnProperty;function k(e){let t={},n=-1;for(;++n<e.length;)A(t,e[n]);return t}function A(e,t){let n;for(n in t){let r=(O.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){O.call(r,a)||(r[a]=[]);let e=i[a];j(r[a],Array.isArray(e)?e:e?[e]:[])}}}function j(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);E(e,0,0,r)}function M(e){let t=[],n=-1,i=0,a=0;for(;++n<e.length;){let o=e.charCodeAt(n),s=``;if(o===37&&r(e.charCodeAt(n+1))&&r(e.charCodeAt(n+2)))a=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),a=1):s=`�`}else s=String.fromCharCode(o);s&&=(t.push(e.slice(i,n),encodeURIComponent(s)),i=n+a+1,``),a&&=(n+=a,0)}return t.join(``)+e.slice(i)}function N(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const P={name:`attention`,resolveAll:F,tokenize:I};function F(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};L(d,-c),L(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=D(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=D(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=D(l,N(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=D(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=D(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,E(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function I(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=g(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=g(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function L(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const R={name:`autolink`,tokenize:z};function z(e,t,o){let s=0;return c;function c(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),l}function l(t){return n(t)?(e.consume(t),u):t===64?o(t):p(t)}function u(e){return e===43||e===45||e===46||r(e)?(s=1,d(e)):p(e)}function d(t){return t===58?(e.consume(t),s=0,f):(t===43||t===45||t===46||r(t))&&s++<32?(e.consume(t),d):(s=0,p(t))}function f(n){return n===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):n===null||n===32||n===60||a(n)?o(n):(e.consume(n),f)}function p(t){return t===64?(e.consume(t),m):i(t)?(e.consume(t),p):o(t)}function m(e){return r(e)?h(e):o(e)}function h(n){return n===46?(e.consume(n),s=0,m):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):g(n)}function g(t){if((t===45||r(t))&&s++<63){let n=t===45?g:h;return e.consume(t),n}return o(t)}}function B(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return d(r)?(e.enter(n),s(r)):t(r)}function s(r){return d(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}const V={partial:!0,tokenize:H};function H(e,t,n){return r;function r(t){return d(t)?B(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||l(e)?t(e):n(e)}}const U={continuation:{tokenize:te},exit:W,name:`blockQuote`,tokenize:ee};function ee(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return d(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function te(e,t,n){let r=this;return i;function i(t){return d(t)?B(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(U,t,n)(r)}}function W(e){e.exit(`blockQuote`)}const ne={name:`characterEscape`,tokenize:re};function re(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return c(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}const G={name:`characterReference`,tokenize:ie};function ie(e,n,i){let a=this,c=0,l,u;return d;function d(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),f}function f(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),p):(e.enter(`characterReferenceValue`),l=31,u=r,m(t))}function p(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),l=6,u=s,m):(e.enter(`characterReferenceValue`),l=7,u=o,m(t))}function m(o){if(o===59&&c){let s=e.exit(`characterReferenceValue`);return u===r&&!t(a.sliceSerialize(s))?i(o):(e.enter(`characterReferenceMarker`),e.consume(o),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),n)}return u(o)&&c++<l?(e.consume(o),m):i(o)}}const ae={partial:!0,tokenize:se},K={concrete:!0,name:`codeFenced`,tokenize:oe};function oe(e,t,n){let r=this,i={partial:!0,tokenize:C},a=0,o=0,s;return c;function c(e){return u(e)}function u(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),f(t)}function f(t){return t===s?(o++,e.consume(t),f):o<3?n(t):(e.exit(`codeFencedFenceSequence`),d(t)?B(e,p,`whitespace`)(t):p(t))}function p(n){return n===null||l(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(ae,_,S)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),m(n))}function m(t){return t===null||l(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),p(t)):d(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),B(e,h,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return t===null||l(t)?p(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),g(t))}function g(t){return t===null||l(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),p(t)):t===96&&t===s?n(t):(e.consume(t),g)}function _(t){return e.attempt(i,S,v)(t)}function v(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),y}function y(t){return a>0&&d(t)?B(e,b,`linePrefix`,a+1)(t):b(t)}function b(t){return t===null||l(t)?e.check(ae,_,S)(t):(e.enter(`codeFlowValue`),x(t))}function x(t){return t===null||l(t)?(e.exit(`codeFlowValue`),b(t)):(e.consume(t),x)}function S(n){return e.exit(`codeFenced`),t(n)}function C(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),d(t)?B(e,u,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):u(t)}function u(t){return t===s?(e.enter(`codeFencedFenceSequence`),f(t)):n(t)}function f(t){return t===s?(i++,e.consume(t),f):i>=o?(e.exit(`codeFencedFenceSequence`),d(t)?B(e,p,`whitespace`)(t):p(t)):n(t)}function p(r){return r===null||l(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function se(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}const q={name:`codeIndented`,tokenize:le},ce={partial:!0,tokenize:ue};function le(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),B(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):l(t)?e.attempt(ce,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||l(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function ue(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):l(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):B(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):l(e)?i(e):n(e)}}const de={name:`codeText`,previous:pe,resolve:fe,tokenize:me};function fe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function pe(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function me(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,d(t)):l(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),u(t))}function u(t){return t===null||t===32||t===96||l(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),u)}function d(n){return n===96?(e.consume(n),i++,d):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,u(n))}}var he=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&J(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),J(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),J(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);J(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);J(this.left,t.reverse())}}};function J(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ge(e){let t={},n=-1,r,i,a,o,s,c,l,u=new he(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,_e(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return E(e,0,1/0,u.slice(0)),!l}function _e(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}const ve={resolve:be,tokenize:xe},ye={partial:!0,tokenize:Se};function be(e){return ge(e),e}function xe(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):l(t)?e.check(ye,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function Se(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),B(e,a,`linePrefix`)}function a(i){if(i===null||l(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Ce(e,t,n,r,i,o,s,c,d){let f=d||1/0,p=0;return m;function m(t){return t===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h):t===null||t===32||t===41||a(t)?n(t):(e.enter(r),e.enter(s),e.enter(c),e.enter(`chunkString`,{contentType:`string`}),v(t))}function h(n){return n===62?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(c),e.enter(`chunkString`,{contentType:`string`}),g(n))}function g(t){return t===62?(e.exit(`chunkString`),e.exit(c),h(t)):t===null||t===60||l(t)?n(t):(e.consume(t),t===92?_:g)}function _(t){return t===60||t===62||t===92?(e.consume(t),g):g(t)}function v(i){return!p&&(i===null||i===41||u(i))?(e.exit(`chunkString`),e.exit(c),e.exit(s),e.exit(r),t(i)):p<f&&i===40?(e.consume(i),p++,v):i===41?(e.consume(i),p--,v):i===null||i===32||i===40||a(i)?n(i):(e.consume(i),i===92?y:v)}function y(t){return t===40||t===41||t===92?(e.consume(t),v):v(t)}}function we(e,t,n,r,i,a){let o=this,s=0,c;return u;function u(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),f}function f(u){return s>999||u===null||u===91||u===93&&!c||u===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(u):u===93?(e.exit(a),e.enter(i),e.consume(u),e.exit(i),e.exit(r),t):l(u)?(e.enter(`lineEnding`),e.consume(u),e.exit(`lineEnding`),f):(e.enter(`chunkString`,{contentType:`string`}),p(u))}function p(t){return t===null||t===91||t===93||l(t)||s++>999?(e.exit(`chunkString`),f(t)):(e.consume(t),c||=!d(t),t===92?m:p)}function m(t){return t===91||t===92||t===93?(e.consume(t),s++,p):p(t)}}function Te(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),u(n))}function u(t){return t===o?(e.exit(a),c(o)):t===null?n(t):l(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),B(e,u,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),d(t))}function d(t){return t===o||t===null||l(t)?(e.exit(`chunkString`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===o||t===92?(e.consume(t),d):d(t)}}function Y(e,t){let n;return r;function r(i){return l(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):d(i)?B(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}const Ee={name:`definition`,tokenize:Oe},De={partial:!0,tokenize:ke};function Oe(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return we.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=h(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return u(t)?Y(e,f)(t):f(t)}function f(t){return Ce(e,p,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function p(t){return e.attempt(De,m,m)(t)}function m(t){return d(t)?B(e,g,`whitespace`)(t):g(t)}function g(a){return a===null||l(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function ke(e,t,n){return r;function r(t){return u(t)?Y(e,i)(t):n(t)}function i(t){return Te(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return d(t)?B(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||l(e)?t(e):n(e)}}const Ae={name:`hardBreakEscape`,tokenize:je};function je(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return l(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}const Me={name:`headingAtx`,resolve:Ne,tokenize:Pe};function Ne(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},E(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function Pe(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||u(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||l(n)?(e.exit(`atxHeading`),t(n)):d(n)?B(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),f(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function f(t){return t===null||t===35||u(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),f)}}const Fe=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Ie=[`pre`,`script`,`style`,`textarea`],Le={concrete:!0,name:`htmlFlow`,resolveTo:Be,tokenize:Ve},Re={partial:!0,tokenize:Ue},ze={partial:!0,tokenize:He};function Be(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ve(e,t,i){let a=this,o,s,c,f,p;return m;function m(e){return h(e)}function h(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),g}function g(r){return r===33?(e.consume(r),_):r===47?(e.consume(r),s=!0,b):r===63?(e.consume(r),o=3,a.interrupt?t:V):n(r)?(e.consume(r),c=String.fromCharCode(r),x):i(r)}function _(r){return r===45?(e.consume(r),o=2,v):r===91?(e.consume(r),o=5,f=0,y):n(r)?(e.consume(r),o=4,a.interrupt?t:V):i(r)}function v(n){return n===45?(e.consume(n),a.interrupt?t:V):i(n)}function y(n){return n===`CDATA[`.charCodeAt(f++)?(e.consume(n),f===6?a.interrupt?t:N:y):i(n)}function b(t){return n(t)?(e.consume(t),c=String.fromCharCode(t),x):i(t)}function x(n){if(n===null||n===47||n===62||u(n)){let r=n===47,l=c.toLowerCase();return!r&&!s&&Ie.includes(l)?(o=1,a.interrupt?t(n):N(n)):Fe.includes(c.toLowerCase())?(o=6,r?(e.consume(n),S):a.interrupt?t(n):N(n)):(o=7,a.interrupt&&!a.parser.lazy[a.now().line]?i(n):s?C(n):w(n))}return n===45||r(n)?(e.consume(n),c+=String.fromCharCode(n),x):i(n)}function S(n){return n===62?(e.consume(n),a.interrupt?t:N):i(n)}function C(t){return d(t)?(e.consume(t),C):j(t)}function w(t){return t===47?(e.consume(t),j):t===58||t===95||n(t)?(e.consume(t),T):d(t)?(e.consume(t),w):j(t)}function T(t){return t===45||t===46||t===58||t===95||r(t)?(e.consume(t),T):E(t)}function E(t){return t===61?(e.consume(t),D):d(t)?(e.consume(t),E):w(t)}function D(t){return t===null||t===60||t===61||t===62||t===96?i(t):t===34||t===39?(e.consume(t),p=t,O):d(t)?(e.consume(t),D):k(t)}function O(t){return t===p?(e.consume(t),p=null,A):t===null||l(t)?i(t):(e.consume(t),O)}function k(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||u(t)?E(t):(e.consume(t),k)}function A(e){return e===47||e===62||d(e)?w(e):i(e)}function j(t){return t===62?(e.consume(t),M):i(t)}function M(t){return t===null||l(t)?N(t):d(t)?(e.consume(t),M):i(t)}function N(t){return t===45&&o===2?(e.consume(t),L):t===60&&o===1?(e.consume(t),R):t===62&&o===4?(e.consume(t),H):t===63&&o===3?(e.consume(t),V):t===93&&o===5?(e.consume(t),B):l(t)&&(o===6||o===7)?(e.exit(`htmlFlowData`),e.check(Re,U,P)(t)):t===null||l(t)?(e.exit(`htmlFlowData`),P(t)):(e.consume(t),N)}function P(t){return e.check(ze,F,U)(t)}function F(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),I}function I(t){return t===null||l(t)?P(t):(e.enter(`htmlFlowData`),N(t))}function L(t){return t===45?(e.consume(t),V):N(t)}function R(t){return t===47?(e.consume(t),c=``,z):N(t)}function z(t){if(t===62){let n=c.toLowerCase();return Ie.includes(n)?(e.consume(t),H):N(t)}return n(t)&&c.length<8?(e.consume(t),c+=String.fromCharCode(t),z):N(t)}function B(t){return t===93?(e.consume(t),V):N(t)}function V(t){return t===62?(e.consume(t),H):t===45&&o===2?(e.consume(t),V):N(t)}function H(t){return t===null||l(t)?(e.exit(`htmlFlowData`),U(t)):(e.consume(t),H)}function U(n){return e.exit(`htmlFlow`),t(n)}}function He(e,t,n){let r=this;return i;function i(t){return l(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Ue(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(V,t,n)}}const We={name:`htmlText`,tokenize:Ge};function Ge(e,t,i){let a=this,o,s,c;return f;function f(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),p}function p(t){return t===33?(e.consume(t),m):t===47?(e.consume(t),E):t===63?(e.consume(t),w):n(t)?(e.consume(t),k):i(t)}function m(t){return t===45?(e.consume(t),h):t===91?(e.consume(t),s=0,y):n(t)?(e.consume(t),C):i(t)}function h(t){return t===45?(e.consume(t),v):i(t)}function g(t){return t===null?i(t):t===45?(e.consume(t),_):l(t)?(c=g,R(t)):(e.consume(t),g)}function _(t){return t===45?(e.consume(t),v):g(t)}function v(e){return e===62?L(e):e===45?_(e):g(e)}function y(t){return t===`CDATA[`.charCodeAt(s++)?(e.consume(t),s===6?b:y):i(t)}function b(t){return t===null?i(t):t===93?(e.consume(t),x):l(t)?(c=b,R(t)):(e.consume(t),b)}function x(t){return t===93?(e.consume(t),S):b(t)}function S(t){return t===62?L(t):t===93?(e.consume(t),S):b(t)}function C(t){return t===null||t===62?L(t):l(t)?(c=C,R(t)):(e.consume(t),C)}function w(t){return t===null?i(t):t===63?(e.consume(t),T):l(t)?(c=w,R(t)):(e.consume(t),w)}function T(e){return e===62?L(e):w(e)}function E(t){return n(t)?(e.consume(t),D):i(t)}function D(t){return t===45||r(t)?(e.consume(t),D):O(t)}function O(t){return l(t)?(c=O,R(t)):d(t)?(e.consume(t),O):L(t)}function k(t){return t===45||r(t)?(e.consume(t),k):t===47||t===62||u(t)?A(t):i(t)}function A(t){return t===47?(e.consume(t),L):t===58||t===95||n(t)?(e.consume(t),j):l(t)?(c=A,R(t)):d(t)?(e.consume(t),A):L(t)}function j(t){return t===45||t===46||t===58||t===95||r(t)?(e.consume(t),j):M(t)}function M(t){return t===61?(e.consume(t),N):l(t)?(c=M,R(t)):d(t)?(e.consume(t),M):A(t)}function N(t){return t===null||t===60||t===61||t===62||t===96?i(t):t===34||t===39?(e.consume(t),o=t,P):l(t)?(c=N,R(t)):d(t)?(e.consume(t),N):(e.consume(t),F)}function P(t){return t===o?(e.consume(t),o=void 0,I):t===null?i(t):l(t)?(c=P,R(t)):(e.consume(t),P)}function F(t){return t===null||t===34||t===39||t===60||t===61||t===96?i(t):t===47||t===62||u(t)?A(t):(e.consume(t),F)}function I(e){return e===47||e===62||u(e)?A(e):i(e)}function L(n){return n===62?(e.consume(n),e.exit(`htmlTextData`),e.exit(`htmlText`),t):i(n)}function R(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),z}function z(t){return d(t)?B(e,V,`linePrefix`,a.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):V(t)}function V(t){return e.enter(`htmlTextData`),c(t)}}const Ke={name:`labelEnd`,resolveAll:Xe,resolveTo:Ze,tokenize:Qe},qe={tokenize:$e},Je={tokenize:et},Ye={tokenize:tt};function Xe(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&E(e,0,e.length,n),e}function Ze(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=D(s,e.slice(a+1,a+r+3)),s=D(s,[[`enter`,u,t]]),s=D(s,N(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=D(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=D(s,e.slice(o+1)),s=D(s,[[`exit`,c,t]]),E(e,a,e.length,s),e}function Qe(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(h(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(qe,u,o?u:d)(t):t===91?e.attempt(Je,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Ye,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function $e(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return u(t)?Y(e,a)(t):a(t)}function a(t){return t===41?d(t):Ce(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return u(t)?Y(e,c)(t):d(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?Te(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):d(t)}function l(t){return u(t)?Y(e,d)(t):d(t)}function d(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function et(e,t,n){let r=this;return i;function i(t){return we.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(h(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function tt(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}const nt={name:`labelStartImage`,resolveAll:Ke.resolveAll,tokenize:rt};function rt(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}const it={name:`labelStartLink`,resolveAll:Ke.resolveAll,tokenize:at};function at(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}const ot={name:`lineEnding`,tokenize:st};function st(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),B(e,t,`linePrefix`)}}const X={name:`thematicBreak`,tokenize:ct};function ct(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||l(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),d(t)?B(e,s,`whitespace`)(t):s(t))}}const Z={continuation:{tokenize:ft},exit:mt,name:`list`,tokenize:dt},lt={partial:!0,tokenize:ht},ut={partial:!0,tokenize:pt};function dt(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,s=0;return c;function c(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:o(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(X,n,u)(t):u(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),l(t)}return n(t)}function l(t){return o(t)&&++s<10?(e.consume(t),l):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),u(t)):n(t)}function u(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(V,r.interrupt?n:f,e.attempt(lt,m,p))}function f(e){return r.containerState.initialBlankLine=!0,a++,m(e)}function p(t){return d(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),m):n(t)}function m(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function ft(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(V,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,B(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!d(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ut,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,B(e,e.attempt(Z,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function pt(e,t,n){let r=this;return B(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function mt(e){e.exit(this.containerState.type)}function ht(e,t,n){let r=this;return B(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!d(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}const gt={name:`setextUnderline`,resolveTo:_t,tokenize:vt};function _t(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function vt(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),d(t)?B(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||l(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}({}).hasOwnProperty;const yt={tokenize:bt};function bt(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),B(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return l(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}const xt={tokenize:Ct},St={tokenize:wt};function Ct(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,u)(i)}return u(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}v(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return E(t.events,a+1,0,t.events.slice(n)),t.events.length=s,u(e)}return s(e)}function u(a){if(r===n.length){if(!i)return p(a);if(i.currentConstruct&&i.currentConstruct.concrete)return h(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(St,d,f)(a)}function d(e){return i&&y(),v(r),p(e)}function f(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,h(e)}function p(n){return t.containerState={},e.attempt(St,m,h)(n)}function m(e){return r++,n.push([t.currentConstruct,t.containerState]),p(e)}function h(n){if(n===null){i&&y(),v(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),g(n)}function g(n){if(n===null){_(e.exit(`chunkFlow`),!0),v(0),e.consume(n);return}return l(n)?(e.consume(n),_(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),g)}function _(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(v(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;E(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function wt(e,t,n){return B(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}const Tt={tokenize:Et};function Et(e){let t=this,n=e.attempt(V,r,e.attempt(this.parser.constructs.flowInitial,i,B(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ve,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}const Dt={resolveAll:jt()},Ot=At(`string`),kt=At(`text`);function At(e){return{resolveAll:jt(e===`text`?Mt:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function jt(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function Mt(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var Nt=e({attentionMarkers:()=>Vt,contentInitial:()=>Ft,disable:()=>Ht,document:()=>Pt,flow:()=>Lt,flowInitial:()=>It,insideSpan:()=>Bt,string:()=>Rt,text:()=>zt});const Pt={42:Z,43:Z,45:Z,48:Z,49:Z,50:Z,51:Z,52:Z,53:Z,54:Z,55:Z,56:Z,57:Z,62:U},Ft={91:Ee},It={[-2]:q,[-1]:q,32:q},Lt={35:Me,42:X,45:[gt,X],60:Le,61:gt,95:X,96:K,126:K},Rt={38:G,92:ne},zt={[-5]:ot,[-4]:ot,[-3]:ot,33:nt,38:G,42:P,60:[R,We],91:it,92:[Ae,ne],93:Ke,95:P,96:de},Bt={null:[P,Dt]},Vt={null:[42,95]},Ht={null:[]};function Ut(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:w(S),check:w(C),consume:y,enter:b,exit:x,interrupt:w(C,{interrupt:!0})},u={code:null,containerState:{},defineSkip:g,events:[],now:h,parser:e,previous:null,sliceSerialize:p,sliceStream:m,write:f},d=t.tokenize.call(u,c);return t.resolveAll&&a.push(t),u;function f(e){return o=D(o,e),_(),o[o.length-1]===null?(T(t,0),u.events=N(a,u.events,u),u.events):[]}function p(e,t){return Gt(m(e),t)}function m(e){return Wt(o,e)}function h(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function g(e){i[e.line]=e.column,k()}function _(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)v(t.charCodeAt(r._bufferIndex));else v(t)}}function v(e){d=d(e)}function y(e){l(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,k()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e}function b(e,t){let n=t||{};return n.type=e,n.start=h(),u.events.push([`enter`,n,u]),s.push(n),n}function x(e){let t=s.pop();return t.end=h(),u.events.push([`exit`,t,u]),t}function S(e,t){T(e,t.from)}function C(e,t){t.restore()}function w(e,t){return n;function n(n,r,i){let a,o,s,l;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return l=O(),s=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,m,h)(n)}}function m(t){return e(s,l),r}function h(e){return l.restore(),++o<a.length?p(a[o]):i}}}function T(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&E(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function O(){let e=h(),t=u.previous,n=u.currentConstruct,i=u.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=a,k()}}function k(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Wt(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Gt(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
2
2
  `;break;case-3:o=`\r
3
- `;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function Kt(e){let t={constructs:k([Nt,...(e||{}).extensions||[]]),content:n(yt),defined:[],document:n(xt),flow:n(Tt),lazy:{},string:n(Ot),text:n(kt)};return t;function n(e){return n;function n(n){return Ut(t,e,n)}}}function qt(e){for(;!ge(e););return e}const Jt=/[\0\t\n\r]/g;function Yt(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(Jt.lastIndex=u,c=Jt.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}function Q(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?Zt(e.position):`start`in e||`end`in e?Zt(e):`line`in e||`column`in e?Xt(e):``}function Xt(e){return Qt(e&&e.line)+`:`+Qt(e&&e.column)}function Zt(e){return Xt(e&&e.start)+`-`+Xt(e&&e.end)}function Qt(e){return e&&typeof e==`number`?e:1}const $t={}.hasOwnProperty;function en(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),tn(n)(qt(Kt(n).document().write(Yt()(e,t,!0))))}function tn(e){let n={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:o(fe),autolinkProtocol:A,autolinkEmail:A,atxHeading:o(ce),blockQuote:o(ae),characterEscape:A,characterReference:A,codeFenced:o(K),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(K,s),codeText:o(oe,s),codeTextData:A,data:A,codeFlowValue:A,definition:o(se),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(q),hardBreakEscape:o(le),hardBreakTrailing:o(le),htmlFlow:o(ue,s),htmlFlowData:A,htmlText:o(ue,s),htmlTextData:A,image:o(de),label:s,link:o(fe),listItem:o(me),listItemValue:p,listOrdered:o(pe,f),listUnordered:o(pe),paragraph:o(he),reference:ee,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(ce),strong:o(J),thematicBreak:o(_e)},exit:{atxHeading:l(),atxHeadingSequence:E,autolink:l(),autolinkEmail:ie,autolinkProtocol:G,blockQuote:l(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:ne,characterReference:re,codeFenced:l(y),codeFencedFence:_,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:j,codeIndented:l(b),codeText:l(I),codeTextData:j,data:j,definition:l(),definitionDestinationString:T,definitionLabelString:x,definitionTitleString:C,emphasis:l(),hardBreakEscape:l(N),hardBreakTrailing:l(N),htmlFlow:l(P),htmlFlowData:j,htmlText:l(F),htmlTextData:j,image:l(R),label:B,labelText:z,lineEnding:M,link:l(L),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:te,resourceDestinationString:V,resourceTitleString:H,resource:U,setextHeading:l(k),setextHeadingLineSequence:O,setextHeadingText:D,strong:l(),thematicBreak:l()}};nn(n,(e||{}).mdastExtensions||[]);let r={};return i;function i(e){let t={type:`root`,children:[]},i={stack:[t],tokenStack:[],config:n,enter:c,exit:u,buffer:s,resume:d,data:r},o=[],l=-1;for(;++l<e.length;)(e[l][1].type===`listOrdered`||e[l][1].type===`listUnordered`)&&(e[l][0]===`enter`?o.push(l):l=a(e,o.pop(),l));for(l=-1;++l<e.length;){let t=n[e[l][0]];$t.call(t,e[l][1].type)&&t[e[l][1].type].call(Object.assign({sliceSerialize:e[l][2].sliceSerialize},i),e[l][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||an).call(i,void 0,e[0])}for(t.position={start:$(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l<n.transforms.length;)t=n.transforms[l](t)||t;return t}function a(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function o(e,t){return n;function n(n){c.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:`fragment`,children:[]})}function c(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:$(t.start),end:void 0}}function l(e){return t;function t(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||an).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Q({start:e.start,end:e.end})+`): it’s not open`);n.position.end=$(e.end)}function d(){return v(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=h(this.sliceSerialize(e)).toLowerCase()}function C(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function T(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function E(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function D(){this.data.setextHeadingSlurpLineEnding=!0}function O(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function k(){this.data.setextHeadingSlurpLineEnding=void 0}function A(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=ge(),n.position={start:$(e.start),end:void 0},t.push(n)),this.stack.push(n)}function j(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=$(e.end)}function M(e){let t=this.stack[this.stack.length-1];if(this.data.atHardBreak){let n=t.children[t.children.length-1];n.position.end=$(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(t.type)&&(A.call(this,e),j.call(this,e))}function N(){this.data.atHardBreak=!0}function P(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function F(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function I(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function L(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function R(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function z(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=w(t),n.identifier=h(t).toLowerCase()}function B(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function V(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function H(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function U(){this.data.inReference=void 0}function ee(){this.data.referenceType=`collapsed`}function te(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=h(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function W(e){this.data.characterReferenceType=e.type}function ne(e){let n=this.sliceSerialize(e),r=this.data.characterReferenceType,i;r?(i=S(n,r===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):i=t(n);let a=this.stack[this.stack.length-1];a.value+=i}function re(e){let t=this.stack.pop();t.position.end=$(e.end)}function G(e){j.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ie(e){j.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function ae(){return{type:`blockquote`,children:[]}}function K(){return{type:`code`,lang:null,meta:null,value:``}}function oe(){return{type:`inlineCode`,value:``}}function se(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function q(){return{type:`emphasis`,children:[]}}function ce(){return{type:`heading`,depth:0,children:[]}}function le(){return{type:`break`}}function ue(){return{type:`html`,value:``}}function de(){return{type:`image`,title:null,url:``,alt:null}}function fe(){return{type:`link`,title:null,url:``,children:[]}}function pe(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function me(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function he(){return{type:`paragraph`,children:[]}}function J(){return{type:`strong`,children:[]}}function ge(){return{type:`text`,value:``}}function _e(){return{type:`thematicBreak`}}}function $(e){return{line:e.line,column:e.column,offset:e.offset}}function nn(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?nn(e,r):rn(e,r)}}function rn(e,t){let n;for(n in t)if($t.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function an(e,t){throw e?Error("Cannot close `"+e.type+"` ("+Q({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Q({start:t.start,end:t.end})+`) is open`):Error("Cannot close document, a token (`"+t.type+"`, "+Q({start:t.start,end:t.end})+`) is still open`)}export{d as _,N as a,E as c,h as d,n as f,u as g,l as h,B as i,v as l,a as m,Q as n,M as o,r as p,V as r,k as s,en as t,g as u,f as v,p as y};
3
+ `;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function Kt(e){let t={constructs:k([Nt,...(e||{}).extensions||[]]),content:n(yt),defined:[],document:n(xt),flow:n(Tt),lazy:{},string:n(Ot),text:n(kt)};return t;function n(e){return n;function n(n){return Ut(t,e,n)}}}function qt(e){for(;!ge(e););return e}const Jt=/[\0\t\n\r]/g;function Yt(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(Jt.lastIndex=u,c=Jt.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}function Q(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?Zt(e.position):`start`in e||`end`in e?Zt(e):`line`in e||`column`in e?Xt(e):``}function Xt(e){return Qt(e&&e.line)+`:`+Qt(e&&e.column)}function Zt(e){return Xt(e&&e.start)+`-`+Xt(e&&e.end)}function Qt(e){return e&&typeof e==`number`?e:1}const $t={}.hasOwnProperty;function en(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),tn(n)(qt(Kt(n).document().write(Yt()(e,t,!0))))}function tn(e){let n={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:o(fe),autolinkProtocol:A,autolinkEmail:A,atxHeading:o(ce),blockQuote:o(ae),characterEscape:A,characterReference:A,codeFenced:o(K),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(K,s),codeText:o(oe,s),codeTextData:A,data:A,codeFlowValue:A,definition:o(se),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(q),hardBreakEscape:o(le),hardBreakTrailing:o(le),htmlFlow:o(ue,s),htmlFlowData:A,htmlText:o(ue,s),htmlTextData:A,image:o(de),label:s,link:o(fe),listItem:o(me),listItemValue:p,listOrdered:o(pe,f),listUnordered:o(pe),paragraph:o(he),reference:ee,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(ce),strong:o(J),thematicBreak:o(_e)},exit:{atxHeading:l(),atxHeadingSequence:E,autolink:l(),autolinkEmail:ie,autolinkProtocol:G,blockQuote:l(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:ne,characterReference:re,codeFenced:l(y),codeFencedFence:_,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:j,codeIndented:l(b),codeText:l(I),codeTextData:j,data:j,definition:l(),definitionDestinationString:T,definitionLabelString:x,definitionTitleString:C,emphasis:l(),hardBreakEscape:l(N),hardBreakTrailing:l(N),htmlFlow:l(P),htmlFlowData:j,htmlText:l(F),htmlTextData:j,image:l(R),label:B,labelText:z,lineEnding:M,link:l(L),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:te,resourceDestinationString:V,resourceTitleString:H,resource:U,setextHeading:l(k),setextHeadingLineSequence:O,setextHeadingText:D,strong:l(),thematicBreak:l()}};nn(n,(e||{}).mdastExtensions||[]);let r={};return i;function i(e){let t={type:`root`,children:[]},i={stack:[t],tokenStack:[],config:n,enter:c,exit:u,buffer:s,resume:d,data:r},o=[],l=-1;for(;++l<e.length;)(e[l][1].type===`listOrdered`||e[l][1].type===`listUnordered`)&&(e[l][0]===`enter`?o.push(l):l=a(e,o.pop(),l));for(l=-1;++l<e.length;){let t=n[e[l][0]];$t.call(t,e[l][1].type)&&t[e[l][1].type].call(Object.assign({sliceSerialize:e[l][2].sliceSerialize},i),e[l][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||an).call(i,void 0,e[0])}for(t.position={start:$(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l<n.transforms.length;)t=n.transforms[l](t)||t;return t}function a(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function o(e,t){return n;function n(n){c.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:`fragment`,children:[]})}function c(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:$(t.start),end:void 0}}function l(e){return t;function t(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||an).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Q({start:e.start,end:e.end})+`): it’s not open`);n.position.end=$(e.end)}function d(){return v(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=h(this.sliceSerialize(e)).toLowerCase()}function C(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function T(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function E(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function D(){this.data.setextHeadingSlurpLineEnding=!0}function O(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function k(){this.data.setextHeadingSlurpLineEnding=void 0}function A(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=ge(),n.position={start:$(e.start),end:void 0},t.push(n)),this.stack.push(n)}function j(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=$(e.end)}function M(e){let t=this.stack[this.stack.length-1];if(this.data.atHardBreak){let n=t.children[t.children.length-1];n.position.end=$(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(t.type)&&(A.call(this,e),j.call(this,e))}function N(){this.data.atHardBreak=!0}function P(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function F(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function I(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function L(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function R(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function z(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=w(t),n.identifier=h(t).toLowerCase()}function B(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function V(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function H(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function U(){this.data.inReference=void 0}function ee(){this.data.referenceType=`collapsed`}function te(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=h(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function W(e){this.data.characterReferenceType=e.type}function ne(e){let n=this.sliceSerialize(e),r=this.data.characterReferenceType,i;r?(i=S(n,r===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):i=t(n);let a=this.stack[this.stack.length-1];a.value+=i}function re(e){let t=this.stack.pop();t.position.end=$(e.end)}function G(e){j.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ie(e){j.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function ae(){return{type:`blockquote`,children:[]}}function K(){return{type:`code`,lang:null,meta:null,value:``}}function oe(){return{type:`inlineCode`,value:``}}function se(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function q(){return{type:`emphasis`,children:[]}}function ce(){return{type:`heading`,depth:0,children:[]}}function le(){return{type:`break`}}function ue(){return{type:`html`,value:``}}function de(){return{type:`image`,title:null,url:``,alt:null}}function fe(){return{type:`link`,title:null,url:``,children:[]}}function pe(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function me(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function he(){return{type:`paragraph`,children:[]}}function J(){return{type:`strong`,children:[]}}function ge(){return{type:`text`,value:``}}function _e(){return{type:`thematicBreak`}}}function $(e){return{line:e.line,column:e.column,offset:e.offset}}function nn(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?nn(e,r):rn(e,r)}}function rn(e,t){let n;for(n in t)if($t.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function an(e,t){throw e?Error("Cannot close `"+e.type+"` ("+Q({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Q({start:t.start,end:t.end})+`) is open`):Error("Cannot close document, a token (`"+t.type+"`, "+Q({start:t.start,end:t.end})+`) is still open`)}export{d as _,N as a,E as c,h as d,n as f,u as g,l as h,B as i,v as l,a as m,Q as n,M as o,r as p,V as r,k as s,en as t,g as u,f as v,p as y};
@@ -1,4 +1,4 @@
1
- import { Br as ElementId, Ji as _stage, On as ModelExpression, Pr as AnyParsed, S as ComputedView, Yi as _type, _ as ComputedLikeC4ModelData, at as ComputedNode, b as ParsedLikeC4ModelData, ci as ViewId, cn as AnyIncludePredicate, fn as BaseViewProperties, hn as ViewAutoLayout, ia as NonEmptyArray, ii as Unknown, jr as Any, pi as toComputed, rt as ComputedEdge, sn as AnyExcludePredicate, w as ParsedView } from "../_chunks/index.mjs";
1
+ import { Ar as Any, Dn as ModelExpression, Ji as _type, Nr as AnyParsed, S as ComputedView, _ as ComputedLikeC4ModelData, at as ComputedNode, b as ParsedLikeC4ModelData, cn as AnyIncludePredicate, fi as toComputed, fn as BaseViewProperties, hn as ViewAutoLayout, qi as _stage, ra as NonEmptyArray, ri as Unknown, rt as ComputedEdge, si as ViewId, sn as AnyExcludePredicate, w as ParsedView, zr as ElementId } from "../_chunks/index.mjs";
2
2
  import "../_chunks/index2.mjs";
3
3
  import "../_chunks/index3.mjs";
4
4
  import "../_chunks/libs/mnemonist.mjs";
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as LayoutedViewDriftReason, $i as IterableContainer, $n as FqnRef, $r as SpecAux, $t as ElementViewPredicate, A as isComputedView, Ai as RelationKind, An as ModelRelationExpr, Ar as ThemeColors, At as ModelRelation, B as DeploymentViewIncludePredicate, Bi as isGroupElementKind, Bn as OperatorPredicate, Bt as DynamicStepsParallel, C as LayoutedView, Ci as Icon, Cn as ViewWithNotation, Cr as isCustomColor, Ct as DeploymentRelation, D as ViewRule, Di as NoneIcon, Dn as isViewRuleGlobalStyle, Dr as ElementShapes, Dt as AbstractRelationship, E as ViewOnStage, Ei as NodeId, En as isViewRuleGlobalPredicateRef, Et as isDeploymentNode, F as isExtendsElementView, Fi as Tag, Fn as AndOperator, Fr as Aux, Ft as GlobalPredicates, G as DiagramEdge, Gi as ExtractOnStage, Gn as WhereOperator, Gr as LooseLiteral, Gt as DynamicViewStep, H as DeploymentViewRule, Hi as scalar_d_exports, Hn as Participant, Ht as DynamicViewDisplayVariant, I as isScopedElementView, Ii as ViewId, In as EqualOperator, It as GlobalStyleID, J as LayoutedDeploymentView, Ji as _stage, Jn as isNotOperator, Jt as isDynamicStep, K as DiagramNode, Ki as ModelStage, Kn as isAndOperator, Kt as ParsedDynamicView, L as isViewRulePredicate, Li as extractStep, Ln as Filterable, Lt as GlobalStyles, M as isDiagramView, Mi as StepEdgeId, Mn as FqnExpr, Mr as AnyComputed, Mt as ensureSizes, N as isDynamicView, Ni as StepEdgeIdLiteral, Nn as PredicateSelector, Nr as AnyLayouted, Nt as GlobalDynamicPredicates, O as ViewRulePredicate, Oi as ProjectId, On as ModelExpression, Or as IconPositions, Ot as Element, P as isElementView, Pi as StepEdgeKind, Pn as RelationExpr, Pr as AnyParsed, Pt as GlobalPredicateId, Q as DiagramNodeDriftReason, Qi as ExclusiveUnion, Qn as whereOperatorAsPredicate, Qt as ElementViewIncludePredicate, R as isViewRuleStyle, Ri as flattenMarkdownOrString, Rn as KindEqual, Rt as ModelGlobals, S as ComputedView, Si as GroupElementKind, Sn as ViewWithHash, Sr as ThemeColorValues, St as DeploymentNode, T as ProcessedView, Ti as MarkdownOrString, Tn as isViewRuleAutoLayout, Tr as BorderStyles, Tt as isDeployedInstance, U as DeploymentViewRuleStyle, Ui as splitGlobalFqn, Un as ParticipantOperator, Ut as DynamicViewIncludeRule, V as DeploymentViewPredicate, Vi as isStepEdgeId, Vn as OrOperator, Vt as DynamicStepsSeries, W as ParsedDeploymentView, Wi as stepEdgeId, Wn as TagEqual, Wt as DynamicViewRule, X as LayoutedElementView, Xi as isOnStage, Xn as isParticipantOperator, Xt as isDynamicStepsSeries, Y as LayoutedDynamicView, Yi as _type, Yn as isOrOperator, Yt as isDynamicStepsParallel, Z as DiagramEdgeDriftReason, Zi as Coalesce, Zn as isTagEqual, Zt as ElementViewExcludePredicate, _ as ComputedLikeC4ModelData, _i as DeploymentKind, _n as ViewRuleAutoLayout, _r as ShapeSize, _t as TagSpecification, a as isNonEmptyArray, aa as NonEmptyReadonlyArray, ai as UnknownComputed, an as isViewRuleGroup, ar as ElementColorValues, at as ComputedNode, b as ParsedLikeC4ModelData, bi as Fqn, bn as ViewRuleRank, br as TextSize, bt as DeploymentElement, c as RichTextEmpty, ca as exact, cn as AnyIncludePredicate, cr as IconPosition, ct as LikeC4Project, d as AuxFromDump, di as preferSummary, dn as BaseParsedViewProperties, dr as LikeC4StylesConfig, dt as LikeC4ProjectStylesConfig, ea as IteratorLike, en as ElementViewRule, er as BorderStyle, et as ViewManualLayoutSnapshot, f as LikeC4ModelDump, fn as BaseViewProperties, fr as LikeC4Theme, ft as LikeC4ProjectStylesCustomStylesheets, g as AuxFromLikeC4ModelData, gi as DeploymentFqn, gn as ViewManualLayout, gr as RelationshipLineType, gt as Specification, h as SpecificationDump, hi as BuiltInIcon, hn as ViewAutoLayout, hr as RelationshipColorValues, ht as RelationshipSpecification, i as isAnyOf, ia as NonEmptyArray, ii as Unknown, in as ParsedElementView, ir as CustomColorDefinitions, it as ComputedElementView, j as isDeploymentView, ji as RelationshipKind, jn as Expression, jr as Any, jt as Relationship, k as ViewWithType, ki as RelationId, kn as ModelFqnExpr, kr as Sizes, kt as ElementStyle, l as RichTextOrEmpty, li as _aux_d_exports, ln as AnyViewRuleStyle, lr as IconSize, lt as LikeC4ProjectManualLayoutsConfig, m as SpecTypesFromDump, mi as AnyFqn, mn as RankValue, mr as RelationshipArrowTypes, mt as ElementSpecification, n as GuardedBy, na as Link, nn as ElementViewRuleRank, nr as ColorLiteral, nt as ComputedDynamicView, o as isString, oa as Predicate, oi as UnknownLayouted, on as isViewRuleRank, or as ElementShape, ot as ComputedNodeStyle, p as ProjectDump, pn as NodeNotation, pr as RelationshipArrowType, pt as LikeC4ProjectTheme, q as LayoutType, qi as _layout, qn as isKindEqual, qt as getParallelStepsPrefix, r as hasProp, ra as NTuple, rn as ElementViewRuleStyle, rr as CustomColor, rt as ComputedEdge, s as RichText, sa as ReorderedArray, si as UnknownParsed, sn as AnyExcludePredicate, sr as HexColor, st as ComputedRankConstraint, t as Guard, ta as KeysOf, tn as ElementViewRuleGroup, tr as Color, tt as ComputedDeploymentView, u as ViewChange, ui as preferDescription, un as AutoLayoutDirection, ur as LikeC4StyleDefaults, ut as LikeC4ProjectStyleDefaults, v as LayoutedLikeC4ModelData, vi as EdgeId, vn as ViewRuleGlobalPredicateRef, vr as Size, vt as isTagColorSpecified, w as ParsedView, wi as IconUrl, wn as isAutoLayoutDirection, wr as isThemeColor, wt as DeploymentRelationship, x as AnyView, xi as GlobalFqn, xn as ViewType, xr as ThemeColor, xt as DeploymentElementRef, y as LikeC4ModelData, yi as ElementKind, yn as ViewRuleGlobalStyle, yr as SpacingSize, yt as DeployedInstance, z as DeploymentViewExcludePredicate, zi as isGlobalFqn, zn as NotOperator, zt as DynamicStep } from "./_chunks/index.mjs";
1
+ import { $ as LayoutedViewDriftReason, $i as IteratorLike, $n as BorderStyle, $t as ElementViewPredicate, A as isComputedView, Ai as RelationshipKind, An as Expression, Ar as Any, At as ModelRelation, B as DeploymentViewIncludePredicate, Bi as isStepEdgeId, Bn as OrOperator, Bt as DynamicStepsParallel, C as LayoutedView, Ci as IconUrl, Cn as isAutoLayoutDirection, Cr as isThemeColor, Ct as DeploymentRelation, D as ViewRule, Di as ProjectId, Dn as ModelExpression, Dr as IconPositions, Dt as AbstractRelationship, E as ViewOnStage, Ei as NoneIcon, En as isViewRuleGlobalStyle, Er as ElementShapes, Et as isDeploymentNode, F as isExtendsElementView, Fi as ViewId, Fn as EqualOperator, Ft as GlobalPredicates, G as DiagramEdge, Gi as ModelStage, Gn as isAndOperator, Gt as DynamicViewStep, H as DeploymentViewRule, Hi as splitGlobalFqn, Hn as ParticipantOperator, Ht as DynamicViewDisplayVariant, I as isScopedElementView, Ii as extractStep, In as Filterable, It as GlobalStyleID, J as LayoutedDeploymentView, Ji as _type, Jn as isOrOperator, Jt as isDynamicStep, K as DiagramNode, Ki as _layout, Kn as isKindEqual, Kt as ParsedDynamicView, L as isViewRulePredicate, Li as flattenMarkdownOrString, Ln as KindEqual, Lt as GlobalStyles, M as isDiagramView, Mi as StepEdgeIdLiteral, Mn as PredicateSelector, Mr as AnyLayouted, Mt as ensureSizes, N as isDynamicView, Ni as StepEdgeKind, Nn as RelationExpr, Nr as AnyParsed, Nt as GlobalDynamicPredicates, O as ViewRulePredicate, Oi as RelationId, On as ModelFqnExpr, Or as Sizes, Ot as Element, P as isElementView, Pi as Tag, Pn as AndOperator, Pr as Aux, Pt as GlobalPredicateId, Q as DiagramNodeDriftReason, Qi as IterableContainer, Qn as FqnRef, Qr as SpecAux, Qt as ElementViewIncludePredicate, R as isViewRuleStyle, Ri as isGlobalFqn, Rn as NotOperator, Rt as ModelGlobals, S as ComputedView, Si as Icon, Sn as ViewWithNotation, Sr as isCustomColor, St as DeploymentNode, T as ProcessedView, Ti as NodeId, Tn as isViewRuleGlobalPredicateRef, Tt as isDeployedInstance, U as DeploymentViewRuleStyle, Ui as stepEdgeId, Un as TagEqual, Ut as DynamicViewIncludeRule, V as DeploymentViewPredicate, Vi as scalar_d_exports, Vn as Participant, Vt as DynamicStepsSeries, W as ParsedDeploymentView, Wi as ExtractOnStage, Wn as WhereOperator, Wr as LooseLiteral, Wt as DynamicViewRule, X as LayoutedElementView, Xi as Coalesce, Xn as isTagEqual, Xt as isDynamicStepsSeries, Y as LayoutedDynamicView, Yi as isOnStage, Yn as isParticipantOperator, Yt as isDynamicStepsParallel, Z as DiagramEdgeDriftReason, Zi as ExclusiveUnion, Zn as whereOperatorAsPredicate, Zt as ElementViewExcludePredicate, _ as ComputedLikeC4ModelData, _i as EdgeId, _n as ViewRuleGlobalPredicateRef, _r as Size, _t as TagSpecification, a as isNonEmptyArray, aa as Predicate, ai as UnknownLayouted, an as isViewRuleGroup, ar as ElementShape, at as ComputedNode, b as ParsedLikeC4ModelData, bi as GlobalFqn, bn as ViewType, br as ThemeColor, bt as DeploymentElement, c as RichTextEmpty, ci as _aux_d_exports, cn as AnyIncludePredicate, cr as IconSize, ct as LikeC4Project, d as AuxFromDump, dn as BaseParsedViewProperties, dr as LikeC4Theme, dt as LikeC4ProjectStylesConfig, ea as KeysOf, en as ElementViewRule, er as Color, et as ViewManualLayoutSnapshot, f as LikeC4ModelDump, fn as BaseViewProperties, fr as RelationshipArrowType, ft as LikeC4ProjectStylesCustomStylesheets, g as AuxFromLikeC4ModelData, gi as DeploymentKind, gn as ViewRuleAutoLayout, gr as ShapeSize, gt as Specification, h as SpecificationDump, hi as DeploymentFqn, hn as ViewAutoLayout, hr as RelationshipLineType, ht as RelationshipSpecification, i as isAnyOf, ia as NonEmptyReadonlyArray, ii as UnknownComputed, in as ParsedElementView, ir as ElementColorValues, it as ComputedElementView, j as isDeploymentView, ji as StepEdgeId, jn as FqnExpr, jr as AnyComputed, jt as Relationship, k as ViewWithType, ki as RelationKind, kn as ModelRelationExpr, kr as ThemeColors, kt as ElementStyle, l as RichTextOrEmpty, li as preferDescription, ln as AnyViewRuleStyle, lr as LikeC4StyleDefaults, lt as LikeC4ProjectManualLayoutsConfig, m as SpecTypesFromDump, mi as BuiltInIcon, mn as RankValue, mr as RelationshipColorValues, mt as ElementSpecification, n as GuardedBy, na as NTuple, nn as ElementViewRuleRank, nr as CustomColor, nt as ComputedDynamicView, o as isString, oa as ReorderedArray, oi as UnknownParsed, on as isViewRuleRank, or as HexColor, ot as ComputedNodeStyle, p as ProjectDump, pi as AnyFqn, pn as NodeNotation, pr as RelationshipArrowTypes, pt as LikeC4ProjectTheme, q as LayoutType, qi as _stage, qn as isNotOperator, qt as getParallelStepsPrefix, r as hasProp, ra as NonEmptyArray, ri as Unknown, rn as ElementViewRuleStyle, rr as CustomColorDefinitions, rt as ComputedEdge, s as RichText, sa as exact, sn as AnyExcludePredicate, sr as IconPosition, st as ComputedRankConstraint, t as Guard, ta as Link, tn as ElementViewRuleGroup, tr as ColorLiteral, tt as ComputedDeploymentView, u as ViewChange, ui as preferSummary, un as AutoLayoutDirection, ur as LikeC4StylesConfig, ut as LikeC4ProjectStyleDefaults, v as LayoutedLikeC4ModelData, vi as ElementKind, vn as ViewRuleGlobalStyle, vr as SpacingSize, vt as isTagColorSpecified, w as ParsedView, wi as MarkdownOrString, wn as isViewRuleAutoLayout, wr as BorderStyles, wt as DeploymentRelationship, x as AnyView, xi as GroupElementKind, xn as ViewWithHash, xr as ThemeColorValues, xt as DeploymentElementRef, y as LikeC4ModelData, yi as Fqn, yn as ViewRuleRank, yr as TextSize, yt as DeployedInstance, z as DeploymentViewExcludePredicate, zi as isGroupElementKind, zn as OperatorPredicate, zt as DynamicStep } from "./_chunks/index.mjs";
2
2
  import { a as RectBox, c as XYPoint, i as BBox, l as convertPoint, n as VectorValue, o as Dimensions, r as vector, s as Point, t as Vector, u as isPoint } from "./_chunks/index2.mjs";
3
3
  import { i as LikeC4Styles } from "./_chunks/index3.mjs";
4
4
  import { a as DefaultWeakMap, i as LinkedList, n as MultiMap, o as DefaultMap, r as Queue } from "./_chunks/libs/mnemonist.mjs";
@@ -25,4 +25,4 @@ declare function applyManualLayout<V extends LayoutedView>(autoLayouted: V, snap
25
25
  */
26
26
  declare function calcDriftsFromSnapshot<V extends LayoutedView>(autoLayouted: V, snapshot: ViewManualLayoutSnapshot): V;
27
27
  //#endregion
28
- export { AbstractRelationship, AndOperator, Any, Any as AnyAux, AnyComputed, AnyExcludePredicate, AnyFqn, AnyIncludePredicate, AnyLayouted, AnyParsed, AnyView, AnyViewRuleStyle, AutoLayoutDirection, Aux, AuxFromDump, AuxFromLikeC4ModelData, BBox, BaseParsedViewProperties, BaseViewProperties, BorderStyle, BorderStyles, BuiltInIcon, Coalesce, Color, ColorLiteral, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedNodeStyle, type ComputedProjectsView, ComputedRankConstraint, ComputedView, CustomColor, CustomColorDefinitions, DefaultMap, DefaultWeakMap, DeployedInstance, DeploymentElement, DeploymentElementRef, DeploymentFqn, DeploymentKind, DeploymentNode, DeploymentRelation, DeploymentRelationship, DeploymentViewExcludePredicate, DeploymentViewIncludePredicate, DeploymentViewPredicate, DeploymentViewRule, DeploymentViewRuleStyle, DiagramEdge, DiagramEdgeDriftReason, DiagramNode, DiagramNodeDriftReason, LayoutedView as DiagramView, LayoutedView, Dimensions, DynamicStep, DynamicStepsParallel, DynamicStepsSeries, DynamicViewDisplayVariant, DynamicViewIncludeRule, DynamicViewRule, DynamicViewStep, EdgeId, Element, ElementColorValues, ElementKind, ElementShape, ElementShapes, ElementSpecification, ElementStyle, ElementViewExcludePredicate, ElementViewIncludePredicate, ElementViewPredicate, ElementViewRule, ElementViewRuleGroup, ElementViewRuleRank, ElementViewRuleStyle, EqualOperator, ExclusiveUnion, Expression, ExtractOnStage, Filterable, Fqn, FqnExpr, FqnRef, GlobalDynamicPredicates, GlobalFqn, GlobalPredicateId, GlobalPredicates, GlobalStyleID, GlobalStyles, GroupElementKind, Guard, GuardedBy, HexColor, Icon, IconPosition, IconPositions, IconSize, IconUrl, IterableContainer, IteratorLike, KeysOf, KindEqual, LayoutType, LayoutedDeploymentView, LayoutedDynamicView, LayoutedElementView, LayoutedLikeC4ModelData, type LayoutedProjectsView, LayoutedViewDriftReason, LikeC4ModelData, LikeC4ModelDump, LikeC4Project, LikeC4ProjectManualLayoutsConfig, LikeC4ProjectStyleDefaults, LikeC4ProjectStylesConfig, LikeC4ProjectStylesCustomStylesheets, LikeC4ProjectTheme, type LikeC4StyleDefaults, LikeC4Styles, type LikeC4StylesConfig, type LikeC4Theme, ParsedView as LikeC4View, ParsedView, Link, LinkedList, LooseLiteral, MarkdownOrString, ModelExpression, ModelFqnExpr, ModelGlobals, ModelRelation, ModelRelationExpr, ModelStage, MultiMap, NTuple, NodeId, NodeNotation, NonEmptyArray, NonEmptyReadonlyArray, NoneIcon, NotOperator, OperatorPredicate, OrOperator, ParsedDeploymentView, ParsedDynamicView, ParsedElementView, ParsedLikeC4ModelData, Participant, ParticipantOperator, Point, Predicate, PredicateSelector, ProcessedView, ProjectDump, ProjectId, Queue, RankValue, RectBox, RelationExpr, RelationId, RelationKind, Relationship, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipKind, RelationshipLineType, RelationshipSpecification, ReorderedArray, RichText, RichTextEmpty, RichTextOrEmpty, ShapeSize, Size, Sizes, SpacingSize, SpecAux, SpecTypesFromDump, Specification, SpecificationDump, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, TagEqual, TagSpecification, TextSize, ThemeColor, type ThemeColorValues, ThemeColors, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, Vector, VectorValue, ViewAutoLayout, ViewChange, ViewId, ViewManualLayout, ViewManualLayoutSnapshot, ViewOnStage, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRulePredicate, ViewRuleRank, ViewType, ViewWithHash, ViewWithNotation, ViewWithType, WhereOperator, XYPoint, _layout, _stage, _type, ancestorsFqn, applyManualLayout, _aux_d_exports as aux, calcDriftsFromSnapshot, convertPoint, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, hasProp, invariant, isAncestor, isAndOperator, isAnyOf, isAutoLayoutDirection, isComputedView, isCustomColor, isDeployedInstance, isDeploymentNode, isDeploymentView, isDescendantOf, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isIterable, isKindEqual, isNonEmptyArray, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isPoint, isSameHierarchy, isScopedElementView, isStepEdgeId, isString, isTagColorSpecified, isTagEqual, isThemeColor, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, memoizeProp, nameFromFqn, nonNullable, nonexhaustive, parentFqn, preferDescription, preferSummary, scalar_d_exports as scalar, sortNaturalByFqn, sortParentsFirst, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
28
+ export { AbstractRelationship, AndOperator, Any, Any as AnyAux, AnyComputed, AnyExcludePredicate, AnyFqn, AnyIncludePredicate, AnyLayouted, AnyParsed, AnyView, AnyViewRuleStyle, AutoLayoutDirection, Aux, AuxFromDump, AuxFromLikeC4ModelData, BBox, BaseParsedViewProperties, BaseViewProperties, BorderStyle, BorderStyles, BuiltInIcon, Coalesce, Color, ColorLiteral, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedNodeStyle, type ComputedProjectsView, ComputedRankConstraint, ComputedView, CustomColor, CustomColorDefinitions, DefaultMap, DefaultWeakMap, DeployedInstance, DeploymentElement, DeploymentElementRef, DeploymentFqn, DeploymentKind, DeploymentNode, DeploymentRelation, DeploymentRelationship, DeploymentViewExcludePredicate, DeploymentViewIncludePredicate, DeploymentViewPredicate, DeploymentViewRule, DeploymentViewRuleStyle, DiagramEdge, DiagramEdgeDriftReason, DiagramNode, DiagramNodeDriftReason, LayoutedView as DiagramView, LayoutedView, Dimensions, DynamicStep, DynamicStepsParallel, DynamicStepsSeries, DynamicViewDisplayVariant, DynamicViewIncludeRule, DynamicViewRule, DynamicViewStep, EdgeId, Element, ElementColorValues, ElementKind, ElementShape, ElementShapes, ElementSpecification, ElementStyle, ElementViewExcludePredicate, ElementViewIncludePredicate, ElementViewPredicate, ElementViewRule, ElementViewRuleGroup, ElementViewRuleRank, ElementViewRuleStyle, EqualOperator, ExclusiveUnion, Expression, ExtractOnStage, Filterable, Fqn, FqnExpr, FqnRef, GlobalDynamicPredicates, GlobalFqn, GlobalPredicateId, GlobalPredicates, GlobalStyleID, GlobalStyles, GroupElementKind, Guard, GuardedBy, HexColor, Icon, IconPosition, IconPositions, IconSize, IconUrl, IterableContainer, IteratorLike, KeysOf, KindEqual, LayoutType, LayoutedDeploymentView, LayoutedDynamicView, LayoutedElementView, LayoutedLikeC4ModelData, type LayoutedProjectsView, LayoutedViewDriftReason, LikeC4ModelData, LikeC4ModelDump, LikeC4Project, LikeC4ProjectManualLayoutsConfig, LikeC4ProjectStyleDefaults, LikeC4ProjectStylesConfig, LikeC4ProjectStylesCustomStylesheets, LikeC4ProjectTheme, type LikeC4StyleDefaults, LikeC4Styles, type LikeC4StylesConfig, type LikeC4Theme, ParsedView as LikeC4View, ParsedView, Link, LinkedList, LooseLiteral, MarkdownOrString, ModelExpression, ModelFqnExpr, ModelGlobals, ModelRelation, ModelRelationExpr, ModelStage, MultiMap, NTuple, NodeId, NodeNotation, NonEmptyArray, NonEmptyReadonlyArray, NoneIcon, NotOperator, OperatorPredicate, OrOperator, ParsedDeploymentView, ParsedDynamicView, ParsedElementView, ParsedLikeC4ModelData, Participant, ParticipantOperator, Point, Predicate, PredicateSelector, ProcessedView, ProjectDump, ProjectId, Queue, RankValue, RectBox, RelationExpr, RelationId, RelationKind, Relationship, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipKind, RelationshipLineType, RelationshipSpecification, ReorderedArray, RichText, RichTextEmpty, RichTextOrEmpty, ShapeSize, Size, Sizes, SpacingSize, SpecAux, SpecTypesFromDump, Specification, SpecificationDump, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, TagEqual, TagSpecification, TextSize, ThemeColor, type ThemeColorValues, ThemeColors, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, Vector, VectorValue, ViewAutoLayout, ViewChange, ViewId, ViewManualLayoutSnapshot, ViewOnStage, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRulePredicate, ViewRuleRank, ViewType, ViewWithHash, ViewWithNotation, ViewWithType, WhereOperator, XYPoint, _layout, _stage, _type, ancestorsFqn, applyManualLayout, _aux_d_exports as aux, calcDriftsFromSnapshot, convertPoint, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, hasProp, invariant, isAncestor, isAndOperator, isAnyOf, isAutoLayoutDirection, isComputedView, isCustomColor, isDeployedInstance, isDeploymentNode, isDeploymentView, isDescendantOf, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isIterable, isKindEqual, isNonEmptyArray, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isPoint, isSameHierarchy, isScopedElementView, isStepEdgeId, isString, isTagColorSpecified, isTagEqual, isThemeColor, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, memoizeProp, nameFromFqn, nonNullable, nonexhaustive, parentFqn, preferDescription, preferSummary, scalar_d_exports as scalar, sortNaturalByFqn, sortParentsFirst, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
@@ -1,4 +1,4 @@
1
- import { Ar as ThemeColors, Cr as isCustomColor, Dr as ElementShapes, Er as DefaultTagColors, Or as IconPositions, Sr as ThemeColorValues, Tr as BorderStyles, _r as ShapeSize, ar as ElementColorValues, br as TextSize, cr as IconPosition, dr as LikeC4StylesConfig, er as BorderStyle, fr as LikeC4Theme, gr as RelationshipLineType, hr as RelationshipColorValues, ir as CustomColorDefinitions, kr as Sizes, lr as IconSize, mr as RelationshipArrowTypes, nr as ColorLiteral, or as ElementShape, pr as RelationshipArrowType, rr as CustomColor, sr as HexColor, tr as Color, ur as LikeC4StyleDefaults, vr as Size, wr as isThemeColor, xr as ThemeColor, yr as SpacingSize } from "../_chunks/index.mjs";
1
+ import { $n as BorderStyle, Cr as isThemeColor, Dr as IconPositions, Er as ElementShapes, Or as Sizes, Sr as isCustomColor, Tr as DefaultTagColors, _r as Size, ar as ElementShape, br as ThemeColor, cr as IconSize, dr as LikeC4Theme, er as Color, fr as RelationshipArrowType, gr as ShapeSize, hr as RelationshipLineType, ir as ElementColorValues, kr as ThemeColors, lr as LikeC4StyleDefaults, mr as RelationshipColorValues, nr as CustomColor, or as HexColor, pr as RelationshipArrowTypes, rr as CustomColorDefinitions, sr as IconPosition, tr as ColorLiteral, ur as LikeC4StylesConfig, vr as SpacingSize, wr as BorderStyles, xr as ThemeColorValues, yr as TextSize } from "../_chunks/index.mjs";
2
2
  import "../_chunks/index2.mjs";
3
3
  import { a as assignTagColors, i as LikeC4Styles, n as styleDefaults, r as computeColorValues, t as defaultTheme } from "../_chunks/index3.mjs";
4
4
  export { BorderStyle, BorderStyles, Color, ColorLiteral, CustomColor, CustomColorDefinitions, DefaultTagColors, ElementColorValues, ElementShape, ElementShapes, HexColor, IconPosition, IconPositions, IconSize, LikeC4StyleDefaults, LikeC4Styles, LikeC4StylesConfig, LikeC4Theme, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipLineType, ShapeSize, Size, Sizes, SpacingSize, TextSize, ThemeColor, ThemeColorValues, ThemeColors, assignTagColors, computeColorValues, defaultTheme, isCustomColor, isThemeColor, styleDefaults };
@@ -1,3 +1,3 @@
1
- import { $ as LayoutedViewDriftReason, $i as IterableContainer, $n as FqnRef, $r as SpecAux, $t as ElementViewPredicate, A as isComputedView, Ai as RelationKind, An as ModelRelationExpr, Ar as ThemeColors, At as ModelRelation, B as DeploymentViewIncludePredicate, Bi as isGroupElementKind, Bn as OperatorPredicate, Bt as DynamicStepsParallel, C as LayoutedView, Ci as Icon, Cn as ViewWithNotation, Cr as isCustomColor, Ct as DeploymentRelation, D as ViewRule, Di as NoneIcon, Dn as isViewRuleGlobalStyle, Dr as ElementShapes, Dt as AbstractRelationship, E as ViewOnStage, Ei as NodeId, En as isViewRuleGlobalPredicateRef, Et as isDeploymentNode, F as isExtendsElementView, Fi as Tag, Fn as AndOperator, Fr as Aux, Ft as GlobalPredicates, G as DiagramEdge, Gi as ExtractOnStage, Gn as WhereOperator, Gr as LooseLiteral, Gt as DynamicViewStep, H as DeploymentViewRule, Hi as scalar_d_exports, Hn as Participant, Ht as DynamicViewDisplayVariant, I as isScopedElementView, Ii as ViewId, In as EqualOperator, It as GlobalStyleID, J as LayoutedDeploymentView, Ji as _stage, Jn as isNotOperator, Jt as isDynamicStep, K as DiagramNode, Ki as ModelStage, Kn as isAndOperator, Kt as ParsedDynamicView, L as isViewRulePredicate, Li as extractStep, Ln as Filterable, Lt as GlobalStyles, M as isDiagramView, Mi as StepEdgeId, Mn as FqnExpr, Mr as AnyComputed, Mt as ensureSizes, N as isDynamicView, Ni as StepEdgeIdLiteral, Nn as PredicateSelector, Nr as AnyLayouted, Nt as GlobalDynamicPredicates, O as ViewRulePredicate, Oi as ProjectId, On as ModelExpression, Or as IconPositions, Ot as Element, P as isElementView, Pi as StepEdgeKind, Pn as RelationExpr, Pr as AnyParsed, Pt as GlobalPredicateId, Q as DiagramNodeDriftReason, Qi as ExclusiveUnion, Qn as whereOperatorAsPredicate, Qt as ElementViewIncludePredicate, R as isViewRuleStyle, Ri as flattenMarkdownOrString, Rn as KindEqual, Rt as ModelGlobals, S as ComputedView, Si as GroupElementKind, Sn as ViewWithHash, Sr as ThemeColorValues, St as DeploymentNode, T as ProcessedView, Ti as MarkdownOrString, Tn as isViewRuleAutoLayout, Tr as BorderStyles, Tt as isDeployedInstance, U as DeploymentViewRuleStyle, Ui as splitGlobalFqn, Un as ParticipantOperator, Ut as DynamicViewIncludeRule, V as DeploymentViewPredicate, Vi as isStepEdgeId, Vn as OrOperator, Vt as DynamicStepsSeries, W as ParsedDeploymentView, Wi as stepEdgeId, Wn as TagEqual, Wt as DynamicViewRule, X as LayoutedElementView, Xi as isOnStage, Xn as isParticipantOperator, Xt as isDynamicStepsSeries, Y as LayoutedDynamicView, Yi as _type, Yn as isOrOperator, Yt as isDynamicStepsParallel, Z as DiagramEdgeDriftReason, Zi as Coalesce, Zn as isTagEqual, Zt as ElementViewExcludePredicate, _ as ComputedLikeC4ModelData, _i as DeploymentKind, _n as ViewRuleAutoLayout, _r as ShapeSize, _t as TagSpecification, a as isNonEmptyArray, aa as NonEmptyReadonlyArray, ai as UnknownComputed, an as isViewRuleGroup, ar as ElementColorValues, at as ComputedNode, b as ParsedLikeC4ModelData, bi as Fqn, bn as ViewRuleRank, br as TextSize, bt as DeploymentElement, c as RichTextEmpty, ca as exact, cn as AnyIncludePredicate, cr as IconPosition, ct as LikeC4Project, d as AuxFromDump, di as preferSummary, dn as BaseParsedViewProperties, dr as LikeC4StylesConfig, dt as LikeC4ProjectStylesConfig, ea as IteratorLike, en as ElementViewRule, er as BorderStyle, et as ViewManualLayoutSnapshot, f as LikeC4ModelDump, fn as BaseViewProperties, fr as LikeC4Theme, ft as LikeC4ProjectStylesCustomStylesheets, g as AuxFromLikeC4ModelData, gi as DeploymentFqn, gn as ViewManualLayout, gr as RelationshipLineType, gt as Specification, h as SpecificationDump, hi as BuiltInIcon, hn as ViewAutoLayout, hr as RelationshipColorValues, ht as RelationshipSpecification, i as isAnyOf, ia as NonEmptyArray, ii as Unknown, in as ParsedElementView, ir as CustomColorDefinitions, it as ComputedElementView, j as isDeploymentView, ji as RelationshipKind, jn as Expression, jr as Any, jt as Relationship, k as ViewWithType, ki as RelationId, kn as ModelFqnExpr, kr as Sizes, kt as ElementStyle, l as RichTextOrEmpty, li as _aux_d_exports, ln as AnyViewRuleStyle, lr as IconSize, lt as LikeC4ProjectManualLayoutsConfig, m as SpecTypesFromDump, mi as AnyFqn, mn as RankValue, mr as RelationshipArrowTypes, mt as ElementSpecification, n as GuardedBy, na as Link, nn as ElementViewRuleRank, nr as ColorLiteral, nt as ComputedDynamicView, o as isString, oa as Predicate, oi as UnknownLayouted, on as isViewRuleRank, or as ElementShape, ot as ComputedNodeStyle, p as ProjectDump, pn as NodeNotation, pr as RelationshipArrowType, pt as LikeC4ProjectTheme, q as LayoutType, qi as _layout, qn as isKindEqual, qt as getParallelStepsPrefix, r as hasProp, ra as NTuple, rn as ElementViewRuleStyle, rr as CustomColor, rt as ComputedEdge, s as RichText, sa as ReorderedArray, si as UnknownParsed, sn as AnyExcludePredicate, sr as HexColor, st as ComputedRankConstraint, t as Guard, ta as KeysOf, tn as ElementViewRuleGroup, tr as Color, tt as ComputedDeploymentView, u as ViewChange, ui as preferDescription, un as AutoLayoutDirection, ur as LikeC4StyleDefaults, ut as LikeC4ProjectStyleDefaults, v as LayoutedLikeC4ModelData, vi as EdgeId, vn as ViewRuleGlobalPredicateRef, vr as Size, vt as isTagColorSpecified, w as ParsedView, wi as IconUrl, wn as isAutoLayoutDirection, wr as isThemeColor, wt as DeploymentRelationship, x as AnyView, xi as GlobalFqn, xn as ViewType, xr as ThemeColor, xt as DeploymentElementRef, y as LikeC4ModelData, yi as ElementKind, yn as ViewRuleGlobalStyle, yr as SpacingSize, yt as DeployedInstance, z as DeploymentViewExcludePredicate, zi as isGlobalFqn, zn as NotOperator, zt as DynamicStep } from "../_chunks/index.mjs";
1
+ import { $ as LayoutedViewDriftReason, $i as IteratorLike, $n as BorderStyle, $t as ElementViewPredicate, A as isComputedView, Ai as RelationshipKind, An as Expression, Ar as Any, At as ModelRelation, B as DeploymentViewIncludePredicate, Bi as isStepEdgeId, Bn as OrOperator, Bt as DynamicStepsParallel, C as LayoutedView, Ci as IconUrl, Cn as isAutoLayoutDirection, Cr as isThemeColor, Ct as DeploymentRelation, D as ViewRule, Di as ProjectId, Dn as ModelExpression, Dr as IconPositions, Dt as AbstractRelationship, E as ViewOnStage, Ei as NoneIcon, En as isViewRuleGlobalStyle, Er as ElementShapes, Et as isDeploymentNode, F as isExtendsElementView, Fi as ViewId, Fn as EqualOperator, Ft as GlobalPredicates, G as DiagramEdge, Gi as ModelStage, Gn as isAndOperator, Gt as DynamicViewStep, H as DeploymentViewRule, Hi as splitGlobalFqn, Hn as ParticipantOperator, Ht as DynamicViewDisplayVariant, I as isScopedElementView, Ii as extractStep, In as Filterable, It as GlobalStyleID, J as LayoutedDeploymentView, Ji as _type, Jn as isOrOperator, Jt as isDynamicStep, K as DiagramNode, Ki as _layout, Kn as isKindEqual, Kt as ParsedDynamicView, L as isViewRulePredicate, Li as flattenMarkdownOrString, Ln as KindEqual, Lt as GlobalStyles, M as isDiagramView, Mi as StepEdgeIdLiteral, Mn as PredicateSelector, Mr as AnyLayouted, Mt as ensureSizes, N as isDynamicView, Ni as StepEdgeKind, Nn as RelationExpr, Nr as AnyParsed, Nt as GlobalDynamicPredicates, O as ViewRulePredicate, Oi as RelationId, On as ModelFqnExpr, Or as Sizes, Ot as Element, P as isElementView, Pi as Tag, Pn as AndOperator, Pr as Aux, Pt as GlobalPredicateId, Q as DiagramNodeDriftReason, Qi as IterableContainer, Qn as FqnRef, Qr as SpecAux, Qt as ElementViewIncludePredicate, R as isViewRuleStyle, Ri as isGlobalFqn, Rn as NotOperator, Rt as ModelGlobals, S as ComputedView, Si as Icon, Sn as ViewWithNotation, Sr as isCustomColor, St as DeploymentNode, T as ProcessedView, Ti as NodeId, Tn as isViewRuleGlobalPredicateRef, Tt as isDeployedInstance, U as DeploymentViewRuleStyle, Ui as stepEdgeId, Un as TagEqual, Ut as DynamicViewIncludeRule, V as DeploymentViewPredicate, Vi as scalar_d_exports, Vn as Participant, Vt as DynamicStepsSeries, W as ParsedDeploymentView, Wi as ExtractOnStage, Wn as WhereOperator, Wr as LooseLiteral, Wt as DynamicViewRule, X as LayoutedElementView, Xi as Coalesce, Xn as isTagEqual, Xt as isDynamicStepsSeries, Y as LayoutedDynamicView, Yi as isOnStage, Yn as isParticipantOperator, Yt as isDynamicStepsParallel, Z as DiagramEdgeDriftReason, Zi as ExclusiveUnion, Zn as whereOperatorAsPredicate, Zt as ElementViewExcludePredicate, _ as ComputedLikeC4ModelData, _i as EdgeId, _n as ViewRuleGlobalPredicateRef, _r as Size, _t as TagSpecification, a as isNonEmptyArray, aa as Predicate, ai as UnknownLayouted, an as isViewRuleGroup, ar as ElementShape, at as ComputedNode, b as ParsedLikeC4ModelData, bi as GlobalFqn, bn as ViewType, br as ThemeColor, bt as DeploymentElement, c as RichTextEmpty, ci as _aux_d_exports, cn as AnyIncludePredicate, cr as IconSize, ct as LikeC4Project, d as AuxFromDump, dn as BaseParsedViewProperties, dr as LikeC4Theme, dt as LikeC4ProjectStylesConfig, ea as KeysOf, en as ElementViewRule, er as Color, et as ViewManualLayoutSnapshot, f as LikeC4ModelDump, fn as BaseViewProperties, fr as RelationshipArrowType, ft as LikeC4ProjectStylesCustomStylesheets, g as AuxFromLikeC4ModelData, gi as DeploymentKind, gn as ViewRuleAutoLayout, gr as ShapeSize, gt as Specification, h as SpecificationDump, hi as DeploymentFqn, hn as ViewAutoLayout, hr as RelationshipLineType, ht as RelationshipSpecification, i as isAnyOf, ia as NonEmptyReadonlyArray, ii as UnknownComputed, in as ParsedElementView, ir as ElementColorValues, it as ComputedElementView, j as isDeploymentView, ji as StepEdgeId, jn as FqnExpr, jr as AnyComputed, jt as Relationship, k as ViewWithType, ki as RelationKind, kn as ModelRelationExpr, kr as ThemeColors, kt as ElementStyle, l as RichTextOrEmpty, li as preferDescription, ln as AnyViewRuleStyle, lr as LikeC4StyleDefaults, lt as LikeC4ProjectManualLayoutsConfig, m as SpecTypesFromDump, mi as BuiltInIcon, mn as RankValue, mr as RelationshipColorValues, mt as ElementSpecification, n as GuardedBy, na as NTuple, nn as ElementViewRuleRank, nr as CustomColor, nt as ComputedDynamicView, o as isString, oa as ReorderedArray, oi as UnknownParsed, on as isViewRuleRank, or as HexColor, ot as ComputedNodeStyle, p as ProjectDump, pi as AnyFqn, pn as NodeNotation, pr as RelationshipArrowTypes, pt as LikeC4ProjectTheme, q as LayoutType, qi as _stage, qn as isNotOperator, qt as getParallelStepsPrefix, r as hasProp, ra as NonEmptyArray, ri as Unknown, rn as ElementViewRuleStyle, rr as CustomColorDefinitions, rt as ComputedEdge, s as RichText, sa as exact, sn as AnyExcludePredicate, sr as IconPosition, st as ComputedRankConstraint, t as Guard, ta as Link, tn as ElementViewRuleGroup, tr as ColorLiteral, tt as ComputedDeploymentView, u as ViewChange, ui as preferSummary, un as AutoLayoutDirection, ur as LikeC4StylesConfig, ut as LikeC4ProjectStyleDefaults, v as LayoutedLikeC4ModelData, vi as ElementKind, vn as ViewRuleGlobalStyle, vr as SpacingSize, vt as isTagColorSpecified, w as ParsedView, wi as MarkdownOrString, wn as isViewRuleAutoLayout, wr as BorderStyles, wt as DeploymentRelationship, x as AnyView, xi as GroupElementKind, xn as ViewWithHash, xr as ThemeColorValues, xt as DeploymentElementRef, y as LikeC4ModelData, yi as Fqn, yn as ViewRuleRank, yr as TextSize, yt as DeployedInstance, z as DeploymentViewExcludePredicate, zi as isGroupElementKind, zn as OperatorPredicate, zt as DynamicStep } from "../_chunks/index.mjs";
2
2
  import { a as RectBox, c as XYPoint, i as BBox, l as convertPoint, n as VectorValue, o as Dimensions, r as vector, s as Point, t as Vector, u as isPoint } from "../_chunks/index2.mjs";
3
- export { AbstractRelationship, AndOperator, Any, Any as AnyAux, AnyComputed, AnyExcludePredicate, AnyFqn, AnyIncludePredicate, AnyLayouted, AnyParsed, AnyView, AnyViewRuleStyle, AutoLayoutDirection, Aux, AuxFromDump, AuxFromLikeC4ModelData, BBox, BaseParsedViewProperties, BaseViewProperties, BorderStyle, BorderStyles, BuiltInIcon, Coalesce, Color, ColorLiteral, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedNodeStyle, ComputedRankConstraint, ComputedView, CustomColor, CustomColorDefinitions, DeployedInstance, DeploymentElement, DeploymentElementRef, DeploymentFqn, DeploymentKind, DeploymentNode, DeploymentRelation, DeploymentRelationship, DeploymentViewExcludePredicate, DeploymentViewIncludePredicate, DeploymentViewPredicate, DeploymentViewRule, DeploymentViewRuleStyle, DiagramEdge, DiagramEdgeDriftReason, DiagramNode, DiagramNodeDriftReason, LayoutedView as DiagramView, LayoutedView, Dimensions, DynamicStep, DynamicStepsParallel, DynamicStepsSeries, DynamicViewDisplayVariant, DynamicViewIncludeRule, DynamicViewRule, DynamicViewStep, EdgeId, Element, ElementColorValues, ElementKind, ElementShape, ElementShapes, ElementSpecification, ElementStyle, ElementViewExcludePredicate, ElementViewIncludePredicate, ElementViewPredicate, ElementViewRule, ElementViewRuleGroup, ElementViewRuleRank, ElementViewRuleStyle, EqualOperator, ExclusiveUnion, Expression, ExtractOnStage, Filterable, Fqn, FqnExpr, FqnRef, GlobalDynamicPredicates, GlobalFqn, GlobalPredicateId, GlobalPredicates, GlobalStyleID, GlobalStyles, GroupElementKind, Guard, GuardedBy, HexColor, Icon, IconPosition, IconPositions, IconSize, IconUrl, IterableContainer, IteratorLike, KeysOf, KindEqual, LayoutType, LayoutedDeploymentView, LayoutedDynamicView, LayoutedElementView, LayoutedLikeC4ModelData, LayoutedViewDriftReason, LikeC4ModelData, LikeC4ModelDump, LikeC4Project, LikeC4ProjectManualLayoutsConfig, LikeC4ProjectStyleDefaults, LikeC4ProjectStylesConfig, LikeC4ProjectStylesCustomStylesheets, LikeC4ProjectTheme, LikeC4StyleDefaults, LikeC4StylesConfig, LikeC4Theme, ParsedView as LikeC4View, ParsedView, Link, LooseLiteral, MarkdownOrString, ModelExpression, ModelFqnExpr, ModelGlobals, ModelRelation, ModelRelationExpr, ModelStage, NTuple, NodeId, NodeNotation, NonEmptyArray, NonEmptyReadonlyArray, NoneIcon, NotOperator, OperatorPredicate, OrOperator, ParsedDeploymentView, ParsedDynamicView, ParsedElementView, ParsedLikeC4ModelData, Participant, ParticipantOperator, Point, Predicate, PredicateSelector, ProcessedView, ProjectDump, ProjectId, RankValue, RectBox, RelationExpr, RelationId, RelationKind, Relationship, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipKind, RelationshipLineType, RelationshipSpecification, ReorderedArray, RichText, RichTextEmpty, RichTextOrEmpty, ShapeSize, Size, Sizes, SpacingSize, SpecAux, SpecTypesFromDump, Specification, SpecificationDump, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, TagEqual, TagSpecification, TextSize, ThemeColor, ThemeColorValues, ThemeColors, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, Vector, VectorValue, ViewAutoLayout, ViewChange, ViewId, ViewManualLayout, ViewManualLayoutSnapshot, ViewOnStage, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRulePredicate, ViewRuleRank, ViewType, ViewWithHash, ViewWithNotation, ViewWithType, WhereOperator, XYPoint, _layout, _stage, _type, _aux_d_exports as aux, convertPoint, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, hasProp, isAndOperator, isAnyOf, isAutoLayoutDirection, isComputedView, isCustomColor, isDeployedInstance, isDeploymentNode, isDeploymentView, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isKindEqual, isNonEmptyArray, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isPoint, isScopedElementView, isStepEdgeId, isString, isTagColorSpecified, isTagEqual, isThemeColor, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, preferDescription, preferSummary, scalar_d_exports as scalar, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
3
+ export { AbstractRelationship, AndOperator, Any, Any as AnyAux, AnyComputed, AnyExcludePredicate, AnyFqn, AnyIncludePredicate, AnyLayouted, AnyParsed, AnyView, AnyViewRuleStyle, AutoLayoutDirection, Aux, AuxFromDump, AuxFromLikeC4ModelData, BBox, BaseParsedViewProperties, BaseViewProperties, BorderStyle, BorderStyles, BuiltInIcon, Coalesce, Color, ColorLiteral, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedNodeStyle, ComputedRankConstraint, ComputedView, CustomColor, CustomColorDefinitions, DeployedInstance, DeploymentElement, DeploymentElementRef, DeploymentFqn, DeploymentKind, DeploymentNode, DeploymentRelation, DeploymentRelationship, DeploymentViewExcludePredicate, DeploymentViewIncludePredicate, DeploymentViewPredicate, DeploymentViewRule, DeploymentViewRuleStyle, DiagramEdge, DiagramEdgeDriftReason, DiagramNode, DiagramNodeDriftReason, LayoutedView as DiagramView, LayoutedView, Dimensions, DynamicStep, DynamicStepsParallel, DynamicStepsSeries, DynamicViewDisplayVariant, DynamicViewIncludeRule, DynamicViewRule, DynamicViewStep, EdgeId, Element, ElementColorValues, ElementKind, ElementShape, ElementShapes, ElementSpecification, ElementStyle, ElementViewExcludePredicate, ElementViewIncludePredicate, ElementViewPredicate, ElementViewRule, ElementViewRuleGroup, ElementViewRuleRank, ElementViewRuleStyle, EqualOperator, ExclusiveUnion, Expression, ExtractOnStage, Filterable, Fqn, FqnExpr, FqnRef, GlobalDynamicPredicates, GlobalFqn, GlobalPredicateId, GlobalPredicates, GlobalStyleID, GlobalStyles, GroupElementKind, Guard, GuardedBy, HexColor, Icon, IconPosition, IconPositions, IconSize, IconUrl, IterableContainer, IteratorLike, KeysOf, KindEqual, LayoutType, LayoutedDeploymentView, LayoutedDynamicView, LayoutedElementView, LayoutedLikeC4ModelData, LayoutedViewDriftReason, LikeC4ModelData, LikeC4ModelDump, LikeC4Project, LikeC4ProjectManualLayoutsConfig, LikeC4ProjectStyleDefaults, LikeC4ProjectStylesConfig, LikeC4ProjectStylesCustomStylesheets, LikeC4ProjectTheme, LikeC4StyleDefaults, LikeC4StylesConfig, LikeC4Theme, ParsedView as LikeC4View, ParsedView, Link, LooseLiteral, MarkdownOrString, ModelExpression, ModelFqnExpr, ModelGlobals, ModelRelation, ModelRelationExpr, ModelStage, NTuple, NodeId, NodeNotation, NonEmptyArray, NonEmptyReadonlyArray, NoneIcon, NotOperator, OperatorPredicate, OrOperator, ParsedDeploymentView, ParsedDynamicView, ParsedElementView, ParsedLikeC4ModelData, Participant, ParticipantOperator, Point, Predicate, PredicateSelector, ProcessedView, ProjectDump, ProjectId, RankValue, RectBox, RelationExpr, RelationId, RelationKind, Relationship, RelationshipArrowType, RelationshipArrowTypes, RelationshipColorValues, RelationshipKind, RelationshipLineType, RelationshipSpecification, ReorderedArray, RichText, RichTextEmpty, RichTextOrEmpty, ShapeSize, Size, Sizes, SpacingSize, SpecAux, SpecTypesFromDump, Specification, SpecificationDump, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, TagEqual, TagSpecification, TextSize, ThemeColor, ThemeColorValues, ThemeColors, Unknown, UnknownComputed, UnknownLayouted, UnknownParsed, Vector, VectorValue, ViewAutoLayout, ViewChange, ViewId, ViewManualLayoutSnapshot, ViewOnStage, ViewRule, ViewRuleAutoLayout, ViewRuleGlobalPredicateRef, ViewRuleGlobalStyle, ViewRulePredicate, ViewRuleRank, ViewType, ViewWithHash, ViewWithNotation, ViewWithType, WhereOperator, XYPoint, _layout, _stage, _type, _aux_d_exports as aux, convertPoint, ensureSizes, exact, extractStep, flattenMarkdownOrString, getParallelStepsPrefix, hasProp, isAndOperator, isAnyOf, isAutoLayoutDirection, isComputedView, isCustomColor, isDeployedInstance, isDeploymentNode, isDeploymentView, isDiagramView, isDiagramView as isLayoutedView, isDynamicStep, isDynamicStepsParallel, isDynamicStepsSeries, isDynamicView, isElementView, isExtendsElementView, isGlobalFqn, isGroupElementKind, isKindEqual, isNonEmptyArray, isNotOperator, isOnStage, isOrOperator, isParticipantOperator, isPoint, isScopedElementView, isStepEdgeId, isString, isTagColorSpecified, isTagEqual, isThemeColor, isViewRuleAutoLayout, isViewRuleGlobalPredicateRef, isViewRuleGlobalStyle, isViewRuleGroup, isViewRulePredicate, isViewRuleRank, isViewRuleStyle, preferDescription, preferSummary, scalar_d_exports as scalar, splitGlobalFqn, stepEdgeId, vector, whereOperatorAsPredicate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likec4/core",
3
- "version": "1.51.0",
3
+ "version": "1.52.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://likec4.dev",
6
6
  "author": "Denis Davydkov <denis@davydkov.com>",
@@ -117,14 +117,14 @@
117
117
  "@types/natural-compare-lite": "^1.4.2",
118
118
  "@types/node": "~22.19.11",
119
119
  "@types/unist": "3.0.3",
120
- "@typescript/native-preview": "7.0.0-dev.20260221.1",
120
+ "@typescript/native-preview": "7.0.0-dev.20260303.1",
121
121
  "chroma-js": "^3.2.0",
122
122
  "defu": "^6.1.4",
123
123
  "fdir": "6.4.0",
124
124
  "graphology": "^0.26.0",
125
125
  "graphology-dag": "^0.4.1",
126
126
  "graphology-types": "^0.24.8",
127
- "mdast-util-from-markdown": "^2.0.2",
127
+ "mdast-util-from-markdown": "^2.0.3",
128
128
  "mdast-util-to-hast": "^13.2.1",
129
129
  "mdast-util-to-string": "^4.0.0",
130
130
  "mnemonist": "0.40.3",
@@ -141,14 +141,14 @@
141
141
  "remark-parse": "11.0.0",
142
142
  "remark-rehype": "11.1.2",
143
143
  "remeda": "^2.33.6",
144
- "turbo": "2.8.12",
144
+ "turbo": "2.8.13",
145
145
  "typescript": "5.9.3",
146
146
  "unified": "11.0.5",
147
147
  "vitest": "4.0.18",
148
148
  "@likec4/devops": "1.42.0",
149
- "@likec4/style-preset": "1.51.0",
150
- "@likec4/styles": "1.51.0",
151
- "@likec4/tsconfig": "1.51.0"
149
+ "@likec4/styles": "1.52.0",
150
+ "@likec4/tsconfig": "1.52.0",
151
+ "@likec4/style-preset": "1.52.0"
152
152
  },
153
153
  "scripts": {
154
154
  "typecheck": "tsc -b --verbose",