xiaomianao666

小程序:云音乐

Feb 14th, 2023
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@云音乐@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5LqR6Z+z5LmQIiwiYXV0aG9yIjoi57yY5YiGIiwidXJsIjoiaHR0cDovLzEyMS40Ljc4LjEwNjo0MDAxL212L2FsbD9vZmZzZXQ9ZnlwYWdlQC0xQCozMEAjIiwidmVyc2lvbiI6MjAyMjExMTQsImNvbF90eXBlIjoidGV4dF8xIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbnBhZ2UgPSBnZXRVcmwoKS5zcGxpdChcIj1cIilbMV0uc3BsaXQoXCIjXCIpWzBdXG5pZiAocGFnZSA9PSAwKSB7XG4gICAgbGV0IHRhYnMgPSB7XG4gICAgICAgIFwiTVZcIjogXCJodHRwczovL2xhbm1laWd1b2ppYW5nLmNvbS90dWJpYW8vcS8xNjkucG5nXCIsXG4gICAgICAgIFwi5q2M5Y2VXCI6IFwiaHR0cHM6Ly9sYW5tZWlndW9qaWFuZy5jb20vdHViaWFvL3EvMTY3LnBuZ1wiLFxuICAgICAgICBcIuaOkuihjOamnFwiOiBcImh0dHBzOi8vbGFubWVpZ3VvamlhbmcuY29tL3R1Ymlhby9xLzE2OC5wbmdcIlxuICAgIH0gICBcbiAgIE9iamVjdC5lbnRyaWVzKHRhYnMpLmZvckVhY2goaXRlbSA9PiB7XG4gICAgICAgIHB1dE15VmFyKCfpgInkuK3popzoibInLCAnIzNDRTY4RScpO1xuICAgICAgICB4e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RhdGVJdGVtKGdldFZhcign57Si5byVJywgZmlyc3QpLCB7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogZ2V0VmFyKCfntKLlvJUnLCBmaXJzdClcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgdXBkYXRlSXRlbSh0aXRsZSwge1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHh5XFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgIHB1dFZhcign57Si5byVJywgdGl0bGUpXFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgcmV0dXJuICdkb3dubG9hZDovLycgKyBnZXRWYXIoJ+aSreaUvumTvuaOpScpO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgfSwgdGl0bGUsIGZpcnN0LCB4eSksXFxuICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgIGlkOiB0aXRsZVxcbiAgICAgICAgfSxcXG4gICAgfSk7XFxuXFxuICAgIOS8oOi+k+WIl+ihqC5wdXNoKHtcXG4gICAgICAgIOWwgemdojogaW1nLFxcbiAgICAgICAg5puy5ZCNOiB0aXRsZSxcXG4gICAgICAgIOatjOaJizogZGVzYyxcXG4gICAgICAgIOWcsOWdgDogdXJsLFxcbiAgICB9KVxcbn1cXG5cXG4gICAg5Lyg6L6T5YiX6KGoID0gc3RvcmFnZTAuZ2V0VmFyKCfnvJPlrZjmlbDmja4nLCBbXSkuY29uY2F0KOS8oOi+k+WIl+ihqClcXG4gICAgc3RvcmFnZTAucHV0VmFyKCfnvJPlrZjmlbDmja4nLCDkvKDovpPliJfooagpXFxuICAgIHN0b3JhZ2UwLnB1dFZhcign5pWw5o2u5qCh5a+5JywgbGlzdClcXG59XFxuYWRkTGlzdGVuZXIoJ29uQ2xvc2UnLCAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgY2xlYXJW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XIoJ+aVsOaNruagoeWvuScsIFtdKSk7XFxuaWYgKHhkID09IGZhbHNlKSB7XFxuICAgIGZvciAobGV0IGogPSAwOyBqIDwgbGlzdC5sZW5ndGg7IGorKykge1xcbiAgICAgICAgbGV0IHRpdGxlID0gbGlzdFtqXS5uYW1lO1xcbiAgICAgICAgbGV0IGZpcnN0ID0gbGlzdFswXS5uYW1lO1xcbiAgICAgICAgbGV0IGRlc2MgPSBsaXN0W2pdLmFyWzBdLm5hbWU7XFxuICAgICAgICBsZXQgaW1nID0gbGlzdFtqXS5hbC5waWNVcmw7XFxuICAgICAgICBsZXQgdXJsID0gJ2h0dHA6Ly8xMjEuNC43OC4xMDY6NDAwMS9zb25nL3VybD9pZD0nICsgbGlzdFtqXS5pZCArICQoJycpLmxhenlSdWxlKCgpID0+IHtcXG4gICAgICAgICAgICB2YXIgdXJsID0gSlNPTi5wYXJzZShyZXF1ZXN0KGlucHV0KSkuZGF0YVswXS51cmxcXG4gICAgICAgICAgICByZXR1cm4gdXJsICsgJyNpc011c2ljPXRydWUjJztcXG4gICAgICAgIH0pO1xcbiAgICAgICAgLyog5b+r6YCf5ZGK6K+JeDXliJfooajmoLflvI/vvIzlvojph43opoEgKi9cXG4gICAgICAgIGxldCBjb2xfdHlwZSA9ICdhdmF0YXInXFxuICAgICAgICBwdXRWYXIoJ+agt+W8jycsIGNvbF90eXBlKVxcbiAgICAgICAgcHV0VmFyKCfpgInkuK3popzoibInLCAnIzNDRTY4RScpO1xcbiAgICAgICAgaWYgKGNvbF90eXBlID09ICd0ZXh0XzEnKVxcbiAgICAgICAgICAgIHh5ID0gJ+KAnOKAnOKAneKAnTxiPjxmb250IGNvbG9yPScgKyBnZXRWYXIoJ+mAieS4reminOiJsicpICsgJz4nICsgdGl0bGUgKyAnPC9mb250PjwvYj4nO1xcbiAgICAgICAgZWxzZVxcbiAgICAgICAgICAgIHh5ID0gJzxiPjxmb250IGNvbG9yPScgKyBnZXRWYXIoJ+mAieS4reminOiJsicpICsgJz4nICsgdGl0bGUgKyAnPC9mb250PjwvYj4nO1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogdGl0bGUgPT0gZ2V0VmFyKCfntKLlvJUnLCBmaXJzdCkgJiYgTVlfUEFHRSA9PSAxID8geHkgOiB0aXRsZSxcXG4gICAgICAgICAgICBkZXNjOiBkZXNjLFxcbiAgICAgICAgICAgIGltZzogaW1nLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiBjb2xfdHlwZSxcXG4gICAgICAgICAgICB1cmw6ICQoJyNub0hpc3RvcnkjI25vTG9hZGluZyMnKS5sYXp5UnVsZSgodGl0bGUsIGZpcnN0LCB4eSkgPT4ge1xcbiAgICAgICAgICAgICAgICBpZiAoZ2V0VmFyKCfntKLlvJUnKSAhPSB0aXRsZSkge1xcbiAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFg1V2ViVmlldyhnZXRQYXRoKCdoaWtlcjovL2ZpbGVzL3J1bGVzL2R6SG91c2UvaHRtbC9oNemfs+S5kOaSreaUvuWZqC5odG1sJykpXFxuICAgICAgICAgICAgICAgICAgICB1cGRhdGVJdGVtKGdldFZhcign57Si5byVJywgZmlyc3QpLCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGdldFZhcign57Si5byVJywgZmlyc3QpXFxuICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICAgICAgdXBkYXRlSXRlbSh0aXRsZSwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiB4eVxcbiAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgIHB1dFZhcign57Si5byVJywgdGl0bGUpXFxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ2Rvd25sb2FkOi8vJyArIGdldFZhcign5pKt5pS+6ZO+5o6lJyk7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAg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AgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybDtcXG4gICAgICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMicsXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9XFxuICAgIH0gZWxzZVxcbiAgICBpZiAobW9kZSA9PSBcXFwi5q2M5Y2VXFxcIikge1xcbiAgICAgICAgdmFyIGh0bWwgPSByZXF1ZXN0KCdodHRwOi8vMTIxLjQuNzguMTA2OjQwMDEvcGVyc29uYWxpemVkJyk7XFxuICAgICAgICB2YXIgbGlzdCA9IEpTT04ucGFyc2UoaHRtbCkucmVzdWx0O1xcbiAgICAgICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XFxuICAgICAgICAgICAgbGV0IHRpdGxlID0gbGlzdFtqXS5uYW1lO1xcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiB0aXRsZSxcXG4gICAgICAgICAgICAgICAgcGljX3VybDogbGlzdFtqXS5waWNVcmwsXFxuICAgICAgICAgICAgICAgIHVybDogJ2h0dHA6Ly8xMjEuNC43OC4xMDY6NDAwMS9wbGF5bGlzdC9kZXRhaWw/aWQ9JyArIGxpc3Rbal0uaWQgKyAnI2dhbWVUaGVtZSMjbm9Mb2FkaW5nIycgKyAkKCcnKS5ydWxlKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIGV2YWwoSlNPTi5wYXJzZShmZXRjaCgnaGlrZXI6Ly9wYWdlL2dkJykpLnJ1bGUpO1xcbiAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdjYXJkX3BpY18zJyxcXG4gICAgICAgICAgICB9KTtcXG4gICAgICAgIH1cXG4gICAgfSBlbHNlIGlmIChtb2RlID09IFxcXCLmjpLooYzmppxcXFwiKSB7XFxuICAgICAgICB2YXIgaHRtbCA9IHJlcXVlc3QoJ2h0dHA6Ly8xMjEuNC43OC4xMD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Gh0bWwpLmRhdGE7XFxuICAgICAgICBmb3IgKHZhciBqIGluIGxpc3QpIHtcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogbGlzdFtqXS5uYW1lLFxcbiAgICAgICAgICAgICAgICBwaWNfdXJsOiBsaXN0W2pdLmNvdmVyICsgJ0BSZWZlcmVyPScsXFxuICAgICAgICAgICAgICAgIHVybDogJ2h0dHA6Ly8xMjEuNC43OC4xMDY6NDAwMS9tdi91cmw/aWQ9JyArIGxpc3Rbal0uaWQgKyAkKCcnKS5sYXp5UnVsZSgoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICB2YXIgdXJsID0gSlNPTi5wYXJzZShyZXF1ZXN0KGlucHV0KSkuZGF0YS51cmxcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmw7XFxuICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ21vdmllXzInLFxcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfVxcbiAgICB9IGVsc2UgaWYgKG1vZGUgPT0gXFxcIuatjOWNlVxcXCIpIHtcXG4gICAgICAgIHZhciBodG1sID0gcmVxdWVzdCgnaHR0cDovLzEyMS40Ljc4LjEwNjo0MDAxL3BlcnNvbmFsaXplZCcpO1xcbiAgICAgICAgdmFyIGxpc3QgPSBKU09OLnBhcnNlKGh0bWwpLnJlc3VsdDtcXG4gICAgICAgIGZvciAodmFyIGogaW4gbGlzdCkge1xcbiAgICAgICAgICAgIGxldCB0aXRsZSA9IGxpc3Rbal0ubmFtZTtcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogdGl0bGUsXFxuICAgICAgICAgICAgICAgIHBpY191cmw6IGxpc3Rbal0ucGljVXJsLFxcbiAgICAgICAgICAgICAgICB1cmw6ICdodHRwOi8vMTIxLjQuNzguMTA2OjQwMDEvcGxheWxpc3QvZGV0YWlsP2lkPScgKyBsaXN0W2pdLmlkICsgJyNub1JlZnJlc2gjI2dhbWVUaGVtZSMjYmFja2dyb3VuZCMnICsgJCgnJykucnVsZSgoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBldmFsKEpTT04ucGFyc2UoZmV0Y2goJ2hpa2VyOi8vcGFnZS9oZ2QnKSkucnVsZSk7XFxuICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ2NhcmRfcGljXzMnLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgbmV3V2luZG93OiB0cnVlLFxcbiAgICAgICAgICAgICAgICAgICAgd2luZG93SWQ6IE1ZX1JVTEUudGl0bGVcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfVxcblxcbiAgICB9IGVsc2UgaWYgKG1vZGUgPT0gXFxcIuaOkuihjOamnFxcXCIpIHtcXG4gICAgICAgIHZhciBodG1sID0gcmVxdWVzdCgnaHR0cDovLzEyMS40Ljc4LjEwNjo0MDAxL3RvcGxpc3QnKTtcXG4gICAgICAgIHZhciBsaXN0ID0gSlNPTi5wYXJzZShodG1sKS5saXN0O1xcbiAgICAgICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XFxuICAgICAgICAgICAgbGV0IHRpdGxlID0gbGlzdFtqXS5uYW1lO1xcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiB0aXRsZSxcXG4gICAgICAgICAgICAgICAgcGljX3VybDogbGlzdFtqXS5jb3ZlckltZ1VybCxcXG4gICAgICAgICAgICAgICAgdXJsOiAnaHR0cDovLzEyMS40Ljc4LjEwNjo0MDAxL3BsYXlsaXN0L2RldGFpbD9pZD0nICsgbGlzdFtqXS5pZCArICcjbm9SZWZyZXNoIyNnYW1lVGhlbWUjI2JhY2tncm91bmQjI25vTG9hZGluZyMnICsgJCgnJykucnVsZSgoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBldmFsKEpTT04ucGFyc2UoZmV0Y2goJ2hpa2VyOi8vcGFnZS9waCcpKS5ydWxlKTtcXG4gICAgICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnY2FyZF9waWNfMycsXFxuICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgICBuZXdXaW5kb3c6IHRydWUsXFxuICAgICAgICAgICAgICAgICAgICB3aW5kb3dJZDogTVlfUlVMRS50aXRsZVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9XFxuICAgIH1cIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuabtOaWsFwiLFwicGF0aFwiOlwi5pu05pawXCIsXCJydWxlXCI6XCJpZiAocGFnZT09MCYmZ2V0VmFyKCdzaHNvcnQnKSA9PSAnMScpe1xcbiAgICBsZXQgbXlWZXJzaW9uID0gTVlfUlVMRS52ZXJzaW9uO1xcbiAgICBsZXQgbmV3VmVyc2lvbiA9IEpTT04ucGFyc2UoZmV0Y2hDYWNoZShcXFwiaHR0cDovL2hpa2VyLm5va2lhLnByZXNzL2hpa2VydWxlL3J1bGVsaXN0Lmpzb24/aWQ9NTcyMlxcXCIsMjQse1xcbiAgICAgICAgdGltZW91dDogMTAwMCwgICAgICAgIFxcbiAgICB9KSkudmVyc2lvbjtcXG4gICAgICBpZiAocGFyc2VJbnQobmV3VmVyc2lvbikgPiBwYXJzZUludChteVZlcnNpb24pKSB7XFxuICAgICAgICBjb25maXJtKHtcXG4gICAgICAgICAgICB0aXRsZTogJ+abtOaWsOaPkOekuicsXFxuICAgICAgICAgICAgY29udGVudDogJ+ajgOa1i+WIsOS9oOeahOinhOWImeeJiOacrOWwj+S6juacjeWKoeWZqOeJiOacrO+8jOaYr+WQpueri+WNs+abtOaWsO+8nycsXFxuICAgICAgICAgICAgY29uZmlybTogKCkgPT4ge1xcbiAgICAgICAgICAgICAgICByZXR1cm4gXFxcIua1t+mYlOinhueVjOmmlumhtemikemBk+inhOWImeOAkOS6kemfs+S5kOOAke+/pWhvbWVfcnVsZV91cmzvv6VodHRwOi8vaGlrZXIubm9raWEucHJlc3MvaGlrZXJ1bGUvcnVsZWxpc3QuanNvbj9pZD01NzIyXFxcIlxcbiAgICAgICAgICAgIH0sICAgICAgICAgXFxuICAgICAgICB9KVxcbiAgICB9fVxcbmlmICghZmlsZUV4aXN0KFxcXCJoaWtlcjovL2ZpbGVzL3J1bGVzL2R6SG91c2UvaHRtbC9oNemfs+S5kOaSreaUvuWZqC5odG1sXFxcIikpIHtcXG4gICAgY29uZmlybSh7XFxuICAgICAgICB0aXRsZTogXFxcIumHjeimgeaPkOekulxcXCIsXFxuICAgICAgICBjb250ZW50OiBcXFwi5qOA5rWL5Yiw5oKo6L+Y5rKh5pyJ5a+85YWl6Z+z5LmQ5pKt5pS+5o+S5Lu277yM54K55Ye75LiL5pa556Gu5a6a5oyJ6ZKu5a+85YWlXFxcIixcXG4gICAgICAgIGNvbmZpcm06ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgIHJldHVybiBcXFwi5rW36ZiU6KeG55WM5pys5Zyw5paH5Lu25YiG5Lqr77+lZmlsZV91cmzvv6VoaWtlcjovL2ZpbGVzL3J1bGVzL2R6SG91c2UvaHRtbC9oNemfs+S5kOaSreaUvuWZqC5odG1sQGh0dHA6Ly9oaWtlci5ub2tpYS5wcmVzcy9oaWtlcnVsZS9ydWxlbGlzdC5qc29uP2lkPTUzODlcXFwiXFxuICAgICAgICB9KVxcbiAgICB9KVxcbn1cIn1dIiwiaWNvbiI6Imh0dHA6Ly9wcC5teWFwcC5jb20vbWFfaWNvbi8wL2ljb25fMTE2ODg1MV8xNjYwNTY1NzgyLzI1NiIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment