Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@玩偶哥哥@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi546p5YG25ZOl5ZOlIiwiYXV0aG9yIjoi5a2j6aOOIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cud29nZy5uZXQvIiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbk1ZX1VSTCA9IE1ZX1VSTC5yZXBsYWNlKCdoaWtlcjovL2VtcHR5IyMnLCAnJyk7XG52YXIgaHRtbCA9IGZldGNoKE1ZX1VSTCk7XG5cbi8v6L2u5pKtXG52YXIgbHVuZGF0YSA9IHBkZmEoaHRtbCwgJy5zd2lwZXItd3JhcHBlciYmLnN3aXBlci1zbGlkZScpLm1hcCgoeCkgPT4ge1xuICAgIHJldHVybiB7XG4gICAgICAgIHRpdGxlOiBwZGZoKHgsJy5uYW1lJiZUZXh0JykrJ1xcbicrcGRmaCh4LCAnLmluZm8mJlRleHQnKSxcbiAgICAgICAgaW1nOiBwZGZoKHgsJ2EmJnN0eWxlJykgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgdXJsOiBwZCh4LCdhJiZocmVmJykrJyNpbW1lcnNpdmVUaGVtZSMjYXV0b0NhY2hlIycsXG4gICAgfVxufSk7XG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goXCJoaWtlcjovL3BhZ2UvbHVuYm9cIiwge30pKS5ydWxlKTtcbmJhbm5lcihNWV9SVUxFLnRpdGxlLCB0cnVlLCBkLCBsdW5kYXRhLCB7XG4gICAgICAgIHRpbWU6IDUwMDAsXG4gICAgICAgIGNvbF90eXBlOiAnY2FyZF9waWNfMScsXG4gICAgICAgIGRlc2M6ICcwJ1xuICAgIH0pXG5kLnB1c2goe1xuICAgICAgICB0aXRsZTogJ/CflI0nLFxuICAgICAgICB1cmw6ICQudG9TdHJpbmcoKHIpID0+IHtcbiAgICAgICAgICAgIHB1dFZhcigna2V5d29yZCcsIGlucHV0KTtcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9zZWFyY2g/cnVsZT0nICsgciArICcmcz0nICsgaW5wdXQ7XG4gICAgICAgIH0sIE1ZX1JVTEUudGl0bGUpLFxuICAgICAgICBkZXNjOiAn5pCc57Si55S15b2x44CB55S16KeG5Ymn44CB57u86Im644CB5Yqo5ryrJyxcbiAgICAgICAgY29sX3R5cGU6ICdpbnB1dCcsXG4gICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICBkZWZhdWx0VmFsdWU6IGdldFZhcigna2V5d29yZCcsICcnKSB8fCAnJyxcbiAgICAgICAgfVxuICAgIH0pO1xuXG52YXIgSWNvbiA9ICdodHRwczovL2hpa2VyZmFucy5jb20vdHViaWFvL2tlLyc7XG52YXIgTGFiZWxfc2V0X2ljb24gPSBbJzIucG5nJywgJzgyLnBuZycsICc4MS5wbmcnLCAnMzUucG5nJywgJzEwNi5wbmcnLCAnMTE5LnBuZycsICcxMDEucG5nJ107XG52YXIgVVJMID0naGlrZXI6Ly9wYWdlL2NhdGVnb3J5P3BhZ2U9ZnlwYWdlI25vUmVjb3JkSGlzdG9yeSMjbm9IaXN0b3J5IydcblxuLy/mjqjojZDliJfooahcblxuXG52YXIgTGFiZWxfc2V0ID0gcGRmYShodG1sLCdib2R5JiYubW9kdWxlJyk7XHJcbiAgICAgICAgTGFiZWxfc2V0LmZvckVhY2goKGRhdGEsaWQpID0+IHtcclxuICAgICAgICAgICAgZC5wdXNoKHtcclxuICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGRhdGEsICcubW9kdWxlLXRpdGxlJiZUZXh0JyksXG4gICAgICAgICAgICAgICAgZGVzYzpwZGZoKGRhdGEsICcubW9kdWxlLXRhYi1uYW1lfHwubW9yZSYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIHBpY191cmw6IEljb24gKyBMYWJlbF9zZXRfaWNvbltpZF0sXG4gICAgICAgICAgICAgICAgdXJsOiBVUkwsXHJcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogXCJhdmF0YXJcIixcbmV4dHJhOntpZDppZFxufVxyXG4gICAgICAgICAgICB9KTtcbnZhciBpdGVtID0gcGRmYShkYXRhLCAnYm9keSYmLm1vZHVsZS1pdGVtLDA6OScpO1xyXG4gICAgICAgICAgICBpdGVtLmZvckVhY2goKGl0ZW0pID0+IHtcbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBwZGZoKGl0ZW0sICdpbWcmJmFsdCcpLFxuICAgICAgICAgIGRlc2M6IHBkZmgoaXRlbSwgJy5tb2R1bGUtaXRlbS10ZXh0JiZUZXh0JykucmVwbGFjZSgn5pu05paw6IezJywnJyksXG4gICAgICAgIGltZzogcGQoaXRlbSwgJy5sYXp5JiZkYXRhLXNyYycpLFxuICAgICAgICB1cmw6IHBkKGl0ZW0sICdhJiZocmVmJykrJyNpbW1lcnNpdmVUaGVtZSMnLFxuICAgICAgICBjb2xfdHlwZTogJ21vdmllXzNfbWFycXVlZScsXG4gICAgfSk7XHJcbiAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgIH0pXG5cbnNldFJlc3VsdChkKTsiLCJzZWFyY2hfdXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cud29nZy5uZXQvaW5kZXgucGhwL3ZvZHNlYXJjaC8qKi0tLS0tLS0tLS1meXBhZ2UtLS0uaHRtbCIsImdyb3VwIjoiI++4j+KDo+KRoeS6keebmCsiLCJzZW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JztcXG4gICAgaWYgKGNmZyAhPSB1bmRlZmluZWQpIHtcXG4gICAgICAgIHRpbWUgPSBjZmcudGltZSA/IGNmZy50aW1lIDogdGltZTtcXG4gICAgICAgIGNvbF90eXBlID0gY2ZnLmNvbF90eXBlID8gY2ZnLmNvbF90eXBlIDogY29sX3R5cGU7XFxuICAgICAgICBkZXNjID0gY2ZnLmRlc2MgPyBjZmcuZGVzYyA6IGRlc2M7XFxuICAgIH1cXG5cXG4gICAgYXJyLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6IGNvbF90eXBlLFxcbiAgICAgICAgaW1nOiBpdGVtLmltZyxcXG4gICAgICAgIGRlc2M6IGRlc2MsXFxuICAgICAgICB0aXRsZTogaXRlbS50aXRsZSxcXG4gICAgICAgIHVybDogaXRlbS51cmwsXFxuICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgIGlkOiBpZCsnYmFyJyxcXG4gICAgICAgIH1cXG4gICAgfSlcXG5cXG4gICAgaWYgKHN0YXJ0ID09IGZhbHNlIHx8IGdldE15VmFyKCdiZW5zdGFydCcsICd0cnVlJykgPT0gJ2ZhbHNlJykge1xcbiAgICAgICAgdW5SZWdpc3RlclRhc2soaWQpXFxuICAgICAgICByZXR1cm5cXG4gICAgfVxcbiAgICBcXG4gICAgLy9sb2coZGF0YSlcXG5cXG4gICAgbGV0IG9iaiA9IHtcXG4gICAgICAgIGRhdGE6IGRhdGEsXFxuICAgIH07XFxuXFxuICAgIHJlZ2lzdGVyVGFzayhpZCwgdGltZSwgJC50b1N0cmluZygob2JqLGlkKSA9PiB7XFxuICAgICAgICB2YXIgZGF0YSA9IG9iai5kYXRhO1xcbiAgICAgICAgdmFyIHJ1bSA9IGdldE15VmFyKCdybnVtJyk7XFxuXFxuICAgICAgICB2YXIgaSA9IE51bWJlcihnZXRNeVZhcignYmFubmVyaScsICcwJykpO1xcbiAgICAgICAgaWYgKHJ1bSAhPSAnJykge1xcbiAgICAgICAgICAgIGkgPSBOdW1iZXIocnVtKSArIDFcXG4gICAgICAgICAgICBjbGVhck15VmFyKCdybnVtJylcXG4gICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgaSA9IGkgKyAxO1xcbiAgICAgICAgfVxcbiAgICAgICAgLy9sb2coaSlcXG4gICAgICAgIC8vbG9nKGRhdGEubGVuZ3RoKVxcblxcbiAgICAgICAgaWYgKGkgPiBkYXRhLmxlbmd0aCAtIDEpIHtcXG4gICAgICAgICAgICBpID0gMFxcbiAgICAgICAgfVxcbiAgICAgICAgdmFyIGl0ZW0gPSBkYXRhW2ldO1xcbiAgICAgICAgLy9sb2coaXRlbSlcXG4gICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgdXBkYXRlSXRlbShpZCsnYmFyJywge1xcbiAgICAgICAgICAgICAgICB0aXRsZTogaXRlbS50aXRsZSxcXG4gICAgICAgICAgICAgICAgaW1nOiBpdGVtLmltZyxcXG4gICAgICAgICAgICAgICAgdXJsOiBpdGVtLnVybCxcXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgIC8vbmFtZTogaXRlbS50aXRsZS5yZXBsYWNlKC88W14+XSs+L2csICcnKSxcXG4gICAgICAgICAgICAgICAgICAgIC8vc25hbWU6IGl0ZW0uZXh0cmEuc25hbWUsXFxuICAgICAgICAgICAgICAgICAgICAvL3N0eXBlOiBpdGVtLmV4dHJhLnN0eXBlLFxcbiAgICAgICAgICAgICAgICAgICAgLy9zdXJsOiBpdGVtLnVybCxcXG4gICAgICAgICAgICAgICAgICAgIC8vaW1nOml0ZW0uaW1nLFxcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGl0ZW0udGl0bGUucmVwbGFjZSgvPFtePl0rPi9nLCAnJyksXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfSBjYXRjaCAoZSkge1xcbiAgICAgICAgICAgIGxvZyhlLm1lc3NhZ2UpXFxuICAgICAgICAgICAgdW5SZWdp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