11.3 sec in total
2.2 sec
8.2 sec
1 sec
Click here to check amazing Redapplelearning content for India. Otherwise, check out these important facts you probably never knew about redapplelearning.in
Red Apple Learning is a top-notch game development & design training institute in Kolkata, India. Get 100% Job Placement Guaranteed.
Visit redapplelearning.inWe analyzed Redapplelearning.in page load time and found that the first response time was 2.2 sec and then it took 9.2 sec to load all DOM resources and completely render a web page. This is a poor result, as 85% of websites can load faster.
redapplelearning.in performance score
name
value
score
weighting
Value5.5 s
6/100
10%
Value23.9 s
0/100
25%
Value22.8 s
0/100
10%
Value5,530 ms
0/100
30%
Value0.018
100/100
15%
Value24.4 s
0/100
10%
2150 ms
6 ms
701 ms
695 ms
708 ms
Our browser made a total of 173 requests to load all elements on the main page. We found that 53% of them (92 requests) were addressed to the original Redapplelearning.in, 21% (37 requests) were made to and 8% (14 requests) were made to Fonts.gstatic.com. The less responsive or slowest element that took the longest time to load (2.4 sec) belongs to the original domain Redapplelearning.in.
Page size can be reduced by 718.6 kB (14%)
5.2 MB
4.5 MB
In fact, the total size of Redapplelearning.in main page is 5.2 MB. This result falls beyond the top 1M of websites and identifies a large and not optimized web page that may take ages to load. 75% of websites need less resources to load and that’s why Accessify’s recommendations for optimization and resource minification can be helpful for this project. Images take 4.0 MB which makes up the majority of the site volume.
Potential reduce by 492.8 kB
HTML content can be minified and compressed by a website’s server. The most efficient way is to compress content using GZIP which reduces data amount travelling through the network between server and browser. HTML code on this page is well minified. It is highly recommended that content of this web page should be compressed using GZIP, as it can save up to 492.8 kB or 87% of the original size.
Potential reduce by 199.8 kB
Image size optimization can help to speed up a website loading time. The chart above shows the difference between the size before and after optimization. Redapplelearning images are well optimized though.
Potential reduce by 25.7 kB
It’s better to minify JavaScript in order to improve website performance. The diagram shows the current total size of all JavaScript files against the prospective JavaScript size after its minification and compression. This website has mostly compressed JavaScripts.
Potential reduce by 278 B
CSS files minification is very important to reduce a web page rendering time. The faster CSS files can load, the earlier a page can be rendered. Redapplelearning.in has all CSS files already compressed.
Number of requests can be reduced by 78 (67%)
116
38
The browser has sent 116 CSS, Javascripts, AJAX and image requests in order to completely render the main page of Redapplelearning. We recommend that multiple CSS and JavaScript files should be merged into one by each type, as it can help reduce assets requests from 47 to 1 for JavaScripts and from 26 to 1 for CSS and as a result speed up the page load time.
redapplelearning.in
2150 ms
bmV3IE9mZnNjcmVlbkNhbnZhcygzMDAsMTUwKTppLmNyZWF0ZUVsZW1lbnQoImNhbnZhcyIpLGE9ci5nZXRDb250ZXh0KCIyZCIse3dpbGxSZWFkRnJlcXVlbnRseTohMH0pLG89KGEudGV4dEJhc2VsaW5lPSJ0b3AiLGEuZm9udD0iNjAwIDMycHggQXJpYWwiLHt9KTtyZXR1cm4gZS5mb3JFYWNoKGZ1bmN0aW9uKGUpe29bZV09dChhLGUsbil9KSxvfWZ1bmN0aW9uIHQoZSl7dmFyIHQ9aS5jcmVhdGVFbGVtZW50KCJzY3JpcHQiKTt0LnNyYz1lLHQuZGVmZXI9ITAsaS5oZWFkLmFwcGVuZENoaWxkKHQpfSJ1bmRlZmluZWQiIT10eXBlb2YgUHJvbWlzZSYmKG89IndwRW1vamlTZXR0aW5nc1N1cHBvcnRzIixzPVsiZmxhZyIsImVtb2ppIl0sbi5zdXBwb3J0cz17ZXZlcnl0aGluZzohMCxldmVyeXRoaW5nRXhjZXB0RmxhZzohMH0sZT1uZXcgUHJvbWlzZShmdW5jdGlvbihlKXtpLmFkZEV2ZW50TGlzdGVuZXIoIkRPTUNvbnRlbnRMb2FkZWQiLGUse29uY2U6ITB9KX0pLG5ldyBQcm9taXNlKGZ1bmN0aW9uKHQpe3ZhciBuPWZ1bmN0aW9uKCl7dHJ5e3ZhciBlPUpTT04ucGFyc2Uoc2Vzc2lvblN0b3JhZ2UuZ2V0SXRlbShvKSk7aWYoIm9iamVjdCI9PXR5cGVvZiBlJiYibnVtYmVyIj09dHlwZW9mIGUudGltZXN0YW1wJiYobmV3IERhdGUpLnZhbHVlT2YoKTxlLnRpbWVzdGFtcCs2MDQ4MD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2VwdEZsYWcmJiFuLnN1cHBvcnRzLmZsYWcsbi5ET01SZWFkeT0hMSxuLnJlYWR5Q2FsbGJhY2s9ZnVuY3Rpb24oKXtuLkRPTVJlYWR5PSEwfX0pLnRoZW4oZnVuY3Rpb24oKXtyZXR1cm4gZX0pLnRoZW4oZnVuY3Rpb24oKXt2YXIgZTtuLnN1cHBvcnRzLmV2ZXJ5dGhpbmd8fChuLnJlYWR5Q2FsbGJhY2soKSwoZT1uLnNvdXJjZXx8e30pLmNvbmNhdGVtb2ppP3QoZS5jb25jYXRlbW9qaSk6ZS53cGVtb2ppJiZlLnR3ZW1vamkmJih0KGUudHdlbW9qaSksdChlLndwZW1vamkpKSl9KSl9KCh3aW5kb3csZG9jdW1lbnQpLHdpbmRvdy5fd3BlbW9qaVNldHRpbmdzKTsK
6 ms
autoptimize_single_3fd2afa98866679439097f4ab102fe0a.php
701 ms
wpcf7-redirect-frontend.min.css
695 ms
autoptimize_single_e6fa0ab1e511473032e374f0ec4fc1ec.php
708 ms
font-awesome.min.css
713 ms
swiper-bundle.min.css
724 ms
style.min.css
738 ms
autoptimize_single_a1c5c15a74bf90ad996b1301f481c963.php
929 ms
autoptimize_single_a587f139f769419d022d22d4cfa93d91.php
934 ms
elementor-icons.min.css
942 ms
frontend.min.css
955 ms
swiper.min.css
962 ms
autoptimize_single_2d698f4e1d54ebfa5ef8fac1958aadd8.php
988 ms
autoptimize_single_953f94779f5ae871f5669c6b4bb84a71.php
1161 ms
autoptimize_single_7d487904c6940ce7f9bcb4af057953a3.php
1167 ms
intlTelInput.min.css
1176 ms
mo_forms_css.min.css
1193 ms
css
24 ms
fontawesome.min.css
1199 ms
solid.min.css
1230 ms
smartslider.min.css
1393 ms
css
34 ms
jquery.min.js
1402 ms
jquery-migrate.min.js
1180 ms
javascript;base64,CnZhciB0Y19jc2NhX2F1dG9fYWpheCA9IHsiYWpheF91cmwiOiJodHRwczpcL1wvcmVkYXBwbGVsZWFybmluZy5pblwvd3AtYWRtaW5cL2FkbWluLWFqYXgucGhwIiwibm9uY2UiOiI2ZmI2MzU1NjgyIn07Cg==
8 ms
autoptimize_single_24a6feaa1d11ff4a4153b75d347a419e.php
1202 ms
javascript;base64,CnZhciBzZ3BiUHVibGljVXJsID0gImh0dHBzOlwvXC9yZWRhcHBsZWxlYXJuaW5nLmluXC93cC1jb250ZW50XC9wbHVnaW5zXC9wb3B1cC1idWlsZGVyXC9wdWJsaWNcLyI7CnZhciBTR1BCX0pTX0xPQ0FMSVpBVElPTiA9IHsiaW1hZ2VTdXBwb3J0QWxlcnRNZXNzYWdlIjoiT25seSBpbWFnZSBmaWxlcyBzdXBwb3J0ZWQiLCJwZGZTdXBwb3J0QWxlcnRNZXNzYWdlIjoiT25seSBwZGYgZmlsZXMgc3VwcG9ydGVkIiwiYXJlWW91U3VyZSI6IkFyZSB5b3Ugc3VyZT8iLCJhZGRCdXR0b25TcGlubmVyIjoiTCIsImF1ZGlvU3VwcG9ydEFsZXJ0TWVzc2FnZSI6Ik9ubHkgYXVkaW8gZmlsZXMgc3VwcG9ydGVkIChlLmcuOiBtcDMsIHdhdiwgbTRhLCBvZ2cpIiwicHVibGlzaFBvcHVwQmVmb3JlRWxlbWVudG9yIjoiUGxlYXNlLCBwdWJsaXNoIHRoZSBwb3B1cCBiZWZvcmUgc3RhcnRpbmcgdG8gdXNlIEVsZW1lbnRvciB3aXRoIGl0ISIsInB1Ymxpc2hQb3B1cEJlZm9yZURpdmkiOiJQbGVhc2UsIHB1Ymxpc2ggdGhlIHBvcHVwIGJlZm9yZSBzdGFydGluZyB0byB1c2UgRGl2aSBCdWlsZGVyIHdpdGggaXQhIiwiY2xvc2VCdXR0b25BbHRUZXh0IjoiQ2xvc2UifTsK
8 ms
autoptimize_single_aad76345b176f2bdea7082ce27717aba.php
1206 ms
autoptimize_single_c7a493f7e281b7a2c5fe182a44ba8367.php
1244 ms
javascript;base64,CnZhciBTR1BCX1BPUFVQX1BBUkFNUyA9IHsicG9wdXBUeXBlQWdl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HMpO30KCWd0YWcoJ2pzJywgbmV3IERhdGUoKSk7CgoJZ3RhZygnY29uZmlnJywgJ0ctVjkyVEU4Q0NKSicpOwoJ
5 ms
javascript;base64,KGZ1bmN0aW9uKCl7dGhpcy5fTjI9dGhpcy5fTjJ8fHtfcjpbXSxfZDpbXSxyOmZ1bmN0aW9uKCl7dGhpcy5fci5wdXNoKGFyZ3VtZW50cyl9LGQ6ZnVuY3Rpb24oKXt0aGlzLl9kLnB1c2goYXJndW1lbnRzKX19fSkuY2FsbCh3aW5kb3cpOw==
6 ms
n2.min.js
1551 ms
smartslider-frontend.min.js
1552 ms
ss-simple.min.js
1553 ms
smartslider-backgroundanimation.min.js
1902 ms
w-arrow-image.min.js
1902 ms
javascript;base64,X04yLnIoJ2RvY3VtZW50UmVhZHknLGZ1bmN0aW9uKCl7X04yLnIoWyJkb2N1bWVudFJlYWR5Iiwic21hcnRzbGlkZXItZnJvbnRlbmQiLCJzbWFydHNsaWRlci1iYWNrZ3JvdW5kYW5pbWF0aW9uIiwiU21hcnRTbGlkZXJXaWRnZXRBcnJvd0ltYWdlIiwic3Mtc2ltcGxlIl0sZnVuY3Rpb24oKXtuZXcgX04yLlNtYXJ0U2xpZGVyU2ltcGxlKCduMi1zcy0yJyx7ImFkbWluIjpmYWxzZSwiYmFja2dyb3VuZC52aWRlby5tb2JpbGUiOjEsImxvYWRpbmdUaW1lIjoyMDAwLCJhbGlhcyI6eyJpZCI6MCwic21vb3RoU2Nyb2xsIjowLCJzbGlkZVN3aXRjaCI6MCwic2Nyb2xsIjoxfSwiYWxpZ24iOiJub3JtYWwiLCJpc0RlbGF5ZWQiOjAsInJlc3BvbnNpdmUiOnsibWVkaWFRdWVyaWVzIjp7ImFsbCI6ZmFsc2UsImRlc2t0b3Bwb3J0cmFpdCI6WyIobWluLXdpZHRoOiAxMjAwcHgpIl0sInRhYmxldHBvcnRyYWl0IjpbIihvcmllbnRhdGlvbjogbGFuZHNjYXBlKSBhbmQgKG1heC13aWR0a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Z1bmN0aW9uKCl7Cgl2YXIgczEgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCAnc2NyaXB0JyApLHMwPWRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCAnc2NyaXB0JyApWzBdOwoJczEuYXN5bmMgPSB0cnVlOwoJczEuc3JjID0gJ2h0dHBzOi8vZW1iZWQudGF3ay50by82MTJmNmFhNGQ2ZTc2MTBhNDliMzE1ODEvMWZlZ2poNHFzJzsKCXMxLmNoYXJzZXQgPSAnVVRGLTgnOwoJczEuc2V0QXR0cmlidXRlKCAnY3Jvc3NvcmlnaW4nLCcqJyApOwoJczAucGFyZW50Tm9kZS5pbnNlcnRCZWZvcmUoIHMxLCBzMCApOwp9KSgpOwo=
12 ms
animations.min.css
1648 ms
autoptimize_single_a53a916adf48efefd5a2aa0861ebbc07.php
1667 ms
javascript;base64,CnZhciB3cGNmNyA9IHsiYXBpIjp7InJvb3QiOiJodHRwczpcL1wvcmVkYXBwbGVsZWFybmluZy5pblwvd3AtanNvblwvIiwibmFtZXNwYWNlIjoiY29udGFjdC1mb3JtLTdcL3YxIn19Owo=
12 ms
autoptimize_single_83a062cf6545b990c13b4398035a29d0.php
1669 ms
javascript;base64,CnZhciB3cGNmN3IgPSB7ImFqYXhfdXJsIjoiaHR0cHM6XC9cL3JlZGFwcGxlbGVhcm5pbmcuaW5cL3dwLWFkbWluXC9hZG1pbi1hamF4LnBocCJ9Owo=
12 ms
autoptimize_single_e3317d55ad904d30ea400a2da2a56686.php
1668 ms
javascript;base64,CnZhciBtb2NmNyA9IHsic2l0ZVVSTCI6Imh0dHBzOlwvXC9yZWRhcHBsZWxlYXJuaW5nLmluXC93cC1hZG1pblwvYWRtaW4tYWpheC5waHAiLCJvdHBUeXBlIjoibW9fY2Y3X2NvbnRhY3RfcGhvbmVfZW5hYmxlIiwibm9uY2UiOiI3MDExOTZmM2QyIiwiZmllbGQiOiJtb19waG9uZSIsImltZ1VSTCI6Imh0dHBzOlwvX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VlcnkoIi5mMCBpLCAuZjAgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5mMCIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQoNCiAgICAgICAgICAgIA0KICAgICAgICAgICAgLy8gNDA5Ng0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBjb25zb2xlLmxvZyhmaWxlU2l6ZSk7DQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KCQkgICAgICAgICAgICAJaWYoZmlsZU5hbWUgKXsNCgkJICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQoJCSAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjAgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQoJCSAgICAgICAgICAgICAgICB9DQoJCSAgICAgICAgICAgICAgICBlbHNlew0KCQkgICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmYwIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KCQkgICAgICAgICAgICAgICAgfQ0KCQkgICAgICAgICAgICB9DQoJCSAgICAgICAgICAgIGVsc2V7DQoJCSAgICAgICAgICAgICAgICBqUXVlcnkoIi5mMCAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCgkJICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KCWpRdWVyeSgiI0ZpbGVJbnB1dDEiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgd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nK2V4dGVuc2lvbik7DQoJCSAgICAgICAgICAgICAgICB9DQoJCSAgICAgICAgICAgICAgICBlbHNlew0KCQkgICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmYxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KCQkgICAgICAgICAgICAgICAgfQ0KCQkJICAgICAgICAgICAgfQ0KCQkJICAgICAgICAgICAgZWxzZXsNCgkJCSAgICAgICAgICAgICAgICBqUXVlcnkoIi5mMSAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCgkJCSAgICAgICAgICAgIH0gICAgCQ0KCQkgICAgICAgICAgICB9DQoNCiAgICAgICAgICAgIA0KICAgICAgICB9KTsNCg0KCWpRdWVyeSgiI0ZpbGVJbnB1dDUiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1lID09IGZpbGVOYW1lKSB7cmV0dXJuIGZhbHNlO30NCiAgICAgICAgICAgICAgICB2YXIgZXh0ZW5zaW9uID0gZmlsZU5hbWUuc3BsaXQoJy4nKS5wb3AoKTsNCg0KICAgICAgICAgICAgaWYgKGpRdWVyeS5pbkFycmF5KGV4dGVuc2lvbixbJ2pwZycsJ2pwZWcnLCdwbmcnXSkgPj0gMCkgew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmY1IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLWltYWdlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5mNSBpLCAuZjUgLnRpdGxlIiku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3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH0NCgkJICAgICAgICBlbHNlew0KDQoJCSAgICAgICAgICAgDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmY1IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5mNSAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmY1IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfSANCiAgICAgICAgfSk7DQoNCiAgICAgICBqUXVlcnkoIiNGaWxlSW5wdXQ0Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3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AgICBqUXVlcnkoIi5mNCBpLCAuZjQgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZjQiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkICMyMzg4ZGYnfSk7DQogICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjQgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtbycpOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmY0IGksIC5mNCAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmY0IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjQgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmY0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQog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kuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtcGRmLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5mMyBpLCAuZjMgLnRpdGxlIikuY3NzKHsnY29sb3InOidyZWQnfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjMiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIHJlZCd9KTsNCg0KICAgICAgICAgICAgfQ0KICBlbHNlIGlmKGV4dGVuc2lvbiA9PSAnZG9jJyB8fCBleHRlbnNpb24gPT0gJ2RvY3gnKXsNCiAgICAgICAgICAgIGpRdWVyeSgiLmYzIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLXdvcmQtbycpOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZjMgaSwgLmYzIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonIzIzODhkZid9KTsNCiAgICAgICAgICAgIGpRdWVyeSgiLmYzIikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmYzIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5mMyBpLCAuZjMgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5mMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjMgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmYzIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjMgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQogICAgICAgIGpRdWVyeSgiI0ZpbGVJbnB1dDIiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1lID09IGZpbGVOYW1lKSB7cmV0dXJuIGZhbHNlO30NCiAgICAgICAgICAgICAgICB2YXIgZXh0ZW5zaW9uID0gZmlsZU5hbWUuc3BsaXQoJy4nKS5wb3AoKTsNCg0KICAgICAgICAgICAgaWYgKGpRdWVyeS5pbkFycmF5KGV4dGVuc2lvbixbJ2pwZycsJ2pwZWcnLCdwbmcnXSkgPj0gMCkgew0KICAgICAgICAgICA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EtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjIgaSwgLmYxIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjIiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KCQkgICAgICAgICAgICAJCWlmKGZpbGVOYW1lICl7DQoJCQkJICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQoJCQkJICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5mMiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCgkJCQkgICAgICAgICAgICAgICAgfQ0KCQkJCSAgICAgICAgICAgICAgICBlbHNlew0KCQkJCSAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjIgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQoJCQkJICAgICAgICAgICAgICAgIH0NCgkJCQkgICAgICAgICAgICB9DQoJCQkJICAgICAgICAgICAgZWxzZXsNCgkJCQkgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZjIgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQoJCQkJICAgICAgICAgICAgfQ0KCQkgICAgICAgICAgICB9CQ0KICAgICAgICAgICAgDQogICAgICAgIH0pOw0KDQogICAgICAgIA0KDQogICAgICAgIGpRdWVyeSgiI2d0ckZpbGVJbnB1dDEiKS5vbignY2hhbmdlJyxmdW5jdG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gICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjEgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0ckYxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjEgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KDQogICAgICAgIGpRdWVyeSgiI2d0ckZpbGVJbnB1dDIiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1lID09IGZpbGVOYW1lKSB7cmV0dXJuIGZhbHNlO30NCiAgICAgICAgICAgICAgICB2YXIgZXh0ZW5zaW9uID0gZmlsZU5hbWUuc3BsaXQoJy4nKS5wb3AoKTsNCg0KICAgICAgICAgICAgaWYgKGpRdWVyeS5pbkFycmF5KGV4dGVuc2lvbixbJ2pwZycsJ2pwZWcnLCdwbmcnXSkgPj0gMCkgew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0ckYyIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLWltYWdlLW8nKTsNCi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ZXJ5KCIuZ3RyRjIgaSwgLmd0ckYyIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjIiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjIgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0ckYyIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjIgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KDQogICAgICAgIGpRdWVyeSgiI2d0ckZpbGVJbnB1dDMiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2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c2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0ckYzIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjMgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KDQogICAgICAgICBqUXVlcnkoIiNndHJGaWxlSW5wdXQ0Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJGNCBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1pbWFnZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjQgaSwgLmd0ckY0IC50aXRsZSIpLmNzcyh7J2NvbG9yJzonIzIwODQ0MCd9KTsNCiAgICA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GpRdWVyeSgiLmd0ckY0IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0ckY0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJGNCAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0ckY0IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KDQogICAgICAgIGpRdWVyeSgiI2d0ckZpbGVJbnB1dDUiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcG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2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS13b3JkLW8nKTsNCiAgICAgICAgICAgIGpRdWVyeSgiLmd0ckY1IGksIC5ndHJGNSAudGl0bGUiKS5jc3Moeydjb2xvcic6JyMyMzg4ZGYnfSk7DQogICAgICAgICAgICBqUXVlcnkoIi5ndHJGNSIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgIzIzODhkZid9KTsNCiAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJGNSBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjUgaSwgLmd0ckY1IC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjUiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjUgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRj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9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJGNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyRjYgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJGNiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCg0KICAgICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgIGpRdWVyeSgiI2d0cl9zaUZpbGVJbnB1dDEiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1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ZS13b3JkLW8nKTsNCiAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zaTEgaSwgLmd0cl9zaTEgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpMSIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgIzIzODhkZid9KTsNCiAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kxIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kxIGksIC5ndHJfc2kxIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpMSIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kxIC50aXRsZSIpLnR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Sk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kyIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kyIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpMiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQogICAgICAgIGpRdWVyeSgiI2d0cl9zaUZpbGVJbnB1dDMiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWY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zcygnZmEgZmEtZmlsZS13b3JkLW8nKTsNCiAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zaTMgaSwgLmd0cl9zaTMgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgIzIzODhkZid9KTsNCiAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kzIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kzIGksIC5ndHJfc2kzIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2kzIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2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zKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zaTQgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zaTQgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2k0IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCg0KDQogICAgICAgICBqUXVlcnkoIiNndHJfc2lGaWxlSW5wdXQ1Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICd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ZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpNSAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zaTUgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgICBqUXVlcnkoIiNndHJfc2lGaWxlSW5wdXQ2Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2k2IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLWltYWdlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2k2IGksIC5ndHJfc2k2IC50aXRsZSIpLmNzcyh7J2NvbG9yJzonIzIwODQ0MCd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2k2IikuY3NzKHs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eSgiLmd0cl9zaTYiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NpNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zaTYgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsgIA0KDQogICAgICAgIGpRdWVyeSgiI2d0cl9zZUZpbGVJbnB1dDEiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdld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gICAgalF1ZXJ5KCIuZ3RyX3NlMiIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTIgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTIgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2UyIC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7IA0KDQogICAgICAgIGpRdWVyeSgiI2d0cl9zZUZpbGVJbnB1dDMiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlL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ICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NlMyBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS13b3JkLW8nKTsNCiAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTMgaSwgLmd0cl9zZTMgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NlMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgIzIzODhkZid9KTsNCiAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2UzIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2UzIGksIC5ndHJfc2UzIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NlMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2UzIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0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3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2U0IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTQgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTQgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2U0IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgalF1ZXJ5KCIjZ3RyX3NlRmlsZUlucHV0NSIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNC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ycgfHwgZXh0ZW5zaW9uID09ICdkb2N4Jyl7DQogICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2U1IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLXdvcmQtbycpOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NlNSBpLCAuZ3RyX3NlNSAudGl0bGUiKS5jc3Moeydjb2xvcic6JyMyMzg4ZGYnfSk7DQogICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2U1IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTUgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtbycpOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTUgaSwgLmd0cl9zZTUgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2U1IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTUgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4n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d0cl9zZTYgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2U2IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTYgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTYgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHJfc2U2IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgalF1ZXJ5KCIjZ3RyX3NlRmlsZUlucHV0NyIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmF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S50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyX3NlNyAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cl9zZTcgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgIGpRdWVyeSgiI2d0cjFfc2VGaWxlSW5wdXQxIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMSBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1pbWFnZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTEgaS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ICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTEgaSwgLmd0cjFfc2UxIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTEiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTEgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2UxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTEgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KDQogICAgICAgIGpRdWVyeSgiI2d0cjFfc2VGaWxlSW5wdXQyIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiL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XsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTIgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2UyIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTIgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KDQogICAgICAgIGpRdWVyeSgiI2d0cjFfc2VGaWxlSW5wdXQyIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMiBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZm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mVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTIgaSwgLmd0cjFfc2UyIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTIiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTIgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2UyIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTIgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KDQogICAgICAgIGpRdWVyeSgiI2d0cjFfc2VGaWxlSW5wdXQzIikub24oJ2NoYW5nZScsZ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ZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTMgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2UzIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTMgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgIA0KDQogICAgICAgIGpRdWVyeSgiI2d0cjFfc2VGaWxlSW5wdXQ1Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICA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AgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlNSBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTUgaSwgLmd0cjFfc2U1IC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTUiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTUgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U1IC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTUgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgIC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AlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U2IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U2IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgalF1ZXJ5KCIjZ3RyMV9zZUZpbGVJbnB1dDciKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1lID09IGZpbGVOYW1lKSB7cmV0dXJuIGZhbHNlO30NCiAgICAgICAgICAgICAgICB2YXIgZXh0ZW5zaW9uID0gZmlsZU5hbWUuc3BsaXQoJy4nKS5wb3AoKTsNCg0KICAgICAgICAgICAgaW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gIGpRdWVyeSgiLmd0cjFfc2U3IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U3IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlNyBpLCAuZ3RyMV9zZTcgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlNyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlNyAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTcgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndH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AgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjIgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGMiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGMiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOyANCg0KICAgICAgICAgalF1ZXJ5KCIjZ3RyMkZpbGVJbnB1dDMiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1lID09IGZpbGVOYW1lKSB7cmV0dXJuIGZhbHNlO30NCiAgICAgICAgICAgICAgICB2YXIgZXh0ZW5zaW9uID0gZmlsZU5hbWUuc3BsaXQoJy4nKS5wb3AoKTsNCg0KICAgICAgICAg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CIuZ3RyMkYzIikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGMyBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkYzIGksIC5ndHIyRjMgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjMiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkYzIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjMgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjMgLnRpdGxlIikudGV4dChsYWJlbFZhbC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G5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGNCAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkY0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkY0IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7IA0KDQogICAgICAgICBqUXVlcnkoIiNndHIyRmlsZUlucHV0NSIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZmlsZU5hbWUgPT0gZmlsZU5hbWUpIHtyZXR1cm4gZmFsc2U7fQ0KICAgICAgICAgICAgICAgIHZhciBleHRlbnNpb24gPSBmaWxlTmFtZS5zcGxpdCgnLicpLnBvcCgpOw0KDQogICAgICAgICAgICBpZiAoalF1ZXJ5LmluQXJ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4IHNvbGlkICMyMzg4ZGYnfSk7DQogICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkY1IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjUgaSwgLmd0cjJGNSAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGNSIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjUgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGNSAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGNSAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9D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ICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjYgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGNiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQogICAgICAgIGpRdWVyeSgiI2d0cjJGaWxlSW5wdXQxIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgIC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zZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyRjEgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtbycpOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGMSBpLCAuZ3RyMkYxIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkYxIikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJGMSAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkYxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMkYxIC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7IA0KIGpRdWVyeSgiI2d0cjJfc2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ICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2kxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpMSAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2kxIC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICBqUXVlcnkoIiNndHIyX3NpRmlsZUlucHV0MiIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZmlsZU5hbWUgPT0gZmlsZU5hbWUpIHtyZXR1cm4gZmFsc2U7fQ0KICAgICAgICAgICAgICAgIHZhciBleHRlbnNpb24gPSBmaWxlTmFtZS5zcGxpdCgnLicpLnBvcCgpOw0KDQogICAgICAgICAgICBpZiAoalF1ZXJ5LmluQXJyYXkoZXh0ZW5zaW9uLFsnanBnJywnanBlZycsJ3B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GVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2kyIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpMiBpLCAuZ3RyMl9zaTIgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpMiIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpMiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTIgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpMiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsN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MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpMyAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTMgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpMyAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQogICAgICAgIGpRdWVyeSgiI2d0cjJfc2lGaWxlSW5wdXQ0Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnN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zKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTQiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkICMyMzg4ZGYnfSk7DQogICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTQgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtbycpOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k0IGksIC5ndHIyX3NpNCAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k0IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpNCAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgIC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TaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTUgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k1IC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTUgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgICBqUXVlcnkoIiNndHIyX3NpRmlsZUlucHV0NiIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZmlsZU5hbWUgPT0gZmlsZU5hbWUpIHtyZ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d29yZC1vJyk7DQogICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpNiBpLCAuZ3RyMl9zaTYgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTYiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkICMyMzg4ZGYnfSk7DQogICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zaTYgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtbycpOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k2IGksIC5ndHIyX3NpNiAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k2IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k2IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NpNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2k2IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgIGpRdWVyeSgiI2d0cjJfc2VGaWxlSW5wdXQxIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlMSBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1pbWFnZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zZTEgaSwgLmd0cjJfc2UxIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonIzIwODQ0MCd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlMSIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgIzIwODQ0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NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2UxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlMSAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2UxIC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICBqUXVlcnkoIiNndHIyX3NlRmlsZUlucHV0MiIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KC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TMgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlMyAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zZTMgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlMyAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQogICAgICAgIGpRdWVyeSgiI2d0cjJfc2VGaWxlSW5wdXQ0Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZp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jJfc2U0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlNCAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2U0IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgalF1ZXJ5KCIjZ3RyMl9zZUZpbGVJbnB1dDUiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1lID09IGZpbGVOYW1lKSB7cmV0dXJuIGZhbHNlO30NCiAgICAgICAgICAgICAgICB2YXIgZXh0ZW5zaW9uID0gZmlsZU5hbWUuc3BsaXQoJy4nKS5wb3AoKTsNCg0KICAgICAgICAgICAgaWYgKGpRdWVyeS5pbkFycmF5KGV4dGVuc2lvbixbJ2pwZycsJ2pwZWcnLCdwbmcnXSkgPj0gMCkgew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2U1IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLWltYWdlLW8nKTsNCiAgICAgICAgICAgICAgICBq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sZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zZTUgaSwgLmd0cjJfc2U1IC50aXRsZSIpLmNzcyh7J2NvbG9yJzonYmxhY2snfSk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zZTUiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zZTUgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2U1IC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zZTUgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgICBqUXVlcnkoIiNndHIyX3NlRmlsZUlucHV0NiIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWx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ICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2U2IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2U2IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgalF1ZXJ5KCIjZ3RyMl9zZUZpbGVJbnB1dDciKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPSBlLnRhcmdldC52YWx1ZS5zcGxpdCggJ1xcJyApLnBvcCgpOw0KDQogICAgICAgICAgICAgICAgaWYgKG9sZGZpbGVOYW1lID09IGZpbGVOYW1lKSB7cmV0dXJuIGZhbHNlO30NCiAgICAgICAgICAgICAgICB2YXIgZXh0ZW5zaW9uID0gZmlsZU5hbWUuc3BsaXQoJy4nKS5wb3AoKTsNCg0KICAgICAgICAgICAgaWYgKGpRdWVyeS5pbkFycmF5KGV4dGVuc2lvbixbJ2pwZycsJ2pwZWcnLCdwbmcnXSkgPj0gMCkgew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjJfc2U3IGk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gICAgICAgIGpRdWVyeSgiLmd0cjJfc2U3IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlNyBpLCAuZ3RyMl9zZTcgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlNyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlNyAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMl9zZTcgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIyX3NlNyAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQogICAgICAgICBqUXVlcnkoIiNndHIxRm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yh7J2NvbG9yJzoncmVkJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGMSIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgcmVkJ30pOw0KDQogICAgICAgICAgICB9DQogIGVsc2UgaWYoZXh0ZW5zaW9uID09ICdkb2MnIHx8IGV4dGVuc2lvbiA9PSAnZG9jeCcpew0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYxIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLXdvcmQtbycpOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYxIGksIC5ndHIxRjEgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYxIikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGMSBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYxIGksIC5ndHIxRjEgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjEiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjEgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjEgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgIGpRdWVyeSgiI2d0cjFGaWxlSW5wdXQyIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjIgaSIpLnJlbW92Z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IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjIgaSwgLmd0cjFGMiAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGMiIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjIgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGMiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGMiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOyANCg0KICAgICAgICBqUXVlcnkoIiNndHIxRmlsZUlucHV0MyIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogIC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md0cjFGMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgcmVkJ30pOw0KDQogICAgICAgICAgICB9DQogIGVsc2UgaWYoZXh0ZW5zaW9uID09ICdkb2MnIHx8IGV4dGVuc2lvbiA9PSAnZG9jeCcpew0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYzIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLXdvcmQtbycpOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYzIGksIC5ndHIxRjMgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYzIikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGMyBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYzIGksIC5ndHIxRjMgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjMiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUYzIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjMgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjMgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgICBqUXVlcnkoIiNndHIxRmlsZUlucHV0NCIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZmlsZU5hbWUgPT0gZmlsZU5hbWUpIHtyZXR1cm4gZmFsc2U7fQ0KICAgICAgICAgICAgICAgIHZhciBleHRlbnNpb24gPSBmaWxlTmFtZS5zcGxpdCgnLicpLnBvcCgpOw0KDQogICAgICAgICAgICBpZiAoalF1ZXJ5LmluQXJyYXkoZXh0ZW5zaW9uLFsnanBnJywnanBlZycsJ3BuZyddKSA+PSAwKSB7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY0IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLWltYWd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S1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY0IGksIC5ndHIxRjQgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjQiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjQgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjQgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgICBqUXVlcnkoIiNndHIxRmlsZUlucHV0NSIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLn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0KDQogICAgICAgICAgICB9DQogIGVsc2UgaWYoZXh0ZW5zaW9uID09ICdkb2MnIHx8IGV4dGVuc2lvbiA9PSAnZG9jeCcpew0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY1IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLXdvcmQtbycpOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY1IGksIC5ndHIxRjUgLnRpdGxlIikuY3NzKHsnY29sb3InOicjMjM4OGRmJ30pOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY1IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGNSBpIikucmVtb3ZlQ2xhc3MoKS5hZGRDbGFzcygnZmEgZmEtZmlsZS1vJyk7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY1IGksIC5ndHIxRjUgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjUiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkIGJsYWNrJ30pOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGZpbGVTaXplID0gdGhpcy5maWxlc1swXS5zaXplOyAgDQogICAgICAgICAgICBpZiAoZmlsZVNpemUgPj0gMzA5NzE1Mikgew0KICAgICAgICAgICAgCWFsZXJ0KCdGaWxlIHNpemUgbm90IG1vcmUgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY1IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjUgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjUgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgICBqUXVlcnkoIiNndHIxRmlsZUlucHV0NiIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZmlsZU5hbWUgPT0gZmlsZU5hbWUpIHtyZXR1cm4gZmFsc2U7fQ0KICAgICAgICAgICAgICAgIHZhciBleHRlbnNpb24gPSBmaWxlTmFtZS5zcGxpdCgnLicpLnBvcCgpOw0KDQogICAgICAgICAgICBpZiAoalF1ZXJ5LmluQXJyYXkoZXh0ZW5zaW9uLFsnanBnJywnanBlZycsJ3BuZyddKSA+PSAwKSB7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMUY2IGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLWltYWdlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjYgaSwg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gLmd0cjFGNiAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGNiIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxRjYgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFGNiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQoNCiAgICAgICAgIGpRdWVyeSgiI2d0cjFfc2lGaWxlSW5wdXQxIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOY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kxIC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpMSAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2kxIC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICBqUXVlcnkoIiNndHIxX3NpRmlsZUlucHV0MiIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZmlsZU5hbWUgPT0gZmlsZU5hbWUpIHtyZXR1cm4gZmFsc2U7fQ0KICAgICAgICAgICAgICAgIHZhciBleHRlbnNpb24gPSBmaWxlTmFtZS5zcGxpdCgnLicpLnBvcCgpOw0KDQogICAgICAgICAgICBpZiAoalF1ZXJ5LmluQXJyYXkoZXh0ZW5zaW9uLFsnanBnJywnanBlZycsJ3BuZyddKSA+PSAwKSB7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zaTIgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtaW1hZ2UtbycpOw0KICAgICAgICAgICAgICAg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SBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpMiBpLCAuZ3RyMV9zaTIgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpMiIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zaTIgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2kyIC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zaTIgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgIH0pOyANCg0KICAgICAgICBqUXVlcnkoIiNndHIxX3NpRmlsZUlucHV0MyIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZml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pLmFkZENsYXNzKCdmYSBmYS1maWxlLXdvcmQtbycpOw0KICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zaTMgaSwgLmd0cjFfc2kzIC50aXRsZSIpLmNzcyh7J2NvbG9yJzonIzIzODhkZid9KTsNCiAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2kzIikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCAjMjM4OGRmJ30pOw0KICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2kzIGkiKS5yZW1vdmVDbGFzcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpMyBpLCAuZ3RyMV9zaTMgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpMyIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpMyAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICA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AgIGpRdWVyeSgiLmd0cjFfc2k0IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2k0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpNCAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2k0IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgalF1ZXJ5KCIjZ3RyMV9zaUZpbGVJbnB1dDUiKS5vbignY2hhbmdlJyxmdW5jdGlvbiAoZSkgew0KICAgICAgICAgICAgdmFyIGxhYmVsVmFsID0galF1ZXJ5KCIudGl0bGUiKS50ZXh0KCk7DQogICAgICAgICAgICB2YXIgb2xkZmlsZU5hbWUgPSBqUXVlcnkodGhpcykudmFsKCk7DQogICAgICAgICAgICAgICAgZmlsZU5hbWUgPS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cjFfc2k2IGksIC5ndHIxX3NpNiAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2k2IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2k2IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NpNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2k2IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCiAgICAgICAgIGpRdWVyeSgiI2d0cjFfc2VGaWxlSW5wdXQxIikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAg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zcygpLmFkZENsYXNzKCdmYSBmYS1maWxlLW8nKTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMiBpLCAuZ3RyMV9zZTIgLnRpdGxlIikuY3NzKHsnY29sb3InOidibGFjayd9KTsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMiIpLmNzcyh7J2JvcmRlcic6JyAycHggc29saWQgYmxhY2snfSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB2YXIgZmlsZVNpemUgPSB0aGlzLmZpbGVzWzBdLnNpemU7ICANCiAgICAgICAgICAgIGlmIChmaWxlU2l6ZSA+PSAzMDk3MTUyKSB7DQogICAgICAgICAgICAJYWxlcnQoJ0ZpbGUgc2l6ZSBub3QgbW9yZSB0aGFuIDNtYiAnKTsNCgkJICAgICAgICAgICAgfWVsc2V7DQoNCg0KICAgICAgICAgICAgaWYoZmlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTIgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMiAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOyANCg0KICAgICAgICBqUXVlcnkoIiNndHIxX3NlRmlsZUlucHV0MyIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChl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mlsZU5hbWUgKXsNCiAgICAgICAgICAgICAgICBpZiAoZmlsZU5hbWUubGVuZ3RoID4gMTApew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMyAudGl0bGUiKS50ZXh0KGZpbGVOYW1lLnNsaWNlKDAsNCkrJy4uLicrZXh0ZW5zaW9uKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTMgLnRpdGxlIikudGV4dChmaWxlTmFtZSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZXsNCiAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlMyAudGl0bGUiKS50ZXh0KGxhYmVsVmFsKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICB9DQogICAgICAgIH0pOw0KDQogICAgICAgIGpRdWVyeSgiI2d0cjFfc2VGaWxlSW5wdXQ0Iikub24oJ2NoYW5nZScsZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgICAgIHZhciBsYWJlbFZhbCA9IGpRdWVyeSgiLnRpdGxlIikudGV4dCgpOw0KICAgICAgICAgICAgdmFyIG9sZGZpbGVOYW1lID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KICAgICAgICAgICAgICAgIGZpbGVOYW1lID0gZS50YXJnZXQudmFsdWUuc3BsaXQoICdcXCcgKS5wb3AoKTsNCg0KICAgICAgICAgICAgICAgIGlmIChvbGRmaWxlTmFtZSA9PSBmaWxlTmFtZSkge3JldHVybiBmYWxzZTt9DQogICAgICAgICAgICAgICAgdmFyIGV4dGVuc2lvbiA9IGZpbGVOYW1lLnNwbGl0KCcuJykucG9wKCk7DQoNCiAgICAgICAgICAgIGlmIChqUXVlcnkuaW5BcnJheShleHRlbnNpb24sWydqcGcnLCdqcGVnJywncG5nJ10pID49IDApIHsNCiAgICAgICAgICAgICAgICBqUX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H0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTQgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtbycpOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U0IGksIC5ndHIxX3NlNCAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U0IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U0IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlNCAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U0IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7D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UgdGhhbiAzbWIgJyk7DQoJCSAgICAgICAgICAgIH1lbHNlew0KDQoNCiAgICAgICAgICAgIGlmKGZpbGVOYW1lICl7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVOYW1lLmxlbmd0aCA+IDEwKXsNCiAgICAgICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTUgLnRpdGxlIikudGV4dChmaWxlTmFtZS5zbGljZSgwLDQpKycuLi4nK2V4dGVuc2lvbik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U1IC50aXRsZSIpLnRleHQoZmlsZU5hbWUpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTUgLnRpdGxlIikudGV4dChsYWJlbFZhbCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgfQ0KICAgICAgICB9KTsNCg0KICAgICAgICBqUXVlcnkoIiNndHIxX3NlRmlsZUlucHV0NiIpLm9uKCdjaGFuZ2UnLGZ1bmN0aW9uIChlKSB7DQogICAgICAgICAgICB2YXIgbGFiZWxWYWwgPSBqUXVlcnkoIi50aXRsZSIpLnRleHQoKTsNCiAgICAgICAgICAgIHZhciBvbGRmaWxlTmFtZSA9IGpRdWVyeSh0aGlzKS52YWwoKTsNCiAgICAgICAgICAgICAgICBmaWxlTmFtZSA9IGUudGFyZ2V0LnZhbHVlLnNwbGl0KCAnXFwnICkucG9wKCk7DQoNCiAgICAgICAgICAgICAgICBpZiAob2xkZmlsZU5hbWUgPT0gZmlsZU5hbWUpIHtyZXR1cm4gZmFsc2U7fQ0KICAgICAgICAgICAgICAgIHZhciBleHRlbnNpb24gPSBmaWxlTmFtZS5zcGxpdCgnLicpLnBvcCgpOw0KDQogICAgICAgICAgICBpZiAoalF1ZXJ5LmluQXJy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ZXJ5KCIuZ3RyMV9zZTYiKS5jc3Moeydib3JkZXInOicgMnB4IHNvbGlkICMyMzg4ZGYnfSk7DQogICAgICAgIH0NCiAgICAgICAgICAgIGVsc2V7DQogICAgICAgICAgICAgICAgalF1ZXJ5KCIuZ3RyMV9zZTYgaSIpLnJlbW92ZUNsYXNzKCkuYWRkQ2xhc3MoJ2ZhIGZhLWZpbGUtbycpOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U2IGksIC5ndHIxX3NlNiAudGl0bGUiKS5jc3Moeydjb2xvcic6J2JsYWNrJ30pOw0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U2IikuY3NzKHsnYm9yZGVyJzonIDJweCBzb2xpZCBibGFjayd9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBmaWxlU2l6ZSA9IHRoaXMuZmlsZXNbMF0uc2l6ZTsgIA0KICAgICAgICAgICAgaWYgKGZpbGVTaXplID49IDMwOTcxNTIpIHsNCiAgICAgICAgICAgIAlhbGVydCgnRmlsZSBzaXplIG5vdCBtb3JlIHRoYW4gM21iICcpOw0KCQkgICAgICAgICAgICB9ZWxzZXsNCg0KDQogICAgICAgICAgICBpZihmaWxlTmFtZSApew0KICAgICAgICAgICAgICAgIGlmIChmaWxlTmFtZS5sZW5ndGggPiAxMCl7DQogICAgICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U2IC50aXRsZSIpLnRleHQoZmlsZU5hbWUuc2xpY2UoMCw0KSsnLi4uJytleHRlbnNpb24pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgICAgICBqUXVlcnkoIi5ndHIxX3NlNiAudGl0bGUiKS50ZXh0KGZpbGVOYW1lKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlew0KICAgICAgICAgICAgICAgIGpRdWVyeSgiLmd0cjFfc2U2IC50aXRsZSIpLnRleHQobGFiZWxWYWwpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgIH0NCiAgICAgICAgfSk7DQoNCn0pOw0K
7 ms
bootstrap.min.js
13 ms
javascript;base64,DQoJd2luZG93Lm9uc2Nyb2xsID0gZnVuY3Rpb24oKSB7bXlGdW5jdGlvbigpfTsNCg0KCXZhciBoZWFkZXIgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgibWFpbl9oZWFkZXIiKTsNCgl2YXIgc3RpY2t5ID0gaGVhZGVyLm9mZnNldFRvcDsNCg0KCWZ1bmN0aW9uIG15RnVuY3Rpb24oKSB7DQoJICBpZiAod2luZG93LnBhZ2VZT2Zmc2V0ID4gc3RpY2t5KSB7DQoJICAgIGhlYWRlci5jbGFzc0xpc3QuYWRkKCJzdGlja3kiKTsNCgkgIH0gZWxzZSB7DQoJICAgIGhlYWRlci5jbGFzc0xpc3QucmVtb3ZlKCJzdGlja3kiKTsNCgkgIH0NCgl9DQo=
5 ms
IHRhcmdldCA6ICQoJ1tuYW1lPScgKyB0aGlzLmhhc2guc2xpY2UoMSkgKyddJyk7DQogICAgICAgICAgICAgICAgDQogICAgICAgIGlmICh0YXJnZXQubGVuZ3RoKSANCiAgICAgICAgew0KICAgICAgICAgICQoJ2h0bWwsYm9keScpLmFuaW1hdGUoew0KICAgICAgICAgICAgc2Nyb2xsVG9wOiB0YXJnZXQub2Zmc2V0KCkudG9wIC0gOTANCiAgICAgICAgICB9LCA4MDApOw0KICAgICAgICAgIHJldHVybiBmYWxzZTsNCiAgICAgICAgfQ0KICAgICAgfQ0KICAgIH0pOw0KICB9KShqUXVlcnkpOw0K
5 ms
javascript;base64,DQoJalF1ZXJ5KCcubmF2YmFyLW5hdj5saT5hJykub24oJ2NsaWNrJywgZnVuY3Rpb24oKXsNCgkgICAgalF1ZXJ5KCcubmF2YmFyLWNvbGxhcHNlJykuY29sbGFwc2UoJ2hpZGUnKTsNCgl9KTsNCglqUXVlcnkoJ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g0KCSAgICBpZiAoICc5NjcnID09IGV2ZW50LmRldGFpbC5jb250YWN0Rm9ybUlkICkgew0KCSAgICAJbG9jYXRpb24gPSAnaHR0cHM6Ly9yZWRhcHBsZWxlYXJuaW5nLmluL3RoYW5rLXlvdS8nOw0KCSAgICB9DQoNCgkgICAgaWYgKCAnMTEzNycgPT0gZXZlbnQuZGV0YWlsLmNvbnRhY3RGb3JtSWQgKSB7DQoJICAgIAlsb2NhdGlvbiA9ICdodHRwczovL3JlZGFwcGxlbGVhcm5pbmcuaW4vdGhhbmsteW91Lyc7DQoJICAgIH0NCg0KCSAgICBpZiAoICczMjU0JyA9PSBldmVudC5kZXRhaWwuY29udGFjdEZvcm1JZCApIHsNCgkgICAgCWxvY2F0aW9uID0gJ2h0dHBzOi8vcmVkYXBwbGVsZWFybmluZy5pbi90aGFuay15b3UxLyc7DQoJICAgIH0NCg0KCX0sIGZhbHNlICk7DQoNCg==
6 ms
mocf7.min.js
1875 ms
javascript;base64,DQoJalF1ZXJ5KHdpbmRvdykubG9hZChmdW5jdGlvbigpew0KCSAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKXsNCgkgICAgICAgLy9qUXVlcnkoJyNpbWdNb2RhbCcpLm1vZGFsKCdzaG93Jyk7DQoJICAgICAgIGpRdWVyeSgnI2NvbnRhY3RNb2RhbCcpLm1vZGFsKCdzaG93Jyk7DQoJICAgfSwgMTAwMDApOw0KCX0pOw0K
5 ms
autoptimize_single_0283847c59d888eb327b3b5f66148ca4.php
1894 ms
autoptimize_single_a56436c9e214ef323a2a3581d13dffe9.php
1667 ms
dropdown.min.js
1657 ms
jquery-numerator.min.js
1643 ms
scripts.min.js
1628 ms
swiper-bundle.min.js
2088 ms
webpack.runtime.min.js
1668 ms
frontend-modules.min.js
1674 ms
waypoints.min.js
1712 ms
core.min.js
1647 ms
frontend.min.js
1859 ms
ral_logo.png
1137 ms
game-design-course-1.jpg
1373 ms
Game-designing-Course.jpg
1376 ms
game-development-course.jpg
1653 ms
scholarship-in-gaming-in-kolkata.webp
1586 ms
Gaming.png
1587 ms
game-development-course-certification-red-apple-learning-1024x768.jpeg
1839 ms
graphic-designing-course-in-kolkata-2.jpg
1611 ms
paid-internship-in-kolkata.jpg
1614 ms
graphic-designing-course-in-kolkata-1024x768.jpg
2053 ms
3d-animation-course-in-kolkata-1024x768.jpg
2050 ms
fullstack-development-course-in-kolkata-1024x768.jpg
2088 ms
placement-assistance-in-kolkata-1024x768.jpg
2091 ms
game-development-course-in-kolkata-1024x768.jpg
2061 ms
2d_game_bg.jpg
2228 ms
character.png
2204 ms
3d_character_bg.png
2436 ms
KFOmCnqEu92Fr1Me5Q.ttf
243 ms
KFOmCnqEu92Fr1Mu4mxP.ttf
302 ms
KFOlCnqEu92Fr1MmEU9vAw.ttf
367 ms
KFOlCnqEu92Fr1MmEU9fBBc9.ttf
365 ms
KFOlCnqEu92Fr1MmSU5vAw.ttf
367 ms
KFOlCnqEu92Fr1MmSU5fBBc9.ttf
364 ms
KFOkCnqEu92Fr1MmgVxIIzc.ttf
364 ms
KFOlCnqEu92Fr1MmWUlvAw.ttf
366 ms
KFOlCnqEu92Fr1MmWUlfBBc9.ttf
404 ms
KFOlCnqEu92Fr1MmYUtfBBc9.ttf
404 ms
pxiByp8kv8JHgFVrLEj6V1s.ttf
448 ms
pxiByp8kv8JHgFVrLGT9V1s.ttf
447 ms
pxiEyp8kv8JHgFVrFJA.ttf
468 ms
pxiByp8kv8JHgFVrLDz8V1s.ttf
447 ms
fa-solid-900.woff
2243 ms
fontawesome-webfont.woff
240 ms
gtm.js
403 ms
hotjar-3394573.js
436 ms
1erbtjhp4
433 ms
fbevents.js
369 ms
363 ms
357 ms
1fegjh4qs
421 ms
fontawesome-webfont.woff
1919 ms
game_dev_bg-1.png
2197 ms
dino.png
2321 ms
RAL_website-banner_Placement-and-Incubation.jpg
2129 ms
Arup.png
2135 ms
linkedin.svg
2131 ms
66 ms
16 ms
modules.a4fd7e5489291affcf56.js
15 ms
Kaushik.png
2108 ms
Samiran-Red-Apple-Learning-3D-Faculty-768x768-1.jpg
2150 ms
Aniruddha_1.png
2393 ms
Subhadip-ghosh.png
2397 ms
3d-animator-mentor-red-apple-learning.jpg
2217 ms
17 ms
recaptcha__en.js
27 ms
phone.png
2101 ms
Rise-of-Gaming-Opportunities-for-Indian-Youth.jpg
2097 ms
Top-5-Gaming-Trends.jpg
2136 ms
GOOGLE_valantine.jpg
2221 ms
Google-Celebrate-25-Years-of-Search-Through-an-Interactive-Google-Doodle-Game.jpg
2271 ms
5star.png
2104 ms
facebook-square.svg
2137 ms
twitter-square.svg
2151 ms
linkedin.png
1920 ms
youtube.png
1989 ms
instagram.png
1863 ms
neev.png
1864 ms
Grayquest.png
1897 ms
popup.png
1913 ms
autoptimize_single_3432f2f216bfabf37221dc6a918f938b.php
241 ms
twk-event-polyfill.js
190 ms
twk-main.js
60 ms
twk-vendor.js
116 ms
twk-chunk-vendors.js
22 ms
twk-chunk-common.js
138 ms
twk-runtime.js
67 ms
twk-app.js
30 ms
redapplelearning.in accessibility score
Contrast
These are opportunities to improve the legibility of your content.
Impact
Issue
Background and foreground colors do not have a sufficient contrast ratio.
ARIA
These are opportunities to improve the usage of ARIA in your application which may enhance the experience for users of assistive technology, like a screen reader.
Impact
Issue
ARIA IDs are not unique
Navigation
These are opportunities to improve keyboard navigation in your application.
Impact
Issue
Heading elements are not in a sequentially-descending order
Names and labels
These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.
Impact
Issue
Links do not have a discernible name
redapplelearning.in best practices score
Trust and Safety
Impact
Issue
Does not use HTTPS
Ensure CSP is effective against XSS attacks
User Experience
Impact
Issue
Displays images with incorrect aspect ratio
General
Impact
Issue
Detected JavaScript libraries
Browser errors were logged to the console
Page has valid source maps
redapplelearning.in SEO score
Crawling and Indexing
To appear in search results, crawlers need access to your app.
Impact
Issue
Links are not crawlable
robots.txt is not valid
Mobile Friendly
Make sure your pages are mobile friendly so users don’t have to pinch or zoom in order to read the content pages. [Learn more](https://developers.google.com/search/mobile-sites/).
Impact
Issue
Document uses legible font sizes
EN
EN
UTF-8
Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Redapplelearning.in can be misinterpreted by Google and other search engines. Our service has detected that English is used on the page, and it matches the claimed language. Our system also found out that Redapplelearning.in main page’s claimed encoding is utf-8. Use of this encoding format is the best practice as the main page visitors from all over the world won’t have any issues with symbol transcription.
redapplelearning.in
Open Graph data is detected on the main page of Redapplelearning. This is the best way to make the web page social media friendly. Here is how it looks like on Facebook: