Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@APP聚合@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiQVBQ6IGa5ZCIIiwiYXV0aG9yIjoiQExveURnSWsiLCJ1cmwiOiJoaWtlcjovL2VtcHR5I2Z5cGFnZSIsInZlcnNpb24iOjAsImNvbF90eXBlIjoibW92aWVfMV9sZWZ0X3BpYyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbmxldCB1cmxNYXAgPSAkLnJlcXVpcmUoXCJoaWtlcjovL3BhZ2UvdXJsU2V0LmpzXCIpO1xubGV0IG1hcGkgPSBOdW1iZXIoZ2V0TXlWYXIoXCI6bWFwaVwiLCBcIjBcIikpO1xubGV0IGltZyA9IFtdO1xubGV0IHRVcmwgPSB1cmxNYXBbbWFwaV0udXJsO1xubGV0IGhVcmwgPSB0VXJsICsgXCJhcGkvdmlkZW9zb3J0L1wiO1xubGV0IHRhZyA9IFt7XG4gICAgbmFtZTogXCLlhajpg6hcIixcbiAgICBpZDogMFxufV07XG5sZXQgaVRhZyA9IGdldE15VmFyKFwiOmlUYWdcIiwgXCJcIik7XG5pZiAoaVRhZykge1xuICAgIGlUYWcgPSBKU09OLnBhcnNlKGlUYWcpO1xufSBlbHNlIHtcbiAgICB0cnkge1xuICAgICAgICBpVGFnID0gSlNPTi5wYXJzZShmZXRjaChoVXJsLCB7XG4gICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnb2todHRwLzMuMTIuMSdcbiAgICAgICAgICAgIH1cbiAgICAgICAg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gICAgICAgY29sX3R5cGU6IFwic2Nyb2xsX2J1dHRvblwiXG4gICAgICAgIH0pO1xuICAgIH0pO1xuICAgIGxheW91dC5wdXNoKHtcbiAgICAgICAgY29sX3R5cGU6IFwiYmxhbmtfYmxvY2tcIlxuICAgIH0pO1xuICAgIGxheW91dC5wdXNoKHtcbiAgICAgICAgdGl0bGU6IFwi5YiG57G777yaXCIsXG4gICAgICAgIHVybDogXCJoaWtlcjovL2VtcHR5XCIsXG4gICAgICAgIGNvbF90eXBlOiBcInNjcm9sbF9idXR0b25cIlxuICAgIH0pO1xuICAgIHRhZy5mb3JFYWNoKChpdGVtLCBpKSA9PiB7XG4gICAgICAgIGxheW91dC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiB0YWdpID09PSBpID8gXCLigJjigJhcIiArIGl0ZW0ubmFtZSArIFwi4oCZ4oCZXCIgOiBpdGVtLm5hbWUsXG4gICAgICAgICAgICB1cmw6ICQoXCIjbm9Mb2FkaW5nI1wiKS5sYXp5UnVsZSgoaSkgPT4ge1xuICAgICAgICAgICAgICAgIHB1dE15VmFyKFwiOnRhZ2lcIiwgXCJcIiArIGkpO1xuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9lbXB0eVwiO1xuICAgICAgICAgICAgfSwgaSksXG4gICAgICAgICAgICBjb2xfdHlwZTogXCJzY3JvbGxfYnV0dG9uXCJcbiAgICAgICAgfSk7XG4gICAgfSk7XG4gICAgbGF5b3V0LnB1c2goe1xuICAgICAgICB1cmw6ICdcImhpa2VyOi8vc2VhcmNoP3M9XCIraW5wdXQnLFxuICAgICAgICBkZXNjOiBcIuaQnOS9oOaDs+imgeeahC4uLi4uLlwiLFxuICAgICAgICB0aXRsZTogXCLmkJzntKJcIixcbiAgICAgICAgY29sX3R5cGU6IFwiaW5wdXRcIixcbiAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgIHJ1bGVzOiAkLnRvU3RyaW5nKCh1cmxNYXAsIG1hcGkpID0+IHtcbiAgICAgICAgICAgICAgICBsZXQgYXJyMSA9IFtdO1xuICAgICAgICAgICAgICAgIHVybE1hcC51bnNoaWZ0KHVybE1hcC5zcGxpY2UobWFwaSwgMSlbMF0pO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgdXJsTWFwLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgIGFycjEucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICBcInRpdGxlXCI6IHVybE1hcFtpXS5uYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJzZWFyY2hfdXJsXCI6IFwiaGlrZXI6Ly9lbXB0eT9zZWFyY2hUZXJtcz0qKiZwYWdlPWZ5cGFnZSZpbmRleD1cIiArIGksXG4gICAgICAgICAgICAgICAgICAgICAgICBcInNlYXJjaEZpbmRcIjogXCJqczogJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvU2VhcmNoLnZpZXc/cnVsZT0nK01ZX1JVTEUuX3RpdGxlKTtcIlxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIEpTT04uc3RyaW5naWZ5KGFycjEpO1xuICAgICAgICAgICAgfSwgdXJsTWFwLCBtYXBpKSxcbiAgICAgICAgICAgIGRlZmF1bHRWYWx1ZTogZ2V0TXlWYXIoXCJzZWFyY2hLZXlcIiwgXCJcIiksXG4gICAgICAgICAgICBvbkNoYW5nZTogXCJwdXRNeVZhcignc2VhcmNoS2V5JyxpbnB1dClcIlxuICAgICAgICB9XG4gICAgfSk7XG59XG5cbmxldCBsYXp5TG9hZEltYWdlID0gKHBpY191cmwsIGlkKSA9PiB7XG4gICAgbGV0IGltZyA9IFwiZGF0YTppbWFnZS9wbmc7YmFzZTY0LC85alwiICsgcmVxdWVzdChwaWNfdXJsKS5zcGxpdChcIi85alwiKV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cXFwiICsgaXRlbS5wbGF5dGltZXM7XFxuICAgIH1cXG4gICAgaWYgKGl0ZW0udXBkYXRlZF9hdCkge1xcbiAgICAgICAgZGVzYyArPSAoZGVzYyA/IFxcXCJcXFxcblxcXCIgOiBcXFwiXFxcIikgKyBcXFwi5pu05paw5pe26Ze077yaXFxcIiArIGl0ZW0udXBkYXRlZF9hdDtcXG4gICAgfVxcbiAgICBsZXQgcGljID0gXFxcIlxcXCI7XFxuICAgIGlmIChpdGVtLmNvdmVycGF0aCkge1xcbiAgICAgICAgcGljID0gaXRlbS5jb3ZlcnBhdGg7XFxuICAgIH0gZWxzZSBpZiAoaXRlbS5jb3ZlcmJhc2U2NCAmJiBpdGVtLmNvdmVyYmFzZTY0LnVybCkge1xcbiAgICAgICAgcGljID0gJ2h0dHBzOi8vd3d3LmhlbGxvaW1nLmNvbS9pbWFnZXMvMjAyMi8wOC8yOS9aemJjRnIuZ2lmJ1xcbiAgICAgICAgY29uc3QgRGVzRGVjb2RlID0gKHBpY191cmwsIGlkKSA9PiB7XFxuICAgICAgICAgICAgbGV0IGltZyA9IFxcXCJkYXRhOmltYWdlL3BuZztiYXNlNjQsLzlqXFxcIiArIHJlcXVlc3QocGljX3VybCkuc3BsaXQoXFxcIi85alxcXCIpWzFdXFxuICAgICAgICAgICAgdXBkYXRlSXRlbSh7XFxuICAgICAgICAgICAgICAgIGltZzogaW1nLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgaWQ6IGlkXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfVxcbiAgICB9XFxuICAgIGxheW91dC5wdXNoKHtcXG4gICAgICAgIHRpdGxlOiBpdGVtLnRpdGxlLFxcbiAgICAgICAgcGljX3VybDogcGljLFxcbiAgICAgICAgZGVzYzogZGVzYyxcXG4gICAgICAgIHVybDogJCh0VXJsICsgXFxcImFwaS92aWRlb3BsYXkvXFxcIiArIGl0ZW0ua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