Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@蘑菇视频@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6JiR6I+H6KeG6aKRIiwiYXV0aG9yIjoiUiZMb3lEZ0lrIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly9tb2d1My5tZ3NwLmFzaWEvbW9ndS9kaXpoaS5odG1sIyNmeXBhZ2UiLCJ2ZXJzaW9uIjoyMDIzMTIyMiwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxuIHJjKCdodHRwczovL2docHJveHkubmV0L2h0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taXN0eXdhdGVyL2hpa2VyL21haW4vZicsIDI0KTtcbiAgICAgICAgdmFyIGQgPSBbXTtcbiAgICAgICAgdmFyIGhvc3QgPSBjb25maWcuaG9zdDtcbiAgICAgICAgY29uc3QgcGFnZSA9IE1ZX1BBR0U7XG4gICAgICAgIHZhciBkYXRhID0gW3tcbiAgICAgICAgICAgIHRpdGxlOiAn5a6Y5pa55o6o6I2QJuWFqOmDqCbng63ngrnpu5Hmlpkm5Zu95LqnJuaOouiKsee6pueCribnlKjmiLfoh6rmi40m5aSW5rWB5YG35ouNJuebtOaSreW9leaSrSbnvZHnuqLnpo/liKnlp6wnLFxuICAgICAgICAgICAgaWQ6ICflrpjmlrnmjqjojZAmJjQyJjEyLDExLDE4LDEzLDE5JjEyJjExJjE4JjEzJjE5J1xuICAgICAgICB9LCB7XG4gICAgICAgICAgICB0aXR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VybCArIFwiLm0zdThcIlxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMicsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSlcblxuICAgIH1lbHNle1xuICAgICAgICBNWV9VUkwgPSBob3N0ICsgXCIvYXBpL3Zsb2cvbGlzdD9wYWdlPVwiK3BhZ2UrXCImbGltaXQ9MTJcIjtcblxuICAgICAgICBsb2coTVlfVVJMKTtcbiAgICAgICAgaHRtbCA9IGZldGNoUEMoTVlfVVJMLCB7XG4gICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnTW96aWxsYS81LjAnXG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHZhciBsaXN0PUpTT04ucGFyc2UoaHRtbCkuZGF0YS5saXN0XG4gICAgICAgIGxpc3QuZm9yRWFjaCgobGlzdCkgPT4ge1xuXG52YXIgaW1nID0gbGlzdC5jb3ZlcjtcbmxldCBpbWFnZSA9ICQoKS5pbWFnZSgoaW1nKSA9PiAkLnJlcXVpcmUoXCJhZXM/cnVsZT1cIiArIE1ZX1RJVExFKS5pbWFnZUFlczEoaW5wdXQsIGltZyksIGltZyk7XG4gICAgICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBsaXN0LnRpdGxlLFxuICAgICAgICAgICAgICAgIGRlc2M6IGxpc3QuZmF2b3JpdGVzLFxuICAgICAgICAgICAgICAgIGltZzogaW1nICsgaW1hZ2UsXG4gICAgICAgICAgICAgICAgdXJsOiBsaXN0LnBsYXlfdXJsLFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMycsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbn0gICAgXG4gc2V0UmVzdWx0KGQpIiwic2VhcmNoX3VybCI6Imhpa2VyOi8vZW1wdHkjIy9hcGkvdm9kL2NsZXZlcj93ZD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XRsZTogbGlzdC50aXRsZSxcbiAgICAgICAgICAgICAgICBkZXNjOiB0aW1lLFxuICAgICAgICAgICAgICAgIGltZzogaW1nICsgaW1hZ2UsXG4gICAgICAgICAgICAgICAgdXJsOiBob3N0ICsgXCIvYXBpL3ZvZC9pbmZvP2lkPVwiICsgbGlzdC5pZCArICQoJycpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdmFyIGh0bWwgPSBKU09OLnBhcnNlKHJlcXVlc3QoaW5wdXQpKS5kYXRhO1xuICAgICAgICAgICAgICAgICAgICB2YXIgdXJsID0gaHRtbC5wbGF5X3VybDtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybCArIFwiLm0zdThcIlxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMicsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgXG5zZXRSZXN1bHQoZCkiLCJkZXRhaWxfY29sX3R5cGUiOiJtb3ZpZV8xIiwiZGV0YWlsX2ZpbmRfcnVsZSI6IiIsInNkZXRhaWxfY29sX3R5cGUiOiJtb3ZpZV8xIiwic2RldGFpbF9maW5kX3J1bGUiOiIiLCJ1YSI6Im1vYmlsZSIsInByZVJ1bGUiOiIvL+awuOS5heWcsOWdgCAgICAgICAgbW9ndS5sYVxuLypcbmxldCB0aW1lID0gbmV3IERhdGUoKS5nZXREYXRlKCkudG9TdHJpbmcoKTtcblxuaWYgKGdldEl0ZW0oJ3RpbWUnLCBuZXcgRGF0ZSgpLmdldERhdGUoKS50b1N0cmluZygpKSAhPSB0aW1lIHx8ICFnZXRJdGVtKCdsaW5rJywgJycpLmluY2x1ZGVzKCdodHRwJykpIHtcblxuICAgIGxldCBmYWJ1ID0gXCJodHRwczovL21vZ3UubGFcIlxuICAgIGxldCB0ZW1wID0gZmV0Y2goZmFidSkubWF0Y2goL1wiKGh0dHAuKj8pXCIvKVsxXVxuICAg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