Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@奇艺影院@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6ImpzOlxudmFyIGNocCA9IFtdO1xudHJ5IHtcbiAgICB2YXIgaHRtbCA9IGdldFJlc0NvZGUoKTtcbiAgICB2YXIgY29udHMgPSBwYXJzZURvbUZvckFycmF5KGh0bWwsICdib2R5JiYubW9kdWxlLXBsYXllci1saXN0Jyk7XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCBjb250cy5sZW5ndGg7IGkrKykge1xuICAgICAgICB2YXIgbGlzdCA9IHBkZmEoY29udHNbaV0sICdib2R5JiYuc2Nyb2xsLWNvbnRlbnQmJmEnKTtcbiAgICAgICAgY2hwLnB1c2gobGlzdC5sZW5ndGgpO1xuICAgIH1cbn0gY2F0Y2ggKGUpIHt9XG5zZXRSZXN1bHQoJ+abtOaWsOiHszonICsgKE1hdGgubWF4LmFwcGx5KG51bGwsIGNocCkpKTsiLCJ0aXRsZSI6IuWlh+iJuuW9semZoiIsImF1dGhvciI6IummmembheaDhSIsInVybCI6Imhpa2VyOi8vZW1wdHkjZnlBbGwjaHR0cHM6Ly93d3cuaXFpeWkub25lL2luZGV4LnBocC92b2Qvc2hvdy9pZC9meUFsbC9wYWdlL2Z5cGFnZS5odG1sIiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IummlumhtSbnlLXlvbEm6L+e57ut5YmnJuWKqOa8qybnu7zoibom5bCR5YS/IiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoi6aaW6aG1JjEmMiY0JjMmMzAiLCJhcmVhX25hbWUiOiLliqjkvZzniYcm5Zac5Ymn54mHJueIseaDheeJhybnp5HlubvniYcm5oGQ5oCW54mHJuWJp+aDheeJhybmiJjkuonniYcm5oOK5oKa54mHJueKr+e9queJhyblhpLpmanniYcm5oKs55aR54mHJu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ldLCAnYSYmdGl0bGUnKTtcbiAgICAgICAgICAgIHZhciBpbWcgPSBwYXJzZURvbUZvckh0bWwobGlzdFtpXSwgJy5tb2R1bGUtaXRlbS1waWMmJmltZyYmZGF0YS1zcmMnKTtcbiAgICAgICAgICAgIGlmIChpbWcuc3Vic3RyaW5nKDAsIDQpID09ICdodHRwJykge1xuICAgICAgICAgICAgICAgIGltZyA9IGltZztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaW1nID0gZG9tYWluICsgaW1nXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB2YXIgdXJsID0gcGFyc2VEb21Gb3JIdG1sKGxpc3RbaV0sICdhJiZocmVmJyk7XG4gICAgICAgICAgICB2YXIgZGVzYyA9IHBhcnNlRG9tRm9ySHRtbChsaXN0W2ldLCAnLm1vZHVsZS1pdGVtLXRleHQmJlRleHQnKTtcbiAgICAgICAgICAgIGl0ZW1zLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiB0aXRsZSxcbiAgICAgICAgICAgICAgICBwaWNfdXJsOiBpbWcgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgICAgICAgICB1cmw6IGRvbWFpbiArIHVybCArIFwiI2ltbWVyc2l2ZVRoZW1lI1wiLFxuICAgICAgICAgICAgICAgIGRlc2M6IGRlc2NcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG5cbiAgICB9XG59IGNhdGNoIChlKSB7fVxuXG5yZXMuZGF0YSA9IGl0ZW1zO1xuc2V0SG9tZVJlc3VsdChyZXMpOyIsInNlYXJjaF91cmwiOiJodHRwczovL3d3dy5pcWl5aS5vbmUvaW5kZXgucGhwL3ZvZC9zZWFyY2gvcGFnZS9meXBhZ2Uvd2QvKiouaHRtbCIsImdyb3VwIjoi4pGh5b2x5pCcIiwic2VhcmNoRmluZCI6ImpzOlxudmFyIHJlcyA9IHt9O1xudmFyIGl0ZW1zID0gW107XG52YXIgaHRtbCA9IGdldFJlc0NvZ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y9wbGF5ZXIvJyArIGZybyArICcuanMnLCB7fSkubWF0Y2goL3NyYz1cXFwiKC4qPylcXFwiLylbMV0uc3BsaXQoXCInXCIpWzBdO1xuICAgICAgICB9XG4gICAgICAgIGlmIChqaWVrICE9ICcnKSB7XG4gICAgICAgICAgICBpZiAoamllay5zdWJzdHJpbmcoMCwgNCkgPT0gJ2h0dHAnKSB7XG4gICAgICAgICAgICAgICAgamllayA9IGppZWs7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGppZWsuc3Vic3RyaW5nKDAsIDIpID09ICdcXC9cXC8nKSB7XG4gICAgICAgICAgICAgICAgamllayA9ICdodHRwczonICsgamllaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICAvL2xvZyhqaWVrKTtcbiAgICAgICAgcmVxdWlyZUNhY2hlKCdodHRwczovL2NvZGUuYWxpeXVuLmNvbS9semsyMzU1OS9QdWJsaWNSdWxlL3Jhdy9tYXN0ZXIveDVydWxlLmpzJywgMjQpO1xuICAgICAgICByZXR1cm4geDVydWxlKGppZWsgKyB1cmxsLCBpbnB1dCk7XG5cbiAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgIHJlcXVpcmVDYWNoZSgnaHR0cHM6Ly9jb2RlLmFsaXl1bi5jb20vbHprMjM1NTkvUHVibGljUnVsZS9yYXcvbWFzdGVyL3g1cnVsZS5qcycsIDI0KTtcbiAgICAgICAgcmV0dXJuIHg1cnVsZShpbnB1dCwgaW5wdXQpO1xuICAgIH1cbn0pO1xudmFyIHRhYnMgPSBwYXJzZURvbUZvckFycmF5KGh0bWwsICcubW9kdWxlLXBsYXllci10YWImJi5tb2R1bGUtdGFiLWl0ZW0nKTtcbnZhciBjb250cyA9IHBhcnNlRG9tRm9yQXJyYXkoaHRtbCwgJ2JvZHkmJi5tb2R1bGUtcGxheWVyLWxpc3QnKTtcbnZhciBsaXN0bGVuID0gcGFyc2VEb21Gb3JBcnJheShjb250c1swXSwgJ2JvZHkmJi5tb2R1bGUtcGxheWVyLWxpc3QmJi5zY3JvbGwtY29udGVudCYmYScpO1xuXG52YXIgdGh1bWIgPSBwYXJzZURvbShodG1sLCBcIi5tb2R1bGUtaXRlbS1waWMmJmltZyYmZGF0YS1zcmNcIik7XG5kLnB1c2goe1xuICAgIHRpdGxlOiAn5Ymn5oOF566A5LuL77yaJyArICcgICAg5YWxJyArIGNvbnRzLmxlbmd0aCArICfmnaHnur/ot68nLFxuICAgIGRlc2M6IHBhcnNlRG9tRm9ySHRtbChodG1sLCBcIi52aWRlby1pbmZvLWl0ZW1zLC0xJiZUZXh0XCIpLFxuICAgIHBpY191cmw6IHRodW1iLFxuICAgIHVybDogdGh1bWIsXG4gICAgY29sX3R5cGU6ICdtb3ZpZV8xX3ZlcnRpY2FsX3BpY19ibHVyJ1xufSk7XG5cbmZ1bmN0aW9uIGRwc2gobGlzdCkge1xuICAgIGZvciAodmFyIGogaW4gbGlzdCkge1xuICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6IHBhcnNlRG9tRm9ySHRtbChsaXN0W2pdLCBcImEmJlRleHRcIiksXG4gICAgICAgICAgICB1cmw6IHBhcnNlRG9tKGxpc3Rbal0sIFwiYSYmaHJlZlwiKSArIGxhenksXG4gICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgIGlkOiBwYXJzZURvbShsaXN0W2pdLCBcImEmJmhyZWZcIiksXG4gICAgICAgICAgICAgICAgcmVmZXJlcjogJ2h0dHBzOi8vd3d3LmlxaXlpLm9uZSdcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMydcbiAgICAgICAgfSk7XG4gICAgfVxufTtcblxuaWYgKHRhYnMubGVuZ3RoID4gMSAmJiBsaXN0bGVuLmxlbmd0aCA+IDEyKSB7XG4gICAgdmFyIHRpdGxlID0gJ3F5eXMnICsgcGFyc2VEb21Gb3JIdG1sKGh0bWwsICcudmlkZW8taW5mbyYmaDEmJlRleHQnKTtcb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KT09JzEnPycwJzonMScpO3JlZnJlc2hQYWdlKCk7J3RvYXN0Oi8v5YiH5o2i5oiQ5Yqf77yBJ1wiLFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF8xJ1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBkcHNoKGxpc3QpO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5cbi8v5LqM57qn5qih5p2/Ynnpppnpm4Xmg4VcbnJlcy5kYXRhID0gZDtcbnNldEhvbWVSZXN1bHQocmVzKTsiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiKiIsInVhIjoibW9iaWxlIiwicHJlUnVsZSI6IiIsInBhZ2VzIjoiW10iLCJpY29uIjoiaHR0cHM6Ly93d3cuaXFpeWkub25lL3RlbXBsYXRlL214b25lL2ltZy9sb2dvLnBuZyJ9
Add Comment
Please, Sign In to add comment