xiaomianao666

插件名:global_含羞草研究所免费看#0

Nov 5th, 2024
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_含羞草研究所免费看#0@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICDlkKvnvp7ojYnnoJTnqbbmiYDlhY3otLnnnIsKLy8gQG5hbWVzcGFjZSAgICBodHRwOi8vdGFtcGVybW9ua2V5Lm5ldC8KLy8gQHZlcnNpb24gICAgICAyLjEuNgovLyBAZGVzY3JpcHRpb24gIOmSiOWvuSDlkKvnvp7ojYnnoJTnqbbmiYAg55qE5LyY5YyW6ISa5pys77yM5q2k6ISa5pys5Y+v5Lul6K6p55So5oi36KeC55yLCi8vIEBkZXNjcmlwdGlvbiAg5Lit6L2s6aG1IGh0dHBzOi8vd3d3LkZpMTEudHYgOyBodHRwczovL3d3dy5GaTExLmxpdmUKLy8gQGRlc2NyaXB0aW9uICDkuIDkvY3nvZHlj4vmjqjojZDvvJpodHRwczovLzV6NHFjMC45MWh1Yi5vbmU6MjA5Ni9pbmRleD9yZWY9NDA5NTEKLy8gQGF1dGhvciAgICAgICBZb3UKLy8gQG1hdGNoICAgICAgICBodHRwczovL3d3dy5oeGNiYjEwMS5jb20vKgovLyBAbWF0Y2ggICAgICAgIGh0dHBzOi8vaDUuaHhjYmIxMDEuY29tLyoKLy8gQGluY2x1ZGUgICAgICAgIC9eaHR0cHM6Ly93d3cuaHhjYmJcZCtcLmNvbS4rJC8KLy8gQGluY2x1ZGUgICAgICAgIC9eaHR0cHM6Ly9oNS5oeGNiYlxkK1wuY29tLiskLwovLyBAaW5jbHVkZSAgICAgICAgL15odHRwOi8vd3d3Lmh4Y2JiXGQrXC5jb20uKyQvCi8vIEBpbmNsdWRlICAgICAgICAvXmh0dHA6Ly9oNS5oeGNiYlxkK1wuY29tLiskLwovLyBAaW5jbHVkZSAgICAgICAgL15odHRwczovL3d3dy5oeG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zLmpzJywvL+S9v+eUqGhscy5qc+aPkuS7tuaSreaUvm0zdTgKICAgICAgICB2aWRlbzogcGxheWVyVXJsLy/op4bpopHlnLDlnYAKICAgIH0KICAgIHdpbmRvdy5jayA9IG5ldyBja3BsYXllcih2aWRlb09iamVjdCk7CiAgICB3aW5kb3cuY2sucGxheSgpCn0KCmZ1bmN0aW9uIG1vYmlsZVBsYXkocGxheWVyVXJsLCBwaWMsIGNvbnRhaW5lciwgcGxheVR5cGUpIHsKICAgIGNvbnRhaW5lci5zdHlsZS56SW5kZXggPSA5OTk5OQogICAgd2luZG93LmRwID0gbmV3IERQbGF5ZXIoewogICAgICAgIGNvbnRhaW5lcjogY29udGFpbmVyLCAgICAgICAgICAgICAgICAgICAgICAgLy8g5Y+v6YCJ77yMcGxheWVy5YWD57SgCiAgICAgICAgYXV0b3BsYXk6IGZhbHNlLCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIOWPr+mAie+8jOiHquWKqOaSreaUvuinhumike+8jOS4jeaUr+aMgeenu+WKqOa1j+iniOWZqAogICAgICAgIHRoZW1lOiAnI0ZBREZBMycsICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyDlj6/pgInvvIzkuLvpopjpopzoibLvvIzpu5jorqQ6ICNiN2RhZmYKICAgICAgICBsb29wOiB0cnVlLCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8g5Y+v6YCJ77yM5b6q546v5pKt5pS+6Z+z5LmQ77yM6buY6K6k77yadHJ1ZQogICAgICAgIGxhbmc6ICd6aCcsICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyDlj6/pgInvvIzor63oqIDvvIxgemgn55So5LqO5Lit5paH77yMYGVuJ+eUqOS6juiLseivre+8jOm7mOiupO+8mk5hdmlnYXRvciBsYW5ndWFnZQogICAgICAgIHNjcmVlbnNob3Q6IHRydWUsICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyDlj6/pgInvvIzlkK/nlKjmiKrlm77lip/og73vvIzpu5jorqTlgLzvvJpmYWxzZe+8jOazqOaEj++8muWmguaenOiuvue9ruS4unRydWXvvIzop4bpopHlkozop4bpopHmiKrlm77lv4XpobvlkK/nlKjot6jln58KICAgICAgICBob3RrZXk6IHRydWUsICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8g5Y+v6YCJ77yM57uR5a6a54Ot6ZSu77yM5YyF5ous5bem5Y+z6ZSu5ZKM56m65qC877yM6buY6K6k5YC877yadHJ1ZQogICAgICAgIHByZWxvYWQ6ICdhdXRvJywgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyDlj6/pgInvvIzpooTliqDovb3nmoTmlrnlvI/lj6/ku6XmmK8nbm9uZScnbWV0YWRhdGEnJ2F1dG8n77yM6buY6K6k5YC877yaJ2F1dG8nCiAgICAgICAgdmlkZW86IHsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIOW/hemcgO+8jOinhumikeS/oeaBrwogICAgICAgICAgICB1cmw6IHBsYXllclVybCwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIOW/heWhq++8jOinhumikee9keWdgAogICAgICAgICAgICBwaWM6IHBpYywgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIOWPr+mAie+8jOinhumikeaIquWbvgogICAgICAgICAgICB0aHVtYm5haWxzOiBwaWMKICAgICAgICB9CiAgICB9KTsKfQoKYXN5bmMgZnVuY3Rpb24gcGMoKSB7CiAgICBpZiAod2luZG93LmxvY2F0aW9uLmhyZWYuZW5kc1dpdGgoImhvbWUiKSkgewogICAgICAgIHJldHVybgogICAgfQogICA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zeW5jICgpID0+IHsKICAgICAgICBpZih3aW5kb3cubmF2aWdhdG9yLmFwcFZlcnNpb24uaW5jbHVkZXMoIldpbmRvd3MiKSl7CiAgICAgICAgICAgIHdpbmRvdy5hZGRFdmVudExpc3RlbmVyKCJjbGljayIsICgpID0+IHsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4gewogICAgICAgICAgICAgICAgICAgIGxldCB2aWRlb0lkID0gZ2V0VmlkZW9JZCgpCiAgICAgICAgICAgICAgICAgICAgaWYgKHdpbmRvdy52aWRlb0lkID09IHZpZGVvSWQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIHBjKCkKICAgICAgICAgICAgICAgIH0sIDMwMCkKICAgICAgICAgICAgfSwgdHJ1ZSkKICAgICAgICAgICAgcGMoKQogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIGltcG9ydExpYigpCiAgICAgICAgICAgIHdpbmRvdy5hZGRFdmVudExpc3RlbmVyKCJjbGljayIsICgpID0+IHsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4gewogICAgICAgICAgICAgICAgICAgIGlmICghd2luZG93LmxvY2F0aW9uLmhyZWYuZW5kc1dpdGgoIjAiKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4KICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgbGV0IHZpZGVvSWQgPSBnZXRWaWRlb0lkKCkKICAgICAgICAgICAgICAgICAgICBpZiAod2luZG93LnZpZGVvSWQgPT0gdmlkZW9JZCkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4KICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgbW9iaWxlKCkKICAgICAgICAgICAgICAgIH0sIDEwMCkKCiAgICAgICAgICAgIH0sIHRydWUpCiAgICAgICAgICAgIG1vYmlsZSgpCiAgICAgICAgfQogICAgfSwgMTgwMCkKfQoKCm1haW4oKQ==
Add Comment
Please, Sign In to add comment