Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_百度网盘不限速下载-KubeDown@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KCi8vIEBuYW1lIOeZvuW6pue9keebmOS4jemZkOmAn+S4i+i9vS1LdWJlRG93bgovLyBAZGVzY3JpcHRpb24g55m+5bqm572R55uY5LiN6ZmQ6YCf5LiL6L29LUt1YmVEb3duLVNjcmlwdAoKLy8gQHZlcnNpb24gMS43Ci8vIEBhdXRob3IgS3ViZURvd24KCi8vIEBhbnRpZmVhdHVyZSBtZW1iZXJzaGlwCgovLyBAbGljZW5zZSBBR1BMLTMuMAoKLy8gQGljb24gaHR0cHM6Ly9wMC5tZWl0dWFuLm5ldC9jc2MvNmEzNDc5NDBmMDY0MTQ2NTI1YmUzNmI4MDU0MTQ5MDEyNDUyOC5wbmcKCi8vIEByZXNvdXJjZSBodHRwczovL2Nkbi5zdGF0aWNmaWxlLm9yZy9saW1vbnRlLXN3ZWV0YWxlcnQyLzExLjcuMS9zd2VldGFsZXJ0Mi5taW4uY3NzCgovLyBAcmVxdWlyZSBodHRwczovL2Nkbi5zdGF0aWNmaWxlLm9yZy9saW1vbnRlLXN3ZWV0YWxlcnQyLzExLjcuMS9zd2VldGFsZXJ0Mi5hbGwubWluLmpzCi8vIEByZXF1aXJlIGh0dHBzOi8vY2RuLnN0YXRpY2ZpbGUub3JnL2pxdWVyeS8zLjYuMC9qcXVlcnkubWluLmpzCgovLyBAZ3JhbnQgICAgICAgICAgR01feG1saHR0cFJlcXVlc3QKCi8vIEBtYXRjaCAqOi8vcGFuLmJhaWR1LmNvbS8qCgovLyBAY29ubmVjdCAgICAgIDEyNy4wLjAuMQovLyBAY29ubmVjdCAgICAgIGFwaS5rdWJlZG93bi5jb20KCi8vIEBjb25uZWN0ICAgICAgcDAubWVpdHVhbi5uZXQKCi8vIEBjb25uZWN0ICAgICAgY2RuLnN0YXRpY2ZpbGUub3JnCgovLyBAY29ubmVjdCAgICAgIHBhbi5iYWlkdS5jb20KLy8gQGNvbm5lY3QgICAgICBkbnMuYWxpZG5zLmNvbQovLyBAbmFtZXNwYWNlIGh0dHBzOi8vZ3JlYXN5Zm9yay5vcmcvdXNlcnMvMTA0NTEzMQovLyA9PS9Vc2VyU2NyaXB0PT0KCigoKSA9PiB7CiAgICBpZiAod2luZG93LmxvY2F0aW9uLnBhdGhuYW1lID09PSAiL2Rpc2svaG9tZSIpIHsKICAgICAgICB3aW5kb3cubG9jYXRpb24ucmVwbGFjZSgiLi9tYWluIik7CiAgICB9CgogICAgQWRkRWxlbWVudCgpOwoKICAgIGZ1bmN0aW9uIEFkZEVsZW1lbnQoKSB7CiAgICAgICAgaWYgKGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJLdWJlRG93biIpID09PSBudWxsKSB7CiAgICAgICAgICAgIGNvbnN0IG5ld2J1dHRvbiA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoImJ1dHRvbiIpOwoKICAgICAgICAgICAgbmV3YnV0dG9uLmlkID0gIkt1YmVEb3duIjsKICAgICAgICAgICAgbmV3YnV0dG9uLmNsYXNzTmFtZSA9ICJ1LWJ1dHRvbiBuZC1maWxlLWxpc3QtdG9vbGJhci1hY3Rpb24taXRlbSB1LWJ1dHRvbi0tcHJpbWFyeSI7CiAgICAgICAgICAgIG5ld2J1dHRvbi5zdHlsZS5tYXJnaW5SaWdodCA9ICI4cHgiOwogICAgICAgICAgICBuZXdidXR0b24uaW5uZXJUZXh0ID0gIkt1YmVEb3duIjsKCiAgICAgICAgICAgIGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoImRpdi53cC1zLWFnaWxlLXRvb2wtYmFyX19oZWFkZXIiKS5wcmVwZW5kKG5ld2J1dHRvbik7CiAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7CiAgICAgICAgICAgICAgICBBZGRFbGVtZW50KCk7CiAgICAgICAgICAgIH0sIDEwMCk7CiAgICAgICAgfQogICAgfQoKICAgIEdldE5vdGlmeSgpOwoKICAgIGZ1bmN0aW9uIEdldE5vdGlmeSgpIHsKICAgICAgICBHTV94bWxodHRwUmVxdWVzdCh7CiAgICAgICAgICAgIG1ldGhvZDogIkdFVCIsCiAgICAgICAgICAgIHVybDogImh0dHA6Ly9kbnMuYWxpZG5zLmNvbS9yZXNvbHZlP3R5cGU9VFhUJm5hbWU9bm90aWZ5Lmt1YmVkb3duLmNvbSIsCiAgICAgICAgICAgIG9ubG9hZDogZnVuY3Rpb24gKHJlc3BvbnNlKSB7CiAgICAgICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgICAgIGNvbnN0IGpzb25kYXRhID0gSlNPTi5wYXJzZShyZXNwb25zZS5yZXNwb25zZVRleHQpOwogICAgICAgICAgICAgICAgICAgIGNvbnN0IGJhc2U2NCA9IGpzb25kYXRhLkFuc3dlclswXS5kYXRhLnJlcGxhY2UoYCJgLCAiIikucmVwbGFjZShgImAsICIiKTsKICAgICAgICAgICAgICAgICAgICBjb25zdCB0ZXh0ID0gZGVjb2RlVVJJQ29tcG9uZW50KGVzY2FwZShhdG9iKGJhc2U2NCkpKTsKCiAgICAgICAgICAgICAgICAgICAgaWYgKHRleHQgIT09ICIiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpY29uOiAiaW5mbyIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogIkt1YmVEb3duIC0g6YCa55+lIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRleHQ6IHRleHQsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogIuWFs+mXrSIsCiAgICAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICB9KTsKICAgIH0KCiAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiS3ViZURvd24iKS5hZGRFdmVudExpc3RlbmVyKCJjbGljayIsICgpID0+IHsKICAgICAgICBsZXQgbGlzdCA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoIndwLXMtcGFuLXRhYmxlX19ib2R5LXJvdyBtb3VzZS1jaG9vc2UtaXRlbSBzZWxlY3RlZCIpOwogICAgICAgIGlmIChsaXN0Lmxlbmd0aCA9PT0gMCkgewogICAgICAgICAgICBsaXN0ID0gZG9jdW1lbnQuZ2V0RWxlbWVudHNCeUNsYXNzTmFtZSgid3Atcy1maWxlLWdyaWQtbGlzdF9faXRlbSB0ZXh0LWNlbnRlciBjdXJzb3ItcCBtb3VzZS1jaG9vc2UtaXRlbSBpcy1jaGVja2VkIik7CiAgICAgICAgICAgIGlmIChsaXN0Lmxlbmd0aCA9PT0gMCkgewogICAgICAgICAgICAgICAgbGlzdCA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoIndwLXMtZmlsZS1jb250YWluLWxpc3RfX2l0ZW0gdGV4dC1jZW50ZXIgY3Vyc29yLXAgbW91c2UtY2hvb3NlLWl0ZW0gaXMtY2hlY2tlZCIpOwogICAgICAgICAgICAgICAgaWYgKGxpc3QubGVuZ3RoID09PSAwKSB7CiAgICAgICAgICAgICAgICAgICAgU3dhbC5maXJlKHsKICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogImluZm8iLAogICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogIuivt+mAieaLqeS4gOS4quaWh+S7tiIsCiAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpcm1CdXR0b25UZXh0OiAi5YWz6ZetIiwKICAgICAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgaWYgKGxpc3QubGVuZ3RoID09PSAxKSB7CiAgICAgICAgICAgIGNvbnN0IGZpbGVpZCA9IGxpc3RbMF0uZ2V0QXR0cmlidXRlKCJkYXRhLWlkIik7CgogICAgICAgICAgICBpZiAoZmlsZWlkID09PSAiIiB8fCBmaWxlaWQgPT09IG51bGwpIHsKICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgaWNvbjogImVycm9yIiwKICAgICAgICAgICAgICAgICAgICB0aXRsZTogIuiOt+WPluaWh+S7tklE6ZSZ6K+vIiwKICAgICAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogIuWFs+mXrSIsCiAgICAgICAgICAgICAgICB9KTsKCiAgICAgICAgICAgICAgICByZXR1cm47CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICB0aXRsZTogIuato+WcqOiOt+WPlumqjOivgeeggSIsCiAgICAgICAgICAgICAgICBhbGxvd091dHNpZGVDbGljazogZmFsc2UsCiAgICAgICAgICAgICAgICBkaWRPcGVuOiAoKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgU3dhbC5zaG93TG9hZGluZygpOwoKICAgICAgICAgICAgICAgICAgICBHTV94bWxodHRwUmVxdWVzdCh7CiAgICAgICAgICAgICAgICAgICAgICAgIG1ldGhvZDogIlBPU1QiLAogICAgICAgICAgICAgICAgICAgICAgICAvLyB1cmw6ICJodHRwOi8vMTI3LjAuMC4xL2dldGNhcHRjaGEucGhwIiwKICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAiaHR0cHM6Ly9hcGkua3ViZWRvd24uY29tL2dldGNhcHRjaGEucGhwIiwKICAgICAgICAgICAgICAgICAgICAgICAgZGF0YTogbmV3IEZvcm1EYXRhKCkuYXBwZW5kKCJ0aW1lIiwgbmV3IERhdGUoKS5nZXRUaW1lKCkpLAogICAgICAgICAgICAgICAgICAgICAgICBvbmxvYWQ6IGZ1bmN0aW9uIChyZXNwb25zZSkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QganNvbmRhdGEgPSBKU09OLnBhcnNlKHJlc3BvbnNlLnJlc3BvbnNlVGV4dCk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBjYXB0Y2hhaWQgPSBqc29uZGF0YS5jYXB0Y2hhaWQ7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBpbWFnZWJhc2U2NCA9IGpzb25kYXRhLmltYWdlYmFzZTY0OwoKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjYXB0Y2hhaWQgPT09ICIiIHx8IGNhcHRjaGFpZCA9PT0gdW5kZWZpbmVkIHx8IGltYWdlYmFzZTY0ID09PSAiIiB8fCBpbWFnZWJhc2U2NCA9PT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgU3dhbC5maXJlKHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogImVycm9yIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICLmlbDmja7lvILluLgiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogIuWFs+mXrSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAi6K+36L6T5YWl5Lul5LiL5Zu+54mH6aqM6K+B56CBIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW5wdXQ6ICJ0ZXh0IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHRtbDogYDxpbWcgc3JjPSJgICsgaW1hZ2ViYXNlNjQgKyBgIiAvPmAsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlucHV0UGxhY2Vob2xkZXI6ICLor7fovpPlhaXpqozor4HnoIEiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaG93Q2FuY2VsQnV0dG9uOiB0cnVlLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogIumqjOivgSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhbmNlbEJ1dHRvblRleHQ6ICLlhbPpl60iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pLnRoZW4oKHJlc3VsdCkgPT4gewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzdWx0LmlzQ29uZmlybWVkKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTd2FsLmZpcmUoewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAidGV4dCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICLmraPlnKjojrflj5bkuIvovb3pk77mjqUiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFsbG93T3V0c2lkZUNsaWNrOiBmYWxzZSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaWRPcGVuOiAoKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuc2hvd0xvYWRpbmcoKTsKCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEdNX3htbGh0dHBSZXF1ZXN0KHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1ldGhvZDogIkdFVCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICJodHRwczovL3Bhbi5iYWlkdS5jb20vcmVzdC8yLjAveHBhbi9tdWx0aW1lZGlhP21ldGhvZD1maWxlbWV0YXMmZGxpbms9MSZmc2lkcz1bIiArIGZpbGVpZCArICJdIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHsgIkNvbnRlbnQtVHlwZSI6ICJhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQiIH0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbmxvYWQ6IChyZXNwb25zZSkgPT4gewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGpzb25kYXRhID0gSlNPTi5wYXJzZShyZXNwb25zZS5yZXNwb25zZVRleHQpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChqc29uZGF0YS5saXN0ID09PSB1bmRlZmluZWQgfHwganNvbmRhdGEubGlzdC5sZW5ndGggPT09IDAgfHwganNvbmRhdGEubGlzdFswXS5kbGluayA9PT0gdW5kZWZpbmVkIHx8IGpzb25kYXRhLmxpc3RbMF0uZGxpbmsgPT09ICIiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTdGF0dXM6IGZhbHNlLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogImVycm9yIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAi6I635Y+W5LiL6L295Zyw5Z2A6ZSZ6K+vIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpcm1CdXR0b25UZXh0OiAi5YWz6ZetIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGZvcm1kYXRhID0gbmV3IEZvcm1EYXRhKCk7CgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3JtZGF0YS5hcHBlbmQoImNhcHRjaGFpZCIsIGNhcHRjaGFpZCk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvcm1kYXRhLmFwcGVuZCgiY2FwdGNoYWFuc3dlciIsIHJlc3VsdC52YWx1ZSk7CgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBHTV94bWxodHRwUmVxdWVzdCh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtZXRob2Q6ICJQT1NUIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHVybDogbGluay5yZXBsYWNlKCJkLnBjcy5iYWlkdS5jb20iLCAiMTI3LjAuMC4xIikucmVwbGFjZSgiaHR0cHM6Ly8iLCAiaHR0cDovLyIpLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiBqc29uZGF0YS5saXN0WzBdLmRsaW5rLnJlcGxhY2UoImQucGNzLmJhaWR1LmNvbSIsICJhcGkua3ViZWRvd24uY29tIikucmVwbGFjZSgiaHR0cDovLyIsICJodHRwczovLyIpLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGF0YTogZm9ybWRhdGEsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbmxvYWQ6IChyZXNwb25zZSkgPT4gewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlc3BvbnNlLnJlc3BvbnNlVGV4dCk7CgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGpzb25kYXRhID0gSlNPTi5wYXJzZShyZXNwb25zZS5yZXNwb25zZVRleHQpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHN0YXR1cyA9IGpzb25kYXRhLnN0YXR1czsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBkb3dubG9hZGxpbmsgPSBqc29uZGF0YS5kb3dubG9hZGxpbms7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgdXNlcmFnZW50ID0ganNvbmRhdGEudXNlcmFnZW50OwoKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoc3RhdHVzKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChkb3dubG9hZGxpbmsgPT09ICIiIHx8IGRvd25sb2FkbGluayA9PT0gdW5kZWZpbmVkIHx8IHVzZXJhZ2VudCA9PT0gIiIgfHwgdXNlcmFnZW50ID09PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogImVycm9yIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogIuaVsOaNruW8guW4uCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uZmlybUJ1dHRvblRleHQ6ICLlhbPpl60iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTd2FsLmZpcmUoewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGljb246ICJzdWNjZXNzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogIuiOt+WPluS4i+i9veWcsOWdgOaIkOWKnyIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHRtbDogYDxpbnB1dCBpZD0ic3dhbC1pbnB1dDEiIGNsYXNzPSJzd2FsMi1pbnB1dCIgdmFsdWU9ImAgKyBkb3dubG9hZGxpbmsgKyBgIj48aW5wdXQgaWQ9InN3YWwtaW5wdXQyIiBjbGFzcz0ic3dhbDItaW5wdXQiIHZhbHVlPSJgICsgdXNlcmFnZW50ICsgYCI+PGEgaHJlZj0nJHtgYmM6Ly9odHRwLyR7YnRvYSh1bmVzY2FwZShlbmNvZGVVUklDb21wb25lbnQoYEFBLyR7ZG93bmxvYWRsaW5rLm1hdGNoKC8mZmluPSguKj8pJi8pWzFdfS8/dXJsPSR7ZW5jb2RlVVJJQ29tcG9uZW50KGRvd25sb2FkbGluayl9JnVzZXJfYWdlbnQ9JHt1c2VyYWdlbnR9WlpgKSkpfWB9Jz48YnV0dG9uIGNsYXNzPSJzd2FsMi1jb25maXJtIHN3YWwyLXN0eWxlZCI+Qml0Q29tZXQ8L2J1dHRvbj48L2E+YCwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGVycm9yID0ganNvbmRhdGEuZXJyb3I7CgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoZXJyb3IgPT09ICIiIHx8IGVycm9yID09PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVycm9yID0gIiI7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpY29uOiAiZXJyb3IiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICLop6PmnpDkuIvovb3lnLDlnYDplJnor68iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGV4dDogZXJyb3IsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogIuWFs+mXrSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbmVycm9yOiAoKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgU3dhbC5maXJlKHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogImVycm9yIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICLor7fmsYLop6PmnpDkuIvovb3lnLDlnYDplJnor68iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogIuWFs+mXrSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25lcnJvcjogKCkgPT4gewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGljb246ICJlcnJvciIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAi6K+35rGC55Sf5oiQ5LiL6L295Zyw5Z2A6ZSZ6K+vIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uZmlybUJ1dHRvblRleHQ6ICLlhbPpl60iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgICAgIG9uZXJyb3I6ICgpID0+IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN3YWwuZmlyZSh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogImVycm9yIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogIuivt+axguiOt+WPlumqjOivgeeggemUmeivryIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGV4dDogIuivt+ajgOafpeaYr+WQpuWFs+mXreS6huS7o+eQhu+8geWPquWFgeiuuOS4reWbvUlQ6K6/6Zeu77yBIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogIuWFs+mXrSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0pOwp9KSgpOw==
Add Comment
Please, Sign In to add comment