xiaomianao666

小程序:黃品匯(汤头条)

Oct 30th, 2024
743
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@黃品匯(汤头条)@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6buD5ZOB5YyvKOaxpOWktOadoSkiLCJhdXRob3IiOiIiLCJ1cmwiOiJoaWtlcjovL2VtcHR5IyN7XCJzeXN0ZW1fb2F1dGhfdHlwZVwiOlwicHdhXCIsXCJzeXN0ZW1fb2F1dGhfaWRcIjpcImVnem1KZ25VQ1RZSWxDeERfMTcyMjQxNjA1NTc4MlwiLFwic3lzdGVtX29hdXRoX25ld19pZFwiOlwiXCIsXCJzeXN0ZW1fdmVyc2lvblwiOlwiMy4wLjFcIixcInN5c3RlbV9hcHBfdHlwZVwiOlwiXCIsXCJzeXN0ZW1fYnVpbGRcIjpcIlwiLFwic3lzdGVtX2J1aWxkX2lkXCI6XCJcIixcInBhZ2VcIjpcImZ5cGFnZVwiLFwidGFiSWRcIjpcImZ5Y2xhc3NcIn0iLCJ2ZXJzaW9uIjoxLCJjb2xfdHlwZSI6Im1vdmllXzIiLCJjbGFzc19uYW1lIjoi5LuK5pel5aS05p2hJuacgOaWsCbnu4/lhbjkuInnuqcm5Zu95LqnJuWKqOa8q0NHJuasp+e+jibml6Xpn6kiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIxMSYxMCY1JjQmMTImMiYxIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6IFxudmFyIGQgPSBbXTtcbmlmIChNWV9QQUdFID09IDEpIHtcbiAgICBkLnB1c2goe8KgwqDCoFxuICAgICAgICB0aXRsZTogXCLmkJzntKJcIixcbiAgICAgICAgwqDCoM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gICAgICAgICAgICAgUGFja2FnZXMuamF2YS5zZWN1cml0eSxcXG4gICAgICAgICAgICAgICAgICAgIFBhY2thZ2VzLmphdmEudXRpbCxcXG4gICAgICAgICAgICAgICAgICAgIFBhY2thZ2VzLmphdmEuaW8sXFxuICAgICAgICAgICAgICAgICAgICBQYWNrYWdlcy5qYXZhLnRleHQsXFxuICAgICAgICAgICAgICAgICAgICBQYWNrYWdlcy5qYXZheC5jcnlwdG8sXFxuICAgICAgICAgICAgICAgICAgICBQYWNrYWdlcy5qYXZheC5jcnlwdG8uc3BlYyxcXG4gICAgICAgICAgICAgICAgKTtcXG4gICAgICAgICAgICAgICAgd2l0aChqYXZhSW1wb3J0KSB7XFxuICAgICAgICAgICAgICAgICAgICBsZXQgYnl0ZXMgPSBGaWxlVXRpbC50b0J5dGVzKGlucHV0KTtcXG4gICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uIGRlY3J5cHREYXRhKGJBcnIpIHtcXG5cXHRcXHQgICAgaWYoL0JALy50ZXN0KFxcXCIke2tleX1cXFwiKSl7XFxuICAgICAgXFx0XFx0XFx0dmFyIHNlY3JldEtleVNwZWMgPSBuZXcgU2VjcmV0S2V5U3BlYyhTdHJpbmcoXFxcIiR7a2V5fVxcXCIpLCBcXFwiJHthfVxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgXFx0dmFyIGl2UGFyYW1ldGVyU3BlYyA9IG5ldyBJdlBhcmFtZXRlclNwZWMoU3RyaW5nKFxcXCIke2l2fVxcXCIpKTtcXG5cXHRcXHQgICAgfWVsc2V7XFxuXFx0XFx0ICAgIFxcdHZhciBzZWNyZXRLZXlTcGVjID0gbmV3IFNlY3JldEtleVNwZWMoU3RyaW5nKFxcXCIke2tleX1cXFwiKS5nZXRCeXRlcygpLCBcXFwiJHthfVxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgXFx0dmFyIGl2UGFyYW1ldGVyU3BlYyA9IG5ldyBJdlBhcmFtZXRlclNwZWMoU3RyaW5nKFxcXCIke2l2fVxcXCIpLmdldEJ5dGVzKCkpO1xcblxcdFxcdCAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgXFx0dmFyIGNpcGhlciA9IENpcGhlci5nZXRJbnN0YW5jZShcXFwiJHthfVxcXCIrXFxcIi9DQkMvXFxcIitcXFwiJHtifVxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgXFx0Y2lwaGVyLmluaXQoMiwgc2VjcmV0S2V5U3BlYywgaXZQYXJhbWV0ZXJTcGVjKTtcXG4gICAgICAgICAgICAgICAgICAgXFx0IHJldHVybiBjaXBoZXIuZG9GaW5hbChiQXJyKTtcXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIGJ5dGVzID0gZGVjcnlwdERhdGEoYnl0ZXMpO1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIEZpbGVVdGlsLnRvSW5wdXRTdHJlYW0oYnl0ZXMpO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSAgICAgICAgICAgICAgICAgICAgXFxuICAgICAgICBgO1xcbiAgICAgICAgcHV0VmFyKCdzc3MnLCBzc3MpO1xcbiAgICAgICAgdmFyIGltZ2RlYyA9ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgIGV2YWwoZ2V0VmFyKCdzc3MnKSk7XFxuICAgICAgICAgICAgcmV0dXJuIGltZ0RlY3J5cHQoKTtcXG4gICAgICAgIH0pOyAgICAgICAgXFxuICAgICAgICBwdXRWYXIoJ2ltZ2RlYycsIGltZ2RlYyk7XFxuICAgICAgICByZXR1cm4gaW1nZGVjO1xcbn1cIn1dIiwiaWNvbiI6IiIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment