@wistia/ui 0.8.22 → 0.8.23-beta.0ac1ccb6.3899dcb

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.8.22
3
+ * @license @wistia/ui v0.8.23-beta.0ac1ccb6.3899dcb
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7298,6 +7298,7 @@ var Button = (0, import_react22.forwardRef)(
7298
7298
  {
7299
7299
  ref,
7300
7300
  as: Link,
7301
+ disabled: isAriaDisabled(),
7301
7302
  ...props,
7302
7303
  ...commonProps,
7303
7304
  children: unstyled ? children : /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
@@ -11161,8 +11162,8 @@ var Modal = (0, import_react54.forwardRef)(
11161
11162
  Modal.displayName = "Modal";
11162
11163
 
11163
11164
  // src/components/Popover/Popover.tsx
11164
- var import_react_popover = require("@radix-ui/react-popover");
11165
- var import_styled_components67 = __toESM(require("styled-components"));
11165
+ var import_react_popover2 = require("@radix-ui/react-popover");
11166
+ var import_styled_components68 = __toESM(require("styled-components"));
11166
11167
 
11167
11168
  // src/private/helpers/getControls/getControlProps.tsx
11168
11169
  var import_type_guards43 = require("@wistia/type-guards");
@@ -11170,11 +11171,89 @@ var getControlProps = (isOpen, onOpenChange) => {
11170
11171
  return (0, import_type_guards43.isNotNil)(onOpenChange) && (0, import_type_guards43.isNotNil)(isOpen) ? { open: isOpen, onOpenChange } : {};
11171
11172
  };
11172
11173
 
11173
- // src/components/Popover/Popover.tsx
11174
+ // src/components/Popover/PopoverArrow.tsx
11175
+ var import_react_popover = require("@radix-ui/react-popover");
11176
+ var import_styled_components67 = __toESM(require("styled-components"));
11174
11177
  var import_jsx_runtime246 = require("react/jsx-runtime");
11175
- var StyledContent2 = (0, import_styled_components67.default)(import_react_popover.Content)`
11178
+ var StyledPath = import_styled_components67.default.path`
11179
+ fill: var(--wui-color-border-secondary);
11180
+ `;
11181
+ var circleAnimation = import_styled_components67.keyframes`
11182
+ 0% {
11183
+ opacity: var(--wui-popover-arrow-circle-starting-opacity);
11184
+ }
11185
+ 100% {
11186
+ opacity: 0;
11187
+ }
11188
+ `;
11189
+ var StyledCircle = import_styled_components67.default.circle`
11190
+ stroke: var(--wui-color-border-active);
11191
+ animation-duration: 2s;
11192
+ animation-iteration-count: infinite;
11193
+ animation-direction: alternate;
11194
+ animation-timing-function: ease-in-out;
11195
+
11196
+ &[data-wui-popover-arrow-inner-circle] {
11197
+ --wui-popover-arrow-circle-starting-opacity: 0.36;
11198
+ opacity: var(--wui-popover-arrow-circle-starting-opacity);
11199
+ }
11200
+
11201
+ &[data-wui-popover-arrow-outer-circle] {
11202
+ --wui-popover-arrow-circle-starting-opacity: 0.2;
11203
+ animation-direction: alternate-reverse;
11204
+ opacity: 0.11;
11205
+ }
11206
+
11207
+ @media (prefers-reduced-motion: no-preference) {
11208
+ ${({ $isAnimated }) => $isAnimated && import_styled_components67.css`
11209
+ animation-name: ${circleAnimation};
11210
+ `}
11211
+ }
11212
+ `;
11213
+ var PopoverArrow = ({ isAnimated }) => {
11214
+ return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
11215
+ "svg",
11216
+ {
11217
+ fill: "none",
11218
+ height: "56",
11219
+ viewBox: "0 0 48 56",
11220
+ width: "48",
11221
+ xmlns: "http://www.w3.org/2000/svg",
11222
+ children: [
11223
+ /* @__PURE__ */ (0, import_jsx_runtime246.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" }),
11224
+ /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11225
+ StyledCircle,
11226
+ {
11227
+ $isAnimated: isAnimated,
11228
+ cx: "24",
11229
+ cy: "32",
11230
+ "data-wui-popover-arrow-inner-circle": true,
11231
+ r: "10",
11232
+ strokeWidth: "4"
11233
+ }
11234
+ ),
11235
+ /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11236
+ StyledCircle,
11237
+ {
11238
+ $isAnimated: isAnimated,
11239
+ cx: "24",
11240
+ cy: "32",
11241
+ "data-wui-popover-arrow-outer-circle": true,
11242
+ r: "20",
11243
+ strokeWidth: "8"
11244
+ }
11245
+ )
11246
+ ]
11247
+ }
11248
+ ) });
11249
+ };
11250
+ PopoverArrow.displayName = "PopoverArrow";
11251
+
11252
+ // src/components/Popover/Popover.tsx
11253
+ var import_jsx_runtime247 = require("react/jsx-runtime");
11254
+ var StyledContent2 = (0, import_styled_components68.default)(import_react_popover2.Content)`
11176
11255
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11177
- ${({ $unstyled }) => !$unstyled && import_styled_components67.css`
11256
+ ${({ $unstyled }) => !$unstyled && import_styled_components68.css`
11178
11257
  border-radius: var(--wui-border-radius-02);
11179
11258
  padding: var(--wui-space-04);
11180
11259
  max-width: var(--wui-popover-max-width, 320px);
@@ -11200,34 +11279,38 @@ var Popover = ({
11200
11279
  maxHeight = "auto",
11201
11280
  onOpenChange,
11202
11281
  unstyled = false,
11282
+ withArrow = false,
11283
+ isAnimated = false,
11203
11284
  colorScheme = "inherit",
11204
11285
  ...props
11205
11286
  }) => {
11287
+ const sideOffset = withArrow ? -24 : 8;
11206
11288
  const style = {
11207
11289
  "--wui-popover-max-width": maxWidth,
11208
11290
  "--wui-popover-max-height": maxHeight
11209
11291
  };
11210
- return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(import_react_popover.Root, { ...getControlProps(isOpen, onOpenChange), children: [
11211
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.Trigger, { asChild: true, children: trigger }),
11212
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
11292
+ return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(import_react_popover2.Root, { ...getControlProps(isOpen, onOpenChange), children: [
11293
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(import_react_popover2.Trigger, { asChild: true, children: trigger }),
11294
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(import_react_popover2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
11213
11295
  StyledContent2,
11214
11296
  {
11215
11297
  $colorScheme: colorScheme,
11216
- sideOffset: 8,
11298
+ sideOffset,
11217
11299
  ...props,
11218
11300
  $unstyled: unstyled,
11219
11301
  style,
11220
11302
  children: [
11221
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11303
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(import_react_popover2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11222
11304
  IconButton,
11223
11305
  {
11224
11306
  "data-wui-popover-close": true,
11225
11307
  label: "Close",
11226
11308
  variant: "ghost",
11227
- children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(Icon, { type: "close" })
11309
+ children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Icon, { type: "close" })
11228
11310
  }
11229
11311
  ) }),
11230
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)("div", { children })
11312
+ withArrow ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(PopoverArrow, { isAnimated }) : null,
11313
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)("div", { children })
11231
11314
  ]
11232
11315
  }
11233
11316
  ) })
@@ -11236,11 +11319,11 @@ var Popover = ({
11236
11319
  Popover.displayName = "Popover";
11237
11320
 
11238
11321
  // src/components/ProgressBar/ProgressBar.tsx
11239
- var import_styled_components68 = __toESM(require("styled-components"));
11322
+ var import_styled_components69 = __toESM(require("styled-components"));
11240
11323
  var import_react_progress = require("@radix-ui/react-progress");
11241
11324
  var import_type_guards44 = require("@wistia/type-guards");
11242
- var import_jsx_runtime247 = require("react/jsx-runtime");
11243
- var ProgressBarWrapper = import_styled_components68.default.div`
11325
+ var import_jsx_runtime248 = require("react/jsx-runtime");
11326
+ var ProgressBarWrapper = import_styled_components69.default.div`
11244
11327
  --progress-bar-height: 8px;
11245
11328
  --progress-bar-indicator-color: var(--wui-color-bg-fill);
11246
11329
  --progress-bar-background-color: var(--wui-color-bg-surface-secondary);
@@ -11256,7 +11339,7 @@ var getTranslateValue = (progress, max) => {
11256
11339
  const progressPercentage = progress / max * 100;
11257
11340
  return `translateX(-${100 - progressPercentage}%)`;
11258
11341
  };
11259
- var ProgressBarLabel = import_styled_components68.default.div`
11342
+ var ProgressBarLabel = import_styled_components69.default.div`
11260
11343
  display: flex;
11261
11344
  line-height: var(--wui-typography-label-3-line-height);
11262
11345
  font-size: var(--wui-typography-label-3-size);
@@ -11264,7 +11347,7 @@ var ProgressBarLabel = import_styled_components68.default.div`
11264
11347
  color: var(--wui-color-text-secondary);
11265
11348
  flex-shrink: 0;
11266
11349
  `;
11267
- var StyledProgressIndicator = (0, import_styled_components68.default)(import_react_progress.Indicator)`
11350
+ var StyledProgressIndicator = (0, import_styled_components69.default)(import_react_progress.Indicator)`
11268
11351
  background-color: var(--progress-bar-indicator-color);
11269
11352
  width: 100%;
11270
11353
  height: 100%;
@@ -11273,7 +11356,7 @@ var StyledProgressIndicator = (0, import_styled_components68.default)(import_rea
11273
11356
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
11274
11357
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
11275
11358
  `;
11276
- var StyledProgressBar = (0, import_styled_components68.default)(import_react_progress.Root)`
11359
+ var StyledProgressBar = (0, import_styled_components69.default)(import_react_progress.Root)`
11277
11360
  position: relative;
11278
11361
  overflow: hidden;
11279
11362
  background: var(--progress-bar-background-color);
@@ -11292,15 +11375,15 @@ var ProgressBar = ({
11292
11375
  labelRight,
11293
11376
  ...props
11294
11377
  }) => {
11295
- return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(ProgressBarWrapper, { children: [
11296
- (0, import_type_guards44.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
11297
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11378
+ return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(ProgressBarWrapper, { children: [
11379
+ (0, import_type_guards44.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
11380
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11298
11381
  StyledProgressBar,
11299
11382
  {
11300
11383
  max,
11301
11384
  value: progress,
11302
11385
  ...props,
11303
- children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11386
+ children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11304
11387
  StyledProgressIndicator,
11305
11388
  {
11306
11389
  $max: max,
@@ -11309,17 +11392,17 @@ var ProgressBar = ({
11309
11392
  )
11310
11393
  }
11311
11394
  ),
11312
- (0, import_type_guards44.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(ProgressBarLabel, { children: labelRight }) : null
11395
+ (0, import_type_guards44.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(ProgressBarLabel, { children: labelRight }) : null
11313
11396
  ] });
11314
11397
  };
11315
11398
  ProgressBar.displayName = "ProgressBar";
11316
11399
 
11317
11400
  // src/components/Radio/Radio.tsx
11318
11401
  var import_react55 = require("react");
11319
- var import_styled_components69 = __toESM(require("styled-components"));
11402
+ var import_styled_components70 = __toESM(require("styled-components"));
11320
11403
  var import_type_guards45 = require("@wistia/type-guards");
11321
- var import_jsx_runtime248 = require("react/jsx-runtime");
11322
- var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11404
+ var import_jsx_runtime249 = require("react/jsx-runtime");
11405
+ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11323
11406
  "svg",
11324
11407
  {
11325
11408
  fill: "inherit",
@@ -11327,7 +11410,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11327
11410
  viewBox: "0 0 1 1",
11328
11411
  width: "1",
11329
11412
  xmlns: "http://www.w3.org/2000/svg",
11330
- children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11413
+ children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11331
11414
  "circle",
11332
11415
  {
11333
11416
  cx: "0.5",
@@ -11338,7 +11421,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11338
11421
  )
11339
11422
  }
11340
11423
  );
11341
- var sizeSmall2 = import_styled_components69.css`
11424
+ var sizeSmall2 = import_styled_components70.css`
11342
11425
  width: 14px;
11343
11426
  height: 14px;
11344
11427
  min-width: 14px;
@@ -11349,7 +11432,7 @@ var sizeSmall2 = import_styled_components69.css`
11349
11432
  height: 7px;
11350
11433
  }
11351
11434
  `;
11352
- var sizeMedium2 = import_styled_components69.css`
11435
+ var sizeMedium2 = import_styled_components70.css`
11353
11436
  width: 16px;
11354
11437
  height: 16px;
11355
11438
  min-width: 16px;
@@ -11360,7 +11443,7 @@ var sizeMedium2 = import_styled_components69.css`
11360
11443
  height: 8px;
11361
11444
  }
11362
11445
  `;
11363
- var sizeLarge2 = import_styled_components69.css`
11446
+ var sizeLarge2 = import_styled_components70.css`
11364
11447
  width: 20px;
11365
11448
  height: 20px;
11366
11449
  min-width: 20px;
@@ -11376,14 +11459,14 @@ var getSizeCss2 = (size) => {
11376
11459
  if (size === "lg") return sizeLarge2;
11377
11460
  return sizeMedium2;
11378
11461
  };
11379
- var StyledRadioWrapper = import_styled_components69.default.div`
11462
+ var StyledRadioWrapper = import_styled_components70.default.div`
11380
11463
  display: flex;
11381
11464
  margin: 0;
11382
11465
 
11383
11466
  /* TODO this solves a problem but potentially causes and a11y issue */
11384
11467
  user-select: none;
11385
11468
  `;
11386
- var StyledRadioInput = import_styled_components69.default.div`
11469
+ var StyledRadioInput = import_styled_components70.default.div`
11387
11470
  ${({ $size }) => getSizeCss2($size)}
11388
11471
  line-height: 0;
11389
11472
  margin: 0;
@@ -11405,7 +11488,7 @@ var StyledRadioInput = import_styled_components69.default.div`
11405
11488
  }
11406
11489
  }
11407
11490
  `;
11408
- var StyledHiddenRadioInput = import_styled_components69.default.input`
11491
+ var StyledHiddenRadioInput = import_styled_components70.default.input`
11409
11492
  ${visuallyHiddenStyle}
11410
11493
 
11411
11494
  /* toggles display of faux-input border-color */
@@ -11435,13 +11518,13 @@ var Radio = (0, import_react55.forwardRef)(
11435
11518
  }, ref) => {
11436
11519
  const generatedId = (0, import_react55.useId)();
11437
11520
  const computedId = (0, import_type_guards45.isNonEmptyString)(id) ? id : `wistia-ui-radio-${generatedId}`;
11438
- return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
11521
+ return /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
11439
11522
  StyledRadioWrapper,
11440
11523
  {
11441
11524
  $disabled: disabled,
11442
11525
  "aria-invalid": props["aria-invalid"],
11443
11526
  children: [
11444
- /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11527
+ /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11445
11528
  StyledHiddenRadioInput,
11446
11529
  {
11447
11530
  ...props,
@@ -11456,16 +11539,16 @@ var Radio = (0, import_react55.forwardRef)(
11456
11539
  value
11457
11540
  }
11458
11541
  ),
11459
- /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11542
+ /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11460
11543
  FormControlLabel,
11461
11544
  {
11462
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11545
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11463
11546
  StyledRadioInput,
11464
11547
  {
11465
11548
  $disabled: disabled,
11466
11549
  $size: size,
11467
11550
  "data-wui-faux-input": "true",
11468
- children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(RadioIcon, {})
11551
+ children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(RadioIcon, {})
11469
11552
  }
11470
11553
  ),
11471
11554
  description,
@@ -11484,13 +11567,13 @@ Radio.displayName = "Radio";
11484
11567
 
11485
11568
  // src/components/SegmentedControl/SegmentedControl.tsx
11486
11569
  var import_react58 = require("react");
11487
- var import_styled_components71 = __toESM(require("styled-components"));
11570
+ var import_styled_components72 = __toESM(require("styled-components"));
11488
11571
  var import_react_toggle_group = require("@radix-ui/react-toggle-group");
11489
11572
  var import_type_guards46 = require("@wistia/type-guards");
11490
11573
 
11491
11574
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
11492
11575
  var import_react56 = require("react");
11493
- var import_jsx_runtime249 = require("react/jsx-runtime");
11576
+ var import_jsx_runtime250 = require("react/jsx-runtime");
11494
11577
  var SelectedItemStyleContext = (0, import_react56.createContext)(null);
11495
11578
  var SelectedItemStyleProvider = ({
11496
11579
  children
@@ -11513,7 +11596,7 @@ var SelectedItemStyleProvider = ({
11513
11596
  }),
11514
11597
  [selectedItemIndicatorStyle]
11515
11598
  );
11516
- return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
11599
+ return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
11517
11600
  };
11518
11601
  var useSelectedItemStyle = () => {
11519
11602
  const context = (0, import_react56.useContext)(SelectedItemStyleContext);
@@ -11524,7 +11607,7 @@ var useSelectedItemStyle = () => {
11524
11607
  };
11525
11608
 
11526
11609
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
11527
- var import_styled_components70 = __toESM(require("styled-components"));
11610
+ var import_styled_components71 = __toESM(require("styled-components"));
11528
11611
 
11529
11612
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
11530
11613
  var import_react57 = require("react");
@@ -11539,8 +11622,8 @@ var useSegmentedControlValue = () => {
11539
11622
  };
11540
11623
 
11541
11624
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
11542
- var import_jsx_runtime250 = require("react/jsx-runtime");
11543
- var SelectedItemIndicatorDiv = import_styled_components70.default.div`
11625
+ var import_jsx_runtime251 = require("react/jsx-runtime");
11626
+ var SelectedItemIndicatorDiv = import_styled_components71.default.div`
11544
11627
  background-color: var(--wui-color-bg-fill-white);
11545
11628
  border-radius: var(--wui-border-radius-rounded);
11546
11629
  left: 0;
@@ -11558,12 +11641,12 @@ var SelectedItemIndicator = () => {
11558
11641
  if (!selectedValue) {
11559
11642
  return null;
11560
11643
  }
11561
- return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
11644
+ return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
11562
11645
  };
11563
11646
 
11564
11647
  // src/components/SegmentedControl/SegmentedControl.tsx
11565
- var import_jsx_runtime251 = require("react/jsx-runtime");
11566
- var segmentedControlStyles = import_styled_components71.css`
11648
+ var import_jsx_runtime252 = require("react/jsx-runtime");
11649
+ var segmentedControlStyles = import_styled_components72.css`
11567
11650
  display: inline-flex;
11568
11651
  background-color: var(--wui-color-bg-surface-secondary);
11569
11652
  border-radius: var(--wui-border-radius-rounded);
@@ -11574,7 +11657,7 @@ var segmentedControlStyles = import_styled_components71.css`
11574
11657
  position: relative;
11575
11658
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
11576
11659
  `;
11577
- var StyledSegmentedControl = (0, import_styled_components71.default)(import_react_toggle_group.Root)`
11660
+ var StyledSegmentedControl = (0, import_styled_components72.default)(import_react_toggle_group.Root)`
11578
11661
  ${segmentedControlStyles}
11579
11662
  `;
11580
11663
  var SegmentedControl = (0, import_react58.forwardRef)(
@@ -11589,7 +11672,7 @@ var SegmentedControl = (0, import_react58.forwardRef)(
11589
11672
  if ((0, import_type_guards46.isNil)(children)) {
11590
11673
  return null;
11591
11674
  }
11592
- return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
11675
+ return /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
11593
11676
  StyledSegmentedControl,
11594
11677
  {
11595
11678
  ref,
@@ -11601,8 +11684,8 @@ var SegmentedControl = (0, import_react58.forwardRef)(
11601
11684
  type: "single",
11602
11685
  value: selectedValue,
11603
11686
  ...props,
11604
- children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(SelectedItemStyleProvider, { children: [
11605
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(SelectedItemIndicator, {}),
11687
+ children: /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(SelectedItemStyleProvider, { children: [
11688
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(SelectedItemIndicator, {}),
11606
11689
  children
11607
11690
  ] }) })
11608
11691
  }
@@ -11613,11 +11696,11 @@ SegmentedControl.displayName = "SegmentedControl";
11613
11696
 
11614
11697
  // src/components/SegmentedControl/SegmentedControlItem.tsx
11615
11698
  var import_react59 = require("react");
11616
- var import_styled_components72 = __toESM(require("styled-components"));
11699
+ var import_styled_components73 = __toESM(require("styled-components"));
11617
11700
  var import_react_toggle_group2 = require("@radix-ui/react-toggle-group");
11618
11701
  var import_type_guards47 = require("@wistia/type-guards");
11619
- var import_jsx_runtime252 = require("react/jsx-runtime");
11620
- var segmentedControlItemStyles = import_styled_components72.css`
11702
+ var import_jsx_runtime253 = require("react/jsx-runtime");
11703
+ var segmentedControlItemStyles = import_styled_components73.css`
11621
11704
  all: unset; /* ToggleGroupItem is a button element */
11622
11705
  align-items: center;
11623
11706
  border-radius: var(--wui-border-radius-rounded);
@@ -11677,7 +11760,7 @@ var segmentedControlItemStyles = import_styled_components72.css`
11677
11760
  }
11678
11761
  }
11679
11762
  `;
11680
- var StyledSegmentedControlItem = (0, import_styled_components72.default)(import_react_toggle_group2.Item)`
11763
+ var StyledSegmentedControlItem = (0, import_styled_components73.default)(import_react_toggle_group2.Item)`
11681
11764
  ${segmentedControlItemStyles}
11682
11765
  `;
11683
11766
  var SegmentedControlItem = (0, import_react59.forwardRef)(
@@ -11718,7 +11801,7 @@ var SegmentedControlItem = (0, import_react59.forwardRef)(
11718
11801
  resizeObserver.disconnect();
11719
11802
  };
11720
11803
  }, [selectedValue, setSelectedItemMeasurements, value]);
11721
- return /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
11804
+ return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
11722
11805
  StyledSegmentedControlItem,
11723
11806
  {
11724
11807
  ref: combinedRef,
@@ -11740,9 +11823,9 @@ SegmentedControlItem.displayName = "SegmentedControlItem";
11740
11823
  // src/components/Select/Select.tsx
11741
11824
  var import_react_select = require("@radix-ui/react-select");
11742
11825
  var import_react60 = require("react");
11743
- var import_styled_components73 = __toESM(require("styled-components"));
11744
- var import_jsx_runtime253 = require("react/jsx-runtime");
11745
- var StyledTrigger = (0, import_styled_components73.default)(import_react_select.Trigger)`
11826
+ var import_styled_components74 = __toESM(require("styled-components"));
11827
+ var import_jsx_runtime254 = require("react/jsx-runtime");
11828
+ var StyledTrigger = (0, import_styled_components74.default)(import_react_select.Trigger)`
11746
11829
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11747
11830
  ${inputCssVariables};
11748
11831
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -11786,7 +11869,7 @@ var StyledTrigger = (0, import_styled_components73.default)(import_react_select.
11786
11869
  color: var(--wui-input-placeholder);
11787
11870
  }
11788
11871
  `;
11789
- var StyledContent3 = (0, import_styled_components73.default)(import_react_select.Content)`
11872
+ var StyledContent3 = (0, import_styled_components74.default)(import_react_select.Content)`
11790
11873
  --wui-select-content-border: var(--wui-color-border);
11791
11874
  --wui-select-content-bg: var(--wui-color-bg-surface);
11792
11875
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -11814,13 +11897,13 @@ var Select = (0, import_react60.forwardRef)(
11814
11897
  ...props
11815
11898
  }, forwardedRef) => {
11816
11899
  const responsiveFullWidth = useResponsiveProp(fullWidth);
11817
- return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
11900
+ return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
11818
11901
  import_react_select.Root,
11819
11902
  {
11820
11903
  ...props,
11821
11904
  onValueChange: onChange,
11822
11905
  children: [
11823
- /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
11906
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
11824
11907
  StyledTrigger,
11825
11908
  {
11826
11909
  ref: forwardedRef,
@@ -11828,8 +11911,8 @@ var Select = (0, import_react60.forwardRef)(
11828
11911
  $fullWidth: responsiveFullWidth,
11829
11912
  ...props,
11830
11913
  children: [
11831
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.Value, { placeholder }),
11832
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
11914
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.Value, { placeholder }),
11915
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
11833
11916
  Icon,
11834
11917
  {
11835
11918
  size: "md",
@@ -11839,10 +11922,10 @@ var Select = (0, import_react60.forwardRef)(
11839
11922
  ]
11840
11923
  }
11841
11924
  ),
11842
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(StyledContent3, { position: "popper", children: [
11843
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(Icon, { type: "caret-up" }) }),
11844
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.Viewport, { children }),
11845
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(Icon, { type: "caret-down" }) })
11925
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(StyledContent3, { position: "popper", children: [
11926
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Icon, { type: "caret-up" }) }),
11927
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.Viewport, { children }),
11928
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Icon, { type: "caret-down" }) })
11846
11929
  ] }) })
11847
11930
  ]
11848
11931
  }
@@ -11854,10 +11937,10 @@ Select.displayName = "Select";
11854
11937
  // src/components/Select/SelectOption.tsx
11855
11938
  var import_react_select2 = require("@radix-ui/react-select");
11856
11939
  var import_react61 = require("react");
11857
- var import_styled_components74 = __toESM(require("styled-components"));
11940
+ var import_styled_components75 = __toESM(require("styled-components"));
11858
11941
  var import_type_guards48 = require("@wistia/type-guards");
11859
- var import_jsx_runtime254 = require("react/jsx-runtime");
11860
- var StyledItem = (0, import_styled_components74.default)(import_react_select2.Item)`
11942
+ var import_jsx_runtime255 = require("react/jsx-runtime");
11943
+ var StyledItem = (0, import_styled_components75.default)(import_react_select2.Item)`
11861
11944
  ${variantStyleMap2.body3};
11862
11945
  display: flex;
11863
11946
  padding: var(--wui-select-option-padding);
@@ -11881,28 +11964,28 @@ var StyledItem = (0, import_styled_components74.default)(import_react_select2.It
11881
11964
  background-color: transparent;
11882
11965
  }
11883
11966
  `;
11884
- var StyledIconContainer = import_styled_components74.default.span`
11967
+ var StyledIconContainer = import_styled_components75.default.span`
11885
11968
  width: 12px;
11886
11969
  `;
11887
11970
  var SelectOption = (0, import_react61.forwardRef)(
11888
11971
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
11889
- return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
11972
+ return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(
11890
11973
  StyledItem,
11891
11974
  {
11892
11975
  ...props,
11893
11976
  ref: forwardedRef,
11894
11977
  children: [
11895
- /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
11978
+ /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
11896
11979
  Icon,
11897
11980
  {
11898
11981
  size: "sm",
11899
11982
  type: "checkmark"
11900
11983
  }
11901
11984
  ) }) }),
11902
- (0, import_type_guards48.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)("div", { children: [
11985
+ (0, import_type_guards48.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)("div", { children: [
11903
11986
  children,
11904
- /* @__PURE__ */ (0, import_jsx_runtime254.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
11905
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select2.ItemText, { children })
11987
+ /* @__PURE__ */ (0, import_jsx_runtime255.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
11988
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(import_react_select2.ItemText, { children })
11906
11989
  ]
11907
11990
  }
11908
11991
  );
@@ -11912,14 +11995,14 @@ SelectOption.displayName = "SelectOption";
11912
11995
 
11913
11996
  // src/components/Select/SelectOptionGroup.tsx
11914
11997
  var import_react_select3 = require("@radix-ui/react-select");
11915
- var import_styled_components75 = __toESM(require("styled-components"));
11916
- var import_jsx_runtime255 = require("react/jsx-runtime");
11917
- var StyledLabel4 = (0, import_styled_components75.default)(import_react_select3.Label)`
11998
+ var import_styled_components76 = __toESM(require("styled-components"));
11999
+ var import_jsx_runtime256 = require("react/jsx-runtime");
12000
+ var StyledLabel4 = (0, import_styled_components76.default)(import_react_select3.Label)`
11918
12001
  padding: var(--wui-select-option-padding);
11919
12002
  `;
11920
12003
  var SelectOptionGroup = ({ children, label, ...props }) => {
11921
- return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(import_react_select3.Group, { ...props, children: [
11922
- /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12004
+ return /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(import_react_select3.Group, { ...props, children: [
12005
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
11923
12006
  Text,
11924
12007
  {
11925
12008
  prominence: "secondary",
@@ -11933,10 +12016,10 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
11933
12016
 
11934
12017
  // src/components/Switch/Switch.tsx
11935
12018
  var import_react62 = require("react");
11936
- var import_styled_components76 = __toESM(require("styled-components"));
12019
+ var import_styled_components77 = __toESM(require("styled-components"));
11937
12020
  var import_type_guards49 = require("@wistia/type-guards");
11938
- var import_jsx_runtime256 = require("react/jsx-runtime");
11939
- var sizeSmall3 = import_styled_components76.css`
12021
+ var import_jsx_runtime257 = require("react/jsx-runtime");
12022
+ var sizeSmall3 = import_styled_components77.css`
11940
12023
  --wui-size-small-width: 24px;
11941
12024
  --wui-size-small-height: 14px;
11942
12025
 
@@ -11951,7 +12034,7 @@ var sizeSmall3 = import_styled_components76.css`
11951
12034
  height: calc(var(--wui-size-small-width) / 2);
11952
12035
  }
11953
12036
  `;
11954
- var sizeMedium3 = import_styled_components76.css`
12037
+ var sizeMedium3 = import_styled_components77.css`
11955
12038
  --wui-size-medium-width: 32px;
11956
12039
  --wui-size-medium-height: 18px;
11957
12040
 
@@ -11966,7 +12049,7 @@ var sizeMedium3 = import_styled_components76.css`
11966
12049
  height: calc(var(--wui-size-medium-width) / 2);
11967
12050
  }
11968
12051
  `;
11969
- var sizeLarge3 = import_styled_components76.css`
12052
+ var sizeLarge3 = import_styled_components77.css`
11970
12053
  --wui-size-large-width: 40px;
11971
12054
  --wui-size-large-height: 22px;
11972
12055
 
@@ -11986,14 +12069,14 @@ var getSizeCss3 = (size) => {
11986
12069
  if (size === "lg") return sizeLarge3;
11987
12070
  return sizeMedium3;
11988
12071
  };
11989
- var StyledSwitchWrapper = import_styled_components76.default.div`
12072
+ var StyledSwitchWrapper = import_styled_components77.default.div`
11990
12073
  display: flex;
11991
12074
  margin: 0;
11992
12075
 
11993
12076
  /* TODO this solves a problem but potentially causes and a11y issue */
11994
12077
  user-select: none;
11995
12078
  `;
11996
- var StyledSwitchInput = import_styled_components76.default.div`
12079
+ var StyledSwitchInput = import_styled_components77.default.div`
11997
12080
  ${({ $size }) => getSizeCss3($size)}
11998
12081
  line-height: 0;
11999
12082
  margin: 0;
@@ -12021,7 +12104,7 @@ var StyledSwitchInput = import_styled_components76.default.div`
12021
12104
  transition: all 0.2s ease-in-out;
12022
12105
  }
12023
12106
  `;
12024
- var StyledHiddenSwitchInput = import_styled_components76.default.input`
12107
+ var StyledHiddenSwitchInput = import_styled_components77.default.input`
12025
12108
  ${visuallyHiddenStyle}
12026
12109
 
12027
12110
  /* toggles display of faux-input background-color and toggle position */
@@ -12054,8 +12137,8 @@ var Switch = (0, import_react62.forwardRef)(
12054
12137
  }, ref) => {
12055
12138
  const generatedId = (0, import_react62.useId)();
12056
12139
  const computedId = (0, import_type_guards49.isNonEmptyString)(id) ? id : `wistia-ui-switch-${generatedId}`;
12057
- return /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(StyledSwitchWrapper, { $disabled: disabled, children: [
12058
- /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12140
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(StyledSwitchWrapper, { $disabled: disabled, children: [
12141
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12059
12142
  StyledHiddenSwitchInput,
12060
12143
  {
12061
12144
  ...props,
@@ -12070,10 +12153,10 @@ var Switch = (0, import_react62.forwardRef)(
12070
12153
  value
12071
12154
  }
12072
12155
  ),
12073
- /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12156
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12074
12157
  FormControlLabel,
12075
12158
  {
12076
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12159
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12077
12160
  StyledSwitchInput,
12078
12161
  {
12079
12162
  $disabled: disabled,
@@ -12095,25 +12178,25 @@ var Switch = (0, import_react62.forwardRef)(
12095
12178
  Switch.displayName = "Switch";
12096
12179
 
12097
12180
  // src/components/Table/Table.tsx
12098
- var import_styled_components77 = __toESM(require("styled-components"));
12099
- var import_jsx_runtime257 = require("react/jsx-runtime");
12100
- var StyledTable = import_styled_components77.default.table`
12181
+ var import_styled_components78 = __toESM(require("styled-components"));
12182
+ var import_jsx_runtime258 = require("react/jsx-runtime");
12183
+ var StyledTable = import_styled_components78.default.table`
12101
12184
  width: 100%;
12102
12185
  border-collapse: collapse;
12103
12186
 
12104
- ${({ $divided }) => $divided && import_styled_components77.css`
12187
+ ${({ $divided }) => $divided && import_styled_components78.css`
12105
12188
  tr {
12106
12189
  border-bottom: 1px solid var(--wui-color-border);
12107
12190
  }
12108
12191
  `}
12109
12192
 
12110
- ${({ $striped }) => $striped && import_styled_components77.css`
12193
+ ${({ $striped }) => $striped && import_styled_components78.css`
12111
12194
  tbody tr:nth-child(even) {
12112
12195
  background-color: var(--wui-color-bg-surface-secondary);
12113
12196
  }
12114
12197
  `}
12115
12198
 
12116
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components77.css`
12199
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components78.css`
12117
12200
  thead {
12118
12201
  ${visuallyHiddenStyle}
12119
12202
  }
@@ -12126,7 +12209,7 @@ var Table = ({
12126
12209
  visuallyHiddenHeader = false,
12127
12210
  ...props
12128
12211
  }) => {
12129
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12212
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12130
12213
  StyledTable,
12131
12214
  {
12132
12215
  $divided: divided,
@@ -12139,35 +12222,35 @@ var Table = ({
12139
12222
  };
12140
12223
 
12141
12224
  // src/components/Table/TableBody.tsx
12142
- var import_styled_components78 = __toESM(require("styled-components"));
12225
+ var import_styled_components79 = __toESM(require("styled-components"));
12143
12226
 
12144
12227
  // src/components/Table/TableSectionContext.ts
12145
12228
  var import_react63 = require("react");
12146
12229
  var TableSectionContext = (0, import_react63.createContext)(null);
12147
12230
 
12148
12231
  // src/components/Table/TableBody.tsx
12149
- var import_jsx_runtime258 = require("react/jsx-runtime");
12150
- var StyledTableBody = import_styled_components78.default.tbody``;
12232
+ var import_jsx_runtime259 = require("react/jsx-runtime");
12233
+ var StyledTableBody = import_styled_components79.default.tbody``;
12151
12234
  var TableBody = ({ children, ...props }) => {
12152
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(StyledTableBody, { ...props, children }) });
12235
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(StyledTableBody, { ...props, children }) });
12153
12236
  };
12154
12237
 
12155
12238
  // src/components/Table/TableCell.tsx
12156
12239
  var import_react64 = require("react");
12157
- var import_styled_components79 = __toESM(require("styled-components"));
12158
- var import_jsx_runtime259 = require("react/jsx-runtime");
12159
- var sharedStyles = import_styled_components79.css`
12240
+ var import_styled_components80 = __toESM(require("styled-components"));
12241
+ var import_jsx_runtime260 = require("react/jsx-runtime");
12242
+ var sharedStyles = import_styled_components80.css`
12160
12243
  color: var(--wui-color-text);
12161
12244
  padding: var(--wui-space-02);
12162
12245
  text-align: left;
12163
12246
  `;
12164
- var StyledTh = import_styled_components79.default.th`
12247
+ var StyledTh = import_styled_components80.default.th`
12165
12248
  ${sharedStyles}
12166
12249
  font-size: var(--wui-typography-body-4-size);
12167
12250
  font-weight: var(--wui-typography-weight-label-bold);
12168
12251
  line-height: var(--wui-typography-body-4-line-height);
12169
12252
  `;
12170
- var StyledTd = import_styled_components79.default.td`
12253
+ var StyledTd = import_styled_components80.default.td`
12171
12254
  ${sharedStyles}
12172
12255
  font-size: var(--wui-typography-body-2-size);
12173
12256
  font-weight: var(--wui-typography-body-2-weight);
@@ -12176,51 +12259,51 @@ var StyledTd = import_styled_components79.default.td`
12176
12259
  var TableCell = ({ children, ...props }) => {
12177
12260
  const section = (0, import_react64.useContext)(TableSectionContext);
12178
12261
  if (section === "head") {
12179
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(StyledTh, { ...props, children });
12262
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledTh, { ...props, children });
12180
12263
  }
12181
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(StyledTd, { ...props, children });
12264
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledTd, { ...props, children });
12182
12265
  };
12183
12266
 
12184
12267
  // src/components/Table/TableFoot.tsx
12185
- var import_styled_components80 = __toESM(require("styled-components"));
12186
- var import_jsx_runtime260 = require("react/jsx-runtime");
12187
- var StyledTableFoot = import_styled_components80.default.tfoot``;
12268
+ var import_styled_components81 = __toESM(require("styled-components"));
12269
+ var import_jsx_runtime261 = require("react/jsx-runtime");
12270
+ var StyledTableFoot = import_styled_components81.default.tfoot``;
12188
12271
  var TableFoot = ({ children, ...props }) => {
12189
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledTableFoot, { ...props, children }) });
12272
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledTableFoot, { ...props, children }) });
12190
12273
  };
12191
12274
 
12192
12275
  // src/components/Table/TableHead.tsx
12193
- var import_styled_components81 = __toESM(require("styled-components"));
12194
- var import_jsx_runtime261 = require("react/jsx-runtime");
12195
- var StyledThead = import_styled_components81.default.thead``;
12276
+ var import_styled_components82 = __toESM(require("styled-components"));
12277
+ var import_jsx_runtime262 = require("react/jsx-runtime");
12278
+ var StyledThead = import_styled_components82.default.thead``;
12196
12279
  var TableHead = ({ children, ...props }) => {
12197
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledThead, { ...props, children }) });
12280
+ return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(StyledThead, { ...props, children }) });
12198
12281
  };
12199
12282
 
12200
12283
  // src/components/Table/TableRow.tsx
12201
- var import_styled_components82 = __toESM(require("styled-components"));
12202
- var import_jsx_runtime262 = require("react/jsx-runtime");
12203
- var StyledTableRow = import_styled_components82.default.tr``;
12284
+ var import_styled_components83 = __toESM(require("styled-components"));
12285
+ var import_jsx_runtime263 = require("react/jsx-runtime");
12286
+ var StyledTableRow = import_styled_components83.default.tr``;
12204
12287
  var TableRow = ({ children, ...props }) => {
12205
- return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(StyledTableRow, { ...props, children });
12288
+ return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(StyledTableRow, { ...props, children });
12206
12289
  };
12207
12290
 
12208
12291
  // src/components/Tabs/Tabs.tsx
12209
12292
  var import_react68 = require("react");
12210
12293
  var import_react_tabs4 = require("@radix-ui/react-tabs");
12211
12294
  var import_type_guards51 = require("@wistia/type-guards");
12212
- var import_styled_components87 = __toESM(require("styled-components"));
12295
+ var import_styled_components88 = __toESM(require("styled-components"));
12213
12296
 
12214
12297
  // src/components/Tabs/TabPanel.tsx
12215
- var import_styled_components83 = __toESM(require("styled-components"));
12298
+ var import_styled_components84 = __toESM(require("styled-components"));
12216
12299
  var import_react_tabs = require("@radix-ui/react-tabs");
12217
- var import_jsx_runtime263 = require("react/jsx-runtime");
12218
- var StyledTabPanel = (0, import_styled_components83.default)(import_react_tabs.Content)`
12300
+ var import_jsx_runtime264 = require("react/jsx-runtime");
12301
+ var StyledTabPanel = (0, import_styled_components84.default)(import_react_tabs.Content)`
12219
12302
  display: flex;
12220
12303
  flex-direction: column;
12221
12304
  `;
12222
12305
  var TabPanel = ({ children, value, ...props }) => {
12223
- return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
12306
+ return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
12224
12307
  StyledTabPanel,
12225
12308
  {
12226
12309
  value,
@@ -12232,10 +12315,10 @@ var TabPanel = ({ children, value, ...props }) => {
12232
12315
  TabPanel.displayName = "TabPanel";
12233
12316
 
12234
12317
  // src/components/Tabs/TabList.tsx
12235
- var import_styled_components84 = __toESM(require("styled-components"));
12318
+ var import_styled_components85 = __toESM(require("styled-components"));
12236
12319
  var import_react_tabs2 = require("@radix-ui/react-tabs");
12237
- var import_jsx_runtime264 = require("react/jsx-runtime");
12238
- var StyledTabList = (0, import_styled_components84.default)(import_react_tabs2.List)`
12320
+ var import_jsx_runtime265 = require("react/jsx-runtime");
12321
+ var StyledTabList = (0, import_styled_components85.default)(import_react_tabs2.List)`
12239
12322
  ${segmentedControlStyles}
12240
12323
 
12241
12324
  margin-bottom: var(--wui-space-04);
@@ -12248,7 +12331,7 @@ var TabList = ({
12248
12331
  ariaLabel,
12249
12332
  ...props
12250
12333
  }) => {
12251
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
12334
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
12252
12335
  StyledTabList,
12253
12336
  {
12254
12337
  $fullWidth: fullWidth,
@@ -12262,7 +12345,7 @@ TabList.displayName = "TabList";
12262
12345
 
12263
12346
  // src/components/Tabs/TabItem.tsx
12264
12347
  var import_react66 = require("react");
12265
- var import_styled_components85 = __toESM(require("styled-components"));
12348
+ var import_styled_components86 = __toESM(require("styled-components"));
12266
12349
  var import_react_tabs3 = require("@radix-ui/react-tabs");
12267
12350
  var import_type_guards50 = require("@wistia/type-guards");
12268
12351
 
@@ -12279,8 +12362,8 @@ var useTabsValue = () => {
12279
12362
  };
12280
12363
 
12281
12364
  // src/components/Tabs/TabItem.tsx
12282
- var import_jsx_runtime265 = require("react/jsx-runtime");
12283
- var StyledTabItem = (0, import_styled_components85.default)(import_react_tabs3.Trigger)`
12365
+ var import_jsx_runtime266 = require("react/jsx-runtime");
12366
+ var StyledTabItem = (0, import_styled_components86.default)(import_react_tabs3.Trigger)`
12284
12367
  ${segmentedControlItemStyles}
12285
12368
 
12286
12369
  &:focus-visible {
@@ -12318,7 +12401,7 @@ var TabItem = (0, import_react66.forwardRef)(
12318
12401
  resizeObserver.disconnect();
12319
12402
  };
12320
12403
  }, [selectedValue, setSelectedItemMeasurements, value]);
12321
- return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
12404
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(
12322
12405
  StyledTabItem,
12323
12406
  {
12324
12407
  ref: combinedRef,
@@ -12359,9 +12442,9 @@ var extractTabItems = (children) => {
12359
12442
  };
12360
12443
 
12361
12444
  // src/components/Tabs/SelectedItemIndicator.tsx
12362
- var import_styled_components86 = __toESM(require("styled-components"));
12363
- var import_jsx_runtime266 = require("react/jsx-runtime");
12364
- var TabsSelectedItemIndicatorDiv = (0, import_styled_components86.default)(SelectedItemIndicatorDiv)`
12445
+ var import_styled_components87 = __toESM(require("styled-components"));
12446
+ var import_jsx_runtime267 = require("react/jsx-runtime");
12447
+ var TabsSelectedItemIndicatorDiv = (0, import_styled_components87.default)(SelectedItemIndicatorDiv)`
12365
12448
  &:has(~ ${StyledTabItem}:focus-visible) {
12366
12449
  outline: 2px solid var(--wui-color-focus-ring);
12367
12450
  }
@@ -12372,23 +12455,23 @@ var SelectedItemIndicator2 = () => {
12372
12455
  if (selectedValue == null) {
12373
12456
  return null;
12374
12457
  }
12375
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12458
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12376
12459
  };
12377
12460
 
12378
12461
  // src/components/Tabs/Tabs.tsx
12379
- var import_jsx_runtime267 = require("react/jsx-runtime");
12380
- var TabsContainer = import_styled_components87.default.div`
12462
+ var import_jsx_runtime268 = require("react/jsx-runtime");
12463
+ var TabsContainer = import_styled_components88.default.div`
12381
12464
  display: flex;
12382
12465
  flex-direction: column;
12383
12466
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
12384
12467
  overflow: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
12385
12468
  `;
12386
- var StickyTabContent = import_styled_components87.default.div`
12469
+ var StickyTabContent = import_styled_components88.default.div`
12387
12470
  flex: ${({ $stickyHeaders }) => $stickyHeaders ? "1" : "initial"};
12388
12471
  overflow-y: ${({ $stickyHeaders }) => $stickyHeaders ? "auto" : "visible"};
12389
12472
  overflow-x: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
12390
12473
  `;
12391
- var StyledTabsRoot = (0, import_styled_components87.default)(import_react_tabs4.Root)`
12474
+ var StyledTabsRoot = (0, import_styled_components88.default)(import_react_tabs4.Root)`
12392
12475
  display: flex;
12393
12476
  flex-direction: column;
12394
12477
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
@@ -12411,7 +12494,7 @@ var Tabs = (0, import_react68.forwardRef)(
12411
12494
  onValueChange: setInternalSelectedValue
12412
12495
  } : { value: selectedValue, onValueChange: onSelectedValueChange };
12413
12496
  const currentValue = defaultSelectedValue !== void 0 ? internalSelectedValue : selectedValue;
12414
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12497
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12415
12498
  StyledTabsRoot,
12416
12499
  {
12417
12500
  ref,
@@ -12419,14 +12502,14 @@ var Tabs = (0, import_react68.forwardRef)(
12419
12502
  activationMode: "automatic",
12420
12503
  ...props,
12421
12504
  ...modeProps,
12422
- children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(SelectedItemStyleProvider, { children: [
12423
- /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(
12505
+ children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(SelectedItemStyleProvider, { children: [
12506
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
12424
12507
  TabList,
12425
12508
  {
12426
12509
  ariaLabel,
12427
12510
  fullWidth,
12428
12511
  children: [
12429
- /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(SelectedItemIndicator2, {}),
12512
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(SelectedItemIndicator2, {}),
12430
12513
  tabItems.map((tab) => {
12431
12514
  const {
12432
12515
  value,
@@ -12436,7 +12519,7 @@ var Tabs = (0, import_react68.forwardRef)(
12436
12519
  "aria-label": ariaLabelForTab
12437
12520
  } = tab.props;
12438
12521
  if ((0, import_type_guards51.isNil)(icon)) {
12439
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12522
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12440
12523
  TabItem,
12441
12524
  {
12442
12525
  disabled,
@@ -12447,7 +12530,7 @@ var Tabs = (0, import_react68.forwardRef)(
12447
12530
  );
12448
12531
  }
12449
12532
  if ((0, import_type_guards51.isNotNil)(label)) {
12450
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12533
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12451
12534
  TabItem,
12452
12535
  {
12453
12536
  disabled,
@@ -12459,7 +12542,7 @@ var Tabs = (0, import_react68.forwardRef)(
12459
12542
  );
12460
12543
  }
12461
12544
  if ((0, import_type_guards51.isNotNil)(ariaLabelForTab)) {
12462
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12545
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12463
12546
  TabItem,
12464
12547
  {
12465
12548
  "aria-label": ariaLabelForTab,
@@ -12475,7 +12558,7 @@ var Tabs = (0, import_react68.forwardRef)(
12475
12558
  ]
12476
12559
  }
12477
12560
  ),
12478
- /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12561
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12479
12562
  TabPanel,
12480
12563
  {
12481
12564
  value: tab.props.value,
@@ -12492,18 +12575,18 @@ Tabs.displayName = "Tabs";
12492
12575
 
12493
12576
  // src/components/Tabs/Tab.tsx
12494
12577
  var import_react69 = require("react");
12495
- var import_jsx_runtime268 = require("react/jsx-runtime");
12578
+ var import_jsx_runtime269 = require("react/jsx-runtime");
12496
12579
  var Tab = (0, import_react69.forwardRef)(({ children }, ref) => {
12497
- return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)("div", { ref, children });
12580
+ return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)("div", { ref, children });
12498
12581
  });
12499
12582
  Tab.displayName = "Tab";
12500
12583
 
12501
12584
  // src/components/Tag/Tag.tsx
12502
12585
  var import_react70 = require("react");
12503
- var import_styled_components88 = __toESM(require("styled-components"));
12586
+ var import_styled_components89 = __toESM(require("styled-components"));
12504
12587
  var import_type_guards52 = require("@wistia/type-guards");
12505
- var import_jsx_runtime269 = require("react/jsx-runtime");
12506
- var TagLabel = import_styled_components88.default.a`
12588
+ var import_jsx_runtime270 = require("react/jsx-runtime");
12589
+ var TagLabel = import_styled_components89.default.a`
12507
12590
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12508
12591
  font-size: var(--wui-typography-label-4-size);
12509
12592
  font-weight: var(--wui-typography-label-4-weight);
@@ -12538,14 +12621,14 @@ var TagLabel = import_styled_components88.default.a`
12538
12621
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12539
12622
  }
