@appquality/unguess-design-system 3.1.3 → 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
@@ -36,6 +36,7 @@ var reactGrid = require('@zendeskgarden/react-grid');
36
36
  var reactChrome = require('@zendeskgarden/react-chrome');
37
37
  var formik = require('formik');
38
38
  var reactPagination = require('@zendeskgarden/react-pagination');
39
+ var Video = require('@appquality/stream-player');
39
40
  var SlickSlider = require('react-slick');
40
41
  var reactTables = require('@zendeskgarden/react-tables');
41
42
  var reactTooltips = require('@zendeskgarden/react-tooltips');
@@ -69,6 +70,7 @@ var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
69
70
  var StarterKit__default = /*#__PURE__*/_interopDefaultLegacy(StarterKit);
70
71
  var Placeholder__default = /*#__PURE__*/_interopDefaultLegacy(Placeholder);
71
72
  var CharacterCount__default = /*#__PURE__*/_interopDefaultLegacy(CharacterCount);
73
+ var Video__default = /*#__PURE__*/_interopDefaultLegacy(Video);
72
74
  var SlickSlider__default = /*#__PURE__*/_interopDefaultLegacy(SlickSlider);
73
75
 
74
76
  /*
@@ -814,55 +816,55 @@ Tag.Avatar = StyledAvatar;
814
816
  Tag.Close = StyledClose;
815
817
  Tag.SecondaryText = StyledSpan;
816
818
 
817
- var _path$A;
818
- 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); }
819
821
  var SvgUgSquare = function SvgUgSquare(props) {
820
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
822
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
821
823
  width: 24,
822
824
  height: 24,
823
825
  viewBox: "0 0 24 24",
824
826
  fill: "none",
825
827
  xmlns: "http://www.w3.org/2000/svg"
826
- }, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
828
+ }, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
827
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",
828
830
  fill: "#E80C7A"
829
831
  })));
830
832
  };
831
833
 
832
- var _path$z;
833
- 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); }
834
836
  var SvgUgCircle = function SvgUgCircle(props) {
835
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
837
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
836
838
  width: 24,
837
839
  height: 24,
838
840
  viewBox: "0 0 24 24",
839
841
  fill: "none",
840
842
  xmlns: "http://www.w3.org/2000/svg"
841
- }, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
843
+ }, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
842
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",
843
845
  fill: "#FFCD1A"
844
846
  })));
845
847
  };
846
848
 
847
- var _path$y;
848
- 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); }
849
851
  var SvgUgTriangle = function SvgUgTriangle(props) {
850
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
852
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
851
853
  width: 24,
852
854
  height: 24,
853
855
  viewBox: "0 0 24 24",
854
856
  fill: "none",
855
857
  xmlns: "http://www.w3.org/2000/svg"
856
- }, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
858
+ }, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
857
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",
858
860
  fill: "#7B0DFF"
859
861
  })));
860
862
  };
861
863
 
862
- var _rect$4, _path$x, _path2$b, _path3$4;
863
- 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); }
864
866
  var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
865
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
867
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
866
868
  width: 24,
867
869
  height: 24,
868
870
  viewBox: "0 0 24 24",
@@ -873,7 +875,7 @@ var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
873
875
  height: 24,
874
876
  rx: 12,
875
877
  fill: "#F6F6F8"
876
- })), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
878
+ })), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
877
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",
878
880
  fill: "#50BF95"
879
881
  })), _path2$b || (_path2$b = /*#__PURE__*/React__namespace.createElement("path", {
@@ -885,10 +887,10 @@ var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
885
887
  })));
886
888
  };
887
889
 
888
- var _rect$3, _path$w, _path2$a;
889
- 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); }
890
892
  var SvgCampaignLocked = function SvgCampaignLocked(props) {
891
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
893
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
892
894
  width: 24,
893
895
  height: 24,
894
896
  viewBox: "0 0 24 24",
@@ -899,7 +901,7 @@ var SvgCampaignLocked = function SvgCampaignLocked(props) {
899
901
  height: 24,
900
902
  rx: 12,
901
903
  fill: "#F6F6F8"
902
- })), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
904
+ })), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
903
905
  fillRule: "evenodd",
904
906
  clipRule: "evenodd",
905
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",
@@ -912,10 +914,10 @@ var SvgCampaignLocked = function SvgCampaignLocked(props) {
912
914
  })));
913
915
  };
914
916
 
915
- var _rect$2, _path$v, _path2$9;
916
- 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); }
917
919
  var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
918
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
920
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
919
921
  width: 24,
920
922
  height: 24,
921
923
  viewBox: "0 0 24 24",
@@ -926,7 +928,7 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
926
928
  height: 24,
927
929
  rx: 12,
928
930
  fill: "#F6F6F8"
929
- })), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
931
+ })), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
930
932
  d: "M11.2266 13.0313H14.997M11.2266 9.26075V13.0313V9.26075ZM11.2266 13.0313L20.121 5.03906L11.2266 13.0313Z",
931
933
  stroke: "#024780",
932
934
  strokeWidth: 1.5,
@@ -941,10 +943,10 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
941
943
  })));
942
944
  };
943
945
 
944
- var _rect$1, _path$u, _path2$8, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
945
- 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); }
946
948
  var SvgCampaignProgress = function SvgCampaignProgress(props) {
947
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
949
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
948
950
  width: 24,
949
951
  height: 24,
950
952
  viewBox: "0 0 24 24",
@@ -955,7 +957,7 @@ var SvgCampaignProgress = function SvgCampaignProgress(props) {
955
957
  height: 24,
956
958
  rx: 12,
957
959
  fill: "#F6F6F8"
958
- })), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
960
+ })), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
959
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",
960
962
  fill: "#D1820A"
961
963
  })), _path2$8 || (_path2$8 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -988,10 +990,10 @@ var SvgCampaignProgress = function SvgCampaignProgress(props) {
988
990
  })));
989
991
  };
990
992
 
991
- var _g$7, _path$t, _path2$7, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
992
- 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); }
993
995
  var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
994
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
996
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
995
997
  width: 24,
996
998
  height: 24,
997
999
  viewBox: "0 0 24 24",
@@ -1003,7 +1005,7 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
1003
1005
  opacity: 0.3,
1004
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",
1005
1007
  fill: "#50BF95"
1006
- }))), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
1008
+ }))), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
1007
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",
1008
1010
  fill: "#2B8473",
1009
1011
  stroke: "#2B8473"
@@ -1060,10 +1062,10 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
1060
1062
  })));
1061
1063
  };
1062
1064
 
1063
- var _g$6, _path$s;
1064
- 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); }
1065
1067
  var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
1066
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
1068
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
1067
1069
  width: 24,
1068
1070
  height: 24,
1069
1071
  viewBox: "0 0 24 24",
@@ -1075,7 +1077,7 @@ var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
1075
1077
  opacity: 0.3,
1076
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",
1077
1079
  fill: "#003A57"
1078
- }))), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
1080
+ }))), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
1079
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",
1080
1082
  fill: "#003A57"
1081
1083
  })));
@@ -2411,31 +2413,31 @@ const editorStyle = styled.css `
2411
2413
  }
2412
2414
  `;
2413
2415
 
2414
- var _path$r;
2415
- 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); }
2416
2418
  var SvgBoldFill = function SvgBoldFill(props) {
2417
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2419
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
2418
2420
  xmlns: "http://www.w3.org/2000/svg",
2419
2421
  width: 16,
2420
2422
  height: 16,
2421
2423
  focusable: "false",
2422
2424
  viewBox: "0 0 16 16"
2423
- }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
2425
+ }, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
2424
2426
  fill: "currentColor",
2425
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"
2426
2428
  })));
2427
2429
  };
2428
2430
 
2429
- var _path$q;
2430
- 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); }
2431
2433
  var SvgItalicFill = function SvgItalicFill(props) {
2432
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2434
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2433
2435
  xmlns: "http://www.w3.org/2000/svg",
2434
2436
  width: 16,
2435
2437
  height: 16,
2436
2438
  focusable: "false",
2437
2439
  viewBox: "0 0 16 16"
2438
- }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
2440
+ }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
2439
2441
  fill: "none",
2440
2442
  stroke: "currentColor",
2441
2443
  strokeLinecap: "round",
@@ -2444,16 +2446,16 @@ var SvgItalicFill = function SvgItalicFill(props) {
2444
2446
  })));
2445
2447
  };
2446
2448
 
2447
- var _path$p, _path2$6;
2448
- 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); }
2449
2451
  var SvgQuoteFill = function SvgQuoteFill(props) {
2450
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2452
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2451
2453
  xmlns: "http://www.w3.org/2000/svg",
2452
2454
  width: 16,
2453
2455
  height: 16,
2454
2456
  focusable: "false",
2455
2457
  viewBox: "0 0 16 16"
2456
- }, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
2458
+ }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
2457
2459
  fill: "currentColor",
2458
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"
2459
2461
  })), _path2$6 || (_path2$6 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -2466,9 +2468,9 @@ var SvgQuoteFill = function SvgQuoteFill(props) {
2466
2468
  };
2467
2469
 
2468
2470
  var _g$5;
2469
- 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); }
2470
2472
  var SvgH1Fill = function SvgH1Fill(props) {
2471
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2473
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2472
2474
  xmlns: "http://www.w3.org/2000/svg",
2473
2475
  width: 16,
2474
2476
  height: 16,
@@ -2496,9 +2498,9 @@ var SvgH1Fill = function SvgH1Fill(props) {
2496
2498
  };
2497
2499
 
2498
2500
  var _g$4;
2499
- 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); }
2500
2502
  var SvgH2Fill = function SvgH2Fill(props) {
2501
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
2503
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2502
2504
  xmlns: "http://www.w3.org/2000/svg",
2503
2505
  width: 16,
2504
2506
  height: 16,
@@ -2526,9 +2528,9 @@ var SvgH2Fill = function SvgH2Fill(props) {
2526
2528
  };
2527
2529
 
2528
2530
  var _g$3;
2529
- 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); }
2530
2532
  var SvgH3Fill = function SvgH3Fill(props) {
2531
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
2533
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
2532
2534
  xmlns: "http://www.w3.org/2000/svg",
2533
2535
  width: 16,
2534
2536
  height: 16,
@@ -2740,9 +2742,9 @@ const Hint = styled__default["default"](reactForms.Hint) ``;
2740
2742
  const Input = React.forwardRef((props, ref) => jsxRuntime.jsx(UgInput, Object.assign({ ref: ref }, props)));
2741
2743
 
2742
2744
  var _g$2;
2743
- 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); }
2744
2746
  var SvgNotesStroke = function SvgNotesStroke(props) {
2745
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
2747
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
2746
2748
  xmlns: "http://www.w3.org/2000/svg",
2747
2749
  width: 16,
2748
2750
  height: 16,
@@ -2861,16 +2863,16 @@ const UgRadio = styled__default["default"](reactForms.Radio) ``;
2861
2863
  **/
2862
2864
  const Radio = (props) => jsxRuntime.jsx(UgRadio, Object.assign({}, props));
2863
2865
 
2864
- var _path$o;
2865
- 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); }
2866
2868
  var SvgCheckLg = function SvgCheckLg(props) {
2867
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
2869
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
2868
2870
  width: 16,
2869
2871
  height: 16,
2870
2872
  viewBox: "0 0 16 16",
2871
2873
  fill: "#68737D",
2872
2874
  xmlns: "http://www.w3.org/2000/svg"
2873
- }, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
2875
+ }, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
2874
2876
  fillRule: "evenodd",
2875
2877
  clipRule: "evenodd",
2876
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"
@@ -3063,16 +3065,16 @@ const Body$1 = (props) => jsxRuntime.jsx(UgBody, Object.assign({}, props));
3063
3065
  */
3064
3066
  const Content$1 = (props) => jsxRuntime.jsx(reactChrome.Content, Object.assign({}, props));
3065
3067
 
3066
- var _path$n;
3067
- 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); }
3068
3070
  var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
3069
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
3071
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
3070
3072
  xmlns: "http://www.w3.org/2000/svg",
3071
3073
  width: 16,
3072
3074
  height: 16,
3073
3075
  focusable: "false",
3074
3076
  viewBox: "0 0 16 16"
3075
- }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
3077
+ }, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
3076
3078
  fill: "currentColor",
3077
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"
3078
3080
  })));
@@ -3120,16 +3122,16 @@ const Logo = (props) => {
3120
3122
  }[props.type] })));
3121
3123
  };
3122
3124
 
3123
- var _path$m;
3124
- 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); }
3125
3127
  var SvgMenuStroke = function SvgMenuStroke(props) {
3126
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
3128
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
3127
3129
  xmlns: "http://www.w3.org/2000/svg",
3128
3130
  width: 16,
3129
3131
  height: 16,
3130
3132
  focusable: "false",
3131
3133
  viewBox: "0 0 16 16"
3132
- }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
3134
+ }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
3133
3135
  fill: "none",
3134
3136
  stroke: "currentColor",
3135
3137
  strokeLinecap: "round",
@@ -3269,31 +3271,31 @@ const NavItemIcon = (props) => jsxRuntime.jsx(UgNavIcon, Object.assign({}, props
3269
3271
 
3270
3272
  const NavItemText = (props) => (jsxRuntime.jsx(reactChrome.NavItemText, Object.assign({}, props, { children: jsxRuntime.jsx(Ellipsis, Object.assign({ style: { width: "158px" } }, { children: props.children })) })));
3271
3273
 
3272
- var _path$l;
3273
- 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); }
3274
3276
  var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
3275
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3277
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
3276
3278
  xmlns: "http://www.w3.org/2000/svg",
3277
3279
  width: 16,
3278
3280
  height: 16,
3279
3281
  focusable: "false",
3280
3282
  viewBox: "0 0 16 16"
3281
- }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3283
+ }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
3282
3284
  fill: "currentColor",
3283
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"
3284
3286
  })));
3285
3287
  };
3286
3288
 
3287
- var _path$k;
3288
- 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); }
3289
3291
  var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
3290
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3292
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3291
3293
  xmlns: "http://www.w3.org/2000/svg",
3292
3294
  width: 16,
3293
3295
  height: 16,
3294
3296
  focusable: "false",
3295
3297
  viewBox: "0 0 16 16"
3296
- }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3298
+ }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3297
3299
  fill: "currentColor",
3298
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"
3299
3301
  })));
@@ -3393,16 +3395,16 @@ NavAccordionItem.Panel = AccordionItemPanel;
3393
3395
  NavAccordionItem.Header = AccordionItemHeader;
3394
3396
  NavAccordionItem.Label = AccordionItemLabel;
3395
3397
 
3396
- var _path$j;
3397
- 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); }
3398
3400
  var SvgHomeFill = function SvgHomeFill(props) {
3399
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3401
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3400
3402
  width: 26,
3401
3403
  height: 26,
3402
3404
  viewBox: "0 0 26 26",
3403
3405
  fill: "none",
3404
3406
  xmlns: "http://www.w3.org/2000/svg"
3405
- }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3407
+ }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3406
3408
  fillRule: "evenodd",
3407
3409
  clipRule: "evenodd",
3408
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",
@@ -3410,10 +3412,10 @@ var SvgHomeFill = function SvgHomeFill(props) {
3410
3412
  })));
3411
3413
  };
3412
3414
 
3413
- var _linearGradient, _path$i;
3414
- 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); }
3415
3417
  var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3416
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3418
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3417
3419
  width: 26,
3418
3420
  height: 26,
3419
3421
  viewBox: "0 0 26 26",
@@ -3429,7 +3431,7 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3429
3431
  className: "stop3",
3430
3432
  offset: "100%",
3431
3433
  stopColor: "#001825"
3432
- }))), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3434
+ }))), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3433
3435
  fill: "url(#unguessIconGradient)",
3434
3436
  fillRule: "evenodd",
3435
3437
  clipRule: "evenodd",
@@ -3438,9 +3440,9 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3438
3440
  };
3439
3441
 
3440
3442
  var _g$1, _defs$2;
3441
- 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); }
3442
3444
  var SvgToken = function SvgToken(props) {
3443
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3445
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3444
3446
  fill: "none",
3445
3447
  viewBox: "0 0 32 32",
3446
3448
  xmlns: "http://www.w3.org/2000/svg"
@@ -3476,16 +3478,16 @@ var SvgToken = function SvgToken(props) {
3476
3478
  })))));
3477
3479
  };
3478
3480
 
3479
- var _path$h;
3480
- 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); }
3481
3483
  var SvgProjectsIcon = function SvgProjectsIcon(props) {
3482
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3484
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3483
3485
  width: 26,
3484
3486
  height: 26,
3485
3487
  viewBox: "0 0 26 26",
3486
3488
  fill: "none",
3487
3489
  xmlns: "http://www.w3.org/2000/svg"
3488
- }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3490
+ }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3489
3491
  fillRule: "evenodd",
3490
3492
  clipRule: "evenodd",
3491
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",
@@ -3494,16 +3496,16 @@ var SvgProjectsIcon = function SvgProjectsIcon(props) {
3494
3496
  })));
3495
3497
  };
3496
3498
 
3497
- var _path$g, _defs$1;
3498
- 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); }
3499
3501
  var SvgTemplates = function SvgTemplates(props) {
3500
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
3502
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3501
3503
  width: 26,
3502
3504
  height: 26,
3503
3505
  viewBox: "0 0 26 26",
3504
3506
  fill: "none",
3505
3507
  xmlns: "http://www.w3.org/2000/svg"
3506
- }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
3508
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3507
3509
  fillRule: "evenodd",
3508
3510
  clipRule: "evenodd",
3509
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",
@@ -3523,16 +3525,16 @@ var SvgTemplates = function SvgTemplates(props) {
3523
3525
  })))));
3524
3526
  };
3525
3527
 
3526
- var _path$f, _defs;
3527
- 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); }
3528
3530
  var SvgTemplatesActive = function SvgTemplatesActive(props) {
3529
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
3531
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
3530
3532
  width: 26,
3531
3533
  height: 26,
3532
3534
  viewBox: "0 0 26 26",
3533
3535
  fill: "none",
3534
3536
  xmlns: "http://www.w3.org/2000/svg"
3535
- }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
3537
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
3536
3538
  fillRule: "evenodd",
3537
3539
  clipRule: "evenodd",
3538
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",
@@ -3730,16 +3732,16 @@ const LoginForm = (props) => {
3730
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"] })))] }));
3731
3733
  };
3732
3734
 
3733
- var _path$e;
3734
- 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); }
3735
3737
  var SvgPlus = function SvgPlus(props) {
3736
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
3738
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
3737
3739
  width: 16,
3738
3740
  height: 16,
3739
3741
  viewBox: "0 0 16 16",
3740
3742
  fill: "none",
3741
3743
  xmlns: "http://www.w3.org/2000/svg"
3742
- }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
3744
+ }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
3743
3745
  fillRule: "evenodd",
