pub(crate) const MERMAID_DEFAULT_MAX_HEIGHT: f32 = 420.0;
pub(crate) const MERMAID_FULLSCREEN_OVERLAY_NAME: &str = "EuvMermaidFullscreen";
pub(crate) const MERMAID_BADGE_FLOWCHART: &str = "MERMAID FLOWCHART";
pub(crate) const MERMAID_BADGE_SEQUENCE: &str = "MERMAID SEQUENCE";
pub(crate) const MERMAID_BADGE_STATE: &str = "MERMAID STATE";
pub(crate) const MERMAID_BADGE_CLASS: &str = "MERMAID CLASS";
pub(crate) const MERMAID_BADGE_ER: &str = "MERMAID ER";
pub(crate) const MERMAID_BADGE_PIE: &str = "MERMAID PIE";
pub(crate) const MERMAID_BADGE_GANTT: &str = "MERMAID GANTT";
pub(crate) const MERMAID_BADGE_TIMELINE: &str = "MERMAID TIMELINE";
pub(crate) const MERMAID_BADGE_MINDMAP: &str = "MERMAID MINDMAP";
pub(crate) const MERMAID_BADGE_XYCHART: &str = "MERMAID XYCHART";
pub(crate) const MERMAID_BADGE_GITGRAPH: &str = "MERMAID GITGRAPH";
pub(crate) const MERMAID_BUTTON_FULLSCREEN: &str = "Fullscreen";
pub(crate) const MERMAID_BUTTON_CLOSE: &str = "Close";
pub(crate) const MERMAID_BUTTON_COPY: &str = "Copy";
pub(crate) const MERMAID_BUTTON_COPIED: &str = "Copied";
pub(crate) const MERMAID_BUTTON_ZOOM_OUT: &str = "Zoom Out";
pub(crate) const MERMAID_BUTTON_ZOOM_RESET: &str = "Reset Zoom";
pub(crate) const MERMAID_BUTTON_ZOOM_IN: &str = "Zoom In";
pub(crate) const MERMAID_ZOOM_MINUS: &str = "-";
pub(crate) const MERMAID_ZOOM_PLUS: &str = "+";
pub(crate) const MERMAID_ZOOM_INIT_LABEL: &str = "100%";
pub(crate) const MERMAID_ZOOM_MIN: f32 = 0.5;
pub(crate) const MERMAID_ZOOM_MAX: f32 = 2.5;
pub(crate) const MERMAID_ZOOM_STEP: f32 = 0.25;
pub(crate) const MERMAID_KW_FLOWCHART: &str = "flowchart";
pub(crate) const MERMAID_KW_GRAPH: &str = "graph";
pub(crate) const MERMAID_KW_SEQUENCE: &str = "sequencediagram";
pub(crate) const MERMAID_KW_STATE: &str = "statediagram";
pub(crate) const MERMAID_KW_CLASS: &str = "classdiagram";
pub(crate) const MERMAID_KW_ER: &str = "erdiagram";
pub(crate) const MERMAID_KW_PIE: &str = "pie";
pub(crate) const MERMAID_KW_GANTT: &str = "gantt";
pub(crate) const MERMAID_KW_TIMELINE: &str = "timeline";
pub(crate) const MERMAID_KW_MINDMAP: &str = "mindmap";
pub(crate) const MERMAID_KW_XYCHART: &str = "xychart";
pub(crate) const MERMAID_KW_GITGRAPH: &str = "gitgraph";
pub(crate) const MERMAID_KW_SUBGRAPH: &str = "subgraph ";
pub(crate) const MERMAID_KW_DIRECTION: &str = "direction ";
pub(crate) const MERMAID_KW_CLASSDEF: &str = "classdef ";
pub(crate) const MERMAID_KW_STYLE: &str = "style ";
pub(crate) const MERMAID_KW_CLICK: &str = "click ";
pub(crate) const MERMAID_KW_LINKSTYLE: &str = "linkstyle ";
pub(crate) const MERMAID_ALIAS_SEP: &str = " as ";
pub(crate) const MERMAID_KW_END: &str = "end";
pub(crate) const MERMAID_KW_PARTICIPANT: &str = "participant ";
pub(crate) const MERMAID_KW_ACTOR: &str = "actor ";
pub(crate) const MERMAID_KW_AUTONUMBER: &str = "autonumber";
pub(crate) const MERMAID_KW_ACTIVATE: &str = "activate ";
pub(crate) const MERMAID_KW_DEACTIVATE: &str = "deactivate ";
pub(crate) const MERMAID_KW_NOTE: &str = "note ";
pub(crate) const MERMAID_KW_LOOP: &str = "loop ";
pub(crate) const MERMAID_KW_ALT: &str = "alt ";
pub(crate) const MERMAID_KW_ELSE: &str = "else";
pub(crate) const MERMAID_KW_OPT: &str = "opt ";
pub(crate) const MERMAID_KW_PAR: &str = "par ";
pub(crate) const MERMAID_KW_AND: &str = "and";
pub(crate) const MERMAID_KW_CRITICAL: &str = "critical ";
pub(crate) const MERMAID_KW_OPTION: &str = "option";
pub(crate) const MERMAID_KW_BREAK: &str = "break ";
pub(crate) const MERMAID_KW_RECT: &str = "rect ";
pub(crate) const MERMAID_KW_TITLE: &str = "title ";
pub(crate) const MERMAID_KW_SECTION: &str = "section ";
pub(crate) const MERMAID_KW_DATE_FORMAT: &str = "dateformat";
pub(crate) const MERMAID_KW_AXIS_FORMAT: &str = "axisformat";
pub(crate) const MERMAID_KW_STATE_DECL: &str = "state ";
pub(crate) const MERMAID_KW_CLASS_DECL: &str = "class ";
pub(crate) const MERMAID_KW_X_AXIS: &str = "x-axis";
pub(crate) const MERMAID_KW_Y_AXIS: &str = "y-axis";
pub(crate) const MERMAID_KW_BAR: &str = "bar";
pub(crate) const MERMAID_KW_LINE: &str = "line";
pub(crate) const MERMAID_KW_COMMIT: &str = "commit";
pub(crate) const MERMAID_KW_BRANCH: &str = "branch ";
pub(crate) const MERMAID_KW_CHECKOUT: &str = "checkout ";
pub(crate) const MERMAID_KW_SWITCH: &str = "switch ";
pub(crate) const MERMAID_KW_MERGE: &str = "merge ";
pub(crate) const MERMAID_KW_CHERRY_PICK: &str = "cherry-pick";
pub(crate) const MERMAID_GIT_MAIN: &str = "main";
pub(crate) const MERMAID_STATE_TERMINAL: &str = "[*]";
pub(crate) const MERMAID_STATE_FORK: &str = "<<fork>>";
pub(crate) const MERMAID_STATE_JOIN: &str = "<<join>>";
pub(crate) const MERMAID_STATE_CHOICE: &str = "<<choice>>";
pub(crate) const MERMAID_STATE_FORK_ALT: &str = "[[fork]]";
pub(crate) const MERMAID_STATE_JOIN_ALT: &str = "[[join]]";
pub(crate) const MERMAID_STATE_CHOICE_ALT: &str = "[[choice]]";
pub(crate) const MERMAID_NOTE_LEFT_OF: &str = "left of ";
pub(crate) const MERMAID_NOTE_RIGHT_OF: &str = "right of ";
pub(crate) const MERMAID_NOTE_OVER: &str = "over ";
pub(crate) const MERMAID_BLK_LOOP: &str = "loop";
pub(crate) const MERMAID_BLK_ALT: &str = "alt";
pub(crate) const MERMAID_BLK_OPT: &str = "opt";
pub(crate) const MERMAID_BLK_PAR: &str = "par";
pub(crate) const MERMAID_BLK_CRITICAL: &str = "critical";
pub(crate) const MERMAID_BLK_BREAK: &str = "break";
pub(crate) const MERMAID_BLK_RECT: &str = "rect";
pub(crate) const MERMAID_DEFAULT_SECTION: &str = "Timeline";
pub(crate) const MERMAID_PIE_PALETTE: [u32; 8] = [
0x437AED, 0x7C4DFF, 0x00BEC4, 0x44C145, 0xFF6D12, 0xC838C6, 0xCD6069, 0xF0AA0B,
];
pub(crate) const MERMAID_GANTT_DONE: &str = "done";
pub(crate) const MERMAID_GANTT_ACTIVE: &str = "active";
pub(crate) const MERMAID_GANTT_CRIT: &str = "crit";
pub(crate) const MERMAID_GANTT_MILESTONE: &str = "milestone";
pub(crate) const MERMAID_CSS_FILL: &str = "fill";
pub(crate) const MERMAID_CSS_STROKE: &str = "stroke";
pub(crate) const MERMAID_CSS_COLOR: &str = "color";
pub(crate) const MERMAID_CLASS_SEP: &str = ":::";
pub(crate) const MERMAID_GIT_HIGHLIGHT: &str = "HIGHLIGHT";
pub(crate) const MERMAID_GIT_REVERSE: &str = "REVERSE";
pub(crate) const MERMAID_GIT_KEY_ID: &str = "id:";
pub(crate) const MERMAID_GIT_KEY_TAG: &str = "tag:";
pub(crate) const MERMAID_GIT_KEY_TYPE: &str = "type:";
pub(crate) const MERMAID_END_NOTE: &str = "end note";
pub(crate) const MERMAID_NAMED_COLORS: &[(&str, u32)] = &[
("amber", 0xF59E0B),
("black", 0x09090B),
("blue", 0x3B82F6),
("cyan", 0x06B6D4),
("gold", 0xEAB308),
("gray", 0x71717A),
("green", 0x22C55E),
("grey", 0x71717A),
("indigo", 0x6366F1),
("lime", 0x84CC16),
("navy", 0x1E3A8A),
("orange", 0xF97316),
("pink", 0xEC4899),
("purple", 0xA855F7),
("red", 0xEF4444),
("rose", 0xF43F5E),
("sky", 0x0EA5E9),
("slate", 0x64748B),
("teal", 0x14B8A6),
("violet", 0x8B5CF6),
("white", 0xFFFFFF),
("yellow", 0xFACC15),
];
pub(crate) const MERMAID_BYTE_DQUOTE: u8 = b'"';
pub(crate) const MERMAID_BYTE_PERCENT: u8 = b'%';
pub(crate) const MERMAID_BYTE_LBRACKET: u8 = b'[';
pub(crate) const MERMAID_BYTE_RBRACKET: u8 = b']';
pub(crate) const MERMAID_BYTE_LPAREN: u8 = b'(';
pub(crate) const MERMAID_BYTE_RPAREN: u8 = b')';
pub(crate) const MERMAID_BYTE_LBRACE: u8 = b'{';
pub(crate) const MERMAID_BYTE_RBRACE: u8 = b'}';
pub(crate) const MERMAID_BYTE_AMP: u8 = b'&';
pub(crate) const MERMAID_BYTE_UNDERSCORE: u8 = b'_';