1234567 |
- !function(){function e(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(l){s=!0,i=l}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){l(a,r,i,o,s,"next",e)}function s(e){l(a,r,i,o,s,"throw",e)}o(void 0)}))}}var u=document.createElement("style");u.innerHTML='._liveHeader_turek_1{padding:0 40px 0 20px;height:var(--header-bar-height);background:var(--live-main-color);box-shadow:0 0 2px rgba(0,0,0,.25),0 0 6px 2px rgba(0,0,0,.1);display:flex;justify-content:space-between;align-items:center;color:var(--live-color);overflow:overlay}._liveHeader_turek_1 ._liveLogo_turek_12{height:36px;width:36px;padding-right:10px}._liveHeader_turek_1 ._liveHeaderLeft_turek_17{display:flex;align-items:center;font-weight:700;font-size:22px}._liveHeader_turek_1 ._liveHeaderLeft_turek_17 ._liveHeaderLeftIcon_turek_23{display:inherit;align-items:inherit}._liveHeader_turek_1 ._liveHeaderLeft_turek_17 ._liveHeaderLeftText_turek_27{padding-left:20px}._avatarWrapper_turek_30{display:flex;align-items:center;color:var(--live-color);font-weight:500;font-size:18px}._avatarWrapper_turek_30 ._userAvatar_turek_37{width:34px;height:34px;border-radius:50%}._avatarWrapper_turek_30 span{padding-left:8px}._header_nc46v_1{display:flex;justify-content:space-between;align-items:center;padding:13px 19px;height:var(--header-height);box-sizing:border-box;background:rgba(0,0,0,.6)}._header_nc46v_1>._title_nc46v_10{font-size:18px;font-weight:400}.el-message-box{border-color:transparent;background-color:var(--live-main-color)}.el-message-box__header{background-color:var(--live-backound-color);color:var(--live-color)}.el-message-box__title,.el-message-box__container,.el-message-box__headerbtn .el-message-box__close{color:var(--live-color)}._action-bar_1akc3_1{box-sizing:border-box;height:var(--action-bar-height);padding:14px 22px;display:flex;align-items:center;justify-content:space-between}._action-bar_1akc3_1 button{overflow:hidden}._bar-btn_1akc3_12{display:flex;flex-direction:column;align-items:center;color:var(--live-color);font-size:14px}._bar-btn_1akc3_12 ._bar-btn-text_1akc3_19{padding-top:6px;line-height:20px}._bar-btn_1akc3_12+._bar-btn_1akc3_12{margin-left:25px}.el-dialog{margin-bottom:10vh}.el-dialog .el-dialog__header{background:var(--live-main-color);padding:15px 20px}.el-dialog .el-dialog__header .el-dialog__title,.el-dialog .el-dialog__header .el-dialog__headerbtn .el-dialog__close{color:#fff}.el-dropdown__popper.el-popper{border-color:var(--live-main-color)!important}.el-dropdown__popper.el-popper[role=tooltip] .el-popper__arrow:before{border-color:var(--live-main-color);background-color:var(--live-main-color)}.el-slider{--el-slider-height: 2px;--el-slider-button-size: 14px;--el-slider-button-wrapper-offset: -17px;--el-slider-main-bg-color: var(--live-text-color)}.el-slider__button{border-color:var(--live-color);background-color:var(--live-text-color)}.el-dropdown-menu{background-color:var(--live-main-color);color:var(--live-color);border-radius:2px}.el-dropdown-menu .el-dropdown-menu__item{color:inherit}.el-dropdown-menu .is-disabled{opacity:.5}.el-dropdown-menu .el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--live-main-color);color:var(--live-color)}._volumeSlider_1akc3_71{display:flex;align-items:center;padding:0 12px;width:195px;height:55px;background-color:var(--live-main-color);border-color:var(--live-main-color)}._volumeSlider_1akc3_71 ._volumeIcon_1akc3_80{width:14px;height:15px;padding-right:8px}._btnInner_1akc3_85{display:flex;align-items:center;justify-content:center;width:60px;height:32px;background:rgba(94,98,109,.33);border-radius:16px}._shareWrap_d61fv_1{background:#f9f9f9;padding:16px}._shareWrap_d61fv_1 h2{font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333;line-height:25px;margin-bottom:18px}._shareWrap_d61fv_1 h4{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:28px}._shareWrap_d61fv_1 p{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:30px}._shareBtn_d61fv_27{height:48px;background:var(--el-color-primary);border-radius:32px;width:192px;color:#fff;margin:24px auto 0;text-align:center;line-height:48px;font-size:20px;cursor:pointer}._shareWrap_ap100_1{background-color:#f9f9f9;padding:15px}._chioseBox_ap100_5 .el-checkbox__inner{width:20px;height:20px;border-radius:50%}._chioseBox_ap100_5 .el-checkbox__inner:after{height:8px;left:6px;position:absolute;top:3px;width:4px}._cell_ap100_17{height:63px;background:#ffffff;padding:10px 18px;display:flex;flex-direction:row;align-items:center;cursor:pointer;margin-bottom:10px}._dotle_ap100_27{width:42px;height:43px;background:var(--el-color-primary);border-radius:4px;line-height:42px;text-align:center;color:#fff;margin-left:17px;font-size:14px}._teamInfo_ap100_38{font-size:14px;margin-left:8px}._teamInfo_ap100_38 ._title_ap100_42{font-weight:500;color:#1a1a1a;line-height:22px}._teamInfo_ap100_38 ._subInfo_ap100_47{color:#666;line-height:22px}._tableWrap_ap100_51{max-height:500px;overflow-y:scroll}._third_p1nol_1{position:relative;background:linear-gradient(135deg,#8d8cff 0%,#9664ec 100%);padding:43px 20px 54px}._third_p1nol_1 h2{width:254px;font-size:30px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:40px;text-shadow:0px 2px 4px #9366ee;min-height:80px;display:flex;flex-direction:row;align-items:center}._third_p1nol_1 ._preCore_p1nol_19 ._title_p1nol_19{background:#fa912c}._second_p1nol_22{position:relative;background:linear-gradient(135deg,#ff9d9d 0%,#ff6d6d 100%);padding:43px 20px 54px}._second_p1nol_22 h2{width:254px;font-size:30px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:40px;text-shadow:0px 2px 4px #ff5f5f;min-height:80px;display:flex;flex-direction:row;align-items:center}._second_p1nol_22 ._preCore_p1nol_19 ._title_p1nol_19{background:#fa502c}._first_p1nol_43{position:relative;background:linear-gradient(135deg,#4f8dff 0%,#0055ee 100%);padding:43px 20px 54px}._first_p1nol_43 h2{width:254px;font-size:30px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:40px;text-shadow:0px 2px 4px #1054f1;min-height:80px;display:flex;flex-direction:row;align-items:center}._icon_p1nol_61{width:231px;height:223px;position:absolute;right:3px;top:36px}._teacher_p1nol_68{font-size:16px!important;font-family:PingFangSC-Medium,PingFang SC!important;font-weight:500!important;color:#fff!important;line-height:20px!important;margin-top:15px!important;margin-bottom:67px!important}._preCore_p1nol_19{position:relative;z-index:100;padding:12px;background:#ffffff;border-radius:11px}._preCore_p1nol_19 ._start_p1nol_84{width:50px;height:59px;position:absolute;top:24px;right:-11px}._preCore_p1nol_19 ._title_p1nol_19{width:85px;background:#faab2c;border-radius:7px;padding:2px;font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:25px;text-align:center}._preCore_p1nol_19 ._time_p1nol_103{font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:600;color:#000;line-height:25px;margin:15px 0 15px 4px}._preCore_p1nol_19 ._content_p1nol_112{margin-top:20px;position:relative;background:linear-gradient(49deg,#fff8e2 0%,#fff1d5 100%);border-radius:8px;padding:20px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000;line-height:25px;margin-bottom:12px}._preCore_p1nol_19 ._content_p1nol_112 ._pre_p1nol_19{width:20px;height:20px;position:absolute;left:-3px;top:-4px}._preCore_p1nol_19 ._content_p1nol_112 ._end_p1nol_132{width:20px;height:20px;position:absolute;bottom:-4px;right:10px}._bottom_p1nol_139{display:flex;flex-direction:row;justify-content:space-between;margin:30px 8px 0}._bottom_p1nol_139 ._logo_p1nol_145{width:202px;height:84px}._bottom_p1nol_139 ._code_p1nol_149{padding:2px;width:80px;height:80px;background-color:#fff}._container_19awp_1{position:absolute;top:50%;left:50%;display:flex;background-color:var(--tips-backound-color);color:var(--live-color);border-radius:8px;transform:translate(-50%,-50%)}._container_19awp_1>div{padding:32px 100px;text-align:center;width:360px;box-sizing:border-box}._container_19awp_1>div svg{width:74px;height:68px}._container_19awp_1>div ._title_19awp_21{font-size:20px;margin-top:15px}._container_19awp_1>div ._tips_19awp_25{font-size:14px;color:var(--tips-color);margin-top:5px}.ball-pulse-sync>div,.ball-pulse>div{width:15px;height:15px;margin:2px;display:inline-block}.ball-pulse-sync>div,.ball-pulse>div,.ball-scale>div{background-color:#fff;border-radius:100%}@-webkit-keyframes scale{0%,80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}}@keyframes scale{0%,80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}}.ball-pulse>div:nth-child(0){-webkit-animation:scale .75s -.36s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.36s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div:nth-child(1){-webkit-animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div:nth-child(2){-webkit-animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div:nth-child(3){-webkit-animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div{-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes ball-pulse-sync{33%{-webkit-transform:translateY(10px);transform:translateY(10px)}66%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes ball-pulse-sync{33%{-webkit-transform:translateY(10px);transform:translateY(10px)}66%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.ball-pulse-sync>div:nth-child(0){-webkit-animation:ball-pulse-sync .6s -.21s infinite ease-in-out;animation:ball-pulse-sync .6s -.21s infinite ease-in-out}.ball-pulse-sync>div:nth-child(1){-webkit-animation:ball-pulse-sync .6s -.14s infinite ease-in-out;animation:ball-pulse-sync .6s -.14s infinite ease-in-out}.ball-pulse-sync>div:nth-child(2){-webkit-animation:ball-pulse-sync .6s -.07s infinite ease-in-out;animation:ball-pulse-sync .6s -.07s infinite ease-in-out}.ball-pulse-sync>div:nth-child(3){-webkit-animation:ball-pulse-sync .6s 0s infinite ease-in-out;animation:ball-pulse-sync .6s 0s infinite ease-in-out}.ball-pulse-sync>div{-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.ball-scale>div{height:60px;width:60px;animation:ball-scale 1s 0s ease-in-out infinite}.ball-scale-random>div,.ball-scale>div{display:inline-block;margin:2px;-webkit-animation:ball-scale 1s 0s ease-in-out infinite}.ball-scale-random{width:37px;height:40px}.ball-scale-random>div{background-color:#fff;border-radius:100%;position:absolute;height:30px;width:30px;animation:ball-scale 1s 0s ease-in-out infinite}.ball-rotate>div,.ball-rotate>div:after,.ball-rotate>div:before{background-color:#fff;width:15px;height:15px;border-radius:100%}.ball-rotate,.ball-rotate>div{position:relative}.ball-scale-random>div:nth-child(1){margin-left:-7px;-webkit-animation:ball-scale 1s .2s ease-in-out infinite;animation:ball-scale 1s .2s ease-in-out infinite}.ball-scale-random>div:nth-child(3){margin-left:-2px;margin-top:9px;-webkit-animation:ball-scale 1s .5s ease-in-out infinite;animation:ball-scale 1s .5s ease-in-out infinite}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ball-rotate>div{margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ball-rotate>div:first-child{-webkit-animation:rotate 1s 0s cubic-bezier(.7,-.13,.22,.86) infinite;animation:rotate 1s 0s cubic-bezier(.7,-.13,.22,.86) infinite}.ball-rotate>div:after,.ball-rotate>div:before{margin:2px;content:"";position:absolute;opacity:.8}.ball-rotate>div:before{top:0;left:-28px}.ball-rotate>div:after{top:0;left:25px}.ball-clip-rotate>div{border-radius:100%;margin:2px;border:2px solid #fff;border-bottom-color:transparent;height:25px;width:25px;background:0 0!important;display:inline-block;-webkit-animation:rotate .75s 0s linear infinite;animation:rotate .75s 0s linear infinite}@keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes scale{30%{-webkit-transform:scale(.3);transform:scale(.3)}to{-webkit-transform:scale(1);transform:scale(1)}}.ball-clip-rotate-pulse{position:relative;-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}.ball-clip-rotate-pulse>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;top:0;left:0;border-radius:100%}.ball-clip-rotate-pulse>div:first-child{background:#fff;height:16px;width:16px;top:7px;left:-7px;-webkit-animation:scale 1s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:scale 1s 0s cubic-bezier(.09,.57,.49,.9) infinite}.ball-clip-rotate-pulse>div:last-child{position:absolute;width:30px;height:30px;left:-16px;top:-2px;background:0 0;border:2px solid;border-color:#fff transparent;-webkit-animation:rotate 1s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:rotate 1s 0s cubic-bezier(.09,.57,.49,.9) infinite;-webkit-animation-duration:1s;animation-duration:1s}@keyframes rotate{0%{-webkit-transform:rotate(0) scale(1);transform:rotate(0) scale(1)}50%{-webkit-transform:rotate(180deg) scale(.6);transform:rotate(180deg) scale(.6)}to{-webkit-transform:rotate(360deg) scale(1);transform:rotate(360deg) scale(1)}}.ball-clip-rotate-multiple{position:relative}.ball-clip-rotate-multiple>div{position:absolute;left:-20px;top:-20px;border:2px solid #fff;border-bottom-color:transparent;border-top-color:transparent;border-radius:100%;height:35px;width:35px;-webkit-animation:rotate 1s 0s ease-in-out infinite;animation:rotate 1s 0s ease-in-out infinite}.ball-clip-rotate-multiple>div:last-child{display:inline-block;top:-10px;left:-10px;width:15px;height:15px;-webkit-animation-duration:.5s;animation-duration:.5s;border-color:#fff transparent;-webkit-animation-direction:reverse;animation-direction:reverse}@-webkit-keyframes ball-scale-ripple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}@keyframes ball-scale-ripple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}.ball-scale-ripple>div{height:50px;width:50px;border-radius:100%;border:2px solid #fff;-webkit-animation:ball-scale-ripple 1s 0s infinite cubic-bezier(.21,.53,.56,.8);animation:ball-scale-ripple 1s 0s infinite cubic-bezier(.21,.53,.56,.8)}@-webkit-keyframes ball-scale-ripple-multiple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}.ball-scale-ripple-multiple{position:relative;-webkit-transform:translateY(-25px);-ms-transform:translateY(-25px);transform:translateY(-25px)}.ball-scale-ripple-multiple>div:nth-child(0){-webkit-animation-delay:-.8s;animation-delay:-.8s}.ball-scale-ripple-multiple>div:nth-child(1){-webkit-animation-delay:-.6s;animation-delay:-.6s}.ball-scale-ripple-multiple>div:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.ball-scale-ripple-multiple>div:nth-child(3){-webkit-animation-delay:-.2s;animation-delay:-.2s}.ball-scale-ripple-multiple>div{position:absolute;top:-2px;left:-26px;width:50px;height:50px;border-radius:100%;border:2px solid #fff;-webkit-animation:ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8);animation:ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8)}@-webkit-keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.ball-beat>div{background-color:#fff;width:15px;height:15px;border-radius:100%;margin:2px;display:inline-block;-webkit-animation:ball-beat .7s 0s infinite linear;animation:ball-beat .7s 0s infinite linear}.ball-beat>div:nth-child(2n-1){-webkit-animation-delay:-.35s!important;animation-delay:-.35s!important}@-webkit-keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.ball-scale-multiple{position:relative;-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}.ball-scale-multiple>div:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.ball-scale-multiple>div:nth-child(3){-webkit-animation-delay:-.2s;animation-delay:-.2s}.ball-scale-multiple>div{background-color:#fff;border-radius:100%;position:absolute;left:-30px;top:0;opacity:0;margin:0;width:60px;height:60px;-webkit-animation:ball-scale-multiple 1s 0s linear infinite;animation:ball-scale-multiple 1s 0s linear infinite}@-webkit-keyframes ball-triangle-path-1{33%{-webkit-transform:translate(25px,-50px);transform:translate(25px,-50px)}66%{-webkit-transform:translate(50px,0);transform:translate(50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-triangle-path-1{33%{-webkit-transform:translate(25px,-50px);transform:translate(25px,-50px)}66%{-webkit-transform:translate(50px,0);transform:translate(50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-triangle-path-2{33%{-webkit-transform:translate(25px,50px);transform:translate(25px,50px)}66%{-webkit-transform:translate(-25px,50px);transform:translate(-25px,50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-triangle-path-2{33%{-webkit-transform:translate(25px,50px);transform:translate(25px,50px)}66%{-webkit-transform:translate(-25px,50px);transform:translate(-25px,50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-triangle-path-3{33%{-webkit-transform:translate(-50px,0);transform:translate(-50px)}66%{-webkit-transform:translate(-25px,-50px);transform:translate(-25px,-50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-triangle-path-3{33%{-webkit-transform:translate(-50px,0);transform:translate(-50px)}66%{-webkit-transform:translate(-25px,-50px);transform:translate(-25px,-50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}.ball-triangle-path{position:relative;-webkit-transform:translate(-29.99px,-37.51px);-ms-transform:translate(-29.99px,-37.51px);transform:translate(-29.99px,-37.51px)}.ball-triangle-path>div:nth-child(1){-webkit-animation-name:ball-triangle-path-1;animation-name:ball-triangle-path-1;-webkit-animation-delay:0;animation-delay:0;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ball-triangle-path>div:nth-child(2){-webkit-animation-name:ball-triangle-path-2;animation-name:ball-triangle-path-2;-webkit-animation-delay:0;animation-delay:0;animation-duration:2s;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ball-triangle-path>div:nth-child(2),.ball-triangle-path>div:nth-child(3){-webkit-animation-duration:2s;-webkit-animation-timing-function:ease-in-out}.ball-triangle-path>div:nth-child(3){-webkit-animation-name:ball-triangle-path-3;animation-name:ball-triangle-path-3;-webkit-animation-delay:0;animation-delay:0;animation-duration:2s;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ball-triangle-path>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;width:10px;height:10px;border-radius:100%;border:1px solid #fff}.ball-grid-beat>div,.ball-pulse-rise>div{background-color:#fff;height:15px;border-radius:100%;margin:2px}.ball-triangle-path>div:nth-of-type(1){top:50px}.ball-triangle-path>div:nth-of-type(2){left:25px}.ball-triangle-path>div:nth-of-type(3){top:50px;left:50px}@-webkit-keyframes ball-pulse-rise-even{0%{-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}50%{-webkit-transform:scale(.4);transform:scale(.4)}75%{-webkit-transform:translateY(30px);transform:translateY(30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}50%{-webkit-transform:scale(.4);transform:scale(.4)}75%{-webkit-transform:translateY(30px);transform:translateY(30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(30px);transform:translateY(30px)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(.75);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(30px);transform:translateY(30px)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(.75);transform:scale(.75)}}.ball-pulse-rise>div{width:15px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:cubic-bezier(.15,.46,.9,.6);animation-timing-function:cubic-bezier(.15,.46,.9,.6);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}.ball-pulse-rise>div:nth-child(2n){-webkit-animation-name:ball-pulse-rise-even;animation-name:ball-pulse-rise-even}.ball-pulse-rise>div:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}@-webkit-keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}@keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}.ball-grid-beat{width:57px}.ball-grid-beat>div:nth-child(1){-webkit-animation-delay:.44s;animation-delay:.44s;-webkit-animation-duration:1.27s;animation-duration:1.27s}.ball-grid-beat>div:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-duration:1.52s;animation-duration:1.52s}.ball-grid-beat>div:nth-child(3){-webkit-animation-delay:.14s;animation-delay:.14s;-webkit-animation-duration:.61s;animation-duration:.61s}.ball-grid-beat>div:nth-child(4){-webkit-animation-delay:.15s;animation-delay:.15s;-webkit-animation-duration:.82s;animation-duration:.82s}.ball-grid-beat>div:nth-child(5){-webkit-animation-delay:-.01s;animation-delay:-.01s;-webkit-animation-duration:1.24s;animation-duration:1.24s}.ball-grid-beat>div:nth-child(6){-webkit-animation-delay:-.07s;animation-delay:-.07s;-webkit-animation-duration:1.35s;animation-duration:1.35s}.ball-grid-beat>div:nth-child(7){-webkit-animation-delay:.29s;animation-delay:.29s;-webkit-animation-duration:1.44s;animation-duration:1.44s}.ball-grid-beat>div:nth-child(8){-webkit-animation-delay:.63s;animation-delay:.63s;-webkit-animation-duration:1.19s;animation-duration:1.19s}.ball-grid-beat>div:nth-child(9){-webkit-animation-delay:-.18s;animation-delay:-.18s;-webkit-animation-duration:1.48s;animation-duration:1.48s}.ball-grid-beat>div{width:15px;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}.ball-grid-beat>div,.ball-grid-pulse>div{display:inline-block;float:left;-webkit-animation-iteration-count:infinite}@-webkit-keyframes ball-grid-pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes ball-grid-pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.ball-grid-pulse{width:57px}.ball-grid-pulse>div,.ball-spin-fade-loader>div{background-color:#fff;width:15px;height:15px;border-radius:100%;margin:2px}.ball-grid-pulse>div:nth-child(1){-webkit-animation-delay:.58s;animation-delay:.58s;-webkit-animation-duration:.9s;animation-duration:.9s}.ball-grid-pulse>div:nth-child(2){-webkit-animation-delay:.01s;animation-delay:.01s;-webkit-animation-duration:.94s;animation-duration:.94s}.ball-grid-pulse>div:nth-child(3){-webkit-animation-delay:.25s;animation-delay:.25s;-webkit-animation-duration:1.43s;animation-duration:1.43s}.ball-grid-pulse>div:nth-child(4){-webkit-animation-delay:-.03s;animation-delay:-.03s;-webkit-animation-duration:.74s;animation-duration:.74s}.ball-grid-pulse>div:nth-child(5){-webkit-animation-delay:.21s;animation-delay:.21s;-webkit-animation-duration:.68s;animation-duration:.68s}.ball-grid-pulse>div:nth-child(6){-webkit-animation-delay:.25s;animation-delay:.25s;-webkit-animation-duration:1.17s;animation-duration:1.17s}.ball-grid-pulse>div:nth-child(7){-webkit-animation-delay:.46s;animation-delay:.46s;-webkit-animation-duration:1.41s;animation-duration:1.41s}.ball-grid-pulse>div:nth-child(8){-webkit-animation-delay:.02s;animation-delay:.02s;-webkit-animation-duration:1.56s;animation-duration:1.56s}.ball-grid-pulse>div:nth-child(9){-webkit-animation-delay:.13s;animation-delay:.13s;-webkit-animation-duration:.78s;animation-duration:.78s}.ball-grid-pulse>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}@-webkit-keyframes ball-spin-fade-loader{50%{opacity:.3;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-fade-loader{50%{opacity:.3;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.ball-spin-fade-loader{position:relative;top:-10px;left:-10px}.ball-spin-fade-loader>div:nth-child(1){top:25px;left:0;-webkit-animation:ball-spin-fade-loader 1s -.96s infinite linear;animation:ball-spin-fade-loader 1s -.96s infinite linear}.ball-spin-fade-loader>div:nth-child(2){top:17.05px;left:17.05px;-webkit-animation:ball-spin-fade-loader 1s -.84s infinite linear;animation:ball-spin-fade-loader 1s -.84s infinite linear}.ball-spin-fade-loader>div:nth-child(3){top:0;left:25px;-webkit-animation:ball-spin-fade-loader 1s -.72s infinite linear;animation:ball-spin-fade-loader 1s -.72s infinite linear}.ball-spin-fade-loader>div:nth-child(4){top:-17.05px;left:17.05px;-webkit-animation:ball-spin-fade-loader 1s -.6s infinite linear;animation:ball-spin-fade-loader 1s -.6s infinite linear}.ball-spin-fade-loader>div:nth-child(5){top:-25px;left:0;-webkit-animation:ball-spin-fade-loader 1s -.48s infinite linear;animation:ball-spin-fade-loader 1s -.48s infinite linear}.ball-spin-fade-loader>div:nth-child(6){top:-17.05px;left:-17.05px;-webkit-animation:ball-spin-fade-loader 1s -.36s infinite linear;animation:ball-spin-fade-loader 1s -.36s infinite linear}.ball-spin-fade-loader>div:nth-child(7){top:0;left:-25px;-webkit-animation:ball-spin-fade-loader 1s -.24s infinite linear;animation:ball-spin-fade-loader 1s -.24s infinite linear}.ball-spin-fade-loader>div:nth-child(8){top:17.05px;left:-17.05px;-webkit-animation:ball-spin-fade-loader 1s -.12s infinite linear;animation:ball-spin-fade-loader 1s -.12s infinite linear}.ball-spin-fade-loader>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute}@-webkit-keyframes ball-spin-loader{75%{opacity:.2}to{opacity:1}}@keyframes ball-spin-loader{75%{opacity:.2}to{opacity:1}}.ball-spin-loader{position:relative}.ball-spin-loader>span:nth-child(1){top:45px;left:0;-webkit-animation:ball-spin-loader 2s .9s infinite linear;animation:ball-spin-loader 2s .9s infinite linear}.ball-spin-loader>span:nth-child(2){top:30.68px;left:30.68px;-webkit-animation:ball-spin-loader 2s 1.8s infinite linear;animation:ball-spin-loader 2s 1.8s infinite linear}.ball-spin-loader>span:nth-child(3){top:0;left:45px;-webkit-animation:ball-spin-loader 2s 2.7s infinite linear;animation:ball-spin-loader 2s 2.7s infinite linear}.ball-spin-loader>span:nth-child(4){top:-30.68px;left:30.68px;-webkit-animation:ball-spin-loader 2s 3.6s infinite linear;animation:ball-spin-loader 2s 3.6s infinite linear}.ball-spin-loader>span:nth-child(5){top:-45px;left:0;-webkit-animation:ball-spin-loader 2s 4.5s infinite linear;animation:ball-spin-loader 2s 4.5s infinite linear}.ball-spin-loader>span:nth-child(6){top:-30.68px;left:-30.68px;-webkit-animation:ball-spin-loader 2s 5.4s infinite linear;animation:ball-spin-loader 2s 5.4s infinite linear}.ball-spin-loader>span:nth-child(7){top:0;left:-45px;-webkit-animation:ball-spin-loader 2s 6.3s infinite linear;animation:ball-spin-loader 2s 6.3s infinite linear}.ball-spin-loader>span:nth-child(8){top:30.68px;left:-30.68px;-webkit-animation:ball-spin-loader 2s 7.2s infinite linear;animation:ball-spin-loader 2s 7.2s infinite linear}.ball-spin-loader>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;width:15px;height:15px;border-radius:100%;background:green}.ball-zig-zag-deflect>div,.ball-zig-zag>div{background-color:#fff;width:15px;height:15px;border-radius:100%;margin:2px 2px 2px 15px;top:4px;left:-7px}@-webkit-keyframes ball-zig{33%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}66%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zig{33%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}66%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-zag{33%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}66%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zag{33%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}66%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}.ball-zig-zag{position:relative;-webkit-transform:translate(-15px,-15px);-ms-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}.ball-zig-zag>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute}.ball-zig-zag>div:first-child{-webkit-animation:ball-zig .7s 0s infinite linear;animation:ball-zig .7s 0s infinite linear}.ball-zig-zag>div:last-child{-webkit-animation:ball-zag .7s 0s infinite linear;animation:ball-zag .7s 0s infinite linear}@-webkit-keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}34%,67%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}34%,67%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}34%,67%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}34%,67%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}.ball-zig-zag-deflect{position:relative;-webkit-transform:translate(-15px,-15px);-ms-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}.ball-zig-zag-deflect>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute}.ball-zig-zag-deflect>div:first-child{-webkit-animation:ball-zig-deflect 1.5s 0s infinite linear;animation:ball-zig-deflect 1.5s 0s infinite linear}.ball-zig-zag-deflect>div:last-child{-webkit-animation:ball-zag-deflect 1.5s 0s infinite linear;animation:ball-zag-deflect 1.5s 0s infinite linear}@-webkit-keyframes line-scale{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}@keyframes line-scale{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}.line-scale>div:nth-child(1){-webkit-animation:line-scale 1s -.4s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.4s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(2){-webkit-animation:line-scale 1s -.3s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.3s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(3){-webkit-animation:line-scale 1s -.2s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.2s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(4){-webkit-animation:line-scale 1s -.1s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.1s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(5){-webkit-animation:line-scale 1s 0s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s 0s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div{animation-fill-mode:both;display:inline-block}.line-scale-party>div,.line-scale>div{background-color:#fff;border-radius:2px;margin:2px;width:4px;height:35px;-webkit-animation-fill-mode:both}@-webkit-keyframes line-scale-party{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5)}}@keyframes line-scale-party{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5)}}.line-scale-party>div:nth-child(1){-webkit-animation-delay:-.09s;animation-delay:-.09s;-webkit-animation-duration:.83s;animation-duration:.83s}.line-scale-party>div:nth-child(2){-webkit-animation-delay:.33s;animation-delay:.33s;-webkit-animation-duration:.64s;animation-duration:.64s}.line-scale-party>div:nth-child(3){-webkit-animation-delay:.32s;animation-delay:.32s;-webkit-animation-duration:.39s;animation-duration:.39s}.line-scale-party>div:nth-child(4){-webkit-animation-delay:.47s;animation-delay:.47s;-webkit-animation-duration:.52s;animation-duration:.52s}.line-scale-party>div{animation-fill-mode:both;display:inline-block;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}@-webkit-keyframes line-scale-pulse-out{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}@keyframes line-scale-pulse-out{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}.line-scale-pulse-out>div{background-color:#fff;width:4px;height:35px;border-radius:2px;margin:2px;display:inline-block;-webkit-animation:line-scale-pulse-out .9s -.6s infinite cubic-bezier(.85,.25,.37,.85);animation:line-scale-pulse-out .9s -.6s infinite cubic-bezier(.85,.25,.37,.85)}.line-scale-pulse-out>div:nth-child(2),.line-scale-pulse-out>div:nth-child(4){-webkit-animation-delay:-.4s!important;animation-delay:-.4s!important}.line-scale-pulse-out>div:nth-child(1),.line-scale-pulse-out>div:nth-child(5){-webkit-animation-delay:-.2s!important;animation-delay:-.2s!important}@-webkit-keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}@keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}.line-scale-pulse-out-rapid>div{background-color:#fff;width:4px;height:35px;border-radius:2px;margin:2px;display:inline-block;-webkit-animation:line-scale-pulse-out-rapid .9s -.5s infinite cubic-bezier(.11,.49,.38,.78);animation:line-scale-pulse-out-rapid .9s -.5s infinite cubic-bezier(.11,.49,.38,.78)}.line-scale-pulse-out-rapid>div:nth-child(2),.line-scale-pulse-out-rapid>div:nth-child(4){-webkit-animation-delay:-.25s!important;animation-delay:-.25s!important}.line-scale-pulse-out-rapid>div:nth-child(1),.line-scale-pulse-out-rapid>div:nth-child(5){-webkit-animation-delay:0s!important;animation-delay:0s!important}@-webkit-keyframes line-spin-fade-loader{50%{opacity:.3}to{opacity:1}}@keyframes line-spin-fade-loader{50%{opacity:.3}to{opacity:1}}.line-spin-fade-loader{position:relative;top:-10px;left:-4px}.line-spin-fade-loader>div:nth-child(1){top:20px;left:0;-webkit-animation:line-spin-fade-loader 1.2s -.84s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.84s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(2){top:13.64px;left:13.64px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:line-spin-fade-loader 1.2s -.72s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.72s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(3){top:0;left:20px;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation:line-spin-fade-loader 1.2s -.6s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.6s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(4){top:-13.64px;left:13.64px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:line-spin-fade-loader 1.2s -.48s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.48s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(5){top:-20px;left:0;-webkit-animation:line-spin-fade-loader 1.2s -.36s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.36s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(6){top:-13.64px;left:-13.64px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:line-spin-fade-loader 1.2s -.24s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.24s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(7){top:0;left:-20px;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation:line-spin-fade-loader 1.2s -.12s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.12s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(8){top:13.64px;left:-13.64px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:line-spin-fade-loader 1.2s 0s infinite ease-in-out;animation:line-spin-fade-loader 1.2s 0s infinite ease-in-out}.line-spin-fade-loader>div{background-color:#fff;border-radius:2px;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;width:5px;height:15px}@-webkit-keyframes triangle-skew-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}@keyframes triangle-skew-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}.triangle-skew-spin>div{width:0;height:0;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:20px solid #fff;-webkit-animation:triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite}@-webkit-keyframes square-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}@keyframes square-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}.square-spin>div{width:50px;height:50px;background:#fff;border:1px solid red;-webkit-animation:square-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:square-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite}.pacman>div:first-of-type,.pacman>div:nth-child(2){width:0;height:0;border-right:25px solid transparent;border-top:25px solid #fff;border-left:25px solid #fff;border-bottom:25px solid #fff;border-radius:25px;position:relative;left:-30px}@-webkit-keyframes rotate_pacman_half_up{0%,to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate_pacman_half_up{0%,to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes rotate_pacman_half_down{0%,to{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes rotate_pacman_half_down{0%,to{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes pacman-balls{75%{opacity:.7}to{-webkit-transform:translate(-100px,-6.25px);transform:translate(-100px,-6.25px)}}@keyframes pacman-balls{75%{opacity:.7}to{-webkit-transform:translate(-100px,-6.25px);transform:translate(-100px,-6.25px)}}.pacman{position:relative}.pacman>div:nth-child(3){-webkit-animation:pacman-balls 1s -.66s infinite linear;animation:pacman-balls 1s -.66s infinite linear}.pacman>div:nth-child(4){-webkit-animation:pacman-balls 1s -.33s infinite linear;animation:pacman-balls 1s -.33s infinite linear}.pacman>div:nth-child(5){-webkit-animation:pacman-balls 1s 0s infinite linear;animation:pacman-balls 1s 0s infinite linear}.pacman>div:first-of-type{-webkit-animation:rotate_pacman_half_up .5s 0s infinite;animation:rotate_pacman_half_up .5s 0s infinite}.pacman>div:nth-child(2){-webkit-animation:rotate_pacman_half_down .5s 0s infinite;animation:rotate_pacman_half_down .5s 0s infinite;margin-top:-50px}.pacman>div:nth-child(3),.pacman>div:nth-child(4),.pacman>div:nth-child(5),.pacman>div:nth-child(6){background-color:#fff;border-radius:100%;margin:2px;width:10px;height:10px;position:absolute;-webkit-transform:translate(0,-6.25px);-ms-transform:translate(0,-6.25px);transform:translateY(-6.25px);top:25px;left:70px}@-webkit-keyframes cube-transition{25%{-webkit-transform:translateX(50px) scale(.5) rotate(-90deg);transform:translate(50px) scale(.5) rotate(-90deg)}50%{-webkit-transform:translate(50px,50px) rotate(-180deg);transform:translate(50px,50px) rotate(-180deg)}75%{-webkit-transform:translateY(50px) scale(.5) rotate(-270deg);transform:translateY(50px) scale(.5) rotate(-270deg)}to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes cube-transition{25%{-webkit-transform:translateX(50px) scale(.5) rotate(-90deg);transform:translate(50px) scale(.5) rotate(-90deg)}50%{-webkit-transform:translate(50px,50px) rotate(-180deg);transform:translate(50px,50px) rotate(-180deg)}75%{-webkit-transform:translateY(50px) scale(.5) rotate(-270deg);transform:translateY(50px) scale(.5) rotate(-270deg)}to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.cube-transition{position:relative;-webkit-transform:translate(-25px,-25px);-ms-transform:translate(-25px,-25px);transform:translate(-25px,-25px)}.cube-transition>div{width:10px;height:10px;position:absolute;top:-5px;left:-5px;background-color:#fff;-webkit-animation:cube-transition 1.6s 0s infinite ease-in-out;animation:cube-transition 1.6s 0s infinite ease-in-out}.cube-transition>div:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes spin-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.semi-circle-spin{position:relative;width:35px;height:35px;overflow:hidden}.semi-circle-spin>div{position:absolute;border-width:0;border-radius:100%;-webkit-animation:spin-rotate .6s 0s infinite linear;animation:spin-rotate .6s 0s infinite linear;background-image:-webkit-linear-gradient(transparent 0,transparent 70%,#fff 30%,#fff 100%);background-image:linear-gradient(transparent 0,transparent 70%,#fff 30%,#fff 100%);width:100%;height:100%}@-webkit-keyframes bar-progress{0%,to{-webkit-transform:scaleY(20%);transform:scaleY(.2);opacity:1}25%,75%{-webkit-transform:translateX(6%) scaleY(10%);transform:translate(6%) scaleY(.1);opacity:.7}50%{-webkit-transform:translateX(20%) scaleY(20%);transform:translate(20%) scaleY(.2);opacity:1}}@keyframes bar-progress{0%,to{-webkit-transform:scaleY(20%);transform:scaleY(.2);opacity:1}25%,75%{-webkit-transform:translateX(6%) scaleY(10%);transform:translate(6%) scaleY(.1);opacity:.7}50%{-webkit-transform:translateX(20%) scaleY(20%);transform:translate(20%) scaleY(.2);opacity:1}}.bar-progress{width:30%;height:12px}.bar-progress>div{position:relative;width:20%;height:12px;border-radius:10px;background-color:#fff;-webkit-animation:bar-progress 3s cubic-bezier(.57,.1,.44,.93) infinite;animation:bar-progress 3s cubic-bezier(.57,.1,.44,.93) infinite;opacity:1}.bar-swing,.bar-swing>div{height:8px;width:30%}@-webkit-keyframes bar-swing{0%,to{left:0}50%{left:70%}}@keyframes bar-swing{0%,to{left:0}50%{left:70%}}.bar-swing>div{position:relative;border-radius:10px;background-color:#fff;-webkit-animation:bar-swing 1.5s infinite;animation:bar-swing 1.5s infinite}@-webkit-keyframes bar-swing-container{0%,to{left:0;-webkit-transform:translateX(0);transform:translate(0)}50%{left:70%;-webkit-transform:translateX(-4px);transform:translate(-4px)}}@keyframes bar-swing-container{0%,to{left:0;-webkit-transform:translateX(0);transform:translate(0)}50%{left:70%;-webkit-transform:translateX(-4px);transform:translate(-4px)}}.bar-swing-container{width:20%;height:8px;position:relative}.bar-swing-container div:nth-child(1){position:absolute;width:100%;background-color:rgba(255,255,255,.2);height:12px;border-radius:10px}.bar-swing-container div:nth-child(2){position:absolute;width:30%;height:8px;border-radius:10px;background-color:#fff;-webkit-animation:bar-swing-container 2s cubic-bezier(.91,.35,.12,.6) infinite;animation:bar-swing-container 2s cubic-bezier(.91,.35,.12,.6) infinite;margin:2px 2px 0}._time_1c1wd_1{position:absolute;left:20px;top:20px;display:flex;color:var(--white);border-radius:4px;overflow:hidden;height:36px;line-height:36px;box-sizing:border-box;font-size:18px}._time_1c1wd_1 ._status_1c1wd_14{display:flex;align-items:center;background-color:var(--live-time-status-background-color);padding:10px}._time_1c1wd_1 ._status_1c1wd_14>div{margin-right:5px;height:20px}._time_1c1wd_1 ._status_1c1wd_14>div>div{height:20px}._time_1c1wd_1 ._text_1c1wd_27{background-color:var(--live-time-background-color);display:flex;align-items:center;padding:10px}._main_dv466_1{--header-height: 68px;--header-height-down: -68px;--action-bar-height: 88px;width:calc(100% - 385px);background-color:var(--live-backound-color);color:var(--live-color);display:flex;flex-direction:column;height:calc(100vh - var(--header-bar-height));overflow:hidden;position:relative}._main_dv466_1 ._video_dv466_14{width:100%;max-height:calc(100vh - var(--header-bar-height) - var(--action-bar-height));flex:1;background-color:var(--video-backound-color);position:relative}._main_dv466_1 ._video_dv466_14 video{width:100%;height:100%}._main_dv466_1 ._headerSection_dv466_25{position:absolute;top:0;right:0;left:0;z-index:999}._main_dv466_1 ._headerSection_dv466_25 ._headerContent_dv466_32{transform:translateY(0);transition:all ease .3s}._main_dv466_1 ._headerSection_dv466_25 ._header-top_dv466_36{transform:translateY(var(--header-height-down));transition:all ease .3s}._main_dv466_1 ._headerSection_dv466_25:hover ._header-top_dv466_36{transform:translateY(0);transition:all ease .3s}@keyframes _header-up_dv466_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(var(--header-height-down));opacity:1}}@keyframes _header-down_dv466_1{0%{transform:translateY(var(--header-height-down));opacity:0}to{transform:translateY(0);opacity:1}}._container_1cod9_1{width:385px!important;height:calc(100vh - var(--header-bar-height));background-color:var(--live-main-color)}._dataCount_1cod9_6{text-align:center;margin:16px 16px 0;border-radius:2px;background-color:var(--message-color);display:flex;justify-content:space-around;align-items:center;height:120px;color:var(--live-color)}._dataCount_1cod9_6 ._num_1cod9_17{font-size:24px;font-weight:700;padding-bottom:16px}._dataCount_1cod9_6 ._text_1cod9_22{display:flex;font-size:14px}._dataCount_1cod9_6 ._dataIcon_1cod9_26{padding-right:5px;width:20px;height:20px}._tabContainer_1cod9_31 ._tabIcon_1cod9_31{margin-right:6px;width:20px;height:20px}._tabContainer_1cod9_31 ._point_1cod9_36{width:8px;height:8px;border-radius:50%;background-color:var(--live-time-status-background-color);position:absolute;right:-10px;top:5px}._tabContainer_1cod9_31 .el-tabs__header{margin-bottom:0}._tabContainer_1cod9_31 .el-tabs__nav-wrap:after{background-color:var(--message-color)}._tabContainer_1cod9_31 .el-tabs__nav{padding:12px 0;width:100%;text-align:center}._tabContainer_1cod9_31 .el-tabs__item{color:var(--live-color);font-size:16px;padding:0 31px}._tabContainer_1cod9_31 .el-tabs__item.is-active{color:#00fff0}._tabContainer_1cod9_31 .el-tabs__active-bar{background-color:#00fff0}._tabContent_1cod9_67{--message-bar-height: 88px;position:relative;height:calc(100vh - var(--header-bar-height) - var(--message-bar-height) - 216px);padding-bottom:var(--message-bar-height)}._tabContent_1cod9_67 ._tabList_1cod9_73{height:calc(100vh - var(--header-bar-height) - var(--message-bar-height) - 276px);overflow:auto}._message_4zab7_1 ._buttonGroup_4zab7_1{display:flex;align-items:center;background:rgba(99,108,132,.1);padding:15px 16px}._message_4zab7_1 .el-button--info{--el-button-text-color: var(--live-color);--el-button-hover-text-color: var(--live-light-color);--el-button-disabled-text-color: var(--el-text-color-placeholder);background-color:var(--message-color);border-color:var(--message-color)}._sendMessage_p2cnx_1{position:fixed;bottom:0;height:88px;width:353px;display:flex;align-items:center;padding:0 16px}._sendMessage_p2cnx_1 ._form_p2cnx_10{display:flex;align-items:center;width:100%;background-color:var(--message-color);border-radius:60px}._sendMessage_p2cnx_1 .el-input{border-radius:60px;overflow:hidden;font-size:16px}._sendMessage_p2cnx_1 .el-input__inner{height:46px;line-height:46px;padding-left:20px;background-color:transparent;border:0;color:var(--live-color)}._sendMessage_p2cnx_1 .el-button{border:0;background-color:#00a79d;height:46px;line-height:46px;border-radius:46px;color:var(--live-color);font-weight:600;padding:0 23px;font-size:16px}._sendMessage_p2cnx_1 .el-button.is-disabled{background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}._itemContent_1541q_1{padding:16px 16px 5px;display:flex;color:var(--live-color)}._itemContent_1541q_1>img{width:28px;height:28px;margin-right:8px}._itemInfo_1541q_11{width:100%}._itemName_1541q_14{display:flex;justify-content:space-between;align-items:flex-start;padding-top:3px}._itemName_1541q_14 ._userName_1541q_20{font-size:15px;line-height:22px;align-items:center;font-weight:500;padding-right:15px;text-align:justify}._itemName_1541q_14 ._name-style_1541q_28{line-height:24px;color:var(--live-text-color)}._itemName_1541q_14 ._rightTime_1541q_32{font-size:12px;line-height:22px}._itemName_1541q_14 .el-tag--default{border-radius:20px;margin-right:8px;height:20px}._itemText_1541q_41{font-size:15px;line-height:20px;word-break:break-all}._itemText_1541q_41._active_1541q_46{color:var(--live-text-color)}._joinText_1541q_49{display:flex;justify-content:space-between;align-items:center}._joinText_1541q_49 ._join_1541q_49{display:flex;align-items:center}._btn_1541q_58{font-size:13px;line-height:20px;background-color:var(--live-light-color);border-color:var(--live-light-color);text-align:center;padding:3px 15px 1px;border-radius:2px;cursor:pointer;color:var(--live-color);text-decoration:none}._btn_1541q_58._downBtn_1541q_70{background-color:transparent;border-color:var(--live-light-color);color:var(--live-light-color)}._loadingStyle_1541q_75{position:absolute;left:0;right:0;top:0;bottom:0}._slide-top-enter-active_1541q_82{opacity:0;animation-name:_error-num_1541q_1;animation-duration:.5s;animation-fill-mode:forwards;animation-delay:.1s}@keyframes _error-num_1541q_1{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}._refresh_1541q_99{position:absolute;bottom:10px;right:15px;width:40px;height:40px;background:#fff;display:flex;border-radius:50%;align-items:center;justify-content:center}._refresh-animation_1541q_111{animation:_animation_1541q_1 1s linear infinite}._refreshStart_1541q_114{animation-play-state:running}._refreshStop_1541q_117{animation-play-state:paused}@keyframes _animation_1541q_1{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}._empty-container_1svqd_1{height:100%;width:100%;text-align:center;color:#a4a6a9;font-size:14px;padding:20px 0}._empty-container_1svqd_1 ._icon_1svqd_9{width:126px;height:89px;margin-bottom:8px}._container_13n1h_1{display:flex}._home_13n1h_4{--header-bar-height: 76px}\n',document.head.appendChild(u),System.register(["./index-legacy.7e2c583b.js","./vendor-legacy.e3c3d326.js"],(function(i){"use strict";var a,s,l,u,d,f,p,m,h,g,b,v,w,x,y,k,_,S,C,R,A,T,L,I,E,M,B,P,N,z,U,Y,j,F,q,D,H,O,V,X,W,K,Q,J,Z,G,$,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,de,fe,pe,me,he,ge,be,ve,we;return{setters:[function(e){a=e.l,s=e.r,l=e.c,u=e.s,d=e.a,f=e.b,p=e.e,m=e.d,h=e.f,g=e.g,b=e.h,v=e.i,w=e.j,x=e.t,y=e.o,k=e.S,_=e.k,S=e.m,C=e.n,R=e.p,A=e.q,T=e.L,L=e.V,I=e.A,E=e.u,M=e.v,B=e.w,P=e.x,N=e.y,z=e.z,U=e.B,Y=e.C,j=e.I,F=e.D,q=e.E,D=e.F},function(e){H=e.d,O=e.l,V=e.a,X=e.t,W=e.v,K=e.x,Q=e.y,J=e.k,Z=e.A,G=e.B,e.i,$=e.C,ee=e.D,te=e.F,ne=e.G,re=e.H,ie=e.I,ae=e.J,oe=e.K,se=e.j,le=e.L,ce=e.h,ue=e.r,de=e.M,fe=e.N,pe=e.O,me=e.P,he=e.Q,ge=e.R,be=e.S,ve=e.T,we=e.U}],execute:function(){var xe="_liveHeader_turek_1",ye="_liveLogo_turek_12",ke="_liveHeaderLeft_turek_17",_e="_liveHeaderLeftIcon_turek_23",Se="_liveHeaderLeftText_turek_27",Ce="_avatarWrapper_turek_30",Re="_userAvatar_turek_37",Ae=H({data:function(){return{iceCandidatePair:null}},methods:{loginOut:function(){var e=this;return c(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a();case 3:return t.prev=3,t.next=6,s.post("/api-auth/exit",{data:{}});case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(3);case 10:l("camera"),l("microphone"),u.user=null,d.syncLikeTimer&&clearTimeout(d.syncLikeTimer),O.success("退出成功"),f(),e.$router.push({path:"/login",query:o({},e.$route.query)}),t.next=21;break;case 19:t.prev=19,t.t1=t.catch(0);case 21:case"end":return t.stop()}}),t,null,[[0,19],[3,8]])})))()},onStateReport:function(e){this.iceCandidatePair=e.iceCandidatePair},getWifiICon:function(e){return e>=2e3?"./assets/wifi.01085659.svg":e>=1e3?"./assets/wifi1.38ccf7b5.svg":"./assets/wifi2.b954e533.svg"}},mounted:function(){p.on("onStateReport",this.onStateReport)},beforeUnmount:function(){p.off("onStateReport",this.onStateReport)},render:function(){var e,t,n,r=this,i=this.iceCandidatePair;return V("div",{class:xe},[V("div",{class:ke},[V("div",{class:_e},[V("img",{class:ye,src:null===(e=u.user)||void 0===e?void 0:e.tenantLogo,alt:""},null),null===(t=u.user)||void 0===t?void 0:t.tenantName]),V("div",{class:Se},[X("《"),null===(n=u.user)||void 0===n?void 0:n.roomTitle,X("》")])]),V(W,{trigger:"hover",placement:"bottom-end"},{default:function(){var e,t,n;return[V("div",{class:Ce},["liveing"===d.videoStatus&&i?V("div",{style:{background:"#5E626D",borderRadius:"6px",width:"113px",height:"32px",lineHeight:"32px",marginRight:"10px",textAlign:"center",display:"flex",justifyContent:"center"}},[V("span",{style:{fontSize:"14px",color:"#fff",flex:1}},[i.bitrateSend,X("kbps")]),V("img",{style:{marginLeft:"5px",marginRight:"10px",width:"20px"},src:r.getWifiICon(i.bitrateSend)},null)]):null,null!==(e=u.user)&&void 0!==e&&e.speakerPic?V("img",{class:Re,src:null===(t=u.user)||void 0===t?void 0:t.speakerPic},null):V("img",{class:Re,src:"data:image/png;base64,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"},null),V("span",null,[null===(n=u.user)||void 0===n?void 0:n.speakerName])])]},dropdown:function(){return V(K,null,{default:function(){return[V(Q,{command:"1",onClick:r.loginOut},{default:function(){return[V("span",null,[X("安全退出")])]}})]}})}})])}}),Te="_header_nc46v_1",Le="_title_nc46v_10",Ie=H({name:"LiveBroadcastHeader",methods:{startLive:function(){return c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,J.confirm("开启后学生将看到视频画面","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:return e.next=5,m();case 5:O.success("开启成功"),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},closeLive:function(){return c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,J.confirm("关闭后将切断视频,学生不可观看","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:return e.next=5,h();case 5:return e.next=7,g({},"PauseLive");case 7:O.success("关闭成功"),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(0);case 12:case"end":return e.stop()}}),e,null,[[0,10]])})))()},closeRoom:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,J.confirm("结束后将无法进入直播间","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:return r=null===(n=u.user)||void 0===n?void 0:n.id,t.next=6,s.get("/api-web/imLiveBroadcastRoom/roomDestroy/"+r,{});case 6:l("camera"),l("microphone"),u.user=null,f(),O.success("结束"),e.$router.push({path:"/login",query:o({},e.$route.query)}),t.next=16;break;case 14:t.prev=14,t.t0=t.catch(0);case 16:case"end":return t.stop()}}),t,null,[[0,14]])})))()}},render:function(){var e;return V("div",{class:Te},[V("h3",{class:Le},[X("直播内容:"),null===(e=u.user)||void 0===e?void 0:e.liveRemark]),V("div",null,["liveing"===d.videoStatus?V(Z,{type:"danger",color:"#01A79E",onClick:this.closeLive},{default:function(){return[X("暂停直播")]}}):V(Z,{type:"primary",color:"#01A79E",onClick:this.startLive},{default:function(){return[X("开启直播")]}}),V(Z,{type:"primary",color:"#EA4132",onClick:this.closeRoom},{default:function(){return[X("结束直播")]}})])])}}),Ee="_action-bar_1akc3_1",Me="_bar-btn_1akc3_12",Be="_bar-btn-text_1akc3_19",Pe="_btnInner_1akc3_85",Ne={shareWrap:"_shareWrap_d61fv_1",shareBtn:"_shareBtn_d61fv_27"};var ze=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function s(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))},Ue="application/font-woff",Ye="image/jpeg",je={woff:Ue,woff2:Ue,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ye,jpeg:Ye,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function Fe(e){var t=function(e){var t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return je[t]||""}function qe(e){return-1!==e.search(/^(data:)/)}function De(e,t){return"data:".concat(t,";base64,").concat(e)}var He,Oe=(He=0,function(){return He+=1,"u".concat("0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)).concat(He)});function Ve(e){for(var t=[],n=0,r=e.length;n<r;n+=1)t.push(e[n]);return t}function Xe(e,t){var n=window.getComputedStyle(e).getPropertyValue(t);return parseFloat(n.replace("px",""))}function We(e){var t=Xe(e,"border-left-width"),n=Xe(e,"border-right-width");return e.clientWidth+t+n}function Ke(e){var t=Xe(e,"border-top-width"),n=Xe(e,"border-bottom-width");return e.clientHeight+t+n}function Qe(){var e,t;try{t=process}catch(r){}var n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}function Je(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.crossOrigin="anonymous",r.decoding="sync",r.src=e}))}function Ze(e){return ze(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then((function(){return(new XMLSerializer).serializeToString(e)})).then(encodeURIComponent).then((function(e){return"data:image/svg+xml;charset=utf-8,".concat(e)})));case 1:case"end":return t.stop()}}),t)})))}function Ge(e,t,n){return ze(this,void 0,void 0,regeneratorRuntime.mark((function r(){var i,a,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject"),a.setAttribute("width","".concat(t)),a.setAttribute("height","".concat(n)),a.setAttribute("viewBox","0 0 ".concat(t," ").concat(n)),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),a.appendChild(o),o.appendChild(e),r.abrupt("return",Ze(a));case 14:case"end":return r.stop()}}),r)})))}var $e={};function et(e,t){var n=function(e){var t=e.replace(/\?.*/,"");return/ttf|otf|eot|woff2?/i.test(t)&&(t=t.replace(/.*\//,"")),t}(e);if(null!=$e[n])return $e[n];t.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());var r=window.fetch(e).then((function(e){return e.blob().then((function(t){return{blob:t,contentType:e.headers.get("Content-Type")||""}}))})).then((function(e){var t=e.blob,n=e.contentType;return new Promise((function(e,r){var i=new FileReader;i.onloadend=function(){return e({contentType:n,blob:i.result})},i.onerror=r,i.readAsDataURL(t)}))})).then((function(e){var t,n=e.blob;return{contentType:e.contentType,blob:(t=n,t.split(/,/)[1])}})).catch((function(n){var r="";if(t.imagePlaceholder){var i=t.imagePlaceholder.split(/,/);i&&i[1]&&(r=i[1])}var a="Failed to fetch resource: ".concat(e);return n&&(a="string"==typeof n?n:n.message),a&&console.error(a),{blob:r,contentType:""}}));return $e[n]=r,r}function tt(e,t,n){var r=".".concat(e,":").concat(t),i=n.cssText?function(e){var t=e.getPropertyValue("content");return"".concat(e.cssText," content: '").concat(t.replace(/'|"/g,""),"';")}(n):function(e){return Ve(e).map((function(t){var n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return"".concat(t,": ").concat(n).concat(r?" !important":"",";")})).join(" ")}(n);return document.createTextNode("".concat(r,"{").concat(i,"}"))}function nt(e,t,n){var r=window.getComputedStyle(e,n),i=r.getPropertyValue("content");if(""!==i&&"none"!==i){var a=Oe();try{t.className="".concat(t.className," ").concat(a)}catch(s){return}var o=document.createElement("style");o.appendChild(tt(a,n,r)),t.appendChild(o)}}function rt(e,t){nt(e,t,":before"),nt(e,t,":after")}var it=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function s(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))};function at(e){return it(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("data:,"!==(n=e.toDataURL())){t.next=3;break}return t.abrupt("return",Promise.resolve(e.cloneNode(!1)));case 3:return t.abrupt("return",Je(n));case 4:case"end":return t.stop()}}),t)})))}function ot(e,t){return it(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.resolve(e.poster).then((function(e){return et(e,t)})).then((function(t){return De(t.blob,Fe(e.poster)||t.contentType)})).then((function(e){return Je(e)})));case 1:case"end":return n.stop()}}),n)})))}function st(e,t){return it(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e instanceof HTMLCanvasElement)){n.next=2;break}return n.abrupt("return",at(e));case 2:if(!(e instanceof HTMLVideoElement&&e.poster)){n.next=4;break}return n.abrupt("return",ot(e,t));case 4:return n.abrupt("return",Promise.resolve(e.cloneNode(!1)));case 5:case"end":return n.stop()}}),n)})))}function lt(e,t,n){var r;return it(this,void 0,void 0,regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!(0===(a=null!=(o=e).tagName&&"SLOT"===o.tagName.toUpperCase()&&e.assignedNodes?Ve(e.assignedNodes()):Ve((null!==(r=e.shadowRoot)&&void 0!==r?r:e).childNodes)).length||e instanceof HTMLVideoElement)){i.next=3;break}return i.abrupt("return",Promise.resolve(t));case 3:return i.abrupt("return",a.reduce((function(e,r){return e.then((function(){return ft(r,n)})).then((function(e){e&&t.appendChild(e)}))}),Promise.resolve()).then((function(){return t})));case 4:case"end":return i.stop()}var o}),i)})))}function ct(e,t){var n=window.getComputedStyle(e),r=t.style;r&&(n.cssText?r.cssText=n.cssText:Ve(n).forEach((function(e){r.setProperty(e,n.getPropertyValue(e),n.getPropertyPriority(e))})))}function ut(e,t){e instanceof HTMLTextAreaElement&&(t.innerHTML=e.value),e instanceof HTMLInputElement&&t.setAttribute("value",e.value)}function dt(e,t){return it(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t instanceof Element){n.next=2;break}return n.abrupt("return",Promise.resolve(t));case 2:return n.abrupt("return",Promise.resolve().then((function(){return ct(e,t)})).then((function(){return rt(e,t)})).then((function(){return ut(e,t)})).then((function(){return t})));case 3:case"end":return n.stop()}}),n)})))}function ft(e,t,n){return it(this,void 0,void 0,regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n||!t.filter||t.filter(e)){r.next=2;break}return r.abrupt("return",Promise.resolve(null));case 2:return r.abrupt("return",Promise.resolve(e).then((function(e){return st(e,t)})).then((function(n){return lt(e,n,t)})).then((function(t){return dt(e,t)})));case 3:case"end":return r.stop()}}),r)})))}var pt=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function s(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))},mt=/url\((['"]?)([^'"]+?)\1\)/g,ht=/url\([^)]+\)\s*format\((["'])([^"']+)\1\)/g,gt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function bt(e){var t=[];return e.replace(mt,(function(e,n,r){return t.push(r),e})),t.filter((function(e){return!qe(e)}))}function vt(e,t,n,r,i){var a=n?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;var n=document.implementation.createHTMLDocument(),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),t&&(r.href=t),i.href=e,i.href}(t,n):t;return Promise.resolve(a).then((function(e){return i?i(e):et(e,r)})).then((function(e){return"string"==typeof e?De(e,Fe(t)):De(e.blob,Fe(t)||e.contentType)})).then((function(n){return e.replace((r=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1"),new RegExp("(url\\(['\"]?)(".concat(r,")(['\"]?\\))"),"g")),"$1".concat(n,"$3"));var r})).then((function(e){return e}),(function(){return a}))}function wt(e,t){var r=t.preferredFontFormat;return r?e.replace(gt,(function(e){for(;;){var t=n(ht.exec(e)||[],3),i=t[0],a=t[2];if(!a)return"";if(a===r)return"src: ".concat(i,";")}})):e}function xt(e){return-1!==e.search(mt)}function yt(e,t,n){return pt(this,void 0,void 0,regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(xt(e)){r.next=2;break}return r.abrupt("return",Promise.resolve(e));case 2:return i=wt(e,n),r.abrupt("return",Promise.resolve(i).then(bt).then((function(e){return e.reduce((function(e,r){return e.then((function(e){return vt(e,r,t,n)}))}),Promise.resolve(i))})));case 4:case"end":return r.stop()}}),r)})))}var kt=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function s(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))};function _t(e,t){var n;return kt(this,void 0,void 0,regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=null===(n=e.style)||void 0===n?void 0:n.getPropertyValue("background")){r.next=3;break}return r.abrupt("return",Promise.resolve(e));case 3:return r.abrupt("return",Promise.resolve(i).then((function(e){return yt(e,null,t)})).then((function(t){return e.style.setProperty("background",t,e.style.getPropertyPriority("background")),e})));case 4:case"end":return r.stop()}}),r)})))}function St(e,t){return kt(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e instanceof HTMLImageElement&&!qe(e.src)||e instanceof SVGImageElement&&!qe(e.href.baseVal)){n.next=2;break}return n.abrupt("return",Promise.resolve(e));case 2:return r=e instanceof HTMLImageElement?e.src:e.href.baseVal,n.abrupt("return",Promise.resolve(r).then((function(e){return et(e,t)})).then((function(e){return De(e.blob,Fe(r)||e.contentType)})).then((function(t){return new Promise((function(n,r){e.onload=n,e.onerror=r,e instanceof HTMLImageElement?(e.srcset="",e.src=t):e.href.baseVal=t}))})).then((function(){return e}),(function(){return e})));case 4:case"end":return n.stop()}}),n)})))}function Ct(e,t){return kt(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=Ve(e.childNodes),i=r.map((function(e){return Rt(e,t)})),n.abrupt("return",Promise.all(i).then((function(){return e})));case 3:case"end":return n.stop()}}),n)})))}function Rt(e,t){return kt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e instanceof Element){n.next=2;break}return n.abrupt("return",Promise.resolve(e));case 2:return n.abrupt("return",Promise.resolve(e).then((function(e){return _t(e,t)})).then((function(e){return St(e,t)})).then((function(e){return Ct(e,t)})));case 3:case"end":return n.stop()}}),n)})))}function At(e,t){var n=e.style;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width="".concat(t.width,"px")),t.height&&(n.height="".concat(t.height,"px"));var r=t.style;return null!=r&&Object.keys(r).forEach((function(e){n[e]=r[e]})),e}var Tt=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function s(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))},Lt={};function It(e){var t=Lt[e];if(null!=t)return t;var n=window.fetch(e).then((function(t){return{url:e,cssText:t.text()}}));return Lt[e]=n,n}function Et(e){return Tt(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.cssText.then((function(t){var n=t,r=/url\(["']?([^"')]+)["']?\)/g,i=(n.match(/url\([^)]+\)/g)||[]).map((function(t){var i=t.replace(r,"$1");return i.startsWith("https://")||(i=new URL(i,e.url).href),window.fetch(i).then((function(e){return e.blob()})).then((function(e){return new Promise((function(r,i){var a=new FileReader;a.onloadend=function(){n=n.replace(t,"url(".concat(a.result,")")),r([t,a.result])},a.onerror=i,a.readAsDataURL(e)}))}))}));return Promise.all(i).then((function(){return n}))})));case 1:case"end":return t.stop()}}),t)})))}function Mt(e){if(null==e)return[];for(var t=[],n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");;){var i=r.exec(n);if(null===i)break;t.push(i[0])}n=n.replace(r,"");for(var a=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");;){var s=a.exec(n);if(null===s){if(null===(s=o.exec(n)))break;a.lastIndex=o.lastIndex}else o.lastIndex=a.lastIndex;t.push(s[0])}return t}function Bt(e){return Tt(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],r=[],e.forEach((function(t){if("cssRules"in t)try{Ve(t.cssRules).forEach((function(e,n){if(e.type===CSSRule.IMPORT_RULE){var i=n+1,a=It(e.href).then((function(e){return e?Et(e):""})).then((function(e){return Mt(e).forEach((function(e){try{t.insertRule(e,e.startsWith("@import")?i+=1:t.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:e,error:n})}}))})).catch((function(e){console.error("Error loading remote css",e.toString())}));r.push(a)}}))}catch(i){var n=e.find((function(e){return null==e.href}))||document.styleSheets[0];null!=t.href&&r.push(It(t.href).then((function(e){return e?Et(e):""})).then((function(e){return Mt(e).forEach((function(e){n.insertRule(e,t.cssRules.length)}))})).catch((function(e){console.error("Error loading remote stylesheet",e.toString())}))),console.error("Error inlining remote css file",i.toString())}})),t.abrupt("return",Promise.all(r).then((function(){return e.forEach((function(e){if("cssRules"in e)try{Ve(e.cssRules).forEach((function(e){n.push(e)}))}catch(t){console.error("Error while reading CSS rules from ".concat(e.href),t.toString())}})),n})));case 4:case"end":return t.stop()}}),t)})))}function Pt(e){return e.filter((function(e){return e.type===CSSRule.FONT_FACE_RULE})).filter((function(e){return xt(e.style.getPropertyValue("src"))}))}function Nt(e){return Tt(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t,n){null==e.ownerDocument&&n(new Error("Provided element is not within a Document")),t(Ve(e.ownerDocument.styleSheets))})).then((function(e){return Bt(e)})).then(Pt));case 1:case"end":return t.stop()}}),t)})))}function zt(e,t){return Tt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Nt(e).then((function(e){return Promise.all(e.map((function(e){var n=e.parentStyleSheet?e.parentStyleSheet.href:null;return yt(e.cssText,n,t)})))})).then((function(e){return e.join("\n")})));case 1:case"end":return n.stop()}}),n)})))}function Ut(e,t){return Tt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(null!=t.fontEmbedCSS?Promise.resolve(t.fontEmbedCSS):zt(e,t)).then((function(t){var n=document.createElement("style"),r=document.createTextNode(t);return n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n),e})));case 1:case"end":return n.stop()}}),n)})))}var Yt=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function s(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))};function jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.width||We(e),r=t.height||Ke(e);return{width:n,height:r}}function Ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Yt(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,i,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=jt(e,t),i=r.width,a=r.height,n.abrupt("return",Promise.resolve(e).then((function(e){return ft(e,t,!0)})).then((function(e){return Ut(e,t)})).then((function(e){return Rt(e,t)})).then((function(e){return At(e,t)})).then((function(e){return Ge(e,i,a)})));case 2:case"end":return n.stop()}}),n)})))}var qt=16384;function Dt(e){(e.width>qt||e.height>qt)&&(e.width>qt&&e.height>qt?e.width>e.height?(e.height*=qt/e.width,e.width=qt):(e.width*=qt/e.height,e.height=qt):e.width>qt?(e.height*=qt/e.width,e.width=qt):(e.width*=qt/e.height,e.height=qt))}function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Yt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Ft(e,t).then(Je).then((function(n){var r=document.createElement("canvas"),i=r.getContext("2d"),a=t.pixelRatio||Qe(),o=jt(e,t),s=o.width,l=o.height,c=t.canvasWidth||s,u=t.canvasHeight||l;return r.width=c*a,r.height=u*a,t.skipAutoScale||Dt(r),r.style.width="".concat(c),r.style.height="".concat(u),t.backgroundColor&&(i.fillStyle=t.backgroundColor,i.fillRect(0,0,r.width,r.height)),i.drawImage(n,0,0,r.width,r.height),r})));case 1:case"end":return n.stop()}}),n)})))}var Ot,Vt={exports:{}};
- /*!
- * clipboard.js v2.0.10
- * https://clipboardjs.com/
- *
- * Licensed MIT © Zeno Rocha
- */Ot=function(){return function(){var e={686:function(e,t,n){n.d(t,{default:function(){return _}});var r=n(279),i=n.n(r),a=n(370),o=n.n(a),s=n(817),l=n.n(s);function c(e){try{return document.execCommand(e)}catch(t){return!1}}var u=function(e){var t=l()(e);return c("cut"),t};function d(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";if("string"==typeof e){var r=d(e);t.container.appendChild(r),n=l()(r),c("copy"),r.remove()}else n=l()(e),c("copy");return n};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,a=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==p(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return a?f(a,{container:r}):i?"cut"===n?u(i):f(i,{container:r}):void 0};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function y(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(a,e);var t,n,r,i=v(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=i.call(this)).resolveOptions(t),n.listenClick(e),n}return t=a,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=o()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return y("action",e)}},{key:"defaultTarget",value:function(e){var t=y("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return y("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&g(t.prototype,n),r&&g(t,r),a}(i()),_=k},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function i(e,t,n,r,i){var o=a.apply(this,arguments);return e.addEventListener(n,o,i),{destroy:function(){e.removeEventListener(n,o,i)}}}function a(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=function(e,t,n,r,a){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,n,r,a)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),i=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return i(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},Vt.exports=Ot();var Xt=G(Vt.exports),Wt={shareWrap:"_shareWrap_ap100_1",chioseBox:"_chioseBox_ap100_5",cell:"_cell_ap100_17",dotle:"_dotle_ap100_27",teamInfo:"_teamInfo_ap100_38",title:"_title_ap100_42",subInfo:"_subInfo_ap100_47",tableWrap:"_tableWrap_ap100_51"};var Kt,Qt=H({name:"LiveBroadcastGroupChat",data:function(){return{searchForm:{search:""},checkList:[],tableList:[]}},mounted:function(){var e=this;return c(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.getList();case 1:case"end":return t.stop()}}),t)})))()},beforeUnmount:function(){},methods:{onReSet:function(){this.searchForm.search="",this.checkList=[],this.search()},search:function(){this.getList()},getList:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s("/api-web/imGroup/queryGroupList",{params:o({},e.searchForm)});case 3:n=t.sent,e.tableList=n.data,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},resectCheck:function(e){var t=e;-1==this.checkList.indexOf(t)?this.checkList.push(t):this.checkList.splice(this.checkList.indexOf(t),1)}},render:function(){var e,t,n=this;return V("div",null,[V($,{model:this.searchForm,ref:"form",inline:!0,class:Wt.form},{default:function(){return[V(ee,null,{default:function(){return[V(te,{clearable:!0,placeholder:"群聊名称/课程名称",modelValue:n.searchForm.search,onInput:function(e){return n.searchForm.search=e}},null)]}}),V(ee,null,{default:function(){return[V(Z,{type:"primary",onClick:n.search},{default:function(){return[X("搜索")]}}),V(Z,{type:"danger",onClick:n.onReSet},{default:function(){return[X("重置")]}})]}})]}}),this.tableList.length>0?V("div",{class:Wt.tableWrap},[V(ne,{modelValue:this.checkList},(t=e=this.tableList.map((function(e){return V("div",{class:Wt.cell,onClick:function(){return n.resectCheck(e.id)}},[V(re,{class:Wt.chioseBox,label:e.id,onChange:function(){return n.resectCheck(e.id)}},{default:function(){return[V("br",null,null)]}}),V("div",{class:Wt.dotle},["MUSIC"==e.type?"乐团":"VIP"]),V("div",{class:Wt.teamInfo},[V("p",{class:Wt.title},[e.name]),V("p",{class:Wt.subInfo},[e.memo,X("(共"),e.memberNum,X("人)")])])])})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!ie(t)?e:{default:function(){return[e]}}))]):V(ae,{description:"暂无群聊"},null)])}}),Jt="_third_p1nol_1",Zt="_preCore_p1nol_19",Gt="_title_p1nol_19",$t="_second_p1nol_22",en="_first_p1nol_43",tn="_icon_p1nol_61",nn="_teacher_p1nol_68",rn="_start_p1nol_84",an="_time_p1nol_103",on="_content_p1nol_112",sn="_pre_p1nol_19",ln="_end_p1nol_132",cn="_bottom_p1nol_139",un="_logo_p1nol_145",dn="_code_p1nol_149",fn={},pn={},mn={},hn=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];mn.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},mn.getSymbolTotalCodewords=function(e){return hn[e]},mn.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},mn.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');Kt=e},mn.isKanjiModeEnabled=function(){return void 0!==Kt},mn.toSJIS=function(e){return Kt(e)};var gn={};function bn(){this.buffer=[],this.length=0}!function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(r){return n}}}(gn),bn.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var vn=bn;function wn(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}wn.prototype.set=function(e,t,n,r){var i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},wn.prototype.get=function(e,t){return this.data[e*this.size+t]},wn.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},wn.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var xn=wn,yn={};!function(e){var t=mn.getSymbolSize;e.getRowColCoords=function(e){if(1===e)return[];for(var n=Math.floor(e/7)+2,r=t(e),i=145===r?26:2*Math.ceil((r-13)/(2*n-2)),a=[r-7],o=1;o<n-1;o++)a[o]=a[o-1]-i;return a.push(6),a.reverse()},e.getPositions=function(t){for(var n=[],r=e.getRowColCoords(t),i=r.length,a=0;a<i;a++)for(var o=0;o<i;o++)0===a&&0===o||0===a&&o===i-1||a===i-1&&0===o||n.push([r[a],r[o]]);return n}}(yn);var kn={},_n=mn.getSymbolSize;kn.getPositions=function(e){var t=_n(e);return[[0,0],[t-7,0],[0,t-7]]};var Sn={};!function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var t=3,n=3,r=40,i=10;function a(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}e.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){for(var n=e.size,r=0,i=0,a=0,o=null,s=null,l=0;l<n;l++){i=a=0,o=s=null;for(var c=0;c<n;c++){var u=e.get(l,c);u===o?i++:(i>=5&&(r+=t+(i-5)),o=u,i=1),(u=e.get(c,l))===s?a++:(a>=5&&(r+=t+(a-5)),s=u,a=1)}i>=5&&(r+=t+(i-5)),a>=5&&(r+=t+(a-5))}return r},e.getPenaltyN2=function(e){for(var t=e.size,r=0,i=0;i<t-1;i++)for(var a=0;a<t-1;a++){var o=e.get(i,a)+e.get(i,a+1)+e.get(i+1,a)+e.get(i+1,a+1);4!==o&&0!==o||r++}return r*n},e.getPenaltyN3=function(e){for(var t=e.size,n=0,i=0,a=0,o=0;o<t;o++){i=a=0;for(var s=0;s<t;s++)i=i<<1&2047|e.get(o,s),s>=10&&(1488===i||93===i)&&n++,a=a<<1&2047|e.get(s,o),s>=10&&(1488===a||93===a)&&n++}return n*r},e.getPenaltyN4=function(e){for(var t=0,n=e.data.length,r=0;r<n;r++)t+=e.data[r];return Math.abs(Math.ceil(100*t/n/5)-10)*i},e.applyMask=function(e,t){for(var n=t.size,r=0;r<n;r++)for(var i=0;i<n;i++)t.isReserved(i,r)||t.xor(i,r,a(e,i,r))},e.getBestMask=function(t,n){for(var r=Object.keys(e.Patterns).length,i=0,a=1/0,o=0;o<r;o++){n(o),e.applyMask(o,t);var s=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(o,t),s<a&&(a=s,i=o)}return i}}(Sn);var Cn={},Rn=gn,An=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Tn=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Cn.getBlocksCount=function(e,t){switch(t){case Rn.L:return An[4*(e-1)+0];case Rn.M:return An[4*(e-1)+1];case Rn.Q:return An[4*(e-1)+2];case Rn.H:return An[4*(e-1)+3];default:return}},Cn.getTotalCodewordsCount=function(e,t){switch(t){case Rn.L:return Tn[4*(e-1)+0];case Rn.M:return Tn[4*(e-1)+1];case Rn.Q:return Tn[4*(e-1)+2];case Rn.H:return Tn[4*(e-1)+3];default:return}};var Ln={},In={},En=new Uint8Array(512),Mn=new Uint8Array(256);!function(){for(var e=1,t=0;t<255;t++)En[t]=e,Mn[e]=t,256&(e<<=1)&&(e^=285);for(var n=255;n<512;n++)En[n]=En[n-255]}(),In.log=function(e){if(e<1)throw new Error("log("+e+")");return Mn[e]},In.exp=function(e){return En[e]},In.mul=function(e,t){return 0===e||0===t?0:En[Mn[e]+Mn[t]]},function(e){var t=In;e.mul=function(e,n){for(var r=new Uint8Array(e.length+n.length-1),i=0;i<e.length;i++)for(var a=0;a<n.length;a++)r[i+a]^=t.mul(e[i],n[a]);return r},e.mod=function(e,n){for(var r=new Uint8Array(e);r.length-n.length>=0;){for(var i=r[0],a=0;a<n.length;a++)r[a]^=t.mul(n[a],i);for(var o=0;o<r.length&&0===r[o];)o++;r=r.slice(o)}return r},e.generateECPolynomial=function(n){for(var r=new Uint8Array([1]),i=0;i<n;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}}(Ln);var Bn=Ln;function Pn(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Pn.prototype.initialize=function(e){this.degree=e,this.genPoly=Bn.generateECPolynomial(this.degree)},Pn.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");var t=new Uint8Array(e.length+this.degree);t.set(e);var n=Bn.mod(t,this.genPoly),r=this.degree-n.length;if(r>0){var i=new Uint8Array(this.degree);return i.set(n,r),i}return n};var Nn=Pn,zn={},Un={},Yn={isValid:function(e){return!isNaN(e)&&e>=1&&e<=40}},jn={},Fn="[0-9]+",qn="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",Dn="(?:(?![A-Z0-9 $%*+\\-./:]|"+(qn=qn.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";jn.KANJI=new RegExp(qn,"g"),jn.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),jn.BYTE=new RegExp(Dn,"g"),jn.NUMERIC=new RegExp(Fn,"g"),jn.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var Hn=new RegExp("^"+qn+"$"),On=new RegExp("^[0-9]+$"),Vn=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");jn.testKanji=function(e){return Hn.test(e)},jn.testNumeric=function(e){return On.test(e)},jn.testAlphanumeric=function(e){return Vn.test(e)},function(e){var t=Yn,n=jn;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!t.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(t){return n.testNumeric(t)?e.NUMERIC:n.testAlphanumeric(t)?e.ALPHANUMERIC:n.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},e.isValid=function(e){return e&&e.bit&&e.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(r){return n}}}(Un),function(e){var t=mn,n=Cn,r=gn,i=Un,a=Yn,o=t.getBCHDigit(7973);function s(e,t){return i.getCharCountIndicator(e,t)+4}function l(e,t){var n=0;return e.forEach((function(e){var r=s(e.mode,t);n+=r+e.getBitsLength()})),n}e.from=function(e,t){return a.isValid(e)?parseInt(e,10):t},e.getCapacity=function(e,r,o){if(!a.isValid(e))throw new Error("Invalid QR Code version");void 0===o&&(o=i.BYTE);var l=8*(t.getSymbolTotalCodewords(e)-n.getTotalCodewordsCount(e,r));if(o===i.MIXED)return l;var c=l-s(o,e);switch(o){case i.NUMERIC:return Math.floor(c/10*3);case i.ALPHANUMERIC:return Math.floor(c/11*2);case i.KANJI:return Math.floor(c/13);case i.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(t,n){var a,o=r.from(n,r.M);if(Array.isArray(t)){if(t.length>1)return function(t,n){for(var r=1;r<=40;r++)if(l(t,r)<=e.getCapacity(r,n,i.MIXED))return r}(t,o);if(0===t.length)return 1;a=t[0]}else a=t;return function(t,n,r){for(var i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}(a.mode,a.getLength(),o)},e.getEncodedBits=function(e){if(!a.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var n=e<<12;t.getBCHDigit(n)-o>=0;)n^=7973<<t.getBCHDigit(n)-o;return e<<12|n}}(zn);var Xn={},Wn=mn,Kn=Wn.getBCHDigit(1335);Xn.getEncodedBits=function(e,t){for(var n=e.bit<<3|t,r=n<<10;Wn.getBCHDigit(r)-Kn>=0;)r^=1335<<Wn.getBCHDigit(r)-Kn;return 21522^(n<<10|r)};var Qn={},Jn=Un;function Zn(e){this.mode=Jn.NUMERIC,this.data=e.toString()}Zn.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},Zn.prototype.getLength=function(){return this.data.length},Zn.prototype.getBitsLength=function(){return Zn.getBitsLength(this.data.length)},Zn.prototype.write=function(e){var t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);var i=this.data.length-t;i>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,3*i+1))};var Gn=Zn,$n=Un,er=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function tr(e){this.mode=$n.ALPHANUMERIC,this.data=e}tr.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},tr.prototype.getLength=function(){return this.data.length},tr.prototype.getBitsLength=function(){return tr.getBitsLength(this.data.length)},tr.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var n=45*er.indexOf(this.data[t]);n+=er.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(er.indexOf(this.data[t]),6)};var nr=tr,rr=function(e){for(var t=[],n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);if(i>=55296&&i<=56319&&n>r+1){var a=e.charCodeAt(r+1);a>=56320&&a<=57343&&(i=1024*(i-55296)+a-56320+65536,r+=1)}i<128?t.push(i):i<2048?(t.push(i>>6|192),t.push(63&i|128)):i<55296||i>=57344&&i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i>=65536&&i<=1114111?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):t.push(239,191,189)}return new Uint8Array(t).buffer},ir=Un;function ar(e){this.mode=ir.BYTE,this.data=new Uint8Array(rr(e))}ar.getBitsLength=function(e){return 8*e},ar.prototype.getLength=function(){return this.data.length},ar.prototype.getBitsLength=function(){return ar.getBitsLength(this.data.length)},ar.prototype.write=function(e){for(var t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var or=ar,sr=Un,lr=mn;function cr(e){this.mode=sr.KANJI,this.data=e}cr.getBitsLength=function(e){return 13*e},cr.prototype.getLength=function(){return this.data.length},cr.prototype.getBitsLength=function(){return cr.getBitsLength(this.data.length)},cr.prototype.write=function(e){var t;for(t=0;t<this.data.length;t++){var n=lr.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}};var ur=cr,dr={exports:{}};!function(e){var t={single_source_shortest_paths:function(e,n,r){var i={},a={};a[n]=0;var o,s,l,c,u,d,f,p=t.PriorityQueue.make();for(p.push(n,0);!p.empty();)for(l in s=(o=p.pop()).value,c=o.cost,u=e[s]||{})u.hasOwnProperty(l)&&(d=c+u[l],f=a[l],(void 0===a[l]||f>d)&&(a[l]=d,p.push(l,d),i[l]=s));if(void 0!==r&&void 0===a[r]){var m=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(m)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),r=e[r];return n.reverse(),n},find_path:function(e,n,r){var i=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,i={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t}(dr),function(e){var t=Un,n=Gn,r=nr,i=or,a=ur,o=jn,s=mn,l=dr.exports;function c(e){return unescape(encodeURIComponent(e)).length}function u(e,t,n){for(var r,i=[];null!==(r=e.exec(n));)i.push({data:r[0],index:r.index,mode:t,length:r[0].length});return i}function d(e){var n,r,i=u(o.NUMERIC,t.NUMERIC,e),a=u(o.ALPHANUMERIC,t.ALPHANUMERIC,e);return s.isKanjiModeEnabled()?(n=u(o.BYTE,t.BYTE,e),r=u(o.KANJI,t.KANJI,e)):(n=u(o.BYTE_KANJI,t.BYTE,e),r=[]),i.concat(a,n,r).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function f(e,o){switch(o){case t.NUMERIC:return n.getBitsLength(e);case t.ALPHANUMERIC:return r.getBitsLength(e);case t.KANJI:return a.getBitsLength(e);case t.BYTE:return i.getBitsLength(e)}}function p(e,o){var l,c=t.getBestModeForData(e);if((l=t.from(o,c))!==t.BYTE&&l.bit<c.bit)throw new Error('"'+e+'" cannot be encoded with mode '+t.toString(l)+".\n Suggested mode is: "+t.toString(c));switch(l!==t.KANJI||s.isKanjiModeEnabled()||(l=t.BYTE),l){case t.NUMERIC:return new n(e);case t.ALPHANUMERIC:return new r(e);case t.KANJI:return new a(e);case t.BYTE:return new i(e)}}e.fromArray=function(e){return e.reduce((function(e,t){return"string"==typeof t?e.push(p(t,null)):t.data&&e.push(p(t.data,t.mode)),e}),[])},e.fromString=function(n,r){for(var i=function(e){for(var n=[],r=0;r<e.length;r++){var i=e[r];switch(i.mode){case t.NUMERIC:n.push([i,{data:i.data,mode:t.ALPHANUMERIC,length:i.length},{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.ALPHANUMERIC:n.push([i,{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.KANJI:n.push([i,{data:i.data,mode:t.BYTE,length:c(i.data)}]);break;case t.BYTE:n.push([{data:i.data,mode:t.BYTE,length:c(i.data)}])}}return n}(d(n,s.isKanjiModeEnabled())),a=function(e,n){for(var r={},i={start:{}},a=["start"],o=0;o<e.length;o++){for(var s=e[o],l=[],c=0;c<s.length;c++){var u=s[c],d=""+o+c;l.push(d),r[d]={node:u,lastCount:0},i[d]={};for(var p=0;p<a.length;p++){var m=a[p];r[m]&&r[m].node.mode===u.mode?(i[m][d]=f(r[m].lastCount+u.length,u.mode)-f(r[m].lastCount,u.mode),r[m].lastCount+=u.length):(r[m]&&(r[m].lastCount=u.length),i[m][d]=f(u.length,u.mode)+4+t.getCharCountIndicator(u.mode,n))}}a=l}for(var h=0;h<a.length;h++)i[a[h]].end=0;return{map:i,table:r}}(i,r),o=l.find_path(a.map,"start","end"),u=[],p=1;p<o.length-1;p++)u.push(a.table[o[p]].node);return e.fromArray(function(e){return e.reduce((function(e,t){var n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(u))},e.rawSplit=function(t){return e.fromArray(d(t,s.isKanjiModeEnabled()))}}(Qn);var fr=mn,pr=gn,mr=vn,hr=xn,gr=yn,br=kn,vr=Sn,wr=Cn,xr=Nn,yr=zn,kr=Xn,_r=Un,Sr=Qn;function Cr(e,t,n){var r,i,a=e.size,o=kr.getEncodedBits(t,n);for(r=0;r<15;r++)i=1==(o>>r&1),r<6?e.set(r,8,i,!0):r<8?e.set(r+1,8,i,!0):e.set(a-15+r,8,i,!0),r<8?e.set(8,a-r-1,i,!0):r<9?e.set(8,15-r-1+1,i,!0):e.set(8,15-r-1,i,!0);e.set(a-8,8,1,!0)}function Rr(e,t,n){var r=new mr;n.forEach((function(t){r.put(t.mode.bit,4),r.put(t.getLength(),_r.getCharCountIndicator(t.mode,e)),t.write(r)}));var i=8*(fr.getSymbolTotalCodewords(e)-wr.getTotalCodewordsCount(e,t));for(r.getLengthInBits()+4<=i&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);for(var a=(i-r.getLengthInBits())/8,o=0;o<a;o++)r.put(o%2?17:236,8);return function(e,t,n){for(var r=fr.getSymbolTotalCodewords(t),i=wr.getTotalCodewordsCount(t,n),a=r-i,o=wr.getBlocksCount(t,n),s=o-r%o,l=Math.floor(r/o),c=Math.floor(a/o),u=c+1,d=l-c,f=new xr(d),p=0,m=new Array(o),h=new Array(o),g=0,b=new Uint8Array(e.buffer),v=0;v<o;v++){var w=v<s?c:u;m[v]=b.slice(p,p+w),h[v]=f.encode(m[v]),p+=w,g=Math.max(g,w)}var x,y,k=new Uint8Array(r),_=0;for(x=0;x<g;x++)for(y=0;y<o;y++)x<m[y].length&&(k[_++]=m[y][x]);for(x=0;x<d;x++)for(y=0;y<o;y++)k[_++]=h[y][x];return k}(r,e,t)}function Ar(e,t,n,r){var i;if(Array.isArray(e))i=Sr.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var a=t;if(!a){var o=Sr.rawSplit(e);a=yr.getBestVersionForData(o,n)}i=Sr.fromString(e,a||40)}var s=yr.getBestVersionForData(i,n);if(!s)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<s)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+s+".\n")}else t=s;var l=Rr(t,n,i),c=fr.getSymbolSize(t),u=new hr(c);return function(e,t){for(var n=e.size,r=br.getPositions(t),i=0;i<r.length;i++)for(var a=r[i][0],o=r[i][1],s=-1;s<=7;s++)if(!(a+s<=-1||n<=a+s))for(var l=-1;l<=7;l++)o+l<=-1||n<=o+l||(s>=0&&s<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===s||6===s)||s>=2&&s<=4&&l>=2&&l<=4?e.set(a+s,o+l,!0,!0):e.set(a+s,o+l,!1,!0))}(u,t),function(e){for(var t=e.size,n=8;n<t-8;n++){var r=n%2==0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}(u),function(e,t){for(var n=gr.getPositions(t),r=0;r<n.length;r++)for(var i=n[r][0],a=n[r][1],o=-2;o<=2;o++)for(var s=-2;s<=2;s++)-2===o||2===o||-2===s||2===s||0===o&&0===s?e.set(i+o,a+s,!0,!0):e.set(i+o,a+s,!1,!0)}(u,t),Cr(u,n,0),t>=7&&function(e,t){for(var n,r,i,a=e.size,o=yr.getEncodedBits(t),s=0;s<18;s++)n=Math.floor(s/3),r=s%3+a-8-3,i=1==(o>>s&1),e.set(n,r,i,!0),e.set(r,n,i,!0)}(u,t),function(e,t){for(var n=e.size,r=-1,i=n-1,a=7,o=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var l=0;l<2;l++)if(!e.isReserved(i,s-l)){var c=!1;o<t.length&&(c=1==(t[o]>>>a&1)),e.set(i,s-l,c),-1==--a&&(o++,a=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}(u,l),isNaN(r)&&(r=vr.getBestMask(u,Cr.bind(null,u,n))),vr.applyMask(r,u),Cr(u,n,r),{modules:u,version:t,errorCorrectionLevel:n,maskPattern:r,segments:i}}pn.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var n,r,i=pr.M;return void 0!==t&&(i=pr.from(t.errorCorrectionLevel,pr.M),n=yr.from(t.version),r=vr.from(t.maskPattern),t.toSJISFunc&&fr.setToSJISFunction(t.toSJISFunc)),Ar(e,n,i,r)};var Tr={},Lr={};!function(e){function t(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}e.getOptions=function(e){e||(e={}),e.color||(e.color={});var n=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:n,color:{dark:t(e.color.dark||"#000000ff"),light:t(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},e.getImageWidth=function(t,n){var r=e.getScale(t,n);return Math.floor((t+2*n.margin)*r)},e.qrToImageData=function(t,n,r){for(var i=n.modules.size,a=n.modules.data,o=e.getScale(i,r),s=Math.floor((i+2*r.margin)*o),l=r.margin*o,c=[r.color.light,r.color.dark],u=0;u<s;u++)for(var d=0;d<s;d++){var f=4*(u*s+d),p=r.color.light;if(u>=l&&d>=l&&u<s-l&&d<s-l)p=c[a[Math.floor((u-l)/o)*i+Math.floor((d-l)/o)]?1:0];t[f++]=p.r,t[f++]=p.g,t[f++]=p.b,t[f]=p.a}}}(Lr),function(e){var t=Lr;e.render=function(e,n,r){var i=r,a=n;void 0!==i||n&&n.getContext||(i=n,n=void 0),n||(a=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),i=t.getOptions(i);var o=t.getImageWidth(e.modules.size,i),s=a.getContext("2d"),l=s.createImageData(o,o);return t.qrToImageData(l.data,e,i),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(s,a,o),s.putImageData(l,0,0),a},e.renderToDataURL=function(t,n,r){var i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});var a=e.render(t,n,i),o=i.type||"image/png",s=i.rendererOpts||{};return a.toDataURL(o,s.quality)}}(Tr);var Ir={},Er=Lr;function Mr(e,t){var n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function Br(e,t,n){var r=e+t;return void 0!==n&&(r+=" "+n),r}Ir.render=function(e,t,n){var r=Er.getOptions(t),i=e.modules.size,a=e.modules.data,o=i+2*r.margin,s=r.color.light.a?"<path "+Mr(r.color.light,"fill")+' d="M0 0h'+o+"v"+o+'H0z"/>':"",l="<path "+Mr(r.color.dark,"stroke")+' d="'+function(e,t,n){for(var r="",i=0,a=!1,o=0,s=0;s<e.length;s++){var l=Math.floor(s%t),c=Math.floor(s/t);l||a||(a=!0),e[s]?(o++,s>0&&l>0&&e[s-1]||(r+=a?Br("M",l+n,.5+c+n):Br("m",i,0),i=0,a=!1),l+1<t&&e[s+1]||(r+=Br("h",o),o=0)):i++}return r}(a,i,r.margin)+'"/>',c='viewBox="0 0 '+o+" "+o+'"',u='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+c+' shape-rendering="crispEdges">'+s+l+"</svg>\n";return"function"==typeof n&&n(null,u),u};var Pr=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},Nr=pn,zr=Tr,Ur=Ir;function Yr(e,t,n,r,i){var a=[].slice.call(arguments,1),o=a.length,s="function"==typeof a[o-1];if(!s&&!Pr())throw new Error("Callback required as last argument");if(!s){if(o<1)throw new Error("Too few arguments provided");return 1===o?(n=t,t=r=void 0):2!==o||t.getContext||(r=n,n=t,t=void 0),new Promise((function(i,a){try{var o=Nr.create(n,r);i(e(o,t,r))}catch(s){a(s)}}))}if(o<2)throw new Error("Too few arguments provided");2===o?(i=n,n=t,t=r=void 0):3===o&&(t.getContext&&void 0===i?(i=r,r=void 0):(i=r,r=n,n=t,t=void 0));try{var l=Nr.create(n,r);i(null,e(l,t,r))}catch(c){i(c)}}fn.create=Nr.create,fn.toCanvas=Yr.bind(null,zr.render),fn.toDataURL=Yr.bind(null,zr.renderToDataURL),fn.toString=Yr.bind(null,(function(e,t,n){return Ur.render(e,n)}));var jr=fn,Fr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAmCAYAAACyAQkgAAAAAXNSR0IArs4c6QAAA7pJREFUWEftmF1oHFUUx8+5k2yhIVILUosSv0AtrYKiSO2DaB9E1EIfUpBiQaxLqybM3hkCfqBBq+JmzrkLiwuNWCOUolBEFFREqgiiVkQUg5FiaWkrwopIoiZNsvfILK2kde98RZ/ceVr2nvOf3/zvOXfuXAQACMOwr9Vq3RT/LnDNGmMOJ+UNDw8PeJ53RQFtUEodI6LjGCdXKpXrEPHbIkIAcJSZr0rK1Vo/AQB7iuiLyNPGmGe6oEvd6zqas5a6NRob1m2mTmXTbaZuM+V0oNtMLsP+F80EAE8x87P/xqZkkpk3/Ie7pxFjzFgbdHBw0BsYGLjQdTMReQgAnneMf87MG5NAy+Xyyv7+/pUJ+u8BgGs/vIuZ97ZB064wDLdaa990xH3AzHemaSSNB0Hwtojc2ylGRLYbYw5kBd1mrX2jkxAiHiSiweWAaq0/BIDNDtAtxph3MoEGQbBTRF52wDAzB8sBDYLgGxG53mHEbUT0SSbQlOXlQWbetxxQrfXPALCmk0ZPT88l1Wr1p6ygBwDgPsfU3JL2cZf0ECMjI5cuLi6ecMT8wswXxWNZQb8HgGs7iFml1AVRFP1R1NEgCLaLyH7HtB8ionbtpoL6vn+lUupHh9BnRHRrUcg4T2sd1/5Oh0aNmSuZQLXWIQCMOYQeZ+YXioLG5wnW2pMAsMphxFYieisVdHR0tGd6evoIAFzuqM8NxpjJoqBa690A0HDk/7awsHBxvV4/nQoahuED1lpXR08x87qikENDQytKpVK8LF3j0HiFmf8uCWeN+r6/Vin1HQCsdgi1X21FQbXWdQB41JWvlNocRdGhs+MdQSuVympEfB8AbnYINUXkMmPMbBHQIAjuF5HXXM2MiB8T0e1Ltf8B6vv+RqVU3InrXRBnP2HzQpbL5d6+vr4xRBx2QYpIy/O8G6MoOucsrA16pvt2AMA9InIXIjpLQkR+AIAb8riptb5aRB5GxG0AsDbpARGxQUSPnB+Tdz+6gIibiOjLPG5m3eEj4hczMzN3jI+P/7lc0CeZ+bk8kGcW9dRjR0Q8Mj8/v6lerzc7rqnxnxnORy0iPkZE1byQGUGnrLV312q1oy79LFM/i4g7iOhgEcgMoPvn5uZ2NxqN3xNrN8HR04j4aqvVerFWqx0rCpkAOqmU2hNF0etZtM93NH5dfQ0AH4nIS8aYU1lE0mKWNNOvIvKp53l7oyh6Nz6sS8s9Z8H3fX9Vb2/v+maz+dXExMRc1uSscb7vryuVSlCtVqfywC3V/ws13CRFlZXvUwAAAABJRU5ErkJggg==",qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAoCAYAAACIC2hQAAAAAXNSR0IArs4c6QAAA/dJREFUWEftmF9oHUUUxr9zbwgqmJAo/kET6luMKCoo1KAIIv6hoYpESkEIiD7UJu7MXGLUQhatKNe7Z3OTglp9UEECKlJC7YMKFdqCgloQBAsSUR9UEB9iija5mSNzzY2x7uxuNlgQ7jzunPPNb7+ZM7OzhP9JoyKcQRBcXi6Xh0RkO4BPmPmdIjpJOWEYlpaWlgattU77lkajMTUzM/P9pkCDIBgqlUoTAHYAKLmBiOiJKIqqWwUdGxvr6uzs3CsijwO4pKVHRFdHUfR1LtDx8fH+crn8BhHdfjbQVkFHRkbKfX19TwFQAHoS9POBaq13ENHrInJRkmtbAZ2YmLiw0Wi8DeBu34zkclQptQfAASLyOl8UVCl1BYAjRHRd2rLJBDXG3Cci7wIoZwhteo266e7v7z+2VoypyzsVVCl1MxF9DOD8rCIRkbE4jg9kxW3s11o/DWB/jpwz1trB6enphX9N6drbfiEiaVPyB4BYRN6K4/irHAOuh2itb3BbGoDOlLyTRPQMEX1Yq9VON3eXs4O11o+5dZki8g2AB5n55GYAW7HGmHkRGfblishUd3f3/jAM7caYf4BOTk72LC8vO5Bej9BPq6ur19fr9Z8LQg6IiJuB5h6csBU9GUXRC4l9Gx8qpfYS0awHworIPXEcf1AE0uUYY14RkUc9+UeZ+Q4AkgmqtT7hji2P0Bwz7y4KGYbhBYuLi794CtQS0TXuBPLpr099EATbiGghZc/czsyuCAq1SqWy01p7yJM8z8w704TXQY0xRkRqnuDPmPmmQoRrSVrr1wA87NEYZubDeUHnRGSXJ3gfMz+3BVDSWv8I4NIEjdNdXV0Xh2HotjxvW3dUa+2qcTApUkRui+P4WFHQSqVylbV2waP9URzHd2ZpN0FHR0fP6+3t/Q1AR0LC7ysrKz2zs7NnssR8/UqpYSKa9/RPM7P7ckptTdAgCG4slUqfJ0US0akoigayhNL6jTGTIvK8J2YPM7+Upd8E1VrfC+B9T/BxZr41SyitXyn1JhE95DFidxRFc1n6TVCl1C4i8gUfYub7s4QyHD3iDgtPTGbFu7yWo48AOOgROszM3rM5zwtorY8DGPI4+kAURe9l6bQcNUTk20O/I6KXfUKNRuNovV7/NG0grfWXAK71GUFE7kRMbNbag3Ec/9pydApAmPVWHkcyP5y11t8C2FZQ/+87kzHmWRHZV0TI3UprtdqLGcX0AxFdWUS/o6NjoFqtnmo62gZds1Ap1XY093Jqr9E1q9rFlLRm2sWUu5Lcvbe94f9lV7uY/tNi0loHANw/pyKtysyvZnzmuYvhZUXErbV3Jf7NKyJ2LnJy/cM/FyBZY/wJeqwNR6eju2QAAAAASUVORK5CYII=",Dr="./assets/logo.6e1120ae.png",Hr="data:image/png;base64,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",Or=H({name:"LiveBroadcastSharePreview",props:["form","url"],data:function(){return{detail:{roomTitle:"",liveStartTime:"",liveRemark:""}}},mounted:function(){var e=document.getElementById("canvas"),t=this.url;jr.toCanvas(e,t,{width:79,margin:1},(function(e){e&&console.error(e),console.log("QRCode success!")}))},methods:{copyText:function(){},shareImage:function(){}},render:function(){return V("div",{id:"preview"},["1"===this.form.preTemplate?V("div",{class:en},[V("h2",null,[this.form.roomTitle]),V("p",{class:nn},[X(" 主讲人:"),this.form.speakerName]),V("img",{src:"./assets/icon1.ef6bbd86.png",class:tn,alt:""},null),V("div",{class:Zt},[V("img",{src:Hr,class:rn,alt:""},null),V("p",{class:Gt},[X("开播时间")]),V("p",{class:an},[this.form.liveStartTime]),V("p",{class:Gt},[X("直播内容")]),V("div",{class:on},[V("img",{class:sn,src:qr,alt:""},null),V("img",{class:ln,src:Fr,alt:""},null),this.form.liveRemark])]),V("div",{class:cn},[V("img",{class:un,src:Dr,alt:""},null),V("div",{class:dn},[V("div",null,[V("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null,"2"===this.form.preTemplate?V("div",{class:$t},[V("h2",null,[this.form.roomTitle]),V("p",{class:nn},[X("主讲人:"),this.form.speakerName]),V("img",{src:"./assets/icon3.0d23bbac.png",class:tn,alt:""},null),V("div",{class:Zt},[V("img",{src:Hr,class:rn,alt:""},null),V("p",{class:Gt},[X("开播时间")]),V("p",{class:an},[this.form.liveStartTime]),V("p",{class:Gt},[X("直播内容")]),V("div",{class:on},[V("img",{class:sn,src:qr,alt:""},null),V("img",{class:ln,src:Fr,alt:""},null),this.form.liveRemark])]),V("div",{class:cn},[V("img",{class:un,src:Dr,alt:""},null),V("div",{class:dn},[V("div",null,[V("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null,"3"===this.form.preTemplate?V("div",{class:Jt},[V("h2",null,[this.form.roomTitle]),V("p",{class:nn},[X("主讲人:"),this.form.speakerName]),V("img",{src:"./assets/icon2.e7f0fa2e.png",class:tn,alt:""},null),V("div",{class:Zt},[V("img",{src:Hr,class:rn,alt:""},null),V("p",{class:Gt},[X("开播时间")]),V("p",{class:an},[this.form.liveStartTime]),V("p",{class:Gt},[X("直播内容")]),V("div",{class:on},[V("img",{class:sn,src:qr,alt:""},null),V("img",{class:ln,src:Fr,alt:""},null),this.form.liveRemark])]),V("div",{class:cn},[V("img",{class:un,src:Dr,alt:""},null),V("div",{class:dn},[V("div",null,[V("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null])}}),Vr=se(null);se(null);var Xr=H({name:"LiveBroadcastShare",props:{onClose:{type:Function,default:function(){}}},data:function(){return{form:{shareType:"1"},detail:{roomTitle:"",liveStartTime:"",liveRemark:"",roomUid:"",speakerName:""},url:""}},mounted:function(){var e=this;return c(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.detail=o({},u.user),e.url=(n=void 0,n=window.location.href,(/online/.test(n)?"https://mstuonline.dayaedu.com":/dev/.test(n)?"http://mstudev.dayaedu.com":/test/.test(n)?"http://mstutest.dayaedu.com":"http://mstudev.dayaedu.com")+"/#/liveClassTransfer?roomUid=".concat(e.detail.roomUid));case 2:case"end":return t.stop()}var n}),t)})))()},methods:{copyText:function(){var e=this,t="乐团老师邀请您参与直播课!\n".concat(this.detail.roomTitle||"","\n主讲人:").concat(this.detail.speakerName,"\n直播时间:").concat(this.detail.liveStartTime||"","\n直播内容:").concat(this.detail.liveRemark||"","\n直播地址:").concat(this.url,"\n");if(t){var n=document.createElement("button"),r=new Xt(n,{text:function(){return t}});r.on("success",(function(){O.success("复制成功"),e.onClose(),r.destroy()})),r.on("error",(function(){console.log("该浏览器不支持自动复制"),r.destroy()})),n.click()}},shareImage:function(){var e=this,t=document.getElementById("preview");t&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Yt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Ht(e,t).then((function(e){return e.toDataURL()})));case 1:case"end":return n.stop()}}),n)})))}(t).then((function(t){(new Image).src=t;var n=document.createElement("a"),r=e.detail.roomTitle||"分享图片文件.png";n.href=t,n.setAttribute("download",r),document.body.appendChild(n),n.click(),e.onClose()})).catch((function(e){console.error("oops, something went wrong!",e)}))},shareChat:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=(null===(n=Vr.value)||void 0===n?void 0:n.checkList)||[]).length>0){t.next=4;break}return O.error("请至少选择一个群聊"),t.abrupt("return");case 4:return t.prev=4,i={groupIds:r.join(","),roomUid:e.detail.roomUid},t.next=8,s.get("/api-web/imLiveBroadcastRoom/shareGroup",{params:o({},i)});case 8:t.sent,O.success("分享成功"),e.onClose(),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(4),console.log(t.t0);case 16:case"end":return t.stop()}}),t,null,[[4,13]])})))()},changeRafdio:function(e){this.form.shareType=e}},render:function(){var e=this;return V("div",null,[V($,{model:this.form,ref:"form",class:Ne.form},{default:function(){return[V(ee,{label:"分享方式"},{default:function(){return[V(oe,{modelValue:e.form.shareType,onChange:function(){e.changeRafdio("1")},label:"1"},{default:function(){return[X("链接分享")]}}),V(oe,{modelValue:e.form.shareType,onChange:function(){e.changeRafdio("2")},label:"2"},{default:function(){return[X("二维码分享")]}}),V(oe,{modelValue:e.form.shareType,onChange:function(){e.changeRafdio("3")},label:"3"},{default:function(){return[X("群聊分享")]}})]}})]}}),V("div",null,["1"===this.form.shareType?V("div",{class:"linkWrap"},[V("div",{class:Ne.shareWrap},[V("h2",null,[X("乐团老师邀请您参与直播课!")]),V("h4",null,[this.detail.roomTitle]),V("p",null,[X("主讲人:"),this.detail.speakerName]),V("p",null,[X("开播时间:"),this.detail.liveStartTime]),V("p",null,[X("直播内容:"),this.detail.liveRemark]),V("p",null,[X("直播地址:"),this.url])]),V("div",{class:[Ne.shareBtn,"shareText"],onClick:this.copyText,ref:"shareText","data-clipboard-action":"copy"},[X("复制分享内容")])]):null]),"2"===this.form.shareType?V("div",{class:Ne.codeWrap},[V("div",{class:Ne.shareWrap},[V(Or,{form:this.detail,url:this.url},null)]),V("div",{class:Ne.shareBtn,onClick:this.shareImage},[X("下载图片")])]):null,"3"==this.form.shareType?V("div",{class:Ne.shareWrap},[V("div",{class:Ne.groupWrap},[V(Qt,{ref:Vr},null)]),V("div",{class:Ne.shareBtn,onClick:this.shareChat},[X("发送分享信息")])]):null])}}),Wr=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(navigator){e.next=2;break}throw new Error("浏览器版本过低,无法开始直播");case 2:return e.abrupt("return",navigator.mediaDevices.getUserMedia(t));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function Kr(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ie(e)}var Qr=ce({volume:0,barStatus:{camera:!1,volume:!1,microphone:!1,microphone2:!1,screen:!1,share:!1},shareVisiable:!1,binded:!1}),Jr=H({name:"LiveBroadcast-ActionBar",computed:{isCameraDisabled:function(){return Qr.barStatus.camera&&"denied"!==d.deviceStatus.camera&&d.cameras.length},isMicrophoneDisabled:function(){return Qr.barStatus.microphone&&"denied"!==d.deviceStatus.microphone&&d.microphones.length},isMicrophone2Disabled:function(){return console.log(d.selectedMicrophone2),Qr.barStatus.microphone2&&"denied"!==d.deviceStatus.microphone&&d.microphones.length||!d.selectedMicrophone2},isVolumeDisabled:function(){return 0===Qr.volume}},mounted:function(){b.on("microphoneChange",this.listenMicophoneAudioTrack)},beforeUnmount:function(){b.off("microphoneChange",this.listenMicophoneAudioTrack)},methods:{setIconPath:function(e,t){var n,r=null===(n=this.$refs[e])||void 0===n?void 0:n.querySelector("#microphone-content-svg");if(r){var i=14-t/100*11;r.setAttribute("d","M7,".concat(i," L14,").concat(i," L14,10.5 C14,12.4329966 12.4329966,14 10.5,14 C8.56700338,14 7,12.4329966 7,10.5 L7,").concat(i," L7,").concat(i," Z"))}},listenMicophoneAudioTrack:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n,r,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!d.selectedMicrophone||e.isMicrophoneDisabled){t.next=7;break}return t.next=3,Wr({audio:{deviceId:null===(r=d.selectedMicrophone)||void 0===r?void 0:r.deviceId},video:!1});case 3:i=t.sent,n=v(i,(function(t,n){e.setIconPath("microphoneicon",t)})),t.next=8;break;case 7:n&&null!==(a=n)&&void 0!==a&&a.onaudioprocess;case 8:case"end":return t.stop()}}),t)})))()},startShare:function(){console.log("调用"),Qr.shareVisiable=!0},volumeChange:function(e){Qr.volume=e,w(e)},toggleCamera:function(){return c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x("camera"),!d.screenShareStatus){e.next=3;break}return e.abrupt("return");case 3:Qr.barStatus.camera=!Qr.barStatus.camera;case 4:case"end":return e.stop()}}),e)})))()},toggleMicrophone:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n="liveing"===d.videoStatus,Qr.barStatus.microphone=!Qr.barStatus.microphone,Qr.barStatus.microphone?l("microphone",n):y("microphone",n),e.listenMicophoneAudioTrack();case 4:case"end":return t.stop()}}),t)})))()},toggleMicrophone2:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n="liveing"===d.videoStatus,console.log("toggleMicrophone2",Qr.barStatus.microphone2),Qr.barStatus.microphone2=!Qr.barStatus.microphone2,Qr.barStatus.microphone2?l("microphone",n):y("microphone",n),e.listenMicophoneAudioTrack();case 5:case"end":return t.stop()}}),t)})))()}},render:function(){return V("div",{class:Ee,id:"action-bar"},[V("div",{style:{display:"flex"}},[V("div",{class:Me},[V("div",{class:Pe},[V(k,{onClick:this.toggleCamera,name:this.isCameraDisabled?"bar-camera-disabled":"bar-camera",style:{width:"22px",cursor:"pointer"}},null),0===d.cameras.length?null:V(W,{placement:"top",disabled:0===d.cameras.length,onCommand:_},{default:function(){return[V("div",{class:Me,style:{height:"32px"}},[V(k,{name:"bar-arrow-down",style:{width:"18px"}},null)])]},dropdown:function(){var e;return V(K,null,Kr(e=d.cameras.map((function(e){return V(Q,{disabled:e===d.selectedCamera,command:e},{default:function(){return[e.label]}})})))?e:{default:function(){return[e]}})}})]),V("span",{class:Be},[X("摄像头")])]),V("div",{class:Me},[V("div",{class:Pe},[this.isMicrophoneDisabled?V(k,{name:"bar-mike-disabled",onClick:this.toggleMicrophone,style:{width:"22px",height:"22px",cursor:"pointer"}},null):V("span",{ref:"microphoneicon",innerHTML:'<?xml version="1.0" encoding="UTF-8"?>\r\n<svg width="22px" height="22px" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\r\n <title>麦克风(启动中)</title>\r\n <g id="后台直播界面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\r\n <g id="图标页面状态" transform="translate(-67.000000, -244.000000)">\r\n <g id="编组-25备份-3" transform="translate(56.000000, 239.000000)">\r\n <g id="麦克风(启动中)" transform="translate(11.000000, 5.000000)">\r\n <rect id="矩形" x="0" y="0" width="22" height="22"></rect>\r\n <path d="M19,10.85 C19,15.102 15.786,18.626 11.632,19.177 L11.632,19.88 C11.632,20.496 11.122,21 10.5,21 C9.877,21 9.367,20.496 9.367,19.88 L9.367,19.177 C5.213,18.626 2,15.105 2,10.85 C2,10.334 2.423,9.915 2.945,9.915 C3.467,9.915 3.891,10.334 3.891,10.85 C3.891,14.455 6.856,17.386 10.502,17.386 C14.148,17.386 17.113,14.455 17.113,10.85 C17.113,10.334 17.537,9.915 18.059,9.915 C18.581,9.915 19.002,10.334 19,10.85 Z" id="路径" fill="#FFFFFF"></path>\r\n <path d="M7,7.83993935 L14,7.83993935 L14,10.5000027 C14,12.4329993 12.4329966,14.0000027 10.5,14.0000027 C8.56700338,14.0000027 7,12.4329993 7,10.5000027 L7,7.83993935 L7,7.83993935 Z" id="microphone-content-svg" fill="#2DC7AA"></path>\r\n <path d="M10.554,1 C13.2296842,1.00194737 15.4123767,3.12944737 15.5281717,5.79751675 L15.533,6.015 L15.533,10.339 C15.529,13.108 13.302,15.352 10.554,15.354 C7.87928947,15.3510789 5.6985187,13.2235533 5.58374736,10.5564064 L5.579,10.339 L5.579,6.015 C5.581,3.247 7.807,1.004 10.554,1 Z M10.554,2.999 L10.3822831,3.00534888 C8.87978198,3.09547648 7.67258605,4.31266034 7.58418786,5.83771274 L7.57899948,6.015 L7.57899948,10.3375549 C7.58020489,12.0058476 8.91580953,13.3522097 10.5525444,13.3540005 C12.135134,13.3528487 13.4347128,12.1006072 13.5276824,10.5163484 L13.5330012,10.339 L13.5330012,6.01716685 C13.5312573,4.40761068 12.2878451,3.09780557 10.7272071,3.00522987 L10.554,2.999 Z" id="路径" fill="#FFFFFF" fill-rule="nonzero"></path>\r\n </g>\r\n </g>\r\n </g>\r\n </g>\r\n</svg>\r\n',onClick:this.toggleMicrophone,style:{width:"22px",height:"22px",cursor:"pointer"}},null),0===d.microphones.length?null:V(W,{placement:"top-start",disabled:0===d.microphones.length,"popper-options":{boundariesElement:"#action-bar",gpuAcceleration:!1},"visible-change":function(e){console.log(e)},onCommand:S},{default:function(){return[V("div",{class:Me,style:{height:"32px"}},[V(k,{name:"bar-arrow-down",style:{width:"18px"}},null)])]},dropdown:function(){var e;return V(K,null,Kr(e=d.microphones.map((function(e,t){return V(Q,{disabled:e===d.selectedMicrophone||e===d.selectedMicrophone2,command:e},{default:function(){return[" "+e.label]}})})))?e:{default:function(){return[e]}})}})]),V("span",{class:Be},[X("麦克风")])])]),V("div",{style:{display:"flex"},onClick:this.startShare},[V("div",{class:Me},[V("div",{class:Pe},[V(k,{name:"bar-share",style:{width:"22px",cursor:"pointer"}},null)]),V("span",{class:Be},[X("分享")])])]),V(le,{width:"510px","destroy-on-close":!0,"append-to-body":!0,modelValue:Qr.shareVisiable,title:"分享","before-close":function(){Qr.shareVisiable=!1}},{default:function(){return[V(Xr,{onClose:function(){return Qr.shareVisiable=!1}},null)]}})])}}),Zr={container:"_container_19awp_1",title:"_title_19awp_21",tips:"_tips_19awp_25"},Gr=H({name:"VideoStatus",render:function(){return V("div",{class:Zr.container},["denied"===d.deviceStatus.camera?V("div",{class:Zr.denied},[V(ue("SvgIcon"),{name:"camera-status",class:Zr.icon},null),V("p",{class:Zr.title},[X("摄像头被禁用")]),V("p",{class:Zr.tips},[X("请授权允许访问摄像头")])]):null,"init"===d.deviceStatus.camera?V("div",{class:Zr.init},[V(ue("SvgIcon"),{name:"camera-status",class:Zr.icon},null),V("p",{class:Zr.title},[X("请完成摄像头授权")]),V("p",{class:Zr.tips},[X("请授权允许访问摄像头")])]):null,"closed"===d.deviceStatus.camera?V("div",{class:Zr.closed},[V(ue("SvgIcon"),{name:"camera-status",class:Zr.icon},null),V("p",{class:Zr.title},[X("摄像头已关闭")]),V("p",{class:Zr.tips},[X("您已关闭摄像头")])]):null,"none"===d.deviceStatus.camera?V("div",{class:Zr.none},[V(ue("SvgIcon"),{name:"camera-status",class:Zr.icon},null),V("p",{class:Zr.title},[X("暂无摄像头")]),V("p",{class:Zr.tips},[X("该设备无摄像头")])]):null])}}),$r={exports:{}};!function(e,n){var r,i,a,o,s,l,c,u,d,f,p,m,h,g,b,v,w,x,y;e.exports=(c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,p={years:u=31536e6,months:d=2592e6,days:l=864e5,hours:s=36e5,minutes:o=6e4,seconds:a=1e3,milliseconds:1,weeks:6048e5},m=function(e){return e instanceof y},h=function(e,t,n){return new y(e,n,t.$l)},g=function(e){return i.p(e)+"s"},b=function(e){return e<0},v=function(e){return b(e)?Math.ceil(e):Math.floor(e)},w=function(e){return Math.abs(e)},x=function(e,t){return e?b(e)?{negative:!0,format:""+w(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},y=function(){function e(e,n,r){var i=this;if(this.$d={},this.$l=r,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),n)return h(e*p[g(n)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==t(e))return Object.keys(e).forEach((function(t){i.$d[g(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var a=e.match(f);if(a){var o=a.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var n=e.prototype;return n.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*p[n]}),0)},n.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=v(e/u),e%=u,this.$d.months=v(e/d),e%=d,this.$d.days=v(e/l),e%=l,this.$d.hours=v(e/s),e%=s,this.$d.minutes=v(e/o),e%=o,this.$d.seconds=v(e/a),e%=a,this.$d.milliseconds=e},n.toISOString=function(){var e=x(this.$d.years,"Y"),t=x(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=x(n,"D"),i=x(this.$d.hours,"H"),a=x(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3);var s=x(o,"S"),l=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,c=i.format||a.format||s.format?"T":"",u=(l?"-":"")+"P"+e.format+t.format+r.format+c+i.format+a.format+s.format;return"P"===u||"-P"===u?"P0D":u},n.toJSON=function(){return this.toISOString()},n.format=function(e){var t=e||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:i.s(this.$d.years,2,"0"),YYYY:i.s(this.$d.years,4,"0"),M:this.$d.months,MM:i.s(this.$d.months,2,"0"),D:this.$d.days,DD:i.s(this.$d.days,2,"0"),H:this.$d.hours,HH:i.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:i.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:i.s(this.$d.seconds,2,"0"),SSS:i.s(this.$d.milliseconds,3,"0")};return t.replace(c,(function(e,t){return t||String(n[e])}))},n.as=function(e){return this.$ms/p[g(e)]},n.get=function(e){var t=this.$ms,n=g(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?v(t/p[n]):this.$d[n],0===t?0:t},n.add=function(e,t,n){var r;return r=t?e*p[g(t)]:m(e)?e.$ms:h(e,this).$ms,h(this.$ms+r*(n?-1:1),this)},n.subtract=function(e,t){return this.add(e,t,!0)},n.locale=function(e){var t=this.clone();return t.$l=e,t},n.clone=function(){return h(this.$ms,this)},n.humanize=function(e){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},n.milliseconds=function(){return this.get("milliseconds")},n.asMilliseconds=function(){return this.as("milliseconds")},n.seconds=function(){return this.get("seconds")},n.asSeconds=function(){return this.as("seconds")},n.minutes=function(){return this.get("minutes")},n.asMinutes=function(){return this.as("minutes")},n.hours=function(){return this.get("hours")},n.asHours=function(){return this.as("hours")},n.days=function(){return this.get("days")},n.asDays=function(){return this.as("days")},n.weeks=function(){return this.get("weeks")},n.asWeeks=function(){return this.as("weeks")},n.months=function(){return this.get("months")},n.asMonths=function(){return this.as("months")},n.years=function(){return this.get("years")},n.asYears=function(){return this.as("years")},e}(),function(e,t,n){r=n,i=n().$utils(),n.duration=function(e,t){var r=n.locale();return h(e,{$l:r},t)},n.isDuration=m;var a=t.prototype.add,o=t.prototype.subtract;t.prototype.add=function(e,t){return m(e)&&(e=e.asMilliseconds()),a.bind(this)(e,t)},t.prototype.subtract=function(e,t){return m(e)&&(e=e.asMilliseconds()),o.bind(this)(e,t)}})}($r);var ei=$r.exports,ti="_time_1c1wd_1",ni="_status_1c1wd_14",ri="_text_1c1wd_27";R.extend(ei);var ii,ai,oi=H({setup:function(){var e=ce({duration:""}),t=sessionStorage.getItem(C),n=Number(t),r=null;return de((function(){r=setInterval((function(){var t=R().valueOf();n&&t-n&&(e.duration=R.duration(t-n).format("HH:mm:ss"))}))})),fe((function(){r&&clearInterval(r)})),function(){return"liveing"===d.videoStatus&&n?V("div",{class:ti},[V("div",{class:ni},[V("div",{class:"line-scale-pulse-out"},[V("div",null,null),V("div",null,null),V("div",null,null)]),V("span",null,[X("直播中")])]),V("span",{class:ri},[e.duration])]):null}}}),si=ce({messageList:[],joinList:{},joinTips:!1,lookList:{}}),li=si,ci=function(e){si.messageList.push(e)},ui=function(e,t){si.joinTips=!0,si.joinList[e]=t},di=function(e){delete si.joinList[e]},fi=function(e,t){si.lookList[e]=t},pi="_main_dv466_1",mi="_video_dv466_14",hi="_headerSection_dv466_25",gi="_headerContent_dv466_32",bi="_header-top_dv466_36",vi=se(null),wi=H({name:"LiveBroadcast",data:function(){return{headerStatus:!1,initAudioUsers:[]}},computed:{isLive:function(){var e=this;return console.log(d.videoStatus),"liveing"===d.videoStatus?setTimeout((function(){e.headerStatus=!0}),3e3):this.headerStatus=!1,"liveing"===d.videoStatus}},mounted:function(){var e=this;return c(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.initializeRoom(),A(),p.on(T["RC:Chatroom:Like"],e.onLikeMessage),window.onbeforeunload=e.beforeunload,window.addEventListener("offline",c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(navigator.onLine){e.next=9;break}return e.prev=1,e.next=4,J.confirm("请检查网络设置,请检查网络","网络断开",{confirmButtonText:"刷新"});case 4:location.reload(),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(1);case 9:case"end":return e.stop()}}),e,null,[[1,7]])}))));case 5:case"end":return t.stop()}}),t)})))()},beforeUnmount:function(){p.off(T["RC:Chatroom:Like"],this.onLikeMessage),window.onbeforeunload=null},methods:{visibilitychange:function(e){var t;(console.log(e),"focus"===e.type&&(document.exitPictureInPicture(),document.body.click()),"blur"===e.type)&&(null===(t=d.videoRef)||void 0===t||t.requestPictureInPicture())},beforeunload:function(){if("liveing"===d.videoStatus)return"当前正在直播中是否确认关闭页面?"},onLikeMessage:function(e){d.likeCount+=e.counts||0},getDeviceByDeviceType:function(e){var t=localStorage.getItem(L),n=localStorage.getItem(I),r=localStorage.getItem(E);return"camera"===e?t&&d.cameras.find((function(e){return e.deviceId===t}))||d.cameras[0]:n?d.microphones.find((function(e){return e.deviceId===n}))||d.microphones[0]:r&&d.microphones.find((function(e){return e.deviceId===r}))||d.microphones[0]},FetchUserDetails:function(e){return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.post("/api-web/imLiveBroadcastRoom/queryBaseUserInfo",{requestType:"json",data:e});case 3:return n=t.sent,t.abrupt("return",n.data);case 7:t.prev=7,t.t0=t.catch(0);case 9:return t.abrupt("return",[]);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},initializeRoom:function(){var t=this;return c(regeneratorRuntime.mark((function n(){var r,i,a,s,l,f,h,b,v,x,y,k,C,R,A,L,I;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(u.user){n.next=2;break}throw Error("请先登录");case 2:return r=[],n.prev=3,d.likeCount=(null===(i=u.user)||void 0===i?void 0:i.likeNum)||0,d.lookCount=(null===(a=u.user)||void 0===a?void 0:a.lookNum)||0,v="liveing"===sessionStorage.getItem(M),n.next=9,B(null===(s=u.user)||void 0===s?void 0:s.imToken);case 9:return d.videoRef=vi.value,n.next=12,P();case 12:return n.next=14,N();case 14:return _(t.getDeviceByDeviceType("camera")),S(t.getDeviceByDeviceType("microphone")),n.next=18,z("camera");case 18:return ai=n.sent,d.videoRef&&ai.play(d.videoRef),n.next=22,z("microphone");case 22:return ii=n.sent,d.videoStatus="stream",x=t,n.next=27,U(null===(l=u.user)||void 0===l?void 0:l.roomUid,Y.VIDEO,{onMessageReceive:function(e,t){console.log(e,t)},onKickOff:function(e){e||J.alert("您的推流停止,请点击确定刷新页面重新开启直播","提示",{callback:function(){d.videoStatus="stream",location.reload()}}),console.log("onKickOff",e)},onTrackPublish:function(e){return c(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null==y||null===(n=y.room)||void 0===n?void 0:n.subscribe(e);case 2:r=t.sent,console.log(r,"subscribeRes"),null!=r&&r.code&&r.code!==j.SUCCESS&&console.log("资源订阅失败 ->",r.code);case 5:case"end":return t.stop()}}),t)})))()},onTrackUnpublish:function(e){p.emit(T["RM:RTC:TrackUnpublish"],e)},onSwitchRole:function(e,t){p.emit(T["RM:RTC:SwitchRole"],{userId:e,role:t})},onTrackReady:function(e){return c(regeneratorRuntime.mark((function t(){var n,i,a,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.isAudioTrack()){t.next=19;break}if(e.play(),n=e.getUserId(),i=li.joinList[n],console.log(i,"joinUser"),i){t.next=17;break}if(console.log(li.lookList,"runtimeModel.lookList"),!(a=li.lookList[n])){t.next=12;break}t.t0=a,t.next=15;break;case 12:return t.next=14,x.FetchUserDetails([n]);case 14:t.t0=t.sent;case 15:s=t.t0,console.log(s,"list");case 17:(l=r.find((function(e){return e.userId==Number(n)})))&&(li.joinList[n]=o(o({},l),{},{id:n,name:l.userName,userRoomType:4}),r=r.filter((function(e){return e.userId!=Number(n)})));case 19:case"end":return t.stop()}}),t)})))()},onUserJoin:function(e){console.log("onUserJoin",e)},onUserLeave:function(e){p.emit(T["RM:RTC:UserLeave"],e),console.log("onUserLeave",e)}});case 27:if(y=n.sent,!(k=null==y||null===(f=y.room)||void 0===f?void 0:f.getRemoteUserIds())||!k.length){n.next=34;break}return n.next=32,t.FetchUserDetails(k);case 32:R=n.sent,(C=r).push.apply(C,e(R));case 34:if(!(A=null==y||null===(h=y.room)||void 0===h?void 0:h.getRemoteTracks())||!A.length){n.next=38;break}return n.next=38,null==y||null===(L=y.room)||void 0===L?void 0:L.subscribe(A);case 38:if(y.room&&y.code===j.SUCCESS&&(d.joinedRoom=y.room,y.room.registerReportListener({onStateReport:function(e){p.emit("onStateReport",e)}})),!v){n.next=45;break}return n.next=42,m(!1);case 42:d.videoStatus="liveing",n.next=49;break;case 45:return n.next=47,F([ai],"camera",!1);case 47:return n.next=49,F([ii],"microphone",!1);case 49:return(I=localStorage.getItem(q))&&(Qr.volume=parseInt(I),w(parseInt(I))),n.next=53,g({count:(null===(b=u.user)||void 0===b?void 0:b.lookNum)||0},"MemberCount");case 53:n.next=59;break;case 55:n.prev=55,n.t0=n.catch(3),d.videoStatus="error",console.log(n.t0);case 59:case"end":return n.stop()}}),n,null,[[3,55]])})))()},closeLive:function(){d.videoStatus="stream"}},render:function(){return V("div",{class:pi},[(this.isLive,null),V("div",{class:[hi]},[V(Ie,{class:[gi,this.headerStatus?bi:null]},null)]),V("div",{class:mi},[V("video",{ref:vi},null),d.screenShareStatus?null:V(Gr,null,null),"liveing"===d.videoStatus?V(oi,null,null):null]),V(Jr,null,null)])}}),xi="_container_1cod9_1",yi="_dataCount_1cod9_6",ki="_num_1cod9_17",_i="_text_1cod9_22",Si="_dataIcon_1cod9_26",Ci="_tabContainer_1cod9_31",Ri="_tabIcon_1cod9_31",Ai="_point_1cod9_36",Ti="_tabContent_1cod9_67",Li="_tabList_1cod9_73",Ii="_message_4zab7_1",Ei="_buttonGroup_4zab7_1",Mi=H({name:"message",data:function(){return{options:"ALL"}},mounted:function(){var e,t,n=null!==(e=u.user)&&void 0!==e&&e.roomConfig?JSON.parse(null===(t=u.user)||void 0===t?void 0:t.roomConfig):{};d.allowChatCtrl=0===n.whether_chat,d.allowSeatsCtrl=0===n.whether_mic},methods:{SeatsCtrl:function(){return c(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=u.user,n=null!=t&&t.roomConfig?JSON.parse(null==t?void 0:t.roomConfig):{},e.next=5,s.post("/api-web/imLiveBroadcastRoom/update",{requestType:"json",data:{id:t.id,liveRemark:t.liveRemark,liveStartTime:t.liveStartTime,preTemplate:t.preTemplate,popularizeType:t.popularizeType,roomConfig:{whether_chat:n.whether_chat,whether_like:n.whether_like,whether_mic:d.allowSeatsCtrl?1:0,whether_video:n.whether_video},roomTitle:t.roomTitle,speakerId:t.speakerId,tenantId:t.tenantId}});case 5:return u.user.roomConfig=JSON.stringify({whether_chat:n.whether_chat,whether_like:n.whether_like,whether_mic:d.allowSeatsCtrl?1:0,whether_video:n.whether_video}),e.next=8,g(o({seatBan:d.allowSeatsCtrl},D()),"SeatsCtrl");case 8:d.allowSeatsCtrl=!d.allowSeatsCtrl,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})))()},ChatBan:function(){return c(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=u.user,n=null!=t&&t.roomConfig?JSON.parse(null==t?void 0:t.roomConfig):{},e.next=5,s.post("/api-web/imLiveBroadcastRoom/update",{requestType:"json",data:{id:t.id,liveRemark:t.liveRemark,liveStartTime:t.liveStartTime,preTemplate:t.preTemplate,popularizeType:t.popularizeType,roomConfig:{whether_chat:d.allowChatCtrl?1:0,whether_like:n.whether_like,whether_video:n.whether_video,whether_mic:n.whether_mic},roomTitle:t.roomTitle,speakerId:t.speakerId,tenantId:t.tenantId}});case 5:return u.user.roomConfig=JSON.stringify({whether_chat:d.allowChatCtrl?1:0,whether_like:n.whether_like,whether_video:n.whether_video,whether_mic:n.whether_mic}),e.next=8,g(o({chatBan:d.allowChatCtrl},D()),"ChatBan");case 8:d.allowChatCtrl=!d.allowChatCtrl,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})))()}},render:function(){return V("div",{class:Ii},[V("div",{class:Ei},[V(Z,{type:d.allowChatCtrl?"info":"primary",onClick:this.ChatBan},{default:function(){return[d.allowChatCtrl?"关闭聊天":"开启聊天"]}}),V(Z,{type:d.allowSeatsCtrl?"info":"primary",onClick:this.SeatsCtrl},{default:function(){return[d.allowSeatsCtrl?"关闭连麦":"开启连麦"]}})])])}}),Bi="_sendMessage_p2cnx_1",Pi="_form_p2cnx_10",Ni=H({data:function(){return{message:""}},methods:{onKeyDown:function(e){13===e.keyCode&&""!==this.message.trim()&&this.sendMessage()},sendMessage:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g(e.message);case 3:n=D(),ci({id:String(n.id),name:n.name,content:e.message,isSelf:!0,sendTime:R(new Date).format("HH:mm:ss")}),e.message="",e.scrollToBottom(),t.next=11;break;case 9:t.prev=9,t.t0=t.catch(0);case 11:case"end":return t.stop()}}),t,null,[[0,9]])})))()},scrollToBottom:function(){this.$nextTick((function(){var e,t;null===(e=document.querySelector("#tabList"))||void 0===e||e.scrollTo(0,(null===(t=document.querySelector("#messageList"))||void 0===t?void 0:t.scrollHeight)||0)}))}},render:function(){var e=this;return V("div",{class:Bi},[V("div",{class:Pi},[V(te,{modelValue:this.message,onKeydown:this.onKeyDown,onInput:function(t){return e.message=t},placeholder:"请输入消息"},null),V(Z,{disabled:!this.message,onClick:this.sendMessage,round:!0,type:"primary"},{default:function(){return[X("发送")]}})])])}}),zi="_itemContent_1541q_1",Ui="_itemInfo_1541q_11",Yi="_itemName_1541q_14",ji="_userName_1541q_20",Fi="_name-style_1541q_28",qi="_rightTime_1541q_32",Di="_itemText_1541q_41",Hi="_active_1541q_46",Oi="_joinText_1541q_49",Vi="_join_1541q_49",Xi="_btn_1541q_58",Wi="_downBtn_1541q_70",Ki="_loadingStyle_1541q_75",Qi="_slide-top-enter-active_1541q_82",Ji={"empty-container":"_empty-container_1svqd_1",icon:"_icon_1svqd_9"},Zi=H({props:{text:{type:String,default:"暂无数据"},icon:{type:String,default:"noData-no-message"}},render:function(){return V("div",{class:Ji["empty-container"]},[V(ue("SvgIcon"),{name:this.icon,class:[Ji.icon]},null),V("p",{class:Ji["empty-text"]},[this.text])])}}),Gi=H({data:function(){return{joinList:{},loadingJoin:!1,upStatus:!1,downStatus:!1,refreshStatus:!1}},computed:{count:function(){var e=0;for(var t in li.joinList){if(Object.prototype.hasOwnProperty.call(li.joinList,t))if(4===li.joinList[t].userRoomType&&(e+=1),e>3)break}return e}},mounted:function(){p.on(T["RC:Chatroom:SeatApply"],this.onSeatApply),p.on(T["RC:Chatroom:SeatResponse"],this.onSeatApply),p.on(T["RM:RTC:UserLeave"],this.onSeatApply),p.on(T["RC:Chatroom:downSeat"],this.onDownSeat),p.on(T["RM:RTC:SwitchRole"],this.onSwitchRole),p.on(T["RC:Chatroom:Leave"],this.onLeave),p.on(T["RC:LookerLoginOut"],this.onLeave)},unmounted:function(){p.off(T["RC:Chatroom:SeatApply"],this.onSeatApply),p.off(T["RC:Chatroom:SeatResponse"],this.onSeatApply),p.off(T["RM:RTC:UserLeave"],this.onSeatApply),p.off(T["RM:RTC:SwitchRole"],this.onSwitchRole),p.off(T["RC:Chatroom:Leave"],this.onLeave),p.off(T["RC:LookerLoginOut"],this.onLeave)},methods:{onLeave:function(e){return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.userId||e.fromUserId,li.joinList[n]&&di(n),li.lookList[n]&&(r=n,delete si.lookList[r]),t.next=5,g({count:d.lookCount},"MemberCount");case 5:case"end":return t.stop()}var r}),t)})))()},onSeatApply:function(e){var t=this;if(Array.isArray(e)){var n,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;console.log("onSeatApply",a),di(a)}}catch(f){i.e(f)}finally{i.f()}}else{var o="RC:Chatroom:SeatResponse"===e.$EventMessage.messageType,s=o?4:3,l=R(e.$EventMessage.sentTime||new Date).format("HH:mm:ss"),c={name:e.audienceName,id:String(e.audienceId),system:1,isSelf:!1,content:"",sendTime:l};if(3===e.type){console.log(e,"申请连麦");var u={name:e.audienceName,id:e.audienceId,userRoomType:s,type:e.type};ui(e.audienceId,u),fi(e.audienceId,u),c.content=o?"同意了连麦申请":"发起了连麦申请",ci(c),p.emit("MESSAGE:Change")}if(4===e.type){if(console.log(e,"取消连麦"),li.joinList[e.audienceId]&&di(e.audienceId),li.lookList[e.audienceId]){var d=li.lookList[e.audienceId];d.userRoomType=1,fi(e.audienceId,d)}c.content=o?"拒绝了连麦申请":"取消了连麦申请",ci(c),p.emit("MESSAGE:Change"),setTimeout((function(){t.onRefresh()}),500)}}},agree:function(e){var t,n,r=this;if(this.count>3||this.upStatus)console.log(!0,2323);else{this.upStatus=!0;var i=o(o({},e),{},{audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(t=u.user)||void 0===t?void 0:t.id),teacherName:null===(n=u.user)||void 0===n?void 0:n.speakerName,userRoomType:4,type:1});ui(e.id,i),fi(e.id,i),g(i,"SeatResponse"),setTimeout((function(){r.upStatus=!1}),300)}},refuse:function(e){var t,n,r=this;if(!this.downStatus){this.downStatus=!0;var i=o(o({},e),{},{audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(t=u.user)||void 0===t?void 0:t.id),teacherName:null===(n=u.user)||void 0===n?void 0:n.speakerName,userRoomType:4,type:5});ui(e.id,i),g(i,"SeatApply"),setTimeout((function(){r.downStatus=!1}),5e4)}},onDownSeat:function(e){if(this.downStatus=!1,console.log(e,"onDownSeat"),li.joinList[e.audienceId]){var t,n=li.joinList[e.audienceId],r=R(new Date).format("HH:mm:ss");console.log(e.$EventMessage.senderUserId,null===(t=u.user)||void 0===t?void 0:t.speakerId,"onDownSeat");var i=5==n.type?"被抱下麦":"取消了连麦申请",a={name:e.audienceName,id:e.audienceId,system:1,isSelf:!1,content:i,sendTime:r};ci(a),p.emit("MESSAGE:Change"),di(e.audienceId)}},onSwitchRole:function(e){if(console.log(e,"onSwitchRole"),li.lookList[e.userId]&&2===e.role){var t=li.lookList[e.userId];t.userRoomType=1,fi(e.userId,t)}},onRefresh:function(){var e=this;return c(regeneratorRuntime.mark((function t(){var n,r,i,a,o,s,l,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(console.log(null===(n=d.joinedRoom)||void 0===n?void 0:n.getRemoteUserIds(),"remoteUserIds"),e.refreshStatus=!0,i=null===(r=d.joinedRoom)||void 0===r?void 0:r.getRemoteUserIds(),a=null==i?void 0:i.filter((function(e){return!li.joinList[e]})),o=null==a?void 0:a.filter((function(e){return!li.lookList[e]})),s=null==a?void 0:a.filter((function(e){return li.lookList[e]})),l=null==s?void 0:s.map((function(e){var t=li.lookList[e];return t.userRoomType=4,t})),console.log(l),!(o&&(null==o?void 0:o.length)>0)){t.next=14;break}return t.next=11,e.FetchUserDetails(o);case 11:c=t.sent,console.log(c,"fetchList"),c.forEach((function(e){null==l||l.push({name:e.userName,id:e.userId,sendTime:R(new Date).format("HH:mm:ss"),userRoomType:4,type:1})}));case 14:l&&(null==l?void 0:l.length)>0&&(null==l||l.forEach((function(e){ui(e.id,e)}))),setTimeout((function(){e.refreshStatus=!1}),300);case 16:case"end":return t.stop()}}),t)})))()},FetchUserDetails:function(e){return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.post("/api-web/imLiveBroadcastRoom/queryBaseUserInfo",{requestType:"json",data:e});case 3:return n=t.sent,t.abrupt("return",n.data);case 7:t.prev=7,t.t0=t.catch(0);case 9:return t.abrupt("return",[]);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()}},render:function(){var e=this,t=Object.values(li.joinList);return V("div",{style:{minHeight:"100%",position:"relative"}},[t.length>0?t.map((function(t){return V("div",{class:zi},[V("div",{class:Ui},[V("div",{class:Yi},[V("p",{class:ji},[V("span",{class:Fi},[t.name]),4!==t.userRoomType?V("span",{style:{paddingLeft:"10px"}},[X("申请连麦")]):V("span",{style:{paddingLeft:"10px",color:"var(--live-text-color)"}},[X("正在连麦")])]),4!==t.userRoomType?V("div",{class:Oi},[V("div",{class:Vi},null),V(Z,{size:"small",type:"primary",disabled:e.count>3,class:Xi,onClick:function(){return e.agree(t)}},{default:function(){return[X("上麦")]}})]):V("div",{class:Oi},[V("div",{class:Vi},null),V(Z,{loading:e.downStatus,size:"small",plain:!0,class:[Xi,Wi],onClick:function(){return e.refuse(t)}},{default:function(){return[X("下麦")]}})])])])])})):this.loadingJoin?V("div",{class:Ki},[V("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[V("div",{class:"el-loading-spinner"},[V("svg",{class:"circular",viewBox:"25 25 50 50"},[V("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):V(Zi,{style:{paddingTop:"120px"},text:"暂无学员发起连麦!",icon:"noData-no-join"},null)])}}),$i=H({data:function(){return{loadingLook:!1,upStatus:!1,downStatus:!1}},computed:{count:function(){var e=0;for(var t in li.lookList)if(Object.prototype.hasOwnProperty.call(li.lookList,t)){var n=li.lookList[t];if(2!==n.userRoomType&&4!==n.userRoomType||(e+=1),e>3)break}return e}},mounted:function(){var e=this;return c(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e._init();case 2:e.loadingLook=!0,p.on(T["RC:Chatroom:Welcome"],e.onWelcome),p.on(T["RC:Chatroom:MemberCountUp"],e.onMemberCount),setTimeout((function(){e.loadingLook=!1}));case 6:case"end":return t.stop()}}),t)})))()},beforeUnmount:function(){p.off(T["RC:Chatroom:Welcome"],this.onWelcome),p.off(T["RC:Chatroom:MemberCountUp"],this.onMemberCount)},methods:{_init:function(){return c(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=sessionStorage.getItem("roomUid"),e.next=4,s.get("/api-web/imLiveBroadcastRoom/queryRoomUserInfo",{params:{roomUid:t}});case 4:n=e.sent,n.data.forEach((function(e){li.lookList[e.userId]||(li.lookList[e.userId]={id:e.userId,name:e.userName,type:3,userRoomType:1,time:R().format("YYYY-MM-DD HH:mm:ss")})})),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})))()},onMemberCount:function(e){d.lookCount=e.content.count||0,g({count:d.lookCount},"MemberCount")},onWelcome:function(e){var t=this;return c(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e&&e.user&&(r=R(e.$EventMessage.sentTime||new Date).format("HH:mm:ss"),i={name:e.user.name,id:e.user.id,sendTime:r,userRoomType:1,type:3},!!li.lookList[i.id]||(fi(i.id,i),console.log("添加观看人员",i)),t.loadingLook=!1);case 1:case"end":return n.stop()}}),n)})))()},onUpLook:function(e){var t=this;return c(regeneratorRuntime.mark((function n(){var r,i,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,console.log(t.count,li.lookList,"this.count, runtimeModel.lookList"),!(t.count>3)){n.next=4;break}return n.abrupt("return");case 4:return a={audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(r=u.user)||void 0===r?void 0:r.id),teacherName:null===(i=u.user)||void 0===i?void 0:i.speakerName,userRoomType:2,type:1},e.userRoomType=2,n.next=8,g(a,"SeatApply");case 8:n.next=12;break;case 10:n.prev=10,n.t0=n.catch(0);case 12:case"end":return n.stop()}}),n,null,[[0,10]])})))()},onDownLook:function(e){return c(regeneratorRuntime.mark((function t(){var n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{i=o(o({},e),{},{audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(n=u.user)||void 0===n?void 0:n.id),teacherName:null===(r=u.user)||void 0===r?void 0:r.speakerName,type:5}),ui(e.id,i),g(i,"SeatApply")}catch(a){}case 1:case"end":return t.stop()}}),t)})))()}},render:function(){var e=this,t=Object.values(li.lookList);return V("div",null,[t.length>0?t.map((function(t){return V("div",{class:zi},[V("div",{class:Ui},[V("div",{class:Yi},[V("p",{class:ji},[V("span",{class:Fi},[t.name])]),4!==t.userRoomType?V(Z,{size:"small",type:"primary",disabled:e.count>3||2===t.userRoomType||3===t.userRoomType||"liveing"!==d.videoStatus,class:Xi,onClick:function(){return e.onUpLook(t)}},{default:function(){return[X("上麦")]}}):V(Z,{size:"small",plain:!0,class:[Xi,Wi],onClick:function(){return e.onDownLook(t)}},{default:function(){return[X("下麦")]}})])])])})):this.loadingLook?V("div",{class:Ki},[V("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[V("div",{class:"el-loading-spinner"},[V("svg",{class:"circular",viewBox:"25 25 50 50"},[V("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):V(Zi,{style:{paddingTop:"120px"},text:"暂无学员观看!",icon:"noData-no-user"},null)])}}),ea=H({data:function(){return{messageList:[],loadingMessage:!1}},mounted:function(){var e=this;this.loadingMessage=!0,p.on(T["RC:TxtMsg"],this.onMessage),p.on(T["RC:ForcedOffline"],this.onForcedOffline),p.on("MESSAGE:Change",this.scrollToBottom),setTimeout((function(){e.loadingMessage=!1}),2e3),this.scrollToBottom()},beforeUnmount:function(){p.off(T["RC:TxtMsg"],this.onMessage)},methods:{onForcedOffline:function(){var e=this;return c(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a();case 3:return t.prev=3,t.next=6,s.post("/api-auth/exit",{data:{}});case 6:t.next=11;break;case 8:t.prev=8,t.t0=t.catch(3),console.log("请求退出接口失败");case 11:l("camera"),l("microphone"),d.syncLikeTimer&&clearTimeout(d.syncLikeTimer),u.user=null,f(),e.$router.push({path:"/login",query:o({},e.$route.query)}),t.next=22;break;case 19:t.prev=19,t.t1=t.catch(0),console.log(t.t1,"强制退出登录失败");case 22:case"end":return t.stop()}}),t,null,[[0,19],[3,8]])})))()},onLike:function(e){if(e&&e.user){var t,n=R(e.$EventMessage.sentTime||new Date).format("HH:mm:ss");console.log(e,"like");var r={name:null===(t=e.user)||void 0===t?void 0:t.name,id:e.user.id,isSelf:!1,content:"给您点了"+e.counts+"个赞",sendTime:n};ci(r),this.loadingMessage=!1}this.scrollToBottom()},onMessage:function(e){if(e&&e.user){var t,n=R(e.$EventMessage.sentTime||new Date).format("HH:mm:ss"),r={name:null===(t=e.user)||void 0===t?void 0:t.name,id:e.user.id,isSelf:!1,content:e.content,sendTime:n};e.user.id===u.user.speakerId&&(r.isSelf=!0),ci(r),this.loadingMessage=!1}this.scrollToBottom()},scrollToBottom:function(){this.$nextTick((function(){var e,t;null===(e=document.querySelector("#tabList"))||void 0===e||e.scrollTo(0,(null===(t=document.querySelector("#messageList"))||void 0===t?void 0:t.scrollHeight)||0)}))},confirmEvent:function(e){return c(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log(e,"item"),t.prev=1,n=sessionStorage.getItem("roomUid"),t.next=5,s.post("/api-web/imLiveRoomBlack/add",{requestType:"json",data:{userIdList:e.id,roomUid:n}});case 5:O.success("拉黑成功"),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(1);case 10:case"end":return t.stop()}}),t,null,[[1,8]])})))()}},render:function(){var e=this;return V("div",{style:{minHeight:"100%",position:"relative"},id:"messageList"},[li.messageList.length>0?li.messageList.map((function(t){return V("div",{class:[zi,Qi]},[V("div",{class:Ui},[V("div",{class:Yi},[V("div",{class:ji},[t.isSelf?V(pe,null,[V(me,{effect:"dark",color:"#01A79E"},{default:function(){return[X("主讲人")]}}),V("span",{class:Fi},[t.name,t.system?null:":"])]):V(he,{confirmButtonText:"确定",cancelButtonText:"取消",title:"加入黑名单后,学员无法发言和连麦?",onConfirm:function(){e.confirmEvent(t)}},{reference:function(){return V("span",{class:Fi},[t.name,t.system?null:":"])}}),V("span",{class:[Di,t.isSelf?Hi:null]},[t.content])]),V("p",{class:qi},[t.sendTime])])])])})):this.loadingMessage?V("div",{class:Ki},[V("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[V("div",{class:"el-loading-spinner"},[V("svg",{class:"circular",viewBox:"25 25 50 50"},[V("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):V(Zi,{style:{paddingTop:"120px"},text:"暂无学员互动!",icon:"noData-no-message"},null)])}}),ta=H({name:"LiveMessage",data:function(){return{modelIndex:"message"}},computed:{joinStatus:function(){var e=li.joinTips,t=Object.values(li.joinList);return(li.joinTips&&"join"===this.modelIndex||t.length<=0)&&(e=!1,li.joinTips=!1),e}},methods:{tabChange:function(e){this.modelIndex=e.props.name,"message"===this.modelIndex&&this.$refs.messageModel.scrollToBottom()}},render:function(){var e=this;return V("div",{class:xi},[V("div",{class:yi},[V("div",null,[V("p",{class:ki},[d.lookCount]),V("p",{class:_i},[V(ue("SvgIcon"),{name:"message-look",color:"#fff",class:Si},null),X("当前观看")])]),V("div",null,[V("p",{class:ki},[d.likeCount]),V("p",{class:_i},[V(ue("SvgIcon"),{name:"message-giveUp",color:"#fff",class:Si},null),X("累计点赞")])])]),V(ge,{modelValue:this.modelIndex,"onTab-click":this.tabChange,class:Ci},{default:function(){return[V(be,{name:"message"},{label:function(){return V("span",{style:{display:"flex",alignItems:"center"}},[V(ue("SvgIcon"),{name:"message-message",color:"message"===e.modelIndex?"#00FFF0":"#fff",class:Ri},null),X("聊天")])}}),V(be,{name:"join"},{label:function(){return V("span",{style:{display:"flex",alignItems:"center",position:"relative"}},[V(ue("SvgIcon"),{name:"message-evenEtc",color:"join"===e.modelIndex?"#00FFF0":"#fff",class:Ri},null),X("连麦 "),e.joinStatus?V("i",{class:Ai},null):null])}}),V(be,{name:"look"},{label:function(){return V("span",{style:{display:"flex",alignItems:"center"}},[V(ue("SvgIcon"),{name:"message-look",color:"look"===e.modelIndex?"#00FFF0":"#fff",class:Ri},null),X("观看")])}})]}}),V("div",{class:Ti},[V(Mi,null,null),V("div",{class:Li,id:"tabList"},[ve(V(ea,{ref:"messageModel"},null),[[we,"message"===this.modelIndex]]),ve(V(Gi,null,null),[[we,"join"===this.modelIndex]]),ve(V($i,null,null),[[we,"look"===this.modelIndex]])]),V(Ni,null,null)])])}}),na="_container_13n1h_1",ra="_home_13n1h_4";i("default",H({render:function(){return V("div",{class:ra},[V(Ae,null,null),V("div",{class:na},[V(wi,null,null),V(ta,null,null)])])}}))}}}))}();
|