hfsyun-blog 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MusicPlayer/css/xf-MusicPlayer.css +735 -0
- package/dist/MusicPlayer/css/xf-MusicPlayer.min.css +2 -0
- package/dist/MusicPlayer/css/xf-MusicPlayer.mini.css +1 -0
- package/dist/MusicPlayer/icon/iconfont.ttf +0 -0
- package/dist/MusicPlayer/icon/xfplayIcon.css +52 -0
- package/dist/MusicPlayer/icon/xfplayIcon.min.css +1 -0
- package/dist/MusicPlayer/images/playerLoad.gif +0 -0
- package/dist/MusicPlayer/js/xf-MusicPlayer.js +949 -0
- package/dist/MusicPlayer/js/xf-MusicPlayer.min.js +1 -0
- package/dist/MusicPlayer/js/xf-MusicPlayer.mini.js +1 -0
- package/dist/MusicPlayer/other/default.cur +0 -0
- package/dist/MusicPlayer/other/pointer.cur +0 -0
- package/dist/about/7c8283a3d4.jpg +0 -0
- package/dist/about/8823b06a9.png +0 -0
- package/dist/about/after.png +0 -0
- package/dist/about/before.png +0 -0
- package/dist/avatar/avatar.jpg +0 -0
- package/dist/cover/20220403000417.jpg +0 -0
- package/dist/cover/20221113024338.jpg +0 -0
- package/dist/cover/backstretch_01.jpg +0 -0
- package/dist/cover/backstretch_02.jpg +0 -0
- package/dist/cover/backstretch_0222.jpg +0 -0
- package/dist/cover/backstretch_03.jpg +0 -0
- package/dist/cover/backstretch_033333.jpg +0 -0
- package/dist/cover/backstretch_04.jpg +0 -0
- package/dist/cover/backstretch_05.jpg +0 -0
- package/dist/cover/backstretch_06.jpg +0 -0
- package/dist/cover/backstretch_07.jpg +0 -0
- package/dist/cover/backstretch_08.jpg +0 -0
- package/dist/cover/backstretch_09.jpg +0 -0
- package/dist/cover/backstretch_10.jpg +0 -0
- package/dist/cover/backstretch_11.jpg +0 -0
- package/dist/cover/backstretch_12.jpg +0 -0
- package/dist/cover/backstretch_13.jpg +0 -0
- package/dist/cover/backstretch_14.jpg +0 -0
- package/dist/cover/dark.png +0 -0
- package/dist/cover/img-07.jpg +0 -0
- package/dist/cover/light.jpg +0 -0
- package/dist/cover/mobile.jpg +0 -0
- package/dist/css/lib.min.css +1 -0
- package/dist/cursor/Arrow.cur +0 -0
- package/dist/cursor/Button.cur +0 -0
- package/dist/cursor/Hand.cur +0 -0
- package/dist/cursor/text.cur +0 -0
- package/dist/email/1.jpg +0 -0
- package/dist/email/2.png +0 -0
- package/dist/email/after.png +0 -0
- package/dist/email/before.png +0 -0
- package/dist/error/error.png +0 -0
- package/dist/error/error.svg +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/fonts/AliOS.woff +0 -0
- package/dist/fonts/ErZiYuanFengBoPaoPaoJian.woff2 +0 -0
- package/dist/fonts/ZZGFYueYuan.woff2 +0 -0
- package/dist/fonts/s/notocoloremoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.2.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.102.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.104.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.21.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.22.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.23.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.24.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.25.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.26.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.27.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.28.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.29.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.30.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.31.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.32.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.33.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.34.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.35.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.36.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.37.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.38.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.39.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.40.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.41.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.42.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.43.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.44.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.45.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.46.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.47.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.48.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.49.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.50.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.51.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.52.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.53.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.54.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.55.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.56.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.57.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.58.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.59.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.60.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.61.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.62.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.63.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.64.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.65.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.66.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.67.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.68.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.69.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.70.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.71.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.72.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.73.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.74.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.75.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.76.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.77.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.78.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.79.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.80.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.81.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.82.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.83.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.84.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.85.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.86.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.88.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.89.woff2 +0 -0
- package/dist/fonts/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.91.woff2 +0 -0
- package/dist/fonts/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4gaVI.woff2 +0 -0
- package/dist/fonts/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2 +0 -0
- package/dist/fonts/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2 +0 -0
- package/dist/fonts/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2 +0 -0
- package/dist/footer/scroll.png +0 -0
- package/dist/iconfont/iconfont.eot +0 -0
- package/dist/iconfont/iconfont.ttf +0 -0
- package/dist/iconfont/iconfont.woff +0 -0
- package/dist/iconfont/iconfont.woff2 +0 -0
- package/dist/images/apple_touch_icon.png +0 -0
- package/dist/js/{artitalk.mini.js → artitalk.min.js} +2 -2
- package/dist/js/av-min.js +21 -0
- package/dist/js/js-sdk-pro.min.js +6 -0
- package/package.json +1 -1
- package/dist/banner/1.jpg +0 -0
- package/dist/banner/2.jpg +0 -0
- package/dist/banner/3.jpg +0 -0
- package/dist/banner/4.jpg +0 -0
- package/dist/banner/5.jpg +0 -0
- package/dist/clock/clock.min.css +0 -1
- package/dist/clock/clock.min.js +0 -1
- package/dist/clock/clock.mini.css +0 -1
- package/dist/clock/fonts/qweather-icons.ttf +0 -0
- package/dist/clock/fonts/qweather-icons.woff +0 -0
- package/dist/clock/fonts/qweather-icons.woff2 +0 -0
- package/dist/clock/loading.gif +0 -0
- package/dist/css/fonts.css +0 -2474
- package/dist/css/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mgq0SzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.6.woff2 +0 -0
- package/dist/css/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.67.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXA-oBOL.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXc-oBOL.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXk-oBOL.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXo-oBOL.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXs-oBOL.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatS-qxLUv.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSGqxLUv.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSKqxLUv.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSOqxLUv.woff2 +0 -0
- package/dist/css/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSiqxLUv.woff2 +0 -0
- package/dist/fonts/UnidreamLED.ttf +0 -0
- package/dist/fonts/ZhuZiAWan.ttf +0 -0
- package/dist/fonts/ZhuZiAWan.woff2 +0 -0
- package/dist/img/404.png +0 -0
- package/dist/img/apple-touch-icon-next.png +0 -0
- package/dist/img/avatar.png +0 -0
- package/dist/img/favicon.ico +0 -0
- package/dist/img/skirt.png +0 -0
- package/dist/js/bangumis.js +0 -1
- package/dist/js/lately.min.js +0 -6
- package/dist/js/typed.min.js +0 -10
- package/dist/social/svip_10.png +0 -0
- package/dist/social/svip_10_bigfan3.png +0 -0
- package/dist/video/1677726261471.mp4 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.100.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.101.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.102.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.103.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.104.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.105.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.106.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.107.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.108.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.109.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.110.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.111.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.112.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.113.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.114.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.115.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.116.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.117.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.118.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.119.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.21.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.22.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.23.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.24.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.25.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.26.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.27.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.28.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.29.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.30.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.31.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.32.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.33.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.34.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.35.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.36.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.37.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.38.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.39.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.40.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.41.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.42.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.43.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.44.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.45.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.46.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.47.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.48.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.49.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.5.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.50.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.51.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.52.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.53.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.54.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.55.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.56.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.57.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.58.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.59.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.60.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.61.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.62.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.63.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.64.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.65.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.66.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.68.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.69.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.70.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.71.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.72.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.73.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.74.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.75.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.76.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.77.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.78.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.79.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.80.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.81.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.82.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.83.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.84.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.85.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.86.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.88.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.89.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.91.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzUpCNMKEN0nmGnGv-OMEQDgKS-k5SiuioPhBdQcziZZTQ.97.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.100.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.101.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.103.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.105.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.106.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.107.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.108.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.109.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.110.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.111.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.112.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.113.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.114.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.115.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.116.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.117.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.118.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.119.woff2 +0 -0
- /package/dist/{css → fonts}/s/notoserifsc/v22/H4chBXePl9DZ0Xe7gG9cyOj7oqP0dTpxZbB9E9gjjmzKvaeKHUTtJDWv3z-us4bxD8F5og.4.woff2 +0 -0
- /package/dist/{css → fonts}/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXQ-oA.woff2 +0 -0
- /package/dist/{css → fonts}/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSyqxA.woff2 +0 -0
- /package/dist/{img/a.png → footer/202303060328418.png} +0 -0
- /package/dist/{img/d.png → footer/202303060328483.png} +0 -0
- /package/dist/{img/c.png → footer/202303060328617.png} +0 -0
- /package/dist/{img/b.png → footer/202303060328981.png} +0 -0
- /package/dist/{img → images}/iloli.gif +0 -0
- /package/dist/{loader → loading}/loading.svg +0 -0
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
window.addEventListener('DOMContentLoaded', function () {
|
|
3
|
+
var playerEle = document.querySelectorAll('#xf-MusicPlayer')
|
|
4
|
+
if (playerEle.length === 0) {
|
|
5
|
+
return
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
if (
|
|
9
|
+
typeof Symbol !== 'function' ||
|
|
10
|
+
typeof Promise !== 'function' ||
|
|
11
|
+
typeof Object.assign !== 'function' ||
|
|
12
|
+
typeof Array.from !== 'function' ||
|
|
13
|
+
typeof Array.prototype.includes !== 'function' ||
|
|
14
|
+
typeof (() => { }) !== 'function' ||
|
|
15
|
+
typeof `template ${'string'}` !== 'string' ||
|
|
16
|
+
({}).toString.call({ ...{} }) !== '[object Object]' ||
|
|
17
|
+
Array.isArray([]) !== true
|
|
18
|
+
) {
|
|
19
|
+
alert('当前浏览器不支持解析 ES6 语法, 无法使用“xf-MusicPlayer”插件, 请升级您的浏览器!')
|
|
20
|
+
window.location.href = 'https://support.dmeng.net/upgrade-your-browser.html?referrer=' + encodeURIComponent(window.location.href)
|
|
21
|
+
return
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const xfHead = document.head
|
|
25
|
+
const playerBody = document.body
|
|
26
|
+
const metaViewport = document.querySelector('meta[name="viewport"]')
|
|
27
|
+
|
|
28
|
+
if (!metaViewport) {
|
|
29
|
+
let newMeta = document.createElement('meta')
|
|
30
|
+
newMeta.setAttribute('name', 'viewport')
|
|
31
|
+
newMeta.setAttribute('content', 'width=device-width, initial-scale=1.0')
|
|
32
|
+
xfHead.appendChild(newMeta)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
let MusicPlayer = [...playerEle]
|
|
36
|
+
if (MusicPlayer.length > 1) {
|
|
37
|
+
MusicPlayer.splice(1)
|
|
38
|
+
}
|
|
39
|
+
MusicPlayer = MusicPlayer[0]
|
|
40
|
+
|
|
41
|
+
let interfaceAndLocal = MusicPlayer.getAttribute('data-localMusic')
|
|
42
|
+
|
|
43
|
+
const xfSongList = MusicPlayer.getAttribute('data-songList')
|
|
44
|
+
|
|
45
|
+
let musicApi = `${location.protocol}//${MusicPlayer.getAttribute('data-musicApi')}`.trim()
|
|
46
|
+
|
|
47
|
+
if (musicApi.slice(-4) === 'null') {
|
|
48
|
+
musicApi = `${location.protocol}//api.xfyun.club`
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (musicApi === '' && interfaceAndLocal === null && xfSongList === null) {
|
|
52
|
+
this.alert('请输入音乐API域名')
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
customFile()
|
|
57
|
+
|
|
58
|
+
function customFile() {
|
|
59
|
+
const cdnName = MusicPlayer.getAttribute('data-cdnName')
|
|
60
|
+
const wl = window.location
|
|
61
|
+
let xfDomainName = cdnName === null ? `${wl.protocol}//${wl.hostname}${wl.port ? ':' + wl.port : ''}` : cdnName.trim()
|
|
62
|
+
|
|
63
|
+
if (wl.protocol === 'https:') {
|
|
64
|
+
const metaTag = document.createElement('meta')
|
|
65
|
+
metaTag.setAttribute('http-equiv', 'Content-Security-Policy')
|
|
66
|
+
metaTag.setAttribute('content', 'upgrade-insecure-requests')
|
|
67
|
+
xfHead.appendChild(metaTag)
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const removeDotAndSlash = str => str.replace(/(^[^a-zA-Z0-9]+)|([^a-zA-Z0-9]+$)/g, '')
|
|
71
|
+
const filePath = MusicPlayer.getAttribute('data-filePath')
|
|
72
|
+
if (filePath !== null) {
|
|
73
|
+
xfDomainName += `/${removeDotAndSlash(filePath)}`
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const appendStylesheet = href => {
|
|
77
|
+
const link = document.createElement('link')
|
|
78
|
+
link.rel = 'stylesheet'
|
|
79
|
+
link.href = href
|
|
80
|
+
|
|
81
|
+
if (cdnName !== null && cdnName !== '') {
|
|
82
|
+
return xfHead.appendChild(link)
|
|
83
|
+
} else {
|
|
84
|
+
return new Promise((resolve, reject) => {
|
|
85
|
+
fetch(href)
|
|
86
|
+
.then(response => {
|
|
87
|
+
if (response.ok) {
|
|
88
|
+
xfHead.appendChild(link)
|
|
89
|
+
resolve()
|
|
90
|
+
} else {
|
|
91
|
+
reject(`链接不可用: ${href}`)
|
|
92
|
+
}
|
|
93
|
+
})
|
|
94
|
+
.catch(error => {
|
|
95
|
+
reject(`发生错误:${error}`)
|
|
96
|
+
})
|
|
97
|
+
})
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
const xfCssOne = 'xfplayIcon.min.css'
|
|
102
|
+
const xfCssTow = 'xf-MusicPlayer.min.css'
|
|
103
|
+
let xfplayIconCSS = `${xfDomainName}/xf-MusicPlayer/icon/${xfCssOne}`
|
|
104
|
+
let MusicPlayerCSS = `${xfDomainName}/xf-MusicPlayer/css/${xfCssTow}`
|
|
105
|
+
|
|
106
|
+
if (location.protocol === 'file:') {
|
|
107
|
+
xfplayIconCSS = 'https://player.xfyun.club/js/xf-MusicPlayer/icon/xfplayIcon.min.css'
|
|
108
|
+
MusicPlayerCSS = 'https://player.xfyun.club/js/xf-MusicPlayer/css/xf-MusicPlayer.min.css'
|
|
109
|
+
musicApi = 'https://api.xfyun.club'
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
Promise.all([
|
|
113
|
+
appendStylesheet(xfplayIconCSS),
|
|
114
|
+
appendStylesheet(MusicPlayerCSS),
|
|
115
|
+
])
|
|
116
|
+
.catch(error => {
|
|
117
|
+
MusicPlayer.remove()
|
|
118
|
+
console.error(error)
|
|
119
|
+
alert('请把插件放在网页根目录,否则无法运行【xf-MusicPlayer.js】插件!')
|
|
120
|
+
return
|
|
121
|
+
})
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
startExecutionPlayer()
|
|
125
|
+
|
|
126
|
+
function startExecutionPlayer() {
|
|
127
|
+
const characterToElement = (str, mainBox) => {
|
|
128
|
+
const parser = new DOMParser()
|
|
129
|
+
let ele = parser.parseFromString(str, 'text/html')
|
|
130
|
+
ele = ele.body.firstChild
|
|
131
|
+
mainBox.appendChild(ele)
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
let musicStr = `<div class="xf-MusicPlayer-Main">
|
|
135
|
+
<div class="xf-switchPlayer">
|
|
136
|
+
<i class="xficon icon-jiantou2"></i>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="xf-insideSong">
|
|
139
|
+
<div class="xf-musicControl">
|
|
140
|
+
<div class="xf-topControl">
|
|
141
|
+
|
|
142
|
+
<div class="xf-musiCover">
|
|
143
|
+
<img src="" alt="" class="xf-musicPhoto">
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<div class="xf-introduce">
|
|
147
|
+
<h3 class="xf-songName"></h3>
|
|
148
|
+
<p class="xf-singer"></p>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
<div class="xf-songPicture">
|
|
152
|
+
<img src="https://player.xfyun.club/img/playerLoad.gif" alt="加载中..." class="xf-musicPicture">
|
|
153
|
+
<i class="xf-musicalNote xficon icon-yinle"></i>
|
|
154
|
+
<i class="xf-musicalNote xficon icon-yinle"></i>
|
|
155
|
+
<i class="xf-musicalNote xficon icon-yinle"></i>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<ul class="xf-playerControl">
|
|
159
|
+
<li class="xf-previousSong">
|
|
160
|
+
<i class="xficon icon-shangyishou"></i>
|
|
161
|
+
</li>
|
|
162
|
+
<li class="xf-playbackControl">
|
|
163
|
+
<i class="xf-pause xficon icon-zantingtingzhi" style="display: none;"></i>
|
|
164
|
+
<i class="xf-playBack xficon icon-bofang" style="display: block;"></i></li>
|
|
165
|
+
<li class="xf-nextSong"><i class="xficon icon-xiayishou"></i></li>
|
|
166
|
+
</ul>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
<ul class="xf-bottomControl">
|
|
170
|
+
<li class="xf-audioFrequency"><i class="xficon icon-shengyin-kai"></i></li>
|
|
171
|
+
<li class="xf-progressBar">
|
|
172
|
+
<h5 class="xf-totalAudioProgress">
|
|
173
|
+
<p class="xf-audioProgress" style="width: 0;"></p>
|
|
174
|
+
</h5>
|
|
175
|
+
</li>
|
|
176
|
+
<li class="xf-playlistBtn"><i class="xficon icon-gedan"></i>
|
|
177
|
+
</li>
|
|
178
|
+
</ul>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
</div>
|
|
182
|
+
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="xf-outsideSongList">
|
|
186
|
+
<ul class="xf-listOfSongs"></ul>
|
|
187
|
+
</div>
|
|
188
|
+
</div>`
|
|
189
|
+
|
|
190
|
+
let lyricStr = `<div id="xf-lyric"><ul class="xf-AllLyric-box"></ul></div>`
|
|
191
|
+
characterToElement(musicStr, MusicPlayer)
|
|
192
|
+
|
|
193
|
+
allPlayerFeatures()
|
|
194
|
+
|
|
195
|
+
function allPlayerFeatures() {
|
|
196
|
+
const xfAudio = document.createElement('audio')
|
|
197
|
+
xfAudio.id = 'xf-musicAudio'
|
|
198
|
+
playerBody.appendChild(xfAudio)
|
|
199
|
+
const xfMusicAudio = document.getElementById('xf-musicAudio')
|
|
200
|
+
xfMusicAudio.controls = 0
|
|
201
|
+
if (interfaceAndLocal === null) {
|
|
202
|
+
characterToElement(lyricStr, playerBody)
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
const setTimeoutPromise = delay => new Promise(resolve => setTimeout(resolve, delay))
|
|
206
|
+
|
|
207
|
+
const playMusic = () => xfMusicAudio.play().catch(error => console.warn(`浏览器默认限制了自动播放:${error}`))
|
|
208
|
+
|
|
209
|
+
const pauseMusic = () => xfMusicAudio.pause()
|
|
210
|
+
|
|
211
|
+
const getEle = dom => MusicPlayer.querySelector(dom)
|
|
212
|
+
, MusicPlayerMain = getEle('.xf-MusicPlayer-Main')
|
|
213
|
+
, switchPlayer = getEle('.xf-switchPlayer')
|
|
214
|
+
, switchArrow = switchPlayer.querySelector('.icon-jiantou2')
|
|
215
|
+
, musicPicture = getEle('.xf-musicPicture')
|
|
216
|
+
, musicPhoto = getEle('.xf-musicPhoto')
|
|
217
|
+
, songName = getEle('.xf-songName')
|
|
218
|
+
, singer = getEle('.xf-singer')
|
|
219
|
+
, previousSong = getEle('.xf-previousSong')
|
|
220
|
+
, playbackControl = getEle('.xf-playbackControl')
|
|
221
|
+
, pause = playbackControl.querySelector('.xf-pause')
|
|
222
|
+
, playBack = playbackControl.querySelector('.xf-playBack')
|
|
223
|
+
, nextSong = getEle('.xf-nextSong')
|
|
224
|
+
, audioFrequency = getEle('.xf-audioFrequency')
|
|
225
|
+
, totalAudioProgress = getEle('.xf-totalAudioProgress')
|
|
226
|
+
, audioProgress = getEle('.xf-audioProgress')
|
|
227
|
+
, playlistBtn = getEle('.xf-playlistBtn')
|
|
228
|
+
, outsideSongList = getEle('.xf-outsideSongList')
|
|
229
|
+
, listOfSongs = getEle('.xf-listOfSongs')
|
|
230
|
+
, musicalNote = MusicPlayer.querySelectorAll('.xf-musicalNote')
|
|
231
|
+
, xfLyric = playerBody.querySelector('#xf-lyric')
|
|
232
|
+
|
|
233
|
+
const themeStyle = MusicPlayer.getAttribute('data-themeColor')
|
|
234
|
+
themeStyle === null ? MusicPlayerMain.classList.add('xf-original') : MusicPlayerMain.classList.add(themeStyle)
|
|
235
|
+
|
|
236
|
+
const bottomHeight = MusicPlayer.getAttribute('data-bottomHeight')
|
|
237
|
+
if (bottomHeight) {
|
|
238
|
+
MusicPlayerMain.style.bottom = bottomHeight
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
const lazyLoadImages = () => {
|
|
242
|
+
const images = playerBody.querySelectorAll('img[data-musicLjz-src]')
|
|
243
|
+
const observer = new IntersectionObserver((entries, observer) => {
|
|
244
|
+
entries.forEach(entry => {
|
|
245
|
+
if (entry.isIntersecting) {
|
|
246
|
+
const img = entry.target
|
|
247
|
+
const src = img.getAttribute('data-musicLjz-src')
|
|
248
|
+
img.setAttribute('src', src)
|
|
249
|
+
img.onload = () => {
|
|
250
|
+
observer.unobserve(img)
|
|
251
|
+
img.removeAttribute('data-musicLjz-src')
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
})
|
|
255
|
+
})
|
|
256
|
+
|
|
257
|
+
images.forEach(image => observer.observe(image))
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
const removebePlaying = () => {
|
|
261
|
+
pause.style.display = 'none'
|
|
262
|
+
playBack.style.display = 'block'
|
|
263
|
+
playbackControl.classList.remove('xf-bePlaying')
|
|
264
|
+
musicPicture.classList.add('xf-pauseRotation')
|
|
265
|
+
musicPhoto.classList.add('xf-pauseRotation')
|
|
266
|
+
musicalNote.forEach(ele => ele.classList.add('xf-pausePdyMove'))
|
|
267
|
+
if (interfaceAndLocal === null) {
|
|
268
|
+
xfLyric.classList.add('xf-lyricHidden')
|
|
269
|
+
xfLyric.classList.remove('xf-lyricShow')
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
const addPlaying = () => {
|
|
274
|
+
pause.style.display = 'block'
|
|
275
|
+
playBack.style.display = 'none'
|
|
276
|
+
playbackControl.classList.add('xf-bePlaying')
|
|
277
|
+
musicPicture.classList.remove('xf-pauseRotation')
|
|
278
|
+
musicPhoto.classList.remove('xf-pauseRotation')
|
|
279
|
+
musicalNote.forEach(ele => ele.classList.remove('xf-pausePdyMove'))
|
|
280
|
+
if (interfaceAndLocal === null) {
|
|
281
|
+
xfLyric.classList.remove('xf-lyricHidden')
|
|
282
|
+
xfLyric.classList.add('xf-lyricShow')
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
const backgroundColors = ['rgba(85, 0, 255, .35)', 'rgba(0, 225, 255, .35)', 'rgba(255, 165, 0, .35)', 'rgba(0, 100, 0, .35)', 'rgba(80, 0, 0, .35)', 'rgba(255, 192, 203, .35)']
|
|
287
|
+
const themeIndex = {
|
|
288
|
+
'xf-original': 0,
|
|
289
|
+
'xf-sky': 1,
|
|
290
|
+
'xf-orange': 2,
|
|
291
|
+
'xf-darkGreen': 3,
|
|
292
|
+
'xf-wineRed': 4,
|
|
293
|
+
'xf-girlPink': 5
|
|
294
|
+
}
|
|
295
|
+
const bgIndex = themeIndex[themeStyle] ?? 0
|
|
296
|
+
|
|
297
|
+
let xfMusicPop
|
|
298
|
+
let isAnimationInProgress = 0
|
|
299
|
+
const displayPopup = async musicName => {
|
|
300
|
+
if (isAnimationInProgress) {
|
|
301
|
+
return
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (!xfMusicPop) {
|
|
305
|
+
xfMusicPop = document.createElement('div')
|
|
306
|
+
xfMusicPop.classList.add('xf-music-pop')
|
|
307
|
+
playerBody.appendChild(xfMusicPop)
|
|
308
|
+
}
|
|
309
|
+
xfMusicPop.textContent = musicName
|
|
310
|
+
const musicPopStyle = xfMusicPop.style
|
|
311
|
+
const randomColor = backgroundColors[bgIndex]
|
|
312
|
+
Object.assign(musicPopStyle, { backgroundColor: randomColor })
|
|
313
|
+
isAnimationInProgress = 1
|
|
314
|
+
musicPopStyle.left = '-100%'
|
|
315
|
+
await setTimeoutPromise(500)
|
|
316
|
+
musicPopStyle.left = 0
|
|
317
|
+
await setTimeoutPromise(2500)
|
|
318
|
+
musicPopStyle.left = '-100%'
|
|
319
|
+
isAnimationInProgress = 0
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
const detectionPlay = async () => {
|
|
323
|
+
await setTimeoutPromise(2000)
|
|
324
|
+
if (xfMusicAudio.paused) {
|
|
325
|
+
console.warn('您的浏览器不支持自动播放音乐,请手动点击播放器继续欣赏歌曲吧~')
|
|
326
|
+
removebePlaying()
|
|
327
|
+
} else {
|
|
328
|
+
displayPopup(`正在播放:${songName.textContent}`)
|
|
329
|
+
addPlaying()
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
const fadeOutPlayer = async () => {
|
|
334
|
+
if (MusicPlayer.getAttribute('data-fadeOutAutoplay') !== null) {
|
|
335
|
+
xfMusicAudio.autoplay = true
|
|
336
|
+
await setTimeoutPromise(1000)
|
|
337
|
+
detectionPlay()
|
|
338
|
+
switchArrow.classList.add('xf-jiantou1')
|
|
339
|
+
MusicPlayerMain.classList.add('xf-playerShow')
|
|
340
|
+
playMusic()
|
|
341
|
+
} else {
|
|
342
|
+
removebePlaying()
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
fadeOutPlayer()
|
|
346
|
+
|
|
347
|
+
const clearTheDefaultPlayerProperties = () => {
|
|
348
|
+
xfMusicAudio.src = ''
|
|
349
|
+
musicPicture.src = ''
|
|
350
|
+
musicPhoto.src = ''
|
|
351
|
+
songName.textContent = ''
|
|
352
|
+
singer.textContent = ''
|
|
353
|
+
musicPicture.alt = ''
|
|
354
|
+
musicPhoto.alt = ''
|
|
355
|
+
listOfSongs.innerHTML = ''
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
const playerMusicItem = (index, music, picture, Title, Author, loadingTime) => {
|
|
359
|
+
let lis = `<li class="xf-songsItem"data-index="${index}"data-mp3url="${music}"><div class="xf-songListSongPictures"><i class="xf-songIcon xficon icon-bofang"></i><img data-musicLjz-src="${picture + '?param=200x200'}"src="https://player.xfyun.club/img/playerLoad.gif"alt="songPicture"class="xf-playlistImg"></div><div class="xf-playlistSongInformation"><div class="xf-songTitle"><h5 class="xf-songName">${Title}</h5><p class="xf-authorAndDuration"><sapn class="xf-songAuthor">${Author}</sapn><span class="xf-songLength xficon icon-shijian">\t${loadingTime}</span></p></div></div></li>`
|
|
360
|
+
characterToElement(lis, listOfSongs)
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
async function fetchData(url, method = 'GET', headers = {}, body = null) {
|
|
364
|
+
try {
|
|
365
|
+
const res = await fetch(url, {
|
|
366
|
+
method: method,
|
|
367
|
+
headers: headers,
|
|
368
|
+
body: body
|
|
369
|
+
})
|
|
370
|
+
|
|
371
|
+
const data = await res.json()
|
|
372
|
+
|
|
373
|
+
return data
|
|
374
|
+
} catch (error) {
|
|
375
|
+
throw error
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
let songChart = MusicPlayer.getAttribute('data-songChart') || '热歌榜'
|
|
380
|
+
|
|
381
|
+
const randomSongList = MusicPlayer.getAttribute('data-randomSongList')
|
|
382
|
+
if (randomSongList === '' || randomSongList === '1' || randomSongList === 'true') {
|
|
383
|
+
let SongListArr = ['热歌榜', '新歌榜', '原创榜', '飙升榜']
|
|
384
|
+
songChart = SongListArr[Math.floor(Math.random() * SongListArr.length)]
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (interfaceAndLocal) {
|
|
388
|
+
songChart = '本地'
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
console.log(`%c 正在播放${songChart}歌单~`, 'color: #b3c4ec;')
|
|
392
|
+
|
|
393
|
+
const musicUrl = musicLinks()
|
|
394
|
+
|
|
395
|
+
function musicLinks() {
|
|
396
|
+
if (interfaceAndLocal === null && xfSongList === null) {
|
|
397
|
+
return `${musicApi}/musicAll/?sortAll=${songChart.trim()}`
|
|
398
|
+
}
|
|
399
|
+
else if (interfaceAndLocal === null && xfSongList !== null) {
|
|
400
|
+
return `${musicApi}/musicAll/?playlistId=${xfSongList.trim()}`
|
|
401
|
+
}
|
|
402
|
+
else {
|
|
403
|
+
return interfaceAndLocal.trim()
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
const addLeadingZero = num => num < 10 ? `0${num}` : num
|
|
408
|
+
|
|
409
|
+
function convertTime(duration) {
|
|
410
|
+
const minutes = Math.floor(duration / 60)
|
|
411
|
+
const seconds = Math.floor(duration % 60)
|
|
412
|
+
|
|
413
|
+
const minutesDisplay = addLeadingZero(minutes)
|
|
414
|
+
const secondsDisplay = addLeadingZero(seconds)
|
|
415
|
+
|
|
416
|
+
return `${minutesDisplay}:${secondsDisplay}`
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
function millisecondConversion(milliseconds) {
|
|
420
|
+
const minutes = addLeadingZero(Math.floor(milliseconds / 60000))
|
|
421
|
+
const seconds = addLeadingZero(Math.floor((milliseconds % 60000) / 1000))
|
|
422
|
+
return `${minutes}:${seconds} `
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
const clickControl = () => {
|
|
426
|
+
let isFunctionTriggered = false
|
|
427
|
+
|
|
428
|
+
const togglePlayback = () => {
|
|
429
|
+
const domLength = MusicPlayer.getElementsByClassName('xf-bePlaying').length
|
|
430
|
+
if (domLength > 0) {
|
|
431
|
+
displayPopup('音乐已暂停')
|
|
432
|
+
pauseMusic()
|
|
433
|
+
removebePlaying()
|
|
434
|
+
} else {
|
|
435
|
+
displayPopup(`正在播放:${songName.textContent}`)
|
|
436
|
+
playMusic()
|
|
437
|
+
addPlaying()
|
|
438
|
+
isFunctionTriggered = true
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
playbackControl.addEventListener('click', togglePlayback)
|
|
443
|
+
|
|
444
|
+
window.addEventListener('keyup', e => {
|
|
445
|
+
e = event
|
|
446
|
+
if (e.key === ' ' || e.keyCode === 32) {
|
|
447
|
+
togglePlayback()
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
451
|
+
audioFrequency.addEventListener('click', function () {
|
|
452
|
+
xfMusicAudio.muted = !xfMusicAudio.muted
|
|
453
|
+
|
|
454
|
+
if (xfMusicAudio.muted) {
|
|
455
|
+
displayPopup('开启静音')
|
|
456
|
+
this.children[0].classList.remove('icon-shengyin-kai')
|
|
457
|
+
this.children[0].classList.add('icon-shengyin-guan')
|
|
458
|
+
} else {
|
|
459
|
+
displayPopup('取消静音')
|
|
460
|
+
this.children[0].classList.add('icon-shengyin-kai')
|
|
461
|
+
this.children[0].classList.remove('icon-shengyin-guan')
|
|
462
|
+
}
|
|
463
|
+
})
|
|
464
|
+
|
|
465
|
+
MusicPlayerMain.style.opacity = 0
|
|
466
|
+
const loadXfPlayer = async (dom, val, key) => {
|
|
467
|
+
const xfStyle = window.getComputedStyle(dom)
|
|
468
|
+
await setTimeoutPromise(1000)
|
|
469
|
+
if (xfStyle.getPropertyValue(val) === key) {
|
|
470
|
+
displayPopup('播放器加载中...')
|
|
471
|
+
clearTheDefaultPlayerProperties()
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
loadXfPlayer(MusicPlayerMain, 'opacity', '0')
|
|
475
|
+
|
|
476
|
+
let lisNum = 0
|
|
477
|
+
const playBackAndForth = async () => {
|
|
478
|
+
try {
|
|
479
|
+
let res = await fetchData(musicUrl)
|
|
480
|
+
|
|
481
|
+
if (interfaceAndLocal === null && xfSongList !== null) {
|
|
482
|
+
res = res.playlist.tracks
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
await Promise.all(
|
|
486
|
+
res.map(async data => {
|
|
487
|
+
const musicId = data.id
|
|
488
|
+
const musicName = data.name
|
|
489
|
+
const artistsname = data.artistsname || data.al.name
|
|
490
|
+
const picurl = data.picurl || data.al.picUrl
|
|
491
|
+
const mp3 = data.url || `${musicApi}/musicAll/?songId=${musicId}&mp3Url=mp3`
|
|
492
|
+
const duration = interfaceAndLocal === null ? data.duration !== undefined ? convertTime(data.duration) : millisecondConversion(data.dt) : data.musicDuration
|
|
493
|
+
|
|
494
|
+
playerMusicItem(musicId, mp3, picurl, musicName, artistsname, duration)
|
|
495
|
+
})
|
|
496
|
+
)
|
|
497
|
+
|
|
498
|
+
const checkSongsItemLength = () => {
|
|
499
|
+
return new Promise(resolve => {
|
|
500
|
+
const startTime = Date.now()
|
|
501
|
+
|
|
502
|
+
const intervalId = setInterval(() => {
|
|
503
|
+
lisNum = MusicPlayer.querySelectorAll('.xf-songsItem').length
|
|
504
|
+
const analyticQuantity = res.length
|
|
505
|
+
|
|
506
|
+
if (lisNum === analyticQuantity) {
|
|
507
|
+
clearInterval(intervalId)
|
|
508
|
+
const endTime = Date.now()
|
|
509
|
+
const waitTime = endTime - startTime
|
|
510
|
+
resolve(waitTime)
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
}, 30)
|
|
514
|
+
})
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
const setCookie = (name, value, days) => {
|
|
518
|
+
const date = new Date()
|
|
519
|
+
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000))
|
|
520
|
+
const expires = `expires=${date.toUTCString()}`
|
|
521
|
+
document.cookie = `${name}=${value}; ${expires}; path=/`
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
const getCookie = name => {
|
|
525
|
+
const cookieName = `${name}=`
|
|
526
|
+
const cookies = document.cookie.split(';')
|
|
527
|
+
for (let cookie of cookies) {
|
|
528
|
+
while (cookie.charAt(0) === ' ') {
|
|
529
|
+
cookie = cookie.substring(1)
|
|
530
|
+
}
|
|
531
|
+
if (cookie.indexOf(cookieName) === 0) {
|
|
532
|
+
return cookie.substring(cookieName.length, cookie.length)
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
return null
|
|
536
|
+
}
|
|
537
|
+
const deleteCookie = name => document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;'
|
|
538
|
+
const cookieName = 'xf-MusicPlayer'
|
|
539
|
+
const memoryPlayback = MusicPlayer.getAttribute('data-memory')
|
|
540
|
+
let cookieData = null
|
|
541
|
+
const rsCookie = getCookie(cookieName)
|
|
542
|
+
const detectionCookies = callback => {
|
|
543
|
+
if (memoryPlayback === '1' || memoryPlayback === 'true') {
|
|
544
|
+
callback()
|
|
545
|
+
} else {
|
|
546
|
+
if (rsCookie) {
|
|
547
|
+
deleteCookie(cookieName)
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
checkSongsItemLength().then(async waitTime => {
|
|
553
|
+
await setTimeoutPromise(waitTime)
|
|
554
|
+
|
|
555
|
+
if (waitTime <= 100) {
|
|
556
|
+
console.log(`%c 播放器接口加载耗时【正常】:${waitTime}ms`, 'color: #60a060')
|
|
557
|
+
} else if (waitTime <= 5000) {
|
|
558
|
+
console.log(`%c 播放器接口加载耗时【稍慢】:${waitTime}ms`, 'color: #ffb87a')
|
|
559
|
+
} else {
|
|
560
|
+
console.error(`%c 播放器接口加载异常!`, 'color: #a51212')
|
|
561
|
+
MusicPlayer.remove()
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
let songsItem = MusicPlayer.querySelectorAll('.xf-songsItem')
|
|
565
|
+
if (songsItem.length === 0) {
|
|
566
|
+
console.error('歌曲未被添加...')
|
|
567
|
+
return
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
let currentSongIndex = 0
|
|
571
|
+
|
|
572
|
+
const getRandomInt = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min
|
|
573
|
+
|
|
574
|
+
const randomSong = getRandomInt(0, songsItem.length)
|
|
575
|
+
|
|
576
|
+
const songStr = MusicPlayer.getAttribute('data-random')
|
|
577
|
+
if (songStr !== null && songStr !== 'false') {
|
|
578
|
+
if (songStr !== '' && !isNaN(Number(songStr))) {
|
|
579
|
+
currentSongIndex = Number(songStr) > 0 && songStr <= songsItem.length ? Number(songStr) - 1 : 0
|
|
580
|
+
} else {
|
|
581
|
+
currentSongIndex = randomSong
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
detectionCookies(() => {
|
|
586
|
+
if (rsCookie) {
|
|
587
|
+
const { musicId } = JSON.parse(rsCookie)
|
|
588
|
+
currentSongIndex = musicId > res.length ? 0 : musicId
|
|
589
|
+
} else {
|
|
590
|
+
cookieData = {
|
|
591
|
+
musicId: 0,
|
|
592
|
+
musicTime: 0
|
|
593
|
+
}
|
|
594
|
+
setCookie(cookieName, JSON.stringify(cookieData), 30)
|
|
595
|
+
}
|
|
596
|
+
})
|
|
597
|
+
|
|
598
|
+
const updateSong = index => {
|
|
599
|
+
MusicPlayerMain.style.opacity = 1
|
|
600
|
+
let eleInExecution = ''
|
|
601
|
+
songsItem.forEach((ele, i) => {
|
|
602
|
+
ele.classList.toggle('xf-inExecution', i === index)
|
|
603
|
+
const filteredinExecution = Array.from(songsItem).filter(ele => ele.classList.contains('xf-inExecution'))
|
|
604
|
+
eleInExecution = filteredinExecution
|
|
605
|
+
ele.querySelector('.xf-songListSongPictures .xf-songIcon').classList.remove('icon-zantingtingzhi')
|
|
606
|
+
})
|
|
607
|
+
|
|
608
|
+
const item = songsItem[index]
|
|
609
|
+
const itemPic = (item.querySelector('.xf-playlistImg')?.getAttribute('data-musicljz-src')) ?? item.querySelector('.xf-playlistImg')?.src
|
|
610
|
+
const itemUrl = item.dataset.mp3url
|
|
611
|
+
const itemName = item.querySelector('.xf-songName').textContent
|
|
612
|
+
const itemAuto = item.querySelector('.xf-songAuthor').textContent
|
|
613
|
+
|
|
614
|
+
xfMusicAudio.src = itemUrl
|
|
615
|
+
musicPicture.src = itemPic
|
|
616
|
+
musicPicture.alt = itemName
|
|
617
|
+
musicPhoto.src = itemPic
|
|
618
|
+
musicPhoto.alt = itemName
|
|
619
|
+
songName.textContent = itemName
|
|
620
|
+
singer.textContent = itemAuto
|
|
621
|
+
|
|
622
|
+
const xfSongIcon = eleInExecution[0].querySelector('.xf-songListSongPictures .xf-songIcon')
|
|
623
|
+
xfSongIcon.classList.add('icon-zantingtingzhi')
|
|
624
|
+
|
|
625
|
+
if (isFunctionTriggered || MusicPlayer.getAttribute('data-fadeOutAutoplay') !== null) {
|
|
626
|
+
playMusic()
|
|
627
|
+
addPlaying()
|
|
628
|
+
displayPopup(`正在播放:${itemName}`)
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
const lyricsShowOrHide = MusicPlayer.getAttribute('data-lyrics')
|
|
632
|
+
|
|
633
|
+
if (interfaceAndLocal === null && lyricsShowOrHide !== '0' && lyricsShowOrHide !== 'false') {
|
|
634
|
+
xfLyric.style.backgroundColor = backgroundColors[bgIndex]
|
|
635
|
+
|
|
636
|
+
let xfAllLyri = xfLyric.querySelector('.xf-AllLyric-box')
|
|
637
|
+
const musicLyric = eleInExecution[0].dataset.index
|
|
638
|
+
const wyLyric = `${musicApi}/musicAll/?lyric=${musicLyric}`
|
|
639
|
+
fetchData(wyLyric)
|
|
640
|
+
.then(res => {
|
|
641
|
+
xfAllLyri.innerHTML = ''
|
|
642
|
+
|
|
643
|
+
if (res.code === 200) {
|
|
644
|
+
const lyricsData = res.lrc.lyric
|
|
645
|
+
const lines = lyricsData.split('\n')
|
|
646
|
+
|
|
647
|
+
const lyricsArray = lines.map(line => {
|
|
648
|
+
const timeEndIndex = line.indexOf(']')
|
|
649
|
+
if (timeEndIndex !== -1) {
|
|
650
|
+
const time = convertTimeToSeconds(line.substring(1, timeEndIndex))
|
|
651
|
+
const text = line.substring(timeEndIndex + 1).trim()
|
|
652
|
+
return { time, text }
|
|
653
|
+
} else {
|
|
654
|
+
return null
|
|
655
|
+
}
|
|
656
|
+
}).filter(lyric => lyric !== null)
|
|
657
|
+
|
|
658
|
+
function convertTimeToSeconds(time) {
|
|
659
|
+
const [minutes, seconds] = time.split(':').map(parseFloat)
|
|
660
|
+
return minutes * 60 + seconds
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
lyricsArray.forEach(lyric => {
|
|
664
|
+
const lisEle = document.createElement('li')
|
|
665
|
+
lisEle.classList.add('xf-ly')
|
|
666
|
+
lisEle.textContent = lyric.text
|
|
667
|
+
xfAllLyri.appendChild(lisEle)
|
|
668
|
+
})
|
|
669
|
+
|
|
670
|
+
function updateLyricDisplay() {
|
|
671
|
+
const currentTime = xfMusicAudio.currentTime
|
|
672
|
+
|
|
673
|
+
for (let i = 0; i < lyricsArray.length; i++) {
|
|
674
|
+
const lisEle = xfAllLyri.children[i]
|
|
675
|
+
if (lisEle) {
|
|
676
|
+
lisEle.classList.remove('xf-textShow')
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
let currentLyricIndex
|
|
681
|
+
for (let j = 0; j < lyricsArray.length; j++) {
|
|
682
|
+
if (currentTime >= lyricsArray[j].time) {
|
|
683
|
+
currentLyricIndex = j
|
|
684
|
+
if (j < lyricsArray.length - 1 && currentTime >= lyricsArray[j + 1].time) {
|
|
685
|
+
continue
|
|
686
|
+
}
|
|
687
|
+
break
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
const lisEle = xfAllLyri.children[currentLyricIndex]
|
|
692
|
+
if (lisEle) {
|
|
693
|
+
lisEle.classList.add('xf-textShow')
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
xfMusicAudio.removeEventListener('timeupdate', updateLyricDisplay)
|
|
698
|
+
|
|
699
|
+
xfMusicAudio.addEventListener('timeupdate', updateLyricDisplay)
|
|
700
|
+
|
|
701
|
+
}
|
|
702
|
+
})
|
|
703
|
+
.catch(error => console.error(`歌词获取失败:${error}`))
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
updateSong(currentSongIndex)
|
|
708
|
+
|
|
709
|
+
const setCk = id => {
|
|
710
|
+
detectionCookies(() => {
|
|
711
|
+
cookieData = {
|
|
712
|
+
musicId: id,
|
|
713
|
+
musicTime: 0
|
|
714
|
+
}
|
|
715
|
+
setCookie(cookieName, JSON.stringify(cookieData), 30)
|
|
716
|
+
})
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
const prevMusic = () => {
|
|
720
|
+
isFunctionTriggered = true
|
|
721
|
+
currentSongIndex = (currentSongIndex - 1 + songsItem.length) % songsItem.length
|
|
722
|
+
updateSong(currentSongIndex)
|
|
723
|
+
setCk(currentSongIndex)
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
const nextMusic = () => {
|
|
727
|
+
isFunctionTriggered = true
|
|
728
|
+
currentSongIndex = (currentSongIndex + 1) % songsItem.length
|
|
729
|
+
updateSong(currentSongIndex)
|
|
730
|
+
setCk(currentSongIndex)
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
songsItem.forEach((item, index) => {
|
|
734
|
+
item.addEventListener('click', () => {
|
|
735
|
+
isFunctionTriggered = true
|
|
736
|
+
currentSongIndex = index
|
|
737
|
+
updateSong(currentSongIndex)
|
|
738
|
+
setCk(currentSongIndex)
|
|
739
|
+
})
|
|
740
|
+
})
|
|
741
|
+
|
|
742
|
+
nextSong.addEventListener('click', nextMusic)
|
|
743
|
+
previousSong.addEventListener('click', prevMusic)
|
|
744
|
+
|
|
745
|
+
window.addEventListener('keyup', e => {
|
|
746
|
+
e = event
|
|
747
|
+
if (e.key === 'ArrowRight' || e.keyCode === 39) {
|
|
748
|
+
isFunctionTriggered = true
|
|
749
|
+
currentSongIndex = (currentSongIndex + songsItem.length + 2) % songsItem.length
|
|
750
|
+
updateSong(currentSongIndex)
|
|
751
|
+
setCk(currentSongIndex)
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
if (e.key === 'ArrowLeft' || e.keyCode === 37) {
|
|
755
|
+
prevMusic()
|
|
756
|
+
}
|
|
757
|
+
})
|
|
758
|
+
|
|
759
|
+
xfMusicAudio.addEventListener('timeupdate', () => {
|
|
760
|
+
const duration = xfMusicAudio.duration
|
|
761
|
+
const currentTime = xfMusicAudio.currentTime
|
|
762
|
+
const progress = (currentTime / duration) * 100
|
|
763
|
+
|
|
764
|
+
audioProgress.style.width = `${progress}%`
|
|
765
|
+
|
|
766
|
+
detectionCookies(() => {
|
|
767
|
+
cookieData = {
|
|
768
|
+
musicId: currentSongIndex,
|
|
769
|
+
musicTime: xfMusicAudio.currentTime
|
|
770
|
+
}
|
|
771
|
+
setCookie(cookieName, JSON.stringify(cookieData), 30)
|
|
772
|
+
})
|
|
773
|
+
if (progress === 100) {
|
|
774
|
+
nextMusic()
|
|
775
|
+
}
|
|
776
|
+
})
|
|
777
|
+
|
|
778
|
+
const loadedMetadataHandler = () => {
|
|
779
|
+
detectionCookies(() => {
|
|
780
|
+
if (!rsCookie) {
|
|
781
|
+
return
|
|
782
|
+
}
|
|
783
|
+
const { musicTime } = JSON.parse(rsCookie)
|
|
784
|
+
const duration = xfMusicAudio.duration
|
|
785
|
+
xfMusicAudio.currentTime = musicTime >= duration ? 0 : musicTime
|
|
786
|
+
playMusic()
|
|
787
|
+
})
|
|
788
|
+
|
|
789
|
+
xfMusicAudio.removeEventListener('loadedmetadata', loadedMetadataHandler)
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
xfMusicAudio.addEventListener('loadedmetadata', loadedMetadataHandler)
|
|
793
|
+
|
|
794
|
+
const currentMusic = () => {
|
|
795
|
+
if ( musicPicture.src === "" || musicPhoto.src === "" || songName.textContent === "") {
|
|
796
|
+
nextMusic()
|
|
797
|
+
pauseMusic()
|
|
798
|
+
removebePlaying()
|
|
799
|
+
displayPopup('音乐已停止播放!')
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
currentMusic()
|
|
803
|
+
lazyLoadImages()
|
|
804
|
+
})
|
|
805
|
+
} catch (error) {
|
|
806
|
+
console.error(`发生错误:${error}`)
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
playBackAndForth()
|
|
810
|
+
|
|
811
|
+
const elementDetection = setTimeout(() => {
|
|
812
|
+
const lis = [...listOfSongs.querySelectorAll('.xf-songsItem')]
|
|
813
|
+
|
|
814
|
+
if (lis.length === 0 || MusicPlayerMain.style.opacity === '0' || lis.length < lisNum) {
|
|
815
|
+
console.warn('检测元素渲染异常,计划重新执行中...')
|
|
816
|
+
listOfSongs.innerHTML = ''
|
|
817
|
+
playBackAndForth()
|
|
818
|
+
lazyLoadImages()
|
|
819
|
+
clearTimeout(elementDetection)
|
|
820
|
+
} else {
|
|
821
|
+
console.log('%c DOM元素渲染成功!', 'color: skyblue')
|
|
822
|
+
clearTimeout(elementDetection)
|
|
823
|
+
}
|
|
824
|
+
}, 3000)
|
|
825
|
+
|
|
826
|
+
let isSliding = false
|
|
827
|
+
const startSlide = e => {
|
|
828
|
+
isSliding = true
|
|
829
|
+
slide(e)
|
|
830
|
+
playMusic()
|
|
831
|
+
addPlaying()
|
|
832
|
+
}
|
|
833
|
+
const slide = e => {
|
|
834
|
+
if (!isSliding) {
|
|
835
|
+
return
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
const containerRect = totalAudioProgress.getBoundingClientRect()
|
|
839
|
+
const clickX = e.clientX - containerRect.left
|
|
840
|
+
const containerWidth = containerRect.width
|
|
841
|
+
|
|
842
|
+
const clickProgress = (clickX / containerWidth) * 100
|
|
843
|
+
const duration = xfMusicAudio.duration
|
|
844
|
+
const newTime = (clickProgress / 100) * duration
|
|
845
|
+
|
|
846
|
+
xfMusicAudio.currentTime = newTime
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
const endSlide = () => {
|
|
850
|
+
isSliding = false
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
totalAudioProgress.addEventListener('mousedown', startSlide)
|
|
854
|
+
totalAudioProgress.addEventListener('mousemove', slide)
|
|
855
|
+
totalAudioProgress.addEventListener('mouseup', endSlide)
|
|
856
|
+
totalAudioProgress.addEventListener('mouseleave', endSlide)
|
|
857
|
+
|
|
858
|
+
playlistBtn.addEventListener('click', () => {
|
|
859
|
+
const showSong = MusicPlayer.getElementsByClassName('xf-outsideSongListShow').length
|
|
860
|
+
showSong ? outsideSongList.classList.remove('xf-outsideSongListShow') : outsideSongList.classList.add('xf-outsideSongListShow')
|
|
861
|
+
})
|
|
862
|
+
|
|
863
|
+
let throughDisplayDiv
|
|
864
|
+
const goThroughShowAndLeaveHidden = () => {
|
|
865
|
+
if (!throughDisplayDiv) {
|
|
866
|
+
const throughDisplayDiv = document.createElement('div')
|
|
867
|
+
throughDisplayDiv.classList.add('xf-throughDisplay')
|
|
868
|
+
playerBody.appendChild(throughDisplayDiv)
|
|
869
|
+
}
|
|
870
|
+
const throughDisplay = document.querySelector('.xf-throughDisplay')
|
|
871
|
+
|
|
872
|
+
const arr = [previousSong, playbackControl, nextSong, audioFrequency, playlistBtn]
|
|
873
|
+
|
|
874
|
+
function handleMouseEnter(event) {
|
|
875
|
+
const mouseX = event.pageX
|
|
876
|
+
const mouseY = event.pageY
|
|
877
|
+
|
|
878
|
+
throughDisplay.style.left = `${mouseX + 15}px`
|
|
879
|
+
throughDisplay.style.top = `${mouseY}px`
|
|
880
|
+
|
|
881
|
+
switch (this) {
|
|
882
|
+
case previousSong:
|
|
883
|
+
eleShow('上一首')
|
|
884
|
+
break
|
|
885
|
+
case playbackControl:
|
|
886
|
+
eleShow('播放音乐')
|
|
887
|
+
break
|
|
888
|
+
case nextSong:
|
|
889
|
+
eleShow('下一首')
|
|
890
|
+
break
|
|
891
|
+
case audioFrequency:
|
|
892
|
+
eleShow('音量设置')
|
|
893
|
+
break
|
|
894
|
+
case playlistBtn:
|
|
895
|
+
eleShow('查看歌单')
|
|
896
|
+
break
|
|
897
|
+
default:
|
|
898
|
+
eleHidden()
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
const eleShow = text => {
|
|
903
|
+
throughDisplay.style.display = 'block'
|
|
904
|
+
throughDisplay.textContent = text
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
const eleHidden = () => throughDisplay.style.display = 'none'
|
|
908
|
+
|
|
909
|
+
for (let i = 0; i < arr.length; i++) {
|
|
910
|
+
const ele = arr[i]
|
|
911
|
+
ele.addEventListener('mouseenter', handleMouseEnter)
|
|
912
|
+
ele.addEventListener('mouseleave', eleHidden)
|
|
913
|
+
ele.addEventListener('click', eleHidden)
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
goThroughShowAndLeaveHidden()
|
|
917
|
+
}
|
|
918
|
+
clickControl()
|
|
919
|
+
|
|
920
|
+
const switchPlayerFun = () => {
|
|
921
|
+
const playerToggleClasses = () => {
|
|
922
|
+
switchArrow.classList.toggle('xf-jiantou1')
|
|
923
|
+
MusicPlayerMain.classList.toggle('xf-playerShow')
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
switchPlayer.addEventListener('click', playerToggleClasses)
|
|
927
|
+
|
|
928
|
+
document.addEventListener('click', function (event) {
|
|
929
|
+
if (!MusicPlayer.contains(event.target)) {
|
|
930
|
+
switchArrow.classList.remove('xf-jiantou1')
|
|
931
|
+
MusicPlayerMain.classList.remove('xf-playerShow')
|
|
932
|
+
}
|
|
933
|
+
})
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
switchPlayerFun()
|
|
937
|
+
xfMusicAudio.remove()
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
const message = '小枫网络'
|
|
941
|
+
const description = 'https://www.xfabe.com/'
|
|
942
|
+
|
|
943
|
+
const printStyle = [
|
|
944
|
+
'padding: 5px 10px; border-radius: 5px 0 0 5px; background-color: #8b52ec; font-weight: bold;',
|
|
945
|
+
'padding: 5px 10px; border-radius: 0 5px 5px 0; background-color: #a17eff; font-weight: bold;'
|
|
946
|
+
]
|
|
947
|
+
|
|
948
|
+
console.log(`%c${message}%c${description}`, printStyle[0], printStyle[1])
|
|
949
|
+
})
|