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d9LAogICAgICAgIDQ6e2NhdGVJZDonNCcsYnk6J3RpbWUnfQogICAgfSwKICAgIGNsYXNzX3BhcnNlOiAnLnN0dWktaGVhZGVyX19tZW51IGxpOmd0KDApOmx0KDUpO2EmJlRleHQ7YSYmaHJlZjsuKi8oLio/KS5odG1sJywKCXRhYl9leGNsdWRlOiflvbHniYd86K+E6K66fOamnOWNlXznvZHnu5x85pyA5paw5o6o6I2QJywgICAgCiAgICBwYXJzZTogJ2h0dHBzOi8vangubGFzaS5mdW4vYmx1ZS9pbmRleC5waHA/dXJsPScsCiAgICBsYXp5OiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgIGxldCBodG1sID0gSlNPTi5wYXJzZShyZXF1ZXN0KGlucHV0KS5tYXRjaCgvciBwbGF5ZXJfLio/PSguKj8pPC8pWzFdKQoJICAgIGxldCB1cmwgPSBodG1sLnVybAoJICAgIGxldCBmcm9tID0gaHRtbC5mcm9tCgkgICAgaWYgKGh0bWwuZW5jcnlwdCA9PSAnMScpIHsKCQkgICAgdXJsID0gdW5lc2NhcGUodXJsKTsKCSAgICB9IGVsc2UgaWYgKGh0bWwuZW5jcnlwdCA9PSAnMicpIHsKCQkgICAgdXJsID0gdW5lc2NhcGUoYmFzZTY0RGVjb2RlKHVybCkpOwoJICAgIH0KICAgICAgICBsb2coJ+WIh+eJh+WcsOWdgDonICsgdXJsKTsKICAgICAgICAKICAgICAgICBpZiAodXJsLmluY2x1ZGVzKCcubTN1OCcpKXsKICAgICAgICAgICAgaW5wdXQgPSB1cmw7CiAgICAgICAgfWVsc2UgaWYoZnJvbT09J2JsdWUnKXsKICAgICAgICAgICAgbGV0IGh0bWw9cmVxdWVzdChydWxlLnBhcnNlK3VybCx7CiAgICAgICAgICAgICAgICBoZWFkZXJzOnsKICAgICAgICAgICAgICAgICAgICAnUmVmZXJlcic6J2h0dHBzOi8vd3d3LmhheWluZy50ZWNoLycsCiAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEyMy4wLjAuMCBTYWZhcmkvNTM3LjM2JywKICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHJlZGlyZWN0OiBmYWxzZSwKICAgICAgICAgICAgICAgIHdpdGhIZWFkZXJzOiB0cnVlfSkKICAgICAgICAgICAgbG9nKGh0bWwpCiAgICAgICAgICAgIGxldCBwYXJzZXVybD1KU09OLnBhcnNlKGh0bWwpLmxvY2F0aW9uOwogICAgICAgICAgICBsb2cocGFyc2V1cmwpCiAgICAgICAgICAgIGxldCBwbGF5PUpTT04ucGFyc2UocmVxdWVzdChwYXJzZXVybC5zcGxpdCgnP3VybD0nKVsxXSx7CiAgICAgICAgICAgICAgICBoZWFkZXJzOnsKICAgICAgICAgICAgICAgICAgICAnT3JpZ2luJzogJ2h0dHBzOi8vangubGFzaS5mdW4nLAogICAgICAgICAgICAgICAgICAgICdIb3N0JzogJ2Nkbi55YW5ndHV5dW4uY24nLAogICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogJ01vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8xMjMuMC4wLjAgU2FmYXJpLzUzNy4zNicKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICByZWRpcmVjdDogZmFsc2UsCiAgICAgICAgICAgICAgICB3aXRoSGVhZGVyczogdHJ1ZX0pKS5sb2NhdGlvbisnIy5tM3U4JzsKICAgICAgICAgICAgLy9sZXQgcGxheXVybD1mZXRjaChwbGF5LHtoZWFkZXJzOnsnSG9zdCc6ICdkb3dubG9hZDQuY2FpeXVuLmZlaXhpbi4xMD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