xiaomianao666

小程序:4khdr·X

Jun 25th, 2023
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@4khdr·X@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiNGtoZHLCt1giLCJhdXRob3IiOiLni5fmtanllYomU2tpbnPmvIJb5L+u5pS5XSbOsVvph43mnoRdIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjZnlwYWdlIiwidmVyc2lvbiI6MSwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxuYWRkTGlzdGVuZXIoJ29uQ2xvc2UnLCAkLnRvU3RyaW5nKCh0aXRsZSkgPT4ge1xuICAgIC8vbG9nKHRpdGxlKVxuICAgIHVuUmVnaXN0ZXJUYXNrKHRpdGxlICsgJ2x1bmJvJylcbn0sIE1ZX1JVTEUudGl0bGUpKVxudmFyIGQgPSBbXTtcbnZhciBydWxlID0gTVlfUlVMRS50aXRsZTtcbnZhciBwYWdlID0gTVlfUEFHRTtcbnZhciBob21lID0gY29uZmlnLmhvbWVcbk1ZX1VSTCA9IGhvbWU7XG5jb25zdCDliIbnsbvpopzoibIgPSAnIzA5OEFDMSdcbmNvbnN0IOWkp+exu+WumuS9jSA9ICcjdGhyZWFkX3R5cGVzJztcbmNvbnN0IOWwj+exu+WumuS9jSA9ICdib2R5JiZhJztcbmNvbnN0IOWIhuexu+agh+mimCA9ICdhJiZUZXh0JztcbmNvbnN0IOWIhuexu+mTvuaOpSA9ICdhJiZocmVmJztcbmxldCB0cnVlX3VybCA9IGdldE15VmFy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HRpdGxlOiAn4oCc4oCc4oCd4oCdPHNtYWxsPuetvuWIsDwvc21hbGw+JyxcbiAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF9jZW50ZXJfMScsXG4gICAgICAgICAgICB1cmw6ICQoJycpLmxhenlSdWxlKChoLCBmKSA9PiB7XG4gICAgICAgICAgICAgICAgdmFyIHVybCA9IGggKyAnL3BsdWdpbi5waHA/aWQ9a19taXNpZ246c2lnbiZvcGVyYXRpb249cWlhbmRhbyZmb3JtaGFzaD0nICsgZiArICcmZm9ybWF0PWVtcHR5JztcblxuXG4gICAgICAgICAgICAgICAgdmFyIG0gPSBmZXRjaCh1cmwpO1xuICAgICAgICAgICAgICAgIGxldCBtZXMgPSBwZGZoKHBkZmgobSwgJ3Jvb3QmJlRleHQnKSwgJ1RleHQnKTtcbiAgICAgICAgICAgICAgICBpZiAobWVzLmluY2x1ZGVzKCflt7Lnrb4nKSkge1xuICAgICAgICAgICAgICAgICAgICB2YXIgaHRtbCA9IGZldGNoKGggKyAnL2hvbWUucGhwP21vZD1zcGFjZWNwJmFjPWNyZWRpdCZzaG93Y3JlZGl0PTEnKTtcbiAgICAgICAgICAgICAgICAgICAgdmFyIHAgPSBwZGZoKGh0bWwsICcuY3JlZGl0bCYmSHRtbCcpO1xuICAgICAgICAgICAgICAgICAgICB2YXIgdCA9IHBkZmgoJC5yZW1vdmVUYWcocCwgJ3NwYW4nKSwgJ1RleHQnKTtcbiAgICAgICAgICAgICAgICAgICAgJC5oYXNEb25lLnNhdmUoKTtcbiAgICAgICAgICAgICAgICAgICAgZGVsZXRlSXRlbSgncWlhbmRhbycpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gJ3RvYXN0Oi8vJyArIG1lcyArICdcXG7lvZPliY06ICcgKyB0XG4gICAgICAgICAgICB9LCBob21lLCBmb3JtaGFzaCksXG4gICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgIGlkOiAncWlhbmRhbycsXG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AgICB9KVxcbiAgICB9XFxuXFxuICAgIE1ZX1VSTCA9IGhvbWUgKyAnL3NlYXJjaC5waHA/a2V5PScgKyBrZXkgKyAnJnBhZ2U9JyArIHBhZ2U7XFxuICAgIGlmIChrZXkgIT0gJycpIHtcXG4gICAgICAgIGlmIChwYWdlID09IDEpIHtcXG4gICAgICAgICAgICB2YXIgaG9tZWh0bWwgPSBmZXRjaChNWV9VUkwsIHtcXG4gICAgICAgICAgICAgICAgaGVhZGVyczoge1xcbiAgICAgICAgICAgICAgICAgICAgJ0Nvb2tpZSc6IGNvb2tpZSxcXG4gICAgICAgICAgICAgICAgICAgICdSZWZlcmVyJzogaG9tZSxcXG4gICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogTU9CSUxFX1VBLFxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICBpZiAoaG9tZWh0bWwuaW5jbHVkZXMoJ+eZu+W9lScpKSB7XFxuICAgICAgICAgICAgICAgIGxvZygn5bCa5pyq55m75b2VJylcXG4gICAgICAgICAgICB9XFxuXFxuICAgICAgICAgICAgdmFyIGhhc2ggPSBwZGZoKGhvbWVodG1sLCBcXFwiaW5wdXRbbmFtZT1mb3JtaGFzaF0mJnZhbHVlXFxcIik7XFxuICAgICAgICAgICAgLy9sb2coaGFzaClcXG5cXG4gICAgICAgICAgICB2YXIganNvbiA9IEpTT04ucGFyc2UocG9zdChob21lICsgJy9zZWFyY2gucGhwP21vZD1mb3J1bScsIHtcXG4gICAgICAgICAgICAgICAgaGVhZGVyczoge1xcbiAgICAgICAgICAgICAgICAgICAgJ1JlZmVyZXInOiBob21lLFxcbiAgICAgICAgICAgICAgICAgICAgJ29yaWdpbic6IGhvbWUsXFxuICAgICAgICAgICAgICAgICAgICAnQ29va2llJzogY29va2llLFxcbiAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiBNT0JJTEVfVUEsXFxuICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgIGJvZHk6IHtcXG4gICAgICAgICAgICAgICAgICAgIG1vZDogJ2ZvcnVtJyxcXG4gICAgICAgICAgICAgICAgICAgIGZvcm1oYXNoOiBoYXNoLFxcbiAgICAgICAgICAgICAgICAgICAgc3JjaHR5cGU6ICd0aXRsZScsXFxuICAgICAgICAgICAgICAgICAgICBzcmhmaWQ6IDIsXFxuICAgICAgICAgICAgICAgICAgICBzcmhsb2NhbGl0eTogJ2ZvcnVtOjpmb3J1bWRpc3BsYXknLFxcbiAgICAgICAgICAgICAgICAgICAgc3JjaHR4dDogZ2V0UGFyYW0oJ2tleScpLFxcbiAgICAgICAgICAgICAgICAgICAgc2VhcmNoc3VibWl0OiAndHJ1ZScsXFxuICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgIG9ubHlIZWFkZXJzOiB0cnVlLFxcbiAgICAgICAgICAgICAgICAvL3JlZGlyZWN0OiBmYWxzZVxcbiAgICAgICAgICAgIH0pKTtcXG4gICAgICAgICAgICB2YXIgcnVybCA9IGpzb24udXJsO1xcbiAgICAgICAgICAgIHB1dE15VmFyKCdydXJsJywgcnVybClcXG4gICAgICAgIH1cXG5cXG4gICAgICAgIHZhciB1cmwgPSBnZXRNeVZhcigncnVybCcpICsgJyZwYWdlPScgKyBwYWdlO1xcbiAgICAgICAgaWYgKGdldE15VmFyKCdydXJsJykgPT0gJ2h0dHBzOi8vd3d3LjRraGRyLmNuL3NlYXJjaC5waHA/bW9kPWZvcnVtJykge1xcbiAgICAgICAgICAgIHRvYXN0KCfmkJzntKLov4fkuo7popHnuYHor7fnqI3lgJnlho3or5UnKVxcbiAgICAgICAgICAgIHNldFJlc3VsdChkKVxcbiAgICAgICAgfWVsc2V7XFxuXFxuICAgICAgICB2YXIgaHRtbCA9IGZldGNoKHVybCwge1xcbiAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgJ0Nvb2tpZSc6IGNvb2tpZSxcXG4gICAgICAgICAgICAgICAgJ1JlZmVyZXInOiBob21lLFxcbiAgICAgICAgICAgICAgICAnVXNlci1BZ2VudCc6IE1PQklMRV9VQSxcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9KVxcbiAgICAgICAgbGV0IHRwYWdlID0gJ+WFsSAxIOmhtSAnO1xcbiAgICAgICAgdHJ5IHtcXG4gICAgICAgICAgICB0cGFnZSA9IHBkZmgoaHRtbCwgJy5wZyYmc3BhbiYmdGl0bGUnKTtcXG4gICAgICAgIH0gY2F0Y2gge31cXG4gICAgICAgIGxldCB0cGFnZXN0ciA9IHRwYWdlICsgJyDlvZPliY0gJyArIHBhZ2UgKyAnIOmhtSc7XFxuICAgICAgICBsZXQgdHBhZ2VudW0gPSB0cGFnZS5yZXBsYWNlKC9bXjAtOV0vZywgJycpO1xcbiAgICAgICAgLy9sb2codHBhZ2VudW0pXFxuICAgICAgICBpZiAocGFnZSA+IHRwYWdlbnVtKSB7XFxuICAgICAgICAgICAgaWYgKHBhZ2UgIT0gMSkge1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfigJzigJzigJ3igJ08c21hbGw+5Yiw5bqV5LqGPC9zbWFsbD4nLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICd0ZXh0X2NlbnRlcl8xJyxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHknLFxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICBwdXRNeVZhcignaXNkb3duJywgJzEnKVxcbiAgICAgICAgICAgIHNldFJlc3VsdChkKTtcXG4gICAgICAgIH1cXG5cXG4gICAgICAgIGlmIChwYWdlID09IDEpIHtcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogJycgKyBwZGZoKGh0bWwsICcudGwmJmgyJiZUZXh0JyksXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF9jZW50ZXJfMScsXFxuICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHknLFxcbiAgICAgICAgICAgIH0pXFxuICAgICAgICB9XFxuXFxuICAgICAgICBpZiAoZ2V0TXlWYXIoJ2lzZG93bicpICE9ICcxJykge1xcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiAn4oCc4oCc4oCd4oCdPHNtYWxsPicgKyB0cGFnZXN0ciArICc8L3NtYWxsPicsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF9jZW50ZXJfMScsXFxuICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHknLFxcbiAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgdmFyIGxpc3QgPSBwZGZhKGh0bWwsICcjdGhyZWFkbGlzdCYmbGknKTsgLy/liJfooahcXG5cXG4gICAgICAgICAgICBmb3IgKGxldCBpdGVtIG9mIGxpc3QpIHtcXG4gICAgICAgICAgICAgICAgdmFyIHUgPSBwZChpdGVtLCAnYSYmaHJlZicpO1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHBkZmgoaXRlbSwgJ2EmJlRleHQnKSwgLy/moIfpophcXG4gICAgICAgICAgICAgICAgICAgIGRlc2M6IHBkZmgoaXRlbSwgJycpLCAvL+esrOWHoOmbhuaIlua4heaZsOW6plxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiBcXFwiaGlrZXI6Ly9wYWdlL2VyP3J1bGU9XFxcIiArIHJ1bGUgKyBcXFwiJnU9XFxcIiArIGJhc2U2NEVuY29kZSh1KSArIFxcXCIjaW1tZXJzaXZlVGhlbWUjXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF8xJyxcXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICA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F90eXBlOiBjb2xfdHlwZSxcXG4gICAgICAgIGltZzogaXRlbS5pbWcsXFxuICAgICAgICBkZXNjOiBkZXNjLFxcbiAgICAgICAgdGl0bGU6IGl0ZW0udGl0bGUsXFxuICAgICAgICB1cmw6IGl0ZW0udXJsLFxcbiAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICBpZDogaWQrJ2JhcicsXFxuICAgICAgICB9XFxuICAgIH0pXFxuXFxuICAgIGlmIChzdGFydCA9PSBmYWxzZSB8fCBnZXRNeVZhcignYmVuc3RhcnQnLCAndHJ1ZScpID09ICdmYWxzZScpIHtcXG4gICAgICAgIHVuUmVnaXN0ZXJUYXNrKGlkKVxcbiAgICAgICAgcmV0dXJuXFxuICAgIH1cXG5cXG4gICAgbGV0IG9iaiA9IHtcXG4gICAgICAgIGRhdGE6IGRhdGEsXFxuICAgIH07XFxuXFxuICAgIHJlZ2lzdGVyVGFzayhpZCwgdGltZSwgJC50b1N0cmluZygob2JqLGlkKSA9PiB7XFxuICAgICAgICB2YXIgZGF0YSA9IG9iai5kYXRhO1xcbiAgICAgICAgdmFyIHJ1bSA9IGdldE15VmFyKCdybnVtJyk7XFxuXFxuICAgICAgICB2YXIgaSA9IE51bWJlcihnZXRNeVZhcignYmFubmVyaScsICcwJykpO1xcbiAgICAgICAgaWYgKHJ1bSAhPSAnJykge1xcbiAgICAgICAgICAgIGkgPSBOdW1iZXIocnVtKSArIDFcXG4gICAgICAgICAgICBjbGVhck15VmFyKCdybnVtJylcXG4gICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgaSA9IGkgKyAxO1xcbiAgICAgICAgfVxcbiAgICAgICAgLy9sb2coaSlcXG4gICAgICAgIC8vbG9nKGRhdGEubGVuZ3RoKVxcblxcbiAgICAgICAgaWYgKGkgPiBkYXRhLmxlbmd0aCAtIDEpIHtcXG4gICAgICAgICAgICBpID0gMFxcbiAgICAgICAgfVxcbiAgICAgICAgdmFyIGl0ZW0gPSBkYXRhW2ldO1xcbiAgICAgICAgLy9sb2coaXRlbSlcXG4gICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgdXBkYXRlSXRlbShpZCsnYmFyJywge1xcbiAgICAgICAgICAgICAgICB0aXRsZTogaXRlbS50aXRsZSxcXG4gICAgICAgICAgICAgICAgaW1nOiBpdGVtLmltZyxcXG4gICAgICAgICAgICAgICAgdXJsOiBpdGVtLnVybCxcXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgIC8vbmFtZTogaXRlbS50aXRsZS5yZXBsYWNlKC88W14+XSs+L2csICcnKSxcXG4gICAgICAgICAgICAgICAgICAgIC8vc25hbWU6IGl0ZW0uZXh0cmEuc25hbWUsXFxuICAgICAgICAgICAgICAgICAgICAvL3N0eXBlOiBpdGVtLmV4dHJhLnN0eXBlLFxcbiAgICAgICAgICAgICAgICAgICAgLy9zdXJsOiBpdGVtLnVybCxcXG4gICAgICAgICAgICAgICAgICAgIC8vaW1nOml0ZW0uaW1nLFxcbiAgICAgICAgICAgICAgICAgICAgLy9wYWdlVGl0bGU6IGl0ZW0udGl0bGUucmVwbGFjZSgvPFtePl0rPi9nLCAnJyksXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfSBjYXRjaCAoZSkge1xcbiAgICAgICAgICAgIGxvZyhlLm1lc3NhZ2UpXFxuICAgICAgICAgICAgdW5SZWdpc3RlclRhc2soaWQpXFxuICAgICAgICB9XFxuICAgICAgICBwdXRNeVZhcignYmFubmVyaScsIGkpO1xcblxcbiAgICB9LCBvYmosaWQpKVxcbn1cIn1dIiwiaWNvbiI6Imh0dHBzOi8vd3d3LjRraGRyLmNuL2Zhdmljb24uaWNvIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment