domma-js 0.22.2 → 0.22.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domma-js",
3
- "version": "0.22.2",
3
+ "version": "0.22.6",
4
4
  "description": "Dynamic Object Manipulation & Modeling API - A complete front-end toolkit.",
5
5
  "main": "public/dist/domma.min.js",
6
6
  "module": "public/dist/domma.esm.js",
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Complete CSS Bundle v0.22.2
2
+ * Domma Complete CSS Bundle v0.22.6
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-04-15T16:02:49.540Z
5
+ * Built: 2026-04-20T18:59:34.671Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.22.2
14
+ * Domma Core CSS v0.22.6
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-04-15T16:02:49.320Z
18
- * Commit: 09076af
17
+ * Built: 2026-04-20T18:59:34.457Z
18
+ * Commit: 7c87559
19
19
  */
20
20
 
21
21
  /**
@@ -4826,11 +4826,11 @@ body.dm-cloaked.dm-ready {
4826
4826
  ============================================ */
4827
4827
 
4828
4828
  /*!
4829
- * Domma Grid CSS v0.22.2
4829
+ * Domma Grid CSS v0.22.6
4830
4830
  * Dynamic Object Manipulation & Modeling API
4831
4831
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4832
- * Built: 2026-04-15T16:02:49.325Z
4833
- * Commit: 09076af
4832
+ * Built: 2026-04-20T18:59:34.461Z
4833
+ * Commit: 7c87559
4834
4834
  */
4835
4835
 
4836
4836
  /**
@@ -5451,11 +5451,11 @@ body.dm-cloaked.dm-ready {
5451
5451
  ============================================ */
5452
5452
 
5453
5453
  /*!
5454
- * Domma Elements CSS v0.22.2
5454
+ * Domma Elements CSS v0.22.6
5455
5455
  * Dynamic Object Manipulation & Modeling API
5456
5456
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5457
- * Built: 2026-04-15T16:02:49.332Z
5458
- * Commit: 09076af
5457
+ * Built: 2026-04-20T18:59:34.467Z
5458
+ * Commit: 7c87559
5459
5459
  */
5460
5460
 
5461
5461
  /**
@@ -8467,6 +8467,7 @@ code {
8467
8467
  .hero-overlay-light > * {
8468
8468
  position: relative;
8469
8469
  z-index: 2;
8470
+ color: #111;
8470
8471
  }
8471
8472
 
8472
8473
  /* Dark overlay (for bright images) */
