Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@4K电影·N@eyJmaXJzdEhlYWRlciI6ImNsYXNzIiwibGFzdF9jaGFwdGVyX3J1bGUiOiIiLCJ0aXRsZSI6IjRL55S15b2xwrdOIiwiYXV0aG9yIjoiTmFtbyIsInVybCI6Imh0dHBzOi8vd3d3LjRrZ29kLmNvbS92b2RzaG93L2Z5Y2xhc3MtLWZ5c29ydC0tLS0tLWZ5cGFnZS0tLS5odG1sIiwidmVyc2lvbiI6MjAyMzA2MDQsImNvbF90eXBlIjoibW92aWVfM19tYXJxdWVlIiwiY2xhc3NfbmFtZSI6IueUteW9sSbov57nu63liacm57u86Im6JuWKqOa8qyIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IjEmMiYzJjQiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IuaXtumXtCbkurrmsJQm6K+E5YiGIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiJ0aW1lJmhpdHMmc2NvcmUiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIHJlcyA9IHt9O1xudmFyIGQgPSBbXTtcbnRyeXtcbnZhciBsaXN0ID0gcGFyc2VEb21Gb3JBcnJheShnZXRSZXNDb2RlKCksICcubW9kdWxlJiYubW9kdWxlLWl0ZW0nKTtcbmZvciAodmFyIGogaW4gbGlzdCkge1xuICBkLnB1c2goe1xuICAgICAgIHRpdGxlOiBwYXJzZURvbUZvckh0bWwobGlzdFtqXSwgJ2EmJnRpdGxlJyksXG4gICAgICAgZGVzYzogcGFyc2VEb21Gb3JIdG1sKGxpc3Rbal0sICcubW9kdWxlLWl0ZW0tbm90ZSYmVGV4dCcpLFxuICAgICAgIHBpY191cmw6IHBhcnNlRG9tKGxpc3Rbal0sICcubGF6eWxvYWQmJmRhdGEtb3JpZ2luYWwnKSsnQFJlZmV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