Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@武享吧™@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5q2m5Lqr5ZCn4oSiIiwiYXV0aG9yIjoi5b+D5p+U56yU6K6wIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cuaHVsYTgubmV0LyNmeXBhZ2UiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6Im1vdmllXzFfbGVmdF9waWMiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG4vKiotLS0tLS0tLS0tLS0tLS0tLS0tLS3lo7DmmI4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tXG7mraTop4TliJnku4XpmZDlrabkuaDkuqTmtYHkvb/nlKjvvIzor7fkuo7lr7zlhaXlkI4yNOWwj+aXtuWGheWIoOmZpO+8jOS7u+S9lee7hOe7h+aIluS4quS6uuS4jeW+l+S7peS7u+S9leaWueW8j+aWueazleS8oOaSreatpOinhOWImeeahOaVtOS9k+aIlumDqOWIhu+8gVxu5omA5pyJ5pWw5o2u5Z2H5p2l5rqQ5LqO572R57uc77yM5aaC5oKo5Zac5qyi77yM6K+35pSv5oyB5a6Y5pa577yBICAgICAgIFxuLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSovXG5sZXQgZCA9IFtdO1xuZXZhbChKU09OLnBhcnNlKGZldGNoKCdoaWtlcjovL3BhZ2UvbGF6eScpKS5ydWxlKTtcbmV2YWwoSlNPTi5wYX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ZkYXRhLW9yaWdpbmFsJyksXG4gICAgICAgIGNvbnRlbnQ6IHBkZmgobGlzdFtqXSwgJy5hcmNoaXZlLWNvbnRlbnQmJlRleHQnKSxcbiAgICAgICAgdXJsOiAkKHBkKGxpc3Rbal0sICcubG9hZCYmYSYmaHJlZicpKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIHZhciBodG1sID0gSlNPTi5wYXJzZShyZXF1ZXN0KGlucHV0KS5tYXRjaCgvdmFyIGJldmlkZW9fdmlkc18uKj89KHtbXFxzXFxTXSo/fSk7LylbMV0pXG4gICAgICAgICAgICAgICAgdmFyIHVybHMgPSBodG1sLm0zdThkcGxheWVyLm1hcChpID0+IGkudmlkZW8uc3RhcnRzV2l0aCgnLy8nKSA/IFwiaHR0cHM6XCIgKyBpLnZpZGVvIDogaS52aWRlbylcbiAgICAgICAgICAgICAgICB2YXIgbmFtZXMgPSBodG1sLm0zdThkcGxheWVyLm1hcChpID0+IGkucHJlKVxuICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnN0cmluZ2lmeSh7XG4gICAgICAgICAgICAgICAgICAgIHVybHM6IHVybHMsXG4gICAgICAgICAgICAgICAgICAgIG5hbWVzOiBuYW1lc1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGlucHV0O1xuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgIH0pXG59XG5zZXRSZXN1bHQoZCk7IiwiZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiIiwidWEiOiJwYyIsInByZVJ1bGUiOiIiLCJwYWdlcyI6Ilt7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwi5LqM57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sIFxcXCJCZWxsYXRvcuagvOaWl+i1m1xcXCIsIFxcXCJQRkzmoLzmlpfotZtcXFwiLCBcXFwiTEZB5qC85paX6LWbXFxcIl07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAkKHNlbGFkZHIsIDEsICfor7fpgInmi6nopoHop4LnnIvnmoTotZvkuosnKS5zZWxlY3QoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudGl0bGUsIGlucHV0KVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3dpdGNoIChpbnB1dCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIlVGQ+e7iOaegeagvOaWl+i1m1xcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC91ZmMtZmlnaHRpbmctY2hhbXBpb25zaGlwLmh0bWxcXFwiKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBcXFwiVUZD5qC85paX5LmL5aScXFxcIjpcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudXJsLCBcXFwiaHR0cHM6Ly93d3cuaHVsYTgubmV0L3VmYy1maWdodC1uaWdodC5odG1sXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIkJlbGxhdG9y5qC85paX6LWbXFxcIjpcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudXJsLCBcXFwiaHR0cHM6Ly93d3cuaHVsYTgubmV0L2JlbGxhdG9yLWZpZ2h0aW5nLWNoYW1waW9uc2hpcC5odG1sXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIlBGTOagvOaWl+i1m1xcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC9wcm9mZXNzaW9uYWwtZmlnaHRlcnMtbGVhZ3VlLmh0bWxcXFwiKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBcXFwiTEZB5qC85paX6LWbXFxcIjpcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudXJsLCBcXFwiaHR0cHM6Ly93d3cuaHVsYTgubmV0L2xlZ2FjeS1maWdodGluZy1hbGxpYW5jZWxmYS5odG1sXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh0aXRsZS5pbmNsdWRlcygn5Lqa5rSyJykpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHNlbGFkZHIgPSBbXFxcIk9OReWRqOS6lOagvOaWl+WknFxcXCIsIFxcXCJKQ0vmiJjop4nln45cXFwiLCBcXFwi5q2m5p6X56y85Lit5a+5XFxcIl07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAkKHNlbGFkZHIsIDEsICfor7fpgInmi6nopoHop4LnnIvnmoTotZvkuosnKS5zZWxlY3QoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudGl0bGUsIGlucHV0KVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3dpdGNoIChpbnB1dCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIk9OReWRqOS6lOagvOaWl+WknFxcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC9vbmUtZmMvb25lLWZyaWRheS1maWdodHMvXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIkpDS+aImOinieWfjlxcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC9qY2suaHRtbFxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIFxcXCLmrabmnpfnrLzkuK3lr7lcXFwiOlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwdXRWYXIoTVlfUlVMRS51cmwsIFxcXCJodHRwczovL3d3dy5odWxhOC5uZXQvd2xsemQuaHRtbFxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSc7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodGl0bGUuaW5jbHVkZXMoJ+WFtuS7licpKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBzZWxhZGRyID0gW1xcXCJLU1fms6LlhbDmoLzmlpfotZtcXFwiLCBcXFwiRWFnbGXlsI/pubDotZvkuotcXFwiLCBcXFwi5L+E572X5pavQUNB6LWb5LqLXFxcIl07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAkKHNlbGFkZHIsIDEsICfor7fpgInmi6nopoHop4LnnIvnmoTotZvkuosnKS5zZWxlY3QoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudGl0bGUsIGlucHV0KVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3dpdGNoIChpbnB1dCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIktTV+azouWFsOagvOaWl+i1m1xcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC9rb25mcm9udGFjamEtc3p0dWstd2Fsa2kuaHRtbFxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIFxcXCJFYWdsZeWwj+m5sOi1m+S6i1xcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC9lYWdsZS1maWdodGluZy1jaGFtcGlvbnNoaXAuaHRtbFxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIFxcXCLkv4TnvZfmlq9BQ0HotZvkuotcXFwiOlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwdXRWYXIoTVlfUlVMRS51cmwsIFxcXCJodHRwczovL3d3dy5odWxhOC5uZXQvYWJzb2x1dGUtY2hhbXBpb25zaGlwLWFraG1hdC5odG1sXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh0aXRsZS5pbmNsdWRlcygn5pel5pysJykpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHNlbGFkZHIgPSBbXFxcIkstMSBKQVBBTiBHUk9VUFxcXCIsIFxcXCJLLTHml5fkuItLcnVzaOi1m+S6i1xcXCIsIFxcXCJSSVNF6Lii5ouz6LWbXFxcIl07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAkKHNlbGFkZHIsIDEsICfor7fpgInmi6nopoHop4LnnIvnmoTotZvkuosnKS5zZWxlY3QoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudGl0bGUsIGlucHV0KVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3dpdGNoIChpbnB1dCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIkstMSBKQVBBTiBHUk9VUFxcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC9rLTEuaHRtbFxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIFxcXCJLLTHml5fkuItLcnVzaOi1m+S6i1xcXCI6XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgXFxcImh0dHBzOi8vd3d3Lmh1bGE4Lm5ldC9rcnVzaC5odG1sXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXFxcIlJJU0XouKLmi7PotZtcXFwiOlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwdXRWYXIoTVlfUlVMRS51cmwsIFxcXCJodHRwczovL3d3dy5odWxhOC5uZXQvcmlzZS5odG1sXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudGl0bGUsIHRpdGxlKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwdXRWYXIoTVlfUlVMRS51cmwsIGlucHV0KVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSh0cnVlKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgfSwgdGl0bGUpLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJ1xcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0pXFxuICAgIH0pXFxufSBlbHNlIHtcXG5cXHRpZiAodHJ1ZV91cmwuZW5kc1dpdGgoJ2h0bWwnKSkge1xcblxcdFxcdHRydWVfdXJsID0gdHJ1ZV91cmwgKyBcXFwiL3BhZ2UvXFxcIiArIHBhZ2UgKyBcXFwiL1xcXCJcXG5cXHR9ZWxzZXtcXG5cXHRcXHR0cnVlX3VybCA9IHRydWVfdXJsLnJlcGxhY2UoL1xcXFwvJC8sIFxcXCIvcGFnZS9cXFwiICsgcGFnZSArIFxcXCIvXFxcIilcXG5cXHR9XFxufVwifV0iLCJpY29uIjoiaHR0cHM6Ly93d3cuaHVsYTgubmV0L3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDIyLzA0L2xvZ28tMS5wbmciLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment