xiaomianao666

小程序:YesPlayMusic

Nov 11th, 2022
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@YesPlayMusic@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiWWVzUGxheU11c2ljIiwiYXV0aG9yIjoi57yY5YiGIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjZnlwYWdlQC0xQCo1MEAjIyIsInZlcnNpb24iOjMsImNvbF90eXBlIjoiY2FyZF9waWNfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBkID0gW107XG5wYWdlID0gTVlfVVJMLnNwbGl0KFwiIyNcIilbMV07XG5cbmlmIChwYWdlID09IDApIHtcbiAgICBsZXQgdGFicyA9IHtcbiAgICAgICAgXCJNVlwiOiBcImh0dHBzOi8vbGFubWVpZ3VvamlhbmcuY29tL3R1Ymlhby9xLzE2OS5wbmdcIixcbiAgICAgICAgXCLmrYzljZVcIjogXCJodHRwczovL2xhbm1laWd1b2ppYW5nLmNvbS90dWJpYW8vcS8xNjcucG5nXCIsXG4gICAgICAgIFwi5o6S6KGMXCI6IFwiaHR0cHM6Ly9sYW5tZWlndW9qaWFuZy5jb20vdHViaWFvL3EvMTY4LnBuZ1wiXG4gICAgfVxuICAgIE9iamVjdC5lbnRyaWVzKHRhYnMpLmZvckVhY2goaXRlbSA9PiB7XG4gICAgICAgIHB1dE15VmFyKCfpgInkuK3popzoibInLCAnIzNDRTY4RScpO1xuICAgICAgICB4eSA9ICfigJzigJzigJ3igJ08Yj48c3BhbiBzdHlsZT1cImNvbG9yOiAjMWFhZDE5X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iAgICBsZXQgbW9kZSA9IGdldE15VmFyKFwibW9kZVwiLCBcIk1WXCIpXG4gICAgaWYgKG1vZGUgPT0gXCJNVlwiKSB7XG4gICAgICAgIHZhciBodG1sID0gcmVxdWVzdCgnaHR0cDovLzEyMS40Ljc4LjEwNjo0MDAxL212L2FsbD9vZmZzZXQ9JyArIHBhZ2UpO1xuXG4gICAgICAgIHZhciBsaXN0ID0gSlNPTi5wYXJzZShodG1sKS5kYXRhO1xuICAgICAgICBmb3IgKHZhciBqIGluIGxpc3QpIHtcbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgdGl0bGU6IGxpc3Rbal0ubmFtZSxcbiAgICAgICAgICAgICAgICBwaWNfdXJsOiBsaXN0W2pdLmNvdmVyICsgJ0BSZWZlcmVyPScsXG4gICAgICAgICAgICAgICAgdXJsOiAnaHR0cDovLzEyMS40Ljc4LjEwNjo0MDAxL212L3VybD9pZD0nICsgbGlzdFtqXS5pZCArICQoJycpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdmFyIHVybCA9IEpTT04ucGFyc2UocmVxdWVzdChpbnB1dCkpLmRhdGEudXJsXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmw7XG4gICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdtb3ZpZV8yJyxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgfSBlbHNlXG4gICAgaWYgKG1vZGUgPT0gXCLmrYzljZVcIikge1xuICAgICAgICB2YXIgbGlzdCA9IEpTT04ucGFyc2UocmVxdWVzdCgnaHR0cHM6Ly9tdXNpYy5xaWVyMjIyLmNvbS9hcGkvdG9wL3BsYXlsaXN0P2NhdD0lRTUlODUlQTglRTklODMlQTgmb2Zmc2V0PScgKyBwYWdlICsgJyZyZWFsSVA9MjExLjE2MS4yNDQuNzAnKSkucGxheWxpc3RzO1xuICAgICAgICBmb3IgKHZhciBqIGluIGxpc3QpIHtcbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgdGl0bGU6IGxpc3Rbal0ubmFtZSxcbiAgICAgICAgICAgICAgICBwaWNfdXJsOiBsaXN0W2pdLmNvdmVySW1nVXJsICsgJ0BSZWZlcmVyPScsXG4gICAgICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9lbXB0eSMjJyArIGxpc3Rbal0uaWQgKyAnI25vUmVmcmVzaCMjZ2FtZVRoZW1lIyNiYWNrZ3JvdW5kIycsXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgICAgICAgICAgbmV3V2luZG93OiB0cnVlLFxuICAgICAgICAgICAgICAgICAgICB3aW5kb3dJZDogTVlfUlVMRS50aXRsZVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pXG4gICAgICAgIH1cbiAgICB9IGVsc2UgaWYgKG1vZGUgPT0gXCLmjpLooYxcIikge1xuICAgICAgICB2YXIgbGlzdCA9IEpTT04ucGFyc2UocmVxdWVzdCgnaHR0cHM6Ly9tdXNpYy5xaWVyMjIyLmNvbS9hcGkvdG9wbGlzdCcpKS5saXN0O1xuICAgICAgICBsb2cobGlzdClcbiAgICAgICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XG4gICAgICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBsaXN0W2pdLm5hbWUsXG4gICAgICAgICAgICAgICAgcGljX3VybDogbGlzdFtqXS5jb3ZlckltZ1VybCArICdAUmVmZXJlcj0nLFxuICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHkjIycgKyBsaXN0W2pdLmlkICsgJyNub1JlZnJlc2gjI2dhbWVUaGVtZSMjYmFja2dyb3VuZCMnLFxuICAgICAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgICAgIG5ld1dpbmRvdzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAgICAgd2luZG93SWQ6IE1ZX1JVTEUudGl0bGVcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgfVxufSBlbHNlIHtcbiAgICBsZXQgbW9kZSA9IGdldE15VmFyKFwibW9kZVwiLCBcIk1WXCIpXG4gICAgaWYgKG1vZGUgPT0gXCJNVlwiKSB7XG4gICAgICAgIHZhciBodG1sID0gcmVxdWVzdCgnaHR0cDovLzEyMS40Ljc4LjEwNjo0MDAxL212L2FsbD9vZmZzZXQ9JytwYWdlKTtcblxuICAgICAgICB2YXIgbGlzdCA9IEpTT04ucGFyc2UoaHRtbCkuZGF0YTtcbiAgICAgICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XG4gICAgICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBsaXN0W2pdLm5hbWUsXG4gICAgICAgICAgICAgICAgcGljX3VybDogbGlzdFtqXS5jb3ZlciArICdAUmVmZXJlcj0nLFxuICAgICAgICAgICAgICAgIHVybDogJ2h0dHA6Ly8xMjEuNC43OC4xMDY6NDAwMS9tdi91cmw/aWQ9JyArIGxpc3Rbal0uaWQgKyAkKCcnKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHZhciB1cmwgPSBKU09OLnBhcnNlKHJlcXVlc3QoaW5wdXQpKS5kYXRhLnVybFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsO1xuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMicsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgfSAgZWxzZVxuICAgIGlmIChtb2RlID09IFwi5q2M5Y2VXCIpIHtcbiAgICAgICAgdmFyIGxpc3QgPSBKU09OLnBhcnNlKHJlcXVlc3QoJ2h0dHBzOi8vbXVzaWMucWllcjIyMi5jb20vYXBpL3RvcC9wbGF5bGlzdD9jYXQ9JUU1JTg1JUE4JUU5JTgzJUE4Jm9mZnNldD0nICsgcGFnZSArICcmcmVhbElQPTIxMS4xNjEuMjQ0LjcwJykpLnBsYXlsaXN0cztcbiAgICAgICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XG4gICAgICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBsaXN0W2pdLm5hbWUsXG4gICAgICAgICAgICAgICAgcGljX3VybDogbGlzdFtqXS5jb3ZlckltZ1VybCArICdAUmVmZXJlcj0nLFxuICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHkjIycgKyBsaXN0W2pdLmlkICsgJCgnJykucnVsZSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGV2YWwoSlNPTi5wYXJzZShmZXRjaCgnaGlrZXI6Ly9wYWdlL2VyJywge30pKS5ydWxlKVxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgfSBlbHNlIGlmIChtb2RlID09IFwi5o6S6KGMXCIpIHtcbiAgICAgICAgdmFyIGxpc3QgPSBKU09OLnBhcnNlKHJlcXVlc3QoJ2h0dHBzOi8vbXVzaWMucWllcjIyMi5jb20vYXBpL3RvcGxpc3QnKSkubGlzdDtcbiAgICAgICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XG4gICAgICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBsaXN0W2pdLm5hbWUsXG4gICAgICAgICAgICAgICAgcGljX3VybDogbGlzdFtqXS5jb3ZlckltZ1VybCArICdAUmVmZXJlcj0nLFxuICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHkjIycgKyBsaXN0W2pdLmlkICsgJCgnJykucnVsZSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGV2YWwoSlNPTi5wYXJzZShmZXRjaCgnaGlrZXI6Ly9wYWdlL2VyJywge30pKS5ydWxlKVxuICAgICAgICAgICAgICAgIH0pXG4gIC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XG4gICAgICAgICAgICAgICAgcmVmcmVzaFg1V2ViVmlldyhnZXRQYXRoKCdoaWtlcjovL2ZpbGVzL3J1bGVzL2R6SG91c2UvaHRtbC9oNemfs+S5kOaSreaUvuWZqC5odG1sJykpXG4gICAgICAgICAgICAgICAgdXBkYXRlSXRlbShnZXRWYXIoJ+e0ouW8lScsIGZpcnN0KSwge1xuICAgICAgICAgICAgICAgICAgICB0aXRsZTogZ2V0VmFyKCfntKLlvJUnLCBmaXJzdClcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgIHVwZGF0ZUl0ZW0odGl0bGUsIHtcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHh5XG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICBwdXRWYXIoJ+e0ouW8lScsIHRpdGxlKVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2Rvd25sb2FkOi8vJyArIGdldFZhcign5pKt5pS+6ZO+5o6lJyk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xuICAgICAgICB9LCB0aXRsZSwgZmlyc3QsIHh5KSxcbiAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgIGlkOiB0aXRsZVxuICAgICAgICB9LFxuICAgIH0pO1xuXG4gICAg5Lyg6L6T5YiX6KGoLnB1c2goe1xuICAgICAgICDlsIHpnaI6IGltZyxcbiAgICAgICAg5puy5ZCNOiB0aXRsZSxcbiAgICAgICAg5q2M5omLOiBkZXNjLFxuICAgICAgICDlnLDlnYA6IHVybCxcbiAgICB9KVxufVxuXG4gICAg5Lyg6L6T5YiX6KGoID0gc3RvcmFnZTAuZ2V0VmFyKCfnvJPlrZjmlbDmja4nLCBbXSkuY29uY2F0KOS8oOi+k+WIl+ihqClcbiAgICBzdG9yYWdlMC5wdXRWYXIoJ+e8k+WtmOaVsOaNricsIOS8oOi+k+WIl+ihqCl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2lkPTU3NzBcXFwiXFxuICAgICAgICAgICAgfSwgICAgICAgICBcXG4gICAgICAgIH0pXFxuICAgIH19IGNhdGNoIChlKSB7fVxcbn1cXG5pZiAoIWZpbGVFeGlzdChcXFwiaGlrZXI6Ly9maWxlcy9ydWxlcy9kekhvdXNlL2h0bWwvaDXpn7PkuZDmkq3mlL7lmaguaHRtbFxcXCIpKSB7XFxuICAgIGNvbmZpcm0oe1xcbiAgICAgICAgdGl0bGU6IFxcXCLph43opoHmj5DnpLpcXFwiLFxcbiAgICAgICAgY29udGVudDogXFxcIuajgOa1i+WIsOaCqOi/mOayoeacieWvvOWFpemfs+S5kOaSreaUvuaPkuS7tu+8jOeCueWHu+S4i+aWueehruWumuaMiemSruWvvOWFpVxcXCIsXFxuICAgICAgICBjb25maXJtOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICByZXR1cm4gXFxcIua1t+mYlOinhueVjOacrOWcsOaWh+S7tuWIhuS6q++/pWZpbGVfdXJs77+laGlrZXI6Ly9maWxlcy9ydWxlcy9kekhvdXNlL2h0bWwvaDXpn7PkuZDmkq3mlL7lmaguaHRtbEBodHRwOi8vaGlrZXIubm9raWEucHJlc3MvaGlrZXJ1bGUvcnVsZWxpc3QuanNvbj9pZD01Mzg5XFxcIlxcbiAgICAgICAgfSlcXG4gICAgfSlcXG59XCJ9XSIsImljb24iOiJodHRwczovL211c2ljLnFpZXIyMjIuY29tL2ltZy9pY29ucy9mYXZpY29uLTMyeDMyLnBuZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment