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