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AgIGZpbHRlcl91cmw6ICd7e2ZsLuWcsOWMun19LXt7Zmwu5o6S5bqPIG9yICJ0aW1lIn19LXt7Zmwu5Ymn5oOFfX0te3tmbC7or63oqIB9fS17e2ZsLuWtl+avjX19LS0tZnlwYWdlLS0te3tmbC7lubTku719fScsCiAgICBoZWFkZXJzOiB7CiAgICAgICAgJ1VzZXItQWdlbnQnOiAnTU9CSUxFX1VBJywKICAgIH0sCiAgICB0aW1lb3V0OiA1MDAwLAogICAgY2xhc3NfcGFyc2U6ICcubmF2LW0tYm94JiZsaTthJiZUZXh0O2EmJmhyZWY7Ly4qXC8oLio/KVwuaHRtbCcsCiAgICBjYXRlX2V4Y2x1ZGU6ICfmnIDov5F85o6S6KGMJywKICAgIHBsYXlfcGFyc2U6IHRydWUsCiAgICBsYXp5OiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgIHZhciBodG1sID0gSlNPTi5wYXJzZShyZXF1ZXN0KGlucHV0KS5tYXRjaCgvciBwbGF5ZXJfLio/PSguKj8pPC8pWzFdKTsKICAgICAgICBsb2coaHRtbCkKICAgICAgICB2YXIgdXJsID0gaHRtbC51cmw7CiAgICAgICAgdmFyIGZyb20gPSBodG1sLmZyb207CiAgICAgICAgaWYgKGh0bWwuZW5jcnlwdCA9PSAnMScpIHsKICAgICAgICAgICAgdXJsID0gdW5lc2NhcGUodXJsKTsKICAgICAgICB9IGVsc2UgaWYgKGh0bWwuZW5jcnlwdCA9PSAnMicpIHsKICAgICAgICAgICAgdXJsID0gdW5lc2NhcGUoYmFzZTY0RGVjb2RlKHVybCkpOwogICAgICAgIH0KICAgICAgICBsb2codXJsKQogICAgICAgIHZhciBwY29uZmlnID0ganNwLnBkZmgocmVxdWVzdChydWxlLnBhcnNlICsgdXJsKSwgJ2JvZHkmJnNjcmlwdCwwJiZIdG1sJykubWF0Y2goL2NvbmZpZyA9IHtbXHNcU10qP30vKVswXTsKICAgICAgICB2YXIgY29uZmlnID0ge307CiAgICAgICAgZXZhbChwY29uZmlnKTsKICAgICAgICBsZXQgcHVybCA9IEpTT04ucGFyc2UocmVxdWVzdChydWxlLnBhcnNlLnJlcGxhY2UoJz91cmw9JywgJ2FwaV9jb25maWcucGhwJyksIHsKICAgICAgICAgICAgaGVhZGVyczogewogICAgICAgICAgICAgICAgJ09yaWdpbic6IEhPU1QKICAgICAgICAgICAgfSwKICAgICAgICAgICAgYm9keTogJ3VybD0nICsgY29uZmlnLnVybCArICcmdGltZT0nICsgY29uZmlnLnRpbWUgKyAnJmtleT0nICsgY29uZmlnLmtleSwKICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcKICAgICAgICB9KSkudXJsOwogICAgICAgIGlmICgvTkJZfEJUSlNPTnxDTDRLLy50ZXN0KGZyb20pKSB7CiAgICAgICAgICAgIGxldCBwbGF5ID0gSlNPTi5wYXJzZShyZXF1ZXN0KHB1cmwsIHsKICAgICAgICAgICAgICAgIGhlYWRlcnM6IHsKICAgICAgICAgICAgICAgICAgICAnT3JpZ2luJzogJ2h0dHBzOi8va2VkYXlzLm9yZycsCiAgICAgICAgICAgICAgICAgICAgJ0hvc3QnOiAnY2RuLnN1eHVuLnNpdGUnLAogICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogJ01vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8xMjMuMC4wLjAgU2FmYXJpLzUzNy4zNicKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICByZWRpcmVjdDogZmFsc2UsCiAgICAgICAgICAgICAgICB3aXRoSGVhZGVyczogdHJ1ZQogICAgICAgICAgICB9KSkubG9jYXRpb247CiAgICAgICAgICAgIGlucHV0ID0ge3BhcnNlOiAwLCB1cmw6IHBsYXksIGpzOiAnJ307CiAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgbGV0IHBsYXkgPSBKU09OLnBhcnNlKHJlcXVlc3QocHVybCwgewogICAgICAgICAgICAgICAgaGVhZGVyczogewogICAgICAgICAgICAgICAgICAgICdPcmlnaW4nOiAnaHR0cHM6Ly9rZWRheXMub3JnJywKICAgICAgICAgICAgICAgICAgICAnSG9zdCc6ICdjZG4uc3V4dW4uc2l0ZScsCiAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEyMy4wLjAuMCBTYWZhcmkvNTM3LjM2JwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHJlZGlyZWN0OiBmYWxzZSwKICAgICAgICAgICAgICAgIHdpdGhIZWFkZXJzOiB0cnVlCiAgICAgICAgICAgIH0pKS5sb2NhdGlvbjsKICAgICAgICAgICAgbGV0IHZpZGVvID0gSlNPTi5wYXJzZShyZXF1ZXN0KHBsYXksIHsKICAgICAgICAgICAgICAgIGhlYWRlcnM6IHsKICAgICAgICAgICAgICAgICAgICAnT3JpZ2luJzogJ2h0dHBzOi8va2VkYXlzLm9yZycsCiAgICAgICAgICAgICAgICAgICAgJ0hvc3QnOiAnY2RuLnN1eHVuLnNpdGUnLAogICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogJ01vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8xMjMuMC4wLjAgU2FmYXJpLzUzNy4zNicKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICByZWRpcmVjdDogZmFsc2UsCiAgICAgICAgICAgICAgICB3aXRoSGVhZGVyczogdHJ1ZQogICAgICAgICAgICB9KSkubG9jYXRpb24gKyAnIy5tM3U4JzsKICAgICAgICAgICA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