@wistia/vhs 6.0.7 → 6.0.8

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v6.0.7
3
+ * @license @wistia/vhs v6.0.8
4
4
  *
5
5
  * Copyright (c) 2021-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -26,7 +26,7 @@ import { jsx as jsx$1 } from "slate-hyperscript";
26
26
  import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup as MenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu";
27
27
  import { addDays, addMonths, addYears, compareAsc, differenceInDays, differenceInMilliseconds, eachDayOfInterval, eachMonthOfInterval, endOfDay, endOfMonth, getDay, getDaysInMonth, getYear, isAfter, isBefore, isEqual as isEqual$1, isFuture, isSameDay, isValid, isWithinInterval, startOfDay, startOfMonth } from "date-fns";
28
28
  import ReactSlider from "react-slider";
29
- //#region \0rolldown/runtime.js
29
+ // \0rolldown/runtime.js
30
30
  var __defProp = Object.defineProperty;
31
31
  var __exportAll = (all, no_symbols) => {
32
32
  let target = {};
@@ -37,12 +37,10 @@ var __exportAll = (all, no_symbols) => {
37
37
  if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
38
38
  return target;
39
39
  };
40
- //#endregion
41
- //#region src/components/ModalBase/ModalProviderContext.tsx
40
+ // src/components/ModalBase/ModalProviderContext.tsx
42
41
  const ModalProviderContext = createContext({});
43
42
  const useModalProviderContext = () => useContext(ModalProviderContext);
44
- //#endregion
45
- //#region src/components/ModalBase/ModalProvider.tsx
43
+ // src/components/ModalBase/ModalProvider.tsx
46
44
  const ModalProvider = ({ children }) => {
47
45
  const modalQueue = useRef(/* @__PURE__ */ new Set()).current;
48
46
  const isFirstCallback = useCallback((setIsShown) => modalQueue.values().next().value === setIsShown, [modalQueue]);
@@ -92,11 +90,9 @@ const ModalProvider = ({ children }) => {
92
90
  children
93
91
  });
94
92
  };
95
- //#endregion
96
- //#region src/hooks/useTheme/useTheme.ts
93
+ // src/hooks/useTheme/useTheme.ts
97
94
  const useTheme = () => useTheme$1();
98
- //#endregion
99
- //#region src/hooks/useThemeColor/useThemeColor.ts
95
+ // src/hooks/useThemeColor/useThemeColor.ts
100
96
  const getColor = (colors, colorName) => {
101
97
  if (!colors.hasOwnProperty(colorName)) throw new Error(`\`${String(colorName)}\` is not a defined theme color, check argument passed to \`useThemeColor\``);
102
98
  return colors[colorName];
@@ -108,14 +104,12 @@ const useThemeColor = (colorName = null) => {
108
104
  if (Array.isArray(colorName)) return colorName.map((color) => getColor(colors, color));
109
105
  return getColor(colors, colorName);
110
106
  };
111
- //#endregion
112
- //#region src/providers/AriaLiveProvider/AriaLiveContext.tsx
107
+ // src/providers/AriaLiveProvider/AriaLiveContext.tsx
113
108
  const warnMissingProvider = () => {
114
109
  console.warn("Announcement failed: render VHSProvider (or AriaLiveProvider) above this component");
115
110
  };
116
111
  const AriaLiveContext = createContext({ announce: warnMissingProvider });
117
- //#endregion
118
- //#region src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
112
+ // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
119
113
  const screenReaderOnlyStyle = css`
120
114
  border: 0;
121
115
  clip-path: inset(50%);
@@ -146,8 +140,7 @@ const ScreenReaderOnly = ({ text, children, focusable = false, ...otherProps })
146
140
  });
147
141
  };
148
142
  ScreenReaderOnly.displayName = "ScreenReaderOnly_VHS";
149
- //#endregion
150
- //#region src/providers/AriaLiveProvider/AriaLiveProvider.tsx
143
+ // src/providers/AriaLiveProvider/AriaLiveProvider.tsx
151
144
  const ANNOUNCEMENT_CLEAR_DELAY_MS = 5e3;
152
145
  const HiddenRegion = styled.div`
153
146
  ${screenReaderOnlyStyle}
@@ -203,11 +196,9 @@ const AriaLiveProvider = ({ children }) => {
203
196
  })] })]
204
197
  });
205
198
  };
206
- //#endregion
207
- //#region src/private/hooks/useAriaLive/useAriaLive.ts
199
+ // src/private/hooks/useAriaLive/useAriaLive.ts
208
200
  const useAriaLive = () => use(AriaLiveContext);
209
- //#endregion
210
- //#region src/private/components/LiveAnnouncement/LiveAnnouncement.tsx
201
+ // src/private/components/LiveAnnouncement/LiveAnnouncement.tsx
211
202
  /**
212
203
  * Announces `message` to screen readers when it mounts and each time `message` changes.
213
204
  */
@@ -225,8 +216,7 @@ const LiveAnnouncement = ({ message, politeness = "polite" }) => {
225
216
  ]);
226
217
  return null;
227
218
  };
228
- //#endregion
229
- //#region src/private/helpers/coerceToBoolean/coerceToBoolean.ts
219
+ // src/private/helpers/coerceToBoolean/coerceToBoolean.ts
230
220
  /**
231
221
  * Converts a boolean string value `value` into a boolean. If passed
232
222
  * something other than 'true' or 'false' will coerce value to boolean.
@@ -238,14 +228,12 @@ const coerceToBoolean = (value) => {
238
228
  if (value === "true" || value === "false") return value === "true";
239
229
  return Boolean(value);
240
230
  };
241
- //#endregion
242
- //#region src/private/helpers/isServer/isServer.ts
231
+ // src/private/helpers/isServer/isServer.ts
243
232
  /**
244
233
  * @returns {boolean} - whether running in a server environment
245
234
  */
246
235
  const isServer = () => typeof window === "undefined" || typeof document === "undefined";
247
- //#endregion
248
- //#region src/components/Icon/iconMap.ts
236
+ // src/components/Icon/iconMap.ts
249
237
  const iconMap$1 = {
250
238
  "ab-test": "AbTestIcon",
251
239
  "all-content": "AllContentIcon",
@@ -362,8 +350,7 @@ const iconMap$1 = {
362
350
  "zoom-in": "ZoomInIcon",
363
351
  "zoom-out": "ZoomOutIcon"
364
352
  };
365
- //#endregion
366
- //#region src/components/Icon/icons/AbTestIcon.tsx
353
+ // src/components/Icon/icons/AbTestIcon.tsx
367
354
  const AbTestIcon = (props) => /* @__PURE__ */ jsx("svg", {
368
355
  ...props,
369
356
  children: /* @__PURE__ */ jsx("path", {
@@ -371,8 +358,7 @@ const AbTestIcon = (props) => /* @__PURE__ */ jsx("svg", {
371
358
  fill: "currentColor"
372
359
  })
373
360
  });
374
- //#endregion
375
- //#region src/components/Icon/icons/AllContentIcon.tsx
361
+ // src/components/Icon/icons/AllContentIcon.tsx
376
362
  const AllContentIcon = (props) => /* @__PURE__ */ jsx("svg", {
377
363
  ...props,
378
364
  children: /* @__PURE__ */ jsx("path", {
@@ -380,8 +366,7 @@ const AllContentIcon = (props) => /* @__PURE__ */ jsx("svg", {
380
366
  fill: "currentColor"
381
367
  })
382
368
  });
383
- //#endregion
384
- //#region src/components/Icon/icons/ArchivedIcon.tsx
369
+ // src/components/Icon/icons/ArchivedIcon.tsx
385
370
  const ArchivedIcon = (props) => /* @__PURE__ */ jsx("svg", {
386
371
  ...props,
387
372
  children: /* @__PURE__ */ jsx("path", {
@@ -390,8 +375,7 @@ const ArchivedIcon = (props) => /* @__PURE__ */ jsx("svg", {
390
375
  fill: "currentColor"
391
376
  })
392
377
  });
393
- //#endregion
394
- //#region src/components/Icon/icons/ArrowDownIcon.tsx
378
+ // src/components/Icon/icons/ArrowDownIcon.tsx
395
379
  const ArrowDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
396
380
  ...props,
397
381
  children: /* @__PURE__ */ jsx("path", {
@@ -399,8 +383,7 @@ const ArrowDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
399
383
  fill: "currentColor"
400
384
  })
401
385
  });
402
- //#endregion
403
- //#region src/components/Icon/icons/ArrowLeftIcon.tsx
386
+ // src/components/Icon/icons/ArrowLeftIcon.tsx
404
387
  const ArrowLeftIcon = (props) => /* @__PURE__ */ jsx("svg", {
405
388
  ...props,
406
389
  children: /* @__PURE__ */ jsx("path", {
@@ -408,8 +391,7 @@ const ArrowLeftIcon = (props) => /* @__PURE__ */ jsx("svg", {
408
391
  fill: "currentColor"
409
392
  })
410
393
  });
411
- //#endregion
412
- //#region src/components/Icon/icons/ArrowRightIcon.tsx
394
+ // src/components/Icon/icons/ArrowRightIcon.tsx
413
395
  const ArrowRightIcon = (props) => /* @__PURE__ */ jsx("svg", {
414
396
  ...props,
415
397
  children: /* @__PURE__ */ jsx("path", {
@@ -417,8 +399,7 @@ const ArrowRightIcon = (props) => /* @__PURE__ */ jsx("svg", {
417
399
  fill: "currentColor"
418
400
  })
419
401
  });
420
- //#endregion
421
- //#region src/components/Icon/icons/ArrowUpIcon.tsx
402
+ // src/components/Icon/icons/ArrowUpIcon.tsx
422
403
  const ArrowUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
423
404
  ...props,
424
405
  children: /* @__PURE__ */ jsx("path", {
@@ -426,8 +407,7 @@ const ArrowUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
426
407
  fill: "currentColor"
427
408
  })
428
409
  });
429
- //#endregion
430
- //#region src/components/Icon/icons/AsteriskIcon.tsx
410
+ // src/components/Icon/icons/AsteriskIcon.tsx
431
411
  const AsteriskIcon = (props) => /* @__PURE__ */ jsx("svg", {
432
412
  ...props,
433
413
  children: /* @__PURE__ */ jsx("path", {
@@ -435,8 +415,7 @@ const AsteriskIcon = (props) => /* @__PURE__ */ jsx("svg", {
435
415
  fill: "currentColor"
436
416
  })
437
417
  });
438
- //#endregion
439
- //#region src/components/Icon/icons/AudienceIcon.tsx
418
+ // src/components/Icon/icons/AudienceIcon.tsx
440
419
  const AudienceIcon = (props) => /* @__PURE__ */ jsx("svg", {
441
420
  ...props,
442
421
  children: /* @__PURE__ */ jsx("path", {
@@ -444,8 +423,7 @@ const AudienceIcon = (props) => /* @__PURE__ */ jsx("svg", {
444
423
  fill: "currentColor"
445
424
  })
446
425
  });
447
- //#endregion
448
- //#region src/components/Icon/icons/CalendarIcon.tsx
426
+ // src/components/Icon/icons/CalendarIcon.tsx
449
427
  const CalendarIcon = (props) => /* @__PURE__ */ jsx("svg", {
450
428
  ...props,
451
429
  children: /* @__PURE__ */ jsx("path", {
@@ -455,8 +433,7 @@ const CalendarIcon = (props) => /* @__PURE__ */ jsx("svg", {
455
433
  fillRule: "evenodd"
456
434
  })
457
435
  });
458
- //#endregion
459
- //#region src/components/Icon/icons/CameraIcon.tsx
436
+ // src/components/Icon/icons/CameraIcon.tsx
460
437
  const CameraIcon = (props) => /* @__PURE__ */ jsx("svg", {
461
438
  ...props,
462
439
  children: /* @__PURE__ */ jsx("path", {
@@ -466,8 +443,7 @@ const CameraIcon = (props) => /* @__PURE__ */ jsx("svg", {
466
443
  fillRule: "evenodd"
467
444
  })
468
445
  });
469
- //#endregion
470
- //#region src/components/Icon/icons/CaretDownIcon.tsx
446
+ // src/components/Icon/icons/CaretDownIcon.tsx
471
447
  const CaretDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
472
448
  ...props,
473
449
  children: /* @__PURE__ */ jsx("path", {
@@ -475,8 +451,7 @@ const CaretDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
475
451
  fill: "currentColor"
476
452
  })
477
453
  });
478
- //#endregion
479
- //#region src/components/Icon/icons/CaretLeftIcon.tsx
454
+ // src/components/Icon/icons/CaretLeftIcon.tsx
480
455
  const CaretLeftIcon = (props) => /* @__PURE__ */ jsx("svg", {
481
456
  ...props,
482
457
  children: /* @__PURE__ */ jsx("path", {
@@ -484,8 +459,7 @@ const CaretLeftIcon = (props) => /* @__PURE__ */ jsx("svg", {
484
459
  fill: "currentColor"
485
460
  })
486
461
  });
487
- //#endregion
488
- //#region src/components/Icon/icons/CaretRightIcon.tsx
462
+ // src/components/Icon/icons/CaretRightIcon.tsx
489
463
  const CaretRightIcon = (props) => /* @__PURE__ */ jsx("svg", {
490
464
  ...props,
491
465
  children: /* @__PURE__ */ jsx("path", {
@@ -493,8 +467,7 @@ const CaretRightIcon = (props) => /* @__PURE__ */ jsx("svg", {
493
467
  fill: "currentColor"
494
468
  })
495
469
  });
496
- //#endregion
497
- //#region src/components/Icon/icons/CaretUpIcon.tsx
470
+ // src/components/Icon/icons/CaretUpIcon.tsx
498
471
  const CaretUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
499
472
  ...props,
500
473
  children: /* @__PURE__ */ jsx("path", {
@@ -502,8 +475,7 @@ const CaretUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
502
475
  fill: "currentColor"
503
476
  })
504
477
  });
505
- //#endregion
506
- //#region src/components/Icon/icons/ChannelIcon.tsx
478
+ // src/components/Icon/icons/ChannelIcon.tsx
507
479
  const ChannelIcon = (props) => /* @__PURE__ */ jsx("svg", {
508
480
  ...props,
509
481
  children: /* @__PURE__ */ jsx("path", {
@@ -513,8 +485,7 @@ const ChannelIcon = (props) => /* @__PURE__ */ jsx("svg", {
513
485
  fillRule: "evenodd"
514
486
  })
515
487
  });
516
- //#endregion
517
- //#region src/components/Icon/icons/CheckmarkCircleIcon.tsx
488
+ // src/components/Icon/icons/CheckmarkCircleIcon.tsx
518
489
  const CheckmarkCircleIcon = (props) => /* @__PURE__ */ jsx("svg", {
519
490
  ...props,
520
491
  children: /* @__PURE__ */ jsx("path", {
@@ -524,8 +495,7 @@ const CheckmarkCircleIcon = (props) => /* @__PURE__ */ jsx("svg", {
524
495
  fillRule: "evenodd"
525
496
  })
526
497
  });
527
- //#endregion
528
- //#region src/components/Icon/icons/CheckmarkCircleOutlineIcon.tsx
498
+ // src/components/Icon/icons/CheckmarkCircleOutlineIcon.tsx
529
499
  const CheckmarkCircleOutlineIcon = ({ ...props }) => /* @__PURE__ */ jsxs("svg", {
530
500
  ...props,
531
501
  children: [/* @__PURE__ */ jsx("path", {
@@ -540,8 +510,7 @@ const CheckmarkCircleOutlineIcon = ({ ...props }) => /* @__PURE__ */ jsxs("svg",
540
510
  fillRule: "evenodd"
541
511
  })]
542
512
  });
543
- //#endregion
544
- //#region src/components/Icon/icons/CheckmarkCircleThreeQuartersIcon.tsx
513
+ // src/components/Icon/icons/CheckmarkCircleThreeQuartersIcon.tsx
545
514
  const CheckmarkCircleThreeQuartersIcon = (props) => /* @__PURE__ */ jsx("svg", {
546
515
  ...props,
547
516
  children: /* @__PURE__ */ jsx("path", {
@@ -549,8 +518,7 @@ const CheckmarkCircleThreeQuartersIcon = (props) => /* @__PURE__ */ jsx("svg", {
549
518
  fill: "currentColor"
550
519
  })
551
520
  });
552
- //#endregion
553
- //#region src/components/Icon/icons/CheckmarkIcon.tsx
521
+ // src/components/Icon/icons/CheckmarkIcon.tsx
554
522
  const CheckmarkIcon = (props) => /* @__PURE__ */ jsx("svg", {
555
523
  ...props,
556
524
  children: /* @__PURE__ */ jsx("path", {
@@ -558,8 +526,7 @@ const CheckmarkIcon = (props) => /* @__PURE__ */ jsx("svg", {
558
526
  fill: "currentColor"
559
527
  })
560
528
  });
561
- //#endregion
562
- //#region src/components/Icon/icons/CheckmarkUnderlinedIcon.tsx
529
+ // src/components/Icon/icons/CheckmarkUnderlinedIcon.tsx
563
530
  const CheckmarkUnderlinedIcon = (props) => /* @__PURE__ */ jsx("svg", {
564
531
  ...props,
565
532
  children: /* @__PURE__ */ jsx("path", {
@@ -567,8 +534,7 @@ const CheckmarkUnderlinedIcon = (props) => /* @__PURE__ */ jsx("svg", {
567
534
  fill: "currentColor"
568
535
  })
569
536
  });
570
- //#endregion
571
- //#region src/components/Icon/icons/CloseCircleIcon.tsx
537
+ // src/components/Icon/icons/CloseCircleIcon.tsx
572
538
  const CloseCircleIcon = (props) => /* @__PURE__ */ jsx("svg", {
573
539
  ...props,
574
540
  children: /* @__PURE__ */ jsx("path", {
@@ -578,8 +544,7 @@ const CloseCircleIcon = (props) => /* @__PURE__ */ jsx("svg", {
578
544
  fillRule: "evenodd"
579
545
  })
580
546
  });
581
- //#endregion
582
- //#region src/components/Icon/icons/CloseIcon.tsx
547
+ // src/components/Icon/icons/CloseIcon.tsx
583
548
  const CloseIcon$1 = (props) => /* @__PURE__ */ jsx("svg", {
584
549
  ...props,
585
550
  children: /* @__PURE__ */ jsx("path", {
@@ -587,8 +552,7 @@ const CloseIcon$1 = (props) => /* @__PURE__ */ jsx("svg", {
587
552
  fill: "currentColor"
588
553
  })
589
554
  });
590
- //#endregion
591
- //#region src/components/Icon/icons/CollectVideoIcon.tsx
555
+ // src/components/Icon/icons/CollectVideoIcon.tsx
592
556
  const CollectVideoIcon = (props) => /* @__PURE__ */ jsx("svg", {
593
557
  ...props,
594
558
  children: /* @__PURE__ */ jsx("path", {
@@ -598,8 +562,7 @@ const CollectVideoIcon = (props) => /* @__PURE__ */ jsx("svg", {
598
562
  fillRule: "evenodd"
599
563
  })
600
564
  });
601
- //#endregion
602
- //#region src/components/Icon/icons/CommentIcon.tsx
565
+ // src/components/Icon/icons/CommentIcon.tsx
603
566
  const CommentIcon = (props) => /* @__PURE__ */ jsx("svg", {
604
567
  ...props,
605
568
  children: /* @__PURE__ */ jsx("path", {
@@ -609,8 +572,7 @@ const CommentIcon = (props) => /* @__PURE__ */ jsx("svg", {
609
572
  fillRule: "evenodd"
610
573
  })
611
574
  });
612
- //#endregion
613
- //#region src/components/Icon/icons/CommunityIcon.tsx
575
+ // src/components/Icon/icons/CommunityIcon.tsx
614
576
  const CommunityIcon = (props) => /* @__PURE__ */ jsx("svg", {
615
577
  ...props,
616
578
  children: /* @__PURE__ */ jsx("path", {
@@ -618,8 +580,7 @@ const CommunityIcon = (props) => /* @__PURE__ */ jsx("svg", {
618
580
  fill: "currentColor"
619
581
  })
620
582
  });
621
- //#endregion
622
- //#region src/components/Icon/icons/ContactUsIcon.tsx
583
+ // src/components/Icon/icons/ContactUsIcon.tsx
623
584
  const ContactUsIcon = (props) => /* @__PURE__ */ jsx("svg", {
624
585
  ...props,
625
586
  children: /* @__PURE__ */ jsx("path", {
@@ -627,8 +588,7 @@ const ContactUsIcon = (props) => /* @__PURE__ */ jsx("svg", {
627
588
  fill: "currentColor"
628
589
  })
629
590
  });
630
- //#endregion
631
- //#region src/components/Icon/icons/CopyDisabledIcon.tsx
591
+ // src/components/Icon/icons/CopyDisabledIcon.tsx
632
592
  const CopyDisabledIcon = (props) => /* @__PURE__ */ jsx("svg", {
633
593
  ...props,
634
594
  children: /* @__PURE__ */ jsx("path", {
@@ -636,8 +596,7 @@ const CopyDisabledIcon = (props) => /* @__PURE__ */ jsx("svg", {
636
596
  fill: "currentColor"
637
597
  })
638
598
  });
639
- //#endregion
640
- //#region src/components/Icon/icons/CopyIcon.tsx
599
+ // src/components/Icon/icons/CopyIcon.tsx
641
600
  const CopyIcon = (props) => /* @__PURE__ */ jsx("svg", {
642
601
  ...props,
643
602
  children: /* @__PURE__ */ jsx("path", {
@@ -645,8 +604,7 @@ const CopyIcon = (props) => /* @__PURE__ */ jsx("svg", {
645
604
  fill: "currentColor"
646
605
  })
647
606
  });
648
- //#endregion
649
- //#region src/components/Icon/icons/CreateIcon.tsx
607
+ // src/components/Icon/icons/CreateIcon.tsx
650
608
  const CreateIcon = (props) => /* @__PURE__ */ jsx("svg", {
651
609
  ...props,
652
610
  children: /* @__PURE__ */ jsx("path", {
@@ -654,8 +612,7 @@ const CreateIcon = (props) => /* @__PURE__ */ jsx("svg", {
654
612
  fill: "currentColor"
655
613
  })
656
614
  });
657
- //#endregion
658
- //#region src/components/Icon/icons/DeleteIcon.tsx
615
+ // src/components/Icon/icons/DeleteIcon.tsx
659
616
  const DeleteIcon = (props) => /* @__PURE__ */ jsx("svg", {
660
617
  ...props,
661
618
  children: /* @__PURE__ */ jsx("path", {
@@ -663,8 +620,7 @@ const DeleteIcon = (props) => /* @__PURE__ */ jsx("svg", {
663
620
  fill: "currentColor"
664
621
  })
665
622
  });
666
- //#endregion
667
- //#region src/components/Icon/icons/DeleteSmIcon.tsx
623
+ // src/components/Icon/icons/DeleteSmIcon.tsx
668
624
  const DeleteSmIcon = (props) => /* @__PURE__ */ jsx("svg", {
669
625
  ...props,
670
626
  children: /* @__PURE__ */ jsxs("g", {
@@ -672,8 +628,7 @@ const DeleteSmIcon = (props) => /* @__PURE__ */ jsx("svg", {
672
628
  children: [/* @__PURE__ */ jsx("path", { d: "m9.05042 2c-.64391 0-1.23256.35667-1.52052.92132l-1.23015 2.41201h-1.59974c-.9389 0-1.70001.74619-1.70001 1.66667 0 .92047.76111 1.66667 1.70001 1.66667h14.59999c.9389 0 1.7-.7462 1.7-1.66667 0-.92048-.7611-1.66667-1.7-1.66667h-1.8003l-1.2301-2.41201c-.288-.56465-.8765-.92132-1.5205-.92132z" }), /* @__PURE__ */ jsx("path", { d: "m6.63212 10c-.9389 0-1.63212.7462-1.63212 1.6667v8.8333c0 .9205.36086 1.5 1.29975 1.5h11.19995c.9389 0 1.5003-.5795 1.5003-1.5l-.1-8.8333c0-.9205-.4611-1.6667-1.4-1.6667z" })]
673
629
  })
674
630
  });
675
- //#endregion
676
- //#region src/components/Icon/icons/DottieClockIcon.tsx
631
+ // src/components/Icon/icons/DottieClockIcon.tsx
677
632
  const DottieClockIcon = (props) => /* @__PURE__ */ jsx("svg", {
678
633
  ...props,
679
634
  children: /* @__PURE__ */ jsx("path", {
@@ -683,8 +638,7 @@ const DottieClockIcon = (props) => /* @__PURE__ */ jsx("svg", {
683
638
  fillRule: "evenodd"
684
639
  })
685
640
  });
686
- //#endregion
687
- //#region src/components/Icon/icons/DownloadIcon.tsx
641
+ // src/components/Icon/icons/DownloadIcon.tsx
688
642
  const DownloadIcon = (props) => /* @__PURE__ */ jsx("svg", {
689
643
  ...props,
690
644
  children: /* @__PURE__ */ jsx("path", {
@@ -692,8 +646,7 @@ const DownloadIcon = (props) => /* @__PURE__ */ jsx("svg", {
692
646
  fill: "currentColor"
693
647
  })
694
648
  });
695
- //#endregion
696
- //#region src/components/Icon/icons/DraggableIcon.tsx
649
+ // src/components/Icon/icons/DraggableIcon.tsx
697
650
  const DraggableIcon = (props) => /* @__PURE__ */ jsx("svg", {
698
651
  ...props,
699
652
  children: /* @__PURE__ */ jsx("path", {
@@ -701,8 +654,7 @@ const DraggableIcon = (props) => /* @__PURE__ */ jsx("svg", {
701
654
  fill: "currentColor"
702
655
  })
703
656
  });
704
- //#endregion
705
- //#region src/components/Icon/icons/EllipsisIcon.tsx
657
+ // src/components/Icon/icons/EllipsisIcon.tsx
706
658
  const EllipsisIcon = (props) => /* @__PURE__ */ jsx("svg", {
707
659
  ...props,
708
660
  children: /* @__PURE__ */ jsx("path", {
@@ -710,8 +662,7 @@ const EllipsisIcon = (props) => /* @__PURE__ */ jsx("svg", {
710
662
  fill: "currentColor"
711
663
  })
712
664
  });
713
- //#endregion
714
- //#region src/components/Icon/icons/EllipsisVerticalIcon.tsx
665
+ // src/components/Icon/icons/EllipsisVerticalIcon.tsx
715
666
  const EllipsisVerticalIcon = (props) => /* @__PURE__ */ jsx("svg", {
716
667
  ...props,
717
668
  children: /* @__PURE__ */ jsx("path", {
@@ -719,8 +670,7 @@ const EllipsisVerticalIcon = (props) => /* @__PURE__ */ jsx("svg", {
719
670
  fill: "currentColor"
720
671
  })
721
672
  });
722
- //#endregion
723
- //#region src/components/Icon/icons/EmbedIcon.tsx
673
+ // src/components/Icon/icons/EmbedIcon.tsx
724
674
  const EmbedIcon = (props) => /* @__PURE__ */ jsx("svg", {
725
675
  ...props,
726
676
  children: /* @__PURE__ */ jsx("path", {
@@ -728,8 +678,7 @@ const EmbedIcon = (props) => /* @__PURE__ */ jsx("svg", {
728
678
  fill: "currentColor"
729
679
  })
730
680
  });
731
- //#endregion
732
- //#region src/components/Icon/icons/EpisodesIcon.tsx
681
+ // src/components/Icon/icons/EpisodesIcon.tsx
733
682
  const EpisodesIcon = (props) => /* @__PURE__ */ jsx("svg", {
734
683
  ...props,
735
684
  children: /* @__PURE__ */ jsx("path", {
@@ -737,8 +686,7 @@ const EpisodesIcon = (props) => /* @__PURE__ */ jsx("svg", {
737
686
  fill: "currentColor"
738
687
  })
739
688
  });
740
- //#endregion
741
- //#region src/components/Icon/icons/ExpandIcon.tsx
689
+ // src/components/Icon/icons/ExpandIcon.tsx
742
690
  const ExpandIcon = (props) => /* @__PURE__ */ jsx("svg", {
743
691
  ...props,
744
692
  children: /* @__PURE__ */ jsx("path", {
@@ -748,8 +696,7 @@ const ExpandIcon = (props) => /* @__PURE__ */ jsx("svg", {
748
696
  fillRule: "evenodd"
749
697
  })
750
698
  });
751
- //#endregion
752
- //#region src/components/Icon/icons/FavoriteIcon.tsx
699
+ // src/components/Icon/icons/FavoriteIcon.tsx
753
700
  const FavoriteIcon = (props) => /* @__PURE__ */ jsx("svg", {
754
701
  ...props,
755
702
  children: /* @__PURE__ */ jsx("path", {
@@ -757,8 +704,7 @@ const FavoriteIcon = (props) => /* @__PURE__ */ jsx("svg", {
757
704
  fill: "currentColor"
758
705
  })
759
706
  });
760
- //#endregion
761
- //#region src/components/Icon/icons/FavoriteOutlineIcon.tsx
707
+ // src/components/Icon/icons/FavoriteOutlineIcon.tsx
762
708
  const FavoriteOutlineIcon = (props) => /* @__PURE__ */ jsx("svg", {
763
709
  ...props,
764
710
  children: /* @__PURE__ */ jsx("path", {
@@ -768,8 +714,7 @@ const FavoriteOutlineIcon = (props) => /* @__PURE__ */ jsx("svg", {
768
714
  fillRule: "evenodd"
769
715
  })
770
716
  });
771
- //#endregion
772
- //#region src/components/Icon/icons/FilterIcon.tsx
717
+ // src/components/Icon/icons/FilterIcon.tsx
773
718
  const FilterIcon = (props) => /* @__PURE__ */ jsx("svg", {
774
719
  ...props,
775
720
  children: /* @__PURE__ */ jsx("path", {
@@ -779,8 +724,7 @@ const FilterIcon = (props) => /* @__PURE__ */ jsx("svg", {
779
724
  fillRule: "evenodd"
780
725
  })
781
726
  });
782
- //#endregion
783
- //#region src/components/Icon/icons/GearIcon.tsx
727
+ // src/components/Icon/icons/GearIcon.tsx
784
728
  const GearIcon = (props) => /* @__PURE__ */ jsx("svg", {
785
729
  ...props,
786
730
  children: /* @__PURE__ */ jsx("path", {
@@ -788,8 +732,7 @@ const GearIcon = (props) => /* @__PURE__ */ jsx("svg", {
788
732
  fill: "currentColor"
789
733
  })
790
734
  });
791
- //#endregion
792
- //#region src/components/Icon/icons/GettingStartedIcon.tsx
735
+ // src/components/Icon/icons/GettingStartedIcon.tsx
793
736
  const GettingStartedIcon = (props) => /* @__PURE__ */ jsx("svg", {
794
737
  ...props,
795
738
  children: /* @__PURE__ */ jsx("path", {
@@ -797,8 +740,7 @@ const GettingStartedIcon = (props) => /* @__PURE__ */ jsx("svg", {
797
740
  fill: "currentColor"
798
741
  })
799
742
  });
800
- //#endregion
801
- //#region src/components/Icon/icons/GlobeIcon.tsx
743
+ // src/components/Icon/icons/GlobeIcon.tsx
802
744
  const GlobeIcon = ({ ...props }) => {
803
745
  return /* @__PURE__ */ jsx("svg", {
804
746
  ...props,
@@ -833,8 +775,7 @@ const GlobeIcon = ({ ...props }) => {
833
775
  })
834
776
  });
835
777
  };
836
- //#endregion
837
- //#region src/components/Icon/icons/GridViewIcon.tsx
778
+ // src/components/Icon/icons/GridViewIcon.tsx
838
779
  const GridViewIcon = (props) => /* @__PURE__ */ jsx("svg", {
839
780
  ...props,
840
781
  children: /* @__PURE__ */ jsx("path", {
@@ -844,8 +785,7 @@ const GridViewIcon = (props) => /* @__PURE__ */ jsx("svg", {
844
785
  fillRule: "evenodd"
845
786
  })
846
787
  });
847
- //#endregion
848
- //#region src/components/Icon/icons/HamburgerIcon.tsx
788
+ // src/components/Icon/icons/HamburgerIcon.tsx
849
789
  const HamburgerIcon = (props) => /* @__PURE__ */ jsx("svg", {
850
790
  ...props,
851
791
  children: /* @__PURE__ */ jsx("path", {
@@ -855,8 +795,7 @@ const HamburgerIcon = (props) => /* @__PURE__ */ jsx("svg", {
855
795
  fillRule: "evenodd"
856
796
  })
857
797
  });
858
- //#endregion
859
- //#region src/components/Icon/icons/HazardIcon.tsx
798
+ // src/components/Icon/icons/HazardIcon.tsx
860
799
  const HazardIcon = (props) => /* @__PURE__ */ jsx("svg", {
861
800
  ...props,
862
801
  children: /* @__PURE__ */ jsx("path", {
@@ -864,8 +803,7 @@ const HazardIcon = (props) => /* @__PURE__ */ jsx("svg", {
864
803
  fill: "currentColor"
865
804
  })
866
805
  });
867
- //#endregion
868
- //#region src/components/Icon/icons/HelpCenterIcon.tsx
806
+ // src/components/Icon/icons/HelpCenterIcon.tsx
869
807
  const HelpCenterIcon = (props) => /* @__PURE__ */ jsx("svg", {
870
808
  ...props,
871
809
  children: /* @__PURE__ */ jsx("path", {
@@ -873,8 +811,7 @@ const HelpCenterIcon = (props) => /* @__PURE__ */ jsx("svg", {
873
811
  fill: "currentColor"
874
812
  })
875
813
  });
876
- //#endregion
877
- //#region src/components/Icon/icons/HideIcon.tsx
814
+ // src/components/Icon/icons/HideIcon.tsx
878
815
  const HideIcon = (props) => /* @__PURE__ */ jsx("svg", {
879
816
  ...props,
880
817
  viewBox: "0 0 24 24",
@@ -884,8 +821,7 @@ const HideIcon = (props) => /* @__PURE__ */ jsx("svg", {
884
821
  fill: "currentColor"
885
822
  })
886
823
  });
887
- //#endregion
888
- //#region src/components/Icon/icons/HomeIcon.tsx
824
+ // src/components/Icon/icons/HomeIcon.tsx
889
825
  const HomeIcon = (props) => /* @__PURE__ */ jsx("svg", {
890
826
  ...props,
891
827
  children: /* @__PURE__ */ jsx("path", {
@@ -893,8 +829,7 @@ const HomeIcon = (props) => /* @__PURE__ */ jsx("svg", {
893
829
  fill: "currentColor"
894
830
  })
895
831
  });
896
- //#endregion
897
- //#region src/components/Icon/icons/HourglassIcon.tsx
832
+ // src/components/Icon/icons/HourglassIcon.tsx
898
833
  const HourglassIcon = (props) => /* @__PURE__ */ jsx("svg", {
899
834
  ...props,
900
835
  children: /* @__PURE__ */ jsx("path", {
@@ -903,8 +838,7 @@ const HourglassIcon = (props) => /* @__PURE__ */ jsx("svg", {
903
838
  fillRule: "evenodd"
904
839
  })
905
840
  });
906
- //#endregion
907
- //#region src/components/Icon/icons/ImportIcon.tsx
841
+ // src/components/Icon/icons/ImportIcon.tsx
908
842
  const ImportIcon = (props) => /* @__PURE__ */ jsx("svg", {
909
843
  ...props,
910
844
  children: /* @__PURE__ */ jsx("path", {
@@ -912,8 +846,7 @@ const ImportIcon = (props) => /* @__PURE__ */ jsx("svg", {
912
846
  fill: "currentColor"
913
847
  })
914
848
  });
915
- //#endregion
916
- //#region src/components/Icon/icons/InfoIcon.tsx
849
+ // src/components/Icon/icons/InfoIcon.tsx
917
850
  const InfoIcon = (props) => /* @__PURE__ */ jsx("svg", {
918
851
  ...props,
919
852
  children: /* @__PURE__ */ jsx("path", {
@@ -921,8 +854,7 @@ const InfoIcon = (props) => /* @__PURE__ */ jsx("svg", {
921
854
  fill: "currentColor"
922
855
  })
923
856
  });
924
- //#endregion
925
- //#region src/components/Icon/icons/IntegrationsIcon.tsx
857
+ // src/components/Icon/icons/IntegrationsIcon.tsx
926
858
  const IntegrationsIcon = (props) => /* @__PURE__ */ jsx("svg", {
927
859
  ...props,
928
860
  children: /* @__PURE__ */ jsx("path", {
@@ -930,8 +862,7 @@ const IntegrationsIcon = (props) => /* @__PURE__ */ jsx("svg", {
930
862
  fill: "currentColor"
931
863
  })
932
864
  });
933
- //#endregion
934
- //#region src/components/Icon/icons/InviteIcon.tsx
865
+ // src/components/Icon/icons/InviteIcon.tsx
935
866
  const InviteIcon = (props) => /* @__PURE__ */ jsxs("svg", {
936
867
  ...props,
937
868
  children: [/* @__PURE__ */ jsx("path", {
@@ -946,8 +877,7 @@ const InviteIcon = (props) => /* @__PURE__ */ jsxs("svg", {
946
877
  fillRule: "evenodd"
947
878
  })]
948
879
  });
949
- //#endregion
950
- //#region src/components/Icon/icons/LightningBoltIcon.tsx
880
+ // src/components/Icon/icons/LightningBoltIcon.tsx
951
881
  const LightningBoltIcon = ({ ...props }) => {
952
882
  return /* @__PURE__ */ jsx("svg", {
953
883
  ...props,
@@ -959,8 +889,7 @@ const LightningBoltIcon = ({ ...props }) => {
959
889
  })
960
890
  });
961
891
  };
962
- //#endregion
963
- //#region src/components/Icon/icons/LinkIcon.tsx
892
+ // src/components/Icon/icons/LinkIcon.tsx
964
893
  const LinkIcon = (props) => /* @__PURE__ */ jsx("svg", {
965
894
  ...props,
966
895
  children: /* @__PURE__ */ jsx("path", {
@@ -968,8 +897,7 @@ const LinkIcon = (props) => /* @__PURE__ */ jsx("svg", {
968
897
  fill: "currentColor"
969
898
  })
970
899
  });
971
- //#endregion
972
- //#region src/components/Icon/icons/ListViewIcon.tsx
900
+ // src/components/Icon/icons/ListViewIcon.tsx
973
901
  const ListViewIcon = (props) => /* @__PURE__ */ jsx("svg", {
974
902
  ...props,
975
903
  children: /* @__PURE__ */ jsx("path", {
@@ -979,8 +907,7 @@ const ListViewIcon = (props) => /* @__PURE__ */ jsx("svg", {
979
907
  fillRule: "evenodd"
980
908
  })
981
909
  });
982
- //#endregion
983
- //#region src/components/Icon/icons/LiveIcon.tsx
910
+ // src/components/Icon/icons/LiveIcon.tsx
984
911
  const LiveIcon = (props) => /* @__PURE__ */ jsx("svg", {
985
912
  ...props,
986
913
  children: /* @__PURE__ */ jsx("path", {
@@ -989,8 +916,7 @@ const LiveIcon = (props) => /* @__PURE__ */ jsx("svg", {
989
916
  fillRule: "evenodd"
990
917
  })
991
918
  });
992
- //#endregion
993
- //#region src/components/Icon/icons/LockIcon.tsx
919
+ // src/components/Icon/icons/LockIcon.tsx
994
920
  const LockIcon = (props) => /* @__PURE__ */ jsx("svg", {
995
921
  ...props,
996
922
  children: /* @__PURE__ */ jsx("path", {
@@ -998,8 +924,7 @@ const LockIcon = (props) => /* @__PURE__ */ jsx("svg", {
998
924
  fill: "currentColor"
999
925
  })
1000
926
  });
1001
- //#endregion
1002
- //#region src/components/Icon/icons/LogoutIcon.tsx
927
+ // src/components/Icon/icons/LogoutIcon.tsx
1003
928
  const LogoutIcon = (props) => /* @__PURE__ */ jsx("svg", {
1004
929
  ...props,
1005
930
  children: /* @__PURE__ */ jsx("path", {
@@ -1007,8 +932,7 @@ const LogoutIcon = (props) => /* @__PURE__ */ jsx("svg", {
1007
932
  fill: "currentColor"
1008
933
  })
1009
934
  });
1010
- //#endregion
1011
- //#region src/components/Icon/icons/MediaIcon.tsx
935
+ // src/components/Icon/icons/MediaIcon.tsx
1012
936
  const MediaIcon = (props) => /* @__PURE__ */ jsx("svg", {
1013
937
  ...props,
1014
938
  children: /* @__PURE__ */ jsx("path", {
@@ -1018,8 +942,7 @@ const MediaIcon = (props) => /* @__PURE__ */ jsx("svg", {
1018
942
  fillRule: "evenodd"
1019
943
  })
1020
944
  });
1021
- //#endregion
1022
- //#region src/components/Icon/icons/MegaphoneIcon.tsx
945
+ // src/components/Icon/icons/MegaphoneIcon.tsx
1023
946
  const MegaphoneIcon = (props) => /* @__PURE__ */ jsx("svg", {
1024
947
  ...props,
1025
948
  children: /* @__PURE__ */ jsx("path", {
@@ -1029,8 +952,7 @@ const MegaphoneIcon = (props) => /* @__PURE__ */ jsx("svg", {
1029
952
  fillRule: "evenodd"
1030
953
  })
1031
954
  });
1032
- //#endregion
1033
- //#region src/components/Icon/icons/MoreOptionsIcon.tsx
955
+ // src/components/Icon/icons/MoreOptionsIcon.tsx
1034
956
  const MoreOptionsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1035
957
  ...props,
1036
958
  children: /* @__PURE__ */ jsx("path", {
@@ -1038,8 +960,7 @@ const MoreOptionsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1038
960
  fill: "currentColor"
1039
961
  })
1040
962
  });
1041
- //#endregion
1042
- //#region src/components/Icon/icons/OpenNewIcon.tsx
963
+ // src/components/Icon/icons/OpenNewIcon.tsx
1043
964
  const OpenNewIcon = (props) => /* @__PURE__ */ jsx("svg", {
1044
965
  ...props,
1045
966
  children: /* @__PURE__ */ jsx("path", {
@@ -1047,8 +968,7 @@ const OpenNewIcon = (props) => /* @__PURE__ */ jsx("svg", {
1047
968
  fill: "currentColor"
1048
969
  })
1049
970
  });
1050
- //#endregion
1051
- //#region src/components/Icon/icons/OverviewIcon.tsx
971
+ // src/components/Icon/icons/OverviewIcon.tsx
1052
972
  const OverviewIcon = (props) => /* @__PURE__ */ jsx("svg", {
1053
973
  ...props,
1054
974
  children: /* @__PURE__ */ jsx("path", {
@@ -1056,8 +976,7 @@ const OverviewIcon = (props) => /* @__PURE__ */ jsx("svg", {
1056
976
  fill: "currentColor"
1057
977
  })
1058
978
  });
1059
- //#endregion
1060
- //#region src/components/Icon/icons/PaintIcon.tsx
979
+ // src/components/Icon/icons/PaintIcon.tsx
1061
980
  const PaintIcon = (props) => /* @__PURE__ */ jsx("svg", {
1062
981
  ...props,
1063
982
  children: /* @__PURE__ */ jsx("path", {
@@ -1067,8 +986,7 @@ const PaintIcon = (props) => /* @__PURE__ */ jsx("svg", {
1067
986
  fillRule: "evenodd"
1068
987
  })
1069
988
  });
1070
- //#endregion
1071
- //#region src/components/Icon/icons/PencilIcon.tsx
989
+ // src/components/Icon/icons/PencilIcon.tsx
1072
990
  const PencilIcon = (props) => /* @__PURE__ */ jsx("svg", {
1073
991
  ...props,
1074
992
  children: /* @__PURE__ */ jsx("path", {
@@ -1077,8 +995,7 @@ const PencilIcon = (props) => /* @__PURE__ */ jsx("svg", {
1077
995
  fillRule: "evenodd"
1078
996
  })
1079
997
  });
1080
- //#endregion
1081
- //#region src/components/Icon/icons/PlayIcon.tsx
998
+ // src/components/Icon/icons/PlayIcon.tsx
1082
999
  const PlayIcon = (props) => /* @__PURE__ */ jsx("svg", {
1083
1000
  ...props,
1084
1001
  children: /* @__PURE__ */ jsx("path", {
@@ -1086,8 +1003,7 @@ const PlayIcon = (props) => /* @__PURE__ */ jsx("svg", {
1086
1003
  fill: "currentColor"
1087
1004
  })
1088
1005
  });
1089
- //#endregion
1090
- //#region src/components/Icon/icons/PodcastIcon.tsx
1006
+ // src/components/Icon/icons/PodcastIcon.tsx
1091
1007
  const PodcastIcon = (props) => /* @__PURE__ */ jsx("svg", {
1092
1008
  ...props,
1093
1009
  children: /* @__PURE__ */ jsx("path", {
@@ -1095,8 +1011,7 @@ const PodcastIcon = (props) => /* @__PURE__ */ jsx("svg", {
1095
1011
  fill: "currentColor"
1096
1012
  })
1097
1013
  });
1098
- //#endregion
1099
- //#region src/components/Icon/icons/PreviewIcon.tsx
1014
+ // src/components/Icon/icons/PreviewIcon.tsx
1100
1015
  const PreviewIcon = (props) => /* @__PURE__ */ jsx("svg", {
1101
1016
  ...props,
1102
1017
  children: /* @__PURE__ */ jsx("path", {
@@ -1104,8 +1019,7 @@ const PreviewIcon = (props) => /* @__PURE__ */ jsx("svg", {
1104
1019
  fill: "currentColor"
1105
1020
  })
1106
1021
  });
1107
- //#endregion
1108
- //#region src/components/Icon/icons/PrivateUserSessionsIcon.tsx
1022
+ // src/components/Icon/icons/PrivateUserSessionsIcon.tsx
1109
1023
  const PrivateUserSessionsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1110
1024
  ...props,
1111
1025
  children: /* @__PURE__ */ jsx("path", {
@@ -1113,8 +1027,7 @@ const PrivateUserSessionsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1113
1027
  fill: "currentColor"
1114
1028
  })
1115
1029
  });
1116
- //#endregion
1117
- //#region src/components/Icon/icons/ProjectIcon.tsx
1030
+ // src/components/Icon/icons/ProjectIcon.tsx
1118
1031
  const ProjectIcon = (props) => /* @__PURE__ */ jsx("svg", {
1119
1032
  ...props,
1120
1033
  children: /* @__PURE__ */ jsx("path", {
@@ -1122,8 +1035,7 @@ const ProjectIcon = (props) => /* @__PURE__ */ jsx("svg", {
1122
1035
  fill: "currentColor"
1123
1036
  })
1124
1037
  });
1125
- //#endregion
1126
- //#region src/components/Icon/icons/QuestionMarkIcon.tsx
1038
+ // src/components/Icon/icons/QuestionMarkIcon.tsx
1127
1039
  const QuestionMarkIcon = (props) => /* @__PURE__ */ jsx("svg", {
1128
1040
  ...props,
1129
1041
  children: /* @__PURE__ */ jsx("path", {
@@ -1131,8 +1043,7 @@ const QuestionMarkIcon = (props) => /* @__PURE__ */ jsx("svg", {
1131
1043
  fill: "currentColor"
1132
1044
  })
1133
1045
  });
1134
- //#endregion
1135
- //#region src/components/Icon/icons/ReactIcon.tsx
1046
+ // src/components/Icon/icons/ReactIcon.tsx
1136
1047
  const ReactIcon = (props) => /* @__PURE__ */ jsx("svg", {
1137
1048
  ...props,
1138
1049
  children: /* @__PURE__ */ jsx("path", {
@@ -1142,8 +1053,7 @@ const ReactIcon = (props) => /* @__PURE__ */ jsx("svg", {
1142
1053
  fillRule: "evenodd"
1143
1054
  })
1144
1055
  });
1145
- //#endregion
1146
- //#region src/components/Icon/icons/RecordIcon.tsx
1056
+ // src/components/Icon/icons/RecordIcon.tsx
1147
1057
  const RecordIcon = (props) => /* @__PURE__ */ jsxs("svg", {
1148
1058
  ...props,
1149
1059
  children: [/* @__PURE__ */ jsx("path", {
@@ -1157,8 +1067,7 @@ const RecordIcon = (props) => /* @__PURE__ */ jsxs("svg", {
1157
1067
  stroke: "transparent"
1158
1068
  })]
1159
1069
  });
1160
- //#endregion
1161
- //#region src/components/Icon/icons/RedoIcon.tsx
1070
+ // src/components/Icon/icons/RedoIcon.tsx
1162
1071
  const RedoIcon = (props) => /* @__PURE__ */ jsx("svg", {
1163
1072
  ...props,
1164
1073
  children: /* @__PURE__ */ jsx("path", {
@@ -1166,8 +1075,7 @@ const RedoIcon = (props) => /* @__PURE__ */ jsx("svg", {
1166
1075
  fill: "currentColor"
1167
1076
  })
1168
1077
  });
1169
- //#endregion
1170
- //#region src/components/Icon/icons/RemoveFromChannelIcon.tsx
1078
+ // src/components/Icon/icons/RemoveFromChannelIcon.tsx
1171
1079
  const RemoveFromChannelIcon = (props) => /* @__PURE__ */ jsx("svg", {
1172
1080
  ...props,
1173
1081
  children: /* @__PURE__ */ jsx("path", {
@@ -1175,8 +1083,7 @@ const RemoveFromChannelIcon = (props) => /* @__PURE__ */ jsx("svg", {
1175
1083
  fill: "currentColor"
1176
1084
  })
1177
1085
  });
1178
- //#endregion
1179
- //#region src/components/Icon/icons/ReplaceIcon.tsx
1086
+ // src/components/Icon/icons/ReplaceIcon.tsx
1180
1087
  const ReplaceIcon = (props) => /* @__PURE__ */ jsx("svg", {
1181
1088
  ...props,
1182
1089
  children: /* @__PURE__ */ jsx("path", {
@@ -1184,8 +1091,7 @@ const ReplaceIcon = (props) => /* @__PURE__ */ jsx("svg", {
1184
1091
  fill: "currentColor"
1185
1092
  })
1186
1093
  });
1187
- //#endregion
1188
- //#region src/components/Icon/icons/ReplyIcon.tsx
1094
+ // src/components/Icon/icons/ReplyIcon.tsx
1189
1095
  const ReplyIcon = (props) => /* @__PURE__ */ jsx("svg", {
1190
1096
  ...props,
1191
1097
  children: /* @__PURE__ */ jsx("path", {
@@ -1195,8 +1101,7 @@ const ReplyIcon = (props) => /* @__PURE__ */ jsx("svg", {
1195
1101
  fillRule: "evenodd"
1196
1102
  })
1197
1103
  });
1198
- //#endregion
1199
- //#region src/components/Icon/icons/ScissorsIcon.tsx
1104
+ // src/components/Icon/icons/ScissorsIcon.tsx
1200
1105
  const ScissorsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1201
1106
  ...props,
1202
1107
  children: /* @__PURE__ */ jsx("path", {
@@ -1204,8 +1109,7 @@ const ScissorsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1204
1109
  fill: "currentColor"
1205
1110
  })
1206
1111
  });
1207
- //#endregion
1208
- //#region src/components/Icon/icons/SearchIcon.tsx
1112
+ // src/components/Icon/icons/SearchIcon.tsx
1209
1113
  const SearchIcon = (props) => /* @__PURE__ */ jsx("svg", {
1210
1114
  ...props,
1211
1115
  children: /* @__PURE__ */ jsx("path", {
@@ -1215,8 +1119,7 @@ const SearchIcon = (props) => /* @__PURE__ */ jsx("svg", {
1215
1119
  fillRule: "evenodd"
1216
1120
  })
1217
1121
  });
1218
- //#endregion
1219
- //#region src/components/Icon/icons/SendIcon.tsx
1122
+ // src/components/Icon/icons/SendIcon.tsx
1220
1123
  const SendIcon = (props) => /* @__PURE__ */ jsx("svg", {
1221
1124
  ...props,
1222
1125
  children: /* @__PURE__ */ jsx("path", {
@@ -1224,8 +1127,7 @@ const SendIcon = (props) => /* @__PURE__ */ jsx("svg", {
1224
1127
  fill: "currentColor"
1225
1128
  })
1226
1129
  });
1227
- //#endregion
1228
- //#region src/components/Icon/icons/SettingsIcon.tsx
1130
+ // src/components/Icon/icons/SettingsIcon.tsx
1229
1131
  const SettingsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1230
1132
  ...props,
1231
1133
  children: /* @__PURE__ */ jsx("path", {
@@ -1235,8 +1137,7 @@ const SettingsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1235
1137
  fillRule: "evenodd"
1236
1138
  })
1237
1139
  });
1238
- //#endregion
1239
- //#region src/components/Icon/icons/ShareIcon.tsx
1140
+ // src/components/Icon/icons/ShareIcon.tsx
1240
1141
  const ShareIcon = (props) => /* @__PURE__ */ jsx("svg", {
1241
1142
  ...props,
1242
1143
  children: /* @__PURE__ */ jsx("path", {
@@ -1244,8 +1145,7 @@ const ShareIcon = (props) => /* @__PURE__ */ jsx("svg", {
1244
1145
  fill: "currentColor"
1245
1146
  })
1246
1147
  });
1247
- //#endregion
1248
- //#region src/components/Icon/icons/SoapboxIcon.tsx
1148
+ // src/components/Icon/icons/SoapboxIcon.tsx
1249
1149
  const SoapboxIcon = (props) => /* @__PURE__ */ jsx("svg", {
1250
1150
  ...props,
1251
1151
  children: /* @__PURE__ */ jsx("path", {
@@ -1253,8 +1153,7 @@ const SoapboxIcon = (props) => /* @__PURE__ */ jsx("svg", {
1253
1153
  fill: "currentColor"
1254
1154
  })
1255
1155
  });
1256
- //#endregion
1257
- //#region src/components/Icon/icons/SortIcon.tsx
1156
+ // src/components/Icon/icons/SortIcon.tsx
1258
1157
  const SortIcon = (props) => /* @__PURE__ */ jsx("svg", {
1259
1158
  ...props,
1260
1159
  children: /* @__PURE__ */ jsx("path", {
@@ -1264,8 +1163,7 @@ const SortIcon = (props) => /* @__PURE__ */ jsx("svg", {
1264
1163
  fillRule: "evenodd"
1265
1164
  })
1266
1165
  });
1267
- //#endregion
1268
- //#region src/components/Icon/icons/SparkleIcon.tsx
1166
+ // src/components/Icon/icons/SparkleIcon.tsx
1269
1167
  const SparkleIcon = (props) => /* @__PURE__ */ jsx("svg", {
1270
1168
  ...props,
1271
1169
  children: /* @__PURE__ */ jsx("path", {
@@ -1275,8 +1173,7 @@ const SparkleIcon = (props) => /* @__PURE__ */ jsx("svg", {
1275
1173
  fillRule: "evenodd"
1276
1174
  })
1277
1175
  });
1278
- //#endregion
1279
- //#region src/components/Icon/icons/SpinnerIcon.tsx
1176
+ // src/components/Icon/icons/SpinnerIcon.tsx
1280
1177
  const SpinnerIcon = (props) => /* @__PURE__ */ jsx("svg", {
1281
1178
  ...props,
1282
1179
  children: /* @__PURE__ */ jsx("path", {
@@ -1292,8 +1189,7 @@ const SpinnerIcon = (props) => /* @__PURE__ */ jsx("svg", {
1292
1189
  })
1293
1190
  })
1294
1191
  });
1295
- //#endregion
1296
- //#region src/components/Icon/icons/StatsIcon.tsx
1192
+ // src/components/Icon/icons/StatsIcon.tsx
1297
1193
  const StatsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1298
1194
  ...props,
1299
1195
  children: /* @__PURE__ */ jsx("path", {
@@ -1301,8 +1197,7 @@ const StatsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1301
1197
  fill: "currentColor"
1302
1198
  })
1303
1199
  });
1304
- //#endregion
1305
- //#region src/components/Icon/icons/SwitchAccountsIcon.tsx
1200
+ // src/components/Icon/icons/SwitchAccountsIcon.tsx
1306
1201
  const SwitchAccountsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1307
1202
  ...props,
1308
1203
  children: /* @__PURE__ */ jsx("path", {
@@ -1310,8 +1205,7 @@ const SwitchAccountsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1310
1205
  fill: "currentColor"
1311
1206
  })
1312
1207
  });
1313
- //#endregion
1314
- //#region src/components/Icon/icons/TagIcon.tsx
1208
+ // src/components/Icon/icons/TagIcon.tsx
1315
1209
  const TagIcon = (props) => /* @__PURE__ */ jsx("svg", {
1316
1210
  ...props,
1317
1211
  children: /* @__PURE__ */ jsx("path", {
@@ -1319,8 +1213,7 @@ const TagIcon = (props) => /* @__PURE__ */ jsx("svg", {
1319
1213
  fill: "currentColor"
1320
1214
  })
1321
1215
  });
1322
- //#endregion
1323
- //#region src/components/Icon/icons/TeamIcon.tsx
1216
+ // src/components/Icon/icons/TeamIcon.tsx
1324
1217
  const TeamIcon = (props) => /* @__PURE__ */ jsx("svg", {
1325
1218
  ...props,
1326
1219
  children: /* @__PURE__ */ jsx("path", {
@@ -1330,8 +1223,7 @@ const TeamIcon = (props) => /* @__PURE__ */ jsx("svg", {
1330
1223
  fillRule: "evenodd"
1331
1224
  })
1332
1225
  });
1333
- //#endregion
1334
- //#region src/components/Icon/icons/ThumbsDownIcon.tsx
1226
+ // src/components/Icon/icons/ThumbsDownIcon.tsx
1335
1227
  const ThumbsDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
1336
1228
  ...props,
1337
1229
  children: /* @__PURE__ */ jsx("path", {
@@ -1339,8 +1231,7 @@ const ThumbsDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
1339
1231
  fill: "currentColor"
1340
1232
  })
1341
1233
  });
1342
- //#endregion
1343
- //#region src/components/Icon/icons/ThumbsUpIcon.tsx
1234
+ // src/components/Icon/icons/ThumbsUpIcon.tsx
1344
1235
  const ThumbsUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
1345
1236
  ...props,
1346
1237
  children: /* @__PURE__ */ jsx("path", {
@@ -1348,8 +1239,7 @@ const ThumbsUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
1348
1239
  fill: "currentColor"
1349
1240
  })
1350
1241
  });
1351
- //#endregion
1352
- //#region src/components/Icon/icons/TriangleIcon.tsx
1242
+ // src/components/Icon/icons/TriangleIcon.tsx
1353
1243
  const TriangleIcon = (props) => /* @__PURE__ */ jsx("svg", {
1354
1244
  ...props,
1355
1245
  children: /* @__PURE__ */ jsx("path", {
@@ -1357,8 +1247,7 @@ const TriangleIcon = (props) => /* @__PURE__ */ jsx("svg", {
1357
1247
  fill: "currentColor"
1358
1248
  })
1359
1249
  });
1360
- //#endregion
1361
- //#region src/components/Icon/icons/UndoIcon.tsx
1250
+ // src/components/Icon/icons/UndoIcon.tsx
1362
1251
  const UndoIcon = (props) => /* @__PURE__ */ jsx("svg", {
1363
1252
  ...props,
1364
1253
  children: /* @__PURE__ */ jsx("path", {
@@ -1366,8 +1255,7 @@ const UndoIcon = (props) => /* @__PURE__ */ jsx("svg", {
1366
1255
  fill: "currentColor"
1367
1256
  })
1368
1257
  });
1369
- //#endregion
1370
- //#region src/components/Icon/icons/UnlockIcon.tsx
1258
+ // src/components/Icon/icons/UnlockIcon.tsx
1371
1259
  const UnlockIcon = (props) => /* @__PURE__ */ jsx("svg", {
1372
1260
  ...props,
1373
1261
  children: /* @__PURE__ */ jsx("path", {
@@ -1377,8 +1265,7 @@ const UnlockIcon = (props) => /* @__PURE__ */ jsx("svg", {
1377
1265
  fillRule: "evenodd"
1378
1266
  })
1379
1267
  });
1380
- //#endregion
1381
- //#region src/components/Icon/icons/UploadIcon.tsx
1268
+ // src/components/Icon/icons/UploadIcon.tsx
1382
1269
  const UploadIcon = (props) => /* @__PURE__ */ jsx("svg", {
1383
1270
  ...props,
1384
1271
  children: /* @__PURE__ */ jsx("path", {
@@ -1386,8 +1273,7 @@ const UploadIcon = (props) => /* @__PURE__ */ jsx("svg", {
1386
1273
  fill: "currentColor"
1387
1274
  })
1388
1275
  });
1389
- //#endregion
1390
- //#region src/components/Icon/icons/UsersPermissionsIcon.tsx
1276
+ // src/components/Icon/icons/UsersPermissionsIcon.tsx
1391
1277
  const UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1392
1278
  ...props,
1393
1279
  children: /* @__PURE__ */ jsx("path", {
@@ -1395,8 +1281,7 @@ const UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx("svg", {
1395
1281
  fill: "currentColor"
1396
1282
  })
1397
1283
  });
1398
- //#endregion
1399
- //#region src/components/Icon/icons/ViewStreamIcon.tsx
1284
+ // src/components/Icon/icons/ViewStreamIcon.tsx
1400
1285
  const ViewStreamIcon = (props) => /* @__PURE__ */ jsx("svg", {
1401
1286
  ...props,
1402
1287
  children: /* @__PURE__ */ jsx("path", {
@@ -1404,8 +1289,7 @@ const ViewStreamIcon = (props) => /* @__PURE__ */ jsx("svg", {
1404
1289
  fill: "currentColor"
1405
1290
  })
1406
1291
  });
1407
- //#endregion
1408
- //#region src/components/Icon/icons/WandIcon.tsx
1292
+ // src/components/Icon/icons/WandIcon.tsx
1409
1293
  const WandIcon = (props) => /* @__PURE__ */ jsx("svg", {
1410
1294
  ...props,
1411
1295
  children: /* @__PURE__ */ jsx("path", {
@@ -1413,8 +1297,7 @@ const WandIcon = (props) => /* @__PURE__ */ jsx("svg", {
1413
1297
  fill: "currentColor"
1414
1298
  })
1415
1299
  });
1416
- //#endregion
1417
- //#region src/components/Icon/icons/ZoomInIcon.tsx
1300
+ // src/components/Icon/icons/ZoomInIcon.tsx
1418
1301
  const ZoomInIcon = (props) => /* @__PURE__ */ jsx("svg", {
1419
1302
  ...props,
1420
1303
  children: /* @__PURE__ */ jsx("path", {
@@ -1423,8 +1306,7 @@ const ZoomInIcon = (props) => /* @__PURE__ */ jsx("svg", {
1423
1306
  fillRule: "evenodd"
1424
1307
  })
1425
1308
  });
1426
- //#endregion
1427
- //#region src/components/Icon/icons/ZoomOutIcon.tsx
1309
+ // src/components/Icon/icons/ZoomOutIcon.tsx
1428
1310
  const ZoomOutIcon = (props) => /* @__PURE__ */ jsx("svg", {
1429
1311
  ...props,
1430
1312
  children: /* @__PURE__ */ jsx("path", {
@@ -1432,8 +1314,7 @@ const ZoomOutIcon = (props) => /* @__PURE__ */ jsx("svg", {
1432
1314
  fill: "currentColor"
1433
1315
  })
1434
1316
  });
1435
- //#endregion
1436
- //#region src/components/Icon/icons/GroupRecordIcon.tsx
1317
+ // src/components/Icon/icons/GroupRecordIcon.tsx
1437
1318
  const GroupRecordIcon = (props) => /* @__PURE__ */ jsxs("svg", {
1438
1319
  ...props,
1439
1320
  children: [
@@ -1466,8 +1347,7 @@ const GroupRecordIcon = (props) => /* @__PURE__ */ jsxs("svg", {
1466
1347
  })
1467
1348
  ]
1468
1349
  });
1469
- //#endregion
1470
- //#region src/components/Icon/icons/InviteToRecordIcon.tsx
1350
+ // src/components/Icon/icons/InviteToRecordIcon.tsx
1471
1351
  const InviteToRecordIcon = (props) => /* @__PURE__ */ jsxs("svg", {
1472
1352
  ...props,
1473
1353
  children: [/* @__PURE__ */ jsxs("g", {
@@ -1496,8 +1376,7 @@ const InviteToRecordIcon = (props) => /* @__PURE__ */ jsxs("svg", {
1496
1376
  })
1497
1377
  })]
1498
1378
  });
1499
- //#endregion
1500
- //#region src/components/Icon/icons/CollectionIcon.tsx
1379
+ // src/components/Icon/icons/CollectionIcon.tsx
1501
1380
  const CollectionIcon = (props) => /* @__PURE__ */ jsx("svg", {
1502
1381
  ...props,
1503
1382
  viewBox: "0 0 16 16",
@@ -1507,8 +1386,7 @@ const CollectionIcon = (props) => /* @__PURE__ */ jsx("svg", {
1507
1386
  fill: "currentColor"
1508
1387
  })
1509
1388
  });
1510
- //#endregion
1511
- //#region src/components/Icon/icons/PlaylistIcon.tsx
1389
+ // src/components/Icon/icons/PlaylistIcon.tsx
1512
1390
  const PlaylistIcon = (props) => /* @__PURE__ */ jsx("svg", {
1513
1391
  ...props,
1514
1392
  viewBox: "0 0 16 16",
@@ -1519,8 +1397,7 @@ const PlaylistIcon = (props) => /* @__PURE__ */ jsx("svg", {
1519
1397
  id: "Vector"
1520
1398
  })
1521
1399
  });
1522
- //#endregion
1523
- //#region src/components/Icon/icons/index.ts
1400
+ // src/components/Icon/icons/index.ts
1524
1401
  var icons_exports$1 = /* @__PURE__ */ __exportAll({
1525
1402
  AbTestIcon: () => AbTestIcon,
1526
1403
  AllContentIcon: () => AllContentIcon,
@@ -1633,8 +1510,7 @@ var icons_exports$1 = /* @__PURE__ */ __exportAll({
1633
1510
  ZoomInIcon: () => ZoomInIcon,
1634
1511
  ZoomOutIcon: () => ZoomOutIcon
1635
1512
  });
1636
- //#endregion
1637
- //#region src/components/Icon/Icon.tsx
1513
+ // src/components/Icon/Icon.tsx
1638
1514
  const iconSizeMap = {
1639
1515
  sm: "12",
1640
1516
  md: "16",
@@ -1664,8 +1540,7 @@ const Icon = ({ color = "currentColor", size = "lg", style, type, ...otherProps
1664
1540
  });
1665
1541
  };
1666
1542
  Icon.displayName = "Icon_VHS";
1667
- //#endregion
1668
- //#region src/components/Button/ButtonContent.tsx
1543
+ // src/components/Button/ButtonContent.tsx
1669
1544
  const ButtonLoadingContainer = styled.span`
1670
1545
  display: flex;
1671
1546
  justify-content: ${({ $textAlign }) => {
@@ -1752,8 +1627,7 @@ const ButtonContent = ({ children, icon, iconName, iconPosition, isLoading, size
1752
1627
  }) : null]
1753
1628
  })] });
1754
1629
  };
1755
- //#endregion
1756
- //#region src/components/Button/ButtonStyledComponent.tsx
1630
+ // src/components/Button/ButtonStyledComponent.tsx
1757
1631
  const hoverDarken$1 = "0.04";
1758
1632
  const activeDarken = "0.08";
1759
1633
  const hoverTransparency = .9;
@@ -1972,8 +1846,7 @@ const buttonStyle = css`
1972
1846
  const ButtonStyledComponent = styled.button`
1973
1847
  ${({ $noStyle }) => $noStyle ? buttonResetStyle : buttonStyle}
1974
1848
  `;
1975
- //#endregion
1976
- //#region src/components/Button/getButtonColor.ts
1849
+ // src/components/Button/getButtonColor.ts
1977
1850
  const getButtonColor = (colorOverride, variant, allThemeColors) => {
1978
1851
  if (isNonEmptyString(colorOverride)) return colorOverride;
1979
1852
  if (variant === "primary") return allThemeColors.brandBlue500;
@@ -1982,8 +1855,7 @@ const getButtonColor = (colorOverride, variant, allThemeColors) => {
1982
1855
  if (variant === "dangerous") return allThemeColors.red600;
1983
1856
  return allThemeColors.brandBlue500;
1984
1857
  };
1985
- //#endregion
1986
- //#region src/components/Button/Button.tsx
1858
+ // src/components/Button/Button.tsx
1987
1859
  const Button = forwardRef(({ children, disabled = false, forceState, colorOverride, fullWidth = false, icon, iconName, iconPosition = "start", label, labelWrap = false, isLoading = false, noStyle = false, onClick, size = "lg", square = false, textAlign = "center", type = "button", variant = "primary", ...otherProps }, ref) => {
1988
1860
  const isAriaDisabled = () => isLoading || disabled;
1989
1861
  const handleClick = (event) => {
@@ -2029,14 +1901,12 @@ const Button = forwardRef(({ children, disabled = false, forceState, colorOverri
2029
1901
  });
2030
1902
  });
2031
1903
  Button.displayName = "Button_VHS";
2032
- //#endregion
2033
- //#region src/private/helpers/isClient/isClient.ts
1904
+ // src/private/helpers/isClient/isClient.ts
2034
1905
  /**
2035
1906
  * @returns {boolean} - whether running in a browser environment
2036
1907
  */
2037
1908
  const isClient = () => typeof window !== "undefined" && typeof document !== "undefined";
2038
- //#endregion
2039
- //#region src/private/hooks/useWindowSize/useWindowSize.ts
1909
+ // src/private/hooks/useWindowSize/useWindowSize.ts
2040
1910
  const useWindowSize = (interval = 0) => {
2041
1911
  const [dimensions, setDimensions] = useState({
2042
1912
  width: isClient() ? window.innerWidth : 0,
@@ -2060,8 +1930,7 @@ const useWindowSize = (interval = 0) => {
2060
1930
  }, [interval]);
2061
1931
  return dimensions;
2062
1932
  };
2063
- //#endregion
2064
- //#region src/private/hooks/useMq/useMq.ts
1933
+ // src/private/hooks/useMq/useMq.ts
2065
1934
  const REM_SIZE = 16;
2066
1935
  const useMq = () => {
2067
1936
  const viewportWidth = useWindowSize().width / REM_SIZE;
@@ -2079,8 +1948,7 @@ const useMq = () => {
2079
1948
  isXlAndDown: true
2080
1949
  };
2081
1950
  };
2082
- //#endregion
2083
- //#region src/components/Toast/ToastAnimation.tsx
1951
+ // src/components/Toast/ToastAnimation.tsx
2084
1952
  const toastPositionOffset = 24;
2085
1953
  const toastPositionStyles = {
2086
1954
  bottom: toastPositionOffset,
@@ -2121,8 +1989,7 @@ const ToastAnimation = ({ children, in: inProp, renderInPlace }) => {
2121
1989
  children
2122
1990
  }) : null });
2123
1991
  };
2124
- //#endregion
2125
- //#region src/components/Toast/Toast.tsx
1992
+ // src/components/Toast/Toast.tsx
2126
1993
  const toastVariants = [
2127
1994
  "success",
2128
1995
  "warning",
@@ -2229,11 +2096,9 @@ const Toast = memo(({ actionInterceptor, actionLabel = defaultActionLabel, color
2229
2096
  }) });
2230
2097
  });
2231
2098
  Toast.displayName = "Toast_VHS";
2232
- //#endregion
2233
- //#region src/components/Toast/ToastContext.tsx
2099
+ // src/components/Toast/ToastContext.tsx
2234
2100
  const ToastContext = createContext(null);
2235
- //#endregion
2236
- //#region src/components/Toast/ToastProvider.tsx
2101
+ // src/components/Toast/ToastProvider.tsx
2237
2102
  const ToastProvider = ({ children }) => {
2238
2103
  const [toastActionInterceptor, setToastActionInterceptor] = useState(void 0);
2239
2104
  const [toastActionLabel, setToastActionLabel] = useState("");
@@ -2269,8 +2134,7 @@ const ToastProvider = ({ children }) => {
2269
2134
  /* @__PURE__ */ jsx("div", { id: "toast-portal" })
2270
2135
  ] });
2271
2136
  };
2272
- //#endregion
2273
- //#region src/css/baseline.tsx
2137
+ // src/css/baseline.tsx
2274
2138
  const baseline = css`
2275
2139
  /**
2276
2140
  * 1. Change from 'content-box' so that 'width' calculations are unaffected by 'padding' or 'border'
@@ -2306,8 +2170,7 @@ const baseline = css`
2306
2170
  min-height: 100vh; /* 3 */
2307
2171
  }
2308
2172
  `;
2309
- //#endregion
2310
- //#region src/css/normalize.tsx
2173
+ // src/css/normalize.tsx
2311
2174
  const normalize = css`
2312
2175
  /* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2313
2176
 
@@ -2665,14 +2528,12 @@ const normalize = css`
2665
2528
  display: none;
2666
2529
  }
2667
2530
  `;
2668
- //#endregion
2669
- //#region src/css/GlobalStyle.tsx
2531
+ // src/css/GlobalStyle.tsx
2670
2532
  const GlobalStyle$1 = createGlobalStyle`
2671
2533
  ${normalize}
2672
2534
  ${baseline}
2673
2535
  `;
2674
- //#endregion
2675
- //#region src/private/helpers/objectHelpers/isObject.ts
2536
+ // src/private/helpers/objectHelpers/isObject.ts
2676
2537
  /**
2677
2538
  * Determines if a given value is an object
2678
2539
  *
@@ -2680,8 +2541,7 @@ const GlobalStyle$1 = createGlobalStyle`
2680
2541
  * @returns {boolean} - whether value is an object
2681
2542
  */
2682
2543
  const isObject = (value) => value !== null && value !== void 0 && (Object.getPrototypeOf(value) === null || value.constructor === Object);
2683
- //#endregion
2684
- //#region src/private/helpers/objectHelpers/merge.ts
2544
+ // src/private/helpers/objectHelpers/merge.ts
2685
2545
  /**
2686
2546
  * Merges two or more objects
2687
2547
  *
@@ -2702,8 +2562,7 @@ const merge = (target, ...sources) => {
2702
2562
  });
2703
2563
  return output;
2704
2564
  };
2705
- //#endregion
2706
- //#region src/theme.ts
2565
+ // src/theme.ts
2707
2566
  const zIndex1 = 100;
2708
2567
  const zIndex2 = 200;
2709
2568
  const zIndex3 = 300;
@@ -2748,8 +2607,7 @@ const theme = {
2748
2607
  elevation2: designTokens.shadow.elevation2
2749
2608
  }
2750
2609
  };
2751
- //#endregion
2752
- //#region src/providers/VHSThemeProvider.tsx
2610
+ // src/providers/VHSThemeProvider.tsx
2753
2611
  const VHSThemeProvider = ({ children, theme: overrideTheme }) => {
2754
2612
  const theme$1 = merge(theme, overrideTheme);
2755
2613
  return /* @__PURE__ */ jsx(ThemeProvider, {
@@ -2757,13 +2615,11 @@ const VHSThemeProvider = ({ children, theme: overrideTheme }) => {
2757
2615
  children
2758
2616
  });
2759
2617
  };
2760
- //#endregion
2761
- //#region src/providers/WrapperProvider.tsx
2618
+ // src/providers/WrapperProvider.tsx
2762
2619
  const WrapperContext = createContext({});
2763
2620
  const useWrappers = () => useContext(WrapperContext);
2764
2621
  const WrapperProvider = WrapperContext.Provider;
2765
- //#endregion
2766
- //#region src/providers/VHSProvider.tsx
2622
+ // src/providers/VHSProvider.tsx
2767
2623
  const DEFAULT_THEME = {};
2768
2624
  const VHSProvider = ({ children, theme = DEFAULT_THEME, globalStylesIncluded = true, skipAnimations = false, Link }) => {
2769
2625
  return /* @__PURE__ */ jsxs(VHSThemeProvider, {
@@ -2777,8 +2633,7 @@ const VHSProvider = ({ children, theme = DEFAULT_THEME, globalStylesIncluded = t
2777
2633
  }) })]
2778
2634
  });
2779
2635
  };
2780
- //#endregion
2781
- //#region src/components/Truncate/Truncate.tsx
2636
+ // src/components/Truncate/Truncate.tsx
2782
2637
  const Truncate = ({ children, maxChars, terminator = "...", breakOnWords = false }) => {
2783
2638
  if (isNil(children)) return null;
2784
2639
  const canBeTruncated = children.length + terminator.length >= maxChars;
@@ -2792,8 +2647,7 @@ const Truncate = ({ children, maxChars, terminator = "...", breakOnWords = false
2792
2647
  return /* @__PURE__ */ jsx(Fragment$1, { children: truncatedChild });
2793
2648
  };
2794
2649
  Truncate.displayName = "Truncate_VHS";
2795
- //#endregion
2796
- //#region src/components/Tooltip/TooltipContent.tsx
2650
+ // src/components/Tooltip/TooltipContent.tsx
2797
2651
  const ARROW_SIZE = 8;
2798
2652
  const StyledTooltipLabel = styled.div`
2799
2653
  color: ${({ $fontColorOverride }) => $fontColorOverride ?? "white"};
@@ -2917,8 +2771,7 @@ const TooltipContent = ({ id, active, direction, children, forceState, shouldWra
2917
2771
  })
2918
2772
  });
2919
2773
  };
2920
- //#endregion
2921
- //#region src/components/Tooltip/Tooltip.tsx
2774
+ // src/components/Tooltip/Tooltip.tsx
2922
2775
  const TooltipWrapper$1 = styled.div`
2923
2776
  display: inline-block;
2924
2777
  position: relative;
@@ -3003,8 +2856,7 @@ const Tooltip = ({ label, direction = "top", duration = 2e3, eventType = "hover"
3003
2856
  });
3004
2857
  };
3005
2858
  Tooltip.displayName = "Tooltip_VHS";
3006
- //#endregion
3007
- //#region src/components/IconButton/IconButton.tsx
2859
+ // src/components/IconButton/IconButton.tsx
3008
2860
  const smSizeStyle = css`
3009
2861
  max-height: 16px;
3010
2862
  max-width: 16px;
@@ -3131,8 +2983,7 @@ const IconButton = forwardRef(({ colorOverride, componentStyle = "dark", disable
3131
2983
  });
3132
2984
  });
3133
2985
  IconButton.displayName = "IconButton_VHS";
3134
- //#endregion
3135
- //#region src/private/components/ModalCloseButton/ModalCloseButton.tsx
2986
+ // src/private/components/ModalCloseButton/ModalCloseButton.tsx
3136
2987
  const ModalCloseButton$1 = ({ onClick, closeIconColorOverride }) => /* @__PURE__ */ jsx(IconButton, {
3137
2988
  "aria-label": "Close",
3138
2989
  colorOverride: closeIconColorOverride,
@@ -3150,8 +3001,7 @@ const ModalCloseButton$1 = ({ onClick, closeIconColorOverride }) => /* @__PURE__
3150
3001
  }
3151
3002
  });
3152
3003
  ModalCloseButton$1.displayName = "ModalCloseButton_VHS";
3153
- //#endregion
3154
- //#region src/private/helpers/mq/mq.ts
3004
+ // src/private/helpers/mq/mq.ts
3155
3005
  const getMaxWidth = (breakpoint) => {
3156
3006
  const breakpointBuffer = .0025;
3157
3007
  const [value, unit] = getValueAndUnit(breakpoint);
@@ -3179,8 +3029,7 @@ const mq = {
3179
3029
  lgAndDown,
3180
3030
  xlAndDown
3181
3031
  };
3182
- //#endregion
3183
- //#region src/components/Backdrop/Backdrop.tsx
3032
+ // src/components/Backdrop/Backdrop.tsx
3184
3033
  const alignVerticalMap = {
3185
3034
  normal: "normal",
3186
3035
  top: "start",
@@ -3215,8 +3064,7 @@ const Backdrop = ({ alignHorizontal = "normal", alignVertical = "normal", backgr
3215
3064
  children
3216
3065
  });
3217
3066
  Backdrop.displayName = "Backdrop_VHS";
3218
- //#endregion
3219
- //#region src/components/ButtonGroup/ButtonGroup.tsx
3067
+ // src/components/ButtonGroup/ButtonGroup.tsx
3220
3068
  const getAlignment = (align) => {
3221
3069
  if (align === "center") return "center";
3222
3070
  if (align === "left") return "flex-start";
@@ -3256,8 +3104,7 @@ const ButtonGroup = ({ children, align = "left", fullWidth = false, ...otherProp
3256
3104
  });
3257
3105
  };
3258
3106
  ButtonGroup.displayName = "ButtonGroup_VHS";
3259
- //#endregion
3260
- //#region src/private/components/ModalAnimation/ModalAnimation.tsx
3107
+ // src/private/components/ModalAnimation/ModalAnimation.tsx
3261
3108
  const TRANSITION_TIME$1 = 100;
3262
3109
  const ModalAnimation = ({ children }) => {
3263
3110
  const kids = Children.map(children, (child) => child)?.filter(Boolean);
@@ -3270,8 +3117,7 @@ const ModalAnimation = ({ children }) => {
3270
3117
  children: child
3271
3118
  }, child.key)) : null });
3272
3119
  };
3273
- //#endregion
3274
- //#region src/private/hooks/usePreviousValue/usePreviousValue.ts
3120
+ // src/private/hooks/usePreviousValue/usePreviousValue.ts
3275
3121
  const usePreviousValue = (value) => {
3276
3122
  const ref = useRef(void 0);
3277
3123
  useEffect(() => {
@@ -3279,8 +3125,7 @@ const usePreviousValue = (value) => {
3279
3125
  });
3280
3126
  return ref.current;
3281
3127
  };
3282
- //#endregion
3283
- //#region src/components/ModalBase/ModalBase.tsx
3128
+ // src/components/ModalBase/ModalBase.tsx
3284
3129
  const LOCKED_SCROLL_CLASSNAME = "is-scroll-locked";
3285
3130
  const GlobalStyle = createGlobalStyle`
3286
3131
  .${LOCKED_SCROLL_CLASSNAME} {
@@ -3410,8 +3255,7 @@ const ModalBase = (props) => {
3410
3255
  return /* @__PURE__ */ jsx(ModalProvider, { children: /* @__PURE__ */ jsx(ModalBaseContent, { ...props }) });
3411
3256
  };
3412
3257
  ModalBase.displayName = "ModalBase_VHS";
3413
- //#endregion
3414
- //#region src/components/Ellipsis/Ellipsis.tsx
3258
+ // src/components/Ellipsis/Ellipsis.tsx
3415
3259
  const ellipsisStyle = css`
3416
3260
  overflow: hidden;
3417
3261
  text-overflow: ellipsis;
@@ -3455,8 +3299,7 @@ const Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */ jsx(Ell
3455
3299
  children
3456
3300
  });
3457
3301
  Ellipsis.displayName = "Ellipsis_VHS";
3458
- //#endregion
3459
- //#region src/components/Text/Text.tsx
3302
+ // src/components/Text/Text.tsx
3460
3303
  const alignMap = {
3461
3304
  left: "left",
3462
3305
  right: "right",
@@ -3565,8 +3408,7 @@ const Text = forwardRef(({ align = "left", bold = false, children, colorOverride
3565
3408
  children
3566
3409
  }));
3567
3410
  Text.displayName = "Text_VHS";
3568
- //#endregion
3569
- //#region src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
3411
+ // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
3570
3412
  const gradients = {
3571
3413
  defaultDarkOne: css`
3572
3414
  background-color: #222d66;
@@ -3701,8 +3543,7 @@ Object.keys(gradients);
3701
3543
  const getBackgroundGradient = (gradientName) => {
3702
3544
  return isNotNil(gradientName) ? gradients[gradientName] : gradients.defaultDarkOne;
3703
3545
  };
3704
- //#endregion
3705
- //#region src/components/ActionModal/getModalBackgroundGradient.ts
3546
+ // src/components/ActionModal/getModalBackgroundGradient.ts
3706
3547
  const getModalBackgroundGradient = (illustrationBackgroundColor) => {
3707
3548
  switch (illustrationBackgroundColor) {
3708
3549
  case "green": return getBackgroundGradient("green");
@@ -3716,8 +3557,7 @@ const getModalBackgroundGradient = (illustrationBackgroundColor) => {
3716
3557
  `;
3717
3558
  }
3718
3559
  };
3719
- //#endregion
3720
- //#region src/components/ActionModal/ActionModal.tsx
3560
+ // src/components/ActionModal/ActionModal.tsx
3721
3561
  const defaultWidth = "532px";
3722
3562
  const illustrationDiameter = 160;
3723
3563
  const Dialogue = styled.div`
@@ -3860,8 +3700,7 @@ const ActionModal = ({ alignHorizontal = "center", alignVertical = "center", but
3860
3700
  });
3861
3701
  };
3862
3702
  ActionModal.displayName = "ActionModal_VHS";
3863
- //#endregion
3864
- //#region src/components/Avatar/formatInitialsForDisplay.tsx
3703
+ // src/components/Avatar/formatInitialsForDisplay.tsx
3865
3704
  const containsEmojiCharacter = (char) => {
3866
3705
  return /<a?:.+?:\d{18}>|\p{Extended_Pictographic}/gu.test(char);
3867
3706
  };
@@ -3870,8 +3709,7 @@ const formatInitialsForDisplay = (initials) => {
3870
3709
  if (typeof initials !== "string") return "U";
3871
3710
  return initials.slice(0, 1).toUpperCase();
3872
3711
  };
3873
- //#endregion
3874
- //#region src/components/Avatar/generateContactAvatarColors.tsx
3712
+ // src/components/Avatar/generateContactAvatarColors.tsx
3875
3713
  const colorVariants = {
3876
3714
  blue: [
3877
3715
  "blue600",
@@ -3917,8 +3755,7 @@ const generateContactAvatarColors = ({ seed, themeColors }) => {
3917
3755
  const colorVariantsKeyFromIndex = colorVariantKeys[index];
3918
3756
  return colorVariants[colorVariantsKeyFromIndex].map((themeColorToken) => themeColors[themeColorToken]).filter((color) => color !== void 0);
3919
3757
  };
3920
- //#endregion
3921
- //#region src/components/Avatar/Avatar.tsx
3758
+ // src/components/Avatar/Avatar.tsx
3922
3759
  const AvatarImage = styled.img`
3923
3760
  align-items: center;
3924
3761
  background-color: white;
@@ -4006,8 +3843,7 @@ const Avatar = ({ imageUrl, heightAndWidth = 24, initials, name, onImageLoad, ..
4006
3843
  });
4007
3844
  };
4008
3845
  Avatar.displayName = "Avatar_VHS";
4009
- //#endregion
4010
- //#region src/components/BackgroundImage/BackgroundImage.tsx
3846
+ // src/components/BackgroundImage/BackgroundImage.tsx
4011
3847
  const shouldWrap = (src) => {
4012
3848
  return ![
4013
3849
  "cross-fade",
@@ -4074,8 +3910,7 @@ const BackgroundImage = ({ children, attachment: bgAttachment = "scroll", clip:
4074
3910
  children
4075
3911
  });
4076
3912
  BackgroundImage.displayName = "BackgroundImage_VHS";
4077
- //#endregion
4078
- //#region src/components/Badge/getBadgeColors.ts
3913
+ // src/components/Badge/getBadgeColors.ts
4079
3914
  const getBadgeColors = (badgeColor, allThemeColors) => {
4080
3915
  switch (badgeColor) {
4081
3916
  case "error": return {
@@ -4124,8 +3959,7 @@ const getBadgeColors = (badgeColor, allThemeColors) => {
4124
3959
  };
4125
3960
  }
4126
3961
  };
4127
- //#endregion
4128
- //#region src/components/Badge/Badge.tsx
3962
+ // src/components/Badge/Badge.tsx
4129
3963
  const BadgeComponent = styled.div`
4130
3964
  align-items: center;
4131
3965
  background: ${({ $backgroundColor }) => $backgroundColor};
@@ -4154,8 +3988,7 @@ const Badge = ({ colorScheme = "brandBlue", label, icon, ...otherProps }) => {
4154
3988
  });
4155
3989
  };
4156
3990
  Badge.displayName = "Badge_VHS";
4157
- //#endregion
4158
- //#region src/components/Banner/BannerChildComponents.tsx
3991
+ // src/components/Banner/BannerChildComponents.tsx
4159
3992
  const BodyComponent = styled.div`
4160
3993
  color: ${({ theme }) => theme.color.grey900};
4161
3994
  flex: 1;
@@ -4210,8 +4043,7 @@ const RightGutter = ({ verticalAlign, children }) => /* @__PURE__ */ jsx(RightGu
4210
4043
  $verticalAlign: verticalAlign,
4211
4044
  children
4212
4045
  });
4213
- //#endregion
4214
- //#region src/components/Banner/Banner.tsx
4046
+ // src/components/Banner/Banner.tsx
4215
4047
  const BannerComponent = styled.div`
4216
4048
  background: ${({ theme, backgroundColor }) => backgroundColor ?? theme.color.grey200};
4217
4049
  border-radius: 8px;
@@ -4247,8 +4079,7 @@ Banner.Body = Body;
4247
4079
  Banner.RightGutter = RightGutter;
4248
4080
  Banner.Title = Title;
4249
4081
  Banner.displayName = "Banner_VHS";
4250
- //#endregion
4251
- //#region src/components/Box/Box.tsx
4082
+ // src/components/Box/Box.tsx
4252
4083
  const ALIGN_CONTENT_MAP = {
4253
4084
  around: "space-around",
4254
4085
  between: "space-between",
@@ -4343,8 +4174,7 @@ const Box = forwardRef(({ alignContent = "stretch", alignItems = "start", alignS
4343
4174
  });
4344
4175
  });
4345
4176
  Box.displayName = "Box_VHS";
4346
- //#endregion
4347
- //#region src/components/Link/linkStyle.tsx
4177
+ // src/components/Link/linkStyle.tsx
4348
4178
  const HOVER_DARKEN = .08;
4349
4179
  const primaryHoverStyle = css`
4350
4180
  color: ${({ theme }) => darken(HOVER_DARKEN, theme.color.brandBlue500)};
@@ -4427,8 +4257,7 @@ const unstyledLinkStyle = css`
4427
4257
  text-decoration: underline;
4428
4258
  ${({ $underlineOnHover }) => $underlineOnHover && underlineOnHoverStyle}
4429
4259
  `;
4430
- //#endregion
4431
- //#region src/components/Link/Link.tsx
4260
+ // src/components/Link/Link.tsx
4432
4261
  const LinkComponent = styled.a`
4433
4262
  ${linkStyle}
4434
4263
  `;
@@ -4500,8 +4329,7 @@ const Link = forwardRef(({ href, beforeAction, children, disabled = false, force
4500
4329
  return component;
4501
4330
  });
4502
4331
  Link.displayName = "Link_VHS";
4503
- //#endregion
4504
- //#region src/components/ButtonLink/ButtonLink.tsx
4332
+ // src/components/ButtonLink/ButtonLink.tsx
4505
4333
  const StyledButtonLink = styled(Link)`
4506
4334
  ${buttonStyle};
4507
4335
 
@@ -4562,8 +4390,7 @@ const ButtonLink = forwardRef(({ beforeAction, children, colorOverride, disabled
4562
4390
  });
4563
4391
  });
4564
4392
  ButtonLink.displayName = "ButtonLink_VHS";
4565
- //#endregion
4566
- //#region src/components/Checkbox/OptionStyledComponent.tsx
4393
+ // src/components/Checkbox/OptionStyledComponent.tsx
4567
4394
  const OptionWrapper = styled.input`
4568
4395
  align-self: flex-start;
4569
4396
  border-radius: 3px;
@@ -4637,8 +4464,7 @@ const Container = styled.label`
4637
4464
  ${({ $forceState, $hasError }) => $forceState === "focus" && $hasError && errorFocusedStyle};
4638
4465
  ${({ $forceState, $hasError }) => $forceState === "hover" && $hasError && errorHoverStyle};
4639
4466
  `;
4640
- //#endregion
4641
- //#region src/components/Checkbox/Checkbox.tsx
4467
+ // src/components/Checkbox/Checkbox.tsx
4642
4468
  const Checkbox = forwardRef(({ checked, direction = "column", disabled = false, forceState, hasError = false, id = "default", label = "default", labelDescription, name, onChange, required = false, value = "false", ...otherProps }, ref) => {
4643
4469
  const [focused, setFocused] = useState(false);
4644
4470
  return /* @__PURE__ */ jsxs(Container, {
@@ -4670,8 +4496,7 @@ const Checkbox = forwardRef(({ checked, direction = "column", disabled = false,
4670
4496
  });
4671
4497
  });
4672
4498
  Checkbox.displayName = "Checkbox_VHS";
4673
- //#endregion
4674
- //#region src/components/FormFieldError/FormFieldError.tsx
4499
+ // src/components/FormFieldError/FormFieldError.tsx
4675
4500
  const FieldError = styled.div`
4676
4501
  align-items: center;
4677
4502
  border-left: 4px solid ${({ theme }) => theme.color.error500};
@@ -4689,8 +4514,7 @@ const FormFieldError = ({ children, ...otherProps }) => {
4689
4514
  });
4690
4515
  };
4691
4516
  FormFieldError.displayName = "FormFieldError_VHS";
4692
- //#endregion
4693
- //#region src/components/Label/Label.tsx
4517
+ // src/components/Label/Label.tsx
4694
4518
  const requiredStyle = css`
4695
4519
  &::after {
4696
4520
  color: red;
@@ -4736,8 +4560,7 @@ const Label = ({ renderAs = "label", children, disabled = false, htmlFor, requir
4736
4560
  children
4737
4561
  });
4738
4562
  Label.displayName = "Label_VHS";
4739
- //#endregion
4740
- //#region src/components/LabelDescription/LabelDescription.tsx
4563
+ // src/components/LabelDescription/LabelDescription.tsx
4741
4564
  const disabledStyle$2 = css`
4742
4565
  color: ${({ theme }) => theme.color.grey500};
4743
4566
  `;
@@ -4754,8 +4577,7 @@ const LabelDescription = ({ children, disabled = false, ...otherProps }) => /* @
4754
4577
  children
4755
4578
  });
4756
4579
  LabelDescription.displayName = "LabelDescription_VHS";
4757
- //#endregion
4758
- //#region src/private/components/FormFieldWrapper/FormFieldWrapper.tsx
4580
+ // src/private/components/FormFieldWrapper/FormFieldWrapper.tsx
4759
4581
  const StyledFormFieldWrapper = styled.div`
4760
4582
  width: 100%;
4761
4583
  `;
@@ -4791,8 +4613,7 @@ const FormFieldWrapper = ({ disabled = false, error = null, label = null, labelD
4791
4613
  });
4792
4614
  };
4793
4615
  FormFieldWrapper.displayName = "FormFieldWrapper_VHS";
4794
- //#endregion
4795
- //#region src/components/CheckboxGroup/CheckboxGroup.tsx
4616
+ // src/components/CheckboxGroup/CheckboxGroup.tsx
4796
4617
  const StyledOptionContainer$1 = styled.div`
4797
4618
  display: flex;
4798
4619
  flex-direction: ${({ direction }) => direction === "row" ? "row" : "column"};
@@ -4824,8 +4645,7 @@ const CheckboxGroup = ({ direction = "column", disabled = false, error, label, l
4824
4645
  })
4825
4646
  });
4826
4647
  CheckboxGroup.displayName = "CheckboxGroup_VHS";
4827
- //#endregion
4828
- //#region src/components/ClickArea/ClickArea.tsx
4648
+ // src/components/ClickArea/ClickArea.tsx
4829
4649
  const ClickAreaComponent = styled.div`
4830
4650
  cursor: pointer;
4831
4651
  `;
@@ -4865,8 +4685,7 @@ const ClickArea = forwardRef(({ renderAs = "div", className, onClick, targetRef,
4865
4685
  });
4866
4686
  });
4867
4687
  ClickArea.displayName = "ClickArea_VHS";
4868
- //#endregion
4869
- //#region src/components/CloseButton/CloseIcon.tsx
4688
+ // src/components/CloseButton/CloseIcon.tsx
4870
4689
  const CloseIcon = () => /* @__PURE__ */ jsx("svg", {
4871
4690
  height: "22",
4872
4691
  preserveAspectRatio: "xMidYMid meet",
@@ -4879,8 +4698,7 @@ const CloseIcon = () => /* @__PURE__ */ jsx("svg", {
4879
4698
  fillRule: "evenodd"
4880
4699
  })
4881
4700
  });
4882
- //#endregion
4883
- //#region src/components/CloseButton/CloseButton.tsx
4701
+ // src/components/CloseButton/CloseButton.tsx
4884
4702
  const Button$1 = styled.button`
4885
4703
  align-items: center;
4886
4704
  background: none;
@@ -4914,8 +4732,7 @@ const CloseButton = ({ onClick, ...otherProps }) => /* @__PURE__ */ jsx(Button$1
4914
4732
  children: /* @__PURE__ */ jsx(CloseIcon, {})
4915
4733
  });
4916
4734
  CloseButton.displayName = "CloseButton_VHS";
4917
- //#endregion
4918
- //#region src/private/hooks/useElementObserver/useElementObserver.ts
4735
+ // src/private/hooks/useElementObserver/useElementObserver.ts
4919
4736
  const initialRect = {
4920
4737
  width: 0,
4921
4738
  height: 0,
@@ -4953,8 +4770,7 @@ const useElementObserver = () => {
4953
4770
  }, []);
4954
4771
  return [ref, rect];
4955
4772
  };
4956
- //#endregion
4957
- //#region src/components/CollapsibleGroup/CollapsibleGroup.tsx
4773
+ // src/components/CollapsibleGroup/CollapsibleGroup.tsx
4958
4774
  const DARKENING_AMOUNT = .08;
4959
4775
  const BAR_HEIGHT = 48;
4960
4776
  const BUTTON_OFFSET = 16;
@@ -5193,8 +5009,7 @@ const CollapsibleGroup = ({ actions, backgroundColor, caretDirection = DEFAULT_C
5193
5009
  });
5194
5010
  };
5195
5011
  CollapsibleGroup.displayName = "CollapsibleGroup_VHS";
5196
- //#endregion
5197
- //#region src/components/Divider/Divider.tsx
5012
+ // src/components/Divider/Divider.tsx
5198
5013
  const DividerComponent = styled.hr`
5199
5014
  background: none;
5200
5015
  border-bottom: none;
@@ -5218,8 +5033,7 @@ const Divider = ({ colorOverride, height = 1, variant = "dashed", ...otherProps
5218
5033
  });
5219
5034
  };
5220
5035
  Divider.displayName = "Divider_VHS";
5221
- //#endregion
5222
- //#region src/components/FileSelect/FileSelect.tsx
5036
+ // src/components/FileSelect/FileSelect.tsx
5223
5037
  const defaultMaximumFileSize = 26624;
5224
5038
  const FileSelectComponent = styled.label`
5225
5039
  display: inline-block;
@@ -5276,8 +5090,7 @@ const FileSelect = forwardRef(({ accept, children, disabled = false, id, maxSize
5276
5090
  });
5277
5091
  });
5278
5092
  FileSelect.displayName = "FileSelect_VHS";
5279
- //#endregion
5280
- //#region src/private/hooks/useTimeoutFunc/useTimeoutFunc.ts
5093
+ // src/private/hooks/useTimeoutFunc/useTimeoutFunc.ts
5281
5094
  const useTimeoutFunc = (func, timeout = 0) => {
5282
5095
  const readyRef = useRef(false);
5283
5096
  const timeoutRef = useRef(void 0);
@@ -5308,15 +5121,13 @@ const useTimeoutFunc = (func, timeout = 0) => {
5308
5121
  set
5309
5122
  ];
5310
5123
  };
5311
- //#endregion
5312
- //#region src/private/hooks/useDebounce/useDebounce.ts
5124
+ // src/private/hooks/useDebounce/useDebounce.ts
5313
5125
  const useDebounce = (func, timeout = 0, dependencies = []) => {
5314
5126
  const [isReady, cancel, reset] = useTimeoutFunc(func, timeout);
5315
5127
  useEffect(reset, dependencies);
5316
5128
  return [isReady, cancel];
5317
5129
  };
5318
- //#endregion
5319
- //#region src/components/FormGlobalError/FormGlobalError.tsx
5130
+ // src/components/FormGlobalError/FormGlobalError.tsx
5320
5131
  const GlobalErrorsContainer = styled.div`
5321
5132
  border-left: 4px solid;
5322
5133
  border-left-color: ${({ theme }) => theme.color.error500};
@@ -5374,11 +5185,9 @@ const FormGlobalError = forwardRef((_, ref) => {
5374
5185
  return null;
5375
5186
  });
5376
5187
  FormGlobalError.displayName = "FormGlobalError_VHS";
5377
- //#endregion
5378
- //#region src/components/Toast/useToast.ts
5188
+ // src/components/Toast/useToast.ts
5379
5189
  const useToast = () => useContext(ToastContext);
5380
- //#endregion
5381
- //#region src/components/Form/Form.tsx
5190
+ // src/components/Form/Form.tsx
5382
5191
  const didValuesChange = (newValues, oldValues) => JSON.stringify(newValues) !== JSON.stringify(oldValues);
5383
5192
  const handleInitialValues = (initialValues, validationSchema) => {
5384
5193
  const filteredInitialValues = {};
@@ -5471,8 +5280,7 @@ const Form = ({ children, className, formId, initialValues, onSubmit, scrollToFo
5471
5280
  });
5472
5281
  };
5473
5282
  Form.displayName = "Form_VHS";
5474
- //#endregion
5475
- //#region src/private/components/FormConnectorButton/FormConnectorButton.tsx
5283
+ // src/private/components/FormConnectorButton/FormConnectorButton.tsx
5476
5284
  const FormConnectorButton = ({ type = "submit", isSubmitting = false, children, disabled = false, ...props }) => {
5477
5285
  return /* @__PURE__ */ jsx(Button, {
5478
5286
  disabled: isSubmitting || disabled,
@@ -5482,8 +5290,7 @@ const FormConnectorButton = ({ type = "submit", isSubmitting = false, children,
5482
5290
  });
5483
5291
  };
5484
5292
  FormConnectorButton.displayName = "FormConnectorButton_VHS";
5485
- //#endregion
5486
- //#region src/components/FormButtons/FormButtons.tsx
5293
+ // src/components/FormButtons/FormButtons.tsx
5487
5294
  const handleMouseDown = (event) => event.preventDefault();
5488
5295
  const FormButtons = ({ buttons, align = "left", ...props }) => {
5489
5296
  const { isSubmitting } = useFormikContext$1();
@@ -5500,8 +5307,7 @@ const FormButtons = ({ buttons, align = "left", ...props }) => {
5500
5307
  });
5501
5308
  };
5502
5309
  FormButtons.displayName = "FormButtons_VHS";
5503
- //#endregion
5504
- //#region src/private/components/FormConnectorCheckboxGroup/FormConnectorCheckboxGroup.tsx
5310
+ // src/private/components/FormConnectorCheckboxGroup/FormConnectorCheckboxGroup.tsx
5505
5311
  const DEFAULT_LABEL_PROPS$6 = {};
5506
5312
  const DEFAULT_OPTIONS = [];
5507
5313
  const FormConnectorCheckboxGroup = ({ direction = "column", disabled = false, field: { name, value }, form: { errors, setFieldValue }, label, labelDescription, labelProps = DEFAULT_LABEL_PROPS$6, onChangeCustom, options = DEFAULT_OPTIONS }) => {
@@ -5538,8 +5344,7 @@ const FormConnectorCheckboxGroup = ({ direction = "column", disabled = false, fi
5538
5344
  });
5539
5345
  };
5540
5346
  FormConnectorCheckboxGroup.displayName = "FormConnectorCheckboxGroup_VHS";
5541
- //#endregion
5542
- //#region src/private/components/FormConnectorCustomField/FormConnectorCustomField.tsx
5347
+ // src/private/components/FormConnectorCustomField/FormConnectorCustomField.tsx
5543
5348
  const DEFAULT_LABEL_PROPS$5 = {};
5544
5349
  const FormConnectorCustomField = ({ customComponent: Element, field, form, label = "", labelDescription, labelProps = DEFAULT_LABEL_PROPS$5, ...otherProps }) => {
5545
5350
  const { name } = field;
@@ -5558,8 +5363,7 @@ const FormConnectorCustomField = ({ customComponent: Element, field, form, label
5558
5363
  });
5559
5364
  };
5560
5365
  FormConnectorCustomField.displayName = "FormConnectorCustomField_VHS";
5561
- //#endregion
5562
- //#region src/private/helpers/coerceToString/coerceToString.ts
5366
+ // src/private/helpers/coerceToString/coerceToString.ts
5563
5367
  /**
5564
5368
  * Coerces a value `value` into a string. If passed a null or undefined
5565
5369
  * value, returns an empty string.
@@ -5568,16 +5372,14 @@ FormConnectorCustomField.displayName = "FormConnectorCustomField_VHS";
5568
5372
  * @returns {string} - that value as a string
5569
5373
  */
5570
5374
  const coerceToString = (value) => value === null || value === void 0 ? "" : String(value);
5571
- //#endregion
5572
- //#region src/private/hooks/useMergedRefs/useMergedRefs.ts
5375
+ // src/private/hooks/useMergedRefs/useMergedRefs.ts
5573
5376
  const useMergedRefs = (refs) => (element) => {
5574
5377
  refs.forEach((ref) => {
5575
5378
  if (typeof ref === "function") ref(element);
5576
5379
  else if (ref != null) ref.current = element;
5577
5380
  });
5578
5381
  };
5579
- //#endregion
5580
- //#region src/private/helpers/copyToClipboard/copyToClipboard.ts
5382
+ // src/private/helpers/copyToClipboard/copyToClipboard.ts
5581
5383
  /**
5582
5384
  * Copies a string to user's clipboard for easy pasting in another location
5583
5385
  *
@@ -5609,8 +5411,7 @@ const copyToClipboard = async (textToCopy) => {
5609
5411
  if (success) return;
5610
5412
  throw new DOMException("The request is not allowed", "NotAllowedError");
5611
5413
  };
5612
- //#endregion
5613
- //#region src/components/Input/ClickToCopy.tsx
5414
+ // src/components/Input/ClickToCopy.tsx
5614
5415
  const clickToCopyWrapperEnabledStyles = css`
5615
5416
  input {
5616
5417
  cursor: pointer;
@@ -5705,8 +5506,7 @@ const ClickToCopy = ({ inputComponent: InputStyledComponent, inputProps, onClick
5705
5506
  children: [/* @__PURE__ */ jsx(InputStyledComponent, { ...inputComponentProps }), /* @__PURE__ */ jsx(ClickToCopyButton, { ...buttonProps })]
5706
5507
  });
5707
5508
  };
5708
- //#endregion
5709
- //#region src/components/Input/InputStyledComponent.tsx
5509
+ // src/components/Input/InputStyledComponent.tsx
5710
5510
  const focusStyle$1 = css`
5711
5511
  border-color: ${({ theme }) => theme.color.brandBlue500};
5712
5512
  outline: none;
@@ -5809,8 +5609,7 @@ const InputStyledComponent = styled.input`
5809
5609
  ${({ $hasError }) => $hasError && errorStyle$1};
5810
5610
  ${({ readOnly }) => readOnly && readOnlyStyle};
5811
5611
  `;
5812
- //#endregion
5813
- //#region src/components/Input/timePositionUtils.ts
5612
+ // src/components/Input/timePositionUtils.ts
5814
5613
  const SEC_AND_MIN_MAX = 60;
5815
5614
  const stripInvalidCharacters = (string) => string.replaceAll(/[^0-9:]/g, "");
5816
5615
  const parseNumber = (string) => string ? Number(string) : 0;
@@ -5842,8 +5641,7 @@ const timePositionFormat = (value) => {
5842
5641
  const cleanString = stripInvalidCharacters(value);
5843
5642
  return formatString(cleanString);
5844
5643
  };
5845
- //#endregion
5846
- //#region src/components/Input/Input.tsx
5644
+ // src/components/Input/Input.tsx
5847
5645
  const INPUT_TYPES_WITH_ICONS = /* @__PURE__ */ new Set(["search"]);
5848
5646
  const InputWrapper = styled.div`
5849
5647
  position: relative;
@@ -5936,8 +5734,7 @@ const Input = forwardRef(({ clickToCopy = false, disabled = false, forceState, f
5936
5734
  });
5937
5735
  });
5938
5736
  Input.displayName = "Input_VHS";
5939
- //#endregion
5940
- //#region src/private/components/FormConnectorHidden/FormConnectorHidden.tsx
5737
+ // src/private/components/FormConnectorHidden/FormConnectorHidden.tsx
5941
5738
  const DEFAULT_FORM = {};
5942
5739
  const FormConnectorHidden = ({ field: { name, value, onChange }, form: { setFieldValue } = DEFAULT_FORM, onChangeCustom, valueState = "", ...otherProps }) => {
5943
5740
  useEffect(() => {
@@ -5962,8 +5759,7 @@ const FormConnectorHidden = ({ field: { name, value, onChange }, form: { setFiel
5962
5759
  });
5963
5760
  };
5964
5761
  FormConnectorHidden.displayName = "FormConnectorHidden_VHS";
5965
- //#endregion
5966
- //#region src/private/components/FormConnectorInput/FormConnectorInput.tsx
5762
+ // src/private/components/FormConnectorInput/FormConnectorInput.tsx
5967
5763
  const TRIMMABLE_INPUTS = /* @__PURE__ */ new Set([
5968
5764
  "text",
5969
5765
  "multiline",
@@ -6002,8 +5798,7 @@ const FormConnectorInput = ({ disabled, field: { name, value, onChange, onBlur }
6002
5798
  });
6003
5799
  };
6004
5800
  FormConnectorInput.displayName = "FormConnectorInput_VHS";
6005
- //#endregion
6006
- //#region src/components/Radio/Radio.tsx
5801
+ // src/components/Radio/Radio.tsx
6007
5802
  const Radio = forwardRef(({ checked, direction = "column", disabled = false, forceState, hasError = false, id, label, labelDescription, name, onChange, value = "false", ...otherProps }, ref) => {
6008
5803
  const [focused, setFocused] = useState(false);
6009
5804
  return /* @__PURE__ */ jsxs(Container, {
@@ -6034,8 +5829,7 @@ const Radio = forwardRef(({ checked, direction = "column", disabled = false, for
6034
5829
  });
6035
5830
  });
6036
5831
  Radio.displayName = "Radio_VHS";
6037
- //#endregion
6038
- //#region src/components/RadioGroup/RadioGroup.tsx
5832
+ // src/components/RadioGroup/RadioGroup.tsx
6039
5833
  const StyledOptionContainer = styled.div`
6040
5834
  display: flex;
6041
5835
  flex-direction: ${({ direction }) => direction === "row" ? "row" : "column"};
@@ -6066,8 +5860,7 @@ const RadioGroup = ({ direction = "column", disabled = false, error, label, labe
6066
5860
  })
6067
5861
  });
6068
5862
  RadioGroup.displayName = "RadioGroup_VHS";
6069
- //#endregion
6070
- //#region src/private/components/FormConnectorRadioGroup/FormConnectorRadioGroup.tsx
5863
+ // src/private/components/FormConnectorRadioGroup/FormConnectorRadioGroup.tsx
6071
5864
  const DEFAULT_LABEL_PROPS$3 = {};
6072
5865
  const FormConnectorRadioGroup = ({ direction = "column", disabled = false, field: { name }, form: { errors, values, setFieldValue }, label = "", labelDescription, labelProps = DEFAULT_LABEL_PROPS$3, onChangeCustom, options }) => {
6073
5866
  const handleOnChange = useCallback((_event, optionValue) => {
@@ -6092,8 +5885,7 @@ const FormConnectorRadioGroup = ({ direction = "column", disabled = false, field
6092
5885
  });
6093
5886
  };
6094
5887
  FormConnectorRadioGroup.displayName = "FormConnectorRadioGroup_VHS";
6095
- //#endregion
6096
- //#region src/private/components/Icon/iconMap.ts
5888
+ // src/private/components/Icon/iconMap.ts
6097
5889
  const iconMap = {
6098
5890
  "block-quote": "BlockQuote",
6099
5891
  bold: "Bold",
@@ -6107,8 +5899,7 @@ const iconMap = {
6107
5899
  strikethrough: "Strikethrough",
6108
5900
  underline: "Underline"
6109
5901
  };
6110
- //#endregion
6111
- //#region src/private/components/Icon/icons/BlockQuote.tsx
5902
+ // src/private/components/Icon/icons/BlockQuote.tsx
6112
5903
  const BlockQuote = (props) => /* @__PURE__ */ jsx("svg", {
6113
5904
  ...props,
6114
5905
  children: /* @__PURE__ */ jsx("path", {
@@ -6116,8 +5907,7 @@ const BlockQuote = (props) => /* @__PURE__ */ jsx("svg", {
6116
5907
  fill: "currentColor"
6117
5908
  })
6118
5909
  });
6119
- //#endregion
6120
- //#region src/private/components/Icon/icons/Bold.tsx
5910
+ // src/private/components/Icon/icons/Bold.tsx
6121
5911
  const Bold = (props) => /* @__PURE__ */ jsx("svg", {
6122
5912
  ...props,
6123
5913
  children: /* @__PURE__ */ jsx("path", {
@@ -6125,8 +5915,7 @@ const Bold = (props) => /* @__PURE__ */ jsx("svg", {
6125
5915
  fill: "currentColor"
6126
5916
  })
6127
5917
  });
6128
- //#endregion
6129
- //#region src/private/components/Icon/icons/BulletedList.tsx
5918
+ // src/private/components/Icon/icons/BulletedList.tsx
6130
5919
  const BulletedList = (props) => /* @__PURE__ */ jsx("svg", {
6131
5920
  ...props,
6132
5921
  children: /* @__PURE__ */ jsx("path", {
@@ -6134,8 +5923,7 @@ const BulletedList = (props) => /* @__PURE__ */ jsx("svg", {
6134
5923
  fill: "currentColor"
6135
5924
  })
6136
5925
  });
6137
- //#endregion
6138
- //#region src/private/components/Icon/icons/Heading.tsx
5926
+ // src/private/components/Icon/icons/Heading.tsx
6139
5927
  const Heading = (props) => /* @__PURE__ */ jsx("svg", {
6140
5928
  ...props,
6141
5929
  children: /* @__PURE__ */ jsx("path", {
@@ -6143,8 +5931,7 @@ const Heading = (props) => /* @__PURE__ */ jsx("svg", {
6143
5931
  fill: "currentColor"
6144
5932
  })
6145
5933
  });
6146
- //#endregion
6147
- //#region src/private/components/Icon/icons/HeadingTwo.tsx
5934
+ // src/private/components/Icon/icons/HeadingTwo.tsx
6148
5935
  const HeadingTwo = (props) => /* @__PURE__ */ jsx("svg", {
6149
5936
  ...props,
6150
5937
  children: /* @__PURE__ */ jsx("path", {
@@ -6152,8 +5939,7 @@ const HeadingTwo = (props) => /* @__PURE__ */ jsx("svg", {
6152
5939
  fill: "currentColor"
6153
5940
  })
6154
5941
  });
6155
- //#endregion
6156
- //#region src/private/components/Icon/icons/Image.tsx
5942
+ // src/private/components/Icon/icons/Image.tsx
6157
5943
  const Image$2 = (props) => /* @__PURE__ */ jsx("svg", {
6158
5944
  ...props,
6159
5945
  children: /* @__PURE__ */ jsx("path", {
@@ -6161,8 +5947,7 @@ const Image$2 = (props) => /* @__PURE__ */ jsx("svg", {
6161
5947
  fill: "currentColor"
6162
5948
  })
6163
5949
  });
6164
- //#endregion
6165
- //#region src/private/components/Icon/icons/Italic.tsx
5950
+ // src/private/components/Icon/icons/Italic.tsx
6166
5951
  const Italic = (props) => /* @__PURE__ */ jsx("svg", {
6167
5952
  ...props,
6168
5953
  children: /* @__PURE__ */ jsx("path", {
@@ -6170,8 +5955,7 @@ const Italic = (props) => /* @__PURE__ */ jsx("svg", {
6170
5955
  fill: "currentColor"
6171
5956
  })
6172
5957
  });
6173
- //#endregion
6174
- //#region src/private/components/Icon/icons/Link.tsx
5958
+ // src/private/components/Icon/icons/Link.tsx
6175
5959
  const Link$1 = (props) => /* @__PURE__ */ jsx("svg", {
6176
5960
  ...props,
6177
5961
  children: /* @__PURE__ */ jsx("path", {
@@ -6179,8 +5963,7 @@ const Link$1 = (props) => /* @__PURE__ */ jsx("svg", {
6179
5963
  fill: "currentColor"
6180
5964
  })
6181
5965
  });
6182
- //#endregion
6183
- //#region src/private/components/Icon/icons/NumberedList.tsx
5966
+ // src/private/components/Icon/icons/NumberedList.tsx
6184
5967
  const NumberedList = (props) => /* @__PURE__ */ jsx("svg", {
6185
5968
  ...props,
6186
5969
  children: /* @__PURE__ */ jsx("path", {
@@ -6188,8 +5971,7 @@ const NumberedList = (props) => /* @__PURE__ */ jsx("svg", {
6188
5971
  fill: "currentColor"
6189
5972
  })
6190
5973
  });
6191
- //#endregion
6192
- //#region src/private/components/Icon/icons/Strikethrough.tsx
5974
+ // src/private/components/Icon/icons/Strikethrough.tsx
6193
5975
  const Strikethrough = (props) => /* @__PURE__ */ jsx("svg", {
6194
5976
  ...props,
6195
5977
  children: /* @__PURE__ */ jsx("path", {
@@ -6197,8 +5979,7 @@ const Strikethrough = (props) => /* @__PURE__ */ jsx("svg", {
6197
5979
  fill: "currentColor"
6198
5980
  })
6199
5981
  });
6200
- //#endregion
6201
- //#region src/private/components/Icon/icons/Underline.tsx
5982
+ // src/private/components/Icon/icons/Underline.tsx
6202
5983
  const Underline = (props) => /* @__PURE__ */ jsx("svg", {
6203
5984
  ...props,
6204
5985
  children: /* @__PURE__ */ jsx("path", {
@@ -6206,8 +5987,7 @@ const Underline = (props) => /* @__PURE__ */ jsx("svg", {
6206
5987
  fill: "currentColor"
6207
5988
  })
6208
5989
  });
6209
- //#endregion
6210
- //#region src/private/components/Icon/icons/index.ts
5990
+ // src/private/components/Icon/icons/index.ts
6211
5991
  var icons_exports = /* @__PURE__ */ __exportAll({
6212
5992
  BlockQuote: () => BlockQuote,
6213
5993
  Bold: () => Bold,
@@ -6221,8 +6001,7 @@ var icons_exports = /* @__PURE__ */ __exportAll({
6221
6001
  Strikethrough: () => Strikethrough,
6222
6002
  Underline: () => Underline
6223
6003
  });
6224
- //#endregion
6225
- //#region src/private/components/Icon/Icon.tsx
6004
+ // src/private/components/Icon/Icon.tsx
6226
6005
  const iconSizeMap$1 = {
6227
6006
  sm: "12",
6228
6007
  md: "16",
@@ -6252,8 +6031,7 @@ const Icon$1 = ({ color = "currentColor", size = "lg", style, type, ...otherProp
6252
6031
  });
6253
6032
  };
6254
6033
  Icon$1.displayName = "Icon_VHS";
6255
- //#endregion
6256
- //#region src/private/helpers/isUrl/isUrl.ts
6034
+ // src/private/helpers/isUrl/isUrl.ts
6257
6035
  /**
6258
6036
  * Loosely validates a URL string
6259
6037
  *
@@ -6271,8 +6049,7 @@ const isUrl = (str) => {
6271
6049
  if (remaining === void 0 || !remaining) return false;
6272
6050
  return localhostDomain.test(remaining) || nonLocalhostDomain.test(remaining);
6273
6051
  };
6274
- //#endregion
6275
- //#region src/components/RichTextEditor/utilities/toggle.ts
6052
+ // src/components/RichTextEditor/utilities/toggle.ts
6276
6053
  const isBlockActive = (editor, format) => {
6277
6054
  const [match] = Editor.nodes(editor, { match: (node) => Element.isElement(node) && node.type === format });
6278
6055
  return Boolean(match);
@@ -6303,8 +6080,7 @@ const toggleMark = (editor, format) => {
6303
6080
  if (isMarkActive(editor, format)) Editor.removeMark(editor, format);
6304
6081
  else Editor.addMark(editor, format, true);
6305
6082
  };
6306
- //#endregion
6307
- //#region src/components/RichTextEditor/utilities/withImagesPlugin.ts
6083
+ // src/components/RichTextEditor/utilities/withImagesPlugin.ts
6308
6084
  const emptyTextNode$1 = { text: "" };
6309
6085
  const imageExtensions = [
6310
6086
  "jpg",
@@ -6358,8 +6134,7 @@ const withImages = (editor) => {
6358
6134
  };
6359
6135
  return editor;
6360
6136
  };
6361
- //#endregion
6362
- //#region src/components/RichTextEditor/utilities/withLinksPlugin.ts
6137
+ // src/components/RichTextEditor/utilities/withLinksPlugin.ts
6363
6138
  const isHashUrl = (urlString) => {
6364
6139
  return /^#.+$/i.test(urlString);
6365
6140
  };
@@ -6427,8 +6202,7 @@ const insertLink = (editor) => {
6427
6202
  if (editor.selection) wrapLink(editor, url);
6428
6203
  }
6429
6204
  };
6430
- //#endregion
6431
- //#region src/components/RichTextEditor/utilities/handleListEscape.ts
6205
+ // src/components/RichTextEditor/utilities/handleListEscape.ts
6432
6206
  const OverriddenEditor = {
6433
6207
  ...Editor,
6434
6208
  isBlock: Editor.isBlock
@@ -6460,8 +6234,7 @@ const handleListEscape = (editor) => {
6460
6234
  });
6461
6235
  }
6462
6236
  };
6463
- //#endregion
6464
- //#region src/components/RichTextEditor/utilities/rteFormatTypes.ts
6237
+ // src/components/RichTextEditor/utilities/rteFormatTypes.ts
6465
6238
  const rteFormatTypes = Object.freeze({
6466
6239
  BOLD: "BOLD",
6467
6240
  ITALIC: "ITALIC",
@@ -6475,8 +6248,7 @@ const rteFormatTypes = Object.freeze({
6475
6248
  LINK: "LINK",
6476
6249
  IMAGE: "IMAGE"
6477
6250
  });
6478
- //#endregion
6479
- //#region src/components/RichTextEditor/EditorButtons.tsx
6251
+ // src/components/RichTextEditor/EditorButtons.tsx
6480
6252
  const ButtonContainer = styled.div`
6481
6253
  background: white;
6482
6254
  border-bottom: 1px solid ${({ theme }) => theme.color.grey400};
@@ -6610,8 +6382,7 @@ const EditorButtons = ({ enabledFormats = DEFAULT_ENABLED_FORMATS, disabled = fa
6610
6382
  })
6611
6383
  ] });
6612
6384
  };
6613
- //#endregion
6614
- //#region src/components/RichTextEditor/Element.tsx
6385
+ // src/components/RichTextEditor/Element.tsx
6615
6386
  const Wrapper$1 = styled.span`
6616
6387
  display: inline-block;
6617
6388
  user-select: none;
@@ -6733,8 +6504,7 @@ const Element$1 = ({ attributes, children, element }) => {
6733
6504
  });
6734
6505
  }
6735
6506
  };
6736
- //#endregion
6737
- //#region src/components/RichTextEditor/Leaf.tsx
6507
+ // src/components/RichTextEditor/Leaf.tsx
6738
6508
  const Leaf = ({ attributes, children, leaf }) => {
6739
6509
  let kids = children;
6740
6510
  if (isNotNil(leaf.bold)) kids = /* @__PURE__ */ jsx("strong", { children: kids });
@@ -6747,8 +6517,7 @@ const Leaf = ({ attributes, children, leaf }) => {
6747
6517
  children: kids
6748
6518
  });
6749
6519
  };
6750
- //#endregion
6751
- //#region src/private/helpers/escapeHtml/escapeHtml.ts
6520
+ // src/private/helpers/escapeHtml/escapeHtml.ts
6752
6521
  const matchHtmlRegExp = /["'&<>]/;
6753
6522
  const doubleQuoteChar = 34;
6754
6523
  const ampersandChar = 38;
@@ -6785,8 +6554,7 @@ const escapeHtml = (stringToEscape) => {
6785
6554
  }
6786
6555
  return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
6787
6556
  };
6788
- //#endregion
6789
- //#region src/components/RichTextEditor/serializers.ts
6557
+ // src/components/RichTextEditor/serializers.ts
6790
6558
  const emptyTextNode = { text: "" };
6791
6559
  const rteIsNonImageNodeType = (node) => node.type !== "image";
6792
6560
  const rteIsInvalidImage = (node) => node.type === "image" && node.url === void 0;
@@ -6952,8 +6720,7 @@ const rteDeserializeHTML = (htmlString) => {
6952
6720
  }];
6953
6721
  return fragment;
6954
6722
  };
6955
- //#endregion
6956
- //#region src/components/RichTextEditor/utilities/useExternalValueSync.ts
6723
+ // src/components/RichTextEditor/utilities/useExternalValueSync.ts
6957
6724
  const defaultValue = [{
6958
6725
  type: "paragraph",
6959
6726
  children: [{ text: "" }]
@@ -7031,8 +6798,7 @@ const useExternalValueSync = ({ editor, value, useExternalValue, onChange }) =>
7031
6798
  ]);
7032
6799
  return handleChange;
7033
6800
  };
7034
- //#endregion
7035
- //#region src/components/RichTextEditor/RichTextEditor.tsx
6801
+ // src/components/RichTextEditor/RichTextEditor.tsx
7036
6802
  const EditableWrapper = styled(Editable)`
7037
6803
  color: ${({ theme }) => theme.color.grey900};
7038
6804
  outline: none; /* prevent blue accessibility outline from appearing on focus */
@@ -7131,8 +6897,7 @@ const RichTextEditor = ({ enabledFormats = Object.values(rteFormatTypes), value
7131
6897
  });
7132
6898
  };
7133
6899
  RichTextEditor.displayName = "RichTextEditor_VHS";
7134
- //#endregion
7135
- //#region src/private/components/FormConnectorRichTextEditor/FormConnectorRichTextEditor.tsx
6900
+ // src/private/components/FormConnectorRichTextEditor/FormConnectorRichTextEditor.tsx
7136
6901
  const Wrapper = styled.div`
7137
6902
  margin-top: ${({ theme }) => theme.spacing.space02};
7138
6903
  `;
@@ -7172,8 +6937,7 @@ const FormConnectorRichTextEditor = ({ field: { name, value, onChange }, form: {
7172
6937
  });
7173
6938
  };
7174
6939
  FormConnectorRichTextEditor.displayName = "FormConnectorRichTextEditor_VHS";
7175
- //#endregion
7176
- //#region src/components/Select/SelectStyledComponent.tsx
6940
+ // src/components/Select/SelectStyledComponent.tsx
7177
6941
  const focusStyle = css`
7178
6942
  border: 1px solid ${({ theme }) => theme.color.brandBlue500};
7179
6943
  `;
@@ -7230,8 +6994,7 @@ const SelectStyledComponent = styled.select`
7230
6994
  ${({ $hasError }) => $hasError && errorStyle}
7231
6995
  ${({ $forceState }) => $forceState === "focus" && focusStyle};
7232
6996
  `;
7233
- //#endregion
7234
- //#region src/components/Select/Select.tsx
6997
+ // src/components/Select/Select.tsx
7235
6998
  const getSvgColor = (theme, disabled, focused) => {
7236
6999
  if (disabled) return theme.color.grey300;
7237
7000
  if (focused) return theme.color.brandBlue500;
@@ -7315,10 +7078,9 @@ const Select = forwardRef(({ ariaLabel, disabled = false, forceState, fullWidth
7315
7078
  }), renderIcon(multiple)]
7316
7079
  }));
7317
7080
  Select.displayName = "Select_VHS";
7318
- //#endregion
7319
- //#region src/private/components/FormConnectorSelect/FormConnectorSelect.tsx
7081
+ // src/private/components/FormConnectorSelect/FormConnectorSelect.tsx
7320
7082
  const DEFAULT_LABEL_PROPS$1 = {};
7321
- const FormConnectorSelect = ({ disabled = false, field: { name, value, onChange, onBlur }, form: { errors }, label, labelDescription, labelProps = DEFAULT_LABEL_PROPS$1, options, placeholder, onChangeCustom, ...otherProps }) => {
7083
+ const FormConnectorSelect = ({ disabled = false, field: { name, value, onChange, onBlur }, form: { errors }, innerRef, label, labelDescription, labelProps = DEFAULT_LABEL_PROPS$1, options, placeholder, onChangeCustom, ...otherProps }) => {
7322
7084
  const getValue = (val) => {
7323
7085
  if (isNil(val)) return "";
7324
7086
  if (isBoolean(val)) return coerceToString(value);
@@ -7342,14 +7104,14 @@ const FormConnectorSelect = ({ disabled = false, field: { name, value, onChange,
7342
7104
  },
7343
7105
  options,
7344
7106
  placeholder,
7107
+ ref: innerRef,
7345
7108
  value: getValue(value),
7346
7109
  ...otherProps
7347
7110
  })
7348
7111
  });
7349
7112
  };
7350
7113
  FormConnectorSelect.displayName = "FormConnectorSelect_VHS";
7351
- //#endregion
7352
- //#region src/components/FormField/inputTypeMap.ts
7114
+ // src/components/FormField/inputTypeMap.ts
7353
7115
  const inputTypeMap = {
7354
7116
  checkbox: {
7355
7117
  component: "FormConnectorCheckboxGroup",
@@ -7416,8 +7178,7 @@ const inputTypeMap = {
7416
7178
  inputType: null
7417
7179
  }
7418
7180
  };
7419
- //#endregion
7420
- //#region src/components/FormField/FormField.tsx
7181
+ // src/components/FormField/FormField.tsx
7421
7182
  const FormFieldSet = styled.fieldset`
7422
7183
  border: 0;
7423
7184
  flex-grow: 1;
@@ -7467,8 +7228,7 @@ const FormField = forwardRef(({ resize = "vertical", customComponent, direction
7467
7228
  })
7468
7229
  }));
7469
7230
  FormField.displayName = "FormField_VHS";
7470
- //#endregion
7471
- //#region src/components/FullScreenModal/FullScreenModal.tsx
7231
+ // src/components/FullScreenModal/FullScreenModal.tsx
7472
7232
  const CloseButton$1 = styled(Button)`
7473
7233
  color: ${({ theme }) => theme.color.grey700};
7474
7234
  height: 42px;
@@ -7500,8 +7260,7 @@ const FullScreenModal = ({ content, toggle, backgroundColor, initialShownState =
7500
7260
  });
7501
7261
  };
7502
7262
  FullScreenModal.displayName = "FullScreenModal_VHS";
7503
- //#endregion
7504
- //#region src/components/Image/Image.tsx
7263
+ // src/components/Image/Image.tsx
7505
7264
  const getFillStyle = ($fillContainer) => {
7506
7265
  if ($fillContainer === "horizontal") return "width: 100%;";
7507
7266
  if ($fillContainer === "vertical") return "height: 100%;";
@@ -7525,8 +7284,7 @@ const Image = ({ src, alt, fill: fillContainer = false, fit: objFit, loading = "
7525
7284
  ...otherProps
7526
7285
  });
7527
7286
  Image.displayName = "Image_VHS";
7528
- //#endregion
7529
- //#region src/components/KeyboardShortcut/KeyboardShortcut.tsx
7287
+ // src/components/KeyboardShortcut/KeyboardShortcut.tsx
7530
7288
  const KeyboardShortcutComponent = styled.div`
7531
7289
  align-items: center;
7532
7290
  display: flex;
@@ -7605,8 +7363,7 @@ const KeyboardShortcut = ({ label, keyboardKeys, fullWidth = false, componentSty
7605
7363
  });
7606
7364
  };
7607
7365
  KeyboardShortcut.displayName = "KeyboardShortcut_VHS";
7608
- //#endregion
7609
- //#region src/components/LinkButton/LinkButton.tsx
7366
+ // src/components/LinkButton/LinkButton.tsx
7610
7367
  const isEnterOrSpace = (event) => event.key === "Enter" || event.key === " " || event.key === "Spacebar";
7611
7368
  const LinkButtonStyledComponent = styled.span`
7612
7369
  ${({ $noStyle }) => !$noStyle ? linkStyle : void 0};
@@ -7651,8 +7408,7 @@ const LinkButton = forwardRef(({ children, disabled = false, forceState, label,
7651
7408
  });
7652
7409
  });
7653
7410
  LinkButton.displayName = "LinkButton_VHS";
7654
- //#endregion
7655
- //#region src/components/List/ListItem.tsx
7411
+ // src/components/List/ListItem.tsx
7656
7412
  const ListItemComponent = styled.li`
7657
7413
  margin-bottom: ${({ theme }) => theme.spacing.space02};
7658
7414
  `;
@@ -7661,8 +7417,7 @@ const ListItem = ({ children }) => {
7661
7417
  return /* @__PURE__ */ jsx(ListItemComponent, { children });
7662
7418
  };
7663
7419
  ListItem.displayName = "ListItem_VHS";
7664
- //#endregion
7665
- //#region src/components/List/List.tsx
7420
+ // src/components/List/List.tsx
7666
7421
  const spacesStyle = css`
7667
7422
  overflow: hidden;
7668
7423
  padding-left: 0;
@@ -7779,8 +7534,7 @@ const List = ({ children, items, variant, ...otherProps }) => {
7779
7534
  return null;
7780
7535
  };
7781
7536
  List.displayName = "List_VHS";
7782
- //#endregion
7783
- //#region src/components/Menu/menuContentCss.ts
7537
+ // src/components/Menu/menuContentCss.ts
7784
7538
  const gutterWidth = "8px";
7785
7539
  const open = keyframes`
7786
7540
  from {
@@ -7832,8 +7586,7 @@ const menuContentCss = css`
7832
7586
  margin: ${({ theme }) => theme.spacing.space02} 0;
7833
7587
  }
7834
7588
  `;
7835
- //#endregion
7836
- //#region src/components/Menu/Menu.tsx
7589
+ // src/components/Menu/Menu.tsx
7837
7590
  const MenuContent = styled(DropdownMenuContent)`
7838
7591
  ${menuContentCss}
7839
7592
  `;
@@ -7865,8 +7618,7 @@ const Menu = ({ align = "start", children, trigger, label, isOpen, triggerProps
7865
7618
  });
7866
7619
  };
7867
7620
  Menu.displayName = "Menu_VHS";
7868
- //#endregion
7869
- //#region src/components/Menu/MenuItem.tsx
7621
+ // src/components/Menu/MenuItem.tsx
7870
7622
  const hoverDarken = "0.04";
7871
7623
  const focusDarken = "0.08";
7872
7624
  const dangerousMenuItemStyles$1 = css`
@@ -8058,8 +7810,7 @@ const SubMenuTrigger = ({ children, label, badge, description, icon, onClick })
8058
7810
  })] })
8059
7811
  });
8060
7812
  };
8061
- //#endregion
8062
- //#region src/components/Menu/MenuLabel.tsx
7813
+ // src/components/Menu/MenuLabel.tsx
8063
7814
  const StyledMenuLabel = styled(DropdownMenuLabel)`
8064
7815
  /* TODO - this should be in theme */
8065
7816
  padding: 8px;
@@ -8076,8 +7827,7 @@ const MenuLabel = ({ children, ...props }) => {
8076
7827
  })
8077
7828
  });
8078
7829
  };
8079
- //#endregion
8080
- //#region src/components/Menu/SubMenu.tsx
7830
+ // src/components/Menu/SubMenu.tsx
8081
7831
  const SubMenuContent = styled(DropdownMenuSubContent)`
8082
7832
  ${menuContentCss}
8083
7833
 
@@ -8105,8 +7855,7 @@ const SubMenu = ({ label, icon, description, children }) => {
8105
7855
  }
8106
7856
  }), /* @__PURE__ */ jsx(StyledMobileSubMenuItems, { children: isExpanded ? children : null })] });
8107
7857
  };
8108
- //#endregion
8109
- //#region src/private/hooks/useOnClickOutside/useOnClickOutside.ts
7858
+ // src/private/hooks/useOnClickOutside/useOnClickOutside.ts
8110
7859
  const useOnClickOutside = (ref, handler) => {
8111
7860
  useEffect(() => {
8112
7861
  const listener = (event) => {
@@ -8121,8 +7870,7 @@ const useOnClickOutside = (ref, handler) => {
8121
7870
  };
8122
7871
  }, [ref, handler]);
8123
7872
  };
8124
- //#endregion
8125
- //#region src/private/components/Menu/Menu.tsx
7873
+ // src/private/components/Menu/Menu.tsx
8126
7874
  const MENU_WIDTH_OPTIONS = /* @__PURE__ */ new Set(["fullWidth", "maxItem"]);
8127
7875
  const GUTTER_WIDTH = "8px";
8128
7876
  const FOCUS_DARKEN = "0.08";
@@ -8279,8 +8027,7 @@ const Menu$1 = forwardRef(({ items, menuHeader, width = "fullWidth", onClick, on
8279
8027
  });
8280
8028
  });
8281
8029
  Menu$1.displayName = "Menu_VHS";
8282
- //#endregion
8283
- //#region src/private/hooks/useBoolean/useBoolean.ts
8030
+ // src/private/hooks/useBoolean/useBoolean.ts
8284
8031
  const useBoolean = (initialValue = false) => {
8285
8032
  const [value, setValue] = useState(initialValue);
8286
8033
  return [
@@ -8291,8 +8038,7 @@ const useBoolean = (initialValue = false) => {
8291
8038
  setValue
8292
8039
  ];
8293
8040
  };
8294
- //#endregion
8295
- //#region src/components/MenuButton/MenuHeader.tsx
8041
+ // src/components/MenuButton/MenuHeader.tsx
8296
8042
  const HeaderAndButton = styled.div`
8297
8043
  align-items: center;
8298
8044
  display: flex;
@@ -8307,8 +8053,7 @@ const HeaderText = styled.span`
8307
8053
  line-height: 24px;
8308
8054
  `;
8309
8055
  const MenuHeader = ({ label, onCloseClick, overrideMenuHeader }) => /* @__PURE__ */ jsxs(HeaderAndButton, { children: [isNotNil(overrideMenuHeader) ? overrideMenuHeader : /* @__PURE__ */ jsx(HeaderText, { children: label || "Menu" }), /* @__PURE__ */ jsx(ModalCloseButton$1, { onClick: onCloseClick })] });
8310
- //#endregion
8311
- //#region src/components/MenuButton/MenuButton.tsx
8056
+ // src/components/MenuButton/MenuButton.tsx
8312
8057
  const MARGIN_BETWEEN_BUTTON_AND_MENU = 8;
8313
8058
  const menuPositionAboveCss = css`
8314
8059
  bottom: 0;
@@ -8421,8 +8166,7 @@ const MenuButton = ({ label, menuAlignment = "right", menuItems, menuPosition =
8421
8166
  ] });
8422
8167
  };
8423
8168
  MenuButton.displayName = "MenuButton_VHS";
8424
- //#endregion
8425
- //#region src/private/hooks/useFocusTrap/helpers.ts
8169
+ // src/private/hooks/useFocusTrap/helpers.ts
8426
8170
  const FOCUSABLE_ELEMENT_SELECTORS = "a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex=\"0\"], [contenteditable]";
8427
8171
  const isHiddenElement = (element) => {
8428
8172
  const { display, visibility } = window.getComputedStyle(element);
@@ -8524,8 +8268,7 @@ const createAriaHider = (containerNode, selector = "body > :not(script)") => {
8524
8268
  });
8525
8269
  };
8526
8270
  };
8527
- //#endregion
8528
- //#region src/private/hooks/useFocusTrap/useFocusTrap.ts
8271
+ // src/private/hooks/useFocusTrap/useFocusTrap.ts
8529
8272
  const isRef = (val) => {
8530
8273
  return val !== null && typeof val === "object" && "current" in val;
8531
8274
  };
@@ -8579,8 +8322,7 @@ const useFocusTrap = (active = true, options = {}) => {
8579
8322
  }, [active]);
8580
8323
  return setRef;
8581
8324
  };
8582
- //#endregion
8583
- //#region src/private/hooks/useEvent/useEvent.ts
8325
+ // src/private/hooks/useEvent/useEvent.ts
8584
8326
  const isEventTargetSupported = (eventTarget) => Boolean(typeof eventTarget === "object" && eventTarget?.addEventListener);
8585
8327
  const useEvent = (eventName, eventHandler, eventTarget = window, eventOptions = {}) => {
8586
8328
  const savedEventHandler = useRef(void 0);
@@ -8607,8 +8349,7 @@ const useEvent = (eventName, eventHandler, eventTarget = window, eventOptions =
8607
8349
  savedEventOptions
8608
8350
  ]);
8609
8351
  };
8610
- //#endregion
8611
- //#region src/private/hooks/useKey/useKey.ts
8352
+ // src/private/hooks/useKey/useKey.ts
8612
8353
  const createKeyPredicate = (keyFilter) => {
8613
8354
  if (typeof keyFilter === "function") return keyFilter;
8614
8355
  if (typeof keyFilter === "string") return (event) => event.key === keyFilter;
@@ -8630,16 +8371,14 @@ const useKey = (key, eventHandler, options = {}, dependencies = [key]) => {
8630
8371
  }, dependencies);
8631
8372
  useEvent(eventName, memoizedEventHandler, eventTarget, eventOptions);
8632
8373
  };
8633
- //#endregion
8634
- //#region src/private/hooks/useKeyPress/useKeyPress.ts
8374
+ // src/private/hooks/useKeyPress/useKeyPress.ts
8635
8375
  const useKeyPress = (keyFilter) => {
8636
8376
  const [state, setState] = useState([false, null]);
8637
8377
  useKey(keyFilter, (event) => setState([true, event]), { eventName: "keydown" }, [state]);
8638
8378
  useKey(keyFilter, (event) => setState([false, event]), { eventName: "keyup" }, [state]);
8639
8379
  return state;
8640
8380
  };
8641
- //#endregion
8642
- //#region src/private/hooks/useUpdateEffect/useUpdateEffect.ts
8381
+ // src/private/hooks/useUpdateEffect/useUpdateEffect.ts
8643
8382
  const useUpdateEffect = (effect, dependencies) => {
8644
8383
  const isInitialMount = useRef(true);
8645
8384
  useEffect(() => {
@@ -8650,8 +8389,7 @@ const useUpdateEffect = (effect, dependencies) => {
8650
8389
  return effect();
8651
8390
  }, dependencies);
8652
8391
  };
8653
- //#endregion
8654
- //#region src/private/hooks/useKeyPressOnce/useKeyPressOnce.ts
8392
+ // src/private/hooks/useKeyPressOnce/useKeyPressOnce.ts
8655
8393
  const useKeyPressOnce = (key, keydownHandler, keyupHandler) => {
8656
8394
  const [pressed, event] = useKeyPress(key);
8657
8395
  useUpdateEffect(() => {
@@ -8660,8 +8398,7 @@ const useKeyPressOnce = (key, keydownHandler, keyupHandler) => {
8660
8398
  return () => {};
8661
8399
  }, [pressed]);
8662
8400
  };
8663
- //#endregion
8664
- //#region src/private/hooks/usePreventScroll/usePreventScroll.ts
8401
+ // src/private/hooks/usePreventScroll/usePreventScroll.ts
8665
8402
  const usePreventScroll = (locked) => {
8666
8403
  useLayoutEffect(() => {
8667
8404
  if (locked) {
@@ -8674,8 +8411,7 @@ const usePreventScroll = (locked) => {
8674
8411
  return () => {};
8675
8412
  }, [locked]);
8676
8413
  };
8677
- //#endregion
8678
- //#region src/components/Modal/Dialog.tsx
8414
+ // src/components/Modal/Dialog.tsx
8679
8415
  const Dialog = styled.div`
8680
8416
  background-color: white;
8681
8417
  box-sizing: border-box;
@@ -8698,8 +8434,7 @@ const Dialog = styled.div`
8698
8434
  width: min-content;
8699
8435
  }
8700
8436
  `;
8701
- //#endregion
8702
- //#region src/components/Modal/ModalCloseContext.tsx
8437
+ // src/components/Modal/ModalCloseContext.tsx
8703
8438
  const ModalCloseContext = createContext(void 0);
8704
8439
  const ModalCloseProvider = ModalCloseContext.Provider;
8705
8440
  const useModalClose = () => {
@@ -8707,8 +8442,7 @@ const useModalClose = () => {
8707
8442
  if (isNotUndefined(modalClose)) return modalClose;
8708
8443
  throw new Error("useModalClose must be used within a ModalCloseProvider");
8709
8444
  };
8710
- //#endregion
8711
- //#region src/components/Modal/Modal.tsx
8445
+ // src/components/Modal/Modal.tsx
8712
8446
  const StyledBackdrop = styled(Backdrop)`
8713
8447
  display: flex;
8714
8448
 
@@ -8806,8 +8540,7 @@ const Modal = (props) => {
8806
8540
  };
8807
8541
  Modal.displayName = "Modal_VHS";
8808
8542
  ModalContent.displayName = "ModalContent_VHS";
8809
- //#endregion
8810
- //#region src/components/Modal/ModalParts.tsx
8543
+ // src/components/Modal/ModalParts.tsx
8811
8544
  const ModalHeader = styled.div`
8812
8545
  align-items: center;
8813
8546
  display: flex;
@@ -8842,8 +8575,7 @@ const ModalCloseButton = ({ onClick, ...props }) => {
8842
8575
  ...props
8843
8576
  });
8844
8577
  };
8845
- //#endregion
8846
- //#region src/components/Paper/Paper.tsx
8578
+ // src/components/Paper/Paper.tsx
8847
8579
  const PaperComponent = styled.div`
8848
8580
  background-color: white;
8849
8581
  border-radius: 8px;
@@ -8858,8 +8590,7 @@ const Paper = ({ children, elevation = 1, ...otherProps }) => {
8858
8590
  });
8859
8591
  };
8860
8592
  Paper.displayName = "Paper_VHS";
8861
- //#endregion
8862
- //#region src/components/ProgressBar/ProgressBar.tsx
8593
+ // src/components/ProgressBar/ProgressBar.tsx
8863
8594
  const progressBarHeight = "8px";
8864
8595
  const ProgressBarContainer = styled.div`
8865
8596
  display: flex;
@@ -8912,8 +8643,7 @@ const ProgressBar = ({ hasLabel = true, progress = 0, colorOverride, labelColorO
8912
8643
  });
8913
8644
  };
8914
8645
  ProgressBar.displayName = "ProgressBar_VHS";
8915
- //#endregion
8916
- //#region src/private/components/Calendar/Calendar.tsx
8646
+ // src/private/components/Calendar/Calendar.tsx
8917
8647
  const dayDimension = 45;
8918
8648
  const daysOfWeek = [
8919
8649
  "Sun",
@@ -9139,8 +8869,7 @@ const Calendar = ({ displayDate, earliestDate, latestDate, onDisplayDateChange,
9139
8869
  });
9140
8870
  };
9141
8871
  Calendar.displayName = "Calendar_VHS";
9142
- //#endregion
9143
- //#region src/private/components/RangeSelectorCalendar/RangeSelectorCalendar.tsx
8872
+ // src/private/components/RangeSelectorCalendar/RangeSelectorCalendar.tsx
9144
8873
  const EnhancedDay = styled(Day)`
9145
8874
  ${({ $isBeginning, $isInRange }) => $isBeginning && !$isInRange && `
9146
8875
  border-top-right-radius: 0;
@@ -9353,8 +9082,7 @@ const RangeSelectorCalendar = ({ range = DEFAULT_RANGE$1, rangePartToShow = "",
9353
9082
  });
9354
9083
  };
9355
9084
  RangeSelectorCalendar.displayName = "RangeSelectorCalendar_VHS";
9356
- //#endregion
9357
- //#region src/private/components/RangeSelectorInput/constants.ts
9085
+ // src/private/components/RangeSelectorInput/constants.ts
9358
9086
  const DIVIDER_STRING = " - ";
9359
9087
  const INITIAL_VALUE = `mm/dd/yyyy${DIVIDER_STRING}mm/dd/yyyy`;
9360
9088
  const positionElements = [
@@ -9405,8 +9133,7 @@ const createPositionsFromElements = (elements) => {
9405
9133
  });
9406
9134
  };
9407
9135
  const DATE_PART_POSITIONS = createPositionsFromElements(positionElements);
9408
- //#endregion
9409
- //#region src/private/components/RangeSelectorInput/conversions.ts
9136
+ // src/private/components/RangeSelectorInput/conversions.ts
9410
9137
  const getValueParts = (value) => {
9411
9138
  const [start, end] = value.split(DIVIDER_STRING);
9412
9139
  let month1Val = "";
@@ -9464,8 +9191,7 @@ const rangeToString = ({ start, end }) => {
9464
9191
  const endString = end.toLocaleDateString("en-US", opts);
9465
9192
  return `${startString}${DIVIDER_STRING}${endString}`;
9466
9193
  };
9467
- //#endregion
9468
- //#region src/private/components/RangeSelectorInput/ErrorMessages.tsx
9194
+ // src/private/components/RangeSelectorInput/ErrorMessages.tsx
9469
9195
  const ErrorMessagesList = styled.ul`
9470
9196
  list-style: none;
9471
9197
  margin: 0;
@@ -9477,8 +9203,7 @@ const ErrorMessage = styled.li`
9477
9203
  `;
9478
9204
  const DEFAULT_MESSAGES = [];
9479
9205
  const ErrorMessages = ({ messages = DEFAULT_MESSAGES }) => /* @__PURE__ */ jsx(ErrorMessagesList, { children: messages.map((message) => /* @__PURE__ */ jsx(ErrorMessage, { children: message }, message)) });
9480
- //#endregion
9481
- //#region src/private/components/RangeSelectorInput/eventTypes.ts
9206
+ // src/private/components/RangeSelectorInput/eventTypes.ts
9482
9207
  const keys = /* @__PURE__ */ new Set([
9483
9208
  "Enter",
9484
9209
  "Backspace",
@@ -9498,8 +9223,7 @@ const isArrowUpDown = (event) => event.key === "ArrowUp" || event.key === "Arrow
9498
9223
  const isBackspace = (event) => event.key === "Backspace";
9499
9224
  const isValueChangeEvent = (event) => isANum(event) || isArrowUpDown(event) || isBackspace(event);
9500
9225
  const isMoveEvent = (event) => isMoveLeftChar(event) || isMoveRightChar(event);
9501
- //#endregion
9502
- //#region src/private/components/RangeSelectorInput/selection.ts
9226
+ // src/private/components/RangeSelectorInput/selection.ts
9503
9227
  const getCursorPosition = (ref) => {
9504
9228
  return {
9505
9229
  startPos: ref.current?.selectionStart,
@@ -9553,8 +9277,7 @@ const getRangePartFromSelection = ([, end]) => {
9553
9277
  if (isNotUndefined(end) && end <= indexOfDivider) return "start";
9554
9278
  return "end";
9555
9279
  };
9556
- //#endregion
9557
- //#region src/private/components/RangeSelectorInput/utils.ts
9280
+ // src/private/components/RangeSelectorInput/utils.ts
9558
9281
  let timeout = void 0;
9559
9282
  const preventDoubleClick = (event) => {
9560
9283
  const delay = 200;
@@ -9619,8 +9342,7 @@ const orderRange = (range) => {
9619
9342
  end
9620
9343
  };
9621
9344
  };
9622
- //#endregion
9623
- //#region src/private/components/RangeSelectorInput/iterators.ts
9345
+ // src/private/components/RangeSelectorInput/iterators.ts
9624
9346
  const validateDays = (parts) => {
9625
9347
  const nextParts = { ...parts };
9626
9348
  const pad = (val) => `${val}`.padStart(2, "0");
@@ -9719,8 +9441,7 @@ const getNextSelection = ({ event, currentSelection }) => {
9719
9441
  nextKeyCount: 0
9720
9442
  };
9721
9443
  };
9722
- //#endregion
9723
- //#region src/private/components/RangeSelectorInput/RangeSelectorInput.tsx
9444
+ // src/private/components/RangeSelectorInput/RangeSelectorInput.tsx
9724
9445
  const Input$1 = styled.input`
9725
9446
  border: 1px solid ${({ theme }) => theme.color.grey400};
9726
9447
  border-radius: 4px;
@@ -9852,8 +9573,7 @@ const RangeSelectorInput = ({ onChange, onSelectedRangePartChange, range, earlie
9852
9573
  })] });
9853
9574
  };
9854
9575
  RangeSelectorInput.displayName = "RangeSelectorInput_VHS";
9855
- //#endregion
9856
- //#region src/components/RangeSelector/RangeSelector.tsx
9576
+ // src/components/RangeSelector/RangeSelector.tsx
9857
9577
  const TooltipWrapper = styled.div`
9858
9578
  text-align: left;
9859
9579
  width: 240px;
@@ -10099,8 +9819,7 @@ const RangeSelector = ({ align = "left", buttonVariant = "secondary", earliestDa
10099
9819
  });
10100
9820
  };
10101
9821
  RangeSelector.displayName = "RangeSelector_VHS";
10102
- //#endregion
10103
- //#region src/components/Slider/Slider.tsx
9822
+ // src/components/Slider/Slider.tsx
10104
9823
  const TRACK_SIZE = "4px";
10105
9824
  const DisabledSliderStyles = css`
10106
9825
  opacity: 0.5;
@@ -10202,8 +9921,7 @@ const Slider = ({ ariaLabel, ariaLabelledby, ariaValuetext, disabled = false, in
10202
9921
  });
10203
9922
  };
10204
9923
  Slider.displayName = "Slider_VHS";
10205
- //#endregion
10206
- //#region src/components/Stack/Stack.tsx
9924
+ // src/components/Stack/Stack.tsx
10207
9925
  const StyledStack = styled.div`
10208
9926
  display: flex;
10209
9927
  flex-direction: ${({ $direction }) => $direction === "horizontal" ? "row" : "column"};
@@ -10223,8 +9941,7 @@ const Stack = forwardRef(({ renderAs = "div", direction = "vertical", gap = "spa
10223
9941
  });
10224
9942
  });
10225
9943
  Stack.displayName = "Stack_VHS";
10226
- //#endregion
10227
- //#region src/components/Switch/Switch.tsx
9944
+ // src/components/Switch/Switch.tsx
10228
9945
  const SwitchComponent = styled.button`
10229
9946
  background-color: white;
10230
9947
  border-color: ${({ theme }) => theme.color.grey700};
@@ -10331,8 +10048,7 @@ const Switch = ({ disabled = false, isChecked = false, onChange, colorOverride,
10331
10048
  });
10332
10049
  };
10333
10050
  Switch.displayName = "Switch_VHS";
10334
- //#endregion
10335
- //#region src/components/Thumbnail/Thumbnail.tsx
10051
+ // src/components/Thumbnail/Thumbnail.tsx
10336
10052
  const ThumbnailComponent = styled.div`
10337
10053
  ${({ $gradientBackground }) => getBackgroundGradient($gradientBackground)};
10338
10054
  aspect-ratio: 16 / 9;
@@ -10448,8 +10164,7 @@ const Thumbnail = ({ bottomRightText, thumbnailUrl, thumbnailImageType = "square
10448
10164
  });
10449
10165
  };
10450
10166
  Thumbnail.displayName = "Thumbnail_VHS";
10451
- //#endregion
10452
- //#region src/components/ThumbnailCollage/ThumbnailCollage.tsx
10167
+ // src/components/ThumbnailCollage/ThumbnailCollage.tsx
10453
10168
  const ThumbnailCollageContainer = styled.div`
10454
10169
  display: grid;
10455
10170
  grid-template-columns: 3fr 2fr;
@@ -10490,8 +10205,7 @@ const ThumbnailCollage = ({ thumbnailUrls, gradientBackground = "defaultMidOne",
10490
10205
  children: isNonEmptyArray(thumbnailUrls) ? thumbnailUrls.map((thumbnailUrl) => /* @__PURE__ */ jsx(CollageImage, { $thumbnailUrl: thumbnailUrl }, thumbnailUrl)) : /* @__PURE__ */ jsx(CollageImage, { $backgroundGradient: gradientBackground })
10491
10206
  });
10492
10207
  };
10493
- //#endregion
10494
- //#region src/components/WistiaLogo/WistiaLogo.tsx
10208
+ // src/components/WistiaLogo/WistiaLogo.tsx
10495
10209
  const renderBrandmark = (brandmarkColor, iconOnly) => {
10496
10210
  if (iconOnly) return /* @__PURE__ */ jsx("g", {
10497
10211
  fill: brandmarkColor,
@@ -10566,7 +10280,6 @@ const WistiaLogo = ({ description, height = 100, hoverColor, href, iconOnly = fa
10566
10280
  }) : Logo;
10567
10281
  };
10568
10282
  WistiaLogo.displayName = "WistiaLogo_VHS";
10569
- //#endregion
10570
10283
  export { ActionModal, Avatar, Backdrop, BackgroundImage, Badge, Banner, Box, Button, ButtonGroup, ButtonLink, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickArea, CloseButton, CollapsibleGroup, Divider, Ellipsis, FileSelect, Form, FormButtons, FormField, FormFieldError, FormGlobalError, FullScreenModal, Icon, IconButton, Image, Input, KeyboardShortcut, Label, LabelDescription, Link, LinkButton, List, ListItem, Menu, MenuButton, MenuItem, MenuLabel, MenuRadioGroup, Modal, ModalBase, ModalBody, ModalCloseButton, ModalFooter, ModalHeader, Paper, ProgressBar, Radio, RadioGroup, RadioMenuItem, RangeSelector, RichTextEditor, ScreenReaderOnly, Select, Slider, Stack, SubMenu, Switch, Text, Thumbnail, ThumbnailCollage, Toast, ToastProvider, Tooltip, Truncate, VHSProvider, WistiaLogo, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, rteDeserializeHTML, rteFormatTypes, rteSerializeToHTML, screenReaderOnlyStyle, useFormikContext, useTheme, useThemeColor, useToast };
10571
10284
 
10572
10285
  //# sourceMappingURL=index.js.map