Advertisement
xiaomianao666

邀您一起看:网站触发了人机验证,点此处理

Jul 23rd, 2024
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥网站触发了人机验证,点此处理@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIui3s+mqjOivgVwiLFwicGF0aFwiOlwieWFuemhlbmdcIixcInJ1bGVcIjpcImZ1bmN0aW9uIOiOt+WPlmNrKHNldCl7XFxuICAgIHZhciBja3BhdGg9J2hpa2VyOi8vZmlsZXMvY2FjaGUvY29va2llLmpzb24nO1xcbiAgICB2YXIgb2xkY2s9ZmV0Y2goY2twYXRoKXx8J3t9JztcXG4vL2xvZygn5pen55qEY29va2llOicrb2xkY2spO1xcbiAgICBvbGRjaz1KU09OLnBhcnNlKG9sZGNrKTtcXG4gICAgcmV0dXJuIG9sZGNrW3NldF18fCcnXFxufVxcbmZ1bmN0aW9uIOazqOWFpemqjOivgeeggeivhuWIqyhpZCxzZXQsZXh0cmEpe1xcbiAgICAvLyBpZD1pZHx8Jy50bmNvZGUnO1xcbiAgICBpZD1pZHx8Jyc7XFxuICAgIHNldD1zZXR8fCd5em1fY29va2llJztcXG4gICAgZXh0cmE9ZXh0cmF8fHt9O1xcbiAgICBpZih0eXBlb2YobG9nKT09XFxcInVuZGVmaWVuZFxcXCIpe1xcbiAgICAgICAgbG9nPWZ5X2JyaWRnZV9hcHAubG9nO1xcbiAgICB9XFxuICAgIHZhciBqcz0kLnRvU3RyaW5nKChpZCxzZXQsZXh0cmEpPT57XFxuICAgICAgICBldmFsKGZ5X2JyaWRnZV9hcHAuZ2V0SW50ZXJuYWxKcygpKTtcXG4gICAgICAgIC8vZmJhLmxvZygn6L+b5YWleDXlpITnkIbkuK0nKTtcXG4gICAgICAgIC8vZmJhLmxvZyhmYmEuZ2V0VmFyKCdkcuS+nei1licpKTtcXG4gICAgICAgIHZhciBja3BhdGg9J2hpa2VyOi8vZmlsZXMvY2FjaGUvY29va2llLmpzb24nO1xcbiAgICAgICAgZnVuY3Rpb24gY29va2llU2V0KCl7XFxuICAgICAgICAgICAgLy8gZmJhLmxvZygn6Ieq5YqoY29va2ll6K6+572uOicgKyBzZXQgKyAnPT4nICsgZG9jdW1lbnQuY29va2llKTtcXG4gICAgICAgICAgICAvL0pTT04uc3RyaW5naWZ5XFxuICAgICAgICAgICAgLy9KU09OLnBhcnNlXFxuICAgICAgICAgICAgdmFyIG9sZGNrID0gcmVxdWVzdChja3BhdGgpIHx8ICd7fSc7XFxuICAgICAgICAgICAgZmJhLmxvZygn5pen55qEY29va2llOicgKyBvbGRjayk7XFxuICAgICAgICAgICAgb2xkY2sgPSBKU09OLnBhcnNlKG9sZGNrKTtcXG4gICAgICAgICAgICBvbGRja1tzZXRdID0gZG9jdW1lbnQuY29va2llO1xcbiAgICAgICAgICAgIGZiYS5wdXRWYXIoc2V0LCBkb2N1bWVudC5jb29raWUpO1xcbiAgICAgICAgICAgIHZhciBuZXdDayA9IEpTT04uc3RyaW5naWZ5KG9sZGNrKTtcXG4gICAgICAgICAgICBmYmEud3JpdGVGaWxlKGNrcGF0aCwgbmV3Q2spO1xcbiAgICAgICAgICAgIGZiYS5sb2coJ+aWsOeahGNvb2tpZTonICsgbmV3Q2spO1xcbiAgICAgICAgfVxcbiAgICAgICAgaWYoaWQpIHsgLy/loavkuoZpZOeahOivnVxcbiAgICAgICAgICAgIHZhciBidG4gPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdidXR0b24nKTtcXG4gICAgICAgICAgICBsZXQgY3NzID0gZXh0cmEu5qC35byPIHx8ICdib3JkZXItcmFkaXVzOjIwcHg7d2lkdGg6YXV0bztoZWlnaHQ6MjBweDsnO1xcbiAgICAgICAgICAgIGJ0bi5zZXRBdHRyaWJ1dGUoJ3N0eWxlJywgY3NzKTtcXG4gICAgICAgICAgICBidG4uc2V0QXR0cmlidXRlKCdpZCcsICdidG4xJyk7XFxuICAgICAgICAgICAgbGV0IHRleHQgPSBleHRyYS7mloflrZcgfHwgJ+WujOaIkOW5tui/lOWbnumHjeivlSc7XFxuICAgICAgICAgICAgYnRuLmlubmVyVGV4dCA9IHRleHQ7XFxuICAgICAgICAgICAgYnRuLm9uY2xpY2sgPSBmdW5jdGlvbiAoKSB7XFxuICAgICAgICAgICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgICAgICAgICBmYmEubG9nKCfmiYvliqjngrnlh7tjb29raWXorr7nva46JyArIHNldCArICc9PicgKyBkb2N1bWVudC5jb29raWUpO1xcbiAgICAgICAgICAgICAgICAgICAgY29va2llU2V0KCk7XFxuICAgICAgICAgICAgICAgICAgICBpZiAoY29uZmlybSgn5bey6K6+572u5b2T5YmN6aG1Y29va2ll77yM6L+U5Zue5p+l55yL5pCc57Si57uT5p6c44CC6L+U5Zue5ZCO6ZyA6KaB5omL5Yqo5LiL5ouJ5Yi35paw77yB77yB77yBJykpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBmYmEucGFyc2VMYXp5UnVsZSgnaGlrZXI6Ly9lbXB0eUBsYXp5UnVsZT0uanM6YmFjaygpJyk7XFxuICAgICAgICAgICAgICAgICAgICB9XFxuXFxuICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICAgICAgICAgIGFsZXJ0KGUubWVzc2FnZSlcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB2YXIgbWFpbiA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoaWQpO1xcbiAgICAgICAgICAgIG1haW4uYXBwZW5kQ2hpbGQoYnRuKTtcXG4gICAgICAgIH1lbHNley8v5rKh5aGr5bCx6Ieq5Yqo5rOo5YWl77yM5Yi35paw6YO9566XXFxuICAgICAgICAgICAgaWYoZG9jdW1lbnQuY29va2llKSB7Ly/lpoLmnpzmnIljb29raWVcXG4gICAgICAgICAgICAgICAgdHJ5IHtcXG4gICAgICAgICAgICAgICAgICAgIGZiYS5sb2coJ+iHquWKqGNvb2tpZeiuvue9rjonICsgc2V0ICsgJz0+JyArIGRvY3VtZW50LmNvb2tpZSk7XFxuICAgICAgICAgICAgICAgICAgICBjb29raWVTZXQoKTtcXG4gICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xcbiAgICAgICAgICAgICAgICAgICAgYWxlcnQoZS5tZXNzYWdlKVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfVxcbiAgICB9LGlkLHNldCxleHRyYSk7XFxuICAgIHJldHVybiBqc1xcbn1cXG5cXG5mdW5jdGlvbiDpgZPplb/pqozor4HnoIEodGl0bGUsbXl1cmwsaWQsc2V0LGV4dHJhKXtcXG5cXG4gICAgaWYoZ2V0VmFyKHNldCwnJykmJiFnZXRNeVZhcignY29va2llJykpe1xcbiAgICAgICAgcHV0TXlWYXIoJ2Nvb2tpZScsZ2V0VmFyKHNldCwnJykpO1xcbiAgICAgICAgcmVmcmVzaFBhZ2UodHJ1ZSk7XFxuICAgICAgICByZXR1cm47XFxuICAgIH1cXG5cXG4vL+W/heWhq+mTvuaOpe+8jGlk77yMY29va2ll5ZCN56ewXFxuICAgIGV4dHJhPWV4dHJhfHxmYWxzZTtcXG4gICAgdGl0bGU9dGl0bGV8fCfnvZHnq5nop6blj5HkuobkurrmnLrpqozor4HvvIzngrnmraTlpITnkIYnO1xcbiAgICAvKlxcbiAgICB2YXIgdXJsPSQoKS5sYXp5UnVsZSgodGl0bGUsTVlfVVJMLGlkLHNldCxleHRyYSzms6jlhaXpqozor4HnoIHor4bliKspPT57XFxuICAgIGlmKGdldFZhcihzZXQsJycpJiYhZ2V0TXlWYXIoJ2Nvb2tpZScpKXtcXG4gICAgcHV0TXlWYXIoJ2Nvb2tpZScsZ2V0VmFyKHNldCwnJykpO1xcbiAgICByZWZyZXNoUGFnZSh0cnVlKTtcXG4gICAgcmV0dXJuJ2hpa2VyOi8vZW1wdHknO1xcbiAgICB9XFxuICAgIHJldHVybiAkKE1ZX1VSTCkucnVsZSgo5rOo5YWl6aqM6K+B56CB6K+G5YirLGlkLHNldCxleHRyYSk9PntcXG4gICAgICAgICAgICAgICAgLy9sb2codHlwZW9mKOazqOWFpemqjOivgeeggeivhuWIqykpXFxuICAgICAgICAgICAgICAgIGxldCBkPVtdO1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJ4NV93ZWJ2aWV3X3NpbmdsZVxcXCIsXFxuICAgICAgICAgICAgICAgICB1cmw6IE1ZX1VSTCxcXG4gICAgICAgICAgICAgICAgIGRlc2M6IFxcXCJmbG9hdCYmMTAwJVxcXCIsXFxuICAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICBjYW5CYWNrOiB0cnVlLFxcbiAgICAgICAgICAgICAgICAgICBqczrms6jlhaXpqozor4HnoIHor4bliKsoaWQsc2V0LGV4dHJhKVxcbiAgICAgICAgICAgICAgICAgIH19KTtcXG4gICAgICAgICAgICAgICAgc2V0UmVzdWx0KGQpO1xcbiAgICAgICAgICB9LOazqOWFpemqjOivgeeggeivhuWIqyxpZCxzZXQsZXh0cmEpO1xcblxcbiAgICB9LHRpdGxlLE1ZX1VSTCxpZCxzZXQsZXh0cmEs5rOo5YWl6aqM6K+B56CB6K+G5YirKTtcXG4gICAgKi9cXG4vL2xvZygn5b6F5rOo5YWlOicrTVlfVVJMKTtcXG4gICAgdmFyIHVybD0kKG15dXJsKS5ydWxlKCjms6jlhaXpqozor4HnoIHor4bliKssaWQsc2V0LGV4dHJhKT0+e1xcbiAgICAgICAgLy9sb2codHlwZW9mKOazqOWFpemqjOivgeeggeivhuWIqykpXFxuICAgICAgICBpbnB1dD1NWV9VUkw7XFxuICAgICAgICByZXF1aXJlKGdldFZhcignZHLkvp3otZYnKSk7XFxuICAgICAgICAvL2xvZygn5rOo5YWl5LqGOicrTVlfVVJMKTtcXG4gICAgICAgIHZhciBvbGRjaz3ojrflj5ZjayhzZXQpO1xcbiAgICAgICAgc2V0UGFnZVRpdGxlKCfpgZPplb/pqozor4HnoIHpgJrmnYAnKTtcXG4gICAgICAgIGFkZExpc3RlbmVyKCdvbkNsb3NlJywgJC50b1N0cmluZygoc2V0LG9sZGNrLOiOt+WPlmNrKT0+e1xcbiAgICAgICAgICAgIC8vIHJlZnJlc2hQYWdlKGZhbHNlKTsgLy/ov5Tlm57oh6rliqjliLfmlrDkvb/orr7nva7nlJ/mlYhcXG4gICAgICAgICAgICBsb2coJ+mAgOWHuuS6humAmuadgOeVjOmdoizml6fnmoRjb29raWXkuLo6JytvbGRjayk7XFxuICAgICAgICAgICAgbGV0IG5ld2NrPeiOt+WPlmNrKHNldCk7XFxuICAgICAgICAgICAgbG9nKCfmlrDnmoRjb29raWXkuLo6JytuZXdjayk7XFxuICAgICAgICAgICAgaWYoIW5ld2NrKXtcXG4gICAgICAgICAgICAgICAgbGV0IGVycm9yPSfmnKrojrflj5Zjb29raWXvvIzpqozor4HlpLHotKXvvIEnO1xcbiAgICAgICAgICAgICAgICBsb2coZXJyb3IpO1xcbiAgICAgICAgICAgICAgICAvL3NldEVycm9yKGVycm9yKTtcXG4gICAgICAgICAgICAgICAgLy90aHJvdyBlcnJvcjtcXG4gICAgICAgICAgICB9ZWxzZSBpZihvbGRjaz09PW5ld2NrKXtcXG4gICAgICAgICAgICAgICAgbG9nKCdjb29raWXmnKrmm7TmlrDvvIzpqozor4Hlj6/og73mnKrpgJrov4cnKTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9LHNldCxvbGRjayzojrflj5ZjaykpO1xcbiAgICAgICAgbGV0IGQ9W107XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIGNvbF90eXBlOiBcXFwieDVfd2Vidmlld19zaW5nbGVcXFwiLFxcbiAgICAgICAgICAgIHVybDogaW5wdXQsXFxuICAgICAgICAgICAgZGVzYzogXFxcImZsb2F0JiYxMDAlXFxcIixcXG4gICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICBjYW5CYWNrOiB0cnVlLFxcbiAgICAgICAgICAgICAgICBqczrms6jlhaXpqozor4HnoIHor4bliKsoaWQsc2V0LGV4dHJhKVxcbiAgICAgICAgICAgIH19KTtcXG4gICAgICAgIHNldFJlc3VsdChkKTtcXG4gICAgfSzms6jlhaXpqozor4HnoIHor4bliKssaWQsc2V0LGV4dHJhKTtcXG4gICAgbGV0IGQ9W107XFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTp0aXRsZSxcXG4gICAgICAgIGNvbF90eXBlOid0ZXh0XzEnLFxcbiAgICAgICAgdXJsOnVybCxcXG4gICAgfSk7XFxuICAgIHNldFJlc3VsdChkKTtcXG4gICAgLy8gJCgpLmI2NCgpLnJ1bGUoKSAg5Y+v5Lul5a6e546w5ZyobGF6eVJ1bGXph4zov5Tlm55ydWxlXFxufVwifV0sXCJzYXZlZFwiOmZhbHNlLFwidGl0bGVcIjpcIum7hOiJsuS7k+W6kyDmuIXniL1cIixcInZlcnNpb25cIjowLFwidXJsXCI6XCJodHRwczovL3VzZXIuMzAxZ28ubmV0Ojg4OTkvP3U9aHR0cDovL2hzY2submV0LyZwPS8vdm9kdHlwZS8yLTEuaHRtbDtnZXQ7VVRGLTg7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6bV9jb29raWVcXFwiO1xcbiAgICBleHRyYSA9IGV4dHJhIHx8IHt9O1xcbiAgICBpZiAodHlwZW9mIChsb2cpID09IFxcXCJ1bmRlZmllbmRcXFwiKSB7XFxuICAgICAgICBsb2cgPSBmeV9icmlkZ2VfYXBwLmxvZztcXG4gICAgfVxcbiAgICB2YXIganMgPSAkLnRvU3RyaW5nKChpZCwgc2V0LCBleHRyYSkgPT4ge1xcbiAgICAgICAgZXZhbChmeV9icmlkZ2VfYXBwLmdldEludGVybmFsSnMoKSk7XFxuICAgICAgICB2YXIgY2twYXRoID0gXFxcImhpa2VyOi8vZmlsZXMvY2FjaGUvY29va2llLmpzb25cXFwiO1xcbiAgICAgICAgZnVuY3Rpb24gY29va2llU2V0KCkge1xcbiAgICAgICAgICAgIHZhciBvbGRjayA9IHJlcXVlc3QoY2twYXRoKSB8fCBcXFwie31cXFwiO1xcbiAgICAgICAgICAgIGZiYS5sb2coXFxcIlxcXFx1NjVlN1xcXFx1NzY4NGNvb2tpZTpcXFwiICsgb2xkY2spO1xcbiAgICAgICAgICAgIG9sZGNrID0gSlNPTi5wYXJzZShvbGRjayk7XFxuICAgICAgICAgICAgb2xkY2tbc2V0XSA9IGRvY3VtZW50LmNvb2tpZTtcXG4gICAgICAgICAgICBmYmEucHV0VmFyKHNldCwgZG9jdW1lbnQuY29va2llKTtcXG4gICAgICAgICAgICB2YXIgbmV3Q2sgPSBKU09OLnN0cmluZ2lmeShvbGRjayk7XFxuICAgICAgICAgICAgZmJhLndyaXRlRmlsZShja3BhdGgsIG5ld0NrKTtcXG4gICAgICAgICAgICBmYmEubG9nKFxcXCJcXFxcdTY1YjBcXFxcdTc2ODRjb29raWU6XFxcIiArIG5ld0NrKTtcXG4gICAgICAgIH1cXG4gICAgICAgIGlmIChpZCkge1xcbiAgICAgICAgICAgIHZhciBidG4gPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KFxcXCJidXR0b25cXFwiKTtcXG4gICAgICAgICAgICBsZXQgY3N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1MmE4XFxcXHU0ZTBiXFxcXHU2MmM5XFxcXHU1MjM3XFxcXHU2NWIwXFxcXHVmZjAxXFxcXHVmZjAxXFxcXHVmZjAxXFxcIikpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBmYmEucGFyc2VMYXp5UnVsZShcXFwiaGlrZXI6Ly9lbXB0eUBsYXp5UnVsZT0uanM6YmFjaygpXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICAgICAgICAgIGFsZXJ0KGUubWVzc2FnZSk7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9O1xcbiAgICAgICAgICAgIHZhciBtYWluID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcihpZCk7XFxuICAgICAgICAgICAgbWFpbi5hcHBlbmRDaGlsZChidG4pO1xcbiAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICBpZiAoZG9jdW1lbnQuY29va2llKSB7XFxuICAgICAgICAgICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgICAgICAgICBmYmEubG9nKFxcXCJcXFxcdTgxZWFcXFxcdTUyYThjb29raWVcXFxcdThiYmVcXFxcdTdmNmU6XFxcIiArIHNldCArIFxcXCI9PlxcXCIgKyBkb2N1bWVudC5jb29raWUpO1xcbiAgICAgICAgICAgICAgICAgICAgY29va2llU2V0KCk7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICAgICAgICAgIGFsZXJ0KGUubWVzc2FnZSk7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9XFxuICAgICAgICB9XFxuICAgIH1cXG4gICAgLCBpZCwgc2V0LCBleHRyYSk7XFxuICAgIHJldHVybiBqcztcXG59XFxuLFxcXCJcXFwiLFxcXCJjb29raWUuc2VrdVxcXCIsZmFsc2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VcXFxcbiAgICAgICAgICAgIHZhciBvbGRjayA9IHJlcXVlc3QoY2twYXRoKSB8fCAne30nO1xcXFxuICAgICAgICAgICAgZmJhLmxvZygn5pen55qEY29va2llOicgKyBvbGRjayk7XFxcXG4gICAgICAgICAgICBvbGRjayA9IEpTT04ucGFyc2Uob2xkY2spO1xcXFxuICAgICAgICAgICAgb2xkY2tbc2V0XSA9IGRvY3VtZW50LmNvb2tpZTtcXFxcbiAgICAgICAgICAgIGZiYS5wdXRWYXIoc2V0LCBkb2N1bWVudC5jb29raWUpO1xcXFxuICAgICAgICAgICAgdmFyIG5ld0NrID0gSlNPTi5zdHJpbmdpZnkob2xkY2spO1xcXFxuICAgICAgICAgICAgZmJhLndyaXRlRmlsZShja3BhdGgsIG5ld0NrKTtcXFxcbiAgICAgICAgICAgIGZiYS5sb2coJ+aWsOeahGNvb2tpZTonICsgbmV3Q2spO1xcXFxuICAgICAgICB9XFxcXG4gICAgICAgIGlmKGlkKSB7IC8v5aGr5LqGaWTnmoTor51cXFxcbiAgICAgICAgICAgIHZhciBidG4gPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdidXR0b24nKTtcXFxcbiAgICAgICAgICAgIGxldCBjc3MgPSBleHRyYS7moLflvI8gfHwgJ2JvcmRlci1yYWRpdXM6MjBweDt3aWR0aDphdXRvO2hlaWdodDoyMHB4Oyc7XFxcXG4gICAgICAgICAgICBidG4uc2V0QXR0cmlidXRlKCdzdHlsZScsIGNzcyk7XFxcXG4gICAgICAgICAgICBidG4uc2V0QXR0cmlidXRlKCdpZCcsICdidG4xJyk7XFxcXG4gICAgICAgICAgICBsZXQgdGV4dCA9IGV4dHJhLuaWh+WtlyB8fCAn5a6M5oiQ5bm26L+U5Zue6YeN6K+VJztcXFxcbiAgICAgICAgICAgIGJ0bi5pbm5lclRleHQgPSB0ZXh0O1xcXFxuICAgICAgICAgICAgYnRuLm9uY2xpY2sgPSBmdW5jdGlvbiAoKSB7XFxcXG4gICAgICAgICAgICAgICAgdHJ5IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgZmJhLmxvZygn5omL5Yqo54K55Ye7Y29va2ll6K6+572uOicgKyBzZXQgKyAnPT4nICsgZG9jdW1lbnQuY29va2llKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgY29va2llU2V0KCk7XFxcXG4gICAgICAgICAgICAgICAgICAgIGlmIChjb25maXJtKCflt7Lorr7nva7lvZPliY3pobVjb29raWXvvIzov5Tlm57mn6XnnIvmkJzntKLnu5PmnpzjgILov5Tlm57lkI7pnIDopoHmiYvliqjkuIvmi4nliLfmlrDvvIHvvIHvvIEnKSkge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgZmJhLnBhcnNlTGF6eVJ1bGUoJ2hpa2VyOi8vZW1wdHlAbGF6eVJ1bGU9LmpzOmJhY2soKScpO1xcXFxuICAgICAgICAgICAgICAgICAgICB9XFxcXG5cXFxcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XFxcXG4gICAgICAgICAgICAgICAgICAgIGFsZXJ0KGUubWVzc2FnZSlcXFxcbiAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICB2YXIgbWFpbiA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoaWQpO1xcXFxuICAgICAgICAgICAgbWFpbi5hcHBlbmRDaGlsZChidG4pO1xcXFxuICAgICAgICB9ZWxzZXsvL+ayoeWhq+WwseiHquWKqOazqOWFpe+8jOWIt+aWsOmDveeul1xcXFxuICAgICAgICAgICAgaWYoZG9jdW1lbnQuY29va2llKSB7Ly/lpoLmnpzmnIljb29raWVcXFxcbiAgICAgICAgICAgICAgICB0cnkge1xcXFxuICAgICAgICAgICAgICAgICAgICBmYmEubG9nKCfoh6rliqhjb29raWXorr7nva46JyArIHNldCArICc9PicgKyBkb2N1bWVudC5jb29raWUpO1xcXFxuICAgICAgICAgICAgICAgICAgICBjb29raWVTZXQoKTtcXFxcbiAgICAgICAgICAg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KT0+e1xcXFxuICAgICAgICAgICAgICAgIC8vbG9nKHR5cGVvZijms6jlhaXpqozor4HnoIHor4bliKspKVxcXFxuICAgICAgICAgICAgICAgIGxldCBkPVtdO1xcXFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxcXG4gICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFxcXFxcIng1X3dlYnZpZXdfc2luZ2xlXFxcXFxcXCIsXFxcXG4gICAgICAgICAgICAgICAgIHVybDogTVlfVVJMLFxcXFxuICAgICAgICAgICAgICAgICBkZXNjOiBcXFxcXFxcImZsb2F0JiYxMDAlXFxcXFxcXCIsXFxcXG4gICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxcXG4gICAgICAgICAgICAgICAgICAgY2FuQmFjazogdHJ1ZSxcXFxcbiAgICAgICAgICAgICAgICAgICBqczrms6jlhaXpqozor4HnoIHor4bliKsoaWQsc2V0LGV4dHJhKVxcXFxuICAgICAgICAgICAgICAgICAgfX0pO1xcXFxuICAgICAgICAgICAgICAgIHNldFJlc3VsdChkKTtcXFxcbiAgICAgICAgICB9LOazqOWFpemqjOivgeeggeivhuWIqyxpZCxzZXQsZXh0cmEpO1xcXFxuXFxcXG4gICAgfSx0aXRsZSxNWV9VUkwsaWQsc2V0LGV4dHJhLOazqOWFpemqjOivgeeggeivhuWIqyk7XFxcXG4gICAgKi9cXFxcbi8vbG9nKCflvoXms6jlhaU6JytNWV9VUkwpO1xcXFxuICAgIHZhciB1cmw9JChteXVybCkucnVsZSgo5rOo5YWl6aqM6K+B56CB6K+G5YirLGlkLHNldCxleHRyYSk9PntcXFxcbiAgICAgICAgLy9sb2codHlwZW9mKOazqOWFpemqjOivgeeggeivhuWIqykpXFxcXG4gICAgICAgIGlucHV0PU1ZX1VSTDtcXFxcbiAgICAgICAgcmVxdWlyZShnZXRWYXIoJ2Ry5L6d6LWWJykpO1xcXFxuICAgICAgICAvL2xvZygn5rOo5YWl5LqGOicrTVlfVVJMKTtcXFxcbiAgICAgICAgdmFyIG9sZGNrPeiOt+WPlmNrKHNldCk7XFxcXG4gICAgICAgIHNldFBhZ2VUaXRsZSgn6YGT6ZW/6aqM6K+B56CB6YCa5p2AJyk7XFxcXG4gICAgICAgIGFkZExpc3RlbmVyKCdvbkNsb3NlJywgJC50b1N0cmluZygoc2V0LG9sZGNrLOiOt+WPlmNrKT0+e1xcXFxuICAgICAgICAgICAgLy8gcmVmcmVzaFBhZ2UoZmFsc2UpOyAvL+i/lOWbnuiHquWKqOWIt+aWsOS9v+iuvue9rueUn+aViFxcXFxuICAgICAgICAgICAgbG9nKCfpgIDlh7rkuobpgJrmnYDnlYzpnaIs5pen55qEY29va2ll5Li6Oicrb2xkY2spO1xcXFxuICAgICAgICAgICAgbGV0IG5ld2NrPeiOt+WPlmNrKHNldCk7XFxcXG4gICAgICAgICAgICBsb2coJ+aWsOeahGNvb2tpZeS4ujonK25ld2NrKTtcXFxcbiAgICAgICAgICAgIGlmKCFuZXdjayl7XFxcXG4gICAgICAgICAgICAgICAgbGV0IGVycm9yPSfmnKrojrflj5Zjb29raWXvvIzpqozor4HlpLHotKXvvIEnO1xcXFxuICAgICAgICAgICAgICAgIGxvZyhlcnJvcik7XFxcXG4gICAgICAgICAgICAgICAgLy9zZXRFcnJvcihlcnJvcik7XFxcXG4gICAgICAgICAgICAgICAgLy90aHJvdyBlcnJvcjtcXFxcbiAgICAgICAgICAgIH1lbHNlIGlmKG9sZGNrPT09bmV3Y2spe1xcXFxuICAgICAgICAgICAgICAgIGxvZygnY29va2ll5pyq5pu05paw77yM6aqM6K+B5Y+v6IO95pyq6YCa6L+HJyk7XFxcXG4gICAgICAgICAgICB9XFxcXG4gICAgICAgIH0sc2V0LG9sZGNrLOiOt+WPlmNrKSk7XFxcXG4gICAgICAgIGxldCBkPVtdO1xcXFxuICAgICAgICBkLnB1c2goe1xcXFxuICAgICAgICAgICAgY29sX3R5cGU6IFxcXFxcXFwieDVfd2Vidmlld19zaW5nbGVcXFxcXFxcIixcXFxcbiAgICAgICAgICAgIHVybDogaW5wdXQsXFxcXG4gICAgICAgICAgICBkZXNjOiBcXFxcXFxcImZsb2F0JiYxMDAlXFxcXFxcXCIsXFxcXG4gICAgICAgICAgICBleHRyYToge1xcXFxuICAgICAgICAgICAgICAgIGNhbkJhY2s6IHRydWUsXFxcXG4gICAgICAgICAgICAgICAganM65rOo5YWl6aqM6K+B56CB6K+G5YirKGlkLHNldCxleHRyYSlcXFxcbiAgICAgICAgICAgIH19KTtcXFxcbiAgICAgICAgc2V0UmVzdWx0KGQpO1xcXFxuICAgIH0s5rOo5YWl6aqM6K+B56CB6K+G5YirLGlkLHNldCxleHRyYSk7XFxcXG4gICAgbGV0IGQ9W107XFxcXG4gICAgZC5wdXNoKHtcXFxcbiAgICAgICAgdGl0bGU6dGl0bGUsXFxcXG4gICAgICAgIGNvbF90eXBlOid0ZXh0XzEnLFxcXFxuICAgICAgICB1cmw6dXJsLFxcXFxuICAgIH0pO1xcXFxuICAgIHNldFJlc3VsdChkKTtcXFxcbiAgICAvLyAkKCkuYjY0KCkucnVsZSgpICDlj6/ku6Xlrp7njrDlnKhsYXp5UnVsZemHjOi/lOWbnnJ1bGVcXFxcbn1cXFwifV1cIn0iLCJ0aXRsZSI6Iue9keermeinpuWPkeS6huS6uuacuumqjOivge+8jOeCueatpOWkhOeQhiJ9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement