@ezuikit/player-theme 2.1.1-beta.1 → 2.1.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.1.1-beta.1
3
- * Copyright (c) 2026-02-05 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.1.2-beta.1
3
+ * Copyright (c) 2026-02-09 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  (function (global, factory) {
@@ -489,7 +489,6 @@
489
489
  /** 对讲状态变化 */ talkingChange: 'talkingChange',
490
490
  /** 麦克风音量变化 */ talkVolumeChange: 'talkVolumeChange',
491
491
  /** 语音广播状态变化 */ broadcastChange: 'broadcastChange',
492
- /** AI对话框状态变化 */ aichatChange: 'aichatChange',
493
492
  /** 动态切换日志配置 */ setLoggerOptions: 'setLoggerOptions',
494
493
  records: 'records',
495
494
  ptzSpeedChange: 'ptzSpeedChange',
@@ -535,8 +534,6 @@
535
534
  /** 对讲控件销毁 */ talkDestroy: 'Control.talkDestroy',
536
535
  /** 语音广播状态变化 */ broadcastChange: 'Control.broadcastChange',
537
536
  /** 语音广播控件销毁 */ broadcastDestroy: 'Control.broadcastDestroy',
538
- /** AI对话框状态变化 */ aichatChange: 'Control.aichatChange',
539
- /** AI对话框控件销毁 */ aichatDestroy: 'Control.aichatDestroy',
540
537
  /** 缩放比例改变 */ zoomChange: 'Control.zoomChange',
541
538
  /** 音量调节面板 展示隐藏变换 */ zoomPanelOpenChange: 'Control.zoomPanelOpenChange',
542
539
  /** 缩放控件销毁 */ zoomDestroy: 'Control.zoomDestroy',
@@ -588,7 +585,7 @@
588
585
  if (protoProps) _defineProperties$9(Constructor.prototype, protoProps);
589
586
  return Constructor;
590
587
  }
591
- function _inherits$t(subClass, superClass) {
588
+ function _inherits$s(subClass, superClass) {
592
589
  if (typeof superClass !== "function" && superClass !== null) {
593
590
  throw new TypeError("Super expression must either be null or a function");
594
591
  }
@@ -599,14 +596,14 @@
599
596
  configurable: true
600
597
  }
601
598
  });
602
- if (superClass) _set_prototype_of$t(subClass, superClass);
599
+ if (superClass) _set_prototype_of$s(subClass, superClass);
603
600
  }
604
- function _set_prototype_of$t(o, p) {
605
- _set_prototype_of$t = Object.setPrototypeOf || function setPrototypeOf(o, p) {
601
+ function _set_prototype_of$s(o, p) {
602
+ _set_prototype_of$s = Object.setPrototypeOf || function setPrototypeOf(o, p) {
606
603
  o.__proto__ = p;
607
604
  return o;
608
605
  };
609
- return _set_prototype_of$t(o, p);
606
+ return _set_prototype_of$s(o, p);
610
607
  }
611
608
  /**
612
609
  * 控件基类
@@ -620,7 +617,7 @@
620
617
  * const myControl = new MyControl({})
621
618
  * ```
622
619
  */ var Control = /*#__PURE__*/ function(EventEmitter) {
623
- _inherits$t(Control, EventEmitter);
620
+ _inherits$s(Control, EventEmitter);
624
621
  function Control(options) {
625
622
  var _this;
626
623
  var _this___options;
@@ -795,8 +792,8 @@
795
792
  return Control;
796
793
  }(EventEmitter);
797
794
 
798
- function _extends$s() {
799
- _extends$s = Object.assign || function(target) {
795
+ function _extends$r() {
796
+ _extends$r = Object.assign || function(target) {
800
797
  for(var i = 1; i < arguments.length; i++){
801
798
  var source = arguments[i];
802
799
  for(var key in source){
@@ -807,9 +804,9 @@
807
804
  }
808
805
  return target;
809
806
  };
810
- return _extends$s.apply(this, arguments);
807
+ return _extends$r.apply(this, arguments);
811
808
  }
812
- function _inherits$s(subClass, superClass) {
809
+ function _inherits$r(subClass, superClass) {
813
810
  if (typeof superClass !== "function" && superClass !== null) {
814
811
  throw new TypeError("Super expression must either be null or a function");
815
812
  }
@@ -820,25 +817,25 @@
820
817
  configurable: true
821
818
  }
822
819
  });
823
- if (superClass) _set_prototype_of$s(subClass, superClass);
820
+ if (superClass) _set_prototype_of$r(subClass, superClass);
824
821
  }
825
- function _set_prototype_of$s(o, p) {
826
- _set_prototype_of$s = Object.setPrototypeOf || function setPrototypeOf(o, p) {
822
+ function _set_prototype_of$r(o, p) {
823
+ _set_prototype_of$r = Object.setPrototypeOf || function setPrototypeOf(o, p) {
827
824
  o.__proto__ = p;
828
825
  return o;
829
826
  };
830
- return _set_prototype_of$s(o, p);
827
+ return _set_prototype_of$r(o, p);
831
828
  }
832
829
  var LOADING_DEFAULT_OPTIONS = {};
833
830
  /**
834
831
  * 加载动画控件
835
832
  * @category Control
836
833
  */ var Loading = /*#__PURE__*/ function(Control) {
837
- _inherits$s(Loading, Control);
834
+ _inherits$r(Loading, Control);
838
835
  function Loading(options) {
839
836
  if (options === void 0) options = {};
840
837
  var _this;
841
- _this = Control.call(this, Object.assign({}, LOADING_DEFAULT_OPTIONS, _extends$s({}, options, {
838
+ _this = Control.call(this, Object.assign({}, LOADING_DEFAULT_OPTIONS, _extends$r({}, options, {
842
839
  tagName: 'div',
843
840
  controlType: 'block',
844
841
  classNameSuffix: 'loading'
@@ -876,8 +873,8 @@
876
873
  return Loading;
877
874
  }(Control);
878
875
 
879
- function _extends$r() {
880
- _extends$r = Object.assign || function(target) {
876
+ function _extends$q() {
877
+ _extends$q = Object.assign || function(target) {
881
878
  for(var i = 1; i < arguments.length; i++){
882
879
  var source = arguments[i];
883
880
  for(var key in source){
@@ -888,9 +885,9 @@
888
885
  }
889
886
  return target;
890
887
  };
891
- return _extends$r.apply(this, arguments);
888
+ return _extends$q.apply(this, arguments);
892
889
  }
893
- function _inherits$r(subClass, superClass) {
890
+ function _inherits$q(subClass, superClass) {
894
891
  if (typeof superClass !== "function" && superClass !== null) {
895
892
  throw new TypeError("Super expression must either be null or a function");
896
893
  }
@@ -901,14 +898,14 @@
901
898
  configurable: true
902
899
  }
903
900
  });
904
- if (superClass) _set_prototype_of$r(subClass, superClass);
901
+ if (superClass) _set_prototype_of$q(subClass, superClass);
905
902
  }
906
- function _set_prototype_of$r(o, p) {
907
- _set_prototype_of$r = Object.setPrototypeOf || function setPrototypeOf(o, p) {
903
+ function _set_prototype_of$q(o, p) {
904
+ _set_prototype_of$q = Object.setPrototypeOf || function setPrototypeOf(o, p) {
908
905
  o.__proto__ = p;
909
906
  return o;
910
907
  };
911
- return _set_prototype_of$r(o, p);
908
+ return _set_prototype_of$q(o, p);
912
909
  }
913
910
  // 不放在服务器上 是因为有可能http加载失败
914
911
  // prettier-ignore
@@ -920,11 +917,11 @@
920
917
  * 封面控件
921
918
  * @category Control
922
919
  */ var Poster = /*#__PURE__*/ function(Control) {
923
- _inherits$r(Poster, Control);
920
+ _inherits$q(Poster, Control);
924
921
  function Poster(options) {
925
922
  if (options === void 0) options = {};
926
923
  var _this;
927
- _this = Control.call(this, Object.assign({}, POSTER_OPTIONS, _extends$r({}, options, {
924
+ _this = Control.call(this, Object.assign({}, POSTER_OPTIONS, _extends$q({}, options, {
928
925
  tagName: 'div',
929
926
  controlType: 'block',
930
927
  classNameSuffix: 'poster'
@@ -1020,7 +1017,6 @@
1020
1017
  return '<svg width="1em" height="1em" viewBox="0 0 24 24" focusable="false" aria-hidden="true" data-icon="talk-growth">\n <g fill="currentColor" stroke="currentColor">\n <path stroke="none" d="M9.22313 18.9543C9.6588 18.9543 10.0189 19.2133 10.0759 19.5494L10.0837 19.6428L10.0837 21.7847C10.0837 22.1649 9.69841 22.4732 9.22313 22.4732C8.78745 22.4732 8.42739 22.2142 8.37041 21.8781L8.36255 21.7847L8.36255 19.6428C8.36255 19.2626 8.74784 18.9543 9.22313 18.9543Z" fill-rule="evenodd" />\n <path d="M16.5323 11.3779L16.5323 11.5872C16.5323 15.7472 13.1599 19.1197 8.99981 19.1197C4.83971 19.1197 1.46729 15.7472 1.46729 11.5872L1.46729 11.4335" fill-rule="evenodd" fill="none" stroke-width="1.5" />\n <path stroke="none" d="M4.07861 6.12978C4.07861 3.589 6.30476 1.5293 9.05085 1.5293C11.7969 1.5293 14.0231 3.589 14.0231 6.12978L14.0231 12.075C14.0231 14.6158 11.7969 16.6755 9.05085 16.6755C6.30476 16.6755 4.07861 14.6158 4.07861 12.075L4.07861 6.12978ZM5.57861 12.075L5.57861 6.12978C5.57861 5.94083 5.597 5.75561 5.63376 5.57412C5.67605 5.36539 5.74265 5.16158 5.83357 4.9627C5.86625 4.8912 5.90164 4.82121 5.93974 4.75272C6.09781 4.4685 6.30245 4.21019 6.55365 3.97777C6.64206 3.89597 6.73424 3.81921 6.83019 3.7475C7.0816 3.55959 7.3589 3.40632 7.66207 3.28767C7.79552 3.23545 7.93107 3.19114 8.06871 3.15475C8.38503 3.07111 8.71241 3.0293 9.05085 3.0293C9.38929 3.0293 9.71668 3.07112 10.033 3.15475C10.1706 3.19114 10.3062 3.23545 10.4396 3.28767C10.7428 3.40632 11.0201 3.55959 11.2715 3.74749C11.3675 3.81921 11.4596 3.89596 11.548 3.97777C11.7993 4.2102 12.0039 4.46853 12.162 4.75276C12.2001 4.82124 12.2354 4.89122 12.2681 4.9627C12.359 5.16157 12.4256 5.36536 12.4679 5.57407C12.5047 5.75558 12.5231 5.94082 12.5231 6.12978L12.5231 12.075C12.5231 12.264 12.5047 12.4492 12.4679 12.6307C12.4256 12.8394 12.359 13.0432 12.2681 13.2421C12.2355 13.3136 12.2001 13.3835 12.162 13.452C12.0039 13.7362 11.7993 13.9946 11.548 14.227C11.4596 14.3088 11.3675 14.3856 11.2715 14.4573C11.0201 14.6452 10.7428 14.7985 10.4396 14.9171C10.3062 14.9693 10.1706 15.0136 10.033 15.05C9.71667 15.1337 9.38929 15.1755 9.05085 15.1755C8.71241 15.1755 8.38503 15.1337 8.06871 15.05C7.93107 15.0136 7.79552 14.9693 7.66207 14.9171C7.3589 14.7985 7.0816 14.6452 6.83019 14.4573C6.73424 14.3856 6.64206 14.3088 6.55365 14.227C6.30244 13.9946 6.09779 13.7363 5.93972 13.452C5.90163 13.3836 5.86625 13.3136 5.83357 13.2421C5.74265 13.0432 5.67605 12.8394 5.63377 12.6307C5.597 12.4492 5.57861 12.264 5.57861 12.075Z" fill-rule="evenodd" />\n </g>\n <g class="' + prefix + '-icon-talk-growth-dot">\n <path class="' + prefix + '-icon-talk-growth-dot1" d="M19.1333 6.40039L22.8667 6.40039" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot2" d="M19.1333 10.1338L21.9331 10.1338" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot3" d="M19.1333 13.8672L20.9995 13.8672" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot4" d="M19.1333 17.6001L20.0669 17.6001" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n </g>\n </svg>';
1021
1018
  },
1022
1019
  /** 语音广播 */ broadcast: '\n <svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" stroke="none" focusable="false" aria-hidden="true" data-icon="broadcast">\n <g>\n <path id="矢量 1" d="m8.52109,6.76609l6.17823,-2.91335c0.2485,-0.11718 0.5027,-0.19531 0.7627,-0.2351c0.2034,-0.03077 0.4104,-0.03809 0.6211,-0.02173c0.2092,0.01636 0.4116,0.05493 0.6069,0.11621c0.2278,0.07129 0.4461,0.1731 0.6548,0.30542c0.2087,0.13232 0.394,0.28638 0.5557,0.46216l0.0002,0l0,0c0.1384,0.15064 0.2598,0.31714 0.3638,0.49951c0.1047,0.18335 0.1865,0.37354 0.2451,0.57081c0.0752,0.25219 0.1128,0.51562 0.1128,0.79004l0,10.64651c0,0.2744 -0.0376,0.5379 -0.1128,0.7901l0,0c-0.0586,0.197 -0.1404,0.3874 -0.2451,0.5708c-0.104,0.1823 -0.2254,0.3488 -0.364,0.4995c-0.1617,0.1758 -0.347,0.3298 -0.5557,0.4621c-0.2087,0.1324 -0.427,0.2342 -0.6548,0.3054c-0.1953,0.0611 -0.3977,0.0999 -0.6069,0.1163c-0.2107,0.0163 -0.4175,0.009 -0.6209,-0.0218c-0.2602,-0.0398 -0.5144,-0.1181 -0.7629,-0.2351l-5.45044,-2.5703l0,2.759c0,0.1036 -0.01831,0.1995 -0.05494,0.2879c-0.03662,0.0886 -0.09155,0.1692 -0.16479,0.2424c-0.14624,0.1465 -0.32324,0.2197 -0.53027,0.2197l-2,0c-0.14209,0 -0.27344,-0.0373 -0.39429,-0.112c-0.12085,-0.0745 -0.21289,-0.1756 -0.27661,-0.3025l-1.99268,-3.9856c-0.06225,-0.0234 -0.12402,-0.0481 -0.18555,-0.074c-0.26953,-0.114 -0.52417,-0.2502 -0.7644,-0.4084c-0.26636,-0.1758 -0.51489,-0.3789 -0.74512,-0.6094c-0.23047,-0.2302 -0.43359,-0.4788 -0.60937,-0.7451c-0.1582,-0.2403 -0.29444,-0.4949 -0.40845,-0.7644c-0.11328,-0.2679 -0.20068,-0.5413 -0.26245,-0.8206l0,0c-0.07398,-0.3347 -0.11108,-0.6775 -0.11108,-1.0286c0,-0.351 0.0371,-0.6938 0.11108,-1.0285c0.06177,-0.2793 0.14917,-0.5528 0.26245,-0.8206c0.11401,-0.26953 0.25025,-0.52417 0.40845,-0.7644c0.17578,-0.26636 0.3789,-0.5149 0.60937,-0.74512c0.23023,-0.23047 0.47876,-0.4336 0.74512,-0.60938l0,0c0.24023,-0.1582 0.49487,-0.29444 0.7644,-0.40845c0.26783,-0.11328 0.54126,-0.20068 0.82056,-0.26245l0,0l0,0l0,0c0.33472,-0.07398 0.67749,-0.11109 1.02857,-0.11109l2.93872,0c0.02636,-0.0166 0.05444,-0.03198 0.08349,-0.04589zm0.72876,8.47948l6.08937,2.8716c0.1287,0.0606 0.2598,0.0987 0.3935,0.114c0.0772,0.0088 0.1551,0.0103 0.2337,0.0042c0.0857,-0.0068 0.1687,-0.0217 0.2495,-0.0452c0.1133,-0.0329 0.2219,-0.0822 0.3257,-0.1479c0.104,-0.0659 0.1948,-0.1431 0.2729,-0.2317c0.0554,-0.063 0.1045,-0.1318 0.147,-0.2063c0.0393,-0.0686 0.0713,-0.1397 0.0962,-0.2131c0.043,-0.1277 0.0647,-0.2625 0.0647,-0.4046l0,-10.64651c0,-0.14209 -0.0217,-0.2771 -0.0647,-0.40454c-0.0249,-0.07349 -0.0569,-0.14454 -0.0962,-0.21314c-0.0425,-0.07471 -0.0916,-0.14331 -0.147,-0.2063c-0.0781,-0.08862 -0.1689,-0.16577 -0.2729,-0.23169c-0.1038,-0.06567 -0.2124,-0.11523 -0.3257,-0.14795c-0.0808,-0.02344 -0.1638,-0.03833 -0.2495,-0.04517c-0.0786,-0.0061 -0.1565,-0.00463 -0.2337,0.00415c-0.1337,0.01539 -0.2648,0.05347 -0.3935,0.11402l-6.09034,2.87208l0.00097,7.16405zm13.58447,-7.9121l-2,1c-0.3757,0.18775 -0.8184,0.04029 -1.0063,-0.33545c-0.0552,-0.11035 -0.0813,-0.22656 -0.0813,-0.34033c0,-0.27344 0.1516,-0.53321 0.4167,-0.66602l2,-1c0.3757,-0.18775 0.8186,-0.04004 1.0064,0.33545c0.0551,0.11035 0.0813,0.22656 0.0813,0.34033c0,0.27368 -0.1514,0.53345 -0.4168,0.66602zm-15.08544,8.9785l-2.08667,0l1.30029,2.6006l0.78638,0l0,-2.6006zm0,-7.99998l-2.25,0c-0.24976,0 -0.49317,0.02734 -0.73023,0.08179c-0.18188,0.04174 -0.36011,0.09961 -0.53467,0.17334c-0.17944,0.07593 -0.34961,0.1665 -0.51049,0.27124c-0.18702,0.12231 -0.36133,0.26416 -0.52271,0.42554c-0.16138,0.16137 -0.30322,0.33569 -0.42554,0.52267c-0.10473,0.1609 -0.19531,0.3311 -0.27124,0.5105c-0.07373,0.1746 -0.13159,0.3528 -0.17334,0.5347c-0.05444,0.2371 -0.08178,0.4805 -0.08178,0.7302c0,0.2498 0.02734,0.4932 0.08178,0.7303c0.04175,0.1818 0.09961,0.3601 0.17334,0.5346c0.07593,0.1795 0.16651,0.3496 0.27124,0.5105c0.12232,0.187 0.26416,0.3614 0.42554,0.5227c0.16138,0.1614 0.33569,0.3033 0.52271,0.4256c0.16088,0.1047 0.33105,0.1953 0.51049,0.2712c0.17456,0.0737 0.35279,0.1316 0.53467,0.1734c0.23706,0.0544 0.48047,0.0817 0.73023,0.0817l2.25097,0l-0.00097,-6.49998zm12.75004,2.60058l2,0c0.4199,0 0.75,0.3301 0.75,0.75c0,0.4199 -0.3301,0.75 -0.75,0.75l-2,0c-0.42,0 -0.75,-0.3301 -0.75,-0.75c0,-0.4199 0.33,-0.75 0.75,-0.75zm0.3354,4.0791l2,1c0.2654,0.1326 0.4168,0.3924 0.4168,0.6661c0,0.1137 -0.0262,0.2299 -0.0813,0.3403c-0.1878,0.3755 -0.6307,0.5232 -1.0064,0.3354l-2,-1c-0.2651,-0.1328 -0.4167,-0.3925 -0.4167,-0.666c0,-0.1138 0.0261,-0.23 0.0813,-0.3403c0.1879,-0.3758 0.6306,-0.5232 1.0063,-0.3355z" fill-rule="evenodd"/>\n </g>\n</svg>',
1023
- /** AI对话 */ aiChat: '\n <svg width="24" height="24" viewBox="0 0 24 24" fill="none">\n <defs>\n <linearGradient id="gradient0" x1="10.667" x2="10.667" y1="0.667" y2="20.667">\n <stop stop-color="#33D9FF" offset="0.354"/>\n <stop stop-color="#CE77FF" offset="1"/>\n </linearGradient>\n <linearGradient id="gradient1" x1="8.318" x2="8.318" y1="0" y2="18.001">\n <stop stop-color="#33D9FF" offset="0.354"/>\n <stop stop-color="#CE77FF" offset="1"/>\n </linearGradient>\n </defs>\n \n <g transform="scale(1.2) translate(-3, -0.5)">\n <path d="M6.917 0C8.776 0 10.52 0.738 11.808 2.026C12.45 2.668 12.961 3.43 13.309 4.269C13.442 4.588 13.29 4.954 12.971 5.086C12.653 5.218 12.287 5.067 12.155 4.748C11.87 4.061 11.451 3.436 10.925 2.91C9.868 1.854 8.441 1.25 6.917 1.25C3.787 1.25 1.25 3.787 1.25 6.917C1.25 10.047 3.787 12.584 6.917 12.584C8.441 12.584 9.868 11.981 10.925 10.925C11.169 10.681 11.564 10.681 11.808 10.925C12.052 11.169 12.052 11.565 11.808 11.809C10.666 12.951 9.164 13.661 7.542 13.807L7.542 17.376C7.542 17.721 7.262 18.001 6.917 18.001C6.572 18.001 6.292 17.721 6.292 17.376L6.292 13.807C2.765 13.49 0 10.527 0 6.917C0 3.097 3.097 0 6.917 0ZM11.051 6.495C11.295 6.739 11.295 7.135 11.051 7.379L7.547 10.882C7.303 11.126 6.908 11.126 6.664 10.882C6.42 10.638 6.42 10.242 6.664 9.998L10.167 6.495C10.411 6.251 10.807 6.251 11.051 6.495ZM8.566 4.559L6.501 9.5C6.368 9.818 6.002 9.969 5.684 9.836C5.365 9.703 5.215 9.336 5.348 9.018L5.712 8.147L4.094 6.529L3.198 6.884C2.904 7.001 2.575 6.878 2.424 6.61C2.297 6.289 2.418 5.849 2.739 5.722L7.76 3.736C8.274 3.533 8.779 4.049 8.566 4.559ZM16.614 6.171C16.642 6.236 16.642 6.309 16.614 6.373L15.964 7.848C15.936 7.912 15.936 7.986 15.964 8.05L16.614 9.525C16.67 9.651 16.613 9.799 16.486 9.855C16.422 9.883 16.349 9.883 16.285 9.855L14.809 9.205C14.745 9.176 14.672 9.176 14.608 9.205L13.133 9.855C13.006 9.911 12.859 9.853 12.803 9.727C12.775 9.662 12.775 9.589 12.803 9.525L13.453 8.05C13.482 7.986 13.482 7.912 13.453 7.848L12.803 6.373C12.747 6.247 12.805 6.099 12.931 6.043C12.995 6.015 13.068 6.015 13.133 6.043L14.608 6.694C14.672 6.722 14.745 6.722 14.809 6.694L16.285 6.043C16.411 5.988 16.558 6.045 16.614 6.171ZM6.841 5.443L5.361 6.028L6.233 6.9L6.841 5.443Z" fill="url(#gradient1)" transform="matrix(0.707 -0.707 0.707 0.707 0.085 9.868)"/>\n </g>\n </svg>\n ',
1024
1020
  /** 相机/截图 */ capturePicture: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" focusable="false" aria-hidden="true" data-icon="capture-picture">\n <path d="M6.94 7.51C7.34 7.51 7.7 7.28 7.86 6.91L8.43 5.6C8.59 5.23 8.95 5 9.35 5L14.69 5C15.04 5 15.37 5.18 15.55 5.49L16.45 7.02C16.63 7.33 16.96 7.51 17.31 7.51L18.5 7.51C19.6 7.51 20.5 8.41 20.5 9.51L20.5 17C20.5 18.1 19.6 19 18.5 19L5.5 19C4.39 19 3.5 18.1 3.5 17L3.5 9.51C3.5 8.41 4.39 7.51 5.5 7.51L6.94 7.51Z" stroke-width="1.5"/>\n <circle cx="12" cy="12.525146" r="3.068097" stroke-width="1.5"/>\n </svg>',
1025
1021
  /** 电子放大 */ zoom: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" focusable="false" aria-hidden="true" data-icon="zoom">\n <ellipse cx="10.914795" cy="11.25" rx="8.004043" ry="8.25" stroke-width="1.5"/>\n <path d="M14.31 11.04L8.05 11.14" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M11.13 14.22L11.23 7.95" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M16.45 17.83L19.36 20.83" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n </svg>',
1026
1022
  /** 隐私遮蔽 */ privacyMasking: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" focusable="false" aria-hidden="true" data-icon="privacy-masking">\n <path d="M12 19C11.15 19 10.31 18.82 9.49 18.5" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M20.88 12.46C18.98 15.96 15.49 19 11.99 19" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M19.07 8.92C19.76 9.72 20.38 10.61 20.88 11.53C21.03 11.82 21.03 12.17 20.88 12.46" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M5 19L19 5" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M9.77 14.22C8.54 12.99 8.54 11 9.77 9.77C11 8.54 12.99 8.54 14.22 9.77" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M17.04 6.95C15.49 5.75 13.74 5 12 5C8.5 5 5.01 8.03 3.11 11.53C2.96 11.82 2.96 12.17 3.11 12.46C4.06 14.21 5.41 15.84 6.95 17.04" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n </svg>',
@@ -1109,10 +1105,6 @@
1109
1105
  if (attr === void 0) attr = {};
1110
1106
  return createIcon(Icons.broadcast, 'broadcast', attr);
1111
1107
  },
1112
- aiChat: function(attr) {
1113
- if (attr === void 0) attr = {};
1114
- return createIcon(Icons.aiChat, 'aiChat', attr);
1115
- },
1116
1108
  talkGrowth: function(attr) {
1117
1109
  if (attr === void 0) attr = {};
1118
1110
  return createIcon(Icons.talkGrowth(PREFIX_CLASS), 'talk-growth', attr);
@@ -1191,8 +1183,8 @@
1191
1183
  }
1192
1184
  };
1193
1185
 
1194
- function _extends$q() {
1195
- _extends$q = Object.assign || function(target) {
1186
+ function _extends$p() {
1187
+ _extends$p = Object.assign || function(target) {
1196
1188
  for(var i = 1; i < arguments.length; i++){
1197
1189
  var source = arguments[i];
1198
1190
  for(var key in source){
@@ -1203,9 +1195,9 @@
1203
1195
  }
1204
1196
  return target;
1205
1197
  };
1206
- return _extends$q.apply(this, arguments);
1198
+ return _extends$p.apply(this, arguments);
1207
1199
  }
1208
- function _inherits$q(subClass, superClass) {
1200
+ function _inherits$p(subClass, superClass) {
1209
1201
  if (typeof superClass !== "function" && superClass !== null) {
1210
1202
  throw new TypeError("Super expression must either be null or a function");
1211
1203
  }
@@ -1216,25 +1208,25 @@
1216
1208
  configurable: true
1217
1209
  }
1218
1210
  });
1219
- if (superClass) _set_prototype_of$q(subClass, superClass);
1211
+ if (superClass) _set_prototype_of$p(subClass, superClass);
1220
1212
  }
1221
- function _set_prototype_of$q(o, p) {
1222
- _set_prototype_of$q = Object.setPrototypeOf || function setPrototypeOf(o, p) {
1213
+ function _set_prototype_of$p(o, p) {
1214
+ _set_prototype_of$p = Object.setPrototypeOf || function setPrototypeOf(o, p) {
1223
1215
  o.__proto__ = p;
1224
1216
  return o;
1225
1217
  };
1226
- return _set_prototype_of$q(o, p);
1218
+ return _set_prototype_of$p(o, p);
1227
1219
  }
1228
1220
  var MESSAGE_DEFAULT_OPTIONS = {};
1229
1221
  /**
1230
1222
  * 消息控件
1231
1223
  * @category Control
1232
1224
  */ var Message = /*#__PURE__*/ function(Control) {
1233
- _inherits$q(Message, Control);
1225
+ _inherits$p(Message, Control);
1234
1226
  function Message(options) {
1235
1227
  if (options === void 0) options = {};
1236
1228
  var _this;
1237
- _this = Control.call(this, Object.assign({}, MESSAGE_DEFAULT_OPTIONS, _extends$q({}, options, {
1229
+ _this = Control.call(this, Object.assign({}, MESSAGE_DEFAULT_OPTIONS, _extends$p({}, options, {
1238
1230
  tagName: 'div',
1239
1231
  controlType: 'block'
1240
1232
  }))) || this;
@@ -1387,8 +1379,8 @@
1387
1379
  if (protoProps) _defineProperties$8(Constructor.prototype, protoProps);
1388
1380
  return Constructor;
1389
1381
  }
1390
- function _extends$p() {
1391
- _extends$p = Object.assign || function(target) {
1382
+ function _extends$o() {
1383
+ _extends$o = Object.assign || function(target) {
1392
1384
  for(var i = 1; i < arguments.length; i++){
1393
1385
  var source = arguments[i];
1394
1386
  for(var key in source){
@@ -1399,9 +1391,9 @@
1399
1391
  }
1400
1392
  return target;
1401
1393
  };
1402
- return _extends$p.apply(this, arguments);
1394
+ return _extends$o.apply(this, arguments);
1403
1395
  }
1404
- function _inherits$p(subClass, superClass) {
1396
+ function _inherits$o(subClass, superClass) {
1405
1397
  if (typeof superClass !== "function" && superClass !== null) {
1406
1398
  throw new TypeError("Super expression must either be null or a function");
1407
1399
  }
@@ -1412,23 +1404,23 @@
1412
1404
  configurable: true
1413
1405
  }
1414
1406
  });
1415
- if (superClass) _set_prototype_of$p(subClass, superClass);
1407
+ if (superClass) _set_prototype_of$o(subClass, superClass);
1416
1408
  }
1417
- function _set_prototype_of$p(o, p) {
1418
- _set_prototype_of$p = Object.setPrototypeOf || function setPrototypeOf(o, p) {
1409
+ function _set_prototype_of$o(o, p) {
1410
+ _set_prototype_of$o = Object.setPrototypeOf || function setPrototypeOf(o, p) {
1419
1411
  o.__proto__ = p;
1420
1412
  return o;
1421
1413
  };
1422
- return _set_prototype_of$p(o, p);
1414
+ return _set_prototype_of$o(o, p);
1423
1415
  }
1424
1416
  /**
1425
1417
  * 播放/暂停控件
1426
1418
  * @category Control
1427
1419
  */ var Play = /*#__PURE__*/ function(Control) {
1428
- _inherits$p(Play, Control);
1420
+ _inherits$o(Play, Control);
1429
1421
  function Play(options) {
1430
1422
  var _this;
1431
- _this = Control.call(this, _extends$p({}, options, {
1423
+ _this = Control.call(this, _extends$o({}, options, {
1432
1424
  tagName: 'span',
1433
1425
  controlType: 'button',
1434
1426
  classNameSuffix: 'play'
@@ -2946,8 +2938,8 @@
2946
2938
  if (protoProps) _defineProperties$6(Constructor.prototype, protoProps);
2947
2939
  return Constructor;
2948
2940
  }
2949
- function _extends$o() {
2950
- _extends$o = Object.assign || function(target) {
2941
+ function _extends$n() {
2942
+ _extends$n = Object.assign || function(target) {
2951
2943
  for(var i = 1; i < arguments.length; i++){
2952
2944
  var source = arguments[i];
2953
2945
  for(var key in source){
@@ -2958,9 +2950,9 @@
2958
2950
  }
2959
2951
  return target;
2960
2952
  };
2961
- return _extends$o.apply(this, arguments);
2953
+ return _extends$n.apply(this, arguments);
2962
2954
  }
2963
- function _inherits$o(subClass, superClass) {
2955
+ function _inherits$n(subClass, superClass) {
2964
2956
  if (typeof superClass !== "function" && superClass !== null) {
2965
2957
  throw new TypeError("Super expression must either be null or a function");
2966
2958
  }
@@ -2971,14 +2963,14 @@
2971
2963
  configurable: true
2972
2964
  }
2973
2965
  });
2974
- if (superClass) _set_prototype_of$o(subClass, superClass);
2966
+ if (superClass) _set_prototype_of$n(subClass, superClass);
2975
2967
  }
2976
- function _set_prototype_of$o(o, p) {
2977
- _set_prototype_of$o = Object.setPrototypeOf || function setPrototypeOf(o, p) {
2968
+ function _set_prototype_of$n(o, p) {
2969
+ _set_prototype_of$n = Object.setPrototypeOf || function setPrototypeOf(o, p) {
2978
2970
  o.__proto__ = p;
2979
2971
  return o;
2980
2972
  };
2981
- return _set_prototype_of$o(o, p);
2973
+ return _set_prototype_of$n(o, p);
2982
2974
  }
2983
2975
  var VOLUME_DEFAULT_OPTIONS = {
2984
2976
  volume: 0.8,
@@ -2992,12 +2984,12 @@
2992
2984
  * 音量调节控件
2993
2985
  * @category Control
2994
2986
  */ var Volume = /*#__PURE__*/ function(Control) {
2995
- _inherits$o(Volume, Control);
2987
+ _inherits$n(Volume, Control);
2996
2988
  function Volume(options) {
2997
2989
  if (options === void 0) options = {};
2998
2990
  var _this;
2999
2991
  var _this__options_props, _this__options_props1, _this__options_props2, _this__options_props3;
3000
- _this = Control.call(this, _extends$o({}, options, {
2992
+ _this = Control.call(this, _extends$n({}, options, {
3001
2993
  tagName: 'span',
3002
2994
  classNameSuffix: 'volume',
3003
2995
  controlType: 'button'
@@ -3412,7 +3404,7 @@
3412
3404
  var screenfullExports = requireScreenfull();
3413
3405
  var screenfull = /*@__PURE__*/getDefaultExportFromCjs(screenfullExports);
3414
3406
 
3415
- function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
3407
+ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
3416
3408
  try {
3417
3409
  var info = gen[key](arg);
3418
3410
  var value = info.value;
@@ -3426,22 +3418,22 @@
3426
3418
  Promise.resolve(value).then(_next, _throw);
3427
3419
  }
3428
3420
  }
3429
- function _async_to_generator$7(fn) {
3421
+ function _async_to_generator$6(fn) {
3430
3422
  return function() {
3431
3423
  var self = this, args = arguments;
3432
3424
  return new Promise(function(resolve, reject) {
3433
3425
  var gen = fn.apply(self, args);
3434
3426
  function _next(value) {
3435
- asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, "next", value);
3427
+ asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "next", value);
3436
3428
  }
3437
3429
  function _throw(err) {
3438
- asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, "throw", err);
3430
+ asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "throw", err);
3439
3431
  }
3440
3432
  _next(undefined);
3441
3433
  });
3442
3434
  };
3443
3435
  }
3444
- function _ts_generator$7(thisArg, body) {
3436
+ function _ts_generator$6(thisArg, body) {
3445
3437
  var f, y, t, _ = {
3446
3438
  label: 0,
3447
3439
  sent: function() {
@@ -3655,8 +3647,8 @@
3655
3647
  * 全屏
3656
3648
  * @returns Promise<void>
3657
3649
  */ _proto.fullscreen = function fullscreen() {
3658
- return _async_to_generator$7(function() {
3659
- return _ts_generator$7(this, function(_state) {
3650
+ return _async_to_generator$6(function() {
3651
+ return _ts_generator$6(this, function(_state) {
3660
3652
  switch(_state.label){
3661
3653
  case 0:
3662
3654
  if (!Utils.isMobile) return [
@@ -3691,8 +3683,8 @@
3691
3683
  * 退出全屏
3692
3684
  * @returns Promise<void>
3693
3685
  */ _proto.exitFullscreen = function exitFullscreen() {
3694
- return _async_to_generator$7(function() {
3695
- return _ts_generator$7(this, function(_state) {
3686
+ return _async_to_generator$6(function() {
3687
+ return _ts_generator$6(this, function(_state) {
3696
3688
  switch(_state.label){
3697
3689
  case 0:
3698
3690
  if (!Utils.isMobile) return [
@@ -3731,8 +3723,8 @@
3731
3723
  * 全屏切换
3732
3724
  * @returns Promise<void>
3733
3725
  */ _proto.toggle = function toggle() {
3734
- return _async_to_generator$7(function() {
3735
- return _ts_generator$7(this, function(_state) {
3726
+ return _async_to_generator$6(function() {
3727
+ return _ts_generator$6(this, function(_state) {
3736
3728
  switch(_state.label){
3737
3729
  case 0:
3738
3730
  if (!Utils.isMobile) return [
@@ -3855,8 +3847,8 @@
3855
3847
  return Fullscreen;
3856
3848
  }();
3857
3849
 
3858
- function _extends$n() {
3859
- _extends$n = Object.assign || function(target) {
3850
+ function _extends$m() {
3851
+ _extends$m = Object.assign || function(target) {
3860
3852
  for(var i = 1; i < arguments.length; i++){
3861
3853
  var source = arguments[i];
3862
3854
  for(var key in source){
@@ -3867,9 +3859,9 @@
3867
3859
  }
3868
3860
  return target;
3869
3861
  };
3870
- return _extends$n.apply(this, arguments);
3862
+ return _extends$m.apply(this, arguments);
3871
3863
  }
3872
- function _inherits$n(subClass, superClass) {
3864
+ function _inherits$m(subClass, superClass) {
3873
3865
  if (typeof superClass !== "function" && superClass !== null) {
3874
3866
  throw new TypeError("Super expression must either be null or a function");
3875
3867
  }
@@ -3880,24 +3872,24 @@
3880
3872
  configurable: true
3881
3873
  }
3882
3874
  });
3883
- if (superClass) _set_prototype_of$n(subClass, superClass);
3875
+ if (superClass) _set_prototype_of$m(subClass, superClass);
3884
3876
  }
3885
- function _set_prototype_of$n(o, p) {
3886
- _set_prototype_of$n = Object.setPrototypeOf || function setPrototypeOf(o, p) {
3877
+ function _set_prototype_of$m(o, p) {
3878
+ _set_prototype_of$m = Object.setPrototypeOf || function setPrototypeOf(o, p) {
3887
3879
  o.__proto__ = p;
3888
3880
  return o;
3889
3881
  };
3890
- return _set_prototype_of$n(o, p);
3882
+ return _set_prototype_of$m(o, p);
3891
3883
  }
3892
3884
  /**
3893
3885
  * 全屏控件
3894
3886
  * @category Control
3895
3887
  */ var Fullscreen = /*#__PURE__*/ function(Control) {
3896
- _inherits$n(Fullscreen, Control);
3888
+ _inherits$m(Fullscreen, Control);
3897
3889
  function Fullscreen(options) {
3898
3890
  var _this;
3899
3891
  var _options_props, _this_options;
3900
- _this = Control.call(this, _extends$n({
3892
+ _this = Control.call(this, _extends$m({
3901
3893
  tagName: 'span',
3902
3894
  classNameSuffix: 'fullscreen',
3903
3895
  controlType: 'button'
@@ -3962,8 +3954,8 @@
3962
3954
  return Fullscreen;
3963
3955
  }(Control);
3964
3956
 
3965
- function _extends$m() {
3966
- _extends$m = Object.assign || function(target) {
3957
+ function _extends$l() {
3958
+ _extends$l = Object.assign || function(target) {
3967
3959
  for(var i = 1; i < arguments.length; i++){
3968
3960
  var source = arguments[i];
3969
3961
  for(var key in source){
@@ -3974,9 +3966,9 @@
3974
3966
  }
3975
3967
  return target;
3976
3968
  };
3977
- return _extends$m.apply(this, arguments);
3969
+ return _extends$l.apply(this, arguments);
3978
3970
  }
3979
- function _inherits$m(subClass, superClass) {
3971
+ function _inherits$l(subClass, superClass) {
3980
3972
  if (typeof superClass !== "function" && superClass !== null) {
3981
3973
  throw new TypeError("Super expression must either be null or a function");
3982
3974
  }
@@ -3987,24 +3979,24 @@
3987
3979
  configurable: true
3988
3980
  }
3989
3981
  });
3990
- if (superClass) _set_prototype_of$m(subClass, superClass);
3982
+ if (superClass) _set_prototype_of$l(subClass, superClass);
3991
3983
  }
3992
- function _set_prototype_of$m(o, p) {
3993
- _set_prototype_of$m = Object.setPrototypeOf || function setPrototypeOf(o, p) {
3984
+ function _set_prototype_of$l(o, p) {
3985
+ _set_prototype_of$l = Object.setPrototypeOf || function setPrototypeOf(o, p) {
3994
3986
  o.__proto__ = p;
3995
3987
  return o;
3996
3988
  };
3997
- return _set_prototype_of$m(o, p);
3989
+ return _set_prototype_of$l(o, p);
3998
3990
  }
3999
3991
  /**
4000
3992
  * 回放类型切换(本地回放(sdk 卡), 云存储回放, 云录制回放)控件
4001
3993
  * @category Control
4002
3994
  */ var Rec = /*#__PURE__*/ function(Control) {
4003
- _inherits$m(Rec, Control);
3995
+ _inherits$l(Rec, Control);
4004
3996
  function Rec(options) {
4005
3997
  var _this;
4006
3998
  var _options_props;
4007
- _this = Control.call(this, _extends$m({}, options, {
3999
+ _this = Control.call(this, _extends$l({}, options, {
4008
4000
  tagName: 'div',
4009
4001
  controlType: 'block',
4010
4002
  classNameSuffix: 'rec'
@@ -4460,7 +4452,6 @@
4460
4452
  BTN_CAPTURE: '截图',
4461
4453
  BTN_TALK: '对讲',
4462
4454
  BTN_BROADCAST: '语音广播',
4463
- BTN_AICHAT: 'AI对话',
4464
4455
  BTN_ZOOM: '电子放大',
4465
4456
  BTN_3D_ZOOM: '3D定位',
4466
4457
  BTN_PTZ: '云台控制',
@@ -4732,7 +4723,6 @@
4732
4723
  BTN_CAPTURE: 'Screenshot',
4733
4724
  BTN_TALK: 'Intercom',
4734
4725
  BTN_BROADCAST: 'Voice broadcast',
4735
- BTN_AICHAT: 'AI Chat',
4736
4726
  BTN_ZOOM: 'Electronic zoom',
4737
4727
  BTN_3D_ZOOM: '3D positioning',
4738
4728
  BTN_PTZ: 'PTZ control',
@@ -5027,12 +5017,6 @@
5027
5017
  defaultActive: 0,
5028
5018
  isrender: 1
5029
5019
  },
5030
- {
5031
- iconId: 'aiChat',
5032
- part: 'left',
5033
- defaultActive: 0,
5034
- isrender: 1
5035
- },
5036
5020
  {
5037
5021
  iconId: 'speed',
5038
5022
  part: 'right',
@@ -5217,12 +5201,6 @@
5217
5201
  defaultActive: 0,
5218
5202
  isrender: 1
5219
5203
  },
5220
- {
5221
- iconId: 'aiChat',
5222
- part: 'left',
5223
- defaultActive: 0,
5224
- isrender: 1
5225
- },
5226
5204
  {
5227
5205
  iconId: 'speed',
5228
5206
  part: 'right',
@@ -5383,7 +5361,7 @@
5383
5361
  voice: voice
5384
5362
  };
5385
5363
 
5386
- function _inherits$l(subClass, superClass) {
5364
+ function _inherits$k(subClass, superClass) {
5387
5365
  if (typeof superClass !== "function" && superClass !== null) {
5388
5366
  throw new TypeError("Super expression must either be null or a function");
5389
5367
  }
@@ -5394,20 +5372,20 @@
5394
5372
  configurable: true
5395
5373
  }
5396
5374
  });
5397
- if (superClass) _set_prototype_of$l(subClass, superClass);
5375
+ if (superClass) _set_prototype_of$k(subClass, superClass);
5398
5376
  }
5399
- function _set_prototype_of$l(o, p) {
5400
- _set_prototype_of$l = Object.setPrototypeOf || function setPrototypeOf(o, p) {
5377
+ function _set_prototype_of$k(o, p) {
5378
+ _set_prototype_of$k = Object.setPrototypeOf || function setPrototypeOf(o, p) {
5401
5379
  o.__proto__ = p;
5402
5380
  return o;
5403
5381
  };
5404
- return _set_prototype_of$l(o, p);
5382
+ return _set_prototype_of$k(o, p);
5405
5383
  }
5406
5384
  /**
5407
5385
  * 截图控件
5408
5386
  * @category Content
5409
5387
  */ var Content = /*#__PURE__*/ function(EventEmitter) {
5410
- _inherits$l(Content, EventEmitter);
5388
+ _inherits$k(Content, EventEmitter);
5411
5389
  function Content(options) {
5412
5390
  var _this;
5413
5391
  _this = EventEmitter.call(this) || this, _this._scaleMode = 0, _this._cleanUpResizeObserver = null, _this._originWidth = 0, _this._originHeight = 0, _this._width = 0, _this._height = 0;
@@ -5522,8 +5500,8 @@
5522
5500
  return Content;
5523
5501
  }(EventEmitter);
5524
5502
 
5525
- function _extends$l() {
5526
- _extends$l = Object.assign || function(target) {
5503
+ function _extends$k() {
5504
+ _extends$k = Object.assign || function(target) {
5527
5505
  for(var i = 1; i < arguments.length; i++){
5528
5506
  var source = arguments[i];
5529
5507
  for(var key in source){
@@ -5534,9 +5512,9 @@
5534
5512
  }
5535
5513
  return target;
5536
5514
  };
5537
- return _extends$l.apply(this, arguments);
5515
+ return _extends$k.apply(this, arguments);
5538
5516
  }
5539
- function _inherits$k(subClass, superClass) {
5517
+ function _inherits$j(subClass, superClass) {
5540
5518
  if (typeof superClass !== "function" && superClass !== null) {
5541
5519
  throw new TypeError("Super expression must either be null or a function");
5542
5520
  }
@@ -5547,23 +5525,23 @@
5547
5525
  configurable: true
5548
5526
  }
5549
5527
  });
5550
- if (superClass) _set_prototype_of$k(subClass, superClass);
5528
+ if (superClass) _set_prototype_of$j(subClass, superClass);
5551
5529
  }
5552
- function _set_prototype_of$k(o, p) {
5553
- _set_prototype_of$k = Object.setPrototypeOf || function setPrototypeOf(o, p) {
5530
+ function _set_prototype_of$j(o, p) {
5531
+ _set_prototype_of$j = Object.setPrototypeOf || function setPrototypeOf(o, p) {
5554
5532
  o.__proto__ = p;
5555
5533
  return o;
5556
5534
  };
5557
- return _set_prototype_of$k(o, p);
5535
+ return _set_prototype_of$j(o, p);
5558
5536
  }
5559
5537
  /**
5560
5538
  * 更多控件
5561
5539
  * @category Control
5562
5540
  */ var More = /*#__PURE__*/ function(Control) {
5563
- _inherits$k(More, Control);
5541
+ _inherits$j(More, Control);
5564
5542
  function More(options) {
5565
5543
  var _this;
5566
- _this = Control.call(this, _extends$l({}, options, {
5544
+ _this = Control.call(this, _extends$k({}, options, {
5567
5545
  tagName: 'span',
5568
5546
  controlType: 'button',
5569
5547
  classNameSuffix: 'more'
@@ -5769,16 +5747,6 @@
5769
5747
  }
5770
5748
  });
5771
5749
  // =======================================================
5772
- // AI对话框
5773
- // =======================================================
5774
- theme.on(EVENTS.aichatChange, function(active) {
5775
- var _theme_controls, _theme_controls_aiChatControl, _theme_controls1;
5776
- if (((_theme_controls = theme.controls) == null ? void 0 : _theme_controls.aiChatControl) && active !== ((_theme_controls1 = theme.controls) == null ? void 0 : (_theme_controls_aiChatControl = _theme_controls1.aiChatControl) == null ? void 0 : _theme_controls_aiChatControl.active)) {
5777
- var _theme_controls_aiChatControl1, _theme_controls2;
5778
- (_theme_controls2 = theme.controls) == null ? void 0 : (_theme_controls_aiChatControl1 = _theme_controls2.aiChatControl) == null ? void 0 : _theme_controls_aiChatControl1.emit(EVENTS.aichatChange, active);
5779
- }
5780
- });
5781
- // =======================================================
5782
5750
  // 录制
5783
5751
  // =======================================================
5784
5752
  theme.on(EVENTS.recordingChange, function(recording) {
@@ -5874,7 +5842,7 @@
5874
5842
  *
5875
5843
  * @param theme - Theme
5876
5844
  */ function _controlEventemitter(theme) {
5877
- var _theme_controls, _theme_controls1, _theme_controls2, _theme_controls3, _theme_controls4, _theme_controls5, _theme_controls6, _theme_controls7, _theme_controls8, _theme_controls9, _theme_controls10, _theme_controls11, _theme_controls12, _theme_controls13, _theme_controls14, _theme_controls15, _theme_controls16;
5845
+ var _theme_controls, _theme_controls1, _theme_controls2, _theme_controls3, _theme_controls4, _theme_controls5, _theme_controls6, _theme_controls7, _theme_controls8, _theme_controls9, _theme_controls10, _theme_controls11, _theme_controls12, _theme_controls13, _theme_controls14, _theme_controls15;
5878
5846
  // Controls
5879
5847
  if (theme._recFooter) {
5880
5848
  theme._recFooter.on(EVENTS.theme.recFooterDestroy, function() {
@@ -5976,17 +5944,8 @@
5976
5944
  theme.emit(EVENTS.control.broadcastDestroy);
5977
5945
  });
5978
5946
  }
5979
- // AI对话框
5980
- if ((_theme_controls6 = theme.controls) == null ? void 0 : _theme_controls6.aiChatControl) {
5981
- theme.controls.aiChatControl.on(EVENTS.control.aichatChange, function(active) {
5982
- theme.emit(EVENTS.control.aichatChange, active);
5983
- });
5984
- theme.controls.aiChatControl.on(EVENTS.control.aichatDestroy, function() {
5985
- theme.emit(EVENTS.control.aichatDestroy);
5986
- });
5987
- }
5988
5947
  // 缩放控件
5989
- if ((_theme_controls7 = theme.controls) == null ? void 0 : _theme_controls7.zoomControl) {
5948
+ if ((_theme_controls6 = theme.controls) == null ? void 0 : _theme_controls6.zoomControl) {
5990
5949
  theme.controls.zoomControl.on(EVENTS.control.zoomChange, function(value, _percent, _range) {
5991
5950
  if (theme.zoom !== value) {
5992
5951
  theme.zoom = value;
@@ -6008,7 +5967,7 @@
6008
5967
  });
6009
5968
  }
6010
5969
  // 清晰度控件
6011
- if ((_theme_controls8 = theme.controls) == null ? void 0 : _theme_controls8.definitionControl) {
5970
+ if ((_theme_controls7 = theme.controls) == null ? void 0 : _theme_controls7.definitionControl) {
6012
5971
  theme.controls.definitionControl.on(EVENTS.control.definitionPanelOpenChange, function(open, definition, item) {
6013
5972
  theme.emit(CLEAR_TIMER_HEADER_FOOTER_ANIMATION, open, definition);
6014
5973
  theme.emit(EVENTS.control.definitionPanelOpenChange, open, definition, item);
@@ -6021,7 +5980,7 @@
6021
5980
  });
6022
5981
  }
6023
5982
  // 倍速控件
6024
- if ((_theme_controls9 = theme.controls) == null ? void 0 : _theme_controls9.speedControl) {
5983
+ if ((_theme_controls8 = theme.controls) == null ? void 0 : _theme_controls8.speedControl) {
6025
5984
  theme.controls.speedControl.on(EVENTS.control.speedPanelOpenChange, function(open, speed, item) {
6026
5985
  theme.emit(CLEAR_TIMER_HEADER_FOOTER_ANIMATION, open, speed);
6027
5986
  theme.emit(EVENTS.control.speedPanelOpenChange, open, speed, item);
@@ -6034,7 +5993,7 @@
6034
5993
  });
6035
5994
  }
6036
5995
  // 截图控件
6037
- if ((_theme_controls10 = theme.controls) == null ? void 0 : _theme_controls10.capturePictureControl) {
5996
+ if ((_theme_controls9 = theme.controls) == null ? void 0 : _theme_controls9.capturePictureControl) {
6038
5997
  theme.controls.capturePictureControl.on(EVENTS.control.capturePicture, function(options) {
6039
5998
  theme.emit(EVENTS.control.capturePicture, options);
6040
5999
  });
@@ -6043,25 +6002,25 @@
6043
6002
  });
6044
6003
  }
6045
6004
  // 全屏控件
6046
- if ((_theme_controls11 = theme.controls) == null ? void 0 : _theme_controls11.fullscreenControl) {
6005
+ if ((_theme_controls10 = theme.controls) == null ? void 0 : _theme_controls10.fullscreenControl) {
6047
6006
  theme.controls.fullscreenControl.on(EVENTS.control.fullscreenDestroy, function() {
6048
6007
  theme.emit(EVENTS.control.fullscreenDestroy);
6049
6008
  });
6050
6009
  }
6051
6010
  // 全局全屏控件
6052
- if ((_theme_controls12 = theme.controls) == null ? void 0 : _theme_controls12.globalFullscreenControl) {
6011
+ if ((_theme_controls11 = theme.controls) == null ? void 0 : _theme_controls11.globalFullscreenControl) {
6053
6012
  theme.controls.globalFullscreenControl.on(EVENTS.control.globalFullscreenDestroy, function() {
6054
6013
  theme.emit(EVENTS.control.globalFullscreenDestroy);
6055
6014
  });
6056
6015
  }
6057
6016
  // 设备信息控件
6058
- if ((_theme_controls13 = theme.controls) == null ? void 0 : _theme_controls13.deviceControl) {
6017
+ if ((_theme_controls12 = theme.controls) == null ? void 0 : _theme_controls12.deviceControl) {
6059
6018
  theme.controls.deviceControl.on(EVENTS.control.deviceDestroy, function() {
6060
6019
  theme.emit(EVENTS.control.deviceDestroy);
6061
6020
  });
6062
6021
  }
6063
6022
  // 回放类型切换控件
6064
- if ((_theme_controls14 = theme.controls) == null ? void 0 : _theme_controls14.recControl) {
6023
+ if ((_theme_controls13 = theme.controls) == null ? void 0 : _theme_controls13.recControl) {
6065
6024
  // prettier-ignore
6066
6025
  theme.controls.recControl.on(EVENTS.control.recTypeChange, function(type) {
6067
6026
  if (theme.recType !== type) {
@@ -6082,7 +6041,7 @@
6082
6041
  });
6083
6042
  }
6084
6043
  // 时间轴控件
6085
- if ((_theme_controls15 = theme.controls) == null ? void 0 : _theme_controls15.timeLineControl) {
6044
+ if ((_theme_controls14 = theme.controls) == null ? void 0 : _theme_controls14.timeLineControl) {
6086
6045
  theme.controls.timeLineControl.on(EVENTS.control.timeLineChange, function(date) {
6087
6046
  theme.emit(EVENTS.control.timeLineChange, date);
6088
6047
  });
@@ -6099,7 +6058,7 @@
6099
6058
  });
6100
6059
  }
6101
6060
  // 日历控件
6102
- if ((_theme_controls16 = theme.controls) == null ? void 0 : _theme_controls16.dateControl) {
6061
+ if ((_theme_controls15 = theme.controls) == null ? void 0 : _theme_controls15.dateControl) {
6103
6062
  theme.controls.dateControl.on(EVENTS.control.datePanelOpenChange, function(open, date) {
6104
6063
  theme.emit(EVENTS.control.datePanelOpenChange, open, date);
6105
6064
  });
@@ -6194,8 +6153,8 @@
6194
6153
  if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
6195
6154
  return Constructor;
6196
6155
  }
6197
- function _extends$k() {
6198
- _extends$k = Object.assign || function(target) {
6156
+ function _extends$j() {
6157
+ _extends$j = Object.assign || function(target) {
6199
6158
  for(var i = 1; i < arguments.length; i++){
6200
6159
  var source = arguments[i];
6201
6160
  for(var key in source){
@@ -6206,9 +6165,9 @@
6206
6165
  }
6207
6166
  return target;
6208
6167
  };
6209
- return _extends$k.apply(this, arguments);
6168
+ return _extends$j.apply(this, arguments);
6210
6169
  }
6211
- function _inherits$j(subClass, superClass) {
6170
+ function _inherits$i(subClass, superClass) {
6212
6171
  if (typeof superClass !== "function" && superClass !== null) {
6213
6172
  throw new TypeError("Super expression must either be null or a function");
6214
6173
  }
@@ -6219,14 +6178,14 @@
6219
6178
  configurable: true
6220
6179
  }
6221
6180
  });
6222
- if (superClass) _set_prototype_of$j(subClass, superClass);
6181
+ if (superClass) _set_prototype_of$i(subClass, superClass);
6223
6182
  }
6224
- function _set_prototype_of$j(o, p) {
6225
- _set_prototype_of$j = Object.setPrototypeOf || function setPrototypeOf(o, p) {
6183
+ function _set_prototype_of$i(o, p) {
6184
+ _set_prototype_of$i = Object.setPrototypeOf || function setPrototypeOf(o, p) {
6226
6185
  o.__proto__ = p;
6227
6186
  return o;
6228
6187
  };
6229
- return _set_prototype_of$j(o, p);
6188
+ return _set_prototype_of$i(o, p);
6230
6189
  }
6231
6190
  var ZOOM_DEFAULT_OPTIONS = {
6232
6191
  open: false,
@@ -6236,10 +6195,10 @@
6236
6195
  * 电子放大控件
6237
6196
  * @category Control
6238
6197
  */ var Zoom$1 = /*#__PURE__*/ function(Control) {
6239
- _inherits$j(Zoom, Control);
6198
+ _inherits$i(Zoom, Control);
6240
6199
  function Zoom(options) {
6241
6200
  var _this;
6242
- _this = Control.call(this, _extends$k({}, options, {
6201
+ _this = Control.call(this, _extends$j({}, options, {
6243
6202
  tagName: 'span',
6244
6203
  controlType: 'button',
6245
6204
  classNameSuffix: 'zoom'
@@ -7092,8 +7051,8 @@
7092
7051
  var distExports$3 = requireDist$6();
7093
7052
  var Zoom = /*@__PURE__*/getDefaultExportFromCjs(distExports$3);
7094
7053
 
7095
- function _extends$j() {
7096
- _extends$j = Object.assign || function(target) {
7054
+ function _extends$i() {
7055
+ _extends$i = Object.assign || function(target) {
7097
7056
  for(var i = 1; i < arguments.length; i++){
7098
7057
  var source = arguments[i];
7099
7058
  for(var key in source){
@@ -7104,10 +7063,10 @@
7104
7063
  }
7105
7064
  return target;
7106
7065
  };
7107
- return _extends$j.apply(this, arguments);
7066
+ return _extends$i.apply(this, arguments);
7108
7067
  }
7109
7068
  function __zoom(theme, container, options) {
7110
- theme.zoomUtil = new Zoom(container, _extends$j({}, options || {}, {
7069
+ theme.zoomUtil = new Zoom(container, _extends$i({}, options || {}, {
7111
7070
  min: 1,
7112
7071
  onChange: function(zoom, reset) {
7113
7072
  if (zoom !== theme._zoom) {
@@ -7125,7 +7084,7 @@
7125
7084
  }));
7126
7085
  }
7127
7086
 
7128
- function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
7087
+ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
7129
7088
  try {
7130
7089
  var info = gen[key](arg);
7131
7090
  var value = info.value;
@@ -7139,22 +7098,22 @@
7139
7098
  Promise.resolve(value).then(_next, _throw);
7140
7099
  }
7141
7100
  }
7142
- function _async_to_generator$6(fn) {
7101
+ function _async_to_generator$5(fn) {
7143
7102
  return function() {
7144
7103
  var self = this, args = arguments;
7145
7104
  return new Promise(function(resolve, reject) {
7146
7105
  var gen = fn.apply(self, args);
7147
7106
  function _next(value) {
7148
- asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "next", value);
7107
+ asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "next", value);
7149
7108
  }
7150
7109
  function _throw(err) {
7151
- asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, "throw", err);
7110
+ asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "throw", err);
7152
7111
  }
7153
7112
  _next(undefined);
7154
7113
  });
7155
7114
  };
7156
7115
  }
7157
- function _ts_generator$6(thisArg, body) {
7116
+ function _ts_generator$5(thisArg, body) {
7158
7117
  var f, y, t, _ = {
7159
7118
  label: 0,
7160
7119
  sent: function() {
@@ -7246,9 +7205,9 @@
7246
7205
  }
7247
7206
  }
7248
7207
  function getThemeDataByTemplate(theme, id) {
7249
- return _async_to_generator$6(function() {
7208
+ return _async_to_generator$5(function() {
7250
7209
  var _theme_options_token_httpToken, _theme_options_token, url;
7251
- return _ts_generator$6(this, function(_state) {
7210
+ return _ts_generator$5(this, function(_state) {
7252
7211
  switch(_state.label){
7253
7212
  case 0:
7254
7213
  url = theme.options.env.domain + "/api/service/media/template/getDetail?accessToken=" + (theme.options.accessToken || ((_theme_options_token = theme.options.token) == null ? void 0 : (_theme_options_token_httpToken = _theme_options_token.httpToken) == null ? void 0 : _theme_options_token_httpToken.url)) + "&id=" + id;
@@ -7257,8 +7216,8 @@
7257
7216
  fetch(url, {
7258
7217
  method: 'GET'
7259
7218
  }).then(function(response) {
7260
- return _async_to_generator$6(function() {
7261
- return _ts_generator$6(this, function(_state) {
7219
+ return _async_to_generator$5(function() {
7220
+ return _ts_generator$5(this, function(_state) {
7262
7221
  switch(_state.label){
7263
7222
  case 0:
7264
7223
  return [
@@ -7303,7 +7262,7 @@
7303
7262
  })();
7304
7263
  }
7305
7264
 
7306
- function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
7265
+ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
7307
7266
  try {
7308
7267
  var info = gen[key](arg);
7309
7268
  var value = info.value;
@@ -7317,23 +7276,23 @@
7317
7276
  Promise.resolve(value).then(_next, _throw);
7318
7277
  }
7319
7278
  }
7320
- function _async_to_generator$5(fn) {
7279
+ function _async_to_generator$4(fn) {
7321
7280
  return function() {
7322
7281
  var self = this, args = arguments;
7323
7282
  return new Promise(function(resolve, reject) {
7324
7283
  var gen = fn.apply(self, args);
7325
7284
  function _next(value) {
7326
- asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "next", value);
7285
+ asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "next", value);
7327
7286
  }
7328
7287
  function _throw(err) {
7329
- asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "throw", err);
7288
+ asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "throw", err);
7330
7289
  }
7331
7290
  _next(undefined);
7332
7291
  });
7333
7292
  };
7334
7293
  }
7335
- function _extends$i() {
7336
- _extends$i = Object.assign || function(target) {
7294
+ function _extends$h() {
7295
+ _extends$h = Object.assign || function(target) {
7337
7296
  for(var i = 1; i < arguments.length; i++){
7338
7297
  var source = arguments[i];
7339
7298
  for(var key in source){
@@ -7344,9 +7303,9 @@
7344
7303
  }
7345
7304
  return target;
7346
7305
  };
7347
- return _extends$i.apply(this, arguments);
7306
+ return _extends$h.apply(this, arguments);
7348
7307
  }
7349
- function _ts_generator$5(thisArg, body) {
7308
+ function _ts_generator$4(thisArg, body) {
7350
7309
  var f, y, t, _ = {
7351
7310
  label: 0,
7352
7311
  sent: function() {
@@ -7472,7 +7431,7 @@
7472
7431
  }
7473
7432
  if (item.isrender === 1 && REC_GROUP.includes(item.iconId)) {
7474
7433
  // TODO: 因为回放是一组, 位置以第一个位置为准
7475
- recControls.push(recControls[0] ? _extends$i({}, item, {
7434
+ recControls.push(recControls[0] ? _extends$h({}, item, {
7476
7435
  part: recControls[0].part
7477
7436
  }) : item);
7478
7437
  return false;
@@ -7495,7 +7454,7 @@
7495
7454
  }
7496
7455
  if (item.isrender === 1 && REC_GROUP.includes(item.iconId)) {
7497
7456
  // TODO: 因为回放是一组, 位置以第一个位置为准
7498
- recControls.push(recControls[0] ? _extends$i({}, item, {
7457
+ recControls.push(recControls[0] ? _extends$h({}, item, {
7499
7458
  part: recControls[0].part
7500
7459
  }) : item);
7501
7460
  return false;
@@ -7557,9 +7516,9 @@
7557
7516
  * @param data
7558
7517
  * @returns
7559
7518
  */ function getThemeData(theme, data) {
7560
- return _async_to_generator$5(function() {
7519
+ return _async_to_generator$4(function() {
7561
7520
  var themeData, _theme_logger, template;
7562
- return _ts_generator$5(this, function(_state) {
7521
+ return _ts_generator$4(this, function(_state) {
7563
7522
  switch(_state.label){
7564
7523
  case 0:
7565
7524
  themeData = data;
@@ -7750,8 +7709,8 @@
7750
7709
  return Component;
7751
7710
  }();
7752
7711
 
7753
- function _extends$h() {
7754
- _extends$h = Object.assign || function(target) {
7712
+ function _extends$g() {
7713
+ _extends$g = Object.assign || function(target) {
7755
7714
  for(var i = 1; i < arguments.length; i++){
7756
7715
  var source = arguments[i];
7757
7716
  for(var key in source){
@@ -7762,9 +7721,9 @@
7762
7721
  }
7763
7722
  return target;
7764
7723
  };
7765
- return _extends$h.apply(this, arguments);
7724
+ return _extends$g.apply(this, arguments);
7766
7725
  }
7767
- function _inherits$i(subClass, superClass) {
7726
+ function _inherits$h(subClass, superClass) {
7768
7727
  if (typeof superClass !== "function" && superClass !== null) {
7769
7728
  throw new TypeError("Super expression must either be null or a function");
7770
7729
  }
@@ -7775,28 +7734,28 @@
7775
7734
  configurable: true
7776
7735
  }
7777
7736
  });
7778
- if (superClass) _set_prototype_of$i(subClass, superClass);
7737
+ if (superClass) _set_prototype_of$h(subClass, superClass);
7779
7738
  }
7780
- function _set_prototype_of$i(o, p) {
7781
- _set_prototype_of$i = Object.setPrototypeOf || function setPrototypeOf(o, p) {
7739
+ function _set_prototype_of$h(o, p) {
7740
+ _set_prototype_of$h = Object.setPrototypeOf || function setPrototypeOf(o, p) {
7782
7741
  o.__proto__ = p;
7783
7742
  return o;
7784
7743
  };
7785
- return _set_prototype_of$i(o, p);
7744
+ return _set_prototype_of$h(o, p);
7786
7745
  }
7787
7746
  var Footer = /*#__PURE__*/ function(Component) {
7788
- _inherits$i(Footer, Component);
7747
+ _inherits$h(Footer, Component);
7789
7748
  function Footer(options) {
7790
7749
  if (options === void 0) options = {};
7791
- return Component.call(this, _extends$h({}, options, {
7750
+ return Component.call(this, _extends$g({}, options, {
7792
7751
  cType: 'footer'
7793
7752
  })) || this;
7794
7753
  }
7795
7754
  return Footer;
7796
7755
  }(Component);
7797
7756
 
7798
- function _extends$g() {
7799
- _extends$g = Object.assign || function(target) {
7757
+ function _extends$f() {
7758
+ _extends$f = Object.assign || function(target) {
7800
7759
  for(var i = 1; i < arguments.length; i++){
7801
7760
  var source = arguments[i];
7802
7761
  for(var key in source){
@@ -7807,9 +7766,9 @@
7807
7766
  }
7808
7767
  return target;
7809
7768
  };
7810
- return _extends$g.apply(this, arguments);
7769
+ return _extends$f.apply(this, arguments);
7811
7770
  }
7812
- function _inherits$h(subClass, superClass) {
7771
+ function _inherits$g(subClass, superClass) {
7813
7772
  if (typeof superClass !== "function" && superClass !== null) {
7814
7773
  throw new TypeError("Super expression must either be null or a function");
7815
7774
  }
@@ -7820,20 +7779,20 @@
7820
7779
  configurable: true
7821
7780
  }
7822
7781
  });
7823
- if (superClass) _set_prototype_of$h(subClass, superClass);
7782
+ if (superClass) _set_prototype_of$g(subClass, superClass);
7824
7783
  }
7825
- function _set_prototype_of$h(o, p) {
7826
- _set_prototype_of$h = Object.setPrototypeOf || function setPrototypeOf(o, p) {
7784
+ function _set_prototype_of$g(o, p) {
7785
+ _set_prototype_of$g = Object.setPrototypeOf || function setPrototypeOf(o, p) {
7827
7786
  o.__proto__ = p;
7828
7787
  return o;
7829
7788
  };
7830
- return _set_prototype_of$h(o, p);
7789
+ return _set_prototype_of$g(o, p);
7831
7790
  }
7832
7791
  var Header = /*#__PURE__*/ function(Component) {
7833
- _inherits$h(Header, Component);
7792
+ _inherits$g(Header, Component);
7834
7793
  function Header(options) {
7835
7794
  if (options === void 0) options = {};
7836
- return Component.call(this, _extends$g({}, options, {
7795
+ return Component.call(this, _extends$f({}, options, {
7837
7796
  cType: 'header'
7838
7797
  })) || this;
7839
7798
  }
@@ -7999,8 +7958,8 @@
7999
7958
  };
8000
7959
  }
8001
7960
 
8002
- function _extends$f() {
8003
- _extends$f = Object.assign || function(target) {
7961
+ function _extends$e() {
7962
+ _extends$e = Object.assign || function(target) {
8004
7963
  for(var i = 1; i < arguments.length; i++){
8005
7964
  var source = arguments[i];
8006
7965
  for(var key in source){
@@ -8011,9 +7970,9 @@
8011
7970
  }
8012
7971
  return target;
8013
7972
  };
8014
- return _extends$f.apply(this, arguments);
7973
+ return _extends$e.apply(this, arguments);
8015
7974
  }
8016
- function _inherits$g(subClass, superClass) {
7975
+ function _inherits$f(subClass, superClass) {
8017
7976
  if (typeof superClass !== "function" && superClass !== null) {
8018
7977
  throw new TypeError("Super expression must either be null or a function");
8019
7978
  }
@@ -8024,23 +7983,23 @@
8024
7983
  configurable: true
8025
7984
  }
8026
7985
  });
8027
- if (superClass) _set_prototype_of$g(subClass, superClass);
7986
+ if (superClass) _set_prototype_of$f(subClass, superClass);
8028
7987
  }
8029
- function _set_prototype_of$g(o, p) {
8030
- _set_prototype_of$g = Object.setPrototypeOf || function setPrototypeOf(o, p) {
7988
+ function _set_prototype_of$f(o, p) {
7989
+ _set_prototype_of$f = Object.setPrototypeOf || function setPrototypeOf(o, p) {
8031
7990
  o.__proto__ = p;
8032
7991
  return o;
8033
7992
  };
8034
- return _set_prototype_of$g(o, p);
7993
+ return _set_prototype_of$f(o, p);
8035
7994
  }
8036
7995
  /**
8037
7996
  * 全局全屏
8038
7997
  * 主题和播放器不提供全局全屏的api, 如果开发者想要可以参考这个组件自己实现
8039
7998
  * @category Control
8040
7999
  */ var GlobalFullscreen = /*#__PURE__*/ function(Fullscreen) {
8041
- _inherits$g(GlobalFullscreen, Fullscreen);
8000
+ _inherits$f(GlobalFullscreen, Fullscreen);
8042
8001
  function GlobalFullscreen(options) {
8043
- return Fullscreen.call(this, _extends$f({}, options, {
8002
+ return Fullscreen.call(this, _extends$e({}, options, {
8044
8003
  controlType: 'button',
8045
8004
  classNameSuffix: 'global-fullscreen'
8046
8005
  })) || this;
@@ -8071,8 +8030,8 @@
8071
8030
  return GlobalFullscreen;
8072
8031
  }(Fullscreen);
8073
8032
 
8074
- function _extends$e() {
8075
- _extends$e = Object.assign || function(target) {
8033
+ function _extends$d() {
8034
+ _extends$d = Object.assign || function(target) {
8076
8035
  for(var i = 1; i < arguments.length; i++){
8077
8036
  var source = arguments[i];
8078
8037
  for(var key in source){
@@ -8083,9 +8042,9 @@
8083
8042
  }
8084
8043
  return target;
8085
8044
  };
8086
- return _extends$e.apply(this, arguments);
8045
+ return _extends$d.apply(this, arguments);
8087
8046
  }
8088
- function _inherits$f(subClass, superClass) {
8047
+ function _inherits$e(subClass, superClass) {
8089
8048
  if (typeof superClass !== "function" && superClass !== null) {
8090
8049
  throw new TypeError("Super expression must either be null or a function");
8091
8050
  }
@@ -8096,23 +8055,23 @@
8096
8055
  configurable: true
8097
8056
  }
8098
8057
  });
8099
- if (superClass) _set_prototype_of$f(subClass, superClass);
8058
+ if (superClass) _set_prototype_of$e(subClass, superClass);
8100
8059
  }
8101
- function _set_prototype_of$f(o, p) {
8102
- _set_prototype_of$f = Object.setPrototypeOf || function setPrototypeOf(o, p) {
8060
+ function _set_prototype_of$e(o, p) {
8061
+ _set_prototype_of$e = Object.setPrototypeOf || function setPrototypeOf(o, p) {
8103
8062
  o.__proto__ = p;
8104
8063
  return o;
8105
8064
  };
8106
- return _set_prototype_of$f(o, p);
8065
+ return _set_prototype_of$e(o, p);
8107
8066
  }
8108
8067
  /**
8109
8068
  * 截图控件,点击后会触发截图事件, 截图数据会通过 onCapture 回调函数返回
8110
8069
  * @category Control
8111
8070
  */ var CapturePicture = /*#__PURE__*/ function(Control) {
8112
- _inherits$f(CapturePicture, Control);
8071
+ _inherits$e(CapturePicture, Control);
8113
8072
  function CapturePicture(options) {
8114
8073
  var _this;
8115
- _this = Control.call(this, _extends$e({}, options, {
8074
+ _this = Control.call(this, _extends$d({}, options, {
8116
8075
  tagName: 'span',
8117
8076
  classNameSuffix: 'capture-picture'
8118
8077
  })) || this, _this._timer = null;
@@ -9139,8 +9098,8 @@
9139
9098
  if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
9140
9099
  return Constructor;
9141
9100
  }
9142
- function _extends$d() {
9143
- _extends$d = Object.assign || function(target) {
9101
+ function _extends$c() {
9102
+ _extends$c = Object.assign || function(target) {
9144
9103
  for(var i = 1; i < arguments.length; i++){
9145
9104
  var source = arguments[i];
9146
9105
  for(var key in source){
@@ -9151,9 +9110,9 @@
9151
9110
  }
9152
9111
  return target;
9153
9112
  };
9154
- return _extends$d.apply(this, arguments);
9113
+ return _extends$c.apply(this, arguments);
9155
9114
  }
9156
- function _inherits$e(subClass, superClass) {
9115
+ function _inherits$d(subClass, superClass) {
9157
9116
  if (typeof superClass !== "function" && superClass !== null) {
9158
9117
  throw new TypeError("Super expression must either be null or a function");
9159
9118
  }
@@ -9164,23 +9123,23 @@
9164
9123
  configurable: true
9165
9124
  }
9166
9125
  });
9167
- if (superClass) _set_prototype_of$e(subClass, superClass);
9126
+ if (superClass) _set_prototype_of$d(subClass, superClass);
9168
9127
  }
9169
- function _set_prototype_of$e(o, p) {
9170
- _set_prototype_of$e = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9128
+ function _set_prototype_of$d(o, p) {
9129
+ _set_prototype_of$d = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9171
9130
  o.__proto__ = p;
9172
9131
  return o;
9173
9132
  };
9174
- return _set_prototype_of$e(o, p);
9133
+ return _set_prototype_of$d(o, p);
9175
9134
  }
9176
9135
  /**
9177
9136
  * 云台控件
9178
9137
  * @category Control
9179
9138
  */ var Ptz = /*#__PURE__*/ function(Control) {
9180
- _inherits$e(Ptz, Control);
9139
+ _inherits$d(Ptz, Control);
9181
9140
  function Ptz(options) {
9182
9141
  var _this;
9183
- _this = Control.call(this, _extends$d({}, options, {
9142
+ _this = Control.call(this, _extends$c({}, options, {
9184
9143
  tagName: 'span',
9185
9144
  controlType: 'button',
9186
9145
  classNameSuffix: 'ptz'
@@ -9223,7 +9182,7 @@
9223
9182
  this.$turntable.classList.add("" + PREFIX_CLASS + "-ptz-turntable");
9224
9183
  this.$panel.appendChild(this.$turntable);
9225
9184
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
9226
- this._ptzControl = new distExports$2.Ptz(this.$turntable, _extends$d({}, this._options, {
9185
+ this._ptzControl = new distExports$2.Ptz(this.$turntable, _extends$c({}, this._options, {
9227
9186
  onSpeedChange: this._onSpeedChange.bind(this),
9228
9187
  onDirection: this._onDirection.bind(this)
9229
9188
  }));
@@ -9232,7 +9191,7 @@
9232
9191
  };
9233
9192
  _proto.renderMobileExtend = function renderMobileExtend($container) {
9234
9193
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
9235
- if (!this._ptzControl1) this._ptzControl1 = new distExports$2.MobilePtz($container, _extends$d({}, this._options, {
9194
+ if (!this._ptzControl1) this._ptzControl1 = new distExports$2.MobilePtz($container, _extends$c({}, this._options, {
9236
9195
  onSpeedChange: this._onSpeedChange.bind(this),
9237
9196
  onDirection: this._onDirection.bind(this)
9238
9197
  }));
@@ -9335,8 +9294,8 @@
9335
9294
  if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
9336
9295
  return Constructor;
9337
9296
  }
9338
- function _extends$c() {
9339
- _extends$c = Object.assign || function(target) {
9297
+ function _extends$b() {
9298
+ _extends$b = Object.assign || function(target) {
9340
9299
  for(var i = 1; i < arguments.length; i++){
9341
9300
  var source = arguments[i];
9342
9301
  for(var key in source){
@@ -9347,9 +9306,9 @@
9347
9306
  }
9348
9307
  return target;
9349
9308
  };
9350
- return _extends$c.apply(this, arguments);
9309
+ return _extends$b.apply(this, arguments);
9351
9310
  }
9352
- function _inherits$d(subClass, superClass) {
9311
+ function _inherits$c(subClass, superClass) {
9353
9312
  if (typeof superClass !== "function" && superClass !== null) {
9354
9313
  throw new TypeError("Super expression must either be null or a function");
9355
9314
  }
@@ -9360,14 +9319,14 @@
9360
9319
  configurable: true
9361
9320
  }
9362
9321
  });
9363
- if (superClass) _set_prototype_of$d(subClass, superClass);
9322
+ if (superClass) _set_prototype_of$c(subClass, superClass);
9364
9323
  }
9365
- function _set_prototype_of$d(o, p) {
9366
- _set_prototype_of$d = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9324
+ function _set_prototype_of$c(o, p) {
9325
+ _set_prototype_of$c = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9367
9326
  o.__proto__ = p;
9368
9327
  return o;
9369
9328
  };
9370
- return _set_prototype_of$d(o, p);
9329
+ return _set_prototype_of$c(o, p);
9371
9330
  }
9372
9331
  var RECORD_DEFAULT_OPTIONS = {
9373
9332
  maxDuration: 3600
@@ -9381,10 +9340,10 @@
9381
9340
  * 2. 录制时间很短可能会因为浏览器的限制或没有I帧而无法生成有效的视频文件
9382
9341
  * @category Control
9383
9342
  */ var Record = /*#__PURE__*/ function(Control) {
9384
- _inherits$d(Record, Control);
9343
+ _inherits$c(Record, Control);
9385
9344
  function Record(options) {
9386
9345
  var _this;
9387
- _this = Control.call(this, _extends$c({}, options, {
9346
+ _this = Control.call(this, _extends$b({}, options, {
9388
9347
  tagName: 'span',
9389
9348
  controlType: 'button',
9390
9349
  classNameSuffix: 'record'
@@ -9483,7 +9442,7 @@
9483
9442
  return Record;
9484
9443
  }(Control);
9485
9444
 
9486
- function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
9445
+ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
9487
9446
  try {
9488
9447
  var info = gen[key](arg);
9489
9448
  var value = info.value;
@@ -9497,16 +9456,16 @@
9497
9456
  Promise.resolve(value).then(_next, _throw);
9498
9457
  }
9499
9458
  }
9500
- function _async_to_generator$4(fn) {
9459
+ function _async_to_generator$3(fn) {
9501
9460
  return function() {
9502
9461
  var self = this, args = arguments;
9503
9462
  return new Promise(function(resolve, reject) {
9504
9463
  var gen = fn.apply(self, args);
9505
9464
  function _next(value) {
9506
- asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "next", value);
9465
+ asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "next", value);
9507
9466
  }
9508
9467
  function _throw(err) {
9509
- asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "throw", err);
9468
+ asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "throw", err);
9510
9469
  }
9511
9470
  _next(undefined);
9512
9471
  });
@@ -9525,8 +9484,8 @@
9525
9484
  if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
9526
9485
  return Constructor;
9527
9486
  }
9528
- function _extends$b() {
9529
- _extends$b = Object.assign || function(target) {
9487
+ function _extends$a() {
9488
+ _extends$a = Object.assign || function(target) {
9530
9489
  for(var i = 1; i < arguments.length; i++){
9531
9490
  var source = arguments[i];
9532
9491
  for(var key in source){
@@ -9537,9 +9496,9 @@
9537
9496
  }
9538
9497
  return target;
9539
9498
  };
9540
- return _extends$b.apply(this, arguments);
9499
+ return _extends$a.apply(this, arguments);
9541
9500
  }
9542
- function _inherits$c(subClass, superClass) {
9501
+ function _inherits$b(subClass, superClass) {
9543
9502
  if (typeof superClass !== "function" && superClass !== null) {
9544
9503
  throw new TypeError("Super expression must either be null or a function");
9545
9504
  }
@@ -9550,16 +9509,16 @@
9550
9509
  configurable: true
9551
9510
  }
9552
9511
  });
9553
- if (superClass) _set_prototype_of$c(subClass, superClass);
9512
+ if (superClass) _set_prototype_of$b(subClass, superClass);
9554
9513
  }
9555
- function _set_prototype_of$c(o, p) {
9556
- _set_prototype_of$c = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9514
+ function _set_prototype_of$b(o, p) {
9515
+ _set_prototype_of$b = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9557
9516
  o.__proto__ = p;
9558
9517
  return o;
9559
9518
  };
9560
- return _set_prototype_of$c(o, p);
9519
+ return _set_prototype_of$b(o, p);
9561
9520
  }
9562
- function _ts_generator$4(thisArg, body) {
9521
+ function _ts_generator$3(thisArg, body) {
9563
9522
  var f, y, t, _ = {
9564
9523
  label: 0,
9565
9524
  sent: function() {
@@ -9659,10 +9618,10 @@
9659
9618
  *
9660
9619
  * @category Control
9661
9620
  */ var Talk = /*#__PURE__*/ function(Control) {
9662
- _inherits$c(Talk, Control);
9621
+ _inherits$b(Talk, Control);
9663
9622
  function Talk(options) {
9664
9623
  var _this;
9665
- _this = Control.call(this, _extends$b({}, options, {
9624
+ _this = Control.call(this, _extends$a({}, options, {
9666
9625
  tagName: 'span',
9667
9626
  controlType: 'button',
9668
9627
  classNameSuffix: 'talk'
@@ -9714,8 +9673,8 @@
9714
9673
  var _this = this, _superprop_get__onControlClick = function() {
9715
9674
  return Control.prototype._onControlClick;
9716
9675
  };
9717
- return _async_to_generator$4(function() {
9718
- return _ts_generator$4(this, function(_state) {
9676
+ return _async_to_generator$3(function() {
9677
+ return _ts_generator$3(this, function(_state) {
9719
9678
  _superprop_get__onControlClick().call(_this, e);
9720
9679
  this.active = !this.active;
9721
9680
  this.emit(EVENTS.control.talkingChange, this.active);
@@ -9766,231 +9725,6 @@
9766
9725
  return Talk;
9767
9726
  }(Control);
9768
9727
 
9769
- function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
9770
- try {
9771
- var info = gen[key](arg);
9772
- var value = info.value;
9773
- } catch (error) {
9774
- reject(error);
9775
- return;
9776
- }
9777
- if (info.done) {
9778
- resolve(value);
9779
- } else {
9780
- Promise.resolve(value).then(_next, _throw);
9781
- }
9782
- }
9783
- function _async_to_generator$3(fn) {
9784
- return function() {
9785
- var self = this, args = arguments;
9786
- return new Promise(function(resolve, reject) {
9787
- var gen = fn.apply(self, args);
9788
- function _next(value) {
9789
- asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "next", value);
9790
- }
9791
- function _throw(err) {
9792
- asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "throw", err);
9793
- }
9794
- _next(undefined);
9795
- });
9796
- };
9797
- }
9798
- function _extends$a() {
9799
- _extends$a = Object.assign || function(target) {
9800
- for(var i = 1; i < arguments.length; i++){
9801
- var source = arguments[i];
9802
- for(var key in source){
9803
- if (Object.prototype.hasOwnProperty.call(source, key)) {
9804
- target[key] = source[key];
9805
- }
9806
- }
9807
- }
9808
- return target;
9809
- };
9810
- return _extends$a.apply(this, arguments);
9811
- }
9812
- function _inherits$b(subClass, superClass) {
9813
- if (typeof superClass !== "function" && superClass !== null) {
9814
- throw new TypeError("Super expression must either be null or a function");
9815
- }
9816
- subClass.prototype = Object.create(superClass && superClass.prototype, {
9817
- constructor: {
9818
- value: subClass,
9819
- writable: true,
9820
- configurable: true
9821
- }
9822
- });
9823
- if (superClass) _set_prototype_of$b(subClass, superClass);
9824
- }
9825
- function _set_prototype_of$b(o, p) {
9826
- _set_prototype_of$b = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9827
- o.__proto__ = p;
9828
- return o;
9829
- };
9830
- return _set_prototype_of$b(o, p);
9831
- }
9832
- function _ts_generator$3(thisArg, body) {
9833
- var f, y, t, _ = {
9834
- label: 0,
9835
- sent: function() {
9836
- if (t[0] & 1) throw t[1];
9837
- return t[1];
9838
- },
9839
- trys: [],
9840
- ops: []
9841
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
9842
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
9843
- return this;
9844
- }), g;
9845
- function verb(n) {
9846
- return function(v) {
9847
- return step([
9848
- n,
9849
- v
9850
- ]);
9851
- };
9852
- }
9853
- function step(op) {
9854
- if (f) throw new TypeError("Generator is already executing.");
9855
- while(g && (g = 0, op[0] && (_ = 0)), _)try {
9856
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
9857
- if (y = 0, t) op = [
9858
- op[0] & 2,
9859
- t.value
9860
- ];
9861
- switch(op[0]){
9862
- case 0:
9863
- case 1:
9864
- t = op;
9865
- break;
9866
- case 4:
9867
- _.label++;
9868
- return {
9869
- value: op[1],
9870
- done: false
9871
- };
9872
- case 5:
9873
- _.label++;
9874
- y = op[1];
9875
- op = [
9876
- 0
9877
- ];
9878
- continue;
9879
- case 7:
9880
- op = _.ops.pop();
9881
- _.trys.pop();
9882
- continue;
9883
- default:
9884
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
9885
- _ = 0;
9886
- continue;
9887
- }
9888
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
9889
- _.label = op[1];
9890
- break;
9891
- }
9892
- if (op[0] === 6 && _.label < t[1]) {
9893
- _.label = t[1];
9894
- t = op;
9895
- break;
9896
- }
9897
- if (t && _.label < t[2]) {
9898
- _.label = t[2];
9899
- _.ops.push(op);
9900
- break;
9901
- }
9902
- if (t[2]) _.ops.pop();
9903
- _.trys.pop();
9904
- continue;
9905
- }
9906
- op = body.call(thisArg, _);
9907
- } catch (e) {
9908
- op = [
9909
- 6,
9910
- e
9911
- ];
9912
- y = 0;
9913
- } finally{
9914
- f = t = 0;
9915
- }
9916
- if (op[0] & 5) throw op[1];
9917
- return {
9918
- value: op[0] ? op[1] : void 0,
9919
- done: true
9920
- };
9921
- }
9922
- }
9923
- /**
9924
- * 语音广播控件
9925
- *
9926
- * 用于触发语音广播功能的按钮控件
9927
- *
9928
- * @category Control
9929
- */ var Broadcast = /*#__PURE__*/ function(Control) {
9930
- _inherits$b(Broadcast, Control);
9931
- function Broadcast(options) {
9932
- var _this;
9933
- _this = Control.call(this, _extends$a({}, options, {
9934
- tagName: 'span',
9935
- controlType: 'button',
9936
- classNameSuffix: 'broadcast'
9937
- })) || this;
9938
- _this._options = options;
9939
- _this._render();
9940
- _this.on(EVENTS.broadcastChange, function(active) {
9941
- if (_this.active !== active) {
9942
- _this.active = active;
9943
- _this._render();
9944
- }
9945
- });
9946
- return _this;
9947
- }
9948
- var _proto = Broadcast.prototype;
9949
- _proto._render = function _render() {
9950
- var _this_locale;
9951
- this.$container.innerHTML = IconComponents.broadcast({
9952
- title: (_this_locale = this.locale) == null ? void 0 : _this_locale.BTN_BROADCAST
9953
- });
9954
- };
9955
- _proto.reset = function reset(hide) {
9956
- if (this.active) {
9957
- this.active = false;
9958
- this._render();
9959
- this.emit(EVENTS.control.broadcastChange, false);
9960
- Control.prototype.reset.call(this, hide);
9961
- }
9962
- };
9963
- /**
9964
- * 销毁语音广播控件
9965
- */ _proto.destroy = function destroy() {
9966
- if (this.active) {
9967
- this.reset();
9968
- }
9969
- Control.prototype.destroy.call(this);
9970
- };
9971
- /**
9972
- * 点击 Control 会触发
9973
- */ _proto._onControlClick = function _onControlClick(e) {
9974
- var _this = this, _superprop_get__onControlClick = function() {
9975
- return Control.prototype._onControlClick;
9976
- };
9977
- return _async_to_generator$3(function() {
9978
- var _this__options_onChange, _this__options;
9979
- return _ts_generator$3(this, function(_state) {
9980
- _superprop_get__onControlClick().call(_this, e);
9981
- this.active = !this.active;
9982
- this.emit(EVENTS.control.broadcastChange, this.active);
9983
- (_this__options = this._options) == null ? void 0 : (_this__options_onChange = _this__options.onChange) == null ? void 0 : _this__options_onChange.call(_this__options, this.active);
9984
- this._render();
9985
- return [
9986
- 2
9987
- ];
9988
- });
9989
- }).call(this);
9990
- };
9991
- return Broadcast;
9992
- }(Control);
9993
-
9994
9728
  function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
9995
9729
  try {
9996
9730
  var info = gen[key](arg);
@@ -10146,23 +9880,23 @@
10146
9880
  }
10147
9881
  }
10148
9882
  /**
10149
- * AI对话框控件
9883
+ * 语音广播控件
10150
9884
  *
10151
- * 用于触发AI对话框功能的按钮控件
9885
+ * 用于触发语音广播功能的按钮控件
10152
9886
  *
10153
9887
  * @category Control
10154
- */ var AIChat = /*#__PURE__*/ function(Control) {
10155
- _inherits$a(AIChat, Control);
10156
- function AIChat(options) {
9888
+ */ var Broadcast = /*#__PURE__*/ function(Control) {
9889
+ _inherits$a(Broadcast, Control);
9890
+ function Broadcast(options) {
10157
9891
  var _this;
10158
9892
  _this = Control.call(this, _extends$9({}, options, {
10159
9893
  tagName: 'span',
10160
9894
  controlType: 'button',
10161
- classNameSuffix: 'aichat'
9895
+ classNameSuffix: 'broadcast'
10162
9896
  })) || this;
10163
9897
  _this._options = options;
10164
9898
  _this._render();
10165
- _this.on(EVENTS.aichatChange, function(active) {
9899
+ _this.on(EVENTS.broadcastChange, function(active) {
10166
9900
  if (_this.active !== active) {
10167
9901
  _this.active = active;
10168
9902
  _this._render();
@@ -10170,23 +9904,23 @@
10170
9904
  });
10171
9905
  return _this;
10172
9906
  }
10173
- var _proto = AIChat.prototype;
9907
+ var _proto = Broadcast.prototype;
10174
9908
  _proto._render = function _render() {
10175
9909
  var _this_locale;
10176
- this.$container.innerHTML = IconComponents.aiChat({
10177
- title: (_this_locale = this.locale) == null ? void 0 : _this_locale.BTN_AICHAT
9910
+ this.$container.innerHTML = IconComponents.broadcast({
9911
+ title: (_this_locale = this.locale) == null ? void 0 : _this_locale.BTN_BROADCAST
10178
9912
  });
10179
9913
  };
10180
9914
  _proto.reset = function reset(hide) {
10181
9915
  if (this.active) {
10182
9916
  this.active = false;
10183
9917
  this._render();
10184
- this.emit(EVENTS.control.aichatChange, false);
9918
+ this.emit(EVENTS.control.broadcastChange, false);
10185
9919
  Control.prototype.reset.call(this, hide);
10186
9920
  }
10187
9921
  };
10188
9922
  /**
10189
- * 销毁AI对话框控件
9923
+ * 销毁语音广播控件
10190
9924
  */ _proto.destroy = function destroy() {
10191
9925
  if (this.active) {
10192
9926
  this.reset();
@@ -10204,7 +9938,7 @@
10204
9938
  return _ts_generator$2(this, function(_state) {
10205
9939
  _superprop_get__onControlClick().call(_this, e);
10206
9940
  this.active = !this.active;
10207
- this.emit(EVENTS.control.aichatChange, this.active);
9941
+ this.emit(EVENTS.control.broadcastChange, this.active);
10208
9942
  (_this__options = this._options) == null ? void 0 : (_this__options_onChange = _this__options.onChange) == null ? void 0 : _this__options_onChange.call(_this__options, this.active);
10209
9943
  this._render();
10210
9944
  return [
@@ -10213,7 +9947,7 @@
10213
9947
  });
10214
9948
  }).call(this);
10215
9949
  };
10216
- return AIChat;
9950
+ return Broadcast;
10217
9951
  }(Control);
10218
9952
 
10219
9953
  function _defineProperties$1(target, props) {
@@ -11717,7 +11451,6 @@
11717
11451
  record: Record,
11718
11452
  talk: Talk,
11719
11453
  broadcast: Broadcast,
11720
- aiChat: AIChat,
11721
11454
  zoom: Zoom$1,
11722
11455
  definition: Definition,
11723
11456
  fullscreen: Fullscreen,
@@ -14100,7 +13833,7 @@
14100
13833
  zh: zh,
14101
13834
  en: en
14102
13835
  };
14103
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.1-beta.1';
13836
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.1.2-beta.1';
14104
13837
 
14105
13838
  // 不要动这里的代码, 这个出口是为了编译成 umd 规范的文件
14106
13839