@trtc/calls-uikit-react 4.4.2 → 4.4.3-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/README-zh_CN.md +6 -0
- package/README.md +6 -0
- package/package.json +3 -4
- package/src/TUICallService/CallService/UIKitModal.ts +0 -5
- package/src/TUICallService/CallService/index.ts +1 -1
- package/src/TUICallService/locales/en.ts +1 -2
- package/src/TUICallService/locales/ja_JP.ts +1 -2
- package/src/TUICallService/locales/zh-cn.ts +1 -2
- package/src/TUICallService/utils/validate/validateStatus.ts +26 -0
- package/src/index.ts +1 -1
- package/tuicall-uikit-react.es.js +655 -663
- package/tuicall-uikit-react.umd.js +9 -9
- package/types/TUICallService/locales/en.d.ts +0 -1
- package/types/TUICallService/locales/ja_JP.d.ts +0 -1
- package/types/TUICallService/locales/zh-cn.d.ts +0 -1
- package/types/TUICallService/utils/validate/validateStatus.d.ts +5 -0
- package/src/Components/components/common/UIKitModal/UIKitModal.tsx +0 -250
- package/src/Components/components/common/UIKitModal/UIKitModalState.ts +0 -177
- package/src/Components/components/common/UIKitModal/index.module.scss +0 -176
- package/src/Components/components/common/UIKitModal/index.ts +0 -3
- package/types/Components/components/common/UIKitModal/UIKitModal.d.ts +0 -21
- package/types/Components/components/common/UIKitModal/UIKitModalState.d.ts +0 -27
- package/types/Components/components/common/UIKitModal/index.d.ts +0 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("._message-c2c-container_14m8l_1{display:flex;flex-direction:row;align-items:center;word-break:break-all}._message-c2c-container_14m8l_1 ._call-content_14m8l_7{padding-left:8px}._message-c2c-container_14m8l_1._c2c_14m8l_10{cursor:pointer}._message-c2c-container_14m8l_1 ._icon_14m8l_13{width:20px;height:20px}._message-group-container_hjjzg_1._group_hjjzg_1{cursor:default}.tk-time{font-family:PingFang SC;font-size:16px;font-weight:500;line-height:20px;letter-spacing:0px;text-align:center}[data-uikit-theme=light] .tk-time,[data-uikit-theme=dark] .tk-time{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-row-container{width:100%;box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;flex-flow:row wrap;flex-direction:row;flex-wrap:nowrap}.tk-row-container.tk-row-justify-left{justify-content:flex-start}.tk-row-container.tk-row-justify-center{justify-content:center}.tk-row-container.tk-row-justify-right{justify-content:flex-end}.tk-col-container{display:flex;box-sizing:border-box;overflow:hidden;align-items:center}.tk-col-container.tk-col-justify-content-start{justify-content:flex-start}.tk-col-container.tk-col-justify-content-center{justify-content:center}.tk-col-container.tk-col-justify-content-end{justify-content:flex-end}.tk-col-container.tk-col-align-items-start{align-items:flex-start}.tk-col-container.tk-col-align-items-center{align-items:center}.tk-col-container.tk-col-align-items-end{align-items:flex-end}.tk-col-12{flex:0 0 100%;max-width:100%}.tk-col-push-12{left:100%}.tk-col-pull-12{right:100%}.tk-col-offset-12{margin-left:100%}.tk-col-order-12{order:12}.tk-col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.tk-col-push-11{left:91.6666666667%}.tk-col-pull-11{right:91.6666666667%}.tk-col-offset-11{margin-left:91.6666666667%}.tk-col-order-11{order:11}.tk-col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.tk-col-push-10{left:83.3333333333%}.tk-col-pull-10{right:83.3333333333%}.tk-col-offset-10{margin-left:83.3333333333%}.tk-col-order-10{order:10}.tk-col-9{flex:0 0 75%;max-width:75%}.tk-col-push-9{left:75%}.tk-col-pull-9{right:75%}.tk-col-offset-9{margin-left:75%}.tk-col-order-9{order:9}.tk-col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.tk-col-push-8{left:66.6666666667%}.tk-col-pull-8{right:66.6666666667%}.tk-col-offset-8{margin-left:66.6666666667%}.tk-col-order-8{order:8}.tk-col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.tk-col-push-7{left:58.3333333333%}.tk-col-pull-7{right:58.3333333333%}.tk-col-offset-7{margin-left:58.3333333333%}.tk-col-order-7{order:7}.tk-col-6{flex:0 0 50%;max-width:50%}.tk-col-push-6{left:50%}.tk-col-pull-6{right:50%}.tk-col-offset-6{margin-left:50%}.tk-col-order-6{order:6}.tk-col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.tk-col-push-5{left:41.6666666667%}.tk-col-pull-5{right:41.6666666667%}.tk-col-offset-5{margin-left:41.6666666667%}.tk-col-order-5{order:5}.tk-col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.tk-col-push-4{left:33.3333333333%}.tk-col-pull-4{right:33.3333333333%}.tk-col-offset-4{margin-left:33.3333333333%}.tk-col-order-4{order:4}.tk-col-3{flex:0 0 25%;max-width:25%}.tk-col-push-3{left:25%}.tk-col-pull-3{right:25%}.tk-col-offset-3{margin-left:25%}.tk-col-order-3{order:3}.tk-col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.tk-col-push-2{left:16.6666666667%}.tk-col-pull-2{right:16.6666666667%}.tk-col-offset-2{margin-left:16.6666666667%}.tk-col-order-2{order:2}.tk-col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.tk-col-push-1{left:8.3333333333%}.tk-col-pull-1{right:8.3333333333%}.tk-col-offset-1{margin-left:8.3333333333%}.tk-col-order-1{order:1}.tk-col-0{display:none}.tk-col-push-0{left:auto}.tk-col-pull-0{right:auto}.tk-col-offset-0{margin-left:0}.tk-col-order-0{order:0}.tk-circle-container{width:30px;height:30px;margin:0 auto;position:absolute;z-index:1}.tk-circle-container .tk-circle-loading{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tk-circle-container svg{height:100%;width:100%}.tk-dot-container{position:absolute;display:flex;justify-content:space-between;align-items:center;width:50px;height:50px;margin:0 auto;z-index:1}.tk-dot-container .dot:nth-child(1){opacity:0;animation-duration:.8s;animation-delay:0s;animation-play-state:running}.tk-dot-container .dot:nth-child(2){opacity:.083;animation-duration:.8s;animation-delay:.2666666667s;animation-play-state:running}.tk-dot-container .dot:nth-child(3){opacity:.1667;animation-duration:.8s;animation-delay:.5333333333s;animation-play-state:running}.tk-dot-container .dot{width:20%;height:20%;border-radius:50%;background-color:currentColor;animation-duration:1.8s;animation-name:dotting;animation-timing-function:linear;animation-iteration-count:infinite;animation-fill-mode:both}[data-uikit-theme=light] .tk-dot-container .dot,[data-uikit-theme=dark] .tk-dot-container .dot{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}@keyframes dotting{0%{opacity:.15}1%{opacity:.8}33%{opacity:.8}34%{opacity:.15}to{opacity:.15}}.tk-overlayer-container,.tk-overlayer-container .overlay{position:absolute;width:100%;height:100%}[data-uikit-theme=light] .tk-overlayer-container .overlay,[data-uikit-theme=dark] .tk-overlayer-container .overlay{background-color:var(--uikit-basic-color-black-4);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;width:100%;height:100%;background:none}.tk-loading-container.tk-loading-overlayer{position:absolute;width:100%;height:100%}[data-uikit-theme=light] .tk-loading-container.tk-loading-overlayer,[data-uikit-theme=dark] .tk-loading-container.tk-loading-overlayer{background-color:var(--uikit-basic-color-black-4);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-btn-container{display:flex;transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}[data-uikit-theme=light] .tk-btn-container,[data-uikit-theme=dark] .tk-btn-container{color:var(--uikit-basic-color-white-2);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-btn-container.pc{cursor:pointer}.tk-btn-container.tk-flex-vertical{flex-direction:column;align-items:center}.tk-btn-container.tk-flex-vertical.tk-size-s.pc{height:auto;width:20px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-s.pc .tk-icon{width:20px;height:20px}.tk-btn-container.tk-flex-vertical.tk-size-s.pc .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-s.pc .tk-loading{font-size:20px}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile{height:auto;width:40px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile .tk-icon{width:40px;height:40px}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile .tk-loading{font-size:40px}.tk-btn-container.tk-flex-vertical.tk-size-m.pc{height:auto;width:60px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-icon{width:60px;height:60px}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-loading{font-size:60px}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-icon{width:40px;height:40px}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile{height:auto;width:60px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile .tk-loading{font-size:60px}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile .tk-icon{width:60px;height:60px}.tk-btn-container.tk-flex-vertical.tk-size-l.pc{height:auto;width:60px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-l.pc .tk-icon{width:60px;height:60px}.tk-btn-container.tk-flex-vertical.tk-size-l.pc .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-l.pc .tk-loading{font-size:60px}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile{height:auto;width:80px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile .tk-icon{width:80px;height:80px}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile .tk-loading{font-size:80px}.tk-btn-container.tk-flex-horizontal{flex-direction:row;align-items:center}.tk-btn-container.tk-flex-horizontal.tk-size-s{height:36px;width:12px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-horizontal.tk-size-s .tk-icon{width:12px;height:12px}.tk-btn-container.tk-flex-horizontal.tk-size-s .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-horizontal.tk-size-s .tk-loading{font-size:12px}.tk-btn-container.tk-flex-horizontal.tk-size-m{height:40px;width:16px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-horizontal.tk-size-m .tk-icon{width:16px;height:16px}.tk-btn-container.tk-flex-horizontal.tk-size-m .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-horizontal.tk-size-m .tk-loading{font-size:16px}.tk-btn-container.tk-flex-horizontal.tk-size-l{height:60px;width:18px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-horizontal.tk-size-l .tk-icon{width:18px;height:18px}.tk-btn-container.tk-flex-horizontal.tk-size-l .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-horizontal.tk-size-l .tk-loading{font-size:18px}.tk-btn-container.tk-ghost{background:none}.tk-btn-container .tk-content{margin-top:8px;text-align:center;line-height:15px;font-style:normal;font-weight:400;max-height:30px;overflow:hidden;-webkit-user-select:none;user-select:none}.tk-btn-container .tk-icon{transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}.tk-btn-container .tk-icon.tk-size-s{height:36px;width:12px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container .tk-icon.tk-size-s .tk-icon{width:12px;height:12px}.tk-btn-container .tk-icon.tk-size-s .tk-icon .img{width:100%;height:100%}.tk-btn-container .tk-icon.tk-size-s .tk-loading{font-size:12px}.tk-btn-container .tk-icon.tk-size-m{height:40px;width:16px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container .tk-icon.tk-size-m .tk-icon{width:16px;height:16px}.tk-btn-container .tk-icon.tk-size-m .tk-icon .img{width:100%;height:100%}.tk-btn-container .tk-icon.tk-size-m .tk-loading{font-size:16px}.tk-btn-container .tk-icon.tk-size-l{height:60px;width:18px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container .tk-icon.tk-size-l .tk-icon{width:18px;height:18px}.tk-btn-container .tk-icon.tk-size-l .tk-icon .img{width:100%;height:100%}.tk-btn-container .tk-icon.tk-size-l .tk-loading{font-size:18px}._minimize-desk-container_gxy8f_1{margin-right:10px;width:20px!important;height:20px!important}._minimize-desk-container_gxy8f_1 .tk-icon{width:20px!important;height:20px!important}._minimize-mobile-container_gxy8f_11{margin-left:10px;width:24px!important;height:24px!important}._minimize-mobile-container_gxy8f_11 .tk-icon{width:24px!important;height:24px!important}.tk-message-container{display:flex;flex-direction:row;align-items:center;width:fit-content;margin-bottom:10px;border-radius:6px;padding:10px}[data-uikit-theme=light] .tk-message-container,[data-uikit-theme=dark] .tk-message-container{box-shadow:0 1px 5px var(--uikit-basic-color-black-8),0 8px 12px var(--uikit-basic-color-black-8),0 12px 26px var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] .tk-message-container{background-color:var(--uikit-theme-light-toast-color-default);color:var(--uikit-theme-light-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] .tk-message-container{background-color:var(--uikit-theme-dark-toast-color-default);color:var(--uikit-theme-dark-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] .tk-message-container svg{margin-right:4px;fill:var(--uikit-theme-light-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] .tk-message-container svg{margin-right:4px;fill:var(--uikit-theme-dark-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-message-container.tk-message-plaintext{background:none;border:0;box-shadow:none;margin:0;padding:0}[data-uikit-theme=light] .tk-message-container.tk-message-plaintext,[data-uikit-theme=dark] .tk-message-container.tk-message-plaintext{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-message-container .tk-message-icon{width:1em!important;height:1em!important}.tk-message-container .tk-message-icon.tip-icon{margin-right:8px}.tk-message-container .tk-message-icon.close-icon{margin-left:24px}.message-list-container{top:0;position:fixed;left:0;width:100%;display:flex;justify-content:center}._top-bar-container_1m8fv_1{width:100%;height:5.8%;position:absolute;display:flex;align-items:center;z-index:5}._top-bar-container_1m8fv_1 ._top-bar_1m8fv_1{height:24px}._full-screen-container_16bjq_1{width:20px!important;height:20px!important;margin-right:10px}._full-screen-container_16bjq_1 .tk-icon{line-height:20px;width:20px!important;height:20px!important}._single-top-bar_15cxx_1{position:absolute;width:100%;height:20px;line-height:20px;margin-top:20px;z-index:2}._btn-icon_oeiwp_1{width:50%!important;height:50%!important}._btn-icon-container_oeiwp_6{display:flex;align-items:center;justify-content:center;border-radius:50%;border:0px}[data-uikit-theme=light] ._btn-icon-container_oeiwp_6,[data-uikit-theme=dark] ._btn-icon-container_oeiwp_6{background-color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._btn-icon-container_oeiwp_6.close,[data-uikit-theme=dark] ._btn-icon-container_oeiwp_6.close,[data-uikit-theme=light] ._btn-icon-container_oeiwp_6.disabled,[data-uikit-theme=dark] ._btn-icon-container_oeiwp_6.disabled{background-color:var(--uikit-basic-color-black-5);transition:background-color .3s ease-out,border-color .3s ease-out}._arrow-btn_oeiwp_38{padding:4px;width:12px!important;height:12px!important;margin:20px 0 0;transform:translateY(-50%)}._arrow-btn_oeiwp_38 .tk-icon{width:12px!important;height:12px!important}._tk-btn_oeiwp_50{transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in;width:70px!important}[data-uikit-theme=light] ._accept-icon-container_171af_1{background-color:var(--uikit-theme-light-button-color-accept);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._accept-icon-container_171af_1{background-color:var(--uikit-theme-dark-button-color-accept);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._reject-icon-container_mg9y1_1{background-color:var(--uikit-theme-light-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._reject-icon-container_mg9y1_1{background-color:var(--uikit-theme-dark-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-popup__arrow{left:50%;width:10px;height:10px;z-index:-1;margin-top:-3px;position:absolute;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transform:rotate(45deg) translate(-50%);border-top-left-radius:100%}[data-uikit-theme=light] .tk-popup__arrow,[data-uikit-theme=dark] .tk-popup__arrow{background-color:var(--uikit-basic-color-black-4);border:.5px solid var(--uikit-basic-color-white-7);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-popup__content{backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border-radius:6px;padding:3px;font-size:14px}[data-uikit-theme=light] .tk-popup__content,[data-uikit-theme=dark] .tk-popup__content{background-color:var(--uikit-basic-color-black-4);border:.5px solid var(--uikit-basic-color-white-7);color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._device-selector-container_1wi4a_1{width:180px;display:flex;flex-direction:column;align-items:center;padding:6px;font-weight:500}._device-selector-container_1wi4a_1 ._device-item_1wi4a_9{width:100%;overflow:hidden;padding:5px 3px;text-overflow:ellipsis;white-space:nowrap;font-size:14px;text-align:left;line-height:20px;cursor:pointer}._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._control-item_1wi4a_20{padding-left:6px}[data-uikit-theme=light] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._control-item_1wi4a_20,[data-uikit-theme=dark] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._control-item_1wi4a_20{border-top:1px solid var(--uikit-basic-color-white-7);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._btn_1wi4a_31,[data-uikit-theme=dark] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._btn_1wi4a_31{border-top:1px solid var(--uikit-basic-color-white-2);transition:background-color .3s ease-out,border-color .3s ease-out}._device-selector-container_1wi4a_1 ._device-item_1wi4a_9:hover{border-radius:5px}[data-uikit-theme=light] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9:hover,[data-uikit-theme=dark] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9:hover{background:var(--uikit-basic-color-white-7);transition:background-color .3s ease-out,border-color .3s ease-out}._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._select_1wi4a_50{border-radius:3px}[data-uikit-theme=light] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._select_1wi4a_50,[data-uikit-theme=dark] ._device-selector-container_1wi4a_1 ._device-item_1wi4a_9._select_1wi4a_50{background-color:var(--uikit-basic-color-white-6);transition:background-color .3s ease-out,border-color .3s ease-out}._scroll-container_1wi4a_62{width:100%;overflow:hidden;border-radius:3px}._scroll-container_1wi4a_62 ._scroll-content_1wi4a_67{max-height:60px;margin-right:-20px;overflow:hidden auto;padding-right:20px}[data-uikit-theme=light] ._hangup-icon-container_7aq1c_1{background-color:var(--uikit-theme-light-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._hangup-icon-container_7aq1c_1{background-color:var(--uikit-theme-dark-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._background-blur-icon-container_1g5wa_1,[data-uikit-theme=dark] ._background-blur-icon-container_1g5wa_1{background-color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._background-blur-icon-container_1g5wa_1._close_1g5wa_9,[data-uikit-theme=dark] ._background-blur-icon-container_1g5wa_1._close_1g5wa_9{background-color:var(--uikit-basic-color-black-5);transition:background-color .3s ease-out,border-color .3s ease-out}._button-panel-h5-container_f9br3_1{display:flex;flex-direction:column;align-items:center;position:absolute;box-sizing:border-box;bottom:0;width:100%;height:14%;border-radius:10px 10px 0 0;z-index:5;transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}._button-panel-h5-container_f9br3_1._groupcall_f9br3_16{background:none}[data-uikit-theme=light] ._button-panel-h5-container_f9br3_1._groupcall_f9br3_16._show-panel-background_f9br3_19,[data-uikit-theme=dark] ._button-panel-h5-container_f9br3_1._groupcall_f9br3_16._show-panel-background_f9br3_19{background-color:var(--uikit-basic-color-gray-dark-3);transition:background-color .3s ease-out,border-color .3s ease-out}._button-panel-h5-container_f9br3_1._open_f9br3_27{height:27%}._button-panel-h5-container_f9br3_1 ._singlecall-panel_f9br3_30{width:72%;max-width:400px;position:absolute;bottom:6vh}._button-panel-h5-container_f9br3_1 ._groupcall-panel_f9br3_36{width:72%;position:absolute;top:6%}._button-panel-h5-container_f9br3_1 ._groupcall-panel_f9br3_36._close_f9br3_41{top:27%;margin-left:9.3vw}._button-panel-h5-container_f9br3_1 ._toggle-panel-btn_f9br3_45{position:absolute;left:8.2vw;bottom:6vh;z-index:1}._button-panel-h5-container_f9br3_1 ._toggle-panel-btn_f9br3_45._close_f9br3_41{width:8vw!important;height:8vw!important;top:32%}._button-panel-h5-container_f9br3_1 ._toggle-panel-btn_f9br3_45._close_f9br3_41 .prefix-icon{width:8vw!important;height:8vw!important}._button-panel-pc-container_x4npp_1{position:absolute;width:55%;margin:0 auto;bottom:6%;left:50%;z-index:2;transform:translate(-50%)}.tk-avatar-container{display:flex;align-items:center;justify-content:center;border:0px;padding:0;overflow:hidden}[data-uikit-theme=light] .tk-avatar-container,[data-uikit-theme=dark] .tk-avatar-container{background-color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-avatar-container.tk-avatar-shape-round{border-radius:6px}.tk-avatar-container.tk-avatar-shape-circle{border-radius:50%}.tk-avatar-container img{width:100%;height:100%;object-fit:fill}._microphone-container_nczz7_1{height:20px;width:20px;flex-shrink:0}._microphone-container_nczz7_1 svg{width:100%;height:100%}._overlay-stream-container_1ygv7_1{width:100%;height:100%;position:absolute;top:0}._overlay-stream-container_1ygv7_1 ._blur_1ygv7_7{width:100%;height:100%;left:0;top:0;position:absolute}[data-uikit-theme=light] ._overlay-stream-container_1ygv7_1 ._blur_1ygv7_7{transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._overlay-stream-container_1ygv7_1 ._blur_1ygv7_7 .overlay{background-color:var(--uikit-basic-color-black-3);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}[data-uikit-theme=dark] ._overlay-stream-container_1ygv7_1 ._blur_1ygv7_7{transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._overlay-stream-container_1ygv7_1 ._blur_1ygv7_7 .overlay{background-color:var(--uikit-basic-color-black-3);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30{position:absolute;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}[data-uikit-theme=light] ._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30,[data-uikit-theme=dark] ._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49{width:100px;height:100px}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49._float_1ygv7_53,._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49._small_1ygv7_57{width:40px;height:40px}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49._small_1ygv7_57._float_1ygv7_53{width:20px;height:20px}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._username_1ygv7_65{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._username_1ygv7_65 ._nick_1ygv7_72{text-align:center;font-family:PingFang SC;font-size:40px;font-style:normal;font-weight:500;line-height:normal;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._username_1ygv7_65 ._nick_1ygv7_72._float_1ygv7_53,._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._username_1ygv7_65 ._nick_1ygv7_72._small_1ygv7_57{font-size:20px}._overlay-stream-container_1ygv7_1._pc_1ygv7_30 ._user-info-container_1ygv7_30 ._username_1ygv7_65 ._nick_1ygv7_72._small_1ygv7_57._float_1ygv7_53{font-size:12px}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30{position:absolute;display:flex;flex-direction:column;align-content:center;align-items:center;top:26%;width:100%;z-index:1}[data-uikit-theme=light] ._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30,[data-uikit-theme=dark] ._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49{width:100px;height:100px}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49._float_1ygv7_53,._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49._small_1ygv7_57{width:40px;height:40px}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._avatar_1ygv7_49._small_1ygv7_57._float_1ygv7_53{width:20px;height:20px}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._username_1ygv7_65{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._username_1ygv7_65 ._nick_1ygv7_72{text-align:center;margin-top:12px;font-family:PingFang SC;font-size:18px;font-style:normal;font-weight:500;line-height:normal;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._username_1ygv7_65 ._nick_1ygv7_72._small_1ygv7_57{font-size:15px}._overlay-stream-container_1ygv7_1._mobile_1ygv7_96 ._user-info-container_1ygv7_30 ._tip_1ygv7_153{margin-top:12px}._singlecall-waiting-container_pmvxi_1{z-index:1}.tk-togglewindow-container{position:relative;width:100%;height:100%;border-radius:6px}.tk-togglewindowitem-container{position:absolute;border-radius:12px;overflow:hidden}.tk-togglewindowitem-container.mobile{border-radius:0}.tk-togglewindowitem-container.tk-togglewindowitem-big{top:0;left:0;right:0;bottom:0;width:100%;height:100%}[data-uikit-theme=light] .tk-togglewindowitem-container.tk-togglewindowitem-big,[data-uikit-theme=dark] .tk-togglewindowitem-container.tk-togglewindowitem-big{background-color:var(--uikit-basic-color-black-2);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-togglewindowitem-container.tk-togglewindowitem-small{top:2%;left:2%;width:22%;height:21%;z-index:2;border-radius:12px}[data-uikit-theme=light] .tk-togglewindowitem-container.tk-togglewindowitem-small,[data-uikit-theme=dark] .tk-togglewindowitem-container.tk-togglewindowitem-small{background-color:var(--uikit-basic-color-black-2);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-togglewindowitem-container.tk-togglewindowitem-small.mobile{width:24.3%;height:19.7%;border-radius:5px;left:98%;position:absolute;top:8%;transform:translate(-100%)}.tk-text{display:inline-block;overflow:hidden;text-align:center;line-height:normal;white-space:nowrap}.tk-text.tk-text--line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;white-space:normal}._stream-info-container-h5_182j9_1{width:calc(100% - 16px);display:flex;z-index:1;position:absolute;left:0;bottom:0;text-wrap:nowrap;margin:8px;background:none}[data-uikit-theme=light] ._stream-info-container-h5_182j9_1,[data-uikit-theme=dark] ._stream-info-container-h5_182j9_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._stream-info-container-h5_182j9_1._single_182j9_20{height:20px}._stream-info-container-pc_19fal_1{width:100%;height:25px;display:flex;z-index:1;position:absolute;left:0;bottom:0;text-wrap:nowrap;background:none;justify-content:space-between}[data-uikit-theme=light] ._stream-info-container-pc_19fal_1,[data-uikit-theme=dark] ._stream-info-container-pc_19fal_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._stream-info-container-pc_19fal_1 ._stream-info-content_19fal_21{display:flex;max-width:60%;flex-direction:row;align-content:center;align-items:center;padding:2px 10px}[data-uikit-theme=light] ._stream-info-container-pc_19fal_1 ._stream-info-content_19fal_21,[data-uikit-theme=dark] ._stream-info-container-pc_19fal_1 ._stream-info-content_19fal_21{background-color:var(--uikit-basic-color-black-5);transition:background-color .3s ease-out,border-color .3s ease-out}._stream-info-container-pc_19fal_1 ._stream-info-content_19fal_21 ._nick_19fal_37{overflow:hidden;text-overflow:ellipsis}._stream-info-container-pc_19fal_1 ._stream-info-netWork_19fal_41{width:20px;height:20px}._player-container_dhuca_1{width:100%;height:100%;position:relative}[data-uikit-theme=light] ._player-container_dhuca_1,[data-uikit-theme=dark] ._player-container_dhuca_1{background-color:var(--uikit-basic-color-white-6);transition:background-color .3s ease-out,border-color .3s ease-out}._pusher-container_1ncng_1{width:100%;height:100%;position:relative}[data-uikit-theme=light] ._pusher-container_1ncng_1,[data-uikit-theme=dark] ._pusher-container_1ncng_1{background-color:var(--uikit-basic-color-white-6);transition:background-color .3s ease-out,border-color .3s ease-out}._single-stream-container_1hpym_1{width:100%;height:100%;position:absolute;z-index:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._single-stream-container_1hpym_1._pc_1hpym_11{border-radius:12px;overflow:hidden}[data-uikit-theme=light] ._single-stream-container_1hpym_1._pc_1hpym_11,[data-uikit-theme=dark] ._single-stream-container_1hpym_1._pc_1hpym_11{background-color:var(--uikit-basic-color-black-2);transition:background-color .3s ease-out,border-color .3s ease-out}._single-stream-container_1hpym_1._pc_1hpym_11 ._single-call-audio-stream_1hpym_23 .overlay{border-radius:12px;overflow:hidden}._single-stream-container_1hpym_1._float_1hpym_27{position:absolute;visibility:hidden}._single-container_1l7n2_1{width:100%;height:100%}._single-container_1l7n2_1 ._singlecall-tip_1l7n2_5{position:absolute;top:56%;left:50%;transform:translate(-50%);z-index:5}._single-container_1l7n2_1._mobile_1l7n2_12{animation:_pulldown_1l7n2_1 .5s linear}._single-container_1l7n2_1._mobile_1l7n2_12 ._singlecall-tip_1l7n2_5{position:absolute;max-width:80%;top:53.6vh;left:50%;transform:translate(-50%);z-index:5}@keyframes _pulldown_1l7n2_1{0%{transform:translateY(-100%)}to{transform:translateY(0)}}._groupcall-waiting-container_1ew1v_1,._waiting-mobile_1ew1v_5 ._tip_1ew1v_5{z-index:1}[data-uikit-theme=light] ._waiting-mobile_1ew1v_5 ._tip_1ew1v_5,[data-uikit-theme=dark] ._waiting-mobile_1ew1v_5 ._tip_1ew1v_5{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._waiting-mobile_1ew1v_5 ._groupcall-info_1ew1v_16{display:flex;flex-direction:column;align-items:center;margin-top:24px;z-index:1;width:100%}[data-uikit-theme=light] ._waiting-mobile_1ew1v_5 ._groupcall-info_1ew1v_16,[data-uikit-theme=dark] ._waiting-mobile_1ew1v_5 ._groupcall-info_1ew1v_16{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._waiting-mobile_1ew1v_5 ._groupcall-info_1ew1v_16 ._tip_1ew1v_5{text-align:center}._waiting-mobile_1ew1v_5 ._groupcall-info_1ew1v_16 ._avatar-group_1ew1v_35{display:flex;flex-wrap:wrap;margin-top:12px;align-items:center;justify-content:center;max-width:70%}._waiting-mobile_1ew1v_5 ._groupcall-info_1ew1v_16 ._avatar-group_1ew1v_35 ._avatar-item_1ew1v_43{width:10vw;height:10vw;margin-left:10px;margin-top:10px}.tk-gridplus-item-container{transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}.tk-gridplus-item-container.center{transform:translate(50%)}._stream-container_d9ykp_1{width:100%;height:100%;position:absolute;z-index:1}._stream-container_d9ykp_1._mobile_d9ykp_7{top:5.5vh}._stream-container_d9ykp_1._pc_d9ykp_10{border-radius:12px;overflow:hidden}._stream-container_d9ykp_1._float_d9ykp_14{position:absolute;visibility:hidden}._groupcall-gridplus-container_d9ykp_19{width:100%;height:100%}._groupcall-gridplus-container_d9ykp_19._mobile_d9ykp_7._center_d9ykp_23{margin-top:24vh}._groupcall-gridplus-container_d9ykp_19._mobile_d9ykp_7._two-layout_d9ykp_26{margin-top:15vh}._groupcall-gridplus-container_d9ykp_19._pc_d9ykp_10._two-layout_d9ykp_26{margin-top:20%}._groupcall-gridplus-container_d9ykp_19._float_d9ykp_14{margin:0;position:absolute;top:0;right:0;left:0;bottom:0;border:0}._groupcall-gridplus-container_d9ykp_19._float_d9ykp_14 .tk-gridplus-item-container{width:100%!important;height:100%!important}._groupcall-gridplus-container_d9ykp_19._float_d9ykp_14 .tk-gridplus-item-container ._hidden_d9ykp_45{visibility:hidden}._groupcall-gridplus-container_d9ykp_19 ._userinfo_d9ykp_48{z-index:1;text-align:right;font-family:PingFang SC;font-size:20px;font-style:normal;font-weight:500;line-height:normal}[data-uikit-theme=light] ._groupcall-gridplus-container_d9ykp_19 ._userinfo_d9ykp_48,[data-uikit-theme=dark] ._groupcall-gridplus-container_d9ykp_19 ._userinfo_d9ykp_48{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._group-container_bky89_1{width:100%;height:100%}._group-container_bky89_1._mobile_bky89_5{animation:_pulldown_bky89_1 .3s linear}@keyframes _pulldown_bky89_1{0%{transform:translateY(-100%)}to{transform:translateY(0)}}._floating-window-pc-groupcall-container_1es4b_1{width:80px;height:100px;top:100px;right:10px;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;box-sizing:border-box;overflow:hidden}[data-uikit-theme=light] ._floating-window-pc-groupcall-container_1es4b_1{background-color:var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-groupcall-container_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-groupcall-container_1es4b_1 ._click-overlay_1es4b_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1{display:flex;flex-direction:column;align-content:center;align-items:center;width:100%;height:100%}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1._hidden_1es4b_1{visibility:hidden!important;opacity:0}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._audio-stream_1es4b_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;top:0;left:0}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1{height:80px;width:100%;position:relative;padding:8px 18px;box-sizing:border-box}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1._video_1es4b_1{padding:8px}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._earphone_1es4b_1{height:36px;width:36px;top:8px;position:absolute}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}[data-uikit-theme=light] ._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1{display:flex;flex-direction:row;align-items:center;height:20px;width:100%;position:relative;justify-content:space-evenly}[data-uikit-theme=light] ._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-light-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._icon_1es4b_1{display:flex;width:16px;height:16px;position:absolute}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._camera_1es4b_1{left:14px}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._micphone_1es4b_1{right:14px}._floating-window-h5-groupcall-container_1es4b_1{width:72px;height:90px;top:100px;right:0;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;box-sizing:border-box;overflow:hidden}[data-uikit-theme=light] ._floating-window-h5-groupcall-container_1es4b_1{background-color:var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-groupcall-container_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-groupcall-container_1es4b_1 ._click-overlay_1es4b_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1{display:flex;flex-direction:column;align-content:center;align-items:center;width:100%;height:100%}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1._hidden_1es4b_1{visibility:hidden!important;opacity:0}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._audio-stream_1es4b_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;top:0;left:0}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1{height:70px;width:100%;position:relative;padding:8px 18px;box-sizing:border-box}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1._video_1es4b_1{padding:8px}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._earphone_1es4b_1{height:36px;width:36px;top:8px;position:absolute}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}[data-uikit-theme=light] ._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1{display:flex;flex-direction:row;align-items:center;height:20px;width:100%;position:relative;justify-content:space-evenly}[data-uikit-theme=light] ._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-light-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._icon_1es4b_1{display:flex;width:16px;height:16px;position:absolute}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._camera_1es4b_1{left:14px}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._micphone_1es4b_1{right:14px}._floating-window-h5-singlecall-container_1wchz_1{width:110px;height:196px;top:100px;right:0;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;overflow:hidden}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1{background-color:var(--uikit-theme-light-floating-color-default);border:1px solid var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1{background-color:var(--uikit-theme-dark-floating-color-default);border:1px solid var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1._audio-call_1wchz_1{width:72px;height:72px;border-radius:12px;box-sizing:border-box}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1._audio-call_1wchz_1{background-color:var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1._audio-call_1wchz_1{background-color:var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1 ._click-overlay_1wchz_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1{display:flex;flex-direction:column;align-content:center;align-items:center;padding:8px 18px;width:100%;height:100%;z-index:0;position:relative;box-sizing:border-box}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1._video_1wchz_1{padding:8px}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1,[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box;z-index:0}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1._hidden_1wchz_1{visibility:hidden}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;left:0;top:0}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._earphone_1wchz_1{height:36px;width:36px;position:absolute;top:8px}._floating-window-h5-singlecall-container_1wchz_1 ._tip_1wchz_1{position:absolute;bottom:0}._floating-window-pc-singlecall-container_1wchz_1{width:196px;height:110px;top:100px;right:10px;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;overflow:hidden}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-light-floating-color-default);border:1px solid var(--uikit-theme-light-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-dark-floating-color-default);border:1px solid var(--uikit-theme-dark-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1._audio-call_1wchz_1{width:72px;height:72px;border-radius:12px;box-sizing:border-box}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1._audio-call_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-light-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1._audio-call_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-dark-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1 ._click-overlay_1wchz_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1{display:flex;flex-direction:column;align-content:center;align-items:center;padding:8px 18px;width:100%;height:100%;z-index:0;position:relative;box-sizing:border-box}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1._video_1wchz_1{padding:8px}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1,[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box;z-index:0}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1._hidden_1wchz_1{visibility:hidden}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1 .tk-togglewindowitem-small{border-radius:3px;width:32%;height:31%}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;left:0;top:0}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._earphone_1wchz_1{height:36px;width:36px;position:absolute;top:8px}._floating-window-pc-singlecall-container_1wchz_1 ._tip_1wchz_1{position:absolute;bottom:0}:root{--uikit-theme-light-bg-color-topbar: #f9fafc;--uikit-theme-light-bg-color-operate: #fff;--uikit-theme-light-bg-color-input: #f0f2f7;--uikit-theme-light-bg-color-bubble-reciprocal: #f0f2f7;--uikit-theme-light-bg-color-bubble-own: #cce2ff;--uikit-theme-light-bg-color-default: #f0f2f7;--uikit-theme-light-bg-color-tag-mask: rgba(255, 255, 255, .55);--uikit-theme-light-bg-color-mask: rgba(0, 0, 0, .55);--uikit-theme-light-text-color-primary: rgba(0, 0, 0, .93);--uikit-theme-light-text-color-secondary: rgba(0, 0, 0, .66);--uikit-theme-light-text-color-tertiary: rgba(0, 0, 0, .4);--uikit-theme-light-text-color-disable: rgba(0, 0, 0, .28);--uikit-theme-light-text-color-link: #1c66e5;--uikit-theme-light-text-color-link-hover: #4588f5;--uikit-theme-light-text-color-link-disabled: #cce2ff;--uikit-theme-light-text-color-anti-primary: rgba(0, 0, 0, .9);--uikit-theme-light-text-color-anti-secondary: rgba(0, 0, 0, .55);--uikit-theme-light-text-color-warning: #ff7200;--uikit-theme-light-text-color-success: #0abf77;--uikit-theme-light-text-color-error: #e54545;--uikit-theme-light-dropdown-color-default: #fff;--uikit-theme-light-dropdown-color-hover: #f9fafc;--uikit-theme-light-dropdown-color-active: #ebf3ff;--uikit-theme-light-list-color-default: #fff;--uikit-theme-light-list-color-hover: #f9fafc;--uikit-theme-light-list-color-active: #ebf3ff;--uikit-theme-light-stroke-color-primary: #f9fafc;--uikit-theme-light-stroke-color-secondary: rgba(0, 0, 0, .55);--uikit-theme-light-shadow-color: rgba(0, 0, 0, .06);--uikit-theme-light-floating-color-default: #ffffff;--uikit-theme-light-floating-color-operate: #F0F2F7;--uikit-theme-light-toast-color-default: #EBF3FF;--uikit-theme-light-toast-color-success: #DCFAE9;--uikit-theme-light-toast-color-warning: #FFEEDB;--uikit-theme-light-toast-color-error: #FFE7E5;--uikit-theme-light-button-color-hangup: #E54545;--uikit-theme-light-button-color-accept: #0ABF77;color-scheme:light dark}:root{--uikit-theme-dark-bg-color-topbar: #16171a;--uikit-theme-dark-bg-color-operate: #1f2024;--uikit-theme-dark-bg-color-input: #2b2c30;--uikit-theme-dark-bg-color-bubble-reciprocal: #2b2c30;--uikit-theme-dark-bg-color-bubble-own: #5c9dff;--uikit-theme-dark-bg-color-default: #16171a;--uikit-theme-dark-bg-color-tag-mask: rgba(0, 0, 0, .55);--uikit-theme-dark-bg-color-mask: rgba(0, 0, 0, .55);--uikit-theme-dark-text-color-primary: rgba(255, 255, 255, .93);--uikit-theme-dark-text-color-secondary: rgba(255, 255, 255, .66);--uikit-theme-dark-text-color-tertiary: rgba(255, 255, 255, .4);--uikit-theme-dark-text-color-disable: rgba(255, 255, 255, .28);--uikit-theme-dark-text-color-link: #4086ff;--uikit-theme-dark-text-color-link-hover: #2b6ad6;--uikit-theme-dark-text-color-link-disabled: #243047;--uikit-theme-dark-text-color-anti-primary: rgba(0, 0, 0, .9);--uikit-theme-dark-text-color-anti-secondary: rgba(0, 0, 0, .55);--uikit-theme-dark-text-color-warning: #e37f32;--uikit-theme-dark-text-color-success: #38a673;--uikit-theme-dark-text-color-error: #e6594c;--uikit-theme-dark-dropdown-color-default: #2b2c30;--uikit-theme-dark-dropdown-color-hover: #3a3c42;--uikit-theme-dark-dropdown-color-active: #1f2024;--uikit-theme-dark-list-color-default: #1f2024;--uikit-theme-dark-list-color-hover: #2b2c30;--uikit-theme-dark-list-color-active: #243047;--uikit-theme-dark-stroke-color-primary: #3a3c42;--uikit-theme-dark-stroke-color-secondary: #2b2c30;--uikit-theme-dark-shadow-color: rgba(0, 0, 0, .06);--uikit-theme-dark-floating-color-default: #2B2C30;--uikit-theme-dark-floating-color-operate: #3A3C42;--uikit-theme-dark-toast-color-default: #243047;--uikit-theme-dark-toast-color-success: #22352C;--uikit-theme-dark-toast-color-warning: #35231A;--uikit-theme-dark-toast-color-error: #422324;--uikit-theme-dark-button-color-hangup: #E6594C;--uikit-theme-dark-button-color-accept: #38A673;color-scheme:light dark}:root{--uikit-basic-color-white-1: #FFFFFF;--uikit-basic-color-white-2: rgba(255, 255, 255, .9);--uikit-basic-color-white-4: rgba(255, 255, 255, .55);--uikit-basic-color-white-6: rgba(255, 255, 255, .3);--uikit-basic-color-white-7: rgba(255, 255, 255, .14);--uikit-basic-color-black-1: rgb(0, 0, 0);--uikit-basic-color-black-2: rgba(0, 0, 0, .9);--uikit-basic-color-black-3: rgba(0, 0, 0, .72);--uikit-basic-color-black-4: rgba(0, 0, 0, .55);--uikit-basic-color-black-5: rgba(0, 0, 0, .4);--uikit-basic-color-black-8: rgba(0, 0, 0, .06);--uikit-basic-color-gray-dark-3: rgb(43, 44, 48)}._tuicallkit-container_1e13c_98{position:relative;width:960px;height:630px;border-radius:12px;overflow:hidden}._tuicallkit-container_1e13c_98._float_1e13c_105{position:absolute;visibility:hidden}._tuicallkit-container_1e13c_98._mobile_1e13c_109{background:none;border-radius:0;width:100%;height:100%}")),document.head.appendChild(t)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("._message-c2c-container_14m8l_1{display:flex;flex-direction:row;align-items:center;word-break:break-all}._message-c2c-container_14m8l_1 ._call-content_14m8l_7{padding-left:8px}._message-c2c-container_14m8l_1._c2c_14m8l_10{cursor:pointer}._message-c2c-container_14m8l_1 ._icon_14m8l_13{width:20px;height:20px}._message-group-container_hjjzg_1._group_hjjzg_1{cursor:default}.tk-time{font-family:PingFang SC;font-size:16px;font-weight:500;line-height:20px;letter-spacing:0px;text-align:center}[data-uikit-theme=light] .tk-time,[data-uikit-theme=dark] .tk-time{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-row-container{width:100%;box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;flex-flow:row wrap;flex-direction:row;flex-wrap:nowrap}.tk-row-container.tk-row-justify-left{justify-content:flex-start}.tk-row-container.tk-row-justify-center{justify-content:center}.tk-row-container.tk-row-justify-right{justify-content:flex-end}.tk-col-container{display:flex;box-sizing:border-box;overflow:hidden;align-items:center}.tk-col-container.tk-col-justify-content-start{justify-content:flex-start}.tk-col-container.tk-col-justify-content-center{justify-content:center}.tk-col-container.tk-col-justify-content-end{justify-content:flex-end}.tk-col-container.tk-col-align-items-start{align-items:flex-start}.tk-col-container.tk-col-align-items-center{align-items:center}.tk-col-container.tk-col-align-items-end{align-items:flex-end}.tk-col-12{flex:0 0 100%;max-width:100%}.tk-col-push-12{left:100%}.tk-col-pull-12{right:100%}.tk-col-offset-12{margin-left:100%}.tk-col-order-12{order:12}.tk-col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.tk-col-push-11{left:91.6666666667%}.tk-col-pull-11{right:91.6666666667%}.tk-col-offset-11{margin-left:91.6666666667%}.tk-col-order-11{order:11}.tk-col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.tk-col-push-10{left:83.3333333333%}.tk-col-pull-10{right:83.3333333333%}.tk-col-offset-10{margin-left:83.3333333333%}.tk-col-order-10{order:10}.tk-col-9{flex:0 0 75%;max-width:75%}.tk-col-push-9{left:75%}.tk-col-pull-9{right:75%}.tk-col-offset-9{margin-left:75%}.tk-col-order-9{order:9}.tk-col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.tk-col-push-8{left:66.6666666667%}.tk-col-pull-8{right:66.6666666667%}.tk-col-offset-8{margin-left:66.6666666667%}.tk-col-order-8{order:8}.tk-col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.tk-col-push-7{left:58.3333333333%}.tk-col-pull-7{right:58.3333333333%}.tk-col-offset-7{margin-left:58.3333333333%}.tk-col-order-7{order:7}.tk-col-6{flex:0 0 50%;max-width:50%}.tk-col-push-6{left:50%}.tk-col-pull-6{right:50%}.tk-col-offset-6{margin-left:50%}.tk-col-order-6{order:6}.tk-col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.tk-col-push-5{left:41.6666666667%}.tk-col-pull-5{right:41.6666666667%}.tk-col-offset-5{margin-left:41.6666666667%}.tk-col-order-5{order:5}.tk-col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.tk-col-push-4{left:33.3333333333%}.tk-col-pull-4{right:33.3333333333%}.tk-col-offset-4{margin-left:33.3333333333%}.tk-col-order-4{order:4}.tk-col-3{flex:0 0 25%;max-width:25%}.tk-col-push-3{left:25%}.tk-col-pull-3{right:25%}.tk-col-offset-3{margin-left:25%}.tk-col-order-3{order:3}.tk-col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.tk-col-push-2{left:16.6666666667%}.tk-col-pull-2{right:16.6666666667%}.tk-col-offset-2{margin-left:16.6666666667%}.tk-col-order-2{order:2}.tk-col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.tk-col-push-1{left:8.3333333333%}.tk-col-pull-1{right:8.3333333333%}.tk-col-offset-1{margin-left:8.3333333333%}.tk-col-order-1{order:1}.tk-col-0{display:none}.tk-col-push-0{left:auto}.tk-col-pull-0{right:auto}.tk-col-offset-0{margin-left:0}.tk-col-order-0{order:0}.tk-circle-container{width:30px;height:30px;margin:0 auto;position:absolute;z-index:1}.tk-circle-container .tk-circle-loading{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tk-circle-container svg{height:100%;width:100%}.tk-dot-container{position:absolute;display:flex;justify-content:space-between;align-items:center;width:50px;height:50px;margin:0 auto;z-index:1}.tk-dot-container .dot:nth-child(1){opacity:0;animation-duration:.8s;animation-delay:0s;animation-play-state:running}.tk-dot-container .dot:nth-child(2){opacity:.083;animation-duration:.8s;animation-delay:.2666666667s;animation-play-state:running}.tk-dot-container .dot:nth-child(3){opacity:.1667;animation-duration:.8s;animation-delay:.5333333333s;animation-play-state:running}.tk-dot-container .dot{width:20%;height:20%;border-radius:50%;background-color:currentColor;animation-duration:1.8s;animation-name:dotting;animation-timing-function:linear;animation-iteration-count:infinite;animation-fill-mode:both}[data-uikit-theme=light] .tk-dot-container .dot,[data-uikit-theme=dark] .tk-dot-container .dot{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}@keyframes dotting{0%{opacity:.15}1%{opacity:.8}33%{opacity:.8}34%{opacity:.15}to{opacity:.15}}.tk-overlayer-container,.tk-overlayer-container .overlay{position:absolute;width:100%;height:100%}[data-uikit-theme=light] .tk-overlayer-container .overlay,[data-uikit-theme=dark] .tk-overlayer-container .overlay{background-color:var(--uikit-basic-color-black-4);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;width:100%;height:100%;background:none}.tk-loading-container.tk-loading-overlayer{position:absolute;width:100%;height:100%}[data-uikit-theme=light] .tk-loading-container.tk-loading-overlayer,[data-uikit-theme=dark] .tk-loading-container.tk-loading-overlayer{background-color:var(--uikit-basic-color-black-4);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-btn-container{display:flex}[data-uikit-theme=light] .tk-btn-container,[data-uikit-theme=dark] .tk-btn-container{color:var(--uikit-basic-color-white-2);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-btn-container{transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}.tk-btn-container.pc{cursor:pointer}.tk-btn-container.tk-flex-vertical{flex-direction:column;align-items:center}.tk-btn-container.tk-flex-vertical.tk-size-s.pc{height:auto;width:20px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-s.pc .tk-icon{width:20px;height:20px}.tk-btn-container.tk-flex-vertical.tk-size-s.pc .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-s.pc .tk-loading{font-size:20px}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile{height:auto;width:40px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile .tk-icon{width:40px;height:40px}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-s.mobile .tk-loading{font-size:40px}.tk-btn-container.tk-flex-vertical.tk-size-m.pc{height:auto;width:60px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-icon{width:60px;height:60px}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-loading{font-size:60px}.tk-btn-container.tk-flex-vertical.tk-size-m.pc .tk-icon{width:40px;height:40px}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile{height:auto;width:60px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile .tk-loading{font-size:60px}.tk-btn-container.tk-flex-vertical.tk-size-m.mobile .tk-icon{width:60px;height:60px}.tk-btn-container.tk-flex-vertical.tk-size-l.pc{height:auto;width:60px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-l.pc .tk-icon{width:60px;height:60px}.tk-btn-container.tk-flex-vertical.tk-size-l.pc .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-l.pc .tk-loading{font-size:60px}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile{height:auto;width:80px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile .tk-icon{width:80px;height:80px}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-vertical.tk-size-l.mobile .tk-loading{font-size:80px}.tk-btn-container.tk-flex-horizontal{flex-direction:row;align-items:center}.tk-btn-container.tk-flex-horizontal.tk-size-s{height:36px;width:12px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-horizontal.tk-size-s .tk-icon{width:12px;height:12px}.tk-btn-container.tk-flex-horizontal.tk-size-s .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-horizontal.tk-size-s .tk-loading{font-size:12px}.tk-btn-container.tk-flex-horizontal.tk-size-m{height:40px;width:16px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-horizontal.tk-size-m .tk-icon{width:16px;height:16px}.tk-btn-container.tk-flex-horizontal.tk-size-m .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-horizontal.tk-size-m .tk-loading{font-size:16px}.tk-btn-container.tk-flex-horizontal.tk-size-l{height:60px;width:18px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container.tk-flex-horizontal.tk-size-l .tk-icon{width:18px;height:18px}.tk-btn-container.tk-flex-horizontal.tk-size-l .tk-icon .img{width:100%;height:100%}.tk-btn-container.tk-flex-horizontal.tk-size-l .tk-loading{font-size:18px}.tk-btn-container.tk-ghost{background:none}.tk-btn-container .tk-content{margin-top:8px;text-align:center;line-height:15px;font-style:normal;font-weight:400;max-height:30px;overflow:hidden;-webkit-user-select:none;user-select:none}.tk-btn-container .tk-icon{transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}.tk-btn-container .tk-icon.tk-size-s{height:36px;width:12px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container .tk-icon.tk-size-s .tk-icon{width:12px;height:12px}.tk-btn-container .tk-icon.tk-size-s .tk-icon .img{width:100%;height:100%}.tk-btn-container .tk-icon.tk-size-s .tk-loading{font-size:12px}.tk-btn-container .tk-icon.tk-size-m{height:40px;width:16px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container .tk-icon.tk-size-m .tk-icon{width:16px;height:16px}.tk-btn-container .tk-icon.tk-size-m .tk-icon .img{width:100%;height:100%}.tk-btn-container .tk-icon.tk-size-m .tk-loading{font-size:16px}.tk-btn-container .tk-icon.tk-size-l{height:60px;width:18px;font-size:12px;padding-left:0;padding-right:0}.tk-btn-container .tk-icon.tk-size-l .tk-icon{width:18px;height:18px}.tk-btn-container .tk-icon.tk-size-l .tk-icon .img{width:100%;height:100%}.tk-btn-container .tk-icon.tk-size-l .tk-loading{font-size:18px}._minimize-desk-container_gxy8f_1{margin-right:10px;width:20px!important;height:20px!important}._minimize-desk-container_gxy8f_1 .tk-icon{width:20px!important;height:20px!important}._minimize-mobile-container_gxy8f_11{margin-left:10px;width:24px!important;height:24px!important}._minimize-mobile-container_gxy8f_11 .tk-icon{width:24px!important;height:24px!important}.tk-message-container{display:flex;flex-direction:row;align-items:center;width:fit-content;margin-bottom:10px;border-radius:6px}[data-uikit-theme=light] .tk-message-container,[data-uikit-theme=dark] .tk-message-container{box-shadow:0 1px 5px var(--uikit-basic-color-black-8),0 8px 12px var(--uikit-basic-color-black-8),0 12px 26px var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-message-container{padding:10px}[data-uikit-theme=light] .tk-message-container{background-color:var(--uikit-theme-light-toast-color-default);color:var(--uikit-theme-light-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] .tk-message-container{background-color:var(--uikit-theme-dark-toast-color-default);color:var(--uikit-theme-dark-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] .tk-message-container svg{margin-right:4px;fill:var(--uikit-theme-light-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] .tk-message-container svg{margin-right:4px;fill:var(--uikit-theme-dark-text-color-primary);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-message-container.tk-message-plaintext{background:none;border:0;box-shadow:none;margin:0;padding:0}[data-uikit-theme=light] .tk-message-container.tk-message-plaintext,[data-uikit-theme=dark] .tk-message-container.tk-message-plaintext{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-message-container .tk-message-icon{width:1em!important;height:1em!important}.tk-message-container .tk-message-icon.tip-icon{margin-right:8px}.tk-message-container .tk-message-icon.close-icon{margin-left:24px}.message-list-container{top:0;position:fixed;left:0;width:100%;display:flex;justify-content:center}._top-bar-container_1m8fv_1{width:100%;height:5.8%;position:absolute;display:flex;align-items:center;z-index:5}._top-bar-container_1m8fv_1 ._top-bar_1m8fv_1{height:24px}._full-screen-container_16bjq_1{width:20px!important;height:20px!important;margin-right:10px}._full-screen-container_16bjq_1 .tk-icon{line-height:20px;width:20px!important;height:20px!important}._single-top-bar_15cxx_1{position:absolute;width:100%;height:20px;line-height:20px;margin-top:20px;z-index:2}._btn-icon_oeiwp_1{width:50%!important;height:50%!important}._btn-icon-container_oeiwp_6{display:flex;align-items:center;justify-content:center;border-radius:50%;border:0px}[data-uikit-theme=light] ._btn-icon-container_oeiwp_6,[data-uikit-theme=dark] ._btn-icon-container_oeiwp_6{background-color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._btn-icon-container_oeiwp_6.close,[data-uikit-theme=dark] ._btn-icon-container_oeiwp_6.close,[data-uikit-theme=light] ._btn-icon-container_oeiwp_6.disabled,[data-uikit-theme=dark] ._btn-icon-container_oeiwp_6.disabled{background-color:var(--uikit-basic-color-black-5);transition:background-color .3s ease-out,border-color .3s ease-out}._arrow-btn_oeiwp_38{padding:4px;width:12px!important;height:12px!important;margin:20px 0 0;transform:translateY(-50%)}._arrow-btn_oeiwp_38 .tk-icon{width:12px!important;height:12px!important}._tk-btn_oeiwp_50{transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in;width:70px!important}[data-uikit-theme=light] ._accept-icon-container_171af_1{background-color:var(--uikit-theme-light-button-color-accept);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._accept-icon-container_171af_1{background-color:var(--uikit-theme-dark-button-color-accept);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._reject-icon-container_mg9y1_1{background-color:var(--uikit-theme-light-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._reject-icon-container_mg9y1_1{background-color:var(--uikit-theme-dark-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-popup__arrow{left:50%;width:10px;height:10px;z-index:-1;margin-top:-3px;position:absolute}[data-uikit-theme=light] .tk-popup__arrow,[data-uikit-theme=dark] .tk-popup__arrow{background-color:var(--uikit-basic-color-black-4);border:.5px solid var(--uikit-basic-color-white-7);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-popup__arrow{backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transform:rotate(45deg) translate(-50%);border-top-left-radius:100%}.tk-popup__content{backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border-radius:6px;padding:3px;font-size:14px}[data-uikit-theme=light] .tk-popup__content,[data-uikit-theme=dark] .tk-popup__content{background-color:var(--uikit-basic-color-black-4);border:.5px solid var(--uikit-basic-color-white-7);color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._device-selector-container_n6s5h_1{width:180px;display:flex;flex-direction:column;align-items:center;padding:6px;font-weight:500}._device-selector-container_n6s5h_1 ._device-item_n6s5h_9{width:100%;overflow:hidden;padding:5px 3px;text-overflow:ellipsis;white-space:nowrap;font-size:14px;text-align:left;line-height:20px;cursor:pointer}[data-uikit-theme=light] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._control-item_n6s5h_20,[data-uikit-theme=dark] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._control-item_n6s5h_20{border-top:1px solid var(--uikit-basic-color-white-7);transition:background-color .3s ease-out,border-color .3s ease-out}._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._control-item_n6s5h_20{padding-left:6px}[data-uikit-theme=light] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._btn_n6s5h_31,[data-uikit-theme=dark] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._btn_n6s5h_31{border-top:1px solid var(--uikit-basic-color-white-2);transition:background-color .3s ease-out,border-color .3s ease-out}._device-selector-container_n6s5h_1 ._device-item_n6s5h_9:hover{border-radius:5px}[data-uikit-theme=light] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9:hover,[data-uikit-theme=dark] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9:hover{background:var(--uikit-basic-color-white-7);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._select_n6s5h_50,[data-uikit-theme=dark] ._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._select_n6s5h_50{background-color:var(--uikit-basic-color-white-6);transition:background-color .3s ease-out,border-color .3s ease-out}._device-selector-container_n6s5h_1 ._device-item_n6s5h_9._select_n6s5h_50{border-radius:3px}._scroll-container_n6s5h_62{width:100%;overflow:hidden;border-radius:3px}._scroll-container_n6s5h_62 ._scroll-content_n6s5h_67{max-height:60px;margin-right:-20px;overflow:hidden auto;padding-right:20px}[data-uikit-theme=light] ._hangup-icon-container_7aq1c_1{background-color:var(--uikit-theme-light-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._hangup-icon-container_7aq1c_1{background-color:var(--uikit-theme-dark-button-color-hangup);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._background-blur-icon-container_1g5wa_1,[data-uikit-theme=dark] ._background-blur-icon-container_1g5wa_1{background-color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=light] ._background-blur-icon-container_1g5wa_1._close_1g5wa_9,[data-uikit-theme=dark] ._background-blur-icon-container_1g5wa_1._close_1g5wa_9{background-color:var(--uikit-basic-color-black-5);transition:background-color .3s ease-out,border-color .3s ease-out}._button-panel-h5-container_f9br3_1{display:flex;flex-direction:column;align-items:center;position:absolute;box-sizing:border-box;bottom:0;width:100%;height:14%;border-radius:10px 10px 0 0;z-index:5;transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}._button-panel-h5-container_f9br3_1._groupcall_f9br3_16{background:none}[data-uikit-theme=light] ._button-panel-h5-container_f9br3_1._groupcall_f9br3_16._show-panel-background_f9br3_19,[data-uikit-theme=dark] ._button-panel-h5-container_f9br3_1._groupcall_f9br3_16._show-panel-background_f9br3_19{background-color:var(--uikit-basic-color-gray-dark-3);transition:background-color .3s ease-out,border-color .3s ease-out}._button-panel-h5-container_f9br3_1._open_f9br3_27{height:27%}._button-panel-h5-container_f9br3_1 ._singlecall-panel_f9br3_30{width:72%;max-width:400px;position:absolute;bottom:6vh}._button-panel-h5-container_f9br3_1 ._groupcall-panel_f9br3_36{width:72%;position:absolute;top:6%}._button-panel-h5-container_f9br3_1 ._groupcall-panel_f9br3_36._close_f9br3_41{top:27%;margin-left:9.3vw}._button-panel-h5-container_f9br3_1 ._toggle-panel-btn_f9br3_45{position:absolute;left:8.2vw;bottom:6vh;z-index:1}._button-panel-h5-container_f9br3_1 ._toggle-panel-btn_f9br3_45._close_f9br3_41{width:8vw!important;height:8vw!important;top:32%}._button-panel-h5-container_f9br3_1 ._toggle-panel-btn_f9br3_45._close_f9br3_41 .prefix-icon{width:8vw!important;height:8vw!important}._button-panel-pc-container_x4npp_1{position:absolute;width:55%;margin:0 auto;bottom:6%;left:50%;z-index:2;transform:translate(-50%)}.tk-avatar-container{display:flex;align-items:center;justify-content:center;border:0px;padding:0;overflow:hidden}[data-uikit-theme=light] .tk-avatar-container,[data-uikit-theme=dark] .tk-avatar-container{background-color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-avatar-container.tk-avatar-shape-round{border-radius:6px}.tk-avatar-container.tk-avatar-shape-circle{border-radius:50%}.tk-avatar-container img{width:100%;height:100%;object-fit:fill}._microphone-container_nczz7_1{height:20px;width:20px;flex-shrink:0}._microphone-container_nczz7_1 svg{width:100%;height:100%}._overlay-stream-container_1aqie_1{width:100%;height:100%;position:absolute;top:0}._overlay-stream-container_1aqie_1 ._blur_1aqie_7{width:100%;height:100%;left:0;top:0;position:absolute}[data-uikit-theme=light] ._overlay-stream-container_1aqie_1 ._blur_1aqie_7 .overlay{background-color:var(--uikit-basic-color-black-3);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}[data-uikit-theme=light] ._overlay-stream-container_1aqie_1 ._blur_1aqie_7{transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._overlay-stream-container_1aqie_1 ._blur_1aqie_7 .overlay{background-color:var(--uikit-basic-color-black-3);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}[data-uikit-theme=dark] ._overlay-stream-container_1aqie_1 ._blur_1aqie_7{transition:background-color .3s ease-out,border-color .3s ease-out}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30{position:absolute;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}[data-uikit-theme=light] ._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30,[data-uikit-theme=dark] ._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._avatar_1aqie_49{width:100px;height:100px}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._avatar_1aqie_49._float_1aqie_53,._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._avatar_1aqie_49._small_1aqie_57{width:40px;height:40px}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._avatar_1aqie_49._small_1aqie_57._float_1aqie_53{width:20px;height:20px}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._username_1aqie_65{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._username_1aqie_65 ._nick_1aqie_72{text-align:center;font-family:PingFang SC;font-size:40px;font-style:normal;font-weight:500;line-height:normal;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._username_1aqie_65 ._nick_1aqie_72._float_1aqie_53,._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._username_1aqie_65 ._nick_1aqie_72._small_1aqie_57{font-size:20px}._overlay-stream-container_1aqie_1._pc_1aqie_30 ._user-info-container_1aqie_30 ._username_1aqie_65 ._nick_1aqie_72._small_1aqie_57._float_1aqie_53{font-size:12px}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30{position:absolute;display:flex;flex-direction:column;align-content:center;align-items:center;top:26%;width:100%;z-index:1}[data-uikit-theme=light] ._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30,[data-uikit-theme=dark] ._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._avatar_1aqie_49{width:100px;height:100px}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._avatar_1aqie_49._float_1aqie_53,._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._avatar_1aqie_49._small_1aqie_57{width:40px;height:40px}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._avatar_1aqie_49._small_1aqie_57._float_1aqie_53{width:20px;height:20px}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._username_1aqie_65{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._username_1aqie_65 ._nick_1aqie_72{text-align:center;margin-top:12px;font-family:PingFang SC;font-size:18px;font-style:normal;font-weight:500;line-height:normal;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._username_1aqie_65 ._nick_1aqie_72._small_1aqie_57{font-size:15px}._overlay-stream-container_1aqie_1._mobile_1aqie_96 ._user-info-container_1aqie_30 ._tip_1aqie_153{margin-top:12px}._singlecall-waiting-container_pmvxi_1{z-index:1}.tk-togglewindow-container{position:relative;width:100%;height:100%;border-radius:6px}.tk-togglewindowitem-container{position:absolute;border-radius:12px;overflow:hidden}.tk-togglewindowitem-container.mobile{border-radius:0}.tk-togglewindowitem-container.tk-togglewindowitem-big{top:0;left:0;right:0;bottom:0;width:100%;height:100%}[data-uikit-theme=light] .tk-togglewindowitem-container.tk-togglewindowitem-big,[data-uikit-theme=dark] .tk-togglewindowitem-container.tk-togglewindowitem-big{background-color:var(--uikit-basic-color-black-2);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-togglewindowitem-container.tk-togglewindowitem-small{top:2%;left:2%;width:22%;height:21%;z-index:2;border-radius:12px}[data-uikit-theme=light] .tk-togglewindowitem-container.tk-togglewindowitem-small,[data-uikit-theme=dark] .tk-togglewindowitem-container.tk-togglewindowitem-small{background-color:var(--uikit-basic-color-black-2);transition:background-color .3s ease-out,border-color .3s ease-out}.tk-togglewindowitem-container.tk-togglewindowitem-small.mobile{width:24.3%;height:19.7%;border-radius:5px;left:98%;position:absolute;top:8%;transform:translate(-100%)}.tk-text{display:inline-block;overflow:hidden;text-align:center;line-height:normal;white-space:nowrap}.tk-text.tk-text--line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;white-space:normal}._stream-info-container-h5_182j9_1{width:calc(100% - 16px);display:flex;z-index:1;position:absolute;left:0;bottom:0;text-wrap:nowrap;margin:8px;background:none}[data-uikit-theme=light] ._stream-info-container-h5_182j9_1,[data-uikit-theme=dark] ._stream-info-container-h5_182j9_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._stream-info-container-h5_182j9_1._single_182j9_20{height:20px}._stream-info-container-pc_fw50h_1{width:100%;height:25px;display:flex;z-index:1;position:absolute;left:0;bottom:0}[data-uikit-theme=light] ._stream-info-container-pc_fw50h_1,[data-uikit-theme=dark] ._stream-info-container-pc_fw50h_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._stream-info-container-pc_fw50h_1{text-wrap:nowrap;background:none;justify-content:space-between}._stream-info-container-pc_fw50h_1 ._stream-info-content_fw50h_23{display:flex;max-width:60%;flex-direction:row;align-content:center;align-items:center;padding:2px 10px}[data-uikit-theme=light] ._stream-info-container-pc_fw50h_1 ._stream-info-content_fw50h_23,[data-uikit-theme=dark] ._stream-info-container-pc_fw50h_1 ._stream-info-content_fw50h_23{background-color:var(--uikit-basic-color-black-5);transition:background-color .3s ease-out,border-color .3s ease-out}._stream-info-container-pc_fw50h_1 ._stream-info-content_fw50h_23 ._nick_fw50h_39{overflow:hidden;text-overflow:ellipsis}._stream-info-container-pc_fw50h_1 ._stream-info-netWork_fw50h_43{width:20px;height:20px}._player-container_dhuca_1{width:100%;height:100%;position:relative}[data-uikit-theme=light] ._player-container_dhuca_1,[data-uikit-theme=dark] ._player-container_dhuca_1{background-color:var(--uikit-basic-color-white-6);transition:background-color .3s ease-out,border-color .3s ease-out}._pusher-container_1ncng_1{width:100%;height:100%;position:relative}[data-uikit-theme=light] ._pusher-container_1ncng_1,[data-uikit-theme=dark] ._pusher-container_1ncng_1{background-color:var(--uikit-basic-color-white-6);transition:background-color .3s ease-out,border-color .3s ease-out}._single-stream-container_1hpym_1{width:100%;height:100%;position:absolute;z-index:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._single-stream-container_1hpym_1._pc_1hpym_11{border-radius:12px;overflow:hidden}[data-uikit-theme=light] ._single-stream-container_1hpym_1._pc_1hpym_11,[data-uikit-theme=dark] ._single-stream-container_1hpym_1._pc_1hpym_11{background-color:var(--uikit-basic-color-black-2);transition:background-color .3s ease-out,border-color .3s ease-out}._single-stream-container_1hpym_1._pc_1hpym_11 ._single-call-audio-stream_1hpym_23 .overlay{border-radius:12px;overflow:hidden}._single-stream-container_1hpym_1._float_1hpym_27{position:absolute;visibility:hidden}._single-container_1l7n2_1{width:100%;height:100%}._single-container_1l7n2_1 ._singlecall-tip_1l7n2_5{position:absolute;top:56%;left:50%;transform:translate(-50%);z-index:5}._single-container_1l7n2_1._mobile_1l7n2_12{animation:_pulldown_1l7n2_1 .5s linear}._single-container_1l7n2_1._mobile_1l7n2_12 ._singlecall-tip_1l7n2_5{position:absolute;max-width:80%;top:53.6vh;left:50%;transform:translate(-50%);z-index:5}@keyframes _pulldown_1l7n2_1{0%{transform:translateY(-100%)}to{transform:translateY(0)}}._groupcall-waiting-container_1xkt1_1{z-index:1}[data-uikit-theme=light] ._waiting-mobile_1xkt1_5 ._tip_1xkt1_5,[data-uikit-theme=dark] ._waiting-mobile_1xkt1_5 ._tip_1xkt1_5{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._waiting-mobile_1xkt1_5 ._tip_1xkt1_5{z-index:1}._waiting-mobile_1xkt1_5 ._groupcall-info_1xkt1_16{display:flex;flex-direction:column;align-items:center;margin-top:24px;z-index:1}[data-uikit-theme=light] ._waiting-mobile_1xkt1_5 ._groupcall-info_1xkt1_16,[data-uikit-theme=dark] ._waiting-mobile_1xkt1_5 ._groupcall-info_1xkt1_16{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._waiting-mobile_1xkt1_5 ._groupcall-info_1xkt1_16{width:100%}._waiting-mobile_1xkt1_5 ._groupcall-info_1xkt1_16 ._tip_1xkt1_5{text-align:center}._waiting-mobile_1xkt1_5 ._groupcall-info_1xkt1_16 ._avatar-group_1xkt1_37{display:flex;flex-wrap:wrap;margin-top:12px;align-items:center;justify-content:center;max-width:70%}._waiting-mobile_1xkt1_5 ._groupcall-info_1xkt1_16 ._avatar-group_1xkt1_37 ._avatar-item_1xkt1_45{width:10vw;height:10vw;margin-left:10px;margin-top:10px}.tk-gridplus-item-container{transition-property:width,height,left,top;transition-duration:.3s;transition-timing-function:ease-in}.tk-gridplus-item-container.center{transform:translate(50%)}._stream-container_1n8ml_1{width:100%;height:100%;position:absolute;z-index:1}._stream-container_1n8ml_1._mobile_1n8ml_7{top:5.5vh}._stream-container_1n8ml_1._pc_1n8ml_10{border-radius:12px;overflow:hidden}._stream-container_1n8ml_1._float_1n8ml_14{position:absolute;visibility:hidden}._groupcall-gridplus-container_1n8ml_19{width:100%;height:100%}._groupcall-gridplus-container_1n8ml_19._mobile_1n8ml_7._center_1n8ml_23{margin-top:24vh}._groupcall-gridplus-container_1n8ml_19._mobile_1n8ml_7._two-layout_1n8ml_26{margin-top:15vh}._groupcall-gridplus-container_1n8ml_19._pc_1n8ml_10._two-layout_1n8ml_26{margin-top:20%}._groupcall-gridplus-container_1n8ml_19._float_1n8ml_14{margin:0;position:absolute;top:0;right:0;left:0;bottom:0;border:0}._groupcall-gridplus-container_1n8ml_19._float_1n8ml_14 .tk-gridplus-item-container{width:100%!important;height:100%!important}._groupcall-gridplus-container_1n8ml_19._float_1n8ml_14 .tk-gridplus-item-container ._hidden_1n8ml_45{visibility:hidden}._groupcall-gridplus-container_1n8ml_19 ._userinfo_1n8ml_48{z-index:1}[data-uikit-theme=light] ._groupcall-gridplus-container_1n8ml_19 ._userinfo_1n8ml_48,[data-uikit-theme=dark] ._groupcall-gridplus-container_1n8ml_19 ._userinfo_1n8ml_48{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._groupcall-gridplus-container_1n8ml_19 ._userinfo_1n8ml_48{text-align:right;font-family:PingFang SC;font-size:20px;font-style:normal;font-weight:500;line-height:normal}._group-container_bky89_1{width:100%;height:100%}._group-container_bky89_1._mobile_bky89_5{animation:_pulldown_bky89_1 .3s linear}@keyframes _pulldown_bky89_1{0%{transform:translateY(-100%)}to{transform:translateY(0)}}._floating-window-pc-groupcall-container_1es4b_1{width:80px;height:100px;top:100px;right:10px;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;box-sizing:border-box;overflow:hidden}[data-uikit-theme=light] ._floating-window-pc-groupcall-container_1es4b_1{background-color:var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-groupcall-container_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-groupcall-container_1es4b_1 ._click-overlay_1es4b_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1{display:flex;flex-direction:column;align-content:center;align-items:center;width:100%;height:100%}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1._hidden_1es4b_1{visibility:hidden!important;opacity:0}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._audio-stream_1es4b_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;top:0;left:0}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1{height:80px;width:100%;position:relative;padding:8px 18px;box-sizing:border-box}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1._video_1es4b_1{padding:8px}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._earphone_1es4b_1{height:36px;width:36px;top:8px;position:absolute}[data-uikit-theme=light] ._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1{display:flex;flex-direction:row;align-items:center;height:20px;width:100%;position:relative;justify-content:space-evenly}[data-uikit-theme=light] ._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-light-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._icon_1es4b_1{display:flex;width:16px;height:16px;position:absolute}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._camera_1es4b_1{left:14px}._floating-window-pc-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._micphone_1es4b_1{right:14px}._floating-window-h5-groupcall-container_1es4b_1{width:72px;height:90px;top:100px;right:0;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;box-sizing:border-box;overflow:hidden}[data-uikit-theme=light] ._floating-window-h5-groupcall-container_1es4b_1{background-color:var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-groupcall-container_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-groupcall-container_1es4b_1 ._click-overlay_1es4b_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1{display:flex;flex-direction:column;align-content:center;align-items:center;width:100%;height:100%}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._video-stream_1es4b_1._hidden_1es4b_1{visibility:hidden!important;opacity:0}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._audio-stream_1es4b_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;top:0;left:0}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1{height:70px;width:100%;position:relative;padding:8px 18px;box-sizing:border-box}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1._video_1es4b_1{padding:8px}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._earphone_1es4b_1{height:36px;width:36px;top:8px;position:absolute}[data-uikit-theme=light] ._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-groupcall-container_1es4b_1 ._call-status_1es4b_1 ._info_1es4b_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1{display:flex;flex-direction:row;align-items:center;height:20px;width:100%;position:relative;justify-content:space-evenly}[data-uikit-theme=light] ._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-light-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1{background-color:var(--uikit-theme-dark-floating-color-operate);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._icon_1es4b_1{display:flex;width:16px;height:16px;position:absolute}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._camera_1es4b_1{left:14px}._floating-window-h5-groupcall-container_1es4b_1 ._device-status_1es4b_1 ._micphone_1es4b_1{right:14px}._floating-window-h5-singlecall-container_1wchz_1{width:110px;height:196px;top:100px;right:0;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;overflow:hidden}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1{background-color:var(--uikit-theme-light-floating-color-default);border:1px solid var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1{background-color:var(--uikit-theme-dark-floating-color-default);border:1px solid var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1._audio-call_1wchz_1{width:72px;height:72px;border-radius:12px;box-sizing:border-box}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1._audio-call_1wchz_1{background-color:var(--uikit-theme-light-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1._audio-call_1wchz_1{background-color:var(--uikit-theme-dark-floating-color-default);box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1 ._click-overlay_1wchz_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1{display:flex;flex-direction:column;align-content:center;align-items:center;padding:8px 18px;width:100%;height:100%;z-index:0;position:relative;box-sizing:border-box}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1._video_1wchz_1{padding:8px}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1,[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box;z-index:0}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1._hidden_1wchz_1{visibility:hidden}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;left:0;top:0}[data-uikit-theme=light] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-h5-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._earphone_1wchz_1{height:36px;width:36px;position:absolute;top:8px}._floating-window-h5-singlecall-container_1wchz_1 ._tip_1wchz_1{position:absolute;bottom:0}._floating-window-pc-singlecall-container_1wchz_1{width:196px;height:110px;top:100px;right:10px;display:flex;z-index:99;flex-direction:column;align-items:center;border-radius:12px;overflow:hidden}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-light-floating-color-default);border:1px solid var(--uikit-theme-light-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-dark-floating-color-default);border:1px solid var(--uikit-theme-dark-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1._audio-call_1wchz_1{width:72px;height:72px;border-radius:12px;box-sizing:border-box}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1._audio-call_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-light-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1._audio-call_1wchz_1{box-shadow:0 0 10px 0 var(--uikit-basic-color-black-8);background-color:var(--uikit-theme-dark-floating-color-default);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1 ._click-overlay_1wchz_1{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;z-index:11}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1{display:flex;flex-direction:column;align-content:center;align-items:center;padding:8px 18px;width:100%;height:100%;z-index:0;position:relative;box-sizing:border-box}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1._video_1wchz_1{padding:8px}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1,[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{color:var(--uikit-basic-color-white-1);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._info_1wchz_1{text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:500;line-height:16px;position:absolute;bottom:8px}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1{position:absolute;width:100%;height:100%;top:0;left:0;box-sizing:border-box;z-index:0}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1._hidden_1wchz_1{visibility:hidden}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._video-stream_1wchz_1 .tk-togglewindowitem-small{border-radius:3px;width:32%;height:31%}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1{display:flex;align-items:center;flex-direction:column;position:absolute;width:100%;height:100%;left:0;top:0}[data-uikit-theme=light] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-light-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}[data-uikit-theme=dark] ._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._audio-stream_1wchz_1 ._info_1wchz_1{color:var(--uikit-theme-dark-text-color-success);transition:background-color .3s ease-out,border-color .3s ease-out}._floating-window-pc-singlecall-container_1wchz_1 ._call-status_1wchz_1 ._earphone_1wchz_1{height:36px;width:36px;position:absolute;top:8px}._floating-window-pc-singlecall-container_1wchz_1 ._tip_1wchz_1{position:absolute;bottom:0}:root{--uikit-theme-light-bg-color-topbar: #f9fafc;--uikit-theme-light-bg-color-operate: #fff;--uikit-theme-light-bg-color-input: #f0f2f7;--uikit-theme-light-bg-color-bubble-reciprocal: #f0f2f7;--uikit-theme-light-bg-color-bubble-own: #cce2ff;--uikit-theme-light-bg-color-default: #f0f2f7;--uikit-theme-light-bg-color-tag-mask: rgba(255, 255, 255, .55);--uikit-theme-light-bg-color-mask: rgba(0, 0, 0, .55);--uikit-theme-light-text-color-primary: rgba(0, 0, 0, .93);--uikit-theme-light-text-color-secondary: rgba(0, 0, 0, .66);--uikit-theme-light-text-color-tertiary: rgba(0, 0, 0, .4);--uikit-theme-light-text-color-disable: rgba(0, 0, 0, .28);--uikit-theme-light-text-color-link: #1c66e5;--uikit-theme-light-text-color-link-hover: #4588f5;--uikit-theme-light-text-color-link-disabled: #cce2ff;--uikit-theme-light-text-color-anti-primary: rgba(0, 0, 0, .9);--uikit-theme-light-text-color-anti-secondary: rgba(0, 0, 0, .55);--uikit-theme-light-text-color-warning: #ff7200;--uikit-theme-light-text-color-success: #0abf77;--uikit-theme-light-text-color-error: #e54545;--uikit-theme-light-dropdown-color-default: #fff;--uikit-theme-light-dropdown-color-hover: #f9fafc;--uikit-theme-light-dropdown-color-active: #ebf3ff;--uikit-theme-light-list-color-default: #fff;--uikit-theme-light-list-color-hover: #f9fafc;--uikit-theme-light-list-color-active: #ebf3ff;--uikit-theme-light-stroke-color-primary: #f9fafc;--uikit-theme-light-stroke-color-secondary: rgba(0, 0, 0, .55);--uikit-theme-light-shadow-color: rgba(0, 0, 0, .06);--uikit-theme-light-floating-color-default: #ffffff;--uikit-theme-light-floating-color-operate: #F0F2F7;--uikit-theme-light-toast-color-default: #EBF3FF;--uikit-theme-light-toast-color-success: #DCFAE9;--uikit-theme-light-toast-color-warning: #FFEEDB;--uikit-theme-light-toast-color-error: #FFE7E5;--uikit-theme-light-button-color-hangup: #E54545;--uikit-theme-light-button-color-accept: #0ABF77;color-scheme:light dark}:root{--uikit-theme-dark-bg-color-topbar: #16171a;--uikit-theme-dark-bg-color-operate: #1f2024;--uikit-theme-dark-bg-color-input: #2b2c30;--uikit-theme-dark-bg-color-bubble-reciprocal: #2b2c30;--uikit-theme-dark-bg-color-bubble-own: #5c9dff;--uikit-theme-dark-bg-color-default: #16171a;--uikit-theme-dark-bg-color-tag-mask: rgba(0, 0, 0, .55);--uikit-theme-dark-bg-color-mask: rgba(0, 0, 0, .55);--uikit-theme-dark-text-color-primary: rgba(255, 255, 255, .93);--uikit-theme-dark-text-color-secondary: rgba(255, 255, 255, .66);--uikit-theme-dark-text-color-tertiary: rgba(255, 255, 255, .4);--uikit-theme-dark-text-color-disable: rgba(255, 255, 255, .28);--uikit-theme-dark-text-color-link: #4086ff;--uikit-theme-dark-text-color-link-hover: #2b6ad6;--uikit-theme-dark-text-color-link-disabled: #243047;--uikit-theme-dark-text-color-anti-primary: rgba(0, 0, 0, .9);--uikit-theme-dark-text-color-anti-secondary: rgba(0, 0, 0, .55);--uikit-theme-dark-text-color-warning: #e37f32;--uikit-theme-dark-text-color-success: #38a673;--uikit-theme-dark-text-color-error: #e6594c;--uikit-theme-dark-dropdown-color-default: #2b2c30;--uikit-theme-dark-dropdown-color-hover: #3a3c42;--uikit-theme-dark-dropdown-color-active: #1f2024;--uikit-theme-dark-list-color-default: #1f2024;--uikit-theme-dark-list-color-hover: #2b2c30;--uikit-theme-dark-list-color-active: #243047;--uikit-theme-dark-stroke-color-primary: #3a3c42;--uikit-theme-dark-stroke-color-secondary: #2b2c30;--uikit-theme-dark-shadow-color: rgba(0, 0, 0, .06);--uikit-theme-dark-floating-color-default: #2B2C30;--uikit-theme-dark-floating-color-operate: #3A3C42;--uikit-theme-dark-toast-color-default: #243047;--uikit-theme-dark-toast-color-success: #22352C;--uikit-theme-dark-toast-color-warning: #35231A;--uikit-theme-dark-toast-color-error: #422324;--uikit-theme-dark-button-color-hangup: #E6594C;--uikit-theme-dark-button-color-accept: #38A673;color-scheme:light dark}:root{--uikit-basic-color-white-1: #FFFFFF;--uikit-basic-color-white-2: rgba(255, 255, 255, .9);--uikit-basic-color-white-4: rgba(255, 255, 255, .55);--uikit-basic-color-white-6: rgba(255, 255, 255, .3);--uikit-basic-color-white-7: rgba(255, 255, 255, .14);--uikit-basic-color-black-1: rgb(0, 0, 0);--uikit-basic-color-black-2: rgba(0, 0, 0, .9);--uikit-basic-color-black-3: rgba(0, 0, 0, .72);--uikit-basic-color-black-4: rgba(0, 0, 0, .55);--uikit-basic-color-black-5: rgba(0, 0, 0, .4);--uikit-basic-color-black-8: rgba(0, 0, 0, .06);--uikit-basic-color-gray-dark-3: rgb(43, 44, 48)}._tuicallkit-container_1e13c_98{position:relative;width:960px;height:630px;border-radius:12px;overflow:hidden}._tuicallkit-container_1e13c_98._float_1e13c_105{position:absolute;visibility:hidden}._tuicallkit-container_1e13c_98._mobile_1e13c_109{background:none;border-radius:0;width:100%;height:100%}")),document.head.appendChild(t)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
|
|
2
2
|
var Xo = Object.defineProperty;
|
|
3
3
|
var Ko = (t, e, n) => e in t ? Xo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
4
4
|
var z = (t, e, n) => (Ko(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
5
5
|
import { TUICallEvent as v, TUICallEngine as zi } from "@trtc/call-engine-lite-js";
|
|
6
|
-
import { TUICore as
|
|
6
|
+
import { TUICore as fn, TUIConstants as Me, TUILogin as $o } from "@tencentcloud/tui-core-lite";
|
|
7
7
|
import xi from "@tencentcloud/lite-chat/basic";
|
|
8
8
|
import * as Gt from "react";
|
|
9
9
|
import Ce, { useState as w, useEffect as P, createContext as Tt, useMemo as se, useContext as k, forwardRef as ai, useRef as at, useImperativeHandle as qo, isValidElement as es, useCallback as Qn, useLayoutEffect as ts } from "react";
|
|
@@ -25,7 +25,7 @@ const Ee = {
|
|
|
25
25
|
video: 2
|
|
26
26
|
/* VIDEO */
|
|
27
27
|
};
|
|
28
|
-
var
|
|
28
|
+
var he = /* @__PURE__ */ ((t) => (t.MICROPHONE = "microphone", t.CAMERA = "camera", t.SPEAKER = "speaker", t))(he || {}), Zt = /* @__PURE__ */ ((t) => (t[t.FRONT = 0] = "FRONT", t[t.BACK = 1] = "BACK", t))(Zt || {}), un = /* @__PURE__ */ ((t) => (t.Camera = "camera", t.Microphone = "microphone", t.SwitchCamera = "switchCamera", t.InviteUser = "inviteUser", t))(un || {}), vn = /* @__PURE__ */ ((t) => (t.Open = "open", t.Close = "close", t))(vn || {}), It = /* @__PURE__ */ ((t) => (t.LOCAL = "local", t.REMOTE = "remote", t))(It || {}), sa = /* @__PURE__ */ ((t) => (t.LocalInLargeView = "local", t.RemoteInLargeView = "remote", t))(sa || {}), cn = /* @__PURE__ */ ((t) => (t[t.INVITE = 1] = "INVITE", t[t.CANCEL_INVITE = 2] = "CANCEL_INVITE", t[t.ACCEPT_INVITE = 3] = "ACCEPT_INVITE", t[t.REJECT_INVITE = 4] = "REJECT_INVITE", t[t.INVITE_TIMEOUT = 5] = "INVITE_TIMEOUT", t))(cn || {});
|
|
29
29
|
const vi = {
|
|
30
30
|
SWITCH_TO_AUDIO_CALL_FAILED: 60001,
|
|
31
31
|
SWITCH_TO_VIDEO_CALL_FAILED: 60002,
|
|
@@ -269,7 +269,7 @@ const ds = {
|
|
|
269
269
|
"accept-device-error": "接通失败,通话设备获取失败",
|
|
270
270
|
"call-error": "发起通话失败",
|
|
271
271
|
// 错误提示
|
|
272
|
-
"error.10001": "您的应用还未开通音视频通话(TUICallKit
|
|
272
|
+
"error.10001": "您的应用还未开通音视频通话(TUICallKit)能力,您可以去<a href='https://console.cloud.tencent.com/im/detail'>控制台</a>申请免费体验,或购买通话能力套餐包:<a href='https://buy.cloud.tencent.com/avc?addRavLicense=1&position=1600110000&ravLicenseType=1®ionId=1'>购买页面</a>",
|
|
273
273
|
"error.10002": "您暂不支持使用该能力,请前往<a href='https://buy.cloud.tencent.com/avc?addRavLicense=1&position=1600110000&ravLicenseType=1®ionId=1'>购买页</a>购买开通",
|
|
274
274
|
"error.10004": "摄像头/麦克风权限被拒绝,请检查浏览器设置,确保已允许使用您的摄像头和麦克风。如果您确认已授予权限,请前往<a href='https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html'>音视频能力检测</a>检查您的设备和环境是否支持通话",
|
|
275
275
|
"error.10005": "未检测到麦克风设备。请确保您的设备已连接麦克风,并检查系统或浏览器设置中麦克风是否可用。",
|
|
@@ -278,7 +278,6 @@ const ds = {
|
|
|
278
278
|
"error.10008": "TUICallEngine 尚未完成初始化或登录。请确保在调用此功能前,已成功执行 init 或 login 操作。解决方案:<a href='https://cloud.tencent.com/document/product/647/78769#3a61f42b-e06f-49af-88bf-362d40025887'>查看文档</a>",
|
|
279
279
|
"error.10012": "检测到当前页面正处于 http 协议下,为确保生产环境用户顺畅接入和体验 TUICallEngine SDK 的全部功能,请使用 https 协议(或 localhost)访问音视频应用页面。详情请前往:<a href='https://web.sdk.qcloud.com/trtc/webrtc/v5/doc/zh-cn/tutorial-05-info-browser.html#h2-3'>查看文档</a>",
|
|
280
280
|
"error.10013": "呼叫失败:您已被对方拉黑或您拉黑了对方",
|
|
281
|
-
"error.10014": "发起通话失败,用户 ID 无效,请确认该用户已注册。",
|
|
282
281
|
error: "错误"
|
|
283
282
|
}, As = {
|
|
284
283
|
// 按钮文案
|
|
@@ -418,7 +417,7 @@ const ds = {
|
|
|
418
417
|
"accept-device-error": "Accept failed, unable to auth calling device",
|
|
419
418
|
"call-error": "Start call failed",
|
|
420
419
|
// 错误提示
|
|
421
|
-
"error.10001": "Your application has not enabled audio/video call (TUICallKit) capability.
|
|
420
|
+
"error.10001": "Your application has not enabled audio/video call (TUICallKit) capability. You can go to the <a href='https://console.cloud.tencent.com/im/detail'>console</a> to apply for a free trial or purchase call capability packages: <a href='https://buy.cloud.tencent.com/avc?addRavLicense=1&position=1600110000&ravLicenseType=1®ionId=1'>Purchase Page</a>",
|
|
422
421
|
"error.10002": "You do not currently support using this capability. Please go to the <a href='https://buy.cloud.tencent.com/avc?addRavLicense=1&position=1600110000&ravLicenseType=1®ionId=1'>purchase page</a> to buy and activate it",
|
|
423
422
|
"error.10004": "Camera/microphone permission was denied. Please check browser settings to ensure camera and microphone access is allowed. If you have confirmed permission is granted, please go to <a href='https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html'>Audio/Video Capability Detection</a> to check if your device and environment support calls",
|
|
424
423
|
"error.10005": "No microphone device detected. Please ensure your device has a microphone connected and check if the microphone is available in system or browser settings.",
|
|
@@ -427,9 +426,8 @@ const ds = {
|
|
|
427
426
|
"error.10008": "TUICallEngine has not completed initialization or login. Please ensure you have successfully executed init or login operations before calling this function. Solution: <a href='https://cloud.tencent.com/document/product/647/78769#3a61f42b-e06f-49af-88bf-362d40025887'>View Documentation</a>",
|
|
428
427
|
"error.10012": "Detected that the current page is under HTTP protocol. To ensure smooth access and full functionality of TUICallEngine SDK for production environment users, please use HTTPS protocol (or localhost) to access the audio/video application page. For details, please visit: <a href='https://web.sdk.qcloud.com/trtc/webrtc/v5/doc/zh-cn/tutorial-05-info-browser.html#h2-3'>View Documentation</a>",
|
|
429
428
|
"error.10013": "Call failed: You have been blocked by the other party or you have blocked the other party",
|
|
430
|
-
"error.10014": "Call initiation failed. User ID is invalid. Please confirm that the user is registered.",
|
|
431
429
|
error: "Error"
|
|
432
|
-
},
|
|
430
|
+
}, Ns = {
|
|
433
431
|
// 按钮文案
|
|
434
432
|
hangup: "通話終了",
|
|
435
433
|
reject: "拒否",
|
|
@@ -565,7 +563,7 @@ const ds = {
|
|
|
565
563
|
"accept-device-error": "接続できませんでした。発信側デバイスを認証できません",
|
|
566
564
|
"call-error": "通話が開始できませんでした",
|
|
567
565
|
// 错误提示
|
|
568
|
-
"error.10001": "あなたのアプリケーションは音声・ビデオ通話(TUICallKit
|
|
566
|
+
"error.10001": "あなたのアプリケーションは音声・ビデオ通話(TUICallKit)機能を有効にしていません。<a href='https://console.cloud.tencent.com/im/detail'>コンソール</a>で無料体験を申請するか、通話機能パッケージを購入してください:<a href='https://buy.cloud.tencent.com/avc?addRavLicense=1&position=1600110000&ravLicenseType=1®ionId=1'>購入ページ</a>",
|
|
569
567
|
"error.10002": "現在この機能を使用することはできません。<a href='https://buy.cloud.tencent.com/avc?addRavLicense=1&position=1600110000&ravLicenseType=1®ionId=1'>購入ページ</a>で購入して有効にしてください",
|
|
570
568
|
"error.10004": "カメラ/マイクのアクセス許可が拒否されました。ブラウザ設定を確認し、カメラとマイクの使用が許可されていることを確認してください。許可されている場合は、<a href='https://web.sdk.qcloud.com/trtc/webrtc/demo/detect/index.html'>音声・ビデオ機能検出</a>にアクセスして、お使いのデバイスと環境が通話をサポートしているか確認してください",
|
|
571
569
|
"error.10005": "マイクデバイスが検出されませんでした。デバイスにマイクが接続されていることを確認し、システムまたはブラウザ設定でマイクが利用可能かどうかを確認してください。",
|
|
@@ -574,17 +572,16 @@ const ds = {
|
|
|
574
572
|
"error.10008": "TUICallEngineが初期化またはログインを完了していません。この機能を呼び出す前に、initまたはlogin操作が正常に実行されていることを確認してください。解決策:<a href='https://cloud.tencent.com/document/product/647/78769#3a61f42b-e06f-49af-88bf-362d40025887'>ドキュメントを確認</a>",
|
|
575
573
|
"error.10012": "現在のページがHTTPプロトコル下にあることが検出されました。本番環境のユーザーがTUICallEngine SDKの全機能をスムーズに利用できるようにするため、音声・ビデオアプリケーションページにはHTTPSプロトコル(またはlocalhost)を使用してアクセスしてください。詳細については、<a href='https://web.sdk.qcloud.com/trtc/webrtc/v5/doc/zh-cn/tutorial-05-info-browser.html#h2-3'>ドキュメントを確認</a>してください",
|
|
576
574
|
"error.10013": "通話失敗:相手にブロックされているか、または相手をブロックしています",
|
|
577
|
-
"error.10014": "通話の開始に失敗しました。ユーザーIDが無効です。ユーザーが登録されていることを確認してください。",
|
|
578
575
|
error: "エラー"
|
|
579
576
|
}, la = typeof wx < "u" && typeof wx.getSystemInfoSync == "function" && !!wx.getSystemInfoSync().fontSizeSetting, Or = typeof uni < "u" && typeof uni > "u", bi = la || Or, wr = typeof uni < "u", Ur = function() {
|
|
580
577
|
return (typeof uni < "u" || typeof window < "u") && !bi;
|
|
581
|
-
}(),
|
|
578
|
+
}(), gs = function() {
|
|
582
579
|
return la ? wx : wr ? uni : window;
|
|
583
|
-
}(), Ut = Ur && window && window.navigator && window.navigator.userAgent || "", Ds = /Android/i.test(Ut), Ts = /(?:Windows Phone)/.test(Ut), Es = /(?:SymbianOS)/.test(Ut),
|
|
580
|
+
}(), Ut = Ur && window && window.navigator && window.navigator.userAgent || "", Ds = /Android/i.test(Ut), Ts = /(?:Windows Phone)/.test(Ut), Es = /(?:SymbianOS)/.test(Ut), hs = /iPad/i.test(Ut) || /iPhone/i.test(Ut) || /iPod/i.test(Ut), zr = Ds || Ts || Es || hs, si = Ur && !zr, fs = si && Ut.includes("Windows NT"), ps = si && Ut.includes("Mac");
|
|
584
581
|
var dt;
|
|
585
582
|
let xr = (dt = class {
|
|
586
583
|
constructor() {
|
|
587
|
-
z(this, "global",
|
|
584
|
+
z(this, "global", gs);
|
|
588
585
|
z(this, "isPC", !1);
|
|
589
586
|
z(this, "isH5", !1);
|
|
590
587
|
z(this, "isWeChat", !1);
|
|
@@ -603,7 +600,7 @@ let xr = (dt = class {
|
|
|
603
600
|
return dt.instance || (dt.instance = new dt()), dt.instance;
|
|
604
601
|
}
|
|
605
602
|
initEnv() {
|
|
606
|
-
this.isPC = si, this.isH5 = zr, this.isWeChat = la, this.isApp = Or && !la, this.isUniPlatform = wr, this.isWIN =
|
|
603
|
+
this.isPC = si, this.isH5 = zr, this.isWeChat = la, this.isApp = Or && !la, this.isUniPlatform = wr, this.isWIN = fs, this.isMAC = ps;
|
|
607
604
|
}
|
|
608
605
|
initOfficial(e) {
|
|
609
606
|
this.isOfficial = e === 1400187352 || e === 1400188366;
|
|
@@ -716,12 +713,12 @@ const je = {
|
|
|
716
713
|
"zh-cn": ds,
|
|
717
714
|
// @if process.env.BUILD_TARGET!='MINI'
|
|
718
715
|
en: As,
|
|
719
|
-
ja_JP:
|
|
716
|
+
ja_JP: Ns
|
|
720
717
|
// @endif
|
|
721
718
|
};
|
|
722
719
|
function xt(t) {
|
|
723
720
|
var a, i;
|
|
724
|
-
const e =
|
|
721
|
+
const e = h.getData(A.CALL, c.LANGUAGE);
|
|
725
722
|
let n = "";
|
|
726
723
|
if (vr(t))
|
|
727
724
|
n = ((a = sn == null ? void 0 : sn[e]) == null ? void 0 : a[t]) || "";
|
|
@@ -949,8 +946,7 @@ const zs = Bn.getInstance(), xs = [
|
|
|
949
946
|
60006,
|
|
950
947
|
-1201,
|
|
951
948
|
3e4,
|
|
952
|
-
20007
|
|
953
|
-
101002
|
|
949
|
+
20007
|
|
954
950
|
], vs = {
|
|
955
951
|
"-1001": {
|
|
956
952
|
id: 10001,
|
|
@@ -987,10 +983,6 @@ const zs = Bn.getInstance(), xs = [
|
|
|
987
983
|
20007: {
|
|
988
984
|
id: 10013,
|
|
989
985
|
key: "error.10013"
|
|
990
|
-
},
|
|
991
|
-
101002: {
|
|
992
|
-
id: 10014,
|
|
993
|
-
key: "error.10014"
|
|
994
986
|
}
|
|
995
987
|
};
|
|
996
988
|
function pn(t) {
|
|
@@ -1054,7 +1046,7 @@ class bs {
|
|
|
1054
1046
|
}
|
|
1055
1047
|
}
|
|
1056
1048
|
}
|
|
1057
|
-
function
|
|
1049
|
+
function Ne() {
|
|
1058
1050
|
return function(t, e, n) {
|
|
1059
1051
|
const a = n.value, i = /* @__PURE__ */ new Set();
|
|
1060
1052
|
return n.value = async function(...r) {
|
|
@@ -1124,17 +1116,17 @@ async function Mn(t, e) {
|
|
|
1124
1116
|
const { friendList: i = [], failureUserIDList: r = [] } = a.data;
|
|
1125
1117
|
let o = r.map((M) => M.userID);
|
|
1126
1118
|
if (r.length > 0) {
|
|
1127
|
-
const M = await e.getUserProfile({ userIDList: r.map((
|
|
1119
|
+
const M = await e.getUserProfile({ userIDList: r.map((N) => N.userID) });
|
|
1128
1120
|
(M == null ? void 0 : M.code) === 0 && (o = (M == null ? void 0 : M.data) || []);
|
|
1129
1121
|
}
|
|
1130
1122
|
const l = J == null ? void 0 : J.getData(A.CALL, c.REMOTE_USER_INFO_LIST), s = i.map((M) => M.userID), u = o.map((M) => M.userID);
|
|
1131
1123
|
n = t.map((M) => {
|
|
1132
1124
|
var m, L, S, y, U, b, B;
|
|
1133
|
-
const
|
|
1134
|
-
let D = "", E = "", p = "",
|
|
1135
|
-
|
|
1125
|
+
const N = aa(M), g = s.indexOf(M), T = u.indexOf(M);
|
|
1126
|
+
let D = "", E = "", p = "", f = "";
|
|
1127
|
+
g !== -1 && (D = ((m = i[g]) == null ? void 0 : m.remark) || "", E = ((S = (L = i[g]) == null ? void 0 : L.profile) == null ? void 0 : S.nick) || "", p = D || E || N.userId || "", f = ((U = (y = i[g]) == null ? void 0 : y.profile) == null ? void 0 : U.avatar) || ""), T !== -1 && (E = ((b = o[T]) == null ? void 0 : b.nick) || "", p = E || N.userId || "", f = ((B = o[T]) == null ? void 0 : B.avatar) || "");
|
|
1136
1128
|
const j = l.find((F) => F.userId === M) || {};
|
|
1137
|
-
return { ...
|
|
1129
|
+
return { ...N, ...j, remark: D, nick: E, displayUserInfo: p, avatar: f };
|
|
1138
1130
|
});
|
|
1139
1131
|
}
|
|
1140
1132
|
return n;
|
|
@@ -1457,7 +1449,7 @@ const Kn = Bn.getInstance(), Xe = {
|
|
|
1457
1449
|
constructor(e) {
|
|
1458
1450
|
z(this, "_callService");
|
|
1459
1451
|
var n, a, i;
|
|
1460
|
-
this._callService = e.callService,
|
|
1452
|
+
this._callService = e.callService, fn.registerEvent(Me.TUILogin.EVENT.LOGIN_STATE_CHANGED, Me.TUILogin.EVENT_SUB_KEY.USER_LOGIN_SUCCESS, this), (n = Me.TUIChat) != null && n.EVENT && fn.registerEvent((a = Me.TUIChat.EVENT) == null ? void 0 : a.CHAT_STATE_CHANGED, (i = Me.TUIChat.EVENT_SUB_KEY) == null ? void 0 : i.CHAT_OPENED, this), fn.registerService(Me.TUICalling.SERVICE.NAME, this), fn.registerExtension(Me.TUIChat.EXTENSION.INPUT_MORE.EXT_ID, this);
|
|
1461
1453
|
}
|
|
1462
1454
|
static getInstance(e) {
|
|
1463
1455
|
return Pt.instance || (Pt.instance = new Pt(e)), Pt.instance;
|
|
@@ -1469,7 +1461,7 @@ const Kn = Bn.getInstance(), Xe = {
|
|
|
1469
1461
|
*/
|
|
1470
1462
|
callTUIService(e) {
|
|
1471
1463
|
const { message: n } = e || {};
|
|
1472
|
-
|
|
1464
|
+
fn.callService({
|
|
1473
1465
|
serviceName: Me.TUIChat.SERVICE.NAME,
|
|
1474
1466
|
method: Me.TUIChat.SERVICE.METHOD.UPDATE_MESSAGE_LIST,
|
|
1475
1467
|
params: { message: n }
|
|
@@ -1523,22 +1515,22 @@ const Kn = Bn.getInstance(), Xe = {
|
|
|
1523
1515
|
* @param {Any} options tuicore event parameters
|
|
1524
1516
|
*/
|
|
1525
1517
|
async onNotifyEvent(e, n, a) {
|
|
1526
|
-
var i, r, o, l, s, u, M,
|
|
1518
|
+
var i, r, o, l, s, u, M, N;
|
|
1527
1519
|
try {
|
|
1528
1520
|
if (e === Me.TUILogin.EVENT.LOGIN_STATE_CHANGED)
|
|
1529
1521
|
if (n === Me.TUILogin.EVENT_SUB_KEY.USER_LOGIN_SUCCESS) {
|
|
1530
|
-
const { chat:
|
|
1531
|
-
await ((i = this._callService) == null ? void 0 : i.init({ tim:
|
|
1522
|
+
const { chat: g, userID: T, userSig: D, SDKAppID: E } = $o.getContext();
|
|
1523
|
+
await ((i = this._callService) == null ? void 0 : i.init({ tim: g, userID: T, userSig: D, sdkAppID: E, isFromChat: !0, component: oi.TIM_CALL_KIT })), (r = this._callService) == null || r.setIsFromChat(!0), (o = this._callService) == null || o.setLogLevel(Sr.NORMAL), this._addListenChatEvent();
|
|
1532
1524
|
} else
|
|
1533
1525
|
n === Me.TUILogin.EVENT_SUB_KEY.USER_LOGOUT_SUCCESS && (this._removeListenChatEvent(), await ((l = this._callService) == null ? void 0 : l.destroyed()));
|
|
1534
1526
|
if ((s = Me.TUIChat) != null && s.EVENT && e === Me.TUIChat.EVENT.CHAT_STATE_CHANGED && n === Me.TUIChat.EVENT_SUB_KEY.CHAT_OPENED) {
|
|
1535
1527
|
if ((u = this._callService) == null || u.setCurrentGroupId((a == null ? void 0 : a.groupID) || ""), Kn.getData(A.CALL, c.CALL_STATUS) !== _.IDLE)
|
|
1536
1528
|
return;
|
|
1537
|
-
const
|
|
1529
|
+
const g = (M = this._callService) == null ? void 0 : M.getCurrentGroupId(), T = g ? await this.getGroupAttributes((N = this._callService) == null ? void 0 : N.getTim(), g) : {};
|
|
1538
1530
|
await this.updateStoreBasedOnGroupAttributes(T);
|
|
1539
1531
|
}
|
|
1540
|
-
} catch (
|
|
1541
|
-
console.error(`${c.PREFIX}TUICore onNotifyEvent failed, error: ${
|
|
1532
|
+
} catch (g) {
|
|
1533
|
+
console.error(`${c.PREFIX}TUICore onNotifyEvent failed, error: ${g}.`);
|
|
1542
1534
|
}
|
|
1543
1535
|
}
|
|
1544
1536
|
// Handling the chat+call scenario, data required for the joinInGroupCall API: update store / clear relevant store data
|
|
@@ -1557,15 +1549,15 @@ const Kn = Bn.getInstance(), Xe = {
|
|
|
1557
1549
|
room_id_type: u = 0,
|
|
1558
1550
|
call_media_type: M = c.UNKNOWN,
|
|
1559
1551
|
// @ts-ignore
|
|
1560
|
-
user_list:
|
|
1552
|
+
user_list: N
|
|
1561
1553
|
// The default value of the user list returned by the background is null
|
|
1562
1554
|
} = e[c.INNER_ATTR_KIT_INFO] ? JSON.parse(e[c.INNER_ATTR_KIT_INFO]) : {};
|
|
1563
|
-
let
|
|
1564
|
-
|
|
1555
|
+
let g = (N || []).map((D) => D.userid);
|
|
1556
|
+
g.length > 0 && (g = await Mn(g, (r = this._callService) == null ? void 0 : r.getTim()));
|
|
1565
1557
|
const T = {
|
|
1566
1558
|
[c.CALL_ID]: o,
|
|
1567
1559
|
[c.GROUP_ID]: l,
|
|
1568
|
-
[c.GROUP_CALL_MEMBERS]:
|
|
1560
|
+
[c.GROUP_CALL_MEMBERS]: g,
|
|
1569
1561
|
[c.ROOM_ID]: s,
|
|
1570
1562
|
[c.CALL_MEDIA_TYPE]: rs[M],
|
|
1571
1563
|
[c.ROOM_ID_TYPE]: u
|
|
@@ -1595,28 +1587,28 @@ const Kn = Bn.getInstance(), Xe = {
|
|
|
1595
1587
|
return (a == null ? void 0 : a.line_busy) === "line_busy" || (a == null ? void 0 : a.line_busy) === "" || ((i = a == null ? void 0 : a.data) == null ? void 0 : i.message) === "lineBusy";
|
|
1596
1588
|
}
|
|
1597
1589
|
async getCallKitMessage(e, n) {
|
|
1598
|
-
var
|
|
1590
|
+
var g, T, D, E;
|
|
1599
1591
|
const a = Jn(e.payload.data);
|
|
1600
1592
|
if ((a == null ? void 0 : a.businessID) !== 1)
|
|
1601
1593
|
return {};
|
|
1602
1594
|
let i = "";
|
|
1603
|
-
const r = Jn(a == null ? void 0 : a.data), o = r.call_type, l = a.inviteeList, s = (
|
|
1595
|
+
const r = Jn(a == null ? void 0 : a.data), o = r.call_type, l = a.inviteeList, s = (g = r == null ? void 0 : r.data) == null ? void 0 : g.inviter, u = Kn.getData(A.CALL, c.LOCAL_USER_INFO).userId, M = s === u, N = (T = r == null ? void 0 : r.data) == null ? void 0 : T.cmd;
|
|
1604
1596
|
switch (a == null ? void 0 : a.actionType) {
|
|
1605
1597
|
case cn.INVITE: {
|
|
1606
|
-
i = Xe[
|
|
1598
|
+
i = Xe[N]({ callDuration: Rr(r == null ? void 0 : r.call_end) });
|
|
1607
1599
|
break;
|
|
1608
1600
|
}
|
|
1609
1601
|
case cn.CANCEL_INVITE:
|
|
1610
1602
|
i = M ? "Call Cancel" : "Other Side Cancel";
|
|
1611
1603
|
break;
|
|
1612
1604
|
case cn.ACCEPT_INVITE:
|
|
1613
|
-
["switchToAudio", "switchToVideo"].includes(
|
|
1605
|
+
["switchToAudio", "switchToVideo"].includes(N) ? i = (D = Xe == null ? void 0 : Xe[N]) == null ? void 0 : D.call(Xe) : i = xt("Answered");
|
|
1614
1606
|
break;
|
|
1615
1607
|
case cn.REJECT_INVITE:
|
|
1616
1608
|
this.isLineBusy(e) ? i = M ? "Line Busy" : "Other Side Line Busy" : i = M ? "Other Side Decline" : "Decline";
|
|
1617
1609
|
break;
|
|
1618
1610
|
case cn.INVITE_TIMEOUT:
|
|
1619
|
-
["switchToAudio", "switchToVideo"].includes(
|
|
1611
|
+
["switchToAudio", "switchToVideo"].includes(N) ? i = (E = Xe == null ? void 0 : Xe[N]) == null ? void 0 : E.call(Xe) : i = M ? "Other Side No Answer" : "No answer";
|
|
1620
1612
|
break;
|
|
1621
1613
|
}
|
|
1622
1614
|
return { messageCardContent: i, callMediaType: o, inviteeList: l };
|
|
@@ -1699,17 +1691,17 @@ let Ys = class {
|
|
|
1699
1691
|
z(this, "getNickName");
|
|
1700
1692
|
z(this, "translationInfoList", []);
|
|
1701
1693
|
z(this, "handleAIMessage", (e) => {
|
|
1702
|
-
var M,
|
|
1694
|
+
var M, N;
|
|
1703
1695
|
if ((e == null ? void 0 : e.type) !== $n.USER_SPEAK)
|
|
1704
1696
|
return;
|
|
1705
1697
|
const { sender: n = "", payload: a } = e, { text: i = "", translation_text: r = "", end: o, roundid: l, translation_language: s = "" } = a;
|
|
1706
1698
|
if (!l)
|
|
1707
1699
|
return;
|
|
1708
|
-
const u = this.translationInfoList.find((
|
|
1700
|
+
const u = this.translationInfoList.find((g) => g.roundId === l);
|
|
1709
1701
|
if (u) {
|
|
1710
1702
|
u.text = i || u.text, u.end = o;
|
|
1711
|
-
const
|
|
1712
|
-
|
|
1703
|
+
const g = (u.translation || []).find((T) => T.language === s);
|
|
1704
|
+
g ? g.content = r : s && u.translation.push({ language: s, content: r });
|
|
1713
1705
|
} else {
|
|
1714
1706
|
const T = {
|
|
1715
1707
|
roundId: l,
|
|
@@ -1718,16 +1710,16 @@ let Ys = class {
|
|
|
1718
1710
|
end: o,
|
|
1719
1711
|
translation: s ? [{ language: s, content: r }] : []
|
|
1720
1712
|
};
|
|
1721
|
-
this.translationInfoList.push(T), (
|
|
1713
|
+
this.translationInfoList.push(T), (N = (M = this.getNickName) == null ? void 0 : M.call(this, n)) == null || N.then((D) => {
|
|
1722
1714
|
const E = this.translationInfoList.find((p) => p.roundId === l);
|
|
1723
1715
|
E && (E.nick = (D == null ? void 0 : D.nick) || "", this.emit(On.TRANSCRIPTION, { subtitleInfoList: this.translationInfoList }));
|
|
1724
1716
|
});
|
|
1725
1717
|
}
|
|
1726
1718
|
if (this.emit(On.TRANSCRIPTION, { subtitleInfoList: this.translationInfoList }), o) {
|
|
1727
|
-
const
|
|
1719
|
+
const g = l;
|
|
1728
1720
|
setTimeout(() => {
|
|
1729
1721
|
var T;
|
|
1730
|
-
((T = this == null ? void 0 : this.translationInfoList) == null ? void 0 : T.length) > 0 && (this.translationInfoList = this.translationInfoList.filter((D) => D.roundId !==
|
|
1722
|
+
((T = this == null ? void 0 : this.translationInfoList) == null ? void 0 : T.length) > 0 && (this.translationInfoList = this.translationInfoList.filter((D) => D.roundId !== g), this.emit(On.TRANSCRIPTION, { subtitleInfoList: this.translationInfoList }));
|
|
1731
1723
|
}, 8e3);
|
|
1732
1724
|
}
|
|
1733
1725
|
});
|
|
@@ -1776,14 +1768,14 @@ function Gs() {
|
|
|
1776
1768
|
Vi = 1;
|
|
1777
1769
|
var t = Ce, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, r = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1778
1770
|
function o(l, s, u) {
|
|
1779
|
-
var M,
|
|
1780
|
-
u !== void 0 && (
|
|
1771
|
+
var M, N = {}, g = null, T = null;
|
|
1772
|
+
u !== void 0 && (g = "" + u), s.key !== void 0 && (g = "" + s.key), s.ref !== void 0 && (T = s.ref);
|
|
1781
1773
|
for (M in s)
|
|
1782
|
-
a.call(s, M) && !r.hasOwnProperty(M) && (
|
|
1774
|
+
a.call(s, M) && !r.hasOwnProperty(M) && (N[M] = s[M]);
|
|
1783
1775
|
if (l && l.defaultProps)
|
|
1784
1776
|
for (M in s = l.defaultProps, s)
|
|
1785
|
-
|
|
1786
|
-
return { $$typeof: e, type: l, key:
|
|
1777
|
+
N[M] === void 0 && (N[M] = s[M]);
|
|
1778
|
+
return { $$typeof: e, type: l, key: g, ref: T, props: N, _owner: i.current };
|
|
1787
1779
|
}
|
|
1788
1780
|
return jn.Fragment = n, jn.jsx = o, jn.jsxs = o, jn;
|
|
1789
1781
|
}
|
|
@@ -1800,14 +1792,14 @@ var Cn = {};
|
|
|
1800
1792
|
var Qi;
|
|
1801
1793
|
function Zs() {
|
|
1802
1794
|
return Qi || (Qi = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1803
|
-
var t = Ce, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"),
|
|
1795
|
+
var t = Ce, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), D = Symbol.iterator, E = "@@iterator";
|
|
1804
1796
|
function p(d) {
|
|
1805
1797
|
if (d === null || typeof d != "object")
|
|
1806
1798
|
return null;
|
|
1807
1799
|
var C = D && d[D] || d[E];
|
|
1808
1800
|
return typeof C == "function" ? C : null;
|
|
1809
1801
|
}
|
|
1810
|
-
var
|
|
1802
|
+
var f = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1811
1803
|
function j(d) {
|
|
1812
1804
|
{
|
|
1813
1805
|
for (var C = arguments.length, O = new Array(C > 1 ? C - 1 : 0), V = 1; V < C; V++)
|
|
@@ -1817,7 +1809,7 @@ function Zs() {
|
|
|
1817
1809
|
}
|
|
1818
1810
|
function m(d, C, O) {
|
|
1819
1811
|
{
|
|
1820
|
-
var V =
|
|
1812
|
+
var V = f.ReactDebugCurrentFrame, H = V.getStackAddendum();
|
|
1821
1813
|
H !== "" && (C += "%s", O = O.concat([H]));
|
|
1822
1814
|
var q = O.map(function(Z) {
|
|
1823
1815
|
return String(Z);
|
|
@@ -1828,7 +1820,7 @@ function Zs() {
|
|
|
1828
1820
|
var L = !1, S = !1, y = !1, U = !1, b = !1, B;
|
|
1829
1821
|
B = Symbol.for("react.module.reference");
|
|
1830
1822
|
function F(d) {
|
|
1831
|
-
return !!(typeof d == "string" || typeof d == "function" || d === a || d === r || b || d === i || d === u || d === M || U || d === T || L || S || y || typeof d == "object" && d !== null && (d.$$typeof ===
|
|
1823
|
+
return !!(typeof d == "string" || typeof d == "function" || d === a || d === r || b || d === i || d === u || d === M || U || d === T || L || S || y || typeof d == "object" && d !== null && (d.$$typeof === g || d.$$typeof === N || d.$$typeof === o || d.$$typeof === l || d.$$typeof === s || // This needs to include all possible module reference object
|
|
1832
1824
|
// types supported by any Flight configuration anywhere since
|
|
1833
1825
|
// we don't know which Flight build this will end up being used
|
|
1834
1826
|
// with.
|
|
@@ -1875,10 +1867,10 @@ function Zs() {
|
|
|
1875
1867
|
return ue(O._context) + ".Provider";
|
|
1876
1868
|
case s:
|
|
1877
1869
|
return ae(d, d.render, "ForwardRef");
|
|
1878
|
-
case
|
|
1870
|
+
case N:
|
|
1879
1871
|
var V = d.displayName || null;
|
|
1880
1872
|
return V !== null ? V : K(d.type) || "Memo";
|
|
1881
|
-
case
|
|
1873
|
+
case g: {
|
|
1882
1874
|
var H = d, q = H._payload, Z = H._init;
|
|
1883
1875
|
try {
|
|
1884
1876
|
return K(Z(q));
|
|
@@ -1889,14 +1881,14 @@ function Zs() {
|
|
|
1889
1881
|
}
|
|
1890
1882
|
return null;
|
|
1891
1883
|
}
|
|
1892
|
-
var ce = Object.assign, Ae = 0, ie, De, ot, ke, st,
|
|
1884
|
+
var ce = Object.assign, Ae = 0, ie, De, ot, ke, st, ft, $e;
|
|
1893
1885
|
function ye() {
|
|
1894
1886
|
}
|
|
1895
1887
|
ye.__reactDisabledLog = !0;
|
|
1896
1888
|
function qe() {
|
|
1897
1889
|
{
|
|
1898
1890
|
if (Ae === 0) {
|
|
1899
|
-
ie = console.log, De = console.info, ot = console.warn, ke = console.error, st = console.group,
|
|
1891
|
+
ie = console.log, De = console.info, ot = console.warn, ke = console.error, st = console.group, ft = console.groupCollapsed, $e = console.groupEnd;
|
|
1900
1892
|
var d = {
|
|
1901
1893
|
configurable: !0,
|
|
1902
1894
|
enumerable: !0,
|
|
@@ -1941,7 +1933,7 @@ function Zs() {
|
|
|
1941
1933
|
value: st
|
|
1942
1934
|
}),
|
|
1943
1935
|
groupCollapsed: ce({}, d, {
|
|
1944
|
-
value:
|
|
1936
|
+
value: ft
|
|
1945
1937
|
}),
|
|
1946
1938
|
groupEnd: ce({}, d, {
|
|
1947
1939
|
value: $e
|
|
@@ -1951,7 +1943,7 @@ function Zs() {
|
|
|
1951
1943
|
Ae < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1952
1944
|
}
|
|
1953
1945
|
}
|
|
1954
|
-
var He =
|
|
1946
|
+
var He = f.ReactCurrentDispatcher, et;
|
|
1955
1947
|
function me(d, C, O) {
|
|
1956
1948
|
{
|
|
1957
1949
|
if (et === void 0)
|
|
@@ -2019,14 +2011,14 @@ function Zs() {
|
|
|
2019
2011
|
} catch (Se) {
|
|
2020
2012
|
if (Se && V && typeof Se.stack == "string") {
|
|
2021
2013
|
for (var G = Se.stack.split(`
|
|
2022
|
-
`),
|
|
2023
|
-
`), re = G.length - 1, le =
|
|
2014
|
+
`), fe = V.stack.split(`
|
|
2015
|
+
`), re = G.length - 1, le = fe.length - 1; re >= 1 && le >= 0 && G[re] !== fe[le]; )
|
|
2024
2016
|
le--;
|
|
2025
2017
|
for (; re >= 1 && le >= 0; re--, le--)
|
|
2026
|
-
if (G[re] !==
|
|
2018
|
+
if (G[re] !== fe[le]) {
|
|
2027
2019
|
if (re !== 1 || le !== 1)
|
|
2028
2020
|
do
|
|
2029
|
-
if (re--, le--, le < 0 || G[re] !==
|
|
2021
|
+
if (re--, le--, le < 0 || G[re] !== fe[le]) {
|
|
2030
2022
|
var Qe = `
|
|
2031
2023
|
` + G[re].replace(" at new ", " at ");
|
|
2032
2024
|
return d.displayName && Qe.includes("<anonymous>") && (Qe = Qe.replace("<anonymous>", d.displayName)), typeof d == "function" && pt.set(d, Qe), Qe;
|
|
@@ -2065,9 +2057,9 @@ function Zs() {
|
|
|
2065
2057
|
switch (d.$$typeof) {
|
|
2066
2058
|
case s:
|
|
2067
2059
|
return nn(d.render);
|
|
2068
|
-
case
|
|
2060
|
+
case N:
|
|
2069
2061
|
return lt(d.type, C, O);
|
|
2070
|
-
case
|
|
2062
|
+
case g: {
|
|
2071
2063
|
var V = d, H = V._payload, q = V._init;
|
|
2072
2064
|
try {
|
|
2073
2065
|
return lt(q(H), C, O);
|
|
@@ -2077,7 +2069,7 @@ function Zs() {
|
|
|
2077
2069
|
}
|
|
2078
2070
|
return "";
|
|
2079
2071
|
}
|
|
2080
|
-
var tt = Object.prototype.hasOwnProperty, bt = {}, an =
|
|
2072
|
+
var tt = Object.prototype.hasOwnProperty, bt = {}, an = f.ReactDebugCurrentFrame;
|
|
2081
2073
|
function jt(d) {
|
|
2082
2074
|
if (d) {
|
|
2083
2075
|
var C = d._owner, O = lt(d.type, d._source, C ? C.type : null);
|
|
@@ -2093,8 +2085,8 @@ function Zs() {
|
|
|
2093
2085
|
var G = void 0;
|
|
2094
2086
|
try {
|
|
2095
2087
|
if (typeof d[Z] != "function") {
|
|
2096
|
-
var
|
|
2097
|
-
throw
|
|
2088
|
+
var fe = Error((V || "React class") + ": " + O + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
2089
|
+
throw fe.name = "Invariant Violation", fe;
|
|
2098
2090
|
}
|
|
2099
2091
|
G = d[Z](C, Z, V, O, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2100
2092
|
} catch (re) {
|
|
@@ -2124,11 +2116,11 @@ function Zs() {
|
|
|
2124
2116
|
function Ct(d) {
|
|
2125
2117
|
return "" + d;
|
|
2126
2118
|
}
|
|
2127
|
-
function
|
|
2119
|
+
function hn(d) {
|
|
2128
2120
|
if (_t(d))
|
|
2129
2121
|
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nt(d)), Ct(d);
|
|
2130
2122
|
}
|
|
2131
|
-
var Lt =
|
|
2123
|
+
var Lt = f.ReactCurrentOwner, Hn = {
|
|
2132
2124
|
key: !0,
|
|
2133
2125
|
ref: !0,
|
|
2134
2126
|
__self: !0,
|
|
@@ -2210,8 +2202,8 @@ function Zs() {
|
|
|
2210
2202
|
};
|
|
2211
2203
|
function Vo(d, C, O, V, H) {
|
|
2212
2204
|
{
|
|
2213
|
-
var q, Z = {}, G = null,
|
|
2214
|
-
O !== void 0 && (
|
|
2205
|
+
var q, Z = {}, G = null, fe = null;
|
|
2206
|
+
O !== void 0 && (hn(O), G = "" + O), vo(C) && (hn(C.key), G = "" + C.key), xo(C) && (fe = C.ref, Ro(C, H));
|
|
2215
2207
|
for (q in C)
|
|
2216
2208
|
tt.call(C, q) && !Hn.hasOwnProperty(q) && (Z[q] = C[q]);
|
|
2217
2209
|
if (d && d.defaultProps) {
|
|
@@ -2219,14 +2211,14 @@ function Zs() {
|
|
|
2219
2211
|
for (q in re)
|
|
2220
2212
|
Z[q] === void 0 && (Z[q] = re[q]);
|
|
2221
2213
|
}
|
|
2222
|
-
if (G ||
|
|
2214
|
+
if (G || fe) {
|
|
2223
2215
|
var le = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
|
|
2224
|
-
G && bo(Z, le),
|
|
2216
|
+
G && bo(Z, le), fe && _o(Z, le);
|
|
2225
2217
|
}
|
|
2226
|
-
return ko(d, G,
|
|
2218
|
+
return ko(d, G, fe, H, V, Lt.current, Z);
|
|
2227
2219
|
}
|
|
2228
2220
|
}
|
|
2229
|
-
var ja =
|
|
2221
|
+
var ja = f.ReactCurrentOwner, Li = f.ReactDebugCurrentFrame;
|
|
2230
2222
|
function rn(d) {
|
|
2231
2223
|
if (d) {
|
|
2232
2224
|
var C = d._owner, O = lt(d.type, d._source, C ? C.type : null);
|
|
@@ -2317,7 +2309,7 @@ Check the top-level render call using <` + O + ">.");
|
|
|
2317
2309
|
O = C.propTypes;
|
|
2318
2310
|
else if (typeof C == "object" && (C.$$typeof === s || // Note: Memo only checks outer props here.
|
|
2319
2311
|
// Inner props are checked in the reconciler.
|
|
2320
|
-
C.$$typeof ===
|
|
2312
|
+
C.$$typeof === N))
|
|
2321
2313
|
O = C.propTypes;
|
|
2322
2314
|
else
|
|
2323
2315
|
return;
|
|
@@ -2351,8 +2343,8 @@ Check the top-level render call using <` + O + ">.");
|
|
|
2351
2343
|
if (!Z) {
|
|
2352
2344
|
var G = "";
|
|
2353
2345
|
(d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (G += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2354
|
-
var
|
|
2355
|
-
|
|
2346
|
+
var fe = Qo(H);
|
|
2347
|
+
fe ? G += fe : G += yi();
|
|
2356
2348
|
var re;
|
|
2357
2349
|
d === null ? re = "null" : Y(d) ? re = "array" : d !== void 0 && d.$$typeof === e ? (re = "<" + (K(d.type) || "Unknown") + " />", G = " Did you accidentally export a JSX literal instead of a component?") : re = typeof d, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", re, G);
|
|
2358
2350
|
}
|
|
@@ -2485,26 +2477,26 @@ function Js({ retryFunction: t, settings: e, onError: n, onRetrying: a, onRetryF
|
|
|
2485
2477
|
return function(...o) {
|
|
2486
2478
|
const l = e.retries || 5;
|
|
2487
2479
|
let s = 0, u = -1, M = Ps;
|
|
2488
|
-
const
|
|
2480
|
+
const N = async (g, T) => {
|
|
2489
2481
|
const D = r || this;
|
|
2490
2482
|
try {
|
|
2491
2483
|
const E = await t.apply(D, o);
|
|
2492
|
-
s = 0,
|
|
2484
|
+
s = 0, g(E);
|
|
2493
2485
|
} catch (E) {
|
|
2494
2486
|
const p = () => {
|
|
2495
2487
|
clearTimeout(u), s = 0, M = Bi, T(E);
|
|
2496
|
-
},
|
|
2488
|
+
}, f = () => {
|
|
2497
2489
|
M !== Bi && s < l ? (s++, M = Hs, na(a) && a.call(D, s, p), u = setTimeout(
|
|
2498
2490
|
() => {
|
|
2499
|
-
u = -1, g
|
|
2491
|
+
u = -1, N(g, T);
|
|
2500
2492
|
},
|
|
2501
2493
|
ci(e.timeout) ? 1e3 : e.timeout
|
|
2502
2494
|
)) : (p(), na(i) && i.call(D, E));
|
|
2503
2495
|
};
|
|
2504
|
-
na(n) ? n.call(D, E,
|
|
2496
|
+
na(n) ? n.call(D, E, f, T, o) : f();
|
|
2505
2497
|
}
|
|
2506
2498
|
};
|
|
2507
|
-
return new Promise(
|
|
2499
|
+
return new Promise(N);
|
|
2508
2500
|
};
|
|
2509
2501
|
}
|
|
2510
2502
|
function Xs(t) {
|
|
@@ -2528,14 +2520,14 @@ var Ks = Object.defineProperty, $s = Object.getOwnPropertyDescriptor, qs = (t, e
|
|
|
2528
2520
|
return a && i && Ks(e, n, i), i;
|
|
2529
2521
|
};
|
|
2530
2522
|
const Q = Bn.getInstance(), ec = Ma.getInstance();
|
|
2531
|
-
var
|
|
2532
|
-
const _r = (
|
|
2523
|
+
var Nt;
|
|
2524
|
+
const _r = (Nt = class {
|
|
2533
2525
|
constructor(e) {
|
|
2534
2526
|
z(this, "_callService");
|
|
2535
2527
|
this._callService = e.callService;
|
|
2536
2528
|
}
|
|
2537
2529
|
static getInstance(e) {
|
|
2538
|
-
return
|
|
2530
|
+
return Nt.instance || (Nt.instance = new Nt(e)), Nt.instance;
|
|
2539
2531
|
}
|
|
2540
2532
|
addListenTuiCallEngineEvent() {
|
|
2541
2533
|
var n, a;
|
|
@@ -2569,7 +2561,7 @@ const _r = (gt = class {
|
|
|
2569
2561
|
break;
|
|
2570
2562
|
}
|
|
2571
2563
|
case v.NO_RESP: {
|
|
2572
|
-
const { userIDList: l = [] } = Be(e), s = a ? je.TIMEOUT : je.CALL_TIMEOUT, u = l.map((M) => (i.find((
|
|
2564
|
+
const { userIDList: l = [] } = Be(e), s = a ? je.TIMEOUT : je.CALL_TIMEOUT, u = l.map((M) => (i.find((g) => g.userId === M) || {}).displayUserInfo || M);
|
|
2573
2565
|
Q.update(A.CALL, c.TOAST_INFO, { content: { key: s, options: { userList: u.join() } } }), l.length > 0 && Sa(l);
|
|
2574
2566
|
break;
|
|
2575
2567
|
}
|
|
@@ -2590,19 +2582,19 @@ const _r = (gt = class {
|
|
|
2590
2582
|
(o = this._callService) == null || o.executeExternalAfterCalling(), console.error(`${c.PREFIX}_handleError, errorCode: ${n}; errorMessage: ${r || a}.`);
|
|
2591
2583
|
}
|
|
2592
2584
|
async _handleNewInvitationReceived(e) {
|
|
2593
|
-
var p,
|
|
2585
|
+
var p, f, j, m;
|
|
2594
2586
|
console.log(`${c.PREFIX}onCallReceived event data: ${JSON.stringify(e)}.`);
|
|
2595
|
-
const { callerId: n = "", callMediaType: a, inviteData: i = {}, calleeIdList: r = [], chatGroupID: o = "", roomID: l, strRoomID: s } = Be(e), u = Q.getData(A.CALL, c.LOCAL_USER_INFO), M = [n, ...r.filter((L) => L !== u.userId)],
|
|
2587
|
+
const { callerId: n = "", callMediaType: a, inviteData: i = {}, calleeIdList: r = [], chatGroupID: o = "", roomID: l, strRoomID: s } = Be(e), u = Q.getData(A.CALL, c.LOCAL_USER_INFO), M = [n, ...r.filter((L) => L !== u.userId)], N = a || i.callType, g = N === $.AUDIO ? je.CALLEE_CALLING_AUDIO_MSG : je.CALLEE_CALLING_VIDEO_MSG;
|
|
2596
2588
|
let T = {
|
|
2597
2589
|
[c.CALL_ROLE]: Ie.CALLEE,
|
|
2598
2590
|
[c.IS_GROUP]: !!o || r.length > 1,
|
|
2599
2591
|
[c.CALL_STATUS]: _.CALLING,
|
|
2600
|
-
[c.CALL_MEDIA_TYPE]:
|
|
2601
|
-
[c.CALL_TIPS]:
|
|
2592
|
+
[c.CALL_MEDIA_TYPE]: N,
|
|
2593
|
+
[c.CALL_TIPS]: g,
|
|
2602
2594
|
[c.CALLER_USER_INFO]: { userId: n },
|
|
2603
2595
|
[c.GROUP_ID]: o
|
|
2604
2596
|
};
|
|
2605
|
-
br(l, s), Q.updateStore(T, A.CALL), (p = this._callService) == null || p.executeExternalBeforeCalling(), (
|
|
2597
|
+
br(l, s), Q.updateStore(T, A.CALL), (p = this._callService) == null || p.executeExternalBeforeCalling(), (f = this._callService) != null && f.statusChanged && ((j = this._callService) == null || j.statusChanged({ oldStatus: Ee.IDLE, newStatus: Ee.BE_INVITED }));
|
|
2606
2598
|
const D = await Mn(M, (m = this._callService) == null ? void 0 : m.getTim()), [E] = D.filter((L) => L.userId === n);
|
|
2607
2599
|
D.length > 0 && Q.updateStore({
|
|
2608
2600
|
[c.REMOTE_USER_INFO_LIST]: D,
|
|
@@ -2760,7 +2752,7 @@ const _r = (gt = class {
|
|
|
2760
2752
|
}), Q.update(A.CALL, c.REMOTE_USER_INFO_LIST, n), Q.update(A.CALL, c.REMOTE_USER_INFO_EXCLUDE_VOLUMN_LIST, n);
|
|
2761
2753
|
}
|
|
2762
2754
|
}
|
|
2763
|
-
}, z(
|
|
2755
|
+
}, z(Nt, "instance"), Nt);
|
|
2764
2756
|
qs([
|
|
2765
2757
|
Xs({
|
|
2766
2758
|
retries: 5,
|
|
@@ -2771,16 +2763,16 @@ qs([
|
|
|
2771
2763
|
})
|
|
2772
2764
|
], _r.prototype, "_startRemoteView", 1);
|
|
2773
2765
|
let tc = _r;
|
|
2774
|
-
var nc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor,
|
|
2766
|
+
var nc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor, ge = (t, e, n, a) => {
|
|
2775
2767
|
for (var i = a > 1 ? void 0 : a ? ac(e, n) : e, r = t.length - 1, o; r >= 0; r--)
|
|
2776
2768
|
(o = t[r]) && (i = (a ? o(e, n, i) : o(i)) || i);
|
|
2777
2769
|
return a && i && nc(e, n, i), i;
|
|
2778
2770
|
};
|
|
2779
|
-
const x = xr.getInstance(),
|
|
2780
|
-
mt.setTUIStore(
|
|
2781
|
-
const za = Za.getInstance(), Yi = "4.4.
|
|
2782
|
-
var
|
|
2783
|
-
const de = (
|
|
2771
|
+
const x = xr.getInstance(), h = Bn.getInstance(), mt = Ma.getInstance();
|
|
2772
|
+
mt.setTUIStore(h);
|
|
2773
|
+
const za = Za.getInstance(), Yi = "4.4.3-beta.1", Fi = "react";
|
|
2774
|
+
var gt;
|
|
2775
|
+
const de = (gt = class {
|
|
2784
2776
|
constructor() {
|
|
2785
2777
|
z(this, "_tuiCallEngine");
|
|
2786
2778
|
z(this, "_tim", null);
|
|
@@ -2812,15 +2804,15 @@ const de = (Nt = class {
|
|
|
2812
2804
|
var n, a;
|
|
2813
2805
|
try {
|
|
2814
2806
|
const i = {
|
|
2815
|
-
callRole:
|
|
2816
|
-
callStatus:
|
|
2807
|
+
callRole: h.getData(A.CALL, c.CALL_ROLE),
|
|
2808
|
+
callStatus: h.getData(A.CALL, c.CALL_STATUS)
|
|
2817
2809
|
};
|
|
2818
2810
|
if (this._bellContext.setBellProperties(i), e === _.CALLING)
|
|
2819
2811
|
await ((n = this == null ? void 0 : this._bellContext) == null ? void 0 : n.play());
|
|
2820
2812
|
else {
|
|
2821
2813
|
if (e === _.CONNECTED) {
|
|
2822
|
-
const r =
|
|
2823
|
-
|
|
2814
|
+
const r = h.getData(A.CALL, c.IS_GROUP), o = h.getData(A.CALL, c.CALL_MEDIA_TYPE), l = h.getData(A.CALL, c.REMOTE_USER_INFO_LIST), s = r ? Ee.DIALING_GROUP : Ee.DIALING_C2C;
|
|
2815
|
+
h.update(A.CALL, c.CALL_TIPS, ""), this.statusChanged && this.statusChanged({ oldStatus: s, newStatus: Xn() }), !r && o === $.VIDEO && this.switchScreen(l[0].domId);
|
|
2824
2816
|
}
|
|
2825
2817
|
await ((a = this == null ? void 0 : this._bellContext) == null ? void 0 : a.stop());
|
|
2826
2818
|
}
|
|
@@ -2833,7 +2825,7 @@ const de = (Nt = class {
|
|
|
2833
2825
|
}), this._loadWasm(), this._watchTUIStore(), this._engineEventHandler = tc.getInstance({ callService: this }), this._chatCombine = Fa.getInstance({ callService: this }), ws(this.handleExceptionExit.bind(this));
|
|
2834
2826
|
}
|
|
2835
2827
|
static getInstance() {
|
|
2836
|
-
return
|
|
2828
|
+
return gt.instance || (gt.instance = new gt()), gt.instance;
|
|
2837
2829
|
}
|
|
2838
2830
|
_loadWasm() {
|
|
2839
2831
|
zi.once("ready", () => this._wasmReadyResolve());
|
|
@@ -2850,7 +2842,7 @@ const de = (Nt = class {
|
|
|
2850
2842
|
try {
|
|
2851
2843
|
if (this._tuiCallEngine)
|
|
2852
2844
|
return;
|
|
2853
|
-
let { userID: o, tim: l, userSig: s, sdkAppID: u, SDKAppID: M, isFromChat:
|
|
2845
|
+
let { userID: o, tim: l, userSig: s, sdkAppID: u, SDKAppID: M, isFromChat: N, component: g = oi.TUI_CALL_KIT } = e;
|
|
2854
2846
|
this._TUICore && (u = this._TUICore.SDKAppID, l = this._TUICore.tim), this._tim = l, console.log(`${c.PREFIX}init sdkAppId: ${u || M}, userId: ${o}`);
|
|
2855
2847
|
let T = "web";
|
|
2856
2848
|
T = `${T}-${Fi}`, this._tuiCallEngine = zi.createInstance({
|
|
@@ -2861,11 +2853,11 @@ const de = (Nt = class {
|
|
|
2861
2853
|
// @ts-ignore
|
|
2862
2854
|
language: 7,
|
|
2863
2855
|
callkitVersion: Yi,
|
|
2864
|
-
isFromChat:
|
|
2865
|
-
component:
|
|
2856
|
+
isFromChat: N || !1,
|
|
2857
|
+
component: g,
|
|
2866
2858
|
scene: T
|
|
2867
|
-
}), mt.setEngineInstance(this._tuiCallEngine), this._addListenTuiCallEngineEvent(), this._bellContext = new bs(),
|
|
2868
|
-
const D =
|
|
2859
|
+
}), mt.setEngineInstance(this._tuiCallEngine), this._addListenTuiCallEngineEvent(), this._bellContext = new bs(), h.update(A.CALL, c.LOCAL_USER_INFO, { userId: o }), h.update(A.CALL, c.LOCAL_USER_INFO_EXCLUDE_VOLUMN, { userId: o }), mt.updateViewBackgroundUserId("local"), za.setEngineInstance(this._tuiCallEngine), za.setImInstance(this.getTim()), this.enableAISubtitle(!0), await this._tuiCallEngine.login({ userID: o, userSig: s, assetsPath: "" });
|
|
2860
|
+
const D = h.getData(A.CALL, c.CUSTOM_UI_CONFIG), E = (a = (n = this._tuiCallEngine) == null ? void 0 : n.getTRTCCloudInstance) == null ? void 0 : a.call(n);
|
|
2869
2861
|
E == null || E.callExperimentalAPI(JSON.stringify(
|
|
2870
2862
|
{ api: "enableAutoPlayDialog", params: { enable: 0 } }
|
|
2871
2863
|
)), (r = (i = this._tuiCallEngine) == null ? void 0 : i.reportLog) == null || r.call(i, {
|
|
@@ -2883,7 +2875,7 @@ const de = (Nt = class {
|
|
|
2883
2875
|
var e;
|
|
2884
2876
|
try {
|
|
2885
2877
|
this._isInitialized = !1;
|
|
2886
|
-
const n =
|
|
2878
|
+
const n = h.getData(A.CALL, c.CALL_STATUS);
|
|
2887
2879
|
if (n !== _.IDLE)
|
|
2888
2880
|
throw new Error(`please destroyed when status is idle, current status: ${n}`);
|
|
2889
2881
|
this._tuiCallEngine && (this._removeListenTuiCallEngineEvent(), await this._tuiCallEngine.destroyInstance(), this._tuiCallEngine = null), (e = this._bellContext) == null || e.destroy(), this._bellContext = null;
|
|
@@ -2892,23 +2884,23 @@ const de = (Nt = class {
|
|
|
2892
2884
|
}
|
|
2893
2885
|
}
|
|
2894
2886
|
async inviteUser(e) {
|
|
2895
|
-
if (
|
|
2887
|
+
if (h.getData(A.CALL, c.CALL_STATUS) !== _.IDLE)
|
|
2896
2888
|
try {
|
|
2897
2889
|
const { userIDList: n } = e;
|
|
2898
2890
|
let a = await Mn(n, this.getTim());
|
|
2899
|
-
const i =
|
|
2891
|
+
const i = h.getData(A.CALL, c.REMOTE_USER_INFO_LIST);
|
|
2900
2892
|
if (n.filter((o) => !i.some((l) => l.userId === o)).length === 0)
|
|
2901
2893
|
return;
|
|
2902
|
-
|
|
2894
|
+
h.update(A.CALL, c.REMOTE_USER_INFO_LIST, [...i, ...a]), h.update(A.CALL, c.REMOTE_USER_INFO_EXCLUDE_VOLUMN_LIST, [...i, ...a]), this._tuiCallEngine && await this._tuiCallEngine.inviteUser(e);
|
|
2903
2895
|
} catch (n) {
|
|
2904
2896
|
console.error(`${c.PREFIX}inviteUser failed, error: ${n}.`);
|
|
2905
2897
|
}
|
|
2906
2898
|
}
|
|
2907
2899
|
async calls(e) {
|
|
2908
|
-
if (
|
|
2900
|
+
if (h.getData(A.CALL, c.CALL_STATUS) === _.IDLE)
|
|
2909
2901
|
try {
|
|
2910
2902
|
const { userIDList: n, type: a, chatGroupID: i, offlinePushInfo: r } = e;
|
|
2911
|
-
if (
|
|
2903
|
+
if (h.getData(A.CALL, c.CALL_STATUS) !== _.IDLE)
|
|
2912
2904
|
return;
|
|
2913
2905
|
const o = n.map((s) => ({ userId: s }));
|
|
2914
2906
|
await this._updateCallStoreBeforeCall(a, o, i), this.executeExternalBeforeCalling(), e.offlinePushInfo = { ...this.getDefaultOfflinePushInfo(), ...r };
|
|
@@ -2919,20 +2911,20 @@ const de = (Nt = class {
|
|
|
2919
2911
|
}
|
|
2920
2912
|
}
|
|
2921
2913
|
async join(e) {
|
|
2922
|
-
if (
|
|
2914
|
+
if (h.getData(A.CALL, c.CALL_STATUS) !== _.CONNECTED)
|
|
2923
2915
|
try {
|
|
2924
2916
|
const n = await this._tuiCallEngine.join(e);
|
|
2925
|
-
|
|
2917
|
+
h.update(A.CALL, c.IS_CLICKABLE, !0), this.startTimer();
|
|
2926
2918
|
const a = {
|
|
2927
2919
|
[c.CALL_ROLE]: Ie.CALLEE,
|
|
2928
2920
|
[c.IS_GROUP]: !0,
|
|
2929
2921
|
[c.CALL_STATUS]: _.CONNECTED,
|
|
2930
|
-
[c.CALL_MEDIA_TYPE]:
|
|
2922
|
+
[c.CALL_MEDIA_TYPE]: h.getData(A.CALL, c.CALL_MEDIA_TYPE) || $.AUDIO
|
|
2931
2923
|
// default audio callMediaType
|
|
2932
2924
|
};
|
|
2933
|
-
|
|
2934
|
-
const i =
|
|
2935
|
-
|
|
2925
|
+
h.updateStore(a, A.CALL), Oa(this._tuiCallEngine), await this._tuiCallEngine.setVideoQuality(h.getData(A.CALL, c.VIDEO_RESOLUTION));
|
|
2926
|
+
const i = h.getData(A.CALL, c.LOCAL_USER_INFO);
|
|
2927
|
+
h.update(A.CALL, c.LOCAL_USER_INFO, { ...i, isEnter: !0 }), h.update(A.CALL, c.LOCAL_USER_INFO_EXCLUDE_VOLUMN, { ...i, isEnter: !0 }), await this.openMicrophone(), Vt(!0, c.AUDIO);
|
|
2936
2928
|
} catch (n) {
|
|
2937
2929
|
pn(n), this._handleCallError(n, "join");
|
|
2938
2930
|
}
|
|
@@ -2946,10 +2938,10 @@ const de = (Nt = class {
|
|
|
2946
2938
|
(n = this == null ? void 0 : this._tuiCallEngine) == null || n.setLogLevel(e);
|
|
2947
2939
|
}
|
|
2948
2940
|
setLanguage(e) {
|
|
2949
|
-
e && Object.values(mr).includes(e) && (
|
|
2941
|
+
e && Object.values(mr).includes(e) && (h.update(A.CALL, c.LANGUAGE, e), h.update(A.CALL, c.TRANSLATE, xt.bind(null)));
|
|
2950
2942
|
}
|
|
2951
2943
|
enableFloatWindow(e) {
|
|
2952
|
-
|
|
2944
|
+
h.update(A.CALL, c.ENABLE_FLOAT_WINDOW, e);
|
|
2953
2945
|
}
|
|
2954
2946
|
async setSelfInfo(e) {
|
|
2955
2947
|
const { nickName: n, avatar: a } = e;
|
|
@@ -2960,7 +2952,7 @@ const de = (Nt = class {
|
|
|
2960
2952
|
}
|
|
2961
2953
|
}
|
|
2962
2954
|
async enableVirtualBackground(e) {
|
|
2963
|
-
|
|
2955
|
+
h.update(A.CALL, c.IS_SHOW_ENABLE_VIRTUAL_BACKGROUND, e);
|
|
2964
2956
|
}
|
|
2965
2957
|
async enableAIVoice(e) {
|
|
2966
2958
|
try {
|
|
@@ -3017,7 +3009,7 @@ const de = (Nt = class {
|
|
|
3017
3009
|
switch (a) {
|
|
3018
3010
|
case "forceUseV2API":
|
|
3019
3011
|
const { enable: l } = i;
|
|
3020
|
-
|
|
3012
|
+
h.update(A.CALL, c.IS_FORCE_USE_V2_API, !!l);
|
|
3021
3013
|
break;
|
|
3022
3014
|
default:
|
|
3023
3015
|
break;
|
|
@@ -3028,20 +3020,20 @@ const de = (Nt = class {
|
|
|
3028
3020
|
}
|
|
3029
3021
|
async accept() {
|
|
3030
3022
|
var n, a, i, r, o, l;
|
|
3031
|
-
const e =
|
|
3023
|
+
const e = h.getData(A.CALL, c.CALL_STATUS);
|
|
3032
3024
|
if ((a = (n = this._tuiCallEngine) == null ? void 0 : n.reportLog) == null || a.call(n, {
|
|
3033
3025
|
name: "TUICallKit.accept.start",
|
|
3034
3026
|
data: { callStatus: e }
|
|
3035
3027
|
}), e !== _.CONNECTED)
|
|
3036
3028
|
try {
|
|
3037
|
-
|
|
3029
|
+
h.update(A.CALL, c.CALL_STATUS, _.CONNECTED), Oa(this._tuiCallEngine);
|
|
3038
3030
|
const s = await this._tuiCallEngine.accept();
|
|
3039
3031
|
if (s) {
|
|
3040
|
-
(r = this._chatCombine) == null || r.callTUIService({ message: (i = s == null ? void 0 : s.data) == null ? void 0 : i.message }),
|
|
3041
|
-
const u =
|
|
3042
|
-
u === $.VIDEO && !M && await this.openCamera(c.LOCAL_VIDEO), await this._tuiCallEngine.setVideoQuality(
|
|
3043
|
-
const
|
|
3044
|
-
|
|
3032
|
+
(r = this._chatCombine) == null || r.callTUIService({ message: (i = s == null ? void 0 : s.data) == null ? void 0 : i.message }), h.update(A.CALL, c.IS_CLICKABLE, !0), this.startTimer();
|
|
3033
|
+
const u = h.getData(A.CALL, c.CALL_MEDIA_TYPE), M = this._getFeatureButtonDefaultState(un.Camera) === vn.Close;
|
|
3034
|
+
u === $.VIDEO && !M && await this.openCamera(c.LOCAL_VIDEO), await this._tuiCallEngine.setVideoQuality(h.getData(A.CALL, c.VIDEO_RESOLUTION));
|
|
3035
|
+
const N = h.getData(A.CALL, c.LOCAL_USER_INFO);
|
|
3036
|
+
h.update(A.CALL, c.LOCAL_USER_INFO, { ...N, isEnter: !0 }), h.update(A.CALL, c.LOCAL_USER_INFO_EXCLUDE_VOLUMN, { ...N, isEnter: !0 }), Vt(!0, c.AUDIO);
|
|
3045
3037
|
}
|
|
3046
3038
|
} catch (s) {
|
|
3047
3039
|
if ((l = (o = this._tuiCallEngine) == null ? void 0 : o.reportLog) == null || l.call(o, {
|
|
@@ -3054,7 +3046,7 @@ const de = (Nt = class {
|
|
|
3054
3046
|
}
|
|
3055
3047
|
}
|
|
3056
3048
|
async hangup() {
|
|
3057
|
-
if (
|
|
3049
|
+
if (h.getData(A.CALL, c.CALL_STATUS) !== _.IDLE) {
|
|
3058
3050
|
try {
|
|
3059
3051
|
const e = await this._tuiCallEngine.hangup();
|
|
3060
3052
|
e == null || e.forEach((n) => {
|
|
@@ -3069,7 +3061,7 @@ const de = (Nt = class {
|
|
|
3069
3061
|
}
|
|
3070
3062
|
async reject() {
|
|
3071
3063
|
var e, n;
|
|
3072
|
-
if (
|
|
3064
|
+
if (h.getData(A.CALL, c.CALL_STATUS) !== _.IDLE) {
|
|
3073
3065
|
try {
|
|
3074
3066
|
const a = await this._tuiCallEngine.reject();
|
|
3075
3067
|
(a == null ? void 0 : a.code) === 0 && ((n = this._chatCombine) == null || n.callTUIService({ message: (e = a == null ? void 0 : a.data) == null ? void 0 : e.message }));
|
|
@@ -3082,7 +3074,7 @@ const de = (Nt = class {
|
|
|
3082
3074
|
async openCamera(e) {
|
|
3083
3075
|
try {
|
|
3084
3076
|
if (x.isH5 || x.isWeChat) {
|
|
3085
|
-
const a =
|
|
3077
|
+
const a = h.getData(A.CALL, c.CAMERA_POSITION) === Zt.FRONT;
|
|
3086
3078
|
this._tuiCallEngine.openCamera(e, a);
|
|
3087
3079
|
} else
|
|
3088
3080
|
await this._tuiCallEngine.openCamera(e);
|
|
@@ -3116,7 +3108,7 @@ const de = (Nt = class {
|
|
|
3116
3108
|
var e, n;
|
|
3117
3109
|
try {
|
|
3118
3110
|
const a = (n = (e = this._tuiCallEngine) == null ? void 0 : e.getTRTCCloudInstance) == null ? void 0 : n.call(e);
|
|
3119
|
-
a && (a.muteAllRemoteAudio(!1),
|
|
3111
|
+
a && (a.muteAllRemoteAudio(!1), h.update(A.CALL, c.IS_MUTE_SPEAKER, !1));
|
|
3120
3112
|
} catch (a) {
|
|
3121
3113
|
console.error(`${c.PREFIX}unMuteSpeaker failed, error: ${a}.`);
|
|
3122
3114
|
}
|
|
@@ -3125,41 +3117,41 @@ const de = (Nt = class {
|
|
|
3125
3117
|
var e, n;
|
|
3126
3118
|
try {
|
|
3127
3119
|
const a = (n = (e = this._tuiCallEngine) == null ? void 0 : e.getTRTCCloudInstance) == null ? void 0 : n.call(e);
|
|
3128
|
-
a && (a.muteAllRemoteAudio(!0),
|
|
3120
|
+
a && (a.muteAllRemoteAudio(!0), h.update(A.CALL, c.IS_MUTE_SPEAKER, !0));
|
|
3129
3121
|
} catch (a) {
|
|
3130
3122
|
console.error(`${c.PREFIX}muteSpeaker failed, error: ${a}.`);
|
|
3131
3123
|
}
|
|
3132
3124
|
}
|
|
3133
3125
|
switchScreen(e) {
|
|
3134
|
-
e &&
|
|
3126
|
+
e && h.update(A.CALL, c.BIG_SCREEN_USER_ID, e);
|
|
3135
3127
|
}
|
|
3136
3128
|
async switchCallMediaType() {
|
|
3137
3129
|
var e, n;
|
|
3138
3130
|
try {
|
|
3139
|
-
const a =
|
|
3131
|
+
const a = h.getData(A.CALL, c.CALL_MEDIA_TYPE);
|
|
3140
3132
|
if (a === $.AUDIO) {
|
|
3141
3133
|
console.warn(`${c.PREFIX}switchCallMediaType failed, ${a} not support.`);
|
|
3142
3134
|
return;
|
|
3143
3135
|
}
|
|
3144
3136
|
const i = await this._tuiCallEngine.switchCallMediaType($.AUDIO);
|
|
3145
|
-
(i == null ? void 0 : i.code) === 0 && ((n = this._chatCombine) == null || n.callTUIService({ message: (e = i == null ? void 0 : i.data) == null ? void 0 : e.message })),
|
|
3146
|
-
const o =
|
|
3137
|
+
(i == null ? void 0 : i.code) === 0 && ((n = this._chatCombine) == null || n.callTUIService({ message: (e = i == null ? void 0 : i.data) == null ? void 0 : e.message })), h.update(A.CALL, c.CALL_MEDIA_TYPE, $.AUDIO);
|
|
3138
|
+
const o = h.getData(A.CALL, c.IS_GROUP) ? Ee.CALLING_GROUP_VIDEO : Ee.CALLING_C2C_VIDEO, l = Xn();
|
|
3147
3139
|
this.statusChanged && this.statusChanged({ oldStatus: o, newStatus: l });
|
|
3148
3140
|
} catch (a) {
|
|
3149
3141
|
console.error(`${c.PREFIX}switchCallMediaType failed, error: ${a}.`);
|
|
3150
3142
|
}
|
|
3151
3143
|
}
|
|
3152
3144
|
async switchCamera() {
|
|
3153
|
-
const n =
|
|
3145
|
+
const n = h.getData(A.CALL, c.CAMERA_POSITION) === Zt.BACK ? Zt.FRONT : Zt.BACK;
|
|
3154
3146
|
try {
|
|
3155
|
-
await this._tuiCallEngine.switchCamera(n),
|
|
3147
|
+
await this._tuiCallEngine.switchCamera(n), h.update(A.CALL, c.CAMERA_POSITION, n);
|
|
3156
3148
|
} catch (a) {
|
|
3157
3149
|
console.error(`${c.PREFIX}_switchCamera failed, error: ${a}.`);
|
|
3158
3150
|
}
|
|
3159
3151
|
}
|
|
3160
3152
|
async setBlurBackground(e) {
|
|
3161
3153
|
try {
|
|
3162
|
-
await this._tuiCallEngine.setBlurBackground(e ? us : 0),
|
|
3154
|
+
await this._tuiCallEngine.setBlurBackground(e ? us : 0), h.update(A.CALL, c.ENABLE_VIRTUAL_BACKGROUND, e);
|
|
3163
3155
|
} catch (n) {
|
|
3164
3156
|
console.error(`${c.PREFIX}_setBlurBackground failed, error: ${n}.`);
|
|
3165
3157
|
}
|
|
@@ -3190,8 +3182,8 @@ const de = (Nt = class {
|
|
|
3190
3182
|
n && (this.beforeCalling = n), a && (this.afterCalling = a), i && (this.onMinimized = i), r && (this.onMessageSentByMe = r), o && (this.kickedOut = o), l && (this.statusChanged = l);
|
|
3191
3183
|
}
|
|
3192
3184
|
toggleMinimize() {
|
|
3193
|
-
const e =
|
|
3194
|
-
|
|
3185
|
+
const e = h.getData(A.CALL, c.IS_MINIMIZED);
|
|
3186
|
+
h.update(A.CALL, c.IS_MINIMIZED, !e), console.log(`${c.PREFIX}toggleMinimize: ${e} -> ${!e}.`), this.onMinimized && this.onMinimized(e, !e);
|
|
3195
3187
|
}
|
|
3196
3188
|
executeExternalBeforeCalling() {
|
|
3197
3189
|
this.beforeCalling && this.beforeCalling();
|
|
@@ -3203,7 +3195,7 @@ const de = (Nt = class {
|
|
|
3203
3195
|
async handleExceptionExit(e) {
|
|
3204
3196
|
var n, a;
|
|
3205
3197
|
try {
|
|
3206
|
-
const i =
|
|
3198
|
+
const i = h.getData(A.CALL, c.CALL_STATUS), r = h.getData(A.CALL, c.CALL_ROLE);
|
|
3207
3199
|
if ((a = (n = this._tuiCallEngine) == null ? void 0 : n.reportLog) == null || a.call(n, { name: "TUICallkit.handleExceptionExit", data: { callStatus: i, callRole: r } }), i === _.IDLE)
|
|
3208
3200
|
return;
|
|
3209
3201
|
i === _.CALLING && (r === Ie.CALLER ? await (this == null ? void 0 : this.hangup()) : await (this == null ? void 0 : this.reject())), i === _.CONNECTED && await (this == null ? void 0 : this.hangup()), this == null || this._resetCallStore();
|
|
@@ -3214,14 +3206,14 @@ const de = (Nt = class {
|
|
|
3214
3206
|
}
|
|
3215
3207
|
// ========================【TUICallKit 组件属性设置方法】========================
|
|
3216
3208
|
setVideoDisplayMode(e) {
|
|
3217
|
-
|
|
3209
|
+
h.update(A.CALL, c.DISPLAY_MODE, e);
|
|
3218
3210
|
}
|
|
3219
3211
|
async setVideoResolution(e) {
|
|
3220
3212
|
var n;
|
|
3221
3213
|
try {
|
|
3222
3214
|
if (!e)
|
|
3223
3215
|
return;
|
|
3224
|
-
|
|
3216
|
+
h.update(A.CALL, c.VIDEO_RESOLUTION, e), await ((n = this._tuiCallEngine) == null ? void 0 : n.setVideoQuality(e));
|
|
3225
3217
|
} catch (a) {
|
|
3226
3218
|
console.warn(`${c.PREFIX}setVideoResolution failed, error: ${a}.`);
|
|
3227
3219
|
}
|
|
@@ -3238,7 +3230,7 @@ const de = (Nt = class {
|
|
|
3238
3230
|
}
|
|
3239
3231
|
async _updateCallStoreBeforeCall(e, n, a) {
|
|
3240
3232
|
let i = je.CALLER_CALLING_MSG;
|
|
3241
|
-
(a ||
|
|
3233
|
+
(a || h.getData(A.CALL, c.IS_MINIMIZED) || n.length > 1) && (i = je.CALLER_GROUP_CALLING_MSG), console.warn(`呼叫前更新 call status: ${!!a || n.length > 1}, ${a}, ${JSON.stringify(n)}`);
|
|
3242
3234
|
let r = {
|
|
3243
3235
|
[c.CALL_MEDIA_TYPE]: e,
|
|
3244
3236
|
[c.CALL_ROLE]: Ie.CALLER,
|
|
@@ -3248,22 +3240,22 @@ const de = (Nt = class {
|
|
|
3248
3240
|
[c.CALL_TIPS]: i,
|
|
3249
3241
|
[c.GROUP_ID]: a
|
|
3250
3242
|
};
|
|
3251
|
-
|
|
3243
|
+
h.updateStore({ ...r, [c.CALL_STATUS]: _.CALLING }, A.CALL), this.statusChanged && this.statusChanged({
|
|
3252
3244
|
oldStatus: Ee.IDLE,
|
|
3253
3245
|
newStatus: a || n.length > 1 ? Ee.DIALING_GROUP : Ee.DIALING_C2C
|
|
3254
3246
|
}), Oa(this._tuiCallEngine);
|
|
3255
3247
|
const o = await Mn(n.map((l) => l.userId), this.getTim());
|
|
3256
|
-
o.length > 0 && (
|
|
3248
|
+
o.length > 0 && (h.update(A.CALL, c.REMOTE_USER_INFO_LIST, o), h.update(A.CALL, c.REMOTE_USER_INFO_EXCLUDE_VOLUMN_LIST, o));
|
|
3257
3249
|
}
|
|
3258
3250
|
async _updateCallStoreAfterCall(e, n) {
|
|
3259
3251
|
var a, i;
|
|
3260
3252
|
if (n) {
|
|
3261
|
-
|
|
3262
|
-
const r =
|
|
3253
|
+
h.update(A.CALL, c.IS_CLICKABLE, !0), br(n == null ? void 0 : n.roomID, n == null ? void 0 : n.strRoomID);
|
|
3254
|
+
const r = h.getData(A.CALL, c.CALL_MEDIA_TYPE);
|
|
3263
3255
|
if (n.code === 0) {
|
|
3264
3256
|
(i = this._chatCombine) == null || i.callTUIService({ message: (a = n == null ? void 0 : n.data) == null ? void 0 : a.message });
|
|
3265
3257
|
try {
|
|
3266
|
-
await this._tuiCallEngine.setVideoQuality(
|
|
3258
|
+
await this._tuiCallEngine.setVideoQuality(h.getData(A.CALL, c.VIDEO_RESOLUTION));
|
|
3267
3259
|
} catch (s) {
|
|
3268
3260
|
console.warn(`${c.PREFIX}setVideoQuality failed, error: ${s}.`);
|
|
3269
3261
|
}
|
|
@@ -3273,19 +3265,19 @@ const de = (Nt = class {
|
|
|
3273
3265
|
}
|
|
3274
3266
|
const o = this._getFeatureButtonDefaultState(un.Camera) === vn.Close;
|
|
3275
3267
|
r === $.VIDEO && !o && await this.openCamera(c.LOCAL_VIDEO);
|
|
3276
|
-
const l =
|
|
3277
|
-
|
|
3268
|
+
const l = h.getData(A.CALL, c.LOCAL_USER_INFO);
|
|
3269
|
+
h.update(A.CALL, c.LOCAL_USER_INFO, { ...l, isEnter: !0 }), h.update(A.CALL, c.LOCAL_USER_INFO_EXCLUDE_VOLUMN, { ...l, isEnter: !0 }), Vt(!0, c.AUDIO);
|
|
3278
3270
|
} else
|
|
3279
3271
|
this._permissionCheckTimer && clearInterval(this._permissionCheckTimer), this._permissionCheckTimer = null, this._resetCallStore();
|
|
3280
3272
|
}
|
|
3281
3273
|
_getFeatureButtonDefaultState(e) {
|
|
3282
3274
|
var a;
|
|
3283
|
-
const { button: n } =
|
|
3275
|
+
const { button: n } = h.getData(A.CALL, c.CUSTOM_UI_CONFIG);
|
|
3284
3276
|
return (a = n == null ? void 0 : n[e]) == null ? void 0 : a.state;
|
|
3285
3277
|
}
|
|
3286
3278
|
_updateCallDuration() {
|
|
3287
3279
|
const e = Math.round((ma() - this._startTimeStamp) / 1e3), n = Rr(e);
|
|
3288
|
-
|
|
3280
|
+
h.update(A.CALL, c.CALL_DURATION, n);
|
|
3289
3281
|
}
|
|
3290
3282
|
_stopTimer() {
|
|
3291
3283
|
this._timerId !== -1 && (ua.clearTask(this._timerId), this._timerId = -1);
|
|
@@ -3324,36 +3316,36 @@ const de = (Nt = class {
|
|
|
3324
3316
|
return !0;
|
|
3325
3317
|
}
|
|
3326
3318
|
});
|
|
3327
|
-
n = n.map((r) => ta[r]),
|
|
3328
|
-
...
|
|
3319
|
+
n = n.map((r) => ta[r]), h.reset(A.CALL, n), h.getData(A.CALL, c.CALL_STATUS) !== _.IDLE && h.reset(A.CALL, [c.CALL_STATUS], !0), h.reset(A.CALL, [c.IS_MINIMIZED], !0), h.reset(A.CALL, [c.IS_EAR_PHONE], !0), h.reset(A.CALL, [c.ENABLE_VIRTUAL_BACKGROUND], !0), h.reset(A.CALL, [c.IS_MUTE_SPEAKER], !0), h.update(A.CALL, c.LOCAL_USER_INFO, {
|
|
3320
|
+
...h.getData(A.CALL, c.LOCAL_USER_INFO),
|
|
3329
3321
|
isVideoAvailable: !1,
|
|
3330
3322
|
isAudioAvailable: !1
|
|
3331
|
-
}),
|
|
3332
|
-
...
|
|
3323
|
+
}), h.update(A.CALL, c.LOCAL_USER_INFO_EXCLUDE_VOLUMN, {
|
|
3324
|
+
...h.getData(A.CALL, c.LOCAL_USER_INFO_EXCLUDE_VOLUMN),
|
|
3333
3325
|
isVideoAvailable: !1,
|
|
3334
3326
|
isAudioAvailable: !1
|
|
3335
|
-
}),
|
|
3327
|
+
}), h.update(A.CALL, c.REMOTE_USER_INFO_LIST, []), h.update(A.CALL, c.REMOTE_USER_INFO_EXCLUDE_VOLUMN_LIST, []), h.update(A.CALL, c.CAMERA_POSITION, Zt.FRONT);
|
|
3336
3328
|
const i = Xn();
|
|
3337
3329
|
e !== i && this.statusChanged && this.statusChanged({ oldStatus: e, newStatus: i });
|
|
3338
3330
|
}
|
|
3339
3331
|
// =========================【Calling the Chat SDK APi】=========================
|
|
3340
3332
|
// 获取群成员
|
|
3341
3333
|
async getGroupMemberList(e, n) {
|
|
3342
|
-
const a =
|
|
3334
|
+
const a = h.getData(A.CALL, c.GROUP_ID);
|
|
3343
3335
|
return await ks(a, this.getTim(), e, n);
|
|
3344
3336
|
}
|
|
3345
3337
|
// 获取群信息
|
|
3346
3338
|
async getGroupProfile() {
|
|
3347
|
-
const e =
|
|
3339
|
+
const e = h.getData(A.CALL, c.GROUP_ID);
|
|
3348
3340
|
return await Vs(e, this.getTim());
|
|
3349
3341
|
}
|
|
3350
3342
|
_watchTUIStore() {
|
|
3351
|
-
|
|
3343
|
+
h == null || h.watch(A.CALL, {
|
|
3352
3344
|
[c.CALL_STATUS]: this._handleCallStatusChange
|
|
3353
3345
|
});
|
|
3354
3346
|
}
|
|
3355
3347
|
_unwatchTUIStore() {
|
|
3356
|
-
|
|
3348
|
+
h == null || h.unwatch(A.CALL, {
|
|
3357
3349
|
[c.CALL_STATUS]: this._handleCallStatusChange
|
|
3358
3350
|
});
|
|
3359
3351
|
}
|
|
@@ -3379,7 +3371,7 @@ const de = (Nt = class {
|
|
|
3379
3371
|
this._offlinePushInfo = e;
|
|
3380
3372
|
}
|
|
3381
3373
|
getDefaultOfflinePushInfo() {
|
|
3382
|
-
const e =
|
|
3374
|
+
const e = h.getData(A.CALL, c.LOCAL_USER_INFO);
|
|
3383
3375
|
return this._offlinePushInfo ? this._offlinePushInfo : {
|
|
3384
3376
|
title: (e == null ? void 0 : e.displayUserInfo) || "",
|
|
3385
3377
|
description: xt("you have a new call")
|
|
@@ -3388,60 +3380,60 @@ const de = (Nt = class {
|
|
|
3388
3380
|
async getCallMessage(e) {
|
|
3389
3381
|
return await this._chatCombine.getCallKitMessage(e, this.getTim());
|
|
3390
3382
|
}
|
|
3391
|
-
}, z(
|
|
3392
|
-
|
|
3393
|
-
|
|
3383
|
+
}, z(gt, "instance"), gt);
|
|
3384
|
+
ge([
|
|
3385
|
+
Ne()
|
|
3394
3386
|
], de.prototype, "init", 1);
|
|
3395
|
-
|
|
3396
|
-
|
|
3387
|
+
ge([
|
|
3388
|
+
Ne()
|
|
3397
3389
|
], de.prototype, "inviteUser", 1);
|
|
3398
|
-
|
|
3399
|
-
|
|
3390
|
+
ge([
|
|
3391
|
+
Ne()
|
|
3400
3392
|
], de.prototype, "calls", 1);
|
|
3401
|
-
|
|
3402
|
-
|
|
3393
|
+
ge([
|
|
3394
|
+
Ne()
|
|
3403
3395
|
], de.prototype, "join", 1);
|
|
3404
|
-
|
|
3405
|
-
|
|
3396
|
+
ge([
|
|
3397
|
+
Ne()
|
|
3406
3398
|
], de.prototype, "accept", 1);
|
|
3407
|
-
|
|
3408
|
-
|
|
3399
|
+
ge([
|
|
3400
|
+
Ne()
|
|
3409
3401
|
], de.prototype, "hangup", 1);
|
|
3410
|
-
|
|
3411
|
-
|
|
3402
|
+
ge([
|
|
3403
|
+
Ne()
|
|
3412
3404
|
], de.prototype, "reject", 1);
|
|
3413
|
-
|
|
3414
|
-
|
|
3405
|
+
ge([
|
|
3406
|
+
Ne()
|
|
3415
3407
|
], de.prototype, "openCamera", 1);
|
|
3416
|
-
|
|
3417
|
-
|
|
3408
|
+
ge([
|
|
3409
|
+
Ne()
|
|
3418
3410
|
], de.prototype, "closeCamera", 1);
|
|
3419
|
-
|
|
3420
|
-
|
|
3411
|
+
ge([
|
|
3412
|
+
Ne()
|
|
3421
3413
|
], de.prototype, "openMicrophone", 1);
|
|
3422
|
-
|
|
3423
|
-
|
|
3414
|
+
ge([
|
|
3415
|
+
Ne()
|
|
3424
3416
|
], de.prototype, "closeMicrophone", 1);
|
|
3425
|
-
|
|
3426
|
-
|
|
3417
|
+
ge([
|
|
3418
|
+
Ne()
|
|
3427
3419
|
], de.prototype, "unMuteSpeaker", 1);
|
|
3428
|
-
|
|
3429
|
-
|
|
3420
|
+
ge([
|
|
3421
|
+
Ne()
|
|
3430
3422
|
], de.prototype, "muteSpeaker", 1);
|
|
3431
|
-
|
|
3432
|
-
|
|
3423
|
+
ge([
|
|
3424
|
+
Ne()
|
|
3433
3425
|
], de.prototype, "switchScreen", 1);
|
|
3434
|
-
|
|
3435
|
-
|
|
3426
|
+
ge([
|
|
3427
|
+
Ne()
|
|
3436
3428
|
], de.prototype, "switchCallMediaType", 1);
|
|
3437
|
-
|
|
3438
|
-
|
|
3429
|
+
ge([
|
|
3430
|
+
Ne()
|
|
3439
3431
|
], de.prototype, "switchCamera", 1);
|
|
3440
|
-
|
|
3441
|
-
|
|
3432
|
+
ge([
|
|
3433
|
+
Ne()
|
|
3442
3434
|
], de.prototype, "setBlurBackground", 1);
|
|
3443
|
-
|
|
3444
|
-
|
|
3435
|
+
ge([
|
|
3436
|
+
Ne()
|
|
3445
3437
|
], de.prototype, "switchDevice", 1);
|
|
3446
3438
|
let ic = de;
|
|
3447
3439
|
const X = ic.getInstance();
|
|
@@ -3499,20 +3491,20 @@ function lc(t) {
|
|
|
3499
3491
|
message: e = {},
|
|
3500
3492
|
onClick: n
|
|
3501
3493
|
} = t, [a, i] = w(), [r, o] = w(), [l, s] = w([]), [u, M] = w();
|
|
3502
|
-
function
|
|
3494
|
+
function N(j) {
|
|
3503
3495
|
M(() => j);
|
|
3504
3496
|
}
|
|
3505
|
-
const
|
|
3506
|
-
[c.TRANSLATE]:
|
|
3497
|
+
const g = {
|
|
3498
|
+
[c.TRANSLATE]: N
|
|
3507
3499
|
};
|
|
3508
|
-
P(() => (
|
|
3500
|
+
P(() => (h.watch(
|
|
3509
3501
|
A.CALL,
|
|
3510
|
-
|
|
3502
|
+
g,
|
|
3511
3503
|
{
|
|
3512
3504
|
notifyRangeWhenWatch: c.MYSELF
|
|
3513
3505
|
}
|
|
3514
|
-
),
|
|
3515
|
-
|
|
3506
|
+
), h.watch(A.CALL, g), () => {
|
|
3507
|
+
h.unwatch(A.CALL, g);
|
|
3516
3508
|
}), []), P(() => {
|
|
3517
3509
|
X.getCallMessage(e).then((j) => {
|
|
3518
3510
|
const { callMediaType: m, messageCardContent: L = "", inviteeList: S = [] } = j || {};
|
|
@@ -3524,7 +3516,7 @@ function lc(t) {
|
|
|
3524
3516
|
"c2c"
|
|
3525
3517
|
]), p = () => {
|
|
3526
3518
|
typeof n == "function" && n({ callMediaType: r, inviteeList: l });
|
|
3527
|
-
},
|
|
3519
|
+
}, f = R([
|
|
3528
3520
|
xa.icon
|
|
3529
3521
|
]);
|
|
3530
3522
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -3533,7 +3525,7 @@ function lc(t) {
|
|
|
3533
3525
|
className: E,
|
|
3534
3526
|
onClick: p,
|
|
3535
3527
|
children: [
|
|
3536
|
-
/* @__PURE__ */ I.jsx("div", { className:
|
|
3528
|
+
/* @__PURE__ */ I.jsx("div", { className: f, children: /* @__PURE__ */ I.jsx(te, { url: D }) }),
|
|
3537
3529
|
/* @__PURE__ */ I.jsx("span", { className: xa["call-content"], children: T })
|
|
3538
3530
|
]
|
|
3539
3531
|
}
|
|
@@ -3566,7 +3558,7 @@ function Mc(t) {
|
|
|
3566
3558
|
}
|
|
3567
3559
|
);
|
|
3568
3560
|
}
|
|
3569
|
-
function
|
|
3561
|
+
function hN(t) {
|
|
3570
3562
|
const { callType: e = "C2C" } = t;
|
|
3571
3563
|
return e === "C2C" ? /* @__PURE__ */ I.jsx(lc, { ...t }) : /* @__PURE__ */ I.jsx(Mc, { ...t });
|
|
3572
3564
|
}
|
|
@@ -3588,8 +3580,8 @@ function Xt(t) {
|
|
|
3588
3580
|
`${W}-row-justify-${r}`,
|
|
3589
3581
|
e
|
|
3590
3582
|
]), s = () => ((n == null ? void 0 : n.length) || 0) < 2 ? n : Ce.Children.map(n, (M) => {
|
|
3591
|
-
var
|
|
3592
|
-
if (((
|
|
3583
|
+
var N;
|
|
3584
|
+
if (((N = M == null ? void 0 : M.type) == null ? void 0 : N.displayName) === "Col")
|
|
3593
3585
|
return M;
|
|
3594
3586
|
});
|
|
3595
3587
|
return /* @__PURE__ */ I.jsx("div", { className: l, style: i, children: /* @__PURE__ */ I.jsx(Vr.Provider, { value: o, children: s() }) });
|
|
@@ -3662,16 +3654,16 @@ function Qr(t) {
|
|
|
3662
3654
|
} = t, s = R([
|
|
3663
3655
|
n,
|
|
3664
3656
|
`${W}-overlayer-container`
|
|
3665
|
-
]), [u, M] = w(a || o), [
|
|
3657
|
+
]), [u, M] = w(a || o), [N, g] = w({ objectFit: r }), T = { width: "100%", height: "100%" };
|
|
3666
3658
|
P(() => {
|
|
3667
|
-
|
|
3659
|
+
g({ objectFit: r });
|
|
3668
3660
|
}, [r]);
|
|
3669
3661
|
function D(E) {
|
|
3670
3662
|
l == null || l(E), M(o);
|
|
3671
3663
|
}
|
|
3672
3664
|
return /* @__PURE__ */ I.jsxs("div", { className: s, children: [
|
|
3673
3665
|
i && /* @__PURE__ */ I.jsx("div", { style: e, className: "overlay" }),
|
|
3674
|
-
u && /* @__PURE__ */ I.jsx("img", { alt: "bg", style: { ...T, ...
|
|
3666
|
+
u && /* @__PURE__ */ I.jsx("img", { alt: "bg", style: { ...T, ...N }, src: u, onError: D })
|
|
3675
3667
|
] });
|
|
3676
3668
|
}
|
|
3677
3669
|
function ui(t) {
|
|
@@ -3706,13 +3698,13 @@ const Pe = ai((t, e) => {
|
|
|
3706
3698
|
ghost: s = !1,
|
|
3707
3699
|
onClick: u = (S) => null,
|
|
3708
3700
|
isStopPropagation: M = !1,
|
|
3709
|
-
size:
|
|
3710
|
-
direction:
|
|
3701
|
+
size: N = "middle",
|
|
3702
|
+
direction: g = "vertical",
|
|
3711
3703
|
className: T = "",
|
|
3712
3704
|
iconClassName: D = "",
|
|
3713
3705
|
isMobile: E = !1,
|
|
3714
3706
|
style: p,
|
|
3715
|
-
...
|
|
3707
|
+
...f
|
|
3716
3708
|
} = t, j = (S) => {
|
|
3717
3709
|
M && S.stopPropagation(), !r && (u == null || u(S));
|
|
3718
3710
|
}, m = () => {
|
|
@@ -3720,9 +3712,9 @@ const Pe = ai((t, e) => {
|
|
|
3720
3712
|
`${W}-icon`,
|
|
3721
3713
|
D,
|
|
3722
3714
|
{
|
|
3723
|
-
[`${W}-size-s`]:
|
|
3724
|
-
[`${W}-size-m`]:
|
|
3725
|
-
[`${W}-size-l`]:
|
|
3715
|
+
[`${W}-size-s`]: N === "small",
|
|
3716
|
+
[`${W}-size-m`]: N === "middle",
|
|
3717
|
+
[`${W}-size-l`]: N === "large"
|
|
3726
3718
|
}
|
|
3727
3719
|
]), y = a ? { width: a, height: a } : {};
|
|
3728
3720
|
return /* @__PURE__ */ I.jsx(
|
|
@@ -3746,22 +3738,22 @@ const Pe = ai((t, e) => {
|
|
|
3746
3738
|
{
|
|
3747
3739
|
mobile: E,
|
|
3748
3740
|
pc: !E,
|
|
3749
|
-
[`${W}-flex-vertical`]:
|
|
3750
|
-
[`${W}-flex-horizontal`]:
|
|
3751
|
-
[`${W}-size-s`]:
|
|
3752
|
-
[`${W}-size-m`]:
|
|
3753
|
-
[`${W}-size-l`]:
|
|
3741
|
+
[`${W}-flex-vertical`]: g === "vertical",
|
|
3742
|
+
[`${W}-flex-horizontal`]: g === "horizontal",
|
|
3743
|
+
[`${W}-size-s`]: N === "small",
|
|
3744
|
+
[`${W}-size-m`]: N === "middle",
|
|
3745
|
+
[`${W}-size-l`]: N === "large",
|
|
3754
3746
|
[`${W}-ghost`]: s === !0
|
|
3755
3747
|
}
|
|
3756
3748
|
]),
|
|
3757
|
-
...
|
|
3749
|
+
...f,
|
|
3758
3750
|
children: [
|
|
3759
3751
|
n && m(),
|
|
3760
3752
|
L()
|
|
3761
3753
|
]
|
|
3762
3754
|
}
|
|
3763
3755
|
);
|
|
3764
|
-
}),
|
|
3756
|
+
}), Nc = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxyZWN0IHg9IjAuNzY5MjMxIiB5PSIwLjc2OTIzMSIgd2lkdGg9IjE4LjQ2MTUiIGhlaWdodD0iMTguNDYxNSIgcng9IjAuNzY5MjMxIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNTM4NDYiLz4KICAgIDxwYXRoIGQ9Ik0xMS41Mzg1IDEyLjMwNzdDMTEuNTM4NSAxMS44ODI5IDExLjg4MjkgMTEuNTM4NSAxMi4zMDc3IDExLjUzODVIMTkuMjMwOFYxOC40NjE1QzE5LjIzMDggMTguODg2NCAxOC44ODY0IDE5LjIzMDggMTguNDYxNiAxOS4yMzA4SDExLjUzODVWMTIuMzA3N1oiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS41Mzg0NiIvPgogICAgPHBhdGggZD0iTTAuNzY5Mjg3IDAuNzY5MjI2TDguOTcyMyA4LjkyNDEyIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNTM4NDYiLz4KICAgIDxwYXRoIGQ9Ik05LjQ5NjcgNC43MTcxNlY5LjQ0ODZINC43NDE0NiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUzODQ2IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KICA8L3N2Zz4=", gc = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTguNDk5OTEgNEgyLjk5OTkxQzIuNDQ3NjIgNCAxLjk5OTkxIDQuNDQ3NzIgMS45OTk5MSA1VjE3QzEuOTk5OTEgMTcuNTUyMyAyLjQ0NzYyIDE4IDIuOTk5OTEgMThIMTQuOTk5OUMxNS41NTIyIDE4IDE1Ljk5OTkgMTcuNTUyMyAxNS45OTk5IDE3VjExLjUiIHN0cm9rZT0iI0Q1RTBGMiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMS40OTk5IDMuNVY4LjVIMTYuNDk5OVYzLjVIMTEuNDk5OVpNMTAuOTk5OSAyQzEwLjQ0NzYgMiA5Ljk5OTkxIDIuNDQ3NzIgOS45OTk5MSAzVjlDOS45OTk5MSA5LjU1MjI4IDEwLjQ0NzYgMTAgMTAuOTk5OSAxMEgxNi45OTk5QzE3LjU1MjIgMTAgMTcuOTk5OSA5LjU1MjI4IDE3Ljk5OTkgOVYzQzE3Ljk5OTkgMi40NDc3MiAxNy41NTIyIDIgMTYuOTk5OSAySDEwLjk5OTlaIiBmaWxsPSIjRDVFMEYyIi8+Cjwvc3ZnPgo=", Zi = {
|
|
3765
3757
|
"minimize-desk-container": "_minimize-desk-container_gxy8f_1",
|
|
3766
3758
|
"minimize-mobile-container": "_minimize-mobile-container_gxy8f_11"
|
|
3767
3759
|
};
|
|
@@ -3773,7 +3765,7 @@ function Br() {
|
|
|
3773
3765
|
console.debug(a);
|
|
3774
3766
|
}
|
|
3775
3767
|
X.toggleMinimize();
|
|
3776
|
-
}, n = /* @__PURE__ */ I.jsx(te, { url: t ?
|
|
3768
|
+
}, n = /* @__PURE__ */ I.jsx(te, { url: t ? gc : Nc });
|
|
3777
3769
|
return /* @__PURE__ */ I.jsx(
|
|
3778
3770
|
Pe,
|
|
3779
3771
|
{
|
|
@@ -3791,19 +3783,19 @@ function Tc() {
|
|
|
3791
3783
|
function Ec() {
|
|
3792
3784
|
return /* @__PURE__ */ I.jsx("svg", { width: "20", height: "19", viewBox: "0 0 20 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ I.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.0016 17.0007C14.1438 17.0007 17.5016 13.6428 17.5016 9.50065C17.5016 5.35852 14.1438 2.00065 10.0016 2.00065C5.85949 2.00065 2.50163 5.35852 2.50163 9.50065C2.50163 13.6428 5.85949 17.0007 10.0016 17.0007ZM19.1683 9.50065C19.1683 14.5632 15.0642 18.6673 10.0016 18.6673C4.93902 18.6673 0.834961 14.5632 0.834961 9.50065C0.834961 4.43804 4.93902 0.333984 10.0016 0.333984C15.0642 0.333985 19.1683 4.43804 19.1683 9.50065ZM6.17119 12.1526L8.82313 9.50065L6.17119 6.84872L7.34969 5.67021L10.0016 8.32215L12.653 5.67078L13.8315 6.84929L11.1801 9.50065L13.8315 12.152L12.653 13.3306L10.0016 10.6792L7.34969 13.3311L6.17119 12.1526Z", fill: "#E54545" }) });
|
|
3793
3785
|
}
|
|
3794
|
-
function
|
|
3786
|
+
function hc() {
|
|
3795
3787
|
return /* @__PURE__ */ I.jsxs("svg", { width: "20", height: "19", viewBox: "0 0 20 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3796
3788
|
/* @__PURE__ */ I.jsx("path", { d: "M5.58317 9.57612L9.17951 13.2052L14.6332 7.05264L13.5732 6.16634L8.97764 10.4388L6.42478 8.66748L5.58317 9.57612Z", fill: "#0ABF77" }),
|
|
3797
3789
|
/* @__PURE__ */ I.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.1663 9.49967C19.1663 14.5623 15.0623 18.6663 9.99967 18.6663C4.93706 18.6663 0.833008 14.5623 0.833008 9.49967C0.833008 4.43706 4.93706 0.333008 9.99967 0.333008C15.0623 0.333008 19.1663 4.43706 19.1663 9.49967ZM17.4997 9.49967C17.4997 13.6418 14.1418 16.9997 9.99967 16.9997C5.85754 16.9997 2.49967 13.6418 2.49967 9.49967C2.49967 5.35754 5.85754 1.99967 9.99967 1.99967C14.1418 1.99967 17.4997 5.35754 17.4997 9.49967Z", fill: "#0ABF77" })
|
|
3798
3790
|
] });
|
|
3799
3791
|
}
|
|
3800
|
-
function
|
|
3792
|
+
function fc() {
|
|
3801
3793
|
return /* @__PURE__ */ I.jsx("svg", { width: "20", height: "19", viewBox: "0 0 20 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ I.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.99967 1.9987C14.1418 1.9987 17.4997 5.35653 17.4997 9.4987C17.4997 13.6408 14.1418 16.9987 9.99967 16.9987C5.85754 16.9987 2.49967 13.6408 2.49967 9.4987C2.49967 5.35653 5.85754 1.9987 9.99967 1.9987ZM19.1663 9.4987C19.1663 4.43612 15.0623 0.332031 9.99967 0.332031C4.93707 0.332031 0.833008 4.43612 0.833008 9.4987C0.833008 14.5613 4.93707 18.6654 9.99967 18.6654C15.0623 18.6654 19.1663 14.5613 19.1663 9.4987ZM9.16634 4.91536V11.1654H10.833V4.91536H9.16634ZM10.833 12.4154H9.16309V14.0853H10.833V12.4154Z", fill: "#FF7200" }) });
|
|
3802
3794
|
}
|
|
3803
3795
|
const pc = {
|
|
3804
3796
|
info: /* @__PURE__ */ I.jsx(Tc, {}),
|
|
3805
|
-
waring: /* @__PURE__ */ I.jsx(
|
|
3806
|
-
success: /* @__PURE__ */ I.jsx(
|
|
3797
|
+
waring: /* @__PURE__ */ I.jsx(fc, {}),
|
|
3798
|
+
success: /* @__PURE__ */ I.jsx(hc, {}),
|
|
3807
3799
|
error: /* @__PURE__ */ I.jsx(Ec, {})
|
|
3808
3800
|
};
|
|
3809
3801
|
function Yr(t) {
|
|
@@ -3818,21 +3810,21 @@ function Yr(t) {
|
|
|
3818
3810
|
className: s,
|
|
3819
3811
|
children: u,
|
|
3820
3812
|
plaintext: M = !1,
|
|
3821
|
-
onClose:
|
|
3822
|
-
} = t,
|
|
3813
|
+
onClose: N = () => null
|
|
3814
|
+
} = t, g = at(), T = R([
|
|
3823
3815
|
s,
|
|
3824
3816
|
`${W}-message-container`,
|
|
3825
3817
|
{ [`${W}-message-plaintext`]: M }
|
|
3826
3818
|
]);
|
|
3827
|
-
P(() => (
|
|
3828
|
-
|
|
3819
|
+
P(() => (g.current && clearTimeout(g.current), a > 0 && (g.current = setTimeout(() => {
|
|
3820
|
+
N == null || N();
|
|
3829
3821
|
}, a)), () => {
|
|
3830
|
-
|
|
3831
|
-
}), [a,
|
|
3822
|
+
g && clearTimeout(g.current);
|
|
3823
|
+
}), [a, N]);
|
|
3832
3824
|
const D = () => e || /* @__PURE__ */ I.jsx(I.Fragment, { children: pc[i] }), E = () => o || /* @__PURE__ */ I.jsx(
|
|
3833
3825
|
te,
|
|
3834
3826
|
{
|
|
3835
|
-
onClick:
|
|
3827
|
+
onClick: N,
|
|
3836
3828
|
className: R([
|
|
3837
3829
|
`${W}-message-icon`,
|
|
3838
3830
|
"close-icon"
|
|
@@ -3853,35 +3845,35 @@ const ne = Tt({}), Fr = Tt({}), Mi = Tt({
|
|
|
3853
3845
|
}), be = Tt({
|
|
3854
3846
|
localUserInfo: { userId: "" },
|
|
3855
3847
|
remoteList: []
|
|
3856
|
-
}), Gr = Tt(!1), Yn = Tt({}), Zr = Tt({ t:
|
|
3848
|
+
}), Gr = Tt(!1), Yn = Tt({}), Zr = Tt({ t: h.getData(A.CALL, c.TRANSLATE) });
|
|
3857
3849
|
function _e() {
|
|
3858
3850
|
return k(Zr);
|
|
3859
3851
|
}
|
|
3860
|
-
const
|
|
3852
|
+
const ga = (t) => {
|
|
3861
3853
|
const [e, n] = w([]), [a, i] = w(), r = (l) => {
|
|
3862
3854
|
var s, u, M;
|
|
3863
3855
|
switch (t) {
|
|
3864
|
-
case
|
|
3856
|
+
case he.CAMERA:
|
|
3865
3857
|
n((l == null ? void 0 : l.cameraList) || []), i(((s = l == null ? void 0 : l.currentCamera) == null ? void 0 : s.deviceId) || "");
|
|
3866
3858
|
break;
|
|
3867
|
-
case
|
|
3859
|
+
case he.MICROPHONE:
|
|
3868
3860
|
i(((u = l == null ? void 0 : l.currentMicrophone) == null ? void 0 : u.deviceId) || ""), n((l == null ? void 0 : l.microphoneList) || []);
|
|
3869
3861
|
break;
|
|
3870
|
-
case
|
|
3862
|
+
case he.SPEAKER:
|
|
3871
3863
|
i(((M = l == null ? void 0 : l.currentSpeaker) == null ? void 0 : M.deviceId) || ""), n((l == null ? void 0 : l.speakerList) || []);
|
|
3872
3864
|
break;
|
|
3873
3865
|
}
|
|
3874
3866
|
}, o = {
|
|
3875
3867
|
[c.DEVICE_LIST]: r
|
|
3876
3868
|
};
|
|
3877
|
-
return P(() => (
|
|
3869
|
+
return P(() => (h.watch(
|
|
3878
3870
|
A.CALL,
|
|
3879
3871
|
o,
|
|
3880
3872
|
{
|
|
3881
3873
|
notifyRangeWhenWatch: c.MYSELF
|
|
3882
3874
|
}
|
|
3883
3875
|
), () => {
|
|
3884
|
-
|
|
3876
|
+
h.unwatch(
|
|
3885
3877
|
A.CALL,
|
|
3886
3878
|
o
|
|
3887
3879
|
);
|
|
@@ -3891,19 +3883,19 @@ function Ii() {
|
|
|
3891
3883
|
const [
|
|
3892
3884
|
t,
|
|
3893
3885
|
e
|
|
3894
|
-
] = w(
|
|
3886
|
+
] = w(h.getData(A.CALL, c.CALL_DURATION)), n = (i) => {
|
|
3895
3887
|
e(i);
|
|
3896
3888
|
}, a = {
|
|
3897
3889
|
[c.CALL_DURATION]: n
|
|
3898
3890
|
};
|
|
3899
|
-
return P(() => (
|
|
3891
|
+
return P(() => (h.watch(
|
|
3900
3892
|
A.CALL,
|
|
3901
3893
|
a,
|
|
3902
3894
|
{
|
|
3903
3895
|
notifyRangeWhenWatch: c.MYSELF
|
|
3904
3896
|
}
|
|
3905
3897
|
), () => {
|
|
3906
|
-
|
|
3898
|
+
h.unwatch(
|
|
3907
3899
|
A.CALL,
|
|
3908
3900
|
a
|
|
3909
3901
|
);
|
|
@@ -3913,33 +3905,33 @@ function Wr(t) {
|
|
|
3913
3905
|
const { className: e, style: n } = t, [a, i] = w(null), [r, o] = w(!0), [l, s] = w(0), { t: u } = _e(), M = R([
|
|
3914
3906
|
e
|
|
3915
3907
|
]);
|
|
3916
|
-
function
|
|
3908
|
+
function N(T) {
|
|
3917
3909
|
if (typeof T == "object") {
|
|
3918
3910
|
const { text: D = "", duration: E = 0 } = T;
|
|
3919
3911
|
i(D), s(E);
|
|
3920
3912
|
} else
|
|
3921
3913
|
i(T);
|
|
3922
3914
|
}
|
|
3923
|
-
const
|
|
3915
|
+
const g = se(() => {
|
|
3924
3916
|
if (typeof u == "function" && a !== null)
|
|
3925
3917
|
return u(a);
|
|
3926
3918
|
}, [u, a]);
|
|
3927
|
-
return P(() => (
|
|
3919
|
+
return P(() => (h.watch(
|
|
3928
3920
|
A.CALL,
|
|
3929
3921
|
{
|
|
3930
|
-
[c.CALL_TIPS]:
|
|
3922
|
+
[c.CALL_TIPS]: N
|
|
3931
3923
|
},
|
|
3932
3924
|
{
|
|
3933
3925
|
notifyRangeWhenWatch: c.MYSELF
|
|
3934
3926
|
}
|
|
3935
3927
|
), () => {
|
|
3936
|
-
|
|
3928
|
+
h.unwatch(
|
|
3937
3929
|
A.CALL,
|
|
3938
3930
|
{
|
|
3939
|
-
[c.CALL_TIPS]:
|
|
3931
|
+
[c.CALL_TIPS]: N
|
|
3940
3932
|
}
|
|
3941
3933
|
);
|
|
3942
|
-
}), []), /* @__PURE__ */ I.jsx("div", { className: M, style: n, children: r && /* @__PURE__ */ I.jsx(Yr, { style: { whiteSpace: "nowrap" }, duration: l, onClose: () => o(!1), plaintext: !0, children:
|
|
3934
|
+
}), []), /* @__PURE__ */ I.jsx("div", { className: M, style: n, children: r && /* @__PURE__ */ I.jsx(Yr, { style: { whiteSpace: "nowrap" }, duration: l, onClose: () => o(!1), plaintext: !0, children: g }) });
|
|
3943
3935
|
}
|
|
3944
3936
|
const Wi = {
|
|
3945
3937
|
"top-bar-container": "_top-bar-container_1m8fv_1",
|
|
@@ -4159,19 +4151,19 @@ function An(t, e, n) {
|
|
|
4159
4151
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
4160
4152
|
var a = t.getBoundingClientRect(), i = 1, r = 1;
|
|
4161
4153
|
e && Fe(t) && (i = t.offsetWidth > 0 && dn(a.width) / t.offsetWidth || 1, r = t.offsetHeight > 0 && dn(a.height) / t.offsetHeight || 1);
|
|
4162
|
-
var o = Kt(t) ? Re(t) : window, l = o.visualViewport, s = !$r() && n, u = (a.left + (s && l ? l.offsetLeft : 0)) / i, M = (a.top + (s && l ? l.offsetTop : 0)) / r,
|
|
4154
|
+
var o = Kt(t) ? Re(t) : window, l = o.visualViewport, s = !$r() && n, u = (a.left + (s && l ? l.offsetLeft : 0)) / i, M = (a.top + (s && l ? l.offsetTop : 0)) / r, N = a.width / i, g = a.height / r;
|
|
4163
4155
|
return {
|
|
4164
|
-
width:
|
|
4165
|
-
height:
|
|
4156
|
+
width: N,
|
|
4157
|
+
height: g,
|
|
4166
4158
|
top: M,
|
|
4167
|
-
right: u +
|
|
4168
|
-
bottom: M +
|
|
4159
|
+
right: u + N,
|
|
4160
|
+
bottom: M + g,
|
|
4169
4161
|
left: u,
|
|
4170
4162
|
x: u,
|
|
4171
4163
|
y: M
|
|
4172
4164
|
};
|
|
4173
4165
|
}
|
|
4174
|
-
function
|
|
4166
|
+
function Ni(t) {
|
|
4175
4167
|
var e = An(t), n = t.offsetWidth, a = t.offsetHeight;
|
|
4176
4168
|
return Math.abs(e.width - n) <= 1 && (n = e.width), Math.abs(e.height - a) <= 1 && (a = e.height), {
|
|
4177
4169
|
x: t.offsetLeft,
|
|
@@ -4243,7 +4235,7 @@ function Gn(t) {
|
|
|
4243
4235
|
n = Xi(n);
|
|
4244
4236
|
return n && (rt(n) === "html" || rt(n) === "body" && Dt(n).position === "static") ? e : n || Xc(t) || e;
|
|
4245
4237
|
}
|
|
4246
|
-
function
|
|
4238
|
+
function gi(t) {
|
|
4247
4239
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
4248
4240
|
}
|
|
4249
4241
|
function wn(t, e, n) {
|
|
@@ -4275,9 +4267,9 @@ var $c = function(e, n) {
|
|
|
4275
4267
|
})) : e, to(typeof e != "number" ? e : no(e, Fn));
|
|
4276
4268
|
};
|
|
4277
4269
|
function qc(t) {
|
|
4278
|
-
var e, n = t.state, a = t.name, i = t.options, r = n.elements.arrow, o = n.modifiersData.popperOffsets, l = it(n.placement), s =
|
|
4270
|
+
var e, n = t.state, a = t.name, i = t.options, r = n.elements.arrow, o = n.modifiersData.popperOffsets, l = it(n.placement), s = gi(l), u = [Ue, We].indexOf(l) >= 0, M = u ? "height" : "width";
|
|
4279
4271
|
if (!(!r || !o)) {
|
|
4280
|
-
var
|
|
4272
|
+
var N = $c(i.padding, n), g = Ni(r), T = s === "y" ? we : Ue, D = s === "y" ? Ze : We, E = n.rects.reference[M] + n.rects.reference[s] - o[s] - n.rects.popper[M], p = o[s] - n.rects.reference[s], f = Gn(r), j = f ? s === "y" ? f.clientHeight || 0 : f.clientWidth || 0 : 0, m = E / 2 - p / 2, L = N[T], S = j - g[M] - N[D], y = j / 2 - g[M] / 2 + m, U = wn(L, y, S), b = s;
|
|
4281
4273
|
n.modifiersData[a] = (e = {}, e[b] = U, e.centerOffset = U - y, e);
|
|
4282
4274
|
}
|
|
4283
4275
|
}
|
|
@@ -4294,7 +4286,7 @@ const tl = {
|
|
|
4294
4286
|
requires: ["popperOffsets"],
|
|
4295
4287
|
requiresIfExists: ["preventOverflow"]
|
|
4296
4288
|
};
|
|
4297
|
-
function
|
|
4289
|
+
function Nn(t) {
|
|
4298
4290
|
return t.split("-")[1];
|
|
4299
4291
|
}
|
|
4300
4292
|
var nl = {
|
|
@@ -4311,7 +4303,7 @@ function al(t, e) {
|
|
|
4311
4303
|
};
|
|
4312
4304
|
}
|
|
4313
4305
|
function Ki(t) {
|
|
4314
|
-
var e, n = t.popper, a = t.popperRect, i = t.placement, r = t.variation, o = t.offsets, l = t.position, s = t.gpuAcceleration, u = t.adaptive, M = t.roundOffsets,
|
|
4306
|
+
var e, n = t.popper, a = t.popperRect, i = t.placement, r = t.variation, o = t.offsets, l = t.position, s = t.gpuAcceleration, u = t.adaptive, M = t.roundOffsets, N = t.isFixed, g = o.x, T = g === void 0 ? 0 : g, D = o.y, E = D === void 0 ? 0 : D, p = typeof M == "function" ? M({
|
|
4315
4307
|
x: T,
|
|
4316
4308
|
y: E
|
|
4317
4309
|
}) : {
|
|
@@ -4319,12 +4311,12 @@ function Ki(t) {
|
|
|
4319
4311
|
y: E
|
|
4320
4312
|
};
|
|
4321
4313
|
T = p.x, E = p.y;
|
|
4322
|
-
var
|
|
4314
|
+
var f = o.hasOwnProperty("x"), j = o.hasOwnProperty("y"), m = Ue, L = we, S = window;
|
|
4323
4315
|
if (u) {
|
|
4324
4316
|
var y = Gn(n), U = "clientHeight", b = "clientWidth";
|
|
4325
4317
|
if (y === Re(n) && (y = vt(n), Dt(y).position !== "static" && l === "absolute" && (U = "scrollHeight", b = "scrollWidth")), y = y, i === we || (i === Ue || i === We) && r === Rn) {
|
|
4326
4318
|
L = Ze;
|
|
4327
|
-
var B =
|
|
4319
|
+
var B = N && y === S && S.visualViewport ? S.visualViewport.height : (
|
|
4328
4320
|
// $FlowFixMe[prop-missing]
|
|
4329
4321
|
y[U]
|
|
4330
4322
|
);
|
|
@@ -4332,7 +4324,7 @@ function Ki(t) {
|
|
|
4332
4324
|
}
|
|
4333
4325
|
if (i === Ue || (i === we || i === Ze) && r === Rn) {
|
|
4334
4326
|
m = We;
|
|
4335
|
-
var F =
|
|
4327
|
+
var F = N && y === S && S.visualViewport ? S.visualViewport.width : (
|
|
4336
4328
|
// $FlowFixMe[prop-missing]
|
|
4337
4329
|
y[b]
|
|
4338
4330
|
);
|
|
@@ -4350,14 +4342,14 @@ function Ki(t) {
|
|
|
4350
4342
|
};
|
|
4351
4343
|
if (T = ue.x, E = ue.y, s) {
|
|
4352
4344
|
var K;
|
|
4353
|
-
return Object.assign({}, ae, (K = {}, K[L] = j ? "0" : "", K[m] =
|
|
4345
|
+
return Object.assign({}, ae, (K = {}, K[L] = j ? "0" : "", K[m] = f ? "0" : "", K.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + T + "px, " + E + "px)" : "translate3d(" + T + "px, " + E + "px, 0)", K));
|
|
4354
4346
|
}
|
|
4355
|
-
return Object.assign({}, ae, (e = {}, e[L] = j ? E + "px" : "", e[m] =
|
|
4347
|
+
return Object.assign({}, ae, (e = {}, e[L] = j ? E + "px" : "", e[m] = f ? T + "px" : "", e.transform = "", e));
|
|
4356
4348
|
}
|
|
4357
4349
|
function il(t) {
|
|
4358
4350
|
var e = t.state, n = t.options, a = n.gpuAcceleration, i = a === void 0 ? !0 : a, r = n.adaptive, o = r === void 0 ? !0 : r, l = n.roundOffsets, s = l === void 0 ? !0 : l, u = {
|
|
4359
4351
|
placement: it(e.placement),
|
|
4360
|
-
variation:
|
|
4352
|
+
variation: Nn(e.placement),
|
|
4361
4353
|
popper: e.elements.popper,
|
|
4362
4354
|
popperRect: e.rects.popper,
|
|
4363
4355
|
gpuAcceleration: i,
|
|
@@ -4504,7 +4496,7 @@ function Al(t, e, n, a) {
|
|
|
4504
4496
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
4505
4497
|
}
|
|
4506
4498
|
function io(t) {
|
|
4507
|
-
var e = t.reference, n = t.element, a = t.placement, i = a ? it(a) : null, r = a ?
|
|
4499
|
+
var e = t.reference, n = t.element, a = t.placement, i = a ? it(a) : null, r = a ? Nn(a) : null, o = e.x + e.width / 2 - n.width / 2, l = e.y + e.height / 2 - n.height / 2, s;
|
|
4508
4500
|
switch (i) {
|
|
4509
4501
|
case we:
|
|
4510
4502
|
s = {
|
|
@@ -4536,7 +4528,7 @@ function io(t) {
|
|
|
4536
4528
|
y: e.y
|
|
4537
4529
|
};
|
|
4538
4530
|
}
|
|
4539
|
-
var u = i ?
|
|
4531
|
+
var u = i ? gi(i) : null;
|
|
4540
4532
|
if (u != null) {
|
|
4541
4533
|
var M = u === "y" ? "height" : "width";
|
|
4542
4534
|
switch (r) {
|
|
@@ -4552,18 +4544,18 @@ function io(t) {
|
|
|
4552
4544
|
}
|
|
4553
4545
|
function bn(t, e) {
|
|
4554
4546
|
e === void 0 && (e = {});
|
|
4555
|
-
var n = e, a = n.placement, i = a === void 0 ? t.placement : a, r = n.strategy, o = r === void 0 ? t.strategy : r, l = n.boundary, s = l === void 0 ? vc : l, u = n.rootBoundary, M = u === void 0 ? Xr : u,
|
|
4547
|
+
var n = e, a = n.placement, i = a === void 0 ? t.placement : a, r = n.strategy, o = r === void 0 ? t.strategy : r, l = n.boundary, s = l === void 0 ? vc : l, u = n.rootBoundary, M = u === void 0 ? Xr : u, N = n.elementContext, g = N === void 0 ? Ln : N, T = n.altBoundary, D = T === void 0 ? !1 : T, E = n.padding, p = E === void 0 ? 0 : E, f = to(typeof p != "number" ? p : no(p, Fn)), j = g === Ln ? Rc : Ln, m = t.rects.popper, L = t.elements[D ? j : g], S = Al(Kt(L) ? L : L.contextElement || vt(t.elements.popper), s, M, o), y = An(t.elements.reference), U = io({
|
|
4556
4548
|
reference: y,
|
|
4557
4549
|
element: m,
|
|
4558
4550
|
strategy: "absolute",
|
|
4559
4551
|
placement: i
|
|
4560
|
-
}), b = Pa(Object.assign({}, m, U)), B =
|
|
4561
|
-
top: S.top - B.top +
|
|
4562
|
-
bottom: B.bottom - S.bottom +
|
|
4563
|
-
left: S.left - B.left +
|
|
4564
|
-
right: B.right - S.right +
|
|
4552
|
+
}), b = Pa(Object.assign({}, m, U)), B = g === Ln ? b : y, F = {
|
|
4553
|
+
top: S.top - B.top + f.top,
|
|
4554
|
+
bottom: B.bottom - S.bottom + f.bottom,
|
|
4555
|
+
left: S.left - B.left + f.left,
|
|
4556
|
+
right: B.right - S.right + f.right
|
|
4565
4557
|
}, ae = t.modifiersData.offset;
|
|
4566
|
-
if (
|
|
4558
|
+
if (g === Ln && ae) {
|
|
4567
4559
|
var ue = ae[i];
|
|
4568
4560
|
Object.keys(F).forEach(function(K) {
|
|
4569
4561
|
var ce = [We, Ze].indexOf(K) >= 0 ? 1 : -1, Ae = [we, Ze].indexOf(K) >= 0 ? "y" : "x";
|
|
@@ -4572,15 +4564,15 @@ function bn(t, e) {
|
|
|
4572
4564
|
}
|
|
4573
4565
|
return F;
|
|
4574
4566
|
}
|
|
4575
|
-
function
|
|
4567
|
+
function Nl(t, e) {
|
|
4576
4568
|
e === void 0 && (e = {});
|
|
4577
|
-
var n = e, a = n.placement, i = n.boundary, r = n.rootBoundary, o = n.padding, l = n.flipVariations, s = n.allowedAutoPlacements, u = s === void 0 ? Kr : s, M =
|
|
4578
|
-
return
|
|
4579
|
-
}) : Fn,
|
|
4569
|
+
var n = e, a = n.placement, i = n.boundary, r = n.rootBoundary, o = n.padding, l = n.flipVariations, s = n.allowedAutoPlacements, u = s === void 0 ? Kr : s, M = Nn(a), N = M ? l ? Ji : Ji.filter(function(D) {
|
|
4570
|
+
return Nn(D) === M;
|
|
4571
|
+
}) : Fn, g = N.filter(function(D) {
|
|
4580
4572
|
return u.indexOf(D) >= 0;
|
|
4581
4573
|
});
|
|
4582
|
-
|
|
4583
|
-
var T =
|
|
4574
|
+
g.length === 0 && (g = N);
|
|
4575
|
+
var T = g.reduce(function(D, E) {
|
|
4584
4576
|
return D[E] = bn(t, {
|
|
4585
4577
|
placement: E,
|
|
4586
4578
|
boundary: i,
|
|
@@ -4592,7 +4584,7 @@ function gl(t, e) {
|
|
|
4592
4584
|
return T[D] - T[E];
|
|
4593
4585
|
});
|
|
4594
4586
|
}
|
|
4595
|
-
function
|
|
4587
|
+
function gl(t) {
|
|
4596
4588
|
if (it(t) === di)
|
|
4597
4589
|
return [];
|
|
4598
4590
|
var e = ia(t);
|
|
@@ -4601,21 +4593,21 @@ function Nl(t) {
|
|
|
4601
4593
|
function Dl(t) {
|
|
4602
4594
|
var e = t.state, n = t.options, a = t.name;
|
|
4603
4595
|
if (!e.modifiersData[a]._skip) {
|
|
4604
|
-
for (var i = n.mainAxis, r = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, u = n.padding, M = n.boundary,
|
|
4605
|
-
return qe.concat(it(Ve) === di ?
|
|
4596
|
+
for (var i = n.mainAxis, r = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, u = n.padding, M = n.boundary, N = n.rootBoundary, g = n.altBoundary, T = n.flipVariations, D = T === void 0 ? !0 : T, E = n.allowedAutoPlacements, p = e.options.placement, f = it(p), j = f === p, m = s || (j || !D ? [ia(p)] : gl(p)), L = [p].concat(m).reduce(function(qe, Ve) {
|
|
4597
|
+
return qe.concat(it(Ve) === di ? Nl(e, {
|
|
4606
4598
|
placement: Ve,
|
|
4607
4599
|
boundary: M,
|
|
4608
|
-
rootBoundary:
|
|
4600
|
+
rootBoundary: N,
|
|
4609
4601
|
padding: u,
|
|
4610
4602
|
flipVariations: D,
|
|
4611
4603
|
allowedAutoPlacements: E
|
|
4612
4604
|
}) : Ve);
|
|
4613
4605
|
}, []), S = e.rects.reference, y = e.rects.popper, U = /* @__PURE__ */ new Map(), b = !0, B = L[0], F = 0; F < L.length; F++) {
|
|
4614
|
-
var ae = L[F], ue = it(ae), K =
|
|
4606
|
+
var ae = L[F], ue = it(ae), K = Nn(ae) === In, ce = [we, Ze].indexOf(ue) >= 0, Ae = ce ? "width" : "height", ie = bn(e, {
|
|
4615
4607
|
placement: ae,
|
|
4616
4608
|
boundary: M,
|
|
4617
|
-
rootBoundary:
|
|
4618
|
-
altBoundary:
|
|
4609
|
+
rootBoundary: N,
|
|
4610
|
+
altBoundary: g,
|
|
4619
4611
|
padding: u
|
|
4620
4612
|
}), De = ce ? K ? We : Ue : K ? Ze : we;
|
|
4621
4613
|
S[Ae] > y[Ae] && (De = ia(De));
|
|
@@ -4629,7 +4621,7 @@ function Dl(t) {
|
|
|
4629
4621
|
U.set(ae, ke);
|
|
4630
4622
|
}
|
|
4631
4623
|
if (b)
|
|
4632
|
-
for (var st = D ? 3 : 1,
|
|
4624
|
+
for (var st = D ? 3 : 1, ft = function(Ve) {
|
|
4633
4625
|
var He = L.find(function(et) {
|
|
4634
4626
|
var me = U.get(et);
|
|
4635
4627
|
if (me)
|
|
@@ -4640,7 +4632,7 @@ function Dl(t) {
|
|
|
4640
4632
|
if (He)
|
|
4641
4633
|
return B = He, "break";
|
|
4642
4634
|
}, $e = st; $e > 0; $e--) {
|
|
4643
|
-
var ye =
|
|
4635
|
+
var ye = ft($e);
|
|
4644
4636
|
if (ye === "break")
|
|
4645
4637
|
break;
|
|
4646
4638
|
}
|
|
@@ -4678,25 +4670,25 @@ function El(t) {
|
|
|
4678
4670
|
elementContext: "reference"
|
|
4679
4671
|
}), l = bn(e, {
|
|
4680
4672
|
altBoundary: !0
|
|
4681
|
-
}), s = er(o, a), u = er(l, i, r), M = tr(s),
|
|
4673
|
+
}), s = er(o, a), u = er(l, i, r), M = tr(s), N = tr(u);
|
|
4682
4674
|
e.modifiersData[n] = {
|
|
4683
4675
|
referenceClippingOffsets: s,
|
|
4684
4676
|
popperEscapeOffsets: u,
|
|
4685
4677
|
isReferenceHidden: M,
|
|
4686
|
-
hasPopperEscaped:
|
|
4678
|
+
hasPopperEscaped: N
|
|
4687
4679
|
}, e.attributes.popper = Object.assign({}, e.attributes.popper, {
|
|
4688
4680
|
"data-popper-reference-hidden": M,
|
|
4689
|
-
"data-popper-escaped":
|
|
4681
|
+
"data-popper-escaped": N
|
|
4690
4682
|
});
|
|
4691
4683
|
}
|
|
4692
|
-
const
|
|
4684
|
+
const hl = {
|
|
4693
4685
|
name: "hide",
|
|
4694
4686
|
enabled: !0,
|
|
4695
4687
|
phase: "main",
|
|
4696
4688
|
requiresIfExists: ["preventOverflow"],
|
|
4697
4689
|
fn: El
|
|
4698
4690
|
};
|
|
4699
|
-
function
|
|
4691
|
+
function fl(t, e, n) {
|
|
4700
4692
|
var a = it(t), i = [Ue, we].indexOf(a) >= 0 ? -1 : 1, r = typeof n == "function" ? n(Object.assign({}, e, {
|
|
4701
4693
|
placement: t
|
|
4702
4694
|
})) : n, o = r[0], l = r[1];
|
|
@@ -4709,8 +4701,8 @@ function hl(t, e, n) {
|
|
|
4709
4701
|
};
|
|
4710
4702
|
}
|
|
4711
4703
|
function pl(t) {
|
|
4712
|
-
var e = t.state, n = t.options, a = t.name, i = n.offset, r = i === void 0 ? [0, 0] : i, o = Kr.reduce(function(M,
|
|
4713
|
-
return M[
|
|
4704
|
+
var e = t.state, n = t.options, a = t.name, i = n.offset, r = i === void 0 ? [0, 0] : i, o = Kr.reduce(function(M, N) {
|
|
4705
|
+
return M[N] = fl(N, e.rects, r), M;
|
|
4714
4706
|
}, {}), l = o[e.placement], s = l.x, u = l.y;
|
|
4715
4707
|
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += s, e.modifiersData.popperOffsets.y += u), e.modifiersData[a] = o;
|
|
4716
4708
|
}
|
|
@@ -4741,12 +4733,12 @@ function yl(t) {
|
|
|
4741
4733
|
return t === "x" ? "y" : "x";
|
|
4742
4734
|
}
|
|
4743
4735
|
function ml(t) {
|
|
4744
|
-
var e = t.state, n = t.options, a = t.name, i = n.mainAxis, r = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !1 : o, s = n.boundary, u = n.rootBoundary, M = n.altBoundary,
|
|
4736
|
+
var e = t.state, n = t.options, a = t.name, i = n.mainAxis, r = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !1 : o, s = n.boundary, u = n.rootBoundary, M = n.altBoundary, N = n.padding, g = n.tether, T = g === void 0 ? !0 : g, D = n.tetherOffset, E = D === void 0 ? 0 : D, p = bn(e, {
|
|
4745
4737
|
boundary: s,
|
|
4746
4738
|
rootBoundary: u,
|
|
4747
|
-
padding:
|
|
4739
|
+
padding: N,
|
|
4748
4740
|
altBoundary: M
|
|
4749
|
-
}),
|
|
4741
|
+
}), f = it(e.placement), j = Nn(e.placement), m = !j, L = gi(f), S = yl(L), y = e.modifiersData.popperOffsets, U = e.rects.reference, b = e.rects.popper, B = typeof E == "function" ? E(Object.assign({}, e.rects, {
|
|
4750
4742
|
placement: e.placement
|
|
4751
4743
|
})) : E, F = typeof B == "number" ? {
|
|
4752
4744
|
mainAxis: B,
|
|
@@ -4760,14 +4752,14 @@ function ml(t) {
|
|
|
4760
4752
|
};
|
|
4761
4753
|
if (y) {
|
|
4762
4754
|
if (r) {
|
|
4763
|
-
var K, ce = L === "y" ? we : Ue, Ae = L === "y" ? Ze : We, ie = L === "y" ? "height" : "width", De = y[L], ot = De + p[ce], ke = De - p[Ae], st = T ? -b[ie] / 2 : 0,
|
|
4755
|
+
var K, ce = L === "y" ? we : Ue, Ae = L === "y" ? Ze : We, ie = L === "y" ? "height" : "width", De = y[L], ot = De + p[ce], ke = De - p[Ae], st = T ? -b[ie] / 2 : 0, ft = j === In ? U[ie] : b[ie], $e = j === In ? -b[ie] : -U[ie], ye = e.elements.arrow, qe = T && ye ? Ni(ye) : {
|
|
4764
4756
|
width: 0,
|
|
4765
4757
|
height: 0
|
|
4766
|
-
}, Ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eo(), He = Ve[ce], et = Ve[Ae], me = wn(0, U[ie], qe[ie]), ct = m ? U[ie] / 2 - st - me - He - F.mainAxis :
|
|
4758
|
+
}, Ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eo(), He = Ve[ce], et = Ve[Ae], me = wn(0, U[ie], qe[ie]), ct = m ? U[ie] / 2 - st - me - He - F.mainAxis : ft - me - He - F.mainAxis, pt = m ? -U[ie] / 2 + st + me + et + F.mainAxis : $e + me + et + F.mainAxis, Rt = e.elements.arrow && Gn(e.elements.arrow), tn = Rt ? L === "y" ? Rt.clientTop || 0 : Rt.clientLeft || 0 : 0, nn = (K = ae == null ? void 0 : ae[L]) != null ? K : 0, En = De + ct - nn - tn, lt = De + pt - nn, tt = wn(T ? da(ot, En) : ot, De, T ? Jt(ke, lt) : ke);
|
|
4767
4759
|
y[L] = tt, ue[L] = tt - De;
|
|
4768
4760
|
}
|
|
4769
4761
|
if (l) {
|
|
4770
|
-
var bt, an = L === "x" ? we : Ue, jt = L === "x" ? Ze : We, Je = y[S], ut = S === "y" ? "height" : "width", Y = Je + p[an], nt = Je - p[jt], _t = [we, Ue].indexOf(
|
|
4762
|
+
var bt, an = L === "x" ? we : Ue, jt = L === "x" ? Ze : We, Je = y[S], ut = S === "y" ? "height" : "width", Y = Je + p[an], nt = Je - p[jt], _t = [we, Ue].indexOf(f) !== -1, Ct = (bt = ae == null ? void 0 : ae[S]) != null ? bt : 0, hn = _t ? Y : Je - U[ut] - b[ut] - Ct + F.altAxis, Lt = _t ? Je + U[ut] + b[ut] - Ct - F.altAxis : nt, Hn = T && _t ? Kc(hn, Je, Lt) : wn(T ? hn : Y, Je, T ? Lt : nt);
|
|
4771
4763
|
y[S] = Hn, ue[S] = Hn - Je;
|
|
4772
4764
|
}
|
|
4773
4765
|
e.modifiersData[a] = ue;
|
|
@@ -4887,10 +4879,10 @@ function _l(t) {
|
|
|
4887
4879
|
},
|
|
4888
4880
|
attributes: {},
|
|
4889
4881
|
styles: {}
|
|
4890
|
-
},
|
|
4882
|
+
}, N = [], g = !1, T = {
|
|
4891
4883
|
state: M,
|
|
4892
|
-
setOptions: function(
|
|
4893
|
-
var j = typeof
|
|
4884
|
+
setOptions: function(f) {
|
|
4885
|
+
var j = typeof f == "function" ? f(M.options) : f;
|
|
4894
4886
|
E(), M.options = Object.assign({}, r, M.options, j), M.scrollParents = {
|
|
4895
4887
|
reference: Kt(l) ? Un(l) : l.contextElement ? Un(l.contextElement) : [],
|
|
4896
4888
|
popper: Un(s)
|
|
@@ -4906,12 +4898,12 @@ function _l(t) {
|
|
|
4906
4898
|
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
4907
4899
|
// prefer the async Popper#update method
|
|
4908
4900
|
forceUpdate: function() {
|
|
4909
|
-
if (!
|
|
4910
|
-
var
|
|
4901
|
+
if (!g) {
|
|
4902
|
+
var f = M.elements, j = f.reference, m = f.popper;
|
|
4911
4903
|
if (ar(j, m)) {
|
|
4912
4904
|
M.rects = {
|
|
4913
4905
|
reference: zl(j, Gn(m), M.options.strategy === "fixed"),
|
|
4914
|
-
popper:
|
|
4906
|
+
popper: Ni(m)
|
|
4915
4907
|
}, M.reset = !1, M.placement = M.options.placement, M.orderedModifiers.forEach(function(F) {
|
|
4916
4908
|
return M.modifiersData[F.name] = Object.assign({}, F.data);
|
|
4917
4909
|
});
|
|
@@ -4939,38 +4931,38 @@ function _l(t) {
|
|
|
4939
4931
|
});
|
|
4940
4932
|
}),
|
|
4941
4933
|
destroy: function() {
|
|
4942
|
-
E(),
|
|
4934
|
+
E(), g = !0;
|
|
4943
4935
|
}
|
|
4944
4936
|
};
|
|
4945
4937
|
if (!ar(l, s))
|
|
4946
4938
|
return T;
|
|
4947
4939
|
T.setOptions(u).then(function(p) {
|
|
4948
|
-
!
|
|
4940
|
+
!g && u.onFirstUpdate && u.onFirstUpdate(p);
|
|
4949
4941
|
});
|
|
4950
4942
|
function D() {
|
|
4951
4943
|
M.orderedModifiers.forEach(function(p) {
|
|
4952
|
-
var
|
|
4944
|
+
var f = p.name, j = p.options, m = j === void 0 ? {} : j, L = p.effect;
|
|
4953
4945
|
if (typeof L == "function") {
|
|
4954
4946
|
var S = L({
|
|
4955
4947
|
state: M,
|
|
4956
|
-
name:
|
|
4948
|
+
name: f,
|
|
4957
4949
|
instance: T,
|
|
4958
4950
|
options: m
|
|
4959
4951
|
}), y = function() {
|
|
4960
4952
|
};
|
|
4961
|
-
|
|
4953
|
+
N.push(S || y);
|
|
4962
4954
|
}
|
|
4963
4955
|
});
|
|
4964
4956
|
}
|
|
4965
4957
|
function E() {
|
|
4966
|
-
|
|
4958
|
+
N.forEach(function(p) {
|
|
4967
4959
|
return p();
|
|
4968
|
-
}),
|
|
4960
|
+
}), N = [];
|
|
4969
4961
|
}
|
|
4970
4962
|
return T;
|
|
4971
4963
|
};
|
|
4972
4964
|
}
|
|
4973
|
-
var kl = [sl, Ll, rl, Hc, jl, Tl, Sl, tl,
|
|
4965
|
+
var kl = [sl, Ll, rl, Hc, jl, Tl, Sl, tl, hl], Vl = /* @__PURE__ */ _l({
|
|
4974
4966
|
defaultModifiers: kl
|
|
4975
4967
|
}), Ql = typeof Element < "u", Bl = typeof Map == "function", Yl = typeof Set == "function", Fl = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
|
|
4976
4968
|
function ra(t, e) {
|
|
@@ -5086,7 +5078,7 @@ var Wl = [], Pl = function(e, n, a) {
|
|
|
5086
5078
|
requires: ["computeStyles"]
|
|
5087
5079
|
};
|
|
5088
5080
|
}, []), M = Gt.useMemo(function() {
|
|
5089
|
-
var
|
|
5081
|
+
var g = {
|
|
5090
5082
|
onFirstUpdate: r.onFirstUpdate,
|
|
5091
5083
|
placement: r.placement,
|
|
5092
5084
|
strategy: r.strategy,
|
|
@@ -5095,23 +5087,23 @@ var Wl = [], Pl = function(e, n, a) {
|
|
|
5095
5087
|
enabled: !1
|
|
5096
5088
|
}])
|
|
5097
5089
|
};
|
|
5098
|
-
return Zl(i.current,
|
|
5099
|
-
}, [r.onFirstUpdate, r.placement, r.strategy, r.modifiers, u]),
|
|
5090
|
+
return Zl(i.current, g) ? i.current || g : (i.current = g, g);
|
|
5091
|
+
}, [r.onFirstUpdate, r.placement, r.strategy, r.modifiers, u]), N = Gt.useRef();
|
|
5100
5092
|
return Hi(function() {
|
|
5101
|
-
|
|
5093
|
+
N.current && N.current.setOptions(M);
|
|
5102
5094
|
}, [M]), Hi(function() {
|
|
5103
5095
|
if (!(e == null || n == null)) {
|
|
5104
|
-
var
|
|
5105
|
-
return
|
|
5106
|
-
T.destroy(),
|
|
5096
|
+
var g = a.createPopper || Vl, T = g(e, n, M);
|
|
5097
|
+
return N.current = T, function() {
|
|
5098
|
+
T.destroy(), N.current = null;
|
|
5107
5099
|
};
|
|
5108
5100
|
}
|
|
5109
5101
|
}, [e, n, a.createPopper]), {
|
|
5110
|
-
state:
|
|
5102
|
+
state: N.current ? N.current.state : null,
|
|
5111
5103
|
styles: l.styles,
|
|
5112
5104
|
attributes: l.attributes,
|
|
5113
|
-
update:
|
|
5114
|
-
forceUpdate:
|
|
5105
|
+
update: N.current ? N.current.update : null,
|
|
5106
|
+
forceUpdate: N.current ? N.current.forceUpdate : null
|
|
5115
5107
|
};
|
|
5116
5108
|
};
|
|
5117
5109
|
function Hl(t, e) {
|
|
@@ -5229,8 +5221,8 @@ function eu({
|
|
|
5229
5221
|
function o(s) {
|
|
5230
5222
|
return n ? {} : {
|
|
5231
5223
|
onClick: (M) => {
|
|
5232
|
-
var
|
|
5233
|
-
t === "click" && a(!e), (
|
|
5224
|
+
var N, g;
|
|
5225
|
+
t === "click" && a(!e), (g = (N = s.props) == null ? void 0 : N.onClick) == null || g.call(N, M);
|
|
5234
5226
|
},
|
|
5235
5227
|
onTouchStart: () => {
|
|
5236
5228
|
t === "hover" && a(!0);
|
|
@@ -5252,30 +5244,30 @@ function eu({
|
|
|
5252
5244
|
getPopupProps: r
|
|
5253
5245
|
};
|
|
5254
5246
|
}
|
|
5255
|
-
const
|
|
5247
|
+
const hi = ai((t, e) => {
|
|
5256
5248
|
const {
|
|
5257
5249
|
children: n,
|
|
5258
5250
|
content: a,
|
|
5259
5251
|
trigger: i = "hover",
|
|
5260
5252
|
disabled: r = !1,
|
|
5261
5253
|
teleported: o = !0
|
|
5262
|
-
} = t, [l, s] = w(null), [u, M] = w(null), [
|
|
5263
|
-
modifiers: [{ name: "arrow", options: { element:
|
|
5254
|
+
} = t, [l, s] = w(null), [u, M] = w(null), [N, g] = w(null), T = at(null), D = at(), E = at(null), { styles: p } = Pl(l, u, {
|
|
5255
|
+
modifiers: [{ name: "arrow", options: { element: N } }],
|
|
5264
5256
|
placement: "top"
|
|
5265
|
-
}), [
|
|
5257
|
+
}), [f, j] = ql({
|
|
5266
5258
|
props: t,
|
|
5267
5259
|
key: "visible",
|
|
5268
5260
|
onChange: t.onVisibleChange,
|
|
5269
5261
|
defaultOptions: { visible: !1 }
|
|
5270
5262
|
});
|
|
5271
|
-
$l([E], () =>
|
|
5263
|
+
$l([E], () => f && j(!1));
|
|
5272
5264
|
const {
|
|
5273
5265
|
getTriggerNode: m,
|
|
5274
5266
|
getPopupProps: L
|
|
5275
5267
|
} = eu({
|
|
5276
5268
|
trigger: i,
|
|
5277
5269
|
disabled: r,
|
|
5278
|
-
visible:
|
|
5270
|
+
visible: f,
|
|
5279
5271
|
onVisibleChange: j
|
|
5280
5272
|
}), S = Qn(() => {
|
|
5281
5273
|
clearTimeout(D.current), D.current = setTimeout(() => {
|
|
@@ -5295,23 +5287,23 @@ const fi = ai((t, e) => {
|
|
|
5295
5287
|
children: a
|
|
5296
5288
|
}
|
|
5297
5289
|
),
|
|
5298
|
-
/* @__PURE__ */ I.jsx("div", { ref:
|
|
5290
|
+
/* @__PURE__ */ I.jsx("div", { ref: N, style: p.arrow, className: `${Ge}-popup__arrow` })
|
|
5299
5291
|
] }), b = o ? /* @__PURE__ */ I.jsx(Zn, { children: U }) : U;
|
|
5300
5292
|
return /* @__PURE__ */ I.jsxs("div", { ref: E, children: [
|
|
5301
5293
|
y,
|
|
5302
|
-
|
|
5294
|
+
f && b
|
|
5303
5295
|
] });
|
|
5304
|
-
}), tu = "
|
|
5305
|
-
"device-selector-container": "_device-selector-
|
|
5306
|
-
"device-item": "_device-
|
|
5307
|
-
"control-item": "_control-
|
|
5296
|
+
}), tu = "_btn_n6s5h_31", nu = "_select_n6s5h_50", yt = {
|
|
5297
|
+
"device-selector-container": "_device-selector-container_n6s5h_1",
|
|
5298
|
+
"device-item": "_device-item_n6s5h_9",
|
|
5299
|
+
"control-item": "_control-item_n6s5h_20",
|
|
5308
5300
|
btn: tu,
|
|
5309
5301
|
select: nu,
|
|
5310
|
-
"scroll-container": "_scroll-
|
|
5311
|
-
"scroll-content": "_scroll-
|
|
5302
|
+
"scroll-container": "_scroll-container_n6s5h_62",
|
|
5303
|
+
"scroll-content": "_scroll-content_n6s5h_67"
|
|
5312
5304
|
};
|
|
5313
|
-
function
|
|
5314
|
-
const { deviceType: e, isShowControlBtn: n = !0 } = t, { localUserInfo: a } = k(be), { isMuteSpeaker: i } = k(ne), [{ deviceList: r, currentDeviceId: o }, { setCurrentDeviceId: l }] =
|
|
5305
|
+
function fi(t) {
|
|
5306
|
+
const { deviceType: e, isShowControlBtn: n = !0 } = t, { localUserInfo: a } = k(be), { isMuteSpeaker: i } = k(ne), [{ deviceList: r, currentDeviceId: o }, { setCurrentDeviceId: l }] = ga(e), { t: s } = _e(), u = R([
|
|
5315
5307
|
yt["device-item"],
|
|
5316
5308
|
yt["control-item"]
|
|
5317
5309
|
]), M = async (D) => {
|
|
@@ -5323,14 +5315,14 @@ function hi(t) {
|
|
|
5323
5315
|
} catch (E) {
|
|
5324
5316
|
console.debug(E);
|
|
5325
5317
|
}
|
|
5326
|
-
},
|
|
5327
|
-
e ===
|
|
5328
|
-
},
|
|
5329
|
-
if (e ===
|
|
5318
|
+
}, N = async () => {
|
|
5319
|
+
e === he.CAMERA && (a != null && a.isVideoAvailable ? await X.closeCamera() : await X.openCamera("localVideo")), e === he.MICROPHONE && (a != null && a.isAudioAvailable ? await X.closeMicrophone() : await X.openMicrophone()), e === he.SPEAKER && (i ? await X.unMuteSpeaker() : await X.muteSpeaker());
|
|
5320
|
+
}, g = () => {
|
|
5321
|
+
if (e === he.CAMERA)
|
|
5330
5322
|
return a != null && a.isVideoAvailable ? s("close camera") : s("open camera");
|
|
5331
|
-
if (e ===
|
|
5323
|
+
if (e === he.MICROPHONE)
|
|
5332
5324
|
return a != null && a.isAudioAvailable ? s("close microphone") : s("open microphone");
|
|
5333
|
-
if (e ===
|
|
5325
|
+
if (e === he.SPEAKER)
|
|
5334
5326
|
return s(i ? "open speaker" : "close speaker");
|
|
5335
5327
|
};
|
|
5336
5328
|
function T() {
|
|
@@ -5352,12 +5344,12 @@ function hi(t) {
|
|
|
5352
5344
|
}
|
|
5353
5345
|
return /* @__PURE__ */ I.jsxs("div", { className: yt["device-selector-container"], children: [
|
|
5354
5346
|
/* @__PURE__ */ I.jsx("div", { className: yt["scroll-container"], children: /* @__PURE__ */ I.jsx("div", { className: yt["scroll-content"], children: T() }) }),
|
|
5355
|
-
n && /* @__PURE__ */ I.jsx("div", { onClick:
|
|
5347
|
+
n && /* @__PURE__ */ I.jsx("div", { onClick: N, className: u, children: g() })
|
|
5356
5348
|
] });
|
|
5357
5349
|
}
|
|
5358
5350
|
const au = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMCAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00IDE1LjYyNVYxMy43NUg2VjE1LjYyNUM2IDIwLjU5NTYgMTAuMDI5NCAyNC42MjUgMTUgMjQuNjI1QzE5Ljk3MDYgMjQuNjI1IDI0IDIwLjU5NTYgMjQgMTUuNjI1VjEzLjc1SDI2VjE1LjYyNUMyNiAyMS4zNjMgMjEuNjA2NSAyNi4wNzQ5IDE2IDI2LjU4MDJWMzBIMTRWMjYuNTgwMkM4LjM5MzUgMjYuMDc0OSA0IDIxLjM2MyA0IDE1LjYyNVoiIGZpbGw9IiMyMjI2MkUiLz4KPHJlY3QgeD0iOC43NSIgeT0iMS4yNSIgd2lkdGg9IjEyLjUiIGhlaWdodD0iMjAuNjI1IiByeD0iNi4yNSIgZmlsbD0iIzIyMjYyRSIvPgo8L3N2Zz4K", iu = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMCAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04Ljc1IDcuNUM4Ljc1IDQuMDQ4MjIgMTEuNTQ4MiAxLjI1IDE1IDEuMjVDMTYuOTc1OCAxLjI1IDE4LjczNzYgMi4xNjY4NiAxOS44ODI5IDMuNTk4MzRMOC44NzI0OCAxNi44NjI0QzguNzkyMTUgMTYuNDYyNCA4Ljc1IDE2LjA0ODYgOC43NSAxNS42MjVWNy41Wk02LjgwNTY3IDE5LjM1MjNDNi4yODgyNSAxOC4yMTY2IDYgMTYuOTU0NCA2IDE1LjYyNVYxMy43NUg0VjE1LjYyNUM0IDE3LjU4ODIgNC41MTQzMSAxOS40MzEzIDUuNDE1NTUgMjEuMDI2OUw2LjgwNTY3IDE5LjM1MjNaTTkuMjExNzcgMjQuOTgwN0wxMC41MDQ0IDIzLjQyMzVDMTEuODI3MiAyNC4xODc3IDEzLjM2MjUgMjQuNjI1IDE1IDI0LjYyNUMxOS45NzA2IDI0LjYyNSAyNCAyMC41OTU2IDI0IDE1LjYyNVYxMy43NUgyNlYxNS42MjVDMjYgMjEuMzYzIDIxLjYwNjUgMjYuMDc0OSAxNiAyNi41ODAyVjMwSDE0VjI2LjU4MDJDMTIuMjU0MyAyNi40MjI4IDEwLjYyNjIgMjUuODU3NyA5LjIxMTc3IDI0Ljk4MDdaTTEyLjI5ODMgMjEuMjYyNUwyMS4yNSAxMC40Nzg0VjE1LjYyNUMyMS4yNSAxOS4wNzY4IDE4LjQ1MTggMjEuODc1IDE1IDIxLjg3NUMxNC4wMzIzIDIxLjg3NSAxMy4xMTYgMjEuNjU1MSAxMi4yOTgzIDIxLjI2MjVaIiBmaWxsPSJ3aGl0ZSIgc3R5bGU9ImZpbGw6d2hpdGU7ZmlsbDp3aGl0ZTtmaWxsLW9wYWNpdHk6MTsiLz4KPHBhdGggZD0iTTYuNDE4OTUgMjQuMDg0TDIyLjA5MzkgNS4yMDkzOCIgc3Ryb2tlPSJ3aGl0ZSIgc3R5bGU9InN0cm9rZTp3aGl0ZTtzdHJva2U6d2hpdGU7c3Ryb2tlLW9wYWNpdHk6MTsiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K";
|
|
5359
5351
|
function Oe(t) {
|
|
5360
|
-
const { localUserInfo: e } = k(be), n = se(() => e == null ? void 0 : e.isAudioAvailable, [e]), [{ deviceList: a }] =
|
|
5352
|
+
const { localUserInfo: e } = k(be), n = se(() => e == null ? void 0 : e.isAudioAvailable, [e]), [{ deviceList: a }] = ga(he.MICROPHONE), [i, r] = w(!0), { t: o } = _e(), l = Qn(
|
|
5361
5353
|
async () => {
|
|
5362
5354
|
r(!1), n ? await X.closeMicrophone() : await X.openMicrophone(), r(!0);
|
|
5363
5355
|
},
|
|
@@ -5372,9 +5364,9 @@ function Oe(t) {
|
|
|
5372
5364
|
}
|
|
5373
5365
|
]), u = o(n ? "microphone enabled" : "microphone disabled"), M = /* @__PURE__ */ I.jsx(te, { className: oe["btn-icon"], url: n ? au : iu });
|
|
5374
5366
|
return /* @__PURE__ */ I.jsx(
|
|
5375
|
-
|
|
5367
|
+
hi,
|
|
5376
5368
|
{
|
|
5377
|
-
content: /* @__PURE__ */ I.jsx(
|
|
5369
|
+
content: /* @__PURE__ */ I.jsx(fi, { deviceType: he.MICROPHONE }),
|
|
5378
5370
|
disabled: !x.isPC || !((a == null ? void 0 : a.length) > 0),
|
|
5379
5371
|
teleported: !1,
|
|
5380
5372
|
children: /* @__PURE__ */ I.jsx("div", { style: { display: "flex" }, children: /* @__PURE__ */ I.jsx(
|
|
@@ -5397,7 +5389,7 @@ function Ye(t) {
|
|
|
5397
5389
|
const { localUserInfo: e } = k(be), n = se(
|
|
5398
5390
|
() => e == null ? void 0 : e.isVideoAvailable,
|
|
5399
5391
|
[e == null ? void 0 : e.isVideoAvailable]
|
|
5400
|
-
), [a, i] = w(!0), { t: r } = _e(), [{ deviceList: o }] =
|
|
5392
|
+
), [a, i] = w(!0), { t: r } = _e(), [{ deviceList: o }] = ga(he.CAMERA), l = Qn(
|
|
5401
5393
|
async () => {
|
|
5402
5394
|
i(!1), n ? await X.closeCamera() : await X.openCamera("localVideo"), i(!0);
|
|
5403
5395
|
},
|
|
@@ -5412,9 +5404,9 @@ function Ye(t) {
|
|
|
5412
5404
|
}
|
|
5413
5405
|
]), u = /* @__PURE__ */ I.jsx(te, { url: n ? ru : ou, className: oe["btn-icon"] }), M = r(n ? "camera enabled" : "camera disabled");
|
|
5414
5406
|
return /* @__PURE__ */ I.jsx(
|
|
5415
|
-
|
|
5407
|
+
hi,
|
|
5416
5408
|
{
|
|
5417
|
-
content: /* @__PURE__ */ I.jsx(
|
|
5409
|
+
content: /* @__PURE__ */ I.jsx(fi, { deviceType: he.CAMERA }),
|
|
5418
5410
|
disabled: !x.isPC || !((o == null ? void 0 : o.length) > 0),
|
|
5419
5411
|
teleported: !1,
|
|
5420
5412
|
children: /* @__PURE__ */ I.jsx("div", { style: { display: "flex" }, children: /* @__PURE__ */ I.jsx(
|
|
@@ -5459,9 +5451,9 @@ function Te(t) {
|
|
|
5459
5451
|
}
|
|
5460
5452
|
const cu = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMCAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMS4xMzUxIDIuMzcyODZMMjIuMDAwNyAyLjg3MzU5QzI2LjE4MjcgNS4yOTI3NSAyOSA5LjgxNjc5IDI5IDE1QzI5IDIwLjE4MzMgMjYuMTgyNyAyNC43MDczIDIyLjAwMDcgMjcuMTI2NUwyMS4xMzUxIDI3LjYyNzJMMjAuMTMzNiAyNS44OTZMMjAuOTk5MiAyNS4zOTUzQzI0LjU4ODcgMjMuMzE4OSAyNyAxOS40NDA1IDI3IDE1QzI3IDEwLjU1OTYgMjQuNTg4NyA2LjY4MTE3IDIwLjk5OTIgNC42MDQ4TDIwLjEzMzYgNC4xMDQwOEwyMS4xMzUxIDIuMzcyODZaTTE0LjY0NDggMy4zODg5M0MxNS4zNTE3IDIuODYzMjcgMTYuMzU1NiAzLjM2Nzc5IDE2LjM1NTYgNC4yNDg2OVYyNS43NTE0QzE2LjM1NTYgMjYuNjMyMyAxNS4zNTE3IDI3LjEzNjggMTQuNjQ0OCAyNi42MTExTDcuOTk1NyAyMS42NjY1QzcuODEwODcgMjEuNTI5IDcuNTg2NjcgMjEuNDU0OCA3LjM1NjM0IDIxLjQ1NDhIMi4yNTE2QzEuNjU5ODcgMjEuNDU0OCAxLjE4MDE4IDIwLjk3NTEgMS4xODAxOCAyMC4zODM0VjkuNjM0MTFDMS4xODAxOCA5LjA0MzcxIDEuNjU3NzkgOC41NjQ1NyAyLjI0ODE5IDguNTYyNjlMNy4zNTgyNCA4LjU0NjM5QzcuNTg3NCA4LjU0NTY2IDcuODEwMjkgOC40NzE0NyA3Ljk5NDE4IDguMzM0NzJMMTQuNjQ0OCAzLjM4ODkzWk0yMC41NTUzIDguMTY4NEwxOS43MjM3IDcuNjEzMDRMMTguNjEzIDkuMjc2MjZMMTkuNDQ0NiA5LjgzMTYyQzIwLjkzNjggMTAuODI4MSAyMiAxMi43NDExIDIyIDE1QzIyIDE3LjI1ODkgMjAuOTM2OCAxOS4xNzE5IDE5LjQ0NDYgMjAuMTY4NEwxOC42MTMgMjAuNzIzOEwxOS43MjM3IDIyLjM4N0wyMC41NTUzIDIxLjgzMTZDMjIuNjQ5OSAyMC40MzI4IDI0IDE3Ljg2ODggMjQgMTVDMjQgMTIuMTMxMiAyMi42NDk5IDkuNTY3MTcgMjAuNTU1MyA4LjE2ODRaIiBmaWxsPSIjMkUzMzNEIi8+Cjwvc3ZnPgo=", lu = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMCAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC4zNjAyIDIyLjg0MTZMMTQuNTk0NiAyNi40MDI1QzE1LjI5MTYgMjYuOTg4NiAxNi4zNTU2IDI2LjQ5MzEgMTYuMzU1NiAyNS41ODI1VjE1LjYxOUwxMC4zNjAyIDIyLjg0MTZaTTIzLjcxNjIgNi43NTE4N0wyNS4wMDEzIDUuMjAzNjRDMjcuNDc0MSA3LjcyNzkxIDI5IDExLjE4NTUgMjkgMTVDMjkgMjAuMTgzMyAyNi4xODI3IDI0LjcwNzMgMjIuMDAwNyAyNy4xMjY1TDIxLjEzNTEgMjcuNjI3MkwyMC4xMzM3IDI1Ljg5NkwyMC45OTkzIDI1LjM5NTNDMjQuNTg4NyAyMy4zMTg5IDI3IDE5LjQ0MDUgMjcgMTVDMjcgMTEuODA2IDI1Ljc1MjQgOC45MDI4MiAyMy43MTYyIDYuNzUxODdaTTIwLjQzNzcgMTAuNzAxNEwyMS43MjYyIDkuMTQ5MTdDMjMuMTM5MyAxMC42MTMyIDI0IDEyLjcwOTQgMjQgMTVDMjQgMTcuODY4OSAyMi42NDk5IDIwLjQzMjkgMjAuNTU1NCAyMS44MzE2TDE5LjcyMzcgMjIuMzg3TDE4LjYxMyAyMC43MjM4TDE5LjQ0NDYgMjAuMTY4NEMyMC45MzY5IDE5LjE3MTkgMjIgMTcuMjU4OSAyMiAxNUMyMiAxMy4yODQyIDIxLjM4NjYgMTEuNzY4IDIwLjQzNzcgMTAuNzAxNFpNMTYuMzU1NiA2LjQ4Mjg4TDMuOTI3NTYgMjEuNDU0OEgyLjI1MTY0QzEuNjU5OSAyMS40NTQ4IDEuMTgwMjEgMjAuOTc1MSAxLjE4MDIxIDIwLjM4MzRWOS42MzQ1OUMxLjE4MDIxIDkuMDQ0MDEgMS42NTgxIDguNTY0NzkgMi4yNDg2NyA4LjU2MzE2TDguMzIyMTUgOC41NDYzNkM4LjU3MzQyIDguNTQ1NjcgOC44MTY0NiA4LjQ1NjY4IDkuMDA4NzcgOC4yOTQ5NkwxNC41OTQ2IDMuNTk3NjFDMTUuMjkxNiAzLjAxMTUxIDE2LjM1NTYgMy41MDY5OSAxNi4zNTU2IDQuNDE3NjNWNi40ODI4OFoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik00LjU2MzcyIDI1LjI2ODNMMjIuMTQwNyA0LjA4MzY1IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==";
|
|
5461
5453
|
function St(t) {
|
|
5462
|
-
const [{ deviceList: e, currentDeviceId: n }] =
|
|
5454
|
+
const [{ deviceList: e, currentDeviceId: n }] = ga(he.SPEAKER), { isMuteSpeaker: a } = k(ne), { t: i } = _e(), r = (u) => {
|
|
5463
5455
|
if (x.isPC) {
|
|
5464
|
-
const M = e.find((
|
|
5456
|
+
const M = e.find((N) => N.deviceId === u);
|
|
5465
5457
|
return M ? M.label : i("speaker enabled");
|
|
5466
5458
|
} else
|
|
5467
5459
|
return i(a ? "speaker disabled" : "speaker enabled");
|
|
@@ -5479,11 +5471,11 @@ function St(t) {
|
|
|
5479
5471
|
}
|
|
5480
5472
|
]);
|
|
5481
5473
|
return /* @__PURE__ */ I.jsx(
|
|
5482
|
-
|
|
5474
|
+
hi,
|
|
5483
5475
|
{
|
|
5484
5476
|
trigger: x.isPC ? "hover" : "click",
|
|
5485
5477
|
disabled: !(e.length > 0 && x.isPC),
|
|
5486
|
-
content: /* @__PURE__ */ I.jsx(
|
|
5478
|
+
content: /* @__PURE__ */ I.jsx(fi, { deviceType: he.SPEAKER }),
|
|
5487
5479
|
teleported: !1,
|
|
5488
5480
|
children: /* @__PURE__ */ I.jsx("div", { style: { display: "flex" }, children: /* @__PURE__ */ I.jsx(
|
|
5489
5481
|
Pe,
|
|
@@ -5541,7 +5533,7 @@ function ln() {
|
|
|
5541
5533
|
}
|
|
5542
5534
|
);
|
|
5543
5535
|
}
|
|
5544
|
-
const
|
|
5536
|
+
const Nu = {
|
|
5545
5537
|
singleCall: {
|
|
5546
5538
|
video: {
|
|
5547
5539
|
calling: [
|
|
@@ -5750,7 +5742,7 @@ const gu = {
|
|
|
5750
5742
|
]
|
|
5751
5743
|
}
|
|
5752
5744
|
}
|
|
5753
|
-
},
|
|
5745
|
+
}, gu = {
|
|
5754
5746
|
singleCall: {
|
|
5755
5747
|
video: {
|
|
5756
5748
|
calling: [
|
|
@@ -6030,8 +6022,8 @@ const gu = {
|
|
|
6030
6022
|
}
|
|
6031
6023
|
}
|
|
6032
6024
|
}, Ha = {
|
|
6033
|
-
pc:
|
|
6034
|
-
h5:
|
|
6025
|
+
pc: Nu,
|
|
6026
|
+
h5: gu
|
|
6035
6027
|
}, Du = 500;
|
|
6036
6028
|
function pi(t, e) {
|
|
6037
6029
|
if (typeof t != "function" || e != null && typeof e != "function")
|
|
@@ -6053,15 +6045,15 @@ function Tu(t) {
|
|
|
6053
6045
|
});
|
|
6054
6046
|
return e;
|
|
6055
6047
|
}
|
|
6056
|
-
const Eu = ".".charCodeAt(0),
|
|
6048
|
+
const Eu = ".".charCodeAt(0), hu = /\\(\\)?/g, fu = RegExp(
|
|
6057
6049
|
// Match anything that isn't a dot or bracket.
|
|
6058
6050
|
`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,
|
|
6059
6051
|
"g"
|
|
6060
6052
|
), oo = Tu((t) => {
|
|
6061
6053
|
const e = [];
|
|
6062
|
-
return t.charCodeAt(0) === Eu && e.push(""), t.replace(
|
|
6054
|
+
return t.charCodeAt(0) === Eu && e.push(""), t.replace(fu, (n, a, i, r) => {
|
|
6063
6055
|
let o = n;
|
|
6064
|
-
i ? o = r.replace(
|
|
6056
|
+
i ? o = r.replace(hu, "$1") : a && (o = a.trim()), e.push(o);
|
|
6065
6057
|
}), e;
|
|
6066
6058
|
});
|
|
6067
6059
|
function pu(t) {
|
|
@@ -6130,7 +6122,7 @@ function Su(t) {
|
|
|
6130
6122
|
const p = E === 0 ? D.filter((j) => {
|
|
6131
6123
|
var m;
|
|
6132
6124
|
return ((m = j == null ? void 0 : j.props) == null ? void 0 : m.show) !== !1;
|
|
6133
|
-
}) : D,
|
|
6125
|
+
}) : D, f = () => p.map((j, m) => {
|
|
6134
6126
|
const L = p.length > 2 ? m === 0 ? "start" : m === p.length - 1 ? "end" : "center" : "center", { component: S, props: y } = j, U = {};
|
|
6135
6127
|
if ((y == null ? void 0 : y.show) === !1) {
|
|
6136
6128
|
if (E === 0)
|
|
@@ -6153,13 +6145,13 @@ function Su(t) {
|
|
|
6153
6145
|
Xt,
|
|
6154
6146
|
{
|
|
6155
6147
|
style: { marginTop: E === 1 ? "2.4vh" : 0 },
|
|
6156
|
-
children:
|
|
6148
|
+
children: f()
|
|
6157
6149
|
},
|
|
6158
6150
|
`row-${E}`
|
|
6159
6151
|
);
|
|
6160
6152
|
}), M = () => {
|
|
6161
6153
|
r(!i);
|
|
6162
|
-
},
|
|
6154
|
+
}, N = () => {
|
|
6163
6155
|
const D = i ? /* @__PURE__ */ I.jsx(te, { url: Cu }) : /* @__PURE__ */ I.jsx(te, { url: ju });
|
|
6164
6156
|
return /* @__PURE__ */ I.jsx(
|
|
6165
6157
|
Pe,
|
|
@@ -6172,8 +6164,8 @@ function Su(t) {
|
|
|
6172
6164
|
onClick: M
|
|
6173
6165
|
}
|
|
6174
6166
|
);
|
|
6175
|
-
},
|
|
6176
|
-
const D = e.flat(), E = () => D.map((p,
|
|
6167
|
+
}, g = () => {
|
|
6168
|
+
const D = e.flat(), E = () => D.map((p, f) => {
|
|
6177
6169
|
const { component: j, props: m } = p;
|
|
6178
6170
|
if ((m == null ? void 0 : m.show) === !1)
|
|
6179
6171
|
return;
|
|
@@ -6185,13 +6177,13 @@ function Su(t) {
|
|
|
6185
6177
|
span: S,
|
|
6186
6178
|
children: L
|
|
6187
6179
|
},
|
|
6188
|
-
|
|
6180
|
+
f
|
|
6189
6181
|
);
|
|
6190
6182
|
});
|
|
6191
6183
|
return /* @__PURE__ */ I.jsx(Xt, { children: E() });
|
|
6192
|
-
}, T = () => n && !i ?
|
|
6184
|
+
}, T = () => n && !i ? g() : u();
|
|
6193
6185
|
return /* @__PURE__ */ I.jsxs("div", { className: s, children: [
|
|
6194
|
-
o &&
|
|
6186
|
+
o && N(),
|
|
6195
6187
|
/* @__PURE__ */ I.jsx(
|
|
6196
6188
|
"div",
|
|
6197
6189
|
{
|
|
@@ -6216,8 +6208,8 @@ function wu(t) {
|
|
|
6216
6208
|
const { component: s, props: u } = o;
|
|
6217
6209
|
if ((u == null ? void 0 : u.show) === !1)
|
|
6218
6210
|
return;
|
|
6219
|
-
const M = so(t, "show"),
|
|
6220
|
-
return /* @__PURE__ */ I.jsx(ve, { style: { justifyContent: "center" }, span:
|
|
6211
|
+
const M = so(t, "show"), N = Ce.createElement(s, { ...M }), g = Math.floor(12 / a.length);
|
|
6212
|
+
return /* @__PURE__ */ I.jsx(ve, { style: { justifyContent: "center" }, span: g, children: N }, l);
|
|
6221
6213
|
});
|
|
6222
6214
|
return /* @__PURE__ */ I.jsx(Xt, { children: r() }, i);
|
|
6223
6215
|
});
|
|
@@ -6274,29 +6266,29 @@ function co() {
|
|
|
6274
6266
|
} = k(ne), { localUserInfo: r } = k(be), o = Uu(), [
|
|
6275
6267
|
l,
|
|
6276
6268
|
s
|
|
6277
|
-
] = w(
|
|
6269
|
+
] = w(h.getData(A.CALL, c.IS_CLICKABLE)), u = se(() => l, [l]), M = (D) => {
|
|
6278
6270
|
s(D);
|
|
6279
6271
|
};
|
|
6280
|
-
P(() => (
|
|
6272
|
+
P(() => (h.watch(
|
|
6281
6273
|
A.CALL,
|
|
6282
6274
|
{ [c.IS_CLICKABLE]: M },
|
|
6283
6275
|
{ notifyRangeWhenWatch: c.MYSELF }
|
|
6284
6276
|
), () => {
|
|
6285
|
-
|
|
6277
|
+
h.unwatch(
|
|
6286
6278
|
A.CALL,
|
|
6287
6279
|
{ [c.IS_CLICKABLE]: M }
|
|
6288
6280
|
);
|
|
6289
6281
|
}), []);
|
|
6290
|
-
const
|
|
6282
|
+
const N = (D) => {
|
|
6291
6283
|
const E = zn(D);
|
|
6292
6284
|
return mn(E, "pc.singleCall.video.calling[0][2]", { component: ln, props: {} }), mn(E, "pc.singleCall.video.accept[0][1]", { component: ln, props: {} }), mn(E, "pc.singleCall.video.connected[0][3]", { component: ln, props: {} }), mn(E, "pc.groupCall.video.calling[0][2]", { component: ln, props: {} }), mn(E, "pc.groupCall.video.connected[0][2]", { component: ln, props: {} }), E;
|
|
6293
|
-
},
|
|
6294
|
-
const
|
|
6295
|
-
return E ? (yn(
|
|
6285
|
+
}, g = (D, E, p) => {
|
|
6286
|
+
const f = zn(D);
|
|
6287
|
+
return E ? (yn(f, "h5.singleCall.video.connected[1][2].props.show", !0), p && N(f)) : (yn(f, "h5.singleCall.video.connected[1][2].props.show", !1), p && (yn(f, "pc.singleCall.video.connected[0][3].props.show", !1), yn(f, "pc.groupCall.video.connected[0][2].props.show", !1))), f;
|
|
6296
6288
|
}, T = se(() => {
|
|
6297
6289
|
var L, S, y;
|
|
6298
6290
|
let D = zn(Ha);
|
|
6299
|
-
i && (D =
|
|
6291
|
+
i && (D = N(Ha)), t === _.CONNECTED && (D = g(
|
|
6300
6292
|
D,
|
|
6301
6293
|
r == null ? void 0 : r.isVideoAvailable,
|
|
6302
6294
|
i
|
|
@@ -6304,7 +6296,7 @@ function co() {
|
|
|
6304
6296
|
const { path: b, value: B } = U;
|
|
6305
6297
|
yn(D, b, B);
|
|
6306
6298
|
});
|
|
6307
|
-
const E = x.isPC ? "pc" : "h5", p = e ? "groupCall" : "singleCall",
|
|
6299
|
+
const E = x.isPC ? "pc" : "h5", p = e ? "groupCall" : "singleCall", f = a === $.AUDIO ? "audio" : "video", j = t === _.CALLING ? n === Ie.CALLER ? "calling" : "accept" : t, m = ((y = (S = (L = D == null ? void 0 : D[E]) == null ? void 0 : L[p]) == null ? void 0 : S[f]) == null ? void 0 : y[j]) || [];
|
|
6308
6300
|
return m.length === 1 && m.unshift([]), m;
|
|
6309
6301
|
}, [
|
|
6310
6302
|
e,
|
|
@@ -6375,11 +6367,11 @@ function uo(t) {
|
|
|
6375
6367
|
] });
|
|
6376
6368
|
return /* @__PURE__ */ I.jsx("div", { className: vu["microphone-container"], style: n, children: e ? i() : r() });
|
|
6377
6369
|
}
|
|
6378
|
-
const Ru = "
|
|
6379
|
-
"overlay-stream-container": "_overlay-stream-
|
|
6370
|
+
const Ru = "_blur_1aqie_7", bu = "_pc_1aqie_30", _u = "_avatar_1aqie_49", ku = "_float_1aqie_53", Vu = "_small_1aqie_57", Qu = "_username_1aqie_65", Bu = "_nick_1aqie_72", Yu = "_mobile_1aqie_96", Fu = "_tip_1aqie_153", ze = {
|
|
6371
|
+
"overlay-stream-container": "_overlay-stream-container_1aqie_1",
|
|
6380
6372
|
blur: Ru,
|
|
6381
6373
|
pc: bu,
|
|
6382
|
-
"user-info-container": "_user-info-
|
|
6374
|
+
"user-info-container": "_user-info-container_1aqie_30",
|
|
6383
6375
|
avatar: _u,
|
|
6384
6376
|
float: ku,
|
|
6385
6377
|
small: Vu,
|
|
@@ -6388,7 +6380,7 @@ const Ru = "_blur_1ygv7_7", bu = "_pc_1ygv7_30", _u = "_avatar_1ygv7_49", ku = "
|
|
|
6388
6380
|
mobile: Yu,
|
|
6389
6381
|
tip: Fu
|
|
6390
6382
|
};
|
|
6391
|
-
function
|
|
6383
|
+
function gn(t) {
|
|
6392
6384
|
const {
|
|
6393
6385
|
avatar: e,
|
|
6394
6386
|
username: n,
|
|
@@ -6400,13 +6392,13 @@ function Nn(t) {
|
|
|
6400
6392
|
className: s,
|
|
6401
6393
|
tip: u = "",
|
|
6402
6394
|
volume: M,
|
|
6403
|
-
isMute:
|
|
6404
|
-
showAvatar:
|
|
6395
|
+
isMute: N = !1,
|
|
6396
|
+
showAvatar: g = !0,
|
|
6405
6397
|
showUsername: T = !0,
|
|
6406
6398
|
showOverlayer: D,
|
|
6407
6399
|
showBackground: E = !0,
|
|
6408
6400
|
showLoading: p = !0,
|
|
6409
|
-
showVolumn:
|
|
6401
|
+
showVolumn: f = !1,
|
|
6410
6402
|
style: j = {},
|
|
6411
6403
|
showTip: m = !0,
|
|
6412
6404
|
background: L = "",
|
|
@@ -6424,7 +6416,7 @@ function Nn(t) {
|
|
|
6424
6416
|
};
|
|
6425
6417
|
return /* @__PURE__ */ I.jsx("div", { className: b, style: j, children: /* @__PURE__ */ I.jsxs(ui, { showLoading: p, size: 40, theme: o, showOverlayer: !1, children: [
|
|
6426
6418
|
/* @__PURE__ */ I.jsxs("div", { className: ze["user-info-container"], children: [
|
|
6427
|
-
|
|
6419
|
+
g && /* @__PURE__ */ I.jsx(
|
|
6428
6420
|
lo,
|
|
6429
6421
|
{
|
|
6430
6422
|
className: R([
|
|
@@ -6448,7 +6440,7 @@ function Nn(t) {
|
|
|
6448
6440
|
children: n
|
|
6449
6441
|
}
|
|
6450
6442
|
),
|
|
6451
|
-
|
|
6443
|
+
f && /* @__PURE__ */ I.jsx(uo, { volume: M, close: N, style: { marginLeft: "10px" } })
|
|
6452
6444
|
] }),
|
|
6453
6445
|
m && /* @__PURE__ */ I.jsx("div", { className: ze.tip, children: u }),
|
|
6454
6446
|
l
|
|
@@ -6474,11 +6466,11 @@ const Gu = {
|
|
|
6474
6466
|
"singlecall-waiting-container": "_singlecall-waiting-container_pmvxi_1"
|
|
6475
6467
|
};
|
|
6476
6468
|
function Zu(t) {
|
|
6477
|
-
const { avatar: e, username: n, userId: a } = t, { localUserInfo: i } = k(be), r = Wn(), [o, l] = w(r[a] || e), [s, u] = w(!r[a]), [M,
|
|
6469
|
+
const { avatar: e, username: n, userId: a } = t, { localUserInfo: i } = k(be), r = Wn(), [o, l] = w(r[a] || e), [s, u] = w(!r[a]), [M, N] = w(r[a] ? "fill" : "cover");
|
|
6478
6470
|
return P(() => {
|
|
6479
|
-
l(r[a] || e || Le), u(!i.isVideoAvailable && !r[a]),
|
|
6471
|
+
l(r[a] || e || Le), u(!i.isVideoAvailable && !r[a]), N(r[a] ? "fill" : "cover");
|
|
6480
6472
|
}, [r, a]), /* @__PURE__ */ I.jsx(
|
|
6481
|
-
|
|
6473
|
+
gn,
|
|
6482
6474
|
{
|
|
6483
6475
|
className: Gu["singlecall-waiting-container"],
|
|
6484
6476
|
showLoading: !1,
|
|
@@ -6515,19 +6507,19 @@ function Pu(t) {
|
|
|
6515
6507
|
`${W}-togglewindow-container`,
|
|
6516
6508
|
n
|
|
6517
6509
|
]), M = se(() => {
|
|
6518
|
-
const
|
|
6510
|
+
const N = [], g = [];
|
|
6519
6511
|
o && Ce.Children.map(o, (D) => {
|
|
6520
6512
|
var E, p;
|
|
6521
|
-
if (((E = D == null ? void 0 : D.type) == null ? void 0 : E.displayName) === "ToggleWindowItem" &&
|
|
6513
|
+
if (((E = D == null ? void 0 : D.type) == null ? void 0 : E.displayName) === "ToggleWindowItem" && N.length < 2 && (N.push(Ce.cloneElement(D, { isMobile: a, showSmallWindow: i })), g.push((p = D == null ? void 0 : D.props) == null ? void 0 : p.value)), N.length >= 2)
|
|
6522
6514
|
return null;
|
|
6523
6515
|
});
|
|
6524
6516
|
const T = () => {
|
|
6525
6517
|
s((D) => {
|
|
6526
|
-
const E = Wu(
|
|
6518
|
+
const E = Wu(g, D);
|
|
6527
6519
|
return r == null || r(E), E;
|
|
6528
6520
|
});
|
|
6529
6521
|
};
|
|
6530
|
-
return
|
|
6522
|
+
return N.map(
|
|
6531
6523
|
(D) => Ce.cloneElement(D, { updateBigWindow: T })
|
|
6532
6524
|
);
|
|
6533
6525
|
}, [o]);
|
|
@@ -6547,13 +6539,13 @@ function Xa(t) {
|
|
|
6547
6539
|
`${W}-togglewindowitem-${s ? "small" : "big"}`,
|
|
6548
6540
|
{ mobile: a }
|
|
6549
6541
|
]), M = () => {
|
|
6550
|
-
let
|
|
6551
|
-
return !r && s && (
|
|
6542
|
+
let N;
|
|
6543
|
+
return !r && s && (N = "hidden"), /* @__PURE__ */ I.jsx(
|
|
6552
6544
|
"div",
|
|
6553
6545
|
{
|
|
6554
6546
|
onClick: () => s && i(),
|
|
6555
6547
|
className: u,
|
|
6556
|
-
style: { visibility:
|
|
6548
|
+
style: { visibility: N },
|
|
6557
6549
|
children: e
|
|
6558
6550
|
}
|
|
6559
6551
|
);
|
|
@@ -6608,7 +6600,7 @@ function qu(t) {
|
|
|
6608
6600
|
justifyContent: "center"
|
|
6609
6601
|
}, M = async () => {
|
|
6610
6602
|
await X.switchCamera();
|
|
6611
|
-
},
|
|
6603
|
+
}, N = () => /* @__PURE__ */ I.jsxs(Xt, { children: [
|
|
6612
6604
|
/* @__PURE__ */ I.jsxs(ve, { span: 6, align: "center", justify: "start", children: [
|
|
6613
6605
|
i && /* @__PURE__ */ I.jsx(Hu, { maxWidth: "100px", truncated: !0, children: a }),
|
|
6614
6606
|
e && /* @__PURE__ */ I.jsx(te, { style: { width: "fit-content" }, url: Ju }),
|
|
@@ -6628,14 +6620,14 @@ function qu(t) {
|
|
|
6628
6620
|
}
|
|
6629
6621
|
)
|
|
6630
6622
|
] })
|
|
6631
|
-
] }),
|
|
6632
|
-
return /* @__PURE__ */ I.jsx("div", { className: s, children: l ?
|
|
6623
|
+
] }), g = () => /* @__PURE__ */ I.jsx(Xt, { children: /* @__PURE__ */ I.jsx(ve, { span: 12, justify: "start", children: n && /* @__PURE__ */ I.jsx(te, { style: { width: "fit-content" }, url: Ku }) }) });
|
|
6624
|
+
return /* @__PURE__ */ I.jsx("div", { className: s, children: l ? N() : g() });
|
|
6633
6625
|
}
|
|
6634
|
-
const eM = "
|
|
6635
|
-
"stream-info-container-pc": "_stream-info-container-
|
|
6636
|
-
"stream-info-content": "_stream-info-
|
|
6626
|
+
const eM = "_nick_fw50h_39", Ra = {
|
|
6627
|
+
"stream-info-container-pc": "_stream-info-container-pc_fw50h_1",
|
|
6628
|
+
"stream-info-content": "_stream-info-content_fw50h_23",
|
|
6637
6629
|
nick: eM,
|
|
6638
|
-
"stream-info-netWork": "_stream-info-
|
|
6630
|
+
"stream-info-netWork": "_stream-info-netWork_fw50h_43"
|
|
6639
6631
|
};
|
|
6640
6632
|
function tM(t) {
|
|
6641
6633
|
const {
|
|
@@ -6658,12 +6650,12 @@ function Ao(t) {
|
|
|
6658
6650
|
return x.isPC ? /* @__PURE__ */ I.jsx(tM, { ...t }) : /* @__PURE__ */ I.jsx(qu, { ...t });
|
|
6659
6651
|
}
|
|
6660
6652
|
var nM = typeof global == "object" && global && global.Object === Object && global;
|
|
6661
|
-
const
|
|
6662
|
-
var aM = typeof self == "object" && self && self.Object === Object && self, iM =
|
|
6653
|
+
const No = nM;
|
|
6654
|
+
var aM = typeof self == "object" && self && self.Object === Object && self, iM = No || aM || Function("return this")();
|
|
6663
6655
|
const Et = iM;
|
|
6664
6656
|
var rM = Et.Symbol;
|
|
6665
6657
|
const Dn = rM;
|
|
6666
|
-
var
|
|
6658
|
+
var go = Object.prototype, oM = go.hasOwnProperty, sM = go.toString, Sn = Dn ? Dn.toStringTag : void 0;
|
|
6667
6659
|
function cM(t) {
|
|
6668
6660
|
var e = oM.call(t, Sn), n = t[Sn];
|
|
6669
6661
|
try {
|
|
@@ -6691,12 +6683,12 @@ function Do(t) {
|
|
|
6691
6683
|
var e = typeof t;
|
|
6692
6684
|
return t != null && (e == "object" || e == "function");
|
|
6693
6685
|
}
|
|
6694
|
-
var
|
|
6686
|
+
var NM = "[object AsyncFunction]", gM = "[object Function]", DM = "[object GeneratorFunction]", TM = "[object Proxy]";
|
|
6695
6687
|
function To(t) {
|
|
6696
6688
|
if (!Do(t))
|
|
6697
6689
|
return !1;
|
|
6698
6690
|
var e = Pn(t);
|
|
6699
|
-
return e ==
|
|
6691
|
+
return e == gM || e == DM || e == NM || e == TM;
|
|
6700
6692
|
}
|
|
6701
6693
|
var EM = Et["__core-js_shared__"];
|
|
6702
6694
|
const ba = EM;
|
|
@@ -6704,10 +6696,10 @@ var rr = function() {
|
|
|
6704
6696
|
var t = /[^.]+$/.exec(ba && ba.keys && ba.keys.IE_PROTO || "");
|
|
6705
6697
|
return t ? "Symbol(src)_1." + t : "";
|
|
6706
6698
|
}();
|
|
6707
|
-
function
|
|
6699
|
+
function hM(t) {
|
|
6708
6700
|
return !!rr && rr in t;
|
|
6709
6701
|
}
|
|
6710
|
-
var
|
|
6702
|
+
var fM = Function.prototype, pM = fM.toString;
|
|
6711
6703
|
function qt(t) {
|
|
6712
6704
|
if (t != null) {
|
|
6713
6705
|
try {
|
|
@@ -6725,7 +6717,7 @@ var jM = /[\\^$.*+?()[\]{}|]/g, CM = /^\[object .+?Constructor\]$/, LM = Functio
|
|
|
6725
6717
|
"^" + mM.call(SM).replace(jM, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6726
6718
|
);
|
|
6727
6719
|
function wM(t) {
|
|
6728
|
-
if (!Do(t) ||
|
|
6720
|
+
if (!Do(t) || hM(t))
|
|
6729
6721
|
return !1;
|
|
6730
6722
|
var e = To(t) ? OM : CM;
|
|
6731
6723
|
return e.test(qt(t));
|
|
@@ -6748,11 +6740,11 @@ function Eo(t, e) {
|
|
|
6748
6740
|
return t === e || t !== t && e !== e;
|
|
6749
6741
|
}
|
|
6750
6742
|
var bM = 9007199254740991;
|
|
6751
|
-
function
|
|
6743
|
+
function ho(t) {
|
|
6752
6744
|
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= bM;
|
|
6753
6745
|
}
|
|
6754
6746
|
function _M(t) {
|
|
6755
|
-
return t != null &&
|
|
6747
|
+
return t != null && ho(t.length) && !To(t);
|
|
6756
6748
|
}
|
|
6757
6749
|
var kM = Object.prototype;
|
|
6758
6750
|
function VM(t) {
|
|
@@ -6768,7 +6760,7 @@ var BM = "[object Arguments]";
|
|
|
6768
6760
|
function or(t) {
|
|
6769
6761
|
return _n(t) && Pn(t) == BM;
|
|
6770
6762
|
}
|
|
6771
|
-
var
|
|
6763
|
+
var fo = Object.prototype, YM = fo.hasOwnProperty, FM = fo.propertyIsEnumerable, GM = or(function() {
|
|
6772
6764
|
return arguments;
|
|
6773
6765
|
}()) ? or : function(t) {
|
|
6774
6766
|
return _n(t) && YM.call(t, "callee") && !FM.call(t, "callee");
|
|
@@ -6779,18 +6771,18 @@ function WM() {
|
|
|
6779
6771
|
}
|
|
6780
6772
|
var po = typeof exports == "object" && exports && !exports.nodeType && exports, sr = po && typeof module == "object" && module && !module.nodeType && module, PM = sr && sr.exports === po, cr = PM ? Et.Buffer : void 0, HM = cr ? cr.isBuffer : void 0, JM = HM || WM;
|
|
6781
6773
|
const $a = JM;
|
|
6782
|
-
var XM = "[object Arguments]", KM = "[object Array]", $M = "[object Boolean]", qM = "[object Date]", eI = "[object Error]", tI = "[object Function]", nI = "[object Map]", aI = "[object Number]", iI = "[object Object]", rI = "[object RegExp]", oI = "[object Set]", sI = "[object String]", cI = "[object WeakMap]", lI = "[object ArrayBuffer]", uI = "[object DataView]", MI = "[object Float32Array]", II = "[object Float64Array]", dI = "[object Int8Array]", AI = "[object Int16Array]",
|
|
6783
|
-
ee[MI] = ee[II] = ee[dI] = ee[AI] = ee[
|
|
6774
|
+
var XM = "[object Arguments]", KM = "[object Array]", $M = "[object Boolean]", qM = "[object Date]", eI = "[object Error]", tI = "[object Function]", nI = "[object Map]", aI = "[object Number]", iI = "[object Object]", rI = "[object RegExp]", oI = "[object Set]", sI = "[object String]", cI = "[object WeakMap]", lI = "[object ArrayBuffer]", uI = "[object DataView]", MI = "[object Float32Array]", II = "[object Float64Array]", dI = "[object Int8Array]", AI = "[object Int16Array]", NI = "[object Int32Array]", gI = "[object Uint8Array]", DI = "[object Uint8ClampedArray]", TI = "[object Uint16Array]", EI = "[object Uint32Array]", ee = {};
|
|
6775
|
+
ee[MI] = ee[II] = ee[dI] = ee[AI] = ee[NI] = ee[gI] = ee[DI] = ee[TI] = ee[EI] = !0;
|
|
6784
6776
|
ee[XM] = ee[KM] = ee[lI] = ee[$M] = ee[uI] = ee[qM] = ee[eI] = ee[tI] = ee[nI] = ee[aI] = ee[iI] = ee[rI] = ee[oI] = ee[sI] = ee[cI] = !1;
|
|
6785
|
-
function fI(t) {
|
|
6786
|
-
return _n(t) && fo(t.length) && !!ee[Pn(t)];
|
|
6787
|
-
}
|
|
6788
6777
|
function hI(t) {
|
|
6778
|
+
return _n(t) && ho(t.length) && !!ee[Pn(t)];
|
|
6779
|
+
}
|
|
6780
|
+
function fI(t) {
|
|
6789
6781
|
return function(e) {
|
|
6790
6782
|
return t(e);
|
|
6791
6783
|
};
|
|
6792
6784
|
}
|
|
6793
|
-
var jo = typeof exports == "object" && exports && !exports.nodeType && exports, xn = jo && typeof module == "object" && module && !module.nodeType && module, pI = xn && xn.exports === jo, _a = pI &&
|
|
6785
|
+
var jo = typeof exports == "object" && exports && !exports.nodeType && exports, xn = jo && typeof module == "object" && module && !module.nodeType && module, pI = xn && xn.exports === jo, _a = pI && No.process, jI = function() {
|
|
6794
6786
|
try {
|
|
6795
6787
|
var t = xn && xn.require && xn.require("util").types;
|
|
6796
6788
|
return t || _a && _a.binding && _a.binding("util");
|
|
@@ -6798,7 +6790,7 @@ var jo = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
6798
6790
|
}
|
|
6799
6791
|
}();
|
|
6800
6792
|
const lr = jI;
|
|
6801
|
-
var ur = lr && lr.isTypedArray, CI = ur ?
|
|
6793
|
+
var ur = lr && lr.isTypedArray, CI = ur ? fI(ur) : hI;
|
|
6802
6794
|
const Co = CI;
|
|
6803
6795
|
var LI = Object.prototype, yI = LI.hasOwnProperty;
|
|
6804
6796
|
function mI(t, e) {
|
|
@@ -6898,24 +6890,24 @@ function qI(t, e) {
|
|
|
6898
6890
|
var n = this.__data__, a = Ta(n, t);
|
|
6899
6891
|
return a < 0 ? (++this.size, n.push([t, e])) : n[a][1] = e, this;
|
|
6900
6892
|
}
|
|
6901
|
-
function
|
|
6893
|
+
function ht(t) {
|
|
6902
6894
|
var e = -1, n = t == null ? 0 : t.length;
|
|
6903
6895
|
for (this.clear(); ++e < n; ) {
|
|
6904
6896
|
var a = t[e];
|
|
6905
6897
|
this.set(a[0], a[1]);
|
|
6906
6898
|
}
|
|
6907
6899
|
}
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6900
|
+
ht.prototype.clear = PI;
|
|
6901
|
+
ht.prototype.delete = XI;
|
|
6902
|
+
ht.prototype.get = KI;
|
|
6903
|
+
ht.prototype.has = $I;
|
|
6904
|
+
ht.prototype.set = qI;
|
|
6913
6905
|
var ed = Tn(Et, "Map");
|
|
6914
6906
|
const Vn = ed;
|
|
6915
6907
|
function td() {
|
|
6916
6908
|
this.size = 0, this.__data__ = {
|
|
6917
6909
|
hash: new $t(),
|
|
6918
|
-
map: new (Vn ||
|
|
6910
|
+
map: new (Vn || ht)(),
|
|
6919
6911
|
string: new $t()
|
|
6920
6912
|
};
|
|
6921
6913
|
}
|
|
@@ -6959,7 +6951,7 @@ function sd(t, e) {
|
|
|
6959
6951
|
return t;
|
|
6960
6952
|
}
|
|
6961
6953
|
function cd() {
|
|
6962
|
-
this.__data__ = new
|
|
6954
|
+
this.__data__ = new ht(), this.size = 0;
|
|
6963
6955
|
}
|
|
6964
6956
|
function ld(t) {
|
|
6965
6957
|
var e = this.__data__, n = e.delete(t);
|
|
@@ -6974,7 +6966,7 @@ function Md(t) {
|
|
|
6974
6966
|
var Id = 200;
|
|
6975
6967
|
function dd(t, e) {
|
|
6976
6968
|
var n = this.__data__;
|
|
6977
|
-
if (n instanceof
|
|
6969
|
+
if (n instanceof ht) {
|
|
6978
6970
|
var a = n.__data__;
|
|
6979
6971
|
if (!Vn || a.length < Id - 1)
|
|
6980
6972
|
return a.push([t, e]), this.size = ++n.size, this;
|
|
@@ -6983,7 +6975,7 @@ function dd(t, e) {
|
|
|
6983
6975
|
return n.set(t, e), this.size = n.size, this;
|
|
6984
6976
|
}
|
|
6985
6977
|
function zt(t) {
|
|
6986
|
-
var e = this.__data__ = new
|
|
6978
|
+
var e = this.__data__ = new ht(t);
|
|
6987
6979
|
this.size = e.size;
|
|
6988
6980
|
}
|
|
6989
6981
|
zt.prototype.clear = cd;
|
|
@@ -6998,30 +6990,30 @@ function Ad(t, e) {
|
|
|
6998
6990
|
}
|
|
6999
6991
|
return r;
|
|
7000
6992
|
}
|
|
7001
|
-
function
|
|
6993
|
+
function Nd() {
|
|
7002
6994
|
return [];
|
|
7003
6995
|
}
|
|
7004
|
-
var
|
|
6996
|
+
var gd = Object.prototype, Dd = gd.propertyIsEnumerable, Mr = Object.getOwnPropertySymbols, Td = Mr ? function(t) {
|
|
7005
6997
|
return t == null ? [] : (t = Object(t), Ad(Mr(t), function(e) {
|
|
7006
6998
|
return Dd.call(t, e);
|
|
7007
6999
|
}));
|
|
7008
|
-
} :
|
|
7000
|
+
} : Nd;
|
|
7009
7001
|
const Ed = Td;
|
|
7010
|
-
function
|
|
7002
|
+
function hd(t, e, n) {
|
|
7011
7003
|
var a = e(t);
|
|
7012
7004
|
return Aa(t) ? a : sd(a, n(t));
|
|
7013
7005
|
}
|
|
7014
7006
|
function Ir(t) {
|
|
7015
|
-
return
|
|
7007
|
+
return hd(t, vI, Ed);
|
|
7016
7008
|
}
|
|
7017
|
-
var
|
|
7018
|
-
const qa =
|
|
7009
|
+
var fd = Tn(Et, "DataView");
|
|
7010
|
+
const qa = fd;
|
|
7019
7011
|
var pd = Tn(Et, "Promise");
|
|
7020
7012
|
const ei = pd;
|
|
7021
7013
|
var jd = Tn(Et, "Set");
|
|
7022
7014
|
const ti = jd;
|
|
7023
|
-
var dr = "[object Map]", Cd = "[object Object]", Ar = "[object Promise]",
|
|
7024
|
-
(qa && Ft(new qa(new ArrayBuffer(1))) != Dr || Vn && Ft(new Vn()) != dr || ei && Ft(ei.resolve()) != Ar || ti && Ft(new ti()) !=
|
|
7015
|
+
var dr = "[object Map]", Cd = "[object Object]", Ar = "[object Promise]", Nr = "[object Set]", gr = "[object WeakMap]", Dr = "[object DataView]", Ld = qt(qa), yd = qt(Vn), md = qt(ei), Sd = qt(ti), Od = qt(Ka), Ft = Pn;
|
|
7016
|
+
(qa && Ft(new qa(new ArrayBuffer(1))) != Dr || Vn && Ft(new Vn()) != dr || ei && Ft(ei.resolve()) != Ar || ti && Ft(new ti()) != Nr || Ka && Ft(new Ka()) != gr) && (Ft = function(t) {
|
|
7025
7017
|
var e = Pn(t), n = e == Cd ? t.constructor : void 0, a = n ? qt(n) : "";
|
|
7026
7018
|
if (a)
|
|
7027
7019
|
switch (a) {
|
|
@@ -7032,9 +7024,9 @@ var dr = "[object Map]", Cd = "[object Object]", Ar = "[object Promise]", gr = "
|
|
|
7032
7024
|
case md:
|
|
7033
7025
|
return Ar;
|
|
7034
7026
|
case Sd:
|
|
7035
|
-
return gr;
|
|
7036
|
-
case Od:
|
|
7037
7027
|
return Nr;
|
|
7028
|
+
case Od:
|
|
7029
|
+
return gr;
|
|
7038
7030
|
}
|
|
7039
7031
|
return e;
|
|
7040
7032
|
});
|
|
@@ -7048,13 +7040,13 @@ function zd(t) {
|
|
|
7048
7040
|
function xd(t) {
|
|
7049
7041
|
return this.__data__.has(t);
|
|
7050
7042
|
}
|
|
7051
|
-
function
|
|
7043
|
+
function Na(t) {
|
|
7052
7044
|
var e = -1, n = t == null ? 0 : t.length;
|
|
7053
7045
|
for (this.__data__ = new en(); ++e < n; )
|
|
7054
7046
|
this.add(t[e]);
|
|
7055
7047
|
}
|
|
7056
|
-
|
|
7057
|
-
|
|
7048
|
+
Na.prototype.add = Na.prototype.push = zd;
|
|
7049
|
+
Na.prototype.has = xd;
|
|
7058
7050
|
function vd(t, e) {
|
|
7059
7051
|
for (var n = -1, a = t == null ? 0 : t.length; ++n < a; )
|
|
7060
7052
|
if (e(t[n], n, t))
|
|
@@ -7072,31 +7064,31 @@ function Lo(t, e, n, a, i, r) {
|
|
|
7072
7064
|
var u = r.get(t), M = r.get(e);
|
|
7073
7065
|
if (u && M)
|
|
7074
7066
|
return u == e && M == t;
|
|
7075
|
-
var
|
|
7076
|
-
for (r.set(t, e), r.set(e, t); ++
|
|
7077
|
-
var D = t[
|
|
7067
|
+
var N = -1, g = !0, T = n & _d ? new Na() : void 0;
|
|
7068
|
+
for (r.set(t, e), r.set(e, t); ++N < l; ) {
|
|
7069
|
+
var D = t[N], E = e[N];
|
|
7078
7070
|
if (a)
|
|
7079
|
-
var p = o ? a(E, D,
|
|
7071
|
+
var p = o ? a(E, D, N, e, t, r) : a(D, E, N, t, e, r);
|
|
7080
7072
|
if (p !== void 0) {
|
|
7081
7073
|
if (p)
|
|
7082
7074
|
continue;
|
|
7083
|
-
|
|
7075
|
+
g = !1;
|
|
7084
7076
|
break;
|
|
7085
7077
|
}
|
|
7086
7078
|
if (T) {
|
|
7087
|
-
if (!vd(e, function(
|
|
7088
|
-
if (!Rd(T, j) && (D ===
|
|
7079
|
+
if (!vd(e, function(f, j) {
|
|
7080
|
+
if (!Rd(T, j) && (D === f || i(D, f, n, a, r)))
|
|
7089
7081
|
return T.push(j);
|
|
7090
7082
|
})) {
|
|
7091
|
-
|
|
7083
|
+
g = !1;
|
|
7092
7084
|
break;
|
|
7093
7085
|
}
|
|
7094
7086
|
} else if (!(D === E || i(D, E, n, a, r))) {
|
|
7095
|
-
|
|
7087
|
+
g = !1;
|
|
7096
7088
|
break;
|
|
7097
7089
|
}
|
|
7098
7090
|
}
|
|
7099
|
-
return r.delete(t), r.delete(e),
|
|
7091
|
+
return r.delete(t), r.delete(e), g;
|
|
7100
7092
|
}
|
|
7101
7093
|
function kd(t) {
|
|
7102
7094
|
var e = -1, n = Array(t.size);
|
|
@@ -7110,7 +7102,7 @@ function Vd(t) {
|
|
|
7110
7102
|
n[++e] = a;
|
|
7111
7103
|
}), n;
|
|
7112
7104
|
}
|
|
7113
|
-
var Qd = 1, Bd = 2, Yd = "[object Boolean]", Fd = "[object Date]", Gd = "[object Error]", Zd = "[object Map]", Wd = "[object Number]", Pd = "[object RegExp]", Hd = "[object Set]", Jd = "[object String]", Xd = "[object Symbol]", Kd = "[object ArrayBuffer]", $d = "[object DataView]",
|
|
7105
|
+
var Qd = 1, Bd = 2, Yd = "[object Boolean]", Fd = "[object Date]", Gd = "[object Error]", Zd = "[object Map]", Wd = "[object Number]", Pd = "[object RegExp]", Hd = "[object Set]", Jd = "[object String]", Xd = "[object Symbol]", Kd = "[object ArrayBuffer]", $d = "[object DataView]", hr = Dn ? Dn.prototype : void 0, ka = hr ? hr.valueOf : void 0;
|
|
7114
7106
|
function qd(t, e, n, a, i, r, o) {
|
|
7115
7107
|
switch (n) {
|
|
7116
7108
|
case $d:
|
|
@@ -7151,9 +7143,9 @@ function aA(t, e, n, a, i, r) {
|
|
|
7151
7143
|
var o = n & eA, l = Ir(t), s = l.length, u = Ir(e), M = u.length;
|
|
7152
7144
|
if (s != M && !o)
|
|
7153
7145
|
return !1;
|
|
7154
|
-
for (var
|
|
7155
|
-
var
|
|
7156
|
-
if (!(o ?
|
|
7146
|
+
for (var N = s; N--; ) {
|
|
7147
|
+
var g = l[N];
|
|
7148
|
+
if (!(o ? g in e : nA.call(e, g)))
|
|
7157
7149
|
return !1;
|
|
7158
7150
|
}
|
|
7159
7151
|
var T = r.get(t), D = r.get(e);
|
|
@@ -7161,16 +7153,16 @@ function aA(t, e, n, a, i, r) {
|
|
|
7161
7153
|
return T == e && D == t;
|
|
7162
7154
|
var E = !0;
|
|
7163
7155
|
r.set(t, e), r.set(e, t);
|
|
7164
|
-
for (var p = o; ++
|
|
7165
|
-
|
|
7166
|
-
var
|
|
7156
|
+
for (var p = o; ++N < s; ) {
|
|
7157
|
+
g = l[N];
|
|
7158
|
+
var f = t[g], j = e[g];
|
|
7167
7159
|
if (a)
|
|
7168
|
-
var m = o ? a(j,
|
|
7169
|
-
if (!(m === void 0 ?
|
|
7160
|
+
var m = o ? a(j, f, g, e, t, r) : a(f, j, g, t, e, r);
|
|
7161
|
+
if (!(m === void 0 ? f === j || i(f, j, n, a, r) : m)) {
|
|
7170
7162
|
E = !1;
|
|
7171
7163
|
break;
|
|
7172
7164
|
}
|
|
7173
|
-
p || (p =
|
|
7165
|
+
p || (p = g == "constructor");
|
|
7174
7166
|
}
|
|
7175
7167
|
if (E && !p) {
|
|
7176
7168
|
var L = t.constructor, S = e.constructor;
|
|
@@ -7178,26 +7170,26 @@ function aA(t, e, n, a, i, r) {
|
|
|
7178
7170
|
}
|
|
7179
7171
|
return r.delete(t), r.delete(e), E;
|
|
7180
7172
|
}
|
|
7181
|
-
var iA = 1,
|
|
7173
|
+
var iA = 1, fr = "[object Arguments]", pr = "[object Array]", ea = "[object Object]", rA = Object.prototype, jr = rA.hasOwnProperty;
|
|
7182
7174
|
function oA(t, e, n, a, i, r) {
|
|
7183
7175
|
var o = Aa(t), l = Aa(e), s = o ? pr : Tr(t), u = l ? pr : Tr(e);
|
|
7184
|
-
s = s ==
|
|
7185
|
-
var M = s == ea,
|
|
7186
|
-
if (
|
|
7176
|
+
s = s == fr ? ea : s, u = u == fr ? ea : u;
|
|
7177
|
+
var M = s == ea, N = u == ea, g = s == u;
|
|
7178
|
+
if (g && $a(t)) {
|
|
7187
7179
|
if (!$a(e))
|
|
7188
7180
|
return !1;
|
|
7189
7181
|
o = !0, M = !1;
|
|
7190
7182
|
}
|
|
7191
|
-
if (
|
|
7183
|
+
if (g && !M)
|
|
7192
7184
|
return r || (r = new zt()), o || Co(t) ? Lo(t, e, n, a, i, r) : qd(t, e, s, n, a, i, r);
|
|
7193
7185
|
if (!(n & iA)) {
|
|
7194
|
-
var T = M && jr.call(t, "__wrapped__"), D =
|
|
7186
|
+
var T = M && jr.call(t, "__wrapped__"), D = N && jr.call(e, "__wrapped__");
|
|
7195
7187
|
if (T || D) {
|
|
7196
7188
|
var E = T ? t.value() : t, p = D ? e.value() : e;
|
|
7197
7189
|
return r || (r = new zt()), i(E, p, n, a, r);
|
|
7198
7190
|
}
|
|
7199
7191
|
}
|
|
7200
|
-
return
|
|
7192
|
+
return g ? (r || (r = new zt()), aA(t, e, n, a, i, r)) : !1;
|
|
7201
7193
|
}
|
|
7202
7194
|
function yo(t, e, n, a, i) {
|
|
7203
7195
|
return t === e ? !0 : t == null || e == null || !_n(t) && !_n(e) ? t !== t && e !== e : oA(t, e, n, a, yo, i);
|
|
@@ -7209,10 +7201,10 @@ function So() {
|
|
|
7209
7201
|
const [
|
|
7210
7202
|
t,
|
|
7211
7203
|
e
|
|
7212
|
-
] = w(
|
|
7204
|
+
] = w(h.getData(A.CALL, c.LOCAL_USER_INFO)), [
|
|
7213
7205
|
n,
|
|
7214
7206
|
a
|
|
7215
|
-
] = w(
|
|
7207
|
+
] = w(h.getData(A.CALL, c.REMOTE_USER_INFO_LIST)), [i, r] = w({}), o = (u) => {
|
|
7216
7208
|
t.volume !== u.volume && e(u);
|
|
7217
7209
|
}, l = (u) => {
|
|
7218
7210
|
if (u.length !== n.length) {
|
|
@@ -7224,14 +7216,14 @@ function So() {
|
|
|
7224
7216
|
[c.LOCAL_USER_INFO]: o,
|
|
7225
7217
|
[c.REMOTE_USER_INFO_LIST]: l
|
|
7226
7218
|
};
|
|
7227
|
-
return P(() => (
|
|
7219
|
+
return P(() => (h.watch(
|
|
7228
7220
|
A.CALL,
|
|
7229
7221
|
s,
|
|
7230
7222
|
{
|
|
7231
7223
|
notifyRangeWhenWatch: c.MYSELF
|
|
7232
7224
|
}
|
|
7233
7225
|
), () => {
|
|
7234
|
-
|
|
7226
|
+
h.unwatch(
|
|
7235
7227
|
A.CALL,
|
|
7236
7228
|
s
|
|
7237
7229
|
);
|
|
@@ -7255,25 +7247,25 @@ function Oo(t) {
|
|
|
7255
7247
|
className: s,
|
|
7256
7248
|
loading: u,
|
|
7257
7249
|
renderLoading: M,
|
|
7258
|
-
isLargeView:
|
|
7250
|
+
isLargeView: N = !1
|
|
7259
7251
|
} = t, {
|
|
7260
|
-
domId:
|
|
7252
|
+
domId: g,
|
|
7261
7253
|
isAudioAvailable: T,
|
|
7262
7254
|
displayUserInfo: D
|
|
7263
7255
|
} = a, E = R([
|
|
7264
7256
|
s,
|
|
7265
7257
|
sA["player-container"]
|
|
7266
|
-
]), p = se(() => n ? x.isPC ? !0 : !!
|
|
7267
|
-
return /* @__PURE__ */ I.jsxs("div", { id:
|
|
7258
|
+
]), p = se(() => n ? x.isPC ? !0 : !!N : !1, [N, n]);
|
|
7259
|
+
return /* @__PURE__ */ I.jsxs("div", { id: g, style: o, className: E, children: [
|
|
7268
7260
|
!u && (l == null ? void 0 : l({
|
|
7269
|
-
volume: e[
|
|
7261
|
+
volume: e[g],
|
|
7270
7262
|
isMute: !T
|
|
7271
7263
|
})),
|
|
7272
7264
|
u && (M == null ? void 0 : M()),
|
|
7273
7265
|
i && /* @__PURE__ */ I.jsx(
|
|
7274
7266
|
Ao,
|
|
7275
7267
|
{
|
|
7276
|
-
volume: e[
|
|
7268
|
+
volume: e[g],
|
|
7277
7269
|
isSpkear: r,
|
|
7278
7270
|
isMute: !T,
|
|
7279
7271
|
displayName: D,
|
|
@@ -7286,19 +7278,19 @@ function cA() {
|
|
|
7286
7278
|
const [
|
|
7287
7279
|
t,
|
|
7288
7280
|
e
|
|
7289
|
-
] = w(
|
|
7281
|
+
] = w(h.getData(A.CALL, c.NETWORK_STATUS)), n = (i) => {
|
|
7290
7282
|
e(i);
|
|
7291
7283
|
}, a = {
|
|
7292
7284
|
[c.NETWORK_STATUS]: n
|
|
7293
7285
|
};
|
|
7294
|
-
return P(() => (
|
|
7286
|
+
return P(() => (h.watch(
|
|
7295
7287
|
A.CALL,
|
|
7296
7288
|
a,
|
|
7297
7289
|
{
|
|
7298
7290
|
notifyRangeWhenWatch: c.MYSELF
|
|
7299
7291
|
}
|
|
7300
7292
|
), () => {
|
|
7301
|
-
|
|
7293
|
+
h.unwatch(
|
|
7302
7294
|
A.CALL,
|
|
7303
7295
|
a
|
|
7304
7296
|
);
|
|
@@ -7321,18 +7313,18 @@ const lA = {
|
|
|
7321
7313
|
domId: s,
|
|
7322
7314
|
nick: u,
|
|
7323
7315
|
userId: M,
|
|
7324
|
-
isAudioAvailable:
|
|
7325
|
-
isVideoAvailable:
|
|
7316
|
+
isAudioAvailable: N,
|
|
7317
|
+
isVideoAvailable: g
|
|
7326
7318
|
}
|
|
7327
7319
|
} = k(be), T = k(Yn), { isGroupCall: D } = k(ne), E = cA(), p = se(() => {
|
|
7328
7320
|
if (!E)
|
|
7329
7321
|
return;
|
|
7330
7322
|
const b = E.find((B) => B.userId === M);
|
|
7331
7323
|
return !!(b && b.quality >= 4);
|
|
7332
|
-
}, [E]),
|
|
7324
|
+
}, [E]), f = u || M, j = So(), m = R([
|
|
7333
7325
|
r,
|
|
7334
7326
|
lA["pusher-container"]
|
|
7335
|
-
]), L = se(() => D ? x.isPC ? !0 : !!l : !1, [l, D]), S = !x.isPC &&
|
|
7327
|
+
]), L = se(() => D ? x.isPC ? !0 : !!l : !1, [l, D]), S = !x.isPC && g && D && l && ((U = (y = T == null ? void 0 : T.button) == null ? void 0 : y.switchCamera) == null ? void 0 : U.show) !== !1;
|
|
7336
7328
|
return /* @__PURE__ */ I.jsxs("div", { id: s, className: m, children: [
|
|
7337
7329
|
!e && (a == null ? void 0 : a()),
|
|
7338
7330
|
e && (n == null ? void 0 : n()),
|
|
@@ -7341,8 +7333,8 @@ const lA = {
|
|
|
7341
7333
|
{
|
|
7342
7334
|
volume: j[s],
|
|
7343
7335
|
isSpkear: i,
|
|
7344
|
-
isMute: !
|
|
7345
|
-
displayName:
|
|
7336
|
+
isMute: !N,
|
|
7337
|
+
displayName: f,
|
|
7346
7338
|
isMe: !0,
|
|
7347
7339
|
showUserName: L,
|
|
7348
7340
|
showSwitchCamera: S,
|
|
@@ -7360,24 +7352,24 @@ function uA(t) {
|
|
|
7360
7352
|
userId: r,
|
|
7361
7353
|
classnames: o,
|
|
7362
7354
|
...l
|
|
7363
|
-
} = t, [s, u] = w("hidden"), M = Wn(), { callType:
|
|
7355
|
+
} = t, [s, u] = w("hidden"), M = Wn(), { callType: N, isFloat: g } = k(ne), T = se(() => N === $.AUDIO, [N]), [D, E] = w(!M[r]), [p, f] = w(M[r] ? "fill" : "cover"), [j, m] = w(M[r] || e), [L, S] = w(!1), y = R([
|
|
7364
7356
|
o
|
|
7365
7357
|
]);
|
|
7366
7358
|
P(() => {
|
|
7367
|
-
u(T && !a || !T && !i ? "" : "hidden"), L || (E((T || !i) && !M[r]),
|
|
7368
|
-
}, [
|
|
7359
|
+
u(T && !a || !T && !i ? "" : "hidden"), L || (E((T || !i) && !M[r]), f(M[r] ? "fill" : "cover"), m(M[r] || e || Le));
|
|
7360
|
+
}, [g, a, T, i, M]);
|
|
7369
7361
|
const U = () => {
|
|
7370
|
-
S(!0),
|
|
7362
|
+
S(!0), f("cover");
|
|
7371
7363
|
};
|
|
7372
7364
|
return /* @__PURE__ */ I.jsx(
|
|
7373
|
-
|
|
7365
|
+
gn,
|
|
7374
7366
|
{
|
|
7375
7367
|
className: y,
|
|
7376
7368
|
showLoading: !1,
|
|
7377
7369
|
avatar: e || Le,
|
|
7378
7370
|
showAvatar: !x.isPC,
|
|
7379
7371
|
username: n,
|
|
7380
|
-
showVolumn: x.isPC &&
|
|
7372
|
+
showVolumn: x.isPC && N === $.AUDIO,
|
|
7381
7373
|
isMobile: !x.isPC,
|
|
7382
7374
|
isSmall: a,
|
|
7383
7375
|
background: j,
|
|
@@ -7417,7 +7409,7 @@ function AA() {
|
|
|
7417
7409
|
function M(D) {
|
|
7418
7410
|
return /* @__PURE__ */ I.jsx(uA, { ...D });
|
|
7419
7411
|
}
|
|
7420
|
-
const
|
|
7412
|
+
const N = se(() => i ? "#float" : "#single-container", [i]), g = x.isPC && a === _.CONNECTED && !l && !i, T = R([
|
|
7421
7413
|
Qt["single-stream-container"],
|
|
7422
7414
|
{
|
|
7423
7415
|
[Qt.mobile]: !x.isPC,
|
|
@@ -7425,7 +7417,7 @@ function AA() {
|
|
|
7425
7417
|
[Qt.float]: i
|
|
7426
7418
|
}
|
|
7427
7419
|
]);
|
|
7428
|
-
return /* @__PURE__ */ I.jsx("div", { id: "single-container", className: T, children: /* @__PURE__ */ I.jsx(Zn, { attach:
|
|
7420
|
+
return /* @__PURE__ */ I.jsx("div", { id: "single-container", className: T, children: /* @__PURE__ */ I.jsx(Zn, { attach: N, style: { width: "100%", height: "100%", position: "relative" }, children: /* @__PURE__ */ I.jsxs(
|
|
7429
7421
|
Pu,
|
|
7430
7422
|
{
|
|
7431
7423
|
isMobile: !x.isPC,
|
|
@@ -7448,7 +7440,7 @@ function AA() {
|
|
|
7448
7440
|
classnames: Qt["single-call-audio-stream"]
|
|
7449
7441
|
});
|
|
7450
7442
|
},
|
|
7451
|
-
showStreamInfo:
|
|
7443
|
+
showStreamInfo: g
|
|
7452
7444
|
}
|
|
7453
7445
|
) }, It.LOCAL),
|
|
7454
7446
|
/* @__PURE__ */ I.jsx(
|
|
@@ -7479,11 +7471,11 @@ function AA() {
|
|
|
7479
7471
|
}
|
|
7480
7472
|
) }) });
|
|
7481
7473
|
}
|
|
7482
|
-
const
|
|
7474
|
+
const NA = "_mobile_1l7n2_12", gA = "_pulldown_1l7n2_1", Va = {
|
|
7483
7475
|
"single-container": "_single-container_1l7n2_1",
|
|
7484
7476
|
"singlecall-tip": "_singlecall-tip_1l7n2_5",
|
|
7485
|
-
mobile:
|
|
7486
|
-
pulldown:
|
|
7477
|
+
mobile: NA,
|
|
7478
|
+
pulldown: gA
|
|
7487
7479
|
}, DA = Ce.memo(() => {
|
|
7488
7480
|
const { remoteList: t } = k(be), { callRole: e, callStatus: n, isFloat: a } = k(ne), i = R([
|
|
7489
7481
|
Va["single-container"],
|
|
@@ -7514,22 +7506,22 @@ const gA = "_mobile_1l7n2_12", NA = "_pulldown_1l7n2_1", Va = {
|
|
|
7514
7506
|
/* @__PURE__ */ I.jsx(Wr, { className: Va["singlecall-tip"] }),
|
|
7515
7507
|
l()
|
|
7516
7508
|
] });
|
|
7517
|
-
}), TA = "
|
|
7518
|
-
"groupcall-waiting-container": "_groupcall-waiting-
|
|
7519
|
-
"waiting-mobile": "_waiting-
|
|
7509
|
+
}), TA = "_tip_1xkt1_5", Bt = {
|
|
7510
|
+
"groupcall-waiting-container": "_groupcall-waiting-container_1xkt1_1",
|
|
7511
|
+
"waiting-mobile": "_waiting-mobile_1xkt1_5",
|
|
7520
7512
|
tip: TA,
|
|
7521
|
-
"groupcall-info": "_groupcall-
|
|
7522
|
-
"avatar-group": "_avatar-
|
|
7523
|
-
"avatar-item": "_avatar-
|
|
7513
|
+
"groupcall-info": "_groupcall-info_1xkt1_16",
|
|
7514
|
+
"avatar-group": "_avatar-group_1xkt1_37",
|
|
7515
|
+
"avatar-item": "_avatar-item_1xkt1_45"
|
|
7524
7516
|
};
|
|
7525
7517
|
function EA(t) {
|
|
7526
|
-
const e = Wn(), { remoteList: n } = t, { t: a } = _e(), i = k(Fr), { avatar: r, userId: o, displayUserInfo: l } = i || {}, [s, u] = w(!e[o]), [M,
|
|
7518
|
+
const e = Wn(), { remoteList: n } = t, { t: a } = _e(), i = k(Fr), { avatar: r, userId: o, displayUserInfo: l } = i || {}, [s, u] = w(!e[o]), [M, N] = w(e[o] ? "fill" : "cover"), [g, T] = w(e[o] || r);
|
|
7527
7519
|
P(() => {
|
|
7528
|
-
u(!e[o]),
|
|
7520
|
+
u(!e[o]), N(e[o] ? "fill" : "cover"), T(e[o] || r || Le);
|
|
7529
7521
|
}, [e, o]);
|
|
7530
7522
|
function D() {
|
|
7531
7523
|
return /* @__PURE__ */ I.jsx(
|
|
7532
|
-
|
|
7524
|
+
gn,
|
|
7533
7525
|
{
|
|
7534
7526
|
className: R([
|
|
7535
7527
|
Bt["groupcall-waiting-container"],
|
|
@@ -7544,7 +7536,7 @@ function EA(t) {
|
|
|
7544
7536
|
avatar: r || Le,
|
|
7545
7537
|
theme: x.isPC ? "circle" : "dot",
|
|
7546
7538
|
isMobile: !x.isPC,
|
|
7547
|
-
background:
|
|
7539
|
+
background: g,
|
|
7548
7540
|
showOverlayer: s,
|
|
7549
7541
|
fit: M,
|
|
7550
7542
|
children: /* @__PURE__ */ I.jsxs("div", { className: Bt["groupcall-info"], children: [
|
|
@@ -7560,7 +7552,7 @@ function EA(t) {
|
|
|
7560
7552
|
}
|
|
7561
7553
|
function E() {
|
|
7562
7554
|
return /* @__PURE__ */ I.jsx(
|
|
7563
|
-
|
|
7555
|
+
gn,
|
|
7564
7556
|
{
|
|
7565
7557
|
className: Bt["groupcall-waiting-container"],
|
|
7566
7558
|
showLoading: !1,
|
|
@@ -7569,7 +7561,7 @@ function EA(t) {
|
|
|
7569
7561
|
showAvatar: !x.isPC,
|
|
7570
7562
|
isMobile: !x.isPC,
|
|
7571
7563
|
tip: a("Invited group call"),
|
|
7572
|
-
background:
|
|
7564
|
+
background: g,
|
|
7573
7565
|
showOverlayer: s,
|
|
7574
7566
|
fit: M
|
|
7575
7567
|
}
|
|
@@ -7577,7 +7569,7 @@ function EA(t) {
|
|
|
7577
7569
|
}
|
|
7578
7570
|
return x.isPC ? /* @__PURE__ */ I.jsx(E, {}) : /* @__PURE__ */ I.jsx(D, {});
|
|
7579
7571
|
}
|
|
7580
|
-
function
|
|
7572
|
+
function hA(t) {
|
|
7581
7573
|
const { isFloat: e } = k(ne), n = 100;
|
|
7582
7574
|
let {
|
|
7583
7575
|
// eslint-disable-next-line prefer-const
|
|
@@ -7589,9 +7581,9 @@ function fA(t) {
|
|
|
7589
7581
|
enableFocus: s = !1,
|
|
7590
7582
|
children: u
|
|
7591
7583
|
} = t;
|
|
7592
|
-
const [M,
|
|
7593
|
-
const
|
|
7594
|
-
if (
|
|
7584
|
+
const [M, N] = w(null), g = se(() => {
|
|
7585
|
+
const f = u.length;
|
|
7586
|
+
if (f <= 3)
|
|
7595
7587
|
return [{
|
|
7596
7588
|
x: 0,
|
|
7597
7589
|
y: 0,
|
|
@@ -7608,7 +7600,7 @@ function fA(t) {
|
|
|
7608
7600
|
w: 6,
|
|
7609
7601
|
h: 6
|
|
7610
7602
|
}];
|
|
7611
|
-
if (
|
|
7603
|
+
if (f === 4)
|
|
7612
7604
|
return [{
|
|
7613
7605
|
x: 0,
|
|
7614
7606
|
y: 0,
|
|
@@ -7636,7 +7628,7 @@ function fA(t) {
|
|
|
7636
7628
|
w: 4,
|
|
7637
7629
|
h: 4
|
|
7638
7630
|
}];
|
|
7639
|
-
for (let m = 1; m <
|
|
7631
|
+
for (let m = 1; m < f; m++) {
|
|
7640
7632
|
const L = j[m - 1].x + 4 === 12;
|
|
7641
7633
|
j[m] = {
|
|
7642
7634
|
x: j[m - 1].x + 4 === 12 ? 0 : j[m - 1].x + 4,
|
|
@@ -7645,15 +7637,15 @@ function fA(t) {
|
|
|
7645
7637
|
h: 4
|
|
7646
7638
|
};
|
|
7647
7639
|
}
|
|
7648
|
-
return o || (
|
|
7640
|
+
return o || (f % 3 === 1 && (j[f - 1].x += 2), f % 3 === 2 && (j[f - 1].x += 2, j[f - 2].x += 2)), j;
|
|
7649
7641
|
}, [u, o]);
|
|
7650
|
-
function T(
|
|
7651
|
-
|
|
7642
|
+
function T(f) {
|
|
7643
|
+
f === M ? (N(null), l == null || l(null)) : (N(f), l == null || l(f));
|
|
7652
7644
|
}
|
|
7653
7645
|
const D = n / 12;
|
|
7654
7646
|
a = D;
|
|
7655
|
-
const E = Object.keys(Array.from({ length:
|
|
7656
|
-
const
|
|
7647
|
+
const E = Object.keys(Array.from({ length: g.length })), p = se(() => {
|
|
7648
|
+
const f = JSON.parse(JSON.stringify(g));
|
|
7657
7649
|
let j, m;
|
|
7658
7650
|
if (M != null) {
|
|
7659
7651
|
if (E.length < 5) {
|
|
@@ -7662,15 +7654,15 @@ function fA(t) {
|
|
|
7662
7654
|
} else
|
|
7663
7655
|
m = M % 3, j = Math.floor(M / 3);
|
|
7664
7656
|
if (E.length < 5) {
|
|
7665
|
-
for (let S = 0; S <
|
|
7666
|
-
const y =
|
|
7657
|
+
for (let S = 0; S < f.length; S++) {
|
|
7658
|
+
const y = f[S];
|
|
7667
7659
|
S === 0 ? (y.w += 6, y.h += 6) : (y.x = (S - 1) * 4, y.y = 12, y.w = 4, y.h = 4);
|
|
7668
7660
|
}
|
|
7669
|
-
const L =
|
|
7670
|
-
|
|
7661
|
+
const L = f.shift();
|
|
7662
|
+
f.splice(M, 0, L);
|
|
7671
7663
|
} else {
|
|
7672
7664
|
let L;
|
|
7673
|
-
m === 0 ? (
|
|
7665
|
+
m === 0 ? (f[M + 1] && (f[M + 1].x += 4), f[M + 2] && (f[M + 2].y += 4), L = {
|
|
7674
7666
|
x: 0,
|
|
7675
7667
|
y: j * 4,
|
|
7676
7668
|
w: 8,
|
|
@@ -7680,24 +7672,24 @@ function fA(t) {
|
|
|
7680
7672
|
y: j * 4,
|
|
7681
7673
|
w: 8,
|
|
7682
7674
|
h: 8
|
|
7683
|
-
},
|
|
7675
|
+
}, f[M - 1].x = 0, f[M - 1].y += 4) : m === 1 && (L = {
|
|
7684
7676
|
x: 4,
|
|
7685
7677
|
y: j * 4,
|
|
7686
7678
|
w: 8,
|
|
7687
7679
|
h: 8
|
|
7688
|
-
},
|
|
7680
|
+
}, f[M + 1] && (f[M + 1].x = 0, f[M + 1].y += 4));
|
|
7689
7681
|
const S = 3 - m;
|
|
7690
|
-
for (let y = M + S; y <
|
|
7691
|
-
const U =
|
|
7682
|
+
for (let y = M + S; y < f.length; y++) {
|
|
7683
|
+
const U = f[y];
|
|
7692
7684
|
U.y += 4;
|
|
7693
7685
|
}
|
|
7694
|
-
|
|
7686
|
+
f[M] = L;
|
|
7695
7687
|
}
|
|
7696
|
-
return
|
|
7688
|
+
return f;
|
|
7697
7689
|
}
|
|
7698
|
-
return
|
|
7699
|
-
}, [M,
|
|
7700
|
-
return /* @__PURE__ */ I.jsx("div", { className: r, children: u == null ? void 0 : u.map((
|
|
7690
|
+
return f;
|
|
7691
|
+
}, [M, g]);
|
|
7692
|
+
return /* @__PURE__ */ I.jsx("div", { className: r, children: u == null ? void 0 : u.map((f, j) => {
|
|
7701
7693
|
const {
|
|
7702
7694
|
x: m,
|
|
7703
7695
|
y: L,
|
|
@@ -7718,7 +7710,7 @@ function fA(t) {
|
|
|
7718
7710
|
top: "0px",
|
|
7719
7711
|
position: "absolute"
|
|
7720
7712
|
}), Ce.cloneElement(
|
|
7721
|
-
|
|
7713
|
+
f,
|
|
7722
7714
|
{ style: U, updateFocusItem: () => s && T(j) }
|
|
7723
7715
|
);
|
|
7724
7716
|
}) });
|
|
@@ -7745,7 +7737,7 @@ function ni(t) {
|
|
|
7745
7737
|
);
|
|
7746
7738
|
}
|
|
7747
7739
|
ni.displayname = "GridPlusItem";
|
|
7748
|
-
function
|
|
7740
|
+
function fA(t) {
|
|
7749
7741
|
const e = Wn(), {
|
|
7750
7742
|
avatar: n,
|
|
7751
7743
|
username: a,
|
|
@@ -7755,7 +7747,7 @@ function hA(t) {
|
|
|
7755
7747
|
return P(() => {
|
|
7756
7748
|
l(e[r] || n || Le);
|
|
7757
7749
|
}, [e, r]), /* @__PURE__ */ I.jsx(
|
|
7758
|
-
|
|
7750
|
+
gn,
|
|
7759
7751
|
{
|
|
7760
7752
|
showLoading: !1,
|
|
7761
7753
|
showAvatar: !1,
|
|
@@ -7775,10 +7767,10 @@ function Uo() {
|
|
|
7775
7767
|
const [
|
|
7776
7768
|
t,
|
|
7777
7769
|
e
|
|
7778
|
-
] = w(
|
|
7770
|
+
] = w(h.getData(A.CALL, c.LOCAL_USER_INFO)), [
|
|
7779
7771
|
n,
|
|
7780
7772
|
a
|
|
7781
|
-
] = w(
|
|
7773
|
+
] = w(h.getData(A.CALL, c.REMOTE_USER_INFO_LIST)), [i, r] = w([]), o = (u) => {
|
|
7782
7774
|
t.volume !== u.volume && e(u);
|
|
7783
7775
|
}, l = (u) => {
|
|
7784
7776
|
if (u.length !== n.length) {
|
|
@@ -7790,14 +7782,14 @@ function Uo() {
|
|
|
7790
7782
|
[c.LOCAL_USER_INFO]: o,
|
|
7791
7783
|
[c.REMOTE_USER_INFO_LIST]: l
|
|
7792
7784
|
};
|
|
7793
|
-
return P(() => (
|
|
7785
|
+
return P(() => (h.watch(
|
|
7794
7786
|
A.CALL,
|
|
7795
7787
|
s,
|
|
7796
7788
|
{
|
|
7797
7789
|
notifyRangeWhenWatch: c.MYSELF
|
|
7798
7790
|
}
|
|
7799
7791
|
), () => {
|
|
7800
|
-
|
|
7792
|
+
h.unwatch(
|
|
7801
7793
|
A.CALL,
|
|
7802
7794
|
s
|
|
7803
7795
|
);
|
|
@@ -7816,7 +7808,7 @@ function jA(t) {
|
|
|
7816
7808
|
P(() => {
|
|
7817
7809
|
a[n] && (l({ objectFit: "fill" }), r(!1), u(a[n] || e || Le));
|
|
7818
7810
|
}, [a, n]);
|
|
7819
|
-
const
|
|
7811
|
+
const N = () => {
|
|
7820
7812
|
l({ objectFit: "cover" }), r(!1), u(Le);
|
|
7821
7813
|
};
|
|
7822
7814
|
return /* @__PURE__ */ I.jsx(ui, { showOverlayer: i, theme: "dot", style: { zIndex: 1, position: "absolute", top: 0 }, children: /* @__PURE__ */ I.jsx(
|
|
@@ -7825,18 +7817,18 @@ function jA(t) {
|
|
|
7825
7817
|
alt: "Failed to load the background image in loading",
|
|
7826
7818
|
style: { ...M, ...o },
|
|
7827
7819
|
src: s,
|
|
7828
|
-
onError:
|
|
7820
|
+
onError: N
|
|
7829
7821
|
}
|
|
7830
7822
|
) });
|
|
7831
7823
|
}
|
|
7832
|
-
const CA = "
|
|
7833
|
-
"stream-container": "_stream-
|
|
7824
|
+
const CA = "_mobile_1n8ml_7", LA = "_pc_1n8ml_10", yA = "_float_1n8ml_14", mA = "_center_1n8ml_23", SA = "_hidden_1n8ml_45", OA = "_userinfo_1n8ml_48", Ke = {
|
|
7825
|
+
"stream-container": "_stream-container_1n8ml_1",
|
|
7834
7826
|
mobile: CA,
|
|
7835
7827
|
pc: LA,
|
|
7836
7828
|
float: yA,
|
|
7837
|
-
"groupcall-gridplus-container": "_groupcall-gridplus-
|
|
7829
|
+
"groupcall-gridplus-container": "_groupcall-gridplus-container_1n8ml_19",
|
|
7838
7830
|
center: mA,
|
|
7839
|
-
"two-layout": "_two-
|
|
7831
|
+
"two-layout": "_two-layout_1n8ml_26",
|
|
7840
7832
|
hidden: SA,
|
|
7841
7833
|
userinfo: OA
|
|
7842
7834
|
};
|
|
@@ -7846,9 +7838,9 @@ function wA() {
|
|
|
7846
7838
|
return /* @__PURE__ */ I.jsx(jA, { ...T });
|
|
7847
7839
|
}
|
|
7848
7840
|
function M(T) {
|
|
7849
|
-
return /* @__PURE__ */ I.jsx(
|
|
7841
|
+
return /* @__PURE__ */ I.jsx(fA, { ...T });
|
|
7850
7842
|
}
|
|
7851
|
-
const
|
|
7843
|
+
const N = Qn(() => e.map((T, D) => /* @__PURE__ */ I.jsx(ni, { index: D + 1, children: /* @__PURE__ */ I.jsx(
|
|
7852
7844
|
Oo,
|
|
7853
7845
|
{
|
|
7854
7846
|
className: R({
|
|
@@ -7871,7 +7863,7 @@ function wA() {
|
|
|
7871
7863
|
isSpkear: l.includes(T.domId),
|
|
7872
7864
|
isLargeView: i === D + 1
|
|
7873
7865
|
}
|
|
7874
|
-
) }, T.userId)), [e, l, i]),
|
|
7866
|
+
) }, T.userId)), [e, l, i]), g = R([
|
|
7875
7867
|
Ke["groupcall-gridplus-container"],
|
|
7876
7868
|
{
|
|
7877
7869
|
[Ke.pc]: x.isPC,
|
|
@@ -7893,9 +7885,9 @@ function wA() {
|
|
|
7893
7885
|
}
|
|
7894
7886
|
]),
|
|
7895
7887
|
children: /* @__PURE__ */ I.jsx(Zn, { attach: o ? "#float" : "#group-container", style: { width: "100%", height: "100%", position: "relative" }, children: /* @__PURE__ */ I.jsxs(
|
|
7896
|
-
|
|
7888
|
+
hA,
|
|
7897
7889
|
{
|
|
7898
|
-
className:
|
|
7890
|
+
className: g,
|
|
7899
7891
|
isMobile: !x.isPC,
|
|
7900
7892
|
enableFocus: !x.isPC && !o,
|
|
7901
7893
|
unit: x.isPC ? "%" : "vw",
|
|
@@ -7924,7 +7916,7 @@ function wA() {
|
|
|
7924
7916
|
isLargeView: i === 0
|
|
7925
7917
|
}
|
|
7926
7918
|
) }, t.userId),
|
|
7927
|
-
...
|
|
7919
|
+
...N()
|
|
7928
7920
|
]
|
|
7929
7921
|
}
|
|
7930
7922
|
) })
|
|
@@ -7940,8 +7932,8 @@ function xA() {
|
|
|
7940
7932
|
const { remoteList: t, localUserInfo: e } = k(be), { callRole: n, callStatus: a, isFloat: i } = k(ne), [r, o] = w(null), l = se(() => ({
|
|
7941
7933
|
focusItem: r,
|
|
7942
7934
|
setFocusItem: o
|
|
7943
|
-
}), [r, o]), s = () => i ? null : /* @__PURE__ */ I.jsx(Hr, {}), u = () => i ? null : /* @__PURE__ */ I.jsx(co, {}), M = () => a === _.CALLING && n !== Ie.CALLER && !i ? /* @__PURE__ */ I.jsx(EA, { remoteList: t, callRole: n }) : null,
|
|
7944
|
-
|
|
7935
|
+
}), [r, o]), s = () => i ? null : /* @__PURE__ */ I.jsx(Hr, {}), u = () => i ? null : /* @__PURE__ */ I.jsx(co, {}), M = () => a === _.CALLING && n !== Ie.CALLER && !i ? /* @__PURE__ */ I.jsx(EA, { remoteList: t, callRole: n }) : null, N = () => !i && (n !== Ie.CALLER && a === _.CONNECTED || n === Ie.CALLER) ? /* @__PURE__ */ I.jsx(
|
|
7936
|
+
gn,
|
|
7945
7937
|
{
|
|
7946
7938
|
blur: !0,
|
|
7947
7939
|
showAvatar: !1,
|
|
@@ -7949,16 +7941,16 @@ function xA() {
|
|
|
7949
7941
|
avatar: e.avatar || Le,
|
|
7950
7942
|
isMobile: !x.isPC
|
|
7951
7943
|
}
|
|
7952
|
-
) : null,
|
|
7944
|
+
) : null, g = R([
|
|
7953
7945
|
Cr["group-container"],
|
|
7954
7946
|
{ [Cr.mobile]: !x.isPC }
|
|
7955
7947
|
]);
|
|
7956
|
-
return /* @__PURE__ */ I.jsx(Mi.Provider, { value: l, children: /* @__PURE__ */ I.jsxs("div", { className:
|
|
7948
|
+
return /* @__PURE__ */ I.jsx(Mi.Provider, { value: l, children: /* @__PURE__ */ I.jsxs("div", { className: g, children: [
|
|
7957
7949
|
s(),
|
|
7958
7950
|
M(),
|
|
7959
7951
|
(n === Ie.CALLER || a === _.CONNECTED) && /* @__PURE__ */ I.jsx(wA, {}),
|
|
7960
7952
|
u(),
|
|
7961
|
-
|
|
7953
|
+
N()
|
|
7962
7954
|
] }) });
|
|
7963
7955
|
}
|
|
7964
7956
|
let Qa = 0;
|
|
@@ -8007,7 +7999,7 @@ function RA() {
|
|
|
8007
7999
|
t(a[0]);
|
|
8008
8000
|
});
|
|
8009
8001
|
}
|
|
8010
|
-
async function
|
|
8002
|
+
async function ha(t, e) {
|
|
8011
8003
|
const n = await RA(), { content: a, offset: i, onClose: r = Ss } = e, o = document.createElement("div");
|
|
8012
8004
|
Qa += 1;
|
|
8013
8005
|
const l = {
|
|
@@ -8047,16 +8039,16 @@ async function fa(t, e) {
|
|
|
8047
8039
|
});
|
|
8048
8040
|
}
|
|
8049
8041
|
function bA(t) {
|
|
8050
|
-
|
|
8042
|
+
ha("info", t);
|
|
8051
8043
|
}
|
|
8052
8044
|
function _A(t) {
|
|
8053
|
-
|
|
8045
|
+
ha("warn", t);
|
|
8054
8046
|
}
|
|
8055
8047
|
function kA(t) {
|
|
8056
|
-
|
|
8048
|
+
ha("success", t);
|
|
8057
8049
|
}
|
|
8058
8050
|
function VA(t) {
|
|
8059
|
-
|
|
8051
|
+
ha("error", t);
|
|
8060
8052
|
}
|
|
8061
8053
|
function QA() {
|
|
8062
8054
|
oa == null || oa.forEach((t) => t.close());
|
|
@@ -8084,7 +8076,7 @@ const BA = {
|
|
|
8084
8076
|
"floating-window-h5-groupcall-container": "_floating-window-h5-groupcall-container_1es4b_1"
|
|
8085
8077
|
};
|
|
8086
8078
|
function qA(t) {
|
|
8087
|
-
const { hasVideo: e, clickable: n } = t, { isGroupCall: a, callStatus: i } = k(ne), { isFloat: r } = k(ne), { localUserInfo: { isAudioAvailable: o, isVideoAvailable: l } } = k(be), s = Ii(), { t: u } = _e(), M = l ? YA : GA,
|
|
8079
|
+
const { hasVideo: e, clickable: n } = t, { isGroupCall: a, callStatus: i } = k(ne), { isFloat: r } = k(ne), { localUserInfo: { isAudioAvailable: o, isVideoAvailable: l } } = k(be), s = Ii(), { t: u } = _e(), M = l ? YA : GA, N = o ? FA : ZA, g = () => {
|
|
8088
8080
|
const D = R([
|
|
8089
8081
|
pe["video-stream"]
|
|
8090
8082
|
]);
|
|
@@ -8124,7 +8116,7 @@ function qA(t) {
|
|
|
8124
8116
|
[pe.video]: e
|
|
8125
8117
|
}
|
|
8126
8118
|
]),
|
|
8127
|
-
children:
|
|
8119
|
+
children: g()
|
|
8128
8120
|
}
|
|
8129
8121
|
),
|
|
8130
8122
|
a && r && /* @__PURE__ */ I.jsxs("div", { className: pe["device-status"], children: [
|
|
@@ -8145,7 +8137,7 @@ function qA(t) {
|
|
|
8145
8137
|
pe.icon,
|
|
8146
8138
|
pe.micphone
|
|
8147
8139
|
]),
|
|
8148
|
-
children: /* @__PURE__ */ I.jsx(te, { url:
|
|
8140
|
+
children: /* @__PURE__ */ I.jsx(te, { url: N })
|
|
8149
8141
|
}
|
|
8150
8142
|
)
|
|
8151
8143
|
] })
|
|
@@ -8153,21 +8145,21 @@ function qA(t) {
|
|
|
8153
8145
|
}
|
|
8154
8146
|
);
|
|
8155
8147
|
}
|
|
8156
|
-
const
|
|
8148
|
+
const eN = "_video_1wchz_1", tN = "_info_1wchz_1", nN = "_hidden_1wchz_1", aN = "_earphone_1wchz_1", iN = "_tip_1wchz_1", xe = {
|
|
8157
8149
|
"floating-window-h5-singlecall-container": "_floating-window-h5-singlecall-container_1wchz_1",
|
|
8158
8150
|
"audio-call": "_audio-call_1wchz_1",
|
|
8159
8151
|
"click-overlay": "_click-overlay_1wchz_1",
|
|
8160
8152
|
"call-status": "_call-status_1wchz_1",
|
|
8161
|
-
video:
|
|
8162
|
-
info:
|
|
8153
|
+
video: eN,
|
|
8154
|
+
info: tN,
|
|
8163
8155
|
"video-stream": "_video-stream_1wchz_1",
|
|
8164
|
-
hidden:
|
|
8156
|
+
hidden: nN,
|
|
8165
8157
|
"audio-stream": "_audio-stream_1wchz_1",
|
|
8166
|
-
earphone:
|
|
8167
|
-
tip:
|
|
8158
|
+
earphone: aN,
|
|
8159
|
+
tip: iN,
|
|
8168
8160
|
"floating-window-pc-singlecall-container": "_floating-window-pc-singlecall-container_1wchz_1"
|
|
8169
8161
|
};
|
|
8170
|
-
function
|
|
8162
|
+
function rN(t) {
|
|
8171
8163
|
const { hasVideo: e, clickable: n } = t, { callStatus: a, callType: i } = k(ne), { isFloat: r } = k(ne), o = Ii(), { t: l } = _e(), s = () => {
|
|
8172
8164
|
const M = R([
|
|
8173
8165
|
xe["video-stream"],
|
|
@@ -8208,7 +8200,7 @@ function rg(t) {
|
|
|
8208
8200
|
)
|
|
8209
8201
|
] });
|
|
8210
8202
|
}
|
|
8211
|
-
const
|
|
8203
|
+
const oN = {
|
|
8212
8204
|
touch: {
|
|
8213
8205
|
start: "onTouchStart",
|
|
8214
8206
|
move: "touchmove",
|
|
@@ -8219,11 +8211,11 @@ const og = {
|
|
|
8219
8211
|
move: "mousemove",
|
|
8220
8212
|
stop: "mouseup"
|
|
8221
8213
|
}
|
|
8222
|
-
}, Yt =
|
|
8214
|
+
}, Yt = oN[x.isH5 ? "touch" : "mouse"];
|
|
8223
8215
|
function Lr(t) {
|
|
8224
8216
|
return x.isH5 && (t = t.touches[0]), { clientX: t.clientX, clientY: t.clientY };
|
|
8225
8217
|
}
|
|
8226
|
-
function
|
|
8218
|
+
function sN(t) {
|
|
8227
8219
|
var S;
|
|
8228
8220
|
const {
|
|
8229
8221
|
nodeRef: e,
|
|
@@ -8232,7 +8224,7 @@ function sg(t) {
|
|
|
8232
8224
|
onMoveEnd: i,
|
|
8233
8225
|
onPositionChange: r,
|
|
8234
8226
|
initialPosition: o = { left: "0px", top: "0px" }
|
|
8235
|
-
} = t, l = at(!1), s = at({}), u = at({ left: 0, top: 0 }), [M,
|
|
8227
|
+
} = t, l = at(!1), s = at({}), u = at({ left: 0, top: 0 }), [M, N] = w(o), [g, T] = w();
|
|
8236
8228
|
P(() => () => {
|
|
8237
8229
|
e.current && (e.current.ownerDocument.removeEventListener(Yt.move, j), e.current.ownerDocument.removeEventListener(Yt.stop, m));
|
|
8238
8230
|
}, [e.current]);
|
|
@@ -8244,13 +8236,13 @@ function sg(t) {
|
|
|
8244
8236
|
const { clientX: U, clientY: b } = Lr(y), B = U - s.current.oW, F = b - s.current.oH;
|
|
8245
8237
|
return { left: B, top: F };
|
|
8246
8238
|
}, p = (y) => {
|
|
8247
|
-
l.current = !0, s.current = D(y), u.current = E(y),
|
|
8248
|
-
},
|
|
8239
|
+
l.current = !0, s.current = D(y), u.current = E(y), N({ left: "0px", top: "0px" }), e.current.ownerDocument.addEventListener(Yt.move, j), e.current.ownerDocument.addEventListener(Yt.stop, m);
|
|
8240
|
+
}, f = (y) => {
|
|
8249
8241
|
a == null || a();
|
|
8250
8242
|
let { left: U, top: b } = E(y);
|
|
8251
8243
|
U < 0 ? U = 0 : U > s.current.htmlWidth - s.current.bWidth && (U = s.current.htmlWidth - s.current.bWidth), b < 0 ? b = 0 : b > s.current.htmlHeight - s.current.bHeight && (b = s.current.htmlHeight - s.current.bHeight), u.current = { left: U, top: b }, r == null || r({ left: U, top: b }), T({ left: U, top: b });
|
|
8252
8244
|
}, j = (y) => {
|
|
8253
|
-
l.current &&
|
|
8245
|
+
l.current && f(y);
|
|
8254
8246
|
}, m = (y) => {
|
|
8255
8247
|
l.current = !1;
|
|
8256
8248
|
let U = u.current.left;
|
|
@@ -8275,25 +8267,25 @@ function sg(t) {
|
|
|
8275
8267
|
[Yt.start]: p
|
|
8276
8268
|
}) });
|
|
8277
8269
|
}
|
|
8278
|
-
function
|
|
8270
|
+
function cN(t) {
|
|
8279
8271
|
const { isGroupCall: e } = k(ne), n = at(), [a, i] = w(!0), r = t.show ? "" : "hidden";
|
|
8280
8272
|
return /* @__PURE__ */ I.jsx(
|
|
8281
|
-
|
|
8273
|
+
sN,
|
|
8282
8274
|
{
|
|
8283
8275
|
nodeRef: n,
|
|
8284
8276
|
initialPosition: { right: "0px", top: "100px" },
|
|
8285
8277
|
onMoveStart: () => i(!1),
|
|
8286
8278
|
onMoveEnd: () => i(!0),
|
|
8287
|
-
children: /* @__PURE__ */ I.jsx("div", { ref: n, style: { visibility: r }, children: e ? /* @__PURE__ */ I.jsx(qA, { clickable: a, ...t }) : /* @__PURE__ */ I.jsx(
|
|
8279
|
+
children: /* @__PURE__ */ I.jsx("div", { ref: n, style: { visibility: r }, children: e ? /* @__PURE__ */ I.jsx(qA, { clickable: a, ...t }) : /* @__PURE__ */ I.jsx(rN, { clickable: a, ...t }) })
|
|
8288
8280
|
}
|
|
8289
8281
|
);
|
|
8290
8282
|
}
|
|
8291
|
-
const
|
|
8283
|
+
const lN = "_float_1e13c_105", uN = "_mobile_1e13c_109", Ba = {
|
|
8292
8284
|
"tuicallkit-container": "_tuicallkit-container_1e13c_98",
|
|
8293
|
-
float:
|
|
8294
|
-
mobile:
|
|
8285
|
+
float: lN,
|
|
8286
|
+
mobile: uN
|
|
8295
8287
|
};
|
|
8296
|
-
function
|
|
8288
|
+
function fa(t) {
|
|
8297
8289
|
const {
|
|
8298
8290
|
style: e,
|
|
8299
8291
|
className: n,
|
|
@@ -8304,30 +8296,30 @@ function ha(t) {
|
|
|
8304
8296
|
beforeCalling: l,
|
|
8305
8297
|
afterCalling: s,
|
|
8306
8298
|
onMinimized: u
|
|
8307
|
-
} = t, [M,
|
|
8299
|
+
} = t, [M, N] = w(h.getData(A.CALL, c.CALL_STATUS)), [g, T] = w(h.getData(A.CALL, c.IS_GROUP)), [
|
|
8308
8300
|
D,
|
|
8309
8301
|
E
|
|
8310
|
-
] = w(
|
|
8302
|
+
] = w(h.getData(A.CALL, c.CALLER_USER_INFO)), [
|
|
8311
8303
|
p,
|
|
8312
|
-
|
|
8313
|
-
] = w(
|
|
8304
|
+
f
|
|
8305
|
+
] = w(h.getData(A.CALL, c.LOCAL_USER_INFO)), [
|
|
8314
8306
|
j,
|
|
8315
8307
|
m
|
|
8316
|
-
] = w(
|
|
8308
|
+
] = w(h.getData(A.CALL, c.REMOTE_USER_INFO_LIST)), [L, S] = w(h.getData(A.CALL, c.CALL_MEDIA_TYPE)), [y, U] = w(h.getData(A.CALL, c.CALL_ROLE)), [b, B] = w(h.getData(A.CALL, c.IS_EAR_PHONE)), [F, ae] = w(!1), [
|
|
8317
8309
|
ue,
|
|
8318
8310
|
K
|
|
8319
|
-
] = w(
|
|
8311
|
+
] = w(h.getData(A.CALL, c.ENABLE_VIRTUAL_BACKGROUND)), [
|
|
8320
8312
|
ce,
|
|
8321
8313
|
Ae
|
|
8322
|
-
] = w(
|
|
8314
|
+
] = w(h.getData(A.CALL, c.IS_SHOW_ENABLE_VIRTUAL_BACKGROUND)), [
|
|
8323
8315
|
ie,
|
|
8324
8316
|
De
|
|
8325
|
-
] = w(
|
|
8317
|
+
] = w(h.getData(A.CALL, c.IS_MUTE_SPEAKER)), ot = Uo(), ke = se(() => ({
|
|
8326
8318
|
callStatus: M,
|
|
8327
8319
|
callRole: y,
|
|
8328
8320
|
callType: L,
|
|
8329
8321
|
isEarPhone: b,
|
|
8330
|
-
isGroupCall:
|
|
8322
|
+
isGroupCall: g,
|
|
8331
8323
|
isFloat: F,
|
|
8332
8324
|
allowedMinimized: a,
|
|
8333
8325
|
allowedFullScreen: i,
|
|
@@ -8339,7 +8331,7 @@ function ha(t) {
|
|
|
8339
8331
|
y,
|
|
8340
8332
|
L,
|
|
8341
8333
|
b,
|
|
8342
|
-
|
|
8334
|
+
g,
|
|
8343
8335
|
F,
|
|
8344
8336
|
i,
|
|
8345
8337
|
ue,
|
|
@@ -8349,9 +8341,9 @@ function ha(t) {
|
|
|
8349
8341
|
localUserInfo: p,
|
|
8350
8342
|
remoteList: j
|
|
8351
8343
|
}), [p, j]), [
|
|
8352
|
-
|
|
8344
|
+
ft,
|
|
8353
8345
|
$e
|
|
8354
|
-
] = w(
|
|
8346
|
+
] = w(h.getData(A.CALL, c.CUSTOM_UI_CONFIG)), [ye, qe] = w({ t: h.getData(A.CALL, c.TRANSLATE) }), Ve = R([
|
|
8355
8347
|
n,
|
|
8356
8348
|
Ba["tuicallkit-container"],
|
|
8357
8349
|
{
|
|
@@ -8359,13 +8351,13 @@ function ha(t) {
|
|
|
8359
8351
|
[Ba.float]: F
|
|
8360
8352
|
}
|
|
8361
8353
|
]), He = (Y) => {
|
|
8362
|
-
|
|
8354
|
+
N(Y);
|
|
8363
8355
|
}, et = (Y) => {
|
|
8364
8356
|
T(Y);
|
|
8365
8357
|
}, me = (Y) => {
|
|
8366
8358
|
E(Y);
|
|
8367
8359
|
}, ct = (Y) => {
|
|
8368
|
-
|
|
8360
|
+
f(Y);
|
|
8369
8361
|
}, pt = (Y) => {
|
|
8370
8362
|
m(Y);
|
|
8371
8363
|
}, Rt = (Y) => {
|
|
@@ -8410,16 +8402,16 @@ function ha(t) {
|
|
|
8410
8402
|
var nt;
|
|
8411
8403
|
const Y = (nt = document.documentElement.dataset) == null ? void 0 : nt.uikitTheme;
|
|
8412
8404
|
["light", "dark"].indexOf(Y) === -1 && (document.documentElement.dataset.uikitTheme = "light");
|
|
8413
|
-
}, []), P(() => (
|
|
8405
|
+
}, []), P(() => (h.watch(
|
|
8414
8406
|
A.CALL,
|
|
8415
8407
|
ut,
|
|
8416
8408
|
{
|
|
8417
8409
|
notifyRangeWhenWatch: c.MYSELF
|
|
8418
8410
|
}
|
|
8419
|
-
),
|
|
8411
|
+
), h.watch(A.CALL, {
|
|
8420
8412
|
[c.IS_MINIMIZED]: lt
|
|
8421
8413
|
}), () => {
|
|
8422
|
-
|
|
8414
|
+
h.unwatch(
|
|
8423
8415
|
A.CALL,
|
|
8424
8416
|
{ ...ut, [c.IS_MINIMIZED]: lt }
|
|
8425
8417
|
);
|
|
@@ -8437,50 +8429,50 @@ function ha(t) {
|
|
|
8437
8429
|
o,
|
|
8438
8430
|
a,
|
|
8439
8431
|
u
|
|
8440
|
-
]), M !== _.IDLE && /* @__PURE__ */ I.jsx(be.Provider, { value: st, children: /* @__PURE__ */ I.jsx(Fr.Provider, { value: D, children: /* @__PURE__ */ I.jsx(ne.Provider, { value: ke, children: /* @__PURE__ */ I.jsx(Yn.Provider, { value:
|
|
8432
|
+
]), M !== _.IDLE && /* @__PURE__ */ I.jsx(be.Provider, { value: st, children: /* @__PURE__ */ I.jsx(Fr.Provider, { value: D, children: /* @__PURE__ */ I.jsx(ne.Provider, { value: ke, children: /* @__PURE__ */ I.jsx(Yn.Provider, { value: ft, children: /* @__PURE__ */ I.jsxs(Zr.Provider, { value: ye, children: [
|
|
8441
8433
|
/* @__PURE__ */ I.jsxs("div", { style: { ...e }, className: Ve, id: "tuicallkit-id", children: [
|
|
8442
|
-
!
|
|
8443
|
-
|
|
8434
|
+
!g && /* @__PURE__ */ I.jsx(DA, {}),
|
|
8435
|
+
g && /* @__PURE__ */ I.jsx(xA, {}),
|
|
8444
8436
|
/* @__PURE__ */ I.jsx(Ws, {})
|
|
8445
8437
|
] }),
|
|
8446
8438
|
/* @__PURE__ */ I.jsx(Zn, { attach: "body", children: /* @__PURE__ */ I.jsx(
|
|
8447
|
-
|
|
8439
|
+
cN,
|
|
8448
8440
|
{
|
|
8449
8441
|
show: F,
|
|
8450
|
-
hasVideo:
|
|
8442
|
+
hasVideo: g ? ot.length !== 0 : L === $.VIDEO,
|
|
8451
8443
|
isAudioAvailable: p.isAudioAvailable
|
|
8452
8444
|
}
|
|
8453
8445
|
) })
|
|
8454
8446
|
] }) }) }) }) });
|
|
8455
8447
|
}
|
|
8456
|
-
const
|
|
8457
|
-
t.component("TUICallKit",
|
|
8448
|
+
const MN = (t) => (t.component("TUICallKit", { server: X }), X.bindTUICore(t), fa), IN = (t) => {
|
|
8449
|
+
t.component("TUICallKit", fa), console.log("TUICallKit&mini installed", t);
|
|
8458
8450
|
};
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
const
|
|
8451
|
+
fa.plugin = MN;
|
|
8452
|
+
fa.install = IN;
|
|
8453
|
+
const fN = {
|
|
8462
8454
|
AUDIO_CALL: 1,
|
|
8463
8455
|
VIDEO_CALL: 2
|
|
8464
|
-
},
|
|
8456
|
+
}, pN = "4.4.3-beta.1";
|
|
8465
8457
|
export {
|
|
8466
8458
|
$ as CallMediaType,
|
|
8467
|
-
|
|
8459
|
+
hN as CallMessage,
|
|
8468
8460
|
Ie as CallRole,
|
|
8469
8461
|
un as FeatureButton,
|
|
8470
8462
|
sa as LayoutMode,
|
|
8471
8463
|
c as NAME,
|
|
8472
8464
|
Ee as STATUS,
|
|
8473
8465
|
A as StoreName,
|
|
8474
|
-
|
|
8466
|
+
fa as TUICallKit,
|
|
8475
8467
|
X as TUICallKitAPI,
|
|
8476
|
-
|
|
8468
|
+
fN as TUICallType,
|
|
8477
8469
|
x as TUIGlobal,
|
|
8478
|
-
|
|
8479
|
-
|
|
8470
|
+
h as TUIStore,
|
|
8471
|
+
pN as Version,
|
|
8480
8472
|
ii as VideoDisplayMode,
|
|
8481
8473
|
ri as VideoResolution,
|
|
8482
|
-
|
|
8483
|
-
|
|
8474
|
+
IN as install,
|
|
8475
|
+
MN as plugin,
|
|
8484
8476
|
xt as t,
|
|
8485
8477
|
mt as uiDesign
|
|
8486
8478
|
};
|