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ICAgICAgIGxldCBkZXRhaWxVcmwgPSAiaHR0cHM6Ly92LiU3MSU3MS5jb20vZGV0YWlsL20vIiArIGNpZCArICIuaHRtbCI7CiAgICAgICAgbG9nKCLor6bmg4XpobU6IiArIGRldGFpbFVybCk7CiAgICAgICAgcGRmaCA9IGpzcC5wZGZoOwogICAgICAgIHBkID0ganNwLnBkOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGxldCBqc29uID0gSlNPTi5wYXJzZShodG1sKTsKICAgICAgICAgICAgVk9EID0gewogICAgICAgICAgICAgICAgdm9kX3VybDogaW5wdXQsCiAgICAgICAgICAgICAgICB2b2RfbmFtZToganNvbi5jLnRpdGxlLAogICAgICAgICAgICAgICAgdHlwZV9uYW1lOiBqc29uLnR5cC5qb2luKCIsIiksCiAgICAgICAgICAgICAgICB2b2RfYWN0b3I6IGpzb24ubmFtLmpvaW4oIiwiKSwKICAgICAgICAgICAgICAgIHZvZF95ZWFyOiBqc29uLmMueWVhciwKICAgICAgICAgICAgICAgIHZvZF9jb250ZW50OiBqc29uLmMuZGVzY3JpcHRpb24sCiAgICAgICAgICAgICAgICB2b2RfcmVtYXJrczoganNvbi5yZWMsCiAgICAgICAgICAgICAgICB2b2RfcGljOiB1cmxqb2luMihpbnB1dCwganNvbi5jLnBpYykKICAgICAgICAgICAgfQogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgbG9nKCLop6PmnpDniYflkI3mtbfmiqXnrYnln7rnoYDkv6Hmga/lj5HnlJ/plJnor686IiArIGUubWVzc2FnZSkKICAgICAgICB9CiAgICAgICAgaWYgKC9nZXRfcGxheXNvdXJjZS8udGVzdChpbnB1dCkpIHsKICAgICAgICAgICAgZXZhbChodG1sKTsKICAgICAgICAgICAgbGV0IGluZGV4TGlzdCA9IFFaT3V0cHV0SnNvbi5QbGF5bGlzdEl0ZW0uaW5kZXhMaXN0OwogICAgICAgICAgICBpbmRleExpc3QuZm9yRWFjaChmdW5jdGlvbiAoaXQpIHsKICAgICAgICAgICAgICAgIGxldCBkYXRhVXJsID0gImh0dHBzOi8vcy52aWRlby5xcS5jb20vZ2V0X3BsYXlzb3VyY2U/aWQ9IiArIHNvdXJjZUlkICsgIiZwbGF0PTImdHlwZT00JmRhdGFfdHlwZT0zJnJhbmdlPSIgKyBpdCArICImdmlkZW9fdHlwZT0xMCZwbG5hbWU9cXEmb3R5cGU9anNvbiI7CiAgICAgICAgICAgICAgICBldmFsKGZldGNoKGRhdGFVcmwsIGZldGNoX3BhcmFtcykpOwogICAgICAgICAgICAgICAgbGV0IHZkYXRhID0gUVpPdXRwdXRKc29uLlBsYXlsaXN0SXRlbS52aWRlb1BsYXlMaXN0OwogICAgICAgICAgICAgICAgdmRhdGEuZm9yRWFjaChmdW5jdGlvbiAoaXRlbSkgewogICAgICAgICAgICAgICAgICAgIGQucHVzaCh7CiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBpdGVtLnRpdGxlLAogICAgICAgICAgICAgICAgICAgICAgICBwaWNfdXJsOiBpdGVtLnBpYywKICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzogaXRlbS5lcGlzb2RlX251bWJlciArICJcdFx0XHTmkq3mlL7ph4/vvJoiICsgaXRlbS50aGlyZExpbmUsCiAgICAgICAgICAgICAgICAgICAgICAgIHVybDogaXRlbS5wbGF5VXJsCiAgICAgICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgdmlkZW9fbGlzdHMgPSB2aWRlb19saXN0cy5jb25jYXQodmRhdGEpCiAgICAgICAgICAgIH0pCiAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgbGV0IGpzb24gPSBKU09OLnBhcnNlKGh0bWwpOwogICAgICAgICAgICB2aWRlb19saXN0cyA9IGpzb24uYy52aWRlb19pZHM7CiAgICAgICAgICAgIGxldCB1cmwgPSAiaHR0cHM6Ly92LnFxLmNvbS94L2NvdmVyLyIgKyBzb3VyY2VJZCArICIuaHRtbCI7CiAgICAgICAgICAgIGlmICh2aWRlb19saXN0cy5sZW5ndGggPT09IDEpIHsKICAgICAgICAgICAgICAgIGxldCB2aWQgPSB2aWRlb19saXN0c1swXTsKICAgICAgICAgICAgICAgIHVybCA9ICJodHRwczovL3YucXEuY29tL3gvY292ZXIvIiArIGNpZCArICIvIiArIHZpZCArICIuaHRtbCI7CiAgICAgICAgICAgICAgICBkLnB1c2goewogICAgICAgICAgICAgICAgICAgIHRpdGxlOiAi5Zyo57q/5pKt5pS+IiwKICAgICAgICAgICAgICAgICAgICB1cmw6IHVybAogICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgfSBlbHNlIGlmICh2aWRlb19saXN0cy5sZW5ndGggPiAxKSB7CiAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHZpZGVvX2xpc3RzLmxlbmd0aDsgaSArPSAzMCkgewogICAgICAgICAgICAgICAgICAgIHZpZGVvX2xpc3QucHVzaCh2aWRlb19saXN0cy5zbGljZShpLCBpICsgMzApKQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgdmlkZW9fbGlzdC5mb3JFYWNoKGZ1bmN0aW9uIChpdCwgaWRleCkgewogICAgICAgICAgICAgICAgICAgIGxldCBvX3VybCA9ICJodHRwczovL3VuaW9uLnZpZGVvLnFxLmNvbS9mY2dpLWJpbi9kYXRhP290eXBlPWpzb24mdGlkPTE4MDQmYXBwaWQ9MjAwMDEyMzgmYXBwa2V5PTZjMDNiYmU5NjU4NDQ4YTQmdW5pb25fcGxhdGZvcm09MSZpZGxpc3Q9IiArIGl0LmpvaW4oIiwiKTsKICAgICAgICAgICAgICAgICAgICBsZXQgb19odG1sID0gZmV0Y2gob191cmwsIGZldGNoX3BhcmFtcyk7CiAgICAgICAgICAgICAgICAgICAgZXZhbChvX2h0bWwpOwogICAgICAgICAgICAgICAgICAgIFFaT3V0cHV0SnNvbi5yZXN1bHRzLmZvckVhY2goZnVuY3Rpb24gKGl0MSkgewogICAgICAgICAgICAgICAgICAgICAgICBpdDEgPSBpdDEuZmllbGRzOwogICAgICAgICAgICAgICAgICAgICAgICBsZXQgdXJsID0gImh0dHBzOi8vdi5xcS5jb20veC9jb3Zlci8iICsgY2lkICsgIi8iICsgaXQxLnZpZCArICIuaHRtbCI7CiAgICAgICAgICAgICAgICAgICAgICAgIGQucHVzaCh7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogaXQxLnRpdGxlLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgcGljX3VybDogaXQxLnBpYzE2MHg5MC5yZXBsYWNlKCIvMTYwIiwgIiIpLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzogaXQxLnZpZGVvX2NoZWNrdXBfdGltZSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogdXJsLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogaXQxLmNhdGVnb3J5X21hcCAmJiBpdDEuY2F0ZWdvcnlfbWFwLmxlbmd0aCA+IDEgPyBpdDEuY2F0ZWdvcnlfbWFwWzFdIDogIiIKICAgICAgICAgICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICBsZXQgeWcgPSBkLmZpbHRlcihmdW5jdGlvbiAoaXQpIHsKICAgICAgICAgICAgcmV0dXJuIGl0LnR5cGUgJiYgaXQudHlwZSAhPT0gIuato+eJhyIKICAgICAgICB9KTsKICAgICAgICBsZXQgenAgPSBkLmZpbHRlcihmdW5jdGlvbiAoaXQpIHsKICAgICAgICAgICAgcmV0dXJuICEoaXQudHlwZSAmJiBpdC50eXBlICE9PSAi5q2j54mHIikKICAgICAgICB9KTsKICAgICAgICBWT0Qudm9kX3BsYXlfZnJvbSA9IHlnLmxlbmd0aCA8IDEgPyAicXEiIDogInFxJCQkcXEg6aKE5ZGK5Y+K6Iqx57WuIjsKICAgICAgICBWT0Qudm9kX3BsYXlfdXJsID0geWcubGVuZ3RoIDwgMSA/IGQubWFwKGZ1bmN0aW9uIChpdCkgewogICAgICAgICAgICByZXR1cm4gaXQudGl0bGUgKyAiJCIgKyBpdC51cmwKICAgICAgICB9KS5qb2luKCIjIikgOiBbenAsIHlnXS5tYXAoZnVuY3Rpb24gKGl0KSB7CiAgICAgICAgICAgIHJldHVybiBpdC5tYXAoZnVuY3Rpb24gKGl0cykgewogICAgICAgICAgICAgICAgcmV0dXJuIGl0cy50aXRsZSArICIkIiArIGl0cy51cmwKICAgICAgICAgICAgfSkuam9pbigiIyIpCiAgICAgICAgfSkuam9pbigiJCQkIik7CiAgICB9KSwKICAgIOaQnOe0ojogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICBsZXQgZCA9IFtdOwogICAgICAgIHBkZmEgPSBqc3AucGRmYTsKICAgICAgICBwZGZoID0ganNwLnBkZmg7CiAgICAgICAgcGQgPSBqc3AucGQ7CiAgICAgICAgbGV0IGh0bWwgPSByZXF1ZXN0KGlucHV0KTsKICAgICAgICBsZXQgYmFzZUxpc3QgPSBwZGZhKGh0bWwsICJib2R5JiYucmVzdWx0X2l0ZW1fdiIpOwogICAgICAgIGJhc2VMaXN0LmZvckVhY2goZnVuY3Rpb24gKGl0KSB7CiAgICAgICAgICAgIGxldCBsb25nVGV4dCA9IHBkZmgoaXQsICIucmVzdWx0X3RpdGxlJiZhJiZUZXh0Iik7CiAgICAgICAgICAgIGxldCBzaG9ydFRleHQgPSBwZGZoKGl0LCAiLnR5cGUmJlRleHQiKTsKICAgICAgICAgICAgbGV0IGZyb21UYWcgPSBwZGZoKGl0LCAiLnJlc3VsdF9zb3VyY2UmJlRleHQiKTsKICAgICAgICAgICAgbGV0IHNjb3JlID0gcGRmaChpdCwgIi5maWd1cmVfaW5mbyYmVGV4dCIpOwogICAgICAgICAgICBsZXQgY29udGVudCA9IHBkZmgoaXQsICIuZGVzY190ZXh0JiZUZXh0Iik7CiAgICAgICAgICAgIGxldCB1cmwgPSBwZGZoKGl0LCAiLnJlc3VsdF90aXRsZSYmYSYmaHJlZiIpOwogICAgICAgICAgICBsZXQgaW1nID0gcGQoaXQsICIuZmlndXJlX3BpYyYmc3JjIik7CiAgICAgICAgICAgIHVybCA9ICJodHRwczovL25vZGUudmlkZW8ucXEuY29tL3gvYXBpL2Zsb2F0X3ZpbmZvMj9jaWQ9IiArIHVybC5tYXRjaCgvLipcLyguKj8pXC5odG1sLylbMV07CiAgICAgICAgICAgIGxvZyhzaG9ydFRleHQgKyAifCIgKyB1cmwpOwogICAgICAgICAgICBpZiAoZnJvbVRhZy5tYXRjaCgv6IW+6K6vLykpIHsKICAgICAgICAgICAgICAgIGQucHVzaCh7CiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGxvbmdUZXh0LnNwbGl0KHNob3J0VGV4dClbMF0sCiAgICAgICAgICAgICAgICAgICAgaW1nOiBpbWcsCiAgICAgICAgICAgICAgICAgICAgdXJsOiB1cmwsCiAgICAgICAgICAgICAgICAgICAgY29udGVudDogY29udGVudCwKICAgICAgICAgICAgICAgICAgICBkZXNjOiBzaG9ydFRleHQgKyAiICIgKyBzY29yZQogICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgICAgIHNldFJlc3VsdChkKTsKICAgIH0pLAp9