@oicl/openbridge-webcomponents-full-bundle 2.2.0-next.24 → 2.2.0-next.25
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/bundle/openbridge-webcomponents.bundle.js +528 -198
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +271 -0
- package/dist/navigation-instruments/attitude/attitude.css_inline.js +64 -0
- package/dist/navigation-instruments/attitude/attitude.css_inline.js.map +1 -0
- package/dist/navigation-instruments/attitude/attitude.d.ts +121 -0
- package/dist/navigation-instruments/attitude/attitude.d.ts.map +1 -0
- package/dist/navigation-instruments/attitude/attitude.js +255 -0
- package/dist/navigation-instruments/attitude/attitude.js.map +1 -0
- package/dist/navigation-instruments/watch/tickmark.d.ts.map +1 -1
- package/dist/navigation-instruments/watch/tickmark.js +35 -13
- package/dist/navigation-instruments/watch/tickmark.js.map +1 -1
- package/dist/svghelpers/math.d.ts +7 -0
- package/dist/svghelpers/math.d.ts.map +1 -1
- package/dist/svghelpers/math.js +10 -1
- package/dist/svghelpers/math.js.map +1 -1
- package/llms/components/obc-attitude.md +69 -0
- package/llms/llms-full.txt +72 -0
- package/llms/llms.txt +1 -0
- package/package.json +1 -1
- package/src/navigation-instruments/attitude/attitude.css +54 -0
- package/src/navigation-instruments/attitude/attitude.spec.ts +208 -0
- package/src/navigation-instruments/attitude/attitude.stories.ts +87 -0
- package/src/navigation-instruments/attitude/attitude.ts +351 -0
- package/src/navigation-instruments/watch/tickmark.spec.ts +22 -0
- package/src/navigation-instruments/watch/tickmark.ts +49 -5
- package/src/svghelpers/math.spec.ts +25 -0
- package/src/svghelpers/math.ts +10 -0
|
@@ -2573,6 +2573,15 @@ function normalizeAngle(deg) {
|
|
|
2573
2573
|
return (deg % 360 + 360) % 360;
|
|
2574
2574
|
}
|
|
2575
2575
|
/**
|
|
2576
|
+
* Degrees wrapped into `[-180, 180)`, for a deviation either side of zero.
|
|
2577
|
+
*
|
|
2578
|
+
* @param deg - Any finite angle, negative and over-turned included; a non-finite angle yields NaN.
|
|
2579
|
+
* @returns The same direction in `[-180, 180)`; a half turn is `-180`.
|
|
2580
|
+
*/
|
|
2581
|
+
function normalizeSignedAngle(deg) {
|
|
2582
|
+
return normalizeAngle(deg + 180) - 180;
|
|
2583
|
+
}
|
|
2584
|
+
/**
|
|
2576
2585
|
* @param deg - Angle in degrees.
|
|
2577
2586
|
* @returns The angle in radians, as `(deg * Math.PI) / 180`.
|
|
2578
2587
|
*/
|
|
@@ -23866,7 +23875,7 @@ function almostEquals(x, y, epsilon) {
|
|
|
23866
23875
|
*/ function isNonPrimitive(n) {
|
|
23867
23876
|
return typeof n === "symbol" || typeof n === "object" && n !== null && !(Symbol.toPrimitive in n || "toString" in n || "valueOf" in n);
|
|
23868
23877
|
}
|
|
23869
|
-
function isNumber(n) {
|
|
23878
|
+
function isNumber$1(n) {
|
|
23870
23879
|
return !isNonPrimitive(n) && !isNaN(parseFloat(n)) && isFinite(n);
|
|
23871
23880
|
}
|
|
23872
23881
|
function almostWhole(x, epsilon) {
|
|
@@ -27257,7 +27266,7 @@ var LineController = class extends DatasetController {
|
|
|
27257
27266
|
const iAxis = iScale.axis;
|
|
27258
27267
|
const vAxis = vScale.axis;
|
|
27259
27268
|
const { spanGaps, segment } = this.options;
|
|
27260
|
-
const maxGapLength = isNumber(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY;
|
|
27269
|
+
const maxGapLength = isNumber$1(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY;
|
|
27261
27270
|
const directUpdate = this.chart._animationsDisabled || reset || mode === "none";
|
|
27262
27271
|
const end = start + count;
|
|
27263
27272
|
const pointsCount = points.length;
|
|
@@ -28249,7 +28258,7 @@ var Element$1 = class {
|
|
|
28249
28258
|
};
|
|
28250
28259
|
}
|
|
28251
28260
|
hasValue() {
|
|
28252
|
-
return isNumber(this.x) && isNumber(this.y);
|
|
28261
|
+
return isNumber$1(this.x) && isNumber$1(this.y);
|
|
28253
28262
|
}
|
|
28254
28263
|
getProps(props, final) {
|
|
28255
28264
|
const anims = this.$animations;
|
|
@@ -33660,7 +33669,7 @@ function parse(scale, input) {
|
|
|
33660
33669
|
if (typeof parser === "function") value = parser(value);
|
|
33661
33670
|
if (!isNumberFinite(value)) value = typeof parser === "string" ? adapter.parse(value, parser) : adapter.parse(value);
|
|
33662
33671
|
if (value === null) return null;
|
|
33663
|
-
if (round) value = round === "week" && (isNumber(isoWeekday) || isoWeekday === true) ? adapter.startOf(value, "isoWeek", isoWeekday) : adapter.startOf(value, round);
|
|
33672
|
+
if (round) value = round === "week" && (isNumber$1(isoWeekday) || isoWeekday === true) ? adapter.startOf(value, "isoWeek", isoWeekday) : adapter.startOf(value, round);
|
|
33664
33673
|
return +value;
|
|
33665
33674
|
}
|
|
33666
33675
|
function determineUnitForAutoTicks(minUnit, min, max, capacity) {
|
|
@@ -33855,7 +33864,7 @@ var TimeScale = class extends Scale {
|
|
|
33855
33864
|
const minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, this._getLabelCapacity(min));
|
|
33856
33865
|
const stepSize = valueOrDefault(options.ticks.stepSize, 1);
|
|
33857
33866
|
const weekday = minor === "week" ? timeOpts.isoWeekday : false;
|
|
33858
|
-
const hasWeekday = isNumber(weekday) || weekday === true;
|
|
33867
|
+
const hasWeekday = isNumber$1(weekday) || weekday === true;
|
|
33859
33868
|
const ticks = {};
|
|
33860
33869
|
let first = min;
|
|
33861
33870
|
let time, count;
|
|
@@ -35736,13 +35745,23 @@ function tickmark$1(angle, { size, style, scale, text, inside, textRadius, rotat
|
|
|
35736
35745
|
} else if (size === "tertiary") {
|
|
35737
35746
|
innerRadius = 164 + rOff;
|
|
35738
35747
|
outerRadius = 168 + rOff;
|
|
35739
|
-
} else
|
|
35740
|
-
|
|
35741
|
-
|
|
35742
|
-
|
|
35743
|
-
|
|
35744
|
-
|
|
35745
|
-
|
|
35748
|
+
} else {
|
|
35749
|
+
if (text && rotation !== void 0) return [turningLabelSvg(text, {
|
|
35750
|
+
rad,
|
|
35751
|
+
inside,
|
|
35752
|
+
scale: safeScale,
|
|
35753
|
+
textRadius,
|
|
35754
|
+
rotation,
|
|
35755
|
+
maxDigits
|
|
35756
|
+
})];
|
|
35757
|
+
return [textSvg(text ?? "", {
|
|
35758
|
+
angle,
|
|
35759
|
+
inside,
|
|
35760
|
+
scale: safeScale,
|
|
35761
|
+
textRadius,
|
|
35762
|
+
endLabelsMaxMin
|
|
35763
|
+
})];
|
|
35764
|
+
}
|
|
35746
35765
|
if (inside) {
|
|
35747
35766
|
const outerRingRadius = 184 + rOff;
|
|
35748
35767
|
const ring2Radius = 160 + rOff;
|
|
@@ -35760,15 +35779,27 @@ function tickmark$1(angle, { size, style, scale, text, inside, textRadius, rotat
|
|
|
35760
35779
|
textRadius,
|
|
35761
35780
|
endLabelsMaxMin
|
|
35762
35781
|
})];
|
|
35763
|
-
else {
|
|
35764
|
-
|
|
35765
|
-
|
|
35766
|
-
|
|
35767
|
-
|
|
35768
|
-
|
|
35782
|
+
else return [tick, turningLabelSvg(text, {
|
|
35783
|
+
rad,
|
|
35784
|
+
inside,
|
|
35785
|
+
scale: safeScale,
|
|
35786
|
+
textRadius,
|
|
35787
|
+
rotation,
|
|
35788
|
+
maxDigits
|
|
35789
|
+
})];
|
|
35769
35790
|
}
|
|
35770
35791
|
return tick;
|
|
35771
35792
|
}
|
|
35793
|
+
/**
|
|
35794
|
+
* A label on a card that turns: centred on its mark, far enough out to clear
|
|
35795
|
+
* the ring at any angle, and turned back so the text stays upright.
|
|
35796
|
+
*/
|
|
35797
|
+
function turningLabelSvg(text, { rad, inside, scale, textRadius, rotation, maxDigits }) {
|
|
35798
|
+
const newRadius = textRadius + (4 / scale + 5) * (inside ? -1 : 1) * maxDigits / 2;
|
|
35799
|
+
const textX = Math.sin(rad) * newRadius;
|
|
35800
|
+
const textY = -Math.cos(rad) * newRadius;
|
|
35801
|
+
return w`<text x=${textX} y=${textY} class="label rotate ${inside ? "inside" : ""}" transform="rotate(${-rotation})" transform-origin="${textX} ${textY}">${text}</text>`;
|
|
35802
|
+
}
|
|
35772
35803
|
function textSvg(text, { angle, inside, scale, textRadius, endLabelsMaxMin = false }) {
|
|
35773
35804
|
const radHoriz = degToRad(angle);
|
|
35774
35805
|
if (endLabelsMaxMin && Math.abs(Math.cos(radHoriz)) < 1e-6) return w`<text x=${Math.sin(radHoriz) * (textRadius - (inside ? (6 + (text.length - 1) * 2.5) / scale : 14 / scale))} y=${inside ? -(6 / scale) : 12 / scale} class="label bottom ${inside ? "inside" : ""}">${text}</text>`;
|
|
@@ -198648,6 +198679,485 @@ var ObiCriticalUnacknowledged = class ObiCriticalUnacknowledged extends i$4 {
|
|
|
198648
198679
|
};
|
|
198649
198680
|
__decorate([n$4({ type: Boolean })], ObiCriticalUnacknowledged.prototype, "useCssColor", void 0);
|
|
198650
198681
|
ObiCriticalUnacknowledged = __decorate([customElement("obi-critical-unacknowledged")], ObiCriticalUnacknowledged);
|
|
198682
|
+
// src/navigation-instruments/attitude/attitude.css?inline
|
|
198683
|
+
var attitude_default = i$7`* {
|
|
198684
|
+
-webkit-tap-highlight-color: transparent;
|
|
198685
|
+
}
|
|
198686
|
+
|
|
198687
|
+
* {
|
|
198688
|
+
box-sizing: border-box;
|
|
198689
|
+
}
|
|
198690
|
+
|
|
198691
|
+
.container {
|
|
198692
|
+
position: relative; /* containing block for the three stacked layers */
|
|
198693
|
+
width: 100%;
|
|
198694
|
+
height: 100%;
|
|
198695
|
+
|
|
198696
|
+
--attitude-symbol-color: var(--element-neutral-color);
|
|
198697
|
+
--attitude-accent-color: var(--instrument-regular-secondary-color);
|
|
198698
|
+
}
|
|
198699
|
+
|
|
198700
|
+
.container.enhanced {
|
|
198701
|
+
--attitude-symbol-color: var(--element-neutral-enhanced-color);
|
|
198702
|
+
--attitude-accent-color: var(--instrument-enhanced-secondary-color);
|
|
198703
|
+
}
|
|
198704
|
+
|
|
198705
|
+
/* The horizon sits under the watch so the roll scale band covers it. */
|
|
198706
|
+
.container > obc-watch,
|
|
198707
|
+
.container > svg {
|
|
198708
|
+
position: absolute;
|
|
198709
|
+
top: 0;
|
|
198710
|
+
left: 0;
|
|
198711
|
+
width: 100%;
|
|
198712
|
+
height: 100%;
|
|
198713
|
+
}
|
|
198714
|
+
|
|
198715
|
+
.ground {
|
|
198716
|
+
fill: var(--instrument-frame-secondary-color);
|
|
198717
|
+
}
|
|
198718
|
+
|
|
198719
|
+
/* Regular colour in both priorities, as the design draws it. */
|
|
198720
|
+
.horizon-line {
|
|
198721
|
+
stroke: var(--instrument-regular-secondary-color);
|
|
198722
|
+
stroke-width: 2;
|
|
198723
|
+
}
|
|
198724
|
+
|
|
198725
|
+
.rung {
|
|
198726
|
+
stroke: var(--instrument-frame-tertiary-color);
|
|
198727
|
+
}
|
|
198728
|
+
|
|
198729
|
+
.face-outline {
|
|
198730
|
+
fill: none;
|
|
198731
|
+
stroke: var(--instrument-frame-tertiary-color);
|
|
198732
|
+
}
|
|
198733
|
+
|
|
198734
|
+
.vessel-symbol path {
|
|
198735
|
+
fill: var(--attitude-symbol-color);
|
|
198736
|
+
}
|
|
198737
|
+
|
|
198738
|
+
.vessel-symbol circle {
|
|
198739
|
+
fill: var(--attitude-accent-color);
|
|
198740
|
+
}
|
|
198741
|
+
`;
|
|
198742
|
+
// src/navigation-instruments/course-arrows/course-arrows-art.ts
|
|
198743
|
+
/**
|
|
198744
|
+
* Figma-exported arrow glyph art for `course-arrows.ts` — do not hand-edit
|
|
198745
|
+
* the path data. Source: OpenBridge 6.1 (file Tb5GjGfYoVIUrhXThL51A2),
|
|
198746
|
+
* variant nodes 18306:91621, 18306:91630, 18306:91650, 18306:91656 (Enhanced-state
|
|
198747
|
+
* exports; the state color is parameterized as `colorName`, the silhouette
|
|
198748
|
+
* outline maps to `--border-silhouette-color`). Art is authored in the
|
|
198749
|
+
* 512/center-256 space; each glyph is pre-translated to its Figma frame
|
|
198750
|
+
* position and expects the caller's `rotate(angle) translate(-256, -256)`
|
|
198751
|
+
* wrapper.
|
|
198752
|
+
*/
|
|
198753
|
+
/** HDG vector: solid fore line + filled arrowhead + beam crossbar + dotted astern line. */
|
|
198754
|
+
function hdgVectorArt(colorName) {
|
|
198755
|
+
return w`<g transform="translate(221.97, 94.99)"><g id="shape">
|
|
198756
|
+
<mask id="hdg-vector-outline" maskUnits="userSpaceOnUse" x="0" y="3.57628e-07" width="68" height="319" fill="black">
|
|
198757
|
+
<rect fill="white" y="3.57628e-07" width="68" height="319"/>
|
|
198758
|
+
<path d="M35 318H33V316H35V318ZM35 314H33V312H35V314ZM35 310H33V308H35V310ZM35 306H33V304H35V306ZM35 302H33V300H35V302ZM35 298H33V296H35V298ZM35 294H33V292H35V294ZM35 290H33V288H35V290ZM35 286H33V284H35V286ZM35 282H33V280H35V282ZM35 278H33V276H35V278ZM35 274H33V272H35V274ZM35 270H33V268H35V270ZM35 266H33V264H35V266ZM35 262H33V260H35V262ZM35 258H33V256H35V258ZM35 254H33V252H35V254ZM35 250H33V248H35V250ZM35 246H33V244H35V246ZM35 242H33V240H35V242ZM35 238H33V236H35V238ZM35 234H33V232H35V234ZM35 230H33V228H35V230ZM35 226H33V224H35V226ZM35 222H33V220H35V222ZM35 218H33V216H35V218ZM35 214H33V212H35V214ZM35 210H33V208H35V210ZM35 206H33V204H35V206ZM35 202H33V200H35V202ZM35 198H33V196H35V198ZM35 194H33V192H35V194ZM35 190H33V188H35V190ZM35 186H33V184H35V186ZM35 182H33V180H35V182ZM35 178H33V176H35V178ZM35 174H33V172H35V174ZM35 170H33V168H35V170ZM33.0664 1.62109C33.4035 0.792969 34.5965 0.792968 34.9336 1.62109L49.8486 38.2803C50.5669 40.0456 48.5838 41.6925 46.9336 40.7012L35 33.5947V157.126C36.4056 157.488 37.5122 158.594 37.874 160H66C66.5522 160 66.9999 160.448 67 161C67 161.552 66.5523 162 66 162H37.874C37.5123 163.406 36.4056 164.512 35 164.874V166H33V164.874C31.5944 164.512 30.4877 163.406 30.126 162H2C1.44772 162 1 161.552 1 161C1.00006 160.448 1.44775 160 2 160H30.126C30.4878 158.594 31.5944 157.488 33 157.126V33.5947L21.0664 40.7012C19.4162 41.6925 17.4331 40.0456 18.1514 38.2803L33.0664 1.62109ZM32.2695 162C32.6155 162.597 33.26 163 34 163C34.74 163 35.3845 162.597 35.7305 162H32.2695ZM33 159.27C32.697 159.445 32.445 159.697 32.2695 160H33V159.27ZM35 160H35.7305C35.555 159.697 35.303 159.445 35 159.27V160Z"/>
|
|
198759
|
+
</mask>
|
|
198760
|
+
<path d="M35 318H33V316H35V318ZM35 314H33V312H35V314ZM35 310H33V308H35V310ZM35 306H33V304H35V306ZM35 302H33V300H35V302ZM35 298H33V296H35V298ZM35 294H33V292H35V294ZM35 290H33V288H35V290ZM35 286H33V284H35V286ZM35 282H33V280H35V282ZM35 278H33V276H35V278ZM35 274H33V272H35V274ZM35 270H33V268H35V270ZM35 266H33V264H35V266ZM35 262H33V260H35V262ZM35 258H33V256H35V258ZM35 254H33V252H35V254ZM35 250H33V248H35V250ZM35 246H33V244H35V246ZM35 242H33V240H35V242ZM35 238H33V236H35V238ZM35 234H33V232H35V234ZM35 230H33V228H35V230ZM35 226H33V224H35V226ZM35 222H33V220H35V222ZM35 218H33V216H35V218ZM35 214H33V212H35V214ZM35 210H33V208H35V210ZM35 206H33V204H35V206ZM35 202H33V200H35V202ZM35 198H33V196H35V198ZM35 194H33V192H35V194ZM35 190H33V188H35V190ZM35 186H33V184H35V186ZM35 182H33V180H35V182ZM35 178H33V176H35V178ZM35 174H33V172H35V174ZM35 170H33V168H35V170ZM33.0664 1.62109C33.4035 0.792969 34.5965 0.792968 34.9336 1.62109L49.8486 38.2803C50.5669 40.0456 48.5838 41.6925 46.9336 40.7012L35 33.5947V157.126C36.4056 157.488 37.5122 158.594 37.874 160H66C66.5522 160 66.9999 160.448 67 161C67 161.552 66.5523 162 66 162H37.874C37.5123 163.406 36.4056 164.512 35 164.874V166H33V164.874C31.5944 164.512 30.4877 163.406 30.126 162H2C1.44772 162 1 161.552 1 161C1.00006 160.448 1.44775 160 2 160H30.126C30.4878 158.594 31.5944 157.488 33 157.126V33.5947L21.0664 40.7012C19.4162 41.6925 17.4331 40.0456 18.1514 38.2803L33.0664 1.62109ZM32.2695 162C32.6155 162.597 33.26 163 34 163C34.74 163 35.3845 162.597 35.7305 162H32.2695ZM33 159.27C32.697 159.445 32.445 159.697 32.2695 160H33V159.27ZM35 160H35.7305C35.555 159.697 35.303 159.445 35 159.27V160Z" fill=${colorName}/>
|
|
198761
|
+
<path d="M35 318V319H36V318H35ZM33 318H32V319H33V318ZM33 316V315H32V316H33ZM35 316H36V315H35V316ZM35 314V315H36V314H35ZM33 314H32V315H33V314ZM33 312V311H32V312H33ZM35 312H36V311H35V312ZM35 310V311H36V310H35ZM33 310H32V311H33V310ZM33 308V307H32V308H33ZM35 308H36V307H35V308ZM35 306V307H36V306H35ZM33 306H32V307H33V306ZM33 304V303H32V304H33ZM35 304H36V303H35V304ZM35 302V303H36V302H35ZM33 302H32V303H33V302ZM33 300V299H32V300H33ZM35 300H36V299H35V300ZM35 298V299H36V298H35ZM33 298H32V299H33V298ZM33 296V295H32V296H33ZM35 296H36V295H35V296ZM35 294V295H36V294H35ZM33 294H32V295H33V294ZM33 292V291H32V292H33ZM35 292H36V291H35V292ZM35 290V291H36V290H35ZM33 290H32V291H33V290ZM33 288V287H32V288H33ZM35 288H36V287H35V288ZM35 286V287H36V286H35ZM33 286H32V287H33V286ZM33 284V283H32V284H33ZM35 284H36V283H35V284ZM35 282V283H36V282H35ZM33 282H32V283H33V282ZM33 280V279H32V280H33ZM35 280H36V279H35V280ZM35 278V279H36V278H35ZM33 278H32V279H33V278ZM33 276V275H32V276H33ZM35 276H36V275H35V276ZM35 274V275H36V274H35ZM33 274H32V275H33V274ZM33 272V271H32V272H33ZM35 272H36V271H35V272ZM35 270V271H36V270H35ZM33 270H32V271H33V270ZM33 268V267H32V268H33ZM35 268H36V267H35V268ZM35 266V267H36V266H35ZM33 266H32V267H33V266ZM33 264V263H32V264H33ZM35 264H36V263H35V264ZM35 262V263H36V262H35ZM33 262H32V263H33V262ZM33 260V259H32V260H33ZM35 260H36V259H35V260ZM35 258V259H36V258H35ZM33 258H32V259H33V258ZM33 256V255H32V256H33ZM35 256H36V255H35V256ZM35 254V255H36V254H35ZM33 254H32V255H33V254ZM33 252V251H32V252H33ZM35 252H36V251H35V252ZM35 250V251H36V250H35ZM33 250H32V251H33V250ZM33 248V247H32V248H33ZM35 248H36V247H35V248ZM35 246V247H36V246H35ZM33 246H32V247H33V246ZM33 244V243H32V244H33ZM35 244H36V243H35V244ZM35 242V243H36V242H35ZM33 242H32V243H33V242ZM33 240V239H32V240H33ZM35 240H36V239H35V240ZM35 238V239H36V238H35ZM33 238H32V239H33V238ZM33 236V235H32V236H33ZM35 236H36V235H35V236ZM35 234V235H36V234H35ZM33 234H32V235H33V234ZM33 232V231H32V232H33ZM35 232H36V231H35V232ZM35 230V231H36V230H35ZM33 230H32V231H33V230ZM33 228V227H32V228H33ZM35 228H36V227H35V228ZM35 226V227H36V226H35ZM33 226H32V227H33V226ZM33 224V223H32V224H33ZM35 224H36V223H35V224ZM35 222V223H36V222H35ZM33 222H32V223H33V222ZM33 220V219H32V220H33ZM35 220H36V219H35V220ZM35 218V219H36V218H35ZM33 218H32V219H33V218ZM33 216V215H32V216H33ZM35 216H36V215H35V216ZM35 214V215H36V214H35ZM33 214H32V215H33V214ZM33 212V211H32V212H33ZM35 212H36V211H35V212ZM35 210V211H36V210H35ZM33 210H32V211H33V210ZM33 208V207H32V208H33ZM35 208H36V207H35V208ZM35 206V207H36V206H35ZM33 206H32V207H33V206ZM33 204V203H32V204H33ZM35 204H36V203H35V204ZM35 202V203H36V202H35ZM33 202H32V203H33V202ZM33 200V199H32V200H33ZM35 200H36V199H35V200ZM35 198V199H36V198H35ZM33 198H32V199H33V198ZM33 196V195H32V196H33ZM35 196H36V195H35V196ZM35 194V195H36V194H35ZM33 194H32V195H33V194ZM33 192V191H32V192H33ZM35 192H36V191H35V192ZM35 190V191H36V190H35ZM33 190H32V191H33V190ZM33 188V187H32V188H33ZM35 188H36V187H35V188ZM35 186V187H36V186H35ZM33 186H32V187H33V186ZM33 184V183H32V184H33ZM35 184H36V183H35V184ZM35 182V183H36V182H35ZM33 182H32V183H33V182ZM33 180V179H32V180H33ZM35 180H36V179H35V180ZM35 178V179H36V178H35ZM33 178H32V179H33V178ZM33 176V175H32V176H33ZM35 176H36V175H35V176ZM35 174V175H36V174H35ZM33 174H32V175H33V174ZM33 172V171H32V172H33ZM35 172H36V171H35V172ZM35 170V171H36V170H35ZM33 170H32V171H33V170ZM33 168V167H32V168H33ZM35 168H36V167H35V168ZM33.0664 1.62109L32.1402 1.24406L32.1401 1.24423L33.0664 1.62109ZM34.9336 1.62109L35.8599 1.24423L35.8598 1.24406L34.9336 1.62109ZM49.8486 38.2803L48.9224 38.6571L48.9224 38.6571L49.8486 38.2803ZM46.9336 40.7012L47.4486 39.844L47.4452 39.842L46.9336 40.7012ZM35 33.5947L35.5117 32.7355L34 31.8353V33.5947H35ZM35 157.126H34V157.901L34.7508 158.094L35 157.126ZM37.874 160L36.9056 160.249L37.0988 161H37.874V160ZM67 161H68V161L67 161ZM37.874 162V161H37.0988L36.9056 161.751L37.874 162ZM35 164.874L34.7507 163.906L34 164.099V164.874H35ZM35 166V167H36V166H35ZM33 166H32V167H33V166ZM33 164.874H34V164.099L33.2493 163.906L33 164.874ZM30.126 162L31.0944 161.751L30.9012 161H30.126V162ZM1 161L0 161V161H1ZM30.126 160V161H30.9012L31.0944 160.249L30.126 160ZM33 157.126L33.2492 158.094L34 157.901V157.126H33ZM33 33.5947H34V31.8353L32.4883 32.7355L33 33.5947ZM21.0664 40.7012L20.5548 39.842L20.5514 39.844L21.0664 40.7012ZM18.1514 38.2803L19.0776 38.6571L19.0776 38.6571L18.1514 38.2803ZM32.2695 162V161H30.5349L31.4042 162.501L32.2695 162ZM34 163V164V164V163ZM35.7305 162L36.5959 162.501L37.4651 161H35.7305V162ZM33 159.27H34V157.535L32.4989 158.404L33 159.27ZM32.2695 160L31.4042 159.499L30.5347 161H32.2695V160ZM33 160V161H34V160H33ZM35 160H34V161H35V160ZM35.7305 160V161H37.4653L36.5958 159.499L35.7305 160ZM35 159.27L35.5011 158.404L34 157.535V159.27H35ZM35 318V317H33V318V319H35V318ZM33 318H34V316H33H32V318H33ZM33 316V317H35V316V315H33V316ZM35 316H34V318H35H36V316H35ZM35 314V313H33V314V315H35V314ZM33 314H34V312H33H32V314H33ZM33 312V313H35V312V311H33V312ZM35 312H34V314H35H36V312H35ZM35 310V309H33V310V311H35V310ZM33 310H34V308H33H32V310H33ZM33 308V309H35V308V307H33V308ZM35 308H34V310H35H36V308H35ZM35 306V305H33V306V307H35V306ZM33 306H34V304H33H32V306H33ZM33 304V305H35V304V303H33V304ZM35 304H34V306H35H36V304H35ZM35 302V301H33V302V303H35V302ZM33 302H34V300H33H32V302H33ZM33 300V301H35V300V299H33V300ZM35 300H34V302H35H36V300H35ZM35 298V297H33V298V299H35V298ZM33 298H34V296H33H32V298H33ZM33 296V297H35V296V295H33V296ZM35 296H34V298H35H36V296H35ZM35 294V293H33V294V295H35V294ZM33 294H34V292H33H32V294H33ZM33 292V293H35V292V291H33V292ZM35 292H34V294H35H36V292H35ZM35 290V289H33V290V291H35V290ZM33 290H34V288H33H32V290H33ZM33 288V289H35V288V287H33V288ZM35 288H34V290H35H36V288H35ZM35 286V285H33V286V287H35V286ZM33 286H34V284H33H32V286H33ZM33 284V285H35V284V283H33V284ZM35 284H34V286H35H36V284H35ZM35 282V281H33V282V283H35V282ZM33 282H34V280H33H32V282H33ZM33 280V281H35V280V279H33V280ZM35 280H34V282H35H36V280H35ZM35 278V277H33V278V279H35V278ZM33 278H34V276H33H32V278H33ZM33 276V277H35V276V275H33V276ZM35 276H34V278H35H36V276H35ZM35 274V273H33V274V275H35V274ZM33 274H34V272H33H32V274H33ZM33 272V273H35V272V271H33V272ZM35 272H34V274H35H36V272H35ZM35 270V269H33V270V271H35V270ZM33 270H34V268H33H32V270H33ZM33 268V269H35V268V267H33V268ZM35 268H34V270H35H36V268H35ZM35 266V265H33V266V267H35V266ZM33 266H34V264H33H32V266H33ZM33 264V265H35V264V263H33V264ZM35 264H34V266H35H36V264H35ZM35 262V261H33V262V263H35V262ZM33 262H34V260H33H32V262H33ZM33 260V261H35V260V259H33V260ZM35 260H34V262H35H36V260H35ZM35 258V257H33V258V259H35V258ZM33 258H34V256H33H32V258H33ZM33 256V257H35V256V255H33V256ZM35 256H34V258H35H36V256H35ZM35 254V253H33V254V255H35V254ZM33 254H34V252H33H32V254H33ZM33 252V253H35V252V251H33V252ZM35 252H34V254H35H36V252H35ZM35 250V249H33V250V251H35V250ZM33 250H34V248H33H32V250H33ZM33 248V249H35V248V247H33V248ZM35 248H34V250H35H36V248H35ZM35 246V245H33V246V247H35V246ZM33 246H34V244H33H32V246H33ZM33 244V245H35V244V243H33V244ZM35 244H34V246H35H36V244H35ZM35 242V241H33V242V243H35V242ZM33 242H34V240H33H32V242H33ZM33 240V241H35V240V239H33V240ZM35 240H34V242H35H36V240H35ZM35 238V237H33V238V239H35V238ZM33 238H34V236H33H32V238H33ZM33 236V237H35V236V235H33V236ZM35 236H34V238H35H36V236H35ZM35 234V233H33V234V235H35V234ZM33 234H34V232H33H32V234H33ZM33 232V233H35V232V231H33V232ZM35 232H34V234H35H36V232H35ZM35 230V229H33V230V231H35V230ZM33 230H34V228H33H32V230H33ZM33 228V229H35V228V227H33V228ZM35 228H34V230H35H36V228H35ZM35 226V225H33V226V227H35V226ZM33 226H34V224H33H32V226H33ZM33 224V225H35V224V223H33V224ZM35 224H34V226H35H36V224H35ZM35 222V221H33V222V223H35V222ZM33 222H34V220H33H32V222H33ZM33 220V221H35V220V219H33V220ZM35 220H34V222H35H36V220H35ZM35 218V217H33V218V219H35V218ZM33 218H34V216H33H32V218H33ZM33 216V217H35V216V215H33V216ZM35 216H34V218H35H36V216H35ZM35 214V213H33V214V215H35V214ZM33 214H34V212H33H32V214H33ZM33 212V213H35V212V211H33V212ZM35 212H34V214H35H36V212H35ZM35 210V209H33V210V211H35V210ZM33 210H34V208H33H32V210H33ZM33 208V209H35V208V207H33V208ZM35 208H34V210H35H36V208H35ZM35 206V205H33V206V207H35V206ZM33 206H34V204H33H32V206H33ZM33 204V205H35V204V203H33V204ZM35 204H34V206H35H36V204H35ZM35 202V201H33V202V203H35V202ZM33 202H34V200H33H32V202H33ZM33 200V201H35V200V199H33V200ZM35 200H34V202H35H36V200H35ZM35 198V197H33V198V199H35V198ZM33 198H34V196H33H32V198H33ZM33 196V197H35V196V195H33V196ZM35 196H34V198H35H36V196H35ZM35 194V193H33V194V195H35V194ZM33 194H34V192H33H32V194H33ZM33 192V193H35V192V191H33V192ZM35 192H34V194H35H36V192H35ZM35 190V189H33V190V191H35V190ZM33 190H34V188H33H32V190H33ZM33 188V189H35V188V187H33V188ZM35 188H34V190H35H36V188H35ZM35 186V185H33V186V187H35V186ZM33 186H34V184H33H32V186H33ZM33 184V185H35V184V183H33V184ZM35 184H34V186H35H36V184H35ZM35 182V181H33V182V183H35V182ZM33 182H34V180H33H32V182H33ZM33 180V181H35V180V179H33V180ZM35 180H34V182H35H36V180H35ZM35 178V177H33V178V179H35V178ZM33 178H34V176H33H32V178H33ZM33 176V177H35V176V175H33V176ZM35 176H34V178H35H36V176H35ZM35 174V173H33V174V175H35V174ZM33 174H34V172H33H32V174H33ZM33 172V173H35V172V171H33V172ZM35 172H34V174H35H36V172H35ZM35 170V169H33V170V171H35V170ZM33 170H34V168H33H32V170H33ZM33 168V169H35V168V167H33V168ZM35 168H34V170H35H36V168H35ZM33.0664 1.62109L33.9926 1.99813C33.9942 1.99419 33.9953 1.99243 33.9953 1.99232C33.9954 1.99219 33.9949 1.99303 33.9937 1.99444C33.9911 1.99759 33.9879 2.00016 33.9855 2.00166C33.9835 2.00295 33.9835 2.0025 33.9865 2.00168C33.9895 2.00082 33.9942 2 34 2C34.0058 2 34.0105 2.00082 34.0135 2.00168C34.0165 2.0025 34.0165 2.00295 34.0145 2.00166C34.0121 2.00016 34.0089 1.99759 34.0063 1.99444C34.0051 1.99303 34.0046 1.99219 34.0047 1.99231C34.0047 1.99243 34.0058 1.99418 34.0074 1.99813L34.9336 1.62109L35.8598 1.24406C35.1846 -0.414691 32.8154 -0.41468 32.1402 1.24406L33.0664 1.62109ZM34.9336 1.62109L34.0073 1.99795L48.9224 38.6571L49.8486 38.2803L50.7749 37.9034L35.8599 1.24423L34.9336 1.62109ZM49.8486 38.2803L48.9224 38.6571C49.2546 39.4736 48.3296 40.3732 47.4486 39.844L46.9336 40.7012L46.4186 41.5584C48.8381 43.0119 51.8792 40.6176 50.7749 37.9034L49.8486 38.2803ZM46.9336 40.7012L47.4452 39.842L35.5117 32.7355L35 33.5947L34.4883 34.4539L46.4219 41.5604L46.9336 40.7012ZM35 33.5947H34V157.126H35H36V33.5947H35ZM35 157.126L34.7508 158.094C35.8035 158.365 36.6346 159.197 36.9056 160.249L37.874 160L38.8425 159.751C38.3898 157.992 37.0077 156.61 35.2492 156.158L35 157.126ZM37.874 160V161H66V160V159H37.874V160ZM66 160V161V161L67 161L68 161C67.9999 159.896 67.1046 159 66 159V160ZM67 161H66V162V163C67.1046 163 68 162.105 68 161H67ZM66 162V161H37.874V162V163H66V162ZM37.874 162L36.9056 161.751C36.6346 162.804 35.8036 163.635 34.7507 163.906L35 164.874L35.2493 165.842C37.0077 165.39 38.3899 164.008 38.8425 162.249L37.874 162ZM35 164.874H34V166H35H36V164.874H35ZM35 166V165H33V166V167H35V166ZM33 166H34V164.874H33H32V166H33ZM33 164.874L33.2493 163.906C32.1964 163.635 31.3654 162.804 31.0944 161.751L30.126 162L29.1575 162.249C29.6101 164.008 30.9923 165.39 32.7507 165.842L33 164.874ZM30.126 162V161H2V162V163H30.126V162ZM2 162V161H1H0C0 162.105 0.89543 163 2 163V162ZM1 161L2 161V161V160V159C0.895362 159 0.000115454 159.896 0 161L1 161ZM2 160V161H30.126V160V159H2V160ZM30.126 160L31.0944 160.249C31.3654 159.197 32.1965 158.365 33.2492 158.094L33 157.126L32.7507 156.158C30.9923 156.61 29.6102 157.992 29.1575 159.751L30.126 160ZM33 157.126H34V33.5947H33H32V157.126H33ZM33 33.5947L32.4883 32.7355L20.5548 39.842L21.0664 40.7012L21.5781 41.5604L33.5117 34.4539L33 33.5947ZM21.0664 40.7012L20.5514 39.844C19.6704 40.3732 18.7454 39.4736 19.0776 38.6571L18.1514 38.2803L17.2251 37.9034C16.1208 40.6176 19.1619 43.0119 21.5814 41.5584L21.0664 40.7012ZM18.1514 38.2803L19.0776 38.6571L33.9927 1.99795L33.0664 1.62109L32.1401 1.24423L17.2251 37.9034L18.1514 38.2803ZM32.2695 162L31.4042 162.501C31.9207 163.393 32.8872 164 34 164V163V162C33.6329 162 33.3102 161.802 33.1349 161.499L32.2695 162ZM34 163V164C35.1128 164 36.0793 163.393 36.5959 162.501L35.7305 162L34.8651 161.499C34.6898 161.802 34.3671 162 34 162V163ZM35.7305 162V161H32.2695V162V163H35.7305V162ZM33 159.27L32.4989 158.404C32.0447 158.667 31.6671 159.045 31.4042 159.499L32.2695 160L33.1349 160.501C33.2228 160.349 33.3494 160.223 33.5011 160.135L33 159.27ZM32.2695 160V161H33V160V159H32.2695V160ZM33 160H34V159.27H33H32V160H33ZM35 160V161H35.7305V160V159H35V160ZM35.7305 160L36.5958 159.499C36.3329 159.045 35.9553 158.667 35.5011 158.404L35 159.27L34.4989 160.135C34.6506 160.223 34.7772 160.349 34.8651 160.501L35.7305 160ZM35 159.27H34V160H35H36V159.27H35Z" fill="var(--border-silhouette-color)" mask="url(#hdg-vector-outline)"/>
|
|
198762
|
+
</g></g>`;
|
|
198763
|
+
}
|
|
198764
|
+
/** HDG beam-line: fore line + beam crossbar + dotted astern line, no arrowhead. */
|
|
198765
|
+
function hdgBeamLineArt(colorName) {
|
|
198766
|
+
return w`<g transform="translate(221.97, 100.02)"><g id="shape">
|
|
198767
|
+
<mask id="hdg-beam-line-outline" maskUnits="userSpaceOnUse" x="0" y="0" width="68" height="314" fill="black">
|
|
198768
|
+
<rect fill="white" width="68" height="314"/>
|
|
198769
|
+
<path d="M35 313H33V311H35V313ZM35 309H33V307H35V309ZM35 305H33V303H35V305ZM35 301H33V299H35V301ZM35 297H33V295H35V297ZM35 293H33V291H35V293ZM35 289H33V287H35V289ZM35 285H33V283H35V285ZM35 281H33V279H35V281ZM35 277H33V275H35V277ZM35 273H33V271H35V273ZM35 269H33V267H35V269ZM35 265H33V263H35V265ZM35 261H33V259H35V261ZM35 257H33V255H35V257ZM35 253H33V251H35V253ZM35 249H33V247H35V249ZM35 245H33V243H35V245ZM35 241H33V239H35V241ZM35 237H33V235H35V237ZM35 233H33V231H35V233ZM35 229H33V227H35V229ZM35 225H33V223H35V225ZM35 221H33V219H35V221ZM35 217H33V215H35V217ZM35 213H33V211H35V213ZM35 209H33V207H35V209ZM35 205H33V203H35V205ZM35 201H33V199H35V201ZM35 197H33V195H35V197ZM35 193H33V191H35V193ZM35 189H33V187H35V189ZM35 185H33V183H35V185ZM35 181H33V179H35V181ZM35 177H33V175H35V177ZM35 173H33V171H35V173ZM35 169H33V167H35V169ZM35 165H33V163H35V165ZM34 1C34.5523 1 35 1.44772 35 2V152.126C36.4056 152.488 37.5122 153.594 37.874 155H66C66.5523 155 67 155.448 67 156C67 156.552 66.5523 157 66 157H37.874C37.5122 158.406 36.4056 159.512 35 159.874V161H33V159.874C31.5944 159.512 30.4878 158.406 30.126 157H2C1.44772 157 1 156.552 1 156C1 155.448 1.44772 155 2 155H30.126C30.4878 153.594 31.5944 152.488 33 152.126V2C33 1.44772 33.4477 1 34 1ZM32.2695 157C32.6155 157.597 33.2601 158 34 158C34.7399 158 35.3845 157.597 35.7305 157H32.2695ZM33 154.27C32.697 154.445 32.445 154.697 32.2695 155H33V154.27ZM35 155H35.7305C35.555 154.697 35.303 154.445 35 154.27V155Z"/>
|
|
198770
|
+
</mask>
|
|
198771
|
+
<path d="M35 313H33V311H35V313ZM35 309H33V307H35V309ZM35 305H33V303H35V305ZM35 301H33V299H35V301ZM35 297H33V295H35V297ZM35 293H33V291H35V293ZM35 289H33V287H35V289ZM35 285H33V283H35V285ZM35 281H33V279H35V281ZM35 277H33V275H35V277ZM35 273H33V271H35V273ZM35 269H33V267H35V269ZM35 265H33V263H35V265ZM35 261H33V259H35V261ZM35 257H33V255H35V257ZM35 253H33V251H35V253ZM35 249H33V247H35V249ZM35 245H33V243H35V245ZM35 241H33V239H35V241ZM35 237H33V235H35V237ZM35 233H33V231H35V233ZM35 229H33V227H35V229ZM35 225H33V223H35V225ZM35 221H33V219H35V221ZM35 217H33V215H35V217ZM35 213H33V211H35V213ZM35 209H33V207H35V209ZM35 205H33V203H35V205ZM35 201H33V199H35V201ZM35 197H33V195H35V197ZM35 193H33V191H35V193ZM35 189H33V187H35V189ZM35 185H33V183H35V185ZM35 181H33V179H35V181ZM35 177H33V175H35V177ZM35 173H33V171H35V173ZM35 169H33V167H35V169ZM35 165H33V163H35V165ZM34 1C34.5523 1 35 1.44772 35 2V152.126C36.4056 152.488 37.5122 153.594 37.874 155H66C66.5523 155 67 155.448 67 156C67 156.552 66.5523 157 66 157H37.874C37.5122 158.406 36.4056 159.512 35 159.874V161H33V159.874C31.5944 159.512 30.4878 158.406 30.126 157H2C1.44772 157 1 156.552 1 156C1 155.448 1.44772 155 2 155H30.126C30.4878 153.594 31.5944 152.488 33 152.126V2C33 1.44772 33.4477 1 34 1ZM32.2695 157C32.6155 157.597 33.2601 158 34 158C34.7399 158 35.3845 157.597 35.7305 157H32.2695ZM33 154.27C32.697 154.445 32.445 154.697 32.2695 155H33V154.27ZM35 155H35.7305C35.555 154.697 35.303 154.445 35 154.27V155Z" fill=${colorName}/>
|
|
198772
|
+
<path d="M35 313V314H36V313H35ZM33 313H32V314H33V313ZM33 311V310H32V311H33ZM35 311H36V310H35V311ZM35 309V310H36V309H35ZM33 309H32V310H33V309ZM33 307V306H32V307H33ZM35 307H36V306H35V307ZM35 305V306H36V305H35ZM33 305H32V306H33V305ZM33 303V302H32V303H33ZM35 303H36V302H35V303ZM35 301V302H36V301H35ZM33 301H32V302H33V301ZM33 299V298H32V299H33ZM35 299H36V298H35V299ZM35 297V298H36V297H35ZM33 297H32V298H33V297ZM33 295V294H32V295H33ZM35 295H36V294H35V295ZM35 293V294H36V293H35ZM33 293H32V294H33V293ZM33 291V290H32V291H33ZM35 291H36V290H35V291ZM35 289V290H36V289H35ZM33 289H32V290H33V289ZM33 287V286H32V287H33ZM35 287H36V286H35V287ZM35 285V286H36V285H35ZM33 285H32V286H33V285ZM33 283V282H32V283H33ZM35 283H36V282H35V283ZM35 281V282H36V281H35ZM33 281H32V282H33V281ZM33 279V278H32V279H33ZM35 279H36V278H35V279ZM35 277V278H36V277H35ZM33 277H32V278H33V277ZM33 275V274H32V275H33ZM35 275H36V274H35V275ZM35 273V274H36V273H35ZM33 273H32V274H33V273ZM33 271V270H32V271H33ZM35 271H36V270H35V271ZM35 269V270H36V269H35ZM33 269H32V270H33V269ZM33 267V266H32V267H33ZM35 267H36V266H35V267ZM35 265V266H36V265H35ZM33 265H32V266H33V265ZM33 263V262H32V263H33ZM35 263H36V262H35V263ZM35 261V262H36V261H35ZM33 261H32V262H33V261ZM33 259V258H32V259H33ZM35 259H36V258H35V259ZM35 257V258H36V257H35ZM33 257H32V258H33V257ZM33 255V254H32V255H33ZM35 255H36V254H35V255ZM35 253V254H36V253H35ZM33 253H32V254H33V253ZM33 251V250H32V251H33ZM35 251H36V250H35V251ZM35 249V250H36V249H35ZM33 249H32V250H33V249ZM33 247V246H32V247H33ZM35 247H36V246H35V247ZM35 245V246H36V245H35ZM33 245H32V246H33V245ZM33 243V242H32V243H33ZM35 243H36V242H35V243ZM35 241V242H36V241H35ZM33 241H32V242H33V241ZM33 239V238H32V239H33ZM35 239H36V238H35V239ZM35 237V238H36V237H35ZM33 237H32V238H33V237ZM33 235V234H32V235H33ZM35 235H36V234H35V235ZM35 233V234H36V233H35ZM33 233H32V234H33V233ZM33 231V230H32V231H33ZM35 231H36V230H35V231ZM35 229V230H36V229H35ZM33 229H32V230H33V229ZM33 227V226H32V227H33ZM35 227H36V226H35V227ZM35 225V226H36V225H35ZM33 225H32V226H33V225ZM33 223V222H32V223H33ZM35 223H36V222H35V223ZM35 221V222H36V221H35ZM33 221H32V222H33V221ZM33 219V218H32V219H33ZM35 219H36V218H35V219ZM35 217V218H36V217H35ZM33 217H32V218H33V217ZM33 215V214H32V215H33ZM35 215H36V214H35V215ZM35 213V214H36V213H35ZM33 213H32V214H33V213ZM33 211V210H32V211H33ZM35 211H36V210H35V211ZM35 209V210H36V209H35ZM33 209H32V210H33V209ZM33 207V206H32V207H33ZM35 207H36V206H35V207ZM35 205V206H36V205H35ZM33 205H32V206H33V205ZM33 203V202H32V203H33ZM35 203H36V202H35V203ZM35 201V202H36V201H35ZM33 201H32V202H33V201ZM33 199V198H32V199H33ZM35 199H36V198H35V199ZM35 197V198H36V197H35ZM33 197H32V198H33V197ZM33 195V194H32V195H33ZM35 195H36V194H35V195ZM35 193V194H36V193H35ZM33 193H32V194H33V193ZM33 191V190H32V191H33ZM35 191H36V190H35V191ZM35 189V190H36V189H35ZM33 189H32V190H33V189ZM33 187V186H32V187H33ZM35 187H36V186H35V187ZM35 185V186H36V185H35ZM33 185H32V186H33V185ZM33 183V182H32V183H33ZM35 183H36V182H35V183ZM35 181V182H36V181H35ZM33 181H32V182H33V181ZM33 179V178H32V179H33ZM35 179H36V178H35V179ZM35 177V178H36V177H35ZM33 177H32V178H33V177ZM33 175V174H32V175H33ZM35 175H36V174H35V175ZM35 173V174H36V173H35ZM33 173H32V174H33V173ZM33 171V170H32V171H33ZM35 171H36V170H35V171ZM35 169V170H36V169H35ZM33 169H32V170H33V169ZM33 167V166H32V167H33ZM35 167H36V166H35V167ZM35 165V166H36V165H35ZM33 165H32V166H33V165ZM33 163V162H32V163H33ZM35 163H36V162H35V163ZM34 1V0V0V1ZM35 2H36V2L35 2ZM35 152.126H34V152.901L34.7507 153.094L35 152.126ZM37.874 155L36.9056 155.249L37.0988 156H37.874V155ZM37.874 157V156H37.0988L36.9056 156.751L37.874 157ZM35 159.874L34.7507 158.906L34 159.099V159.874H35ZM35 161V162H36V161H35ZM33 161H32V162H33V161ZM33 159.874H34V159.099L33.2493 158.906L33 159.874ZM30.126 157L31.0944 156.751L30.9012 156H30.126V157ZM30.126 155V156H30.9012L31.0944 155.249L30.126 155ZM33 152.126L33.2493 153.094L34 152.901V152.126H33ZM33 2H34H33ZM32.2695 157V156H30.5348L31.4042 157.501L32.2695 157ZM34 158V159V159V158ZM35.7305 157L36.5958 157.501L37.4652 156H35.7305V157ZM33 154.27H34V152.535L32.4988 153.404L33 154.27ZM32.2695 155L31.4042 154.499L30.5348 156H32.2695V155ZM33 155V156H34V155H33ZM35 155H34V156H35V155ZM35.7305 155V156H37.4652L36.5958 154.499L35.7305 155ZM35 154.27L35.5012 153.404L34 152.535V154.27H35ZM35 313V312H33V313V314H35V313ZM33 313H34V311H33H32V313H33ZM33 311V312H35V311V310H33V311ZM35 311H34V313H35H36V311H35ZM35 309V308H33V309V310H35V309ZM33 309H34V307H33H32V309H33ZM33 307V308H35V307V306H33V307ZM35 307H34V309H35H36V307H35ZM35 305V304H33V305V306H35V305ZM33 305H34V303H33H32V305H33ZM33 303V304H35V303V302H33V303ZM35 303H34V305H35H36V303H35ZM35 301V300H33V301V302H35V301ZM33 301H34V299H33H32V301H33ZM33 299V300H35V299V298H33V299ZM35 299H34V301H35H36V299H35ZM35 297V296H33V297V298H35V297ZM33 297H34V295H33H32V297H33ZM33 295V296H35V295V294H33V295ZM35 295H34V297H35H36V295H35ZM35 293V292H33V293V294H35V293ZM33 293H34V291H33H32V293H33ZM33 291V292H35V291V290H33V291ZM35 291H34V293H35H36V291H35ZM35 289V288H33V289V290H35V289ZM33 289H34V287H33H32V289H33ZM33 287V288H35V287V286H33V287ZM35 287H34V289H35H36V287H35ZM35 285V284H33V285V286H35V285ZM33 285H34V283H33H32V285H33ZM33 283V284H35V283V282H33V283ZM35 283H34V285H35H36V283H35ZM35 281V280H33V281V282H35V281ZM33 281H34V279H33H32V281H33ZM33 279V280H35V279V278H33V279ZM35 279H34V281H35H36V279H35ZM35 277V276H33V277V278H35V277ZM33 277H34V275H33H32V277H33ZM33 275V276H35V275V274H33V275ZM35 275H34V277H35H36V275H35ZM35 273V272H33V273V274H35V273ZM33 273H34V271H33H32V273H33ZM33 271V272H35V271V270H33V271ZM35 271H34V273H35H36V271H35ZM35 269V268H33V269V270H35V269ZM33 269H34V267H33H32V269H33ZM33 267V268H35V267V266H33V267ZM35 267H34V269H35H36V267H35ZM35 265V264H33V265V266H35V265ZM33 265H34V263H33H32V265H33ZM33 263V264H35V263V262H33V263ZM35 263H34V265H35H36V263H35ZM35 261V260H33V261V262H35V261ZM33 261H34V259H33H32V261H33ZM33 259V260H35V259V258H33V259ZM35 259H34V261H35H36V259H35ZM35 257V256H33V257V258H35V257ZM33 257H34V255H33H32V257H33ZM33 255V256H35V255V254H33V255ZM35 255H34V257H35H36V255H35ZM35 253V252H33V253V254H35V253ZM33 253H34V251H33H32V253H33ZM33 251V252H35V251V250H33V251ZM35 251H34V253H35H36V251H35ZM35 249V248H33V249V250H35V249ZM33 249H34V247H33H32V249H33ZM33 247V248H35V247V246H33V247ZM35 247H34V249H35H36V247H35ZM35 245V244H33V245V246H35V245ZM33 245H34V243H33H32V245H33ZM33 243V244H35V243V242H33V243ZM35 243H34V245H35H36V243H35ZM35 241V240H33V241V242H35V241ZM33 241H34V239H33H32V241H33ZM33 239V240H35V239V238H33V239ZM35 239H34V241H35H36V239H35ZM35 237V236H33V237V238H35V237ZM33 237H34V235H33H32V237H33ZM33 235V236H35V235V234H33V235ZM35 235H34V237H35H36V235H35ZM35 233V232H33V233V234H35V233ZM33 233H34V231H33H32V233H33ZM33 231V232H35V231V230H33V231ZM35 231H34V233H35H36V231H35ZM35 229V228H33V229V230H35V229ZM33 229H34V227H33H32V229H33ZM33 227V228H35V227V226H33V227ZM35 227H34V229H35H36V227H35ZM35 225V224H33V225V226H35V225ZM33 225H34V223H33H32V225H33ZM33 223V224H35V223V222H33V223ZM35 223H34V225H35H36V223H35ZM35 221V220H33V221V222H35V221ZM33 221H34V219H33H32V221H33ZM33 219V220H35V219V218H33V219ZM35 219H34V221H35H36V219H35ZM35 217V216H33V217V218H35V217ZM33 217H34V215H33H32V217H33ZM33 215V216H35V215V214H33V215ZM35 215H34V217H35H36V215H35ZM35 213V212H33V213V214H35V213ZM33 213H34V211H33H32V213H33ZM33 211V212H35V211V210H33V211ZM35 211H34V213H35H36V211H35ZM35 209V208H33V209V210H35V209ZM33 209H34V207H33H32V209H33ZM33 207V208H35V207V206H33V207ZM35 207H34V209H35H36V207H35ZM35 205V204H33V205V206H35V205ZM33 205H34V203H33H32V205H33ZM33 203V204H35V203V202H33V203ZM35 203H34V205H35H36V203H35ZM35 201V200H33V201V202H35V201ZM33 201H34V199H33H32V201H33ZM33 199V200H35V199V198H33V199ZM35 199H34V201H35H36V199H35ZM35 197V196H33V197V198H35V197ZM33 197H34V195H33H32V197H33ZM33 195V196H35V195V194H33V195ZM35 195H34V197H35H36V195H35ZM35 193V192H33V193V194H35V193ZM33 193H34V191H33H32V193H33ZM33 191V192H35V191V190H33V191ZM35 191H34V193H35H36V191H35ZM35 189V188H33V189V190H35V189ZM33 189H34V187H33H32V189H33ZM33 187V188H35V187V186H33V187ZM35 187H34V189H35H36V187H35ZM35 185V184H33V185V186H35V185ZM33 185H34V183H33H32V185H33ZM33 183V184H35V183V182H33V183ZM35 183H34V185H35H36V183H35ZM35 181V180H33V181V182H35V181ZM33 181H34V179H33H32V181H33ZM33 179V180H35V179V178H33V179ZM35 179H34V181H35H36V179H35ZM35 177V176H33V177V178H35V177ZM33 177H34V175H33H32V177H33ZM33 175V176H35V175V174H33V175ZM35 175H34V177H35H36V175H35ZM35 173V172H33V173V174H35V173ZM33 173H34V171H33H32V173H33ZM33 171V172H35V171V170H33V171ZM35 171H34V173H35H36V171H35ZM35 169V168H33V169V170H35V169ZM33 169H34V167H33H32V169H33ZM33 167V168H35V167V166H33V167ZM35 167H34V169H35H36V167H35ZM35 165V164H33V165V166H35V165ZM33 165H34V163H33H32V165H33ZM33 163V164H35V163V162H33V163ZM35 163H34V165H35H36V163H35ZM34 1V2V2H35L36 2C36 0.895431 35.1046 0 34 0V1ZM35 2H34V152.126H35H36V2H35ZM35 152.126L34.7507 153.094C35.8035 153.365 36.6346 154.196 36.9056 155.249L37.874 155L38.8425 154.751C38.3899 152.992 37.0077 151.61 35.2493 151.158L35 152.126ZM37.874 155V156H66V155V154H37.874V155ZM66 155V156H67H68C68 154.895 67.1046 154 66 154V155ZM67 156H66V157V158C67.1046 158 68 157.105 68 156H67ZM66 157V156H37.874V157V158H66V157ZM37.874 157L36.9056 156.751C36.6346 157.804 35.8035 158.635 34.7507 158.906L35 159.874L35.2493 160.842C37.0077 160.39 38.3899 159.008 38.8425 157.249L37.874 157ZM35 159.874H34V161H35H36V159.874H35ZM35 161V160H33V161V162H35V161ZM33 161H34V159.874H33H32V161H33ZM33 159.874L33.2493 158.906C32.1965 158.635 31.3654 157.804 31.0944 156.751L30.126 157L29.1575 157.249C29.6101 159.008 30.9923 160.39 32.7507 160.842L33 159.874ZM30.126 157V156H2V157V158H30.126V157ZM2 157V156H1H0C0 157.105 0.89543 158 2 158V157ZM1 156H2V155V154C0.89543 154 0 154.895 0 156H1ZM2 155V156H30.126V155V154H2V155ZM30.126 155L31.0944 155.249C31.3654 154.196 32.1965 153.365 33.2493 153.094L33 152.126L32.7507 151.158C30.9923 151.61 29.6101 152.992 29.1575 154.751L30.126 155ZM33 152.126H34V2H33H32V152.126H33ZM33 2H34V2V1V0C32.8954 5.96046e-08 32 0.89543 32 2H33ZM32.2695 157L31.4042 157.501C31.9207 158.393 32.8872 159 34 159V158V157C33.6329 157 33.3102 156.802 33.1349 156.499L32.2695 157ZM34 158V159C35.1128 159 36.0793 158.393 36.5958 157.501L35.7305 157L34.8651 156.499C34.6898 156.802 34.3671 157 34 157V158ZM35.7305 157V156H32.2695V157V158H35.7305V157ZM33 154.27L32.4988 153.404C32.0448 153.667 31.6671 154.045 31.4042 154.499L32.2695 155L33.1349 155.501C33.2228 155.349 33.3493 155.223 33.5012 155.135L33 154.27ZM32.2695 155V156H33V155V154H32.2695V155ZM33 155H34V154.27H33H32V155H33ZM35 155V156H35.7305V155V154H35V155ZM35.7305 155L36.5958 154.499C36.3329 154.045 35.9552 153.667 35.5012 153.404L35 154.27L34.4988 155.135C34.6507 155.223 34.7772 155.349 34.8651 155.501L35.7305 155ZM35 154.27H34V155H35H36V154.27H35Z" fill="var(--border-silhouette-color)" mask="url(#hdg-beam-line-outline)"/>
|
|
198773
|
+
</g></g>`;
|
|
198774
|
+
}
|
|
198775
|
+
/** COG vector: dashed shaft with a single open arrowhead. */
|
|
198776
|
+
function cogVectorArt(colorName) {
|
|
198777
|
+
return w`<g transform="translate(239.02, 94.99)"><g id="Shape">
|
|
198778
|
+
<mask id="cog-vector-outline" maskUnits="userSpaceOnUse" x="-0.991658" y="3.57628e-07" width="36" height="164" fill="black">
|
|
198779
|
+
<rect fill="white" x="-0.991658" y="3.57628e-07" width="36" height="164"/>
|
|
198780
|
+
<path d="M19.0083 163H15.0083V150.25H19.0083V163ZM19.0083 145.95H15.0083V124.45H19.0083V145.95ZM19.0083 120.15H15.0083V98.6504H19.0083V120.15ZM19.0083 94.3496H15.0083V72.8496H19.0083V94.3496ZM19.0083 68.5498H15.0083V47.0498H19.0083V68.5498ZM16.0747 1.62109C16.4119 0.792983 17.6048 0.792954 17.9419 1.62109L32.857 38.2803C33.5752 40.0456 31.5922 41.6925 29.9419 40.7012L19.0083 34.1904V42.75H15.0083V34.1904L4.07475 40.7012C2.4245 41.6926 0.441442 40.0456 1.15971 38.2803L16.0747 1.62109ZM7.14115 34.1924L17.0083 28.334L26.8755 34.1924L17.0083 9.94141L7.14115 34.1924Z"/>
|
|
198781
|
+
</mask>
|
|
198782
|
+
<path d="M19.0083 163H15.0083V150.25H19.0083V163ZM19.0083 145.95H15.0083V124.45H19.0083V145.95ZM19.0083 120.15H15.0083V98.6504H19.0083V120.15ZM19.0083 94.3496H15.0083V72.8496H19.0083V94.3496ZM19.0083 68.5498H15.0083V47.0498H19.0083V68.5498ZM16.0747 1.62109C16.4119 0.792983 17.6048 0.792954 17.9419 1.62109L32.857 38.2803C33.5752 40.0456 31.5922 41.6925 29.9419 40.7012L19.0083 34.1904V42.75H15.0083V34.1904L4.07475 40.7012C2.4245 41.6926 0.441442 40.0456 1.15971 38.2803L16.0747 1.62109ZM7.14115 34.1924L17.0083 28.334L26.8755 34.1924L17.0083 9.94141L7.14115 34.1924Z" fill=${colorName}/>
|
|
198783
|
+
<path d="M19.0083 163V164H20.0083V163H19.0083ZM15.0083 163H14.0083V164H15.0083V163ZM15.0083 150.25V149.25H14.0083V150.25H15.0083ZM19.0083 150.25H20.0083V149.25H19.0083V150.25ZM19.0083 145.95V146.95H20.0083V145.95H19.0083ZM15.0083 145.95H14.0083V146.95H15.0083V145.95ZM15.0083 124.45V123.45H14.0083V124.45H15.0083ZM19.0083 124.45H20.0083V123.45H19.0083V124.45ZM19.0083 120.15V121.15H20.0083V120.15H19.0083ZM15.0083 120.15H14.0083V121.15H15.0083V120.15ZM15.0083 98.6504V97.6504H14.0083V98.6504H15.0083ZM19.0083 98.6504H20.0083V97.6504H19.0083V98.6504ZM19.0083 94.3496V95.3496H20.0083V94.3496H19.0083ZM15.0083 94.3496H14.0083V95.3496H15.0083V94.3496ZM15.0083 72.8496V71.8496H14.0083V72.8496H15.0083ZM19.0083 72.8496H20.0083V71.8496H19.0083V72.8496ZM19.0083 68.5498V69.5498H20.0083V68.5498H19.0083ZM15.0083 68.5498H14.0083V69.5498H15.0083V68.5498ZM15.0083 47.0498V46.0498H14.0083V47.0498H15.0083ZM19.0083 47.0498H20.0083V46.0498H19.0083V47.0498ZM16.0747 1.62109L15.1486 1.24404L15.1485 1.24423L16.0747 1.62109ZM17.9419 1.62109L18.8682 1.24423L18.8681 1.24408L17.9419 1.62109ZM32.857 38.2803L31.9307 38.6571L31.9307 38.6571L32.857 38.2803ZM29.9419 40.7012L30.4569 39.8439L30.4536 39.842L29.9419 40.7012ZM19.0083 34.1904L19.52 33.3312L18.0083 32.4311V34.1904H19.0083ZM19.0083 42.75V43.75H20.0083V42.75H19.0083ZM15.0083 42.75H14.0083V43.75H15.0083V42.75ZM15.0083 34.1904H16.0083V32.4311L14.4967 33.3312L15.0083 34.1904ZM4.07475 40.7012L3.56311 39.842L3.55977 39.844L4.07475 40.7012ZM1.15971 38.2803L2.08598 38.6571L2.08598 38.6571L1.15971 38.2803ZM7.14115 34.1924L6.21489 33.8155L5.09376 36.5709L7.65168 35.0522L7.14115 34.1924ZM17.0083 28.334L17.5189 27.4741L17.0083 27.171L16.4978 27.4741L17.0083 28.334ZM26.8755 34.1924L26.365 35.0522L28.9229 36.5709L27.8018 33.8155L26.8755 34.1924ZM17.0083 9.94141L17.9346 9.56453L17.0083 7.28802L16.0821 9.56453L17.0083 9.94141ZM19.0083 163V162H15.0083V163V164H19.0083V163ZM15.0083 163H16.0083V150.25H15.0083H14.0083V163H15.0083ZM15.0083 150.25V151.25H19.0083V150.25V149.25H15.0083V150.25ZM19.0083 150.25H18.0083V163H19.0083H20.0083V150.25H19.0083ZM19.0083 145.95V144.95H15.0083V145.95V146.95H19.0083V145.95ZM15.0083 145.95H16.0083V124.45H15.0083H14.0083V145.95H15.0083ZM15.0083 124.45V125.45H19.0083V124.45V123.45H15.0083V124.45ZM19.0083 124.45H18.0083V145.95H19.0083H20.0083V124.45H19.0083ZM19.0083 120.15V119.15H15.0083V120.15V121.15H19.0083V120.15ZM15.0083 120.15H16.0083V98.6504H15.0083H14.0083V120.15H15.0083ZM15.0083 98.6504V99.6504H19.0083V98.6504V97.6504H15.0083V98.6504ZM19.0083 98.6504H18.0083V120.15H19.0083H20.0083V98.6504H19.0083ZM19.0083 94.3496V93.3496H15.0083V94.3496V95.3496H19.0083V94.3496ZM15.0083 94.3496H16.0083V72.8496H15.0083H14.0083V94.3496H15.0083ZM15.0083 72.8496V73.8496H19.0083V72.8496V71.8496H15.0083V72.8496ZM19.0083 72.8496H18.0083V94.3496H19.0083H20.0083V72.8496H19.0083ZM19.0083 68.5498V67.5498H15.0083V68.5498V69.5498H19.0083V68.5498ZM15.0083 68.5498H16.0083V47.0498H15.0083H14.0083V68.5498H15.0083ZM15.0083 47.0498V48.0498H19.0083V47.0498V46.0498H15.0083V47.0498ZM19.0083 47.0498H18.0083V68.5498H19.0083H20.0083V47.0498H19.0083ZM16.0747 1.62109L17.0009 1.99815C17.0025 1.9942 17.0036 1.99245 17.0037 1.99233C17.0037 1.99221 17.0032 1.99304 17.0021 1.99445C16.9994 1.9976 16.9963 2.00017 16.9939 2.00167C16.9918 2.00296 16.9919 2.0025 16.9948 2.00168C16.9979 2.00082 17.0026 2 17.0084 2C17.0141 2 17.0188 2.00082 17.0219 2.00168C17.0248 2.00249 17.0249 2.00295 17.0228 2.00166C17.0204 2.00015 17.0173 1.99758 17.0146 1.99442C17.0134 1.99301 17.0129 1.99217 17.013 1.9923C17.0131 1.99241 17.0141 1.99416 17.0157 1.99811L17.9419 1.62109L18.8681 1.24408C18.1929 -0.414789 15.8238 -0.414582 15.1486 1.24404L16.0747 1.62109ZM17.9419 1.62109L17.0157 1.99795L31.9307 38.6571L32.857 38.2803L33.7832 37.9034L18.8682 1.24423L17.9419 1.62109ZM32.857 38.2803L31.9307 38.6571C32.2629 39.4735 31.3379 40.3732 30.4569 39.8439L29.9419 40.7012L29.427 41.5584C31.8464 43.0118 34.8876 40.6177 33.7832 37.9034L32.857 38.2803ZM29.9419 40.7012L30.4536 39.842L19.52 33.3312L19.0083 34.1904L18.4967 35.0496L29.4303 41.5604L29.9419 40.7012ZM19.0083 34.1904H18.0083V42.75H19.0083H20.0083V34.1904H19.0083ZM19.0083 42.75V41.75H15.0083V42.75V43.75H19.0083V42.75ZM15.0083 42.75H16.0083V34.1904H15.0083H14.0083V42.75H15.0083ZM15.0083 34.1904L14.4967 33.3312L3.56311 39.842L4.07475 40.7012L4.58639 41.5604L15.52 35.0496L15.0083 34.1904ZM4.07475 40.7012L3.55977 39.844C2.67881 40.3732 1.75376 39.4737 2.08598 38.6571L1.15971 38.2803L0.233442 37.9034C-0.870876 40.6176 2.17019 43.012 4.58973 41.5584L4.07475 40.7012ZM1.15971 38.2803L2.08598 38.6571L17.001 1.99795L16.0747 1.62109L15.1485 1.24423L0.233439 37.9034L1.15971 38.2803ZM7.14115 34.1924L7.65168 35.0522L17.5189 29.1938L17.0083 28.334L16.4978 27.4741L6.63063 33.3325L7.14115 34.1924ZM17.0083 28.334L16.4978 29.1938L26.365 35.0522L26.8755 34.1924L27.3861 33.3325L17.5189 27.4741L17.0083 28.334ZM26.8755 34.1924L27.8018 33.8155L17.9346 9.56453L17.0083 9.94141L16.0821 10.3183L25.9493 34.5693L26.8755 34.1924ZM17.0083 9.94141L16.0821 9.56453L6.21489 33.8155L7.14115 34.1924L8.06742 34.5693L17.9346 10.3183L17.0083 9.94141Z" fill="var(--border-silhouette-color)" mask="url(#cog-vector-outline)"/>
|
|
198784
|
+
</g></g>`;
|
|
198785
|
+
}
|
|
198786
|
+
/** COG velocity vector: dashed shaft with a double open arrowhead. */
|
|
198787
|
+
function cogVelocityVectorArt(colorName) {
|
|
198788
|
+
return w`<g transform="translate(245.45, 97.01)"><g id="Shape">
|
|
198789
|
+
<mask id="cog-velocity-vector-outline" maskUnits="userSpaceOnUse" x="-0.513564" y="-4.86374e-05" width="22" height="162" fill="black">
|
|
198790
|
+
<rect fill="white" x="-0.513564" y="-4.86374e-05" width="22" height="162"/>
|
|
198791
|
+
<path d="M12.5489 161H8.54894V149.25H12.5489V161ZM12.5489 145.35H8.54894V125.85H12.5489V145.35ZM12.5489 121.95H8.54894V102.45H12.5489V121.95ZM12.5489 98.5498H8.54894V79.0498H12.5489V98.5498ZM12.5489 75.1503H8.54894V55.6503H12.5489V75.1503ZM12.5489 51.75H8.54894V40H12.5489V51.75ZM9.61534 19.621C9.95247 18.7929 11.1454 18.7929 11.4825 19.621L19.6114 39.6015H15.2931L10.5489 27.9414L5.80479 39.6015H1.48644L9.61534 19.621ZM9.61534 1.62105C9.9525 0.793007 11.1454 0.792963 11.4825 1.62105L19.6114 21.6015H15.2931L10.5489 9.94136L5.80479 21.6015H1.48644L9.61534 1.62105Z"/>
|
|
198792
|
+
</mask>
|
|
198793
|
+
<path d="M12.5489 161H8.54894V149.25H12.5489V161ZM12.5489 145.35H8.54894V125.85H12.5489V145.35ZM12.5489 121.95H8.54894V102.45H12.5489V121.95ZM12.5489 98.5498H8.54894V79.0498H12.5489V98.5498ZM12.5489 75.1503H8.54894V55.6503H12.5489V75.1503ZM12.5489 51.75H8.54894V40H12.5489V51.75ZM9.61534 19.621C9.95247 18.7929 11.1454 18.7929 11.4825 19.621L19.6114 39.6015H15.2931L10.5489 27.9414L5.80479 39.6015H1.48644L9.61534 19.621ZM9.61534 1.62105C9.9525 0.793007 11.1454 0.792963 11.4825 1.62105L19.6114 21.6015H15.2931L10.5489 9.94136L5.80479 21.6015H1.48644L9.61534 1.62105Z" fill=${colorName}/>
|
|
198794
|
+
<path d="M12.5489 161V162H13.5489V161H12.5489ZM8.54894 161H7.54894V162H8.54894V161ZM8.54894 149.25V148.25H7.54894V149.25H8.54894ZM12.5489 149.25H13.5489V148.25H12.5489V149.25ZM12.5489 145.35V146.35H13.5489V145.35H12.5489ZM8.54894 145.35H7.54894V146.35H8.54894V145.35ZM8.54894 125.85V124.85H7.54894V125.85H8.54894ZM12.5489 125.85H13.5489V124.85H12.5489V125.85ZM12.5489 121.95V122.95H13.5489V121.95H12.5489ZM8.54894 121.95H7.54894V122.95H8.54894V121.95ZM8.54894 102.45V101.45H7.54894V102.45H8.54894ZM12.5489 102.45H13.5489V101.45H12.5489V102.45ZM12.5489 98.5498V99.5498H13.5489V98.5498H12.5489ZM8.54894 98.5498H7.54894V99.5498H8.54894V98.5498ZM8.54894 79.0498V78.0498H7.54894V79.0498H8.54894ZM12.5489 79.0498H13.5489V78.0498H12.5489V79.0498ZM12.5489 75.1503V76.1503H13.5489V75.1503H12.5489ZM8.54894 75.1503H7.54894V76.1503H8.54894V75.1503ZM8.54894 55.6503V54.6503H7.54894V55.6503H8.54894ZM12.5489 55.6503H13.5489V54.6503H12.5489V55.6503ZM12.5489 51.75V52.75H13.5489V51.75H12.5489ZM8.54894 51.75H7.54894V52.75H8.54894V51.75ZM8.54894 40V39H7.54894V40H8.54894ZM12.5489 40H13.5489V39H12.5489V40ZM9.61534 19.621L8.68915 19.244L8.68907 19.2442L9.61534 19.621ZM11.4825 19.621L12.4088 19.2442L12.4087 19.244L11.4825 19.621ZM19.6114 39.6015V40.6015H21.0979L20.5377 39.2247L19.6114 39.6015ZM15.2931 39.6015L14.3668 39.9784L14.6203 40.6015H15.2931V39.6015ZM10.5489 27.9414L11.4752 27.5645L10.5489 25.2879L9.62267 27.5645L10.5489 27.9414ZM5.80479 39.6015V40.6015H6.47753L6.73106 39.9784L5.80479 39.6015ZM1.48644 39.6015L0.56016 39.2247L0 40.6015H1.48644V39.6015ZM9.61534 1.62105L8.68917 1.24393L8.68907 1.2442L9.61534 1.62105ZM11.4825 1.62105L12.4088 1.2442L12.4087 1.24399L11.4825 1.62105ZM19.6114 21.6015V22.6015H21.0979L20.5377 21.2247L19.6114 21.6015ZM15.2931 21.6015L14.3668 21.9784L14.6203 22.6015H15.2931V21.6015ZM10.5489 9.94136L11.4752 9.56449L10.5489 7.28791L9.62267 9.56449L10.5489 9.94136ZM5.80479 21.6015V22.6015H6.47753L6.73106 21.9784L5.80479 21.6015ZM1.48644 21.6015L0.56016 21.2247L0 22.6015H1.48644V21.6015ZM12.5489 161V160H8.54894V161V162H12.5489V161ZM8.54894 161H9.54894V149.25H8.54894H7.54894V161H8.54894ZM8.54894 149.25V150.25H12.5489V149.25V148.25H8.54894V149.25ZM12.5489 149.25H11.5489V161H12.5489H13.5489V149.25H12.5489ZM12.5489 145.35V144.35H8.54894V145.35V146.35H12.5489V145.35ZM8.54894 145.35H9.54894V125.85H8.54894H7.54894V145.35H8.54894ZM8.54894 125.85V126.85H12.5489V125.85V124.85H8.54894V125.85ZM12.5489 125.85H11.5489V145.35H12.5489H13.5489V125.85H12.5489ZM12.5489 121.95V120.95H8.54894V121.95V122.95H12.5489V121.95ZM8.54894 121.95H9.54894V102.45H8.54894H7.54894V121.95H8.54894ZM8.54894 102.45V103.45H12.5489V102.45V101.45H8.54894V102.45ZM12.5489 102.45H11.5489V121.95H12.5489H13.5489V102.45H12.5489ZM12.5489 98.5498V97.5498H8.54894V98.5498V99.5498H12.5489V98.5498ZM8.54894 98.5498H9.54894V79.0498H8.54894H7.54894V98.5498H8.54894ZM8.54894 79.0498V80.0498H12.5489V79.0498V78.0498H8.54894V79.0498ZM12.5489 79.0498H11.5489V98.5498H12.5489H13.5489V79.0498H12.5489ZM12.5489 75.1503V74.1503H8.54894V75.1503V76.1503H12.5489V75.1503ZM8.54894 75.1503H9.54894V55.6503H8.54894H7.54894V75.1503H8.54894ZM8.54894 55.6503V56.6503H12.5489V55.6503V54.6503H8.54894V55.6503ZM12.5489 55.6503H11.5489V75.1503H12.5489H13.5489V55.6503H12.5489ZM12.5489 51.75V50.75H8.54894V51.75V52.75H12.5489V51.75ZM8.54894 51.75H9.54894V40H8.54894H7.54894V51.75H8.54894ZM8.54894 40V41H12.5489V40V39H8.54894V40ZM12.5489 40H11.5489V51.75H12.5489H13.5489V40H12.5489ZM9.61534 19.621L10.5415 19.9981C10.5431 19.9941 10.5442 19.9924 10.5443 19.9923C10.5443 19.9921 10.5438 19.993 10.5427 19.9944C10.54 19.9975 10.5369 20.0001 10.5345 20.0016C10.5324 20.0029 10.5325 20.0024 10.5354 20.0016C10.5385 20.0008 10.5432 19.9999 10.549 19.9999C10.5547 19.9999 10.5594 20.0008 10.5625 20.0016C10.5654 20.0024 10.5655 20.0029 10.5634 20.0016C10.561 20.0001 10.5579 19.9975 10.5552 19.9944C10.554 19.9929 10.5535 19.9921 10.5536 19.9922C10.5537 19.9923 10.5547 19.9941 10.5563 19.998L11.4825 19.621L12.4087 19.244C11.7335 17.5851 9.36437 17.5854 8.68915 19.244L9.61534 19.621ZM11.4825 19.621L10.5563 19.9979L18.6852 39.9784L19.6114 39.6015L20.5377 39.2247L12.4088 19.2442L11.4825 19.621ZM19.6114 39.6015V38.6015H15.2931V39.6015V40.6015H19.6114V39.6015ZM15.2931 39.6015L16.2193 39.2246L11.4752 27.5645L10.5489 27.9414L9.62267 28.3182L14.3668 39.9784L15.2931 39.6015ZM10.5489 27.9414L9.62267 27.5645L4.87853 39.2246L5.80479 39.6015L6.73106 39.9784L11.4752 28.3182L10.5489 27.9414ZM5.80479 39.6015V38.6015H1.48644V39.6015V40.6015H5.80479V39.6015ZM1.48644 39.6015L2.41271 39.9784L10.5416 19.9979L9.61534 19.621L8.68907 19.2442L0.56016 39.2247L1.48644 39.6015ZM9.61534 1.62105L10.5415 1.99816C10.5431 1.99421 10.5442 1.99246 10.5442 1.99235C10.5443 1.99222 10.5438 1.99306 10.5426 1.99447C10.54 1.99762 10.5368 2.00018 10.5345 2.00168C10.5324 2.00296 10.5325 2.0025 10.5354 2.00168C10.5385 2.00082 10.5432 2 10.549 2C10.5547 2 10.5595 2.00082 10.5625 2.00168C10.5654 2.0025 10.5655 2.00295 10.5634 2.00166C10.561 2.00015 10.5579 1.99758 10.5552 1.99442C10.554 1.99301 10.5535 1.99217 10.5536 1.99229C10.5537 1.9924 10.5547 1.99415 10.5563 1.9981L11.4825 1.62105L12.4087 1.24399C11.7334 -0.414815 9.36445 -0.414494 8.68917 1.24393L9.61534 1.62105ZM11.4825 1.62105L10.5563 1.99789L18.6852 21.9784L19.6114 21.6015L20.5377 21.2247L12.4088 1.2442L11.4825 1.62105ZM19.6114 21.6015V20.6015H15.2931V21.6015V22.6015H19.6114V21.6015ZM15.2931 21.6015L16.2193 21.2246L11.4752 9.56449L10.5489 9.94136L9.62267 10.3182L14.3668 21.9784L15.2931 21.6015ZM10.5489 9.94136L9.62267 9.56449L4.87853 21.2246L5.80479 21.6015L6.73106 21.9784L11.4752 10.3182L10.5489 9.94136ZM5.80479 21.6015V20.6015H1.48644V21.6015V22.6015H5.80479V21.6015ZM1.48644 21.6015L2.41271 21.9784L10.5416 1.99789L9.61534 1.62105L8.68907 1.2442L0.56016 21.2247L1.48644 21.6015Z" fill="var(--border-silhouette-color)" mask="url(#cog-velocity-vector-outline)"/>
|
|
198795
|
+
</g></g>`;
|
|
198796
|
+
}
|
|
198797
|
+
// src/navigation-instruments/course-arrows/course-arrows.ts
|
|
198798
|
+
/**
|
|
198799
|
+
* Shared HDG/COG arrow art for the radial course instruments
|
|
198800
|
+
* (`obc-compass`, `obc-heading`; `obc-compass-sector` consumes the arrow-head
|
|
198801
|
+
* styles through the deprecated `compass/arrow.ts` shim).
|
|
198802
|
+
*
|
|
198803
|
+
* All art is authored in the 512/center-256 coordinate system and wrapped in
|
|
198804
|
+
* `rotate(angle) translate(-256, -256)` groups, per the watch-instrument SVG
|
|
198805
|
+
* conventions. Colors derive from the instrument priority palette.
|
|
198806
|
+
*
|
|
198807
|
+
* `radiusOffset` shifts ring-anchored art (the `arrowHead` styles) outward —
|
|
198808
|
+
* `obc-compass-sector` passes its zoom radius offset here. Center-anchored
|
|
198809
|
+
* styles (`needle`, `vector`, `beamLine`, `velocityVector`) ignore it.
|
|
198810
|
+
*/
|
|
198811
|
+
var HdgArrowStyle = /* @__PURE__ */ function(HdgArrowStyle) {
|
|
198812
|
+
HdgArrowStyle["arrowHead"] = "arrowHead";
|
|
198813
|
+
HdgArrowStyle["needle"] = "needle";
|
|
198814
|
+
HdgArrowStyle["vector"] = "vector";
|
|
198815
|
+
HdgArrowStyle["beamLine"] = "beamLine";
|
|
198816
|
+
return HdgArrowStyle;
|
|
198817
|
+
}({});
|
|
198818
|
+
var CogArrowStyle = /* @__PURE__ */ function(CogArrowStyle) {
|
|
198819
|
+
CogArrowStyle["arrowHead"] = "arrowHead";
|
|
198820
|
+
CogArrowStyle["needle"] = "needle";
|
|
198821
|
+
CogArrowStyle["vector"] = "vector";
|
|
198822
|
+
CogArrowStyle["velocityVector"] = "velocityVector";
|
|
198823
|
+
return CogArrowStyle;
|
|
198824
|
+
}({});
|
|
198825
|
+
function arrowColor(priority) {
|
|
198826
|
+
return priority === Priority.enhanced ? "var(--instrument-enhanced-secondary-color)" : "var(--instrument-regular-secondary-color)";
|
|
198827
|
+
}
|
|
198828
|
+
function hdgArrowHead(angle, colorName, radiusOffset) {
|
|
198829
|
+
return w`
|
|
198830
|
+
<g transform="rotate(${angle}) translate(-256, ${-256 - radiusOffset})">
|
|
198831
|
+
|
|
198832
|
+
<path d="M254.654 100.32C255.219 99.1903 256.906 99.2277 257.396 100.433L272.312 137.092L272.388 137.301C273.067 139.455 270.647 141.314 268.676 140.13V140.129L256 132.582L243.323 140.129L243.324 140.13C241.289 141.352 238.777 139.332 239.688 137.092L254.604 100.433L254.654 100.32Z"
|
|
198833
|
+
fill=${colorName} stroke="var(--border-silhouette-color)" stroke-width="1" vector-effect="non-scaling-stroke"/>
|
|
198834
|
+
</g>
|
|
198835
|
+
`;
|
|
198836
|
+
}
|
|
198837
|
+
function cogArrowHead(angle, colorName, radiusOffset) {
|
|
198838
|
+
return w`
|
|
198839
|
+
<g transform="rotate(${angle}) translate(-256, ${-256 - radiusOffset})">
|
|
198840
|
+
<mask id="path-1-outside-1_133_32856" maskUnits="userSpaceOnUse" x="238" y="99" width="36" height="42" fill="black">
|
|
198841
|
+
<rect fill="white" x="238" y="99" width="36" height="42"/>
|
|
198842
|
+
<path fill-rule="evenodd" clip-rule="evenodd" vector-effect="non-scaling-stroke" d="M256 127.334L265.867 133.192L256 108.941L246.133 133.192L256 127.334ZM255.067 100.621C255.404 99.7929 256.596 99.7929 256.933 100.621L271.849 137.28C272.567 139.046 270.584 140.693 268.933 139.701L256 132L243.067 139.701C241.416 140.693 239.433 139.046 240.151 137.28L255.067 100.621Z"/>
|
|
198843
|
+
</mask>
|
|
198844
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M256 127.334L265.867 133.192L256 108.941L246.133 133.192L256 127.334ZM255.067 100.621C255.404 99.7929 256.596 99.7929 256.933 100.621L271.849 137.28C272.567 139.046 270.584 140.693 268.933 139.701L256 132L243.067 139.701C241.416 140.693 239.433 139.046 240.151 137.28L255.067 100.621Z"
|
|
198845
|
+
fill=${colorName} />
|
|
198846
|
+
<path d="M256 127.334L256.511 126.474L256 126.171L255.489 126.474L256 127.334ZM265.867 133.192L265.357 134.052L267.914 135.571L266.793 132.816L265.867 133.192ZM256 108.941L256.926 108.564L256 106.288L255.074 108.564L256 108.941ZM246.133 133.192L245.207 132.816L244.086 135.571L246.643 134.052L246.133 133.192ZM255.067 100.621L254.14 100.244L255.067 100.621ZM256.933 100.621L257.86 100.244L256.933 100.621ZM271.849 137.28L270.922 137.657L271.849 137.28ZM268.933 139.701L269.448 138.844L269.445 138.842L268.933 139.701ZM256 132L256.512 131.141L256 130.836L255.488 131.141L256 132ZM243.067 139.701L242.555 138.842L242.552 138.844L243.067 139.701ZM240.151 137.28L241.078 137.657L240.151 137.28ZM255.489 128.193L265.357 134.052L266.378 132.333L256.511 126.474L255.489 128.193ZM266.793 132.816L256.926 108.564L255.074 109.318L264.941 133.569L266.793 132.816ZM255.074 108.564L245.207 132.816L247.059 133.569L256.926 109.318L255.074 108.564ZM246.643 134.052L256.511 128.193L255.489 126.474L245.622 132.333L246.643 134.052ZM255.993 100.998C255.994 100.994 255.996 100.992 255.996 100.992C255.996 100.992 255.995 100.993 255.994 100.994C255.991 100.997 255.988 101 255.986 101.002C255.984 101.003 255.984 101.002 255.987 101.002C255.99 101.001 255.994 101 256 101C256.006 101 256.01 101.001 256.013 101.002C256.016 101.002 256.016 101.003 256.014 101.002C256.012 101 256.009 100.997 256.006 100.994C256.005 100.993 256.004 100.992 256.004 100.992C256.004 100.992 256.006 100.994 256.007 100.998L257.86 100.244C257.185 98.5852 254.815 98.5852 254.14 100.244L255.993 100.998ZM256.007 100.998L270.922 137.657L272.775 136.903L257.86 100.244L256.007 100.998ZM270.922 137.657C271.255 138.473 270.33 139.373 269.448 138.844L268.418 140.558C270.838 142.012 273.879 139.618 272.775 136.903L270.922 137.657ZM269.445 138.842L256.512 131.141L255.488 132.859L268.422 140.56L269.445 138.842ZM255.488 131.141L242.555 138.842L243.578 140.56L256.512 132.859L255.488 131.141ZM242.552 138.844C241.67 139.373 240.745 138.473 241.078 137.657L239.225 136.903C238.121 139.618 241.162 142.012 243.582 140.558L242.552 138.844ZM241.078 137.657L255.993 100.998L254.14 100.244L239.225 136.903L241.078 137.657Z"
|
|
198847
|
+
fill="var(--border-silhouette-color)" vector-effect="non-scaling-stroke" mask="url(#path-1-outside-1_133_32856)"/>
|
|
198848
|
+
|
|
198849
|
+
</g>
|
|
198850
|
+
`;
|
|
198851
|
+
}
|
|
198852
|
+
function hdgNeedle(angle, colorName) {
|
|
198853
|
+
return w`
|
|
198854
|
+
<g transform="translate(-256, -256) rotate(${angle}) scale(0.98)" transform-origin="256 256">
|
|
198855
|
+
<mask id="path-1-outside-1_18306_91613" maskUnits="userSpaceOnUse" x="238" y="94.9999" width="36" height="318" fill="black">
|
|
198856
|
+
<rect fill="white" x="238" y="94.9999" width="36" height="318"/>
|
|
198857
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M256.934 96.621C256.596 95.7928 255.403 95.7929 255.066 96.621L240.151 133.28C239.433 135.046 241.416 136.692 243.066 135.701L252 130.381V249.072C249.609 250.455 248 253.039 248 256C248 259.728 250.549 262.86 254 263.748V410C254 411.104 254.895 412 256 412C257.104 412 258 411.104 258 410V263.747C261.45 262.859 264 259.727 264 256C264 253.039 262.391 250.456 260 249.072V130.381L268.934 135.701C270.584 136.692 272.567 135.045 271.849 133.28L256.934 96.621ZM256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260Z"/>
|
|
198858
|
+
</mask>
|
|
198859
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M256.934 96.621C256.596 95.7928 255.403 95.7929 255.066 96.621L240.151 133.28C239.433 135.046 241.416 136.692 243.066 135.701L252 130.381V249.072C249.609 250.455 248 253.039 248 256C248 259.728 250.549 262.86 254 263.748V410C254 411.104 254.895 412 256 412C257.104 412 258 411.104 258 410V263.747C261.45 262.859 264 259.727 264 256C264 253.039 262.391 250.456 260 249.072V130.381L268.934 135.701C270.584 136.692 272.567 135.045 271.849 133.28L256.934 96.621ZM256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260Z" fill=${colorName}/>
|
|
198860
|
+
<path d="M255.066 96.621L254.14 96.2439L254.14 96.2441L255.066 96.621ZM256.934 96.621L257.86 96.2441L257.86 96.244L256.934 96.621ZM240.151 133.28L241.078 133.657L241.078 133.657L240.151 133.28ZM243.066 135.701L242.555 134.842L242.551 134.844L243.066 135.701ZM252 130.381H253V128.621L251.488 129.522L252 130.381ZM252 249.072L252.501 249.938L253 249.649V249.072H252ZM248 256L247 256V256H248ZM254 263.748H255V262.973L254.249 262.779L254 263.748ZM256 412V413H256L256 412ZM258 263.747L257.751 262.779L257 262.972V263.747H258ZM264 256H265V256L264 256ZM260 249.072H259V249.649L259.499 249.938L260 249.072ZM260 130.381L260.512 129.522L259 128.621V130.381H260ZM268.934 135.701L269.448 134.844L269.445 134.842L268.934 135.701ZM271.849 133.28L270.922 133.657L270.922 133.657L271.849 133.28ZM255.066 96.621L255.993 96.998C255.994 96.9941 255.995 96.9923 255.995 96.9922C255.995 96.9921 255.995 96.9929 255.994 96.9943C255.991 96.9975 255.988 97 255.985 97.0015C255.983 97.0028 255.983 97.0024 255.986 97.0016C255.989 97.0007 255.994 96.9999 256 96.9999C256.006 96.9999 256.01 97.0007 256.014 97.0016C256.016 97.0024 256.016 97.0028 256.014 97.0015C256.012 97 256.009 96.9975 256.006 96.9943C256.005 96.9929 256.005 96.9921 256.005 96.9922C256.005 96.9923 256.006 96.994 256.007 96.998L256.934 96.621L257.86 96.244C257.184 94.5851 254.815 94.5853 254.14 96.2439L255.066 96.621ZM240.151 133.28L241.078 133.657L255.993 96.9978L255.066 96.621L254.14 96.2441L239.225 132.903L240.151 133.28ZM243.066 135.701L242.551 134.844C241.67 135.373 240.745 134.474 241.078 133.657L240.151 133.28L239.225 132.903C238.121 135.617 241.162 138.012 243.581 136.558L243.066 135.701ZM252 130.381L251.488 129.522L242.555 134.842L243.066 135.701L243.578 136.56L252.512 131.24L252 130.381ZM252 249.072H253V130.381H252H251V249.072H252ZM248 256L249 256C249 253.411 250.406 251.15 252.501 249.938L252 249.072L251.499 248.207C248.812 249.761 247 252.667 247 256L248 256ZM254 263.748L254.249 262.779C251.23 262.002 249 259.26 249 256H248H247C247 260.195 249.869 263.717 253.751 264.716L254 263.748ZM254 410H255V263.748H254H253V410H254ZM256 412V411C255.448 411 255 410.552 255 410H254H253C253 411.657 254.343 413 256 413V412ZM258 410H257C257 410.552 256.552 411 256 411L256 412L256 413C257.657 413 259 411.657 259 410H258ZM258 263.747H257V410H258H259V263.747H258ZM264 256H263C263 259.26 260.77 262.001 257.751 262.779L258 263.747L258.249 264.715C262.13 263.716 265 260.195 265 256H264ZM260 249.072L259.499 249.938C261.594 251.15 263 253.411 263 256L264 256L265 256C265 252.667 263.187 249.761 260.501 248.207L260 249.072ZM260 130.381H259V249.072H260H261V130.381H260ZM268.934 135.701L269.445 134.842L260.512 129.522L260 130.381L259.488 131.24L268.422 136.56L268.934 135.701ZM271.849 133.28L270.922 133.657C271.254 134.473 270.33 135.373 269.448 134.844L268.934 135.701L268.419 136.558C270.838 138.012 273.879 135.618 272.775 132.903L271.849 133.28ZM256.934 96.621L256.007 96.9978L270.922 133.657L271.849 133.28L272.775 132.903L257.86 96.2441L256.934 96.621ZM260 256H259C259 257.657 257.657 259 256 259V260V261C258.761 261 261 258.761 261 256H260ZM256 252V253C257.657 253 259 254.343 259 256H260H261C261 253.239 258.761 251 256 251V252ZM252 256H253C253 254.343 254.343 253 256 253V252V251C253.239 251 251 253.239 251 256H252ZM256 260V259C254.343 259 253 257.657 253 256H252H251C251 258.761 253.239 261 256 261V260Z" fill="var(--border-silhouette-color)" mask="url(#path-1-outside-1_18306_91613)"/>
|
|
198861
|
+
</g>
|
|
198862
|
+
`;
|
|
198863
|
+
}
|
|
198864
|
+
function cogNeedle(angle, colorName) {
|
|
198865
|
+
return w`
|
|
198866
|
+
<g transform="translate(-256, -256) rotate(${angle}) scale(0.98)" transform-origin="256 256">
|
|
198867
|
+
<mask id="path-1-outside-1_18306_91642" maskUnits="userSpaceOnUse" x="238" y="94.9999" width="36" height="170" fill="black">
|
|
198868
|
+
<rect fill="white" x="238" y="94.9999" width="36" height="170"/>
|
|
198869
|
+
<path d="M255.066 96.621C255.404 95.7929 256.596 95.7928 256.934 96.621L271.849 133.28C272.567 135.046 270.584 136.692 268.934 135.701L258 129.19V248.252C261.45 249.14 264 252.272 264 256C264 260.418 260.418 264 256 264C251.582 264 248 260.418 248 256C248 252.272 250.55 249.14 254 248.252V129.19L243.066 135.701C241.416 136.692 239.433 135.046 240.151 133.28L255.066 96.621ZM256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252ZM246.133 129.192L256 123.334L265.867 129.192L256 104.941L246.133 129.192Z"/>
|
|
198870
|
+
</mask>
|
|
198871
|
+
<path d="M255.066 96.621C255.404 95.7929 256.596 95.7928 256.934 96.621L271.849 133.28C272.567 135.046 270.584 136.692 268.934 135.701L258 129.19V248.252C261.45 249.14 264 252.272 264 256C264 260.418 260.418 264 256 264C251.582 264 248 260.418 248 256C248 252.272 250.55 249.14 254 248.252V129.19L243.066 135.701C241.416 136.692 239.433 135.046 240.151 133.28L255.066 96.621ZM256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252ZM246.133 129.192L256 123.334L265.867 129.192L256 104.941L246.133 129.192Z" fill="${colorName}"/>
|
|
198872
|
+
<path d="M255.066 96.621L254.14 96.2439L254.14 96.2441L255.066 96.621ZM256.934 96.621L257.86 96.2441L257.86 96.244L256.934 96.621ZM271.849 133.28L270.922 133.657L270.922 133.657L271.849 133.28ZM268.934 135.701L269.449 134.844L269.445 134.842L268.934 135.701ZM258 129.19L258.512 128.331L257 127.431V129.19H258ZM258 248.252H257V249.027L257.751 249.22L258 248.252ZM264 256H265V256L264 256ZM256 264V265H256L256 264ZM248 256L247 256V256H248ZM254 248.252L254.249 249.22L255 249.027V248.252H254ZM254 129.19H255V127.431L253.488 128.331L254 129.19ZM243.066 135.701L242.555 134.842L242.551 134.844L243.066 135.701ZM240.151 133.28L241.078 133.657L241.078 133.657L240.151 133.28ZM256 252L256 251H256V252ZM252 256L251 256V256H252ZM256 260V261H256L256 260ZM260 256H261V256L260 256ZM246.133 129.192L245.207 128.815L244.085 131.571L246.643 130.052L246.133 129.192ZM256 123.334L256.511 122.474L256 122.171L255.489 122.474L256 123.334ZM265.867 129.192L265.357 130.052L267.915 131.571L266.793 128.815L265.867 129.192ZM256 104.941L256.926 104.564L256 102.288L255.074 104.564L256 104.941ZM255.066 96.621L255.993 96.998C255.994 96.9941 255.995 96.9923 255.995 96.9922C255.995 96.9921 255.995 96.9929 255.994 96.9943C255.991 96.9975 255.988 97.0001 255.986 97.0016C255.983 97.0028 255.984 97.0024 255.986 97.0016C255.99 97.0007 255.994 96.9999 256 96.9999C256.006 96.9999 256.01 97.0007 256.014 97.0016C256.016 97.0024 256.017 97.0028 256.014 97.0015C256.012 97 256.009 96.9975 256.006 96.9943C256.005 96.9929 256.005 96.9921 256.005 96.9922C256.005 96.9923 256.006 96.9941 256.007 96.998L256.934 96.621L257.86 96.244C257.185 94.5851 254.815 94.5853 254.14 96.2439L255.066 96.621ZM256.934 96.621L256.007 96.9978L270.922 133.657L271.849 133.28L272.775 132.903L257.86 96.2441L256.934 96.621ZM271.849 133.28L270.922 133.657C271.255 134.473 270.33 135.373 269.449 134.844L268.934 135.701L268.419 136.558C270.838 138.012 273.879 135.618 272.775 132.903L271.849 133.28ZM268.934 135.701L269.445 134.842L258.512 128.331L258 129.19L257.488 130.05L268.422 136.56L268.934 135.701ZM258 129.19H257V248.252H258H259V129.19H258ZM258 248.252L257.751 249.22C260.77 249.997 263 252.74 263 256L264 256L265 256C265 251.805 262.131 248.283 258.249 247.283L258 248.252ZM264 256H263C263 259.866 259.866 263 256 263L256 264L256 265C260.97 265 265 260.97 265 256H264ZM256 264V263C252.134 263 249 259.866 249 256H248H247C247 260.97 251.029 265 256 265V264ZM248 256L249 256C249 252.74 251.23 249.997 254.249 249.22L254 248.252L253.751 247.283C249.869 248.282 247 251.805 247 256L248 256ZM254 248.252H255V129.19H254H253V248.252H254ZM254 129.19L253.488 128.331L242.555 134.842L243.066 135.701L243.578 136.56L254.512 130.05L254 129.19ZM243.066 135.701L242.551 134.844C241.67 135.373 240.745 134.474 241.078 133.657L240.151 133.28L239.225 132.903C238.121 135.618 241.162 138.012 243.581 136.558L243.066 135.701ZM240.151 133.28L241.078 133.657L255.993 96.9978L255.066 96.621L254.14 96.2441L239.225 132.903L240.151 133.28ZM256 252V251C253.239 251 251 253.239 251 256L252 256L253 256C253 254.343 254.343 253 256 253V252ZM252 256H251C251 258.761 253.239 261 256 261V260V259C254.343 259 253 257.657 253 256H252ZM256 260L256 261C258.761 261 261 258.761 261 256H260H259C259 257.657 257.657 259 256 259L256 260ZM260 256L261 256C261 253.239 258.761 251 256 251L256 252L256 253C257.657 253 259 254.343 259 256L260 256ZM246.133 129.192L246.643 130.052L256.511 124.194L256 123.334L255.489 122.474L245.622 128.332L246.133 129.192ZM256 123.334L255.489 124.194L265.357 130.052L265.867 129.192L266.378 128.332L256.511 122.474L256 123.334ZM265.867 129.192L266.793 128.815L256.926 104.564L256 104.941L255.074 105.318L264.941 129.569L265.867 129.192ZM256 104.941L255.074 104.564L245.207 128.815L246.133 129.192L247.059 129.569L256.926 105.318L256 104.941Z" fill="var(--border-silhouette-color)" mask="url(#path-1-outside-1_18306_91642)"/>
|
|
198873
|
+
|
|
198874
|
+
|
|
198875
|
+
</g>
|
|
198876
|
+
`;
|
|
198877
|
+
}
|
|
198878
|
+
/**
|
|
198879
|
+
* Renders the heading (HDG) arrow in the requested style, rotated to `angle`
|
|
198880
|
+
* degrees (0° = 12 o'clock).
|
|
198881
|
+
*/
|
|
198882
|
+
function hdgArrow(style, angle, priority = Priority.regular, radiusOffset = 0) {
|
|
198883
|
+
const colorName = arrowColor(priority);
|
|
198884
|
+
switch (style) {
|
|
198885
|
+
case "arrowHead": return hdgArrowHead(angle, colorName, radiusOffset);
|
|
198886
|
+
case "needle": return hdgNeedle(angle, colorName);
|
|
198887
|
+
case "vector": return w`
|
|
198888
|
+
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
198889
|
+
${hdgVectorArt(colorName)}
|
|
198890
|
+
<circle cx="256" cy="256" r="2" fill="var(--border-silhouette-color)"/>
|
|
198891
|
+
</g>
|
|
198892
|
+
`;
|
|
198893
|
+
case "beamLine": return w`
|
|
198894
|
+
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
198895
|
+
${hdgBeamLineArt(colorName)}
|
|
198896
|
+
<circle cx="256" cy="256" r="2" fill="var(--border-silhouette-color)"/>
|
|
198897
|
+
</g>
|
|
198898
|
+
`;
|
|
198899
|
+
}
|
|
198900
|
+
}
|
|
198901
|
+
/**
|
|
198902
|
+
* Renders the course-over-ground (COG) arrow in the requested style, rotated
|
|
198903
|
+
* to `angle` degrees (0° = 12 o'clock).
|
|
198904
|
+
*/
|
|
198905
|
+
function cogArrow(style, angle, priority = Priority.regular, radiusOffset = 0) {
|
|
198906
|
+
const colorName = arrowColor(priority);
|
|
198907
|
+
switch (style) {
|
|
198908
|
+
case "arrowHead": return cogArrowHead(angle, colorName, radiusOffset);
|
|
198909
|
+
case "needle": return cogNeedle(angle, colorName);
|
|
198910
|
+
case "vector": return w`
|
|
198911
|
+
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
198912
|
+
${cogVectorArt(colorName)}
|
|
198913
|
+
</g>
|
|
198914
|
+
`;
|
|
198915
|
+
case "velocityVector": return w`
|
|
198916
|
+
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
198917
|
+
${cogVelocityVectorArt(colorName)}
|
|
198918
|
+
</g>
|
|
198919
|
+
`;
|
|
198920
|
+
}
|
|
198921
|
+
}
|
|
198922
|
+
// src/navigation-instruments/attitude/attitude.ts
|
|
198923
|
+
/** Radius of the face, which is the watch's outer ring. */
|
|
198924
|
+
var FACE_RADIUS = 184;
|
|
198925
|
+
/** Distance between two ladder rungs; one rung is `pitchTickInterval` degrees. */
|
|
198926
|
+
var RUNG_SPACING = 64;
|
|
198927
|
+
var RUNG_HALF_WIDTH = 12;
|
|
198928
|
+
/**
|
|
198929
|
+
* Range of `pitchTickInterval` that is drawn. The upper end keeps the ground
|
|
198930
|
+
* band at least two rungs tall, so the face never holds more than a few bands.
|
|
198931
|
+
* The lower end keeps ladder distances small enough to count rungs exactly.
|
|
198932
|
+
*/
|
|
198933
|
+
var MIN_PITCH_TICK_INTERVAL = .1;
|
|
198934
|
+
var MAX_PITCH_TICK_INTERVAL = 90;
|
|
198935
|
+
/** Stands in for a `pitchTickInterval` that is not a positive number. */
|
|
198936
|
+
var DEFAULT_PITCH_TICK_INTERVAL = 10;
|
|
198937
|
+
/**
|
|
198938
|
+
* Marks of the roll scale, which turns with the horizon under the fixed
|
|
198939
|
+
* pointer. The pointer sits on the side of the zero mark the vehicle rolls to.
|
|
198940
|
+
*
|
|
198941
|
+
* TODO(designer): Figma 20108:142406 labels this arc 270/315/0/45/90, the
|
|
198942
|
+
* generic watch-face preset. Confirm the roll labels.
|
|
198943
|
+
*/
|
|
198944
|
+
var ROLL_SCALE_MARKS = [
|
|
198945
|
+
{
|
|
198946
|
+
angle: 270,
|
|
198947
|
+
type: TickmarkType$1.textOnly,
|
|
198948
|
+
text: "90"
|
|
198949
|
+
},
|
|
198950
|
+
{
|
|
198951
|
+
angle: 315,
|
|
198952
|
+
type: TickmarkType$1.primary,
|
|
198953
|
+
text: "45"
|
|
198954
|
+
},
|
|
198955
|
+
{
|
|
198956
|
+
angle: 0,
|
|
198957
|
+
type: TickmarkType$1.main,
|
|
198958
|
+
text: "0"
|
|
198959
|
+
},
|
|
198960
|
+
{
|
|
198961
|
+
angle: 45,
|
|
198962
|
+
type: TickmarkType$1.primary,
|
|
198963
|
+
text: "45"
|
|
198964
|
+
},
|
|
198965
|
+
{
|
|
198966
|
+
angle: 90,
|
|
198967
|
+
type: TickmarkType$1.textOnly,
|
|
198968
|
+
text: "90"
|
|
198969
|
+
}
|
|
198970
|
+
];
|
|
198971
|
+
/** The fixed symbol, a 240 × 28 box whose bar is centred on its row 4 (Figma 35754:89010). */
|
|
198972
|
+
var VESSEL_SYMBOL_PATH = "M100 0C102.209 0 104 1.791 104 4C104 8.243 105.686 12.313 108.687 15.313C111.687 18.314 115.757 20 120 20C124.243 20 128.313 18.314 131.313 15.313C134.314 12.313 136 8.243 136 4C136 1.791 137.791 0 140 0L236 0C238.209 0 240 1.791 240 4C240 6.209 238.209 8 236 8L143.663 8C142.838 12.881 140.517 17.424 136.971 20.971C132.47 25.472 126.365 28 120 28C113.635 28 107.53 25.472 103.029 20.971C99.483 17.424 97.162 12.881 96.337 8L4 8C1.791 8 0 6.209 0 4C0 1.791 1.791 0 4 0L100 0Z";
|
|
198973
|
+
function isNumber(value) {
|
|
198974
|
+
return typeof value === "number" && Number.isFinite(value);
|
|
198975
|
+
}
|
|
198976
|
+
var ObcAttitude = class ObcAttitude extends i$4 {
|
|
198977
|
+
constructor(..._args) {
|
|
198978
|
+
super(..._args);
|
|
198979
|
+
this.pitch = 0;
|
|
198980
|
+
this.roll = 0;
|
|
198981
|
+
this.pitchTickInterval = 10;
|
|
198982
|
+
this.showLabels = true;
|
|
198983
|
+
this.priority = Priority.regular;
|
|
198984
|
+
this._idPrefix = `attitude-${Math.random().toString(36).slice(2, 9)}`;
|
|
198985
|
+
this._hostSizePinned = false;
|
|
198986
|
+
this._resizeController = new h(this, {});
|
|
198987
|
+
}
|
|
198988
|
+
firstUpdated(changed) {
|
|
198989
|
+
super.firstUpdated(changed);
|
|
198990
|
+
observeInnerBox(this._resizeController, this.renderRoot);
|
|
198991
|
+
}
|
|
198992
|
+
updated(changed) {
|
|
198993
|
+
super.updated(changed);
|
|
198994
|
+
this._hostSizePinned = applyPinnedHostSize(this, this._frame, this._hostSizePinned);
|
|
198995
|
+
}
|
|
198996
|
+
get safeRoll() {
|
|
198997
|
+
return isNumber(this.roll) ? this.roll : 0;
|
|
198998
|
+
}
|
|
198999
|
+
/** Pitch within half a turn either way, so a full turn draws like none. */
|
|
199000
|
+
get wrappedPitch() {
|
|
199001
|
+
return isNumber(this.pitch) ? normalizeSignedAngle(this.pitch) : 0;
|
|
199002
|
+
}
|
|
199003
|
+
/**
|
|
199004
|
+
* Ladder distance for a pitch angle, in SVG units.
|
|
199005
|
+
*
|
|
199006
|
+
* TODO(designer): Figma 20108:141712 spaces the rungs 64 apart and gives
|
|
199007
|
+
* them no value. The default reads one rung as 10°.
|
|
199008
|
+
*/
|
|
199009
|
+
ladderUnits(degrees) {
|
|
199010
|
+
const interval = isNumber(this.pitchTickInterval) && this.pitchTickInterval > 0 ? clamp$1(this.pitchTickInterval, MIN_PITCH_TICK_INTERVAL, MAX_PITCH_TICK_INTERVAL) : DEFAULT_PITCH_TICK_INTERVAL;
|
|
199011
|
+
return degrees * RUNG_SPACING / interval;
|
|
199012
|
+
}
|
|
199013
|
+
/**
|
|
199014
|
+
* Turn of the roll scale, in degrees clockwise. Its zero mark points at the
|
|
199015
|
+
* sky, so it turns with the horizon and swaps sides once the pitch passes
|
|
199016
|
+
* vertical, where the vehicle is upside down and the sky is below.
|
|
199017
|
+
*/
|
|
199018
|
+
get rollScaleRotation() {
|
|
199019
|
+
const upsideDown = Math.abs(this.wrappedPitch) > 90;
|
|
199020
|
+
return -this.safeRoll + (upsideDown ? 180 : 0);
|
|
199021
|
+
}
|
|
199022
|
+
/** Moves the horizon from ladder coordinates onto the face: slid by the pitch, tilted against the roll. */
|
|
199023
|
+
get horizonTransform() {
|
|
199024
|
+
return `rotate(${-this.safeRoll}) translate(0 ${this.ladderUnits(this.wrappedPitch)})`;
|
|
199025
|
+
}
|
|
199026
|
+
/**
|
|
199027
|
+
* The ground, the horizon lines and the ladder, in ladder coordinates:
|
|
199028
|
+
* `y = 0` is the horizon and one rung is `RUNG_SPACING` up or down.
|
|
199029
|
+
*
|
|
199030
|
+
* The ladder repeats every full turn of pitch. Half a turn from each
|
|
199031
|
+
* horizon lies the inverted one, with the ground above it. Only the part
|
|
199032
|
+
* the face can show is drawn.
|
|
199033
|
+
*/
|
|
199034
|
+
renderHorizon() {
|
|
199035
|
+
const halfTurn = this.ladderUnits(180);
|
|
199036
|
+
const turn = 2 * halfTurn;
|
|
199037
|
+
const centre = -this.ladderUnits(this.wrappedPitch);
|
|
199038
|
+
const top = centre - FACE_RADIUS;
|
|
199039
|
+
const bottom = centre + FACE_RADIUS;
|
|
199040
|
+
const ground = [];
|
|
199041
|
+
for (let n = Math.ceil(top / turn - .5); n * turn <= bottom; n++) {
|
|
199042
|
+
const y = Math.max(n * turn, top);
|
|
199043
|
+
const height = Math.min(n * turn + halfTurn, bottom) - y;
|
|
199044
|
+
if (height > 0) ground.push(w`<rect class="ground" x=${-FACE_RADIUS} y=${y} width=${FACE_RADIUS * 2} height=${height} />`);
|
|
199045
|
+
}
|
|
199046
|
+
const horizons = [];
|
|
199047
|
+
for (let m = Math.ceil(top / halfTurn); m * halfTurn <= bottom; m++) {
|
|
199048
|
+
const y = m * halfTurn;
|
|
199049
|
+
horizons.push(w`<line class="horizon-line" x1=${-FACE_RADIUS} x2=${FACE_RADIUS} y1=${y} y2=${y} />`);
|
|
199050
|
+
}
|
|
199051
|
+
const rungs = [];
|
|
199052
|
+
for (let n = Math.floor((top + halfTurn) / turn); n * turn - halfTurn <= bottom; n++) {
|
|
199053
|
+
const origin = n * turn;
|
|
199054
|
+
const first = Math.max(top, origin - halfTurn) - origin;
|
|
199055
|
+
const last = Math.min(bottom, origin + halfTurn) - origin;
|
|
199056
|
+
for (let j = Math.ceil(first / RUNG_SPACING); j * RUNG_SPACING <= last; j++) {
|
|
199057
|
+
const offset = j * RUNG_SPACING;
|
|
199058
|
+
if (j === 0 || halfTurn - Math.abs(offset) < .5) continue;
|
|
199059
|
+
const y = origin + offset;
|
|
199060
|
+
rungs.push(w`<line class="rung" x1=${-12} x2=${RUNG_HALF_WIDTH} y1=${y} y2=${y} vector-effect="non-scaling-stroke" />`);
|
|
199061
|
+
}
|
|
199062
|
+
}
|
|
199063
|
+
return w`
|
|
199064
|
+
<g class="horizon" transform=${this.horizonTransform}>
|
|
199065
|
+
${ground} ${rungs} ${horizons}
|
|
199066
|
+
</g>
|
|
199067
|
+
`;
|
|
199068
|
+
}
|
|
199069
|
+
/**
|
|
199070
|
+
* The part of the face edge the roll scale band does not already draw. It
|
|
199071
|
+
* turns with the band so the two keep meeting at the band's ends.
|
|
199072
|
+
*/
|
|
199073
|
+
renderFaceOutline() {
|
|
199074
|
+
const r = FACE_RADIUS;
|
|
199075
|
+
return w`<path class="face-outline" transform="rotate(${this.rollScaleRotation})" d="M ${-r} 0 A ${r} ${r} 0 0 0 ${r} 0" vector-effect="non-scaling-stroke" />`;
|
|
199076
|
+
}
|
|
199077
|
+
renderVesselSymbol() {
|
|
199078
|
+
return w`
|
|
199079
|
+
<g class="vessel-symbol">
|
|
199080
|
+
<path transform="translate(-120 -4)" d=${VESSEL_SYMBOL_PATH} />
|
|
199081
|
+
<circle r="4" />
|
|
199082
|
+
</g>
|
|
199083
|
+
`;
|
|
199084
|
+
}
|
|
199085
|
+
/**
|
|
199086
|
+
* The roll pointer. It is fixed to the vehicle like the symbol, so it stays
|
|
199087
|
+
* straight up and the roll scale turns under it.
|
|
199088
|
+
*
|
|
199089
|
+
* TODO(designer): Figma 20108:142406 wraps this arrow in a rotator tool and
|
|
199090
|
+
* keeps the scale still. The review chose the fixed pointer.
|
|
199091
|
+
*/
|
|
199092
|
+
renderRollPointer() {
|
|
199093
|
+
return w`
|
|
199094
|
+
<g class="roll-pointer">
|
|
199095
|
+
${hdgArrow(HdgArrowStyle.arrowHead, 0, this.priority)}
|
|
199096
|
+
</g>
|
|
199097
|
+
`;
|
|
199098
|
+
}
|
|
199099
|
+
render() {
|
|
199100
|
+
const frame = computeRadialFrame({
|
|
199101
|
+
basePadding: 24,
|
|
199102
|
+
labelWidthPx: this.showLabels ? estimateLabelWidthPx(ROLL_SCALE_MARKS.map((mark) => mark.text)) : 0,
|
|
199103
|
+
containerPx: measureContainerPx(this),
|
|
199104
|
+
faceDiameter: this.faceDiameter
|
|
199105
|
+
});
|
|
199106
|
+
this._frame = frame;
|
|
199107
|
+
const areas = [{
|
|
199108
|
+
startAngle: -90,
|
|
199109
|
+
endAngle: 90,
|
|
199110
|
+
roundOutsideCut: true,
|
|
199111
|
+
roundInsideCut: true
|
|
199112
|
+
}];
|
|
199113
|
+
const showLabels = this.showLabels && !frame.labelsHidden;
|
|
199114
|
+
const tickmarks = ROLL_SCALE_MARKS.filter((mark) => showLabels || mark.type !== TickmarkType$1.textOnly).map((mark) => ({
|
|
199115
|
+
...mark,
|
|
199116
|
+
text: showLabels ? mark.text : void 0
|
|
199117
|
+
}));
|
|
199118
|
+
const faceClip = `${this._idPrefix}-face`;
|
|
199119
|
+
return b`
|
|
199120
|
+
<div class="container ${this.priority === Priority.enhanced ? "enhanced" : ""}">
|
|
199121
|
+
<svg viewBox=${frame.viewBox}>
|
|
199122
|
+
<defs>
|
|
199123
|
+
<clipPath id=${faceClip}>
|
|
199124
|
+
<circle r=${FACE_RADIUS} />
|
|
199125
|
+
</clipPath>
|
|
199126
|
+
</defs>
|
|
199127
|
+
<g clip-path="url(#${faceClip})">${this.renderHorizon()}</g>
|
|
199128
|
+
${this.renderFaceOutline()}
|
|
199129
|
+
</svg>
|
|
199130
|
+
<obc-watch
|
|
199131
|
+
.arcFrame=${frame}
|
|
199132
|
+
.rotation=${this.rollScaleRotation}
|
|
199133
|
+
.watchCircleType=${WatchCircleType.single}
|
|
199134
|
+
.areas=${areas}
|
|
199135
|
+
.tickmarks=${tickmarks}
|
|
199136
|
+
.priority=${this.priority}
|
|
199137
|
+
></obc-watch>
|
|
199138
|
+
<svg viewBox=${frame.viewBox}>
|
|
199139
|
+
${this.renderVesselSymbol()} ${this.renderRollPointer()}
|
|
199140
|
+
</svg>
|
|
199141
|
+
</div>
|
|
199142
|
+
`;
|
|
199143
|
+
}
|
|
199144
|
+
static {
|
|
199145
|
+
this.styles = r$7(attitude_default);
|
|
199146
|
+
}
|
|
199147
|
+
};
|
|
199148
|
+
__decorate([n$4({ type: Number })], ObcAttitude.prototype, "pitch", void 0);
|
|
199149
|
+
__decorate([n$4({ type: Number })], ObcAttitude.prototype, "roll", void 0);
|
|
199150
|
+
__decorate([n$4({ type: Number })], ObcAttitude.prototype, "pitchTickInterval", void 0);
|
|
199151
|
+
__decorate([n$4({
|
|
199152
|
+
type: Boolean,
|
|
199153
|
+
attribute: false
|
|
199154
|
+
})], ObcAttitude.prototype, "showLabels", void 0);
|
|
199155
|
+
__decorate([n$4({ type: String })], ObcAttitude.prototype, "priority", void 0);
|
|
199156
|
+
__decorate([n$4({
|
|
199157
|
+
type: Number,
|
|
199158
|
+
attribute: "face-diameter"
|
|
199159
|
+
})], ObcAttitude.prototype, "faceDiameter", void 0);
|
|
199160
|
+
ObcAttitude = __decorate([customElement("obc-attitude")], ObcAttitude);
|
|
198651
199161
|
// src/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.css?inline
|
|
198652
199162
|
var azimuth_thruster_labeled_default = i$7`* {
|
|
198653
199163
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -201570,186 +202080,6 @@ var compass_sector_default = i$7`* {
|
|
|
201570
202080
|
overflow: hidden;
|
|
201571
202081
|
}
|
|
201572
202082
|
`;
|
|
201573
|
-
// src/navigation-instruments/course-arrows/course-arrows-art.ts
|
|
201574
|
-
/**
|
|
201575
|
-
* Figma-exported arrow glyph art for `course-arrows.ts` — do not hand-edit
|
|
201576
|
-
* the path data. Source: OpenBridge 6.1 (file Tb5GjGfYoVIUrhXThL51A2),
|
|
201577
|
-
* variant nodes 18306:91621, 18306:91630, 18306:91650, 18306:91656 (Enhanced-state
|
|
201578
|
-
* exports; the state color is parameterized as `colorName`, the silhouette
|
|
201579
|
-
* outline maps to `--border-silhouette-color`). Art is authored in the
|
|
201580
|
-
* 512/center-256 space; each glyph is pre-translated to its Figma frame
|
|
201581
|
-
* position and expects the caller's `rotate(angle) translate(-256, -256)`
|
|
201582
|
-
* wrapper.
|
|
201583
|
-
*/
|
|
201584
|
-
/** HDG vector: solid fore line + filled arrowhead + beam crossbar + dotted astern line. */
|
|
201585
|
-
function hdgVectorArt(colorName) {
|
|
201586
|
-
return w`<g transform="translate(221.97, 94.99)"><g id="shape">
|
|
201587
|
-
<mask id="hdg-vector-outline" maskUnits="userSpaceOnUse" x="0" y="3.57628e-07" width="68" height="319" fill="black">
|
|
201588
|
-
<rect fill="white" y="3.57628e-07" width="68" height="319"/>
|
|
201589
|
-
<path d="M35 318H33V316H35V318ZM35 314H33V312H35V314ZM35 310H33V308H35V310ZM35 306H33V304H35V306ZM35 302H33V300H35V302ZM35 298H33V296H35V298ZM35 294H33V292H35V294ZM35 290H33V288H35V290ZM35 286H33V284H35V286ZM35 282H33V280H35V282ZM35 278H33V276H35V278ZM35 274H33V272H35V274ZM35 270H33V268H35V270ZM35 266H33V264H35V266ZM35 262H33V260H35V262ZM35 258H33V256H35V258ZM35 254H33V252H35V254ZM35 250H33V248H35V250ZM35 246H33V244H35V246ZM35 242H33V240H35V242ZM35 238H33V236H35V238ZM35 234H33V232H35V234ZM35 230H33V228H35V230ZM35 226H33V224H35V226ZM35 222H33V220H35V222ZM35 218H33V216H35V218ZM35 214H33V212H35V214ZM35 210H33V208H35V210ZM35 206H33V204H35V206ZM35 202H33V200H35V202ZM35 198H33V196H35V198ZM35 194H33V192H35V194ZM35 190H33V188H35V190ZM35 186H33V184H35V186ZM35 182H33V180H35V182ZM35 178H33V176H35V178ZM35 174H33V172H35V174ZM35 170H33V168H35V170ZM33.0664 1.62109C33.4035 0.792969 34.5965 0.792968 34.9336 1.62109L49.8486 38.2803C50.5669 40.0456 48.5838 41.6925 46.9336 40.7012L35 33.5947V157.126C36.4056 157.488 37.5122 158.594 37.874 160H66C66.5522 160 66.9999 160.448 67 161C67 161.552 66.5523 162 66 162H37.874C37.5123 163.406 36.4056 164.512 35 164.874V166H33V164.874C31.5944 164.512 30.4877 163.406 30.126 162H2C1.44772 162 1 161.552 1 161C1.00006 160.448 1.44775 160 2 160H30.126C30.4878 158.594 31.5944 157.488 33 157.126V33.5947L21.0664 40.7012C19.4162 41.6925 17.4331 40.0456 18.1514 38.2803L33.0664 1.62109ZM32.2695 162C32.6155 162.597 33.26 163 34 163C34.74 163 35.3845 162.597 35.7305 162H32.2695ZM33 159.27C32.697 159.445 32.445 159.697 32.2695 160H33V159.27ZM35 160H35.7305C35.555 159.697 35.303 159.445 35 159.27V160Z"/>
|
|
201590
|
-
</mask>
|
|
201591
|
-
<path d="M35 318H33V316H35V318ZM35 314H33V312H35V314ZM35 310H33V308H35V310ZM35 306H33V304H35V306ZM35 302H33V300H35V302ZM35 298H33V296H35V298ZM35 294H33V292H35V294ZM35 290H33V288H35V290ZM35 286H33V284H35V286ZM35 282H33V280H35V282ZM35 278H33V276H35V278ZM35 274H33V272H35V274ZM35 270H33V268H35V270ZM35 266H33V264H35V266ZM35 262H33V260H35V262ZM35 258H33V256H35V258ZM35 254H33V252H35V254ZM35 250H33V248H35V250ZM35 246H33V244H35V246ZM35 242H33V240H35V242ZM35 238H33V236H35V238ZM35 234H33V232H35V234ZM35 230H33V228H35V230ZM35 226H33V224H35V226ZM35 222H33V220H35V222ZM35 218H33V216H35V218ZM35 214H33V212H35V214ZM35 210H33V208H35V210ZM35 206H33V204H35V206ZM35 202H33V200H35V202ZM35 198H33V196H35V198ZM35 194H33V192H35V194ZM35 190H33V188H35V190ZM35 186H33V184H35V186ZM35 182H33V180H35V182ZM35 178H33V176H35V178ZM35 174H33V172H35V174ZM35 170H33V168H35V170ZM33.0664 1.62109C33.4035 0.792969 34.5965 0.792968 34.9336 1.62109L49.8486 38.2803C50.5669 40.0456 48.5838 41.6925 46.9336 40.7012L35 33.5947V157.126C36.4056 157.488 37.5122 158.594 37.874 160H66C66.5522 160 66.9999 160.448 67 161C67 161.552 66.5523 162 66 162H37.874C37.5123 163.406 36.4056 164.512 35 164.874V166H33V164.874C31.5944 164.512 30.4877 163.406 30.126 162H2C1.44772 162 1 161.552 1 161C1.00006 160.448 1.44775 160 2 160H30.126C30.4878 158.594 31.5944 157.488 33 157.126V33.5947L21.0664 40.7012C19.4162 41.6925 17.4331 40.0456 18.1514 38.2803L33.0664 1.62109ZM32.2695 162C32.6155 162.597 33.26 163 34 163C34.74 163 35.3845 162.597 35.7305 162H32.2695ZM33 159.27C32.697 159.445 32.445 159.697 32.2695 160H33V159.27ZM35 160H35.7305C35.555 159.697 35.303 159.445 35 159.27V160Z" fill=${colorName}/>
|
|
201592
|
-
<path d="M35 318V319H36V318H35ZM33 318H32V319H33V318ZM33 316V315H32V316H33ZM35 316H36V315H35V316ZM35 314V315H36V314H35ZM33 314H32V315H33V314ZM33 312V311H32V312H33ZM35 312H36V311H35V312ZM35 310V311H36V310H35ZM33 310H32V311H33V310ZM33 308V307H32V308H33ZM35 308H36V307H35V308ZM35 306V307H36V306H35ZM33 306H32V307H33V306ZM33 304V303H32V304H33ZM35 304H36V303H35V304ZM35 302V303H36V302H35ZM33 302H32V303H33V302ZM33 300V299H32V300H33ZM35 300H36V299H35V300ZM35 298V299H36V298H35ZM33 298H32V299H33V298ZM33 296V295H32V296H33ZM35 296H36V295H35V296ZM35 294V295H36V294H35ZM33 294H32V295H33V294ZM33 292V291H32V292H33ZM35 292H36V291H35V292ZM35 290V291H36V290H35ZM33 290H32V291H33V290ZM33 288V287H32V288H33ZM35 288H36V287H35V288ZM35 286V287H36V286H35ZM33 286H32V287H33V286ZM33 284V283H32V284H33ZM35 284H36V283H35V284ZM35 282V283H36V282H35ZM33 282H32V283H33V282ZM33 280V279H32V280H33ZM35 280H36V279H35V280ZM35 278V279H36V278H35ZM33 278H32V279H33V278ZM33 276V275H32V276H33ZM35 276H36V275H35V276ZM35 274V275H36V274H35ZM33 274H32V275H33V274ZM33 272V271H32V272H33ZM35 272H36V271H35V272ZM35 270V271H36V270H35ZM33 270H32V271H33V270ZM33 268V267H32V268H33ZM35 268H36V267H35V268ZM35 266V267H36V266H35ZM33 266H32V267H33V266ZM33 264V263H32V264H33ZM35 264H36V263H35V264ZM35 262V263H36V262H35ZM33 262H32V263H33V262ZM33 260V259H32V260H33ZM35 260H36V259H35V260ZM35 258V259H36V258H35ZM33 258H32V259H33V258ZM33 256V255H32V256H33ZM35 256H36V255H35V256ZM35 254V255H36V254H35ZM33 254H32V255H33V254ZM33 252V251H32V252H33ZM35 252H36V251H35V252ZM35 250V251H36V250H35ZM33 250H32V251H33V250ZM33 248V247H32V248H33ZM35 248H36V247H35V248ZM35 246V247H36V246H35ZM33 246H32V247H33V246ZM33 244V243H32V244H33ZM35 244H36V243H35V244ZM35 242V243H36V242H35ZM33 242H32V243H33V242ZM33 240V239H32V240H33ZM35 240H36V239H35V240ZM35 238V239H36V238H35ZM33 238H32V239H33V238ZM33 236V235H32V236H33ZM35 236H36V235H35V236ZM35 234V235H36V234H35ZM33 234H32V235H33V234ZM33 232V231H32V232H33ZM35 232H36V231H35V232ZM35 230V231H36V230H35ZM33 230H32V231H33V230ZM33 228V227H32V228H33ZM35 228H36V227H35V228ZM35 226V227H36V226H35ZM33 226H32V227H33V226ZM33 224V223H32V224H33ZM35 224H36V223H35V224ZM35 222V223H36V222H35ZM33 222H32V223H33V222ZM33 220V219H32V220H33ZM35 220H36V219H35V220ZM35 218V219H36V218H35ZM33 218H32V219H33V218ZM33 216V215H32V216H33ZM35 216H36V215H35V216ZM35 214V215H36V214H35ZM33 214H32V215H33V214ZM33 212V211H32V212H33ZM35 212H36V211H35V212ZM35 210V211H36V210H35ZM33 210H32V211H33V210ZM33 208V207H32V208H33ZM35 208H36V207H35V208ZM35 206V207H36V206H35ZM33 206H32V207H33V206ZM33 204V203H32V204H33ZM35 204H36V203H35V204ZM35 202V203H36V202H35ZM33 202H32V203H33V202ZM33 200V199H32V200H33ZM35 200H36V199H35V200ZM35 198V199H36V198H35ZM33 198H32V199H33V198ZM33 196V195H32V196H33ZM35 196H36V195H35V196ZM35 194V195H36V194H35ZM33 194H32V195H33V194ZM33 192V191H32V192H33ZM35 192H36V191H35V192ZM35 190V191H36V190H35ZM33 190H32V191H33V190ZM33 188V187H32V188H33ZM35 188H36V187H35V188ZM35 186V187H36V186H35ZM33 186H32V187H33V186ZM33 184V183H32V184H33ZM35 184H36V183H35V184ZM35 182V183H36V182H35ZM33 182H32V183H33V182ZM33 180V179H32V180H33ZM35 180H36V179H35V180ZM35 178V179H36V178H35ZM33 178H32V179H33V178ZM33 176V175H32V176H33ZM35 176H36V175H35V176ZM35 174V175H36V174H35ZM33 174H32V175H33V174ZM33 172V171H32V172H33ZM35 172H36V171H35V172ZM35 170V171H36V170H35ZM33 170H32V171H33V170ZM33 168V167H32V168H33ZM35 168H36V167H35V168ZM33.0664 1.62109L32.1402 1.24406L32.1401 1.24423L33.0664 1.62109ZM34.9336 1.62109L35.8599 1.24423L35.8598 1.24406L34.9336 1.62109ZM49.8486 38.2803L48.9224 38.6571L48.9224 38.6571L49.8486 38.2803ZM46.9336 40.7012L47.4486 39.844L47.4452 39.842L46.9336 40.7012ZM35 33.5947L35.5117 32.7355L34 31.8353V33.5947H35ZM35 157.126H34V157.901L34.7508 158.094L35 157.126ZM37.874 160L36.9056 160.249L37.0988 161H37.874V160ZM67 161H68V161L67 161ZM37.874 162V161H37.0988L36.9056 161.751L37.874 162ZM35 164.874L34.7507 163.906L34 164.099V164.874H35ZM35 166V167H36V166H35ZM33 166H32V167H33V166ZM33 164.874H34V164.099L33.2493 163.906L33 164.874ZM30.126 162L31.0944 161.751L30.9012 161H30.126V162ZM1 161L0 161V161H1ZM30.126 160V161H30.9012L31.0944 160.249L30.126 160ZM33 157.126L33.2492 158.094L34 157.901V157.126H33ZM33 33.5947H34V31.8353L32.4883 32.7355L33 33.5947ZM21.0664 40.7012L20.5548 39.842L20.5514 39.844L21.0664 40.7012ZM18.1514 38.2803L19.0776 38.6571L19.0776 38.6571L18.1514 38.2803ZM32.2695 162V161H30.5349L31.4042 162.501L32.2695 162ZM34 163V164V164V163ZM35.7305 162L36.5959 162.501L37.4651 161H35.7305V162ZM33 159.27H34V157.535L32.4989 158.404L33 159.27ZM32.2695 160L31.4042 159.499L30.5347 161H32.2695V160ZM33 160V161H34V160H33ZM35 160H34V161H35V160ZM35.7305 160V161H37.4653L36.5958 159.499L35.7305 160ZM35 159.27L35.5011 158.404L34 157.535V159.27H35ZM35 318V317H33V318V319H35V318ZM33 318H34V316H33H32V318H33ZM33 316V317H35V316V315H33V316ZM35 316H34V318H35H36V316H35ZM35 314V313H33V314V315H35V314ZM33 314H34V312H33H32V314H33ZM33 312V313H35V312V311H33V312ZM35 312H34V314H35H36V312H35ZM35 310V309H33V310V311H35V310ZM33 310H34V308H33H32V310H33ZM33 308V309H35V308V307H33V308ZM35 308H34V310H35H36V308H35ZM35 306V305H33V306V307H35V306ZM33 306H34V304H33H32V306H33ZM33 304V305H35V304V303H33V304ZM35 304H34V306H35H36V304H35ZM35 302V301H33V302V303H35V302ZM33 302H34V300H33H32V302H33ZM33 300V301H35V300V299H33V300ZM35 300H34V302H35H36V300H35ZM35 298V297H33V298V299H35V298ZM33 298H34V296H33H32V298H33ZM33 296V297H35V296V295H33V296ZM35 296H34V298H35H36V296H35ZM35 294V293H33V294V295H35V294ZM33 294H34V292H33H32V294H33ZM33 292V293H35V292V291H33V292ZM35 292H34V294H35H36V292H35ZM35 290V289H33V290V291H35V290ZM33 290H34V288H33H32V290H33ZM33 288V289H35V288V287H33V288ZM35 288H34V290H35H36V288H35ZM35 286V285H33V286V287H35V286ZM33 286H34V284H33H32V286H33ZM33 284V285H35V284V283H33V284ZM35 284H34V286H35H36V284H35ZM35 282V281H33V282V283H35V282ZM33 282H34V280H33H32V282H33ZM33 280V281H35V280V279H33V280ZM35 280H34V282H35H36V280H35ZM35 278V277H33V278V279H35V278ZM33 278H34V276H33H32V278H33ZM33 276V277H35V276V275H33V276ZM35 276H34V278H35H36V276H35ZM35 274V273H33V274V275H35V274ZM33 274H34V272H33H32V274H33ZM33 272V273H35V272V271H33V272ZM35 272H34V274H35H36V272H35ZM35 270V269H33V270V271H35V270ZM33 270H34V268H33H32V270H33ZM33 268V269H35V268V267H33V268ZM35 268H34V270H35H36V268H35ZM35 266V265H33V266V267H35V266ZM33 266H34V264H33H32V266H33ZM33 264V265H35V264V263H33V264ZM35 264H34V266H35H36V264H35ZM35 262V261H33V262V263H35V262ZM33 262H34V260H33H32V262H33ZM33 260V261H35V260V259H33V260ZM35 260H34V262H35H36V260H35ZM35 258V257H33V258V259H35V258ZM33 258H34V256H33H32V258H33ZM33 256V257H35V256V255H33V256ZM35 256H34V258H35H36V256H35ZM35 254V253H33V254V255H35V254ZM33 254H34V252H33H32V254H33ZM33 252V253H35V252V251H33V252ZM35 252H34V254H35H36V252H35ZM35 250V249H33V250V251H35V250ZM33 250H34V248H33H32V250H33ZM33 248V249H35V248V247H33V248ZM35 248H34V250H35H36V248H35ZM35 246V245H33V246V247H35V246ZM33 246H34V244H33H32V246H33ZM33 244V245H35V244V243H33V244ZM35 244H34V246H35H36V244H35ZM35 242V241H33V242V243H35V242ZM33 242H34V240H33H32V242H33ZM33 240V241H35V240V239H33V240ZM35 240H34V242H35H36V240H35ZM35 238V237H33V238V239H35V238ZM33 238H34V236H33H32V238H33ZM33 236V237H35V236V235H33V236ZM35 236H34V238H35H36V236H35ZM35 234V233H33V234V235H35V234ZM33 234H34V232H33H32V234H33ZM33 232V233H35V232V231H33V232ZM35 232H34V234H35H36V232H35ZM35 230V229H33V230V231H35V230ZM33 230H34V228H33H32V230H33ZM33 228V229H35V228V227H33V228ZM35 228H34V230H35H36V228H35ZM35 226V225H33V226V227H35V226ZM33 226H34V224H33H32V226H33ZM33 224V225H35V224V223H33V224ZM35 224H34V226H35H36V224H35ZM35 222V221H33V222V223H35V222ZM33 222H34V220H33H32V222H33ZM33 220V221H35V220V219H33V220ZM35 220H34V222H35H36V220H35ZM35 218V217H33V218V219H35V218ZM33 218H34V216H33H32V218H33ZM33 216V217H35V216V215H33V216ZM35 216H34V218H35H36V216H35ZM35 214V213H33V214V215H35V214ZM33 214H34V212H33H32V214H33ZM33 212V213H35V212V211H33V212ZM35 212H34V214H35H36V212H35ZM35 210V209H33V210V211H35V210ZM33 210H34V208H33H32V210H33ZM33 208V209H35V208V207H33V208ZM35 208H34V210H35H36V208H35ZM35 206V205H33V206V207H35V206ZM33 206H34V204H33H32V206H33ZM33 204V205H35V204V203H33V204ZM35 204H34V206H35H36V204H35ZM35 202V201H33V202V203H35V202ZM33 202H34V200H33H32V202H33ZM33 200V201H35V200V199H33V200ZM35 200H34V202H35H36V200H35ZM35 198V197H33V198V199H35V198ZM33 198H34V196H33H32V198H33ZM33 196V197H35V196V195H33V196ZM35 196H34V198H35H36V196H35ZM35 194V193H33V194V195H35V194ZM33 194H34V192H33H32V194H33ZM33 192V193H35V192V191H33V192ZM35 192H34V194H35H36V192H35ZM35 190V189H33V190V191H35V190ZM33 190H34V188H33H32V190H33ZM33 188V189H35V188V187H33V188ZM35 188H34V190H35H36V188H35ZM35 186V185H33V186V187H35V186ZM33 186H34V184H33H32V186H33ZM33 184V185H35V184V183H33V184ZM35 184H34V186H35H36V184H35ZM35 182V181H33V182V183H35V182ZM33 182H34V180H33H32V182H33ZM33 180V181H35V180V179H33V180ZM35 180H34V182H35H36V180H35ZM35 178V177H33V178V179H35V178ZM33 178H34V176H33H32V178H33ZM33 176V177H35V176V175H33V176ZM35 176H34V178H35H36V176H35ZM35 174V173H33V174V175H35V174ZM33 174H34V172H33H32V174H33ZM33 172V173H35V172V171H33V172ZM35 172H34V174H35H36V172H35ZM35 170V169H33V170V171H35V170ZM33 170H34V168H33H32V170H33ZM33 168V169H35V168V167H33V168ZM35 168H34V170H35H36V168H35ZM33.0664 1.62109L33.9926 1.99813C33.9942 1.99419 33.9953 1.99243 33.9953 1.99232C33.9954 1.99219 33.9949 1.99303 33.9937 1.99444C33.9911 1.99759 33.9879 2.00016 33.9855 2.00166C33.9835 2.00295 33.9835 2.0025 33.9865 2.00168C33.9895 2.00082 33.9942 2 34 2C34.0058 2 34.0105 2.00082 34.0135 2.00168C34.0165 2.0025 34.0165 2.00295 34.0145 2.00166C34.0121 2.00016 34.0089 1.99759 34.0063 1.99444C34.0051 1.99303 34.0046 1.99219 34.0047 1.99231C34.0047 1.99243 34.0058 1.99418 34.0074 1.99813L34.9336 1.62109L35.8598 1.24406C35.1846 -0.414691 32.8154 -0.41468 32.1402 1.24406L33.0664 1.62109ZM34.9336 1.62109L34.0073 1.99795L48.9224 38.6571L49.8486 38.2803L50.7749 37.9034L35.8599 1.24423L34.9336 1.62109ZM49.8486 38.2803L48.9224 38.6571C49.2546 39.4736 48.3296 40.3732 47.4486 39.844L46.9336 40.7012L46.4186 41.5584C48.8381 43.0119 51.8792 40.6176 50.7749 37.9034L49.8486 38.2803ZM46.9336 40.7012L47.4452 39.842L35.5117 32.7355L35 33.5947L34.4883 34.4539L46.4219 41.5604L46.9336 40.7012ZM35 33.5947H34V157.126H35H36V33.5947H35ZM35 157.126L34.7508 158.094C35.8035 158.365 36.6346 159.197 36.9056 160.249L37.874 160L38.8425 159.751C38.3898 157.992 37.0077 156.61 35.2492 156.158L35 157.126ZM37.874 160V161H66V160V159H37.874V160ZM66 160V161V161L67 161L68 161C67.9999 159.896 67.1046 159 66 159V160ZM67 161H66V162V163C67.1046 163 68 162.105 68 161H67ZM66 162V161H37.874V162V163H66V162ZM37.874 162L36.9056 161.751C36.6346 162.804 35.8036 163.635 34.7507 163.906L35 164.874L35.2493 165.842C37.0077 165.39 38.3899 164.008 38.8425 162.249L37.874 162ZM35 164.874H34V166H35H36V164.874H35ZM35 166V165H33V166V167H35V166ZM33 166H34V164.874H33H32V166H33ZM33 164.874L33.2493 163.906C32.1964 163.635 31.3654 162.804 31.0944 161.751L30.126 162L29.1575 162.249C29.6101 164.008 30.9923 165.39 32.7507 165.842L33 164.874ZM30.126 162V161H2V162V163H30.126V162ZM2 162V161H1H0C0 162.105 0.89543 163 2 163V162ZM1 161L2 161V161V160V159C0.895362 159 0.000115454 159.896 0 161L1 161ZM2 160V161H30.126V160V159H2V160ZM30.126 160L31.0944 160.249C31.3654 159.197 32.1965 158.365 33.2492 158.094L33 157.126L32.7507 156.158C30.9923 156.61 29.6102 157.992 29.1575 159.751L30.126 160ZM33 157.126H34V33.5947H33H32V157.126H33ZM33 33.5947L32.4883 32.7355L20.5548 39.842L21.0664 40.7012L21.5781 41.5604L33.5117 34.4539L33 33.5947ZM21.0664 40.7012L20.5514 39.844C19.6704 40.3732 18.7454 39.4736 19.0776 38.6571L18.1514 38.2803L17.2251 37.9034C16.1208 40.6176 19.1619 43.0119 21.5814 41.5584L21.0664 40.7012ZM18.1514 38.2803L19.0776 38.6571L33.9927 1.99795L33.0664 1.62109L32.1401 1.24423L17.2251 37.9034L18.1514 38.2803ZM32.2695 162L31.4042 162.501C31.9207 163.393 32.8872 164 34 164V163V162C33.6329 162 33.3102 161.802 33.1349 161.499L32.2695 162ZM34 163V164C35.1128 164 36.0793 163.393 36.5959 162.501L35.7305 162L34.8651 161.499C34.6898 161.802 34.3671 162 34 162V163ZM35.7305 162V161H32.2695V162V163H35.7305V162ZM33 159.27L32.4989 158.404C32.0447 158.667 31.6671 159.045 31.4042 159.499L32.2695 160L33.1349 160.501C33.2228 160.349 33.3494 160.223 33.5011 160.135L33 159.27ZM32.2695 160V161H33V160V159H32.2695V160ZM33 160H34V159.27H33H32V160H33ZM35 160V161H35.7305V160V159H35V160ZM35.7305 160L36.5958 159.499C36.3329 159.045 35.9553 158.667 35.5011 158.404L35 159.27L34.4989 160.135C34.6506 160.223 34.7772 160.349 34.8651 160.501L35.7305 160ZM35 159.27H34V160H35H36V159.27H35Z" fill="var(--border-silhouette-color)" mask="url(#hdg-vector-outline)"/>
|
|
201593
|
-
</g></g>`;
|
|
201594
|
-
}
|
|
201595
|
-
/** HDG beam-line: fore line + beam crossbar + dotted astern line, no arrowhead. */
|
|
201596
|
-
function hdgBeamLineArt(colorName) {
|
|
201597
|
-
return w`<g transform="translate(221.97, 100.02)"><g id="shape">
|
|
201598
|
-
<mask id="hdg-beam-line-outline" maskUnits="userSpaceOnUse" x="0" y="0" width="68" height="314" fill="black">
|
|
201599
|
-
<rect fill="white" width="68" height="314"/>
|
|
201600
|
-
<path d="M35 313H33V311H35V313ZM35 309H33V307H35V309ZM35 305H33V303H35V305ZM35 301H33V299H35V301ZM35 297H33V295H35V297ZM35 293H33V291H35V293ZM35 289H33V287H35V289ZM35 285H33V283H35V285ZM35 281H33V279H35V281ZM35 277H33V275H35V277ZM35 273H33V271H35V273ZM35 269H33V267H35V269ZM35 265H33V263H35V265ZM35 261H33V259H35V261ZM35 257H33V255H35V257ZM35 253H33V251H35V253ZM35 249H33V247H35V249ZM35 245H33V243H35V245ZM35 241H33V239H35V241ZM35 237H33V235H35V237ZM35 233H33V231H35V233ZM35 229H33V227H35V229ZM35 225H33V223H35V225ZM35 221H33V219H35V221ZM35 217H33V215H35V217ZM35 213H33V211H35V213ZM35 209H33V207H35V209ZM35 205H33V203H35V205ZM35 201H33V199H35V201ZM35 197H33V195H35V197ZM35 193H33V191H35V193ZM35 189H33V187H35V189ZM35 185H33V183H35V185ZM35 181H33V179H35V181ZM35 177H33V175H35V177ZM35 173H33V171H35V173ZM35 169H33V167H35V169ZM35 165H33V163H35V165ZM34 1C34.5523 1 35 1.44772 35 2V152.126C36.4056 152.488 37.5122 153.594 37.874 155H66C66.5523 155 67 155.448 67 156C67 156.552 66.5523 157 66 157H37.874C37.5122 158.406 36.4056 159.512 35 159.874V161H33V159.874C31.5944 159.512 30.4878 158.406 30.126 157H2C1.44772 157 1 156.552 1 156C1 155.448 1.44772 155 2 155H30.126C30.4878 153.594 31.5944 152.488 33 152.126V2C33 1.44772 33.4477 1 34 1ZM32.2695 157C32.6155 157.597 33.2601 158 34 158C34.7399 158 35.3845 157.597 35.7305 157H32.2695ZM33 154.27C32.697 154.445 32.445 154.697 32.2695 155H33V154.27ZM35 155H35.7305C35.555 154.697 35.303 154.445 35 154.27V155Z"/>
|
|
201601
|
-
</mask>
|
|
201602
|
-
<path d="M35 313H33V311H35V313ZM35 309H33V307H35V309ZM35 305H33V303H35V305ZM35 301H33V299H35V301ZM35 297H33V295H35V297ZM35 293H33V291H35V293ZM35 289H33V287H35V289ZM35 285H33V283H35V285ZM35 281H33V279H35V281ZM35 277H33V275H35V277ZM35 273H33V271H35V273ZM35 269H33V267H35V269ZM35 265H33V263H35V265ZM35 261H33V259H35V261ZM35 257H33V255H35V257ZM35 253H33V251H35V253ZM35 249H33V247H35V249ZM35 245H33V243H35V245ZM35 241H33V239H35V241ZM35 237H33V235H35V237ZM35 233H33V231H35V233ZM35 229H33V227H35V229ZM35 225H33V223H35V225ZM35 221H33V219H35V221ZM35 217H33V215H35V217ZM35 213H33V211H35V213ZM35 209H33V207H35V209ZM35 205H33V203H35V205ZM35 201H33V199H35V201ZM35 197H33V195H35V197ZM35 193H33V191H35V193ZM35 189H33V187H35V189ZM35 185H33V183H35V185ZM35 181H33V179H35V181ZM35 177H33V175H35V177ZM35 173H33V171H35V173ZM35 169H33V167H35V169ZM35 165H33V163H35V165ZM34 1C34.5523 1 35 1.44772 35 2V152.126C36.4056 152.488 37.5122 153.594 37.874 155H66C66.5523 155 67 155.448 67 156C67 156.552 66.5523 157 66 157H37.874C37.5122 158.406 36.4056 159.512 35 159.874V161H33V159.874C31.5944 159.512 30.4878 158.406 30.126 157H2C1.44772 157 1 156.552 1 156C1 155.448 1.44772 155 2 155H30.126C30.4878 153.594 31.5944 152.488 33 152.126V2C33 1.44772 33.4477 1 34 1ZM32.2695 157C32.6155 157.597 33.2601 158 34 158C34.7399 158 35.3845 157.597 35.7305 157H32.2695ZM33 154.27C32.697 154.445 32.445 154.697 32.2695 155H33V154.27ZM35 155H35.7305C35.555 154.697 35.303 154.445 35 154.27V155Z" fill=${colorName}/>
|
|
201603
|
-
<path d="M35 313V314H36V313H35ZM33 313H32V314H33V313ZM33 311V310H32V311H33ZM35 311H36V310H35V311ZM35 309V310H36V309H35ZM33 309H32V310H33V309ZM33 307V306H32V307H33ZM35 307H36V306H35V307ZM35 305V306H36V305H35ZM33 305H32V306H33V305ZM33 303V302H32V303H33ZM35 303H36V302H35V303ZM35 301V302H36V301H35ZM33 301H32V302H33V301ZM33 299V298H32V299H33ZM35 299H36V298H35V299ZM35 297V298H36V297H35ZM33 297H32V298H33V297ZM33 295V294H32V295H33ZM35 295H36V294H35V295ZM35 293V294H36V293H35ZM33 293H32V294H33V293ZM33 291V290H32V291H33ZM35 291H36V290H35V291ZM35 289V290H36V289H35ZM33 289H32V290H33V289ZM33 287V286H32V287H33ZM35 287H36V286H35V287ZM35 285V286H36V285H35ZM33 285H32V286H33V285ZM33 283V282H32V283H33ZM35 283H36V282H35V283ZM35 281V282H36V281H35ZM33 281H32V282H33V281ZM33 279V278H32V279H33ZM35 279H36V278H35V279ZM35 277V278H36V277H35ZM33 277H32V278H33V277ZM33 275V274H32V275H33ZM35 275H36V274H35V275ZM35 273V274H36V273H35ZM33 273H32V274H33V273ZM33 271V270H32V271H33ZM35 271H36V270H35V271ZM35 269V270H36V269H35ZM33 269H32V270H33V269ZM33 267V266H32V267H33ZM35 267H36V266H35V267ZM35 265V266H36V265H35ZM33 265H32V266H33V265ZM33 263V262H32V263H33ZM35 263H36V262H35V263ZM35 261V262H36V261H35ZM33 261H32V262H33V261ZM33 259V258H32V259H33ZM35 259H36V258H35V259ZM35 257V258H36V257H35ZM33 257H32V258H33V257ZM33 255V254H32V255H33ZM35 255H36V254H35V255ZM35 253V254H36V253H35ZM33 253H32V254H33V253ZM33 251V250H32V251H33ZM35 251H36V250H35V251ZM35 249V250H36V249H35ZM33 249H32V250H33V249ZM33 247V246H32V247H33ZM35 247H36V246H35V247ZM35 245V246H36V245H35ZM33 245H32V246H33V245ZM33 243V242H32V243H33ZM35 243H36V242H35V243ZM35 241V242H36V241H35ZM33 241H32V242H33V241ZM33 239V238H32V239H33ZM35 239H36V238H35V239ZM35 237V238H36V237H35ZM33 237H32V238H33V237ZM33 235V234H32V235H33ZM35 235H36V234H35V235ZM35 233V234H36V233H35ZM33 233H32V234H33V233ZM33 231V230H32V231H33ZM35 231H36V230H35V231ZM35 229V230H36V229H35ZM33 229H32V230H33V229ZM33 227V226H32V227H33ZM35 227H36V226H35V227ZM35 225V226H36V225H35ZM33 225H32V226H33V225ZM33 223V222H32V223H33ZM35 223H36V222H35V223ZM35 221V222H36V221H35ZM33 221H32V222H33V221ZM33 219V218H32V219H33ZM35 219H36V218H35V219ZM35 217V218H36V217H35ZM33 217H32V218H33V217ZM33 215V214H32V215H33ZM35 215H36V214H35V215ZM35 213V214H36V213H35ZM33 213H32V214H33V213ZM33 211V210H32V211H33ZM35 211H36V210H35V211ZM35 209V210H36V209H35ZM33 209H32V210H33V209ZM33 207V206H32V207H33ZM35 207H36V206H35V207ZM35 205V206H36V205H35ZM33 205H32V206H33V205ZM33 203V202H32V203H33ZM35 203H36V202H35V203ZM35 201V202H36V201H35ZM33 201H32V202H33V201ZM33 199V198H32V199H33ZM35 199H36V198H35V199ZM35 197V198H36V197H35ZM33 197H32V198H33V197ZM33 195V194H32V195H33ZM35 195H36V194H35V195ZM35 193V194H36V193H35ZM33 193H32V194H33V193ZM33 191V190H32V191H33ZM35 191H36V190H35V191ZM35 189V190H36V189H35ZM33 189H32V190H33V189ZM33 187V186H32V187H33ZM35 187H36V186H35V187ZM35 185V186H36V185H35ZM33 185H32V186H33V185ZM33 183V182H32V183H33ZM35 183H36V182H35V183ZM35 181V182H36V181H35ZM33 181H32V182H33V181ZM33 179V178H32V179H33ZM35 179H36V178H35V179ZM35 177V178H36V177H35ZM33 177H32V178H33V177ZM33 175V174H32V175H33ZM35 175H36V174H35V175ZM35 173V174H36V173H35ZM33 173H32V174H33V173ZM33 171V170H32V171H33ZM35 171H36V170H35V171ZM35 169V170H36V169H35ZM33 169H32V170H33V169ZM33 167V166H32V167H33ZM35 167H36V166H35V167ZM35 165V166H36V165H35ZM33 165H32V166H33V165ZM33 163V162H32V163H33ZM35 163H36V162H35V163ZM34 1V0V0V1ZM35 2H36V2L35 2ZM35 152.126H34V152.901L34.7507 153.094L35 152.126ZM37.874 155L36.9056 155.249L37.0988 156H37.874V155ZM37.874 157V156H37.0988L36.9056 156.751L37.874 157ZM35 159.874L34.7507 158.906L34 159.099V159.874H35ZM35 161V162H36V161H35ZM33 161H32V162H33V161ZM33 159.874H34V159.099L33.2493 158.906L33 159.874ZM30.126 157L31.0944 156.751L30.9012 156H30.126V157ZM30.126 155V156H30.9012L31.0944 155.249L30.126 155ZM33 152.126L33.2493 153.094L34 152.901V152.126H33ZM33 2H34H33ZM32.2695 157V156H30.5348L31.4042 157.501L32.2695 157ZM34 158V159V159V158ZM35.7305 157L36.5958 157.501L37.4652 156H35.7305V157ZM33 154.27H34V152.535L32.4988 153.404L33 154.27ZM32.2695 155L31.4042 154.499L30.5348 156H32.2695V155ZM33 155V156H34V155H33ZM35 155H34V156H35V155ZM35.7305 155V156H37.4652L36.5958 154.499L35.7305 155ZM35 154.27L35.5012 153.404L34 152.535V154.27H35ZM35 313V312H33V313V314H35V313ZM33 313H34V311H33H32V313H33ZM33 311V312H35V311V310H33V311ZM35 311H34V313H35H36V311H35ZM35 309V308H33V309V310H35V309ZM33 309H34V307H33H32V309H33ZM33 307V308H35V307V306H33V307ZM35 307H34V309H35H36V307H35ZM35 305V304H33V305V306H35V305ZM33 305H34V303H33H32V305H33ZM33 303V304H35V303V302H33V303ZM35 303H34V305H35H36V303H35ZM35 301V300H33V301V302H35V301ZM33 301H34V299H33H32V301H33ZM33 299V300H35V299V298H33V299ZM35 299H34V301H35H36V299H35ZM35 297V296H33V297V298H35V297ZM33 297H34V295H33H32V297H33ZM33 295V296H35V295V294H33V295ZM35 295H34V297H35H36V295H35ZM35 293V292H33V293V294H35V293ZM33 293H34V291H33H32V293H33ZM33 291V292H35V291V290H33V291ZM35 291H34V293H35H36V291H35ZM35 289V288H33V289V290H35V289ZM33 289H34V287H33H32V289H33ZM33 287V288H35V287V286H33V287ZM35 287H34V289H35H36V287H35ZM35 285V284H33V285V286H35V285ZM33 285H34V283H33H32V285H33ZM33 283V284H35V283V282H33V283ZM35 283H34V285H35H36V283H35ZM35 281V280H33V281V282H35V281ZM33 281H34V279H33H32V281H33ZM33 279V280H35V279V278H33V279ZM35 279H34V281H35H36V279H35ZM35 277V276H33V277V278H35V277ZM33 277H34V275H33H32V277H33ZM33 275V276H35V275V274H33V275ZM35 275H34V277H35H36V275H35ZM35 273V272H33V273V274H35V273ZM33 273H34V271H33H32V273H33ZM33 271V272H35V271V270H33V271ZM35 271H34V273H35H36V271H35ZM35 269V268H33V269V270H35V269ZM33 269H34V267H33H32V269H33ZM33 267V268H35V267V266H33V267ZM35 267H34V269H35H36V267H35ZM35 265V264H33V265V266H35V265ZM33 265H34V263H33H32V265H33ZM33 263V264H35V263V262H33V263ZM35 263H34V265H35H36V263H35ZM35 261V260H33V261V262H35V261ZM33 261H34V259H33H32V261H33ZM33 259V260H35V259V258H33V259ZM35 259H34V261H35H36V259H35ZM35 257V256H33V257V258H35V257ZM33 257H34V255H33H32V257H33ZM33 255V256H35V255V254H33V255ZM35 255H34V257H35H36V255H35ZM35 253V252H33V253V254H35V253ZM33 253H34V251H33H32V253H33ZM33 251V252H35V251V250H33V251ZM35 251H34V253H35H36V251H35ZM35 249V248H33V249V250H35V249ZM33 249H34V247H33H32V249H33ZM33 247V248H35V247V246H33V247ZM35 247H34V249H35H36V247H35ZM35 245V244H33V245V246H35V245ZM33 245H34V243H33H32V245H33ZM33 243V244H35V243V242H33V243ZM35 243H34V245H35H36V243H35ZM35 241V240H33V241V242H35V241ZM33 241H34V239H33H32V241H33ZM33 239V240H35V239V238H33V239ZM35 239H34V241H35H36V239H35ZM35 237V236H33V237V238H35V237ZM33 237H34V235H33H32V237H33ZM33 235V236H35V235V234H33V235ZM35 235H34V237H35H36V235H35ZM35 233V232H33V233V234H35V233ZM33 233H34V231H33H32V233H33ZM33 231V232H35V231V230H33V231ZM35 231H34V233H35H36V231H35ZM35 229V228H33V229V230H35V229ZM33 229H34V227H33H32V229H33ZM33 227V228H35V227V226H33V227ZM35 227H34V229H35H36V227H35ZM35 225V224H33V225V226H35V225ZM33 225H34V223H33H32V225H33ZM33 223V224H35V223V222H33V223ZM35 223H34V225H35H36V223H35ZM35 221V220H33V221V222H35V221ZM33 221H34V219H33H32V221H33ZM33 219V220H35V219V218H33V219ZM35 219H34V221H35H36V219H35ZM35 217V216H33V217V218H35V217ZM33 217H34V215H33H32V217H33ZM33 215V216H35V215V214H33V215ZM35 215H34V217H35H36V215H35ZM35 213V212H33V213V214H35V213ZM33 213H34V211H33H32V213H33ZM33 211V212H35V211V210H33V211ZM35 211H34V213H35H36V211H35ZM35 209V208H33V209V210H35V209ZM33 209H34V207H33H32V209H33ZM33 207V208H35V207V206H33V207ZM35 207H34V209H35H36V207H35ZM35 205V204H33V205V206H35V205ZM33 205H34V203H33H32V205H33ZM33 203V204H35V203V202H33V203ZM35 203H34V205H35H36V203H35ZM35 201V200H33V201V202H35V201ZM33 201H34V199H33H32V201H33ZM33 199V200H35V199V198H33V199ZM35 199H34V201H35H36V199H35ZM35 197V196H33V197V198H35V197ZM33 197H34V195H33H32V197H33ZM33 195V196H35V195V194H33V195ZM35 195H34V197H35H36V195H35ZM35 193V192H33V193V194H35V193ZM33 193H34V191H33H32V193H33ZM33 191V192H35V191V190H33V191ZM35 191H34V193H35H36V191H35ZM35 189V188H33V189V190H35V189ZM33 189H34V187H33H32V189H33ZM33 187V188H35V187V186H33V187ZM35 187H34V189H35H36V187H35ZM35 185V184H33V185V186H35V185ZM33 185H34V183H33H32V185H33ZM33 183V184H35V183V182H33V183ZM35 183H34V185H35H36V183H35ZM35 181V180H33V181V182H35V181ZM33 181H34V179H33H32V181H33ZM33 179V180H35V179V178H33V179ZM35 179H34V181H35H36V179H35ZM35 177V176H33V177V178H35V177ZM33 177H34V175H33H32V177H33ZM33 175V176H35V175V174H33V175ZM35 175H34V177H35H36V175H35ZM35 173V172H33V173V174H35V173ZM33 173H34V171H33H32V173H33ZM33 171V172H35V171V170H33V171ZM35 171H34V173H35H36V171H35ZM35 169V168H33V169V170H35V169ZM33 169H34V167H33H32V169H33ZM33 167V168H35V167V166H33V167ZM35 167H34V169H35H36V167H35ZM35 165V164H33V165V166H35V165ZM33 165H34V163H33H32V165H33ZM33 163V164H35V163V162H33V163ZM35 163H34V165H35H36V163H35ZM34 1V2V2H35L36 2C36 0.895431 35.1046 0 34 0V1ZM35 2H34V152.126H35H36V2H35ZM35 152.126L34.7507 153.094C35.8035 153.365 36.6346 154.196 36.9056 155.249L37.874 155L38.8425 154.751C38.3899 152.992 37.0077 151.61 35.2493 151.158L35 152.126ZM37.874 155V156H66V155V154H37.874V155ZM66 155V156H67H68C68 154.895 67.1046 154 66 154V155ZM67 156H66V157V158C67.1046 158 68 157.105 68 156H67ZM66 157V156H37.874V157V158H66V157ZM37.874 157L36.9056 156.751C36.6346 157.804 35.8035 158.635 34.7507 158.906L35 159.874L35.2493 160.842C37.0077 160.39 38.3899 159.008 38.8425 157.249L37.874 157ZM35 159.874H34V161H35H36V159.874H35ZM35 161V160H33V161V162H35V161ZM33 161H34V159.874H33H32V161H33ZM33 159.874L33.2493 158.906C32.1965 158.635 31.3654 157.804 31.0944 156.751L30.126 157L29.1575 157.249C29.6101 159.008 30.9923 160.39 32.7507 160.842L33 159.874ZM30.126 157V156H2V157V158H30.126V157ZM2 157V156H1H0C0 157.105 0.89543 158 2 158V157ZM1 156H2V155V154C0.89543 154 0 154.895 0 156H1ZM2 155V156H30.126V155V154H2V155ZM30.126 155L31.0944 155.249C31.3654 154.196 32.1965 153.365 33.2493 153.094L33 152.126L32.7507 151.158C30.9923 151.61 29.6101 152.992 29.1575 154.751L30.126 155ZM33 152.126H34V2H33H32V152.126H33ZM33 2H34V2V1V0C32.8954 5.96046e-08 32 0.89543 32 2H33ZM32.2695 157L31.4042 157.501C31.9207 158.393 32.8872 159 34 159V158V157C33.6329 157 33.3102 156.802 33.1349 156.499L32.2695 157ZM34 158V159C35.1128 159 36.0793 158.393 36.5958 157.501L35.7305 157L34.8651 156.499C34.6898 156.802 34.3671 157 34 157V158ZM35.7305 157V156H32.2695V157V158H35.7305V157ZM33 154.27L32.4988 153.404C32.0448 153.667 31.6671 154.045 31.4042 154.499L32.2695 155L33.1349 155.501C33.2228 155.349 33.3493 155.223 33.5012 155.135L33 154.27ZM32.2695 155V156H33V155V154H32.2695V155ZM33 155H34V154.27H33H32V155H33ZM35 155V156H35.7305V155V154H35V155ZM35.7305 155L36.5958 154.499C36.3329 154.045 35.9552 153.667 35.5012 153.404L35 154.27L34.4988 155.135C34.6507 155.223 34.7772 155.349 34.8651 155.501L35.7305 155ZM35 154.27H34V155H35H36V154.27H35Z" fill="var(--border-silhouette-color)" mask="url(#hdg-beam-line-outline)"/>
|
|
201604
|
-
</g></g>`;
|
|
201605
|
-
}
|
|
201606
|
-
/** COG vector: dashed shaft with a single open arrowhead. */
|
|
201607
|
-
function cogVectorArt(colorName) {
|
|
201608
|
-
return w`<g transform="translate(239.02, 94.99)"><g id="Shape">
|
|
201609
|
-
<mask id="cog-vector-outline" maskUnits="userSpaceOnUse" x="-0.991658" y="3.57628e-07" width="36" height="164" fill="black">
|
|
201610
|
-
<rect fill="white" x="-0.991658" y="3.57628e-07" width="36" height="164"/>
|
|
201611
|
-
<path d="M19.0083 163H15.0083V150.25H19.0083V163ZM19.0083 145.95H15.0083V124.45H19.0083V145.95ZM19.0083 120.15H15.0083V98.6504H19.0083V120.15ZM19.0083 94.3496H15.0083V72.8496H19.0083V94.3496ZM19.0083 68.5498H15.0083V47.0498H19.0083V68.5498ZM16.0747 1.62109C16.4119 0.792983 17.6048 0.792954 17.9419 1.62109L32.857 38.2803C33.5752 40.0456 31.5922 41.6925 29.9419 40.7012L19.0083 34.1904V42.75H15.0083V34.1904L4.07475 40.7012C2.4245 41.6926 0.441442 40.0456 1.15971 38.2803L16.0747 1.62109ZM7.14115 34.1924L17.0083 28.334L26.8755 34.1924L17.0083 9.94141L7.14115 34.1924Z"/>
|
|
201612
|
-
</mask>
|
|
201613
|
-
<path d="M19.0083 163H15.0083V150.25H19.0083V163ZM19.0083 145.95H15.0083V124.45H19.0083V145.95ZM19.0083 120.15H15.0083V98.6504H19.0083V120.15ZM19.0083 94.3496H15.0083V72.8496H19.0083V94.3496ZM19.0083 68.5498H15.0083V47.0498H19.0083V68.5498ZM16.0747 1.62109C16.4119 0.792983 17.6048 0.792954 17.9419 1.62109L32.857 38.2803C33.5752 40.0456 31.5922 41.6925 29.9419 40.7012L19.0083 34.1904V42.75H15.0083V34.1904L4.07475 40.7012C2.4245 41.6926 0.441442 40.0456 1.15971 38.2803L16.0747 1.62109ZM7.14115 34.1924L17.0083 28.334L26.8755 34.1924L17.0083 9.94141L7.14115 34.1924Z" fill=${colorName}/>
|
|
201614
|
-
<path d="M19.0083 163V164H20.0083V163H19.0083ZM15.0083 163H14.0083V164H15.0083V163ZM15.0083 150.25V149.25H14.0083V150.25H15.0083ZM19.0083 150.25H20.0083V149.25H19.0083V150.25ZM19.0083 145.95V146.95H20.0083V145.95H19.0083ZM15.0083 145.95H14.0083V146.95H15.0083V145.95ZM15.0083 124.45V123.45H14.0083V124.45H15.0083ZM19.0083 124.45H20.0083V123.45H19.0083V124.45ZM19.0083 120.15V121.15H20.0083V120.15H19.0083ZM15.0083 120.15H14.0083V121.15H15.0083V120.15ZM15.0083 98.6504V97.6504H14.0083V98.6504H15.0083ZM19.0083 98.6504H20.0083V97.6504H19.0083V98.6504ZM19.0083 94.3496V95.3496H20.0083V94.3496H19.0083ZM15.0083 94.3496H14.0083V95.3496H15.0083V94.3496ZM15.0083 72.8496V71.8496H14.0083V72.8496H15.0083ZM19.0083 72.8496H20.0083V71.8496H19.0083V72.8496ZM19.0083 68.5498V69.5498H20.0083V68.5498H19.0083ZM15.0083 68.5498H14.0083V69.5498H15.0083V68.5498ZM15.0083 47.0498V46.0498H14.0083V47.0498H15.0083ZM19.0083 47.0498H20.0083V46.0498H19.0083V47.0498ZM16.0747 1.62109L15.1486 1.24404L15.1485 1.24423L16.0747 1.62109ZM17.9419 1.62109L18.8682 1.24423L18.8681 1.24408L17.9419 1.62109ZM32.857 38.2803L31.9307 38.6571L31.9307 38.6571L32.857 38.2803ZM29.9419 40.7012L30.4569 39.8439L30.4536 39.842L29.9419 40.7012ZM19.0083 34.1904L19.52 33.3312L18.0083 32.4311V34.1904H19.0083ZM19.0083 42.75V43.75H20.0083V42.75H19.0083ZM15.0083 42.75H14.0083V43.75H15.0083V42.75ZM15.0083 34.1904H16.0083V32.4311L14.4967 33.3312L15.0083 34.1904ZM4.07475 40.7012L3.56311 39.842L3.55977 39.844L4.07475 40.7012ZM1.15971 38.2803L2.08598 38.6571L2.08598 38.6571L1.15971 38.2803ZM7.14115 34.1924L6.21489 33.8155L5.09376 36.5709L7.65168 35.0522L7.14115 34.1924ZM17.0083 28.334L17.5189 27.4741L17.0083 27.171L16.4978 27.4741L17.0083 28.334ZM26.8755 34.1924L26.365 35.0522L28.9229 36.5709L27.8018 33.8155L26.8755 34.1924ZM17.0083 9.94141L17.9346 9.56453L17.0083 7.28802L16.0821 9.56453L17.0083 9.94141ZM19.0083 163V162H15.0083V163V164H19.0083V163ZM15.0083 163H16.0083V150.25H15.0083H14.0083V163H15.0083ZM15.0083 150.25V151.25H19.0083V150.25V149.25H15.0083V150.25ZM19.0083 150.25H18.0083V163H19.0083H20.0083V150.25H19.0083ZM19.0083 145.95V144.95H15.0083V145.95V146.95H19.0083V145.95ZM15.0083 145.95H16.0083V124.45H15.0083H14.0083V145.95H15.0083ZM15.0083 124.45V125.45H19.0083V124.45V123.45H15.0083V124.45ZM19.0083 124.45H18.0083V145.95H19.0083H20.0083V124.45H19.0083ZM19.0083 120.15V119.15H15.0083V120.15V121.15H19.0083V120.15ZM15.0083 120.15H16.0083V98.6504H15.0083H14.0083V120.15H15.0083ZM15.0083 98.6504V99.6504H19.0083V98.6504V97.6504H15.0083V98.6504ZM19.0083 98.6504H18.0083V120.15H19.0083H20.0083V98.6504H19.0083ZM19.0083 94.3496V93.3496H15.0083V94.3496V95.3496H19.0083V94.3496ZM15.0083 94.3496H16.0083V72.8496H15.0083H14.0083V94.3496H15.0083ZM15.0083 72.8496V73.8496H19.0083V72.8496V71.8496H15.0083V72.8496ZM19.0083 72.8496H18.0083V94.3496H19.0083H20.0083V72.8496H19.0083ZM19.0083 68.5498V67.5498H15.0083V68.5498V69.5498H19.0083V68.5498ZM15.0083 68.5498H16.0083V47.0498H15.0083H14.0083V68.5498H15.0083ZM15.0083 47.0498V48.0498H19.0083V47.0498V46.0498H15.0083V47.0498ZM19.0083 47.0498H18.0083V68.5498H19.0083H20.0083V47.0498H19.0083ZM16.0747 1.62109L17.0009 1.99815C17.0025 1.9942 17.0036 1.99245 17.0037 1.99233C17.0037 1.99221 17.0032 1.99304 17.0021 1.99445C16.9994 1.9976 16.9963 2.00017 16.9939 2.00167C16.9918 2.00296 16.9919 2.0025 16.9948 2.00168C16.9979 2.00082 17.0026 2 17.0084 2C17.0141 2 17.0188 2.00082 17.0219 2.00168C17.0248 2.00249 17.0249 2.00295 17.0228 2.00166C17.0204 2.00015 17.0173 1.99758 17.0146 1.99442C17.0134 1.99301 17.0129 1.99217 17.013 1.9923C17.0131 1.99241 17.0141 1.99416 17.0157 1.99811L17.9419 1.62109L18.8681 1.24408C18.1929 -0.414789 15.8238 -0.414582 15.1486 1.24404L16.0747 1.62109ZM17.9419 1.62109L17.0157 1.99795L31.9307 38.6571L32.857 38.2803L33.7832 37.9034L18.8682 1.24423L17.9419 1.62109ZM32.857 38.2803L31.9307 38.6571C32.2629 39.4735 31.3379 40.3732 30.4569 39.8439L29.9419 40.7012L29.427 41.5584C31.8464 43.0118 34.8876 40.6177 33.7832 37.9034L32.857 38.2803ZM29.9419 40.7012L30.4536 39.842L19.52 33.3312L19.0083 34.1904L18.4967 35.0496L29.4303 41.5604L29.9419 40.7012ZM19.0083 34.1904H18.0083V42.75H19.0083H20.0083V34.1904H19.0083ZM19.0083 42.75V41.75H15.0083V42.75V43.75H19.0083V42.75ZM15.0083 42.75H16.0083V34.1904H15.0083H14.0083V42.75H15.0083ZM15.0083 34.1904L14.4967 33.3312L3.56311 39.842L4.07475 40.7012L4.58639 41.5604L15.52 35.0496L15.0083 34.1904ZM4.07475 40.7012L3.55977 39.844C2.67881 40.3732 1.75376 39.4737 2.08598 38.6571L1.15971 38.2803L0.233442 37.9034C-0.870876 40.6176 2.17019 43.012 4.58973 41.5584L4.07475 40.7012ZM1.15971 38.2803L2.08598 38.6571L17.001 1.99795L16.0747 1.62109L15.1485 1.24423L0.233439 37.9034L1.15971 38.2803ZM7.14115 34.1924L7.65168 35.0522L17.5189 29.1938L17.0083 28.334L16.4978 27.4741L6.63063 33.3325L7.14115 34.1924ZM17.0083 28.334L16.4978 29.1938L26.365 35.0522L26.8755 34.1924L27.3861 33.3325L17.5189 27.4741L17.0083 28.334ZM26.8755 34.1924L27.8018 33.8155L17.9346 9.56453L17.0083 9.94141L16.0821 10.3183L25.9493 34.5693L26.8755 34.1924ZM17.0083 9.94141L16.0821 9.56453L6.21489 33.8155L7.14115 34.1924L8.06742 34.5693L17.9346 10.3183L17.0083 9.94141Z" fill="var(--border-silhouette-color)" mask="url(#cog-vector-outline)"/>
|
|
201615
|
-
</g></g>`;
|
|
201616
|
-
}
|
|
201617
|
-
/** COG velocity vector: dashed shaft with a double open arrowhead. */
|
|
201618
|
-
function cogVelocityVectorArt(colorName) {
|
|
201619
|
-
return w`<g transform="translate(245.45, 97.01)"><g id="Shape">
|
|
201620
|
-
<mask id="cog-velocity-vector-outline" maskUnits="userSpaceOnUse" x="-0.513564" y="-4.86374e-05" width="22" height="162" fill="black">
|
|
201621
|
-
<rect fill="white" x="-0.513564" y="-4.86374e-05" width="22" height="162"/>
|
|
201622
|
-
<path d="M12.5489 161H8.54894V149.25H12.5489V161ZM12.5489 145.35H8.54894V125.85H12.5489V145.35ZM12.5489 121.95H8.54894V102.45H12.5489V121.95ZM12.5489 98.5498H8.54894V79.0498H12.5489V98.5498ZM12.5489 75.1503H8.54894V55.6503H12.5489V75.1503ZM12.5489 51.75H8.54894V40H12.5489V51.75ZM9.61534 19.621C9.95247 18.7929 11.1454 18.7929 11.4825 19.621L19.6114 39.6015H15.2931L10.5489 27.9414L5.80479 39.6015H1.48644L9.61534 19.621ZM9.61534 1.62105C9.9525 0.793007 11.1454 0.792963 11.4825 1.62105L19.6114 21.6015H15.2931L10.5489 9.94136L5.80479 21.6015H1.48644L9.61534 1.62105Z"/>
|
|
201623
|
-
</mask>
|
|
201624
|
-
<path d="M12.5489 161H8.54894V149.25H12.5489V161ZM12.5489 145.35H8.54894V125.85H12.5489V145.35ZM12.5489 121.95H8.54894V102.45H12.5489V121.95ZM12.5489 98.5498H8.54894V79.0498H12.5489V98.5498ZM12.5489 75.1503H8.54894V55.6503H12.5489V75.1503ZM12.5489 51.75H8.54894V40H12.5489V51.75ZM9.61534 19.621C9.95247 18.7929 11.1454 18.7929 11.4825 19.621L19.6114 39.6015H15.2931L10.5489 27.9414L5.80479 39.6015H1.48644L9.61534 19.621ZM9.61534 1.62105C9.9525 0.793007 11.1454 0.792963 11.4825 1.62105L19.6114 21.6015H15.2931L10.5489 9.94136L5.80479 21.6015H1.48644L9.61534 1.62105Z" fill=${colorName}/>
|
|
201625
|
-
<path d="M12.5489 161V162H13.5489V161H12.5489ZM8.54894 161H7.54894V162H8.54894V161ZM8.54894 149.25V148.25H7.54894V149.25H8.54894ZM12.5489 149.25H13.5489V148.25H12.5489V149.25ZM12.5489 145.35V146.35H13.5489V145.35H12.5489ZM8.54894 145.35H7.54894V146.35H8.54894V145.35ZM8.54894 125.85V124.85H7.54894V125.85H8.54894ZM12.5489 125.85H13.5489V124.85H12.5489V125.85ZM12.5489 121.95V122.95H13.5489V121.95H12.5489ZM8.54894 121.95H7.54894V122.95H8.54894V121.95ZM8.54894 102.45V101.45H7.54894V102.45H8.54894ZM12.5489 102.45H13.5489V101.45H12.5489V102.45ZM12.5489 98.5498V99.5498H13.5489V98.5498H12.5489ZM8.54894 98.5498H7.54894V99.5498H8.54894V98.5498ZM8.54894 79.0498V78.0498H7.54894V79.0498H8.54894ZM12.5489 79.0498H13.5489V78.0498H12.5489V79.0498ZM12.5489 75.1503V76.1503H13.5489V75.1503H12.5489ZM8.54894 75.1503H7.54894V76.1503H8.54894V75.1503ZM8.54894 55.6503V54.6503H7.54894V55.6503H8.54894ZM12.5489 55.6503H13.5489V54.6503H12.5489V55.6503ZM12.5489 51.75V52.75H13.5489V51.75H12.5489ZM8.54894 51.75H7.54894V52.75H8.54894V51.75ZM8.54894 40V39H7.54894V40H8.54894ZM12.5489 40H13.5489V39H12.5489V40ZM9.61534 19.621L8.68915 19.244L8.68907 19.2442L9.61534 19.621ZM11.4825 19.621L12.4088 19.2442L12.4087 19.244L11.4825 19.621ZM19.6114 39.6015V40.6015H21.0979L20.5377 39.2247L19.6114 39.6015ZM15.2931 39.6015L14.3668 39.9784L14.6203 40.6015H15.2931V39.6015ZM10.5489 27.9414L11.4752 27.5645L10.5489 25.2879L9.62267 27.5645L10.5489 27.9414ZM5.80479 39.6015V40.6015H6.47753L6.73106 39.9784L5.80479 39.6015ZM1.48644 39.6015L0.56016 39.2247L0 40.6015H1.48644V39.6015ZM9.61534 1.62105L8.68917 1.24393L8.68907 1.2442L9.61534 1.62105ZM11.4825 1.62105L12.4088 1.2442L12.4087 1.24399L11.4825 1.62105ZM19.6114 21.6015V22.6015H21.0979L20.5377 21.2247L19.6114 21.6015ZM15.2931 21.6015L14.3668 21.9784L14.6203 22.6015H15.2931V21.6015ZM10.5489 9.94136L11.4752 9.56449L10.5489 7.28791L9.62267 9.56449L10.5489 9.94136ZM5.80479 21.6015V22.6015H6.47753L6.73106 21.9784L5.80479 21.6015ZM1.48644 21.6015L0.56016 21.2247L0 22.6015H1.48644V21.6015ZM12.5489 161V160H8.54894V161V162H12.5489V161ZM8.54894 161H9.54894V149.25H8.54894H7.54894V161H8.54894ZM8.54894 149.25V150.25H12.5489V149.25V148.25H8.54894V149.25ZM12.5489 149.25H11.5489V161H12.5489H13.5489V149.25H12.5489ZM12.5489 145.35V144.35H8.54894V145.35V146.35H12.5489V145.35ZM8.54894 145.35H9.54894V125.85H8.54894H7.54894V145.35H8.54894ZM8.54894 125.85V126.85H12.5489V125.85V124.85H8.54894V125.85ZM12.5489 125.85H11.5489V145.35H12.5489H13.5489V125.85H12.5489ZM12.5489 121.95V120.95H8.54894V121.95V122.95H12.5489V121.95ZM8.54894 121.95H9.54894V102.45H8.54894H7.54894V121.95H8.54894ZM8.54894 102.45V103.45H12.5489V102.45V101.45H8.54894V102.45ZM12.5489 102.45H11.5489V121.95H12.5489H13.5489V102.45H12.5489ZM12.5489 98.5498V97.5498H8.54894V98.5498V99.5498H12.5489V98.5498ZM8.54894 98.5498H9.54894V79.0498H8.54894H7.54894V98.5498H8.54894ZM8.54894 79.0498V80.0498H12.5489V79.0498V78.0498H8.54894V79.0498ZM12.5489 79.0498H11.5489V98.5498H12.5489H13.5489V79.0498H12.5489ZM12.5489 75.1503V74.1503H8.54894V75.1503V76.1503H12.5489V75.1503ZM8.54894 75.1503H9.54894V55.6503H8.54894H7.54894V75.1503H8.54894ZM8.54894 55.6503V56.6503H12.5489V55.6503V54.6503H8.54894V55.6503ZM12.5489 55.6503H11.5489V75.1503H12.5489H13.5489V55.6503H12.5489ZM12.5489 51.75V50.75H8.54894V51.75V52.75H12.5489V51.75ZM8.54894 51.75H9.54894V40H8.54894H7.54894V51.75H8.54894ZM8.54894 40V41H12.5489V40V39H8.54894V40ZM12.5489 40H11.5489V51.75H12.5489H13.5489V40H12.5489ZM9.61534 19.621L10.5415 19.9981C10.5431 19.9941 10.5442 19.9924 10.5443 19.9923C10.5443 19.9921 10.5438 19.993 10.5427 19.9944C10.54 19.9975 10.5369 20.0001 10.5345 20.0016C10.5324 20.0029 10.5325 20.0024 10.5354 20.0016C10.5385 20.0008 10.5432 19.9999 10.549 19.9999C10.5547 19.9999 10.5594 20.0008 10.5625 20.0016C10.5654 20.0024 10.5655 20.0029 10.5634 20.0016C10.561 20.0001 10.5579 19.9975 10.5552 19.9944C10.554 19.9929 10.5535 19.9921 10.5536 19.9922C10.5537 19.9923 10.5547 19.9941 10.5563 19.998L11.4825 19.621L12.4087 19.244C11.7335 17.5851 9.36437 17.5854 8.68915 19.244L9.61534 19.621ZM11.4825 19.621L10.5563 19.9979L18.6852 39.9784L19.6114 39.6015L20.5377 39.2247L12.4088 19.2442L11.4825 19.621ZM19.6114 39.6015V38.6015H15.2931V39.6015V40.6015H19.6114V39.6015ZM15.2931 39.6015L16.2193 39.2246L11.4752 27.5645L10.5489 27.9414L9.62267 28.3182L14.3668 39.9784L15.2931 39.6015ZM10.5489 27.9414L9.62267 27.5645L4.87853 39.2246L5.80479 39.6015L6.73106 39.9784L11.4752 28.3182L10.5489 27.9414ZM5.80479 39.6015V38.6015H1.48644V39.6015V40.6015H5.80479V39.6015ZM1.48644 39.6015L2.41271 39.9784L10.5416 19.9979L9.61534 19.621L8.68907 19.2442L0.56016 39.2247L1.48644 39.6015ZM9.61534 1.62105L10.5415 1.99816C10.5431 1.99421 10.5442 1.99246 10.5442 1.99235C10.5443 1.99222 10.5438 1.99306 10.5426 1.99447C10.54 1.99762 10.5368 2.00018 10.5345 2.00168C10.5324 2.00296 10.5325 2.0025 10.5354 2.00168C10.5385 2.00082 10.5432 2 10.549 2C10.5547 2 10.5595 2.00082 10.5625 2.00168C10.5654 2.0025 10.5655 2.00295 10.5634 2.00166C10.561 2.00015 10.5579 1.99758 10.5552 1.99442C10.554 1.99301 10.5535 1.99217 10.5536 1.99229C10.5537 1.9924 10.5547 1.99415 10.5563 1.9981L11.4825 1.62105L12.4087 1.24399C11.7334 -0.414815 9.36445 -0.414494 8.68917 1.24393L9.61534 1.62105ZM11.4825 1.62105L10.5563 1.99789L18.6852 21.9784L19.6114 21.6015L20.5377 21.2247L12.4088 1.2442L11.4825 1.62105ZM19.6114 21.6015V20.6015H15.2931V21.6015V22.6015H19.6114V21.6015ZM15.2931 21.6015L16.2193 21.2246L11.4752 9.56449L10.5489 9.94136L9.62267 10.3182L14.3668 21.9784L15.2931 21.6015ZM10.5489 9.94136L9.62267 9.56449L4.87853 21.2246L5.80479 21.6015L6.73106 21.9784L11.4752 10.3182L10.5489 9.94136ZM5.80479 21.6015V20.6015H1.48644V21.6015V22.6015H5.80479V21.6015ZM1.48644 21.6015L2.41271 21.9784L10.5416 1.99789L9.61534 1.62105L8.68907 1.2442L0.56016 21.2247L1.48644 21.6015Z" fill="var(--border-silhouette-color)" mask="url(#cog-velocity-vector-outline)"/>
|
|
201626
|
-
</g></g>`;
|
|
201627
|
-
}
|
|
201628
|
-
// src/navigation-instruments/course-arrows/course-arrows.ts
|
|
201629
|
-
/**
|
|
201630
|
-
* Shared HDG/COG arrow art for the radial course instruments
|
|
201631
|
-
* (`obc-compass`, `obc-heading`; `obc-compass-sector` consumes the arrow-head
|
|
201632
|
-
* styles through the deprecated `compass/arrow.ts` shim).
|
|
201633
|
-
*
|
|
201634
|
-
* All art is authored in the 512/center-256 coordinate system and wrapped in
|
|
201635
|
-
* `rotate(angle) translate(-256, -256)` groups, per the watch-instrument SVG
|
|
201636
|
-
* conventions. Colors derive from the instrument priority palette.
|
|
201637
|
-
*
|
|
201638
|
-
* `radiusOffset` shifts ring-anchored art (the `arrowHead` styles) outward —
|
|
201639
|
-
* `obc-compass-sector` passes its zoom radius offset here. Center-anchored
|
|
201640
|
-
* styles (`needle`, `vector`, `beamLine`, `velocityVector`) ignore it.
|
|
201641
|
-
*/
|
|
201642
|
-
var HdgArrowStyle = /* @__PURE__ */ function(HdgArrowStyle) {
|
|
201643
|
-
HdgArrowStyle["arrowHead"] = "arrowHead";
|
|
201644
|
-
HdgArrowStyle["needle"] = "needle";
|
|
201645
|
-
HdgArrowStyle["vector"] = "vector";
|
|
201646
|
-
HdgArrowStyle["beamLine"] = "beamLine";
|
|
201647
|
-
return HdgArrowStyle;
|
|
201648
|
-
}({});
|
|
201649
|
-
var CogArrowStyle = /* @__PURE__ */ function(CogArrowStyle) {
|
|
201650
|
-
CogArrowStyle["arrowHead"] = "arrowHead";
|
|
201651
|
-
CogArrowStyle["needle"] = "needle";
|
|
201652
|
-
CogArrowStyle["vector"] = "vector";
|
|
201653
|
-
CogArrowStyle["velocityVector"] = "velocityVector";
|
|
201654
|
-
return CogArrowStyle;
|
|
201655
|
-
}({});
|
|
201656
|
-
function arrowColor(priority) {
|
|
201657
|
-
return priority === Priority.enhanced ? "var(--instrument-enhanced-secondary-color)" : "var(--instrument-regular-secondary-color)";
|
|
201658
|
-
}
|
|
201659
|
-
function hdgArrowHead(angle, colorName, radiusOffset) {
|
|
201660
|
-
return w`
|
|
201661
|
-
<g transform="rotate(${angle}) translate(-256, ${-256 - radiusOffset})">
|
|
201662
|
-
|
|
201663
|
-
<path d="M254.654 100.32C255.219 99.1903 256.906 99.2277 257.396 100.433L272.312 137.092L272.388 137.301C273.067 139.455 270.647 141.314 268.676 140.13V140.129L256 132.582L243.323 140.129L243.324 140.13C241.289 141.352 238.777 139.332 239.688 137.092L254.604 100.433L254.654 100.32Z"
|
|
201664
|
-
fill=${colorName} stroke="var(--border-silhouette-color)" stroke-width="1" vector-effect="non-scaling-stroke"/>
|
|
201665
|
-
</g>
|
|
201666
|
-
`;
|
|
201667
|
-
}
|
|
201668
|
-
function cogArrowHead(angle, colorName, radiusOffset) {
|
|
201669
|
-
return w`
|
|
201670
|
-
<g transform="rotate(${angle}) translate(-256, ${-256 - radiusOffset})">
|
|
201671
|
-
<mask id="path-1-outside-1_133_32856" maskUnits="userSpaceOnUse" x="238" y="99" width="36" height="42" fill="black">
|
|
201672
|
-
<rect fill="white" x="238" y="99" width="36" height="42"/>
|
|
201673
|
-
<path fill-rule="evenodd" clip-rule="evenodd" vector-effect="non-scaling-stroke" d="M256 127.334L265.867 133.192L256 108.941L246.133 133.192L256 127.334ZM255.067 100.621C255.404 99.7929 256.596 99.7929 256.933 100.621L271.849 137.28C272.567 139.046 270.584 140.693 268.933 139.701L256 132L243.067 139.701C241.416 140.693 239.433 139.046 240.151 137.28L255.067 100.621Z"/>
|
|
201674
|
-
</mask>
|
|
201675
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M256 127.334L265.867 133.192L256 108.941L246.133 133.192L256 127.334ZM255.067 100.621C255.404 99.7929 256.596 99.7929 256.933 100.621L271.849 137.28C272.567 139.046 270.584 140.693 268.933 139.701L256 132L243.067 139.701C241.416 140.693 239.433 139.046 240.151 137.28L255.067 100.621Z"
|
|
201676
|
-
fill=${colorName} />
|
|
201677
|
-
<path d="M256 127.334L256.511 126.474L256 126.171L255.489 126.474L256 127.334ZM265.867 133.192L265.357 134.052L267.914 135.571L266.793 132.816L265.867 133.192ZM256 108.941L256.926 108.564L256 106.288L255.074 108.564L256 108.941ZM246.133 133.192L245.207 132.816L244.086 135.571L246.643 134.052L246.133 133.192ZM255.067 100.621L254.14 100.244L255.067 100.621ZM256.933 100.621L257.86 100.244L256.933 100.621ZM271.849 137.28L270.922 137.657L271.849 137.28ZM268.933 139.701L269.448 138.844L269.445 138.842L268.933 139.701ZM256 132L256.512 131.141L256 130.836L255.488 131.141L256 132ZM243.067 139.701L242.555 138.842L242.552 138.844L243.067 139.701ZM240.151 137.28L241.078 137.657L240.151 137.28ZM255.489 128.193L265.357 134.052L266.378 132.333L256.511 126.474L255.489 128.193ZM266.793 132.816L256.926 108.564L255.074 109.318L264.941 133.569L266.793 132.816ZM255.074 108.564L245.207 132.816L247.059 133.569L256.926 109.318L255.074 108.564ZM246.643 134.052L256.511 128.193L255.489 126.474L245.622 132.333L246.643 134.052ZM255.993 100.998C255.994 100.994 255.996 100.992 255.996 100.992C255.996 100.992 255.995 100.993 255.994 100.994C255.991 100.997 255.988 101 255.986 101.002C255.984 101.003 255.984 101.002 255.987 101.002C255.99 101.001 255.994 101 256 101C256.006 101 256.01 101.001 256.013 101.002C256.016 101.002 256.016 101.003 256.014 101.002C256.012 101 256.009 100.997 256.006 100.994C256.005 100.993 256.004 100.992 256.004 100.992C256.004 100.992 256.006 100.994 256.007 100.998L257.86 100.244C257.185 98.5852 254.815 98.5852 254.14 100.244L255.993 100.998ZM256.007 100.998L270.922 137.657L272.775 136.903L257.86 100.244L256.007 100.998ZM270.922 137.657C271.255 138.473 270.33 139.373 269.448 138.844L268.418 140.558C270.838 142.012 273.879 139.618 272.775 136.903L270.922 137.657ZM269.445 138.842L256.512 131.141L255.488 132.859L268.422 140.56L269.445 138.842ZM255.488 131.141L242.555 138.842L243.578 140.56L256.512 132.859L255.488 131.141ZM242.552 138.844C241.67 139.373 240.745 138.473 241.078 137.657L239.225 136.903C238.121 139.618 241.162 142.012 243.582 140.558L242.552 138.844ZM241.078 137.657L255.993 100.998L254.14 100.244L239.225 136.903L241.078 137.657Z"
|
|
201678
|
-
fill="var(--border-silhouette-color)" vector-effect="non-scaling-stroke" mask="url(#path-1-outside-1_133_32856)"/>
|
|
201679
|
-
|
|
201680
|
-
</g>
|
|
201681
|
-
`;
|
|
201682
|
-
}
|
|
201683
|
-
function hdgNeedle(angle, colorName) {
|
|
201684
|
-
return w`
|
|
201685
|
-
<g transform="translate(-256, -256) rotate(${angle}) scale(0.98)" transform-origin="256 256">
|
|
201686
|
-
<mask id="path-1-outside-1_18306_91613" maskUnits="userSpaceOnUse" x="238" y="94.9999" width="36" height="318" fill="black">
|
|
201687
|
-
<rect fill="white" x="238" y="94.9999" width="36" height="318"/>
|
|
201688
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M256.934 96.621C256.596 95.7928 255.403 95.7929 255.066 96.621L240.151 133.28C239.433 135.046 241.416 136.692 243.066 135.701L252 130.381V249.072C249.609 250.455 248 253.039 248 256C248 259.728 250.549 262.86 254 263.748V410C254 411.104 254.895 412 256 412C257.104 412 258 411.104 258 410V263.747C261.45 262.859 264 259.727 264 256C264 253.039 262.391 250.456 260 249.072V130.381L268.934 135.701C270.584 136.692 272.567 135.045 271.849 133.28L256.934 96.621ZM256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260Z"/>
|
|
201689
|
-
</mask>
|
|
201690
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M256.934 96.621C256.596 95.7928 255.403 95.7929 255.066 96.621L240.151 133.28C239.433 135.046 241.416 136.692 243.066 135.701L252 130.381V249.072C249.609 250.455 248 253.039 248 256C248 259.728 250.549 262.86 254 263.748V410C254 411.104 254.895 412 256 412C257.104 412 258 411.104 258 410V263.747C261.45 262.859 264 259.727 264 256C264 253.039 262.391 250.456 260 249.072V130.381L268.934 135.701C270.584 136.692 272.567 135.045 271.849 133.28L256.934 96.621ZM256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260Z" fill=${colorName}/>
|
|
201691
|
-
<path d="M255.066 96.621L254.14 96.2439L254.14 96.2441L255.066 96.621ZM256.934 96.621L257.86 96.2441L257.86 96.244L256.934 96.621ZM240.151 133.28L241.078 133.657L241.078 133.657L240.151 133.28ZM243.066 135.701L242.555 134.842L242.551 134.844L243.066 135.701ZM252 130.381H253V128.621L251.488 129.522L252 130.381ZM252 249.072L252.501 249.938L253 249.649V249.072H252ZM248 256L247 256V256H248ZM254 263.748H255V262.973L254.249 262.779L254 263.748ZM256 412V413H256L256 412ZM258 263.747L257.751 262.779L257 262.972V263.747H258ZM264 256H265V256L264 256ZM260 249.072H259V249.649L259.499 249.938L260 249.072ZM260 130.381L260.512 129.522L259 128.621V130.381H260ZM268.934 135.701L269.448 134.844L269.445 134.842L268.934 135.701ZM271.849 133.28L270.922 133.657L270.922 133.657L271.849 133.28ZM255.066 96.621L255.993 96.998C255.994 96.9941 255.995 96.9923 255.995 96.9922C255.995 96.9921 255.995 96.9929 255.994 96.9943C255.991 96.9975 255.988 97 255.985 97.0015C255.983 97.0028 255.983 97.0024 255.986 97.0016C255.989 97.0007 255.994 96.9999 256 96.9999C256.006 96.9999 256.01 97.0007 256.014 97.0016C256.016 97.0024 256.016 97.0028 256.014 97.0015C256.012 97 256.009 96.9975 256.006 96.9943C256.005 96.9929 256.005 96.9921 256.005 96.9922C256.005 96.9923 256.006 96.994 256.007 96.998L256.934 96.621L257.86 96.244C257.184 94.5851 254.815 94.5853 254.14 96.2439L255.066 96.621ZM240.151 133.28L241.078 133.657L255.993 96.9978L255.066 96.621L254.14 96.2441L239.225 132.903L240.151 133.28ZM243.066 135.701L242.551 134.844C241.67 135.373 240.745 134.474 241.078 133.657L240.151 133.28L239.225 132.903C238.121 135.617 241.162 138.012 243.581 136.558L243.066 135.701ZM252 130.381L251.488 129.522L242.555 134.842L243.066 135.701L243.578 136.56L252.512 131.24L252 130.381ZM252 249.072H253V130.381H252H251V249.072H252ZM248 256L249 256C249 253.411 250.406 251.15 252.501 249.938L252 249.072L251.499 248.207C248.812 249.761 247 252.667 247 256L248 256ZM254 263.748L254.249 262.779C251.23 262.002 249 259.26 249 256H248H247C247 260.195 249.869 263.717 253.751 264.716L254 263.748ZM254 410H255V263.748H254H253V410H254ZM256 412V411C255.448 411 255 410.552 255 410H254H253C253 411.657 254.343 413 256 413V412ZM258 410H257C257 410.552 256.552 411 256 411L256 412L256 413C257.657 413 259 411.657 259 410H258ZM258 263.747H257V410H258H259V263.747H258ZM264 256H263C263 259.26 260.77 262.001 257.751 262.779L258 263.747L258.249 264.715C262.13 263.716 265 260.195 265 256H264ZM260 249.072L259.499 249.938C261.594 251.15 263 253.411 263 256L264 256L265 256C265 252.667 263.187 249.761 260.501 248.207L260 249.072ZM260 130.381H259V249.072H260H261V130.381H260ZM268.934 135.701L269.445 134.842L260.512 129.522L260 130.381L259.488 131.24L268.422 136.56L268.934 135.701ZM271.849 133.28L270.922 133.657C271.254 134.473 270.33 135.373 269.448 134.844L268.934 135.701L268.419 136.558C270.838 138.012 273.879 135.618 272.775 132.903L271.849 133.28ZM256.934 96.621L256.007 96.9978L270.922 133.657L271.849 133.28L272.775 132.903L257.86 96.2441L256.934 96.621ZM260 256H259C259 257.657 257.657 259 256 259V260V261C258.761 261 261 258.761 261 256H260ZM256 252V253C257.657 253 259 254.343 259 256H260H261C261 253.239 258.761 251 256 251V252ZM252 256H253C253 254.343 254.343 253 256 253V252V251C253.239 251 251 253.239 251 256H252ZM256 260V259C254.343 259 253 257.657 253 256H252H251C251 258.761 253.239 261 256 261V260Z" fill="var(--border-silhouette-color)" mask="url(#path-1-outside-1_18306_91613)"/>
|
|
201692
|
-
</g>
|
|
201693
|
-
`;
|
|
201694
|
-
}
|
|
201695
|
-
function cogNeedle(angle, colorName) {
|
|
201696
|
-
return w`
|
|
201697
|
-
<g transform="translate(-256, -256) rotate(${angle}) scale(0.98)" transform-origin="256 256">
|
|
201698
|
-
<mask id="path-1-outside-1_18306_91642" maskUnits="userSpaceOnUse" x="238" y="94.9999" width="36" height="170" fill="black">
|
|
201699
|
-
<rect fill="white" x="238" y="94.9999" width="36" height="170"/>
|
|
201700
|
-
<path d="M255.066 96.621C255.404 95.7929 256.596 95.7928 256.934 96.621L271.849 133.28C272.567 135.046 270.584 136.692 268.934 135.701L258 129.19V248.252C261.45 249.14 264 252.272 264 256C264 260.418 260.418 264 256 264C251.582 264 248 260.418 248 256C248 252.272 250.55 249.14 254 248.252V129.19L243.066 135.701C241.416 136.692 239.433 135.046 240.151 133.28L255.066 96.621ZM256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252ZM246.133 129.192L256 123.334L265.867 129.192L256 104.941L246.133 129.192Z"/>
|
|
201701
|
-
</mask>
|
|
201702
|
-
<path d="M255.066 96.621C255.404 95.7929 256.596 95.7928 256.934 96.621L271.849 133.28C272.567 135.046 270.584 136.692 268.934 135.701L258 129.19V248.252C261.45 249.14 264 252.272 264 256C264 260.418 260.418 264 256 264C251.582 264 248 260.418 248 256C248 252.272 250.55 249.14 254 248.252V129.19L243.066 135.701C241.416 136.692 239.433 135.046 240.151 133.28L255.066 96.621ZM256 252C253.791 252 252 253.791 252 256C252 258.209 253.791 260 256 260C258.209 260 260 258.209 260 256C260 253.791 258.209 252 256 252ZM246.133 129.192L256 123.334L265.867 129.192L256 104.941L246.133 129.192Z" fill="${colorName}"/>
|
|
201703
|
-
<path d="M255.066 96.621L254.14 96.2439L254.14 96.2441L255.066 96.621ZM256.934 96.621L257.86 96.2441L257.86 96.244L256.934 96.621ZM271.849 133.28L270.922 133.657L270.922 133.657L271.849 133.28ZM268.934 135.701L269.449 134.844L269.445 134.842L268.934 135.701ZM258 129.19L258.512 128.331L257 127.431V129.19H258ZM258 248.252H257V249.027L257.751 249.22L258 248.252ZM264 256H265V256L264 256ZM256 264V265H256L256 264ZM248 256L247 256V256H248ZM254 248.252L254.249 249.22L255 249.027V248.252H254ZM254 129.19H255V127.431L253.488 128.331L254 129.19ZM243.066 135.701L242.555 134.842L242.551 134.844L243.066 135.701ZM240.151 133.28L241.078 133.657L241.078 133.657L240.151 133.28ZM256 252L256 251H256V252ZM252 256L251 256V256H252ZM256 260V261H256L256 260ZM260 256H261V256L260 256ZM246.133 129.192L245.207 128.815L244.085 131.571L246.643 130.052L246.133 129.192ZM256 123.334L256.511 122.474L256 122.171L255.489 122.474L256 123.334ZM265.867 129.192L265.357 130.052L267.915 131.571L266.793 128.815L265.867 129.192ZM256 104.941L256.926 104.564L256 102.288L255.074 104.564L256 104.941ZM255.066 96.621L255.993 96.998C255.994 96.9941 255.995 96.9923 255.995 96.9922C255.995 96.9921 255.995 96.9929 255.994 96.9943C255.991 96.9975 255.988 97.0001 255.986 97.0016C255.983 97.0028 255.984 97.0024 255.986 97.0016C255.99 97.0007 255.994 96.9999 256 96.9999C256.006 96.9999 256.01 97.0007 256.014 97.0016C256.016 97.0024 256.017 97.0028 256.014 97.0015C256.012 97 256.009 96.9975 256.006 96.9943C256.005 96.9929 256.005 96.9921 256.005 96.9922C256.005 96.9923 256.006 96.9941 256.007 96.998L256.934 96.621L257.86 96.244C257.185 94.5851 254.815 94.5853 254.14 96.2439L255.066 96.621ZM256.934 96.621L256.007 96.9978L270.922 133.657L271.849 133.28L272.775 132.903L257.86 96.2441L256.934 96.621ZM271.849 133.28L270.922 133.657C271.255 134.473 270.33 135.373 269.449 134.844L268.934 135.701L268.419 136.558C270.838 138.012 273.879 135.618 272.775 132.903L271.849 133.28ZM268.934 135.701L269.445 134.842L258.512 128.331L258 129.19L257.488 130.05L268.422 136.56L268.934 135.701ZM258 129.19H257V248.252H258H259V129.19H258ZM258 248.252L257.751 249.22C260.77 249.997 263 252.74 263 256L264 256L265 256C265 251.805 262.131 248.283 258.249 247.283L258 248.252ZM264 256H263C263 259.866 259.866 263 256 263L256 264L256 265C260.97 265 265 260.97 265 256H264ZM256 264V263C252.134 263 249 259.866 249 256H248H247C247 260.97 251.029 265 256 265V264ZM248 256L249 256C249 252.74 251.23 249.997 254.249 249.22L254 248.252L253.751 247.283C249.869 248.282 247 251.805 247 256L248 256ZM254 248.252H255V129.19H254H253V248.252H254ZM254 129.19L253.488 128.331L242.555 134.842L243.066 135.701L243.578 136.56L254.512 130.05L254 129.19ZM243.066 135.701L242.551 134.844C241.67 135.373 240.745 134.474 241.078 133.657L240.151 133.28L239.225 132.903C238.121 135.618 241.162 138.012 243.581 136.558L243.066 135.701ZM240.151 133.28L241.078 133.657L255.993 96.9978L255.066 96.621L254.14 96.2441L239.225 132.903L240.151 133.28ZM256 252V251C253.239 251 251 253.239 251 256L252 256L253 256C253 254.343 254.343 253 256 253V252ZM252 256H251C251 258.761 253.239 261 256 261V260V259C254.343 259 253 257.657 253 256H252ZM256 260L256 261C258.761 261 261 258.761 261 256H260H259C259 257.657 257.657 259 256 259L256 260ZM260 256L261 256C261 253.239 258.761 251 256 251L256 252L256 253C257.657 253 259 254.343 259 256L260 256ZM246.133 129.192L246.643 130.052L256.511 124.194L256 123.334L255.489 122.474L245.622 128.332L246.133 129.192ZM256 123.334L255.489 124.194L265.357 130.052L265.867 129.192L266.378 128.332L256.511 122.474L256 123.334ZM265.867 129.192L266.793 128.815L256.926 104.564L256 104.941L255.074 105.318L264.941 129.569L265.867 129.192ZM256 104.941L255.074 104.564L245.207 128.815L246.133 129.192L247.059 129.569L256.926 105.318L256 104.941Z" fill="var(--border-silhouette-color)" mask="url(#path-1-outside-1_18306_91642)"/>
|
|
201704
|
-
|
|
201705
|
-
|
|
201706
|
-
</g>
|
|
201707
|
-
`;
|
|
201708
|
-
}
|
|
201709
|
-
/**
|
|
201710
|
-
* Renders the heading (HDG) arrow in the requested style, rotated to `angle`
|
|
201711
|
-
* degrees (0° = 12 o'clock).
|
|
201712
|
-
*/
|
|
201713
|
-
function hdgArrow(style, angle, priority = Priority.regular, radiusOffset = 0) {
|
|
201714
|
-
const colorName = arrowColor(priority);
|
|
201715
|
-
switch (style) {
|
|
201716
|
-
case "arrowHead": return hdgArrowHead(angle, colorName, radiusOffset);
|
|
201717
|
-
case "needle": return hdgNeedle(angle, colorName);
|
|
201718
|
-
case "vector": return w`
|
|
201719
|
-
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
201720
|
-
${hdgVectorArt(colorName)}
|
|
201721
|
-
<circle cx="256" cy="256" r="2" fill="var(--border-silhouette-color)"/>
|
|
201722
|
-
</g>
|
|
201723
|
-
`;
|
|
201724
|
-
case "beamLine": return w`
|
|
201725
|
-
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
201726
|
-
${hdgBeamLineArt(colorName)}
|
|
201727
|
-
<circle cx="256" cy="256" r="2" fill="var(--border-silhouette-color)"/>
|
|
201728
|
-
</g>
|
|
201729
|
-
`;
|
|
201730
|
-
}
|
|
201731
|
-
}
|
|
201732
|
-
/**
|
|
201733
|
-
* Renders the course-over-ground (COG) arrow in the requested style, rotated
|
|
201734
|
-
* to `angle` degrees (0° = 12 o'clock).
|
|
201735
|
-
*/
|
|
201736
|
-
function cogArrow(style, angle, priority = Priority.regular, radiusOffset = 0) {
|
|
201737
|
-
const colorName = arrowColor(priority);
|
|
201738
|
-
switch (style) {
|
|
201739
|
-
case "arrowHead": return cogArrowHead(angle, colorName, radiusOffset);
|
|
201740
|
-
case "needle": return cogNeedle(angle, colorName);
|
|
201741
|
-
case "vector": return w`
|
|
201742
|
-
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
201743
|
-
${cogVectorArt(colorName)}
|
|
201744
|
-
</g>
|
|
201745
|
-
`;
|
|
201746
|
-
case "velocityVector": return w`
|
|
201747
|
-
<g transform="rotate(${angle}) translate(-256, -256)">
|
|
201748
|
-
${cogVelocityVectorArt(colorName)}
|
|
201749
|
-
</g>
|
|
201750
|
-
`;
|
|
201751
|
-
}
|
|
201752
|
-
}
|
|
201753
202083
|
// src/navigation-instruments/compass/arrow.ts
|
|
201754
202084
|
/** @deprecated Use `HdgArrowStyle`/`CogArrowStyle` from `course-arrows/course-arrows.js` instead. */
|
|
201755
202085
|
var ArrowStyle = /* @__PURE__ */ function(ArrowStyle) {
|