Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@uckk云@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoidWNra+S6kSIsImF1dGhvciI6IlRob21hc+WWsiIsInVybCI6Imhpa2VyOi8vZW1wdHkjI3Vja2vkupEiLCJ2ZXJzaW9uIjoyMDIzMDcwMSwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJvdGhlciIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxuLy8g5aS45YWL5LqR55uYIC8gVUPkupHnm5gg6LWE5rqQ5LiL6L29XG5cbi8vIOWhq+WGmeagvOW8j+WmguS4i1xuLy8gW1wi6LWE5rqQ5ZCN56ewXCIsIFwi6LWE5rqQaWRcIiwgXCLmj5Dlj5bnoIFcIiwgXCLmlofku7ZpZFwiLCBcIuaOkuW6j+exu+Wei1wiXSxcblxuXG4vLyDotYTmupDlkI3np7AgLSDoh6rlrprkuYnkvaDllpzmrKLnmoRcblxuXG4vLyDotYTmupBpZCAtIOWIhuS6q+mTvuaOpemdoOWQjumdoueahOWtl+esplxu44CA44CAIC8vIOS+i++8mmh0dHBzOi8vcGFuLnF1YXJrLmNuL3Mv44CQZjJhYjYzOWMyYzVk44CRIy9cbuOAgOOAgCAvLyDinZfmsqHmnInotYTmupBpZOaXtuS8muWIpOWumuS4uuOAkOaWsOWIhuexu+OAkVxuXG5cbi8vIOaPkOWPlueggSAtIOayoeacieWwseeVmeepuuOAglxuXG5cbi8vIOaWh+S7tmlkIC0g5rKh5pyJ5bCx55WZ56m644CCXG7jgIDjgIAgLy8g54K55Ye75paH5Lu25aS55pe277yM6K+35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3BsaXQoJyMnKTtcXG5cXG4gICAgICAgICAgICBnZXRkKF9bMF0sIF9bMV0sIF9bMl0sIF9bM10sIF9bNF0pO1xcbiAgICAgICAgICAgIHNldFJlc3VsdChkKTtcXG4gICAgICAgIH0sIHB3ZF9pZCArIFxcXCIjXFxcIiArIHBhc3Njb2RlICsgXFxcIiNcXFwiICsgcGRpcl9maWQgKyBcXFwiI1xcXCIgKyAhc29ydG51bSArIFxcXCIjXFxcIiArIGNpKTtcXG4gICAgfVxcblxcblxcblxcbiAgICBzb3J0ID0gW1xcbiAgICAgICAgW1xcXCLmjInml7bpl7RcXFwiLCBcXFwidXBkYXRlZF9hdCUzQWRlc2NcXFwiXSxcXG4gICAgICAgIFtcXFwi5oyJ5ZCN56ewXFxcIiwgXFxcImZpbGVfbmFtZSUzQWFzY1xcXCJdXFxuICAgIF1bc29ydG51bV07XFxuXFxuICAgIGQgPSBbXTtcXG4gICAgaWYgKE1ZX1BBR0UgPT0gMSkge1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogUmljaChTdHJvbmcoQ29sb3Ioc29ydFswXSkpKSxcXG4gICAgICAgICAgICB1cmw6IHVybCxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnLFxcbiAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgIGxvbmdDbGljazogW3tcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiAnIOKYhSDlpI3liLbmkJzntKLor63lj6Ug4piFICcsXFxuICAgICAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygocHdkX2lkLCBwYXNzY29kZSwgcGRpcl9maWQsIHNvcnRudW0pID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB1cmwgPSBcXFwiY29weTovLy9zL1xcXCIgKyBwd2RfaWQgKyBcXFwiL3BkaXJfZmlkL1xcXCIgKyBwZGlyX2ZpZCArIFxcXCIvc29ydG51bS9cXFwiICsgc29ydG51bTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFzc2NvZGUpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsICs9IFxcXCIkXFxcIiArIHBhc3Njb2RlO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsXFxuICAgICAgICAgICAgICAgICAgICB9LCBwd2RfaWQsIHBhc3Njb2RlLCBwZGlyX2ZpZCwgc29ydG51bSlcXG4gICAgICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICcg4piGIOWkjeWItui1hOa6kOmTvuaOpSDimIYgJyxcXG4gICAgICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKChwd2RfaWQsIHBhc3Njb2RlKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly9odHRwczovL3Bhbi5xdWFyay5jbi9zL1xcXCIgKyBwd2RfaWQ7XFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHBhc3Njb2RlKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybCArPSBcXFwiXFxcXG5cXFxcbuaPkOWPlueggSTvvJpcXFwiICsgcGFzc2NvZGU7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxcXG4gICAgICAgICAgICAgICAgICAgIH0sIHB3ZF9pZCwgcGFzc2NvZGUpXFxuICAgICAgICAgICAgICAgIH1dXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfSk7XFxuXFxuICAgIH1cXG5cXG5cXG5cXG5cXG5cXG5cXG4gICAgdXJsID0gXFxcImh0dHBzOi8vcGFuLnF1YXJrLmNuLzEvY2xvdWRkcml2ZS9zaGFyZS9zaGFyZXBhZ2UvZGV0YWlsP3B3ZF9pZD1cXFwiICsgcHdkX2lkICsgXFxc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yAn6aG5JztcXG4gICAgICAgICAgICAgICAgICAgIHVybCA9ICQoZW1wdHkpLnJ1bGUoKGlucHV0KSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChKU09OLnBhcnNlKGZldGNoKCdoaWtlcjovL3BhZ2UvaW5mbz9ydWxlPXVja2vkupEnLCB7fSkpLnJ1bGUpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIF8gPSBpbnB1dC5zcGxpdCgnIycpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGdldGQoX1swXSwgX1sxXSwgX1syXSwgX1szXSwgX1s0XSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgc2V0UmVzdWx0KGQpO1xcbiAgICAgICAgICAgICAgICAgICAgfSwgcHdkX2lkICsgXFxcIiNcXFwiICsgcGFzc2NvZGUgKyBcXFwiI1xcXCIgKyBfLmZpZCArIFxcXCIjXFxcIiArIHNvcnRudW0gKyBcXFwiI1xcXCIgKyAoY2kgKyAxKSk7XFxuICAgICAgICAgICAgICAgIH1cXG5cXG5cXG5cXG5cXG5cXG4gICAgICAgICAgICAgICAgZXh0cmEgPSB7XFxuICAgICAgICAgICAgICAgICAgICBsb25nQ2xpY2s6IFt7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICcg4piFIOWkjeWItuaQnOe0ouivreWPpSDimIUgJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygocHdkX2lkLCBwYXNzY29kZSwgcGRpcl9maWQsIHNvcnRudW0pID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly8vcy9cXFwiICsgcHdkX2lkICsgXFxcIi9wZGlyX2ZpZC9cXFwiICsgcGRpcl9maWQgKyBcXFwiL3NvcnRudW0vXFxcIiArIHNvcnRudW07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwYXNzY29kZSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsICs9IFxcXCIkXFxcIiArIHBhc3Njb2RlO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxcXG4gICAgICAgICAgICAgICAgICAgICAgICB9LCBwd2RfaWQsIHBhc3Njb2RlLCBfLmZpZCwgc29ydG51bSlcXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogJyDimIYg5aSN5Yi26LWE5rqQ6ZO+5o6lIOKYhiAnLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKChwd2RfaWQsIHBhc3Njb2RlKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybCA9IFxcXCJjb3B5Oi8vaHR0cHM6Ly9wYW4ucXVhcmsuY24vcy9cXFwiICsgcHdkX2lkO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFzc2NvZGUpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybCArPSBcXFwiXFxcXG5cXFxcbuaPkOWPlueggSTvvJpcXFwiICsgcGFzc2NvZGU7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybFxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sIHB3ZF9pZCwgcGFzc2NvZGUpXFxuICAgICAgICAgICAgICAgICAgICB9XVxcbiAgICAgICAgICAgICAgICB9XFxuXFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogXy5maWxlX25hbWUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6IHVybCxcXG4gICAgICAgICAgICAgICAgICAgIGltZzogJ2h0dHBzOi8vYW5kcm9pZC1hcnR3b3Jrcy4yNXBwLmNvbS9mczA4LzIwMjIvMDgvMDUvNS8xMTBfZmE2NjBlMTNlZDY3Zjg2ODgyMDUwMWU2YWNlNmQ1ZTFfY29uXzEzMHgxMzAucG5nJyxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnYXZhdGFyJyxcXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiBleHRyYVxcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiB0aW1lICsgbnVtLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiB1cmwsXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMScsXFxuICAgICAgICAgICAgICAgICAgICBleHRyYTogZXh0cmFcXG4gICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgIHJldHVybiBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdsaW5lJ1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICB9XFxuXFxuXFxuXFxuICAgICAgICAgICAgLy8g6ZyA6KaB5LyY5YyWXFxuICAgICAgICAgICAgYiA9IF8uc2l6ZSAqIDEwMDtcXG4gICAgICAgICAgICBrYiA9IH5+KGIgLyAxMDI0KSAvIDEwMDtcXG4gICAgICAgICAgICBpZiAoa2IgPiAxMDI0KSB7XFxuICAgICAgICAgICAgICAgIG1iID0gfn4oa2IgKiAxMDAgLyAxMDI0KSAvIDEwMFxcblxcbiAgICAgICAgICAgICAgICBpZiAobWIgPiAxMDI0KSB7XFxuICAgICAgICAgICAgICAgICAgICBnYiA9IH5+KG1iICogMTAwIC8gMTAyNCkgLyAxMDBcXG5cXG4gICAgICAgICAgICAgICAgICAgIGdldHooZ2IsICdHQicpO1xcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICAgICAgZ2V0eihtYiwgJ01CJyk7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICBnZXR6KGtiLCAnS0InKTtcXG4gICAgICAgICAgICB9XFxuXFxuXFxuXFxuXFxuXFxuICAgICAgICAgICAgdXJsID0gXy5maWQgKyBcXFwiI1xcXCIgKyBwd2RfaWQgKyBcXFwiI1xcXCIgKyBfLnNoYXJlX2ZpZF90b2tlbiArIFxcXCIjXFxcIiArIHBhc3Njb2RlICsgZ2V0VTtcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogXy5maWxlX25hbWUsXFxuICAgICAgICAgICAgICAgIHVybDogdXJsLFxcbiAgICAgICAgICAgICAgICBpbWc6IF8udGh1bWJuYWlsIHx8ICdodHRwczovL2FuZHJvaWQtYXJ0d29ya3MuMjVwcC5jb20vZnMwOC8yMDIyLzA3LzI2LzcvMTEwXzE5ZDk4MjM4MTdhODMzNzA0ZDZlOWI0MGM3MWRhMDQyX2Nvbl8xMzB4MTMwLnBuZycsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnYXZhdGFyJ1xcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiB0aW1lICsgXFxcIvCfk6UgXFxcIiArIHNpemUsXFxuICAgICAgICAgICAgICAgIHVybDogdXJsLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMSdcXG4gICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICByZXR1cm4gZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdsaW5lJ1xcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfSk7XFxuICAgIH0gY2F0Y2ggKGVycikge1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogXy5tZXNzYWdlLFxcbiAgICAgICAgICAgIHVybDogXFxcImNvcHk6Ly9odHRwcz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2V5LnJlcGxhY2UoL15bXFxcXFNcXFxcc10rXFxcXCQo77yaXFxcXHMqKT8vLCAnJyk7XFxuICAgIH1cXG5cXG5cXG4gICAgZ2V0cyhwd2RfaWQsIHBhc3Njb2RlKTtcXG4gICAgZ2V0ZChwd2RfaWQsIHBhc3Njb2RlLCBwZGlyX2ZpZCwgc29ydG51bSwgMCk7XFxuICAgIGEgPSBbXTtcXG4gICAgZm9yIChpID0gMTsgaSA8IGQubGVuZ3RoOyBpICs9IDMpIHtcXG4gICAgICAgIGEucHVzaCh7XFxuICAgICAgICAgICAgdGl0bGU6IGRbaV0udGl0bGUsXFxuICAgICAgICAgICAgZGVzYzogZFtpICsgMV0udGl0bGUsXFxuICAgICAgICAgICAgdXJsOiBkW2ldLnVybFxcbiAgICAgICAgfSlcXG4gICAgfVxcbiAgICBkID0gYVxcbn0gZWxzZSB7XFxuICAgIHN3aXRjaCAoc2lkKSB7XFxuXFxuXFxuICAgICAgICBjYXNlICc5OTknOlxcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiBcXFwi6IGa5pCcID0+IFxcXCIgKyBzb2tleSxcXG4gICAgICAgICAgICAgICAgdXJsOiBcXFwiaGlrZXI6Ly9zZWFyY2g/cz1cXFwiICsgc29rZXkgKyBcXFwiJnJ1bGU9dWNra+S6kVxcXCIsXFxuICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgICBydWxlczogJC50b1N0cmluZygoc2FyciwgaW5wdXQpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgZGF0YSA9IFtdO1xcblxcbiAgICAgICAgICAgICAgICAgICAgICAgIGRlbGV0ZSBzYXJyWzBdO1xcblxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNhcnIubWFwKFt0aXRsZSwgc2lkXSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGEucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcXFwidGl0bGVcXFwiOiB0aXRsZSxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxcXCJzZWFyY2hfdXJsXFxcIjogXFxcImhpa2VyOi8vZW1wdHkjIyNmeXBhZ2UjIyNcXFwiICsgaW5wdXQucmVwbGFjZSgvXuiBmuWQiD/mkJzntKI/XFxcXHMqLywgJycpICsgXFxcIiMjI1xcXCIgKyBzaWQsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcXFwic2VhcmNoRmluZFxcXCI6IFxcXCJqczogJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2Uvc2VhcmNoP3J1bGU9dWNra+S6kScpO1xcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gSlNPTi5zdHJpbmdpZnkoZGF0YSk7XFxuICAgICAgICAgICAgICAgICAgICB9LCBzYXJyLCBzb2tleSlcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgYnJlYWs7XFxuXFxuXFxuXFxuICAgICAgICBjYXNlICcxJzpcXG4gICAgICAgICAgICB1cmwgPSAnaHR0cHM6Ly92LmZ1bmxldHUuY29tL3NlYXJjaCdcXG4gICAgICAgICAgICBib2R5ID0ge1xcbiAgICAgICAgICAgICAgICBcXFwic3R5bGVcXFwiOiBcXFwiZ2V0XFxcIixcXG4gICAgICAgICAgICAgICAgXFxcImRhdGFzcmNcXFwiOiBcXFwic2VhcmNoXFxcIixcXG4gICAgICAgICAgICAgICAgXFxcInF1ZXJ5XFxcIjoge1xcbiAgICAgICAgICAgICAgICAgICAgXFxcImlkXFxcIjogXFxcIlxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwiZGF0ZXRpbWVcXFwiOiBcXFwiXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJjb21tb25pZFxcXCI6IDEsXFxuICAgICAgICAgICAgICAgICAgICBcXFwicGFybWlkXFxcIjogXFxcIlxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwiZmlsZWlkXFxcIjogXFxcIlxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwicmVwb3J0aWRcXFwiOiBcXFwiXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJ2YWxpZGlkXFxcIjogXFxcIlxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwic2VhcmNodGV4dFxcXCI6IHNva2V5XFxuICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgIFxcXCJwYWdlXFxcIjoge1xcbiAgICAgICAgICAgICAgICAgICAgXFxcInBhZ2VTaXplXFxcIjogMTAsXFxuICAgICAgICAgICAgICAgICAgICBcXFwicGFnZUluZGV4XFxcIjogTVlfUEFHRVxcbiAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICBcXFwib3JkZXJcXFwiOiB7XFxuICAgICAgICAgICAgICAgICAgICBcXFwicHJvcFxcXCI6IFxcXCJpZFxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwib3JkZXJcXFwiOiBcXFwiZGVzY1xcXCJcXG4gICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgXFxcIm1lc3NhZ2VcXFwiOiBcXFwi6K+35rGC6LWE5rqQ5YiX6KGo5pWw5o2uXFxcIlxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICBwb3N0KHVybCwgYm9keSkuZGF0YS5tYXAoXyA9PiB7XFxuICAgICAgICAgICAgICAgIGlmIChfLnZhbGlkID09IDApIHtcXG4gICAgICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IF8udGl0bGUsXFxuICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzogXFxcIuKPse+4jyBcXFwiICsgXy51cGRhdGV0aW1lICsgXFxcIuOAgPCflJYgXFxcIiArIF8uZmlsZXR5cGUsXFxuICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiBcXFwiaGlrZXI6Ly9zZWFyY2g/cz1cXFwiICsgXy51cmwgKyBcXFwiJnJ1bGU9dWNra+S6kVxcXCJcXG4gICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcblxcblxcblxcbiAgICAgICAgY2FzZSAnMic6XFxuICAgICAgICAgICAgdXJsID0gXFxcImh0dHBzOi8vd3d3LmxhaXNveWl4aWEuY29tL3Mvc2VhcmNoP3E9XFxcIiArIHNva2V5ICsgXFxcIiZjdXJyZW50UGFnZT1cXFwiICsgTVlfUEFHRSArIFxcXCImbz00MVxcXCJcXG4gICAgICAgICAgICBwZGZhKGZldGNoKHVybCksIFxcXCJib2R5JiYucmVzdWx0LXBpZWNlXFxcIilcXG4gICAgICAgICAgICAgICAgLm1hcChkaXYgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogcGRmaChkaXYsIFxcXCIudGl0bGUmJmEmJlRleHRcXFwiKSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBwZGZoKGRpdiwgXFxcIi5iYXNpYy1pbmZvJiZUZXh0XFxcIiksXFxuICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiBcXFwiaGlrZXI6Ly9zZWFyY2g/cz1cXFwiICsgcGRmaChkaXYsIFxcXCIudGl0bGUmJmEmJmhyZWZcXFwiKSArIFxcXCImcnVsZT11Y2tr5LqRXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICBicmVhaztcXG5cXG5cXG5cXG4gICAgICAgIGNhc2UgJzMnOlxcbiAgICAgICAgICAgIGlmIChnZXRNeVZhcignYnVpbGRJZCcpID09ICcnKSB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LqRXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICBicmVhaztcXG5cXG5cXG5cXG4gICAgICAgIGNhc2UgJzQnOlxcbiAgICAgICAgICAgIHVybCA9IFxcXCJodHRwczovL2FpcGFuc28uY29tL3NlYXJjaD9wYWdlPVxcXCIgKyBNWV9QQUdFICsgXFxcIiZrPVxcXCIgKyBzb2tleSArIFxcXCImcz0wJnQ9LTFcXFwiO1xcbiAgICAgICAgICAgIHBkZmEoZmV0Y2godXJsKSwgXFxcImJvZHkmJnZhbi1yb3dcXFwiKVxcbiAgICAgICAgICAgICAgICAubWFwKGRpdiA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBocmVmID0gcGRmaChkaXYsIFxcXCJhJiZocmVmXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICBpZiAoaHJlZi5tYXRjaCgvXFxcXC9zXFxcXC8vKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIF8gPSBkaXYuc3BsaXQoJzwvdGVtcGxhdGU+JylcXG4gICAgICAgICAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogcGRmaChfWzBdLCBcXFwiKiYmVGV4dFxcXCIpLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBwZGZoKF9bMV0sIFxcXCIqJiZUZXh0XFxcIiksXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJChcXFwiaHR0cHM6Ly9haXBhbnNvLmNvbVxcXCIgKyBocmVmLnJlcGxhY2UoJy9zLycsICcvY3YvJykpLmxhenlSdWxlKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhyZWYgPSBmZXRjaChpbnB1dCwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3JlZmVyZXInOiBpbnB1dFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25seUhlYWRlcnM6IHRydWVcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vc2VhcmNoP3M9XFxcIiArIGhyZWYgKyBcXFwiJnJ1bGU9dWNra+S6kVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIGJyZWFrO1xcblxcblxcblxcbiAgICAgICAgZGVmYXVsdDpcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogXFxcIuaXoOazleiOt+WPluaQnOe0ouaOpeWPo1xcXCJcXG4gICAgICAgICAgICB9KVxcbiAgICB9XFxufVxcbnNldFJlc3VsdChkKTtcIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIueoi+W6j+mmlumhtVwiLFwicGF0aFwiOlwiaG9tZVwiLFwicnVsZVwiOlwiZXZhbChKU09OLnBhcnNlKGZldGNoKCdoaWtlcjovL3BhZ2UvaW5mbz9ydWxlPXVja2vkupEnLCB7fSkpLnJ1bGUpO1xcbmQgPSBbe1xcbiAgICB0aXRsZTogJ/CflI0nLFxcbiAgICBkZXNjOiAn5pCc57Si5YWz6ZSu6K+NIC8g6ZO+5o6lJOaPkOWPlueggScsXFxuICAgIHVybDogJ1xcXCJoaWtlcjovL3NlYXJjaD9zPVxcXCIraW5wdXQrXFxcIiZydWxlPVxcXCIrTVlfUlVMRS50aXRsZScsXFxuICAgIGNvbF90eXBlOiBcXFwiaW5wdXRcXFwiLFxcbiAgICBleHRyYToge1xcbiAgICAgICAgcnVsZXM6ICQudG9TdHJpbmcoKHNhcnIpID0+IHtcXG4gICAgICAgICAgICBsZXQgZGF0YSA9IFtdO1xcbiAgICAgICAgICAgIGlucHV0MiA9IFxcXCJcXFwiO1xcbiAgICAgICAgICAgIGlmIChpbnB1dC5tYXRjaCgvIyMjLisvKSkge1xcbiAgICAgICAgICAgICAgICBpbnB1dDIgPSBpbnB1dC5tYXRjaCgvIyMjKC4rKS8pWzFdO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICBpZiAoaW5wdXQubWF0Y2goL1xcXFwvc1xcXFwvLisvKSkge1xcbiAgICAgICAgICAgICAgICBzYXJyID0gW1xcbiAgICAgICAgICAgICAgICAgICAgW1xcXCLojrflj5botYTmupDmlofku7ZcXFwiLCA5OTldXFxuICAgICAgICAgICAgICAgIF07XFxuICAgICAgICAgICAgfSBlbHNlIGlmICghaW5wdXQyLm1hdGNoKC9eKDk5OSk/JC8pKSB7XFxuICAgICAgICAgICAgICAgIHNhcnIgPSBbc2FycltpbnB1dDJdXVxcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoIWdldE15VmFyKCdpbnB1dDInKS5tYXRjaCgvXig5OTkpPyQvKSkge1xcbiAgICAgICAgICAgICAgICBzYXJyID0gW3NhcnJbZ2V0TXlWYXIoJ2lucHV0MicpXV1cXG4gICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICBkZWxldGUgc2FyclswXTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgc2Fyci5tYXAoW3RpdGxlLCBzaWRdID0+IHtcXG4gICAgICAgICAgICAgICAgZGF0YS5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJ0aXRsZVxcXCI6IHRpdGxlLFxcbiAgICAgICAgICAgICAgICAgICAgXFxcInNlYXJjaF91cmxcXFwiOiBcXFwiaGlrZXI6Ly9lbXB0eSMjI2Z5cGF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dHlwZTogJ2JsYW5rX2Jsb2NrJ1xcbn0pO1xcblxcblxcblxcblxcblxcblxcbmlUYWcgPSBbXTtcXG56eS5tYXAoW2EsIGIsIGMsIGUsIGZdID0+IHtcXG5cXG4gICAgaWYgKCFiKSB7XFxuICAgICAgICByZXR1cm4gaVRhZy5wdXNoKFthLCBbXV0pO1xcbiAgICB9XFxuXFxuICAgIGUgPSBlIHx8IDBcXG4gICAgZXh0cmEgPSB7XFxuICAgICAgICBsb25nQ2xpY2s6IFt7XFxuICAgICAgICAgICAgdGl0bGU6ICcg4piFIOWkjeWItuaQnOe0ouivreWPpSDimIUgJyxcXG4gICAgICAgICAgICBqczogJC50b1N0cmluZygocHdkX2lkLCBwYXNzY29kZSwgcGRpcl9maWQsIHNvcnRudW0pID0+IHtcXG4gICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly8vcy9cXFwiICsgcHdkX2lkICsgXFxcIi9wZGlyX2ZpZC9cXFwiICsgcGRpcl9maWQgKyBcXFwiL3NvcnRudW0vXFxcIiArIHNvcnRudW07XFxuICAgICAgICAgICAgICAgIGlmIChwYXNzY29kZSkge1xcbiAgICAgICAgICAgICAgICAgICAgdXJsICs9IFxcXCIkXFxcIiArIHBhc3Njb2RlO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIHJldHVybiB1cmxcXG4gICAgICAgICAgICB9LCBiLCBjLCBlLCBmKVxcbiAgICAgICAgfSwge1xcbiAgICAgICAgICAgIHRpdGxlOiAnIOKYhiDlpI3liLbotYTmupDpk77mjqUg4piGICcsXFxuICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKHB3ZF9pZCwgcGFzc2NvZGUpID0+IHtcXG4gICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly9odHRwczovL3Bhbi5xdWFyay5jbi9zL1xcXCIgKyBwd2RfaWQ7XFxuICAgICAgICAgICAgICAgIGlmIChwYXNzY29kZSkge1xcbiAgICAgICAgICAgICAgICAgICA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i8vIOmYsuatoumAieS4reS6huWIoOmZpOeahOWIhue7hCjph43lkK/kuZ/ooYwpXFxuaWYgKGdldE15VmFyKCdpJywgJzAnKSA+IGlUYWcubGVuZ3RoIC0gMSkge1xcbiAgICBwdXRNeVZhcignaScsICcwJyk7XFxufTtcXG5pVGFnLm1hcCgoW25hbWUsIGxpc3RdLCBpKSA9PiB7XFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTogZ2V0TXlWYXIoJ2knLCAnMCcpID09IGkgPyBSaWNoKFN0cm9uZyhDb2xvcihuYW1lKSkpIDogbmFtZSxcXG4gICAgICAgIHVybDogJCgnI25vTG9hZGluZyMnKS5sYXp5UnVsZSgoZW1wdHksIGkpID0+IHtcXG4gICAgICAgICAgICBwdXRNeVZhcignaScsIGkpO1xcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcXG4gICAgICAgICAgICByZXR1cm4gZW1wdHk7XFxuICAgICAgICB9LCBlbXB0eS5yZXBsYWNlKC8jLisvLCAnJyksIGkpLFxcbiAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJ1xcbiAgICB9KTtcXG59KTtcXG5cXG5kLnB1c2goe1xcbiAgICBjb2xfdHlwZTogJ2JsYW5rX2Jsb2NrJ1xcbn0pO1xcbmQgPSBkLmNvbmNhdChpVGFnW2dldE15VmFyKCdpJywgJzAnKV1bMV0pO1xcblxcbnNldFJlc3VsdChkKTtcIn1dIiwiaWNvbiI6Imh0dHBzOi8vYW5kcm9pZC1hcnR3b3Jrcy4yNXBwLmNvbS9mczA4LzIwMjIvMDcvMjYvNy8xMTBfMTlkOTgyMzgxN2E4MzM3MDRkNmU5YjQwYzcxZGEwNDJfY29uXzEzMHgxMzAucG5nIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment