Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@alitoken验证@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiYWxpdG9rZW7pqozor4EiLCJhdXRob3IiOiLpppnpm4Xmg4UiLCJ1cmwiOiJoaWtlcjovL2VtcHR5IiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbmQucHVzaCh7XG4gICAgdGl0bGU6IFwi4puF77iP55m75b2V6I635Y+W6Ieq5bex55qEdG9rZW5cIixcbiAgICB1cmw6ICQoXCJoaWtlcjovL2VtcHR5IyMjbm9SZWNvcmRIaXN0b3J5IyNub0hpc3RvcnkjXCIpLnJ1bGUoKCkgPT4ge1xuICAgICAgICBsZXQgZCA9IFtdO1xuICAgICAgICBsZXQgdXJsID0gJ2h0dHBzOi8vd3d3LmFsaXl1bmRyaXZlLmNvbS9zaWduJ1xuICAgICAgICBsZXQganMgPSAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IHRva2VuRnVuY3Rpb24gPSBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICB2YXIgdG9rZW4gPSBKU09OLnBhcnNlKGxvY2FsU3RvcmFnZS5nZXRJdGVtKCd0b2tlbicpKVxuICAgICAgICAgICAgICAgIGlmICh0b2tlbiAmJiB0b2tlbi51c2VyX2lkKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBhbGlzdGZpbGUgPSBcImhpa2VyOi8vZmlsZXMvcnVsZXMveHlxL215YWxpdG9rZW4udHh0XCI7XG4gICAgICAgICAgICAgICAgICAgIGxldCB0b2tlbmRhdGEgPSB0b2tlbi5yZWZyZXNoX3Rva2VuO1xuICAgICAgICAgICAgICAgICAgICAvL2ZiYS5sb2codG9rZW5kYXRhKTtcbiAgICAgICAgICAgICAgICAgICAgZnlfYnJpZGdlX2FwcC53cml0ZUZpbGUoYWxpc3RmaWxlLCB0b2tlbmRhdGEpO1xuICAgICAgICAgICAgICAgICAgICBsb2NhbFN0b3JhZ2UuY2xlYXIoKTtcbiAgICAgICAgICAgICAgICAgICAgYWxlcnQoJ1RPS0VO6I635Y+W5oiQ5Yqf77yM6L+U5Zue5ZCO5Yi35paw6aG16Z2i77yBJyk7XG4gICAgICAgICAgICAgICAgICAgIGZ5X2JyaWRnZV9hcHAucGFyc2VMYXp5UnVsZShgaGlrZXI6Ly9lbXB0eUBsYXp5UnVsZT0uanM6cmVmcmVzaFg1V2ViVmlldygnJyk7YCk7XG4gICAgICAgICAgICAgICAgICAgIGZ5X2JyaWRnZV9hcHAuYmFjaygpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdG9rZW5fdGltZXIoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB2YXIgdG9rZW5fdGltZXIgPSBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KHRva2VuRnVuY3Rpb24sIDUwMClcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICB0b2tlbkZ1bmN0aW9uKCk7XG4gICAgICAgIH0pXG4gICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICB1cmw6IHVybCxcbiAgICAgICAgICAgIGNvbF90eXBlOiAneDVfd2Vidmlld19zaW5nbGUnLFxuICAgICAgICAgICAgZGVzYzogJzEwMCUmJmZsb2F0JyxcbiAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgY2FuQmFjazogdHJ1ZSxcbiAgICAgICAgICAgICAgICB1YTogUENfVUEsXG4gICAgICAgICAgICAgICAganM6IGpzXG4gICAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIHNldFJlc3VsdChkKTtcbiAgICB9KSxcbiAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnXG59KTtcbmlmIChmaWxlRXhpc3QoXCJoaWtlcjovL2ZpbGVzL3J1bGVzL3h5cS9teWFsaXRva2VuLnR4dFwiKSkge1xuICAgIGxldCBteWRlZnRvayA9IGZldGNoKFwiaGlrZXI6Ly9maWxlcy9ydWxlcy94eXEvbXlhbGl0b2tlbi50eHRcIiwge30pO1xuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBteWRlZnRvayxcbiAgICAgICAgdXJsOiAkKG15ZGVmdG9rKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gJ2NvcHk6Ly8nICsgaW5wdXRcbiAgICAgICAgfSksXG4gICAgICAgIGNvbF90eXBlOiBcInRleHRfMVwiLFxuICAgICAgICBkZXNjOiBcIlwiLFxuICAgICAgICBwaWNfdXJsOiBcIlwiXG4gICAgfSk7XG59XG52YXIgZGVmdG9rID0gJyc7XG5pZiAoZmlsZUV4aXN0KFwiaGlrZXI6Ly9maWxlcy9ydWxlcy94eXEvYWxpdG9rZW4udHh0XCIpICYmIGdldE15VmFyKCdhbGl0b2tlbicsICcnKSA9PSAnJykge1xuICAgIGRlZnRvayA9IGZldGNoKFwiaGlrZXI6Ly9maWxlcy9ydWxlcy94eXEvYWxpdG9rZW4udHh0XCIsIHt9KTtcbiAgICBwdXRNeVZhcignYWxpdG9rZW4nLCBkZWZ0b2spO1xufVxubG9nKGRlZnRvayk7XG5kLnB1c2goe1xuICAgIHRpdGxlOiBnZXRNeVZhcignYWxpdG9rZW4nLCBkZWZ0b2spLFxuICAgIHVybDogXCJpbnB1dDovL1wiICsgXCIvLy8v6K+36L6T5YWl6Zi/6YeMdG9rZW7mlbDmja7jgIIuanM6cHV0TXlWYXIoJ2FsaXRva2VuJyxpbnB1dCk7cmVmcmVzaFBhZ2UoKVwiLFxuICAgIGNvbF90eXBlOiBcImljb25fMV9zZWFyY2hcIixcbiAgICBleHRyYToge1xuICAgICAgICB0aXRsZVZpc2libGU6IGZhbHNlXG4gICAgfVxufSk7XG5cbmQucHVzaCh7XG4gICAgdGl0bGU6ICfpqozor4EnLFxuICAgIHVybDogJCgnaGlrZXI6Ly9lbXB0eScpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgY2xlYXJNeVZhcigncmVzdWx0dG9rJyk7XG4gICAgICAgIHZhciByZWZ0b2tlbiA9IGdldE15VmFyKCdhbGl0b2tlbicsICcnKTtcbiAgICAgICAgaWYgKHJlZnRva2VuLnN0YXJ0c1dpdGgoJ2h0dHAnKSkge1xuICAgICAgICAgICAgcmVmdG9rZW4gPSBmZXRjaChyZWZ0b2tlbiwge1xuICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcbiAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnb2todHRwLzMuMTIuMTEnXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHJlZnRva2VuID09ICcnKSB7XG4gICAgICAgICAgICByZXR1cm4gJ3RvYXN0Oi8vdG9rZW7kuLrnqbrvvIEnO1xuICAgICAgICB9IGVsc2UgaWYgKHJlZnRva2VuLmxlbmd0aCAhPSAzMikge1xuICAgICAgICAgICAgcmV0dXJuICd0b2FzdDovL3Rva2Vu5LiN5q2j56Gu77yBJztcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHZhciByZWZyZXNoID0gZmV0Y2goJ2h0dHBzOi8vYXV0aC5hbGl5dW5kcml2ZS5jb20vdjIvYWNjb3VudC90b2tlbicsIHtcbiAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgICAgICdDb250ZW50LVR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogUENfVUEsXG4gICAgICAgICAgICAgICAgICAgICdSZWZlcmVyJzogJ2h0dHBzOi8vd3d3LmFsaXl1bmRyaXZlLmNvbS8nXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBib2R5OiAne1wicmVmcmVzaF90b2tlblwiOlwiJyArIHJlZnRva2VuICsgJ1wiLFwiZ3JhbnRfdHlwZVwiOlwicmVmcmVzaF90b2tlblwifScsXG4gICAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCdcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgcHV0TXlWYXIoJ3Jlc3VsdHRvaycsIHJlZnJlc2gpO1xuICAgICAgICAgICAgcHV0TXlWYXIoJ2FsaXRva2VuJywgSlNPTi5wYXJzZShyZWZyZXNoKS5yZWZyZXNoX3Rva2VuKTtcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcbiAgICAgICAgfVxuXG4gICAgfSksXG4gICAgY29sX3R5cGU6IFwidGV4dF8yXCIsXG4gICAgZGVzYzogXCJcIixcbiAgICBwaWNfdXJsOiBcIlwiXG59KTtcblxuaWYgKGdldE15VmFyKCdyZXN1bHR0b2snLCAnJykuaW5jbHVkZXMoJ1wicmVmcmVzaF90b2tlblwiJykpIHtcbiAgICBkLnB1c2goe1xuICAgICAgICB0aXRsZTogJ+WkjeWItuWujOaVtOe7k+aenCcsXG4gICAgICAgIHVybDogJCgnaGlrZXI6Ly9lbXB0eScpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgICAgIHJldHVybiAnY29weTovLycgKyBnZXRNeVZhcigncmVzdWx0dG9rJywgJycpXG4gICAgICAgIH0pLFxuICAgICAgICBjb2xfdHlwZTogXC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G59XG5kLnB1c2goe1xuICAgIHRpdGxlOiBnZXRNeVZhcigncmVzdWx0dG9rJywgJycpLFxuICAgIHVybDogJycsXG4gICAgY29sX3R5cGU6IFwibG9uZ190ZXh0XCIsXG4gICAgZGVzYzogXCJcIixcbiAgICBwaWNfdXJsOiBcIlwiXG59KTtcblxuc2V0SG9tZVJlc3VsdChkKTsiLCJzZWFyY2hfdXJsIjoiIiwiZ3JvdXAiOiLpppnpm4Xmg4UiLCJzZWFyY2hGaW5kIjoiIiwiZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiIiwidWEiOiJtb2JpbGUiLCJwcmVSdWxlIjoiIiwicGFnZXMiOiJbXSIsImljb24iOiIiLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment