index-legacy-f78a5c5f.js 229 KB

1
  1. (function(){System.register(["./instrument-legacy-46adc00c.js"],(function(exports,module){"use strict";var __vite_style__=document.createElement("style"),createNamespace,defineComponent,createVNode,addUnit,numericProp,withInstall,getSizeStyle,makeStringProp,mergeProps,makeNumericProp,truthProp,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_ianxe_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_ianxe_12{padding-top:.53333rem}._back_ianxe_15{display:flex;justify-content:center;align-items:center;padding-right:.26667rem;height:100%}._back_ianxe_15 img{display:block;width:.74667rem;height:.74667rem}._disabled_ianxe_27{pointer-events:none}._left_ianxe_30{display:flex;align-items:center}._left_ianxe_30 ._leftContent_ianxe_34 ._lcName_ianxe_34{font-size:.48rem;font-weight:600;color:#fff;height:.53333rem;line-height:.53333rem;margin-bottom:.05333rem;padding:0!important;width:5.33333rem}._left_ianxe_30 ._leftContent_ianxe_34 ._lcName_ianxe_34 .van-notice-bar{height:.53333rem;line-height:.53333rem;padding:0!important}._left_ianxe_30 ._leftContent_ianxe_34 ._lcName_ianxe_34 .van-notice-bar__content{color:#333}._left_ianxe_30 ._leftContent_ianxe_34 ._lcScore_ianxe_52{font-size:.32rem;color:#777;line-height:.48rem;font-weight:400}._center_ianxe_58{display:flex;align-items:center;margin:0 auto}._center_ianxe_58 ._cItem_ianxe_63{text-align:center;padding:0 .32rem;white-space:nowrap}._center_ianxe_58 ._cItem_ianxe_63>div:first-child{font-size:.32rem;color:#333;line-height:.37333rem;margin-bottom:.16rem;font-weight:700}._center_ianxe_58 ._cItem_ianxe_63>div:last-child{font-size:.32rem;color:#777;line-height:.32rem;padding:.10667rem .21333rem;border-radius:.37333rem}._center_ianxe_58 ._cItem_ianxe_63:not(:last-child){border-right:.02667rem solid #EBDABF}._center_ianxe_58 ._active_ianxe_85>div:first-child{color:var(--van-primary-color)!important}._center_ianxe_58 ._active_ianxe_85>div:last-child{background-color:#ecf9ff;color:var(--van-primary-color)}._middle_ianxe_92{display:flex;align-items:center;justify-content:center;width:60%;position:absolute;left:50%;top:50%;transform:translate(-35%,-50%)}._middle_ianxe_92 ._cItem_ianxe_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_ianxe_92 ._cItem_ianxe_63 ._mScore_ianxe_113{font-size:.42667rem;line-height:.58667rem;color:#aaa;font-weight:600}._middle_ianxe_92 ._cItem_ianxe_63 ._mLabel_ianxe_119{font-size:.32rem;line-height:.48rem;color:#aaa}._middle_ianxe_92 ._active_ianxe_85{background:#D3F3ED;border-radius:.21333rem}._middle_ianxe_92 ._active_ianxe_85 ._mScore_ianxe_113,._middle_ianxe_92 ._active_ianxe_85 ._mLabel_ianxe_119{color:#000}._middle_ianxe_92 ._active_ianxe_85 ._mLabel_ianxe_119{font-weight:600}._padMiddle_ianxe_135 ._cItem_ianxe_63{width:1.33333rem}._right_ianxe_138{display:flex;align-items:center}._right_ianxe_138 ._btn_ianxe_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_ianxe_138 ._btn_ianxe_142+._btn_ianxe_142{margin-left:.26667rem}._right_ianxe_138 ._btn_ianxe_142 ._iconBtn_ianxe_158{display:block;width:.88rem;height:.88rem}._right_ianxe_138 ._btn_ianxe_142 span{margin-top:.05333rem;white-space:nowrap;transform:scale(.9)}._right_ianxe_138 ._btn_ianxe_142 ._btnWrap_ianxe_168{position:relative;width:.66667rem;height:.66667rem}._popup_ianxe_173{--plyr-color-main: var(--van-primary-color)}._popup_ianxe_173 .van-popup__close-icon{width:.85333rem;height:.85333rem;top:-.08rem;right:-1.28rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAADeBJREFUaEPFWwuQFNUVPbd7emb/uLC7wiqKJnwTieGrCKIRTSQhJAbNp6wklarEYIqgaExFoyb4SQUTlVBKJFVWxUrFBChLIdlgWFA+YiALKsFFRGUBXYRdXffLzHT3u/G97p6Z7umemUVipmqKnZnX993z7rmfd9+DcLpfq1fraOifpAmaCdB4Zh4LwkgA1WBUq+mIegHuBXCUQAcA3i803o4TlXtw3XX26VSJTouwlscMvadsLgjXg/lKAEP8cr1puNh03US0kRl/smuSTZhyg1nsgWK/fzSAzX8cFo9hMTEtZHCdp35QaPD7KJi5zxFRJ4NXpi0sx5zvvFcMSNTvpwaw5bGKsv7y28G0GOCqKOFnxsswqqwKIxOVqNINVOgxAIx+20a/beJoqh9tyT4cTycL6d8HwvJk5cn7MeWGgcECHTTA6m1/nmezvYKYz81axhFTrRu4onYELq6px+TqOgw14j59CARGvv26zDRaejvxYk8HNn1wDL1WPjOZcBikLxqY9a31gwFZOsCmpkRN9fsPMrAQzL7n6owErq0fhdlnDEeMtMHMnzfWFAJbu49jTUcbOs2AZYnkxCt7eocuwdy5qVImKglgxfYnG+Mk1rPgSblC5cOfrRqKBfXnwVDA/NaRn3InCPscpqR8xmSBtR1t2NP3ft4Q0mhPmrV5AzO/2V4MZFGAdTv/MkZY9rNgjPJpC2BMWQ2uqG3MVyDnm1zIcrKicTQgbVNXO14/2eN869e2TYvpn++c/o3XC4EsCFCCI1tsY6DBJ4Sdub449G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QOnVycAPqj34Z2O6zjvXcl3emEXK2UaASPWzbVRNWNU4JP3yRom/s2DYP7B6fRdXc+fsSV6vS8mjOaZDftB7QLMZwRobNT8QaaP6K+lnRx2eetB93bnmEGZkD0Dy1C3ZcQ3Qa7HgPYNSyhcgjwqO/q5td/ABUylzETQm9q3pH2LWRsCUtWf+SB4ZTOXITp9Eeu7Z3xgoq8Qhbir+tY3ujpeEFIOQSQrFQ9nH+TtQWs3HJsvqZoXdmCu5sl/RsG6PbtI3ZuUaSP7iYz/mfCHbtooJX9nvnr0jDE07YOs96sGZW5F2ZYlt3/Kxn5xhhW8+eXksGpvWiZ1FtcqlBbZouPv+rAuDCjRJCr9v6tzfGLG093GslwSHFdo8flbFBC8prI2ZMzFtWGU5L3zKUOvkiPpg4o6fzQab8y3ilyvjI4+RlPMbKD2rqlqyg0afvMl6uYnf175oH214BZG9iRF0ziPbQKK/yP+G7mQEchq4vWlo57X90nTIH5S+4pYL6zNsBLAYQeSG2dIsVrH77ACznKuP+X1C2QilV9qDcOij0/p6dw2zixSBaCHBdKUV6If8IWLwTjJU60/Lba6Z/zFeaA0gf4xaja4DnChLXgxFyKb3U9UY3CBs11v5UW0FNN9CU//Ol9BC9ZY9nujlqkhA0k5nHAxjLjHOISFLZ+W8F4F5m7iOiIx92TA4Q0X5N4+07jbY9a+j0/reC/wJcVFwZuf5hGgAAAABJRU5ErkJggg==) no-repeat;background-size:100% 100%}._popup_ianxe_173 .van-popup__close-icon:before{display:none}._playerBoxContent_ianxe_187{background:#FFF8F8;border-radius:.53333rem;padding:.21333rem}._playerBoxContent_ianxe_187 ._playerBoxCon_ianxe_187{position:relative;width:13.86667rem;padding-top:56.25%}._playerBoxContent_ianxe_187 ._playerBoxCon_ianxe_187._padPlayerBox_ianxe_197{width:11.41333rem}._playerBox_ianxe_187{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}._playerBox_ianxe_187 .plyr{border-radius:.42667rem;width:100%;height:100%}._playerBox_ianxe_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_ianxe_187 .plyr .plyr__control.plyr__control--overlaid .plyr__sr-only,._playerBox_ianxe_187 .plyr .plyr__control.plyr__control--overlaid svg{display:none}._playerBox_ianxe_187 .plyr .plyr__controls{background:initial;padding:.53333rem .53333rem .34667rem;opacity:1!important;transform:translateY(0)!important;pointer-events:initial!important}._playerBox_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__control{padding:0;width:.48rem;height:.48rem}._playerBox_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__control:hover{background:initial}._playerBox_ianxe_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_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__control .icon--pressed use{display:none}._playerBox_ianxe_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+00alDme4TrLh7u9g0lDGQbuqbgik5GDNtJd4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r__controls__item.plyr__control .icon--not-pressed use{display:none}._playerBox_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container{margin-left:.24rem}._playerBox_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]{color:#01c1b5;height:.53333rem}._playerBox_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]::-webkit-slider-runnable-track{height:.10667rem}._playerBox_ianxe_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_ianxe_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_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__time{font-weight:500;font-size:.37333rem;color:#131415}._playerBox_ianxe_187 .plyr .plyr__controls .plyr__controls__item.plyr__time.plyr__time--current{margin-left:.24rem}._playerBox_ianxe_187 .plyr .plyr__video-wrapper .plyr__poster{background-size:100% 100%}._playerBox_ianxe_187 ._videoBox_ianxe_290{width:100%;height:100%}._playerBox_ianxe_187 ._audioBox_ianxe_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_ianxe_187 ._audioBox_ianxe_294 ._audioBga_ianxe_303{width:100%;height:88%}._playerBox_ianxe_187 ._audioBox_ianxe_294 ._audioBga1_ianxe_307{position:absolute;left:0;top:.21333rem;width:3.89333rem}._playerBox_ianxe_187 ._audioBox_ianxe_294 ._audioBga2_ianxe_313{width:7.14667rem;position:absolute;right:-.64rem;top:-.21333rem}._playerBox_ianxe_187 ._audioBox_ianxe_294 .plyr{position:absolute;height:initial;left:0;bottom:0;box-shadow:initial}._playerBox_ianxe_187 ._audioBox_ianxe_294 ._audioVisualizer_ianxe_326{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:9.86667rem;height:1.76rem}._videoPlayerBox_ianxe_334 .plyr .plyr__controls{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.7) 100%)}._videoPlayerBox_ianxe_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_ianxe_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_ianxe_334 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]{color:#fff}._videoPlayerBox_ianxe_334 .plyr .plyr__controls .plyr__controls__item.plyr__progress__container input[type=range]::-webkit-slider-thumb{background:#fff}._videoPlayerBox_ianxe_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_ianxe_334 .plyr .plyr__controls .plyr__controls__item.plyr__time{color:#fff}._demos_ianxe_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_ianxe_360>div{display:flex;align-items:center;margin-right:.42667rem}._demos_ianxe_360>div:last-child{margin-right:0}._demos_ianxe_360>div>span{margin-left:.10667rem;color:#1a1a1a}._demos_ianxe_360>div>i{width:.32rem;height:.32rem;margin-right:.05333rem;border-radius:.08rem;display:inline-block}._shiyiClose_ianxe_393{width:.8rem;height:.8rem;position:absolute;right:-1.01333rem;top:-.69333rem;cursor:pointer}._shiyiPopup_ianxe_401{background:#fff;border-radius:.53333rem;width:80vw;max-width:12.26667rem;padding:.26667rem;position:relative}._shiyiPopup_ianxe_401 ._shiyiTop_ianxe_409{position:absolute;width:4.10667rem;left:50%;top:-.16rem;transform:translate(-50%)}._shiyiTitle_ianxe_416{font-size:.42667rem;color:#333;font-weight:400;text-align:center}._items_ianxe_422{display:flex;flex-wrap:wrap;margin-top:.42667rem;position:relative}._items_ianxe_422 ._item_ianxe_422{width:50%;display:flex;align-items:center;padding:.32rem 0 .32rem .48rem}._items_ianxe_422 ._item_ianxe_422 span{margin-left:.32rem;font-size:.32rem;font-weight:400}._items_ianxe_422 ._item_ianxe_422 svg{visibility:visible}._items_ianxe_422 ._item_ianxe_422:nth-child(2n){transform:translate(.53333rem)}._items_ianxe_422 ._itemTone_ianxe_445{width:50%;display:flex;align-items:center;padding:.42667rem 0 .42667rem .69333rem;position:relative}._items_ianxe_422 ._itemTone_ianxe_445:nth-child(2n){transform:translate(.53333rem)}._items_ianxe_422 ._itemTone_ianxe_445 span{font-size:.32rem;font-weight:400}._items_ianxe_422 ._itemTone_ianxe_445>i{width:.32rem;height:.32rem;margin-right:.32rem;border-radius:.08rem;display:inline-block}._tyImg_ianxe_466{position:absolute;top:50%;left:50%;transform:translate(-50%,calc(-50% + 1.12rem));width:5.30667rem;height:2.82667rem}._playLarge_ianxe_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/39quY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;background-size:100% 100%;z-index:12;display:none}._playLarge_ianxe_474._playIngShow_ianxe_486{display:initial}._gramoBox_ianxe_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_ianxe_489 ._gramoPan_ianxe_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_ianxe_1 6s linear infinite}._gramoBox_ianxe_489 ._gramoPan_ianxe_503._imgRotate_ianxe_514{animation-play-state:paused}._gramoBox_ianxe_489 ._audioImg_ianxe_517{width:1.17333rem;height:1.17333rem;border-radius:50%;overflow:hidden}._gramoBox_ianxe_489 ._audioPoint_ianxe_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_ianxe_489 ._audioZhen_ianxe_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_ianxe_489 ._audioZhen_ianxe_534._active_ianxe_85{transform:rotate(92deg) translateZ(.08rem);transition:transform .5s ease-in-out}@keyframes _rotateImg_ianxe_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,mergeProps=e.l,makeNumericProp=e.p,truthProp=e.t,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)},a=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 s;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(a(i))},null)))])])]):null==(s=t.default)?void 0:s.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_ianxe_1",android="_android_ianxe_12",back="_back_ianxe_15",disabled="_disabled_ianxe_27",left="_left_ianxe_30",leftContent="_leftContent_ianxe_34",lcName="_lcName_ianxe_34",lcScore="_lcScore_ianxe_52",center="_center_ianxe_58",cItem="_cItem_ianxe_63",active="_active_ianxe_85",middle="_middle_ianxe_92",mScore="_mScore_ianxe_113",mLabel="_mLabel_ianxe_119",padMiddle="_padMiddle_ianxe_135",right="_right_ianxe_138",btn="_btn_ianxe_142",iconBtn="_iconBtn_ianxe_158",btnWrap="_btnWrap_ianxe_168",popup="_popup_ianxe_173",playerBoxContent="_playerBoxContent_ianxe_187",playerBoxCon="_playerBoxCon_ianxe_187",padPlayerBox="_padPlayerBox_ianxe_197",playerBox="_playerBox_ianxe_187",videoBox="_videoBox_ianxe_290",audioBox="_audioBox_ianxe_294",audioBga="_audioBga_ianxe_303",audioBga1="_audioBga1_ianxe_307",audioBga2="_audioBga2_ianxe_313",audioVisualizer="_audioVisualizer_ianxe_326",videoPlayerBox="_videoPlayerBox_ianxe_334",demos="_demos_ianxe_360",shiyiClose$1="_shiyiClose_ianxe_393",shiyiPopup="_shiyiPopup_ianxe_401",shiyiTop$1="_shiyiTop_ianxe_409",shiyiTitle="_shiyiTitle_ianxe_416",items="_items_ianxe_422",item="_item_ianxe_422",itemTone="_itemTone_ianxe_445",tyImg$1="_tyImg_ianxe_466",playLarge="_playLarge_ianxe_474",playIngShow="_playIngShow_ianxe_486",gramoBox="_gramoBox_ianxe_489",gramoPan="_gramoPan_ianxe_503",rotateImg="_rotateImg_ianxe_1",imgRotate="_imgRotate_ianxe_514",audioImg="_audioImg_ianxe_517",audioPoint="_audioPoint_ianxe_523",audioZhen="_audioZhen_ianxe_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,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAADnlJREFUeF7tXQlwVdUZ/v5z78sGgbCoIAiiTo0SZRETSMdW6gYKjHSmHWcYrY7WZcZtXGvBpbVurbsdK4wOCGV02hlxCCC2ICgjkAhJwISlBsKSABKykZCX996996/nvvcgZCFvOfe9C7w7PGYY7vnPf//vnP+c82+H4LLn2jVrdN+5vn7kM7NNUB+h8QjLMvMAMZoJI8ni/hDox4z+IPSz2WccJUIzLBxlQc3E2AtYlUJoFZZJ+zTwMU7XWtIPpx9dO3my4aZPJjcwc231mozWZu9lGjiPGHkW8WgwcgE+H0BmnDx6AToAwg7BVMmEChNU0bd/5va1oya3x0k77uZJBaDg+1XnwfDeRiRmmWwNI8hRTVlgdoYvIgZzGwPNGolaZmsx9MxPi6+4/se4JRkjAWc+tCdmmCl/x5KB7NXzBIk7mfhWMHJi5F1NM0ITMX1usbWAMo2KktyZDZBAJehJGABXbVs5VPP7ZwA0E8C1YKQn6Bsj64bg+4mvtQAvMdPSlm6+fMrByBrG95bjAEzavz6T6xvusZjvAzAKQFZ8LDveug1AtSCaS4MGfrjhgkKvkz06BsBVm4qyNIExIHod4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H/tC3pepZAOIRb+Hdmsu9hswRjPCaQpolRg/tTDdB9qAECKbQB6ifNSanncsMoLSQqWcS0aiMceejdi7czzFgekItUTNdBw0Y/1YDNleazUI6izfQZTNOFKHYSOdkTqGj3lPn0uwwMusmygYMPqoxg5NTaWUSpDO/YPpcoYTYCoitRgmg6kiShDRH9FX0zS12/7DLzOHMYRxCIM0I2zBmI1E2ExRdC/FgzpoN2GGDWsXdYkWGP0/zzmlE5+5tKIAAAAASUVORK5CYII=",shiyiTop=""+new URL("../png/shiyi-top-58e1c198.png",module.meta.url).href,shiyiClose="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAADeBJREFUaEPFWwuQFNUVPbd7emb/uLC7wiqKJnwTieGrCKIRTSQhJAbNp6wklarEYIqgaExFoyb4SQUTlVBKJFVWxUrFBChLIdlgWFA+YiALKsFFRGUBXYRdXffLzHT3u/G97p6Z7umemUVipmqKnZnX993z7rmfd9+DcLpfq1fraOifpAmaCdB4Zh4LwkgA1WBUq+mIegHuBXCUQAcA3i803o4TlXtw3XX26VSJTouwlscMvadsLgjXg/lKAEP8cr1puNh03US0kRl/smuSTZhyg1nsgWK/fzSAzX8cFo9hMTEtZHCdp35QaPD7KJi5zxFRJ4NXpi0sx5zvvFcMSNTvpwaw5bGKsv7y28G0GOCqKOFnxsswqqwKIxOVqNINVOgxAIx+20a/beJoqh9tyT4cTycL6d8HwvJk5cn7MeWGgcECHTTA6m1/nmezvYKYz81axhFTrRu4onYELq6px+TqOgw14j59CARGvv26zDRaejvxYk8HNn1wDL1WPjOZcBikLxqY9a31gwFZOsCmpkRN9fsPMrAQzL7n6owErq0fhdlnDEeMtMHMnzfWFAJbu49jTUcbOs2AZYnkxCt7eocuwdy5qVImKglgxfYnG+Mk1rPgSblC5cOfrRqKBfXnwVDA/NaRn3InCPscpqR8xmSBtR1t2NP3ft4Q0mhPmrV5AzO/2V4MZFGAdTv/MkZY9rNgjPJp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3OdkCt3AMldbjiMEJZ1SWQTE1ycZSMqJ1FeKy4b9Xwy/Nb9wpge0uFrve1MuA7fIlq8jgRzT39CRxQOnVycAPqj34Z2O6zjvXcl3emEXK2UaASPWzbVRNWNU4JP3yRom/s2DYP7B6fRdXc+fsSV6vS8mjOaZDftB7QLMZwRobNT8QaaP6K+lnRx2eetB93bnmEGZkD0Dy1C3ZcQ3Qa7HgPYNSyhcgjwqO/q5td/ABUylzETQm9q3pH2LWRsCUtWf+SB4ZTOXITp9Eeu7Z3xgoq8Qhbir+tY3ujpeEFIOQSQrFQ9nH+TtQWs3HJsvqZoXdmCu5sl/RsG6PbtI3ZuUaSP7iYz/mfCHbtooJX9nvnr0jDE07YOs96sGZW5F2ZYlt3/Kxn5xhhW8+eXksGpvWiZ1FtcqlBbZouPv+rAuDCjRJCr9v6tzfGLG093GslwSHFdo8flbFBC8prI2ZMzFtWGU5L3zKUOvkiPpg4o6fzQab8y3ilyvjI4+RlPMbKD2rqlqyg0afvMl6uYnf175oH214BZG9iRF0ziPbQKK/yP+G7mQEchq4vWlo57X90nTIH5S+4pYL6zNsBLAYQeSG2dIsVrH77ACznKuP+X1C2QilV9qDcOij0/p6dw2zixSBaCHBdKUV6If8IWLwTjJU60/Lba6Z/zFeaA0gf4xaja4DnChLXgxFyKb3U9UY3CBs11v5UW0FNN9CU//Ol9BC9ZY9nujlqkhA0k5nHAxjLjHOISFLZ+W8F4F5m7iOiIx92TA4Q0X5N4+07jbY9a+j0/reC/wJcVFwZuf5hGgAAAABJRU5ErkJggg==",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;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,i){return t&&_defineProperties(e.prototype,t),i&&_defineProperties(e,i),e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach((function(t){_defineProperty(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var defaults$1={addCSS:!0,thumbWidth:15,watch:!0};function matches$1(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}function trigger(e,t){if(e&&t){var i=new Event(t,{bubbles:!0});e.dispatchEvent(i)}}var getConstructor$1=function(e){return null!=e?e.constructor:null},instanceOf$1=function(e,t){return!!(e&&t&&e instanceof t)},isNullOrUndefined$1=function(e){return null==e},isObject$1=function(e){return getConstructor$1(e)===Object},isNumber$1=function(e){return getConstructor$1(e)===Number&&!Number.isNaN(e)},isString$1=function(e){return getConstructor$1(e)===String},isBoolean$1=function(e){return getConstructor$1(e)===Boolean},isFunction$1=function(e){return getConstructor$1(e)===Function},isArray$1=function(e){return Array.isArray(e)},isNodeList$1=function(e){return instanceOf$1(e,NodeList)},isElement$1=function(e){return instanceOf$1(e,Element)},isEvent$1=function(e){return instanceOf$1(e,Event)},isEmpty$1=function(e){return isNullOrUndefined$1(e)||(isString$1(e)||isArray$1(e)||isNodeList$1(e))&&!e.length||isObject$1(e)&&!Object.keys(e).length},is$1={nullOrUndefined:isNullOrUndefined$1,object:isObject$1,number:isNumber$1,string:isString$1,boolean:isBoolean$1,function:isFunction$1,array:isArray$1,nodeList:isNodeList$1,element:isElement$1,event:isEvent$1,empty:isEmpty$1};function getDecimalPlaces(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function round(e,t){if(1>t){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],a=parseFloat(r.getAttribute("min"))||0,s=parseFloat(r.getAttribute("max"))||100,o=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:100<i&&(i=100),50>i?i-=(100-2*i)*c:50<i&&(i+=2*(i-50)*c),a+round(i/100*(s-a),o)}},{key:"set",value:function(t){e.enabled&&is$1.event(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),trigger(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=null;if(is$1.empty(t)||is$1.string(t)?r=Array.from(document.querySelectorAll(is$1.string(t)?t:'input[type="range"]')):is$1.element(t)?r=[t]:is$1.nodeList(t)?r=Array.from(t):is$1.array(t)&&(r=t.filter(is$1.element)),is$1.empty(r))return null;var n=_objectSpread2({},defaults$1,{},i);if(is$1.string(t)&&n.watch){var a=new MutationObserver((function(i){Array.from(i).forEach((function(i){Array.from(i.addedNodes).forEach((function(i){is$1.element(i)&&matches$1(i,t)&&new e(i,n)}))}))}));a.observe(document.body,{childList:!0,subtree:!0})}return r.map((function(t){return new e(t,i)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}();const getConstructor=e=>null!=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,a=e.nextSibling;r.appendChild(e),a?n.insertBefore(r,a):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(".",""),a=t.replace(/[[\]]/g,"").split("="),[s]=a,o=a.length>1?a[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[s]=o}})),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,a=!1){if(!e||!("addEventListener"in e)||is.empty(t)||!is.function(i))return;const s=t.split(" ");let o=a;supportsPassiveListeners&&(o={passive:n,capture:a}),s.forEach((t=>{this&&this.eventListeners&&r&&this.eventListeners.push({element:e,type:t,callback:i,options:o}),e[r?"addEventListener":"removeEventListener"](t,i,o)}))}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 a=(...s)=>{off(e,t,a,r,n),i.apply(this,s)};toggleListener.call(this,e,t,a,!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)<Math.abs(e-t)?i:e)):null}function supportsCSS(e){return!(!window||!window.CSS)&&window.CSS.supports(e)}const standardRatios=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce(((e,[t,i])=>({...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),a=100/r*n;if(supportsCSS(`aspect-ratio: ${r}/${n}`)?t.style.aspectRatio=`${r}/${n}`:t.style.paddingBottom=`${a}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const e=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),i=(e-a)/(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:a,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:a,readyState:s,playbackRate:o}=e.media;e.media.src=i.getAttribute("src"),("none"!==a||s)&&(e.once("loadedmetadata",(()=>{e.speed=o,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 a=()=>null!==document.getElementById(t),s=(e,t)=>{e.innerHTML=t,r&&a()||document.body.insertAdjacentElement("afterbegin",e)};if(!r||!a()){const a=Storage.supported,o=document.createElement("div");if(o.setAttribute("hidden",""),r&&o.setAttribute("id",t),a){const e=window.localStorage.getItem(`${i}-${t}`);if(n=null!==e,n){const t=JSON.parse(e);s(o,t.content)}}fetch(e).then((e=>{if(!is.empty(e)){if(a)try{window.localStorage.setItem(`${i}-${t}`,JSON.stringify({content:e}))}catch(e){}s(o,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 a=getMinutes(e),s=getSeconds(e);return n=t||n>0?`${n}:`:"",`${i&&e>0?"-":""}${n}${r(a)}:${r(s)}`}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}`,a=document.createElementNS(i,"svg");setAttributes(a,extend(t,{"aria-hidden":"true",focusable:"false"}));const s=document.createElementNS(i,"use"),o=`${n}-${e}`;return"href"in s&&s.setAttributeNS("http://www.w3.org/1999/xlink","href",o),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),a.appendChild(s),a},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 a=createElement(n.element);return n.toggle?(a.appendChild(controls.createIcon.call(this,n.iconPressed,{class:"icon--pressed"})),a.appendChild(controls.createIcon.call(this,n.icon,{class:"icon--not-pressed"})),a.appendChild(controls.createLabel.call(this,n.labelPressed,{class:"label--pressed"})),a.appendChild(controls.createLabel.call(this,n.label,{class:"label--not-pressed"}))):(a.appendChild(controls.createIcon.call(this,n.icon)),a.appendChild(controls.createLabel.call(this,n.label))),extend(i,getAttributesFromSelector(this.config.selectors.buttons[r],i)),setAttributes(a,i),"play"===r?(is.array(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(a)):this.elements.buttons[r]=a,a},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:a=!1}){const s=getAttributesFromSelector(this.config.selectors.inputs[i]),o=createElement("button",extend(s,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${s.class?s.class:""}`.trim(),"aria-checked":a,value:e})),l=createElement("span");l.innerHTML=r,is.element(n)&&l.appendChild(n),o.appendChild(l),Object.defineProperty(o,"checked",{enumerable:!0,get:()=>"true"===o.getAttribute("aria-checked"),set(e){e&&Array.from(o.parentNode.children).filter((e=>matches(e,'[role="menuitemradio"]'))).forEach((e=>e.setAttribute("aria-checked","false"))),o.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(o,"click keyup",(t=>{if(!is.keyboardEvent(t)||" "===t.key){switch(t.preventDefault(),t.stopPropagation(),o.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,o,i),t.appendChild(o)},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`,a=e=>toggleClass(r,n,e);if(this.touch)return void a(!1);let s=0;const o=this.elements.progress.getBoundingClientRect();if(is.event(e))s=100/o.width*(e.pageX-o.left);else{if(!hasClass(r,n))return;s=parseFloat(r.style.left,10)}s<0?s=0:s>100&&(s=100);const l=this.duration/100*s;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}<br>`),r.style.left=`${s}%`,is.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&a("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,a=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(a)||(a=r&&r.querySelector('[role="menu"]')),!is.element(a))return;this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=controls.getLabel.call(this,e,n);const s=a&&a.querySelector(`[value="${n}"]`);is.element(s)&&(s.checked=!0)},getLabel(e,t){switch(e){case"speed":return 1===t?i18n.get("normal",this.config):`${t}&times;`;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,a=t.contains(r);if(a||!a&&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:a,setQualityMenu:s,setSpeedMenu:o,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((s=>{if("restart"===s&&c.appendChild(i.call(this,"restart",d)),"rewind"===s&&c.appendChild(i.call(this,"rewind",d)),"play"===s&&c.appendChild(i.call(this,"play",d)),"fast-forward"===s&&c.appendChild(i.call(this,"fast-forward",d)),"progress"===s){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"===s&&c.appendChild(a.call(this,"currentTime",d)),"duration"===s&&c.appendChild(a.call(this,"duration",d)),"mute"===s||"volume"===s){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"===s&&t.appendChild(i.call(this,"mute")),"volume"===s&&!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"===s&&c.appendChild(i.call(this,"captions",d)),"settings"===s&&!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:""}),a=createElement("div"),s=createElement("div",{id:`plyr-settings-${e.id}-home`}),o=createElement("div",{role:"menu"});s.appendChild(o),a.appendChild(s),this.elements.settings.panels.home=s,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)),s=createElement("span",{class:this.config.classNames.menu.value});s.innerHTML=e[i],n.appendChild(s),r.appendChild(n),o.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"})),a.appendChild(c),this.elements.settings.buttons[i]=r,this.elements.settings.panels[i]=c})),n.appendChild(a),r.appendChild(n),c.appendChild(r),this.elements.settings.popup=n,this.elements.settings.menu=r}if("pip"===s&&support.pip&&c.appendChild(i.call(this,"pip",d)),"airplay"===s&&support.airplay&&c.appendChild(i.call(this,"airplay",d)),"download"===s){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"===s&&c.appendChild(i.call(this,"fullscreen",d))})),this.isHTML5&&s.call(this,html5.getQualityOptions.call(this)),o.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&&e<this.duration));if(null==i||!i.length)return;const r=document.createDocumentFragment(),n=document.createDocumentFragment();let a=null;const s=`${this.config.classNames.tooltip}--visible`,o=e=>toggleClass(a,s,e);i.forEach((e=>{const t=createElement("span",{class:this.config.classNames.marker},""),i=e.time/this.duration*100+"%";a&&(t.addEventListener("mouseenter",(()=>{e.label||(a.style.left=i,a.innerHTML=e.label,o(!0))})),t.addEventListener("mouseleave",(()=>{o(!1)}))),t.addEventListener("click",(()=>{this.currentTime=e.time})),t.style.left=i,n.appendChild(t)})),r.appendChild(n),this.config.tooltips.seek||(a=createElement("span",{class:this.config.classNames.tooltip},""),r.appendChild(a)),this.elements.markers={points:n,tip:a},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,a=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)))})),(a&&this.language!==i||!e.includes(n))&&(captions.setLanguage.call(this,i),captions.toggle.call(this,t&&a)),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 a;return e.every((e=>(a=n.find((t=>t.language===e)),!a))),a||(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,a=()=>{delete n.onload,delete n.onerror,(n.naturalWidth>=t?i:r)(n)};Object.assign(n,{onload:a,onerror:a,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 a=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(ui.toggleControls.call(e,!0),a=e.touch?3e3:2e3),clearTimeout(r.controls),r.controls=setTimeout((()=>ui.toggleControls.call(e,!1)),a)}));const n=()=>{if(!e.isVimeo||e.config.vimeo.premium)return;const t=i.wrapper,{active:r}=e.fullscreen,[n,a]=getAspectRatio.call(e),s=supportsCSS(`aspect-ratio: ${n} / ${a}`);if(!r)return void(s?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null));const[o,l]=getViewportSize(),c=o/l>n/a;s?(t.style.width=c?"auto":"100%",t.style.height=c?"100%":"auto"):(t.style.maxWidth=c?l/a*n+"px":null,t.style.margin=c?"0 auto":null)},a=()=>{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",a)))}))})),_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 a=!0;is.function(n)&&(a=n.call(r,e)),!1!==a&&is.function(t)&&t.call(r,e)})),_defineProperty$1(this,"bind",((e,t,i,r,n=!0)=>{const{player:a}=this,s=a.config.listeners[r],o=is.function(s);on.call(a,e,t,(e=>this.proxy(e,i,r)),n&&!o)})),_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),a=["mouseup","touchend","keyup"].includes(t.type);n&&a?(i.removeAttribute(r),silencePromise(e.play())):!a&&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)),a=Math.sign(Math.abs(r)>Math.abs(n)?r:n);e.increaseVolume(a/50);const{volume:s}=e.media;(1===a&&s<1||-1===a&&s>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:a,ctrlKey:s,metaKey:o,shiftKey:l}=e,c="keydown"===n,d=c&&r===this.lastKey;var p;if(!(a||s||o||l)&&r)if(c){const n=document.activeElement;if(is.element(n)){const{editable:r}=t.config.selectors,{seek:a}=i.inputs;if(n!==a&&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 a(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function s(t,i,r,n){var a,o,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)?((o=l.createElement("link")).rel="stylesheet",o.href=h,(a="hideFocus"in o)&&o.relList&&(a=0,o.rel="preload",o.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(u)?(o=l.createElement("img")).src=h:((o=l.createElement("script")).src=t,o.async=void 0===c||c),o.onload=o.onerror=o.onbeforeload=function(e){var l=e.type[0];if(a)try{o.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((n+=1)<d)return s(t,i,r,n)}else if("preload"==o.rel&&"style"==o.as)return o.rel="stylesheet";i(t,l,e.defaultPrevented)},!1!==p(t,o)&&l.head.appendChild(o)}function o(e,t,i){var r,n,a=(e=e.push?e:[e]).length,o=a,l=[];for(r=function(e,i,r){if("e"==i&&l.push(e),"b"==i){if(!r)return;l.push(e)}--a||t(l)},n=0;n<o;n++)s(e[n],r,i)}function l(e,i,r){var s,l;if(i&&i.trim&&(s=i),l=(s?r:i)||{},s){if(s in t)throw"LoadJS";t[s]=!0}function c(t,i){o(e,(function(e){a(l,e),t&&a({success:t,error:i},e),n(s,e)}),l)}if(l.returnPromise)return new Promise(c);c()}return l.ready=function(e,t){return function(e,t){e=e.push?e:[e];var n,a,s,o=[],l=e.length,c=l;for(n=function(e,i){i.length&&o.push(e),--c||t(o)};l--;)a=e[l],(s=i[a])?n(a,s):(r[a]=r[a]||[]).push(n)}(e,(function(e){a(t,e)})),l},l.done=function(e){n(e,[])},l.reset=function(){t={},i={},r={}},l.isDefined=function(e){return e in t},l}()}));function loadScript(e){return new Promise(((t,i)=>{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 a=e.media.getAttribute("src"),s="";is.empty(a)?(a=e.media.getAttribute(e.config.attributes.embed.id),s=e.media.getAttribute(e.config.attributes.embed.hash)):s=parseHash(a);const o=s?{h:s}:{};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,...o,...n}),c=parseId$1(a),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:a}=e,s=n&&!i.hasPlayed;r.seeking=!0,triggerEvent.call(e,r,"seeking"),Promise.resolve(s&&i.setVolume(0)).then((()=>i.setCurrentTime(t))).then((()=>s&&i.pause())).then((()=>s&&i.setVolume(a))).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),a=createElement("div",{id:generateId(e.provider),"data-poster":t.customControls?e.poster:void 0});if(e.media=replaceElement(a,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:a}=e.config;Object.defineProperty(e.media,"volume",{get:()=>a,set(t){a=t,r.setVolume(100*a),triggerEvent.call(e,e.media,"volumechange")}});let{muted:s}=e.config;Object.defineProperty(e.media,"muted",{get:()=>s,set(t){const i=is.boolean(t)?t:s;s=i,r[i?"mute":"unMute"](),r.setVolume(100*a),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 o=r.getAvailablePlaybackRates();e.options.speed=o.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.lastBuffered<e.media.buffered)&&triggerEvent.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),triggerEvent.call(e,e.media,"canplaythrough"))}),200),t.customControls&&setTimeout((()=>ui.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<this.player.duration){const t=this.player.elements.progress;if(is.element(t)){const i=100/this.player.duration*e,r=createElement("span",{class:this.player.config.classNames.cues});r.style.left=`${i.toString()}%`,t.appendChild(r)}}}))})),_defineProperty$1(this,"onAdEvent",(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<i&&i<e&&(this.manager.discardAdBreak(),this.cuePoints.splice(r,1))}))})),window.addEventListener("resize",(()=>{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 a=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)));a&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${a.label}<br>`)}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],a=i.frames[t].text,s=r+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,n,e,t,a,!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=s,i.dataset.index=t,i.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log(`Loading image: ${s}`),i.onload=()=>this.showImage(i,n,e,t,a,!0),this.loadingImage=i,this.removeOldImages(i)}})),_defineProperty$1(this,"showImage",((e,t,i,r,n,a=!0)=>{this.player.debug.log(`Showing thumb: ${n}. num: ${r}. qual: ${i}. newimg: ${a}`),this.setImageSizeAndOffset(e,t),a&&(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 a=!1;n.forEach((e=>{const t=e.text;if(t!==r&&!this.loadedImages.includes(t)){a=!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()}}})),a||i()}}),300)})))),_defineProperty$1(this,"getHigherQuality",((e,t,i,r)=>{if(e<this.thumbnails.length-1){let n=t.naturalHeight;this.usingSprites&&(n=i.h),n<this.thumbContainerHeight&&setTimeout((()=>{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,a=this.mousePosX-e.left-i.clientWidth/2,s=clamp(a,r,n);i.style.left=`${s}px`,i.style.setProperty("--preview-arrow-offset",a-s+"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,a="html5"===r?i:"div",s="html5"===r?{}:{src:n};Object.assign(this,{provider:r,type:i,supported:support.check(i,r,this.config.playsinline),media:createElement(a,s)}),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,a=null;switch(r){case"div":if(n=this.media.querySelector("iframe"),is.element(n)){if(a=parseUrl(n.getAttribute("src")),this.provider=getProviderByUrl(a.toString()),this.elements.container=this.media,this.media=n,this.elements.container.className="",a.search.length){const e=["1","true"];e.includes(a.searchParams.get("autoplay"))&&(this.config.autoplay=!0),e.includes(a.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=e.includes(a.searchParams.get("playsinline")),this.config.youtube.hl=a.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:a}=toRefs(e),s=reactive({show:!1,shiyiShow:!1,isInitPlyr:!1,_plrl:null}),o={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=s._plrl)||void 0===e||e.destroy()}));const v=e=>{y.value=e,a.value.itemType=e},_=computed((()=>{const e=(a.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,x=()=>{s.show=!0,s.isInitPlyr||nextTick((()=>{const e="audio"===_.value?"#audioSrc":"#videoSrc";s._plrl=new Plyr(e,{controls:["play-large","play","progress","current-time","duration"],fullscreen:{enabled:!1}}),"audio"===_.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:a}=t.getBoundingClientRect();n=Math.ceil(n),a=Math.ceil(a),t.width=n,t.height=a;const s=(e,t,{lineGap:i,canvWidth:n,canvHeight:a,canvFillColor:s,lineColor:l})=>{if(!t)return;const c=n,d=a;o(t,c,d,s);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 o=0;o<p;o++){const t=e[o]/255*m;r.fillStyle=l,0===o&&(g-=i/2),r.fillRect(g-u,m-t,u,t),r.fillRect(g-u,m,u,t),g-=u+i}let y=h;for(let o=0;o<p;o++){const t=e[o]/255*m;r.fillStyle=l,0===o&&(y+=i/2),r.fillRect(y,m-t,u,t),r.fillRect(y,m,u,t),y+=u+i}},o=(e,t,i,r)=>{e.clearRect(0,0,t,i),e.fillStyle=r,e.fillRect(0,0,t,i)},l=()=>{const e=setInterval((()=>{c?clearInterval(e):s(function(e){const t=new Uint8Array(e),i=30,r=.01,n=.2;let a=150,s=r+Math.random()*(n-r);for(let o=0;o<e;o++){const r=a*(1-o/e)+10*(Math.random()-.5),n=s+.01*(Math.random()-.5),l=r*(.5+.5*Math.sin(n*o)),c=Math.floor(Math.random()*i)-i/2;t[o]=Math.min(255,Math.max(0,Math.floor(l+c))),a+=.05*(r-a),s+=.05*(n-s)}return t}(48),r,{lineGap:2,canvWidth:n,canvHeight:a,canvFillColor:"transparent",lineColor:"rgba(255, 251, 251, 1)"})}),300)};let c=!0;const d=()=>{c=!1,l()},p=()=>{c=!0,requestAnimationFrame((()=>{r.clearRect(0,0,n,a)}))};return{playVisualDraw:d,pauseVisualDraw:p}}(0,e);s._plrl.on("play",(()=>{f.value=!0,i()})),s._plrl.on("pause",(()=>{f.value=!1,t()}))}),600),s.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},[o[a.value.heardLevel],createTextVNode("|速度:"),Math.floor(a.value.speed),createTextVNode("|综合分数:"),a.value.score,createTextVNode("分")])])]),createVNode("div",{class:[styles$1.middle,w&&styles$1.padMiddle]},[state.isPercussion?null:createVNode("div",{onClick:()=>v("intonation"),class:[styles$1.cItem,"evaluting-report-1","intonation"===y.value&&styles$1.active]},[createVNode("span",{class:styles$1.mScore},[a.value.intonation,createTextVNode("分")]),createVNode("span",{class:styles$1.mLabel},[createTextVNode("音准")])]),createVNode("div",{onClick:()=>v("cadence"),class:[styles$1.cItem,"evaluting-report-2","cadence"===y.value&&styles$1.active]},[createVNode("span",{class:styles$1.mScore},[a.value.cadence,createTextVNode("分")]),createVNode("span",{class:styles$1.mLabel},[createTextVNode("节奏")])]),state.isPercussion?null:createVNode("div",{onClick:()=>v("integrity"),class:[styles$1.cItem,"evaluting-report-3","integrity"===y.value&&styles$1.active]},[createVNode("span",{class:styles$1.mScore},[a.value.integrity,createTextVNode("分")]),createVNode("span",{class:styles$1.mLabel},[createTextVNode("完成度")])])]),createVNode("div",{class:styles$1.right},[createVNode("div",{style:{display:a.value.videoFilePath?"":"none"},class:[styles$1.btn,"evaluting-report-4"],onClick:x},[createVNode("img",{class:styles$1.iconBtn,src:iconhuifang},null),createVNode("span",null,[createTextVNode("回放")])]),createVNode("div",{class:styles$1.btn,onClick:()=>s.shiyiShow=!0},[createVNode("img",{class:styles$1.iconBtn,src:iconShiyi},null),createVNode("span",null,[createTextVNode("释义")])])]),"staff"===a.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:s.show,"onUpdate:show":e=>s.show=e,closeable:!0,onClose:()=>{var e;null===(e=s._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"===_.value&&styles$1.videoPlayerBox]},["audio"===_.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:a.value.videoFilePath,controls:"false",preload:"metadata",playsinline:!0},null),createVNode("div",{onClick:()=>{s._plrl.play()},class:[styles$1.playLarge,!f.value&&styles$1.playIngShow]},null)]):createVNode("video",{id:"videoSrc",class:styles$1.videoBox,src:a.value.videoFilePath,"data-poster":videobg,preload:"metadata",playsinline:!0},null)])])])]}),createVNode(Popup,{show:s.shiyiShow,"onUpdate:show":e=>s.shiyiShow=e,class:"popup-custom van-scale center-closeBtn shiyiBox",transition:"van-scale",teleport:"body",closeable:!0},{default:()=>[createVNode("img",{onClick:()=>s.shiyiShow=!1,class:styles$1.shiyiClose,src:shiyiClose},null),"staff"===a.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:a.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,isSpecialReport:!1}),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;let 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];detailData.isSpecialReport&&(n=allNote.value.find((e=>e.i===r))),setTimeout((()=>{var e,t,r;if(null===(e=n)||void 0===e||!e.id)return;if(null!==(t=n)&&void 0!==t&&t.id&&useedid.value.includes(null===(r=n)||void 0===r?void 0:r.id))return;useedid.value.push(n.id);const a=document.getElementById("vf-"+n.id),s=document.getElementById("vf-"+n.id+"-stem");let o="";o=detailData.isNewReport?"cadence"===scoreData.itemType?i.rhythmicAssessment.result:"integrity"===scoreData.itemType?i.integrityAssessment.result:i.pitchAssessment.result:i.musicalErrorType;detailData.isNewReport?"integrity"===scoreData.itemType&&(o=o="NORMAL"===i.integrityAssessment.result?"RIGHT":"SHORT"===i.integrityAssessment.result?"SHORT":o):o=i.musicalErrorType,detailData.isNewReport||(o="NOT_PLAY"==o?"NOT_PLAYED":"INTEGRITY_WRONG"==o?"SHORT":o),null==s||s.classList.add(colorsClass[o]),null==a||a.classList.add(colorsClass[o])}),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,a,s;state.musicRendered=!0,state.osmd=e,allNote.value=formateTimes(e),console.log("🚀 ~ state.times:",allNote.value);const o=null===(t=detailData.musicalNotesPlayStats)||void 0===t||null===(i=t[0])||void 0===i?void 0:i.measureRenderIndex,l=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>=o+1&&e.MeasureNumberXML<=l+1));Array.from(new Set(document.getElementsByClassName("vf-beam"))).forEach((e=>{e.classList.add(styles$2.beam)})),detailData.isSpecialReport=o>0&&0!=(null===(a=detailData.musicalNotesPlayStats)||void 0===a||null===(s=a[0])||void 0===s?void 0:s.musicalNotesIndex),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)])])])}}))}}}))})();