Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@收藏@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5pS26JePIiwiYXV0aG9yIjoieHhzIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSIsInZlcnNpb24iOjEsImNvbF90eXBlIjoibW92aWVfMV92ZXJ0aWNhbF9waWMiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6Im90aGVyIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIGV4Y2x1ZGVTcGVjaWFsID0gZnVuY3Rpb24ocykge1xuICAgIC8vIOWOu+aOiei9rOS5ieWtl+espiBcbiAgICBzID0gcy5yZXBsYWNlKC9bXFxuXFwnXFxcIlxcXFxcXC9cXGJcXGZcXHJcXHRdL2csICcnKTtcbiAgICAvLyDljrvmjonnibnmrorlrZfnrKYgcyA9IHMucmVwbGFjZSAoL1tcXEBcXCNcXCRcXCVcXF5cXCZcXCpcXHtcXH1cXDpcXFwiXFxMXFw8XFw+XFw/IF0vKTtcbiAgICByZXR1cm4gcztcbn1cbnZhciBkZWZhdWx0VGl0bGUgPSBnZXRNeVZhcignZGVmYXVsdFRpdGxlJywgJ+WFqOmDqCcpO1xudmFyIGRlZmF1bHRHcm91cCA9IGdldE15VmFyKCdkZWZhdWx0R3JvdXAnLCAn5YWo6YOoJyk7XG52YXIgZGVmYXVsdEZsYWcgPSAwO1xudmFyIHRpdGxlQnV0dG9ucyA9IFsn5YWo6YOoJ107XG52YXIgZ3JvdXBCdXR0b25zID0gWyflhajpg6gnXTtcbmlmKCFnZXRNeVZhcigncmVmcmVzaF9kZWZhdWx0Qn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b25zLCBkZWZhdWx0VGl0bGUpID0+IHtcbiAgICAgICAgdmFyIHRmID0gXCJkZWZhdWx0QnV0dG9uXCI7XG4gICAgICAgIHZhciBsYXp5RmxhZyA9IGdldE15VmFyKCdyZWZyZXNoXycgKyB0Zik7XG4gICAgICAgIGlmIChsYXp5RmxhZyA9PSBcIlwiKVxuICAgICAgICAgICAgcHV0TXlWYXIoJ3JlZnJlc2hfJyArIHRmLCAxKTtcbiAgICAgICAgZWxzZVxuICAgICAgICAgICAgcHV0TXlWYXIoJ3JlZnJlc2hfJyArIHRmLCBcIlwiKTtcbiAgICAgICAgaWYgKGxhenlGbGFnID09IFwiXCIpIHtcblx0XHQgIHVwZGF0ZUl0ZW0odGYsIHt0aXRsZTon5YiH5o2i5YiG57uE4pmAJyB9KTtcbiAgICAgICAgICAgIHRpdGxlQnV0dG9ucy5mb3JFYWNoKChpdGVtLCBpbmRleCkgPT4ge1xuICAgICAgICAgICAgICAgIGFkZEl0ZW1BZnRlcih0Ziwge1xuICAgICAgICAgICAgICAgICAgICB0aXRsZTogKGRlZmF1bHRUaXRsZSA9PSBpdGVtID8gJ+KAnOKAnOKAneKAnTxmb250IGNvbG9yPVwiODg4ODg4XCI+JyArIGl0ZW0gKyAnPC9mb250PicgOiBpdGVtKSxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKGl0ZW0pLmxhenlSdWxlKChwYXJhbXMpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCdkZWZhdWx0VGl0bGUnLCBpbnB1dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSh0cnVlKVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9lbXB0eVwiXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzaWZ5X3RlbXA6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgICAgaW5kZXg6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgICAga2V5OiAnJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhZ2U6ICcnLFxuICAgICAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbicsXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsaW5lVmlzaWJsZTogZmFsc2UsXG4gICAgICAgICAgICAgICAgICAgICAgICBpZDogdGYgKyAndGl0bGVfaXRlbSdcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgfSBlbHNlIHtcblx0XHQgIHVwZGF0ZUl0ZW0odGYsIHt0aXRsZTon5YiH5o2i5YiG57uE4pmCJyB9KTtcbiAgICAgICAgICAgIGRlbGV0ZUl0ZW0odGYgKyAndGl0bGVfaXRlbScpO1xuXG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGxhenlGbGFnID09IFwiXCIgPyBcInRvYXN0Oi8v5bey5bGV5byA77yBXCIgOiBcInRvYXN0Oi8v5bey5YWz6Zet77yBXCI7XG4gICAgfSwgZ3JvdXBCdXR0b25zLCB0aXRsZUJ1dHRvbnMsIGRlZmF1bHRUaXRsZSksXG5cbn0pXG50aXRsZUJ1dHRvbnMucmV2ZXJzZSgpXG5pZihnZXRNeVZhcigncmVmcmVzaF9kZWZhdWx0QnV0dG9uJyk9PTEpe1xuIHRpdGxlQnV0dG9ucy5mb3JFYWNoKChpdGVtLCBpbmRleCkgPT4ge1xuICAgICAgICAgICAgICAgIGQucHVzaCgge1xuICAgICAgICAgICAgICAgICAgICB0aXRsZTogKGRlZmF1bHRUaXRsZSA9PSBpdGVtID8gJ+KAnOKAnOKAneKAnTxmb250IGNvbG9yPVwiODg4ODg4XCI+JyArIGl0ZW0gKyAnPC9mb250PicgOiBpdGVtKSxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKGl0ZW0pLmxhenlSdWxlKChwYXJhbXMpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCdkZWZhdWx0VGl0bGUnLCBpbnB1dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSh0cnVlKVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9lbXB0eVwiXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzaWZ5X3RlbXA6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgICAgaW5kZXg6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgICAga2V5OiAnJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhZ2U6ICcnLFxuICAgICAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbicsXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsaW5lVmlzaWJsZTogZmFsc2UsXG4gICAgICAgICAgICAgICAgICAgICAgICBpZDogJ2RlZmF1bHRCdXR0b250aXRsZV9pdGVtJ1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KVxufVxuY29sbGVjdGlvbi5mb3JFYWNoKGl0ZW0gPT4ge1xuICAgIC8vc2F2ZUZpbGUoJ2hpa2VyOi8vZmlsZXMv5pS26JePLnR4dCcsaXRlbSk7XG4gICAgaWYgKGl0ZW0ubUlUaXRsZSA9PSAn572R6aG15rWP6KeIJyB8fCBpdGVtLm1JVGl0bGUgPT0gJ+inhumikemTvuaOpScpIHtcbiAgICAgICAgcmV0dXJuXG4gICAgfVxuICAgIHBhcmFtcyA9IGV2YWwoXCIoXCIgKyBpdGVtLnBhcmFtcyArIFwiKVwiKTtcbi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AgICBpbWc6IGl0ZW0ucGljVXJsLFxuICAgICAgICAgICAgZGVzYzogdGl0bGUgKyAnIPCflLkgJyArIGl0ZW0ubUlUaXRsZSArICcg8J+UuSAnICsgaXRlbS5ncm91cCxcbiAgICAgICAgICAgIGV4dHJhOiBleHRyYU9iaixcbiAgICAgICAgfSlcbiAgICB9XG59KVxuc2V0UmVzdWx0KGQpXG4vLyd0b2FzdDovL+i/veeVquaIkOWKn++8gSc7Iiwic2VhcmNoX3VybCI6IiIsImdyb3VwIjoiI++4j+KDoyPvuI/ig6MiLCJzZWFyY2hGaW5kIjoiIiwiZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiIiwidWEiOiJtb2JpbGUiLCJwcmVSdWxlIjoiIiwicGFnZXMiOiJbXSIsImljb24iOiIiLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment