@wistia/ui 0.13.9 → 0.13.10-beta.56871fba.15bb8f2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.13.9
3
+ * @license @wistia/ui v0.13.10-beta.56871fba.15bb8f2
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -73,6 +73,7 @@ __export(index_exports, {
73
73
  ContextMenu: () => ContextMenu,
74
74
  ContrastControls: () => ContrastControls,
75
75
  DataCard: () => DataCard,
76
+ DataCardHoverArrow: () => DataCardHoverArrow,
76
77
  DataCardTrend: () => DataCardTrend,
77
78
  DataCards: () => DataCards,
78
79
  Divider: () => Divider,
@@ -148,6 +149,7 @@ __export(index_exports, {
148
149
  ValueNameOrHexCode: () => ValueNameOrHexCode,
149
150
  ValueSwatch: () => ValueSwatch,
150
151
  WistiaLogo: () => WistiaLogo,
152
+ calculateContrast: () => calculateContrast,
151
153
  colorSchemeOptions: () => colorSchemeOptions,
152
154
  copyToClipboard: () => copyToClipboard,
153
155
  dateTime: () => dateTime,
@@ -9761,6 +9763,16 @@ var compositeOverWhite = (color, alpha = 1) => {
9761
9763
  b: compositeChannel(colorAsRgb.b)
9762
9764
  };
9763
9765
  };
9766
+ var calculateContrast = ({
9767
+ backgroundColor,
9768
+ foregroundColor = DEFAULT_COLOR_FOR_COMPARISON,
9769
+ backgroundOpacity = DEFAULT_OPACITY_FOR_CONTRAST_CALCULATION
9770
+ }) => {
9771
+ const backgroundColorAsRgb = convertToRgb(backgroundColor);
9772
+ const foregroundColorAsRgb = convertToRgb(foregroundColor);
9773
+ const compositeBackground = compositeOverWhite(backgroundColorAsRgb, backgroundOpacity);
9774
+ return (0, import_fn3.wcagContrast)(compositeBackground, foregroundColorAsRgb);
9775
+ };
9764
9776
  var snapValueToEdges = (value) => {
9765
9777
  if (value > 1 - VALUE_CHANNEL_SNAP_EPSILON) {
9766
9778
  return 1;
@@ -9783,13 +9795,15 @@ var updateSearchBounds = (searchingBrighter, contrast, minContrast, midValue, se
9783
9795
  return { newSearchLow: searchLow, newSearchHigh: midValue };
9784
9796
  };
9785
9797
  var getAccessibleColorByValueChannelChange = ({
9786
- originalHsv,
9798
+ originalColor,
9787
9799
  colorForComparison,
9788
9800
  minContrast,
9789
9801
  maxIterations = 50,
9790
9802
  direction,
9791
- opacityForContrastCalculation
9803
+ opacityForContrastCalculation,
9804
+ shouldConvertToHex = true
9792
9805
  }) => {
9806
+ const originalHsv = convertToHsv(originalColor);
9793
9807
  const searchingBrighter = direction === "brighter";
9794
9808
  const lowValue = searchingBrighter ? originalHsv.v : 0;
9795
9809
  const highValue = searchingBrighter ? 1 : originalHsv.v;
@@ -9800,10 +9814,11 @@ var getAccessibleColorByValueChannelChange = ({
9800
9814
  v: extremeValue,
9801
9815
  mode: "hsv"
9802
9816
  };
9803
- const extremeContrast = (0, import_fn3.wcagContrast)(
9804
- compositeOverWhite(extremeVariant, opacityForContrastCalculation),
9805
- colorForComparison
9806
- );
9817
+ const extremeContrast = calculateContrast({
9818
+ backgroundColor: shouldConvertToHex ? (0, import_fn3.formatHex)(extremeVariant) : extremeVariant,
9819
+ foregroundColor: colorForComparison,
9820
+ backgroundOpacity: opacityForContrastCalculation
9821
+ });
9807
9822
  if (extremeContrast < minContrast) {
9808
9823
  return null;
9809
9824
  }
@@ -9819,10 +9834,11 @@ var getAccessibleColorByValueChannelChange = ({
9819
9834
  v: midValue,
9820
9835
  mode: "hsv"
9821
9836
  };
9822
- const contrast = (0, import_fn3.wcagContrast)(
9823
- compositeOverWhite(candidateHsv, opacityForContrastCalculation),
9824
- colorForComparison
9825
- );
9837
+ const contrast = calculateContrast({
9838
+ backgroundColor: shouldConvertToHex ? (0, import_fn3.formatHex)(candidateHsv) : candidateHsv,
9839
+ foregroundColor: colorForComparison,
9840
+ backgroundOpacity: opacityForContrastCalculation
9841
+ });
9826
9842
  if (contrast >= minContrast) {
9827
9843
  bestSoFar = candidateHsv;
9828
9844
  }
@@ -9842,7 +9858,7 @@ var getAccessibleColorByValueChannelChange = ({
9842
9858
  }
9843
9859
  return bestSoFar;
9844
9860
  };
9845
- var chooseClosestDerivativeToOriginal = (brighterOption, darkerOption, originalHsv) => {
9861
+ var chooseClosestDerivativeToOriginal = (brighterOption, darkerOption, originalColor) => {
9846
9862
  const hsvDifference = (0, import_fn3.differenceEuclidean)("hsv");
9847
9863
  if (!brighterOption && !darkerOption) {
9848
9864
  return null;
@@ -9853,8 +9869,8 @@ var chooseClosestDerivativeToOriginal = (brighterOption, darkerOption, originalH
9853
9869
  if (!darkerOption && brighterOption != null) {
9854
9870
  return brighterOption;
9855
9871
  }
9856
- const brighterDifference = brighterOption === null ? Infinity : hsvDifference(originalHsv, brighterOption);
9857
- const darkerDifference = darkerOption === null ? Infinity : hsvDifference(originalHsv, darkerOption);
9872
+ const brighterDifference = brighterOption === null ? Infinity : hsvDifference(originalColor, brighterOption);
9873
+ const darkerDifference = darkerOption === null ? Infinity : hsvDifference(originalColor, darkerOption);
9858
9874
  if (brighterDifference <= darkerDifference && brighterOption != null) {
9859
9875
  return brighterOption;
9860
9876
  }
@@ -9864,12 +9880,13 @@ var chooseClosestDerivativeToOriginal = (brighterOption, darkerOption, originalH
9864
9880
  throw new Error("Unable to determine the best accessible color variant");
9865
9881
  };
9866
9882
  var getAccessibleColorBySaturationAndValueChange = ({
9867
- originalHsv,
9883
+ originalColor,
9868
9884
  colorForComparison,
9869
9885
  minContrast,
9870
9886
  direction,
9871
9887
  opacityForContrastCalculation
9872
9888
  }) => {
9889
+ const originalHsv = convertToHsv(originalColor);
9873
9890
  const hsvDifference = (0, import_fn3.differenceEuclidean)("hsv");
9874
9891
  const maxIterations = 50;
9875
9892
  let lowStep = 0;
@@ -9895,7 +9912,11 @@ var getAccessibleColorBySaturationAndValueChange = ({
9895
9912
  };
9896
9913
  };
9897
9914
  const checkContrast = (hsv) => {
9898
- return (0, import_fn3.wcagContrast)(compositeOverWhite(hsv, opacityForContrastCalculation), colorForComparison);
9915
+ return calculateContrast({
9916
+ backgroundColor: (0, import_fn3.formatHex)(hsv),
9917
+ foregroundColor: colorForComparison,
9918
+ backgroundOpacity: opacityForContrastCalculation
9919
+ });
9899
9920
  };
9900
9921
  const extremeHsv = getHsvForStep(highStep);
9901
9922
  if (checkContrast(extremeHsv) < minContrast) {
@@ -9924,7 +9945,7 @@ var getAccessibleColorBySaturationAndValueChange = ({
9924
9945
  return bestCandidate;
9925
9946
  };
9926
9947
  var getAccessibleColorInDirection = ({
9927
- originalHsv,
9948
+ originalColor,
9928
9949
  colorForComparison,
9929
9950
  minContrast,
9930
9951
  maxIterations = 50,
@@ -9932,7 +9953,7 @@ var getAccessibleColorInDirection = ({
9932
9953
  opacityForContrastCalculation
9933
9954
  }) => {
9934
9955
  const valueResult = getAccessibleColorByValueChannelChange({
9935
- originalHsv,
9956
+ originalColor,
9936
9957
  colorForComparison,
9937
9958
  minContrast,
9938
9959
  maxIterations,
@@ -9943,7 +9964,7 @@ var getAccessibleColorInDirection = ({
9943
9964
  return valueResult;
9944
9965
  }
9945
9966
  return getAccessibleColorBySaturationAndValueChange({
9946
- originalHsv,
9967
+ originalColor,
9947
9968
  colorForComparison,
9948
9969
  minContrast,
9949
9970
  direction,
@@ -9951,21 +9972,23 @@ var getAccessibleColorInDirection = ({
9951
9972
  });
9952
9973
  };
9953
9974
  var getAccessibleColor = ({
9954
- originalHsv,
9975
+ originalColor,
9955
9976
  colorForComparison,
9956
9977
  minContrast = DEFAULT_MIN_CONTRAST,
9957
9978
  maxIterations = 50,
9958
9979
  opacityForContrastCalculation
9959
9980
  }) => {
9960
- const originalContrast = (0, import_fn3.wcagContrast)(
9961
- compositeOverWhite(originalHsv, opacityForContrastCalculation),
9962
- colorForComparison
9963
- );
9981
+ const originalColorAsHsv = convertToHsv(originalColor);
9982
+ const originalContrast = calculateContrast({
9983
+ backgroundColor: (0, import_fn3.formatHex)(originalColorAsHsv),
9984
+ foregroundColor: colorForComparison,
9985
+ backgroundOpacity: opacityForContrastCalculation
9986
+ });
9964
9987
  if (originalContrast >= minContrast) {
9965
- return originalHsv;
9988
+ return convertToHsv(originalColor);
9966
9989
  }
9967
9990
  const brighterOption = getAccessibleColorInDirection({
9968
- originalHsv,
9991
+ originalColor,
9969
9992
  colorForComparison,
9970
9993
  minContrast,
9971
9994
  maxIterations,
@@ -9973,43 +9996,45 @@ var getAccessibleColor = ({
9973
9996
  opacityForContrastCalculation
9974
9997
  });
9975
9998
  const darkerOption = getAccessibleColorInDirection({
9976
- originalHsv,
9999
+ originalColor,
9977
10000
  colorForComparison,
9978
10001
  minContrast,
9979
10002
  maxIterations,
9980
10003
  direction: "darker",
9981
10004
  opacityForContrastCalculation
9982
10005
  });
9983
- const result = chooseClosestDerivativeToOriginal(brighterOption, darkerOption, originalHsv);
10006
+ const result = chooseClosestDerivativeToOriginal(brighterOption, darkerOption, originalColor);
9984
10007
  if (result == null) {
9985
10008
  throw new Error(
9986
- `Unable to get accessible derivative for ${(0, import_fn3.formatHex)(originalHsv)} at minimum contrast ratio ${minContrast}`
10009
+ `Unable to get accessible derivative for ${(0, import_fn3.formatHex)(originalColor)} at minimum contrast ratio ${minContrast}`
9987
10010
  );
9988
10011
  }
9989
10012
  return result;
9990
10013
  };
9991
10014
  var hasAccessibleDerivatives = ({
9992
- originalHsv,
10015
+ originalColor,
9993
10016
  colorForComparison,
9994
10017
  minContrast = DEFAULT_MIN_CONTRAST,
9995
10018
  opacityForContrastCalculation
9996
10019
  }) => {
9997
- const originalContrast = (0, import_fn3.wcagContrast)(
9998
- compositeOverWhite(originalHsv, opacityForContrastCalculation),
9999
- colorForComparison
10000
- );
10020
+ const originalColorAsHsv = convertToHsv(originalColor);
10021
+ const originalContrast = calculateContrast({
10022
+ backgroundColor: (0, import_fn3.formatHex)(originalColorAsHsv),
10023
+ foregroundColor: colorForComparison,
10024
+ backgroundOpacity: opacityForContrastCalculation
10025
+ });
10001
10026
  if (originalContrast >= minContrast) {
10002
10027
  return true;
10003
10028
  }
10004
10029
  const brighterOption = getAccessibleColorInDirection({
10005
- originalHsv,
10030
+ originalColor,
10006
10031
  colorForComparison,
10007
10032
  minContrast,
10008
10033
  direction: "brighter",
10009
10034
  opacityForContrastCalculation
10010
10035
  });
10011
10036
  const darkerOption = getAccessibleColorInDirection({
10012
- originalHsv,
10037
+ originalColor,
10013
10038
  colorForComparison,
10014
10039
  minContrast,
10015
10040
  direction: "darker",
@@ -10033,27 +10058,28 @@ var ColorPickerProvider = ({
10033
10058
  const [nonDerivedValueAsHsv, setNonDerivedValueAsHsv] = (0, import_react41.useState)(convertToHsv(valueAsHex));
10034
10059
  const [shouldEnforceMinContrast, setShouldEnforceMinContrast] = (0, import_react41.useState)(false);
10035
10060
  const getAccessibleDerivativeColor = (0, import_react41.useCallback)(
10036
- (originalHsv) => getAccessibleColor({
10037
- originalHsv,
10061
+ (originalColor) => getAccessibleColor({
10062
+ originalColor,
10038
10063
  colorForComparison,
10039
10064
  minContrast: minimumContrastRatio,
10040
10065
  opacityForContrastCalculation
10041
10066
  }),
10042
10067
  [colorForComparison, minimumContrastRatio, opacityForContrastCalculation]
10043
10068
  );
10044
- const valueAsHsv = shouldEnforceMinContrast ? getAccessibleDerivativeColor(nonDerivedValueAsHsv) : nonDerivedValueAsHsv;
10045
- const currentContrastRatio = (0, import_fn4.wcagContrast)(
10046
- compositeOverWhite(valueAsHsv, opacityForContrastCalculation),
10047
- colorForComparison
10048
- );
10069
+ const valueAsHsv = shouldEnforceMinContrast ? getAccessibleDerivativeColor((0, import_fn4.formatHex)(nonDerivedValueAsHsv)) : nonDerivedValueAsHsv;
10070
+ const currentContrastRatio = calculateContrast({
10071
+ backgroundColor: valueAsHex,
10072
+ foregroundColor: colorForComparison,
10073
+ backgroundOpacity: opacityForContrastCalculation
10074
+ });
10049
10075
  const hasAccessibleDerivativesValue = (0, import_react41.useMemo)(() => {
10050
10076
  return hasAccessibleDerivatives({
10051
- originalHsv: valueAsHsv,
10077
+ originalColor: valueAsHex,
10052
10078
  colorForComparison,
10053
10079
  minContrast: minimumContrastRatio,
10054
10080
  opacityForContrastCalculation
10055
10081
  });
10056
- }, [valueAsHsv, colorForComparison, minimumContrastRatio, opacityForContrastCalculation]);
10082
+ }, [valueAsHex, colorForComparison, minimumContrastRatio, opacityForContrastCalculation]);
10057
10083
  const onChangeNonDerivedValueAsHsv = (0, import_react41.useCallback)((nonDerivedValue) => {
10058
10084
  setNonDerivedValueAsHsv(nonDerivedValue);
10059
10085
  }, []);
@@ -10077,15 +10103,21 @@ var ColorPickerProvider = ({
10077
10103
  const setShouldEnforceMinContrastWrapped = (0, import_react41.useCallback)(
10078
10104
  (newShouldEnforceMinContrast) => {
10079
10105
  setShouldEnforceMinContrast(newShouldEnforceMinContrast);
10080
- const newColorAsHsv = newShouldEnforceMinContrast ? getAccessibleDerivativeColor(valueAsHsv) : nonDerivedValueAsHsv;
10106
+ const newColorAsHsv = newShouldEnforceMinContrast ? getAccessibleDerivativeColor(valueAsHex) : nonDerivedValueAsHsv;
10081
10107
  const currentHsv = valueAsHsv;
10082
10108
  if (currentHsv.h !== newColorAsHsv.h || currentHsv.s !== newColorAsHsv.s || currentHsv.v !== newColorAsHsv.v) {
10083
10109
  changeValueSmoothly(newColorAsHsv);
10084
10110
  }
10085
10111
  },
10086
- [changeValueSmoothly, getAccessibleDerivativeColor, nonDerivedValueAsHsv, valueAsHsv]
10112
+ [
10113
+ changeValueSmoothly,
10114
+ getAccessibleDerivativeColor,
10115
+ nonDerivedValueAsHsv,
10116
+ valueAsHex,
10117
+ valueAsHsv
10118
+ ]
10087
10119
  );
10088
- const whatValuePropShouldBe = shouldEnforceMinContrast ? (0, import_fn4.formatHex)(getAccessibleDerivativeColor(nonDerivedValueAsHsv)) : (0, import_fn4.formatHex)(nonDerivedValueAsHsv);
10120
+ const whatValuePropShouldBe = shouldEnforceMinContrast ? (0, import_fn4.formatHex)(getAccessibleDerivativeColor((0, import_fn4.formatHex)(nonDerivedValueAsHsv))) : (0, import_fn4.formatHex)(nonDerivedValueAsHsv);
10089
10121
  (0, import_react41.useEffect)(() => {
10090
10122
  if (valueAsHex !== whatValuePropShouldBe && !isTransitioning) {
10091
10123
  onValueChange(whatValuePropShouldBe);
@@ -10716,6 +10748,9 @@ var Container6 = import_styled_components57.default.div`
10716
10748
  justify-content: end;
10717
10749
  align-items: center;
10718
10750
  `;
10751
+ var floorToTenth = (value) => {
10752
+ return Math.floor(value * 10) / 10;
10753
+ };
10719
10754
  var ContrastIndicator = () => {
10720
10755
  const { currentContrastRatio, minimumContrastRatio } = useColorPickerState();
10721
10756
  const isContrastSufficient = currentContrastRatio >= minimumContrastRatio;
@@ -10735,7 +10770,7 @@ var ContrastIndicator = () => {
10735
10770
  renderAs: "span",
10736
10771
  variant: "body4Mono",
10737
10772
  children: [
10738
- currentContrastRatio.toFixed(2),
10773
+ floorToTenth(currentContrastRatio).toFixed(1),
10739
10774
  ":1"
10740
10775
  ]
10741
10776
  }
@@ -11547,11 +11582,13 @@ var calculateContrastCurve = (width, height, hue, minimumContrastRatio, colorFor
11547
11582
  const saturationChanel = x / (width - 1);
11548
11583
  const initialValueChannelForSearch = limit === "upper" ? 0 : 1;
11549
11584
  const colorForXAsHsv = getAccessibleColorByValueChannelChange({
11550
- originalHsv: { h: hue, s: saturationChanel, v: initialValueChannelForSearch, mode: "hsv" },
11585
+ originalColor: { h: hue, s: saturationChanel, v: initialValueChannelForSearch, mode: "hsv" },
11551
11586
  colorForComparison,
11552
11587
  minContrast: minimumContrastRatio,
11553
11588
  direction: limit === "upper" ? "brighter" : "darker",
11554
- opacityForContrastCalculation
11589
+ opacityForContrastCalculation,
11590
+ // We set shouldConvertToHex to false to make the curve smoother.
11591
+ shouldConvertToHex: false
11555
11592
  });
11556
11593
  if (colorForXAsHsv != null) {
11557
11594
  const point = {
@@ -12284,17 +12321,32 @@ var import_styled_components67 = __toESM(require("styled-components"));
12284
12321
  var import_type_guards37 = require("@wistia/type-guards");
12285
12322
  var import_jsx_runtime253 = require("react/jsx-runtime");
12286
12323
  var StyledDataCard = import_styled_components67.default.div`
12324
+ --wui-data-card-text: var(--wui-color-text-button);
12325
+ --wui-color-text: var(--wui-data-card-text);
12326
+ --wui-data-card-background: var(--wui-color-bg-surface-secondary);
12327
+ --wui-data-card-background-hover: var(--wui-color-bg-surface-secondary-hover);
12328
+ --wui-data-card-background-active: var(--wui-color-bg-surface-secondary-active);
12329
+
12287
12330
  display: grid;
12288
12331
  grid-template-areas: 'label slot' 'value value';
12289
12332
  grid-template-rows: auto auto;
12290
12333
  grid-template-columns: auto auto;
12291
12334
  gap: var(--wui-space-01);
12292
12335
  padding: var(--wui-space-03);
12293
- background: var(--wui-color-bg-surface-secondary);
12336
+ background: var(--wui-data-card-background);
12294
12337
  flex: 1;
12295
12338
  border-radius: var(--wui-border-radius-02);
12296
12339
  position: relative;
12297
- transition: background var(--wui-motion-duration-01) var(--wui-motion-ease);
12340
+ transition:
12341
+ background var(--wui-motion-duration-01) var(--wui-motion-ease),
12342
+ box-shadow var(--wui-motion-duration-01) var(--wui-motion-ease),
12343
+ color var(--wui-motion-duration-01) var(--wui-motion-ease);
12344
+
12345
+ [data-wui-data-card-hover-icon] {
12346
+ opacity: 0;
12347
+ transform: translateX(-16px);
12348
+ transition: all var(--wui-motion-duration-02) var(--wui-motion-ease-out);
12349
+ }
12298
12350
 
12299
12351
  &:has([data-wui-data-card-subtitle]) {
12300
12352
  grid-template-areas: 'label slot' 'value value' 'subtitle subtitle';
@@ -12302,21 +12354,12 @@ var StyledDataCard = import_styled_components67.default.div`
12302
12354
  }
12303
12355
 
12304
12356
  &[data-click-region] {
12305
- [data-wui-data-card-hover-icon] {
12306
- opacity: 0;
12307
- transform: translateX(-16px);
12308
- transition: all var(--wui-motion-duration-02) var(--wui-motion-ease-out);
12309
- }
12310
-
12311
12357
  &:not([disabled]) {
12312
12358
  cursor: pointer;
12313
12359
 
12314
- &:hover,
12315
- &:has([data-click-region-target-button]:focus-visible),
12316
- &:has([data-click-region-target-link]:focus-visible) {
12317
- --wui-color-text: var(--wui-color-text-button);
12318
-
12319
- background: var(--wui-color-bg-surface-secondary-hover);
12360
+ &:hover {
12361
+ --wui-data-card-text: var(--wui-color-text-button);
12362
+ --wui-data-card-background: var(--wui-color-bg-surface-secondary-hover);
12320
12363
 
12321
12364
  [data-wui-data-card-hover-icon] {
12322
12365
  opacity: 1;
@@ -12324,15 +12367,23 @@ var StyledDataCard = import_styled_components67.default.div`
12324
12367
  }
12325
12368
  }
12326
12369
 
12327
- &:has([data-click-region-target-button]:active),
12328
- &:has([data-click-region-target-link]:active) {
12329
- background: var(--wui-color-bg-surface-secondary-active);
12370
+ &:active {
12371
+ --wui-data-card-background: var(--wui-color-bg-surface-secondary-active);
12330
12372
  }
12331
12373
 
12332
12374
  &:has([data-click-region-target-button]:focus-visible),
12333
12375
  &:has([data-click-region-target-link]:focus-visible) {
12334
- outline: 2px solid var(--wui-color-focus-ring);
12335
- outline-offset: 2px;
12376
+ --wui-data-card-focus-ring: var(--wui-color-border);
12377
+
12378
+ box-shadow: inset 0 0 0 2px var(--wui-data-card-focus-ring);
12379
+ }
12380
+
12381
+ &:has([data-click-region-target-button][aria-pressed='true']) {
12382
+ --wui-data-card-text: var(--wui-color-text-selected);
12383
+ --wui-data-card-background: var(--wui-color-bg-surface-selected);
12384
+ --wui-data-card-background-hover: var(--wui-color-bg-surface-selected-hover);
12385
+ --wui-data-card-background-active: var(--wui-color-bg-surface-selected-active);
12386
+ --wui-data-card-focus-ring: var(--wui-color-border-selected);
12336
12387
  }
12337
12388
  }
12338
12389
 
@@ -12434,27 +12485,22 @@ var DataCardInner = ({
12434
12485
  ]
12435
12486
  }
12436
12487
  );
12437
- var DataCardArrowIcon = /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12438
- Icon,
12439
- {
12440
- "data-wui-data-card-hover-icon": true,
12441
- type: "arrow-right"
12442
- }
12443
- );
12444
12488
  var DataCard = (props) => {
12445
12489
  const ref = (0, import_react55.useRef)(null);
12446
12490
  if ((0, import_type_guards37.isNotNil)(props.href) || (0, import_type_guards37.isNotNil)(props.onClick)) {
12491
+ const { "aria-pressed": ariaPressed, ...dataCardProps } = props;
12447
12492
  return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(ClickRegion, { targetRef: ref, children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12448
12493
  DataCardInner,
12449
12494
  {
12450
- upperRightSlot: props.upperRightSlot ?? DataCardArrowIcon,
12451
- ...props,
12495
+ upperRightSlot: props.upperRightSlot,
12496
+ ...dataCardProps,
12452
12497
  label: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12453
12498
  Button,
12454
12499
  {
12455
12500
  ref,
12456
12501
  ...(0, import_type_guards37.isNotNil)(props.beforeAction) ? { beforeAction: props.beforeAction } : {},
12457
12502
  ...(0, import_type_guards37.isNotNil)(props.reloadDocument) ? { reloadDocument: props.reloadDocument } : {},
12503
+ "aria-pressed": ariaPressed,
12458
12504
  disabled: props.disabled ?? false,
12459
12505
  href: props.href,
12460
12506
  onClick: props.onClick,
@@ -12542,23 +12588,41 @@ var DataCardTrend = ({
12542
12588
  ] });
12543
12589
  };
12544
12590
 
12545
- // src/components/Divider/Divider.tsx
12591
+ // src/components/DataCards/DataCardHoverArrow.tsx
12546
12592
  var import_styled_components70 = __toESM(require("styled-components"));
12547
12593
  var import_jsx_runtime256 = require("react/jsx-runtime");
12548
- var horizontalBorderCss = import_styled_components70.css`
12594
+ var StyledIconContainer = import_styled_components70.default.div`
12595
+ display: flex;
12596
+ align-items: center;
12597
+ align-self: center;
12598
+ height: 0;
12599
+ `;
12600
+ var DataCardHoverArrow = () => /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12601
+ Icon,
12602
+ {
12603
+ "data-wui-data-card-hover-icon": true,
12604
+ type: "arrow-right"
12605
+ }
12606
+ ) });
12607
+ DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
12608
+
12609
+ // src/components/Divider/Divider.tsx
12610
+ var import_styled_components71 = __toESM(require("styled-components"));
12611
+ var import_jsx_runtime257 = require("react/jsx-runtime");
12612
+ var horizontalBorderCss = import_styled_components71.css`
12549
12613
  border-top-color: var(--wui-color-border);
12550
12614
  border-top-style: solid;
12551
12615
  border-top-width: 1px;
12552
12616
  clear: both; /* for horizontal dividers, ensure it clears any floats */
12553
12617
  height: 0;
12554
12618
  `;
12555
- var verticalBorderCss = import_styled_components70.css`
12619
+ var verticalBorderCss = import_styled_components71.css`
12556
12620
  background-color: var(--wui-color-border);
12557
12621
  max-width: 1px;
12558
12622
  min-height: 100%;
12559
12623
  width: 1px;
12560
12624
  `;
12561
- var DividerComponent = import_styled_components70.default.div`
12625
+ var DividerComponent = import_styled_components71.default.div`
12562
12626
  ${({ $orientation }) => {
12563
12627
  switch ($orientation) {
12564
12628
  case "vertical":
@@ -12570,7 +12634,7 @@ var DividerComponent = import_styled_components70.default.div`
12570
12634
  }}
12571
12635
  `;
12572
12636
  var Divider = ({ orientation = "horizontal", ...props }) => {
12573
- return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12637
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12574
12638
  DividerComponent,
12575
12639
  {
12576
12640
  $orientation: orientation,
@@ -12583,10 +12647,10 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
12583
12647
  Divider.displayName = "Divider_UI";
12584
12648
 
12585
12649
  // src/components/EditableHeading/EditableHeading.tsx
12586
- var import_styled_components71 = __toESM(require("styled-components"));
12650
+ var import_styled_components72 = __toESM(require("styled-components"));
12587
12651
  var import_react56 = require("react");
12588
- var import_jsx_runtime257 = require("react/jsx-runtime");
12589
- var StyledInput = (0, import_styled_components71.default)(Input)`
12652
+ var import_jsx_runtime258 = require("react/jsx-runtime");
12653
+ var StyledInput = (0, import_styled_components72.default)(Input)`
12590
12654
  &:not([rows]) {
12591
12655
  min-height: unset;
12592
12656
  }
@@ -12606,7 +12670,7 @@ var StyledInput = (0, import_styled_components71.default)(Input)`
12606
12670
  min-height: ${({ $height }) => `${$height}px`};
12607
12671
  }
12608
12672
  `;
12609
- var editableStyles = import_styled_components71.css`
12673
+ var editableStyles = import_styled_components72.css`
12610
12674
  &:has(+ :focus-within) {
12611
12675
  background: var(--wui-color-bg-surface-hover);
12612
12676
  }
@@ -12616,7 +12680,7 @@ var editableStyles = import_styled_components71.css`
12616
12680
  cursor: pointer;
12617
12681
  }
12618
12682
  `;
12619
- var StyledHeading2 = (0, import_styled_components71.default)(Heading)`
12683
+ var StyledHeading2 = (0, import_styled_components72.default)(Heading)`
12620
12684
  width: 100%;
12621
12685
  border-radius: var(--wui-border-radius-02);
12622
12686
  padding: var(--wui-space-02);
@@ -12671,7 +12735,7 @@ var EditableHeading = ({
12671
12735
  handleSetEditing(false);
12672
12736
  }
12673
12737
  };
12674
- const HeadingComponent2 = /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12738
+ const HeadingComponent2 = /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12675
12739
  StyledHeading2,
12676
12740
  {
12677
12741
  ref: headingRef,
@@ -12685,7 +12749,7 @@ var EditableHeading = ({
12685
12749
  return HeadingComponent2;
12686
12750
  }
12687
12751
  if (isEditing || __forceEditing) {
12688
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12752
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12689
12753
  StyledInput,
12690
12754
  {
12691
12755
  $height: headingHeight,
@@ -12704,9 +12768,9 @@ var EditableHeading = ({
12704
12768
  }
12705
12769
  );
12706
12770
  }
12707
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(import_jsx_runtime257.Fragment, { children: [
12708
- /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
12709
- /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12771
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(import_jsx_runtime258.Fragment, { children: [
12772
+ /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
12773
+ /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12710
12774
  "button",
12711
12775
  {
12712
12776
  "aria-label": ariaLabel,
@@ -12756,9 +12820,9 @@ var useFormState = (action, initialData = {}) => {
12756
12820
  // src/components/Form/FormErrorSummary.tsx
12757
12821
  var import_react58 = require("react");
12758
12822
  var import_type_guards38 = require("@wistia/type-guards");
12759
- var import_jsx_runtime258 = require("react/jsx-runtime");
12823
+ var import_jsx_runtime259 = require("react/jsx-runtime");
12760
12824
  var ErrorItem = ({ name, error, formId }) => {
12761
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Link, { href: `#${formId}-${name}`, children: error }) }, name);
12825
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Link, { href: `#${formId}-${name}`, children: error }) }, name);
12762
12826
  };
12763
12827
  var FormErrorSummary = ({ description }) => {
12764
12828
  const ref = (0, import_react58.useRef)(null);
@@ -12767,10 +12831,10 @@ var FormErrorSummary = ({ description }) => {
12767
12831
  if (isValid || !hasSubmitted) {
12768
12832
  return null;
12769
12833
  }
12770
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)("div", { ref, children: [
12771
- /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("p", { children: description }),
12772
- /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards38.isNotUndefined)(error)).map(
12773
- ([name, error]) => (0, import_type_guards38.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12834
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)("div", { ref, children: [
12835
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("p", { children: description }),
12836
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards38.isNotUndefined)(error)).map(
12837
+ ([name, error]) => (0, import_type_guards38.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
12774
12838
  ErrorItem,
12775
12839
  {
12776
12840
  error: err,
@@ -12778,7 +12842,7 @@ var FormErrorSummary = ({ description }) => {
12778
12842
  name
12779
12843
  },
12780
12844
  err
12781
- )) : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12845
+ )) : /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
12782
12846
  ErrorItem,
12783
12847
  {
12784
12848
  error: error ?? "",
@@ -12793,13 +12857,13 @@ var FormErrorSummary = ({ description }) => {
12793
12857
 
12794
12858
  // src/components/FormField/FormField.tsx
12795
12859
  var import_react59 = require("react");
12796
- var import_styled_components73 = __toESM(require("styled-components"));
12860
+ var import_styled_components74 = __toESM(require("styled-components"));
12797
12861
  var import_type_guards39 = require("@wistia/type-guards");
12798
12862
 
12799
12863
  // src/components/Label/Label.tsx
12800
- var import_styled_components72 = __toESM(require("styled-components"));
12801
- var import_jsx_runtime259 = require("react/jsx-runtime");
12802
- var requiredStyle = import_styled_components72.css`
12864
+ var import_styled_components73 = __toESM(require("styled-components"));
12865
+ var import_jsx_runtime260 = require("react/jsx-runtime");
12866
+ var requiredStyle = import_styled_components73.css`
12803
12867
  &::after {
12804
12868
  color: var(--wui-color-text-error);
12805
12869
  display: inline;
@@ -12807,10 +12871,10 @@ var requiredStyle = import_styled_components72.css`
12807
12871
  content: '*';
12808
12872
  }
12809
12873
  `;
12810
- var disabledStyle3 = import_styled_components72.css`
12874
+ var disabledStyle3 = import_styled_components73.css`
12811
12875
  color: var(--wui-color-text-disabled);
12812
12876
  `;
12813
- var StyledLabel3 = import_styled_components72.default.label`
12877
+ var StyledLabel3 = import_styled_components73.default.label`
12814
12878
  display: block;
12815
12879
  width: 100%;
12816
12880
  color: var(--wui-color-text);
@@ -12842,7 +12906,7 @@ var Label = ({
12842
12906
  screenReaderOnly = false,
12843
12907
  ...props
12844
12908
  }) => {
12845
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
12909
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12846
12910
  StyledLabel3,
12847
12911
  {
12848
12912
  ...props,
@@ -12857,8 +12921,8 @@ var Label = ({
12857
12921
  Label.displayName = "Label_UI";
12858
12922
 
12859
12923
  // src/components/FormField/FormField.tsx
12860
- var import_jsx_runtime260 = require("react/jsx-runtime");
12861
- var StyledFormField = import_styled_components73.default.div`
12924
+ var import_jsx_runtime261 = require("react/jsx-runtime");
12925
+ var StyledFormField = import_styled_components74.default.div`
12862
12926
  --form-field-spacing: var(--wui-space-01);
12863
12927
  --form-field-spacing-inline: var(--wui-space-02);
12864
12928
  --form-field-error-color: var(--wui-color-text-secondary-error);
@@ -12888,7 +12952,7 @@ var StyledFormField = import_styled_components73.default.div`
12888
12952
  grid-template-rows: 1fr;
12889
12953
  }
12890
12954
  `;
12891
- var StyledErrorList = import_styled_components73.default.ul`
12955
+ var StyledErrorList = import_styled_components74.default.ul`
12892
12956
  margin: 0;
12893
12957
  padding: 0;
12894
12958
  padding-left: var(--wui-space-04);
@@ -12900,7 +12964,7 @@ var ErrorMessages = ({ errors, id }) => {
12900
12964
  const isErrorArray = (0, import_type_guards39.isArray)(errors);
12901
12965
  const isMultipleErrors = isErrorArray && errors.length > 1;
12902
12966
  if (!isErrorArray) {
12903
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12967
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12904
12968
  Text,
12905
12969
  {
12906
12970
  colorScheme: "error",
@@ -12913,7 +12977,7 @@ var ErrorMessages = ({ errors, id }) => {
12913
12977
  );
12914
12978
  }
12915
12979
  if (!isMultipleErrors) {
12916
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12980
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12917
12981
  Text,
12918
12982
  {
12919
12983
  colorScheme: "error",
@@ -12925,7 +12989,7 @@ var ErrorMessages = ({ errors, id }) => {
12925
12989
  id
12926
12990
  );
12927
12991
  }
12928
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12992
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12929
12993
  Text,
12930
12994
  {
12931
12995
  colorScheme: "error",
@@ -12989,18 +13053,18 @@ var FormField = ({
12989
13053
  };
12990
13054
  }
12991
13055
  import_react59.Children.only(children);
12992
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
13056
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
12993
13057
  StyledFormField,
12994
13058
  {
12995
13059
  ...props,
12996
13060
  "data-label-position": labelPosition ?? formState.labelPosition,
12997
13061
  children: [
12998
- !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Label, { htmlFor: computedId, children: label }),
12999
- (0, import_type_guards39.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
13062
+ !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Label, { htmlFor: computedId, children: label }),
13063
+ (0, import_type_guards39.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
13000
13064
  (0, import_react59.cloneElement)(children, childProps),
13001
- (0, import_type_guards39.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(import_jsx_runtime260.Fragment, { children: [
13002
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("div", {}),
13003
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
13065
+ (0, import_type_guards39.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(import_jsx_runtime261.Fragment, { children: [
13066
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("div", {}),
13067
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
13004
13068
  ErrorMessages,
13005
13069
  {
13006
13070
  errors: computedError,
@@ -13016,7 +13080,7 @@ FormField.displayName = "FormField_UI";
13016
13080
 
13017
13081
  // src/components/FormGroup/RadioGroup.tsx
13018
13082
  var import_react60 = require("react");
13019
- var import_jsx_runtime261 = require("react/jsx-runtime");
13083
+ var import_jsx_runtime262 = require("react/jsx-runtime");
13020
13084
  var RadioGroupContext = (0, import_react60.createContext)(null);
13021
13085
  var useRadioGroup = () => {
13022
13086
  return (0, import_react60.useContext)(RadioGroupContext);
@@ -13037,30 +13101,30 @@ var RadioGroup = ({
13037
13101
  value: derivedValue
13038
13102
  };
13039
13103
  }, [name, derivedValue, onChange]);
13040
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(FormGroup, { ...props, children }) });
13104
+ return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(FormGroup, { ...props, children }) });
13041
13105
  };
13042
13106
  RadioGroup.displayName = "RadioGroup_UI";
13043
13107
 
13044
13108
  // src/components/Grid/Grid.tsx
13045
13109
  var import_react61 = require("react");
13046
- var import_styled_components74 = __toESM(require("styled-components"));
13110
+ var import_styled_components75 = __toESM(require("styled-components"));
13047
13111
  var import_type_guards40 = require("@wistia/type-guards");
13048
- var import_jsx_runtime262 = require("react/jsx-runtime");
13112
+ var import_jsx_runtime263 = require("react/jsx-runtime");
13049
13113
  var DEFAULT_ELEMENT5 = "div";
13050
13114
  var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
13051
13115
  if (minChildWidth === "auto" && maxColumns === "auto") {
13052
- return import_styled_components74.css`
13116
+ return import_styled_components75.css`
13053
13117
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
13054
13118
  `;
13055
13119
  }
13056
13120
  const gridMode = expandItems ? "auto-fit" : "auto-fill";
13057
13121
  const minChildWidthValue = minChildWidth === "auto" ? 0 : minChildWidth;
13058
13122
  if (maxColumns === "auto") {
13059
- return import_styled_components74.css`
13123
+ return import_styled_components75.css`
13060
13124
  grid-template-columns: repeat(${gridMode}, minmax(${minChildWidthValue}px, 1fr));
13061
13125
  `;
13062
13126
  }
13063
- return import_styled_components74.css`
13127
+ return import_styled_components75.css`
13064
13128
  /* Adapted from https://9elements.com/blog/building-a-rock-solid-auto-grid/ */
13065
13129
  --wui-grid-total-column-gap-width: calc(${maxColumns - 1} * var(--wui-grid-column-gap));
13066
13130
  --wui-grid-max-column-width: calc(
@@ -13073,7 +13137,7 @@ var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
13073
13137
  );
13074
13138
  `;
13075
13139
  };
13076
- var StyledGrid = import_styled_components74.default.div`
13140
+ var StyledGrid = import_styled_components75.default.div`
13077
13141
  --wui-grid-column-gap: ${({ $columnGap }) => `var(--wui-${$columnGap})`};
13078
13142
  --wui-grid-row-gap: ${({ $rowGap }) => `var(--wui-${$rowGap})`};
13079
13143
 
@@ -13097,7 +13161,7 @@ var GridComponent = (0, import_react61.forwardRef)(
13097
13161
  const { column, row } = (0, import_type_guards40.isRecord)(responsiveGap) ? responsiveGap : { column: responsiveGap, row: responsiveGap };
13098
13162
  const responsiveColumns = useResponsiveProp(columns);
13099
13163
  const responsiveMinChildWidth = useResponsiveProp(minChildWidth);
13100
- return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
13164
+ return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13101
13165
  StyledGrid,
13102
13166
  {
13103
13167
  ref,
@@ -13117,11 +13181,11 @@ GridComponent.displayName = "Grid_UI";
13117
13181
  var Grid = makePolymorphic(GridComponent);
13118
13182
 
13119
13183
  // src/components/InputClickToCopy/InputClickToCopy.tsx
13120
- var import_styled_components75 = __toESM(require("styled-components"));
13184
+ var import_styled_components76 = __toESM(require("styled-components"));
13121
13185
  var import_react62 = require("react");
13122
13186
  var import_type_guards41 = require("@wistia/type-guards");
13123
- var import_jsx_runtime263 = require("react/jsx-runtime");
13124
- var StyledInput2 = (0, import_styled_components75.default)(Input)`
13187
+ var import_jsx_runtime264 = require("react/jsx-runtime");
13188
+ var StyledInput2 = (0, import_styled_components76.default)(Input)`
13125
13189
  &:not([aria-disabled='true']) {
13126
13190
  cursor: pointer;
13127
13191
  }
@@ -13158,7 +13222,7 @@ var InputClickToCopy = (0, import_react62.forwardRef)(
13158
13222
  return value;
13159
13223
  });
13160
13224
  };
13161
- return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13225
+ return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13162
13226
  StyledInput2,
13163
13227
  {
13164
13228
  "aria-label": "Click to Copy",
@@ -13166,13 +13230,13 @@ var InputClickToCopy = (0, import_react62.forwardRef)(
13166
13230
  ref,
13167
13231
  onClick: handleClick,
13168
13232
  readOnly: true,
13169
- rightIcon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13233
+ rightIcon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13170
13234
  Icon,
13171
13235
  {
13172
13236
  colorScheme: "success",
13173
13237
  type: "checkmark-circle"
13174
13238
  }
13175
- ) : /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Icon, { type: "save-as-copy" }),
13239
+ ) : /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Icon, { type: "save-as-copy" }),
13176
13240
  value
13177
13241
  }
13178
13242
  );
@@ -13181,16 +13245,16 @@ var InputClickToCopy = (0, import_react62.forwardRef)(
13181
13245
  InputClickToCopy.displayName = "InputClickToCopy_UI";
13182
13246
 
13183
13247
  // src/components/KeyboardShortcut/KeyboardShortcut.tsx
13184
- var import_styled_components76 = __toESM(require("styled-components"));
13248
+ var import_styled_components77 = __toESM(require("styled-components"));
13185
13249
  var import_type_guards42 = require("@wistia/type-guards");
13186
- var import_jsx_runtime264 = require("react/jsx-runtime");
13187
- var StyledKeyboardShortcut = import_styled_components76.default.div`
13250
+ var import_jsx_runtime265 = require("react/jsx-runtime");
13251
+ var StyledKeyboardShortcut = import_styled_components77.default.div`
13188
13252
  align-items: center;
13189
13253
  display: flex;
13190
13254
  gap: var(--wui-space-02);
13191
13255
  ${({ $fullWidth }) => $fullWidth && "width: 100%; justify-content: space-between;"}
13192
13256
  `;
13193
- var StyledKey = import_styled_components76.default.kbd`
13257
+ var StyledKey = import_styled_components77.default.kbd`
13194
13258
  align-items: center;
13195
13259
  background: var(--wui-color-bg-surface-secondary);
13196
13260
  border-bottom: 1px solid var(--wui-color-border-secondary);
@@ -13213,11 +13277,11 @@ var StyledKey = import_styled_components76.default.kbd`
13213
13277
  min-width: 20px;
13214
13278
  padding: 0 var(--wui-space-01);
13215
13279
  `;
13216
- var Label2 = import_styled_components76.default.span`
13280
+ var Label2 = import_styled_components77.default.span`
13217
13281
  color: var(--wui-color-text);
13218
13282
  font-size: 12px;
13219
13283
  `;
13220
- var KeysContainer = import_styled_components76.default.div`
13284
+ var KeysContainer = import_styled_components77.default.div`
13221
13285
  display: flex;
13222
13286
  gap: var(--wui-space-01);
13223
13287
  `;
@@ -13270,14 +13334,14 @@ var KeyboardShortcut = ({
13270
13334
  keyboardKeys,
13271
13335
  fullWidth = false,
13272
13336
  ...otherProps
13273
- }) => /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
13337
+ }) => /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
13274
13338
  StyledKeyboardShortcut,
13275
13339
  {
13276
13340
  $fullWidth: fullWidth,
13277
13341
  ...otherProps,
13278
13342
  children: [
13279
- (0, import_type_guards42.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Label2, { children: label }),
13280
- /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13343
+ (0, import_type_guards42.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Label2, { children: label }),
13344
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
13281
13345
  StyledKey,
13282
13346
  {
13283
13347
  children: keyToString(keyboardKey)
@@ -13291,26 +13355,26 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
13291
13355
 
13292
13356
  // src/components/List/List.tsx
13293
13357
  var import_type_guards44 = require("@wistia/type-guards");
13294
- var import_styled_components78 = __toESM(require("styled-components"));
13358
+ var import_styled_components79 = __toESM(require("styled-components"));
13295
13359
 
13296
13360
  // src/components/List/ListItem.tsx
13297
- var import_styled_components77 = __toESM(require("styled-components"));
13361
+ var import_styled_components78 = __toESM(require("styled-components"));
13298
13362
  var import_type_guards43 = require("@wistia/type-guards");
13299
- var import_jsx_runtime265 = require("react/jsx-runtime");
13300
- var ListItemComponent = import_styled_components77.default.li`
13363
+ var import_jsx_runtime266 = require("react/jsx-runtime");
13364
+ var ListItemComponent = import_styled_components78.default.li`
13301
13365
  margin-bottom: var(--wui-space-02);
13302
13366
  `;
13303
13367
  var ListItem = ({ children }) => {
13304
13368
  if ((0, import_type_guards43.isNil)(children)) {
13305
13369
  return null;
13306
13370
  }
13307
- return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(ListItemComponent, { children });
13371
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(ListItemComponent, { children });
13308
13372
  };
13309
13373
  ListItem.displayName = "ListItem_UI";
13310
13374
 
13311
13375
  // src/components/List/List.tsx
13312
- var import_jsx_runtime266 = require("react/jsx-runtime");
13313
- var spacesStyle = import_styled_components78.css`
13376
+ var import_jsx_runtime267 = require("react/jsx-runtime");
13377
+ var spacesStyle = import_styled_components79.css`
13314
13378
  overflow: hidden;
13315
13379
  padding-left: 0;
13316
13380
  vertical-align: bottom;
@@ -13332,7 +13396,7 @@ var spacesStyle = import_styled_components78.css`
13332
13396
  }
13333
13397
  }
13334
13398
  `;
13335
- var commasStyle = import_styled_components78.css`
13399
+ var commasStyle = import_styled_components79.css`
13336
13400
  ${spacesStyle};
13337
13401
 
13338
13402
  li {
@@ -13342,7 +13406,7 @@ var commasStyle = import_styled_components78.css`
13342
13406
  }
13343
13407
  }
13344
13408
  `;
13345
- var slashesStyle = import_styled_components78.css`
13409
+ var slashesStyle = import_styled_components79.css`
13346
13410
  ${spacesStyle};
13347
13411
 
13348
13412
  li {
@@ -13353,7 +13417,7 @@ var slashesStyle = import_styled_components78.css`
13353
13417
  }
13354
13418
  }
13355
13419
  `;
13356
- var breadcrumbsStyle = import_styled_components78.css`
13420
+ var breadcrumbsStyle = import_styled_components79.css`
13357
13421
  ${spacesStyle};
13358
13422
 
13359
13423
  li {
@@ -13364,11 +13428,11 @@ var breadcrumbsStyle = import_styled_components78.css`
13364
13428
  }
13365
13429
  }
13366
13430
  `;
13367
- var unbulletedStyle = import_styled_components78.css`
13431
+ var unbulletedStyle = import_styled_components79.css`
13368
13432
  list-style: none;
13369
13433
  padding-left: 0;
13370
13434
  `;
13371
- var ListComponent = import_styled_components78.default.ul`
13435
+ var ListComponent = import_styled_components79.default.ul`
13372
13436
  list-style-position: outside;
13373
13437
  margin: 0 0 var(--wui-space-01);
13374
13438
  padding: 0 0 0 var(--wui-space-04);
@@ -13395,7 +13459,7 @@ var ListComponent = import_styled_components78.default.ul`
13395
13459
  `;
13396
13460
  var renderListComponent = (listItems, variant, { ...otherProps }) => {
13397
13461
  const elementType = variant === "ordered" ? "ol" : "ul";
13398
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
13462
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
13399
13463
  ListComponent,
13400
13464
  {
13401
13465
  as: elementType,
@@ -13412,7 +13476,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
13412
13476
  const nextItem = listItems[i + 1];
13413
13477
  const key = `item-${itemCount += 1}`;
13414
13478
  if (Array.isArray(nextItem)) {
13415
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(ListItem, { children: [
13479
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(ListItem, { children: [
13416
13480
  item,
13417
13481
  renderListFromArray(nextItem, variant, otherProps)
13418
13482
  ] }, key);
@@ -13420,7 +13484,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
13420
13484
  if (Array.isArray(item)) {
13421
13485
  return null;
13422
13486
  }
13423
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(ListItem, { children: item }, key);
13487
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(ListItem, { children: item }, key);
13424
13488
  });
13425
13489
  return renderListComponent(items, variant, otherProps);
13426
13490
  };
@@ -13449,7 +13513,7 @@ List.displayName = "List_UI";
13449
13513
 
13450
13514
  // src/components/Menu/Menu.tsx
13451
13515
  var import_react64 = require("react");
13452
- var import_styled_components79 = __toESM(require("styled-components"));
13516
+ var import_styled_components80 = __toESM(require("styled-components"));
13453
13517
  var import_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
13454
13518
  var import_type_guards45 = require("@wistia/type-guards");
13455
13519
 
@@ -13459,8 +13523,8 @@ var MenuContext = (0, import_react63.createContext)({ compact: false });
13459
13523
  var useMenuContext = () => (0, import_react63.useContext)(MenuContext);
13460
13524
 
13461
13525
  // src/components/Menu/Menu.tsx
13462
- var import_jsx_runtime267 = require("react/jsx-runtime");
13463
- var open = import_styled_components79.keyframes`
13526
+ var import_jsx_runtime268 = require("react/jsx-runtime");
13527
+ var open = import_styled_components80.keyframes`
13464
13528
  from {
13465
13529
  opacity: 0;
13466
13530
  transform: scale(.97) translateY(-8px);
@@ -13470,7 +13534,7 @@ var open = import_styled_components79.keyframes`
13470
13534
  transform: scale(1);
13471
13535
  }
13472
13536
  `;
13473
- var close = import_styled_components79.keyframes`
13537
+ var close = import_styled_components80.keyframes`
13474
13538
  from {
13475
13539
  opacity: 1;
13476
13540
  transform: scale(1);
@@ -13480,7 +13544,7 @@ var close = import_styled_components79.keyframes`
13480
13544
  transform: scale(.97) translateY(-8px);
13481
13545
  }
13482
13546
  `;
13483
- var menuItemCss = import_styled_components79.css`
13547
+ var menuItemCss = import_styled_components80.css`
13484
13548
  --menu-label-description-gap: var(--wui-space-01);
13485
13549
  --menu-item-inner-gap: var(--wui-space-03);
13486
13550
  --menu-item-left-icon-size: 24px;
@@ -13491,7 +13555,7 @@ var menuItemCss = import_styled_components79.css`
13491
13555
  --menu-label-line-height: var(--wui-typography-label-3-line-height);
13492
13556
  --menu-divider-margin: var(--wui-space-02);
13493
13557
  `;
13494
- var compactMenuItemCss = import_styled_components79.css`
13558
+ var compactMenuItemCss = import_styled_components80.css`
13495
13559
  --menu-label-description-gap: 0;
13496
13560
  --menu-item-inner-gap: var(--wui-space-02);
13497
13561
  --menu-item-left-icon-size: 16px;
@@ -13502,7 +13566,7 @@ var compactMenuItemCss = import_styled_components79.css`
13502
13566
  --menu-label-line-height: var(--wui-typography-label-4-line-height);
13503
13567
  --menu-divider-margin: var(--wui-space-01);
13504
13568
  `;
13505
- var menuContentCss = import_styled_components79.css`
13569
+ var menuContentCss = import_styled_components80.css`
13506
13570
  --menu-font-family: var(--wui-typography-family-default);
13507
13571
  --menu-bg: var(--wui-color-bg-surface);
13508
13572
  --menu-shadow: var(--wui-elevation-01);
@@ -13544,7 +13608,7 @@ var menuContentCss = import_styled_components79.css`
13544
13608
  margin: var(--menu-divider-margin) 0;
13545
13609
  }
13546
13610
  `;
13547
- var MenuContent = (0, import_styled_components79.default)(import_react_dropdown_menu.DropdownMenuContent)`
13611
+ var MenuContent = (0, import_styled_components80.default)(import_react_dropdown_menu.DropdownMenuContent)`
13548
13612
  ${menuContentCss}
13549
13613
  min-width: var(--radix-dropdown-menu-trigger-width);
13550
13614
  `;
@@ -13572,25 +13636,25 @@ var Menu = (0, import_react64.forwardRef)(
13572
13636
  onOpenChange: () => null
13573
13637
  };
13574
13638
  }
13575
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(
13639
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
13576
13640
  import_react_dropdown_menu.DropdownMenu,
13577
13641
  {
13578
13642
  modal: false,
13579
13643
  ...controlProps,
13580
13644
  children: [
13581
- /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards45.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
13645
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards45.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13582
13646
  Button,
13583
13647
  {
13584
13648
  ref,
13585
13649
  "aria-expanded": isOpen,
13586
13650
  disabled,
13587
13651
  forceState: isOpen ? "active" : void 0,
13588
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(Icon, { type: "caret-down" }),
13652
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(Icon, { type: "caret-down" }),
13589
13653
  ...triggerProps,
13590
13654
  children: label
13591
13655
  }
13592
13656
  ) }),
13593
- /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
13657
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13594
13658
  MenuContent,
13595
13659
  {
13596
13660
  ...props,
@@ -13614,19 +13678,19 @@ Menu.displayName = "Menu_UI";
13614
13678
  Menu.displayName = "Menu_UI";
13615
13679
 
13616
13680
  // src/components/Menu/MenuLabel.tsx
13617
- var import_styled_components80 = __toESM(require("styled-components"));
13681
+ var import_styled_components81 = __toESM(require("styled-components"));
13618
13682
  var import_react_dropdown_menu2 = require("@radix-ui/react-dropdown-menu");
13619
- var import_jsx_runtime268 = require("react/jsx-runtime");
13620
- var StyledMenuLabel = (0, import_styled_components80.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
13683
+ var import_jsx_runtime269 = require("react/jsx-runtime");
13684
+ var StyledMenuLabel = (0, import_styled_components81.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
13621
13685
  padding: var(--wui-space-02);
13622
13686
  `;
13623
13687
  var MenuLabel = ({ children, ...props }) => {
13624
- return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13688
+ return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
13625
13689
  StyledMenuLabel,
13626
13690
  {
13627
13691
  asChild: true,
13628
13692
  ...props,
13629
- children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13693
+ children: /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
13630
13694
  Heading,
13631
13695
  {
13632
13696
  renderAs: "span",
@@ -13642,16 +13706,16 @@ MenuLabel.displayName = "MenuLabel_UI";
13642
13706
 
13643
13707
  // src/components/Menu/SubMenu.tsx
13644
13708
  var import_react66 = require("react");
13645
- var import_styled_components83 = __toESM(require("styled-components"));
13709
+ var import_styled_components84 = __toESM(require("styled-components"));
13646
13710
  var import_react_dropdown_menu3 = require("@radix-ui/react-dropdown-menu");
13647
13711
  var import_type_guards47 = require("@wistia/type-guards");
13648
13712
 
13649
13713
  // src/components/Menu/MenuItemButton.tsx
13650
13714
  var import_react65 = require("react");
13651
- var import_styled_components81 = __toESM(require("styled-components"));
13715
+ var import_styled_components82 = __toESM(require("styled-components"));
13652
13716
  var import_type_guards46 = require("@wistia/type-guards");
13653
- var import_jsx_runtime269 = require("react/jsx-runtime");
13654
- var StyledButton3 = (0, import_styled_components81.default)(Button)`
13717
+ var import_jsx_runtime270 = require("react/jsx-runtime");
13718
+ var StyledButton3 = (0, import_styled_components82.default)(Button)`
13655
13719
  ${({ colorScheme }) => getColorScheme(colorScheme)};
13656
13720
 
13657
13721
  display: flex;
@@ -13690,7 +13754,7 @@ var StyledButton3 = (0, import_styled_components81.default)(Button)`
13690
13754
  padding-left: var(--wui-space-04);
13691
13755
  }
13692
13756
  `;
13693
- var StyledLeftIconContainer = import_styled_components81.default.div`
13757
+ var StyledLeftIconContainer = import_styled_components82.default.div`
13694
13758
  height: var(--menu-item-left-icon-size);
13695
13759
  width: var(--menu-item-left-icon-size);
13696
13760
 
@@ -13701,7 +13765,7 @@ var StyledLeftIconContainer = import_styled_components81.default.div`
13701
13765
  }
13702
13766
  }
13703
13767
  `;
13704
- var StyledRightIconContainer = import_styled_components81.default.div`
13768
+ var StyledRightIconContainer = import_styled_components82.default.div`
13705
13769
  height: var(--menu-item-right-icon-size);
13706
13770
  width: var(--menu-item-right-icon-size);
13707
13771
 
@@ -13712,13 +13776,13 @@ var StyledRightIconContainer = import_styled_components81.default.div`
13712
13776
  }
13713
13777
  }
13714
13778
  `;
13715
- var StyledLabelAndDescriptionContainer = import_styled_components81.default.div`
13779
+ var StyledLabelAndDescriptionContainer = import_styled_components82.default.div`
13716
13780
  display: flex;
13717
13781
  flex-direction: column;
13718
13782
  gap: var(--menu-label-description-gap);
13719
13783
  flex-basis: 100%;
13720
13784
  `;
13721
- var StyledBadgeContainer = import_styled_components81.default.div`
13785
+ var StyledBadgeContainer = import_styled_components82.default.div`
13722
13786
  align-self: start;
13723
13787
  justify-self: end;
13724
13788
  font-size: var(--wui-typography-label-4-size);
@@ -13733,7 +13797,7 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13733
13797
  colorScheme = "error";
13734
13798
  }
13735
13799
  if (appearance === "gated") {
13736
- badge = /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
13800
+ badge = /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
13737
13801
  Icon,
13738
13802
  {
13739
13803
  colorScheme: "purple",
@@ -13745,7 +13809,7 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13745
13809
  }
13746
13810
  );
13747
13811
  }
13748
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
13812
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
13749
13813
  StyledButton3,
13750
13814
  {
13751
13815
  ...props,
@@ -13755,10 +13819,10 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13755
13819
  fullWidth: true,
13756
13820
  unstyled: true,
13757
13821
  children: [
13758
- props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
13759
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledLabelAndDescriptionContainer, { children }),
13760
- (0, import_type_guards46.isNotNil)(badge) || (0, import_type_guards46.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
13761
- props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
13822
+ props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
13823
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledLabelAndDescriptionContainer, { children }),
13824
+ (0, import_type_guards46.isNotNil)(badge) || (0, import_type_guards46.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
13825
+ props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
13762
13826
  ]
13763
13827
  }
13764
13828
  );
@@ -13766,15 +13830,15 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13766
13830
  MenuItemButton.displayName = "MenuItemButton_UI";
13767
13831
 
13768
13832
  // src/components/Menu/MenuItemLabelDescription.tsx
13769
- var import_styled_components82 = __toESM(require("styled-components"));
13770
- var import_jsx_runtime270 = require("react/jsx-runtime");
13771
- var StyledMenuItemLabel = import_styled_components82.default.span``;
13772
- var StyledMenuItemDescription = (0, import_styled_components82.default)(Text)``;
13833
+ var import_styled_components83 = __toESM(require("styled-components"));
13834
+ var import_jsx_runtime271 = require("react/jsx-runtime");
13835
+ var StyledMenuItemLabel = import_styled_components83.default.span``;
13836
+ var StyledMenuItemDescription = (0, import_styled_components83.default)(Text)``;
13773
13837
  var MenuItemLabel = ({ children }) => {
13774
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledMenuItemLabel, { children });
13838
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(StyledMenuItemLabel, { children });
13775
13839
  };
13776
13840
  var MenuItemDescription = ({ children }) => {
13777
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
13841
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
13778
13842
  StyledMenuItemDescription,
13779
13843
  {
13780
13844
  prominence: "secondary",
@@ -13785,18 +13849,18 @@ var MenuItemDescription = ({ children }) => {
13785
13849
  };
13786
13850
 
13787
13851
  // src/components/Menu/SubMenu.tsx
13788
- var import_jsx_runtime271 = require("react/jsx-runtime");
13789
- var SubMenuContent = (0, import_styled_components83.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
13852
+ var import_jsx_runtime272 = require("react/jsx-runtime");
13853
+ var SubMenuContent = (0, import_styled_components84.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
13790
13854
  ${menuContentCss}
13791
13855
 
13792
13856
  ${mq.smAndDown} {
13793
13857
  transform: translateX(-100%) !important;
13794
13858
  }
13795
13859
  `;
13796
- var StyledMobileSubMenuItems = import_styled_components83.default.div`
13860
+ var StyledMobileSubMenuItems = import_styled_components84.default.div`
13797
13861
  margin-left: var(--wui-space-04);
13798
13862
  `;
13799
- var StyledSubTrigger = (0, import_styled_components83.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
13863
+ var StyledSubTrigger = (0, import_styled_components84.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
13800
13864
  outline: none;
13801
13865
 
13802
13866
  &[data-state='open'],
@@ -13807,12 +13871,12 @@ var StyledSubTrigger = (0, import_styled_components83.default)(import_react_drop
13807
13871
  var SubMenuTrigger = ({ icon, ...props }) => {
13808
13872
  const { isSmAndUp } = useMq();
13809
13873
  const Trigger4 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
13810
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
13874
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13811
13875
  MenuItemButton,
13812
13876
  {
13813
13877
  ...props,
13814
13878
  leftIcon: icon,
13815
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Icon, { type: "caret-right" })
13879
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Icon, { type: "caret-right" })
13816
13880
  }
13817
13881
  ) });
13818
13882
  };
@@ -13826,14 +13890,14 @@ var SubMenu = ({
13826
13890
  const { isSmAndUp } = useMq();
13827
13891
  const [isExpanded, setIsExpanded] = (0, import_react66.useState)(false);
13828
13892
  const { compact } = useMenuContext();
13829
- return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
13830
- /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(SubMenuTrigger, { ...props, children: [
13831
- /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemLabel, { children: label }),
13832
- (0, import_type_guards47.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemDescription, { children: description }) : null
13893
+ return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
13894
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(SubMenuTrigger, { ...props, children: [
13895
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemLabel, { children: label }),
13896
+ (0, import_type_guards47.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemDescription, { children: description }) : null
13833
13897
  ] }),
13834
- /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(SubMenuContent, { $compact: compact, children }) })
13835
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
13836
- /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(
13898
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(SubMenuContent, { $compact: compact, children }) })
13899
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
13900
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
13837
13901
  SubMenuTrigger,
13838
13902
  {
13839
13903
  ...props,
@@ -13842,12 +13906,12 @@ var SubMenu = ({
13842
13906
  setIsExpanded((prev) => !prev);
13843
13907
  },
13844
13908
  children: [
13845
- /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemLabel, { children: label }),
13846
- /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemDescription, { children: description })
13909
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemLabel, { children: label }),
13910
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemDescription, { children: description })
13847
13911
  ]
13848
13912
  }
13849
13913
  ),
13850
- /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13914
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13851
13915
  ] });
13852
13916
  };
13853
13917
  SubMenu.displayName = "SubMenu_UI";
@@ -13855,15 +13919,15 @@ SubMenu.displayName = "SubMenu_UI";
13855
13919
  // src/components/Menu/MenuItem.tsx
13856
13920
  var import_react67 = require("react");
13857
13921
  var import_react_dropdown_menu4 = require("@radix-ui/react-dropdown-menu");
13858
- var import_jsx_runtime272 = require("react/jsx-runtime");
13922
+ var import_jsx_runtime273 = require("react/jsx-runtime");
13859
13923
  var MenuItem = (0, import_react67.forwardRef)(
13860
13924
  ({ onSelect = () => null, ...props }, ref) => {
13861
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13925
+ return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13862
13926
  import_react_dropdown_menu4.DropdownMenuItem,
13863
13927
  {
13864
13928
  asChild: true,
13865
13929
  onSelect,
13866
- children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13930
+ children: /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13867
13931
  MenuItemButton,
13868
13932
  {
13869
13933
  ...props,
@@ -13879,19 +13943,19 @@ MenuItem.displayName = "MenuItem_UI";
13879
13943
 
13880
13944
  // src/components/Menu/MenuRadioGroup.tsx
13881
13945
  var import_react_dropdown_menu5 = require("@radix-ui/react-dropdown-menu");
13882
- var import_jsx_runtime273 = require("react/jsx-runtime");
13946
+ var import_jsx_runtime274 = require("react/jsx-runtime");
13883
13947
  var MenuRadioGroup = ({ children, ...props }) => {
13884
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children });
13948
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children });
13885
13949
  };
13886
13950
  MenuRadioGroup.displayName = "MenuRadioGroup_UI";
13887
13951
 
13888
13952
  // src/components/Menu/RadioMenuItem.tsx
13889
13953
  var import_react_dropdown_menu6 = require("@radix-ui/react-dropdown-menu");
13890
- var import_jsx_runtime274 = require("react/jsx-runtime");
13954
+ var import_jsx_runtime275 = require("react/jsx-runtime");
13891
13955
  var RadioMenuItem = ({
13892
13956
  onSelect,
13893
13957
  value,
13894
- indicator = /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13958
+ indicator = /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13895
13959
  Icon,
13896
13960
  {
13897
13961
  size: "sm",
@@ -13901,17 +13965,17 @@ var RadioMenuItem = ({
13901
13965
  ...props
13902
13966
  }) => {
13903
13967
  const extraProps = onSelect ? { onSelect } : {};
13904
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13968
+ return /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13905
13969
  import_react_dropdown_menu6.DropdownMenuRadioItem,
13906
13970
  {
13907
13971
  ...extraProps,
13908
13972
  asChild: true,
13909
13973
  value,
13910
- children: /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13974
+ children: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13911
13975
  MenuItemButton,
13912
13976
  {
13913
13977
  ...props,
13914
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
13978
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
13915
13979
  }
13916
13980
  )
13917
13981
  }
@@ -13922,9 +13986,9 @@ RadioMenuItem.displayName = "RadioMenuItem_UI";
13922
13986
  // src/components/Menu/CheckboxMenuItem.tsx
13923
13987
  var import_react_dropdown_menu7 = require("@radix-ui/react-dropdown-menu");
13924
13988
  var import_type_guards48 = require("@wistia/type-guards");
13925
- var import_jsx_runtime275 = require("react/jsx-runtime");
13989
+ var import_jsx_runtime276 = require("react/jsx-runtime");
13926
13990
  var CheckboxIndicator = ({ checked, ...props }) => {
13927
- return checked ? /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
13991
+ return checked ? /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
13928
13992
  "svg",
13929
13993
  {
13930
13994
  ...props,
@@ -13934,14 +13998,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13934
13998
  width: "24",
13935
13999
  xmlns: "http://www.w3.org/2000/svg",
13936
14000
  children: [
13937
- /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14001
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13938
14002
  "path",
13939
14003
  {
13940
14004
  d: "m4 8c0-2.20914 1.79086-4 4-4h8c2.2091 0 4 1.79086 4 4v8c0 2.2091-1.7909 4-4 4h-8c-2.20914 0-4-1.7909-4-4z",
13941
14005
  fill: "#2949e5"
13942
14006
  }
13943
14007
  ),
13944
- /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14008
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13945
14009
  "path",
13946
14010
  {
13947
14011
  d: "m10.4728 15.1931-3.09523-3.1131c-.18596-.187-.18596-.4902 0-.6773l.67341-.6773c.18596-.187.48749-.187.67344 0l2.08508 2.0971 4.4661-4.49174c.1859-.18703.4875-.18703.6734 0l.6734.67731c.186.18703.186.49027 0 .67731l-5.4762 5.50772c-.1859.187-.4874.187-.6734 0z",
@@ -13950,7 +14014,7 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13950
14014
  )
13951
14015
  ]
13952
14016
  }
13953
- ) : /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
14017
+ ) : /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
13954
14018
  "svg",
13955
14019
  {
13956
14020
  ...props,
@@ -13960,14 +14024,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13960
14024
  width: "24",
13961
14025
  xmlns: "http://www.w3.org/2000/svg",
13962
14026
  children: [
13963
- /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14027
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13964
14028
  "path",
13965
14029
  {
13966
14030
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
13967
14031
  fill: "#fcfcfd"
13968
14032
  }
13969
14033
  ),
13970
- /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14034
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13971
14035
  "path",
13972
14036
  {
13973
14037
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
@@ -13984,19 +14048,19 @@ var CheckboxMenuItem = ({
13984
14048
  onCheckedChange,
13985
14049
  ...props
13986
14050
  }) => {
13987
- return /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14051
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13988
14052
  import_react_dropdown_menu7.DropdownMenuCheckboxItem,
13989
14053
  {
13990
14054
  asChild: true,
13991
14055
  checked,
13992
14056
  onCheckedChange,
13993
14057
  onSelect,
13994
- children: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14058
+ children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13995
14059
  MenuItemButton,
13996
14060
  {
13997
14061
  ...props,
13998
- leftIcon: (0, import_type_guards48.isNotNil)(props.icon) ? props.icon : /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(CheckboxIndicator, { checked }),
13999
- rightIcon: (0, import_type_guards48.isNotNil)(props.icon) ? /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(import_react_dropdown_menu7.DropdownMenuItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(Icon, { type: "checkmark" }) }) : void 0
14062
+ leftIcon: (0, import_type_guards48.isNotNil)(props.icon) ? props.icon : /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(CheckboxIndicator, { checked }),
14063
+ rightIcon: (0, import_type_guards48.isNotNil)(props.icon) ? /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(import_react_dropdown_menu7.DropdownMenuItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(Icon, { type: "checkmark" }) }) : void 0
14000
14064
  }
14001
14065
  )
14002
14066
  }
@@ -14007,17 +14071,17 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem_UI";
14007
14071
  // src/components/Menu/FilterMenu.tsx
14008
14072
  var import_react68 = require("react");
14009
14073
  var import_react_dropdown_menu8 = require("@radix-ui/react-dropdown-menu");
14010
- var import_jsx_runtime276 = require("react/jsx-runtime");
14074
+ var import_jsx_runtime277 = require("react/jsx-runtime");
14011
14075
  var FilterMenuItem = CheckboxMenuItem;
14012
14076
  var FilterMenu = (0, import_react68.forwardRef)(
14013
14077
  ({ value, onChange, searchValue, onSearchValueChange, children, ...props }, ref) => {
14014
- return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
14078
+ return /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(
14015
14079
  Menu,
14016
14080
  {
14017
14081
  ...props,
14018
14082
  ref,
14019
14083
  children: [
14020
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14084
+ /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14021
14085
  Card,
14022
14086
  {
14023
14087
  alignItems: "flex-end",
@@ -14032,7 +14096,7 @@ var FilterMenu = (0, import_react68.forwardRef)(
14032
14096
  right: 0,
14033
14097
  margin: "1px"
14034
14098
  },
14035
- children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14099
+ children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14036
14100
  Input,
14037
14101
  {
14038
14102
  autoFocus: true,
@@ -14058,7 +14122,7 @@ var FilterMenu = (0, import_react68.forwardRef)(
14058
14122
  )
14059
14123
  }
14060
14124
  ),
14061
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14125
+ /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14062
14126
  MenuItem,
14063
14127
  {
14064
14128
  disabled: true,
@@ -14066,13 +14130,13 @@ var FilterMenu = (0, import_react68.forwardRef)(
14066
14130
  children: " "
14067
14131
  }
14068
14132
  ),
14069
- import_react68.Children.toArray(children).length > 0 ? children : /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(MenuItem, { disabled: true, children: "No results found" }),
14070
- value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14133
+ import_react68.Children.toArray(children).length > 0 ? children : /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(MenuItem, { disabled: true, children: "No results found" }),
14134
+ value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14071
14135
  import_react_dropdown_menu8.DropdownMenuItem,
14072
14136
  {
14073
14137
  disabled: true,
14074
14138
  style: { marginTop: "24px" },
14075
- children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14139
+ children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14076
14140
  Card,
14077
14141
  {
14078
14142
  alignItems: "flex-end",
@@ -14087,7 +14151,7 @@ var FilterMenu = (0, import_react68.forwardRef)(
14087
14151
  right: 0,
14088
14152
  margin: "1px"
14089
14153
  },
14090
- children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14154
+ children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14091
14155
  Button,
14092
14156
  {
14093
14157
  onClick: () => onChange([]),
@@ -14108,36 +14172,36 @@ FilterMenu.displayName = "FilterMenu_UI";
14108
14172
 
14109
14173
  // src/components/Modal/Modal.tsx
14110
14174
  var import_react71 = require("react");
14111
- var import_styled_components88 = __toESM(require("styled-components"));
14175
+ var import_styled_components89 = __toESM(require("styled-components"));
14112
14176
  var import_react_dialog5 = require("@radix-ui/react-dialog");
14113
14177
  var import_type_guards50 = require("@wistia/type-guards");
14114
14178
 
14115
14179
  // src/components/Modal/ModalHeader.tsx
14116
- var import_styled_components85 = __toESM(require("styled-components"));
14180
+ var import_styled_components86 = __toESM(require("styled-components"));
14117
14181
  var import_react_dialog2 = require("@radix-ui/react-dialog");
14118
14182
 
14119
14183
  // src/components/Modal/ModalCloseButton.tsx
14120
- var import_styled_components84 = __toESM(require("styled-components"));
14184
+ var import_styled_components85 = __toESM(require("styled-components"));
14121
14185
  var import_react_dialog = require("@radix-ui/react-dialog");
14122
- var import_jsx_runtime277 = require("react/jsx-runtime");
14123
- var CloseButton = (0, import_styled_components84.default)(import_react_dialog.Close)`
14186
+ var import_jsx_runtime278 = require("react/jsx-runtime");
14187
+ var CloseButton = (0, import_styled_components85.default)(import_react_dialog.Close)`
14124
14188
  align-self: start;
14125
14189
  `;
14126
14190
  var ModalCloseButton = () => {
14127
- return /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14191
+ return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
14128
14192
  IconButton,
14129
14193
  {
14130
14194
  label: "Dismiss modal",
14131
14195
  size: "sm",
14132
14196
  variant: "ghost",
14133
- children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(Icon, { type: "close" })
14197
+ children: /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Icon, { type: "close" })
14134
14198
  }
14135
14199
  ) });
14136
14200
  };
14137
14201
 
14138
14202
  // src/components/Modal/ModalHeader.tsx
14139
- var import_jsx_runtime278 = require("react/jsx-runtime");
14140
- var Header = import_styled_components85.default.header`
14203
+ var import_jsx_runtime279 = require("react/jsx-runtime");
14204
+ var Header = import_styled_components86.default.header`
14141
14205
  display: flex;
14142
14206
  order: 1;
14143
14207
  gap: var(--wui-space-01);
@@ -14148,7 +14212,7 @@ var Header = import_styled_components85.default.header`
14148
14212
  margin: 0 0 var(--wui-space-03);
14149
14213
  }
14150
14214
  `;
14151
- var Title = (0, import_styled_components85.default)(import_react_dialog2.Title)`
14215
+ var Title = (0, import_styled_components86.default)(import_react_dialog2.Title)`
14152
14216
  font-family: var(--wui-typography-heading-2-family);
14153
14217
  line-height: var(--wui-typography-heading-2-line-height);
14154
14218
  font-size: var(--wui-typography-heading-2-size);
@@ -14159,16 +14223,16 @@ var ModalHeader = ({
14159
14223
  hideTitle,
14160
14224
  hideCloseButton
14161
14225
  }) => {
14162
- const TitleComponent = hideTitle ? /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Title, { children: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Title, { children: title });
14163
- return /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)(Header, { $hideTitle: hideTitle, children: [
14226
+ const TitleComponent = hideTitle ? /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(Title, { children: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(Title, { children: title });
14227
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsxs)(Header, { $hideTitle: hideTitle, children: [
14164
14228
  TitleComponent,
14165
- hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(ModalCloseButton, {})
14229
+ hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(ModalCloseButton, {})
14166
14230
  ] });
14167
14231
  };
14168
14232
 
14169
14233
  // src/components/Modal/ModalContent.tsx
14170
14234
  var import_react70 = require("react");
14171
- var import_styled_components86 = __toESM(require("styled-components"));
14235
+ var import_styled_components87 = __toESM(require("styled-components"));
14172
14236
  var import_react_dialog3 = require("@radix-ui/react-dialog");
14173
14237
 
14174
14238
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -14191,8 +14255,8 @@ var useFocusRestore = () => {
14191
14255
  };
14192
14256
 
14193
14257
  // src/components/Modal/ModalContent.tsx
14194
- var import_jsx_runtime279 = require("react/jsx-runtime");
14195
- var modalEnter = import_styled_components86.keyframes`
14258
+ var import_jsx_runtime280 = require("react/jsx-runtime");
14259
+ var modalEnter = import_styled_components87.keyframes`
14196
14260
  from {
14197
14261
  opacity: 0;
14198
14262
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
@@ -14203,7 +14267,7 @@ var modalEnter = import_styled_components86.keyframes`
14203
14267
  transform: translateX(-50%) translateY(var(--wui-modal-translate-y));
14204
14268
  }
14205
14269
  `;
14206
- var modalExit = import_styled_components86.keyframes`
14270
+ var modalExit = import_styled_components87.keyframes`
14207
14271
  from {
14208
14272
  opacity: 1;
14209
14273
  transform: translateX(-50%) translateY(var(--wui-modal-translate-y));
@@ -14214,7 +14278,7 @@ var modalExit = import_styled_components86.keyframes`
14214
14278
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
14215
14279
  }
14216
14280
  `;
14217
- var centeredModalStyles = import_styled_components86.css`
14281
+ var centeredModalStyles = import_styled_components87.css`
14218
14282
  --wui-modal-screen-offset: var(--wui-space-05);
14219
14283
  --wui-modal-translate-y: -50%;
14220
14284
 
@@ -14230,7 +14294,7 @@ var centeredModalStyles = import_styled_components86.css`
14230
14294
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
14231
14295
  }
14232
14296
  `;
14233
- var fixedTopModalStyles = import_styled_components86.css`
14297
+ var fixedTopModalStyles = import_styled_components87.css`
14234
14298
  --wui-modal-screen-offset-top: 15vh;
14235
14299
  --wui-modal-screen-offset-bottom: 5vh;
14236
14300
  --wui-modal-translate-y: 0%;
@@ -14249,7 +14313,7 @@ var fixedTopModalStyles = import_styled_components86.css`
14249
14313
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
14250
14314
  }
14251
14315
  `;
14252
- var slideInRight = import_styled_components86.keyframes`
14316
+ var slideInRight = import_styled_components87.keyframes`
14253
14317
  from {
14254
14318
  opacity: 0;
14255
14319
  transform: translateX(100%);
@@ -14260,7 +14324,7 @@ var slideInRight = import_styled_components86.keyframes`
14260
14324
  transform: translateX(0);
14261
14325
  }
14262
14326
  `;
14263
- var slideOutRight = import_styled_components86.keyframes`
14327
+ var slideOutRight = import_styled_components87.keyframes`
14264
14328
  from {
14265
14329
  opacity: 1;
14266
14330
  transform: translateX(0);
@@ -14271,7 +14335,7 @@ var slideOutRight = import_styled_components86.keyframes`
14271
14335
  transform: translateX(100%);
14272
14336
  }
14273
14337
  `;
14274
- var rightSidePanelModalStyles = import_styled_components86.css`
14338
+ var rightSidePanelModalStyles = import_styled_components87.css`
14275
14339
  --wui-modal-screen-offset: var(--wui-space-05);
14276
14340
 
14277
14341
  height: calc(100vh - var(--wui-modal-screen-offset) * 2);
@@ -14289,7 +14353,7 @@ var positionStyleMap = {
14289
14353
  "fixed-top": fixedTopModalStyles,
14290
14354
  "right-side-panel": rightSidePanelModalStyles
14291
14355
  };
14292
- var StyledModalContent = (0, import_styled_components86.default)(import_react_dialog3.Content)`
14356
+ var StyledModalContent = (0, import_styled_components87.default)(import_react_dialog3.Content)`
14293
14357
  position: fixed;
14294
14358
  display: flex;
14295
14359
  flex-direction: column;
@@ -14320,7 +14384,7 @@ var StyledModalContent = (0, import_styled_components86.default)(import_react_di
14320
14384
  var ModalContent = (0, import_react70.forwardRef)(
14321
14385
  ({ width, positionVariant = "fixed-top", children, ...props }, ref) => {
14322
14386
  useFocusRestore();
14323
- return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
14387
+ return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14324
14388
  StyledModalContent,
14325
14389
  {
14326
14390
  ref,
@@ -14336,8 +14400,8 @@ var ModalContent = (0, import_react70.forwardRef)(
14336
14400
 
14337
14401
  // src/components/Modal/ModalOverlay.tsx
14338
14402
  var import_react_dialog4 = require("@radix-ui/react-dialog");
14339
- var import_styled_components87 = __toESM(require("styled-components"));
14340
- var backdropShow = import_styled_components87.keyframes`
14403
+ var import_styled_components88 = __toESM(require("styled-components"));
14404
+ var backdropShow = import_styled_components88.keyframes`
14341
14405
  from {
14342
14406
  opacity: 0;
14343
14407
  }
@@ -14346,7 +14410,7 @@ var backdropShow = import_styled_components87.keyframes`
14346
14410
  opacity: 1;
14347
14411
  }
14348
14412
  `;
14349
- var backdropHide = import_styled_components87.keyframes`
14413
+ var backdropHide = import_styled_components88.keyframes`
14350
14414
  from {
14351
14415
  opacity: 1;
14352
14416
  }
@@ -14355,7 +14419,7 @@ var backdropHide = import_styled_components87.keyframes`
14355
14419
  opacity: 0;
14356
14420
  }
14357
14421
  `;
14358
- var ModalOverlay = (0, import_styled_components87.default)(import_react_dialog4.DialogOverlay)`
14422
+ var ModalOverlay = (0, import_styled_components88.default)(import_react_dialog4.DialogOverlay)`
14359
14423
  animation: ${backdropShow} var(--wui-motion-duration-02);
14360
14424
  background: var(--wui-color-backdrop);
14361
14425
  inset: 0;
@@ -14368,9 +14432,9 @@ var ModalOverlay = (0, import_styled_components87.default)(import_react_dialog4.
14368
14432
  `;
14369
14433
 
14370
14434
  // src/components/Modal/Modal.tsx
14371
- var import_jsx_runtime280 = require("react/jsx-runtime");
14435
+ var import_jsx_runtime281 = require("react/jsx-runtime");
14372
14436
  var DEFAULT_MODAL_WIDTH = "532px";
14373
- var ModalBody = import_styled_components88.default.div`
14437
+ var ModalBody = import_styled_components89.default.div`
14374
14438
  flex-direction: column;
14375
14439
  display: flex;
14376
14440
  flex: 1 0 0;
@@ -14389,7 +14453,7 @@ var Modal = (0, import_react71.forwardRef)(
14389
14453
  width = DEFAULT_MODAL_WIDTH,
14390
14454
  ...props
14391
14455
  }, ref) => {
14392
- return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14456
+ return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14393
14457
  import_react_dialog5.Root,
14394
14458
  {
14395
14459
  onOpenChange: (open2) => {
@@ -14398,9 +14462,9 @@ var Modal = (0, import_react71.forwardRef)(
14398
14462
  }
14399
14463
  },
14400
14464
  open: isOpen,
14401
- children: /* @__PURE__ */ (0, import_jsx_runtime280.jsxs)(import_react_dialog5.Portal, { children: [
14402
- /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(ModalOverlay, {}),
14403
- /* @__PURE__ */ (0, import_jsx_runtime280.jsxs)(
14465
+ children: /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(import_react_dialog5.Portal, { children: [
14466
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(ModalOverlay, {}),
14467
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(
14404
14468
  ModalContent,
14405
14469
  {
14406
14470
  ref,
@@ -14416,8 +14480,8 @@ var Modal = (0, import_react71.forwardRef)(
14416
14480
  width,
14417
14481
  ...props,
14418
14482
  children: [
14419
- /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(ModalBody, { children }),
14420
- /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14483
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(ModalBody, { children }),
14484
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14421
14485
  ModalHeader,
14422
14486
  {
14423
14487
  hideCloseButton,
@@ -14437,7 +14501,7 @@ Modal.displayName = "Modal_UI";
14437
14501
 
14438
14502
  // src/components/Popover/Popover.tsx
14439
14503
  var import_react_popover5 = require("@radix-ui/react-popover");
14440
- var import_styled_components90 = __toESM(require("styled-components"));
14504
+ var import_styled_components91 = __toESM(require("styled-components"));
14441
14505
 
14442
14506
  // src/private/helpers/getControls/getControlProps.tsx
14443
14507
  var import_type_guards51 = require("@wistia/type-guards");
@@ -14447,12 +14511,12 @@ var getControlProps = (isOpen, onOpenChange) => {
14447
14511
 
14448
14512
  // src/components/Popover/PopoverArrow.tsx
14449
14513
  var import_react_popover4 = require("@radix-ui/react-popover");
14450
- var import_styled_components89 = __toESM(require("styled-components"));
14451
- var import_jsx_runtime281 = require("react/jsx-runtime");
14452
- var StyledPath = import_styled_components89.default.path`
14514
+ var import_styled_components90 = __toESM(require("styled-components"));
14515
+ var import_jsx_runtime282 = require("react/jsx-runtime");
14516
+ var StyledPath = import_styled_components90.default.path`
14453
14517
  fill: var(--wui-color-border-secondary);
14454
14518
  `;
14455
- var circleAnimation = import_styled_components89.keyframes`
14519
+ var circleAnimation = import_styled_components90.keyframes`
14456
14520
  0% {
14457
14521
  opacity: var(--wui-popover-arrow-circle-starting-opacity);
14458
14522
  }
@@ -14460,7 +14524,7 @@ var circleAnimation = import_styled_components89.keyframes`
14460
14524
  opacity: 0;
14461
14525
  }
14462
14526
  `;
14463
- var StyledCircle = import_styled_components89.default.circle`
14527
+ var StyledCircle = import_styled_components90.default.circle`
14464
14528
  stroke: var(--wui-color-border-active);
14465
14529
  animation-duration: 2s;
14466
14530
  animation-iteration-count: infinite;
@@ -14481,13 +14545,13 @@ var StyledCircle = import_styled_components89.default.circle`
14481
14545
  }
14482
14546
 
14483
14547
  @media (prefers-reduced-motion: no-preference) {
14484
- ${({ $isAnimated }) => $isAnimated && import_styled_components89.css`
14548
+ ${({ $isAnimated }) => $isAnimated && import_styled_components90.css`
14485
14549
  animation-name: ${circleAnimation};
14486
14550
  `}
14487
14551
  }
14488
14552
  `;
14489
14553
  var PopoverArrow = ({ isAnimated }) => {
14490
- return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(
14554
+ return /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime282.jsxs)(
14491
14555
  "svg",
14492
14556
  {
14493
14557
  fill: "none",
@@ -14496,8 +14560,8 @@ var PopoverArrow = ({ isAnimated }) => {
14496
14560
  width: "48",
14497
14561
  xmlns: "http://www.w3.org/2000/svg",
14498
14562
  children: [
14499
- /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
14500
- /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14563
+ /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
14564
+ /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
14501
14565
  StyledCircle,
14502
14566
  {
14503
14567
  $isAnimated: isAnimated,
@@ -14508,7 +14572,7 @@ var PopoverArrow = ({ isAnimated }) => {
14508
14572
  strokeWidth: "4"
14509
14573
  }
14510
14574
  ),
14511
- /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14575
+ /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
14512
14576
  StyledCircle,
14513
14577
  {
14514
14578
  $isAnimated: isAnimated,
@@ -14526,11 +14590,11 @@ var PopoverArrow = ({ isAnimated }) => {
14526
14590
  PopoverArrow.displayName = "PopoverArrow_UI";
14527
14591
 
14528
14592
  // src/components/Popover/Popover.tsx
14529
- var import_jsx_runtime282 = require("react/jsx-runtime");
14530
- var StyledContent2 = (0, import_styled_components90.default)(import_react_popover5.Content)`
14593
+ var import_jsx_runtime283 = require("react/jsx-runtime");
14594
+ var StyledContent2 = (0, import_styled_components91.default)(import_react_popover5.Content)`
14531
14595
  z-index: var(--wui-zindex-popover);
14532
14596
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
14533
- ${({ $unstyled }) => !$unstyled && import_styled_components90.css`
14597
+ ${({ $unstyled }) => !$unstyled && import_styled_components91.css`
14534
14598
  border-radius: var(--wui-border-radius-02);
14535
14599
  padding: var(--wui-space-04);
14536
14600
  max-width: var(--wui-popover-max-width, 320px);
@@ -14566,9 +14630,9 @@ var Popover2 = ({
14566
14630
  "--wui-popover-max-width": maxWidth,
14567
14631
  "--wui-popover-max-height": maxHeight
14568
14632
  };
14569
- return /* @__PURE__ */ (0, import_jsx_runtime282.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
14570
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
14571
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime282.jsxs)(
14633
+ return /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
14634
+ /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
14635
+ /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(
14572
14636
  StyledContent2,
14573
14637
  {
14574
14638
  $colorScheme: colorScheme,
@@ -14577,17 +14641,17 @@ var Popover2 = ({
14577
14641
  $unstyled: unstyled,
14578
14642
  style,
14579
14643
  children: [
14580
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
14644
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
14581
14645
  IconButton,
14582
14646
  {
14583
14647
  "data-wui-popover-close": true,
14584
14648
  label: "Close",
14585
14649
  variant: "ghost",
14586
- children: /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(Icon, { type: "close" })
14650
+ children: /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(Icon, { type: "close" })
14587
14651
  }
14588
14652
  ) }),
14589
- withArrow ? /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(PopoverArrow, { isAnimated }) : null,
14590
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)("div", { children })
14653
+ withArrow ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(PopoverArrow, { isAnimated }) : null,
14654
+ /* @__PURE__ */ (0, import_jsx_runtime283.jsx)("div", { children })
14591
14655
  ]
14592
14656
  }
14593
14657
  ) })
@@ -14596,11 +14660,11 @@ var Popover2 = ({
14596
14660
  Popover2.displayName = "Popover_UI";
14597
14661
 
14598
14662
  // src/components/ProgressBar/ProgressBar.tsx
14599
- var import_styled_components91 = __toESM(require("styled-components"));
14663
+ var import_styled_components92 = __toESM(require("styled-components"));
14600
14664
  var import_react_progress = require("@radix-ui/react-progress");
14601
14665
  var import_type_guards52 = require("@wistia/type-guards");
14602
- var import_jsx_runtime283 = require("react/jsx-runtime");
14603
- var ProgressBarWrapper = import_styled_components91.default.div`
14666
+ var import_jsx_runtime284 = require("react/jsx-runtime");
14667
+ var ProgressBarWrapper = import_styled_components92.default.div`
14604
14668
  --progress-bar-height: 8px;
14605
14669
  --progress-bar-indicator-color: var(--wui-color-bg-fill);
14606
14670
  --progress-bar-background-color: var(--wui-color-bg-surface-secondary);
@@ -14616,7 +14680,7 @@ var getTranslateValue = (progress, max) => {
14616
14680
  const progressPercentage = progress / max * 100;
14617
14681
  return `translateX(-${100 - progressPercentage}%)`;
14618
14682
  };
14619
- var ProgressBarLabel = import_styled_components91.default.div`
14683
+ var ProgressBarLabel = import_styled_components92.default.div`
14620
14684
  display: flex;
14621
14685
  line-height: var(--wui-typography-label-3-line-height);
14622
14686
  font-size: var(--wui-typography-label-3-size);
@@ -14624,7 +14688,7 @@ var ProgressBarLabel = import_styled_components91.default.div`
14624
14688
  color: var(--wui-color-text-secondary);
14625
14689
  flex-shrink: 0;
14626
14690
  `;
14627
- var StyledProgressIndicator = (0, import_styled_components91.default)(import_react_progress.Indicator)`
14691
+ var StyledProgressIndicator = (0, import_styled_components92.default)(import_react_progress.Indicator)`
14628
14692
  background-color: var(--progress-bar-indicator-color);
14629
14693
  width: 100%;
14630
14694
  height: 100%;
@@ -14633,7 +14697,7 @@ var StyledProgressIndicator = (0, import_styled_components91.default)(import_rea
14633
14697
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
14634
14698
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
14635
14699
  `;
14636
- var StyledProgressBar = (0, import_styled_components91.default)(import_react_progress.Root)`
14700
+ var StyledProgressBar = (0, import_styled_components92.default)(import_react_progress.Root)`
14637
14701
  position: relative;
14638
14702
  overflow: hidden;
14639
14703
  background: var(--progress-bar-background-color);
@@ -14652,15 +14716,15 @@ var ProgressBar = ({
14652
14716
  labelRight,
14653
14717
  ...props
14654
14718
  }) => {
14655
- return /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(ProgressBarWrapper, { children: [
14656
- (0, import_type_guards52.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
14657
- /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
14719
+ return /* @__PURE__ */ (0, import_jsx_runtime284.jsxs)(ProgressBarWrapper, { children: [
14720
+ (0, import_type_guards52.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
14721
+ /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14658
14722
  StyledProgressBar,
14659
14723
  {
14660
14724
  max,
14661
14725
  value: progress,
14662
14726
  ...props,
14663
- children: /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
14727
+ children: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14664
14728
  StyledProgressIndicator,
14665
14729
  {
14666
14730
  $max: max,
@@ -14669,17 +14733,17 @@ var ProgressBar = ({
14669
14733
  )
14670
14734
  }
14671
14735
  ),
14672
- (0, import_type_guards52.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(ProgressBarLabel, { children: labelRight }) : null
14736
+ (0, import_type_guards52.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(ProgressBarLabel, { children: labelRight }) : null
14673
14737
  ] });
14674
14738
  };
14675
14739
  ProgressBar.displayName = "ProgressBar_UI";
14676
14740
 
14677
14741
  // src/components/Radio/Radio.tsx
14678
14742
  var import_react72 = require("react");
14679
- var import_styled_components92 = __toESM(require("styled-components"));
14743
+ var import_styled_components93 = __toESM(require("styled-components"));
14680
14744
  var import_type_guards53 = require("@wistia/type-guards");
14681
- var import_jsx_runtime284 = require("react/jsx-runtime");
14682
- var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14745
+ var import_jsx_runtime285 = require("react/jsx-runtime");
14746
+ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14683
14747
  "svg",
14684
14748
  {
14685
14749
  fill: "inherit",
@@ -14687,7 +14751,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14687
14751
  viewBox: "0 0 1 1",
14688
14752
  width: "1",
14689
14753
  xmlns: "http://www.w3.org/2000/svg",
14690
- children: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14754
+ children: /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14691
14755
  "circle",
14692
14756
  {
14693
14757
  cx: "0.5",
@@ -14698,7 +14762,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14698
14762
  )
14699
14763
  }
14700
14764
  );
14701
- var sizeSmall3 = import_styled_components92.css`
14765
+ var sizeSmall3 = import_styled_components93.css`
14702
14766
  width: 14px;
14703
14767
  height: 14px;
14704
14768
  min-width: 14px;
@@ -14709,7 +14773,7 @@ var sizeSmall3 = import_styled_components92.css`
14709
14773
  height: 7px;
14710
14774
  }
14711
14775
  `;
14712
- var sizeMedium3 = import_styled_components92.css`
14776
+ var sizeMedium3 = import_styled_components93.css`
14713
14777
  width: 16px;
14714
14778
  height: 16px;
14715
14779
  min-width: 16px;
@@ -14720,7 +14784,7 @@ var sizeMedium3 = import_styled_components92.css`
14720
14784
  height: 8px;
14721
14785
  }
14722
14786
  `;
14723
- var sizeLarge3 = import_styled_components92.css`
14787
+ var sizeLarge3 = import_styled_components93.css`
14724
14788
  width: 20px;
14725
14789
  height: 20px;
14726
14790
  min-width: 20px;
@@ -14736,14 +14800,14 @@ var getSizeCss3 = (size) => {
14736
14800
  if (size === "lg") return sizeLarge3;
14737
14801
  return sizeMedium3;
14738
14802
  };
14739
- var StyledRadioWrapper = import_styled_components92.default.div`
14803
+ var StyledRadioWrapper = import_styled_components93.default.div`
14740
14804
  display: flex;
14741
14805
  margin: 0;
14742
14806
 
14743
14807
  /* TODO this solves a problem but potentially causes and a11y issue */
14744
14808
  user-select: none;
14745
14809
  `;
14746
- var StyledRadioInput = import_styled_components92.default.div`
14810
+ var StyledRadioInput = import_styled_components93.default.div`
14747
14811
  ${({ $size }) => getSizeCss3($size)}
14748
14812
  line-height: 0;
14749
14813
  margin: 0;
@@ -14765,7 +14829,7 @@ var StyledRadioInput = import_styled_components92.default.div`
14765
14829
  }
14766
14830
  }
14767
14831
  `;
14768
- var StyledHiddenRadioInput = import_styled_components92.default.input`
14832
+ var StyledHiddenRadioInput = import_styled_components93.default.input`
14769
14833
  ${visuallyHiddenStyle}
14770
14834
 
14771
14835
  /* toggles display of faux-input border-color */
@@ -14802,13 +14866,13 @@ var Radio = (0, import_react72.forwardRef)(
14802
14866
  const radioName = name ?? contextName;
14803
14867
  const handleOnChange = onChange ?? contextOnChange;
14804
14868
  const defaultChecked = (0, import_type_guards53.isNotUndefined)(value) && (0, import_type_guards53.isNotUndefined)(contextValue) ? contextValue.includes(value) : void 0;
14805
- return /* @__PURE__ */ (0, import_jsx_runtime284.jsxs)(
14869
+ return /* @__PURE__ */ (0, import_jsx_runtime285.jsxs)(
14806
14870
  StyledRadioWrapper,
14807
14871
  {
14808
14872
  $disabled: disabled,
14809
14873
  "aria-invalid": props["aria-invalid"],
14810
14874
  children: [
14811
- /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14875
+ /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14812
14876
  StyledHiddenRadioInput,
14813
14877
  {
14814
14878
  ...props,
@@ -14823,16 +14887,16 @@ var Radio = (0, import_react72.forwardRef)(
14823
14887
  ...(0, import_type_guards53.isNotUndefined)(defaultChecked) ? { defaultChecked } : { checked }
14824
14888
  }
14825
14889
  ),
14826
- /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14890
+ /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14827
14891
  FormControlLabel,
14828
14892
  {
14829
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14893
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14830
14894
  StyledRadioInput,
14831
14895
  {
14832
14896
  $disabled: disabled,
14833
14897
  $size: size,
14834
14898
  "data-wui-faux-input": "true",
14835
- children: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(RadioIcon, {})
14899
+ children: /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(RadioIcon, {})
14836
14900
  }
14837
14901
  ),
14838
14902
  description,
@@ -14854,17 +14918,17 @@ var import_react74 = require("react");
14854
14918
 
14855
14919
  // src/components/RadioCard/RadioCardRoot.tsx
14856
14920
  var import_react73 = require("react");
14857
- var import_styled_components93 = __toESM(require("styled-components"));
14921
+ var import_styled_components94 = __toESM(require("styled-components"));
14858
14922
  var import_type_guards54 = require("@wistia/type-guards");
14859
- var import_jsx_runtime285 = require("react/jsx-runtime");
14860
- var checkedStyles = import_styled_components93.css`
14923
+ var import_jsx_runtime286 = require("react/jsx-runtime");
14924
+ var checkedStyles = import_styled_components94.css`
14861
14925
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
14862
14926
  --wui-color-icon: var(--wui-color-icon-selected);
14863
14927
  --wui-radio-card-background-color: var(--wui-color-bg-surface-info);
14864
14928
  --wui-color-text: var(--wui-color-text-info);
14865
14929
  --wui-color-text-secondary: var(--wui-color-text-info);
14866
14930
  `;
14867
- var disabledStyles = import_styled_components93.css`
14931
+ var disabledStyles = import_styled_components94.css`
14868
14932
  --wui-radio-card-border-color: var(--wui-color-border-disabled);
14869
14933
  --wui-radio-card-background-color: var(--wui-color-bg-surface-disabled);
14870
14934
  --wui-radio-card-cursor: not-allowed;
@@ -14872,10 +14936,10 @@ var disabledStyles = import_styled_components93.css`
14872
14936
  --wui-color-text: var(--wui-color-text-disabled);
14873
14937
  --wui-color-text-secondary: var(--wui-color-text-disabled);
14874
14938
  `;
14875
- var focusStyles = import_styled_components93.css`
14939
+ var focusStyles = import_styled_components94.css`
14876
14940
  outline: 2px solid var(--wui-color-focus-ring);
14877
14941
  `;
14878
- var imageCoverStyles = import_styled_components93.css`
14942
+ var imageCoverStyles = import_styled_components94.css`
14879
14943
  --wui-radio-card-image-inset: 0px;
14880
14944
  --wui-radio-card-border-width: 0px;
14881
14945
  --wui-inset-shadow-width: 1px;
@@ -14906,7 +14970,7 @@ var imageCoverStyles = import_styled_components93.css`
14906
14970
  transition: all var(--wui-motion-duration-02) var(--wui-motion-ease);
14907
14971
  }
14908
14972
  `;
14909
- var StyledCard2 = import_styled_components93.default.label`
14973
+ var StyledCard2 = import_styled_components94.default.label`
14910
14974
  --wui-radio-card-border-color: var(--wui-color-border-secondary);
14911
14975
  --wui-radio-card-background-color: var(--wui-color-bg-surface);
14912
14976
  --wui-radio-card-cursor: pointer;
@@ -14959,7 +15023,7 @@ var StyledCard2 = import_styled_components93.default.label`
14959
15023
  }
14960
15024
  }
14961
15025
  `;
14962
- var StyledHiddenInput = import_styled_components93.default.input`
15026
+ var StyledHiddenInput = import_styled_components94.default.input`
14963
15027
  ${visuallyHiddenStyle}
14964
15028
  `;
14965
15029
  var RadioCardRoot = (0, import_react73.forwardRef)(
@@ -14984,14 +15048,14 @@ var RadioCardRoot = (0, import_react73.forwardRef)(
14984
15048
  const radioName = name ?? contextName;
14985
15049
  const handleOnChange = onChange ?? contextOnChange;
14986
15050
  const defaultChecked = (0, import_type_guards54.isNotUndefined)(value) && (0, import_type_guards54.isNotUndefined)(contextValue) ? contextValue.includes(value) : void 0;
14987
- return /* @__PURE__ */ (0, import_jsx_runtime285.jsxs)(
15051
+ return /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(
14988
15052
  StyledCard2,
14989
15053
  {
14990
15054
  $aspectRatio: aspectRatio,
14991
15055
  $padding: padding,
14992
15056
  htmlFor: computedId,
14993
15057
  children: [
14994
- /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
15058
+ /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
14995
15059
  StyledHiddenInput,
14996
15060
  {
14997
15061
  ...props,
@@ -15014,12 +15078,12 @@ var RadioCardRoot = (0, import_react73.forwardRef)(
15014
15078
  RadioCardRoot.displayName = "RadioCardRoot_UI";
15015
15079
 
15016
15080
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
15017
- var import_styled_components95 = __toESM(require("styled-components"));
15081
+ var import_styled_components96 = __toESM(require("styled-components"));
15018
15082
  var import_type_guards55 = require("@wistia/type-guards");
15019
15083
 
15020
15084
  // src/components/RadioCard/RadioCardIndicator.tsx
15021
- var import_styled_components94 = __toESM(require("styled-components"));
15022
- var RadioCardIndicator = import_styled_components94.default.div`
15085
+ var import_styled_components95 = __toESM(require("styled-components"));
15086
+ var RadioCardIndicator = import_styled_components95.default.div`
15023
15087
  --wui-radio-card-indicator-size: 14px;
15024
15088
  --wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
15025
15089
  --wui-radio-card-indicator-fill-color: var(--wui-color-bg-fill);
@@ -15068,16 +15132,16 @@ var RadioCardIndicator = import_styled_components94.default.div`
15068
15132
  RadioCardIndicator.displayName = "RadioCardIndicator_UI";
15069
15133
 
15070
15134
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
15071
- var import_jsx_runtime286 = require("react/jsx-runtime");
15072
- var StyledCardContent = import_styled_components95.default.div`
15135
+ var import_jsx_runtime287 = require("react/jsx-runtime");
15136
+ var StyledCardContent = import_styled_components96.default.div`
15073
15137
  display: grid;
15074
15138
  grid-auto-flow: column;
15075
15139
  gap: var(--wui-space-02);
15076
15140
  `;
15077
- var StyledCardIcon = import_styled_components95.default.div`
15141
+ var StyledCardIcon = import_styled_components96.default.div`
15078
15142
  display: contents;
15079
15143
  `;
15080
- var StyledIndicatorContainer = import_styled_components95.default.div`
15144
+ var StyledIndicatorContainer = import_styled_components96.default.div`
15081
15145
  height: ${({ $hasIcon }) => $hasIcon ? "24px" : "16px"};
15082
15146
  display: flex;
15083
15147
  align-items: center;
@@ -15088,18 +15152,18 @@ var RadioCardDefaultLayout = ({
15088
15152
  description,
15089
15153
  showIndicator = true
15090
15154
  }) => {
15091
- return /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(StyledCardContent, { children: [
15092
- showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards55.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
15093
- /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(Stack, { gap: "space-02", children: [
15094
- (0, import_type_guards55.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
15095
- /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(
15155
+ return /* @__PURE__ */ (0, import_jsx_runtime287.jsxs)(StyledCardContent, { children: [
15156
+ showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards55.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
15157
+ /* @__PURE__ */ (0, import_jsx_runtime287.jsxs)(Stack, { gap: "space-02", children: [
15158
+ (0, import_type_guards55.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
15159
+ /* @__PURE__ */ (0, import_jsx_runtime287.jsxs)(
15096
15160
  Stack,
15097
15161
  {
15098
15162
  gap: "space-01",
15099
15163
  style: (0, import_type_guards55.isNotNil)(icon) ? { paddingLeft: 2 } : void 0,
15100
15164
  children: [
15101
- /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)("strong", { children: label }) }),
15102
- (0, import_type_guards55.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
15165
+ /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime287.jsx)("strong", { children: label }) }),
15166
+ (0, import_type_guards55.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
15103
15167
  Text,
15104
15168
  {
15105
15169
  prominence: "secondary",
@@ -15116,15 +15180,15 @@ var RadioCardDefaultLayout = ({
15116
15180
  RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
15117
15181
 
15118
15182
  // src/components/RadioCard/RadioCard.tsx
15119
- var import_jsx_runtime287 = require("react/jsx-runtime");
15183
+ var import_jsx_runtime288 = require("react/jsx-runtime");
15120
15184
  var RadioCard = (0, import_react74.forwardRef)(
15121
15185
  ({ icon, label, description, showIndicator, ...rootProps }, ref) => {
15122
- return /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
15186
+ return /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15123
15187
  RadioCardRoot,
15124
15188
  {
15125
15189
  ref,
15126
15190
  ...rootProps,
15127
- children: /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
15191
+ children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15128
15192
  RadioCardDefaultLayout,
15129
15193
  {
15130
15194
  description,
@@ -15141,17 +15205,17 @@ RadioCard.displayName = "RadioCard_UI";
15141
15205
 
15142
15206
  // src/components/RadioCard/RadioCardImage.tsx
15143
15207
  var import_react75 = require("react");
15144
- var import_jsx_runtime288 = require("react/jsx-runtime");
15208
+ var import_jsx_runtime289 = require("react/jsx-runtime");
15145
15209
  var RadioCardImage = (0, import_react75.forwardRef)(
15146
15210
  ({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
15147
- return /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15211
+ return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
15148
15212
  RadioCardRoot,
15149
15213
  {
15150
15214
  ref,
15151
15215
  ...rootProps,
15152
15216
  aspectRatio,
15153
15217
  padding,
15154
- children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15218
+ children: /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
15155
15219
  Image,
15156
15220
  {
15157
15221
  alt: label,
@@ -15169,13 +15233,13 @@ RadioCardImage.displayName = "RadioCardImage_UI";
15169
15233
 
15170
15234
  // src/components/SegmentedControl/SegmentedControl.tsx
15171
15235
  var import_react78 = require("react");
15172
- var import_styled_components97 = __toESM(require("styled-components"));
15236
+ var import_styled_components98 = __toESM(require("styled-components"));
15173
15237
  var import_react_toggle_group3 = require("@radix-ui/react-toggle-group");
15174
15238
  var import_type_guards57 = require("@wistia/type-guards");
15175
15239
 
15176
15240
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
15177
15241
  var import_react76 = require("react");
15178
- var import_jsx_runtime289 = require("react/jsx-runtime");
15242
+ var import_jsx_runtime290 = require("react/jsx-runtime");
15179
15243
  var SelectedItemStyleContext = (0, import_react76.createContext)(null);
15180
15244
  var SelectedItemStyleProvider = ({
15181
15245
  children
@@ -15196,7 +15260,7 @@ var SelectedItemStyleProvider = ({
15196
15260
  }),
15197
15261
  [selectedItemIndicatorStyle]
15198
15262
  );
15199
- return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
15263
+ return /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
15200
15264
  };
15201
15265
  var useSelectedItemStyle = () => {
15202
15266
  const context = (0, import_react76.useContext)(SelectedItemStyleContext);
@@ -15207,7 +15271,7 @@ var useSelectedItemStyle = () => {
15207
15271
  };
15208
15272
 
15209
15273
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
15210
- var import_styled_components96 = __toESM(require("styled-components"));
15274
+ var import_styled_components97 = __toESM(require("styled-components"));
15211
15275
  var import_type_guards56 = require("@wistia/type-guards");
15212
15276
 
15213
15277
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
@@ -15223,13 +15287,13 @@ var useSegmentedControlValue = () => {
15223
15287
  };
15224
15288
 
15225
15289
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
15226
- var import_jsx_runtime290 = require("react/jsx-runtime");
15227
- var selectedItemIndicatorStyles = import_styled_components96.css`
15290
+ var import_jsx_runtime291 = require("react/jsx-runtime");
15291
+ var selectedItemIndicatorStyles = import_styled_components97.css`
15228
15292
  background-color: var(--wui-color-bg-fill-white);
15229
15293
  border-radius: var(--wui-border-radius-rounded);
15230
15294
  box-shadow: var(--wui-elevation-01);
15231
15295
  `;
15232
- var SelectedItemIndicatorDiv = import_styled_components96.default.div`
15296
+ var SelectedItemIndicatorDiv = import_styled_components97.default.div`
15233
15297
  ${selectedItemIndicatorStyles}
15234
15298
  left: 0;
15235
15299
  position: absolute;
@@ -15245,7 +15309,7 @@ var SelectedItemIndicator = () => {
15245
15309
  if (!selectedValue || (0, import_type_guards56.isUndefined)(selectedItemIndicatorStyle)) {
15246
15310
  return null;
15247
15311
  }
15248
- return /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
15312
+ return /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
15249
15313
  SelectedItemIndicatorDiv,
15250
15314
  {
15251
15315
  "data-wui-selected-item-indicator": true,
@@ -15255,8 +15319,8 @@ var SelectedItemIndicator = () => {
15255
15319
  };
15256
15320
 
15257
15321
  // src/components/SegmentedControl/SegmentedControl.tsx
15258
- var import_jsx_runtime291 = require("react/jsx-runtime");
15259
- var segmentedControlStyles = import_styled_components97.css`
15322
+ var import_jsx_runtime292 = require("react/jsx-runtime");
15323
+ var segmentedControlStyles = import_styled_components98.css`
15260
15324
  display: inline-flex;
15261
15325
  background-color: var(--wui-color-bg-surface-secondary);
15262
15326
  border-radius: var(--wui-border-radius-rounded);
@@ -15267,7 +15331,7 @@ var segmentedControlStyles = import_styled_components97.css`
15267
15331
  position: relative;
15268
15332
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
15269
15333
  `;
15270
- var StyledSegmentedControl = (0, import_styled_components97.default)(import_react_toggle_group3.Root)`
15334
+ var StyledSegmentedControl = (0, import_styled_components98.default)(import_react_toggle_group3.Root)`
15271
15335
  ${segmentedControlStyles}
15272
15336
  `;
15273
15337
  var SegmentedControl = (0, import_react78.forwardRef)(
@@ -15282,7 +15346,7 @@ var SegmentedControl = (0, import_react78.forwardRef)(
15282
15346
  if ((0, import_type_guards57.isNil)(children)) {
15283
15347
  return null;
15284
15348
  }
15285
- return /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
15349
+ return /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(
15286
15350
  StyledSegmentedControl,
15287
15351
  {
15288
15352
  ref,
@@ -15294,9 +15358,9 @@ var SegmentedControl = (0, import_react78.forwardRef)(
15294
15358
  type: "single",
15295
15359
  value: selectedValue,
15296
15360
  ...props,
15297
- children: /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)(SelectedItemStyleProvider, { children: [
15361
+ children: /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime292.jsxs)(SelectedItemStyleProvider, { children: [
15298
15362
  children,
15299
- /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(SelectedItemIndicator, {})
15363
+ /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(SelectedItemIndicator, {})
15300
15364
  ] }) })
15301
15365
  }
15302
15366
  );
@@ -15306,11 +15370,11 @@ SegmentedControl.displayName = "SegmentedControl_UI";
15306
15370
 
15307
15371
  // src/components/SegmentedControl/SegmentedControlItem.tsx
15308
15372
  var import_react79 = require("react");
15309
- var import_styled_components98 = __toESM(require("styled-components"));
15373
+ var import_styled_components99 = __toESM(require("styled-components"));
15310
15374
  var import_react_toggle_group4 = require("@radix-ui/react-toggle-group");
15311
15375
  var import_type_guards58 = require("@wistia/type-guards");
15312
- var import_jsx_runtime292 = require("react/jsx-runtime");
15313
- var segmentedControlItemStyles = import_styled_components98.css`
15376
+ var import_jsx_runtime293 = require("react/jsx-runtime");
15377
+ var segmentedControlItemStyles = import_styled_components99.css`
15314
15378
  all: unset; /* ToggleGroupItem is a button element */
15315
15379
  align-items: center;
15316
15380
  border-radius: var(--wui-border-radius-rounded);
@@ -15377,7 +15441,7 @@ var segmentedControlItemStyles = import_styled_components98.css`
15377
15441
  }
15378
15442
  }
15379
15443
  `;
15380
- var StyledSegmentedControlItem = (0, import_styled_components98.default)(import_react_toggle_group4.Item)`
15444
+ var StyledSegmentedControlItem = (0, import_styled_components99.default)(import_react_toggle_group4.Item)`
15381
15445
  ${segmentedControlItemStyles}
15382
15446
  `;
15383
15447
  var SegmentedControlItem = (0, import_react79.forwardRef)(
@@ -15418,7 +15482,7 @@ var SegmentedControlItem = (0, import_react79.forwardRef)(
15418
15482
  resizeObserver.disconnect();
15419
15483
  };
15420
15484
  }, [selectedValue, setSelectedItemMeasurements, value]);
15421
- return /* @__PURE__ */ (0, import_jsx_runtime292.jsxs)(
15485
+ return /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(
15422
15486
  StyledSegmentedControlItem,
15423
15487
  {
15424
15488
  ref: combinedRef,
@@ -15441,9 +15505,9 @@ SegmentedControlItem.displayName = "SegmentedControlItem_UI";
15441
15505
  // src/components/Select/Select.tsx
15442
15506
  var import_react_select = require("@radix-ui/react-select");
15443
15507
  var import_react80 = require("react");
15444
- var import_styled_components99 = __toESM(require("styled-components"));
15445
- var import_jsx_runtime293 = require("react/jsx-runtime");
15446
- var StyledTrigger2 = (0, import_styled_components99.default)(import_react_select.Trigger)`
15508
+ var import_styled_components100 = __toESM(require("styled-components"));
15509
+ var import_jsx_runtime294 = require("react/jsx-runtime");
15510
+ var StyledTrigger2 = (0, import_styled_components100.default)(import_react_select.Trigger)`
15447
15511
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
15448
15512
  ${inputCss};
15449
15513
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -15487,7 +15551,7 @@ var StyledTrigger2 = (0, import_styled_components99.default)(import_react_select
15487
15551
  color: var(--wui-input-placeholder);
15488
15552
  }
15489
15553
  `;
15490
- var StyledContent3 = (0, import_styled_components99.default)(import_react_select.Content)`
15554
+ var StyledContent3 = (0, import_styled_components100.default)(import_react_select.Content)`
15491
15555
  --wui-select-content-border: var(--wui-color-border);
15492
15556
  --wui-select-content-bg: var(--wui-color-bg-surface);
15493
15557
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -15515,13 +15579,13 @@ var Select = (0, import_react80.forwardRef)(
15515
15579
  ...props
15516
15580
  }, forwardedRef) => {
15517
15581
  const responsiveFullWidth = useResponsiveProp(fullWidth);
15518
- return /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(
15582
+ return /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15519
15583
  import_react_select.Root,
15520
15584
  {
15521
15585
  ...props,
15522
15586
  onValueChange: onChange,
15523
15587
  children: [
15524
- /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(
15588
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15525
15589
  StyledTrigger2,
15526
15590
  {
15527
15591
  ref: forwardedRef,
@@ -15529,8 +15593,8 @@ var Select = (0, import_react80.forwardRef)(
15529
15593
  $fullWidth: responsiveFullWidth,
15530
15594
  ...props,
15531
15595
  children: [
15532
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.Value, { placeholder }),
15533
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
15596
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.Value, { placeholder }),
15597
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15534
15598
  Icon,
15535
15599
  {
15536
15600
  size: "md",
@@ -15540,10 +15604,10 @@ var Select = (0, import_react80.forwardRef)(
15540
15604
  ]
15541
15605
  }
15542
15606
  ),
15543
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(StyledContent3, { position: "popper", children: [
15544
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(Icon, { type: "caret-up" }) }),
15545
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.Viewport, { children }),
15546
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(Icon, { type: "caret-down" }) })
15607
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(StyledContent3, { position: "popper", children: [
15608
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(Icon, { type: "caret-up" }) }),
15609
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.Viewport, { children }),
15610
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(Icon, { type: "caret-down" }) })
15547
15611
  ] }) })
15548
15612
  ]
15549
15613
  }
@@ -15555,10 +15619,10 @@ Select.displayName = "Select_UI";
15555
15619
  // src/components/Select/SelectOption.tsx
15556
15620
  var import_react_select2 = require("@radix-ui/react-select");
15557
15621
  var import_react81 = require("react");
15558
- var import_styled_components100 = __toESM(require("styled-components"));
15622
+ var import_styled_components101 = __toESM(require("styled-components"));
15559
15623
  var import_type_guards59 = require("@wistia/type-guards");
15560
- var import_jsx_runtime294 = require("react/jsx-runtime");
15561
- var StyledItem = (0, import_styled_components100.default)(import_react_select2.Item)`
15624
+ var import_jsx_runtime295 = require("react/jsx-runtime");
15625
+ var StyledItem = (0, import_styled_components101.default)(import_react_select2.Item)`
15562
15626
  ${variantStyleMap2.body3};
15563
15627
  display: flex;
15564
15628
  padding: var(--wui-select-option-padding);
@@ -15582,28 +15646,28 @@ var StyledItem = (0, import_styled_components100.default)(import_react_select2.I
15582
15646
  background-color: transparent;
15583
15647
  }
15584
15648
  `;
15585
- var StyledIconContainer = import_styled_components100.default.span`
15649
+ var StyledIconContainer2 = import_styled_components101.default.span`
15586
15650
  width: 12px;
15587
15651
  `;
15588
15652
  var SelectOption = (0, import_react81.forwardRef)(
15589
15653
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
15590
- return /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15654
+ return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(
15591
15655
  StyledItem,
15592
15656
  {
15593
15657
  ...props,
15594
15658
  ref: forwardedRef,
15595
15659
  children: [
15596
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15660
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(StyledIconContainer2, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15597
15661
  Icon,
15598
15662
  {
15599
15663
  size: "sm",
15600
15664
  type: "checkmark"
15601
15665
  }
15602
15666
  ) }) }),
15603
- (0, import_type_guards59.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)("div", { children: [
15667
+ (0, import_type_guards59.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)("div", { children: [
15604
15668
  children,
15605
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
15606
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select2.ItemText, { children })
15669
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
15670
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_select2.ItemText, { children })
15607
15671
  ]
15608
15672
  }
15609
15673
  );
@@ -15613,14 +15677,14 @@ SelectOption.displayName = "SelectOption_UI";
15613
15677
 
15614
15678
  // src/components/Select/SelectOptionGroup.tsx
15615
15679
  var import_react_select3 = require("@radix-ui/react-select");
15616
- var import_styled_components101 = __toESM(require("styled-components"));
15617
- var import_jsx_runtime295 = require("react/jsx-runtime");
15618
- var StyledLabel4 = (0, import_styled_components101.default)(import_react_select3.Label)`
15680
+ var import_styled_components102 = __toESM(require("styled-components"));
15681
+ var import_jsx_runtime296 = require("react/jsx-runtime");
15682
+ var StyledLabel4 = (0, import_styled_components102.default)(import_react_select3.Label)`
15619
15683
  padding: var(--wui-select-option-padding);
15620
15684
  `;
15621
15685
  var SelectOptionGroup = ({ children, label, ...props }) => {
15622
- return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(import_react_select3.Group, { ...props, children: [
15623
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15686
+ return /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(import_react_select3.Group, { ...props, children: [
15687
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15624
15688
  Text,
15625
15689
  {
15626
15690
  prominence: "secondary",
@@ -15634,10 +15698,10 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
15634
15698
 
15635
15699
  // src/components/Slider/Slider.tsx
15636
15700
  var import_react_slider2 = require("@radix-ui/react-slider");
15637
- var import_styled_components102 = __toESM(require("styled-components"));
15701
+ var import_styled_components103 = __toESM(require("styled-components"));
15638
15702
  var import_type_guards60 = require("@wistia/type-guards");
15639
- var import_jsx_runtime296 = require("react/jsx-runtime");
15640
- var SliderContainer = import_styled_components102.default.div`
15703
+ var import_jsx_runtime297 = require("react/jsx-runtime");
15704
+ var SliderContainer = import_styled_components103.default.div`
15641
15705
  --wui-slider-track-color: var(--wui-gray-6);
15642
15706
  --wui-slider-track-border-radius: var(--wui-border-radius-rounded);
15643
15707
  --wui-slider-range-color: var(--wui-color-bg-fill);
@@ -15653,7 +15717,7 @@ var SliderContainer = import_styled_components102.default.div`
15653
15717
  pointer-events: none;
15654
15718
  }
15655
15719
  `;
15656
- var StyledSliderRoot = (0, import_styled_components102.default)(import_react_slider2.Root)`
15720
+ var StyledSliderRoot = (0, import_styled_components103.default)(import_react_slider2.Root)`
15657
15721
  position: relative;
15658
15722
  display: flex;
15659
15723
  align-items: center;
@@ -15661,20 +15725,20 @@ var StyledSliderRoot = (0, import_styled_components102.default)(import_react_sli
15661
15725
  touch-action: none;
15662
15726
  width: 100%;
15663
15727
  `;
15664
- var StyledSliderTrack = (0, import_styled_components102.default)(import_react_slider2.Track)`
15728
+ var StyledSliderTrack = (0, import_styled_components103.default)(import_react_slider2.Track)`
15665
15729
  background-color: var(--wui-slider-track-color);
15666
15730
  border-radius: var(--wui-slider-track-border-radius);
15667
15731
  flex-grow: 1;
15668
15732
  height: 6px;
15669
15733
  position: relative;
15670
15734
  `;
15671
- var StyledSliderRange = (0, import_styled_components102.default)(import_react_slider2.Range)`
15735
+ var StyledSliderRange = (0, import_styled_components103.default)(import_react_slider2.Range)`
15672
15736
  background-color: var(--wui-slider-range-color);
15673
15737
  border-radius: var(--wui-slider-track-border-radius);
15674
15738
  height: 100%;
15675
15739
  position: absolute;
15676
15740
  `;
15677
- var StyledSliderThumb = (0, import_styled_components102.default)(import_react_slider2.Thumb)`
15741
+ var StyledSliderThumb = (0, import_styled_components103.default)(import_react_slider2.Thumb)`
15678
15742
  background-color: var(--wui-slider-thumb-color);
15679
15743
  border-radius: var(--wui-border-radius-rounded);
15680
15744
  cursor: grab;
@@ -15725,12 +15789,12 @@ var Slider = ({
15725
15789
  onChange(newValue);
15726
15790
  }
15727
15791
  };
15728
- return /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15792
+ return /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15729
15793
  SliderContainer,
15730
15794
  {
15731
15795
  ...otherProps,
15732
15796
  "data-testid": dataTestId,
15733
- children: /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(
15797
+ children: /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(
15734
15798
  StyledSliderRoot,
15735
15799
  {
15736
15800
  "aria-label": ariaLabel,
@@ -15743,8 +15807,8 @@ var Slider = ({
15743
15807
  step,
15744
15808
  ...value ? { value } : {},
15745
15809
  children: [
15746
- /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
15747
- values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15810
+ /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
15811
+ values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15748
15812
  StyledSliderThumb,
15749
15813
  {
15750
15814
  "data-testid": `${dataTestId}-thumb-${index}`
@@ -15760,25 +15824,25 @@ var Slider = ({
15760
15824
  Slider.displayName = "Slider_UI";
15761
15825
 
15762
15826
  // src/components/Table/Table.tsx
15763
- var import_styled_components103 = __toESM(require("styled-components"));
15764
- var import_jsx_runtime297 = require("react/jsx-runtime");
15765
- var StyledTable = import_styled_components103.default.table`
15827
+ var import_styled_components104 = __toESM(require("styled-components"));
15828
+ var import_jsx_runtime298 = require("react/jsx-runtime");
15829
+ var StyledTable = import_styled_components104.default.table`
15766
15830
  width: 100%;
15767
15831
  border-collapse: collapse;
15768
15832
 
15769
- ${({ $divided }) => $divided && import_styled_components103.css`
15833
+ ${({ $divided }) => $divided && import_styled_components104.css`
15770
15834
  tr {
15771
15835
  border-bottom: 1px solid var(--wui-color-border);
15772
15836
  }
15773
15837
  `}
15774
15838
 
15775
- ${({ $striped }) => $striped && import_styled_components103.css`
15839
+ ${({ $striped }) => $striped && import_styled_components104.css`
15776
15840
  tbody tr:nth-child(even) {
15777
15841
  background-color: var(--wui-color-bg-surface-secondary);
15778
15842
  }
15779
15843
  `}
15780
15844
 
15781
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components103.css`
15845
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components104.css`
15782
15846
  thead {
15783
15847
  ${visuallyHiddenStyle}
15784
15848
  }
@@ -15791,7 +15855,7 @@ var Table = ({
15791
15855
  visuallyHiddenHeader = false,
15792
15856
  ...props
15793
15857
  }) => {
15794
- return /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15858
+ return /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
15795
15859
  StyledTable,
15796
15860
  {
15797
15861
  $divided: divided,
@@ -15804,35 +15868,35 @@ var Table = ({
15804
15868
  };
15805
15869
 
15806
15870
  // src/components/Table/TableBody.tsx
15807
- var import_styled_components104 = __toESM(require("styled-components"));
15871
+ var import_styled_components105 = __toESM(require("styled-components"));
15808
15872
 
15809
15873
  // src/components/Table/TableSectionContext.ts
15810
15874
  var import_react82 = require("react");
15811
15875
  var TableSectionContext = (0, import_react82.createContext)(null);
15812
15876
 
15813
15877
  // src/components/Table/TableBody.tsx
15814
- var import_jsx_runtime298 = require("react/jsx-runtime");
15815
- var StyledTableBody = import_styled_components104.default.tbody``;
15878
+ var import_jsx_runtime299 = require("react/jsx-runtime");
15879
+ var StyledTableBody = import_styled_components105.default.tbody``;
15816
15880
  var TableBody = ({ children, ...props }) => {
15817
- return /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(StyledTableBody, { ...props, children }) });
15881
+ return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledTableBody, { ...props, children }) });
15818
15882
  };
15819
15883
 
15820
15884
  // src/components/Table/TableCell.tsx
15821
15885
  var import_react83 = require("react");
15822
- var import_styled_components105 = __toESM(require("styled-components"));
15823
- var import_jsx_runtime299 = require("react/jsx-runtime");
15824
- var sharedStyles = import_styled_components105.css`
15886
+ var import_styled_components106 = __toESM(require("styled-components"));
15887
+ var import_jsx_runtime300 = require("react/jsx-runtime");
15888
+ var sharedStyles = import_styled_components106.css`
15825
15889
  color: var(--wui-color-text);
15826
15890
  padding: var(--wui-space-02);
15827
15891
  text-align: left;
15828
15892
  `;
15829
- var StyledTh = import_styled_components105.default.th`
15893
+ var StyledTh = import_styled_components106.default.th`
15830
15894
  ${sharedStyles}
15831
15895
  font-size: var(--wui-typography-body-4-size);
15832
15896
  font-weight: var(--wui-typography-weight-label-bold);
15833
15897
  line-height: var(--wui-typography-body-4-line-height);
15834
15898
  `;
15835
- var StyledTd = import_styled_components105.default.td`
15899
+ var StyledTd = import_styled_components106.default.td`
15836
15900
  ${sharedStyles}
15837
15901
  font-size: var(--wui-typography-body-2-size);
15838
15902
  font-weight: var(--wui-typography-body-2-weight);
@@ -15841,33 +15905,33 @@ var StyledTd = import_styled_components105.default.td`
15841
15905
  var TableCell = ({ children, ...props }) => {
15842
15906
  const section = (0, import_react83.useContext)(TableSectionContext);
15843
15907
  if (section === "head") {
15844
- return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledTh, { ...props, children });
15908
+ return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledTh, { ...props, children });
15845
15909
  }
15846
- return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledTd, { ...props, children });
15910
+ return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledTd, { ...props, children });
15847
15911
  };
15848
15912
 
15849
15913
  // src/components/Table/TableFoot.tsx
15850
- var import_styled_components106 = __toESM(require("styled-components"));
15851
- var import_jsx_runtime300 = require("react/jsx-runtime");
15852
- var StyledTableFoot = import_styled_components106.default.tfoot``;
15914
+ var import_styled_components107 = __toESM(require("styled-components"));
15915
+ var import_jsx_runtime301 = require("react/jsx-runtime");
15916
+ var StyledTableFoot = import_styled_components107.default.tfoot``;
15853
15917
  var TableFoot = ({ children, ...props }) => {
15854
- return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledTableFoot, { ...props, children }) });
15918
+ return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(StyledTableFoot, { ...props, children }) });
15855
15919
  };
15856
15920
 
15857
15921
  // src/components/Table/TableHead.tsx
15858
- var import_styled_components107 = __toESM(require("styled-components"));
15859
- var import_jsx_runtime301 = require("react/jsx-runtime");
15860
- var StyledThead = import_styled_components107.default.thead``;
15922
+ var import_styled_components108 = __toESM(require("styled-components"));
15923
+ var import_jsx_runtime302 = require("react/jsx-runtime");
15924
+ var StyledThead = import_styled_components108.default.thead``;
15861
15925
  var TableHead = ({ children, ...props }) => {
15862
- return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(StyledThead, { ...props, children }) });
15926
+ return /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(StyledThead, { ...props, children }) });
15863
15927
  };
15864
15928
 
15865
15929
  // src/components/Table/TableRow.tsx
15866
- var import_styled_components108 = __toESM(require("styled-components"));
15867
- var import_jsx_runtime302 = require("react/jsx-runtime");
15868
- var StyledTableRow = import_styled_components108.default.tr``;
15930
+ var import_styled_components109 = __toESM(require("styled-components"));
15931
+ var import_jsx_runtime303 = require("react/jsx-runtime");
15932
+ var StyledTableRow = import_styled_components109.default.tr``;
15869
15933
  var TableRow = ({ children, ...props }) => {
15870
- return /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(StyledTableRow, { ...props, children });
15934
+ return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(StyledTableRow, { ...props, children });
15871
15935
  };
15872
15936
 
15873
15937
  // src/components/Tabs/Tabs.tsx
@@ -15888,7 +15952,7 @@ var useTabsValue = () => {
15888
15952
  };
15889
15953
 
15890
15954
  // src/components/Tabs/Tabs.tsx
15891
- var import_jsx_runtime303 = require("react/jsx-runtime");
15955
+ var import_jsx_runtime304 = require("react/jsx-runtime");
15892
15956
  var Tabs = ({
15893
15957
  children,
15894
15958
  value: valueProp,
@@ -15916,42 +15980,42 @@ var Tabs = ({
15916
15980
  if ((0, import_type_guards61.isNotNil)(defaultValue)) {
15917
15981
  rootProps.defaultValue = defaultValue;
15918
15982
  }
15919
- return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(SelectedItemStyleProvider, { children }) }) });
15983
+ return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(SelectedItemStyleProvider, { children }) }) });
15920
15984
  };
15921
15985
  Tabs.displayName = "Tabs_UI";
15922
15986
 
15923
15987
  // src/components/Tabs/TabsContent.tsx
15924
15988
  var import_react_tabs2 = require("@radix-ui/react-tabs");
15925
- var import_jsx_runtime304 = require("react/jsx-runtime");
15989
+ var import_jsx_runtime305 = require("react/jsx-runtime");
15926
15990
  var TabsContent = ({ children, value }) => {
15927
- return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(import_react_tabs2.Content, { value, children });
15991
+ return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(import_react_tabs2.Content, { value, children });
15928
15992
  };
15929
15993
  TabsContent.displayName = "TabsContent_UI";
15930
15994
 
15931
15995
  // src/components/Tabs/TabsList.tsx
15932
15996
  var import_react_tabs3 = require("@radix-ui/react-tabs");
15933
- var import_styled_components110 = __toESM(require("styled-components"));
15997
+ var import_styled_components111 = __toESM(require("styled-components"));
15934
15998
 
15935
15999
  // src/components/Tabs/SelectedTabIndicator.tsx
15936
16000
  var import_type_guards62 = require("@wistia/type-guards");
15937
16001
 
15938
16002
  // src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
15939
- var import_styled_components109 = __toESM(require("styled-components"));
15940
- var TabsSelectedItemIndicatorDiv = (0, import_styled_components109.default)(SelectedItemIndicatorDiv)`
16003
+ var import_styled_components110 = __toESM(require("styled-components"));
16004
+ var TabsSelectedItemIndicatorDiv = (0, import_styled_components110.default)(SelectedItemIndicatorDiv)`
15941
16005
  &:has(~ button[role='tab']:focus-visible) {
15942
16006
  outline: 2px solid var(--wui-color-focus-ring);
15943
16007
  }
15944
16008
  `;
15945
16009
 
15946
16010
  // src/components/Tabs/SelectedTabIndicator.tsx
15947
- var import_jsx_runtime305 = require("react/jsx-runtime");
16011
+ var import_jsx_runtime306 = require("react/jsx-runtime");
15948
16012
  var SelectedTabIndicator = () => {
15949
16013
  const { selectedItemIndicatorStyle } = useSelectedItemStyle();
15950
16014
  const selectedValue = useTabsValue();
15951
16015
  if (selectedValue == null || (0, import_type_guards62.isUndefined)(selectedItemIndicatorStyle)) {
15952
16016
  return null;
15953
16017
  }
15954
- return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
16018
+ return /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(
15955
16019
  TabsSelectedItemIndicatorDiv,
15956
16020
  {
15957
16021
  "data-wui-selected-item-indicator": true,
@@ -15961,19 +16025,19 @@ var SelectedTabIndicator = () => {
15961
16025
  };
15962
16026
 
15963
16027
  // src/components/Tabs/TabsList.tsx
15964
- var import_jsx_runtime306 = require("react/jsx-runtime");
15965
- var StyledRadixTabsList = (0, import_styled_components110.default)(import_react_tabs3.List)`
16028
+ var import_jsx_runtime307 = require("react/jsx-runtime");
16029
+ var StyledRadixTabsList = (0, import_styled_components111.default)(import_react_tabs3.List)`
15966
16030
  ${segmentedControlStyles}
15967
16031
  `;
15968
16032
  var TabsList = ({ children, fullWidth = true, ...props }) => {
15969
- return /* @__PURE__ */ (0, import_jsx_runtime306.jsxs)(
16033
+ return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
15970
16034
  StyledRadixTabsList,
15971
16035
  {
15972
16036
  $fullWidth: fullWidth,
15973
16037
  "aria-label": props["aria-label"],
15974
16038
  children: [
15975
16039
  children,
15976
- /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(SelectedTabIndicator, {})
16040
+ /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(SelectedTabIndicator, {})
15977
16041
  ]
15978
16042
  }
15979
16043
  );
@@ -15985,9 +16049,9 @@ var import_react86 = require("react");
15985
16049
  var import_type_guards63 = require("@wistia/type-guards");
15986
16050
 
15987
16051
  // src/components/Tabs/StyledRadixTabsTrigger.tsx
15988
- var import_styled_components111 = __toESM(require("styled-components"));
16052
+ var import_styled_components112 = __toESM(require("styled-components"));
15989
16053
  var import_react_tabs4 = require("@radix-ui/react-tabs");
15990
- var StyledRadixTabsTrigger = (0, import_styled_components111.default)(import_react_tabs4.Trigger)`
16054
+ var StyledRadixTabsTrigger = (0, import_styled_components112.default)(import_react_tabs4.Trigger)`
15991
16055
  ${segmentedControlItemStyles}
15992
16056
 
15993
16057
  &:focus-visible {
@@ -15996,7 +16060,7 @@ var StyledRadixTabsTrigger = (0, import_styled_components111.default)(import_rea
15996
16060
  `;
15997
16061
 
15998
16062
  // src/components/Tabs/TabsTrigger.tsx
15999
- var import_jsx_runtime307 = require("react/jsx-runtime");
16063
+ var import_jsx_runtime308 = require("react/jsx-runtime");
16000
16064
  var TabsTrigger = (0, import_react86.forwardRef)(
16001
16065
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
16002
16066
  const selectedValue = useTabsValue();
@@ -16028,7 +16092,7 @@ var TabsTrigger = (0, import_react86.forwardRef)(
16028
16092
  resizeObserver.disconnect();
16029
16093
  };
16030
16094
  }, [selectedValue, setSelectedItemMeasurements, value]);
16031
- return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
16095
+ return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(
16032
16096
  StyledRadixTabsTrigger,
16033
16097
  {
16034
16098
  ...otherProps,
@@ -16048,10 +16112,10 @@ var TabsTrigger = (0, import_react86.forwardRef)(
16048
16112
  TabsTrigger.displayName = "TabsTrigger_UI";
16049
16113
 
16050
16114
  // src/components/Thumbnail/ThumbnailBadge.tsx
16051
- var import_styled_components112 = __toESM(require("styled-components"));
16115
+ var import_styled_components113 = __toESM(require("styled-components"));
16052
16116
  var import_type_guards64 = require("@wistia/type-guards");
16053
- var import_jsx_runtime308 = require("react/jsx-runtime");
16054
- var StyledThumbnailBadge = import_styled_components112.default.div`
16117
+ var import_jsx_runtime309 = require("react/jsx-runtime");
16118
+ var StyledThumbnailBadge = import_styled_components113.default.div`
16055
16119
  align-items: center;
16056
16120
  background-color: rgb(0 0 0 / 50%);
16057
16121
  border-radius: var(--wui-border-radius-01);
@@ -16076,23 +16140,23 @@ var StyledThumbnailBadge = import_styled_components112.default.div`
16076
16140
  }
16077
16141
  `;
16078
16142
  var ThumbnailBadge = ({ icon, label, ...props }) => {
16079
- return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(StyledThumbnailBadge, { ...props, children: [
16143
+ return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(StyledThumbnailBadge, { ...props, children: [
16080
16144
  (0, import_type_guards64.isNotNil)(icon) && icon,
16081
- /* @__PURE__ */ (0, import_jsx_runtime308.jsx)("span", { children: label })
16145
+ /* @__PURE__ */ (0, import_jsx_runtime309.jsx)("span", { children: label })
16082
16146
  ] });
16083
16147
  };
16084
16148
  ThumbnailBadge.displayName = "ThumbnailBadge_UI";
16085
16149
 
16086
16150
  // src/components/Thumbnail/Thumbnail.tsx
16087
16151
  var import_react87 = require("react");
16088
- var import_styled_components115 = __toESM(require("styled-components"));
16152
+ var import_styled_components116 = __toESM(require("styled-components"));
16089
16153
  var import_type_guards67 = require("@wistia/type-guards");
16090
16154
 
16091
16155
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
16092
16156
  var import_type_guards65 = require("@wistia/type-guards");
16093
- var import_styled_components113 = require("styled-components");
16157
+ var import_styled_components114 = require("styled-components");
16094
16158
  var gradients = {
16095
- defaultDarkOne: import_styled_components113.css`
16159
+ defaultDarkOne: import_styled_components114.css`
16096
16160
  background-color: #222d66;
16097
16161
  background-image:
16098
16162
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -16100,7 +16164,7 @@ var gradients = {
16100
16164
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
16101
16165
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
16102
16166
  `,
16103
- defaultDarkTwo: import_styled_components113.css`
16167
+ defaultDarkTwo: import_styled_components114.css`
16104
16168
  background-color: #222d66;
16105
16169
  background-image:
16106
16170
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -16108,7 +16172,7 @@ var gradients = {
16108
16172
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
16109
16173
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
16110
16174
  `,
16111
- defaultLightOne: import_styled_components113.css`
16175
+ defaultLightOne: import_styled_components114.css`
16112
16176
  background-color: #ccd5ff;
16113
16177
  background-image:
16114
16178
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -16116,13 +16180,13 @@ var gradients = {
16116
16180
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
16117
16181
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
16118
16182
  `,
16119
- defaultLightTwo: import_styled_components113.css`
16183
+ defaultLightTwo: import_styled_components114.css`
16120
16184
  background-color: #ccd5ff;
16121
16185
  background-image:
16122
16186
  radial-gradient(ellipse at top, #ccd5ff, transparent),
16123
16187
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
16124
16188
  `,
16125
- defaultMidOne: import_styled_components113.css`
16189
+ defaultMidOne: import_styled_components114.css`
16126
16190
  background-color: #6b84ff;
16127
16191
  background-image:
16128
16192
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -16130,13 +16194,13 @@ var gradients = {
16130
16194
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
16131
16195
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
16132
16196
  `,
16133
- defaultMidTwo: import_styled_components113.css`
16197
+ defaultMidTwo: import_styled_components114.css`
16134
16198
  background-color: #6b84ff;
16135
16199
  background-image:
16136
16200
  radial-gradient(ellipse at top, #2949e5, transparent),
16137
16201
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
16138
16202
  `,
16139
- green: import_styled_components113.css`
16203
+ green: import_styled_components114.css`
16140
16204
  background-color: #fafffa;
16141
16205
  background-image:
16142
16206
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -16144,7 +16208,7 @@ var gradients = {
16144
16208
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
16145
16209
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
16146
16210
  `,
16147
- greenWithPop: import_styled_components113.css`
16211
+ greenWithPop: import_styled_components114.css`
16148
16212
  background-color: #fafffa;
16149
16213
  background-image:
16150
16214
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -16152,7 +16216,7 @@ var gradients = {
16152
16216
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
16153
16217
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
16154
16218
  `,
16155
- pink: import_styled_components113.css`
16219
+ pink: import_styled_components114.css`
16156
16220
  background-color: #fffff0;
16157
16221
  background-image:
16158
16222
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -16160,7 +16224,7 @@ var gradients = {
16160
16224
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
16161
16225
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
16162
16226
  `,
16163
- pinkWithPop: import_styled_components113.css`
16227
+ pinkWithPop: import_styled_components114.css`
16164
16228
  background-color: #fffff0;
16165
16229
  background-image:
16166
16230
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -16168,7 +16232,7 @@ var gradients = {
16168
16232
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
16169
16233
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
16170
16234
  `,
16171
- playfulGradientOne: import_styled_components113.css`
16235
+ playfulGradientOne: import_styled_components114.css`
16172
16236
  background-color: #f7f8ff;
16173
16237
  background-image:
16174
16238
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -16176,7 +16240,7 @@ var gradients = {
16176
16240
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
16177
16241
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
16178
16242
  `,
16179
- playfulGradientTwo: import_styled_components113.css`
16243
+ playfulGradientTwo: import_styled_components114.css`
16180
16244
  background-color: #f7f8ff;
16181
16245
  background-image:
16182
16246
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -16184,13 +16248,13 @@ var gradients = {
16184
16248
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
16185
16249
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
16186
16250
  `,
16187
- purple: import_styled_components113.css`
16251
+ purple: import_styled_components114.css`
16188
16252
  background-color: #f2caff;
16189
16253
  background-image:
16190
16254
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
16191
16255
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
16192
16256
  `,
16193
- purpleWithPop: import_styled_components113.css`
16257
+ purpleWithPop: import_styled_components114.css`
16194
16258
  background-color: #f2caff;
16195
16259
  background-image:
16196
16260
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -16198,7 +16262,7 @@ var gradients = {
16198
16262
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
16199
16263
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
16200
16264
  `,
16201
- yellow: import_styled_components113.css`
16265
+ yellow: import_styled_components114.css`
16202
16266
  background-color: #fffff0;
16203
16267
  background-image:
16204
16268
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -16206,7 +16270,7 @@ var gradients = {
16206
16270
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
16207
16271
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
16208
16272
  `,
16209
- yellowWithPop: import_styled_components113.css`
16273
+ yellowWithPop: import_styled_components114.css`
16210
16274
  background-color: #fffff0;
16211
16275
  background-image:
16212
16276
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -16221,10 +16285,10 @@ var getBackgroundGradient = (gradientName = void 0) => {
16221
16285
  };
16222
16286
 
16223
16287
  // src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
16224
- var import_styled_components114 = __toESM(require("styled-components"));
16288
+ var import_styled_components115 = __toESM(require("styled-components"));
16225
16289
  var import_type_guards66 = require("@wistia/type-guards");
16226
- var import_jsx_runtime309 = require("react/jsx-runtime");
16227
- var ScrubLine = import_styled_components114.default.div`
16290
+ var import_jsx_runtime310 = require("react/jsx-runtime");
16291
+ var ScrubLine = import_styled_components115.default.div`
16228
16292
  position: absolute;
16229
16293
  top: 0;
16230
16294
  height: 100%;
@@ -16327,14 +16391,14 @@ var ThumbnailStoryboardViewer = ({
16327
16391
  backgroundPosition,
16328
16392
  backgroundSize
16329
16393
  };
16330
- return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(
16394
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(
16331
16395
  "div",
16332
16396
  {
16333
16397
  ...props,
16334
16398
  style: viewerStyles,
16335
16399
  children: [
16336
- /* @__PURE__ */ (0, import_jsx_runtime309.jsx)("div", { style: storyboardStyles }),
16337
- showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
16400
+ /* @__PURE__ */ (0, import_jsx_runtime310.jsx)("div", { style: storyboardStyles }),
16401
+ showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16338
16402
  ScrubLine,
16339
16403
  {
16340
16404
  style: {
@@ -16348,20 +16412,20 @@ var ThumbnailStoryboardViewer = ({
16348
16412
  };
16349
16413
 
16350
16414
  // src/components/Thumbnail/Thumbnail.tsx
16351
- var import_jsx_runtime310 = require("react/jsx-runtime");
16352
- var WideThumbnailImage = import_styled_components115.default.img`
16415
+ var import_jsx_runtime311 = require("react/jsx-runtime");
16416
+ var WideThumbnailImage = import_styled_components116.default.img`
16353
16417
  height: 100%;
16354
16418
  object-fit: cover;
16355
16419
  width: 100%;
16356
16420
  `;
16357
- var SquareThumbnailImage = import_styled_components115.default.img`
16421
+ var SquareThumbnailImage = import_styled_components116.default.img`
16358
16422
  backdrop-filter: blur(8px);
16359
16423
  object-fit: contain;
16360
16424
  width: 100%;
16361
16425
  `;
16362
16426
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
16363
16427
  if (thumbnailImageType === "wide") {
16364
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16428
+ return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16365
16429
  WideThumbnailImage,
16366
16430
  {
16367
16431
  alt: "",
@@ -16370,7 +16434,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
16370
16434
  }
16371
16435
  );
16372
16436
  }
16373
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16437
+ return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16374
16438
  SquareThumbnailImage,
16375
16439
  {
16376
16440
  alt: "",
@@ -16379,7 +16443,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
16379
16443
  }
16380
16444
  );
16381
16445
  };
16382
- var StyledThumbnail = import_styled_components115.default.div`
16446
+ var StyledThumbnail = import_styled_components116.default.div`
16383
16447
  background-image: ${({ $backgroundUrl }) => (0, import_type_guards67.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
16384
16448
  ${({ $backgroundUrl, $gradientBackground }) => (
16385
16449
  // if we don't have $backgroundUrl show a gradient
@@ -16473,7 +16537,7 @@ var Thumbnail = (0, import_react87.forwardRef)(
16473
16537
  } = storyboard;
16474
16538
  const targetWidth = (0, import_type_guards67.isString)(width) ? parseInt(width, 10) : Number(width);
16475
16539
  const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
16476
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16540
+ return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16477
16541
  ThumbnailStoryboardViewer,
16478
16542
  {
16479
16543
  cursorPosition: effectiveCursorPosition,
@@ -16493,7 +16557,7 @@ var Thumbnail = (0, import_react87.forwardRef)(
16493
16557
  if (shouldRenderStoryboard) {
16494
16558
  thumbnailContent = renderStoryboard();
16495
16559
  } else if ((0, import_type_guards67.isNotNil)(thumbnailUrl)) {
16496
- thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16560
+ thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16497
16561
  ThumbnailImage,
16498
16562
  {
16499
16563
  thumbnailImageType,
@@ -16503,7 +16567,7 @@ var Thumbnail = (0, import_react87.forwardRef)(
16503
16567
  } else {
16504
16568
  thumbnailContent = null;
16505
16569
  }
16506
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(
16570
+ return /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(
16507
16571
  StyledThumbnail,
16508
16572
  {
16509
16573
  ref,
@@ -16528,13 +16592,13 @@ Thumbnail.displayName = "Thumbnail_UI";
16528
16592
 
16529
16593
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
16530
16594
  var import_react88 = __toESM(require("react"));
16531
- var import_styled_components116 = __toESM(require("styled-components"));
16595
+ var import_styled_components117 = __toESM(require("styled-components"));
16532
16596
  var import_type_guards68 = require("@wistia/type-guards");
16533
- var import_jsx_runtime311 = (
16597
+ var import_jsx_runtime312 = (
16534
16598
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
16535
16599
  require("react/jsx-runtime")
16536
16600
  );
16537
- var StyledThumbnailCollage = import_styled_components116.default.div`
16601
+ var StyledThumbnailCollage = import_styled_components117.default.div`
16538
16602
  display: grid;
16539
16603
  gap: var(--wui-space-01);
16540
16604
  width: 100%;
@@ -16615,7 +16679,7 @@ var ThumbnailCollage = ({
16615
16679
  children: void 0
16616
16680
  });
16617
16681
  }) : [
16618
- /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16682
+ /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16619
16683
  Thumbnail,
16620
16684
  {
16621
16685
  gradientBackground,
@@ -16624,7 +16688,7 @@ var ThumbnailCollage = ({
16624
16688
  "fallback"
16625
16689
  )
16626
16690
  ];
16627
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16691
+ return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16628
16692
  StyledThumbnailCollage,
16629
16693
  {
16630
16694
  $gradientBackground: gradientBackground,
@@ -16636,26 +16700,26 @@ var ThumbnailCollage = ({
16636
16700
  };
16637
16701
 
16638
16702
  // src/components/WistiaLogo/WistiaLogo.tsx
16639
- var import_styled_components117 = __toESM(require("styled-components"));
16703
+ var import_styled_components118 = __toESM(require("styled-components"));
16640
16704
  var import_type_guards69 = require("@wistia/type-guards");
16641
- var import_jsx_runtime312 = require("react/jsx-runtime");
16705
+ var import_jsx_runtime313 = require("react/jsx-runtime");
16642
16706
  var renderBrandmark = (brandmarkColor, iconOnly) => {
16643
16707
  if (iconOnly) {
16644
- return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16708
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16645
16709
  "g",
16646
16710
  {
16647
16711
  "data-testid": "ui-wistia-logo-brandmark",
16648
16712
  fill: brandmarkColor,
16649
- children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
16713
+ children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
16650
16714
  }
16651
16715
  );
16652
16716
  }
16653
- return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16717
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16654
16718
  "g",
16655
16719
  {
16656
16720
  "data-testid": "ui-wistia-logo-brandmark",
16657
16721
  fill: brandmarkColor,
16658
- children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
16722
+ children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
16659
16723
  }
16660
16724
  );
16661
16725
  };
@@ -16663,12 +16727,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
16663
16727
  if (iconOnly) {
16664
16728
  return null;
16665
16729
  }
16666
- return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16730
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16667
16731
  "g",
16668
16732
  {
16669
16733
  "data-testid": "ui-wistia-logo-logotype",
16670
16734
  fill: logotypeColor,
16671
- children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
16735
+ children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
16672
16736
  }
16673
16737
  );
16674
16738
  };
@@ -16678,7 +16742,7 @@ var computedViewBox = (iconOnly) => {
16678
16742
  }
16679
16743
  return "0 0 144 31.47";
16680
16744
  };
16681
- var WistiaLogoComponent = import_styled_components117.default.svg`
16745
+ var WistiaLogoComponent = import_styled_components118.default.svg`
16682
16746
  height: ${({ height }) => `${height}px`};
16683
16747
 
16684
16748
  /* ensure it will always fit on mobile */
@@ -16694,12 +16758,12 @@ var WistiaLogoComponent = import_styled_components117.default.svg`
16694
16758
  ${({ $opticallyCentered, $iconOnly }) => {
16695
16759
  if ($opticallyCentered) {
16696
16760
  if ($iconOnly) {
16697
- return import_styled_components117.css`
16761
+ return import_styled_components118.css`
16698
16762
  aspect-ratio: 1;
16699
16763
  padding: 11.85% 3.12% 13.91%;
16700
16764
  `;
16701
16765
  }
16702
- return import_styled_components117.css`
16766
+ return import_styled_components118.css`
16703
16767
  aspect-ratio: 127 / 32;
16704
16768
  `;
16705
16769
  }
@@ -16736,7 +16800,7 @@ var WistiaLogo = ({
16736
16800
  };
16737
16801
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
16738
16802
  const logotypeColor = VARIANT_COLORS[variant].logotype;
16739
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime312.jsxs)(
16803
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(
16740
16804
  WistiaLogoComponent,
16741
16805
  {
16742
16806
  $hoverColor: hoverColor,
@@ -16749,23 +16813,23 @@ var WistiaLogo = ({
16749
16813
  xmlns: "http://www.w3.org/2000/svg",
16750
16814
  ...props,
16751
16815
  children: [
16752
- /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("title", { children: title }),
16753
- (0, import_type_guards69.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("desc", { children: description }) : null,
16816
+ /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("title", { children: title }),
16817
+ (0, import_type_guards69.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("desc", { children: description }) : null,
16754
16818
  renderBrandmark(brandmarkColor, iconOnly),
16755
16819
  renderLogotype(logotypeColor, iconOnly)
16756
16820
  ]
16757
16821
  }
16758
16822
  );
16759
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("a", { href, children: Logo }) : Logo;
16823
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("a", { href, children: Logo }) : Logo;
16760
16824
  };
16761
16825
  WistiaLogo.displayName = "WistiaLogo_UI";
16762
16826
 
16763
16827
  // src/components/InputPassword/InputPassword.tsx
16764
- var import_styled_components118 = __toESM(require("styled-components"));
16828
+ var import_styled_components119 = __toESM(require("styled-components"));
16765
16829
  var import_react89 = require("react");
16766
16830
  var import_type_guards70 = require("@wistia/type-guards");
16767
- var import_jsx_runtime313 = require("react/jsx-runtime");
16768
- var StyledIconButton = (0, import_styled_components118.default)(IconButton)`
16831
+ var import_jsx_runtime314 = require("react/jsx-runtime");
16832
+ var StyledIconButton = (0, import_styled_components119.default)(IconButton)`
16769
16833
  /* override size for icon button since prop gets changed by Input */
16770
16834
  height: var(--icon-button-size-sm);
16771
16835
  width: var(--icon-button-size-sm);
@@ -16783,13 +16847,13 @@ var InputPassword = (0, import_react89.forwardRef)(
16783
16847
  onVisibilityToggle(newVisibility);
16784
16848
  }
16785
16849
  };
16786
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16850
+ return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16787
16851
  Input,
16788
16852
  {
16789
16853
  ...props,
16790
16854
  ref,
16791
16855
  disabled,
16792
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16856
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16793
16857
  StyledIconButton,
16794
16858
  {
16795
16859
  disabled,
@@ -16797,7 +16861,7 @@ var InputPassword = (0, import_react89.forwardRef)(
16797
16861
  onClick: handleClick,
16798
16862
  tabIndex: disabled ? -1 : 0,
16799
16863
  variant: "ghost",
16800
- children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(Icon, { type: isVisible ? "preview" : "hide" })
16864
+ children: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(Icon, { type: isVisible ? "preview" : "hide" })
16801
16865
  }
16802
16866
  ),
16803
16867
  type: isVisible ? "text" : "password"
@@ -16810,7 +16874,7 @@ InputPassword.displayName = "InputPassword_UI";
16810
16874
  // src/components/ContextMenu/ContextMenu.tsx
16811
16875
  var import_react90 = require("react");
16812
16876
  var import_type_guards71 = require("@wistia/type-guards");
16813
- var import_jsx_runtime314 = require("react/jsx-runtime");
16877
+ var import_jsx_runtime315 = require("react/jsx-runtime");
16814
16878
  var ContextMenu = ({
16815
16879
  position,
16816
16880
  triggerRef,
@@ -16835,7 +16899,7 @@ var ContextMenu = ({
16835
16899
  return () => null;
16836
16900
  }, [position, triggerRef]);
16837
16901
  const isOpen = (0, import_type_guards71.isNotNil)(position) || isRightClicked;
16838
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16902
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(
16839
16903
  Menu,
16840
16904
  {
16841
16905
  avoidCollisions: false,
@@ -16846,7 +16910,7 @@ var ContextMenu = ({
16846
16910
  onRequestClose();
16847
16911
  }
16848
16912
  },
16849
- trigger: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16913
+ trigger: /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(
16850
16914
  "button",
16851
16915
  {
16852
16916
  "aria-label": "context menu",
@@ -16901,6 +16965,7 @@ var ContextMenu = ({
16901
16965
  ContextMenu,
16902
16966
  ContrastControls,
16903
16967
  DataCard,
16968
+ DataCardHoverArrow,
16904
16969
  DataCardTrend,
16905
16970
  DataCards,
16906
16971
  Divider,
@@ -16976,6 +17041,7 @@ var ContextMenu = ({
16976
17041
  ValueNameOrHexCode,
16977
17042
  ValueSwatch,
16978
17043
  WistiaLogo,
17044
+ calculateContrast,
16979
17045
  colorSchemeOptions,
16980
17046
  copyToClipboard,
16981
17047
  dateTime,