Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥小小说月刊·下半月@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuebruW9lVwiLFwicGF0aFwiOlwiY2F0YWxvZ3VlXCIsXCJydWxlXCI6XCJqczpcXG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goXFxcImhpa2VyOi8vcGFnZS9nZXRIZWFkZXJzXFxcIikpLnJ1bGUpO1xcbmxldCByZWFkVGhlbWUgPSBnZXRJdGVtKCdyZWFkVGhlbWUnLCAnZmFsc2UnKSA9PSAndHJ1ZScgPyAnI3JlYWRUaGVtZSMnIDogJycsXFxuICAgIGZ1bGxUaGVtZSA9IGdldEl0ZW0oJ2Z1bGxUaGVtZScsICd0cnVlJykgPT0gJ3RydWUnID8gJyNmdWxsVGhlbWUjJyA6ICcnLFxcbiAgICB1cmwgPSBNWV9QQVJBTVMuaHJlZixcXG4gICAgZGF0YV9saXN0ID0gSlNPTi5wYXJzZShyZXF1ZXN0KHVybCwge1xcbiAgICAgICAgaGVhZGVyczogaGVhZGVyc1xcbiAgICB9KSkuZGF0YV9saXN0O1xcblxcbmxldCBkID0gW107XFxuZC5wdXNoKHtcXG4gICAgdGl0bGU6IGRhdGFfbGlzdC50aXRsZSArIFxcXC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cjovL2VtcHR5XFxcXFxcXCJcXFxcbiAgICB9LCBpbmRlbnQpXFxcXG59KVxcXFxuXFxcXG5kLnB1c2goe1xcXFxuICAgIGNvbF90eXBlOiAnbGluZSdcXFxcbn0pXFxcXG5cXFxcbmQucHVzaCh7XFxcXG4gICAgdGl0bGU6ICfpooTop4gnLmJpZygpICsgJyjlrZflj7c6JyArIGZvbnRzaXplICsgJyznvKnov5s6JyArIGluZGVudCArICcpJyxcXFxcbiAgICBjb2xfdHlwZTogJ3JpY2hfdGV4dCdcXFxcbn0sIHtcXFxcbiAgICB0aXRsZTogJzxwPuWwj+ajieiihOW4heWQlz88L3A+PHA+5bCP5qOJ6KKE5oCO5LmI6L+Z5LmI5biF77yfPC9wPjxwPuWwj+ajieiihOecn+aYr+i2hei2hei2hei2hei2hei2hei2hei2hee6p+W4hSEhISHluIXngrjkuoblpb3kuI3lpb3vvJ/kuL7kuJbpopzml6Dlj4whISEhPC9wPicucmVwbGFjZSgvXFxcXFxcXFw8cFxcXFxcXFxcPi9nLCAnPHA+JyArIGluZGVudHMpLFxcXFxuICAgIGNvbF90eXBlOiAncmljaF90ZXh0JyxcXFxcbiAgICBleHRyYToge1xcXFxuICAgICAgICB0ZXh0U2l6ZTogZm9udHNpemVcXFxcbiAgICB9XFxcXG59KVxcXFxuc2V0UmVzdWx0KGQpO1xcXCJ9XVwiLFwicHJveHlcIjpcIlwifSIsInBpY1VybCI6Imh0dHBzOi8vY2ltZy5meDM2MS5jb20vaW1hZ2VzLzIwMjIvMDcvMjAvY25xa2ltYWdlc2d1c2NndXNjMjAyMjA3LWwuanBnIiwidGl0bGUiOiLlsI/lsI/or7TmnIjliIrCt+S4i+WNiuaciCJ9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement