inl-ui 0.1.78 → 0.1.80

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.
@@ -549,7 +549,7 @@ function useMicroApp(appList) {
549
549
  const handleRouteChange = core.useThrottleFn(async () => {
550
550
  const microAppName = activeAppName.value;
551
551
  let microAppDefine = appList.find(item => item.name === microAppName);
552
- if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
552
+ console.log(555555555555555, activeAppName.value);
553
553
  const domId = `microApp_${microAppName}`;
554
554
  if (!appContainerList.value.some(item => item.id === domId)) {
555
555
  appContainerList.value.push({
@@ -675,6 +675,8 @@ const Events$1 = {
675
675
  WEBRTC_ON_DATA_CHANNEL_MSG: "WEBRTC_ON_DATA_CHANNEL_MSG",
676
676
  CAPTURE_STREAM_FAILED: "CAPTURE_STREAM_FAILED"
677
677
  };
678
+ const VERSION$1 = "1.0.1";
679
+ const BUILD_DATE = "Sat Mar 30 2024 13:57:14 GMT+0800 (\u4E2D\u56FD\u6807\u51C6\u65F6\u95F4)";
678
680
  function isFirefox() {
679
681
  return window.navigator.userAgent.match("Firefox") !== null;
680
682
  }
@@ -704,6 +706,7 @@ class Resolution {
704
706
  }
705
707
  }
706
708
  let logDisabled_ = true;
709
+ let deprecationWarnings_ = true;
707
710
  function extractVersion(uastring, expr, pos) {
708
711
  const match = uastring.match(expr);
709
712
  return match && match.length >= pos && parseInt(match[pos], 10);
@@ -781,6 +784,7 @@ function disableWarnings(bool) {
781
784
  if (typeof bool !== "boolean") {
782
785
  return new Error("Argument type: " + typeof bool + ". Please use a boolean.");
783
786
  }
787
+ deprecationWarnings_ = !bool;
784
788
  return "adapter.js deprecation warnings " + (bool ? "disabled" : "enabled");
785
789
  }
786
790
  function log$1() {
@@ -788,7 +792,16 @@ function log$1() {
788
792
  if (logDisabled_) {
789
793
  return;
790
794
  }
795
+ if (typeof console !== "undefined" && typeof console.log === "function") {
796
+ console.log.apply(console, arguments);
797
+ }
798
+ }
799
+ }
800
+ function deprecated(oldMethod, newMethod) {
801
+ if (!deprecationWarnings_) {
802
+ return;
791
803
  }
804
+ console.warn(oldMethod + " is deprecated, please use " + newMethod + " instead.");
792
805
  }
793
806
  function detectBrowser(window2) {
794
807
  const result = {
@@ -1048,6 +1061,7 @@ function shimGetDisplayMedia$2(window2, getSourceId) {
1048
1061
  return;
1049
1062
  }
1050
1063
  if (typeof getSourceId !== "function") {
1064
+ console.error("shimGetDisplayMedia: getSourceId argument is not a function");
1051
1065
  return;
1052
1066
  }
1053
1067
  window2.navigator.mediaDevices.getDisplayMedia = function getDisplayMedia(constraints) {
@@ -1633,7 +1647,9 @@ function filterIceServers$1(iceServers, edgeVersion) {
1633
1647
  return iceServers.filter(server => {
1634
1648
  if (server && (server.urls || server.url)) {
1635
1649
  let urls = server.urls || server.url;
1636
- if (server.url && !server.urls) ;
1650
+ if (server.url && !server.urls) {
1651
+ deprecated("RTCIceServer.url", "RTCIceServer.urls");
1652
+ }
1637
1653
  const isString2 = typeof urls === "string";
1638
1654
  if (isString2) {
1639
1655
  urls = [urls];
@@ -2305,7 +2321,9 @@ function filterIceServers(iceServers, edgeVersion) {
2305
2321
  return iceServers.filter(function (server) {
2306
2322
  if (server && (server.urls || server.url)) {
2307
2323
  var urls = server.urls || server.url;
2308
- if (server.url && !server.urls) ;
2324
+ if (server.url && !server.urls) {
2325
+ console.warn("RTCIceServer.url is deprecated! Use urls instead.");
2326
+ }
2309
2327
  var isString2 = typeof urls === "string";
2310
2328
  if (isString2) {
2311
2329
  urls = [urls];
@@ -3164,6 +3182,7 @@ var rtcpeerconnection = function (window2, edgeVersion) {
3164
3182
  }
3165
3183
  pc.transceivers.forEach(function (transceiver) {
3166
3184
  if (transceiver.iceTransport && transceiver.iceTransport.state === "new" && transceiver.iceTransport.getRemoteCandidates().length > 0) {
3185
+ console.warn("Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification");
3167
3186
  transceiver.iceTransport.addRemoteCandidate({});
3168
3187
  }
3169
3188
  });
@@ -3746,6 +3765,7 @@ function shimGetUserMedia$1(window2, browserDetails) {
3746
3765
  const navigator2 = window2 && window2.navigator;
3747
3766
  const MediaStreamTrack = window2 && window2.MediaStreamTrack;
3748
3767
  navigator2.getUserMedia = function (constraints, onSuccess, onError) {
3768
+ deprecated("navigator.getUserMedia", "navigator.mediaDevices.getUserMedia");
3749
3769
  navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
3750
3770
  };
3751
3771
  if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
@@ -3926,6 +3946,7 @@ function shimRemoveStream(window2) {
3926
3946
  return;
3927
3947
  }
3928
3948
  window2.RTCPeerConnection.prototype.removeStream = function removeStream(stream) {
3949
+ deprecated("removeStream", "removeTrack");
3929
3950
  this.getSenders().forEach(sender => {
3930
3951
  if (sender.track && stream.getTracks().includes(sender.track)) {
3931
3952
  this.removeTrack(sender);
@@ -4257,6 +4278,7 @@ function shimRTCIceServerUrls(window2) {
4257
4278
  for (let i = 0; i < pcConfig.iceServers.length; i++) {
4258
4279
  let server = pcConfig.iceServers[i];
4259
4280
  if (!server.hasOwnProperty("urls") && server.hasOwnProperty("url")) {
4281
+ deprecated("RTCIceServer.url", "RTCIceServer.urls");
4260
4282
  server = JSON.parse(JSON.stringify(server));
4261
4283
  server.urls = server.url;
4262
4284
  delete server.url;
@@ -4636,6 +4658,7 @@ function adapterFactory({
4636
4658
  shimEdge: true,
4637
4659
  shimSafari: true
4638
4660
  }) {
4661
+ const logging2 = log$1;
4639
4662
  const browserDetails = detectBrowser(window2);
4640
4663
  const adapter = {
4641
4664
  browserDetails,
@@ -4647,11 +4670,14 @@ function adapterFactory({
4647
4670
  switch (browserDetails.browser) {
4648
4671
  case "chrome":
4649
4672
  if (!chromeShim || !shimPeerConnection$2 || !options.shimChrome) {
4673
+ logging2("Chrome shim is not included in this adapter release.");
4650
4674
  return adapter;
4651
4675
  }
4652
4676
  if (browserDetails.version === null) {
4677
+ logging2("Chrome shim can not determine version, not shimming.");
4653
4678
  return adapter;
4654
4679
  }
4680
+ logging2("adapter.js shimming chrome.");
4655
4681
  adapter.browserShim = chromeShim;
4656
4682
  shimAddIceCandidateNullOrEmpty(window2, browserDetails);
4657
4683
  shimGetUserMedia$3(window2, browserDetails);
@@ -4671,8 +4697,10 @@ function adapterFactory({
4671
4697
  break;
4672
4698
  case "firefox":
4673
4699
  if (!firefoxShim || !shimPeerConnection || !options.shimFirefox) {
4700
+ logging2("Firefox shim is not included in this adapter release.");
4674
4701
  return adapter;
4675
4702
  }
4703
+ logging2("adapter.js shimming firefox.");
4676
4704
  adapter.browserShim = firefoxShim;
4677
4705
  shimAddIceCandidateNullOrEmpty(window2, browserDetails);
4678
4706
  shimGetUserMedia$1(window2, browserDetails);
@@ -4693,8 +4721,10 @@ function adapterFactory({
4693
4721
  break;
4694
4722
  case "edge":
4695
4723
  if (!edgeShim || !shimPeerConnection$1 || !options.shimEdge) {
4724
+ logging2("MS edge shim is not included in this adapter release.");
4696
4725
  return adapter;
4697
4726
  }
4727
+ logging2("adapter.js shimming edge.");
4698
4728
  adapter.browserShim = edgeShim;
4699
4729
  shimGetUserMedia$2(window2);
4700
4730
  shimGetDisplayMedia$1(window2);
@@ -4705,8 +4735,10 @@ function adapterFactory({
4705
4735
  break;
4706
4736
  case "safari":
4707
4737
  if (!safariShim || !options.shimSafari) {
4738
+ logging2("Safari shim is not included in this adapter release.");
4708
4739
  return adapter;
4709
4740
  }
4741
+ logging2("adapter.js shimming safari.");
4710
4742
  adapter.browserShim = safariShim;
4711
4743
  shimAddIceCandidateNullOrEmpty(window2, browserDetails);
4712
4744
  shimRTCIceServerUrls(window2);
@@ -4722,6 +4754,9 @@ function adapterFactory({
4722
4754
  shimSendThrowTypeError(window2);
4723
4755
  removeExtmapAllowMixed(window2, browserDetails);
4724
4756
  break;
4757
+ default:
4758
+ logging2("Unsupported browser!");
4759
+ break;
4725
4760
  }
4726
4761
  return adapter;
4727
4762
  }
@@ -5800,6 +5835,7 @@ validators$1.transitional = function transitional2(validator2, version, message)
5800
5835
  }
5801
5836
  if (version && !deprecatedWarnings[opt]) {
5802
5837
  deprecatedWarnings[opt] = true;
5838
+ console.warn(formatMessage(opt, " has been deprecated since v" + version + " and will be removed in the near future"));
5803
5839
  }
5804
5840
  return validator2 ? validator2(value, opt, opts) : true;
5805
5841
  };
@@ -6331,6 +6367,8 @@ class RTCEndpoint extends Event$1 {
6331
6367
  return this._localStream;
6332
6368
  }
6333
6369
  }
6370
+ console.log("build date:", BUILD_DATE);
6371
+ console.log("version:", VERSION$1);
6334
6372
  const Events = Events$1;
6335
6373
  const Endpoint = RTCEndpoint;
6336
6374
 
@@ -6398,6 +6436,7 @@ class WebRtcMt$1 {
6398
6436
  if (res.code === 0) {
6399
6437
  this.startPlay(plays);
6400
6438
  } else {
6439
+ console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
6401
6440
  setTimeout(() => {
6402
6441
  this.rePlay();
6403
6442
  }, 3 * 60 * 1e3);
@@ -6405,6 +6444,7 @@ class WebRtcMt$1 {
6405
6444
  resolve(res);
6406
6445
  });
6407
6446
  }).catch(err => {
6447
+ console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
6408
6448
  setTimeout(() => {
6409
6449
  this.rePlay();
6410
6450
  }, 3 * 60 * 1e3);
@@ -6415,6 +6455,11 @@ class WebRtcMt$1 {
6415
6455
  switch (type) {
6416
6456
  case "err":
6417
6457
  throw new Error(text);
6458
+ case "warn":
6459
+ console.log(text);
6460
+ break;
6461
+ default:
6462
+ console.log(text);
6418
6463
  }
6419
6464
  }
6420
6465
  // 停止播放0
@@ -6458,6 +6503,7 @@ class WebRtcMt$1 {
6458
6503
  this.rePlay(videoElm);
6459
6504
  });
6460
6505
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6506
+ console.log("webrtc:" + state);
6461
6507
  if (state === "disconnected" || state === "failed") {
6462
6508
  this.rePlay(videoElm);
6463
6509
  }
@@ -6465,8 +6511,10 @@ class WebRtcMt$1 {
6465
6511
  }
6466
6512
  // 重播
6467
6513
  rePlay(videoElm) {
6514
+ console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
6468
6515
  this.stopPlay();
6469
6516
  setTimeout(() => {
6517
+ console.log("\u5E95\u90E8\u91CD\u64AD");
6470
6518
  this.init(this.opt);
6471
6519
  }, 5 * 1e3);
6472
6520
  }
@@ -6997,6 +7045,7 @@ const PageContent = vue.defineComponent({
6997
7045
  iframeList.value.splice(idx, 1);
6998
7046
  }
6999
7047
  };
7048
+ console.log(loadAppList, appDomList, 777777777777777);
7000
7049
  const extraPageList = vue.ref([]);
7001
7050
  const handleExtraPageClose = tab => {
7002
7051
  const idx = extraPageList.value.findIndex(item => item.key === tab.key && item.uniqueKey === tab.uniqueKey);
@@ -7122,6 +7171,7 @@ const PageContent = vue.defineComponent({
7122
7171
  };
7123
7172
  const activeMenu = useActiveMenu(() => props.menu, props.extraPages, false, false, extraIframeList);
7124
7173
  vue.watch(activeMenu, (val, oldVal) => {
7174
+ console.log(val, oldVal, 888888888);
7125
7175
  handleMenuChange(val);
7126
7176
  function postIframeActive(id, active) {
7127
7177
  const iframeEl = document.querySelector(`#iframe${id}`);
@@ -10559,6 +10609,7 @@ const CloudVideo = vue.defineComponent({
10559
10609
  initVideo();
10560
10610
  });
10561
10611
  vue.onBeforeUnmount(() => {
10612
+ console.log("\u9500\u6BC1");
10562
10613
  player?.stop();
10563
10614
  });
10564
10615
  return () => vue.createVNode("div", {
@@ -10648,6 +10699,11 @@ class WebRtcMt {
10648
10699
  switch (type) {
10649
10700
  case "err":
10650
10701
  throw new Error(text);
10702
+ case "warn":
10703
+ console.warn(text);
10704
+ break;
10705
+ default:
10706
+ console.info(text);
10651
10707
  }
10652
10708
  }
10653
10709
  // 停止播放0
@@ -13117,6 +13173,7 @@ const SszComment = vue.defineComponent({
13117
13173
  token,
13118
13174
  corpUser
13119
13175
  } = await getZxUser(props.zxIp);
13176
+ console.log("corpUser", corpUser);
13120
13177
  currentUserId.value = corpUser.id;
13121
13178
  mobile.setAxiosOption({
13122
13179
  baseURL: props.baseUrl,
@@ -13134,6 +13191,7 @@ const SszComment = vue.defineComponent({
13134
13191
  }
13135
13192
  });
13136
13193
  } catch (e) {
13194
+ console.log(e);
13137
13195
  mobile.setAxiosOption({
13138
13196
  baseURL: props.baseUrl,
13139
13197
  headers: {
@@ -13790,6 +13848,7 @@ const QaContext = vue.defineComponent({
13790
13848
  }) {
13791
13849
  const containerRef = vue.ref();
13792
13850
  const onAnswerRender = text => {
13851
+ console.log("%c%s", "color: #bd08b7;", text);
13793
13852
  containerRef.value.scrollTo({
13794
13853
  top: containerRef.value.scrollHeight,
13795
13854
  behavior: "smooth"
@@ -521,7 +521,7 @@ function useMicroApp(appList) {
521
521
  const handleRouteChange = useThrottleFn(async () => {
522
522
  const microAppName = activeAppName.value;
523
523
  let microAppDefine = appList.find(item => item.name === microAppName);
524
- if (!microAppDefine && !microAppName.startsWith("mtip-")) return;
524
+ console.log(555555555555555, activeAppName.value);
525
525
  const domId = `microApp_${microAppName}`;
526
526
  if (!appContainerList.value.some(item => item.id === domId)) {
527
527
  appContainerList.value.push({
@@ -647,6 +647,8 @@ const Events$1 = {
647
647
  WEBRTC_ON_DATA_CHANNEL_MSG: "WEBRTC_ON_DATA_CHANNEL_MSG",
648
648
  CAPTURE_STREAM_FAILED: "CAPTURE_STREAM_FAILED"
649
649
  };
650
+ const VERSION$1 = "1.0.1";
651
+ const BUILD_DATE = "Sat Mar 30 2024 13:57:14 GMT+0800 (\u4E2D\u56FD\u6807\u51C6\u65F6\u95F4)";
650
652
  function isFirefox() {
651
653
  return window.navigator.userAgent.match("Firefox") !== null;
652
654
  }
@@ -676,6 +678,7 @@ class Resolution {
676
678
  }
677
679
  }
678
680
  let logDisabled_ = true;
681
+ let deprecationWarnings_ = true;
679
682
  function extractVersion(uastring, expr, pos) {
680
683
  const match = uastring.match(expr);
681
684
  return match && match.length >= pos && parseInt(match[pos], 10);
@@ -753,6 +756,7 @@ function disableWarnings(bool) {
753
756
  if (typeof bool !== "boolean") {
754
757
  return new Error("Argument type: " + typeof bool + ". Please use a boolean.");
755
758
  }
759
+ deprecationWarnings_ = !bool;
756
760
  return "adapter.js deprecation warnings " + (bool ? "disabled" : "enabled");
757
761
  }
758
762
  function log$1() {
@@ -760,7 +764,16 @@ function log$1() {
760
764
  if (logDisabled_) {
761
765
  return;
762
766
  }
767
+ if (typeof console !== "undefined" && typeof console.log === "function") {
768
+ console.log.apply(console, arguments);
769
+ }
770
+ }
771
+ }
772
+ function deprecated(oldMethod, newMethod) {
773
+ if (!deprecationWarnings_) {
774
+ return;
763
775
  }
776
+ console.warn(oldMethod + " is deprecated, please use " + newMethod + " instead.");
764
777
  }
765
778
  function detectBrowser(window2) {
766
779
  const result = {
@@ -1020,6 +1033,7 @@ function shimGetDisplayMedia$2(window2, getSourceId) {
1020
1033
  return;
1021
1034
  }
1022
1035
  if (typeof getSourceId !== "function") {
1036
+ console.error("shimGetDisplayMedia: getSourceId argument is not a function");
1023
1037
  return;
1024
1038
  }
1025
1039
  window2.navigator.mediaDevices.getDisplayMedia = function getDisplayMedia(constraints) {
@@ -1605,7 +1619,9 @@ function filterIceServers$1(iceServers, edgeVersion) {
1605
1619
  return iceServers.filter(server => {
1606
1620
  if (server && (server.urls || server.url)) {
1607
1621
  let urls = server.urls || server.url;
1608
- if (server.url && !server.urls) ;
1622
+ if (server.url && !server.urls) {
1623
+ deprecated("RTCIceServer.url", "RTCIceServer.urls");
1624
+ }
1609
1625
  const isString2 = typeof urls === "string";
1610
1626
  if (isString2) {
1611
1627
  urls = [urls];
@@ -2277,7 +2293,9 @@ function filterIceServers(iceServers, edgeVersion) {
2277
2293
  return iceServers.filter(function (server) {
2278
2294
  if (server && (server.urls || server.url)) {
2279
2295
  var urls = server.urls || server.url;
2280
- if (server.url && !server.urls) ;
2296
+ if (server.url && !server.urls) {
2297
+ console.warn("RTCIceServer.url is deprecated! Use urls instead.");
2298
+ }
2281
2299
  var isString2 = typeof urls === "string";
2282
2300
  if (isString2) {
2283
2301
  urls = [urls];
@@ -3136,6 +3154,7 @@ var rtcpeerconnection = function (window2, edgeVersion) {
3136
3154
  }
3137
3155
  pc.transceivers.forEach(function (transceiver) {
3138
3156
  if (transceiver.iceTransport && transceiver.iceTransport.state === "new" && transceiver.iceTransport.getRemoteCandidates().length > 0) {
3157
+ console.warn("Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification");
3139
3158
  transceiver.iceTransport.addRemoteCandidate({});
3140
3159
  }
3141
3160
  });
@@ -3718,6 +3737,7 @@ function shimGetUserMedia$1(window2, browserDetails) {
3718
3737
  const navigator2 = window2 && window2.navigator;
3719
3738
  const MediaStreamTrack = window2 && window2.MediaStreamTrack;
3720
3739
  navigator2.getUserMedia = function (constraints, onSuccess, onError) {
3740
+ deprecated("navigator.getUserMedia", "navigator.mediaDevices.getUserMedia");
3721
3741
  navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
3722
3742
  };
3723
3743
  if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
@@ -3898,6 +3918,7 @@ function shimRemoveStream(window2) {
3898
3918
  return;
3899
3919
  }
3900
3920
  window2.RTCPeerConnection.prototype.removeStream = function removeStream(stream) {
3921
+ deprecated("removeStream", "removeTrack");
3901
3922
  this.getSenders().forEach(sender => {
3902
3923
  if (sender.track && stream.getTracks().includes(sender.track)) {
3903
3924
  this.removeTrack(sender);
@@ -4229,6 +4250,7 @@ function shimRTCIceServerUrls(window2) {
4229
4250
  for (let i = 0; i < pcConfig.iceServers.length; i++) {
4230
4251
  let server = pcConfig.iceServers[i];
4231
4252
  if (!server.hasOwnProperty("urls") && server.hasOwnProperty("url")) {
4253
+ deprecated("RTCIceServer.url", "RTCIceServer.urls");
4232
4254
  server = JSON.parse(JSON.stringify(server));
4233
4255
  server.urls = server.url;
4234
4256
  delete server.url;
@@ -4608,6 +4630,7 @@ function adapterFactory({
4608
4630
  shimEdge: true,
4609
4631
  shimSafari: true
4610
4632
  }) {
4633
+ const logging2 = log$1;
4611
4634
  const browserDetails = detectBrowser(window2);
4612
4635
  const adapter = {
4613
4636
  browserDetails,
@@ -4619,11 +4642,14 @@ function adapterFactory({
4619
4642
  switch (browserDetails.browser) {
4620
4643
  case "chrome":
4621
4644
  if (!chromeShim || !shimPeerConnection$2 || !options.shimChrome) {
4645
+ logging2("Chrome shim is not included in this adapter release.");
4622
4646
  return adapter;
4623
4647
  }
4624
4648
  if (browserDetails.version === null) {
4649
+ logging2("Chrome shim can not determine version, not shimming.");
4625
4650
  return adapter;
4626
4651
  }
4652
+ logging2("adapter.js shimming chrome.");
4627
4653
  adapter.browserShim = chromeShim;
4628
4654
  shimAddIceCandidateNullOrEmpty(window2, browserDetails);
4629
4655
  shimGetUserMedia$3(window2, browserDetails);
@@ -4643,8 +4669,10 @@ function adapterFactory({
4643
4669
  break;
4644
4670
  case "firefox":
4645
4671
  if (!firefoxShim || !shimPeerConnection || !options.shimFirefox) {
4672
+ logging2("Firefox shim is not included in this adapter release.");
4646
4673
  return adapter;
4647
4674
  }
4675
+ logging2("adapter.js shimming firefox.");
4648
4676
  adapter.browserShim = firefoxShim;
4649
4677
  shimAddIceCandidateNullOrEmpty(window2, browserDetails);
4650
4678
  shimGetUserMedia$1(window2, browserDetails);
@@ -4665,8 +4693,10 @@ function adapterFactory({
4665
4693
  break;
4666
4694
  case "edge":
4667
4695
  if (!edgeShim || !shimPeerConnection$1 || !options.shimEdge) {
4696
+ logging2("MS edge shim is not included in this adapter release.");
4668
4697
  return adapter;
4669
4698
  }
4699
+ logging2("adapter.js shimming edge.");
4670
4700
  adapter.browserShim = edgeShim;
4671
4701
  shimGetUserMedia$2(window2);
4672
4702
  shimGetDisplayMedia$1(window2);
@@ -4677,8 +4707,10 @@ function adapterFactory({
4677
4707
  break;
4678
4708
  case "safari":
4679
4709
  if (!safariShim || !options.shimSafari) {
4710
+ logging2("Safari shim is not included in this adapter release.");
4680
4711
  return adapter;
4681
4712
  }
4713
+ logging2("adapter.js shimming safari.");
4682
4714
  adapter.browserShim = safariShim;
4683
4715
  shimAddIceCandidateNullOrEmpty(window2, browserDetails);
4684
4716
  shimRTCIceServerUrls(window2);
@@ -4694,6 +4726,9 @@ function adapterFactory({
4694
4726
  shimSendThrowTypeError(window2);
4695
4727
  removeExtmapAllowMixed(window2, browserDetails);
4696
4728
  break;
4729
+ default:
4730
+ logging2("Unsupported browser!");
4731
+ break;
4697
4732
  }
4698
4733
  return adapter;
4699
4734
  }
@@ -5772,6 +5807,7 @@ validators$1.transitional = function transitional2(validator2, version, message)
5772
5807
  }
5773
5808
  if (version && !deprecatedWarnings[opt]) {
5774
5809
  deprecatedWarnings[opt] = true;
5810
+ console.warn(formatMessage(opt, " has been deprecated since v" + version + " and will be removed in the near future"));
5775
5811
  }
5776
5812
  return validator2 ? validator2(value, opt, opts) : true;
5777
5813
  };
@@ -6303,6 +6339,8 @@ class RTCEndpoint extends Event$1 {
6303
6339
  return this._localStream;
6304
6340
  }
6305
6341
  }
6342
+ console.log("build date:", BUILD_DATE);
6343
+ console.log("version:", VERSION$1);
6306
6344
  const Events = Events$1;
6307
6345
  const Endpoint = RTCEndpoint;
6308
6346
 
@@ -6370,6 +6408,7 @@ class WebRtcMt$1 {
6370
6408
  if (res.code === 0) {
6371
6409
  this.startPlay(plays);
6372
6410
  } else {
6411
+ console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
6373
6412
  setTimeout(() => {
6374
6413
  this.rePlay();
6375
6414
  }, 3 * 60 * 1e3);
@@ -6377,6 +6416,7 @@ class WebRtcMt$1 {
6377
6416
  resolve(res);
6378
6417
  });
6379
6418
  }).catch(err => {
6419
+ console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
6380
6420
  setTimeout(() => {
6381
6421
  this.rePlay();
6382
6422
  }, 3 * 60 * 1e3);
@@ -6387,6 +6427,11 @@ class WebRtcMt$1 {
6387
6427
  switch (type) {
6388
6428
  case "err":
6389
6429
  throw new Error(text);
6430
+ case "warn":
6431
+ console.log(text);
6432
+ break;
6433
+ default:
6434
+ console.log(text);
6390
6435
  }
6391
6436
  }
6392
6437
  // 停止播放0
@@ -6430,6 +6475,7 @@ class WebRtcMt$1 {
6430
6475
  this.rePlay(videoElm);
6431
6476
  });
6432
6477
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6478
+ console.log("webrtc:" + state);
6433
6479
  if (state === "disconnected" || state === "failed") {
6434
6480
  this.rePlay(videoElm);
6435
6481
  }
@@ -6437,8 +6483,10 @@ class WebRtcMt$1 {
6437
6483
  }
6438
6484
  // 重播
6439
6485
  rePlay(videoElm) {
6486
+ console.log("\u5E95\u90E8\u505C\u6B62\u64AD\u653E");
6440
6487
  this.stopPlay();
6441
6488
  setTimeout(() => {
6489
+ console.log("\u5E95\u90E8\u91CD\u64AD");
6442
6490
  this.init(this.opt);
6443
6491
  }, 5 * 1e3);
6444
6492
  }
@@ -6969,6 +7017,7 @@ const PageContent = defineComponent({
6969
7017
  iframeList.value.splice(idx, 1);
6970
7018
  }
6971
7019
  };
7020
+ console.log(loadAppList, appDomList, 777777777777777);
6972
7021
  const extraPageList = ref([]);
6973
7022
  const handleExtraPageClose = tab => {
6974
7023
  const idx = extraPageList.value.findIndex(item => item.key === tab.key && item.uniqueKey === tab.uniqueKey);
@@ -7094,6 +7143,7 @@ const PageContent = defineComponent({
7094
7143
  };
7095
7144
  const activeMenu = useActiveMenu(() => props.menu, props.extraPages, false, false, extraIframeList);
7096
7145
  watch(activeMenu, (val, oldVal) => {
7146
+ console.log(val, oldVal, 888888888);
7097
7147
  handleMenuChange(val);
7098
7148
  function postIframeActive(id, active) {
7099
7149
  const iframeEl = document.querySelector(`#iframe${id}`);
@@ -10531,6 +10581,7 @@ const CloudVideo = defineComponent({
10531
10581
  initVideo();
10532
10582
  });
10533
10583
  onBeforeUnmount(() => {
10584
+ console.log("\u9500\u6BC1");
10534
10585
  player?.stop();
10535
10586
  });
10536
10587
  return () => createVNode("div", {
@@ -10620,6 +10671,11 @@ class WebRtcMt {
10620
10671
  switch (type) {
10621
10672
  case "err":
10622
10673
  throw new Error(text);
10674
+ case "warn":
10675
+ console.warn(text);
10676
+ break;
10677
+ default:
10678
+ console.info(text);
10623
10679
  }
10624
10680
  }
10625
10681
  // 停止播放0
@@ -13089,6 +13145,7 @@ const SszComment = defineComponent({
13089
13145
  token,
13090
13146
  corpUser
13091
13147
  } = await getZxUser(props.zxIp);
13148
+ console.log("corpUser", corpUser);
13092
13149
  currentUserId.value = corpUser.id;
13093
13150
  setAxiosOption({
13094
13151
  baseURL: props.baseUrl,
@@ -13106,6 +13163,7 @@ const SszComment = defineComponent({
13106
13163
  }
13107
13164
  });
13108
13165
  } catch (e) {
13166
+ console.log(e);
13109
13167
  setAxiosOption({
13110
13168
  baseURL: props.baseUrl,
13111
13169
  headers: {
@@ -13762,6 +13820,7 @@ const QaContext = defineComponent({
13762
13820
  }) {
13763
13821
  const containerRef = ref();
13764
13822
  const onAnswerRender = text => {
13823
+ console.log("%c%s", "color: #bd08b7;", text);
13765
13824
  containerRef.value.scrollTo({
13766
13825
  top: containerRef.value.scrollHeight,
13767
13826
  behavior: "smooth"