Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_ 91pornVIP观看下载搜索限制,去除广告,付费视频等,@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICA5MXBvcm4g6Kej6ZSBVklQ6KeC55yL6auY5riF5LiL6L295pCc57Si562J6ZmQ5Yi2LOWOu+mZpOW5v+WRii7mraPliJnniYjpgJrmnYDmiYDmnIkgZm9yIG9wZW51c2VyanMKLy8gQGRlc2NyaXB0aW9uICBodHRwczovL2dpdGh1Yi5jb20vOTFwMjAyMi85MSDop6PplIE5MXBvcm5WSVDop4LnnIvkuIvovb3mkJzntKLpmZDliLYs5Y676Zmk5bm/5ZGKLOS7mOi0ueinhumikeetiSzorablkYo65pys6ISa5pys5peg5Lu75L2V55uI5Yip5pa55byPLOinpueKr+afkOaUtui0ueS4lOWQq+acieebkeaOp+i/vei4quS7o+eggeiEmuacrCznlq/ni4LkuL7miqXkuJTnlKjkuJTnj43mg5ws6K+35L+d5oqk5aW95Liq5Lq66LSi5Lqn5ZKM6ZqQ56eBLgovLyBAY29weXJpZ2h0ICAgIGh0dHBzOi8vdC5tZS9zdmlwcG9ybgovLyBAaWNvbiAgICAgICAgIGh0dHBzOi8vd3d3Lmdvb2dsZS5jb20vczIvZmF2aWNvbnM/c3o9NjQmZG9tYWluPTkxcG9ybi5jb20KLy8gQHZlcnNpb24gICAgICAwLjUuMQovLyBAYXV0aG9yICAgICAgIGh0dHBzOi8vdC5tZS9zdmlwcG9ybgovLyBAbGljZW5zZSAgICAgIEFHUEwtMy4wLW9ubHkKLy8gQGhvbWVwYWdlVVJMICBodHRwczovL3QubWUvc3ZpcHBvcm4KLy8gQG1hdGNoICAgICAgICAqLjkxcG9ybi5jb20vKgovLyBAbWF0Y2ggICAgICAgICo6Ly8qL3ZpZXdfdmlkZW8ucGhwKgovLyBAbWF0Y2ggICAgICAgICo6Ly8qL2luZGV4LnBocCoKL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ogICAgZWxzZQogICAgewogICAgICAgIGNvbnNvbGUubG9nKCLml6Dms5Xmib7liLBib3hwYXJ0Iik7CiAgICB9Cn0KZnVuY3Rpb24gUmVtb3ZlQmFubmVyQWQoKQp7CiAgICB2YXIgQWRfSW1hZ2UgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5Q2xhc3NOYW1lKCJhZF9pbWciKTsvL+W5v+WRiueahOWbvueJhwogICAgZm9yKHZhciBpPTA7aTxBZF9JbWFnZS5sZW5ndGg7aSsrKQogICAgewogICAgICAgIGNvbnNvbGUubG9nKCLmraPlnKjnp7vpmaTnrKwiKyhpKzEpKyLkuKrlub/lkYoiKTsKICAgICAgICBBZF9JbWFnZVtpXS5zZXRBdHRyaWJ1dGUoInN0eWxlIiwiZGlzcGxheTpub25lIik7CiAgICB9CiAgICBpZihsb2NhdGlvbi5ocmVmLmluY2x1ZGVzKCJpbmRleC5waHAiKSkKICAgIHsKICAgICAgICB2YXIgVGltZXIgPSBzZXRJbnRlcnZhbCgoKT0+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgewogICAgICAgIHZhciBJbiA9IGRvY3VtZW50LmV2YWx1YXRlKCcvaHRtbC9ib2R5L2Rpdls0XS9kaXZbMV0vZGl2WzNdL2Rpdi90ZXh0KCknLGRvY3VtZW50KS5pdGVyYXRlTmV4dCgpOwogICAgICAgIGlmKEluIT11bmRlZmluZWQpCiAgICAgICAgewogICAgICAgICAgICBJbi5yZW1vdmUoKTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgIHsKICAgICAgICAgICAgY2xlYXJJbnRlcnZhbChUaW1lcik7CiAgICAgICAgfQogICAgICAgIH0sMTApOwogICAgfQp9CmZ1bmN0aW9uIExvYWRfM1U4QXBpKCkKewoKICAgICAgICAgIC8vIOazqOWFpWh0bWwKICAgICAgICAgICBsZXQgJHNlY3Rpb24gPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdzZWN0aW9uJyk7CiAgICAgICAgICAkc2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