kaabalah 6.6.0 → 6.6.1

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.
@@ -7,8 +7,12 @@ var rawGlyph = (markup) => [
7
7
  { kind: "raw", markup }
8
8
  ];
9
9
  var raw100 = (markup) => rawGlyph(`<g transform="scale(0.01)">${markup}</g>`);
10
+ var GLYPH_FILL = "var(--astro-glyph-fill, #fff)";
11
+ var rawPlanet = (markup) => rawGlyph(
12
+ `<g transform="scale(0.01)" stroke="currentColor" stroke-width="7" stroke-linecap="round" stroke-linejoin="round">${markup}</g>`
13
+ );
10
14
  var SOURCE_POINT_TEXT_GLYPH = (text) => rawGlyph(
11
- `<g transform="scale(0.01)"><text x="0" y="0" text-anchor="middle" dominant-baseline="central" font-family="Arial Narrow, Liberation Sans Narrow, Arial, Helvetica, sans-serif" font-size="78" font-weight="500" fill="currentColor" stroke="none">${text}</text></g>`
15
+ `<g transform="scale(0.01)"><text x="0" y="0" text-anchor="middle" dominant-baseline="central" font-family="Arial Narrow, Liberation Sans Narrow, Arial, Helvetica, sans-serif" font-size="90" font-weight="500" fill="currentColor" stroke="none">${text}</text></g>`
12
16
  );
13
17
  var SOURCE_ZODIAC_GLYPH_PRIMITIVES = {
14
18
  "Aries": [{ kind: "raw", markup: '<g transform="scale(0.0172864) translate(-66.624999 -71.429581)"><path d="M 64.28125,95.179581 L 64.28125,91.398331 C 64.281226,88.419171 63.635393,83.106676 62.34375,75.460831 C 61.760395,71.856687 60.802062,68.106691 59.46875,64.210831 C 58.114565,60.252532 56.6979,57.148369 55.21875,54.898331 C 54.072902,53.190039 52.70832,52.335874 51.125,52.335831 C 49.333324,52.335874 48.083325,53.023373 47.375,54.398331 C 46.72916,55.669204 46.406243,57.054619 46.40625,58.554581 C 46.406243,61.721281 47.541659,64.585861 49.8125,67.148331 L 44.5,67.148331 C 42.666664,64.335862 41.749998,61.367115 41.75,58.242081 C 41.749998,54.971288 42.624997,52.40879 44.375,50.554581 C 46.187494,48.637961 48.385408,47.679628 50.96875,47.679581 C 54.302069,47.679628 56.906233,49.054627 58.78125,51.804581 C 60.906229,54.908788 62.67706,58.679617 64.09375,63.117081 C 65.093725,66.346276 65.937474,69.919189 66.625,73.835831 C 67.312472,69.919189 68.156222,66.346276 69.15625,63.117081 C 70.489553,58.783784 72.260384,55.012954 74.46875,51.804581 C 76.343713,49.054627 78.947878,47.679628 82.28125,47.679581 C 84.864538,47.679628 87.062453,48.637961 88.875,50.554581 C 90.624949,52.40879 91.499948,54.971288 91.5,58.242081 C 91.499948,61.367115 90.583283,64.335862 88.75,67.148331 L 83.4375,67.148331 C 85.708287,64.585861 86.843703,61.721281 86.84375,58.554581 C 86.843703,57.054619 86.520787,55.669204 85.875,54.398331 C 85.166621,53.023373 83.916623,52.335874 82.125,52.335831 C 80.541626,52.335874 79.177044,53.190039 78.03125,54.898331 C 76.552047,57.148369 75.135381,60.252532 73.78125,64.210831 C 72.447884,68.106691 71.489552,71.856687 70.90625,75.460831 C 69.614554,83.106676 68.968721,88.419171 68.96875,91.398331 L 68.96875,95.179581 L 64.28125,95.179581" fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
@@ -25,22 +29,50 @@ var SOURCE_ZODIAC_GLYPH_PRIMITIVES = {
25
29
  "Pisces": [{ kind: "raw", markup: '<g transform="scale(0.0184327) translate(-332.875000 -292.429565)"><path d="M 337.78125,294.78894 L 327.96875,294.78894 C 327.71873,298.91396 326.85415,302.7577 325.375,306.32019 C 324.02082,309.59103 322.06248,312.73686 319.5,315.75769 L 313.03125,315.75769 C 316.84374,312.04936 319.5104,308.29936 321.03125,304.50769 C 322.28123,301.42437 323.02082,298.18479 323.25,294.78894 L 313.96875,294.78894 L 313.96875,290.10144 L 323.25,290.10144 C 323.02082,286.70564 322.28123,283.46606 321.03125,280.38269 C 319.48957,276.59106 316.82291,272.83065 313.03125,269.10144 L 319.5,269.10144 C 322.04165,272.12232 323.99998,275.27856 325.375,278.57019 C 326.87498,282.13272 327.73956,285.97647 327.96875,290.10144 L 337.78125,290.10144 C 338.01038,285.97647 338.87497,282.13272 340.375,278.57019 C 341.74996,275.27856 343.7083,272.12232 346.25,269.10144 L 352.71875,269.10144 C 348.92704,272.83065 346.26038,276.59106 344.71875,280.38269 C 343.46871,283.46606 342.72913,286.70564 342.5,290.10144 L 351.46875,290.10144 L 351.46875,294.78894 L 342.5,294.78894 C 342.72913,298.18479 343.46871,301.42437 344.71875,304.50769 C 346.23954,308.29936 348.90621,312.04936 352.71875,315.75769 L 346.25,315.75769 C 343.68746,312.73686 341.72913,309.59103 340.375,306.32019 C 338.8958,302.6952 338.03122,298.85146 337.78125,294.78894" fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round"/></g>' }]
26
30
  };
27
31
  var SOURCE_PLANET_GLYPH_PRIMITIVES = {
28
- "sun": [{ kind: "raw", markup: '<g transform="scale(0.0244444) translate(-34.000000 -37.000000)"><path d="M 49.396475 36.70454 A 15.623922 16.319134 0 1 1 18.14863,36.70454 A 15.623922 16.319134 0 1 1 49.396475 36.70454 z" transform="matrix(1.022388,0,0,0.979597,-0.532287,1.029379)" fill="none" stroke="currentColor" stroke-width="1.99847329" stroke-linecap="round" stroke-linejoin="round"/><path d="M 38 37 A 4 5 0 1 1 30,37 A 4 5 0 1 1 38 37 z" transform="matrix(1,0,0,0.8,-5.551115e-16,7.4)" fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
29
- "moon": [{ kind: "raw", markup: '<g transform="scale(0.0244444) translate(-227.000000 -37.000000)"><path d="M 226.375 21 C 225.04184 21.050727 223.76172 21.267003 222.53125 21.625 C 229.15932 23.580213 234 29.7412 234 37 C 234 44.2588 229.15932 50.419787 222.53125 52.375 C 223.95102 52.788074 225.4475 53 227 53 C 235.832 53 243 45.832 243 37 C 243 28.168 235.832 21 227 21 C 226.793 21 226.5801 20.992196 226.375 21 z " fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
30
- "mercury": [{ kind: "raw", markup: '<g transform="scale(0.0176000) translate(-100.000000 -37.000000)"><path d="M 112 36.5 A 11.5 11.5 0 1 1 89,36.5 A 11.5 11.5 0 1 1 112 36.5 z" transform="matrix(0.96,0,0,0.96,3.52,0.96)" fill="none" stroke="currentColor" stroke-width="2.08333325" stroke-linecap="round" stroke-linejoin="round"/><path d="M 111.9469,37.603862 A 11.5,11.5 0 0 1 89.052015,37.592533" transform="matrix(0.96,0,0,0.96,3.56,-22.08)" fill="none" stroke="currentColor" stroke-width="2.08333325" stroke-linecap="round" stroke-linejoin="round"/><path d="M 100,47 L 100,59" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 95,54 L 105,54" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
31
- "venus": [{ kind: "raw", markup: '<g transform="scale(0.0258824) translate(-165.000000 -44.000000)"><path d="M 176 33 A 11 11 0 1 1 154,33 A 11 11 0 1 1 176 33 z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 165,44 L 165,58" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 159,52 L 171,52" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
32
- "mars": [{ kind: "raw", markup: '<g transform="scale(0.0209524) translate(-101.000000 -116.000000)"><path d="M 110 115.5 A 11.5 11.5 0 1 1 87,115.5 A 11.5 11.5 0 1 1 110 115.5 z" transform="matrix(1.04,0,0,1.04,-3.44,-4.12)" fill="none" stroke="currentColor" stroke-width="1.92307687" stroke-linecap="round" stroke-linejoin="round"/><path d="M 109.63106,110.4341 L 118.49032,105.79584" fill="none" stroke="currentColor" stroke-width="1.99999928" stroke-linecap="round" stroke-linejoin="round"/><path d="M 111.74156,103.68534 L 118.49032,105.79584 L 116.37982,112.5446" fill="none" stroke="currentColor" stroke-width="1.99999928" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
33
- "jupiter": [{ kind: "raw", markup: '<g transform="scale(0.0209524) translate(-165.000000 -115.000000)"><path d="M 174,95 L 174,134" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 180,124 L 151,124" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 154,109 C 153,109 151,108 151,104 C 151,100 155,96 159,96 C 163,96 167,99 167,106 C 167,113 162,124 152,124" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 156 109.5 A 0.5 0.5 0 1 1 155,109.5 A 0.5 0.5 0 1 1 156 109.5 z" transform="matrix(3.85432,0,0,3.99998,-445.3468,-329.9978)" fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
34
- "saturn": [{ kind: "raw", markup: '<g transform="scale(0.0209524) translate(-226.000000 -116.000000)"><path d="M 226,98 L 226,127" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 222,104 L 234,104" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 240,133 C 239,134 238,135 237,135 C 236,135 234,134 234,132 C 234,130 235,128 237,126 C 239,124 241,120 241,116 C 241,112 239,108 235,108 C 231.21681,108 228,110 226,114" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
35
- "uranus": [{ kind: "raw", markup: '<g transform="scale(0.0209524) translate(-36.000000 -195.000000)"><path d="M 25,204 L 18,204 L 18,203 L 23,202 L 23,182 L 18,181 L 18,180 L 25,180 L 25,204 z " fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M 47,204 L 54,204 L 54,203 L 49,202 L 49,182 L 54,181 L 54,180 L 47,180 L 47,204 z " fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M 24,192 L 48,192" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 36,180 L 36,206" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 40 211 A 4 4 0 1 1 32,211 A 4 4 0 1 1 40 211 z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
36
- "neptune": [{ kind: "raw", markup: '<g transform="scale(0.0209524) translate(-101.000000 -195.000000)"><path d="M 89,176 C 86,196 91,199 101,199 C 111,199 116,196 113,176" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 101,178 L 101,215" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 93,207 L 109,207" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
37
- "pluto": [{ kind: "raw", markup: '<g transform="scale(0.0209524) translate(-165.000000 -195.000000)"><path d="M 157,205 L 173,205" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 165,213 L 165,196" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 172 184 A 7 7 0 1 1 158,184 A 7 7 0 1 1 172 184 z" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 177,184 A 12,12 0 1 1 153,184" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
38
- "earth": [{ kind: "raw", markup: '<g transform="scale(0.0244444) translate(-34.000000 -117.000000)"><path d="M 49 116.5 A 15.5 15.5 0 1 1 18,116.5 A 15.5 15.5 0 1 1 49 116.5 z" transform="matrix(1.030303,0,0,1.030303,-0.515152,-3.030303)" fill="none" stroke="currentColor" stroke-width="1.94117641" stroke-linecap="round" stroke-linejoin="round"/><path d="M 18,117 L 50,117" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M 34,101 L 34,133" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>' }],
39
- "chiron": [{ kind: "raw", markup: '<g transform="scale(0.003) translate(0 -20)"><circle cx="0" cy="145" r="75" fill="none" stroke="currentColor" stroke-width="18" stroke-linecap="round"/><line x1="0" y1="70" x2="0" y2="-180" stroke="currentColor" stroke-width="18" stroke-linecap="round"/><line x1="0" y1="-60" x2="100" y2="-180" stroke="currentColor" stroke-width="18" stroke-linecap="round"/><line x1="0" y1="-60" x2="100" y2="40" stroke="currentColor" stroke-width="18" stroke-linecap="round"/></g>' }],
40
- "north node": rawGlyph('<g transform="scale(0.0095)"><path d="M-30,20 C-38,-12 -28,-44 0,-44 C28,-44 38,-12 30,20" fill="none" stroke="currentColor" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/><circle cx="-30" cy="31" r="9" fill="none" stroke="currentColor" stroke-width="7"/><circle cx="30" cy="31" r="9" fill="none" stroke="currentColor" stroke-width="7"/></g>'),
41
- "south node": rawGlyph('<g transform="scale(0.0095)"><path d="M-30,-20 C-38,12 -28,44 0,44 C28,44 38,12 30,-20" fill="none" stroke="currentColor" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/><circle cx="-30" cy="-31" r="9" fill="none" stroke="currentColor" stroke-width="7"/><circle cx="30" cy="-31" r="9" fill="none" stroke="currentColor" stroke-width="7"/></g>'),
42
- "lilith": rawGlyph('<g transform="scale(0.0085)"><path d="M12,-47 C-13,-42 -31,-20 -31,3 C-31,21 -18,34 -2,37 C-15,20 -14,-16 17,-39 C23,-43 20,-49 12,-47 Z" fill="currentColor"/><path d="M-2,35 L-2,55 M-16,46 L12,46" fill="none" stroke="currentColor" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/></g>'),
43
- "pars fortunae": rawGlyph('<g transform="scale(0.01)"><circle cx="0" cy="0" r="38" fill="none" stroke="currentColor" stroke-width="7"/><path d="M-27,-27 L27,27 M27,-27 L-27,27" fill="none" stroke="currentColor" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/></g>'),
32
+ "sun": rawPlanet(
33
+ `<circle cx="0" cy="0" r="34" fill="${GLYPH_FILL}"/><circle cx="0" cy="0" r="8.5" fill="currentColor" stroke="none"/>`
34
+ ),
35
+ "moon": rawPlanet(
36
+ `<path d="M-16,-38 C6,-34 24,-17 24,0 C24,17 6,34 -16,38 C-4,27 2,14 2,0 C2,-14 -4,-27 -16,-38 Z" fill="${GLYPH_FILL}"/>`
37
+ ),
38
+ "mercury": rawPlanet(
39
+ `<path d="M-20,-40 C-10,-18 10,-18 20,-40" fill="none"/><circle cx="0" cy="0" r="22" fill="${GLYPH_FILL}"/><path d="M0,22 L0,48 M-14,38 L14,38" fill="none"/>`
40
+ ),
41
+ "venus": rawPlanet(
42
+ `<circle cx="0" cy="-12" r="25" fill="${GLYPH_FILL}"/><path d="M0,13 L0,48 M-17,34 L17,34" fill="none"/>`
43
+ ),
44
+ "mars": rawPlanet(
45
+ `<circle cx="-10" cy="10" r="25" fill="${GLYPH_FILL}"/><path d="M8,-8 L38,-38 M20,-38 L38,-38 L38,-20" fill="none"/>`
46
+ ),
47
+ "jupiter": rawGlyph(`<g transform="scale(0.0209524) translate(-165.000000 -115.000000)"><path d="M 174,95 L 174,134" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/><path d="M 180,124 L 151,124" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/><path d="M 154,109 C 153,109 151,108 151,104 C 151,100 155,96 159,96 C 163,96 167,99 167,106 C 167,113 162,124 152,124" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/><path d="M 156 109.5 A 0.5 0.5 0 1 1 155,109.5 A 0.5 0.5 0 1 1 156 109.5 z" transform="matrix(3.85432,0,0,3.99998,-445.3468,-329.9978)" fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round"/></g>`),
48
+ "saturn": rawGlyph(`<g transform="scale(0.0209524) translate(-226.000000 -116.000000)"><path d="M 226,98 L 226,127" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/><path d="M 222,104 L 234,104" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/><path d="M 240,133 C 239,134 238,135 237,135 C 236,135 234,134 234,132 C 234,130 235,128 237,126 C 239,124 241,120 241,116 C 241,112 239,108 235,108 C 231.21681,108 228,110 226,114" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g>`),
49
+ "uranus": rawPlanet(
50
+ `<path d="M0,-42 L0,22 M-30,-25 L30,-25 M-40,-42 L-40,8 M40,-42 L40,8 M-40,-10 L-26,-10 M26,-10 L40,-10" fill="none"/><circle cx="0" cy="37" r="12" fill="${GLYPH_FILL}"/>`
51
+ ),
52
+ "neptune": rawPlanet(
53
+ `<path d="M-34,-38 C-38,-4 -21,10 0,10 C21,10 38,-4 34,-38" fill="none"/><path d="M0,-42 L0,48 M-18,34 L18,34" fill="none"/>`
54
+ ),
55
+ "pluto": rawPlanet(
56
+ `<circle cx="0" cy="-26" r="17" fill="${GLYPH_FILL}"/><path d="M-34,-26 C-31,0 31,0 34,-26" fill="none"/><path d="M0,-9 L0,48 M-20,30 L20,30" fill="none"/>`
57
+ ),
58
+ "earth": rawPlanet(
59
+ `<circle cx="0" cy="0" r="34" fill="${GLYPH_FILL}"/><path d="M-34,0 L34,0 M0,-34 L0,34" fill="none"/>`
60
+ ),
61
+ "chiron": rawPlanet(
62
+ `<circle cx="0" cy="28" r="19" fill="${GLYPH_FILL}"/><path d="M0,9 L0,-48 M0,-22 L28,-48 M0,-22 L28,4" fill="none"/>`
63
+ ),
64
+ "north node": rawPlanet(
65
+ `<path d="M-30,18 C-39,-14 -29,-43 0,-43 C29,-43 39,-14 30,18" fill="none"/><circle cx="-30" cy="31" r="10" fill="${GLYPH_FILL}"/><circle cx="30" cy="31" r="10" fill="${GLYPH_FILL}"/>`
66
+ ),
67
+ "south node": rawPlanet(
68
+ `<path d="M-30,-18 C-39,14 -29,43 0,43 C29,43 39,14 30,-18" fill="none"/><circle cx="-30" cy="-31" r="10" fill="${GLYPH_FILL}"/><circle cx="30" cy="-31" r="10" fill="${GLYPH_FILL}"/>`
69
+ ),
70
+ "lilith": rawPlanet(
71
+ `<path d="M15,-44 C-10,-40 -30,-18 -30,4 C-30,23 -15,36 4,38 C-12,19 -10,-14 20,-38 C26,-43 23,-48 15,-44 Z" fill="currentColor" stroke="none"/><path d="M0,36 L0,50 M-15,44 L15,44" fill="none"/>`
72
+ ),
73
+ "pars fortunae": rawPlanet(
74
+ `<circle cx="0" cy="0" r="34" fill="${GLYPH_FILL}"/><path d="M-24,-24 L24,24 M24,-24 L-24,24" fill="none"/>`
75
+ ),
44
76
  "ascendant": SOURCE_POINT_TEXT_GLYPH("AC"),
45
77
  "midheaven": SOURCE_POINT_TEXT_GLYPH("MC"),
46
78
  "descendant": SOURCE_POINT_TEXT_GLYPH("DC"),
@@ -219,6 +251,7 @@ function titleCaseGlyphKey(value) {
219
251
 
220
252
  // src/visual/astro-wheel.ts
221
253
  var TAU = Math.PI * 2;
254
+ var GLYPH_OUTLINE_FILTER_ID = "astro-wheel-glyph-outline";
222
255
  var ASTRO_WHEEL_DEFAULT_VIEWBOX = {
223
256
  minX: 0,
224
257
  minY: 0,
@@ -294,6 +327,7 @@ var DEFAULT_PALETTE = {
294
327
  angleLabel: "#0f172a",
295
328
  planetGlyph: "#111827",
296
329
  planetTick: "#111827",
330
+ glyphHalo: "#0a1628",
297
331
  aspectGuide: "#d7d0c6",
298
332
  elementColors: {
299
333
  fire: "#e27657",
@@ -326,6 +360,7 @@ var MONOCHROME_PALETTE = {
326
360
  angleLabel: "#111111",
327
361
  planetGlyph: "#111111",
328
362
  planetTick: "#111111",
363
+ glyphHalo: "#0a1628",
329
364
  aspectGuide: "#c9c9c9",
330
365
  elementColors: {
331
366
  fire: "#ececec",
@@ -361,8 +396,9 @@ function generateGlyphSvg(primitives, options = {}) {
361
396
  if (bg !== "transparent") {
362
397
  push(`<rect width="${size}" height="${size}" fill="${escapeAttr(bg)}"/>`);
363
398
  }
399
+ const glyphFill = bg === "transparent" ? "#fff" : bg;
364
400
  push(`<g transform="translate(${cx} ${cy}) scale(${fmt(scale)})" color="${escapeAttr(color)}" fill="${escapeAttr(fillVal)}" stroke="${escapeAttr(color)}" stroke-width="${fmt(sw)}" stroke-linecap="round" stroke-linejoin="round">`);
365
- renderGlyphPrimitives(push, primitives, { color});
401
+ renderGlyphPrimitives(push, primitives, { color, glyphFill });
366
402
  push(`</g>`);
367
403
  push(`</svg>`);
368
404
  return lines.join("\n");
@@ -377,12 +413,13 @@ function generateAstroGlyphSvg(keyOrGlyph, options = {}) {
377
413
  }
378
414
  function getAstroWheelRenderModel(chart, options = {}) {
379
415
  const viewBox = normalizeViewBox(options.viewBox);
380
- const palette = resolvePalette(options.palette);
416
+ const palette = resolvePalette(options.palette, options.background ?? "transparent");
417
+ const excludedBodies = resolveExcludedBodies(options.excludeBodies);
381
418
  const scale = Math.min(
382
419
  viewBox.width / ASTRO_WHEEL_DEFAULT_VIEWBOX.width,
383
420
  viewBox.height / ASTRO_WHEEL_DEFAULT_VIEWBOX.height
384
421
  );
385
- const padding = options.padding ?? round(18 * scale);
422
+ const padding = options.padding ?? round(18 * scale + getExternalPointPadding(options, scale));
386
423
  const center = {
387
424
  x: round(viewBox.minX + viewBox.width / 2),
388
425
  y: round(viewBox.minY + viewBox.height / 2)
@@ -417,13 +454,15 @@ function getAstroWheelRenderModel(chart, options = {}) {
417
454
  tickColor: palette.planetTick,
418
455
  radius: "base",
419
456
  nodes: resolvedPoints.nodes,
420
- vertex: resolvedPoints.vertex
457
+ vertex: resolvedPoints.vertex,
458
+ collisionThresholdDegrees: resolvedPoints.collisionThresholdDegrees
421
459
  },
422
460
  center,
423
461
  angleOf,
424
462
  rings,
425
463
  scale,
426
- palette
464
+ palette,
465
+ excludedBodies
427
466
  });
428
467
  const extraPointLayers = (options.pointLayers ?? []).map(
429
468
  (layer) => buildPointLayer({
@@ -432,7 +471,8 @@ function getAstroWheelRenderModel(chart, options = {}) {
432
471
  angleOf,
433
472
  rings,
434
473
  scale,
435
- palette
474
+ palette,
475
+ excludedBodies
436
476
  })
437
477
  );
438
478
  const pointLayers = [
@@ -454,7 +494,8 @@ function getAstroWheelRenderModel(chart, options = {}) {
454
494
  center,
455
495
  angleOf,
456
496
  rings,
457
- palette
497
+ palette,
498
+ excludedBodies
458
499
  }) : null;
459
500
  const extraAspectLayers = (options.aspectLayers ?? []).map(
460
501
  (layer) => buildAspectLayer({
@@ -464,7 +505,8 @@ function getAstroWheelRenderModel(chart, options = {}) {
464
505
  center,
465
506
  angleOf,
466
507
  rings,
467
- palette
508
+ palette,
509
+ excludedBodies
468
510
  })
469
511
  );
470
512
  const aspectLayers = [
@@ -509,6 +551,7 @@ function generateAstroWheelSvg(chart, options = {}) {
509
551
  ].filter(Boolean);
510
552
  push(`<svg ${svgAttributes.join(" ")}>`);
511
553
  push(`<title>${escapeText(options.title ?? "Astrological birth chart wheel")}</title>`);
554
+ renderSvgDefs(push, model);
512
555
  if (background !== "transparent") {
513
556
  push(
514
557
  `<rect x="${fmt(viewBox.minX)}" y="${fmt(viewBox.minY)}" width="${fmt(viewBox.width)}" height="${fmt(viewBox.height)}" fill="${escapeAttr(background)}"/>`
@@ -518,9 +561,31 @@ function generateAstroWheelSvg(chart, options = {}) {
518
561
  renderZodiac(push, model, zodiacOptions);
519
562
  renderHouses(push, model, houseOptions);
520
563
  renderPlanets(push, model);
564
+ renderGlyphOverlay(push, model);
521
565
  push(`</svg>`);
522
566
  return lines.join("\n");
523
567
  }
568
+ function renderSvgDefs(push, model) {
569
+ push(`<defs>`);
570
+ push(
571
+ `<filter id="${GLYPH_OUTLINE_FILTER_ID}" x="-45%" y="-45%" width="190%" height="190%">`
572
+ );
573
+ push(
574
+ `<feMorphology in="SourceAlpha" operator="dilate" radius="${fmt(1.75 * model.scale)}" result="dilated"/>`
575
+ );
576
+ push(
577
+ `<feFlood flood-color="${escapeAttr(model.palette.glyphHalo)}" result="haloColor"/>`
578
+ );
579
+ push(
580
+ `<feComposite in="haloColor" in2="dilated" operator="in" result="outline"/>`
581
+ );
582
+ push(`<feMerge>`);
583
+ push(`<feMergeNode in="outline"/>`);
584
+ push(`<feMergeNode in="SourceGraphic"/>`);
585
+ push(`</feMerge>`);
586
+ push(`</filter>`);
587
+ push(`</defs>`);
588
+ }
524
589
  function renderAspects(push, model) {
525
590
  if (model.aspectLayers.length === 0) {
526
591
  return;
@@ -626,9 +691,6 @@ function renderHouses(push, model, options) {
626
691
  push(
627
692
  `<line x1="${fmt(marker.line.x1)}" y1="${fmt(marker.line.y1)}" x2="${fmt(marker.line.x2)}" y2="${fmt(marker.line.y2)}" stroke="${escapeAttr(model.palette.angleLine)}" stroke-width="${fmt(2 * model.scale)}"/>`
628
693
  );
629
- push(
630
- `<text x="${fmt(marker.labelPosition.x)}" y="${fmt(marker.labelPosition.y)}" font-family="${textFontFamily()}" font-size="${fmt(marker.labelFontSize)}" text-anchor="middle" dominant-baseline="middle" fill="${escapeAttr(model.palette.angleLabel)}">${marker.key}</text>`
631
- );
632
694
  push(`</g>`);
633
695
  }
634
696
  }
@@ -639,6 +701,9 @@ function renderPlanets(push, model) {
639
701
  return;
640
702
  }
641
703
  push(`<g id="astro-wheel-planets" aria-label="planets">`);
704
+ for (const layer of model.pointLayers) {
705
+ renderPointLayerGuide(push, layer, model);
706
+ }
642
707
  for (const layer of model.pointLayers) {
643
708
  push(`<g class="astro-wheel-point-layer" data-point-layer="${escapeAttr(layer.id)}"${layer.label ? ` aria-label="${escapeAttr(layer.label)}"` : ""}>`);
644
709
  for (const point of layer.points) {
@@ -647,49 +712,346 @@ function renderPlanets(push, model) {
647
712
  );
648
713
  push(`<title>${escapeText(point.name)} ${fmt(point.longitude)}\xB0</title>`);
649
714
  push(
650
- `<line x1="${fmt(point.tickLine.x1)}" y1="${fmt(point.tickLine.y1)}" x2="${fmt(point.tickLine.x2)}" y2="${fmt(point.tickLine.y2)}" stroke="${escapeAttr(point.tickColor)}" stroke-opacity="0.85" stroke-width="${fmt(model.scale)}"/>`
715
+ `<line x1="${fmt(point.tickLine.x1)}" y1="${fmt(point.tickLine.y1)}" x2="${fmt(point.tickLine.x2)}" y2="${fmt(point.tickLine.y2)}" stroke="${escapeAttr(point.tickColor)}" stroke-opacity="0.82" stroke-width="${fmt(model.scale)}" stroke-linecap="round"/>`
651
716
  );
652
- renderPointGlyph(push, point);
653
- renderPointDegreeLabel(push, point, model.scale);
717
+ if (point.leaderLine) {
718
+ push(
719
+ `<line class="astro-wheel-point-leader" x1="${fmt(point.leaderLine.x1)}" y1="${fmt(point.leaderLine.y1)}" x2="${fmt(point.leaderLine.x2)}" y2="${fmt(point.leaderLine.y2)}" stroke="${escapeAttr(point.tickColor)}" stroke-opacity="0.52" stroke-width="${fmt(0.9 * model.scale)}" stroke-linecap="round"/>`
720
+ );
721
+ }
654
722
  push(`</g>`);
655
723
  }
656
724
  push(`</g>`);
657
725
  }
658
726
  push(`</g>`);
659
727
  }
660
- function renderPointGlyph(push, point) {
728
+ function renderPointLayerGuide(push, layer, model) {
729
+ const isExternal = layer.radius > model.rings.houses.r2 + model.scale;
730
+ if (!isExternal) {
731
+ return;
732
+ }
733
+ push(
734
+ `<circle class="astro-wheel-external-point-ring" data-point-layer="${escapeAttr(layer.id)}" cx="${fmt(model.center.x)}" cy="${fmt(model.center.y)}" r="${fmt(layer.radius)}" fill="none" stroke="${escapeAttr(layer.tickColor)}" stroke-opacity="0.32" stroke-width="${fmt(1.15 * model.scale)}"/>`
735
+ );
736
+ }
737
+ function renderGlyphOverlay(push, model) {
738
+ if (model.angleMarkers.length === 0 && model.pointLayers.length === 0) {
739
+ return;
740
+ }
741
+ push(`<g id="astro-wheel-glyph-layer" aria-label="chart glyphs">`);
742
+ if (model.angleMarkers.length > 0) {
743
+ push(`<g id="astro-wheel-angle-glyphs" aria-label="angle glyphs">`);
744
+ for (const marker of model.angleMarkers) {
745
+ renderAngleGlyph(push, marker, model);
746
+ }
747
+ push(`</g>`);
748
+ }
749
+ if (model.pointLayers.length > 0) {
750
+ push(`<g id="astro-wheel-point-glyphs" aria-label="planet glyphs">`);
751
+ for (const layer of model.pointLayers) {
752
+ push(`<g class="astro-wheel-point-glyph-layer" data-point-layer="${escapeAttr(layer.id)}"${layer.label ? ` aria-label="${escapeAttr(layer.label)} glyphs"` : ""}>`);
753
+ for (const point of layer.points) {
754
+ renderPointLabelGroup(push, point, model);
755
+ }
756
+ push(`</g>`);
757
+ }
758
+ push(`</g>`);
759
+ }
760
+ push(`</g>`);
761
+ }
762
+ function renderAngleGlyph(push, marker, model) {
763
+ const label = angleDisplayLabel(marker.key);
764
+ const position = formatInlinePosition(marker.zodiacPosition);
765
+ const labelFontSize = marker.labelFontSize;
766
+ const positionFontSize = clamp(marker.labelFontSize * 0.52, 5.5 * model.scale, 9 * model.scale);
767
+ const signScale = positionFontSize * 0.88;
768
+ const gap = clamp(3.2 * model.scale, 2.5, 5);
769
+ const labelWidth = estimateTextWidth(label, labelFontSize);
770
+ const degreeWidth = estimateTextWidth(position.degreesText, positionFontSize);
771
+ const minutesWidth = estimateTextWidth(position.minutesText, positionFontSize);
772
+ const totalWidth = labelWidth + gap + degreeWidth + gap + signScale + gap + minutesWidth;
773
+ const startX = -totalWidth / 2;
774
+ const labelX = startX;
775
+ const degreeX = labelX + labelWidth + gap;
776
+ const signX = degreeX + degreeWidth + gap + signScale / 2;
777
+ const minutesX = signX + signScale / 2 + gap;
778
+ push(
779
+ `<g class="astro-wheel-angle-glyph-label" data-angle-marker="${marker.key}" data-longitude="${fmt(marker.longitude)}" transform="translate(${fmt(marker.labelPosition.x)} ${fmt(marker.labelPosition.y)}) rotate(${fmt(marker.labelRotation)})" filter="url(#${GLYPH_OUTLINE_FILTER_ID})">`
780
+ );
781
+ push(`<title>${escapeText(`${label} ${position.degreesText} ${position.sign} ${position.minutesText}`)}</title>`);
782
+ push(
783
+ `<text class="astro-wheel-angle-label" x="${fmt(labelX)}" y="0" font-family="${textFontFamily()}" font-size="${fmt(labelFontSize)}" text-anchor="start" dominant-baseline="middle" fill="${escapeAttr(model.palette.angleLabel)}" font-weight="700">${escapeText(label)}</text>`
784
+ );
785
+ push(
786
+ `<text class="astro-wheel-angle-degree" x="${fmt(degreeX)}" y="0" font-family="${textFontFamily()}" font-size="${fmt(positionFontSize)}" text-anchor="start" dominant-baseline="middle" fill="${escapeAttr(model.palette.angleLabel)}">${escapeText(position.degreesText)}</text>`
787
+ );
788
+ renderInlineSignGlyph(
789
+ push,
790
+ position.sign,
791
+ signX,
792
+ 0,
793
+ signScale,
794
+ model.palette.angleLabel
795
+ );
796
+ push(
797
+ `<text class="astro-wheel-angle-minutes" x="${fmt(minutesX)}" y="0" font-family="${textFontFamily()}" font-size="${fmt(positionFontSize)}" text-anchor="start" dominant-baseline="middle" fill="${escapeAttr(model.palette.angleLabel)}">${escapeText(position.minutesText)}</text>`
798
+ );
799
+ push(`</g>`);
800
+ }
801
+ function angleDisplayLabel(key) {
802
+ if (key === "ASC") return "AC";
803
+ if (key === "DSC") return "DC";
804
+ return key;
805
+ }
806
+ function renderPointLabelGroup(push, point, model) {
807
+ const layout = getPointLabelLayout(point, model.scale);
808
+ const boundsAttr = point.labelBounds ? ` data-label-bounds="${escapeAttr(formatLabelBounds(point.labelBounds))}"` : "";
809
+ push(
810
+ `<g class="astro-wheel-point-label" data-point-layer="${escapeAttr(point.layerId)}" data-point-key="${escapeAttr(point.key)}" data-point-name="${escapeAttr(point.name)}" data-point-kind="${point.kind}" data-longitude="${fmt(point.longitude)}"${boundsAttr} transform="translate(${fmt(point.glyphPosition.x)} ${fmt(point.glyphPosition.y)})" filter="url(#${GLYPH_OUTLINE_FILTER_ID})">`
811
+ );
812
+ push(`<title>${escapeText(pointLabelTitle(point))}</title>`);
813
+ renderPointGlyph(push, point, layout.glyphX, layout.glyphY, layout.glyphScale, model.palette.glyphHalo);
814
+ if (point.retrograde) {
815
+ renderRetrogradeMarker(
816
+ push,
817
+ layout.retrogradeX,
818
+ layout.retrogradeY,
819
+ layout.retrogradeFontSize,
820
+ point.color
821
+ );
822
+ }
823
+ renderPointInlineDegreeLabel(push, point, layout);
824
+ push(`</g>`);
825
+ }
826
+ function renderPointGlyph(push, point, x, y, glyphScale, glyphFill) {
661
827
  const glyph = point.glyphKey ? getAstroGlyph(point.glyphKey) : resolvePointGlyph(point.name);
662
828
  if (glyph) {
663
- const glyphScale = point.glyphFontSize * 0.66;
664
829
  const strokeWidth = clamp(0.12 / Math.max(glyphScale / 10, 0.6), 0.1, 0.18);
665
830
  push(
666
- `<g class="astro-wheel-glyph" data-astro-glyph="${escapeAttr(glyph.key)}" data-astro-glyph-category="${glyph.category}" data-point-glyph="${escapeAttr(point.name)}" transform="translate(${fmt(point.glyphPosition.x)} ${fmt(point.glyphPosition.y)}) scale(${fmt(glyphScale)})" color="${escapeAttr(point.color)}" fill="none" stroke="${escapeAttr(point.color)}" stroke-width="${fmt(strokeWidth)}" stroke-linecap="round" stroke-linejoin="round">`
831
+ `<g class="astro-wheel-glyph" data-astro-glyph="${escapeAttr(glyph.key)}" data-astro-glyph-category="${glyph.category}" data-point-glyph="${escapeAttr(point.name)}" transform="translate(${fmt(x)} ${fmt(y)}) scale(${fmt(glyphScale)})" color="${escapeAttr(point.color)}" fill="none" stroke="${escapeAttr(point.color)}" stroke-width="${fmt(strokeWidth)}" stroke-linecap="round" stroke-linejoin="round">`
667
832
  );
668
- renderGlyphPrimitives(push, glyph.primitives, { color: point.color });
833
+ renderGlyphPrimitives(push, glyph.primitives, { color: point.color, glyphFill });
669
834
  push(`</g>`);
670
835
  } else {
671
836
  push(
672
- `<text x="${fmt(point.glyphPosition.x)}" y="${fmt(point.glyphPosition.y)}" font-family="${symbolFontFamily()}" font-size="${fmt(point.glyphFontSize)}" text-anchor="middle" dominant-baseline="middle" fill="${escapeAttr(point.color)}">${escapeText(point.glyph)}</text>`
837
+ `<text class="astro-wheel-glyph" data-point-glyph="${escapeAttr(point.name)}" x="${fmt(x)}" y="${fmt(y)}" font-family="${symbolFontFamily()}" font-size="${fmt(point.glyphFontSize)}" text-anchor="middle" dominant-baseline="middle" fill="${escapeAttr(point.color)}">${escapeText(point.glyph)}</text>`
673
838
  );
674
839
  }
675
840
  }
676
- function renderPointDegreeLabel(push, point, scale) {
677
- const position = point.zodiacPosition;
678
- if (!position) {
841
+ function renderRetrogradeMarker(push, x, y, fontSize, color) {
842
+ const glyph = resolvePointGlyph("retrograde");
843
+ if (glyph) {
844
+ const glyphScale = fontSize * 0.62;
845
+ const strokeWidth = clamp(0.12 / Math.max(glyphScale / 10, 0.6), 0.1, 0.18);
846
+ push(
847
+ `<g class="astro-wheel-point-retrograde" data-astro-glyph="${escapeAttr(glyph.key)}" data-astro-glyph-category="${glyph.category}" transform="translate(${fmt(x)} ${fmt(y)}) scale(${fmt(glyphScale)})" color="${escapeAttr(color)}" fill="none" stroke="${escapeAttr(color)}" stroke-width="${fmt(strokeWidth)}" stroke-linecap="round" stroke-linejoin="round">`
848
+ );
849
+ renderGlyphPrimitives(push, glyph.primitives, { color });
850
+ push(`</g>`);
679
851
  return;
680
852
  }
853
+ push(
854
+ `<text class="astro-wheel-point-retrograde" x="${fmt(x)}" y="${fmt(y)}" font-family="${textFontFamily()}" font-size="${fmt(fontSize)}" text-anchor="middle" dominant-baseline="middle" fill="${escapeAttr(color)}" font-weight="700">R</text>`
855
+ );
856
+ }
857
+ function renderPointInlineDegreeLabel(push, point, layout) {
858
+ if (!layout.position) {
859
+ return;
860
+ }
861
+ push(
862
+ `<text class="astro-wheel-point-degree" x="${fmt(layout.degreeX)}" y="${fmt(layout.degreeY)}" font-family="${textFontFamily()}" font-size="${fmt(layout.fontSize)}" text-anchor="start" dominant-baseline="middle" fill="${escapeAttr(point.color)}" fill-opacity="0.9">${escapeText(layout.position.degreesText)}</text>`
863
+ );
864
+ renderInlineSignGlyph(push, layout.position.sign, layout.signX, layout.signY, layout.signScale, point.color);
865
+ push(
866
+ `<text class="astro-wheel-point-minutes" x="${fmt(layout.minutesX)}" y="${fmt(layout.minutesY)}" font-family="${textFontFamily()}" font-size="${fmt(layout.fontSize)}" text-anchor="start" dominant-baseline="middle" fill="${escapeAttr(point.color)}" fill-opacity="0.9">${escapeText(layout.position.minutesText)}</text>`
867
+ );
868
+ }
869
+ function renderInlineSignGlyph(push, sign, x, y, glyphScale, color) {
870
+ const glyph = ZODIAC_GLYPHS[sign];
871
+ if (glyph) {
872
+ const strokeWidth = clamp(0.11 / Math.max(glyphScale / 10, 0.6), 0.08, 0.16);
873
+ push(
874
+ `<g class="astro-wheel-point-sign-glyph" data-astro-glyph="${escapeAttr(glyph.key)}" data-astro-glyph-category="${glyph.category}" data-zodiac-glyph="${escapeAttr(sign)}" transform="translate(${fmt(x)} ${fmt(y)}) scale(${fmt(glyphScale)})" color="${escapeAttr(color)}" fill="none" stroke="${escapeAttr(color)}" stroke-width="${fmt(strokeWidth)}" stroke-linecap="round" stroke-linejoin="round">`
875
+ );
876
+ renderGlyphPrimitives(push, glyph.primitives, { color });
877
+ push(`</g>`);
878
+ return;
879
+ }
880
+ push(
881
+ `<text class="astro-wheel-point-sign-glyph" x="${fmt(x)}" y="${fmt(y)}" font-family="${symbolFontFamily()}" font-size="${fmt(glyphScale)}" text-anchor="middle" dominant-baseline="middle" fill="${escapeAttr(color)}">${escapeText(sign.charAt(0).toUpperCase())}</text>`
882
+ );
883
+ }
884
+ function getPointLabelLayout(point, scale) {
885
+ const glyphScale = point.glyphFontSize * 0.66;
886
+ const fontSize = clamp(point.glyphFontSize * 0.31, 5.5 * scale, 9 * scale);
887
+ const signScale = fontSize * 0.82;
888
+ const gap = clamp(3.2 * scale, 2.4, 5);
889
+ const railGap = clamp(4.4 * scale, 3.2, 7);
890
+ const retrogradeFontSize = clamp(fontSize * 0.74, 4.4 * scale, 7.2 * scale);
891
+ const retrogradeTextWidth = point.retrograde ? estimateTextWidth("Rx", retrogradeFontSize) : 0;
892
+ const retrogradeGap = point.retrograde ? clamp(1.7 * scale, 1.2, 3) : 0;
893
+ const position = point.zodiacPosition ? formatInlinePosition(point.zodiacPosition) : null;
894
+ const degreeWidth = position ? estimateTextWidth(position.degreesText, fontSize) : 0;
895
+ const minutesWidth = position ? estimateTextWidth(position.minutesText, fontSize) : 0;
896
+ const positionWidth = position ? degreeWidth + gap + signScale + gap + minutesWidth : 0;
897
+ const positionHeight = position ? Math.max(fontSize, signScale) : 0;
898
+ const inwardX = -Math.cos(point.labelAngle);
899
+ const inwardY = -Math.sin(point.labelAngle);
900
+ const glyphHalf = glyphScale / 2;
901
+ const retrogradeCenterDistance = point.retrograde ? glyphHalf + retrogradeGap + retrogradeTextWidth / 2 : 0;
902
+ const retrogradeRailWidth = point.retrograde ? retrogradeGap + retrogradeTextWidth : 0;
903
+ const positionCenterDistance = position ? glyphHalf + retrogradeRailWidth + railGap + positionWidth / 2 : 0;
904
+ const positionCenterX = inwardX * positionCenterDistance;
905
+ const positionCenterY = inwardY * positionCenterDistance;
906
+ const positionLeftX = positionCenterX - positionWidth / 2;
907
+ const glyphX = 0;
908
+ const glyphY = 0;
909
+ const retrogradeX = inwardX * retrogradeCenterDistance;
910
+ const retrogradeY = inwardY * retrogradeCenterDistance;
911
+ const degreeX = positionLeftX;
912
+ const degreeY = positionCenterY;
913
+ const signX = degreeX + degreeWidth + gap + signScale / 2;
914
+ const signY = positionCenterY;
915
+ const minutesX = signX + signScale / 2 + gap;
916
+ const minutesY = positionCenterY;
917
+ const boxes = [
918
+ {
919
+ x: -glyphHalf,
920
+ y: -glyphHalf,
921
+ width: glyphScale,
922
+ height: glyphScale
923
+ }
924
+ ];
925
+ if (point.retrograde) {
926
+ boxes.push({
927
+ x: retrogradeX - retrogradeTextWidth / 2,
928
+ y: retrogradeY - retrogradeFontSize / 2,
929
+ width: retrogradeTextWidth,
930
+ height: retrogradeFontSize
931
+ });
932
+ }
933
+ if (position) {
934
+ boxes.push({
935
+ x: positionLeftX,
936
+ y: positionCenterY - positionHeight / 2,
937
+ width: positionWidth,
938
+ height: positionHeight
939
+ });
940
+ }
941
+ const boundsX = Math.min(...boxes.map((box) => box.x));
942
+ const boundsY = Math.min(...boxes.map((box) => box.y));
943
+ const boundsMaxX = Math.max(...boxes.map((box) => box.x + box.width));
944
+ const boundsMaxY = Math.max(...boxes.map((box) => box.y + box.height));
945
+ return {
946
+ glyphScale,
947
+ glyphX,
948
+ glyphY,
949
+ fontSize,
950
+ degreeX,
951
+ degreeY,
952
+ signX,
953
+ signScale,
954
+ signY,
955
+ minutesX,
956
+ minutesY,
957
+ retrogradeX,
958
+ retrogradeY,
959
+ retrogradeFontSize,
960
+ boundsX,
961
+ boundsY,
962
+ width: boundsMaxX - boundsX,
963
+ height: boundsMaxY - boundsY,
964
+ position
965
+ };
966
+ }
967
+ function formatInlinePosition(position) {
681
968
  let degrees = Math.floor(position.decimalDegrees);
682
969
  let minutes = Math.round((position.decimalDegrees - degrees) * 60);
683
970
  if (minutes === 60) {
684
971
  degrees += 1;
685
972
  minutes = 0;
686
973
  }
687
- const label = minutes > 0 ? `${degrees}\xB0${String(minutes).padStart(2, "0")}\u2032` : `${degrees}\xB0`;
688
- const fontSize = clamp(point.glyphFontSize * 0.31, 5.5 * scale, 9 * scale);
689
- const y = point.glyphPosition.y + point.glyphFontSize * 0.68;
690
- push(
691
- `<text class="astro-wheel-point-degree" x="${fmt(point.glyphPosition.x)}" y="${fmt(y)}" font-family="${textFontFamily()}" font-size="${fmt(fontSize)}" text-anchor="middle" dominant-baseline="middle" fill="${escapeAttr(point.color)}" fill-opacity="0.85">${escapeText(label)}</text>`
974
+ return {
975
+ sign: position.sign,
976
+ degreesText: `${degrees}\xB0`,
977
+ minutesText: `${String(minutes).padStart(2, "0")}'`
978
+ };
979
+ }
980
+ function pointLabelTitle(point) {
981
+ const position = point.zodiacPosition ? formatInlinePosition(point.zodiacPosition) : null;
982
+ if (!position) {
983
+ return `${point.name} ${fmt(point.longitude)}\xB0`;
984
+ }
985
+ const retrograde = point.retrograde ? " Rx" : "";
986
+ return `${point.name} ${position.degreesText} ${position.sign} ${position.minutesText}${retrograde}`;
987
+ }
988
+ function estimateTextWidth(value, fontSize) {
989
+ return value.length * fontSize * 0.56;
990
+ }
991
+ function labelBoundsFor(position, layout, padding) {
992
+ const width = layout.width + padding * 2;
993
+ const height = layout.height + padding * 2;
994
+ return {
995
+ x: round(position.x + layout.boundsX - padding),
996
+ y: round(position.y + layout.boundsY - padding),
997
+ width: round(width),
998
+ height: round(height)
999
+ };
1000
+ }
1001
+ function constrainLabelInsideCircle(params) {
1002
+ const { center, layout, padding, maxRadius } = params;
1003
+ if (!Number.isFinite(maxRadius)) {
1004
+ return {
1005
+ position: params.position,
1006
+ bounds: labelBoundsFor(params.position, layout, padding),
1007
+ moved: false
1008
+ };
1009
+ }
1010
+ let position = params.position;
1011
+ let moved = false;
1012
+ for (let attempt = 0; attempt < 6; attempt++) {
1013
+ const bounds = labelBoundsFor(position, layout, padding);
1014
+ const overflow = labelBoundsCircleOverflow(center, bounds, maxRadius);
1015
+ if (overflow <= 0) {
1016
+ return { position, bounds, moved };
1017
+ }
1018
+ const dx = position.x - center.x;
1019
+ const dy = position.y - center.y;
1020
+ const distance = Math.max(Math.hypot(dx, dy), 1);
1021
+ position = {
1022
+ x: round(position.x - dx / distance * (overflow + 0.75)),
1023
+ y: round(position.y - dy / distance * (overflow + 0.75))
1024
+ };
1025
+ moved = true;
1026
+ }
1027
+ return {
1028
+ position,
1029
+ bounds: labelBoundsFor(position, layout, padding),
1030
+ moved
1031
+ };
1032
+ }
1033
+ function labelBoundsCircleOverflow(center, bounds, maxRadius) {
1034
+ const corners = [
1035
+ { x: bounds.x, y: bounds.y },
1036
+ { x: bounds.x + bounds.width, y: bounds.y },
1037
+ { x: bounds.x, y: bounds.y + bounds.height },
1038
+ { x: bounds.x + bounds.width, y: bounds.y + bounds.height }
1039
+ ];
1040
+ const farthestCorner = Math.max(
1041
+ ...corners.map(
1042
+ (corner) => Math.hypot(corner.x - center.x, corner.y - center.y)
1043
+ )
692
1044
  );
1045
+ return farthestCorner - maxRadius;
1046
+ }
1047
+ function hasLabelBoundsCollision(bounds, placed) {
1048
+ return placed.some((other) => labelBoundsOverlap(bounds, other));
1049
+ }
1050
+ function labelBoundsOverlap(a, b) {
1051
+ return !(a.x + a.width <= b.x || b.x + b.width <= a.x || a.y + a.height <= b.y || b.y + b.height <= a.y);
1052
+ }
1053
+ function formatLabelBounds(bounds) {
1054
+ return `${fmt(bounds.x)} ${fmt(bounds.y)} ${fmt(bounds.width)} ${fmt(bounds.height)}`;
693
1055
  }
694
1056
  var POINT_GLYPH_ALIASES = {
695
1057
  "mean node": "north node",
@@ -724,6 +1086,15 @@ function resolvePointGlyph(name) {
724
1086
  const resolved = POINT_GLYPH_ALIASES[key] ?? key;
725
1087
  return PLANET_GLYPHS[resolved] ?? ANGLE_GLYPHS[resolved] ?? null;
726
1088
  }
1089
+ function getExternalPointPadding(options, scale) {
1090
+ const externalLayers = options.pointLayers?.filter((layer) => layer.radius === "external") ?? [];
1091
+ if (externalLayers.length === 0) {
1092
+ return 0;
1093
+ }
1094
+ return Math.max(
1095
+ ...externalLayers.map((layer) => (layer.radiusOffset ?? 18) + 36 * scale)
1096
+ );
1097
+ }
727
1098
  function buildZodiacSegments(params) {
728
1099
  const { center, angleOf, rings, scale, palette } = params;
729
1100
  const boundaries = unwrapAngles(
@@ -762,7 +1133,7 @@ function buildZodiacSegments(params) {
762
1133
  function buildHouseCusps(params) {
763
1134
  const { houses, center, angleOf, rings, scale } = params;
764
1135
  const ring = rings.houses;
765
- const spokeInnerRadius = Math.max(16 * scale, rings.aspects.r2 * 0.14);
1136
+ const spokeInnerRadius = rings.aspects.r2;
766
1137
  const spokeOuterRadius = ring.r2 + 4 * scale;
767
1138
  const labelRadius = ring.r2 + 12 * scale;
768
1139
  const labelFontSize = clamp((ring.r2 - ring.r1) * 0.48, 10 * scale, 19 * scale);
@@ -784,7 +1155,7 @@ function buildHouseCusps(params) {
784
1155
  function buildAngleMarkers(params) {
785
1156
  const { chart, center, angleOf, rings, scale } = params;
786
1157
  const ring = rings.houses;
787
- const labelFontSize = clamp((ring.r2 - ring.r1) * 0.3, 8 * scale, 18 * scale);
1158
+ const labelFontSize = clamp((ring.r2 - ring.r1) * 0.32, 8 * scale, 18 * scale);
788
1159
  const markers = [
789
1160
  { key: "ASC", position: chart.houses.ascendant },
790
1161
  { key: "MC", position: chart.houses.mc },
@@ -793,55 +1164,147 @@ function buildAngleMarkers(params) {
793
1164
  ];
794
1165
  return markers.map((marker) => {
795
1166
  const angle = angleOf(marker.position.longitude);
1167
+ const angleDeg = clamp360(angle * (180 / Math.PI));
1168
+ let labelRotation = angleDeg;
1169
+ if (labelRotation > 90 && labelRotation < 270) {
1170
+ labelRotation -= 180;
1171
+ }
796
1172
  return {
797
1173
  key: marker.key,
798
1174
  longitude: normalizeAngle(marker.position.longitude),
1175
+ zodiacPosition: marker.position,
799
1176
  line: lineFromPolar(center, ring.r1 + 4 * scale, ring.r2 - 4 * scale, angle),
800
- labelPosition: polarWithNudge(center.x, center.y, (ring.r1 + ring.r2) / 2, angle, 0, 10 * scale),
801
- labelFontSize
1177
+ labelPosition: polarWithNudge(
1178
+ center.x,
1179
+ center.y,
1180
+ ring.r2 + 9 * scale,
1181
+ angle,
1182
+ 0,
1183
+ 0
1184
+ ),
1185
+ labelFontSize,
1186
+ labelRotation
802
1187
  };
803
1188
  });
804
1189
  }
805
1190
  function buildPointLayer(params) {
806
- const { layer, center, angleOf, rings, scale, palette } = params;
1191
+ const { layer, center, angleOf, rings, scale, palette, excludedBodies } = params;
807
1192
  const ring = rings.planets;
808
- const radius = resolvePointLayerRadius(layer, ring);
1193
+ const requestedRadius = resolvePointLayerRadius(layer, rings);
1194
+ const requestedExternalLayer = requestedRadius > rings.houses.r2 + scale;
809
1195
  const thickness = ring.r2 - ring.r1;
810
1196
  const glyphFontSize = clamp(thickness * 0.68, 14 * scale, 30 * scale) * (layer.glyphScale ?? 1);
1197
+ const autoPlanetRail = layer.radius === void 0 || layer.radius === "base";
1198
+ const radius = !requestedExternalLayer && autoPlanetRail ? clamp(
1199
+ ring.r2 - glyphFontSize * 0.58 - Math.max(3 * scale, 2),
1200
+ ring.r1 + glyphFontSize * 0.65,
1201
+ ring.r2 - glyphFontSize * 0.48
1202
+ ) : requestedRadius;
1203
+ const isExternalLayer = radius > rings.houses.r2 + scale;
811
1204
  const tickLength = Math.min(14 * scale, thickness * 0.34);
812
- const minSepDeg = Math.max(
813
- 2,
814
- Math.min(8, glyphFontSize * 0.9 / Math.max(radius, 1) * (180 / Math.PI))
1205
+ const glyphMinSepDeg = glyphFontSize * 0.9 / Math.max(radius, 1) * (180 / Math.PI);
1206
+ const collisionThresholdDegrees = clamp(
1207
+ layer.collisionThresholdDegrees ?? Math.max(2, Math.min(8, glyphMinSepDeg)),
1208
+ 0,
1209
+ 30
815
1210
  );
816
- const neighborShiftDeg = minSepDeg * 0.65;
817
- const seeds = getPointSeeds(layer);
818
- const clusters = clusterPointSeeds(seeds, minSepDeg);
1211
+ const tangentStep = glyphFontSize * (isExternalLayer ? 0.68 : 0.74);
1212
+ const collisionPadding = Math.max(2 * scale, 1.5);
1213
+ const zodiacKeepOutGap = Math.max(5 * scale, 4);
1214
+ const labelMaxRadius = isExternalLayer ? Number.POSITIVE_INFINITY : rings.zodiac.r1 - zodiacKeepOutGap;
1215
+ const seeds = getPointSeeds(layer, excludedBodies);
1216
+ const clusters = clusterPointSeeds(seeds, collisionThresholdDegrees);
819
1217
  const color = layer.color ?? palette.planetGlyph;
820
1218
  const tickColor = layer.tickColor ?? color;
821
- const points = clusters.flatMap(
822
- (cluster) => cluster.map((seed, index) => {
823
- const offset = (index - (cluster.length - 1) / 2) * neighborShiftDeg;
824
- const displayLongitude = normalizeAngle(seed.longitude + offset);
1219
+ const placedLabelBounds = [];
1220
+ const points = clusters.flatMap((cluster) => {
1221
+ const clusterMidpoint = (cluster.length - 1) / 2;
1222
+ return cluster.map((seed, index) => {
825
1223
  const tickAngle = angleOf(seed.longitude);
826
- const glyphAngle = angleOf(displayLongitude);
827
- return {
828
- layerId: layer.id,
829
- key: seed.key,
830
- name: seed.name,
831
- kind: seed.kind,
832
- glyph: seed.glyph,
833
- glyphKey: seed.glyphKey,
834
- longitude: normalizeAngle(seed.longitude),
835
- displayLongitude,
836
- zodiacPosition: seed.zodiacPosition,
837
- tickLine: lineFromPolar(center, ring.r2 - tickLength, ring.r2, tickAngle),
838
- glyphPosition: polarToXY(center.x, center.y, radius, glyphAngle),
839
- glyphFontSize: seed.kind === "vertex" ? glyphFontSize * 0.62 : glyphFontSize,
840
- color,
841
- tickColor
1224
+ const pointGlyphFontSize = seed.kind === "vertex" ? glyphFontSize * 0.82 : glyphFontSize;
1225
+ const rawGlyphRadius = radius;
1226
+ const glyphRadius = isExternalLayer ? rawGlyphRadius : clamp(
1227
+ rawGlyphRadius,
1228
+ rings.aspects.r2 + pointGlyphFontSize * 0.65,
1229
+ labelMaxRadius - pointGlyphFontSize * 0.5
1230
+ );
1231
+ const tickLine = isExternalLayer ? lineFromPolar(
1232
+ center,
1233
+ rings.houses.r2 + 2 * scale,
1234
+ Math.max(rings.houses.r2 + 6 * scale, radius - glyphFontSize * 0.44),
1235
+ tickAngle
1236
+ ) : lineFromPolar(center, ring.r2 - tickLength, ring.r2, tickAngle);
1237
+ const leaderStartRadius = isExternalLayer ? Math.max(rings.houses.r2 + 6 * scale, radius - glyphFontSize * 0.44) : radius;
1238
+ const leaderStart = polarToXY(center.x, center.y, leaderStartRadius, tickAngle);
1239
+ let tangentOffset = cluster.length > 1 ? (index - clusterMidpoint) * tangentStep : 0;
1240
+ const nudgeDirection = index - clusterMidpoint >= 0 ? 1 : -1;
1241
+ const makePoint = () => {
1242
+ const labelAngle = tickAngle + tangentOffset / Math.max(glyphRadius, 1);
1243
+ let glyphPosition = polarToXY(center.x, center.y, glyphRadius, labelAngle);
1244
+ const labelDisplaced = Math.abs(tangentOffset) > 0.01;
1245
+ let point2 = {
1246
+ layerId: layer.id,
1247
+ key: seed.key,
1248
+ name: seed.name,
1249
+ kind: seed.kind,
1250
+ glyph: seed.glyph,
1251
+ glyphKey: seed.glyphKey,
1252
+ longitude: normalizeAngle(seed.longitude),
1253
+ displayLongitude: normalizeAngle(seed.longitude),
1254
+ zodiacPosition: seed.zodiacPosition,
1255
+ tickLine,
1256
+ labelAngle,
1257
+ leaderLine: labelDisplaced ? {
1258
+ x1: leaderStart.x,
1259
+ y1: leaderStart.y,
1260
+ x2: glyphPosition.x,
1261
+ y2: glyphPosition.y
1262
+ } : void 0,
1263
+ glyphPosition,
1264
+ glyphFontSize: pointGlyphFontSize,
1265
+ retrograde: seed.retrograde,
1266
+ color,
1267
+ tickColor
1268
+ };
1269
+ const layout = getPointLabelLayout(point2, scale);
1270
+ const constrainedLabel = constrainLabelInsideCircle({
1271
+ center,
1272
+ position: glyphPosition,
1273
+ layout,
1274
+ padding: collisionPadding,
1275
+ maxRadius: labelMaxRadius
1276
+ });
1277
+ if (constrainedLabel.moved) {
1278
+ glyphPosition = constrainedLabel.position;
1279
+ point2 = {
1280
+ ...point2,
1281
+ glyphPosition,
1282
+ leaderLine: {
1283
+ x1: leaderStart.x,
1284
+ y1: leaderStart.y,
1285
+ x2: glyphPosition.x,
1286
+ y2: glyphPosition.y
1287
+ }
1288
+ };
1289
+ }
1290
+ return {
1291
+ ...point2,
1292
+ labelBounds: constrainedLabel.bounds
1293
+ };
842
1294
  };
843
- })
844
- );
1295
+ let point = makePoint();
1296
+ let attempts = 0;
1297
+ while (point.labelBounds && hasLabelBoundsCollision(point.labelBounds, placedLabelBounds) && attempts < 16) {
1298
+ tangentOffset += nudgeDirection * (tangentStep * 0.45 + collisionPadding);
1299
+ point = makePoint();
1300
+ attempts += 1;
1301
+ }
1302
+ if (point.labelBounds) {
1303
+ placedLabelBounds.push(point.labelBounds);
1304
+ }
1305
+ return point;
1306
+ });
1307
+ });
845
1308
  return {
846
1309
  id: layer.id,
847
1310
  label: layer.label,
@@ -852,7 +1315,7 @@ function buildPointLayer(params) {
852
1315
  };
853
1316
  }
854
1317
  function buildAspectLayer(params) {
855
- const { layer, chart, pointByKey, center, angleOf, rings, palette } = params;
1318
+ const { layer, chart, pointByKey, center, angleOf, rings, palette, excludedBodies } = params;
856
1319
  const sourceEdges = getSourceAspectEdges(chart, {
857
1320
  edges: layer.edges,
858
1321
  aspectSpecs: layer.aspectSpecs
@@ -862,6 +1325,9 @@ function buildAspectLayer(params) {
862
1325
  const layerPointPrefixA = layer.pointLayerIdA ? pointKeyPrefix(layer.pointLayerIdA) : layerPointPrefix;
863
1326
  const layerPointPrefixB = layer.pointLayerIdB ? pointKeyPrefix(layer.pointLayerIdB) : layerPointPrefix;
864
1327
  const aspectLines = sourceEdges.flatMap((edge) => {
1328
+ if (isExcludedBody(edge.planetA, excludedBodies) || isExcludedBody(edge.planetB, excludedBodies)) {
1329
+ return [];
1330
+ }
865
1331
  const planetAKey = layerPointPrefixA + normalizePointKey(edge.planetA);
866
1332
  const planetBKey = layerPointPrefixB + normalizePointKey(edge.planetB);
867
1333
  const planetA = pointByKey[planetAKey];
@@ -901,7 +1367,7 @@ function buildAspectLayer(params) {
901
1367
  aspectLines
902
1368
  };
903
1369
  }
904
- function getPointSeeds(layer) {
1370
+ function getPointSeeds(layer, excludedBodies) {
905
1371
  const seeds = [];
906
1372
  const chart = layer.chart;
907
1373
  if (chart) {
@@ -932,7 +1398,7 @@ function getPointSeeds(layer) {
932
1398
  zodiacPosition: chart.houses.ascmc.vertex
933
1399
  });
934
1400
  }
935
- return seeds.sort((a, b) => normalizeAngle(a.longitude) - normalizeAngle(b.longitude));
1401
+ return seeds.filter((seed) => !isExcludedBody(seed.name, excludedBodies)).sort((a, b) => normalizeAngle(a.longitude) - normalizeAngle(b.longitude));
936
1402
  }
937
1403
  function planetSeed(key, planet, layerId) {
938
1404
  return {
@@ -942,6 +1408,7 @@ function planetSeed(key, planet, layerId) {
942
1408
  glyph: pointGlyph(planet.name),
943
1409
  glyphKey: pointGlyphKey(planet.name),
944
1410
  longitude: planet.longitude,
1411
+ retrograde: (planet.longitudeSpeed ?? 0) < 0,
945
1412
  zodiacPosition: planet.zodiacPosition
946
1413
  };
947
1414
  }
@@ -964,6 +1431,7 @@ function pointSeed(point, layerId) {
964
1431
  glyph: point.glyph ?? pointGlyph(point.name),
965
1432
  glyphKey: point.glyph ? void 0 : pointGlyphKey(point.name),
966
1433
  longitude: point.longitude,
1434
+ retrograde: point.retrograde,
967
1435
  zodiacPosition: point.zodiacPosition
968
1436
  };
969
1437
  }
@@ -1080,14 +1548,18 @@ function buildRingMap(radius, defs) {
1080
1548
  }
1081
1549
  return result;
1082
1550
  }
1083
- function resolvePalette(palette = "default") {
1551
+ function resolvePalette(palette = "default", background = "transparent") {
1084
1552
  const base = palette === "monochrome" ? MONOCHROME_PALETTE : DEFAULT_PALETTE;
1085
1553
  if (palette === "default" || palette === "monochrome") {
1086
- return clonePalette(base);
1554
+ return {
1555
+ ...clonePalette(base),
1556
+ glyphHalo: defaultGlyphHalo(background)
1557
+ };
1087
1558
  }
1088
1559
  return {
1089
1560
  ...base,
1090
1561
  ...palette,
1562
+ glyphHalo: palette.glyphHalo ?? defaultGlyphHalo(background),
1091
1563
  signColors: {
1092
1564
  ...base.signColors,
1093
1565
  ...palette.signColors ?? {}
@@ -1102,6 +1574,9 @@ function resolvePalette(palette = "default") {
1102
1574
  }
1103
1575
  };
1104
1576
  }
1577
+ function defaultGlyphHalo(background) {
1578
+ return background === "transparent" ? "#0a1628" : background;
1579
+ }
1105
1580
  function clonePalette(palette) {
1106
1581
  return {
1107
1582
  ...palette,
@@ -1146,7 +1621,8 @@ function resolvePointOptions(options) {
1146
1621
  return {
1147
1622
  enabled: options.enabled ?? true,
1148
1623
  nodes: options.nodes ?? true,
1149
- vertex: options.vertex ?? true
1624
+ vertex: options.vertex ?? true,
1625
+ collisionThresholdDegrees: options.collisionThresholdDegrees
1150
1626
  };
1151
1627
  }
1152
1628
  function resolveAspectOptions(options) {
@@ -1162,7 +1638,11 @@ function resolveAspectOptions(options) {
1162
1638
  aspectSpecs: options.aspectSpecs
1163
1639
  };
1164
1640
  }
1165
- function resolvePointLayerRadius(layer, ring) {
1641
+ function resolvePointLayerRadius(layer, rings) {
1642
+ const ring = rings.planets;
1643
+ if (layer.radius === "external") {
1644
+ return rings.houses.r2 + (layer.radiusOffset ?? 18);
1645
+ }
1166
1646
  const base = (ring.r1 + ring.r2) / 2;
1167
1647
  const radius = layer.radius === "inner" ? ring.r1 : layer.radius === "outer" ? ring.r2 : typeof layer.radius === "number" ? layer.radius : base;
1168
1648
  return radius + (layer.radiusOffset ?? 0);
@@ -1182,6 +1662,12 @@ function pointGlyphKey(name) {
1182
1662
  const key = normalizePointKey(name);
1183
1663
  return POINT_GLYPH_ALIASES[key] ?? key;
1184
1664
  }
1665
+ function resolveExcludedBodies(excludeBodies) {
1666
+ return new Set((excludeBodies ?? []).map((body) => normalizePointKey(body)));
1667
+ }
1668
+ function isExcludedBody(name, excludedBodies) {
1669
+ return excludedBodies.has(normalizePointKey(name));
1670
+ }
1185
1671
  function normalizePointKey(value) {
1186
1672
  return value.trim().toLocaleLowerCase().replace(/[_-]+/g, " ").replace(/\s+/g, " ");
1187
1673
  }
@@ -1207,7 +1693,11 @@ function renderGlyphPrimitives(push, primitives, options) {
1207
1693
  `<text x="${fmt(p.x ?? 0)}" y="${fmt(p.y ?? 0)}" font-family="${textFontFamily()}" font-size="${fmt(p.fontSize ?? 0.72)}" font-weight="${escapeAttr(String(p.fontWeight ?? 500))}" text-anchor="middle" dominant-baseline="middle" fill="${escapeAttr(options.color)}" stroke="none">${escapeText(p.text)}</text>`
1208
1694
  );
1209
1695
  } else {
1210
- push(p.markup);
1696
+ let markup = p.markup;
1697
+ if (options.glyphFill) {
1698
+ markup = markup.split(GLYPH_FILL).join(options.glyphFill);
1699
+ }
1700
+ push(markup);
1211
1701
  }
1212
1702
  }
1213
1703
  }
@@ -2268,5 +2758,5 @@ exports.getAstroWheelRenderModel = getAstroWheelRenderModel;
2268
2758
  exports.getTreeLayout = getTreeLayout;
2269
2759
  exports.getTreeRenderModel = getTreeRenderModel;
2270
2760
  exports.listAstroGlyphs = listAstroGlyphs;
2271
- //# sourceMappingURL=chunk-5LPSD4IA.js.map
2272
- //# sourceMappingURL=chunk-5LPSD4IA.js.map
2761
+ //# sourceMappingURL=chunk-RVMZBPNZ.js.map
2762
+ //# sourceMappingURL=chunk-RVMZBPNZ.js.map