Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@PPXDM@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiUFBYRE0iLCJhdXRob3IiOiJTc2xvbmciLCJ1cmwiOiJoaWtlcjovL2VtcHR5IyNodHRwOi8vcHB4ZG0uY29tL3Ytc2hvdy8xLS0tLS0tLS1meXBhZ2UtLS0uaHRtbCIsInZlcnNpb24iOjAsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBkID0gW107XG52YXIgZ2V0UmFuZ2VDb2xvcnMgPSBmdW5jdGlvbigpIHtcbiAgICByZXR1cm4gJyMnICsgKCcwMDAwMCcgKyAoTWF0aC5yYW5kb20oKSAqIDB4MTAwMDAwMCA8PCAwKS50b1N0cmluZygxNikpLnN1YnN0cigtNik7XG59XG5cbmNvbnN0IOWIhuexu+minOiJsiA9IGdldFJhbmdlQ29sb3JzKClcbmNvbnN0IOWkp+exu+WumuS9jSA9ICcubmF2YmFyLWl0ZW1zJ1xuY29uc3Qg5ou85o6l5YiG57G7ID0gJ2JvZHkmJi5tb2R1bGUtaXRlbS1ib3h8fC5tb2R1bGUtdGFiLXdlZWsnXG5jb25zdCDlsI/nsbvlrprkvY0gPSAnYm9keSYmYTpub3QoOm1hdGNoZXMo6aaW6aG1fOS4k+mimHxBUFApKSdcbmNvbnN0IOWIhuexu+agh+mimCA9ICdhJiZUZXh0J1xuY29uc3Qg5YiG57G76ZO+5o6lID0gJ2EmJmhyZWYnXG5cbk1ZX1VSTCA9IE1ZX1VSTC5yZXBsYWNl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7ZGF0YX3igJ3igJ1gIDogZGF0YSxcbiAgICAgICAgICAgICAgICB1cmw6ICQoXCIjbm9Mb2FkaW5nI1wiKS5sYXp5UnVsZSgodGFicywgbGlzdHMsIGkpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGFicy5mb3JFYWNoKChkYXRhLCB0aWQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHVwZGF0ZUl0ZW0oe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiB0aWQgPT0gaSA/IGDigJzigJwke2RhdGF94oCd4oCdYCA6IGRhdGEsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IE1ZX1JVTEUudXJsICsgXCLmmJ/mnJ9cIiArIHRpZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcignd2VlaycsIGkpXG4gICAgICAgICAgICAgICAgICAgIHZhciBsaXN0cyA9IGxpc3RzW2dldE15VmFyKCd3ZWVrJywgJzAnKV07XG4gICAgICAgICAgICAgICAgICAgIGxldCBuZXdsaXN0ID0gbGlzdHMubWFwKChkYXRhLCBpKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGRhdGEsICdhJiZUZXh0JyksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzogcGRmaChkYXRhLCAnLm1vZHVsZS1pdGVtLW5vdGUmJlRleHQnKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbWc6IHBkKGRhdGEsICcubGF6eWxvYWQmJmRhdGEtb3JpZ2luYWwnKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6IHBkKGRhdGEsICdhJiZocmVmJykgKyAnI2ltbWVyc2l2ZVRoZW1lIycsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xzOiBNWV9SVUxFLnVybCArIFwi5pWw5o2uXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkOiBwZChkYXRhLCAnYSYmaHJlZicpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIGRlbGV0ZUl0ZW1CeUNscyhNWV9SVUxFLnVybCArIFwi5pWw5o2uXCIpO1xuICAgICAgICAgICAgICAgICAgICBhZGRJdGVtQmVmb3JlKE1ZX1JVTEUudXJsICsgXCJmb290ZXJcIiwgbmV3bGlzdCk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIlxuICAgICAgICAgICAgICAgIH0sIHRhYnMsIGxpc3RzLCBpKSxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ2ZsZXhfYnV0dG9uJyxcbiAgICAgICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgICAgICBpZDogTVlfUlVMRS51cmwgKyBcIuaYn+acn1wiICsgaVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuXG4gICAgICAgIHZhciBsaXN0cyA9IGxpc3RzW2dldE15VmFyKCd3ZWVrJywgZGF5KV07XG4gICAgICAgIGZvciAodmFyIGogaW4gbGlzdHMpIHtcbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgdGl0bGU6IHBkZmgobGlzdHNbal0sICdhJiZ0aXRsZScpLFxuICAgICAgICAgICAgICAgIGRlc2M6IHBkZmgobGlzdHNbal0sICcubW9kdWxlLWl0ZW0tbm90ZSYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIGltZzogcGQobGlzdHNbal0sICcubGF6eWxvYWQmJmRhdGEtb3JpZ2luYWwnKSxcbiAgICAgICAgICAgICAgICB1cmw6IHBkKGxpc3RzW2pdLCAnYSYmaHJlZicpICsgJyNpbW1lcnNpdmVUaGVtZSMnLFxuICAgICAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgICAgIGNsczogTVlfUlVMRS51cmwgKyBcIuaVsOaNrlwiLFxuICAgICAgICAgICAgICAgICAgICBpZDogcGQobGlzdHNbal0sICdhJiZocmVmJylcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgY29sX3R5cGU6IFwiYmlnX2JsYW5rX2Jsb2NrXCIsXG4gICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgIGlkOiDCoE1ZX1JVTEUudXJsICsgXCJmb290ZXJcIlxuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICAgICAgY2xlYXJNeVZhcignd2VlaycpXG4gICAgfVxufSBlbHNlIHtcbiAgICB2YXIgbGlzdCA9IHBkZmEoaHRtbCwgJy5tb2R1bGUtaXRlbXMmJi5tb2R1bGUtY2FyZC1pdGVtfHxhJyk7XG4gICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XG4gICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICB0aXRsZTogcGRmaChsaXN0W2pdLCAnaW1nJiZhbHQnKSxcbiAgICAgICAgICAgIGRlc2M6IHBkZmgobGlzdFtqXSwgJy5tb2R1bGUtaXRlbS1ub3RlJiZUZXh0JyksXG4gICAgICAgICAgICBpbWc6IHBkKGxpc3Rbal0sICcubGF6eWxvYWQmJmRhdGEtb3JpZ2luYWwnKSxcbiAgICAgICAgICAgIHVybDogcGQobGlzdFtqXSwgJ2EmJmhyZWYnKSArICcjaW1tZXJzaXZl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ZGUodXJsKSk7XG4gICAgfVxuaWYgKC9tM3U4fG1wNC8udGVzdCh1cmwpKXtcbiAgICAgICAgcmV0dXJuIHVybFxufVxuICAgICAgICByZXR1cm4gJ3ZpZGVvOi8vJytpbnB1dFxufSwgTVlfSE9NRSlcblxucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL3ktcGxheUxpc3Q/cnVsZT3mqKHmnb/Ct1EnKSIsInNkZXRhaWxfY29sX3R5cGUiOiJtb3ZpZV8xIiwic2RldGFpbF9maW5kX3J1bGUiOiIqIiwidWEiOiJtb2JpbGUiLCJwcmVSdWxlIjoiIiwicGFnZXMiOiJbXSIsImljb24iOiJodHRwczovL3BweGRtLmNvbS90ZW1wbGF0ZS95aW5naHVhZG0vaW1hZ2UvZmF2aWNvbi5pY28iLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment