Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@玩偶哥哥@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi546p5YG25ZOl5ZOlIiwiYXV0aG9yIjoi5a2j6aOOIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cud29nZy5uZXQvIiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbk1ZX1VSTCA9IE1ZX1VSTC5yZXBsYWNlKCdoaWtlcjovL2VtcHR5IyMnLCAnJyk7XG52YXIgaHRtbCA9IGZldGNoKE1ZX1VSTCk7XG5cbi8v6L2u5pKtXG52YXIgbHVuZGF0YSA9IHBkZmEoaHRtbCwgJy5zd2lwZXItd3JhcHBlciYmLnN3aXBlci1zbGlkZScpLm1hcCgoeCkgPT4ge1xuICAgIHJldHVybiB7XG4gICAgICAgIHRpdGxlOiBwZGZoKHgsJy5uYW1lJiZUZXh0JykrJ1xcbicrcGRmaCh4LCAnLmluZm8mJlRleHQnKSxcbiAgICAgICAgaW1nOiBwZGZoKHgsJ2EmJnN0eWxlJykgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgdXJsOiBwZCh4LCdhJiZocmVmJykrJyNpbW1lcnNpdmVUaGVtZSMjYXV0b0NhY2hlIycsXG4gICAgfVxufSk7XG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goXCJoaWtlcjovL3BhZ2UvbHVuYm9cIiwge30pKS5ydWxlKTtcbmJhbm5lcihNWV9SVUxFLnRpdGxlLCB0cnVlLCBkLCBsdW5kYXRhLCB7XG4gICAgICAgIHRpbWU6IDUwMDAsXG4gICAgICAgIGNvbF90eXBlOiAnY2FyZF9waWNfMScsXG4gICAgICAgIGRlc2M6ICcwJ1xuICAgIH0pXG5kLnB1c2goe1xuICAgICAgICB0aXRsZTogJ/CflI0nLFxuICAgICAgICB1cmw6ICQudG9TdHJpbmcoKHIpID0+IHtcbiAgICAgICAgICAgIHB1dFZhcigna2V5d29yZCcsIGlucHV0KTtcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9zZWFyY2g/cnVsZT0nICsgciArICcmcz0nICsgaW5wdXQ7XG4gICAgICAgIH0sIE1ZX1JVTEUudGl0bGUpLFxuICAgICAgICBkZXNjOiAn5pCc57Si55S15b2x44CB55S16KeG5Ymn44CB57u86Im644CB5Yqo5ryrJyxcbiAgICAgICAgY29sX3R5cGU6ICdpbnB1dCcsXG4gICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICBkZWZhdWx0VmFsdWU6IGdldFZhcigna2V5d29yZCcsICcnKSB8fCAnJyxcbiAgICAgICAgfVxuICAgIH0pO1xuXG52YXIgSWNvbiA9ICdodHRwczovL2hpa2VyZmFucy5jb20vdHViaWFvL2tlLyc7XG52YXIgTGFiZWxfc2V0X2ljb24gPSBbJzIucG5nJywgJzgyLnBuZycsICc4MS5wbmcnLCAnMzUucG5nJywgJzEwNi5wbmcnLCAnMTE5LnBuZycsICcxMDEucG5nJ107XG52YXIgVVJMID0naGlrZXI6Ly9wYWdlL2NhdGVnb3J5P3BhZ2U9ZnlwYWdlI25vUmVjb3JkSGlzdG9yeSMjbm9IaXN0b3J5IydcblxuLy/mjqjojZDliJfooahcblxuXG52YXIgTGFiZWxfc2V0ID0gcGRmYShodG1sLCdib2R5JiYubW9kdWxlJyk7XHJcbiAgICAgICAgTGFiZWxfc2V0LmZvckVhY2goKGRhdGEsaWQpID0+IHtcclxuICAgICAgICAgICAgZC5wdXNoKHtcclxuICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGRhdGEsICcubW9kdWxlLXRpdGxlJiZUZXh0JyksXG4gICAgICAgICAgICAgICAgZGVzYzpwZGZoKGRhdGEsICcubW9kdWxlLXRhYi1uYW1lfHwubW9yZSYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIHBpY191cmw6IEljb24gKyBMYWJlbF9zZXRfaWNvbltpZF0sXG4gICAgICAgICAgICAgICAgdXJsOiBVUkwsXHJcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogXCJhdmF0YXJcIixcbmV4dHJhOntpZDppZFxufVxyXG4gICAgICAgICAgICB9KTtcbnZhciBpdGVtID0gcGRmYShkYXRhLCAnYm9keSYmLm1vZHVsZS1pdGVtLDA6OScpO1xyXG4gICAgICAgICAgICBpdGVtLmZvckVhY2goKGl0ZW0pID0+IHtcbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBwZGZoKGl0ZW0sICdpbWcmJmFsdCcpLFxuICAgICAgICAgIGRlc2M6IHBkZmgoaXRlbSwgJy5tb2R1bGUtaXRlbS10ZXh0JiZUZXh0JykucmVwbGFjZSgn5pu05paw6IezJywnJyksXG4gICAgICAgIGltZzogcGQoaXRlbSwgJy5sYXp5JiZkYXRhLXNyYycpLFxuICAgICAgICB1cmw6IHBkKGl0ZW0sICdhJiZocmVmJykrJyNpbW1lcnNpdmVUaGVtZSMnLFxuICAgICAgICBjb2xfdHlwZTogJ21vdmllXzNfbWFycXVlZScsXG4gICAgfSk7XHJcbiAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgIH0pXG5cbnNldFJlc3VsdChkKTsiLCJzZWFyY2hfdXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cud29nZy5uZXQvaW5kZXgucGhwL3ZvZHNlYXJjaC8qKi0tLS0tLS0tLS1meXBhZ2UtLS0uaHRtbCIsImdyb3VwIjoiMemVv+eUqOW9seinhiIsInNlYXJjaEZ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ocnVtICE9ICcnKSB7XFxuICAgICAgICAgICAgaSA9IE51bWJlcihydW0pICsgMVxcbiAgICAgICAgICAgIGNsZWFyTXlWYXIoJ3JudW0nKVxcbiAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICBpID0gaSArIDE7XFxuICAgICAgICB9XFxuICAgICAgICAvL2xvZyhpKVxcbiAgICAgICAgLy9sb2coZGF0YS5sZW5ndGgpXFxuXFxuICAgICAgICBpZiAoaSA+IGRhdGEubGVuZ3RoIC0gMSkge1xcbiAgICAgICAgICAgIGkgPSAwXFxuICAgICAgICB9XFxuICAgICAgICB2YXIgaXRlbSA9IGRhdGFbaV07XFxuICAgICAgICAvL2xvZyhpdGVtKVxcbiAgICAgICAgdHJ5IHtcXG4gICAgICAgICAgICB1cGRhdGVJdGVtKGlkKydiYXInLCB7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiBpdGVtLnRpdGxlLFxcbiAgICAgICAgICAgICAgICBpbWc6IGl0ZW0uaW1nLFxcbiAgICAgICAgICAgICAgICB1cmw6IGl0ZW0udXJsLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgLy9uYW1lOiBpdGVtLnRpdGxlLnJlcGxhY2UoLzxbXj5dKz4vZywgJycpLFxcbiAgICAgICAgICAgICAgICAgICAgLy9zbmFtZTogaXRlbS5leHRyYS5zbmFtZSxcXG4gICAgICAgICAgICAgICAgICAgIC8vc3R5cGU6IGl0ZW0uZXh0cmEuc3R5cGUsXFxuICAgICAgICAgICAgICAgICAgICAvL3N1cmw6IGl0ZW0udXJsLFxcbiAgICAgICAgICAgICAgICAgICAgLy9pbWc6aXRlbS5pbWcsXFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogaXRlbS50aXRsZS5yZXBsYWNlKC88W14+XSs+L2csICcnKSxcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0pXFxuICAgICAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICAgIC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i1pY29ucy1wbmcuZmxhdGljb24uY29tLzEyOC84OTIvODkyMzAwLnBuZydcXG59XVxcblxcblxcbkVyamkuc2V0RGVzYyhwZGZoKGh0bWwsICcuc3Fqal9hJiZUZXh0JykucmVwbGFjZSgnW+aUtui1t+mDqOWIhl0nLCcnKSk7XFxuRXJqaS5nZXRQbGF5ZXJzKHBsYXlsaXN0KTtcXG5FcmppLuWjsOaYjigpO1xcblxcblxcbnNldFJlc3VsdChkKTtcIn1dIiwiaWNvbiI6IiIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment