Advertisement
xiaomianao666

邀您一起看:⚙直播设置⚙

Jul 24th, 2024
965
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥⚙直播设置⚙@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuS6keWPo+S7pOWvvOWFpVwiLFwicGF0aFwiOlwiY2xvdWRpbXBvcnRcIixcInJ1bGVcIjpcImZ1bmN0aW9uIGNsb3VkaW1wb3J0KCkge1xcbiAgICBsZXQgcmVtb3RlZmlsZTtcXG4gICAgbGV0IGNmZ2ZpbGUgPSBcXFwiaGlrZXI6Ly9maWxlcy9ydWxlcy9TcmMvSnV5aW5nL2NvbmZpZy5qc29uXFxcIjtcXG4gICAgaWYgKGZpbGVFeGlzdChjZmdmaWxlKSkge1xcbiAgICAgICAgZXZhbChcXFwibGV0IEp1Y29uZmlnPVxcXCIgKyBmZXRjaChjZmdmaWxlKSArIFxcXCI7XFxcIik7XFxuICAgICAgICByZW1vdGVmaWxlID0gSnVjb25maWdbXFxcIuS+nei1llxcXCJdLm1hdGNoKC9odHRwKHMpPzpcXFxcL1xcXFwvLipcXFxcLy8pWzBdICsgJ1NyY0p5U2V0LmpzJztcXG4gICAgfVxcbiAgICBpZihyZW1vdGVma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ICAgICAgaGlkZUxvYWRpbmcoKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL1xcXFx1NjZmNFxcXFx1NjViMFxcXFx1NTkzMVxcXFx1OGQyNVxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW5wdXQgPT0gXFxcIlxcXFx1NTIyMFxcXFx1OTY2NFxcXFx1OGJhMlxcXFx1OTYwNVxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKC9eaHR0cC8udGVzdCh1cmwpKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZWxldGVDYWNoZSh1cmwpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsaXZlY2ZnID0gZmV0Y2gobGl2ZWNmZ2ZpbGUpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAobGl2ZWNmZyAhPSBcXFwiXFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChcXFwidmFyIGxpdmVjb25maWcgPSBcXFwiICsgbGl2ZWNmZyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbGl2ZWRhdGEgPSBsaXZlY29uZmlnW1xcXCJkYXRhXFxcIl0gfHwgW107XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGxpdmVkYXRhLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGxpdmVkYXRhW2ldLnVybCA9PSB1cmwpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGl2ZWRhdGEuc3BsaWNlKGksIDEpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXZlY29uZmlnW1xcXCJkYXRhXFxcIl0gPSBsaXZlZGF0YTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdyaXRlRmlsZShsaXZlY2ZnZmlsZSwgSlNPTi5zdHJpbmdpZnkobGl2ZWNvbmZpZykpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGlucHV0ID09IFxcXCJcXFxcdTViZmNcXFxcdTUxNjVcXFxcdTgwNWFcXFxcdTc2ZjRcXFxcdTY0YWRcXFwiKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgSnVsaXZlZmlsZSA9IFxcXCJoaWtlcjovL2ZpbGVzL3J1bGVzL2xpdmUvY29uZmlnLmpzb25cXFwiO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IEp1bGl2ZSA9IGZldGNoKEp1bGl2ZWZpbGUpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKEp1bGl2ZSAhPSBcXFwiXFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV2YWwoXFxcInZhciBKdWRhdGE9XFxcIiArIEp1bGl2ZSArIFxcXCI7XFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBKdWRhdGFsaXN0ID0gSnVkYXRhW1xcXCJkYXRhXFxcIl0gfHwgW107XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghSnVkYXRhbGlzdC5zb21lKGl0ZW0gPT4gaXRlbS51cmwgPT0gdXJsKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICQoXFxcIlxcXCIsIFxcXCJcXFxcdTUzZDZcXFxcdTRlMmFcXFxcdTU0MGRcXFxcdTViNTdcXFxcdTRmZGRcXFxcdTViNThcXFxcdTU0MjdcXFwiKS5pbnB1dCgoSnVsaXZlZmlsZSwgSnVkYXRhLCB1cmwpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW5wdXQpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgSnVkYXRhW1xcXCJkYXRhXFxcIl0ucHVzaCh7bmFtZTogaW5wdXQsIHVybDogdXJsfSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdyaXRlRmlsZShKdWxpdmVmaWxlLCBKU09OLnN0cmluZ2lmeShKdWRhdGEpKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL1xcXFx1NWJmY1xcXFx1NTE2NVxcXFx1ODA1YVxcXFx1NzZmNFxcXFx1NjRhZFxcXFx1OGJhMlxcXFx1OTYwNVxcXFx1NjIxMFxcXFx1NTI5ZlxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL1xcXFx1NTQwZFxcXFx1NzlmMFxcXFx1NGUwZFxcXFx1ODBmZFxcXFx1NGUzYVxcXFx1N2E3YVxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLCBKdWxpdmVmaWxlLCBKdWRhdGEsIHVybCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8vXFxcXHU1ZGYyXFxcXHU1YjU4XFxcXHU1NzI4XFxcXHU4MDVhXFxcXHU3NmY0XFxcXHU2NGFkXFxcXHU4YmEyXFxcXHU5NjA1XFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXRjaCAoZSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsb2coXFxcIlxcXFx1NWJmY1xcXFx1NTE2NVxcXFx1ODA1YVxcXFx1NzZmNFxcXFx1NjRhZFxcXFx1OGJhMlxcXFx1OTYwNVxcXFx1NTkzMVxcXFx1OGQyNT5cXFwiICsgZS5tZXNzYWdlKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL1xcXFx1NWJmY1xcXFx1NTE2NVxcXFx1ODA1YVxcXFx1NzZmNFxcXFx1NjRhZFxcXFx1OGJhMlxcXFx1OTYwNVxcXFx1NTkzMVxcXFx1OGQyNVxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8vXFxcXHU0ZWQzXFxcXHU1ZTkzXFxcXHU1MTQ4XFxcXHU1YmZjXFxcXHU1MTY1XFxcXHU4MDVhXFxcXHU3NmY0XFxcXHU2NGFkXFxcXHU1YzBmXFxcXHU3YTBiXFxcXHU1ZThmXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpbnB1dCA9PSBcXFwiXFxcXHU1YmZjXFxcXHU1MTY1XFxcXHU4MDVhXFxcXHU1ZjcxXFxcXHUyMjFhXFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNob3dMb2FkaW5nKFxcXCJcXFxcdTUzZTBcXFxcdTUyYTBcXFxcdTViZmNcXFxcdTUxNjVcXFxcdTc2ZjRcXFxcdTY0YWRcXFxcdWZmMGNcXFxcdTY3MDBcXFxcdTU5MjdcXFxcdTRlMDdcXFxcdTg4NGNcXFxcdTk2NTBcXFxcdTUyMzZcXFwiKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgWUNodG1sID0gZmV0Y2hDYWNoZSh1cmwsIDI0LCB7dGltZW91dDogMzAwMH0pLnJlcGxhY2UoL1RWLS9nLCBcXFwiVFZcXFwiKS5yZXBsYWNlKC9cXFxcWy4qXFxcXF0vZywgXFxcIlxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChZQ2h0bWwuaW5kZXhPZihcXFwiI2dlbnJlI1xcXCIpID4gLTEpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIFlDbGl2ZXMgPSBZQ2h0bWwuc3BsaXQoXFxcIlxcXFxuXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIFlDbGl2ZXMgPSBbXTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFlDbGl2ZXMubGVuZ3RoID4gMCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaW1wb3J0bnVtID0gMDtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IEpZbGl2ZWZpbGUgPSBcXFwiaGlrZXI6Ly9maWxlcy9ydWxlcy9TcmMvSnV5aW5nL2xpdmUudHh0XFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IEpZbGl2ZSA9IGZldGNoKEpZbGl2ZWZpbGUpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoSllsaXZlKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgSllsaXZlcyA9IEpZbGl2ZS5zcGxpdChcXFwiXFxcXG5cXFwiKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpZCA9IDA7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcHkgPSAwO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBZQ2xpdmVzLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKEpZbGl2ZXMubGVuZ3RoID4gMTAwMDApIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbG9nKFxcXCJcXFxcdTc2ZjRcXFxcdTY0YWRcXFxcdTY1NzBcXFxcdTYzNmVcXFxcdTZlOTBcXFxcdTY1ODdcXFxcdTRlZjZcXFxcdTVkZjJcXFxcdTU5MjdcXFxcdTRlOGUxMDAwMFxcXFx1ODg0Y1xcXFx1ZmYwY1xcXFx1NGUzYVxcXFx1NGZkZFxcXFx1OGJjMVxcXFx1NjU0OFxcXFx1NzM4N1xcXFx1NTA1Y1xcXFx1NmI2MlxcXFx1NWJmY1xcXFx1NTE2NVxcXCIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoWUNsaXZlc1tpXS5pbmRleE9mKFxcXCIjZ2VucmUjXFxcIikgPiAtMSAmJiBKWWxpdmVzLmluZGV4T2YoWUNsaXZlc1tpXSkgPiAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQgPSBKWWxpdmVzLmluZGV4T2YoWUNsaXZlc1tpXSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBweSA9IDA7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoWUNsaXZlc1tpXS5pbmRleE9mKFxcXCIjZ2VucmUjXFxcIikgPiAtMSAmJiBKWWxpdmVzLmluZGV4T2YoWUNsaXZlc1tpXSkgPT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZCA9IEpZbGl2ZXMubGVuZ3RoICsgMTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBweSA9IDA7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgSllsaXZlcy5zcGxpY2UoaWQgKyAxLCAwLCBZQ2xpdmVzW2ldKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFlDbGl2ZXNbaV0uaW5kZXhPZihcXFwiLFxcXCIpID4gLTEgJiYgSllsaXZlcy5pbmRleE9mKFlDbGl2ZXNbaV0pID09IC0xICYmIFlDbGl2ZXNbaV0udHJpbSgpICE9IFxcXCJcXFwiKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEpZbGl2ZXMuc3BsaWNlKGlkICsgMSArIHB5LCAwLCBZQ2xpdmVzW2ldKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHkrKztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW1wb3J0bnVtKys7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIEpZbGl2ZXMgPSBZQ2xpdmVzO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW1wb3J0bnVtID0gSllsaXZlcy5sZW5ndGg7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd3JpdGVGaWxlKEpZbGl2ZWZpbGUsIEpZbGl2ZXMuam9pbihcXFwiXFxcXG5cXFwiKSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpZGVMb2FkaW5nKCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpbXBvcnRudW0gPiAwICYmIGdldE15VmFyKFxcXCJKWWxpdmVkeXVybFxcXCIsIFxcXCJqdXlpbmdcXFwiKSA9PSBcXFwianV5aW5nXFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoXFxcImlzRWRpdFxcXCIsIFxcXCIxXFxcIik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL1xcXFx1NjIxMFxcXFx1NTI5ZlxcXFx1NWJmY1xcXFx1NTE2NVxcXCIgKyBpbXBvcnRudW07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGlkZUxvYWRpbmcoKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ0b2FzdDovL1xcXFx1NjU4N1xcXFx1NGVmNlxcXFx1NWYwMlxcXFx1NWUzOFxcXFx1NjIxNlxcXFx1NGUwZFxcXFx1NjUyZlxcXFx1NjMwMVxcXFx1NzY4NFxcXFx1NjgzY1xcXFx1NWYwZlxcXFx1ZmYwY1xcXFx1NWJmY1xcXFx1NTE2NVxcXFx1NTkzMVxcXFx1OGQyNVxcXCI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW5wdXQgPT0gXFxcIlxcXFx1NTkwZFxcXFx1NTIzNlxcXFx1OTRmZVxcXFx1NjNhNVxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29weSh1cmwpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpbnB1dCA9PSBcXFwiXFxcXHU1MDVjXFxcXHU3NTI4XFxcXHU4YmEyXFxcXHU5NjA1XFxcIiB8fCBpbnB1dCA9PSBcXFwiXFxcXHU1NDJmXFxcXHU3NTI4XFxcXHU4YmEyXFxcXHU5NjA1XFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGxpdmVjZmcgPSBmZXRjaChsaXZlY2ZnZmlsZSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAobGl2ZWNmZyAhPSBcXFwiXFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV2YWwoXFxcInZhciBsaXZlY29uZmlnID0gXFxcIiArIGxpdmVjZmcpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsaXZlZGF0YSA9IGxpdmVjb25maWdbXFxcImRhdGFcXFwiXSB8fCBbXTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGxpdmVkYXRhLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChsaXZlZGF0YVtpXS51cmwgPT0gdXJsKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXZlZGF0YVtpXS5zaG93ID0gaW5wdXQgPT0gXFxcIlxcXFx1NTA1Y1xcXFx1NzUyOFxcXFx1OGJhMlxcXFx1OTYwNVxcXCIgPyAwIDogMTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpdmVjb25maWdbXFxcImRhdGFcXFwiXSA9IGxpdmVkYXRhO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdyaXRlRmlsZShsaXZlY2ZnZmlsZSwgSlNPTi5zdHJpbmdpZnkobGl2ZWNvbmZpZykpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCI7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICAgICAgICAgIGhpZGVMb2FkaW5nKCk7XFxuICAgICAgICAgICAgICAgICAgICBsb2coZS5tZXNzYWdlKTtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly9cXFxcdTY0Y2RcXFxcdTRmNWNcXFxcdTVmMDJcXFxcdTVlMzhcXFxcdWZmMGNcXFxcdThiZTZcXFxcdTYwYzVcXFxcdTY3ZTVcXFxcdTc3MGJcXFxcdTY1ZTVcXFxcdTVmZDdcXFwiO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICwgbGl2ZWNmZ2ZpbGUsIGxpdmVkYXRhW2ldLnVybCksIGNvbF90eXBlOiBcXFwidGV4dF8xXFxcIn0pO1xcbiAgICAgICAgfVxcbiAgICB9IGVsc2Uge1xcbiAgICAgICAgZC5wdXNoKHt0aXRsZTogXFxcIlxcXFx1MjFiYlxcXFx1NjVlMFxcXFx1OGJiMFxcXFx1NWY1NVxcXCIsIGNv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