Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥高级功能@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJqczpcXG5mdW5jdGlvbiBnZXREb3ViYW5SZXModXJsKSB7XFxuICAgIGlmICh1cmwuaW5kZXhPZignYXBpa2V5JykgPT09IC0xKSB7XFxuICAgICAgICB1cmwgKz0gKHVybC5pbmRleE9mKCc/JykgPT09IC0xID8gJz8nIDogJyYnKSArIFxcXCJhcGlrZXk9MGRhZDU1MWVjMGY4NGVkMDI5MDdmZjVjNDJlOGVjNzBcXFwiXFxuICAgIH1cXG4gICAgbGV0IHMgPSBmZXRjaCh1cmwsIHtcXG4gICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICBcXFwiVXNlci1BZ2VudFxcXCI6IFxcXCJSZXh4YXItQ29yZS8wLjEuMyBhcGktY2xpZW50LzEgY29tLmRvdWJhbi5mcm9kby83LjkuMC5iZXRhMigyMTUpIEFuZHJvaWQvMjUgcHJvZHVjdC9UQVMtQUwwMCB2ZW5kb3IvSFVBV0VJIG1vZGVsL1RBUy1BTDAwICByb20vYW5kcm9pZCAgbmV0d29yay93aWZpICBwbGF0Zm9ybS9tb2JpbGUgY29tLmRvdWJhbi5mcm9kby83LjkuMC5iZXRhMigyMTUpIFJleHhhci8xLjIuMTUxICBwbGF0Zm9ybS9tb2JpbGUgMS4yLjE1MVxcXCJcXG4gICAgICAgIH0sXFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcXG4gICAgICAgIGJvZHk6ICdob3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LFxcbiAgICB1cmw6ICQoJ2hpa2VyOi8vZW1wdHknKVxcbiAgICAgICAgLmxhenlSdWxlKCgpID0+IHtcXG4gICAgICAgICAgICBsZXQgZmlsZSA9IFxcXCJoaWtlcjovL2ZpbGVzL3J1bGVzL2pva2VyL3FkYi5qc1xcXCI7XFxuICAgICAgICAgICAgbGV0IGdpdGZpbGUgPSAnaHR0cDovL2hpa2VyLm5va2lhLnByZXNzL2hpa2VydWxlL3J1bGVsaXN0Lmpzb24/aWQ9MTU2NCc7XFxuICAgICAgICAgICAgbGV0IHRleHQgPSBmZXRjaChnaXRmaWxlKTtcXG4gICAgICAgICAgICB3cml0ZUZpbGUoZmlsZSwgdGV4dCk7XFxuICAgICAgICAgICAgLy9iYWNrKHRydWUpO1xcbiAgICAgICAgICAgIHJldHVybiAndG9hc3Q6Ly/kvp3otZbmlofku7bmm7TmlrDmiJDlip8nXFxuICAgICAgICB9KVxcbn0pXFxuZC5wdXNoKHtcXG4gICAgdGl0bGU6ICfngrnmiJHmgaLlpI3pu5jorqTorr7nva4nLFxcbiAgICBjb2xfdHlwZTogJ3RleHRfMScsXFxuICAgIHVybDogJChcXFwi56Gu5a6a6KaB5oGi5aSN77yfXFxcIilcXG4gICAgICAgIC5jb25maXJtKCgpID0+IHtcXG4gICAgICAgICAgICBsZXQgZGVmYXVsdENvbmZpZ3MgPSB7XFxuICAgICAgICAgICAgICAgIHF1aWNrU2VhcmNoQ29uZmlnczoge1xcbiAgICAgICAgICAgICAgICAgICAgb3JkZXI6IFtdXFxuICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgIGRldGFpbHNWaWV3Q29uZmlnczoge1xcbiAgICAgICAgICAgICAgICAgICAgdXNlOiBcXFwi6buY6K6kXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCLpu5jorqRcXFwiOiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY29uZmlnOiBcXFwiZXZhbChmZXRjaChnZXRWYXIoJ3FkYl9maWxlJykpKTtkZXRhaWxzVmlldyh0eXBlLCBpZCk7XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICBhbmFseXNpc0NvbmZpZ3M6IHtcXG4gICAgICAgICAgICAgICAgICAgIHVzZTogXFxcIuS4jeino+aekFxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwi5LiN6Kej5p6QXFxcIjoge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZzogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBpbnB1dDtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXR0aW5nOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL+ivpeaPkuS7tuaXoOiuvue9rumhtemdolxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgICAgICBcXFwi5pat5o+SXFxcIjoge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZzogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjb25mID0gZmV0Y2goJ2hpa2VyOi8vZmlsZXMvY2FjaGUvTXlQYXJzZVNldC5qc29uJyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBqc1VybCA9ICdodHRwczovL2NvZGUuYWxpeXVuLmNvbS9BSTk1Ny9IaWtlci9yYXcvbWFzdGVyL3YvQ2xvdWRQYXJzZS1WMl9Ebi5qcyc7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb25mICYmIGZldGNoKEpTT04ucGFyc2UoY29uZilcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuY2opKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBqc1VybCA9IEpTT04ucGFyc2UoY29uZilcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuY2o7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChmZXRjaChqc1VybCkpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gYXl0bVBhcnNlKGlucHV0KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXR0aW5nOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGNvbmYgPSBmZXRjaCgnaGlrZXI6Ly9maWxlcy9jYWNoZS9NeVBhcnNlU2V0Lmpzb24nKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGpzVXJsID0gJ2h0dHBzOi8vY29kZS5hbGl5dW4uY29tL0FJOTU3L0hpa2VyL3Jhdy9tYXN0ZXIvdi9DbG91ZFBhcnNlLVYyX0RuLmpzJztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNvbmYgJiYgZmV0Y2goSlNPTi5wYXJzZShjb25mKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5jaikpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGpzVXJsID0gSlNPTi5wYXJzZShjb25mKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5jajtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBldmFsKGZldGNoKGpzVXJsKSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzZXRVcmw7XFxuICAgICAgICAgICAg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HRfMScsXFxcXG4gICAgdXJsOiAkKFxcXFxcXFwi56Gu5a6a6KaB5oGi5aSN77yfXFxcXFxcXCIpXFxcXG4gICAgICAgIC5jb25maXJtKCgpID0+IHtcXFxcbiAgICAgICAgICAgIGxldCBkZWZhdWx0Q29uZmlncyA9IHtcXFxcbiAgICAgICAgICAgICAgICBxdWlja1NlYXJjaENvbmZpZ3M6IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgb3JkZXI6IFtdXFxcXG4gICAgICAgICAgICAgICAgfSxcXFxcbiAgICAgICAgICAgICAgICBkZXRhaWxzVmlld0NvbmZpZ3M6IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgdXNlOiBcXFxcXFxcIum7mOiupFxcXFxcXFwiLFxcXFxuICAgICAgICAgICAgICAgICAgICBcXFxcXFxcIum7mOiupFxcXFxcXFwiOiB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25maWc6IFxcXFxcXFwiZXZhbChmZXRjaChnZXRWYXIoJ3FkYl9maWxlJykpKTtkZXRhaWxzVmlldyh0eXBlLCBpZCk7XFxcXFxcXCJcXFxcbiAgICAgICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgICAgIH0sXFxcXG4gICAgICAgICAgICAgICAgYW5hbHlzaXNDb25maWdzOiB7XFxcXG4gICAgICAgICAgICAgICAgICAgIHVzZTogXFxcXFxcXCLkuI3op6PmnpBcXFxcXFxcIixcXFxcbiAgICAgICAgICAgICAgICAgICAgXFxcXFxcXCLkuI3op6PmnpBcXFxcXFxcIjoge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgY29uZmlnOiAkLnRvU3RyaW5nKCgpID0+IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gaW5wdXQ7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KSxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNldHRpbmc6ICQudG9TdHJpbmcoKCkgPT4ge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFxcXFxcInRvYXN0Oi8v6K+l5o+S5Lu25peg6K6+572u6aG16Z2iXFxcXFxcXCI7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KVxcXFxuICAgICAgICAgICAgICAgICAgICB9LFxcXFxuICAgICAgICAgICAgICAgICAgICBcXFxcXFxcIuaWreaPklxcXFxcXFwiOiB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25maWc6ICQudG9TdHJpbmcoKCkgPT4ge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjb25mID0gZmV0Y2goJ2hpa2VyOi8vZmlsZXMvY2FjaGUvTXlQYXJzZVNldC5qc29uJyk7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGpzVXJsID0gJ2h0dHBzOi8vY29kZS5hbGl5dW4uY29tL0FJOTU3L0hpa2VyL3Jhdy9tYXN0ZXIvdi9DbG91ZFBhcnNlLVYyX0RuLmpzJztcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29uZiAmJiBmZXRjaChKU09OLnBhcnNlKGNvbmYpXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuY2opKSB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGpzVXJsID0gSlNPTi5wYXJzZShjb25mKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmNqO1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBldmFsKGZldGNoKGpzVXJsKSk7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGF5dG1QYXJzZShpbnB1dCk7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KSxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNldHRpbmc6ICQudG9TdHJpbmcoKCkgPT4ge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjb25mID0gZmV0Y2goJ2hpa2VyOi8vZmlsZXMvY2FjaGUvTXlQYXJzZVNldC5qc29uJyk7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGpzVXJsID0gJ2h0dHBzOi8vY29kZS5hbGl5dW4uY29tL0FJOTU3L0hpa2VyL3Jhdy9tYXN0ZXIvdi9DbG91ZFBhcnNlLVYyX0RuLmpzJztcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29uZiAmJiBmZXRjaChKU09OLnBhcnNlKGNvbmYpXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuY2opKSB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGpzVXJsID0gSlNPTi5wYXJzZShjb25mKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmNqO1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBldmFsKGZldGNoKGpzVXJsKSk7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNldFVybDtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pXFxcXG4gICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICB3cml0ZUZpbGUoZ2V0VmFyKCdxZGJfY29uZmlnJyksIEpTT04uc3RyaW5naWZ5KGRlZmF1bHRDb25maWdzKSk7XFxcXG4gICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcXFxuICAgICAgICAgICAgcmV0dXJuIFxcXFxcXFwidG9hc3Q6Ly/lt7LmgaLlpI3pu5jorqTorr7nva5cXFxcXFxcIjtcXFxcbiAgICAgICAgfSlcXFxcbn0pXFxcXG5kLnB1c2goe1x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