@appquality/unguess-design-system 3.1.2 → 3.1.39-player

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/build/index.js CHANGED
@@ -28,6 +28,7 @@ var reactDropdowns = require('@zendeskgarden/react-dropdowns');
28
28
  var reactForms = require('@zendeskgarden/react-forms');
29
29
  var react = require('@tiptap/react');
30
30
  var Typography = require('@tiptap/extension-typography');
31
+ var Link = require('@tiptap/extension-link');
31
32
  var StarterKit = require('@tiptap/starter-kit');
32
33
  var Placeholder = require('@tiptap/extension-placeholder');
33
34
  var CharacterCount = require('@tiptap/extension-character-count');
@@ -35,6 +36,7 @@ var reactGrid = require('@zendeskgarden/react-grid');
35
36
  var reactChrome = require('@zendeskgarden/react-chrome');
36
37
  var formik = require('formik');
37
38
  var reactPagination = require('@zendeskgarden/react-pagination');
39
+ var Video = require('@appquality/stream-player');
38
40
  var SlickSlider = require('react-slick');
39
41
  var reactTables = require('@zendeskgarden/react-tables');
40
42
  var reactTooltips = require('@zendeskgarden/react-tooltips');
@@ -64,9 +66,11 @@ var UAParser__default = /*#__PURE__*/_interopDefaultLegacy(UAParser);
64
66
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
65
67
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
66
68
  var Typography__default = /*#__PURE__*/_interopDefaultLegacy(Typography);
69
+ var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
67
70
  var StarterKit__default = /*#__PURE__*/_interopDefaultLegacy(StarterKit);
68
71
  var Placeholder__default = /*#__PURE__*/_interopDefaultLegacy(Placeholder);
69
72
  var CharacterCount__default = /*#__PURE__*/_interopDefaultLegacy(CharacterCount);
73
+ var Video__default = /*#__PURE__*/_interopDefaultLegacy(Video);
70
74
  var SlickSlider__default = /*#__PURE__*/_interopDefaultLegacy(SlickSlider);
71
75
 
72
76
  /*
@@ -438,7 +442,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
438
442
  "&:hover": {
439
443
  borderColor: getColor(colors.accentHue, 800),
440
444
  color: getColor(colors.accentHue, 800),
441
- backgroundColor: palette.blue[50],
445
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
442
446
  },
443
447
  "&:active": {
444
448
  borderColor: getColor(colors.accentHue, 800),
@@ -448,7 +452,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
448
452
  })), (isAccent && isBasic && {
449
453
  color: getColor(colors.accentHue, 700),
450
454
  "&:hover": {
451
- backgroundColor: palette.blue[50],
455
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
452
456
  color: getColor(colors.accentHue, 800),
453
457
  },
454
458
  "&:active": {
@@ -492,7 +496,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
492
496
  "&:hover": {
493
497
  borderColor: getColor(colors.accentHue, 800),
494
498
  color: getColor(colors.accentHue, 800),
495
- backgroundColor: palette.blue[50],
499
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
496
500
  },
497
501
  "&:active": {
498
502
  borderColor: getColor(colors.accentHue, 800),
@@ -510,7 +514,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
510
514
  })), (isAccent && isBasic && {
511
515
  color: getColor(colors.accentHue, 700),
512
516
  "&:hover": {
513
- backgroundColor: palette.blue[50],
517
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
514
518
  color: getColor(colors.accentHue, 800),
515
519
  },
516
520
  "&:active": {
@@ -812,55 +816,55 @@ Tag.Avatar = StyledAvatar;
812
816
  Tag.Close = StyledClose;
813
817
  Tag.SecondaryText = StyledSpan;
814
818
 
815
- var _path$A;
816
- function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
819
+ var _path$B;
820
+ function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
817
821
  var SvgUgSquare = function SvgUgSquare(props) {
818
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
822
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
819
823
  width: 24,
820
824
  height: 24,
821
825
  viewBox: "0 0 24 24",
822
826
  fill: "none",
823
827
  xmlns: "http://www.w3.org/2000/svg"
824
- }, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
828
+ }, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
825
829
  d: "M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19Z",
826
830
  fill: "#E80C7A"
827
831
  })));
828
832
  };
829
833
 
830
- var _path$z;
831
- function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
834
+ var _path$A;
835
+ function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
832
836
  var SvgUgCircle = function SvgUgCircle(props) {
833
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
837
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
834
838
  width: 24,
835
839
  height: 24,
836
840
  viewBox: "0 0 24 24",
837
841
  fill: "none",
838
842
  xmlns: "http://www.w3.org/2000/svg"
839
- }, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
843
+ }, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
840
844
  d: "M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
841
845
  fill: "#FFCD1A"
842
846
  })));
843
847
  };
844
848
 
845
- var _path$y;
846
- function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
849
+ var _path$z;
850
+ function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
847
851
  var SvgUgTriangle = function SvgUgTriangle(props) {
848
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
852
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
849
853
  width: 24,
850
854
  height: 24,
851
855
  viewBox: "0 0 24 24",
852
856
  fill: "none",
853
857
  xmlns: "http://www.w3.org/2000/svg"
854
- }, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
858
+ }, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
855
859
  d: "M11.9993 7.32625L18.3893 17.5563H5.60929L11.9993 7.32625ZM11.1493 4.91625L2.94929 18.0262C2.53929 18.6962 3.01929 19.5563 3.79929 19.5563H20.1993C20.9893 19.5563 21.4593 18.6962 21.0493 18.0262L12.8493 4.91625C12.4593 4.28625 11.5393 4.28625 11.1493 4.91625Z",
856
860
  fill: "#7B0DFF"
857
861
  })));
858
862
  };
859
863
 
860
- var _rect$4, _path$x, _path2$b, _path3$4;
861
- function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
864
+ var _rect$4, _path$y, _path2$b, _path3$4;
865
+ function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
862
866
  var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
863
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
867
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
864
868
  width: 24,
865
869
  height: 24,
866
870
  viewBox: "0 0 24 24",
@@ -871,7 +875,7 @@ var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
871
875
  height: 24,
872
876
  rx: 12,
873
877
  fill: "#F6F6F8"
874
- })), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
878
+ })), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
875
879
  d: "M20.6953 5.73905C21.0148 5.41953 21.0148 4.90149 20.6953 4.58197C20.3758 4.26245 19.8577 4.26245 19.5382 4.58197L11.88 12.2402L10.0849 9.95981C9.80539 9.60476 9.29098 9.54352 8.93593 9.82303C8.58088 10.1025 8.51963 10.6169 8.79914 10.972L11.1642 13.9763C11.3089 14.16 11.5252 14.2731 11.7586 14.2869C11.9921 14.3008 12.2203 14.2141 12.3856 14.0487L20.6953 5.73905Z",
876
880
  fill: "#50BF95"
877
881
  })), _path2$b || (_path2$b = /*#__PURE__*/React__namespace.createElement("path", {
@@ -883,10 +887,10 @@ var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
883
887
  })));
884
888
  };
885
889
 
886
- var _rect$3, _path$w, _path2$a;
887
- function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
890
+ var _rect$3, _path$x, _path2$a;
891
+ function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
888
892
  var SvgCampaignLocked = function SvgCampaignLocked(props) {
889
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
893
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
890
894
  width: 24,
891
895
  height: 24,
892
896
  viewBox: "0 0 24 24",
@@ -897,7 +901,7 @@ var SvgCampaignLocked = function SvgCampaignLocked(props) {
897
901
  height: 24,
898
902
  rx: 12,
899
903
  fill: "#F6F6F8"
900
- })), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
904
+ })), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
901
905
  fillRule: "evenodd",
902
906
  clipRule: "evenodd",
903
907
  d: "M13.55 19.0875C14.25 19.7875 15.1063 20.1375 16.1188 20.1375C17.1313 20.1375 17.9875 19.7875 18.6875 19.0875C19.3875 18.3875 19.7375 17.5312 19.7375 16.5187C19.7375 15.5062 19.3875 14.65 18.6875 13.95C17.9875 13.25 17.1313 12.9 16.1188 12.9C15.1063 12.9 14.25 13.25 13.55 13.95C12.85 14.65 12.5 15.5062 12.5 16.5187C12.5 17.5312 12.85 18.3875 13.55 19.0875ZM17.5062 18.2812C17.4187 18.2812 17.3375 18.25 17.2625 18.1875L15.7438 16.7812C15.6813 16.6687 15.65 16.6 15.65 16.575V14.55C15.65 14.4375 15.6875 14.3437 15.7625 14.2687C15.8375 14.1937 15.9313 14.1562 16.0438 14.1562C16.1563 14.1562 16.25 14.1937 16.325 14.2687C16.4 14.3437 16.4375 14.4375 16.4375 14.55V16.4813L17.7313 17.6625C17.8063 17.725 17.8469 17.8062 17.8531 17.9062C17.8594 18.0063 17.825 18.0938 17.75 18.1688C17.675 18.2438 17.5937 18.2812 17.5062 18.2812Z",
@@ -910,10 +914,10 @@ var SvgCampaignLocked = function SvgCampaignLocked(props) {
910
914
  })));
911
915
  };
912
916
 
913
- var _rect$2, _path$v, _path2$9;
914
- function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
917
+ var _rect$2, _path$w, _path2$9;
918
+ function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
915
919
  var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
916
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
920
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
917
921
  width: 24,
918
922
  height: 24,
919
923
  viewBox: "0 0 24 24",
@@ -924,7 +928,7 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
924
928
  height: 24,
925
929
  rx: 12,
926
930
  fill: "#F6F6F8"
927
- })), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
931
+ })), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
928
932
  d: "M11.2266 13.0313H14.997M11.2266 9.26075V13.0313V9.26075ZM11.2266 13.0313L20.121 5.03906L11.2266 13.0313Z",
929
933
  stroke: "#024780",
930
934
  strokeWidth: 1.5,
@@ -939,10 +943,10 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
939
943
  })));
940
944
  };
941
945
 
942
- var _rect$1, _path$u, _path2$8, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
943
- function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
946
+ var _rect$1, _path$v, _path2$8, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
947
+ function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
944
948
  var SvgCampaignProgress = function SvgCampaignProgress(props) {
945
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
949
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
946
950
  width: 24,
947
951
  height: 24,
948
952
  viewBox: "0 0 24 24",
@@ -953,7 +957,7 @@ var SvgCampaignProgress = function SvgCampaignProgress(props) {
953
957
  height: 24,
954
958
  rx: 12,
955
959
  fill: "#F6F6F8"
956
- })), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
960
+ })), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
957
961
  d: "M13.059 16.7647C13.059 16.1799 12.585 15.7059 12.0002 15.7059C11.4154 15.7059 10.9414 16.1799 10.9414 16.7647V19.9412C10.9414 20.5259 11.4154 21 12.0002 21C12.585 21 13.059 20.5259 13.059 19.9412V16.7647Z",
958
962
  fill: "#D1820A"
959
963
  })), _path2$8 || (_path2$8 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -986,10 +990,10 @@ var SvgCampaignProgress = function SvgCampaignProgress(props) {
986
990
  })));
987
991
  };
988
992
 
989
- var _g$7, _path$t, _path2$7, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
990
- function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
993
+ var _g$7, _path$u, _path2$7, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
994
+ function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
991
995
  var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
992
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
996
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
993
997
  width: 24,
994
998
  height: 24,
995
999
  viewBox: "0 0 24 24",
@@ -1001,7 +1005,7 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
1001
1005
  opacity: 0.3,
1002
1006
  d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",
1003
1007
  fill: "#50BF95"
1004
- }))), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
1008
+ }))), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
1005
1009
  d: "M12.487 3.19652C8.68003 3.19652 5.59895 6.27761 5.59895 10.0846C5.59895 10.2597 5.59895 10.4348 5.62438 10.5855C5.29857 11.1863 4.82307 12.013 4.24678 12.514C3.82117 12.8897 3.92096 13.2908 3.97085 13.4405C4.09609 13.7663 4.44635 14.0413 5.02265 14.2418C5.22322 14.3172 5.44825 14.3671 5.64883 14.417L5.67427 16.8464C5.67427 17.7984 6.47559 18.6251 7.45304 18.6251L8.93044 18.1496L9.08111 19.0263C9.18091 19.6026 9.68185 20.0282 10.2836 20.0282C10.3589 20.0282 10.4343 20.0282 10.5086 20.0028L15.1424 19.177C15.8185 19.0517 16.2441 18.4256 16.1443 17.7495L15.8185 16.1214C17.9974 14.9189 19.375 12.5892 19.375 10.0845C19.375 6.30279 16.2696 3.19641 12.4869 3.19641L12.487 3.19652Z",
1006
1010
  fill: "#2B8473",
1007
1011
  stroke: "#2B8473"
@@ -1058,10 +1062,10 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
1058
1062
  })));
1059
1063
  };
1060
1064
 
1061
- var _g$6, _path$s;
1062
- function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
1065
+ var _g$6, _path$t;
1066
+ function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
1063
1067
  var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
1064
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
1068
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
1065
1069
  width: 24,
1066
1070
  height: 24,
1067
1071
  viewBox: "0 0 24 24",
@@ -1073,7 +1077,7 @@ var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
1073
1077
  opacity: 0.3,
1074
1078
  d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",
1075
1079
  fill: "#003A57"
1076
- }))), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
1080
+ }))), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
1077
1081
  d: "M17.9983 7.16705C17.5188 6.58566 17.1422 6.73039 17.1422 6.73039C17.1422 6.73039 16.406 7.02453 16.0401 7.16303C15.6742 7.30153 15.2408 7.17357 15.2408 7.17357L14.7579 6.8851C14.7579 6.8851 14.4296 6.56554 14.3656 6.18067C14.3123 5.78958 14.1888 5.00269 14.1888 5.00269C14.1888 5.00269 14.1356 4.61159 13.3938 4.47257C12.652 4.33356 12.4678 4.68715 12.4678 4.68715C12.4678 4.68715 12.0932 5.38344 11.9091 5.73703C11.7249 6.09062 11.3114 6.27118 11.3114 6.27118L10.7639 6.36908C10.7639 6.36908 10.3144 6.33771 10.0176 6.07271L9.12712 5.27769C9.12712 5.27769 8.8303 5.01268 8.18313 5.38632C7.53595 5.75997 7.61705 6.14953 7.61705 6.14953L7.86033 7.3182C7.94143 7.70776 7.74381 8.11275 7.74381 8.11275L7.38528 8.53794C7.38528 8.53794 7.02217 8.80577 6.62387 8.78845C6.22557 8.77114 5.43527 8.7474 5.43527 8.7474C5.43527 8.7474 5.03697 8.73009 4.78646 9.44201C4.53595 10.1539 4.84804 10.3956 4.84804 10.3956C4.84804 10.3956 5.46774 10.896 5.77983 11.1376C6.09192 11.3793 6.19373 11.8296 6.19373 11.8296L6.20207 12.3921C6.20207 12.3921 6.09618 12.8314 5.79331 13.079C5.49043 13.3266 4.86759 13.8171 4.86759 13.8171C4.86759 13.8171 4.56471 14.0647 4.81769 14.7769C5.08144 15.4828 5.46713 15.4783 5.46713 15.4783C5.46713 15.4783 6.26012 15.4569 6.64582 15.4524C7.03152 15.4479 7.40116 15.7145 7.40116 15.7145L7.76458 16.1447C7.76458 16.1447 7.96976 16.5499 7.89441 16.9425C7.81907 17.3351 7.66208 18.1094 7.66208 18.1094C7.66208 18.1094 7.58674 18.502 8.23785 18.8824C8.88895 19.2629 9.18553 19.0044 9.18553 19.0044C9.18553 19.0044 9.7724 18.4765 10.069 18.218C10.3655 17.9595 10.8115 17.9347 10.8115 17.9347L11.3609 18.0394C11.3609 18.0394 11.77 18.225 11.9608 18.5803C12.1516 18.9356 12.5268 19.6354 12.5268 19.6354C12.5268 19.6354 12.7176 19.9907 13.4583 19.8539C14.1946 19.7343 14.2529 19.337 14.2529 19.337C14.2529 19.337 14.3586 18.5487 14.4232 18.1623C14.4814 17.765 14.8086 17.4598 14.8086 17.4598L15.2939 17.1796C15.2939 17.1796 15.7281 17.0598 16.095 17.1971C16.4682 17.3453 17.1975 17.637 17.1975 17.637C17.1975 17.637 17.5707 17.7851 18.0424 17.2073C18.5142 16.6295 18.3189 16.2913 18.3189 16.2913C18.3189 16.2913 17.9006 15.6164 17.6882 15.2736C17.4759 14.9307 17.5197 14.4836 17.5197 14.4836L17.7038 13.9555C17.7038 13.9555 17.9482 13.5816 18.3203 13.454C18.6925 13.3264 19.4431 13.0822 19.4431 13.0822C19.4431 13.0822 19.8153 12.9546 19.8113 12.2005C19.8074 11.4464 19.4297 11.3153 19.4297 11.3153C19.4297 11.3153 18.6807 11.0641 18.303 10.9331C17.9253 10.802 17.677 10.4217 17.677 10.4217L17.4861 9.8919C17.4861 9.8919 17.4293 9.4447 17.6368 9.1067C17.8443 8.7687 18.2486 8.09891 18.2486 8.09891C18.2486 8.09891 18.4778 7.74844 17.9983 7.16707L17.9983 7.16705ZM9.33902 8.38466L10.6176 10.5992C10.0433 11.149 9.82793 11.9715 10.0567 12.7413L7.86713 14.0054C6.98868 12.0106 7.60355 9.66286 9.33905 8.38457L9.33902 8.38466ZM13.9748 16.414C11.9998 17.2778 9.65918 16.6363 8.37099 14.8783L10.5605 13.6141C11.1128 14.1971 11.9329 14.4219 12.6961 14.1994L13.9748 16.414ZM12.6552 13.132C12.1159 13.4434 11.4325 13.2561 11.1176 12.7107C10.8027 12.1652 10.9822 11.4797 11.5215 11.1684C12.0608 10.857 12.7441 11.0443 13.0591 11.5897C13.374 12.1352 13.1945 12.8207 12.6552 13.132ZM14.8376 15.9158L13.5591 13.7012C14.1333 13.1515 14.3487 12.3289 14.12 11.5591L16.3095 10.295C17.188 12.2898 16.5731 14.6376 14.8376 15.9159L14.8376 15.9158ZM13.6161 10.6863C13.0638 10.1034 12.2437 9.87862 11.4805 10.1011L10.2019 7.88652C12.1769 7.02266 14.5112 7.65314 15.8057 9.42223L13.6161 10.6863Z",
1078
1082
  fill: "#003A57"
1079
1083
  })));
@@ -2409,31 +2413,31 @@ const editorStyle = styled.css `
2409
2413
  }
2410
2414
  `;
2411
2415
 
2412
- var _path$r;
2413
- function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
2416
+ var _path$s;
2417
+ function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
2414
2418
  var SvgBoldFill = function SvgBoldFill(props) {
2415
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2419
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
2416
2420
  xmlns: "http://www.w3.org/2000/svg",
2417
2421
  width: 16,
2418
2422
  height: 16,
2419
2423
  focusable: "false",
2420
2424
  viewBox: "0 0 16 16"
2421
- }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
2425
+ }, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
2422
2426
  fill: "currentColor",
2423
2427
  d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0 01-1.27 3.108C12.078 8.39 13 9.855 13 11.5c0 2.452-2.048 4.5-4.5 4.5H4a1 1 0 01-1-1V1a1 1 0 011-1h3.5zM5 14h3.5c1.348 0 2.5-1.152 2.5-2.5S9.848 9 8.5 9H5v5zM7.5 2H5v5h2.5C8.848 7 10 5.848 10 4.5S8.848 2 7.5 2z"
2424
2428
  })));
2425
2429
  };
2426
2430
 
2427
- var _path$q;
2428
- function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
2431
+ var _path$r;
2432
+ function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
2429
2433
  var SvgItalicFill = function SvgItalicFill(props) {
2430
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2434
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2431
2435
  xmlns: "http://www.w3.org/2000/svg",
2432
2436
  width: 16,
2433
2437
  height: 16,
2434
2438
  focusable: "false",
2435
2439
  viewBox: "0 0 16 16"
2436
- }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
2440
+ }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
2437
2441
  fill: "none",
2438
2442
  stroke: "currentColor",
2439
2443
  strokeLinecap: "round",
@@ -2442,16 +2446,16 @@ var SvgItalicFill = function SvgItalicFill(props) {
2442
2446
  })));
2443
2447
  };
2444
2448
 
2445
- var _path$p, _path2$6;
2446
- function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
2449
+ var _path$q, _path2$6;
2450
+ function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
2447
2451
  var SvgQuoteFill = function SvgQuoteFill(props) {
2448
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2452
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2449
2453
  xmlns: "http://www.w3.org/2000/svg",
2450
2454
  width: 16,
2451
2455
  height: 16,
2452
2456
  focusable: "false",
2453
2457
  viewBox: "0 0 16 16"
2454
- }, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
2458
+ }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
2455
2459
  fill: "currentColor",
2456
2460
  d: "M7 8H4c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1zm6 0h-3c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1z"
2457
2461
  })), _path2$6 || (_path2$6 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -2464,9 +2468,9 @@ var SvgQuoteFill = function SvgQuoteFill(props) {
2464
2468
  };
2465
2469
 
2466
2470
  var _g$5;
2467
- function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
2471
+ function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
2468
2472
  var SvgH1Fill = function SvgH1Fill(props) {
2469
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2473
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2470
2474
  xmlns: "http://www.w3.org/2000/svg",
2471
2475
  width: 16,
2472
2476
  height: 16,
@@ -2494,9 +2498,9 @@ var SvgH1Fill = function SvgH1Fill(props) {
2494
2498
  };
2495
2499
 
2496
2500
  var _g$4;
2497
- function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
2501
+ function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
2498
2502
  var SvgH2Fill = function SvgH2Fill(props) {
2499
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
2503
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2500
2504
  xmlns: "http://www.w3.org/2000/svg",
2501
2505
  width: 16,
2502
2506
  height: 16,
@@ -2524,9 +2528,9 @@ var SvgH2Fill = function SvgH2Fill(props) {
2524
2528
  };
2525
2529
 
2526
2530
  var _g$3;
2527
- function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
2531
+ function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
2528
2532
  var SvgH3Fill = function SvgH3Fill(props) {
2529
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
2533
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
2530
2534
  xmlns: "http://www.w3.org/2000/svg",
2531
2535
  width: 16,
2532
2536
  height: 16,
@@ -2663,6 +2667,7 @@ const Editor = (_a) => {
2663
2667
  };
2664
2668
  const ed = react.useEditor(Object.assign({ extensions: [
2665
2669
  Typography__default["default"],
2670
+ Link__default["default"],
2666
2671
  StarterKit__default["default"],
2667
2672
  Placeholder__default["default"].configure(Object.assign({ placeholder: ({ node }) => {
2668
2673
  if (node.type.name === "heading") {
@@ -2737,9 +2742,9 @@ const Hint = styled__default["default"](reactForms.Hint) ``;
2737
2742
  const Input = React.forwardRef((props, ref) => jsxRuntime.jsx(UgInput, Object.assign({ ref: ref }, props)));
2738
2743
 
2739
2744
  var _g$2;
2740
- function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
2745
+ function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
2741
2746
  var SvgNotesStroke = function SvgNotesStroke(props) {
2742
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
2747
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
2743
2748
  xmlns: "http://www.w3.org/2000/svg",
2744
2749
  width: 16,
2745
2750
  height: 16,
@@ -2858,16 +2863,16 @@ const UgRadio = styled__default["default"](reactForms.Radio) ``;
2858
2863
  **/
2859
2864
  const Radio = (props) => jsxRuntime.jsx(UgRadio, Object.assign({}, props));
2860
2865
 
2861
- var _path$o;
2862
- function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
2866
+ var _path$p;
2867
+ function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
2863
2868
  var SvgCheckLg = function SvgCheckLg(props) {
2864
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
2869
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
2865
2870
  width: 16,
2866
2871
  height: 16,
2867
2872
  viewBox: "0 0 16 16",
2868
2873
  fill: "#68737D",
2869
2874
  xmlns: "http://www.w3.org/2000/svg"
2870
- }, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
2875
+ }, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
2871
2876
  fillRule: "evenodd",
2872
2877
  clipRule: "evenodd",
2873
2878
  d: "M14.6464 2.64645C14.8417 2.45118 15.1583 2.45118 15.3536 2.64645C15.5488 2.84171 15.5488 3.15829 15.3536 3.35355L5.35355 13.3536C5.15829 13.5488 4.84171 13.5488 4.64645 13.3536L0.646447 9.35355C0.451184 9.15829 0.451184 8.84171 0.646447 8.64645C0.841709 8.45118 1.15829 8.45118 1.35355 8.64645L5 12.2929L14.6464 2.64645Z"
@@ -3060,16 +3065,16 @@ const Body$1 = (props) => jsxRuntime.jsx(UgBody, Object.assign({}, props));
3060
3065
  */
3061
3066
  const Content$1 = (props) => jsxRuntime.jsx(reactChrome.Content, Object.assign({}, props));
3062
3067
 
3063
- var _path$n;
3064
- function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
3068
+ var _path$o;
3069
+ function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
3065
3070
  var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
3066
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
3071
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
3067
3072
  xmlns: "http://www.w3.org/2000/svg",
3068
3073
  width: 16,
3069
3074
  height: 16,
3070
3075
  focusable: "false",
3071
3076
  viewBox: "0 0 16 16"
3072
- }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
3077
+ }, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
3073
3078
  fill: "currentColor",
3074
3079
  d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
3075
3080
  })));
@@ -3117,16 +3122,16 @@ const Logo = (props) => {
3117
3122
  }[props.type] })));
3118
3123
  };
3119
3124
 
3120
- var _path$m;
3121
- function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
3125
+ var _path$n;
3126
+ function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
3122
3127
  var SvgMenuStroke = function SvgMenuStroke(props) {
3123
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
3128
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
3124
3129
  xmlns: "http://www.w3.org/2000/svg",
3125
3130
  width: 16,
3126
3131
  height: 16,
3127
3132
  focusable: "false",
3128
3133
  viewBox: "0 0 16 16"
3129
- }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
3134
+ }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
3130
3135
  fill: "none",
3131
3136
  stroke: "currentColor",
3132
3137
  strokeLinecap: "round",
@@ -3266,31 +3271,31 @@ const NavItemIcon = (props) => jsxRuntime.jsx(UgNavIcon, Object.assign({}, props
3266
3271
 
3267
3272
  const NavItemText = (props) => (jsxRuntime.jsx(reactChrome.NavItemText, Object.assign({}, props, { children: jsxRuntime.jsx(Ellipsis, Object.assign({ style: { width: "158px" } }, { children: props.children })) })));
3268
3273
 
3269
- var _path$l;
3270
- function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
3274
+ var _path$m;
3275
+ function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
3271
3276
  var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
3272
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3277
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
3273
3278
  xmlns: "http://www.w3.org/2000/svg",
3274
3279
  width: 16,
3275
3280
  height: 16,
3276
3281
  focusable: "false",
3277
3282
  viewBox: "0 0 16 16"
3278
- }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3283
+ }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
3279
3284
  fill: "currentColor",
3280
3285
  d: "M5.61 3.312a.5.5 0 01.718-.69l.062.066 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
3281
3286
  })));
3282
3287
  };
3283
3288
 
3284
- var _path$k;
3285
- function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
3289
+ var _path$l;
3290
+ function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
3286
3291
  var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
3287
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3292
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3288
3293
  xmlns: "http://www.w3.org/2000/svg",
3289
3294
  width: 16,
3290
3295
  height: 16,
3291
3296
  focusable: "false",
3292
3297
  viewBox: "0 0 16 16"
3293
- }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3298
+ }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3294
3299
  fill: "currentColor",
3295
3300
  d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
3296
3301
  })));
@@ -3390,16 +3395,16 @@ NavAccordionItem.Panel = AccordionItemPanel;
3390
3395
  NavAccordionItem.Header = AccordionItemHeader;
3391
3396
  NavAccordionItem.Label = AccordionItemLabel;
3392
3397
 
3393
- var _path$j;
3394
- function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
3398
+ var _path$k;
3399
+ function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
3395
3400
  var SvgHomeFill = function SvgHomeFill(props) {
3396
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3401
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3397
3402
  width: 26,
3398
3403
  height: 26,
3399
3404
  viewBox: "0 0 26 26",
3400
3405
  fill: "none",
3401
3406
  xmlns: "http://www.w3.org/2000/svg"
3402
- }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3407
+ }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3403
3408
  fillRule: "evenodd",
3404
3409
  clipRule: "evenodd",
3405
3410
  d: "M11.027 21H5.973C5.436 21 5 20.523 5 19.935V17.065C5 16.475 5.436 16 5.973 16H11.027C11.564 16 12 16.476 12 17.065V19.935C12 20.523 11.564 21 11.027 21ZM11.024 14H5.977C5.437 14 5 13.577 5 13.055V5.945C5 5.425 5.438 5 5.977 5H11.024C11.564 5 12 5.424 12 5.946V13.056C12 13.577 11.563 14 11.024 14ZM14.979 5H20.021C20.561 5 21 5.478 21 6.069V8.932C21 9.522 20.561 10 20.021 10H14.979C14.439 10 14 9.522 14 8.932V6.07C14 5.48 14.439 5.001 14.979 5.001M14.972 12H20.028C20.565 12 21 12.42 21 12.94V20.06C21 20.579 20.565 21 20.028 21H14.972C14.435 21 14 20.579 14 20.06V12.94C14 12.42 14.435 12 14.972 12Z",
@@ -3407,10 +3412,10 @@ var SvgHomeFill = function SvgHomeFill(props) {
3407
3412
  })));
3408
3413
  };
3409
3414
 
3410
- var _linearGradient, _path$i;
3411
- function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
3415
+ var _linearGradient, _path$j;
3416
+ function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
3412
3417
  var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3413
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3418
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3414
3419
  width: 26,
3415
3420
  height: 26,
3416
3421
  viewBox: "0 0 26 26",
@@ -3426,7 +3431,7 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3426
3431
  className: "stop3",
3427
3432
  offset: "100%",
3428
3433
  stopColor: "#001825"
3429
- }))), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3434
+ }))), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3430
3435
  fill: "url(#unguessIconGradient)",
3431
3436
  fillRule: "evenodd",
3432
3437
  clipRule: "evenodd",
@@ -3435,9 +3440,9 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3435
3440
  };
3436
3441
 
3437
3442
  var _g$1, _defs$2;
3438
- function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
3443
+ function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
3439
3444
  var SvgToken = function SvgToken(props) {
3440
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3445
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3441
3446
  fill: "none",
3442
3447
  viewBox: "0 0 32 32",
3443
3448
  xmlns: "http://www.w3.org/2000/svg"
@@ -3473,16 +3478,16 @@ var SvgToken = function SvgToken(props) {
3473
3478
  })))));
3474
3479
  };
3475
3480
 
3476
- var _path$h;
3477
- function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
3481
+ var _path$i;
3482
+ function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
3478
3483
  var SvgProjectsIcon = function SvgProjectsIcon(props) {
3479
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3484
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3480
3485
  width: 26,
3481
3486
  height: 26,
3482
3487
  viewBox: "0 0 26 26",
3483
3488
  fill: "none",
3484
3489
  xmlns: "http://www.w3.org/2000/svg"
3485
- }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3490
+ }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3486
3491
  fillRule: "evenodd",
3487
3492
  clipRule: "evenodd",
3488
3493
  d: "M20.5 8H14.25V7.375C14.25 6.34232 13.4077 5.5 12.375 5.5H6.125C5.09232 5.5 4.25 6.34232 4.25 7.375V13.005C3.53426 13.0685 3.01354 13.7329 3.1335 14.4527L4.171 20.7027C4.27098 21.3026 4.79293 21.75 5.4 21.75H20.6C21.2071 21.75 21.729 21.3026 21.829 20.7027L22.8666 14.4523C22.9865 13.7329 22.4657 13.0685 21.75 13.005V9.25C21.75 8.55482 21.1952 8 20.5 8ZM21.633 14.25H4.36695L5.404 20.4973C5.40404 20.4974 20.6 20.5 20.6 20.5C20.5929 20.5 21.633 14.25 21.633 14.25ZM5.5 13H20.5V9.25H13V7.375C13 7.03268 12.7173 6.75 12.375 6.75H6.125C5.78268 6.75 5.5 7.03268 5.5 7.375V13Z",
@@ -3491,16 +3496,16 @@ var SvgProjectsIcon = function SvgProjectsIcon(props) {
3491
3496
  })));
3492
3497
  };
3493
3498
 
3494
- var _path$g, _defs$1;
3495
- function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
3499
+ var _path$h, _defs$1;
3500
+ function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
3496
3501
  var SvgTemplates = function SvgTemplates(props) {
3497
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
3502
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3498
3503
  width: 26,
3499
3504
  height: 26,
3500
3505
  viewBox: "0 0 26 26",
3501
3506
  fill: "none",
3502
3507
  xmlns: "http://www.w3.org/2000/svg"
3503
- }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
3508
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3504
3509
  fillRule: "evenodd",
3505
3510
  clipRule: "evenodd",
3506
3511
  d: "M8 5H3.5C3.2 5 3 5.2 3 5.5V18.5C3 18.8 3.2 19 3.5 19H7C10 19 11 21 11 21H12V7C12 6.9 11 5 8 5ZM9 15H6C5.5 15 5 14.5 5 14C5 13.5 5.5 13 6 13H9C9.5 13 10 13.5 10 14C10 14.5 9.5 15 9 15ZM9 11H6C5.5 11 5 10.5 5 10C5 9.5 5.5 9 6 9H9C9.5 9 10 9.5 10 10C10 10.5 9.5 11 9 11ZM14 7V21H15C15 21 16 19 19 19H22.5C22.8 19 23 18.8 23 18.5V5.5C23 5.2 22.8 5 22.5 5H18C15 5 14 6.9 14 7ZM16 14C16 13.5 16.5 13 17 13H20C20.5 13 21 13.5 21 14C21 14.5 20.5 15 20 15H17C16.5 15 16 14.5 16 14ZM16 10C16 9.5 16.5 9 17 9H20C20.5 9 21 9.5 21 10C21 10.5 20.5 11 20 11H17C16.5 11 16 10.5 16 10Z",
@@ -3520,16 +3525,16 @@ var SvgTemplates = function SvgTemplates(props) {
3520
3525
  })))));
3521
3526
  };
3522
3527
 
3523
- var _path$f, _defs;
3524
- function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
3528
+ var _path$g, _defs;
3529
+ function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
3525
3530
  var SvgTemplatesActive = function SvgTemplatesActive(props) {
3526
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
3531
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
3527
3532
  width: 26,
3528
3533
  height: 26,
3529
3534
  viewBox: "0 0 26 26",
3530
3535
  fill: "none",
3531
3536
  xmlns: "http://www.w3.org/2000/svg"
3532
- }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
3537
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
3533
3538
  fillRule: "evenodd",
3534
3539
  clipRule: "evenodd",
3535
3540
  d: "M8 5H3.5C3.2 5 3 5.2 3 5.5V18.5C3 18.8 3.2 19 3.5 19H7C10 19 11 21 11 21H12V7C12 6.9 11 5 8 5ZM9 15H6C5.5 15 5 14.5 5 14C5 13.5 5.5 13 6 13H9C9.5 13 10 13.5 10 14C10 14.5 9.5 15 9 15ZM9 11H6C5.5 11 5 10.5 5 10C5 9.5 5.5 9 6 9H9C9.5 9 10 9.5 10 10C10 10.5 9.5 11 9 11ZM14 7V21H15C15 21 16 19 19 19H22.5C22.8 19 23 18.8 23 18.5V5.5C23 5.2 22.8 5 22.5 5H18C15 5 14 6.9 14 7ZM16 14C16 13.5 16.5 13 17 13H20C20.5 13 21 13.5 21 14C21 14.5 20.5 15 20 15H17C16.5 15 16 14.5 16 14ZM16 10C16 9.5 16.5 9 17 9H20C20.5 9 21 9.5 21 10C21 10.5 20.5 11 20 11H17C16.5 11 16 10.5 16 10Z",
@@ -3727,16 +3732,16 @@ const LoginForm = (props) => {
3727
3732
  } }))] })), props.onBackClick && (jsxRuntime.jsxs(Button, Object.assign({ onClick: props.onBackClick, isBasic: true, style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.backToLabel || "Back to UNGUESS"] })))] }));
3728
3733
  };
3729
3734
 
3730
- var _path$e;
3731
- function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
3735
+ var _path$f;
3736
+ function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
3732
3737
  var SvgPlus = function SvgPlus(props) {
3733
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
3738
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
3734
3739
  width: 16,
3735
3740
  height: 16,
3736
3741
  viewBox: "0 0 16 16",
3737
3742
  fill: "none",
3738
3743
  xmlns: "http://www.w3.org/2000/svg"
3739
- }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
3744
+ }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
3740
3745
  fillRule: "evenodd",
3741
3746
  clipRule: "evenodd",
3742
3747
  d: "M7.5 2C7.22386 2 7 2.22386 7 2.5V8H1.5C1.22386 8 1 8.22386 1 8.5C1 8.77614 1.22386 9 1.5 9H7V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V9H13.5C13.7761 9 14 8.77614 14 8.5C14 8.22386 13.7761 8 13.5 8H8V2.5C8 2.22386 7.77614 2 7.5 2Z",
@@ -4040,25 +4045,25 @@ const PlayerTooltip = (_a) => {
4040
4045
  return (jsxRuntime.jsx(Wrapper, Object.assign({}, props, { children: jsxRuntime.jsx(Content, { children: children }) })));
4041
4046
  };
4042
4047
 
4043
- var _path$d;
4044
- function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
4048
+ var _path$e;
4049
+ function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
4045
4050
  var SvgPlayFill = function SvgPlayFill(props) {
4046
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
4051
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
4047
4052
  xmlns: "http://www.w3.org/2000/svg",
4048
4053
  width: 16,
4049
4054
  height: 16,
4050
4055
  focusable: "false",
4051
4056
  viewBox: "0 0 16 16"
4052
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
4057
+ }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
4053
4058
  fill: "currentColor",
4054
4059
  d: "M6 15.79c-.13 0-.26-.03-.38-.08a.977.977 0 01-.62-.92V1.21a1 1 0 01.62-.93C6 .12 6.42.21 6.71.5l6.44 6.44c.58.58.58 1.54 0 2.12L6.71 15.5c-.19.19-.45.29-.71.29z"
4055
4060
  })));
4056
4061
  };
4057
4062
 
4058
4063
  var _g;
4059
- function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
4064
+ function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
4060
4065
  var SvgPauseFill = function SvgPauseFill(props) {
4061
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
4066
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
4062
4067
  xmlns: "http://www.w3.org/2000/svg",
4063
4068
  width: 16,
4064
4069
  height: 16,
@@ -4083,16 +4088,16 @@ var SvgPauseFill = function SvgPauseFill(props) {
4083
4088
  }))));
4084
4089
  };
4085
4090
 
4086
- var _path$c, _path2$5, _path3$1;
4087
- function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
4091
+ var _path$d, _path2$5, _path3$1;
4092
+ function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
4088
4093
  var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
4089
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
4094
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
4090
4095
  width: 16,
4091
4096
  height: 16,
4092
4097
  viewBox: "0 0 16 16",
4093
4098
  fill: "none",
4094
4099
  xmlns: "http://www.w3.org/2000/svg"
4095
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
4100
+ }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
4096
4101
  fillRule: "evenodd",
4097
4102
  clipRule: "evenodd",
4098
4103
  d: "M11.659 3.5C10.7411 2.85974 9.65081 2.5 8.5 2.5C5.45228 2.5 3 4.95228 3 8C3 11.0477 5.45228 13.5 8.5 13.5C10.2023 13.5 11.7457 12.7171 12.8191 11.3753C13.1641 10.944 13.7934 10.8741 14.2247 11.2191C14.656 11.5641 14.7259 12.1934 14.3809 12.6247C12.9372 14.4292 10.8263 15.5 8.5 15.5C4.34772 15.5 1 12.1523 1 8C1 3.84772 4.34772 0.5 8.5 0.5C10.1564 0.5 11.7168 1.04496 13 2.00147V1C13 0.447715 13.4477 0 14 0C14.5523 0 15 0.447715 15 1V4C15 4.85228 14.3523 5.5 13.5 5.5H10.5C9.94771 5.5 9.5 5.05228 9.5 4.5C9.5 3.94772 9.94771 3.5 10.5 3.5H11.659Z",
@@ -4106,16 +4111,16 @@ var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
4106
4111
  })));
4107
4112
  };
4108
4113
 
4109
- var _path$b, _path2$4, _path3;
4110
- function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
4114
+ var _path$c, _path2$4, _path3;
4115
+ function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
4111
4116
  var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
4112
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
4117
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
4113
4118
  width: 16,
4114
4119
  height: 16,
4115
4120
  viewBox: "0 0 16 16",
4116
4121
  fill: "none",
4117
4122
  xmlns: "http://www.w3.org/2000/svg"
4118
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
4123
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
4119
4124
  fillRule: "evenodd",
4120
4125
  clipRule: "evenodd",
4121
4126
  d: "M4.34099 3.5C5.25886 2.85974 6.34919 2.5 7.5 2.5C10.5477 2.5 13 4.95228 13 8C13 11.0477 10.5477 13.5 7.5 13.5C5.79771 13.5 4.25432 12.7171 3.18087 11.3753C2.83586 10.944 2.20657 10.8741 1.7753 11.2191C1.34404 11.5641 1.27412 12.1934 1.61913 12.6247C3.06275 14.4292 5.17372 15.5 7.5 15.5C11.6523 15.5 15 12.1523 15 8C15 3.84772 11.6523 0.5 7.5 0.5C5.84359 0.5 4.28318 1.04496 3 2.00147V1C3 0.447715 2.55229 0 2 0C1.44771 0 1 0.447715 1 1V4C1 4.85228 1.64772 5.5 2.5 5.5H5.5C6.05229 5.5 6.5 5.05228 6.5 4.5C6.5 3.94772 6.05229 3.5 5.5 3.5H4.34099Z",
@@ -4129,16 +4134,16 @@ var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
4129
4134
  })));
4130
4135
  };
4131
4136
 
4132
- var _path$a, _path2$3;
4133
- function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
4137
+ var _path$b, _path2$3;
4138
+ function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
4134
4139
  var SvgPreviousFill = function SvgPreviousFill(props) {
4135
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
4140
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
4136
4141
  xmlns: "http://www.w3.org/2000/svg",
4137
4142
  width: 16,
4138
4143
  height: 16,
4139
4144
  focusable: "false",
4140
4145
  viewBox: "0 0 24 24"
4141
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
4146
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
4142
4147
  d: "M2.75 20C2.75 20.5523 3.19772 21 3.75 21C4.30228 21 4.75 20.5523 4.75 20L4.75 4C4.75 3.44772 4.30229 3 3.75 3C3.19772 3 2.75 3.44772 2.75 4V20Z",
4143
4148
  fill: "currentColor"
4144
4149
  })), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -4173,8 +4178,12 @@ const StyledDiv$4 = styled__default["default"].div `
4173
4178
  display: flex;
4174
4179
  align-items: center;
4175
4180
  `;
4176
- const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4181
+ const ControlsGroupCenter = () => {
4182
+ var _a;
4177
4183
  const [playBackRate, setPlayBackRate] = React.useState(1);
4184
+ const { context, togglePlay } = Video.useVideoContext();
4185
+ const videoRef = (_a = context.player) === null || _a === void 0 ? void 0 : _a.ref.current;
4186
+ const isPlaying = context.isPlaying;
4178
4187
  React.useEffect(() => {
4179
4188
  if (videoRef) {
4180
4189
  setPlayBackRate(videoRef.playbackRate);
@@ -4192,19 +4201,6 @@ const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4192
4201
  const nextTime = videoRef.currentTime + 10;
4193
4202
  videoRef.currentTime = nextTime;
4194
4203
  };
4195
- const handlePlay = React.useCallback((e) => {
4196
- if (!videoRef)
4197
- return;
4198
- if (videoRef.paused) {
4199
- videoRef.play();
4200
- onPlayChange === null || onPlayChange === void 0 ? void 0 : onPlayChange(true);
4201
- }
4202
- else {
4203
- videoRef.pause();
4204
- onPlayChange === null || onPlayChange === void 0 ? void 0 : onPlayChange(false);
4205
- }
4206
- e.stopPropagation();
4207
- }, [videoRef, isPlaying]);
4208
4204
  return (jsxRuntime.jsxs(StyledDiv$4, { children: [jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4209
4205
  if (videoRef) {
4210
4206
  videoRef.currentTime = 0;
@@ -4213,7 +4209,7 @@ const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4213
4209
  } }, { children: jsxRuntime.jsx(SvgPreviousFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4214
4210
  onRewind();
4215
4211
  e.stopPropagation();
4216
- } }, { children: jsxRuntime.jsx(SvgBackSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, size: "large", onClick: handlePlay }, { children: isPlaying ? (jsxRuntime.jsx(SvgPauseFill, { style: { width: "24px", height: "24px" } })) : (jsxRuntime.jsx(SvgPlayFill, { style: { width: "24px", height: "24px" } })) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4212
+ } }, { children: jsxRuntime.jsx(SvgBackSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, size: "large", onClick: togglePlay }, { children: isPlaying ? (jsxRuntime.jsx(SvgPauseFill, { style: { width: "24px", height: "24px" } })) : (jsxRuntime.jsx(SvgPlayFill, { style: { width: "24px", height: "24px" } })) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4217
4213
  onForward();
4218
4214
  e.stopPropagation();
4219
4215
  } }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, isPill: true, onClick: (e) => {
@@ -4239,16 +4235,16 @@ const StyledDiv$3 = styled__default["default"].div `
4239
4235
  `;
4240
4236
  const TimeLabel = ({ current, duration, }) => (jsxRuntime.jsx(StyledDiv$3, { children: jsxRuntime.jsxs(SM, Object.assign({ tag: "span" }, { children: [current, "/", duration] })) }));
4241
4237
 
4242
- var _path$9, _path2$2;
4243
- function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
4238
+ var _path$a, _path2$2;
4239
+ function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
4244
4240
  var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
4245
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
4241
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
4246
4242
  xmlns: "http://www.w3.org/2000/svg",
4247
4243
  width: 16,
4248
4244
  height: 16,
4249
4245
  focusable: "false",
4250
4246
  viewBox: "0 0 16 16"
4251
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
4247
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
4252
4248
  stroke: "currentColor",
4253
4249
  strokeLinecap: "round",
4254
4250
  d: "M11.5 10l4-4m-4 0l4 4"
@@ -4258,16 +4254,16 @@ var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
4258
4254
  })));
4259
4255
  };
4260
4256
 
4261
- var _path$8, _path2$1;
4262
- function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
4257
+ var _path$9, _path2$1;
4258
+ function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
4263
4259
  var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
4264
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
4260
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
4265
4261
  xmlns: "http://www.w3.org/2000/svg",
4266
4262
  width: 16,
4267
4263
  height: 16,
4268
4264
  focusable: "false",
4269
4265
  viewBox: "0 0 16 16"
4270
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
4266
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
4271
4267
  fill: "currentColor",
4272
4268
  d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0 011.71.71V14.3a.986.986 0 01-1 .99z"
4273
4269
  })), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -4278,18 +4274,19 @@ var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
4278
4274
  })));
4279
4275
  };
4280
4276
 
4281
- const AudioButton = (props) => {
4282
- const [isMuted, setIsMuted] = React.useState(false);
4277
+ const AudioButton = () => {
4283
4278
  const [hasAudio, setHasAudio] = React.useState(false);
4284
- const { videoRef } = props;
4279
+ const { isMuted, setMuted, context } = Video.useVideoContext();
4280
+ const { player } = context;
4285
4281
  const checkAudio = (video) => {
4286
4282
  if (!video) {
4287
4283
  return false;
4288
4284
  }
4285
+ console.log("hasAudio?", video);
4289
4286
  const videohasAudio = video.mozHasAudio ||
4290
4287
  Boolean(video.webkitAudioDecodedByteCount) ||
4291
4288
  Boolean(video.audioTracks && video.audioTracks.length);
4292
- return videohasAudio;
4289
+ setHasAudio(videohasAudio);
4293
4290
  };
4294
4291
  const hasVolume = (video) => {
4295
4292
  if (!video) {
@@ -4297,68 +4294,74 @@ const AudioButton = (props) => {
4297
4294
  }
4298
4295
  return video.volume > 0;
4299
4296
  };
4300
- const handleAudio = () => {
4301
- setHasAudio(checkAudio(videoRef));
4302
- };
4303
4297
  React.useEffect(() => {
4304
- if (videoRef) {
4305
- setIsMuted(!hasVolume(videoRef));
4306
- videoRef.addEventListener("loadeddata", handleAudio);
4298
+ if (player && (player === null || player === void 0 ? void 0 : player.ref)) {
4299
+ setMuted(!hasVolume(player.ref.current));
4300
+ checkAudio(player.ref.current);
4307
4301
  }
4308
- return () => {
4309
- if (videoRef) {
4310
- videoRef.removeEventListener("loadeddata", handleAudio);
4311
- }
4312
- };
4313
- }, [videoRef]);
4314
- return (jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, disabled: !checkAudio(videoRef || null), onClick: () => {
4315
- if (videoRef) {
4316
- videoRef.volume = videoRef.volume > 0 ? 0 : 1;
4317
- setIsMuted(!videoRef.volume);
4302
+ }, [context.isPlaying, isMuted]);
4303
+ return (jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, disabled: !hasAudio, onClick: () => {
4304
+ if (player === null || player === void 0 ? void 0 : player.ref.current) {
4305
+ player.ref.current.volume = player.ref.current.volume > 0 ? 0 : 1;
4306
+ setMuted(!player.ref.current.volume);
4318
4307
  }
4319
4308
  } }, { children: isMuted || !hasAudio ? jsxRuntime.jsx(SvgVolumeMutedFill, {}) : jsxRuntime.jsx(SvgVolumeUnmutedFill, {}) })));
4320
4309
  };
4321
4310
 
4322
- var _path$7;
4323
- function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
4311
+ var _path$8;
4312
+ function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
4324
4313
  var SvgMaximizeFill = function SvgMaximizeFill(props) {
4325
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
4314
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
4326
4315
  xmlns: "http://www.w3.org/2000/svg",
4327
4316
  width: 16,
4328
4317
  height: 16,
4329
4318
  focusable: "false",
4330
4319
  viewBox: "0 0 16 16"
4331
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
4320
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
4332
4321
  fill: "currentColor",
4333
4322
  d: "M16 4.29V1c0-.55-.45-1-1-1h-3.29c-.45 0-.67.54-.35.85l3.79 3.79c.31.32.85.1.85-.35zM0 11.71V15c0 .55.45 1 1 1h3.29c.45 0 .67-.54.35-.85L.85 11.36a.495.495 0 00-.85.35zm0-7.42V1c0-.55.45-1 1-1h3.29c.45 0 .67.54.35.85L.85 4.65A.5.5 0 010 4.29zm16 7.42V15c0 .55-.45 1-1 1h-3.29c-.45 0-.67-.54-.35-.85l3.79-3.79c.31-.32.85-.1.85.35z"
4334
4323
  })));
4335
4324
  };
4336
4325
 
4337
- const FullScreenButton = (props) => {
4338
- const { videoRef } = props;
4339
- const { requestFullscreen, webkitRequestFullscreen, mozRequestFullScreen, webkitEnterFullscreen, msRequestFullscreen, } = videoRef || {};
4326
+ const FullScreenButton = ({ container, }) => {
4327
+ const { setFullScreen, isFullScreen } = Video.useVideoContext();
4328
+ const ref = container;
4329
+ const { requestFullscreen, webkitRequestFullscreen, mozRequestFullScreen, webkitEnterFullscreen, msRequestFullscreen, } = ref || {};
4340
4330
  const handleFullScreen = React.useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
4341
- if (videoRef) {
4342
- if (videoRef.requestFullscreen) {
4343
- yield videoRef.requestFullscreen();
4344
- }
4345
- else if (videoRef.webkitRequestFullscreen) {
4346
- yield videoRef.webkitRequestFullscreen();
4347
- }
4348
- else if (videoRef.mozRequestFullScreen) {
4349
- yield videoRef.mozRequestFullScreen();
4350
- }
4351
- else if (videoRef.webkitEnterFullscreen) {
4352
- // iOS
4353
- yield videoRef.webkitEnterFullscreen();
4331
+ if (ref) {
4332
+ if (!isFullScreen) {
4333
+ setFullScreen(true);
4334
+ if (ref.requestFullscreen) {
4335
+ yield ref.requestFullscreen();
4336
+ }
4337
+ else if (ref.webkitRequestFullscreen) {
4338
+ yield ref.webkitRequestFullscreen();
4339
+ }
4340
+ else if (ref.mozRequestFullScreen) {
4341
+ yield ref.mozRequestFullScreen();
4342
+ }
4343
+ else if (ref.webkitEnterFullscreen) {
4344
+ // iOS
4345
+ yield ref.webkitEnterFullscreen();
4346
+ }
4347
+ else if (ref.msRequestFullscreen) {
4348
+ yield ref.msRequestFullscreen();
4349
+ }
4350
+ else {
4351
+ console.error("Fullscreen API is not supported");
4352
+ setFullScreen(false);
4353
+ }
4354
4354
  }
4355
- else if (videoRef.msRequestFullscreen) {
4356
- yield videoRef.msRequestFullscreen();
4355
+ else {
4356
+ if (document.fullscreenElement) {
4357
+ yield document.exitFullscreen();
4358
+ }
4359
+ setFullScreen(false);
4357
4360
  }
4358
4361
  }
4359
- }), [videoRef]);
4362
+ }), [ref, isFullScreen]);
4360
4363
  const canGoFullScreen = React.useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
4361
- if (videoRef) {
4364
+ if (ref) {
4362
4365
  return (requestFullscreen ||
4363
4366
  webkitRequestFullscreen ||
4364
4367
  mozRequestFullScreen ||
@@ -4366,7 +4369,7 @@ const FullScreenButton = (props) => {
4366
4369
  msRequestFullscreen);
4367
4370
  }
4368
4371
  return false;
4369
- }), [videoRef]);
4372
+ }), [ref]);
4370
4373
  return (jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4371
4374
  handleFullScreen();
4372
4375
  e.stopPropagation();
@@ -4379,7 +4382,7 @@ const ControlsWrapper = styled__default["default"].div `
4379
4382
  left: 0;
4380
4383
  right: 0;
4381
4384
  padding: ${({ theme }) => theme.space.xxs} 0;
4382
- background-color: ${({ theme }) => theme.palette.grey[700]};
4385
+ background-color: ${({ theme }) => reactTheming.getColor(theme.palette.grey, 700, undefined, 0.8)};
4383
4386
  ${({ isPlaying }) => isPlaying && "display: none;"}
4384
4387
  z-index: 2;
4385
4388
  `;
@@ -4410,14 +4413,16 @@ const StyledDiv$2 = styled__default["default"].div `
4410
4413
  display: flex;
4411
4414
  align-items: center;
4412
4415
  `;
4413
- const Controls = (props) => {
4414
- const { videoRef, onPlayChange, isPlaying, duration } = props;
4416
+ const Controls = ({ container, }) => {
4417
+ var _a, _b;
4415
4418
  const [progress, setProgress] = React.useState(0);
4416
4419
  const [tooltipMargin, setTooltipMargin] = React.useState(0);
4417
4420
  const [tooltipLabel, setTooltipLabel] = React.useState("00:00");
4418
4421
  const progressRef = React.useRef(null);
4422
+ const { context, setCurrentTime } = Video.useVideoContext();
4419
4423
  const getVideoPositionFromEvent = (clientX) => {
4420
- const totalTime = (videoRef === null || videoRef === void 0 ? void 0 : videoRef.duration) || duration || 0;
4424
+ var _a;
4425
+ const totalTime = ((_a = context.player) === null || _a === void 0 ? void 0 : _a.totalTime) || 0;
4421
4426
  if (progressRef && progressRef.current && totalTime) {
4422
4427
  const bounds = progressRef.current.getBoundingClientRect();
4423
4428
  const x = clientX - bounds.left;
@@ -4426,16 +4431,11 @@ const Controls = (props) => {
4426
4431
  }
4427
4432
  return 0;
4428
4433
  };
4429
- const handleProgressUpdate = React.useCallback(() => {
4430
- const totalTime = (videoRef === null || videoRef === void 0 ? void 0 : videoRef.duration) || duration || 0;
4431
- const currentTime = (videoRef === null || videoRef === void 0 ? void 0 : videoRef.currentTime) || 0;
4432
- setProgress((currentTime / totalTime) * 100);
4433
- }, [duration, videoRef]);
4434
4434
  const handleSkipAhead = React.useCallback((pageX) => {
4435
- if (videoRef) {
4436
- videoRef.currentTime = getVideoPositionFromEvent(pageX);
4437
- }
4438
- }, [videoRef]);
4435
+ const time = getVideoPositionFromEvent(pageX);
4436
+ setCurrentTime(time);
4437
+ setProgress(getProgress(time));
4438
+ }, [context.player]);
4439
4439
  const onMouseEvent = (e) => {
4440
4440
  if (progressRef && progressRef.current) {
4441
4441
  const tooltipWidth = 40;
@@ -4449,16 +4449,33 @@ const Controls = (props) => {
4449
4449
  }
4450
4450
  };
4451
4451
  React.useEffect(() => {
4452
- if (videoRef) {
4453
- videoRef.addEventListener("timeupdate", handleProgressUpdate);
4454
- }
4455
- return () => {
4456
- if (videoRef) {
4457
- videoRef.removeEventListener("timeupdate", handleProgressUpdate);
4458
- }
4459
- };
4460
- }, [videoRef]);
4461
- return (jsxRuntime.jsxs(ControlsWrapper, Object.assign({ isPlaying: isPlaying }, { children: [jsxRuntime.jsxs(ProgressContainer, Object.assign({ onMouseEnter: onMouseEvent, onMouseMove: onMouseEvent, onMouseLeave: onMouseEvent }, { children: [jsxRuntime.jsx(StyledTooltip, Object.assign({ style: { marginLeft: `${tooltipMargin}px` } }, { children: tooltipLabel })), jsxRuntime.jsx(TimeLabel, { current: formatDuration((videoRef === null || videoRef === void 0 ? void 0 : videoRef.currentTime) || 0), duration: formatDuration(duration) }), jsxRuntime.jsx(StyledProgress, { ref: progressRef, value: progress, onClick: (e) => handleSkipAhead(e.clientX) })] })), jsxRuntime.jsxs(ControlsBar, { children: [jsxRuntime.jsx(StyledDiv$2, { children: jsxRuntime.jsx(AudioButton, { videoRef: videoRef }) }), jsxRuntime.jsx(ControlsGroupCenter, { videoRef: videoRef, onPlayChange: onPlayChange, isPlaying: isPlaying }), jsxRuntime.jsx(StyledDiv$2, { children: jsxRuntime.jsx(FullScreenButton, { videoRef: videoRef }) })] })] })));
4452
+ var _a;
4453
+ const currentTime = ((_a = context.player) === null || _a === void 0 ? void 0 : _a.currentTime) || 0;
4454
+ setProgress(getProgress(currentTime));
4455
+ }, [context.player]);
4456
+ const getProgress = React.useCallback((currentTime) => {
4457
+ var _a;
4458
+ const totalTime = ((_a = context.player) === null || _a === void 0 ? void 0 : _a.totalTime) || 0;
4459
+ if (totalTime === 0)
4460
+ return 0;
4461
+ return (currentTime / totalTime) * 100;
4462
+ }, [context.player]);
4463
+ return (jsxRuntime.jsxs(ControlsWrapper, Object.assign({ isPlaying: context.isPlaying }, { children: [jsxRuntime.jsxs(ProgressContainer, Object.assign({ onMouseEnter: onMouseEvent, onMouseMove: onMouseEvent, onMouseLeave: onMouseEvent }, { children: [jsxRuntime.jsx(StyledTooltip, Object.assign({ style: { marginLeft: `${tooltipMargin}px` } }, { children: tooltipLabel })), jsxRuntime.jsx(TimeLabel, { current: formatDuration(((_a = context.player) === null || _a === void 0 ? void 0 : _a.currentTime) || 0), duration: formatDuration(((_b = context.player) === null || _b === void 0 ? void 0 : _b.totalTime) || 0) }), jsxRuntime.jsx(StyledProgress, { ref: progressRef, value: progress, onClick: (e) => handleSkipAhead(e.clientX) })] })), jsxRuntime.jsxs(ControlsBar, { children: [jsxRuntime.jsx(StyledDiv$2, { children: jsxRuntime.jsx(AudioButton, {}) }), jsxRuntime.jsx(ControlsGroupCenter, {}), jsxRuntime.jsx(StyledDiv$2, { children: jsxRuntime.jsx(FullScreenButton, { container: container }) })] })] })));
4464
+ };
4465
+
4466
+ var _path$7;
4467
+ function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
4468
+ var SvgPlayIcon = function SvgPlayIcon(props) {
4469
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
4470
+ width: 70,
4471
+ height: 70,
4472
+ viewBox: "0 0 70 70",
4473
+ fill: "none",
4474
+ xmlns: "http://www.w3.org/2000/svg"
4475
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
4476
+ d: "M60 35L17 62L17 8L60 35Z",
4477
+ fill: "#003A57"
4478
+ })));
4462
4479
  };
4463
4480
 
4464
4481
  const FloatingContainer = styled__default["default"].div `
@@ -4470,15 +4487,16 @@ const FloatingContainer = styled__default["default"].div `
4470
4487
  ${({ isPlaying }) => isPlaying && "display: none;"}
4471
4488
  z-index: 1;
4472
4489
  `;
4473
- const PlayIcon = styled__default["default"](SvgPlayFill) ``;
4490
+ const PlayIcon = styled__default["default"](SvgPlayIcon) ``;
4474
4491
  const BigButton = styled__default["default"](IconButton) `
4475
4492
  pointer-events: none;
4493
+ background-color: ${({ theme }) => theme.palette.white};
4476
4494
  min-width: ${({ theme }) => theme.space.base * 15}px;
4477
4495
  width: 80px;
4478
4496
  height: 80px;
4479
4497
  ${PlayIcon} {
4480
- width: 90%;
4481
- height: 90%;
4498
+ width: 60%;
4499
+ height: 60%;
4482
4500
  }
4483
4501
  `;
4484
4502
  const ButtonsContainer = styled__default["default"].div `
@@ -4489,9 +4507,30 @@ const ButtonsContainer = styled__default["default"].div `
4489
4507
  `;
4490
4508
  const FloatingControls = (props) => {
4491
4509
  const { isPlaying, onClick } = props;
4492
- return (jsxRuntime.jsx(FloatingContainer, Object.assign({ isPlaying: isPlaying, onClick: onClick }, { children: jsxRuntime.jsx(ButtonsContainer, { children: !isPlaying && (jsxRuntime.jsx(BigButton, Object.assign({ isBright: true }, { children: jsxRuntime.jsx(PlayIcon, {}) }))) }) })));
4510
+ return (jsxRuntime.jsx(FloatingContainer, Object.assign({ isPlaying: isPlaying, onClick: onClick }, { children: jsxRuntime.jsx(ButtonsContainer, { children: !isPlaying && (jsxRuntime.jsx(BigButton, Object.assign({ isPrimary: true, size: "large" }, { children: jsxRuntime.jsx(PlayIcon, { color: "red" }) }))) }) })));
4493
4511
  };
4494
4512
 
4513
+ const VideoStyle = styled.css `
4514
+ .player-container {
4515
+ display: block;
4516
+ height: 100%;
4517
+ width: auto;
4518
+ margin: 0 auto;
4519
+ max-width: 100%;
4520
+ background-color: transparent !important;
4521
+ padding-bottom: 1px;
4522
+ padding-top: 1px;
4523
+
4524
+ video {
4525
+ display: block;
4526
+ height: 100%;
4527
+ width: auto;
4528
+ margin: 0 auto;
4529
+ max-width: 100%;
4530
+ }
4531
+ }
4532
+ `;
4533
+
4495
4534
  const Container = styled__default["default"].div `
4496
4535
  position: relative;
4497
4536
  display: flex;
@@ -4503,6 +4542,7 @@ const Container = styled__default["default"].div `
4503
4542
  ${({ isLoaded, isPlaying }) => (!isLoaded || !isPlaying) && "opacity: .7;"}
4504
4543
  }
4505
4544
 
4545
+ ${VideoStyle}
4506
4546
  ${({ isLoaded }) => !isLoaded && `pointer-events: none;`}
4507
4547
 
4508
4548
  &:hover {
@@ -4533,17 +4573,6 @@ const StyledDiv$1 = styled__default["default"].div `
4533
4573
  `;
4534
4574
  const VideoSpinner = () => (jsxRuntime.jsx(StyledDiv$1, { children: jsxRuntime.jsx(Spinner, { size: "50", color: "white" }) }));
4535
4575
 
4536
- const Video = styled__default["default"].video `
4537
- display: block;
4538
- height: 100%;
4539
- width: auto;
4540
- margin: 0 auto;
4541
- max-width: 100%;
4542
- background-color: transparent !important;
4543
- padding-bottom: 1px;
4544
- padding-top: 1px;
4545
- `;
4546
-
4547
4576
  /**
4548
4577
  * The Player is a styled media tag with custom controls
4549
4578
  * <hr>
@@ -4552,50 +4581,17 @@ const Video = styled__default["default"].video `
4552
4581
  */
4553
4582
  const Player = React.forwardRef((props, forwardRef) => {
4554
4583
  const videoRef = React.useRef(null);
4555
- const [isLoaded, setIsLoaded] = React.useState(false);
4556
- const [isPlaying, setIsPlaying] = React.useState(false);
4557
- const [duration, setDuration] = React.useState(0);
4558
4584
  React.useImperativeHandle(forwardRef, () => videoRef.current);
4559
- const handleLoad = () => {
4560
- var _a;
4561
- setIsLoaded(true);
4562
- setDuration(((_a = videoRef.current) === null || _a === void 0 ? void 0 : _a.duration) || 0);
4563
- };
4564
- const handlePlayPause = React.useCallback(() => {
4565
- if (!videoRef || !videoRef.current)
4566
- return;
4567
- if (videoRef.current.paused) {
4568
- videoRef.current.play();
4569
- setIsPlaying(true);
4570
- }
4571
- else {
4572
- videoRef.current.pause();
4573
- setIsPlaying(false);
4574
- }
4575
- }, [videoRef]);
4576
- const handleExternalPlayPause = React.useCallback(() => {
4577
- if (!videoRef || !videoRef.current)
4578
- return;
4579
- if (videoRef.current.paused) {
4580
- setIsPlaying(false);
4581
- }
4582
- else {
4583
- setIsPlaying(true);
4584
- }
4585
- }, [videoRef]);
4586
- React.useEffect(() => {
4587
- if (videoRef.current) {
4588
- videoRef.current.addEventListener("play", handleExternalPlayPause);
4589
- videoRef.current.addEventListener("pause", handleExternalPlayPause);
4590
- }
4591
- return () => {
4592
- if (videoRef.current) {
4593
- videoRef.current.removeEventListener("play", handleExternalPlayPause);
4594
- videoRef.current.removeEventListener("pause", handleExternalPlayPause);
4595
- }
4596
- };
4597
- }, [videoRef.current]);
4598
- return (jsxRuntime.jsxs(Container, Object.assign({ isLoaded: isLoaded, isPlaying: isPlaying }, { children: [!isLoaded ? (jsxRuntime.jsx(VideoSpinner, {})) : (jsxRuntime.jsx(FloatingControls, { isPlaying: isPlaying, onClick: handlePlayPause })), jsxRuntime.jsx(Video, Object.assign({ ref: videoRef, onLoadedMetadata: handleLoad, preload: "auto", playsInline: true, onClick: handlePlayPause }, { children: props.children })), jsxRuntime.jsx(Controls, { videoRef: videoRef.current, duration: duration, isPlaying: isPlaying, onPlayChange: (playing) => setIsPlaying(playing) })] })));
4585
+ return (jsxRuntime.jsx(Video__default["default"], Object.assign({ src: props.url }, props, { children: jsxRuntime.jsx(PlayerCore, Object.assign({ ref: videoRef }, props)) })));
4586
+ });
4587
+ const PlayerCore = React.forwardRef((props, forwardRef) => {
4588
+ var _a;
4589
+ const { context, togglePlay } = Video.useVideoContext();
4590
+ const videoRef = (_a = context.player) === null || _a === void 0 ? void 0 : _a.ref.current;
4591
+ const isLoaded = !!videoRef;
4592
+ const containerRef = React.useRef(null);
4593
+ React.useImperativeHandle(forwardRef, () => videoRef);
4594
+ return (jsxRuntime.jsxs(Container, Object.assign({ isLoaded: isLoaded, isPlaying: context.isPlaying, ref: containerRef }, { children: [!isLoaded ? (jsxRuntime.jsx(VideoSpinner, {})) : (jsxRuntime.jsx(FloatingControls, { isPlaying: context.isPlaying, onClick: togglePlay })), jsxRuntime.jsx(Video__default["default"].Player, { className: "player-container" }), jsxRuntime.jsx(Controls, { container: containerRef.current })] })));
4599
4595
  });
4600
4596
 
4601
4597
  var _path$6, _path2;