Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_含羞草妖火-(戏子。)ID:19563@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICBOZXcgVXNlcnNjcmlwdAovLyBAbmFtZXNwYWNlICAgIGh0dHA6Ly90YW1wZXJtb25rZXkubmV0LwovLyBAdmVyc2lvbiAgICAgIDAuMQovLyBAZGVzY3JpcHRpb24gIHRyeSB0byB0YWtlIG92ZXIgdGhlIHdvcmxkIQovLyBAYXV0aG9yICAgICAgIFlvdQovLyBAbWF0Y2ggICAgICAgKjovLyovKgovLyBAbWF0Y2ggICAgICAgICo6Ly8qL3BsYXkvdmlkZW8vKgovLyBAbWF0Y2ggICAgICAgICo6Ly8qL2xpdmUvKgovLyBAbWF0Y2ggICAgICAgICo6Ly9oNS4qLmNvbS9ob21lCi8vIEBtYXRjaCAgICAgICAgKjovL2g1LiouY24vaG9tZQovLyBAbWF0Y2ggICAgICAgICo6Ly93d3cuKi5jb20vaG9tZQovLyBAbWF0Y2ggICAgICAgICo6Ly93d3cuKi5jbi9ob21lCi8vIEBtYXRjaCAgICAgICAgKjovL2g1LiouY29tL3BsYXkvdmlkZW8vKgovLyBAbWF0Y2ggICAgICAgICo6Ly9oNS4qLmNuL3BsYXkvdmlkZW8vKgovLyBAbWF0Y2ggICAgICAgICo6Ly93d3cuKi5jb20vcGxheS92aWRlby8qCi8vIEBtYXRjaCAgICAgICAgKjovL3d3dy4qLmNuL3BsYXkvdmlkZW8vKgovLyBAaWNvbiAgICAgICAgIGh0dHBzOi8vd3d3Lmdvb2dsZS5jb20vczIvZmF2aWNvbnM/c3o9NjQmZG9tYWluPTNranMuY29tCi8vIEBncmFudCAgICAgICAgbm9uZQovLyA9PS9Vc2VyU2NyaXB0PT0KCihmdW5jdGlvbiAoKSB7CiAgJ3VzZSBzdHJpY3QnOwoKICBjb25zdCBsb2FkSlMgPSB1cmwgPT4gew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7CiAgfTsKCiAgLyoqCiAgICog6K+35rGC5bCB6KOFCiAgICogQHBhcmFtIHtzdHJpbmd9IHVybAogICAqIEBwYXJhbSB7b2JqZWN0fSBib2R5CiAgICogQHJldHVybnMKICAgKi8KICBjb25zdCBmZXRjaERhdGEgPSBhc3luYyAodXJsLCBib2R5KSA9PiB7CiAgICBpZiAoIXdpbmRvdy5DcnlwdG9KUykgewogICAgICBhd2FpdCBsb2FkSlMoCiAgICAgICAgJ2h0dHBzOi8vY2RuLmJvb3RjZG4ubmV0L2FqYXgvbGlicy9jcnlwdG8tanMvNC4xLjEvY3J5cHRvLWpzLm1pbi5qcycKICAgICAgKTsKICAgIH0KICAgIGNvbnN0IHQgPSBuZXcgRGF0ZSgpOwogICAgcmV0dXJuIGZldGNoKHVybCwgewogICAgICBtZXRob2Q6ICdwb3N0JywKICAgICAgYm9keTogSlNPTi5zdHJpbmdpZnkoewogICAgICAgIGVuZGF0YTogRW5jcnlwdChKU09OLnN0cmluZ2lmeShib2R5KSksCiAgICAgICAgZW50czogRW5jcnlwdCgKICAgICAgICAgIHBhcnNlSW50KHQuZ2V0VGltZSgpIC8gMWUzKSArIDYwICogdC5nZXRUaW1lem9uZU9mZnNldCgpICsgMQogICAgICAgICkKICAgICAgfSksCiAgICAgIGhlYWRlcnM6IHsKICAgICAgICAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nCiAgICAgIH0KICAgIH0pOwogIH07CgogIC8qKgogICAqIOiOt+WPluinhumikeaSreaUvuWcsOWdgAogICAqIEByZXR1cm5zIHtQcm9taXNlPHN0cmluZz59CiAgICovCiAgY29uc3QgaGFuZGxlR2V0VmlkZW9VcmwgPSBhc3luYyAoKSA9PiB7CiAgICBjb25zdCBocmVmID0gbG9jYXRpb24uaHJlZjsKICAgIGNvbnN0IGlzRGV0YWlsID0gaHJlZi5pbmNsdWRlcygncGxheS92aWRlbycpOwogICAgaWYgKGlzRGV0YWlsKSB7CiAgICAgIGNvbnN0I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