@oicl/openbridge-webcomponents 2.0.0-next.161 → 2.0.0-next.163

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.
Files changed (33) hide show
  1. package/bundle/openbridge-webcomponents.bundle.js +439 -327
  2. package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
  3. package/custom-elements.json +96 -29
  4. package/dist/components/keyboard-numeric/keyboard-numeric.css.js +2 -3
  5. package/dist/components/keyboard-numeric/keyboard-numeric.css.js.map +1 -1
  6. package/dist/navigation-instruments/compass-sector/compass-sector.css.js +20 -11
  7. package/dist/navigation-instruments/compass-sector/compass-sector.css.js.map +1 -1
  8. package/dist/navigation-instruments/compass-sector/compass-sector.d.ts +18 -17
  9. package/dist/navigation-instruments/compass-sector/compass-sector.d.ts.map +1 -1
  10. package/dist/navigation-instruments/compass-sector/compass-sector.js +85 -52
  11. package/dist/navigation-instruments/compass-sector/compass-sector.js.map +1 -1
  12. package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js +2 -6
  13. package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js.map +1 -1
  14. package/dist/navigation-instruments/rudder/rudder.css.js +40 -0
  15. package/dist/navigation-instruments/rudder/rudder.css.js.map +1 -0
  16. package/dist/navigation-instruments/rudder/rudder.d.ts +9 -0
  17. package/dist/navigation-instruments/rudder/rudder.d.ts.map +1 -1
  18. package/dist/navigation-instruments/rudder/rudder.js +40 -23
  19. package/dist/navigation-instruments/rudder/rudder.js.map +1 -1
  20. package/dist/navigation-instruments/watch/watch.css.js +6 -0
  21. package/dist/navigation-instruments/watch/watch.css.js.map +1 -1
  22. package/dist/navigation-instruments/watch/watch.d.ts.map +1 -1
  23. package/dist/navigation-instruments/watch/watch.js +11 -1
  24. package/dist/navigation-instruments/watch/watch.js.map +1 -1
  25. package/dist/svghelpers/arc-frame.d.ts +8 -0
  26. package/dist/svghelpers/arc-frame.d.ts.map +1 -1
  27. package/dist/svghelpers/arc-frame.js +16 -6
  28. package/dist/svghelpers/arc-frame.js.map +1 -1
  29. package/dist/svghelpers/radial-frame.d.ts +14 -1
  30. package/dist/svghelpers/radial-frame.d.ts.map +1 -1
  31. package/dist/svghelpers/radial-frame.js +3 -1
  32. package/dist/svghelpers/radial-frame.js.map +1 -1
  33. package/package.json +1 -1
@@ -714,7 +714,7 @@ function adjustRectHeightForStroke(rectY, rectHeight, viewBoxMinY, viewBoxMaxY,
714
714
  }
715
715
  return { y: adjustedY, height: shrinkedHeight };
716
716
  }
717
- const componentStyle$1Q = i$7`* {
717
+ const componentStyle$1R = i$7`* {
718
718
  -webkit-tap-highlight-color: transparent;
719
719
  }
720
720
 
@@ -992,7 +992,7 @@ let ObcPoiGraphicLine = class extends i$4 {
992
992
  }
993
993
  };
994
994
  ObcPoiGraphicLine._idCounter = 0;
995
- ObcPoiGraphicLine.styles = r$7(componentStyle$1Q);
995
+ ObcPoiGraphicLine.styles = r$7(componentStyle$1R);
996
996
  __decorateClass$Bu([
997
997
  n$3({ type: Number })
998
998
  ], ObcPoiGraphicLine.prototype, "lineHeight", 2);
@@ -1196,7 +1196,7 @@ const e$1 = e$2(class extends i$3 {
1196
1196
  return E;
1197
1197
  }
1198
1198
  });
1199
- const componentStyle$1P = i$7`* {
1199
+ const componentStyle$1Q = i$7`* {
1200
1200
  -webkit-tap-highlight-color: transparent;
1201
1201
  }
1202
1202
 
@@ -1607,7 +1607,7 @@ let ObcPoiHeader = class extends i$4 {
1607
1607
  `;
1608
1608
  }
1609
1609
  };
1610
- ObcPoiHeader.styles = r$7(componentStyle$1P);
1610
+ ObcPoiHeader.styles = r$7(componentStyle$1Q);
1611
1611
  __decorateClass$Bt([
1612
1612
  n$3({ type: String })
1613
1613
  ], ObcPoiHeader.prototype, "content", 2);
@@ -1629,7 +1629,7 @@ __decorateClass$Bt([
1629
1629
  ObcPoiHeader = __decorateClass$Bt([
1630
1630
  customElement("obc-poi-header")
1631
1631
  ], ObcPoiHeader);
1632
- const componentStyle$1O = i$7`* {
1632
+ const componentStyle$1P = i$7`* {
1633
1633
  -webkit-tap-highlight-color: transparent;
1634
1634
  }
1635
1635
 
@@ -1856,7 +1856,7 @@ let ObcPoiLine = class extends i$4 {
1856
1856
  `;
1857
1857
  }
1858
1858
  };
1859
- ObcPoiLine.styles = r$7(componentStyle$1O);
1859
+ ObcPoiLine.styles = r$7(componentStyle$1P);
1860
1860
  __decorateClass$Bs([
1861
1861
  n$3({ type: Number })
1862
1862
  ], ObcPoiLine.prototype, "height", 2);
@@ -1878,7 +1878,7 @@ __decorateClass$Bs([
1878
1878
  ObcPoiLine = __decorateClass$Bs([
1879
1879
  customElement("obc-poi-line")
1880
1880
  ], ObcPoiLine);
1881
- const componentStyle$1N = i$7`* {
1881
+ const componentStyle$1O = i$7`* {
1882
1882
  -webkit-tap-highlight-color: transparent;
1883
1883
  }
1884
1884
 
@@ -2048,7 +2048,7 @@ const componentStyle$1N = i$7`* {
2048
2048
  filter: drop-shadow(0 1px 3px #000);
2049
2049
  }
2050
2050
  `;
2051
- const componentStyle$1M = i$7`* {
2051
+ const componentStyle$1N = i$7`* {
2052
2052
  -webkit-tap-highlight-color: transparent;
2053
2053
  }
2054
2054
 
@@ -2368,7 +2368,7 @@ let ObcPoiSelectionFrame = class extends i$4 {
2368
2368
  >`;
2369
2369
  }
2370
2370
  };
2371
- ObcPoiSelectionFrame.styles = r$7(componentStyle$1M);
2371
+ ObcPoiSelectionFrame.styles = r$7(componentStyle$1N);
2372
2372
  __decorateClass$Br([
2373
2373
  n$3({ type: String })
2374
2374
  ], ObcPoiSelectionFrame.prototype, "type", 2);
@@ -2705,7 +2705,7 @@ let ObcPoiPointer = class extends i$4 {
2705
2705
  this.syncBoxFilterTargets();
2706
2706
  }
2707
2707
  };
2708
- ObcPoiPointer.styles = r$7(componentStyle$1N);
2708
+ ObcPoiPointer.styles = r$7(componentStyle$1O);
2709
2709
  __decorateClass$Bq([
2710
2710
  n$3({ type: String })
2711
2711
  ], ObcPoiPointer.prototype, "type", 2);
@@ -2721,7 +2721,7 @@ __decorateClass$Bq([
2721
2721
  ObcPoiPointer = __decorateClass$Bq([
2722
2722
  customElement("obc-poi-pointer")
2723
2723
  ], ObcPoiPointer);
2724
- const componentStyle$1L = i$7`* {
2724
+ const componentStyle$1M = i$7`* {
2725
2725
  -webkit-tap-highlight-color: transparent;
2726
2726
  }
2727
2727
 
@@ -2822,7 +2822,7 @@ let ObcRulerPointer = class extends i$4 {
2822
2822
  `;
2823
2823
  }
2824
2824
  };
2825
- ObcRulerPointer.styles = r$7(componentStyle$1L);
2825
+ ObcRulerPointer.styles = r$7(componentStyle$1M);
2826
2826
  __decorateClass$Bp([
2827
2827
  n$3({ type: String })
2828
2828
  ], ObcRulerPointer.prototype, "type", 2);
@@ -5164,7 +5164,7 @@ const compentStyle$1j = i$7`* {
5164
5164
  opacity: var(--obc-poi-data-content-opacity, 1);
5165
5165
  }
5166
5166
  `;
5167
- const componentStyle$1K = i$7`* {
5167
+ const componentStyle$1L = i$7`* {
5168
5168
  -webkit-tap-highlight-color: transparent;
5169
5169
  }
5170
5170
 
@@ -5753,7 +5753,7 @@ let ObcPoiObject = class extends i$4 {
5753
5753
  `;
5754
5754
  }
5755
5755
  };
5756
- ObcPoiObject.styles = r$7(componentStyle$1K);
5756
+ ObcPoiObject.styles = r$7(componentStyle$1L);
5757
5757
  __decorateClass$Bn([
5758
5758
  n$3({ type: String })
5759
5759
  ], ObcPoiObject.prototype, "type", 2);
@@ -6177,7 +6177,7 @@ __decorateClass$Bl([
6177
6177
  __decorateClass$Bl([
6178
6178
  n$3({ type: Boolean })
6179
6179
  ], AbstractPoiObject.prototype, "interactive");
6180
- const componentStyle$1J = i$7`* {
6180
+ const componentStyle$1K = i$7`* {
6181
6181
  -webkit-tap-highlight-color: transparent;
6182
6182
  }
6183
6183
 
@@ -6679,7 +6679,7 @@ let ObcPoiObjectAton = class extends AbstractPoiObject {
6679
6679
  };
6680
6680
  ObcPoiObjectAton.styles = [
6681
6681
  ...AbstractPoiObject.styles,
6682
- r$7(componentStyle$1J)
6682
+ r$7(componentStyle$1K)
6683
6683
  ];
6684
6684
  __decorateClass$Bk([
6685
6685
  n$3({ type: String })
@@ -6847,7 +6847,7 @@ __decorateClass$Bh([
6847
6847
  ObcPoiButtonData = __decorateClass$Bh([
6848
6848
  customElement("obc-poi-button-data")
6849
6849
  ], ObcPoiButtonData);
6850
- const componentStyle$1I = i$7`* {
6850
+ const componentStyle$1J = i$7`* {
6851
6851
  -webkit-tap-highlight-color: transparent;
6852
6852
  }
6853
6853
 
@@ -6962,7 +6962,7 @@ let ObcPoiObjectVessel = class extends AbstractPoiObject {
6962
6962
  };
6963
6963
  ObcPoiObjectVessel.styles = [
6964
6964
  ...AbstractPoiObject.styles,
6965
- r$7(componentStyle$1I)
6965
+ r$7(componentStyle$1J)
6966
6966
  ];
6967
6967
  __decorateClass$Bg([
6968
6968
  n$3({ type: String })
@@ -7041,7 +7041,7 @@ __decorateClass$Bf([
7041
7041
  ObcPoiButtonVessel = __decorateClass$Bf([
7042
7042
  customElement("obc-poi-button-vessel")
7043
7043
  ], ObcPoiButtonVessel);
7044
- const componentStyle$1H = i$7`* {
7044
+ const componentStyle$1I = i$7`* {
7045
7045
  -webkit-tap-highlight-color: transparent;
7046
7046
  }
7047
7047
 
@@ -8059,7 +8059,7 @@ let ObcPoiCardHeader = class extends i$4 {
8059
8059
  `;
8060
8060
  }
8061
8061
  };
8062
- ObcPoiCardHeader.styles = r$7(componentStyle$1H);
8062
+ ObcPoiCardHeader.styles = r$7(componentStyle$1I);
8063
8063
  __decorateClass$Bc([
8064
8064
  n$3({ type: String })
8065
8065
  ], ObcPoiCardHeader.prototype, "variant", 2);
@@ -8087,7 +8087,7 @@ __decorateClass$Bc([
8087
8087
  ObcPoiCardHeader = __decorateClass$Bc([
8088
8088
  customElement("obc-poi-card-header")
8089
8089
  ], ObcPoiCardHeader);
8090
- const componentStyle$1G = i$7`* {
8090
+ const componentStyle$1H = i$7`* {
8091
8091
  -webkit-tap-highlight-color: transparent;
8092
8092
  }
8093
8093
 
@@ -8408,7 +8408,7 @@ let ObcPoiCard = class extends i$4 {
8408
8408
  `;
8409
8409
  }
8410
8410
  };
8411
- ObcPoiCard.styles = r$7(componentStyle$1G);
8411
+ ObcPoiCard.styles = r$7(componentStyle$1H);
8412
8412
  __decorateClass$Bb([
8413
8413
  n$3({ type: String })
8414
8414
  ], ObcPoiCard.prototype, "pointerDirection", 2);
@@ -8451,7 +8451,7 @@ __decorateClass$Bb([
8451
8451
  ObcPoiCard = __decorateClass$Bb([
8452
8452
  customElement("obc-poi-card")
8453
8453
  ], ObcPoiCard);
8454
- const componentStyle$1F = i$7`* {
8454
+ const componentStyle$1G = i$7`* {
8455
8455
  -webkit-tap-highlight-color: transparent;
8456
8456
  }
8457
8457
 
@@ -8500,7 +8500,7 @@ const componentStyle$1F = i$7`* {
8500
8500
  gap: var(--obc-poi-controller-stack-gap, 8px);
8501
8501
  }
8502
8502
  `;
8503
- const componentStyle$1E = i$7`* {
8503
+ const componentStyle$1F = i$7`* {
8504
8504
  -webkit-tap-highlight-color: transparent;
8505
8505
  }
8506
8506
 
@@ -8518,7 +8518,7 @@ const componentStyle$1E = i$7`* {
8518
8518
  display: contents;
8519
8519
  }
8520
8520
  `;
8521
- const componentStyle$1D = i$7`* {
8521
+ const componentStyle$1E = i$7`* {
8522
8522
  -webkit-tap-highlight-color: transparent;
8523
8523
  }
8524
8524
 
@@ -8644,7 +8644,7 @@ const componentStyle$1D = i$7`* {
8644
8644
  --obc-poi-label-opacity: var(--obc-poi-layer-inactive-opacity, 0.7);
8645
8645
  }
8646
8646
  `;
8647
- const componentStyle$1C = i$7`* {
8647
+ const componentStyle$1D = i$7`* {
8648
8648
  -webkit-tap-highlight-color: transparent;
8649
8649
  }
8650
8650
 
@@ -8862,7 +8862,7 @@ const componentStyle$1C = i$7`* {
8862
8862
  transition: opacity 0.1s ease-out;
8863
8863
  }
8864
8864
  `;
8865
- const componentStyle$1B = i$7`* {
8865
+ const componentStyle$1C = i$7`* {
8866
8866
  -webkit-tap-highlight-color: transparent;
8867
8867
  }
8868
8868
 
@@ -8908,7 +8908,7 @@ const n$1 = "important", i$1 = " !" + n$1, o$2 = e$2(class extends i$3 {
8908
8908
  return E;
8909
8909
  }
8910
8910
  });
8911
- const componentStyle$1A = i$7`* {
8911
+ const componentStyle$1B = i$7`* {
8912
8912
  -webkit-tap-highlight-color: transparent;
8913
8913
  }
8914
8914
 
@@ -9559,7 +9559,7 @@ let ObcPoi = class extends i$4 {
9559
9559
  this.syncAttachedHeaderState();
9560
9560
  }
9561
9561
  };
9562
- ObcPoi.styles = r$7(componentStyle$1A);
9562
+ ObcPoi.styles = r$7(componentStyle$1B);
9563
9563
  __decorateClass$Ba([
9564
9564
  n$3({ type: String })
9565
9565
  ], ObcPoi.prototype, "type", 2);
@@ -10101,7 +10101,7 @@ const _PoiBase = class _PoiBase extends i$4 {
10101
10101
  `;
10102
10102
  }
10103
10103
  };
10104
- _PoiBase.styles = [r$7(componentStyle$1B)];
10104
+ _PoiBase.styles = [r$7(componentStyle$1C)];
10105
10105
  let PoiBase = _PoiBase;
10106
10106
  __decorateClass$B9([
10107
10107
  n$3({ type: String })
@@ -11096,7 +11096,7 @@ let ObcPoiGroup = class extends i$4 {
11096
11096
  return true;
11097
11097
  }
11098
11098
  };
11099
- ObcPoiGroup.styles = r$7(componentStyle$1C);
11099
+ ObcPoiGroup.styles = r$7(componentStyle$1D);
11100
11100
  __decorateClass$B6([
11101
11101
  n$3({ type: Boolean })
11102
11102
  ], ObcPoiGroup.prototype, "expand", 2);
@@ -12254,7 +12254,7 @@ let ObcPoiLayer = class extends i$4 {
12254
12254
  }
12255
12255
  };
12256
12256
  ObcPoiLayer.GROUP_LAYER_HOOK_ATTR = "data-in-poi-layer";
12257
- ObcPoiLayer.styles = r$7(componentStyle$1D);
12257
+ ObcPoiLayer.styles = r$7(componentStyle$1E);
12258
12258
  __decorateClass$B5([
12259
12259
  n$3({ type: String })
12260
12260
  ], ObcPoiLayer.prototype, "label", 2);
@@ -12989,7 +12989,7 @@ let ObcPoiLayerStack = class extends i$4 {
12989
12989
  };
12990
12990
  ObcPoiLayerStack.STACK_JUMP_DURATION_MS = 100;
12991
12991
  ObcPoiLayerStack.STACK_RETURNING_ATTR = "data-stack-returning";
12992
- ObcPoiLayerStack.styles = r$7(componentStyle$1E);
12992
+ ObcPoiLayerStack.styles = r$7(componentStyle$1F);
12993
12993
  __decorateClass$B4([
12994
12994
  n$3({ type: String, attribute: "selection-mode" })
12995
12995
  ], ObcPoiLayerStack.prototype, "selectionMode", 2);
@@ -13311,7 +13311,7 @@ let ObcPoiController = class extends i$4 {
13311
13311
  `;
13312
13312
  }
13313
13313
  };
13314
- ObcPoiController.styles = r$7(componentStyle$1F);
13314
+ ObcPoiController.styles = r$7(componentStyle$1G);
13315
13315
  __decorateClass$B3([
13316
13316
  n$3({ type: String })
13317
13317
  ], ObcPoiController.prototype, "fit", 2);
@@ -16860,7 +16860,7 @@ __decorateClass$AB([
16860
16860
  ObcButton = __decorateClass$AB([
16861
16861
  customElement("obc-button")
16862
16862
  ], ObcButton);
16863
- const componentStyle$1z = i$7`* {
16863
+ const componentStyle$1A = i$7`* {
16864
16864
  -webkit-tap-highlight-color: transparent;
16865
16865
  }
16866
16866
 
@@ -17124,7 +17124,7 @@ const componentStyle$1z = i$7`* {
17124
17124
  block-size: var(--obc-readout-block-icon-size, var(--_block-icon-size));
17125
17125
  }
17126
17126
  `;
17127
- const componentStyle$1y = i$7`* {
17127
+ const componentStyle$1z = i$7`* {
17128
17128
  -webkit-tap-highlight-color: transparent;
17129
17129
  }
17130
17130
 
@@ -17317,7 +17317,7 @@ let ObcTextbox = class extends i$4 {
17317
17317
  `;
17318
17318
  }
17319
17319
  };
17320
- ObcTextbox.styles = r$7(componentStyle$1y);
17320
+ ObcTextbox.styles = r$7(componentStyle$1z);
17321
17321
  __decorateClass$AA([
17322
17322
  n$3({ type: String })
17323
17323
  ], ObcTextbox.prototype, "alignment", 2);
@@ -18256,7 +18256,7 @@ let ObcReadoutBlock = class extends i$4 {
18256
18256
  return wrapWithAlertFrame(this.alert ?? false, block);
18257
18257
  }
18258
18258
  };
18259
- ObcReadoutBlock.styles = r$7(componentStyle$1z);
18259
+ ObcReadoutBlock.styles = r$7(componentStyle$1A);
18260
18260
  __decorateClass$Ao([
18261
18261
  n$3({ type: String })
18262
18262
  ], ObcReadoutBlock.prototype, "variant", 2);
@@ -18835,7 +18835,7 @@ __decorateClass$An([
18835
18835
  ObcAutomationButtonReadoutStack = __decorateClass$An([
18836
18836
  customElement("obc-automation-button-readout-stack")
18837
18837
  ], ObcAutomationButtonReadoutStack);
18838
- const componentStyle$1x = i$7`* {
18838
+ const componentStyle$1y = i$7`* {
18839
18839
  -webkit-tap-highlight-color: transparent;
18840
18840
  }
18841
18841
 
@@ -18997,7 +18997,7 @@ let ObcCircularProgress = class extends i$4 {
18997
18997
  `;
18998
18998
  }
18999
18999
  };
19000
- ObcCircularProgress.styles = r$7(componentStyle$1x);
19000
+ ObcCircularProgress.styles = r$7(componentStyle$1y);
19001
19001
  __decorateClass$Am([
19002
19002
  n$3({ type: String })
19003
19003
  ], ObcCircularProgress.prototype, "mode", 2);
@@ -22459,7 +22459,7 @@ __decorateClass$A2([
22459
22459
  ObiEnergyBattery = __decorateClass$A2([
22460
22460
  customElement("obi-energy-battery")
22461
22461
  ], ObiEnergyBattery);
22462
- const componentStyle$1w = i$7`* {
22462
+ const componentStyle$1x = i$7`* {
22463
22463
  -webkit-tap-highlight-color: transparent;
22464
22464
  }
22465
22465
 
@@ -39397,7 +39397,7 @@ const _ObcChartLineBase = class _ObcChartLineBase extends i$4 {
39397
39397
  }
39398
39398
  };
39399
39399
  _ObcChartLineBase.styles = [
39400
- r$7(componentStyle$1w),
39400
+ r$7(componentStyle$1x),
39401
39401
  r$7(chartCommonStyle),
39402
39402
  r$7(chartLegendStyle),
39403
39403
  r$7(chartDebugStyle)
@@ -41793,7 +41793,7 @@ __decorateClass$zO([
41793
41793
  ObcBipolarTransistor = __decorateClass$zO([
41794
41794
  customElement("obc-bipolar-transistor")
41795
41795
  ], ObcBipolarTransistor);
41796
- const componentStyle$1v = i$7`* {
41796
+ const componentStyle$1w = i$7`* {
41797
41797
  -webkit-tap-highlight-color: transparent;
41798
41798
  }
41799
41799
 
@@ -41940,7 +41940,7 @@ let ObcBus = class extends i$4 {
41940
41940
  `;
41941
41941
  }
41942
41942
  };
41943
- ObcBus.styles = r$7(componentStyle$1v);
41943
+ ObcBus.styles = r$7(componentStyle$1w);
41944
41944
  __decorateClass$zN([
41945
41945
  n$3({ type: String })
41946
41946
  ], ObcBus.prototype, "label", 2);
@@ -45135,7 +45135,7 @@ __decorateClass$yY([
45135
45135
  ObiDieselGeneratorDc = __decorateClass$yY([
45136
45136
  customElement("obi-diesel-generator-dc")
45137
45137
  ], ObiDieselGeneratorDc);
45138
- const componentStyle$1u = i$7`* {
45138
+ const componentStyle$1v = i$7`* {
45139
45139
  -webkit-tap-highlight-color: transparent;
45140
45140
  }
45141
45141
 
@@ -45496,6 +45496,12 @@ svg {
45496
45496
  display: block;
45497
45497
  }
45498
45498
 
45499
+ svg.cropped {
45500
+ /* A cropped frame paints its arc outside the viewBox before \`rotation\`
45501
+ swings it into view; the host's overflow rule is what clips. */
45502
+ overflow: visible;
45503
+ }
45504
+
45499
45505
  .label {
45500
45506
  font-family: var(--global-typography-font-family);
45501
45507
  font-weight: var(--global-typography-ui-body-font-weight);
@@ -47889,6 +47895,11 @@ const environmentSvgs = {
47889
47895
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7 16.5858L12.2071 11.3787L17.4142 16.5858L16 18L12.2071 14.2071L8.41421 18L7 16.5858Z" fill="var(--instrument-regular-secondary-color)"/>
47890
47896
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7 22.5858L12.2071 17.3787L17.4142 22.5858L16 24L12.2071 20.2071L8.41421 24L7 22.5858Z" fill="var(--instrument-regular-secondary-color)"/>`
47891
47897
  };
47898
+ var ArcFrameFit = /* @__PURE__ */ ((ArcFrameFit2) => {
47899
+ ArcFrameFit2["square"] = "square";
47900
+ ArcFrameFit2["bbox"] = "bbox";
47901
+ return ArcFrameFit2;
47902
+ })(ArcFrameFit || {});
47892
47903
  function normalizeArcAngle(value, fallback) {
47893
47904
  const v2 = Number.isFinite(value) ? value : fallback;
47894
47905
  return Math.min(180, Math.max(2, v2));
@@ -47901,7 +47912,9 @@ function computeZoomToFitArcFrame(options) {
47901
47912
  extension,
47902
47913
  targetSize,
47903
47914
  margin: margin2 = 0.06,
47904
- includeBox
47915
+ includeBox,
47916
+ fit = "square"
47917
+ /* square */
47905
47918
  } = options;
47906
47919
  if (areas.length === 0) {
47907
47920
  const side2 = targetSize;
@@ -47951,13 +47964,15 @@ function computeZoomToFitArcFrame(options) {
47951
47964
  const rawW = bbox.xMax - bbox.xMin;
47952
47965
  const rawH = bbox.yMax - bbox.yMin;
47953
47966
  const side = Math.max(rawW, rawH);
47954
- const padded = side * (1 + margin2 * 2);
47967
+ const pad = side * margin2;
47955
47968
  const cx = (bbox.xMin + bbox.xMax) / 2;
47956
47969
  const cy = (bbox.yMin + bbox.yMax) / 2;
47957
- const x2 = round4(cx - padded / 2);
47958
- const y3 = round4(cy - padded / 2);
47959
- const w2 = round4(padded);
47960
- const h3 = round4(padded);
47970
+ const boxW = fit === "bbox" ? rawW + pad * 2 : side + pad * 2;
47971
+ const boxH = fit === "bbox" ? rawH + pad * 2 : side + pad * 2;
47972
+ const x2 = round4(cx - boxW / 2);
47973
+ const y3 = round4(cy - boxH / 2);
47974
+ const w2 = round4(boxW);
47975
+ const h3 = round4(boxH);
47961
47976
  return {
47962
47977
  radiusOffset,
47963
47978
  x: x2,
@@ -48275,7 +48290,9 @@ function zoomFrameAt(opts, extension) {
48275
48290
  outerRadius: OUTER_RING_RADIUS$1,
48276
48291
  innerRadius: opts.innerRadius ?? OUTER_RING_RADIUS$1,
48277
48292
  extension,
48278
- targetSize: (RADIAL_VIEWBOX_BASE + extension) * 2
48293
+ targetSize: (RADIAL_VIEWBOX_BASE + extension) * 2,
48294
+ fit: opts.zoomFit,
48295
+ includeBox: opts.zoomIncludeBox
48279
48296
  });
48280
48297
  }
48281
48298
  function pinnedZoomedScale(opts, frame) {
@@ -48889,6 +48906,8 @@ let ObcWatch = class extends i$4 {
48889
48906
  render() {
48890
48907
  let width;
48891
48908
  let height;
48909
+ let frameX;
48910
+ let frameY;
48892
48911
  let viewBox;
48893
48912
  if (this.arcFrame) {
48894
48913
  this._rOff = this.arcFrame.radiusOffset;
@@ -48896,6 +48915,8 @@ let ObcWatch = class extends i$4 {
48896
48915
  this._ownFrame = void 0;
48897
48916
  width = this.arcFrame.width;
48898
48917
  height = this.arcFrame.height;
48918
+ frameX = this.arcFrame.x;
48919
+ frameY = this.arcFrame.y;
48899
48920
  viewBox = this.arcFrame.viewBox;
48900
48921
  } else {
48901
48922
  const frame = computeRadialFrame({
@@ -48918,10 +48939,15 @@ let ObcWatch = class extends i$4 {
48918
48939
  this._ownFrame = frame;
48919
48940
  width = frame.width;
48920
48941
  height = frame.height;
48942
+ frameX = frame.x;
48943
+ frameY = frame.y;
48921
48944
  viewBox = frame.viewBox;
48922
48945
  }
48923
48946
  const rOff = this._rOff;
48924
48947
  const scale = this.getScale({ width, height });
48948
+ const pivotX = width > 0 ? -frameX / width * 100 : 50;
48949
+ const pivotY = height > 0 ? -frameY / height * 100 : 50;
48950
+ const cropped = pivotX !== 50 || pivotY !== 50;
48925
48951
  const angleSetpoint = this.renderSetpoint();
48926
48952
  const textRadius = this.tickmarksInside ? this._bandRadius(this.innerRingRadius) : this._bandRadius(OUTER_RING_RADIUS);
48927
48953
  const maxDigits = Math.max(
@@ -48986,10 +49012,11 @@ let ObcWatch = class extends i$4 {
48986
49012
  }) : A;
48987
49013
  return b`
48988
49014
  <svg
49015
+ class=${cropped ? "cropped" : A}
48989
49016
  width="100%"
48990
49017
  height="100%"
48991
49018
  viewBox=${viewBox}
48992
- style="--scale: ${scale}"
49019
+ style="--scale: ${scale}; transform-origin: ${pivotX}% ${pivotY}%"
48993
49020
  transform="rotate(${this.rotation ?? 0})"
48994
49021
  >
48995
49022
  ${this.watchCircle()} ${this.renderBars()}
@@ -49431,7 +49458,7 @@ function renderSecondaryLine(options) {
49431
49458
  ${tip}
49432
49459
  `;
49433
49460
  }
49434
- const componentStyle$1t = i$7`* {
49461
+ const componentStyle$1u = i$7`* {
49435
49462
  -webkit-tap-highlight-color: transparent;
49436
49463
  }
49437
49464
 
@@ -50217,7 +50244,7 @@ obc-readout-block {
50217
50244
  outline-offset: -1px;
50218
50245
  }
50219
50246
  `;
50220
- const componentStyle$1s = i$7`* {
50247
+ const componentStyle$1t = i$7`* {
50221
50248
  -webkit-tap-highlight-color: transparent;
50222
50249
  }
50223
50250
 
@@ -51671,7 +51698,7 @@ let ObcReadoutListItem = class extends i$4 {
51671
51698
  return wrapWithAlertFrame(alert, root, true);
51672
51699
  }
51673
51700
  };
51674
- ObcReadoutListItem.styles = r$7(componentStyle$1s);
51701
+ ObcReadoutListItem.styles = r$7(componentStyle$1t);
51675
51702
  __decorateClass$yj([
51676
51703
  n$3({ type: String })
51677
51704
  ], ObcReadoutListItem.prototype, "label", 2);
@@ -52004,7 +52031,7 @@ __decorateClass$yi([
52004
52031
  ObiArrowFlyoutGoogle = __decorateClass$yi([
52005
52032
  customElement("obi-arrow-flyout-google")
52006
52033
  ], ObiArrowFlyoutGoogle);
52007
- const componentStyle$1r = i$7`* {
52034
+ const componentStyle$1s = i$7`* {
52008
52035
  -webkit-tap-highlight-color: transparent;
52009
52036
  }
52010
52037
 
@@ -52415,7 +52442,7 @@ __decorateClass$yg([
52415
52442
  ObiCheckGoogle = __decorateClass$yg([
52416
52443
  customElement("obi-check-google")
52417
52444
  ], ObiCheckGoogle);
52418
- const componentStyle$1q = i$7`* {
52445
+ const componentStyle$1r = i$7`* {
52419
52446
  -webkit-tap-highlight-color: transparent;
52420
52447
  }
52421
52448
 
@@ -52940,7 +52967,7 @@ let ObcCheckbox = class extends i$4 {
52940
52967
  `;
52941
52968
  }
52942
52969
  };
52943
- ObcCheckbox.styles = [r$7(componentStyle$1q)];
52970
+ ObcCheckbox.styles = [r$7(componentStyle$1r)];
52944
52971
  __decorateClass$yf([
52945
52972
  n$3({ type: String })
52946
52973
  ], ObcCheckbox.prototype, "status", 2);
@@ -53145,7 +53172,7 @@ let ObcCheckboxItem = class extends i$4 {
53145
53172
  `;
53146
53173
  }
53147
53174
  };
53148
- ObcCheckboxItem.styles = r$7(componentStyle$1r);
53175
+ ObcCheckboxItem.styles = r$7(componentStyle$1s);
53149
53176
  __decorateClass$yd([
53150
53177
  n$3({ type: String })
53151
53178
  ], ObcCheckboxItem.prototype, "status", 2);
@@ -53655,7 +53682,7 @@ ol {
53655
53682
  padding: 0;
53656
53683
  }
53657
53684
  `;
53658
- const componentStyle$1p = i$7`* {
53685
+ const componentStyle$1q = i$7`* {
53659
53686
  -webkit-tap-highlight-color: transparent;
53660
53687
  }
53661
53688
 
@@ -54823,7 +54850,7 @@ let ObcTreeNavigationItem = class extends i$4 {
54823
54850
  `;
54824
54851
  }
54825
54852
  };
54826
- ObcTreeNavigationItem.styles = r$7(componentStyle$1p);
54853
+ ObcTreeNavigationItem.styles = r$7(componentStyle$1q);
54827
54854
  __decorateClass$y9([
54828
54855
  n$3({ type: String })
54829
54856
  ], ObcTreeNavigationItem.prototype, "label", 2);
@@ -57286,7 +57313,7 @@ let ObcReadout = class extends i$4 {
57286
57313
  return wrapWithAlertFrame(alert, root);
57287
57314
  }
57288
57315
  };
57289
- ObcReadout.styles = r$7(componentStyle$1t);
57316
+ ObcReadout.styles = r$7(componentStyle$1u);
57290
57317
  __decorateClass$y3([
57291
57318
  n$3({ type: String })
57292
57319
  ], ObcReadout.prototype, "label", 2);
@@ -58170,7 +58197,7 @@ let ObcGaugeProportional = class extends SetpointMixin(i$4) {
58170
58197
  `;
58171
58198
  }
58172
58199
  };
58173
- ObcGaugeProportional.styles = [r$7(componentStyle$1u), centerReadoutStyles];
58200
+ ObcGaugeProportional.styles = [r$7(componentStyle$1v), centerReadoutStyles];
58174
58201
  __decorateClass$y2([
58175
58202
  n$3({ type: Number })
58176
58203
  ], ObcGaugeProportional.prototype, "value", 2);
@@ -58629,7 +58656,7 @@ const READOUT_ANCHOR = {
58629
58656
  twoWay: 144,
58630
58657
  threeWay: 136
58631
58658
  };
58632
- const BASE_PADDING = {
58659
+ const BASE_PADDING$1 = {
58633
58660
  large: 80,
58634
58661
  compact: 9
58635
58662
  };
@@ -58787,7 +58814,7 @@ let ObcGaugeValve = class extends SetpointMixin(i$4) {
58787
58814
  }
58788
58815
  render() {
58789
58816
  const frame = computeRadialFrame({
58790
- basePadding: this.large ? BASE_PADDING.large : BASE_PADDING.compact,
58817
+ basePadding: this.large ? BASE_PADDING$1.large : BASE_PADDING$1.compact,
58791
58818
  labelWidthPx: this.large ? estimateLabelWidthPx(SCALE_LABEL_VALUES.map(String)) : 0,
58792
58819
  clips: { top: 0, bottom: 0, left: 0, right: 0 },
58793
58820
  containerPx: measureContainerPx(this),
@@ -59319,7 +59346,7 @@ __decorateClass$xS([
59319
59346
  ObiHeatexhanger = __decorateClass$xS([
59320
59347
  customElement("obi-heatexhanger")
59321
59348
  ], ObiHeatexhanger);
59322
- const componentStyle$1o = i$7`* {
59349
+ const componentStyle$1p = i$7`* {
59323
59350
  -webkit-tap-highlight-color: transparent;
59324
59351
  }
59325
59352
 
@@ -60014,7 +60041,7 @@ const _ObcAbstractSpecialtyTank = class _ObcAbstractSpecialtyTank extends i$4 {
60014
60041
  </button>`;
60015
60042
  }
60016
60043
  };
60017
- _ObcAbstractSpecialtyTank.styles = r$7(componentStyle$1o);
60044
+ _ObcAbstractSpecialtyTank.styles = r$7(componentStyle$1p);
60018
60045
  let ObcAbstractSpecialtyTank = _ObcAbstractSpecialtyTank;
60019
60046
  __decorateClass$xR([
60020
60047
  n$3({ type: String })
@@ -60304,7 +60331,7 @@ __decorateClass$xN([
60304
60331
  ObcHorizontalLine = __decorateClass$xN([
60305
60332
  customElement("obc-horizontal-line")
60306
60333
  ], ObcHorizontalLine);
60307
- const componentStyle$1n = i$7`* {
60334
+ const componentStyle$1o = i$7`* {
60308
60335
  -webkit-tap-highlight-color: transparent;
60309
60336
  }
60310
60337
 
@@ -60518,7 +60545,7 @@ button.thumb.disabled {
60518
60545
  height: 100%;
60519
60546
  }
60520
60547
  `;
60521
- const componentStyle$1m = i$7`* {
60548
+ const componentStyle$1n = i$7`* {
60522
60549
  -webkit-tap-highlight-color: transparent
60523
60550
  }
60524
60551
  .thumb {
@@ -60608,7 +60635,7 @@ let ObcHydraulicCheckValve = class extends i$4 {
60608
60635
  `;
60609
60636
  }
60610
60637
  };
60611
- ObcHydraulicCheckValve.styles = [r$7(componentStyle$1n), r$7(componentStyle$1m)];
60638
+ ObcHydraulicCheckValve.styles = [r$7(componentStyle$1o), r$7(componentStyle$1n)];
60612
60639
  __decorateClass$xL([
60613
60640
  n$3({ type: String })
60614
60641
  ], ObcHydraulicCheckValve.prototype, "ariaLabel", 2);
@@ -60830,7 +60857,7 @@ const _ObcShuffleButtonBase = class _ObcShuffleButtonBase extends i$4 {
60830
60857
  }
60831
60858
  }
60832
60859
  };
60833
- _ObcShuffleButtonBase.styles = r$7(componentStyle$1n);
60860
+ _ObcShuffleButtonBase.styles = r$7(componentStyle$1o);
60834
60861
  let ObcShuffleButtonBase = _ObcShuffleButtonBase;
60835
60862
  __decorateClass$xI([
60836
60863
  n$3({ type: Number })
@@ -61368,7 +61395,7 @@ __decorateClass$xx([
61368
61395
  ObcHydraulicValveX2 = __decorateClass$xx([
61369
61396
  customElement("obc-hydraulic-valve-x-2")
61370
61397
  ], ObcHydraulicValveX2);
61371
- const componentStyle$1l = i$7`* {
61398
+ const componentStyle$1m = i$7`* {
61372
61399
  -webkit-tap-highlight-color: transparent;
61373
61400
  }
61374
61401
 
@@ -61644,7 +61671,7 @@ let ObcIndicatorBattery = class extends i$4 {
61644
61671
  `;
61645
61672
  }
61646
61673
  };
61647
- ObcIndicatorBattery.styles = r$7(componentStyle$1l);
61674
+ ObcIndicatorBattery.styles = r$7(componentStyle$1m);
61648
61675
  __decorateClass$xw([
61649
61676
  n$3({ type: String, reflect: true })
61650
61677
  ], ObcIndicatorBattery.prototype, "direction", 2);
@@ -61666,7 +61693,7 @@ __decorateClass$xw([
61666
61693
  ObcIndicatorBattery = __decorateClass$xw([
61667
61694
  customElement("obc-indicator-battery")
61668
61695
  ], ObcIndicatorBattery);
61669
- const componentStyle$1k = i$7`* {
61696
+ const componentStyle$1l = i$7`* {
61670
61697
  -webkit-tap-highlight-color: transparent;
61671
61698
  }
61672
61699
 
@@ -61753,7 +61780,7 @@ let ObcIndicatorEngine = class extends i$4 {
61753
61780
  `;
61754
61781
  }
61755
61782
  };
61756
- ObcIndicatorEngine.styles = r$7(componentStyle$1k);
61783
+ ObcIndicatorEngine.styles = r$7(componentStyle$1l);
61757
61784
  __decorateClass$xv([
61758
61785
  n$3({ type: String, reflect: true })
61759
61786
  ], ObcIndicatorEngine.prototype, "value", 2);
@@ -61763,7 +61790,7 @@ __decorateClass$xv([
61763
61790
  ObcIndicatorEngine = __decorateClass$xv([
61764
61791
  customElement("obc-indicator-engine")
61765
61792
  ], ObcIndicatorEngine);
61766
- const componentStyle$1j = i$7`* {
61793
+ const componentStyle$1k = i$7`* {
61767
61794
  -webkit-tap-highlight-color: transparent;
61768
61795
  }
61769
61796
 
@@ -62010,7 +62037,7 @@ let ObcIndicatorGenerator = class extends i$4 {
62010
62037
  `;
62011
62038
  }
62012
62039
  };
62013
- ObcIndicatorGenerator.styles = r$7(componentStyle$1j);
62040
+ ObcIndicatorGenerator.styles = r$7(componentStyle$1k);
62014
62041
  __decorateClass$xu([
62015
62042
  n$3({ type: String, reflect: true })
62016
62043
  ], ObcIndicatorGenerator.prototype, "variant", 2);
@@ -62026,7 +62053,7 @@ __decorateClass$xu([
62026
62053
  ObcIndicatorGenerator = __decorateClass$xu([
62027
62054
  customElement("obc-indicator-generator")
62028
62055
  ], ObcIndicatorGenerator);
62029
- const componentStyle$1i = i$7`* {
62056
+ const componentStyle$1j = i$7`* {
62030
62057
  -webkit-tap-highlight-color: transparent;
62031
62058
  }
62032
62059
 
@@ -62129,7 +62156,7 @@ let ObcIndicatorTankAtmospheric = class extends i$4 {
62129
62156
  `;
62130
62157
  }
62131
62158
  };
62132
- ObcIndicatorTankAtmospheric.styles = r$7(componentStyle$1i);
62159
+ ObcIndicatorTankAtmospheric.styles = r$7(componentStyle$1j);
62133
62160
  __decorateClass$xt([
62134
62161
  n$3({ type: String, reflect: true })
62135
62162
  ], ObcIndicatorTankAtmospheric.prototype, "direction", 2);
@@ -67545,7 +67572,7 @@ __decorateClass$w3([
67545
67572
  ObcTransformer = __decorateClass$w3([
67546
67573
  customElement("obc-transformer")
67547
67574
  ], ObcTransformer);
67548
- const componentStyle$1h = i$7`* {
67575
+ const componentStyle$1i = i$7`* {
67549
67576
  -webkit-tap-highlight-color: transparent;
67550
67577
  }
67551
67578
 
@@ -67784,7 +67811,7 @@ let ObcTransmitterButton = class extends i$4 {
67784
67811
  `;
67785
67812
  }
67786
67813
  };
67787
- ObcTransmitterButton.styles = r$7(componentStyle$1h);
67814
+ ObcTransmitterButton.styles = r$7(componentStyle$1i);
67788
67815
  __decorateClass$w2([
67789
67816
  n$3({ type: String })
67790
67817
  ], ObcTransmitterButton.prototype, "variant", 2);
@@ -67836,7 +67863,7 @@ __decorateClass$w2([
67836
67863
  ObcTransmitterButton = __decorateClass$w2([
67837
67864
  customElement("obc-transmitter-button")
67838
67865
  ], ObcTransmitterButton);
67839
- const componentStyle$1g = i$7`* {
67866
+ const componentStyle$1h = i$7`* {
67840
67867
  -webkit-tap-highlight-color: transparent;
67841
67868
  }
67842
67869
 
@@ -68058,7 +68085,7 @@ let ObcTransmitterStack = class extends i$4 {
68058
68085
  `;
68059
68086
  }
68060
68087
  };
68061
- ObcTransmitterStack.styles = r$7(componentStyle$1g);
68088
+ ObcTransmitterStack.styles = r$7(componentStyle$1h);
68062
68089
  __decorateClass$w1([
68063
68090
  n$3({ type: String })
68064
68091
  ], ObcTransmitterStack.prototype, "orientation", 2);
@@ -68071,7 +68098,7 @@ __decorateClass$w1([
68071
68098
  ObcTransmitterStack = __decorateClass$w1([
68072
68099
  customElement("obc-transmitter-stack")
68073
68100
  ], ObcTransmitterStack);
68074
- const componentStyle$1f = i$7`* {
68101
+ const componentStyle$1g = i$7`* {
68075
68102
  -webkit-tap-highlight-color: transparent;
68076
68103
  }
68077
68104
 
@@ -72929,7 +72956,7 @@ let ObcTransmitter = class extends i$4 {
72929
72956
  `;
72930
72957
  }
72931
72958
  };
72932
- ObcTransmitter.styles = r$7(componentStyle$1f);
72959
+ ObcTransmitter.styles = r$7(componentStyle$1g);
72933
72960
  __decorateClass$v$([
72934
72961
  n$3({ type: String })
72935
72962
  ], ObcTransmitter.prototype, "orientation", 2);
@@ -73309,7 +73336,7 @@ __decorateClass$vY([
73309
73336
  ObcAreaGraph = __decorateClass$vY([
73310
73337
  customElement("obc-area-graph")
73311
73338
  ], ObcAreaGraph);
73312
- const componentStyle$1e = i$7`* {
73339
+ const componentStyle$1f = i$7`* {
73313
73340
  -webkit-tap-highlight-color: transparent
73314
73341
  }
73315
73342
  /* NOTE: no custom CSS for this component yet */
@@ -73844,7 +73871,7 @@ let ObcDonutChart = class extends i$4 {
73844
73871
  }
73845
73872
  };
73846
73873
  ObcDonutChart.styles = [
73847
- r$7(componentStyle$1e),
73874
+ r$7(componentStyle$1f),
73848
73875
  r$7(chartCommonStyle),
73849
73876
  r$7(chartLegendStyle),
73850
73877
  r$7(chartDebugStyle)
@@ -73940,7 +73967,7 @@ let ObcLineGraph = class extends ObcChartLineBase {
73940
73967
  ObcLineGraph = __decorateClass$vW([
73941
73968
  customElement("obc-line-graph")
73942
73969
  ], ObcLineGraph);
73943
- const componentStyle$1d = i$7`* {
73970
+ const componentStyle$1e = i$7`* {
73944
73971
  -webkit-tap-highlight-color: transparent
73945
73972
  }
73946
73973
  /* NOTE: no custom CSS for this component yet */
@@ -74474,7 +74501,7 @@ let ObcPieChart = class extends i$4 {
74474
74501
  }
74475
74502
  };
74476
74503
  ObcPieChart.styles = [
74477
- r$7(componentStyle$1d),
74504
+ r$7(componentStyle$1e),
74478
74505
  r$7(chartCommonStyle),
74479
74506
  r$7(chartLegendStyle),
74480
74507
  r$7(chartDebugStyle)
@@ -74537,7 +74564,7 @@ __decorateClass$vV([
74537
74564
  ObcPieChart = __decorateClass$vV([
74538
74565
  customElement("obc-pie-chart")
74539
74566
  ], ObcPieChart);
74540
- const componentStyle$1c = i$7`* {
74567
+ const componentStyle$1d = i$7`* {
74541
74568
  -webkit-tap-highlight-color: transparent
74542
74569
  }
74543
74570
  /* NOTE: no custom CSS for this component yet */
@@ -74992,7 +75019,7 @@ let ObcPolarChart = class extends i$4 {
74992
75019
  }
74993
75020
  };
74994
75021
  ObcPolarChart.styles = [
74995
- r$7(componentStyle$1c),
75022
+ r$7(componentStyle$1d),
74996
75023
  r$7(chartCommonStyle),
74997
75024
  r$7(chartLegendStyle),
74998
75025
  r$7(chartDebugStyle)
@@ -75051,7 +75078,7 @@ __decorateClass$vU([
75051
75078
  ObcPolarChart = __decorateClass$vU([
75052
75079
  customElement("obc-polar-chart")
75053
75080
  ], ObcPolarChart);
75054
- const componentStyle$1b = i$7`* {
75081
+ const componentStyle$1c = i$7`* {
75055
75082
  -webkit-tap-highlight-color: transparent
75056
75083
  }
75057
75084
  /* NOTE: no custom CSS for this component yet */
@@ -75410,7 +75437,7 @@ let ObcRadialBarChart = class extends i$4 {
75410
75437
  }
75411
75438
  };
75412
75439
  ObcRadialBarChart.styles = [
75413
- r$7(componentStyle$1b),
75440
+ r$7(componentStyle$1c),
75414
75441
  r$7(chartCommonStyle),
75415
75442
  r$7(chartLegendStyle),
75416
75443
  r$7(chartDebugStyle)
@@ -77840,7 +77867,7 @@ __decorateClass$vN([
77840
77867
  ObcAccordionCard = __decorateClass$vN([
77841
77868
  customElement("obc-accordion-card")
77842
77869
  ], ObcAccordionCard);
77843
- const componentStyle$1a = i$7`* {
77870
+ const componentStyle$1b = i$7`* {
77844
77871
  -webkit-tap-highlight-color: transparent;
77845
77872
  }
77846
77873
 
@@ -78130,7 +78157,7 @@ let ObcAccordionItem = class extends i$4 {
78130
78157
  `;
78131
78158
  }
78132
78159
  };
78133
- ObcAccordionItem.styles = r$7(componentStyle$1a);
78160
+ ObcAccordionItem.styles = r$7(componentStyle$1b);
78134
78161
  __decorateClass$vM([
78135
78162
  n$3({ type: String })
78136
78163
  ], ObcAccordionItem.prototype, "title", 2);
@@ -78146,7 +78173,7 @@ __decorateClass$vM([
78146
78173
  ObcAccordionItem = __decorateClass$vM([
78147
78174
  customElement("obc-accordion-item")
78148
78175
  ], ObcAccordionItem);
78149
- const componentStyle$19 = i$7`* {
78176
+ const componentStyle$1a = i$7`* {
78150
78177
  -webkit-tap-highlight-color: transparent;
78151
78178
  }
78152
78179
 
@@ -78492,7 +78519,7 @@ let ObcAdviceButton = class extends i$4 {
78492
78519
  this.dispatchEvent(event);
78493
78520
  }
78494
78521
  };
78495
- ObcAdviceButton.styles = r$7(componentStyle$19);
78522
+ ObcAdviceButton.styles = r$7(componentStyle$1a);
78496
78523
  __decorateClass$vL([
78497
78524
  n$3({ type: String })
78498
78525
  ], ObcAdviceButton.prototype, "buttonStyle", 2);
@@ -78511,14 +78538,14 @@ __decorateClass$vL([
78511
78538
  ObcAdviceButton = __decorateClass$vL([
78512
78539
  customElement("obc-advice-button")
78513
78540
  ], ObcAdviceButton);
78514
- const componentStyle$18 = i$7`* {
78541
+ const componentStyle$19 = i$7`* {
78515
78542
  -webkit-tap-highlight-color: transparent;
78516
78543
  }
78517
78544
  :host {
78518
78545
  display: block;
78519
78546
  }
78520
78547
  `;
78521
- const componentStyle$17 = i$7`* {
78548
+ const componentStyle$18 = i$7`* {
78522
78549
  -webkit-tap-highlight-color: transparent;
78523
78550
  }
78524
78551
 
@@ -78950,7 +78977,7 @@ let ObcFloatingItem = class extends i$4 {
78950
78977
  `;
78951
78978
  }
78952
78979
  };
78953
- ObcFloatingItem.styles = r$7(componentStyle$17);
78980
+ ObcFloatingItem.styles = r$7(componentStyle$18);
78954
78981
  __decorateClass$vK([
78955
78982
  n$3({ type: String })
78956
78983
  ], ObcFloatingItem.prototype, "type", 2);
@@ -79039,7 +79066,7 @@ let ObcAdviceFloatingItem = class extends i$4 {
79039
79066
  `;
79040
79067
  }
79041
79068
  };
79042
- ObcAdviceFloatingItem.styles = r$7(componentStyle$18);
79069
+ ObcAdviceFloatingItem.styles = r$7(componentStyle$19);
79043
79070
  __decorateClass$vJ([
79044
79071
  n$3({ type: String })
79045
79072
  ], ObcAdviceFloatingItem.prototype, "type", 2);
@@ -79782,7 +79809,7 @@ __decorateClass$vG([
79782
79809
  ObcAdviceMenuItem = __decorateClass$vG([
79783
79810
  customElement("obc-advice-menu-item")
79784
79811
  ], ObcAdviceMenuItem);
79785
- const componentStyle$16 = i$7`* {
79812
+ const componentStyle$17 = i$7`* {
79786
79813
  -webkit-tap-highlight-color: transparent;
79787
79814
  }
79788
79815
  obi-notification-advice-active {
@@ -80471,7 +80498,7 @@ let ObcAdviceMessageItem = class extends i$4 {
80471
80498
  `;
80472
80499
  }
80473
80500
  };
80474
- ObcAdviceMessageItem.styles = r$7(componentStyle$16);
80501
+ ObcAdviceMessageItem.styles = r$7(componentStyle$17);
80475
80502
  __decorateClass$vE([
80476
80503
  n$3({ type: String })
80477
80504
  ], ObcAdviceMessageItem.prototype, "title", 2);
@@ -80514,7 +80541,7 @@ __decorateClass$vE([
80514
80541
  ObcAdviceMessageItem = __decorateClass$vE([
80515
80542
  customElement("obc-advice-message-item")
80516
80543
  ], ObcAdviceMessageItem);
80517
- const componentStyle$15 = i$7`* {
80544
+ const componentStyle$16 = i$7`* {
80518
80545
  -webkit-tap-highlight-color: transparent;
80519
80546
  }
80520
80547
 
@@ -82461,7 +82488,7 @@ const u = (e2, s2, t2) => {
82461
82488
  return this.ut = a2, p(s2, v$12), E;
82462
82489
  }
82463
82490
  });
82464
- const componentStyle$14 = i$7`* {
82491
+ const componentStyle$15 = i$7`* {
82465
82492
  -webkit-tap-highlight-color: transparent;
82466
82493
  }
82467
82494
 
@@ -82542,7 +82569,7 @@ let ObcAlertCounterItem = class extends i$4 {
82542
82569
  `;
82543
82570
  }
82544
82571
  };
82545
- ObcAlertCounterItem.styles = r$7(componentStyle$14);
82572
+ ObcAlertCounterItem.styles = r$7(componentStyle$15);
82546
82573
  __decorateClass$vw([
82547
82574
  n$3({ type: String })
82548
82575
  ], ObcAlertCounterItem.prototype, "type", 2);
@@ -82706,7 +82733,7 @@ let ObcAlertButtonItem = class extends i$4 {
82706
82733
  `;
82707
82734
  }
82708
82735
  };
82709
- ObcAlertButtonItem.styles = r$7(componentStyle$15);
82736
+ ObcAlertButtonItem.styles = r$7(componentStyle$16);
82710
82737
  __decorateClass$vv([
82711
82738
  n$3({ type: String })
82712
82739
  ], ObcAlertButtonItem.prototype, "type", 2);
@@ -83118,7 +83145,7 @@ ObcAlertButton = __decorateClass$vs([
83118
83145
  customElement("obc-alert-button"),
83119
83146
  localized()
83120
83147
  ], ObcAlertButton);
83121
- const componentStyle$13 = i$7`* {
83148
+ const componentStyle$14 = i$7`* {
83122
83149
  -webkit-tap-highlight-color: transparent;
83123
83150
  }
83124
83151
  :host {
@@ -83189,7 +83216,7 @@ let ObcAlertFloatingItem = class extends i$4 {
83189
83216
  `;
83190
83217
  }
83191
83218
  };
83192
- ObcAlertFloatingItem.styles = r$7(componentStyle$13);
83219
+ ObcAlertFloatingItem.styles = r$7(componentStyle$14);
83193
83220
  __decorateClass$vr([
83194
83221
  n$3({ type: String })
83195
83222
  ], ObcAlertFloatingItem.prototype, "type", 2);
@@ -85562,7 +85589,7 @@ __decorateClass$v8([
85562
85589
  ObcTableHeaderItem = __decorateClass$v8([
85563
85590
  customElement("obc-table-header-item")
85564
85591
  ], ObcTableHeaderItem);
85565
- const componentStyle$12 = i$7`* {
85592
+ const componentStyle$13 = i$7`* {
85566
85593
  -webkit-tap-highlight-color: transparent;
85567
85594
  }
85568
85595
 
@@ -85809,7 +85836,7 @@ let ObcTag = class extends i$4 {
85809
85836
  `;
85810
85837
  }
85811
85838
  };
85812
- ObcTag.styles = r$7(componentStyle$12);
85839
+ ObcTag.styles = r$7(componentStyle$13);
85813
85840
  __decorateClass$v7([
85814
85841
  n$3({ type: String })
85815
85842
  ], ObcTag.prototype, "label", 2);
@@ -88414,7 +88441,7 @@ ObcAlertMenu = __decorateClass$v0([
88414
88441
  localized(),
88415
88442
  customElement("obc-alert-menu")
88416
88443
  ], ObcAlertMenu);
88417
- const componentStyle$11 = i$7`* {
88444
+ const componentStyle$12 = i$7`* {
88418
88445
  -webkit-tap-highlight-color: transparent;
88419
88446
  }
88420
88447
 
@@ -88567,7 +88594,7 @@ let ObcAlertSubsystemCounter = class extends i$4 {
88567
88594
  `;
88568
88595
  }
88569
88596
  };
88570
- ObcAlertSubsystemCounter.styles = r$7(componentStyle$11);
88597
+ ObcAlertSubsystemCounter.styles = r$7(componentStyle$12);
88571
88598
  __decorateClass$u$([
88572
88599
  n$3({ type: String })
88573
88600
  ], ObcAlertSubsystemCounter.prototype, "label", 2);
@@ -89084,7 +89111,7 @@ const compentStyle$O = i$7`* {
89084
89111
  justify-items: center;
89085
89112
  }
89086
89113
  `;
89087
- const componentStyle$10 = i$7`* {
89114
+ const componentStyle$11 = i$7`* {
89088
89115
  -webkit-tap-highlight-color: transparent;
89089
89116
  }
89090
89117
 
@@ -89911,7 +89938,7 @@ let ObcTextInputField = class extends i$4 {
89911
89938
  `;
89912
89939
  }
89913
89940
  };
89914
- ObcTextInputField.styles = r$7(componentStyle$10);
89941
+ ObcTextInputField.styles = r$7(componentStyle$11);
89915
89942
  __decorateClass$uX([
89916
89943
  n$3({ type: String })
89917
89944
  ], ObcTextInputField.prototype, "value", 2);
@@ -90043,7 +90070,7 @@ ObcAppMenu.styles = r$7(compentStyle$O);
90043
90070
  ObcAppMenu = __decorateClass$uW([
90044
90071
  customElement("obc-app-menu")
90045
90072
  ], ObcAppMenu);
90046
- const componentStyle$$ = i$7`* {
90073
+ const componentStyle$10 = i$7`* {
90047
90074
  -webkit-tap-highlight-color: transparent;
90048
90075
  }
90049
90076
 
@@ -90398,7 +90425,7 @@ let ObcAttachmentListItem = class extends i$4 {
90398
90425
  `;
90399
90426
  }
90400
90427
  };
90401
- ObcAttachmentListItem.styles = r$7(componentStyle$$);
90428
+ ObcAttachmentListItem.styles = r$7(componentStyle$10);
90402
90429
  __decorateClass$uV([
90403
90430
  n$3({ type: String })
90404
90431
  ], ObcAttachmentListItem.prototype, "label", 2);
@@ -90513,7 +90540,7 @@ __decorateClass$uU([
90513
90540
  ObcAudioOutput = __decorateClass$uU([
90514
90541
  customElement("obc-audio-output")
90515
90542
  ], ObcAudioOutput);
90516
- const componentStyle$_ = i$7`* {
90543
+ const componentStyle$$ = i$7`* {
90517
90544
  -webkit-tap-highlight-color: transparent;
90518
90545
  }
90519
90546
 
@@ -90627,7 +90654,7 @@ const componentStyle$_ = i$7`* {
90627
90654
  min-width: 0;
90628
90655
  }
90629
90656
  `;
90630
- const componentStyle$Z = i$7`* {
90657
+ const componentStyle$_ = i$7`* {
90631
90658
  -webkit-tap-highlight-color: transparent;
90632
90659
  }
90633
90660
 
@@ -91248,7 +91275,7 @@ let ObcSlider = class extends i$4 {
91248
91275
  `;
91249
91276
  }
91250
91277
  };
91251
- ObcSlider.styles = r$7(componentStyle$Z);
91278
+ ObcSlider.styles = r$7(componentStyle$_);
91252
91279
  __decorateClass$uT([
91253
91280
  n$3({ type: Number })
91254
91281
  ], ObcSlider.prototype, "value", 2);
@@ -91549,7 +91576,7 @@ let ObcAudioRecordingItem = class extends i$4 {
91549
91576
  `;
91550
91577
  }
91551
91578
  };
91552
- ObcAudioRecordingItem.styles = r$7(componentStyle$_);
91579
+ ObcAudioRecordingItem.styles = r$7(componentStyle$$);
91553
91580
  __decorateClass$uQ([
91554
91581
  n$3({ type: Array })
91555
91582
  ], ObcAudioRecordingItem.prototype, "audioLevels", 2);
@@ -91948,7 +91975,7 @@ __decorateClass$uO([
91948
91975
  ObcBreadcrumb = __decorateClass$uO([
91949
91976
  customElement("obc-breadcrumb")
91950
91977
  ], ObcBreadcrumb);
91951
- const componentStyle$Y = i$7`* {
91978
+ const componentStyle$Z = i$7`* {
91952
91979
  -webkit-tap-highlight-color: transparent;
91953
91980
  }
91954
91981
 
@@ -92122,7 +92149,7 @@ const componentStyle$Y = i$7`* {
92122
92149
  width: auto;
92123
92150
  }
92124
92151
  `;
92125
- const componentStyle$X = i$7`* {
92152
+ const componentStyle$Y = i$7`* {
92126
92153
  -webkit-tap-highlight-color: transparent;
92127
92154
  }
92128
92155
 
@@ -92550,7 +92577,7 @@ let ObcToggleSwitch = class extends i$4 {
92550
92577
  `;
92551
92578
  }
92552
92579
  };
92553
- ObcToggleSwitch.styles = r$7(componentStyle$X);
92580
+ ObcToggleSwitch.styles = r$7(componentStyle$Y);
92554
92581
  __decorateClass$uN([
92555
92582
  n$3({ type: String })
92556
92583
  ], ObcToggleSwitch.prototype, "label", 2);
@@ -92578,7 +92605,7 @@ __decorateClass$uN([
92578
92605
  ObcToggleSwitch = __decorateClass$uN([
92579
92606
  customElement("obc-toggle-switch")
92580
92607
  ], ObcToggleSwitch);
92581
- const componentStyle$W = i$7`* {
92608
+ const componentStyle$X = i$7`* {
92582
92609
  -webkit-tap-highlight-color: transparent;
92583
92610
  }
92584
92611
 
@@ -93167,7 +93194,7 @@ let ObcToggleButtonOption = class extends i$4 {
93167
93194
  `;
93168
93195
  }
93169
93196
  };
93170
- ObcToggleButtonOption.styles = r$7(componentStyle$W);
93197
+ ObcToggleButtonOption.styles = r$7(componentStyle$X);
93171
93198
  __decorateClass$uM([
93172
93199
  n$3({ type: String })
93173
93200
  ], ObcToggleButtonOption.prototype, "value", 2);
@@ -93198,7 +93225,7 @@ __decorateClass$uM([
93198
93225
  ObcToggleButtonOption = __decorateClass$uM([
93199
93226
  customElement("obc-toggle-button-option")
93200
93227
  ], ObcToggleButtonOption);
93201
- const componentStyle$V = i$7`* {
93228
+ const componentStyle$W = i$7`* {
93202
93229
  -webkit-tap-highlight-color: transparent;
93203
93230
  }
93204
93231
 
@@ -93535,7 +93562,7 @@ let ObcToggleButtonGroup = class extends i$4 {
93535
93562
  `;
93536
93563
  }
93537
93564
  };
93538
- ObcToggleButtonGroup.styles = r$7(componentStyle$V);
93565
+ ObcToggleButtonGroup.styles = r$7(componentStyle$W);
93539
93566
  __decorateClass$uL([
93540
93567
  n$3({ type: String })
93541
93568
  ], ObcToggleButtonGroup.prototype, "value", 2);
@@ -95192,7 +95219,7 @@ let ObcBrillianceMenu = class extends i$4 {
95192
95219
  this.dispatchEvent(new CustomEvent("screen-control-link-clicked"));
95193
95220
  }
95194
95221
  };
95195
- ObcBrillianceMenu.styles = r$7(componentStyle$Y);
95222
+ ObcBrillianceMenu.styles = r$7(componentStyle$Z);
95196
95223
  __decorateClass$uz([
95197
95224
  n$3({ type: String })
95198
95225
  ], ObcBrillianceMenu.prototype, "palette", 2);
@@ -95248,7 +95275,7 @@ ObcBrillianceMenu = __decorateClass$uz([
95248
95275
  localized(),
95249
95276
  customElement("obc-brilliance-menu")
95250
95277
  ], ObcBrillianceMenu);
95251
- const componentStyle$U = i$7`* {
95278
+ const componentStyle$V = i$7`* {
95252
95279
  -webkit-tap-highlight-color: transparent;
95253
95280
  }
95254
95281
 
@@ -95470,7 +95497,7 @@ const componentStyle$U = i$7`* {
95470
95497
  flex-shrink: 0;
95471
95498
  }
95472
95499
  `;
95473
- const componentStyle$T = i$7`* {
95500
+ const componentStyle$U = i$7`* {
95474
95501
  -webkit-tap-highlight-color: transparent;
95475
95502
  }
95476
95503
 
@@ -95822,7 +95849,7 @@ let ObcEventItem = class extends i$4 {
95822
95849
  `;
95823
95850
  }
95824
95851
  };
95825
- ObcEventItem.styles = r$7(componentStyle$T);
95852
+ ObcEventItem.styles = r$7(componentStyle$U);
95826
95853
  __decorateClass$uy([
95827
95854
  n$3({ type: String })
95828
95855
  ], ObcEventItem.prototype, "title", 2);
@@ -95946,7 +95973,7 @@ function getMonthGrid(year, month, firstDayOfWeek = 1, events, today) {
95946
95973
  }
95947
95974
  return grid2;
95948
95975
  }
95949
- const componentStyle$S = i$7`* {
95976
+ const componentStyle$T = i$7`* {
95950
95977
  -webkit-tap-highlight-color: transparent;
95951
95978
  }
95952
95979
 
@@ -96761,7 +96788,7 @@ let ObcDateItem = class extends i$4 {
96761
96788
  };
96762
96789
  ObcDateItem._HEADER_HEIGHT = 48;
96763
96790
  ObcDateItem._EVENT_HEIGHT = 48;
96764
- ObcDateItem.styles = r$7(componentStyle$S);
96791
+ ObcDateItem.styles = r$7(componentStyle$T);
96765
96792
  __decorateClass$ux([
96766
96793
  n$3({ type: String })
96767
96794
  ], ObcDateItem.prototype, "size", 2);
@@ -96795,7 +96822,7 @@ __decorateClass$ux([
96795
96822
  ObcDateItem = __decorateClass$ux([
96796
96823
  customElement("obc-date-item")
96797
96824
  ], ObcDateItem);
96798
- const componentStyle$R = i$7`* {
96825
+ const componentStyle$S = i$7`* {
96799
96826
  -webkit-tap-highlight-color: transparent;
96800
96827
  }
96801
96828
 
@@ -96988,7 +97015,7 @@ let ObcEventList = class extends i$4 {
96988
97015
  `;
96989
97016
  }
96990
97017
  };
96991
- ObcEventList.styles = r$7(componentStyle$R);
97018
+ ObcEventList.styles = r$7(componentStyle$S);
96992
97019
  __decorateClass$uw([
96993
97020
  n$3({ type: Boolean, attribute: false })
96994
97021
  ], ObcEventList.prototype, "showHeader", 2);
@@ -98213,7 +98240,7 @@ let ObcCalendar = class extends i$4 {
98213
98240
  `;
98214
98241
  }
98215
98242
  };
98216
- ObcCalendar.styles = r$7(componentStyle$U);
98243
+ ObcCalendar.styles = r$7(componentStyle$V);
98217
98244
  __decorateClass$up([
98218
98245
  n$3({ type: String })
98219
98246
  ], ObcCalendar.prototype, "type", 2);
@@ -99621,7 +99648,7 @@ __decorateClass$uk([
99621
99648
  ObcCheckButton = __decorateClass$uk([
99622
99649
  customElement("obc-check-button")
99623
99650
  ], ObcCheckButton);
99624
- const componentStyle$Q = i$7`* {
99651
+ const componentStyle$R = i$7`* {
99625
99652
  -webkit-tap-highlight-color: transparent;
99626
99653
  }
99627
99654
 
@@ -99711,7 +99738,7 @@ let ObcCheckboxList = class extends i$4 {
99711
99738
  </div>`;
99712
99739
  }
99713
99740
  };
99714
- ObcCheckboxList.styles = r$7(componentStyle$Q);
99741
+ ObcCheckboxList.styles = r$7(componentStyle$R);
99715
99742
  __decorateClass$uj([
99716
99743
  n$3({ type: String })
99717
99744
  ], ObcCheckboxList.prototype, "hoverStyle", 2);
@@ -100651,7 +100678,7 @@ const compentStyle$D = i$7`* {
100651
100678
  "ss04" on;
100652
100679
  }
100653
100680
  `;
100654
- const componentStyle$P = i$7`* {
100681
+ const componentStyle$Q = i$7`* {
100655
100682
  -webkit-tap-highlight-color: transparent;
100656
100683
  }
100657
100684
 
@@ -101378,7 +101405,7 @@ let ObcStartStopSwitch = class extends i$4 {
101378
101405
  `;
101379
101406
  }
101380
101407
  };
101381
- ObcStartStopSwitch.styles = r$7(componentStyle$P);
101408
+ ObcStartStopSwitch.styles = r$7(componentStyle$Q);
101382
101409
  __decorateClass$ue([
101383
101410
  n$3({ type: Boolean, reflect: true })
101384
101411
  ], ObcStartStopSwitch.prototype, "checked", 2);
@@ -103505,7 +103532,7 @@ __decorateClass$u7([
103505
103532
  ObcFilterChip = __decorateClass$u7([
103506
103533
  customElement("obc-filter-chip")
103507
103534
  ], ObcFilterChip);
103508
- const componentStyle$O = i$7`* {
103535
+ const componentStyle$P = i$7`* {
103509
103536
  -webkit-tap-highlight-color: transparent;
103510
103537
  }
103511
103538
 
@@ -103705,7 +103732,7 @@ let ObcFormContainer = class extends i$4 {
103705
103732
  `;
103706
103733
  }
103707
103734
  };
103708
- ObcFormContainer.styles = r$7(componentStyle$O);
103735
+ ObcFormContainer.styles = r$7(componentStyle$P);
103709
103736
  __decorateClass$u6([
103710
103737
  n$3({ type: String })
103711
103738
  ], ObcFormContainer.prototype, "type", 2);
@@ -103715,7 +103742,7 @@ __decorateClass$u6([
103715
103742
  ObcFormContainer = __decorateClass$u6([
103716
103743
  customElement("obc-form-container")
103717
103744
  ], ObcFormContainer);
103718
- const componentStyle$N = i$7`* {
103745
+ const componentStyle$O = i$7`* {
103719
103746
  -webkit-tap-highlight-color: transparent;
103720
103747
  }
103721
103748
 
@@ -103819,14 +103846,14 @@ let ObcFormFooterContainer = class extends i$4 {
103819
103846
  `;
103820
103847
  }
103821
103848
  };
103822
- ObcFormFooterContainer.styles = r$7(componentStyle$N);
103849
+ ObcFormFooterContainer.styles = r$7(componentStyle$O);
103823
103850
  __decorateClass$u5([
103824
103851
  n$3({ type: Boolean, attribute: "has-actions" })
103825
103852
  ], ObcFormFooterContainer.prototype, "hasActions", 2);
103826
103853
  ObcFormFooterContainer = __decorateClass$u5([
103827
103854
  customElement("obc-form-footer-container")
103828
103855
  ], ObcFormFooterContainer);
103829
- const componentStyle$M = i$7`* {
103856
+ const componentStyle$N = i$7`* {
103830
103857
  -webkit-tap-highlight-color: transparent;
103831
103858
  }
103832
103859
 
@@ -104046,14 +104073,14 @@ let ObcFormGroup = class extends i$4 {
104046
104073
  `;
104047
104074
  }
104048
104075
  };
104049
- ObcFormGroup.styles = r$7(componentStyle$M);
104076
+ ObcFormGroup.styles = r$7(componentStyle$N);
104050
104077
  __decorateClass$u4([
104051
104078
  n$3({ type: String })
104052
104079
  ], ObcFormGroup.prototype, "type", 2);
104053
104080
  ObcFormGroup = __decorateClass$u4([
104054
104081
  customElement("obc-form-group")
104055
104082
  ], ObcFormGroup);
104056
- const componentStyle$L = i$7`* {
104083
+ const componentStyle$M = i$7`* {
104057
104084
  -webkit-tap-highlight-color: transparent;
104058
104085
  }
104059
104086
 
@@ -104449,7 +104476,7 @@ let ObcFormItem = class extends i$4 {
104449
104476
  `;
104450
104477
  }
104451
104478
  };
104452
- ObcFormItem.styles = r$7(componentStyle$L);
104479
+ ObcFormItem.styles = r$7(componentStyle$M);
104453
104480
  __decorateClass$u3([
104454
104481
  n$3({ type: String })
104455
104482
  ], ObcFormItem.prototype, "type", 2);
@@ -105064,7 +105091,7 @@ __decorateClass$u1([
105064
105091
  ObcInputChip = __decorateClass$u1([
105065
105092
  customElement("obc-input-chip")
105066
105093
  ], ObcInputChip);
105067
- const componentStyle$K = i$7`* {
105094
+ const componentStyle$L = i$7`* {
105068
105095
  -webkit-tap-highlight-color: transparent;
105069
105096
  }
105070
105097
 
@@ -105904,7 +105931,7 @@ let ObcKeyboardFull = class extends i$4 {
105904
105931
  `;
105905
105932
  }
105906
105933
  };
105907
- ObcKeyboardFull.styles = r$7(componentStyle$K);
105934
+ ObcKeyboardFull.styles = r$7(componentStyle$L);
105908
105935
  __decorateClass$t_([
105909
105936
  n$3({ type: String })
105910
105937
  ], ObcKeyboardFull.prototype, "type", 2);
@@ -105941,7 +105968,7 @@ __decorateClass$t_([
105941
105968
  ObcKeyboardFull = __decorateClass$t_([
105942
105969
  customElement("obc-keyboard-full")
105943
105970
  ], ObcKeyboardFull);
105944
- const componentStyle$J = i$7`* {
105971
+ const componentStyle$K = i$7`* {
105945
105972
  -webkit-tap-highlight-color: transparent;
105946
105973
  }
105947
105974
 
@@ -105950,7 +105977,6 @@ const componentStyle$J = i$7`* {
105950
105977
  width: fit-content;
105951
105978
  height: fit-content;
105952
105979
  min-width: var(--ui-components-keyboard-numeric-component-width-min);
105953
- min-height: var(--ui-components-keyboard-numeric-component-height-min);
105954
105980
  flex-direction: column;
105955
105981
  align-items: flex-start;
105956
105982
  border-radius: var(--ui-components-keyboard-numeric-border-radius);
@@ -106074,7 +106100,7 @@ obc-icon-button.calculation-button::part(visible-wrapper) {
106074
106100
 
106075
106101
  .key-button {
106076
106102
  flex: 1 0 0;
106077
- min-width: var(--ui-components-keyboard-numeric-touch-target-size);
106103
+ min-width: var(--ui-components-keyboard-numeric-button-size-min);
106078
106104
  min-height: var(--ui-components-keyboard-numeric-button-size-min);
106079
106105
  height: var(--ui-components-keyboard-numeric-button-size-min);
106080
106106
  }
@@ -106083,7 +106109,7 @@ obc-button.key-button::part(visible-wrapper) {
106083
106109
  box-sizing: border-box;
106084
106110
  display: flex;
106085
106111
  flex: 1 0 0;
106086
- min-width: var(--ui-components-keyboard-numeric-touch-target-size);
106112
+ min-width: var(--ui-components-keyboard-numeric-button-size-min);
106087
106113
  min-height: var(--ui-components-keyboard-numeric-button-size-min);
106088
106114
  height: 100%;
106089
106115
  align-items: center;
@@ -106318,7 +106344,7 @@ __decorateClass$tW([
106318
106344
  ObiEqual = __decorateClass$tW([
106319
106345
  customElement("obi-equal")
106320
106346
  ], ObiEqual);
106321
- const componentStyle$I = i$7`* {
106347
+ const componentStyle$J = i$7`* {
106322
106348
  -webkit-tap-highlight-color: transparent;
106323
106349
  }
106324
106350
 
@@ -107234,7 +107260,7 @@ let ObcNumberInputField = class extends i$4 {
107234
107260
  `;
107235
107261
  }
107236
107262
  };
107237
- ObcNumberInputField.styles = r$7(componentStyle$I);
107263
+ ObcNumberInputField.styles = r$7(componentStyle$J);
107238
107264
  __decorateClass$tV([
107239
107265
  n$3({ type: Number })
107240
107266
  ], ObcNumberInputField.prototype, "value", 2);
@@ -107679,7 +107705,7 @@ let ObcKeyboardNumeric = class extends i$4 {
107679
107705
  `;
107680
107706
  }
107681
107707
  };
107682
- ObcKeyboardNumeric.styles = r$7(componentStyle$J);
107708
+ ObcKeyboardNumeric.styles = r$7(componentStyle$K);
107683
107709
  __decorateClass$tU([
107684
107710
  n$3({ type: String })
107685
107711
  ], ObcKeyboardNumeric.prototype, "type", 2);
@@ -108172,7 +108198,7 @@ __decorateClass$tT([
108172
108198
  ObcMenuButton = __decorateClass$tT([
108173
108199
  customElement("obc-menu-button")
108174
108200
  ], ObcMenuButton);
108175
- const componentStyle$H = i$7`* {
108201
+ const componentStyle$I = i$7`* {
108176
108202
  -webkit-tap-highlight-color: transparent;
108177
108203
  }
108178
108204
 
@@ -108439,7 +108465,7 @@ let ObcModalWindow = class extends i$4 {
108439
108465
  `;
108440
108466
  }
108441
108467
  };
108442
- ObcModalWindow.styles = r$7(componentStyle$H);
108468
+ ObcModalWindow.styles = r$7(componentStyle$I);
108443
108469
  __decorateClass$tS([
108444
108470
  n$3({ type: String })
108445
108471
  ], ObcModalWindow.prototype, "size", 2);
@@ -108458,7 +108484,7 @@ __decorateClass$tS([
108458
108484
  ObcModalWindow = __decorateClass$tS([
108459
108485
  customElement("obc-modal-window")
108460
108486
  ], ObcModalWindow);
108461
- const componentStyle$G = i$7`* {
108487
+ const componentStyle$H = i$7`* {
108462
108488
  -webkit-tap-highlight-color: transparent;
108463
108489
  }
108464
108490
 
@@ -108647,7 +108673,7 @@ let ObcNotificationBadgeButton = class extends i$4 {
108647
108673
  `;
108648
108674
  }
108649
108675
  };
108650
- ObcNotificationBadgeButton.styles = r$7(componentStyle$G);
108676
+ ObcNotificationBadgeButton.styles = r$7(componentStyle$H);
108651
108677
  __decorateClass$tR([
108652
108678
  n$3({ type: Boolean })
108653
108679
  ], ObcNotificationBadgeButton.prototype, "openRight", 2);
@@ -108672,7 +108698,7 @@ __decorateClass$tR([
108672
108698
  ObcNotificationBadgeButton = __decorateClass$tR([
108673
108699
  customElement("obc-notification-badge-button")
108674
108700
  ], ObcNotificationBadgeButton);
108675
- const componentStyle$F = i$7`* {
108701
+ const componentStyle$G = i$7`* {
108676
108702
  -webkit-tap-highlight-color: transparent;
108677
108703
  }
108678
108704
 
@@ -109155,7 +109181,7 @@ let ObcNotificationButton = class extends i$4 {
109155
109181
  this.dispatchEvent(event);
109156
109182
  }
109157
109183
  };
109158
- ObcNotificationButton.styles = r$7(componentStyle$F);
109184
+ ObcNotificationButton.styles = r$7(componentStyle$G);
109159
109185
  __decorateClass$tP([
109160
109186
  n$3({ type: String })
109161
109187
  ], ObcNotificationButton.prototype, "buttonStyle", 2);
@@ -109174,7 +109200,7 @@ __decorateClass$tP([
109174
109200
  ObcNotificationButton = __decorateClass$tP([
109175
109201
  customElement("obc-notification-button")
109176
109202
  ], ObcNotificationButton);
109177
- const componentStyle$E = i$7`* {
109203
+ const componentStyle$F = i$7`* {
109178
109204
  -webkit-tap-highlight-color: transparent
109179
109205
  }`;
109180
109206
  var __defProp$tM = Object.defineProperty;
@@ -109241,7 +109267,7 @@ let ObcNotificationFloatingItem = class extends i$4 {
109241
109267
  `;
109242
109268
  }
109243
109269
  };
109244
- ObcNotificationFloatingItem.styles = r$7(componentStyle$E);
109270
+ ObcNotificationFloatingItem.styles = r$7(componentStyle$F);
109245
109271
  __decorateClass$tO([
109246
109272
  n$3({ type: String })
109247
109273
  ], ObcNotificationFloatingItem.prototype, "type", 2);
@@ -109361,7 +109387,7 @@ __decorateClass$tN([
109361
109387
  ObcNotificationMenuItem = __decorateClass$tN([
109362
109388
  customElement("obc-notification-menu-item")
109363
109389
  ], ObcNotificationMenuItem);
109364
- const componentStyle$D = i$7`* {
109390
+ const componentStyle$E = i$7`* {
109365
109391
  -webkit-tap-highlight-color: transparent;
109366
109392
  }
109367
109393
  obi-notification-filled {
@@ -109459,7 +109485,7 @@ let ObcNotificationMessageItem = class extends i$4 {
109459
109485
  `;
109460
109486
  }
109461
109487
  };
109462
- ObcNotificationMessageItem.styles = r$7(componentStyle$D);
109488
+ ObcNotificationMessageItem.styles = r$7(componentStyle$E);
109463
109489
  __decorateClass$tM([
109464
109490
  n$3({ type: String })
109465
109491
  ], ObcNotificationMessageItem.prototype, "title", 2);
@@ -109853,7 +109879,7 @@ __decorateClass$tJ([
109853
109879
  ObcPagination = __decorateClass$tJ([
109854
109880
  customElement("obc-pagination")
109855
109881
  ], ObcPagination);
109856
- const componentStyle$C = i$7`* {
109882
+ const componentStyle$D = i$7`* {
109857
109883
  -webkit-tap-highlight-color: transparent;
109858
109884
  }
109859
109885
 
@@ -110328,7 +110354,7 @@ let ObcPivotItemGroup = class extends i$4 {
110328
110354
  `;
110329
110355
  }
110330
110356
  };
110331
- ObcPivotItemGroup.styles = r$7(componentStyle$C);
110357
+ ObcPivotItemGroup.styles = r$7(componentStyle$D);
110332
110358
  __decorateClass$tH([
110333
110359
  n$3({ type: String })
110334
110360
  ], ObcPivotItemGroup.prototype, "direction", 2);
@@ -110341,7 +110367,7 @@ __decorateClass$tH([
110341
110367
  ObcPivotItemGroup = __decorateClass$tH([
110342
110368
  customElement("obc-pivot-item-group")
110343
110369
  ], ObcPivotItemGroup);
110344
- const componentStyle$B = i$7`* {
110370
+ const componentStyle$C = i$7`* {
110345
110371
  -webkit-tap-highlight-color: transparent;
110346
110372
  }
110347
110373
 
@@ -110721,7 +110747,7 @@ let ObcProgressBar = class extends i$4 {
110721
110747
  }
110722
110748
  }
110723
110749
  };
110724
- ObcProgressBar.styles = r$7(componentStyle$B);
110750
+ ObcProgressBar.styles = r$7(componentStyle$C);
110725
110751
  __decorateClass$tG([
110726
110752
  n$3({ type: String })
110727
110753
  ], ObcProgressBar.prototype, "type", 2);
@@ -110761,7 +110787,7 @@ __decorateClass$tG([
110761
110787
  ObcProgressBar = __decorateClass$tG([
110762
110788
  customElement("obc-progress-bar")
110763
110789
  ], ObcProgressBar);
110764
- const componentStyle$A = i$7`* {
110790
+ const componentStyle$B = i$7`* {
110765
110791
  -webkit-tap-highlight-color: transparent;
110766
110792
  }
110767
110793
 
@@ -111486,7 +111512,7 @@ let ObcProgressButton = class extends i$4 {
111486
111512
  this.dispatchEvent(event);
111487
111513
  }
111488
111514
  };
111489
- ObcProgressButton.styles = r$7(componentStyle$A);
111515
+ ObcProgressButton.styles = r$7(componentStyle$B);
111490
111516
  __decorateClass$tF([
111491
111517
  n$3({ type: String })
111492
111518
  ], ObcProgressButton.prototype, "type", 2);
@@ -111832,7 +111858,7 @@ __decorateClass$tE([
111832
111858
  ObcRichButton = __decorateClass$tE([
111833
111859
  customElement("obc-rich-button")
111834
111860
  ], ObcRichButton);
111835
- const componentStyle$z = i$7`* {
111861
+ const componentStyle$A = i$7`* {
111836
111862
  -webkit-tap-highlight-color: transparent;
111837
111863
  }
111838
111864
  .sequence-card {
@@ -112939,7 +112965,7 @@ button {
112939
112965
  border-color: var(--normal-hover-border-color, currentColor);
112940
112966
  }
112941
112967
  `;
112942
- const componentStyle$y = i$7`* {
112968
+ const componentStyle$z = i$7`* {
112943
112969
  -webkit-tap-highlight-color: transparent;
112944
112970
  }
112945
112971
 
@@ -113302,7 +113328,7 @@ let ObcSequenceLoadingSpinner = class extends i$4 {
113302
113328
  `;
113303
113329
  }
113304
113330
  };
113305
- ObcSequenceLoadingSpinner.styles = r$7(componentStyle$y);
113331
+ ObcSequenceLoadingSpinner.styles = r$7(componentStyle$z);
113306
113332
  __decorateClass$tD([
113307
113333
  n$3({ type: String })
113308
113334
  ], ObcSequenceLoadingSpinner.prototype, "type", 2);
@@ -113945,7 +113971,7 @@ let ObcSequenceCard = class extends i$4 {
113945
113971
  `;
113946
113972
  }
113947
113973
  };
113948
- ObcSequenceCard.styles = r$7(componentStyle$z);
113974
+ ObcSequenceCard.styles = r$7(componentStyle$A);
113949
113975
  __decorateClass$tB([
113950
113976
  n$3({ type: String })
113951
113977
  ], ObcSequenceCard.prototype, "size", 2);
@@ -114012,7 +114038,7 @@ __decorateClass$tB([
114012
114038
  ObcSequenceCard = __decorateClass$tB([
114013
114039
  customElement("obc-sequence-card")
114014
114040
  ], ObcSequenceCard);
114015
- const componentStyle$x = i$7`* {
114041
+ const componentStyle$y = i$7`* {
114016
114042
  -webkit-tap-highlight-color: transparent;
114017
114043
  }
114018
114044
  .sequence-connector .line {
@@ -114164,7 +114190,7 @@ let ObcSequenceConnector = class extends i$4 {
114164
114190
  `;
114165
114191
  }
114166
114192
  };
114167
- ObcSequenceConnector.styles = r$7(componentStyle$x);
114193
+ ObcSequenceConnector.styles = r$7(componentStyle$y);
114168
114194
  __decorateClass$tA([
114169
114195
  n$3({ type: String })
114170
114196
  ], ObcSequenceConnector.prototype, "type", 2);
@@ -114685,7 +114711,7 @@ __decorateClass$tz([
114685
114711
  ObcSequenceItem = __decorateClass$tz([
114686
114712
  customElement("obc-sequence-item")
114687
114713
  ], ObcSequenceItem);
114688
- const componentStyle$w = i$7`* {
114714
+ const componentStyle$x = i$7`* {
114689
114715
  -webkit-tap-highlight-color: transparent;
114690
114716
  }
114691
114717
 
@@ -114813,7 +114839,7 @@ let ObcSequenceModal = class extends i$4 {
114813
114839
  `;
114814
114840
  }
114815
114841
  };
114816
- ObcSequenceModal.styles = r$7(componentStyle$w);
114842
+ ObcSequenceModal.styles = r$7(componentStyle$x);
114817
114843
  __decorateClass$ty([
114818
114844
  n$3({ type: String })
114819
114845
  ], ObcSequenceModal.prototype, "type", 2);
@@ -115097,7 +115123,7 @@ __decorateClass$tx([
115097
115123
  ObcSequenceToolbar = __decorateClass$tx([
115098
115124
  customElement("obc-sequence-toolbar")
115099
115125
  ], ObcSequenceToolbar);
115100
- const componentStyle$v = i$7`* {
115126
+ const componentStyle$w = i$7`* {
115101
115127
  -webkit-tap-highlight-color: transparent;
115102
115128
  }
115103
115129
 
@@ -115545,7 +115571,7 @@ let ObcSlideButton = class extends i$4 {
115545
115571
  `;
115546
115572
  }
115547
115573
  };
115548
- ObcSlideButton.styles = r$7(componentStyle$v);
115574
+ ObcSlideButton.styles = r$7(componentStyle$w);
115549
115575
  __decorateClass$tw([
115550
115576
  n$3({ type: Boolean })
115551
115577
  ], ObcSlideButton.prototype, "disabled", 2);
@@ -115573,7 +115599,7 @@ __decorateClass$tw([
115573
115599
  ObcSlideButton = __decorateClass$tw([
115574
115600
  customElement("obc-slide-button")
115575
115601
  ], ObcSlideButton);
115576
- const componentStyle$u = i$7`* {
115602
+ const componentStyle$v = i$7`* {
115577
115603
  -webkit-tap-highlight-color: transparent;
115578
115604
  }
115579
115605
 
@@ -116264,7 +116290,7 @@ let ObcSliderDouble = class extends i$4 {
116264
116290
  `;
116265
116291
  }
116266
116292
  };
116267
- ObcSliderDouble.styles = r$7(componentStyle$u);
116293
+ ObcSliderDouble.styles = r$7(componentStyle$v);
116268
116294
  __decorateClass$tv([
116269
116295
  n$3({ type: Number })
116270
116296
  ], ObcSliderDouble.prototype, "low", 2);
@@ -120443,7 +120469,7 @@ __decorateClass$ta([
120443
120469
  ObcTabRow = __decorateClass$ta([
120444
120470
  customElement("obc-tab-row")
120445
120471
  ], ObcTabRow);
120446
- const componentStyle$t = i$7`* {
120472
+ const componentStyle$u = i$7`* {
120447
120473
  -webkit-tap-highlight-color: transparent;
120448
120474
  }
120449
120475
 
@@ -121537,7 +121563,7 @@ let ObcTextareaField = class extends i$4 {
121537
121563
  `;
121538
121564
  }
121539
121565
  };
121540
- ObcTextareaField.styles = r$7(componentStyle$t);
121566
+ ObcTextareaField.styles = r$7(componentStyle$u);
121541
121567
  __decorateClass$t5([
121542
121568
  n$3({ type: String })
121543
121569
  ], ObcTextareaField.prototype, "type", 2);
@@ -121629,7 +121655,7 @@ ObcTextareaField = __decorateClass$t5([
121629
121655
  customElement("obc-textarea-field"),
121630
121656
  localized()
121631
121657
  ], ObcTextareaField);
121632
- const componentStyle$s = i$7`* {
121658
+ const componentStyle$t = i$7`* {
121633
121659
  -webkit-tap-highlight-color: transparent;
121634
121660
  }
121635
121661
 
@@ -121835,7 +121861,7 @@ let ObcTitleContainer = class extends i$4 {
121835
121861
  `;
121836
121862
  }
121837
121863
  };
121838
- ObcTitleContainer.styles = r$7(componentStyle$s);
121864
+ ObcTitleContainer.styles = r$7(componentStyle$t);
121839
121865
  __decorateClass$t4([
121840
121866
  n$3({ type: String })
121841
121867
  ], ObcTitleContainer.prototype, "state", 2);
@@ -121848,7 +121874,7 @@ __decorateClass$t4([
121848
121874
  ObcTitleContainer = __decorateClass$t4([
121849
121875
  customElement("obc-title-container")
121850
121876
  ], ObcTitleContainer);
121851
- const componentStyle$r = i$7`* {
121877
+ const componentStyle$s = i$7`* {
121852
121878
  -webkit-tap-highlight-color: transparent;
121853
121879
  }
121854
121880
 
@@ -121989,7 +122015,7 @@ let ObcToggleButtonThreeState = class extends i$4 {
121989
122015
  `;
121990
122016
  }
121991
122017
  };
121992
- ObcToggleButtonThreeState.styles = r$7(componentStyle$r);
122018
+ ObcToggleButtonThreeState.styles = r$7(componentStyle$s);
121993
122019
  __decorateClass$t3([
121994
122020
  n$3({ type: String })
121995
122021
  ], ObcToggleButtonThreeState.prototype, "state", 2);
@@ -123378,7 +123404,7 @@ __decorateClass$t0([
123378
123404
  ObcToggletip = __decorateClass$t0([
123379
123405
  customElement("obc-toggletip")
123380
123406
  ], ObcToggletip);
123381
- const componentStyle$q = i$7`* {
123407
+ const componentStyle$r = i$7`* {
123382
123408
  -webkit-tap-highlight-color: transparent;
123383
123409
  }
123384
123410
 
@@ -123609,7 +123635,7 @@ let ObcTooltip = class extends i$4 {
123609
123635
  `;
123610
123636
  }
123611
123637
  };
123612
- ObcTooltip.styles = r$7(componentStyle$q);
123638
+ ObcTooltip.styles = r$7(componentStyle$r);
123613
123639
  __decorateClass$s$([
123614
123640
  n$3({ type: String })
123615
123641
  ], ObcTooltip.prototype, "type", 2);
@@ -124297,7 +124323,7 @@ __decorateClass$sW([
124297
124323
  ObcTopBar = __decorateClass$sW([
124298
124324
  customElement("obc-top-bar")
124299
124325
  ], ObcTopBar);
124300
- const componentStyle$p = i$7`* {
124326
+ const componentStyle$q = i$7`* {
124301
124327
  -webkit-tap-highlight-color: transparent;
124302
124328
  }
124303
124329
 
@@ -124374,7 +124400,7 @@ let ObcTreeNavigationGroup = class extends i$4 {
124374
124400
  `;
124375
124401
  }
124376
124402
  };
124377
- ObcTreeNavigationGroup.styles = r$7(componentStyle$p);
124403
+ ObcTreeNavigationGroup.styles = r$7(componentStyle$q);
124378
124404
  __decorateClass$sV([
124379
124405
  n$3({ type: String })
124380
124406
  ], ObcTreeNavigationGroup.prototype, "label", 2);
@@ -124408,7 +124434,7 @@ __decorateClass$sV([
124408
124434
  ObcTreeNavigationGroup = __decorateClass$sV([
124409
124435
  customElement("obc-tree-navigation-group")
124410
124436
  ], ObcTreeNavigationGroup);
124411
- const componentStyle$o = i$7`* {
124437
+ const componentStyle$p = i$7`* {
124412
124438
  -webkit-tap-highlight-color: transparent;
124413
124439
  }
124414
124440
 
@@ -124526,11 +124552,11 @@ let ObcTreeNavigation = class extends i$4 {
124526
124552
  </div>`;
124527
124553
  }
124528
124554
  };
124529
- ObcTreeNavigation.styles = r$7(componentStyle$o);
124555
+ ObcTreeNavigation.styles = r$7(componentStyle$p);
124530
124556
  ObcTreeNavigation = __decorateClass$sU([
124531
124557
  customElement("obc-tree-navigation")
124532
124558
  ], ObcTreeNavigation);
124533
- const componentStyle$n = i$7`* {
124559
+ const componentStyle$o = i$7`* {
124534
124560
  -webkit-tap-highlight-color: transparent;
124535
124561
  }
124536
124562
 
@@ -125284,7 +125310,7 @@ let ObcUserMenu = class extends i$4 {
125284
125310
  `;
125285
125311
  }
125286
125312
  };
125287
- ObcUserMenu.styles = r$7(componentStyle$n);
125313
+ ObcUserMenu.styles = r$7(componentStyle$o);
125288
125314
  __decorateClass$sS([
125289
125315
  n$3({ type: String })
125290
125316
  ], ObcUserMenu.prototype, "type", 2);
@@ -222517,7 +222543,7 @@ __decorateClass$Z([
222517
222543
  ObcIntegrationFleetButton = __decorateClass$Z([
222518
222544
  customElement("obc-integration-fleet-button")
222519
222545
  ], ObcIntegrationFleetButton);
222520
- const componentStyle$m = i$7`* {
222546
+ const componentStyle$n = i$7`* {
222521
222547
  -webkit-tap-highlight-color: transparent;
222522
222548
  }
222523
222549
 
@@ -222685,7 +222711,7 @@ let ObcIntegrationVesselMenu = class extends i$4 {
222685
222711
  `;
222686
222712
  }
222687
222713
  };
222688
- ObcIntegrationVesselMenu.styles = r$7(componentStyle$m);
222714
+ ObcIntegrationVesselMenu.styles = r$7(componentStyle$n);
222689
222715
  __decorateClass$Y([
222690
222716
  n$3({ type: Boolean, attribute: false })
222691
222717
  ], ObcIntegrationVesselMenu.prototype, "hasActions", 2);
@@ -224027,7 +224053,7 @@ function thrusterColors(options, state, priority) {
224027
224053
  arrowColor: arrowColor2
224028
224054
  };
224029
224055
  }
224030
- const componentStyle$l = i$7`* {
224056
+ const componentStyle$m = i$7`* {
224031
224057
  -webkit-tap-highlight-color: transparent;
224032
224058
  }
224033
224059
 
@@ -224289,7 +224315,7 @@ let ObcAzimuthThruster = class extends i$4 {
224289
224315
  this._thrustSp.dispose();
224290
224316
  }
224291
224317
  };
224292
- ObcAzimuthThruster.styles = r$7(componentStyle$l);
224318
+ ObcAzimuthThruster.styles = r$7(componentStyle$m);
224293
224319
  __decorateClass$U([
224294
224320
  n$3({ type: Number })
224295
224321
  ], ObcAzimuthThruster.prototype, "angle", 2);
@@ -224722,7 +224748,7 @@ __decorateClass$S([
224722
224748
  ObcBearingIndicator = __decorateClass$S([
224723
224749
  customElement("obc-bearing-indicator")
224724
224750
  ], ObcBearingIndicator);
224725
- const componentStyle$k = i$7`* {
224751
+ const componentStyle$l = i$7`* {
224726
224752
  -webkit-tap-highlight-color: transparent;
224727
224753
  }
224728
224754
 
@@ -225568,7 +225594,7 @@ ObcCompassFlat.READOUT_RESERVE_PX = 56;
225568
225594
  ObcCompassFlat.styles = [
225569
225595
  r$7(instrumentReadoutStyle),
225570
225596
  centerReadoutStyles,
225571
- r$7(componentStyle$k)
225597
+ r$7(componentStyle$l)
225572
225598
  ];
225573
225599
  __decorateClass$Q([
225574
225600
  n$3({ type: Boolean })
@@ -225642,7 +225668,7 @@ __decorateClass$Q([
225642
225668
  ObcCompassFlat = __decorateClass$Q([
225643
225669
  customElement("obc-compass-flat")
225644
225670
  ], ObcCompassFlat);
225645
- const componentStyle$j = i$7`* {
225671
+ const componentStyle$k = i$7`* {
225646
225672
  -webkit-tap-highlight-color: transparent;
225647
225673
  }
225648
225674
  svg {
@@ -225959,7 +225985,7 @@ let ObcCompassIndicator = class extends i$4 {
225959
225985
  );
225960
225986
  }
225961
225987
  };
225962
- ObcCompassIndicator.styles = r$7(componentStyle$j);
225988
+ ObcCompassIndicator.styles = r$7(componentStyle$k);
225963
225989
  __decorateClass$P([
225964
225990
  n$3({ type: Number })
225965
225991
  ], ObcCompassIndicator.prototype, "angle", 2);
@@ -225975,7 +226001,7 @@ __decorateClass$P([
225975
226001
  ObcCompassIndicator = __decorateClass$P([
225976
226002
  customElement("obc-compass-indicator")
225977
226003
  ], ObcCompassIndicator);
225978
- const componentStyle$i = i$7`* {
226004
+ const componentStyle$j = i$7`* {
225979
226005
  -webkit-tap-highlight-color: transparent;
225980
226006
  }
225981
226007
 
@@ -225997,6 +226023,13 @@ const componentStyle$i = i$7`* {
225997
226023
  height: 100%;
225998
226024
  }
225999
226025
 
226026
+ .container > svg {
226027
+ /* The arc is drawn where it points and rotated into the window, so it paints
226028
+ outside the cropped viewBox; \`transform-origin\` (set inline) keeps that
226029
+ rotation on the compass centre. */
226030
+ overflow: visible;
226031
+ }
226032
+
226000
226033
  .container > .readout {
226001
226034
  left: 50%;
226002
226035
  width: auto;
@@ -226006,17 +226039,19 @@ const componentStyle$i = i$7`* {
226006
226039
 
226007
226040
  :host {
226008
226041
  display: block;
226009
- width: 100%;
226010
- height: 100%;
226011
- /* Clips the rotated overlay <svg transform="rotate(...)">, whose corners
226012
- swing outside the host and leak arc pixels in wide layouts (same
226013
- protection obc-watch has had since #994). Known trade-off: the HDG/COG
226014
- arrow apexes previously painted 1-2px past the host's top edge and are
226015
- now shaved flat at the box edge — imperceptible at normal viewing.
226016
- TODO(designer): if the shave is unwanted, the frame needs headroom so
226017
- the arrow tips fit inside the box — see "Host clipping & the arrow-apex
226018
- shave" in docs/agents/watch-radial-instruments.md before changing
226019
- (interacts with the #1021/#1049 label-reserve geometry). */
226042
+ /* The element is the cropped canvas, not a square holding one, so the
226043
+ aspect comes from the frame each render — the crop and the label reserve
226044
+ both move it. 448 / 217 is the default crop's box (448 wide × 448·(1 −
226045
+ 51.5%) tall); keep in sync with \`SECTOR_CLIP_BOTTOM\` in
226046
+ compass-sector.ts. */
226047
+ width: auto;
226048
+ height: auto;
226049
+ max-width: 100%;
226050
+ max-height: 100%;
226051
+ aspect-ratio: var(--obc-compass-sector-aspect, 448 / 217);
226052
+
226053
+ /* Both layers paint past their viewBox so the rotation can carry the arc in;
226054
+ this is the edge that bounds the component. */
226020
226055
  overflow: hidden;
226021
226056
  }
226022
226057
  `;
@@ -226195,7 +226230,12 @@ var __decorateClass$O = (decorators, target, key, kind) => {
226195
226230
  if (kind && result) __defProp$O(target, key, result);
226196
226231
  return result;
226197
226232
  };
226198
- const PADDING = 72;
226233
+ const BASE_PADDING = 48;
226234
+ const SECTOR_CLIP_BOTTOM = 51.5;
226235
+ const SECTOR_CLIP_BOTTOM_ROT = 50.4;
226236
+ const SECTOR_CLIP_BOTTOM_INSIDE_LABELS = 47.3;
226237
+ const SECTOR_CLIP_BOTTOM_READOUT = 44;
226238
+ const SECTOR_SIDE_MARGIN = 0;
226199
226239
  const WATCH_TYPE = WatchCircleType.triple;
226200
226240
  const INNER_RADIUS = innerRingRadiusFor(WATCH_TYPE);
226201
226241
  const ARC_HALF_EXTENT = 60;
@@ -226251,11 +226291,16 @@ let ObcCompassSector = class extends i$4 {
226251
226291
  this._halfFOV = 30;
226252
226292
  this._arcHalfExtent = ARC_HALF_EXTENT;
226253
226293
  this._scale = 1;
226254
- this._radiusOffset = 0;
226255
- this._cachedViewBox = "";
226256
226294
  this._cachedAreas = [];
226257
226295
  this._cachedTickmarks = [];
226258
226296
  this._cachedAdvices = [];
226297
+ this._resizeController = new h(this, {});
226298
+ this._aspectWidth = 448;
226299
+ this._aspectHeight = 217.28;
226300
+ }
226301
+ firstUpdated(changed) {
226302
+ super.firstUpdated(changed);
226303
+ observeInnerBox(this._resizeController, this.renderRoot);
226259
226304
  }
226260
226305
  willUpdate(changed) {
226261
226306
  super.willUpdate(changed);
@@ -226301,13 +226346,19 @@ let ObcCompassSector = class extends i$4 {
226301
226346
  roundOutsideCut: true
226302
226347
  }
226303
226348
  ];
226304
- this._computeViewBox();
226305
226349
  this._cachedTickmarks = this._buildTickmarks();
226306
226350
  }
226307
226351
  if (arcInputsChanged || changed.has("headingAdvices")) {
226308
226352
  this._cachedAdvices = this._buildAdvices();
226309
226353
  }
226310
226354
  }
226355
+ updated(changed) {
226356
+ super.updated(changed);
226357
+ this.style.setProperty(
226358
+ "--obc-compass-sector-aspect",
226359
+ `${this._aspectWidth} / ${this._aspectHeight}`
226360
+ );
226361
+ }
226311
226362
  disconnectedCallback() {
226312
226363
  super.disconnectedCallback();
226313
226364
  this._headingSp.dispose();
@@ -226361,25 +226412,45 @@ let ObcCompassSector = class extends i$4 {
226361
226412
  // ---------------------------------------------------------------------------
226362
226413
  // ViewBox
226363
226414
  // ---------------------------------------------------------------------------
226364
- _computeViewBox() {
226365
- if (this.zoomToFitArc) {
226366
- const targetSize = (176 + PADDING) * 2;
226367
- const frame = computeZoomToFitArcFrame({
226368
- areas: this._cachedAreas,
226369
- outerRadius: OUTER_RING_RADIUS,
226370
- innerRadius: INNER_RADIUS,
226371
- extension: PADDING,
226372
- targetSize
226373
- });
226374
- this._radiusOffset = frame.radiusOffset;
226375
- this._cachedViewBox = frame.viewBox;
226376
- this._cachedArcFrame = frame;
226377
- } else {
226378
- this._radiusOffset = 0;
226379
- const width = (176 + PADDING) * 2;
226380
- this._cachedViewBox = `-${width / 2} -${width / 2} ${width} ${width}`;
226381
- this._cachedArcFrame = void 0;
226415
+ /** Deepest crop the active features need, so none of them is shaved. */
226416
+ _clipBottom() {
226417
+ const clips = [SECTOR_CLIP_BOTTOM];
226418
+ if (this.rotType !== void 0 && this.rotPosition === RotPosition.innerCircle) {
226419
+ clips.push(SECTOR_CLIP_BOTTOM_ROT);
226382
226420
  }
226421
+ if (this.tickmarksInside) {
226422
+ clips.push(SECTOR_CLIP_BOTTOM_INSIDE_LABELS);
226423
+ }
226424
+ if (this.hasReadout) {
226425
+ clips.push(SECTOR_CLIP_BOTTOM_READOUT);
226426
+ }
226427
+ return Math.min(...clips);
226428
+ }
226429
+ /**
226430
+ * One frame per render, feeding both layers: the shared sector box cropped
226431
+ * to the arc. Zoom enlarges the arc rather than the window, so the window
226432
+ * only slides outward by the radius offset and the canvas holds still.
226433
+ */
226434
+ _buildFrame() {
226435
+ const frame = computeRadialFrame({
226436
+ basePadding: BASE_PADDING,
226437
+ labelWidthPx: this.tickmarksInside ? 0 : estimateLabelWidthPx(this._cachedTickmarks.map((t2) => t2.text)),
226438
+ clips: { top: 0, bottom: this._clipBottom(), left: 0, right: 0 },
226439
+ containerPx: measureContainerPx(this)
226440
+ });
226441
+ if (!this.zoomToFitArc) {
226442
+ return frame;
226443
+ }
226444
+ const halfWidth = frame.width / 2 - SECTOR_SIDE_MARGIN;
226445
+ const sin = Math.sin(degToRad(this._arcHalfExtent));
226446
+ const radiusOffset = Math.max(0, halfWidth / sin - OUTER_RING_RADIUS);
226447
+ const y3 = frame.y - radiusOffset;
226448
+ return {
226449
+ ...frame,
226450
+ y: y3,
226451
+ radiusOffset,
226452
+ viewBox: `${frame.x} ${y3} ${frame.width} ${frame.height}`
226453
+ };
226383
226454
  }
226384
226455
  // ---------------------------------------------------------------------------
226385
226456
  // North arrow — rendered in overlay at mapped 0° position
@@ -226432,38 +226503,32 @@ let ObcCompassSector = class extends i$4 {
226432
226503
  return selected.includes(element) ? this.priority : Priority.regular;
226433
226504
  }
226434
226505
  /**
226435
- * Vertical placement of the readout as a percentage of the host height.
226436
- *
226437
- * With `zoomToFitArc` the arc is reframed by `computeZoomToFitArcFrame`, whose
226438
- * `radiusOffset`/`viewBox` depend on the arc's *absolute* orientation (which
226439
- * cardinal axes its bounding box crosses), not just its bend. The arc itself
226440
- * is always rotated back to the top, so it stays put on screen — but a
226441
- * frame-derived offset would swing wildly as `heading` rotates the bbox around
226442
- * the circle. So in zoom we use a fixed offset, which keeps the readout steady
226443
- * under the (stationary) arc regardless of heading.
226506
+ * Vertical placement of the readout as a percentage of the frame height.
226444
226507
  *
226445
- * Without zoom the viewBox is the fixed, origin-symmetric 120° framing, so the
226446
- * geometry is orientation-independent: place the readout halfway down the inner
226447
- * radius from the watch center toward the arc's inner edge.
226508
+ * The anchor sits halfway down the inner radius, below the arc's inner edge.
226509
+ * Zoom pushes that edge out by the radius offset, so the anchor follows it
226510
+ * and the gap under the arc reads the same in both modes.
226448
226511
  */
226449
- get _readoutTopPercent() {
226450
- if (this.zoomToFitArc) {
226451
- return 70;
226452
- }
226453
- const [, vy, , vh] = this._cachedViewBox.split(" ").map(Number);
226454
- if (!vh || Number.isNaN(vy)) {
226512
+ _readoutTopPercent(frame) {
226513
+ if (!frame.height) {
226455
226514
  return 50;
226456
226515
  }
226457
- const anchorY = -INNER_RADIUS * 0.5;
226458
- return Math.round((anchorY - vy) / vh * 1e3) / 10;
226516
+ const anchorY = -INNER_RADIUS * 0.5 - frame.radiusOffset;
226517
+ return Math.round((anchorY - frame.y) / frame.height * 1e3) / 10;
226459
226518
  }
226460
226519
  // ---------------------------------------------------------------------------
226461
226520
  // Render
226462
226521
  // ---------------------------------------------------------------------------
226463
226522
  render() {
226464
226523
  const rotation = -this.heading;
226465
- const viewBox = this._cachedViewBox;
226466
- const rOff = this._radiusOffset;
226524
+ const frame = this._buildFrame();
226525
+ const viewBox = frame.viewBox;
226526
+ const rOff = frame.radiusOffset;
226527
+ const pivotX = -frame.x / frame.width * 100;
226528
+ const pivotY = -frame.y / frame.height * 100;
226529
+ this._aspectWidth = frame.width;
226530
+ this._aspectHeight = frame.height;
226531
+ const tickmarks = frame.labelsHidden ? this._cachedTickmarks.map((t2) => ({ ...t2, text: void 0 })) : this._cachedTickmarks;
226467
226532
  const mappedCOG = this._mapAngle(this.courseOverGround);
226468
226533
  const mappedSetpoint = this.headingSetpoint != null ? this._mapAngle(this.headingSetpoint) : void 0;
226469
226534
  const mappedNewSetpoint = this.newHeadingSetpoint != null ? this._mapAngle(this.newHeadingSetpoint) : void 0;
@@ -226471,17 +226536,15 @@ let ObcCompassSector = class extends i$4 {
226471
226536
  <div class="container">
226472
226537
  <obc-watch
226473
226538
  .touching=${this.touching}
226474
- .padding=${PADDING}
226475
226539
  .advices=${this._cachedAdvices}
226476
- .tickmarks=${this._cachedTickmarks}
226540
+ .tickmarks=${tickmarks}
226477
226541
  .tickmarkStyle=${TickmarkStyle$1.regular}
226478
226542
  .tickmarksInside=${this.tickmarksInside}
226479
226543
  .state=${this.state}
226480
226544
  .watchCircleType=${WATCH_TYPE}
226481
226545
  .northArrow=${false}
226482
226546
  .areas=${this._cachedAreas}
226483
- .arcFrame=${this._cachedArcFrame}
226484
- .zoomToFitArc=${this.zoomToFitArc}
226547
+ .arcFrame=${frame}
226485
226548
  .tickFadeAngle=${this._arcHalfExtent * 0.2}
226486
226549
  .rotation=${rotation}
226487
226550
  .angleSetpoint=${mappedSetpoint}
@@ -226506,7 +226569,11 @@ let ObcCompassSector = class extends i$4 {
226506
226569
  .rotationsPerMinute=${this.rotationsPerMinute}
226507
226570
  >
226508
226571
  </obc-watch>
226509
- <svg viewBox="${viewBox}" transform="rotate(${rotation})">
226572
+ <svg
226573
+ viewBox="${viewBox}"
226574
+ transform="rotate(${rotation})"
226575
+ style="transform-origin: ${pivotX}% ${pivotY}%"
226576
+ >
226510
226577
  <g transform="rotate(${this.heading})">
226511
226578
  <line
226512
226579
  x1="0"
@@ -226540,7 +226607,7 @@ let ObcCompassSector = class extends i$4 {
226540
226607
  </svg>
226541
226608
  ${this.hasReadout ? b`<div
226542
226609
  class="readout"
226543
- style="top: ${this._readoutTopPercent}%"
226610
+ style="top: ${this._readoutTopPercent(frame)}%"
226544
226611
  >
226545
226612
  ${renderCenterReadouts([
226546
226613
  {
@@ -226565,7 +226632,7 @@ let ObcCompassSector = class extends i$4 {
226565
226632
  ObcCompassSector.styles = [
226566
226633
  r$7(instrumentReadoutStyle),
226567
226634
  centerReadoutStyles,
226568
- r$7(componentStyle$i)
226635
+ r$7(componentStyle$j)
226569
226636
  ];
226570
226637
  __decorateClass$O([
226571
226638
  n$3({ type: Number })
@@ -227662,7 +227729,7 @@ __decorateClass$L([
227662
227729
  ObcDepthActual = __decorateClass$L([
227663
227730
  customElement("obc-depth-actual")
227664
227731
  ], ObcDepthActual);
227665
- const componentStyle$h = i$7`* {
227732
+ const componentStyle$i = i$7`* {
227666
227733
  -webkit-tap-highlight-color: transparent;
227667
227734
  }
227668
227735
 
@@ -227829,7 +227896,7 @@ let ObcDepthIndicator = class extends i$4 {
227829
227896
  `;
227830
227897
  }
227831
227898
  };
227832
- ObcDepthIndicator.styles = r$7(componentStyle$h);
227899
+ ObcDepthIndicator.styles = r$7(componentStyle$i);
227833
227900
  __decorateClass$K([
227834
227901
  n$3({ type: String })
227835
227902
  ], ObcDepthIndicator.prototype, "variant", 2);
@@ -227839,7 +227906,7 @@ __decorateClass$K([
227839
227906
  ObcDepthIndicator = __decorateClass$K([
227840
227907
  customElement("obc-depth-indicator")
227841
227908
  ], ObcDepthIndicator);
227842
- const componentStyle$g = i$7`* {
227909
+ const componentStyle$h = i$7`* {
227843
227910
  -webkit-tap-highlight-color: transparent;
227844
227911
  }
227845
227912
 
@@ -227867,7 +227934,7 @@ const componentStyle$g = i$7`* {
227867
227934
  height: 100%;
227868
227935
  }
227869
227936
  `;
227870
- const componentStyle$f = i$7`* {
227937
+ const componentStyle$g = i$7`* {
227871
227938
  -webkit-tap-highlight-color: transparent;
227872
227939
  }
227873
227940
 
@@ -228027,7 +228094,7 @@ let ObcDepthTopBand = class extends i$4 {
228027
228094
  `;
228028
228095
  }
228029
228096
  };
228030
- ObcDepthTopBand.styles = r$7(componentStyle$f);
228097
+ ObcDepthTopBand.styles = r$7(componentStyle$g);
228031
228098
  __decorateClass$J([
228032
228099
  n$3({ type: String })
228033
228100
  ], ObcDepthTopBand.prototype, "type", 2);
@@ -228353,7 +228420,7 @@ let ObcDepth = class extends i$4 {
228353
228420
  `;
228354
228421
  }
228355
228422
  };
228356
- ObcDepth.styles = r$7(componentStyle$g);
228423
+ ObcDepth.styles = r$7(componentStyle$h);
228357
228424
  __decorateClass$I([
228358
228425
  n$3({ type: String })
228359
228426
  ], ObcDepth.prototype, "type", 2);
@@ -228576,7 +228643,7 @@ __decorateClass$H([
228576
228643
  ObcDraftTrim = __decorateClass$H([
228577
228644
  customElement("obc-draft-trim")
228578
228645
  ], ObcDraftTrim);
228579
- const componentStyle$e = i$7`* {
228646
+ const componentStyle$f = i$7`* {
228580
228647
  -webkit-tap-highlight-color: transparent;
228581
228648
  }
228582
228649
 
@@ -228799,7 +228866,7 @@ let ObcGaugeBarIndicator = class extends i$4 {
228799
228866
  `;
228800
228867
  }
228801
228868
  };
228802
- ObcGaugeBarIndicator.styles = r$7(componentStyle$e);
228869
+ ObcGaugeBarIndicator.styles = r$7(componentStyle$f);
228803
228870
  __decorateClass$G([
228804
228871
  n$3({ type: Number })
228805
228872
  ], ObcGaugeBarIndicator.prototype, "value", 2);
@@ -229070,7 +229137,7 @@ __decorateClass$F([
229070
229137
  ObcGaugeHorizontal = __decorateClass$F([
229071
229138
  customElement("obc-gauge-horizontal")
229072
229139
  ], ObcGaugeHorizontal);
229073
- const componentStyle$d = i$7`* {
229140
+ const componentStyle$e = i$7`* {
229074
229141
  -webkit-tap-highlight-color: transparent;
229075
229142
  }
229076
229143
 
@@ -229746,7 +229813,7 @@ let ObcGaugeRadialIndicator = class extends i$4 {
229746
229813
  `;
229747
229814
  }
229748
229815
  };
229749
- ObcGaugeRadialIndicator.styles = r$7(componentStyle$d);
229816
+ ObcGaugeRadialIndicator.styles = r$7(componentStyle$e);
229750
229817
  __decorateClass$E([
229751
229818
  n$3({ type: Number })
229752
229819
  ], ObcGaugeRadialIndicator.prototype, "value", 2);
@@ -229771,7 +229838,7 @@ __decorateClass$E([
229771
229838
  ObcGaugeRadialIndicator = __decorateClass$E([
229772
229839
  customElement("obc-gauge-radial-indicator")
229773
229840
  ], ObcGaugeRadialIndicator);
229774
- const componentStyle$c = i$7`* {
229841
+ const componentStyle$d = i$7`* {
229775
229842
  -webkit-tap-highlight-color: transparent;
229776
229843
  }
229777
229844
 
@@ -229799,12 +229866,8 @@ const componentStyle$c = i$7`* {
229799
229866
 
229800
229867
  position: relative;
229801
229868
 
229802
- /* The dial is the largest box of its sector's aspect ratio that fits inside
229803
- *both* the available width and height of the (full-size) host. \`width: auto\`
229804
- stretches the block to the host width, then \`aspect-ratio\` + \`max-height\`
229805
- transfer the constraint back, shrinking it to fit a short host too — see
229806
- issue #992. The host always fills its container, so the gauge can be
229807
- positioned within the leftover space via the alignment classes below. */
229869
+ /* The host always fills its container, so the gauge can be positioned within
229870
+ the leftover space via the alignment classes below. */
229808
229871
  width: auto;
229809
229872
  height: auto;
229810
229873
  max-width: 100%;
@@ -230144,7 +230207,7 @@ let ObcGaugeRadial = class extends SetpointMixin(i$4) {
230144
230207
  `;
230145
230208
  }
230146
230209
  };
230147
- ObcGaugeRadial.styles = r$7(componentStyle$c);
230210
+ ObcGaugeRadial.styles = r$7(componentStyle$d);
230148
230211
  __decorateClass$D([
230149
230212
  n$3({ type: Number })
230150
230213
  ], ObcGaugeRadial.prototype, "value", 2);
@@ -230214,7 +230277,7 @@ __decorateClass$D([
230214
230277
  ObcGaugeRadial = __decorateClass$D([
230215
230278
  customElement("obc-gauge-radial")
230216
230279
  ], ObcGaugeRadial);
230217
- const componentStyle$b = i$7`* {
230280
+ const componentStyle$c = i$7`* {
230218
230281
  -webkit-tap-highlight-color: transparent;
230219
230282
  }
230220
230283
 
@@ -230566,7 +230629,7 @@ let ObcGaugeTrendIndicator = class extends i$4 {
230566
230629
  `;
230567
230630
  }
230568
230631
  };
230569
- ObcGaugeTrendIndicator.styles = r$7(componentStyle$b);
230632
+ ObcGaugeTrendIndicator.styles = r$7(componentStyle$c);
230570
230633
  __decorateClass$C([
230571
230634
  n$3({ type: String })
230572
230635
  ], ObcGaugeTrendIndicator.prototype, "type", 2);
@@ -230997,7 +231060,7 @@ __decorateClass$A([
230997
231060
  ObcGraphMini = __decorateClass$A([
230998
231061
  customElement("obc-graph-mini")
230999
231062
  ], ObcGraphMini);
231000
- const componentStyle$a = i$7`* {
231063
+ const componentStyle$b = i$7`* {
231001
231064
  -webkit-tap-highlight-color: transparent;
231002
231065
  }
231003
231066
 
@@ -231228,7 +231291,7 @@ let ObcHeadingIndicator = class extends i$4 {
231228
231291
  return this.type === "XTD" ? this.renderXtd() : this.renderHdg();
231229
231292
  }
231230
231293
  };
231231
- ObcHeadingIndicator.styles = r$7(componentStyle$a);
231294
+ ObcHeadingIndicator.styles = r$7(componentStyle$b);
231232
231295
  __decorateClass$z([
231233
231296
  n$3({ type: String })
231234
231297
  ], ObcHeadingIndicator.prototype, "type", 2);
@@ -232375,7 +232438,7 @@ var __decorateClass$u = (decorators, target, key, kind) => {
232375
232438
  if (kind && result) __defProp$u(target, key, result);
232376
232439
  return result;
232377
232440
  };
232378
- const componentStyle$9 = `:host {
232441
+ const componentStyle$a = `:host {
232379
232442
  display: block;
232380
232443
  box-sizing: border-box;
232381
232444
  width: 100%;
@@ -232780,7 +232843,7 @@ let ObcMainEngineIndicator = class extends i$4 {
232780
232843
  `;
232781
232844
  }
232782
232845
  };
232783
- ObcMainEngineIndicator.styles = r$7(componentStyle$9);
232846
+ ObcMainEngineIndicator.styles = r$7(componentStyle$a);
232784
232847
  __decorateClass$u([
232785
232848
  n$3({ type: Number })
232786
232849
  ], ObcMainEngineIndicator.prototype, "pitchValue", 1);
@@ -235950,7 +236013,7 @@ var __decorateClass$l = (decorators, target, key, kind) => {
235950
236013
  if (kind && result) __defProp$l(target, key, result);
235951
236014
  return result;
235952
236015
  };
235953
- const componentStyle$8 = `:host {
236016
+ const componentStyle$9 = `:host {
235954
236017
  display: inline-block;
235955
236018
  width: var(--global-size-spacing-touch-target-min);
235956
236019
  height: var(--global-size-spacing-touch-target-min);
@@ -236175,7 +236238,7 @@ let ObcTunnelThruster = class extends i$4 {
236175
236238
  `;
236176
236239
  }
236177
236240
  };
236178
- ObcTunnelThruster.styles = r$7(componentStyle$8);
236241
+ ObcTunnelThruster.styles = r$7(componentStyle$9);
236179
236242
  __decorateClass$l([
236180
236243
  n$3({ type: Number })
236181
236244
  ], ObcTunnelThruster.prototype, "value", 1);
@@ -236395,7 +236458,7 @@ __decorateClass$k([
236395
236458
  ObcRateOfTurn = __decorateClass$k([
236396
236459
  customElement("obc-rate-of-turn")
236397
236460
  ], ObcRateOfTurn);
236398
- const componentStyle$7 = i$7`* {
236461
+ const componentStyle$8 = i$7`* {
236399
236462
  -webkit-tap-highlight-color: transparent;
236400
236463
  }
236401
236464
 
@@ -236578,7 +236641,7 @@ let ObcReadoutList = class extends i$4 {
236578
236641
  `;
236579
236642
  }
236580
236643
  };
236581
- ObcReadoutList.styles = r$7(componentStyle$7);
236644
+ ObcReadoutList.styles = r$7(componentStyle$8);
236582
236645
  __decorateClass$j([
236583
236646
  n$3({ type: Boolean, reflect: true })
236584
236647
  ], ObcReadoutList.prototype, "showDebugOverlay", 2);
@@ -237004,7 +237067,7 @@ __decorateClass$h([
237004
237067
  ObcRoll = __decorateClass$h([
237005
237068
  customElement("obc-roll")
237006
237069
  ], ObcRoll);
237007
- const componentStyle$6 = i$7`* {
237070
+ const componentStyle$7 = i$7`* {
237008
237071
  -webkit-tap-highlight-color: transparent;
237009
237072
  }
237010
237073
 
@@ -237214,7 +237277,7 @@ let ObcRotIndicator = class extends i$4 {
237214
237277
  `;
237215
237278
  }
237216
237279
  };
237217
- ObcRotIndicator.styles = r$7(componentStyle$6);
237280
+ ObcRotIndicator.styles = r$7(componentStyle$7);
237218
237281
  __decorateClass$g([
237219
237282
  n$3({ type: String })
237220
237283
  ], ObcRotIndicator.prototype, "type", 2);
@@ -237233,7 +237296,7 @@ __decorateClass$g([
237233
237296
  ObcRotIndicator = __decorateClass$g([
237234
237297
  customElement("obc-rot-indicator")
237235
237298
  ], ObcRotIndicator);
237236
- const componentStyle$5 = i$7`* {
237299
+ const componentStyle$6 = i$7`* {
237237
237300
  -webkit-tap-highlight-color: transparent;
237238
237301
  }
237239
237302
 
@@ -237418,7 +237481,7 @@ let ObcRotLinear = class extends i$4 {
237418
237481
  ObcRotLinear.styles = [
237419
237482
  r$7(instrumentReadoutStyle),
237420
237483
  centerReadoutStyles,
237421
- r$7(componentStyle$5)
237484
+ r$7(componentStyle$6)
237422
237485
  ];
237423
237486
  __decorateClass$f([
237424
237487
  n$3({ type: Number })
@@ -237664,7 +237727,7 @@ __decorateClass$e([
237664
237727
  ObcRotSector = __decorateClass$e([
237665
237728
  customElement("obc-rot-sector")
237666
237729
  ], ObcRotSector);
237667
- const componentStyle$4 = i$7`* {
237730
+ const componentStyle$5 = i$7`* {
237668
237731
  -webkit-tap-highlight-color: transparent;
237669
237732
  }
237670
237733
 
@@ -238057,7 +238120,7 @@ let ObcRudderIndicator = class extends i$4 {
238057
238120
  `;
238058
238121
  }
238059
238122
  };
238060
- ObcRudderIndicator.styles = r$7(componentStyle$4);
238123
+ ObcRudderIndicator.styles = r$7(componentStyle$5);
238061
238124
  __decorateClass$d([
238062
238125
  n$3({ type: Number })
238063
238126
  ], ObcRudderIndicator.prototype, "angle", 2);
@@ -238073,6 +238136,41 @@ __decorateClass$d([
238073
238136
  ObcRudderIndicator = __decorateClass$d([
238074
238137
  customElement("obc-rudder-indicator")
238075
238138
  ], ObcRudderIndicator);
238139
+ const componentStyle$4 = i$7`* {
238140
+ -webkit-tap-highlight-color: transparent;
238141
+ }
238142
+
238143
+ * {
238144
+ box-sizing: border-box;
238145
+ }
238146
+
238147
+ .container {
238148
+ position: relative;
238149
+ width: 100%;
238150
+ height: 100%;
238151
+ }
238152
+
238153
+ .container > * {
238154
+ position: absolute;
238155
+ top: 0;
238156
+ left: 0;
238157
+ width: 100%;
238158
+ height: 100%;
238159
+ }
238160
+
238161
+ :host {
238162
+ display: block;
238163
+ /* The element is the cropped canvas, not a square holding one, so the
238164
+ aspect comes from the frame each render — the top crop and zoom both move
238165
+ it. 448 / 269 is the un-zoomed box (448 wide × 448·(1 − 40%) tall); keep
238166
+ in sync with the \`clips\` top in rudder.ts. */
238167
+ width: auto;
238168
+ height: auto;
238169
+ max-width: 100%;
238170
+ max-height: 100%;
238171
+ aspect-ratio: var(--obc-rudder-aspect, 448 / 269);
238172
+ }
238173
+ `;
238076
238174
  var __defProp$c = Object.defineProperty;
238077
238175
  var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
238078
238176
  var __decorateClass$c = (decorators, target, key, kind) => {
@@ -238106,12 +238204,36 @@ let ObcRudder = class extends SetpointMixin(i$4) {
238106
238204
  }
238107
238205
  updated(changed) {
238108
238206
  super.updated(changed);
238207
+ const frame = this._frame;
238208
+ if (frame) {
238209
+ this.style.setProperty(
238210
+ "--obc-rudder-aspect",
238211
+ `${frame.width} / ${frame.height}`
238212
+ );
238213
+ }
238109
238214
  this._hostSizePinned = applyPinnedHostSize(
238110
238215
  this,
238111
238216
  this._frame,
238112
238217
  this._hostSizePinned
238113
238218
  );
238114
238219
  }
238220
+ /** Box the zoomed frame must keep visible, in SVG units. */
238221
+ _needleIncludeBox(radiusOffset) {
238222
+ if (this.variant !== "needle") {
238223
+ return void 0;
238224
+ }
238225
+ const rad = degToRad(this.getAngle(this.angle));
238226
+ const u2 = { x: Math.sin(rad), y: -Math.cos(rad) };
238227
+ const inner = ObcRudder.NEEDLE_INNER_RADIUS + radiusOffset;
238228
+ const outer = ObcRudder.NEEDLE_OUTER_RADIUS + radiusOffset;
238229
+ const w2 = ObcRudder.NEEDLE_HALF_WIDTH;
238230
+ return {
238231
+ xMin: Math.min(inner * u2.x, outer * u2.x) - w2,
238232
+ xMax: Math.max(inner * u2.x, outer * u2.x) + w2,
238233
+ yMin: Math.min(inner * u2.y, outer * u2.y) - w2,
238234
+ yMax: Math.max(inner * u2.y, outer * u2.y) + w2
238235
+ };
238236
+ }
238115
238237
  get _needleTransform() {
238116
238238
  const rOff = this._radiusOffset;
238117
238239
  if (rOff > 0) {
@@ -238225,16 +238347,21 @@ let ObcRudder = class extends SetpointMixin(i$4) {
238225
238347
  state
238226
238348
  };
238227
238349
  });
238228
- const frame = computeRadialFrame({
238350
+ const frameOptions = {
238229
238351
  basePadding: 48,
238230
238352
  labelWidthPx: this.tickmarksInside ? 0 : estimateLabelWidthPx(tickmarks.map((t2) => t2.text)),
238231
238353
  clips: this.zoomToFitArc ? void 0 : { top: 40, bottom: 0, left: 0, right: 0 },
238232
238354
  containerPx: measureContainerPx(this),
238233
238355
  faceDiameter: this.faceDiameter,
238234
238356
  zoomToFitArc: this.zoomToFitArc,
238357
+ // The zoomed arc is flat; a square box would be mostly empty height.
238358
+ zoomFit: ArcFrameFit.bbox,
238235
238359
  areas,
238236
238360
  innerRadius: innerRingRadiusFor(WatchCircleType.double)
238237
- });
238361
+ };
238362
+ const probe = computeRadialFrame(frameOptions);
238363
+ const zoomIncludeBox = this.zoomToFitArc ? this._needleIncludeBox(probe.radiusOffset) : void 0;
238364
+ const frame = zoomIncludeBox ? computeRadialFrame({ ...frameOptions, zoomIncludeBox }) : probe;
238238
238365
  this._radiusOffset = frame.radiusOffset;
238239
238366
  this._frame = frame;
238240
238367
  const shownTickmarks = frame.labelsHidden ? tickmarks.map((t2) => ({ ...t2, text: void 0 })) : tickmarks;
@@ -238265,25 +238392,10 @@ let ObcRudder = class extends SetpointMixin(i$4) {
238265
238392
  `;
238266
238393
  }
238267
238394
  };
238268
- ObcRudder.styles = i$7`
238269
- * {
238270
- box-sizing: border-box;
238271
- }
238272
-
238273
- .container {
238274
- position: relative;
238275
- width: 100%;
238276
- height: 100%;
238277
- }
238278
-
238279
- .container > * {
238280
- position: absolute;
238281
- top: 0;
238282
- left: 0;
238283
- width: 100%;
238284
- height: 100%;
238285
- }
238286
- `;
238395
+ ObcRudder.NEEDLE_INNER_RADIUS = -16.5;
238396
+ ObcRudder.NEEDLE_OUTER_RADIUS = 160.65;
238397
+ ObcRudder.NEEDLE_HALF_WIDTH = 16.5;
238398
+ ObcRudder.styles = r$7(componentStyle$4);
238287
238399
  __decorateClass$c([
238288
238400
  n$3({ type: Number })
238289
238401
  ], ObcRudder.prototype, "angle", 2);