xiaomianao666

小程序:91,短视频

Dec 31st, 2024
763
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@91,短视频@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiOTHvvIznn63op4bpopEiLCJhdXRob3IiOiJodHRwczovLzkxc2hvcnQuY29tIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjZnlwYWdlIiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zX21hcnF1ZWUiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6Im90aGVyIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG4vKiogQHR5cGUgbGF5b3V0W10gKi9cbnZhciBsYXlvdXRzID0gW107XG5pZiAoTVlfUEFHRSA9PT0gMSkgbGF5b3V0cyA9IHN0b3JhZ2UwLmdldE15VmFyKCdpdGVtcycpO1xuY29uc3QgeyBpbWFnZSwgbGF6eVJ1bGUgfSA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL3Rvb2xzJyk7XG5sZXQgaHRtbDtcbmxldCB0eXBlID0gZ2V0TXlWYXIoJ3R5cGUnKTtcblxuaWYgKE1ZX1BBR0UgPT09IDEpIHtcbiAgbGV0IHVybCA9ICdodHRwczovL2NuMS45MXNob3J0LmNvbScgKyAodHlwZSA9PT0gJ3Nob3J0JyA/IGdldE15VmFyKCdzaG9ydCcpIDogZ2V0TXlWYXIoJ2ZpbG0nKSk7XG4gIGlmICh0eXBlID09PSAnYWN0b3InKSB1cmwgPSAnaHR0cHM6Ly9jbjEuOTFzaG9ydC5jb20vZmlsbS9ob21lX2FjdG9yX2xpc3QnO1xuICBodG1sID0g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c2hvcnQvbGFiZWxfcmVsYXRlZF9saXN0LzNRVzhsT2RCY2xzJTNEJyxcclxuICAgICAgICAgICAgICAnL3Nob3J0L2xhYmVsX3JlbGF0ZWRfbGlzdC9GMTZ3Q0ozTG1XWSUzRCcsXHJcbiAgICAgICAgICAgICAgJy9zaG9ydC9sYWJlbF9yZWxhdGVkX2xpc3QvLTBTMUx3a3NrVTQlM0QnLFxyXG4gICAgICAgICAgICBdLFxyXG4gICAgICAgICAgfSxcclxuICAgICAgICBdLFxyXG4gICAgICAgIFtcclxuICAgICAgICAgIHtcclxuICAgICAgICAgICAgdGl0bGU6ICdmaWxtJyxcclxuICAgICAgICAgICAgbmFtZXM6IFsn5o6o6I2QJywgJ+S4k+mimCcsICfml6DigI7noIEnLCAn5Lit5paHJywgJ+WKqOa8qycsICfnu4/lhbjkuInnuqcnLCAn5qyn576O5oCn4oCO54ixJywgJ0FW6Kej6K+0J10sXHJcbiAgICAgICAgICAgIGlkczogW1xyXG4gICAgICAgICAgICAgICcvZmlsbS9ob21lX3JlY29tbWVuZF9saXN0JyxcclxuICAgICAgICAgICAgICAnL2ZpbG0vaG9tZV9zdWJqZWN0X2xpc3QnLFxyXG4gICAgICAgICAgICAgICcvZmlsbS9ob21lX2NhdGVnb3J5X2xpc3QvY29kZWQnLFxyXG4gICAgICAgICAgICAgICcvZmlsbS9ob21lX2NhdGVnb3J5X2xpc3QvY2hpbmVzZV9zdWJ0aXRsZScsXHJcbiAgICAgICAgICAgICAgJy9maWxtL2hvbWVfbGlzdC9qT1N4YS00RTI3VSUzRCcsXHJcbiAgICAgICAgICAgICAgJy9maWxtL2hvbWVfbGlzdC91WmcwdkRMOFA4QSUzRCcsXHJcbiAgICAgICAgICAgICAgJy9maWxtL2hvbWVfbGlzdC9MYmxlamlFbk02cyUzRCcsXHJcbiAgICAgICAgICAgICAgJy9maWxtL2hvbWVfbGlzdC92SnFfR3pSaWVzUSUzRCcsXHJcbiAgICAgICAgICAgIF0sXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgIF0sXHJcbiAgICAgIF0sXHJcbiAgICB9LFxyXG4gIF07XHJcbiAgc3RvcmFnZTAucHV0TXlWYXIoJ3RhYnMnLCB0YWJzKTtcclxufVxyXG5cclxubGV0IGl0ZW1zID0gW107XHJcbmZ1bmN0aW9uIHNldFRhYnModGFicykge1xyXG4gIGlmICghdGFicykgcmV0dXJuO1xyXG4gIGZvciAobGV0IGRhdGEgb2YgdGFicykge1xyXG4gICAgZ2V0TXlWYXIoZGF0YS50aXRsZSkgfHwgcHV0TXlWYXIoZGF0YS50aXRsZSwgZGF0YS5pZHNbMF0pO1xyXG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCBkYXRhLm5hbWVzLmxlbmd0aDsgaSsrKSB7XHJcbiAgICAgIGl0ZW1zLnB1c2goe1xyXG4gICAgICAgIHRpdGxlOlxyXG4gICAgICAgICAgZ2V0TXlWYXIoZGF0YS50aXRsZSkgPT09IGRhdGEuaWRzW2ldXHJcbiAgICAgICAgICAgID8gYOKAnOKAnOKAneKAnTxmb250IGNvbG9yPVwiIzEyYjY2OFwiPjxiPiR7ZGF0YS5uYW1lc1tpXX08L2I+PC9mb250PmBcclxuICAgICAgICAgICAgOiBkYXRhLm5hbWVzW2ldLFxyXG4gICAgICAgIHVybDogJCgnI25vTG9hZGluZyMnKS5sYXp5UnVsZShcclxuICAgICAgICAgICh0aXRsZSwgaWQpID0+IHtcclxuICAgICAgICAgICAgaWYgKGdldE15VmFyKHRpdGxlKSAhPT0gaWQpIHtcclxuICAgICAgICAgICAgICBwdXRNeVZhcih0aXRsZSwgaWQpO1xyXG4gICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcclxuICAgICAgICAgIH0sXHJcbiAgICAgICAgICBkYXRhLnRpdGxlLFxyXG4gICAgICAgICAgZGF0YS5pZHNbaV1cclxuICAgICAgICApL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AgICAgIC5zcGxpdCgnXFxcIicpWzBdXFxyXFxuICAgICAgICAgICAgICAgICsgICAgICAgICAgICAnO3tSZWZlcmVyQGh0dHBzOi8vaGEubGlsb25nZmVpLmNuL30nXFxyXFxuICAgIClcXHJcXG4kLmV4cG9ydHMgPSB7XFxyXFxuICAgIGltYWdlLFxcclxcbiAgICBsYXp5UnVsZSxcXHJcXG59XFxyXFxuXCJ9XSIsImljb24iOiJodHRwczovL2ljb25mLm9zcy1hY2NlbGVyYXRlLmFsaXl1bmNzLmNvbS9uby9pY29uLTE1MngxNTIucG5nIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment