Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@水果派@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5rC05p6c5rS+IiwiYXV0aG9yIjoiVHlyYW50R2VuZXNpcyIsInVybCI6Imhpa2VyOi8vZW1wdHkjI2h0dHBzOi8vYXBpLmYwM2Q5LmluZm8vbGlicmFyeT9saW1pdD0xMCZwYWdlPWZ5cGFnZSZwbGF0ZnJvbT0wIiwidmVyc2lvbiI6MSwiY29sX3R5cGUiOiJtb3ZpZV8xX2xlZnRfcGljIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudHJ5IHtcbiAgICB2YXIgZCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL2luZGV4MScpXG59IGNhdGNoIChlKSB7XG4gICAgLy8g5Li76aG1XG4gICAgLy92YXIgZCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL2luZGV4JylcbiAgICBzZXRJdGVtKCd1cGRhdGEnLCAnMScpO1xuICAgIHJlZnJlc2hQYWdlKClcbn1cbmlmICghZCkge1xuICAgIHNldEl0ZW0oJ2hvc3RfdXAnLCAnMScpXG4gICAgcmVmcmVzaFBhZ2UoKVxufVxuc2V0UmVzdWx0KGQpOyIsInNlYXJjaF91cmwiOiJoaWtlcjovL2VtcHR5P3dvcmQ9KiomcGFnZT1meXBhZ2UiLCJncm91cCI6Ik5TRlciLCJzZWFyY2hGaW5kIjoianM6XG52YXIgZCA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL1NlYXJjaCcpXG5cbnNldFJlc3VsdChkKTsiL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VJMLmluY2x1ZGVzKCdsaWJyYXJ5JykpIHtcXG4gICAgbGlzdC5mb3JFYWNoKGl0ZW0gPT4ge1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogaXRlbS50aXRsZSxcXG4gICAgICAgICAgICBkZXNjOiBpdGVtLnN1YnRpdGxlLFxcbiAgICAgICAgICAgIHBpY191cmw6IGNkbi5pbWFnZSArIGl0ZW0uaW1nX3VybCxcXG4gICAgICAgICAgICB1cmw6ICQoXFxcImh0dHBzOi8vd3d3LnNodWlndW9wYWkuY29tL3BsYXktZGV0YWlscy8xL1xcXCIgKyBpdGVtLmlkICsgXFxcIi9cXFwiKS5sYXp5UnVsZShfID0+IHtcXG4gICAgICAgICAgICAgICAgY29uc3QgaHRtbCA9IGZldGNoKGlucHV0KVxcbiAgICAgICAgICAgICAgICByZXR1cm4gKGh0bWwubWF0Y2goL3VybDpcXFwiKC4qPylpbmRleC5tM3U4XFxcIi8pWzFdKS5yZXBsYWNlKC9cXFxcXFxcXHUwMDJGL2csICcvJykgKyBcXFwiaW5kZXgubTN1OFxcXCJcXG4gICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ21vdmllXzInXFxuICAgICAgICB9KVxcbiAgICB9KVxcbn0gZWxzZSB7XFxuICAgIGxpc3QuZm9yRWFjaChpdGVtID0+IHtcXG4gICAgICAgIGl0ZW0uY2RuID0gY2RuXFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBpdGVtLm5hbWUsXFxuICAgICAgICAgICAgZGVzYzogaXRlbS5saWJyYXJ5X2NvdW50ICsgJ+mDqOS9nOWTgScsXFxuICAgICAgICAgICAgcGljX3VybDogY2RuLmltYWdlICsgaXRlbS5pbWcsXFxuICAgICAgICAgICAgdXJsOiAkKFxcXCJoaWtlcjovL2VtcHR5IyNmeXBhZ2VcXFwiKS5ydWxlKGl0ZW0gPT4ge1xcbiAgICAgICAgICAgICAgICBsZXQgZCA9IFtdO1xcbiAgICAgICAgICAgICAgICBjb25zdCBwYXJhbXMgPSB7XFxuICAgICAgICAgICAgICAgICAgICBcXFwiYW5jaG9yc19pZFxcXCI6IGl0ZW0uaWQsXFxuICAgICAgICAgICAgICAgICAgICBcXFwiaG1cXFwiOiBcXFwiMDA4LWFwaVxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwibGVuZ3RoXFxcIjogMTIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwicGFnZVxcXCI6IE1ZX1VSTC5zcGxpdCgnIyMnKVsxXSxcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICBjb25zdCBoZWFkZXJzID0ge1xcbiAgICAgICAgICAgICAgICAgICAgJ0NvbnRlbnQtVHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyxcXG4gICAgICAgICAgICAgICAgICAgICdSZWZlcmVyJzogJ2h0dHBzOi8vd3d3LnNodWlndW9wYWkuY29tLycsXFxuICAgICAgICAgICAgICAgICAgICAnVXNlci1BZ2VudCc6IE1PQklMRV9VQVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIGNvbnN0IGRhdGFfanNvbiA9IGZldGNoKFxcXCJodHRwczovL2FwaS5jYmJlZTAuY29tL3YxXzIvYW5jaG9yc0RldGFpbFxcXCIsIHtcXG4gICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IGhlYWRlcnMsXFxuICAgICAgICAgICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcXG4gICAgICAgICAgICAgICAgICAgIGJvZHk6IEpTT04uc3RyaW5naWZ5KHBhcmFtcylcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgbG9nKGRhdGFfanNvbilcXG4gICAgICAgICAgICAgICAgY29uc3QgbGlzdCA9IEpTT04ucGFyc2UoZGF0YV9qc29uKS5kYXRhLmxpc3RcXG4gICAgICAgICAgICAgICAgY29uc3QgY2RuID0gaXRlbS5jZG5cXG4gICAgICAgICAgICAgICAgbGlzdC5mb3JFYWNoKHJlcyA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiByZXMudGl0bGUsXFxuICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzogcmVzLnN1YnRpdGxlLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBpY191cmw6IHJlcy5pbWdfdXJsLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJChcXFwiaHR0cHM6Ly93d3cuc2h1aWd1b3BhaS5jb20vcGxheS1kZXRhaWxzLzEvXFxcIiArIHJlcy5saWJyYXJ5X2lkICsgXFxcIi9cXFwiKS5sYXp5UnVsZShfID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgaHRtbCA9IGZldGNoKGlucHV0KVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gKGh0bWwubWF0Y2goL3VybDpcXFwiKC4qPylpbmRleC5tM3U4XFxcIi8pWzFdKS5yZXBsYWNlKC9cXFxcXFxcXHUwMDJGL2csICcvJykgKyBcXFwiaW5kZXgubTN1OFxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ21vdmllXzInXFxuICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICBzZXRSZXN1bHQoZCk7XFxuICAgICAgICAgICAgfSwgaXRlbSksXFxuICAgICAgICAgICAgY29sX3R5cGU6ICdpY29uX3JvdW5kXzQnXFxuICAgICAgICB9KVxcbiAgICB9KVxcbn1cXG5cXG5cXG4kLmV4cG9ydHMgPSBkXCJ9LHtcImNvbF90eXBlXCI6XCJtb3ZpZV8zXCIsXCJuYW1lXCI6XCLor6bmg4XpobVcIixcInBhdGhcIjpcImluZGV4MlwiLFwicnVsZV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