3744
3746
  clipRule: "evenodd",
3745
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",
@@ -4043,25 +4045,25 @@ const PlayerTooltip = (_a) => {
4043
4045
  return (jsxRuntime.jsx(Wrapper, Object.assign({}, props, { children: jsxRuntime.jsx(Content, { children: children }) })));
4044
4046
  };
4045
4047
 
4046
- var _path$d;
4047
- 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); }
4048
4050
  var SvgPlayFill = function SvgPlayFill(props) {
4049
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
4051
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
4050
4052
  xmlns: "http://www.w3.org/2000/svg",
4051
4053
  width: 16,
4052
4054
  height: 16,
4053
4055
  focusable: "false",
4054
4056
  viewBox: "0 0 16 16"
4055
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
4057
+ }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
4056
4058
  fill: "currentColor",
4057
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"
4058
4060
  })));
4059
4061
  };
4060
4062
 
4061
4063
  var _g;
4062
- 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); }
4063
4065
  var SvgPauseFill = function SvgPauseFill(props) {
4064
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
4066
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
4065
4067
  xmlns: "http://www.w3.org/2000/svg",
4066
4068
  width: 16,
4067
4069
  height: 16,
@@ -4086,16 +4088,16 @@ var SvgPauseFill = function SvgPauseFill(props) {
4086
4088
  }))));
4087
4089
  };
4088
4090
 
4089
- var _path$c, _path2$5, _path3$1;
4090
- 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); }
4091
4093
  var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
4092
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
4094
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
4093
4095
  width: 16,
4094
4096
  height: 16,
4095
4097
  viewBox: "0 0 16 16",
4096
4098
  fill: "none",
4097
4099
  xmlns: "http://www.w3.org/2000/svg"
4098
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
4100
+ }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
4099
4101
  fillRule: "evenodd",
4100
4102
  clipRule: "evenodd",
4101
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",
@@ -4109,16 +4111,16 @@ var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
4109
4111
  })));
4110
4112
  };
4111
4113
 
4112
- var _path$b, _path2$4, _path3;
4113
- 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); }
4114
4116
  var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
4115
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
4117
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
4116
4118
  width: 16,
4117
4119
  height: 16,
4118
4120
  viewBox: "0 0 16 16",
4119
4121
  fill: "none",
4120
4122
  xmlns: "http://www.w3.org/2000/svg"
4121
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
4123
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
4122
4124
  fillRule: "evenodd",
4123
4125
  clipRule: "evenodd",
4124
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",
@@ -4132,16 +4134,16 @@ var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
4132
4134
  })));
4133
4135
  };
4134
4136
 
4135
- var _path$a, _path2$3;
4136
- 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); }
4137
4139
  var SvgPreviousFill = function SvgPreviousFill(props) {
4138
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
4140
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
4139
4141
  xmlns: "http://www.w3.org/2000/svg",
4140
4142
  width: 16,
4141
4143
  height: 16,
4142
4144
  focusable: "false",
4143
4145
  viewBox: "0 0 24 24"
4144
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
4146
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
4145
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",
4146
4148
  fill: "currentColor"
4147
4149
  })), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -4176,8 +4178,12 @@ const StyledDiv$4 = styled__default["default"].div `
4176
4178
  display: flex;
4177
4179
  align-items: center;
4178
4180
  `;
4179
- const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4181
+ const ControlsGroupCenter = () => {
4182
+ var _a;
4180
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;
4181
4187
  React.useEffect(() => {
4182
4188
  if (videoRef) {
4183
4189
  setPlayBackRate(videoRef.playbackRate);
@@ -4195,19 +4201,6 @@ const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4195
4201
  const nextTime = videoRef.currentTime + 10;
4196
4202
  videoRef.currentTime = nextTime;
4197
4203
  };
4198
- const handlePlay = React.useCallback((e) => {
4199
- if (!videoRef)
4200
- return;
4201
- if (videoRef.paused) {
4202
- videoRef.play();
4203
- onPlayChange === null || onPlayChange === void 0 ? void 0 : onPlayChange(true);
4204
- }
4205
- else {
4206
- videoRef.pause();
4207
- onPlayChange === null || onPlayChange === void 0 ? void 0 : onPlayChange(false);
4208
- }
4209
- e.stopPropagation();
4210
- }, [videoRef, isPlaying]);
4211
4204
  return (jsxRuntime.jsxs(StyledDiv$4, { children: [jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4212
4205
  if (videoRef) {
4213
4206
  videoRef.currentTime = 0;
@@ -4216,7 +4209,7 @@ const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4216
4209
  } }, { children: jsxRuntime.jsx(SvgPreviousFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4217
4210
  onRewind();
4218
4211
  e.stopPropagation();
4219
- } }, { 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) => {
4220
4213
  onForward();
4221
4214
  e.stopPropagation();
4222
4215
  } }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, isPill: true, onClick: (e) => {
@@ -4242,16 +4235,16 @@ const StyledDiv$3 = styled__default["default"].div `
4242
4235
  `;
4243
4236
  const TimeLabel = ({ current, duration, }) => (jsxRuntime.jsx(StyledDiv$3, { children: jsxRuntime.jsxs(SM, Object.assign({ tag: "span" }, { children: [current, "/", duration] })) }));
4244
4237
 
4245
- var _path$9, _path2$2;
4246
- 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); }
4247
4240
  var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
4248
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
4241
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
4249
4242
  xmlns: "http://www.w3.org/2000/svg",
4250
4243
  width: 16,
4251
4244
  height: 16,
4252
4245
  focusable: "false",
4253
4246
  viewBox: "0 0 16 16"
4254
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
4247
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
4255
4248
  stroke: "currentColor",
4256
4249
  strokeLinecap: "round",
4257
4250
  d: "M11.5 10l4-4m-4 0l4 4"
@@ -4261,16 +4254,16 @@ var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
4261
4254
  })));
4262
4255
  };
4263
4256
 
4264
- var _path$8, _path2$1;
4265
- 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); }
4266
4259
  var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
4267
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
4260
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
4268
4261
  xmlns: "http://www.w3.org/2000/svg",
4269
4262
  width: 16,
4270
4263
  height: 16,
4271
4264
  focusable: "false",
4272
4265
  viewBox: "0 0 16 16"
4273
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
4266
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
4274
4267
  fill: "currentColor",
4275
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"
4276
4269
  })), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -4281,18 +4274,19 @@ var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
4281
4274
  })));
4282
4275
  };
4283
4276
 
4284
- const AudioButton = (props) => {
4285
- const [isMuted, setIsMuted] = React.useState(false);
4277
+ const AudioButton = () => {
4286
4278
  const [hasAudio, setHasAudio] = React.useState(false);
4287
- const { videoRef } = props;
4279
+ const { isMuted, setMuted, context } = Video.useVideoContext();
4280
+ const { player } = context;
4288
4281
  const checkAudio = (video) => {
4289
4282
  if (!video) {
4290
4283
  return false;
4291
4284
  }
4285
+ console.log("hasAudio?", video);
4292
4286
  const videohasAudio = video.mozHasAudio ||
4293
4287
  Boolean(video.webkitAudioDecodedByteCount) ||
4294
4288
  Boolean(video.audioTracks && video.audioTracks.length);
4295
- return videohasAudio;
4289
+ setHasAudio(videohasAudio);
4296
4290
  };
4297
4291
  const hasVolume = (video) => {
4298
4292
  if (!video) {
@@ -4300,68 +4294,74 @@ const AudioButton = (props) => {
4300
4294
  }
4301
4295
  return video.volume > 0;
4302
4296
  };
4303
- const handleAudio = () => {
4304
- setHasAudio(checkAudio(videoRef));
4305
- };
4306
4297
  React.useEffect(() => {
4307
- if (videoRef) {
4308
- setIsMuted(!hasVolume(videoRef));
4309
- 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);
4310
4301
  }
4311
- return () => {
4312
- if (videoRef) {
4313
- videoRef.removeEventListener("loadeddata", handleAudio);
4314
- }
4315
- };
4316
- }, [videoRef]);
4317
- return (jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, disabled: !checkAudio(videoRef || null), onClick: () => {
4318
- if (videoRef) {
4319
- videoRef.volume = videoRef.volume > 0 ? 0 : 1;
4320
- 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);
4321
4307
  }
4322
4308
  } }, { children: isMuted || !hasAudio ? jsxRuntime.jsx(SvgVolumeMutedFill, {}) : jsxRuntime.jsx(SvgVolumeUnmutedFill, {}) })));
4323
4309
  };
4324
4310
 
4325
- var _path$7;
4326
- 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); }
4327
4313
  var SvgMaximizeFill = function SvgMaximizeFill(props) {
4328
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
4314
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
4329
4315
  xmlns: "http://www.w3.org/2000/svg",
4330
4316
  width: 16,
4331
4317
  height: 16,
4332
4318
  focusable: "false",
4333
4319
  viewBox: "0 0 16 16"
4334
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
4320
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
4335
4321
  fill: "currentColor",
4336
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"
4337
4323
  })));
4338
4324
  };
4339
4325
 
4340
- const FullScreenButton = (props) => {
4341
- const { videoRef } = props;
4342
- 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 || {};
4343
4330
  const handleFullScreen = React.useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
4344
- if (videoRef) {
4345
- if (videoRef.requestFullscreen) {
4346
- yield videoRef.requestFullscreen();
4347
- }
4348
- else if (videoRef.webkitRequestFullscreen) {
4349
- yield videoRef.webkitRequestFullscreen();
4350
- }
4351
- else if (videoRef.mozRequestFullScreen) {
4352
- yield videoRef.mozRequestFullScreen();
4353
- }
4354
- else if (videoRef.webkitEnterFullscreen) {
4355
- // iOS
4356
- 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
+ }
4357
4354
  }
4358
- else if (videoRef.msRequestFullscreen) {
4359
- yield videoRef.msRequestFullscreen();
4355
+ else {
4356
+ if (document.fullscreenElement) {
4357
+ yield document.exitFullscreen();
4358
+ }
4359
+ setFullScreen(false);
4360
4360
  }
4361
4361
  }
4362
- }), [videoRef]);
4362
+ }), [ref, isFullScreen]);
4363
4363
  const canGoFullScreen = React.useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
4364
- if (videoRef) {
4364
+ if (ref) {
4365
4365
  return (requestFullscreen ||
4366
4366
  webkitRequestFullscreen ||
4367
4367
  mozRequestFullScreen ||
@@ -4369,7 +4369,7 @@ const FullScreenButton = (props) => {
4369
4369
  msRequestFullscreen);
4370
4370
  }
4371
4371
  return false;
4372
- }), [videoRef]);
4372
+ }), [ref]);
4373
4373
  return (jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
4374
4374
  handleFullScreen();
4375
4375
  e.stopPropagation();
@@ -4382,7 +4382,7 @@ const ControlsWrapper = styled__default["default"].div `
4382
4382
  left: 0;
4383
4383
  right: 0;
4384
4384
  padding: ${({ theme }) => theme.space.xxs} 0;
4385
- background-color: ${({ theme }) => theme.palette.grey[700]};
4385
+ background-color: ${({ theme }) => reactTheming.getColor(theme.palette.grey, 700, undefined, 0.8)};
4386
4386
  ${({ isPlaying }) => isPlaying && "display: none;"}
4387
4387
  z-index: 2;
4388
4388
  `;
@@ -4413,14 +4413,16 @@ const StyledDiv$2 = styled__default["default"].div `
4413
4413
  display: flex;
4414
4414
  align-items: center;
4415
4415
  `;
4416
- const Controls = (props) => {
4417
- const { videoRef, onPlayChange, isPlaying, duration } = props;
4416
+ const Controls = ({ container, }) => {
4417
+ var _a, _b;
4418
4418
  const [progress, setProgress] = React.useState(0);
4419
4419
  const [tooltipMargin, setTooltipMargin] = React.useState(0);
4420
4420
  const [tooltipLabel, setTooltipLabel] = React.useState("00:00");
4421
4421
  const progressRef = React.useRef(null);
4422
+ const { context, setCurrentTime } = Video.useVideoContext();
4422
4423
  const getVideoPositionFromEvent = (clientX) => {
4423
- 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;
4424
4426
  if (progressRef && progressRef.current && totalTime) {
4425
4427
  const bounds = progressRef.current.getBoundingClientRect();
4426
4428
  const x = clientX - bounds.left;
@@ -4429,16 +4431,11 @@ const Controls = (props) => {
4429
4431
  }
4430
4432
  return 0;
4431
4433
  };
4432
- const handleProgressUpdate = React.useCallback(() => {
4433
- const totalTime = (videoRef === null || videoRef === void 0 ? void 0 : videoRef.duration) || duration || 0;
4434
- const currentTime = (videoRef === null || videoRef === void 0 ? void 0 : videoRef.currentTime) || 0;
4435
- setProgress((currentTime / totalTime) * 100);
4436
- }, [duration, videoRef]);
4437
4434
  const handleSkipAhead = React.useCallback((pageX) => {
4438
- if (videoRef) {
4439
- videoRef.currentTime = getVideoPositionFromEvent(pageX);
4440
- }
4441
- }, [videoRef]);
4435
+ const time = getVideoPositionFromEvent(pageX);
4436
+ setCurrentTime(time);
4437
+ setProgress(getProgress(time));
4438
+ }, [context.player]);
4442
4439
  const onMouseEvent = (e) => {
4443
4440
  if (progressRef && progressRef.current) {
4444
4441
  const tooltipWidth = 40;
@@ -4452,16 +4449,33 @@ const Controls = (props) => {
4452
4449
  }
4453
4450
  };
4454
4451
  React.useEffect(() => {
4455
- if (videoRef) {
4456
- videoRef.addEventListener("timeupdate", handleProgressUpdate);
4457
- }
4458
- return () => {
4459
- if (videoRef) {
4460
- videoRef.removeEventListener("timeupdate", handleProgressUpdate);
4461
- }
4462
- };
4463
- }, [videoRef]);
4464
- 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
+ })));
4465
4479
  };
4466
4480
 
4467
4481
  const FloatingContainer = styled__default["default"].div `
@@ -4473,15 +4487,16 @@ const FloatingContainer = styled__default["default"].div `
4473
4487
  ${({ isPlaying }) => isPlaying && "display: none;"}
4474
4488
  z-index: 1;
4475
4489
  `;
4476
- const PlayIcon = styled__default["default"](SvgPlayFill) ``;
4490
+ const PlayIcon = styled__default["default"](SvgPlayIcon) ``;
4477
4491
  const BigButton = styled__default["default"](IconButton) `
4478
4492
  pointer-events: none;
4493
+ background-color: ${({ theme }) => theme.palette.white};
4479
4494
  min-width: ${({ theme }) => theme.space.base * 15}px;
4480
4495
  width: 80px;
4481
4496
  height: 80px;
4482
4497
  ${PlayIcon} {
4483
- width: 90%;
4484
- height: 90%;
4498
+ width: 60%;
4499
+ height: 60%;
4485
4500
  }
4486
4501
  `;
4487
4502
  const ButtonsContainer = styled__default["default"].div `
@@ -4492,9 +4507,30 @@ const ButtonsContainer = styled__default["default"].div `
4492
4507
  `;
4493
4508
  const FloatingControls = (props) => {
4494
4509
  const { isPlaying, onClick } = props;
4495
- 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" }) }))) }) })));
4496
4511
  };
4497
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
+
4498
4534
  const Container = styled__default["default"].div `
4499
4535
  position: relative;
4500
4536
  display: flex;
@@ -4506,6 +4542,7 @@ const Container = styled__default["default"].div `
4506
4542
  ${({ isLoaded, isPlaying }) => (!isLoaded || !isPlaying) && "opacity: .7;"}
4507
4543
  }
4508
4544
 
4545
+ ${VideoStyle}
4509
4546
  ${({ isLoaded }) => !isLoaded && `pointer-events: none;`}
4510
4547
 
4511
4548
  &:hover {
@@ -4536,17 +4573,6 @@ const StyledDiv$1 = styled__default["default"].div `
4536
4573
  `;
4537
4574
  const VideoSpinner = () => (jsxRuntime.jsx(StyledDiv$1, { children: jsxRuntime.jsx(Spinner, { size: "50", color: "white" }) }));
4538
4575
 
4539
- const Video = styled__default["default"].video `
4540
- display: block;
4541
- height: 100%;
4542
- width: auto;
4543
- margin: 0 auto;
4544
- max-width: 100%;
4545
- background-color: transparent !important;
4546
- padding-bottom: 1px;
4547
- padding-top: 1px;
4548
- `;
4549
-
4550
4576
  /**
4551
4577
  * The Player is a styled media tag with custom controls
4552
4578
  * <hr>
@@ -4555,50 +4581,17 @@ const Video = styled__default["default"].video `
4555
4581
  */
4556
4582
  const Player = React.forwardRef((props, forwardRef) => {
4557
4583
  const videoRef = React.useRef(null);
4558
- const [isLoaded, setIsLoaded] = React.useState(false);
4559
- const [isPlaying, setIsPlaying] = React.useState(false);
4560
- const [duration, setDuration] = React.useState(0);
4561
4584
  React.useImperativeHandle(forwardRef, () => videoRef.current);
4562
- const handleLoad = () => {
4563
- var _a;
4564
- setIsLoaded(true);
4565
- setDuration(((_a = videoRef.current) === null || _a === void 0 ? void 0 : _a.duration) || 0);
4566
- };
4567
- const handlePlayPause = React.useCallback(() => {
4568
- if (!videoRef || !videoRef.current)
4569
- return;
4570
- if (videoRef.current.paused) {
4571
- videoRef.current.play();
4572
- setIsPlaying(true);
4573
- }
4574
- else {
4575
- videoRef.current.pause();
4576
- setIsPlaying(false);
4577
- }
4578
- }, [videoRef]);
4579
- const handleExternalPlayPause = React.useCallback(() => {
4580
- if (!videoRef || !videoRef.current)
4581
- return;
4582
- if (videoRef.current.paused) {
4583
- setIsPlaying(false);
4584
- }
4585
- else {
4586
- setIsPlaying(true);
4587
- }
4588
- }, [videoRef]);
4589
- React.useEffect(() => {
4590
- if (videoRef.current) {
4591
- videoRef.current.addEventListener("play", handleExternalPlayPause);
4592
- videoRef.current.addEventListener("pause", handleExternalPlayPause);
4593
- }
4594
- return () => {
4595
- if (videoRef.current) {
4596
- videoRef.current.removeEventListener("play", handleExternalPlayPause);
4597
- videoRef.current.removeEventListener("pause", handleExternalPlayPause);
4598
- }
4599
- };
4600
- }, [videoRef.current]);
4601
- 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 })] })));
4602
4595
  });
4603
4596
 
4604
4597
  var _path$6, _path2;