(function(){System.register(["./instrument-legacy-6cdb9f6d.js"],(function(exports,module){"use strict";var __vite_style__=document.createElement("style"),createNamespace,defineComponent,createVNode,addUnit,numericProp,withInstall,getSizeStyle,makeStringProp,makeNumericProp,truthProp,mergeProps,Fragment,NoticeBar,state,IPlatform,browser$1,toRefs,reactive,ref,onUnmounted,computed,storeData,createTextVNode,Popup,EvaluatingReportDriver,api_back,nextTick,getQuery,onBeforeMount,api_setStatusBarVisibility,onMounted,api_musicPracticeRecordDetail,getMusicDetail,watch,Transition,MusicScore,isSpecialShapedScreen,formateTimes,api_cloudLoading;return __vite_style__.textContent='@charset "UTF-8";::-webkit-scrollbar{display:none}._detail_16zle_5{overflow:auto;margin-right:-.45333rem;height:100vh;background:#FFF8EC}._skeleton_16zle_12{position:fixed;left:0;top:0;width:100vw;height:100vh;padding:.53333rem .8rem;background-color:#fff;z-index:10;--van-skeleton-paragraph-height: .8rem}._detail_16zle_5{width:100vw;min-height:100vh;--header-height: 1.65333rem}._detail_16zle_5 ._pageBg_16zle_28{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}._detail_16zle_5 #cursorImg-0{display:none!important}._detail_16zle_5 #selectionBox{pointer-events:none}._detail_16zle_5 ._headHeight_16zle_43{position:fixed;left:0;top:0;width:100%;height:var(--header-height);transition:margin .3s;z-index:10}._detail_16zle_5 ._headHeight_16zle_43._headHide_16zle_52{margin-top:calc(0Px - var(--header-height))}._detail_16zle_5 ._container_16zle_55{position:relative;margin:0 .26667rem;border-radius:.26667rem;padding-top:calc(var(--header-height) + 1.44rem)}._detail_16zle_5 ._container_16zle_55 #musicAndSelection{overflow:initial;height:initial;max-height:initial}._detail_16zle_5 ._container_16zle_55 #musicAndSelection>#osmdCanvasPage1{top:.5rem;position:relative!important}._musicName_16zle_70{font-size:.69333rem;font-weight:400;color:#000;line-height:.98667rem;text-align:center}._right_16zle_77 path{fill:#01b996!important;stroke:#01b996!important}._inaccuracy_16zle_81 path{fill:#ff9200!important;stroke:#ff9200!important}._wrong_16zle_85 path{fill:#8f4efb!important;stroke:#8f4efb!important}._notPlay_16zle_89 path{fill:#adadad;stroke:#adadad}._intonation_wrong_16zle_93 path{fill:#ff9200!important;stroke:#ff9200!important}._intonation_high_16zle_97 path{fill:#ef231d!important;stroke:#ef231d!important}._intonation_low_16zle_101 path{fill:#0e79ff!important;stroke:#0e79ff!important}._cadence_wrong_16zle_105 path{fill:#ff9200!important;stroke:#ff9200!important}._cadence_fast_16zle_109 path{fill:#f63582!important;stroke:#f63582!important}._cadence_slow_16zle_113 path{fill:#fa0!important;stroke:#fa0!important}._integrity_wrong_16zle_117 path{fill:#ff8219!important;stroke:#ff8219!important}._arrowSvg_16zle_121{opacity:0;width:1;height:1}._bg2Left_16zle_126{width:1.38667rem;position:absolute;left:0;top:0}._bg2Right_16zle_132{width:1.38667rem;position:absolute;right:0;top:0}._headerTop_1dnwk_1{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%;flex-shrink:0;padding:.26667rem .58667rem;background-color:#fff;position:relative}._android_1dnwk_12{padding-top:.53333rem}._back_1dnwk_15{display:flex;justify-content:center;align-items:center;padding-right:.26667rem;height:100%}._back_1dnwk_15 img{display:block;width:.74667rem;height:.74667rem}._disabled_1dnwk_27{pointer-events:none}._left_1dnwk_30{display:flex;align-items:center}._left_1dnwk_30 ._leftContent_1dnwk_34 ._lcName_1dnwk_34{font-size:.48rem;font-weight:600;color:#fff;height:.53333rem;line-height:.53333rem;margin-bottom:.05333rem;padding:0!important;width:5.33333rem}._left_1dnwk_30 ._leftContent_1dnwk_34 ._lcName_1dnwk_34 .van-notice-bar{height:.53333rem;line-height:.53333rem;padding:0!important}._left_1dnwk_30 ._leftContent_1dnwk_34 ._lcName_1dnwk_34 .van-notice-bar__content{color:#333}._left_1dnwk_30 ._leftContent_1dnwk_34 ._lcScore_1dnwk_52{font-size:.32rem;color:#777;line-height:.48rem;font-weight:400}._center_1dnwk_58{display:flex;align-items:center;margin:0 auto}._center_1dnwk_58 ._cItem_1dnwk_63{text-align:center;padding:0 .32rem;white-space:nowrap}._center_1dnwk_58 ._cItem_1dnwk_63>div:first-child{font-size:.32rem;color:#333;line-height:.37333rem;margin-bottom:.16rem;font-weight:700}._center_1dnwk_58 ._cItem_1dnwk_63>div:last-child{font-size:.32rem;color:#777;line-height:.32rem;padding:.10667rem .21333rem;border-radius:.37333rem}._center_1dnwk_58 ._cItem_1dnwk_63:not(:last-child){border-right:.02667rem solid #EBDABF}._center_1dnwk_58 ._active_1dnwk_85>div:first-child{color:var(--van-primary-color)!important}._center_1dnwk_58 ._active_1dnwk_85>div:last-child{background-color:#ecf9ff;color:var(--van-primary-color)}._middle_1dnwk_92{display:flex;align-items:center;justify-content:center;width:60%;position:absolute;left:50%;top:50%;transform:translate(-35%,-50%)}._middle_1dnwk_92 ._cItem_1dnwk_63{width:1.70667rem;height:1.33333rem;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:.10667rem 0;margin:0 .16rem;cursor:pointer}._middle_1dnwk_92 ._cItem_1dnwk_63 ._mScore_1dnwk_113{font-size:.42667rem;line-height:.58667rem;color:#aaa;font-weight:600}._middle_1dnwk_92 ._cItem_1dnwk_63 ._mLabel_1dnwk_119{font-size:.32rem;line-height:.48rem;color:#aaa}._middle_1dnwk_92 ._active_1dnwk_85{background:#CDF3F1;border-radius:.21333rem}._middle_1dnwk_92 ._active_1dnwk_85 ._mScore_1dnwk_113,._middle_1dnwk_92 ._active_1dnwk_85 ._mLabel_1dnwk_119{color:#000}._middle_1dnwk_92 ._active_1dnwk_85 ._mLabel_1dnwk_119{font-weight:600}._padMiddle_1dnwk_135 ._cItem_1dnwk_63{width:1.33333rem}._right_1dnwk_138{display:flex;align-items:center}._right_1dnwk_138 ._btn_1dnwk_142{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:.26667rem;line-height:.37333rem;font-weight:400;padding:0 .13333rem;color:#999;cursor:pointer}._right_1dnwk_138 ._btn_1dnwk_142+._btn_1dnwk_142{margin-left:.26667rem}._right_1dnwk_138 ._btn_1dnwk_142 ._iconBtn_1dnwk_158{display:block;width:.88rem;height:.88rem}._right_1dnwk_138 ._btn_1dnwk_142 span{margin-top:.05333rem;white-space:nowrap;transform:scale(.9)}._right_1dnwk_138 ._btn_1dnwk_142 ._btnWrap_1dnwk_168{position:relative;width:.66667rem;height:.66667rem}._popup_1dnwk_173{--plyr-color-main: var(--van-primary-color)}._popup_1dnwk_173 .van-popup__close-icon{width:.85333rem;height:.85333rem;top:-.08rem;right:-1.28rem;background:url('+new URL("../png/closeImg-5487d70c.png",module.meta.url).href+") no-repeat;background-size:100% 100%}._popup_1dnwk_173 .van-popup__close-icon:before{display:none}._playerBoxContent_1dnwk_187{background:#FFF8F8;border-radius:.53333rem;padding:.21333rem}._playerBoxContent_1dnwk_187 ._playerBoxCon_1dnwk_187{position:relative;width:13.86667rem;padding-top:56.25%}._playerBoxContent_1dnwk_187 ._playerBoxCon_1dnwk_187._padPlayerBox_1dnwk_197{width:11.41333rem}._playerBox_1dnwk_187{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}._playerBox_1dnwk_187 .plyr{border-radius:.42667rem;width:100%;height:100%}._playerBox_1dnwk_187 .plyr .plyr__control.plyr__control--overlaid{width:1.28rem;height:1.28rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAxlBMVEUAAAAAAAD////+/v5ZWVn///+Hh4cUFBQvLy/////////x8fH////////h4eH////////////////////+/v7+/v43NzfAwMC4uLj09PTd3d3S0tLMzMzHx8eurq6mpqZMTEz19fXz8/P////////////////a2trY2NjKysr///////+enp6Dg4N8fHxtbW3////////////////////////////////r6+vm5ubW1taVlZVDQ0P39/fw8PC6urpzc3P////8mbxPAAAAQXRSTlNIAP36Xw5zTFL27d/b0MWojlpLM/XtVZ2T5b2vqaKMhlvn4dPJx8C7taWcgYFxbWdkY1hPRTkgFNTKs3tY69yVaqu9LSAAAAM5SURBVGjerJbXcqNAEEXvIpKyACUrW7aClbPsXW/g/39quYPlDAyI86CiSgNnekJ344cUmmPNy6NCLqso2VxhVJ5bjib3poRAsytFxf2CUqzY2vUCbTNW3ECU8Ua7SmCXs24E2bKdWGDdvU11WOr09LVaN4y6utZ7ndLwLbA7K5FgW7h8PN9emPiCuWjnL5LCNrbgWHR9broqAlG7N65P8RhLcJ75c8u0lohg2cr4cc7O8oJ9zv/8VIUE6tRX5PaygooipjQZQJLBxH+jIiU43bskryMGet4l96dogVMTq9MwEAujIdap5kQJDlWOu10hNqtbvlk9hAt2Yh4lEwkwSyL2XZhgJzbrAQl5EFu9CxYcMhzQRGKaCmM4BAmcKv/u4wr6nGLV+V5wqnH+fVxFnzHUTt8KxPlv4kqa4j58J6hE76/8Tle+CvaMrYQUKHGl958F5xzvl4kUMHnjcudPghkP0AqpsOJRmn0UHLlADaREg4t0/CAoMn8aSAkjzxr3XrClUkdq6FyQ7TsB6/sEKTJhJ/AmsLjDA6TIgPtsvQrY/0yRKlP2SxeBzQBUpIrKEOwXQdl7biFlWt5Hy75AY/+5RDjPf9uNWEEu2bdqQrBh/4ZweqJU/KxDHvZ8GyEYe0/d6HNNak1I0/XGjynQvJeViOif3At/dEii8ruaJ7CZJRBO1X1FaQ0gR16cI4hC00Y47nuqkk1ZWxQeiDy3kBeQm1+QYCEyHsQWmHEE5ElFJKbYBDje8CFiCUimYyKKoTfOgcVSHFdAfvdlirOFuffbiS8gj/8QSscbMwcTUS+BgCjhV7vHdISR96snEEhcbd0bMAKL2TqhgDw+I4g1yxrYD6mJBTQgCJX9EZir64kFJPDW1ZmxwTxpJBeEZWKD5+B/s/ZiAlAIw1AU3EH3H1Vwgn442AkePLVNbsI/wH8RP2R+TflD46OCDzs+rvnCgSvzvJWplz6XLUHhtcvCi0tHLX5z8n3l5Ts3INpCcROobSw34holcBiicQ4HUhqpcSiosaYGsxotcziu8b4OKHTEokMiHXPpoO5/1NgKS6fEvdXAelLkni8NTKw9xIsbk6snvjzTr/9cF5yknIHjHOIAAAAASUVORK5CYII=) no-repeat;background-size:100% 100%}._playerBox_1dnwk_187 .plyr .plyr__control.plyr__control--overlaid .plyr__sr-only,._playerBox_1dnwk_187 .plyr .plyr__control.plyr__control--overlaid svg{display:none}._playerBox_1dnwk_187 .plyr .plyr__controls{background:initial;padding:.53333rem .53333rem .34667rem;opacity:1!important;transform:translateY(0)!important;pointer-events:initial!important}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__control{padding:0;width:.48rem;height:.48rem}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__control:hover{background:initial}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__control .icon--pressed{width:100%;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAAAXNSR0IArs4c6QAAAadJREFUaEPtmitPA0EUhc+dTQWikiBIEPwBTGUbUlleHoerrkIgKAKBWo3D4XlVNqSVNfwBBAmCICsQzc4lFGia7G47ywwJoWftntk9d+bcL5vNFeRdg0GpNHzZSAwOVGQH0GVAXkX1JrK4GJVXHlCpjHLXh7jh4UEy369qTL/TUqstAKsZmmcxEttqI4aIDVFD6hmeHjILM/1OUxMbA1iaYfpNItOy1cb5bxTm6yFdWO9qTTTqQrE+17DgUSWpo7b3NFdbRBDAQ0Zht/ti8XEKZQcvQzVoorZ96aB1l/T8PaQLu787FOgpgMjBSaKQI2xunTlo3SUBPKQL6163xZhjVxdq7Qnqu21XvZMugAcWlrfTPDGnDH6JGMXPjchKDXuMPVakl/K07DH2GIAAMfBOYwAPpCKp6J3DMO3AKDKKjOKMHSDu+eURBrXebcYoMoqM4qSN+JeqCFEID8KD8CA8ijBjoiU8CA/Cg/AgPKZ3gFQkFUlFUvHvUDHAuM+PipleFMDDAg2JBRip8z6xAB4WaBBzPOryT0dnx1HyGDT2juL3Azw8vAMHHzxk0YtCVgAAAABJRU5ErkJggg==) no-repeat;background-size:100% 100%}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__control .icon--pressed use{display:none}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__control .icon--not-pressed{width:100%;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAAAXNSR0IArs4c6QAABFtJREFUaEPdmk9sFFUcx7/fN7Mt3SrUxJCAkcS76GU1ofQPS4K1LfVAtHePHjwYJSmUhGoTOFhCottbW22hCWLgYqxtIzZUqaAgIaGlgWCExLTGhlhou+3OzPuZaV0s3WXZ3S67szPXee/N7/N+v/fm94/w6cOUXNeGyvHAeh0OX4GwHAb/gcg4zIpfUFkZ9fKePBYseHl0S3Rh7nOI1IDYBMCEwAI5C/BiQMyWWO2eG16FSwoWHB3cEhVnGMDLKQRfJHmk1Cztie74cQps016CTAS7NlTOWedLiLydhqAOiMsUfKHLS04htGc2jTl5GZIINvLdLhryFUQ2ZyDBAsirBtlin7s0hrbCay8RbHTgfYp0ACjJACw+dJ6KER1ABNGyaYTDdhZr5GRKItj5bw8R+ARA6hsz1efJcQJd2nFOItw0kxNJM1wkiSl+00alDme4TrLh7u9g0lDGQbuqbgik5GDNtJd4mmBxIZZI6dNkB+zg7/kyz3yArQASNwn2akP6sbPxLoCnqsH8ga3AxSCYUIa0O1V7z6ZtV1kMzC/YagHJMyZVu1X2/ARCISsL2VNOKSSYQHCHQL+G2YvaN27lEq5wYP9T2CBvK+CYM4c+NDQs5QLQC2BxDvcyGTTBViswN4nK5nVFD14CiwPOkDhh2k53bPdb49lqz4tgLosNcIqCiH7O6MSrdfOZAnoVLP7v0xBcMMgDdnDzVYRCC+kCehvsIQVnqXhKi92D6egVNDc7TwIsEjAXQ/SyeRrs3vZC2dE/XgovpvTDE16O5MwJftKmZv+emFBK7XesDT8gnBywiDS2Zh/Ie8uR+6JxGHWJl0vxgq1w2gQ7dU39B2vDomIHA0T+EmIfaveOPeKKFuUZe9SZtghp1dUNHau1VvwaW8lhdOp5frjaz/QHGBnRc/jIX2CkRY1Durb+U7+Z4rSI3oddTT/76fKwSRzX1b+2rE2xF/MZu0eySwedjxFqSnCOixOMuKEg+x3n73MIv5vUZywmMLeaM0WyZ9uLZUd84gTHwxb2YPq+D8IWwg1VxgygxS+BplulmSYkoisCEb+kBmZInjSV6opVvemDZM5yNUaGTOFBK1Axud7ivRduRZ8lTF0NablLxX5N6UV1483scwWJMwupsbOmiXbrz/kJNDfHcgnlrpVvMGu5jKTQ7tQ0nsk1TKGc4FvLhT/NfoTr7/ih8LdEsk8rHoO14bYfSrVRkJNKodXZWT9Y+OL6+YFWQtrX3w4h3drRJ7zTDjE68B61HAdRmsXhnifRqcWKQG+aypfZJZMzWQNLDYGvAWTecqTUAfv7ixe82XI0drqMzrO90PqdNDTmVj2uEOjxfpMYgOBvw1ujD6xBANtTwC1SeLS0pLQ7umP3FEiPt/X9RxL8aXhrVNufPWzEFARAuD/YlUZMoiVW0zCRhlYLMiR1I9jI6WcQ2PgabGc7iI1QuA/N61g0LiWrcBSE4DEfzb7DzUsUSWT5F5TD8UarpZdKAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__control .icon--not-pressed use{display:none}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container{margin-left:.24rem}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]{color:#01c1b5;height:.53333rem}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]::-webkit-slider-runnable-track{height:.10667rem}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]::-webkit-slider-thumb{width:.32rem;height:.32rem;margin-top:-.10667rem;box-shadow:initial;background:#01C1B5}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container .plyr__progress__buffer{height:.10667rem;color:rgba(1,193,181,.6);background-color:#fff;margin-top:-.05333rem}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__time{font-weight:500;font-size:.37333rem;color:#131415}._playerBox_1dnwk_187 .plyr .plyr__controls .plyr__controls__item.plyr__time.plyr__time--current{margin-left:.24rem}._playerBox_1dnwk_187 .plyr .plyr__video-wrapper .plyr__poster{background-size:100% 100%}._playerBox_1dnwk_187 ._videoBox_1dnwk_290{width:100%;height:100%}._playerBox_1dnwk_187 ._audioBox_1dnwk_294{width:100%;height:100%;background:url("+new URL("../png/audioBg-cf7d9e0f.png",module.meta.url).href+") no-repeat;background-size:100% 100%;position:relative;border-radius:.42667rem;overflow:hidden}._playerBox_1dnwk_187 ._audioBox_1dnwk_294 ._audioBga_1dnwk_303{width:100%;height:88%}._playerBox_1dnwk_187 ._audioBox_1dnwk_294 ._audioBga1_1dnwk_307{position:absolute;left:0;top:.21333rem;width:3.89333rem}._playerBox_1dnwk_187 ._audioBox_1dnwk_294 ._audioBga2_1dnwk_313{width:7.14667rem;position:absolute;right:-.64rem;top:-.21333rem}._playerBox_1dnwk_187 ._audioBox_1dnwk_294 .plyr{position:absolute;height:initial;left:0;bottom:0;box-shadow:initial}._playerBox_1dnwk_187 ._audioBox_1dnwk_294 ._audioVisualizer_1dnwk_326{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:9.86667rem;height:1.76rem}._videoPlayerBox_1dnwk_334 .plyr .plyr__controls{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.7) 100%)}._videoPlayerBox_1dnwk_334 .plyr .plyr__controls .plyr__controls__item.plyr__control .icon--pressed{background-size:100% 100%!important;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAANpJREFUWEftmN8NgmAMxO8W0LiEMziAE+g0TuA0OoEDOINLGF3gDAYSbPjT8uTD8UYo9x2/j7ZQIhyStgDOAPbtpRuAE8lHjK2cZ3XZF21vugPYhMWeAHZLTVV0o6ELgMPIk19JHitUulhJad1o6AVgNbLom+R6oaG0bjSkqQVJ/sRnzUlK69rQENU+eRMyoSECzrK5emRCJtQRcC+rZMPcexM+/NztJ4FVyLvbu9u721fqT++/zHXIdehLwN1eUnooUMm2iu7fj2Oa6dn/DKyabciO3ipbVtH9ABERODTrn0HUAAAAAElFTkSuQmCC) no-repeat}._videoPlayerBox_1dnwk_334 .plyr .plyr__controls .plyr__controls__item.plyr__control .icon--not-pressed{background-size:100% 100%!important;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAbpJREFUWEfN2L8uBFEUx/Hv7wVYT+EN1CJeQOINREloVLYQVlS2tg9AIdHRqUgQ4k9NS0dCFAjGnmRuYofM3NmdP/dUW5yZ+9k7d849c0VgoaQniqJRYAOYBD6BQ2BV0k0V9h5QjDkFGonBv4AtoCnpqUxYErQHTKUM+NidtWWgI+m7DFgS9AwMeQx0BcxLOvbIzZWSBEU5rrbcbWBJ0kOO61JTBwG5G78Ca0Bb0segsCJAznALLEg6GARVJMg59mPYXT+wMkDmeO++HJvAuiR7pN5RFsgB7uNFb4vfK8oGOcRRXCaus1RVgcxh1b5jhTWt2lcJcpNj1b4ZV3tD9kQdIAewxzcr6eK3qE6QOd6ACUknDlU3yBzn3WI6FhLILMOSXuxHCDNkm3QjJFBQj8wW9biksxDWkL32M5Iu637tgymMQW0dwWyuwbQf1qC1gVYIDZq1sIuSrMfOHUVWagMYxEB9RxEg65lb1kPX/Rlke9BO3DPb4i0kkjNkBwkjHne2KjtXxaf0LjCdAkqtsh5/JDPlv+MY696Ss+RVZTNH80jIOrCydWIHViuSMj9hPMbLTPkDyryi5IQfztvZJR0KlBgAAAAASUVORK5CYII=) no-repeat}._videoPlayerBox_1dnwk_334 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]{color:#fff}._videoPlayerBox_1dnwk_334 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]::-webkit-slider-thumb{background:#fff}._videoPlayerBox_1dnwk_334 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container .plyr__progress__buffer{height:.10667rem;color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.3);margin-top:-.05333rem}._videoPlayerBox_1dnwk_334 .plyr .plyr__controls .plyr__controls__item.plyr__time{color:#fff}._demos_1dnwk_360{position:fixed;top:calc(var(--header-height) + .21333rem);right:.53333rem;display:flex;justify-content:flex-end;align-items:center;padding:0 .42667rem;height:.8rem;border-radius:.48rem;background-color:#fff;z-index:1;box-sizing:content-box}._demos_1dnwk_360>div{display:flex;align-items:center;margin-right:.42667rem}._demos_1dnwk_360>div:last-child{margin-right:0}._demos_1dnwk_360>div>span{margin-left:.10667rem;color:#1a1a1a}._demos_1dnwk_360>div>i{width:.32rem;height:.32rem;margin-right:.05333rem;border-radius:.08rem;display:inline-block}._shiyiClose_1dnwk_393{width:.8rem;height:.8rem;position:absolute;right:-1.01333rem;top:-.69333rem;cursor:pointer}._shiyiPopup_1dnwk_401{background:#fff;border-radius:.53333rem;width:80vw;max-width:12.26667rem;padding:.26667rem;position:relative}._shiyiPopup_1dnwk_401 ._shiyiTop_1dnwk_409{position:absolute;width:4.10667rem;left:50%;top:-.16rem;transform:translate(-50%)}._shiyiTitle_1dnwk_416{font-size:.42667rem;color:#333;font-weight:400;text-align:center}._items_1dnwk_422{display:flex;flex-wrap:wrap;margin-top:.42667rem;position:relative}._items_1dnwk_422 ._item_1dnwk_422{width:50%;display:flex;align-items:center;padding:.32rem 0 .32rem .48rem}._items_1dnwk_422 ._item_1dnwk_422 span{margin-left:.32rem;font-size:.32rem;font-weight:400}._items_1dnwk_422 ._item_1dnwk_422 svg{visibility:visible}._items_1dnwk_422 ._item_1dnwk_422:nth-child(2n){transform:translate(.53333rem)}._items_1dnwk_422 ._itemTone_1dnwk_445{width:50%;display:flex;align-items:center;padding:.42667rem 0 .42667rem .69333rem;position:relative}._items_1dnwk_422 ._itemTone_1dnwk_445:nth-child(2n){transform:translate(.53333rem)}._items_1dnwk_422 ._itemTone_1dnwk_445 span{font-size:.32rem;font-weight:400}._items_1dnwk_422 ._itemTone_1dnwk_445>i{width:.32rem;height:.32rem;margin-right:.32rem;border-radius:.08rem;display:inline-block}._tyImg_1dnwk_466{position:absolute;top:50%;left:50%;transform:translate(-50%,calc(-50% + 1.12rem));width:5.30667rem;height:2.82667rem}._playLarge_1dnwk_474{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:1.28rem;height:1.28rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAxlBMVEUAAAAAAAD////+/v5ZWVn///+Hh4cUFBQvLy/////////x8fH////////h4eH////////////////////+/v7+/v43NzfAwMC4uLj09PTd3d3S0tLMzMzHx8eurq6mpqZMTEz19fXz8/P////////////////a2trY2NjKysr///////+enp6Dg4N8fHxtbW3////////////////////////////////r6+vm5ubW1taVlZVDQ0P39/fw8PC6urpzc3P////8mbxPAAAAQXRSTlNIAP36Xw5zTFL27d/b0MWojlpLM/XtVZ2T5b2vqaKMhlvn4dPJx8C7taWcgYFxbWdkY1hPRTkgFNTKs3tY69yVaqu9LSAAAAM5SURBVGjerJbXcqNAEEXvIpKyACUrW7aClbPsXW/g/39quYPlDAyI86CiSgNnekJ344cUmmPNy6NCLqso2VxhVJ5bjib3poRAsytFxf2CUqzY2vUCbTNW3ECU8Ua7SmCXs24E2bKdWGDdvU11WOr09LVaN4y6utZ7ndLwLbA7K5FgW7h8PN9emPiCuWjnL5LCNrbgWHR9broqAlG7N65P8RhLcJ75c8u0lohg2cr4cc7O8oJ9zv/8VIUE6tRX5PaygooipjQZQJLBxH+jIiU43bskryMGet4l96dogVMTq9MwEAujIdap5kQJDlWOu10hNqtbvlk9hAt2Yh4lEwkwSyL2XZhgJzbrAQl5EFu9CxYcMhzQRGKaCmM4BAmcKv/u4wr6nGLV+V5wqnH+fVxFnzHUTt8KxPlv4kqa4j58J6hE76/8Tle+CvaMrYQUKHGl958F5xzvl4kUMHnjcudPghkP0AqpsOJRmn0UHLlADaREg4t0/CAoMn8aSAkjzxr3XrClUkdq6FyQ7TsB6/sEKTJhJ/AmsLjDA6TIgPtsvQrY/0yRKlP2SxeBzQBUpIrKEOwXQdl7biFlWt5Hy75AY/+5RDjPf9uNWEEu2bdqQrBh/4ZweqJU/KxDHvZ8GyEYe0/d6HNNak1I0/XGjynQvJeViOif3At/dEii8ruaJ7CZJRBO1X1FaQ0gR16cI4hC00Y47nuqkk1ZWxQeiDy3kBeQm1+QYCEyHsQWmHEE5ElFJKbYBDje8CFiCUimYyKKoTfOgcVSHFdAfvdlirOFuffbiS8gj/8QSscbMwcTUS+BgCjhV7vHdISR96snEEhcbd0bMAKL2TqhgDw+I4g1yxrYD6mJBTQgCJX9EZir64kFJPDW1ZmxwTxpJBeEZWKD5+B/s/ZiAlAIw1AU3EH3H1Vwgn442AkePLVNbsI/wH8RP2R+TflD46OCDzs+rvnCgSvzvJWplz6XLUHhtcvCi0tHLX5z8n3l5Ts3INpCcROobSw34holcBiicQ4HUhqpcSiosaYGsxotcziu8b4OKHTEokMiHXPpoO5/1NgKS6fEvdXAelLkni8NTKw9xIsbk6snvjzTr/9cF5yknIHjHOIAAAAASUVORK5CYII=) no-repeat;background-size:100% 100%;z-index:12;display:none}._playLarge_1dnwk_474._playIngShow_1dnwk_486{display:initial}._gramoBox_1dnwk_489{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:2.98667rem;height:2.98667rem;background:url("+new URL("../png/audio-bg-9b6c9d07.png",module.meta.url).href+") no-repeat center;background-size:contain;display:flex;justify-content:center;align-items:center}._gramoBox_1dnwk_489 ._gramoPan_1dnwk_503{z-index:8;width:2.18667rem;height:2.18667rem;background:url("+new URL("../png/audio-pan-cd59ec13.png",module.meta.url).href+") no-repeat center;background-size:contain;display:flex;align-items:center;justify-content:center;animation:_rotateImg_1dnwk_1 6s linear infinite}._gramoBox_1dnwk_489 ._gramoPan_1dnwk_503._imgRotate_1dnwk_514{animation-play-state:paused}._gramoBox_1dnwk_489 ._audioImg_1dnwk_517{width:1.17333rem;height:1.17333rem;border-radius:50%;overflow:hidden}._gramoBox_1dnwk_489 ._audioPoint_1dnwk_523{position:absolute;z-index:9;left:50%;top:50%;transform:translate(-50%,-50%);width:.26667rem;height:.26667rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAgdJREFUOE+lk8FrE1EQxmdmk2xssoV9u0tiY7GRSC4KHnoUhXrxVk9CRcSrikXwf/CUU/0fSvWinpuzPYle6kWhUUnLhuc2ImgieTPyQjZstTUH5/re/Pjmm28Q/rPwuH6l1BlEbCJiBRGLIjJk5h4zf+j3+51sz5+AQhRF14wxpxExAYDviGgcx3FGo1EZAHxE/Kq1bgPATwvKAnJKqRv2MwAcAICcMF1FRHJa6xcAMJwCoii6IiJW+pdZtliFAHCYJMn2GKCUmieimwDw0UqeBRARQsTGYDB4NQZEUXQJAJoAsJ9tdhyH1tcfrSwsVOdardZ2HMfjuSdVZeZPY0AQBCsA4BGRNW5aGxtPH1cq1dXG+Qa83tnZffjg/r30UUTmjTGcjnCdiHKI+C0LuH3n7kvXLar60lmI4xiebW2u9nq9w8mfEjO7Y0AYhldFRBGRzgLONZtP3Lx72SuVYd6b22+322vpdkTEZ+ZBCrDzLyPi5yzAdd1ybXFxzSuVSt1u97nWeuqRiNSMMe/TNRaCILglIl3HcQaztsDMeRGp5/P5rWkOfN+/QERWxR4i8j8gyMxLiLirtX5zJMoTL+onKWHmAgDUROQgSRIbZ/nrmHzfv4iIy0T0S0R+IOLIRhcRTzFzkYjeaa3fpmYee40A4IZhaGVWjDG2aSgiPc/z9jqdzhGPfgMVK9bsAn2AngAAAABJRU5ErkJggg==) no-repeat center;background-size:contain}._gramoBox_1dnwk_489 ._audioZhen_1dnwk_534{position:absolute;z-index:9;right:.05333rem;top:-1.06667rem;width:.93333rem;height:3.14667rem;background:url("+new URL("../png/audio-zhen-22a0bb83.png",module.meta.url).href+') no-repeat center;background-size:contain;transition:transform .5s ease-in-out}._gramoBox_1dnwk_489 ._audioZhen_1dnwk_534._active_1dnwk_85{transform:rotate(92deg) translateZ(.08rem);transition:transform .5s ease-in-out}@keyframes _rotateImg_1dnwk_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes plyr-progress{to{background-position:.66667rem 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(.26667rem)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:5.33333rem;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:.05333rem;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:.24rem;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:.08rem .10667rem}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:.34667rem;font-size:var(--plyr-font-size-small,13px);left:0;padding:.26667rem;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:.4rem;font-size:var(--plyr-font-size-base,15px);padding:.53333rem;padding:calc(var(--plyr-control-spacing, 10px)*2)}}@media (min-width:768px){.plyr__captions{font-size:.48rem;font-size:var(--plyr-font-size-large,18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-1.06667rem);transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4))}.plyr__caption{background:#000c;background:var(--plyr-captions-background,#000c);border-radius:.05333rem;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:#0000;border:0;border-radius:.10667rem;border-radius:var(--plyr-control-radius,4px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:.18667rem;padding:calc(var(--plyr-control-spacing, 10px)*.7);position:relative;transition:all .3s ease}.plyr__control svg{fill:currentColor;display:block;height:.48rem;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:.48rem;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control:focus-visible{outline:.05333rem dashed #00b2ff;outline:.05333rem dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:.05333rem}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:.06667rem;margin-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:.06667rem;padding-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 .13333rem;padding:0 calc(var(--plyr-control-spacing, 10px)/2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip],.plyr__controls:empty{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:#ffffffe6;background:var(--plyr-menu-background,#ffffffe6);border-radius:.21333rem;border-radius:var(--plyr-menu-radius,8px);bottom:100%;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.15);box-shadow:var(--plyr-menu-shadow,0 1px 2px #00000026);color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:.4rem;font-size:var(--plyr-font-size-base,15px);margin-bottom:.26667rem;position:absolute;right:-.08rem;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:.10667rem solid #0000;border-top-color:rgba(255,255,255,.9);border:var(--plyr-menu-arrow-size,4px) solid #0000;border-top-color:var(--plyr-menu-background,#ffffffe6);content:"";height:0;position:absolute;right:.37333rem;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7 - var(--plyr-menu-arrow-size, 4px)/2);top:100%;width:0}.plyr__menu__container [role=menu]{padding:.18667rem;padding:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:.05333rem}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:.34667rem;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding:.12444rem .28rem;padding:calc(var(--plyr-control-spacing, 10px)*.7/1.5) calc(var(--plyr-control-spacing, 10px)*.7*1.5);-webkit-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:.10667rem solid #0000;border:var(--plyr-menu-item-arrow-size,4px) solid #0000;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:.74667rem;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}.plyr__menu__container .plyr__control--forward:after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:.17333rem;right:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--forward:focus-visible:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:initial}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:.18667rem;margin:calc(var(--plyr-control-spacing, 10px)*.7);margin-bottom:.09333rem;margin-bottom:calc(var(--plyr-control-spacing, 10px)*.7/2);padding-left:.74667rem;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4);position:relative;width:calc(100% - .37333rem);width:calc(100% - var(--plyr-control-spacing, 10px)*.7*2)}.plyr__menu__container .plyr__control--back:after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:.17333rem;left:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--back:before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 .02667rem #fff;box-shadow:0 .02667rem 0 var(--plyr-menu-back-border-shadow-color,#fff);content:"";height:.02667rem;left:0;margin-top:.09333rem;margin-top:calc(var(--plyr-control-spacing, 10px)*.7/2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back:focus-visible:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:initial}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:.18667rem;padding-left:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:#0000001a;content:"";display:block;flex-shrink:0;height:.42667rem;margin-right:.26667rem;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:.42667rem}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:.16rem;left:.32rem;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:.16rem}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#00b2ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio]:focus-visible:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:#23282f1a}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:-.13333rem;margin-right:calc(var(--plyr-control-spacing, 10px)*.7*-1 - -.05333rem);overflow:hidden;padding-left:.65333rem;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;appearance:none;background:#0000;border:0;border-radius:.69333rem;border-radius:calc(var(--plyr-range-thumb-height, 13px)*2);color:#00b2ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));display:block;height:.50667rem;height:calc(var(--plyr-range-thumb-active-shadow-width, 3px)*2 + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:#0000;background-image:linear-gradient(90deg,currentColor 0,#0000 0);background-image:linear-gradient(to right,currentColor var(--value,0),#0000 var(--value,0));border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:.34667rem;height:var(--plyr-range-thumb-height,13px);margin-top:-.10667rem;margin-top:calc((var(--plyr-range-thumb-height, 13px) - var(--plyr-range-track-height, 5px))/2*-1);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:.34667rem;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-track{background:#0000;border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:.34667rem;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:.34667rem;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{color:rgba(0,0,0,0)}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:#0000;border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:#0000;background:currentColor;border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:.34667rem;height:var(--plyr-range-thumb-height,13px);margin-top:0;position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:.34667rem;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]:focus-visible::-webkit-slider-runnable-track{outline:.05333rem dashed #00b2ff;outline:.05333rem dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:.05333rem}.plyr--full-ui input[type=range]:focus-visible::-moz-range-track{outline:.05333rem dashed #00b2ff;outline:.05333rem dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:.05333rem}.plyr--full-ui input[type=range]:focus-visible::-ms-track{outline:.05333rem dashed #00b2ff;outline:.05333rem dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:.05333rem}.plyr__poster{background-color:#000;background-color:var(--plyr-video-background,var(--plyr-video-background,#000));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}.plyr__time{font-size:.34667rem;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time:before{content:"\\2044";margin-right:.26667rem;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:#fff;background:var(--plyr-tooltip-background,#fff);border-radius:.13333rem;border-radius:var(--plyr-tooltip-radius,5px);bottom:100%;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px #00000026);color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:.34667rem;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:.26667rem;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:.13333rem .2rem;padding:calc(var(--plyr-control-spacing, 10px)/2) calc(var(--plyr-control-spacing, 10px)/2*1.5);pointer-events:none;position:absolute;transform:translate(-50%,.26667rem) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:.10667rem solid #0000;border-left:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-right:.10667rem solid #0000;border-right:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-top:.10667rem solid #fff;border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,#fff);bottom:-.10667rem;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translate(-50%);width:0;z-index:2}.plyr .plyr__control:focus-visible .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;transform:translateY(.26667rem) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before{left:.42667rem;left:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7)}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(.26667rem) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:.42667rem;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7);transform:translate(50%)}.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr__progress{left:.17333rem;left:calc(var(--plyr-range-thumb-height, 13px)*.5);margin-right:.34667rem;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:-.17333rem;margin-left:calc(var(--plyr-range-thumb-height, 13px)*-.5);margin-right:-.17333rem;margin-right:calc(var(--plyr-range-thumb-height, 13px)*-.5);width:calc(100% + .34667rem);width:calc(100% + var(--plyr-range-thumb-height, 13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{left:0;max-width:3.2rem;overflow-wrap:break-word}.plyr__progress__buffer{-webkit-appearance:none;background:#0000;border:0;border-radius:2.66667rem;height:.13333rem;height:var(--plyr-range-track-height,5px);left:0;margin-top:-.06667rem;margin-top:calc((var(--plyr-range-track-height, 5px)/2)*-1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:#0000}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:2.66667rem;min-width:.13333rem;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:2.66667rem;min-width:.13333rem;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:2.66667rem;-ms-transition:width .2s ease;transition:width .2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,#23282f99 25%,#0000 0,#0000 50%,#23282f99 0,#23282f99 75%,#0000 0,#0000);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,#23282f99) 25%,#0000 25%,#0000 50%,var(--plyr-progress-loading-background,#23282f99) 50%,var(--plyr-progress-loading-background,#23282f99) 75%,#0000 75%,#0000);background-repeat:repeat-x;background-size:.66667rem .66667rem;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:rgba(0,0,0,0)}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-progress-buffered-background,#ffffff40)}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-progress-buffered-background,#c1c8d199)}.plyr__progress__marker{background-color:#fff;background-color:var(--plyr-progress-marker-background,#fff);border-radius:.02667rem;height:.13333rem;height:var(--plyr-range-track-height,5px);position:absolute;top:50%;transform:translate(-50%,-50%);width:.08rem;width:var(--plyr-progress-marker-width,3px);z-index:3}.plyr__volume{align-items:center;display:flex;position:relative}.plyr__volume input[type=range]{margin-left:.13333rem;margin-left:calc(var(--plyr-control-spacing, 10px)/2);margin-right:.13333rem;margin-right:calc(var(--plyr-control-spacing, 10px)/2);max-width:2.4rem;min-width:1.6rem;position:relative;z-index:2}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:.26667rem;padding:var(--plyr-control-spacing,10px)}.plyr--audio .plyr__control:focus-visible,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}.plyr--audio .plyr__progress__buffer{color:rgba(193,200,209,.6);color:var(--plyr-audio-progress-buffered-background,#c1c8d199)}.plyr--video{overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));border-radius:inherit;height:100%;margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}@supports not (aspect-ratio:16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:linear-gradient(#0000,#000000bf);background:var(--plyr-video-controls-background,linear-gradient(#0000,#000000bf));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:.13333rem;padding:calc(var(--plyr-control-spacing, 10px)/2);padding-top:.53333rem;padding-top:calc(var(--plyr-control-spacing, 10px)*2);position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:.26667rem;padding:var(--plyr-control-spacing,10px);padding-top:.93333rem;padding-top:calc(var(--plyr-control-spacing, 10px)*3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control:focus-visible,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}.plyr__control--overlaid{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:.4rem;padding:calc(var(--plyr-control-spacing, 10px)*1.5);position:absolute;top:50%;transform:translate(-50%,-50%);transition:.3s;z-index:2}.plyr__control--overlaid svg{left:.05333rem;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}.plyr--video .plyr__progress__buffer{color:rgba(255,255,255,.25);color:var(--plyr-video-progress-buffered-background,#ffffff40)}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:fullscreen .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;bottom:0;height:100%;left:0;margin:0;position:fixed;right:0;top:0;width:100%;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:#23282f;border-radius:.05333rem;bottom:.26667rem;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:.29333rem;padding:.05333rem .16rem;pointer-events:none;position:absolute;right:.26667rem;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads:empty:after{display:none}.plyr__cues{background:currentColor;display:block;height:.13333rem;height:var(--plyr-range-track-height,5px);left:0;opacity:.8;position:absolute;top:50%;transform:translateY(-50%);width:.08rem;z-index:3}.plyr__preview-thumb{background-color:#fff;background-color:var(--plyr-tooltip-background,#fff);border-radius:.21333rem;border-radius:var(--plyr-menu-radius,8px);bottom:100%;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px #00000026);margin-bottom:.26667rem;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:.08rem;pointer-events:none;position:absolute;transform:translateY(.26667rem) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:.10667rem solid #0000;border-left:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-right:.10667rem solid #0000;border-right:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-top:.10667rem solid #fff;border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,#fff);bottom:-.10667rem;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:calc(50% + var(--preview-arrow-offset));position:absolute;transform:translate(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:.18667rem;border-radius:calc(var(--plyr-menu-radius, 8px) - .02667rem);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img,.plyr__preview-thumb__image-container:after{height:100%;left:0;position:absolute;top:0;width:100%}.plyr__preview-thumb__image-container:after{border-radius:inherit;box-shadow:inset 0 0 0 .02667rem rgba(0,0,0,.15);content:"";pointer-events:none}.plyr__preview-thumb__image-container img{max-height:none;max-width:none}.plyr__preview-thumb__time-container{background:linear-gradient(#0000,#000000bf);background:var(--plyr-video-controls-background,linear-gradient(#0000,#000000bf));border-bottom-left-radius:.18667rem;border-bottom-left-radius:calc(var(--plyr-menu-radius, 8px) - .02667rem);border-bottom-right-radius:.18667rem;border-bottom-right-radius:calc(var(--plyr-menu-radius, 8px) - .02667rem);bottom:0;left:0;line-height:1.1;padding:.53333rem .16rem .16rem;position:absolute;right:0;z-index:3}.plyr__preview-thumb__time-container span{color:#fff;font-size:.34667rem;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__preview-scrubbing{bottom:0;filter:blur(.02667rem);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(.02667rem,.02667rem,.02667rem,.02667rem);border:0!important;height:.02667rem!important;overflow:hidden;padding:0!important;position:absolute!important;width:.02667rem!important}.plyr [hidden]{display:none!important}._container_1rrce_1{width:4.53333rem;height:.82667rem;background:transparent;display:flex;align-items:center;border-radius:.48rem;padding:.16rem .26667rem}._container_1rrce_1 ._noticeBar_1rrce_10{flex:1;padding:0}._container_1rrce_1._pcContainer_1rrce_14{width:13.33333rem}._icon_1rrce_17{width:.69333rem;height:.69333rem;flex-shrink:0}._status_1rrce_22{margin-left:auto;flex-shrink:0}\n',document.head.appendChild(__vite_style__),{setters:[e=>{createNamespace=e.f,defineComponent=e.d,createVNode=e.b,addUnit=e.h,numericProp=e.i,withInstall=e.w,getSizeStyle=e.j,makeStringProp=e.k,makeNumericProp=e.l,truthProp=e.t,mergeProps=e.p,Fragment=e.F,NoticeBar=e.N,state=e.s,IPlatform=e.I,browser$1=e.q,toRefs=e.u,reactive=e.r,ref=e.v,onUnmounted=e.x,computed=e.y,storeData=e.z,createTextVNode=e.A,Popup=e.P,EvaluatingReportDriver=e.B,api_back=e.C,nextTick=e.n,getQuery=e.g,onBeforeMount=e.D,api_setStatusBarVisibility=e.G,onMounted=e.o,api_musicPracticeRecordDetail=e.H,getMusicDetail=e.J,watch=e.K,Transition=e.T,MusicScore=e.M,isSpecialShapedScreen=e.L,formateTimes=e.O,api_cloudLoading=e.Q}],execute:function(){const[name$3,bem$3]=createNamespace("skeleton-title"),skeletonTitleProps={round:Boolean,titleWidth:numericProp};var stdin_default$6=defineComponent({name:name$3,props:skeletonTitleProps,setup:e=>()=>createVNode("h3",{class:bem$3([{round:e.round}]),style:{width:addUnit(e.titleWidth)}},null)});const SkeletonTitle=withInstall(stdin_default$6);var stdin_default$5=SkeletonTitle;const[name$2,bem$2]=createNamespace("skeleton-avatar"),skeletonAvatarProps={avatarSize:numericProp,avatarShape:makeStringProp("round")};var stdin_default$4=defineComponent({name:name$2,props:skeletonAvatarProps,setup:e=>()=>createVNode("div",{class:bem$2([e.avatarShape]),style:getSizeStyle(e.avatarSize)},null)});const SkeletonAvatar=withInstall(stdin_default$4);var stdin_default$3=SkeletonAvatar;const DEFAULT_ROW_WIDTH="100%",skeletonParagraphProps={round:Boolean,rowWidth:{type:numericProp,default:DEFAULT_ROW_WIDTH}},[name$1,bem$1]=createNamespace("skeleton-paragraph");var stdin_default$2=defineComponent({name:name$1,props:skeletonParagraphProps,setup:e=>()=>createVNode("div",{class:bem$1([{round:e.round}]),style:{width:e.rowWidth}},null)});const SkeletonParagraph=withInstall(stdin_default$2);var stdin_default$1=SkeletonParagraph;const[name,bem]=createNamespace("skeleton"),DEFAULT_LAST_ROW_WIDTH="60%",skeletonProps={row:makeNumericProp(0),round:Boolean,title:Boolean,titleWidth:numericProp,avatar:Boolean,avatarSize:numericProp,avatarShape:makeStringProp("round"),loading:truthProp,animate:truthProp,rowWidth:{type:[Number,String,Array],default:DEFAULT_ROW_WIDTH}};var stdin_default=defineComponent({name:name,inheritAttrs:!1,props:skeletonProps,setup(e,{slots:t,attrs:i}){const r=()=>{if(e.avatar)return createVNode(stdin_default$3,{avatarShape:e.avatarShape,avatarSize:e.avatarSize},null)},n=()=>{if(e.title)return createVNode(stdin_default$5,{round:e.round,titleWidth:e.titleWidth},null)},s=t=>{const{rowWidth:i}=e;return i===DEFAULT_ROW_WIDTH&&t===+e.row-1?DEFAULT_LAST_ROW_WIDTH:Array.isArray(i)?i[t]:i};return()=>{var o;return e.loading?createVNode("div",mergeProps({class:bem({animate:e.animate,round:e.round})},i),[t.template?t.template():createVNode(Fragment,null,[r(),createVNode("div",{class:bem("content")},[n(),Array(+e.row).fill("").map(((t,i)=>createVNode(stdin_default$1,{key:i,round:e.round,rowWidth:addUnit(s(i))},null)))])])]):null==(o=t.default)?void 0:o.call(t)}}});const Skeleton=withInstall(stdin_default),detail="_detail_16zle_5",skeleton="_skeleton_16zle_12",pageBg="_pageBg_16zle_28",headHeight="_headHeight_16zle_43",headHide="_headHide_16zle_52",container$1="_container_16zle_55",musicName="_musicName_16zle_70",right$1="_right_16zle_77",inaccuracy="_inaccuracy_16zle_81",wrong="_wrong_16zle_85",notPlay="_notPlay_16zle_89",intonation_wrong="_intonation_wrong_16zle_93",intonation_high="_intonation_high_16zle_97",intonation_low="_intonation_low_16zle_101",cadence_wrong="_cadence_wrong_16zle_105",cadence_fast="_cadence_fast_16zle_109",cadence_slow="_cadence_slow_16zle_113",integrity_wrong="_integrity_wrong_16zle_117",arrowSvg="_arrowSvg_16zle_121",bg2Left="_bg2Left_16zle_126",bg2Right="_bg2Right_16zle_132",styles$2={detail:detail,skeleton:skeleton,pageBg:pageBg,headHeight:headHeight,headHide:headHide,container:container$1,musicName:musicName,right:right$1,inaccuracy:inaccuracy,wrong:wrong,notPlay:notPlay,intonation_wrong:intonation_wrong,intonation_high:intonation_high,intonation_low:intonation_low,cadence_wrong:cadence_wrong,cadence_fast:cadence_fast,cadence_slow:cadence_slow,integrity_wrong:integrity_wrong,arrowSvg:arrowSvg,bg2Left:bg2Left,bg2Right:bg2Right},headerTop="_headerTop_1dnwk_1",android="_android_1dnwk_12",back="_back_1dnwk_15",disabled="_disabled_1dnwk_27",left="_left_1dnwk_30",leftContent="_leftContent_1dnwk_34",lcName="_lcName_1dnwk_34",lcScore="_lcScore_1dnwk_52",center="_center_1dnwk_58",cItem="_cItem_1dnwk_63",active="_active_1dnwk_85",middle="_middle_1dnwk_92",mScore="_mScore_1dnwk_113",mLabel="_mLabel_1dnwk_119",padMiddle="_padMiddle_1dnwk_135",right="_right_1dnwk_138",btn="_btn_1dnwk_142",iconBtn="_iconBtn_1dnwk_158",btnWrap="_btnWrap_1dnwk_168",popup="_popup_1dnwk_173",playerBoxContent="_playerBoxContent_1dnwk_187",playerBoxCon="_playerBoxCon_1dnwk_187",padPlayerBox="_padPlayerBox_1dnwk_197",playerBox="_playerBox_1dnwk_187",videoBox="_videoBox_1dnwk_290",audioBox="_audioBox_1dnwk_294",audioBga="_audioBga_1dnwk_303",audioBga1="_audioBga1_1dnwk_307",audioBga2="_audioBga2_1dnwk_313",audioVisualizer="_audioVisualizer_1dnwk_326",videoPlayerBox="_videoPlayerBox_1dnwk_334",demos="_demos_1dnwk_360",shiyiClose$1="_shiyiClose_1dnwk_393",shiyiPopup="_shiyiPopup_1dnwk_401",shiyiTop$1="_shiyiTop_1dnwk_409",shiyiTitle="_shiyiTitle_1dnwk_416",items="_items_1dnwk_422",item="_item_1dnwk_422",itemTone="_itemTone_1dnwk_445",tyImg$1="_tyImg_1dnwk_466",playLarge="_playLarge_1dnwk_474",playIngShow="_playIngShow_1dnwk_486",gramoBox="_gramoBox_1dnwk_489",gramoPan="_gramoPan_1dnwk_503",rotateImg="_rotateImg_1dnwk_1",imgRotate="_imgRotate_1dnwk_514",audioImg="_audioImg_1dnwk_517",audioPoint="_audioPoint_1dnwk_523",audioZhen="_audioZhen_1dnwk_534",styles$1={headerTop:headerTop,android:android,back:back,disabled:disabled,left:left,leftContent:leftContent,lcName:lcName,lcScore:lcScore,center:center,cItem:cItem,active:active,middle:middle,mScore:mScore,mLabel:mLabel,padMiddle:padMiddle,right:right,btn:btn,iconBtn:iconBtn,btnWrap:btnWrap,popup:popup,playerBoxContent:playerBoxContent,playerBoxCon:playerBoxCon,padPlayerBox:padPlayerBox,playerBox:playerBox,videoBox:videoBox,audioBox:audioBox,audioBga:audioBga,audioBga1:audioBga1,audioBga2:audioBga2,audioVisualizer:audioVisualizer,videoPlayerBox:videoPlayerBox,demos:demos,shiyiClose:shiyiClose$1,shiyiPopup:shiyiPopup,shiyiTop:shiyiTop$1,shiyiTitle:shiyiTitle,items:items,item:item,itemTone:itemTone,tyImg:tyImg$1,playLarge:playLarge,playIngShow:playIngShow,gramoBox:gramoBox,gramoPan:gramoPan,rotateImg:rotateImg,imgRotate:imgRotate,audioImg:audioImg,audioPoint:audioPoint,audioZhen:audioZhen},iconBack="data:image/png;base64,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",iconShiyi=""+new URL("../png/icon-shiyi-d9070602.png",module.meta.url).href,iconhuifang="data:image/png;base64,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",shiyiTop=""+new URL("../png/shiyi-top-3e1d9297.png",module.meta.url).href,shiyiClose=""+new URL("../png/closeImg-5487d70c.png",module.meta.url).href,musicBg=""+new URL("../png/music_bg-7bc33289.png",module.meta.url).href,tyImg=""+new URL("../png/ty-56e3a830.png",module.meta.url).href,videobg=""+new URL("../png/videobg-28992a9b.png",module.meta.url).href,plyr="";function _defineProperty$1(e,t,i){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _toPrimitive(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:String(t)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var i=0;it){var i=getDecimalPlaces(t);return parseFloat(e.toFixed(i))}return Math.round(e/t)*t}var RangeTouch=function(){function e(t,i){_classCallCheck(this,e),is$1.element(t)?this.element=t:is$1.string(t)&&(this.element=document.querySelector(t)),is$1.element(this.element)&&is$1.empty(this.element.rangeTouch)&&(this.config=_objectSpread2({},defaults$1,{},i),this.init())}return _createClass(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,i=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[i](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!is$1.event(t))return null;var i,r=t.target,n=t.changedTouches[0],s=parseFloat(r.getAttribute("min"))||0,o=parseFloat(r.getAttribute("max"))||100,a=parseFloat(r.getAttribute("step"))||1,l=r.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(i=100/l.width*(n.clientX-l.left))?i=0:100i?i-=(100-2*i)*c:50null!=e?e.constructor:null,instanceOf=(e,t)=>Boolean(e&&t&&e instanceof t),isNullOrUndefined=e=>null==e,isObject=e=>getConstructor(e)===Object,isNumber=e=>getConstructor(e)===Number&&!Number.isNaN(e),isString=e=>getConstructor(e)===String,isBoolean=e=>getConstructor(e)===Boolean,isFunction=e=>"function"==typeof e,isArray=e=>Array.isArray(e),isWeakMap=e=>instanceOf(e,WeakMap),isNodeList=e=>instanceOf(e,NodeList),isTextNode=e=>getConstructor(e)===Text,isEvent=e=>instanceOf(e,Event),isKeyboardEvent=e=>instanceOf(e,KeyboardEvent),isCue=e=>instanceOf(e,window.TextTrackCue)||instanceOf(e,window.VTTCue),isTrack=e=>instanceOf(e,TextTrack)||!isNullOrUndefined(e)&&isString(e.kind),isPromise=e=>instanceOf(e,Promise)&&isFunction(e.then),isElement=e=>null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument,isEmpty=e=>isNullOrUndefined(e)||(isString(e)||isArray(e)||isNodeList(e))&&!e.length||isObject(e)&&!Object.keys(e).length,isUrl=e=>{if(instanceOf(e,window.URL))return!0;if(!isString(e))return!1;let t=e;e.startsWith("http://")&&e.startsWith("https://")||(t=`http://${e}`);try{return!isEmpty(new URL(t).hostname)}catch(e){return!1}};var is={nullOrUndefined:isNullOrUndefined,object:isObject,number:isNumber,string:isString,boolean:isBoolean,function:isFunction,array:isArray,weakMap:isWeakMap,nodeList:isNodeList,element:isElement,textNode:isTextNode,event:isEvent,keyboardEvent:isKeyboardEvent,cue:isCue,track:isTrack,promise:isPromise,url:isUrl,empty:isEmpty};const transitionEndEvent=(()=>{const e=document.createElement("span"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},i=Object.keys(t).find((t=>void 0!==e.style[t]));return!!is.string(i)&&t[i]})();function repaint(e,t){setTimeout((()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}}),t)}const isIE=Boolean(window.document.documentMode),isEdge=/Edge/g.test(navigator.userAgent),isWebKit="WebkitAppearance"in document.documentElement.style&&!/Edge/g.test(navigator.userAgent),isIPhone=/iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1,isIPadOS="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,isIos=/iPad|iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1;var browser={isIE:isIE,isEdge:isEdge,isWebKit:isWebKit,isIPhone:isIPhone,isIPadOS:isIPadOS,isIos:isIos};function cloneDeep(e){return JSON.parse(JSON.stringify(e))}function getDeep(e,t){return t.split(".").reduce(((e,t)=>e&&e[t]),e)}function extend(e={},...t){if(!t.length)return e;const i=t.shift();return is.object(i)?(Object.keys(i).forEach((t=>{is.object(i[t])?(Object.keys(e).includes(t)||Object.assign(e,{[t]:{}}),extend(e[t],i[t])):Object.assign(e,{[t]:i[t]})})),extend(e,...t)):e}function wrap(e,t){const i=e.length?e:[e];Array.from(i).reverse().forEach(((e,i)=>{const r=i>0?t.cloneNode(!0):t,n=e.parentNode,s=e.nextSibling;r.appendChild(e),s?n.insertBefore(r,s):n.appendChild(r)}))}function setAttributes(e,t){is.element(e)&&!is.empty(t)&&Object.entries(t).filter((([,e])=>!is.nullOrUndefined(e))).forEach((([t,i])=>e.setAttribute(t,i)))}function createElement(e,t,i){const r=document.createElement(e);return is.object(t)&&setAttributes(r,t),is.string(i)&&(r.innerText=i),r}function insertAfter(e,t){is.element(e)&&is.element(t)&&t.parentNode.insertBefore(e,t.nextSibling)}function insertElement(e,t,i,r){is.element(t)&&t.appendChild(createElement(e,i,r))}function removeElement(e){is.nodeList(e)||is.array(e)?Array.from(e).forEach(removeElement):is.element(e)&&is.element(e.parentNode)&&e.parentNode.removeChild(e)}function emptyElement(e){if(!is.element(e))return;let{length:t}=e.childNodes;for(;t>0;)e.removeChild(e.lastChild),t-=1}function replaceElement(e,t){return is.element(t)&&is.element(t.parentNode)&&is.element(e)?(t.parentNode.replaceChild(e,t),e):null}function getAttributesFromSelector(e,t){if(!is.string(e)||is.empty(e))return{};const i={},r=extend({},t);return e.split(",").forEach((e=>{const t=e.trim(),n=t.replace(".",""),s=t.replace(/[[\]]/g,"").split("="),[o]=s,a=s.length>1?s[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":is.string(r.class)?i.class=`${r.class} ${n}`:i.class=n;break;case"#":i.id=t.replace("#","");break;case"[":i[o]=a}})),extend(r,i)}function toggleHidden(e,t){if(!is.element(e))return;let i=t;is.boolean(i)||(i=!e.hidden),e.hidden=i}function toggleClass(e,t,i){if(is.nodeList(e))return Array.from(e).map((e=>toggleClass(e,t,i)));if(is.element(e)){let r="toggle";return void 0!==i&&(r=i?"add":"remove"),e.classList[r](t),e.classList.contains(t)}return!1}function hasClass(e,t){return is.element(e)&&e.classList.contains(t)}function matches(e,t){const{prototype:i}=Element;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function closest$1(e,t){const{prototype:i}=Element;return(i.closest||function(){let e=this;do{if(matches.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}function getElements(e){return this.elements.container.querySelectorAll(e)}function getElement(e){return this.elements.container.querySelector(e)}function setFocus(e=null,t=!1){is.element(e)&&e.focus({preventScroll:!0,focusVisible:t})}const defaultCodecs={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},support={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,t){const i=support[e]||"html5"!==t;return{api:i,ui:i&&support.rangeInput}},pip:!(browser.isIPhone||!is.function(createElement("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||createElement("video").disablePictureInPicture)),airplay:is.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(is.empty(e))return!1;const[t]=e.split("/");let i=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(defaultCodecs).includes(i)&&(i+=`; codecs="${defaultCodecs[e]}"`);try{return Boolean(i&&this.media.canPlayType(i).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range","range"===e.type})(),touch:"ontouchstart"in document.documentElement,transitions:!1!==transitionEndEvent,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},supportsPassiveListeners=(()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>(e=!0,null)});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e})();function toggleListener(e,t,i,r=!1,n=!0,s=!1){if(!e||!("addEventListener"in e)||is.empty(t)||!is.function(i))return;const o=t.split(" ");let a=s;supportsPassiveListeners&&(a={passive:n,capture:s}),o.forEach((t=>{this&&this.eventListeners&&r&&this.eventListeners.push({element:e,type:t,callback:i,options:a}),e[r?"addEventListener":"removeEventListener"](t,i,a)}))}function on(e,t="",i,r=!0,n=!1){toggleListener.call(this,e,t,i,!0,r,n)}function off(e,t="",i,r=!0,n=!1){toggleListener.call(this,e,t,i,!1,r,n)}function once(e,t="",i,r=!0,n=!1){const s=(...o)=>{off(e,t,s,r,n),i.apply(this,o)};toggleListener.call(this,e,t,s,!0,r,n)}function triggerEvent(e,t="",i=!1,r={}){if(!is.element(e)||is.empty(t))return;const n=new CustomEvent(t,{bubbles:i,detail:{...r,plyr:this}});e.dispatchEvent(n)}function unbindListeners(){this&&this.eventListeners&&(this.eventListeners.forEach((e=>{const{element:t,type:i,callback:r,options:n}=e;t.removeEventListener(i,r,n)})),this.eventListeners=[])}function ready(){return new Promise((e=>this.ready?setTimeout(e,0):on.call(this,this.elements.container,"ready",e))).then((()=>{}))}function silencePromise(e){is.promise(e)&&e.then(null,(()=>{}))}function dedupe(e){return is.array(e)?e.filter(((t,i)=>e.indexOf(t)===i)):e}function closest(e,t){return is.array(e)&&e.length?e.reduce(((e,i)=>Math.abs(i-t)({...e,[t/i]:[t,i]})),{});function validateAspectRatio(e){return!!(is.array(e)||is.string(e)&&e.includes(":"))&&(is.array(e)?e:e.split(":")).map(Number).every(is.number)}function reduceAspectRatio(e){if(!is.array(e)||!e.every(is.number))return null;const[t,i]=e,r=(e,t)=>0===t?e:r(t,e%t),n=r(t,i);return[t/n,i/n]}function getAspectRatio(e){const t=e=>validateAspectRatio(e)?e.split(":").map(Number):null;let i=t(e);if(null===i&&(i=t(this.config.ratio)),null===i&&!is.empty(this.embed)&&is.array(this.embed.ratio)&&({ratio:i}=this.embed),null===i&&this.isHTML5){const{videoWidth:e,videoHeight:t}=this.media;i=[e,t]}return reduceAspectRatio(i)}function setAspectRatio(e){if(!this.isVideo)return{};const{wrapper:t}=this.elements,i=getAspectRatio.call(this,e);if(!is.array(i))return{};const[r,n]=reduceAspectRatio(i),s=100/r*n;if(supportsCSS(`aspect-ratio: ${r}/${n}`)?t.style.aspectRatio=`${r}/${n}`:t.style.paddingBottom=`${s}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const e=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),i=(e-s)/(e/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=`translateY(-${i}%)`}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:s,ratio:i}}function roundAspectRatio(e,t,i=.05){const r=e/t,n=closest(Object.keys(standardRatios),r);return Math.abs(n-r)<=i?standardRatios[n]:[e,t]}function getViewportSize(){return[Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)]}const html5={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((e=>{const t=e.getAttribute("type");return!!is.empty(t)||support.mime.call(this,t)})):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:html5.getSources.call(this).map((e=>Number(e.getAttribute("size")))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,is.empty(this.config.ratio)||setAspectRatio.call(e),Object.defineProperty(e.media,"quality",{get(){const t=html5.getSources.call(e).find((t=>t.getAttribute("src")===e.source));return t&&Number(t.getAttribute("size"))},set(t){if(e.quality!==t){if(e.config.quality.forced&&is.function(e.config.quality.onChange))e.config.quality.onChange(t);else{const i=html5.getSources.call(e).find((e=>Number(e.getAttribute("size"))===t));if(!i)return;const{currentTime:r,paused:n,preload:s,readyState:o,playbackRate:a}=e.media;e.media.src=i.getAttribute("src"),("none"!==s||o)&&(e.once("loadedmetadata",(()=>{e.speed=a,e.currentTime=r,n||silencePromise(e.play())})),e.media.load())}triggerEvent.call(e,e.media,"qualitychange",!1,{quality:t})}}})},cancelRequests(){this.isHTML5&&(removeElement(html5.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function generateId(e){return`${e}-${Math.floor(1e4*Math.random())}`}function format(e,...t){return is.empty(e)?e:e.toString().replace(/{(\d+)}/g,((e,i)=>t[i].toString()))}function getPercentage(e,t){return 0===e||0===t||Number.isNaN(e)||Number.isNaN(t)?0:(e/t*100).toFixed(2)}const replaceAll=(e="",t="",i="")=>e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),i.toString()),toTitleCase=(e="")=>e.toString().replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));function toPascalCase(e=""){let t=e.toString();return t=replaceAll(t,"-"," "),t=replaceAll(t,"_"," "),t=toTitleCase(t),replaceAll(t," ","")}function toCamelCase(e=""){let t=e.toString();return t=toPascalCase(t),t.charAt(0).toLowerCase()+t.slice(1)}function stripHTML(e){const t=document.createDocumentFragment(),i=document.createElement("div");return t.appendChild(i),i.innerHTML=e,t.firstChild.innerText}function getHTML(e){const t=document.createElement("div");return t.appendChild(e),t.innerHTML}const resources={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},i18n={get(e="",t={}){if(is.empty(e)||is.empty(t))return"";let i=getDeep(t.i18n,e);if(is.empty(i))return Object.keys(resources).includes(e)?resources[e]:"";const r={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(r).forEach((([e,t])=>{i=replaceAll(i,e,t)})),i}};class Storage{constructor(e){_defineProperty$1(this,"get",(e=>{if(!Storage.supported||!this.enabled)return null;const t=window.localStorage.getItem(this.key);if(is.empty(t))return null;const i=JSON.parse(t);return is.string(e)&&e.length?i[e]:i})),_defineProperty$1(this,"set",(e=>{if(!Storage.supported||!this.enabled)return;if(!is.object(e))return;let t=this.get();is.empty(t)&&(t={}),extend(t,e);try{window.localStorage.setItem(this.key,JSON.stringify(t))}catch(e){}})),this.enabled=e.config.storage.enabled,this.key=e.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}function fetch(e,t="text"){return new Promise(((i,r)=>{try{const r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",(()=>{if("text"===t)try{i(JSON.parse(r.responseText))}catch(e){i(r.responseText)}else i(r.response)})),r.addEventListener("error",(()=>{throw new Error(r.status)})),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){r(e)}}))}function loadSprite(e,t){if(!is.string(e))return;const i="cache",r=is.string(t);let n=!1;const s=()=>null!==document.getElementById(t),o=(e,t)=>{e.innerHTML=t,r&&s()||document.body.insertAdjacentElement("afterbegin",e)};if(!r||!s()){const s=Storage.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),r&&a.setAttribute("id",t),s){const e=window.localStorage.getItem(`${i}-${t}`);if(n=null!==e,n){const t=JSON.parse(e);o(a,t.content)}}fetch(e).then((e=>{if(!is.empty(e)){if(s)try{window.localStorage.setItem(`${i}-${t}`,JSON.stringify({content:e}))}catch(e){}o(a,e)}})).catch((()=>{}))}}const getHours=e=>Math.trunc(e/60/60%60,10),getMinutes=e=>Math.trunc(e/60%60,10),getSeconds=e=>Math.trunc(e%60,10);function formatTime(e=0,t=!1,i=!1){if(!is.number(e))return formatTime(void 0,t,i);const r=e=>`0${e}`.slice(-2);let n=getHours(e);const s=getMinutes(e),o=getSeconds(e);return n=t||n>0?`${n}:`:"",`${i&&e>0?"-":""}${n}${r(s)}:${r(o)}`}const controls={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,i=e.host!==t||browser.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:i}},findElements(){try{return this.elements.controls=getElement.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:getElements.call(this,this.config.selectors.buttons.play),pause:getElement.call(this,this.config.selectors.buttons.pause),restart:getElement.call(this,this.config.selectors.buttons.restart),rewind:getElement.call(this,this.config.selectors.buttons.rewind),fastForward:getElement.call(this,this.config.selectors.buttons.fastForward),mute:getElement.call(this,this.config.selectors.buttons.mute),pip:getElement.call(this,this.config.selectors.buttons.pip),airplay:getElement.call(this,this.config.selectors.buttons.airplay),settings:getElement.call(this,this.config.selectors.buttons.settings),captions:getElement.call(this,this.config.selectors.buttons.captions),fullscreen:getElement.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=getElement.call(this,this.config.selectors.progress),this.elements.inputs={seek:getElement.call(this,this.config.selectors.inputs.seek),volume:getElement.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:getElement.call(this,this.config.selectors.display.buffer),currentTime:getElement.call(this,this.config.selectors.display.currentTime),duration:getElement.call(this,this.config.selectors.display.duration)},is.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,t){const i="http://www.w3.org/2000/svg",r=controls.getIconUrl.call(this),n=`${r.cors?"":r.url}#${this.config.iconPrefix}`,s=document.createElementNS(i,"svg");setAttributes(s,extend(t,{"aria-hidden":"true",focusable:"false"}));const o=document.createElementNS(i,"use"),a=`${n}-${e}`;return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",a),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),s.appendChild(o),s},createLabel(e,t={}){const i=i18n.get(e,this.config);return createElement("span",{...t,class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")},i)},createBadge(e){if(is.empty(e))return null;const t=createElement("span",{class:this.config.classNames.menu.value});return t.appendChild(createElement("span",{class:this.config.classNames.menu.badge},e)),t},createButton(e,t){const i=extend({},t);let r=toCamelCase(e);const n={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((e=>{Object.keys(i).includes(e)&&(n[e]=i[e],delete i[e])})),"button"!==n.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some((e=>e===this.config.classNames.control))||extend(i,{class:`${i.class} ${this.config.classNames.control}`}):i.class=this.config.classNames.control,e){case"play":n.toggle=!0,n.label="play",n.labelPressed="pause",n.icon="play",n.iconPressed="pause";break;case"mute":n.toggle=!0,n.label="mute",n.labelPressed="unmute",n.icon="volume",n.iconPressed="muted";break;case"captions":n.toggle=!0,n.label="enableCaptions",n.labelPressed="disableCaptions",n.icon="captions-off",n.iconPressed="captions-on";break;case"fullscreen":n.toggle=!0,n.label="enterFullscreen",n.labelPressed="exitFullscreen",n.icon="enter-fullscreen",n.iconPressed="exit-fullscreen";break;case"play-large":i.class+=` ${this.config.classNames.control}--overlaid`,r="play",n.label="play",n.icon="play";break;default:is.empty(n.label)&&(n.label=r),is.empty(n.icon)&&(n.icon=e)}const s=createElement(n.element);return n.toggle?(s.appendChild(controls.createIcon.call(this,n.iconPressed,{class:"icon--pressed"})),s.appendChild(controls.createIcon.call(this,n.icon,{class:"icon--not-pressed"})),s.appendChild(controls.createLabel.call(this,n.labelPressed,{class:"label--pressed"})),s.appendChild(controls.createLabel.call(this,n.label,{class:"label--not-pressed"}))):(s.appendChild(controls.createIcon.call(this,n.icon)),s.appendChild(controls.createLabel.call(this,n.label))),extend(i,getAttributesFromSelector(this.config.selectors.buttons[r],i)),setAttributes(s,i),"play"===r?(is.array(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(s)):this.elements.buttons[r]=s,s},createRange(e,t){const i=createElement("input",extend(getAttributesFromSelector(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":i18n.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=i,controls.updateRangeFill.call(this,i),RangeTouch.setup(i),i},createProgress(e,t){const i=createElement("progress",extend(getAttributesFromSelector(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){i.appendChild(createElement("span",null,"0"));const t={played:"played",buffer:"buffered"}[e],r=t?i18n.get(t,this.config):"";i.innerText=`% ${r.toLowerCase()}`}return this.elements.display[e]=i,i},createTime(e,t){const i=getAttributesFromSelector(this.config.selectors.display[e],t),r=createElement("div",extend(i,{class:`${i.class?i.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":i18n.get(e,this.config),role:"timer"}),"00:00");return this.elements.display[e]=r,r},bindMenuItemShortcuts(e,t){on.call(this,e,"keydown keyup",(i=>{if(![" ","ArrowUp","ArrowDown","ArrowRight"].includes(i.key))return;if(i.preventDefault(),i.stopPropagation(),"keydown"===i.type)return;const r=matches(e,'[role="menuitemradio"]');if(!r&&[" ","ArrowRight"].includes(i.key))controls.showMenuPanel.call(this,t,!0);else{let t;" "!==i.key&&("ArrowDown"===i.key||r&&"ArrowRight"===i.key?(t=e.nextElementSibling,is.element(t)||(t=e.parentNode.firstElementChild)):(t=e.previousElementSibling,is.element(t)||(t=e.parentNode.lastElementChild)),setFocus.call(this,t,!0))}}),!1),on.call(this,e,"keyup",(e=>{"Return"===e.key&&controls.focusFirstMenuItem.call(this,null,!0)}))},createMenuItem({value:e,list:t,type:i,title:r,badge:n=null,checked:s=!1}){const o=getAttributesFromSelector(this.config.selectors.inputs[i]),a=createElement("button",extend(o,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${o.class?o.class:""}`.trim(),"aria-checked":s,value:e})),l=createElement("span");l.innerHTML=r,is.element(n)&&l.appendChild(n),a.appendChild(l),Object.defineProperty(a,"checked",{enumerable:!0,get:()=>"true"===a.getAttribute("aria-checked"),set(e){e&&Array.from(a.parentNode.children).filter((e=>matches(e,'[role="menuitemradio"]'))).forEach((e=>e.setAttribute("aria-checked","false"))),a.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(a,"click keyup",(t=>{if(!is.keyboardEvent(t)||" "===t.key){switch(t.preventDefault(),t.stopPropagation(),a.checked=!0,i){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=parseFloat(e)}controls.showMenuPanel.call(this,"home",is.keyboardEvent(t))}}),i,!1),controls.bindMenuItemShortcuts.call(this,a,i),t.appendChild(a)},formatTime(e=0,t=!1){return is.number(e)?formatTime(e,getHours(this.duration)>0,t):e},updateTimeDisplay(e=null,t=0,i=!1){is.element(e)&&is.number(t)&&(e.innerText=controls.formatTime(t,i))},updateVolume(){this.supported.ui&&(is.element(this.elements.inputs.volume)&&controls.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),is.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange(e,t=0){is.element(e)&&(e.value=t,controls.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!is.event(e))return;let t=0;const i=(e,t)=>{const i=is.number(t)?t:0,r=is.element(e)?e:this.elements.display.buffer;if(is.element(r)){r.value=i;const e=r.getElementsByTagName("span")[0];is.element(e)&&(e.childNodes[0].nodeValue=i)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":t=getPercentage(this.currentTime,this.duration),"timeupdate"===e.type&&controls.setRange.call(this,this.elements.inputs.seek,t);break;case"playing":case"progress":i(this.elements.display.buffer,100*this.buffered)}},updateRangeFill(e){const t=is.event(e)?e.target:e;if(is.element(t)&&"range"===t.getAttribute("type")){if(matches(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);const e=controls.formatTime(this.currentTime),i=controls.formatTime(this.duration),r=i18n.get("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",e).replace("{duration}",i))}else if(matches(t,this.config.selectors.inputs.volume)){const e=100*t.value;t.setAttribute("aria-valuenow",e),t.setAttribute("aria-valuetext",`${e.toFixed(1)}%`)}else t.setAttribute("aria-valuenow",t.value);(browser.isWebKit||browser.isIPadOS)&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip(e){var t,i;if(!this.config.tooltips.seek||!is.element(this.elements.inputs.seek)||!is.element(this.elements.display.seekTooltip)||0===this.duration)return;const r=this.elements.display.seekTooltip,n=`${this.config.classNames.tooltip}--visible`,s=e=>toggleClass(r,n,e);if(this.touch)return void s(!1);let o=0;const a=this.elements.progress.getBoundingClientRect();if(is.event(e))o=100/a.width*(e.pageX-a.left);else{if(!hasClass(r,n))return;o=parseFloat(r.style.left,10)}o<0?o=0:o>100&&(o=100);const l=this.duration/100*o;r.innerText=controls.formatTime(l);const c=null===(t=this.config.markers)||void 0===t||null===(i=t.points)||void 0===i?void 0:i.find((({time:e})=>e===Math.round(l)));c&&r.insertAdjacentHTML("afterbegin",`${c.label}
`),r.style.left=`${o}%`,is.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&s("mouseenter"===e.type)},timeUpdate(e){const t=!is.element(this.elements.display.duration)&&this.config.invertTime;controls.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||controls.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32)return toggleHidden(this.elements.display.currentTime,!0),void toggleHidden(this.elements.progress,!0);is.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=is.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&controls.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&controls.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&controls.setMarkers.call(this),controls.updateSeekTooltip.call(this)},toggleMenuButton(e,t){toggleHidden(this.elements.settings.buttons[e],!t)},updateSetting(e,t,i){const r=this.elements.settings.panels[e];let n=null,s=t;if("captions"===e)n=this.currentTrack;else{if(n=is.empty(i)?this[e]:i,is.empty(n)&&(n=this.config[e].default),!is.empty(this.options[e])&&!this.options[e].includes(n))return void this.debug.warn(`Unsupported value of '${n}' for ${e}`);if(!this.config[e].options.includes(n))return void this.debug.warn(`Disabled value of '${n}' for ${e}`)}if(is.element(s)||(s=r&&r.querySelector('[role="menu"]')),!is.element(s))return;this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=controls.getLabel.call(this,e,n);const o=s&&s.querySelector(`[value="${n}"]`);is.element(o)&&(o.checked=!0)},getLabel(e,t){switch(e){case"speed":return 1===t?i18n.get("normal",this.config):`${t}×`;case"quality":if(is.number(t)){const e=i18n.get(`qualityLabel.${t}`,this.config);return e.length?e:`${t}p`}return toTitleCase(t);case"captions":return captions.getLabel.call(this);default:return null}},setQualityMenu(e){if(!is.element(this.elements.settings.panels.quality))return;const t="quality",i=this.elements.settings.panels.quality.querySelector('[role="menu"]');is.array(e)&&(this.options.quality=dedupe(e).filter((e=>this.config.quality.options.includes(e))));const r=!is.empty(this.options.quality)&&this.options.quality.length>1;if(controls.toggleMenuButton.call(this,t,r),emptyElement(i),controls.checkMenu.call(this),!r)return;const n=e=>{const t=i18n.get(`qualityBadge.${e}`,this.config);return t.length?controls.createBadge.call(this,t):null};this.options.quality.sort(((e,t)=>{const i=this.config.quality.options;return i.indexOf(e)>i.indexOf(t)?1:-1})).forEach((e=>{controls.createMenuItem.call(this,{value:e,list:i,type:t,title:controls.getLabel.call(this,"quality",e),badge:n(e)})})),controls.updateSetting.call(this,t,i)},setCaptionsMenu(){if(!is.element(this.elements.settings.panels.captions))return;const e="captions",t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),i=captions.getTracks.call(this),r=Boolean(i.length);if(controls.toggleMenuButton.call(this,e,r),emptyElement(t),controls.checkMenu.call(this),!r)return;const n=i.map(((e,i)=>({value:i,checked:this.captions.toggled&&this.currentTrack===i,title:captions.getLabel.call(this,e),badge:e.language&&controls.createBadge.call(this,e.language.toUpperCase()),list:t,type:"language"})));n.unshift({value:-1,checked:!this.captions.toggled,title:i18n.get("disabled",this.config),list:t,type:"language"}),n.forEach(controls.createMenuItem.bind(this)),controls.updateSetting.call(this,e,t)},setSpeedMenu(){if(!is.element(this.elements.settings.panels.speed))return;const e="speed",t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((e=>e>=this.minimumSpeed&&e<=this.maximumSpeed));const i=!is.empty(this.options.speed)&&this.options.speed.length>1;controls.toggleMenuButton.call(this,e,i),emptyElement(t),controls.checkMenu.call(this),i&&(this.options.speed.forEach((i=>{controls.createMenuItem.call(this,{value:i,list:t,type:e,title:controls.getLabel.call(this,"speed",i)})})),controls.updateSetting.call(this,e,t))},checkMenu(){const{buttons:e}=this.elements.settings,t=!is.empty(e)&&Object.values(e).some((e=>!e.hidden));toggleHidden(this.elements.settings.menu,!t)},focusFirstMenuItem(e,t=!1){if(this.elements.settings.popup.hidden)return;let i=e;is.element(i)||(i=Object.values(this.elements.settings.panels).find((e=>!e.hidden)));const r=i.querySelector('[role^="menuitem"]');setFocus.call(this,r,t)},toggleMenu(e){const{popup:t}=this.elements.settings,i=this.elements.buttons.settings;if(!is.element(t)||!is.element(i))return;const{hidden:r}=t;let n=r;if(is.boolean(e))n=e;else if(is.keyboardEvent(e)&&"Escape"===e.key)n=!1;else if(is.event(e)){const r=is.function(e.composedPath)?e.composedPath()[0]:e.target,s=t.contains(r);if(s||!s&&e.target!==i&&n)return}i.setAttribute("aria-expanded",n),toggleHidden(t,!n),toggleClass(this.elements.container,this.config.classNames.menu.open,n),n&&is.keyboardEvent(e)?controls.focusFirstMenuItem.call(this,null,!0):n||r||setFocus.call(this,i,is.keyboardEvent(e))},getMenuSize(e){const t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);const i=t.scrollWidth,r=t.scrollHeight;return removeElement(t),{width:i,height:r}},showMenuPanel(e="",t=!1){const i=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!is.element(i))return;const r=i.parentNode,n=Array.from(r.children).find((e=>!e.hidden));if(support.transitions&&!support.reducedMotion){r.style.width=`${n.scrollWidth}px`,r.style.height=`${n.scrollHeight}px`;const e=controls.getMenuSize.call(this,i),t=e=>{e.target===r&&["width","height"].includes(e.propertyName)&&(r.style.width="",r.style.height="",off.call(this,r,transitionEndEvent,t))};on.call(this,r,transitionEndEvent,t),r.style.width=`${e.width}px`,r.style.height=`${e.height}px`}toggleHidden(n,!0),toggleHidden(i,!1),controls.focusFirstMenuItem.call(this,i,t)},setDownloadUrl(){const e=this.elements.buttons.download;is.element(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:t,createButton:i,createProgress:r,createRange:n,createTime:s,setQualityMenu:o,setSpeedMenu:a,showMenuPanel:l}=controls;this.elements.controls=null,is.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(i.call(this,"play-large"));const c=createElement("div",getAttributesFromSelector(this.config.selectors.controls.wrapper));this.elements.controls=c;const d={class:"plyr__controls__item"};return dedupe(is.array(this.config.controls)?this.config.controls:[]).forEach((o=>{if("restart"===o&&c.appendChild(i.call(this,"restart",d)),"rewind"===o&&c.appendChild(i.call(this,"rewind",d)),"play"===o&&c.appendChild(i.call(this,"play",d)),"fast-forward"===o&&c.appendChild(i.call(this,"fast-forward",d)),"progress"===o){const t=createElement("div",{class:`${d.class} plyr__progress__container`}),i=createElement("div",getAttributesFromSelector(this.config.selectors.progress));if(i.appendChild(n.call(this,"seek",{id:`plyr-seek-${e.id}`})),i.appendChild(r.call(this,"buffer")),this.config.tooltips.seek){const e=createElement("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(e),this.elements.display.seekTooltip=e}this.elements.progress=i,t.appendChild(this.elements.progress),c.appendChild(t)}if("current-time"===o&&c.appendChild(s.call(this,"currentTime",d)),"duration"===o&&c.appendChild(s.call(this,"duration",d)),"mute"===o||"volume"===o){let{volume:t}=this.elements;if(is.element(t)&&c.contains(t)||(t=createElement("div",extend({},d,{class:`${d.class} plyr__volume`.trim()})),this.elements.volume=t,c.appendChild(t)),"mute"===o&&t.appendChild(i.call(this,"mute")),"volume"===o&&!browser.isIos&&!browser.isIPadOS){const i={max:1,step:.05,value:this.config.volume};t.appendChild(n.call(this,"volume",extend(i,{id:`plyr-volume-${e.id}`})))}}if("captions"===o&&c.appendChild(i.call(this,"captions",d)),"settings"===o&&!is.empty(this.config.settings)){const r=createElement("div",extend({},d,{class:`${d.class} plyr__menu`.trim(),hidden:""}));r.appendChild(i.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const n=createElement("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),s=createElement("div"),o=createElement("div",{id:`plyr-settings-${e.id}-home`}),a=createElement("div",{role:"menu"});o.appendChild(a),s.appendChild(o),this.elements.settings.panels.home=o,this.config.settings.forEach((i=>{const r=createElement("button",extend(getAttributesFromSelector(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));t.call(this,r,i),on.call(this,r,"click",(()=>{l.call(this,i,!1)}));const n=createElement("span",null,i18n.get(i,this.config)),o=createElement("span",{class:this.config.classNames.menu.value});o.innerHTML=e[i],n.appendChild(o),r.appendChild(n),a.appendChild(r);const c=createElement("div",{id:`plyr-settings-${e.id}-${i}`,hidden:""}),d=createElement("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});d.appendChild(createElement("span",{"aria-hidden":!0},i18n.get(i,this.config))),d.appendChild(createElement("span",{class:this.config.classNames.hidden},i18n.get("menuBack",this.config))),on.call(this,c,"keydown",(e=>{"ArrowLeft"===e.key&&(e.preventDefault(),e.stopPropagation(),l.call(this,"home",!0))}),!1),on.call(this,d,"click",(()=>{l.call(this,"home",!1)})),c.appendChild(d),c.appendChild(createElement("div",{role:"menu"})),s.appendChild(c),this.elements.settings.buttons[i]=r,this.elements.settings.panels[i]=c})),n.appendChild(s),r.appendChild(n),c.appendChild(r),this.elements.settings.popup=n,this.elements.settings.menu=r}if("pip"===o&&support.pip&&c.appendChild(i.call(this,"pip",d)),"airplay"===o&&support.airplay&&c.appendChild(i.call(this,"airplay",d)),"download"===o){const e=extend({},d,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(e.download="");const{download:t}=this.config.urls;!is.url(t)&&this.isEmbed&&extend(e,{icon:`logo-${this.provider}`,label:this.provider}),c.appendChild(i.call(this,"download",e))}"fullscreen"===o&&c.appendChild(i.call(this,"fullscreen",d))})),this.isHTML5&&o.call(this,html5.getQualityOptions.call(this)),a.call(this),c},inject(){if(this.config.loadSprite){const e=controls.getIconUrl.call(this);e.cors&&loadSprite(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());let e=null;this.elements.controls=null;const t={id:this.id,seektime:this.config.seekTime,title:this.config.title};let i,r=!0;if(is.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,t)),this.config.controls||(this.config.controls=[]),is.element(this.config.controls)||is.string(this.config.controls)?e=this.config.controls:(e=controls.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:captions.getLabel.call(this)}),r=!1),r&&is.string(this.config.controls)&&(e=(e=>{let i=e;return Object.entries(t).forEach((([e,t])=>{i=replaceAll(i,`{${e}}`,t)})),i})(e)),is.string(this.config.selectors.controls.container)&&(i=document.querySelector(this.config.selectors.controls.container)),is.element(i)||(i=this.elements.container),i[is.element(e)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",e),is.element(this.elements.controls)||controls.findElements.call(this),!is.empty(this.elements.buttons)){const e=e=>{const t=this.config.classNames.controlPressed;e.setAttribute("aria-pressed","false"),Object.defineProperty(e,"pressed",{configurable:!0,enumerable:!0,get:()=>hasClass(e,t),set(i=!1){toggleClass(e,t,i),e.setAttribute("aria-pressed",i?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach((t=>{is.array(t)||is.nodeList(t)?Array.from(t).filter(Boolean).forEach(e):e(t)}))}if(browser.isEdge&&repaint(i),this.config.tooltips.controls){const{classNames:e,selectors:t}=this.config,i=`${t.controls.wrapper} ${t.labels} .${e.hidden}`,r=getElements.call(this,i);Array.from(r).forEach((e=>{toggleClass(e,this.config.classNames.hidden,!1),toggleClass(e,this.config.classNames.tooltip,!0)}))}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch(e){}},setMarkers(){var e,t;if(!this.duration||this.elements.markers)return;const i=null===(e=this.config.markers)||void 0===e||null===(t=e.points)||void 0===t?void 0:t.filter((({time:e})=>e>0&&etoggleClass(s,o,e);i.forEach((e=>{const t=createElement("span",{class:this.config.classNames.marker},""),i=e.time/this.duration*100+"%";s&&(t.addEventListener("mouseenter",(()=>{e.label||(s.style.left=i,s.innerHTML=e.label,a(!0))})),t.addEventListener("mouseleave",(()=>{a(!1)}))),t.addEventListener("click",(()=>{this.currentTime=e.time})),t.style.left=i,n.appendChild(t)})),r.appendChild(n),this.config.tooltips.seek||(s=createElement("span",{class:this.config.classNames.tooltip},""),r.appendChild(s)),this.elements.markers={points:n,tip:s},this.elements.progress.appendChild(r)}};function parseUrl(e,t=!0){let i=e;if(t){const e=document.createElement("a");e.href=i,i=e.href}try{return new URL(i)}catch(e){return null}}function buildUrlParams(e){const t=new URLSearchParams;return is.object(e)&&Object.entries(e).forEach((([e,i])=>{t.set(e,i)})),t}const captions={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!support.textTracks)return void(is.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&controls.setCaptionsMenu.call(this));if(is.element(this.elements.captions)||(this.elements.captions=createElement("div",getAttributesFromSelector(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),insertAfter(this.elements.captions,this.elements.wrapper)),browser.isIE&&window.URL){const e=this.media.querySelectorAll("track");Array.from(e).forEach((e=>{const t=e.getAttribute("src"),i=parseUrl(t);null!==i&&i.hostname!==window.location.href.hostname&&["http:","https:"].includes(i.protocol)&&fetch(t,"blob").then((t=>{e.setAttribute("src",window.URL.createObjectURL(t))})).catch((()=>{removeElement(e)}))}))}const e=dedupe((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((e=>e.split("-")[0])));let t=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===t&&([t]=e);let i=this.storage.get("captions");if(is.boolean(i)||({active:i}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:i,language:t,languages:e}),this.isHTML5){const e=this.config.captions.update?"addtrack removetrack":"removetrack";on.call(this,this.media.textTracks,e,captions.update.bind(this))}setTimeout(captions.update.bind(this),0)},update(){const e=captions.getTracks.call(this,!0),{active:t,language:i,meta:r,currentTrackNode:n}=this.captions,s=Boolean(e.find((e=>e.language===i)));this.isHTML5&&this.isVideo&&e.filter((e=>!r.get(e))).forEach((e=>{this.debug.log("Track added",e),r.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),on.call(this,e,"cuechange",(()=>captions.updateCues.call(this)))})),(s&&this.language!==i||!e.includes(n))&&(captions.setLanguage.call(this,i),captions.toggle.call(this,t&&s)),this.elements&&toggleClass(this.elements.container,this.config.classNames.captions.enabled,!is.empty(e)),is.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&controls.setCaptionsMenu.call(this)},toggle(e,t=!0){if(!this.supported.ui)return;const{toggled:i}=this.captions,r=this.config.classNames.captions.active,n=is.nullOrUndefined(e)?!i:e;if(n!==i){if(t||(this.captions.active=n,this.storage.set({captions:n})),!this.language&&n&&!t){const e=captions.getTracks.call(this),t=captions.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);return this.captions.language=t.language,void captions.set.call(this,e.indexOf(t))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=n),toggleClass(this.elements.container,r,n),this.captions.toggled=n,controls.updateSetting.call(this,"captions"),triggerEvent.call(this,this.media,n?"captionsenabled":"captionsdisabled")}setTimeout((()=>{n&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")}))},set(e,t=!0){const i=captions.getTracks.call(this);if(-1!==e)if(is.number(e))if(e in i){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const r=i[e],{language:n}=r||{};this.captions.currentTrackNode=r,controls.updateSetting.call(this,"captions"),t||(this.captions.language=n,this.storage.set({language:n})),this.isVimeo&&this.embed.enableTextTrack(n),triggerEvent.call(this,this.media,"languagechange")}captions.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&captions.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else captions.toggle.call(this,!1,t)},setLanguage(e,t=!0){if(!is.string(e))return void this.debug.warn("Invalid language argument",e);const i=e.toLowerCase();this.captions.language=i;const r=captions.getTracks.call(this),n=captions.findTrack.call(this,[i]);captions.set.call(this,r.indexOf(n),t)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter((t=>!this.isHTML5||e||this.captions.meta.has(t))).filter((e=>["captions","subtitles"].includes(e.kind)))},findTrack(e,t=!1){const i=captions.getTracks.call(this),r=e=>Number((this.captions.meta.get(e)||{}).default),n=Array.from(i).sort(((e,t)=>r(t)-r(e)));let s;return e.every((e=>(s=n.find((t=>t.language===e)),!s))),s||(t?n[0]:void 0)},getCurrentTrack(){return captions.getTracks.call(this)[this.currentTrack]},getLabel(e){let t=e;return!is.track(t)&&support.textTracks&&this.captions.toggled&&(t=captions.getCurrentTrack.call(this)),is.track(t)?is.empty(t.label)?is.empty(t.language)?i18n.get("enabled",this.config):e.language.toUpperCase():t.label:i18n.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!is.element(this.elements.captions))return void this.debug.warn("No captions element to render to");if(!is.nullOrUndefined(e)&&!Array.isArray(e))return void this.debug.warn("updateCues: Invalid input",e);let t=e;if(!t){const e=captions.getCurrentTrack.call(this);t=Array.from((e||{}).activeCues||[]).map((e=>e.getCueAsHTML())).map(getHTML)}const i=t.map((e=>e.trim())).join("\n");if(i!==this.elements.captions.innerHTML){emptyElement(this.elements.captions);const e=createElement("span",getAttributesFromSelector(this.config.selectors.caption));e.innerHTML=i,this.elements.captions.appendChild(e),triggerEvent.call(this,this.media,"cuechange")}}},defaults={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.7.8/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},pip={active:"picture-in-picture",inactive:"inline"},providers={html5:"html5",youtube:"youtube",vimeo:"vimeo"},types={audio:"audio",video:"video"};function getProviderByUrl(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?providers.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?providers.vimeo:null}const noop=()=>{};class Console{constructor(e=!1){this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):noop}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):noop}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):noop}}class Fullscreen{constructor(e){_defineProperty$1(this,"onChange",(()=>{if(!this.supported)return;const e=this.player.elements.buttons.fullscreen;is.element(e)&&(e.pressed=this.active);const t=this.target===this.player.media?this.target:this.player.elements.container;triggerEvent.call(this.player,t,this.active?"enterfullscreen":"exitfullscreen",!0)})),_defineProperty$1(this,"toggleFallback",((e=!1)=>{var t,i;if(e?this.scrollPosition={x:null!==(t=window.scrollX)&&void 0!==t?t:0,y:null!==(i=window.scrollY)&&void 0!==i?i:0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",toggleClass(this.target,this.player.config.classNames.fullscreen.fallback,e),browser.isIos){let t=document.head.querySelector('meta[name="viewport"]');const i="viewport-fit=cover";t||(t=document.createElement("meta"),t.setAttribute("name","viewport"));const r=is.string(t.content)&&t.content.includes(i);e?(this.cleanupViewport=!r,r||(t.content+=`,${i}`)):this.cleanupViewport&&(t.content=t.content.split(",").filter((e=>e.trim()!==i)).join(","))}this.onChange()})),_defineProperty$1(this,"trapFocus",(e=>{if(browser.isIos||browser.isIPadOS||!this.active||"Tab"!==e.key)return;const t=document.activeElement,i=getElements.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[r]=i,n=i[i.length-1];t!==n||e.shiftKey?t===r&&e.shiftKey&&(n.focus(),e.preventDefault()):(r.focus(),e.preventDefault())})),_defineProperty$1(this,"update",(()=>{if(this.supported){let e;e=this.forceFallback?"Fallback (forced)":Fullscreen.nativeSupported?"Native":"Fallback",this.player.debug.log(`${e} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");toggleClass(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.supported)})),_defineProperty$1(this,"enter",(()=>{this.supported&&(browser.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!Fullscreen.nativeSupported||this.forceFallback?this.toggleFallback(!0):this.prefix?is.empty(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))})),_defineProperty$1(this,"exit",(()=>{if(this.supported)if(browser.isIos&&this.player.config.fullscreen.iosNative)this.player.isVimeo?this.player.embed.exitFullscreen():this.target.webkitEnterFullscreen(),silencePromise(this.player.play());else if(!Fullscreen.nativeSupported||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!is.empty(this.prefix)){const e="moz"===this.prefix?"Cancel":"Exit";document[`${this.prefix}${e}${this.property}`]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)})),_defineProperty$1(this,"toggle",(()=>{this.active?this.exit():this.enter()})),this.player=e,this.prefix=Fullscreen.prefix,this.property=Fullscreen.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===e.config.fullscreen.fallback,this.player.elements.fullscreen=e.config.fullscreen.container&&closest$1(this.player.elements.container,e.config.fullscreen.container),on.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":`${this.prefix}fullscreenchange`,(()=>{this.onChange()})),on.call(this.player,this.player.elements.container,"dblclick",(e=>{is.element(this.player.elements.controls)&&this.player.elements.controls.contains(e.target)||this.player.listeners.proxy(e,this.toggle,"fullscreen")})),on.call(this,this.player.elements.container,"keydown",(e=>this.trapFocus(e))),this.update()}static get nativeSupported(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get useNative(){return Fullscreen.nativeSupported&&!this.forceFallback}static get prefix(){if(is.function(document.exitFullscreen))return"";let e="";return["webkit","moz","ms"].some((t=>!(!is.function(document[`${t}ExitFullscreen`])&&!is.function(document[`${t}CancelFullScreen`])||(e=t,0)))),e}static get property(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}get supported(){return[this.player.config.fullscreen.enabled,this.player.isVideo,Fullscreen.nativeSupported||this.player.config.fullscreen.fallback,!this.player.isYouTube||Fullscreen.nativeSupported||!browser.isIos||this.player.config.playsinline&&!this.player.config.fullscreen.iosNative].every(Boolean)}get active(){if(!this.supported)return!1;if(!Fullscreen.nativeSupported||this.forceFallback)return hasClass(this.target,this.player.config.classNames.fullscreen.fallback);const e=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}get target(){var e;return browser.isIos&&this.player.config.fullscreen.iosNative?this.player.media:null!==(e=this.player.elements.fullscreen)&&void 0!==e?e:this.player.elements.container}}function loadImage(e,t=1){return new Promise(((i,r)=>{const n=new Image,s=()=>{delete n.onload,delete n.onerror,(n.naturalWidth>=t?i:r)(n)};Object.assign(n,{onload:s,onerror:s,src:e})}))}const ui={addStyleHook(){toggleClass(this.elements.container,this.config.selectors.container.replace(".",""),!0),toggleClass(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui)return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),void ui.toggleNativeControls.call(this,!0);is.element(this.elements.controls)||(controls.inject.call(this),this.listeners.controls()),ui.toggleNativeControls.call(this),this.isHTML5&&captions.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,controls.updateVolume.call(this),controls.timeUpdate.call(this),controls.durationUpdate.call(this),ui.checkPlaying.call(this),toggleClass(this.elements.container,this.config.classNames.pip.supported,support.pip&&this.isHTML5&&this.isVideo),toggleClass(this.elements.container,this.config.classNames.airplay.supported,support.airplay&&this.isHTML5),toggleClass(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((()=>{triggerEvent.call(this,this.media,"ready")}),0),ui.setTitle.call(this),this.poster&&ui.setPoster.call(this,this.poster,!1).catch((()=>{})),this.config.duration&&controls.durationUpdate.call(this),this.config.mediaMetadata&&controls.setMediaMetadata.call(this)},setTitle(){let e=i18n.get("play",this.config);if(is.string(this.config.title)&&!is.empty(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach((t=>{t.setAttribute("aria-label",e)})),this.isEmbed){const e=getElement.call(this,"iframe");if(!is.element(e))return;const t=is.empty(this.config.title)?"video":this.config.title,i=i18n.get("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",t))}},togglePoster(e){toggleClass(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,t=!0){return t&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),ready.call(this).then((()=>loadImage(e))).catch((t=>{throw e===this.poster&&ui.togglePoster.call(this,!1),t})).then((()=>{if(e!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),ui.togglePoster.call(this,!0),e))))},checkPlaying(e){toggleClass(this.elements.container,this.config.classNames.playing,this.playing),toggleClass(this.elements.container,this.config.classNames.paused,this.paused),toggleClass(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((e=>{Object.assign(e,{pressed:this.playing}),e.setAttribute("aria-label",i18n.get(this.playing?"pause":"play",this.config))})),is.event(e)&&"timeupdate"===e.type||ui.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((()=>{toggleClass(this.elements.container,this.config.classNames.loading,this.loading),ui.toggleControls.call(this)}),this.loading?250:0)},toggleControls(e){const{controls:t}=this.elements;if(t&&this.config.hideControls){const i=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||i))}},migrateStyles(){Object.values({...this.media.style}).filter((e=>!is.empty(e)&&is.string(e)&&e.startsWith("--plyr"))).forEach((e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)})),is.empty(this.media.style)&&this.media.removeAttribute("style")}};class Listeners{constructor(e){_defineProperty$1(this,"firstTouch",(()=>{const{player:e}=this,{elements:t}=e;e.touch=!0,toggleClass(t.container,e.config.classNames.isTouch,!0)})),_defineProperty$1(this,"global",((e=!0)=>{const{player:t}=this;t.config.keyboard.global&&toggleListener.call(t,window,"keydown keyup",this.handleKey,e,!1),toggleListener.call(t,document.body,"click",this.toggleMenu,e),once.call(t,document.body,"touchstart",this.firstTouch)})),_defineProperty$1(this,"container",(()=>{const{player:e}=this,{config:t,elements:i,timers:r}=e;!t.keyboard.global&&t.keyboard.focused&&on.call(e,i.container,"keydown keyup",this.handleKey,!1),on.call(e,i.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(t=>{const{controls:n}=i;n&&"enterfullscreen"===t.type&&(n.pressed=!1,n.hover=!1);let s=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(ui.toggleControls.call(e,!0),s=e.touch?3e3:2e3),clearTimeout(r.controls),r.controls=setTimeout((()=>ui.toggleControls.call(e,!1)),s)}));const n=()=>{if(!e.isVimeo||e.config.vimeo.premium)return;const t=i.wrapper,{active:r}=e.fullscreen,[n,s]=getAspectRatio.call(e),o=supportsCSS(`aspect-ratio: ${n} / ${s}`);if(!r)return void(o?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null));const[a,l]=getViewportSize(),c=a/l>n/s;o?(t.style.width=c?"auto":"100%",t.style.height=c?"100%":"auto"):(t.style.maxWidth=c?l/s*n+"px":null,t.style.margin=c?"0 auto":null)},s=()=>{clearTimeout(r.resized),r.resized=setTimeout(n,50)};on.call(e,i.container,"enterfullscreen exitfullscreen",(t=>{const{target:r}=e.fullscreen;r===i.container&&(!e.isEmbed&&is.empty(e.config.ratio)||(n(),("enterfullscreen"===t.type?on:off).call(e,window,"resize",s)))}))})),_defineProperty$1(this,"media",(()=>{const{player:e}=this,{elements:t}=e;if(on.call(e,e.media,"timeupdate seeking seeked",(t=>controls.timeUpdate.call(e,t))),on.call(e,e.media,"durationchange loadeddata loadedmetadata",(t=>controls.durationUpdate.call(e,t))),on.call(e,e.media,"ended",(()=>{e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())})),on.call(e,e.media,"progress playing seeking seeked",(t=>controls.updateProgress.call(e,t))),on.call(e,e.media,"volumechange",(t=>controls.updateVolume.call(e,t))),on.call(e,e.media,"playing play pause ended emptied timeupdate",(t=>ui.checkPlaying.call(e,t))),on.call(e,e.media,"waiting canplay seeked playing",(t=>ui.checkLoading.call(e,t))),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){const i=getElement.call(e,`.${e.config.classNames.video}`);if(!is.element(i))return;on.call(e,t.container,"click",(r=>{([t.container,i].includes(r.target)||i.contains(r.target))&&(e.touch&&e.config.hideControls||(e.ended?(this.proxy(r,e.restart,"restart"),this.proxy(r,(()=>{silencePromise(e.play())}),"play")):this.proxy(r,(()=>{silencePromise(e.togglePlay())}),"play")))}))}e.supported.ui&&e.config.disableContextMenu&&on.call(e,t.wrapper,"contextmenu",(e=>{e.preventDefault()}),!1),on.call(e,e.media,"volumechange",(()=>{e.storage.set({volume:e.volume,muted:e.muted})})),on.call(e,e.media,"ratechange",(()=>{controls.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})})),on.call(e,e.media,"qualitychange",(t=>{controls.updateSetting.call(e,"quality",null,t.detail.quality)})),on.call(e,e.media,"ready qualitychange",(()=>{controls.setDownloadUrl.call(e)}));const i=e.config.events.concat(["keyup","keydown"]).join(" ");on.call(e,e.media,i,(i=>{let{detail:r={}}=i;"error"===i.type&&(r=e.media.error),triggerEvent.call(e,t.container,i.type,!0,r)}))})),_defineProperty$1(this,"proxy",((e,t,i)=>{const{player:r}=this,n=r.config.listeners[i];let s=!0;is.function(n)&&(s=n.call(r,e)),!1!==s&&is.function(t)&&t.call(r,e)})),_defineProperty$1(this,"bind",((e,t,i,r,n=!0)=>{const{player:s}=this,o=s.config.listeners[r],a=is.function(o);on.call(s,e,t,(e=>this.proxy(e,i,r)),n&&!a)})),_defineProperty$1(this,"controls",(()=>{const{player:e}=this,{elements:t}=e,i=browser.isIE?"change":"input";if(t.buttons.play&&Array.from(t.buttons.play).forEach((t=>{this.bind(t,"click",(()=>{silencePromise(e.togglePlay())}),"play")})),this.bind(t.buttons.restart,"click",e.restart,"restart"),this.bind(t.buttons.rewind,"click",(()=>{e.lastSeekTime=Date.now(),e.rewind()}),"rewind"),this.bind(t.buttons.fastForward,"click",(()=>{e.lastSeekTime=Date.now(),e.forward()}),"fastForward"),this.bind(t.buttons.mute,"click",(()=>{e.muted=!e.muted}),"mute"),this.bind(t.buttons.captions,"click",(()=>e.toggleCaptions())),this.bind(t.buttons.download,"click",(()=>{triggerEvent.call(e,e.media,"download")}),"download"),this.bind(t.buttons.fullscreen,"click",(()=>{e.fullscreen.toggle()}),"fullscreen"),this.bind(t.buttons.pip,"click",(()=>{e.pip="toggle"}),"pip"),this.bind(t.buttons.airplay,"click",e.airplay,"airplay"),this.bind(t.buttons.settings,"click",(t=>{t.stopPropagation(),t.preventDefault(),controls.toggleMenu.call(e,t)}),null,!1),this.bind(t.buttons.settings,"keyup",(t=>{[" ","Enter"].includes(t.key)&&("Enter"!==t.key?(t.preventDefault(),t.stopPropagation(),controls.toggleMenu.call(e,t)):controls.focusFirstMenuItem.call(e,null,!0))}),null,!1),this.bind(t.settings.menu,"keydown",(t=>{"Escape"===t.key&&controls.toggleMenu.call(e,t)})),this.bind(t.inputs.seek,"mousedown mousemove",(e=>{const i=t.progress.getBoundingClientRect(),r=100/i.width*(e.pageX-i.left);e.currentTarget.setAttribute("seek-value",r)})),this.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(t=>{const i=t.currentTarget,r="play-on-seeked";if(is.keyboardEvent(t)&&!["ArrowLeft","ArrowRight"].includes(t.key))return;e.lastSeekTime=Date.now();const n=i.hasAttribute(r),s=["mouseup","touchend","keyup"].includes(t.type);n&&s?(i.removeAttribute(r),silencePromise(e.play())):!s&&e.playing&&(i.setAttribute(r,""),e.pause())})),browser.isIos){const t=getElements.call(e,'input[type="range"]');Array.from(t).forEach((e=>this.bind(e,i,(e=>repaint(e.target)))))}this.bind(t.inputs.seek,i,(t=>{const i=t.currentTarget;let r=i.getAttribute("seek-value");is.empty(r)&&(r=i.value),i.removeAttribute("seek-value"),e.currentTime=r/i.max*e.duration}),"seek"),this.bind(t.progress,"mouseenter mouseleave mousemove",(t=>controls.updateSeekTooltip.call(e,t))),this.bind(t.progress,"mousemove touchmove",(t=>{const{previewThumbnails:i}=e;i&&i.loaded&&i.startMove(t)})),this.bind(t.progress,"mouseleave touchend click",(()=>{const{previewThumbnails:t}=e;t&&t.loaded&&t.endMove(!1,!0)})),this.bind(t.progress,"mousedown touchstart",(t=>{const{previewThumbnails:i}=e;i&&i.loaded&&i.startScrubbing(t)})),this.bind(t.progress,"mouseup touchend",(t=>{const{previewThumbnails:i}=e;i&&i.loaded&&i.endScrubbing(t)})),browser.isWebKit&&Array.from(getElements.call(e,'input[type="range"]')).forEach((t=>{this.bind(t,"input",(t=>controls.updateRangeFill.call(e,t.target)))})),e.config.toggleInvert&&!is.element(t.display.duration)&&this.bind(t.display.currentTime,"click",(()=>{0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,controls.timeUpdate.call(e))})),this.bind(t.inputs.volume,i,(t=>{e.volume=t.target.value}),"volume"),this.bind(t.controls,"mouseenter mouseleave",(i=>{t.controls.hover=!e.touch&&"mouseenter"===i.type})),t.fullscreen&&Array.from(t.fullscreen.children).filter((e=>!e.contains(t.container))).forEach((i=>{this.bind(i,"mouseenter mouseleave",(i=>{t.controls&&(t.controls.hover=!e.touch&&"mouseenter"===i.type)}))})),this.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",(e=>{t.controls.pressed=["mousedown","touchstart"].includes(e.type)})),this.bind(t.controls,"focusin",(()=>{const{config:i,timers:r}=e;toggleClass(t.controls,i.classNames.noTransition,!0),ui.toggleControls.call(e,!0),setTimeout((()=>{toggleClass(t.controls,i.classNames.noTransition,!1)}),0);const n=this.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout((()=>ui.toggleControls.call(e,!1)),n)})),this.bind(t.inputs.volume,"wheel",(t=>{const i=t.webkitDirectionInvertedFromDevice,[r,n]=[t.deltaX,-t.deltaY].map((e=>i?-e:e)),s=Math.sign(Math.abs(r)>Math.abs(n)?r:n);e.increaseVolume(s/50);const{volume:o}=e.media;(1===s&&o<1||-1===s&&o>0)&&t.preventDefault()}),"volume",!1)})),this.player=e,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(e){const{player:t}=this,{elements:i}=t,{key:r,type:n,altKey:s,ctrlKey:o,metaKey:a,shiftKey:l}=e,c="keydown"===n,d=c&&r===this.lastKey;var p;if(!(s||o||a||l)&&r)if(c){const n=document.activeElement;if(is.element(n)){const{editable:r}=t.config.selectors,{seek:s}=i.inputs;if(n!==s&&matches(n,r))return;if(" "===e.key&&matches(n,'button, [role^="menuitem"]'))return}switch([" ","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(r)&&(e.preventDefault(),e.stopPropagation()),r){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":d||(p=parseInt(r,10),t.currentTime=t.duration/10*p);break;case" ":case"k":d||silencePromise(t.togglePlay());break;case"ArrowUp":t.increaseVolume(.1);break;case"ArrowDown":t.decreaseVolume(.1);break;case"m":d||(t.muted=!t.muted);break;case"ArrowRight":t.forward();break;case"ArrowLeft":t.rewind();break;case"f":t.fullscreen.toggle();break;case"c":d||t.toggleCaptions();break;case"l":t.loop=!t.loop}"Escape"===r&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=r}else this.lastKey=null}toggleMenu(e){controls.toggleMenu.call(this.player,e)}}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var loadjs_umd=createCommonjsModule((function(e,t){e.exports=function(){var e=function(){},t={},i={},r={};function n(e,t){if(e){var n=r[e];if(i[e]=t,n)for(;n.length;)n[0](e,t),n.splice(0,1)}}function s(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function o(t,i,r,n){var s,a,l=document,c=r.async,d=(r.numRetries||0)+1,p=r.before||e,u=t.replace(/[\?|#].*$/,""),h=t.replace(/^(css|img)!/,"");n=n||0,/(^css!|\.css$)/.test(u)?((a=l.createElement("link")).rel="stylesheet",a.href=h,(s="hideFocus"in a)&&a.relList&&(s=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(u)?(a=l.createElement("img")).src=h:((a=l.createElement("script")).src=t,a.async=void 0===c||c),a.onload=a.onerror=a.onbeforeload=function(e){var l=e.type[0];if(s)try{a.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((n+=1){loadjs_umd(e,{success:t,error:i})}))}function parseId$1(e){return is.empty(e)?null:is.number(Number(e))?e:e.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:e}function parseHash(e){const t=e.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return t&&5===t.length?t[4]:null}function assurePlaybackState$1(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,triggerEvent.call(this,this.media,e?"play":"pause"))}const vimeo={setup(){const e=this;toggleClass(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,setAspectRatio.call(e),is.object(window.Vimeo)?vimeo.ready.call(e):loadScript(e.config.urls.vimeo.sdk).then((()=>{vimeo.ready.call(e)})).catch((t=>{e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready(){const e=this,t=e.config.vimeo,{premium:i,referrerPolicy:r,...n}=t;let s=e.media.getAttribute("src"),o="";is.empty(s)?(s=e.media.getAttribute(e.config.attributes.embed.id),o=e.media.getAttribute(e.config.attributes.embed.hash)):o=parseHash(s);const a=o?{h:o}:{};i&&Object.assign(n,{controls:!1,sidedock:!1});const l=buildUrlParams({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:e.config.playsinline,...a,...n}),c=parseId$1(s),d=createElement("iframe"),p=format(e.config.urls.vimeo.iframe,c,l);if(d.setAttribute("src",p),d.setAttribute("allowfullscreen",""),d.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),is.empty(r)||d.setAttribute("referrerPolicy",r),i||!t.customControls)d.setAttribute("data-poster",e.poster),e.media=replaceElement(d,e.media);else{const t=createElement("div",{class:e.config.classNames.embedContainer,"data-poster":e.poster});t.appendChild(d),e.media=replaceElement(t,e.media)}t.customControls||fetch(format(e.config.urls.vimeo.api,p)).then((t=>{!is.empty(t)&&t.thumbnail_url&&ui.setPoster.call(e,t.thumbnail_url).catch((()=>{}))})),e.embed=new window.Vimeo.Player(d,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=()=>(assurePlaybackState$1.call(e,!0),e.embed.play()),e.media.pause=()=>(assurePlaybackState$1.call(e,!1),e.embed.pause()),e.media.stop=()=>{e.pause(),e.currentTime=0};let{currentTime:u}=e.media;Object.defineProperty(e.media,"currentTime",{get:()=>u,set(t){const{embed:i,media:r,paused:n,volume:s}=e,o=n&&!i.hasPlayed;r.seeking=!0,triggerEvent.call(e,r,"seeking"),Promise.resolve(o&&i.setVolume(0)).then((()=>i.setCurrentTime(t))).then((()=>o&&i.pause())).then((()=>o&&i.setVolume(s))).catch((()=>{}))}});let h=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get:()=>h,set(t){e.embed.setPlaybackRate(t).then((()=>{h=t,triggerEvent.call(e,e.media,"ratechange")})).catch((()=>{e.options.speed=[1]}))}});let{volume:m}=e.config;Object.defineProperty(e.media,"volume",{get:()=>m,set(t){e.embed.setVolume(t).then((()=>{m=t,triggerEvent.call(e,e.media,"volumechange")}))}});let{muted:g}=e.config;Object.defineProperty(e.media,"muted",{get:()=>g,set(t){const i=!!is.boolean(t)&&t;e.embed.setMuted(!!i||e.config.muted).then((()=>{g=i,triggerEvent.call(e,e.media,"volumechange")}))}});let y,{loop:f}=e.config;Object.defineProperty(e.media,"loop",{get:()=>f,set(t){const i=is.boolean(t)?t:e.config.loop.active;e.embed.setLoop(i).then((()=>{f=i}))}}),e.embed.getVideoUrl().then((t=>{y=t,controls.setDownloadUrl.call(e)})).catch((e=>{this.debug.warn(e)})),Object.defineProperty(e.media,"currentSrc",{get:()=>y}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then((t=>{const[i,r]=t;e.embed.ratio=roundAspectRatio(i,r),setAspectRatio.call(this)})),e.embed.setAutopause(e.config.autopause).then((t=>{e.config.autopause=t})),e.embed.getVideoTitle().then((t=>{e.config.title=t,ui.setTitle.call(this)})),e.embed.getCurrentTime().then((t=>{u=t,triggerEvent.call(e,e.media,"timeupdate")})),e.embed.getDuration().then((t=>{e.media.duration=t,triggerEvent.call(e,e.media,"durationchange")})),e.embed.getTextTracks().then((t=>{e.media.textTracks=t,captions.setup.call(e)})),e.embed.on("cuechange",(({cues:t=[]})=>{const i=t.map((e=>stripHTML(e.text)));captions.updateCues.call(e,i)})),e.embed.on("loaded",(()=>{e.embed.getPaused().then((t=>{assurePlaybackState$1.call(e,!t),t||triggerEvent.call(e,e.media,"playing")})),is.element(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)})),e.embed.on("bufferstart",(()=>{triggerEvent.call(e,e.media,"waiting")})),e.embed.on("bufferend",(()=>{triggerEvent.call(e,e.media,"playing")})),e.embed.on("play",(()=>{assurePlaybackState$1.call(e,!0),triggerEvent.call(e,e.media,"playing")})),e.embed.on("pause",(()=>{assurePlaybackState$1.call(e,!1)})),e.embed.on("timeupdate",(t=>{e.media.seeking=!1,u=t.seconds,triggerEvent.call(e,e.media,"timeupdate")})),e.embed.on("progress",(t=>{e.media.buffered=t.percent,triggerEvent.call(e,e.media,"progress"),1===parseInt(t.percent,10)&&triggerEvent.call(e,e.media,"canplaythrough"),e.embed.getDuration().then((t=>{t!==e.media.duration&&(e.media.duration=t,triggerEvent.call(e,e.media,"durationchange"))}))})),e.embed.on("seeked",(()=>{e.media.seeking=!1,triggerEvent.call(e,e.media,"seeked")})),e.embed.on("ended",(()=>{e.media.paused=!0,triggerEvent.call(e,e.media,"ended")})),e.embed.on("error",(t=>{e.media.error=t,triggerEvent.call(e,e.media,"error")})),t.customControls&&setTimeout((()=>ui.build.call(e)),0)}};function parseId(e){return is.empty(e)?null:e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:e}function assurePlaybackState(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,triggerEvent.call(this,this.media,e?"play":"pause"))}function getHost(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}const youtube={setup(){if(toggleClass(this.elements.wrapper,this.config.classNames.embed,!0),is.object(window.YT)&&is.function(window.YT.Player))youtube.ready.call(this);else{const e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{is.function(e)&&e(),youtube.ready.call(this)},loadScript(this.config.urls.youtube.sdk).catch((e=>{this.debug.warn("YouTube API failed to load",e)}))}},getTitle(e){fetch(format(this.config.urls.youtube.api,e)).then((e=>{if(is.object(e)){const{title:t,height:i,width:r}=e;this.config.title=t,ui.setTitle.call(this),this.embed.ratio=roundAspectRatio(r,i)}setAspectRatio.call(this)})).catch((()=>{setAspectRatio.call(this)}))},ready(){const e=this,t=e.config.youtube,i=e.media&&e.media.getAttribute("id");if(!is.empty(i)&&i.startsWith("youtube-"))return;let r=e.media.getAttribute("src");is.empty(r)&&(r=e.media.getAttribute(this.config.attributes.embed.id));const n=parseId(r),s=createElement("div",{id:generateId(e.provider),"data-poster":t.customControls?e.poster:void 0});if(e.media=replaceElement(s,e.media),t.customControls){const t=e=>`https://i.ytimg.com/vi/${n}/${e}default.jpg`;loadImage(t("maxres"),121).catch((()=>loadImage(t("sd"),121))).catch((()=>loadImage(t("hq")))).then((t=>ui.setPoster.call(e,t.src))).then((t=>{t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((()=>{}))}e.embed=new window.YT.Player(e.media,{videoId:n,host:getHost(t),playerVars:extend({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.playsinline&&!e.config.fullscreen.iosNative?1:0,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError(t){if(!e.media.error){const i=t.data,r={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[i]||"An unknown error occurred";e.media.error={code:i,message:r},triggerEvent.call(e,e.media,"error")}},onPlaybackRateChange(t){const i=t.target;e.media.playbackRate=i.getPlaybackRate(),triggerEvent.call(e,e.media,"ratechange")},onReady(i){if(is.function(e.media.play))return;const r=i.target;youtube.getTitle.call(e,n),e.media.play=()=>{assurePlaybackState.call(e,!0),r.playVideo()},e.media.pause=()=>{assurePlaybackState.call(e,!1),r.pauseVideo()},e.media.stop=()=>{r.stopVideo()},e.media.duration=r.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:()=>Number(r.getCurrentTime()),set(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,triggerEvent.call(e,e.media,"seeking"),r.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:()=>r.getPlaybackRate(),set(e){r.setPlaybackRate(e)}});let{volume:s}=e.config;Object.defineProperty(e.media,"volume",{get:()=>s,set(t){s=t,r.setVolume(100*s),triggerEvent.call(e,e.media,"volumechange")}});let{muted:o}=e.config;Object.defineProperty(e.media,"muted",{get:()=>o,set(t){const i=is.boolean(t)?t:o;o=i,r[i?"mute":"unMute"](),r.setVolume(100*s),triggerEvent.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:()=>r.getVideoUrl()}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration});const a=r.getAvailablePlaybackRates();e.options.speed=a.filter((t=>e.config.speed.options.includes(t))),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),triggerEvent.call(e,e.media,"timeupdate"),triggerEvent.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((()=>{e.media.buffered=r.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBufferedui.build.call(e)),50)},onStateChange(i){const r=i.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(i.data)&&(e.media.seeking=!1,triggerEvent.call(e,e.media,"seeked")),i.data){case-1:triggerEvent.call(e,e.media,"timeupdate"),e.media.buffered=r.getVideoLoadedFraction(),triggerEvent.call(e,e.media,"progress");break;case 0:assurePlaybackState.call(e,!1),e.media.loop?(r.stopVideo(),r.playVideo()):triggerEvent.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(assurePlaybackState.call(e,!0),triggerEvent.call(e,e.media,"playing"),e.timers.playing=setInterval((()=>{triggerEvent.call(e,e.media,"timeupdate")}),50),e.media.duration!==r.getDuration()&&(e.media.duration=r.getDuration(),triggerEvent.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),assurePlaybackState.call(e,!1);break;case 3:triggerEvent.call(e,e.media,"waiting")}triggerEvent.call(e,e.elements.container,"statechange",!1,{code:i.data})}}})}},media={setup(){this.media?(toggleClass(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),toggleClass(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&toggleClass(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=createElement("div",{class:this.config.classNames.video}),wrap(this.media,this.elements.wrapper),this.elements.poster=createElement("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?html5.setup.call(this):this.isYouTube?youtube.setup.call(this):this.isVimeo&&vimeo.setup.call(this)):this.debug.warn("No media element found!")}};class Ads{constructor(e){_defineProperty$1(this,"load",(()=>{this.enabled&&(is.object(window.google)&&is.object(window.google.ima)?this.ready():loadScript(this.player.config.urls.googleIMA.sdk).then((()=>{this.ready()})).catch((()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))})))})),_defineProperty$1(this,"ready",(()=>{var e;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((()=>{this.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()})),_defineProperty$1(this,"setupIMA",(()=>{this.elements.container=createElement("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(e=>this.onAdsManagerLoaded(e)),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e)),!1),this.requestAds()})),_defineProperty$1(this,"requestAds",(()=>{const{container:e}=this.player.elements;try{const t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}})),_defineProperty$1(this,"pollCountdown",((e=!1)=>{if(!e)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval((()=>{const e=formatTime(Math.max(this.manager.getRemainingTime(),0)),t=`${i18n.get("advertisement",this.player.config)} - ${e}`;this.elements.container.setAttribute("data-badge-text",t)}),100)})),_defineProperty$1(this,"onAdsManagerLoaded",(e=>{if(!this.enabled)return;const t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,this.manager=e.getAdsManager(this.player,t),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e))),Object.keys(google.ima.AdEvent.Type).forEach((e=>{this.manager.addEventListener(google.ima.AdEvent.Type[e],(e=>this.onAdEvent(e)))})),this.trigger("loaded")})),_defineProperty$1(this,"addCuePoints",(()=>{is.empty(this.cuePoints)||this.cuePoints.forEach((e=>{if(0!==e&&-1!==e&&e{const{container:t}=this.player.elements,i=e.getAd(),r=e.getAdData();switch((e=>{triggerEvent.call(this.player,this.player.media,`ads${e.replace(/_/g,"").toLowerCase()}`)})(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),i.isLinear()||(i.width=t.offsetWidth,i.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn(`Non-fatal ad error: ${r.adError.getMessage()}`)}})),_defineProperty$1(this,"onAdError",(e=>{this.cancel(),this.player.debug.warn("Ads error",e)})),_defineProperty$1(this,"listeners",(()=>{const{container:e}=this.player.elements;let t;this.player.on("canplay",(()=>{this.addCuePoints()})),this.player.on("ended",(()=>{this.loader.contentComplete()})),this.player.on("timeupdate",(()=>{t=this.player.currentTime})),this.player.on("seeked",(()=>{const e=this.player.currentTime;is.empty(this.cuePoints)||this.cuePoints.forEach(((i,r)=>{t{this.manager&&this.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)}))})),_defineProperty$1(this,"play",(()=>{const{container:e}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then((()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(e){this.onAdError(e)}})).catch((()=>{}))})),_defineProperty$1(this,"resumeContent",(()=>{this.elements.container.style.zIndex="",this.playing=!1,silencePromise(this.player.media.play())})),_defineProperty$1(this,"pauseContent",(()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()})),_defineProperty$1(this,"cancel",(()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()})),_defineProperty$1(this,"loadAds",(()=>{this.managerPromise.then((()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise((e=>{this.on("loaded",e),this.player.debug.log(this.manager)})),this.initialized=!1,this.requestAds()})).catch((()=>{}))})),_defineProperty$1(this,"trigger",((e,...t)=>{const i=this.events[e];is.array(i)&&i.forEach((e=>{is.function(e)&&e.apply(this,t)}))})),_defineProperty$1(this,"on",((e,t)=>(is.array(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this))),_defineProperty$1(this,"startSafetyTimer",((e,t)=>{this.player.debug.log(`Safety timer invoked from: ${t}`),this.safetyTimer=setTimeout((()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")}),e)})),_defineProperty$1(this,"clearSafetyTimer",(e=>{is.nullOrUndefined(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${e}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)})),this.player=e,this.config=e.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(((e,t)=>{this.on("loaded",e),this.on("error",t)})),this.load()}get enabled(){const{config:e}=this;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!is.empty(e.publisherId)||is.url(e.tagUrl))}get tagUrl(){const{config:e}=this;return is.url(e.tagUrl)?e.tagUrl:`https://go.aniview.com/api/adserver6/vast/?${buildUrlParams({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId})}`}}function clamp(e=0,t=0,i=255){return Math.min(Math.max(e,t),i)}const parseVtt=e=>{const t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach((e=>{const i={};e.split(/\r\n|\n|\r/).forEach((e=>{if(is.number(i.startTime)){if(!is.empty(e.trim())&&is.empty(i.text)){const t=e.trim().split("#xywh=");[i.text]=t,t[1]&&([i.x,i.y,i.w,i.h]=t[1].split(","))}}else{const t=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);t&&(i.startTime=60*Number(t[1]||0)*60+60*Number(t[2])+Number(t[3])+Number(`0.${t[4]}`),i.endTime=60*Number(t[6]||0)*60+60*Number(t[7])+Number(t[8])+Number(`0.${t[9]}`))}})),i.text&&t.push(i)})),t},fitRatio=(e,t)=>{const i={};return e>t.width/t.height?(i.width=t.width,i.height=1/e*t.width):(i.height=t.height,i.width=e*t.height),i};class PreviewThumbnails{constructor(e){_defineProperty$1(this,"load",(()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.listeners(),this.loaded=!0)}))})),_defineProperty$1(this,"getThumbnails",(()=>new Promise((e=>{const{src:t}=this.player.config.previewThumbnails;if(is.empty(t))throw new Error("Missing previewThumbnails.src config attribute");const i=()=>{this.thumbnails.sort(((e,t)=>e.height-t.height)),this.player.debug.log("Preview thumbnails",this.thumbnails),e()};if(is.function(t))t((e=>{this.thumbnails=e,i()}));else{const e=(is.string(t)?[t]:t).map((e=>this.getThumbnail(e)));Promise.all(e).then(i)}})))),_defineProperty$1(this,"getThumbnail",(e=>new Promise((t=>{fetch(e).then((i=>{const r={frames:parseVtt(i),height:null,urlPrefix:""};r.frames[0].text.startsWith("/")||r.frames[0].text.startsWith("http://")||r.frames[0].text.startsWith("https://")||(r.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));const n=new Image;n.onload=()=>{r.height=n.naturalHeight,r.width=n.naturalWidth,this.thumbnails.push(r),t()},n.src=r.urlPrefix+r.frames[0].text}))})))),_defineProperty$1(this,"startMove",(e=>{if(this.loaded&&is.event(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t,i;const r=this.player.elements.progress.getBoundingClientRect(),n=100/r.width*(e.pageX-r.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=formatTime(this.seekTime);const s=null===(t=this.player.config.markers)||void 0===t||null===(i=t.points)||void 0===i?void 0:i.find((({time:e})=>e===Math.round(this.seekTime)));s&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${s.label}
`)}this.showImageAtCurrentTime()}})),_defineProperty$1(this,"endMove",(()=>{this.toggleThumbContainer(!1,!0)})),_defineProperty$1(this,"startScrubbing",(e=>{(is.nullOrUndefined(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))})),_defineProperty$1(this,"endScrubbing",(()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):once.call(this.player,this.player.media,"timeupdate",(()=>{this.mouseDown||this.toggleScrubbingContainer(!1)}))})),_defineProperty$1(this,"listeners",(()=>{this.player.on("play",(()=>{this.toggleThumbContainer(!1,!0)})),this.player.on("seeked",(()=>{this.toggleThumbContainer(!1)})),this.player.on("timeupdate",(()=>{this.lastTime=this.player.media.currentTime}))})),_defineProperty$1(this,"render",(()=>{this.elements.thumb.container=createElement("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=createElement("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const e=createElement("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=createElement("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(e),is.element(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=createElement("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)})),_defineProperty$1(this,"destroy",(()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()})),_defineProperty$1(this,"showImageAtCurrentTime",(()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const e=this.thumbnails[0].frames.findIndex((e=>this.seekTime>=e.startTime&&this.seekTime<=e.endTime)),t=e>=0;let i=0;this.mouseDown||this.toggleThumbContainer(t),t&&(this.thumbnails.forEach(((t,r)=>{this.loadedImages.includes(t.frames[e].text)&&(i=r)})),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(i)))})),_defineProperty$1(this,"loadImage",((e=0)=>{const t=this.showingThumb,i=this.thumbnails[e],{urlPrefix:r}=i,n=i.frames[t],s=i.frames[t].text,o=r+s;if(this.currentImageElement&&this.currentImageElement.dataset.filename===s)this.showImage(this.currentImageElement,n,e,t,s,!1),this.currentImageElement.dataset.index=t,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const i=new Image;i.src=o,i.dataset.index=t,i.dataset.filename=s,this.showingThumbFilename=s,this.player.debug.log(`Loading image: ${o}`),i.onload=()=>this.showImage(i,n,e,t,s,!0),this.loadingImage=i,this.removeOldImages(i)}})),_defineProperty$1(this,"showImage",((e,t,i,r,n,s=!0)=>{this.player.debug.log(`Showing thumb: ${n}. num: ${r}. qual: ${i}. newimg: ${s}`),this.setImageSizeAndOffset(e,t),s&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(n)||this.loadedImages.push(n)),this.preloadNearby(r,!0).then(this.preloadNearby(r,!1)).then(this.getHigherQuality(i,e,t,n))})),_defineProperty$1(this,"removeOldImages",(e=>{Array.from(this.currentImageContainer.children).forEach((t=>{if("img"!==t.tagName.toLowerCase())return;const i=this.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;const{currentImageContainer:e}=this;setTimeout((()=>{e.removeChild(t),this.player.debug.log(`Removing thumb: ${t.dataset.filename}`)}),i)}}))})),_defineProperty$1(this,"preloadNearby",((e,t=!0)=>new Promise((i=>{setTimeout((()=>{const r=this.thumbnails[0].frames[e].text;if(this.showingThumbFilename===r){let n;n=t?this.thumbnails[0].frames.slice(e):this.thumbnails[0].frames.slice(0,e).reverse();let s=!1;n.forEach((e=>{const t=e.text;if(t!==r&&!this.loadedImages.includes(t)){s=!0,this.player.debug.log(`Preloading thumb filename: ${t}`);const{urlPrefix:e}=this.thumbnails[0],r=e+t,n=new Image;n.src=r,n.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${t}`),this.loadedImages.includes(t)||this.loadedImages.push(t),i()}}})),s||i()}}),300)})))),_defineProperty$1(this,"getHigherQuality",((e,t,i,r)=>{if(e{this.showingThumbFilename===r&&(this.player.debug.log(`Showing higher quality thumb for: ${r}`),this.loadImage(e+1))}),300)}})),_defineProperty$1(this,"toggleThumbContainer",((e=!1,t=!1)=>{const i=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(i,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)})),_defineProperty$1(this,"toggleScrubbingContainer",((e=!1)=>{const t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)})),_defineProperty$1(this,"determineContainerAutoSizing",(()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)})),_defineProperty$1(this,"setThumbContainerSizeAndPos",(()=>{const{imageContainer:e}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(e.clientHeight>20&&e.clientWidth<20){const t=Math.floor(e.clientHeight*this.thumbAspectRatio);e.style.width=`${t}px`}else if(e.clientHeight<20&&e.clientWidth>20){const t=Math.floor(e.clientWidth/this.thumbAspectRatio);e.style.height=`${t}px`}}else{const t=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);e.style.height=`${this.thumbContainerHeight}px`,e.style.width=`${t}px`}this.setThumbContainerPos()})),_defineProperty$1(this,"setThumbContainerPos",(()=>{const e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),{container:i}=this.elements.thumb,r=t.left-e.left+10,n=t.right-e.left-i.clientWidth-10,s=this.mousePosX-e.left-i.clientWidth/2,o=clamp(s,r,n);i.style.left=`${o}px`,i.style.setProperty("--preview-arrow-offset",s-o+"px")})),_defineProperty$1(this,"setScrubbingContainerSize",(()=>{const{width:e,height:t}=fitRatio(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${e}px`,this.elements.scrubbing.container.style.height=`${t}px`})),_defineProperty$1(this,"setImageSizeAndOffset",((e,t)=>{if(!this.usingSprites)return;const i=this.thumbContainerHeight/t.h;e.style.height=e.naturalHeight*i+"px",e.style.width=e.naturalWidth*i+"px",e.style.left=`-${t.x*i}px`,e.style.top=`-${t.y*i}px`})),this.player=e,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:e}=fitRatio(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return e}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}const source={insertElements(e,t){is.string(t)?insertElement(e,this.media,{src:t}):is.array(t)&&t.forEach((t=>{insertElement(e,this.media,t)}))},change(e){getDeep(e,"sources.length")?(html5.cancelRequests.call(this),this.destroy.call(this,(()=>{this.options.quality=[],removeElement(this.media),this.media=null,is.element(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:t,type:i}=e,[{provider:r=providers.html5,src:n}]=t,s="html5"===r?i:"div",o="html5"===r?{}:{src:n};Object.assign(this,{provider:r,type:i,supported:support.check(i,r,this.config.playsinline),media:createElement(s,o)}),this.elements.container.appendChild(this.media),is.boolean(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),is.empty(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),ui.addStyleHook.call(this),this.isHTML5&&source.insertElements.call(this,"source",t),this.config.title=e.title,media.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&source.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&ui.build.call(this),this.isHTML5&&this.media.load(),is.empty(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new PreviewThumbnails(this))),this.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};class Plyr{constructor(e,t){if(_defineProperty$1(this,"play",(()=>is.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((()=>this.ads.play())).catch((()=>silencePromise(this.media.play()))),this.media.play()):null)),_defineProperty$1(this,"pause",(()=>this.playing&&is.function(this.media.pause)?this.media.pause():null)),_defineProperty$1(this,"togglePlay",(e=>(is.boolean(e)?e:!this.playing)?this.play():this.pause())),_defineProperty$1(this,"stop",(()=>{this.isHTML5?(this.pause(),this.restart()):is.function(this.media.stop)&&this.media.stop()})),_defineProperty$1(this,"restart",(()=>{this.currentTime=0})),_defineProperty$1(this,"rewind",(e=>{this.currentTime-=is.number(e)?e:this.config.seekTime})),_defineProperty$1(this,"forward",(e=>{this.currentTime+=is.number(e)?e:this.config.seekTime})),_defineProperty$1(this,"increaseVolume",(e=>{const t=this.media.muted?0:this.volume;this.volume=t+(is.number(e)?e:0)})),_defineProperty$1(this,"decreaseVolume",(e=>{this.increaseVolume(-e)})),_defineProperty$1(this,"airplay",(()=>{support.airplay&&this.media.webkitShowPlaybackTargetPicker()})),_defineProperty$1(this,"toggleControls",(e=>{if(this.supported.ui&&!this.isAudio){const t=hasClass(this.elements.container,this.config.classNames.hideControls),i=void 0===e?void 0:!e,r=toggleClass(this.elements.container,this.config.classNames.hideControls,i);if(r&&is.array(this.config.controls)&&this.config.controls.includes("settings")&&!is.empty(this.config.settings)&&controls.toggleMenu.call(this,!1),r!==t){const e=r?"controlshidden":"controlsshown";triggerEvent.call(this,this.media,e)}return!r}return!1})),_defineProperty$1(this,"on",((e,t)=>{on.call(this,this.elements.container,e,t)})),_defineProperty$1(this,"once",((e,t)=>{once.call(this,this.elements.container,e,t)})),_defineProperty$1(this,"off",((e,t)=>{off(this.elements.container,e,t)})),_defineProperty$1(this,"destroy",((e,t=!1)=>{if(!this.ready)return;const i=()=>{document.body.style.overflow="",this.embed=null,t?(Object.keys(this.elements).length&&(removeElement(this.elements.buttons.play),removeElement(this.elements.captions),removeElement(this.elements.controls),removeElement(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),is.function(e)&&e()):(unbindListeners.call(this),html5.cancelRequests.call(this),replaceElement(this.elements.original,this.elements.container),triggerEvent.call(this,this.elements.original,"destroyed",!0),is.function(e)&&e.call(this.elements.original),this.ready=!1,setTimeout((()=>{this.elements=null,this.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(ui.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&is.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))})),_defineProperty$1(this,"supports",(e=>support.mime.call(this,e))),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=support.touch,this.media=e,is.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||is.nodeList(this.media)||is.array(this.media))&&(this.media=this.media[0]),this.config=extend({},defaults,Plyr.defaults,t||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch(e){return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Console(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",support),is.nullOrUndefined(this.media)||!is.element(this.media))return void this.debug.error("Setup failed: no suitable element passed");if(this.media.plyr)return void this.debug.warn("Target already setup");if(!this.config.enabled)return void this.debug.error("Setup failed: disabled by config");if(!support.check().api)return void this.debug.error("Setup failed: no support");const i=this.media.cloneNode(!0);i.autoplay=!1,this.elements.original=i;const r=this.media.tagName.toLowerCase();let n=null,s=null;switch(r){case"div":if(n=this.media.querySelector("iframe"),is.element(n)){if(s=parseUrl(n.getAttribute("src")),this.provider=getProviderByUrl(s.toString()),this.elements.container=this.media,this.media=n,this.elements.container.className="",s.search.length){const e=["1","true"];e.includes(s.searchParams.get("autoplay"))&&(this.config.autoplay=!0),e.includes(s.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=e.includes(s.searchParams.get("playsinline")),this.config.youtube.hl=s.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(is.empty(this.provider)||!Object.values(providers).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=types.video;break;case"video":case"audio":this.type=r,this.provider=providers.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=support.check(this.type,this.provider),this.supported.api?(this.eventListeners=[],this.listeners=new Listeners(this),this.storage=new Storage(this),this.media.plyr=this,is.element(this.elements.container)||(this.elements.container=createElement("div"),wrap(this.media,this.elements.container)),ui.migrateStyles.call(this),ui.addStyleHook.call(this),media.setup.call(this),this.config.debug&&on.call(this,this.elements.container,this.config.events.join(" "),(e=>{this.debug.log(`event: ${e.type}`)})),this.fullscreen=new Fullscreen(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&ui.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Ads(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",(()=>silencePromise(this.play()))),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new PreviewThumbnails(this))):this.debug.error("Setup failed: no support")}get isHTML5(){return this.provider===providers.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===providers.youtube}get isVimeo(){return this.provider===providers.vimeo}get isVideo(){return this.type===types.video}get isAudio(){return this.type===types.audio}get playing(){return Boolean(this.ready&&!this.paused&&!this.ended)}get paused(){return Boolean(this.media.paused)}get stopped(){return Boolean(this.paused&&0===this.currentTime)}get ended(){return Boolean(this.media.ended)}set currentTime(e){if(!this.duration)return;const t=is.number(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:e}=this.media;return is.number(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}get seeking(){return Boolean(this.media.seeking)}get duration(){const e=parseFloat(this.config.duration),t=(this.media||{}).duration,i=is.number(t)&&t!==1/0?t:0;return e||i}set volume(e){let t=e;is.string(t)&&(t=Number(t)),is.number(t)||(t=this.storage.get("volume")),is.number(t)||({volume:t}=this.config),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!is.empty(e)&&this.muted&&t>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(e){let t=e;is.boolean(t)||(t=this.storage.get("muted")),is.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}get muted(){return Boolean(this.media.muted)}get hasAudio(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}set speed(e){let t=null;is.number(e)&&(t=e),is.number(t)||(t=this.storage.get("speed")),is.number(t)||(t=this.config.speed.selected);const{minimumSpeed:i,maximumSpeed:r}=this;t=clamp(t,i,r),this.config.speed.selected=t,setTimeout((()=>{this.media&&(this.media.playbackRate=t)}),0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(e){const t=this.config.quality,i=this.options.quality;if(!i.length)return;let r=[!is.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(is.number),n=!0;if(!i.includes(r)){const e=closest(i,r);this.debug.warn(`Unsupported quality option: ${r}, using ${e} instead`),r=e,n=!1}t.selected=r,this.media.quality=r,n&&this.storage.set({quality:r})}get quality(){return this.media.quality}set loop(e){const t=is.boolean(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}get loop(){return Boolean(this.media.loop)}set source(e){source.change.call(this,e)}get source(){return this.media.currentSrc}get download(){const{download:e}=this.config.urls;return is.url(e)?e:this.source}set download(e){is.url(e)&&(this.config.urls.download=e,controls.setDownloadUrl.call(this))}set poster(e){this.isVideo?ui.setPoster.call(this,e,!1).catch((()=>{})):this.debug.warn("Poster can only be set for video")}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const e=reduceAspectRatio(getAspectRatio.call(this));return is.array(e)?e.join(":"):e}set ratio(e){this.isVideo?is.string(e)&&validateAspectRatio(e)?(this.config.ratio=reduceAspectRatio(e),setAspectRatio.call(this)):this.debug.error(`Invalid aspect ratio specified (${e})`):this.debug.warn("Aspect ratio can only be set for video")}set autoplay(e){this.config.autoplay=is.boolean(e)?e:this.config.autoplay}get autoplay(){return Boolean(this.config.autoplay)}toggleCaptions(e){captions.toggle.call(this,e,!1)}set currentTrack(e){captions.set.call(this,e,!1),captions.setup.call(this)}get currentTrack(){const{toggled:e,currentTrack:t}=this.captions;return e?t:-1}set language(e){captions.setLanguage.call(this,e,!1)}get language(){return(captions.getCurrentTrack.call(this)||{}).language}set pip(e){if(!support.pip)return;const t=is.boolean(e)?e:!this.pip;is.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?pip.active:pip.inactive),is.function(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}get pip(){return support.pip?is.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===pip.active:null}setPreviewThumbnails(e){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,e),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new PreviewThumbnails(this))}static supported(e,t){return support.check(e,t)}static loadSprite(e,t){return loadSprite(e,t)}static setup(e,t={}){let i=null;return is.string(e)?i=Array.from(document.querySelectorAll(e)):is.nodeList(e)?i=Array.from(e):is.array(e)&&(i=e.filter(is.element)),is.empty(i)?null:i.map((e=>new Plyr(e,t)))}}Plyr.defaults=cloneDeep(defaults);const Note=defineComponent({name:"NoteSvg",props:{fill:String,shadow:{type:Boolean,defalut:!1},shadowFill:{type:String,default:""},x:{type:Number,default:0},y:{type:Number,default:0}},render(){return createVNode("svg",{width:"14",height:"24",viewBox:"0 0 14 24"},[createVNode("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[createVNode("rect",{x:"0",y:"0",width:"14",height:"24"},null),createVNode("g",{fill:this.fill},[this.shadow&&createVNode("ellipse",{fill:this.shadowFill||this.fill,transform:`translate(4.685927, 18.917813) scale(-1, -1) rotate(-32.000000) translate(${this.x+-4.685927}, ${this.y+-18.917813})`,cx:"4.68592654",cy:"18.9178127",rx:"3.70078457",ry:"2.92022453"},null),createVNode("path",{d:"M1.95251677,0.68258909 C3.68583115,-0.400505943 5.78379192,-0.169765229 6.63844331,1.1979629 C7.4930947,2.56569103 6.78079761,4.55247575 5.04748323,5.63557079 C3.85503595,6.38069455 2.49000663,6.50399819 1.47594704,6.06306368 L1.47635248,22.0768926 L0.0162402201,22.0768926 L0.0154715991,4.11169688 C-0.117424115,2.8976469 0.612367024,1.52000759 1.95251677,0.68258909 Z",transform:"scale(-1, -1) translate(-10, -23) "},null)])])])}}),container="_container_1rrce_1",noticeBar="_noticeBar_1rrce_10",pcContainer="_pcContainer_1rrce_14",icon="_icon_1rrce_17",status="_status_1rrce_22",styles={container:container,noticeBar:noticeBar,pcContainer:pcContainer,icon:icon,status:status},Title=defineComponent({name:"detail-title",props:{text:{type:String,default:""},rightView:{type:Boolean,default:!0},onClick:{type:Function}},render(){return createVNode("div",{class:[styles.container,state.platform===IPlatform.PC&&styles.pcContainer]},[createVNode(NoticeBar,{text:this.text,color:"#000",class:styles.noticeBar,background:"none"},null)])}}),ShareTop=defineComponent({name:"header-top",props:{scoreData:{type:Object,default:()=>({})}},setup(e,{expose:t}){var i,r;const n=browser$1(),{scoreData:s}=toRefs(e),o=reactive({show:!1,shiyiShow:!1,isInitPlyr:!1,_plrl:null}),a={BEGINNER:"入门级",ADVANCED:"进阶级",PERFORMER:"大师级"},l="#EF231D",c="#0E79FF",d="#01B996",p="#8F4EFB",u="#FF8219",h="#ADADAD",m="#F63582",g="#FFAA00",y=ref(state.isPercussion?"cadence":"intonation"),f=ref(!1),b=()=>{api_back()};onUnmounted((()=>{var e;null===(e=o._plrl)||void 0===e||e.destroy()}));const _=e=>{y.value=e,s.value.itemType=e},v=computed((()=>{const e=(s.value.videoFilePath||"").split(".").pop();return"wav"===e||"mp3"===e||"m4a"===e?"audio":"video"})),w=(null===(i=navigator)||void 0===i||null===(r=i.userAgent)||void 0===r?void 0:r.includes("UAWEIVRD-W09"))||(null==n?void 0:n.iPad)||n.isTablet,k=()=>{o.show=!0,o.isInitPlyr||nextTick((()=>{const e="audio"===v.value?"#audioSrc":"#videoSrc";o._plrl=new Plyr(e,{controls:["play-large","play","progress","current-time","duration"],fullscreen:{enabled:!1}}),"audio"===v.value&&setTimeout((()=>{document.querySelector("#audioSrc");const e=document.querySelector("#audioVisualizer"),{pauseVisualDraw:t,playVisualDraw:i}=function(e,t,i=128){const r=t.getContext("2d");let{width:n,height:s}=t.getBoundingClientRect();n=Math.ceil(n),s=Math.ceil(s),t.width=n,t.height=s;const o=(e,t,{lineGap:i,canvWidth:n,canvHeight:s,canvFillColor:o,lineColor:l})=>{if(!t)return;const c=n,d=s;a(t,c,d,o);const p=e.length;let u=(c/2-i*p)/p;u<1&&(u=1);const h=c/2,m=d/2;let g=h;for(let a=0;a{e.clearRect(0,0,t,i),e.fillStyle=r,e.fillRect(0,0,t,i)},l=()=>{const e=setInterval((()=>{c?clearInterval(e):o(function(e){const t=new Uint8Array(e),i=30,r=.01,n=.2;let s=150,o=r+Math.random()*(n-r);for(let a=0;a{c=!1,l()},p=()=>{c=!0,requestAnimationFrame((()=>{r.clearRect(0,0,n,s)}))};return{playVisualDraw:d,pauseVisualDraw:p}}(0,e);o._plrl.on("play",(()=>{f.value=!0,i()})),o._plrl.on("pause",(()=>{f.value=!1,t()}))}),600),o.isInitPlyr=!0}))};return()=>createVNode(Fragment,null,[createVNode("div",{class:[styles$1.headerTop,n.android&&styles$1.android]},[createVNode("div",{class:styles$1.left},[createVNode("div",{class:[styles$1.back,!storeData.isApp&&styles$1.disabled],onClick:b},[createVNode("img",{src:iconBack},null)]),createVNode("div",{class:styles$1.leftContent},[createVNode(Title,{class:styles$1.lcName,text:state.examSongName,rightView:!1},null),createVNode("div",{class:styles$1.lcScore},[a[s.value.heardLevel],createTextVNode("|速度:"),Math.floor(s.value.speed),createTextVNode("|综合分数:"),s.value.score,createTextVNode("分")])])]),createVNode("div",{class:[styles$1.middle,w&&styles$1.padMiddle]},[state.isPercussion?null:createVNode("div",{onClick:()=>_("intonation"),class:[styles$1.cItem,"evaluting-report-1","intonation"===y.value&&styles$1.active]},[createVNode("span",{class:styles$1.mScore},[s.value.intonation,createTextVNode("分")]),createVNode("span",{class:styles$1.mLabel},[createTextVNode("音准")])]),createVNode("div",{onClick:()=>_("cadence"),class:[styles$1.cItem,"evaluting-report-2","cadence"===y.value&&styles$1.active]},[createVNode("span",{class:styles$1.mScore},[s.value.cadence,createTextVNode("分")]),createVNode("span",{class:styles$1.mLabel},[createTextVNode("节奏")])]),state.isPercussion?null:createVNode("div",{onClick:()=>_("integrity"),class:[styles$1.cItem,"evaluting-report-3","integrity"===y.value&&styles$1.active]},[createVNode("span",{class:styles$1.mScore},[s.value.integrity,createTextVNode("分")]),createVNode("span",{class:styles$1.mLabel},[createTextVNode("完成度")])])]),createVNode("div",{class:styles$1.right},[createVNode("div",{style:{display:s.value.videoFilePath?"":"none"},class:[styles$1.btn,"evaluting-report-4"],onClick:k},[createVNode("img",{class:styles$1.iconBtn,src:iconhuifang},null),createVNode("span",null,[createTextVNode("回放")])]),createVNode("div",{class:styles$1.btn,onClick:()=>o.shiyiShow=!0},[createVNode("img",{class:styles$1.iconBtn,src:iconShiyi},null),createVNode("span",null,[createTextVNode("释义")])])]),"staff"===s.value.musicType?createVNode(Fragment,null,[createVNode("div",{class:styles$1.demos},["intonation"===y.value&&createVNode(Fragment,null,[createVNode("div",null,[createVNode(Note,{fill:"#EF231D"},null),createVNode("span",null,[createTextVNode("演奏偏高")])]),createVNode("div",null,[createVNode(Note,{fill:"#0E79FF"},null),createVNode("span",null,[createTextVNode("演奏偏低")])])]),"cadence"===y.value&&createVNode(Fragment,null,[createVNode("div",null,[createVNode(Note,{fill:"#F63582"},null),createVNode("span",null,[createTextVNode("节奏偏快")])]),createVNode("div",null,[createVNode(Note,{fill:"#FFAA00"},null),createVNode("span",null,[createTextVNode("节奏偏慢")])])]),("intonation"===y.value||"cadence"===y.value)&&createVNode(Fragment,null,[createVNode("div",null,[createVNode(Note,{fill:"#01B996"},null),createVNode("span",null,[createTextVNode("演奏正确")])]),createVNode("div",null,[createVNode(Note,{fill:"#8F4EFB"},null),createVNode("span",null,[createTextVNode("演奏错误")])])]),"integrity"===y.value&&createVNode("div",null,[createVNode(Note,{fill:"#FF8219"},null),createVNode("span",null,[createTextVNode("时值不足")])]),"integrity"===y.value&&createVNode("div",null,[createVNode(Note,{fill:"#01B996"},null),createVNode("span",null,[createTextVNode("演奏正确")])]),createVNode("div",null,[createVNode(Note,{fill:"#ADADAD"},null),createVNode("span",null,[createTextVNode("未演奏")])])])]):createVNode(Fragment,null,[createVNode("div",{class:styles$1.demos},["intonation"===y.value&&createVNode(Fragment,null,[createVNode("div",null,[createVNode("i",{style:{background:l}},null),createVNode("span",null,[createTextVNode("演奏偏高")])]),createVNode("div",null,[createVNode("i",{style:{background:c}},null),createVNode("span",null,[createTextVNode("演奏偏低")])])]),"cadence"===y.value&&createVNode(Fragment,null,[createVNode("div",null,[createVNode("i",{style:{background:m}},null),createVNode("span",null,[createTextVNode("节奏偏快")])]),createVNode("div",null,[createVNode("i",{style:{background:g}},null),createVNode("span",null,[createTextVNode("节奏偏慢")])])]),("intonation"===y.value||"cadence"===y.value)&&createVNode(Fragment,null,[createVNode("div",null,[createVNode("i",{style:{background:d}},null),createVNode("span",null,[createTextVNode("演奏正确")])]),createVNode("div",null,[createVNode("i",{style:{background:p}},null),createVNode("span",null,[createTextVNode("演奏错误")])])]),"integrity"===y.value&&createVNode("div",null,[createVNode("i",{style:{background:u}},null),createVNode("span",null,[createTextVNode("时值不足")])]),"integrity"===y.value&&createVNode("div",null,[createVNode("i",{style:{background:d}},null),createVNode("span",null,[createTextVNode("演奏正确")])]),createVNode("div",null,[createVNode("i",{style:{background:h}},null),createVNode("span",null,[createTextVNode("未演奏")])])])]),createVNode(Popup,{teleport:"body",class:["popup-custom","van-scale",styles$1.popup],transition:"van-scale",show:o.show,"onUpdate:show":e=>o.show=e,closeable:!0,onClose:()=>{var e;null===(e=o._plrl)||void 0===e||e.pause()}},{default:()=>[createVNode("div",{class:styles$1.playerBoxContent},[createVNode("div",{class:[styles$1.playerBoxCon,w&&styles$1.padPlayerBox]},[createVNode("div",{class:[styles$1.playerBox,"video"===v.value&&styles$1.videoPlayerBox]},["audio"===v.value?createVNode("div",{class:styles$1.audioBox},[createVNode("div",{class:styles$1.gramoBox},[createVNode("div",{class:[styles$1.gramoPan,!f.value&&styles$1.imgRotate]},[createVNode("img",{class:styles$1.audioImg,src:musicBg},null)]),createVNode("i",{class:styles$1.audioPoint},null),createVNode("i",{class:[styles$1.audioZhen,!f.value&&styles$1.active]},null)]),createVNode("img",{src:tyImg,class:styles$1.tyImg},null),createVNode("canvas",{class:styles$1.audioVisualizer,id:"audioVisualizer"},null),createVNode("audio",{crossorigin:"anonymous",id:"audioSrc",src:s.value.videoFilePath,controls:"false",preload:"metadata",playsinline:!0},null),createVNode("div",{onClick:()=>{o._plrl.play()},class:[styles$1.playLarge,!f.value&&styles$1.playIngShow]},null)]):createVNode("video",{id:"videoSrc",class:styles$1.videoBox,src:s.value.videoFilePath,"data-poster":videobg,preload:"metadata",playsinline:!0},null)])])])]}),createVNode(Popup,{show:o.shiyiShow,"onUpdate:show":e=>o.shiyiShow=e,class:"popup-custom van-scale center-closeBtn shiyiBox",transition:"van-scale",teleport:"body",closeable:!0},{default:()=>[createVNode("img",{onClick:()=>o.shiyiShow=!1,class:styles$1.shiyiClose,src:shiyiClose},null),"staff"===s.value.musicType?createVNode("div",{class:styles$1.shiyiPopup},[createVNode("img",{class:styles$1.shiyiTop,src:shiyiTop},null),createVNode("div",{class:styles$1.items},[createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#EF231D"},null),createVNode("span",null,[createTextVNode("红色音符:演奏偏高")])]),createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#01B996"},null),createVNode("span",null,[createTextVNode("绿色音符:演奏正确")])]),createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#0E79FF"},null),createVNode("span",null,[createTextVNode("蓝色音符:演奏偏低")])]),createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#8F4EFB"},null),createVNode("span",null,[createTextVNode("紫色音符:演奏错误")])]),createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#F63582"},null),createVNode("span",null,[createTextVNode("玫红色音符:节奏偏快")])]),createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#FF8219"},null),createVNode("span",null,[createTextVNode("橙色音符:时值不足")])]),createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#FFAA00"},null),createVNode("span",null,[createTextVNode("黄色音符:节奏偏慢")])]),createVNode("div",{class:styles$1.item},[createVNode(Note,{fill:"#ADADAD"},null),createVNode("span",null,[createTextVNode("灰色音符:未演奏")])])])]):createVNode("div",{class:styles$1.shiyiPopup},[createVNode("img",{class:styles$1.shiyiTop,src:shiyiTop},null),createVNode("div",{class:styles$1.items},[createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:l}},null),createVNode("span",null,[createTextVNode("玫红色音符:演奏偏高")])]),createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:"#01B996"}},null),createVNode("span",null,[createTextVNode("绿色音符:演奏正确")])]),createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:c}},null),createVNode("span",null,[createTextVNode("蓝色音符:演奏偏低")])]),createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:p}},null),createVNode("span",null,[createTextVNode("紫色音符:演奏错误")])]),createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:m}},null),createVNode("span",null,[createTextVNode("玫红色音符:节奏偏快")])]),createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:u}},null),createVNode("span",null,[createTextVNode("橙色音符:时值不足")])]),createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:g}},null),createVNode("span",null,[createTextVNode("黄色音符:节奏偏慢")])]),createVNode("div",{class:styles$1.itemTone},[createVNode("i",{style:{background:h}},null),createVNode("span",null,[createTextVNode("灰色音符:未演奏")])])])])]})]),createVNode(EvaluatingReportDriver,{videoFilePath:s.value.videoFilePath},null)])}}),TopArrow=defineComponent({name:"ArrowSvg",props:{fill:String},render:()=>createVNode("svg",{id:"topSvg",width:"15px",height:"10px",viewBox:"0 0 10 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[createVNode("g",{id:"页面-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[createVNode("path",{d:"M1.61932444,0 L8.38067556,0 C8.84091285,1.06606835e-15 9.2140089,0.373096042 9.2140089,0.833333333 C9.2140089,1.00701915 9.15973962,1.17636453 9.05878679,1.31769849 L5.67811123,6.05064428 C5.41060373,6.42515477 4.89014533,6.51189784 4.51563484,6.24439035 C4.44080524,6.19094063 4.37533849,6.12547388 4.32188877,6.05064428 L0.941213211,1.31769849 C0.673705719,0.943188006 0.760448786,0.422729599 1.13495928,0.155222107 C1.27629324,0.0542692786 1.44563862,-3.01161341e-16 1.61932444,0 Z",id:"上",fill:"#FF9200",transform:"translate(5.000000, 3.500000) scale(1, -1) translate(-5.000000, -3.500000) "},null)])])}),BottomArrow=defineComponent({name:"ArrowSvg",props:{fill:String},render:()=>createVNode("svg",{id:"bottomSvg",width:"15px",height:"10px",viewBox:"0 0 10 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[createVNode("g",{id:"页面-223",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[createVNode("path",{d:"M1.61932444,0 L8.38067556,0 C8.84091285,1.06606835e-15 9.2140089,0.373096042 9.2140089,0.833333333 C9.2140089,1.00701915 9.15973962,1.17636453 9.05878679,1.31769849 L5.67811123,6.05064428 C5.41060373,6.42515477 4.89014533,6.51189784 4.51563484,6.24439035 C4.44080524,6.19094063 4.37533849,6.12547388 4.32188877,6.05064428 L0.941213211,1.31769849 C0.673705719,0.943188006 0.760448786,0.422729599 1.13495928,0.155222107 C1.27629324,0.0542692786 1.44563862,-3.01161341e-16 1.61932444,0 Z",id:"下",fill:"#FF9200",transform:"translate(5.000000, 3.500000) scale(1, -1) rotate(-180.000000) translate(-5.000000, -3.500000) "},null)])])}),LeftArrow=defineComponent({name:"ArrowSvg",props:{fill:String},render:()=>createVNode("svg",{id:"leftSvg",width:"15px",height:"10px",viewBox:"0 0 10 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[createVNode("g",{id:"页面-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[createVNode("path",{d:"M0.119324437,1.5 L6.88067556,1.5 C7.34091285,1.5 7.7140089,1.87309604 7.7140089,2.33333333 C7.7140089,2.50701915 7.65973962,2.67636453 7.55878679,2.81769849 L4.17811123,7.55064428 C3.91060373,7.92515477 3.39014533,8.01189784 3.01563484,7.74439035 C2.94080524,7.69094063 2.87533849,7.62547388 2.82188877,7.55064428 L-0.558786789,2.81769849 C-0.826294281,2.44318801 -0.739551214,1.9227296 -0.365040725,1.65522211 C-0.223706765,1.55426928 -0.0543613774,1.5 0.119324437,1.5 Z",id:"左",fill:"#FF9200",transform:"translate(3.500000, 5.000000) scale(-1, -1) rotate(-90.000000) translate(-3.500000, -5.000000) "},null)])])}),RightArrow=defineComponent({name:"ArrowSvg",props:{fill:String},render:()=>createVNode("svg",{id:"rightSvg",width:"15px",height:"10px",viewBox:"0 0 10 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[createVNode("g",{id:"页面-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[createVNode("path",{d:"M0.119324437,1.5 L6.88067556,1.5 C7.34091285,1.5 7.7140089,1.87309604 7.7140089,2.33333333 C7.7140089,2.50701915 7.65973962,2.67636453 7.55878679,2.81769849 L4.17811123,7.55064428 C3.91060373,7.92515477 3.39014533,8.01189784 3.01563484,7.74439035 C2.94080524,7.69094063 2.87533849,7.62547388 2.82188877,7.55064428 L-0.558786789,2.81769849 C-0.826294281,2.44318801 -0.739551214,1.9227296 -0.365040725,1.65522211 C-0.223706765,1.55426928 -0.0543613774,1.5 0.119324437,1.5 Z",id:"右",fill:"#FF9200",transform:"translate(3.500000, 5.000000) scale(1, -1) rotate(-90.000000) translate(-3.500000, -5.000000) "},null)])])}),colorsClass={RIGHT:styles$2.right,WRONG:styles$2.wrong,NOT_PLAYED:styles$2.notPlay,EARLY:styles$2.cadence_fast,LATE:styles$2.cadence_slow,HIGH:styles$2.intonation_high,LOW:styles$2.intonation_low,SHORT:styles$2.integrity_wrong},index=exports("default",defineComponent({name:"music-list",setup(){const query=getQuery(),useedid=ref([]),allNote=ref([]),scoreData=reactive({videoFilePath:"",cadence:0,integrity:0,intonation:0,score:0,speed:0,heardLevel:"",itemType:"intonation",musicType:"staff"}),detailData=reactive({isLoading:!0,paddingLeft:"",headerHide:!1,musicalNotesPlayStats:[],userMeasureScore:{},isNewReport:!0}),getAPPData=async()=>{const e=await isSpecialShapedScreen();if(null!=e&&e.content){const{isSpecialShapedScreen:t,notchHeight:i}=e.content;t&&(detailData.paddingLeft="25px")}detailData.paddingLeft="20px"};onBeforeMount((()=>{getAPPData(),api_setStatusBarVisibility()})),onMounted((async()=>{var _res$data,_resultData$musicalNo,_res$data3,_res$data4,_res$data5,_res$data6,_res$data7,_res$data8,_res$data9,_res$data10,_resultData$musicalNo2;state.isEvaluatReport=!0;const res=await api_musicPracticeRecordDetail(query.id);state.partIndex=Number(null==res||null===(_res$data=res.data)||void 0===_res$data?void 0:_res$data.partIndex);let resultData={};try{var _res$data2;resultData=eval("("+(null==res||null===(_res$data2=res.data)||void 0===_res$data2?void 0:_res$data2.scoreData)+")")}catch(error){console.error("解析评测结果:",error)}console.log("结果11",resultData),detailData.musicalNotesPlayStats=(null===(_resultData$musicalNo=resultData.musicalNotesPlayStats)||void 0===_resultData$musicalNo?void 0:_resultData$musicalNo.notesData)||[],detailData.userMeasureScore=resultData.userMeasureScore||{},detailData.isNewReport=!!res.data.practiceTime,scoreData.heardLevel=null===(_res$data3=res.data)||void 0===_res$data3?void 0:_res$data3.heardLevel,scoreData.cadence=null===(_res$data4=res.data)||void 0===_res$data4?void 0:_res$data4.cadence,scoreData.integrity=null===(_res$data5=res.data)||void 0===_res$data5?void 0:_res$data5.integrity,scoreData.intonation=null===(_res$data6=res.data)||void 0===_res$data6?void 0:_res$data6.intonation,scoreData.score=null===(_res$data7=res.data)||void 0===_res$data7?void 0:_res$data7.score,scoreData.speed=null===(_res$data8=res.data)||void 0===_res$data8?void 0:_res$data8.speed,scoreData.videoFilePath=(null===(_res$data9=res.data)||void 0===_res$data9?void 0:_res$data9.videoFilePath)||(null===(_res$data10=res.data)||void 0===_res$data10?void 0:_res$data10.recordFilePath),await getMusicDetail(null===(_resultData$musicalNo2=resultData.musicalNotesPlayStats)||void 0===_resultData$musicalNo2?void 0:_resultData$musicalNo2.examSongId),state.isSingleLine=!1,scoreData.musicType=query.musicRenderType?query.musicRenderType:resultData.musicType?resultData.musicType:state.musicRenderType,state.musicRenderType=scoreData.musicType,detailData.isLoading=!1}));const filterNotes=()=>{let e=detailData.isNewReport?["RIGHT","WRONG","NOT_PLAYED"]:["RIGHT","WRONG","NOT_PLAY"];return"intonation"===scoreData.itemType?e.push("HIGH","LOW"):"cadence"===scoreData.itemType?e.push("EARLY","LATE"):"integrity"===scoreData.itemType&&(e=detailData.isNewReport?["SHORT","NORMAL","NOT_PLAYED"]:["INTEGRITY_WRONG","RIGHT","NOT_PLAY"]),"cadence"===scoreData.itemType?detailData.musicalNotesPlayStats.filter((t=>e.includes(t.rhythmicAssessment?t.rhythmicAssessment.result:t.musicalErrorType))):"integrity"===scoreData.itemType?detailData.musicalNotesPlayStats.filter((t=>{var i;return e.includes(t.integrityAssessment?null===(i=t.integrityAssessment)||void 0===i?void 0:i.result:t.musicalErrorType)})):detailData.musicalNotesPlayStats.filter((t=>{let i=t.pitchAssessment?t.pitchAssessment.result:t.musicalErrorType;return e.includes(i)}))},setViewColor=()=>{clearViewColor();const e=filterNotes();console.log("评测报告111");for(const i of e){var t;const r=void 0!==i.musicalNotesIndex?i.musicalNotesIndex:i.index,n=detailData.isNewReport?0!=(null===(t=e[0])||void 0===t?void 0:t.measureRenderIndex)?allNote.value[r]:allNote.value.find((e=>e.i===r)):allNote.value[r];setTimeout((()=>{if(null==n||!n.id)return;if(null!=n&&n.id&&useedid.value.includes(null==n?void 0:n.id))return;useedid.value.push(n.id);const e=document.getElementById("vf-"+n.id),t=document.getElementById("vf-"+n.id+"-stem");let r="";r=detailData.isNewReport?"cadence"===scoreData.itemType?i.rhythmicAssessment.result:"integrity"===scoreData.itemType?i.integrityAssessment.result:i.pitchAssessment.result:i.musicalErrorType;detailData.isNewReport?"integrity"===scoreData.itemType&&(r=r="NORMAL"===i.integrityAssessment.result?"RIGHT":"SHORT"===i.integrityAssessment.result?"SHORT":r):r=i.musicalErrorType,detailData.isNewReport||(r="NOT_PLAY"==r?"NOT_PLAYED":"INTEGRITY_WRONG"==r?"SHORT":r),null==t||t.classList.add(colorsClass[r]),null==e||e.classList.add(colorsClass[r]),console.log(123456,"添加颜色",r)}),300)}},removeClass=e=>{if(!e)return;const t=e.classList.values();for(const i of t)0!==(null==i?void 0:i.indexOf("vf-"))&&e.classList.remove(i)},clearViewColor=()=>{for(const e of useedid.value){removeClass(document.getElementById("vf-"+e)),removeClass(document.getElementById("vf-"+e+"-stem"));const t="vf-"+e+"-copy",i=document.getElementById(t);i&&i.remove()}useedid.value=[]},handleRendered=e=>{var t,i,r,n;state.musicRendered=!0,state.osmd=e,allNote.value=formateTimes(e),console.log("🚀 ~ state.times:",allNote.value);const s=null===(t=detailData.musicalNotesPlayStats)||void 0===t||null===(i=t[0])||void 0===i?void 0:i.measureRenderIndex,o=null===(r=detailData.musicalNotesPlayStats)||void 0===r||null===(n=r.last())||void 0===n?void 0:n.measureRenderIndex;allNote.value=allNote.value.filter((e=>e.MeasureNumberXML>=s+1&&e.MeasureNumberXML<=o+1));Array.from(new Set(document.getElementsByClassName("vf-beam"))).forEach((e=>{e.classList.add(styles$2.beam)})),setViewColor(),api_cloudLoading()};return watch((()=>scoreData.itemType),(()=>{setViewColor()})),()=>createVNode("div",{class:[styles$2.detail,state.setting.eyeProtection&&"eyeProtection",styles$2.shareBox],style:{paddingLeft:detailData.paddingLeft}},[createVNode(Transition,{name:"van-fade"},{default:()=>[!state.musicRendered&&createVNode("div",{class:styles$2.skeleton},[createVNode(Skeleton,{class:styles$2.skeleton,row:8},null)])]}),createVNode("div",{class:["headHeight",styles$2.headHeight,detailData.headerHide&&styles$2.headHide],onClick:e=>e.stopPropagation()},[createVNode(Transition,{name:"van-slide-down"},{default:()=>[state.musicRendered&&createVNode(ShareTop,{scoreData:scoreData},null)]})]),createVNode("div",{id:"scrollContainer",class:[styles$2.container,!state.setting.displayCursor&&"hideCursor"]},[!detailData.isLoading&&createVNode(MusicScore,{musicColor:"#1B1B1B",onRendered:handleRendered},null),createVNode("div",{class:styles$2.arrowSvg},[createVNode(TopArrow,null,null),createVNode(BottomArrow,null,null),createVNode(LeftArrow,null,null),createVNode(RightArrow,null,null)])])])}}))}}}))})();