@@ -8486,6 +8487,7 @@ code {
8486
8487
  .hero-overlay-dark > * {
8487
8488
  position: relative;
8488
8489
  z-index: 2;
8490
+ color: #fff;
8489
8491
  }
8490
8492
 
8491
8493
  /* Extra dark overlay for maximum contrast */
@@ -8505,6 +8507,7 @@ code {
8505
8507
  .hero-overlay-darker > * {
8506
8508
  position: relative;
8507
8509
  z-index: 2;
8510
+ color: #fff;
8508
8511
  }
8509
8512
 
8510
8513
  /* Gradient overlay (bottom to top fade) */
@@ -8524,6 +8527,7 @@ code {
8524
8527
  .hero-overlay-gradient > * {
8525
8528
  position: relative;
8526
8529
  z-index: 2;
8530
+ color: #fff;
8527
8531
  }
8528
8532
 
8529
8533
  /* Gradient overlay variant - top to bottom */
@@ -8543,6 +8547,7 @@ code {
8543
8547
  .hero-overlay-gradient-reverse > * {
8544
8548
  position: relative;
8545
8549
  z-index: 2;
8550
+ color: #fff;
8546
8551
  }
8547
8552
 
8548
8553
  /* 3. Announcement Badges - Small notification badges */
@@ -12833,11 +12838,11 @@ code {
12833
12838
  ============================================ */
12834
12839
 
12835
12840
  /*!
12836
- * Domma Themes v0.22.2
12841
+ * Domma Themes v0.22.6
12837
12842
  * Dynamic Object Manipulation & Modeling API
12838
12843
  * (c) 2026 Darryl Waterhouse & DCBW-IT
12839
- * Built: 2026-04-15T16:02:49.300Z
12840
- * Commit: 09076af
12844
+ * Built: 2026-04-20T18:59:34.441Z
12845
+ * Commit: 7c87559
12841
12846
  */
12842
12847
 
12843
12848
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Data-Focused CSS Bundle v0.22.2
2
+ * Domma Data-Focused CSS Bundle v0.22.6
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-04-15T16:02:49.535Z
5
+ * Built: 2026-04-20T18:59:34.666Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.22.2
14
+ * Domma Core CSS v0.22.6
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-04-15T16:02:49.320Z
18
- * Commit: 09076af
17
+ * Built: 2026-04-20T18:59:34.457Z
18
+ * Commit: 7c87559
19
19
  */
20
20
 
21
21
  /**
@@ -4826,11 +4826,11 @@ body.dm-cloaked.dm-ready {
4826
4826
  ============================================ */
4827
4827
 
4828
4828
  /*!
4829
- * Domma Grid CSS v0.22.2
4829
+ * Domma Grid CSS v0.22.6
4830
4830
  * Dynamic Object Manipulation & Modeling API
4831
4831
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4832
- * Built: 2026-04-15T16:02:49.325Z
4833
- * Commit: 09076af
4832
+ * Built: 2026-04-20T18:59:34.461Z
4833
+ * Commit: 7c87559
4834
4834
  */
4835
4835
 
4836
4836
  /**
@@ -5451,11 +5451,11 @@ body.dm-cloaked.dm-ready {
5451
5451
  ============================================ */
5452
5452
 
5453
5453
  /*!
5454
- * Domma Elements CSS v0.22.2
5454
+ * Domma Elements CSS v0.22.6
5455
5455
  * Dynamic Object Manipulation & Modeling API
5456
5456
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5457
- * Built: 2026-04-15T16:02:49.332Z
5458
- * Commit: 09076af
5457
+ * Built: 2026-04-20T18:59:34.467Z
5458
+ * Commit: 7c87559
5459
5459
  */
5460
5460
 
5461
5461
  /**
@@ -8467,6 +8467,7 @@ code {
8467
8467
  .hero-overlay-light > * {
8468
8468
  position: relative;
8469
8469
  z-index: 2;
8470
+ color: #111;
8470
8471
  }
8471
8472
 
8472
8473
  /* Dark overlay (for bright images) */
@@ -8486,6 +8487,7 @@ code {
8486
8487
  .hero-overlay-dark > * {
8487
8488
  position: relative;
8488
8489
  z-index: 2;
8490
+ color: #fff;
8489
8491
  }
8490
8492
 
8491
8493
  /* Extra dark overlay for maximum contrast */
@@ -8505,6 +8507,7 @@ code {
8505
8507
  .hero-overlay-darker > * {
8506
8508
  position: relative;
8507
8509
  z-index: 2;
8510
+ color: #fff;
8508
8511
  }
8509
8512
 
8510
8513
  /* Gradient overlay (bottom to top fade) */
@@ -8524,6 +8527,7 @@ code {
8524
8527
  .hero-overlay-gradient > * {
8525
8528
  position: relative;
8526
8529
  z-index: 2;
8530
+ color: #fff;
8527
8531
  }
8528
8532
 
8529
8533
  /* Gradient overlay variant - top to bottom */
@@ -8543,6 +8547,7 @@ code {
8543
8547
  .hero-overlay-gradient-reverse > * {
8544
8548
  position: relative;
8545
8549
  z-index: 2;
8550
+ color: #fff;
8546
8551
  }
8547
8552
 
8548
8553
  /* 3. Announcement Badges - Small notification badges */
@@ -12833,11 +12838,11 @@ code {
12833
12838
  ============================================ */
12834
12839
 
12835
12840
  /*!
12836
- * Domma Themes v0.22.2
12841
+ * Domma Themes v0.22.6
12837
12842
  * Dynamic Object Manipulation & Modeling API
12838
12843
  * (c) 2026 Darryl Waterhouse & DCBW-IT
12839
- * Built: 2026-04-15T16:02:49.300Z
12840
- * Commit: 09076af
12844
+ * Built: 2026-04-20T18:59:34.441Z
12845
+ * Commit: 7c87559
12841
12846
  */
12842
12847
 
12843
12848
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Essentials CSS Bundle v0.22.2
2
+ * Domma Essentials CSS Bundle v0.22.6
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-04-15T16:02:49.523Z
5
+ * Built: 2026-04-20T18:59:34.655Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.22.2
14
+ * Domma Core CSS v0.22.6
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-04-15T16:02:49.320Z
18
- * Commit: 09076af
17
+ * Built: 2026-04-20T18:59:34.457Z
18
+ * Commit: 7c87559
19
19
  */
20
20
 
21
21
  /**
@@ -4826,11 +4826,11 @@ body.dm-cloaked.dm-ready {
4826
4826
  ============================================ */
4827
4827
 
4828
4828
  /*!
4829
- * Domma Grid CSS v0.22.2
4829
+ * Domma Grid CSS v0.22.6
4830
4830
  * Dynamic Object Manipulation & Modeling API
4831
4831
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4832
- * Built: 2026-04-15T16:02:49.325Z
4833
- * Commit: 09076af
4832
+ * Built: 2026-04-20T18:59:34.461Z
4833
+ * Commit: 7c87559
4834
4834
  */
4835
4835
 
4836
4836
  /**
@@ -5451,11 +5451,11 @@ body.dm-cloaked.dm-ready {
5451
5451
  ============================================ */
5452
5452
 
5453
5453
  /*!
5454
- * Domma Elements CSS v0.22.2
5454
+ * Domma Elements CSS v0.22.6
5455
5455
  * Dynamic Object Manipulation & Modeling API
5456
5456
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5457
- * Built: 2026-04-15T16:02:49.332Z
5458
- * Commit: 09076af
5457
+ * Built: 2026-04-20T18:59:34.467Z
5458
+ * Commit: 7c87559
5459
5459
  */
5460
5460
 
5461
5461
  /**
@@ -8467,6 +8467,7 @@ code {
8467
8467
  .hero-overlay-light > * {
8468
8468
  position: relative;
8469
8469
  z-index: 2;
8470
+ color: #111;
8470
8471
  }
8471
8472
 
8472
8473
  /* Dark overlay (for bright images) */
@@ -8486,6 +8487,7 @@ code {
8486
8487
  .hero-overlay-dark > * {
8487
8488
  position: relative;
8488
8489
  z-index: 2;
8490
+ color: #fff;
8489
8491
  }
8490
8492
 
8491
8493
  /* Extra dark overlay for maximum contrast */
@@ -8505,6 +8507,7 @@ code {
8505
8507
  .hero-overlay-darker > * {
8506
8508
  position: relative;
8507
8509
  z-index: 2;
8510
+ color: #fff;
8508
8511
  }
8509
8512
 
8510
8513
  /* Gradient overlay (bottom to top fade) */
@@ -8524,6 +8527,7 @@ code {
8524
8527
  .hero-overlay-gradient > * {
8525
8528
  position: relative;
8526
8529
  z-index: 2;
8530
+ color: #fff;
8527
8531
  }
8528
8532
 
8529
8533
  /* Gradient overlay variant - top to bottom */
@@ -8543,6 +8547,7 @@ code {
8543
8547
  .hero-overlay-gradient-reverse > * {
8544
8548
  position: relative;
8545
8549
  z-index: 2;
8550
+ color: #fff;
8546
8551
  }
8547
8552
 
8548
8553
  /* 3. Announcement Badges - Small notification badges */
@@ -12833,11 +12838,11 @@ code {
12833
12838
  ============================================ */
12834
12839
 
12835
12840
  /*!
12836
- * Domma Themes v0.22.2
12841
+ * Domma Themes v0.22.6
12837
12842
  * Dynamic Object Manipulation & Modeling API
12838
12843
  * (c) 2026 Darryl Waterhouse & DCBW-IT
12839
- * Built: 2026-04-15T16:02:49.300Z
12840
- * Commit: 09076af
12844
+ * Built: 2026-04-20T18:59:34.441Z
12845
+ * Commit: 7c87559
12841
12846
  */
12842
12847
 
12843
12848
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Full CSS Bundle v0.22.2
2
+ * Domma Full CSS Bundle v0.22.6
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-04-15T16:02:49.530Z
5
+ * Built: 2026-04-20T18:59:34.661Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.22.2
14
+ * Domma Core CSS v0.22.6
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-04-15T16:02:49.320Z
18
- * Commit: 09076af
17
+ * Built: 2026-04-20T18:59:34.457Z
18
+ * Commit: 7c87559
19
19
  */
20
20
 
21
21
  /**
@@ -4826,11 +4826,11 @@ body.dm-cloaked.dm-ready {
4826
4826
  ============================================ */
4827
4827
 
4828
4828
  /*!
4829
- * Domma Grid CSS v0.22.2
4829
+ * Domma Grid CSS v0.22.6
4830
4830
  * Dynamic Object Manipulation & Modeling API
4831
4831
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4832
- * Built: 2026-04-15T16:02:49.325Z
4833
- * Commit: 09076af
4832
+ * Built: 2026-04-20T18:59:34.461Z
4833
+ * Commit: 7c87559
4834
4834
  */
4835
4835
 
4836
4836
  /**
@@ -5451,11 +5451,11 @@ body.dm-cloaked.dm-ready {
5451
5451
  ============================================ */
5452
5452
 
5453
5453
  /*!
5454
- * Domma Elements CSS v0.22.2
5454
+ * Domma Elements CSS v0.22.6
5455
5455
  * Dynamic Object Manipulation & Modeling API
5456
5456
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5457
- * Built: 2026-04-15T16:02:49.332Z
5458
- * Commit: 09076af
5457
+ * Built: 2026-04-20T18:59:34.467Z
5458
+ * Commit: 7c87559
5459
5459
  */
5460
5460
 
5461
5461
  /**
@@ -8467,6 +8467,7 @@ code {
8467
8467
  .hero-overlay-light > * {
8468
8468
  position: relative;
8469
8469
  z-index: 2;
8470
+ color: #111;
8470
8471
  }
8471
8472
 
8472
8473
  /* Dark overlay (for bright images) */
@@ -8486,6 +8487,7 @@ code {
8486
8487
  .hero-overlay-dark > * {
8487
8488
  position: relative;
8488
8489
  z-index: 2;
8490
+ color: #fff;
8489
8491
  }
8490
8492
 
8491
8493
  /* Extra dark overlay for maximum contrast */
@@ -8505,6 +8507,7 @@ code {
8505
8507
  .hero-overlay-darker > * {
8506
8508
  position: relative;
8507
8509
  z-index: 2;
8510
+ color: #fff;
8508
8511
  }
8509
8512
 
8510
8513
  /* Gradient overlay (bottom to top fade) */
@@ -8524,6 +8527,7 @@ code {
8524
8527
  .hero-overlay-gradient > * {
8525
8528
  position: relative;
8526
8529
  z-index: 2;
8530
+ color: #fff;
8527
8531
  }
8528
8532
 
8529
8533
  /* Gradient overlay variant - top to bottom */
@@ -8543,6 +8547,7 @@ code {
8543
8547
  .hero-overlay-gradient-reverse > * {
8544
8548
  position: relative;
8545
8549
  z-index: 2;
8550
+ color: #fff;
8546
8551
  }
8547
8552
 
8548
8553
  /* 3. Announcement Badges - Small notification badges */
@@ -12833,11 +12838,11 @@ code {
12833
12838
  ============================================ */
12834
12839
 
12835
12840
  /*!
12836
- * Domma Themes v0.22.2
12841
+ * Domma Themes v0.22.6
12837
12842
  * Dynamic Object Manipulation & Modeling API
12838
12843
  * (c) 2026 Darryl Waterhouse & DCBW-IT
12839
- * Built: 2026-04-15T16:02:49.300Z
12840
- * Commit: 09076af
12844
+ * Built: 2026-04-20T18:59:34.441Z
12845
+ * Commit: 7c87559
12841
12846
  */
12842
12847
 
12843
12848
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Minimal CSS Bundle v0.22.2
2
+ * Domma Minimal CSS Bundle v0.22.6
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-04-15T16:02:49.521Z
5
+ * Built: 2026-04-20T18:59:34.653Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.22.2
14
+ * Domma Core CSS v0.22.6
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-04-15T16:02:49.320Z
18
- * Commit: 09076af
17
+ * Built: 2026-04-20T18:59:34.457Z
18
+ * Commit: 7c87559
19
19
  */
20
20
 
21
21
  /**
@@ -4826,11 +4826,11 @@ body.dm-cloaked.dm-ready {
4826
4826
  ============================================ */
4827
4827
 
4828
4828
  /*!
4829
- * Domma Grid CSS v0.22.2
4829
+ * Domma Grid CSS v0.22.6
4830
4830
  * Dynamic Object Manipulation & Modeling API
4831
4831
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4832
- * Built: 2026-04-15T16:02:49.325Z
4833
- * Commit: 09076af
4832
+ * Built: 2026-04-20T18:59:34.461Z
4833
+ * Commit: 7c87559
4834
4834
  */
4835
4835
 
4836
4836
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Syntax Highlighter v0.22.2
2
+ * Domma Syntax Highlighter v0.22.6
3
3
  * Lightweight code syntax highlighting for JavaScript, HTML, and CSS
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-04-15T16:02:37.762Z
6
- * Commit: 09076af
5
+ * Built: 2026-04-20T18:59:22.559Z
6
+ * Commit: 7c87559
7
7
  */
8
8
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).DommaSyntax={})}(this,function(t){"use strict";const e={javascript:[{type:"comment",pattern:/\/\*[\s\S]*?\*\//g},{type:"comment",pattern:/\/\/.*/g},{type:"template-string",pattern:/`(?:\\.|[^`\\])*`/g},{type:"string",pattern:/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g},{type:"keyword",pattern:/\b(const|let|var|function|return|if|else|for|while|do|break|continue|switch|case|default|try|catch|finally|throw|async|await|class|extends|static|new|this|super|import|export|from|as|default|yield|typeof|instanceof|in|of|delete|void)\b/g},{type:"boolean",pattern:/\b(true|false|null|undefined|NaN|Infinity)\b/g},{type:"number",pattern:/\b\d+\.?\d*([eE][+-]?\d+)?\b/g},{type:"function",pattern:/\b([a-zA-Z_$][\w$]*)\s*(?=\()/g},{type:"class-name",pattern:/\b[A-Z][\w$]*\b/g},{type:"operator",pattern:/[+\-*/%=<>!&|^~?:]+|===|!==|==|!=|<=|>=|&&|\|\||<<|>>|>>>/g},{type:"punctuation",pattern:/[{}[\]();,.]/g}],html:[{type:"comment",pattern:/<!--[\s\S]*?-->/g},{type:"doctype",pattern:/<!DOCTYPE[^>]*>/gi},{type:"tag-open",pattern:/<\/?[a-zA-Z][\w-]*/g},{type:"tag-close",pattern:/\/?>/g},{type:"attr-name",pattern:/\s+[a-zA-Z:@][\w:.-]*(?=\s*=)/g},{type:"attr-value",pattern:/=\s*"[^"]*"|=\s*'[^']*'/g},{type:"entity",pattern:/&[#\w]+;/g}],css:[{type:"comment",pattern:/\/\*[\s\S]*?\*\//g},{type:"at-rule",pattern:/@[\w-]+/g},{type:"selector",pattern:/[.#]?[a-zA-Z][\w-]*(?=\s*[{,])/g},{type:"property",pattern:/\b[\w-]+(?=\s*:)/g},{type:"string",pattern:/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g},{type:"function",pattern:/\b[\w-]+(?=\()/g},{type:"important",pattern:/!important\b/g},{type:"number",pattern:/\b\d+\.?\d*(px|em|rem|%|vh|vw|pt|cm|mm|in|pc|ex|ch|vmin|vmax|fr)?\b/g},{type:"color",pattern:/#[\da-fA-F]{3,8}\b/g},{type:"punctuation",pattern:/[{}:;,()]/g}]};function n(t){const e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};return t.replace(/[&<>"']/g,t=>e[t])}class a{constructor(){this.config={autoDetect:!0,preserveOriginal:!0,selector:".code-block",showLanguageBadge:!1,languagePrefix:"language-"}}highlight(t,a=null){const r="string"==typeof t?document.querySelector(t):t;if(!r||r.hasAttribute("data-syntax-highlighted"))return!1;if(!a&&this.config.autoDetect){const t=Array.from(r.classList).find(t=>t.startsWith(this.config.languagePrefix));t&&(a=t.substring(this.config.languagePrefix.length))}if(!a||!e[a])return!1;const o=r.textContent||"";this.config.preserveOriginal&&r.setAttribute("data-original-code",o);const i=function(t,a){const r=e[a];if(!r)return n(t);const o=[];for(const{type:e,pattern:n}of r){if("html"===a&&"entity"===e)continue;let r;for(n.lastIndex=0;null!==(r=n.exec(t));)o.push({start:r.index,end:r.index+r[0].length,text:r[0],type:e})}o.sort((t,e)=>t.start-e.start);const i=[];let s=0;for(const t of o)t.start>=s&&(i.push(t),s=t.end);let c="",p=0;for(const e of i)e.start>p&&(c+=n(t.substring(p,e.start))),c+=`<span class="syntax-${e.type}">${n(e.text)}</span>`,p=e.end;return p<t.length&&(c+=n(t.substring(p))),c}(o,a);return r.innerHTML=i,r.setAttribute("data-syntax-highlighted","true"),r.setAttribute("data-language",a),this.config.showLanguageBadge&&this.addLanguageBadge(r,a),!0}scan(t={}){const e=t.selector||this.config.selector,n=document.querySelectorAll(e);let a=0;return n.forEach(e=>{this.highlight(e,t.language||null)&&(this.addCopyButton(e),a++)}),a}register(t,n){t&&Array.isArray(n)?e[t]=n:console.error("SyntaxHighlighter: Invalid language registration")}configure(t){return t?(Object.assign(this.config,t),this.config):{...this.config}}addLanguageBadge(t,e){if(t.querySelector(".syntax-language-badge"))return;const n=document.createElement("div");n.className="syntax-language-badge",n.textContent=e.toUpperCase(),t.style.position="relative",t.insertBefore(n,t.firstChild)}getLanguages(){return Object.keys(e)}isLanguageSupported(t){return t in e}addCopyButton(t){if(t.parentElement&&t.parentElement.classList.contains("code-block-wrapper"))return;const e=document.createElement("div");e.className="code-block-wrapper";const n=document.createElement("button");n.className="code-block-copy",n.setAttribute("aria-label","Copy code to clipboard"),n.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>',n.addEventListener("click",async()=>{const e=t.getAttribute("data-original-code")||t.textContent;try{if(navigator.clipboard&&navigator.clipboard.writeText)await navigator.clipboard.writeText(e);else{const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}n.classList.add("copied"),n.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="20 6 9 17 4 12"></polyline></svg>',setTimeout(()=>{n.classList.remove("copied"),n.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>'},2e3)}catch(t){console.error("Failed to copy code:",t)}}),t.parentNode.insertBefore(e,t),e.appendChild(t),e.appendChild(n)}}const r=new a;"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{r.scan()}):setTimeout(()=>r.scan(),0)),"undefined"!=typeof window&&(window.Domma&&(window.Domma.syntax=r),window.DommaSyntax=r),t.LANGUAGES=e,t.SyntaxHighlighter=a,t.default=r,t.syntax=r,Object.defineProperty(t,"__esModule",{value:!0})});
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Core CSS v0.22.2
2
+ * Domma Core CSS v0.22.6
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-04-15T16:02:49.320Z
6
- * Commit: 09076af
5
+ * Built: 2026-04-20T18:59:34.457Z
6
+ * Commit: 7c87559
7
7
  */
8
8
 
9
9
  /**