12540
12623
  `;
12541
- var TagDivider = import_styled_components88.default.div`
12624
+ var TagDivider = import_styled_components89.default.div`
12542
12625
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12543
12626
  border-left: 1px solid var(--wui-color-border);
12544
12627
  display: flex;
12545
12628
  height: 14px;
12546
12629
  width: 1px;
12547
12630
  `;
12548
- var StyledRemoveButton = import_styled_components88.default.button`
12631
+ var StyledRemoveButton = import_styled_components89.default.button`
12549
12632
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12550
12633
  all: unset;
12551
12634
  cursor: pointer;
@@ -12573,7 +12656,7 @@ var StyledRemoveButton = import_styled_components88.default.button`
12573
12656
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12574
12657
  }
12575
12658
  `;
12576
- var StyledTag = import_styled_components88.default.div`
12659
+ var StyledTag = import_styled_components89.default.div`
12577
12660
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12578
12661
  align-items: center;
12579
12662
  background-color: var(--wui-color-bg-surface-secondary);
@@ -12594,23 +12677,23 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
12594
12677
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
12595
12678
  );
12596
12679
  }
12597
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(import_jsx_runtime269.Fragment, { children: [
12598
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(TagDivider, { $colorScheme: colorScheme }),
12599
- /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
12680
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(import_jsx_runtime270.Fragment, { children: [
12681
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(TagDivider, { $colorScheme: colorScheme }),
12682
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
12600
12683
  StyledRemoveButton,
12601
12684
  {
12602
12685
  $colorScheme: colorScheme,
12603
12686
  onClick: onClickRemove,
12604
12687
  type: "button",
12605
12688
  children: [
12606
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
12689
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
12607
12690
  Icon,
12608
12691
  {
12609
12692
  size: "sm",
12610
12693
  type: "close"
12611
12694
  }
12612
12695
  ),
12613
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
12696
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
12614
12697
  ]
12615
12698
  }
12616
12699
  )
@@ -12620,14 +12703,14 @@ var Tag = (0, import_react70.forwardRef)(
12620
12703
  ({ onClickRemove, colorScheme = "inherit", href, icon, label, onClickRemoveLabel, ...props }, ref) => {
12621
12704
  const hasIcon = (0, import_type_guards52.isNotNil)(icon);
12622
12705
  const labelProps = (0, import_type_guards52.isNotNil)(href) && (0, import_type_guards52.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
12623
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
12706
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
12624
12707
  StyledTag,
12625
12708
  {
12626
12709
  ref,
12627
12710
  $colorScheme: colorScheme,
12628
12711
  ...props,
12629
12712
  children: [
12630
- /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
12713
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
12631
12714
  TagLabel,
12632
12715
  {
12633
12716
  ...labelProps,
@@ -12638,7 +12721,7 @@ var Tag = (0, import_react70.forwardRef)(
12638
12721
  ]
12639
12722
  }
12640
12723
  ),
12641
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
12724
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
12642
12725
  RemoveButton,
12643
12726
  {
12644
12727
  colorScheme,
@@ -12654,10 +12737,10 @@ var Tag = (0, import_react70.forwardRef)(
12654
12737
  Tag.displayName = "Tag";
12655
12738
 
12656
12739
  // src/components/Thumbnail/ThumbnailBadge.tsx
12657
- var import_styled_components89 = __toESM(require("styled-components"));
12740
+ var import_styled_components90 = __toESM(require("styled-components"));
12658
12741
  var import_type_guards53 = require("@wistia/type-guards");
12659
- var import_jsx_runtime270 = require("react/jsx-runtime");
12660
- var StyledThumbnailBadge = import_styled_components89.default.div`
12742
+ var import_jsx_runtime271 = require("react/jsx-runtime");
12743
+ var StyledThumbnailBadge = import_styled_components90.default.div`
12661
12744
  align-items: center;
12662
12745
  background-color: rgb(0 0 0 / 50%);
12663
12746
  border-radius: var(--wui-border-radius-01);
@@ -12682,23 +12765,23 @@ var StyledThumbnailBadge = import_styled_components89.default.div`
12682
12765
  }
12683
12766
  `;
12684
12767
  var ThumbnailBadge = ({ icon, label, ...props }) => {
12685
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(StyledThumbnailBadge, { ...props, children: [
12768
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(StyledThumbnailBadge, { ...props, children: [
12686
12769
  (0, import_type_guards53.isNotNil)(icon) && icon,
12687
- /* @__PURE__ */ (0, import_jsx_runtime270.jsx)("span", { children: label })
12770
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)("span", { children: label })
12688
12771
  ] });
12689
12772
  };
12690
12773
  ThumbnailBadge.displayName = "ThumbnailBadge";
12691
12774
 
12692
12775
  // src/components/Thumbnail/Thumbnail.tsx
12693
12776
  var import_react71 = require("react");
12694
- var import_styled_components91 = __toESM(require("styled-components"));
12777
+ var import_styled_components92 = __toESM(require("styled-components"));
12695
12778
  var import_type_guards55 = require("@wistia/type-guards");
12696
12779
 
12697
12780
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
12698
12781
  var import_type_guards54 = require("@wistia/type-guards");
12699
- var import_styled_components90 = require("styled-components");
12782
+ var import_styled_components91 = require("styled-components");
12700
12783
  var gradients = {
12701
- defaultDarkOne: import_styled_components90.css`
12784
+ defaultDarkOne: import_styled_components91.css`
12702
12785
  background-color: #222d66;
12703
12786
  background-image:
12704
12787
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -12706,7 +12789,7 @@ var gradients = {
12706
12789
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
12707
12790
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
12708
12791
  `,
12709
- defaultDarkTwo: import_styled_components90.css`
12792
+ defaultDarkTwo: import_styled_components91.css`
12710
12793
  background-color: #222d66;
12711
12794
  background-image:
12712
12795
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -12714,7 +12797,7 @@ var gradients = {
12714
12797
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
12715
12798
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12716
12799
  `,
12717
- defaultLightOne: import_styled_components90.css`
12800
+ defaultLightOne: import_styled_components91.css`
12718
12801
  background-color: #ccd5ff;
12719
12802
  background-image:
12720
12803
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -12722,13 +12805,13 @@ var gradients = {
12722
12805
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
12723
12806
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
12724
12807
  `,
12725
- defaultLightTwo: import_styled_components90.css`
12808
+ defaultLightTwo: import_styled_components91.css`
12726
12809
  background-color: #ccd5ff;
12727
12810
  background-image:
12728
12811
  radial-gradient(ellipse at top, #ccd5ff, transparent),
12729
12812
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
12730
12813
  `,
12731
- defaultMidOne: import_styled_components90.css`
12814
+ defaultMidOne: import_styled_components91.css`
12732
12815
  background-color: #6b84ff;
12733
12816
  background-image:
12734
12817
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -12736,13 +12819,13 @@ var gradients = {
12736
12819
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
12737
12820
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
12738
12821
  `,
12739
- defaultMidTwo: import_styled_components90.css`
12822
+ defaultMidTwo: import_styled_components91.css`
12740
12823
  background-color: #6b84ff;
12741
12824
  background-image:
12742
12825
  radial-gradient(ellipse at top, #2949e5, transparent),
12743
12826
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
12744
12827
  `,
12745
- green: import_styled_components90.css`
12828
+ green: import_styled_components91.css`
12746
12829
  background-color: #fafffa;
12747
12830
  background-image:
12748
12831
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -12750,7 +12833,7 @@ var gradients = {
12750
12833
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
12751
12834
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
12752
12835
  `,
12753
- greenWithPop: import_styled_components90.css`
12836
+ greenWithPop: import_styled_components91.css`
12754
12837
  background-color: #fafffa;
12755
12838
  background-image:
12756
12839
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -12758,7 +12841,7 @@ var gradients = {
12758
12841
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
12759
12842
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
12760
12843
  `,
12761
- pink: import_styled_components90.css`
12844
+ pink: import_styled_components91.css`
12762
12845
  background-color: #fffff0;
12763
12846
  background-image:
12764
12847
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -12766,7 +12849,7 @@ var gradients = {
12766
12849
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
12767
12850
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
12768
12851
  `,
12769
- pinkWithPop: import_styled_components90.css`
12852
+ pinkWithPop: import_styled_components91.css`
12770
12853
  background-color: #fffff0;
12771
12854
  background-image:
12772
12855
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -12774,7 +12857,7 @@ var gradients = {
12774
12857
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
12775
12858
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
12776
12859
  `,
12777
- playfulGradientOne: import_styled_components90.css`
12860
+ playfulGradientOne: import_styled_components91.css`
12778
12861
  background-color: #f7f8ff;
12779
12862
  background-image:
12780
12863
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -12782,7 +12865,7 @@ var gradients = {
12782
12865
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
12783
12866
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
12784
12867
  `,
12785
- playfulGradientTwo: import_styled_components90.css`
12868
+ playfulGradientTwo: import_styled_components91.css`
12786
12869
  background-color: #f7f8ff;
12787
12870
  background-image:
12788
12871
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -12790,13 +12873,13 @@ var gradients = {
12790
12873
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
12791
12874
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12792
12875
  `,
12793
- purple: import_styled_components90.css`
12876
+ purple: import_styled_components91.css`
12794
12877
  background-color: #f2caff;
12795
12878
  background-image:
12796
12879
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
12797
12880
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
12798
12881
  `,
12799
- purpleWithPop: import_styled_components90.css`
12882
+ purpleWithPop: import_styled_components91.css`
12800
12883
  background-color: #f2caff;
12801
12884
  background-image:
12802
12885
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -12804,7 +12887,7 @@ var gradients = {
12804
12887
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
12805
12888
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12806
12889
  `,
12807
- yellow: import_styled_components90.css`
12890
+ yellow: import_styled_components91.css`
12808
12891
  background-color: #fffff0;
12809
12892
  background-image:
12810
12893
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -12812,7 +12895,7 @@ var gradients = {
12812
12895
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
12813
12896
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
12814
12897
  `,
12815
- yellowWithPop: import_styled_components90.css`
12898
+ yellowWithPop: import_styled_components91.css`
12816
12899
  background-color: #fffff0;
12817
12900
  background-image:
12818
12901
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -12827,20 +12910,20 @@ var getBackgroundGradient = (gradientName = void 0) => {
12827
12910
  };
12828
12911
 
12829
12912
  // src/components/Thumbnail/Thumbnail.tsx
12830
- var import_jsx_runtime271 = require("react/jsx-runtime");
12831
- var WideThumbnailImage = import_styled_components91.default.img`
12913
+ var import_jsx_runtime272 = require("react/jsx-runtime");
12914
+ var WideThumbnailImage = import_styled_components92.default.img`
12832
12915
  height: 100%;
12833
12916
  object-fit: cover;
12834
12917
  width: 100%;
12835
12918
  `;
12836
- var SquareThumbnailImage = import_styled_components91.default.img`
12919
+ var SquareThumbnailImage = import_styled_components92.default.img`
12837
12920
  backdrop-filter: blur(8px);
12838
12921
  object-fit: contain;
12839
12922
  width: 100%;
12840
12923
  `;
12841
12924
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12842
12925
  if (thumbnailImageType === "wide") {
12843
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
12926
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
12844
12927
  WideThumbnailImage,
12845
12928
  {
12846
12929
  alt: "",
@@ -12849,7 +12932,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12849
12932
  }
12850
12933
  );
12851
12934
  }
12852
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
12935
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
12853
12936
  SquareThumbnailImage,
12854
12937
  {
12855
12938
  alt: "",
@@ -12858,7 +12941,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12858
12941
  }
12859
12942
  );
12860
12943
  };
12861
- var StyledThumbnail = import_styled_components91.default.div`
12944
+ var StyledThumbnail = import_styled_components92.default.div`
12862
12945
  background-image: ${({ $backgroundUrl }) => (0, import_type_guards55.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
12863
12946
  ${({ $backgroundUrl, $gradientBackground }) => (
12864
12947
  // if we don't have $backgroundUrl show a gradient
@@ -12887,7 +12970,7 @@ var Thumbnail = (0, import_react71.forwardRef)(
12887
12970
  ...props
12888
12971
  }, ref) => {
12889
12972
  const backgroundUrl = thumbnailImageType === "square" && (0, import_type_guards55.isNotNil)(thumbnailUrl) ? thumbnailUrl : void 0;
12890
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(
12973
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
12891
12974
  StyledThumbnail,
12892
12975
  {
12893
12976
  ref,
@@ -12898,7 +12981,7 @@ var Thumbnail = (0, import_react71.forwardRef)(
12898
12981
  role: "presentation",
12899
12982
  children: [
12900
12983
  (0, import_type_guards55.isNotNil)(children) ? children : null,
12901
- (0, import_type_guards55.isNotNil)(thumbnailUrl) ? /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
12984
+ (0, import_type_guards55.isNotNil)(thumbnailUrl) ? /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
12902
12985
  ThumbnailImage,
12903
12986
  {
12904
12987
  thumbnailImageType,
@@ -12914,13 +12997,13 @@ Thumbnail.displayName = "Thumbnail";
12914
12997
 
12915
12998
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
12916
12999
  var import_react72 = __toESM(require("react"));
12917
- var import_styled_components92 = __toESM(require("styled-components"));
13000
+ var import_styled_components93 = __toESM(require("styled-components"));
12918
13001
  var import_type_guards56 = require("@wistia/type-guards");
12919
- var import_jsx_runtime272 = (
13002
+ var import_jsx_runtime273 = (
12920
13003
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
12921
13004
  require("react/jsx-runtime")
12922
13005
  );
12923
- var StyledThumbnailCollage = import_styled_components92.default.div`
13006
+ var StyledThumbnailCollage = import_styled_components93.default.div`
12924
13007
  display: grid;
12925
13008
  gap: var(--wui-space-01);
12926
13009
  width: 100%;
@@ -13001,7 +13084,7 @@ var ThumbnailCollage = ({
13001
13084
  children: void 0
13002
13085
  });
13003
13086
  }) : [
13004
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13087
+ /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13005
13088
  Thumbnail,
13006
13089
  {
13007
13090
  gradientBackground,
@@ -13010,7 +13093,7 @@ var ThumbnailCollage = ({
13010
13093
  "fallback"
13011
13094
  )
13012
13095
  ];
13013
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13096
+ return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13014
13097
  StyledThumbnailCollage,
13015
13098
  {
13016
13099
  $gradientBackground: gradientBackground,
@@ -13022,26 +13105,26 @@ var ThumbnailCollage = ({
13022
13105
  };
13023
13106
 
13024
13107
  // src/components/WistiaLogo/WistiaLogo.tsx
13025
- var import_styled_components93 = __toESM(require("styled-components"));
13108
+ var import_styled_components94 = __toESM(require("styled-components"));
13026
13109
  var import_type_guards57 = require("@wistia/type-guards");
13027
- var import_jsx_runtime273 = require("react/jsx-runtime");
13110
+ var import_jsx_runtime274 = require("react/jsx-runtime");
13028
13111
  var renderBrandmark = (brandmarkColor, iconOnly) => {
13029
13112
  if (iconOnly) {
13030
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13113
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13031
13114
  "g",
13032
13115
  {
13033
13116
  "data-testid": "ui-wistia-logo-brandmark",
13034
13117
  fill: brandmarkColor,
13035
- children: /* @__PURE__ */ (0, import_jsx_runtime273.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" })
13118
+ children: /* @__PURE__ */ (0, import_jsx_runtime274.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" })
13036
13119
  }
13037
13120
  );
13038
13121
  }
13039
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13122
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13040
13123
  "g",
13041
13124
  {
13042
13125
  "data-testid": "ui-wistia-logo-brandmark",
13043
13126
  fill: brandmarkColor,
13044
- children: /* @__PURE__ */ (0, import_jsx_runtime273.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" })
13127
+ children: /* @__PURE__ */ (0, import_jsx_runtime274.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" })
13045
13128
  }
13046
13129
  );
13047
13130
  };
@@ -13049,12 +13132,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
13049
13132
  if (iconOnly) {
13050
13133
  return null;
13051
13134
  }
13052
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13135
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13053
13136
  "g",
13054
13137
  {
13055
13138
  "data-testid": "ui-wistia-logo-logotype",
13056
13139
  fill: logotypeColor,
13057
- children: /* @__PURE__ */ (0, import_jsx_runtime273.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" })
13140
+ children: /* @__PURE__ */ (0, import_jsx_runtime274.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" })
13058
13141
  }
13059
13142
  );
13060
13143
  };
@@ -13064,7 +13147,7 @@ var computedViewBox = (iconOnly) => {
13064
13147
  }
13065
13148
  return "0 0 144 31.47";
13066
13149
  };
13067
- var WistiaLogoComponent = import_styled_components93.default.svg`
13150
+ var WistiaLogoComponent = import_styled_components94.default.svg`
13068
13151
  height: ${({ height }) => `${height}px`};
13069
13152
 
13070
13153
  /* ensure it will always fit on mobile */
@@ -13080,12 +13163,12 @@ var WistiaLogoComponent = import_styled_components93.default.svg`
13080
13163
  ${({ $opticallyCentered, $iconOnly }) => {
13081
13164
  if ($opticallyCentered) {
13082
13165
  if ($iconOnly) {
13083
- return import_styled_components93.css`
13166
+ return import_styled_components94.css`
13084
13167
  aspect-ratio: 1;
13085
13168
  padding: 11.85% 3.12% 13.91%;
13086
13169
  `;
13087
13170
  }
13088
- return import_styled_components93.css`
13171
+ return import_styled_components94.css`
13089
13172
  aspect-ratio: 127 / 32;
13090
13173
  `;
13091
13174
  }
@@ -13122,7 +13205,7 @@ var WistiaLogo = ({
13122
13205
  };
13123
13206
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
13124
13207
  const logotypeColor = VARIANT_COLORS[variant].logotype;
13125
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(
13208
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(
13126
13209
  WistiaLogoComponent,
13127
13210
  {
13128
13211
  $hoverColor: hoverColor,
@@ -13135,14 +13218,14 @@ var WistiaLogo = ({
13135
13218
  xmlns: "http://www.w3.org/2000/svg",
13136
13219
  ...props,
13137
13220
  children: [
13138
- /* @__PURE__ */ (0, import_jsx_runtime273.jsx)("title", { children: title }),
13139
- (0, import_type_guards57.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime273.jsx)("desc", { children: description }) : null,
13221
+ /* @__PURE__ */ (0, import_jsx_runtime274.jsx)("title", { children: title }),
13222
+ (0, import_type_guards57.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime274.jsx)("desc", { children: description }) : null,
13140
13223
  renderBrandmark(brandmarkColor, iconOnly),
13141
13224
  renderLogotype(logotypeColor, iconOnly)
13142
13225
  ]
13143
13226
  }
13144
13227
  );
13145
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime273.jsx)("a", { href, children: Logo }) : Logo;
13228
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime274.jsx)("a", { href, children: Logo }) : Logo;
13146
13229
  };
13147
13230
  WistiaLogo.displayName = "WistiaLogo";
13148
13231
  // Annotate the CommonJS export names for ESM import in node: