xiaomianao666

插件名:global_觅影

Aug 9th, 2022
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_觅影@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICDop4XlvbEKLy8gQHZlcnNpb24gICAgICAyMC4yMC5maW5hbAovLyBAYXV0aG9yICAgICAgIChvy5jil6HLmG8pCi8vIEBkZXNjcmlwdGlvbiAg5pSv5oyB56e75Yqo56uv77yb5Yqg6YCf6Lez5bm/5ZGK77ybVklQIOinhumikeino+aekO+8m+aUr+aMgeiHquWKqOino+aekO+8m+makOiXj+inhumikeawtOWNsO+8m+W/q+aNt+i3s+i9rOaQnOe0oua6kO+8m+iHquWumuS5ieino+aekOWSjOaQnOe0oua6kO+8m+ixhueTo8K36YCJ5b2x6KeGIOWHgOWMlgovLyBAbmFtZXNwYWNlICAgIChvy5jil6HLmG8pCi8vIEBpY29uICAgICAgICAgaHR0cHM6Ly9wLnBzdGF0cC5jb20vb3JpZ2luL2ZlNjkwMDAwYzkxNDE5NTViYmFjCi8vIEBsaWNlbnNlICAgICAgR1BMIExpY2Vuc2UKLy8gQGluY2x1ZGUgICAgICAqCi8vIEBydW4tYXQgICAgICAgZG9jdW1lbnQtc3RhcnQKLy8gQGdyYW50ICAgICAgICBHTV9zZXRWYWx1ZQovLyBAZ3JhbnQgICAgICAgIEdNX2dldFZhbHVlCi8vIEBncmFudCAgICAgICAgR01fZGVsZXRlVmFsdWUKLy8gQGdyYW50ICAgICAgICB1bnNhZmVXaW5kb3cKLy8gPT0vVXNlclNjcmlwdD09CgohYXN5bmMgZnVuY3Rpb24oKSB7CiAgZnVuY3Rpb24gX3RPKCkgewogICAgY29uc3QgZSA9IF90VExMKFsgIiIsICIiIF0pOwogICAgcmV0dXJuIF90TyA9IGZ1bmN0aW9uKCkgewogICAgICByZXR1cm4gZTsKICAgIH0sIGU7CiAgfQogIGZ1bmN0aW9uI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CiAgICAgIGZvciAoW10uY29uY2F0KGUpLm1hcCgoZnVuY3Rpb24ociwgcywgbCkgewogICAgICAgIGxldCBjID0gMyA8IGFyZ3VtZW50cy5sZW5ndGggJiYgdm9pZCAwICE9PSBhcmd1bWVudHNbM10gPyBhcmd1bWVudHNbM10gOiBuW28rK10sIGQgPSA0IDwgYXJndW1lbnRzLmxlbmd0aCAmJiB2b2lkIDAgIT09IGFyZ3VtZW50c1s0XSA/IGFyZ3VtZW50c1s0XSA6IHIucyA9IChjID8gYy5hID09IHIuJCAmJiAoci5zIHx8IGMucykgOiByLnMpIHx8IHt9LCBwID0gNSA8IGFyZ3VtZW50cy5sZW5ndGggJiYgdm9pZCAwICE9PSBhcmd1bWVudHNbNV0gPyBhcmd1bWVudHNbNV0gOiB7CiAgICAgICAgICBhOiByLiQsCiAgICAgICAgICBzOiBkLAogICAgICAgICAgbTogW10sCiAgICAgICAgICB1OiBbXSwKICAgICAgICAgIGQ6IFtdCiAgICAgICAgfTsKICAgICAgICBmb3IgKDsoci4kIHx8IGUpLmJpbmQ7ICkgciA9IHIuJChyLmEsIGQsIChmdW5jdGlvbihpKSB7CiAgICAgICAgICByZXR1cm4gT2JqZWN0LmFzc2lnbihkLCBpKSAmJiBhKGUsIHQpOwogICAgICAgIH0pLCBwKTsKICAgICAgICBzID0gci5yZXBsYWNlID8gZG9jdW1lbnQuY3JlYXRlVGV4dE5vZGUocikgOiBkb2N1bWVudC5jcmVhdGVFbGVtZW50KHIuJCksIHMgPSBjID8gYy4kICE9IHIuJCAmJiBjLmRhdGEgIT0gciA/ICh0LnJlcGxhY2VDaGlsZChzLCBjKSwgCiAgICAgICAgcykgOiBjIDogdC5hcHBlbmRDaGlsZChzKSwgbCA9IGMgPyBjLmEgPT0gcC5hID8gcC5kIDogKGkoYy51KSwgYShbXSwgYyksIHAubSkgOiBwLm0sIAogICAgICAgIE9iamVjdC5hc3NpZ24ocywgciwgcCksIHIucmVwbGFjZSA/IHMuZGF0YSA9IHIgO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9mIE5vZGVMaXN0IHx8IEFycmF5LmlzQXJyYXkoaSkgPyBpIDogaSBpbnN0YW5jZW9mIEhUTUxFbGVtZW50IHx8IGkgaW5zdGFuY2VvZiBTVkdFbGVtZW50ID8gWyBpIF0gOiBhLnF1ZXJ5U2VsZWN0b3JBbGwoaSk7CiAgICAgIHJldHVybiBvLmxlbmd0aCB8fCAobyA9IFtdKSwgT2JqZWN0LmFzc2lnbihBcnJheS5mcm9tKG8pLm1hcCgoZnVuY3Rpb24odCkgewogICAgICAgIHJldHVybiBPYmplY3QuYXNzaWduKHQsIGUpOwogICAgICB9KSksIHsKICAgICAgICBvbihlLCB0KSB7CiAgICAgICAgICByZXR1cm4gdGhpcy5mb3JFYWNoKChmdW5jdGlvbihpKSB7CiAgICAgICAgICAgIHJldHVybiBpLm9uKGUsIHQpOwogICAgICAgICAgfSkpLCB0aGlzOwogICAgICAgIH0sCiAgICAgICAgb2ZmKGUsIHQpIHsKICAgICAgICAgIHJldHVybiB0aGlzLmZvckVhY2goKGZ1bmN0aW9uKGkpIHsKICAgICAgICAgICAgcmV0dXJuIGkub2ZmKGUsIHQpOwogICAgICAgICAgfSkpLCB0aGlzOwogICAgICAgIH0sCiAgICAgICAgYXR0cihlLCB0KSB7CiAgICAgICAgICByZXR1cm4gInN0cmluZyIgPT0gdHlwZW9mIGUgJiYgdm9pZCAwID09PSB0ID8gdGhpc1swXS5hdHRyKGUpIDogKCJvYmplY3QiID09IHR5cGVvZiBlID8gdGhpcy5mb3JFYWNoKChmdW5jdGlvbih0KSB7CiAgICAgICAgICAgIHJldHVybiBPYmplY3QuZW50cmllcyhlKS5mb3JFYWNoKChmdW5jdGlvbihlKSB7CiAgICAgICAgICAgICAgbGV0IFtpLCBuXSA9IGU7CiAgICAgICAgICAgICAgcmV0dXJuIHQuYXR0cihpLCBuKTsKICAgICAgICAgICAgfSkpOwogICAgICAgICAgfSkpIDogInN0cmluZyIgPT0gdHlwZW9mIGUgJiYgKHQgfHwgbnVsbCA9PSB0IHx8ICIiID09IHQpICYmIHRoaXMuZm9yRWFjaCgoZnVuY3Rpb24oaSkgewogICAgICAgICAgICByZXR1cm4gaS5hdHRyKGUsIHQpOwogICAgICAgICAgfSkpLCB0aGlzKTsKICAgICAgICB9LAogICAgICAgIGdldChlKSB7CiAgICAgICAgICByZXR1cm4gdGhpc1swID4gZSA/IGUgKyB0aGlzLmxlbmd0aCA6IGVdOwogICAgICAgIH0sCiAgICAgICAgZXEoZSkgewogICAgICAgICAgcmV0dXJuIHQodGhpcy5nZXQoZSkpOwogICAgICAgIH0sCiAgICAgICAgZWFjaChlKSB7CiAgICAgICAgICByZXR1cm4gdGhpcy5mb3JFYWNoKChmdW5jdGlvbih0LCBpKSB7CiAgICAgICAgICAgIGUuYmluZCh0KSh0LCBpLCB0aGlzKTsKICAgICAgICAgIH0pKSwgdGhpczsKICAgICAgICB9LAogICAgICAgIHJlbW92ZSgpIHsKICAgICAgICAgIHJldHVybiB0aGlzLmVhY2goKGZ1bmN0aW9uKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUucGFyZW50Tm9kZSAmJiBlLnBhcmVudE5vZGUucmVtb3ZlQ2hpbGQoZSk7CiAgICAgICAgICB9KSk7CiAgICAgICAgfSwKICAgICAgICBlbXB0eSgpIHsKICAgICAgICAgIHJldHVybiB0aGlzLmVhY2goKGZ1bmN0aW9uKGUpIHsKICAgICAgICAgICAgZm9yICg7ZS5maXJzdENoaWxkOyApIGUucmVtb3ZlQ2hpbGQoZS5maXJzdENoaWxkKTsKICAgICAgICAgIH0pKTsKICAgICAgICB9LAogICAgICAgIGhhc0NsYXNzKGUpIHsKICAgICAgICAgIHJldHVybiB0aGlzWzBdICYmIHRoaXNbMF0uY2xhc3NMaXN0LmNvbnRhaW5zKGUpOwogICAgICAgIH0sCiAgICAgICAgYWRkQ2xhc3MoZSkgewogICAgICAgICAgdmFyIHQgPSB0aGlzOwogICAgICAgICAgcmV0dXJuIGUudHJpbSgpLnNwbGl0KC9ccysvKS5mb3JFYWNoKChmdW5jdGlvbihlKSB7CiAgICAgICAgICAgIHJldHVybiB0LmVhY2goKGZ1bmN0aW9uKHQpIHsKICAgICAgICAgICAgICByZXR1cm4gdC5jbGFzc0xpc3QuYWRkKGUpOwogICAgICAgICAgICB9KSk7CiAgICAgICAgICB9KSksIHRoaXM7CiAgICAgICAgfSwKICAgICAgICByZW1vdmVDbGFzcyhlKSB7CiAgICAgICAgICB2YXIgdCA9IHRoaXM7CiAgICAgICAgICByZXR1cm4gZS5zcGxpdCgvXHMrLykuZm9yRWFjaCgoZnVuY3Rpb24oZSkgewogICAgICAgICAgICByZXR1cm4gdC5lYWNoKChmdW5jdGlvbih0KSB7CiAgICAgICAgICAgICAgcmV0dXJuIHQuY2xhc3NMaXN0LnJlbW92ZShlKTsKICAgICAgICAgICAgfSkpOwogICAgICAgICAgfSkpLCB0aGlzOwogICAgICAgIH0sCiAgICAgICAgdG9nZ2xlQ2xhc3MoZSkgewogICAgICAgICAgcmV0dXJuIHRoaXMuZWFjaCgoZnVuY3Rpb24odCkgewogICAgICAgICAgICByZXR1cm4gdC5jbGFzc0xpc3QudG9nZ2xlKGUpOwogICAgICAgICAgfSkpOwogICAgICAgIH0sCiAgICAgICAgY3NzKGUsIHQpIHsKICAgICAgICAgIGlmICgib2JqZWN0IiA9PSB0eXBlb2YgZSkgewogICAgICAgICAgICBmb3IgKGNvbnN0IHQgaW4gZSkgdGhpcy5lYWNoKChmdW5jdGlvbihpKSB7CiAgICAgICAgICAgICAgaS5zdHlsZVt0XSA9IGVbdF07CiAgICAgICAgICAgIH0pKTsKICAgICAgICAgICAgcmV0dXJuIHRoaXM7CiAgICAgICAgICB9CiAgICAgICAgICByZXR1cm4gdCA9PT0gW10uXyA/IHRoaXNbMF0uc3R5bGVbZV0gOiB0aGlzLmVhY2goKGZ1bmN0aW9uKGkpIHsKICAgICAgICAgICAgaS5zdHlsZVtlXSA9IHQ7CiAgICAgICAgICB9KSk7CiAgICAgICAgfSwKICAgICAgICB3aWR0aChlKSB7CiAgICAgICAgICBjb25zdCB0ID0gdGhpc1swXTsKICAgICAgICAgIHJldHVybiB2b2lkIDAgPT09IGUgPyBwYXJzZUZsb2F0KGdldENvbXB1dGVkU3R5bGUodCwgbnVsbCkud2lkdGgucmVwbGFjZSgicHgiLCAiIikpIDogKCJmdW5jdGlvbiIgPT0gdHlwZW9mIGUgJiYgKGUgPSBlKCkpLCAKICAgICAgICAgIHQuc3R5bGUud2lkdGggPSAic3RyaW5nIiA9PSB0eXBlb2YgZSA/IGUgOiBlICsgInB4IiwgdGhpcyk7CiAgICAgICAgfSwKICAgICAgICBoZWlnaHQoZSkgewogICAgICAgICAgY29uc3QgdCA9IHRoaXNbMF07CiAgICAgICAgICByZXR1cm4gdm9pZCAwID09PSBlID8gcGFyc2VGbG9hdChnZXRDb21wdXRlZFN0eWxlKHQsIG51bGwpLmhlaWdodC5yZXBsYWNlKCJweCIsICIiKSkgOiAoImZ1bmN0aW9uIiA9PSB0eXBlb2YgZSAmJiAoZSA9IGUoKSksIAogICAgICAgICAgdC5zdHlsZS5oZWlnaHQgPSAic3RyaW5nIiA9PSB0eXBlb2YgZSA/IGUgOiBlICsgInB4IiwgdGhpcyk7CiAgICAgICAgfSwKICAgICAgICB0ZXh0KGUpIHsKICAgICAgICAgIHJldHVybiBlID09PSBbXS5fID8gdGhpc1swXS50ZXh0Q29udGVudCA6IHRoaXMuZWFjaCgoZnVuY3Rpb24odCkgewogICAgICAgICAgICB0LnRleHRDb250ZW50ID0gZTsKICAgICAgICAgIH0pKTsKICAgICAgICB9LAogICAgICAgIGh0bWwoZSkgewogICAgICAgICAgcmV0dXJuIGUgPT09IFtdLl8gPyB0aGlzWzBdLmlubmVySFRNTCA6IHRoaXMuZWFjaCgoZnVuY3Rpb24odCkgewogICAgICAgICAgICB0LmlubmVySFRNTCA9IGU7CiAgICAgICAgICB9KSk7CiAgICAgICAgfSwKICAgICAgICBiZWZvcmUoZSkgewogICAgICAgICAgcmV0dXJuIHRoaXMuZWFjaCgoZnVuY3Rpb24odCkgewogICAgICAgICAgICByZXR1cm4gdC5pbnNlcnRBZGphY2VudEhUTUwoImJlZm9yZWJlZ2luIiwgZSk7CiAgICAgICAgICB9KSk7CiAgICAgICAgfSwKICAgICAgICBhZnRlcihlKSB7CiAgICAgICAgICByZXR1cm4gdGhpcy5lYWNoKChmdW5jdGlvbih0KSB7CiAgICAgICAgICAgIHJldHVybiB0Lmluc2VydEFkamFjZW50SFRNTCgiYWZ0ZXJlbmQiLCBlKTsKICAgICAgICAgIH0pKTsKICAgICAgICB9LAogICAgICAgIGFwcGVuZChlKSB7CiAgICAgICAgICByZXR1cm4gdGhpcy5lYWNoKChmdW5jdGlvbih0KSB7CiAgICAgICAgICAgIHJldHVybiB0LmFwcGVuZENoaWxkKG4oZSkpOwogICAgICAgICAgfSkpOwogICAgICAgIH0sCiAgICAgICAgcHJlcGVuZChlKSB7CiAgICAgICAgICByZXR1cm4gdGhpcy5lYWNoKChmdW5jdGlvbih0KSB7CiAgICAgICAgICAgIHJldHVybiB0Lmluc2VydEJlZm9yZShuKGUpLCB0LmZpcnN0Q2hpbGQpOwogICAgICAgICAgfSkpOwogICAgICAgIH0sCiAgICAgICAgcGFyZW50KCkgewogICAgICAgICAgcmV0dXJuIDAgPCB0aGlzLmxlbmd0aCA/IHQodGhpc1swXS5wYXJlbnROb2RlKSA6IFtdOwogICAgICAgIH0sCiAgICAgICAgY2xpY2soKSB7CiAgICAgICAgICB0cnkgewogICAgICAgICAgICB0aGlzWzBdICYmIHRoaXNbMF0uY2xpY2sgJiYgdGhpc1swXS5jbGljaygpOwogICAgICAgICAgfSBjYXRjaCAoZSkge30KICAgICAgICAgIHJldHVybiB0aGlzOwogICAgICAgIH0sCiAgICAgICAgY2xpY2tPdXRzaWRlKGUpIHsKICAgICAgICAgIHJldHVybiB0aGlzLmVhY2goKGZ1bmN0aW9uKHQpIHsKICAgICAgICAgICAgZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5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IGlmIChpc01vYmlsZSAmJiAwIDwgcGxheWVyLmR1cmF0aW9uIHx8IHBsYXllci5jdXJyZW50VGltZSA+IChpc01vYmlsZSA/IDMgOiAxMCkpIHJldHVybjsKICAgICAgICAgICAgICBpZiAoIWlzU25pZmZpbmcgJiYgIXQgfHwgMCA8IHBsYXllci5jdXJyZW50VGltZSAmJiBpICE9PSBwbGF5ZXIuY3VycmVudFRpbWUpIHJldHVybiBpID0gcGxheWVyLmN1cnJlbnRUaW1lLCAKICAgICAgICAgICAgICB2b2lkIHNldFRpbWVvdXQoZSwgM2UzKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpID0gMCwgdCA/IHQuY2xpY2soKSA6IDEgPCB2aWRlb1VybHMubGVuZ3RoICYmICh0ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcigiLk1ZLXBsYXktbGlzdCAuTVktYnV0dG9uIiksIAogICAgICAgICAgICB0ICYmIHQuY2xpY2soKSwgbisrKSwgc2V0VGltZW91dChlLCA0NTAwKTsKICAgICAgICAgIH0KICAgICAgICB9KSwgNGUzKTsKICAgICAgfQogICAgICB2aWRlb1VybHMucHVzaChlKSwgU2V0U3RhdGUoewogICAgICAgIHZpZGVvVXJsczogdmlkZW9VcmxzCiAgICAgIH0pOwogICAgfQogIH0KICBmdW5jdGlvbiBtdXRlU25pZmZWaWRlbyhlKSB7CiAgICBlICYmICJWSURFTyIgIT09IGUudGFnTmFtZSAmJiAoZSA9ICQoZSkucGFyZW50KCkpLCBlICYmICgvXmJsb2I6Ly50ZXN0KGUuc3JjKSAmJiAoZS5fX3NyYyA9IGUuc3JjLCAKICAgIGUuc3JjID0gIiIpLCBlLm11dGVkID0gITAsIGUudm9sdW1lID0gMCwgZS5hdXRvcGxheSA9ICExLCBlLnByZWxvYWQgPSAibm9uZSIsIGUucGF1c2UgJiYgZS5wYXVzZSgpLCAKICAgIGUucGxheSA9IGZ1bmN0aW9uKCkge30pOwogIH0KICBmdW5jdGlvbiBzbmlmZlZpZG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Chpc1NuaWZmSWZyYW1lKSBlLnNyYyA9ICIiLCBjbGVhckludGVydmFsKHQpLCAkKCJ2aWRlbywgaWZyYW1lIikucmVtb3ZlKCksICQoImJvZHkiKS5odG1sKCIiKTsgZWxzZSBpZiAobiAmJiAoaXNOYU4oZS5kdXJhdGlvbikgfHwgMTgwID4gZS5kdXJhdGlvbikpIHJldHVybjsKICAgICAgICAgIG4gfHwgaXNWYWxpZFZpZGVvVXJsKGkpID8gZ2V0U25pZmZWaWRlb1VybChpKSA6IHdpbmRvdy5wYXJlbnQucG9zdE1lc3NhZ2UoewogICAgICAgICAgICBwYWdlSW5mbzogcGFnZUluZm8sCiAgICAgICAgICAgIHRleHQ6ICJOT1QgTUFUQ0ggVklERU8gVVJMIiwKICAgICAgICAgICAgX2lkOiBNRVNTQUdFX0lELAogICAgICAgICAgICBhY3Rpb246ICJNWTpsb2ciLAogICAgICAgICAgICBmcm9tOiBsb2NhdGlvbi5ocmVmLAogICAgICAgICAgICBvcmlnaW46IGxvY2F0aW9uLmhyZWYsCiAgICAgICAgICAgIHVybDogaSwKICAgICAgICAgICAgcGFyZW50OiAhMAogICAgICAgICAgfSwgIioiKTsKICAgICAgICB9CiAgICAgIH0pKTsKICAgICAgY29uc3QgZSA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoImlmcmFtZVtzcmNdIik7CiAgICAgIGlmIChlKSB7CiAgICAgICAgY29uc3QgdCA9IGUuc2NyLCBpID0gZGVjb2RlVVJJQ29tcG9uZW50KHQpLm1hdGNoKC89KGh0dHBbXiY9XStcLihtM3U4fG1wNCkpLyk7CiAgICAgICAgKC9kcGxheWVyLy50ZXN0KHQpIHx8IGlzVmlkZW9VcmxSZWdleC50ZXN0KHQpKSAmJiB3aW5kb3cucGFyZW50LnBvc3RNZXNzYWdlKHsKICAgICAgICAgIHBhZ2VJbmZvOiBwYWdlSW5mbywKICAgICAgICAgIHRleHQ6ICJpZnJhbWUgcGxheWVyIHVybCIsCiAgICAgICAgICBfaWQ6IE1FU1NBR0VfSUQsCiAgICAgICAgICBhY3Rpb246ICJNWTpsb2ciLAogICAgICAgICAgZnJvbTogbG9jYXRpb24uaHJlZiwKICAgICAgICAgIG9yaWdpbjogbG9jYXRpb24uaHJlZiwKICAgICAgICAgIHVybDogaSA/IGlbMV0gOiB0LAogICAgICAgICAgaXNNYXRjaDogaSAmJiBpc1ZhbGlkVmlkZW9VcmwoaVsxXSksCiAgICAgICAgICBwYXJlbnQ6ICEwCiAgICAgICAgfSwgIioiKSwgaSAmJiBpc1ZhbGlkVmlkZW9VcmwoaVsxXSkgJiYgKCQoImlmcmFtZSIpLnJlbW92ZSgpLCBnZXRTbmlmZlZpZGVvVXJsKGlbMV0pKTsKICAgICAgfQogICAgfSksIDEwMCk7CiAgfQogIGZ1bmN0aW9uIGdldFZpZGVvSW5mbyhlKSB7CiAgICByZXR1cm4gewogICAgICBzcmM6IGUuc3JjLAogICAgICBkdXJhdGlvbjogZS5kdXJhdGlvbiwKICAgICAgcGF1c2VkOiBlLnBhdXNlZCwKICAgICAgY3VycmVudFRpbWU6IGUuY3VycmVudFRpbWUsCiAgICAgIHBsYXliYWNrUmF0ZTogZS5wbGF5YmFja1JhdGUKICAgIH07CiAgfQogIGZ1bmN0aW9uIHVybERldGVjdCgpIHsKICAgIHNldEludGVydmFsKChmdW5jdGlvbigpIHsKICAgICAgIWZ1bmN0aW9uKCkgewogICAgICAgIGlmIChIcmVmICE9PSB3aW5kb3cubG9jYXRpb24uaHJlZikgewogICAgICAgICAgY29uc3QgZSA9IEhyZWY7CiAgICAgICAgICBIcmVmID0gd2luZG93LmxvY2F0aW9uLmhyZWYsIEUuZW1pdCgidXJsLmNoYW5nZSIsIHsKICAgICAgICAgICAgbmV3VXJsOiBIcmVmLAogICAgICAgICAgICBvbGRVcmw6IGUKICAgICAgICAgIH0pOwogICAgICAgIH0KICAgICAgfSgpOwogICAgfSksIDI1MCk7CiAgfQogIGZ1bmN0aW9uIFJVTEVTX0dPKCkgewog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FpbmVyX19zcmMtY29tbW9uQ29tcG9uZW50LWJvdHRvbU9wZW5BcHAtLCAuYmlsaS1hcHAsIC5yZWNvbS13cmFwcGVyLCAuYi1mb290ZXIsIC5vcGVuLWFwcC1iYXIsIC5vcGVuLWFwcC1mbG9hdCwgLm1vcmUtcmV2aWV3LXdyYXBwZXIsICNiYW5uZXJBZCwgLmJhbm5lci1jYXJkLCAjc2xpZGVfYWQiCiAgfSwgewogICAgbmFtZTogIuiFvuiur+inhumikSIsCiAgICBtYXRjaDogInYucXEuY29tIiwKICAgIHJ1bGVzOiBbIHsKICAgICAgbmFtZTogIuaQnOe0oiIsCiAgICAgIG1hdGNoOiAiL3NlYXJjaCIsCiAgICAgIHNlYXJjaDogITAKICAgIH0sIHsKICAgICAgbmFtZTogIuaSreaUviIsCiAgICAgIG1hdGNoOiAvXC9jb3ZlclwvfFwvcGxheS8sCiAgICAgIHZpcDogewogICAgICAgIHdhdGVybWFyazogIi50eHAtd2F0ZXJtYXJrIiwKICAgICAgICBmaXhVcmwoZSkgewogICAgICAgICAgaWYgKGUuaW5jbHVkZXMoImNpZD0iKSkgewogICAgICAgICAgICBjb25zdCB0ID0gZS5tYXRjaCgvY2lkPShcdyspLylbMV07CiAgICAgICAgICAgIGxldCBpID0gZS5tYXRjaCgvdmlkPShcdyspLyk7CiAgICAgICAgICAgIHJldHVybiBpID0gaSA/ICIvIiArIGlbMV0gOiAiIiwgImh0dHBzOi8vdi5xcS5jb20veC9jb3Zlci8iICsgdCArIGkgKyAiLmh0bWwiOwogICAgICAgICAgfQogICAgICAgICAgcmV0dXJuIGUuaW5jbHVkZXMoIi94L2NvdmVyIikgPyBlLnJlcGxhY2UoL1wuaHRtbC4qLywgIi5odG1sIikgOiBlOwogICAgICAgIH0KICAgICAgfSwKICAgICAgc2VhcmNoOiAiLm1vZF92aWRlb19pbmZvIC52aWRlb190aXRsZSwgLl9tYWluX3RpdGxlLCAucGxheWVyX3RpdGxlIiwKICAgICAgc2tpcEFkKCk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WF0Y2g6IC8oa2V5fHdkKT0vLAogICAgICBzZWFyY2g6ICEwCiAgICB9LCB7CiAgICAgIG5hbWU6ICLmkq3mlL4iLAogICAgICBtYXRjaDogL1wvKHZ8YWxidW1cL3xwaG9uZV9wbGF5X2ZpbG18XGQrXC9uXGQrLnNodG1sKS8sCiAgICAgIHZpcDogewogICAgICAgIGZpeFVybChlKSB7CiAgICAgICAgICBpZiAoL3Bob25lX3BsYXlfZmlsbS4rY2hhbm5lbGVkPS8udGVzdChlKSkgewogICAgICAgICAgICBjb25zdCB0ID0gZS5tYXRjaCgvY2hhbm5lbGVkPShcdyspLylbMV07CiAgICAgICAgICAgIHJldHVybiAiaHR0cHM6Ly9maWxtLnNvaHUuY29tL2FsYnVtLyIgKyBlLm1hdGNoKC9haWQ9KFx3KykvKVsxXSArICIuaHRtbD9jaGFubmVsZWQ9IiArIHQ7CiAgICAgICAgICB9CiAgICAgICAgICByZXR1cm4gZTsKICAgICAgICB9CiAgICAgIH0sCiAgICAgIHNlYXJjaDogIiN2aW5mb2JveCBoMiwgLnQtaW5mbywgLm1vdmllLXQgaDMiLAogICAgICBza2lwQWQoKSB7CiAgICAgICAgJCgiLngtdmlkZW8tYWR2IHZpZGVvIikuZWFjaCgoZnVuY3Rpb24oZSkgewogICAgICAgICAgZS5tdXRlZCA9ICEwOwogICAgICAgIH0pKTsKICAgICAgfQogICAgfSBdLAogICAgaGlkZTogIi5hY3R2LWJhbm5lciwgLmJ0bi14ei1hcHAsIC50d2luZm9faWNvbndyYXAsIC5idG4tY29tbWVudC1hcHAsICNhZF9iYW5uZXIsIC5hZHZlcnRpc2UsIC5tYWluLWFkLXZpZXctYm94LCAuZm9vdC5zb2h1LXN3aXBlciwgLmFwcC1zdGFyLXZib3gsIC5hcHAtZ3Vlc3MtdmJveCwgLm1haW4tcmVjLXZpZXctYm94LCAuYXBwLXFpYW5mYW4tYm94LCAuY29tbWVudC1lbXB0eS1iZywgLmNvcHlpbmZvLCAucGgtdmJveCwgL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ogWyB7CiAgICAgIG5hbWU6ICLmkJzntKIiLAogICAgICBtYXRjaDogIi92b2Qtc2VhcmNoIiwKICAgICAgc2VhcmNoOiAhMCwKICAgICAgcmVzdWx0OiAiLnNob3ctbGlzdCBoMiBhIgogICAgfSwgewogICAgICBuYW1lOiAi6K+m5oOFIiwKICAgICAgbWF0Y2g6ICIvdm9kLWRldGFpbCIsCiAgICAgIHNlYXJjaDogITAKICAgIH0sIHsKICAgICAgbmFtZTogIuaSreaUviIsCiAgICAgIG1hdGNoOiAiL3ZvZC1wbGF5IiwKICAgICAgc2VhcmNoKCkgewogICAgICAgIGNvbnN0IGUgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCIuYnJlYWQtY3J1bWItbmF2LCAubGVvLWJnLWEgaDEiKTsKICAgICAgICByZXR1cm4gZSA/IGUudGV4dENvbnRlbnQucmVwbGFjZSgvLirlvZPliY3mkq3mlL7vvJooLis/KSAtLiovLCAiJDEiKSA6ICIiOwogICAgICB9CiAgICB9IF0sCiAgICBoaWRlOiAiI25hdmJhciArIGRpdltzdHlsZV0iLAogICAganMoKSB7CiAgICAgICQoImlucHV0W29uY2xpY2tdIikuZWFjaCgoZnVuY3Rpb24oKSB7CiAgICAgICAgdGhpcy52YWx1ZS5pbmNsdWRlcygi57un57ut6K6/6ZeuIikgJiYgdGhpcy5jbGljaygpOwogICAgICB9KSk7CiAgICB9CiAgfSwgewogICAgbmFtZTogIui/heaSrSIsCiAgICBtYXRjaDogInhiZG0ub3JnIiwKICAgIHJ1bGVzOiBbIHsKICAgICAgbmFtZTogIuaQnOe0oiIsCiAgICAgIG1hdGNoOiAiL3NlYXJjaCIsCiAgICAgIHNlYXJjaDogITAKICAgIH0sIHsKICAgICAgbmFtZTogIuaSreaUviIsCiAgICAgIG1hdGNoOiAiL3ZpZGVvIiwKICAgICAgc2VhcmNoOiAiLm15dWktcGFuZWxfX2hlYWQgaDMgYSIKICAgIH0gXSwKICAgIGhpZGU6ICJib2R5ID4gZGl2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