mirror of
https://github.com/alantang1977/hipy.git
synced 2024-11-22 03:33:07 +02:00
1 line
4.5 KiB
JavaScript
1 line
4.5 KiB
JavaScript
|
dmFyIHJ1bGUgPSB7CiAgICBhdXRob3I6ICflsI/lj6/kuZAvMjQwNTI3L+esrOS4gOeJiCcsCiAgICB0aXRsZTogJ+eIseeci+WGnOawkTJb5LyYXScsCiAgICBob3N0OiAnaHR0cHM6Ly9tLmVtc2RuLmNuJywKICAgIGhvc3RKczogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICBwcmludChIT1NUKTsKICAgICAgICBsZXQgaHRtbCA9IHJlcXVlc3QoSE9TVCwge2hlYWRlcnM6IHsiVXNlci1BZ2VudCI6IFBDX1VBfX0pOwogICAgICAgIGxldCBzcmMgPSBqc3AucGRmaChodG1sLCAiYm9keSYmYTplcSgwKSYmaHJlZiIpIHx8IGpzcC5wZGZoKGh0bWwsICJib2R5JiZhOmVxKDApJiZUZXh0Iik7CiAgICAgICAgaWYgKHNyYyAmJiBzcmMubGVuZ3RoID4gNSkgewogICAgICAgICAgICBwcmludChzcmMpOwogICAgICAgICAgICBpZiAoIXNyYy5zdGFydHNXaXRoKCdodHRwJykpIHsKICAgICAgICAgICAgICAgIHNyYyA9ICdodHRwczovLycgKyBzcmMKICAgICAgICAgICAgfQogICAgICAgICAgICBwcmludCgi5oqT5Yiw5Li76aG1OiIgKyBzcmMpOwogICAgICAgICAgICBIT1NUID0gc3JjCiAgICAgICAgfQogICAgfSksCiAgICBoZWFkZXJzOiB7J1VzZXItQWdlbnQnOiAnSU9TX1VBJ30sCiAgICDnvJbnoIE6ICd1dGYtOCcsCiAgICB0aW1lb3V0OiA1MDAwLAoKICAgIGhvbWVVcmw6ICcvJywKICAgIHVybDogJy92b2QtbGlzdC1pZC1meWZpbHRlci5odG1sJywKICAgIGZpbHRlcl91cmw6ICd7e2ZsLmNhdGVJZH19LXBnLWZ5cGFnZS1vcmRlci0tYnkte3tmbC5ieSBvciAidGltZSJ9f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EVuY29kZShpbml0X2pzKSksCiAgICAgICAgfQogICAgfSksCgogICAgbGltaXQ6IDEyLAogICAgZG91YmxlOiBmYWxzZSwKICAgIOaOqOiNkDogJyonLAogICAg5LiA57qnOiAnLnBpY1R4dCBsaTsuc1RpdCYmVGV4dDtpbWcmJmRhdGEtc3JjOy5lbUhvdCYmVGV4dDthJiZocmVmJywKICAgIOS6jOe6pzogewogICAgICAgICJ0aXRsZSI6ICJ0ZC0tLnNEZXMmJlRleHQ7LnR5cGUtdGl0bGUmJlRleHQiLAogICAgICAgICJpbWciOiAiLnBvc3RlclBpYyYmaW1nJiZzcmMiLAogICAgICAgICJkZXNjIjogIi5zRGVzOmVxKDApJiZUZXh0Oy5kZXRhaWwtY29uJiZlbTplcSgwKSYmVGV4dDs7LnNEZXM6ZXEoMikmJlRleHQ7LnNEZXM6ZXEoMSkmJlRleHQiLAogICAgICAgICJjb250ZW50IjogIi5kZXRhaWwtY29uJiZwJiZUZXh0IiwKICAgICAgICAidGFicyI6ICIuYm94Q29uV2lkdGgmJnNwYW4iLAogICAgICAgICJ0YWJfdGV4dCI6ICJib2R5JiZUZXh0IiwKICAgICAgICAibGlzdHMiOiAiLmRyYW1hTnVtTGlzdDplcSgjaWQpJiZhIiwKICAgICAgICAibGlzdF90ZXh0IjogImJvZHkmJlRleHQiLAogICAgICAgICJsaXN0X3VybCI6ICJhJiZocmVmIgogICAgfSwKICAgIOS6jOe6p+iuv+mXruWJjTogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICBpZiAoLy1wbGF5LS8udGVzdChNWV9VUkwpKSB7CiAgICAgICAgICAgIE1ZX1VSTCA9IE1ZX1VSTC5yZXBsYWNlKC9wbGF5LWlkLShcZCspLio/XC5odG1sLywgJ2RldGFpbC1pZC0kMS5odG1sJyk7CiAgICAgICAgICAgIC8vbG9nKE1ZX1VSTCk7CiAgICAgICAgfQogICAgfSksCiAgICDmkJzntKI6ICcjZGF0YV9saXN0IGxpOyo7Kjsuc1N0e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