Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@晒图@eyJ0aXRsZSI6IuaZkuWbviIsInR5cGUiOiJwaWN0dXJlIiwiYXV0aG9yIjoiQWxhbiIsInZlcnNpb24iOjEsImdyb3VwIjoiIiwiaWNvbiI6IiIsInVhIjoibW9iaWxlIiwicHJveHkiOiIiLCJwcmVSdWxlIjoiIiwibGFzdF9jaGFwdGVyX3J1bGUiOiIiLCJ1cmwiOiJoaWtlcjovL2VtcHR5I2Z5cGFnZSIsImNsYXNzX25hbWUiOiIiLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInllYXJfbmFtZSI6IiIsInllYXJfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJmaW5kX3J1bGUiOiJqczogJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvZnVuYycpLmJhc2VQYXJzZSgpIiwiZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZWFyY2hfdXJsIjoiaGlrZXI6Ly9lbXB0eSNmeXBhZ2UiLCJzZWFyY2hGaW5kIjoianM6ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL2Z1bmMnKS5zZWFyY2hQYXJzZSgpIiwic2RldGFpbF9jb2xfdHlwZSI6Im1vdmllXzEiLCJzZGV0YWlsX2ZpbmRfcnVsZSI6IiIsInBhZ2VMaXN0IjpbeyJjb2xfdHlwZSI6Im1vdmllXzMiLCJuYW1lIjoi5Ye95pWwIiwicGF0aCI6ImZ1bmMiLCJydWxlIjoiY29uc3QgbWlzcyA9IHtcclxuICBkOiBbXSxcclxuICB0YXNrTGlzdDogW10sXHJcbiAgZW1wdHk6ICdoaWtlcjovL2VtcHR5JyxcclxuICB1cmw6ICdodHRwczovL2RwaWMuZXUub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AgcHV0TXlWYXIoXCJDYXRzLmlkeFwiLCBpbmRleC50b1N0cmluZygpKVxyXG4gICAgICAgICAgICBwdXRNeVZhcihcIlNvcnQuaWR4XCIsICcwJylcclxuICAgICAgICAgICAgcmVmcmVzaFBhZ2UodHJ1ZSlcclxuICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5J1xyXG4gICAgICAgICAgfSwgaW5kZXgpLFxyXG4gICAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJyxcclxuICAgICAgICB9KSBcclxuICAgICAgfSlcclxuIFxyXG4gICAgICBtaXNzLmQucHVzaCh7XHJcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXHJcbiAgICAgIH0pXHJcbiAgICAgIHNvcnRMaXN0LmZvckVhY2goKGNhdGUsIGluZGV4KSA9PiB7XHJcbiAgICAgICAgbWlzcy5kLnB1c2goe1xyXG4gICAgICAgICAgdGl0bGU6IHBhcnNlSW50KG1pc3MubWVudS5zb3J0KSA9PT0gaW5kZXggPyAn4oCY4oCY4oCZ4oCZPGZvbnQgY29sb3I9XCIjM0RDMjgzXCI+JytjYXRlWzBdKyc8L2ZvbnQ+JyA6IGNhdGVbMF0sXHJcbiAgICAgICAgICB1cmw6ICQobWlzcy5lbXB0eSkubGF6eVJ1bGUoKGluZGV4KSA9PiB7XHJcbiAgICAgICAgICAgIHB1dE15VmFyKFwiU29ydC5pZHhcIiwgaW5kZXgudG9TdHJpbmcoKSlcclxuICAgICAgICAgICAgcmVmcmVzaFBhZ2UodHJ1ZSlcclxuICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5J1xyXG4gICAgICAgICAgfSwgaW5kZXgpLFxyXG4gICAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbicsXHJcbiAgICAgICAgfSlcclxuICAgICAgfSlcclxuICBcclxuICAgIH1cclxuXHJcbiAgICBjb25zdCBodG1sID0gZmV0Y2godXJsLCB7aGVhZGVyczp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VbMF0sXFxyXFxuICAgICAgICAgIHVybDogJChtaXNzLmVtcHR5KS5sYXp5UnVsZSgoaW5kZXgpID0+IHtcXHJcXG4gICAgICAgICAgICBwdXRNeVZhcihcXFwiQ2F0cy5pZHhcXFwiLCBpbmRleC50b1N0cmluZygpKVxcclxcbiAgICAgICAgICAgIHB1dE15VmFyKFxcXCJTb3J0LmlkeFxcXCIsICcwJylcXHJcXG4gICAgICAgICAgICByZWZyZXNoUGFnZSh0cnVlKVxcclxcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcXHJcXG4gICAgICAgICAgfSwgaW5kZXgpLFxcclxcbiAgICAgICAgICBjb2xfdHlwZTogJ3Njcm9sbF9idXR0b24nLFxcclxcbiAgICAgICAgfSkgXFxyXFxuICAgICAgfSlcXHJcXG4gXFxyXFxuICAgICAgbWlzcy5kLnB1c2goe1xcclxcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxyXFxuICAgICAgfSlcXHJcXG4gICAgICBzb3J0TGlzdC5mb3JFYWNoKChjYXRlLCBpbmRleCkgPT4ge1xcclxcbiAgICAgICAgbWlzcy5kLnB1c2goe1xcclxcbiAgICAgICAgICB0aXRsZTogcGFyc2VJbnQobWlzcy5tZW51LnNvcnQpID09PSBpbmRleCA/ICfigJjigJjigJnigJk8Zm9udCBjb2xvcj1cXFwiIzNEQzI4M1xcXCI+JytjYXRlWzBdKyc8L2ZvbnQ+JyA6IGNhdGVbMF0sXFxyXFxuICAgICAgICAgIHVybDogJChtaXNzLmVtcHR5KS5sYXp5UnVsZSgoaW5kZXgpID0+IHtcXHJcXG4gICAgICAgICAgICBwdXRNeVZhcihcXFwiU29ydC5pZHhcXFwiLCBpbmRleC50b1N0cmluZygpKVxcclxcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKHRydWUpXFxyXFxuICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5J1xcclxcbiAgICAgICAgICB9LCBpbmRleCks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FxuICBkZXNjUGFyc2U6ICh1cmwpID0+IHtcXHJcXG4gICAgY29uc3QgaHRtbCA9IHJlcXVlc3QodXJsKVxcclxcbiAgICBjb25zdCBpbWFnZXMgPSBKU09OLnBhcnNlKGh0bWwpXFxyXFxuICAgIHJldHVybiAncGljczovLycgKyBpbWFnZXMuam9pbignJiYnKVxcclxcbiAgfSxcXHJcXG4gIGNhY2hlTWVudTogKCkgPT4ge1xcclxcbiAgICBsaW5rID0gbWlzcy51cmwgKyAnbWVudSdcXHJcXG4gICAgbmFtZSA9IE1ZX1JVTEUudGl0bGUgKyAnLmpzb24nXFxyXFxuICAgIGZpbGUgPSAnaGlrZXI6Ly9maWxlcy8nICsgbmFtZVxcclxcbiAgICBpZiAoIWZpbGVFeGlzdChmaWxlKSl7XFxyXFxuICAgICAgcmVzcCA9IGZldGNoKGxpbmspXFxyXFxuICAgICAgaWYocmVzcC5sZW5ndGg+MCl7XFxyXFxuICAgICAgICB3cml0ZUZpbGUoZmlsZSwgcmVzcClcXHJcXG4gICAgICB9ZWxzZXtcXHJcXG4gICAgICAgIGxvZygn5pyq6K+35rGC5Yiw6I+c5Y2VJylcXHJcXG4gICAgICB9XFxyXFxuICAgIH1lbHNle1xcclxcbiAgICAgIHJlc3AgPSByZWFkRmlsZShmaWxlKVxcclxcbiAgICB9XFxyXFxuICAgIHJldHVybiByZXNwXFxyXFxuICB9LFxcclxcbn1cXHJcXG5cXHJcXG4kLmV4cG9ydHMgPSBtaXNzXCJ9XSJ9
Add Comment
Please, Sign In to add comment