Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@青豆@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6ImpzOlxuZnVuY3Rpb24gZ2V0RG91YmFuUmVzKHVybCkge1xuICAgIGlmICh1cmwuaW5kZXhPZignYXBpa2V5JykgPT09IC0xKSB7XG4gICAgICAgIHVybCArPSAodXJsLmluZGV4T2YoJz8nKSA9PT0gLTEgPyAnPycgOiAnJicpICsgXCJhcGlrZXk9MGRhZDU1MWVjMGY4NGVkMDI5MDdmZjVjNDJlOGVjNzBcIlxuICAgIH1cbiAgICBsZXQgcyA9IGZldGNoKHVybCwge1xuICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICBcIlVzZXItQWdlbnRcIjogXCJSZXh4YXItQ29yZS8wLjEuMyBhcGktY2xpZW50LzEgY29tLmRvdWJhbi5mcm9kby83LjkuMC5iZXRhMigyMTUpIEFuZHJvaWQvMjUgcHJvZHVjdC9UQVMtQUwwMCB2ZW5kb3IvSFVBV0VJIG1vZGVsL1RBUy1BTDAwICByb20vYW5kcm9pZCAgbmV0d29yay93aWZpICBwbGF0Zm9ybS9tb2JpbGUgY29tLmRvdWJhbi5mcm9kby83LjkuMC5iZXRhMigyMTUpIFJleHhhci8xLjIuMTUxICBwbGF0Zm9ybS9tb2JpbGUgMS4yLjE1MVwiXG4gICAgICAgIH0sXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICBib2R5OiAnaG9zdD1mcm9kby5kb3ViYW4uY29tJ1xuICAgIH0pO1xuICAgIHJldHVybiBKU09OLnBhcnNlKHMpO1xufVxubGV0IHR5cGUgPSBnZXRQYXJhbSgndHlwZScsICcnKSxcbiAgICBpZCA9IGdldFBhcmFtKCdpZCcsICcnKSxcbiAgICB0aXRsZSA9IGdldFBhcmFtKCd0aXRsZScsICcnKTtcbmxldCByZXMgPSBnZXREb3ViYW5SZXMoXCJodHRwczovL2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aXRmaWxlKTtcXG4gICAgICAgIHdyaXRlRmlsZShmaWxlLCB0ZXh0KTtcXG4gICAgICAgIC8vYmFjayh0cnVlKTtcXG4gICAgICAgIHJldHVybiAndG9hc3Q6Ly/kvp3otZbmlofku7bmm7TmlrDmiJDlip8nXFxuICAgIH0pXFxufSlcXG5kLnB1c2goe1xcbiAgICB0aXRsZTogJ+eCueaIkeaBouWkjem7mOiupOiuvue9ricsXFxuICAgIGNvbF90eXBlOiAndGV4dF8xJyxcXG4gICAgdXJsOiAkKFxcXCLnoa7lrpropoHmgaLlpI3vvJ9cXFwiKS5jb25maXJtKCgpID0+IHtcXG4gICAgICAgIGRlZmF1bHRDb25maWdzID0ge1xcbiAgICAgICAgICAgIHN0YXJDb2xvcjogXFxcIiNmZmFjMmRcXFwiLFxcbiAgICAgICAgICAgIGNob29zZUNvbG9yOiBcXFwiI0ZBNzI5OFxcXCIsXFxuICAgICAgICAgICAgcXVpY2tTZWFyY2hDb25maWdzOiB7XFxuICAgICAgICAgICAgICAgIG9yZGVyOiBbXVxcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgZGV0YWlsc1ZpZXdDb25maWdzOiB7XFxuICAgICAgICAgICAgICAgIHVzZTogXFxcIum7mOiupFxcXCIsXFxuICAgICAgICAgICAgICAgIFxcXCLpu5jorqRcXFwiOiB7XFxuICAgICAgICAgICAgICAgICAgICBjb25maWc6IFxcXCJldmFsKGZldGNoKGdldFZhcigncWRiX2ZpbGUnKSkpO2RldGFpbHNWaWV3KHR5cGUsIGlkKTtcXFwiXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9LFxcbiAgICAgICAgICAgIGFuYWx5c2lzQ29uZmlnczoge1xcbiAgICAgICAgICAgICAgICB1c2U6IFxcXCLkuI3op6PmnpBcXFwiLFxcbiAgICAgICAgICAgICAgICBcXFwi5LiN6Kej5p6QXFxcIjoge1xcbiAgICAgICAgICAgICAgICAgICAgY29uZmlnOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gaW5wdXQ7XFxuICAgICAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgICAgIHNldHRpbmc6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly/or6Xmj5Lku7bml6Dorr7nva7pobXpnaJcXFwiO1xcbiAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgXFxcIuaWreaPklxcXCI6IHtcXG4gICAgICAgICAgICAgICAgICAgIGNvbmZpZzogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGZpbGUgPSBcXFwiaGlrZXI6Ly9maWxlcy9ydWxlcy9EdWFuTmlhbi9NeVBhcnNlLmpzb25cXFwiO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBvbGRmaWxlID0gXFxcImhpa2VyOi8vZmlsZXMvY2FjaGUvTXlQYXJzZVNldC5qc29uXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZmlsZUV4aXN0KGZpbGUpKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV2YWwoJ2pzb249JyArIGZldGNoKGZpbGUpKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGpzVXJsID0ganNvbi5zZXR0aW5ncy5jajtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChmZXRjaChqc1VybCkpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gYXl0bVBhcnNlKGlucHV0KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGZpbGVFeGlzdChvbGRmaWxlKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQganNVcmwgPSBKU09OLnBhcnNlKGZldGNoKG9sZGZpbGUpKS5jajtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChmZXRjaChqc1VybCkpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gYXl0bVBhcnNlKGlucHV0KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ3RvYXN0Oi8v5rKh5om+5Yiw5pat5o+S6YWN572u5paH5Lu2JztcXG4gICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgICAgIHNldHRpbmc6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBmaWxlID0gXFxcImhpa2VyOi8vZmlsZXMvcnVsZXMvRHVhbk5pYW4vTXlQYXJzZS5qc29uXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgb2xkZmlsZSA9IFxcXCJoaWtlcjovL2ZpbGVzL2NhY2hlL015UGFyc2VTZXQuanNvblxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZpbGVFeGlzdChmaWxlKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBldmFsKCdqc29uPScgKyBmZXRjaChmaWxlKSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBqc1VybCA9IGpzb24uc2V0dGluZ3MuY2o7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV2YWwoZmV0Y2goanNVcmwpKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNldFVybDtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGZpbGVFeGlzdChvbGRmaWxlKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQganNVcmwgPSBKU09OLnBhcnNlKGZldGNoKG9sZGZpbGUpKS5jajtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChmZXRjaChqc1VybCkpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2V0VXJsO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9wYWdlL1JvdXRlP3J1bGU9TXlGaWVsZOG0sOKBvyZ0eXBlPeiuvue9rlxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH1cXG4gICAgICAgIHdyaXRlRmlsZShnZXRWYXIoJ3FkYl9jb25maWcnKSwgSlNPTi5zdHJpbmdpZnkoZGVmYXVsdENvbmZpZ3MpKTtcXG4gICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8v5bey5oGi5aSN6buY6K6k6K6+572uXFxcIjtcXG4gICAgfSlcXG59KVxcbmQucHVzaCh7XFxuICAgIHRpdGxlOiAn6Iul6YeN55Sf5LiN6LW35L2c55SoLOeCueaIkeWkjeWItumUmeivr+S/oeaBr+aPkOS6pOe7meW8gOWPkeiAhScsXFxuICAgIGNvbF90eXBlOiAndGV4dF8xJyxcXG4gICAgdXJsOiAnY29weTovLycgKyBlLm1lc3NhZ2VcXG59KVxcbnNldFJlc3VsdChkKTtcIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzJcIixcIm5hbWVcIjpcIumhuuS9rOS4k+eUqOivpuaDhemhtVwiLFwicGF0aFwiOlwiU2RldGFpbFwiLFwicnVsZVwiOlwianM6XFxucHV0VmFyKCdxZGJfZmlsZScsICdoaWtlcjovL2ZpbGVzL3J1bGVzL2pva2VyL3FkYi5qcycpO1xcbmV2YWwoZmV0Y2goZ2V0VmFyKFxcXCJxZGJfZmlsZVxcXCIpKSk7XFxucHJlKCk7XFxubGV0IHR5cGUgPSBnZXRQYXJhbSgndHlwZScsICcnKSxcXG4gICAgaWQgPSBnZXRQYXJhbSgnaWQnLCAnJyk7XFxuZGV0YWlsc1ZpZXcodHlwZSwgaWQpO1wifV0iLCJpY29uIjoiaHR0cHM6Ly9naXRjb2RlLm5ldC9xcV80MTg0Njc1Ni9oaWtlci8tL3Jhdy9tYXN0ZXIvaW1nL+mdkuixhi5wbmciLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment