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c2xpY2UoMCkuam9pbigiXG4iKS5yZXBsYWNlKC8mbmJzcDsvZywgJyAnKS5zcGxpdCgnPGRpdicpWzBdOwogICAgICAgIGxldCByZXQgPSBKU09OLnN0cmluZ2lmeSh7CiAgICAgICAgICAgIHRpdGxlLAogICAgICAgICAgICBjb250ZW50CiAgICAgICAgfSk7CiAgICAgICAgaW5wdXQgPSB7cGFyc2U6IDAsIHVybDogJ25vdmVsOi8vJyArIHJldCwganM6ICcnfTsKICAgIH0pLAogICAgZG91YmxlOiBmYWxzZSwKICAgIOaOqOiNkDogJyonLAogICAg5LiA57qnOiAnLmxpc3Rjb25sJiZ1bCYmbGk7YSYmVGV4dDs7c3BhbjplcSgtMSkmJlRleHQ7YSYmaHJlZjthOmVxKDEpJiZUZXh0JywKICAgIOS6jOe6pzogewogICAgICAgIOmHjeWumuWQkTogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICAgICAgbG9nKCfmiafooYzph43lrprlkJE6JyArIE1ZX1VSTCk7CiAgICAgICAgICAgIC8vIGxldCBodG1sID0gcmVxdWVzdChNWV9VUkwpOwogICAgICAgICAgICBNWV9VUkwgPSBwZChodG1sLCAnYS5kaXJhbGlua3MmJmhyZWYnLCBNWV9VUkwpOwogICAgICAgICAgICBsb2coJ+S6jOe6p+mHjeWumuWQkeWIsDonICsgTVlfVVJMKTsKICAgICAgICAgICAgaHRtbCA9IHJlcXVlc3QoTVlfVVJMKTsKICAgICAgICB9KSwKICAgICAgICB0aXRsZTogJ2gxJiZUZXh0JywKICAgICAgICBpbWc6ICdpbWcmJnNyYycsCiAgICAgICAgZGVzYzogJy5sYXN0cmVjb3JkJiZUZXh0JywKICAgICAgICBjb250ZW50OiAnLnJfY29ucyYmVGV4dCcsCiAgICAgICAgdGFiczogJy5kaXJ0aXRvbmUmJmgyJywKICAgICAgICBsaXN0czogJ3VsJiZsaScsCiAgICAgICAgdGFiX3RleHQ6ICdib2R5JiZUZXh0JywKICAgICAgICBsaXN0X3RleHQ6ICdib2R5JiZUZXh0JywKICAgICAgICBsaXN0X3VybDogJ2EmJmhyZWYnLAogICAgICAgIGxpc3RfdXJsX3ByZWZpeDogJycsCiAgICB9LAogICAg5pCc57SiOiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgIGxldCBodG1sID0gcmVxdWVzdChpbnB1dC5zcGxpdCgnIycpWzBdKTsKICAgICAgICBsZXQgbGlzID0gcGRmYShodG1sLCAnLmF1Ym9vazImJmg0JykuZmlsdGVyKGl0ID0+IGl0LmluY2x1ZGVzKEtFWSkpOwogICAgICAgIGxldCBkID0gW107CiAgICAgICAgbGlzLmZvckVhY2goaXQgPT4gewogICAgICAgICAgICBkLnB1c2goewogICAgICAgICAgICAgICAgdGl0bGU6IHBkZmgoaXQsICdhJiZUZXh0JyksCiAgICAgICAgICAgICAgICBkZXNjOiBwZGZoKGl0LCAnaDQtLWEmJlRleHQnKSwKICAgICAgICAgICAgICAgIGltZzogIiIsCiAgICAgICAgICAgICAgICB1cmw6IHBkKGl0LCAnYSYmaHJlZicsIE1ZX1VSTCksCiAgICAgICAgICAgIH0pCiAgICAgICAgfSk7CiAgICAgICAgc2V0UmVzdWx0KGQpOwogICAgfSksCn0= |